@revxui/api-clients-ts 1.1.412 → 1.1.413

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.
@@ -5269,6 +5269,40 @@ class CustomerReportingControllerService {
5269
5269
  reportProgress: reportProgress
5270
5270
  });
5271
5271
  }
5272
+ generateSignUsingPOST(customerReportingRequest, reqId, token, observe = 'body', reportProgress = false) {
5273
+ if (customerReportingRequest === null || customerReportingRequest === undefined) {
5274
+ throw new Error('Required parameter customerReportingRequest was null or undefined when calling generateSignUsingPOST.');
5275
+ }
5276
+ let headers = this.defaultHeaders;
5277
+ if (reqId !== undefined && reqId !== null) {
5278
+ headers = headers.set('reqId', String(reqId));
5279
+ }
5280
+ if (token !== undefined && token !== null) {
5281
+ headers = headers.set('token', String(token));
5282
+ }
5283
+ // to determine the Accept header
5284
+ let httpHeaderAccepts = [
5285
+ 'application/json'
5286
+ ];
5287
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
5288
+ if (httpHeaderAcceptSelected != undefined) {
5289
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
5290
+ }
5291
+ // to determine the Content-Type header
5292
+ const consumes = [
5293
+ 'application/json'
5294
+ ];
5295
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
5296
+ if (httpContentTypeSelected != undefined) {
5297
+ headers = headers.set('Content-Type', httpContentTypeSelected);
5298
+ }
5299
+ return this.httpClient.post(`${this.basePath}/v2/api/creport/aliexpress/sign`, customerReportingRequest, {
5300
+ withCredentials: this.configuration.withCredentials,
5301
+ headers: headers,
5302
+ observe: observe,
5303
+ reportProgress: reportProgress
5304
+ });
5305
+ }
5272
5306
  }
5273
5307
  CustomerReportingControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomerReportingControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
5274
5308
  CustomerReportingControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomerReportingControllerService });