@deliverart/sdk-js-integration 2.1.28 → 2.1.30
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/dist/index.cjs +9 -9
- package/dist/index.d.cts +439 -439
- package/dist/index.d.ts +439 -439
- package/dist/index.js +9 -9
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -17,9 +17,9 @@ declare const activatableIntegrationBaseSchema: z.ZodObject<{
|
|
|
17
17
|
failed: "failed";
|
|
18
18
|
}>;
|
|
19
19
|
healthStatus: z.ZodEnum<{
|
|
20
|
+
error: "error";
|
|
20
21
|
success: "success";
|
|
21
22
|
waiting: "waiting";
|
|
22
|
-
error: "error";
|
|
23
23
|
}>;
|
|
24
24
|
provider: z.ZodEnum<{
|
|
25
25
|
deliverart: "deliverart";
|
|
@@ -27,10 +27,10 @@ declare const activatableIntegrationBaseSchema: z.ZodObject<{
|
|
|
27
27
|
}>;
|
|
28
28
|
name: z.ZodString;
|
|
29
29
|
message: z.ZodNullable<z.ZodString>;
|
|
30
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
30
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
createdAt: z.ZodString;
|
|
32
32
|
updatedAt: z.ZodString;
|
|
33
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
33
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
34
34
|
status: z.ZodEnum<{
|
|
35
35
|
active: "active";
|
|
36
36
|
waiting_for_user: "waiting_for_user";
|
|
@@ -40,7 +40,7 @@ declare const activatableIntegrationBaseSchema: z.ZodObject<{
|
|
|
40
40
|
}>;
|
|
41
41
|
message: z.ZodString;
|
|
42
42
|
updatedAt: z.ZodString;
|
|
43
|
-
}, z.core.$strip
|
|
43
|
+
}, z.core.$strip>>>>;
|
|
44
44
|
}, z.core.$strip>;
|
|
45
45
|
declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
46
46
|
service: z.ZodLiteral<"deliveroo">;
|
|
@@ -50,6 +50,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
50
50
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
53
|
+
message: z.ZodNullable<z.ZodString>;
|
|
53
54
|
status: z.ZodEnum<{
|
|
54
55
|
active: "active";
|
|
55
56
|
waiting_for_user: "waiting_for_user";
|
|
@@ -58,9 +59,9 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
58
59
|
failed: "failed";
|
|
59
60
|
}>;
|
|
60
61
|
healthStatus: z.ZodEnum<{
|
|
62
|
+
error: "error";
|
|
61
63
|
success: "success";
|
|
62
64
|
waiting: "waiting";
|
|
63
|
-
error: "error";
|
|
64
65
|
}>;
|
|
65
66
|
provider: z.ZodEnum<{
|
|
66
67
|
deliverart: "deliverart";
|
|
@@ -71,9 +72,8 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
71
72
|
id: z.ZodString;
|
|
72
73
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
73
74
|
name: z.ZodString;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
75
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
77
77
|
status: z.ZodEnum<{
|
|
78
78
|
active: "active";
|
|
79
79
|
waiting_for_user: "waiting_for_user";
|
|
@@ -83,7 +83,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
83
83
|
}>;
|
|
84
84
|
message: z.ZodString;
|
|
85
85
|
updatedAt: z.ZodString;
|
|
86
|
-
}, z.core.$strip
|
|
86
|
+
}, z.core.$strip>>>>;
|
|
87
87
|
}, z.core.$strip>, z.ZodObject<{
|
|
88
88
|
service: z.ZodLiteral<"glovo">;
|
|
89
89
|
data: z.ZodObject<{
|
|
@@ -91,6 +91,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
91
91
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
92
92
|
}, z.core.$strip>;
|
|
93
93
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
94
|
+
message: z.ZodNullable<z.ZodString>;
|
|
94
95
|
status: z.ZodEnum<{
|
|
95
96
|
active: "active";
|
|
96
97
|
waiting_for_user: "waiting_for_user";
|
|
@@ -99,9 +100,9 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
99
100
|
failed: "failed";
|
|
100
101
|
}>;
|
|
101
102
|
healthStatus: z.ZodEnum<{
|
|
103
|
+
error: "error";
|
|
102
104
|
success: "success";
|
|
103
105
|
waiting: "waiting";
|
|
104
|
-
error: "error";
|
|
105
106
|
}>;
|
|
106
107
|
provider: z.ZodEnum<{
|
|
107
108
|
deliverart: "deliverart";
|
|
@@ -112,9 +113,8 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
112
113
|
id: z.ZodString;
|
|
113
114
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
114
115
|
name: z.ZodString;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
116
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
118
118
|
status: z.ZodEnum<{
|
|
119
119
|
active: "active";
|
|
120
120
|
waiting_for_user: "waiting_for_user";
|
|
@@ -124,7 +124,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
124
124
|
}>;
|
|
125
125
|
message: z.ZodString;
|
|
126
126
|
updatedAt: z.ZodString;
|
|
127
|
-
}, z.core.$strip
|
|
127
|
+
}, z.core.$strip>>>>;
|
|
128
128
|
}, z.core.$strip>, z.ZodObject<{
|
|
129
129
|
service: z.ZodLiteral<"justeat">;
|
|
130
130
|
data: z.ZodObject<{
|
|
@@ -132,6 +132,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
132
132
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
133
133
|
}, z.core.$strip>;
|
|
134
134
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
135
|
+
message: z.ZodNullable<z.ZodString>;
|
|
135
136
|
status: z.ZodEnum<{
|
|
136
137
|
active: "active";
|
|
137
138
|
waiting_for_user: "waiting_for_user";
|
|
@@ -140,9 +141,9 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
140
141
|
failed: "failed";
|
|
141
142
|
}>;
|
|
142
143
|
healthStatus: z.ZodEnum<{
|
|
144
|
+
error: "error";
|
|
143
145
|
success: "success";
|
|
144
146
|
waiting: "waiting";
|
|
145
|
-
error: "error";
|
|
146
147
|
}>;
|
|
147
148
|
provider: z.ZodEnum<{
|
|
148
149
|
deliverart: "deliverart";
|
|
@@ -153,9 +154,8 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
153
154
|
id: z.ZodString;
|
|
154
155
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
155
156
|
name: z.ZodString;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
157
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
158
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
159
|
status: z.ZodEnum<{
|
|
160
160
|
active: "active";
|
|
161
161
|
waiting_for_user: "waiting_for_user";
|
|
@@ -165,19 +165,20 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
165
165
|
}>;
|
|
166
166
|
message: z.ZodString;
|
|
167
167
|
updatedAt: z.ZodString;
|
|
168
|
-
}, z.core.$strip
|
|
168
|
+
}, z.core.$strip>>>>;
|
|
169
169
|
}, z.core.$strip>, z.ZodObject<{
|
|
170
170
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
171
171
|
data: z.ZodObject<{
|
|
172
172
|
apiKey: z.ZodString;
|
|
173
|
-
idSalesPoint: z.
|
|
173
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
174
174
|
direction: z.ZodEnum<{
|
|
175
175
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
176
176
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
177
177
|
}>;
|
|
178
|
-
locale: z.ZodString
|
|
178
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
179
179
|
}, z.core.$strip>;
|
|
180
180
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
181
|
+
message: z.ZodNullable<z.ZodString>;
|
|
181
182
|
status: z.ZodEnum<{
|
|
182
183
|
active: "active";
|
|
183
184
|
waiting_for_user: "waiting_for_user";
|
|
@@ -186,9 +187,9 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
186
187
|
failed: "failed";
|
|
187
188
|
}>;
|
|
188
189
|
healthStatus: z.ZodEnum<{
|
|
190
|
+
error: "error";
|
|
189
191
|
success: "success";
|
|
190
192
|
waiting: "waiting";
|
|
191
|
-
error: "error";
|
|
192
193
|
}>;
|
|
193
194
|
provider: z.ZodEnum<{
|
|
194
195
|
deliverart: "deliverart";
|
|
@@ -199,9 +200,8 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
199
200
|
id: z.ZodString;
|
|
200
201
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
201
202
|
name: z.ZodString;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
203
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
204
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
205
205
|
status: z.ZodEnum<{
|
|
206
206
|
active: "active";
|
|
207
207
|
waiting_for_user: "waiting_for_user";
|
|
@@ -211,7 +211,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
211
211
|
}>;
|
|
212
212
|
message: z.ZodString;
|
|
213
213
|
updatedAt: z.ZodString;
|
|
214
|
-
}, z.core.$strip
|
|
214
|
+
}, z.core.$strip>>>>;
|
|
215
215
|
}, z.core.$strip>]>;
|
|
216
216
|
type ActivatableIntegration = z.infer<typeof activatableIntegrationSchema>;
|
|
217
217
|
|
|
@@ -233,12 +233,12 @@ declare const integrationJustEatDataSchema: z.ZodObject<{
|
|
|
233
233
|
type IntegrationJustEatData = z.infer<typeof integrationJustEatDataSchema>;
|
|
234
234
|
declare const integrationCassaInCloudDataSchema: z.ZodObject<{
|
|
235
235
|
apiKey: z.ZodString;
|
|
236
|
-
idSalesPoint: z.
|
|
236
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
237
237
|
direction: z.ZodEnum<{
|
|
238
238
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
239
239
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
240
240
|
}>;
|
|
241
|
-
locale: z.ZodString
|
|
241
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
242
242
|
}, z.core.$strip>;
|
|
243
243
|
type IntegrationCassaInCloudData = z.infer<typeof integrationCassaInCloudDataSchema>;
|
|
244
244
|
declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -264,12 +264,12 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
264
264
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
265
265
|
data: z.ZodObject<{
|
|
266
266
|
apiKey: z.ZodString;
|
|
267
|
-
idSalesPoint: z.
|
|
267
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
268
268
|
direction: z.ZodEnum<{
|
|
269
269
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
270
270
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
271
271
|
}>;
|
|
272
|
-
locale: z.ZodString
|
|
272
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
273
273
|
}, z.core.$strip>;
|
|
274
274
|
}, z.core.$strip>]>;
|
|
275
275
|
type IntegrationServiceData = z.infer<typeof integrationServiceDataSchema>;
|
|
@@ -285,9 +285,9 @@ declare const activatableIntegrationStatusSchema: z.ZodEnum<{
|
|
|
285
285
|
type ActivatableIntegrationStatus = z.infer<typeof activatableIntegrationStatusSchema>;
|
|
286
286
|
declare const activatableIntegrationHealthStatuses: readonly ["success", "waiting", "error"];
|
|
287
287
|
declare const activatableIntegrationHealthStatusSchema: z.ZodEnum<{
|
|
288
|
+
error: "error";
|
|
288
289
|
success: "success";
|
|
289
290
|
waiting: "waiting";
|
|
290
|
-
error: "error";
|
|
291
291
|
}>;
|
|
292
292
|
type ActivatableIntegrationHealthStatus = z.infer<typeof activatableIntegrationHealthStatusSchema>;
|
|
293
293
|
|
|
@@ -299,6 +299,7 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
299
299
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
300
300
|
}, z.core.$strip>;
|
|
301
301
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
302
|
+
message: z.ZodNullable<z.ZodString>;
|
|
302
303
|
status: z.ZodEnum<{
|
|
303
304
|
active: "active";
|
|
304
305
|
waiting_for_user: "waiting_for_user";
|
|
@@ -307,9 +308,9 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
307
308
|
failed: "failed";
|
|
308
309
|
}>;
|
|
309
310
|
healthStatus: z.ZodEnum<{
|
|
311
|
+
error: "error";
|
|
310
312
|
success: "success";
|
|
311
313
|
waiting: "waiting";
|
|
312
|
-
error: "error";
|
|
313
314
|
}>;
|
|
314
315
|
provider: z.ZodEnum<{
|
|
315
316
|
deliverart: "deliverart";
|
|
@@ -320,9 +321,8 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
320
321
|
id: z.ZodString;
|
|
321
322
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
322
323
|
name: z.ZodString;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
324
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
325
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
326
326
|
status: z.ZodEnum<{
|
|
327
327
|
active: "active";
|
|
328
328
|
waiting_for_user: "waiting_for_user";
|
|
@@ -332,7 +332,7 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
332
332
|
}>;
|
|
333
333
|
message: z.ZodString;
|
|
334
334
|
updatedAt: z.ZodString;
|
|
335
|
-
}, z.core.$strip
|
|
335
|
+
}, z.core.$strip>>>>;
|
|
336
336
|
}, z.core.$strip>, z.ZodObject<{
|
|
337
337
|
service: z.ZodLiteral<"glovo">;
|
|
338
338
|
data: z.ZodObject<{
|
|
@@ -340,6 +340,7 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
340
340
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
341
341
|
}, z.core.$strip>;
|
|
342
342
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
343
|
+
message: z.ZodNullable<z.ZodString>;
|
|
343
344
|
status: z.ZodEnum<{
|
|
344
345
|
active: "active";
|
|
345
346
|
waiting_for_user: "waiting_for_user";
|
|
@@ -348,9 +349,9 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
348
349
|
failed: "failed";
|
|
349
350
|
}>;
|
|
350
351
|
healthStatus: z.ZodEnum<{
|
|
352
|
+
error: "error";
|
|
351
353
|
success: "success";
|
|
352
354
|
waiting: "waiting";
|
|
353
|
-
error: "error";
|
|
354
355
|
}>;
|
|
355
356
|
provider: z.ZodEnum<{
|
|
356
357
|
deliverart: "deliverart";
|
|
@@ -361,9 +362,8 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
361
362
|
id: z.ZodString;
|
|
362
363
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
363
364
|
name: z.ZodString;
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
365
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
366
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
367
367
|
status: z.ZodEnum<{
|
|
368
368
|
active: "active";
|
|
369
369
|
waiting_for_user: "waiting_for_user";
|
|
@@ -373,7 +373,7 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
373
373
|
}>;
|
|
374
374
|
message: z.ZodString;
|
|
375
375
|
updatedAt: z.ZodString;
|
|
376
|
-
}, z.core.$strip
|
|
376
|
+
}, z.core.$strip>>>>;
|
|
377
377
|
}, z.core.$strip>, z.ZodObject<{
|
|
378
378
|
service: z.ZodLiteral<"justeat">;
|
|
379
379
|
data: z.ZodObject<{
|
|
@@ -381,6 +381,7 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
381
381
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
382
382
|
}, z.core.$strip>;
|
|
383
383
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
384
|
+
message: z.ZodNullable<z.ZodString>;
|
|
384
385
|
status: z.ZodEnum<{
|
|
385
386
|
active: "active";
|
|
386
387
|
waiting_for_user: "waiting_for_user";
|
|
@@ -389,9 +390,9 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
389
390
|
failed: "failed";
|
|
390
391
|
}>;
|
|
391
392
|
healthStatus: z.ZodEnum<{
|
|
393
|
+
error: "error";
|
|
392
394
|
success: "success";
|
|
393
395
|
waiting: "waiting";
|
|
394
|
-
error: "error";
|
|
395
396
|
}>;
|
|
396
397
|
provider: z.ZodEnum<{
|
|
397
398
|
deliverart: "deliverart";
|
|
@@ -402,9 +403,8 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
402
403
|
id: z.ZodString;
|
|
403
404
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
404
405
|
name: z.ZodString;
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
406
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
407
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
408
408
|
status: z.ZodEnum<{
|
|
409
409
|
active: "active";
|
|
410
410
|
waiting_for_user: "waiting_for_user";
|
|
@@ -414,19 +414,20 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
414
414
|
}>;
|
|
415
415
|
message: z.ZodString;
|
|
416
416
|
updatedAt: z.ZodString;
|
|
417
|
-
}, z.core.$strip
|
|
417
|
+
}, z.core.$strip>>>>;
|
|
418
418
|
}, z.core.$strip>, z.ZodObject<{
|
|
419
419
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
420
420
|
data: z.ZodObject<{
|
|
421
421
|
apiKey: z.ZodString;
|
|
422
|
-
idSalesPoint: z.
|
|
422
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
423
423
|
direction: z.ZodEnum<{
|
|
424
424
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
425
425
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
426
426
|
}>;
|
|
427
|
-
locale: z.ZodString
|
|
427
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
428
428
|
}, z.core.$strip>;
|
|
429
429
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
430
|
+
message: z.ZodNullable<z.ZodString>;
|
|
430
431
|
status: z.ZodEnum<{
|
|
431
432
|
active: "active";
|
|
432
433
|
waiting_for_user: "waiting_for_user";
|
|
@@ -435,9 +436,9 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
435
436
|
failed: "failed";
|
|
436
437
|
}>;
|
|
437
438
|
healthStatus: z.ZodEnum<{
|
|
439
|
+
error: "error";
|
|
438
440
|
success: "success";
|
|
439
441
|
waiting: "waiting";
|
|
440
|
-
error: "error";
|
|
441
442
|
}>;
|
|
442
443
|
provider: z.ZodEnum<{
|
|
443
444
|
deliverart: "deliverart";
|
|
@@ -448,9 +449,8 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
448
449
|
id: z.ZodString;
|
|
449
450
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
450
451
|
name: z.ZodString;
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
452
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
453
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
454
454
|
status: z.ZodEnum<{
|
|
455
455
|
active: "active";
|
|
456
456
|
waiting_for_user: "waiting_for_user";
|
|
@@ -460,7 +460,7 @@ declare const integrationActivationRequestSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
460
460
|
}>;
|
|
461
461
|
message: z.ZodString;
|
|
462
462
|
updatedAt: z.ZodString;
|
|
463
|
-
}, z.core.$strip
|
|
463
|
+
}, z.core.$strip>>>>;
|
|
464
464
|
}, z.core.$strip>]>;
|
|
465
465
|
type IntegrationActivationRequest = z.infer<typeof integrationActivationRequestSchema>;
|
|
466
466
|
declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -509,9 +509,9 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
509
509
|
failed: "failed";
|
|
510
510
|
}>;
|
|
511
511
|
healthStatus: z.ZodEnum<{
|
|
512
|
+
error: "error";
|
|
512
513
|
success: "success";
|
|
513
514
|
waiting: "waiting";
|
|
514
|
-
error: "error";
|
|
515
515
|
}>;
|
|
516
516
|
provider: z.ZodEnum<{
|
|
517
517
|
deliverart: "deliverart";
|
|
@@ -519,10 +519,10 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
519
519
|
}>;
|
|
520
520
|
name: z.ZodString;
|
|
521
521
|
message: z.ZodNullable<z.ZodString>;
|
|
522
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
522
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
523
523
|
createdAt: z.ZodString;
|
|
524
524
|
updatedAt: z.ZodString;
|
|
525
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
525
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
526
526
|
status: z.ZodEnum<{
|
|
527
527
|
active: "active";
|
|
528
528
|
waiting_for_user: "waiting_for_user";
|
|
@@ -532,7 +532,7 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
532
532
|
}>;
|
|
533
533
|
message: z.ZodString;
|
|
534
534
|
updatedAt: z.ZodString;
|
|
535
|
-
}, z.core.$strip
|
|
535
|
+
}, z.core.$strip>>>>;
|
|
536
536
|
}, z.core.$strip>, z.ZodObject<{
|
|
537
537
|
pointOfSale: z.ZodObject<{
|
|
538
538
|
id: z.ZodString;
|
|
@@ -578,9 +578,9 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
578
578
|
failed: "failed";
|
|
579
579
|
}>;
|
|
580
580
|
healthStatus: z.ZodEnum<{
|
|
581
|
+
error: "error";
|
|
581
582
|
success: "success";
|
|
582
583
|
waiting: "waiting";
|
|
583
|
-
error: "error";
|
|
584
584
|
}>;
|
|
585
585
|
provider: z.ZodEnum<{
|
|
586
586
|
deliverart: "deliverart";
|
|
@@ -588,10 +588,10 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
588
588
|
}>;
|
|
589
589
|
name: z.ZodString;
|
|
590
590
|
message: z.ZodNullable<z.ZodString>;
|
|
591
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
591
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
592
592
|
createdAt: z.ZodString;
|
|
593
593
|
updatedAt: z.ZodString;
|
|
594
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
594
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
595
595
|
status: z.ZodEnum<{
|
|
596
596
|
active: "active";
|
|
597
597
|
waiting_for_user: "waiting_for_user";
|
|
@@ -601,7 +601,7 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
601
601
|
}>;
|
|
602
602
|
message: z.ZodString;
|
|
603
603
|
updatedAt: z.ZodString;
|
|
604
|
-
}, z.core.$strip
|
|
604
|
+
}, z.core.$strip>>>>;
|
|
605
605
|
}, z.core.$strip>, z.ZodObject<{
|
|
606
606
|
pointOfSale: z.ZodObject<{
|
|
607
607
|
id: z.ZodString;
|
|
@@ -647,9 +647,9 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
647
647
|
failed: "failed";
|
|
648
648
|
}>;
|
|
649
649
|
healthStatus: z.ZodEnum<{
|
|
650
|
+
error: "error";
|
|
650
651
|
success: "success";
|
|
651
652
|
waiting: "waiting";
|
|
652
|
-
error: "error";
|
|
653
653
|
}>;
|
|
654
654
|
provider: z.ZodEnum<{
|
|
655
655
|
deliverart: "deliverart";
|
|
@@ -657,10 +657,10 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
657
657
|
}>;
|
|
658
658
|
name: z.ZodString;
|
|
659
659
|
message: z.ZodNullable<z.ZodString>;
|
|
660
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
660
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
661
661
|
createdAt: z.ZodString;
|
|
662
662
|
updatedAt: z.ZodString;
|
|
663
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
663
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
664
664
|
status: z.ZodEnum<{
|
|
665
665
|
active: "active";
|
|
666
666
|
waiting_for_user: "waiting_for_user";
|
|
@@ -670,7 +670,7 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
670
670
|
}>;
|
|
671
671
|
message: z.ZodString;
|
|
672
672
|
updatedAt: z.ZodString;
|
|
673
|
-
}, z.core.$strip
|
|
673
|
+
}, z.core.$strip>>>>;
|
|
674
674
|
}, z.core.$strip>, z.ZodObject<{
|
|
675
675
|
pointOfSale: z.ZodObject<{
|
|
676
676
|
id: z.ZodString;
|
|
@@ -703,12 +703,12 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
703
703
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
704
704
|
data: z.ZodObject<{
|
|
705
705
|
apiKey: z.ZodString;
|
|
706
|
-
idSalesPoint: z.
|
|
706
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
707
707
|
direction: z.ZodEnum<{
|
|
708
708
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
709
709
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
710
710
|
}>;
|
|
711
|
-
locale: z.ZodString
|
|
711
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
712
712
|
}, z.core.$strip>;
|
|
713
713
|
id: z.ZodString;
|
|
714
714
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -721,9 +721,9 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
721
721
|
failed: "failed";
|
|
722
722
|
}>;
|
|
723
723
|
healthStatus: z.ZodEnum<{
|
|
724
|
+
error: "error";
|
|
724
725
|
success: "success";
|
|
725
726
|
waiting: "waiting";
|
|
726
|
-
error: "error";
|
|
727
727
|
}>;
|
|
728
728
|
provider: z.ZodEnum<{
|
|
729
729
|
deliverart: "deliverart";
|
|
@@ -731,10 +731,10 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
731
731
|
}>;
|
|
732
732
|
name: z.ZodString;
|
|
733
733
|
message: z.ZodNullable<z.ZodString>;
|
|
734
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
734
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
735
735
|
createdAt: z.ZodString;
|
|
736
736
|
updatedAt: z.ZodString;
|
|
737
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
737
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
738
738
|
status: z.ZodEnum<{
|
|
739
739
|
active: "active";
|
|
740
740
|
waiting_for_user: "waiting_for_user";
|
|
@@ -744,7 +744,7 @@ declare const integrationActivationRequestDetailsSchema: z.ZodDiscriminatedUnion
|
|
|
744
744
|
}>;
|
|
745
745
|
message: z.ZodString;
|
|
746
746
|
updatedAt: z.ZodString;
|
|
747
|
-
}, z.core.$strip
|
|
747
|
+
}, z.core.$strip>>>>;
|
|
748
748
|
}, z.core.$strip>]>;
|
|
749
749
|
type IntegrationActivationRequestDetails = z.infer<typeof integrationActivationRequestDetailsSchema>;
|
|
750
750
|
|
|
@@ -1131,9 +1131,9 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1131
1131
|
failed: "failed";
|
|
1132
1132
|
}>;
|
|
1133
1133
|
healthStatus: z.ZodEnum<{
|
|
1134
|
+
error: "error";
|
|
1134
1135
|
success: "success";
|
|
1135
1136
|
waiting: "waiting";
|
|
1136
|
-
error: "error";
|
|
1137
1137
|
}>;
|
|
1138
1138
|
provider: z.ZodEnum<{
|
|
1139
1139
|
deliverart: "deliverart";
|
|
@@ -1141,10 +1141,10 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1141
1141
|
}>;
|
|
1142
1142
|
name: z.ZodString;
|
|
1143
1143
|
message: z.ZodNullable<z.ZodString>;
|
|
1144
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
1144
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1145
1145
|
createdAt: z.ZodString;
|
|
1146
1146
|
updatedAt: z.ZodString;
|
|
1147
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
1147
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1148
1148
|
status: z.ZodEnum<{
|
|
1149
1149
|
active: "active";
|
|
1150
1150
|
waiting_for_user: "waiting_for_user";
|
|
@@ -1154,7 +1154,7 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1154
1154
|
}>;
|
|
1155
1155
|
message: z.ZodString;
|
|
1156
1156
|
updatedAt: z.ZodString;
|
|
1157
|
-
}, z.core.$strip
|
|
1157
|
+
}, z.core.$strip>>>>;
|
|
1158
1158
|
}, z.core.$strip>, z.ZodObject<{
|
|
1159
1159
|
pointOfSale: z.ZodObject<{
|
|
1160
1160
|
id: z.ZodString;
|
|
@@ -1200,9 +1200,9 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1200
1200
|
failed: "failed";
|
|
1201
1201
|
}>;
|
|
1202
1202
|
healthStatus: z.ZodEnum<{
|
|
1203
|
+
error: "error";
|
|
1203
1204
|
success: "success";
|
|
1204
1205
|
waiting: "waiting";
|
|
1205
|
-
error: "error";
|
|
1206
1206
|
}>;
|
|
1207
1207
|
provider: z.ZodEnum<{
|
|
1208
1208
|
deliverart: "deliverart";
|
|
@@ -1210,10 +1210,10 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1210
1210
|
}>;
|
|
1211
1211
|
name: z.ZodString;
|
|
1212
1212
|
message: z.ZodNullable<z.ZodString>;
|
|
1213
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
1213
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1214
1214
|
createdAt: z.ZodString;
|
|
1215
1215
|
updatedAt: z.ZodString;
|
|
1216
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
1216
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1217
1217
|
status: z.ZodEnum<{
|
|
1218
1218
|
active: "active";
|
|
1219
1219
|
waiting_for_user: "waiting_for_user";
|
|
@@ -1223,7 +1223,7 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1223
1223
|
}>;
|
|
1224
1224
|
message: z.ZodString;
|
|
1225
1225
|
updatedAt: z.ZodString;
|
|
1226
|
-
}, z.core.$strip
|
|
1226
|
+
}, z.core.$strip>>>>;
|
|
1227
1227
|
}, z.core.$strip>, z.ZodObject<{
|
|
1228
1228
|
pointOfSale: z.ZodObject<{
|
|
1229
1229
|
id: z.ZodString;
|
|
@@ -1269,9 +1269,9 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1269
1269
|
failed: "failed";
|
|
1270
1270
|
}>;
|
|
1271
1271
|
healthStatus: z.ZodEnum<{
|
|
1272
|
+
error: "error";
|
|
1272
1273
|
success: "success";
|
|
1273
1274
|
waiting: "waiting";
|
|
1274
|
-
error: "error";
|
|
1275
1275
|
}>;
|
|
1276
1276
|
provider: z.ZodEnum<{
|
|
1277
1277
|
deliverart: "deliverart";
|
|
@@ -1279,10 +1279,10 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1279
1279
|
}>;
|
|
1280
1280
|
name: z.ZodString;
|
|
1281
1281
|
message: z.ZodNullable<z.ZodString>;
|
|
1282
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
1282
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1283
1283
|
createdAt: z.ZodString;
|
|
1284
1284
|
updatedAt: z.ZodString;
|
|
1285
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
1285
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1286
1286
|
status: z.ZodEnum<{
|
|
1287
1287
|
active: "active";
|
|
1288
1288
|
waiting_for_user: "waiting_for_user";
|
|
@@ -1292,7 +1292,7 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1292
1292
|
}>;
|
|
1293
1293
|
message: z.ZodString;
|
|
1294
1294
|
updatedAt: z.ZodString;
|
|
1295
|
-
}, z.core.$strip
|
|
1295
|
+
}, z.core.$strip>>>>;
|
|
1296
1296
|
}, z.core.$strip>, z.ZodObject<{
|
|
1297
1297
|
pointOfSale: z.ZodObject<{
|
|
1298
1298
|
id: z.ZodString;
|
|
@@ -1325,12 +1325,12 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1325
1325
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
1326
1326
|
data: z.ZodObject<{
|
|
1327
1327
|
apiKey: z.ZodString;
|
|
1328
|
-
idSalesPoint: z.
|
|
1328
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
1329
1329
|
direction: z.ZodEnum<{
|
|
1330
1330
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
1331
1331
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
1332
1332
|
}>;
|
|
1333
|
-
locale: z.ZodString
|
|
1333
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1334
1334
|
}, z.core.$strip>;
|
|
1335
1335
|
id: z.ZodString;
|
|
1336
1336
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -1343,9 +1343,9 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1343
1343
|
failed: "failed";
|
|
1344
1344
|
}>;
|
|
1345
1345
|
healthStatus: z.ZodEnum<{
|
|
1346
|
+
error: "error";
|
|
1346
1347
|
success: "success";
|
|
1347
1348
|
waiting: "waiting";
|
|
1348
|
-
error: "error";
|
|
1349
1349
|
}>;
|
|
1350
1350
|
provider: z.ZodEnum<{
|
|
1351
1351
|
deliverart: "deliverart";
|
|
@@ -1353,10 +1353,10 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1353
1353
|
}>;
|
|
1354
1354
|
name: z.ZodString;
|
|
1355
1355
|
message: z.ZodNullable<z.ZodString>;
|
|
1356
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
1356
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1357
1357
|
createdAt: z.ZodString;
|
|
1358
1358
|
updatedAt: z.ZodString;
|
|
1359
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
1359
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1360
1360
|
status: z.ZodEnum<{
|
|
1361
1361
|
active: "active";
|
|
1362
1362
|
waiting_for_user: "waiting_for_user";
|
|
@@ -1366,7 +1366,7 @@ declare const activateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1366
1366
|
}>;
|
|
1367
1367
|
message: z.ZodString;
|
|
1368
1368
|
updatedAt: z.ZodString;
|
|
1369
|
-
}, z.core.$strip
|
|
1369
|
+
}, z.core.$strip>>>>;
|
|
1370
1370
|
}, z.core.$strip>]>;
|
|
1371
1371
|
type ActivateIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
|
|
1372
1372
|
declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<typeof activateIntegrationActivationRequestInputSchema, typeof activateIntegrationActivationRequestResponseSchema> {
|
|
@@ -1420,9 +1420,9 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1420
1420
|
failed: "failed";
|
|
1421
1421
|
}>;
|
|
1422
1422
|
healthStatus: z.ZodEnum<{
|
|
1423
|
+
error: "error";
|
|
1423
1424
|
success: "success";
|
|
1424
1425
|
waiting: "waiting";
|
|
1425
|
-
error: "error";
|
|
1426
1426
|
}>;
|
|
1427
1427
|
provider: z.ZodEnum<{
|
|
1428
1428
|
deliverart: "deliverart";
|
|
@@ -1430,10 +1430,10 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1430
1430
|
}>;
|
|
1431
1431
|
name: z.ZodString;
|
|
1432
1432
|
message: z.ZodNullable<z.ZodString>;
|
|
1433
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
1433
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1434
1434
|
createdAt: z.ZodString;
|
|
1435
1435
|
updatedAt: z.ZodString;
|
|
1436
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
1436
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1437
1437
|
status: z.ZodEnum<{
|
|
1438
1438
|
active: "active";
|
|
1439
1439
|
waiting_for_user: "waiting_for_user";
|
|
@@ -1443,7 +1443,7 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1443
1443
|
}>;
|
|
1444
1444
|
message: z.ZodString;
|
|
1445
1445
|
updatedAt: z.ZodString;
|
|
1446
|
-
}, z.core.$strip
|
|
1446
|
+
}, z.core.$strip>>>>;
|
|
1447
1447
|
}, z.core.$strip>, z.ZodObject<{
|
|
1448
1448
|
pointOfSale: z.ZodObject<{
|
|
1449
1449
|
id: z.ZodString;
|
|
@@ -1489,9 +1489,9 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1489
1489
|
failed: "failed";
|
|
1490
1490
|
}>;
|
|
1491
1491
|
healthStatus: z.ZodEnum<{
|
|
1492
|
+
error: "error";
|
|
1492
1493
|
success: "success";
|
|
1493
1494
|
waiting: "waiting";
|
|
1494
|
-
error: "error";
|
|
1495
1495
|
}>;
|
|
1496
1496
|
provider: z.ZodEnum<{
|
|
1497
1497
|
deliverart: "deliverart";
|
|
@@ -1499,10 +1499,10 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1499
1499
|
}>;
|
|
1500
1500
|
name: z.ZodString;
|
|
1501
1501
|
message: z.ZodNullable<z.ZodString>;
|
|
1502
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
1502
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1503
1503
|
createdAt: z.ZodString;
|
|
1504
1504
|
updatedAt: z.ZodString;
|
|
1505
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
1505
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1506
1506
|
status: z.ZodEnum<{
|
|
1507
1507
|
active: "active";
|
|
1508
1508
|
waiting_for_user: "waiting_for_user";
|
|
@@ -1512,7 +1512,7 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1512
1512
|
}>;
|
|
1513
1513
|
message: z.ZodString;
|
|
1514
1514
|
updatedAt: z.ZodString;
|
|
1515
|
-
}, z.core.$strip
|
|
1515
|
+
}, z.core.$strip>>>>;
|
|
1516
1516
|
}, z.core.$strip>, z.ZodObject<{
|
|
1517
1517
|
pointOfSale: z.ZodObject<{
|
|
1518
1518
|
id: z.ZodString;
|
|
@@ -1558,9 +1558,9 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1558
1558
|
failed: "failed";
|
|
1559
1559
|
}>;
|
|
1560
1560
|
healthStatus: z.ZodEnum<{
|
|
1561
|
+
error: "error";
|
|
1561
1562
|
success: "success";
|
|
1562
1563
|
waiting: "waiting";
|
|
1563
|
-
error: "error";
|
|
1564
1564
|
}>;
|
|
1565
1565
|
provider: z.ZodEnum<{
|
|
1566
1566
|
deliverart: "deliverart";
|
|
@@ -1568,10 +1568,10 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1568
1568
|
}>;
|
|
1569
1569
|
name: z.ZodString;
|
|
1570
1570
|
message: z.ZodNullable<z.ZodString>;
|
|
1571
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
1571
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1572
1572
|
createdAt: z.ZodString;
|
|
1573
1573
|
updatedAt: z.ZodString;
|
|
1574
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
1574
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1575
1575
|
status: z.ZodEnum<{
|
|
1576
1576
|
active: "active";
|
|
1577
1577
|
waiting_for_user: "waiting_for_user";
|
|
@@ -1581,7 +1581,7 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1581
1581
|
}>;
|
|
1582
1582
|
message: z.ZodString;
|
|
1583
1583
|
updatedAt: z.ZodString;
|
|
1584
|
-
}, z.core.$strip
|
|
1584
|
+
}, z.core.$strip>>>>;
|
|
1585
1585
|
}, z.core.$strip>, z.ZodObject<{
|
|
1586
1586
|
pointOfSale: z.ZodObject<{
|
|
1587
1587
|
id: z.ZodString;
|
|
@@ -1614,12 +1614,12 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1614
1614
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
1615
1615
|
data: z.ZodObject<{
|
|
1616
1616
|
apiKey: z.ZodString;
|
|
1617
|
-
idSalesPoint: z.
|
|
1617
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
1618
1618
|
direction: z.ZodEnum<{
|
|
1619
1619
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
1620
1620
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
1621
1621
|
}>;
|
|
1622
|
-
locale: z.ZodString
|
|
1622
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1623
1623
|
}, z.core.$strip>;
|
|
1624
1624
|
id: z.ZodString;
|
|
1625
1625
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -1632,9 +1632,9 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1632
1632
|
failed: "failed";
|
|
1633
1633
|
}>;
|
|
1634
1634
|
healthStatus: z.ZodEnum<{
|
|
1635
|
+
error: "error";
|
|
1635
1636
|
success: "success";
|
|
1636
1637
|
waiting: "waiting";
|
|
1637
|
-
error: "error";
|
|
1638
1638
|
}>;
|
|
1639
1639
|
provider: z.ZodEnum<{
|
|
1640
1640
|
deliverart: "deliverart";
|
|
@@ -1642,10 +1642,10 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1642
1642
|
}>;
|
|
1643
1643
|
name: z.ZodString;
|
|
1644
1644
|
message: z.ZodNullable<z.ZodString>;
|
|
1645
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
1645
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1646
1646
|
createdAt: z.ZodString;
|
|
1647
1647
|
updatedAt: z.ZodString;
|
|
1648
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
1648
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1649
1649
|
status: z.ZodEnum<{
|
|
1650
1650
|
active: "active";
|
|
1651
1651
|
waiting_for_user: "waiting_for_user";
|
|
@@ -1655,7 +1655,7 @@ declare class ActivateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
1655
1655
|
}>;
|
|
1656
1656
|
message: z.ZodString;
|
|
1657
1657
|
updatedAt: z.ZodString;
|
|
1658
|
-
}, z.core.$strip
|
|
1658
|
+
}, z.core.$strip>>>>;
|
|
1659
1659
|
}, z.core.$strip>]>;
|
|
1660
1660
|
readonly querySchema: undefined;
|
|
1661
1661
|
readonly headersSchema: undefined;
|
|
@@ -1714,9 +1714,9 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1714
1714
|
failed: "failed";
|
|
1715
1715
|
}>;
|
|
1716
1716
|
healthStatus: z.ZodEnum<{
|
|
1717
|
+
error: "error";
|
|
1717
1718
|
success: "success";
|
|
1718
1719
|
waiting: "waiting";
|
|
1719
|
-
error: "error";
|
|
1720
1720
|
}>;
|
|
1721
1721
|
provider: z.ZodEnum<{
|
|
1722
1722
|
deliverart: "deliverart";
|
|
@@ -1724,10 +1724,10 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1724
1724
|
}>;
|
|
1725
1725
|
name: z.ZodString;
|
|
1726
1726
|
message: z.ZodNullable<z.ZodString>;
|
|
1727
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
1727
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1728
1728
|
createdAt: z.ZodString;
|
|
1729
1729
|
updatedAt: z.ZodString;
|
|
1730
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
1730
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1731
1731
|
status: z.ZodEnum<{
|
|
1732
1732
|
active: "active";
|
|
1733
1733
|
waiting_for_user: "waiting_for_user";
|
|
@@ -1737,7 +1737,7 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1737
1737
|
}>;
|
|
1738
1738
|
message: z.ZodString;
|
|
1739
1739
|
updatedAt: z.ZodString;
|
|
1740
|
-
}, z.core.$strip
|
|
1740
|
+
}, z.core.$strip>>>>;
|
|
1741
1741
|
}, z.core.$strip>, z.ZodObject<{
|
|
1742
1742
|
pointOfSale: z.ZodObject<{
|
|
1743
1743
|
id: z.ZodString;
|
|
@@ -1783,9 +1783,9 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1783
1783
|
failed: "failed";
|
|
1784
1784
|
}>;
|
|
1785
1785
|
healthStatus: z.ZodEnum<{
|
|
1786
|
+
error: "error";
|
|
1786
1787
|
success: "success";
|
|
1787
1788
|
waiting: "waiting";
|
|
1788
|
-
error: "error";
|
|
1789
1789
|
}>;
|
|
1790
1790
|
provider: z.ZodEnum<{
|
|
1791
1791
|
deliverart: "deliverart";
|
|
@@ -1793,10 +1793,10 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1793
1793
|
}>;
|
|
1794
1794
|
name: z.ZodString;
|
|
1795
1795
|
message: z.ZodNullable<z.ZodString>;
|
|
1796
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
1796
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1797
1797
|
createdAt: z.ZodString;
|
|
1798
1798
|
updatedAt: z.ZodString;
|
|
1799
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
1799
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1800
1800
|
status: z.ZodEnum<{
|
|
1801
1801
|
active: "active";
|
|
1802
1802
|
waiting_for_user: "waiting_for_user";
|
|
@@ -1806,7 +1806,7 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1806
1806
|
}>;
|
|
1807
1807
|
message: z.ZodString;
|
|
1808
1808
|
updatedAt: z.ZodString;
|
|
1809
|
-
}, z.core.$strip
|
|
1809
|
+
}, z.core.$strip>>>>;
|
|
1810
1810
|
}, z.core.$strip>, z.ZodObject<{
|
|
1811
1811
|
pointOfSale: z.ZodObject<{
|
|
1812
1812
|
id: z.ZodString;
|
|
@@ -1852,9 +1852,9 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1852
1852
|
failed: "failed";
|
|
1853
1853
|
}>;
|
|
1854
1854
|
healthStatus: z.ZodEnum<{
|
|
1855
|
+
error: "error";
|
|
1855
1856
|
success: "success";
|
|
1856
1857
|
waiting: "waiting";
|
|
1857
|
-
error: "error";
|
|
1858
1858
|
}>;
|
|
1859
1859
|
provider: z.ZodEnum<{
|
|
1860
1860
|
deliverart: "deliverart";
|
|
@@ -1862,10 +1862,10 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1862
1862
|
}>;
|
|
1863
1863
|
name: z.ZodString;
|
|
1864
1864
|
message: z.ZodNullable<z.ZodString>;
|
|
1865
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
1865
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1866
1866
|
createdAt: z.ZodString;
|
|
1867
1867
|
updatedAt: z.ZodString;
|
|
1868
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
1868
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1869
1869
|
status: z.ZodEnum<{
|
|
1870
1870
|
active: "active";
|
|
1871
1871
|
waiting_for_user: "waiting_for_user";
|
|
@@ -1875,7 +1875,7 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1875
1875
|
}>;
|
|
1876
1876
|
message: z.ZodString;
|
|
1877
1877
|
updatedAt: z.ZodString;
|
|
1878
|
-
}, z.core.$strip
|
|
1878
|
+
}, z.core.$strip>>>>;
|
|
1879
1879
|
}, z.core.$strip>, z.ZodObject<{
|
|
1880
1880
|
pointOfSale: z.ZodObject<{
|
|
1881
1881
|
id: z.ZodString;
|
|
@@ -1908,12 +1908,12 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1908
1908
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
1909
1909
|
data: z.ZodObject<{
|
|
1910
1910
|
apiKey: z.ZodString;
|
|
1911
|
-
idSalesPoint: z.
|
|
1911
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
1912
1912
|
direction: z.ZodEnum<{
|
|
1913
1913
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
1914
1914
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
1915
1915
|
}>;
|
|
1916
|
-
locale: z.ZodString
|
|
1916
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1917
1917
|
}, z.core.$strip>;
|
|
1918
1918
|
id: z.ZodString;
|
|
1919
1919
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -1926,9 +1926,9 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1926
1926
|
failed: "failed";
|
|
1927
1927
|
}>;
|
|
1928
1928
|
healthStatus: z.ZodEnum<{
|
|
1929
|
+
error: "error";
|
|
1929
1930
|
success: "success";
|
|
1930
1931
|
waiting: "waiting";
|
|
1931
|
-
error: "error";
|
|
1932
1932
|
}>;
|
|
1933
1933
|
provider: z.ZodEnum<{
|
|
1934
1934
|
deliverart: "deliverart";
|
|
@@ -1936,10 +1936,10 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1936
1936
|
}>;
|
|
1937
1937
|
name: z.ZodString;
|
|
1938
1938
|
message: z.ZodNullable<z.ZodString>;
|
|
1939
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
1939
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1940
1940
|
createdAt: z.ZodString;
|
|
1941
1941
|
updatedAt: z.ZodString;
|
|
1942
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
1942
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1943
1943
|
status: z.ZodEnum<{
|
|
1944
1944
|
active: "active";
|
|
1945
1945
|
waiting_for_user: "waiting_for_user";
|
|
@@ -1949,7 +1949,7 @@ declare const annotateIntegrationActivationRequestResponseSchema: z.ZodDiscrimin
|
|
|
1949
1949
|
}>;
|
|
1950
1950
|
message: z.ZodString;
|
|
1951
1951
|
updatedAt: z.ZodString;
|
|
1952
|
-
}, z.core.$strip
|
|
1952
|
+
}, z.core.$strip>>>>;
|
|
1953
1953
|
}, z.core.$strip>]>;
|
|
1954
1954
|
type AnnotateIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
|
|
1955
1955
|
declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<typeof annotateIntegrationActivationRequestInputSchema, typeof annotateIntegrationActivationRequestResponseSchema> {
|
|
@@ -2005,9 +2005,9 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2005
2005
|
failed: "failed";
|
|
2006
2006
|
}>;
|
|
2007
2007
|
healthStatus: z.ZodEnum<{
|
|
2008
|
+
error: "error";
|
|
2008
2009
|
success: "success";
|
|
2009
2010
|
waiting: "waiting";
|
|
2010
|
-
error: "error";
|
|
2011
2011
|
}>;
|
|
2012
2012
|
provider: z.ZodEnum<{
|
|
2013
2013
|
deliverart: "deliverart";
|
|
@@ -2015,10 +2015,10 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2015
2015
|
}>;
|
|
2016
2016
|
name: z.ZodString;
|
|
2017
2017
|
message: z.ZodNullable<z.ZodString>;
|
|
2018
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
2018
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2019
2019
|
createdAt: z.ZodString;
|
|
2020
2020
|
updatedAt: z.ZodString;
|
|
2021
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
2021
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2022
2022
|
status: z.ZodEnum<{
|
|
2023
2023
|
active: "active";
|
|
2024
2024
|
waiting_for_user: "waiting_for_user";
|
|
@@ -2028,7 +2028,7 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2028
2028
|
}>;
|
|
2029
2029
|
message: z.ZodString;
|
|
2030
2030
|
updatedAt: z.ZodString;
|
|
2031
|
-
}, z.core.$strip
|
|
2031
|
+
}, z.core.$strip>>>>;
|
|
2032
2032
|
}, z.core.$strip>, z.ZodObject<{
|
|
2033
2033
|
pointOfSale: z.ZodObject<{
|
|
2034
2034
|
id: z.ZodString;
|
|
@@ -2074,9 +2074,9 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2074
2074
|
failed: "failed";
|
|
2075
2075
|
}>;
|
|
2076
2076
|
healthStatus: z.ZodEnum<{
|
|
2077
|
+
error: "error";
|
|
2077
2078
|
success: "success";
|
|
2078
2079
|
waiting: "waiting";
|
|
2079
|
-
error: "error";
|
|
2080
2080
|
}>;
|
|
2081
2081
|
provider: z.ZodEnum<{
|
|
2082
2082
|
deliverart: "deliverart";
|
|
@@ -2084,10 +2084,10 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2084
2084
|
}>;
|
|
2085
2085
|
name: z.ZodString;
|
|
2086
2086
|
message: z.ZodNullable<z.ZodString>;
|
|
2087
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
2087
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2088
2088
|
createdAt: z.ZodString;
|
|
2089
2089
|
updatedAt: z.ZodString;
|
|
2090
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
2090
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2091
2091
|
status: z.ZodEnum<{
|
|
2092
2092
|
active: "active";
|
|
2093
2093
|
waiting_for_user: "waiting_for_user";
|
|
@@ -2097,7 +2097,7 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2097
2097
|
}>;
|
|
2098
2098
|
message: z.ZodString;
|
|
2099
2099
|
updatedAt: z.ZodString;
|
|
2100
|
-
}, z.core.$strip
|
|
2100
|
+
}, z.core.$strip>>>>;
|
|
2101
2101
|
}, z.core.$strip>, z.ZodObject<{
|
|
2102
2102
|
pointOfSale: z.ZodObject<{
|
|
2103
2103
|
id: z.ZodString;
|
|
@@ -2143,9 +2143,9 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2143
2143
|
failed: "failed";
|
|
2144
2144
|
}>;
|
|
2145
2145
|
healthStatus: z.ZodEnum<{
|
|
2146
|
+
error: "error";
|
|
2146
2147
|
success: "success";
|
|
2147
2148
|
waiting: "waiting";
|
|
2148
|
-
error: "error";
|
|
2149
2149
|
}>;
|
|
2150
2150
|
provider: z.ZodEnum<{
|
|
2151
2151
|
deliverart: "deliverart";
|
|
@@ -2153,10 +2153,10 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2153
2153
|
}>;
|
|
2154
2154
|
name: z.ZodString;
|
|
2155
2155
|
message: z.ZodNullable<z.ZodString>;
|
|
2156
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
2156
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2157
2157
|
createdAt: z.ZodString;
|
|
2158
2158
|
updatedAt: z.ZodString;
|
|
2159
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
2159
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2160
2160
|
status: z.ZodEnum<{
|
|
2161
2161
|
active: "active";
|
|
2162
2162
|
waiting_for_user: "waiting_for_user";
|
|
@@ -2166,7 +2166,7 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2166
2166
|
}>;
|
|
2167
2167
|
message: z.ZodString;
|
|
2168
2168
|
updatedAt: z.ZodString;
|
|
2169
|
-
}, z.core.$strip
|
|
2169
|
+
}, z.core.$strip>>>>;
|
|
2170
2170
|
}, z.core.$strip>, z.ZodObject<{
|
|
2171
2171
|
pointOfSale: z.ZodObject<{
|
|
2172
2172
|
id: z.ZodString;
|
|
@@ -2199,12 +2199,12 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2199
2199
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
2200
2200
|
data: z.ZodObject<{
|
|
2201
2201
|
apiKey: z.ZodString;
|
|
2202
|
-
idSalesPoint: z.
|
|
2202
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
2203
2203
|
direction: z.ZodEnum<{
|
|
2204
2204
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
2205
2205
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
2206
2206
|
}>;
|
|
2207
|
-
locale: z.ZodString
|
|
2207
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
2208
2208
|
}, z.core.$strip>;
|
|
2209
2209
|
id: z.ZodString;
|
|
2210
2210
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -2217,9 +2217,9 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2217
2217
|
failed: "failed";
|
|
2218
2218
|
}>;
|
|
2219
2219
|
healthStatus: z.ZodEnum<{
|
|
2220
|
+
error: "error";
|
|
2220
2221
|
success: "success";
|
|
2221
2222
|
waiting: "waiting";
|
|
2222
|
-
error: "error";
|
|
2223
2223
|
}>;
|
|
2224
2224
|
provider: z.ZodEnum<{
|
|
2225
2225
|
deliverart: "deliverart";
|
|
@@ -2227,10 +2227,10 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2227
2227
|
}>;
|
|
2228
2228
|
name: z.ZodString;
|
|
2229
2229
|
message: z.ZodNullable<z.ZodString>;
|
|
2230
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
2230
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2231
2231
|
createdAt: z.ZodString;
|
|
2232
2232
|
updatedAt: z.ZodString;
|
|
2233
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
2233
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2234
2234
|
status: z.ZodEnum<{
|
|
2235
2235
|
active: "active";
|
|
2236
2236
|
waiting_for_user: "waiting_for_user";
|
|
@@ -2240,7 +2240,7 @@ declare class AnnotateIntegrationActivationRequest extends AbstractApiRequest<ty
|
|
|
2240
2240
|
}>;
|
|
2241
2241
|
message: z.ZodString;
|
|
2242
2242
|
updatedAt: z.ZodString;
|
|
2243
|
-
}, z.core.$strip
|
|
2243
|
+
}, z.core.$strip>>>>;
|
|
2244
2244
|
}, z.core.$strip>]>;
|
|
2245
2245
|
readonly querySchema: undefined;
|
|
2246
2246
|
readonly headersSchema: undefined;
|
|
@@ -2290,12 +2290,12 @@ declare const createIntegrationActivationRequestInputSchema: z.ZodDiscriminatedU
|
|
|
2290
2290
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
2291
2291
|
data: z.ZodObject<{
|
|
2292
2292
|
apiKey: z.ZodString;
|
|
2293
|
-
idSalesPoint: z.
|
|
2293
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
2294
2294
|
direction: z.ZodEnum<{
|
|
2295
2295
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
2296
2296
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
2297
2297
|
}>;
|
|
2298
|
-
locale: z.ZodString
|
|
2298
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
2299
2299
|
}, z.core.$strip>;
|
|
2300
2300
|
name: z.ZodString;
|
|
2301
2301
|
provider: z.ZodEnum<{
|
|
@@ -2351,9 +2351,9 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2351
2351
|
failed: "failed";
|
|
2352
2352
|
}>;
|
|
2353
2353
|
healthStatus: z.ZodEnum<{
|
|
2354
|
+
error: "error";
|
|
2354
2355
|
success: "success";
|
|
2355
2356
|
waiting: "waiting";
|
|
2356
|
-
error: "error";
|
|
2357
2357
|
}>;
|
|
2358
2358
|
provider: z.ZodEnum<{
|
|
2359
2359
|
deliverart: "deliverart";
|
|
@@ -2361,10 +2361,10 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2361
2361
|
}>;
|
|
2362
2362
|
name: z.ZodString;
|
|
2363
2363
|
message: z.ZodNullable<z.ZodString>;
|
|
2364
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
2364
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2365
2365
|
createdAt: z.ZodString;
|
|
2366
2366
|
updatedAt: z.ZodString;
|
|
2367
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
2367
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2368
2368
|
status: z.ZodEnum<{
|
|
2369
2369
|
active: "active";
|
|
2370
2370
|
waiting_for_user: "waiting_for_user";
|
|
@@ -2374,7 +2374,7 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2374
2374
|
}>;
|
|
2375
2375
|
message: z.ZodString;
|
|
2376
2376
|
updatedAt: z.ZodString;
|
|
2377
|
-
}, z.core.$strip
|
|
2377
|
+
}, z.core.$strip>>>>;
|
|
2378
2378
|
}, z.core.$strip>, z.ZodObject<{
|
|
2379
2379
|
pointOfSale: z.ZodObject<{
|
|
2380
2380
|
id: z.ZodString;
|
|
@@ -2420,9 +2420,9 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2420
2420
|
failed: "failed";
|
|
2421
2421
|
}>;
|
|
2422
2422
|
healthStatus: z.ZodEnum<{
|
|
2423
|
+
error: "error";
|
|
2423
2424
|
success: "success";
|
|
2424
2425
|
waiting: "waiting";
|
|
2425
|
-
error: "error";
|
|
2426
2426
|
}>;
|
|
2427
2427
|
provider: z.ZodEnum<{
|
|
2428
2428
|
deliverart: "deliverart";
|
|
@@ -2430,10 +2430,10 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2430
2430
|
}>;
|
|
2431
2431
|
name: z.ZodString;
|
|
2432
2432
|
message: z.ZodNullable<z.ZodString>;
|
|
2433
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
2433
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2434
2434
|
createdAt: z.ZodString;
|
|
2435
2435
|
updatedAt: z.ZodString;
|
|
2436
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
2436
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2437
2437
|
status: z.ZodEnum<{
|
|
2438
2438
|
active: "active";
|
|
2439
2439
|
waiting_for_user: "waiting_for_user";
|
|
@@ -2443,7 +2443,7 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2443
2443
|
}>;
|
|
2444
2444
|
message: z.ZodString;
|
|
2445
2445
|
updatedAt: z.ZodString;
|
|
2446
|
-
}, z.core.$strip
|
|
2446
|
+
}, z.core.$strip>>>>;
|
|
2447
2447
|
}, z.core.$strip>, z.ZodObject<{
|
|
2448
2448
|
pointOfSale: z.ZodObject<{
|
|
2449
2449
|
id: z.ZodString;
|
|
@@ -2489,9 +2489,9 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2489
2489
|
failed: "failed";
|
|
2490
2490
|
}>;
|
|
2491
2491
|
healthStatus: z.ZodEnum<{
|
|
2492
|
+
error: "error";
|
|
2492
2493
|
success: "success";
|
|
2493
2494
|
waiting: "waiting";
|
|
2494
|
-
error: "error";
|
|
2495
2495
|
}>;
|
|
2496
2496
|
provider: z.ZodEnum<{
|
|
2497
2497
|
deliverart: "deliverart";
|
|
@@ -2499,10 +2499,10 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2499
2499
|
}>;
|
|
2500
2500
|
name: z.ZodString;
|
|
2501
2501
|
message: z.ZodNullable<z.ZodString>;
|
|
2502
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
2502
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2503
2503
|
createdAt: z.ZodString;
|
|
2504
2504
|
updatedAt: z.ZodString;
|
|
2505
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
2505
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2506
2506
|
status: z.ZodEnum<{
|
|
2507
2507
|
active: "active";
|
|
2508
2508
|
waiting_for_user: "waiting_for_user";
|
|
@@ -2512,7 +2512,7 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2512
2512
|
}>;
|
|
2513
2513
|
message: z.ZodString;
|
|
2514
2514
|
updatedAt: z.ZodString;
|
|
2515
|
-
}, z.core.$strip
|
|
2515
|
+
}, z.core.$strip>>>>;
|
|
2516
2516
|
}, z.core.$strip>, z.ZodObject<{
|
|
2517
2517
|
pointOfSale: z.ZodObject<{
|
|
2518
2518
|
id: z.ZodString;
|
|
@@ -2545,12 +2545,12 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2545
2545
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
2546
2546
|
data: z.ZodObject<{
|
|
2547
2547
|
apiKey: z.ZodString;
|
|
2548
|
-
idSalesPoint: z.
|
|
2548
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
2549
2549
|
direction: z.ZodEnum<{
|
|
2550
2550
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
2551
2551
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
2552
2552
|
}>;
|
|
2553
|
-
locale: z.ZodString
|
|
2553
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
2554
2554
|
}, z.core.$strip>;
|
|
2555
2555
|
id: z.ZodString;
|
|
2556
2556
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -2563,9 +2563,9 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2563
2563
|
failed: "failed";
|
|
2564
2564
|
}>;
|
|
2565
2565
|
healthStatus: z.ZodEnum<{
|
|
2566
|
+
error: "error";
|
|
2566
2567
|
success: "success";
|
|
2567
2568
|
waiting: "waiting";
|
|
2568
|
-
error: "error";
|
|
2569
2569
|
}>;
|
|
2570
2570
|
provider: z.ZodEnum<{
|
|
2571
2571
|
deliverart: "deliverart";
|
|
@@ -2573,10 +2573,10 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2573
2573
|
}>;
|
|
2574
2574
|
name: z.ZodString;
|
|
2575
2575
|
message: z.ZodNullable<z.ZodString>;
|
|
2576
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
2576
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2577
2577
|
createdAt: z.ZodString;
|
|
2578
2578
|
updatedAt: z.ZodString;
|
|
2579
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
2579
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2580
2580
|
status: z.ZodEnum<{
|
|
2581
2581
|
active: "active";
|
|
2582
2582
|
waiting_for_user: "waiting_for_user";
|
|
@@ -2586,7 +2586,7 @@ declare const createIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
2586
2586
|
}>;
|
|
2587
2587
|
message: z.ZodString;
|
|
2588
2588
|
updatedAt: z.ZodString;
|
|
2589
|
-
}, z.core.$strip
|
|
2589
|
+
}, z.core.$strip>>>>;
|
|
2590
2590
|
}, z.core.$strip>]>;
|
|
2591
2591
|
type CreateIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
|
|
2592
2592
|
declare class CreateIntegrationActivationRequest extends AbstractApiRequest<typeof createIntegrationActivationRequestInputSchema, typeof createIntegrationActivationRequestResponseSchema> {
|
|
@@ -2634,12 +2634,12 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2634
2634
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
2635
2635
|
data: z.ZodObject<{
|
|
2636
2636
|
apiKey: z.ZodString;
|
|
2637
|
-
idSalesPoint: z.
|
|
2637
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
2638
2638
|
direction: z.ZodEnum<{
|
|
2639
2639
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
2640
2640
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
2641
2641
|
}>;
|
|
2642
|
-
locale: z.ZodString
|
|
2642
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
2643
2643
|
}, z.core.$strip>;
|
|
2644
2644
|
name: z.ZodString;
|
|
2645
2645
|
provider: z.ZodEnum<{
|
|
@@ -2694,9 +2694,9 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2694
2694
|
failed: "failed";
|
|
2695
2695
|
}>;
|
|
2696
2696
|
healthStatus: z.ZodEnum<{
|
|
2697
|
+
error: "error";
|
|
2697
2698
|
success: "success";
|
|
2698
2699
|
waiting: "waiting";
|
|
2699
|
-
error: "error";
|
|
2700
2700
|
}>;
|
|
2701
2701
|
provider: z.ZodEnum<{
|
|
2702
2702
|
deliverart: "deliverart";
|
|
@@ -2704,10 +2704,10 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2704
2704
|
}>;
|
|
2705
2705
|
name: z.ZodString;
|
|
2706
2706
|
message: z.ZodNullable<z.ZodString>;
|
|
2707
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
2707
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2708
2708
|
createdAt: z.ZodString;
|
|
2709
2709
|
updatedAt: z.ZodString;
|
|
2710
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
2710
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2711
2711
|
status: z.ZodEnum<{
|
|
2712
2712
|
active: "active";
|
|
2713
2713
|
waiting_for_user: "waiting_for_user";
|
|
@@ -2717,7 +2717,7 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2717
2717
|
}>;
|
|
2718
2718
|
message: z.ZodString;
|
|
2719
2719
|
updatedAt: z.ZodString;
|
|
2720
|
-
}, z.core.$strip
|
|
2720
|
+
}, z.core.$strip>>>>;
|
|
2721
2721
|
}, z.core.$strip>, z.ZodObject<{
|
|
2722
2722
|
pointOfSale: z.ZodObject<{
|
|
2723
2723
|
id: z.ZodString;
|
|
@@ -2763,9 +2763,9 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2763
2763
|
failed: "failed";
|
|
2764
2764
|
}>;
|
|
2765
2765
|
healthStatus: z.ZodEnum<{
|
|
2766
|
+
error: "error";
|
|
2766
2767
|
success: "success";
|
|
2767
2768
|
waiting: "waiting";
|
|
2768
|
-
error: "error";
|
|
2769
2769
|
}>;
|
|
2770
2770
|
provider: z.ZodEnum<{
|
|
2771
2771
|
deliverart: "deliverart";
|
|
@@ -2773,10 +2773,10 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2773
2773
|
}>;
|
|
2774
2774
|
name: z.ZodString;
|
|
2775
2775
|
message: z.ZodNullable<z.ZodString>;
|
|
2776
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
2776
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2777
2777
|
createdAt: z.ZodString;
|
|
2778
2778
|
updatedAt: z.ZodString;
|
|
2779
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
2779
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2780
2780
|
status: z.ZodEnum<{
|
|
2781
2781
|
active: "active";
|
|
2782
2782
|
waiting_for_user: "waiting_for_user";
|
|
@@ -2786,7 +2786,7 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2786
2786
|
}>;
|
|
2787
2787
|
message: z.ZodString;
|
|
2788
2788
|
updatedAt: z.ZodString;
|
|
2789
|
-
}, z.core.$strip
|
|
2789
|
+
}, z.core.$strip>>>>;
|
|
2790
2790
|
}, z.core.$strip>, z.ZodObject<{
|
|
2791
2791
|
pointOfSale: z.ZodObject<{
|
|
2792
2792
|
id: z.ZodString;
|
|
@@ -2832,9 +2832,9 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2832
2832
|
failed: "failed";
|
|
2833
2833
|
}>;
|
|
2834
2834
|
healthStatus: z.ZodEnum<{
|
|
2835
|
+
error: "error";
|
|
2835
2836
|
success: "success";
|
|
2836
2837
|
waiting: "waiting";
|
|
2837
|
-
error: "error";
|
|
2838
2838
|
}>;
|
|
2839
2839
|
provider: z.ZodEnum<{
|
|
2840
2840
|
deliverart: "deliverart";
|
|
@@ -2842,10 +2842,10 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2842
2842
|
}>;
|
|
2843
2843
|
name: z.ZodString;
|
|
2844
2844
|
message: z.ZodNullable<z.ZodString>;
|
|
2845
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
2845
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2846
2846
|
createdAt: z.ZodString;
|
|
2847
2847
|
updatedAt: z.ZodString;
|
|
2848
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
2848
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2849
2849
|
status: z.ZodEnum<{
|
|
2850
2850
|
active: "active";
|
|
2851
2851
|
waiting_for_user: "waiting_for_user";
|
|
@@ -2855,7 +2855,7 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2855
2855
|
}>;
|
|
2856
2856
|
message: z.ZodString;
|
|
2857
2857
|
updatedAt: z.ZodString;
|
|
2858
|
-
}, z.core.$strip
|
|
2858
|
+
}, z.core.$strip>>>>;
|
|
2859
2859
|
}, z.core.$strip>, z.ZodObject<{
|
|
2860
2860
|
pointOfSale: z.ZodObject<{
|
|
2861
2861
|
id: z.ZodString;
|
|
@@ -2888,12 +2888,12 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2888
2888
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
2889
2889
|
data: z.ZodObject<{
|
|
2890
2890
|
apiKey: z.ZodString;
|
|
2891
|
-
idSalesPoint: z.
|
|
2891
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
2892
2892
|
direction: z.ZodEnum<{
|
|
2893
2893
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
2894
2894
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
2895
2895
|
}>;
|
|
2896
|
-
locale: z.ZodString
|
|
2896
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
2897
2897
|
}, z.core.$strip>;
|
|
2898
2898
|
id: z.ZodString;
|
|
2899
2899
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -2906,9 +2906,9 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2906
2906
|
failed: "failed";
|
|
2907
2907
|
}>;
|
|
2908
2908
|
healthStatus: z.ZodEnum<{
|
|
2909
|
+
error: "error";
|
|
2909
2910
|
success: "success";
|
|
2910
2911
|
waiting: "waiting";
|
|
2911
|
-
error: "error";
|
|
2912
2912
|
}>;
|
|
2913
2913
|
provider: z.ZodEnum<{
|
|
2914
2914
|
deliverart: "deliverart";
|
|
@@ -2916,10 +2916,10 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2916
2916
|
}>;
|
|
2917
2917
|
name: z.ZodString;
|
|
2918
2918
|
message: z.ZodNullable<z.ZodString>;
|
|
2919
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
2919
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2920
2920
|
createdAt: z.ZodString;
|
|
2921
2921
|
updatedAt: z.ZodString;
|
|
2922
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
2922
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2923
2923
|
status: z.ZodEnum<{
|
|
2924
2924
|
active: "active";
|
|
2925
2925
|
waiting_for_user: "waiting_for_user";
|
|
@@ -2929,7 +2929,7 @@ declare class CreateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
2929
2929
|
}>;
|
|
2930
2930
|
message: z.ZodString;
|
|
2931
2931
|
updatedAt: z.ZodString;
|
|
2932
|
-
}, z.core.$strip
|
|
2932
|
+
}, z.core.$strip>>>>;
|
|
2933
2933
|
}, z.core.$strip>]>;
|
|
2934
2934
|
readonly querySchema: undefined;
|
|
2935
2935
|
readonly headersSchema: undefined;
|
|
@@ -3000,9 +3000,9 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3000
3000
|
failed: "failed";
|
|
3001
3001
|
}>;
|
|
3002
3002
|
healthStatus: z.ZodEnum<{
|
|
3003
|
+
error: "error";
|
|
3003
3004
|
success: "success";
|
|
3004
3005
|
waiting: "waiting";
|
|
3005
|
-
error: "error";
|
|
3006
3006
|
}>;
|
|
3007
3007
|
provider: z.ZodEnum<{
|
|
3008
3008
|
deliverart: "deliverart";
|
|
@@ -3010,10 +3010,10 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3010
3010
|
}>;
|
|
3011
3011
|
name: z.ZodString;
|
|
3012
3012
|
message: z.ZodNullable<z.ZodString>;
|
|
3013
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
3013
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3014
3014
|
createdAt: z.ZodString;
|
|
3015
3015
|
updatedAt: z.ZodString;
|
|
3016
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3016
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3017
3017
|
status: z.ZodEnum<{
|
|
3018
3018
|
active: "active";
|
|
3019
3019
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3023,7 +3023,7 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3023
3023
|
}>;
|
|
3024
3024
|
message: z.ZodString;
|
|
3025
3025
|
updatedAt: z.ZodString;
|
|
3026
|
-
}, z.core.$strip
|
|
3026
|
+
}, z.core.$strip>>>>;
|
|
3027
3027
|
}, z.core.$strip>, z.ZodObject<{
|
|
3028
3028
|
pointOfSale: z.ZodObject<{
|
|
3029
3029
|
id: z.ZodString;
|
|
@@ -3069,9 +3069,9 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3069
3069
|
failed: "failed";
|
|
3070
3070
|
}>;
|
|
3071
3071
|
healthStatus: z.ZodEnum<{
|
|
3072
|
+
error: "error";
|
|
3072
3073
|
success: "success";
|
|
3073
3074
|
waiting: "waiting";
|
|
3074
|
-
error: "error";
|
|
3075
3075
|
}>;
|
|
3076
3076
|
provider: z.ZodEnum<{
|
|
3077
3077
|
deliverart: "deliverart";
|
|
@@ -3079,10 +3079,10 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3079
3079
|
}>;
|
|
3080
3080
|
name: z.ZodString;
|
|
3081
3081
|
message: z.ZodNullable<z.ZodString>;
|
|
3082
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
3082
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3083
3083
|
createdAt: z.ZodString;
|
|
3084
3084
|
updatedAt: z.ZodString;
|
|
3085
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3085
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3086
3086
|
status: z.ZodEnum<{
|
|
3087
3087
|
active: "active";
|
|
3088
3088
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3092,7 +3092,7 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3092
3092
|
}>;
|
|
3093
3093
|
message: z.ZodString;
|
|
3094
3094
|
updatedAt: z.ZodString;
|
|
3095
|
-
}, z.core.$strip
|
|
3095
|
+
}, z.core.$strip>>>>;
|
|
3096
3096
|
}, z.core.$strip>, z.ZodObject<{
|
|
3097
3097
|
pointOfSale: z.ZodObject<{
|
|
3098
3098
|
id: z.ZodString;
|
|
@@ -3138,9 +3138,9 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3138
3138
|
failed: "failed";
|
|
3139
3139
|
}>;
|
|
3140
3140
|
healthStatus: z.ZodEnum<{
|
|
3141
|
+
error: "error";
|
|
3141
3142
|
success: "success";
|
|
3142
3143
|
waiting: "waiting";
|
|
3143
|
-
error: "error";
|
|
3144
3144
|
}>;
|
|
3145
3145
|
provider: z.ZodEnum<{
|
|
3146
3146
|
deliverart: "deliverart";
|
|
@@ -3148,10 +3148,10 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3148
3148
|
}>;
|
|
3149
3149
|
name: z.ZodString;
|
|
3150
3150
|
message: z.ZodNullable<z.ZodString>;
|
|
3151
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
3151
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3152
3152
|
createdAt: z.ZodString;
|
|
3153
3153
|
updatedAt: z.ZodString;
|
|
3154
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3154
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3155
3155
|
status: z.ZodEnum<{
|
|
3156
3156
|
active: "active";
|
|
3157
3157
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3161,7 +3161,7 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3161
3161
|
}>;
|
|
3162
3162
|
message: z.ZodString;
|
|
3163
3163
|
updatedAt: z.ZodString;
|
|
3164
|
-
}, z.core.$strip
|
|
3164
|
+
}, z.core.$strip>>>>;
|
|
3165
3165
|
}, z.core.$strip>, z.ZodObject<{
|
|
3166
3166
|
pointOfSale: z.ZodObject<{
|
|
3167
3167
|
id: z.ZodString;
|
|
@@ -3194,12 +3194,12 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3194
3194
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
3195
3195
|
data: z.ZodObject<{
|
|
3196
3196
|
apiKey: z.ZodString;
|
|
3197
|
-
idSalesPoint: z.
|
|
3197
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
3198
3198
|
direction: z.ZodEnum<{
|
|
3199
3199
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
3200
3200
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
3201
3201
|
}>;
|
|
3202
|
-
locale: z.ZodString
|
|
3202
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
3203
3203
|
}, z.core.$strip>;
|
|
3204
3204
|
id: z.ZodString;
|
|
3205
3205
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -3212,9 +3212,9 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3212
3212
|
failed: "failed";
|
|
3213
3213
|
}>;
|
|
3214
3214
|
healthStatus: z.ZodEnum<{
|
|
3215
|
+
error: "error";
|
|
3215
3216
|
success: "success";
|
|
3216
3217
|
waiting: "waiting";
|
|
3217
|
-
error: "error";
|
|
3218
3218
|
}>;
|
|
3219
3219
|
provider: z.ZodEnum<{
|
|
3220
3220
|
deliverart: "deliverart";
|
|
@@ -3222,10 +3222,10 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3222
3222
|
}>;
|
|
3223
3223
|
name: z.ZodString;
|
|
3224
3224
|
message: z.ZodNullable<z.ZodString>;
|
|
3225
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
3225
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3226
3226
|
createdAt: z.ZodString;
|
|
3227
3227
|
updatedAt: z.ZodString;
|
|
3228
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3228
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3229
3229
|
status: z.ZodEnum<{
|
|
3230
3230
|
active: "active";
|
|
3231
3231
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3235,7 +3235,7 @@ declare const getIntegrationActivationRequestDetailsResponseSchema: z.ZodDiscrim
|
|
|
3235
3235
|
}>;
|
|
3236
3236
|
message: z.ZodString;
|
|
3237
3237
|
updatedAt: z.ZodString;
|
|
3238
|
-
}, z.core.$strip
|
|
3238
|
+
}, z.core.$strip>>>>;
|
|
3239
3239
|
}, z.core.$strip>]>;
|
|
3240
3240
|
type GetIntegrationActivationRequestDetailsResponse = IntegrationActivationRequestDetails;
|
|
3241
3241
|
declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<typeof getIntegrationActivationRequestDetailsInputSchema, typeof getIntegrationActivationRequestDetailsResponseSchema> {
|
|
@@ -3289,9 +3289,9 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3289
3289
|
failed: "failed";
|
|
3290
3290
|
}>;
|
|
3291
3291
|
healthStatus: z.ZodEnum<{
|
|
3292
|
+
error: "error";
|
|
3292
3293
|
success: "success";
|
|
3293
3294
|
waiting: "waiting";
|
|
3294
|
-
error: "error";
|
|
3295
3295
|
}>;
|
|
3296
3296
|
provider: z.ZodEnum<{
|
|
3297
3297
|
deliverart: "deliverart";
|
|
@@ -3299,10 +3299,10 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3299
3299
|
}>;
|
|
3300
3300
|
name: z.ZodString;
|
|
3301
3301
|
message: z.ZodNullable<z.ZodString>;
|
|
3302
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
3302
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3303
3303
|
createdAt: z.ZodString;
|
|
3304
3304
|
updatedAt: z.ZodString;
|
|
3305
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3305
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3306
3306
|
status: z.ZodEnum<{
|
|
3307
3307
|
active: "active";
|
|
3308
3308
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3312,7 +3312,7 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3312
3312
|
}>;
|
|
3313
3313
|
message: z.ZodString;
|
|
3314
3314
|
updatedAt: z.ZodString;
|
|
3315
|
-
}, z.core.$strip
|
|
3315
|
+
}, z.core.$strip>>>>;
|
|
3316
3316
|
}, z.core.$strip>, z.ZodObject<{
|
|
3317
3317
|
pointOfSale: z.ZodObject<{
|
|
3318
3318
|
id: z.ZodString;
|
|
@@ -3358,9 +3358,9 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3358
3358
|
failed: "failed";
|
|
3359
3359
|
}>;
|
|
3360
3360
|
healthStatus: z.ZodEnum<{
|
|
3361
|
+
error: "error";
|
|
3361
3362
|
success: "success";
|
|
3362
3363
|
waiting: "waiting";
|
|
3363
|
-
error: "error";
|
|
3364
3364
|
}>;
|
|
3365
3365
|
provider: z.ZodEnum<{
|
|
3366
3366
|
deliverart: "deliverart";
|
|
@@ -3368,10 +3368,10 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3368
3368
|
}>;
|
|
3369
3369
|
name: z.ZodString;
|
|
3370
3370
|
message: z.ZodNullable<z.ZodString>;
|
|
3371
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
3371
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3372
3372
|
createdAt: z.ZodString;
|
|
3373
3373
|
updatedAt: z.ZodString;
|
|
3374
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3374
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3375
3375
|
status: z.ZodEnum<{
|
|
3376
3376
|
active: "active";
|
|
3377
3377
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3381,7 +3381,7 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3381
3381
|
}>;
|
|
3382
3382
|
message: z.ZodString;
|
|
3383
3383
|
updatedAt: z.ZodString;
|
|
3384
|
-
}, z.core.$strip
|
|
3384
|
+
}, z.core.$strip>>>>;
|
|
3385
3385
|
}, z.core.$strip>, z.ZodObject<{
|
|
3386
3386
|
pointOfSale: z.ZodObject<{
|
|
3387
3387
|
id: z.ZodString;
|
|
@@ -3427,9 +3427,9 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3427
3427
|
failed: "failed";
|
|
3428
3428
|
}>;
|
|
3429
3429
|
healthStatus: z.ZodEnum<{
|
|
3430
|
+
error: "error";
|
|
3430
3431
|
success: "success";
|
|
3431
3432
|
waiting: "waiting";
|
|
3432
|
-
error: "error";
|
|
3433
3433
|
}>;
|
|
3434
3434
|
provider: z.ZodEnum<{
|
|
3435
3435
|
deliverart: "deliverart";
|
|
@@ -3437,10 +3437,10 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3437
3437
|
}>;
|
|
3438
3438
|
name: z.ZodString;
|
|
3439
3439
|
message: z.ZodNullable<z.ZodString>;
|
|
3440
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
3440
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3441
3441
|
createdAt: z.ZodString;
|
|
3442
3442
|
updatedAt: z.ZodString;
|
|
3443
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3443
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3444
3444
|
status: z.ZodEnum<{
|
|
3445
3445
|
active: "active";
|
|
3446
3446
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3450,7 +3450,7 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3450
3450
|
}>;
|
|
3451
3451
|
message: z.ZodString;
|
|
3452
3452
|
updatedAt: z.ZodString;
|
|
3453
|
-
}, z.core.$strip
|
|
3453
|
+
}, z.core.$strip>>>>;
|
|
3454
3454
|
}, z.core.$strip>, z.ZodObject<{
|
|
3455
3455
|
pointOfSale: z.ZodObject<{
|
|
3456
3456
|
id: z.ZodString;
|
|
@@ -3483,12 +3483,12 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3483
3483
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
3484
3484
|
data: z.ZodObject<{
|
|
3485
3485
|
apiKey: z.ZodString;
|
|
3486
|
-
idSalesPoint: z.
|
|
3486
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
3487
3487
|
direction: z.ZodEnum<{
|
|
3488
3488
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
3489
3489
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
3490
3490
|
}>;
|
|
3491
|
-
locale: z.ZodString
|
|
3491
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
3492
3492
|
}, z.core.$strip>;
|
|
3493
3493
|
id: z.ZodString;
|
|
3494
3494
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -3501,9 +3501,9 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3501
3501
|
failed: "failed";
|
|
3502
3502
|
}>;
|
|
3503
3503
|
healthStatus: z.ZodEnum<{
|
|
3504
|
+
error: "error";
|
|
3504
3505
|
success: "success";
|
|
3505
3506
|
waiting: "waiting";
|
|
3506
|
-
error: "error";
|
|
3507
3507
|
}>;
|
|
3508
3508
|
provider: z.ZodEnum<{
|
|
3509
3509
|
deliverart: "deliverart";
|
|
@@ -3511,10 +3511,10 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3511
3511
|
}>;
|
|
3512
3512
|
name: z.ZodString;
|
|
3513
3513
|
message: z.ZodNullable<z.ZodString>;
|
|
3514
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
3514
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3515
3515
|
createdAt: z.ZodString;
|
|
3516
3516
|
updatedAt: z.ZodString;
|
|
3517
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3517
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3518
3518
|
status: z.ZodEnum<{
|
|
3519
3519
|
active: "active";
|
|
3520
3520
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3524,7 +3524,7 @@ declare class GetIntegrationActivationRequestDetails extends AbstractApiRequest<
|
|
|
3524
3524
|
}>;
|
|
3525
3525
|
message: z.ZodString;
|
|
3526
3526
|
updatedAt: z.ZodString;
|
|
3527
|
-
}, z.core.$strip
|
|
3527
|
+
}, z.core.$strip>>>>;
|
|
3528
3528
|
}, z.core.$strip>]>;
|
|
3529
3529
|
readonly querySchema: undefined;
|
|
3530
3530
|
readonly headersSchema: undefined;
|
|
@@ -3582,13 +3582,13 @@ declare const getIntegrationActivationRequestsQuerySchema: z.ZodObject<{
|
|
|
3582
3582
|
failed: "failed";
|
|
3583
3583
|
}>>]>>;
|
|
3584
3584
|
healthStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3585
|
+
error: "error";
|
|
3585
3586
|
success: "success";
|
|
3586
3587
|
waiting: "waiting";
|
|
3587
|
-
error: "error";
|
|
3588
3588
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3589
|
+
error: "error";
|
|
3589
3590
|
success: "success";
|
|
3590
3591
|
waiting: "waiting";
|
|
3591
|
-
error: "error";
|
|
3592
3592
|
}>>]>>;
|
|
3593
3593
|
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3594
3594
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -3613,6 +3613,7 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3613
3613
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3614
3614
|
}, z.core.$strip>;
|
|
3615
3615
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
3616
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3616
3617
|
status: z.ZodEnum<{
|
|
3617
3618
|
active: "active";
|
|
3618
3619
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3621,9 +3622,9 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3621
3622
|
failed: "failed";
|
|
3622
3623
|
}>;
|
|
3623
3624
|
healthStatus: z.ZodEnum<{
|
|
3625
|
+
error: "error";
|
|
3624
3626
|
success: "success";
|
|
3625
3627
|
waiting: "waiting";
|
|
3626
|
-
error: "error";
|
|
3627
3628
|
}>;
|
|
3628
3629
|
provider: z.ZodEnum<{
|
|
3629
3630
|
deliverart: "deliverart";
|
|
@@ -3634,9 +3635,8 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3634
3635
|
id: z.ZodString;
|
|
3635
3636
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
3636
3637
|
name: z.ZodString;
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3638
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3639
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3640
3640
|
status: z.ZodEnum<{
|
|
3641
3641
|
active: "active";
|
|
3642
3642
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3646,7 +3646,7 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3646
3646
|
}>;
|
|
3647
3647
|
message: z.ZodString;
|
|
3648
3648
|
updatedAt: z.ZodString;
|
|
3649
|
-
}, z.core.$strip
|
|
3649
|
+
}, z.core.$strip>>>>;
|
|
3650
3650
|
}, z.core.$strip>, z.ZodObject<{
|
|
3651
3651
|
service: z.ZodLiteral<"glovo">;
|
|
3652
3652
|
data: z.ZodObject<{
|
|
@@ -3654,6 +3654,7 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3654
3654
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3655
3655
|
}, z.core.$strip>;
|
|
3656
3656
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
3657
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3657
3658
|
status: z.ZodEnum<{
|
|
3658
3659
|
active: "active";
|
|
3659
3660
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3662,9 +3663,9 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3662
3663
|
failed: "failed";
|
|
3663
3664
|
}>;
|
|
3664
3665
|
healthStatus: z.ZodEnum<{
|
|
3666
|
+
error: "error";
|
|
3665
3667
|
success: "success";
|
|
3666
3668
|
waiting: "waiting";
|
|
3667
|
-
error: "error";
|
|
3668
3669
|
}>;
|
|
3669
3670
|
provider: z.ZodEnum<{
|
|
3670
3671
|
deliverart: "deliverart";
|
|
@@ -3675,9 +3676,8 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3675
3676
|
id: z.ZodString;
|
|
3676
3677
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
3677
3678
|
name: z.ZodString;
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3679
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3680
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3681
3681
|
status: z.ZodEnum<{
|
|
3682
3682
|
active: "active";
|
|
3683
3683
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3687,7 +3687,7 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3687
3687
|
}>;
|
|
3688
3688
|
message: z.ZodString;
|
|
3689
3689
|
updatedAt: z.ZodString;
|
|
3690
|
-
}, z.core.$strip
|
|
3690
|
+
}, z.core.$strip>>>>;
|
|
3691
3691
|
}, z.core.$strip>, z.ZodObject<{
|
|
3692
3692
|
service: z.ZodLiteral<"justeat">;
|
|
3693
3693
|
data: z.ZodObject<{
|
|
@@ -3695,6 +3695,7 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3695
3695
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3696
3696
|
}, z.core.$strip>;
|
|
3697
3697
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
3698
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3698
3699
|
status: z.ZodEnum<{
|
|
3699
3700
|
active: "active";
|
|
3700
3701
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3703,9 +3704,9 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3703
3704
|
failed: "failed";
|
|
3704
3705
|
}>;
|
|
3705
3706
|
healthStatus: z.ZodEnum<{
|
|
3707
|
+
error: "error";
|
|
3706
3708
|
success: "success";
|
|
3707
3709
|
waiting: "waiting";
|
|
3708
|
-
error: "error";
|
|
3709
3710
|
}>;
|
|
3710
3711
|
provider: z.ZodEnum<{
|
|
3711
3712
|
deliverart: "deliverart";
|
|
@@ -3716,9 +3717,8 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3716
3717
|
id: z.ZodString;
|
|
3717
3718
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
3718
3719
|
name: z.ZodString;
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3720
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3721
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3722
3722
|
status: z.ZodEnum<{
|
|
3723
3723
|
active: "active";
|
|
3724
3724
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3728,19 +3728,20 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3728
3728
|
}>;
|
|
3729
3729
|
message: z.ZodString;
|
|
3730
3730
|
updatedAt: z.ZodString;
|
|
3731
|
-
}, z.core.$strip
|
|
3731
|
+
}, z.core.$strip>>>>;
|
|
3732
3732
|
}, z.core.$strip>, z.ZodObject<{
|
|
3733
3733
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
3734
3734
|
data: z.ZodObject<{
|
|
3735
3735
|
apiKey: z.ZodString;
|
|
3736
|
-
idSalesPoint: z.
|
|
3736
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
3737
3737
|
direction: z.ZodEnum<{
|
|
3738
3738
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
3739
3739
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
3740
3740
|
}>;
|
|
3741
|
-
locale: z.ZodString
|
|
3741
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
3742
3742
|
}, z.core.$strip>;
|
|
3743
3743
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
3744
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3744
3745
|
status: z.ZodEnum<{
|
|
3745
3746
|
active: "active";
|
|
3746
3747
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3749,9 +3750,9 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3749
3750
|
failed: "failed";
|
|
3750
3751
|
}>;
|
|
3751
3752
|
healthStatus: z.ZodEnum<{
|
|
3753
|
+
error: "error";
|
|
3752
3754
|
success: "success";
|
|
3753
3755
|
waiting: "waiting";
|
|
3754
|
-
error: "error";
|
|
3755
3756
|
}>;
|
|
3756
3757
|
provider: z.ZodEnum<{
|
|
3757
3758
|
deliverart: "deliverart";
|
|
@@ -3762,9 +3763,8 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3762
3763
|
id: z.ZodString;
|
|
3763
3764
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
3764
3765
|
name: z.ZodString;
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3766
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3767
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3768
3768
|
status: z.ZodEnum<{
|
|
3769
3769
|
active: "active";
|
|
3770
3770
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3774,7 +3774,7 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
3774
3774
|
}>;
|
|
3775
3775
|
message: z.ZodString;
|
|
3776
3776
|
updatedAt: z.ZodString;
|
|
3777
|
-
}, z.core.$strip
|
|
3777
|
+
}, z.core.$strip>>>>;
|
|
3778
3778
|
}, z.core.$strip>]>>;
|
|
3779
3779
|
pagination: z.ZodObject<{
|
|
3780
3780
|
from: z.ZodNumber;
|
|
@@ -3800,6 +3800,7 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3800
3800
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3801
3801
|
}, z.core.$strip>;
|
|
3802
3802
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
3803
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3803
3804
|
status: z.ZodEnum<{
|
|
3804
3805
|
active: "active";
|
|
3805
3806
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3808,9 +3809,9 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3808
3809
|
failed: "failed";
|
|
3809
3810
|
}>;
|
|
3810
3811
|
healthStatus: z.ZodEnum<{
|
|
3812
|
+
error: "error";
|
|
3811
3813
|
success: "success";
|
|
3812
3814
|
waiting: "waiting";
|
|
3813
|
-
error: "error";
|
|
3814
3815
|
}>;
|
|
3815
3816
|
provider: z.ZodEnum<{
|
|
3816
3817
|
deliverart: "deliverart";
|
|
@@ -3821,9 +3822,8 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3821
3822
|
id: z.ZodString;
|
|
3822
3823
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
3823
3824
|
name: z.ZodString;
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3825
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3826
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3827
3827
|
status: z.ZodEnum<{
|
|
3828
3828
|
active: "active";
|
|
3829
3829
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3833,7 +3833,7 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3833
3833
|
}>;
|
|
3834
3834
|
message: z.ZodString;
|
|
3835
3835
|
updatedAt: z.ZodString;
|
|
3836
|
-
}, z.core.$strip
|
|
3836
|
+
}, z.core.$strip>>>>;
|
|
3837
3837
|
}, z.core.$strip>, z.ZodObject<{
|
|
3838
3838
|
service: z.ZodLiteral<"glovo">;
|
|
3839
3839
|
data: z.ZodObject<{
|
|
@@ -3841,6 +3841,7 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3841
3841
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3842
3842
|
}, z.core.$strip>;
|
|
3843
3843
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
3844
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3844
3845
|
status: z.ZodEnum<{
|
|
3845
3846
|
active: "active";
|
|
3846
3847
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3849,9 +3850,9 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3849
3850
|
failed: "failed";
|
|
3850
3851
|
}>;
|
|
3851
3852
|
healthStatus: z.ZodEnum<{
|
|
3853
|
+
error: "error";
|
|
3852
3854
|
success: "success";
|
|
3853
3855
|
waiting: "waiting";
|
|
3854
|
-
error: "error";
|
|
3855
3856
|
}>;
|
|
3856
3857
|
provider: z.ZodEnum<{
|
|
3857
3858
|
deliverart: "deliverart";
|
|
@@ -3862,9 +3863,8 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3862
3863
|
id: z.ZodString;
|
|
3863
3864
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
3864
3865
|
name: z.ZodString;
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3866
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3867
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3868
3868
|
status: z.ZodEnum<{
|
|
3869
3869
|
active: "active";
|
|
3870
3870
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3874,7 +3874,7 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3874
3874
|
}>;
|
|
3875
3875
|
message: z.ZodString;
|
|
3876
3876
|
updatedAt: z.ZodString;
|
|
3877
|
-
}, z.core.$strip
|
|
3877
|
+
}, z.core.$strip>>>>;
|
|
3878
3878
|
}, z.core.$strip>, z.ZodObject<{
|
|
3879
3879
|
service: z.ZodLiteral<"justeat">;
|
|
3880
3880
|
data: z.ZodObject<{
|
|
@@ -3882,6 +3882,7 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3882
3882
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3883
3883
|
}, z.core.$strip>;
|
|
3884
3884
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
3885
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3885
3886
|
status: z.ZodEnum<{
|
|
3886
3887
|
active: "active";
|
|
3887
3888
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3890,9 +3891,9 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3890
3891
|
failed: "failed";
|
|
3891
3892
|
}>;
|
|
3892
3893
|
healthStatus: z.ZodEnum<{
|
|
3894
|
+
error: "error";
|
|
3893
3895
|
success: "success";
|
|
3894
3896
|
waiting: "waiting";
|
|
3895
|
-
error: "error";
|
|
3896
3897
|
}>;
|
|
3897
3898
|
provider: z.ZodEnum<{
|
|
3898
3899
|
deliverart: "deliverart";
|
|
@@ -3903,9 +3904,8 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3903
3904
|
id: z.ZodString;
|
|
3904
3905
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
3905
3906
|
name: z.ZodString;
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3907
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3908
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3909
3909
|
status: z.ZodEnum<{
|
|
3910
3910
|
active: "active";
|
|
3911
3911
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3915,19 +3915,20 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3915
3915
|
}>;
|
|
3916
3916
|
message: z.ZodString;
|
|
3917
3917
|
updatedAt: z.ZodString;
|
|
3918
|
-
}, z.core.$strip
|
|
3918
|
+
}, z.core.$strip>>>>;
|
|
3919
3919
|
}, z.core.$strip>, z.ZodObject<{
|
|
3920
3920
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
3921
3921
|
data: z.ZodObject<{
|
|
3922
3922
|
apiKey: z.ZodString;
|
|
3923
|
-
idSalesPoint: z.
|
|
3923
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
3924
3924
|
direction: z.ZodEnum<{
|
|
3925
3925
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
3926
3926
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
3927
3927
|
}>;
|
|
3928
|
-
locale: z.ZodString
|
|
3928
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
3929
3929
|
}, z.core.$strip>;
|
|
3930
3930
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
3931
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3931
3932
|
status: z.ZodEnum<{
|
|
3932
3933
|
active: "active";
|
|
3933
3934
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3936,9 +3937,9 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3936
3937
|
failed: "failed";
|
|
3937
3938
|
}>;
|
|
3938
3939
|
healthStatus: z.ZodEnum<{
|
|
3940
|
+
error: "error";
|
|
3939
3941
|
success: "success";
|
|
3940
3942
|
waiting: "waiting";
|
|
3941
|
-
error: "error";
|
|
3942
3943
|
}>;
|
|
3943
3944
|
provider: z.ZodEnum<{
|
|
3944
3945
|
deliverart: "deliverart";
|
|
@@ -3949,9 +3950,8 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3949
3950
|
id: z.ZodString;
|
|
3950
3951
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
3951
3952
|
name: z.ZodString;
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
3953
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3954
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3955
3955
|
status: z.ZodEnum<{
|
|
3956
3956
|
active: "active";
|
|
3957
3957
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3961,7 +3961,7 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3961
3961
|
}>;
|
|
3962
3962
|
message: z.ZodString;
|
|
3963
3963
|
updatedAt: z.ZodString;
|
|
3964
|
-
}, z.core.$strip
|
|
3964
|
+
}, z.core.$strip>>>>;
|
|
3965
3965
|
}, z.core.$strip>]>>;
|
|
3966
3966
|
pagination: z.ZodObject<{
|
|
3967
3967
|
from: z.ZodNumber;
|
|
@@ -4021,13 +4021,13 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
4021
4021
|
failed: "failed";
|
|
4022
4022
|
}>>]>>;
|
|
4023
4023
|
healthStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4024
|
+
error: "error";
|
|
4024
4025
|
success: "success";
|
|
4025
4026
|
waiting: "waiting";
|
|
4026
|
-
error: "error";
|
|
4027
4027
|
}>, z.ZodArray<z.ZodEnum<{
|
|
4028
|
+
error: "error";
|
|
4028
4029
|
success: "success";
|
|
4029
4030
|
waiting: "waiting";
|
|
4030
|
-
error: "error";
|
|
4031
4031
|
}>>]>>;
|
|
4032
4032
|
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4033
4033
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -4097,13 +4097,13 @@ declare const getIntegrationActivationRequestsFromPointOfSaleQuerySchema: z.ZodO
|
|
|
4097
4097
|
failed: "failed";
|
|
4098
4098
|
}>>]>>;
|
|
4099
4099
|
healthStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4100
|
+
error: "error";
|
|
4100
4101
|
success: "success";
|
|
4101
4102
|
waiting: "waiting";
|
|
4102
|
-
error: "error";
|
|
4103
4103
|
}>, z.ZodArray<z.ZodEnum<{
|
|
4104
|
+
error: "error";
|
|
4104
4105
|
success: "success";
|
|
4105
4106
|
waiting: "waiting";
|
|
4106
|
-
error: "error";
|
|
4107
4107
|
}>>]>>;
|
|
4108
4108
|
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4109
4109
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -4127,6 +4127,7 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4127
4127
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
4128
4128
|
}, z.core.$strip>;
|
|
4129
4129
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
4130
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4130
4131
|
status: z.ZodEnum<{
|
|
4131
4132
|
active: "active";
|
|
4132
4133
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4135,9 +4136,9 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4135
4136
|
failed: "failed";
|
|
4136
4137
|
}>;
|
|
4137
4138
|
healthStatus: z.ZodEnum<{
|
|
4139
|
+
error: "error";
|
|
4138
4140
|
success: "success";
|
|
4139
4141
|
waiting: "waiting";
|
|
4140
|
-
error: "error";
|
|
4141
4142
|
}>;
|
|
4142
4143
|
provider: z.ZodEnum<{
|
|
4143
4144
|
deliverart: "deliverart";
|
|
@@ -4148,9 +4149,8 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4148
4149
|
id: z.ZodString;
|
|
4149
4150
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
4150
4151
|
name: z.ZodString;
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4152
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4153
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4154
4154
|
status: z.ZodEnum<{
|
|
4155
4155
|
active: "active";
|
|
4156
4156
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4160,7 +4160,7 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4160
4160
|
}>;
|
|
4161
4161
|
message: z.ZodString;
|
|
4162
4162
|
updatedAt: z.ZodString;
|
|
4163
|
-
}, z.core.$strip
|
|
4163
|
+
}, z.core.$strip>>>>;
|
|
4164
4164
|
}, z.core.$strip>, z.ZodObject<{
|
|
4165
4165
|
service: z.ZodLiteral<"glovo">;
|
|
4166
4166
|
data: z.ZodObject<{
|
|
@@ -4168,6 +4168,7 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4168
4168
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
4169
4169
|
}, z.core.$strip>;
|
|
4170
4170
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
4171
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4171
4172
|
status: z.ZodEnum<{
|
|
4172
4173
|
active: "active";
|
|
4173
4174
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4176,9 +4177,9 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4176
4177
|
failed: "failed";
|
|
4177
4178
|
}>;
|
|
4178
4179
|
healthStatus: z.ZodEnum<{
|
|
4180
|
+
error: "error";
|
|
4179
4181
|
success: "success";
|
|
4180
4182
|
waiting: "waiting";
|
|
4181
|
-
error: "error";
|
|
4182
4183
|
}>;
|
|
4183
4184
|
provider: z.ZodEnum<{
|
|
4184
4185
|
deliverart: "deliverart";
|
|
@@ -4189,9 +4190,8 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4189
4190
|
id: z.ZodString;
|
|
4190
4191
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
4191
4192
|
name: z.ZodString;
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4193
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4194
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4195
4195
|
status: z.ZodEnum<{
|
|
4196
4196
|
active: "active";
|
|
4197
4197
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4201,7 +4201,7 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4201
4201
|
}>;
|
|
4202
4202
|
message: z.ZodString;
|
|
4203
4203
|
updatedAt: z.ZodString;
|
|
4204
|
-
}, z.core.$strip
|
|
4204
|
+
}, z.core.$strip>>>>;
|
|
4205
4205
|
}, z.core.$strip>, z.ZodObject<{
|
|
4206
4206
|
service: z.ZodLiteral<"justeat">;
|
|
4207
4207
|
data: z.ZodObject<{
|
|
@@ -4209,6 +4209,7 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4209
4209
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
4210
4210
|
}, z.core.$strip>;
|
|
4211
4211
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
4212
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4212
4213
|
status: z.ZodEnum<{
|
|
4213
4214
|
active: "active";
|
|
4214
4215
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4217,9 +4218,9 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4217
4218
|
failed: "failed";
|
|
4218
4219
|
}>;
|
|
4219
4220
|
healthStatus: z.ZodEnum<{
|
|
4221
|
+
error: "error";
|
|
4220
4222
|
success: "success";
|
|
4221
4223
|
waiting: "waiting";
|
|
4222
|
-
error: "error";
|
|
4223
4224
|
}>;
|
|
4224
4225
|
provider: z.ZodEnum<{
|
|
4225
4226
|
deliverart: "deliverart";
|
|
@@ -4230,9 +4231,8 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4230
4231
|
id: z.ZodString;
|
|
4231
4232
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
4232
4233
|
name: z.ZodString;
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4234
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4235
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4236
4236
|
status: z.ZodEnum<{
|
|
4237
4237
|
active: "active";
|
|
4238
4238
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4242,19 +4242,20 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4242
4242
|
}>;
|
|
4243
4243
|
message: z.ZodString;
|
|
4244
4244
|
updatedAt: z.ZodString;
|
|
4245
|
-
}, z.core.$strip
|
|
4245
|
+
}, z.core.$strip>>>>;
|
|
4246
4246
|
}, z.core.$strip>, z.ZodObject<{
|
|
4247
4247
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
4248
4248
|
data: z.ZodObject<{
|
|
4249
4249
|
apiKey: z.ZodString;
|
|
4250
|
-
idSalesPoint: z.
|
|
4250
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
4251
4251
|
direction: z.ZodEnum<{
|
|
4252
4252
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
4253
4253
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
4254
4254
|
}>;
|
|
4255
|
-
locale: z.ZodString
|
|
4255
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4256
4256
|
}, z.core.$strip>;
|
|
4257
4257
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
4258
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4258
4259
|
status: z.ZodEnum<{
|
|
4259
4260
|
active: "active";
|
|
4260
4261
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4263,9 +4264,9 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4263
4264
|
failed: "failed";
|
|
4264
4265
|
}>;
|
|
4265
4266
|
healthStatus: z.ZodEnum<{
|
|
4267
|
+
error: "error";
|
|
4266
4268
|
success: "success";
|
|
4267
4269
|
waiting: "waiting";
|
|
4268
|
-
error: "error";
|
|
4269
4270
|
}>;
|
|
4270
4271
|
provider: z.ZodEnum<{
|
|
4271
4272
|
deliverart: "deliverart";
|
|
@@ -4276,9 +4277,8 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4276
4277
|
id: z.ZodString;
|
|
4277
4278
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
4278
4279
|
name: z.ZodString;
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4280
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4281
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4282
4282
|
status: z.ZodEnum<{
|
|
4283
4283
|
active: "active";
|
|
4284
4284
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4288,7 +4288,7 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
4288
4288
|
}>;
|
|
4289
4289
|
message: z.ZodString;
|
|
4290
4290
|
updatedAt: z.ZodString;
|
|
4291
|
-
}, z.core.$strip
|
|
4291
|
+
}, z.core.$strip>>>>;
|
|
4292
4292
|
}, z.core.$strip>]>>;
|
|
4293
4293
|
type GetIntegrationActivationRequestsFromPointOfSaleResponse = z.infer<typeof getIntegrationActivationRequestsFromPointOfSaleResponseSchema>;
|
|
4294
4294
|
declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractApiRequest<typeof getIntegrationActivationRequestsFromPointOfSaleInputSchema, typeof getIntegrationActivationRequestsFromPointOfSaleResponseSchema, GetIntegrationActivationRequestsFromPointOfSaleQueryParams> {
|
|
@@ -4304,6 +4304,7 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4304
4304
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
4305
4305
|
}, z.core.$strip>;
|
|
4306
4306
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
4307
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4307
4308
|
status: z.ZodEnum<{
|
|
4308
4309
|
active: "active";
|
|
4309
4310
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4312,9 +4313,9 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4312
4313
|
failed: "failed";
|
|
4313
4314
|
}>;
|
|
4314
4315
|
healthStatus: z.ZodEnum<{
|
|
4316
|
+
error: "error";
|
|
4315
4317
|
success: "success";
|
|
4316
4318
|
waiting: "waiting";
|
|
4317
|
-
error: "error";
|
|
4318
4319
|
}>;
|
|
4319
4320
|
provider: z.ZodEnum<{
|
|
4320
4321
|
deliverart: "deliverart";
|
|
@@ -4325,9 +4326,8 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4325
4326
|
id: z.ZodString;
|
|
4326
4327
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
4327
4328
|
name: z.ZodString;
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4329
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4330
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4331
4331
|
status: z.ZodEnum<{
|
|
4332
4332
|
active: "active";
|
|
4333
4333
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4337,7 +4337,7 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4337
4337
|
}>;
|
|
4338
4338
|
message: z.ZodString;
|
|
4339
4339
|
updatedAt: z.ZodString;
|
|
4340
|
-
}, z.core.$strip
|
|
4340
|
+
}, z.core.$strip>>>>;
|
|
4341
4341
|
}, z.core.$strip>, z.ZodObject<{
|
|
4342
4342
|
service: z.ZodLiteral<"glovo">;
|
|
4343
4343
|
data: z.ZodObject<{
|
|
@@ -4345,6 +4345,7 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4345
4345
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
4346
4346
|
}, z.core.$strip>;
|
|
4347
4347
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
4348
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4348
4349
|
status: z.ZodEnum<{
|
|
4349
4350
|
active: "active";
|
|
4350
4351
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4353,9 +4354,9 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4353
4354
|
failed: "failed";
|
|
4354
4355
|
}>;
|
|
4355
4356
|
healthStatus: z.ZodEnum<{
|
|
4357
|
+
error: "error";
|
|
4356
4358
|
success: "success";
|
|
4357
4359
|
waiting: "waiting";
|
|
4358
|
-
error: "error";
|
|
4359
4360
|
}>;
|
|
4360
4361
|
provider: z.ZodEnum<{
|
|
4361
4362
|
deliverart: "deliverart";
|
|
@@ -4366,9 +4367,8 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4366
4367
|
id: z.ZodString;
|
|
4367
4368
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
4368
4369
|
name: z.ZodString;
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4370
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4371
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4372
4372
|
status: z.ZodEnum<{
|
|
4373
4373
|
active: "active";
|
|
4374
4374
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4378,7 +4378,7 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4378
4378
|
}>;
|
|
4379
4379
|
message: z.ZodString;
|
|
4380
4380
|
updatedAt: z.ZodString;
|
|
4381
|
-
}, z.core.$strip
|
|
4381
|
+
}, z.core.$strip>>>>;
|
|
4382
4382
|
}, z.core.$strip>, z.ZodObject<{
|
|
4383
4383
|
service: z.ZodLiteral<"justeat">;
|
|
4384
4384
|
data: z.ZodObject<{
|
|
@@ -4386,6 +4386,7 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4386
4386
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
4387
4387
|
}, z.core.$strip>;
|
|
4388
4388
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
4389
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4389
4390
|
status: z.ZodEnum<{
|
|
4390
4391
|
active: "active";
|
|
4391
4392
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4394,9 +4395,9 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4394
4395
|
failed: "failed";
|
|
4395
4396
|
}>;
|
|
4396
4397
|
healthStatus: z.ZodEnum<{
|
|
4398
|
+
error: "error";
|
|
4397
4399
|
success: "success";
|
|
4398
4400
|
waiting: "waiting";
|
|
4399
|
-
error: "error";
|
|
4400
4401
|
}>;
|
|
4401
4402
|
provider: z.ZodEnum<{
|
|
4402
4403
|
deliverart: "deliverart";
|
|
@@ -4407,9 +4408,8 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4407
4408
|
id: z.ZodString;
|
|
4408
4409
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
4409
4410
|
name: z.ZodString;
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4411
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4412
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4413
4413
|
status: z.ZodEnum<{
|
|
4414
4414
|
active: "active";
|
|
4415
4415
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4419,19 +4419,20 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4419
4419
|
}>;
|
|
4420
4420
|
message: z.ZodString;
|
|
4421
4421
|
updatedAt: z.ZodString;
|
|
4422
|
-
}, z.core.$strip
|
|
4422
|
+
}, z.core.$strip>>>>;
|
|
4423
4423
|
}, z.core.$strip>, z.ZodObject<{
|
|
4424
4424
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
4425
4425
|
data: z.ZodObject<{
|
|
4426
4426
|
apiKey: z.ZodString;
|
|
4427
|
-
idSalesPoint: z.
|
|
4427
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
4428
4428
|
direction: z.ZodEnum<{
|
|
4429
4429
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
4430
4430
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
4431
4431
|
}>;
|
|
4432
|
-
locale: z.ZodString
|
|
4432
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4433
4433
|
}, z.core.$strip>;
|
|
4434
4434
|
integration: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id"> | null, unknown>>>;
|
|
4435
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4435
4436
|
status: z.ZodEnum<{
|
|
4436
4437
|
active: "active";
|
|
4437
4438
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4440,9 +4441,9 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4440
4441
|
failed: "failed";
|
|
4441
4442
|
}>;
|
|
4442
4443
|
healthStatus: z.ZodEnum<{
|
|
4444
|
+
error: "error";
|
|
4443
4445
|
success: "success";
|
|
4444
4446
|
waiting: "waiting";
|
|
4445
|
-
error: "error";
|
|
4446
4447
|
}>;
|
|
4447
4448
|
provider: z.ZodEnum<{
|
|
4448
4449
|
deliverart: "deliverart";
|
|
@@ -4453,9 +4454,8 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4453
4454
|
id: z.ZodString;
|
|
4454
4455
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
4455
4456
|
name: z.ZodString;
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4457
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4458
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4459
4459
|
status: z.ZodEnum<{
|
|
4460
4460
|
active: "active";
|
|
4461
4461
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4465,7 +4465,7 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4465
4465
|
}>;
|
|
4466
4466
|
message: z.ZodString;
|
|
4467
4467
|
updatedAt: z.ZodString;
|
|
4468
|
-
}, z.core.$strip
|
|
4468
|
+
}, z.core.$strip>>>>;
|
|
4469
4469
|
}, z.core.$strip>]>>;
|
|
4470
4470
|
readonly querySchema: z.ZodObject<{
|
|
4471
4471
|
'order[service]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -4516,13 +4516,13 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
4516
4516
|
failed: "failed";
|
|
4517
4517
|
}>>]>>;
|
|
4518
4518
|
healthStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4519
|
+
error: "error";
|
|
4519
4520
|
success: "success";
|
|
4520
4521
|
waiting: "waiting";
|
|
4521
|
-
error: "error";
|
|
4522
4522
|
}>, z.ZodArray<z.ZodEnum<{
|
|
4523
|
+
error: "error";
|
|
4523
4524
|
success: "success";
|
|
4524
4525
|
waiting: "waiting";
|
|
4525
|
-
error: "error";
|
|
4526
4526
|
}>>]>>;
|
|
4527
4527
|
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4528
4528
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -4558,12 +4558,12 @@ declare const respondIntegrationActivationRequestInputSchema: z.ZodObject<{
|
|
|
4558
4558
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
4559
4559
|
}, z.core.$strip>, z.ZodObject<{
|
|
4560
4560
|
apiKey: z.ZodString;
|
|
4561
|
-
idSalesPoint: z.
|
|
4561
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
4562
4562
|
direction: z.ZodEnum<{
|
|
4563
4563
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
4564
4564
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
4565
4565
|
}>;
|
|
4566
|
-
locale: z.ZodString
|
|
4566
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4567
4567
|
}, z.core.$strip>]>;
|
|
4568
4568
|
}, z.core.$strip>;
|
|
4569
4569
|
type RespondIntegrationActivationRequestInput = z.input<typeof respondIntegrationActivationRequestInputSchema>;
|
|
@@ -4613,9 +4613,9 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4613
4613
|
failed: "failed";
|
|
4614
4614
|
}>;
|
|
4615
4615
|
healthStatus: z.ZodEnum<{
|
|
4616
|
+
error: "error";
|
|
4616
4617
|
success: "success";
|
|
4617
4618
|
waiting: "waiting";
|
|
4618
|
-
error: "error";
|
|
4619
4619
|
}>;
|
|
4620
4620
|
provider: z.ZodEnum<{
|
|
4621
4621
|
deliverart: "deliverart";
|
|
@@ -4623,10 +4623,10 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4623
4623
|
}>;
|
|
4624
4624
|
name: z.ZodString;
|
|
4625
4625
|
message: z.ZodNullable<z.ZodString>;
|
|
4626
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
4626
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4627
4627
|
createdAt: z.ZodString;
|
|
4628
4628
|
updatedAt: z.ZodString;
|
|
4629
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4629
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4630
4630
|
status: z.ZodEnum<{
|
|
4631
4631
|
active: "active";
|
|
4632
4632
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4636,7 +4636,7 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4636
4636
|
}>;
|
|
4637
4637
|
message: z.ZodString;
|
|
4638
4638
|
updatedAt: z.ZodString;
|
|
4639
|
-
}, z.core.$strip
|
|
4639
|
+
}, z.core.$strip>>>>;
|
|
4640
4640
|
}, z.core.$strip>, z.ZodObject<{
|
|
4641
4641
|
pointOfSale: z.ZodObject<{
|
|
4642
4642
|
id: z.ZodString;
|
|
@@ -4682,9 +4682,9 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4682
4682
|
failed: "failed";
|
|
4683
4683
|
}>;
|
|
4684
4684
|
healthStatus: z.ZodEnum<{
|
|
4685
|
+
error: "error";
|
|
4685
4686
|
success: "success";
|
|
4686
4687
|
waiting: "waiting";
|
|
4687
|
-
error: "error";
|
|
4688
4688
|
}>;
|
|
4689
4689
|
provider: z.ZodEnum<{
|
|
4690
4690
|
deliverart: "deliverart";
|
|
@@ -4692,10 +4692,10 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4692
4692
|
}>;
|
|
4693
4693
|
name: z.ZodString;
|
|
4694
4694
|
message: z.ZodNullable<z.ZodString>;
|
|
4695
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
4695
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4696
4696
|
createdAt: z.ZodString;
|
|
4697
4697
|
updatedAt: z.ZodString;
|
|
4698
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4698
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4699
4699
|
status: z.ZodEnum<{
|
|
4700
4700
|
active: "active";
|
|
4701
4701
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4705,7 +4705,7 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4705
4705
|
}>;
|
|
4706
4706
|
message: z.ZodString;
|
|
4707
4707
|
updatedAt: z.ZodString;
|
|
4708
|
-
}, z.core.$strip
|
|
4708
|
+
}, z.core.$strip>>>>;
|
|
4709
4709
|
}, z.core.$strip>, z.ZodObject<{
|
|
4710
4710
|
pointOfSale: z.ZodObject<{
|
|
4711
4711
|
id: z.ZodString;
|
|
@@ -4751,9 +4751,9 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4751
4751
|
failed: "failed";
|
|
4752
4752
|
}>;
|
|
4753
4753
|
healthStatus: z.ZodEnum<{
|
|
4754
|
+
error: "error";
|
|
4754
4755
|
success: "success";
|
|
4755
4756
|
waiting: "waiting";
|
|
4756
|
-
error: "error";
|
|
4757
4757
|
}>;
|
|
4758
4758
|
provider: z.ZodEnum<{
|
|
4759
4759
|
deliverart: "deliverart";
|
|
@@ -4761,10 +4761,10 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4761
4761
|
}>;
|
|
4762
4762
|
name: z.ZodString;
|
|
4763
4763
|
message: z.ZodNullable<z.ZodString>;
|
|
4764
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
4764
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4765
4765
|
createdAt: z.ZodString;
|
|
4766
4766
|
updatedAt: z.ZodString;
|
|
4767
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4767
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4768
4768
|
status: z.ZodEnum<{
|
|
4769
4769
|
active: "active";
|
|
4770
4770
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4774,7 +4774,7 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4774
4774
|
}>;
|
|
4775
4775
|
message: z.ZodString;
|
|
4776
4776
|
updatedAt: z.ZodString;
|
|
4777
|
-
}, z.core.$strip
|
|
4777
|
+
}, z.core.$strip>>>>;
|
|
4778
4778
|
}, z.core.$strip>, z.ZodObject<{
|
|
4779
4779
|
pointOfSale: z.ZodObject<{
|
|
4780
4780
|
id: z.ZodString;
|
|
@@ -4807,12 +4807,12 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4807
4807
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
4808
4808
|
data: z.ZodObject<{
|
|
4809
4809
|
apiKey: z.ZodString;
|
|
4810
|
-
idSalesPoint: z.
|
|
4810
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
4811
4811
|
direction: z.ZodEnum<{
|
|
4812
4812
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
4813
4813
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
4814
4814
|
}>;
|
|
4815
|
-
locale: z.ZodString
|
|
4815
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4816
4816
|
}, z.core.$strip>;
|
|
4817
4817
|
id: z.ZodString;
|
|
4818
4818
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -4825,9 +4825,9 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4825
4825
|
failed: "failed";
|
|
4826
4826
|
}>;
|
|
4827
4827
|
healthStatus: z.ZodEnum<{
|
|
4828
|
+
error: "error";
|
|
4828
4829
|
success: "success";
|
|
4829
4830
|
waiting: "waiting";
|
|
4830
|
-
error: "error";
|
|
4831
4831
|
}>;
|
|
4832
4832
|
provider: z.ZodEnum<{
|
|
4833
4833
|
deliverart: "deliverart";
|
|
@@ -4835,10 +4835,10 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4835
4835
|
}>;
|
|
4836
4836
|
name: z.ZodString;
|
|
4837
4837
|
message: z.ZodNullable<z.ZodString>;
|
|
4838
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
4838
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4839
4839
|
createdAt: z.ZodString;
|
|
4840
4840
|
updatedAt: z.ZodString;
|
|
4841
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4841
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4842
4842
|
status: z.ZodEnum<{
|
|
4843
4843
|
active: "active";
|
|
4844
4844
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4848,7 +4848,7 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
4848
4848
|
}>;
|
|
4849
4849
|
message: z.ZodString;
|
|
4850
4850
|
updatedAt: z.ZodString;
|
|
4851
|
-
}, z.core.$strip
|
|
4851
|
+
}, z.core.$strip>>>>;
|
|
4852
4852
|
}, z.core.$strip>]>;
|
|
4853
4853
|
type RespondIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
|
|
4854
4854
|
declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typeof respondIntegrationActivationRequestInputSchema, typeof respondIntegrationActivationRequestResponseSchema> {
|
|
@@ -4869,12 +4869,12 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
4869
4869
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
4870
4870
|
}, z.core.$strip>, z.ZodObject<{
|
|
4871
4871
|
apiKey: z.ZodString;
|
|
4872
|
-
idSalesPoint: z.
|
|
4872
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
4873
4873
|
direction: z.ZodEnum<{
|
|
4874
4874
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
4875
4875
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
4876
4876
|
}>;
|
|
4877
|
-
locale: z.ZodString
|
|
4877
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4878
4878
|
}, z.core.$strip>]>;
|
|
4879
4879
|
}, z.core.$strip>;
|
|
4880
4880
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4923,9 +4923,9 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
4923
4923
|
failed: "failed";
|
|
4924
4924
|
}>;
|
|
4925
4925
|
healthStatus: z.ZodEnum<{
|
|
4926
|
+
error: "error";
|
|
4926
4927
|
success: "success";
|
|
4927
4928
|
waiting: "waiting";
|
|
4928
|
-
error: "error";
|
|
4929
4929
|
}>;
|
|
4930
4930
|
provider: z.ZodEnum<{
|
|
4931
4931
|
deliverart: "deliverart";
|
|
@@ -4933,10 +4933,10 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
4933
4933
|
}>;
|
|
4934
4934
|
name: z.ZodString;
|
|
4935
4935
|
message: z.ZodNullable<z.ZodString>;
|
|
4936
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
4936
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4937
4937
|
createdAt: z.ZodString;
|
|
4938
4938
|
updatedAt: z.ZodString;
|
|
4939
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
4939
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4940
4940
|
status: z.ZodEnum<{
|
|
4941
4941
|
active: "active";
|
|
4942
4942
|
waiting_for_user: "waiting_for_user";
|
|
@@ -4946,7 +4946,7 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
4946
4946
|
}>;
|
|
4947
4947
|
message: z.ZodString;
|
|
4948
4948
|
updatedAt: z.ZodString;
|
|
4949
|
-
}, z.core.$strip
|
|
4949
|
+
}, z.core.$strip>>>>;
|
|
4950
4950
|
}, z.core.$strip>, z.ZodObject<{
|
|
4951
4951
|
pointOfSale: z.ZodObject<{
|
|
4952
4952
|
id: z.ZodString;
|
|
@@ -4992,9 +4992,9 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
4992
4992
|
failed: "failed";
|
|
4993
4993
|
}>;
|
|
4994
4994
|
healthStatus: z.ZodEnum<{
|
|
4995
|
+
error: "error";
|
|
4995
4996
|
success: "success";
|
|
4996
4997
|
waiting: "waiting";
|
|
4997
|
-
error: "error";
|
|
4998
4998
|
}>;
|
|
4999
4999
|
provider: z.ZodEnum<{
|
|
5000
5000
|
deliverart: "deliverart";
|
|
@@ -5002,10 +5002,10 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
5002
5002
|
}>;
|
|
5003
5003
|
name: z.ZodString;
|
|
5004
5004
|
message: z.ZodNullable<z.ZodString>;
|
|
5005
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5005
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5006
5006
|
createdAt: z.ZodString;
|
|
5007
5007
|
updatedAt: z.ZodString;
|
|
5008
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5008
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5009
5009
|
status: z.ZodEnum<{
|
|
5010
5010
|
active: "active";
|
|
5011
5011
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5015,7 +5015,7 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
5015
5015
|
}>;
|
|
5016
5016
|
message: z.ZodString;
|
|
5017
5017
|
updatedAt: z.ZodString;
|
|
5018
|
-
}, z.core.$strip
|
|
5018
|
+
}, z.core.$strip>>>>;
|
|
5019
5019
|
}, z.core.$strip>, z.ZodObject<{
|
|
5020
5020
|
pointOfSale: z.ZodObject<{
|
|
5021
5021
|
id: z.ZodString;
|
|
@@ -5061,9 +5061,9 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
5061
5061
|
failed: "failed";
|
|
5062
5062
|
}>;
|
|
5063
5063
|
healthStatus: z.ZodEnum<{
|
|
5064
|
+
error: "error";
|
|
5064
5065
|
success: "success";
|
|
5065
5066
|
waiting: "waiting";
|
|
5066
|
-
error: "error";
|
|
5067
5067
|
}>;
|
|
5068
5068
|
provider: z.ZodEnum<{
|
|
5069
5069
|
deliverart: "deliverart";
|
|
@@ -5071,10 +5071,10 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
5071
5071
|
}>;
|
|
5072
5072
|
name: z.ZodString;
|
|
5073
5073
|
message: z.ZodNullable<z.ZodString>;
|
|
5074
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5074
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5075
5075
|
createdAt: z.ZodString;
|
|
5076
5076
|
updatedAt: z.ZodString;
|
|
5077
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5077
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5078
5078
|
status: z.ZodEnum<{
|
|
5079
5079
|
active: "active";
|
|
5080
5080
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5084,7 +5084,7 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
5084
5084
|
}>;
|
|
5085
5085
|
message: z.ZodString;
|
|
5086
5086
|
updatedAt: z.ZodString;
|
|
5087
|
-
}, z.core.$strip
|
|
5087
|
+
}, z.core.$strip>>>>;
|
|
5088
5088
|
}, z.core.$strip>, z.ZodObject<{
|
|
5089
5089
|
pointOfSale: z.ZodObject<{
|
|
5090
5090
|
id: z.ZodString;
|
|
@@ -5117,12 +5117,12 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
5117
5117
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
5118
5118
|
data: z.ZodObject<{
|
|
5119
5119
|
apiKey: z.ZodString;
|
|
5120
|
-
idSalesPoint: z.
|
|
5120
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
5121
5121
|
direction: z.ZodEnum<{
|
|
5122
5122
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
5123
5123
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
5124
5124
|
}>;
|
|
5125
|
-
locale: z.ZodString
|
|
5125
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
5126
5126
|
}, z.core.$strip>;
|
|
5127
5127
|
id: z.ZodString;
|
|
5128
5128
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -5135,9 +5135,9 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
5135
5135
|
failed: "failed";
|
|
5136
5136
|
}>;
|
|
5137
5137
|
healthStatus: z.ZodEnum<{
|
|
5138
|
+
error: "error";
|
|
5138
5139
|
success: "success";
|
|
5139
5140
|
waiting: "waiting";
|
|
5140
|
-
error: "error";
|
|
5141
5141
|
}>;
|
|
5142
5142
|
provider: z.ZodEnum<{
|
|
5143
5143
|
deliverart: "deliverart";
|
|
@@ -5145,10 +5145,10 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
5145
5145
|
}>;
|
|
5146
5146
|
name: z.ZodString;
|
|
5147
5147
|
message: z.ZodNullable<z.ZodString>;
|
|
5148
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5148
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5149
5149
|
createdAt: z.ZodString;
|
|
5150
5150
|
updatedAt: z.ZodString;
|
|
5151
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5151
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5152
5152
|
status: z.ZodEnum<{
|
|
5153
5153
|
active: "active";
|
|
5154
5154
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5158,7 +5158,7 @@ declare class RespondIntegrationActivationRequest extends AbstractApiRequest<typ
|
|
|
5158
5158
|
}>;
|
|
5159
5159
|
message: z.ZodString;
|
|
5160
5160
|
updatedAt: z.ZodString;
|
|
5161
|
-
}, z.core.$strip
|
|
5161
|
+
}, z.core.$strip>>>>;
|
|
5162
5162
|
}, z.core.$strip>]>;
|
|
5163
5163
|
readonly querySchema: undefined;
|
|
5164
5164
|
readonly headersSchema: undefined;
|
|
@@ -5215,9 +5215,9 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5215
5215
|
failed: "failed";
|
|
5216
5216
|
}>;
|
|
5217
5217
|
healthStatus: z.ZodEnum<{
|
|
5218
|
+
error: "error";
|
|
5218
5219
|
success: "success";
|
|
5219
5220
|
waiting: "waiting";
|
|
5220
|
-
error: "error";
|
|
5221
5221
|
}>;
|
|
5222
5222
|
provider: z.ZodEnum<{
|
|
5223
5223
|
deliverart: "deliverart";
|
|
@@ -5225,10 +5225,10 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5225
5225
|
}>;
|
|
5226
5226
|
name: z.ZodString;
|
|
5227
5227
|
message: z.ZodNullable<z.ZodString>;
|
|
5228
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5228
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5229
5229
|
createdAt: z.ZodString;
|
|
5230
5230
|
updatedAt: z.ZodString;
|
|
5231
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5231
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5232
5232
|
status: z.ZodEnum<{
|
|
5233
5233
|
active: "active";
|
|
5234
5234
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5238,7 +5238,7 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5238
5238
|
}>;
|
|
5239
5239
|
message: z.ZodString;
|
|
5240
5240
|
updatedAt: z.ZodString;
|
|
5241
|
-
}, z.core.$strip
|
|
5241
|
+
}, z.core.$strip>>>>;
|
|
5242
5242
|
}, z.core.$strip>, z.ZodObject<{
|
|
5243
5243
|
pointOfSale: z.ZodObject<{
|
|
5244
5244
|
id: z.ZodString;
|
|
@@ -5284,9 +5284,9 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5284
5284
|
failed: "failed";
|
|
5285
5285
|
}>;
|
|
5286
5286
|
healthStatus: z.ZodEnum<{
|
|
5287
|
+
error: "error";
|
|
5287
5288
|
success: "success";
|
|
5288
5289
|
waiting: "waiting";
|
|
5289
|
-
error: "error";
|
|
5290
5290
|
}>;
|
|
5291
5291
|
provider: z.ZodEnum<{
|
|
5292
5292
|
deliverart: "deliverart";
|
|
@@ -5294,10 +5294,10 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5294
5294
|
}>;
|
|
5295
5295
|
name: z.ZodString;
|
|
5296
5296
|
message: z.ZodNullable<z.ZodString>;
|
|
5297
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5297
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5298
5298
|
createdAt: z.ZodString;
|
|
5299
5299
|
updatedAt: z.ZodString;
|
|
5300
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5300
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5301
5301
|
status: z.ZodEnum<{
|
|
5302
5302
|
active: "active";
|
|
5303
5303
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5307,7 +5307,7 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5307
5307
|
}>;
|
|
5308
5308
|
message: z.ZodString;
|
|
5309
5309
|
updatedAt: z.ZodString;
|
|
5310
|
-
}, z.core.$strip
|
|
5310
|
+
}, z.core.$strip>>>>;
|
|
5311
5311
|
}, z.core.$strip>, z.ZodObject<{
|
|
5312
5312
|
pointOfSale: z.ZodObject<{
|
|
5313
5313
|
id: z.ZodString;
|
|
@@ -5353,9 +5353,9 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5353
5353
|
failed: "failed";
|
|
5354
5354
|
}>;
|
|
5355
5355
|
healthStatus: z.ZodEnum<{
|
|
5356
|
+
error: "error";
|
|
5356
5357
|
success: "success";
|
|
5357
5358
|
waiting: "waiting";
|
|
5358
|
-
error: "error";
|
|
5359
5359
|
}>;
|
|
5360
5360
|
provider: z.ZodEnum<{
|
|
5361
5361
|
deliverart: "deliverart";
|
|
@@ -5363,10 +5363,10 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5363
5363
|
}>;
|
|
5364
5364
|
name: z.ZodString;
|
|
5365
5365
|
message: z.ZodNullable<z.ZodString>;
|
|
5366
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5366
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5367
5367
|
createdAt: z.ZodString;
|
|
5368
5368
|
updatedAt: z.ZodString;
|
|
5369
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5369
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5370
5370
|
status: z.ZodEnum<{
|
|
5371
5371
|
active: "active";
|
|
5372
5372
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5376,7 +5376,7 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5376
5376
|
}>;
|
|
5377
5377
|
message: z.ZodString;
|
|
5378
5378
|
updatedAt: z.ZodString;
|
|
5379
|
-
}, z.core.$strip
|
|
5379
|
+
}, z.core.$strip>>>>;
|
|
5380
5380
|
}, z.core.$strip>, z.ZodObject<{
|
|
5381
5381
|
pointOfSale: z.ZodObject<{
|
|
5382
5382
|
id: z.ZodString;
|
|
@@ -5409,12 +5409,12 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5409
5409
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
5410
5410
|
data: z.ZodObject<{
|
|
5411
5411
|
apiKey: z.ZodString;
|
|
5412
|
-
idSalesPoint: z.
|
|
5412
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
5413
5413
|
direction: z.ZodEnum<{
|
|
5414
5414
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
5415
5415
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
5416
5416
|
}>;
|
|
5417
|
-
locale: z.ZodString
|
|
5417
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
5418
5418
|
}, z.core.$strip>;
|
|
5419
5419
|
id: z.ZodString;
|
|
5420
5420
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -5427,9 +5427,9 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5427
5427
|
failed: "failed";
|
|
5428
5428
|
}>;
|
|
5429
5429
|
healthStatus: z.ZodEnum<{
|
|
5430
|
+
error: "error";
|
|
5430
5431
|
success: "success";
|
|
5431
5432
|
waiting: "waiting";
|
|
5432
|
-
error: "error";
|
|
5433
5433
|
}>;
|
|
5434
5434
|
provider: z.ZodEnum<{
|
|
5435
5435
|
deliverart: "deliverart";
|
|
@@ -5437,10 +5437,10 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5437
5437
|
}>;
|
|
5438
5438
|
name: z.ZodString;
|
|
5439
5439
|
message: z.ZodNullable<z.ZodString>;
|
|
5440
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5440
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5441
5441
|
createdAt: z.ZodString;
|
|
5442
5442
|
updatedAt: z.ZodString;
|
|
5443
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5443
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5444
5444
|
status: z.ZodEnum<{
|
|
5445
5445
|
active: "active";
|
|
5446
5446
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5450,7 +5450,7 @@ declare const sendIntegrationActivationRequestToPartnerResponseSchema: z.ZodDisc
|
|
|
5450
5450
|
}>;
|
|
5451
5451
|
message: z.ZodString;
|
|
5452
5452
|
updatedAt: z.ZodString;
|
|
5453
|
-
}, z.core.$strip
|
|
5453
|
+
}, z.core.$strip>>>>;
|
|
5454
5454
|
}, z.core.$strip>]>;
|
|
5455
5455
|
type SendIntegrationActivationRequestToPartnerResponse = IntegrationActivationRequestDetails;
|
|
5456
5456
|
declare class SendIntegrationActivationRequestToPartner extends AbstractApiRequest<typeof sendIntegrationActivationRequestToPartnerInputSchema, typeof sendIntegrationActivationRequestToPartnerResponseSchema> {
|
|
@@ -5504,9 +5504,9 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5504
5504
|
failed: "failed";
|
|
5505
5505
|
}>;
|
|
5506
5506
|
healthStatus: z.ZodEnum<{
|
|
5507
|
+
error: "error";
|
|
5507
5508
|
success: "success";
|
|
5508
5509
|
waiting: "waiting";
|
|
5509
|
-
error: "error";
|
|
5510
5510
|
}>;
|
|
5511
5511
|
provider: z.ZodEnum<{
|
|
5512
5512
|
deliverart: "deliverart";
|
|
@@ -5514,10 +5514,10 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5514
5514
|
}>;
|
|
5515
5515
|
name: z.ZodString;
|
|
5516
5516
|
message: z.ZodNullable<z.ZodString>;
|
|
5517
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5517
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5518
5518
|
createdAt: z.ZodString;
|
|
5519
5519
|
updatedAt: z.ZodString;
|
|
5520
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5520
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5521
5521
|
status: z.ZodEnum<{
|
|
5522
5522
|
active: "active";
|
|
5523
5523
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5527,7 +5527,7 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5527
5527
|
}>;
|
|
5528
5528
|
message: z.ZodString;
|
|
5529
5529
|
updatedAt: z.ZodString;
|
|
5530
|
-
}, z.core.$strip
|
|
5530
|
+
}, z.core.$strip>>>>;
|
|
5531
5531
|
}, z.core.$strip>, z.ZodObject<{
|
|
5532
5532
|
pointOfSale: z.ZodObject<{
|
|
5533
5533
|
id: z.ZodString;
|
|
@@ -5573,9 +5573,9 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5573
5573
|
failed: "failed";
|
|
5574
5574
|
}>;
|
|
5575
5575
|
healthStatus: z.ZodEnum<{
|
|
5576
|
+
error: "error";
|
|
5576
5577
|
success: "success";
|
|
5577
5578
|
waiting: "waiting";
|
|
5578
|
-
error: "error";
|
|
5579
5579
|
}>;
|
|
5580
5580
|
provider: z.ZodEnum<{
|
|
5581
5581
|
deliverart: "deliverart";
|
|
@@ -5583,10 +5583,10 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5583
5583
|
}>;
|
|
5584
5584
|
name: z.ZodString;
|
|
5585
5585
|
message: z.ZodNullable<z.ZodString>;
|
|
5586
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5586
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5587
5587
|
createdAt: z.ZodString;
|
|
5588
5588
|
updatedAt: z.ZodString;
|
|
5589
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5589
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5590
5590
|
status: z.ZodEnum<{
|
|
5591
5591
|
active: "active";
|
|
5592
5592
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5596,7 +5596,7 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5596
5596
|
}>;
|
|
5597
5597
|
message: z.ZodString;
|
|
5598
5598
|
updatedAt: z.ZodString;
|
|
5599
|
-
}, z.core.$strip
|
|
5599
|
+
}, z.core.$strip>>>>;
|
|
5600
5600
|
}, z.core.$strip>, z.ZodObject<{
|
|
5601
5601
|
pointOfSale: z.ZodObject<{
|
|
5602
5602
|
id: z.ZodString;
|
|
@@ -5642,9 +5642,9 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5642
5642
|
failed: "failed";
|
|
5643
5643
|
}>;
|
|
5644
5644
|
healthStatus: z.ZodEnum<{
|
|
5645
|
+
error: "error";
|
|
5645
5646
|
success: "success";
|
|
5646
5647
|
waiting: "waiting";
|
|
5647
|
-
error: "error";
|
|
5648
5648
|
}>;
|
|
5649
5649
|
provider: z.ZodEnum<{
|
|
5650
5650
|
deliverart: "deliverart";
|
|
@@ -5652,10 +5652,10 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5652
5652
|
}>;
|
|
5653
5653
|
name: z.ZodString;
|
|
5654
5654
|
message: z.ZodNullable<z.ZodString>;
|
|
5655
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5655
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5656
5656
|
createdAt: z.ZodString;
|
|
5657
5657
|
updatedAt: z.ZodString;
|
|
5658
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5658
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5659
5659
|
status: z.ZodEnum<{
|
|
5660
5660
|
active: "active";
|
|
5661
5661
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5665,7 +5665,7 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5665
5665
|
}>;
|
|
5666
5666
|
message: z.ZodString;
|
|
5667
5667
|
updatedAt: z.ZodString;
|
|
5668
|
-
}, z.core.$strip
|
|
5668
|
+
}, z.core.$strip>>>>;
|
|
5669
5669
|
}, z.core.$strip>, z.ZodObject<{
|
|
5670
5670
|
pointOfSale: z.ZodObject<{
|
|
5671
5671
|
id: z.ZodString;
|
|
@@ -5698,12 +5698,12 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5698
5698
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
5699
5699
|
data: z.ZodObject<{
|
|
5700
5700
|
apiKey: z.ZodString;
|
|
5701
|
-
idSalesPoint: z.
|
|
5701
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
5702
5702
|
direction: z.ZodEnum<{
|
|
5703
5703
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
5704
5704
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
5705
5705
|
}>;
|
|
5706
|
-
locale: z.ZodString
|
|
5706
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
5707
5707
|
}, z.core.$strip>;
|
|
5708
5708
|
id: z.ZodString;
|
|
5709
5709
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -5716,9 +5716,9 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5716
5716
|
failed: "failed";
|
|
5717
5717
|
}>;
|
|
5718
5718
|
healthStatus: z.ZodEnum<{
|
|
5719
|
+
error: "error";
|
|
5719
5720
|
success: "success";
|
|
5720
5721
|
waiting: "waiting";
|
|
5721
|
-
error: "error";
|
|
5722
5722
|
}>;
|
|
5723
5723
|
provider: z.ZodEnum<{
|
|
5724
5724
|
deliverart: "deliverart";
|
|
@@ -5726,10 +5726,10 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5726
5726
|
}>;
|
|
5727
5727
|
name: z.ZodString;
|
|
5728
5728
|
message: z.ZodNullable<z.ZodString>;
|
|
5729
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5729
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5730
5730
|
createdAt: z.ZodString;
|
|
5731
5731
|
updatedAt: z.ZodString;
|
|
5732
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5732
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5733
5733
|
status: z.ZodEnum<{
|
|
5734
5734
|
active: "active";
|
|
5735
5735
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5739,7 +5739,7 @@ declare class SendIntegrationActivationRequestToPartner extends AbstractApiReque
|
|
|
5739
5739
|
}>;
|
|
5740
5740
|
message: z.ZodString;
|
|
5741
5741
|
updatedAt: z.ZodString;
|
|
5742
|
-
}, z.core.$strip
|
|
5742
|
+
}, z.core.$strip>>>>;
|
|
5743
5743
|
}, z.core.$strip>]>;
|
|
5744
5744
|
readonly querySchema: undefined;
|
|
5745
5745
|
readonly headersSchema: undefined;
|
|
@@ -5756,9 +5756,9 @@ declare const updateIntegrationActivationRequestInputSchema: z.ZodDiscriminatedU
|
|
|
5756
5756
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
5757
5757
|
}, z.core.$strip>>;
|
|
5758
5758
|
healthStatus: z.ZodOptional<z.ZodEnum<{
|
|
5759
|
+
error: "error";
|
|
5759
5760
|
success: "success";
|
|
5760
5761
|
waiting: "waiting";
|
|
5761
|
-
error: "error";
|
|
5762
5762
|
}>>;
|
|
5763
5763
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
5764
5764
|
deliverart: "deliverart";
|
|
@@ -5774,9 +5774,9 @@ declare const updateIntegrationActivationRequestInputSchema: z.ZodDiscriminatedU
|
|
|
5774
5774
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
5775
5775
|
}, z.core.$strip>>;
|
|
5776
5776
|
healthStatus: z.ZodOptional<z.ZodEnum<{
|
|
5777
|
+
error: "error";
|
|
5777
5778
|
success: "success";
|
|
5778
5779
|
waiting: "waiting";
|
|
5779
|
-
error: "error";
|
|
5780
5780
|
}>>;
|
|
5781
5781
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
5782
5782
|
deliverart: "deliverart";
|
|
@@ -5792,9 +5792,9 @@ declare const updateIntegrationActivationRequestInputSchema: z.ZodDiscriminatedU
|
|
|
5792
5792
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
5793
5793
|
}, z.core.$strip>>;
|
|
5794
5794
|
healthStatus: z.ZodOptional<z.ZodEnum<{
|
|
5795
|
+
error: "error";
|
|
5795
5796
|
success: "success";
|
|
5796
5797
|
waiting: "waiting";
|
|
5797
|
-
error: "error";
|
|
5798
5798
|
}>>;
|
|
5799
5799
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
5800
5800
|
deliverart: "deliverart";
|
|
@@ -5807,17 +5807,17 @@ declare const updateIntegrationActivationRequestInputSchema: z.ZodDiscriminatedU
|
|
|
5807
5807
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
5808
5808
|
data: z.ZodOptional<z.ZodObject<{
|
|
5809
5809
|
apiKey: z.ZodString;
|
|
5810
|
-
idSalesPoint: z.
|
|
5810
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
5811
5811
|
direction: z.ZodEnum<{
|
|
5812
5812
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
5813
5813
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
5814
5814
|
}>;
|
|
5815
|
-
locale: z.ZodString
|
|
5815
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
5816
5816
|
}, z.core.$strip>>;
|
|
5817
5817
|
healthStatus: z.ZodOptional<z.ZodEnum<{
|
|
5818
|
+
error: "error";
|
|
5818
5819
|
success: "success";
|
|
5819
5820
|
waiting: "waiting";
|
|
5820
|
-
error: "error";
|
|
5821
5821
|
}>>;
|
|
5822
5822
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
5823
5823
|
deliverart: "deliverart";
|
|
@@ -5874,9 +5874,9 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
5874
5874
|
failed: "failed";
|
|
5875
5875
|
}>;
|
|
5876
5876
|
healthStatus: z.ZodEnum<{
|
|
5877
|
+
error: "error";
|
|
5877
5878
|
success: "success";
|
|
5878
5879
|
waiting: "waiting";
|
|
5879
|
-
error: "error";
|
|
5880
5880
|
}>;
|
|
5881
5881
|
provider: z.ZodEnum<{
|
|
5882
5882
|
deliverart: "deliverart";
|
|
@@ -5884,10 +5884,10 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
5884
5884
|
}>;
|
|
5885
5885
|
name: z.ZodString;
|
|
5886
5886
|
message: z.ZodNullable<z.ZodString>;
|
|
5887
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5887
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5888
5888
|
createdAt: z.ZodString;
|
|
5889
5889
|
updatedAt: z.ZodString;
|
|
5890
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5890
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5891
5891
|
status: z.ZodEnum<{
|
|
5892
5892
|
active: "active";
|
|
5893
5893
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5897,7 +5897,7 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
5897
5897
|
}>;
|
|
5898
5898
|
message: z.ZodString;
|
|
5899
5899
|
updatedAt: z.ZodString;
|
|
5900
|
-
}, z.core.$strip
|
|
5900
|
+
}, z.core.$strip>>>>;
|
|
5901
5901
|
}, z.core.$strip>, z.ZodObject<{
|
|
5902
5902
|
pointOfSale: z.ZodObject<{
|
|
5903
5903
|
id: z.ZodString;
|
|
@@ -5943,9 +5943,9 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
5943
5943
|
failed: "failed";
|
|
5944
5944
|
}>;
|
|
5945
5945
|
healthStatus: z.ZodEnum<{
|
|
5946
|
+
error: "error";
|
|
5946
5947
|
success: "success";
|
|
5947
5948
|
waiting: "waiting";
|
|
5948
|
-
error: "error";
|
|
5949
5949
|
}>;
|
|
5950
5950
|
provider: z.ZodEnum<{
|
|
5951
5951
|
deliverart: "deliverart";
|
|
@@ -5953,10 +5953,10 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
5953
5953
|
}>;
|
|
5954
5954
|
name: z.ZodString;
|
|
5955
5955
|
message: z.ZodNullable<z.ZodString>;
|
|
5956
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
5956
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5957
5957
|
createdAt: z.ZodString;
|
|
5958
5958
|
updatedAt: z.ZodString;
|
|
5959
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
5959
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5960
5960
|
status: z.ZodEnum<{
|
|
5961
5961
|
active: "active";
|
|
5962
5962
|
waiting_for_user: "waiting_for_user";
|
|
@@ -5966,7 +5966,7 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
5966
5966
|
}>;
|
|
5967
5967
|
message: z.ZodString;
|
|
5968
5968
|
updatedAt: z.ZodString;
|
|
5969
|
-
}, z.core.$strip
|
|
5969
|
+
}, z.core.$strip>>>>;
|
|
5970
5970
|
}, z.core.$strip>, z.ZodObject<{
|
|
5971
5971
|
pointOfSale: z.ZodObject<{
|
|
5972
5972
|
id: z.ZodString;
|
|
@@ -6012,9 +6012,9 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
6012
6012
|
failed: "failed";
|
|
6013
6013
|
}>;
|
|
6014
6014
|
healthStatus: z.ZodEnum<{
|
|
6015
|
+
error: "error";
|
|
6015
6016
|
success: "success";
|
|
6016
6017
|
waiting: "waiting";
|
|
6017
|
-
error: "error";
|
|
6018
6018
|
}>;
|
|
6019
6019
|
provider: z.ZodEnum<{
|
|
6020
6020
|
deliverart: "deliverart";
|
|
@@ -6022,10 +6022,10 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
6022
6022
|
}>;
|
|
6023
6023
|
name: z.ZodString;
|
|
6024
6024
|
message: z.ZodNullable<z.ZodString>;
|
|
6025
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
6025
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6026
6026
|
createdAt: z.ZodString;
|
|
6027
6027
|
updatedAt: z.ZodString;
|
|
6028
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
6028
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6029
6029
|
status: z.ZodEnum<{
|
|
6030
6030
|
active: "active";
|
|
6031
6031
|
waiting_for_user: "waiting_for_user";
|
|
@@ -6035,7 +6035,7 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
6035
6035
|
}>;
|
|
6036
6036
|
message: z.ZodString;
|
|
6037
6037
|
updatedAt: z.ZodString;
|
|
6038
|
-
}, z.core.$strip
|
|
6038
|
+
}, z.core.$strip>>>>;
|
|
6039
6039
|
}, z.core.$strip>, z.ZodObject<{
|
|
6040
6040
|
pointOfSale: z.ZodObject<{
|
|
6041
6041
|
id: z.ZodString;
|
|
@@ -6068,12 +6068,12 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
6068
6068
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
6069
6069
|
data: z.ZodObject<{
|
|
6070
6070
|
apiKey: z.ZodString;
|
|
6071
|
-
idSalesPoint: z.
|
|
6071
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
6072
6072
|
direction: z.ZodEnum<{
|
|
6073
6073
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6074
6074
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6075
6075
|
}>;
|
|
6076
|
-
locale: z.ZodString
|
|
6076
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
6077
6077
|
}, z.core.$strip>;
|
|
6078
6078
|
id: z.ZodString;
|
|
6079
6079
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -6086,9 +6086,9 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
6086
6086
|
failed: "failed";
|
|
6087
6087
|
}>;
|
|
6088
6088
|
healthStatus: z.ZodEnum<{
|
|
6089
|
+
error: "error";
|
|
6089
6090
|
success: "success";
|
|
6090
6091
|
waiting: "waiting";
|
|
6091
|
-
error: "error";
|
|
6092
6092
|
}>;
|
|
6093
6093
|
provider: z.ZodEnum<{
|
|
6094
6094
|
deliverart: "deliverart";
|
|
@@ -6096,10 +6096,10 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
6096
6096
|
}>;
|
|
6097
6097
|
name: z.ZodString;
|
|
6098
6098
|
message: z.ZodNullable<z.ZodString>;
|
|
6099
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
6099
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6100
6100
|
createdAt: z.ZodString;
|
|
6101
6101
|
updatedAt: z.ZodString;
|
|
6102
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
6102
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6103
6103
|
status: z.ZodEnum<{
|
|
6104
6104
|
active: "active";
|
|
6105
6105
|
waiting_for_user: "waiting_for_user";
|
|
@@ -6109,7 +6109,7 @@ declare const updateIntegrationActivationRequestResponseSchema: z.ZodDiscriminat
|
|
|
6109
6109
|
}>;
|
|
6110
6110
|
message: z.ZodString;
|
|
6111
6111
|
updatedAt: z.ZodString;
|
|
6112
|
-
}, z.core.$strip
|
|
6112
|
+
}, z.core.$strip>>>>;
|
|
6113
6113
|
}, z.core.$strip>]>;
|
|
6114
6114
|
type UpdateIntegrationActivationRequestResponse = IntegrationActivationRequestDetails;
|
|
6115
6115
|
declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<typeof updateIntegrationActivationRequestInputSchema, typeof updateIntegrationActivationRequestResponseSchema> {
|
|
@@ -6124,9 +6124,9 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6124
6124
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
6125
6125
|
}, z.core.$strip>>;
|
|
6126
6126
|
healthStatus: z.ZodOptional<z.ZodEnum<{
|
|
6127
|
+
error: "error";
|
|
6127
6128
|
success: "success";
|
|
6128
6129
|
waiting: "waiting";
|
|
6129
|
-
error: "error";
|
|
6130
6130
|
}>>;
|
|
6131
6131
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
6132
6132
|
deliverart: "deliverart";
|
|
@@ -6142,9 +6142,9 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6142
6142
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
6143
6143
|
}, z.core.$strip>>;
|
|
6144
6144
|
healthStatus: z.ZodOptional<z.ZodEnum<{
|
|
6145
|
+
error: "error";
|
|
6145
6146
|
success: "success";
|
|
6146
6147
|
waiting: "waiting";
|
|
6147
|
-
error: "error";
|
|
6148
6148
|
}>>;
|
|
6149
6149
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
6150
6150
|
deliverart: "deliverart";
|
|
@@ -6160,9 +6160,9 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6160
6160
|
salesModeId: z.ZodNullable<z.ZodString>;
|
|
6161
6161
|
}, z.core.$strip>>;
|
|
6162
6162
|
healthStatus: z.ZodOptional<z.ZodEnum<{
|
|
6163
|
+
error: "error";
|
|
6163
6164
|
success: "success";
|
|
6164
6165
|
waiting: "waiting";
|
|
6165
|
-
error: "error";
|
|
6166
6166
|
}>>;
|
|
6167
6167
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
6168
6168
|
deliverart: "deliverart";
|
|
@@ -6175,17 +6175,17 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6175
6175
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
6176
6176
|
data: z.ZodOptional<z.ZodObject<{
|
|
6177
6177
|
apiKey: z.ZodString;
|
|
6178
|
-
idSalesPoint: z.
|
|
6178
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
6179
6179
|
direction: z.ZodEnum<{
|
|
6180
6180
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6181
6181
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6182
6182
|
}>;
|
|
6183
|
-
locale: z.ZodString
|
|
6183
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
6184
6184
|
}, z.core.$strip>>;
|
|
6185
6185
|
healthStatus: z.ZodOptional<z.ZodEnum<{
|
|
6186
|
+
error: "error";
|
|
6186
6187
|
success: "success";
|
|
6187
6188
|
waiting: "waiting";
|
|
6188
|
-
error: "error";
|
|
6189
6189
|
}>>;
|
|
6190
6190
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
6191
6191
|
deliverart: "deliverart";
|
|
@@ -6241,9 +6241,9 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6241
6241
|
failed: "failed";
|
|
6242
6242
|
}>;
|
|
6243
6243
|
healthStatus: z.ZodEnum<{
|
|
6244
|
+
error: "error";
|
|
6244
6245
|
success: "success";
|
|
6245
6246
|
waiting: "waiting";
|
|
6246
|
-
error: "error";
|
|
6247
6247
|
}>;
|
|
6248
6248
|
provider: z.ZodEnum<{
|
|
6249
6249
|
deliverart: "deliverart";
|
|
@@ -6251,10 +6251,10 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6251
6251
|
}>;
|
|
6252
6252
|
name: z.ZodString;
|
|
6253
6253
|
message: z.ZodNullable<z.ZodString>;
|
|
6254
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
6254
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6255
6255
|
createdAt: z.ZodString;
|
|
6256
6256
|
updatedAt: z.ZodString;
|
|
6257
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
6257
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6258
6258
|
status: z.ZodEnum<{
|
|
6259
6259
|
active: "active";
|
|
6260
6260
|
waiting_for_user: "waiting_for_user";
|
|
@@ -6264,7 +6264,7 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6264
6264
|
}>;
|
|
6265
6265
|
message: z.ZodString;
|
|
6266
6266
|
updatedAt: z.ZodString;
|
|
6267
|
-
}, z.core.$strip
|
|
6267
|
+
}, z.core.$strip>>>>;
|
|
6268
6268
|
}, z.core.$strip>, z.ZodObject<{
|
|
6269
6269
|
pointOfSale: z.ZodObject<{
|
|
6270
6270
|
id: z.ZodString;
|
|
@@ -6310,9 +6310,9 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6310
6310
|
failed: "failed";
|
|
6311
6311
|
}>;
|
|
6312
6312
|
healthStatus: z.ZodEnum<{
|
|
6313
|
+
error: "error";
|
|
6313
6314
|
success: "success";
|
|
6314
6315
|
waiting: "waiting";
|
|
6315
|
-
error: "error";
|
|
6316
6316
|
}>;
|
|
6317
6317
|
provider: z.ZodEnum<{
|
|
6318
6318
|
deliverart: "deliverart";
|
|
@@ -6320,10 +6320,10 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6320
6320
|
}>;
|
|
6321
6321
|
name: z.ZodString;
|
|
6322
6322
|
message: z.ZodNullable<z.ZodString>;
|
|
6323
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
6323
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6324
6324
|
createdAt: z.ZodString;
|
|
6325
6325
|
updatedAt: z.ZodString;
|
|
6326
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
6326
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6327
6327
|
status: z.ZodEnum<{
|
|
6328
6328
|
active: "active";
|
|
6329
6329
|
waiting_for_user: "waiting_for_user";
|
|
@@ -6333,7 +6333,7 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6333
6333
|
}>;
|
|
6334
6334
|
message: z.ZodString;
|
|
6335
6335
|
updatedAt: z.ZodString;
|
|
6336
|
-
}, z.core.$strip
|
|
6336
|
+
}, z.core.$strip>>>>;
|
|
6337
6337
|
}, z.core.$strip>, z.ZodObject<{
|
|
6338
6338
|
pointOfSale: z.ZodObject<{
|
|
6339
6339
|
id: z.ZodString;
|
|
@@ -6379,9 +6379,9 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6379
6379
|
failed: "failed";
|
|
6380
6380
|
}>;
|
|
6381
6381
|
healthStatus: z.ZodEnum<{
|
|
6382
|
+
error: "error";
|
|
6382
6383
|
success: "success";
|
|
6383
6384
|
waiting: "waiting";
|
|
6384
|
-
error: "error";
|
|
6385
6385
|
}>;
|
|
6386
6386
|
provider: z.ZodEnum<{
|
|
6387
6387
|
deliverart: "deliverart";
|
|
@@ -6389,10 +6389,10 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6389
6389
|
}>;
|
|
6390
6390
|
name: z.ZodString;
|
|
6391
6391
|
message: z.ZodNullable<z.ZodString>;
|
|
6392
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
6392
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6393
6393
|
createdAt: z.ZodString;
|
|
6394
6394
|
updatedAt: z.ZodString;
|
|
6395
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
6395
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6396
6396
|
status: z.ZodEnum<{
|
|
6397
6397
|
active: "active";
|
|
6398
6398
|
waiting_for_user: "waiting_for_user";
|
|
@@ -6402,7 +6402,7 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6402
6402
|
}>;
|
|
6403
6403
|
message: z.ZodString;
|
|
6404
6404
|
updatedAt: z.ZodString;
|
|
6405
|
-
}, z.core.$strip
|
|
6405
|
+
}, z.core.$strip>>>>;
|
|
6406
6406
|
}, z.core.$strip>, z.ZodObject<{
|
|
6407
6407
|
pointOfSale: z.ZodObject<{
|
|
6408
6408
|
id: z.ZodString;
|
|
@@ -6435,12 +6435,12 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6435
6435
|
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
6436
6436
|
data: z.ZodObject<{
|
|
6437
6437
|
apiKey: z.ZodString;
|
|
6438
|
-
idSalesPoint: z.
|
|
6438
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
6439
6439
|
direction: z.ZodEnum<{
|
|
6440
6440
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6441
6441
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6442
6442
|
}>;
|
|
6443
|
-
locale: z.ZodString
|
|
6443
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
6444
6444
|
}, z.core.$strip>;
|
|
6445
6445
|
id: z.ZodString;
|
|
6446
6446
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -6453,9 +6453,9 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6453
6453
|
failed: "failed";
|
|
6454
6454
|
}>;
|
|
6455
6455
|
healthStatus: z.ZodEnum<{
|
|
6456
|
+
error: "error";
|
|
6456
6457
|
success: "success";
|
|
6457
6458
|
waiting: "waiting";
|
|
6458
|
-
error: "error";
|
|
6459
6459
|
}>;
|
|
6460
6460
|
provider: z.ZodEnum<{
|
|
6461
6461
|
deliverart: "deliverart";
|
|
@@ -6463,10 +6463,10 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6463
6463
|
}>;
|
|
6464
6464
|
name: z.ZodString;
|
|
6465
6465
|
message: z.ZodNullable<z.ZodString>;
|
|
6466
|
-
internalNotes: z.ZodNullable<z.ZodString
|
|
6466
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6467
6467
|
createdAt: z.ZodString;
|
|
6468
6468
|
updatedAt: z.ZodString;
|
|
6469
|
-
updates: z.ZodArray<z.ZodObject<{
|
|
6469
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6470
6470
|
status: z.ZodEnum<{
|
|
6471
6471
|
active: "active";
|
|
6472
6472
|
waiting_for_user: "waiting_for_user";
|
|
@@ -6476,7 +6476,7 @@ declare class UpdateIntegrationActivationRequest extends AbstractApiRequest<type
|
|
|
6476
6476
|
}>;
|
|
6477
6477
|
message: z.ZodString;
|
|
6478
6478
|
updatedAt: z.ZodString;
|
|
6479
|
-
}, z.core.$strip
|
|
6479
|
+
}, z.core.$strip>>>>;
|
|
6480
6480
|
}, z.core.$strip>]>;
|
|
6481
6481
|
readonly querySchema: undefined;
|
|
6482
6482
|
readonly headersSchema: undefined;
|