@revxui/intellibid-client-ts 1.0.66 → 1.0.67
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 +11 -11
- package/esm2020/api/advertiserController.service.mjs +33 -33
- package/esm2020/model/childAudience.mjs +1 -1
- package/esm2020/model/createBucketizedCustomAudienceRequest.mjs +1 -1
- package/esm2020/model/createDsCustomQueryAudienceRequest.mjs +1 -1
- package/esm2020/model/goalResponse.mjs +1 -1
- package/esm2020/model/pageableObject.mjs +1 -1
- package/fesm2015/revxui-intellibid-client-ts.mjs +32 -32
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +32 -32
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/model/childAudience.d.ts +1 -1
- package/model/createBucketizedCustomAudienceRequest.d.ts +1 -1
- package/model/createDsCustomQueryAudienceRequest.d.ts +1 -0
- package/model/goalResponse.d.ts +0 -3
- package/model/pageableObject.d.ts +2 -2
- package/package.json +1 -1
|
@@ -124,6 +124,38 @@ class AdvertiserControllerService {
|
|
|
124
124
|
}
|
|
125
125
|
return false;
|
|
126
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
|
+
}
|
|
127
159
|
getAdAccounts(id, observe = 'body', reportProgress = false) {
|
|
128
160
|
if (id === null || id === undefined) {
|
|
129
161
|
throw new Error('Required parameter id was null or undefined when calling getAdAccounts.');
|
|
@@ -332,38 +364,6 @@ class AdvertiserControllerService {
|
|
|
332
364
|
reportProgress: reportProgress
|
|
333
365
|
});
|
|
334
366
|
}
|
|
335
|
-
upsertProductSet(body, id, observe = 'body', reportProgress = false) {
|
|
336
|
-
if (body === null || body === undefined) {
|
|
337
|
-
throw new Error('Required parameter body was null or undefined when calling upsertProductSet.');
|
|
338
|
-
}
|
|
339
|
-
if (id === null || id === undefined) {
|
|
340
|
-
throw new Error('Required parameter id was null or undefined when calling upsertProductSet.');
|
|
341
|
-
}
|
|
342
|
-
let headers = this.defaultHeaders;
|
|
343
|
-
// to determine the Accept header
|
|
344
|
-
let httpHeaderAccepts = [
|
|
345
|
-
'*/*'
|
|
346
|
-
];
|
|
347
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
348
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
349
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
350
|
-
}
|
|
351
|
-
// to determine the Content-Type header
|
|
352
|
-
const consumes = [
|
|
353
|
-
'application/json'
|
|
354
|
-
];
|
|
355
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
356
|
-
if (httpContentTypeSelected != undefined) {
|
|
357
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
358
|
-
}
|
|
359
|
-
return this.httpClient.request('post', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
|
|
360
|
-
body: body,
|
|
361
|
-
withCredentials: this.configuration.withCredentials,
|
|
362
|
-
headers: headers,
|
|
363
|
-
observe: observe,
|
|
364
|
-
reportProgress: reportProgress
|
|
365
|
-
});
|
|
366
|
-
}
|
|
367
367
|
}
|
|
368
368
|
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 });
|
|
369
369
|
AdvertiserControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService });
|