controlresell 2.2.6 → 2.2.7
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/application/RabbitMQRoutingKey.d.ts +1 -1
- package/src/com/controlresell/models/application/RabbitMQRoutingKey.js +1 -1
- package/src/com/controlresell/models/application/RabbitMQRoutingKey.ts +1 -1
- package/src/com/controlresell/models/items/CreatedItems.d.ts +205 -7
- package/src/com/controlresell/models/items/Item.d.ts +163 -5
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +205 -7
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +205 -7
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +121 -3
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.js +2 -1
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.ts +2 -1
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +121 -3
- package/src/com/controlresell/models/items/history/ItemHistory.js +2 -1
- package/src/com/controlresell/models/items/history/ItemHistory.ts +2 -1
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +81 -0
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.js +24 -0
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.ts +24 -0
- package/src/com/controlresell/models/items/history/data/ItemHistoryBuyerPaidPayload.d.ts +15 -0
- package/src/com/controlresell/models/items/history/data/ItemHistoryBuyerPaidPayload.js +9 -0
- package/src/com/controlresell/models/items/history/data/ItemHistoryBuyerPaidPayload.ts +8 -0
- package/src/com/controlresell/models/items/history/data/ItemHistoryDeliveredPayload.d.ts +15 -0
- package/src/com/controlresell/models/items/history/data/ItemHistoryDeliveredPayload.js +9 -0
- package/src/com/controlresell/models/items/history/data/ItemHistoryDeliveredPayload.ts +8 -0
- package/src/com/controlresell/models/platforms/favorites/CreateFavoritePayload.d.ts +15 -0
- package/src/com/controlresell/models/platforms/favorites/CreateFavoritePayload.js +9 -0
- package/src/com/controlresell/models/platforms/favorites/CreateFavoritePayload.ts +8 -0
- package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts +559 -0
- package/src/com/controlresell/models/platforms/favorites/Favorite.js +15 -0
- package/src/com/controlresell/models/platforms/favorites/Favorite.ts +14 -0
- package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts +52 -0
- package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.js +10 -0
- package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.ts +9 -0
- package/src/com/controlresell/models/platforms/favorites/UpdateFavoritePayload.d.ts +12 -0
- package/src/com/controlresell/models/platforms/favorites/UpdateFavoritePayload.js +8 -0
- package/src/com/controlresell/models/platforms/favorites/UpdateFavoritePayload.ts +7 -0
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +205 -7
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +205 -7
- package/src/com/controlresell/models/preferences/Preference.d.ts +13 -13
- package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts +205 -7
- package/src/com/controlresell/models/preferences/PreferenceWithCase.d.ts +39 -39
- package/src/com/controlresell/models/preferences/cases/CreatePreferenceCasePayload.d.ts +11 -11
- package/src/com/controlresell/models/preferences/cases/PartialPreferenceCasePayload.d.ts +11 -11
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +11 -11
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +3 -3
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.d.ts +1 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.js +1 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.ts +1 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +5 -5
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts +355 -0
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.js +13 -0
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.ts +12 -0
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayloadType.d.ts +3 -0
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayloadType.js +7 -0
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayloadType.ts +6 -0
- package/src/com/controlresell/models/preferences/variables/PreferenceVariable.d.ts +3 -3
- package/src/com/controlresell/models/preferences/variables/PreferenceVariableName.d.ts +1 -1
- package/src/com/controlresell/models/preferences/variables/PreferenceVariableName.js +1 -1
- package/src/com/controlresell/models/preferences/variables/PreferenceVariableName.ts +1 -1
- package/src/com/controlresell/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +9 -9
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariant.d.ts +9 -9
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +7 -7
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +9 -9
- package/src/index.d.ts +9 -3
- package/src/index.js +21 -9
- package/src/index.ts +9 -3
- package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.d.ts +0 -36
- package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.js +0 -17
- package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.ts +0 -16
- package/src/com/controlresell/models/platforms/preferences/PlatformPreference.d.ts +0 -42
- package/src/com/controlresell/models/platforms/preferences/PlatformPreference.js +0 -20
- package/src/com/controlresell/models/platforms/preferences/PlatformPreference.ts +0 -19
- package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.d.ts +0 -30
- package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.js +0 -14
- package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.ts +0 -13
|
@@ -153,7 +153,7 @@ export declare const CreatePreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
153
153
|
type: z.ZodLiteral<"ACTIONS">;
|
|
154
154
|
data: z.ZodObject<{
|
|
155
155
|
actions: z.ZodArray<z.ZodObject<{
|
|
156
|
-
type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
|
|
156
|
+
type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"]>;
|
|
157
157
|
enabled: z.ZodBoolean;
|
|
158
158
|
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
159
159
|
type: z.ZodLiteral<"EMPTY">;
|
|
@@ -319,7 +319,7 @@ export declare const CreatePreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
319
319
|
};
|
|
320
320
|
}>]>;
|
|
321
321
|
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
322
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
323
323
|
payload: {
|
|
324
324
|
type: "EMPTY";
|
|
325
325
|
} | {
|
|
@@ -361,7 +361,7 @@ export declare const CreatePreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
361
361
|
};
|
|
362
362
|
enabled: boolean;
|
|
363
363
|
}, {
|
|
364
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
364
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
365
365
|
payload: {
|
|
366
366
|
type: "EMPTY";
|
|
367
367
|
} | {
|
|
@@ -405,7 +405,7 @@ export declare const CreatePreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
405
405
|
}>, "many">;
|
|
406
406
|
}, "strip", z.ZodTypeAny, {
|
|
407
407
|
actions: {
|
|
408
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
408
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
409
409
|
payload: {
|
|
410
410
|
type: "EMPTY";
|
|
411
411
|
} | {
|
|
@@ -449,7 +449,7 @@ export declare const CreatePreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
449
449
|
}[];
|
|
450
450
|
}, {
|
|
451
451
|
actions: {
|
|
452
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
452
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
453
453
|
payload: {
|
|
454
454
|
type: "EMPTY";
|
|
455
455
|
} | {
|
|
@@ -496,7 +496,7 @@ export declare const CreatePreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
496
496
|
type: "ACTIONS";
|
|
497
497
|
data: {
|
|
498
498
|
actions: {
|
|
499
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
499
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
500
500
|
payload: {
|
|
501
501
|
type: "EMPTY";
|
|
502
502
|
} | {
|
|
@@ -543,7 +543,7 @@ export declare const CreatePreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
543
543
|
type: "ACTIONS";
|
|
544
544
|
data: {
|
|
545
545
|
actions: {
|
|
546
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
546
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
547
547
|
payload: {
|
|
548
548
|
type: "EMPTY";
|
|
549
549
|
} | {
|
|
@@ -666,7 +666,7 @@ export declare const CreatePreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
666
666
|
type: "ACTIONS";
|
|
667
667
|
data: {
|
|
668
668
|
actions: {
|
|
669
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
669
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
670
670
|
payload: {
|
|
671
671
|
type: "EMPTY";
|
|
672
672
|
} | {
|
|
@@ -758,7 +758,7 @@ export declare const CreatePreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
758
758
|
type: "ACTIONS";
|
|
759
759
|
data: {
|
|
760
760
|
actions: {
|
|
761
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
761
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
762
762
|
payload: {
|
|
763
763
|
type: "EMPTY";
|
|
764
764
|
} | {
|
|
@@ -856,7 +856,7 @@ export declare const CreatePreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
856
856
|
type: "ACTIONS";
|
|
857
857
|
data: {
|
|
858
858
|
actions: {
|
|
859
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
859
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
860
860
|
payload: {
|
|
861
861
|
type: "EMPTY";
|
|
862
862
|
} | {
|
|
@@ -954,7 +954,7 @@ export declare const CreatePreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
954
954
|
type: "ACTIONS";
|
|
955
955
|
data: {
|
|
956
956
|
actions: {
|
|
957
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
957
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
958
958
|
payload: {
|
|
959
959
|
type: "EMPTY";
|
|
960
960
|
} | {
|
|
@@ -153,7 +153,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
153
153
|
type: z.ZodLiteral<"ACTIONS">;
|
|
154
154
|
data: z.ZodObject<{
|
|
155
155
|
actions: z.ZodArray<z.ZodObject<{
|
|
156
|
-
type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
|
|
156
|
+
type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"]>;
|
|
157
157
|
enabled: z.ZodBoolean;
|
|
158
158
|
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
159
159
|
type: z.ZodLiteral<"EMPTY">;
|
|
@@ -319,7 +319,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
319
319
|
};
|
|
320
320
|
}>]>;
|
|
321
321
|
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
322
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
323
323
|
payload: {
|
|
324
324
|
type: "EMPTY";
|
|
325
325
|
} | {
|
|
@@ -361,7 +361,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
361
361
|
};
|
|
362
362
|
enabled: boolean;
|
|
363
363
|
}, {
|
|
364
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
364
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
365
365
|
payload: {
|
|
366
366
|
type: "EMPTY";
|
|
367
367
|
} | {
|
|
@@ -405,7 +405,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
405
405
|
}>, "many">;
|
|
406
406
|
}, "strip", z.ZodTypeAny, {
|
|
407
407
|
actions: {
|
|
408
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
408
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
409
409
|
payload: {
|
|
410
410
|
type: "EMPTY";
|
|
411
411
|
} | {
|
|
@@ -449,7 +449,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
449
449
|
}[];
|
|
450
450
|
}, {
|
|
451
451
|
actions: {
|
|
452
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
452
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
453
453
|
payload: {
|
|
454
454
|
type: "EMPTY";
|
|
455
455
|
} | {
|
|
@@ -496,7 +496,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
496
496
|
type: "ACTIONS";
|
|
497
497
|
data: {
|
|
498
498
|
actions: {
|
|
499
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
499
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
500
500
|
payload: {
|
|
501
501
|
type: "EMPTY";
|
|
502
502
|
} | {
|
|
@@ -543,7 +543,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
543
543
|
type: "ACTIONS";
|
|
544
544
|
data: {
|
|
545
545
|
actions: {
|
|
546
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
546
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
547
547
|
payload: {
|
|
548
548
|
type: "EMPTY";
|
|
549
549
|
} | {
|
|
@@ -666,7 +666,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
666
666
|
type: "ACTIONS";
|
|
667
667
|
data: {
|
|
668
668
|
actions: {
|
|
669
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
669
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
670
670
|
payload: {
|
|
671
671
|
type: "EMPTY";
|
|
672
672
|
} | {
|
|
@@ -758,7 +758,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
758
758
|
type: "ACTIONS";
|
|
759
759
|
data: {
|
|
760
760
|
actions: {
|
|
761
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
761
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
762
762
|
payload: {
|
|
763
763
|
type: "EMPTY";
|
|
764
764
|
} | {
|
|
@@ -857,7 +857,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
857
857
|
type: "ACTIONS";
|
|
858
858
|
data: {
|
|
859
859
|
actions: {
|
|
860
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
860
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
861
861
|
payload: {
|
|
862
862
|
type: "EMPTY";
|
|
863
863
|
} | {
|
|
@@ -955,7 +955,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
955
955
|
type: "ACTIONS";
|
|
956
956
|
data: {
|
|
957
957
|
actions: {
|
|
958
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
958
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
959
959
|
payload: {
|
|
960
960
|
type: "EMPTY";
|
|
961
961
|
} | {
|
|
@@ -158,7 +158,7 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
158
158
|
type: z.ZodLiteral<"ACTIONS">;
|
|
159
159
|
data: z.ZodObject<{
|
|
160
160
|
actions: z.ZodArray<z.ZodObject<{
|
|
161
|
-
type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
|
|
161
|
+
type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"]>;
|
|
162
162
|
enabled: z.ZodBoolean;
|
|
163
163
|
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
164
164
|
type: z.ZodLiteral<"EMPTY">;
|
|
@@ -324,7 +324,7 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
324
324
|
};
|
|
325
325
|
}>]>;
|
|
326
326
|
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
327
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
328
328
|
payload: {
|
|
329
329
|
type: "EMPTY";
|
|
330
330
|
} | {
|
|
@@ -366,7 +366,7 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
366
366
|
};
|
|
367
367
|
enabled: boolean;
|
|
368
368
|
}, {
|
|
369
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
369
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
370
370
|
payload: {
|
|
371
371
|
type: "EMPTY";
|
|
372
372
|
} | {
|
|
@@ -410,7 +410,7 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
410
410
|
}>, "many">;
|
|
411
411
|
}, "strip", z.ZodTypeAny, {
|
|
412
412
|
actions: {
|
|
413
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
413
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
414
414
|
payload: {
|
|
415
415
|
type: "EMPTY";
|
|
416
416
|
} | {
|
|
@@ -454,7 +454,7 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
454
454
|
}[];
|
|
455
455
|
}, {
|
|
456
456
|
actions: {
|
|
457
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
457
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
458
458
|
payload: {
|
|
459
459
|
type: "EMPTY";
|
|
460
460
|
} | {
|
|
@@ -501,7 +501,7 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
501
501
|
type: "ACTIONS";
|
|
502
502
|
data: {
|
|
503
503
|
actions: {
|
|
504
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
504
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
505
505
|
payload: {
|
|
506
506
|
type: "EMPTY";
|
|
507
507
|
} | {
|
|
@@ -548,7 +548,7 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
548
548
|
type: "ACTIONS";
|
|
549
549
|
data: {
|
|
550
550
|
actions: {
|
|
551
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
551
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
552
552
|
payload: {
|
|
553
553
|
type: "EMPTY";
|
|
554
554
|
} | {
|
|
@@ -672,7 +672,7 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
672
672
|
type: "ACTIONS";
|
|
673
673
|
data: {
|
|
674
674
|
actions: {
|
|
675
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
675
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
676
676
|
payload: {
|
|
677
677
|
type: "EMPTY";
|
|
678
678
|
} | {
|
|
@@ -766,7 +766,7 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
766
766
|
type: "ACTIONS";
|
|
767
767
|
data: {
|
|
768
768
|
actions: {
|
|
769
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
769
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
770
770
|
payload: {
|
|
771
771
|
type: "EMPTY";
|
|
772
772
|
} | {
|
|
@@ -868,7 +868,7 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
868
868
|
type: "ACTIONS";
|
|
869
869
|
data: {
|
|
870
870
|
actions: {
|
|
871
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
871
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
872
872
|
payload: {
|
|
873
873
|
type: "EMPTY";
|
|
874
874
|
} | {
|
|
@@ -970,7 +970,7 @@ export declare const PreferenceCaseSchema: z.ZodObject<{
|
|
|
970
970
|
type: "ACTIONS";
|
|
971
971
|
data: {
|
|
972
972
|
actions: {
|
|
973
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
973
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
974
974
|
payload: {
|
|
975
975
|
type: "EMPTY";
|
|
976
976
|
} | {
|
package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const PreferenceActionPayloadSchema: z.ZodObject<{
|
|
3
|
-
type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
|
|
3
|
+
type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"]>;
|
|
4
4
|
enabled: z.ZodBoolean;
|
|
5
5
|
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
6
6
|
type: z.ZodLiteral<"EMPTY">;
|
|
@@ -166,7 +166,7 @@ export declare const PreferenceActionPayloadSchema: z.ZodObject<{
|
|
|
166
166
|
};
|
|
167
167
|
}>]>;
|
|
168
168
|
}, "strip", z.ZodTypeAny, {
|
|
169
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
169
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
170
170
|
payload: {
|
|
171
171
|
type: "EMPTY";
|
|
172
172
|
} | {
|
|
@@ -208,7 +208,7 @@ export declare const PreferenceActionPayloadSchema: z.ZodObject<{
|
|
|
208
208
|
};
|
|
209
209
|
enabled: boolean;
|
|
210
210
|
}, {
|
|
211
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
211
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
212
212
|
payload: {
|
|
213
213
|
type: "EMPTY";
|
|
214
214
|
} | {
|
package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const PreferenceActionPayloadTypeSchema: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
|
|
2
|
+
export declare const PreferenceActionPayloadTypeSchema: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"]>;
|
|
3
3
|
export type PreferenceActionPayloadType = z.infer<typeof PreferenceActionPayloadTypeSchema>;
|
package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.js
CHANGED
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PreferenceActionPayloadTypeSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.PreferenceActionPayloadTypeSchema = zod_1.z.enum([
|
|
6
|
-
"WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"
|
|
6
|
+
"WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"
|
|
7
7
|
]);
|
package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
2
|
|
|
3
3
|
export const PreferenceActionPayloadTypeSchema = z.enum([
|
|
4
|
-
"WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"
|
|
4
|
+
"WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"
|
|
5
5
|
])
|
|
6
6
|
export type PreferenceActionPayloadType = z.infer<typeof PreferenceActionPayloadTypeSchema>
|
package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const PreferenceActionsPayloadSchema: z.ZodObject<{
|
|
3
3
|
actions: z.ZodArray<z.ZodObject<{
|
|
4
|
-
type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
|
|
4
|
+
type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"]>;
|
|
5
5
|
enabled: z.ZodBoolean;
|
|
6
6
|
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7
7
|
type: z.ZodLiteral<"EMPTY">;
|
|
@@ -167,7 +167,7 @@ export declare const PreferenceActionsPayloadSchema: z.ZodObject<{
|
|
|
167
167
|
};
|
|
168
168
|
}>]>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
170
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
171
171
|
payload: {
|
|
172
172
|
type: "EMPTY";
|
|
173
173
|
} | {
|
|
@@ -209,7 +209,7 @@ export declare const PreferenceActionsPayloadSchema: z.ZodObject<{
|
|
|
209
209
|
};
|
|
210
210
|
enabled: boolean;
|
|
211
211
|
}, {
|
|
212
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
212
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
213
213
|
payload: {
|
|
214
214
|
type: "EMPTY";
|
|
215
215
|
} | {
|
|
@@ -253,7 +253,7 @@ export declare const PreferenceActionsPayloadSchema: z.ZodObject<{
|
|
|
253
253
|
}>, "many">;
|
|
254
254
|
}, "strip", z.ZodTypeAny, {
|
|
255
255
|
actions: {
|
|
256
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
256
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
257
257
|
payload: {
|
|
258
258
|
type: "EMPTY";
|
|
259
259
|
} | {
|
|
@@ -297,7 +297,7 @@ export declare const PreferenceActionsPayloadSchema: z.ZodObject<{
|
|
|
297
297
|
}[];
|
|
298
298
|
}, {
|
|
299
299
|
actions: {
|
|
300
|
-
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
300
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
301
301
|
payload: {
|
|
302
302
|
type: "EMPTY";
|
|
303
303
|
} | {
|