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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemsWithFilters.d.ts","sourceRoot":"","sources":["ItemsWithFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"ItemsWithFilters.d.ts","sourceRoot":"","sources":["ItemsWithFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
|
@@ -220,7 +220,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
220
220
|
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
221
221
|
id: z.ZodString;
|
|
222
222
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
223
|
-
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
223
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATING", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
224
224
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
225
225
|
data: z.ZodObject<{
|
|
226
226
|
soldAccountId: z.ZodString;
|
|
@@ -350,7 +350,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
350
350
|
}>]>>>;
|
|
351
351
|
createdAt: z.ZodDate;
|
|
352
352
|
}, "strip", z.ZodTypeAny, {
|
|
353
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
353
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATING" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
354
354
|
id: string;
|
|
355
355
|
createdAt: Date;
|
|
356
356
|
itemId: string | number;
|
|
@@ -388,7 +388,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
388
388
|
};
|
|
389
389
|
} | null | undefined;
|
|
390
390
|
}, {
|
|
391
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
391
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATING" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
392
392
|
id: string;
|
|
393
393
|
createdAt: Date;
|
|
394
394
|
itemId: string | number;
|
|
@@ -441,12 +441,26 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
441
441
|
name: z.ZodString;
|
|
442
442
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
443
443
|
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
444
|
+
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
445
|
+
startsAt: z.ZodDate;
|
|
446
|
+
endsAt: z.ZodDate;
|
|
447
|
+
}, "strip", z.ZodTypeAny, {
|
|
448
|
+
startsAt: Date;
|
|
449
|
+
endsAt: Date;
|
|
450
|
+
}, {
|
|
451
|
+
startsAt: Date;
|
|
452
|
+
endsAt: Date;
|
|
453
|
+
}>>>;
|
|
444
454
|
}, "strip", z.ZodTypeAny, {
|
|
445
455
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
446
456
|
userId: string | number;
|
|
447
457
|
name: string;
|
|
448
458
|
platform: "VINTED" | "SHOPIFY";
|
|
449
459
|
accountId: string;
|
|
460
|
+
night?: {
|
|
461
|
+
startsAt: Date;
|
|
462
|
+
endsAt: Date;
|
|
463
|
+
} | null | undefined;
|
|
450
464
|
locale?: string | null | undefined;
|
|
451
465
|
}, {
|
|
452
466
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
@@ -454,6 +468,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
454
468
|
name: string;
|
|
455
469
|
platform: "VINTED" | "SHOPIFY";
|
|
456
470
|
accountId: string;
|
|
471
|
+
night?: {
|
|
472
|
+
startsAt: Date;
|
|
473
|
+
endsAt: Date;
|
|
474
|
+
} | null | undefined;
|
|
457
475
|
locale?: string | null | undefined;
|
|
458
476
|
}>>>;
|
|
459
477
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -470,6 +488,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
470
488
|
name: string;
|
|
471
489
|
platform: "VINTED" | "SHOPIFY";
|
|
472
490
|
accountId: string;
|
|
491
|
+
night?: {
|
|
492
|
+
startsAt: Date;
|
|
493
|
+
endsAt: Date;
|
|
494
|
+
} | null | undefined;
|
|
473
495
|
locale?: string | null | undefined;
|
|
474
496
|
} | null | undefined;
|
|
475
497
|
}, {
|
|
@@ -486,6 +508,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
486
508
|
name: string;
|
|
487
509
|
platform: "VINTED" | "SHOPIFY";
|
|
488
510
|
accountId: string;
|
|
511
|
+
night?: {
|
|
512
|
+
startsAt: Date;
|
|
513
|
+
endsAt: Date;
|
|
514
|
+
} | null | undefined;
|
|
489
515
|
locale?: string | null | undefined;
|
|
490
516
|
} | null | undefined;
|
|
491
517
|
}>, "many">>>;
|
|
@@ -531,6 +557,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
531
557
|
name: string;
|
|
532
558
|
platform: "VINTED" | "SHOPIFY";
|
|
533
559
|
accountId: string;
|
|
560
|
+
night?: {
|
|
561
|
+
startsAt: Date;
|
|
562
|
+
endsAt: Date;
|
|
563
|
+
} | null | undefined;
|
|
534
564
|
locale?: string | null | undefined;
|
|
535
565
|
} | null | undefined;
|
|
536
566
|
}[] | null | undefined;
|
|
@@ -596,7 +626,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
596
626
|
fieldId: string | number;
|
|
597
627
|
}[] | null | undefined;
|
|
598
628
|
lastHistory?: {
|
|
599
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
629
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATING" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
600
630
|
id: string;
|
|
601
631
|
createdAt: Date;
|
|
602
632
|
itemId: string | number;
|
|
@@ -674,6 +704,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
674
704
|
name: string;
|
|
675
705
|
platform: "VINTED" | "SHOPIFY";
|
|
676
706
|
accountId: string;
|
|
707
|
+
night?: {
|
|
708
|
+
startsAt: Date;
|
|
709
|
+
endsAt: Date;
|
|
710
|
+
} | null | undefined;
|
|
677
711
|
locale?: string | null | undefined;
|
|
678
712
|
} | null | undefined;
|
|
679
713
|
}[] | null | undefined;
|
|
@@ -739,7 +773,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
739
773
|
fieldId: string | number;
|
|
740
774
|
}[] | null | undefined;
|
|
741
775
|
lastHistory?: {
|
|
742
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
776
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATING" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
743
777
|
id: string;
|
|
744
778
|
createdAt: Date;
|
|
745
779
|
itemId: string | number;
|
|
@@ -849,6 +883,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
849
883
|
name: string;
|
|
850
884
|
platform: "VINTED" | "SHOPIFY";
|
|
851
885
|
accountId: string;
|
|
886
|
+
night?: {
|
|
887
|
+
startsAt: Date;
|
|
888
|
+
endsAt: Date;
|
|
889
|
+
} | null | undefined;
|
|
852
890
|
locale?: string | null | undefined;
|
|
853
891
|
} | null | undefined;
|
|
854
892
|
}[] | null | undefined;
|
|
@@ -914,7 +952,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
914
952
|
fieldId: string | number;
|
|
915
953
|
}[] | null | undefined;
|
|
916
954
|
lastHistory?: {
|
|
917
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
955
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATING" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
918
956
|
id: string;
|
|
919
957
|
createdAt: Date;
|
|
920
958
|
itemId: string | number;
|
|
@@ -1002,6 +1040,10 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1002
1040
|
name: string;
|
|
1003
1041
|
platform: "VINTED" | "SHOPIFY";
|
|
1004
1042
|
accountId: string;
|
|
1043
|
+
night?: {
|
|
1044
|
+
startsAt: Date;
|
|
1045
|
+
endsAt: Date;
|
|
1046
|
+
} | null | undefined;
|
|
1005
1047
|
locale?: string | null | undefined;
|
|
1006
1048
|
} | null | undefined;
|
|
1007
1049
|
}[] | null | undefined;
|
|
@@ -1067,7 +1109,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
1067
1109
|
fieldId: string | number;
|
|
1068
1110
|
}[] | null | undefined;
|
|
1069
1111
|
lastHistory?: {
|
|
1070
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1112
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATING" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1071
1113
|
id: string;
|
|
1072
1114
|
createdAt: Date;
|
|
1073
1115
|
itemId: string | number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdatedItem.d.ts","sourceRoot":"","sources":["UpdatedItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"UpdatedItem.d.ts","sourceRoot":"","sources":["UpdatedItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5B,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CreateItemHistoryPayloadSchema: z.ZodObject<{
|
|
3
|
-
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
3
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATING", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
4
4
|
data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5
5
|
data: z.ZodObject<{
|
|
6
6
|
soldAccountId: z.ZodString;
|
|
@@ -129,7 +129,7 @@ export declare const CreateItemHistoryPayloadSchema: z.ZodObject<{
|
|
|
129
129
|
};
|
|
130
130
|
}>]>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
132
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATING" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
133
133
|
data: {
|
|
134
134
|
type: "BUYER_PAID";
|
|
135
135
|
data: {
|
|
@@ -164,7 +164,7 @@ export declare const CreateItemHistoryPayloadSchema: z.ZodObject<{
|
|
|
164
164
|
};
|
|
165
165
|
};
|
|
166
166
|
}, {
|
|
167
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
167
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATING" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
168
168
|
data: {
|
|
169
169
|
type: "BUYER_PAID";
|
|
170
170
|
data: {
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const ItemHistorySchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5
|
-
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
5
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATING", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
6
6
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7
7
|
data: z.ZodObject<{
|
|
8
8
|
soldAccountId: z.ZodString;
|
|
@@ -132,7 +132,7 @@ export declare const ItemHistorySchema: z.ZodObject<{
|
|
|
132
132
|
}>]>>>;
|
|
133
133
|
createdAt: z.ZodDate;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
135
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATING" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
136
136
|
id: string;
|
|
137
137
|
createdAt: Date;
|
|
138
138
|
itemId: string | number;
|
|
@@ -170,7 +170,7 @@ export declare const ItemHistorySchema: z.ZodObject<{
|
|
|
170
170
|
};
|
|
171
171
|
} | null | undefined;
|
|
172
172
|
}, {
|
|
173
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
173
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATING" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
174
174
|
id: string;
|
|
175
175
|
createdAt: Date;
|
|
176
176
|
itemId: string | number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const ItemHistoryTypeSchema: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
2
|
+
export declare const ItemHistoryTypeSchema: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATING", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
3
3
|
export type ItemHistoryType = z.infer<typeof ItemHistoryTypeSchema>;
|
|
4
4
|
//# sourceMappingURL=ItemHistoryType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemHistoryType.d.ts","sourceRoot":"","sources":["ItemHistoryType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"ItemHistoryType.d.ts","sourceRoot":"","sources":["ItemHistoryType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,qBAAqB,iQAEhC,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ItemHistoryTypeSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.ItemHistoryTypeSchema = zod_1.z.enum([
|
|
6
|
-
"IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"
|
|
6
|
+
"IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATING", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"
|
|
7
7
|
]);
|
|
8
8
|
//# sourceMappingURL=ItemHistoryType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemHistoryType.js","sourceRoot":"","sources":["ItemHistoryType.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,qBAAqB,GAAG,OAAC,CAAC,IAAI,CAAC;IACxC,UAAU,EAAE,WAAW,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"ItemHistoryType.js","sourceRoot":"","sources":["ItemHistoryType.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,qBAAqB,GAAG,OAAC,CAAC,IAAI,CAAC;IACxC,UAAU,EAAE,WAAW,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ;CACrP,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
2
|
|
|
3
3
|
export const ItemHistoryTypeSchema = z.enum([
|
|
4
|
-
"IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"
|
|
4
|
+
"IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATING", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"
|
|
5
5
|
])
|
|
6
6
|
export type ItemHistoryType = z.infer<typeof ItemHistoryTypeSchema>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemHistoryTypeWithCountSchema: z.ZodObject<{
|
|
3
|
-
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
3
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATING", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
4
4
|
count: z.ZodNumber;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
6
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATING" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
7
7
|
count: number;
|
|
8
8
|
}, {
|
|
9
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
9
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATING" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
10
10
|
count: number;
|
|
11
11
|
}>;
|
|
12
12
|
export type ItemHistoryTypeWithCount = z.infer<typeof ItemHistoryTypeWithCountSchema>;
|
|
@@ -14,12 +14,26 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
14
14
|
name: z.ZodString;
|
|
15
15
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
17
|
+
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
+
startsAt: z.ZodDate;
|
|
19
|
+
endsAt: z.ZodDate;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
startsAt: Date;
|
|
22
|
+
endsAt: Date;
|
|
23
|
+
}, {
|
|
24
|
+
startsAt: Date;
|
|
25
|
+
endsAt: Date;
|
|
26
|
+
}>>>;
|
|
17
27
|
}, "strip", z.ZodTypeAny, {
|
|
18
28
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
19
29
|
userId: string | number;
|
|
20
30
|
name: string;
|
|
21
31
|
platform: "VINTED" | "SHOPIFY";
|
|
22
32
|
accountId: string;
|
|
33
|
+
night?: {
|
|
34
|
+
startsAt: Date;
|
|
35
|
+
endsAt: Date;
|
|
36
|
+
} | null | undefined;
|
|
23
37
|
locale?: string | null | undefined;
|
|
24
38
|
}, {
|
|
25
39
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
@@ -27,6 +41,10 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
27
41
|
name: string;
|
|
28
42
|
platform: "VINTED" | "SHOPIFY";
|
|
29
43
|
accountId: string;
|
|
44
|
+
night?: {
|
|
45
|
+
startsAt: Date;
|
|
46
|
+
endsAt: Date;
|
|
47
|
+
} | null | undefined;
|
|
30
48
|
locale?: string | null | undefined;
|
|
31
49
|
}>>>;
|
|
32
50
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -43,6 +61,10 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
43
61
|
name: string;
|
|
44
62
|
platform: "VINTED" | "SHOPIFY";
|
|
45
63
|
accountId: string;
|
|
64
|
+
night?: {
|
|
65
|
+
startsAt: Date;
|
|
66
|
+
endsAt: Date;
|
|
67
|
+
} | null | undefined;
|
|
46
68
|
locale?: string | null | undefined;
|
|
47
69
|
} | null | undefined;
|
|
48
70
|
}, {
|
|
@@ -59,6 +81,10 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
59
81
|
name: string;
|
|
60
82
|
platform: "VINTED" | "SHOPIFY";
|
|
61
83
|
accountId: string;
|
|
84
|
+
night?: {
|
|
85
|
+
startsAt: Date;
|
|
86
|
+
endsAt: Date;
|
|
87
|
+
} | null | undefined;
|
|
62
88
|
locale?: string | null | undefined;
|
|
63
89
|
} | null | undefined;
|
|
64
90
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemOnPlatform.d.ts","sourceRoot":"","sources":["ItemOnPlatform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"ItemOnPlatform.d.ts","sourceRoot":"","sources":["ItemOnPlatform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -16,6 +16,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
16
16
|
packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
18
18
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
20
|
size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
21
|
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
22
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -34,6 +35,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
34
35
|
description?: string | null | undefined;
|
|
35
36
|
price?: number | null | undefined;
|
|
36
37
|
isDraft?: boolean | null | undefined;
|
|
38
|
+
currency?: string | null | undefined;
|
|
37
39
|
brand?: string | null | undefined;
|
|
38
40
|
catalog?: string | null | undefined;
|
|
39
41
|
catalogId?: number | null | undefined;
|
|
@@ -57,6 +59,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
57
59
|
description?: string | null | undefined;
|
|
58
60
|
price?: number | null | undefined;
|
|
59
61
|
isDraft?: boolean | null | undefined;
|
|
62
|
+
currency?: string | null | undefined;
|
|
60
63
|
brand?: string | null | undefined;
|
|
61
64
|
catalog?: string | null | undefined;
|
|
62
65
|
catalogId?: number | null | undefined;
|
|
@@ -83,6 +86,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
83
86
|
description?: string | null | undefined;
|
|
84
87
|
price?: number | null | undefined;
|
|
85
88
|
isDraft?: boolean | null | undefined;
|
|
89
|
+
currency?: string | null | undefined;
|
|
86
90
|
brand?: string | null | undefined;
|
|
87
91
|
catalog?: string | null | undefined;
|
|
88
92
|
catalogId?: number | null | undefined;
|
|
@@ -111,6 +115,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
111
115
|
description?: string | null | undefined;
|
|
112
116
|
price?: number | null | undefined;
|
|
113
117
|
isDraft?: boolean | null | undefined;
|
|
118
|
+
currency?: string | null | undefined;
|
|
114
119
|
brand?: string | null | undefined;
|
|
115
120
|
catalog?: string | null | undefined;
|
|
116
121
|
catalogId?: number | null | undefined;
|
|
@@ -138,12 +143,26 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
138
143
|
name: z.ZodString;
|
|
139
144
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
140
145
|
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
146
|
+
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
147
|
+
startsAt: z.ZodDate;
|
|
148
|
+
endsAt: z.ZodDate;
|
|
149
|
+
}, "strip", z.ZodTypeAny, {
|
|
150
|
+
startsAt: Date;
|
|
151
|
+
endsAt: Date;
|
|
152
|
+
}, {
|
|
153
|
+
startsAt: Date;
|
|
154
|
+
endsAt: Date;
|
|
155
|
+
}>>>;
|
|
141
156
|
}, "strip", z.ZodTypeAny, {
|
|
142
157
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
143
158
|
userId: string | number;
|
|
144
159
|
name: string;
|
|
145
160
|
platform: "VINTED" | "SHOPIFY";
|
|
146
161
|
accountId: string;
|
|
162
|
+
night?: {
|
|
163
|
+
startsAt: Date;
|
|
164
|
+
endsAt: Date;
|
|
165
|
+
} | null | undefined;
|
|
147
166
|
locale?: string | null | undefined;
|
|
148
167
|
}, {
|
|
149
168
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
@@ -151,6 +170,10 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
151
170
|
name: string;
|
|
152
171
|
platform: "VINTED" | "SHOPIFY";
|
|
153
172
|
accountId: string;
|
|
173
|
+
night?: {
|
|
174
|
+
startsAt: Date;
|
|
175
|
+
endsAt: Date;
|
|
176
|
+
} | null | undefined;
|
|
154
177
|
locale?: string | null | undefined;
|
|
155
178
|
}>;
|
|
156
179
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -160,6 +183,10 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
160
183
|
name: string;
|
|
161
184
|
platform: "VINTED" | "SHOPIFY";
|
|
162
185
|
accountId: string;
|
|
186
|
+
night?: {
|
|
187
|
+
startsAt: Date;
|
|
188
|
+
endsAt: Date;
|
|
189
|
+
} | null | undefined;
|
|
163
190
|
locale?: string | null | undefined;
|
|
164
191
|
};
|
|
165
192
|
item: {
|
|
@@ -171,6 +198,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
171
198
|
description?: string | null | undefined;
|
|
172
199
|
price?: number | null | undefined;
|
|
173
200
|
isDraft?: boolean | null | undefined;
|
|
201
|
+
currency?: string | null | undefined;
|
|
174
202
|
brand?: string | null | undefined;
|
|
175
203
|
catalog?: string | null | undefined;
|
|
176
204
|
catalogId?: number | null | undefined;
|
|
@@ -198,6 +226,10 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
198
226
|
name: string;
|
|
199
227
|
platform: "VINTED" | "SHOPIFY";
|
|
200
228
|
accountId: string;
|
|
229
|
+
night?: {
|
|
230
|
+
startsAt: Date;
|
|
231
|
+
endsAt: Date;
|
|
232
|
+
} | null | undefined;
|
|
201
233
|
locale?: string | null | undefined;
|
|
202
234
|
};
|
|
203
235
|
item: {
|
|
@@ -209,6 +241,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
209
241
|
description?: string | null | undefined;
|
|
210
242
|
price?: number | null | undefined;
|
|
211
243
|
isDraft?: boolean | null | undefined;
|
|
244
|
+
currency?: string | null | undefined;
|
|
212
245
|
brand?: string | null | undefined;
|
|
213
246
|
catalog?: string | null | undefined;
|
|
214
247
|
catalogId?: number | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemOnPlatformUpdateRequest.d.ts","sourceRoot":"","sources":["ItemOnPlatformUpdateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,iCAAiC
|
|
1
|
+
{"version":3,"file":"ItemOnPlatformUpdateRequest.d.ts","sourceRoot":"","sources":["ItemOnPlatformUpdateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5C,CAAA;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA"}
|
|
@@ -11,12 +11,26 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
14
|
+
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
|
+
startsAt: z.ZodDate;
|
|
16
|
+
endsAt: z.ZodDate;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
startsAt: Date;
|
|
19
|
+
endsAt: Date;
|
|
20
|
+
}, {
|
|
21
|
+
startsAt: Date;
|
|
22
|
+
endsAt: Date;
|
|
23
|
+
}>>>;
|
|
14
24
|
}, "strip", z.ZodTypeAny, {
|
|
15
25
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
16
26
|
userId: string | number;
|
|
17
27
|
name: string;
|
|
18
28
|
platform: "VINTED" | "SHOPIFY";
|
|
19
29
|
accountId: string;
|
|
30
|
+
night?: {
|
|
31
|
+
startsAt: Date;
|
|
32
|
+
endsAt: Date;
|
|
33
|
+
} | null | undefined;
|
|
20
34
|
locale?: string | null | undefined;
|
|
21
35
|
}, {
|
|
22
36
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
@@ -24,6 +38,10 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
24
38
|
name: string;
|
|
25
39
|
platform: "VINTED" | "SHOPIFY";
|
|
26
40
|
accountId: string;
|
|
41
|
+
night?: {
|
|
42
|
+
startsAt: Date;
|
|
43
|
+
endsAt: Date;
|
|
44
|
+
} | null | undefined;
|
|
27
45
|
locale?: string | null | undefined;
|
|
28
46
|
}>>>;
|
|
29
47
|
lastMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -265,6 +283,10 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
265
283
|
name: string;
|
|
266
284
|
platform: "VINTED" | "SHOPIFY";
|
|
267
285
|
accountId: string;
|
|
286
|
+
night?: {
|
|
287
|
+
startsAt: Date;
|
|
288
|
+
endsAt: Date;
|
|
289
|
+
} | null | undefined;
|
|
268
290
|
locale?: string | null | undefined;
|
|
269
291
|
} | null | undefined;
|
|
270
292
|
users?: {
|
|
@@ -332,6 +354,10 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
332
354
|
name: string;
|
|
333
355
|
platform: "VINTED" | "SHOPIFY";
|
|
334
356
|
accountId: string;
|
|
357
|
+
night?: {
|
|
358
|
+
startsAt: Date;
|
|
359
|
+
endsAt: Date;
|
|
360
|
+
} | null | undefined;
|
|
335
361
|
locale?: string | null | undefined;
|
|
336
362
|
} | null | undefined;
|
|
337
363
|
users?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Conversation.d.ts","sourceRoot":"","sources":["Conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"Conversation.d.ts","sourceRoot":"","sources":["Conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ7B,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
|