repzo 1.0.26 → 1.0.28
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/lib/index.d.ts +652 -326
- package/lib/index.js +1475 -960
- package/lib/types/index.d.ts +4872 -4542
- package/package.json +1 -1
- package/src/types/index.ts +14 -15
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -2624,9 +2624,9 @@ export namespace Service {
|
|
|
2624
2624
|
disabled?: boolean;
|
|
2625
2625
|
};
|
|
2626
2626
|
promotions?: Promotion.Schema[];
|
|
2627
|
-
used_promotions?: { id: string; name: string };
|
|
2628
|
-
general_promotions?: { id: string; name: string };
|
|
2629
|
-
applicable_promotions?: { id: string; name: string };
|
|
2627
|
+
used_promotions?: { id: string; name: string }[];
|
|
2628
|
+
general_promotions?: { id: string; name: string }[];
|
|
2629
|
+
applicable_promotions?: { id: string; name: string }[];
|
|
2630
2630
|
modifiers_groups: ModifierGroup[];
|
|
2631
2631
|
isAdditional?: boolean;
|
|
2632
2632
|
qty: number;
|
|
@@ -2675,9 +2675,9 @@ export namespace Service {
|
|
|
2675
2675
|
disabled?: boolean;
|
|
2676
2676
|
};
|
|
2677
2677
|
promotions?: Promotion.Schema[];
|
|
2678
|
-
used_promotions?: { id: string; name: string };
|
|
2679
|
-
general_promotions?: { id: string; name: string };
|
|
2680
|
-
applicable_promotions?: { id: string; name: string };
|
|
2678
|
+
used_promotions?: { id: string; name: string }[];
|
|
2679
|
+
general_promotions?: { id: string; name: string }[];
|
|
2680
|
+
applicable_promotions?: { id: string; name: string }[];
|
|
2681
2681
|
modifiers_groups?: ModifierGroup[];
|
|
2682
2682
|
isAdditional?: boolean;
|
|
2683
2683
|
qty: number;
|
|
@@ -2913,8 +2913,7 @@ export namespace Service {
|
|
|
2913
2913
|
creator: AdminCreator | RepCreator | ClientCreator;
|
|
2914
2914
|
document_id?: string[];
|
|
2915
2915
|
document_type: PrintTypes;
|
|
2916
|
-
print_media?: string;
|
|
2917
|
-
print_media_populated?: MediaDoc;
|
|
2916
|
+
print_media?: string | MediaDoc;
|
|
2918
2917
|
state?:
|
|
2919
2918
|
| "queued"
|
|
2920
2919
|
| "initiated"
|
|
@@ -2937,7 +2936,7 @@ export namespace Service {
|
|
|
2937
2936
|
export type Params = DefaultPaginationQueryParams & {
|
|
2938
2937
|
document_id?: string;
|
|
2939
2938
|
document_type?: PrintTypes;
|
|
2940
|
-
print_media?: string;
|
|
2939
|
+
print_media?: string | MediaDoc;
|
|
2941
2940
|
disabled?: boolean;
|
|
2942
2941
|
};
|
|
2943
2942
|
export interface Result extends DefaultPaginationResult {
|
|
@@ -3224,9 +3223,9 @@ export namespace Service {
|
|
|
3224
3223
|
disabled?: boolean;
|
|
3225
3224
|
};
|
|
3226
3225
|
promotions?: Promotion.Schema[];
|
|
3227
|
-
used_promotions?: { id: string; name: string };
|
|
3228
|
-
general_promotions?: { id: string; name: string };
|
|
3229
|
-
applicable_promotions?: { id: string; name: string };
|
|
3226
|
+
used_promotions?: { id: string; name: string }[];
|
|
3227
|
+
general_promotions?: { id: string; name: string }[];
|
|
3228
|
+
applicable_promotions?: { id: string; name: string }[];
|
|
3230
3229
|
modifiers_groups?: Item.ModifierGroup[];
|
|
3231
3230
|
isAdditional?: boolean;
|
|
3232
3231
|
qty: number;
|
|
@@ -3286,9 +3285,9 @@ export namespace Service {
|
|
|
3286
3285
|
disabled?: boolean;
|
|
3287
3286
|
};
|
|
3288
3287
|
promotions?: Promotion.Schema[];
|
|
3289
|
-
used_promotions?: { id: string; name: string };
|
|
3290
|
-
general_promotions?: { id: string; name: string };
|
|
3291
|
-
applicable_promotions?: { id: string; name: string };
|
|
3288
|
+
used_promotions?: { id: string; name: string }[];
|
|
3289
|
+
general_promotions?: { id: string; name: string }[];
|
|
3290
|
+
applicable_promotions?: { id: string; name: string }[];
|
|
3292
3291
|
modifiers_groups?: Item.ModifierGroup[];
|
|
3293
3292
|
isAdditional?: boolean;
|
|
3294
3293
|
qty: number;
|