@rlvt/datasources-query-openapi-client 1.0.144 → 1.0.147

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/build/api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AxiosInstance, AxiosRequestConfig } from "axios";
2
- import type { WorkerFetcherFetchOpts, IngesterFetcherFetchOpts, TrackingFetcherFetchOpts, ProxyFetcherFetchOpts, CarrefourStoresRetailsFetcherFetchOpts, CarrefourStoresWithDriveSlotsFetcherFetchOpts, CarrefourStoresWithFuelFetcherFetchOpts, BestWesternHotelsFetcherFetchOpts, FdjBetsFetcherFetchOpts, SarenzaSizesFetcherFetchOpts, RenaultPricesFetcherFetchOpts, DecathlonProductFallbackFetcherFetchOpts, GenericUnwindRowsFetcherFetchOpts, CPMeta, WorkerFetcherCountOpts, IngesterFetcherCountOpts, TrackingFetcherCountOpts, ProxyFetcherCountOpts, CarrefourStoresRetailsFetcherCountOpts, CarrefourStoresWithDriveSlotsFetcherCountOpts, BestWesternHotelsFetcherCountOpts, FdjBetsFetcherCountOpts, SarenzaSizesFetcherCountOpts, RenaultPricesFetcherCountOpts, DecathlonProductFallbackFetcherCountOpts, GenericUnwindRowsFetcherCountOpts, WorkerFetcherFetchOpts_Without_Query_Limit_Cp_Geo_Sort, DatasourceLocation, DatasourceGeneric, DatasourceProduct, DatasourceAnalytics, IngesterFetcherFetchOpts_Without_Query_Limit_Sort_Group, TrackingFetcherFetchOpts_Without_Query_Limit_Date_ExcludeQuery_UserIds_ExcludeDate, ProxyFetcherFetchOpts_Without_Query, CarrefourStoresRetailsFetcherFetchOpts_Without_Query, CarrefourStoresWithDriveSlotsFetcherFetchOpts_Without_Query, CarrefourStoresWithFuelFetcherFetchOpts_Without_Query, BestWesternHotelsFetcherFetchOpts_Without_Query_Cp_Geo_Sort, FdjBetsFetcherFetchOpts_Without_Query, SarenzaSizesFetcherFetchOpts_Without_Query_Cp_Sort, RenaultPricesFetcherFetchOpts_Without_Query_Limit_Geo_Sort, DecathlonProductFallbackFetcherFetchOpts_Without_Query_Limit_Geo_Sort, GenericUnwindRowsFetcherFetchOpts_Without_Query_Limit_Geo_Sort, CarrefourStoresWithFuelFetcherQueryOpts, FdjBetsFetcherQueryOpts, WorkerFetcherQueryOpts, IngesterFetcherQueryOpts, TrackingFetcherQueryOpts, ProxyFetcherQueryOpts, CarrefourStoresRetailsFetcherQueryOpts, CarrefourStoresWithDriveSlotsFetcherQueryOpts, BestWesternHotelsFetcherQueryOpts, SarenzaSizesFetcherQueryOpts, RenaultPricesFetcherQueryOpts, DecathlonProductFallbackFetcherQueryOpts, GenericUnwindRowsFetcherQueryOpts } from "./definitions";
2
+ import type { WorkerFetcherFetchOpts, IngesterFetcherFetchOpts, TrackingFetcherFetchOpts, ProxyFetcherFetchOpts, CarrefourStoresRetailsFetcherFetchOpts, CarrefourStoresWithDriveSlotsFetcherFetchOpts, CarrefourStoresWithFuelFetcherFetchOpts, BestWesternHotelsFetcherFetchOpts, FdjBetsFetcherFetchOpts, SarenzaSizesFetcherFetchOpts, RenaultPricesFetcherFetchOpts, DecathlonProductFallbackFetcherFetchOpts, GenericUnwindRowsFetcherFetchOpts, CPMeta, WorkerFetcherCountOpts, IngesterFetcherCountOpts, TrackingFetcherCountOpts, ProxyFetcherCountOpts, CarrefourStoresRetailsFetcherCountOpts, CarrefourStoresWithDriveSlotsFetcherCountOpts, BestWesternHotelsFetcherCountOpts, FdjBetsFetcherCountOpts, SarenzaSizesFetcherCountOpts, RenaultPricesFetcherCountOpts, DecathlonProductFallbackFetcherCountOpts, GenericUnwindRowsFetcherCountOpts, WorkerFetcherFetchOpts_Without_Query_Limit_Cp_Geo_Sort_Group, DatasourceLocation, DatasourceGeneric, DatasourceProduct, DatasourceAnalytics, IngesterFetcherFetchOpts_Without_Query_Limit_Sort_Group, TrackingFetcherFetchOpts_Without_Query_Limit_Date_Group_ExcludeQuery_UserIds_ExcludeDate, ProxyFetcherFetchOpts_Without_Query, CarrefourStoresRetailsFetcherFetchOpts_Without_Query, CarrefourStoresWithDriveSlotsFetcherFetchOpts_Without_Query, CarrefourStoresWithFuelFetcherFetchOpts_Without_Query, BestWesternHotelsFetcherFetchOpts_Without_Query_Cp_Geo_Sort, FdjBetsFetcherFetchOpts_Without_Query, SarenzaSizesFetcherFetchOpts_Without_Query_Cp_Sort, RenaultPricesFetcherFetchOpts_Without_Query_Limit_Geo_Sort_Group, DecathlonProductFallbackFetcherFetchOpts_Without_Query_Limit_Geo_Sort_Group, GenericUnwindRowsFetcherFetchOpts_Without_Query_Limit_Geo_Sort_Group, CarrefourStoresWithFuelFetcherQueryOpts, FdjBetsFetcherQueryOpts, WorkerFetcherQueryOpts, IngesterFetcherQueryOpts, TrackingFetcherQueryOpts, ProxyFetcherQueryOpts, CarrefourStoresRetailsFetcherQueryOpts, CarrefourStoresWithDriveSlotsFetcherQueryOpts, BestWesternHotelsFetcherQueryOpts, SarenzaSizesFetcherQueryOpts, RenaultPricesFetcherQueryOpts, DecathlonProductFallbackFetcherQueryOpts, GenericUnwindRowsFetcherQueryOpts } from "./definitions";
3
3
  export * from "./definitions";
