controlresell 2.9.6 → 2.9.8

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 (60) hide show
  1. package/package.json +1 -1
  2. package/src/com/controlresell/api/responses/items/ItemAction.d.ts +1 -1
  3. package/src/com/controlresell/api/responses/items/ItemAction.d.ts.map +1 -1
  4. package/src/com/controlresell/api/responses/items/ItemAction.js +1 -1
  5. package/src/com/controlresell/api/responses/items/ItemAction.js.map +1 -1
  6. package/src/com/controlresell/api/responses/items/ItemAction.ts +1 -1
  7. package/src/com/controlresell/api/responses/items/ItemActions.d.ts +3 -3
  8. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +439 -7
  9. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
  10. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +365 -5
  11. package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
  12. package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts +864 -0
  13. package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  14. package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts +864 -0
  15. package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts.map +1 -1
  16. package/src/com/controlresell/inventory/models/items/Item.d.ts +720 -0
  17. package/src/com/controlresell/inventory/models/items/Item.d.ts.map +1 -1
  18. package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts +755 -2271
  19. package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts.map +1 -1
  20. package/src/com/controlresell/inventory/models/items/ItemUpdate.js +2 -2
  21. package/src/com/controlresell/inventory/models/items/ItemUpdate.js.map +1 -1
  22. package/src/com/controlresell/inventory/models/items/ItemUpdate.ts +2 -2
  23. package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts +864 -0
  24. package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts.map +1 -1
  25. package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts +288 -0
  26. package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
  27. package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts +288 -0
  28. package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts.map +1 -1
  29. package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts +436 -0
  30. package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
  31. package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js +13 -1
  32. package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js.map +1 -1
  33. package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.ts +17 -1
  34. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.d.ts +10 -0
  35. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.d.ts.map +1 -0
  36. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.js +6 -0
  37. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.js.map +1 -0
  38. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.ts +7 -0
  39. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.d.ts +136 -0
  40. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.d.ts.map +1 -0
  41. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.js +9 -0
  42. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.js.map +1 -0
  43. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.ts +10 -0
  44. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +990 -2794
  45. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  46. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +708 -2224
  47. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  48. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.js +2 -2
  49. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.js.map +1 -1
  50. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.ts +2 -2
  51. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +2924 -5956
  52. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  53. package/src/com/controlresell/models/users/ws/UserWsPayload.js +2 -2
  54. package/src/com/controlresell/models/users/ws/UserWsPayload.js.map +1 -1
  55. package/src/com/controlresell/models/users/ws/UserWsPayload.ts +2 -2
  56. package/src/index.d.ts +2 -0
  57. package/src/index.d.ts.map +1 -1
  58. package/src/index.js +2 -0
  59. package/src/index.js.map +1 -1
  60. package/src/index.ts +2 -0
