@deliverart/sdk-js-integration 2.6.1 → 2.6.3
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 +231 -1567
- package/dist/index.d.ts +231 -1567
- package/dist/index.js +44 -44
- package/package.json +7 -7
package/dist/index.d.ts
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.
|
|
2676
|
+
declare const getIntegrationActivationRequestsResponseSchema: z.ZodObject<{
|
|
2677
2677
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2678
2678
|
service: z.ZodLiteral<"deliveroo">;
|
|
2679
2679
|
data: z.ZodObject<{
|
|
@@ -2853,184 +2853,14 @@ declare const getIntegrationActivationRequestsResponseSchema: z.ZodUnion<readonl
|
|
|
2853
2853
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2854
2854
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2855
2855
|
}, z.core.$strip>;
|
|
2856
|
-
}, z.core.$strip
|
|
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>]>>]>;
|
|
2856
|
+
}, z.core.$strip>;
|
|
3027
2857
|
type GetIntegrationActivationRequestsResponse = z.infer<typeof getIntegrationActivationRequestsResponseSchema>;
|
|
3028
2858
|
declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof getIntegrationActivationRequestsInputSchema, typeof getIntegrationActivationRequestsResponseSchema, GetIntegrationActivationRequestsQueryParams> {
|
|
3029
2859
|
readonly method: "GET";
|
|
3030
2860
|
readonly contentType: "application/json";
|
|
3031
2861
|
readonly accept: "application/json";
|
|
3032
2862
|
readonly inputSchema: z.ZodUndefined;
|
|
3033
|
-
readonly outputSchema: z.
|
|
2863
|
+
readonly outputSchema: z.ZodObject<{
|
|
3034
2864
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3035
2865
|
service: z.ZodLiteral<"deliveroo">;
|
|
3036
2866
|
data: z.ZodObject<{
|
|
@@ -3186,201 +3016,31 @@ declare class GetIntegrationActivationRequests extends AbstractApiRequest<typeof
|
|
|
3186
3016
|
}>;
|
|
3187
3017
|
createdAt: z.ZodString;
|
|
3188
3018
|
updatedAt: z.ZodString;
|
|
3189
|
-
id: z.ZodString;
|
|
3190
|
-
connectionId: z.ZodNullable<z.ZodString>;
|
|
3191
|
-
name: z.ZodString;
|
|
3192
|
-
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3193
|
-
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3194
|
-
status: z.ZodEnum<{
|
|
3195
|
-
active: "active";
|
|
3196
|
-
waiting_for_user: "waiting_for_user";
|
|
3197
|
-
waiting_for_admin: "waiting_for_admin";
|
|
3198
|
-
request_sent_partner: "request_sent_partner";
|
|
3199
|
-
failed: "failed";
|
|
3200
|
-
}>;
|
|
3201
|
-
message: z.ZodNullable<z.ZodString>;
|
|
3202
|
-
updatedAt: z.ZodString;
|
|
3203
|
-
}, z.core.$strip>>>>;
|
|
3204
|
-
}, z.core.$strip>]>>;
|
|
3205
|
-
pagination: z.ZodObject<{
|
|
3206
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
3207
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
3208
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3209
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3210
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3211
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3212
|
-
}, z.core.$strip>;
|
|
3213
|
-
}, z.core.$strip
|
|
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>]>>]>;
|
|
3019
|
+
id: z.ZodString;
|
|
3020
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
3021
|
+
name: z.ZodString;
|
|
3022
|
+
internalNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3023
|
+
updates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3024
|
+
status: z.ZodEnum<{
|
|
3025
|
+
active: "active";
|
|
3026
|
+
waiting_for_user: "waiting_for_user";
|
|
3027
|
+
waiting_for_admin: "waiting_for_admin";
|
|
3028
|
+
request_sent_partner: "request_sent_partner";
|
|
3029
|
+
failed: "failed";
|
|
3030
|
+
}>;
|
|
3031
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3032
|
+
updatedAt: z.ZodString;
|
|
3033
|
+
}, z.core.$strip>>>>;
|
|
3034
|
+
}, z.core.$strip>]>>;
|
|
3035
|
+
pagination: z.ZodObject<{
|
|
3036
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3037
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3038
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3039
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3040
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3041
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3042
|
+
}, z.core.$strip>;
|
|
3043
|
+
}, z.core.$strip>;
|
|
3384
3044
|
readonly querySchema: z.ZodObject<{
|
|
3385
3045
|
'order[service]': z.ZodOptional<z.ZodEnum<{
|
|
3386
3046
|
asc: "asc";
|
|
@@ -5748,7 +5408,7 @@ declare const getIntegrationCancellationRequestsQuerySchema: z.ZodObject<{
|
|
|
5748
5408
|
type GetIntegrationCancellationRequestsQueryParams = z.infer<typeof getIntegrationCancellationRequestsQuerySchema>;
|
|
5749
5409
|
declare const getIntegrationCancellationRequestsInputSchema: z.ZodUndefined;
|
|
5750
5410
|
type GetIntegrationCancellationRequestsInput = z.input<typeof getIntegrationCancellationRequestsInputSchema>;
|
|
5751
|
-
declare const getIntegrationCancellationRequestsResponseSchema: z.
|
|
5411
|
+
declare const getIntegrationCancellationRequestsResponseSchema: z.ZodObject<{
|
|
5752
5412
|
data: z.ZodArray<z.ZodObject<{
|
|
5753
5413
|
id: z.ZodString;
|
|
5754
5414
|
status: z.ZodEnum<{
|
|
@@ -5767,23 +5427,14 @@ declare const getIntegrationCancellationRequestsResponseSchema: z.ZodUnion<reado
|
|
|
5767
5427
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5768
5428
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5769
5429
|
}, z.core.$strip>;
|
|
5770
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
5430
|
+
}, z.core.$strip>;
|
|
5780
5431
|
type GetIntegrationCancellationRequestsResponse = z.infer<typeof getIntegrationCancellationRequestsResponseSchema>;
|
|
5781
5432
|
declare class GetIntegrationCancellationRequests extends AbstractApiRequest<typeof getIntegrationCancellationRequestsInputSchema, typeof getIntegrationCancellationRequestsResponseSchema, GetIntegrationCancellationRequestsQueryParams> {
|
|
5782
5433
|
readonly method: "GET";
|
|
5783
5434
|
readonly contentType: "application/json";
|
|
5784
5435
|
readonly accept: "application/json";
|
|
5785
5436
|
readonly inputSchema: z.ZodUndefined;
|
|
5786
|
-
readonly outputSchema: z.
|
|
5437
|
+
readonly outputSchema: z.ZodObject<{
|
|
5787
5438
|
data: z.ZodArray<z.ZodObject<{
|
|
5788
5439
|
id: z.ZodString;
|
|
5789
5440
|
status: z.ZodEnum<{
|
|
@@ -5802,16 +5453,7 @@ declare class GetIntegrationCancellationRequests extends AbstractApiRequest<type
|
|
|
5802
5453
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5803
5454
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5804
5455
|
}, z.core.$strip>;
|
|
5805
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
5456
|
+
}, z.core.$strip>;
|
|
5815
5457
|
readonly querySchema: z.ZodObject<{
|
|
5816
5458
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
5817
5459
|
asc: "asc";
|
|
@@ -6270,7 +5912,7 @@ declare const getIntegrationsQuerySchema: z.ZodObject<{
|
|
|
6270
5912
|
type GetIntegrationsQueryParams = z.infer<typeof getIntegrationsQuerySchema>;
|
|
6271
5913
|
declare const getIntegrationsInputSchema: z.ZodUndefined;
|
|
6272
5914
|
type GetIntegrationsInput = z.infer<typeof getIntegrationsInputSchema>;
|
|
6273
|
-
declare const getIntegrationsResponseSchema: z.
|
|
5915
|
+
declare const getIntegrationsResponseSchema: z.ZodObject<{
|
|
6274
5916
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6275
5917
|
status: z.ZodEnum<{
|
|
6276
5918
|
pending: "pending";
|
|
@@ -6391,237 +6033,70 @@ declare const getIntegrationsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
6391
6033
|
service: z.ZodEnum<{
|
|
6392
6034
|
glovo: "glovo";
|
|
6393
6035
|
}>;
|
|
6394
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6395
|
-
status: z.ZodEnum<{
|
|
6396
|
-
pending: "pending";
|
|
6397
|
-
active: "active";
|
|
6398
|
-
deleting: "deleting";
|
|
6399
|
-
}>;
|
|
6400
|
-
provider: z.ZodEnum<{
|
|
6401
|
-
deliverart: "deliverart";
|
|
6402
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
6403
|
-
}>;
|
|
6404
|
-
createdAt: z.ZodString;
|
|
6405
|
-
updatedAt: z.ZodString;
|
|
6406
|
-
id: z.ZodString;
|
|
6407
|
-
connectionId: z.ZodNullable<z.ZodString>;
|
|
6408
|
-
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>>;
|
|
6409
|
-
errors: z.ZodArray<z.ZodString>;
|
|
6410
|
-
finalized: z.ZodBoolean;
|
|
6411
|
-
apiKey: z.ZodString;
|
|
6412
|
-
service: z.ZodEnum<{
|
|
6413
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
6414
|
-
}>;
|
|
6415
|
-
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
6416
|
-
direction: z.ZodEnum<{
|
|
6417
|
-
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6418
|
-
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6419
|
-
}>;
|
|
6420
|
-
locale: z.ZodString;
|
|
6421
|
-
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6422
|
-
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
6423
|
-
syncSettings: z.ZodObject<{
|
|
6424
|
-
externalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
6425
|
-
internalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
6426
|
-
skipSyncProductDescription: z.ZodDefault<z.ZodBoolean>;
|
|
6427
|
-
skipSyncTimetables: z.ZodDefault<z.ZodBoolean>;
|
|
6428
|
-
missingComponentStrategy: z.ZodDefault<z.ZodEnum<{
|
|
6429
|
-
SKIP_ITEM: "SKIP_ITEM";
|
|
6430
|
-
CANCEL_PRODUCT: "CANCEL_PRODUCT";
|
|
6431
|
-
}>>;
|
|
6432
|
-
}, z.core.$strip>;
|
|
6433
|
-
productChannels: z.ZodArray<z.ZodEnum<{
|
|
6434
|
-
RISTO: "RISTO";
|
|
6435
|
-
SALE: "SALE";
|
|
6436
|
-
ECOMMERCE: "ECOMMERCE";
|
|
6437
|
-
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6438
|
-
SELF_ORDER: "SELF_ORDER";
|
|
6439
|
-
KIOSK: "KIOSK";
|
|
6440
|
-
}>>;
|
|
6441
|
-
}, z.core.$strip>]>>;
|
|
6442
|
-
pagination: z.ZodObject<{
|
|
6443
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
6444
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
6445
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
6446
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
6447
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
6448
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
6449
|
-
}, 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";
|
|
6036
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6037
|
+
status: z.ZodEnum<{
|
|
6038
|
+
pending: "pending";
|
|
6039
|
+
active: "active";
|
|
6040
|
+
deleting: "deleting";
|
|
6041
|
+
}>;
|
|
6042
|
+
provider: z.ZodEnum<{
|
|
6043
|
+
deliverart: "deliverart";
|
|
6044
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6045
|
+
}>;
|
|
6046
|
+
createdAt: z.ZodString;
|
|
6047
|
+
updatedAt: z.ZodString;
|
|
6048
|
+
id: z.ZodString;
|
|
6049
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6050
|
+
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>>;
|
|
6051
|
+
errors: z.ZodArray<z.ZodString>;
|
|
6052
|
+
finalized: z.ZodBoolean;
|
|
6053
|
+
apiKey: z.ZodString;
|
|
6054
|
+
service: z.ZodEnum<{
|
|
6055
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6056
|
+
}>;
|
|
6057
|
+
idSalesPoint: z.ZodCoercedNumber<unknown>;
|
|
6058
|
+
direction: z.ZodEnum<{
|
|
6059
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6060
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6061
|
+
}>;
|
|
6062
|
+
locale: z.ZodString;
|
|
6063
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6064
|
+
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
6065
|
+
syncSettings: z.ZodObject<{
|
|
6066
|
+
externalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
6067
|
+
internalCascadeDeleteOrder: z.ZodDefault<z.ZodBoolean>;
|
|
6068
|
+
skipSyncProductDescription: z.ZodDefault<z.ZodBoolean>;
|
|
6069
|
+
skipSyncTimetables: z.ZodDefault<z.ZodBoolean>;
|
|
6070
|
+
missingComponentStrategy: z.ZodDefault<z.ZodEnum<{
|
|
6071
|
+
SKIP_ITEM: "SKIP_ITEM";
|
|
6072
|
+
CANCEL_PRODUCT: "CANCEL_PRODUCT";
|
|
6073
|
+
}>>;
|
|
6074
|
+
}, z.core.$strip>;
|
|
6075
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
6076
|
+
RISTO: "RISTO";
|
|
6077
|
+
SALE: "SALE";
|
|
6078
|
+
ECOMMERCE: "ECOMMERCE";
|
|
6079
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6080
|
+
SELF_ORDER: "SELF_ORDER";
|
|
6081
|
+
KIOSK: "KIOSK";
|
|
6607
6082
|
}>>;
|
|
6083
|
+
}, z.core.$strip>]>>;
|
|
6084
|
+
pagination: z.ZodObject<{
|
|
6085
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
6086
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
6087
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
6088
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
6089
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
6090
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
6608
6091
|
}, z.core.$strip>;
|
|
6609
|
-
|
|
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>]>>]>;
|
|
6092
|
+
}, z.core.$strip>;
|
|
6618
6093
|
type GetIntegrationsResponse = z.infer<typeof getIntegrationsResponseSchema>;
|
|
6619
6094
|
declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsInputSchema, typeof getIntegrationsResponseSchema, GetIntegrationsQueryParams> {
|
|
6620
6095
|
readonly method: "GET";
|
|
6621
6096
|
readonly contentType: "application/json";
|
|
6622
6097
|
readonly accept: "application/json";
|
|
6623
6098
|
readonly inputSchema: z.ZodUndefined;
|
|
6624
|
-
readonly outputSchema: z.
|
|
6099
|
+
readonly outputSchema: z.ZodObject<{
|
|
6625
6100
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6626
6101
|
status: z.ZodEnum<{
|
|
6627
6102
|
pending: "pending";
|
|
@@ -6798,174 +6273,7 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
|
|
|
6798
6273
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
6799
6274
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
6800
6275
|
}, z.core.$strip>;
|
|
6801
|
-
}, z.core.$strip
|
|
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
|
-
}>>;
|
|
6959
|
-
}, z.core.$strip>;
|
|
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>]>>]>;
|
|
6276
|
+
}, z.core.$strip>;
|
|
6969
6277
|
readonly querySchema: z.ZodObject<{
|
|
6970
6278
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6971
6279
|
pending: "pending";
|
|
@@ -9319,7 +8627,7 @@ declare const getIntegrationCassaInCloudClientLogRequestsQuerySchema: z.ZodObjec
|
|
|
9319
8627
|
type GetIntegrationCassaInCloudClientLogRequestsQueryParams = ClientLogRequestQuery;
|
|
9320
8628
|
declare const getIntegrationCassaInCloudClientLogRequestsInputSchema: z.ZodUndefined;
|
|
9321
8629
|
type GetIntegrationCassaInCloudClientLogRequestsInput = z.infer<typeof getIntegrationCassaInCloudClientLogRequestsInputSchema>;
|
|
9322
|
-
declare const getIntegrationCassaInCloudClientLogRequestsResponseSchema: z.
|
|
8630
|
+
declare const getIntegrationCassaInCloudClientLogRequestsResponseSchema: z.ZodObject<{
|
|
9323
8631
|
data: z.ZodArray<z.ZodObject<{
|
|
9324
8632
|
id: z.ZodString;
|
|
9325
8633
|
url: z.ZodString;
|
|
@@ -9341,26 +8649,14 @@ declare const getIntegrationCassaInCloudClientLogRequestsResponseSchema: z.ZodUn
|
|
|
9341
8649
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
9342
8650
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
9343
8651
|
}, z.core.$strip>;
|
|
9344
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
8652
|
+
}, z.core.$strip>;
|
|
9357
8653
|
type GetIntegrationCassaInCloudClientLogRequestsResponse = z.infer<typeof getIntegrationCassaInCloudClientLogRequestsResponseSchema>;
|
|
9358
8654
|
declare class GetIntegrationCassaInCloudClientLogRequests extends AbstractApiRequest<typeof getIntegrationCassaInCloudClientLogRequestsInputSchema, typeof getIntegrationCassaInCloudClientLogRequestsResponseSchema, GetIntegrationCassaInCloudClientLogRequestsQueryParams> {
|
|
9359
8655
|
readonly method: "GET";
|
|
9360
8656
|
readonly contentType: "application/json";
|
|
9361
8657
|
readonly accept: "application/json";
|
|
9362
8658
|
readonly inputSchema: z.ZodUndefined;
|
|
9363
|
-
readonly outputSchema: z.
|
|
8659
|
+
readonly outputSchema: z.ZodObject<{
|
|
9364
8660
|
data: z.ZodArray<z.ZodObject<{
|
|
9365
8661
|
id: z.ZodString;
|
|
9366
8662
|
url: z.ZodString;
|
|
@@ -9381,20 +8677,8 @@ declare class GetIntegrationCassaInCloudClientLogRequests extends AbstractApiReq
|
|
|
9381
8677
|
totalItems: z.ZodCoercedNumber<unknown>;
|
|
9382
8678
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
9383
8679
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
9384
|
-
}, z.core.$strip>;
|
|
9385
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
8680
|
+
}, z.core.$strip>;
|
|
8681
|
+
}, z.core.$strip>;
|
|
9398
8682
|
readonly querySchema: z.ZodObject<{
|
|
9399
8683
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
9400
8684
|
asc: "asc";
|
|
@@ -9611,7 +8895,7 @@ declare const getIntegrationCassaInCloudListQuerySchema: z.ZodObject<{
|
|
|
9611
8895
|
type GetIntegrationCassaInCloudListQueryParams = z.infer<typeof getIntegrationCassaInCloudListQuerySchema>;
|
|
9612
8896
|
declare const getIntegrationCassaInCloudListInputSchema: z.ZodUndefined;
|
|
9613
8897
|
type GetIntegrationCassaInCloudListInput = z.infer<typeof getIntegrationCassaInCloudListInputSchema>;
|
|
9614
|
-
declare const getIntegrationCassaInCloudListResponseSchema: z.
|
|
8898
|
+
declare const getIntegrationCassaInCloudListResponseSchema: z.ZodObject<{
|
|
9615
8899
|
data: z.ZodArray<z.ZodObject<{
|
|
9616
8900
|
status: z.ZodEnum<{
|
|
9617
8901
|
pending: "pending";
|
|
@@ -9668,61 +8952,14 @@ declare const getIntegrationCassaInCloudListResponseSchema: z.ZodUnion<readonly
|
|
|
9668
8952
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
9669
8953
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
9670
8954
|
}, z.core.$strip>;
|
|
9671
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
8955
|
+
}, z.core.$strip>;
|
|
9719
8956
|
type GetIntegrationCassaInCloudListResponse = z.infer<typeof getIntegrationCassaInCloudListResponseSchema>;
|
|
9720
8957
|
declare class GetIntegrationCassaInCloudList extends AbstractApiRequest<typeof getIntegrationCassaInCloudListInputSchema, typeof getIntegrationCassaInCloudListResponseSchema, GetIntegrationCassaInCloudListQueryParams> {
|
|
9721
8958
|
readonly method: "GET";
|
|
9722
8959
|
readonly contentType: "application/json";
|
|
9723
8960
|
readonly accept: "application/json";
|
|
9724
8961
|
readonly inputSchema: z.ZodUndefined;
|
|
9725
|
-
readonly outputSchema: z.
|
|
8962
|
+
readonly outputSchema: z.ZodObject<{
|
|
9726
8963
|
data: z.ZodArray<z.ZodObject<{
|
|
9727
8964
|
status: z.ZodEnum<{
|
|
9728
8965
|
pending: "pending";
|
|
@@ -9779,54 +9016,7 @@ declare class GetIntegrationCassaInCloudList extends AbstractApiRequest<typeof g
|
|
|
9779
9016
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
9780
9017
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
9781
9018
|
}, z.core.$strip>;
|
|
9782
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
9019
|
+
}, z.core.$strip>;
|
|
9830
9020
|
readonly querySchema: z.ZodObject<{
|
|
9831
9021
|
direction: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
9832
9022
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
@@ -9976,7 +9166,7 @@ declare const getIntegrationCassaInCloudSyncMenuProcessesQuerySchema: z.ZodObjec
|
|
|
9976
9166
|
type GetIntegrationCassaInCloudSyncMenuProcessesQueryParams = z.infer<typeof getIntegrationCassaInCloudSyncMenuProcessesQuerySchema>;
|
|
9977
9167
|
declare const getIntegrationCassaInCloudSyncMenuProcessesInputSchema: z.ZodUndefined;
|
|
9978
9168
|
type GetIntegrationCassaInCloudSyncMenuProcessesInput = z.infer<typeof getIntegrationCassaInCloudSyncMenuProcessesInputSchema>;
|
|
9979
|
-
declare const getIntegrationCassaInCloudSyncMenuProcessesResponseSchema: z.
|
|
9169
|
+
declare const getIntegrationCassaInCloudSyncMenuProcessesResponseSchema: z.ZodObject<{
|
|
9980
9170
|
data: z.ZodArray<z.ZodObject<{
|
|
9981
9171
|
id: z.ZodString;
|
|
9982
9172
|
currentPlaces: z.ZodAny;
|
|
@@ -9994,22 +9184,14 @@ declare const getIntegrationCassaInCloudSyncMenuProcessesResponseSchema: z.ZodUn
|
|
|
9994
9184
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
9995
9185
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
9996
9186
|
}, z.core.$strip>;
|
|
9997
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
9187
|
+
}, z.core.$strip>;
|
|
10006
9188
|
type GetIntegrationCassaInCloudSyncMenuProcessesResponse = z.infer<typeof getIntegrationCassaInCloudSyncMenuProcessesResponseSchema>;
|
|
10007
9189
|
declare class GetIntegrationCassaInCloudSyncMenuProcesses extends AbstractApiRequest<typeof getIntegrationCassaInCloudSyncMenuProcessesInputSchema, typeof getIntegrationCassaInCloudSyncMenuProcessesResponseSchema, GetIntegrationCassaInCloudSyncMenuProcessesQueryParams> {
|
|
10008
9190
|
readonly method: "GET";
|
|
10009
9191
|
readonly contentType: "application/json";
|
|
10010
9192
|
readonly accept: "application/json";
|
|
10011
9193
|
readonly inputSchema: z.ZodUndefined;
|
|
10012
|
-
readonly outputSchema: z.
|
|
9194
|
+
readonly outputSchema: z.ZodObject<{
|
|
10013
9195
|
data: z.ZodArray<z.ZodObject<{
|
|
10014
9196
|
id: z.ZodString;
|
|
10015
9197
|
currentPlaces: z.ZodAny;
|
|
@@ -10027,15 +9209,7 @@ declare class GetIntegrationCassaInCloudSyncMenuProcesses extends AbstractApiReq
|
|
|
10027
9209
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10028
9210
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10029
9211
|
}, z.core.$strip>;
|
|
10030
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
9212
|
+
}, z.core.$strip>;
|
|
10039
9213
|
readonly querySchema: z.ZodObject<{
|
|
10040
9214
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
10041
9215
|
}, z.core.$strip>;
|
|
@@ -10169,7 +9343,7 @@ declare const getIntegrationCassaInCloudWebHookEventsQuerySchema: z.ZodObject<{
|
|
|
10169
9343
|
type GetIntegrationCassaInCloudWebHookEventsQueryParams = IntegrationCassaInCloudWebHookEventsQueryParams;
|
|
10170
9344
|
declare const getIntegrationCassaInCloudWebHookEventsInputSchema: z.ZodUndefined;
|
|
10171
9345
|
type GetIntegrationCassaInCloudWebHookEventsInput = z.infer<typeof getIntegrationCassaInCloudWebHookEventsInputSchema>;
|
|
10172
|
-
declare const getIntegrationCassaInCloudWebHookEventsResponseSchema: z.
|
|
9346
|
+
declare const getIntegrationCassaInCloudWebHookEventsResponseSchema: z.ZodObject<{
|
|
10173
9347
|
data: z.ZodArray<z.ZodObject<{
|
|
10174
9348
|
id: z.ZodString;
|
|
10175
9349
|
entity: z.ZodEnum<{
|
|
@@ -10201,36 +9375,14 @@ declare const getIntegrationCassaInCloudWebHookEventsResponseSchema: z.ZodUnion<
|
|
|
10201
9375
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10202
9376
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10203
9377
|
}, z.core.$strip>;
|
|
10204
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
9378
|
+
}, z.core.$strip>;
|
|
10227
9379
|
type GetIntegrationCassaInCloudWebHookEventsResponse = z.infer<typeof getIntegrationCassaInCloudWebHookEventsResponseSchema>;
|
|
10228
9380
|
declare class GetIntegrationCassaInCloudWebHookEvents extends AbstractApiRequest<typeof getIntegrationCassaInCloudWebHookEventsInputSchema, typeof getIntegrationCassaInCloudWebHookEventsResponseSchema, GetIntegrationCassaInCloudWebHookEventsQueryParams> {
|
|
10229
9381
|
readonly method: "GET";
|
|
10230
9382
|
readonly contentType: "application/json";
|
|
10231
9383
|
readonly accept: "application/json";
|
|
10232
9384
|
readonly inputSchema: z.ZodUndefined;
|
|
10233
|
-
readonly outputSchema: z.
|
|
9385
|
+
readonly outputSchema: z.ZodObject<{
|
|
10234
9386
|
data: z.ZodArray<z.ZodObject<{
|
|
10235
9387
|
id: z.ZodString;
|
|
10236
9388
|
entity: z.ZodEnum<{
|
|
@@ -10262,29 +9414,7 @@ declare class GetIntegrationCassaInCloudWebHookEvents extends AbstractApiRequest
|
|
|
10262
9414
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10263
9415
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10264
9416
|
}, z.core.$strip>;
|
|
10265
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
9417
|
+
}, z.core.$strip>;
|
|
10288
9418
|
readonly querySchema: z.ZodObject<{
|
|
10289
9419
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
10290
9420
|
asc: "asc";
|
|
@@ -10856,7 +9986,7 @@ declare const getIntegrationDeliverooClientLogRequestsQuerySchema: z.ZodObject<{
|
|
|
10856
9986
|
type GetIntegrationDeliverooClientLogRequestsQueryParams = ClientLogRequestQuery;
|
|
10857
9987
|
declare const getIntegrationDeliverooClientLogRequestsInputSchema: z.ZodUndefined;
|
|
10858
9988
|
type GetIntegrationDeliverooClientLogRequestsInput = z.infer<typeof getIntegrationDeliverooClientLogRequestsInputSchema>;
|
|
10859
|
-
declare const getIntegrationDeliverooClientLogRequestsResponseSchema: z.
|
|
9989
|
+
declare const getIntegrationDeliverooClientLogRequestsResponseSchema: z.ZodObject<{
|
|
10860
9990
|
data: z.ZodArray<z.ZodObject<{
|
|
10861
9991
|
id: z.ZodString;
|
|
10862
9992
|
url: z.ZodString;
|
|
@@ -10878,26 +10008,14 @@ declare const getIntegrationDeliverooClientLogRequestsResponseSchema: z.ZodUnion
|
|
|
10878
10008
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10879
10009
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10880
10010
|
}, z.core.$strip>;
|
|
10881
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
10011
|
+
}, z.core.$strip>;
|
|
10894
10012
|
type GetIntegrationDeliverooClientLogRequestsResponse = z.infer<typeof getIntegrationDeliverooClientLogRequestsResponseSchema>;
|
|
10895
10013
|
declare class GetIntegrationDeliverooClientLogRequests extends AbstractApiRequest<typeof getIntegrationDeliverooClientLogRequestsInputSchema, typeof getIntegrationDeliverooClientLogRequestsResponseSchema, GetIntegrationDeliverooClientLogRequestsQueryParams> {
|
|
10896
10014
|
readonly method: "GET";
|
|
10897
10015
|
readonly contentType: "application/json";
|
|
10898
10016
|
readonly accept: "application/json";
|
|
10899
10017
|
readonly inputSchema: z.ZodUndefined;
|
|
10900
|
-
readonly outputSchema: z.
|
|
10018
|
+
readonly outputSchema: z.ZodObject<{
|
|
10901
10019
|
data: z.ZodArray<z.ZodObject<{
|
|
10902
10020
|
id: z.ZodString;
|
|
10903
10021
|
url: z.ZodString;
|
|
@@ -10919,19 +10037,7 @@ declare class GetIntegrationDeliverooClientLogRequests extends AbstractApiReques
|
|
|
10919
10037
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10920
10038
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10921
10039
|
}, z.core.$strip>;
|
|
10922
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
10040
|
+
}, z.core.$strip>;
|
|
10935
10041
|
readonly querySchema: z.ZodObject<{
|
|
10936
10042
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
10937
10043
|
asc: "asc";
|
|
@@ -11141,7 +10247,7 @@ declare const getIntegrationDeliverooListQuerySchema: z.ZodObject<{
|
|
|
11141
10247
|
'latestOpeningHoursSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11142
10248
|
}, z.core.$strip>;
|
|
11143
10249
|
type GetIntegrationDeliverooListQueryParams = z.infer<typeof getIntegrationDeliverooListQuerySchema>;
|
|
11144
|
-
declare const getIntegrationDeliverooListResponseSchema: z.
|
|
10250
|
+
declare const getIntegrationDeliverooListResponseSchema: z.ZodObject<{
|
|
11145
10251
|
data: z.ZodArray<z.ZodObject<{
|
|
11146
10252
|
status: z.ZodEnum<{
|
|
11147
10253
|
pending: "pending";
|
|
@@ -11158,80 +10264,40 @@ declare const getIntegrationDeliverooListResponseSchema: z.ZodUnion<readonly [z.
|
|
|
11158
10264
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
11159
10265
|
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>>;
|
|
11160
10266
|
name: z.ZodString;
|
|
11161
|
-
skipInvalidItem: z.ZodBoolean;
|
|
11162
|
-
skipNegativePrices: z.ZodBoolean;
|
|
11163
|
-
importTaggedItems: z.ZodBoolean;
|
|
11164
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11165
|
-
isValidMenu: z.ZodBoolean;
|
|
11166
|
-
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
11167
|
-
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
11168
|
-
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
11169
|
-
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>>]>;
|
|
11170
|
-
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>>;
|
|
11171
|
-
errors: z.ZodArray<z.ZodEnum<{
|
|
11172
|
-
latest_menu_sync_error: "latest_menu_sync_error";
|
|
11173
|
-
invalid_menu: "invalid_menu";
|
|
11174
|
-
}>>;
|
|
11175
|
-
brandId: z.ZodString;
|
|
11176
|
-
siteId: z.ZodString;
|
|
11177
|
-
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>>;
|
|
11178
|
-
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
11179
|
-
service: z.ZodEnum<{
|
|
11180
|
-
deliveroo: "deliveroo";
|
|
11181
|
-
}>;
|
|
11182
|
-
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
11183
|
-
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
11184
|
-
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
11185
|
-
}, z.core.$strip>>;
|
|
11186
|
-
pagination: z.ZodObject<{
|
|
11187
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
11188
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
11189
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
11190
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
11191
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11192
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11193
|
-
}, z.core.$strip>;
|
|
11194
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
10267
|
+
skipInvalidItem: z.ZodBoolean;
|
|
10268
|
+
skipNegativePrices: z.ZodBoolean;
|
|
10269
|
+
importTaggedItems: z.ZodBoolean;
|
|
10270
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10271
|
+
isValidMenu: z.ZodBoolean;
|
|
10272
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
10273
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
10274
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
10275
|
+
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>>]>;
|
|
10276
|
+
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>>;
|
|
10277
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
10278
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
10279
|
+
invalid_menu: "invalid_menu";
|
|
10280
|
+
}>>;
|
|
10281
|
+
brandId: z.ZodString;
|
|
10282
|
+
siteId: z.ZodString;
|
|
10283
|
+
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>>;
|
|
10284
|
+
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
10285
|
+
service: z.ZodEnum<{
|
|
10286
|
+
deliveroo: "deliveroo";
|
|
10287
|
+
}>;
|
|
10288
|
+
acceptanceTimeout: z.ZodCoercedNumber<unknown>;
|
|
10289
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
10290
|
+
currentMenuVersionSyncAttempts: z.ZodCoercedNumber<unknown>;
|
|
10291
|
+
}, z.core.$strip>>;
|
|
10292
|
+
pagination: z.ZodObject<{
|
|
10293
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
10294
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
10295
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
10296
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
10297
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
10298
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
10299
|
+
}, z.core.$strip>;
|
|
10300
|
+
}, z.core.$strip>;
|
|
11235
10301
|
type GetIntegrationDeliverooListResponse = z.infer<typeof getIntegrationDeliverooListResponseSchema>;
|
|
11236
10302
|
declare const getIntegrationDeliverooListInputSchema: z.ZodUndefined;
|
|
11237
10303
|
declare class GetIntegrationDeliverooList extends AbstractApiRequest<typeof getIntegrationDeliverooListInputSchema, typeof getIntegrationDeliverooListResponseSchema, GetIntegrationDeliverooListQueryParams> {
|
|
@@ -11239,7 +10305,7 @@ declare class GetIntegrationDeliverooList extends AbstractApiRequest<typeof getI
|
|
|
11239
10305
|
readonly contentType: "application/json";
|
|
11240
10306
|
readonly accept: "application/json";
|
|
11241
10307
|
readonly inputSchema: z.ZodUndefined;
|
|
11242
|
-
readonly outputSchema: z.
|
|
10308
|
+
readonly outputSchema: z.ZodObject<{
|
|
11243
10309
|
data: z.ZodArray<z.ZodObject<{
|
|
11244
10310
|
status: z.ZodEnum<{
|
|
11245
10311
|
pending: "pending";
|
|
@@ -11289,47 +10355,7 @@ declare class GetIntegrationDeliverooList extends AbstractApiRequest<typeof getI
|
|
|
11289
10355
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11290
10356
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11291
10357
|
}, z.core.$strip>;
|
|
11292
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
10358
|
+
}, z.core.$strip>;
|
|
11333
10359
|
readonly querySchema: z.ZodObject<{
|
|
11334
10360
|
brandId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
11335
10361
|
siteId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
@@ -11475,7 +10501,7 @@ declare const getIntegrationDeliverooMenuVersionsQuerySchema: z.ZodObject<{
|
|
|
11475
10501
|
type GetIntegrationDeliverooMenuVersionsQueryParams = z.infer<typeof getIntegrationDeliverooMenuVersionsQuerySchema>;
|
|
11476
10502
|
declare const getIntegrationDeliverooMenuVersionsInputSchema: z.ZodUndefined;
|
|
11477
10503
|
type GetIntegrationDeliverooMenuVersionsInput = z.infer<typeof getIntegrationDeliverooMenuVersionsInputSchema>;
|
|
11478
|
-
declare const getIntegrationDeliverooMenuVersionsResponseSchema: z.
|
|
10504
|
+
declare const getIntegrationDeliverooMenuVersionsResponseSchema: z.ZodObject<{
|
|
11479
10505
|
data: z.ZodArray<z.ZodObject<{
|
|
11480
10506
|
id: z.ZodString;
|
|
11481
10507
|
contentUrl: z.ZodString;
|
|
@@ -11491,20 +10517,14 @@ declare const getIntegrationDeliverooMenuVersionsResponseSchema: z.ZodUnion<read
|
|
|
11491
10517
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11492
10518
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11493
10519
|
}, z.core.$strip>;
|
|
11494
|
-
}, z.core.$strip
|
|
11495
|
-
id: z.ZodString;
|
|
11496
|
-
contentUrl: z.ZodString;
|
|
11497
|
-
filePath: z.ZodString;
|
|
11498
|
-
createdAt: z.ZodString;
|
|
11499
|
-
updatedAt: z.ZodString;
|
|
11500
|
-
}, z.core.$strip>>]>;
|
|
10520
|
+
}, z.core.$strip>;
|
|
11501
10521
|
type GetIntegrationDeliverooMenuVersionsResponse = z.infer<typeof getIntegrationDeliverooMenuVersionsResponseSchema>;
|
|
11502
10522
|
declare class GetIntegrationDeliverooMenuVersions extends AbstractApiRequest<typeof getIntegrationDeliverooMenuVersionsInputSchema, typeof getIntegrationDeliverooMenuVersionsResponseSchema, GetIntegrationDeliverooMenuVersionsQueryParams> {
|
|
11503
10523
|
readonly method: "GET";
|
|
11504
10524
|
readonly contentType: "application/json";
|
|
11505
10525
|
readonly accept: "application/json";
|
|
11506
10526
|
readonly inputSchema: z.ZodUndefined;
|
|
11507
|
-
readonly outputSchema: z.
|
|
10527
|
+
readonly outputSchema: z.ZodObject<{
|
|
11508
10528
|
data: z.ZodArray<z.ZodObject<{
|
|
11509
10529
|
id: z.ZodString;
|
|
11510
10530
|
contentUrl: z.ZodString;
|
|
@@ -11520,13 +10540,7 @@ declare class GetIntegrationDeliverooMenuVersions extends AbstractApiRequest<typ
|
|
|
11520
10540
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11521
10541
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11522
10542
|
}, z.core.$strip>;
|
|
11523
|
-
}, z.core.$strip
|
|
11524
|
-
id: z.ZodString;
|
|
11525
|
-
contentUrl: z.ZodString;
|
|
11526
|
-
filePath: z.ZodString;
|
|
11527
|
-
createdAt: z.ZodString;
|
|
11528
|
-
updatedAt: z.ZodString;
|
|
11529
|
-
}, z.core.$strip>>]>;
|
|
10543
|
+
}, z.core.$strip>;
|
|
11530
10544
|
readonly querySchema: z.ZodObject<{
|
|
11531
10545
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11532
10546
|
}, z.core.$strip>;
|
|
@@ -11592,7 +10606,7 @@ declare const getIntegrationDeliverooSyncMenuProcessesQuerySchema: z.ZodObject<{
|
|
|
11592
10606
|
type GetIntegrationDeliverooSyncMenuProcessesQueryParams = z.infer<typeof getIntegrationDeliverooSyncMenuProcessesQuerySchema>;
|
|
11593
10607
|
declare const getIntegrationDeliverooSyncMenuProcessesInputSchema: z.ZodUndefined;
|
|
11594
10608
|
type GetIntegrationDeliverooSyncMenuProcessesInput = z.infer<typeof getIntegrationDeliverooSyncMenuProcessesInputSchema>;
|
|
11595
|
-
declare const getIntegrationDeliverooSyncMenuProcessesResponseSchema: z.
|
|
10609
|
+
declare const getIntegrationDeliverooSyncMenuProcessesResponseSchema: z.ZodObject<{
|
|
11596
10610
|
data: z.ZodArray<z.ZodObject<{
|
|
11597
10611
|
id: z.ZodString;
|
|
11598
10612
|
mode: z.ZodEnum<{
|
|
@@ -11612,24 +10626,14 @@ declare const getIntegrationDeliverooSyncMenuProcessesResponseSchema: z.ZodUnion
|
|
|
11612
10626
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11613
10627
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11614
10628
|
}, z.core.$strip>;
|
|
11615
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
10629
|
+
}, z.core.$strip>;
|
|
11626
10630
|
type GetIntegrationDeliverooSyncMenuProcessesResponse = z.infer<typeof getIntegrationDeliverooSyncMenuProcessesResponseSchema>;
|
|
11627
10631
|
declare class GetIntegrationDeliverooSyncMenuProcesses extends AbstractApiRequest<typeof getIntegrationDeliverooSyncMenuProcessesInputSchema, typeof getIntegrationDeliverooSyncMenuProcessesResponseSchema, GetIntegrationDeliverooSyncMenuProcessesQueryParams> {
|
|
11628
10632
|
readonly method: "GET";
|
|
11629
10633
|
readonly contentType: "application/json";
|
|
11630
10634
|
readonly accept: "application/json";
|
|
11631
10635
|
readonly inputSchema: z.ZodUndefined;
|
|
11632
|
-
readonly outputSchema: z.
|
|
10636
|
+
readonly outputSchema: z.ZodObject<{
|
|
11633
10637
|
data: z.ZodArray<z.ZodObject<{
|
|
11634
10638
|
id: z.ZodString;
|
|
11635
10639
|
mode: z.ZodEnum<{
|
|
@@ -11649,17 +10653,7 @@ declare class GetIntegrationDeliverooSyncMenuProcesses extends AbstractApiReques
|
|
|
11649
10653
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11650
10654
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11651
10655
|
}, z.core.$strip>;
|
|
11652
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
10656
|
+
}, z.core.$strip>;
|
|
11663
10657
|
readonly querySchema: z.ZodObject<{
|
|
11664
10658
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11665
10659
|
}, z.core.$strip>;
|
|
@@ -11750,7 +10744,7 @@ declare const getIntegrationDeliverooWebhookEventsQuerySchema: z.ZodObject<{
|
|
|
11750
10744
|
type GetIntegrationDeliverooWebhookEventsQueryParams = IntegrationDeliverooWebhookEventsQueryParams;
|
|
11751
10745
|
declare const getIntegrationDeliverooWebhookEventsInputSchema: z.ZodUndefined;
|
|
11752
10746
|
type GetIntegrationDeliverooWebhookEventsInput = z.infer<typeof getIntegrationDeliverooWebhookEventsInputSchema>;
|
|
11753
|
-
declare const getIntegrationDeliverooWebhookEventsResponseSchema: z.
|
|
10747
|
+
declare const getIntegrationDeliverooWebhookEventsResponseSchema: z.ZodObject<{
|
|
11754
10748
|
data: z.ZodArray<z.ZodObject<{
|
|
11755
10749
|
id: z.ZodString;
|
|
11756
10750
|
event: z.ZodEnum<{
|
|
@@ -11769,23 +10763,14 @@ declare const getIntegrationDeliverooWebhookEventsResponseSchema: z.ZodUnion<rea
|
|
|
11769
10763
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11770
10764
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11771
10765
|
}, z.core.$strip>;
|
|
11772
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
10766
|
+
}, z.core.$strip>;
|
|
11782
10767
|
type GetIntegrationDeliverooWebhookEventsResponse = z.infer<typeof getIntegrationDeliverooWebhookEventsResponseSchema>;
|
|
11783
10768
|
declare class GetIntegrationDeliverooWebhookEvents extends AbstractApiRequest<typeof getIntegrationDeliverooWebhookEventsInputSchema, typeof getIntegrationDeliverooWebhookEventsResponseSchema, GetIntegrationDeliverooWebhookEventsQueryParams> {
|
|
11784
10769
|
readonly method: "GET";
|
|
11785
10770
|
readonly contentType: "application/json";
|
|
11786
10771
|
readonly accept: "application/json";
|
|
11787
10772
|
readonly inputSchema: z.ZodUndefined;
|
|
11788
|
-
readonly outputSchema: z.
|
|
10773
|
+
readonly outputSchema: z.ZodObject<{
|
|
11789
10774
|
data: z.ZodArray<z.ZodObject<{
|
|
11790
10775
|
id: z.ZodString;
|
|
11791
10776
|
event: z.ZodEnum<{
|
|
@@ -11804,16 +10789,7 @@ declare class GetIntegrationDeliverooWebhookEvents extends AbstractApiRequest<ty
|
|
|
11804
10789
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11805
10790
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11806
10791
|
}, z.core.$strip>;
|
|
11807
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
10792
|
+
}, z.core.$strip>;
|
|
11817
10793
|
readonly querySchema: z.ZodObject<{
|
|
11818
10794
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
11819
10795
|
asc: "asc";
|
|
@@ -12344,7 +11320,7 @@ declare const getIntegrationGlovoClientLogRequestsQuerySchema: z.ZodObject<{
|
|
|
12344
11320
|
type GetIntegrationGlovoClientLogRequestsQueryParams = ClientLogRequestQuery;
|
|
12345
11321
|
declare const getIntegrationGlovoClientLogRequestsInputSchema: z.ZodUndefined;
|
|
12346
11322
|
type GetIntegrationGlovoClientLogRequestsInput = z.input<typeof getIntegrationGlovoClientLogRequestsInputSchema>;
|
|
12347
|
-
declare const getIntegrationGlovoClientLogRequestsResponseSchema: z.
|
|
11323
|
+
declare const getIntegrationGlovoClientLogRequestsResponseSchema: z.ZodObject<{
|
|
12348
11324
|
data: z.ZodArray<z.ZodObject<{
|
|
12349
11325
|
id: z.ZodString;
|
|
12350
11326
|
url: z.ZodString;
|
|
@@ -12366,26 +11342,14 @@ declare const getIntegrationGlovoClientLogRequestsResponseSchema: z.ZodUnion<rea
|
|
|
12366
11342
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
12367
11343
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
12368
11344
|
}, z.core.$strip>;
|
|
12369
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
11345
|
+
}, z.core.$strip>;
|
|
12382
11346
|
type GetIntegrationGlovoClientLogRequestsResponse = z.infer<typeof getIntegrationGlovoClientLogRequestsResponseSchema>;
|
|
12383
11347
|
declare class GetIntegrationGlovoClientLogRequests extends AbstractApiRequest<typeof getIntegrationGlovoClientLogRequestsInputSchema, typeof getIntegrationGlovoClientLogRequestsResponseSchema> {
|
|
12384
11348
|
readonly method: "GET";
|
|
12385
11349
|
readonly contentType: "application/json";
|
|
12386
11350
|
readonly accept: "application/json";
|
|
12387
11351
|
readonly inputSchema: z.ZodUndefined;
|
|
12388
|
-
readonly outputSchema: z.
|
|
11352
|
+
readonly outputSchema: z.ZodObject<{
|
|
12389
11353
|
data: z.ZodArray<z.ZodObject<{
|
|
12390
11354
|
id: z.ZodString;
|
|
12391
11355
|
url: z.ZodString;
|
|
@@ -12407,19 +11371,7 @@ declare class GetIntegrationGlovoClientLogRequests extends AbstractApiRequest<ty
|
|
|
12407
11371
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
12408
11372
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
12409
11373
|
}, z.core.$strip>;
|
|
12410
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
11374
|
+
}, z.core.$strip>;
|
|
12423
11375
|
readonly querySchema: z.ZodObject<{
|
|
12424
11376
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
12425
11377
|
asc: "asc";
|
|
@@ -12614,7 +11566,7 @@ declare const getIntegrationGlovoListQuerySchema: z.ZodObject<{
|
|
|
12614
11566
|
type GetIntegrationGlovoListQueryParams = z.infer<typeof getIntegrationGlovoListQuerySchema>;
|
|
12615
11567
|
declare const getIntegrationGlovoListInputSchema: z.ZodUndefined;
|
|
12616
11568
|
type GetIntegrationGlovoListInput = z.infer<typeof getIntegrationGlovoListInputSchema>;
|
|
12617
|
-
declare const getIntegrationGlovoListResponseSchema: z.
|
|
11569
|
+
declare const getIntegrationGlovoListResponseSchema: z.ZodObject<{
|
|
12618
11570
|
data: z.ZodArray<z.ZodObject<{
|
|
12619
11571
|
status: z.ZodEnum<{
|
|
12620
11572
|
pending: "pending";
|
|
@@ -12660,50 +11612,14 @@ declare const getIntegrationGlovoListResponseSchema: z.ZodUnion<readonly [z.ZodO
|
|
|
12660
11612
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
12661
11613
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
12662
11614
|
}, z.core.$strip>;
|
|
12663
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
11615
|
+
}, z.core.$strip>;
|
|
12700
11616
|
type GetIntegrationGlovoListResponse = z.infer<typeof getIntegrationGlovoListResponseSchema>;
|
|
12701
11617
|
declare class GetIntegrationGlovoList extends AbstractApiRequest<typeof getIntegrationGlovoListInputSchema, typeof getIntegrationGlovoListResponseSchema, GetIntegrationGlovoListQueryParams> {
|
|
12702
11618
|
readonly method: "GET";
|
|
12703
11619
|
readonly contentType: "application/json";
|
|
12704
11620
|
readonly accept: "application/json";
|
|
12705
11621
|
readonly inputSchema: z.ZodUndefined;
|
|
12706
|
-
readonly outputSchema: z.
|
|
11622
|
+
readonly outputSchema: z.ZodObject<{
|
|
12707
11623
|
data: z.ZodArray<z.ZodObject<{
|
|
12708
11624
|
status: z.ZodEnum<{
|
|
12709
11625
|
pending: "pending";
|
|
@@ -12718,74 +11634,38 @@ declare class GetIntegrationGlovoList extends AbstractApiRequest<typeof getInteg
|
|
|
12718
11634
|
updatedAt: z.ZodString;
|
|
12719
11635
|
id: z.ZodString;
|
|
12720
11636
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
12721
|
-
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>>;
|
|
12722
|
-
name: z.ZodString;
|
|
12723
|
-
skipInvalidItem: z.ZodBoolean;
|
|
12724
|
-
skipNegativePrices: z.ZodBoolean;
|
|
12725
|
-
importTaggedItems: z.ZodBoolean;
|
|
12726
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12727
|
-
isValidMenu: z.ZodBoolean;
|
|
12728
|
-
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
12729
|
-
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
12730
|
-
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
12731
|
-
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>>]>;
|
|
12732
|
-
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>>;
|
|
12733
|
-
errors: z.ZodArray<z.ZodEnum<{
|
|
12734
|
-
latest_menu_sync_error: "latest_menu_sync_error";
|
|
12735
|
-
invalid_menu: "invalid_menu";
|
|
12736
|
-
}>>;
|
|
12737
|
-
storeId: z.ZodString;
|
|
12738
|
-
locale: z.ZodString;
|
|
12739
|
-
pendingMenuChanges: z.ZodBoolean;
|
|
12740
|
-
service: z.ZodEnum<{
|
|
12741
|
-
glovo: "glovo";
|
|
12742
|
-
}>;
|
|
12743
|
-
}, z.core.$strip>>;
|
|
12744
|
-
pagination: z.ZodObject<{
|
|
12745
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
12746
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
12747
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
12748
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
12749
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
12750
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
12751
|
-
}, z.core.$strip>;
|
|
12752
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
11637
|
+
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>>;
|
|
11638
|
+
name: z.ZodString;
|
|
11639
|
+
skipInvalidItem: z.ZodBoolean;
|
|
11640
|
+
skipNegativePrices: z.ZodBoolean;
|
|
11641
|
+
importTaggedItems: z.ZodBoolean;
|
|
11642
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11643
|
+
isValidMenu: z.ZodBoolean;
|
|
11644
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
11645
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
11646
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
11647
|
+
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>>]>;
|
|
11648
|
+
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>>;
|
|
11649
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
11650
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
11651
|
+
invalid_menu: "invalid_menu";
|
|
11652
|
+
}>>;
|
|
11653
|
+
storeId: z.ZodString;
|
|
11654
|
+
locale: z.ZodString;
|
|
11655
|
+
pendingMenuChanges: z.ZodBoolean;
|
|
11656
|
+
service: z.ZodEnum<{
|
|
11657
|
+
glovo: "glovo";
|
|
11658
|
+
}>;
|
|
11659
|
+
}, z.core.$strip>>;
|
|
11660
|
+
pagination: z.ZodObject<{
|
|
11661
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
11662
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
11663
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
11664
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
11665
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
11666
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
11667
|
+
}, z.core.$strip>;
|
|
11668
|
+
}, z.core.$strip>;
|
|
12789
11669
|
readonly querySchema: z.ZodObject<{
|
|
12790
11670
|
storeId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
12791
11671
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -12944,7 +11824,7 @@ declare const getIntegrationGlovoMenuUpdatesQuerySchema: z.ZodObject<{
|
|
|
12944
11824
|
type GetIntegrationGlovoMenuUpdatesQueryParams = z.infer<typeof getIntegrationGlovoMenuUpdatesQuerySchema>;
|
|
12945
11825
|
declare const getIntegrationGlovoMenuUpdatesInputSchema: z.ZodUndefined;
|
|
12946
11826
|
type GetIntegrationGlovoMenuUpdatesInput = z.input<typeof getIntegrationGlovoMenuUpdatesInputSchema>;
|
|
12947
|
-
declare const getIntegrationGlovoMenuUpdatesResponseSchema: z.
|
|
11827
|
+
declare const getIntegrationGlovoMenuUpdatesResponseSchema: z.ZodObject<{
|
|
12948
11828
|
data: z.ZodArray<z.ZodObject<{
|
|
12949
11829
|
id: z.ZodString;
|
|
12950
11830
|
transactionId: z.ZodNullable<z.ZodString>;
|
|
@@ -12972,32 +11852,14 @@ declare const getIntegrationGlovoMenuUpdatesResponseSchema: z.ZodUnion<readonly
|
|
|
12972
11852
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
12973
11853
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
12974
11854
|
}, z.core.$strip>;
|
|
12975
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
11855
|
+
}, z.core.$strip>;
|
|
12994
11856
|
type GetIntegrationGlovoMenuUpdatesResponse = z.infer<typeof getIntegrationGlovoMenuUpdatesResponseSchema>;
|
|
12995
11857
|
declare class GetIntegrationGlovoMenuUpdates extends AbstractApiRequest<typeof getIntegrationGlovoMenuUpdatesInputSchema, typeof getIntegrationGlovoMenuUpdatesResponseSchema, GetIntegrationGlovoMenuUpdatesQueryParams> {
|
|
12996
11858
|
readonly method: "GET";
|
|
12997
11859
|
readonly contentType: "application/json";
|
|
12998
11860
|
readonly accept: "application/json";
|
|
12999
11861
|
readonly inputSchema: z.ZodUndefined;
|
|
13000
|
-
readonly outputSchema: z.
|
|
11862
|
+
readonly outputSchema: z.ZodObject<{
|
|
13001
11863
|
data: z.ZodArray<z.ZodObject<{
|
|
13002
11864
|
id: z.ZodString;
|
|
13003
11865
|
transactionId: z.ZodNullable<z.ZodString>;
|
|
@@ -13025,25 +11887,7 @@ declare class GetIntegrationGlovoMenuUpdates extends AbstractApiRequest<typeof g
|
|
|
13025
11887
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13026
11888
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13027
11889
|
}, z.core.$strip>;
|
|
13028
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
11890
|
+
}, z.core.$strip>;
|
|
13047
11891
|
readonly querySchema: z.ZodObject<{
|
|
13048
11892
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
13049
11893
|
}, z.core.$strip>;
|
|
@@ -13113,7 +11957,7 @@ declare const getIntegrationGlovoMenuVersionsQuerySchema: z.ZodObject<{
|
|
|
13113
11957
|
type GetIntegrationGlovoMenuVersionsQueryParams = z.infer<typeof getIntegrationGlovoMenuVersionsQuerySchema>;
|
|
13114
11958
|
declare const getIntegrationGlovoMenuVersionsInputSchema: z.ZodUndefined;
|
|
13115
11959
|
type GetIntegrationGlovoMenuVersionsInput = z.input<typeof getIntegrationGlovoMenuVersionsInputSchema>;
|
|
13116
|
-
declare const getIntegrationGlovoMenuVersionsResponseSchema: z.
|
|
11960
|
+
declare const getIntegrationGlovoMenuVersionsResponseSchema: z.ZodObject<{
|
|
13117
11961
|
data: z.ZodArray<z.ZodObject<{
|
|
13118
11962
|
id: z.ZodString;
|
|
13119
11963
|
contentUrl: z.ZodString;
|
|
@@ -13129,20 +11973,14 @@ declare const getIntegrationGlovoMenuVersionsResponseSchema: z.ZodUnion<readonly
|
|
|
13129
11973
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13130
11974
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13131
11975
|
}, z.core.$strip>;
|
|
13132
|
-
}, z.core.$strip
|
|
13133
|
-
id: z.ZodString;
|
|
13134
|
-
contentUrl: z.ZodString;
|
|
13135
|
-
filePath: z.ZodString;
|
|
13136
|
-
createdAt: z.ZodString;
|
|
13137
|
-
updatedAt: z.ZodString;
|
|
13138
|
-
}, z.core.$strip>>]>;
|
|
11976
|
+
}, z.core.$strip>;
|
|
13139
11977
|
type GetIntegrationGlovoMenuVersionsResponse = z.infer<typeof getIntegrationGlovoMenuVersionsResponseSchema>;
|
|
13140
11978
|
declare class GetIntegrationGlovoMenuVersions extends AbstractApiRequest<typeof getIntegrationGlovoMenuVersionsInputSchema, typeof getIntegrationGlovoMenuVersionsResponseSchema, GetIntegrationGlovoMenuVersionsQueryParams> {
|
|
13141
11979
|
readonly method: "GET";
|
|
13142
11980
|
readonly contentType: "application/json";
|
|
13143
11981
|
readonly accept: "application/json";
|
|
13144
11982
|
readonly inputSchema: z.ZodUndefined;
|
|
13145
|
-
readonly outputSchema: z.
|
|
11983
|
+
readonly outputSchema: z.ZodObject<{
|
|
13146
11984
|
data: z.ZodArray<z.ZodObject<{
|
|
13147
11985
|
id: z.ZodString;
|
|
13148
11986
|
contentUrl: z.ZodString;
|
|
@@ -13158,13 +11996,7 @@ declare class GetIntegrationGlovoMenuVersions extends AbstractApiRequest<typeof
|
|
|
13158
11996
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13159
11997
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13160
11998
|
}, z.core.$strip>;
|
|
13161
|
-
}, z.core.$strip
|
|
13162
|
-
id: z.ZodString;
|
|
13163
|
-
contentUrl: z.ZodString;
|
|
13164
|
-
filePath: z.ZodString;
|
|
13165
|
-
createdAt: z.ZodString;
|
|
13166
|
-
updatedAt: z.ZodString;
|
|
13167
|
-
}, z.core.$strip>>]>;
|
|
11999
|
+
}, z.core.$strip>;
|
|
13168
12000
|
readonly querySchema: z.ZodObject<{
|
|
13169
12001
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
13170
12002
|
}, z.core.$strip>;
|
|
@@ -13243,7 +12075,7 @@ declare const getIntegrationGlovoWebhookEventsQuerySchema: z.ZodObject<{
|
|
|
13243
12075
|
type GetIntegrationGlovoWebhookEventsQueryParams = IntegrationGlovoWebhookEventsQueryParams;
|
|
13244
12076
|
declare const getIntegrationGlovoWebhookEventsInputSchema: z.ZodUndefined;
|
|
13245
12077
|
type GetIntegrationGlovoWebhookEventsInput = z.infer<typeof getIntegrationGlovoWebhookEventsInputSchema>;
|
|
13246
|
-
declare const getIntegrationGlovoWebhookEventsResponseSchema: z.
|
|
12078
|
+
declare const getIntegrationGlovoWebhookEventsResponseSchema: z.ZodObject<{
|
|
13247
12079
|
data: z.ZodArray<z.ZodObject<{
|
|
13248
12080
|
id: z.ZodString;
|
|
13249
12081
|
event: z.ZodEnum<{
|
|
@@ -13260,21 +12092,14 @@ declare const getIntegrationGlovoWebhookEventsResponseSchema: z.ZodUnion<readonl
|
|
|
13260
12092
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13261
12093
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13262
12094
|
}, z.core.$strip>;
|
|
13263
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
12095
|
+
}, z.core.$strip>;
|
|
13271
12096
|
type GetIntegrationGlovoWebhookEventsResponse = z.infer<typeof getIntegrationGlovoWebhookEventsResponseSchema>;
|
|
13272
12097
|
declare class GetIntegrationGlovoWebhookEvents extends AbstractApiRequest<typeof getIntegrationGlovoWebhookEventsInputSchema, typeof getIntegrationGlovoWebhookEventsResponseSchema, GetIntegrationGlovoWebhookEventsQueryParams> {
|
|
13273
12098
|
readonly method: "GET";
|
|
13274
12099
|
readonly contentType: "application/json";
|
|
13275
12100
|
readonly accept: "application/json";
|
|
13276
12101
|
readonly inputSchema: z.ZodUndefined;
|
|
13277
|
-
readonly outputSchema: z.
|
|
12102
|
+
readonly outputSchema: z.ZodObject<{
|
|
13278
12103
|
data: z.ZodArray<z.ZodObject<{
|
|
13279
12104
|
id: z.ZodString;
|
|
13280
12105
|
event: z.ZodEnum<{
|
|
@@ -13291,14 +12116,7 @@ declare class GetIntegrationGlovoWebhookEvents extends AbstractApiRequest<typeof
|
|
|
13291
12116
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13292
12117
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13293
12118
|
}, z.core.$strip>;
|
|
13294
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
12119
|
+
}, z.core.$strip>;
|
|
13302
12120
|
readonly querySchema: z.ZodObject<{
|
|
13303
12121
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
13304
12122
|
asc: "asc";
|
|
@@ -13816,7 +12634,7 @@ declare const getIntegrationJustEatClientLogRequestsQuerySchema: z.ZodObject<{
|
|
|
13816
12634
|
type GetIntegrationJustEatClientLogRequestsQueryParams = ClientLogRequestQuery;
|
|
13817
12635
|
declare const getIntegrationJustEatClientLogRequestsInputSchema: z.ZodUndefined;
|
|
13818
12636
|
type GetIntegrationJustEatClientLogRequestsInput = z.infer<typeof getIntegrationJustEatClientLogRequestsInputSchema>;
|
|
13819
|
-
declare const getIntegrationJustEatClientLogRequestsResponseSchema: z.
|
|
12637
|
+
declare const getIntegrationJustEatClientLogRequestsResponseSchema: z.ZodObject<{
|
|
13820
12638
|
data: z.ZodArray<z.ZodObject<{
|
|
13821
12639
|
id: z.ZodString;
|
|
13822
12640
|
url: z.ZodString;
|
|
@@ -13838,26 +12656,14 @@ declare const getIntegrationJustEatClientLogRequestsResponseSchema: z.ZodUnion<r
|
|
|
13838
12656
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13839
12657
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13840
12658
|
}, z.core.$strip>;
|
|
13841
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
12659
|
+
}, z.core.$strip>;
|
|
13854
12660
|
type GetIntegrationJustEatClientLogRequestsResponse = z.infer<typeof getIntegrationJustEatClientLogRequestsResponseSchema>;
|
|
13855
12661
|
declare class GetIntegrationJustEatClientLogRequests extends AbstractApiRequest<typeof getIntegrationJustEatClientLogRequestsInputSchema, typeof getIntegrationJustEatClientLogRequestsResponseSchema, GetIntegrationJustEatClientLogRequestsQueryParams> {
|
|
13856
12662
|
readonly method: "GET";
|
|
13857
12663
|
readonly contentType: "application/json";
|
|
13858
12664
|
readonly accept: "application/json";
|
|
13859
12665
|
readonly inputSchema: z.ZodUndefined;
|
|
13860
|
-
readonly outputSchema: z.
|
|
12666
|
+
readonly outputSchema: z.ZodObject<{
|
|
13861
12667
|
data: z.ZodArray<z.ZodObject<{
|
|
13862
12668
|
id: z.ZodString;
|
|
13863
12669
|
url: z.ZodString;
|
|
@@ -13879,19 +12685,7 @@ declare class GetIntegrationJustEatClientLogRequests extends AbstractApiRequest<
|
|
|
13879
12685
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
13880
12686
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
13881
12687
|
}, z.core.$strip>;
|
|
13882
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
12688
|
+
}, z.core.$strip>;
|
|
13895
12689
|
readonly querySchema: z.ZodObject<{
|
|
13896
12690
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
13897
12691
|
asc: "asc";
|
|
@@ -14127,7 +12921,7 @@ declare const getIntegrationJustEatListQuerySchema: z.ZodObject<{
|
|
|
14127
12921
|
type GetIntegrationJustEatListQueryParams = z.infer<typeof getIntegrationJustEatListQuerySchema>;
|
|
14128
12922
|
declare const getIntegrationJustEatListInputSchema: z.ZodUndefined;
|
|
14129
12923
|
type GetIntegrationJustEatListInput = z.input<typeof getIntegrationJustEatListInputSchema>;
|
|
14130
|
-
declare const getIntegrationJustEatListResponseSchema: z.
|
|
12924
|
+
declare const getIntegrationJustEatListResponseSchema: z.ZodObject<{
|
|
14131
12925
|
data: z.ZodArray<z.ZodObject<{
|
|
14132
12926
|
status: z.ZodEnum<{
|
|
14133
12927
|
pending: "pending";
|
|
@@ -14181,58 +12975,14 @@ declare const getIntegrationJustEatListResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
14181
12975
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
14182
12976
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
14183
12977
|
}, z.core.$strip>;
|
|
14184
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
12978
|
+
}, z.core.$strip>;
|
|
14229
12979
|
type GetIntegrationJustEatListResponse = z.infer<typeof getIntegrationJustEatListResponseSchema>;
|
|
14230
12980
|
declare class GetIntegrationJustEatList extends AbstractApiRequest<typeof getIntegrationJustEatListInputSchema, typeof getIntegrationJustEatListResponseSchema, GetIntegrationJustEatListQueryParams> {
|
|
14231
12981
|
readonly method: "GET";
|
|
14232
12982
|
readonly contentType: "application/json";
|
|
14233
12983
|
readonly accept: "application/json";
|
|
14234
12984
|
readonly inputSchema: z.ZodUndefined;
|
|
14235
|
-
readonly outputSchema: z.
|
|
12985
|
+
readonly outputSchema: z.ZodObject<{
|
|
14236
12986
|
data: z.ZodArray<z.ZodObject<{
|
|
14237
12987
|
status: z.ZodEnum<{
|
|
14238
12988
|
pending: "pending";
|
|
@@ -14286,51 +13036,7 @@ declare class GetIntegrationJustEatList extends AbstractApiRequest<typeof getInt
|
|
|
14286
13036
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
14287
13037
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
14288
13038
|
}, z.core.$strip>;
|
|
14289
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
13039
|
+
}, z.core.$strip>;
|
|
14334
13040
|
readonly querySchema: z.ZodObject<{
|
|
14335
13041
|
restaurantId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
14336
13042
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -14496,7 +13202,7 @@ declare const getIntegrationJustEatMenuVersionsQuerySchema: z.ZodObject<{
|
|
|
14496
13202
|
type GetIntegrationJustEatMenuVersionsQueryParams = z.infer<typeof getIntegrationJustEatMenuVersionsQuerySchema>;
|
|
14497
13203
|
declare const getIntegrationJustEatMenuVersionsInputSchema: z.ZodUndefined;
|
|
14498
13204
|
type GetIntegrationJustEatMenuVersionsInput = z.input<typeof getIntegrationJustEatMenuVersionsInputSchema>;
|
|
14499
|
-
declare const getIntegrationJustEatMenuVersionsResponseSchema: z.
|
|
13205
|
+
declare const getIntegrationJustEatMenuVersionsResponseSchema: z.ZodObject<{
|
|
14500
13206
|
data: z.ZodArray<z.ZodObject<{
|
|
14501
13207
|
id: z.ZodString;
|
|
14502
13208
|
contentUrl: z.ZodString;
|
|
@@ -14512,20 +13218,14 @@ declare const getIntegrationJustEatMenuVersionsResponseSchema: z.ZodUnion<readon
|
|
|
14512
13218
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
14513
13219
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
14514
13220
|
}, z.core.$strip>;
|
|
14515
|
-
}, z.core.$strip
|
|
14516
|
-
id: z.ZodString;
|
|
14517
|
-
contentUrl: z.ZodString;
|
|
14518
|
-
filePath: z.ZodString;
|
|
14519
|
-
createdAt: z.ZodString;
|
|
14520
|
-
updatedAt: z.ZodString;
|
|
14521
|
-
}, z.core.$strip>>]>;
|
|
13221
|
+
}, z.core.$strip>;
|
|
14522
13222
|
type GetIntegrationJustEatMenuVersionsResponse = z.infer<typeof getIntegrationJustEatMenuVersionsResponseSchema>;
|
|
14523
13223
|
declare class GetIntegrationJustEatMenuVersions extends AbstractApiRequest<typeof getIntegrationJustEatMenuVersionsInputSchema, typeof getIntegrationJustEatMenuVersionsResponseSchema, GetIntegrationJustEatMenuVersionsQueryParams> {
|
|
14524
13224
|
readonly method: "GET";
|
|
14525
13225
|
readonly contentType: "application/json";
|
|
14526
13226
|
readonly accept: "application/json";
|
|
14527
13227
|
readonly inputSchema: z.ZodUndefined;
|
|
14528
|
-
readonly outputSchema: z.
|
|
13228
|
+
readonly outputSchema: z.ZodObject<{
|
|
14529
13229
|
data: z.ZodArray<z.ZodObject<{
|
|
14530
13230
|
id: z.ZodString;
|
|
14531
13231
|
contentUrl: z.ZodString;
|
|
@@ -14541,13 +13241,7 @@ declare class GetIntegrationJustEatMenuVersions extends AbstractApiRequest<typeo
|
|
|
14541
13241
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
14542
13242
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
14543
13243
|
}, z.core.$strip>;
|
|
14544
|
-
}, z.core.$strip
|
|
14545
|
-
id: z.ZodString;
|
|
14546
|
-
contentUrl: z.ZodString;
|
|
14547
|
-
filePath: z.ZodString;
|
|
14548
|
-
createdAt: z.ZodString;
|
|
14549
|
-
updatedAt: z.ZodString;
|
|
14550
|
-
}, z.core.$strip>>]>;
|
|
13244
|
+
}, z.core.$strip>;
|
|
14551
13245
|
readonly querySchema: z.ZodObject<{
|
|
14552
13246
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
14553
13247
|
}, z.core.$strip>;
|
|
@@ -14635,7 +13329,7 @@ declare const getIntegrationJustEatOrdersQuerySchema: z.ZodObject<{
|
|
|
14635
13329
|
type GetIntegrationJustEatOrdersQueryParams = z.infer<typeof getIntegrationJustEatOrdersQuerySchema>;
|
|
14636
13330
|
declare const getIntegrationJustEatOrdersInputSchema: z.ZodUndefined;
|
|
14637
13331
|
type GetIntegrationJustEatOrdersInput = z.infer<typeof getIntegrationJustEatOrdersInputSchema>;
|
|
14638
|
-
declare const getIntegrationJustEatOrdersResponseSchema: z.
|
|
13332
|
+
declare const getIntegrationJustEatOrdersResponseSchema: z.ZodObject<{
|
|
14639
13333
|
data: z.ZodArray<z.ZodObject<{
|
|
14640
13334
|
id: z.ZodString;
|
|
14641
13335
|
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>>;
|
|
@@ -14655,24 +13349,14 @@ declare const getIntegrationJustEatOrdersResponseSchema: z.ZodUnion<readonly [z.
|
|
|
14655
13349
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
14656
13350
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
14657
13351
|
}, z.core.$strip>;
|
|
14658
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
13352
|
+
}, z.core.$strip>;
|
|
14669
13353
|
type GetIntegrationJustEatOrdersResponse = z.infer<typeof getIntegrationJustEatOrdersResponseSchema>;
|
|
14670
13354
|
declare class GetIntegrationJustEatOrders extends AbstractApiRequest<typeof getIntegrationJustEatOrdersInputSchema, typeof getIntegrationJustEatOrdersResponseSchema, GetIntegrationJustEatOrdersQueryParams> {
|
|
14671
13355
|
readonly method: "GET";
|
|
14672
13356
|
readonly contentType: "application/json";
|
|
14673
13357
|
readonly accept: "application/json";
|
|
14674
13358
|
readonly inputSchema: z.ZodUndefined;
|
|
14675
|
-
readonly outputSchema: z.
|
|
13359
|
+
readonly outputSchema: z.ZodObject<{
|
|
14676
13360
|
data: z.ZodArray<z.ZodObject<{
|
|
14677
13361
|
id: z.ZodString;
|
|
14678
13362
|
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>>;
|
|
@@ -14692,17 +13376,7 @@ declare class GetIntegrationJustEatOrders extends AbstractApiRequest<typeof getI
|
|
|
14692
13376
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
14693
13377
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
14694
13378
|
}, z.core.$strip>;
|
|
14695
|
-
}, z.core.$strip
|
|
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>>]>;
|
|
13379
|
+
}, z.core.$strip>;
|
|
14706
13380
|
readonly querySchema: z.ZodObject<{
|
|
14707
13381
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
14708
13382
|
asc: "asc";
|
|
@@ -14780,7 +13454,7 @@ declare const getIntegrationJustEatSyncMenuProcessesQuerySchema: z.ZodObject<{
|
|
|
14780
13454
|
type GetIntegrationJustEatSyncMenuProcessesQueryParams = z.infer<typeof getIntegrationJustEatSyncMenuProcessesQuerySchema>;
|
|
14781
13455
|
declare const getIntegrationJustEatSyncMenuProcessesInputSchema: z.ZodUndefined;
|
|
14782
13456
|
type GetIntegrationJustEatSyncMenuProcessesInput = z.infer<typeof getIntegrationJustEatSyncMenuProcessesInputSchema>;
|
|
14783
|
-
declare const getIntegrationJustEatSyncMenuProcessesResponseSchema: z.
|
|
13457
|
+
declare const getIntegrationJustEatSyncMenuProcessesResponseSchema: z.ZodObject<{
|
|
14784
13458
|
data: z.ZodArray<z.ZodObject<{
|
|
14785
13459
|
id: z.ZodString;
|
|
14786
13460
|
ingestionSucceeded: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -14795,19 +13469,14 @@ declare const getIntegrationJustEatSyncMenuProcessesResponseSchema: z.ZodUnion<r
|
|
|
14795
13469
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
14796
13470
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
14797
13471
|
}, z.core.$strip>;
|
|
14798
|
-
}, z.core.$strip
|
|
14799
|
-
id: z.ZodString;
|
|
14800
|
-
ingestionSucceeded: z.ZodNullable<z.ZodBoolean>;
|
|
14801
|
-
error: z.ZodNullable<z.ZodAny>;
|
|
14802
|
-
createdAt: z.ZodString;
|
|
14803
|
-
}, z.core.$strip>>]>;
|
|
13472
|
+
}, z.core.$strip>;
|
|
14804
13473
|
type GetIntegrationJustEatSyncMenuProcessesResponse = z.infer<typeof getIntegrationJustEatSyncMenuProcessesResponseSchema>;
|
|
14805
13474
|
declare class GetIntegrationJustEatSyncMenuProcesses extends AbstractApiRequest<typeof getIntegrationJustEatSyncMenuProcessesInputSchema, typeof getIntegrationJustEatSyncMenuProcessesResponseSchema, GetIntegrationJustEatSyncMenuProcessesQueryParams> {
|
|
14806
13475
|
readonly method: "GET";
|
|
14807
13476
|
readonly contentType: "application/json";
|
|
14808
13477
|
readonly accept: "application/json";
|
|
14809
13478
|
readonly inputSchema: z.ZodUndefined;
|
|
14810
|
-
readonly outputSchema: z.
|
|
13479
|
+
readonly outputSchema: z.ZodObject<{
|
|
14811
13480
|
data: z.ZodArray<z.ZodObject<{
|
|
14812
13481
|
id: z.ZodString;
|
|
14813
13482
|
ingestionSucceeded: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -14822,12 +13491,7 @@ declare class GetIntegrationJustEatSyncMenuProcesses extends AbstractApiRequest<
|
|
|
14822
13491
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
14823
13492
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
14824
13493
|
}, z.core.$strip>;
|
|
14825
|
-
}, z.core.$strip
|
|
14826
|
-
id: z.ZodString;
|
|
14827
|
-
ingestionSucceeded: z.ZodNullable<z.ZodBoolean>;
|
|
14828
|
-
error: z.ZodNullable<z.ZodAny>;
|
|
14829
|
-
createdAt: z.ZodString;
|
|
14830
|
-
}, z.core.$strip>>]>;
|
|
13494
|
+
}, z.core.$strip>;
|
|
14831
13495
|
readonly querySchema: z.ZodObject<{
|
|
14832
13496
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
14833
13497
|
}, z.core.$strip>;
|