controlresell 2.20.19 → 2.22.2

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.
Files changed (102) hide show
  1. package/package.json +2 -2
  2. package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +2 -2
  3. package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +19 -12
  4. package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts.map +1 -1
  5. package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +4 -4
  6. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +26 -17
  7. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
  8. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +20 -13
  9. package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
  10. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +4 -4
  11. package/src/com/controlresell/models/conversations/Conversation.d.ts +34 -29
  12. package/src/com/controlresell/models/conversations/Conversation.d.ts.map +1 -1
  13. package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +101 -5
  14. package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -1
  15. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +50 -43
  16. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts.map +1 -1
  17. package/src/com/controlresell/models/conversations/UserConversations.d.ts +50 -43
  18. package/src/com/controlresell/models/conversations/UserConversations.d.ts.map +1 -1
  19. package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +10 -5
  20. package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts.map +1 -1
  21. package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +14 -7
  22. package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts.map +1 -1
  23. package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +14 -7
  24. package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts.map +1 -1
  25. package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +12 -12
  26. package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
  27. package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +2 -2
  28. package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +10 -5
  29. package/src/com/controlresell/models/filters/PreferenceFilter.d.ts.map +1 -1
  30. package/src/com/controlresell/models/invoices/Invoice.d.ts +2 -2
  31. package/src/com/controlresell/models/items/CreatedItems.d.ts +44 -26
  32. package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
  33. package/src/com/controlresell/models/items/Item.d.ts +14 -7
  34. package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
  35. package/src/com/controlresell/models/items/ItemUpdate.d.ts +26 -17
  36. package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
  37. package/src/com/controlresell/models/items/UpdatedItem.d.ts +44 -26
  38. package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
  39. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +10 -5
  40. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
  41. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +10 -5
  42. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -1
  43. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +18 -0
  44. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts.map +1 -1
  45. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.js +3 -1
  46. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.js.map +1 -1
  47. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.ts +3 -1
  48. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +18 -9
  49. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts.map +1 -1
  50. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.d.ts +13 -0
  51. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.d.ts.map +1 -0
  52. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.js +6 -0
  53. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.js.map +1 -0
  54. package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.ts +7 -0
  55. package/src/com/controlresell/models/orders/FetchOrdersRequest.d.ts +30 -0
  56. package/src/com/controlresell/models/orders/FetchOrdersRequest.d.ts.map +1 -1
  57. package/src/com/controlresell/models/orders/FetchOrdersResponse.d.ts +30 -0
  58. package/src/com/controlresell/models/orders/FetchOrdersResponse.d.ts.map +1 -1
  59. package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.d.ts +4 -4
  60. package/src/com/controlresell/models/platforms/orders/Order.d.ts +34 -25
  61. package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
  62. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +40 -5
  63. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts.map +1 -1
  64. package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +2 -2
  65. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +102 -78
  66. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  67. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +14 -7
  68. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
  69. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +78 -58
  70. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  71. package/src/com/controlresell/models/transactions/Transaction.d.ts +18 -9
  72. package/src/com/controlresell/models/transactions/Transaction.d.ts.map +1 -1
  73. package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +14 -7
  74. package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts.map +1 -1
  75. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +48 -28
  76. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  77. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +10 -5
  78. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts.map +1 -1
  79. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +10 -5
  80. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts.map +1 -1
  81. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +6 -3
  82. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts.map +1 -1
  83. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js +2 -1
  84. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js.map +1 -1
  85. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.ts +2 -1
  86. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +6 -3
  87. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts.map +1 -1
  88. package/src/com/controlresell/models/users/platforms/UserOnPlatform.js +2 -1
  89. package/src/com/controlresell/models/users/platforms/UserOnPlatform.js.map +1 -1
  90. package/src/com/controlresell/models/users/platforms/UserOnPlatform.ts +2 -1
  91. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.d.ts +1 -1
  92. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.d.ts.map +1 -1
  93. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.js +2 -2
  94. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.js.map +1 -1
  95. package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.ts +2 -2
  96. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +152 -120
  97. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  98. package/src/index.d.ts +1 -0
  99. package/src/index.d.ts.map +1 -1
  100. package/src/index.js +1 -0
  101. package/src/index.js.map +1 -1
  102. package/src/index.ts +1 -0
