controlresell 2.0.11 → 2.1.0
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 +1 -1
- package/src/com/controlresell/models/customers/VerifyCustomerRequest.d.ts +9 -0
- package/src/com/controlresell/models/customers/VerifyCustomerRequest.js +7 -0
- package/src/com/controlresell/models/customers/VerifyCustomerRequest.ts +6 -0
- package/src/com/controlresell/models/customers/contracts/Contract.d.ts +4 -4
- package/src/com/controlresell/models/customers/contracts/PrepareContractResponse.d.ts +4 -4
- package/src/com/controlresell/models/fees/Fee.d.ts +6 -6
- package/src/com/controlresell/models/items/CreatedItems.d.ts +86 -86
- package/src/com/controlresell/models/items/Item.d.ts +56 -56
- package/src/com/controlresell/models/items/ItemPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +82 -82
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +86 -86
- package/src/com/controlresell/models/items/files/ItemFile.d.ts +6 -6
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +2 -2
- package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +4 -4
- package/src/com/controlresell/models/items/platforms/CreateItemOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +12 -12
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +82 -82
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/brands/Brand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/labels/Label.d.ts +2 -2
- package/src/com/controlresell/models/metadata/places/Place.d.ts +2 -2
- package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts +144 -50
- package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts +186 -68
- package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.d.ts +94 -24
- package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.js +5 -3
- package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.ts +5 -3
- package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/conversations/messages/PaginatedConversationMessages.d.ts +128 -34
- package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.d.ts +45 -0
- package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.js +10 -0
- package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.ts +9 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/ConversationMessageFile.d.ts +48 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/ConversationMessageFile.js +11 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/ConversationMessageFile.ts +10 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/CreateConversationMessageFilePayload.d.ts +12 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/CreateConversationMessageFilePayload.js +8 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/CreateConversationMessageFilePayload.ts +7 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/UpdateConversationMessageFilePayload.d.ts +9 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/UpdateConversationMessageFilePayload.js +7 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/UpdateConversationMessageFilePayload.ts +6 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationMessageOffer.d.ts +21 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationMessageOffer.js +12 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationMessageOffer.ts +11 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/CreateConversationMessageOfferPayload.d.ts +15 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/CreateConversationMessageOfferPayload.js +10 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/CreateConversationMessageOfferPayload.ts +9 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/UpdateConversationMessageOfferPayload.d.ts +9 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/UpdateConversationMessageOfferPayload.js +8 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/UpdateConversationMessageOfferPayload.ts +7 -0
- package/src/com/controlresell/models/platforms/conversations/users/ConversationUser.d.ts +4 -4
- package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +10 -10
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +3 -0
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.js +1 -0
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.ts +1 -0
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +51 -48
- package/src/com/controlresell/models/platforms/orders/Order.js +1 -0
- package/src/com/controlresell/models/platforms/orders/Order.ts +1 -0
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +3 -0
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.js +1 -0
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.ts +1 -0
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +20 -20
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1126 -0
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.js +10 -0
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.ts +9 -0
- package/src/com/controlresell/models/platforms/transactions/CreateTransactionPayload.d.ts +21 -0
- package/src/com/controlresell/models/platforms/transactions/CreateTransactionPayload.js +11 -0
- package/src/com/controlresell/models/platforms/transactions/CreateTransactionPayload.ts +10 -0
- package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts +167 -0
- package/src/com/controlresell/models/platforms/transactions/Transaction.js +15 -0
- package/src/com/controlresell/models/platforms/transactions/Transaction.ts +14 -0
- package/src/com/controlresell/models/platforms/transactions/UpdateTransactionPayload.d.ts +18 -0
- package/src/com/controlresell/models/platforms/transactions/UpdateTransactionPayload.js +10 -0
- package/src/com/controlresell/models/platforms/transactions/UpdateTransactionPayload.ts +9 -0
- package/src/com/controlresell/models/platforms/transactions/items/CreateItemInTransactionPayload.d.ts +9 -0
- package/src/com/controlresell/models/platforms/transactions/items/CreateItemInTransactionPayload.js +7 -0
- package/src/com/controlresell/models/platforms/transactions/items/CreateItemInTransactionPayload.ts +6 -0
- package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts +102 -0
- package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.js +10 -0
- package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.ts +9 -0
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +959 -0
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.js +10 -0
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.ts +9 -0
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/User.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/files/File.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +8 -8
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +8 -8
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +4 -4
- package/src/index.d.ts +17 -2
- package/src/index.js +17 -2
- package/src/index.ts +17 -2
- package/src/com/controlresell/models/platforms/conversations/messages/{ConversationOfferRequest.d.ts → offers/ConversationOfferRequest.d.ts} +0 -0
- package/src/com/controlresell/models/platforms/conversations/messages/{ConversationOfferRequest.js → offers/ConversationOfferRequest.js} +0 -0
- package/src/com/controlresell/models/platforms/conversations/messages/{ConversationOfferRequest.ts → offers/ConversationOfferRequest.ts} +0 -0
- package/src/com/controlresell/models/{connector → users/platforms}/UserOnPlatformRequest.d.ts +2 -2
- /package/src/com/controlresell/models/{connector → users/platforms}/UserOnPlatformRequest.js +0 -0
- /package/src/com/controlresell/models/{connector → users/platforms}/UserOnPlatformRequest.ts +0 -0
|
@@ -12,16 +12,16 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
12
12
|
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
15
|
+
userId: string | number;
|
|
16
|
+
name: string;
|
|
15
17
|
platform: "VINTED" | "SHOPIFY";
|
|
16
18
|
accountId: string;
|
|
17
|
-
name: string;
|
|
18
|
-
userId: string | number;
|
|
19
19
|
}, {
|
|
20
20
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
21
|
+
userId: string | number;
|
|
22
|
+
name: string;
|
|
21
23
|
platform: "VINTED" | "SHOPIFY";
|
|
22
24
|
accountId: string;
|
|
23
|
-
name: string;
|
|
24
|
-
userId: string | number;
|
|
25
25
|
}>>>;
|
|
26
26
|
lastMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
27
|
id: z.ZodString;
|
|
@@ -30,38 +30,96 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
30
30
|
platformMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
type: z.ZodEnum<["MESSAGE", "STATUS_MESSAGE", "ACTION_MESSAGE", "OFFER_REQUEST_MESSAGE", "OFFER_MESSAGE"]>;
|
|
32
32
|
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
|
|
33
|
+
createdAt: z.ZodDate;
|
|
34
|
+
offer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
35
|
id: z.ZodString;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
messageId: z.ZodString;
|
|
37
|
+
price: z.ZodNumber;
|
|
38
|
+
originalPrice: z.ZodNumber;
|
|
39
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELLED"]>;
|
|
39
40
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
|
|
41
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
|
|
41
42
|
id: string;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
price: number;
|
|
44
|
+
originalPrice: number;
|
|
45
|
+
messageId: string;
|
|
45
46
|
}, {
|
|
46
|
-
|
|
47
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
|
|
47
48
|
id: string;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
price: number;
|
|
50
|
+
originalPrice: number;
|
|
51
|
+
messageId: string;
|
|
52
|
+
}>>>;
|
|
53
|
+
files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
54
|
+
fileId: z.ZodString;
|
|
55
|
+
messageId: z.ZodString;
|
|
56
|
+
index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
58
|
+
id: z.ZodString;
|
|
59
|
+
userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
60
|
+
path: z.ZodString;
|
|
61
|
+
signedUrl: z.ZodString;
|
|
62
|
+
createdAt: z.ZodDate;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
path: string;
|
|
65
|
+
id: string;
|
|
66
|
+
userId: string | number;
|
|
67
|
+
signedUrl: string;
|
|
68
|
+
createdAt: Date;
|
|
69
|
+
}, {
|
|
70
|
+
path: string;
|
|
71
|
+
id: string;
|
|
72
|
+
userId: string | number;
|
|
73
|
+
signedUrl: string;
|
|
74
|
+
createdAt: Date;
|
|
75
|
+
}>>>;
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
fileId: string;
|
|
78
|
+
messageId: string;
|
|
79
|
+
file?: {
|
|
80
|
+
path: string;
|
|
81
|
+
id: string;
|
|
82
|
+
userId: string | number;
|
|
83
|
+
signedUrl: string;
|
|
84
|
+
createdAt: Date;
|
|
85
|
+
} | null | undefined;
|
|
86
|
+
index?: number | null | undefined;
|
|
87
|
+
}, {
|
|
88
|
+
fileId: string;
|
|
89
|
+
messageId: string;
|
|
90
|
+
file?: {
|
|
91
|
+
path: string;
|
|
92
|
+
id: string;
|
|
93
|
+
userId: string | number;
|
|
94
|
+
signedUrl: string;
|
|
95
|
+
createdAt: Date;
|
|
96
|
+
} | null | undefined;
|
|
97
|
+
index?: number | null | undefined;
|
|
51
98
|
}>, "many">>>;
|
|
52
|
-
createdAt: z.ZodDate;
|
|
53
99
|
}, "strip", z.ZodTypeAny, {
|
|
54
100
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
55
101
|
id: string;
|
|
56
102
|
createdAt: Date;
|
|
57
103
|
conversationId: string;
|
|
58
104
|
body?: string | null | undefined;
|
|
59
|
-
|
|
60
|
-
|
|
105
|
+
offer?: {
|
|
106
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
|
|
61
107
|
id: string;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
108
|
+
price: number;
|
|
109
|
+
originalPrice: number;
|
|
110
|
+
messageId: string;
|
|
111
|
+
} | null | undefined;
|
|
112
|
+
files?: {
|
|
113
|
+
fileId: string;
|
|
114
|
+
messageId: string;
|
|
115
|
+
file?: {
|
|
116
|
+
path: string;
|
|
117
|
+
id: string;
|
|
118
|
+
userId: string | number;
|
|
119
|
+
signedUrl: string;
|
|
120
|
+
createdAt: Date;
|
|
121
|
+
} | null | undefined;
|
|
122
|
+
index?: number | null | undefined;
|
|
65
123
|
}[] | null | undefined;
|
|
66
124
|
conversationUserId?: string | null | undefined;
|
|
67
125
|
platformMessageId?: string | null | undefined;
|
|
@@ -71,12 +129,24 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
71
129
|
createdAt: Date;
|
|
72
130
|
conversationId: string;
|
|
73
131
|
body?: string | null | undefined;
|
|
74
|
-
|
|
75
|
-
|
|
132
|
+
offer?: {
|
|
133
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
|
|
76
134
|
id: string;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
135
|
+
price: number;
|
|
136
|
+
originalPrice: number;
|
|
137
|
+
messageId: string;
|
|
138
|
+
} | null | undefined;
|
|
139
|
+
files?: {
|
|
140
|
+
fileId: string;
|
|
141
|
+
messageId: string;
|
|
142
|
+
file?: {
|
|
143
|
+
path: string;
|
|
144
|
+
id: string;
|
|
145
|
+
userId: string | number;
|
|
146
|
+
signedUrl: string;
|
|
147
|
+
createdAt: Date;
|
|
148
|
+
} | null | undefined;
|
|
149
|
+
index?: number | null | undefined;
|
|
80
150
|
}[] | null | undefined;
|
|
81
151
|
conversationUserId?: string | null | undefined;
|
|
82
152
|
platformMessageId?: string | null | undefined;
|
|
@@ -100,14 +170,14 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
100
170
|
path: string;
|
|
101
171
|
id: string;
|
|
102
172
|
userId: string | number;
|
|
103
|
-
createdAt: Date;
|
|
104
173
|
signedUrl: string;
|
|
174
|
+
createdAt: Date;
|
|
105
175
|
}, {
|
|
106
176
|
path: string;
|
|
107
177
|
id: string;
|
|
108
178
|
userId: string | number;
|
|
109
|
-
createdAt: Date;
|
|
110
179
|
signedUrl: string;
|
|
180
|
+
createdAt: Date;
|
|
111
181
|
}>>>;
|
|
112
182
|
}, "strip", z.ZodTypeAny, {
|
|
113
183
|
id: string;
|
|
@@ -122,8 +192,8 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
122
192
|
path: string;
|
|
123
193
|
id: string;
|
|
124
194
|
userId: string | number;
|
|
125
|
-
createdAt: Date;
|
|
126
195
|
signedUrl: string;
|
|
196
|
+
createdAt: Date;
|
|
127
197
|
} | null | undefined;
|
|
128
198
|
}, {
|
|
129
199
|
id: string;
|
|
@@ -138,21 +208,21 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
138
208
|
path: string;
|
|
139
209
|
id: string;
|
|
140
210
|
userId: string | number;
|
|
141
|
-
createdAt: Date;
|
|
142
211
|
signedUrl: string;
|
|
212
|
+
createdAt: Date;
|
|
143
213
|
} | null | undefined;
|
|
144
214
|
}>, "many">>>;
|
|
145
215
|
}, "strip", z.ZodTypeAny, {
|
|
146
216
|
id: string;
|
|
147
|
-
accountId: string;
|
|
148
217
|
updatedAt: Date;
|
|
218
|
+
accountId: string;
|
|
149
219
|
platformConversationId: string;
|
|
150
220
|
account?: {
|
|
151
221
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
222
|
+
userId: string | number;
|
|
223
|
+
name: string;
|
|
152
224
|
platform: "VINTED" | "SHOPIFY";
|
|
153
225
|
accountId: string;
|
|
154
|
-
name: string;
|
|
155
|
-
userId: string | number;
|
|
156
226
|
} | null | undefined;
|
|
157
227
|
lastMessage?: {
|
|
158
228
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
@@ -160,12 +230,24 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
160
230
|
createdAt: Date;
|
|
161
231
|
conversationId: string;
|
|
162
232
|
body?: string | null | undefined;
|
|
163
|
-
|
|
164
|
-
|
|
233
|
+
offer?: {
|
|
234
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
|
|
165
235
|
id: string;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
236
|
+
price: number;
|
|
237
|
+
originalPrice: number;
|
|
238
|
+
messageId: string;
|
|
239
|
+
} | null | undefined;
|
|
240
|
+
files?: {
|
|
241
|
+
fileId: string;
|
|
242
|
+
messageId: string;
|
|
243
|
+
file?: {
|
|
244
|
+
path: string;
|
|
245
|
+
id: string;
|
|
246
|
+
userId: string | number;
|
|
247
|
+
signedUrl: string;
|
|
248
|
+
createdAt: Date;
|
|
249
|
+
} | null | undefined;
|
|
250
|
+
index?: number | null | undefined;
|
|
169
251
|
}[] | null | undefined;
|
|
170
252
|
conversationUserId?: string | null | undefined;
|
|
171
253
|
platformMessageId?: string | null | undefined;
|
|
@@ -183,21 +265,21 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
183
265
|
path: string;
|
|
184
266
|
id: string;
|
|
185
267
|
userId: string | number;
|
|
186
|
-
createdAt: Date;
|
|
187
268
|
signedUrl: string;
|
|
269
|
+
createdAt: Date;
|
|
188
270
|
} | null | undefined;
|
|
189
271
|
}[] | null | undefined;
|
|
190
272
|
}, {
|
|
191
273
|
id: string;
|
|
192
|
-
accountId: string;
|
|
193
274
|
updatedAt: Date;
|
|
275
|
+
accountId: string;
|
|
194
276
|
platformConversationId: string;
|
|
195
277
|
account?: {
|
|
196
278
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
279
|
+
userId: string | number;
|
|
280
|
+
name: string;
|
|
197
281
|
platform: "VINTED" | "SHOPIFY";
|
|
198
282
|
accountId: string;
|
|
199
|
-
name: string;
|
|
200
|
-
userId: string | number;
|
|
201
283
|
} | null | undefined;
|
|
202
284
|
lastMessage?: {
|
|
203
285
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
@@ -205,12 +287,24 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
205
287
|
createdAt: Date;
|
|
206
288
|
conversationId: string;
|
|
207
289
|
body?: string | null | undefined;
|
|
208
|
-
|
|
209
|
-
|
|
290
|
+
offer?: {
|
|
291
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
|
|
210
292
|
id: string;
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
293
|
+
price: number;
|
|
294
|
+
originalPrice: number;
|
|
295
|
+
messageId: string;
|
|
296
|
+
} | null | undefined;
|
|
297
|
+
files?: {
|
|
298
|
+
fileId: string;
|
|
299
|
+
messageId: string;
|
|
300
|
+
file?: {
|
|
301
|
+
path: string;
|
|
302
|
+
id: string;
|
|
303
|
+
userId: string | number;
|
|
304
|
+
signedUrl: string;
|
|
305
|
+
createdAt: Date;
|
|
306
|
+
} | null | undefined;
|
|
307
|
+
index?: number | null | undefined;
|
|
214
308
|
}[] | null | undefined;
|
|
215
309
|
conversationUserId?: string | null | undefined;
|
|
216
310
|
platformMessageId?: string | null | undefined;
|
|
@@ -228,8 +322,8 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
228
322
|
path: string;
|
|
229
323
|
id: string;
|
|
230
324
|
userId: string | number;
|
|
231
|
-
createdAt: Date;
|
|
232
325
|
signedUrl: string;
|
|
326
|
+
createdAt: Date;
|
|
233
327
|
} | null | undefined;
|
|
234
328
|
}[] | null | undefined;
|
|
235
329
|
}>;
|