controlresell 2.20.17 → 2.20.18

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 (69) hide show
  1. package/package.json +1 -1
  2. package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +4 -4
  3. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +8 -8
  4. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +6 -6
  5. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +4 -4
  6. package/src/com/controlresell/api/responses/referrals/ReferralEntryResponse.d.ts +16 -0
  7. package/src/com/controlresell/api/responses/referrals/ReferralEntryResponse.d.ts.map +1 -0
  8. package/src/com/controlresell/api/responses/referrals/ReferralEntryResponse.js +7 -0
  9. package/src/com/controlresell/api/responses/referrals/ReferralEntryResponse.js.map +1 -0
  10. package/src/com/controlresell/api/responses/referrals/ReferralEntryResponse.ts +8 -0
  11. package/src/com/controlresell/api/responses/referrals/ReferralResponse.d.ts +51 -0
  12. package/src/com/controlresell/api/responses/referrals/ReferralResponse.d.ts.map +1 -0
  13. package/src/com/controlresell/api/responses/referrals/ReferralResponse.js +13 -0
  14. package/src/com/controlresell/api/responses/referrals/ReferralResponse.js.map +1 -0
  15. package/src/com/controlresell/api/responses/referrals/ReferralResponse.ts +14 -0
  16. package/src/com/controlresell/models/conversations/Conversation.d.ts +35 -0
  17. package/src/com/controlresell/models/conversations/Conversation.d.ts.map +1 -1
  18. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +49 -0
  19. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts.map +1 -1
  20. package/src/com/controlresell/models/conversations/UserConversations.d.ts +49 -0
  21. package/src/com/controlresell/models/conversations/UserConversations.d.ts.map +1 -1
  22. package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +21 -0
  23. package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts.map +1 -1
  24. package/src/com/controlresell/models/conversations/users/ConversationUser.js +8 -1
  25. package/src/com/controlresell/models/conversations/users/ConversationUser.js.map +1 -1
  26. package/src/com/controlresell/models/conversations/users/ConversationUser.ts +8 -1
  27. package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +21 -0
  28. package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts.map +1 -1
  29. package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.js +8 -1
  30. package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.js.map +1 -1
  31. package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.ts +8 -1
  32. package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +21 -0
  33. package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts.map +1 -1
  34. package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.js +8 -1
  35. package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.js.map +1 -1
  36. package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.ts +8 -1
  37. package/src/com/controlresell/models/invoices/Invoice.d.ts +2 -2
  38. package/src/com/controlresell/models/items/CreatedItems.d.ts +8 -8
  39. package/src/com/controlresell/models/items/ItemUpdate.d.ts +8 -8
  40. package/src/com/controlresell/models/items/UpdatedItem.d.ts +8 -8
  41. package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.d.ts +30 -0
  42. package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.d.ts.map +1 -1
  43. package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +18 -0
  44. package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts.map +1 -1
  45. package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.js +7 -1
  46. package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.js.map +1 -1
  47. package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.ts +7 -1
  48. package/src/com/controlresell/models/platforms/orders/Order.d.ts +22 -4
  49. package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
  50. package/src/com/controlresell/models/platforms/orders/Order.js +7 -1
  51. package/src/com/controlresell/models/platforms/orders/Order.js.map +1 -1
  52. package/src/com/controlresell/models/platforms/orders/Order.ts +7 -1
  53. package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +18 -0
  54. package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts.map +1 -1
  55. package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.js +7 -1
  56. package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.js.map +1 -1
  57. package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.ts +7 -1
  58. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +60 -18
  59. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  60. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +44 -14
  61. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  62. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +8 -8
  63. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +114 -16
  64. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  65. package/src/index.d.ts +2 -0
  66. package/src/index.d.ts.map +1 -1
  67. package/src/index.js +2 -0
  68. package/src/index.js.map +1 -1
  69. package/src/index.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "controlresell",