@@ -2282,7 +2282,7 @@ export declare const ListedItemSchema: z.ZodObject<{
2282
2282
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
2283
2283
  name: z.ZodString;
2284
2284
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2285
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
2285
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
2286
2286
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2287
2287
  startsAt: z.ZodDate;
2288
2288
  endsAt: z.ZodDate;
@@ -2323,8 +2323,9 @@ export declare const ListedItemSchema: z.ZodObject<{
2323
2323
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2324
2324
  }>>>;
2325
2325
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
2326
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2326
2327
  }, "strip", z.ZodTypeAny, {
2327
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2328
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
2328
2329
  name: string;
2329
2330
  userId: number;
2330
2331
  accountId: string;
@@ -2350,12 +2351,13 @@ export declare const ListedItemSchema: z.ZodObject<{
2350
2351
  signedUrl: string;
2351
2352
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2352
2353
  } | null | undefined;
2354
+ cooldownEndsAt?: Date | null | undefined;
2353
2355
  }, {
2354
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2355
2356
  name: string;
2356
2357
  userId: number;
2357
2358
  accountId: string;
2358
2359
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2360
+ status?: unknown;
2359
2361
  locale?: string | null | undefined;
2360
2362
  lockReason?: unknown;
2361
2363
  night?: {
@@ -2377,6 +2379,7 @@ export declare const ListedItemSchema: z.ZodObject<{
2377
2379
  signedUrl: string;
2378
2380
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2379
2381
  } | null | undefined;
2382
+ cooldownEndsAt?: Date | null | undefined;
2380
2383
  }>>>;
2381
2384
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2382
2385
  viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2396,7 +2399,7 @@ export declare const ListedItemSchema: z.ZodObject<{
2396
2399
  viewsCount?: number | null | undefined;
2397
2400
  favoritesCount?: number | null | undefined;
2398
2401
  account?: {
2399
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2402
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
2400
2403
  name: string;
2401
2404
  userId: number;
2402
2405
  accountId: string;
@@ -2422,6 +2425,7 @@ export declare const ListedItemSchema: z.ZodObject<{
2422
2425
  signedUrl: string;
2423
2426
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2424
2427
  } | null | undefined;
2428
+ cooldownEndsAt?: Date | null | undefined;
2425
2429
  } | null | undefined;
2426
2430
  }, {
2427
2431
  id: string;
@@ -2438,11 +2442,11 @@ export declare const ListedItemSchema: z.ZodObject<{
2438
2442
  viewsCount?: number | null | undefined;
2439
2443
  favoritesCount?: number | null | undefined;
2440
2444
  account?: {
2441
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
2442
2445
  name: string;
2443
2446
  userId: number;
2444
2447
  accountId: string;
2445
2448
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2449
+ status?: unknown;
2446
2450
  locale?: string | null | undefined;
2447
2451
  lockReason?: unknown;
2448
2452
  night?: {
@@ -2464,6 +2468,7 @@ export declare const ListedItemSchema: z.ZodObject<{
2464
2468
  signedUrl: string;
2465
2469
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2466
2470
  } | null | undefined;
2471
+ cooldownEndsAt?: Date | null | undefined;
2467
2472
  } | null | undefined;
2468
2473
  }>, "many">>>;
2469
2474
  actions: z.ZodObject<{
@@ -2832,6 +2837,7 @@ export declare const ListedItemSchema: z.ZodObject<{
2832
2837
  issueDate: Date;
2833
2838
  subtotal: number;
2834
2839
  fileId?: string | null | undefined;
2840
+ vatAmount?: number | null | undefined;
2835
2841
  file?: {
2836
2842
  path: string;
2837
2843
  id: string;
@@ -2840,7 +2846,6 @@ export declare const ListedItemSchema: z.ZodObject<{
2840
2846
  signedUrl: string;
2841
2847
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2842
2848
  } | null | undefined;
2843
- vatAmount?: number | null | undefined;
2844
2849
  vatRate?: number | null | undefined;
2845
2850
  businessProfile?: {
2846
2851
  id: string;
@@ -2911,6 +2916,7 @@ export declare const ListedItemSchema: z.ZodObject<{
2911
2916
  issueDate: Date;
2912
2917
  subtotal: number;
2913
2918
  fileId?: string | null | undefined;
2919
+ vatAmount?: number | null | undefined;
2914
2920
  file?: {
2915
2921
  path: string;
2916
2922
  id: string;
@@ -2919,7 +2925,6 @@ export declare const ListedItemSchema: z.ZodObject<{
2919
2925
  signedUrl: string;
2920
2926
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2921
2927
  } | null | undefined;
2922
- vatAmount?: number | null | undefined;
2923
2928
  vatRate?: number | null | undefined;
2924
2929
  businessProfile?: {
2925
2930
  id: string;
@@ -3025,6 +3030,7 @@ export declare const ListedItemSchema: z.ZodObject<{
3025
3030
  issueDate: Date;
3026
3031
  subtotal: number;
3027
3032
  fileId?: string | null | undefined;
3033
+ vatAmount?: number | null | undefined;
3028
3034
  file?: {
3029
3035
  path: string;
3030
3036
  id: string;
@@ -3033,7 +3039,6 @@ export declare const ListedItemSchema: z.ZodObject<{
3033
3039
  signedUrl: string;
3034
3040
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3035
3041
  } | null | undefined;
3036
- vatAmount?: number | null | undefined;
3037
3042
  vatRate?: number | null | undefined;
3038
3043
  businessProfile?: {
3039
3044
  id: string;
@@ -3139,6 +3144,7 @@ export declare const ListedItemSchema: z.ZodObject<{
3139
3144
  issueDate: Date;
3140
3145
  subtotal: number;
3141
3146
  fileId?: string | null | undefined;
3147
+ vatAmount?: number | null | undefined;
3142
3148
  file?: {
3143
3149
  path: string;
3144
3150
  id: string;
@@ -3147,7 +3153,6 @@ export declare const ListedItemSchema: z.ZodObject<{
3147
3153
  signedUrl: string;
3148
3154
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3149
3155
  } | null | undefined;
3150
- vatAmount?: number | null | undefined;
3151
3156
  vatRate?: number | null | undefined;
3152
3157
  businessProfile?: {
3153
3158
  id: string;
@@ -3272,7 +3277,7 @@ export declare const ListedItemSchema: z.ZodObject<{
3272
3277
  viewsCount?: number | null | undefined;
3273
3278
  favoritesCount?: number | null | undefined;
3274
3279
  account?: {
3275
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
3280
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
3276
3281
  name: string;
3277
3282
  userId: number;
3278
3283
  accountId: string;
@@ -3298,6 +3303,7 @@ export declare const ListedItemSchema: z.ZodObject<{
3298
3303
  signedUrl: string;
3299
3304
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3300
3305
  } | null | undefined;
3306
+ cooldownEndsAt?: Date | null | undefined;
3301
3307
  } | null | undefined;
3302
3308
  }[] | null | undefined;
3303
3309
  brandId?: number | null | undefined;
@@ -3639,6 +3645,7 @@ export declare const ListedItemSchema: z.ZodObject<{
3639
3645
  issueDate: Date;
3640
3646
  subtotal: number;
3641
3647
  fileId?: string | null | undefined;
3648
+ vatAmount?: number | null | undefined;
3642
3649
  file?: {
3643
3650
  path: string;
3644
3651
  id: string;
@@ -3647,7 +3654,6 @@ export declare const ListedItemSchema: z.ZodObject<{
3647
3654
  signedUrl: string;
3648
3655
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3649
3656
  } | null | undefined;
3650
- vatAmount?: number | null | undefined;
3651
3657
  vatRate?: number | null | undefined;
3652
3658
  businessProfile?: {
3653
3659
  id: string;
@@ -3772,11 +3778,11 @@ export declare const ListedItemSchema: z.ZodObject<{
3772
3778
  viewsCount?: number | null | undefined;
3773
3779
  favoritesCount?: number | null | undefined;
3774
3780
  account?: {
3775
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
3776
3781
  name: string;
3777
3782
  userId: number;
3778
3783
  accountId: string;
3779
3784
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
3785
+ status?: unknown;
3780
3786
  locale?: string | null | undefined;
3781
3787
  lockReason?: unknown;
3782
3788
  night?: {
@@ -3798,6 +3804,7 @@ export declare const ListedItemSchema: z.ZodObject<{
3798
3804
  signedUrl: string;
3799
3805
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3800
3806
  } | null | undefined;
3807
+ cooldownEndsAt?: Date | null | undefined;
3801
3808
  } | null | undefined;
3802
3809
  }[] | null | undefined;
3803
3810
  brandId?: number | null | undefined;
@@ -4139,6 +4146,7 @@ export declare const ListedItemSchema: z.ZodObject<{
4139
4146
  issueDate: Date;
4140
4147
  subtotal: number;
4141
4148
  fileId?: string | null | undefined;
4149
+ vatAmount?: number | null | undefined;
4142
4150
  file?: {
4143
4151
  path: string;
4144
4152
  id: string;
@@ -4147,7 +4155,6 @@ export declare const ListedItemSchema: z.ZodObject<{
4147
4155
  signedUrl: string;
4148
4156
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4149
4157
  } | null | undefined;
4150
- vatAmount?: number | null | undefined;
4151
4158
  vatRate?: number | null | undefined;
4152
4159
  businessProfile?: {
4153
4160
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ListedItem.d.ts","sourceRoot":"","sources":["ListedItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAarB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuC3B,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
@@ -355,6 +355,7 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
355
355
  issueDate: Date;
356
356
  subtotal: number;
357
357
  fileId?: string | null | undefined;
358
+ vatAmount?: number | null | undefined;
358
359
  file?: {
359
360
  path: string;
360
361
  id: string;
@@ -363,7 +364,6 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
363
364
  signedUrl: string;
364
365
  status?: "PENDING" | "CONFIRMED" | null | undefined;
365
366
  } | null | undefined;
366
- vatAmount?: number | null | undefined;
367
367
  vatRate?: number | null | undefined;
368
368
  businessProfile?: {
369
369
  id: string;
@@ -434,6 +434,7 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
434
434
  issueDate: Date;
435
435
  subtotal: number;
436
436
  fileId?: string | null | undefined;
437
+ vatAmount?: number | null | undefined;
437
438
  file?: {
438
439
  path: string;
439
440
  id: string;
@@ -442,7 +443,6 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
442
443
  signedUrl: string;
443
444
  status?: "PENDING" | "CONFIRMED" | null | undefined;
444
445
  } | null | undefined;
445
- vatAmount?: number | null | undefined;
446
446
  vatRate?: number | null | undefined;
447
447
  businessProfile?: {
448
448
  id: string;
@@ -548,6 +548,7 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
548
548
  issueDate: Date;
549
549
  subtotal: number;
550
550
  fileId?: string | null | undefined;
551
+ vatAmount?: number | null | undefined;
551
552
  file?: {
552
553
  path: string;
553
554
  id: string;
@@ -556,7 +557,6 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
556
557
  signedUrl: string;
557
558
  status?: "PENDING" | "CONFIRMED" | null | undefined;
558
559
  } | null | undefined;
559
- vatAmount?: number | null | undefined;
560
560
  vatRate?: number | null | undefined;
561
561
  businessProfile?: {
562
562
  id: string;
@@ -662,6 +662,7 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
662
662
  issueDate: Date;
663
663
  subtotal: number;
664
664
  fileId?: string | null | undefined;
665
+ vatAmount?: number | null | undefined;
665
666
  file?: {
666
667
  path: string;
667
668
  id: string;
@@ -670,7 +671,6 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
670
671
  signedUrl: string;
671
672
  status?: "PENDING" | "CONFIRMED" | null | undefined;
672
673
  } | null | undefined;
673
- vatAmount?: number | null | undefined;
674
674
  vatRate?: number | null | undefined;
675
675
  businessProfile?: {
676
676
  id: string;
@@ -11,7 +11,7 @@ export declare const ConversationSchema: z.ZodObject<{
11
11
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
12
12
  name: z.ZodString;
13
13
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]>;
14
+ status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
15
15
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
16
  startsAt: z.ZodDate;
17
17
  endsAt: z.ZodDate;
@@ -52,8 +52,9 @@ export declare const ConversationSchema: z.ZodObject<{
52
52
  status?: "PENDING" | "CONFIRMED" | null | undefined;
53
53
  }>>>;
54
54
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
55
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
55
56
  }, "strip", z.ZodTypeAny, {
56
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
57
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
57
58
  name: string;
58
59
  userId: number;
59
60
  accountId: string;
@@ -79,12 +80,13 @@ export declare const ConversationSchema: z.ZodObject<{
79
80
  signedUrl: string;
80
81
  status?: "PENDING" | "CONFIRMED" | null | undefined;
81
82
  } | null | undefined;
83
+ cooldownEndsAt?: Date | null | undefined;
82
84
  }, {
83
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
84
85
  name: string;
85
86
  userId: number;
86
87
  accountId: string;
87
88
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
89
+ status?: unknown;
88
90
  locale?: string | null | undefined;
89
91
  lockReason?: unknown;
90
92
  night?: {
@@ -106,6 +108,7 @@ export declare const ConversationSchema: z.ZodObject<{
106
108
  signedUrl: string;
107
109
  status?: "PENDING" | "CONFIRMED" | null | undefined;
108
110
  } | null | undefined;
111
+ cooldownEndsAt?: Date | null | undefined;
109
112
  }>>>;
110
113
  lastMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
111
114
  id: z.ZodString;
@@ -370,6 +373,12 @@ export declare const ConversationSchema: z.ZodObject<{
370
373
  reviewCount?: number | null | undefined;
371
374
  reviewValue?: number | null | undefined;
372
375
  location?: string | null | undefined;
376
+ billingName?: string | null | undefined;
377
+ billingAddressLine1?: string | null | undefined;
378
+ billingAddressLine2?: string | null | undefined;
379
+ billingPostalCode?: string | null | undefined;
380
+ billingCity?: string | null | undefined;
381
+ billingCountryCode?: string | null | undefined;
373
382
  photoFileId?: string | null | undefined;
374
383
  photoFile?: {
375
384
  path: string;
@@ -379,12 +388,6 @@ export declare const ConversationSchema: z.ZodObject<{
379
388
  signedUrl: string;
380
389
  status?: "PENDING" | "CONFIRMED" | null | undefined;
381
390
  } | null | undefined;
382
- billingName?: string | null | undefined;
383
- billingAddressLine1?: string | null | undefined;
384
- billingAddressLine2?: string | null | undefined;
385
- billingPostalCode?: string | null | undefined;
386
- billingCity?: string | null | undefined;
387
- billingCountryCode?: string | null | undefined;
388
391
  }, {
389
392
  id: string;
390
393
  conversationId: string;
@@ -394,6 +397,12 @@ export declare const ConversationSchema: z.ZodObject<{
394
397
  reviewCount?: number | null | undefined;
395
398
  reviewValue?: number | null | undefined;
396
399
  location?: string | null | undefined;
400
+ billingName?: string | null | undefined;
401
+ billingAddressLine1?: string | null | undefined;
402
+ billingAddressLine2?: string | null | undefined;
403
+ billingPostalCode?: string | null | undefined;
404
+ billingCity?: string | null | undefined;
405
+ billingCountryCode?: string | null | undefined;
397
406
  photoFileId?: string | null | undefined;
398
407
  photoFile?: {
399
408
  path: string;
@@ -403,12 +412,6 @@ export declare const ConversationSchema: z.ZodObject<{
403
412
  signedUrl: string;
404
413
  status?: "PENDING" | "CONFIRMED" | null | undefined;
405
414
  } | null | undefined;
406
- billingName?: string | null | undefined;
407
- billingAddressLine1?: string | null | undefined;
408
- billingAddressLine2?: string | null | undefined;
409
- billingPostalCode?: string | null | undefined;
410
- billingCity?: string | null | undefined;
411
- billingCountryCode?: string | null | undefined;
412
415
  }>, "many">>>;
413
416
  lastRead: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
414
417
  isPinned: z.ZodBoolean;
@@ -428,6 +431,12 @@ export declare const ConversationSchema: z.ZodObject<{
428
431
  reviewCount?: number | null | undefined;
429
432
  reviewValue?: number | null | undefined;
430
433
  location?: string | null | undefined;
434
+ billingName?: string | null | undefined;
435
+ billingAddressLine1?: string | null | undefined;
436
+ billingAddressLine2?: string | null | undefined;
437
+ billingPostalCode?: string | null | undefined;
438
+ billingCity?: string | null | undefined;
439
+ billingCountryCode?: string | null | undefined;
431
440
  photoFileId?: string | null | undefined;
432
441
  photoFile?: {
433
442
  path: string;
@@ -437,15 +446,9 @@ export declare const ConversationSchema: z.ZodObject<{
437
446
  signedUrl: string;
438
447
  status?: "PENDING" | "CONFIRMED" | null | undefined;
439
448
  } | null | undefined;
440
- billingName?: string | null | undefined;
441
- billingAddressLine1?: string | null | undefined;
442
- billingAddressLine2?: string | null | undefined;
443
- billingPostalCode?: string | null | undefined;
444
- billingCity?: string | null | undefined;
445
- billingCountryCode?: string | null | undefined;
446
449
  }[] | null | undefined;
447
450
  account?: {
448
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
451
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
449
452
  name: string;
450
453
  userId: number;
451
454
  accountId: string;
@@ -471,6 +474,7 @@ export declare const ConversationSchema: z.ZodObject<{
471
474
  signedUrl: string;
472
475
  status?: "PENDING" | "CONFIRMED" | null | undefined;
473
476
  } | null | undefined;
477
+ cooldownEndsAt?: Date | null | undefined;
474
478
  } | null | undefined;
475
479
  lastRead?: Date | null | undefined;
476
480
  lastMessage?: {
@@ -537,6 +541,12 @@ export declare const ConversationSchema: z.ZodObject<{
537
541
  reviewCount?: number | null | undefined;
538
542
  reviewValue?: number | null | undefined;
539
543
  location?: string | null | undefined;
544
+ billingName?: string | null | undefined;
545
+ billingAddressLine1?: string | null | undefined;
546
+ billingAddressLine2?: string | null | undefined;
547
+ billingPostalCode?: string | null | undefined;
548
+ billingCity?: string | null | undefined;
549
+ billingCountryCode?: string | null | undefined;
540
550
  photoFileId?: string | null | undefined;
541
551
  photoFile?: {
542
552
  path: string;
@@ -546,19 +556,13 @@ export declare const ConversationSchema: z.ZodObject<{
546
556
  signedUrl: string;
547
557
  status?: "PENDING" | "CONFIRMED" | null | undefined;
548
558
  } | null | undefined;
549
- billingName?: string | null | undefined;
550
- billingAddressLine1?: string | null | undefined;
551
- billingAddressLine2?: string | null | undefined;
552
- billingPostalCode?: string | null | undefined;
553
- billingCity?: string | null | undefined;
554
- billingCountryCode?: string | null | undefined;
555
559
  }[] | null | undefined;
556
560
  account?: {
557
- status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
558
561
  name: string;
559
562
  userId: number;
560
563
  accountId: string;
561
564
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
565
+ status?: unknown;
562
566
  locale?: string | null | undefined;
563
567
  lockReason?: unknown;
564
568
  night?: {
@@ -580,6 +584,7 @@ export declare const ConversationSchema: z.ZodObject<{
580
584
  signedUrl: string;
581
585
  status?: "PENDING" | "CONFIRMED" | null | undefined;
582
586
  } | null | undefined;
587
+ cooldownEndsAt?: Date | null | undefined;
583
588
  } | null | undefined;
584
589
  lastRead?: Date | null | undefined;
585
590
  lastMessage?: {
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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