@deliverart/sdk-js-integration 2.6.0 → 2.6.1
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 +22 -22
- package/dist/index.d.cts +1432 -96
- package/dist/index.d.ts +1432 -96
- package/dist/index.js +44 -44
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -2673,7 +2673,7 @@ declare const getIntegrationActivationRequestsQuerySchema: z.ZodObject<{
|
|
|
2673
2673
|
type GetIntegrationActivationRequestsQueryParams = z.infer<typeof getIntegrationActivationRequestsQuerySchema>;
|
|
2674
2674
|
declare const getIntegrationActivationRequestsInputSchema: z.ZodUndefined;
|
|
2675
2675
|
type GetIntegrationActivationRequestsInput = z.infer<typeof getIntegrationActivationRequestsInputSchema>;
|
|
2676
|
-
declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
2676
|
+
declare const getIntegrationActivationRequestsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2677
2677
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2678
2678
|
service: z.ZodLiteral<"deliveroo">;
|
|
2679
2679
|
data: z.ZodObject<{
|
|
@@ -2853,14 +2853,184 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
|
2853
2853
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2854
2854
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2855
2855
|
}, z.core.$strip>;
|
|
2856
|
-
}, z.core.$strip
|
|
2856
|
+
}, z.core.$strip>, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2857
|
+
service: z.ZodLiteral<"deliveroo">;
|
|
2858
|
+
data: z.ZodObject<{
|
|
2859
|
+
brandId: z.ZodString;
|
|
2860
|
+
siteId: z.ZodString;
|
|
2861
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
2862
|
+
}, z.core.$strip>;
|
|
2863
|
+
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>>>;
|
|
2864
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2865
|
+
status: z.ZodEnum<{
|
|
2866
|
+
active: "active";
|
|
2867
|
+
waiting_for_user: "waiting_for_user";
|
|
2868
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2869
|
+
request_sent_partner: "request_sent_partner";
|
|
2870
|
+
failed: "failed";
|
|
2871
|
+
}>;
|
|
2872
|
+
healthStatus: z.ZodEnum<{
|
|
2873
|
+
error: "error";
|
|
2874
|
+
success: "success";
|
|
2875
|
+
waiting: "waiting";
|
|
2876
|
+
}>;
|
|
2877
|
+
provider: z.ZodEnum<{
|
|
2878
|
+
deliverart: "deliverart";
|
|
2879
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
2880
|
+
}>;
|
|
2881
|
+
createdAt: z.ZodString;
|
|
2882
|
+
updatedAt: z.ZodString;
|
|
2883
|
+
id: z.ZodString;
|
|
2884
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
2885
|
+
name: z.ZodString;
|
|
2886
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2887
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2888
|
+
status: z.ZodEnum<{
|
|
2889
|
+
active: "active";
|
|
2890
|
+
waiting_for_user: "waiting_for_user";
|
|
2891
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2892
|
+
request_sent_partner: "request_sent_partner";
|
|
2893
|
+
failed: "failed";
|
|
2894
|
+
}>;
|
|
2895
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2896
|
+
updatedAt: z.ZodString;
|
|
2897
|
+
}, z.core.$strip>>>>;
|
|
2898
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2899
|
+
service: z.ZodLiteral<"glovo">;
|
|
2900
|
+
data: z.ZodObject<{
|
|
2901
|
+
storeId: z.ZodString;
|
|
2902
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
2903
|
+
}, z.core.$strip>;
|
|
2904
|
+
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>>>;
|
|
2905
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2906
|
+
status: z.ZodEnum<{
|
|
2907
|
+
active: "active";
|
|
2908
|
+
waiting_for_user: "waiting_for_user";
|
|
2909
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2910
|
+
request_sent_partner: "request_sent_partner";
|
|
2911
|
+
failed: "failed";
|
|
2912
|
+
}>;
|
|
2913
|
+
healthStatus: z.ZodEnum<{
|
|
2914
|
+
error: "error";
|
|
2915
|
+
success: "success";
|
|
2916
|
+
waiting: "waiting";
|
|
2917
|
+
}>;
|
|
2918
|
+
provider: z.ZodEnum<{
|
|
2919
|
+
deliverart: "deliverart";
|
|
2920
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
2921
|
+
}>;
|
|
2922
|
+
createdAt: z.ZodString;
|
|
2923
|
+
updatedAt: z.ZodString;
|
|
2924
|
+
id: z.ZodString;
|
|
2925
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
2926
|
+
name: z.ZodString;
|
|
2927
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2928
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2929
|
+
status: z.ZodEnum<{
|
|
2930
|
+
active: "active";
|
|
2931
|
+
waiting_for_user: "waiting_for_user";
|
|
2932
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2933
|
+
request_sent_partner: "request_sent_partner";
|
|
2934
|
+
failed: "failed";
|
|
2935
|
+
}>;
|
|
2936
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2937
|
+
updatedAt: z.ZodString;
|
|
2938
|
+
}, z.core.$strip>>>>;
|
|
2939
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2940
|
+
service: z.ZodLiteral<"justeat">;
|
|
2941
|
+
data: z.ZodObject<{
|
|
2942
|
+
restaurantId: z.ZodString;
|
|
2943
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
2944
|
+
}, z.core.$strip>;
|
|
2945
|
+
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>>>;
|
|
2946
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2947
|
+
status: z.ZodEnum<{
|
|
2948
|
+
active: "active";
|
|
2949
|
+
waiting_for_user: "waiting_for_user";
|
|
2950
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2951
|
+
request_sent_partner: "request_sent_partner";
|
|
2952
|
+
failed: "failed";
|
|
2953
|
+
}>;
|
|
2954
|
+
healthStatus: z.ZodEnum<{
|
|
2955
|
+
error: "error";
|
|
2956
|
+
success: "success";
|
|
2957
|
+
waiting: "waiting";
|
|
2958
|
+
}>;
|
|
2959
|
+
provider: z.ZodEnum<{
|
|
2960
|
+
deliverart: "deliverart";
|
|
2961
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
2962
|
+
}>;
|
|
2963
|
+
createdAt: z.ZodString;
|
|
2964
|
+
updatedAt: z.ZodString;
|
|
2965
|
+
id: z.ZodString;
|
|
2966
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
2967
|
+
name: z.ZodString;
|
|
2968
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2969
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2970
|
+
status: z.ZodEnum<{
|
|
2971
|
+
active: "active";
|
|
2972
|
+
waiting_for_user: "waiting_for_user";
|
|
2973
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2974
|
+
request_sent_partner: "request_sent_partner";
|
|
2975
|
+
failed: "failed";
|
|
2976
|
+
}>;
|
|
2977
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2978
|
+
updatedAt: z.ZodString;
|
|
2979
|
+
}, z.core.$strip>>>>;
|
|
2980
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2981
|
+
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
2982
|
+
data: z.ZodObject<{
|
|
2983
|
+
apiKey: z.ZodString;
|
|
2984
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
2985
|
+
direction: z.ZodEnum<{
|
|
2986
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
2987
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
2988
|
+
}>;
|
|
2989
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
2990
|
+
}, z.core.$strip>;
|
|
2991
|
+
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>>>;
|
|
2992
|
+
message: z.ZodNullable<z.ZodString>;
|
|
2993
|
+
status: z.ZodEnum<{
|
|
2994
|
+
active: "active";
|
|
2995
|
+
waiting_for_user: "waiting_for_user";
|
|
2996
|
+
waiting_for_admin: "waiting_for_admin";
|
|
2997
|
+
request_sent_partner: "request_sent_partner";
|
|
2998
|
+
failed: "failed";
|
|
2999
|
+
}>;
|
|
3000
|
+
healthStatus: z.ZodEnum<{
|
|
3001
|
+
error: "error";
|
|
3002
|
+
success: "success";
|
|
3003
|
+
waiting: "waiting";
|
|
3004
|
+
}>;
|
|
3005
|
+
provider: z.ZodEnum<{
|
|
3006
|
+
deliverart: "deliverart";
|
|
3007
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3008
|
+
}>;
|
|
3009
|
+
createdAt: z.ZodString;
|
|
3010
|
+
updatedAt: z.ZodString;
|
|
3011
|
+
id: z.ZodString;
|
|
3012
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3013
|
+
name: z.ZodString;
|
|
3014
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3015
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3016
|
+
status: z.ZodEnum<{
|
|
3017
|
+
active: "active";
|
|
3018
|
+
waiting_for_user: "waiting_for_user";
|
|
3019
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3020
|
+
request_sent_partner: "request_sent_partner";
|
|
3021
|
+
failed: "failed";
|
|
3022
|
+
}>;
|
|
3023
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3024
|
+
updatedAt: z.ZodString;
|
|
3025
|
+
}, z.core.$strip>>>>;
|
|
3026
|
+
}, z.core.$strip>]>>]>;
|
|
2857
3027
|
type GetIntegrationActivationRequestsResponse = z.infer<typeof getIntegrationActivationRequestsResponseSchema>;
|
|
2858
3028
|
declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof getIntegrationActivationRequestsInputSchema, typeof getIntegrationActivationRequestsResponseSchema, GetIntegrationActivationRequestsQueryParams> {
|
|
2859
3029
|
readonly method: "GET";
|
|
2860
3030
|
readonly contentType: "application/json";
|
|
2861
3031
|
readonly accept: "application/json";
|
|
2862
3032
|
readonly inputSchema: z.ZodUndefined;
|
|
2863
|
-
readonly outputSchema: z.ZodObject<{
|
|
3033
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2864
3034
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2865
3035
|
service: z.ZodLiteral<"deliveroo">;
|
|
2866
3036
|
data: z.ZodObject<{
|
|
@@ -3040,7 +3210,177 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3040
3210
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3041
3211
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3042
3212
|
}, z.core.$strip>;
|
|
3043
|
-
}, z.core.$strip
|
|
3213
|
+
}, z.core.$strip>, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3214
|
+
service: z.ZodLiteral<"deliveroo">;
|
|
3215
|
+
data: z.ZodObject<{
|
|
3216
|
+
brandId: z.ZodString;
|
|
3217
|
+
siteId: z.ZodString;
|
|
3218
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3219
|
+
}, z.core.$strip>;
|
|
3220
|
+
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>>>;
|
|
3221
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3222
|
+
status: z.ZodEnum<{
|
|
3223
|
+
active: "active";
|
|
3224
|
+
waiting_for_user: "waiting_for_user";
|
|
3225
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3226
|
+
request_sent_partner: "request_sent_partner";
|
|
3227
|
+
failed: "failed";
|
|
3228
|
+
}>;
|
|
3229
|
+
healthStatus: z.ZodEnum<{
|
|
3230
|
+
error: "error";
|
|
3231
|
+
success: "success";
|
|
3232
|
+
waiting: "waiting";
|
|
3233
|
+
}>;
|
|
3234
|
+
provider: z.ZodEnum<{
|
|
3235
|
+
deliverart: "deliverart";
|
|
3236
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3237
|
+
}>;
|
|
3238
|
+
createdAt: z.ZodString;
|
|
3239
|
+
updatedAt: z.ZodString;
|
|
3240
|
+
id: z.ZodString;
|
|
3241
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3242
|
+
name: z.ZodString;
|
|
3243
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3244
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3245
|
+
status: z.ZodEnum<{
|
|
3246
|
+
active: "active";
|
|
3247
|
+
waiting_for_user: "waiting_for_user";
|
|
3248
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3249
|
+
request_sent_partner: "request_sent_partner";
|
|
3250
|
+
failed: "failed";
|
|
3251
|
+
}>;
|
|
3252
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3253
|
+
updatedAt: z.ZodString;
|
|
3254
|
+
}, z.core.$strip>>>>;
|
|
3255
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3256
|
+
service: z.ZodLiteral<"glovo">;
|
|
3257
|
+
data: z.ZodObject<{
|
|
3258
|
+
storeId: z.ZodString;
|
|
3259
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3260
|
+
}, z.core.$strip>;
|
|
3261
|
+
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>>>;
|
|
3262
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3263
|
+
status: z.ZodEnum<{
|
|
3264
|
+
active: "active";
|
|
3265
|
+
waiting_for_user: "waiting_for_user";
|
|
3266
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3267
|
+
request_sent_partner: "request_sent_partner";
|
|
3268
|
+
failed: "failed";
|
|
3269
|
+
}>;
|
|
3270
|
+
healthStatus: z.ZodEnum<{
|
|
3271
|
+
error: "error";
|
|
3272
|
+
success: "success";
|
|
3273
|
+
waiting: "waiting";
|
|
3274
|
+
}>;
|
|
3275
|
+
provider: z.ZodEnum<{
|
|
3276
|
+
deliverart: "deliverart";
|
|
3277
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3278
|
+
}>;
|
|
3279
|
+
createdAt: z.ZodString;
|
|
3280
|
+
updatedAt: z.ZodString;
|
|
3281
|
+
id: z.ZodString;
|
|
3282
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3283
|
+
name: z.ZodString;
|
|
3284
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3285
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3286
|
+
status: z.ZodEnum<{
|
|
3287
|
+
active: "active";
|
|
3288
|
+
waiting_for_user: "waiting_for_user";
|
|
3289
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3290
|
+
request_sent_partner: "request_sent_partner";
|
|
3291
|
+
failed: "failed";
|
|
3292
|
+
}>;
|
|
3293
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3294
|
+
updatedAt: z.ZodString;
|
|
3295
|
+
}, z.core.$strip>>>>;
|
|
3296
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3297
|
+
service: z.ZodLiteral<"justeat">;
|
|
3298
|
+
data: z.ZodObject<{
|
|
3299
|
+
restaurantId: z.ZodString;
|
|
3300
|
+
salesModeId: z.ZodNullable<z.ZodString>;
|
|
3301
|
+
}, z.core.$strip>;
|
|
3302
|
+
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>>>;
|
|
3303
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3304
|
+
status: z.ZodEnum<{
|
|
3305
|
+
active: "active";
|
|
3306
|
+
waiting_for_user: "waiting_for_user";
|
|
3307
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3308
|
+
request_sent_partner: "request_sent_partner";
|
|
3309
|
+
failed: "failed";
|
|
3310
|
+
}>;
|
|
3311
|
+
healthStatus: z.ZodEnum<{
|
|
3312
|
+
error: "error";
|
|
3313
|
+
success: "success";
|
|
3314
|
+
waiting: "waiting";
|
|
3315
|
+
}>;
|
|
3316
|
+
provider: z.ZodEnum<{
|
|
3317
|
+
deliverart: "deliverart";
|
|
3318
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3319
|
+
}>;
|
|
3320
|
+
createdAt: z.ZodString;
|
|
3321
|
+
updatedAt: z.ZodString;
|
|
3322
|
+
id: z.ZodString;
|
|
3323
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3324
|
+
name: z.ZodString;
|
|
3325
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3326
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3327
|
+
status: z.ZodEnum<{
|
|
3328
|
+
active: "active";
|
|
3329
|
+
waiting_for_user: "waiting_for_user";
|
|
3330
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3331
|
+
request_sent_partner: "request_sent_partner";
|
|
3332
|
+
failed: "failed";
|
|
3333
|
+
}>;
|
|
3334
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3335
|
+
updatedAt: z.ZodString;
|
|
3336
|
+
}, z.core.$strip>>>>;
|
|
3337
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3338
|
+
service: z.ZodLiteral<"cassa_in_cloud">;
|
|
3339
|
+
data: z.ZodObject<{
|
|
3340
|
+
apiKey: z.ZodString;
|
|
3341
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
3342
|
+
direction: z.ZodEnum<{
|
|
3343
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
3344
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
3345
|
+
}>;
|
|
3346
|
+
locale: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
3347
|
+
}, z.core.$strip>;
|
|
3348
|
+
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>>>;
|
|
3349
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3350
|
+
status: z.ZodEnum<{
|
|
3351
|
+
active: "active";
|
|
3352
|
+
waiting_for_user: "waiting_for_user";
|
|
3353
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3354
|
+
request_sent_partner: "request_sent_partner";
|
|
3355
|
+
failed: "failed";
|
|
3356
|
+
}>;
|
|
3357
|
+
healthStatus: z.ZodEnum<{
|
|
3358
|
+
error: "error";
|
|
3359
|
+
success: "success";
|
|
3360
|
+
waiting: "waiting";
|
|
3361
|
+
}>;
|
|
3362
|
+
provider: z.ZodEnum<{
|
|
3363
|
+
deliverart: "deliverart";
|
|
3364
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3365
|
+
}>;
|
|
3366
|
+
createdAt: z.ZodString;
|
|
3367
|
+
updatedAt: z.ZodString;
|
|
3368
|
+
id: z.ZodString;
|
|
3369
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3370
|
+
name: z.ZodString;
|
|
3371
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3372
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3373
|
+
status: z.ZodEnum<{
|
|
3374
|
+
active: "active";
|
|
3375
|
+
waiting_for_user: "waiting_for_user";
|
|
3376
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3377
|
+
request_sent_partner: "request_sent_partner";
|
|
3378
|
+
failed: "failed";
|
|
3379
|
+
}>;
|
|
3380
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3381
|
+
updatedAt: z.ZodString;
|
|
3382
|
+
}, z.core.$strip>>>>;
|
|
3383
|
+
}, z.core.$strip>]>>]>;
|
|
3044
3384
|
readonly querySchema: z.ZodObject<{
|
|
3045
3385
|
'order[service]': z.ZodOptional<z.ZodEnum<{
|
|
3046
3386
|
asc: "asc";
|
|
@@ -5408,7 +5748,7 @@ declare const getIntegrationCancellationRequestsQuerySchema: z.ZodObject<{
|
|
|
5408
5748
|
type GetIntegrationCancellationRequestsQueryParams = z.infer<typeof getIntegrationCancellationRequestsQuerySchema>;
|
|
5409
5749
|
declare const getIntegrationCancellationRequestsInputSchema: z.ZodUndefined;
|
|
5410
5750
|
type GetIntegrationCancellationRequestsInput = z.input<typeof getIntegrationCancellationRequestsInputSchema>;
|
|
5411
|
-
declare const getIntegrationCancellationRequestsResponseSchema: z.ZodObject<{
|
|
5751
|
+
declare const getIntegrationCancellationRequestsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
5412
5752
|
data: z.ZodArray<z.ZodObject<{
|
|
5413
5753
|
id: z.ZodString;
|
|
5414
5754
|
status: z.ZodEnum<{
|
|
@@ -5427,14 +5767,23 @@ declare const getIntegrationCancellationRequestsResponseSchema: z.ZodObject<{
|
|
|
5427
5767
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5428
5768
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5429
5769
|
}, z.core.$strip>;
|
|
5430
|
-
}, z.core.$strip
|
|
5770
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
5771
|
+
id: z.ZodString;
|
|
5772
|
+
status: z.ZodEnum<{
|
|
5773
|
+
pending: "pending";
|
|
5774
|
+
aborted: "aborted";
|
|
5775
|
+
completed: "completed";
|
|
5776
|
+
}>;
|
|
5777
|
+
createdAt: z.ZodString;
|
|
5778
|
+
updatedAt: z.ZodString;
|
|
5779
|
+
}, z.core.$strip>>]>;
|
|
5431
5780
|
type GetIntegrationCancellationRequestsResponse = z.infer<typeof getIntegrationCancellationRequestsResponseSchema>;
|
|
5432
5781
|
declare class GetIntegrationCancellationRequests extends AbstractApiRequest<typeof getIntegrationCancellationRequestsInputSchema, typeof getIntegrationCancellationRequestsResponseSchema, GetIntegrationCancellationRequestsQueryParams> {
|
|
5433
5782
|
readonly method: "GET";
|
|
5434
5783
|
readonly contentType: "application/json";
|
|
5435
5784
|
readonly accept: "application/json";
|
|
5436
5785
|
readonly inputSchema: z.ZodUndefined;
|
|
5437
|
-
readonly outputSchema: z.ZodObject<{
|
|
5786
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
5438
5787
|
data: z.ZodArray<z.ZodObject<{
|
|
5439
5788
|
id: z.ZodString;
|
|
5440
5789
|
status: z.ZodEnum<{
|
|
@@ -5453,7 +5802,16 @@ declare class GetIntegrationCancellationRequests extends AbstractApiRequest<type
|
|
|
5453
5802
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5454
5803
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5455
5804
|
}, z.core.$strip>;
|
|
5456
|
-
}, z.core.$strip
|
|
5805
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
5806
|
+
id: z.ZodString;
|
|
5807
|
+
status: z.ZodEnum<{
|
|
5808
|
+
pending: "pending";
|
|
5809
|
+
aborted: "aborted";
|
|
5810
|
+
completed: "completed";
|
|
5811
|
+
}>;
|
|
5812
|
+
createdAt: z.ZodString;
|
|
5813
|
+
updatedAt: z.ZodString;
|
|
5814
|
+
}, z.core.$strip>>]>;
|
|
5457
5815
|
readonly querySchema: z.ZodObject<{
|
|
5458
5816
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
5459
5817
|
asc: "asc";
|
|
@@ -5912,7 +6270,7 @@ declare const getIntegrationsQuerySchema: z.ZodObject<{
|
|
|
5912
6270
|
type GetIntegrationsQueryParams = z.infer<typeof getIntegrationsQuerySchema>;
|
|
5913
6271
|
declare const getIntegrationsInputSchema: z.ZodUndefined;
|
|
5914
6272
|
type GetIntegrationsInput = z.infer<typeof getIntegrationsInputSchema>;
|
|
5915
|
-
declare const getIntegrationsResponseSchema: z.ZodObject<{
|
|
6273
|
+
declare const getIntegrationsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
5916
6274
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5917
6275
|
status: z.ZodEnum<{
|
|
5918
6276
|
pending: "pending";
|
|
@@ -6089,14 +6447,181 @@ declare const getIntegrationsResponseSchema: z.ZodObject<{
|
|
|
6089
6447
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
6090
6448
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
6091
6449
|
}, z.core.$strip>;
|
|
6092
|
-
}, z.core.$strip
|
|
6450
|
+
}, z.core.$strip>, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6451
|
+
status: z.ZodEnum<{
|
|
6452
|
+
pending: "pending";
|
|
6453
|
+
active: "active";
|
|
6454
|
+
deleting: "deleting";
|
|
6455
|
+
}>;
|
|
6456
|
+
provider: z.ZodEnum<{
|
|
6457
|
+
deliverart: "deliverart";
|
|
6458
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6459
|
+
}>;
|
|
6460
|
+
createdAt: z.ZodString;
|
|
6461
|
+
updatedAt: z.ZodString;
|
|
6462
|
+
id: z.ZodString;
|
|
6463
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6464
|
+
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>>;
|
|
6465
|
+
name: z.ZodString;
|
|
6466
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6467
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6468
|
+
importTaggedItems: z.ZodBoolean;
|
|
6469
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6470
|
+
isValidMenu: z.ZodBoolean;
|
|
6471
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6472
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6473
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6474
|
+
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>>]>;
|
|
6475
|
+
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>>;
|
|
6476
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6477
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6478
|
+
invalid_menu: "invalid_menu";
|
|
6479
|
+
}>>;
|
|
6480
|
+
syncType: z.ZodEnum<{
|
|
6481
|
+
ALL: "ALL";
|
|
6482
|
+
DELIVERY: "DELIVERY";
|
|
6483
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
6484
|
+
}>;
|
|
6485
|
+
defaultLanguage: z.ZodString;
|
|
6486
|
+
restaurantId: z.ZodString;
|
|
6487
|
+
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
6488
|
+
service: z.ZodEnum<{
|
|
6489
|
+
justeat: "justeat";
|
|
6490
|
+
}>;
|
|
6491
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
6492
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
6493
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
6494
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6495
|
+
status: z.ZodEnum<{
|
|
6496
|
+
pending: "pending";
|
|
6497
|
+
active: "active";
|
|
6498
|
+
deleting: "deleting";
|
|
6499
|
+
}>;
|
|
6500
|
+
provider: z.ZodEnum<{
|
|
6501
|
+
deliverart: "deliverart";
|
|
6502
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6503
|
+
}>;
|
|
6504
|
+
createdAt: z.ZodString;
|
|
6505
|
+
updatedAt: z.ZodString;
|
|
6506
|
+
id: z.ZodString;
|
|
6507
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6508
|
+
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>>;
|
|
6509
|
+
name: z.ZodString;
|
|
6510
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6511
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6512
|
+
importTaggedItems: z.ZodBoolean;
|
|
6513
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6514
|
+
isValidMenu: z.ZodBoolean;
|
|
6515
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6516
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6517
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6518
|
+
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>>]>;
|
|
6519
|
+
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>>;
|
|
6520
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6521
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6522
|
+
invalid_menu: "invalid_menu";
|
|
6523
|
+
}>>;
|
|
6524
|
+
brandId: z.ZodString;
|
|
6525
|
+
siteId: z.ZodString;
|
|
6526
|
+
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>>;
|
|
6527
|
+
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
6528
|
+
service: z.ZodEnum<{
|
|
6529
|
+
deliveroo: "deliveroo";
|
|
6530
|
+
}>;
|
|
6531
|
+
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
6532
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
6533
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
6534
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6535
|
+
status: z.ZodEnum<{
|
|
6536
|
+
pending: "pending";
|
|
6537
|
+
active: "active";
|
|
6538
|
+
deleting: "deleting";
|
|
6539
|
+
}>;
|
|
6540
|
+
provider: z.ZodEnum<{
|
|
6541
|
+
deliverart: "deliverart";
|
|
6542
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6543
|
+
}>;
|
|
6544
|
+
createdAt: z.ZodString;
|
|
6545
|
+
updatedAt: z.ZodString;
|
|
6546
|
+
id: z.ZodString;
|
|
6547
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6548
|
+
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>>;
|
|
6549
|
+
name: z.ZodString;
|
|
6550
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6551
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6552
|
+
importTaggedItems: z.ZodBoolean;
|
|
6553
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6554
|
+
isValidMenu: z.ZodBoolean;
|
|
6555
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6556
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6557
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6558
|
+
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>>]>;
|
|
6559
|
+
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>>;
|
|
6560
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6561
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6562
|
+
invalid_menu: "invalid_menu";
|
|
6563
|
+
}>>;
|
|
6564
|
+
storeId: z.ZodString;
|
|
6565
|
+
locale: z.ZodString;
|
|
6566
|
+
pendingMenuChanges: z.ZodBoolean;
|
|
6567
|
+
service: z.ZodEnum<{
|
|
6568
|
+
glovo: "glovo";
|
|
6569
|
+
}>;
|
|
6570
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6571
|
+
status: z.ZodEnum<{
|
|
6572
|
+
pending: "pending";
|
|
6573
|
+
active: "active";
|
|
6574
|
+
deleting: "deleting";
|
|
6575
|
+
}>;
|
|
6576
|
+
provider: z.ZodEnum<{
|
|
6577
|
+
deliverart: "deliverart";
|
|
6578
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6579
|
+
}>;
|
|
6580
|
+
createdAt: z.ZodString;
|
|
6581
|
+
updatedAt: z.ZodString;
|
|
6582
|
+
id: z.ZodString;
|
|
6583
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6584
|
+
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>>;
|
|
6585
|
+
errors: z.ZodArray<z.ZodString>;
|
|
6586
|
+
finalized: z.ZodBoolean;
|
|
6587
|
+
apiKey: z.ZodString;
|
|
6588
|
+
service: z.ZodEnum<{
|
|
6589
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6590
|
+
}>;
|
|
6591
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
6592
|
+
direction: z.ZodEnum<{
|
|
6593
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6594
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6595
|
+
}>;
|
|
6596
|
+
locale: z.ZodString;
|
|
6597
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6598
|
+
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
6599
|
+
syncSettings: z.ZodObject<{
|
|
6600
|
+
externalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
6601
|
+
internalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
6602
|
+
skipSyncProductDescription: z.ZodDefault<z.ZodBoolean>;
|
|
6603
|
+
skipSyncTimetables: z.ZodDefault<z.ZodBoolean>;
|
|
6604
|
+
missingComponentStrategy: z.ZodDefault<z.ZodEnum<{
|
|
6605
|
+
SKIP_ITEM: "SKIP_ITEM";
|
|
6606
|
+
CANCEL_PRODUCT: "CANCEL_PRODUCT";
|
|
6607
|
+
}>>;
|
|
6608
|
+
}, z.core.$strip>;
|
|
6609
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
6610
|
+
RISTO: "RISTO";
|
|
6611
|
+
SALE: "SALE";
|
|
6612
|
+
ECOMMERCE: "ECOMMERCE";
|
|
6613
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6614
|
+
SELF_ORDER: "SELF_ORDER";
|
|
6615
|
+
KIOSK: "KIOSK";
|
|
6616
|
+
}>>;
|
|
6617
|
+
}, z.core.$strip>]>>]>;
|
|
6093
6618
|
type GetIntegrationsResponse = z.infer<typeof getIntegrationsResponseSchema>;
|
|
6094
6619
|
declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsInputSchema, typeof getIntegrationsResponseSchema, GetIntegrationsQueryParams> {
|
|
6095
6620
|
readonly method: "GET";
|
|
6096
6621
|
readonly contentType: "application/json";
|
|
6097
6622
|
readonly accept: "application/json";
|
|
6098
6623
|
readonly inputSchema: z.ZodUndefined;
|
|
6099
|
-
readonly outputSchema: z.ZodObject<{
|
|
6624
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
6100
6625
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6101
6626
|
status: z.ZodEnum<{
|
|
6102
6627
|
pending: "pending";
|
|
@@ -6264,16 +6789,183 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
|
|
|
6264
6789
|
SELF_ORDER: "SELF_ORDER";
|
|
6265
6790
|
KIOSK: "KIOSK";
|
|
6266
6791
|
}>>;
|
|
6267
|
-
}, z.core.$strip>]>>;
|
|
6268
|
-
pagination: z.ZodObject<{
|
|
6269
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
6270
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
6271
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
6272
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
6273
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
6274
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
6792
|
+
}, z.core.$strip>]>>;
|
|
6793
|
+
pagination: z.ZodObject<{
|
|
6794
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
6795
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
6796
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
6797
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
6798
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
6799
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
6800
|
+
}, z.core.$strip>;
|
|
6801
|
+
}, z.core.$strip>, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6802
|
+
status: z.ZodEnum<{
|
|
6803
|
+
pending: "pending";
|
|
6804
|
+
active: "active";
|
|
6805
|
+
deleting: "deleting";
|
|
6806
|
+
}>;
|
|
6807
|
+
provider: z.ZodEnum<{
|
|
6808
|
+
deliverart: "deliverart";
|
|
6809
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6810
|
+
}>;
|
|
6811
|
+
createdAt: z.ZodString;
|
|
6812
|
+
updatedAt: z.ZodString;
|
|
6813
|
+
id: z.ZodString;
|
|
6814
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6815
|
+
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>>;
|
|
6816
|
+
name: z.ZodString;
|
|
6817
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6818
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6819
|
+
importTaggedItems: z.ZodBoolean;
|
|
6820
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6821
|
+
isValidMenu: z.ZodBoolean;
|
|
6822
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6823
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6824
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6825
|
+
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>>]>;
|
|
6826
|
+
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>>;
|
|
6827
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6828
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6829
|
+
invalid_menu: "invalid_menu";
|
|
6830
|
+
}>>;
|
|
6831
|
+
syncType: z.ZodEnum<{
|
|
6832
|
+
ALL: "ALL";
|
|
6833
|
+
DELIVERY: "DELIVERY";
|
|
6834
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
6835
|
+
}>;
|
|
6836
|
+
defaultLanguage: z.ZodString;
|
|
6837
|
+
restaurantId: z.ZodString;
|
|
6838
|
+
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
6839
|
+
service: z.ZodEnum<{
|
|
6840
|
+
justeat: "justeat";
|
|
6841
|
+
}>;
|
|
6842
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
6843
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
6844
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
6845
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6846
|
+
status: z.ZodEnum<{
|
|
6847
|
+
pending: "pending";
|
|
6848
|
+
active: "active";
|
|
6849
|
+
deleting: "deleting";
|
|
6850
|
+
}>;
|
|
6851
|
+
provider: z.ZodEnum<{
|
|
6852
|
+
deliverart: "deliverart";
|
|
6853
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6854
|
+
}>;
|
|
6855
|
+
createdAt: z.ZodString;
|
|
6856
|
+
updatedAt: z.ZodString;
|
|
6857
|
+
id: z.ZodString;
|
|
6858
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6859
|
+
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>>;
|
|
6860
|
+
name: z.ZodString;
|
|
6861
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6862
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6863
|
+
importTaggedItems: z.ZodBoolean;
|
|
6864
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6865
|
+
isValidMenu: z.ZodBoolean;
|
|
6866
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6867
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6868
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6869
|
+
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>>]>;
|
|
6870
|
+
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>>;
|
|
6871
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6872
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6873
|
+
invalid_menu: "invalid_menu";
|
|
6874
|
+
}>>;
|
|
6875
|
+
brandId: z.ZodString;
|
|
6876
|
+
siteId: z.ZodString;
|
|
6877
|
+
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>>;
|
|
6878
|
+
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
6879
|
+
service: z.ZodEnum<{
|
|
6880
|
+
deliveroo: "deliveroo";
|
|
6881
|
+
}>;
|
|
6882
|
+
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
6883
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
6884
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
6885
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6886
|
+
status: z.ZodEnum<{
|
|
6887
|
+
pending: "pending";
|
|
6888
|
+
active: "active";
|
|
6889
|
+
deleting: "deleting";
|
|
6890
|
+
}>;
|
|
6891
|
+
provider: z.ZodEnum<{
|
|
6892
|
+
deliverart: "deliverart";
|
|
6893
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6894
|
+
}>;
|
|
6895
|
+
createdAt: z.ZodString;
|
|
6896
|
+
updatedAt: z.ZodString;
|
|
6897
|
+
id: z.ZodString;
|
|
6898
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6899
|
+
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>>;
|
|
6900
|
+
name: z.ZodString;
|
|
6901
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6902
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6903
|
+
importTaggedItems: z.ZodBoolean;
|
|
6904
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6905
|
+
isValidMenu: z.ZodBoolean;
|
|
6906
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6907
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6908
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6909
|
+
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>>]>;
|
|
6910
|
+
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>>;
|
|
6911
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6912
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6913
|
+
invalid_menu: "invalid_menu";
|
|
6914
|
+
}>>;
|
|
6915
|
+
storeId: z.ZodString;
|
|
6916
|
+
locale: z.ZodString;
|
|
6917
|
+
pendingMenuChanges: z.ZodBoolean;
|
|
6918
|
+
service: z.ZodEnum<{
|
|
6919
|
+
glovo: "glovo";
|
|
6920
|
+
}>;
|
|
6921
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6922
|
+
status: z.ZodEnum<{
|
|
6923
|
+
pending: "pending";
|
|
6924
|
+
active: "active";
|
|
6925
|
+
deleting: "deleting";
|
|
6926
|
+
}>;
|
|
6927
|
+
provider: z.ZodEnum<{
|
|
6928
|
+
deliverart: "deliverart";
|
|
6929
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6930
|
+
}>;
|
|
6931
|
+
createdAt: z.ZodString;
|
|
6932
|
+
updatedAt: z.ZodString;
|
|
6933
|
+
id: z.ZodString;
|
|
6934
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6935
|
+
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>>;
|
|
6936
|
+
errors: z.ZodArray<z.ZodString>;
|
|
6937
|
+
finalized: z.ZodBoolean;
|
|
6938
|
+
apiKey: z.ZodString;
|
|
6939
|
+
service: z.ZodEnum<{
|
|
6940
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6941
|
+
}>;
|
|
6942
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
6943
|
+
direction: z.ZodEnum<{
|
|
6944
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6945
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6946
|
+
}>;
|
|
6947
|
+
locale: z.ZodString;
|
|
6948
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6949
|
+
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
6950
|
+
syncSettings: z.ZodObject<{
|
|
6951
|
+
externalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
6952
|
+
internalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
6953
|
+
skipSyncProductDescription: z.ZodDefault<z.ZodBoolean>;
|
|
6954
|
+
skipSyncTimetables: z.ZodDefault<z.ZodBoolean>;
|
|
6955
|
+
missingComponentStrategy: z.ZodDefault<z.ZodEnum<{
|
|
6956
|
+
SKIP_ITEM: "SKIP_ITEM";
|
|
6957
|
+
CANCEL_PRODUCT: "CANCEL_PRODUCT";
|
|
6958
|
+
}>>;
|
|
6275
6959
|
}, z.core.$strip>;
|
|
6276
|
-
|
|
6960
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
6961
|
+
RISTO: "RISTO";
|
|
6962
|
+
SALE: "SALE";
|
|
6963
|
+
ECOMMERCE: "ECOMMERCE";
|
|
6964
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6965
|
+
SELF_ORDER: "SELF_ORDER";
|
|
6966
|
+
KIOSK: "KIOSK";
|
|
6967
|
+
}>>;
|
|
6968
|
+
}, z.core.$strip>]>>]>;
|
|
6277
6969
|
readonly querySchema: z.ZodObject<{
|
|
6278
6970
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6279
6971
|
pending: "pending";
|
|
@@ -8627,7 +9319,7 @@ declare const getIntegrationCassaInCloudClientLogRequestsQuerySchema: z.ZodObjec
|
|
|
8627
9319
|
type GetIntegrationCassaInCloudClientLogRequestsQueryParams = ClientLogRequestQuery;
|
|
8628
9320
|
declare const getIntegrationCassaInCloudClientLogRequestsInputSchema: z.ZodUndefined;
|
|
8629
9321
|
type GetIntegrationCassaInCloudClientLogRequestsInput = z.infer<typeof getIntegrationCassaInCloudClientLogRequestsInputSchema>;
|
|
8630
|
-
declare const getIntegrationCassaInCloudClientLogRequestsResponseSchema: z.ZodObject<{
|
|
9322
|
+
declare const getIntegrationCassaInCloudClientLogRequestsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
8631
9323
|
data: z.ZodArray<z.ZodObject<{
|
|
8632
9324
|
id: z.ZodString;
|
|
8633
9325
|
url: z.ZodString;
|
|
@@ -8649,14 +9341,26 @@ declare const getIntegrationCassaInCloudClientLogRequestsResponseSchema: z.ZodOb
|
|
|
8649
9341
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
8650
9342
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
8651
9343
|
}, z.core.$strip>;
|
|
8652
|
-
}, z.core.$strip
|
|
9344
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
9345
|
+
id: z.ZodString;
|
|
9346
|
+
url: z.ZodString;
|
|
9347
|
+
method: z.ZodEnum<{
|
|
9348
|
+
DELETE: "DELETE";
|
|
9349
|
+
GET: "GET";
|
|
9350
|
+
PATCH: "PATCH";
|
|
9351
|
+
POST: "POST";
|
|
9352
|
+
PUT: "PUT";
|
|
9353
|
+
}>;
|
|
9354
|
+
statusCode: z.ZodCoercedNumber<unknown>;
|
|
9355
|
+
createdAt: z.ZodString;
|
|
9356
|
+
}, z.core.$strip>>]>;
|
|
8653
9357
|
type GetIntegrationCassaInCloudClientLogRequestsResponse = z.infer<typeof getIntegrationCassaInCloudClientLogRequestsResponseSchema>;
|
|
8654
9358
|
declare class GetIntegrationCassaInCloudClientLogRequests extends AbstractApiRequest<typeof getIntegrationCassaInCloudClientLogRequestsInputSchema, typeof getIntegrationCassaInCloudClientLogRequestsResponseSchema, GetIntegrationCassaInCloudClientLogRequestsQueryParams> {
|
|
8655
9359
|
readonly method: "GET";
|
|
8656
9360
|
readonly contentType: "application/json";
|
|
8657
9361
|
readonly accept: "application/json";
|
|
8658
9362
|
readonly inputSchema: z.ZodUndefined;
|
|
8659
|
-
readonly outputSchema: z.ZodObject<{
|
|
9363
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
8660
9364
|
data: z.ZodArray<z.ZodObject<{
|
|
8661
9365
|
id: z.ZodString;
|
|
8662
9366
|
url: z.ZodString;
|
|
@@ -8678,7 +9382,19 @@ declare class GetIntegrationCassaInCloudClientLogRequests extends AbstractApiReq
|
|
|
8678
9382
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
8679
9383
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
8680
9384
|
}, z.core.$strip>;
|
|
8681
|
-
}, z.core.$strip
|
|
9385
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
9386
|
+
id: z.ZodString;
|
|
9387
|
+
url: z.ZodString;
|
|
9388
|
+
method: z.ZodEnum<{
|
|
9389
|
+
DELETE: "DELETE";
|
|
9390
|
+
GET: "GET";
|
|
9391
|
+
PATCH: "PATCH";
|
|
9392
|
+
POST: "POST";
|
|
9393
|
+
PUT: "PUT";
|
|
9394
|
+
}>;
|
|
9395
|
+
statusCode: z.ZodCoercedNumber<unknown>;
|
|
9396
|
+
createdAt: z.ZodString;
|
|
9397
|
+
}, z.core.$strip>>]>;
|
|
8682
9398
|
readonly querySchema: z.ZodObject<{
|
|
8683
9399
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
8684
9400
|
asc: "asc";
|
|
@@ -8895,7 +9611,7 @@ declare const getIntegrationCassaInCloudListQuerySchema: z.ZodObject<{
|
|
|
8895
9611
|
type GetIntegrationCassaInCloudListQueryParams = z.infer<typeof getIntegrationCassaInCloudListQuerySchema>;
|
|
8896
9612
|
declare const getIntegrationCassaInCloudListInputSchema: z.ZodUndefined;
|
|
8897
9613
|
type GetIntegrationCassaInCloudListInput = z.infer<typeof getIntegrationCassaInCloudListInputSchema>;
|
|
8898
|
-
declare const getIntegrationCassaInCloudListResponseSchema: z.ZodObject<{
|
|
9614
|
+
declare const getIntegrationCassaInCloudListResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
8899
9615
|
data: z.ZodArray<z.ZodObject<{
|
|
8900
9616
|
status: z.ZodEnum<{
|
|
8901
9617
|
pending: "pending";
|
|
@@ -8952,14 +9668,61 @@ declare const getIntegrationCassaInCloudListResponseSchema: z.ZodObject<{
|
|
|
8952
9668
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
8953
9669
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
8954
9670
|
}, z.core.$strip>;
|
|
8955
|
-
}, z.core.$strip
|
|
9671
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
9672
|
+
status: z.ZodEnum<{
|
|
9673
|
+
pending: "pending";
|
|
9674
|
+
active: "active";
|
|
9675
|
+
deleting: "deleting";
|
|
9676
|
+
}>;
|
|
9677
|
+
provider: z.ZodEnum<{
|
|
9678
|
+
deliverart: "deliverart";
|
|
9679
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
9680
|
+
}>;
|
|
9681
|
+
createdAt: z.ZodString;
|
|
9682
|
+
updatedAt: z.ZodString;
|
|
9683
|
+
id: z.ZodString;
|
|
9684
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
9685
|
+
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>>;
|
|
9686
|
+
errors: z.ZodArray<z.ZodString>;
|
|
9687
|
+
finalized: z.ZodBoolean;
|
|
9688
|
+
apiKey: z.ZodString;
|
|
9689
|
+
service: z.ZodEnum<{
|
|
9690
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
9691
|
+
}>;
|
|
9692
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
9693
|
+
direction: z.ZodEnum<{
|
|
9694
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
9695
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
9696
|
+
}>;
|
|
9697
|
+
locale: z.ZodString;
|
|
9698
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
9699
|
+
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
9700
|
+
syncSettings: z.ZodObject<{
|
|
9701
|
+
externalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
9702
|
+
internalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
9703
|
+
skipSyncProductDescription: z.ZodDefault<z.ZodBoolean>;
|
|
9704
|
+
skipSyncTimetables: z.ZodDefault<z.ZodBoolean>;
|
|
9705
|
+
missingComponentStrategy: z.ZodDefault<z.ZodEnum<{
|
|
9706
|
+
SKIP_ITEM: "SKIP_ITEM";
|
|
9707
|
+
CANCEL_PRODUCT: "CANCEL_PRODUCT";
|
|
9708
|
+
}>>;
|
|
9709
|
+
}, z.core.$strip>;
|
|
9710
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
9711
|
+
RISTO: "RISTO";
|
|
9712
|
+
SALE: "SALE";
|
|
9713
|
+
ECOMMERCE: "ECOMMERCE";
|
|
9714
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
9715
|
+
SELF_ORDER: "SELF_ORDER";
|
|
9716
|
+
KIOSK: "KIOSK";
|
|
9717
|
+
}>>;
|
|
9718
|
+
}, z.core.$strip>>]>;
|
|
8956
9719
|
type GetIntegrationCassaInCloudListResponse = z.infer<typeof getIntegrationCassaInCloudListResponseSchema>;
|
|
8957
9720
|
declare class GetIntegrationCassaInCloudList extends AbstractApiRequest<typeof getIntegrationCassaInCloudListInputSchema, typeof getIntegrationCassaInCloudListResponseSchema, GetIntegrationCassaInCloudListQueryParams> {
|
|
8958
9721
|
readonly method: "GET";
|
|
8959
9722
|
readonly contentType: "application/json";
|
|
8960
9723
|
readonly accept: "application/json";
|
|
8961
9724
|
readonly inputSchema: z.ZodUndefined;
|
|
8962
|
-
readonly outputSchema: z.ZodObject<{
|
|
9725
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
8963
9726
|
data: z.ZodArray<z.ZodObject<{
|
|
8964
9727
|
status: z.ZodEnum<{
|
|
8965
9728
|
pending: "pending";
|
|
@@ -9016,7 +9779,54 @@ declare class GetIntegrationCassaInCloudList extends AbstractApiRequest<typeof g
|
|
|
9016
9779
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
9017
9780
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
9018
9781
|
}, z.core.$strip>;
|
|
9019
|
-
}, z.core.$strip
|
|
9782
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
9783
|
+
status: z.ZodEnum<{
|
|
9784
|
+
pending: "pending";
|
|
9785
|
+
active: "active";
|
|
9786
|
+
deleting: "deleting";
|
|
9787
|
+
}>;
|
|
9788
|
+
provider: z.ZodEnum<{
|
|
9789
|
+
deliverart: "deliverart";
|
|
9790
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
9791
|
+
}>;
|
|
9792
|
+
createdAt: z.ZodString;
|
|
9793
|
+
updatedAt: z.ZodString;
|
|
9794
|
+
id: z.ZodString;
|
|
9795
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
9796
|
+
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>>;
|
|
9797
|
+
errors: z.ZodArray<z.ZodString>;
|
|
9798
|
+
finalized: z.ZodBoolean;
|
|
9799
|
+
apiKey: z.ZodString;
|
|
9800
|
+
service: z.ZodEnum<{
|
|
9801
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
9802
|
+
}>;
|
|
9803
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
9804
|
+
direction: z.ZodEnum<{
|
|
9805
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
9806
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
9807
|
+
}>;
|
|
9808
|
+
locale: z.ZodString;
|
|
9809
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
9810
|
+
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
9811
|
+
syncSettings: z.ZodObject<{
|
|
9812
|
+
externalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
9813
|
+
internalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
9814
|
+
skipSyncProductDescription: z.ZodDefault<z.ZodBoolean>;
|
|
9815
|
+
skipSyncTimetables: z.ZodDefault<z.ZodBoolean>;
|
|
9816
|
+
missingComponentStrategy: z.ZodDefault<z.ZodEnum<{
|
|
9817
|
+
SKIP_ITEM: "SKIP_ITEM";
|
|
9818
|
+
CANCEL_PRODUCT: "CANCEL_PRODUCT";
|
|
9819
|
+
}>>;
|
|
9820
|
+
}, z.core.$strip>;
|
|
9821
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
9822
|
+
RISTO: "RISTO";
|
|
9823
|
+
SALE: "SALE";
|
|
9824
|
+
ECOMMERCE: "ECOMMERCE";
|
|
9825
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
9826
|
+
SELF_ORDER: "SELF_ORDER";
|
|
9827
|
+
KIOSK: "KIOSK";
|
|
9828
|
+
}>>;
|
|
9829
|
+
}, z.core.$strip>>]>;
|
|
9020
9830
|
readonly querySchema: z.ZodObject<{
|
|
9021
9831
|
direction: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
9022
9832
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
@@ -9166,7 +9976,7 @@ declare const getIntegrationCassaInCloudSyncMenuProcessesQuerySchema: z.ZodObjec
|
|
|
9166
9976
|
type GetIntegrationCassaInCloudSyncMenuProcessesQueryParams = z.infer<typeof getIntegrationCassaInCloudSyncMenuProcessesQuerySchema>;
|
|
9167
9977
|
declare const getIntegrationCassaInCloudSyncMenuProcessesInputSchema: z.ZodUndefined;
|
|
9168
9978
|
type GetIntegrationCassaInCloudSyncMenuProcessesInput = z.infer<typeof getIntegrationCassaInCloudSyncMenuProcessesInputSchema>;
|
|
9169
|
-
declare const getIntegrationCassaInCloudSyncMenuProcessesResponseSchema: z.ZodObject<{
|
|
9979
|
+
declare const getIntegrationCassaInCloudSyncMenuProcessesResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
9170
9980
|
data: z.ZodArray<z.ZodObject<{
|
|
9171
9981
|
id: z.ZodString;
|
|
9172
9982
|
currentPlaces: z.ZodAny;
|
|
@@ -9184,14 +9994,22 @@ declare const getIntegrationCassaInCloudSyncMenuProcessesResponseSchema: z.ZodOb
|
|
|
9184
9994
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
9185
9995
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
9186
9996
|
}, z.core.$strip>;
|
|
9187
|
-
}, z.core.$strip
|
|
9997
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
9998
|
+
id: z.ZodString;
|
|
9999
|
+
currentPlaces: z.ZodAny;
|
|
10000
|
+
availableSalesModesIds: z.ZodArray<z.ZodString>;
|
|
10001
|
+
availableProductIds: z.ZodArray<z.ZodString>;
|
|
10002
|
+
availableCategoryIds: z.ZodArray<z.ZodString>;
|
|
10003
|
+
createdAt: z.ZodString;
|
|
10004
|
+
endAt: z.ZodNullable<z.ZodString>;
|
|
10005
|
+
}, z.core.$strip>>]>;
|
|
9188
10006
|
type GetIntegrationCassaInCloudSyncMenuProcessesResponse = z.infer<typeof getIntegrationCassaInCloudSyncMenuProcessesResponseSchema>;
|
|
9189
10007
|
declare class GetIntegrationCassaInCloudSyncMenuProcesses extends AbstractApiRequest<typeof getIntegrationCassaInCloudSyncMenuProcessesInputSchema, typeof getIntegrationCassaInCloudSyncMenuProcessesResponseSchema, GetIntegrationCassaInCloudSyncMenuProcessesQueryParams> {
|
|
9190
10008
|
readonly method: "GET";
|
|
9191
10009
|
readonly contentType: "application/json";
|
|
9192
10010
|
readonly accept: "application/json";
|
|
9193
10011
|
readonly inputSchema: z.ZodUndefined;
|
|
9194
|
-
readonly outputSchema: z.ZodObject<{
|
|
10012
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
9195
10013
|
data: z.ZodArray<z.ZodObject<{
|
|
9196
10014
|
id: z.ZodString;
|
|
9197
10015
|
currentPlaces: z.ZodAny;
|
|
@@ -9209,7 +10027,15 @@ declare class GetIntegrationCassaInCloudSyncMenuProcesses extends AbstractApiReq
|
|
|
9209
10027
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
9210
10028
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
9211
10029
|
}, z.core.$strip>;
|
|
9212
|
-
}, z.core.$strip
|
|
10030
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
10031
|
+
id: z.ZodString;
|
|
10032
|
+
currentPlaces: z.ZodAny;
|
|
10033
|
+
availableSalesModesIds: z.ZodArray<z.ZodString>;
|
|
10034
|
+
availableProductIds: z.ZodArray<z.ZodString>;
|
|
10035
|
+
availableCategoryIds: z.ZodArray<z.ZodString>;
|
|
10036
|
+
createdAt: z.ZodString;
|
|
10037
|
+
endAt: z.ZodNullable<z.ZodString>;
|
|
10038
|
+
}, z.core.$strip>>]>;
|
|
9213
10039
|
readonly querySchema: z.ZodObject<{
|
|
9214
10040
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9215
10041
|
}, z.core.$strip>;
|
|
@@ -9343,7 +10169,7 @@ declare const getIntegrationCassaInCloudWebHookEventsQuerySchema: z.ZodObject<{
|
|
|
9343
10169
|
type GetIntegrationCassaInCloudWebHookEventsQueryParams = IntegrationCassaInCloudWebHookEventsQueryParams;
|
|
9344
10170
|
declare const getIntegrationCassaInCloudWebHookEventsInputSchema: z.ZodUndefined;
|
|
9345
10171
|
type GetIntegrationCassaInCloudWebHookEventsInput = z.infer<typeof getIntegrationCassaInCloudWebHookEventsInputSchema>;
|
|
9346
|
-
declare const getIntegrationCassaInCloudWebHookEventsResponseSchema: z.ZodObject<{
|
|
10172
|
+
declare const getIntegrationCassaInCloudWebHookEventsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
9347
10173
|
data: z.ZodArray<z.ZodObject<{
|
|
9348
10174
|
id: z.ZodString;
|
|
9349
10175
|
entity: z.ZodEnum<{
|
|
@@ -9375,14 +10201,36 @@ declare const getIntegrationCassaInCloudWebHookEventsResponseSchema: z.ZodObject
|
|
|
9375
10201
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
9376
10202
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
9377
10203
|
}, z.core.$strip>;
|
|
9378
|
-
}, z.core.$strip
|
|
10204
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
10205
|
+
id: z.ZodString;
|
|
10206
|
+
entity: z.ZodEnum<{
|
|
10207
|
+
BILL: "BILL";
|
|
10208
|
+
RECEIPT: "RECEIPT";
|
|
10209
|
+
CREDIT_NOTE: "CREDIT_NOTE";
|
|
10210
|
+
INVOICE: "INVOICE";
|
|
10211
|
+
DDT: "DDT";
|
|
10212
|
+
ORDER: "ORDER";
|
|
10213
|
+
QUOTATION: "QUOTATION";
|
|
10214
|
+
RECONCILIATION: "RECONCILIATION";
|
|
10215
|
+
STOCK_MOVEMENT: "STOCK_MOVEMENT";
|
|
10216
|
+
CUSTOMER: "CUSTOMER";
|
|
10217
|
+
ORGANIZATION: "ORGANIZATION";
|
|
10218
|
+
}>;
|
|
10219
|
+
event: z.ZodEnum<{
|
|
10220
|
+
DELETE: "DELETE";
|
|
10221
|
+
CREATE: "CREATE";
|
|
10222
|
+
UPDATE: "UPDATE";
|
|
10223
|
+
}>;
|
|
10224
|
+
body: z.ZodAny;
|
|
10225
|
+
createdAt: z.ZodString;
|
|
10226
|
+
}, z.core.$strip>>]>;
|
|
9379
10227
|
type GetIntegrationCassaInCloudWebHookEventsResponse = z.infer<typeof getIntegrationCassaInCloudWebHookEventsResponseSchema>;
|
|
9380
10228
|
declare class GetIntegrationCassaInCloudWebHookEvents extends AbstractApiRequest<typeof getIntegrationCassaInCloudWebHookEventsInputSchema, typeof getIntegrationCassaInCloudWebHookEventsResponseSchema, GetIntegrationCassaInCloudWebHookEventsQueryParams> {
|
|
9381
10229
|
readonly method: "GET";
|
|
9382
10230
|
readonly contentType: "application/json";
|
|
9383
10231
|
readonly accept: "application/json";
|
|
9384
10232
|
readonly inputSchema: z.ZodUndefined;
|
|
9385
|
-
readonly outputSchema: z.ZodObject<{
|
|
10233
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
9386
10234
|
data: z.ZodArray<z.ZodObject<{
|
|
9387
10235
|
id: z.ZodString;
|
|
9388
10236
|
entity: z.ZodEnum<{
|
|
@@ -9414,7 +10262,29 @@ declare class GetIntegrationCassaInCloudWebHookEvents extends AbstractApiRequest
|
|
|
9414
10262
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
9415
10263
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
9416
10264
|
}, z.core.$strip>;
|
|
9417
|
-
}, z.core.$strip
|
|
10265
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
10266
|
+
id: z.ZodString;
|
|
10267
|
+
entity: z.ZodEnum<{
|
|
10268
|
+
BILL: "BILL";
|
|
10269
|
+
RECEIPT: "RECEIPT";
|
|
10270
|
+
CREDIT_NOTE: "CREDIT_NOTE";
|
|
10271
|
+
INVOICE: "INVOICE";
|
|
10272
|
+
DDT: "DDT";
|
|
10273
|
+
ORDER: "ORDER";
|
|
10274
|
+
QUOTATION: "QUOTATION";
|
|
10275
|
+
RECONCILIATION: "RECONCILIATION";
|
|
10276
|
+
STOCK_MOVEMENT: "STOCK_MOVEMENT";
|
|
10277
|
+
CUSTOMER: "CUSTOMER";
|
|
10278
|
+
ORGANIZATION: "ORGANIZATION";
|
|
10279
|
+
}>;
|
|
10280
|
+
event: z.ZodEnum<{
|
|
10281
|
+
DELETE: "DELETE";
|
|
10282
|
+
CREATE: "CREATE";
|
|
10283
|
+
UPDATE: "UPDATE";
|
|
10284
|
+
}>;
|
|
10285
|
+
body: z.ZodAny;
|
|
10286
|
+
createdAt: z.ZodString;
|
|
10287
|
+
}, z.core.$strip>>]>;
|
|
9418
10288
|
readonly querySchema: z.ZodObject<{
|
|
9419
10289
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
9420
10290
|
asc: "asc";
|
|
@@ -9986,7 +10856,7 @@ declare const getIntegrationDeliverooClientLogRequestsQuerySchema: z.ZodObject<{
|
|
|
9986
10856
|
type GetIntegrationDeliverooClientLogRequestsQueryParams = ClientLogRequestQuery;
|
|
9987
10857
|
declare const getIntegrationDeliverooClientLogRequestsInputSchema: z.ZodUndefined;
|
|
9988
10858
|
type GetIntegrationDeliverooClientLogRequestsInput = z.infer<typeof getIntegrationDeliverooClientLogRequestsInputSchema>;
|
|
9989
|
-
declare const getIntegrationDeliverooClientLogRequestsResponseSchema: z.ZodObject<{
|
|
10859
|
+
declare const getIntegrationDeliverooClientLogRequestsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
9990
10860
|
data: z.ZodArray<z.ZodObject<{
|
|
9991
10861
|
id: z.ZodString;
|
|
9992
10862
|
url: z.ZodString;
|
|
@@ -10008,14 +10878,26 @@ declare const getIntegrationDeliverooClientLogRequestsResponseSchema: z.ZodObjec
|
|
|
10008
10878
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10009
10879
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10010
10880
|
}, z.core.$strip>;
|
|
10011
|
-
}, z.core.$strip
|
|
10881
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
10882
|
+
id: z.ZodString;
|
|
10883
|
+
url: z.ZodString;
|
|
10884
|
+
method: z.ZodEnum<{
|
|
10885
|
+
DELETE: "DELETE";
|
|
10886
|
+
GET: "GET";
|
|
10887
|
+
PATCH: "PATCH";
|
|
10888
|
+
POST: "POST";
|
|
10889
|
+
PUT: "PUT";
|
|
10890
|
+
}>;
|
|
10891
|
+
statusCode: z.ZodCoercedNumber<unknown>;
|
|
10892
|
+
createdAt: z.ZodString;
|
|
10893
|
+
}, z.core.$strip>>]>;
|
|
10012
10894
|
type GetIntegrationDeliverooClientLogRequestsResponse = z.infer<typeof getIntegrationDeliverooClientLogRequestsResponseSchema>;
|
|
10013
10895
|
declare class GetIntegrationDeliverooClientLogRequests extends AbstractApiRequest<typeof getIntegrationDeliverooClientLogRequestsInputSchema, typeof getIntegrationDeliverooClientLogRequestsResponseSchema, GetIntegrationDeliverooClientLogRequestsQueryParams> {
|
|
10014
10896
|
readonly method: "GET";
|
|
10015
10897
|
readonly contentType: "application/json";
|
|
10016
10898
|
readonly accept: "application/json";
|
|
10017
10899
|
readonly inputSchema: z.ZodUndefined;
|
|
10018
|
-
readonly outputSchema: z.ZodObject<{
|
|
10900
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
10019
10901
|
data: z.ZodArray<z.ZodObject<{
|
|
10020
10902
|
id: z.ZodString;
|
|
10021
10903
|
url: z.ZodString;
|
|
@@ -10037,7 +10919,19 @@ declare class GetIntegrationDeliverooClientLogRequests extends AbstractApiReques
|
|
|
10037
10919
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10038
10920
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10039
10921
|
}, z.core.$strip>;
|
|
10040
|
-
}, z.core.$strip
|
|
10922
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
10923
|
+
id: z.ZodString;
|
|
10924
|
+
url: z.ZodString;
|
|
10925
|
+
method: z.ZodEnum<{
|
|
10926
|
+
DELETE: "DELETE";
|
|
10927
|
+
GET: "GET";
|
|
10928
|
+
PATCH: "PATCH";
|
|
10929
|
+
POST: "POST";
|
|
10930
|
+
PUT: "PUT";
|
|
10931
|
+
}>;
|
|
10932
|
+
statusCode: z.ZodCoercedNumber<unknown>;
|
|
10933
|
+
createdAt: z.ZodString;
|
|
10934
|
+
}, z.core.$strip>>]>;
|
|
10041
10935
|
readonly querySchema: z.ZodObject<{
|
|
10042
10936
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
10043
10937
|
asc: "asc";
|
|
@@ -10247,7 +11141,7 @@ declare const getIntegrationDeliverooListQuerySchema: z.ZodObject<{
|
|
|
10247
11141
|
'latestOpeningHoursSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
10248
11142
|
}, z.core.$strip>;
|
|
10249
11143
|
type GetIntegrationDeliverooListQueryParams = z.infer<typeof getIntegrationDeliverooListQuerySchema>;
|
|
10250
|
-
declare const getIntegrationDeliverooListResponseSchema: z.ZodObject<{
|
|
11144
|
+
declare const getIntegrationDeliverooListResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
10251
11145
|
data: z.ZodArray<z.ZodObject<{
|
|
10252
11146
|
status: z.ZodEnum<{
|
|
10253
11147
|
pending: "pending";
|
|
@@ -10297,7 +11191,47 @@ declare const getIntegrationDeliverooListResponseSchema: z.ZodObject<{
|
|
|
10297
11191
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10298
11192
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10299
11193
|
}, z.core.$strip>;
|
|
10300
|
-
}, z.core.$strip
|
|
11194
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
11195
|
+
status: z.ZodEnum<{
|
|
11196
|
+
pending: "pending";
|
|
11197
|
+
active: "active";
|
|
11198
|
+
deleting: "deleting";
|
|
11199
|
+
}>;
|
|
11200
|
+
provider: z.ZodEnum<{
|
|
11201
|
+
deliverart: "deliverart";
|
|
11202
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
11203
|
+
}>;
|
|
11204
|
+
createdAt: z.ZodString;
|
|
11205
|
+
updatedAt: z.ZodString;
|
|
11206
|
+
id: z.ZodString;
|
|
11207
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
11208
|
+
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>>;
|
|
11209
|
+
name: z.ZodString;
|
|
11210
|
+
skipInvalidItem: z.ZodBoolean;
|
|
11211
|
+
skipNegativePrices: z.ZodBoolean;
|
|
11212
|
+
importTaggedItems: z.ZodBoolean;
|
|
11213
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11214
|
+
isValidMenu: z.ZodBoolean;
|
|
11215
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
11216
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
11217
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
11218
|
+
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>>]>;
|
|
11219
|
+
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>>;
|
|
11220
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
11221
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
11222
|
+
invalid_menu: "invalid_menu";
|
|
11223
|
+
}>>;
|
|
11224
|
+
brandId: z.ZodString;
|
|
11225
|
+
siteId: z.ZodString;
|
|
11226
|
+
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>>;
|
|
11227
|
+
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
11228
|
+
service: z.ZodEnum<{
|
|
11229
|
+
deliveroo: "deliveroo";
|
|
11230
|
+
}>;
|
|
11231
|
+
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
11232
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
11233
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
11234
|
+
}, z.core.$strip>>]>;
|
|
10301
11235
|
type GetIntegrationDeliverooListResponse = z.infer<typeof getIntegrationDeliverooListResponseSchema>;
|
|
10302
11236
|
declare const getIntegrationDeliverooListInputSchema: z.ZodUndefined;
|
|
10303
11237
|
declare class GetIntegrationDeliverooList extends AbstractApiRequest<typeof getIntegrationDeliverooListInputSchema, typeof getIntegrationDeliverooListResponseSchema, GetIntegrationDeliverooListQueryParams> {
|
|
@@ -10305,7 +11239,7 @@ declare class GetIntegrationDeliverooList extends AbstractApiRequest<typeof getI
|
|
|
10305
11239
|
readonly contentType: "application/json";
|
|
10306
11240
|
readonly accept: "application/json";
|
|
10307
11241
|
readonly inputSchema: z.ZodUndefined;
|
|
10308
|
-
readonly outputSchema: z.ZodObject<{
|
|
11242
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
10309
11243
|
data: z.ZodArray<z.ZodObject<{
|
|
10310
11244
|
status: z.ZodEnum<{
|
|
10311
11245
|
pending: "pending";
|
|
@@ -10355,7 +11289,47 @@ declare class GetIntegrationDeliverooList extends AbstractApiRequest<typeof getI
|
|
|
10355
11289
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10356
11290
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10357
11291
|
}, z.core.$strip>;
|
|
10358
|
-
}, z.core.$strip
|
|
11292
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
11293
|
+
status: z.ZodEnum<{
|
|
11294
|
+
pending: "pending";
|
|
11295
|
+
active: "active";
|
|
11296
|
+
deleting: "deleting";
|
|
11297
|
+
}>;
|
|
11298
|
+
provider: z.ZodEnum<{
|
|
11299
|
+
deliverart: "deliverart";
|
|
11300
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
11301
|
+
}>;
|
|
11302
|
+
createdAt: z.ZodString;
|
|
11303
|
+
updatedAt: z.ZodString;
|
|
11304
|
+
id: z.ZodString;
|
|
11305
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
11306
|
+
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>>;
|
|
11307
|
+
name: z.ZodString;
|
|
11308
|
+
skipInvalidItem: z.ZodBoolean;
|
|
11309
|
+
skipNegativePrices: z.ZodBoolean;
|
|
11310
|
+
importTaggedItems: z.ZodBoolean;
|
|
11311
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11312
|
+
isValidMenu: z.ZodBoolean;
|
|
11313
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
11314
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
11315
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
11316
|
+
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>>]>;
|
|
11317
|
+
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>>;
|
|
11318
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
11319
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
11320
|
+
invalid_menu: "invalid_menu";
|
|
11321
|
+
}>>;
|
|
11322
|
+
brandId: z.ZodString;
|
|
11323
|
+
siteId: z.ZodString;
|
|
11324
|
+
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>>;
|
|
11325
|
+
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
11326
|
+
service: z.ZodEnum<{
|
|
11327
|
+
deliveroo: "deliveroo";
|
|
11328
|
+
}>;
|
|
11329
|
+
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
11330
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
11331
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
11332
|
+
}, z.core.$strip>>]>;
|
|
10359
11333
|
readonly querySchema: z.ZodObject<{
|
|
10360
11334
|
brandId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
10361
11335
|
siteId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
@@ -10501,7 +11475,7 @@ declare const getIntegrationDeliverooMenuVersionsQuerySchema: z.ZodObject<{
|
|
|
10501
11475
|
type GetIntegrationDeliverooMenuVersionsQueryParams = z.infer<typeof getIntegrationDeliverooMenuVersionsQuerySchema>;
|
|
10502
11476
|
declare const getIntegrationDeliverooMenuVersionsInputSchema: z.ZodUndefined;
|
|
10503
11477
|
type GetIntegrationDeliverooMenuVersionsInput = z.infer<typeof getIntegrationDeliverooMenuVersionsInputSchema>;
|
|
10504
|
-
declare const getIntegrationDeliverooMenuVersionsResponseSchema: z.ZodObject<{
|
|
11478
|
+
declare const getIntegrationDeliverooMenuVersionsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
10505
11479
|
data: z.ZodArray<z.ZodObject<{
|
|
10506
11480
|
id: z.ZodString;
|
|
10507
11481
|
contentUrl: z.ZodString;
|
|
@@ -10517,14 +11491,20 @@ declare const getIntegrationDeliverooMenuVersionsResponseSchema: z.ZodObject<{
|
|
|
10517
11491
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10518
11492
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10519
11493
|
}, z.core.$strip>;
|
|
10520
|
-
}, z.core.$strip
|
|
11494
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
11495
|
+
id: z.ZodString;
|
|
11496
|
+
contentUrl: z.ZodString;
|
|
11497
|
+
filePath: z.ZodString;
|
|
11498
|
+
createdAt: z.ZodString;
|
|
11499
|
+
updatedAt: z.ZodString;
|
|
11500
|
+
}, z.core.$strip>>]>;
|
|
10521
11501
|
type GetIntegrationDeliverooMenuVersionsResponse = z.infer<typeof getIntegrationDeliverooMenuVersionsResponseSchema>;
|
|
10522
11502
|
declare class GetIntegrationDeliverooMenuVersions extends AbstractApiRequest<typeof getIntegrationDeliverooMenuVersionsInputSchema, typeof getIntegrationDeliverooMenuVersionsResponseSchema, GetIntegrationDeliverooMenuVersionsQueryParams> {
|
|
10523
11503
|
readonly method: "GET";
|
|
10524
11504
|
readonly contentType: "application/json";
|
|
10525
11505
|
readonly accept: "application/json";
|
|
10526
11506
|
readonly inputSchema: z.ZodUndefined;
|
|
10527
|
-
readonly outputSchema: z.ZodObject<{
|
|
11507
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
10528
11508
|
data: z.ZodArray<z.ZodObject<{
|
|
10529
11509
|
id: z.ZodString;
|
|
10530
11510
|
contentUrl: z.ZodString;
|
|
@@ -10540,7 +11520,13 @@ declare class GetIntegrationDeliverooMenuVersions extends AbstractApiRequest<typ
|
|
|
10540
11520
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10541
11521
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10542
11522
|
}, z.core.$strip>;
|
|
10543
|
-
}, z.core.$strip
|
|
11523
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
11524
|
+
id: z.ZodString;
|
|
11525
|
+
contentUrl: z.ZodString;
|
|
11526
|
+
filePath: z.ZodString;
|
|
11527
|
+
createdAt: z.ZodString;
|
|
11528
|
+
updatedAt: z.ZodString;
|
|
11529
|
+
}, z.core.$strip>>]>;
|
|
10544
11530
|
readonly querySchema: z.ZodObject<{
|
|
10545
11531
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
10546
11532
|
}, z.core.$strip>;
|
|
@@ -10606,7 +11592,7 @@ declare const getIntegrationDeliverooSyncMenuProcessesQuerySchema: z.ZodObject<{
|
|
|
10606
11592
|
type GetIntegrationDeliverooSyncMenuProcessesQueryParams = z.infer<typeof getIntegrationDeliverooSyncMenuProcessesQuerySchema>;
|
|
10607
11593
|
declare const getIntegrationDeliverooSyncMenuProcessesInputSchema: z.ZodUndefined;
|
|
10608
11594
|
type GetIntegrationDeliverooSyncMenuProcessesInput = z.infer<typeof getIntegrationDeliverooSyncMenuProcessesInputSchema>;
|
|
10609
|
-
declare const getIntegrationDeliverooSyncMenuProcessesResponseSchema: z.ZodObject<{
|
|
11595
|
+
declare const getIntegrationDeliverooSyncMenuProcessesResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
10610
11596
|
data: z.ZodArray<z.ZodObject<{
|
|
10611
11597
|
id: z.ZodString;
|
|
10612
11598
|
mode: z.ZodEnum<{
|
|
@@ -10626,14 +11612,24 @@ declare const getIntegrationDeliverooSyncMenuProcessesResponseSchema: z.ZodObjec
|
|
|
10626
11612
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10627
11613
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10628
11614
|
}, z.core.$strip>;
|
|
10629
|
-
}, z.core.$strip
|
|
11615
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
11616
|
+
id: z.ZodString;
|
|
11617
|
+
mode: z.ZodEnum<{
|
|
11618
|
+
menu: "menu";
|
|
11619
|
+
item_availabilities: "item_availabilities";
|
|
11620
|
+
}>;
|
|
11621
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
11622
|
+
response: z.ZodNullable<z.ZodString>;
|
|
11623
|
+
createdAt: z.ZodString;
|
|
11624
|
+
endAt: z.ZodNullable<z.ZodString>;
|
|
11625
|
+
}, z.core.$strip>>]>;
|
|
10630
11626
|
type GetIntegrationDeliverooSyncMenuProcessesResponse = z.infer<typeof getIntegrationDeliverooSyncMenuProcessesResponseSchema>;
|
|
10631
11627
|
declare class GetIntegrationDeliverooSyncMenuProcesses extends AbstractApiRequest<typeof getIntegrationDeliverooSyncMenuProcessesInputSchema, typeof getIntegrationDeliverooSyncMenuProcessesResponseSchema, GetIntegrationDeliverooSyncMenuProcessesQueryParams> {
|
|
10632
11628
|
readonly method: "GET";
|
|
10633
11629
|
readonly contentType: "application/json";
|
|
10634
11630
|
readonly accept: "application/json";
|
|
10635
11631
|
readonly inputSchema: z.ZodUndefined;
|
|
10636
|
-
readonly outputSchema: z.ZodObject<{
|
|
11632
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
10637
11633
|
data: z.ZodArray<z.ZodObject<{
|
|
10638
11634
|
id: z.ZodString;
|
|
10639
11635
|
mode: z.ZodEnum<{
|
|
@@ -10653,7 +11649,17 @@ declare class GetIntegrationDeliverooSyncMenuProcesses extends AbstractApiReques
|
|
|
10653
11649
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10654
11650
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10655
11651
|
}, z.core.$strip>;
|
|
10656
|
-
}, z.core.$strip
|
|
11652
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
11653
|
+
id: z.ZodString;
|
|
11654
|
+
mode: z.ZodEnum<{
|
|
11655
|
+
menu: "menu";
|
|
11656
|
+
item_availabilities: "item_availabilities";
|
|
11657
|
+
}>;
|
|
11658
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
11659
|
+
response: z.ZodNullable<z.ZodString>;
|
|
11660
|
+
createdAt: z.ZodString;
|
|
11661
|
+
endAt: z.ZodNullable<z.ZodString>;
|
|
11662
|
+
}, z.core.$strip>>]>;
|
|
10657
11663
|
readonly querySchema: z.ZodObject<{
|
|
10658
11664
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
10659
11665
|
}, z.core.$strip>;
|
|
@@ -10744,7 +11750,7 @@ declare const getIntegrationDeliverooWebhookEventsQuerySchema: z.ZodObject<{
|
|
|
10744
11750
|
type GetIntegrationDeliverooWebhookEventsQueryParams = IntegrationDeliverooWebhookEventsQueryParams;
|
|
10745
11751
|
declare const getIntegrationDeliverooWebhookEventsInputSchema: z.ZodUndefined;
|
|
10746
11752
|
type GetIntegrationDeliverooWebhookEventsInput = z.infer<typeof getIntegrationDeliverooWebhookEventsInputSchema>;
|
|
10747
|
-
declare const getIntegrationDeliverooWebhookEventsResponseSchema: z.ZodObject<{
|
|
11753
|
+
declare const getIntegrationDeliverooWebhookEventsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
10748
11754
|
data: z.ZodArray<z.ZodObject<{
|
|
10749
11755
|
id: z.ZodString;
|
|
10750
11756
|
event: z.ZodEnum<{
|
|
@@ -10763,14 +11769,23 @@ declare const getIntegrationDeliverooWebhookEventsResponseSchema: z.ZodObject<{
|
|
|
10763
11769
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10764
11770
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10765
11771
|
}, z.core.$strip>;
|
|
10766
|
-
}, z.core.$strip
|
|
11772
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
11773
|
+
id: z.ZodString;
|
|
11774
|
+
event: z.ZodEnum<{
|
|
11775
|
+
"order.new": "order.new";
|
|
11776
|
+
"order.status_update": "order.status_update";
|
|
11777
|
+
"rider.status_update": "rider.status_update";
|
|
11778
|
+
"menu.upload_result": "menu.upload_result";
|
|
11779
|
+
}>;
|
|
11780
|
+
createdAt: z.ZodString;
|
|
11781
|
+
}, z.core.$strip>>]>;
|
|
10767
11782
|
type GetIntegrationDeliverooWebhookEventsResponse = z.infer<typeof getIntegrationDeliverooWebhookEventsResponseSchema>;
|
|
10768
11783
|
declare class GetIntegrationDeliverooWebhookEvents extends AbstractApiRequest<typeof getIntegrationDeliverooWebhookEventsInputSchema, typeof getIntegrationDeliverooWebhookEventsResponseSchema, GetIntegrationDeliverooWebhookEventsQueryParams> {
|
|
10769
11784
|
readonly method: "GET";
|
|
10770
11785
|
readonly contentType: "application/json";
|
|
10771
11786
|
readonly accept: "application/json";
|
|
10772
11787
|
readonly inputSchema: z.ZodUndefined;
|
|
10773
|
-
readonly outputSchema: z.ZodObject<{
|
|
11788
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
10774
11789
|
data: z.ZodArray<z.ZodObject<{
|
|
10775
11790
|
id: z.ZodString;
|
|
10776
11791
|
event: z.ZodEnum<{
|
|
@@ -10789,7 +11804,16 @@ declare class GetIntegrationDeliverooWebhookEvents extends AbstractApiRequest<ty
|
|
|
10789
11804
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10790
11805
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10791
11806
|
}, z.core.$strip>;
|
|
10792
|
-
}, z.core.$strip
|
|
11807
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
11808
|
+
id: z.ZodString;
|
|
11809
|
+
event: z.ZodEnum<{
|
|
11810
|
+
"order.new": "order.new";
|
|
11811
|
+
"order.status_update": "order.status_update";
|
|
11812
|
+
"rider.status_update": "rider.status_update";
|
|
11813
|
+
"menu.upload_result": "menu.upload_result";
|
|
11814
|
+
}>;
|
|
11815
|
+
createdAt: z.ZodString;
|
|
11816
|
+
}, z.core.$strip>>]>;
|
|
10793
11817
|
readonly querySchema: z.ZodObject<{
|
|
10794
11818
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
10795
11819
|
asc: "asc";
|
|
@@ -11320,7 +12344,7 @@ declare const getIntegrationGlovoClientLogRequestsQuerySchema: z.ZodObject<{
|
|
|
11320
12344
|
type GetIntegrationGlovoClientLogRequestsQueryParams = ClientLogRequestQuery;
|
|
11321
12345
|
declare const getIntegrationGlovoClientLogRequestsInputSchema: z.ZodUndefined;
|
|
11322
12346
|
type GetIntegrationGlovoClientLogRequestsInput = z.input<typeof getIntegrationGlovoClientLogRequestsInputSchema>;
|
|
11323
|
-
declare const getIntegrationGlovoClientLogRequestsResponseSchema: z.ZodObject<{
|
|
12347
|
+
declare const getIntegrationGlovoClientLogRequestsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
11324
12348
|
data: z.ZodArray<z.ZodObject<{
|
|
11325
12349
|
id: z.ZodString;
|
|
11326
12350
|
url: z.ZodString;
|
|
@@ -11342,14 +12366,26 @@ declare const getIntegrationGlovoClientLogRequestsResponseSchema: z.ZodObject<{
|
|
|
11342
12366
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11343
12367
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11344
12368
|
}, z.core.$strip>;
|
|
11345
|
-
}, z.core.$strip
|
|
12369
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
12370
|
+
id: z.ZodString;
|
|
12371
|
+
url: z.ZodString;
|
|
12372
|
+
method: z.ZodEnum<{
|
|
12373
|
+
DELETE: "DELETE";
|
|
12374
|
+
GET: "GET";
|
|
12375
|
+
PATCH: "PATCH";
|
|
12376
|
+
POST: "POST";
|
|
12377
|
+
PUT: "PUT";
|
|
12378
|
+
}>;
|
|
12379
|
+
statusCode: z.ZodCoercedNumber<unknown>;
|
|
12380
|
+
createdAt: z.ZodString;
|
|
12381
|
+
}, z.core.$strip>>]>;
|
|
11346
12382
|
type GetIntegrationGlovoClientLogRequestsResponse = z.infer<typeof getIntegrationGlovoClientLogRequestsResponseSchema>;
|
|
11347
12383
|
declare class GetIntegrationGlovoClientLogRequests extends AbstractApiRequest<typeof getIntegrationGlovoClientLogRequestsInputSchema, typeof getIntegrationGlovoClientLogRequestsResponseSchema> {
|
|
11348
12384
|
readonly method: "GET";
|
|
11349
12385
|
readonly contentType: "application/json";
|
|
11350
12386
|
readonly accept: "application/json";
|
|
11351
12387
|
readonly inputSchema: z.ZodUndefined;
|
|
11352
|
-
readonly outputSchema: z.ZodObject<{
|
|
12388
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
11353
12389
|
data: z.ZodArray<z.ZodObject<{
|
|
11354
12390
|
id: z.ZodString;
|
|
11355
12391
|
url: z.ZodString;
|
|
@@ -11371,7 +12407,19 @@ declare class GetIntegrationGlovoClientLogRequests extends AbstractApiRequest<ty
|
|
|
11371
12407
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11372
12408
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11373
12409
|
}, z.core.$strip>;
|
|
11374
|
-
}, z.core.$strip
|
|
12410
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
12411
|
+
id: z.ZodString;
|
|
12412
|
+
url: z.ZodString;
|
|
12413
|
+
method: z.ZodEnum<{
|
|
12414
|
+
DELETE: "DELETE";
|
|
12415
|
+
GET: "GET";
|
|
12416
|
+
PATCH: "PATCH";
|
|
12417
|
+
POST: "POST";
|
|
12418
|
+
PUT: "PUT";
|
|
12419
|
+
}>;
|
|
12420
|
+
statusCode: z.ZodCoercedNumber<unknown>;
|
|
12421
|
+
createdAt: z.ZodString;
|
|
12422
|
+
}, z.core.$strip>>]>;
|
|
11375
12423
|
readonly querySchema: z.ZodObject<{
|
|
11376
12424
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
11377
12425
|
asc: "asc";
|
|
@@ -11566,7 +12614,7 @@ declare const getIntegrationGlovoListQuerySchema: z.ZodObject<{
|
|
|
11566
12614
|
type GetIntegrationGlovoListQueryParams = z.infer<typeof getIntegrationGlovoListQuerySchema>;
|
|
11567
12615
|
declare const getIntegrationGlovoListInputSchema: z.ZodUndefined;
|
|
11568
12616
|
type GetIntegrationGlovoListInput = z.infer<typeof getIntegrationGlovoListInputSchema>;
|
|
11569
|
-
declare const getIntegrationGlovoListResponseSchema: z.ZodObject<{
|
|
12617
|
+
declare const getIntegrationGlovoListResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
11570
12618
|
data: z.ZodArray<z.ZodObject<{
|
|
11571
12619
|
status: z.ZodEnum<{
|
|
11572
12620
|
pending: "pending";
|
|
@@ -11612,14 +12660,50 @@ declare const getIntegrationGlovoListResponseSchema: z.ZodObject<{
|
|
|
11612
12660
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11613
12661
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11614
12662
|
}, z.core.$strip>;
|
|
11615
|
-
}, z.core.$strip
|
|
12663
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
12664
|
+
status: z.ZodEnum<{
|
|
12665
|
+
pending: "pending";
|
|
12666
|
+
active: "active";
|
|
12667
|
+
deleting: "deleting";
|
|
12668
|
+
}>;
|
|
12669
|
+
provider: z.ZodEnum<{
|
|
12670
|
+
deliverart: "deliverart";
|
|
12671
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
12672
|
+
}>;
|
|
12673
|
+
createdAt: z.ZodString;
|
|
12674
|
+
updatedAt: z.ZodString;
|
|
12675
|
+
id: z.ZodString;
|
|
12676
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
12677
|
+
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>>;
|
|
12678
|
+
name: z.ZodString;
|
|
12679
|
+
skipInvalidItem: z.ZodBoolean;
|
|
12680
|
+
skipNegativePrices: z.ZodBoolean;
|
|
12681
|
+
importTaggedItems: z.ZodBoolean;
|
|
12682
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12683
|
+
isValidMenu: z.ZodBoolean;
|
|
12684
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
12685
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
12686
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
12687
|
+
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>>]>;
|
|
12688
|
+
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>>;
|
|
12689
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
12690
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
12691
|
+
invalid_menu: "invalid_menu";
|
|
12692
|
+
}>>;
|
|
12693
|
+
storeId: z.ZodString;
|
|
12694
|
+
locale: z.ZodString;
|
|
12695
|
+
pendingMenuChanges: z.ZodBoolean;
|
|
12696
|
+
service: z.ZodEnum<{
|
|
12697
|
+
glovo: "glovo";
|
|
12698
|
+
}>;
|
|
12699
|
+
}, z.core.$strip>>]>;
|
|
11616
12700
|
type GetIntegrationGlovoListResponse = z.infer<typeof getIntegrationGlovoListResponseSchema>;
|
|
11617
12701
|
declare class GetIntegrationGlovoList extends AbstractApiRequest<typeof getIntegrationGlovoListInputSchema, typeof getIntegrationGlovoListResponseSchema, GetIntegrationGlovoListQueryParams> {
|
|
11618
12702
|
readonly method: "GET";
|
|
11619
12703
|
readonly contentType: "application/json";
|
|
11620
12704
|
readonly accept: "application/json";
|
|
11621
12705
|
readonly inputSchema: z.ZodUndefined;
|
|
11622
|
-
readonly outputSchema: z.ZodObject<{
|
|
12706
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
11623
12707
|
data: z.ZodArray<z.ZodObject<{
|
|
11624
12708
|
status: z.ZodEnum<{
|
|
11625
12709
|
pending: "pending";
|
|
@@ -11665,7 +12749,43 @@ declare class GetIntegrationGlovoList extends AbstractApiRequest<typeof getInteg
|
|
|
11665
12749
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11666
12750
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11667
12751
|
}, z.core.$strip>;
|
|
11668
|
-
}, z.core.$strip
|
|
12752
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
12753
|
+
status: z.ZodEnum<{
|
|
12754
|
+
pending: "pending";
|
|
12755
|
+
active: "active";
|
|
12756
|
+
deleting: "deleting";
|
|
12757
|
+
}>;
|
|
12758
|
+
provider: z.ZodEnum<{
|
|
12759
|
+
deliverart: "deliverart";
|
|
12760
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
12761
|
+
}>;
|
|
12762
|
+
createdAt: z.ZodString;
|
|
12763
|
+
updatedAt: z.ZodString;
|
|
12764
|
+
id: z.ZodString;
|
|
12765
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
12766
|
+
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>>;
|
|
12767
|
+
name: z.ZodString;
|
|
12768
|
+
skipInvalidItem: z.ZodBoolean;
|
|
12769
|
+
skipNegativePrices: z.ZodBoolean;
|
|
12770
|
+
importTaggedItems: z.ZodBoolean;
|
|
12771
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12772
|
+
isValidMenu: z.ZodBoolean;
|
|
12773
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
12774
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
12775
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
12776
|
+
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>>]>;
|
|
12777
|
+
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>>;
|
|
12778
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
12779
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
12780
|
+
invalid_menu: "invalid_menu";
|
|
12781
|
+
}>>;
|
|
12782
|
+
storeId: z.ZodString;
|
|
12783
|
+
locale: z.ZodString;
|
|
12784
|
+
pendingMenuChanges: z.ZodBoolean;
|
|
12785
|
+
service: z.ZodEnum<{
|
|
12786
|
+
glovo: "glovo";
|
|
12787
|
+
}>;
|
|
12788
|
+
}, z.core.$strip>>]>;
|
|
11669
12789
|
readonly querySchema: z.ZodObject<{
|
|
11670
12790
|
storeId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
11671
12791
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -11824,7 +12944,7 @@ declare const getIntegrationGlovoMenuUpdatesQuerySchema: z.ZodObject<{
|
|
|
11824
12944
|
type GetIntegrationGlovoMenuUpdatesQueryParams = z.infer<typeof getIntegrationGlovoMenuUpdatesQuerySchema>;
|
|
11825
12945
|
declare const getIntegrationGlovoMenuUpdatesInputSchema: z.ZodUndefined;
|
|
11826
12946
|
type GetIntegrationGlovoMenuUpdatesInput = z.input<typeof getIntegrationGlovoMenuUpdatesInputSchema>;
|
|
11827
|
-
declare const getIntegrationGlovoMenuUpdatesResponseSchema: z.ZodObject<{
|
|
12947
|
+
declare const getIntegrationGlovoMenuUpdatesResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
11828
12948
|
data: z.ZodArray<z.ZodObject<{
|
|
11829
12949
|
id: z.ZodString;
|
|
11830
12950
|
transactionId: z.ZodNullable<z.ZodString>;
|
|
@@ -11852,14 +12972,32 @@ declare const getIntegrationGlovoMenuUpdatesResponseSchema: z.ZodObject<{
|
|
|
11852
12972
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11853
12973
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11854
12974
|
}, z.core.$strip>;
|
|
11855
|
-
}, z.core.$strip
|
|
12975
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
12976
|
+
id: z.ZodString;
|
|
12977
|
+
transactionId: z.ZodNullable<z.ZodString>;
|
|
12978
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
12979
|
+
SUCCESS: "SUCCESS";
|
|
12980
|
+
PROCESSING: "PROCESSING";
|
|
12981
|
+
FETCH_MENU_INVALID_PAYLOAD: "FETCH_MENU_INVALID_PAYLOAD";
|
|
12982
|
+
FETCH_MENU_SERVER_ERROR: "FETCH_MENU_SERVER_ERROR";
|
|
12983
|
+
FETCH_MENU_UNAUTHORIZED: "FETCH_MENU_UNAUTHORIZED";
|
|
12984
|
+
NOT_PROCESSED: "NOT_PROCESSED";
|
|
12985
|
+
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
12986
|
+
GLOVO_ERROR: "GLOVO_ERROR";
|
|
12987
|
+
SCHEDULE_CATALOG_DISABLED: "SCHEDULE_CATALOG_DISABLED";
|
|
12988
|
+
}>>;
|
|
12989
|
+
retryCompleted: z.ZodBoolean;
|
|
12990
|
+
createdAt: z.ZodString;
|
|
12991
|
+
responseAt: z.ZodNullable<z.ZodString>;
|
|
12992
|
+
latestCheckAt: z.ZodNullable<z.ZodString>;
|
|
12993
|
+
}, z.core.$strip>>]>;
|
|
11856
12994
|
type GetIntegrationGlovoMenuUpdatesResponse = z.infer<typeof getIntegrationGlovoMenuUpdatesResponseSchema>;
|
|
11857
12995
|
declare class GetIntegrationGlovoMenuUpdates extends AbstractApiRequest<typeof getIntegrationGlovoMenuUpdatesInputSchema, typeof getIntegrationGlovoMenuUpdatesResponseSchema, GetIntegrationGlovoMenuUpdatesQueryParams> {
|
|
11858
12996
|
readonly method: "GET";
|
|
11859
12997
|
readonly contentType: "application/json";
|
|
11860
12998
|
readonly accept: "application/json";
|
|
11861
12999
|
readonly inputSchema: z.ZodUndefined;
|
|
11862
|
-
readonly outputSchema: z.ZodObject<{
|
|
13000
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
11863
13001
|
data: z.ZodArray<z.ZodObject<{
|
|
11864
13002
|
id: z.ZodString;
|
|
11865
13003
|
transactionId: z.ZodNullable<z.ZodString>;
|
|
@@ -11887,7 +13025,25 @@ declare class GetIntegrationGlovoMenuUpdates extends AbstractApiRequest<typeof g
|
|
|
11887
13025
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11888
13026
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11889
13027
|
}, z.core.$strip>;
|
|
11890
|
-
}, z.core.$strip
|
|
13028
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
13029
|
+
id: z.ZodString;
|
|
13030
|
+
transactionId: z.ZodNullable<z.ZodString>;
|
|
13031
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
13032
|
+
SUCCESS: "SUCCESS";
|
|
13033
|
+
PROCESSING: "PROCESSING";
|
|
13034
|
+
FETCH_MENU_INVALID_PAYLOAD: "FETCH_MENU_INVALID_PAYLOAD";
|
|
13035
|
+
FETCH_MENU_SERVER_ERROR: "FETCH_MENU_SERVER_ERROR";
|
|
13036
|
+
FETCH_MENU_UNAUTHORIZED: "FETCH_MENU_UNAUTHORIZED";
|
|
13037
|
+
NOT_PROCESSED: "NOT_PROCESSED";
|
|
13038
|
+
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
13039
|
+
GLOVO_ERROR: "GLOVO_ERROR";
|
|
13040
|
+
SCHEDULE_CATALOG_DISABLED: "SCHEDULE_CATALOG_DISABLED";
|
|
13041
|
+
}>>;
|
|
13042
|
+
retryCompleted: z.ZodBoolean;
|
|
13043
|
+
createdAt: z.ZodString;
|
|
13044
|
+
responseAt: z.ZodNullable<z.ZodString>;
|
|
13045
|
+
latestCheckAt: z.ZodNullable<z.ZodString>;
|
|
13046
|
+
}, z.core.$strip>>]>;
|
|
11891
13047
|
readonly querySchema: z.ZodObject<{
|
|
11892
13048
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11893
13049
|
}, z.core.$strip>;
|
|
@@ -11957,7 +13113,7 @@ declare const getIntegrationGlovoMenuVersionsQuerySchema: z.ZodObject<{
|
|
|
11957
13113
|
type GetIntegrationGlovoMenuVersionsQueryParams = z.infer<typeof getIntegrationGlovoMenuVersionsQuerySchema>;
|
|
11958
13114
|
declare const getIntegrationGlovoMenuVersionsInputSchema: z.ZodUndefined;
|
|
11959
13115
|
type GetIntegrationGlovoMenuVersionsInput = z.input<typeof getIntegrationGlovoMenuVersionsInputSchema>;
|
|
11960
|
-
declare const getIntegrationGlovoMenuVersionsResponseSchema: z.ZodObject<{
|
|
13116
|
+
declare const getIntegrationGlovoMenuVersionsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
11961
13117
|
data: z.ZodArray<z.ZodObject<{
|
|
11962
13118
|
id: z.ZodString;
|
|
11963
13119
|
contentUrl: z.ZodString;
|
|
@@ -11973,14 +13129,20 @@ declare const getIntegrationGlovoMenuVersionsResponseSchema: z.ZodObject<{
|
|
|
11973
13129
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11974
13130
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11975
13131
|
}, z.core.$strip>;
|
|
11976
|
-
}, z.core.$strip
|
|
13132
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
13133
|
+
id: z.ZodString;
|
|
13134
|
+
contentUrl: z.ZodString;
|
|
13135
|
+
filePath: z.ZodString;
|
|
13136
|
+
createdAt: z.ZodString;
|
|
13137
|
+
updatedAt: z.ZodString;
|
|
13138
|
+
}, z.core.$strip>>]>;
|
|
11977
13139
|
type GetIntegrationGlovoMenuVersionsResponse = z.infer<typeof getIntegrationGlovoMenuVersionsResponseSchema>;
|
|
11978
13140
|
declare class GetIntegrationGlovoMenuVersions extends AbstractApiRequest<typeof getIntegrationGlovoMenuVersionsInputSchema, typeof getIntegrationGlovoMenuVersionsResponseSchema, GetIntegrationGlovoMenuVersionsQueryParams> {
|
|
11979
13141
|
readonly method: "GET";
|
|
11980
13142
|
readonly contentType: "application/json";
|
|
11981
13143
|
readonly accept: "application/json";
|
|
11982
13144
|
readonly inputSchema: z.ZodUndefined;
|
|
11983
|
-
readonly outputSchema: z.ZodObject<{
|
|
13145
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
11984
13146
|
data: z.ZodArray<z.ZodObject<{
|
|
11985
13147
|
id: z.ZodString;
|
|
11986
13148
|
contentUrl: z.ZodString;
|
|
@@ -11996,7 +13158,13 @@ declare class GetIntegrationGlovoMenuVersions extends AbstractApiRequest<typeof
|
|
|
11996
13158
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11997
13159
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11998
13160
|
}, z.core.$strip>;
|
|
11999
|
-
}, z.core.$strip
|
|
13161
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
13162
|
+
id: z.ZodString;
|
|
13163
|
+
contentUrl: z.ZodString;
|
|
13164
|
+
filePath: z.ZodString;
|
|
13165
|
+
createdAt: z.ZodString;
|
|
13166
|
+
updatedAt: z.ZodString;
|
|
13167
|
+
}, z.core.$strip>>]>;
|
|
12000
13168
|
readonly querySchema: z.ZodObject<{
|
|
12001
13169
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
12002
13170
|
}, z.core.$strip>;
|
|
@@ -12075,7 +13243,7 @@ declare const getIntegrationGlovoWebhookEventsQuerySchema: z.ZodObject<{
|
|
|
12075
13243
|
type GetIntegrationGlovoWebhookEventsQueryParams = IntegrationGlovoWebhookEventsQueryParams;
|
|
12076
13244
|
declare const getIntegrationGlovoWebhookEventsInputSchema: z.ZodUndefined;
|
|
12077
13245
|
type GetIntegrationGlovoWebhookEventsInput = z.infer<typeof getIntegrationGlovoWebhookEventsInputSchema>;
|
|
12078
|
-
declare const getIntegrationGlovoWebhookEventsResponseSchema: z.ZodObject<{
|
|
13246
|
+
declare const getIntegrationGlovoWebhookEventsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
12079
13247
|
data: z.ZodArray<z.ZodObject<{
|
|
12080
13248
|
id: z.ZodString;
|
|
12081
13249
|
event: z.ZodEnum<{
|
|
@@ -12092,14 +13260,21 @@ declare const getIntegrationGlovoWebhookEventsResponseSchema: z.ZodObject<{
|
|
|
12092
13260
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
12093
13261
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
12094
13262
|
}, z.core.$strip>;
|
|
12095
|
-
}, z.core.$strip
|
|
13263
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
13264
|
+
id: z.ZodString;
|
|
13265
|
+
event: z.ZodEnum<{
|
|
13266
|
+
"order.dispatched": "order.dispatched";
|
|
13267
|
+
"order.cancelled": "order.cancelled";
|
|
13268
|
+
}>;
|
|
13269
|
+
createdAt: z.ZodString;
|
|
13270
|
+
}, z.core.$strip>>]>;
|
|
12096
13271
|
type GetIntegrationGlovoWebhookEventsResponse = z.infer<typeof getIntegrationGlovoWebhookEventsResponseSchema>;
|
|
12097
13272
|
declare class GetIntegrationGlovoWebhookEvents extends AbstractApiRequest<typeof getIntegrationGlovoWebhookEventsInputSchema, typeof getIntegrationGlovoWebhookEventsResponseSchema, GetIntegrationGlovoWebhookEventsQueryParams> {
|
|
12098
13273
|
readonly method: "GET";
|
|
12099
13274
|
readonly contentType: "application/json";
|
|
12100
13275
|
readonly accept: "application/json";
|
|
12101
13276
|
readonly inputSchema: z.ZodUndefined;
|
|
12102
|
-
readonly outputSchema: z.ZodObject<{
|
|
13277
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
12103
13278
|
data: z.ZodArray<z.ZodObject<{
|
|
12104
13279
|
id: z.ZodString;
|
|
12105
13280
|
event: z.ZodEnum<{
|
|
@@ -12116,7 +13291,14 @@ declare class GetIntegrationGlovoWebhookEvents extends AbstractApiRequest<typeof
|
|
|
12116
13291
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
12117
13292
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
12118
13293
|
}, z.core.$strip>;
|
|
12119
|
-
}, z.core.$strip
|
|
13294
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
13295
|
+
id: z.ZodString;
|
|
13296
|
+
event: z.ZodEnum<{
|
|
13297
|
+
"order.dispatched": "order.dispatched";
|
|
13298
|
+
"order.cancelled": "order.cancelled";
|
|
13299
|
+
}>;
|
|
13300
|
+
createdAt: z.ZodString;
|
|
13301
|
+
}, z.core.$strip>>]>;
|
|
12120
13302
|
readonly querySchema: z.ZodObject<{
|
|
12121
13303
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
12122
13304
|
asc: "asc";
|
|
@@ -12634,7 +13816,7 @@ declare const getIntegrationJustEatClientLogRequestsQuerySchema: z.ZodObject<{
|
|
|
12634
13816
|
type GetIntegrationJustEatClientLogRequestsQueryParams = ClientLogRequestQuery;
|
|
12635
13817
|
declare const getIntegrationJustEatClientLogRequestsInputSchema: z.ZodUndefined;
|
|
12636
13818
|
type GetIntegrationJustEatClientLogRequestsInput = z.infer<typeof getIntegrationJustEatClientLogRequestsInputSchema>;
|
|
12637
|
-
declare const getIntegrationJustEatClientLogRequestsResponseSchema: z.ZodObject<{
|
|
13819
|
+
declare const getIntegrationJustEatClientLogRequestsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
12638
13820
|
data: z.ZodArray<z.ZodObject<{
|
|
12639
13821
|
id: z.ZodString;
|
|
12640
13822
|
url: z.ZodString;
|
|
@@ -12656,14 +13838,26 @@ declare const getIntegrationJustEatClientLogRequestsResponseSchema: z.ZodObject<
|
|
|
12656
13838
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
12657
13839
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
12658
13840
|
}, z.core.$strip>;
|
|
12659
|
-
}, z.core.$strip
|
|
13841
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
13842
|
+
id: z.ZodString;
|
|
13843
|
+
url: z.ZodString;
|
|
13844
|
+
method: z.ZodEnum<{
|
|
13845
|
+
DELETE: "DELETE";
|
|
13846
|
+
GET: "GET";
|
|
13847
|
+
PATCH: "PATCH";
|
|
13848
|
+
POST: "POST";
|
|
13849
|
+
PUT: "PUT";
|
|
13850
|
+
}>;
|
|
13851
|
+
statusCode: z.ZodCoercedNumber<unknown>;
|
|
13852
|
+
createdAt: z.ZodString;
|
|
13853
|
+
}, z.core.$strip>>]>;
|
|
12660
13854
|
type GetIntegrationJustEatClientLogRequestsResponse = z.infer<typeof getIntegrationJustEatClientLogRequestsResponseSchema>;
|
|
12661
13855
|
declare class GetIntegrationJustEatClientLogRequests extends AbstractApiRequest<typeof getIntegrationJustEatClientLogRequestsInputSchema, typeof getIntegrationJustEatClientLogRequestsResponseSchema, GetIntegrationJustEatClientLogRequestsQueryParams> {
|
|
12662
13856
|
readonly method: "GET";
|
|
12663
13857
|
readonly contentType: "application/json";
|
|
12664
13858
|
readonly accept: "application/json";
|
|
12665
13859
|
readonly inputSchema: z.ZodUndefined;
|
|
12666
|
-
readonly outputSchema: z.ZodObject<{
|
|
13860
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
12667
13861
|
data: z.ZodArray<z.ZodObject<{
|
|
12668
13862
|
id: z.ZodString;
|
|
12669
13863
|
url: z.ZodString;
|
|
@@ -12685,7 +13879,19 @@ declare class GetIntegrationJustEatClientLogRequests extends AbstractApiRequest<
|
|
|
12685
13879
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
12686
13880
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
12687
13881
|
}, z.core.$strip>;
|
|
12688
|
-
}, z.core.$strip
|
|
13882
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
13883
|
+
id: z.ZodString;
|
|
13884
|
+
url: z.ZodString;
|
|
13885
|
+
method: z.ZodEnum<{
|
|
13886
|
+
DELETE: "DELETE";
|
|
13887
|
+
GET: "GET";
|
|
13888
|
+
PATCH: "PATCH";
|
|
13889
|
+
POST: "POST";
|
|
13890
|
+
PUT: "PUT";
|
|
13891
|
+
}>;
|
|
13892
|
+
statusCode: z.ZodCoercedNumber<unknown>;
|
|
13893
|
+
createdAt: z.ZodString;
|
|
13894
|
+
}, z.core.$strip>>]>;
|
|
12689
13895
|
readonly querySchema: z.ZodObject<{
|
|
12690
13896
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
12691
13897
|
asc: "asc";
|
|
@@ -12921,7 +14127,7 @@ declare const getIntegrationJustEatListQuerySchema: z.ZodObject<{
|
|
|
12921
14127
|
type GetIntegrationJustEatListQueryParams = z.infer<typeof getIntegrationJustEatListQuerySchema>;
|
|
12922
14128
|
declare const getIntegrationJustEatListInputSchema: z.ZodUndefined;
|
|
12923
14129
|
type GetIntegrationJustEatListInput = z.input<typeof getIntegrationJustEatListInputSchema>;
|
|
12924
|
-
declare const getIntegrationJustEatListResponseSchema: z.ZodObject<{
|
|
14130
|
+
declare const getIntegrationJustEatListResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
12925
14131
|
data: z.ZodArray<z.ZodObject<{
|
|
12926
14132
|
status: z.ZodEnum<{
|
|
12927
14133
|
pending: "pending";
|
|
@@ -12975,14 +14181,58 @@ declare const getIntegrationJustEatListResponseSchema: z.ZodObject<{
|
|
|
12975
14181
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
12976
14182
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
12977
14183
|
}, z.core.$strip>;
|
|
12978
|
-
}, z.core.$strip
|
|
14184
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
14185
|
+
status: z.ZodEnum<{
|
|
14186
|
+
pending: "pending";
|
|
14187
|
+
active: "active";
|
|
14188
|
+
deleting: "deleting";
|
|
14189
|
+
}>;
|
|
14190
|
+
provider: z.ZodEnum<{
|
|
14191
|
+
deliverart: "deliverart";
|
|
14192
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
14193
|
+
}>;
|
|
14194
|
+
createdAt: z.ZodString;
|
|
14195
|
+
updatedAt: z.ZodString;
|
|
14196
|
+
id: z.ZodString;
|
|
14197
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
14198
|
+
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>>;
|
|
14199
|
+
name: z.ZodString;
|
|
14200
|
+
skipInvalidItem: z.ZodBoolean;
|
|
14201
|
+
skipNegativePrices: z.ZodBoolean;
|
|
14202
|
+
importTaggedItems: z.ZodBoolean;
|
|
14203
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14204
|
+
isValidMenu: z.ZodBoolean;
|
|
14205
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
14206
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
14207
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
14208
|
+
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>>]>;
|
|
14209
|
+
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>>;
|
|
14210
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
14211
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
14212
|
+
invalid_menu: "invalid_menu";
|
|
14213
|
+
}>>;
|
|
14214
|
+
syncType: z.ZodEnum<{
|
|
14215
|
+
ALL: "ALL";
|
|
14216
|
+
DELIVERY: "DELIVERY";
|
|
14217
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
14218
|
+
}>;
|
|
14219
|
+
defaultLanguage: z.ZodString;
|
|
14220
|
+
restaurantId: z.ZodString;
|
|
14221
|
+
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
14222
|
+
service: z.ZodEnum<{
|
|
14223
|
+
justeat: "justeat";
|
|
14224
|
+
}>;
|
|
14225
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
14226
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
14227
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
14228
|
+
}, z.core.$strip>>]>;
|
|
12979
14229
|
type GetIntegrationJustEatListResponse = z.infer<typeof getIntegrationJustEatListResponseSchema>;
|
|
12980
14230
|
declare class GetIntegrationJustEatList extends AbstractApiRequest<typeof getIntegrationJustEatListInputSchema, typeof getIntegrationJustEatListResponseSchema, GetIntegrationJustEatListQueryParams> {
|
|
12981
14231
|
readonly method: "GET";
|
|
12982
14232
|
readonly contentType: "application/json";
|
|
12983
14233
|
readonly accept: "application/json";
|
|
12984
14234
|
readonly inputSchema: z.ZodUndefined;
|
|
12985
|
-
readonly outputSchema: z.ZodObject<{
|
|
14235
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
12986
14236
|
data: z.ZodArray<z.ZodObject<{
|
|
12987
14237
|
status: z.ZodEnum<{
|
|
12988
14238
|
pending: "pending";
|
|
@@ -13036,7 +14286,51 @@ declare class GetIntegrationJustEatList extends AbstractApiRequest<typeof getInt
|
|
|
13036
14286
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13037
14287
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13038
14288
|
}, z.core.$strip>;
|
|
13039
|
-
}, z.core.$strip
|
|
14289
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
14290
|
+
status: z.ZodEnum<{
|
|
14291
|
+
pending: "pending";
|
|
14292
|
+
active: "active";
|
|
14293
|
+
deleting: "deleting";
|
|
14294
|
+
}>;
|
|
14295
|
+
provider: z.ZodEnum<{
|
|
14296
|
+
deliverart: "deliverart";
|
|
14297
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
14298
|
+
}>;
|
|
14299
|
+
createdAt: z.ZodString;
|
|
14300
|
+
updatedAt: z.ZodString;
|
|
14301
|
+
id: z.ZodString;
|
|
14302
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
14303
|
+
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>>;
|
|
14304
|
+
name: z.ZodString;
|
|
14305
|
+
skipInvalidItem: z.ZodBoolean;
|
|
14306
|
+
skipNegativePrices: z.ZodBoolean;
|
|
14307
|
+
importTaggedItems: z.ZodBoolean;
|
|
14308
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14309
|
+
isValidMenu: z.ZodBoolean;
|
|
14310
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
14311
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
14312
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
14313
|
+
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>>]>;
|
|
14314
|
+
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>>;
|
|
14315
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
14316
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
14317
|
+
invalid_menu: "invalid_menu";
|
|
14318
|
+
}>>;
|
|
14319
|
+
syncType: z.ZodEnum<{
|
|
14320
|
+
ALL: "ALL";
|
|
14321
|
+
DELIVERY: "DELIVERY";
|
|
14322
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
14323
|
+
}>;
|
|
14324
|
+
defaultLanguage: z.ZodString;
|
|
14325
|
+
restaurantId: z.ZodString;
|
|
14326
|
+
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
14327
|
+
service: z.ZodEnum<{
|
|
14328
|
+
justeat: "justeat";
|
|
14329
|
+
}>;
|
|
14330
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
14331
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
14332
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
14333
|
+
}, z.core.$strip>>]>;
|
|
13040
14334
|
readonly querySchema: z.ZodObject<{
|
|
13041
14335
|
restaurantId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
13042
14336
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -13202,7 +14496,7 @@ declare const getIntegrationJustEatMenuVersionsQuerySchema: z.ZodObject<{
|
|
|
13202
14496
|
type GetIntegrationJustEatMenuVersionsQueryParams = z.infer<typeof getIntegrationJustEatMenuVersionsQuerySchema>;
|
|
13203
14497
|
declare const getIntegrationJustEatMenuVersionsInputSchema: z.ZodUndefined;
|
|
13204
14498
|
type GetIntegrationJustEatMenuVersionsInput = z.input<typeof getIntegrationJustEatMenuVersionsInputSchema>;
|
|
13205
|
-
declare const getIntegrationJustEatMenuVersionsResponseSchema: z.ZodObject<{
|
|
14499
|
+
declare const getIntegrationJustEatMenuVersionsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
13206
14500
|
data: z.ZodArray<z.ZodObject<{
|
|
13207
14501
|
id: z.ZodString;
|
|
13208
14502
|
contentUrl: z.ZodString;
|
|
@@ -13218,14 +14512,20 @@ declare const getIntegrationJustEatMenuVersionsResponseSchema: z.ZodObject<{
|
|
|
13218
14512
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13219
14513
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13220
14514
|
}, z.core.$strip>;
|
|
13221
|
-
}, z.core.$strip
|
|
14515
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
14516
|
+
id: z.ZodString;
|
|
14517
|
+
contentUrl: z.ZodString;
|
|
14518
|
+
filePath: z.ZodString;
|
|
14519
|
+
createdAt: z.ZodString;
|
|
14520
|
+
updatedAt: z.ZodString;
|
|
14521
|
+
}, z.core.$strip>>]>;
|
|
13222
14522
|
type GetIntegrationJustEatMenuVersionsResponse = z.infer<typeof getIntegrationJustEatMenuVersionsResponseSchema>;
|
|
13223
14523
|
declare class GetIntegrationJustEatMenuVersions extends AbstractApiRequest<typeof getIntegrationJustEatMenuVersionsInputSchema, typeof getIntegrationJustEatMenuVersionsResponseSchema, GetIntegrationJustEatMenuVersionsQueryParams> {
|
|
13224
14524
|
readonly method: "GET";
|
|
13225
14525
|
readonly contentType: "application/json";
|
|
13226
14526
|
readonly accept: "application/json";
|
|
13227
14527
|
readonly inputSchema: z.ZodUndefined;
|
|
13228
|
-
readonly outputSchema: z.ZodObject<{
|
|
14528
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
13229
14529
|
data: z.ZodArray<z.ZodObject<{
|
|
13230
14530
|
id: z.ZodString;
|
|
13231
14531
|
contentUrl: z.ZodString;
|
|
@@ -13241,7 +14541,13 @@ declare class GetIntegrationJustEatMenuVersions extends AbstractApiRequest<typeo
|
|
|
13241
14541
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13242
14542
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13243
14543
|
}, z.core.$strip>;
|
|
13244
|
-
}, z.core.$strip
|
|
14544
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
14545
|
+
id: z.ZodString;
|
|
14546
|
+
contentUrl: z.ZodString;
|
|
14547
|
+
filePath: z.ZodString;
|
|
14548
|
+
createdAt: z.ZodString;
|
|
14549
|
+
updatedAt: z.ZodString;
|
|
14550
|
+
}, z.core.$strip>>]>;
|
|
13245
14551
|
readonly querySchema: z.ZodObject<{
|
|
13246
14552
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
13247
14553
|
}, z.core.$strip>;
|
|
@@ -13329,7 +14635,7 @@ declare const getIntegrationJustEatOrdersQuerySchema: z.ZodObject<{
|
|
|
13329
14635
|
type GetIntegrationJustEatOrdersQueryParams = z.infer<typeof getIntegrationJustEatOrdersQuerySchema>;
|
|
13330
14636
|
declare const getIntegrationJustEatOrdersInputSchema: z.ZodUndefined;
|
|
13331
14637
|
type GetIntegrationJustEatOrdersInput = z.infer<typeof getIntegrationJustEatOrdersInputSchema>;
|
|
13332
|
-
declare const getIntegrationJustEatOrdersResponseSchema: z.ZodObject<{
|
|
14638
|
+
declare const getIntegrationJustEatOrdersResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
13333
14639
|
data: z.ZodArray<z.ZodObject<{
|
|
13334
14640
|
id: z.ZodString;
|
|
13335
14641
|
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>>;
|
|
@@ -13349,14 +14655,24 @@ declare const getIntegrationJustEatOrdersResponseSchema: z.ZodObject<{
|
|
|
13349
14655
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13350
14656
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13351
14657
|
}, z.core.$strip>;
|
|
13352
|
-
}, z.core.$strip
|
|
14658
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
14659
|
+
id: z.ZodString;
|
|
14660
|
+
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>>;
|
|
14661
|
+
justEatOrderId: z.ZodString;
|
|
14662
|
+
error: z.ZodNullable<z.ZodAny>;
|
|
14663
|
+
cancellationReason: z.ZodNullable<z.ZodString>;
|
|
14664
|
+
justEatThirdPartyOrderReferenceId: z.ZodNullable<z.ZodString>;
|
|
14665
|
+
createdAt: z.ZodString;
|
|
14666
|
+
processedAt: z.ZodNullable<z.ZodString>;
|
|
14667
|
+
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
14668
|
+
}, z.core.$strip>>]>;
|
|
13353
14669
|
type GetIntegrationJustEatOrdersResponse = z.infer<typeof getIntegrationJustEatOrdersResponseSchema>;
|
|
13354
14670
|
declare class GetIntegrationJustEatOrders extends AbstractApiRequest<typeof getIntegrationJustEatOrdersInputSchema, typeof getIntegrationJustEatOrdersResponseSchema, GetIntegrationJustEatOrdersQueryParams> {
|
|
13355
14671
|
readonly method: "GET";
|
|
13356
14672
|
readonly contentType: "application/json";
|
|
13357
14673
|
readonly accept: "application/json";
|
|
13358
14674
|
readonly inputSchema: z.ZodUndefined;
|
|
13359
|
-
readonly outputSchema: z.ZodObject<{
|
|
14675
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
13360
14676
|
data: z.ZodArray<z.ZodObject<{
|
|
13361
14677
|
id: z.ZodString;
|
|
13362
14678
|
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>>;
|
|
@@ -13376,7 +14692,17 @@ declare class GetIntegrationJustEatOrders extends AbstractApiRequest<typeof getI
|
|
|
13376
14692
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13377
14693
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13378
14694
|
}, z.core.$strip>;
|
|
13379
|
-
}, z.core.$strip
|
|
14695
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
14696
|
+
id: z.ZodString;
|
|
14697
|
+
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>>;
|
|
14698
|
+
justEatOrderId: z.ZodString;
|
|
14699
|
+
error: z.ZodNullable<z.ZodAny>;
|
|
14700
|
+
cancellationReason: z.ZodNullable<z.ZodString>;
|
|
14701
|
+
justEatThirdPartyOrderReferenceId: z.ZodNullable<z.ZodString>;
|
|
14702
|
+
createdAt: z.ZodString;
|
|
14703
|
+
processedAt: z.ZodNullable<z.ZodString>;
|
|
14704
|
+
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
14705
|
+
}, z.core.$strip>>]>;
|
|
13380
14706
|
readonly querySchema: z.ZodObject<{
|
|
13381
14707
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
13382
14708
|
asc: "asc";
|
|
@@ -13454,7 +14780,7 @@ declare const getIntegrationJustEatSyncMenuProcessesQuerySchema: z.ZodObject<{
|
|
|
13454
14780
|
type GetIntegrationJustEatSyncMenuProcessesQueryParams = z.infer<typeof getIntegrationJustEatSyncMenuProcessesQuerySchema>;
|
|
13455
14781
|
declare const getIntegrationJustEatSyncMenuProcessesInputSchema: z.ZodUndefined;
|
|
13456
14782
|
type GetIntegrationJustEatSyncMenuProcessesInput = z.infer<typeof getIntegrationJustEatSyncMenuProcessesInputSchema>;
|
|
13457
|
-
declare const getIntegrationJustEatSyncMenuProcessesResponseSchema: z.ZodObject<{
|
|
14783
|
+
declare const getIntegrationJustEatSyncMenuProcessesResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
13458
14784
|
data: z.ZodArray<z.ZodObject<{
|
|
13459
14785
|
id: z.ZodString;
|
|
13460
14786
|
ingestionSucceeded: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -13469,14 +14795,19 @@ declare const getIntegrationJustEatSyncMenuProcessesResponseSchema: z.ZodObject<
|
|
|
13469
14795
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13470
14796
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13471
14797
|
}, z.core.$strip>;
|
|
13472
|
-
}, z.core.$strip
|
|
14798
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
14799
|
+
id: z.ZodString;
|
|
14800
|
+
ingestionSucceeded: z.ZodNullable<z.ZodBoolean>;
|
|
14801
|
+
error: z.ZodNullable<z.ZodAny>;
|
|
14802
|
+
createdAt: z.ZodString;
|
|
14803
|
+
}, z.core.$strip>>]>;
|
|
13473
14804
|
type GetIntegrationJustEatSyncMenuProcessesResponse = z.infer<typeof getIntegrationJustEatSyncMenuProcessesResponseSchema>;
|
|
13474
14805
|
declare class GetIntegrationJustEatSyncMenuProcesses extends AbstractApiRequest<typeof getIntegrationJustEatSyncMenuProcessesInputSchema, typeof getIntegrationJustEatSyncMenuProcessesResponseSchema, GetIntegrationJustEatSyncMenuProcessesQueryParams> {
|
|
13475
14806
|
readonly method: "GET";
|
|
13476
14807
|
readonly contentType: "application/json";
|
|
13477
14808
|
readonly accept: "application/json";
|
|
13478
14809
|
readonly inputSchema: z.ZodUndefined;
|
|
13479
|
-
readonly outputSchema: z.ZodObject<{
|
|
14810
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
13480
14811
|
data: z.ZodArray<z.ZodObject<{
|
|
13481
14812
|
id: z.ZodString;
|
|
13482
14813
|
ingestionSucceeded: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -13491,7 +14822,12 @@ declare class GetIntegrationJustEatSyncMenuProcesses extends AbstractApiRequest<
|
|
|
13491
14822
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13492
14823
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13493
14824
|
}, z.core.$strip>;
|
|
13494
|
-
}, z.core.$strip
|
|
14825
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
14826
|
+
id: z.ZodString;
|
|
14827
|
+
ingestionSucceeded: z.ZodNullable<z.ZodBoolean>;
|
|
14828
|
+
error: z.ZodNullable<z.ZodAny>;
|
|
14829
|
+
createdAt: z.ZodString;
|
|
14830
|
+
}, z.core.$strip>>]>;
|
|
13495
14831
|
readonly querySchema: z.ZodObject<{
|
|
13496
14832
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
13497
14833
|
}, z.core.$strip>;
|