@@ -55,7 +55,7 @@ public void CreateMarketingPreferencePolicyAndAcceptTest()
5555 //Policy does not exists. so we create it.
5656
5757 //Retrieving policy type id for Marketing Preference
58- List < RetrievePolicyTypeResponse > ? policyTypes = _Sdk . Legal . BaseLegalPolicies . RetrieveAllPolicyTypesOp
58+ List < RetrievePolicyTypeResponse > ? policyTypes = _Sdk . Legal . BaseLegalPolicies . OldRetrieveAllPolicyTypesOp
5959 . SetOffset ( 0 )
6060 . Execute ( 100 ) ;
6161 Assert . IsNotNull ( policyTypes ) ;
@@ -79,7 +79,7 @@ public void CreateMarketingPreferencePolicyAndAcceptTest()
7979 AffectedClientIds = new List < string > ( )
8080 } ;
8181
82- CreateBasePolicyResponse ? bPolResp = _Sdk . Legal . BaseLegalPolicies . CreatePolicyOp
82+ CreateBasePolicyResponse ? bPolResp = _Sdk . Legal . BaseLegalPolicies . OldCreatePolicyOp
8383 . SetBody ( createPolicy )
8484 . Execute ( ) ;
8585 #endregion
@@ -88,7 +88,7 @@ public void CreateMarketingPreferencePolicyAndAcceptTest()
8888 }
8989
9090 #region Get single policy by policy id
91- List < RetrievePolicyVersionResponse > ? polVers = _Sdk . Legal . PolicyVersions . RetrieveSinglePolicyVersionOp
91+ List < RetrievePolicyVersionResponse > ? polVers = _Sdk . Legal . PolicyVersions . OldRetrieveSinglePolicyVersionOp
9292 . Execute ( targetPolicyId ) ;
9393 #endregion
9494 Assert . IsNotNull ( polVers ) ;
@@ -103,7 +103,7 @@ public void CreateMarketingPreferencePolicyAndAcceptTest()
103103 } ;
104104
105105 #region Create policy version
106- CreatePolicyVersionResponse ? polVerResp = _Sdk . Legal . PolicyVersions . CreatePolicyVersionOp
106+ CreatePolicyVersionResponse ? polVerResp = _Sdk . Legal . PolicyVersions . OldCreatePolicyVersionOp
107107 . SetBody ( policyVersion )
108108 . Execute ( targetPolicyId ) ;
109109 #endregion
@@ -115,7 +115,7 @@ public void CreateMarketingPreferencePolicyAndAcceptTest()
115115 targetPolicyVersionId = polVers ! [ 0 ] . Id ! ;
116116 }
117117
118- List < RetrieveLocalizedPolicyVersionResponse > ? locPolVers = _Sdk . Legal . LocalizedPolicyVersions . RetrieveLocalizedPolicyVersionsOp
118+ List < RetrieveLocalizedPolicyVersionResponse > ? locPolVers = _Sdk . Legal . LocalizedPolicyVersions . OldRetrieveLocalizedPolicyVersionsOp
119119 . Execute ( targetPolicyVersionId ) ;
120120 Assert . IsNotNull ( locPolVers ) ;
121121 if ( locPolVers ! . Count <= 0 )
@@ -128,7 +128,7 @@ public void CreateMarketingPreferencePolicyAndAcceptTest()
128128 Description = "Testing CSharp Server SDK legal endpoints."
129129 } ;
130130
131- CreateLocalizedPolicyVersionResponse ? locPolResp = _Sdk . Legal . LocalizedPolicyVersions . CreateLocalizedPolicyVersionOp
131+ CreateLocalizedPolicyVersionResponse ? locPolResp = _Sdk . Legal . LocalizedPolicyVersions . OldCreateLocalizedPolicyVersionOp
132132 . SetBody ( localPolicy )
133133 . Execute ( targetPolicyVersionId ) ;
134134 Assert . IsNotNull ( locPolResp ) ;
0 commit comments