@revxui/intellibid-client-ts 1.0.22 → 1.0.25
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/dpaEngagementController.service.d.ts +12 -0
- package/esm2020/api/dpaEngagementController.service.mjs +33 -1
- package/esm2020/model/dpaEngagementChangeLogResponse.mjs +3 -2
- package/esm2020/model/models.mjs +2 -1
- package/esm2020/model/pageableObject.mjs +1 -1
- package/esm2020/model/updateMarginRequest.mjs +13 -0
- package/fesm2015/revxui-intellibid-client-ts.mjs +34 -1
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +46 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/model/dpaEngagementChangeLogResponse.d.ts +2 -1
- package/model/models.d.ts +1 -0
- package/model/pageableObject.d.ts +2 -2
- package/model/updateMarginRequest.d.ts +14 -0
- package/package.json +1 -1
|
@@ -1268,6 +1268,38 @@ class DpaEngagementControllerService {
|
|
|
1268
1268
|
reportProgress: reportProgress
|
|
1269
1269
|
});
|
|
1270
1270
|
}
|
|
1271
|
+
updateMargin(body, id, observe = 'body', reportProgress = false) {
|
|
1272
|
+
if (body === null || body === undefined) {
|
|
1273
|
+
throw new Error('Required parameter body was null or undefined when calling updateMargin.');
|
|
1274
|
+
}
|
|
1275
|
+
if (id === null || id === undefined) {
|
|
1276
|
+
throw new Error('Required parameter id was null or undefined when calling updateMargin.');
|
|
1277
|
+
}
|
|
1278
|
+
let headers = this.defaultHeaders;
|
|
1279
|
+
// to determine the Accept header
|
|
1280
|
+
let httpHeaderAccepts = [
|
|
1281
|
+
'*/*'
|
|
1282
|
+
];
|
|
1283
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1284
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1285
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1286
|
+
}
|
|
1287
|
+
// to determine the Content-Type header
|
|
1288
|
+
const consumes = [
|
|
1289
|
+
'application/json'
|
|
1290
|
+
];
|
|
1291
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1292
|
+
if (httpContentTypeSelected != undefined) {
|
|
1293
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1294
|
+
}
|
|
1295
|
+
return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/margin`, {
|
|
1296
|
+
body: body,
|
|
1297
|
+
withCredentials: this.configuration.withCredentials,
|
|
1298
|
+
headers: headers,
|
|
1299
|
+
observe: observe,
|
|
1300
|
+
reportProgress: reportProgress
|
|
1301
|
+
});
|
|
1302
|
+
}
|
|
1271
1303
|
}
|
|
1272
1304
|
DpaEngagementControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1273
1305
|
DpaEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService });
|
|
@@ -1931,7 +1963,8 @@ var DpaEngagementChangeLogResponse;
|
|
|
1931
1963
|
DpaEngagementChangeLogResponse.EntityChangedEnum = {
|
|
1932
1964
|
STATUS: 'STATUS',
|
|
1933
1965
|
BUDGET: 'BUDGET',
|
|
1934
|
-
ENGAGEMENT: 'ENGAGEMENT'
|
|
1966
|
+
ENGAGEMENT: 'ENGAGEMENT',
|
|
1967
|
+
MARGIN: 'MARGIN'
|
|
1935
1968
|
};
|
|
1936
1969
|
DpaEngagementChangeLogResponse.StatusEnum = {
|
|
1937
1970
|
SUCCESS: 'SUCCESS',
|
|
@@ -2101,6 +2134,18 @@ var FacebookEngagementResponse;
|
|
|
2101
2134
|
* Do not edit the class manually.
|
|
2102
2135
|
*/
|
|
2103
2136
|
|
|
2137
|
+
/**
|
|
2138
|
+
*
|
|
2139
|
+
*
|
|
2140
|
+
*
|
|
2141
|
+
*
|
|
2142
|
+
*
|
|
2143
|
+
*
|
|
2144
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
2145
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
2146
|
+
* Do not edit the class manually.
|
|
2147
|
+
*/
|
|
2148
|
+
|
|
2104
2149
|
class ApiModule {
|
|
2105
2150
|
static forRoot(configurationFactory) {
|
|
2106
2151
|
return {
|