@revxui/intellibid-client-ts 1.0.67 → 1.0.70
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 +137 -124
- package/api/api.d.ts +11 -11
- package/api/audienceController.service.d.ts +128 -128
- package/api/campaignController.service.d.ts +110 -110
- package/api/insightsController.service.d.ts +33 -33
- package/api/lookupDataController.service.d.ts +58 -58
- 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 +328 -300
- package/esm2020/api/api.mjs +11 -11
- package/esm2020/api/audienceController.service.mjs +326 -326
- package/esm2020/api/campaignController.service.mjs +296 -296
- package/esm2020/api/insightsController.service.mjs +107 -107
- package/esm2020/api/lookupDataController.service.mjs +134 -134
- package/esm2020/api.module.mjs +56 -56
- package/esm2020/configuration.mjs +58 -58
- package/esm2020/encoder.mjs +16 -16
- package/esm2020/index.mjs +5 -5
- package/esm2020/model/adAccountResponse.mjs +25 -25
- package/esm2020/model/advertiserMmpConversionEventResponse.mjs +12 -12
- package/esm2020/model/advertiserResponse.mjs +12 -12
- package/esm2020/model/advertiserSearchResponse.mjs +12 -12
- package/esm2020/model/audienceResponse.mjs +16 -16
- package/esm2020/model/blockedEventResponse.mjs +12 -12
- package/esm2020/model/businessZoneResponse.mjs +12 -12
- package/esm2020/model/campaignChangeLogResponse.mjs +23 -23
- package/esm2020/model/campaignInsightRecord.mjs +18 -18
- package/esm2020/model/campaignInsightsResponse.mjs +1 -1
- package/esm2020/model/campaignRequest.mjs +34 -34
- package/esm2020/model/campaignResponse.mjs +26 -26
- package/esm2020/model/campaignSearchResponse.mjs +12 -12
- package/esm2020/model/childAudience.mjs +37 -37
- package/esm2020/model/countryResponse.mjs +12 -12
- package/esm2020/model/createBlockedLiveAudienceRequest.mjs +21 -21
- package/esm2020/model/createBucketizedCustomAudienceRequest.mjs +36 -36
- package/esm2020/model/createBucketizedLiveAudienceRequest.mjs +25 -25
- package/esm2020/model/createDsCustomQueryAudienceRequest.mjs +32 -32
- package/esm2020/model/goalEventOptionDTO.mjs +13 -0
- package/esm2020/model/goalResponse.mjs +12 -12
- package/esm2020/model/models.mjs +37 -35
- package/esm2020/model/oSResponse.mjs +12 -12
- package/esm2020/model/pageAdvertiserResponse.mjs +1 -1
- package/esm2020/model/pageCampaignChangeLogResponse.mjs +1 -1
- package/esm2020/model/pageCampaignResponse.mjs +1 -1
- package/esm2020/model/pageableObject.mjs +1 -1
- package/esm2020/model/platformResponse.mjs +12 -12
- package/esm2020/model/productSetRequest.mjs +21 -21
- package/esm2020/model/productSetResponse.mjs +21 -21
- package/esm2020/model/scheduleUpdateRequest.mjs +18 -18
- package/esm2020/model/scheduledUpdates.mjs +12 -12
- package/esm2020/model/sortObject.mjs +12 -12
- package/esm2020/model/supportedGoalEventsResponseDTO.mjs +2 -0
- package/esm2020/model/updateAudienceNameRequest.mjs +21 -21
- package/esm2020/model/updateDsCustomQuerySqlRequest.mjs +21 -21
- package/esm2020/model/validateDsQueryRequest.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 +1661 -1633
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +1791 -1751
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/model/adAccountResponse.d.ts +32 -32
- package/model/advertiserMmpConversionEventResponse.d.ts +15 -15
- package/model/advertiserResponse.d.ts +32 -32
- package/model/advertiserSearchResponse.d.ts +16 -16
- package/model/audienceResponse.d.ts +45 -45
- package/model/blockedEventResponse.d.ts +15 -15
- package/model/businessZoneResponse.d.ts +17 -17
- package/model/campaignChangeLogResponse.d.ts +34 -34
- package/model/campaignInsightRecord.d.ts +56 -56
- package/model/campaignInsightsResponse.d.ts +16 -16
- package/model/campaignRequest.d.ts +55 -54
- package/model/campaignResponse.d.ts +75 -75
- package/model/campaignSearchResponse.d.ts +15 -15
- package/model/childAudience.d.ts +69 -69
- package/model/countryResponse.d.ts +18 -18
- package/model/createBlockedLiveAudienceRequest.d.ts +27 -27
- package/model/createBucketizedCustomAudienceRequest.d.ts +56 -56
- package/model/createBucketizedLiveAudienceRequest.d.ts +40 -40
- package/model/createDsCustomQueryAudienceRequest.d.ts +48 -48
- package/model/goalEventOptionDTO.d.ts +14 -0
- package/model/goalResponse.d.ts +15 -15
- package/model/models.d.ts +36 -34
- 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/platformResponse.d.ts +15 -15
- package/model/productSetRequest.d.ts +27 -27
- package/model/productSetResponse.d.ts +27 -27
- package/model/scheduleUpdateRequest.d.ts +22 -22
- package/model/scheduledUpdates.d.ts +15 -15
- package/model/sortObject.d.ts +18 -18
- package/model/supportedGoalEventsResponseDTO.d.ts +19 -0
- package/model/updateAudienceNameRequest.d.ts +26 -26
- package/model/updateDsCustomQuerySqlRequest.d.ts +26 -26
- package/model/validateDsQueryRequest.d.ts +14 -14
- package/package.json +1 -1
- package/variables.d.ts +8 -8
|
@@ -3,1835 +3,1875 @@ 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
|
-
addProductSet(body, id, observe = 'body', reportProgress = false) {
|
|
128
|
-
if (body === null || body === undefined) {
|
|
129
|
-
throw new Error('Required parameter body was null or undefined when calling addProductSet.');
|
|
130
|
-
}
|
|
131
|
-
if (id === null || id === undefined) {
|
|
132
|
-
throw new Error('Required parameter id was null or undefined when calling addProductSet.');
|
|
133
|
-
}
|
|
134
|
-
let headers = this.defaultHeaders;
|
|
135
|
-
// to determine the Accept header
|
|
136
|
-
let httpHeaderAccepts = [
|
|
137
|
-
'*/*'
|
|
138
|
-
];
|
|
139
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
140
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
141
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
142
|
-
}
|
|
143
|
-
// to determine the Content-Type header
|
|
144
|
-
const consumes = [
|
|
145
|
-
'application/json'
|
|
146
|
-
];
|
|
147
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
148
|
-
if (httpContentTypeSelected != undefined) {
|
|
149
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
150
|
-
}
|
|
151
|
-
return this.httpClient.request('post', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
|
|
152
|
-
body: body,
|
|
153
|
-
withCredentials: this.configuration.withCredentials,
|
|
154
|
-
headers: headers,
|
|
155
|
-
observe: observe,
|
|
156
|
-
reportProgress: reportProgress
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
getAdAccounts(id, observe = 'body', reportProgress = false) {
|
|
160
|
-
if (id === null || id === undefined) {
|
|
161
|
-
throw new Error('Required parameter id was null or undefined when calling getAdAccounts.');
|
|
162
|
-
}
|
|
163
|
-
let headers = this.defaultHeaders;
|
|
164
|
-
// to determine the Accept header
|
|
165
|
-
let httpHeaderAccepts = [
|
|
166
|
-
'*/*'
|
|
167
|
-
];
|
|
168
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
169
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
170
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
171
|
-
}
|
|
172
|
-
// to determine the Content-Type header
|
|
173
|
-
const consumes = [];
|
|
174
|
-
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/ad-accounts`, {
|
|
175
|
-
withCredentials: this.configuration.withCredentials,
|
|
176
|
-
headers: headers,
|
|
177
|
-
observe: observe,
|
|
178
|
-
reportProgress: reportProgress
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
getAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
182
|
-
if (id === null || id === undefined) {
|
|
183
|
-
throw new Error('Required parameter id was null or undefined when calling getAdvertiser.');
|
|
184
|
-
}
|
|
185
|
-
let headers = this.defaultHeaders;
|
|
186
|
-
// to determine the Accept header
|
|
187
|
-
let httpHeaderAccepts = [
|
|
188
|
-
'*/*'
|
|
189
|
-
];
|
|
190
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
191
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
192
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
193
|
-
}
|
|
194
|
-
// to determine the Content-Type header
|
|
195
|
-
const consumes = [];
|
|
196
|
-
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}`, {
|
|
197
|
-
withCredentials: this.configuration.withCredentials,
|
|
198
|
-
headers: headers,
|
|
199
|
-
observe: observe,
|
|
200
|
-
reportProgress: reportProgress
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
getAllAdvertisers(name, isActive, page, size, sort, observe = 'body', reportProgress = false) {
|
|
204
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
205
|
-
if (name !== undefined && name !== null) {
|
|
206
|
-
queryParameters = queryParameters.set('name', name);
|
|
207
|
-
}
|
|
208
|
-
if (isActive !== undefined && isActive !== null) {
|
|
209
|
-
queryParameters = queryParameters.set('isActive', isActive);
|
|
210
|
-
}
|
|
211
|
-
if (page !== undefined && page !== null) {
|
|
212
|
-
queryParameters = queryParameters.set('page', page);
|
|
213
|
-
}
|
|
214
|
-
if (size !== undefined && size !== null) {
|
|
215
|
-
queryParameters = queryParameters.set('size', size);
|
|
216
|
-
}
|
|
217
|
-
if (sort) {
|
|
218
|
-
sort.forEach((element) => {
|
|
219
|
-
queryParameters = queryParameters.append('sort', element);
|
|
220
|
-
});
|
|
221
|
-
}
|
|
222
|
-
let headers = this.defaultHeaders;
|
|
223
|
-
// to determine the Accept header
|
|
224
|
-
let httpHeaderAccepts = [
|
|
225
|
-
'*/*'
|
|
226
|
-
];
|
|
227
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
228
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
229
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
230
|
-
}
|
|
231
|
-
// to determine the Content-Type header
|
|
232
|
-
const consumes = [];
|
|
233
|
-
return this.httpClient.request('get', `${this.basePath}/api/advertiser`, {
|
|
234
|
-
params: queryParameters,
|
|
235
|
-
withCredentials: this.configuration.withCredentials,
|
|
236
|
-
headers: headers,
|
|
237
|
-
observe: observe,
|
|
238
|
-
reportProgress: reportProgress
|
|
239
|
-
});
|
|
240
|
-
}
|
|
241
|
-
getBlockedEventsByAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
242
|
-
if (id === null || id === undefined) {
|
|
243
|
-
throw new Error('Required parameter id was null or undefined when calling getBlockedEventsByAdvertiser.');
|
|
244
|
-
}
|
|
245
|
-
let headers = this.defaultHeaders;
|
|
246
|
-
// to determine the Accept header
|
|
247
|
-
let httpHeaderAccepts = [
|
|
248
|
-
'*/*'
|
|
249
|
-
];
|
|
250
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
251
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
252
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
253
|
-
}
|
|
254
|
-
// to determine the Content-Type header
|
|
255
|
-
const consumes = [];
|
|
256
|
-
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/blocked-events`, {
|
|
257
|
-
withCredentials: this.configuration.withCredentials,
|
|
258
|
-
headers: headers,
|
|
259
|
-
observe: observe,
|
|
260
|
-
reportProgress: reportProgress
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
getGoalsByAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
264
|
-
if (id === null || id === undefined) {
|
|
265
|
-
throw new Error('Required parameter id was null or undefined when calling getGoalsByAdvertiser.');
|
|
266
|
-
}
|
|
267
|
-
let headers = this.defaultHeaders;
|
|
268
|
-
// to determine the Accept header
|
|
269
|
-
let httpHeaderAccepts = [
|
|
270
|
-
'*/*'
|
|
271
|
-
];
|
|
272
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
273
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
274
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
275
|
-
}
|
|
276
|
-
// to determine the Content-Type header
|
|
277
|
-
const consumes = [];
|
|
278
|
-
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/goals`, {
|
|
279
|
-
withCredentials: this.configuration.withCredentials,
|
|
280
|
-
headers: headers,
|
|
281
|
-
observe: observe,
|
|
282
|
-
reportProgress: reportProgress
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
getMMPConversionEventsByAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
286
|
-
if (id === null || id === undefined) {
|
|
287
|
-
throw new Error('Required parameter id was null or undefined when calling getMMPConversionEventsByAdvertiser.');
|
|
288
|
-
}
|
|
289
|
-
let headers = this.defaultHeaders;
|
|
290
|
-
// to determine the Accept header
|
|
291
|
-
let httpHeaderAccepts = [
|
|
292
|
-
'*/*'
|
|
293
|
-
];
|
|
294
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
295
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
296
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
297
|
-
}
|
|
298
|
-
// to determine the Content-Type header
|
|
299
|
-
const consumes = [];
|
|
300
|
-
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/mmp-conversion-events`, {
|
|
301
|
-
withCredentials: this.configuration.withCredentials,
|
|
302
|
-
headers: headers,
|
|
303
|
-
observe: observe,
|
|
304
|
-
reportProgress: reportProgress
|
|
305
|
-
});
|
|
306
|
-
}
|
|
307
|
-
getProductSets(id, sourcePlatform, adAccountId, observe = 'body', reportProgress = false) {
|
|
308
|
-
if (id === null || id === undefined) {
|
|
309
|
-
throw new Error('Required parameter id was null or undefined when calling getProductSets.');
|
|
310
|
-
}
|
|
311
|
-
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
312
|
-
throw new Error('Required parameter sourcePlatform was null or undefined when calling getProductSets.');
|
|
313
|
-
}
|
|
314
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
315
|
-
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
316
|
-
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
317
|
-
}
|
|
318
|
-
if (adAccountId !== undefined && adAccountId !== null) {
|
|
319
|
-
queryParameters = queryParameters.set('adAccountId', adAccountId);
|
|
320
|
-
}
|
|
321
|
-
let headers = this.defaultHeaders;
|
|
322
|
-
// to determine the Accept header
|
|
323
|
-
let httpHeaderAccepts = [
|
|
324
|
-
'*/*'
|
|
325
|
-
];
|
|
326
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
327
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
328
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
329
|
-
}
|
|
330
|
-
// to determine the Content-Type header
|
|
331
|
-
const consumes = [];
|
|
332
|
-
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
|
|
333
|
-
params: queryParameters,
|
|
334
|
-
withCredentials: this.configuration.withCredentials,
|
|
335
|
-
headers: headers,
|
|
336
|
-
observe: observe,
|
|
337
|
-
reportProgress: reportProgress
|
|
338
|
-
});
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
if (
|
|
342
|
-
throw new Error('Required parameter
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
let
|
|
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
|
-
|
|
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
|
+
addProductSet(body, id, observe = 'body', reportProgress = false) {
|
|
128
|
+
if (body === null || body === undefined) {
|
|
129
|
+
throw new Error('Required parameter body was null or undefined when calling addProductSet.');
|
|
130
|
+
}
|
|
131
|
+
if (id === null || id === undefined) {
|
|
132
|
+
throw new Error('Required parameter id was null or undefined when calling addProductSet.');
|
|
133
|
+
}
|
|
134
|
+
let headers = this.defaultHeaders;
|
|
135
|
+
// to determine the Accept header
|
|
136
|
+
let httpHeaderAccepts = [
|
|
137
|
+
'*/*'
|
|
138
|
+
];
|
|
139
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
140
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
141
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
142
|
+
}
|
|
143
|
+
// to determine the Content-Type header
|
|
144
|
+
const consumes = [
|
|
145
|
+
'application/json'
|
|
146
|
+
];
|
|
147
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
148
|
+
if (httpContentTypeSelected != undefined) {
|
|
149
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
150
|
+
}
|
|
151
|
+
return this.httpClient.request('post', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
|
|
152
|
+
body: body,
|
|
153
|
+
withCredentials: this.configuration.withCredentials,
|
|
154
|
+
headers: headers,
|
|
155
|
+
observe: observe,
|
|
156
|
+
reportProgress: reportProgress
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
getAdAccounts(id, observe = 'body', reportProgress = false) {
|
|
160
|
+
if (id === null || id === undefined) {
|
|
161
|
+
throw new Error('Required parameter id was null or undefined when calling getAdAccounts.');
|
|
162
|
+
}
|
|
163
|
+
let headers = this.defaultHeaders;
|
|
164
|
+
// to determine the Accept header
|
|
165
|
+
let httpHeaderAccepts = [
|
|
166
|
+
'*/*'
|
|
167
|
+
];
|
|
168
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
169
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
170
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
171
|
+
}
|
|
172
|
+
// to determine the Content-Type header
|
|
173
|
+
const consumes = [];
|
|
174
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/ad-accounts`, {
|
|
175
|
+
withCredentials: this.configuration.withCredentials,
|
|
176
|
+
headers: headers,
|
|
177
|
+
observe: observe,
|
|
178
|
+
reportProgress: reportProgress
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
getAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
182
|
+
if (id === null || id === undefined) {
|
|
183
|
+
throw new Error('Required parameter id was null or undefined when calling getAdvertiser.');
|
|
184
|
+
}
|
|
185
|
+
let headers = this.defaultHeaders;
|
|
186
|
+
// to determine the Accept header
|
|
187
|
+
let httpHeaderAccepts = [
|
|
188
|
+
'*/*'
|
|
189
|
+
];
|
|
190
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
191
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
192
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
193
|
+
}
|
|
194
|
+
// to determine the Content-Type header
|
|
195
|
+
const consumes = [];
|
|
196
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}`, {
|
|
197
|
+
withCredentials: this.configuration.withCredentials,
|
|
198
|
+
headers: headers,
|
|
199
|
+
observe: observe,
|
|
200
|
+
reportProgress: reportProgress
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
getAllAdvertisers(name, isActive, page, size, sort, observe = 'body', reportProgress = false) {
|
|
204
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
205
|
+
if (name !== undefined && name !== null) {
|
|
206
|
+
queryParameters = queryParameters.set('name', name);
|
|
207
|
+
}
|
|
208
|
+
if (isActive !== undefined && isActive !== null) {
|
|
209
|
+
queryParameters = queryParameters.set('isActive', isActive);
|
|
210
|
+
}
|
|
211
|
+
if (page !== undefined && page !== null) {
|
|
212
|
+
queryParameters = queryParameters.set('page', page);
|
|
213
|
+
}
|
|
214
|
+
if (size !== undefined && size !== null) {
|
|
215
|
+
queryParameters = queryParameters.set('size', size);
|
|
216
|
+
}
|
|
217
|
+
if (sort) {
|
|
218
|
+
sort.forEach((element) => {
|
|
219
|
+
queryParameters = queryParameters.append('sort', element);
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
let headers = this.defaultHeaders;
|
|
223
|
+
// to determine the Accept header
|
|
224
|
+
let httpHeaderAccepts = [
|
|
225
|
+
'*/*'
|
|
226
|
+
];
|
|
227
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
228
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
229
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
230
|
+
}
|
|
231
|
+
// to determine the Content-Type header
|
|
232
|
+
const consumes = [];
|
|
233
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser`, {
|
|
234
|
+
params: queryParameters,
|
|
235
|
+
withCredentials: this.configuration.withCredentials,
|
|
236
|
+
headers: headers,
|
|
237
|
+
observe: observe,
|
|
238
|
+
reportProgress: reportProgress
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
getBlockedEventsByAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
242
|
+
if (id === null || id === undefined) {
|
|
243
|
+
throw new Error('Required parameter id was null or undefined when calling getBlockedEventsByAdvertiser.');
|
|
244
|
+
}
|
|
245
|
+
let headers = this.defaultHeaders;
|
|
246
|
+
// to determine the Accept header
|
|
247
|
+
let httpHeaderAccepts = [
|
|
248
|
+
'*/*'
|
|
249
|
+
];
|
|
250
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
251
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
252
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
253
|
+
}
|
|
254
|
+
// to determine the Content-Type header
|
|
255
|
+
const consumes = [];
|
|
256
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/blocked-events`, {
|
|
257
|
+
withCredentials: this.configuration.withCredentials,
|
|
258
|
+
headers: headers,
|
|
259
|
+
observe: observe,
|
|
260
|
+
reportProgress: reportProgress
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
getGoalsByAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
264
|
+
if (id === null || id === undefined) {
|
|
265
|
+
throw new Error('Required parameter id was null or undefined when calling getGoalsByAdvertiser.');
|
|
266
|
+
}
|
|
267
|
+
let headers = this.defaultHeaders;
|
|
268
|
+
// to determine the Accept header
|
|
269
|
+
let httpHeaderAccepts = [
|
|
270
|
+
'*/*'
|
|
271
|
+
];
|
|
272
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
273
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
274
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
275
|
+
}
|
|
276
|
+
// to determine the Content-Type header
|
|
277
|
+
const consumes = [];
|
|
278
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/goals`, {
|
|
279
|
+
withCredentials: this.configuration.withCredentials,
|
|
280
|
+
headers: headers,
|
|
281
|
+
observe: observe,
|
|
282
|
+
reportProgress: reportProgress
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
getMMPConversionEventsByAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
286
|
+
if (id === null || id === undefined) {
|
|
287
|
+
throw new Error('Required parameter id was null or undefined when calling getMMPConversionEventsByAdvertiser.');
|
|
288
|
+
}
|
|
289
|
+
let headers = this.defaultHeaders;
|
|
290
|
+
// to determine the Accept header
|
|
291
|
+
let httpHeaderAccepts = [
|
|
292
|
+
'*/*'
|
|
293
|
+
];
|
|
294
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
295
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
296
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
297
|
+
}
|
|
298
|
+
// to determine the Content-Type header
|
|
299
|
+
const consumes = [];
|
|
300
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/mmp-conversion-events`, {
|
|
301
|
+
withCredentials: this.configuration.withCredentials,
|
|
302
|
+
headers: headers,
|
|
303
|
+
observe: observe,
|
|
304
|
+
reportProgress: reportProgress
|
|
305
|
+
});
|
|
306
|
+
}
|
|
307
|
+
getProductSets(id, sourcePlatform, adAccountId, observe = 'body', reportProgress = false) {
|
|
308
|
+
if (id === null || id === undefined) {
|
|
309
|
+
throw new Error('Required parameter id was null or undefined when calling getProductSets.');
|
|
310
|
+
}
|
|
311
|
+
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
312
|
+
throw new Error('Required parameter sourcePlatform was null or undefined when calling getProductSets.');
|
|
313
|
+
}
|
|
314
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
315
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
316
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
317
|
+
}
|
|
318
|
+
if (adAccountId !== undefined && adAccountId !== null) {
|
|
319
|
+
queryParameters = queryParameters.set('adAccountId', adAccountId);
|
|
320
|
+
}
|
|
321
|
+
let headers = this.defaultHeaders;
|
|
322
|
+
// to determine the Accept header
|
|
323
|
+
let httpHeaderAccepts = [
|
|
324
|
+
'*/*'
|
|
325
|
+
];
|
|
326
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
327
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
328
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
329
|
+
}
|
|
330
|
+
// to determine the Content-Type header
|
|
331
|
+
const consumes = [];
|
|
332
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
|
|
333
|
+
params: queryParameters,
|
|
334
|
+
withCredentials: this.configuration.withCredentials,
|
|
335
|
+
headers: headers,
|
|
336
|
+
observe: observe,
|
|
337
|
+
reportProgress: reportProgress
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
getSupportedGoalEvents(advertiserId, platform, adAccountId, observe = 'body', reportProgress = false) {
|
|
341
|
+
if (advertiserId === null || advertiserId === undefined) {
|
|
342
|
+
throw new Error('Required parameter advertiserId was null or undefined when calling getSupportedGoalEvents.');
|
|
343
|
+
}
|
|
344
|
+
if (platform === null || platform === undefined) {
|
|
345
|
+
throw new Error('Required parameter platform was null or undefined when calling getSupportedGoalEvents.');
|
|
346
|
+
}
|
|
347
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
348
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling getSupportedGoalEvents.');
|
|
349
|
+
}
|
|
350
|
+
let headers = this.defaultHeaders;
|
|
351
|
+
// to determine the Accept header
|
|
352
|
+
let httpHeaderAccepts = [
|
|
353
|
+
'*/*'
|
|
354
|
+
];
|
|
355
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
356
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
357
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
358
|
+
}
|
|
359
|
+
// to determine the Content-Type header
|
|
360
|
+
const consumes = [];
|
|
361
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/advertisers/${encodeURIComponent(String(advertiserId))}/platforms/${encodeURIComponent(String(platform))}/ad-accounts/${encodeURIComponent(String(adAccountId))}/goal-events`, {
|
|
362
|
+
withCredentials: this.configuration.withCredentials,
|
|
363
|
+
headers: headers,
|
|
364
|
+
observe: observe,
|
|
365
|
+
reportProgress: reportProgress
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
searchAdvertisers(q, observe = 'body', reportProgress = false) {
|
|
369
|
+
if (q === null || q === undefined) {
|
|
370
|
+
throw new Error('Required parameter q was null or undefined when calling searchAdvertisers.');
|
|
371
|
+
}
|
|
372
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
373
|
+
if (q !== undefined && q !== null) {
|
|
374
|
+
queryParameters = queryParameters.set('q', q);
|
|
375
|
+
}
|
|
376
|
+
let headers = this.defaultHeaders;
|
|
377
|
+
// to determine the Accept header
|
|
378
|
+
let httpHeaderAccepts = [
|
|
379
|
+
'*/*'
|
|
380
|
+
];
|
|
381
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
382
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
383
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
384
|
+
}
|
|
385
|
+
// to determine the Content-Type header
|
|
386
|
+
const consumes = [];
|
|
387
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/search`, {
|
|
388
|
+
params: queryParameters,
|
|
389
|
+
withCredentials: this.configuration.withCredentials,
|
|
390
|
+
headers: headers,
|
|
391
|
+
observe: observe,
|
|
392
|
+
reportProgress: reportProgress
|
|
393
|
+
});
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
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 });
|
|
397
|
+
AdvertiserControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService });
|
|
398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService, decorators: [{
|
|
399
|
+
type: Injectable
|
|
400
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
401
|
+
type: Optional
|
|
402
|
+
}, {
|
|
403
|
+
type: Inject,
|
|
404
|
+
args: [BASE_PATH]
|
|
405
|
+
}] }, { type: Configuration, decorators: [{
|
|
406
|
+
type: Optional
|
|
379
407
|
}] }]; } });
|
|
380
408
|
|
|
381
|
-
/**
|
|
382
|
-
* Intellibid API
|
|
383
|
-
* API documentation for the Intellibid platform
|
|
384
|
-
*
|
|
385
|
-
* OpenAPI spec version: 1.0
|
|
386
|
-
*
|
|
387
|
-
*
|
|
388
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
389
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
390
|
-
* Do not edit the class manually.
|
|
391
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
392
|
-
class AudienceControllerService {
|
|
393
|
-
constructor(httpClient, basePath, configuration) {
|
|
394
|
-
this.httpClient = httpClient;
|
|
395
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
396
|
-
this.defaultHeaders = new HttpHeaders();
|
|
397
|
-
this.configuration = new Configuration();
|
|
398
|
-
if (basePath) {
|
|
399
|
-
this.basePath = basePath;
|
|
400
|
-
}
|
|
401
|
-
if (configuration) {
|
|
402
|
-
this.configuration = configuration;
|
|
403
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
/**
|
|
407
|
-
* @param consumes string[] mime-types
|
|
408
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
409
|
-
*/
|
|
410
|
-
canConsumeForm(consumes) {
|
|
411
|
-
const form = 'multipart/form-data';
|
|
412
|
-
for (const consume of consumes) {
|
|
413
|
-
if (form === consume) {
|
|
414
|
-
return true;
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
return false;
|
|
418
|
-
}
|
|
419
|
-
createBlockedLiveAudience(body, observe = 'body', reportProgress = false) {
|
|
420
|
-
if (body === null || body === undefined) {
|
|
421
|
-
throw new Error('Required parameter body was null or undefined when calling createBlockedLiveAudience.');
|
|
422
|
-
}
|
|
423
|
-
let headers = this.defaultHeaders;
|
|
424
|
-
// to determine the Accept header
|
|
425
|
-
let httpHeaderAccepts = [
|
|
426
|
-
'*/*'
|
|
427
|
-
];
|
|
428
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
429
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
430
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
431
|
-
}
|
|
432
|
-
// to determine the Content-Type header
|
|
433
|
-
const consumes = [
|
|
434
|
-
'application/json'
|
|
435
|
-
];
|
|
436
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
437
|
-
if (httpContentTypeSelected != undefined) {
|
|
438
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
439
|
-
}
|
|
440
|
-
return this.httpClient.request('post', `${this.basePath}/api/audiences/live/blocked`, {
|
|
441
|
-
body: body,
|
|
442
|
-
withCredentials: this.configuration.withCredentials,
|
|
443
|
-
headers: headers,
|
|
444
|
-
observe: observe,
|
|
445
|
-
reportProgress: reportProgress
|
|
446
|
-
});
|
|
447
|
-
}
|
|
448
|
-
createBucketizedCustom(body, observe = 'body', reportProgress = false) {
|
|
449
|
-
if (body === null || body === undefined) {
|
|
450
|
-
throw new Error('Required parameter body was null or undefined when calling createBucketizedCustom.');
|
|
451
|
-
}
|
|
452
|
-
let headers = this.defaultHeaders;
|
|
453
|
-
// to determine the Accept header
|
|
454
|
-
let httpHeaderAccepts = [
|
|
455
|
-
'*/*'
|
|
456
|
-
];
|
|
457
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
458
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
459
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
460
|
-
}
|
|
461
|
-
// to determine the Content-Type header
|
|
462
|
-
const consumes = [
|
|
463
|
-
'application/json'
|
|
464
|
-
];
|
|
465
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
466
|
-
if (httpContentTypeSelected != undefined) {
|
|
467
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
468
|
-
}
|
|
469
|
-
return this.httpClient.request('post', `${this.basePath}/api/audiences/custom/bucketized`, {
|
|
470
|
-
body: body,
|
|
471
|
-
withCredentials: this.configuration.withCredentials,
|
|
472
|
-
headers: headers,
|
|
473
|
-
observe: observe,
|
|
474
|
-
reportProgress: reportProgress
|
|
475
|
-
});
|
|
476
|
-
}
|
|
477
|
-
createBucketizedLive(body, observe = 'body', reportProgress = false) {
|
|
478
|
-
if (body === null || body === undefined) {
|
|
479
|
-
throw new Error('Required parameter body was null or undefined when calling createBucketizedLive.');
|
|
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/audiences/live/bucketized`, {
|
|
499
|
-
body: body,
|
|
500
|
-
withCredentials: this.configuration.withCredentials,
|
|
501
|
-
headers: headers,
|
|
502
|
-
observe: observe,
|
|
503
|
-
reportProgress: reportProgress
|
|
504
|
-
});
|
|
505
|
-
}
|
|
506
|
-
createDsCustomQuery(body, observe = 'body', reportProgress = false) {
|
|
507
|
-
if (body === null || body === undefined) {
|
|
508
|
-
throw new Error('Required parameter body was null or undefined when calling createDsCustomQuery.');
|
|
509
|
-
}
|
|
510
|
-
let headers = this.defaultHeaders;
|
|
511
|
-
// to determine the Accept header
|
|
512
|
-
let httpHeaderAccepts = [
|
|
513
|
-
'*/*'
|
|
514
|
-
];
|
|
515
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
516
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
517
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
518
|
-
}
|
|
519
|
-
// to determine the Content-Type header
|
|
520
|
-
const consumes = [
|
|
521
|
-
'application/json'
|
|
522
|
-
];
|
|
523
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
524
|
-
if (httpContentTypeSelected != undefined) {
|
|
525
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
526
|
-
}
|
|
527
|
-
return this.httpClient.request('post', `${this.basePath}/api/audiences/custom/ds-query`, {
|
|
528
|
-
body: body,
|
|
529
|
-
withCredentials: this.configuration.withCredentials,
|
|
530
|
-
headers: headers,
|
|
531
|
-
observe: observe,
|
|
532
|
-
reportProgress: reportProgress
|
|
533
|
-
});
|
|
534
|
-
}
|
|
535
|
-
getAllAudiences(advertiserId, groupType, sourcePlatform, audienceType, audienceSource, observe = 'body', reportProgress = false) {
|
|
536
|
-
if (advertiserId === null || advertiserId === undefined) {
|
|
537
|
-
throw new Error('Required parameter advertiserId was null or undefined when calling getAllAudiences.');
|
|
538
|
-
}
|
|
539
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
540
|
-
if (groupType !== undefined && groupType !== null) {
|
|
541
|
-
queryParameters = queryParameters.set('groupType', groupType);
|
|
542
|
-
}
|
|
543
|
-
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
544
|
-
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
545
|
-
}
|
|
546
|
-
if (audienceType !== undefined && audienceType !== null) {
|
|
547
|
-
queryParameters = queryParameters.set('audienceType', audienceType);
|
|
548
|
-
}
|
|
549
|
-
if (audienceSource !== undefined && audienceSource !== null) {
|
|
550
|
-
queryParameters = queryParameters.set('audienceSource', audienceSource);
|
|
551
|
-
}
|
|
552
|
-
let headers = this.defaultHeaders;
|
|
553
|
-
// to determine the Accept header
|
|
554
|
-
let httpHeaderAccepts = [
|
|
555
|
-
'*/*'
|
|
556
|
-
];
|
|
557
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
558
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
559
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
560
|
-
}
|
|
561
|
-
// to determine the Content-Type header
|
|
562
|
-
const consumes = [];
|
|
563
|
-
return this.httpClient.request('get', `${this.basePath}/api/audiences/advertiser/${encodeURIComponent(String(advertiserId))}`, {
|
|
564
|
-
params: queryParameters,
|
|
565
|
-
withCredentials: this.configuration.withCredentials,
|
|
566
|
-
headers: headers,
|
|
567
|
-
observe: observe,
|
|
568
|
-
reportProgress: reportProgress
|
|
569
|
-
});
|
|
570
|
-
}
|
|
571
|
-
getGroupStatus(groupId, observe = 'body', reportProgress = false) {
|
|
572
|
-
if (groupId === null || groupId === undefined) {
|
|
573
|
-
throw new Error('Required parameter groupId was null or undefined when calling getGroupStatus.');
|
|
574
|
-
}
|
|
575
|
-
let headers = this.defaultHeaders;
|
|
576
|
-
// to determine the Accept header
|
|
577
|
-
let httpHeaderAccepts = [
|
|
578
|
-
'*/*'
|
|
579
|
-
];
|
|
580
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
581
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
582
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
583
|
-
}
|
|
584
|
-
// to determine the Content-Type header
|
|
585
|
-
const consumes = [];
|
|
586
|
-
return this.httpClient.request('get', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}`, {
|
|
587
|
-
withCredentials: this.configuration.withCredentials,
|
|
588
|
-
headers: headers,
|
|
589
|
-
observe: observe,
|
|
590
|
-
reportProgress: reportProgress
|
|
591
|
-
});
|
|
592
|
-
}
|
|
593
|
-
updateDsCustomQuerySql(body, groupId, observe = 'body', reportProgress = false) {
|
|
594
|
-
if (body === null || body === undefined) {
|
|
595
|
-
throw new Error('Required parameter body was null or undefined when calling updateDsCustomQuerySql.');
|
|
596
|
-
}
|
|
597
|
-
if (groupId === null || groupId === undefined) {
|
|
598
|
-
throw new Error('Required parameter groupId was null or undefined when calling updateDsCustomQuerySql.');
|
|
599
|
-
}
|
|
600
|
-
let headers = this.defaultHeaders;
|
|
601
|
-
// to determine the Accept header
|
|
602
|
-
let httpHeaderAccepts = [
|
|
603
|
-
'*/*'
|
|
604
|
-
];
|
|
605
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
606
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
607
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
608
|
-
}
|
|
609
|
-
// to determine the Content-Type header
|
|
610
|
-
const consumes = [
|
|
611
|
-
'application/json'
|
|
612
|
-
];
|
|
613
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
614
|
-
if (httpContentTypeSelected != undefined) {
|
|
615
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
616
|
-
}
|
|
617
|
-
return this.httpClient.request('post', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}/custom/ds-query/sql`, {
|
|
618
|
-
body: body,
|
|
619
|
-
withCredentials: this.configuration.withCredentials,
|
|
620
|
-
headers: headers,
|
|
621
|
-
observe: observe,
|
|
622
|
-
reportProgress: reportProgress
|
|
623
|
-
});
|
|
624
|
-
}
|
|
625
|
-
updateName(body, groupId, observe = 'body', reportProgress = false) {
|
|
626
|
-
if (body === null || body === undefined) {
|
|
627
|
-
throw new Error('Required parameter body was null or undefined when calling updateName.');
|
|
628
|
-
}
|
|
629
|
-
if (groupId === null || groupId === undefined) {
|
|
630
|
-
throw new Error('Required parameter groupId was null or undefined when calling updateName.');
|
|
631
|
-
}
|
|
632
|
-
let headers = this.defaultHeaders;
|
|
633
|
-
// to determine the Accept header
|
|
634
|
-
let httpHeaderAccepts = [
|
|
635
|
-
'*/*'
|
|
636
|
-
];
|
|
637
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
638
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
639
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
640
|
-
}
|
|
641
|
-
// to determine the Content-Type header
|
|
642
|
-
const consumes = [
|
|
643
|
-
'application/json'
|
|
644
|
-
];
|
|
645
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
646
|
-
if (httpContentTypeSelected != undefined) {
|
|
647
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
648
|
-
}
|
|
649
|
-
return this.httpClient.request('post', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}/name`, {
|
|
650
|
-
body: body,
|
|
651
|
-
withCredentials: this.configuration.withCredentials,
|
|
652
|
-
headers: headers,
|
|
653
|
-
observe: observe,
|
|
654
|
-
reportProgress: reportProgress
|
|
655
|
-
});
|
|
656
|
-
}
|
|
657
|
-
validateDsQuery(body, observe = 'body', reportProgress = false) {
|
|
658
|
-
if (body === null || body === undefined) {
|
|
659
|
-
throw new Error('Required parameter body was null or undefined when calling validateDsQuery.');
|
|
660
|
-
}
|
|
661
|
-
let headers = this.defaultHeaders;
|
|
662
|
-
// to determine the Accept header
|
|
663
|
-
let httpHeaderAccepts = [
|
|
664
|
-
'*/*'
|
|
665
|
-
];
|
|
666
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
667
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
668
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
669
|
-
}
|
|
670
|
-
// to determine the Content-Type header
|
|
671
|
-
const consumes = [
|
|
672
|
-
'application/json'
|
|
673
|
-
];
|
|
674
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
675
|
-
if (httpContentTypeSelected != undefined) {
|
|
676
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
677
|
-
}
|
|
678
|
-
return this.httpClient.request('post', `${this.basePath}/api/audiences/validate-ds-query`, {
|
|
679
|
-
body: body,
|
|
680
|
-
withCredentials: this.configuration.withCredentials,
|
|
681
|
-
headers: headers,
|
|
682
|
-
observe: observe,
|
|
683
|
-
reportProgress: reportProgress
|
|
684
|
-
});
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
AudienceControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
688
|
-
AudienceControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService });
|
|
689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, decorators: [{
|
|
690
|
-
type: Injectable
|
|
691
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
692
|
-
type: Optional
|
|
693
|
-
}, {
|
|
694
|
-
type: Inject,
|
|
695
|
-
args: [BASE_PATH]
|
|
696
|
-
}] }, { type: Configuration, decorators: [{
|
|
697
|
-
type: Optional
|
|
409
|
+
/**
|
|
410
|
+
* Intellibid API
|
|
411
|
+
* API documentation for the Intellibid platform
|
|
412
|
+
*
|
|
413
|
+
* OpenAPI spec version: 1.0
|
|
414
|
+
*
|
|
415
|
+
*
|
|
416
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
417
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
418
|
+
* Do not edit the class manually.
|
|
419
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
420
|
+
class AudienceControllerService {
|
|
421
|
+
constructor(httpClient, basePath, configuration) {
|
|
422
|
+
this.httpClient = httpClient;
|
|
423
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
424
|
+
this.defaultHeaders = new HttpHeaders();
|
|
425
|
+
this.configuration = new Configuration();
|
|
426
|
+
if (basePath) {
|
|
427
|
+
this.basePath = basePath;
|
|
428
|
+
}
|
|
429
|
+
if (configuration) {
|
|
430
|
+
this.configuration = configuration;
|
|
431
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* @param consumes string[] mime-types
|
|
436
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
437
|
+
*/
|
|
438
|
+
canConsumeForm(consumes) {
|
|
439
|
+
const form = 'multipart/form-data';
|
|
440
|
+
for (const consume of consumes) {
|
|
441
|
+
if (form === consume) {
|
|
442
|
+
return true;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
return false;
|
|
446
|
+
}
|
|
447
|
+
createBlockedLiveAudience(body, observe = 'body', reportProgress = false) {
|
|
448
|
+
if (body === null || body === undefined) {
|
|
449
|
+
throw new Error('Required parameter body was null or undefined when calling createBlockedLiveAudience.');
|
|
450
|
+
}
|
|
451
|
+
let headers = this.defaultHeaders;
|
|
452
|
+
// to determine the Accept header
|
|
453
|
+
let httpHeaderAccepts = [
|
|
454
|
+
'*/*'
|
|
455
|
+
];
|
|
456
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
457
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
458
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
459
|
+
}
|
|
460
|
+
// to determine the Content-Type header
|
|
461
|
+
const consumes = [
|
|
462
|
+
'application/json'
|
|
463
|
+
];
|
|
464
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
465
|
+
if (httpContentTypeSelected != undefined) {
|
|
466
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
467
|
+
}
|
|
468
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/live/blocked`, {
|
|
469
|
+
body: body,
|
|
470
|
+
withCredentials: this.configuration.withCredentials,
|
|
471
|
+
headers: headers,
|
|
472
|
+
observe: observe,
|
|
473
|
+
reportProgress: reportProgress
|
|
474
|
+
});
|
|
475
|
+
}
|
|
476
|
+
createBucketizedCustom(body, observe = 'body', reportProgress = false) {
|
|
477
|
+
if (body === null || body === undefined) {
|
|
478
|
+
throw new Error('Required parameter body was null or undefined when calling createBucketizedCustom.');
|
|
479
|
+
}
|
|
480
|
+
let headers = this.defaultHeaders;
|
|
481
|
+
// to determine the Accept header
|
|
482
|
+
let httpHeaderAccepts = [
|
|
483
|
+
'*/*'
|
|
484
|
+
];
|
|
485
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
486
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
487
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
488
|
+
}
|
|
489
|
+
// to determine the Content-Type header
|
|
490
|
+
const consumes = [
|
|
491
|
+
'application/json'
|
|
492
|
+
];
|
|
493
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
494
|
+
if (httpContentTypeSelected != undefined) {
|
|
495
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
496
|
+
}
|
|
497
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/custom/bucketized`, {
|
|
498
|
+
body: body,
|
|
499
|
+
withCredentials: this.configuration.withCredentials,
|
|
500
|
+
headers: headers,
|
|
501
|
+
observe: observe,
|
|
502
|
+
reportProgress: reportProgress
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
createBucketizedLive(body, observe = 'body', reportProgress = false) {
|
|
506
|
+
if (body === null || body === undefined) {
|
|
507
|
+
throw new Error('Required parameter body was null or undefined when calling createBucketizedLive.');
|
|
508
|
+
}
|
|
509
|
+
let headers = this.defaultHeaders;
|
|
510
|
+
// to determine the Accept header
|
|
511
|
+
let httpHeaderAccepts = [
|
|
512
|
+
'*/*'
|
|
513
|
+
];
|
|
514
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
515
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
516
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
517
|
+
}
|
|
518
|
+
// to determine the Content-Type header
|
|
519
|
+
const consumes = [
|
|
520
|
+
'application/json'
|
|
521
|
+
];
|
|
522
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
523
|
+
if (httpContentTypeSelected != undefined) {
|
|
524
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
525
|
+
}
|
|
526
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/live/bucketized`, {
|
|
527
|
+
body: body,
|
|
528
|
+
withCredentials: this.configuration.withCredentials,
|
|
529
|
+
headers: headers,
|
|
530
|
+
observe: observe,
|
|
531
|
+
reportProgress: reportProgress
|
|
532
|
+
});
|
|
533
|
+
}
|
|
534
|
+
createDsCustomQuery(body, observe = 'body', reportProgress = false) {
|
|
535
|
+
if (body === null || body === undefined) {
|
|
536
|
+
throw new Error('Required parameter body was null or undefined when calling createDsCustomQuery.');
|
|
537
|
+
}
|
|
538
|
+
let headers = this.defaultHeaders;
|
|
539
|
+
// to determine the Accept header
|
|
540
|
+
let httpHeaderAccepts = [
|
|
541
|
+
'*/*'
|
|
542
|
+
];
|
|
543
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
544
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
545
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
546
|
+
}
|
|
547
|
+
// to determine the Content-Type header
|
|
548
|
+
const consumes = [
|
|
549
|
+
'application/json'
|
|
550
|
+
];
|
|
551
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
552
|
+
if (httpContentTypeSelected != undefined) {
|
|
553
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
554
|
+
}
|
|
555
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/custom/ds-query`, {
|
|
556
|
+
body: body,
|
|
557
|
+
withCredentials: this.configuration.withCredentials,
|
|
558
|
+
headers: headers,
|
|
559
|
+
observe: observe,
|
|
560
|
+
reportProgress: reportProgress
|
|
561
|
+
});
|
|
562
|
+
}
|
|
563
|
+
getAllAudiences(advertiserId, groupType, sourcePlatform, audienceType, audienceSource, observe = 'body', reportProgress = false) {
|
|
564
|
+
if (advertiserId === null || advertiserId === undefined) {
|
|
565
|
+
throw new Error('Required parameter advertiserId was null or undefined when calling getAllAudiences.');
|
|
566
|
+
}
|
|
567
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
568
|
+
if (groupType !== undefined && groupType !== null) {
|
|
569
|
+
queryParameters = queryParameters.set('groupType', groupType);
|
|
570
|
+
}
|
|
571
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
572
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
573
|
+
}
|
|
574
|
+
if (audienceType !== undefined && audienceType !== null) {
|
|
575
|
+
queryParameters = queryParameters.set('audienceType', audienceType);
|
|
576
|
+
}
|
|
577
|
+
if (audienceSource !== undefined && audienceSource !== null) {
|
|
578
|
+
queryParameters = queryParameters.set('audienceSource', audienceSource);
|
|
579
|
+
}
|
|
580
|
+
let headers = this.defaultHeaders;
|
|
581
|
+
// to determine the Accept header
|
|
582
|
+
let httpHeaderAccepts = [
|
|
583
|
+
'*/*'
|
|
584
|
+
];
|
|
585
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
586
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
587
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
588
|
+
}
|
|
589
|
+
// to determine the Content-Type header
|
|
590
|
+
const consumes = [];
|
|
591
|
+
return this.httpClient.request('get', `${this.basePath}/api/audiences/advertiser/${encodeURIComponent(String(advertiserId))}`, {
|
|
592
|
+
params: queryParameters,
|
|
593
|
+
withCredentials: this.configuration.withCredentials,
|
|
594
|
+
headers: headers,
|
|
595
|
+
observe: observe,
|
|
596
|
+
reportProgress: reportProgress
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
getGroupStatus(groupId, observe = 'body', reportProgress = false) {
|
|
600
|
+
if (groupId === null || groupId === undefined) {
|
|
601
|
+
throw new Error('Required parameter groupId was null or undefined when calling getGroupStatus.');
|
|
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
|
+
return this.httpClient.request('get', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}`, {
|
|
615
|
+
withCredentials: this.configuration.withCredentials,
|
|
616
|
+
headers: headers,
|
|
617
|
+
observe: observe,
|
|
618
|
+
reportProgress: reportProgress
|
|
619
|
+
});
|
|
620
|
+
}
|
|
621
|
+
updateDsCustomQuerySql(body, groupId, observe = 'body', reportProgress = false) {
|
|
622
|
+
if (body === null || body === undefined) {
|
|
623
|
+
throw new Error('Required parameter body was null or undefined when calling updateDsCustomQuerySql.');
|
|
624
|
+
}
|
|
625
|
+
if (groupId === null || groupId === undefined) {
|
|
626
|
+
throw new Error('Required parameter groupId was null or undefined when calling updateDsCustomQuerySql.');
|
|
627
|
+
}
|
|
628
|
+
let headers = this.defaultHeaders;
|
|
629
|
+
// to determine the Accept header
|
|
630
|
+
let httpHeaderAccepts = [
|
|
631
|
+
'*/*'
|
|
632
|
+
];
|
|
633
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
634
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
635
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
636
|
+
}
|
|
637
|
+
// to determine the Content-Type header
|
|
638
|
+
const consumes = [
|
|
639
|
+
'application/json'
|
|
640
|
+
];
|
|
641
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
642
|
+
if (httpContentTypeSelected != undefined) {
|
|
643
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
644
|
+
}
|
|
645
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}/custom/ds-query/sql`, {
|
|
646
|
+
body: body,
|
|
647
|
+
withCredentials: this.configuration.withCredentials,
|
|
648
|
+
headers: headers,
|
|
649
|
+
observe: observe,
|
|
650
|
+
reportProgress: reportProgress
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
updateName(body, groupId, observe = 'body', reportProgress = false) {
|
|
654
|
+
if (body === null || body === undefined) {
|
|
655
|
+
throw new Error('Required parameter body was null or undefined when calling updateName.');
|
|
656
|
+
}
|
|
657
|
+
if (groupId === null || groupId === undefined) {
|
|
658
|
+
throw new Error('Required parameter groupId was null or undefined when calling updateName.');
|
|
659
|
+
}
|
|
660
|
+
let headers = this.defaultHeaders;
|
|
661
|
+
// to determine the Accept header
|
|
662
|
+
let httpHeaderAccepts = [
|
|
663
|
+
'*/*'
|
|
664
|
+
];
|
|
665
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
666
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
667
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
668
|
+
}
|
|
669
|
+
// to determine the Content-Type header
|
|
670
|
+
const consumes = [
|
|
671
|
+
'application/json'
|
|
672
|
+
];
|
|
673
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
674
|
+
if (httpContentTypeSelected != undefined) {
|
|
675
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
676
|
+
}
|
|
677
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}/name`, {
|
|
678
|
+
body: body,
|
|
679
|
+
withCredentials: this.configuration.withCredentials,
|
|
680
|
+
headers: headers,
|
|
681
|
+
observe: observe,
|
|
682
|
+
reportProgress: reportProgress
|
|
683
|
+
});
|
|
684
|
+
}
|
|
685
|
+
validateDsQuery(body, observe = 'body', reportProgress = false) {
|
|
686
|
+
if (body === null || body === undefined) {
|
|
687
|
+
throw new Error('Required parameter body was null or undefined when calling validateDsQuery.');
|
|
688
|
+
}
|
|
689
|
+
let headers = this.defaultHeaders;
|
|
690
|
+
// to determine the Accept header
|
|
691
|
+
let httpHeaderAccepts = [
|
|
692
|
+
'*/*'
|
|
693
|
+
];
|
|
694
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
695
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
696
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
697
|
+
}
|
|
698
|
+
// to determine the Content-Type header
|
|
699
|
+
const consumes = [
|
|
700
|
+
'application/json'
|
|
701
|
+
];
|
|
702
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
703
|
+
if (httpContentTypeSelected != undefined) {
|
|
704
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
705
|
+
}
|
|
706
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/validate-ds-query`, {
|
|
707
|
+
body: body,
|
|
708
|
+
withCredentials: this.configuration.withCredentials,
|
|
709
|
+
headers: headers,
|
|
710
|
+
observe: observe,
|
|
711
|
+
reportProgress: reportProgress
|
|
712
|
+
});
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
AudienceControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
716
|
+
AudienceControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService });
|
|
717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, decorators: [{
|
|
718
|
+
type: Injectable
|
|
719
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
720
|
+
type: Optional
|
|
721
|
+
}, {
|
|
722
|
+
type: Inject,
|
|
723
|
+
args: [BASE_PATH]
|
|
724
|
+
}] }, { type: Configuration, decorators: [{
|
|
725
|
+
type: Optional
|
|
698
726
|
}] }]; } });
|
|
699
727
|
|
|
700
|
-
/**
|
|
701
|
-
* Intellibid API
|
|
702
|
-
* API documentation for the Intellibid platform
|
|
703
|
-
*
|
|
704
|
-
* OpenAPI spec version: 1.0
|
|
705
|
-
*
|
|
706
|
-
*
|
|
707
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
708
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
709
|
-
* Do not edit the class manually.
|
|
710
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
711
|
-
class CampaignControllerService {
|
|
712
|
-
constructor(httpClient, basePath, configuration) {
|
|
713
|
-
this.httpClient = httpClient;
|
|
714
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
715
|
-
this.defaultHeaders = new HttpHeaders();
|
|
716
|
-
this.configuration = new Configuration();
|
|
717
|
-
if (basePath) {
|
|
718
|
-
this.basePath = basePath;
|
|
719
|
-
}
|
|
720
|
-
if (configuration) {
|
|
721
|
-
this.configuration = configuration;
|
|
722
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
/**
|
|
726
|
-
* @param consumes string[] mime-types
|
|
727
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
728
|
-
*/
|
|
729
|
-
canConsumeForm(consumes) {
|
|
730
|
-
const form = 'multipart/form-data';
|
|
731
|
-
for (const consume of consumes) {
|
|
732
|
-
if (form === consume) {
|
|
733
|
-
return true;
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
return false;
|
|
737
|
-
}
|
|
738
|
-
createCampaign(body, observe = 'body', reportProgress = false) {
|
|
739
|
-
if (body === null || body === undefined) {
|
|
740
|
-
throw new Error('Required parameter body was null or undefined when calling createCampaign.');
|
|
741
|
-
}
|
|
742
|
-
let headers = this.defaultHeaders;
|
|
743
|
-
// to determine the Accept header
|
|
744
|
-
let httpHeaderAccepts = [
|
|
745
|
-
'*/*'
|
|
746
|
-
];
|
|
747
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
748
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
749
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
750
|
-
}
|
|
751
|
-
// to determine the Content-Type header
|
|
752
|
-
const consumes = [
|
|
753
|
-
'application/json'
|
|
754
|
-
];
|
|
755
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
756
|
-
if (httpContentTypeSelected != undefined) {
|
|
757
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
758
|
-
}
|
|
759
|
-
return this.httpClient.request('post', `${this.basePath}/api/campaign`, {
|
|
760
|
-
body: body,
|
|
761
|
-
withCredentials: this.configuration.withCredentials,
|
|
762
|
-
headers: headers,
|
|
763
|
-
observe: observe,
|
|
764
|
-
reportProgress: reportProgress
|
|
765
|
-
});
|
|
766
|
-
}
|
|
767
|
-
getAllCampaigns(id, advertiserId, name, platformCampaignId, payoutType, marketFeedbackEnabled, activeOnPlatform, sourcePlatform, page, size, sort, observe = 'body', reportProgress = false) {
|
|
768
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
769
|
-
if (id !== undefined && id !== null) {
|
|
770
|
-
queryParameters = queryParameters.set('id', id);
|
|
771
|
-
}
|
|
772
|
-
if (advertiserId !== undefined && advertiserId !== null) {
|
|
773
|
-
queryParameters = queryParameters.set('advertiserId', advertiserId);
|
|
774
|
-
}
|
|
775
|
-
if (name !== undefined && name !== null) {
|
|
776
|
-
queryParameters = queryParameters.set('name', name);
|
|
777
|
-
}
|
|
778
|
-
if (platformCampaignId !== undefined && platformCampaignId !== null) {
|
|
779
|
-
queryParameters = queryParameters.set('platformCampaignId', platformCampaignId);
|
|
780
|
-
}
|
|
781
|
-
if (payoutType !== undefined && payoutType !== null) {
|
|
782
|
-
queryParameters = queryParameters.set('payoutType', payoutType);
|
|
783
|
-
}
|
|
784
|
-
if (marketFeedbackEnabled !== undefined && marketFeedbackEnabled !== null) {
|
|
785
|
-
queryParameters = queryParameters.set('marketFeedbackEnabled', marketFeedbackEnabled);
|
|
786
|
-
}
|
|
787
|
-
if (activeOnPlatform !== undefined && activeOnPlatform !== null) {
|
|
788
|
-
queryParameters = queryParameters.set('activeOnPlatform', activeOnPlatform);
|
|
789
|
-
}
|
|
790
|
-
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
791
|
-
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
792
|
-
}
|
|
793
|
-
if (page !== undefined && page !== null) {
|
|
794
|
-
queryParameters = queryParameters.set('page', page);
|
|
795
|
-
}
|
|
796
|
-
if (size !== undefined && size !== null) {
|
|
797
|
-
queryParameters = queryParameters.set('size', size);
|
|
798
|
-
}
|
|
799
|
-
if (sort) {
|
|
800
|
-
sort.forEach((element) => {
|
|
801
|
-
queryParameters = queryParameters.append('sort', element);
|
|
802
|
-
});
|
|
803
|
-
}
|
|
804
|
-
let headers = this.defaultHeaders;
|
|
805
|
-
// to determine the Accept header
|
|
806
|
-
let httpHeaderAccepts = [
|
|
807
|
-
'*/*'
|
|
808
|
-
];
|
|
809
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
810
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
811
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
812
|
-
}
|
|
813
|
-
// to determine the Content-Type header
|
|
814
|
-
const consumes = [];
|
|
815
|
-
return this.httpClient.request('get', `${this.basePath}/api/campaign`, {
|
|
816
|
-
params: queryParameters,
|
|
817
|
-
withCredentials: this.configuration.withCredentials,
|
|
818
|
-
headers: headers,
|
|
819
|
-
observe: observe,
|
|
820
|
-
reportProgress: reportProgress
|
|
821
|
-
});
|
|
822
|
-
}
|
|
823
|
-
getCampaign(id, observe = 'body', reportProgress = false) {
|
|
824
|
-
if (id === null || id === undefined) {
|
|
825
|
-
throw new Error('Required parameter id was null or undefined when calling getCampaign.');
|
|
826
|
-
}
|
|
827
|
-
let headers = this.defaultHeaders;
|
|
828
|
-
// to determine the Accept header
|
|
829
|
-
let httpHeaderAccepts = [
|
|
830
|
-
'*/*'
|
|
831
|
-
];
|
|
832
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
833
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
834
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
835
|
-
}
|
|
836
|
-
// to determine the Content-Type header
|
|
837
|
-
const consumes = [];
|
|
838
|
-
return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}`, {
|
|
839
|
-
withCredentials: this.configuration.withCredentials,
|
|
840
|
-
headers: headers,
|
|
841
|
-
observe: observe,
|
|
842
|
-
reportProgress: reportProgress
|
|
843
|
-
});
|
|
844
|
-
}
|
|
845
|
-
getCampaignLogs(id, page, size, sort, observe = 'body', reportProgress = false) {
|
|
846
|
-
if (id === null || id === undefined) {
|
|
847
|
-
throw new Error('Required parameter id was null or undefined when calling getCampaignLogs.');
|
|
848
|
-
}
|
|
849
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
850
|
-
if (page !== undefined && page !== null) {
|
|
851
|
-
queryParameters = queryParameters.set('page', page);
|
|
852
|
-
}
|
|
853
|
-
if (size !== undefined && size !== null) {
|
|
854
|
-
queryParameters = queryParameters.set('size', size);
|
|
855
|
-
}
|
|
856
|
-
if (sort) {
|
|
857
|
-
sort.forEach((element) => {
|
|
858
|
-
queryParameters = queryParameters.append('sort', element);
|
|
859
|
-
});
|
|
860
|
-
}
|
|
861
|
-
let headers = this.defaultHeaders;
|
|
862
|
-
// to determine the Accept header
|
|
863
|
-
let httpHeaderAccepts = [
|
|
864
|
-
'*/*'
|
|
865
|
-
];
|
|
866
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
867
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
868
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
869
|
-
}
|
|
870
|
-
// to determine the Content-Type header
|
|
871
|
-
const consumes = [];
|
|
872
|
-
return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/log`, {
|
|
873
|
-
params: queryParameters,
|
|
874
|
-
withCredentials: this.configuration.withCredentials,
|
|
875
|
-
headers: headers,
|
|
876
|
-
observe: observe,
|
|
877
|
-
reportProgress: reportProgress
|
|
878
|
-
});
|
|
879
|
-
}
|
|
880
|
-
scheduleUpdate(body, id, observe = 'body', reportProgress = false) {
|
|
881
|
-
if (body === null || body === undefined) {
|
|
882
|
-
throw new Error('Required parameter body was null or undefined when calling scheduleUpdate.');
|
|
883
|
-
}
|
|
884
|
-
if (id === null || id === undefined) {
|
|
885
|
-
throw new Error('Required parameter id was null or undefined when calling scheduleUpdate.');
|
|
886
|
-
}
|
|
887
|
-
let headers = this.defaultHeaders;
|
|
888
|
-
// to determine the Accept header
|
|
889
|
-
let httpHeaderAccepts = [
|
|
890
|
-
'*/*'
|
|
891
|
-
];
|
|
892
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
893
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
894
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
895
|
-
}
|
|
896
|
-
// to determine the Content-Type header
|
|
897
|
-
const consumes = [
|
|
898
|
-
'application/json'
|
|
899
|
-
];
|
|
900
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
901
|
-
if (httpContentTypeSelected != undefined) {
|
|
902
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
903
|
-
}
|
|
904
|
-
return this.httpClient.request('post', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/schedule-update`, {
|
|
905
|
-
body: body,
|
|
906
|
-
withCredentials: this.configuration.withCredentials,
|
|
907
|
-
headers: headers,
|
|
908
|
-
observe: observe,
|
|
909
|
-
reportProgress: reportProgress
|
|
910
|
-
});
|
|
911
|
-
}
|
|
912
|
-
searchCampaign(q, sourcePlatform, observe = 'body', reportProgress = false) {
|
|
913
|
-
if (q === null || q === undefined) {
|
|
914
|
-
throw new Error('Required parameter q was null or undefined when calling searchCampaign.');
|
|
915
|
-
}
|
|
916
|
-
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
917
|
-
throw new Error('Required parameter sourcePlatform was null or undefined when calling searchCampaign.');
|
|
918
|
-
}
|
|
919
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
920
|
-
if (q !== undefined && q !== null) {
|
|
921
|
-
queryParameters = queryParameters.set('q', q);
|
|
922
|
-
}
|
|
923
|
-
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
924
|
-
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
925
|
-
}
|
|
926
|
-
let headers = this.defaultHeaders;
|
|
927
|
-
// to determine the Accept header
|
|
928
|
-
let httpHeaderAccepts = [
|
|
929
|
-
'*/*'
|
|
930
|
-
];
|
|
931
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
932
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
933
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
934
|
-
}
|
|
935
|
-
// to determine the Content-Type header
|
|
936
|
-
const consumes = [];
|
|
937
|
-
return this.httpClient.request('get', `${this.basePath}/api/campaign/search`, {
|
|
938
|
-
params: queryParameters,
|
|
939
|
-
withCredentials: this.configuration.withCredentials,
|
|
940
|
-
headers: headers,
|
|
941
|
-
observe: observe,
|
|
942
|
-
reportProgress: reportProgress
|
|
943
|
-
});
|
|
944
|
-
}
|
|
945
|
-
setStatus(id, active, observe = 'body', reportProgress = false) {
|
|
946
|
-
if (id === null || id === undefined) {
|
|
947
|
-
throw new Error('Required parameter id was null or undefined when calling setStatus.');
|
|
948
|
-
}
|
|
949
|
-
if (active === null || active === undefined) {
|
|
950
|
-
throw new Error('Required parameter active was null or undefined when calling setStatus.');
|
|
951
|
-
}
|
|
952
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
953
|
-
if (active !== undefined && active !== null) {
|
|
954
|
-
queryParameters = queryParameters.set('active', active);
|
|
955
|
-
}
|
|
956
|
-
let headers = this.defaultHeaders;
|
|
957
|
-
// to determine the Accept header
|
|
958
|
-
let httpHeaderAccepts = [
|
|
959
|
-
'*/*'
|
|
960
|
-
];
|
|
961
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
962
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
963
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
964
|
-
}
|
|
965
|
-
// to determine the Content-Type header
|
|
966
|
-
const consumes = [];
|
|
967
|
-
return this.httpClient.request('post', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/status`, {
|
|
968
|
-
params: queryParameters,
|
|
969
|
-
withCredentials: this.configuration.withCredentials,
|
|
970
|
-
headers: headers,
|
|
971
|
-
observe: observe,
|
|
972
|
-
reportProgress: reportProgress
|
|
973
|
-
});
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
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 });
|
|
977
|
-
CampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService });
|
|
978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, decorators: [{
|
|
979
|
-
type: Injectable
|
|
980
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
981
|
-
type: Optional
|
|
982
|
-
}, {
|
|
983
|
-
type: Inject,
|
|
984
|
-
args: [BASE_PATH]
|
|
985
|
-
}] }, { type: Configuration, decorators: [{
|
|
986
|
-
type: Optional
|
|
728
|
+
/**
|
|
729
|
+
* Intellibid API
|
|
730
|
+
* API documentation for the Intellibid platform
|
|
731
|
+
*
|
|
732
|
+
* OpenAPI spec version: 1.0
|
|
733
|
+
*
|
|
734
|
+
*
|
|
735
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
736
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
737
|
+
* Do not edit the class manually.
|
|
738
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
739
|
+
class CampaignControllerService {
|
|
740
|
+
constructor(httpClient, basePath, configuration) {
|
|
741
|
+
this.httpClient = httpClient;
|
|
742
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
743
|
+
this.defaultHeaders = new HttpHeaders();
|
|
744
|
+
this.configuration = new Configuration();
|
|
745
|
+
if (basePath) {
|
|
746
|
+
this.basePath = basePath;
|
|
747
|
+
}
|
|
748
|
+
if (configuration) {
|
|
749
|
+
this.configuration = configuration;
|
|
750
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* @param consumes string[] mime-types
|
|
755
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
756
|
+
*/
|
|
757
|
+
canConsumeForm(consumes) {
|
|
758
|
+
const form = 'multipart/form-data';
|
|
759
|
+
for (const consume of consumes) {
|
|
760
|
+
if (form === consume) {
|
|
761
|
+
return true;
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
return false;
|
|
765
|
+
}
|
|
766
|
+
createCampaign(body, observe = 'body', reportProgress = false) {
|
|
767
|
+
if (body === null || body === undefined) {
|
|
768
|
+
throw new Error('Required parameter body was null or undefined when calling createCampaign.');
|
|
769
|
+
}
|
|
770
|
+
let headers = this.defaultHeaders;
|
|
771
|
+
// to determine the Accept header
|
|
772
|
+
let httpHeaderAccepts = [
|
|
773
|
+
'*/*'
|
|
774
|
+
];
|
|
775
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
776
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
777
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
778
|
+
}
|
|
779
|
+
// to determine the Content-Type header
|
|
780
|
+
const consumes = [
|
|
781
|
+
'application/json'
|
|
782
|
+
];
|
|
783
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
784
|
+
if (httpContentTypeSelected != undefined) {
|
|
785
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
786
|
+
}
|
|
787
|
+
return this.httpClient.request('post', `${this.basePath}/api/campaign`, {
|
|
788
|
+
body: body,
|
|
789
|
+
withCredentials: this.configuration.withCredentials,
|
|
790
|
+
headers: headers,
|
|
791
|
+
observe: observe,
|
|
792
|
+
reportProgress: reportProgress
|
|
793
|
+
});
|
|
794
|
+
}
|
|
795
|
+
getAllCampaigns(id, advertiserId, name, platformCampaignId, payoutType, marketFeedbackEnabled, activeOnPlatform, sourcePlatform, page, size, sort, observe = 'body', reportProgress = false) {
|
|
796
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
797
|
+
if (id !== undefined && id !== null) {
|
|
798
|
+
queryParameters = queryParameters.set('id', id);
|
|
799
|
+
}
|
|
800
|
+
if (advertiserId !== undefined && advertiserId !== null) {
|
|
801
|
+
queryParameters = queryParameters.set('advertiserId', advertiserId);
|
|
802
|
+
}
|
|
803
|
+
if (name !== undefined && name !== null) {
|
|
804
|
+
queryParameters = queryParameters.set('name', name);
|
|
805
|
+
}
|
|
806
|
+
if (platformCampaignId !== undefined && platformCampaignId !== null) {
|
|
807
|
+
queryParameters = queryParameters.set('platformCampaignId', platformCampaignId);
|
|
808
|
+
}
|
|
809
|
+
if (payoutType !== undefined && payoutType !== null) {
|
|
810
|
+
queryParameters = queryParameters.set('payoutType', payoutType);
|
|
811
|
+
}
|
|
812
|
+
if (marketFeedbackEnabled !== undefined && marketFeedbackEnabled !== null) {
|
|
813
|
+
queryParameters = queryParameters.set('marketFeedbackEnabled', marketFeedbackEnabled);
|
|
814
|
+
}
|
|
815
|
+
if (activeOnPlatform !== undefined && activeOnPlatform !== null) {
|
|
816
|
+
queryParameters = queryParameters.set('activeOnPlatform', activeOnPlatform);
|
|
817
|
+
}
|
|
818
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
819
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
820
|
+
}
|
|
821
|
+
if (page !== undefined && page !== null) {
|
|
822
|
+
queryParameters = queryParameters.set('page', page);
|
|
823
|
+
}
|
|
824
|
+
if (size !== undefined && size !== null) {
|
|
825
|
+
queryParameters = queryParameters.set('size', size);
|
|
826
|
+
}
|
|
827
|
+
if (sort) {
|
|
828
|
+
sort.forEach((element) => {
|
|
829
|
+
queryParameters = queryParameters.append('sort', element);
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
let headers = this.defaultHeaders;
|
|
833
|
+
// to determine the Accept header
|
|
834
|
+
let httpHeaderAccepts = [
|
|
835
|
+
'*/*'
|
|
836
|
+
];
|
|
837
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
838
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
839
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
840
|
+
}
|
|
841
|
+
// to determine the Content-Type header
|
|
842
|
+
const consumes = [];
|
|
843
|
+
return this.httpClient.request('get', `${this.basePath}/api/campaign`, {
|
|
844
|
+
params: queryParameters,
|
|
845
|
+
withCredentials: this.configuration.withCredentials,
|
|
846
|
+
headers: headers,
|
|
847
|
+
observe: observe,
|
|
848
|
+
reportProgress: reportProgress
|
|
849
|
+
});
|
|
850
|
+
}
|
|
851
|
+
getCampaign(id, observe = 'body', reportProgress = false) {
|
|
852
|
+
if (id === null || id === undefined) {
|
|
853
|
+
throw new Error('Required parameter id was null or undefined when calling getCampaign.');
|
|
854
|
+
}
|
|
855
|
+
let headers = this.defaultHeaders;
|
|
856
|
+
// to determine the Accept header
|
|
857
|
+
let httpHeaderAccepts = [
|
|
858
|
+
'*/*'
|
|
859
|
+
];
|
|
860
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
861
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
862
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
863
|
+
}
|
|
864
|
+
// to determine the Content-Type header
|
|
865
|
+
const consumes = [];
|
|
866
|
+
return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}`, {
|
|
867
|
+
withCredentials: this.configuration.withCredentials,
|
|
868
|
+
headers: headers,
|
|
869
|
+
observe: observe,
|
|
870
|
+
reportProgress: reportProgress
|
|
871
|
+
});
|
|
872
|
+
}
|
|
873
|
+
getCampaignLogs(id, page, size, sort, observe = 'body', reportProgress = false) {
|
|
874
|
+
if (id === null || id === undefined) {
|
|
875
|
+
throw new Error('Required parameter id was null or undefined when calling getCampaignLogs.');
|
|
876
|
+
}
|
|
877
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
878
|
+
if (page !== undefined && page !== null) {
|
|
879
|
+
queryParameters = queryParameters.set('page', page);
|
|
880
|
+
}
|
|
881
|
+
if (size !== undefined && size !== null) {
|
|
882
|
+
queryParameters = queryParameters.set('size', size);
|
|
883
|
+
}
|
|
884
|
+
if (sort) {
|
|
885
|
+
sort.forEach((element) => {
|
|
886
|
+
queryParameters = queryParameters.append('sort', element);
|
|
887
|
+
});
|
|
888
|
+
}
|
|
889
|
+
let headers = this.defaultHeaders;
|
|
890
|
+
// to determine the Accept header
|
|
891
|
+
let httpHeaderAccepts = [
|
|
892
|
+
'*/*'
|
|
893
|
+
];
|
|
894
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
895
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
896
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
897
|
+
}
|
|
898
|
+
// to determine the Content-Type header
|
|
899
|
+
const consumes = [];
|
|
900
|
+
return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/log`, {
|
|
901
|
+
params: queryParameters,
|
|
902
|
+
withCredentials: this.configuration.withCredentials,
|
|
903
|
+
headers: headers,
|
|
904
|
+
observe: observe,
|
|
905
|
+
reportProgress: reportProgress
|
|
906
|
+
});
|
|
907
|
+
}
|
|
908
|
+
scheduleUpdate(body, id, observe = 'body', reportProgress = false) {
|
|
909
|
+
if (body === null || body === undefined) {
|
|
910
|
+
throw new Error('Required parameter body was null or undefined when calling scheduleUpdate.');
|
|
911
|
+
}
|
|
912
|
+
if (id === null || id === undefined) {
|
|
913
|
+
throw new Error('Required parameter id was null or undefined when calling scheduleUpdate.');
|
|
914
|
+
}
|
|
915
|
+
let headers = this.defaultHeaders;
|
|
916
|
+
// to determine the Accept header
|
|
917
|
+
let httpHeaderAccepts = [
|
|
918
|
+
'*/*'
|
|
919
|
+
];
|
|
920
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
921
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
922
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
923
|
+
}
|
|
924
|
+
// to determine the Content-Type header
|
|
925
|
+
const consumes = [
|
|
926
|
+
'application/json'
|
|
927
|
+
];
|
|
928
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
929
|
+
if (httpContentTypeSelected != undefined) {
|
|
930
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
931
|
+
}
|
|
932
|
+
return this.httpClient.request('post', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/schedule-update`, {
|
|
933
|
+
body: body,
|
|
934
|
+
withCredentials: this.configuration.withCredentials,
|
|
935
|
+
headers: headers,
|
|
936
|
+
observe: observe,
|
|
937
|
+
reportProgress: reportProgress
|
|
938
|
+
});
|
|
939
|
+
}
|
|
940
|
+
searchCampaign(q, sourcePlatform, observe = 'body', reportProgress = false) {
|
|
941
|
+
if (q === null || q === undefined) {
|
|
942
|
+
throw new Error('Required parameter q was null or undefined when calling searchCampaign.');
|
|
943
|
+
}
|
|
944
|
+
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
945
|
+
throw new Error('Required parameter sourcePlatform was null or undefined when calling searchCampaign.');
|
|
946
|
+
}
|
|
947
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
948
|
+
if (q !== undefined && q !== null) {
|
|
949
|
+
queryParameters = queryParameters.set('q', q);
|
|
950
|
+
}
|
|
951
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
952
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
953
|
+
}
|
|
954
|
+
let headers = this.defaultHeaders;
|
|
955
|
+
// to determine the Accept header
|
|
956
|
+
let httpHeaderAccepts = [
|
|
957
|
+
'*/*'
|
|
958
|
+
];
|
|
959
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
960
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
961
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
962
|
+
}
|
|
963
|
+
// to determine the Content-Type header
|
|
964
|
+
const consumes = [];
|
|
965
|
+
return this.httpClient.request('get', `${this.basePath}/api/campaign/search`, {
|
|
966
|
+
params: queryParameters,
|
|
967
|
+
withCredentials: this.configuration.withCredentials,
|
|
968
|
+
headers: headers,
|
|
969
|
+
observe: observe,
|
|
970
|
+
reportProgress: reportProgress
|
|
971
|
+
});
|
|
972
|
+
}
|
|
973
|
+
setStatus(id, active, observe = 'body', reportProgress = false) {
|
|
974
|
+
if (id === null || id === undefined) {
|
|
975
|
+
throw new Error('Required parameter id was null or undefined when calling setStatus.');
|
|
976
|
+
}
|
|
977
|
+
if (active === null || active === undefined) {
|
|
978
|
+
throw new Error('Required parameter active was null or undefined when calling setStatus.');
|
|
979
|
+
}
|
|
980
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
981
|
+
if (active !== undefined && active !== null) {
|
|
982
|
+
queryParameters = queryParameters.set('active', active);
|
|
983
|
+
}
|
|
984
|
+
let headers = this.defaultHeaders;
|
|
985
|
+
// to determine the Accept header
|
|
986
|
+
let httpHeaderAccepts = [
|
|
987
|
+
'*/*'
|
|
988
|
+
];
|
|
989
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
990
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
991
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
992
|
+
}
|
|
993
|
+
// to determine the Content-Type header
|
|
994
|
+
const consumes = [];
|
|
995
|
+
return this.httpClient.request('post', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/status`, {
|
|
996
|
+
params: queryParameters,
|
|
997
|
+
withCredentials: this.configuration.withCredentials,
|
|
998
|
+
headers: headers,
|
|
999
|
+
observe: observe,
|
|
1000
|
+
reportProgress: reportProgress
|
|
1001
|
+
});
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
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 });
|
|
1005
|
+
CampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService });
|
|
1006
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, decorators: [{
|
|
1007
|
+
type: Injectable
|
|
1008
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1009
|
+
type: Optional
|
|
1010
|
+
}, {
|
|
1011
|
+
type: Inject,
|
|
1012
|
+
args: [BASE_PATH]
|
|
1013
|
+
}] }, { type: Configuration, decorators: [{
|
|
1014
|
+
type: Optional
|
|
987
1015
|
}] }]; } });
|
|
988
1016
|
|
|
989
|
-
/**
|
|
990
|
-
* Intellibid API
|
|
991
|
-
* API documentation for the Intellibid platform
|
|
992
|
-
*
|
|
993
|
-
* OpenAPI spec version: 1.0
|
|
994
|
-
*
|
|
995
|
-
*
|
|
996
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
997
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
998
|
-
* Do not edit the class manually.
|
|
999
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1000
|
-
class InsightsControllerService {
|
|
1001
|
-
constructor(httpClient, basePath, configuration) {
|
|
1002
|
-
this.httpClient = httpClient;
|
|
1003
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
1004
|
-
this.defaultHeaders = new HttpHeaders();
|
|
1005
|
-
this.configuration = new Configuration();
|
|
1006
|
-
if (basePath) {
|
|
1007
|
-
this.basePath = basePath;
|
|
1008
|
-
}
|
|
1009
|
-
if (configuration) {
|
|
1010
|
-
this.configuration = configuration;
|
|
1011
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
/**
|
|
1015
|
-
* @param consumes string[] mime-types
|
|
1016
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1017
|
-
*/
|
|
1018
|
-
canConsumeForm(consumes) {
|
|
1019
|
-
const form = 'multipart/form-data';
|
|
1020
|
-
for (const consume of consumes) {
|
|
1021
|
-
if (form === consume) {
|
|
1022
|
-
return true;
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
return false;
|
|
1026
|
-
}
|
|
1027
|
-
getCampaignInsights(startDate, endDate, sourcePlatform, interval, requireMmpReport, observe = 'body', reportProgress = false) {
|
|
1028
|
-
if (startDate === null || startDate === undefined) {
|
|
1029
|
-
throw new Error('Required parameter startDate was null or undefined when calling getCampaignInsights.');
|
|
1030
|
-
}
|
|
1031
|
-
if (endDate === null || endDate === undefined) {
|
|
1032
|
-
throw new Error('Required parameter endDate was null or undefined when calling getCampaignInsights.');
|
|
1033
|
-
}
|
|
1034
|
-
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
1035
|
-
throw new Error('Required parameter sourcePlatform was null or undefined when calling getCampaignInsights.');
|
|
1036
|
-
}
|
|
1037
|
-
if (interval === null || interval === undefined) {
|
|
1038
|
-
throw new Error('Required parameter interval was null or undefined when calling getCampaignInsights.');
|
|
1039
|
-
}
|
|
1040
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1041
|
-
if (startDate !== undefined && startDate !== null) {
|
|
1042
|
-
queryParameters = queryParameters.set('startDate', startDate);
|
|
1043
|
-
}
|
|
1044
|
-
if (endDate !== undefined && endDate !== null) {
|
|
1045
|
-
queryParameters = queryParameters.set('endDate', endDate);
|
|
1046
|
-
}
|
|
1047
|
-
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
1048
|
-
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
1049
|
-
}
|
|
1050
|
-
if (interval !== undefined && interval !== null) {
|
|
1051
|
-
queryParameters = queryParameters.set('interval', interval);
|
|
1052
|
-
}
|
|
1053
|
-
if (requireMmpReport !== undefined && requireMmpReport !== null) {
|
|
1054
|
-
queryParameters = queryParameters.set('requireMmpReport', requireMmpReport);
|
|
1055
|
-
}
|
|
1056
|
-
let headers = this.defaultHeaders;
|
|
1057
|
-
// to determine the Accept header
|
|
1058
|
-
let httpHeaderAccepts = [
|
|
1059
|
-
'*/*'
|
|
1060
|
-
];
|
|
1061
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1062
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1063
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1064
|
-
}
|
|
1065
|
-
// to determine the Content-Type header
|
|
1066
|
-
const consumes = [];
|
|
1067
|
-
return this.httpClient.request('get', `${this.basePath}/api/campaign-insights`, {
|
|
1068
|
-
params: queryParameters,
|
|
1069
|
-
withCredentials: this.configuration.withCredentials,
|
|
1070
|
-
headers: headers,
|
|
1071
|
-
observe: observe,
|
|
1072
|
-
reportProgress: reportProgress
|
|
1073
|
-
});
|
|
1074
|
-
}
|
|
1075
|
-
}
|
|
1076
|
-
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 });
|
|
1077
|
-
InsightsControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService });
|
|
1078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService, decorators: [{
|
|
1079
|
-
type: Injectable
|
|
1080
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1081
|
-
type: Optional
|
|
1082
|
-
}, {
|
|
1083
|
-
type: Inject,
|
|
1084
|
-
args: [BASE_PATH]
|
|
1085
|
-
}] }, { type: Configuration, decorators: [{
|
|
1086
|
-
type: Optional
|
|
1017
|
+
/**
|
|
1018
|
+
* Intellibid API
|
|
1019
|
+
* API documentation for the Intellibid platform
|
|
1020
|
+
*
|
|
1021
|
+
* OpenAPI spec version: 1.0
|
|
1022
|
+
*
|
|
1023
|
+
*
|
|
1024
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1025
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1026
|
+
* Do not edit the class manually.
|
|
1027
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1028
|
+
class InsightsControllerService {
|
|
1029
|
+
constructor(httpClient, basePath, configuration) {
|
|
1030
|
+
this.httpClient = httpClient;
|
|
1031
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
1032
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1033
|
+
this.configuration = new Configuration();
|
|
1034
|
+
if (basePath) {
|
|
1035
|
+
this.basePath = basePath;
|
|
1036
|
+
}
|
|
1037
|
+
if (configuration) {
|
|
1038
|
+
this.configuration = configuration;
|
|
1039
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
/**
|
|
1043
|
+
* @param consumes string[] mime-types
|
|
1044
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1045
|
+
*/
|
|
1046
|
+
canConsumeForm(consumes) {
|
|
1047
|
+
const form = 'multipart/form-data';
|
|
1048
|
+
for (const consume of consumes) {
|
|
1049
|
+
if (form === consume) {
|
|
1050
|
+
return true;
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
return false;
|
|
1054
|
+
}
|
|
1055
|
+
getCampaignInsights(startDate, endDate, sourcePlatform, interval, requireMmpReport, observe = 'body', reportProgress = false) {
|
|
1056
|
+
if (startDate === null || startDate === undefined) {
|
|
1057
|
+
throw new Error('Required parameter startDate was null or undefined when calling getCampaignInsights.');
|
|
1058
|
+
}
|
|
1059
|
+
if (endDate === null || endDate === undefined) {
|
|
1060
|
+
throw new Error('Required parameter endDate was null or undefined when calling getCampaignInsights.');
|
|
1061
|
+
}
|
|
1062
|
+
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
1063
|
+
throw new Error('Required parameter sourcePlatform was null or undefined when calling getCampaignInsights.');
|
|
1064
|
+
}
|
|
1065
|
+
if (interval === null || interval === undefined) {
|
|
1066
|
+
throw new Error('Required parameter interval was null or undefined when calling getCampaignInsights.');
|
|
1067
|
+
}
|
|
1068
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1069
|
+
if (startDate !== undefined && startDate !== null) {
|
|
1070
|
+
queryParameters = queryParameters.set('startDate', startDate);
|
|
1071
|
+
}
|
|
1072
|
+
if (endDate !== undefined && endDate !== null) {
|
|
1073
|
+
queryParameters = queryParameters.set('endDate', endDate);
|
|
1074
|
+
}
|
|
1075
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
1076
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
1077
|
+
}
|
|
1078
|
+
if (interval !== undefined && interval !== null) {
|
|
1079
|
+
queryParameters = queryParameters.set('interval', interval);
|
|
1080
|
+
}
|
|
1081
|
+
if (requireMmpReport !== undefined && requireMmpReport !== null) {
|
|
1082
|
+
queryParameters = queryParameters.set('requireMmpReport', requireMmpReport);
|
|
1083
|
+
}
|
|
1084
|
+
let headers = this.defaultHeaders;
|
|
1085
|
+
// to determine the Accept header
|
|
1086
|
+
let httpHeaderAccepts = [
|
|
1087
|
+
'*/*'
|
|
1088
|
+
];
|
|
1089
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1090
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1091
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1092
|
+
}
|
|
1093
|
+
// to determine the Content-Type header
|
|
1094
|
+
const consumes = [];
|
|
1095
|
+
return this.httpClient.request('get', `${this.basePath}/api/campaign-insights`, {
|
|
1096
|
+
params: queryParameters,
|
|
1097
|
+
withCredentials: this.configuration.withCredentials,
|
|
1098
|
+
headers: headers,
|
|
1099
|
+
observe: observe,
|
|
1100
|
+
reportProgress: reportProgress
|
|
1101
|
+
});
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
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 });
|
|
1105
|
+
InsightsControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService });
|
|
1106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService, decorators: [{
|
|
1107
|
+
type: Injectable
|
|
1108
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1109
|
+
type: Optional
|
|
1110
|
+
}, {
|
|
1111
|
+
type: Inject,
|
|
1112
|
+
args: [BASE_PATH]
|
|
1113
|
+
}] }, { type: Configuration, decorators: [{
|
|
1114
|
+
type: Optional
|
|
1087
1115
|
}] }]; } });
|
|
1088
1116
|
|
|
1089
|
-
/**
|
|
1090
|
-
* Intellibid API
|
|
1091
|
-
* API documentation for the Intellibid platform
|
|
1092
|
-
*
|
|
1093
|
-
* OpenAPI spec version: 1.0
|
|
1094
|
-
*
|
|
1095
|
-
*
|
|
1096
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1097
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1098
|
-
* Do not edit the class manually.
|
|
1099
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1100
|
-
class LookupDataControllerService {
|
|
1101
|
-
constructor(httpClient, basePath, configuration) {
|
|
1102
|
-
this.httpClient = httpClient;
|
|
1103
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
1104
|
-
this.defaultHeaders = new HttpHeaders();
|
|
1105
|
-
this.configuration = new Configuration();
|
|
1106
|
-
if (basePath) {
|
|
1107
|
-
this.basePath = basePath;
|
|
1108
|
-
}
|
|
1109
|
-
if (configuration) {
|
|
1110
|
-
this.configuration = configuration;
|
|
1111
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1112
|
-
}
|
|
1113
|
-
}
|
|
1114
|
-
/**
|
|
1115
|
-
* @param consumes string[] mime-types
|
|
1116
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1117
|
-
*/
|
|
1118
|
-
canConsumeForm(consumes) {
|
|
1119
|
-
const form = 'multipart/form-data';
|
|
1120
|
-
for (const consume of consumes) {
|
|
1121
|
-
if (form === consume) {
|
|
1122
|
-
return true;
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
1125
|
-
return false;
|
|
1126
|
-
}
|
|
1127
|
-
getAllActiveOS(observe = 'body', reportProgress = false) {
|
|
1128
|
-
let headers = this.defaultHeaders;
|
|
1129
|
-
// to determine the Accept header
|
|
1130
|
-
let httpHeaderAccepts = [
|
|
1131
|
-
'*/*'
|
|
1132
|
-
];
|
|
1133
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1134
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1135
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1136
|
-
}
|
|
1137
|
-
// to determine the Content-Type header
|
|
1138
|
-
const consumes = [];
|
|
1139
|
-
return this.httpClient.request('get', `${this.basePath}/api/lookups/os`, {
|
|
1140
|
-
withCredentials: this.configuration.withCredentials,
|
|
1141
|
-
headers: headers,
|
|
1142
|
-
observe: observe,
|
|
1143
|
-
reportProgress: reportProgress
|
|
1144
|
-
});
|
|
1145
|
-
}
|
|
1146
|
-
getAllActivePlatforms(observe = 'body', reportProgress = false) {
|
|
1147
|
-
let headers = this.defaultHeaders;
|
|
1148
|
-
// to determine the Accept header
|
|
1149
|
-
let httpHeaderAccepts = [
|
|
1150
|
-
'*/*'
|
|
1151
|
-
];
|
|
1152
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1153
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1154
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1155
|
-
}
|
|
1156
|
-
// to determine the Content-Type header
|
|
1157
|
-
const consumes = [];
|
|
1158
|
-
return this.httpClient.request('get', `${this.basePath}/api/lookups/platforms`, {
|
|
1159
|
-
withCredentials: this.configuration.withCredentials,
|
|
1160
|
-
headers: headers,
|
|
1161
|
-
observe: observe,
|
|
1162
|
-
reportProgress: reportProgress
|
|
1163
|
-
});
|
|
1164
|
-
}
|
|
1165
|
-
getAllBusinessZones(observe = 'body', reportProgress = false) {
|
|
1166
|
-
let headers = this.defaultHeaders;
|
|
1167
|
-
// to determine the Accept header
|
|
1168
|
-
let httpHeaderAccepts = [
|
|
1169
|
-
'*/*'
|
|
1170
|
-
];
|
|
1171
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1172
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1173
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1174
|
-
}
|
|
1175
|
-
// to determine the Content-Type header
|
|
1176
|
-
const consumes = [];
|
|
1177
|
-
return this.httpClient.request('get', `${this.basePath}/api/lookups/business-zones`, {
|
|
1178
|
-
withCredentials: this.configuration.withCredentials,
|
|
1179
|
-
headers: headers,
|
|
1180
|
-
observe: observe,
|
|
1181
|
-
reportProgress: reportProgress
|
|
1182
|
-
});
|
|
1183
|
-
}
|
|
1184
|
-
getAllCountries(observe = 'body', reportProgress = false) {
|
|
1185
|
-
let headers = this.defaultHeaders;
|
|
1186
|
-
// to determine the Accept header
|
|
1187
|
-
let httpHeaderAccepts = [
|
|
1188
|
-
'*/*'
|
|
1189
|
-
];
|
|
1190
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1191
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1192
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1193
|
-
}
|
|
1194
|
-
// to determine the Content-Type header
|
|
1195
|
-
const consumes = [];
|
|
1196
|
-
return this.httpClient.request('get', `${this.basePath}/api/lookups/countries`, {
|
|
1197
|
-
withCredentials: this.configuration.withCredentials,
|
|
1198
|
-
headers: headers,
|
|
1199
|
-
observe: observe,
|
|
1200
|
-
reportProgress: reportProgress
|
|
1201
|
-
});
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
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 });
|
|
1205
|
-
LookupDataControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService });
|
|
1206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService, decorators: [{
|
|
1207
|
-
type: Injectable
|
|
1208
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1209
|
-
type: Optional
|
|
1210
|
-
}, {
|
|
1211
|
-
type: Inject,
|
|
1212
|
-
args: [BASE_PATH]
|
|
1213
|
-
}] }, { type: Configuration, decorators: [{
|
|
1214
|
-
type: Optional
|
|
1117
|
+
/**
|
|
1118
|
+
* Intellibid API
|
|
1119
|
+
* API documentation for the Intellibid platform
|
|
1120
|
+
*
|
|
1121
|
+
* OpenAPI spec version: 1.0
|
|
1122
|
+
*
|
|
1123
|
+
*
|
|
1124
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1125
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1126
|
+
* Do not edit the class manually.
|
|
1127
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1128
|
+
class LookupDataControllerService {
|
|
1129
|
+
constructor(httpClient, basePath, configuration) {
|
|
1130
|
+
this.httpClient = httpClient;
|
|
1131
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
1132
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1133
|
+
this.configuration = new Configuration();
|
|
1134
|
+
if (basePath) {
|
|
1135
|
+
this.basePath = basePath;
|
|
1136
|
+
}
|
|
1137
|
+
if (configuration) {
|
|
1138
|
+
this.configuration = configuration;
|
|
1139
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
/**
|
|
1143
|
+
* @param consumes string[] mime-types
|
|
1144
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1145
|
+
*/
|
|
1146
|
+
canConsumeForm(consumes) {
|
|
1147
|
+
const form = 'multipart/form-data';
|
|
1148
|
+
for (const consume of consumes) {
|
|
1149
|
+
if (form === consume) {
|
|
1150
|
+
return true;
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
return false;
|
|
1154
|
+
}
|
|
1155
|
+
getAllActiveOS(observe = 'body', reportProgress = false) {
|
|
1156
|
+
let headers = this.defaultHeaders;
|
|
1157
|
+
// to determine the Accept header
|
|
1158
|
+
let httpHeaderAccepts = [
|
|
1159
|
+
'*/*'
|
|
1160
|
+
];
|
|
1161
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1162
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1163
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1164
|
+
}
|
|
1165
|
+
// to determine the Content-Type header
|
|
1166
|
+
const consumes = [];
|
|
1167
|
+
return this.httpClient.request('get', `${this.basePath}/api/lookups/os`, {
|
|
1168
|
+
withCredentials: this.configuration.withCredentials,
|
|
1169
|
+
headers: headers,
|
|
1170
|
+
observe: observe,
|
|
1171
|
+
reportProgress: reportProgress
|
|
1172
|
+
});
|
|
1173
|
+
}
|
|
1174
|
+
getAllActivePlatforms(observe = 'body', reportProgress = false) {
|
|
1175
|
+
let headers = this.defaultHeaders;
|
|
1176
|
+
// to determine the Accept header
|
|
1177
|
+
let httpHeaderAccepts = [
|
|
1178
|
+
'*/*'
|
|
1179
|
+
];
|
|
1180
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1181
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1182
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1183
|
+
}
|
|
1184
|
+
// to determine the Content-Type header
|
|
1185
|
+
const consumes = [];
|
|
1186
|
+
return this.httpClient.request('get', `${this.basePath}/api/lookups/platforms`, {
|
|
1187
|
+
withCredentials: this.configuration.withCredentials,
|
|
1188
|
+
headers: headers,
|
|
1189
|
+
observe: observe,
|
|
1190
|
+
reportProgress: reportProgress
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1193
|
+
getAllBusinessZones(observe = 'body', reportProgress = false) {
|
|
1194
|
+
let headers = this.defaultHeaders;
|
|
1195
|
+
// to determine the Accept header
|
|
1196
|
+
let httpHeaderAccepts = [
|
|
1197
|
+
'*/*'
|
|
1198
|
+
];
|
|
1199
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1200
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1201
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1202
|
+
}
|
|
1203
|
+
// to determine the Content-Type header
|
|
1204
|
+
const consumes = [];
|
|
1205
|
+
return this.httpClient.request('get', `${this.basePath}/api/lookups/business-zones`, {
|
|
1206
|
+
withCredentials: this.configuration.withCredentials,
|
|
1207
|
+
headers: headers,
|
|
1208
|
+
observe: observe,
|
|
1209
|
+
reportProgress: reportProgress
|
|
1210
|
+
});
|
|
1211
|
+
}
|
|
1212
|
+
getAllCountries(observe = 'body', reportProgress = false) {
|
|
1213
|
+
let headers = this.defaultHeaders;
|
|
1214
|
+
// to determine the Accept header
|
|
1215
|
+
let httpHeaderAccepts = [
|
|
1216
|
+
'*/*'
|
|
1217
|
+
];
|
|
1218
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1219
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1220
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1221
|
+
}
|
|
1222
|
+
// to determine the Content-Type header
|
|
1223
|
+
const consumes = [];
|
|
1224
|
+
return this.httpClient.request('get', `${this.basePath}/api/lookups/countries`, {
|
|
1225
|
+
withCredentials: this.configuration.withCredentials,
|
|
1226
|
+
headers: headers,
|
|
1227
|
+
observe: observe,
|
|
1228
|
+
reportProgress: reportProgress
|
|
1229
|
+
});
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
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 });
|
|
1233
|
+
LookupDataControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService });
|
|
1234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService, decorators: [{
|
|
1235
|
+
type: Injectable
|
|
1236
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1237
|
+
type: Optional
|
|
1238
|
+
}, {
|
|
1239
|
+
type: Inject,
|
|
1240
|
+
args: [BASE_PATH]
|
|
1241
|
+
}] }, { type: Configuration, decorators: [{
|
|
1242
|
+
type: Optional
|
|
1215
1243
|
}] }]; } });
|
|
1216
1244
|
|
|
1217
1245
|
const APIS = [AdvertiserControllerService, AudienceControllerService, CampaignControllerService, InsightsControllerService, LookupDataControllerService];
|
|
1218
1246
|
|
|
1219
|
-
/**
|
|
1220
|
-
* Intellibid API
|
|
1221
|
-
* API documentation for the Intellibid platform
|
|
1222
|
-
*
|
|
1223
|
-
* OpenAPI spec version: 1.0
|
|
1224
|
-
*
|
|
1225
|
-
*
|
|
1226
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1227
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1228
|
-
* Do not edit the class manually.
|
|
1229
|
-
*/
|
|
1230
|
-
var AdAccountResponse;
|
|
1231
|
-
(function (AdAccountResponse) {
|
|
1232
|
-
AdAccountResponse.SourcePlatformEnum = {
|
|
1233
|
-
META: 'META',
|
|
1234
|
-
TIKTOK: 'TIKTOK',
|
|
1235
|
-
SNAPCHAT: 'SNAPCHAT',
|
|
1236
|
-
GOOGLE: 'GOOGLE',
|
|
1237
|
-
LYADS: 'LYADS'
|
|
1238
|
-
};
|
|
1239
|
-
AdAccountResponse.AccountTypeEnum = {
|
|
1240
|
-
SEARCH: 'SEARCH',
|
|
1241
|
-
DISPLAY: 'DISPLAY'
|
|
1242
|
-
};
|
|
1247
|
+
/**
|
|
1248
|
+
* Intellibid API
|
|
1249
|
+
* API documentation for the Intellibid platform
|
|
1250
|
+
*
|
|
1251
|
+
* OpenAPI spec version: 1.0
|
|
1252
|
+
*
|
|
1253
|
+
*
|
|
1254
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1255
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1256
|
+
* Do not edit the class manually.
|
|
1257
|
+
*/
|
|
1258
|
+
var AdAccountResponse;
|
|
1259
|
+
(function (AdAccountResponse) {
|
|
1260
|
+
AdAccountResponse.SourcePlatformEnum = {
|
|
1261
|
+
META: 'META',
|
|
1262
|
+
TIKTOK: 'TIKTOK',
|
|
1263
|
+
SNAPCHAT: 'SNAPCHAT',
|
|
1264
|
+
GOOGLE: 'GOOGLE',
|
|
1265
|
+
LYADS: 'LYADS'
|
|
1266
|
+
};
|
|
1267
|
+
AdAccountResponse.AccountTypeEnum = {
|
|
1268
|
+
SEARCH: 'SEARCH',
|
|
1269
|
+
DISPLAY: 'DISPLAY'
|
|
1270
|
+
};
|
|
1243
1271
|
})(AdAccountResponse || (AdAccountResponse = {}));
|
|
1244
1272
|
|
|
1245
|
-
/**
|
|
1246
|
-
* Intellibid API
|
|
1247
|
-
* API documentation for the Intellibid platform
|
|
1248
|
-
*
|
|
1249
|
-
* OpenAPI spec version: 1.0
|
|
1250
|
-
*
|
|
1251
|
-
*
|
|
1252
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1253
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1254
|
-
* Do not edit the class manually.
|
|
1273
|
+
/**
|
|
1274
|
+
* Intellibid API
|
|
1275
|
+
* API documentation for the Intellibid platform
|
|
1276
|
+
*
|
|
1277
|
+
* OpenAPI spec version: 1.0
|
|
1278
|
+
*
|
|
1279
|
+
*
|
|
1280
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1281
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1282
|
+
* Do not edit the class manually.
|
|
1255
1283
|
*/
|
|
1256
1284
|
|
|
1257
|
-
/**
|
|
1258
|
-
* Intellibid API
|
|
1259
|
-
* API documentation for the Intellibid platform
|
|
1260
|
-
*
|
|
1261
|
-
* OpenAPI spec version: 1.0
|
|
1262
|
-
*
|
|
1263
|
-
*
|
|
1264
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1265
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1266
|
-
* Do not edit the class manually.
|
|
1285
|
+
/**
|
|
1286
|
+
* Intellibid API
|
|
1287
|
+
* API documentation for the Intellibid platform
|
|
1288
|
+
*
|
|
1289
|
+
* OpenAPI spec version: 1.0
|
|
1290
|
+
*
|
|
1291
|
+
*
|
|
1292
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1293
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1294
|
+
* Do not edit the class manually.
|
|
1267
1295
|
*/
|
|
1268
1296
|
|
|
1269
|
-
/**
|
|
1270
|
-
* Intellibid API
|
|
1271
|
-
* API documentation for the Intellibid platform
|
|
1272
|
-
*
|
|
1273
|
-
* OpenAPI spec version: 1.0
|
|
1274
|
-
*
|
|
1275
|
-
*
|
|
1276
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1277
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1278
|
-
* Do not edit the class manually.
|
|
1297
|
+
/**
|
|
1298
|
+
* Intellibid API
|
|
1299
|
+
* API documentation for the Intellibid platform
|
|
1300
|
+
*
|
|
1301
|
+
* OpenAPI spec version: 1.0
|
|
1302
|
+
*
|
|
1303
|
+
*
|
|
1304
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1305
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1306
|
+
* Do not edit the class manually.
|
|
1279
1307
|
*/
|
|
1280
1308
|
|
|
1281
|
-
var AudienceResponse;
|
|
1282
|
-
(function (AudienceResponse) {
|
|
1283
|
-
AudienceResponse.GroupTypeEnum = {
|
|
1284
|
-
BUCKETIZEDLIVE: 'BUCKETIZED_LIVE',
|
|
1285
|
-
BLOCKEDLIVE: 'BLOCKED_LIVE',
|
|
1286
|
-
BUCKETIZEDCUSTOM: 'BUCKETIZED_CUSTOM',
|
|
1287
|
-
DSCUSTOMQUERY: 'DS_CUSTOM_QUERY'
|
|
1288
|
-
};
|
|
1289
|
-
AudienceResponse.SyncStatusEnum = {
|
|
1290
|
-
IDLE: 'IDLE',
|
|
1291
|
-
SYNCING: 'SYNCING',
|
|
1292
|
-
PARTIAL: 'PARTIAL',
|
|
1293
|
-
FAILED: 'FAILED',
|
|
1294
|
-
GAVEUP: 'GAVE_UP'
|
|
1295
|
-
};
|
|
1309
|
+
var AudienceResponse;
|
|
1310
|
+
(function (AudienceResponse) {
|
|
1311
|
+
AudienceResponse.GroupTypeEnum = {
|
|
1312
|
+
BUCKETIZEDLIVE: 'BUCKETIZED_LIVE',
|
|
1313
|
+
BLOCKEDLIVE: 'BLOCKED_LIVE',
|
|
1314
|
+
BUCKETIZEDCUSTOM: 'BUCKETIZED_CUSTOM',
|
|
1315
|
+
DSCUSTOMQUERY: 'DS_CUSTOM_QUERY'
|
|
1316
|
+
};
|
|
1317
|
+
AudienceResponse.SyncStatusEnum = {
|
|
1318
|
+
IDLE: 'IDLE',
|
|
1319
|
+
SYNCING: 'SYNCING',
|
|
1320
|
+
PARTIAL: 'PARTIAL',
|
|
1321
|
+
FAILED: 'FAILED',
|
|
1322
|
+
GAVEUP: 'GAVE_UP'
|
|
1323
|
+
};
|
|
1296
1324
|
})(AudienceResponse || (AudienceResponse = {}));
|
|
1297
1325
|
|
|
1298
|
-
/**
|
|
1299
|
-
* Intellibid API
|
|
1300
|
-
* API documentation for the Intellibid platform
|
|
1301
|
-
*
|
|
1302
|
-
* OpenAPI spec version: 1.0
|
|
1303
|
-
*
|
|
1304
|
-
*
|
|
1305
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1306
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1307
|
-
* Do not edit the class manually.
|
|
1326
|
+
/**
|
|
1327
|
+
* Intellibid API
|
|
1328
|
+
* API documentation for the Intellibid platform
|
|
1329
|
+
*
|
|
1330
|
+
* OpenAPI spec version: 1.0
|
|
1331
|
+
*
|
|
1332
|
+
*
|
|
1333
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1334
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1335
|
+
* Do not edit the class manually.
|
|
1308
1336
|
*/
|
|
1309
1337
|
|
|
1310
|
-
/**
|
|
1311
|
-
* Intellibid API
|
|
1312
|
-
* API documentation for the Intellibid platform
|
|
1313
|
-
*
|
|
1314
|
-
* OpenAPI spec version: 1.0
|
|
1315
|
-
*
|
|
1316
|
-
*
|
|
1317
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1318
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1319
|
-
* Do not edit the class manually.
|
|
1338
|
+
/**
|
|
1339
|
+
* Intellibid API
|
|
1340
|
+
* API documentation for the Intellibid platform
|
|
1341
|
+
*
|
|
1342
|
+
* OpenAPI spec version: 1.0
|
|
1343
|
+
*
|
|
1344
|
+
*
|
|
1345
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1346
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1347
|
+
* Do not edit the class manually.
|
|
1320
1348
|
*/
|
|
1321
1349
|
|
|
1322
|
-
/**
|
|
1323
|
-
* Intellibid API
|
|
1324
|
-
* API documentation for the Intellibid platform
|
|
1325
|
-
*
|
|
1326
|
-
* OpenAPI spec version: 1.0
|
|
1327
|
-
*
|
|
1328
|
-
*
|
|
1329
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1330
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1331
|
-
* Do not edit the class manually.
|
|
1332
|
-
*/
|
|
1333
|
-
var CampaignChangeLogResponse;
|
|
1334
|
-
(function (CampaignChangeLogResponse) {
|
|
1335
|
-
CampaignChangeLogResponse.EntityChangedEnum = {
|
|
1336
|
-
STATUS: 'STATUS',
|
|
1337
|
-
BUDGET: 'BUDGET',
|
|
1338
|
-
PAYOUTVALUE: 'PAYOUT_VALUE'
|
|
1339
|
-
};
|
|
1340
|
-
CampaignChangeLogResponse.StatusEnum = {
|
|
1341
|
-
SUCCESS: 'SUCCESS',
|
|
1342
|
-
FAILED: 'FAILED'
|
|
1343
|
-
};
|
|
1350
|
+
/**
|
|
1351
|
+
* Intellibid API
|
|
1352
|
+
* API documentation for the Intellibid platform
|
|
1353
|
+
*
|
|
1354
|
+
* OpenAPI spec version: 1.0
|
|
1355
|
+
*
|
|
1356
|
+
*
|
|
1357
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1358
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1359
|
+
* Do not edit the class manually.
|
|
1360
|
+
*/
|
|
1361
|
+
var CampaignChangeLogResponse;
|
|
1362
|
+
(function (CampaignChangeLogResponse) {
|
|
1363
|
+
CampaignChangeLogResponse.EntityChangedEnum = {
|
|
1364
|
+
STATUS: 'STATUS',
|
|
1365
|
+
BUDGET: 'BUDGET',
|
|
1366
|
+
PAYOUTVALUE: 'PAYOUT_VALUE'
|
|
1367
|
+
};
|
|
1368
|
+
CampaignChangeLogResponse.StatusEnum = {
|
|
1369
|
+
SUCCESS: 'SUCCESS',
|
|
1370
|
+
FAILED: 'FAILED'
|
|
1371
|
+
};
|
|
1344
1372
|
})(CampaignChangeLogResponse || (CampaignChangeLogResponse = {}));
|
|
1345
1373
|
|
|
1346
|
-
/**
|
|
1347
|
-
* Intellibid API
|
|
1348
|
-
* API documentation for the Intellibid platform
|
|
1349
|
-
*
|
|
1350
|
-
* OpenAPI spec version: 1.0
|
|
1351
|
-
*
|
|
1352
|
-
*
|
|
1353
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1354
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1355
|
-
* Do not edit the class manually.
|
|
1356
|
-
*/
|
|
1357
|
-
var CampaignInsightRecord;
|
|
1358
|
-
(function (CampaignInsightRecord) {
|
|
1359
|
-
CampaignInsightRecord.PayoutTypeEnum = {
|
|
1360
|
-
DYNAMICMARGIN: 'DYNAMIC_MARGIN',
|
|
1361
|
-
PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
|
|
1362
|
-
};
|
|
1374
|
+
/**
|
|
1375
|
+
* Intellibid API
|
|
1376
|
+
* API documentation for the Intellibid platform
|
|
1377
|
+
*
|
|
1378
|
+
* OpenAPI spec version: 1.0
|
|
1379
|
+
*
|
|
1380
|
+
*
|
|
1381
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1382
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1383
|
+
* Do not edit the class manually.
|
|
1384
|
+
*/
|
|
1385
|
+
var CampaignInsightRecord;
|
|
1386
|
+
(function (CampaignInsightRecord) {
|
|
1387
|
+
CampaignInsightRecord.PayoutTypeEnum = {
|
|
1388
|
+
DYNAMICMARGIN: 'DYNAMIC_MARGIN',
|
|
1389
|
+
PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
|
|
1390
|
+
};
|
|
1363
1391
|
})(CampaignInsightRecord || (CampaignInsightRecord = {}));
|
|
1364
1392
|
|
|
1365
|
-
/**
|
|
1366
|
-
* Intellibid API
|
|
1367
|
-
* API documentation for the Intellibid platform
|
|
1368
|
-
*
|
|
1369
|
-
* OpenAPI spec version: 1.0
|
|
1370
|
-
*
|
|
1371
|
-
*
|
|
1372
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1373
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1374
|
-
* Do not edit the class manually.
|
|
1375
|
-
*/
|
|
1376
|
-
var CampaignRequest;
|
|
1377
|
-
(function (CampaignRequest) {
|
|
1378
|
-
CampaignRequest.SourcePlatformEnum = {
|
|
1379
|
-
META: 'META',
|
|
1380
|
-
TIKTOK: 'TIKTOK',
|
|
1381
|
-
SNAPCHAT: 'SNAPCHAT',
|
|
1382
|
-
GOOGLE: 'GOOGLE',
|
|
1383
|
-
LYADS: 'LYADS'
|
|
1384
|
-
};
|
|
1385
|
-
CampaignRequest.PayoutTypeEnum = {
|
|
1386
|
-
DYNAMICMARGIN: 'DYNAMIC_MARGIN',
|
|
1387
|
-
PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
|
|
1388
|
-
};
|
|
1389
|
-
CampaignRequest.GoalEnum = {
|
|
1390
|
-
COSTPERRESULT: 'COST_PER_RESULT',
|
|
1391
|
-
ROAS: 'ROAS'
|
|
1392
|
-
};
|
|
1393
|
-
CampaignRequest.MmpAttributionSettingEnum = {
|
|
1394
|
-
CTA: 'CTA',
|
|
1395
|
-
CTAANDVTA: 'CTA_AND_VTA'
|
|
1396
|
-
};
|
|
1393
|
+
/**
|
|
1394
|
+
* Intellibid API
|
|
1395
|
+
* API documentation for the Intellibid platform
|
|
1396
|
+
*
|
|
1397
|
+
* OpenAPI spec version: 1.0
|
|
1398
|
+
*
|
|
1399
|
+
*
|
|
1400
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1401
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1402
|
+
* Do not edit the class manually.
|
|
1403
|
+
*/
|
|
1404
|
+
var CampaignRequest;
|
|
1405
|
+
(function (CampaignRequest) {
|
|
1406
|
+
CampaignRequest.SourcePlatformEnum = {
|
|
1407
|
+
META: 'META',
|
|
1408
|
+
TIKTOK: 'TIKTOK',
|
|
1409
|
+
SNAPCHAT: 'SNAPCHAT',
|
|
1410
|
+
GOOGLE: 'GOOGLE',
|
|
1411
|
+
LYADS: 'LYADS'
|
|
1412
|
+
};
|
|
1413
|
+
CampaignRequest.PayoutTypeEnum = {
|
|
1414
|
+
DYNAMICMARGIN: 'DYNAMIC_MARGIN',
|
|
1415
|
+
PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
|
|
1416
|
+
};
|
|
1417
|
+
CampaignRequest.GoalEnum = {
|
|
1418
|
+
COSTPERRESULT: 'COST_PER_RESULT',
|
|
1419
|
+
ROAS: 'ROAS'
|
|
1420
|
+
};
|
|
1421
|
+
CampaignRequest.MmpAttributionSettingEnum = {
|
|
1422
|
+
CTA: 'CTA',
|
|
1423
|
+
CTAANDVTA: 'CTA_AND_VTA'
|
|
1424
|
+
};
|
|
1397
1425
|
})(CampaignRequest || (CampaignRequest = {}));
|
|
1398
1426
|
|
|
1399
|
-
var CampaignResponse;
|
|
1400
|
-
(function (CampaignResponse) {
|
|
1401
|
-
CampaignResponse.SourcePlatformEnum = {
|
|
1402
|
-
META: 'META',
|
|
1403
|
-
TIKTOK: 'TIKTOK',
|
|
1404
|
-
SNAPCHAT: 'SNAPCHAT',
|
|
1405
|
-
GOOGLE: 'GOOGLE',
|
|
1406
|
-
LYADS: 'LYADS'
|
|
1407
|
-
};
|
|
1408
|
-
CampaignResponse.AccountTypeEnum = {
|
|
1409
|
-
SEARCH: 'SEARCH',
|
|
1410
|
-
DISPLAY: 'DISPLAY'
|
|
1411
|
-
};
|
|
1412
|
-
CampaignResponse.PayoutTypeEnum = {
|
|
1413
|
-
DYNAMICMARGIN: 'DYNAMIC_MARGIN',
|
|
1414
|
-
PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
|
|
1415
|
-
};
|
|
1416
|
-
CampaignResponse.GoalEnum = {
|
|
1417
|
-
COSTPERRESULT: 'COST_PER_RESULT',
|
|
1418
|
-
ROAS: 'ROAS'
|
|
1419
|
-
};
|
|
1420
|
-
CampaignResponse.MmpAttributionSettingEnum = {
|
|
1421
|
-
CTA: 'CTA',
|
|
1422
|
-
CTAANDVTA: 'CTA_AND_VTA'
|
|
1423
|
-
};
|
|
1427
|
+
var CampaignResponse;
|
|
1428
|
+
(function (CampaignResponse) {
|
|
1429
|
+
CampaignResponse.SourcePlatformEnum = {
|
|
1430
|
+
META: 'META',
|
|
1431
|
+
TIKTOK: 'TIKTOK',
|
|
1432
|
+
SNAPCHAT: 'SNAPCHAT',
|
|
1433
|
+
GOOGLE: 'GOOGLE',
|
|
1434
|
+
LYADS: 'LYADS'
|
|
1435
|
+
};
|
|
1436
|
+
CampaignResponse.AccountTypeEnum = {
|
|
1437
|
+
SEARCH: 'SEARCH',
|
|
1438
|
+
DISPLAY: 'DISPLAY'
|
|
1439
|
+
};
|
|
1440
|
+
CampaignResponse.PayoutTypeEnum = {
|
|
1441
|
+
DYNAMICMARGIN: 'DYNAMIC_MARGIN',
|
|
1442
|
+
PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
|
|
1443
|
+
};
|
|
1444
|
+
CampaignResponse.GoalEnum = {
|
|
1445
|
+
COSTPERRESULT: 'COST_PER_RESULT',
|
|
1446
|
+
ROAS: 'ROAS'
|
|
1447
|
+
};
|
|
1448
|
+
CampaignResponse.MmpAttributionSettingEnum = {
|
|
1449
|
+
CTA: 'CTA',
|
|
1450
|
+
CTAANDVTA: 'CTA_AND_VTA'
|
|
1451
|
+
};
|
|
1424
1452
|
})(CampaignResponse || (CampaignResponse = {}));
|
|
1425
1453
|
|
|
1426
|
-
/**
|
|
1427
|
-
* Intellibid API
|
|
1428
|
-
* API documentation for the Intellibid platform
|
|
1429
|
-
*
|
|
1430
|
-
* OpenAPI spec version: 1.0
|
|
1431
|
-
*
|
|
1432
|
-
*
|
|
1433
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1434
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1435
|
-
* Do not edit the class manually.
|
|
1454
|
+
/**
|
|
1455
|
+
* Intellibid API
|
|
1456
|
+
* API documentation for the Intellibid platform
|
|
1457
|
+
*
|
|
1458
|
+
* OpenAPI spec version: 1.0
|
|
1459
|
+
*
|
|
1460
|
+
*
|
|
1461
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1462
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1463
|
+
* Do not edit the class manually.
|
|
1436
1464
|
*/
|
|
1437
1465
|
|
|
1438
|
-
/**
|
|
1439
|
-
* Intellibid API
|
|
1440
|
-
* API documentation for the Intellibid platform
|
|
1441
|
-
*
|
|
1442
|
-
* OpenAPI spec version: 1.0
|
|
1443
|
-
*
|
|
1444
|
-
*
|
|
1445
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1446
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1447
|
-
* Do not edit the class manually.
|
|
1448
|
-
*/
|
|
1449
|
-
var ChildAudience;
|
|
1450
|
-
(function (ChildAudience) {
|
|
1451
|
-
ChildAudience.AudienceTypeEnum = {
|
|
1452
|
-
DYNAMIC: 'DYNAMIC',
|
|
1453
|
-
CATALOGUE: 'CATALOGUE'
|
|
1454
|
-
};
|
|
1455
|
-
ChildAudience.AudienceSourceEnum = {
|
|
1456
|
-
INTELLIBID: 'INTELLIBID',
|
|
1457
|
-
DS: 'DS'
|
|
1458
|
-
};
|
|
1459
|
-
ChildAudience.UploadModeEnum = {
|
|
1460
|
-
API: 'API',
|
|
1461
|
-
CSV: 'CSV'
|
|
1462
|
-
};
|
|
1463
|
-
ChildAudience.UploadFrequencyEnum = {
|
|
1464
|
-
ONCE: 'ONCE',
|
|
1465
|
-
DAILY: 'DAILY',
|
|
1466
|
-
EVERY2D: 'EVERY_2D',
|
|
1467
|
-
WEEKLY: 'WEEKLY',
|
|
1468
|
-
MONTHLY: 'MONTHLY'
|
|
1469
|
-
};
|
|
1470
|
-
ChildAudience.BlockingOperatorEnum = {
|
|
1471
|
-
GTE: 'GTE',
|
|
1472
|
-
EQ: 'EQ'
|
|
1473
|
-
};
|
|
1466
|
+
/**
|
|
1467
|
+
* Intellibid API
|
|
1468
|
+
* API documentation for the Intellibid platform
|
|
1469
|
+
*
|
|
1470
|
+
* OpenAPI spec version: 1.0
|
|
1471
|
+
*
|
|
1472
|
+
*
|
|
1473
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1474
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1475
|
+
* Do not edit the class manually.
|
|
1476
|
+
*/
|
|
1477
|
+
var ChildAudience;
|
|
1478
|
+
(function (ChildAudience) {
|
|
1479
|
+
ChildAudience.AudienceTypeEnum = {
|
|
1480
|
+
DYNAMIC: 'DYNAMIC',
|
|
1481
|
+
CATALOGUE: 'CATALOGUE'
|
|
1482
|
+
};
|
|
1483
|
+
ChildAudience.AudienceSourceEnum = {
|
|
1484
|
+
INTELLIBID: 'INTELLIBID',
|
|
1485
|
+
DS: 'DS'
|
|
1486
|
+
};
|
|
1487
|
+
ChildAudience.UploadModeEnum = {
|
|
1488
|
+
API: 'API',
|
|
1489
|
+
CSV: 'CSV'
|
|
1490
|
+
};
|
|
1491
|
+
ChildAudience.UploadFrequencyEnum = {
|
|
1492
|
+
ONCE: 'ONCE',
|
|
1493
|
+
DAILY: 'DAILY',
|
|
1494
|
+
EVERY2D: 'EVERY_2D',
|
|
1495
|
+
WEEKLY: 'WEEKLY',
|
|
1496
|
+
MONTHLY: 'MONTHLY'
|
|
1497
|
+
};
|
|
1498
|
+
ChildAudience.BlockingOperatorEnum = {
|
|
1499
|
+
GTE: 'GTE',
|
|
1500
|
+
EQ: 'EQ'
|
|
1501
|
+
};
|
|
1474
1502
|
})(ChildAudience || (ChildAudience = {}));
|
|
1475
1503
|
|
|
1476
|
-
/**
|
|
1477
|
-
* Intellibid API
|
|
1478
|
-
* API documentation for the Intellibid platform
|
|
1479
|
-
*
|
|
1480
|
-
* OpenAPI spec version: 1.0
|
|
1481
|
-
*
|
|
1482
|
-
*
|
|
1483
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1484
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1485
|
-
* Do not edit the class manually.
|
|
1504
|
+
/**
|
|
1505
|
+
* Intellibid API
|
|
1506
|
+
* API documentation for the Intellibid platform
|
|
1507
|
+
*
|
|
1508
|
+
* OpenAPI spec version: 1.0
|
|
1509
|
+
*
|
|
1510
|
+
*
|
|
1511
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1512
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1513
|
+
* Do not edit the class manually.
|
|
1486
1514
|
*/
|
|
1487
1515
|
|
|
1488
|
-
/**
|
|
1489
|
-
* Intellibid API
|
|
1490
|
-
* API documentation for the Intellibid platform
|
|
1491
|
-
*
|
|
1492
|
-
* OpenAPI spec version: 1.0
|
|
1493
|
-
*
|
|
1494
|
-
*
|
|
1495
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1496
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1497
|
-
* Do not edit the class manually.
|
|
1498
|
-
*/
|
|
1499
|
-
var CreateBlockedLiveAudienceRequest;
|
|
1500
|
-
(function (CreateBlockedLiveAudienceRequest) {
|
|
1501
|
-
CreateBlockedLiveAudienceRequest.SourcePlatformEnum = {
|
|
1502
|
-
META: 'META',
|
|
1503
|
-
TIKTOK: 'TIKTOK',
|
|
1504
|
-
SNAPCHAT: 'SNAPCHAT',
|
|
1505
|
-
GOOGLE: 'GOOGLE',
|
|
1506
|
-
LYADS: 'LYADS'
|
|
1507
|
-
};
|
|
1516
|
+
/**
|
|
1517
|
+
* Intellibid API
|
|
1518
|
+
* API documentation for the Intellibid platform
|
|
1519
|
+
*
|
|
1520
|
+
* OpenAPI spec version: 1.0
|
|
1521
|
+
*
|
|
1522
|
+
*
|
|
1523
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1524
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1525
|
+
* Do not edit the class manually.
|
|
1526
|
+
*/
|
|
1527
|
+
var CreateBlockedLiveAudienceRequest;
|
|
1528
|
+
(function (CreateBlockedLiveAudienceRequest) {
|
|
1529
|
+
CreateBlockedLiveAudienceRequest.SourcePlatformEnum = {
|
|
1530
|
+
META: 'META',
|
|
1531
|
+
TIKTOK: 'TIKTOK',
|
|
1532
|
+
SNAPCHAT: 'SNAPCHAT',
|
|
1533
|
+
GOOGLE: 'GOOGLE',
|
|
1534
|
+
LYADS: 'LYADS'
|
|
1535
|
+
};
|
|
1508
1536
|
})(CreateBlockedLiveAudienceRequest || (CreateBlockedLiveAudienceRequest = {}));
|
|
1509
1537
|
|
|
1510
|
-
/**
|
|
1511
|
-
* Intellibid API
|
|
1512
|
-
* API documentation for the Intellibid platform
|
|
1513
|
-
*
|
|
1514
|
-
* OpenAPI spec version: 1.0
|
|
1515
|
-
*
|
|
1516
|
-
*
|
|
1517
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1518
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1519
|
-
* Do not edit the class manually.
|
|
1520
|
-
*/
|
|
1521
|
-
var CreateBucketizedCustomAudienceRequest;
|
|
1522
|
-
(function (CreateBucketizedCustomAudienceRequest) {
|
|
1523
|
-
CreateBucketizedCustomAudienceRequest.SourcePlatformEnum = {
|
|
1524
|
-
META: 'META',
|
|
1525
|
-
TIKTOK: 'TIKTOK',
|
|
1526
|
-
SNAPCHAT: 'SNAPCHAT',
|
|
1527
|
-
GOOGLE: 'GOOGLE',
|
|
1528
|
-
LYADS: 'LYADS'
|
|
1529
|
-
};
|
|
1530
|
-
CreateBucketizedCustomAudienceRequest.AudienceSourceEnum = {
|
|
1531
|
-
INTELLIBID: 'INTELLIBID',
|
|
1532
|
-
DS: 'DS'
|
|
1533
|
-
};
|
|
1534
|
-
CreateBucketizedCustomAudienceRequest.UploadModeEnum = {
|
|
1535
|
-
API: 'API',
|
|
1536
|
-
CSV: 'CSV'
|
|
1537
|
-
};
|
|
1538
|
-
CreateBucketizedCustomAudienceRequest.UploadFrequencyEnum = {
|
|
1539
|
-
ONCE: 'ONCE',
|
|
1540
|
-
DAILY: 'DAILY',
|
|
1541
|
-
EVERY2D: 'EVERY_2D',
|
|
1542
|
-
WEEKLY: 'WEEKLY',
|
|
1543
|
-
MONTHLY: 'MONTHLY'
|
|
1544
|
-
};
|
|
1538
|
+
/**
|
|
1539
|
+
* Intellibid API
|
|
1540
|
+
* API documentation for the Intellibid platform
|
|
1541
|
+
*
|
|
1542
|
+
* OpenAPI spec version: 1.0
|
|
1543
|
+
*
|
|
1544
|
+
*
|
|
1545
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1546
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1547
|
+
* Do not edit the class manually.
|
|
1548
|
+
*/
|
|
1549
|
+
var CreateBucketizedCustomAudienceRequest;
|
|
1550
|
+
(function (CreateBucketizedCustomAudienceRequest) {
|
|
1551
|
+
CreateBucketizedCustomAudienceRequest.SourcePlatformEnum = {
|
|
1552
|
+
META: 'META',
|
|
1553
|
+
TIKTOK: 'TIKTOK',
|
|
1554
|
+
SNAPCHAT: 'SNAPCHAT',
|
|
1555
|
+
GOOGLE: 'GOOGLE',
|
|
1556
|
+
LYADS: 'LYADS'
|
|
1557
|
+
};
|
|
1558
|
+
CreateBucketizedCustomAudienceRequest.AudienceSourceEnum = {
|
|
1559
|
+
INTELLIBID: 'INTELLIBID',
|
|
1560
|
+
DS: 'DS'
|
|
1561
|
+
};
|
|
1562
|
+
CreateBucketizedCustomAudienceRequest.UploadModeEnum = {
|
|
1563
|
+
API: 'API',
|
|
1564
|
+
CSV: 'CSV'
|
|
1565
|
+
};
|
|
1566
|
+
CreateBucketizedCustomAudienceRequest.UploadFrequencyEnum = {
|
|
1567
|
+
ONCE: 'ONCE',
|
|
1568
|
+
DAILY: 'DAILY',
|
|
1569
|
+
EVERY2D: 'EVERY_2D',
|
|
1570
|
+
WEEKLY: 'WEEKLY',
|
|
1571
|
+
MONTHLY: 'MONTHLY'
|
|
1572
|
+
};
|
|
1545
1573
|
})(CreateBucketizedCustomAudienceRequest || (CreateBucketizedCustomAudienceRequest = {}));
|
|
1546
1574
|
|
|
1547
|
-
/**
|
|
1548
|
-
* Intellibid API
|
|
1549
|
-
* API documentation for the Intellibid platform
|
|
1550
|
-
*
|
|
1551
|
-
* OpenAPI spec version: 1.0
|
|
1552
|
-
*
|
|
1553
|
-
*
|
|
1554
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1555
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1556
|
-
* Do not edit the class manually.
|
|
1557
|
-
*/
|
|
1558
|
-
var CreateBucketizedLiveAudienceRequest;
|
|
1559
|
-
(function (CreateBucketizedLiveAudienceRequest) {
|
|
1560
|
-
CreateBucketizedLiveAudienceRequest.SourcePlatformEnum = {
|
|
1561
|
-
META: 'META',
|
|
1562
|
-
TIKTOK: 'TIKTOK',
|
|
1563
|
-
SNAPCHAT: 'SNAPCHAT',
|
|
1564
|
-
GOOGLE: 'GOOGLE',
|
|
1565
|
-
LYADS: 'LYADS'
|
|
1566
|
-
};
|
|
1567
|
-
CreateBucketizedLiveAudienceRequest.AudienceTypeEnum = {
|
|
1568
|
-
DYNAMIC: 'DYNAMIC',
|
|
1569
|
-
CATALOGUE: 'CATALOGUE'
|
|
1570
|
-
};
|
|
1575
|
+
/**
|
|
1576
|
+
* Intellibid API
|
|
1577
|
+
* API documentation for the Intellibid platform
|
|
1578
|
+
*
|
|
1579
|
+
* OpenAPI spec version: 1.0
|
|
1580
|
+
*
|
|
1581
|
+
*
|
|
1582
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1583
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1584
|
+
* Do not edit the class manually.
|
|
1585
|
+
*/
|
|
1586
|
+
var CreateBucketizedLiveAudienceRequest;
|
|
1587
|
+
(function (CreateBucketizedLiveAudienceRequest) {
|
|
1588
|
+
CreateBucketizedLiveAudienceRequest.SourcePlatformEnum = {
|
|
1589
|
+
META: 'META',
|
|
1590
|
+
TIKTOK: 'TIKTOK',
|
|
1591
|
+
SNAPCHAT: 'SNAPCHAT',
|
|
1592
|
+
GOOGLE: 'GOOGLE',
|
|
1593
|
+
LYADS: 'LYADS'
|
|
1594
|
+
};
|
|
1595
|
+
CreateBucketizedLiveAudienceRequest.AudienceTypeEnum = {
|
|
1596
|
+
DYNAMIC: 'DYNAMIC',
|
|
1597
|
+
CATALOGUE: 'CATALOGUE'
|
|
1598
|
+
};
|
|
1571
1599
|
})(CreateBucketizedLiveAudienceRequest || (CreateBucketizedLiveAudienceRequest = {}));
|
|
1572
1600
|
|
|
1573
|
-
/**
|
|
1574
|
-
* Intellibid API
|
|
1575
|
-
* API documentation for the Intellibid platform
|
|
1576
|
-
*
|
|
1577
|
-
* OpenAPI spec version: 1.0
|
|
1578
|
-
*
|
|
1579
|
-
*
|
|
1580
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1581
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1582
|
-
* Do not edit the class manually.
|
|
1583
|
-
*/
|
|
1584
|
-
var CreateDsCustomQueryAudienceRequest;
|
|
1585
|
-
(function (CreateDsCustomQueryAudienceRequest) {
|
|
1586
|
-
CreateDsCustomQueryAudienceRequest.SourcePlatformEnum = {
|
|
1587
|
-
META: 'META',
|
|
1588
|
-
TIKTOK: 'TIKTOK',
|
|
1589
|
-
SNAPCHAT: 'SNAPCHAT',
|
|
1590
|
-
GOOGLE: 'GOOGLE',
|
|
1591
|
-
LYADS: 'LYADS'
|
|
1592
|
-
};
|
|
1593
|
-
CreateDsCustomQueryAudienceRequest.UploadModeEnum = {
|
|
1594
|
-
API: 'API',
|
|
1595
|
-
CSV: 'CSV'
|
|
1596
|
-
};
|
|
1597
|
-
CreateDsCustomQueryAudienceRequest.UploadFrequencyEnum = {
|
|
1598
|
-
ONCE: 'ONCE',
|
|
1599
|
-
DAILY: 'DAILY',
|
|
1600
|
-
EVERY2D: 'EVERY_2D',
|
|
1601
|
-
WEEKLY: 'WEEKLY',
|
|
1602
|
-
MONTHLY: 'MONTHLY'
|
|
1603
|
-
};
|
|
1601
|
+
/**
|
|
1602
|
+
* Intellibid API
|
|
1603
|
+
* API documentation for the Intellibid platform
|
|
1604
|
+
*
|
|
1605
|
+
* OpenAPI spec version: 1.0
|
|
1606
|
+
*
|
|
1607
|
+
*
|
|
1608
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1609
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1610
|
+
* Do not edit the class manually.
|
|
1611
|
+
*/
|
|
1612
|
+
var CreateDsCustomQueryAudienceRequest;
|
|
1613
|
+
(function (CreateDsCustomQueryAudienceRequest) {
|
|
1614
|
+
CreateDsCustomQueryAudienceRequest.SourcePlatformEnum = {
|
|
1615
|
+
META: 'META',
|
|
1616
|
+
TIKTOK: 'TIKTOK',
|
|
1617
|
+
SNAPCHAT: 'SNAPCHAT',
|
|
1618
|
+
GOOGLE: 'GOOGLE',
|
|
1619
|
+
LYADS: 'LYADS'
|
|
1620
|
+
};
|
|
1621
|
+
CreateDsCustomQueryAudienceRequest.UploadModeEnum = {
|
|
1622
|
+
API: 'API',
|
|
1623
|
+
CSV: 'CSV'
|
|
1624
|
+
};
|
|
1625
|
+
CreateDsCustomQueryAudienceRequest.UploadFrequencyEnum = {
|
|
1626
|
+
ONCE: 'ONCE',
|
|
1627
|
+
DAILY: 'DAILY',
|
|
1628
|
+
EVERY2D: 'EVERY_2D',
|
|
1629
|
+
WEEKLY: 'WEEKLY',
|
|
1630
|
+
MONTHLY: 'MONTHLY'
|
|
1631
|
+
};
|
|
1604
1632
|
})(CreateDsCustomQueryAudienceRequest || (CreateDsCustomQueryAudienceRequest = {}));
|
|
1605
1633
|
|
|
1606
|
-
/**
|
|
1607
|
-
* Intellibid API
|
|
1608
|
-
* API documentation for the Intellibid platform
|
|
1609
|
-
*
|
|
1610
|
-
* OpenAPI spec version: 1.0
|
|
1611
|
-
*
|
|
1612
|
-
*
|
|
1613
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1614
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1615
|
-
* Do not edit the class manually.
|
|
1634
|
+
/**
|
|
1635
|
+
* Intellibid API
|
|
1636
|
+
* API documentation for the Intellibid platform
|
|
1637
|
+
*
|
|
1638
|
+
* OpenAPI spec version: 1.0
|
|
1639
|
+
*
|
|
1640
|
+
*
|
|
1641
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1642
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1643
|
+
* Do not edit the class manually.
|
|
1616
1644
|
*/
|
|
1617
1645
|
|
|
1618
|
-
/**
|
|
1619
|
-
* Intellibid API
|
|
1620
|
-
* API documentation for the Intellibid platform
|
|
1621
|
-
*
|
|
1622
|
-
* OpenAPI spec version: 1.0
|
|
1623
|
-
*
|
|
1624
|
-
*
|
|
1625
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1626
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1627
|
-
* Do not edit the class manually.
|
|
1646
|
+
/**
|
|
1647
|
+
* Intellibid API
|
|
1648
|
+
* API documentation for the Intellibid platform
|
|
1649
|
+
*
|
|
1650
|
+
* OpenAPI spec version: 1.0
|
|
1651
|
+
*
|
|
1652
|
+
*
|
|
1653
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1654
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1655
|
+
* Do not edit the class manually.
|
|
1628
1656
|
*/
|
|
1629
1657
|
|
|
1630
|
-
/**
|
|
1631
|
-
* Intellibid API
|
|
1632
|
-
* API documentation for the Intellibid platform
|
|
1633
|
-
*
|
|
1634
|
-
* OpenAPI spec version: 1.0
|
|
1635
|
-
*
|
|
1636
|
-
*
|
|
1637
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1638
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1639
|
-
* Do not edit the class manually.
|
|
1658
|
+
/**
|
|
1659
|
+
* Intellibid API
|
|
1660
|
+
* API documentation for the Intellibid platform
|
|
1661
|
+
*
|
|
1662
|
+
* OpenAPI spec version: 1.0
|
|
1663
|
+
*
|
|
1664
|
+
*
|
|
1665
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1666
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1667
|
+
* Do not edit the class manually.
|
|
1640
1668
|
*/
|
|
1641
1669
|
|
|
1642
|
-
/**
|
|
1643
|
-
* Intellibid API
|
|
1644
|
-
* API documentation for the Intellibid platform
|
|
1645
|
-
*
|
|
1646
|
-
* OpenAPI spec version: 1.0
|
|
1647
|
-
*
|
|
1648
|
-
*
|
|
1649
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1650
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1651
|
-
* Do not edit the class manually.
|
|
1652
|
-
*/
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1670
|
+
/**
|
|
1671
|
+
* Intellibid API
|
|
1672
|
+
* API documentation for the Intellibid platform
|
|
1673
|
+
*
|
|
1674
|
+
* OpenAPI spec version: 1.0
|
|
1675
|
+
*
|
|
1676
|
+
*
|
|
1677
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1678
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1679
|
+
* Do not edit the class manually.
|
|
1680
|
+
*/
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* Intellibid API
|
|
1684
|
+
* API documentation for the Intellibid platform
|
|
1685
|
+
*
|
|
1686
|
+
* OpenAPI spec version: 1.0
|
|
1687
|
+
*
|
|
1688
|
+
*
|
|
1689
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1690
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1691
|
+
* Do not edit the class manually.
|
|
1692
|
+
*/
|
|
1693
|
+
var ProductSetRequest;
|
|
1694
|
+
(function (ProductSetRequest) {
|
|
1695
|
+
ProductSetRequest.SourcePlatformEnum = {
|
|
1696
|
+
META: 'META',
|
|
1697
|
+
TIKTOK: 'TIKTOK',
|
|
1698
|
+
SNAPCHAT: 'SNAPCHAT',
|
|
1699
|
+
GOOGLE: 'GOOGLE',
|
|
1700
|
+
LYADS: 'LYADS'
|
|
1701
|
+
};
|
|
1662
1702
|
})(ProductSetRequest || (ProductSetRequest = {}));
|
|
1663
1703
|
|
|
1664
|
-
/**
|
|
1665
|
-
* Intellibid API
|
|
1666
|
-
* API documentation for the Intellibid platform
|
|
1667
|
-
*
|
|
1668
|
-
* OpenAPI spec version: 1.0
|
|
1669
|
-
*
|
|
1670
|
-
*
|
|
1671
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1672
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1673
|
-
* Do not edit the class manually.
|
|
1674
|
-
*/
|
|
1675
|
-
var ProductSetResponse;
|
|
1676
|
-
(function (ProductSetResponse) {
|
|
1677
|
-
ProductSetResponse.SourcePlatformEnum = {
|
|
1678
|
-
META: 'META',
|
|
1679
|
-
TIKTOK: 'TIKTOK',
|
|
1680
|
-
SNAPCHAT: 'SNAPCHAT',
|
|
1681
|
-
GOOGLE: 'GOOGLE',
|
|
1682
|
-
LYADS: 'LYADS'
|
|
1683
|
-
};
|
|
1704
|
+
/**
|
|
1705
|
+
* Intellibid API
|
|
1706
|
+
* API documentation for the Intellibid platform
|
|
1707
|
+
*
|
|
1708
|
+
* OpenAPI spec version: 1.0
|
|
1709
|
+
*
|
|
1710
|
+
*
|
|
1711
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1712
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1713
|
+
* Do not edit the class manually.
|
|
1714
|
+
*/
|
|
1715
|
+
var ProductSetResponse;
|
|
1716
|
+
(function (ProductSetResponse) {
|
|
1717
|
+
ProductSetResponse.SourcePlatformEnum = {
|
|
1718
|
+
META: 'META',
|
|
1719
|
+
TIKTOK: 'TIKTOK',
|
|
1720
|
+
SNAPCHAT: 'SNAPCHAT',
|
|
1721
|
+
GOOGLE: 'GOOGLE',
|
|
1722
|
+
LYADS: 'LYADS'
|
|
1723
|
+
};
|
|
1684
1724
|
})(ProductSetResponse || (ProductSetResponse = {}));
|
|
1685
1725
|
|
|
1686
|
-
/**
|
|
1687
|
-
* Intellibid API
|
|
1688
|
-
* API documentation for the Intellibid platform
|
|
1689
|
-
*
|
|
1690
|
-
* OpenAPI spec version: 1.0
|
|
1691
|
-
*
|
|
1692
|
-
*
|
|
1693
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1694
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1695
|
-
* Do not edit the class manually.
|
|
1696
|
-
*/
|
|
1697
|
-
var ScheduleUpdateRequest;
|
|
1698
|
-
(function (ScheduleUpdateRequest) {
|
|
1699
|
-
ScheduleUpdateRequest.RequestTypeEnum = {
|
|
1700
|
-
BUDGET: 'BUDGET',
|
|
1701
|
-
PAYOUTVALUE: 'PAYOUT_VALUE'
|
|
1702
|
-
};
|
|
1726
|
+
/**
|
|
1727
|
+
* Intellibid API
|
|
1728
|
+
* API documentation for the Intellibid platform
|
|
1729
|
+
*
|
|
1730
|
+
* OpenAPI spec version: 1.0
|
|
1731
|
+
*
|
|
1732
|
+
*
|
|
1733
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1734
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1735
|
+
* Do not edit the class manually.
|
|
1736
|
+
*/
|
|
1737
|
+
var ScheduleUpdateRequest;
|
|
1738
|
+
(function (ScheduleUpdateRequest) {
|
|
1739
|
+
ScheduleUpdateRequest.RequestTypeEnum = {
|
|
1740
|
+
BUDGET: 'BUDGET',
|
|
1741
|
+
PAYOUTVALUE: 'PAYOUT_VALUE'
|
|
1742
|
+
};
|
|
1703
1743
|
})(ScheduleUpdateRequest || (ScheduleUpdateRequest = {}));
|
|
1704
1744
|
|
|
1705
|
-
/**
|
|
1706
|
-
* Intellibid API
|
|
1707
|
-
* API documentation for the Intellibid platform
|
|
1708
|
-
*
|
|
1709
|
-
* OpenAPI spec version: 1.0
|
|
1710
|
-
*
|
|
1711
|
-
*
|
|
1712
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1713
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1714
|
-
* Do not edit the class manually.
|
|
1745
|
+
/**
|
|
1746
|
+
* Intellibid API
|
|
1747
|
+
* API documentation for the Intellibid platform
|
|
1748
|
+
*
|
|
1749
|
+
* OpenAPI spec version: 1.0
|
|
1750
|
+
*
|
|
1751
|
+
*
|
|
1752
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1753
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1754
|
+
* Do not edit the class manually.
|
|
1715
1755
|
*/
|
|
1716
1756
|
|
|
1717
|
-
/**
|
|
1718
|
-
* Intellibid API
|
|
1719
|
-
* API documentation for the Intellibid platform
|
|
1720
|
-
*
|
|
1721
|
-
* OpenAPI spec version: 1.0
|
|
1722
|
-
*
|
|
1723
|
-
*
|
|
1724
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1725
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1726
|
-
* Do not edit the class manually.
|
|
1757
|
+
/**
|
|
1758
|
+
* Intellibid API
|
|
1759
|
+
* API documentation for the Intellibid platform
|
|
1760
|
+
*
|
|
1761
|
+
* OpenAPI spec version: 1.0
|
|
1762
|
+
*
|
|
1763
|
+
*
|
|
1764
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1765
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1766
|
+
* Do not edit the class manually.
|
|
1727
1767
|
*/
|
|
1728
1768
|
|
|
1729
|
-
/**
|
|
1730
|
-
* Intellibid API
|
|
1731
|
-
* API documentation for the Intellibid platform
|
|
1732
|
-
*
|
|
1733
|
-
* OpenAPI spec version: 1.0
|
|
1734
|
-
*
|
|
1735
|
-
*
|
|
1736
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1737
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1738
|
-
* Do not edit the class manually.
|
|
1739
|
-
*/
|
|
1740
|
-
var UpdateAudienceNameRequest;
|
|
1741
|
-
(function (UpdateAudienceNameRequest) {
|
|
1742
|
-
UpdateAudienceNameRequest.SourcePlatformEnum = {
|
|
1743
|
-
META: 'META',
|
|
1744
|
-
TIKTOK: 'TIKTOK',
|
|
1745
|
-
SNAPCHAT: 'SNAPCHAT',
|
|
1746
|
-
GOOGLE: 'GOOGLE',
|
|
1747
|
-
LYADS: 'LYADS'
|
|
1748
|
-
};
|
|
1769
|
+
/**
|
|
1770
|
+
* Intellibid API
|
|
1771
|
+
* API documentation for the Intellibid platform
|
|
1772
|
+
*
|
|
1773
|
+
* OpenAPI spec version: 1.0
|
|
1774
|
+
*
|
|
1775
|
+
*
|
|
1776
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1777
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1778
|
+
* Do not edit the class manually.
|
|
1779
|
+
*/
|
|
1780
|
+
var UpdateAudienceNameRequest;
|
|
1781
|
+
(function (UpdateAudienceNameRequest) {
|
|
1782
|
+
UpdateAudienceNameRequest.SourcePlatformEnum = {
|
|
1783
|
+
META: 'META',
|
|
1784
|
+
TIKTOK: 'TIKTOK',
|
|
1785
|
+
SNAPCHAT: 'SNAPCHAT',
|
|
1786
|
+
GOOGLE: 'GOOGLE',
|
|
1787
|
+
LYADS: 'LYADS'
|
|
1788
|
+
};
|
|
1749
1789
|
})(UpdateAudienceNameRequest || (UpdateAudienceNameRequest = {}));
|
|
1750
1790
|
|
|
1751
|
-
/**
|
|
1752
|
-
* Intellibid API
|
|
1753
|
-
* API documentation for the Intellibid platform
|
|
1754
|
-
*
|
|
1755
|
-
* OpenAPI spec version: 1.0
|
|
1756
|
-
*
|
|
1757
|
-
*
|
|
1758
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1759
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1760
|
-
* Do not edit the class manually.
|
|
1761
|
-
*/
|
|
1762
|
-
var UpdateDsCustomQuerySqlRequest;
|
|
1763
|
-
(function (UpdateDsCustomQuerySqlRequest) {
|
|
1764
|
-
UpdateDsCustomQuerySqlRequest.SourcePlatformEnum = {
|
|
1765
|
-
META: 'META',
|
|
1766
|
-
TIKTOK: 'TIKTOK',
|
|
1767
|
-
SNAPCHAT: 'SNAPCHAT',
|
|
1768
|
-
GOOGLE: 'GOOGLE',
|
|
1769
|
-
LYADS: 'LYADS'
|
|
1770
|
-
};
|
|
1791
|
+
/**
|
|
1792
|
+
* Intellibid API
|
|
1793
|
+
* API documentation for the Intellibid platform
|
|
1794
|
+
*
|
|
1795
|
+
* OpenAPI spec version: 1.0
|
|
1796
|
+
*
|
|
1797
|
+
*
|
|
1798
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1799
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1800
|
+
* Do not edit the class manually.
|
|
1801
|
+
*/
|
|
1802
|
+
var UpdateDsCustomQuerySqlRequest;
|
|
1803
|
+
(function (UpdateDsCustomQuerySqlRequest) {
|
|
1804
|
+
UpdateDsCustomQuerySqlRequest.SourcePlatformEnum = {
|
|
1805
|
+
META: 'META',
|
|
1806
|
+
TIKTOK: 'TIKTOK',
|
|
1807
|
+
SNAPCHAT: 'SNAPCHAT',
|
|
1808
|
+
GOOGLE: 'GOOGLE',
|
|
1809
|
+
LYADS: 'LYADS'
|
|
1810
|
+
};
|
|
1771
1811
|
})(UpdateDsCustomQuerySqlRequest || (UpdateDsCustomQuerySqlRequest = {}));
|
|
1772
1812
|
|
|
1773
|
-
/**
|
|
1774
|
-
* Intellibid API
|
|
1775
|
-
* API documentation for the Intellibid platform
|
|
1776
|
-
*
|
|
1777
|
-
* OpenAPI spec version: 1.0
|
|
1778
|
-
*
|
|
1779
|
-
*
|
|
1780
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1781
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1782
|
-
* Do not edit the class manually.
|
|
1813
|
+
/**
|
|
1814
|
+
* Intellibid API
|
|
1815
|
+
* API documentation for the Intellibid platform
|
|
1816
|
+
*
|
|
1817
|
+
* OpenAPI spec version: 1.0
|
|
1818
|
+
*
|
|
1819
|
+
*
|
|
1820
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1821
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1822
|
+
* Do not edit the class manually.
|
|
1783
1823
|
*/
|
|
1784
1824
|
|
|
1785
|
-
class ApiModule {
|
|
1786
|
-
static forRoot(configurationFactory) {
|
|
1787
|
-
return {
|
|
1788
|
-
ngModule: ApiModule,
|
|
1789
|
-
providers: [{ provide: Configuration, useFactory: configurationFactory }]
|
|
1790
|
-
};
|
|
1791
|
-
}
|
|
1792
|
-
constructor(parentModule, http) {
|
|
1793
|
-
if (parentModule) {
|
|
1794
|
-
throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
|
|
1795
|
-
}
|
|
1796
|
-
if (!http) {
|
|
1797
|
-
throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
|
|
1798
|
-
'See also https://github.com/angular/angular/issues/20575');
|
|
1799
|
-
}
|
|
1800
|
-
}
|
|
1801
|
-
}
|
|
1802
|
-
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 });
|
|
1803
|
-
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
|
|
1804
|
-
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
|
|
1805
|
-
AdvertiserControllerService,
|
|
1806
|
-
AudienceControllerService,
|
|
1807
|
-
CampaignControllerService,
|
|
1808
|
-
InsightsControllerService,
|
|
1809
|
-
LookupDataControllerService
|
|
1810
|
-
] });
|
|
1811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
|
|
1812
|
-
type: NgModule,
|
|
1813
|
-
args: [{
|
|
1814
|
-
imports: [],
|
|
1815
|
-
declarations: [],
|
|
1816
|
-
exports: [],
|
|
1817
|
-
providers: [
|
|
1818
|
-
AdvertiserControllerService,
|
|
1819
|
-
AudienceControllerService,
|
|
1820
|
-
CampaignControllerService,
|
|
1821
|
-
InsightsControllerService,
|
|
1822
|
-
LookupDataControllerService
|
|
1823
|
-
]
|
|
1824
|
-
}]
|
|
1825
|
-
}], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
|
|
1826
|
-
type: Optional
|
|
1827
|
-
}, {
|
|
1828
|
-
type: SkipSelf
|
|
1829
|
-
}] }, { type: i1.HttpClient, decorators: [{
|
|
1830
|
-
type: Optional
|
|
1825
|
+
class ApiModule {
|
|
1826
|
+
static forRoot(configurationFactory) {
|
|
1827
|
+
return {
|
|
1828
|
+
ngModule: ApiModule,
|
|
1829
|
+
providers: [{ provide: Configuration, useFactory: configurationFactory }]
|
|
1830
|
+
};
|
|
1831
|
+
}
|
|
1832
|
+
constructor(parentModule, http) {
|
|
1833
|
+
if (parentModule) {
|
|
1834
|
+
throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
|
|
1835
|
+
}
|
|
1836
|
+
if (!http) {
|
|
1837
|
+
throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
|
|
1838
|
+
'See also https://github.com/angular/angular/issues/20575');
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
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 });
|
|
1843
|
+
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
|
|
1844
|
+
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
|
|
1845
|
+
AdvertiserControllerService,
|
|
1846
|
+
AudienceControllerService,
|
|
1847
|
+
CampaignControllerService,
|
|
1848
|
+
InsightsControllerService,
|
|
1849
|
+
LookupDataControllerService
|
|
1850
|
+
] });
|
|
1851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
|
|
1852
|
+
type: NgModule,
|
|
1853
|
+
args: [{
|
|
1854
|
+
imports: [],
|
|
1855
|
+
declarations: [],
|
|
1856
|
+
exports: [],
|
|
1857
|
+
providers: [
|
|
1858
|
+
AdvertiserControllerService,
|
|
1859
|
+
AudienceControllerService,
|
|
1860
|
+
CampaignControllerService,
|
|
1861
|
+
InsightsControllerService,
|
|
1862
|
+
LookupDataControllerService
|
|
1863
|
+
]
|
|
1864
|
+
}]
|
|
1865
|
+
}], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
|
|
1866
|
+
type: Optional
|
|
1867
|
+
}, {
|
|
1868
|
+
type: SkipSelf
|
|
1869
|
+
}] }, { type: i1.HttpClient, decorators: [{
|
|
1870
|
+
type: Optional
|
|
1831
1871
|
}] }]; } });
|
|
1832
1872
|
|
|
1833
|
-
/**
|
|
1834
|
-
* Generated bundle index. Do not edit.
|
|
1873
|
+
/**
|
|
1874
|
+
* Generated bundle index. Do not edit.
|
|
1835
1875
|
*/
|
|
1836
1876
|
|
|
1837
1877
|
export { APIS, AdAccountResponse, AdvertiserControllerService, ApiModule, AudienceControllerService, AudienceResponse, BASE_PATH, COLLECTION_FORMATS, CampaignChangeLogResponse, CampaignControllerService, CampaignInsightRecord, CampaignRequest, CampaignResponse, ChildAudience, Configuration, CreateBlockedLiveAudienceRequest, CreateBucketizedCustomAudienceRequest, CreateBucketizedLiveAudienceRequest, CreateDsCustomQueryAudienceRequest, InsightsControllerService, LookupDataControllerService, ProductSetRequest, ProductSetResponse, ScheduleUpdateRequest, UpdateAudienceNameRequest, UpdateDsCustomQuerySqlRequest };
|