repzo 1.0.31 → 1.0.33
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/changelog.md +2 -0
- package/lib/index.d.ts +669 -333
- package/lib/index.js +1509 -978
- package/lib/types/index.d.ts +5236 -4867
- package/package.json +1 -1
- package/src/types/index.ts +39 -3
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -2647,7 +2647,25 @@ export namespace Service {
|
|
|
2647
2647
|
type: "inclusive" | "additive" | "N/A";
|
|
2648
2648
|
disabled?: boolean;
|
|
2649
2649
|
};
|
|
2650
|
-
promotions?:
|
|
2650
|
+
promotions?: {
|
|
2651
|
+
isGet: boolean;
|
|
2652
|
+
taken: number;
|
|
2653
|
+
free: number;
|
|
2654
|
+
bookings?: {
|
|
2655
|
+
promotion: string;
|
|
2656
|
+
type: "get" | "buy";
|
|
2657
|
+
count: number;
|
|
2658
|
+
round_id: number;
|
|
2659
|
+
filter_index: number;
|
|
2660
|
+
rounds_details: {
|
|
2661
|
+
round_id: number;
|
|
2662
|
+
taken: number;
|
|
2663
|
+
}[];
|
|
2664
|
+
}[];
|
|
2665
|
+
promoPrice?: number;
|
|
2666
|
+
highlight: boolean;
|
|
2667
|
+
[key: string]: any;
|
|
2668
|
+
};
|
|
2651
2669
|
used_promotions?: { id: string; name: string; ref?: string }[];
|
|
2652
2670
|
general_promotions?: { id: string; name: string; ref?: string }[];
|
|
2653
2671
|
applicable_promotions?: { id: string; name: string; ref?: string }[];
|
|
@@ -2698,7 +2716,25 @@ export namespace Service {
|
|
|
2698
2716
|
type: "inclusive" | "additive" | "N/A";
|
|
2699
2717
|
disabled?: boolean;
|
|
2700
2718
|
};
|
|
2701
|
-
promotions?:
|
|
2719
|
+
promotions?: {
|
|
2720
|
+
isGet: boolean;
|
|
2721
|
+
taken: number;
|
|
2722
|
+
free: number;
|
|
2723
|
+
bookings?: {
|
|
2724
|
+
promotion: string;
|
|
2725
|
+
type: "get" | "buy";
|
|
2726
|
+
count: number;
|
|
2727
|
+
round_id: number;
|
|
2728
|
+
filter_index: number;
|
|
2729
|
+
rounds_details: {
|
|
2730
|
+
round_id: number;
|
|
2731
|
+
taken: number;
|
|
2732
|
+
}[];
|
|
2733
|
+
}[];
|
|
2734
|
+
promoPrice?: number;
|
|
2735
|
+
highlight: boolean;
|
|
2736
|
+
[key: string]: any;
|
|
2737
|
+
};
|
|
2702
2738
|
used_promotions?: { id: string; name: string; ref?: string }[];
|
|
2703
2739
|
general_promotions?: { id: string; name: string; ref?: string }[];
|
|
2704
2740
|
applicable_promotions?: { id: string; name: string; ref?: string }[];
|
|
@@ -5287,7 +5323,7 @@ export namespace Service {
|
|
|
5287
5323
|
* @type {WriteQuery} an object sent in body to include write-filter key, value and an update command accordingly
|
|
5288
5324
|
* @example {<{ key: "field_test", value: "ex_1", "command": "set" }>}
|
|
5289
5325
|
*/
|
|
5290
|
-
writeQuery: WriteQuery | FormattedWriteQuery;
|
|
5326
|
+
writeQuery: WriteQuery | WriteQuery[]; // | FormattedWriteQuery;
|
|
5291
5327
|
}
|
|
5292
5328
|
|
|
5293
5329
|
export namespace Create {
|