@revxui/intellibid-client-ts 1.0.1 → 1.0.2
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 +15 -13
- package/api/businessGeoController.service.d.ts +28 -28
- package/api/campaignController.service.d.ts +67 -56
- package/api/countryController.service.d.ts +28 -28
- package/api/dpaCampaignController.service.d.ts +52 -52
- package/api/dpaEngagementController.service.d.ts +126 -115
- package/api/facebookEngagementController.service.d.ts +77 -0
- package/api/packageDetailController.service.d.ts +45 -45
- package/api.module.d.ts +11 -11
- package/configuration.d.ts +48 -48
- package/encoder.d.ts +10 -10
- package/esm2020/api/api.mjs +16 -14
- package/esm2020/api/businessGeoController.service.mjs +77 -77
- package/esm2020/api/campaignController.service.mjs +179 -152
- package/esm2020/api/countryController.service.mjs +77 -77
- package/esm2020/api/dpaCampaignController.service.mjs +145 -145
- package/esm2020/api/dpaEngagementController.service.mjs +327 -300
- package/esm2020/api/facebookEngagementController.service.mjs +214 -0
- package/esm2020/api/packageDetailController.service.mjs +122 -122
- package/esm2020/api.module.mjs +63 -60
- package/esm2020/configuration.mjs +58 -58
- package/esm2020/encoder.mjs +16 -16
- package/esm2020/index.mjs +5 -5
- package/esm2020/model/adSetDetails.mjs +19 -19
- package/esm2020/model/audienceDetails.mjs +12 -12
- package/esm2020/model/businessGeoResponse.mjs +12 -12
- package/esm2020/model/campaignResponse.mjs +31 -31
- package/esm2020/model/countryResponse.mjs +12 -12
- package/esm2020/model/createCampaignRequest.mjs +12 -12
- package/esm2020/model/creativeDetails.mjs +1 -1
- package/esm2020/model/dpaCampaignRequest.mjs +1 -1
- package/esm2020/model/dpaCampaignResponse.mjs +10 -10
- package/esm2020/model/dpaEngagementRequest.mjs +1 -1
- package/esm2020/model/dpaEngagementResponse.mjs +31 -31
- package/esm2020/model/entitySearchResponse.mjs +13 -0
- package/esm2020/model/exclusionRule.mjs +12 -12
- package/esm2020/model/facebookDetails.mjs +2 -2
- package/esm2020/model/facebookEngagementRequest.mjs +13 -0
- package/esm2020/model/facebookEngagementResponse.mjs +21 -0
- package/esm2020/model/imageOverlaySpecDetails.mjs +12 -12
- package/esm2020/model/models.mjs +26 -22
- package/esm2020/model/packageDetailResponse.mjs +12 -12
- package/esm2020/model/pageCampaignResponse.mjs +1 -1
- package/esm2020/model/pageDpaEngagementResponse.mjs +1 -1
- package/esm2020/model/pageFacebookEngagementResponse.mjs +2 -0
- package/esm2020/model/pagePackageDetailResponse.mjs +1 -1
- package/esm2020/model/pageableObject.mjs +2 -2
- package/esm2020/model/sortObject.mjs +12 -12
- package/esm2020/model/updateDailyBudgetRequest.mjs +12 -12
- package/esm2020/revxui-intellibid-client-ts.mjs +4 -4
- package/esm2020/variables.mjs +8 -8
- package/fesm2015/revxui-intellibid-client-ts.mjs +1334 -1049
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +1432 -1125
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/model/adSetDetails.d.ts +28 -28
- package/model/audienceDetails.d.ts +22 -22
- package/model/businessGeoResponse.d.ts +15 -15
- package/model/campaignResponse.d.ts +117 -117
- package/model/countryResponse.d.ts +16 -16
- package/model/createCampaignRequest.d.ts +16 -16
- package/model/creativeDetails.d.ts +21 -21
- package/model/dpaCampaignRequest.d.ts +17 -17
- package/model/dpaCampaignResponse.d.ts +35 -35
- package/model/dpaEngagementRequest.d.ts +29 -29
- package/model/dpaEngagementResponse.d.ts +90 -90
- package/model/entitySearchResponse.d.ts +15 -0
- package/model/exclusionRule.d.ts +15 -15
- package/model/facebookDetails.d.ts +27 -27
- package/model/facebookEngagementRequest.d.ts +24 -0
- package/model/facebookEngagementResponse.d.ts +39 -0
- package/model/imageOverlaySpecDetails.d.ts +20 -20
- package/model/models.d.ts +25 -21
- package/model/packageDetailResponse.d.ts +16 -16
- package/model/pageCampaignResponse.d.ts +27 -27
- package/model/pageDpaEngagementResponse.d.ts +27 -27
- package/model/pageFacebookEngagementResponse.d.ts +27 -0
- package/model/pagePackageDetailResponse.d.ts +27 -27
- package/model/pageableObject.d.ts +20 -20
- package/model/sortObject.d.ts +18 -18
- package/model/updateDailyBudgetRequest.d.ts +14 -14
- package/package.json +1 -1
- package/variables.d.ts +8 -8
|
@@ -3,1178 +3,1485 @@ import { InjectionToken, Injectable, Optional, Inject, NgModule, SkipSelf } from
|
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
4
|
import { HttpHeaders, HttpUrlEncodingCodec, HttpParams } from '@angular/common/http';
|
|
5
5
|
|
|
6
|
-
const BASE_PATH = new InjectionToken('basePath');
|
|
7
|
-
const COLLECTION_FORMATS = {
|
|
8
|
-
'csv': ',',
|
|
9
|
-
'tsv': ' ',
|
|
10
|
-
'ssv': ' ',
|
|
11
|
-
'pipes': '|'
|
|
6
|
+
const BASE_PATH = new InjectionToken('basePath');
|
|
7
|
+
const COLLECTION_FORMATS = {
|
|
8
|
+
'csv': ',',
|
|
9
|
+
'tsv': ' ',
|
|
10
|
+
'ssv': ' ',
|
|
11
|
+
'pipes': '|'
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
class Configuration {
|
|
15
|
-
constructor(configurationParameters = {}) {
|
|
16
|
-
this.apiKeys = configurationParameters.apiKeys;
|
|
17
|
-
this.username = configurationParameters.username;
|
|
18
|
-
this.password = configurationParameters.password;
|
|
19
|
-
this.accessToken = configurationParameters.accessToken;
|
|
20
|
-
this.basePath = configurationParameters.basePath;
|
|
21
|
-
this.withCredentials = configurationParameters.withCredentials;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Select the correct content-type to use for a request.
|
|
25
|
-
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
26
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
27
|
-
* @param contentTypes - the array of content types that are available for selection
|
|
28
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
29
|
-
*/
|
|
30
|
-
selectHeaderContentType(contentTypes) {
|
|
31
|
-
if (contentTypes.length == 0) {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
let type = contentTypes.find(x => this.isJsonMime(x));
|
|
35
|
-
if (type === undefined) {
|
|
36
|
-
return contentTypes[0];
|
|
37
|
-
}
|
|
38
|
-
return type;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Select the correct accept content-type to use for a request.
|
|
42
|
-
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
43
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
44
|
-
* @param accepts - the array of content types that are available for selection.
|
|
45
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
46
|
-
*/
|
|
47
|
-
selectHeaderAccept(accepts) {
|
|
48
|
-
if (accepts.length == 0) {
|
|
49
|
-
return undefined;
|
|
50
|
-
}
|
|
51
|
-
let type = accepts.find(x => this.isJsonMime(x));
|
|
52
|
-
if (type === undefined) {
|
|
53
|
-
return accepts[0];
|
|
54
|
-
}
|
|
55
|
-
return type;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Check if the given MIME is a JSON MIME.
|
|
59
|
-
* JSON MIME examples:
|
|
60
|
-
* application/json
|
|
61
|
-
* application/json; charset=UTF8
|
|
62
|
-
* APPLICATION/JSON
|
|
63
|
-
* application/vnd.company+json
|
|
64
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
65
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
66
|
-
*/
|
|
67
|
-
isJsonMime(mime) {
|
|
68
|
-
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
69
|
-
return mime != null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
70
|
-
}
|
|
14
|
+
class Configuration {
|
|
15
|
+
constructor(configurationParameters = {}) {
|
|
16
|
+
this.apiKeys = configurationParameters.apiKeys;
|
|
17
|
+
this.username = configurationParameters.username;
|
|
18
|
+
this.password = configurationParameters.password;
|
|
19
|
+
this.accessToken = configurationParameters.accessToken;
|
|
20
|
+
this.basePath = configurationParameters.basePath;
|
|
21
|
+
this.withCredentials = configurationParameters.withCredentials;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Select the correct content-type to use for a request.
|
|
25
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
26
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
27
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
28
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
29
|
+
*/
|
|
30
|
+
selectHeaderContentType(contentTypes) {
|
|
31
|
+
if (contentTypes.length == 0) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
let type = contentTypes.find(x => this.isJsonMime(x));
|
|
35
|
+
if (type === undefined) {
|
|
36
|
+
return contentTypes[0];
|
|
37
|
+
}
|
|
38
|
+
return type;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Select the correct accept content-type to use for a request.
|
|
42
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
43
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
44
|
+
* @param accepts - the array of content types that are available for selection.
|
|
45
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
46
|
+
*/
|
|
47
|
+
selectHeaderAccept(accepts) {
|
|
48
|
+
if (accepts.length == 0) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
let type = accepts.find(x => this.isJsonMime(x));
|
|
52
|
+
if (type === undefined) {
|
|
53
|
+
return accepts[0];
|
|
54
|
+
}
|
|
55
|
+
return type;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Check if the given MIME is a JSON MIME.
|
|
59
|
+
* JSON MIME examples:
|
|
60
|
+
* application/json
|
|
61
|
+
* application/json; charset=UTF8
|
|
62
|
+
* APPLICATION/JSON
|
|
63
|
+
* application/vnd.company+json
|
|
64
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
65
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
66
|
+
*/
|
|
67
|
+
isJsonMime(mime) {
|
|
68
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
69
|
+
return mime != null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
70
|
+
}
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
81
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
82
|
-
* Do not edit the class manually.
|
|
83
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
84
|
-
class BusinessGeoControllerService {
|
|
85
|
-
constructor(httpClient, basePath, configuration) {
|
|
86
|
-
this.httpClient = httpClient;
|
|
87
|
-
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
88
|
-
this.defaultHeaders = new HttpHeaders();
|
|
89
|
-
this.configuration = new Configuration();
|
|
90
|
-
if (basePath) {
|
|
91
|
-
this.basePath = basePath;
|
|
92
|
-
}
|
|
93
|
-
if (configuration) {
|
|
94
|
-
this.configuration = configuration;
|
|
95
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* @param consumes string[] mime-types
|
|
100
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
101
|
-
*/
|
|
102
|
-
canConsumeForm(consumes) {
|
|
103
|
-
const form = 'multipart/form-data';
|
|
104
|
-
for (const consume of consumes) {
|
|
105
|
-
if (form === consume) {
|
|
106
|
-
return true;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
return false;
|
|
110
|
-
}
|
|
111
|
-
getAllBusinessGeos(observe = 'body', reportProgress = false) {
|
|
112
|
-
let headers = this.defaultHeaders;
|
|
113
|
-
// to determine the Accept header
|
|
114
|
-
let httpHeaderAccepts = [
|
|
115
|
-
'*/*'
|
|
116
|
-
];
|
|
117
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
118
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
119
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
120
|
-
}
|
|
121
|
-
// to determine the Content-Type header
|
|
122
|
-
const consumes = [];
|
|
123
|
-
return this.httpClient.request('get', `${this.basePath}/business-geo`, {
|
|
124
|
-
withCredentials: this.configuration.withCredentials,
|
|
125
|
-
headers: headers,
|
|
126
|
-
observe: observe,
|
|
127
|
-
reportProgress: reportProgress
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
BusinessGeoControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
132
|
-
BusinessGeoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService });
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, decorators: [{
|
|
134
|
-
type: Injectable
|
|
135
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
136
|
-
type: Optional
|
|
137
|
-
}, {
|
|
138
|
-
type: Inject,
|
|
139
|
-
args: [BASE_PATH]
|
|
140
|
-
}] }, { type: Configuration, decorators: [{
|
|
141
|
-
type: Optional
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
81
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
82
|
+
* Do not edit the class manually.
|
|
83
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
84
|
+
class BusinessGeoControllerService {
|
|
85
|
+
constructor(httpClient, basePath, configuration) {
|
|
86
|
+
this.httpClient = httpClient;
|
|
87
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
88
|
+
this.defaultHeaders = new HttpHeaders();
|
|
89
|
+
this.configuration = new Configuration();
|
|
90
|
+
if (basePath) {
|
|
91
|
+
this.basePath = basePath;
|
|
92
|
+
}
|
|
93
|
+
if (configuration) {
|
|
94
|
+
this.configuration = configuration;
|
|
95
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* @param consumes string[] mime-types
|
|
100
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
101
|
+
*/
|
|
102
|
+
canConsumeForm(consumes) {
|
|
103
|
+
const form = 'multipart/form-data';
|
|
104
|
+
for (const consume of consumes) {
|
|
105
|
+
if (form === consume) {
|
|
106
|
+
return true;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
getAllBusinessGeos(observe = 'body', reportProgress = false) {
|
|
112
|
+
let headers = this.defaultHeaders;
|
|
113
|
+
// to determine the Accept header
|
|
114
|
+
let httpHeaderAccepts = [
|
|
115
|
+
'*/*'
|
|
116
|
+
];
|
|
117
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
118
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
119
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
120
|
+
}
|
|
121
|
+
// to determine the Content-Type header
|
|
122
|
+
const consumes = [];
|
|
123
|
+
return this.httpClient.request('get', `${this.basePath}/business-geo`, {
|
|
124
|
+
withCredentials: this.configuration.withCredentials,
|
|
125
|
+
headers: headers,
|
|
126
|
+
observe: observe,
|
|
127
|
+
reportProgress: reportProgress
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
BusinessGeoControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
132
|
+
BusinessGeoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService });
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, decorators: [{
|
|
134
|
+
type: Injectable
|
|
135
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
136
|
+
type: Optional
|
|
137
|
+
}, {
|
|
138
|
+
type: Inject,
|
|
139
|
+
args: [BASE_PATH]
|
|
140
|
+
}] }, { type: Configuration, decorators: [{
|
|
141
|
+
type: Optional
|
|
142
142
|
}] }]; } });
|
|
143
143
|
|
|
144
|
-
/**
|
|
145
|
-
* CustomHttpUrlEncodingCodec
|
|
146
|
-
* Fix plus sign (+) not encoding, so sent as blank space
|
|
147
|
-
* See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
|
|
148
|
-
*/
|
|
149
|
-
class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
|
|
150
|
-
encodeKey(k) {
|
|
151
|
-
k = super.encodeKey(k);
|
|
152
|
-
return k.replace(/\+/gi, '%2B');
|
|
153
|
-
}
|
|
154
|
-
encodeValue(v) {
|
|
155
|
-
v = super.encodeValue(v);
|
|
156
|
-
return v.replace(/\+/gi, '%2B');
|
|
157
|
-
}
|
|
144
|
+
/**
|
|
145
|
+
* CustomHttpUrlEncodingCodec
|
|
146
|
+
* Fix plus sign (+) not encoding, so sent as blank space
|
|
147
|
+
* See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
|
|
148
|
+
*/
|
|
149
|
+
class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
|
|
150
|
+
encodeKey(k) {
|
|
151
|
+
k = super.encodeKey(k);
|
|
152
|
+
return k.replace(/\+/gi, '%2B');
|
|
153
|
+
}
|
|
154
|
+
encodeValue(v) {
|
|
155
|
+
v = super.encodeValue(v);
|
|
156
|
+
return v.replace(/\+/gi, '%2B');
|
|
157
|
+
}
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
/**
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
168
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
169
|
-
* Do not edit the class manually.
|
|
170
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
171
|
-
class CampaignControllerService {
|
|
172
|
-
constructor(httpClient, basePath, configuration) {
|
|
173
|
-
this.httpClient = httpClient;
|
|
174
|
-
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
175
|
-
this.defaultHeaders = new HttpHeaders();
|
|
176
|
-
this.configuration = new Configuration();
|
|
177
|
-
if (basePath) {
|
|
178
|
-
this.basePath = basePath;
|
|
179
|
-
}
|
|
180
|
-
if (configuration) {
|
|
181
|
-
this.configuration = configuration;
|
|
182
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* @param consumes string[] mime-types
|
|
187
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
188
|
-
*/
|
|
189
|
-
canConsumeForm(consumes) {
|
|
190
|
-
const form = 'multipart/form-data';
|
|
191
|
-
for (const consume of consumes) {
|
|
192
|
-
if (form === consume) {
|
|
193
|
-
return true;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
return false;
|
|
197
|
-
}
|
|
198
|
-
createCampaign(body, observe = 'body', reportProgress = false) {
|
|
199
|
-
if (body === null || body === undefined) {
|
|
200
|
-
throw new Error('Required parameter body was null or undefined when calling createCampaign.');
|
|
201
|
-
}
|
|
202
|
-
let headers = this.defaultHeaders;
|
|
203
|
-
// to determine the Accept header
|
|
204
|
-
let httpHeaderAccepts = [
|
|
205
|
-
'*/*'
|
|
206
|
-
];
|
|
207
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
208
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
209
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
210
|
-
}
|
|
211
|
-
// to determine the Content-Type header
|
|
212
|
-
const consumes = [
|
|
213
|
-
'application/json'
|
|
214
|
-
];
|
|
215
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
216
|
-
if (httpContentTypeSelected != undefined) {
|
|
217
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
218
|
-
}
|
|
219
|
-
return this.httpClient.request('post', `${this.basePath}/campaign`, {
|
|
220
|
-
body: body,
|
|
221
|
-
withCredentials: this.configuration.withCredentials,
|
|
222
|
-
headers: headers,
|
|
223
|
-
observe: observe,
|
|
224
|
-
reportProgress: reportProgress
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
|
-
getAllCampaigns(name, vizardPackageId, status, page, size, sort, observe = 'body', reportProgress = false) {
|
|
228
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
229
|
-
if (name !== undefined && name !== null) {
|
|
230
|
-
queryParameters = queryParameters.set('name', name);
|
|
231
|
-
}
|
|
232
|
-
if (vizardPackageId !== undefined && vizardPackageId !== null) {
|
|
233
|
-
queryParameters = queryParameters.set('vizardPackageId', vizardPackageId);
|
|
234
|
-
}
|
|
235
|
-
if (status !== undefined && status !== null) {
|
|
236
|
-
queryParameters = queryParameters.set('status', status);
|
|
237
|
-
}
|
|
238
|
-
if (page !== undefined && page !== null) {
|
|
239
|
-
queryParameters = queryParameters.set('page', page);
|
|
240
|
-
}
|
|
241
|
-
if (size !== undefined && size !== null) {
|
|
242
|
-
queryParameters = queryParameters.set('size', size);
|
|
243
|
-
}
|
|
244
|
-
if (sort) {
|
|
245
|
-
sort.forEach((element) => {
|
|
246
|
-
queryParameters = queryParameters.append('sort', element);
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
let headers = this.defaultHeaders;
|
|
250
|
-
// to determine the Accept header
|
|
251
|
-
let httpHeaderAccepts = [
|
|
252
|
-
'*/*'
|
|
253
|
-
];
|
|
254
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
255
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
256
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
257
|
-
}
|
|
258
|
-
// to determine the Content-Type header
|
|
259
|
-
const consumes = [];
|
|
260
|
-
return this.httpClient.request('get', `${this.basePath}/campaign`, {
|
|
261
|
-
params: queryParameters,
|
|
262
|
-
withCredentials: this.configuration.withCredentials,
|
|
263
|
-
headers: headers,
|
|
264
|
-
observe: observe,
|
|
265
|
-
reportProgress: reportProgress
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
getCampaign(id, observe = 'body', reportProgress = false) {
|
|
269
|
-
if (id === null || id === undefined) {
|
|
270
|
-
throw new Error('Required parameter id was null or undefined when calling getCampaign.');
|
|
271
|
-
}
|
|
272
|
-
let headers = this.defaultHeaders;
|
|
273
|
-
// to determine the Accept header
|
|
274
|
-
let httpHeaderAccepts = [
|
|
275
|
-
'*/*'
|
|
276
|
-
];
|
|
277
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
278
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
279
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
280
|
-
}
|
|
281
|
-
// to determine the Content-Type header
|
|
282
|
-
const consumes = [];
|
|
283
|
-
return this.httpClient.request('get', `${this.basePath}/campaign/${encodeURIComponent(String(id))}`, {
|
|
284
|
-
withCredentials: this.configuration.withCredentials,
|
|
285
|
-
headers: headers,
|
|
286
|
-
observe: observe,
|
|
287
|
-
reportProgress: reportProgress
|
|
288
|
-
});
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
*
|
|
163
|
+
*
|
|
164
|
+
*
|
|
165
|
+
*
|
|
166
|
+
*
|
|
167
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
168
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
169
|
+
* Do not edit the class manually.
|
|
170
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
171
|
+
class CampaignControllerService {
|
|
172
|
+
constructor(httpClient, basePath, configuration) {
|
|
173
|
+
this.httpClient = httpClient;
|
|
174
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
175
|
+
this.defaultHeaders = new HttpHeaders();
|
|
176
|
+
this.configuration = new Configuration();
|
|
177
|
+
if (basePath) {
|
|
178
|
+
this.basePath = basePath;
|
|
179
|
+
}
|
|
180
|
+
if (configuration) {
|
|
181
|
+
this.configuration = configuration;
|
|
182
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* @param consumes string[] mime-types
|
|
187
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
188
|
+
*/
|
|
189
|
+
canConsumeForm(consumes) {
|
|
190
|
+
const form = 'multipart/form-data';
|
|
191
|
+
for (const consume of consumes) {
|
|
192
|
+
if (form === consume) {
|
|
193
|
+
return true;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
return false;
|
|
197
|
+
}
|
|
198
|
+
createCampaign(body, observe = 'body', reportProgress = false) {
|
|
199
|
+
if (body === null || body === undefined) {
|
|
200
|
+
throw new Error('Required parameter body was null or undefined when calling createCampaign.');
|
|
201
|
+
}
|
|
202
|
+
let headers = this.defaultHeaders;
|
|
203
|
+
// to determine the Accept header
|
|
204
|
+
let httpHeaderAccepts = [
|
|
205
|
+
'*/*'
|
|
206
|
+
];
|
|
207
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
208
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
209
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
210
|
+
}
|
|
211
|
+
// to determine the Content-Type header
|
|
212
|
+
const consumes = [
|
|
213
|
+
'application/json'
|
|
214
|
+
];
|
|
215
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
216
|
+
if (httpContentTypeSelected != undefined) {
|
|
217
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
218
|
+
}
|
|
219
|
+
return this.httpClient.request('post', `${this.basePath}/campaign`, {
|
|
220
|
+
body: body,
|
|
221
|
+
withCredentials: this.configuration.withCredentials,
|
|
222
|
+
headers: headers,
|
|
223
|
+
observe: observe,
|
|
224
|
+
reportProgress: reportProgress
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
getAllCampaigns(name, vizardPackageId, status, page, size, sort, observe = 'body', reportProgress = false) {
|
|
228
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
229
|
+
if (name !== undefined && name !== null) {
|
|
230
|
+
queryParameters = queryParameters.set('name', name);
|
|
231
|
+
}
|
|
232
|
+
if (vizardPackageId !== undefined && vizardPackageId !== null) {
|
|
233
|
+
queryParameters = queryParameters.set('vizardPackageId', vizardPackageId);
|
|
234
|
+
}
|
|
235
|
+
if (status !== undefined && status !== null) {
|
|
236
|
+
queryParameters = queryParameters.set('status', status);
|
|
237
|
+
}
|
|
238
|
+
if (page !== undefined && page !== null) {
|
|
239
|
+
queryParameters = queryParameters.set('page', page);
|
|
240
|
+
}
|
|
241
|
+
if (size !== undefined && size !== null) {
|
|
242
|
+
queryParameters = queryParameters.set('size', size);
|
|
243
|
+
}
|
|
244
|
+
if (sort) {
|
|
245
|
+
sort.forEach((element) => {
|
|
246
|
+
queryParameters = queryParameters.append('sort', element);
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
let headers = this.defaultHeaders;
|
|
250
|
+
// to determine the Accept header
|
|
251
|
+
let httpHeaderAccepts = [
|
|
252
|
+
'*/*'
|
|
253
|
+
];
|
|
254
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
255
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
256
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
257
|
+
}
|
|
258
|
+
// to determine the Content-Type header
|
|
259
|
+
const consumes = [];
|
|
260
|
+
return this.httpClient.request('get', `${this.basePath}/campaign`, {
|
|
261
|
+
params: queryParameters,
|
|
262
|
+
withCredentials: this.configuration.withCredentials,
|
|
263
|
+
headers: headers,
|
|
264
|
+
observe: observe,
|
|
265
|
+
reportProgress: reportProgress
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
getCampaign(id, observe = 'body', reportProgress = false) {
|
|
269
|
+
if (id === null || id === undefined) {
|
|
270
|
+
throw new Error('Required parameter id was null or undefined when calling getCampaign.');
|
|
271
|
+
}
|
|
272
|
+
let headers = this.defaultHeaders;
|
|
273
|
+
// to determine the Accept header
|
|
274
|
+
let httpHeaderAccepts = [
|
|
275
|
+
'*/*'
|
|
276
|
+
];
|
|
277
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
278
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
279
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
280
|
+
}
|
|
281
|
+
// to determine the Content-Type header
|
|
282
|
+
const consumes = [];
|
|
283
|
+
return this.httpClient.request('get', `${this.basePath}/campaign/${encodeURIComponent(String(id))}`, {
|
|
284
|
+
withCredentials: this.configuration.withCredentials,
|
|
285
|
+
headers: headers,
|
|
286
|
+
observe: observe,
|
|
287
|
+
reportProgress: reportProgress
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
searchCampaigns(q, observe = 'body', reportProgress = false) {
|
|
291
|
+
if (q === null || q === undefined) {
|
|
292
|
+
throw new Error('Required parameter q was null or undefined when calling searchCampaigns.');
|
|
293
|
+
}
|
|
294
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
295
|
+
if (q !== undefined && q !== null) {
|
|
296
|
+
queryParameters = queryParameters.set('q', q);
|
|
297
|
+
}
|
|
298
|
+
let headers = this.defaultHeaders;
|
|
299
|
+
// to determine the Accept header
|
|
300
|
+
let httpHeaderAccepts = [
|
|
301
|
+
'*/*'
|
|
302
|
+
];
|
|
303
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
304
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
305
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
306
|
+
}
|
|
307
|
+
// to determine the Content-Type header
|
|
308
|
+
const consumes = [];
|
|
309
|
+
return this.httpClient.request('get', `${this.basePath}/campaign/search`, {
|
|
310
|
+
params: queryParameters,
|
|
311
|
+
withCredentials: this.configuration.withCredentials,
|
|
312
|
+
headers: headers,
|
|
313
|
+
observe: observe,
|
|
314
|
+
reportProgress: reportProgress
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
CampaignControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
319
|
+
CampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService });
|
|
320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, decorators: [{
|
|
321
|
+
type: Injectable
|
|
322
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
323
|
+
type: Optional
|
|
324
|
+
}, {
|
|
325
|
+
type: Inject,
|
|
326
|
+
args: [BASE_PATH]
|
|
327
|
+
}] }, { type: Configuration, decorators: [{
|
|
328
|
+
type: Optional
|
|
302
329
|
}] }]; } });
|
|
303
330
|
|
|
304
|
-
/**
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
311
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
312
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
313
|
-
* Do not edit the class manually.
|
|
314
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
315
|
-
class CountryControllerService {
|
|
316
|
-
constructor(httpClient, basePath, configuration) {
|
|
317
|
-
this.httpClient = httpClient;
|
|
318
|
-
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
319
|
-
this.defaultHeaders = new HttpHeaders();
|
|
320
|
-
this.configuration = new Configuration();
|
|
321
|
-
if (basePath) {
|
|
322
|
-
this.basePath = basePath;
|
|
323
|
-
}
|
|
324
|
-
if (configuration) {
|
|
325
|
-
this.configuration = configuration;
|
|
326
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
* @param consumes string[] mime-types
|
|
331
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
332
|
-
*/
|
|
333
|
-
canConsumeForm(consumes) {
|
|
334
|
-
const form = 'multipart/form-data';
|
|
335
|
-
for (const consume of consumes) {
|
|
336
|
-
if (form === consume) {
|
|
337
|
-
return true;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
return false;
|
|
341
|
-
}
|
|
342
|
-
getAllCountries(observe = 'body', reportProgress = false) {
|
|
343
|
-
let headers = this.defaultHeaders;
|
|
344
|
-
// to determine the Accept header
|
|
345
|
-
let httpHeaderAccepts = [
|
|
346
|
-
'*/*'
|
|
347
|
-
];
|
|
348
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
349
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
350
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
351
|
-
}
|
|
352
|
-
// to determine the Content-Type header
|
|
353
|
-
const consumes = [];
|
|
354
|
-
return this.httpClient.request('get', `${this.basePath}/country`, {
|
|
355
|
-
withCredentials: this.configuration.withCredentials,
|
|
356
|
-
headers: headers,
|
|
357
|
-
observe: observe,
|
|
358
|
-
reportProgress: reportProgress
|
|
359
|
-
});
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
CountryControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
363
|
-
CountryControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService });
|
|
364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService, decorators: [{
|
|
365
|
-
type: Injectable
|
|
366
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
367
|
-
type: Optional
|
|
368
|
-
}, {
|
|
369
|
-
type: Inject,
|
|
370
|
-
args: [BASE_PATH]
|
|
371
|
-
}] }, { type: Configuration, decorators: [{
|
|
372
|
-
type: Optional
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
*
|
|
334
|
+
*
|
|
335
|
+
*
|
|
336
|
+
*
|
|
337
|
+
*
|
|
338
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
339
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
340
|
+
* Do not edit the class manually.
|
|
341
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
342
|
+
class CountryControllerService {
|
|
343
|
+
constructor(httpClient, basePath, configuration) {
|
|
344
|
+
this.httpClient = httpClient;
|
|
345
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
346
|
+
this.defaultHeaders = new HttpHeaders();
|
|
347
|
+
this.configuration = new Configuration();
|
|
348
|
+
if (basePath) {
|
|
349
|
+
this.basePath = basePath;
|
|
350
|
+
}
|
|
351
|
+
if (configuration) {
|
|
352
|
+
this.configuration = configuration;
|
|
353
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* @param consumes string[] mime-types
|
|
358
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
359
|
+
*/
|
|
360
|
+
canConsumeForm(consumes) {
|
|
361
|
+
const form = 'multipart/form-data';
|
|
362
|
+
for (const consume of consumes) {
|
|
363
|
+
if (form === consume) {
|
|
364
|
+
return true;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
return false;
|
|
368
|
+
}
|
|
369
|
+
getAllCountries(observe = 'body', reportProgress = false) {
|
|
370
|
+
let headers = this.defaultHeaders;
|
|
371
|
+
// to determine the Accept header
|
|
372
|
+
let httpHeaderAccepts = [
|
|
373
|
+
'*/*'
|
|
374
|
+
];
|
|
375
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
376
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
377
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
378
|
+
}
|
|
379
|
+
// to determine the Content-Type header
|
|
380
|
+
const consumes = [];
|
|
381
|
+
return this.httpClient.request('get', `${this.basePath}/country`, {
|
|
382
|
+
withCredentials: this.configuration.withCredentials,
|
|
383
|
+
headers: headers,
|
|
384
|
+
observe: observe,
|
|
385
|
+
reportProgress: reportProgress
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
CountryControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
390
|
+
CountryControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService });
|
|
391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService, decorators: [{
|
|
392
|
+
type: Injectable
|
|
393
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
394
|
+
type: Optional
|
|
395
|
+
}, {
|
|
396
|
+
type: Inject,
|
|
397
|
+
args: [BASE_PATH]
|
|
398
|
+
}] }, { type: Configuration, decorators: [{
|
|
399
|
+
type: Optional
|
|
373
400
|
}] }]; } });
|
|
374
401
|
|
|
375
|
-
/**
|
|
376
|
-
*
|
|
377
|
-
*
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
*
|
|
381
|
-
*
|
|
382
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
383
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
384
|
-
* Do not edit the class manually.
|
|
385
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
386
|
-
class DpaCampaignControllerService {
|
|
387
|
-
constructor(httpClient, basePath, configuration) {
|
|
388
|
-
this.httpClient = httpClient;
|
|
389
|
-
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
390
|
-
this.defaultHeaders = new HttpHeaders();
|
|
391
|
-
this.configuration = new Configuration();
|
|
392
|
-
if (basePath) {
|
|
393
|
-
this.basePath = basePath;
|
|
394
|
-
}
|
|
395
|
-
if (configuration) {
|
|
396
|
-
this.configuration = configuration;
|
|
397
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* @param consumes string[] mime-types
|
|
402
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
403
|
-
*/
|
|
404
|
-
canConsumeForm(consumes) {
|
|
405
|
-
const form = 'multipart/form-data';
|
|
406
|
-
for (const consume of consumes) {
|
|
407
|
-
if (form === consume) {
|
|
408
|
-
return true;
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
return false;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
if (body === null || body === undefined) {
|
|
415
|
-
throw new Error('Required parameter body was null or undefined when calling
|
|
416
|
-
}
|
|
417
|
-
if (id === null || id === undefined) {
|
|
418
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
419
|
-
}
|
|
420
|
-
let headers = this.defaultHeaders;
|
|
421
|
-
// to determine the Accept header
|
|
422
|
-
let httpHeaderAccepts = [
|
|
423
|
-
'*/*'
|
|
424
|
-
];
|
|
425
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
426
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
427
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
428
|
-
}
|
|
429
|
-
// to determine the Content-Type header
|
|
430
|
-
const consumes = [
|
|
431
|
-
'application/json'
|
|
432
|
-
];
|
|
433
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
434
|
-
if (httpContentTypeSelected != undefined) {
|
|
435
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
436
|
-
}
|
|
437
|
-
return this.httpClient.request('post', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
438
|
-
body: body,
|
|
439
|
-
withCredentials: this.configuration.withCredentials,
|
|
440
|
-
headers: headers,
|
|
441
|
-
observe: observe,
|
|
442
|
-
reportProgress: reportProgress
|
|
443
|
-
});
|
|
444
|
-
}
|
|
445
|
-
getDpaCampaign(id, observe = 'body', reportProgress = false) {
|
|
446
|
-
if (id === null || id === undefined) {
|
|
447
|
-
throw new Error('Required parameter id was null or undefined when calling getDpaCampaign.');
|
|
448
|
-
}
|
|
449
|
-
let headers = this.defaultHeaders;
|
|
450
|
-
// to determine the Accept header
|
|
451
|
-
let httpHeaderAccepts = [
|
|
452
|
-
'*/*'
|
|
453
|
-
];
|
|
454
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
455
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
456
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
457
|
-
}
|
|
458
|
-
// to determine the Content-Type header
|
|
459
|
-
const consumes = [];
|
|
460
|
-
return this.httpClient.request('get', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
461
|
-
withCredentials: this.configuration.withCredentials,
|
|
462
|
-
headers: headers,
|
|
463
|
-
observe: observe,
|
|
464
|
-
reportProgress: reportProgress
|
|
465
|
-
});
|
|
466
|
-
}
|
|
467
|
-
updateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
|
|
468
|
-
if (body === null || body === undefined) {
|
|
469
|
-
throw new Error('Required parameter body was null or undefined when calling updateDpaCampaign.');
|
|
470
|
-
}
|
|
471
|
-
if (id === null || id === undefined) {
|
|
472
|
-
throw new Error('Required parameter id was null or undefined when calling updateDpaCampaign.');
|
|
473
|
-
}
|
|
474
|
-
let headers = this.defaultHeaders;
|
|
475
|
-
// to determine the Accept header
|
|
476
|
-
let httpHeaderAccepts = [
|
|
477
|
-
'*/*'
|
|
478
|
-
];
|
|
479
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
480
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
481
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
482
|
-
}
|
|
483
|
-
// to determine the Content-Type header
|
|
484
|
-
const consumes = [
|
|
485
|
-
'application/json'
|
|
486
|
-
];
|
|
487
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
488
|
-
if (httpContentTypeSelected != undefined) {
|
|
489
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
490
|
-
}
|
|
491
|
-
return this.httpClient.request('put', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
492
|
-
body: body,
|
|
493
|
-
withCredentials: this.configuration.withCredentials,
|
|
494
|
-
headers: headers,
|
|
495
|
-
observe: observe,
|
|
496
|
-
reportProgress: reportProgress
|
|
497
|
-
});
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
DpaCampaignControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
501
|
-
DpaCampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService });
|
|
502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, decorators: [{
|
|
503
|
-
type: Injectable
|
|
504
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
505
|
-
type: Optional
|
|
506
|
-
}, {
|
|
507
|
-
type: Inject,
|
|
508
|
-
args: [BASE_PATH]
|
|
509
|
-
}] }, { type: Configuration, decorators: [{
|
|
510
|
-
type: Optional
|
|
402
|
+
/**
|
|
403
|
+
*
|
|
404
|
+
*
|
|
405
|
+
*
|
|
406
|
+
*
|
|
407
|
+
*
|
|
408
|
+
*
|
|
409
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
410
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
411
|
+
* Do not edit the class manually.
|
|
412
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
413
|
+
class DpaCampaignControllerService {
|
|
414
|
+
constructor(httpClient, basePath, configuration) {
|
|
415
|
+
this.httpClient = httpClient;
|
|
416
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
417
|
+
this.defaultHeaders = new HttpHeaders();
|
|
418
|
+
this.configuration = new Configuration();
|
|
419
|
+
if (basePath) {
|
|
420
|
+
this.basePath = basePath;
|
|
421
|
+
}
|
|
422
|
+
if (configuration) {
|
|
423
|
+
this.configuration = configuration;
|
|
424
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* @param consumes string[] mime-types
|
|
429
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
430
|
+
*/
|
|
431
|
+
canConsumeForm(consumes) {
|
|
432
|
+
const form = 'multipart/form-data';
|
|
433
|
+
for (const consume of consumes) {
|
|
434
|
+
if (form === consume) {
|
|
435
|
+
return true;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
return false;
|
|
439
|
+
}
|
|
440
|
+
createOrUpdateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
|
|
441
|
+
if (body === null || body === undefined) {
|
|
442
|
+
throw new Error('Required parameter body was null or undefined when calling createOrUpdateDpaCampaign.');
|
|
443
|
+
}
|
|
444
|
+
if (id === null || id === undefined) {
|
|
445
|
+
throw new Error('Required parameter id was null or undefined when calling createOrUpdateDpaCampaign.');
|
|
446
|
+
}
|
|
447
|
+
let headers = this.defaultHeaders;
|
|
448
|
+
// to determine the Accept header
|
|
449
|
+
let httpHeaderAccepts = [
|
|
450
|
+
'*/*'
|
|
451
|
+
];
|
|
452
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
453
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
454
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
455
|
+
}
|
|
456
|
+
// to determine the Content-Type header
|
|
457
|
+
const consumes = [
|
|
458
|
+
'application/json'
|
|
459
|
+
];
|
|
460
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
461
|
+
if (httpContentTypeSelected != undefined) {
|
|
462
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
463
|
+
}
|
|
464
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
465
|
+
body: body,
|
|
466
|
+
withCredentials: this.configuration.withCredentials,
|
|
467
|
+
headers: headers,
|
|
468
|
+
observe: observe,
|
|
469
|
+
reportProgress: reportProgress
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
getDpaCampaign(id, observe = 'body', reportProgress = false) {
|
|
473
|
+
if (id === null || id === undefined) {
|
|
474
|
+
throw new Error('Required parameter id was null or undefined when calling getDpaCampaign.');
|
|
475
|
+
}
|
|
476
|
+
let headers = this.defaultHeaders;
|
|
477
|
+
// to determine the Accept header
|
|
478
|
+
let httpHeaderAccepts = [
|
|
479
|
+
'*/*'
|
|
480
|
+
];
|
|
481
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
482
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
483
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
484
|
+
}
|
|
485
|
+
// to determine the Content-Type header
|
|
486
|
+
const consumes = [];
|
|
487
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
488
|
+
withCredentials: this.configuration.withCredentials,
|
|
489
|
+
headers: headers,
|
|
490
|
+
observe: observe,
|
|
491
|
+
reportProgress: reportProgress
|
|
492
|
+
});
|
|
493
|
+
}
|
|
494
|
+
updateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
|
|
495
|
+
if (body === null || body === undefined) {
|
|
496
|
+
throw new Error('Required parameter body was null or undefined when calling updateDpaCampaign.');
|
|
497
|
+
}
|
|
498
|
+
if (id === null || id === undefined) {
|
|
499
|
+
throw new Error('Required parameter id was null or undefined when calling updateDpaCampaign.');
|
|
500
|
+
}
|
|
501
|
+
let headers = this.defaultHeaders;
|
|
502
|
+
// to determine the Accept header
|
|
503
|
+
let httpHeaderAccepts = [
|
|
504
|
+
'*/*'
|
|
505
|
+
];
|
|
506
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
507
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
508
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
509
|
+
}
|
|
510
|
+
// to determine the Content-Type header
|
|
511
|
+
const consumes = [
|
|
512
|
+
'application/json'
|
|
513
|
+
];
|
|
514
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
515
|
+
if (httpContentTypeSelected != undefined) {
|
|
516
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
517
|
+
}
|
|
518
|
+
return this.httpClient.request('put', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
519
|
+
body: body,
|
|
520
|
+
withCredentials: this.configuration.withCredentials,
|
|
521
|
+
headers: headers,
|
|
522
|
+
observe: observe,
|
|
523
|
+
reportProgress: reportProgress
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
DpaCampaignControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
528
|
+
DpaCampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService });
|
|
529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, decorators: [{
|
|
530
|
+
type: Injectable
|
|
531
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
532
|
+
type: Optional
|
|
533
|
+
}, {
|
|
534
|
+
type: Inject,
|
|
535
|
+
args: [BASE_PATH]
|
|
536
|
+
}] }, { type: Configuration, decorators: [{
|
|
537
|
+
type: Optional
|
|
511
538
|
}] }]; } });
|
|
512
539
|
|
|
513
|
-
/**
|
|
514
|
-
*
|
|
515
|
-
*
|
|
516
|
-
*
|
|
517
|
-
*
|
|
518
|
-
*
|
|
519
|
-
*
|
|
520
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
521
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
522
|
-
* Do not edit the class manually.
|
|
523
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
524
|
-
class DpaEngagementControllerService {
|
|
525
|
-
constructor(httpClient, basePath, configuration) {
|
|
526
|
-
this.httpClient = httpClient;
|
|
527
|
-
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
528
|
-
this.defaultHeaders = new HttpHeaders();
|
|
529
|
-
this.configuration = new Configuration();
|
|
530
|
-
if (basePath) {
|
|
531
|
-
this.basePath = basePath;
|
|
532
|
-
}
|
|
533
|
-
if (configuration) {
|
|
534
|
-
this.configuration = configuration;
|
|
535
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
/**
|
|
539
|
-
* @param consumes string[] mime-types
|
|
540
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
541
|
-
*/
|
|
542
|
-
canConsumeForm(consumes) {
|
|
543
|
-
const form = 'multipart/form-data';
|
|
544
|
-
for (const consume of consumes) {
|
|
545
|
-
if (form === consume) {
|
|
546
|
-
return true;
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
return false;
|
|
550
|
-
}
|
|
551
|
-
activateDpaEngagement(id, observe = 'body', reportProgress = false) {
|
|
552
|
-
if (id === null || id === undefined) {
|
|
553
|
-
throw new Error('Required parameter id was null or undefined when calling activateDpaEngagement.');
|
|
554
|
-
}
|
|
555
|
-
let headers = this.defaultHeaders;
|
|
556
|
-
// to determine the Accept header
|
|
557
|
-
let httpHeaderAccepts = [
|
|
558
|
-
'*/*'
|
|
559
|
-
];
|
|
560
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
561
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
562
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
563
|
-
}
|
|
564
|
-
// to determine the Content-Type header
|
|
565
|
-
const consumes = [];
|
|
566
|
-
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/activate`, {
|
|
567
|
-
withCredentials: this.configuration.withCredentials,
|
|
568
|
-
headers: headers,
|
|
569
|
-
observe: observe,
|
|
570
|
-
reportProgress: reportProgress
|
|
571
|
-
});
|
|
572
|
-
}
|
|
573
|
-
createDpaEngagement(body, observe = 'body', reportProgress = false) {
|
|
574
|
-
if (body === null || body === undefined) {
|
|
575
|
-
throw new Error('Required parameter body was null or undefined when calling createDpaEngagement.');
|
|
576
|
-
}
|
|
577
|
-
let headers = this.defaultHeaders;
|
|
578
|
-
// to determine the Accept header
|
|
579
|
-
let httpHeaderAccepts = [
|
|
580
|
-
'*/*'
|
|
581
|
-
];
|
|
582
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
583
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
584
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
585
|
-
}
|
|
586
|
-
// to determine the Content-Type header
|
|
587
|
-
const consumes = [
|
|
588
|
-
'application/json'
|
|
589
|
-
];
|
|
590
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
591
|
-
if (httpContentTypeSelected != undefined) {
|
|
592
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
593
|
-
}
|
|
594
|
-
return this.httpClient.request('post', `${this.basePath}/dpa-engagement`, {
|
|
595
|
-
body: body,
|
|
596
|
-
withCredentials: this.configuration.withCredentials,
|
|
597
|
-
headers: headers,
|
|
598
|
-
observe: observe,
|
|
599
|
-
reportProgress: reportProgress
|
|
600
|
-
});
|
|
601
|
-
}
|
|
602
|
-
getAllDpaEngagements(id, campaignId, facebookCampaignId, name, payoutType, status, isIntellibidEnabled, isMarketFeedbackEnabled, campaignStatus, page, size, sort, observe = 'body', reportProgress = false) {
|
|
603
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
604
|
-
if (id !== undefined && id !== null) {
|
|
605
|
-
queryParameters = queryParameters.set('id', id);
|
|
606
|
-
}
|
|
607
|
-
if (campaignId !== undefined && campaignId !== null) {
|
|
608
|
-
queryParameters = queryParameters.set('campaignId', campaignId);
|
|
609
|
-
}
|
|
610
|
-
if (facebookCampaignId !== undefined && facebookCampaignId !== null) {
|
|
611
|
-
queryParameters = queryParameters.set('facebookCampaignId', facebookCampaignId);
|
|
612
|
-
}
|
|
613
|
-
if (name !== undefined && name !== null) {
|
|
614
|
-
queryParameters = queryParameters.set('name', name);
|
|
615
|
-
}
|
|
616
|
-
if (payoutType !== undefined && payoutType !== null) {
|
|
617
|
-
queryParameters = queryParameters.set('payoutType', payoutType);
|
|
618
|
-
}
|
|
619
|
-
if (status !== undefined && status !== null) {
|
|
620
|
-
queryParameters = queryParameters.set('status', status);
|
|
621
|
-
}
|
|
622
|
-
if (isIntellibidEnabled !== undefined && isIntellibidEnabled !== null) {
|
|
623
|
-
queryParameters = queryParameters.set('isIntellibidEnabled', isIntellibidEnabled);
|
|
624
|
-
}
|
|
625
|
-
if (isMarketFeedbackEnabled !== undefined && isMarketFeedbackEnabled !== null) {
|
|
626
|
-
queryParameters = queryParameters.set('isMarketFeedbackEnabled', isMarketFeedbackEnabled);
|
|
627
|
-
}
|
|
628
|
-
if (campaignStatus !== undefined && campaignStatus !== null) {
|
|
629
|
-
queryParameters = queryParameters.set('campaignStatus', campaignStatus);
|
|
630
|
-
}
|
|
631
|
-
if (page !== undefined && page !== null) {
|
|
632
|
-
queryParameters = queryParameters.set('page', page);
|
|
633
|
-
}
|
|
634
|
-
if (size !== undefined && size !== null) {
|
|
635
|
-
queryParameters = queryParameters.set('size', size);
|
|
636
|
-
}
|
|
637
|
-
if (sort) {
|
|
638
|
-
sort.forEach((element) => {
|
|
639
|
-
queryParameters = queryParameters.append('sort', element);
|
|
640
|
-
});
|
|
641
|
-
}
|
|
642
|
-
let headers = this.defaultHeaders;
|
|
643
|
-
// to determine the Accept header
|
|
644
|
-
let httpHeaderAccepts = [
|
|
645
|
-
'*/*'
|
|
646
|
-
];
|
|
647
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
648
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
649
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
650
|
-
}
|
|
651
|
-
// to determine the Content-Type header
|
|
652
|
-
const consumes = [];
|
|
653
|
-
return this.httpClient.request('get', `${this.basePath}/dpa-engagement`, {
|
|
654
|
-
params: queryParameters,
|
|
655
|
-
withCredentials: this.configuration.withCredentials,
|
|
656
|
-
headers: headers,
|
|
657
|
-
observe: observe,
|
|
658
|
-
reportProgress: reportProgress
|
|
659
|
-
});
|
|
660
|
-
}
|
|
661
|
-
getDpaEngagement(id, observe = 'body', reportProgress = false) {
|
|
662
|
-
if (id === null || id === undefined) {
|
|
663
|
-
throw new Error('Required parameter id was null or undefined when calling getDpaEngagement.');
|
|
664
|
-
}
|
|
665
|
-
let headers = this.defaultHeaders;
|
|
666
|
-
// to determine the Accept header
|
|
667
|
-
let httpHeaderAccepts = [
|
|
668
|
-
'*/*'
|
|
669
|
-
];
|
|
670
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
671
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
672
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
673
|
-
}
|
|
674
|
-
// to determine the Content-Type header
|
|
675
|
-
const consumes = [];
|
|
676
|
-
return this.httpClient.request('get', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
|
|
677
|
-
withCredentials: this.configuration.withCredentials,
|
|
678
|
-
headers: headers,
|
|
679
|
-
observe: observe,
|
|
680
|
-
reportProgress: reportProgress
|
|
681
|
-
});
|
|
682
|
-
}
|
|
683
|
-
pauseDpaEngagement(id, observe = 'body', reportProgress = false) {
|
|
684
|
-
if (id === null || id === undefined) {
|
|
685
|
-
throw new Error('Required parameter id was null or undefined when calling pauseDpaEngagement.');
|
|
686
|
-
}
|
|
687
|
-
let headers = this.defaultHeaders;
|
|
688
|
-
// to determine the Accept header
|
|
689
|
-
let httpHeaderAccepts = [
|
|
690
|
-
'*/*'
|
|
691
|
-
];
|
|
692
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
693
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
694
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
695
|
-
}
|
|
696
|
-
// to determine the Content-Type header
|
|
697
|
-
const consumes = [];
|
|
698
|
-
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/pause`, {
|
|
699
|
-
withCredentials: this.configuration.withCredentials,
|
|
700
|
-
headers: headers,
|
|
701
|
-
observe: observe,
|
|
702
|
-
reportProgress: reportProgress
|
|
703
|
-
});
|
|
704
|
-
}
|
|
705
|
-
publishDpaEngagement(id, observe = 'body', reportProgress = false) {
|
|
706
|
-
if (id === null || id === undefined) {
|
|
707
|
-
throw new Error('Required parameter id was null or undefined when calling publishDpaEngagement.');
|
|
708
|
-
}
|
|
709
|
-
let headers = this.defaultHeaders;
|
|
710
|
-
// to determine the Accept header
|
|
711
|
-
let httpHeaderAccepts = [
|
|
712
|
-
'*/*'
|
|
713
|
-
];
|
|
714
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
715
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
716
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
717
|
-
}
|
|
718
|
-
// to determine the Content-Type header
|
|
719
|
-
const consumes = [];
|
|
720
|
-
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/publish`, {
|
|
721
|
-
withCredentials: this.configuration.withCredentials,
|
|
722
|
-
headers: headers,
|
|
723
|
-
observe: observe,
|
|
724
|
-
reportProgress: reportProgress
|
|
725
|
-
});
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
if (
|
|
729
|
-
throw new Error('Required parameter
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
headers
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
const
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
headers
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
540
|
+
/**
|
|
541
|
+
*
|
|
542
|
+
*
|
|
543
|
+
*
|
|
544
|
+
*
|
|
545
|
+
*
|
|
546
|
+
*
|
|
547
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
548
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
549
|
+
* Do not edit the class manually.
|
|
550
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
551
|
+
class DpaEngagementControllerService {
|
|
552
|
+
constructor(httpClient, basePath, configuration) {
|
|
553
|
+
this.httpClient = httpClient;
|
|
554
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
555
|
+
this.defaultHeaders = new HttpHeaders();
|
|
556
|
+
this.configuration = new Configuration();
|
|
557
|
+
if (basePath) {
|
|
558
|
+
this.basePath = basePath;
|
|
559
|
+
}
|
|
560
|
+
if (configuration) {
|
|
561
|
+
this.configuration = configuration;
|
|
562
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* @param consumes string[] mime-types
|
|
567
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
568
|
+
*/
|
|
569
|
+
canConsumeForm(consumes) {
|
|
570
|
+
const form = 'multipart/form-data';
|
|
571
|
+
for (const consume of consumes) {
|
|
572
|
+
if (form === consume) {
|
|
573
|
+
return true;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
return false;
|
|
577
|
+
}
|
|
578
|
+
activateDpaEngagement(id, observe = 'body', reportProgress = false) {
|
|
579
|
+
if (id === null || id === undefined) {
|
|
580
|
+
throw new Error('Required parameter id was null or undefined when calling activateDpaEngagement.');
|
|
581
|
+
}
|
|
582
|
+
let headers = this.defaultHeaders;
|
|
583
|
+
// to determine the Accept header
|
|
584
|
+
let httpHeaderAccepts = [
|
|
585
|
+
'*/*'
|
|
586
|
+
];
|
|
587
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
588
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
589
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
590
|
+
}
|
|
591
|
+
// to determine the Content-Type header
|
|
592
|
+
const consumes = [];
|
|
593
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/activate`, {
|
|
594
|
+
withCredentials: this.configuration.withCredentials,
|
|
595
|
+
headers: headers,
|
|
596
|
+
observe: observe,
|
|
597
|
+
reportProgress: reportProgress
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
createDpaEngagement(body, observe = 'body', reportProgress = false) {
|
|
601
|
+
if (body === null || body === undefined) {
|
|
602
|
+
throw new Error('Required parameter body was null or undefined when calling createDpaEngagement.');
|
|
603
|
+
}
|
|
604
|
+
let headers = this.defaultHeaders;
|
|
605
|
+
// to determine the Accept header
|
|
606
|
+
let httpHeaderAccepts = [
|
|
607
|
+
'*/*'
|
|
608
|
+
];
|
|
609
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
610
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
611
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
612
|
+
}
|
|
613
|
+
// to determine the Content-Type header
|
|
614
|
+
const consumes = [
|
|
615
|
+
'application/json'
|
|
616
|
+
];
|
|
617
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
618
|
+
if (httpContentTypeSelected != undefined) {
|
|
619
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
620
|
+
}
|
|
621
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement`, {
|
|
622
|
+
body: body,
|
|
623
|
+
withCredentials: this.configuration.withCredentials,
|
|
624
|
+
headers: headers,
|
|
625
|
+
observe: observe,
|
|
626
|
+
reportProgress: reportProgress
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
getAllDpaEngagements(id, campaignId, facebookCampaignId, name, payoutType, status, isIntellibidEnabled, isMarketFeedbackEnabled, campaignStatus, page, size, sort, observe = 'body', reportProgress = false) {
|
|
630
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
631
|
+
if (id !== undefined && id !== null) {
|
|
632
|
+
queryParameters = queryParameters.set('id', id);
|
|
633
|
+
}
|
|
634
|
+
if (campaignId !== undefined && campaignId !== null) {
|
|
635
|
+
queryParameters = queryParameters.set('campaignId', campaignId);
|
|
636
|
+
}
|
|
637
|
+
if (facebookCampaignId !== undefined && facebookCampaignId !== null) {
|
|
638
|
+
queryParameters = queryParameters.set('facebookCampaignId', facebookCampaignId);
|
|
639
|
+
}
|
|
640
|
+
if (name !== undefined && name !== null) {
|
|
641
|
+
queryParameters = queryParameters.set('name', name);
|
|
642
|
+
}
|
|
643
|
+
if (payoutType !== undefined && payoutType !== null) {
|
|
644
|
+
queryParameters = queryParameters.set('payoutType', payoutType);
|
|
645
|
+
}
|
|
646
|
+
if (status !== undefined && status !== null) {
|
|
647
|
+
queryParameters = queryParameters.set('status', status);
|
|
648
|
+
}
|
|
649
|
+
if (isIntellibidEnabled !== undefined && isIntellibidEnabled !== null) {
|
|
650
|
+
queryParameters = queryParameters.set('isIntellibidEnabled', isIntellibidEnabled);
|
|
651
|
+
}
|
|
652
|
+
if (isMarketFeedbackEnabled !== undefined && isMarketFeedbackEnabled !== null) {
|
|
653
|
+
queryParameters = queryParameters.set('isMarketFeedbackEnabled', isMarketFeedbackEnabled);
|
|
654
|
+
}
|
|
655
|
+
if (campaignStatus !== undefined && campaignStatus !== null) {
|
|
656
|
+
queryParameters = queryParameters.set('campaignStatus', campaignStatus);
|
|
657
|
+
}
|
|
658
|
+
if (page !== undefined && page !== null) {
|
|
659
|
+
queryParameters = queryParameters.set('page', page);
|
|
660
|
+
}
|
|
661
|
+
if (size !== undefined && size !== null) {
|
|
662
|
+
queryParameters = queryParameters.set('size', size);
|
|
663
|
+
}
|
|
664
|
+
if (sort) {
|
|
665
|
+
sort.forEach((element) => {
|
|
666
|
+
queryParameters = queryParameters.append('sort', element);
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
let headers = this.defaultHeaders;
|
|
670
|
+
// to determine the Accept header
|
|
671
|
+
let httpHeaderAccepts = [
|
|
672
|
+
'*/*'
|
|
673
|
+
];
|
|
674
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
675
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
676
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
677
|
+
}
|
|
678
|
+
// to determine the Content-Type header
|
|
679
|
+
const consumes = [];
|
|
680
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-engagement`, {
|
|
681
|
+
params: queryParameters,
|
|
682
|
+
withCredentials: this.configuration.withCredentials,
|
|
683
|
+
headers: headers,
|
|
684
|
+
observe: observe,
|
|
685
|
+
reportProgress: reportProgress
|
|
686
|
+
});
|
|
687
|
+
}
|
|
688
|
+
getDpaEngagement(id, observe = 'body', reportProgress = false) {
|
|
689
|
+
if (id === null || id === undefined) {
|
|
690
|
+
throw new Error('Required parameter id was null or undefined when calling getDpaEngagement.');
|
|
691
|
+
}
|
|
692
|
+
let headers = this.defaultHeaders;
|
|
693
|
+
// to determine the Accept header
|
|
694
|
+
let httpHeaderAccepts = [
|
|
695
|
+
'*/*'
|
|
696
|
+
];
|
|
697
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
698
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
699
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
700
|
+
}
|
|
701
|
+
// to determine the Content-Type header
|
|
702
|
+
const consumes = [];
|
|
703
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
|
|
704
|
+
withCredentials: this.configuration.withCredentials,
|
|
705
|
+
headers: headers,
|
|
706
|
+
observe: observe,
|
|
707
|
+
reportProgress: reportProgress
|
|
708
|
+
});
|
|
709
|
+
}
|
|
710
|
+
pauseDpaEngagement(id, observe = 'body', reportProgress = false) {
|
|
711
|
+
if (id === null || id === undefined) {
|
|
712
|
+
throw new Error('Required parameter id was null or undefined when calling pauseDpaEngagement.');
|
|
713
|
+
}
|
|
714
|
+
let headers = this.defaultHeaders;
|
|
715
|
+
// to determine the Accept header
|
|
716
|
+
let httpHeaderAccepts = [
|
|
717
|
+
'*/*'
|
|
718
|
+
];
|
|
719
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
720
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
721
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
722
|
+
}
|
|
723
|
+
// to determine the Content-Type header
|
|
724
|
+
const consumes = [];
|
|
725
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/pause`, {
|
|
726
|
+
withCredentials: this.configuration.withCredentials,
|
|
727
|
+
headers: headers,
|
|
728
|
+
observe: observe,
|
|
729
|
+
reportProgress: reportProgress
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
publishDpaEngagement(id, observe = 'body', reportProgress = false) {
|
|
733
|
+
if (id === null || id === undefined) {
|
|
734
|
+
throw new Error('Required parameter id was null or undefined when calling publishDpaEngagement.');
|
|
735
|
+
}
|
|
736
|
+
let headers = this.defaultHeaders;
|
|
737
|
+
// to determine the Accept header
|
|
738
|
+
let httpHeaderAccepts = [
|
|
739
|
+
'*/*'
|
|
740
|
+
];
|
|
741
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
742
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
743
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
744
|
+
}
|
|
745
|
+
// to determine the Content-Type header
|
|
746
|
+
const consumes = [];
|
|
747
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/publish`, {
|
|
748
|
+
withCredentials: this.configuration.withCredentials,
|
|
749
|
+
headers: headers,
|
|
750
|
+
observe: observe,
|
|
751
|
+
reportProgress: reportProgress
|
|
752
|
+
});
|
|
753
|
+
}
|
|
754
|
+
searchDpaEngagements(q, observe = 'body', reportProgress = false) {
|
|
755
|
+
if (q === null || q === undefined) {
|
|
756
|
+
throw new Error('Required parameter q was null or undefined when calling searchDpaEngagements.');
|
|
757
|
+
}
|
|
758
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
759
|
+
if (q !== undefined && q !== null) {
|
|
760
|
+
queryParameters = queryParameters.set('q', q);
|
|
761
|
+
}
|
|
762
|
+
let headers = this.defaultHeaders;
|
|
763
|
+
// to determine the Accept header
|
|
764
|
+
let httpHeaderAccepts = [
|
|
765
|
+
'*/*'
|
|
766
|
+
];
|
|
767
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
768
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
769
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
770
|
+
}
|
|
771
|
+
// to determine the Content-Type header
|
|
772
|
+
const consumes = [];
|
|
773
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-engagement/search`, {
|
|
774
|
+
params: queryParameters,
|
|
775
|
+
withCredentials: this.configuration.withCredentials,
|
|
776
|
+
headers: headers,
|
|
777
|
+
observe: observe,
|
|
778
|
+
reportProgress: reportProgress
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
updateDailyBudget(body, id, observe = 'body', reportProgress = false) {
|
|
782
|
+
if (body === null || body === undefined) {
|
|
783
|
+
throw new Error('Required parameter body was null or undefined when calling updateDailyBudget.');
|
|
784
|
+
}
|
|
785
|
+
if (id === null || id === undefined) {
|
|
786
|
+
throw new Error('Required parameter id was null or undefined when calling updateDailyBudget.');
|
|
787
|
+
}
|
|
788
|
+
let headers = this.defaultHeaders;
|
|
789
|
+
// to determine the Accept header
|
|
790
|
+
let httpHeaderAccepts = [
|
|
791
|
+
'*/*'
|
|
792
|
+
];
|
|
793
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
794
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
795
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
796
|
+
}
|
|
797
|
+
// to determine the Content-Type header
|
|
798
|
+
const consumes = [
|
|
799
|
+
'application/json'
|
|
800
|
+
];
|
|
801
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
802
|
+
if (httpContentTypeSelected != undefined) {
|
|
803
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
804
|
+
}
|
|
805
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/daily-budget`, {
|
|
806
|
+
body: body,
|
|
807
|
+
withCredentials: this.configuration.withCredentials,
|
|
808
|
+
headers: headers,
|
|
809
|
+
observe: observe,
|
|
810
|
+
reportProgress: reportProgress
|
|
811
|
+
});
|
|
812
|
+
}
|
|
813
|
+
updateDpaEngagement(body, id, observe = 'body', reportProgress = false) {
|
|
814
|
+
if (body === null || body === undefined) {
|
|
815
|
+
throw new Error('Required parameter body was null or undefined when calling updateDpaEngagement.');
|
|
816
|
+
}
|
|
817
|
+
if (id === null || id === undefined) {
|
|
818
|
+
throw new Error('Required parameter id was null or undefined when calling updateDpaEngagement.');
|
|
819
|
+
}
|
|
820
|
+
let headers = this.defaultHeaders;
|
|
821
|
+
// to determine the Accept header
|
|
822
|
+
let httpHeaderAccepts = [
|
|
823
|
+
'*/*'
|
|
824
|
+
];
|
|
825
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
826
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
827
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
828
|
+
}
|
|
829
|
+
// to determine the Content-Type header
|
|
830
|
+
const consumes = [
|
|
831
|
+
'application/json'
|
|
832
|
+
];
|
|
833
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
834
|
+
if (httpContentTypeSelected != undefined) {
|
|
835
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
836
|
+
}
|
|
837
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
|
|
838
|
+
body: body,
|
|
839
|
+
withCredentials: this.configuration.withCredentials,
|
|
840
|
+
headers: headers,
|
|
841
|
+
observe: observe,
|
|
842
|
+
reportProgress: reportProgress
|
|
843
|
+
});
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
DpaEngagementControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
847
|
+
DpaEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService });
|
|
848
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService, decorators: [{
|
|
849
|
+
type: Injectable
|
|
850
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
851
|
+
type: Optional
|
|
852
|
+
}, {
|
|
853
|
+
type: Inject,
|
|
854
|
+
args: [BASE_PATH]
|
|
855
|
+
}] }, { type: Configuration, decorators: [{
|
|
856
|
+
type: Optional
|
|
803
857
|
}] }]; } });
|
|
804
858
|
|
|
805
|
-
/**
|
|
806
|
-
*
|
|
807
|
-
*
|
|
808
|
-
*
|
|
809
|
-
*
|
|
810
|
-
*
|
|
811
|
-
*
|
|
812
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
813
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
814
|
-
* Do not edit the class manually.
|
|
815
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
816
|
-
class
|
|
817
|
-
constructor(httpClient, basePath, configuration) {
|
|
818
|
-
this.httpClient = httpClient;
|
|
819
|
-
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
820
|
-
this.defaultHeaders = new HttpHeaders();
|
|
821
|
-
this.configuration = new Configuration();
|
|
822
|
-
if (basePath) {
|
|
823
|
-
this.basePath = basePath;
|
|
824
|
-
}
|
|
825
|
-
if (configuration) {
|
|
826
|
-
this.configuration = configuration;
|
|
827
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
/**
|
|
831
|
-
* @param consumes string[] mime-types
|
|
832
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
833
|
-
*/
|
|
834
|
-
canConsumeForm(consumes) {
|
|
835
|
-
const form = 'multipart/form-data';
|
|
836
|
-
for (const consume of consumes) {
|
|
837
|
-
if (form === consume) {
|
|
838
|
-
return true;
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
return false;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
859
|
+
/**
|
|
860
|
+
*
|
|
861
|
+
*
|
|
862
|
+
*
|
|
863
|
+
*
|
|
864
|
+
*
|
|
865
|
+
*
|
|
866
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
867
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
868
|
+
* Do not edit the class manually.
|
|
869
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
870
|
+
class FacebookEngagementControllerService {
|
|
871
|
+
constructor(httpClient, basePath, configuration) {
|
|
872
|
+
this.httpClient = httpClient;
|
|
873
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
874
|
+
this.defaultHeaders = new HttpHeaders();
|
|
875
|
+
this.configuration = new Configuration();
|
|
876
|
+
if (basePath) {
|
|
877
|
+
this.basePath = basePath;
|
|
878
|
+
}
|
|
879
|
+
if (configuration) {
|
|
880
|
+
this.configuration = configuration;
|
|
881
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* @param consumes string[] mime-types
|
|
886
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
887
|
+
*/
|
|
888
|
+
canConsumeForm(consumes) {
|
|
889
|
+
const form = 'multipart/form-data';
|
|
890
|
+
for (const consume of consumes) {
|
|
891
|
+
if (form === consume) {
|
|
892
|
+
return true;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
return false;
|
|
896
|
+
}
|
|
897
|
+
createFacebookEngagement(body, observe = 'body', reportProgress = false) {
|
|
898
|
+
if (body === null || body === undefined) {
|
|
899
|
+
throw new Error('Required parameter body was null or undefined when calling createFacebookEngagement.');
|
|
900
|
+
}
|
|
901
|
+
let headers = this.defaultHeaders;
|
|
902
|
+
// to determine the Accept header
|
|
903
|
+
let httpHeaderAccepts = [
|
|
904
|
+
'*/*'
|
|
905
|
+
];
|
|
906
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
907
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
908
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
909
|
+
}
|
|
910
|
+
// to determine the Content-Type header
|
|
911
|
+
const consumes = [
|
|
912
|
+
'application/json'
|
|
913
|
+
];
|
|
914
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
915
|
+
if (httpContentTypeSelected != undefined) {
|
|
916
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
917
|
+
}
|
|
918
|
+
return this.httpClient.request('post', `${this.basePath}/facebook-engagement`, {
|
|
919
|
+
body: body,
|
|
920
|
+
withCredentials: this.configuration.withCredentials,
|
|
921
|
+
headers: headers,
|
|
922
|
+
observe: observe,
|
|
923
|
+
reportProgress: reportProgress
|
|
924
|
+
});
|
|
925
|
+
}
|
|
926
|
+
getAllFacebookEngagements(id, campaignId, facebookAccountId, facebookFanPageId, facebookCatalogId, facebookCatalogType, instagramActorId, facebookPixelId, facebookAppId, facebookProductSetId, tosAccepted, eventSourceGroupId, audienceDsdo, page, size, sort, observe = 'body', reportProgress = false) {
|
|
927
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
928
|
+
if (id !== undefined && id !== null) {
|
|
929
|
+
queryParameters = queryParameters.set('id', id);
|
|
930
|
+
}
|
|
931
|
+
if (campaignId !== undefined && campaignId !== null) {
|
|
932
|
+
queryParameters = queryParameters.set('campaignId', campaignId);
|
|
933
|
+
}
|
|
934
|
+
if (facebookAccountId !== undefined && facebookAccountId !== null) {
|
|
935
|
+
queryParameters = queryParameters.set('facebookAccountId', facebookAccountId);
|
|
936
|
+
}
|
|
937
|
+
if (facebookFanPageId !== undefined && facebookFanPageId !== null) {
|
|
938
|
+
queryParameters = queryParameters.set('facebookFanPageId', facebookFanPageId);
|
|
939
|
+
}
|
|
940
|
+
if (facebookCatalogId !== undefined && facebookCatalogId !== null) {
|
|
941
|
+
queryParameters = queryParameters.set('facebookCatalogId', facebookCatalogId);
|
|
942
|
+
}
|
|
943
|
+
if (facebookCatalogType !== undefined && facebookCatalogType !== null) {
|
|
944
|
+
queryParameters = queryParameters.set('facebookCatalogType', facebookCatalogType);
|
|
945
|
+
}
|
|
946
|
+
if (instagramActorId !== undefined && instagramActorId !== null) {
|
|
947
|
+
queryParameters = queryParameters.set('instagramActorId', instagramActorId);
|
|
948
|
+
}
|
|
949
|
+
if (facebookPixelId !== undefined && facebookPixelId !== null) {
|
|
950
|
+
queryParameters = queryParameters.set('facebookPixelId', facebookPixelId);
|
|
951
|
+
}
|
|
952
|
+
if (facebookAppId !== undefined && facebookAppId !== null) {
|
|
953
|
+
queryParameters = queryParameters.set('facebookAppId', facebookAppId);
|
|
954
|
+
}
|
|
955
|
+
if (facebookProductSetId !== undefined && facebookProductSetId !== null) {
|
|
956
|
+
queryParameters = queryParameters.set('facebookProductSetId', facebookProductSetId);
|
|
957
|
+
}
|
|
958
|
+
if (tosAccepted !== undefined && tosAccepted !== null) {
|
|
959
|
+
queryParameters = queryParameters.set('tosAccepted', tosAccepted);
|
|
960
|
+
}
|
|
961
|
+
if (eventSourceGroupId !== undefined && eventSourceGroupId !== null) {
|
|
962
|
+
queryParameters = queryParameters.set('eventSourceGroupId', eventSourceGroupId);
|
|
963
|
+
}
|
|
964
|
+
if (audienceDsdo !== undefined && audienceDsdo !== null) {
|
|
965
|
+
queryParameters = queryParameters.set('audienceDsdo', audienceDsdo);
|
|
966
|
+
}
|
|
967
|
+
if (page !== undefined && page !== null) {
|
|
968
|
+
queryParameters = queryParameters.set('page', page);
|
|
969
|
+
}
|
|
970
|
+
if (size !== undefined && size !== null) {
|
|
971
|
+
queryParameters = queryParameters.set('size', size);
|
|
972
|
+
}
|
|
973
|
+
if (sort) {
|
|
974
|
+
sort.forEach((element) => {
|
|
975
|
+
queryParameters = queryParameters.append('sort', element);
|
|
976
|
+
});
|
|
977
|
+
}
|
|
978
|
+
let headers = this.defaultHeaders;
|
|
979
|
+
// to determine the Accept header
|
|
980
|
+
let httpHeaderAccepts = [
|
|
981
|
+
'*/*'
|
|
982
|
+
];
|
|
983
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
984
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
985
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
986
|
+
}
|
|
987
|
+
// to determine the Content-Type header
|
|
988
|
+
const consumes = [];
|
|
989
|
+
return this.httpClient.request('get', `${this.basePath}/facebook-engagement`, {
|
|
990
|
+
params: queryParameters,
|
|
991
|
+
withCredentials: this.configuration.withCredentials,
|
|
992
|
+
headers: headers,
|
|
993
|
+
observe: observe,
|
|
994
|
+
reportProgress: reportProgress
|
|
995
|
+
});
|
|
996
|
+
}
|
|
997
|
+
getFacebookEngagement(id, observe = 'body', reportProgress = false) {
|
|
998
|
+
if (id === null || id === undefined) {
|
|
999
|
+
throw new Error('Required parameter id was null or undefined when calling getFacebookEngagement.');
|
|
1000
|
+
}
|
|
1001
|
+
let headers = this.defaultHeaders;
|
|
1002
|
+
// to determine the Accept header
|
|
1003
|
+
let httpHeaderAccepts = [
|
|
1004
|
+
'*/*'
|
|
1005
|
+
];
|
|
1006
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1007
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1008
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1009
|
+
}
|
|
1010
|
+
// to determine the Content-Type header
|
|
1011
|
+
const consumes = [];
|
|
1012
|
+
return this.httpClient.request('get', `${this.basePath}/facebook-engagement/${encodeURIComponent(String(id))}`, {
|
|
1013
|
+
withCredentials: this.configuration.withCredentials,
|
|
1014
|
+
headers: headers,
|
|
1015
|
+
observe: observe,
|
|
1016
|
+
reportProgress: reportProgress
|
|
1017
|
+
});
|
|
1018
|
+
}
|
|
1019
|
+
updateFacebookEngagement(body, id, observe = 'body', reportProgress = false) {
|
|
1020
|
+
if (body === null || body === undefined) {
|
|
1021
|
+
throw new Error('Required parameter body was null or undefined when calling updateFacebookEngagement.');
|
|
1022
|
+
}
|
|
1023
|
+
if (id === null || id === undefined) {
|
|
1024
|
+
throw new Error('Required parameter id was null or undefined when calling updateFacebookEngagement.');
|
|
1025
|
+
}
|
|
1026
|
+
let headers = this.defaultHeaders;
|
|
1027
|
+
// to determine the Accept header
|
|
1028
|
+
let httpHeaderAccepts = [
|
|
1029
|
+
'*/*'
|
|
1030
|
+
];
|
|
1031
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1032
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1033
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1034
|
+
}
|
|
1035
|
+
// to determine the Content-Type header
|
|
1036
|
+
const consumes = [
|
|
1037
|
+
'application/json'
|
|
1038
|
+
];
|
|
1039
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1040
|
+
if (httpContentTypeSelected != undefined) {
|
|
1041
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1042
|
+
}
|
|
1043
|
+
return this.httpClient.request('post', `${this.basePath}/facebook-engagement/${encodeURIComponent(String(id))}`, {
|
|
1044
|
+
body: body,
|
|
1045
|
+
withCredentials: this.configuration.withCredentials,
|
|
1046
|
+
headers: headers,
|
|
1047
|
+
observe: observe,
|
|
1048
|
+
reportProgress: reportProgress
|
|
1049
|
+
});
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
FacebookEngagementControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1053
|
+
FacebookEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService });
|
|
1054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService, decorators: [{
|
|
1055
|
+
type: Injectable
|
|
1056
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1057
|
+
type: Optional
|
|
1058
|
+
}, {
|
|
1059
|
+
type: Inject,
|
|
1060
|
+
args: [BASE_PATH]
|
|
1061
|
+
}] }, { type: Configuration, decorators: [{
|
|
1062
|
+
type: Optional
|
|
918
1063
|
}] }]; } });
|
|
919
1064
|
|
|
920
|
-
|
|
1065
|
+
/**
|
|
1066
|
+
*
|
|
1067
|
+
*
|
|
1068
|
+
*
|
|
1069
|
+
*
|
|
1070
|
+
*
|
|
1071
|
+
*
|
|
1072
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1073
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1074
|
+
* Do not edit the class manually.
|
|
1075
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1076
|
+
class PackageDetailControllerService {
|
|
1077
|
+
constructor(httpClient, basePath, configuration) {
|
|
1078
|
+
this.httpClient = httpClient;
|
|
1079
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
1080
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1081
|
+
this.configuration = new Configuration();
|
|
1082
|
+
if (basePath) {
|
|
1083
|
+
this.basePath = basePath;
|
|
1084
|
+
}
|
|
1085
|
+
if (configuration) {
|
|
1086
|
+
this.configuration = configuration;
|
|
1087
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
/**
|
|
1091
|
+
* @param consumes string[] mime-types
|
|
1092
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1093
|
+
*/
|
|
1094
|
+
canConsumeForm(consumes) {
|
|
1095
|
+
const form = 'multipart/form-data';
|
|
1096
|
+
for (const consume of consumes) {
|
|
1097
|
+
if (form === consume) {
|
|
1098
|
+
return true;
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
return false;
|
|
1102
|
+
}
|
|
1103
|
+
getAllPackageDetails(id, name, isActive, page, size, sort, observe = 'body', reportProgress = false) {
|
|
1104
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1105
|
+
if (id !== undefined && id !== null) {
|
|
1106
|
+
queryParameters = queryParameters.set('id', id);
|
|
1107
|
+
}
|
|
1108
|
+
if (name !== undefined && name !== null) {
|
|
1109
|
+
queryParameters = queryParameters.set('name', name);
|
|
1110
|
+
}
|
|
1111
|
+
if (isActive !== undefined && isActive !== null) {
|
|
1112
|
+
queryParameters = queryParameters.set('isActive', isActive);
|
|
1113
|
+
}
|
|
1114
|
+
if (page !== undefined && page !== null) {
|
|
1115
|
+
queryParameters = queryParameters.set('page', page);
|
|
1116
|
+
}
|
|
1117
|
+
if (size !== undefined && size !== null) {
|
|
1118
|
+
queryParameters = queryParameters.set('size', size);
|
|
1119
|
+
}
|
|
1120
|
+
if (sort) {
|
|
1121
|
+
sort.forEach((element) => {
|
|
1122
|
+
queryParameters = queryParameters.append('sort', element);
|
|
1123
|
+
});
|
|
1124
|
+
}
|
|
1125
|
+
let headers = this.defaultHeaders;
|
|
1126
|
+
// to determine the Accept header
|
|
1127
|
+
let httpHeaderAccepts = [
|
|
1128
|
+
'*/*'
|
|
1129
|
+
];
|
|
1130
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1131
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1132
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1133
|
+
}
|
|
1134
|
+
// to determine the Content-Type header
|
|
1135
|
+
const consumes = [];
|
|
1136
|
+
return this.httpClient.request('get', `${this.basePath}/package`, {
|
|
1137
|
+
params: queryParameters,
|
|
1138
|
+
withCredentials: this.configuration.withCredentials,
|
|
1139
|
+
headers: headers,
|
|
1140
|
+
observe: observe,
|
|
1141
|
+
reportProgress: reportProgress
|
|
1142
|
+
});
|
|
1143
|
+
}
|
|
1144
|
+
getPackageDetail(id, observe = 'body', reportProgress = false) {
|
|
1145
|
+
if (id === null || id === undefined) {
|
|
1146
|
+
throw new Error('Required parameter id was null or undefined when calling getPackageDetail.');
|
|
1147
|
+
}
|
|
1148
|
+
let headers = this.defaultHeaders;
|
|
1149
|
+
// to determine the Accept header
|
|
1150
|
+
let httpHeaderAccepts = [
|
|
1151
|
+
'*/*'
|
|
1152
|
+
];
|
|
1153
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1154
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1155
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1156
|
+
}
|
|
1157
|
+
// to determine the Content-Type header
|
|
1158
|
+
const consumes = [];
|
|
1159
|
+
return this.httpClient.request('get', `${this.basePath}/package/${encodeURIComponent(String(id))}`, {
|
|
1160
|
+
withCredentials: this.configuration.withCredentials,
|
|
1161
|
+
headers: headers,
|
|
1162
|
+
observe: observe,
|
|
1163
|
+
reportProgress: reportProgress
|
|
1164
|
+
});
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
PackageDetailControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1168
|
+
PackageDetailControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService });
|
|
1169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService, decorators: [{
|
|
1170
|
+
type: Injectable
|
|
1171
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1172
|
+
type: Optional
|
|
1173
|
+
}, {
|
|
1174
|
+
type: Inject,
|
|
1175
|
+
args: [BASE_PATH]
|
|
1176
|
+
}] }, { type: Configuration, decorators: [{
|
|
1177
|
+
type: Optional
|
|
1178
|
+
}] }]; } });
|
|
921
1179
|
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
*
|
|
926
|
-
*
|
|
927
|
-
*
|
|
928
|
-
*
|
|
929
|
-
*
|
|
930
|
-
*
|
|
931
|
-
*
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
1180
|
+
const APIS = [BusinessGeoControllerService, CampaignControllerService, CountryControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookEngagementControllerService, PackageDetailControllerService];
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
*
|
|
1184
|
+
*
|
|
1185
|
+
*
|
|
1186
|
+
*
|
|
1187
|
+
*
|
|
1188
|
+
*
|
|
1189
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1190
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1191
|
+
* Do not edit the class manually.
|
|
1192
|
+
*/
|
|
1193
|
+
var AdSetDetails;
|
|
1194
|
+
(function (AdSetDetails) {
|
|
1195
|
+
AdSetDetails.TypeEnum = {
|
|
1196
|
+
IB: 'IB',
|
|
1197
|
+
Engage: 'Engage',
|
|
1198
|
+
Default: 'Default'
|
|
1199
|
+
};
|
|
940
1200
|
})(AdSetDetails || (AdSetDetails = {}));
|
|
941
1201
|
|
|
942
|
-
/**
|
|
943
|
-
*
|
|
944
|
-
*
|
|
945
|
-
*
|
|
946
|
-
*
|
|
947
|
-
*
|
|
948
|
-
*
|
|
949
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
950
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
951
|
-
* Do not edit the class manually.
|
|
1202
|
+
/**
|
|
1203
|
+
*
|
|
1204
|
+
*
|
|
1205
|
+
*
|
|
1206
|
+
*
|
|
1207
|
+
*
|
|
1208
|
+
*
|
|
1209
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1210
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1211
|
+
* Do not edit the class manually.
|
|
952
1212
|
*/
|
|
953
1213
|
|
|
954
|
-
/**
|
|
955
|
-
*
|
|
956
|
-
*
|
|
957
|
-
*
|
|
958
|
-
*
|
|
959
|
-
*
|
|
960
|
-
*
|
|
961
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
962
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
963
|
-
* Do not edit the class manually.
|
|
1214
|
+
/**
|
|
1215
|
+
*
|
|
1216
|
+
*
|
|
1217
|
+
*
|
|
1218
|
+
*
|
|
1219
|
+
*
|
|
1220
|
+
*
|
|
1221
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1222
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1223
|
+
* Do not edit the class manually.
|
|
964
1224
|
*/
|
|
965
1225
|
|
|
966
|
-
/**
|
|
967
|
-
*
|
|
968
|
-
*
|
|
969
|
-
*
|
|
970
|
-
*
|
|
971
|
-
*
|
|
972
|
-
*
|
|
973
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
974
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
975
|
-
* Do not edit the class manually.
|
|
976
|
-
*/
|
|
977
|
-
var CampaignResponse;
|
|
978
|
-
(function (CampaignResponse) {
|
|
979
|
-
CampaignResponse.StatusEnum = {
|
|
980
|
-
INACTIVE: 'INACTIVE',
|
|
981
|
-
PAUSED: 'PAUSED',
|
|
982
|
-
ACTIVE: 'ACTIVE',
|
|
983
|
-
SOFTPAUSE: 'SOFTPAUSE'
|
|
984
|
-
};
|
|
985
|
-
CampaignResponse.SegDbTypeEnum = {
|
|
986
|
-
SEGMENTATION: 'SEGMENTATION',
|
|
987
|
-
COUNT: 'COUNT'
|
|
988
|
-
};
|
|
989
|
-
CampaignResponse.CampaignTypeEnum = {
|
|
990
|
-
BRANDING: 'BRANDING',
|
|
991
|
-
UA: 'UA',
|
|
992
|
-
RETARGETING: 'RETARGETING',
|
|
993
|
-
DSP: 'DSP',
|
|
994
|
-
DMP: 'DMP'
|
|
995
|
-
};
|
|
1226
|
+
/**
|
|
1227
|
+
*
|
|
1228
|
+
*
|
|
1229
|
+
*
|
|
1230
|
+
*
|
|
1231
|
+
*
|
|
1232
|
+
*
|
|
1233
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1234
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1235
|
+
* Do not edit the class manually.
|
|
1236
|
+
*/
|
|
1237
|
+
var CampaignResponse;
|
|
1238
|
+
(function (CampaignResponse) {
|
|
1239
|
+
CampaignResponse.StatusEnum = {
|
|
1240
|
+
INACTIVE: 'INACTIVE',
|
|
1241
|
+
PAUSED: 'PAUSED',
|
|
1242
|
+
ACTIVE: 'ACTIVE',
|
|
1243
|
+
SOFTPAUSE: 'SOFTPAUSE'
|
|
1244
|
+
};
|
|
1245
|
+
CampaignResponse.SegDbTypeEnum = {
|
|
1246
|
+
SEGMENTATION: 'SEGMENTATION',
|
|
1247
|
+
COUNT: 'COUNT'
|
|
1248
|
+
};
|
|
1249
|
+
CampaignResponse.CampaignTypeEnum = {
|
|
1250
|
+
BRANDING: 'BRANDING',
|
|
1251
|
+
UA: 'UA',
|
|
1252
|
+
RETARGETING: 'RETARGETING',
|
|
1253
|
+
DSP: 'DSP',
|
|
1254
|
+
DMP: 'DMP'
|
|
1255
|
+
};
|
|
996
1256
|
})(CampaignResponse || (CampaignResponse = {}));
|
|
997
1257
|
|
|
998
|
-
/**
|
|
999
|
-
*
|
|
1000
|
-
*
|
|
1001
|
-
*
|
|
1002
|
-
*
|
|
1003
|
-
*
|
|
1004
|
-
*
|
|
1005
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1006
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1007
|
-
* Do not edit the class manually.
|
|
1258
|
+
/**
|
|
1259
|
+
*
|
|
1260
|
+
*
|
|
1261
|
+
*
|
|
1262
|
+
*
|
|
1263
|
+
*
|
|
1264
|
+
*
|
|
1265
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1266
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1267
|
+
* Do not edit the class manually.
|
|
1008
1268
|
*/
|
|
1009
1269
|
|
|
1010
|
-
/**
|
|
1011
|
-
*
|
|
1012
|
-
*
|
|
1013
|
-
*
|
|
1014
|
-
*
|
|
1015
|
-
*
|
|
1016
|
-
*
|
|
1017
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1018
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1019
|
-
* Do not edit the class manually.
|
|
1270
|
+
/**
|
|
1271
|
+
*
|
|
1272
|
+
*
|
|
1273
|
+
*
|
|
1274
|
+
*
|
|
1275
|
+
*
|
|
1276
|
+
*
|
|
1277
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1278
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1279
|
+
* Do not edit the class manually.
|
|
1020
1280
|
*/
|
|
1021
1281
|
|
|
1022
|
-
var DpaCampaignResponse;
|
|
1023
|
-
(function (DpaCampaignResponse) {
|
|
1024
|
-
DpaCampaignResponse.StatusEnum = {
|
|
1025
|
-
DRAFT: 'DRAFT',
|
|
1026
|
-
INITIALIZED: 'INITIALIZED',
|
|
1027
|
-
RUNNING: 'RUNNING',
|
|
1028
|
-
UPDATING: 'UPDATING',
|
|
1029
|
-
PAUSED: 'PAUSED'
|
|
1030
|
-
};
|
|
1282
|
+
var DpaCampaignResponse;
|
|
1283
|
+
(function (DpaCampaignResponse) {
|
|
1284
|
+
DpaCampaignResponse.StatusEnum = {
|
|
1285
|
+
DRAFT: 'DRAFT',
|
|
1286
|
+
INITIALIZED: 'INITIALIZED',
|
|
1287
|
+
RUNNING: 'RUNNING',
|
|
1288
|
+
UPDATING: 'UPDATING',
|
|
1289
|
+
PAUSED: 'PAUSED'
|
|
1290
|
+
};
|
|
1031
1291
|
})(DpaCampaignResponse || (DpaCampaignResponse = {}));
|
|
1032
1292
|
|
|
1033
|
-
var DpaEngagementResponse;
|
|
1034
|
-
(function (DpaEngagementResponse) {
|
|
1035
|
-
DpaEngagementResponse.RunByEnum = {
|
|
1036
|
-
CLIENT: 'CLIENT',
|
|
1037
|
-
VIZURY: 'VIZURY'
|
|
1038
|
-
};
|
|
1039
|
-
DpaEngagementResponse.PayoutTypeEnum = {
|
|
1040
|
-
CPM: 'CPM',
|
|
1041
|
-
CPC: 'CPC',
|
|
1042
|
-
CPA: 'CPA',
|
|
1043
|
-
CPS: 'CPS',
|
|
1044
|
-
CPAClientAttributed: 'CPA - Client Attributed',
|
|
1045
|
-
CPSClientAttributed: 'CPS - Client Attributed',
|
|
1046
|
-
MARGIN: 'MARGIN'
|
|
1047
|
-
};
|
|
1048
|
-
DpaEngagementResponse.StatusEnum = {
|
|
1049
|
-
DRAFT: 'DRAFT',
|
|
1050
|
-
INITIALIZED: 'INITIALIZED',
|
|
1051
|
-
RUNNING: 'RUNNING',
|
|
1052
|
-
UPDATING: 'UPDATING',
|
|
1053
|
-
PAUSED: 'PAUSED'
|
|
1054
|
-
};
|
|
1055
|
-
DpaEngagementResponse.TemplateEnum = {
|
|
1056
|
-
None: 'none',
|
|
1057
|
-
TextOnImage: 'text-on-image',
|
|
1058
|
-
Price: 'price',
|
|
1059
|
-
PercentageOff: 'percentage_off',
|
|
1060
|
-
StrikethroughPrice: 'strikethrough_price',
|
|
1061
|
-
ImageOverlay: 'image-overlay'
|
|
1062
|
-
};
|
|
1293
|
+
var DpaEngagementResponse;
|
|
1294
|
+
(function (DpaEngagementResponse) {
|
|
1295
|
+
DpaEngagementResponse.RunByEnum = {
|
|
1296
|
+
CLIENT: 'CLIENT',
|
|
1297
|
+
VIZURY: 'VIZURY'
|
|
1298
|
+
};
|
|
1299
|
+
DpaEngagementResponse.PayoutTypeEnum = {
|
|
1300
|
+
CPM: 'CPM',
|
|
1301
|
+
CPC: 'CPC',
|
|
1302
|
+
CPA: 'CPA',
|
|
1303
|
+
CPS: 'CPS',
|
|
1304
|
+
CPAClientAttributed: 'CPA - Client Attributed',
|
|
1305
|
+
CPSClientAttributed: 'CPS - Client Attributed',
|
|
1306
|
+
MARGIN: 'MARGIN'
|
|
1307
|
+
};
|
|
1308
|
+
DpaEngagementResponse.StatusEnum = {
|
|
1309
|
+
DRAFT: 'DRAFT',
|
|
1310
|
+
INITIALIZED: 'INITIALIZED',
|
|
1311
|
+
RUNNING: 'RUNNING',
|
|
1312
|
+
UPDATING: 'UPDATING',
|
|
1313
|
+
PAUSED: 'PAUSED'
|
|
1314
|
+
};
|
|
1315
|
+
DpaEngagementResponse.TemplateEnum = {
|
|
1316
|
+
None: 'none',
|
|
1317
|
+
TextOnImage: 'text-on-image',
|
|
1318
|
+
Price: 'price',
|
|
1319
|
+
PercentageOff: 'percentage_off',
|
|
1320
|
+
StrikethroughPrice: 'strikethrough_price',
|
|
1321
|
+
ImageOverlay: 'image-overlay'
|
|
1322
|
+
};
|
|
1063
1323
|
})(DpaEngagementResponse || (DpaEngagementResponse = {}));
|
|
1064
1324
|
|
|
1065
|
-
/**
|
|
1066
|
-
*
|
|
1067
|
-
*
|
|
1068
|
-
*
|
|
1069
|
-
*
|
|
1070
|
-
*
|
|
1071
|
-
*
|
|
1072
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1073
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1074
|
-
* Do not edit the class manually.
|
|
1325
|
+
/**
|
|
1326
|
+
*
|
|
1327
|
+
*
|
|
1328
|
+
*
|
|
1329
|
+
*
|
|
1330
|
+
*
|
|
1331
|
+
*
|
|
1332
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1333
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1334
|
+
* Do not edit the class manually.
|
|
1075
1335
|
*/
|
|
1076
1336
|
|
|
1077
|
-
/**
|
|
1078
|
-
*
|
|
1079
|
-
*
|
|
1080
|
-
*
|
|
1081
|
-
*
|
|
1082
|
-
*
|
|
1083
|
-
*
|
|
1084
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1085
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1086
|
-
* Do not edit the class manually.
|
|
1337
|
+
/**
|
|
1338
|
+
*
|
|
1339
|
+
*
|
|
1340
|
+
*
|
|
1341
|
+
*
|
|
1342
|
+
*
|
|
1343
|
+
*
|
|
1344
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1345
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1346
|
+
* Do not edit the class manually.
|
|
1087
1347
|
*/
|
|
1088
1348
|
|
|
1089
|
-
/**
|
|
1090
|
-
*
|
|
1091
|
-
*
|
|
1092
|
-
*
|
|
1093
|
-
*
|
|
1094
|
-
*
|
|
1095
|
-
*
|
|
1096
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1097
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1098
|
-
* Do not edit the class manually.
|
|
1349
|
+
/**
|
|
1350
|
+
*
|
|
1351
|
+
*
|
|
1352
|
+
*
|
|
1353
|
+
*
|
|
1354
|
+
*
|
|
1355
|
+
*
|
|
1356
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1357
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1358
|
+
* Do not edit the class manually.
|
|
1099
1359
|
*/
|
|
1100
1360
|
|
|
1101
|
-
/**
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
1105
|
-
*
|
|
1106
|
-
*
|
|
1107
|
-
*
|
|
1108
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1109
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1110
|
-
* Do not edit the class manually.
|
|
1361
|
+
/**
|
|
1362
|
+
*
|
|
1363
|
+
*
|
|
1364
|
+
*
|
|
1365
|
+
*
|
|
1366
|
+
*
|
|
1367
|
+
*
|
|
1368
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1369
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1370
|
+
* Do not edit the class manually.
|
|
1371
|
+
*/
|
|
1372
|
+
var FacebookEngagementResponse;
|
|
1373
|
+
(function (FacebookEngagementResponse) {
|
|
1374
|
+
FacebookEngagementResponse.FacebookCatalogTypeEnum = {
|
|
1375
|
+
COMMERCE: 'COMMERCE',
|
|
1376
|
+
HOTELS: 'HOTELS',
|
|
1377
|
+
DESTINATIONS: 'DESTINATIONS',
|
|
1378
|
+
FLIGHTS: 'FLIGHTS'
|
|
1379
|
+
};
|
|
1380
|
+
})(FacebookEngagementResponse || (FacebookEngagementResponse = {}));
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
*
|
|
1384
|
+
*
|
|
1385
|
+
*
|
|
1386
|
+
*
|
|
1387
|
+
*
|
|
1388
|
+
*
|
|
1389
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1390
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1391
|
+
* Do not edit the class manually.
|
|
1111
1392
|
*/
|
|
1112
1393
|
|
|
1113
|
-
/**
|
|
1114
|
-
*
|
|
1115
|
-
*
|
|
1116
|
-
*
|
|
1117
|
-
*
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1120
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1121
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1122
|
-
* Do not edit the class manually.
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
*
|
|
1397
|
+
*
|
|
1398
|
+
*
|
|
1399
|
+
*
|
|
1400
|
+
*
|
|
1401
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1402
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1403
|
+
* Do not edit the class manually.
|
|
1123
1404
|
*/
|
|
1124
1405
|
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1406
|
+
/**
|
|
1407
|
+
*
|
|
1408
|
+
*
|
|
1409
|
+
*
|
|
1410
|
+
*
|
|
1411
|
+
*
|
|
1412
|
+
*
|
|
1413
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1414
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1415
|
+
* Do not edit the class manually.
|
|
1416
|
+
*/
|
|
1417
|
+
|
|
1418
|
+
/**
|
|
1419
|
+
*
|
|
1420
|
+
*
|
|
1421
|
+
*
|
|
1422
|
+
*
|
|
1423
|
+
*
|
|
1424
|
+
*
|
|
1425
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1426
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1427
|
+
* Do not edit the class manually.
|
|
1428
|
+
*/
|
|
1429
|
+
|
|
1430
|
+
class ApiModule {
|
|
1431
|
+
static forRoot(configurationFactory) {
|
|
1432
|
+
return {
|
|
1433
|
+
ngModule: ApiModule,
|
|
1434
|
+
providers: [{ provide: Configuration, useFactory: configurationFactory }]
|
|
1435
|
+
};
|
|
1436
|
+
}
|
|
1437
|
+
constructor(parentModule, http) {
|
|
1438
|
+
if (parentModule) {
|
|
1439
|
+
throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
|
|
1440
|
+
}
|
|
1441
|
+
if (!http) {
|
|
1442
|
+
throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
|
|
1443
|
+
'See also https://github.com/angular/angular/issues/20575');
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1448
|
+
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
|
|
1449
|
+
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
|
|
1450
|
+
BusinessGeoControllerService,
|
|
1451
|
+
CampaignControllerService,
|
|
1452
|
+
CountryControllerService,
|
|
1453
|
+
DpaCampaignControllerService,
|
|
1454
|
+
DpaEngagementControllerService,
|
|
1455
|
+
FacebookEngagementControllerService,
|
|
1456
|
+
PackageDetailControllerService
|
|
1457
|
+
] });
|
|
1458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
|
|
1459
|
+
type: NgModule,
|
|
1460
|
+
args: [{
|
|
1461
|
+
imports: [],
|
|
1462
|
+
declarations: [],
|
|
1463
|
+
exports: [],
|
|
1464
|
+
providers: [
|
|
1465
|
+
BusinessGeoControllerService,
|
|
1466
|
+
CampaignControllerService,
|
|
1467
|
+
CountryControllerService,
|
|
1468
|
+
DpaCampaignControllerService,
|
|
1469
|
+
DpaEngagementControllerService,
|
|
1470
|
+
FacebookEngagementControllerService,
|
|
1471
|
+
PackageDetailControllerService
|
|
1472
|
+
]
|
|
1473
|
+
}]
|
|
1474
|
+
}], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
|
|
1475
|
+
type: Optional
|
|
1476
|
+
}, {
|
|
1477
|
+
type: SkipSelf
|
|
1478
|
+
}] }, { type: i1.HttpClient, decorators: [{
|
|
1479
|
+
type: Optional
|
|
1173
1480
|
}] }]; } });
|
|
1174
1481
|
|
|
1175
|
-
/**
|
|
1176
|
-
* Generated bundle index. Do not edit.
|
|
1482
|
+
/**
|
|
1483
|
+
* Generated bundle index. Do not edit.
|
|
1177
1484
|
*/
|
|
1178
1485
|
|
|
1179
|
-
export { APIS, AdSetDetails, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignControllerService, CampaignResponse, Configuration, CountryControllerService, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementControllerService, DpaEngagementResponse, PackageDetailControllerService };
|
|
1486
|
+
export { APIS, AdSetDetails, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignControllerService, CampaignResponse, Configuration, CountryControllerService, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementControllerService, DpaEngagementResponse, FacebookEngagementControllerService, FacebookEngagementResponse, PackageDetailControllerService };
|
|
1180
1487
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|