@revxui/api-clients-ts 0.10.337 → 0.10.339
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 +2 -2
- package/api/api.d.ts +3 -1
- package/api/customerReportingController.service.d.ts +40 -0
- package/api/strategyController.service.d.ts +13 -0
- package/bundles/revxui-api-clients-ts.umd.js +127 -1
- package/bundles/revxui-api-clients-ts.umd.js.map +1 -1
- package/bundles/revxui-api-clients-ts.umd.min.js +1 -1
- package/bundles/revxui-api-clients-ts.umd.min.js.map +1 -1
- package/esm2015/api/api.js +4 -2
- package/esm2015/api/customerReportingController.service.js +87 -0
- package/esm2015/api/strategyController.service.js +38 -1
- package/esm2015/api.module.js +3 -1
- package/esm2015/model/customerReportingData.js +13 -0
- package/esm2015/model/customerReportingDataListResponse.js +2 -0
- package/esm2015/model/customerReportingRequest.js +13 -0
- package/esm2015/model/customerReportingResponse.js +2 -0
- package/esm2015/model/models.js +5 -1
- package/fesm2015/revxui-api-clients-ts.js +146 -2
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/model/customerReportingData.d.ts +20 -0
- package/model/customerReportingDataListResponse.d.ts +15 -0
- package/model/customerReportingRequest.d.ts +18 -0
- package/model/customerReportingResponse.d.ts +17 -0
- package/model/models.d.ts +4 -0
- package/package.json +1 -1
- package/revxui-api-clients-ts.metadata.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @revxui/api-clients-ts@0.10.
|
|
1
|
+
## @revxui/api-clients-ts@0.10.339
|
|
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.
|
|
22
|
+
npm install @revxui/api-clients-ts@0.10.339 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
package/api/api.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export * from './creativeTemplateVariablesController.service';
|
|
|
28
28
|
import { CreativeTemplateVariablesControllerService } from './creativeTemplateVariablesController.service';
|
|
29
29
|
export * from './creativeTemplatesController.service';
|
|
30
30
|
import { CreativeTemplatesControllerService } from './creativeTemplatesController.service';
|
|
31
|
+
export * from './customerReportingController.service';
|
|
32
|
+
import { CustomerReportingControllerService } from './customerReportingController.service';
|
|
31
33
|
export * from './dashboardController.service';
|
|
32
34
|
import { DashboardControllerService } from './dashboardController.service';
|
|
33
35
|
export * from './notificationsController.service';
|
|
@@ -44,4 +46,4 @@ export * from './uILoggerController.service';
|
|
|
44
46
|
import { UILoggerControllerService } from './uILoggerController.service';
|
|
45
47
|
export * from './userPreferenceController.service';
|
|
46
48
|
import { UserPreferenceControllerService } from './userPreferenceController.service';
|
|
47
|
-
export declare const APIS: (typeof AdminControllerService | typeof AdvertiserControllerService | typeof AppSettingsControllerService | typeof AudienceControllerService | typeof AuditControllerService | typeof BulkStrategyControllerService | typeof CSSThemeController_Service | typeof CampaignControllerService | typeof CatalogControllerService | typeof ClickDestinationControllerService | typeof CreativeControllerService | typeof CreativeSetsControllerService | typeof CreativeTemplateThemesControllerService | typeof CreativeTemplateVariablesControllerService | typeof CreativeTemplatesControllerService | typeof DashboardControllerService | typeof NotificationsControllerService | typeof PixelControllerService | typeof ReportingControllerService | typeof SliceXControllerService | typeof StrategyControllerService | typeof UILoggerControllerService | typeof UserPreferenceControllerService)[];
|
|
49
|
+
export declare const APIS: (typeof AdminControllerService | typeof AdvertiserControllerService | typeof AppSettingsControllerService | typeof AudienceControllerService | typeof AuditControllerService | typeof BulkStrategyControllerService | typeof CSSThemeController_Service | typeof CampaignControllerService | typeof CatalogControllerService | typeof ClickDestinationControllerService | typeof CreativeControllerService | typeof CreativeSetsControllerService | typeof CreativeTemplateThemesControllerService | typeof CreativeTemplateVariablesControllerService | typeof CreativeTemplatesControllerService | typeof CustomerReportingControllerService | typeof DashboardControllerService | typeof NotificationsControllerService | typeof PixelControllerService | typeof ReportingControllerService | typeof SliceXControllerService | typeof StrategyControllerService | typeof UILoggerControllerService | typeof UserPreferenceControllerService)[];
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
13
|
+
import { Observable } from 'rxjs';
|
|
14
|
+
import { CustomerReportingRequest } from '../model/customerReportingRequest';
|
|
15
|
+
import { CustomerReportingResponse } from '../model/customerReportingResponse';
|
|
16
|
+
import { Configuration } from '../configuration';
|
|
17
|
+
export declare class CustomerReportingControllerService {
|
|
18
|
+
protected httpClient: HttpClient;
|
|
19
|
+
protected basePath: string;
|
|
20
|
+
defaultHeaders: HttpHeaders;
|
|
21
|
+
configuration: Configuration;
|
|
22
|
+
constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
|
|
23
|
+
/**
|
|
24
|
+
* @param consumes string[] mime-types
|
|
25
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
26
|
+
*/
|
|
27
|
+
private canConsumeForm;
|
|
28
|
+
/**
|
|
29
|
+
* API to fetch customer report data
|
|
30
|
+
*
|
|
31
|
+
* @param customerReportingRequest customerReportingRequest
|
|
32
|
+
* @param reqId request id
|
|
33
|
+
* @param token Auth Token
|
|
34
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
35
|
+
* @param reportProgress flag to report request and response progress.
|
|
36
|
+
*/
|
|
37
|
+
customerReportUsingPOST(customerReportingRequest: CustomerReportingRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<CustomerReportingResponse>;
|
|
38
|
+
customerReportUsingPOST(customerReportingRequest: CustomerReportingRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<CustomerReportingResponse>>;
|
|
39
|
+
customerReportUsingPOST(customerReportingRequest: CustomerReportingRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<CustomerReportingResponse>>;
|
|
40
|
+
}
|
|
@@ -100,6 +100,19 @@ export declare class StrategyControllerService {
|
|
|
100
100
|
deactivateStrategyUsingPOST(id: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectMaplongResponseMessage>;
|
|
101
101
|
deactivateStrategyUsingPOST(id: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectMaplongResponseMessage>>;
|
|
102
102
|
deactivateStrategyUsingPOST(id: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectMaplongResponseMessage>>;
|
|
103
|
+
/**
|
|
104
|
+
* Api to disassociate strategy to creative set
|
|
105
|
+
*
|
|
106
|
+
* @param creativeSetIdsToBeRemoved creativeSetIdsToBeRemoved
|
|
107
|
+
* @param id id
|
|
108
|
+
* @param reqId request id
|
|
109
|
+
* @param token Auth Token
|
|
110
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
111
|
+
* @param reportProgress flag to report request and response progress.
|
|
112
|
+
*/
|
|
113
|
+
disassociateStrategyWithCreativeSetsUsingPOST(creativeSetIdsToBeRemoved: Array<number>, id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectlong>;
|
|
114
|
+
disassociateStrategyWithCreativeSetsUsingPOST(creativeSetIdsToBeRemoved: Array<number>, id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectlong>>;
|
|
115
|
+
disassociateStrategyWithCreativeSetsUsingPOST(creativeSetIdsToBeRemoved: Array<number>, id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectlong>>;
|
|
103
116
|
/**
|
|
104
117
|
* Api to Create duplicate Strategy
|
|
105
118
|
*
|
|
@@ -4743,6 +4743,91 @@
|
|
|
4743
4743
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
4744
4744
|
]; };
|
|
4745
4745
|
|
|
4746
|
+
var CustomerReportingControllerService = /** @class */ (function () {
|
|
4747
|
+
function CustomerReportingControllerService(httpClient, basePath, configuration) {
|
|
4748
|
+
this.httpClient = httpClient;
|
|
4749
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4750
|
+
this.defaultHeaders = new http.HttpHeaders();
|
|
4751
|
+
this.configuration = new Configuration();
|
|
4752
|
+
if (basePath) {
|
|
4753
|
+
this.basePath = basePath;
|
|
4754
|
+
}
|
|
4755
|
+
if (configuration) {
|
|
4756
|
+
this.configuration = configuration;
|
|
4757
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
4758
|
+
}
|
|
4759
|
+
}
|
|
4760
|
+
/**
|
|
4761
|
+
* @param consumes string[] mime-types
|
|
4762
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
4763
|
+
*/
|
|
4764
|
+
CustomerReportingControllerService.prototype.canConsumeForm = function (consumes) {
|
|
4765
|
+
var e_1, _a;
|
|
4766
|
+
var form = 'multipart/form-data';
|
|
4767
|
+
try {
|
|
4768
|
+
for (var consumes_1 = __values(consumes), consumes_1_1 = consumes_1.next(); !consumes_1_1.done; consumes_1_1 = consumes_1.next()) {
|
|
4769
|
+
var consume = consumes_1_1.value;
|
|
4770
|
+
if (form === consume) {
|
|
4771
|
+
return true;
|
|
4772
|
+
}
|
|
4773
|
+
}
|
|
4774
|
+
}
|
|
4775
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4776
|
+
finally {
|
|
4777
|
+
try {
|
|
4778
|
+
if (consumes_1_1 && !consumes_1_1.done && (_a = consumes_1.return)) _a.call(consumes_1);
|
|
4779
|
+
}
|
|
4780
|
+
finally { if (e_1) throw e_1.error; }
|
|
4781
|
+
}
|
|
4782
|
+
return false;
|
|
4783
|
+
};
|
|
4784
|
+
CustomerReportingControllerService.prototype.customerReportUsingPOST = function (customerReportingRequest, reqId, token, observe, reportProgress) {
|
|
4785
|
+
if (observe === void 0) { observe = 'body'; }
|
|
4786
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
4787
|
+
if (customerReportingRequest === null || customerReportingRequest === undefined) {
|
|
4788
|
+
throw new Error('Required parameter customerReportingRequest was null or undefined when calling customerReportUsingPOST.');
|
|
4789
|
+
}
|
|
4790
|
+
var headers = this.defaultHeaders;
|
|
4791
|
+
if (reqId !== undefined && reqId !== null) {
|
|
4792
|
+
headers = headers.set('reqId', String(reqId));
|
|
4793
|
+
}
|
|
4794
|
+
if (token !== undefined && token !== null) {
|
|
4795
|
+
headers = headers.set('token', String(token));
|
|
4796
|
+
}
|
|
4797
|
+
// to determine the Accept header
|
|
4798
|
+
var httpHeaderAccepts = [
|
|
4799
|
+
'application/json'
|
|
4800
|
+
];
|
|
4801
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4802
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
4803
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
4804
|
+
}
|
|
4805
|
+
// to determine the Content-Type header
|
|
4806
|
+
var consumes = [
|
|
4807
|
+
'application/json'
|
|
4808
|
+
];
|
|
4809
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4810
|
+
if (httpContentTypeSelected != undefined) {
|
|
4811
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
4812
|
+
}
|
|
4813
|
+
return this.httpClient.post(this.basePath + "/v2/api/creport/aliexpress", customerReportingRequest, {
|
|
4814
|
+
withCredentials: this.configuration.withCredentials,
|
|
4815
|
+
headers: headers,
|
|
4816
|
+
observe: observe,
|
|
4817
|
+
reportProgress: reportProgress
|
|
4818
|
+
});
|
|
4819
|
+
};
|
|
4820
|
+
return CustomerReportingControllerService;
|
|
4821
|
+
}());
|
|
4822
|
+
CustomerReportingControllerService.decorators = [
|
|
4823
|
+
{ type: core.Injectable }
|
|
4824
|
+
];
|
|
4825
|
+
CustomerReportingControllerService.ctorParameters = function () { return [
|
|
4826
|
+
{ type: http.HttpClient },
|
|
4827
|
+
{ type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
|
|
4828
|
+
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
4829
|
+
]; };
|
|
4830
|
+
|
|
4746
4831
|
var DashboardControllerService = /** @class */ (function () {
|
|
4747
4832
|
function DashboardControllerService(httpClient, basePath, configuration) {
|
|
4748
4833
|
this.httpClient = httpClient;
|
|
@@ -6540,6 +6625,45 @@
|
|
|
6540
6625
|
reportProgress: reportProgress
|
|
6541
6626
|
});
|
|
6542
6627
|
};
|
|
6628
|
+
StrategyControllerService.prototype.disassociateStrategyWithCreativeSetsUsingPOST = function (creativeSetIdsToBeRemoved, id, reqId, token, observe, reportProgress) {
|
|
6629
|
+
if (observe === void 0) { observe = 'body'; }
|
|
6630
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
6631
|
+
if (creativeSetIdsToBeRemoved === null || creativeSetIdsToBeRemoved === undefined) {
|
|
6632
|
+
throw new Error('Required parameter creativeSetIdsToBeRemoved was null or undefined when calling disassociateStrategyWithCreativeSetsUsingPOST.');
|
|
6633
|
+
}
|
|
6634
|
+
if (id === null || id === undefined) {
|
|
6635
|
+
throw new Error('Required parameter id was null or undefined when calling disassociateStrategyWithCreativeSetsUsingPOST.');
|
|
6636
|
+
}
|
|
6637
|
+
var headers = this.defaultHeaders;
|
|
6638
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6639
|
+
headers = headers.set('reqId', String(reqId));
|
|
6640
|
+
}
|
|
6641
|
+
if (token !== undefined && token !== null) {
|
|
6642
|
+
headers = headers.set('token', String(token));
|
|
6643
|
+
}
|
|
6644
|
+
// to determine the Accept header
|
|
6645
|
+
var httpHeaderAccepts = [
|
|
6646
|
+
'application/json'
|
|
6647
|
+
];
|
|
6648
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6649
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6650
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6651
|
+
}
|
|
6652
|
+
// to determine the Content-Type header
|
|
6653
|
+
var consumes = [
|
|
6654
|
+
'application/json'
|
|
6655
|
+
];
|
|
6656
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6657
|
+
if (httpContentTypeSelected != undefined) {
|
|
6658
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
6659
|
+
}
|
|
6660
|
+
return this.httpClient.post(this.basePath + "/v2/api/strategies/" + encodeURIComponent(String(id)) + "/disassociate/creativesets", creativeSetIdsToBeRemoved, {
|
|
6661
|
+
withCredentials: this.configuration.withCredentials,
|
|
6662
|
+
headers: headers,
|
|
6663
|
+
observe: observe,
|
|
6664
|
+
reportProgress: reportProgress
|
|
6665
|
+
});
|
|
6666
|
+
};
|
|
6543
6667
|
StrategyControllerService.prototype.duplicateStrategyUsingPOST = function (dto, id, reqId, token, observe, reportProgress) {
|
|
6544
6668
|
if (observe === void 0) { observe = 'body'; }
|
|
6545
6669
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -7237,7 +7361,7 @@
|
|
|
7237
7361
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
7238
7362
|
]; };
|
|
7239
7363
|
|
|
7240
|
-
var APIS = [AdminControllerService, AdvertiserControllerService, AppSettingsControllerService, AudienceControllerService, AuditControllerService, BulkStrategyControllerService, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestinationControllerService, CreativeControllerService, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, NotificationsControllerService, PixelControllerService, ReportingControllerService, SliceXControllerService, StrategyControllerService, UILoggerControllerService, UserPreferenceControllerService];
|
|
7364
|
+
var APIS = [AdminControllerService, AdvertiserControllerService, AppSettingsControllerService, AudienceControllerService, AuditControllerService, BulkStrategyControllerService, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestinationControllerService, CreativeControllerService, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, CustomerReportingControllerService, DashboardControllerService, NotificationsControllerService, PixelControllerService, ReportingControllerService, SliceXControllerService, StrategyControllerService, UILoggerControllerService, UserPreferenceControllerService];
|
|
7241
7365
|
|
|
7242
7366
|
exports.ActivityLogsCreativeSetsBulkUpdateDTO = void 0;
|
|
7243
7367
|
(function (ActivityLogsCreativeSetsBulkUpdateDTO) {
|
|
@@ -8210,6 +8334,7 @@
|
|
|
8210
8334
|
CreativeTemplateThemesControllerService,
|
|
8211
8335
|
CreativeTemplateVariablesControllerService,
|
|
8212
8336
|
CreativeTemplatesControllerService,
|
|
8337
|
+
CustomerReportingControllerService,
|
|
8213
8338
|
DashboardControllerService,
|
|
8214
8339
|
NotificationsControllerService,
|
|
8215
8340
|
PixelControllerService,
|
|
@@ -8250,6 +8375,7 @@
|
|
|
8250
8375
|
exports.CreativeTemplateThemesControllerService = CreativeTemplateThemesControllerService;
|
|
8251
8376
|
exports.CreativeTemplateVariablesControllerService = CreativeTemplateVariablesControllerService;
|
|
8252
8377
|
exports.CreativeTemplatesControllerService = CreativeTemplatesControllerService;
|
|
8378
|
+
exports.CustomerReportingControllerService = CustomerReportingControllerService;
|
|
8253
8379
|
exports.DashboardControllerService = DashboardControllerService;
|
|
8254
8380
|
exports.NotificationsControllerService = NotificationsControllerService;
|
|
8255
8381
|
exports.PixelControllerService = PixelControllerService;
|