@revxui/api-clients-ts 0.10.311 → 0.10.313

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @revxui/api-clients-ts@0.10.311
1
+ ## @revxui/api-clients-ts@0.10.313
2
2
 
3
3
  ### Building
4
4
 
@@ -19,7 +19,7 @@ Navigate to the folder of your consuming project and run one of next commands.
19
19
  _published:_
20
20
 
21
21
  ```
22
- npm install @revxui/api-clients-ts@0.10.311 --save
22
+ npm install @revxui/api-clients-ts@0.10.313 --save
23
23
  ```
24
24
 
25
25
  _without publishing (not recommended):_
@@ -15,6 +15,7 @@ import { ApiListResponseMacro } from '../model/apiListResponseMacro';
15
15
  import { ApiResponseObjectApiListResponseCatalogFeed } from '../model/apiResponseObjectApiListResponseCatalogFeed';
16
16
  import { ApiResponseObjectApiListResponseVariablesMappingDTO } from '../model/apiResponseObjectApiListResponseVariablesMappingDTO';
17
17
  import { ApiResponseObjectCatalogFeed } from '../model/apiResponseObjectCatalogFeed';
18
+ import { ApiResponseObjectstring } from '../model/apiResponseObjectstring';
18
19
  import { SearchRequest } from '../model/searchRequest';
19
20
  import { Configuration } from '../configuration';
20
21
  export declare class CatalogControllerService {
@@ -54,6 +55,18 @@ export declare class CatalogControllerService {
54
55
  getCatalogFeedsUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectApiListResponseCatalogFeed>;
55
56
  getCatalogFeedsUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectApiListResponseCatalogFeed>>;
56
57
  getCatalogFeedsUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectApiListResponseCatalogFeed>>;
58
+ /**
59
+ * get feed by advertiser Id
60
+ *
61
+ * @param advertiserId advertiserId
62
+ * @param reqId request id
63
+ * @param token Auth Token
64
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
65
+ * @param reportProgress flag to report request and response progress.
66
+ */
67
+ getFeedsByAdvertiserIdUsingGET(advertiserId: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectstring>;
68
+ getFeedsByAdvertiserIdUsingGET(advertiserId: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectstring>>;
69
+ getFeedsByAdvertiserIdUsingGET(advertiserId: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectstring>>;
57
70
  /**
58
71
  * get List of catalog macros for given advertiserId
59
72
  *
@@ -2858,6 +2858,41 @@
2858
2858
  reportProgress: reportProgress
2859
2859
  });
2860
2860
  };
2861
+ CatalogControllerService.prototype.getFeedsByAdvertiserIdUsingGET = function (advertiserId, reqId, token, observe, reportProgress) {
2862
+ if (observe === void 0) { observe = 'body'; }
2863
+ if (reportProgress === void 0) { reportProgress = false; }
2864
+ if (advertiserId === null || advertiserId === undefined) {
2865
+ throw new Error('Required parameter advertiserId was null or undefined when calling getFeedsByAdvertiserIdUsingGET.');
2866
+ }
2867
+ var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
2868
+ if (advertiserId !== undefined && advertiserId !== null) {
2869
+ queryParameters = queryParameters.set('advertiserId', advertiserId);
2870
+ }
2871
+ var headers = this.defaultHeaders;
2872
+ if (reqId !== undefined && reqId !== null) {
2873
+ headers = headers.set('reqId', String(reqId));
2874
+ }
2875
+ if (token !== undefined && token !== null) {
2876
+ headers = headers.set('token', String(token));
2877
+ }
2878
+ // to determine the Accept header
2879
+ var httpHeaderAccepts = [
2880
+ 'application/json'
2881
+ ];
2882
+ var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
2883
+ if (httpHeaderAcceptSelected != undefined) {
2884
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
2885
+ }
2886
+ // to determine the Content-Type header
2887
+ var consumes = [];
2888
+ return this.httpClient.get(this.basePath + "/v2/api/catalog/feeds", {
2889
+ params: queryParameters,
2890
+ withCredentials: this.configuration.withCredentials,
2891
+ headers: headers,
2892
+ observe: observe,
2893
+ reportProgress: reportProgress
2894
+ });
2895
+ };
2861
2896
  CatalogControllerService.prototype.getMacrosUsingPOST = function (advertiser_id, refresh, reqId, search, token, observe, reportProgress) {
2862
2897
  if (observe === void 0) { observe = 'body'; }
2863
2898
  if (reportProgress === void 0) { reportProgress = false; }