@@ -0,0 +1,136 @@
1
+ import { z } from "zod";
2
+ export declare const ItemHistoryUpdatingPayloadSchema: z.ZodObject<{
3
+ platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
4
+ post: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ catalog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ catalogId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
+ colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
9
+ colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
10
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
15
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ statusId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ availableQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
26
+ manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ status?: string | null | undefined;
30
+ price?: number | null | undefined;
31
+ currency?: string | null | undefined;
32
+ brand?: string | null | undefined;
33
+ catalog?: string | null | undefined;
34
+ catalogId?: number | null | undefined;
35
+ colors?: string[] | null | undefined;
36
+ colorIds?: number[] | null | undefined;
37
+ description?: string | null | undefined;
38
+ measurementLength?: number | null | undefined;
39
+ measurementWidth?: number | null | undefined;
40
+ packageSizeId?: number | null | undefined;
41
+ photoUrls?: string[] | null | undefined;
42
+ size?: string | null | undefined;
43
+ sizeId?: number | null | undefined;
44
+ statusId?: number | null | undefined;
45
+ title?: string | null | undefined;
46
+ isDraft?: boolean | null | undefined;
47
+ isArchived?: boolean | null | undefined;
48
+ availableQuantity?: number | null | undefined;
49
+ material?: number[] | null | undefined;
50
+ manufacturerLabelling?: string | null | undefined;
51
+ labels?: string[] | null | undefined;
52
+ }, {
53
+ status?: string | null | undefined;
54
+ price?: number | null | undefined;
55
+ currency?: string | null | undefined;
56
+ brand?: string | null | undefined;
57
+ catalog?: string | null | undefined;
58
+ catalogId?: number | null | undefined;
59
+ colors?: string[] | null | undefined;
60
+ colorIds?: number[] | null | undefined;
61
+ description?: string | null | undefined;
62
+ measurementLength?: number | null | undefined;
63
+ measurementWidth?: number | null | undefined;
64
+ packageSizeId?: number | null | undefined;
65
+ photoUrls?: string[] | null | undefined;
66
+ size?: string | null | undefined;
67
+ sizeId?: number | null | undefined;
68
+ statusId?: number | null | undefined;
69
+ title?: string | null | undefined;
70
+ isDraft?: boolean | null | undefined;
71
+ isArchived?: boolean | null | undefined;
72
+ availableQuantity?: number | null | undefined;
73
+ material?: number[] | null | undefined;
74
+ manufacturerLabelling?: string | null | undefined;
75
+ labels?: string[] | null | undefined;
76
+ }>>>;
77
+ targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
80
+ post?: {
81
+ status?: string | null | undefined;
82
+ price?: number | null | undefined;
83
+ currency?: string | null | undefined;
84
+ brand?: string | null | undefined;
85
+ catalog?: string | null | undefined;
86
+ catalogId?: number | null | undefined;
87
+ colors?: string[] | null | undefined;
88
+ colorIds?: number[] | null | undefined;
89
+ description?: string | null | undefined;
90
+ measurementLength?: number | null | undefined;
91
+ measurementWidth?: number | null | undefined;
92
+ packageSizeId?: number | null | undefined;
93
+ photoUrls?: string[] | null | undefined;
94
+ size?: string | null | undefined;
95
+ sizeId?: number | null | undefined;
96
+ statusId?: number | null | undefined;
97
+ title?: string | null | undefined;
98
+ isDraft?: boolean | null | undefined;
99
+ isArchived?: boolean | null | undefined;
100
+ availableQuantity?: number | null | undefined;
101
+ material?: number[] | null | undefined;
102
+ manufacturerLabelling?: string | null | undefined;
103
+ labels?: string[] | null | undefined;
104
+ } | null | undefined;
105
+ targetDate?: Date | null | undefined;
106
+ }, {
107
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
108
+ post?: {
109
+ status?: string | null | undefined;
110
+ price?: number | null | undefined;
111
+ currency?: string | null | undefined;
112
+ brand?: string | null | undefined;
113
+ catalog?: string | null | undefined;
114
+ catalogId?: number | null | undefined;
115
+ colors?: string[] | null | undefined;
116
+ colorIds?: number[] | null | undefined;
117
+ description?: string | null | undefined;
118
+ measurementLength?: number | null | undefined;
119
+ measurementWidth?: number | null | undefined;
120
+ packageSizeId?: number | null | undefined;
121
+ photoUrls?: string[] | null | undefined;
122
+ size?: string | null | undefined;
123
+ sizeId?: number | null | undefined;
124
+ statusId?: number | null | undefined;
125
+ title?: string | null | undefined;
126
+ isDraft?: boolean | null | undefined;
127
+ isArchived?: boolean | null | undefined;
128
+ availableQuantity?: number | null | undefined;
129
+ material?: number[] | null | undefined;
130
+ manufacturerLabelling?: string | null | undefined;
131
+ labels?: string[] | null | undefined;
132
+ } | null | undefined;
133
+ targetDate?: Date | null | undefined;
134
+ }>;
135
+ export type ItemHistoryUpdatingPayload = z.infer<typeof ItemHistoryUpdatingPayloadSchema>;
136
+ //# sourceMappingURL=ItemHistoryUpdatingPayload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemHistoryUpdatingPayload.d.ts","sourceRoot":"","sources":["ItemHistoryUpdatingPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI3C,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+ import { AccountPlatformSchema } from "controlresell-connector";
3
+ import { JobPostOptionalsSchema } from "controlresell-connector";
4
+ export const ItemHistoryUpdatingPayloadSchema = z.object({
5
+ platform: AccountPlatformSchema,
6
+ post: JobPostOptionalsSchema.nullish(),
7
+ targetDate: z.coerce.date().nullish()
8
+ });
9
+ //# sourceMappingURL=ItemHistoryUpdatingPayload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemHistoryUpdatingPayload.js","sourceRoot":"","sources":["ItemHistoryUpdatingPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAC,sBAAsB,EAAC,MAAM,yBAAyB,CAAA;AAE9D,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,QAAQ,EAAE,qBAAqB;IAC/B,IAAI,EAAE,sBAAsB,CAAC,OAAO,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;CACxC,CAAC,CAAA"}
@@ -0,0 +1,10 @@
1
+ import {z} from "zod"
2
+ import {AccountPlatformSchema} from "controlresell-connector"
3
+ import {JobPostOptionalsSchema} from "controlresell-connector"
4
+
5
+ export const ItemHistoryUpdatingPayloadSchema = z.object({
6
+ platform: AccountPlatformSchema,
7
+ post: JobPostOptionalsSchema.nullish(),
8
+ targetDate: z.coerce.date().nullish()
9
+ })
10
+ export type ItemHistoryUpdatingPayload = z.infer<typeof ItemHistoryUpdatingPayloadSchema>