@revxui/api-clients-ts 0.10.257 → 0.10.259

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @revxui/api-clients-ts@0.10.257
1
+ ## @revxui/api-clients-ts@0.10.259
2
2
 
3
3
  ### Building
4
4
 
@@ -19,7 +19,7 @@ Navigate to the folder of your consuming project and run one of next commands.
19
19
  _published:_
20
20
 
21
21
  ```
22
- npm install @revxui/api-clients-ts@0.10.257 --save
22
+ npm install @revxui/api-clients-ts@0.10.259 --save
23
23
  ```
24
24
 
25
25
  _without publishing (not recommended):_
@@ -17,8 +17,10 @@ import { ApiResponseObjectCreativeSetDetails } from '../model/apiResponseObjectC
17
17
  import { ApiResponseObjectCreativeSetResponse } from '../model/apiResponseObjectCreativeSetResponse';
18
18
  import { ApiResponseObjectDashboardMetrics } from '../model/apiResponseObjectDashboardMetrics';
19
19
  import { ApiResponseObjectDashboardResponse } from '../model/apiResponseObjectDashboardResponse';
20
+ import { ApiResponseObjectDuplicateCreativeSetResponse } from '../model/apiResponseObjectDuplicateCreativeSetResponse';
20
21
  import { CreativeSetRequest } from '../model/creativeSetRequest';
21
22
  import { DashboardRequest } from '../model/dashboardRequest';
23
+ import { DuplicateCreativeSetsRequestDTO } from '../model/duplicateCreativeSetsRequestDTO';
22
24
  import { Configuration } from '../configuration';
23
25
  export declare class CreativeSetsControllerService {
24
26
  protected httpClient: HttpClient;
@@ -43,6 +45,19 @@ export declare class CreativeSetsControllerService {
43
45
  createUsingPOST(creativeSetRequest: CreativeSetRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectCreativeSetResponse>;
44
46
  createUsingPOST(creativeSetRequest: CreativeSetRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectCreativeSetResponse>>;
45
47
  createUsingPOST(creativeSetRequest: CreativeSetRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectCreativeSetResponse>>;
48
+ /**
49
+ * Api to duplicate creative sets
50
+ *
51
+ * @param dto dto
52
+ * @param id id
53
+ * @param reqId request id
54
+ * @param token Auth Token
55
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
56
+ * @param reportProgress flag to report request and response progress.
57
+ */
58
+ duplicateCreativeSetsUsingPOST(dto: DuplicateCreativeSetsRequestDTO, id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDuplicateCreativeSetResponse>;
59
+ duplicateCreativeSetsUsingPOST(dto: DuplicateCreativeSetsRequestDTO, id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDuplicateCreativeSetResponse>>;
60
+ duplicateCreativeSetsUsingPOST(dto: DuplicateCreativeSetsRequestDTO, id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDuplicateCreativeSetResponse>>;
46
61
  /**
47
62
  * Api to get creative sets dimension details
48
63
  *
@@ -3734,6 +3734,45 @@
3734
3734
  reportProgress: reportProgress
3735
3735
  });
3736
3736
  };
3737
+ CreativeSetsControllerService.prototype.duplicateCreativeSetsUsingPOST = function (dto, id, reqId, token, observe, reportProgress) {
3738
+ if (observe === void 0) { observe = 'body'; }
3739
+ if (reportProgress === void 0) { reportProgress = false; }
3740
+ if (dto === null || dto === undefined) {
3741
+ throw new Error('Required parameter dto was null or undefined when calling duplicateCreativeSetsUsingPOST.');
3742
+ }
3743
+ if (id === null || id === undefined) {
3744
+ throw new Error('Required parameter id was null or undefined when calling duplicateCreativeSetsUsingPOST.');
3745
+ }
3746
+ var headers = this.defaultHeaders;
3747
+ if (reqId !== undefined && reqId !== null) {
3748
+ headers = headers.set('reqId', String(reqId));
3749
+ }
3750
+ if (token !== undefined && token !== null) {
3751
+ headers = headers.set('token', String(token));
3752
+ }
3753
+ // to determine the Accept header
3754
+ var httpHeaderAccepts = [
3755
+ 'application/json'
3756
+ ];
3757
+ var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
3758
+ if (httpHeaderAcceptSelected != undefined) {
3759
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
3760
+ }
3761
+ // to determine the Content-Type header
3762
+ var consumes = [
3763
+ 'application/json'
3764
+ ];
3765
+ var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3766
+ if (httpContentTypeSelected != undefined) {
3767
+ headers = headers.set('Content-Type', httpContentTypeSelected);
3768
+ }
3769
+ return this.httpClient.post(this.basePath + "/v2/api/creativesets/duplicate/" + encodeURIComponent(String(id)), dto, {
3770
+ withCredentials: this.configuration.withCredentials,
3771
+ headers: headers,
3772
+ observe: observe,
3773
+ reportProgress: reportProgress
3774
+ });
3775
+ };
3737
3776
  CreativeSetsControllerService.prototype.getAdvertiserDynamicDetailsUsingGET = function (advertiserId, reqId, token, observe, reportProgress) {
3738
3777
  if (observe === void 0) { observe = 'body'; }
3739
3778
  if (reportProgress === void 0) { reportProgress = false; }
@@ -7354,6 +7393,33 @@
7354
7393
  };
7355
7394
  })(exports.DcoAttributesDTO || (exports.DcoAttributesDTO = {}));
7356
7395
 
7396
+ /**
7397
+ * Api Documentation
7398
+ * Api Documentation
7399
+ *
7400
+ * OpenAPI spec version: 1.0
7401
+ *
7402
+ *
7403
+ * NOTE: This class is auto generated by the swagger code generator program.
7404
+ * https://github.com/swagger-api/swagger-codegen.git
7405
+ * Do not edit the class manually.
7406
+ */
7407
+
7408
+ (function (DuplicateCreativeSetResponse) {
7409
+ DuplicateCreativeSetResponse.OtherCreativeSetTypeEnum = {
7410
+ IMAGE: 'IMAGE',
7411
+ VIDEO: 'VIDEO',
7412
+ THIRDPARTYADTAGS: 'THIRD_PARTY_AD_TAGS',
7413
+ ZIPPEDHTML: 'ZIPPED_HTML',
7414
+ NATIVEIMAGE: 'NATIVE_IMAGE',
7415
+ NATIVEVIDEO: 'NATIVE_VIDEO',
7416
+ DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7417
+ DYNAMICMACRO: 'DYNAMIC_MACRO',
7418
+ DYNAMICHTML: 'DYNAMIC_HTML',
7419
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7420
+ };
7421
+ })(exports.DuplicateCreativeSetResponse || (exports.DuplicateCreativeSetResponse = {}));
7422
+
7357
7423
  /**
7358
7424
  * Api Documentation
7359
7425
  * Api Documentation