@revxui/intellibid-client-ts 1.0.57 → 1.0.58
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/advertiserController.service.d.ts +88 -66
- package/api/api.d.ts +9 -11
- package/api/campaignController.service.d.ts +110 -110
- package/api/insightsController.service.d.ts +33 -32
- package/api/lookupDataController.service.d.ts +58 -0
- package/api.module.d.ts +11 -11
- package/configuration.d.ts +48 -48
- package/encoder.d.ts +10 -10
- package/esm2020/api/advertiserController.service.mjs +213 -169
- package/esm2020/api/api.mjs +10 -12
- package/esm2020/api/campaignController.service.mjs +296 -296
- package/esm2020/api/insightsController.service.mjs +108 -105
- package/esm2020/api/lookupDataController.service.mjs +135 -0
- package/esm2020/api.module.mjs +54 -57
- package/esm2020/configuration.mjs +58 -58
- package/esm2020/encoder.mjs +16 -16
- package/esm2020/index.mjs +5 -5
- package/esm2020/model/advertiserMmpConversionEventResponse.mjs +12 -12
- package/esm2020/model/advertiserResponse.mjs +12 -12
- package/esm2020/model/advertiserSearchResponse.mjs +12 -12
- package/esm2020/model/blockedEventResponse.mjs +13 -0
- package/esm2020/model/businessZoneResponse.mjs +13 -0
- package/esm2020/model/campaignChangeLogResponse.mjs +23 -23
- package/esm2020/model/campaignInsightRecord.mjs +19 -19
- package/esm2020/model/campaignInsightsResponse.mjs +1 -1
- package/esm2020/model/campaignRequest.mjs +32 -32
- package/esm2020/model/campaignResponse.mjs +21 -21
- package/esm2020/model/campaignSearchResponse.mjs +12 -12
- package/esm2020/model/countryResponse.mjs +13 -0
- package/esm2020/model/goalResponse.mjs +13 -0
- package/esm2020/model/models.mjs +23 -24
- package/esm2020/model/oSResponse.mjs +12 -12
- package/esm2020/model/pageAdvertiserResponse.mjs +2 -2
- package/esm2020/model/pageCampaignChangeLogResponse.mjs +2 -2
- package/esm2020/model/pageCampaignResponse.mjs +2 -2
- package/esm2020/model/pageableObject.mjs +1 -1
- package/esm2020/model/platformResponse.mjs +13 -0
- package/esm2020/model/scheduleUpdateRequest.mjs +18 -18
- package/esm2020/model/scheduledUpdates.mjs +12 -12
- package/esm2020/model/sortObject.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 +956 -1085
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +1068 -1147
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/model/advertiserMmpConversionEventResponse.d.ts +15 -15
- package/model/advertiserResponse.d.ts +30 -30
- package/model/advertiserSearchResponse.d.ts +16 -16
- package/model/{audienceListResponse.d.ts → blockedEventResponse.d.ts} +15 -15
- package/model/{audienceResponseDTO.d.ts → businessZoneResponse.d.ts} +17 -20
- package/model/campaignChangeLogResponse.d.ts +34 -34
- package/model/campaignInsightRecord.d.ts +56 -47
- package/model/campaignInsightsResponse.d.ts +16 -16
- package/model/campaignRequest.d.ts +52 -52
- package/model/campaignResponse.d.ts +66 -66
- package/model/campaignSearchResponse.d.ts +15 -15
- package/model/countryResponse.d.ts +18 -0
- package/model/goalResponse.d.ts +17 -0
- package/model/models.d.ts +22 -23
- package/model/oSResponse.d.ts +15 -15
- package/model/pageAdvertiserResponse.d.ts +27 -27
- package/model/pageCampaignChangeLogResponse.d.ts +27 -27
- package/model/pageCampaignResponse.d.ts +27 -27
- package/model/pageableObject.d.ts +20 -20
- package/model/{configItemDTO.d.ts → platformResponse.d.ts} +15 -15
- package/model/scheduleUpdateRequest.d.ts +22 -22
- package/model/scheduledUpdates.d.ts +15 -15
- package/model/sortObject.d.ts +18 -18
- package/package.json +1 -1
- package/variables.d.ts +8 -8
- package/api/audienceController.service.d.ts +0 -63
- package/api/osMasterController.service.d.ts +0 -28
- package/esm2020/api/audienceController.service.mjs +0 -174
- package/esm2020/api/osMasterController.service.mjs +0 -78
- package/esm2020/model/audienceListResponse.mjs +0 -2
- package/esm2020/model/audienceResponseDTO.mjs +0 -2
- package/esm2020/model/configItemDTO.mjs +0 -13
- package/esm2020/model/createBlockedAudienceRequest.mjs +0 -21
- package/esm2020/model/createDynamicAudienceRequest.mjs +0 -21
- package/esm2020/model/createStaticAudienceRequest.mjs +0 -21
- package/model/createBlockedAudienceRequest.d.ts +0 -24
- package/model/createDynamicAudienceRequest.d.ts +0 -26
- package/model/createStaticAudienceRequest.d.ts +0 -24
|
@@ -3,1202 +3,1123 @@ import { InjectionToken, Injectable, Optional, Inject, NgModule, SkipSelf } from
|
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
4
|
import { HttpUrlEncodingCodec, HttpHeaders, HttpParams } from '@angular/common/http';
|
|
5
5
|
|
|
6
|
-
/**
|
|
7
|
-
* CustomHttpUrlEncodingCodec
|
|
8
|
-
* Fix plus sign (+) not encoding, so sent as blank space
|
|
9
|
-
* See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
|
|
10
|
-
*/
|
|
11
|
-
class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
|
|
12
|
-
encodeKey(k) {
|
|
13
|
-
k = super.encodeKey(k);
|
|
14
|
-
return k.replace(/\+/gi, '%2B');
|
|
15
|
-
}
|
|
16
|
-
encodeValue(v) {
|
|
17
|
-
v = super.encodeValue(v);
|
|
18
|
-
return v.replace(/\+/gi, '%2B');
|
|
19
|
-
}
|
|
6
|
+
/**
|
|
7
|
+
* CustomHttpUrlEncodingCodec
|
|
8
|
+
* Fix plus sign (+) not encoding, so sent as blank space
|
|
9
|
+
* See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
|
|
10
|
+
*/
|
|
11
|
+
class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
|
|
12
|
+
encodeKey(k) {
|
|
13
|
+
k = super.encodeKey(k);
|
|
14
|
+
return k.replace(/\+/gi, '%2B');
|
|
15
|
+
}
|
|
16
|
+
encodeValue(v) {
|
|
17
|
+
v = super.encodeValue(v);
|
|
18
|
+
return v.replace(/\+/gi, '%2B');
|
|
19
|
+
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
const BASE_PATH = new InjectionToken('basePath');
|
|
23
|
-
const COLLECTION_FORMATS = {
|
|
24
|
-
'csv': ',',
|
|
25
|
-
'tsv': ' ',
|
|
26
|
-
'ssv': ' ',
|
|
27
|
-
'pipes': '|'
|
|
22
|
+
const BASE_PATH = new InjectionToken('basePath');
|
|
23
|
+
const COLLECTION_FORMATS = {
|
|
24
|
+
'csv': ',',
|
|
25
|
+
'tsv': ' ',
|
|
26
|
+
'ssv': ' ',
|
|
27
|
+
'pipes': '|'
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
class Configuration {
|
|
31
|
-
constructor(configurationParameters = {}) {
|
|
32
|
-
this.apiKeys = configurationParameters.apiKeys;
|
|
33
|
-
this.username = configurationParameters.username;
|
|
34
|
-
this.password = configurationParameters.password;
|
|
35
|
-
this.accessToken = configurationParameters.accessToken;
|
|
36
|
-
this.basePath = configurationParameters.basePath;
|
|
37
|
-
this.withCredentials = configurationParameters.withCredentials;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Select the correct content-type to use for a request.
|
|
41
|
-
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
42
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
43
|
-
* @param contentTypes - the array of content types that are available for selection
|
|
44
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
45
|
-
*/
|
|
46
|
-
selectHeaderContentType(contentTypes) {
|
|
47
|
-
if (contentTypes.length == 0) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
let type = contentTypes.find(x => this.isJsonMime(x));
|
|
51
|
-
if (type === undefined) {
|
|
52
|
-
return contentTypes[0];
|
|
53
|
-
}
|
|
54
|
-
return type;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Select the correct accept content-type to use for a request.
|
|
58
|
-
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
59
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
60
|
-
* @param accepts - the array of content types that are available for selection.
|
|
61
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
62
|
-
*/
|
|
63
|
-
selectHeaderAccept(accepts) {
|
|
64
|
-
if (accepts.length == 0) {
|
|
65
|
-
return undefined;
|
|
66
|
-
}
|
|
67
|
-
let type = accepts.find(x => this.isJsonMime(x));
|
|
68
|
-
if (type === undefined) {
|
|
69
|
-
return accepts[0];
|
|
70
|
-
}
|
|
71
|
-
return type;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Check if the given MIME is a JSON MIME.
|
|
75
|
-
* JSON MIME examples:
|
|
76
|
-
* application/json
|
|
77
|
-
* application/json; charset=UTF8
|
|
78
|
-
* APPLICATION/JSON
|
|
79
|
-
* application/vnd.company+json
|
|
80
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
81
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
82
|
-
*/
|
|
83
|
-
isJsonMime(mime) {
|
|
84
|
-
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
85
|
-
return mime != null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
86
|
-
}
|
|
30
|
+
class Configuration {
|
|
31
|
+
constructor(configurationParameters = {}) {
|
|
32
|
+
this.apiKeys = configurationParameters.apiKeys;
|
|
33
|
+
this.username = configurationParameters.username;
|
|
34
|
+
this.password = configurationParameters.password;
|
|
35
|
+
this.accessToken = configurationParameters.accessToken;
|
|
36
|
+
this.basePath = configurationParameters.basePath;
|
|
37
|
+
this.withCredentials = configurationParameters.withCredentials;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Select the correct content-type to use for a request.
|
|
41
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
42
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
43
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
44
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
45
|
+
*/
|
|
46
|
+
selectHeaderContentType(contentTypes) {
|
|
47
|
+
if (contentTypes.length == 0) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
let type = contentTypes.find(x => this.isJsonMime(x));
|
|
51
|
+
if (type === undefined) {
|
|
52
|
+
return contentTypes[0];
|
|
53
|
+
}
|
|
54
|
+
return type;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Select the correct accept content-type to use for a request.
|
|
58
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
59
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
60
|
+
* @param accepts - the array of content types that are available for selection.
|
|
61
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
62
|
+
*/
|
|
63
|
+
selectHeaderAccept(accepts) {
|
|
64
|
+
if (accepts.length == 0) {
|
|
65
|
+
return undefined;
|
|
66
|
+
}
|
|
67
|
+
let type = accepts.find(x => this.isJsonMime(x));
|
|
68
|
+
if (type === undefined) {
|
|
69
|
+
return accepts[0];
|
|
70
|
+
}
|
|
71
|
+
return type;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if the given MIME is a JSON MIME.
|
|
75
|
+
* JSON MIME examples:
|
|
76
|
+
* application/json
|
|
77
|
+
* application/json; charset=UTF8
|
|
78
|
+
* APPLICATION/JSON
|
|
79
|
+
* application/vnd.company+json
|
|
80
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
81
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
82
|
+
*/
|
|
83
|
+
isJsonMime(mime) {
|
|
84
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
85
|
+
return mime != null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
86
|
+
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
/**
|
|
90
|
-
* Intellibid API
|
|
91
|
-
* API documentation for the Intellibid platform
|
|
92
|
-
*
|
|
93
|
-
* OpenAPI spec version: 1.0
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
97
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
98
|
-
* Do not edit the class manually.
|
|
99
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
100
|
-
class AdvertiserControllerService {
|
|
101
|
-
constructor(httpClient, basePath, configuration) {
|
|
102
|
-
this.httpClient = httpClient;
|
|
103
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
104
|
-
this.defaultHeaders = new HttpHeaders();
|
|
105
|
-
this.configuration = new Configuration();
|
|
106
|
-
if (basePath) {
|
|
107
|
-
this.basePath = basePath;
|
|
108
|
-
}
|
|
109
|
-
if (configuration) {
|
|
110
|
-
this.configuration = configuration;
|
|
111
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* @param consumes string[] mime-types
|
|
116
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
117
|
-
*/
|
|
118
|
-
canConsumeForm(consumes) {
|
|
119
|
-
const form = 'multipart/form-data';
|
|
120
|
-
for (const consume of consumes) {
|
|
121
|
-
if (form === consume) {
|
|
122
|
-
return true;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
return false;
|
|
126
|
-
}
|
|
127
|
-
getAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
128
|
-
if (id === null || id === undefined) {
|
|
129
|
-
throw new Error('Required parameter id was null or undefined when calling getAdvertiser.');
|
|
130
|
-
}
|
|
131
|
-
let headers = this.defaultHeaders;
|
|
132
|
-
// to determine the Accept header
|
|
133
|
-
let httpHeaderAccepts = [
|
|
134
|
-
'*/*'
|
|
135
|
-
];
|
|
136
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
137
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
138
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
139
|
-
}
|
|
140
|
-
// to determine the Content-Type header
|
|
141
|
-
const consumes = [];
|
|
142
|
-
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}`, {
|
|
143
|
-
withCredentials: this.configuration.withCredentials,
|
|
144
|
-
headers: headers,
|
|
145
|
-
observe: observe,
|
|
146
|
-
reportProgress: reportProgress
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
getAllAdvertisers(name, isActive, page, size, sort, observe = 'body', reportProgress = false) {
|
|
150
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
151
|
-
if (name !== undefined && name !== null) {
|
|
152
|
-
queryParameters = queryParameters.set('name', name);
|
|
153
|
-
}
|
|
154
|
-
if (isActive !== undefined && isActive !== null) {
|
|
155
|
-
queryParameters = queryParameters.set('isActive', isActive);
|
|
156
|
-
}
|
|
157
|
-
if (page !== undefined && page !== null) {
|
|
158
|
-
queryParameters = queryParameters.set('page', page);
|
|
159
|
-
}
|
|
160
|
-
if (size !== undefined && size !== null) {
|
|
161
|
-
queryParameters = queryParameters.set('size', size);
|
|
162
|
-
}
|
|
163
|
-
if (sort) {
|
|
164
|
-
sort.forEach((element) => {
|
|
165
|
-
queryParameters = queryParameters.append('sort', element);
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
let headers = this.defaultHeaders;
|
|
169
|
-
// to determine the Accept header
|
|
170
|
-
let httpHeaderAccepts = [
|
|
171
|
-
'*/*'
|
|
172
|
-
];
|
|
173
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
174
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
175
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
176
|
-
}
|
|
177
|
-
// to determine the Content-Type header
|
|
178
|
-
const consumes = [];
|
|
179
|
-
return this.httpClient.request('get', `${this.basePath}/api/advertiser`, {
|
|
180
|
-
params: queryParameters,
|
|
181
|
-
withCredentials: this.configuration.withCredentials,
|
|
182
|
-
headers: headers,
|
|
183
|
-
observe: observe,
|
|
184
|
-
reportProgress: reportProgress
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
if (id === null || id === undefined) {
|
|
189
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
190
|
-
}
|
|
191
|
-
let headers = this.defaultHeaders;
|
|
192
|
-
// to determine the Accept header
|
|
193
|
-
let httpHeaderAccepts = [
|
|
194
|
-
'*/*'
|
|
195
|
-
];
|
|
196
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
197
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
198
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
199
|
-
}
|
|
200
|
-
// to determine the Content-Type header
|
|
201
|
-
const consumes = [];
|
|
202
|
-
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/
|
|
203
|
-
withCredentials: this.configuration.withCredentials,
|
|
204
|
-
headers: headers,
|
|
205
|
-
observe: observe,
|
|
206
|
-
reportProgress: reportProgress
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
if (
|
|
211
|
-
throw new Error('Required parameter
|
|
212
|
-
}
|
|
213
|
-
let
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
'
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
89
|
+
/**
|
|
90
|
+
* Intellibid API
|
|
91
|
+
* API documentation for the Intellibid platform
|
|
92
|
+
*
|
|
93
|
+
* OpenAPI spec version: 1.0
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
97
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
98
|
+
* Do not edit the class manually.
|
|
99
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
100
|
+
class AdvertiserControllerService {
|
|
101
|
+
constructor(httpClient, basePath, configuration) {
|
|
102
|
+
this.httpClient = httpClient;
|
|
103
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
104
|
+
this.defaultHeaders = new HttpHeaders();
|
|
105
|
+
this.configuration = new Configuration();
|
|
106
|
+
if (basePath) {
|
|
107
|
+
this.basePath = basePath;
|
|
108
|
+
}
|
|
109
|
+
if (configuration) {
|
|
110
|
+
this.configuration = configuration;
|
|
111
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* @param consumes string[] mime-types
|
|
116
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
117
|
+
*/
|
|
118
|
+
canConsumeForm(consumes) {
|
|
119
|
+
const form = 'multipart/form-data';
|
|
120
|
+
for (const consume of consumes) {
|
|
121
|
+
if (form === consume) {
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return false;
|
|
126
|
+
}
|
|
127
|
+
getAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
128
|
+
if (id === null || id === undefined) {
|
|
129
|
+
throw new Error('Required parameter id was null or undefined when calling getAdvertiser.');
|
|
130
|
+
}
|
|
131
|
+
let headers = this.defaultHeaders;
|
|
132
|
+
// to determine the Accept header
|
|
133
|
+
let httpHeaderAccepts = [
|
|
134
|
+
'*/*'
|
|
135
|
+
];
|
|
136
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
137
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
138
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
139
|
+
}
|
|
140
|
+
// to determine the Content-Type header
|
|
141
|
+
const consumes = [];
|
|
142
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}`, {
|
|
143
|
+
withCredentials: this.configuration.withCredentials,
|
|
144
|
+
headers: headers,
|
|
145
|
+
observe: observe,
|
|
146
|
+
reportProgress: reportProgress
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
getAllAdvertisers(name, isActive, page, size, sort, observe = 'body', reportProgress = false) {
|
|
150
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
151
|
+
if (name !== undefined && name !== null) {
|
|
152
|
+
queryParameters = queryParameters.set('name', name);
|
|
153
|
+
}
|
|
154
|
+
if (isActive !== undefined && isActive !== null) {
|
|
155
|
+
queryParameters = queryParameters.set('isActive', isActive);
|
|
156
|
+
}
|
|
157
|
+
if (page !== undefined && page !== null) {
|
|
158
|
+
queryParameters = queryParameters.set('page', page);
|
|
159
|
+
}
|
|
160
|
+
if (size !== undefined && size !== null) {
|
|
161
|
+
queryParameters = queryParameters.set('size', size);
|
|
162
|
+
}
|
|
163
|
+
if (sort) {
|
|
164
|
+
sort.forEach((element) => {
|
|
165
|
+
queryParameters = queryParameters.append('sort', element);
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
let headers = this.defaultHeaders;
|
|
169
|
+
// to determine the Accept header
|
|
170
|
+
let httpHeaderAccepts = [
|
|
171
|
+
'*/*'
|
|
172
|
+
];
|
|
173
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
174
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
175
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
176
|
+
}
|
|
177
|
+
// to determine the Content-Type header
|
|
178
|
+
const consumes = [];
|
|
179
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser`, {
|
|
180
|
+
params: queryParameters,
|
|
181
|
+
withCredentials: this.configuration.withCredentials,
|
|
182
|
+
headers: headers,
|
|
183
|
+
observe: observe,
|
|
184
|
+
reportProgress: reportProgress
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
getBlockedEventsByAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
188
|
+
if (id === null || id === undefined) {
|
|
189
|
+
throw new Error('Required parameter id was null or undefined when calling getBlockedEventsByAdvertiser.');
|
|
190
|
+
}
|
|
191
|
+
let headers = this.defaultHeaders;
|
|
192
|
+
// to determine the Accept header
|
|
193
|
+
let httpHeaderAccepts = [
|
|
194
|
+
'*/*'
|
|
195
|
+
];
|
|
196
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
197
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
198
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
199
|
+
}
|
|
200
|
+
// to determine the Content-Type header
|
|
201
|
+
const consumes = [];
|
|
202
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/blocked-events`, {
|
|
203
|
+
withCredentials: this.configuration.withCredentials,
|
|
204
|
+
headers: headers,
|
|
205
|
+
observe: observe,
|
|
206
|
+
reportProgress: reportProgress
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
getGoalsByAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
210
|
+
if (id === null || id === undefined) {
|
|
211
|
+
throw new Error('Required parameter id was null or undefined when calling getGoalsByAdvertiser.');
|
|
212
|
+
}
|
|
213
|
+
let headers = this.defaultHeaders;
|
|
214
|
+
// to determine the Accept header
|
|
215
|
+
let httpHeaderAccepts = [
|
|
216
|
+
'*/*'
|
|
217
|
+
];
|
|
218
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
219
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
220
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
221
|
+
}
|
|
222
|
+
// to determine the Content-Type header
|
|
223
|
+
const consumes = [];
|
|
224
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/goals`, {
|
|
225
|
+
withCredentials: this.configuration.withCredentials,
|
|
226
|
+
headers: headers,
|
|
227
|
+
observe: observe,
|
|
228
|
+
reportProgress: reportProgress
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
getMMPConversionEventsByAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
232
|
+
if (id === null || id === undefined) {
|
|
233
|
+
throw new Error('Required parameter id was null or undefined when calling getMMPConversionEventsByAdvertiser.');
|
|
234
|
+
}
|
|
235
|
+
let headers = this.defaultHeaders;
|
|
236
|
+
// to determine the Accept header
|
|
237
|
+
let httpHeaderAccepts = [
|
|
238
|
+
'*/*'
|
|
239
|
+
];
|
|
240
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
241
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
242
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
243
|
+
}
|
|
244
|
+
// to determine the Content-Type header
|
|
245
|
+
const consumes = [];
|
|
246
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/mmp-conversion-events`, {
|
|
247
|
+
withCredentials: this.configuration.withCredentials,
|
|
248
|
+
headers: headers,
|
|
249
|
+
observe: observe,
|
|
250
|
+
reportProgress: reportProgress
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
searchAdvertisers(q, observe = 'body', reportProgress = false) {
|
|
254
|
+
if (q === null || q === undefined) {
|
|
255
|
+
throw new Error('Required parameter q was null or undefined when calling searchAdvertisers.');
|
|
256
|
+
}
|
|
257
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
258
|
+
if (q !== undefined && q !== null) {
|
|
259
|
+
queryParameters = queryParameters.set('q', q);
|
|
260
|
+
}
|
|
261
|
+
let headers = this.defaultHeaders;
|
|
262
|
+
// to determine the Accept header
|
|
263
|
+
let httpHeaderAccepts = [
|
|
264
|
+
'*/*'
|
|
265
|
+
];
|
|
266
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
267
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
268
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
269
|
+
}
|
|
270
|
+
// to determine the Content-Type header
|
|
271
|
+
const consumes = [];
|
|
272
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/search`, {
|
|
273
|
+
params: queryParameters,
|
|
274
|
+
withCredentials: this.configuration.withCredentials,
|
|
275
|
+
headers: headers,
|
|
276
|
+
observe: observe,
|
|
277
|
+
reportProgress: reportProgress
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
AdvertiserControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
282
|
+
AdvertiserControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService });
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService, decorators: [{
|
|
284
|
+
type: Injectable
|
|
285
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
286
|
+
type: Optional
|
|
287
|
+
}, {
|
|
288
|
+
type: Inject,
|
|
289
|
+
args: [BASE_PATH]
|
|
290
|
+
}] }, { type: Configuration, decorators: [{
|
|
291
|
+
type: Optional
|
|
248
292
|
}] }]; } });
|
|
249
293
|
|
|
250
|
-
/**
|
|
251
|
-
* Intellibid API
|
|
252
|
-
* API documentation for the Intellibid platform
|
|
253
|
-
*
|
|
254
|
-
* OpenAPI spec version: 1.0
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
258
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
259
|
-
* Do not edit the class manually.
|
|
260
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
261
|
-
class
|
|
262
|
-
constructor(httpClient, basePath, configuration) {
|
|
263
|
-
this.httpClient = httpClient;
|
|
264
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
265
|
-
this.defaultHeaders = new HttpHeaders();
|
|
266
|
-
this.configuration = new Configuration();
|
|
267
|
-
if (basePath) {
|
|
268
|
-
this.basePath = basePath;
|
|
269
|
-
}
|
|
270
|
-
if (configuration) {
|
|
271
|
-
this.configuration = configuration;
|
|
272
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* @param consumes string[] mime-types
|
|
277
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
278
|
-
*/
|
|
279
|
-
canConsumeForm(consumes) {
|
|
280
|
-
const form = 'multipart/form-data';
|
|
281
|
-
for (const consume of consumes) {
|
|
282
|
-
if (form === consume) {
|
|
283
|
-
return true;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
return false;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
if (body === null || body === undefined) {
|
|
290
|
-
throw new Error('Required parameter body was null or undefined when calling
|
|
291
|
-
}
|
|
292
|
-
let headers = this.defaultHeaders;
|
|
293
|
-
// to determine the Accept header
|
|
294
|
-
let httpHeaderAccepts = [
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
if (
|
|
332
|
-
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
if (
|
|
344
|
-
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
];
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
headers
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
294
|
+
/**
|
|
295
|
+
* Intellibid API
|
|
296
|
+
* API documentation for the Intellibid platform
|
|
297
|
+
*
|
|
298
|
+
* OpenAPI spec version: 1.0
|
|
299
|
+
*
|
|
300
|
+
*
|
|
301
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
302
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
303
|
+
* Do not edit the class manually.
|
|
304
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
305
|
+
class CampaignControllerService {
|
|
306
|
+
constructor(httpClient, basePath, configuration) {
|
|
307
|
+
this.httpClient = httpClient;
|
|
308
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
309
|
+
this.defaultHeaders = new HttpHeaders();
|
|
310
|
+
this.configuration = new Configuration();
|
|
311
|
+
if (basePath) {
|
|
312
|
+
this.basePath = basePath;
|
|
313
|
+
}
|
|
314
|
+
if (configuration) {
|
|
315
|
+
this.configuration = configuration;
|
|
316
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* @param consumes string[] mime-types
|
|
321
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
322
|
+
*/
|
|
323
|
+
canConsumeForm(consumes) {
|
|
324
|
+
const form = 'multipart/form-data';
|
|
325
|
+
for (const consume of consumes) {
|
|
326
|
+
if (form === consume) {
|
|
327
|
+
return true;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
return false;
|
|
331
|
+
}
|
|
332
|
+
createCampaign(body, observe = 'body', reportProgress = false) {
|
|
333
|
+
if (body === null || body === undefined) {
|
|
334
|
+
throw new Error('Required parameter body was null or undefined when calling createCampaign.');
|
|
335
|
+
}
|
|
336
|
+
let headers = this.defaultHeaders;
|
|
337
|
+
// to determine the Accept header
|
|
338
|
+
let httpHeaderAccepts = [
|
|
339
|
+
'*/*'
|
|
340
|
+
];
|
|
341
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
342
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
343
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
344
|
+
}
|
|
345
|
+
// to determine the Content-Type header
|
|
346
|
+
const consumes = [
|
|
347
|
+
'application/json'
|
|
348
|
+
];
|
|
349
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
350
|
+
if (httpContentTypeSelected != undefined) {
|
|
351
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
352
|
+
}
|
|
353
|
+
return this.httpClient.request('post', `${this.basePath}/api/campaign`, {
|
|
354
|
+
body: body,
|
|
355
|
+
withCredentials: this.configuration.withCredentials,
|
|
356
|
+
headers: headers,
|
|
357
|
+
observe: observe,
|
|
358
|
+
reportProgress: reportProgress
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
getAllCampaigns(id, advertiserId, name, platformCampaignId, payoutType, marketFeedbackEnabled, activeOnPlatform, sourcePlatform, page, size, sort, observe = 'body', reportProgress = false) {
|
|
362
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
363
|
+
if (id !== undefined && id !== null) {
|
|
364
|
+
queryParameters = queryParameters.set('id', id);
|
|
365
|
+
}
|
|
366
|
+
if (advertiserId !== undefined && advertiserId !== null) {
|
|
367
|
+
queryParameters = queryParameters.set('advertiserId', advertiserId);
|
|
368
|
+
}
|
|
369
|
+
if (name !== undefined && name !== null) {
|
|
370
|
+
queryParameters = queryParameters.set('name', name);
|
|
371
|
+
}
|
|
372
|
+
if (platformCampaignId !== undefined && platformCampaignId !== null) {
|
|
373
|
+
queryParameters = queryParameters.set('platformCampaignId', platformCampaignId);
|
|
374
|
+
}
|
|
375
|
+
if (payoutType !== undefined && payoutType !== null) {
|
|
376
|
+
queryParameters = queryParameters.set('payoutType', payoutType);
|
|
377
|
+
}
|
|
378
|
+
if (marketFeedbackEnabled !== undefined && marketFeedbackEnabled !== null) {
|
|
379
|
+
queryParameters = queryParameters.set('marketFeedbackEnabled', marketFeedbackEnabled);
|
|
380
|
+
}
|
|
381
|
+
if (activeOnPlatform !== undefined && activeOnPlatform !== null) {
|
|
382
|
+
queryParameters = queryParameters.set('activeOnPlatform', activeOnPlatform);
|
|
383
|
+
}
|
|
384
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
385
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
386
|
+
}
|
|
387
|
+
if (page !== undefined && page !== null) {
|
|
388
|
+
queryParameters = queryParameters.set('page', page);
|
|
389
|
+
}
|
|
390
|
+
if (size !== undefined && size !== null) {
|
|
391
|
+
queryParameters = queryParameters.set('size', size);
|
|
392
|
+
}
|
|
393
|
+
if (sort) {
|
|
394
|
+
sort.forEach((element) => {
|
|
395
|
+
queryParameters = queryParameters.append('sort', element);
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
let headers = this.defaultHeaders;
|
|
399
|
+
// to determine the Accept header
|
|
400
|
+
let httpHeaderAccepts = [
|
|
401
|
+
'*/*'
|
|
402
|
+
];
|
|
403
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
404
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
405
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
406
|
+
}
|
|
407
|
+
// to determine the Content-Type header
|
|
408
|
+
const consumes = [];
|
|
409
|
+
return this.httpClient.request('get', `${this.basePath}/api/campaign`, {
|
|
410
|
+
params: queryParameters,
|
|
411
|
+
withCredentials: this.configuration.withCredentials,
|
|
412
|
+
headers: headers,
|
|
413
|
+
observe: observe,
|
|
414
|
+
reportProgress: reportProgress
|
|
415
|
+
});
|
|
416
|
+
}
|
|
417
|
+
getCampaign(id, observe = 'body', reportProgress = false) {
|
|
418
|
+
if (id === null || id === undefined) {
|
|
419
|
+
throw new Error('Required parameter id was null or undefined when calling getCampaign.');
|
|
420
|
+
}
|
|
421
|
+
let headers = this.defaultHeaders;
|
|
422
|
+
// to determine the Accept header
|
|
423
|
+
let httpHeaderAccepts = [
|
|
424
|
+
'*/*'
|
|
425
|
+
];
|
|
426
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
427
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
428
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
429
|
+
}
|
|
430
|
+
// to determine the Content-Type header
|
|
431
|
+
const consumes = [];
|
|
432
|
+
return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}`, {
|
|
433
|
+
withCredentials: this.configuration.withCredentials,
|
|
434
|
+
headers: headers,
|
|
435
|
+
observe: observe,
|
|
436
|
+
reportProgress: reportProgress
|
|
437
|
+
});
|
|
438
|
+
}
|
|
439
|
+
getCampaignLogs(id, page, size, sort, observe = 'body', reportProgress = false) {
|
|
440
|
+
if (id === null || id === undefined) {
|
|
441
|
+
throw new Error('Required parameter id was null or undefined when calling getCampaignLogs.');
|
|
442
|
+
}
|
|
443
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
444
|
+
if (page !== undefined && page !== null) {
|
|
445
|
+
queryParameters = queryParameters.set('page', page);
|
|
446
|
+
}
|
|
447
|
+
if (size !== undefined && size !== null) {
|
|
448
|
+
queryParameters = queryParameters.set('size', size);
|
|
449
|
+
}
|
|
450
|
+
if (sort) {
|
|
451
|
+
sort.forEach((element) => {
|
|
452
|
+
queryParameters = queryParameters.append('sort', element);
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
let headers = this.defaultHeaders;
|
|
456
|
+
// to determine the Accept header
|
|
457
|
+
let httpHeaderAccepts = [
|
|
458
|
+
'*/*'
|
|
459
|
+
];
|
|
460
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
461
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
462
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
463
|
+
}
|
|
464
|
+
// to determine the Content-Type header
|
|
465
|
+
const consumes = [];
|
|
466
|
+
return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/log`, {
|
|
467
|
+
params: queryParameters,
|
|
468
|
+
withCredentials: this.configuration.withCredentials,
|
|
469
|
+
headers: headers,
|
|
470
|
+
observe: observe,
|
|
471
|
+
reportProgress: reportProgress
|
|
472
|
+
});
|
|
473
|
+
}
|
|
474
|
+
scheduleUpdate(body, id, observe = 'body', reportProgress = false) {
|
|
475
|
+
if (body === null || body === undefined) {
|
|
476
|
+
throw new Error('Required parameter body was null or undefined when calling scheduleUpdate.');
|
|
477
|
+
}
|
|
478
|
+
if (id === null || id === undefined) {
|
|
479
|
+
throw new Error('Required parameter id was null or undefined when calling scheduleUpdate.');
|
|
480
|
+
}
|
|
481
|
+
let headers = this.defaultHeaders;
|
|
482
|
+
// to determine the Accept header
|
|
483
|
+
let httpHeaderAccepts = [
|
|
484
|
+
'*/*'
|
|
485
|
+
];
|
|
486
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
487
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
488
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
489
|
+
}
|
|
490
|
+
// to determine the Content-Type header
|
|
491
|
+
const consumes = [
|
|
492
|
+
'application/json'
|
|
493
|
+
];
|
|
494
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
495
|
+
if (httpContentTypeSelected != undefined) {
|
|
496
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
497
|
+
}
|
|
498
|
+
return this.httpClient.request('post', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/schedule-update`, {
|
|
499
|
+
body: body,
|
|
500
|
+
withCredentials: this.configuration.withCredentials,
|
|
501
|
+
headers: headers,
|
|
502
|
+
observe: observe,
|
|
503
|
+
reportProgress: reportProgress
|
|
504
|
+
});
|
|
505
|
+
}
|
|
506
|
+
searchCampaign(q, sourcePlatform, observe = 'body', reportProgress = false) {
|
|
507
|
+
if (q === null || q === undefined) {
|
|
508
|
+
throw new Error('Required parameter q was null or undefined when calling searchCampaign.');
|
|
509
|
+
}
|
|
510
|
+
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
511
|
+
throw new Error('Required parameter sourcePlatform was null or undefined when calling searchCampaign.');
|
|
512
|
+
}
|
|
513
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
514
|
+
if (q !== undefined && q !== null) {
|
|
515
|
+
queryParameters = queryParameters.set('q', q);
|
|
516
|
+
}
|
|
517
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
518
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
519
|
+
}
|
|
520
|
+
let headers = this.defaultHeaders;
|
|
521
|
+
// to determine the Accept header
|
|
522
|
+
let httpHeaderAccepts = [
|
|
523
|
+
'*/*'
|
|
524
|
+
];
|
|
525
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
526
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
527
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
528
|
+
}
|
|
529
|
+
// to determine the Content-Type header
|
|
530
|
+
const consumes = [];
|
|
531
|
+
return this.httpClient.request('get', `${this.basePath}/api/campaign/search`, {
|
|
532
|
+
params: queryParameters,
|
|
533
|
+
withCredentials: this.configuration.withCredentials,
|
|
534
|
+
headers: headers,
|
|
535
|
+
observe: observe,
|
|
536
|
+
reportProgress: reportProgress
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
setStatus(id, active, observe = 'body', reportProgress = false) {
|
|
540
|
+
if (id === null || id === undefined) {
|
|
541
|
+
throw new Error('Required parameter id was null or undefined when calling setStatus.');
|
|
542
|
+
}
|
|
543
|
+
if (active === null || active === undefined) {
|
|
544
|
+
throw new Error('Required parameter active was null or undefined when calling setStatus.');
|
|
545
|
+
}
|
|
546
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
547
|
+
if (active !== undefined && active !== null) {
|
|
548
|
+
queryParameters = queryParameters.set('active', active);
|
|
549
|
+
}
|
|
550
|
+
let headers = this.defaultHeaders;
|
|
551
|
+
// to determine the Accept header
|
|
552
|
+
let httpHeaderAccepts = [
|
|
553
|
+
'*/*'
|
|
554
|
+
];
|
|
555
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
556
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
557
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
558
|
+
}
|
|
559
|
+
// to determine the Content-Type header
|
|
560
|
+
const consumes = [];
|
|
561
|
+
return this.httpClient.request('post', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/status`, {
|
|
562
|
+
params: queryParameters,
|
|
563
|
+
withCredentials: this.configuration.withCredentials,
|
|
564
|
+
headers: headers,
|
|
565
|
+
observe: observe,
|
|
566
|
+
reportProgress: reportProgress
|
|
567
|
+
});
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
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 });
|
|
571
|
+
CampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService });
|
|
572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, decorators: [{
|
|
573
|
+
type: Injectable
|
|
574
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
575
|
+
type: Optional
|
|
576
|
+
}, {
|
|
577
|
+
type: Inject,
|
|
578
|
+
args: [BASE_PATH]
|
|
579
|
+
}] }, { type: Configuration, decorators: [{
|
|
580
|
+
type: Optional
|
|
414
581
|
}] }]; } });
|
|
415
582
|
|
|
416
|
-
/**
|
|
417
|
-
* Intellibid API
|
|
418
|
-
* API documentation for the Intellibid platform
|
|
419
|
-
*
|
|
420
|
-
* OpenAPI spec version: 1.0
|
|
421
|
-
*
|
|
422
|
-
*
|
|
423
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
424
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
425
|
-
* Do not edit the class manually.
|
|
426
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
427
|
-
class
|
|
428
|
-
constructor(httpClient, basePath, configuration) {
|
|
429
|
-
this.httpClient = httpClient;
|
|
430
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
431
|
-
this.defaultHeaders = new HttpHeaders();
|
|
432
|
-
this.configuration = new Configuration();
|
|
433
|
-
if (basePath) {
|
|
434
|
-
this.basePath = basePath;
|
|
435
|
-
}
|
|
436
|
-
if (configuration) {
|
|
437
|
-
this.configuration = configuration;
|
|
438
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
/**
|
|
442
|
-
* @param consumes string[] mime-types
|
|
443
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
444
|
-
*/
|
|
445
|
-
canConsumeForm(consumes) {
|
|
446
|
-
const form = 'multipart/form-data';
|
|
447
|
-
for (const consume of consumes) {
|
|
448
|
-
if (form === consume) {
|
|
449
|
-
return true;
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
return false;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
if (
|
|
456
|
-
throw new Error('Required parameter
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
if (
|
|
465
|
-
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
'
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
}
|
|
515
|
-
if (sort) {
|
|
516
|
-
sort.forEach((element) => {
|
|
517
|
-
queryParameters = queryParameters.append('sort', element);
|
|
518
|
-
});
|
|
519
|
-
}
|
|
520
|
-
let headers = this.defaultHeaders;
|
|
521
|
-
// to determine the Accept header
|
|
522
|
-
let httpHeaderAccepts = [
|
|
523
|
-
'*/*'
|
|
524
|
-
];
|
|
525
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
526
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
527
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
528
|
-
}
|
|
529
|
-
// to determine the Content-Type header
|
|
530
|
-
const consumes = [];
|
|
531
|
-
return this.httpClient.request('get', `${this.basePath}/api/campaign`, {
|
|
532
|
-
params: queryParameters,
|
|
533
|
-
withCredentials: this.configuration.withCredentials,
|
|
534
|
-
headers: headers,
|
|
535
|
-
observe: observe,
|
|
536
|
-
reportProgress: reportProgress
|
|
537
|
-
});
|
|
538
|
-
}
|
|
539
|
-
getCampaign(id, observe = 'body', reportProgress = false) {
|
|
540
|
-
if (id === null || id === undefined) {
|
|
541
|
-
throw new Error('Required parameter id was null or undefined when calling getCampaign.');
|
|
542
|
-
}
|
|
543
|
-
let headers = this.defaultHeaders;
|
|
544
|
-
// to determine the Accept header
|
|
545
|
-
let httpHeaderAccepts = [
|
|
546
|
-
'*/*'
|
|
547
|
-
];
|
|
548
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
549
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
550
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
551
|
-
}
|
|
552
|
-
// to determine the Content-Type header
|
|
553
|
-
const consumes = [];
|
|
554
|
-
return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}`, {
|
|
555
|
-
withCredentials: this.configuration.withCredentials,
|
|
556
|
-
headers: headers,
|
|
557
|
-
observe: observe,
|
|
558
|
-
reportProgress: reportProgress
|
|
559
|
-
});
|
|
560
|
-
}
|
|
561
|
-
getCampaignLogs(id, page, size, sort, observe = 'body', reportProgress = false) {
|
|
562
|
-
if (id === null || id === undefined) {
|
|
563
|
-
throw new Error('Required parameter id was null or undefined when calling getCampaignLogs.');
|
|
564
|
-
}
|
|
565
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
566
|
-
if (page !== undefined && page !== null) {
|
|
567
|
-
queryParameters = queryParameters.set('page', page);
|
|
568
|
-
}
|
|
569
|
-
if (size !== undefined && size !== null) {
|
|
570
|
-
queryParameters = queryParameters.set('size', size);
|
|
571
|
-
}
|
|
572
|
-
if (sort) {
|
|
573
|
-
sort.forEach((element) => {
|
|
574
|
-
queryParameters = queryParameters.append('sort', element);
|
|
575
|
-
});
|
|
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
|
-
return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/log`, {
|
|
589
|
-
params: queryParameters,
|
|
590
|
-
withCredentials: this.configuration.withCredentials,
|
|
591
|
-
headers: headers,
|
|
592
|
-
observe: observe,
|
|
593
|
-
reportProgress: reportProgress
|
|
594
|
-
});
|
|
595
|
-
}
|
|
596
|
-
scheduleUpdate(body, id, observe = 'body', reportProgress = false) {
|
|
597
|
-
if (body === null || body === undefined) {
|
|
598
|
-
throw new Error('Required parameter body was null or undefined when calling scheduleUpdate.');
|
|
599
|
-
}
|
|
600
|
-
if (id === null || id === undefined) {
|
|
601
|
-
throw new Error('Required parameter id was null or undefined when calling scheduleUpdate.');
|
|
602
|
-
}
|
|
603
|
-
let headers = this.defaultHeaders;
|
|
604
|
-
// to determine the Accept header
|
|
605
|
-
let httpHeaderAccepts = [
|
|
606
|
-
'*/*'
|
|
607
|
-
];
|
|
608
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
609
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
610
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
611
|
-
}
|
|
612
|
-
// to determine the Content-Type header
|
|
613
|
-
const consumes = [
|
|
614
|
-
'application/json'
|
|
615
|
-
];
|
|
616
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
617
|
-
if (httpContentTypeSelected != undefined) {
|
|
618
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
619
|
-
}
|
|
620
|
-
return this.httpClient.request('post', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/schedule-update`, {
|
|
621
|
-
body: body,
|
|
622
|
-
withCredentials: this.configuration.withCredentials,
|
|
623
|
-
headers: headers,
|
|
624
|
-
observe: observe,
|
|
625
|
-
reportProgress: reportProgress
|
|
626
|
-
});
|
|
627
|
-
}
|
|
628
|
-
searchCampaign(q, sourcePlatform, observe = 'body', reportProgress = false) {
|
|
629
|
-
if (q === null || q === undefined) {
|
|
630
|
-
throw new Error('Required parameter q was null or undefined when calling searchCampaign.');
|
|
631
|
-
}
|
|
632
|
-
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
633
|
-
throw new Error('Required parameter sourcePlatform was null or undefined when calling searchCampaign.');
|
|
634
|
-
}
|
|
635
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
636
|
-
if (q !== undefined && q !== null) {
|
|
637
|
-
queryParameters = queryParameters.set('q', q);
|
|
638
|
-
}
|
|
639
|
-
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
640
|
-
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
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}/api/campaign/search`, {
|
|
654
|
-
params: queryParameters,
|
|
655
|
-
withCredentials: this.configuration.withCredentials,
|
|
656
|
-
headers: headers,
|
|
657
|
-
observe: observe,
|
|
658
|
-
reportProgress: reportProgress
|
|
659
|
-
});
|
|
660
|
-
}
|
|
661
|
-
setStatus(id, active, observe = 'body', reportProgress = false) {
|
|
662
|
-
if (id === null || id === undefined) {
|
|
663
|
-
throw new Error('Required parameter id was null or undefined when calling setStatus.');
|
|
664
|
-
}
|
|
665
|
-
if (active === null || active === undefined) {
|
|
666
|
-
throw new Error('Required parameter active was null or undefined when calling setStatus.');
|
|
667
|
-
}
|
|
668
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
669
|
-
if (active !== undefined && active !== null) {
|
|
670
|
-
queryParameters = queryParameters.set('active', active);
|
|
671
|
-
}
|
|
672
|
-
let headers = this.defaultHeaders;
|
|
673
|
-
// to determine the Accept header
|
|
674
|
-
let httpHeaderAccepts = [
|
|
675
|
-
'*/*'
|
|
676
|
-
];
|
|
677
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
678
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
679
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
680
|
-
}
|
|
681
|
-
// to determine the Content-Type header
|
|
682
|
-
const consumes = [];
|
|
683
|
-
return this.httpClient.request('post', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/status`, {
|
|
684
|
-
params: queryParameters,
|
|
685
|
-
withCredentials: this.configuration.withCredentials,
|
|
686
|
-
headers: headers,
|
|
687
|
-
observe: observe,
|
|
688
|
-
reportProgress: reportProgress
|
|
689
|
-
});
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
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 });
|
|
693
|
-
CampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService });
|
|
694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, decorators: [{
|
|
695
|
-
type: Injectable
|
|
696
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
697
|
-
type: Optional
|
|
698
|
-
}, {
|
|
699
|
-
type: Inject,
|
|
700
|
-
args: [BASE_PATH]
|
|
701
|
-
}] }, { type: Configuration, decorators: [{
|
|
702
|
-
type: Optional
|
|
583
|
+
/**
|
|
584
|
+
* Intellibid API
|
|
585
|
+
* API documentation for the Intellibid platform
|
|
586
|
+
*
|
|
587
|
+
* OpenAPI spec version: 1.0
|
|
588
|
+
*
|
|
589
|
+
*
|
|
590
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
591
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
592
|
+
* Do not edit the class manually.
|
|
593
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
594
|
+
class InsightsControllerService {
|
|
595
|
+
constructor(httpClient, basePath, configuration) {
|
|
596
|
+
this.httpClient = httpClient;
|
|
597
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
598
|
+
this.defaultHeaders = new HttpHeaders();
|
|
599
|
+
this.configuration = new Configuration();
|
|
600
|
+
if (basePath) {
|
|
601
|
+
this.basePath = basePath;
|
|
602
|
+
}
|
|
603
|
+
if (configuration) {
|
|
604
|
+
this.configuration = configuration;
|
|
605
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* @param consumes string[] mime-types
|
|
610
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
611
|
+
*/
|
|
612
|
+
canConsumeForm(consumes) {
|
|
613
|
+
const form = 'multipart/form-data';
|
|
614
|
+
for (const consume of consumes) {
|
|
615
|
+
if (form === consume) {
|
|
616
|
+
return true;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
return false;
|
|
620
|
+
}
|
|
621
|
+
getCampaignInsights(startDate, endDate, sourcePlatform, interval, requireMmpReport, observe = 'body', reportProgress = false) {
|
|
622
|
+
if (startDate === null || startDate === undefined) {
|
|
623
|
+
throw new Error('Required parameter startDate was null or undefined when calling getCampaignInsights.');
|
|
624
|
+
}
|
|
625
|
+
if (endDate === null || endDate === undefined) {
|
|
626
|
+
throw new Error('Required parameter endDate was null or undefined when calling getCampaignInsights.');
|
|
627
|
+
}
|
|
628
|
+
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
629
|
+
throw new Error('Required parameter sourcePlatform was null or undefined when calling getCampaignInsights.');
|
|
630
|
+
}
|
|
631
|
+
if (interval === null || interval === undefined) {
|
|
632
|
+
throw new Error('Required parameter interval was null or undefined when calling getCampaignInsights.');
|
|
633
|
+
}
|
|
634
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
635
|
+
if (startDate !== undefined && startDate !== null) {
|
|
636
|
+
queryParameters = queryParameters.set('startDate', startDate);
|
|
637
|
+
}
|
|
638
|
+
if (endDate !== undefined && endDate !== null) {
|
|
639
|
+
queryParameters = queryParameters.set('endDate', endDate);
|
|
640
|
+
}
|
|
641
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
642
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
643
|
+
}
|
|
644
|
+
if (interval !== undefined && interval !== null) {
|
|
645
|
+
queryParameters = queryParameters.set('interval', interval);
|
|
646
|
+
}
|
|
647
|
+
if (requireMmpReport !== undefined && requireMmpReport !== null) {
|
|
648
|
+
queryParameters = queryParameters.set('requireMmpReport', requireMmpReport);
|
|
649
|
+
}
|
|
650
|
+
let headers = this.defaultHeaders;
|
|
651
|
+
// to determine the Accept header
|
|
652
|
+
let httpHeaderAccepts = [
|
|
653
|
+
'*/*'
|
|
654
|
+
];
|
|
655
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
656
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
657
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
658
|
+
}
|
|
659
|
+
// to determine the Content-Type header
|
|
660
|
+
const consumes = [];
|
|
661
|
+
return this.httpClient.request('get', `${this.basePath}/api/campaign-insights`, {
|
|
662
|
+
params: queryParameters,
|
|
663
|
+
withCredentials: this.configuration.withCredentials,
|
|
664
|
+
headers: headers,
|
|
665
|
+
observe: observe,
|
|
666
|
+
reportProgress: reportProgress
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
InsightsControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
671
|
+
InsightsControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService });
|
|
672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService, decorators: [{
|
|
673
|
+
type: Injectable
|
|
674
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
675
|
+
type: Optional
|
|
676
|
+
}, {
|
|
677
|
+
type: Inject,
|
|
678
|
+
args: [BASE_PATH]
|
|
679
|
+
}] }, { type: Configuration, decorators: [{
|
|
680
|
+
type: Optional
|
|
703
681
|
}] }]; } });
|
|
704
682
|
|
|
705
|
-
/**
|
|
706
|
-
* Intellibid API
|
|
707
|
-
* API documentation for the Intellibid platform
|
|
708
|
-
*
|
|
709
|
-
* OpenAPI spec version: 1.0
|
|
710
|
-
*
|
|
711
|
-
*
|
|
712
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
713
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
714
|
-
* Do not edit the class manually.
|
|
715
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
716
|
-
class
|
|
717
|
-
constructor(httpClient, basePath, configuration) {
|
|
718
|
-
this.httpClient = httpClient;
|
|
719
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
720
|
-
this.defaultHeaders = new HttpHeaders();
|
|
721
|
-
this.configuration = new Configuration();
|
|
722
|
-
if (basePath) {
|
|
723
|
-
this.basePath = basePath;
|
|
724
|
-
}
|
|
725
|
-
if (configuration) {
|
|
726
|
-
this.configuration = configuration;
|
|
727
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
/**
|
|
731
|
-
* @param consumes string[] mime-types
|
|
732
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
733
|
-
*/
|
|
734
|
-
canConsumeForm(consumes) {
|
|
735
|
-
const form = 'multipart/form-data';
|
|
736
|
-
for (const consume of consumes) {
|
|
737
|
-
if (form === consume) {
|
|
738
|
-
return true;
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
return false;
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
if (
|
|
751
|
-
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
];
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
headers
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
683
|
+
/**
|
|
684
|
+
* Intellibid API
|
|
685
|
+
* API documentation for the Intellibid platform
|
|
686
|
+
*
|
|
687
|
+
* OpenAPI spec version: 1.0
|
|
688
|
+
*
|
|
689
|
+
*
|
|
690
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
691
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
692
|
+
* Do not edit the class manually.
|
|
693
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
694
|
+
class LookupDataControllerService {
|
|
695
|
+
constructor(httpClient, basePath, configuration) {
|
|
696
|
+
this.httpClient = httpClient;
|
|
697
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
698
|
+
this.defaultHeaders = new HttpHeaders();
|
|
699
|
+
this.configuration = new Configuration();
|
|
700
|
+
if (basePath) {
|
|
701
|
+
this.basePath = basePath;
|
|
702
|
+
}
|
|
703
|
+
if (configuration) {
|
|
704
|
+
this.configuration = configuration;
|
|
705
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* @param consumes string[] mime-types
|
|
710
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
711
|
+
*/
|
|
712
|
+
canConsumeForm(consumes) {
|
|
713
|
+
const form = 'multipart/form-data';
|
|
714
|
+
for (const consume of consumes) {
|
|
715
|
+
if (form === consume) {
|
|
716
|
+
return true;
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
return false;
|
|
720
|
+
}
|
|
721
|
+
getAllActiveOS(observe = 'body', reportProgress = false) {
|
|
722
|
+
let headers = this.defaultHeaders;
|
|
723
|
+
// to determine the Accept header
|
|
724
|
+
let httpHeaderAccepts = [
|
|
725
|
+
'*/*'
|
|
726
|
+
];
|
|
727
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
728
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
729
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
730
|
+
}
|
|
731
|
+
// to determine the Content-Type header
|
|
732
|
+
const consumes = [];
|
|
733
|
+
return this.httpClient.request('get', `${this.basePath}/api/lookups/os`, {
|
|
734
|
+
withCredentials: this.configuration.withCredentials,
|
|
735
|
+
headers: headers,
|
|
736
|
+
observe: observe,
|
|
737
|
+
reportProgress: reportProgress
|
|
738
|
+
});
|
|
739
|
+
}
|
|
740
|
+
getAllActivePlatforms(observe = 'body', reportProgress = false) {
|
|
741
|
+
let headers = this.defaultHeaders;
|
|
742
|
+
// to determine the Accept header
|
|
743
|
+
let httpHeaderAccepts = [
|
|
744
|
+
'*/*'
|
|
745
|
+
];
|
|
746
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
747
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
748
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
749
|
+
}
|
|
750
|
+
// to determine the Content-Type header
|
|
751
|
+
const consumes = [];
|
|
752
|
+
return this.httpClient.request('get', `${this.basePath}/api/lookups/platforms`, {
|
|
753
|
+
withCredentials: this.configuration.withCredentials,
|
|
754
|
+
headers: headers,
|
|
755
|
+
observe: observe,
|
|
756
|
+
reportProgress: reportProgress
|
|
757
|
+
});
|
|
758
|
+
}
|
|
759
|
+
getAllBusinessZones(observe = 'body', reportProgress = false) {
|
|
760
|
+
let headers = this.defaultHeaders;
|
|
761
|
+
// to determine the Accept header
|
|
762
|
+
let httpHeaderAccepts = [
|
|
763
|
+
'*/*'
|
|
764
|
+
];
|
|
765
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
766
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
767
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
768
|
+
}
|
|
769
|
+
// to determine the Content-Type header
|
|
770
|
+
const consumes = [];
|
|
771
|
+
return this.httpClient.request('get', `${this.basePath}/api/lookups/business-zones`, {
|
|
772
|
+
withCredentials: this.configuration.withCredentials,
|
|
773
|
+
headers: headers,
|
|
774
|
+
observe: observe,
|
|
775
|
+
reportProgress: reportProgress
|
|
776
|
+
});
|
|
777
|
+
}
|
|
778
|
+
getAllCountries(observe = 'body', reportProgress = false) {
|
|
779
|
+
let headers = this.defaultHeaders;
|
|
780
|
+
// to determine the Accept header
|
|
781
|
+
let httpHeaderAccepts = [
|
|
782
|
+
'*/*'
|
|
783
|
+
];
|
|
784
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
785
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
786
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
787
|
+
}
|
|
788
|
+
// to determine the Content-Type header
|
|
789
|
+
const consumes = [];
|
|
790
|
+
return this.httpClient.request('get', `${this.basePath}/api/lookups/countries`, {
|
|
791
|
+
withCredentials: this.configuration.withCredentials,
|
|
792
|
+
headers: headers,
|
|
793
|
+
observe: observe,
|
|
794
|
+
reportProgress: reportProgress
|
|
795
|
+
});
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
LookupDataControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
799
|
+
LookupDataControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService });
|
|
800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService, decorators: [{
|
|
801
|
+
type: Injectable
|
|
802
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
803
|
+
type: Optional
|
|
804
|
+
}, {
|
|
805
|
+
type: Inject,
|
|
806
|
+
args: [BASE_PATH]
|
|
807
|
+
}] }, { type: Configuration, decorators: [{
|
|
808
|
+
type: Optional
|
|
800
809
|
}] }]; } });
|
|
801
810
|
|
|
802
|
-
|
|
803
|
-
* Intellibid API
|
|
804
|
-
* API documentation for the Intellibid platform
|
|
805
|
-
*
|
|
806
|
-
* OpenAPI spec version: 1.0
|
|
807
|
-
*
|
|
808
|
-
*
|
|
809
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
810
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
811
|
-
* Do not edit the class manually.
|
|
812
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
813
|
-
class OsMasterControllerService {
|
|
814
|
-
constructor(httpClient, basePath, configuration) {
|
|
815
|
-
this.httpClient = httpClient;
|
|
816
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
817
|
-
this.defaultHeaders = new HttpHeaders();
|
|
818
|
-
this.configuration = new Configuration();
|
|
819
|
-
if (basePath) {
|
|
820
|
-
this.basePath = basePath;
|
|
821
|
-
}
|
|
822
|
-
if (configuration) {
|
|
823
|
-
this.configuration = configuration;
|
|
824
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
/**
|
|
828
|
-
* @param consumes string[] mime-types
|
|
829
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
830
|
-
*/
|
|
831
|
-
canConsumeForm(consumes) {
|
|
832
|
-
const form = 'multipart/form-data';
|
|
833
|
-
for (const consume of consumes) {
|
|
834
|
-
if (form === consume) {
|
|
835
|
-
return true;
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
return false;
|
|
839
|
-
}
|
|
840
|
-
getAllActiveOS(observe = 'body', reportProgress = false) {
|
|
841
|
-
let headers = this.defaultHeaders;
|
|
842
|
-
// to determine the Accept header
|
|
843
|
-
let httpHeaderAccepts = [
|
|
844
|
-
'*/*'
|
|
845
|
-
];
|
|
846
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
847
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
848
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
849
|
-
}
|
|
850
|
-
// to determine the Content-Type header
|
|
851
|
-
const consumes = [];
|
|
852
|
-
return this.httpClient.request('get', `${this.basePath}/api/os`, {
|
|
853
|
-
withCredentials: this.configuration.withCredentials,
|
|
854
|
-
headers: headers,
|
|
855
|
-
observe: observe,
|
|
856
|
-
reportProgress: reportProgress
|
|
857
|
-
});
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
OsMasterControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OsMasterControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
861
|
-
OsMasterControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OsMasterControllerService });
|
|
862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OsMasterControllerService, decorators: [{
|
|
863
|
-
type: Injectable
|
|
864
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
865
|
-
type: Optional
|
|
866
|
-
}, {
|
|
867
|
-
type: Inject,
|
|
868
|
-
args: [BASE_PATH]
|
|
869
|
-
}] }, { type: Configuration, decorators: [{
|
|
870
|
-
type: Optional
|
|
871
|
-
}] }]; } });
|
|
811
|
+
const APIS = [AdvertiserControllerService, CampaignControllerService, InsightsControllerService, LookupDataControllerService];
|
|
872
812
|
|
|
873
|
-
|
|
813
|
+
/**
|
|
814
|
+
* Intellibid API
|
|
815
|
+
* API documentation for the Intellibid platform
|
|
816
|
+
*
|
|
817
|
+
* OpenAPI spec version: 1.0
|
|
818
|
+
*
|
|
819
|
+
*
|
|
820
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
821
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
822
|
+
* Do not edit the class manually.
|
|
823
|
+
*/
|
|
874
824
|
|
|
875
|
-
/**
|
|
876
|
-
* Intellibid API
|
|
877
|
-
* API documentation for the Intellibid platform
|
|
878
|
-
*
|
|
879
|
-
* OpenAPI spec version: 1.0
|
|
880
|
-
*
|
|
881
|
-
*
|
|
882
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
883
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
884
|
-
* Do not edit the class manually.
|
|
825
|
+
/**
|
|
826
|
+
* Intellibid API
|
|
827
|
+
* API documentation for the Intellibid platform
|
|
828
|
+
*
|
|
829
|
+
* OpenAPI spec version: 1.0
|
|
830
|
+
*
|
|
831
|
+
*
|
|
832
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
833
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
834
|
+
* Do not edit the class manually.
|
|
885
835
|
*/
|
|
886
836
|
|
|
887
|
-
/**
|
|
888
|
-
* Intellibid API
|
|
889
|
-
* API documentation for the Intellibid platform
|
|
890
|
-
*
|
|
891
|
-
* OpenAPI spec version: 1.0
|
|
892
|
-
*
|
|
893
|
-
*
|
|
894
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
895
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
896
|
-
* Do not edit the class manually.
|
|
837
|
+
/**
|
|
838
|
+
* Intellibid API
|
|
839
|
+
* API documentation for the Intellibid platform
|
|
840
|
+
*
|
|
841
|
+
* OpenAPI spec version: 1.0
|
|
842
|
+
*
|
|
843
|
+
*
|
|
844
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
845
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
846
|
+
* Do not edit the class manually.
|
|
897
847
|
*/
|
|
898
848
|
|
|
899
|
-
/**
|
|
900
|
-
* Intellibid API
|
|
901
|
-
* API documentation for the Intellibid platform
|
|
902
|
-
*
|
|
903
|
-
* OpenAPI spec version: 1.0
|
|
904
|
-
*
|
|
905
|
-
*
|
|
906
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
907
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
908
|
-
* Do not edit the class manually.
|
|
849
|
+
/**
|
|
850
|
+
* Intellibid API
|
|
851
|
+
* API documentation for the Intellibid platform
|
|
852
|
+
*
|
|
853
|
+
* OpenAPI spec version: 1.0
|
|
854
|
+
*
|
|
855
|
+
*
|
|
856
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
857
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
858
|
+
* Do not edit the class manually.
|
|
909
859
|
*/
|
|
910
860
|
|
|
911
|
-
/**
|
|
912
|
-
* Intellibid API
|
|
913
|
-
* API documentation for the Intellibid platform
|
|
914
|
-
*
|
|
915
|
-
* OpenAPI spec version: 1.0
|
|
916
|
-
*
|
|
917
|
-
*
|
|
918
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
919
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
920
|
-
* Do not edit the class manually.
|
|
861
|
+
/**
|
|
862
|
+
* Intellibid API
|
|
863
|
+
* API documentation for the Intellibid platform
|
|
864
|
+
*
|
|
865
|
+
* OpenAPI spec version: 1.0
|
|
866
|
+
*
|
|
867
|
+
*
|
|
868
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
869
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
870
|
+
* Do not edit the class manually.
|
|
921
871
|
*/
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* Intellibid API
|
|
875
|
+
* API documentation for the Intellibid platform
|
|
876
|
+
*
|
|
877
|
+
* OpenAPI spec version: 1.0
|
|
878
|
+
*
|
|
879
|
+
*
|
|
880
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
881
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
882
|
+
* Do not edit the class manually.
|
|
883
|
+
*/
|
|
884
|
+
var CampaignChangeLogResponse;
|
|
885
|
+
(function (CampaignChangeLogResponse) {
|
|
886
|
+
CampaignChangeLogResponse.EntityChangedEnum = {
|
|
887
|
+
STATUS: 'STATUS',
|
|
888
|
+
BUDGET: 'BUDGET',
|
|
889
|
+
PAYOUTVALUE: 'PAYOUT_VALUE'
|
|
890
|
+
};
|
|
891
|
+
CampaignChangeLogResponse.StatusEnum = {
|
|
892
|
+
SUCCESS: 'SUCCESS',
|
|
893
|
+
FAILED: 'FAILED'
|
|
894
|
+
};
|
|
933
895
|
})(CampaignChangeLogResponse || (CampaignChangeLogResponse = {}));
|
|
934
896
|
|
|
935
|
-
/**
|
|
936
|
-
* Intellibid API
|
|
937
|
-
* API documentation for the Intellibid platform
|
|
938
|
-
*
|
|
939
|
-
* OpenAPI spec version: 1.0
|
|
940
|
-
*
|
|
941
|
-
*
|
|
942
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
943
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
944
|
-
* Do not edit the class manually.
|
|
945
|
-
*/
|
|
946
|
-
var CampaignInsightRecord;
|
|
947
|
-
(function (CampaignInsightRecord) {
|
|
948
|
-
CampaignInsightRecord.PayoutTypeEnum = {
|
|
949
|
-
DYNAMICMARGIN: 'DYNAMIC_MARGIN',
|
|
950
|
-
PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
|
|
951
|
-
};
|
|
897
|
+
/**
|
|
898
|
+
* Intellibid API
|
|
899
|
+
* API documentation for the Intellibid platform
|
|
900
|
+
*
|
|
901
|
+
* OpenAPI spec version: 1.0
|
|
902
|
+
*
|
|
903
|
+
*
|
|
904
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
905
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
906
|
+
* Do not edit the class manually.
|
|
907
|
+
*/
|
|
908
|
+
var CampaignInsightRecord;
|
|
909
|
+
(function (CampaignInsightRecord) {
|
|
910
|
+
CampaignInsightRecord.PayoutTypeEnum = {
|
|
911
|
+
DYNAMICMARGIN: 'DYNAMIC_MARGIN',
|
|
912
|
+
PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
|
|
913
|
+
};
|
|
952
914
|
})(CampaignInsightRecord || (CampaignInsightRecord = {}));
|
|
953
915
|
|
|
954
|
-
/**
|
|
955
|
-
* Intellibid API
|
|
956
|
-
* API documentation for the Intellibid platform
|
|
957
|
-
*
|
|
958
|
-
* OpenAPI spec version: 1.0
|
|
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.
|
|
964
|
-
*/
|
|
965
|
-
var CampaignRequest;
|
|
966
|
-
(function (CampaignRequest) {
|
|
967
|
-
CampaignRequest.SourcePlatformEnum = {
|
|
968
|
-
META: 'META',
|
|
969
|
-
TIKTOK: 'TIKTOK',
|
|
970
|
-
GOOGLE: 'GOOGLE',
|
|
971
|
-
SNAPCHAT: 'SNAPCHAT'
|
|
972
|
-
};
|
|
973
|
-
CampaignRequest.PayoutTypeEnum = {
|
|
974
|
-
DYNAMICMARGIN: 'DYNAMIC_MARGIN',
|
|
975
|
-
PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
|
|
976
|
-
};
|
|
977
|
-
CampaignRequest.GoalEnum = {
|
|
978
|
-
COSTPERRESULT: 'COST_PER_RESULT',
|
|
979
|
-
ROAS: 'ROAS'
|
|
980
|
-
};
|
|
981
|
-
CampaignRequest.MmpAttributionSettingEnum = {
|
|
982
|
-
CTA: 'CTA',
|
|
983
|
-
CTAANDVTA: 'CTA_AND_VTA'
|
|
984
|
-
};
|
|
916
|
+
/**
|
|
917
|
+
* Intellibid API
|
|
918
|
+
* API documentation for the Intellibid platform
|
|
919
|
+
*
|
|
920
|
+
* OpenAPI spec version: 1.0
|
|
921
|
+
*
|
|
922
|
+
*
|
|
923
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
924
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
925
|
+
* Do not edit the class manually.
|
|
926
|
+
*/
|
|
927
|
+
var CampaignRequest;
|
|
928
|
+
(function (CampaignRequest) {
|
|
929
|
+
CampaignRequest.SourcePlatformEnum = {
|
|
930
|
+
META: 'META',
|
|
931
|
+
TIKTOK: 'TIKTOK',
|
|
932
|
+
GOOGLE: 'GOOGLE',
|
|
933
|
+
SNAPCHAT: 'SNAPCHAT'
|
|
934
|
+
};
|
|
935
|
+
CampaignRequest.PayoutTypeEnum = {
|
|
936
|
+
DYNAMICMARGIN: 'DYNAMIC_MARGIN',
|
|
937
|
+
PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
|
|
938
|
+
};
|
|
939
|
+
CampaignRequest.GoalEnum = {
|
|
940
|
+
COSTPERRESULT: 'COST_PER_RESULT',
|
|
941
|
+
ROAS: 'ROAS'
|
|
942
|
+
};
|
|
943
|
+
CampaignRequest.MmpAttributionSettingEnum = {
|
|
944
|
+
CTA: 'CTA',
|
|
945
|
+
CTAANDVTA: 'CTA_AND_VTA'
|
|
946
|
+
};
|
|
985
947
|
})(CampaignRequest || (CampaignRequest = {}));
|
|
986
948
|
|
|
987
|
-
var CampaignResponse;
|
|
988
|
-
(function (CampaignResponse) {
|
|
989
|
-
CampaignResponse.SourcePlatformEnum = {
|
|
990
|
-
META: 'META',
|
|
991
|
-
TIKTOK: 'TIKTOK',
|
|
992
|
-
GOOGLE: 'GOOGLE',
|
|
993
|
-
SNAPCHAT: 'SNAPCHAT'
|
|
994
|
-
};
|
|
995
|
-
CampaignResponse.PayoutTypeEnum = {
|
|
996
|
-
DYNAMICMARGIN: 'DYNAMIC_MARGIN',
|
|
997
|
-
PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
|
|
998
|
-
};
|
|
999
|
-
CampaignResponse.GoalEnum = {
|
|
1000
|
-
COSTPERRESULT: 'COST_PER_RESULT',
|
|
1001
|
-
ROAS: 'ROAS'
|
|
1002
|
-
};
|
|
1003
|
-
CampaignResponse.MmpAttributionSettingEnum = {
|
|
1004
|
-
CTA: 'CTA',
|
|
1005
|
-
CTAANDVTA: 'CTA_AND_VTA'
|
|
1006
|
-
};
|
|
949
|
+
var CampaignResponse;
|
|
950
|
+
(function (CampaignResponse) {
|
|
951
|
+
CampaignResponse.SourcePlatformEnum = {
|
|
952
|
+
META: 'META',
|
|
953
|
+
TIKTOK: 'TIKTOK',
|
|
954
|
+
GOOGLE: 'GOOGLE',
|
|
955
|
+
SNAPCHAT: 'SNAPCHAT'
|
|
956
|
+
};
|
|
957
|
+
CampaignResponse.PayoutTypeEnum = {
|
|
958
|
+
DYNAMICMARGIN: 'DYNAMIC_MARGIN',
|
|
959
|
+
PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
|
|
960
|
+
};
|
|
961
|
+
CampaignResponse.GoalEnum = {
|
|
962
|
+
COSTPERRESULT: 'COST_PER_RESULT',
|
|
963
|
+
ROAS: 'ROAS'
|
|
964
|
+
};
|
|
965
|
+
CampaignResponse.MmpAttributionSettingEnum = {
|
|
966
|
+
CTA: 'CTA',
|
|
967
|
+
CTAANDVTA: 'CTA_AND_VTA'
|
|
968
|
+
};
|
|
1007
969
|
})(CampaignResponse || (CampaignResponse = {}));
|
|
1008
970
|
|
|
1009
|
-
/**
|
|
1010
|
-
* Intellibid API
|
|
1011
|
-
* API documentation for the Intellibid platform
|
|
1012
|
-
*
|
|
1013
|
-
* OpenAPI spec version: 1.0
|
|
1014
|
-
*
|
|
1015
|
-
*
|
|
1016
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1017
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1018
|
-
* Do not edit the class manually.
|
|
971
|
+
/**
|
|
972
|
+
* Intellibid API
|
|
973
|
+
* API documentation for the Intellibid platform
|
|
974
|
+
*
|
|
975
|
+
* OpenAPI spec version: 1.0
|
|
976
|
+
*
|
|
977
|
+
*
|
|
978
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
979
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
980
|
+
* Do not edit the class manually.
|
|
1019
981
|
*/
|
|
1020
982
|
|
|
1021
|
-
/**
|
|
1022
|
-
* Intellibid API
|
|
1023
|
-
* API documentation for the Intellibid platform
|
|
1024
|
-
*
|
|
1025
|
-
* OpenAPI spec version: 1.0
|
|
1026
|
-
*
|
|
1027
|
-
*
|
|
1028
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1029
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1030
|
-
* Do not edit the class manually.
|
|
983
|
+
/**
|
|
984
|
+
* Intellibid API
|
|
985
|
+
* API documentation for the Intellibid platform
|
|
986
|
+
*
|
|
987
|
+
* OpenAPI spec version: 1.0
|
|
988
|
+
*
|
|
989
|
+
*
|
|
990
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
991
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
992
|
+
* Do not edit the class manually.
|
|
1031
993
|
*/
|
|
1032
994
|
|
|
1033
|
-
/**
|
|
1034
|
-
* Intellibid API
|
|
1035
|
-
* API documentation for the Intellibid platform
|
|
1036
|
-
*
|
|
1037
|
-
* OpenAPI spec version: 1.0
|
|
1038
|
-
*
|
|
1039
|
-
*
|
|
1040
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1041
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1042
|
-
* Do not edit the class manually.
|
|
995
|
+
/**
|
|
996
|
+
* Intellibid API
|
|
997
|
+
* API documentation for the Intellibid platform
|
|
998
|
+
*
|
|
999
|
+
* OpenAPI spec version: 1.0
|
|
1000
|
+
*
|
|
1001
|
+
*
|
|
1002
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1003
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1004
|
+
* Do not edit the class manually.
|
|
1043
1005
|
*/
|
|
1044
|
-
var CreateBlockedAudienceRequest;
|
|
1045
|
-
(function (CreateBlockedAudienceRequest) {
|
|
1046
|
-
CreateBlockedAudienceRequest.SourcePlatformEnum = {
|
|
1047
|
-
META: 'META',
|
|
1048
|
-
TIKTOK: 'TIKTOK',
|
|
1049
|
-
GOOGLE: 'GOOGLE',
|
|
1050
|
-
SNAPCHAT: 'SNAPCHAT'
|
|
1051
|
-
};
|
|
1052
|
-
})(CreateBlockedAudienceRequest || (CreateBlockedAudienceRequest = {}));
|
|
1053
1006
|
|
|
1054
|
-
/**
|
|
1055
|
-
* Intellibid API
|
|
1056
|
-
* API documentation for the Intellibid platform
|
|
1057
|
-
*
|
|
1058
|
-
* OpenAPI spec version: 1.0
|
|
1059
|
-
*
|
|
1060
|
-
*
|
|
1061
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1062
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1063
|
-
* Do not edit the class manually.
|
|
1007
|
+
/**
|
|
1008
|
+
* Intellibid API
|
|
1009
|
+
* API documentation for the Intellibid platform
|
|
1010
|
+
*
|
|
1011
|
+
* OpenAPI spec version: 1.0
|
|
1012
|
+
*
|
|
1013
|
+
*
|
|
1014
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1015
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1016
|
+
* Do not edit the class manually.
|
|
1064
1017
|
*/
|
|
1065
|
-
var CreateDynamicAudienceRequest;
|
|
1066
|
-
(function (CreateDynamicAudienceRequest) {
|
|
1067
|
-
CreateDynamicAudienceRequest.SourcePlatformEnum = {
|
|
1068
|
-
META: 'META',
|
|
1069
|
-
TIKTOK: 'TIKTOK',
|
|
1070
|
-
GOOGLE: 'GOOGLE',
|
|
1071
|
-
SNAPCHAT: 'SNAPCHAT'
|
|
1072
|
-
};
|
|
1073
|
-
})(CreateDynamicAudienceRequest || (CreateDynamicAudienceRequest = {}));
|
|
1074
1018
|
|
|
1075
|
-
/**
|
|
1076
|
-
* Intellibid API
|
|
1077
|
-
* API documentation for the Intellibid platform
|
|
1078
|
-
*
|
|
1079
|
-
* OpenAPI spec version: 1.0
|
|
1080
|
-
*
|
|
1081
|
-
*
|
|
1082
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1083
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1084
|
-
* Do not edit the class manually.
|
|
1019
|
+
/**
|
|
1020
|
+
* Intellibid API
|
|
1021
|
+
* API documentation for the Intellibid platform
|
|
1022
|
+
*
|
|
1023
|
+
* OpenAPI spec version: 1.0
|
|
1024
|
+
*
|
|
1025
|
+
*
|
|
1026
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1027
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1028
|
+
* Do not edit the class manually.
|
|
1085
1029
|
*/
|
|
1086
|
-
var CreateStaticAudienceRequest;
|
|
1087
|
-
(function (CreateStaticAudienceRequest) {
|
|
1088
|
-
CreateStaticAudienceRequest.SourcePlatformEnum = {
|
|
1089
|
-
META: 'META',
|
|
1090
|
-
TIKTOK: 'TIKTOK',
|
|
1091
|
-
GOOGLE: 'GOOGLE',
|
|
1092
|
-
SNAPCHAT: 'SNAPCHAT'
|
|
1093
|
-
};
|
|
1094
|
-
})(CreateStaticAudienceRequest || (CreateStaticAudienceRequest = {}));
|
|
1095
1030
|
|
|
1096
|
-
/**
|
|
1097
|
-
* Intellibid API
|
|
1098
|
-
* API documentation for the Intellibid platform
|
|
1099
|
-
*
|
|
1100
|
-
* OpenAPI spec version: 1.0
|
|
1101
|
-
*
|
|
1102
|
-
*
|
|
1103
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1104
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1105
|
-
* Do not edit the class manually.
|
|
1106
|
-
*/
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
*
|
|
1114
|
-
*
|
|
1115
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1116
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1117
|
-
* Do not edit the class manually.
|
|
1118
|
-
*/
|
|
1119
|
-
var ScheduleUpdateRequest;
|
|
1120
|
-
(function (ScheduleUpdateRequest) {
|
|
1121
|
-
ScheduleUpdateRequest.RequestTypeEnum = {
|
|
1122
|
-
BUDGET: 'BUDGET',
|
|
1123
|
-
PAYOUTVALUE: 'PAYOUT_VALUE'
|
|
1124
|
-
};
|
|
1031
|
+
/**
|
|
1032
|
+
* Intellibid API
|
|
1033
|
+
* API documentation for the Intellibid platform
|
|
1034
|
+
*
|
|
1035
|
+
* OpenAPI spec version: 1.0
|
|
1036
|
+
*
|
|
1037
|
+
*
|
|
1038
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1039
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1040
|
+
* Do not edit the class manually.
|
|
1041
|
+
*/
|
|
1042
|
+
var ScheduleUpdateRequest;
|
|
1043
|
+
(function (ScheduleUpdateRequest) {
|
|
1044
|
+
ScheduleUpdateRequest.RequestTypeEnum = {
|
|
1045
|
+
BUDGET: 'BUDGET',
|
|
1046
|
+
PAYOUTVALUE: 'PAYOUT_VALUE'
|
|
1047
|
+
};
|
|
1125
1048
|
})(ScheduleUpdateRequest || (ScheduleUpdateRequest = {}));
|
|
1126
1049
|
|
|
1127
|
-
/**
|
|
1128
|
-
* Intellibid API
|
|
1129
|
-
* API documentation for the Intellibid platform
|
|
1130
|
-
*
|
|
1131
|
-
* OpenAPI spec version: 1.0
|
|
1132
|
-
*
|
|
1133
|
-
*
|
|
1134
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1135
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1136
|
-
* Do not edit the class manually.
|
|
1050
|
+
/**
|
|
1051
|
+
* Intellibid API
|
|
1052
|
+
* API documentation for the Intellibid platform
|
|
1053
|
+
*
|
|
1054
|
+
* OpenAPI spec version: 1.0
|
|
1055
|
+
*
|
|
1056
|
+
*
|
|
1057
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1058
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1059
|
+
* Do not edit the class manually.
|
|
1137
1060
|
*/
|
|
1138
1061
|
|
|
1139
|
-
/**
|
|
1140
|
-
* Intellibid API
|
|
1141
|
-
* API documentation for the Intellibid platform
|
|
1142
|
-
*
|
|
1143
|
-
* OpenAPI spec version: 1.0
|
|
1144
|
-
*
|
|
1145
|
-
*
|
|
1146
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1147
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1148
|
-
* Do not edit the class manually.
|
|
1062
|
+
/**
|
|
1063
|
+
* Intellibid API
|
|
1064
|
+
* API documentation for the Intellibid platform
|
|
1065
|
+
*
|
|
1066
|
+
* OpenAPI spec version: 1.0
|
|
1067
|
+
*
|
|
1068
|
+
*
|
|
1069
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1070
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1071
|
+
* Do not edit the class manually.
|
|
1149
1072
|
*/
|
|
1150
1073
|
|
|
1151
|
-
class ApiModule {
|
|
1152
|
-
static forRoot(configurationFactory) {
|
|
1153
|
-
return {
|
|
1154
|
-
ngModule: ApiModule,
|
|
1155
|
-
providers: [{ provide: Configuration, useFactory: configurationFactory }]
|
|
1156
|
-
};
|
|
1157
|
-
}
|
|
1158
|
-
constructor(parentModule, http) {
|
|
1159
|
-
if (parentModule) {
|
|
1160
|
-
throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
|
|
1161
|
-
}
|
|
1162
|
-
if (!http) {
|
|
1163
|
-
throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
|
|
1164
|
-
'See also https://github.com/angular/angular/issues/20575');
|
|
1165
|
-
}
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
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 });
|
|
1169
|
-
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
|
|
1170
|
-
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
|
|
1171
|
-
AdvertiserControllerService,
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
type:
|
|
1193
|
-
}, {
|
|
1194
|
-
type:
|
|
1195
|
-
}] }, { type: i1.HttpClient, decorators: [{
|
|
1196
|
-
type: Optional
|
|
1074
|
+
class ApiModule {
|
|
1075
|
+
static forRoot(configurationFactory) {
|
|
1076
|
+
return {
|
|
1077
|
+
ngModule: ApiModule,
|
|
1078
|
+
providers: [{ provide: Configuration, useFactory: configurationFactory }]
|
|
1079
|
+
};
|
|
1080
|
+
}
|
|
1081
|
+
constructor(parentModule, http) {
|
|
1082
|
+
if (parentModule) {
|
|
1083
|
+
throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
|
|
1084
|
+
}
|
|
1085
|
+
if (!http) {
|
|
1086
|
+
throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
|
|
1087
|
+
'See also https://github.com/angular/angular/issues/20575');
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
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 });
|
|
1092
|
+
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
|
|
1093
|
+
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
|
|
1094
|
+
AdvertiserControllerService,
|
|
1095
|
+
CampaignControllerService,
|
|
1096
|
+
InsightsControllerService,
|
|
1097
|
+
LookupDataControllerService
|
|
1098
|
+
] });
|
|
1099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
|
|
1100
|
+
type: NgModule,
|
|
1101
|
+
args: [{
|
|
1102
|
+
imports: [],
|
|
1103
|
+
declarations: [],
|
|
1104
|
+
exports: [],
|
|
1105
|
+
providers: [
|
|
1106
|
+
AdvertiserControllerService,
|
|
1107
|
+
CampaignControllerService,
|
|
1108
|
+
InsightsControllerService,
|
|
1109
|
+
LookupDataControllerService
|
|
1110
|
+
]
|
|
1111
|
+
}]
|
|
1112
|
+
}], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
|
|
1113
|
+
type: Optional
|
|
1114
|
+
}, {
|
|
1115
|
+
type: SkipSelf
|
|
1116
|
+
}] }, { type: i1.HttpClient, decorators: [{
|
|
1117
|
+
type: Optional
|
|
1197
1118
|
}] }]; } });
|
|
1198
1119
|
|
|
1199
|
-
/**
|
|
1200
|
-
* Generated bundle index. Do not edit.
|
|
1120
|
+
/**
|
|
1121
|
+
* Generated bundle index. Do not edit.
|
|
1201
1122
|
*/
|
|
1202
1123
|
|
|
1203
|
-
export { APIS, AdvertiserControllerService, ApiModule,
|
|
1124
|
+
export { APIS, AdvertiserControllerService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CampaignChangeLogResponse, CampaignControllerService, CampaignInsightRecord, CampaignRequest, CampaignResponse, Configuration, InsightsControllerService, LookupDataControllerService, ScheduleUpdateRequest };
|
|
1204
1125
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|