@deliverart/sdk-js-integration 2.5.33 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +48 -160
- package/dist/index.d.cts +1263 -235
- package/dist/index.d.ts +1263 -235
- package/dist/index.js +67 -239
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
|
|
2
|
-
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
3
2
|
import { z } from 'zod';
|
|
4
3
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
5
4
|
|
|
@@ -2857,9 +2856,9 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
2857
2856
|
}, z.core.$strip>;
|
|
2858
2857
|
type GetIntegrationActivationRequestsResponse = z.infer<typeof getIntegrationActivationRequestsResponseSchema>;
|
|
2859
2858
|
declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof getIntegrationActivationRequestsInputSchema, typeof getIntegrationActivationRequestsResponseSchema, GetIntegrationActivationRequestsQueryParams> {
|
|
2860
|
-
readonly method
|
|
2861
|
-
readonly contentType
|
|
2862
|
-
readonly accept
|
|
2859
|
+
readonly method: "GET";
|
|
2860
|
+
readonly contentType: "application/json";
|
|
2861
|
+
readonly accept: "application/json";
|
|
2863
2862
|
readonly inputSchema: z.ZodUndefined;
|
|
2864
2863
|
readonly outputSchema: z.ZodObject<{
|
|
2865
2864
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3111,11 +3110,182 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3111
3110
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3112
3111
|
}, z.core.$strip>;
|
|
3113
3112
|
readonly headersSchema: undefined;
|
|
3113
|
+
readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3114
|
+
service: z.ZodLiteral<"deliveroo">;
|
|
3115
|
+
data: z.ZodObject<{
|
|
3116
|
+
brandId: z.ZodString;
|
|
3117
|
+
siteId: z.ZodString;
|
|
3118
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3119
|
+
}, z.core.$strip>;
|
|
3120
|
+
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>>>;
|
|
3121
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3122
|
+
status: z.ZodEnum<{
|
|
3123
|
+
active: "active";
|
|
3124
|
+
waiting_for_user: "waiting_for_user";
|
|
3125
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3126
|
+
request_sent_partner: "request_sent_partner";
|
|
3127
|
+
failed: "failed";
|
|
3128
|
+
}>;
|
|
3129
|
+
healthStatus: z.ZodEnum<{
|
|
3130
|
+
error: "error";
|
|
3131
|
+
success: "success";
|
|
3132
|
+
waiting: "waiting";
|
|
3133
|
+
}>;
|
|
3134
|
+
provider: z.ZodEnum<{
|
|
3135
|
+
deliverart: "deliverart";
|
|
3136
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3137
|
+
}>;
|
|
3138
|
+
createdAt: z.ZodString;
|
|
3139
|
+
updatedAt: z.ZodString;
|
|
3140
|
+
id: z.ZodString;
|
|
3141
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3142
|
+
name: z.ZodString;
|
|
3143
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3144
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3145
|
+
status: z.ZodEnum<{
|
|
3146
|
+
active: "active";
|
|
3147
|
+
waiting_for_user: "waiting_for_user";
|
|
3148
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3149
|
+
request_sent_partner: "request_sent_partner";
|
|
3150
|
+
failed: "failed";
|
|
3151
|
+
}>;
|
|
3152
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3153
|
+
updatedAt: z.ZodString;
|
|
3154
|
+
}, z.core.$strip>>>>;
|
|
3155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3156
|
+
service: z.ZodLiteral<"glovo">;
|
|
3157
|
+
data: z.ZodObject<{
|
|
3158
|
+
storeId: z.ZodString;
|
|
3159
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3160
|
+
}, z.core.$strip>;
|
|
3161
|
+
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>>>;
|
|
3162
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3163
|
+
status: z.ZodEnum<{
|
|
3164
|
+
active: "active";
|
|
3165
|
+
waiting_for_user: "waiting_for_user";
|
|
3166
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3167
|
+
request_sent_partner: "request_sent_partner";
|
|
3168
|
+
failed: "failed";
|
|
3169
|
+
}>;
|
|
3170
|
+
healthStatus: z.ZodEnum<{
|
|
3171
|
+
error: "error";
|
|
3172
|
+
success: "success";
|
|
3173
|
+
waiting: "waiting";
|
|
3174
|
+
}>;
|
|
3175
|
+
provider: z.ZodEnum<{
|
|
3176
|
+
deliverart: "deliverart";
|
|
3177
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3178
|
+
}>;
|
|
3179
|
+
createdAt: z.ZodString;
|
|
3180
|
+
updatedAt: z.ZodString;
|
|
3181
|
+
id: z.ZodString;
|
|
3182
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3183
|
+
name: z.ZodString;
|
|
3184
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3185
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3186
|
+
status: z.ZodEnum<{
|
|
3187
|
+
active: "active";
|
|
3188
|
+
waiting_for_user: "waiting_for_user";
|
|
3189
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3190
|
+
request_sent_partner: "request_sent_partner";
|
|
3191
|
+
failed: "failed";
|
|
3192
|
+
}>;
|
|
3193
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3194
|
+
updatedAt: z.ZodString;
|
|
3195
|
+
}, z.core.$strip>>>>;
|
|
3196
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3197
|
+
service: z.ZodLiteral<"justeat">;
|
|
3198
|
+
data: z.ZodObject<{
|
|
3199
|
+
restaurantId: z.ZodString;
|
|
3200
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3201
|
+
}, z.core.$strip>;
|
|
3202
|
+
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>>>;
|
|
3203
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3204
|
+
status: z.ZodEnum<{
|
|
3205
|
+
active: "active";
|
|
3206
|
+
waiting_for_user: "waiting_for_user";
|
|
3207
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3208
|
+
request_sent_partner: "request_sent_partner";
|
|
3209
|
+
failed: "failed";
|
|
3210
|
+
}>;
|
|
3211
|
+
healthStatus: z.ZodEnum<{
|
|
3212
|
+
error: "error";
|
|
3213
|
+
success: "success";
|
|
3214
|
+
waiting: "waiting";
|
|
3215
|
+
}>;
|
|
3216
|
+
provider: z.ZodEnum<{
|
|
3217
|
+
deliverart: "deliverart";
|
|
3218
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3219
|
+
}>;
|
|
3220
|
+
createdAt: z.ZodString;
|
|
3221
|
+
updatedAt: z.ZodString;
|
|
3222
|
+
id: z.ZodString;
|
|
3223
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3224
|
+
name: z.ZodString;
|
|
3225
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3226
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3227
|
+
status: z.ZodEnum<{
|
|
3228
|
+
active: "active";
|
|
3229
|
+
waiting_for_user: "waiting_for_user";
|
|
3230
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3231
|
+
request_sent_partner: "request_sent_partner";
|
|
3232
|
+
failed: "failed";
|
|
3233
|
+
}>;
|
|
3234
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3235
|
+
updatedAt: z.ZodString;
|
|
3236
|
+
}, z.core.$strip>>>>;
|
|
3237
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3238
|
+
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
3239
|
+
data: z.ZodObject<{
|
|
3240
|
+
apiKey: z.ZodString;
|
|
3241
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
3242
|
+
direction: z.ZodEnum<{
|
|
3243
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
3244
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
3245
|
+
}>;
|
|
3246
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
3247
|
+
}, z.core.$strip>;
|
|
3248
|
+
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>>>;
|
|
3249
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3250
|
+
status: z.ZodEnum<{
|
|
3251
|
+
active: "active";
|
|
3252
|
+
waiting_for_user: "waiting_for_user";
|
|
3253
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3254
|
+
request_sent_partner: "request_sent_partner";
|
|
3255
|
+
failed: "failed";
|
|
3256
|
+
}>;
|
|
3257
|
+
healthStatus: z.ZodEnum<{
|
|
3258
|
+
error: "error";
|
|
3259
|
+
success: "success";
|
|
3260
|
+
waiting: "waiting";
|
|
3261
|
+
}>;
|
|
3262
|
+
provider: z.ZodEnum<{
|
|
3263
|
+
deliverart: "deliverart";
|
|
3264
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3265
|
+
}>;
|
|
3266
|
+
createdAt: z.ZodString;
|
|
3267
|
+
updatedAt: z.ZodString;
|
|
3268
|
+
id: z.ZodString;
|
|
3269
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3270
|
+
name: z.ZodString;
|
|
3271
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3272
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3273
|
+
status: z.ZodEnum<{
|
|
3274
|
+
active: "active";
|
|
3275
|
+
waiting_for_user: "waiting_for_user";
|
|
3276
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3277
|
+
request_sent_partner: "request_sent_partner";
|
|
3278
|
+
failed: "failed";
|
|
3279
|
+
}>;
|
|
3280
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3281
|
+
updatedAt: z.ZodString;
|
|
3282
|
+
}, z.core.$strip>>>>;
|
|
3283
|
+
}, z.core.$strip>]>;
|
|
3284
|
+
readonly paginationDefaultEnabled = true;
|
|
3114
3285
|
constructor(options?: {
|
|
3115
3286
|
query?: GetIntegrationActivationRequestsQueryParams;
|
|
3116
3287
|
});
|
|
3117
3288
|
getPath(): string;
|
|
3118
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationActivationRequest>;
|
|
3119
3289
|
}
|
|
3120
3290
|
|
|
3121
3291
|
declare const getIntegrationActivationRequestsFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
@@ -3362,9 +3532,9 @@ declare const getIntegrationActivationRequestsFromPointOfSaleResponseSchema: z.Z
|
|
|
3362
3532
|
}, z.core.$strip>]>>;
|
|
3363
3533
|
type GetIntegrationActivationRequestsFromPointOfSaleResponse = z.infer<typeof getIntegrationActivationRequestsFromPointOfSaleResponseSchema>;
|
|
3364
3534
|
declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractApiRequest<typeof getIntegrationActivationRequestsFromPointOfSaleInputSchema, typeof getIntegrationActivationRequestsFromPointOfSaleResponseSchema, GetIntegrationActivationRequestsFromPointOfSaleQueryParams> {
|
|
3365
|
-
readonly method
|
|
3366
|
-
readonly contentType
|
|
3367
|
-
readonly accept
|
|
3535
|
+
readonly method: "GET";
|
|
3536
|
+
readonly contentType: "application/json";
|
|
3537
|
+
readonly accept: "application/json";
|
|
3368
3538
|
readonly inputSchema: z.ZodUndefined;
|
|
3369
3539
|
readonly outputSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3370
3540
|
service: z.ZodLiteral<"deliveroo">;
|
|
@@ -3606,70 +3776,15 @@ declare class GetIntegrationActivationRequestsFromPointOfSale extends AbstractAp
|
|
|
3606
3776
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3607
3777
|
}, z.core.$strip>;
|
|
3608
3778
|
readonly headersSchema: undefined;
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
}
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
message: z.ZodString;
|
|
3619
|
-
data: z.ZodUnion<readonly [z.ZodObject<{
|
|
3620
|
-
brandId: z.ZodString;
|
|
3621
|
-
siteId: z.ZodString;
|
|
3622
|
-
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3623
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3624
|
-
storeId: z.ZodString;
|
|
3625
|
-
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3626
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3627
|
-
restaurantId: z.ZodString;
|
|
3628
|
-
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3629
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3630
|
-
apiKey: z.ZodString;
|
|
3631
|
-
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
3632
|
-
direction: z.ZodEnum<{
|
|
3633
|
-
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
3634
|
-
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
3635
|
-
}>;
|
|
3636
|
-
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
3637
|
-
}, z.core.$strip>]>;
|
|
3638
|
-
}, z.core.$strip>;
|
|
3639
|
-
type RespondIntegrationActivationRequestInput = z.input<typeof respondIntegrationActivationRequestInputSchema>;
|
|
3640
|
-
declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3641
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3642
|
-
service: z.ZodLiteral<"deliveroo">;
|
|
3643
|
-
data: z.ZodObject<{
|
|
3644
|
-
brandId: z.ZodString;
|
|
3645
|
-
siteId: z.ZodString;
|
|
3646
|
-
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3647
|
-
}, z.core.$strip>;
|
|
3648
|
-
id: z.ZodString;
|
|
3649
|
-
connectionId: z.ZodNullable<z.ZodString>;
|
|
3650
|
-
integration: z.ZodNullable<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>]>>;
|
|
3651
|
-
status: z.ZodEnum<{
|
|
3652
|
-
active: "active";
|
|
3653
|
-
waiting_for_user: "waiting_for_user";
|
|
3654
|
-
waiting_for_admin: "waiting_for_admin";
|
|
3655
|
-
request_sent_partner: "request_sent_partner";
|
|
3656
|
-
failed: "failed";
|
|
3657
|
-
}>;
|
|
3658
|
-
healthStatus: z.ZodEnum<{
|
|
3659
|
-
error: "error";
|
|
3660
|
-
success: "success";
|
|
3661
|
-
waiting: "waiting";
|
|
3662
|
-
}>;
|
|
3663
|
-
provider: z.ZodEnum<{
|
|
3664
|
-
deliverart: "deliverart";
|
|
3665
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
3666
|
-
}>;
|
|
3667
|
-
name: z.ZodString;
|
|
3668
|
-
message: z.ZodNullable<z.ZodString>;
|
|
3669
|
-
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3670
|
-
createdAt: z.ZodString;
|
|
3671
|
-
updatedAt: z.ZodString;
|
|
3672
|
-
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3779
|
+
readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3780
|
+
service: z.ZodLiteral<"deliveroo">;
|
|
3781
|
+
data: z.ZodObject<{
|
|
3782
|
+
brandId: z.ZodString;
|
|
3783
|
+
siteId: z.ZodString;
|
|
3784
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3785
|
+
}, z.core.$strip>;
|
|
3786
|
+
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>>>;
|
|
3787
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3673
3788
|
status: z.ZodEnum<{
|
|
3674
3789
|
active: "active";
|
|
3675
3790
|
waiting_for_user: "waiting_for_user";
|
|
@@ -3677,15 +3792,241 @@ declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscrimina
|
|
|
3677
3792
|
request_sent_partner: "request_sent_partner";
|
|
3678
3793
|
failed: "failed";
|
|
3679
3794
|
}>;
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3795
|
+
healthStatus: z.ZodEnum<{
|
|
3796
|
+
error: "error";
|
|
3797
|
+
success: "success";
|
|
3798
|
+
waiting: "waiting";
|
|
3799
|
+
}>;
|
|
3800
|
+
provider: z.ZodEnum<{
|
|
3801
|
+
deliverart: "deliverart";
|
|
3802
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3803
|
+
}>;
|
|
3804
|
+
createdAt: z.ZodString;
|
|
3805
|
+
updatedAt: z.ZodString;
|
|
3806
|
+
id: z.ZodString;
|
|
3807
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3808
|
+
name: z.ZodString;
|
|
3809
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3810
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3811
|
+
status: z.ZodEnum<{
|
|
3812
|
+
active: "active";
|
|
3813
|
+
waiting_for_user: "waiting_for_user";
|
|
3814
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3815
|
+
request_sent_partner: "request_sent_partner";
|
|
3816
|
+
failed: "failed";
|
|
3817
|
+
}>;
|
|
3818
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3819
|
+
updatedAt: z.ZodString;
|
|
3820
|
+
}, z.core.$strip>>>>;
|
|
3821
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3822
|
+
service: z.ZodLiteral<"glovo">;
|
|
3823
|
+
data: z.ZodObject<{
|
|
3824
|
+
storeId: z.ZodString;
|
|
3825
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3826
|
+
}, z.core.$strip>;
|
|
3827
|
+
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>>>;
|
|
3828
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3829
|
+
status: z.ZodEnum<{
|
|
3830
|
+
active: "active";
|
|
3831
|
+
waiting_for_user: "waiting_for_user";
|
|
3832
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3833
|
+
request_sent_partner: "request_sent_partner";
|
|
3834
|
+
failed: "failed";
|
|
3835
|
+
}>;
|
|
3836
|
+
healthStatus: z.ZodEnum<{
|
|
3837
|
+
error: "error";
|
|
3838
|
+
success: "success";
|
|
3839
|
+
waiting: "waiting";
|
|
3840
|
+
}>;
|
|
3841
|
+
provider: z.ZodEnum<{
|
|
3842
|
+
deliverart: "deliverart";
|
|
3843
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3844
|
+
}>;
|
|
3845
|
+
createdAt: z.ZodString;
|
|
3846
|
+
updatedAt: z.ZodString;
|
|
3847
|
+
id: z.ZodString;
|
|
3848
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3849
|
+
name: z.ZodString;
|
|
3850
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3851
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3852
|
+
status: z.ZodEnum<{
|
|
3853
|
+
active: "active";
|
|
3854
|
+
waiting_for_user: "waiting_for_user";
|
|
3855
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3856
|
+
request_sent_partner: "request_sent_partner";
|
|
3857
|
+
failed: "failed";
|
|
3858
|
+
}>;
|
|
3859
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3860
|
+
updatedAt: z.ZodString;
|
|
3861
|
+
}, z.core.$strip>>>>;
|
|
3862
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3863
|
+
service: z.ZodLiteral<"justeat">;
|
|
3864
|
+
data: z.ZodObject<{
|
|
3865
|
+
restaurantId: z.ZodString;
|
|
3866
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3867
|
+
}, z.core.$strip>;
|
|
3868
|
+
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>>>;
|
|
3869
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3870
|
+
status: z.ZodEnum<{
|
|
3871
|
+
active: "active";
|
|
3872
|
+
waiting_for_user: "waiting_for_user";
|
|
3873
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3874
|
+
request_sent_partner: "request_sent_partner";
|
|
3875
|
+
failed: "failed";
|
|
3876
|
+
}>;
|
|
3877
|
+
healthStatus: z.ZodEnum<{
|
|
3878
|
+
error: "error";
|
|
3879
|
+
success: "success";
|
|
3880
|
+
waiting: "waiting";
|
|
3881
|
+
}>;
|
|
3882
|
+
provider: z.ZodEnum<{
|
|
3883
|
+
deliverart: "deliverart";
|
|
3884
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3885
|
+
}>;
|
|
3886
|
+
createdAt: z.ZodString;
|
|
3887
|
+
updatedAt: z.ZodString;
|
|
3888
|
+
id: z.ZodString;
|
|
3889
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3890
|
+
name: z.ZodString;
|
|
3891
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3892
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3893
|
+
status: z.ZodEnum<{
|
|
3894
|
+
active: "active";
|
|
3895
|
+
waiting_for_user: "waiting_for_user";
|
|
3896
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3897
|
+
request_sent_partner: "request_sent_partner";
|
|
3898
|
+
failed: "failed";
|
|
3899
|
+
}>;
|
|
3900
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3901
|
+
updatedAt: z.ZodString;
|
|
3902
|
+
}, z.core.$strip>>>>;
|
|
3903
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3904
|
+
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
3905
|
+
data: z.ZodObject<{
|
|
3906
|
+
apiKey: z.ZodString;
|
|
3907
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
3908
|
+
direction: z.ZodEnum<{
|
|
3909
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
3910
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
3911
|
+
}>;
|
|
3912
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
3913
|
+
}, z.core.$strip>;
|
|
3914
|
+
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>>>;
|
|
3915
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3916
|
+
status: z.ZodEnum<{
|
|
3917
|
+
active: "active";
|
|
3918
|
+
waiting_for_user: "waiting_for_user";
|
|
3919
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3920
|
+
request_sent_partner: "request_sent_partner";
|
|
3921
|
+
failed: "failed";
|
|
3922
|
+
}>;
|
|
3923
|
+
healthStatus: z.ZodEnum<{
|
|
3924
|
+
error: "error";
|
|
3925
|
+
success: "success";
|
|
3926
|
+
waiting: "waiting";
|
|
3927
|
+
}>;
|
|
3928
|
+
provider: z.ZodEnum<{
|
|
3929
|
+
deliverart: "deliverart";
|
|
3930
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3931
|
+
}>;
|
|
3932
|
+
createdAt: z.ZodString;
|
|
3933
|
+
updatedAt: z.ZodString;
|
|
3934
|
+
id: z.ZodString;
|
|
3935
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3936
|
+
name: z.ZodString;
|
|
3937
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3938
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3939
|
+
status: z.ZodEnum<{
|
|
3940
|
+
active: "active";
|
|
3941
|
+
waiting_for_user: "waiting_for_user";
|
|
3942
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3943
|
+
request_sent_partner: "request_sent_partner";
|
|
3944
|
+
failed: "failed";
|
|
3945
|
+
}>;
|
|
3946
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3947
|
+
updatedAt: z.ZodString;
|
|
3948
|
+
}, z.core.$strip>>>>;
|
|
3949
|
+
}, z.core.$strip>]>;
|
|
3950
|
+
readonly paginationDefaultEnabled = false;
|
|
3951
|
+
private readonly pointOfSaleId;
|
|
3952
|
+
constructor(pointOfSaleId: string, options?: {
|
|
3953
|
+
query?: GetIntegrationActivationRequestsFromPointOfSaleQueryParams;
|
|
3954
|
+
});
|
|
3955
|
+
getPath(): string;
|
|
3956
|
+
}
|
|
3957
|
+
|
|
3958
|
+
declare const respondIntegrationActivationRequestInputSchema: z.ZodObject<{
|
|
3959
|
+
message: z.ZodString;
|
|
3960
|
+
data: z.ZodUnion<readonly [z.ZodObject<{
|
|
3961
|
+
brandId: z.ZodString;
|
|
3962
|
+
siteId: z.ZodString;
|
|
3963
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3964
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3965
|
+
storeId: z.ZodString;
|
|
3966
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3967
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3968
|
+
restaurantId: z.ZodString;
|
|
3969
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3970
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3971
|
+
apiKey: z.ZodString;
|
|
3972
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
3973
|
+
direction: z.ZodEnum<{
|
|
3974
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
3975
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
3976
|
+
}>;
|
|
3977
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
3978
|
+
}, z.core.$strip>]>;
|
|
3979
|
+
}, z.core.$strip>;
|
|
3980
|
+
type RespondIntegrationActivationRequestInput = z.input<typeof respondIntegrationActivationRequestInputSchema>;
|
|
3981
|
+
declare const respondIntegrationActivationRequestResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3982
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3983
|
+
service: z.ZodLiteral<"deliveroo">;
|
|
3984
|
+
data: z.ZodObject<{
|
|
3985
|
+
brandId: z.ZodString;
|
|
3986
|
+
siteId: z.ZodString;
|
|
3987
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3988
|
+
}, z.core.$strip>;
|
|
3989
|
+
id: z.ZodString;
|
|
3990
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3991
|
+
integration: z.ZodNullable<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>]>>;
|
|
3992
|
+
status: z.ZodEnum<{
|
|
3993
|
+
active: "active";
|
|
3994
|
+
waiting_for_user: "waiting_for_user";
|
|
3995
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3996
|
+
request_sent_partner: "request_sent_partner";
|
|
3997
|
+
failed: "failed";
|
|
3998
|
+
}>;
|
|
3999
|
+
healthStatus: z.ZodEnum<{
|
|
4000
|
+
error: "error";
|
|
4001
|
+
success: "success";
|
|
4002
|
+
waiting: "waiting";
|
|
4003
|
+
}>;
|
|
4004
|
+
provider: z.ZodEnum<{
|
|
4005
|
+
deliverart: "deliverart";
|
|
4006
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
4007
|
+
}>;
|
|
4008
|
+
name: z.ZodString;
|
|
4009
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4010
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4011
|
+
createdAt: z.ZodString;
|
|
4012
|
+
updatedAt: z.ZodString;
|
|
4013
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4014
|
+
status: z.ZodEnum<{
|
|
4015
|
+
active: "active";
|
|
4016
|
+
waiting_for_user: "waiting_for_user";
|
|
4017
|
+
waiting_for_admin: "waiting_for_admin";
|
|
4018
|
+
request_sent_partner: "request_sent_partner";
|
|
4019
|
+
failed: "failed";
|
|
4020
|
+
}>;
|
|
4021
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4022
|
+
updatedAt: z.ZodString;
|
|
4023
|
+
}, z.core.$strip>>>>;
|
|
4024
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4025
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4026
|
+
service: z.ZodLiteral<"glovo">;
|
|
4027
|
+
data: z.ZodObject<{
|
|
4028
|
+
storeId: z.ZodString;
|
|
4029
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3689
4030
|
}, z.core.$strip>;
|
|
3690
4031
|
id: z.ZodString;
|
|
3691
4032
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
@@ -5089,9 +5430,9 @@ declare const getIntegrationCancellationRequestsResponseSchema: z.ZodObject<{
|
|
|
5089
5430
|
}, z.core.$strip>;
|
|
5090
5431
|
type GetIntegrationCancellationRequestsResponse = z.infer<typeof getIntegrationCancellationRequestsResponseSchema>;
|
|
5091
5432
|
declare class GetIntegrationCancellationRequests extends AbstractApiRequest<typeof getIntegrationCancellationRequestsInputSchema, typeof getIntegrationCancellationRequestsResponseSchema, GetIntegrationCancellationRequestsQueryParams> {
|
|
5092
|
-
readonly method
|
|
5093
|
-
readonly contentType
|
|
5094
|
-
readonly accept
|
|
5433
|
+
readonly method: "GET";
|
|
5434
|
+
readonly contentType: "application/json";
|
|
5435
|
+
readonly accept: "application/json";
|
|
5095
5436
|
readonly inputSchema: z.ZodUndefined;
|
|
5096
5437
|
readonly outputSchema: z.ZodObject<{
|
|
5097
5438
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -5142,11 +5483,21 @@ declare class GetIntegrationCancellationRequests extends AbstractApiRequest<type
|
|
|
5142
5483
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5143
5484
|
}, z.core.$strip>;
|
|
5144
5485
|
readonly headersSchema: undefined;
|
|
5486
|
+
readonly listItemSchema: z.ZodObject<{
|
|
5487
|
+
id: z.ZodString;
|
|
5488
|
+
status: z.ZodEnum<{
|
|
5489
|
+
pending: "pending";
|
|
5490
|
+
aborted: "aborted";
|
|
5491
|
+
completed: "completed";
|
|
5492
|
+
}>;
|
|
5493
|
+
createdAt: z.ZodString;
|
|
5494
|
+
updatedAt: z.ZodString;
|
|
5495
|
+
}, z.core.$strip>;
|
|
5496
|
+
readonly paginationDefaultEnabled = true;
|
|
5145
5497
|
constructor(options?: {
|
|
5146
5498
|
query?: GetIntegrationCancellationRequestsQueryParams;
|
|
5147
5499
|
});
|
|
5148
5500
|
getPath(): string;
|
|
5149
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationCancellationRequest>;
|
|
5150
5501
|
}
|
|
5151
5502
|
|
|
5152
5503
|
declare const deleteIntegrationInputSchema: z.ZodUndefined;
|
|
@@ -5741,9 +6092,9 @@ declare const getIntegrationsResponseSchema: z.ZodObject<{
|
|
|
5741
6092
|
}, z.core.$strip>;
|
|
5742
6093
|
type GetIntegrationsResponse = z.infer<typeof getIntegrationsResponseSchema>;
|
|
5743
6094
|
declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsInputSchema, typeof getIntegrationsResponseSchema, GetIntegrationsQueryParams> {
|
|
5744
|
-
readonly method
|
|
5745
|
-
readonly contentType
|
|
5746
|
-
readonly accept
|
|
6095
|
+
readonly method: "GET";
|
|
6096
|
+
readonly contentType: "application/json";
|
|
6097
|
+
readonly accept: "application/json";
|
|
5747
6098
|
readonly inputSchema: z.ZodUndefined;
|
|
5748
6099
|
readonly outputSchema: z.ZodObject<{
|
|
5749
6100
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -5959,14 +6310,182 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
|
|
|
5959
6310
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5960
6311
|
}, z.core.$strip>;
|
|
5961
6312
|
readonly headersSchema: undefined;
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
}
|
|
5968
|
-
|
|
5969
|
-
|
|
6313
|
+
readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6314
|
+
status: z.ZodEnum<{
|
|
6315
|
+
pending: "pending";
|
|
6316
|
+
active: "active";
|
|
6317
|
+
deleting: "deleting";
|
|
6318
|
+
}>;
|
|
6319
|
+
provider: z.ZodEnum<{
|
|
6320
|
+
deliverart: "deliverart";
|
|
6321
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6322
|
+
}>;
|
|
6323
|
+
createdAt: z.ZodString;
|
|
6324
|
+
updatedAt: z.ZodString;
|
|
6325
|
+
id: z.ZodString;
|
|
6326
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6327
|
+
cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
6328
|
+
name: z.ZodString;
|
|
6329
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6330
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6331
|
+
importTaggedItems: z.ZodBoolean;
|
|
6332
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6333
|
+
isValidMenu: z.ZodBoolean;
|
|
6334
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6335
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6336
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6337
|
+
currentMenuVersion: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>]>;
|
|
6338
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
6339
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6340
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6341
|
+
invalid_menu: "invalid_menu";
|
|
6342
|
+
}>>;
|
|
6343
|
+
syncType: z.ZodEnum<{
|
|
6344
|
+
ALL: "ALL";
|
|
6345
|
+
DELIVERY: "DELIVERY";
|
|
6346
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
6347
|
+
}>;
|
|
6348
|
+
defaultLanguage: z.ZodString;
|
|
6349
|
+
restaurantId: z.ZodString;
|
|
6350
|
+
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
6351
|
+
service: z.ZodEnum<{
|
|
6352
|
+
justeat: "justeat";
|
|
6353
|
+
}>;
|
|
6354
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
6355
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
6356
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
6357
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6358
|
+
status: z.ZodEnum<{
|
|
6359
|
+
pending: "pending";
|
|
6360
|
+
active: "active";
|
|
6361
|
+
deleting: "deleting";
|
|
6362
|
+
}>;
|
|
6363
|
+
provider: z.ZodEnum<{
|
|
6364
|
+
deliverart: "deliverart";
|
|
6365
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6366
|
+
}>;
|
|
6367
|
+
createdAt: z.ZodString;
|
|
6368
|
+
updatedAt: z.ZodString;
|
|
6369
|
+
id: z.ZodString;
|
|
6370
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6371
|
+
cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
6372
|
+
name: z.ZodString;
|
|
6373
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6374
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6375
|
+
importTaggedItems: z.ZodBoolean;
|
|
6376
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6377
|
+
isValidMenu: z.ZodBoolean;
|
|
6378
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6379
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6380
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6381
|
+
currentMenuVersion: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>]>;
|
|
6382
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
6383
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6384
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6385
|
+
invalid_menu: "invalid_menu";
|
|
6386
|
+
}>>;
|
|
6387
|
+
brandId: z.ZodString;
|
|
6388
|
+
siteId: z.ZodString;
|
|
6389
|
+
cover: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>;
|
|
6390
|
+
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
6391
|
+
service: z.ZodEnum<{
|
|
6392
|
+
deliveroo: "deliveroo";
|
|
6393
|
+
}>;
|
|
6394
|
+
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
6395
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
6396
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
6397
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6398
|
+
status: z.ZodEnum<{
|
|
6399
|
+
pending: "pending";
|
|
6400
|
+
active: "active";
|
|
6401
|
+
deleting: "deleting";
|
|
6402
|
+
}>;
|
|
6403
|
+
provider: z.ZodEnum<{
|
|
6404
|
+
deliverart: "deliverart";
|
|
6405
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6406
|
+
}>;
|
|
6407
|
+
createdAt: z.ZodString;
|
|
6408
|
+
updatedAt: z.ZodString;
|
|
6409
|
+
id: z.ZodString;
|
|
6410
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6411
|
+
cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
6412
|
+
name: z.ZodString;
|
|
6413
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6414
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6415
|
+
importTaggedItems: z.ZodBoolean;
|
|
6416
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6417
|
+
isValidMenu: z.ZodBoolean;
|
|
6418
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6419
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6420
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6421
|
+
currentMenuVersion: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>]>;
|
|
6422
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
6423
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6424
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6425
|
+
invalid_menu: "invalid_menu";
|
|
6426
|
+
}>>;
|
|
6427
|
+
storeId: z.ZodString;
|
|
6428
|
+
locale: z.ZodString;
|
|
6429
|
+
pendingMenuChanges: z.ZodBoolean;
|
|
6430
|
+
service: z.ZodEnum<{
|
|
6431
|
+
glovo: "glovo";
|
|
6432
|
+
}>;
|
|
6433
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6434
|
+
status: z.ZodEnum<{
|
|
6435
|
+
pending: "pending";
|
|
6436
|
+
active: "active";
|
|
6437
|
+
deleting: "deleting";
|
|
6438
|
+
}>;
|
|
6439
|
+
provider: z.ZodEnum<{
|
|
6440
|
+
deliverart: "deliverart";
|
|
6441
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6442
|
+
}>;
|
|
6443
|
+
createdAt: z.ZodString;
|
|
6444
|
+
updatedAt: z.ZodString;
|
|
6445
|
+
id: z.ZodString;
|
|
6446
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6447
|
+
cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
6448
|
+
errors: z.ZodArray<z.ZodString>;
|
|
6449
|
+
finalized: z.ZodBoolean;
|
|
6450
|
+
apiKey: z.ZodString;
|
|
6451
|
+
service: z.ZodEnum<{
|
|
6452
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6453
|
+
}>;
|
|
6454
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
6455
|
+
direction: z.ZodEnum<{
|
|
6456
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6457
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6458
|
+
}>;
|
|
6459
|
+
locale: z.ZodString;
|
|
6460
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6461
|
+
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
6462
|
+
syncSettings: z.ZodObject<{
|
|
6463
|
+
externalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
6464
|
+
internalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
6465
|
+
skipSyncProductDescription: z.ZodDefault<z.ZodBoolean>;
|
|
6466
|
+
skipSyncTimetables: z.ZodDefault<z.ZodBoolean>;
|
|
6467
|
+
missingComponentStrategy: z.ZodDefault<z.ZodEnum<{
|
|
6468
|
+
SKIP_ITEM: "SKIP_ITEM";
|
|
6469
|
+
CANCEL_PRODUCT: "CANCEL_PRODUCT";
|
|
6470
|
+
}>>;
|
|
6471
|
+
}, z.core.$strip>;
|
|
6472
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
6473
|
+
RISTO: "RISTO";
|
|
6474
|
+
SALE: "SALE";
|
|
6475
|
+
ECOMMERCE: "ECOMMERCE";
|
|
6476
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6477
|
+
SELF_ORDER: "SELF_ORDER";
|
|
6478
|
+
KIOSK: "KIOSK";
|
|
6479
|
+
}>>;
|
|
6480
|
+
}, z.core.$strip>]>;
|
|
6481
|
+
readonly paginationDefaultEnabled = true;
|
|
6482
|
+
constructor(options?: {
|
|
6483
|
+
query?: GetIntegrationsQueryParams;
|
|
6484
|
+
});
|
|
6485
|
+
getPath(): string;
|
|
6486
|
+
}
|
|
6487
|
+
|
|
6488
|
+
declare const getIntegrationsFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
5970
6489
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5971
6490
|
pending: "pending";
|
|
5972
6491
|
active: "active";
|
|
@@ -6163,22 +6682,226 @@ declare const getIntegrationsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDisc
|
|
|
6163
6682
|
CANCEL_PRODUCT: "CANCEL_PRODUCT";
|
|
6164
6683
|
}>>;
|
|
6165
6684
|
}, z.core.$strip>;
|
|
6166
|
-
productChannels: z.ZodArray<z.ZodEnum<{
|
|
6167
|
-
RISTO: "RISTO";
|
|
6168
|
-
SALE: "SALE";
|
|
6169
|
-
ECOMMERCE: "ECOMMERCE";
|
|
6170
|
-
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6171
|
-
SELF_ORDER: "SELF_ORDER";
|
|
6172
|
-
KIOSK: "KIOSK";
|
|
6173
|
-
}>>;
|
|
6174
|
-
}, z.core.$strip>]>>;
|
|
6175
|
-
type GetIntegrationsFromPointOfSaleResponse = z.infer<typeof getIntegrationsFromPointOfSaleResponseSchema>;
|
|
6176
|
-
declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof getIntegrationsFromPointOfSaleInputSchema, typeof getIntegrationsFromPointOfSaleResponseSchema, GetIntegrationsFromPointOfSaleQueryParams> {
|
|
6177
|
-
readonly method
|
|
6178
|
-
readonly contentType
|
|
6179
|
-
readonly accept
|
|
6180
|
-
readonly inputSchema: z.ZodUndefined;
|
|
6181
|
-
readonly outputSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6685
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
6686
|
+
RISTO: "RISTO";
|
|
6687
|
+
SALE: "SALE";
|
|
6688
|
+
ECOMMERCE: "ECOMMERCE";
|
|
6689
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6690
|
+
SELF_ORDER: "SELF_ORDER";
|
|
6691
|
+
KIOSK: "KIOSK";
|
|
6692
|
+
}>>;
|
|
6693
|
+
}, z.core.$strip>]>>;
|
|
6694
|
+
type GetIntegrationsFromPointOfSaleResponse = z.infer<typeof getIntegrationsFromPointOfSaleResponseSchema>;
|
|
6695
|
+
declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof getIntegrationsFromPointOfSaleInputSchema, typeof getIntegrationsFromPointOfSaleResponseSchema, GetIntegrationsFromPointOfSaleQueryParams> {
|
|
6696
|
+
readonly method: "GET";
|
|
6697
|
+
readonly contentType: "application/json";
|
|
6698
|
+
readonly accept: "application/json";
|
|
6699
|
+
readonly inputSchema: z.ZodUndefined;
|
|
6700
|
+
readonly outputSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6701
|
+
status: z.ZodEnum<{
|
|
6702
|
+
pending: "pending";
|
|
6703
|
+
active: "active";
|
|
6704
|
+
deleting: "deleting";
|
|
6705
|
+
}>;
|
|
6706
|
+
provider: z.ZodEnum<{
|
|
6707
|
+
deliverart: "deliverart";
|
|
6708
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6709
|
+
}>;
|
|
6710
|
+
createdAt: z.ZodString;
|
|
6711
|
+
updatedAt: z.ZodString;
|
|
6712
|
+
id: z.ZodString;
|
|
6713
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6714
|
+
cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
6715
|
+
name: z.ZodString;
|
|
6716
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6717
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6718
|
+
importTaggedItems: z.ZodBoolean;
|
|
6719
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6720
|
+
isValidMenu: z.ZodBoolean;
|
|
6721
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6722
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6723
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6724
|
+
currentMenuVersion: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>]>;
|
|
6725
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
6726
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6727
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6728
|
+
invalid_menu: "invalid_menu";
|
|
6729
|
+
}>>;
|
|
6730
|
+
syncType: z.ZodEnum<{
|
|
6731
|
+
ALL: "ALL";
|
|
6732
|
+
DELIVERY: "DELIVERY";
|
|
6733
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
6734
|
+
}>;
|
|
6735
|
+
defaultLanguage: z.ZodString;
|
|
6736
|
+
restaurantId: z.ZodString;
|
|
6737
|
+
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
6738
|
+
service: z.ZodEnum<{
|
|
6739
|
+
justeat: "justeat";
|
|
6740
|
+
}>;
|
|
6741
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
6742
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
6743
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
6744
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6745
|
+
status: z.ZodEnum<{
|
|
6746
|
+
pending: "pending";
|
|
6747
|
+
active: "active";
|
|
6748
|
+
deleting: "deleting";
|
|
6749
|
+
}>;
|
|
6750
|
+
provider: z.ZodEnum<{
|
|
6751
|
+
deliverart: "deliverart";
|
|
6752
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6753
|
+
}>;
|
|
6754
|
+
createdAt: z.ZodString;
|
|
6755
|
+
updatedAt: z.ZodString;
|
|
6756
|
+
id: z.ZodString;
|
|
6757
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6758
|
+
cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
6759
|
+
name: z.ZodString;
|
|
6760
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6761
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6762
|
+
importTaggedItems: z.ZodBoolean;
|
|
6763
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6764
|
+
isValidMenu: z.ZodBoolean;
|
|
6765
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6766
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6767
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6768
|
+
currentMenuVersion: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>]>;
|
|
6769
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
6770
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6771
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6772
|
+
invalid_menu: "invalid_menu";
|
|
6773
|
+
}>>;
|
|
6774
|
+
brandId: z.ZodString;
|
|
6775
|
+
siteId: z.ZodString;
|
|
6776
|
+
cover: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>;
|
|
6777
|
+
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
6778
|
+
service: z.ZodEnum<{
|
|
6779
|
+
deliveroo: "deliveroo";
|
|
6780
|
+
}>;
|
|
6781
|
+
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
6782
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
6783
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
6784
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6785
|
+
status: z.ZodEnum<{
|
|
6786
|
+
pending: "pending";
|
|
6787
|
+
active: "active";
|
|
6788
|
+
deleting: "deleting";
|
|
6789
|
+
}>;
|
|
6790
|
+
provider: z.ZodEnum<{
|
|
6791
|
+
deliverart: "deliverart";
|
|
6792
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6793
|
+
}>;
|
|
6794
|
+
createdAt: z.ZodString;
|
|
6795
|
+
updatedAt: z.ZodString;
|
|
6796
|
+
id: z.ZodString;
|
|
6797
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6798
|
+
cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
6799
|
+
name: z.ZodString;
|
|
6800
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6801
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6802
|
+
importTaggedItems: z.ZodBoolean;
|
|
6803
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6804
|
+
isValidMenu: z.ZodBoolean;
|
|
6805
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6806
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6807
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6808
|
+
currentMenuVersion: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>]>;
|
|
6809
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
6810
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6811
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6812
|
+
invalid_menu: "invalid_menu";
|
|
6813
|
+
}>>;
|
|
6814
|
+
storeId: z.ZodString;
|
|
6815
|
+
locale: z.ZodString;
|
|
6816
|
+
pendingMenuChanges: z.ZodBoolean;
|
|
6817
|
+
service: z.ZodEnum<{
|
|
6818
|
+
glovo: "glovo";
|
|
6819
|
+
}>;
|
|
6820
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6821
|
+
status: z.ZodEnum<{
|
|
6822
|
+
pending: "pending";
|
|
6823
|
+
active: "active";
|
|
6824
|
+
deleting: "deleting";
|
|
6825
|
+
}>;
|
|
6826
|
+
provider: z.ZodEnum<{
|
|
6827
|
+
deliverart: "deliverart";
|
|
6828
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6829
|
+
}>;
|
|
6830
|
+
createdAt: z.ZodString;
|
|
6831
|
+
updatedAt: z.ZodString;
|
|
6832
|
+
id: z.ZodString;
|
|
6833
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6834
|
+
cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
6835
|
+
errors: z.ZodArray<z.ZodString>;
|
|
6836
|
+
finalized: z.ZodBoolean;
|
|
6837
|
+
apiKey: z.ZodString;
|
|
6838
|
+
service: z.ZodEnum<{
|
|
6839
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6840
|
+
}>;
|
|
6841
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
6842
|
+
direction: z.ZodEnum<{
|
|
6843
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6844
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6845
|
+
}>;
|
|
6846
|
+
locale: z.ZodString;
|
|
6847
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6848
|
+
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
6849
|
+
syncSettings: z.ZodObject<{
|
|
6850
|
+
externalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
6851
|
+
internalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
6852
|
+
skipSyncProductDescription: z.ZodDefault<z.ZodBoolean>;
|
|
6853
|
+
skipSyncTimetables: z.ZodDefault<z.ZodBoolean>;
|
|
6854
|
+
missingComponentStrategy: z.ZodDefault<z.ZodEnum<{
|
|
6855
|
+
SKIP_ITEM: "SKIP_ITEM";
|
|
6856
|
+
CANCEL_PRODUCT: "CANCEL_PRODUCT";
|
|
6857
|
+
}>>;
|
|
6858
|
+
}, z.core.$strip>;
|
|
6859
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
6860
|
+
RISTO: "RISTO";
|
|
6861
|
+
SALE: "SALE";
|
|
6862
|
+
ECOMMERCE: "ECOMMERCE";
|
|
6863
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6864
|
+
SELF_ORDER: "SELF_ORDER";
|
|
6865
|
+
KIOSK: "KIOSK";
|
|
6866
|
+
}>>;
|
|
6867
|
+
}, z.core.$strip>]>>;
|
|
6868
|
+
readonly querySchema: z.ZodObject<{
|
|
6869
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6870
|
+
pending: "pending";
|
|
6871
|
+
active: "active";
|
|
6872
|
+
deleting: "deleting";
|
|
6873
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6874
|
+
pending: "pending";
|
|
6875
|
+
active: "active";
|
|
6876
|
+
deleting: "deleting";
|
|
6877
|
+
}>>]>>;
|
|
6878
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6879
|
+
service: z.ZodOptional<z.ZodEnum<{
|
|
6880
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6881
|
+
deliveroo: "deliveroo";
|
|
6882
|
+
justeat: "justeat";
|
|
6883
|
+
glovo: "glovo";
|
|
6884
|
+
}>>;
|
|
6885
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
6886
|
+
asc: "asc";
|
|
6887
|
+
desc: "desc";
|
|
6888
|
+
}>>;
|
|
6889
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
6890
|
+
asc: "asc";
|
|
6891
|
+
desc: "desc";
|
|
6892
|
+
}>>;
|
|
6893
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6894
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
6895
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6896
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
6897
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6898
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
6899
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6900
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
6901
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6902
|
+
}, z.core.$strip>;
|
|
6903
|
+
readonly headersSchema: undefined;
|
|
6904
|
+
readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6182
6905
|
status: z.ZodEnum<{
|
|
6183
6906
|
pending: "pending";
|
|
6184
6907
|
active: "active";
|
|
@@ -6345,49 +7068,13 @@ declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof g
|
|
|
6345
7068
|
SELF_ORDER: "SELF_ORDER";
|
|
6346
7069
|
KIOSK: "KIOSK";
|
|
6347
7070
|
}>>;
|
|
6348
|
-
}, z.core.$strip>]
|
|
6349
|
-
readonly
|
|
6350
|
-
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6351
|
-
pending: "pending";
|
|
6352
|
-
active: "active";
|
|
6353
|
-
deleting: "deleting";
|
|
6354
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
6355
|
-
pending: "pending";
|
|
6356
|
-
active: "active";
|
|
6357
|
-
deleting: "deleting";
|
|
6358
|
-
}>>]>>;
|
|
6359
|
-
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6360
|
-
service: z.ZodOptional<z.ZodEnum<{
|
|
6361
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
6362
|
-
deliveroo: "deliveroo";
|
|
6363
|
-
justeat: "justeat";
|
|
6364
|
-
glovo: "glovo";
|
|
6365
|
-
}>>;
|
|
6366
|
-
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
6367
|
-
asc: "asc";
|
|
6368
|
-
desc: "desc";
|
|
6369
|
-
}>>;
|
|
6370
|
-
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
6371
|
-
asc: "asc";
|
|
6372
|
-
desc: "desc";
|
|
6373
|
-
}>>;
|
|
6374
|
-
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6375
|
-
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
6376
|
-
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6377
|
-
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
6378
|
-
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6379
|
-
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
6380
|
-
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6381
|
-
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
6382
|
-
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6383
|
-
}, z.core.$strip>;
|
|
6384
|
-
readonly headersSchema: undefined;
|
|
7071
|
+
}, z.core.$strip>]>;
|
|
7072
|
+
readonly paginationDefaultEnabled = false;
|
|
6385
7073
|
private readonly pointOfSaleId;
|
|
6386
7074
|
constructor(pointOfSaleId: string, options?: {
|
|
6387
7075
|
query?: GetIntegrationsFromPointOfSaleQueryParams;
|
|
6388
7076
|
});
|
|
6389
7077
|
getPath(): string;
|
|
6390
|
-
parseResponse(data: unknown): Integration[];
|
|
6391
7078
|
}
|
|
6392
7079
|
|
|
6393
7080
|
declare const integrationCassaInCloudSyncSettingsSchema: z.ZodObject<{
|
|
@@ -7965,9 +8652,9 @@ declare const getIntegrationCassaInCloudClientLogRequestsResponseSchema: z.ZodOb
|
|
|
7965
8652
|
}, z.core.$strip>;
|
|
7966
8653
|
type GetIntegrationCassaInCloudClientLogRequestsResponse = z.infer<typeof getIntegrationCassaInCloudClientLogRequestsResponseSchema>;
|
|
7967
8654
|
declare class GetIntegrationCassaInCloudClientLogRequests extends AbstractApiRequest<typeof getIntegrationCassaInCloudClientLogRequestsInputSchema, typeof getIntegrationCassaInCloudClientLogRequestsResponseSchema, GetIntegrationCassaInCloudClientLogRequestsQueryParams> {
|
|
7968
|
-
readonly method
|
|
7969
|
-
readonly contentType
|
|
7970
|
-
readonly accept
|
|
8655
|
+
readonly method: "GET";
|
|
8656
|
+
readonly contentType: "application/json";
|
|
8657
|
+
readonly accept: "application/json";
|
|
7971
8658
|
readonly inputSchema: z.ZodUndefined;
|
|
7972
8659
|
readonly outputSchema: z.ZodObject<{
|
|
7973
8660
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8022,12 +8709,25 @@ declare class GetIntegrationCassaInCloudClientLogRequests extends AbstractApiReq
|
|
|
8022
8709
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8023
8710
|
}, z.core.$strip>;
|
|
8024
8711
|
readonly headersSchema: undefined;
|
|
8712
|
+
readonly listItemSchema: z.ZodObject<{
|
|
8713
|
+
id: z.ZodString;
|
|
8714
|
+
url: z.ZodString;
|
|
8715
|
+
method: z.ZodEnum<{
|
|
8716
|
+
DELETE: "DELETE";
|
|
8717
|
+
GET: "GET";
|
|
8718
|
+
PATCH: "PATCH";
|
|
8719
|
+
POST: "POST";
|
|
8720
|
+
PUT: "PUT";
|
|
8721
|
+
}>;
|
|
8722
|
+
statusCode: z.ZodCoercedNumber<unknown>;
|
|
8723
|
+
createdAt: z.ZodString;
|
|
8724
|
+
}, z.core.$strip>;
|
|
8725
|
+
readonly paginationDefaultEnabled = true;
|
|
8025
8726
|
private readonly integrationCassaInCloudId;
|
|
8026
8727
|
constructor(integrationCassaInCloudId: string, options?: {
|
|
8027
8728
|
query?: GetIntegrationCassaInCloudClientLogRequestsQueryParams;
|
|
8028
8729
|
});
|
|
8029
8730
|
getPath(): string;
|
|
8030
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationClientLogRequest>;
|
|
8031
8731
|
}
|
|
8032
8732
|
|
|
8033
8733
|
declare const getIntegrationCassaInCloudDetailsInputSchema: z.ZodUndefined;
|
|
@@ -8255,9 +8955,9 @@ declare const getIntegrationCassaInCloudListResponseSchema: z.ZodObject<{
|
|
|
8255
8955
|
}, z.core.$strip>;
|
|
8256
8956
|
type GetIntegrationCassaInCloudListResponse = z.infer<typeof getIntegrationCassaInCloudListResponseSchema>;
|
|
8257
8957
|
declare class GetIntegrationCassaInCloudList extends AbstractApiRequest<typeof getIntegrationCassaInCloudListInputSchema, typeof getIntegrationCassaInCloudListResponseSchema, GetIntegrationCassaInCloudListQueryParams> {
|
|
8258
|
-
readonly method
|
|
8259
|
-
readonly contentType
|
|
8260
|
-
readonly accept
|
|
8958
|
+
readonly method: "GET";
|
|
8959
|
+
readonly contentType: "application/json";
|
|
8960
|
+
readonly accept: "application/json";
|
|
8261
8961
|
readonly inputSchema: z.ZodUndefined;
|
|
8262
8962
|
readonly outputSchema: z.ZodObject<{
|
|
8263
8963
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8367,11 +9067,59 @@ declare class GetIntegrationCassaInCloudList extends AbstractApiRequest<typeof g
|
|
|
8367
9067
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
8368
9068
|
}, z.core.$strip>;
|
|
8369
9069
|
readonly headersSchema: undefined;
|
|
9070
|
+
readonly listItemSchema: z.ZodObject<{
|
|
9071
|
+
status: z.ZodEnum<{
|
|
9072
|
+
pending: "pending";
|
|
9073
|
+
active: "active";
|
|
9074
|
+
deleting: "deleting";
|
|
9075
|
+
}>;
|
|
9076
|
+
provider: z.ZodEnum<{
|
|
9077
|
+
deliverart: "deliverart";
|
|
9078
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
9079
|
+
}>;
|
|
9080
|
+
createdAt: z.ZodString;
|
|
9081
|
+
updatedAt: z.ZodString;
|
|
9082
|
+
id: z.ZodString;
|
|
9083
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
9084
|
+
cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
9085
|
+
errors: z.ZodArray<z.ZodString>;
|
|
9086
|
+
finalized: z.ZodBoolean;
|
|
9087
|
+
apiKey: z.ZodString;
|
|
9088
|
+
service: z.ZodEnum<{
|
|
9089
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
9090
|
+
}>;
|
|
9091
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
9092
|
+
direction: z.ZodEnum<{
|
|
9093
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
9094
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
9095
|
+
}>;
|
|
9096
|
+
locale: z.ZodString;
|
|
9097
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
9098
|
+
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
9099
|
+
syncSettings: z.ZodObject<{
|
|
9100
|
+
externalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
9101
|
+
internalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
9102
|
+
skipSyncProductDescription: z.ZodDefault<z.ZodBoolean>;
|
|
9103
|
+
skipSyncTimetables: z.ZodDefault<z.ZodBoolean>;
|
|
9104
|
+
missingComponentStrategy: z.ZodDefault<z.ZodEnum<{
|
|
9105
|
+
SKIP_ITEM: "SKIP_ITEM";
|
|
9106
|
+
CANCEL_PRODUCT: "CANCEL_PRODUCT";
|
|
9107
|
+
}>>;
|
|
9108
|
+
}, z.core.$strip>;
|
|
9109
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
9110
|
+
RISTO: "RISTO";
|
|
9111
|
+
SALE: "SALE";
|
|
9112
|
+
ECOMMERCE: "ECOMMERCE";
|
|
9113
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
9114
|
+
SELF_ORDER: "SELF_ORDER";
|
|
9115
|
+
KIOSK: "KIOSK";
|
|
9116
|
+
}>>;
|
|
9117
|
+
}, z.core.$strip>;
|
|
9118
|
+
readonly paginationDefaultEnabled = true;
|
|
8370
9119
|
constructor(options?: {
|
|
8371
9120
|
query?: GetIntegrationCassaInCloudListQueryParams;
|
|
8372
9121
|
});
|
|
8373
9122
|
getPath(): string;
|
|
8374
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationCassaInCloud>;
|
|
8375
9123
|
}
|
|
8376
9124
|
|
|
8377
9125
|
declare const getIntegrationCassaInCloudSyncMenuProcessDetailsInputSchema: z.ZodUndefined;
|
|
@@ -8439,9 +9187,9 @@ declare const getIntegrationCassaInCloudSyncMenuProcessesResponseSchema: z.ZodOb
|
|
|
8439
9187
|
}, z.core.$strip>;
|
|
8440
9188
|
type GetIntegrationCassaInCloudSyncMenuProcessesResponse = z.infer<typeof getIntegrationCassaInCloudSyncMenuProcessesResponseSchema>;
|
|
8441
9189
|
declare class GetIntegrationCassaInCloudSyncMenuProcesses extends AbstractApiRequest<typeof getIntegrationCassaInCloudSyncMenuProcessesInputSchema, typeof getIntegrationCassaInCloudSyncMenuProcessesResponseSchema, GetIntegrationCassaInCloudSyncMenuProcessesQueryParams> {
|
|
8442
|
-
readonly method
|
|
8443
|
-
readonly contentType
|
|
8444
|
-
readonly accept
|
|
9190
|
+
readonly method: "GET";
|
|
9191
|
+
readonly contentType: "application/json";
|
|
9192
|
+
readonly accept: "application/json";
|
|
8445
9193
|
readonly inputSchema: z.ZodUndefined;
|
|
8446
9194
|
readonly outputSchema: z.ZodObject<{
|
|
8447
9195
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8466,12 +9214,21 @@ declare class GetIntegrationCassaInCloudSyncMenuProcesses extends AbstractApiReq
|
|
|
8466
9214
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8467
9215
|
}, z.core.$strip>;
|
|
8468
9216
|
readonly headersSchema: undefined;
|
|
9217
|
+
readonly listItemSchema: z.ZodObject<{
|
|
9218
|
+
id: z.ZodString;
|
|
9219
|
+
currentPlaces: z.ZodAny;
|
|
9220
|
+
availableSalesModesIds: z.ZodArray<z.ZodString>;
|
|
9221
|
+
availableProductIds: z.ZodArray<z.ZodString>;
|
|
9222
|
+
availableCategoryIds: z.ZodArray<z.ZodString>;
|
|
9223
|
+
createdAt: z.ZodString;
|
|
9224
|
+
endAt: z.ZodNullable<z.ZodString>;
|
|
9225
|
+
}, z.core.$strip>;
|
|
9226
|
+
readonly paginationDefaultEnabled = true;
|
|
8469
9227
|
private readonly integrationCassaInCloudId;
|
|
8470
9228
|
constructor(integrationCassaInCloudId: string, options?: {
|
|
8471
9229
|
query?: GetIntegrationCassaInCloudSyncMenuProcessesQueryParams;
|
|
8472
9230
|
});
|
|
8473
9231
|
getPath(): string;
|
|
8474
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationCassaInCloudSyncMenuProcess>;
|
|
8475
9232
|
}
|
|
8476
9233
|
|
|
8477
9234
|
declare const getIntegrationCassaInCloudWebHookEventDetailsInputSchema: z.ZodUndefined;
|
|
@@ -8621,9 +9378,9 @@ declare const getIntegrationCassaInCloudWebHookEventsResponseSchema: z.ZodObject
|
|
|
8621
9378
|
}, z.core.$strip>;
|
|
8622
9379
|
type GetIntegrationCassaInCloudWebHookEventsResponse = z.infer<typeof getIntegrationCassaInCloudWebHookEventsResponseSchema>;
|
|
8623
9380
|
declare class GetIntegrationCassaInCloudWebHookEvents extends AbstractApiRequest<typeof getIntegrationCassaInCloudWebHookEventsInputSchema, typeof getIntegrationCassaInCloudWebHookEventsResponseSchema, GetIntegrationCassaInCloudWebHookEventsQueryParams> {
|
|
8624
|
-
readonly method
|
|
8625
|
-
readonly contentType
|
|
8626
|
-
readonly accept
|
|
9381
|
+
readonly method: "GET";
|
|
9382
|
+
readonly contentType: "application/json";
|
|
9383
|
+
readonly accept: "application/json";
|
|
8627
9384
|
readonly inputSchema: z.ZodUndefined;
|
|
8628
9385
|
readonly outputSchema: z.ZodObject<{
|
|
8629
9386
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8704,12 +9461,35 @@ declare class GetIntegrationCassaInCloudWebHookEvents extends AbstractApiRequest
|
|
|
8704
9461
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8705
9462
|
}, z.core.$strip>;
|
|
8706
9463
|
readonly headersSchema: undefined;
|
|
9464
|
+
readonly listItemSchema: z.ZodObject<{
|
|
9465
|
+
id: z.ZodString;
|
|
9466
|
+
entity: z.ZodEnum<{
|
|
9467
|
+
BILL: "BILL";
|
|
9468
|
+
RECEIPT: "RECEIPT";
|
|
9469
|
+
CREDIT_NOTE: "CREDIT_NOTE";
|
|
9470
|
+
INVOICE: "INVOICE";
|
|
9471
|
+
DDT: "DDT";
|
|
9472
|
+
ORDER: "ORDER";
|
|
9473
|
+
QUOTATION: "QUOTATION";
|
|
9474
|
+
RECONCILIATION: "RECONCILIATION";
|
|
9475
|
+
STOCK_MOVEMENT: "STOCK_MOVEMENT";
|
|
9476
|
+
CUSTOMER: "CUSTOMER";
|
|
9477
|
+
ORGANIZATION: "ORGANIZATION";
|
|
9478
|
+
}>;
|
|
9479
|
+
event: z.ZodEnum<{
|
|
9480
|
+
DELETE: "DELETE";
|
|
9481
|
+
CREATE: "CREATE";
|
|
9482
|
+
UPDATE: "UPDATE";
|
|
9483
|
+
}>;
|
|
9484
|
+
body: z.ZodAny;
|
|
9485
|
+
createdAt: z.ZodString;
|
|
9486
|
+
}, z.core.$strip>;
|
|
9487
|
+
readonly paginationDefaultEnabled = true;
|
|
8707
9488
|
private readonly integrationCassaInCloudId;
|
|
8708
9489
|
constructor(integrationCassaInCloudId: string, options?: {
|
|
8709
9490
|
query?: GetIntegrationCassaInCloudWebHookEventsQueryParams;
|
|
8710
9491
|
});
|
|
8711
9492
|
getPath(): string;
|
|
8712
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationCassaInCloudWebHookEvent>;
|
|
8713
9493
|
}
|
|
8714
9494
|
|
|
8715
9495
|
declare const integrationCassaInCloudSyncCustomersInputSchema: z.ZodUndefined;
|
|
@@ -9231,9 +10011,9 @@ declare const getIntegrationDeliverooClientLogRequestsResponseSchema: z.ZodObjec
|
|
|
9231
10011
|
}, z.core.$strip>;
|
|
9232
10012
|
type GetIntegrationDeliverooClientLogRequestsResponse = z.infer<typeof getIntegrationDeliverooClientLogRequestsResponseSchema>;
|
|
9233
10013
|
declare class GetIntegrationDeliverooClientLogRequests extends AbstractApiRequest<typeof getIntegrationDeliverooClientLogRequestsInputSchema, typeof getIntegrationDeliverooClientLogRequestsResponseSchema, GetIntegrationDeliverooClientLogRequestsQueryParams> {
|
|
9234
|
-
readonly method
|
|
9235
|
-
readonly contentType
|
|
9236
|
-
readonly accept
|
|
10014
|
+
readonly method: "GET";
|
|
10015
|
+
readonly contentType: "application/json";
|
|
10016
|
+
readonly accept: "application/json";
|
|
9237
10017
|
readonly inputSchema: z.ZodUndefined;
|
|
9238
10018
|
readonly outputSchema: z.ZodObject<{
|
|
9239
10019
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -9288,12 +10068,25 @@ declare class GetIntegrationDeliverooClientLogRequests extends AbstractApiReques
|
|
|
9288
10068
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9289
10069
|
}, z.core.$strip>;
|
|
9290
10070
|
readonly headersSchema: undefined;
|
|
10071
|
+
readonly listItemSchema: z.ZodObject<{
|
|
10072
|
+
id: z.ZodString;
|
|
10073
|
+
url: z.ZodString;
|
|
10074
|
+
method: z.ZodEnum<{
|
|
10075
|
+
DELETE: "DELETE";
|
|
10076
|
+
GET: "GET";
|
|
10077
|
+
PATCH: "PATCH";
|
|
10078
|
+
POST: "POST";
|
|
10079
|
+
PUT: "PUT";
|
|
10080
|
+
}>;
|
|
10081
|
+
statusCode: z.ZodCoercedNumber<unknown>;
|
|
10082
|
+
createdAt: z.ZodString;
|
|
10083
|
+
}, z.core.$strip>;
|
|
10084
|
+
readonly paginationDefaultEnabled = true;
|
|
9291
10085
|
private readonly integrationDeliverooId;
|
|
9292
10086
|
constructor(integrationDeliverooId: string, options?: {
|
|
9293
10087
|
query?: GetIntegrationDeliverooClientLogRequestsQueryParams;
|
|
9294
10088
|
});
|
|
9295
10089
|
getPath(): string;
|
|
9296
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationClientLogRequest>;
|
|
9297
10090
|
}
|
|
9298
10091
|
|
|
9299
10092
|
declare const getIntegrationDeliverooDetailsInputSchema: z.ZodUndefined;
|
|
@@ -9508,9 +10301,9 @@ declare const getIntegrationDeliverooListResponseSchema: z.ZodObject<{
|
|
|
9508
10301
|
type GetIntegrationDeliverooListResponse = z.infer<typeof getIntegrationDeliverooListResponseSchema>;
|
|
9509
10302
|
declare const getIntegrationDeliverooListInputSchema: z.ZodUndefined;
|
|
9510
10303
|
declare class GetIntegrationDeliverooList extends AbstractApiRequest<typeof getIntegrationDeliverooListInputSchema, typeof getIntegrationDeliverooListResponseSchema, GetIntegrationDeliverooListQueryParams> {
|
|
9511
|
-
readonly method
|
|
9512
|
-
readonly contentType
|
|
9513
|
-
readonly accept
|
|
10304
|
+
readonly method: "GET";
|
|
10305
|
+
readonly contentType: "application/json";
|
|
10306
|
+
readonly accept: "application/json";
|
|
9514
10307
|
readonly inputSchema: z.ZodUndefined;
|
|
9515
10308
|
readonly outputSchema: z.ZodObject<{
|
|
9516
10309
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -9612,21 +10405,62 @@ declare class GetIntegrationDeliverooList extends AbstractApiRequest<typeof getI
|
|
|
9612
10405
|
asc: "asc";
|
|
9613
10406
|
desc: "desc";
|
|
9614
10407
|
}>>;
|
|
9615
|
-
'latestMenuCheckAt[before]': z.ZodOptional<z.ZodString>;
|
|
9616
|
-
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9617
|
-
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
9618
|
-
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
9619
|
-
'latestOpeningHoursSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
9620
|
-
'latestOpeningHoursSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9621
|
-
'latestOpeningHoursSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
9622
|
-
'latestOpeningHoursSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
10408
|
+
'latestMenuCheckAt[before]': z.ZodOptional<z.ZodString>;
|
|
10409
|
+
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
10410
|
+
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
10411
|
+
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
10412
|
+
'latestOpeningHoursSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
10413
|
+
'latestOpeningHoursSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
10414
|
+
'latestOpeningHoursSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
10415
|
+
'latestOpeningHoursSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
10416
|
+
}, z.core.$strip>;
|
|
10417
|
+
readonly headersSchema: undefined;
|
|
10418
|
+
readonly listItemSchema: z.ZodObject<{
|
|
10419
|
+
status: z.ZodEnum<{
|
|
10420
|
+
pending: "pending";
|
|
10421
|
+
active: "active";
|
|
10422
|
+
deleting: "deleting";
|
|
10423
|
+
}>;
|
|
10424
|
+
provider: z.ZodEnum<{
|
|
10425
|
+
deliverart: "deliverart";
|
|
10426
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
10427
|
+
}>;
|
|
10428
|
+
createdAt: z.ZodString;
|
|
10429
|
+
updatedAt: z.ZodString;
|
|
10430
|
+
id: z.ZodString;
|
|
10431
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
10432
|
+
cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
10433
|
+
name: z.ZodString;
|
|
10434
|
+
skipInvalidItem: z.ZodBoolean;
|
|
10435
|
+
skipNegativePrices: z.ZodBoolean;
|
|
10436
|
+
importTaggedItems: z.ZodBoolean;
|
|
10437
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10438
|
+
isValidMenu: z.ZodBoolean;
|
|
10439
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
10440
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
10441
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
10442
|
+
currentMenuVersion: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>]>;
|
|
10443
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
10444
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
10445
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
10446
|
+
invalid_menu: "invalid_menu";
|
|
10447
|
+
}>>;
|
|
10448
|
+
brandId: z.ZodString;
|
|
10449
|
+
siteId: z.ZodString;
|
|
10450
|
+
cover: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>;
|
|
10451
|
+
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
10452
|
+
service: z.ZodEnum<{
|
|
10453
|
+
deliveroo: "deliveroo";
|
|
10454
|
+
}>;
|
|
10455
|
+
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
10456
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
10457
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
9623
10458
|
}, z.core.$strip>;
|
|
9624
|
-
readonly
|
|
10459
|
+
readonly paginationDefaultEnabled = true;
|
|
9625
10460
|
constructor(options?: {
|
|
9626
10461
|
query?: GetIntegrationDeliverooListQueryParams;
|
|
9627
10462
|
});
|
|
9628
10463
|
getPath(): string;
|
|
9629
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationDeliveroo>;
|
|
9630
10464
|
}
|
|
9631
10465
|
|
|
9632
10466
|
declare const getIntegrationDeliverooMenuVersionDetailsInputSchema: z.ZodUndefined;
|
|
@@ -9686,9 +10520,9 @@ declare const getIntegrationDeliverooMenuVersionsResponseSchema: z.ZodObject<{
|
|
|
9686
10520
|
}, z.core.$strip>;
|
|
9687
10521
|
type GetIntegrationDeliverooMenuVersionsResponse = z.infer<typeof getIntegrationDeliverooMenuVersionsResponseSchema>;
|
|
9688
10522
|
declare class GetIntegrationDeliverooMenuVersions extends AbstractApiRequest<typeof getIntegrationDeliverooMenuVersionsInputSchema, typeof getIntegrationDeliverooMenuVersionsResponseSchema, GetIntegrationDeliverooMenuVersionsQueryParams> {
|
|
9689
|
-
readonly method
|
|
9690
|
-
readonly contentType
|
|
9691
|
-
readonly accept
|
|
10523
|
+
readonly method: "GET";
|
|
10524
|
+
readonly contentType: "application/json";
|
|
10525
|
+
readonly accept: "application/json";
|
|
9692
10526
|
readonly inputSchema: z.ZodUndefined;
|
|
9693
10527
|
readonly outputSchema: z.ZodObject<{
|
|
9694
10528
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -9711,12 +10545,19 @@ declare class GetIntegrationDeliverooMenuVersions extends AbstractApiRequest<typ
|
|
|
9711
10545
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9712
10546
|
}, z.core.$strip>;
|
|
9713
10547
|
readonly headersSchema: undefined;
|
|
10548
|
+
readonly listItemSchema: z.ZodObject<{
|
|
10549
|
+
id: z.ZodString;
|
|
10550
|
+
contentUrl: z.ZodString;
|
|
10551
|
+
filePath: z.ZodString;
|
|
10552
|
+
createdAt: z.ZodString;
|
|
10553
|
+
updatedAt: z.ZodString;
|
|
10554
|
+
}, z.core.$strip>;
|
|
10555
|
+
readonly paginationDefaultEnabled = true;
|
|
9714
10556
|
private readonly integrationDeliverooId;
|
|
9715
10557
|
constructor(integrationDeliverooId: string, options?: {
|
|
9716
10558
|
query?: GetIntegrationDeliverooMenuVersionsQueryParams;
|
|
9717
10559
|
});
|
|
9718
10560
|
getPath(): string;
|
|
9719
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuVersion>;
|
|
9720
10561
|
}
|
|
9721
10562
|
|
|
9722
10563
|
declare const getIntegrationDeliverooSyncMenuProcessDetailsInputSchema: z.ZodUndefined;
|
|
@@ -9788,9 +10629,9 @@ declare const getIntegrationDeliverooSyncMenuProcessesResponseSchema: z.ZodObjec
|
|
|
9788
10629
|
}, z.core.$strip>;
|
|
9789
10630
|
type GetIntegrationDeliverooSyncMenuProcessesResponse = z.infer<typeof getIntegrationDeliverooSyncMenuProcessesResponseSchema>;
|
|
9790
10631
|
declare class GetIntegrationDeliverooSyncMenuProcesses extends AbstractApiRequest<typeof getIntegrationDeliverooSyncMenuProcessesInputSchema, typeof getIntegrationDeliverooSyncMenuProcessesResponseSchema, GetIntegrationDeliverooSyncMenuProcessesQueryParams> {
|
|
9791
|
-
readonly method
|
|
9792
|
-
readonly contentType
|
|
9793
|
-
readonly accept
|
|
10632
|
+
readonly method: "GET";
|
|
10633
|
+
readonly contentType: "application/json";
|
|
10634
|
+
readonly accept: "application/json";
|
|
9794
10635
|
readonly inputSchema: z.ZodUndefined;
|
|
9795
10636
|
readonly outputSchema: z.ZodObject<{
|
|
9796
10637
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -9817,12 +10658,23 @@ declare class GetIntegrationDeliverooSyncMenuProcesses extends AbstractApiReques
|
|
|
9817
10658
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9818
10659
|
}, z.core.$strip>;
|
|
9819
10660
|
readonly headersSchema: undefined;
|
|
10661
|
+
readonly listItemSchema: z.ZodObject<{
|
|
10662
|
+
id: z.ZodString;
|
|
10663
|
+
mode: z.ZodEnum<{
|
|
10664
|
+
menu: "menu";
|
|
10665
|
+
item_availabilities: "item_availabilities";
|
|
10666
|
+
}>;
|
|
10667
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
10668
|
+
response: z.ZodNullable<z.ZodString>;
|
|
10669
|
+
createdAt: z.ZodString;
|
|
10670
|
+
endAt: z.ZodNullable<z.ZodString>;
|
|
10671
|
+
}, z.core.$strip>;
|
|
10672
|
+
readonly paginationDefaultEnabled = true;
|
|
9820
10673
|
private readonly integrationDeliverooId;
|
|
9821
10674
|
constructor(integrationDeliverooId: string, options?: {
|
|
9822
10675
|
query?: GetIntegrationDeliverooSyncMenuProcessesQueryParams;
|
|
9823
10676
|
});
|
|
9824
10677
|
getPath(): string;
|
|
9825
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationDeliverooSyncMenuProcess>;
|
|
9826
10678
|
}
|
|
9827
10679
|
|
|
9828
10680
|
declare const getIntegrationDeliverooWebhookEventDetailsInputSchema: z.ZodUndefined;
|
|
@@ -9914,9 +10766,9 @@ declare const getIntegrationDeliverooWebhookEventsResponseSchema: z.ZodObject<{
|
|
|
9914
10766
|
}, z.core.$strip>;
|
|
9915
10767
|
type GetIntegrationDeliverooWebhookEventsResponse = z.infer<typeof getIntegrationDeliverooWebhookEventsResponseSchema>;
|
|
9916
10768
|
declare class GetIntegrationDeliverooWebhookEvents extends AbstractApiRequest<typeof getIntegrationDeliverooWebhookEventsInputSchema, typeof getIntegrationDeliverooWebhookEventsResponseSchema, GetIntegrationDeliverooWebhookEventsQueryParams> {
|
|
9917
|
-
readonly method
|
|
9918
|
-
readonly contentType
|
|
9919
|
-
readonly accept
|
|
10769
|
+
readonly method: "GET";
|
|
10770
|
+
readonly contentType: "application/json";
|
|
10771
|
+
readonly accept: "application/json";
|
|
9920
10772
|
readonly inputSchema: z.ZodUndefined;
|
|
9921
10773
|
readonly outputSchema: z.ZodObject<{
|
|
9922
10774
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -9961,12 +10813,22 @@ declare class GetIntegrationDeliverooWebhookEvents extends AbstractApiRequest<ty
|
|
|
9961
10813
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9962
10814
|
}, z.core.$strip>;
|
|
9963
10815
|
readonly headersSchema: undefined;
|
|
10816
|
+
readonly listItemSchema: z.ZodObject<{
|
|
10817
|
+
id: z.ZodString;
|
|
10818
|
+
event: z.ZodEnum<{
|
|
10819
|
+
"order.new": "order.new";
|
|
10820
|
+
"order.status_update": "order.status_update";
|
|
10821
|
+
"rider.status_update": "rider.status_update";
|
|
10822
|
+
"menu.upload_result": "menu.upload_result";
|
|
10823
|
+
}>;
|
|
10824
|
+
createdAt: z.ZodString;
|
|
10825
|
+
}, z.core.$strip>;
|
|
10826
|
+
readonly paginationDefaultEnabled = true;
|
|
9964
10827
|
private readonly integrationDeliverooId;
|
|
9965
10828
|
constructor(integrationDeliverooId: string, options?: {
|
|
9966
10829
|
query?: GetIntegrationDeliverooWebhookEventsQueryParams;
|
|
9967
10830
|
});
|
|
9968
10831
|
getPath(): string;
|
|
9969
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationDeliverooWebhookEvent>;
|
|
9970
10832
|
}
|
|
9971
10833
|
|
|
9972
10834
|
declare const integrationDeliverooSyncMenuInputSchema: z.ZodUndefined;
|
|
@@ -10483,9 +11345,9 @@ declare const getIntegrationGlovoClientLogRequestsResponseSchema: z.ZodObject<{
|
|
|
10483
11345
|
}, z.core.$strip>;
|
|
10484
11346
|
type GetIntegrationGlovoClientLogRequestsResponse = z.infer<typeof getIntegrationGlovoClientLogRequestsResponseSchema>;
|
|
10485
11347
|
declare class GetIntegrationGlovoClientLogRequests extends AbstractApiRequest<typeof getIntegrationGlovoClientLogRequestsInputSchema, typeof getIntegrationGlovoClientLogRequestsResponseSchema> {
|
|
10486
|
-
readonly method
|
|
10487
|
-
readonly contentType
|
|
10488
|
-
readonly accept
|
|
11348
|
+
readonly method: "GET";
|
|
11349
|
+
readonly contentType: "application/json";
|
|
11350
|
+
readonly accept: "application/json";
|
|
10489
11351
|
readonly inputSchema: z.ZodUndefined;
|
|
10490
11352
|
readonly outputSchema: z.ZodObject<{
|
|
10491
11353
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -10540,12 +11402,25 @@ declare class GetIntegrationGlovoClientLogRequests extends AbstractApiRequest<ty
|
|
|
10540
11402
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
10541
11403
|
}, z.core.$strip>;
|
|
10542
11404
|
readonly headersSchema: undefined;
|
|
11405
|
+
readonly listItemSchema: z.ZodObject<{
|
|
11406
|
+
id: z.ZodString;
|
|
11407
|
+
url: z.ZodString;
|
|
11408
|
+
method: z.ZodEnum<{
|
|
11409
|
+
DELETE: "DELETE";
|
|
11410
|
+
GET: "GET";
|
|
11411
|
+
PATCH: "PATCH";
|
|
11412
|
+
POST: "POST";
|
|
11413
|
+
PUT: "PUT";
|
|
11414
|
+
}>;
|
|
11415
|
+
statusCode: z.ZodCoercedNumber<unknown>;
|
|
11416
|
+
createdAt: z.ZodString;
|
|
11417
|
+
}, z.core.$strip>;
|
|
11418
|
+
readonly paginationDefaultEnabled = true;
|
|
10543
11419
|
private readonly integrationGlovoId;
|
|
10544
11420
|
constructor(integrationGlovoId: string, options?: {
|
|
10545
11421
|
query?: GetIntegrationGlovoClientLogRequestsQueryParams;
|
|
10546
11422
|
});
|
|
10547
11423
|
getPath(): string;
|
|
10548
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationClientLogRequest>;
|
|
10549
11424
|
}
|
|
10550
11425
|
|
|
10551
11426
|
declare const getIntegrationGlovoDetailsInputSchema: z.ZodUndefined;
|
|
@@ -10740,9 +11615,9 @@ declare const getIntegrationGlovoListResponseSchema: z.ZodObject<{
|
|
|
10740
11615
|
}, z.core.$strip>;
|
|
10741
11616
|
type GetIntegrationGlovoListResponse = z.infer<typeof getIntegrationGlovoListResponseSchema>;
|
|
10742
11617
|
declare class GetIntegrationGlovoList extends AbstractApiRequest<typeof getIntegrationGlovoListInputSchema, typeof getIntegrationGlovoListResponseSchema, GetIntegrationGlovoListQueryParams> {
|
|
10743
|
-
readonly method
|
|
10744
|
-
readonly contentType
|
|
10745
|
-
readonly accept
|
|
11618
|
+
readonly method: "GET";
|
|
11619
|
+
readonly contentType: "application/json";
|
|
11620
|
+
readonly accept: "application/json";
|
|
10746
11621
|
readonly inputSchema: z.ZodUndefined;
|
|
10747
11622
|
readonly outputSchema: z.ZodObject<{
|
|
10748
11623
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -10841,11 +11716,48 @@ declare class GetIntegrationGlovoList extends AbstractApiRequest<typeof getInteg
|
|
|
10841
11716
|
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
10842
11717
|
}, z.core.$strip>;
|
|
10843
11718
|
readonly headersSchema: undefined;
|
|
11719
|
+
readonly listItemSchema: z.ZodObject<{
|
|
11720
|
+
status: z.ZodEnum<{
|
|
11721
|
+
pending: "pending";
|
|
11722
|
+
active: "active";
|
|
11723
|
+
deleting: "deleting";
|
|
11724
|
+
}>;
|
|
11725
|
+
provider: z.ZodEnum<{
|
|
11726
|
+
deliverart: "deliverart";
|
|
11727
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
11728
|
+
}>;
|
|
11729
|
+
createdAt: z.ZodString;
|
|
11730
|
+
updatedAt: z.ZodString;
|
|
11731
|
+
id: z.ZodString;
|
|
11732
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
11733
|
+
cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
11734
|
+
name: z.ZodString;
|
|
11735
|
+
skipInvalidItem: z.ZodBoolean;
|
|
11736
|
+
skipNegativePrices: z.ZodBoolean;
|
|
11737
|
+
importTaggedItems: z.ZodBoolean;
|
|
11738
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11739
|
+
isValidMenu: z.ZodBoolean;
|
|
11740
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
11741
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
11742
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
11743
|
+
currentMenuVersion: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>]>;
|
|
11744
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
11745
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
11746
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
11747
|
+
invalid_menu: "invalid_menu";
|
|
11748
|
+
}>>;
|
|
11749
|
+
storeId: z.ZodString;
|
|
11750
|
+
locale: z.ZodString;
|
|
11751
|
+
pendingMenuChanges: z.ZodBoolean;
|
|
11752
|
+
service: z.ZodEnum<{
|
|
11753
|
+
glovo: "glovo";
|
|
11754
|
+
}>;
|
|
11755
|
+
}, z.core.$strip>;
|
|
11756
|
+
readonly paginationDefaultEnabled = true;
|
|
10844
11757
|
constructor(options?: {
|
|
10845
11758
|
query?: GetIntegrationGlovoListQueryParams;
|
|
10846
11759
|
});
|
|
10847
11760
|
getPath(): string;
|
|
10848
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationGlovo>;
|
|
10849
11761
|
}
|
|
10850
11762
|
|
|
10851
11763
|
declare const getIntegrationGlovoMenuUpdateDetailsInputSchema: z.ZodUndefined;
|
|
@@ -10943,9 +11855,9 @@ declare const getIntegrationGlovoMenuUpdatesResponseSchema: z.ZodObject<{
|
|
|
10943
11855
|
}, z.core.$strip>;
|
|
10944
11856
|
type GetIntegrationGlovoMenuUpdatesResponse = z.infer<typeof getIntegrationGlovoMenuUpdatesResponseSchema>;
|
|
10945
11857
|
declare class GetIntegrationGlovoMenuUpdates extends AbstractApiRequest<typeof getIntegrationGlovoMenuUpdatesInputSchema, typeof getIntegrationGlovoMenuUpdatesResponseSchema, GetIntegrationGlovoMenuUpdatesQueryParams> {
|
|
10946
|
-
readonly method
|
|
10947
|
-
readonly contentType
|
|
10948
|
-
readonly accept
|
|
11858
|
+
readonly method: "GET";
|
|
11859
|
+
readonly contentType: "application/json";
|
|
11860
|
+
readonly accept: "application/json";
|
|
10949
11861
|
readonly inputSchema: z.ZodUndefined;
|
|
10950
11862
|
readonly outputSchema: z.ZodObject<{
|
|
10951
11863
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -10980,12 +11892,31 @@ declare class GetIntegrationGlovoMenuUpdates extends AbstractApiRequest<typeof g
|
|
|
10980
11892
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
10981
11893
|
}, z.core.$strip>;
|
|
10982
11894
|
readonly headersSchema: undefined;
|
|
11895
|
+
readonly listItemSchema: z.ZodObject<{
|
|
11896
|
+
id: z.ZodString;
|
|
11897
|
+
transactionId: z.ZodNullable<z.ZodString>;
|
|
11898
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
11899
|
+
SUCCESS: "SUCCESS";
|
|
11900
|
+
PROCESSING: "PROCESSING";
|
|
11901
|
+
FETCH_MENU_INVALID_PAYLOAD: "FETCH_MENU_INVALID_PAYLOAD";
|
|
11902
|
+
FETCH_MENU_SERVER_ERROR: "FETCH_MENU_SERVER_ERROR";
|
|
11903
|
+
FETCH_MENU_UNAUTHORIZED: "FETCH_MENU_UNAUTHORIZED";
|
|
11904
|
+
NOT_PROCESSED: "NOT_PROCESSED";
|
|
11905
|
+
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
11906
|
+
GLOVO_ERROR: "GLOVO_ERROR";
|
|
11907
|
+
SCHEDULE_CATALOG_DISABLED: "SCHEDULE_CATALOG_DISABLED";
|
|
11908
|
+
}>>;
|
|
11909
|
+
retryCompleted: z.ZodBoolean;
|
|
11910
|
+
createdAt: z.ZodString;
|
|
11911
|
+
responseAt: z.ZodNullable<z.ZodString>;
|
|
11912
|
+
latestCheckAt: z.ZodNullable<z.ZodString>;
|
|
11913
|
+
}, z.core.$strip>;
|
|
11914
|
+
readonly paginationDefaultEnabled = true;
|
|
10983
11915
|
private readonly integrationId;
|
|
10984
11916
|
constructor(integrationId: string, options?: {
|
|
10985
11917
|
query?: GetIntegrationGlovoMenuUpdatesQueryParams;
|
|
10986
11918
|
});
|
|
10987
11919
|
getPath(): string;
|
|
10988
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationGlovoMenuUpdate>;
|
|
10989
11920
|
}
|
|
10990
11921
|
|
|
10991
11922
|
declare const getIntegrationGlovoMenuVersionDetailsInputSchema: z.ZodUndefined;
|
|
@@ -11045,9 +11976,9 @@ declare const getIntegrationGlovoMenuVersionsResponseSchema: z.ZodObject<{
|
|
|
11045
11976
|
}, z.core.$strip>;
|
|
11046
11977
|
type GetIntegrationGlovoMenuVersionsResponse = z.infer<typeof getIntegrationGlovoMenuVersionsResponseSchema>;
|
|
11047
11978
|
declare class GetIntegrationGlovoMenuVersions extends AbstractApiRequest<typeof getIntegrationGlovoMenuVersionsInputSchema, typeof getIntegrationGlovoMenuVersionsResponseSchema, GetIntegrationGlovoMenuVersionsQueryParams> {
|
|
11048
|
-
readonly method
|
|
11049
|
-
readonly contentType
|
|
11050
|
-
readonly accept
|
|
11979
|
+
readonly method: "GET";
|
|
11980
|
+
readonly contentType: "application/json";
|
|
11981
|
+
readonly accept: "application/json";
|
|
11051
11982
|
readonly inputSchema: z.ZodUndefined;
|
|
11052
11983
|
readonly outputSchema: z.ZodObject<{
|
|
11053
11984
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -11070,12 +12001,19 @@ declare class GetIntegrationGlovoMenuVersions extends AbstractApiRequest<typeof
|
|
|
11070
12001
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11071
12002
|
}, z.core.$strip>;
|
|
11072
12003
|
readonly headersSchema: undefined;
|
|
12004
|
+
readonly listItemSchema: z.ZodObject<{
|
|
12005
|
+
id: z.ZodString;
|
|
12006
|
+
contentUrl: z.ZodString;
|
|
12007
|
+
filePath: z.ZodString;
|
|
12008
|
+
createdAt: z.ZodString;
|
|
12009
|
+
updatedAt: z.ZodString;
|
|
12010
|
+
}, z.core.$strip>;
|
|
12011
|
+
readonly paginationDefaultEnabled = true;
|
|
11073
12012
|
private readonly integrationGlovoId;
|
|
11074
12013
|
constructor(integrationGlovoId: string, options?: {
|
|
11075
12014
|
query?: GetIntegrationGlovoMenuVersionsQueryParams;
|
|
11076
12015
|
});
|
|
11077
12016
|
getPath(): string;
|
|
11078
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuVersion>;
|
|
11079
12017
|
}
|
|
11080
12018
|
|
|
11081
12019
|
declare const getIntegrationGlovoWebhookEventDetailsInputSchema: z.ZodUndefined;
|
|
@@ -11157,9 +12095,9 @@ declare const getIntegrationGlovoWebhookEventsResponseSchema: z.ZodObject<{
|
|
|
11157
12095
|
}, z.core.$strip>;
|
|
11158
12096
|
type GetIntegrationGlovoWebhookEventsResponse = z.infer<typeof getIntegrationGlovoWebhookEventsResponseSchema>;
|
|
11159
12097
|
declare class GetIntegrationGlovoWebhookEvents extends AbstractApiRequest<typeof getIntegrationGlovoWebhookEventsInputSchema, typeof getIntegrationGlovoWebhookEventsResponseSchema, GetIntegrationGlovoWebhookEventsQueryParams> {
|
|
11160
|
-
readonly method
|
|
11161
|
-
readonly contentType
|
|
11162
|
-
readonly accept
|
|
12098
|
+
readonly method: "GET";
|
|
12099
|
+
readonly contentType: "application/json";
|
|
12100
|
+
readonly accept: "application/json";
|
|
11163
12101
|
readonly inputSchema: z.ZodUndefined;
|
|
11164
12102
|
readonly outputSchema: z.ZodObject<{
|
|
11165
12103
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -11198,12 +12136,20 @@ declare class GetIntegrationGlovoWebhookEvents extends AbstractApiRequest<typeof
|
|
|
11198
12136
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11199
12137
|
}, z.core.$strip>;
|
|
11200
12138
|
readonly headersSchema: undefined;
|
|
12139
|
+
readonly listItemSchema: z.ZodObject<{
|
|
12140
|
+
id: z.ZodString;
|
|
12141
|
+
event: z.ZodEnum<{
|
|
12142
|
+
"order.dispatched": "order.dispatched";
|
|
12143
|
+
"order.cancelled": "order.cancelled";
|
|
12144
|
+
}>;
|
|
12145
|
+
createdAt: z.ZodString;
|
|
12146
|
+
}, z.core.$strip>;
|
|
12147
|
+
readonly paginationDefaultEnabled = true;
|
|
11201
12148
|
private readonly integrationGlovoId;
|
|
11202
12149
|
constructor(integrationGlovoId: string, options?: {
|
|
11203
12150
|
query?: GetIntegrationGlovoWebhookEventsQueryParams;
|
|
11204
12151
|
});
|
|
11205
12152
|
getPath(): string;
|
|
11206
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationGlovoWebhookEvent>;
|
|
11207
12153
|
}
|
|
11208
12154
|
|
|
11209
12155
|
declare const integrationGlovoSyncMenuInputSchema: z.ZodUndefined;
|
|
@@ -11713,9 +12659,9 @@ declare const getIntegrationJustEatClientLogRequestsResponseSchema: z.ZodObject<
|
|
|
11713
12659
|
}, z.core.$strip>;
|
|
11714
12660
|
type GetIntegrationJustEatClientLogRequestsResponse = z.infer<typeof getIntegrationJustEatClientLogRequestsResponseSchema>;
|
|
11715
12661
|
declare class GetIntegrationJustEatClientLogRequests extends AbstractApiRequest<typeof getIntegrationJustEatClientLogRequestsInputSchema, typeof getIntegrationJustEatClientLogRequestsResponseSchema, GetIntegrationJustEatClientLogRequestsQueryParams> {
|
|
11716
|
-
readonly method
|
|
11717
|
-
readonly contentType
|
|
11718
|
-
readonly accept
|
|
12662
|
+
readonly method: "GET";
|
|
12663
|
+
readonly contentType: "application/json";
|
|
12664
|
+
readonly accept: "application/json";
|
|
11719
12665
|
readonly inputSchema: z.ZodUndefined;
|
|
11720
12666
|
readonly outputSchema: z.ZodObject<{
|
|
11721
12667
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -11770,12 +12716,25 @@ declare class GetIntegrationJustEatClientLogRequests extends AbstractApiRequest<
|
|
|
11770
12716
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11771
12717
|
}, z.core.$strip>;
|
|
11772
12718
|
readonly headersSchema: undefined;
|
|
12719
|
+
readonly listItemSchema: z.ZodObject<{
|
|
12720
|
+
id: z.ZodString;
|
|
12721
|
+
url: z.ZodString;
|
|
12722
|
+
method: z.ZodEnum<{
|
|
12723
|
+
DELETE: "DELETE";
|
|
12724
|
+
GET: "GET";
|
|
12725
|
+
PATCH: "PATCH";
|
|
12726
|
+
POST: "POST";
|
|
12727
|
+
PUT: "PUT";
|
|
12728
|
+
}>;
|
|
12729
|
+
statusCode: z.ZodCoercedNumber<unknown>;
|
|
12730
|
+
createdAt: z.ZodString;
|
|
12731
|
+
}, z.core.$strip>;
|
|
12732
|
+
readonly paginationDefaultEnabled = true;
|
|
11773
12733
|
private readonly integrationJustEatId;
|
|
11774
12734
|
constructor(integrationJustEatId: string, options?: {
|
|
11775
12735
|
query?: GetIntegrationJustEatClientLogRequestsQueryParams;
|
|
11776
12736
|
});
|
|
11777
12737
|
getPath(): string;
|
|
11778
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationClientLogRequest>;
|
|
11779
12738
|
}
|
|
11780
12739
|
|
|
11781
12740
|
declare const getIntegrationJustEatDetailsInputSchema: z.ZodUndefined;
|
|
@@ -12019,9 +12978,9 @@ declare const getIntegrationJustEatListResponseSchema: z.ZodObject<{
|
|
|
12019
12978
|
}, z.core.$strip>;
|
|
12020
12979
|
type GetIntegrationJustEatListResponse = z.infer<typeof getIntegrationJustEatListResponseSchema>;
|
|
12021
12980
|
declare class GetIntegrationJustEatList extends AbstractApiRequest<typeof getIntegrationJustEatListInputSchema, typeof getIntegrationJustEatListResponseSchema, GetIntegrationJustEatListQueryParams> {
|
|
12022
|
-
readonly method
|
|
12023
|
-
readonly contentType
|
|
12024
|
-
readonly accept
|
|
12981
|
+
readonly method: "GET";
|
|
12982
|
+
readonly contentType: "application/json";
|
|
12983
|
+
readonly accept: "application/json";
|
|
12025
12984
|
readonly inputSchema: z.ZodUndefined;
|
|
12026
12985
|
readonly outputSchema: z.ZodObject<{
|
|
12027
12986
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -12153,11 +13112,56 @@ declare class GetIntegrationJustEatList extends AbstractApiRequest<typeof getInt
|
|
|
12153
13112
|
'nextSyncMenuScheduledAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
12154
13113
|
}, z.core.$strip>;
|
|
12155
13114
|
readonly headersSchema: undefined;
|
|
13115
|
+
readonly listItemSchema: z.ZodObject<{
|
|
13116
|
+
status: z.ZodEnum<{
|
|
13117
|
+
pending: "pending";
|
|
13118
|
+
active: "active";
|
|
13119
|
+
deleting: "deleting";
|
|
13120
|
+
}>;
|
|
13121
|
+
provider: z.ZodEnum<{
|
|
13122
|
+
deliverart: "deliverart";
|
|
13123
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
13124
|
+
}>;
|
|
13125
|
+
createdAt: z.ZodString;
|
|
13126
|
+
updatedAt: z.ZodString;
|
|
13127
|
+
id: z.ZodString;
|
|
13128
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
13129
|
+
cancellationRequest: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
13130
|
+
name: z.ZodString;
|
|
13131
|
+
skipInvalidItem: z.ZodBoolean;
|
|
13132
|
+
skipNegativePrices: z.ZodBoolean;
|
|
13133
|
+
importTaggedItems: z.ZodBoolean;
|
|
13134
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13135
|
+
isValidMenu: z.ZodBoolean;
|
|
13136
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
13137
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
13138
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
13139
|
+
currentMenuVersion: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id/menu_versions/:menuVersionId" | "/integrations/deliveroo/:id/menu_versions/:menuVersionId" | "/integrations/justeat/:id/menu_versions/:menuVersionId" | "/integrations/glovo/:id/menu_versions/:menuVersionId"> | null, unknown>>]>;
|
|
13140
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
13141
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
13142
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
13143
|
+
invalid_menu: "invalid_menu";
|
|
13144
|
+
}>>;
|
|
13145
|
+
syncType: z.ZodEnum<{
|
|
13146
|
+
ALL: "ALL";
|
|
13147
|
+
DELIVERY: "DELIVERY";
|
|
13148
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
13149
|
+
}>;
|
|
13150
|
+
defaultLanguage: z.ZodString;
|
|
13151
|
+
restaurantId: z.ZodString;
|
|
13152
|
+
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
13153
|
+
service: z.ZodEnum<{
|
|
13154
|
+
justeat: "justeat";
|
|
13155
|
+
}>;
|
|
13156
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
13157
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
13158
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
13159
|
+
}, z.core.$strip>;
|
|
13160
|
+
readonly paginationDefaultEnabled = true;
|
|
12156
13161
|
constructor(options?: {
|
|
12157
13162
|
query?: GetIntegrationJustEatListQueryParams;
|
|
12158
13163
|
});
|
|
12159
13164
|
getPath(): string;
|
|
12160
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationJustEat>;
|
|
12161
13165
|
}
|
|
12162
13166
|
|
|
12163
13167
|
declare const getIntegrationJustEatMenuVersionDetailsInputSchema: z.ZodUndefined;
|
|
@@ -12217,9 +13221,9 @@ declare const getIntegrationJustEatMenuVersionsResponseSchema: z.ZodObject<{
|
|
|
12217
13221
|
}, z.core.$strip>;
|
|
12218
13222
|
type GetIntegrationJustEatMenuVersionsResponse = z.infer<typeof getIntegrationJustEatMenuVersionsResponseSchema>;
|
|
12219
13223
|
declare class GetIntegrationJustEatMenuVersions extends AbstractApiRequest<typeof getIntegrationJustEatMenuVersionsInputSchema, typeof getIntegrationJustEatMenuVersionsResponseSchema, GetIntegrationJustEatMenuVersionsQueryParams> {
|
|
12220
|
-
readonly method
|
|
12221
|
-
readonly contentType
|
|
12222
|
-
readonly accept
|
|
13224
|
+
readonly method: "GET";
|
|
13225
|
+
readonly contentType: "application/json";
|
|
13226
|
+
readonly accept: "application/json";
|
|
12223
13227
|
readonly inputSchema: z.ZodUndefined;
|
|
12224
13228
|
readonly outputSchema: z.ZodObject<{
|
|
12225
13229
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -12242,12 +13246,19 @@ declare class GetIntegrationJustEatMenuVersions extends AbstractApiRequest<typeo
|
|
|
12242
13246
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
12243
13247
|
}, z.core.$strip>;
|
|
12244
13248
|
readonly headersSchema: undefined;
|
|
13249
|
+
readonly listItemSchema: z.ZodObject<{
|
|
13250
|
+
id: z.ZodString;
|
|
13251
|
+
contentUrl: z.ZodString;
|
|
13252
|
+
filePath: z.ZodString;
|
|
13253
|
+
createdAt: z.ZodString;
|
|
13254
|
+
updatedAt: z.ZodString;
|
|
13255
|
+
}, z.core.$strip>;
|
|
13256
|
+
readonly paginationDefaultEnabled = true;
|
|
12245
13257
|
private readonly integrationJustEatId;
|
|
12246
13258
|
constructor(integrationJustEatId: string, options?: {
|
|
12247
13259
|
query?: GetIntegrationJustEatMenuVersionsQueryParams;
|
|
12248
13260
|
});
|
|
12249
13261
|
getPath(): string;
|
|
12250
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuVersion>;
|
|
12251
13262
|
}
|
|
12252
13263
|
|
|
12253
13264
|
declare const getIntegrationJustEatOrderDetailsInputSchema: z.ZodUndefined;
|
|
@@ -12341,9 +13352,9 @@ declare const getIntegrationJustEatOrdersResponseSchema: z.ZodObject<{
|
|
|
12341
13352
|
}, z.core.$strip>;
|
|
12342
13353
|
type GetIntegrationJustEatOrdersResponse = z.infer<typeof getIntegrationJustEatOrdersResponseSchema>;
|
|
12343
13354
|
declare class GetIntegrationJustEatOrders extends AbstractApiRequest<typeof getIntegrationJustEatOrdersInputSchema, typeof getIntegrationJustEatOrdersResponseSchema, GetIntegrationJustEatOrdersQueryParams> {
|
|
12344
|
-
readonly method
|
|
12345
|
-
readonly contentType
|
|
12346
|
-
readonly accept
|
|
13355
|
+
readonly method: "GET";
|
|
13356
|
+
readonly contentType: "application/json";
|
|
13357
|
+
readonly accept: "application/json";
|
|
12347
13358
|
readonly inputSchema: z.ZodUndefined;
|
|
12348
13359
|
readonly outputSchema: z.ZodObject<{
|
|
12349
13360
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -12388,12 +13399,23 @@ declare class GetIntegrationJustEatOrders extends AbstractApiRequest<typeof getI
|
|
|
12388
13399
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
12389
13400
|
}, z.core.$strip>;
|
|
12390
13401
|
readonly headersSchema: undefined;
|
|
13402
|
+
readonly listItemSchema: z.ZodObject<{
|
|
13403
|
+
id: z.ZodString;
|
|
13404
|
+
order: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/:id"> | null, unknown>>;
|
|
13405
|
+
justEatOrderId: z.ZodString;
|
|
13406
|
+
error: z.ZodNullable<z.ZodAny>;
|
|
13407
|
+
cancellationReason: z.ZodNullable<z.ZodString>;
|
|
13408
|
+
justEatThirdPartyOrderReferenceId: z.ZodNullable<z.ZodString>;
|
|
13409
|
+
createdAt: z.ZodString;
|
|
13410
|
+
processedAt: z.ZodNullable<z.ZodString>;
|
|
13411
|
+
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
13412
|
+
}, z.core.$strip>;
|
|
13413
|
+
readonly paginationDefaultEnabled = true;
|
|
12391
13414
|
private readonly integrationJustEatId;
|
|
12392
13415
|
constructor(integrationJustEatId: string, options?: {
|
|
12393
13416
|
query?: GetIntegrationJustEatOrdersQueryParams;
|
|
12394
13417
|
});
|
|
12395
13418
|
getPath(): string;
|
|
12396
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationJustEatOrder>;
|
|
12397
13419
|
}
|
|
12398
13420
|
|
|
12399
13421
|
declare const getIntegrationJustEatSyncMenuProcessDetailsInputSchema: z.ZodUndefined;
|
|
@@ -12450,9 +13472,9 @@ declare const getIntegrationJustEatSyncMenuProcessesResponseSchema: z.ZodObject<
|
|
|
12450
13472
|
}, z.core.$strip>;
|
|
12451
13473
|
type GetIntegrationJustEatSyncMenuProcessesResponse = z.infer<typeof getIntegrationJustEatSyncMenuProcessesResponseSchema>;
|
|
12452
13474
|
declare class GetIntegrationJustEatSyncMenuProcesses extends AbstractApiRequest<typeof getIntegrationJustEatSyncMenuProcessesInputSchema, typeof getIntegrationJustEatSyncMenuProcessesResponseSchema, GetIntegrationJustEatSyncMenuProcessesQueryParams> {
|
|
12453
|
-
readonly method
|
|
12454
|
-
readonly contentType
|
|
12455
|
-
readonly accept
|
|
13475
|
+
readonly method: "GET";
|
|
13476
|
+
readonly contentType: "application/json";
|
|
13477
|
+
readonly accept: "application/json";
|
|
12456
13478
|
readonly inputSchema: z.ZodUndefined;
|
|
12457
13479
|
readonly outputSchema: z.ZodObject<{
|
|
12458
13480
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -12474,12 +13496,18 @@ declare class GetIntegrationJustEatSyncMenuProcesses extends AbstractApiRequest<
|
|
|
12474
13496
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
12475
13497
|
}, z.core.$strip>;
|
|
12476
13498
|
readonly headersSchema: undefined;
|
|
13499
|
+
readonly listItemSchema: z.ZodObject<{
|
|
13500
|
+
id: z.ZodString;
|
|
13501
|
+
ingestionSucceeded: z.ZodNullable<z.ZodBoolean>;
|
|
13502
|
+
error: z.ZodNullable<z.ZodAny>;
|
|
13503
|
+
createdAt: z.ZodString;
|
|
13504
|
+
}, z.core.$strip>;
|
|
13505
|
+
readonly paginationDefaultEnabled = true;
|
|
12477
13506
|
private readonly integrationJustEatId;
|
|
12478
13507
|
constructor(integrationJustEatId: string, options?: {
|
|
12479
13508
|
query?: GetIntegrationJustEatSyncMenuProcessesQueryParams;
|
|
12480
13509
|
});
|
|
12481
13510
|
getPath(): string;
|
|
12482
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationJustEatSyncMenuProcess>;
|
|
12483
13511
|
}
|
|
12484
13512
|
|
|
12485
13513
|
declare const integrationJustEatSyncMenuInputSchema: z.ZodUndefined;
|