4
4
  export default class {
5
5
  axios: AxiosInstance;
@@ -43,13 +43,13 @@ export default class {
43
43
  }, any>>;
44
44
  findAndFetch: (params: {
45
45
  'x-rlvt-no-cache'?: boolean | undefined;
46
- }, data: (WorkerFetcherFetchOpts_Without_Query_Limit_Cp_Geo_Sort & {
46
+ }, data: (WorkerFetcherFetchOpts_Without_Query_Limit_Cp_Geo_Sort_Group & {
47
47
  type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
48
48
  companyId: string | null;
49
49
  }) | (IngesterFetcherFetchOpts_Without_Query_Limit_Sort_Group & {
50
50
  type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
51
51
  companyId: string | null;
52
- }) | (TrackingFetcherFetchOpts_Without_Query_Limit_Date_ExcludeQuery_UserIds_ExcludeDate & {
52
+ }) | (TrackingFetcherFetchOpts_Without_Query_Limit_Date_Group_ExcludeQuery_UserIds_ExcludeDate & {
53
53
  type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
54
54
  companyId: string | null;
55
55
  }) | (ProxyFetcherFetchOpts_Without_Query & {
@@ -73,13 +73,13 @@ export default class {
73
73
  }) | (SarenzaSizesFetcherFetchOpts_Without_Query_Cp_Sort & {
74
74
  type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
75
75
  companyId: string | null;
76
- }) | (RenaultPricesFetcherFetchOpts_Without_Query_Limit_Geo_Sort & {
76
+ }) | (RenaultPricesFetcherFetchOpts_Without_Query_Limit_Geo_Sort_Group & {
77
77
  type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
78
78
  companyId: string | null;
79
- }) | (DecathlonProductFallbackFetcherFetchOpts_Without_Query_Limit_Geo_Sort & {
79
+ }) | (DecathlonProductFallbackFetcherFetchOpts_Without_Query_Limit_Geo_Sort_Group & {
80
80
  type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
81
81
  companyId: string | null;
82
- }) | (GenericUnwindRowsFetcherFetchOpts_Without_Query_Limit_Geo_Sort & {
82
+ }) | (GenericUnwindRowsFetcherFetchOpts_Without_Query_Limit_Geo_Sort_Group & {
83
83
  type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
84
84
  companyId: string | null;
85
85
  }), options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -9,6 +9,12 @@ export declare type CPMeta = {
9
9
  };
10
10
  };
11
11
  export declare type WorkerFetcherFetchOpts = {
12
+ group?: {
13
+ field: string;
14
+ matching?: {
15
+ mode: "onePerValue";
16
+ };
17
+ };
12
18
  limit?: number;
13
19
  cp?: {
14
20
  count: number;
@@ -65,6 +71,7 @@ export declare type TrackingFetcherFetchOpts = {
65
71
  duration: number;
66
72
  };
67
73
  limit: number;
74
+ group?: boolean;
68
75
  };
69
76
  export declare type ProxyFetcherFetchOpts = {
70
77
  datasourceId: string;
@@ -130,6 +137,12 @@ export declare type RenaultPricesFetcherFetchOpts = {
130
137
  by: string;
131
138
  order: "desc" | "asc";
132
139
  };
140
+ group?: {
141
+ field: string;
142
+ matching?: {
143
+ mode: "onePerValue";
144
+ };
145
+ };
133
146
  };
134
147
  export declare type DecathlonProductFallbackFetcherFetchOpts = {
135
148
  datasourceId: string;
@@ -143,6 +156,12 @@ export declare type DecathlonProductFallbackFetcherFetchOpts = {
143
156
  by: string;
144
157
  order: "desc" | "asc";
145
158
  };
159
+ group?: {
160
+ field: string;
161
+ matching?: {
162
+ mode: "onePerValue";
163
+ };
164
+ };
146
165
  };
147
166
  export declare type GenericUnwindRowsFetcherFetchOpts = {
148
167
  datasourceId: string;
@@ -156,6 +175,12 @@ export declare type GenericUnwindRowsFetcherFetchOpts = {
156
175
  by: string;
157
176
  order: "desc" | "asc";
158
177
  };
178
+ group?: {
179
+ field: string;
180
+ matching?: {
181
+ mode: "onePerValue";
182
+ };
183
+ };
159
184
  };
160
185
  export declare type WorkerFetcherCountOpts = {
161
186
  datasourceId: string;
@@ -245,7 +270,7 @@ export declare type GenericUnwindRowsFetcherCountOpts = {
245
270
  center: (number | number)[];
246
271
  };
247
272
  };
248
- export declare type WorkerFetcherFetchOpts_Without_Query_Limit_Cp_Geo_Sort = {
273
+ export declare type WorkerFetcherFetchOpts_Without_Query_Limit_Cp_Geo_Sort_Group = {
249
274
  query: string;
250
275
  limit?: number;
251
276
  cp?: {
@@ -262,6 +287,12 @@ export declare type WorkerFetcherFetchOpts_Without_Query_Limit_Cp_Geo_Sort = {
262
287
  by: string;
263
288
  order: "desc" | "asc";
264
289
  };
290
+ group?: {
291
+ field: string;
292
+ matching?: {
293
+ mode: "onePerValue";
294
+ };
295
+ };
265
296
  };
266
297
  export declare enum DatasourceLocationSubType {
267
298
  USER = "user",
@@ -307,7 +338,7 @@ export declare type IngesterFetcherFetchOpts_Without_Query_Limit_Sort_Group = {
307
338
  by: string;
308
339
  };
309
340
  };
310
- export declare type TrackingFetcherFetchOpts_Without_Query_Limit_Date_ExcludeQuery_UserIds_ExcludeDate = {
341
+ export declare type TrackingFetcherFetchOpts_Without_Query_Limit_Date_Group_ExcludeQuery_UserIds_ExcludeDate = {
311
342
  query: string | string[];
312
343
  limit: number;
313
344
  date: {
@@ -320,6 +351,7 @@ export declare type TrackingFetcherFetchOpts_Without_Query_Limit_Date_ExcludeQue
320
351
  } | {
321
352
  duration: number;
322
353
  };
354
+ group?: boolean;
323
355
  excludeQuery?: string;
324
356
  userIds: string[];
325
357
  excludeDate?: {
@@ -378,7 +410,7 @@ export declare type SarenzaSizesFetcherFetchOpts_Without_Query_Cp_Sort = {
378
410
  order: "desc" | "asc";
379
411
  };
380
412
  };
381
- export declare type RenaultPricesFetcherFetchOpts_Without_Query_Limit_Geo_Sort = {
413
+ export declare type RenaultPricesFetcherFetchOpts_Without_Query_Limit_Geo_Sort_Group = {
382
414
  query: string;
383
415
  limit?: number;
384
416
  geo?: {
@@ -389,8 +421,14 @@ export declare type RenaultPricesFetcherFetchOpts_Without_Query_Limit_Geo_Sort =
389
421
  by: string;
390
422
  order: "desc" | "asc";
391
423
  };
424
+ group?: {
425
+ field: string;
426
+ matching?: {
427
+ mode: "onePerValue";
428
+ };
429
+ };
392
430
  };
393
- export declare type DecathlonProductFallbackFetcherFetchOpts_Without_Query_Limit_Geo_Sort = {
431
+ export declare type DecathlonProductFallbackFetcherFetchOpts_Without_Query_Limit_Geo_Sort_Group = {
394
432
  query: string;
395
433
  limit?: number;
396
434
  geo?: {
@@ -401,8 +439,14 @@ export declare type DecathlonProductFallbackFetcherFetchOpts_Without_Query_Limit
401
439
  by: string;
402
440
  order: "desc" | "asc";
403
441
  };
442
+ group?: {
443
+ field: string;
444
+ matching?: {
445
+ mode: "onePerValue";
446
+ };
447
+ };
404
448
  };
405
- export declare type GenericUnwindRowsFetcherFetchOpts_Without_Query_Limit_Geo_Sort = {
449
+ export declare type GenericUnwindRowsFetcherFetchOpts_Without_Query_Limit_Geo_Sort_Group = {
406
450
  query: string;
407
451
  limit?: number;
408
452
  geo?: {
@@ -413,6 +457,12 @@ export declare type GenericUnwindRowsFetcherFetchOpts_Without_Query_Limit_Geo_So
413
457
  by: string;
414
458
  order: "desc" | "asc";
415
459
  };
460
+ group?: {
461
+ field: string;
462
+ matching?: {
463
+ mode: "onePerValue";
464
+ };
465
+ };
416
466
  };
417
467
  export declare type CarrefourStoresWithFuelFetcherQueryOpts = {
418
468
  datasourceId: string;
@@ -23,4 +23,4 @@ var DatasourceAnalyticsSubType;
23
23
  DatasourceAnalyticsSubType["SHOPIFY"] = "shopify";
24
24
  DatasourceAnalyticsSubType["WORKFLOW_EVENTS"] = "workflow_events";
25
25
  })(DatasourceAnalyticsSubType = exports.DatasourceAnalyticsSubType || (exports.DatasourceAnalyticsSubType = {}));
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBNFFwQixJQUFZLHlCQUtYO0FBTEQsV0FBWSx5QkFBeUI7SUFDakMsMENBQWEsQ0FBQTtJQUNiLHNFQUF5QyxDQUFBO0lBQ3pDLDhDQUFpQixDQUFBO0lBQ2pCLGdEQUFtQixDQUFBO0FBQ3ZCLENBQUMsRUFMVyx5QkFBeUIsR0FBekIsaUNBQXlCLEtBQXpCLGlDQUF5QixRQUtwQztBQVdELElBQVksd0JBSVg7QUFKRCxXQUFZLHdCQUF3QjtJQUNoQyx5Q0FBYSxDQUFBO0lBQ2IsK0NBQW1CLENBQUE7SUFDbkIseURBQTZCLENBQUE7QUFDakMsQ0FBQyxFQUpXLHdCQUF3Q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MUIsa0NBQTBCLEtBQTFCLGtDQUEwQixRQUtyQyJ9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlvt/datasources-query-openapi-client",
3
- "version": "1.0.144+fd55d5b",
3
+ "version": "1.0.147+c1ae8a5",
4
4
  "description": "Openapi client for reelevant service",
5
5
  "main": "build/index.js",
6
6
  "repository": "https://github.com/reelevant-tech/openapi-clients",