controlresell 2.4.8 → 2.4.12
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/package.json +2 -2
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -5
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -5
- package/src/com/controlresell/models/items/CreatedItems.d.ts +49 -7
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +39 -5
- package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -3
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +49 -7
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +49 -7
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +3 -3
- package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.js +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.js.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.ts +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryTypeWithCount.d.ts +3 -3
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +26 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +33 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts +26 -0
- package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +35 -0
- package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts +34 -0
- package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.d.ts +6 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.js +4 -1
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.js.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.ts +4 -1
- package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts +60 -0
- package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts +37 -0
- package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +42 -0
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +26 -0
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +34 -0
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +99 -7
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts +42 -0
- package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts +34 -0
- package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +99 -7
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/Preference.d.ts +79 -0
- package/src/com/controlresell/models/preferences/Preference.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts +75 -7
- package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/PreferenceWithCase.d.ts +237 -0
- package/src/com/controlresell/models/preferences/PreferenceWithCase.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/PreferenceWithChildren.d.ts +168 -0
- package/src/com/controlresell/models/preferences/PreferenceWithChildren.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/cases/CreatePreferenceCasePayload.d.ts +69 -0
- package/src/com/controlresell/models/preferences/cases/CreatePreferenceCasePayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/cases/PartialPreferenceCasePayload.d.ts +69 -0
- package/src/com/controlresell/models/preferences/cases/PartialPreferenceCasePayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +69 -0
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +29 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts +40 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js +7 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js.map +1 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.ts +8 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +39 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextsPayload.d.ts +10 -0
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextsPayload.d.ts.map +1 -0
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextsPayload.js +8 -0
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextsPayload.js.map +1 -0
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextsPayload.ts +6 -0
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts +306 -0
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +59 -0
- package/src/com/controlresell/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariant.d.ts +59 -0
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariant.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +98 -0
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +59 -0
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +26 -0
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +26 -0
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +18 -0
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.js +3 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.ts +3 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +68 -0
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.d.ts.map +1 -1
- package/src/index.js +3 -1
- package/src/index.js.map +1 -1
- package/src/index.ts +1 -0
|
@@ -80,6 +80,25 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
80
80
|
data: {
|
|
81
81
|
text: string;
|
|
82
82
|
};
|
|
83
|
+
}>, z.ZodObject<{
|
|
84
|
+
data: z.ZodObject<{
|
|
85
|
+
texts: z.ZodArray<z.ZodString, "many">;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
texts: string[];
|
|
88
|
+
}, {
|
|
89
|
+
texts: string[];
|
|
90
|
+
}>;
|
|
91
|
+
type: z.ZodLiteral<"TEXTS">;
|
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
|
93
|
+
type: "TEXTS";
|
|
94
|
+
data: {
|
|
95
|
+
texts: string[];
|
|
96
|
+
};
|
|
97
|
+
}, {
|
|
98
|
+
type: "TEXTS";
|
|
99
|
+
data: {
|
|
100
|
+
texts: string[];
|
|
101
|
+
};
|
|
83
102
|
}>, z.ZodObject<{
|
|
84
103
|
data: z.ZodObject<{
|
|
85
104
|
seconds: z.ZodNumber;
|
|
@@ -119,6 +138,11 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
119
138
|
data: {
|
|
120
139
|
text: string;
|
|
121
140
|
};
|
|
141
|
+
} | {
|
|
142
|
+
type: "TEXTS";
|
|
143
|
+
data: {
|
|
144
|
+
texts: string[];
|
|
145
|
+
};
|
|
122
146
|
} | {
|
|
123
147
|
type: "WAIT";
|
|
124
148
|
data: {
|
|
@@ -145,6 +169,11 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
145
169
|
data: {
|
|
146
170
|
text: string;
|
|
147
171
|
};
|
|
172
|
+
} | {
|
|
173
|
+
type: "TEXTS";
|
|
174
|
+
data: {
|
|
175
|
+
texts: string[];
|
|
176
|
+
};
|
|
148
177
|
} | {
|
|
149
178
|
type: "WAIT";
|
|
150
179
|
data: {
|
|
@@ -173,6 +202,11 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
173
202
|
data: {
|
|
174
203
|
text: string;
|
|
175
204
|
};
|
|
205
|
+
} | {
|
|
206
|
+
type: "TEXTS";
|
|
207
|
+
data: {
|
|
208
|
+
texts: string[];
|
|
209
|
+
};
|
|
176
210
|
} | {
|
|
177
211
|
type: "WAIT";
|
|
178
212
|
data: {
|
|
@@ -201,6 +235,11 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
201
235
|
data: {
|
|
202
236
|
text: string;
|
|
203
237
|
};
|
|
238
|
+
} | {
|
|
239
|
+
type: "TEXTS";
|
|
240
|
+
data: {
|
|
241
|
+
texts: string[];
|
|
242
|
+
};
|
|
204
243
|
} | {
|
|
205
244
|
type: "WAIT";
|
|
206
245
|
data: {
|
|
@@ -233,6 +272,11 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
233
272
|
data: {
|
|
234
273
|
text: string;
|
|
235
274
|
};
|
|
275
|
+
} | {
|
|
276
|
+
type: "TEXTS";
|
|
277
|
+
data: {
|
|
278
|
+
texts: string[];
|
|
279
|
+
};
|
|
236
280
|
} | {
|
|
237
281
|
type: "WAIT";
|
|
238
282
|
data: {
|
|
@@ -264,6 +308,11 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
264
308
|
data: {
|
|
265
309
|
text: string;
|
|
266
310
|
};
|
|
311
|
+
} | {
|
|
312
|
+
type: "TEXTS";
|
|
313
|
+
data: {
|
|
314
|
+
texts: string[];
|
|
315
|
+
};
|
|
267
316
|
} | {
|
|
268
317
|
type: "WAIT";
|
|
269
318
|
data: {
|
|
@@ -482,6 +531,11 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
482
531
|
data: {
|
|
483
532
|
text: string;
|
|
484
533
|
};
|
|
534
|
+
} | {
|
|
535
|
+
type: "TEXTS";
|
|
536
|
+
data: {
|
|
537
|
+
texts: string[];
|
|
538
|
+
};
|
|
485
539
|
} | {
|
|
486
540
|
type: "WAIT";
|
|
487
541
|
data: {
|
|
@@ -560,6 +614,11 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
560
614
|
data: {
|
|
561
615
|
text: string;
|
|
562
616
|
};
|
|
617
|
+
} | {
|
|
618
|
+
type: "TEXTS";
|
|
619
|
+
data: {
|
|
620
|
+
texts: string[];
|
|
621
|
+
};
|
|
563
622
|
} | {
|
|
564
623
|
type: "WAIT";
|
|
565
624
|
data: {
|
|
@@ -646,6 +705,11 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
646
705
|
data: {
|
|
647
706
|
text: string;
|
|
648
707
|
};
|
|
708
|
+
} | {
|
|
709
|
+
type: "TEXTS";
|
|
710
|
+
data: {
|
|
711
|
+
texts: string[];
|
|
712
|
+
};
|
|
649
713
|
} | {
|
|
650
714
|
type: "WAIT";
|
|
651
715
|
data: {
|
|
@@ -732,6 +796,11 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
732
796
|
data: {
|
|
733
797
|
text: string;
|
|
734
798
|
};
|
|
799
|
+
} | {
|
|
800
|
+
type: "TEXTS";
|
|
801
|
+
data: {
|
|
802
|
+
texts: string[];
|
|
803
|
+
};
|
|
735
804
|
} | {
|
|
736
805
|
type: "WAIT";
|
|
737
806
|
data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreferenceCase.d.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts
CHANGED
|
@@ -66,6 +66,25 @@ export declare const PreferenceActionPayloadSchema: z.ZodObject<{
|
|
|
66
66
|
data: {
|
|
67
67
|
text: string;
|
|
68
68
|
};
|
|
69
|
+
}>, z.ZodObject<{
|
|
70
|
+
data: z.ZodObject<{
|
|
71
|
+
texts: z.ZodArray<z.ZodString, "many">;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
texts: string[];
|
|
74
|
+
}, {
|
|
75
|
+
texts: string[];
|
|
76
|
+
}>;
|
|
77
|
+
type: z.ZodLiteral<"TEXTS">;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
type: "TEXTS";
|
|
80
|
+
data: {
|
|
81
|
+
texts: string[];
|
|
82
|
+
};
|
|
83
|
+
}, {
|
|
84
|
+
type: "TEXTS";
|
|
85
|
+
data: {
|
|
86
|
+
texts: string[];
|
|
87
|
+
};
|
|
69
88
|
}>, z.ZodObject<{
|
|
70
89
|
data: z.ZodObject<{
|
|
71
90
|
seconds: z.ZodNumber;
|
|
@@ -105,6 +124,11 @@ export declare const PreferenceActionPayloadSchema: z.ZodObject<{
|
|
|
105
124
|
data: {
|
|
106
125
|
text: string;
|
|
107
126
|
};
|
|
127
|
+
} | {
|
|
128
|
+
type: "TEXTS";
|
|
129
|
+
data: {
|
|
130
|
+
texts: string[];
|
|
131
|
+
};
|
|
108
132
|
} | {
|
|
109
133
|
type: "WAIT";
|
|
110
134
|
data: {
|
|
@@ -131,6 +155,11 @@ export declare const PreferenceActionPayloadSchema: z.ZodObject<{
|
|
|
131
155
|
data: {
|
|
132
156
|
text: string;
|
|
133
157
|
};
|
|
158
|
+
} | {
|
|
159
|
+
type: "TEXTS";
|
|
160
|
+
data: {
|
|
161
|
+
texts: string[];
|
|
162
|
+
};
|
|
134
163
|
} | {
|
|
135
164
|
type: "WAIT";
|
|
136
165
|
data: {
|
package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreferenceActionPayload.d.ts","sourceRoot":"","sources":["PreferenceActionPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"PreferenceActionPayload.d.ts","sourceRoot":"","sources":["PreferenceActionPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKxC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
|
|
@@ -69,6 +69,27 @@ export declare const PreferenceActionPayloadDecodedPayloadTextSchema: z.ZodObjec
|
|
|
69
69
|
};
|
|
70
70
|
}>;
|
|
71
71
|
export type PreferenceActionPayloadDecodedPayloadText = z.infer<typeof PreferenceActionPayloadDecodedPayloadTextSchema>;
|
|
72
|
+
export declare const PreferenceActionPayloadDecodedPayloadTextsSchema: z.ZodObject<{
|
|
73
|
+
data: z.ZodObject<{
|
|
74
|
+
texts: z.ZodArray<z.ZodString, "many">;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
texts: string[];
|
|
77
|
+
}, {
|
|
78
|
+
texts: string[];
|
|
79
|
+
}>;
|
|
80
|
+
type: z.ZodLiteral<"TEXTS">;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
type: "TEXTS";
|
|
83
|
+
data: {
|
|
84
|
+
texts: string[];
|
|
85
|
+
};
|
|
86
|
+
}, {
|
|
87
|
+
type: "TEXTS";
|
|
88
|
+
data: {
|
|
89
|
+
texts: string[];
|
|
90
|
+
};
|
|
91
|
+
}>;
|
|
92
|
+
export type PreferenceActionPayloadDecodedPayloadTexts = z.infer<typeof PreferenceActionPayloadDecodedPayloadTextsSchema>;
|
|
72
93
|
export declare const PreferenceActionPayloadDecodedPayloadWaitSchema: z.ZodObject<{
|
|
73
94
|
data: z.ZodObject<{
|
|
74
95
|
seconds: z.ZodNumber;
|
|
@@ -154,6 +175,25 @@ export declare const PreferenceActionPayloadDecodedPayloadSchema: z.ZodDiscrimin
|
|
|
154
175
|
data: {
|
|
155
176
|
text: string;
|
|
156
177
|
};
|
|
178
|
+
}>, z.ZodObject<{
|
|
179
|
+
data: z.ZodObject<{
|
|
180
|
+
texts: z.ZodArray<z.ZodString, "many">;
|
|
181
|
+
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
texts: string[];
|
|
183
|
+
}, {
|
|
184
|
+
texts: string[];
|
|
185
|
+
}>;
|
|
186
|
+
type: z.ZodLiteral<"TEXTS">;
|
|
187
|
+
}, "strip", z.ZodTypeAny, {
|
|
188
|
+
type: "TEXTS";
|
|
189
|
+
data: {
|
|
190
|
+
texts: string[];
|
|
191
|
+
};
|
|
192
|
+
}, {
|
|
193
|
+
type: "TEXTS";
|
|
194
|
+
data: {
|
|
195
|
+
texts: string[];
|
|
196
|
+
};
|
|
157
197
|
}>, z.ZodObject<{
|
|
158
198
|
data: z.ZodObject<{
|
|
159
199
|
seconds: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreferenceActionPayloadDecodedPayload.d.ts","sourceRoot":"","sources":["PreferenceActionPayloadDecodedPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"PreferenceActionPayloadDecodedPayload.d.ts","sourceRoot":"","sources":["PreferenceActionPayloadDecodedPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAMrB,eAAO,MAAM,gDAAgD;;;;;;EAE3D,CAAA;AACF,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gDAAgD,CAAC,CAAA;AAEzH,eAAO,MAAM,gDAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG3D,CAAA;AACF,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gDAAgD,CAAC,CAAA;AAEzH,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;EAG1D,CAAA;AACF,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+CAA+C,CAAC,CAAA;AAEvH,eAAO,MAAM,gDAAgD;;;;;;;;;;;;;;;;;;;EAG3D,CAAA;AACF,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gDAAgD,CAAC,CAAA;AAEzH,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;EAG1D,CAAA;AACF,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+CAA+C,CAAC,CAAA;AAEvH,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMtD,CAAA;AACF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2CAA2C,CAAC,CAAA"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PreferenceActionPayloadDecodedPayloadSchema = exports.PreferenceActionPayloadDecodedPayloadWaitSchema = exports.PreferenceActionPayloadDecodedPayloadTextSchema = exports.PreferenceActionPayloadDecodedPayloadPriceSchema = exports.PreferenceActionPayloadDecodedPayloadEmptySchema = void 0;
|
|
3
|
+
exports.PreferenceActionPayloadDecodedPayloadSchema = exports.PreferenceActionPayloadDecodedPayloadWaitSchema = exports.PreferenceActionPayloadDecodedPayloadTextsSchema = exports.PreferenceActionPayloadDecodedPayloadTextSchema = exports.PreferenceActionPayloadDecodedPayloadPriceSchema = exports.PreferenceActionPayloadDecodedPayloadEmptySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const PreferencePricePayload_1 = require("../prices/PreferencePricePayload");
|
|
6
6
|
const PreferenceTextPayload_1 = require("../texts/PreferenceTextPayload");
|
|
7
|
+
const PreferenceTextsPayload_1 = require("../texts/PreferenceTextsPayload");
|
|
7
8
|
const PreferenceWaitPayload_1 = require("../wait/PreferenceWaitPayload");
|
|
8
9
|
exports.PreferenceActionPayloadDecodedPayloadEmptySchema = zod_1.z.object({
|
|
9
10
|
type: zod_1.z.literal("EMPTY")
|
|
@@ -16,6 +17,10 @@ exports.PreferenceActionPayloadDecodedPayloadTextSchema = zod_1.z.object({
|
|
|
16
17
|
data: PreferenceTextPayload_1.PreferenceTextPayloadSchema,
|
|
17
18
|
type: zod_1.z.literal("TEXT")
|
|
18
19
|
});
|
|
20
|
+
exports.PreferenceActionPayloadDecodedPayloadTextsSchema = zod_1.z.object({
|
|
21
|
+
data: PreferenceTextsPayload_1.PreferenceTextsPayloadSchema,
|
|
22
|
+
type: zod_1.z.literal("TEXTS")
|
|
23
|
+
});
|
|
19
24
|
exports.PreferenceActionPayloadDecodedPayloadWaitSchema = zod_1.z.object({
|
|
20
25
|
data: PreferenceWaitPayload_1.PreferenceWaitPayloadSchema,
|
|
21
26
|
type: zod_1.z.literal("WAIT")
|
|
@@ -24,6 +29,7 @@ exports.PreferenceActionPayloadDecodedPayloadSchema = zod_1.z.discriminatedUnion
|
|
|
24
29
|
exports.PreferenceActionPayloadDecodedPayloadEmptySchema,
|
|
25
30
|
exports.PreferenceActionPayloadDecodedPayloadPriceSchema,
|
|
26
31
|
exports.PreferenceActionPayloadDecodedPayloadTextSchema,
|
|
32
|
+
exports.PreferenceActionPayloadDecodedPayloadTextsSchema,
|
|
27
33
|
exports.PreferenceActionPayloadDecodedPayloadWaitSchema
|
|
28
34
|
]);
|
|
29
35
|
//# sourceMappingURL=PreferenceActionPayloadDecodedPayload.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreferenceActionPayloadDecodedPayload.js","sourceRoot":"","sources":["PreferenceActionPayloadDecodedPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,6EAA6E;AAC7E,0EAA0E;AAC1E,yEAAyE;AAE5D,QAAA,gDAAgD,GAAG,OAAC,CAAC,MAAM,CAAC;IACrE,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,OAAO,CAAC;CAC3B,CAAC,CAAA;AAGW,QAAA,gDAAgD,GAAG,OAAC,CAAC,MAAM,CAAC;IACrE,IAAI,EAAE,qDAA4B;IAClC,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,OAAO,CAAC;CAC3B,CAAC,CAAA;AAGW,QAAA,+CAA+C,GAAG,OAAC,CAAC,MAAM,CAAC;IACpE,IAAI,EAAE,mDAA2B;IACjC,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,MAAM,CAAC;CAC1B,CAAC,CAAA;AAGW,QAAA,+CAA+C,GAAG,OAAC,CAAC,MAAM,CAAC;IACpE,IAAI,EAAE,mDAA2B;IACjC,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,MAAM,CAAC;CAC1B,CAAC,CAA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1,7 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
2
|
import {PreferencePricePayloadSchema} from "../prices/PreferencePricePayload"
|
|
3
3
|
import {PreferenceTextPayloadSchema} from "../texts/PreferenceTextPayload"
|
|
4
|
+
import {PreferenceTextsPayloadSchema} from "../texts/PreferenceTextsPayload"
|
|
4
5
|
import {PreferenceWaitPayloadSchema} from "../wait/PreferenceWaitPayload"
|
|
5
6
|
|
|
6
7
|
export const PreferenceActionPayloadDecodedPayloadEmptySchema = z.object({
|
|
@@ -20,6 +21,12 @@ export const PreferenceActionPayloadDecodedPayloadTextSchema = z.object({
|
|
|
20
21
|
})
|
|
21
22
|
export type PreferenceActionPayloadDecodedPayloadText = z.infer<typeof PreferenceActionPayloadDecodedPayloadTextSchema>
|
|
22
23
|
|
|
24
|
+
export const PreferenceActionPayloadDecodedPayloadTextsSchema = z.object({
|
|
25
|
+
data: PreferenceTextsPayloadSchema,
|
|
26
|
+
type: z.literal("TEXTS")
|
|
27
|
+
})
|
|
28
|
+
export type PreferenceActionPayloadDecodedPayloadTexts = z.infer<typeof PreferenceActionPayloadDecodedPayloadTextsSchema>
|
|
29
|
+
|
|
23
30
|
export const PreferenceActionPayloadDecodedPayloadWaitSchema = z.object({
|
|
24
31
|
data: PreferenceWaitPayloadSchema,
|
|
25
32
|
type: z.literal("WAIT")
|
|
@@ -30,6 +37,7 @@ export const PreferenceActionPayloadDecodedPayloadSchema = z.discriminatedUnion(
|
|
|
30
37
|
PreferenceActionPayloadDecodedPayloadEmptySchema,
|
|
31
38
|
PreferenceActionPayloadDecodedPayloadPriceSchema,
|
|
32
39
|
PreferenceActionPayloadDecodedPayloadTextSchema,
|
|
40
|
+
PreferenceActionPayloadDecodedPayloadTextsSchema,
|
|
33
41
|
PreferenceActionPayloadDecodedPayloadWaitSchema
|
|
34
42
|
])
|
|
35
43
|
export type PreferenceActionPayloadDecodedPayload = z.infer<typeof PreferenceActionPayloadDecodedPayloadSchema>
|
package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts
CHANGED
|
@@ -67,6 +67,25 @@ export declare const PreferenceActionsPayloadSchema: z.ZodObject<{
|
|
|
67
67
|
data: {
|
|
68
68
|
text: string;
|
|
69
69
|
};
|
|
70
|
+
}>, z.ZodObject<{
|
|
71
|
+
data: z.ZodObject<{
|
|
72
|
+
texts: z.ZodArray<z.ZodString, "many">;
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
texts: string[];
|
|
75
|
+
}, {
|
|
76
|
+
texts: string[];
|
|
77
|
+
}>;
|
|
78
|
+
type: z.ZodLiteral<"TEXTS">;
|
|
79
|
+
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
type: "TEXTS";
|
|
81
|
+
data: {
|
|
82
|
+
texts: string[];
|
|
83
|
+
};
|
|
84
|
+
}, {
|
|
85
|
+
type: "TEXTS";
|
|
86
|
+
data: {
|
|
87
|
+
texts: string[];
|
|
88
|
+
};
|
|
70
89
|
}>, z.ZodObject<{
|
|
71
90
|
data: z.ZodObject<{
|
|
72
91
|
seconds: z.ZodNumber;
|
|
@@ -106,6 +125,11 @@ export declare const PreferenceActionsPayloadSchema: z.ZodObject<{
|
|
|
106
125
|
data: {
|
|
107
126
|
text: string;
|
|
108
127
|
};
|
|
128
|
+
} | {
|
|
129
|
+
type: "TEXTS";
|
|
130
|
+
data: {
|
|
131
|
+
texts: string[];
|
|
132
|
+
};
|
|
109
133
|
} | {
|
|
110
134
|
type: "WAIT";
|
|
111
135
|
data: {
|
|
@@ -132,6 +156,11 @@ export declare const PreferenceActionsPayloadSchema: z.ZodObject<{
|
|
|
132
156
|
data: {
|
|
133
157
|
text: string;
|
|
134
158
|
};
|
|
159
|
+
} | {
|
|
160
|
+
type: "TEXTS";
|
|
161
|
+
data: {
|
|
162
|
+
texts: string[];
|
|
163
|
+
};
|
|
135
164
|
} | {
|
|
136
165
|
type: "WAIT";
|
|
137
166
|
data: {
|
|
@@ -160,6 +189,11 @@ export declare const PreferenceActionsPayloadSchema: z.ZodObject<{
|
|
|
160
189
|
data: {
|
|
161
190
|
text: string;
|
|
162
191
|
};
|
|
192
|
+
} | {
|
|
193
|
+
type: "TEXTS";
|
|
194
|
+
data: {
|
|
195
|
+
texts: string[];
|
|
196
|
+
};
|
|
163
197
|
} | {
|
|
164
198
|
type: "WAIT";
|
|
165
199
|
data: {
|
|
@@ -188,6 +222,11 @@ export declare const PreferenceActionsPayloadSchema: z.ZodObject<{
|
|
|
188
222
|
data: {
|
|
189
223
|
text: string;
|
|
190
224
|
};
|
|
225
|
+
} | {
|
|
226
|
+
type: "TEXTS";
|
|
227
|
+
data: {
|
|
228
|
+
texts: string[];
|
|
229
|
+
};
|
|
191
230
|
} | {
|
|
192
231
|
type: "WAIT";
|
|
193
232
|
data: {
|
package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreferenceActionsPayload.d.ts","sourceRoot":"","sources":["PreferenceActionsPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,8BAA8B
|
|
1
|
+
{"version":3,"file":"PreferenceActionsPayload.d.ts","sourceRoot":"","sources":["PreferenceActionsPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEzC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PreferenceTextsPayloadSchema: z.ZodObject<{
|
|
3
|
+
texts: z.ZodArray<z.ZodString, "many">;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
texts: string[];
|
|
6
|
+
}, {
|
|
7
|
+
texts: string[];
|
|
8
|
+
}>;
|
|
9
|
+
export type PreferenceTextsPayload = z.infer<typeof PreferenceTextsPayloadSchema>;
|
|
10
|
+
//# sourceMappingURL=PreferenceTextsPayload.d.ts.map
|
package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextsPayload.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreferenceTextsPayload.d.ts","sourceRoot":"","sources":["PreferenceTextsPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,4BAA4B;;;;;;EAEvC,CAAA;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreferenceTextsPayloadSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.PreferenceTextsPayloadSchema = zod_1.z.object({
|
|
6
|
+
texts: zod_1.z.array(zod_1.z.string())
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=PreferenceTextsPayload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreferenceTextsPayload.js","sourceRoot":"","sources":["PreferenceTextsPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAC7B,CAAC,CAAA"}
|