3
- "version": "2.20.17",
3
+ "version": "2.20.18",
4
4
  "description": "Auto-generated zod project from Kotlin using zodable",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -228,6 +228,7 @@ export declare const ListInvoicesResponseSchema: z.ZodObject<{
228
228
  signedUrl: string;
229
229
  status?: "PENDING" | "CONFIRMED" | null | undefined;
230
230
  } | null | undefined;
231
+ vatAmount?: number | null | undefined;
231
232
  vatRate?: number | null | undefined;
232
233
  businessProfile?: {
233
234
  id: string;
@@ -271,7 +272,6 @@ export declare const ListInvoicesResponseSchema: z.ZodObject<{
271
272
  country?: string | null | undefined;
272
273
  } | null | undefined;
273
274
  dueDate?: Date | null | undefined;
274
- vatAmount?: number | null | undefined;
275
275
  notes?: string | null | undefined;
276
276
  lineItems?: {
277
277
  description: string;
@@ -307,6 +307,7 @@ export declare const ListInvoicesResponseSchema: z.ZodObject<{
307
307
  signedUrl: string;
308
308
  status?: "PENDING" | "CONFIRMED" | null | undefined;
309
309
  } | null | undefined;
310
+ vatAmount?: number | null | undefined;
310
311
  vatRate?: number | null | undefined;
311
312
  businessProfile?: {
312
313
  id: string;
@@ -350,7 +351,6 @@ export declare const ListInvoicesResponseSchema: z.ZodObject<{
350
351
  country?: string | null | undefined;
351
352
  } | null | undefined;
352
353
  dueDate?: Date | null | undefined;
353
- vatAmount?: number | null | undefined;
354
354
  notes?: string | null | undefined;
355
355
  lineItems?: {
356
356
  description: string;
@@ -391,6 +391,7 @@ export declare const ListInvoicesResponseSchema: z.ZodObject<{
391
391
  signedUrl: string;
392
392
  status?: "PENDING" | "CONFIRMED" | null | undefined;
393
393
  } | null | undefined;
394
+ vatAmount?: number | null | undefined;
394
395
  vatRate?: number | null | undefined;
395
396
  businessProfile?: {
396
397
  id: string;
@@ -434,7 +435,6 @@ export declare const ListInvoicesResponseSchema: z.ZodObject<{
434
435
  country?: string | null | undefined;
435
436
  } | null | undefined;
436
437
  dueDate?: Date | null | undefined;
437
- vatAmount?: number | null | undefined;
438
438
  notes?: string | null | undefined;
439
439
  lineItems?: {
440
440
  description: string;
@@ -476,6 +476,7 @@ export declare const ListInvoicesResponseSchema: z.ZodObject<{
476
476
  signedUrl: string;
477
477
  status?: "PENDING" | "CONFIRMED" | null | undefined;
478
478
  } | null | undefined;
479
+ vatAmount?: number | null | undefined;
479
480
  vatRate?: number | null | undefined;
480
481
  businessProfile?: {
481
482
  id: string;
@@ -519,7 +520,6 @@ export declare const ListInvoicesResponseSchema: z.ZodObject<{
519
520
  country?: string | null | undefined;
520
521
  } | null | undefined;
521
522
  dueDate?: Date | null | undefined;
522
- vatAmount?: number | null | undefined;
523
523
  notes?: string | null | undefined;
524
524
  lineItems?: {
525
525
  description: string;
@@ -2843,6 +2843,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
2843
2843
  signedUrl: string;
2844
2844
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2845
2845
  } | null | undefined;
2846
+ vatAmount?: number | null | undefined;
2846
2847
  vatRate?: number | null | undefined;
2847
2848
  businessProfile?: {
2848
2849
  id: string;
@@ -2886,7 +2887,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
2886
2887
  country?: string | null | undefined;
2887
2888
  } | null | undefined;
2888
2889
  dueDate?: Date | null | undefined;
2889
- vatAmount?: number | null | undefined;
2890
2890
  notes?: string | null | undefined;
2891
2891
  lineItems?: {
2892
2892
  description: string;
@@ -2922,6 +2922,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
2922
2922
  signedUrl: string;
2923
2923
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2924
2924
  } | null | undefined;
2925
+ vatAmount?: number | null | undefined;
2925
2926
  vatRate?: number | null | undefined;
2926
2927
  businessProfile?: {
2927
2928
  id: string;
@@ -2965,7 +2966,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
2965
2966
  country?: string | null | undefined;
2966
2967
  } | null | undefined;
2967
2968
  dueDate?: Date | null | undefined;
2968
- vatAmount?: number | null | undefined;
2969
2969
  notes?: string | null | undefined;
2970
2970
  lineItems?: {
2971
2971
  description: string;
@@ -3036,6 +3036,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
3036
3036
  signedUrl: string;
3037
3037
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3038
3038
  } | null | undefined;
3039
+ vatAmount?: number | null | undefined;
3039
3040
  vatRate?: number | null | undefined;
3040
3041
  businessProfile?: {
3041
3042
  id: string;
@@ -3079,7 +3080,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
3079
3080
  country?: string | null | undefined;
3080
3081
  } | null | undefined;
3081
3082
  dueDate?: Date | null | undefined;
3082
- vatAmount?: number | null | undefined;
3083
3083
  notes?: string | null | undefined;
3084
3084
  lineItems?: {
3085
3085
  description: string;
@@ -3150,6 +3150,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
3150
3150
  signedUrl: string;
3151
3151
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3152
3152
  } | null | undefined;
3153
+ vatAmount?: number | null | undefined;
3153
3154
  vatRate?: number | null | undefined;
3154
3155
  businessProfile?: {
3155
3156
  id: string;
@@ -3193,7 +3194,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
3193
3194
  country?: string | null | undefined;
3194
3195
  } | null | undefined;
3195
3196
  dueDate?: Date | null | undefined;
3196
- vatAmount?: number | null | undefined;
3197
3197
  notes?: string | null | undefined;
3198
3198
  lineItems?: {
3199
3199
  description: string;
@@ -3650,6 +3650,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
3650
3650
  signedUrl: string;
3651
3651
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3652
3652
  } | null | undefined;
3653
+ vatAmount?: number | null | undefined;
3653
3654
  vatRate?: number | null | undefined;
3654
3655
  businessProfile?: {
3655
3656
  id: string;
@@ -3693,7 +3694,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
3693
3694
  country?: string | null | undefined;
3694
3695
  } | null | undefined;
3695
3696
  dueDate?: Date | null | undefined;
3696
- vatAmount?: number | null | undefined;
3697
3697
  notes?: string | null | undefined;
3698
3698
  lineItems?: {
3699
3699
  description: string;
@@ -4150,6 +4150,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
4150
4150
  signedUrl: string;
4151
4151
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4152
4152
  } | null | undefined;
4153
+ vatAmount?: number | null | undefined;
4153
4154
  vatRate?: number | null | undefined;
4154
4155
  businessProfile?: {
4155
4156
  id: string;
@@ -4193,7 +4194,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
4193
4194
  country?: string | null | undefined;
4194
4195
  } | null | undefined;
4195
4196
  dueDate?: Date | null | undefined;
4196
- vatAmount?: number | null | undefined;
4197
4197
  notes?: string | null | undefined;
4198
4198
  lineItems?: {
4199
4199
  description: string;
@@ -4655,6 +4655,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
4655
4655
  signedUrl: string;
4656
4656
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4657
4657
  } | null | undefined;
4658
+ vatAmount?: number | null | undefined;
4658
4659
  vatRate?: number | null | undefined;
4659
4660
  businessProfile?: {
4660
4661
  id: string;
@@ -4698,7 +4699,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
4698
4699
  country?: string | null | undefined;
4699
4700
  } | null | undefined;
4700
4701
  dueDate?: Date | null | undefined;
4701
- vatAmount?: number | null | undefined;
4702
4702
  notes?: string | null | undefined;
4703
4703
  lineItems?: {
4704
4704
  description: string;
@@ -5161,6 +5161,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
5161
5161
  signedUrl: string;
5162
5162
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5163
5163
  } | null | undefined;
5164
+ vatAmount?: number | null | undefined;
5164
5165
  vatRate?: number | null | undefined;
5165
5166
  businessProfile?: {
5166
5167
  id: string;
@@ -5204,7 +5205,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
5204
5205
  country?: string | null | undefined;
5205
5206
  } | null | undefined;
5206
5207
  dueDate?: Date | null | undefined;
5207
- vatAmount?: number | null | undefined;
5208
5208
  notes?: string | null | undefined;
5209
5209
  lineItems?: {
5210
5210
  description: string;
@@ -2840,6 +2840,7 @@ export declare const ListedItemSchema: z.ZodObject<{
2840
2840
  signedUrl: string;
2841
2841
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2842
2842
  } | null | undefined;
2843
+ vatAmount?: number | null | undefined;
2843
2844
  vatRate?: number | null | undefined;
2844
2845
  businessProfile?: {
2845
2846
  id: string;
@@ -2883,7 +2884,6 @@ export declare const ListedItemSchema: z.ZodObject<{
2883
2884
  country?: string | null | undefined;
2884
2885
  } | null | undefined;
2885
2886
  dueDate?: Date | null | undefined;
2886
- vatAmount?: number | null | undefined;
2887
2887
  notes?: string | null | undefined;
2888
2888
  lineItems?: {
2889
2889
  description: string;
@@ -2919,6 +2919,7 @@ export declare const ListedItemSchema: z.ZodObject<{
2919
2919
  signedUrl: string;
2920
2920
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2921
2921
  } | null | undefined;
2922
+ vatAmount?: number | null | undefined;
2922
2923
  vatRate?: number | null | undefined;
2923
2924
  businessProfile?: {
2924
2925
  id: string;
@@ -2962,7 +2963,6 @@ export declare const ListedItemSchema: z.ZodObject<{
2962
2963
  country?: string | null | undefined;
2963
2964
  } | null | undefined;
2964
2965
  dueDate?: Date | null | undefined;
2965
- vatAmount?: number | null | undefined;
2966
2966
  notes?: string | null | undefined;
2967
2967
  lineItems?: {
2968
2968
  description: string;
@@ -3033,6 +3033,7 @@ export declare const ListedItemSchema: z.ZodObject<{
3033
3033
  signedUrl: string;
3034
3034
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3035
3035
  } | null | undefined;
3036
+ vatAmount?: number | null | undefined;
3036
3037
  vatRate?: number | null | undefined;
3037
3038
  businessProfile?: {
3038
3039
  id: string;
@@ -3076,7 +3077,6 @@ export declare const ListedItemSchema: z.ZodObject<{
3076
3077
  country?: string | null | undefined;
3077
3078
  } | null | undefined;
3078
3079
  dueDate?: Date | null | undefined;
3079
- vatAmount?: number | null | undefined;
3080
3080
  notes?: string | null | undefined;
3081
3081
  lineItems?: {
3082
3082
  description: string;
@@ -3147,6 +3147,7 @@ export declare const ListedItemSchema: z.ZodObject<{
3147
3147
  signedUrl: string;
3148
3148
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3149
3149
  } | null | undefined;
3150
+ vatAmount?: number | null | undefined;
3150
3151
  vatRate?: number | null | undefined;
3151
3152
  businessProfile?: {
3152
3153
  id: string;
@@ -3190,7 +3191,6 @@ export declare const ListedItemSchema: z.ZodObject<{
3190
3191
  country?: string | null | undefined;
3191
3192
  } | null | undefined;
3192
3193
  dueDate?: Date | null | undefined;
3193
- vatAmount?: number | null | undefined;
3194
3194
  notes?: string | null | undefined;
3195
3195
  lineItems?: {
3196
3196
  description: string;
@@ -3647,6 +3647,7 @@ export declare const ListedItemSchema: z.ZodObject<{
3647
3647
  signedUrl: string;
3648
3648
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3649
3649
  } | null | undefined;
3650
+ vatAmount?: number | null | undefined;
3650
3651
  vatRate?: number | null | undefined;
3651
3652
  businessProfile?: {
3652
3653
  id: string;
@@ -3690,7 +3691,6 @@ export declare const ListedItemSchema: z.ZodObject<{
3690
3691
  country?: string | null | undefined;
3691
3692
  } | null | undefined;
3692
3693
  dueDate?: Date | null | undefined;
3693
- vatAmount?: number | null | undefined;
3694
3694
  notes?: string | null | undefined;
3695
3695
  lineItems?: {
3696
3696
  description: string;
@@ -4147,6 +4147,7 @@ export declare const ListedItemSchema: z.ZodObject<{
4147
4147
  signedUrl: string;
4148
4148
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4149
4149
  } | null | undefined;
4150
+ vatAmount?: number | null | undefined;
4150
4151
  vatRate?: number | null | undefined;
4151
4152
  businessProfile?: {
4152
4153
  id: string;
@@ -4190,7 +4191,6 @@ export declare const ListedItemSchema: z.ZodObject<{
4190
4191
  country?: string | null | undefined;
4191
4192
  } | null | undefined;
4192
4193
  dueDate?: Date | null | undefined;
4193
- vatAmount?: number | null | undefined;
4194
4194
  notes?: string | null | undefined;
4195
4195
  lineItems?: {
4196
4196
  description: string;
@@ -363,6 +363,7 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
363
363
  signedUrl: string;
364
364
  status?: "PENDING" | "CONFIRMED" | null | undefined;
365
365
  } | null | undefined;
366
+ vatAmount?: number | null | undefined;
366
367
  vatRate?: number | null | undefined;
367
368
  businessProfile?: {
368
369
  id: string;
@@ -406,7 +407,6 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
406
407
  country?: string | null | undefined;
407
408
  } | null | undefined;
408
409
  dueDate?: Date | null | undefined;
409
- vatAmount?: number | null | undefined;
410
410
  notes?: string | null | undefined;
411
411
  lineItems?: {
412
412
  description: string;
@@ -442,6 +442,7 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
442
442
  signedUrl: string;
443
443
  status?: "PENDING" | "CONFIRMED" | null | undefined;
444
444
  } | null | undefined;
445
+ vatAmount?: number | null | undefined;
445
446
  vatRate?: number | null | undefined;
446
447
  businessProfile?: {
447
448
  id: string;
@@ -485,7 +486,6 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
485
486
  country?: string | null | undefined;
486
487
  } | null | undefined;
487
488
  dueDate?: Date | null | undefined;
488
- vatAmount?: number | null | undefined;
489
489
  notes?: string | null | undefined;
490
490
  lineItems?: {
491
491
  description: string;
@@ -556,6 +556,7 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
556
556
  signedUrl: string;
557
557
  status?: "PENDING" | "CONFIRMED" | null | undefined;
558
558
  } | null | undefined;
559
+ vatAmount?: number | null | undefined;
559
560
  vatRate?: number | null | undefined;
560
561
  businessProfile?: {
561
562
  id: string;
@@ -599,7 +600,6 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
599
600
  country?: string | null | undefined;
600
601
  } | null | undefined;
601
602
  dueDate?: Date | null | undefined;
602
- vatAmount?: number | null | undefined;
603
603
  notes?: string | null | undefined;
604
604
  lineItems?: {
605
605
  description: string;
@@ -670,6 +670,7 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
670
670
  signedUrl: string;
671
671
  status?: "PENDING" | "CONFIRMED" | null | undefined;
672
672
  } | null | undefined;
673
+ vatAmount?: number | null | undefined;
673
674
  vatRate?: number | null | undefined;
674
675
  businessProfile?: {
675
676
  id: string;
@@ -713,7 +714,6 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
713
714
  country?: string | null | undefined;
714
715
  } | null | undefined;
715
716
  dueDate?: Date | null | undefined;
716
- vatAmount?: number | null | undefined;
717
717
  notes?: string | null | undefined;
718
718
  lineItems?: {
719
719
  description: string;
@@ -0,0 +1,16 @@
1
+ import { z } from "zod";
2
+ export declare const ReferralEntryResponseSchema: z.ZodObject<{
3
+ status: z.ZodString;
4
+ createdAt: z.ZodDate;
5
+ rewardedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ status: string;
8
+ createdAt: Date;
9
+ rewardedAt?: Date | null | undefined;
10
+ }, {
11
+ status: string;
12
+ createdAt: Date;
13
+ rewardedAt?: Date | null | undefined;
14
+ }>;
15
+ export type ReferralEntryResponse = z.infer<typeof ReferralEntryResponseSchema>;
16
+ //# sourceMappingURL=ReferralEntryResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReferralEntryResponse.d.ts","sourceRoot":"","sources":["ReferralEntryResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;EAItC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { z } from "zod";
2
+ export const ReferralEntryResponseSchema = z.object({
3
+ status: z.string(),
4
+ createdAt: z.coerce.date(),
5
+ rewardedAt: z.coerce.date().nullish()
6
+ });
7
+ //# sourceMappingURL=ReferralEntryResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReferralEntryResponse.js","sourceRoot":"","sources":["ReferralEntryResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE;IAC1B,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;CACxC,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import {z} from "zod"
2
+
3
+ export const ReferralEntryResponseSchema = z.object({
4
+ status: z.string(),
5
+ createdAt: z.coerce.date(),
6
+ rewardedAt: z.coerce.date().nullish()
7
+ })
8
+ export type ReferralEntryResponse = z.infer<typeof ReferralEntryResponseSchema>
@@ -0,0 +1,51 @@
1
+ import { z } from "zod";
2
+ export declare const ReferralResponseSchema: z.ZodObject<{
3
+ code: z.ZodString;
4
+ shareUrl: z.ZodString;
5
+ invitedCount: z.ZodNumber;
6
+ rewardedCount: z.ZodNumber;
7
+ totalEarnedCents: z.ZodNumber;
8
+ refereeDiscountCents: z.ZodNumber;
9
+ referrerRewardCents: z.ZodNumber;
10
+ referrals: z.ZodArray<z.ZodObject<{
11
+ status: z.ZodString;
12
+ createdAt: z.ZodDate;
13
+ rewardedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ status: string;
16
+ createdAt: Date;
17
+ rewardedAt?: Date | null | undefined;
18
+ }, {
19
+ status: string;
20
+ createdAt: Date;
21
+ rewardedAt?: Date | null | undefined;
22
+ }>, "many">;
23
+ }, "strip", z.ZodTypeAny, {
24
+ code: string;
25
+ shareUrl: string;
26
+ invitedCount: number;
27
+ rewardedCount: number;
28
+ totalEarnedCents: number;
29
+ refereeDiscountCents: number;
30
+ referrerRewardCents: number;
31
+ referrals: {
32
+ status: string;
33
+ createdAt: Date;
34
+ rewardedAt?: Date | null | undefined;
35
+ }[];
36
+ }, {
37
+ code: string;
38
+ shareUrl: string;
39
+ invitedCount: number;
40
+ rewardedCount: number;
41
+ totalEarnedCents: number;
42
+ refereeDiscountCents: number;
43
+ referrerRewardCents: number;
44
+ referrals: {
45
+ status: string;
46
+ createdAt: Date;
47
+ rewardedAt?: Date | null | undefined;
48
+ }[];
49
+ }>;
50
+ export type ReferralResponse = z.infer<typeof ReferralResponseSchema>;
51
+ //# sourceMappingURL=ReferralResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReferralResponse.d.ts","sourceRoot":"","sources":["ReferralResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { z } from "zod";
2
+ import { ReferralEntryResponseSchema } from "./ReferralEntryResponse";
3
+ export const ReferralResponseSchema = z.object({
4
+ code: z.string(),
5
+ shareUrl: z.string(),
6
+ invitedCount: z.number().int(),
7
+ rewardedCount: z.number().int(),
8
+ totalEarnedCents: z.number(),
9
+ refereeDiscountCents: z.number(),
10
+ referrerRewardCents: z.number(),
11
+ referrals: z.array(ReferralEntryResponseSchema)
12
+ });
13
+ //# sourceMappingURL=ReferralResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReferralResponse.js","sourceRoot":"","sources":["ReferralResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,2BAA2B,EAAC,MAAM,yBAAyB,CAAA;AAEnE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC/B,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE;IAChC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;CAClD,CAAC,CAAA"}
@@ -0,0 +1,14 @@
1
+ import {z} from "zod"
2
+ import {ReferralEntryResponseSchema} from "./ReferralEntryResponse"
3
+
4
+ export const ReferralResponseSchema = z.object({
5
+ code: z.string(),
6
+ shareUrl: z.string(),
7
+ invitedCount: z.number().int(),
8
+ rewardedCount: z.number().int(),
9
+ totalEarnedCents: z.number(),
10
+ refereeDiscountCents: z.number(),
11
+ referrerRewardCents: z.number(),
12
+ referrals: z.array(ReferralEntryResponseSchema)
13
+ })
14
+ export type ReferralResponse = z.infer<typeof ReferralResponseSchema>
@@ -354,11 +354,19 @@ export declare const ConversationSchema: z.ZodObject<{
354
354
  signedUrl: string;
355
355
  status?: "PENDING" | "CONFIRMED" | null | undefined;
356
356
  }>>>;
357
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
358
+ billingName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
359
+ billingAddressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
360
+ billingAddressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
361
+ billingPostalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
362
+ billingCity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
363
+ billingCountryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
357
364
  }, "strip", z.ZodTypeAny, {
358
365
  id: string;
359
366
  conversationId: string;
360
367
  login: string;
361
368
  platformUserId: string;
369
+ email?: string | null | undefined;
362
370
  reviewCount?: number | null | undefined;
363
371
  reviewValue?: number | null | undefined;
364
372
  location?: string | null | undefined;
@@ -371,11 +379,18 @@ export declare const ConversationSchema: z.ZodObject<{
371
379
  signedUrl: string;
372
380
  status?: "PENDING" | "CONFIRMED" | null | undefined;
373
381
  } | 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;
374
388
  }, {
375
389
  id: string;
376
390
  conversationId: string;
377
391
  login: string;
378
392
  platformUserId: string;
393
+ email?: string | null | undefined;
379
394
  reviewCount?: number | null | undefined;
380
395
  reviewValue?: number | null | undefined;
381
396
  location?: string | null | undefined;
@@ -388,6 +403,12 @@ export declare const ConversationSchema: z.ZodObject<{
388
403
  signedUrl: string;
389
404
  status?: "PENDING" | "CONFIRMED" | null | undefined;
390
405
  } | 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;
391
412
  }>, "many">>>;
392
413
  lastRead: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
393
414
  isPinned: z.ZodBoolean;
@@ -403,6 +424,7 @@ export declare const ConversationSchema: z.ZodObject<{
403
424
  conversationId: string;
404
425
  login: string;
405
426
  platformUserId: string;
427
+ email?: string | null | undefined;
406
428
  reviewCount?: number | null | undefined;
407
429
  reviewValue?: number | null | undefined;
408
430
  location?: string | null | undefined;
@@ -415,6 +437,12 @@ export declare const ConversationSchema: z.ZodObject<{
415
437
  signedUrl: string;
416
438
  status?: "PENDING" | "CONFIRMED" | null | undefined;
417
439
  } | 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;
418
446
  }[] | null | undefined;
419
447
  account?: {
420
448
  status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
@@ -505,6 +533,7 @@ export declare const ConversationSchema: z.ZodObject<{
505
533
  conversationId: string;
506
534
  login: string;
507
535
  platformUserId: string;
536
+ email?: string | null | undefined;
508
537
  reviewCount?: number | null | undefined;
509
538
  reviewValue?: number | null | undefined;
510
539
  location?: string | null | undefined;
@@ -517,6 +546,12 @@ export declare const ConversationSchema: z.ZodObject<{
517
546
  signedUrl: string;
518
547
  status?: "PENDING" | "CONFIRMED" | null | undefined;
519
548
  } | 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;
520
555
  }[] | null | undefined;
521
556
  account?: {
522
557
  status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW7B,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW7B,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}