@deliverart/sdk-js-integration 2.14.3 → 2.14.4
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 +2 -2
- package/dist/index.d.cts +36 -1
- package/dist/index.d.ts +36 -1
- package/dist/index.js +2 -2
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -14740,7 +14740,7 @@ var integrationDeliveryErrors = [
|
|
|
14740
14740
|
"invalid_menu"
|
|
14741
14741
|
];
|
|
14742
14742
|
var integrationDeliveryErrorSchema = external_exports.enum(integrationDeliveryErrors);
|
|
14743
|
-
var integrationIssueScopes = ["menu_sync"];
|
|
14743
|
+
var integrationIssueScopes = ["menu_sync", "store_status"];
|
|
14744
14744
|
var integrationIssueScopeSchema = external_exports.enum(integrationIssueScopes);
|
|
14745
14745
|
var integrationIssueCodes = [
|
|
14746
14746
|
"unauthorized",
|
|
@@ -16498,7 +16498,7 @@ var integrationKitchenAccessTokenIriSchema = (0, import_sdk_js_global_types11.ir
|
|
|
16498
16498
|
var integrationKitchenAccessTokenNullableIriSchema = (0, import_sdk_js_global_types11.iriNullableSchema)(
|
|
16499
16499
|
"/integrations/kitchen/:integrationId/tokens/:id"
|
|
16500
16500
|
);
|
|
16501
|
-
var integrationKitchenSchema = integrationBaseSchema.omit({ service: true
|
|
16501
|
+
var integrationKitchenSchema = integrationBaseSchema.omit({ service: true }).extend({
|
|
16502
16502
|
service: integrationServiceSchema.extract(["kitchen"]),
|
|
16503
16503
|
viewMode: integrationKitchenViewModeSchema
|
|
16504
16504
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -818,6 +818,7 @@ declare const integrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
818
818
|
id: z.ZodString;
|
|
819
819
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
820
820
|
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>>;
|
|
821
|
+
errors: z.ZodArray<z.ZodString>;
|
|
821
822
|
service: z.ZodEnum<{
|
|
822
823
|
kitchen: "kitchen";
|
|
823
824
|
}>;
|
|
@@ -1070,6 +1071,7 @@ declare const integrationDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1070
1071
|
id: z.ZodString;
|
|
1071
1072
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
1072
1073
|
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>>;
|
|
1074
|
+
errors: z.ZodArray<z.ZodString>;
|
|
1073
1075
|
service: z.ZodEnum<{
|
|
1074
1076
|
kitchen: "kitchen";
|
|
1075
1077
|
}>;
|
|
@@ -6729,6 +6731,7 @@ declare const getIntegrationDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6729
6731
|
id: z.ZodString;
|
|
6730
6732
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
6731
6733
|
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>>;
|
|
6734
|
+
errors: z.ZodArray<z.ZodString>;
|
|
6732
6735
|
service: z.ZodEnum<{
|
|
6733
6736
|
kitchen: "kitchen";
|
|
6734
6737
|
}>;
|
|
@@ -7001,6 +7004,7 @@ declare class GetIntegrationDetails extends AbstractApiRequest<typeof getIntegra
|
|
|
7001
7004
|
id: z.ZodString;
|
|
7002
7005
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
7003
7006
|
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>>;
|
|
7007
|
+
errors: z.ZodArray<z.ZodString>;
|
|
7004
7008
|
service: z.ZodEnum<{
|
|
7005
7009
|
kitchen: "kitchen";
|
|
7006
7010
|
}>;
|
|
@@ -7321,6 +7325,7 @@ declare const integrationIssueSchema: z.ZodObject<{
|
|
|
7321
7325
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7322
7326
|
scope: z.ZodEnum<{
|
|
7323
7327
|
menu_sync: "menu_sync";
|
|
7328
|
+
store_status: "store_status";
|
|
7324
7329
|
}>;
|
|
7325
7330
|
code: z.ZodEnum<{
|
|
7326
7331
|
invalid_menu: "invalid_menu";
|
|
@@ -7351,6 +7356,7 @@ declare const integrationIssueDetailsSchema: z.ZodObject<{
|
|
|
7351
7356
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7352
7357
|
scope: z.ZodEnum<{
|
|
7353
7358
|
menu_sync: "menu_sync";
|
|
7359
|
+
store_status: "store_status";
|
|
7354
7360
|
}>;
|
|
7355
7361
|
code: z.ZodEnum<{
|
|
7356
7362
|
invalid_menu: "invalid_menu";
|
|
@@ -7473,6 +7479,7 @@ declare const getIntegrationIssueDetailsResponseSchema: z.ZodObject<{
|
|
|
7473
7479
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7474
7480
|
scope: z.ZodEnum<{
|
|
7475
7481
|
menu_sync: "menu_sync";
|
|
7482
|
+
store_status: "store_status";
|
|
7476
7483
|
}>;
|
|
7477
7484
|
code: z.ZodEnum<{
|
|
7478
7485
|
invalid_menu: "invalid_menu";
|
|
@@ -7508,6 +7515,7 @@ declare class GetIntegrationIssueDetails extends AbstractApiRequest<typeof getIn
|
|
|
7508
7515
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7509
7516
|
scope: z.ZodEnum<{
|
|
7510
7517
|
menu_sync: "menu_sync";
|
|
7518
|
+
store_status: "store_status";
|
|
7511
7519
|
}>;
|
|
7512
7520
|
code: z.ZodEnum<{
|
|
7513
7521
|
invalid_menu: "invalid_menu";
|
|
@@ -7544,8 +7552,10 @@ declare const getIntegrationIssuesQuerySchema: z.ZodObject<{
|
|
|
7544
7552
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7545
7553
|
scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7546
7554
|
menu_sync: "menu_sync";
|
|
7555
|
+
store_status: "store_status";
|
|
7547
7556
|
}>, z.ZodArray<z.ZodEnum<{
|
|
7548
7557
|
menu_sync: "menu_sync";
|
|
7558
|
+
store_status: "store_status";
|
|
7549
7559
|
}>>]>>;
|
|
7550
7560
|
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7551
7561
|
invalid_menu: "invalid_menu";
|
|
@@ -7608,6 +7618,7 @@ declare const getIntegrationIssuesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
7608
7618
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7609
7619
|
scope: z.ZodEnum<{
|
|
7610
7620
|
menu_sync: "menu_sync";
|
|
7621
|
+
store_status: "store_status";
|
|
7611
7622
|
}>;
|
|
7612
7623
|
code: z.ZodEnum<{
|
|
7613
7624
|
invalid_menu: "invalid_menu";
|
|
@@ -7643,6 +7654,7 @@ declare class GetIntegrationIssues extends AbstractApiRequest<typeof getIntegrat
|
|
|
7643
7654
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7644
7655
|
scope: z.ZodEnum<{
|
|
7645
7656
|
menu_sync: "menu_sync";
|
|
7657
|
+
store_status: "store_status";
|
|
7646
7658
|
}>;
|
|
7647
7659
|
code: z.ZodEnum<{
|
|
7648
7660
|
invalid_menu: "invalid_menu";
|
|
@@ -7671,8 +7683,10 @@ declare class GetIntegrationIssues extends AbstractApiRequest<typeof getIntegrat
|
|
|
7671
7683
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7672
7684
|
scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7673
7685
|
menu_sync: "menu_sync";
|
|
7686
|
+
store_status: "store_status";
|
|
7674
7687
|
}>, z.ZodArray<z.ZodEnum<{
|
|
7675
7688
|
menu_sync: "menu_sync";
|
|
7689
|
+
store_status: "store_status";
|
|
7676
7690
|
}>>]>>;
|
|
7677
7691
|
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7678
7692
|
invalid_menu: "invalid_menu";
|
|
@@ -7733,6 +7747,7 @@ declare class GetIntegrationIssues extends AbstractApiRequest<typeof getIntegrat
|
|
|
7733
7747
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7734
7748
|
scope: z.ZodEnum<{
|
|
7735
7749
|
menu_sync: "menu_sync";
|
|
7750
|
+
store_status: "store_status";
|
|
7736
7751
|
}>;
|
|
7737
7752
|
code: z.ZodEnum<{
|
|
7738
7753
|
invalid_menu: "invalid_menu";
|
|
@@ -7821,6 +7836,7 @@ declare const getIntegrationsResponseSchema: z.ZodObject<{
|
|
|
7821
7836
|
id: z.ZodString;
|
|
7822
7837
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
7823
7838
|
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>>;
|
|
7839
|
+
errors: z.ZodArray<z.ZodString>;
|
|
7824
7840
|
service: z.ZodEnum<{
|
|
7825
7841
|
kitchen: "kitchen";
|
|
7826
7842
|
}>;
|
|
@@ -8088,6 +8104,7 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
|
|
|
8088
8104
|
id: z.ZodString;
|
|
8089
8105
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
8090
8106
|
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>>;
|
|
8107
|
+
errors: z.ZodArray<z.ZodString>;
|
|
8091
8108
|
service: z.ZodEnum<{
|
|
8092
8109
|
kitchen: "kitchen";
|
|
8093
8110
|
}>;
|
|
@@ -8386,6 +8403,7 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
|
|
|
8386
8403
|
id: z.ZodString;
|
|
8387
8404
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
8388
8405
|
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>>;
|
|
8406
|
+
errors: z.ZodArray<z.ZodString>;
|
|
8389
8407
|
service: z.ZodEnum<{
|
|
8390
8408
|
kitchen: "kitchen";
|
|
8391
8409
|
}>;
|
|
@@ -8684,6 +8702,7 @@ declare const getIntegrationsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDisc
|
|
|
8684
8702
|
id: z.ZodString;
|
|
8685
8703
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
8686
8704
|
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>>;
|
|
8705
|
+
errors: z.ZodArray<z.ZodString>;
|
|
8687
8706
|
service: z.ZodEnum<{
|
|
8688
8707
|
kitchen: "kitchen";
|
|
8689
8708
|
}>;
|
|
@@ -8941,6 +8960,7 @@ declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof g
|
|
|
8941
8960
|
id: z.ZodString;
|
|
8942
8961
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
8943
8962
|
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>>;
|
|
8963
|
+
errors: z.ZodArray<z.ZodString>;
|
|
8944
8964
|
service: z.ZodEnum<{
|
|
8945
8965
|
kitchen: "kitchen";
|
|
8946
8966
|
}>;
|
|
@@ -9230,6 +9250,7 @@ declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof g
|
|
|
9230
9250
|
id: z.ZodString;
|
|
9231
9251
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
9232
9252
|
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>>;
|
|
9253
|
+
errors: z.ZodArray<z.ZodString>;
|
|
9233
9254
|
service: z.ZodEnum<{
|
|
9234
9255
|
kitchen: "kitchen";
|
|
9235
9256
|
}>;
|
|
@@ -12735,6 +12756,7 @@ declare const integrationKitchenSchema: z.ZodObject<{
|
|
|
12735
12756
|
id: z.ZodString;
|
|
12736
12757
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
12737
12758
|
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>>;
|
|
12759
|
+
errors: z.ZodArray<z.ZodString>;
|
|
12738
12760
|
service: z.ZodEnum<{
|
|
12739
12761
|
kitchen: "kitchen";
|
|
12740
12762
|
}>;
|
|
@@ -12758,6 +12780,7 @@ declare const integrationKitchenDetailsSchema: z.ZodObject<{
|
|
|
12758
12780
|
id: z.ZodString;
|
|
12759
12781
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
12760
12782
|
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>>;
|
|
12783
|
+
errors: z.ZodArray<z.ZodString>;
|
|
12761
12784
|
service: z.ZodEnum<{
|
|
12762
12785
|
kitchen: "kitchen";
|
|
12763
12786
|
}>;
|
|
@@ -23794,9 +23817,10 @@ declare const integrationDeliveryErrorSchema: z.ZodEnum<{
|
|
|
23794
23817
|
invalid_menu: "invalid_menu";
|
|
23795
23818
|
}>;
|
|
23796
23819
|
type IntegrationDeliveryError = z.infer<typeof integrationDeliveryErrorSchema>;
|
|
23797
|
-
declare const integrationIssueScopes: readonly ["menu_sync"];
|
|
23820
|
+
declare const integrationIssueScopes: readonly ["menu_sync", "store_status"];
|
|
23798
23821
|
declare const integrationIssueScopeSchema: z.ZodEnum<{
|
|
23799
23822
|
menu_sync: "menu_sync";
|
|
23823
|
+
store_status: "store_status";
|
|
23800
23824
|
}>;
|
|
23801
23825
|
type IntegrationIssueScope = z.infer<typeof integrationIssueScopeSchema>;
|
|
23802
23826
|
declare const integrationIssueCodes: readonly ["unauthorized", "forbidden", "remote_not_found", "invalid_menu", "remote_validation_failed", "daily_limit_reached", "process_failed"];
|
|
@@ -24999,6 +25023,7 @@ declare const createIntegrationKitchenResponseSchema: z.ZodObject<{
|
|
|
24999
25023
|
id: z.ZodString;
|
|
25000
25024
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25001
25025
|
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>>;
|
|
25026
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25002
25027
|
service: z.ZodEnum<{
|
|
25003
25028
|
kitchen: "kitchen";
|
|
25004
25029
|
}>;
|
|
@@ -25038,6 +25063,7 @@ declare class CreateIntegrationKitchen extends AbstractApiRequest<typeof createI
|
|
|
25038
25063
|
id: z.ZodString;
|
|
25039
25064
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25040
25065
|
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>>;
|
|
25066
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25041
25067
|
service: z.ZodEnum<{
|
|
25042
25068
|
kitchen: "kitchen";
|
|
25043
25069
|
}>;
|
|
@@ -25233,6 +25259,7 @@ declare const getIntegrationKitchenDetailsResponseSchema: z.ZodObject<{
|
|
|
25233
25259
|
id: z.ZodString;
|
|
25234
25260
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25235
25261
|
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>>;
|
|
25262
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25236
25263
|
service: z.ZodEnum<{
|
|
25237
25264
|
kitchen: "kitchen";
|
|
25238
25265
|
}>;
|
|
@@ -25263,6 +25290,7 @@ declare class GetIntegrationKitchenDetails extends AbstractApiRequest<typeof get
|
|
|
25263
25290
|
id: z.ZodString;
|
|
25264
25291
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25265
25292
|
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>>;
|
|
25293
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25266
25294
|
service: z.ZodEnum<{
|
|
25267
25295
|
kitchen: "kitchen";
|
|
25268
25296
|
}>;
|
|
@@ -25315,6 +25343,7 @@ declare const getIntegrationKitchenListResponseSchema: z.ZodObject<{
|
|
|
25315
25343
|
id: z.ZodString;
|
|
25316
25344
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25317
25345
|
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>>;
|
|
25346
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25318
25347
|
service: z.ZodEnum<{
|
|
25319
25348
|
kitchen: "kitchen";
|
|
25320
25349
|
}>;
|
|
@@ -25354,6 +25383,7 @@ declare class GetIntegrationKitchenList extends AbstractApiRequest<typeof getInt
|
|
|
25354
25383
|
id: z.ZodString;
|
|
25355
25384
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25356
25385
|
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>>;
|
|
25386
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25357
25387
|
service: z.ZodEnum<{
|
|
25358
25388
|
kitchen: "kitchen";
|
|
25359
25389
|
}>;
|
|
@@ -25405,6 +25435,7 @@ declare class GetIntegrationKitchenList extends AbstractApiRequest<typeof getInt
|
|
|
25405
25435
|
id: z.ZodString;
|
|
25406
25436
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25407
25437
|
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>>;
|
|
25438
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25408
25439
|
service: z.ZodEnum<{
|
|
25409
25440
|
kitchen: "kitchen";
|
|
25410
25441
|
}>;
|
|
@@ -25444,6 +25475,7 @@ declare const updateIntegrationKitchenResponseSchema: z.ZodObject<{
|
|
|
25444
25475
|
id: z.ZodString;
|
|
25445
25476
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25446
25477
|
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>>;
|
|
25478
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25447
25479
|
service: z.ZodEnum<{
|
|
25448
25480
|
kitchen: "kitchen";
|
|
25449
25481
|
}>;
|
|
@@ -25482,6 +25514,7 @@ declare class UpdateIntegrationKitchen extends AbstractApiRequest<typeof updateI
|
|
|
25482
25514
|
id: z.ZodString;
|
|
25483
25515
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25484
25516
|
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>>;
|
|
25517
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25485
25518
|
service: z.ZodEnum<{
|
|
25486
25519
|
kitchen: "kitchen";
|
|
25487
25520
|
}>;
|
|
@@ -25525,6 +25558,7 @@ declare const updateIntegrationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
25525
25558
|
id: z.ZodString;
|
|
25526
25559
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25527
25560
|
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>>;
|
|
25561
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25528
25562
|
service: z.ZodEnum<{
|
|
25529
25563
|
kitchen: "kitchen";
|
|
25530
25564
|
}>;
|
|
@@ -25807,6 +25841,7 @@ declare class UpdateIntegration extends AbstractApiRequest<typeof updateIntegrat
|
|
|
25807
25841
|
id: z.ZodString;
|
|
25808
25842
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25809
25843
|
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>>;
|
|
25844
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25810
25845
|
service: z.ZodEnum<{
|
|
25811
25846
|
kitchen: "kitchen";
|
|
25812
25847
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -818,6 +818,7 @@ declare const integrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
818
818
|
id: z.ZodString;
|
|
819
819
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
820
820
|
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>>;
|
|
821
|
+
errors: z.ZodArray<z.ZodString>;
|
|
821
822
|
service: z.ZodEnum<{
|
|
822
823
|
kitchen: "kitchen";
|
|
823
824
|
}>;
|
|
@@ -1070,6 +1071,7 @@ declare const integrationDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1070
1071
|
id: z.ZodString;
|
|
1071
1072
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
1072
1073
|
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>>;
|
|
1074
|
+
errors: z.ZodArray<z.ZodString>;
|
|
1073
1075
|
service: z.ZodEnum<{
|
|
1074
1076
|
kitchen: "kitchen";
|
|
1075
1077
|
}>;
|
|
@@ -6729,6 +6731,7 @@ declare const getIntegrationDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6729
6731
|
id: z.ZodString;
|
|
6730
6732
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
6731
6733
|
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>>;
|
|
6734
|
+
errors: z.ZodArray<z.ZodString>;
|
|
6732
6735
|
service: z.ZodEnum<{
|
|
6733
6736
|
kitchen: "kitchen";
|
|
6734
6737
|
}>;
|
|
@@ -7001,6 +7004,7 @@ declare class GetIntegrationDetails extends AbstractApiRequest<typeof getIntegra
|
|
|
7001
7004
|
id: z.ZodString;
|
|
7002
7005
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
7003
7006
|
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>>;
|
|
7007
|
+
errors: z.ZodArray<z.ZodString>;
|
|
7004
7008
|
service: z.ZodEnum<{
|
|
7005
7009
|
kitchen: "kitchen";
|
|
7006
7010
|
}>;
|
|
@@ -7321,6 +7325,7 @@ declare const integrationIssueSchema: z.ZodObject<{
|
|
|
7321
7325
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7322
7326
|
scope: z.ZodEnum<{
|
|
7323
7327
|
menu_sync: "menu_sync";
|
|
7328
|
+
store_status: "store_status";
|
|
7324
7329
|
}>;
|
|
7325
7330
|
code: z.ZodEnum<{
|
|
7326
7331
|
invalid_menu: "invalid_menu";
|
|
@@ -7351,6 +7356,7 @@ declare const integrationIssueDetailsSchema: z.ZodObject<{
|
|
|
7351
7356
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7352
7357
|
scope: z.ZodEnum<{
|
|
7353
7358
|
menu_sync: "menu_sync";
|
|
7359
|
+
store_status: "store_status";
|
|
7354
7360
|
}>;
|
|
7355
7361
|
code: z.ZodEnum<{
|
|
7356
7362
|
invalid_menu: "invalid_menu";
|
|
@@ -7473,6 +7479,7 @@ declare const getIntegrationIssueDetailsResponseSchema: z.ZodObject<{
|
|
|
7473
7479
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7474
7480
|
scope: z.ZodEnum<{
|
|
7475
7481
|
menu_sync: "menu_sync";
|
|
7482
|
+
store_status: "store_status";
|
|
7476
7483
|
}>;
|
|
7477
7484
|
code: z.ZodEnum<{
|
|
7478
7485
|
invalid_menu: "invalid_menu";
|
|
@@ -7508,6 +7515,7 @@ declare class GetIntegrationIssueDetails extends AbstractApiRequest<typeof getIn
|
|
|
7508
7515
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7509
7516
|
scope: z.ZodEnum<{
|
|
7510
7517
|
menu_sync: "menu_sync";
|
|
7518
|
+
store_status: "store_status";
|
|
7511
7519
|
}>;
|
|
7512
7520
|
code: z.ZodEnum<{
|
|
7513
7521
|
invalid_menu: "invalid_menu";
|
|
@@ -7544,8 +7552,10 @@ declare const getIntegrationIssuesQuerySchema: z.ZodObject<{
|
|
|
7544
7552
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7545
7553
|
scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7546
7554
|
menu_sync: "menu_sync";
|
|
7555
|
+
store_status: "store_status";
|
|
7547
7556
|
}>, z.ZodArray<z.ZodEnum<{
|
|
7548
7557
|
menu_sync: "menu_sync";
|
|
7558
|
+
store_status: "store_status";
|
|
7549
7559
|
}>>]>>;
|
|
7550
7560
|
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7551
7561
|
invalid_menu: "invalid_menu";
|
|
@@ -7608,6 +7618,7 @@ declare const getIntegrationIssuesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
7608
7618
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7609
7619
|
scope: z.ZodEnum<{
|
|
7610
7620
|
menu_sync: "menu_sync";
|
|
7621
|
+
store_status: "store_status";
|
|
7611
7622
|
}>;
|
|
7612
7623
|
code: z.ZodEnum<{
|
|
7613
7624
|
invalid_menu: "invalid_menu";
|
|
@@ -7643,6 +7654,7 @@ declare class GetIntegrationIssues extends AbstractApiRequest<typeof getIntegrat
|
|
|
7643
7654
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7644
7655
|
scope: z.ZodEnum<{
|
|
7645
7656
|
menu_sync: "menu_sync";
|
|
7657
|
+
store_status: "store_status";
|
|
7646
7658
|
}>;
|
|
7647
7659
|
code: z.ZodEnum<{
|
|
7648
7660
|
invalid_menu: "invalid_menu";
|
|
@@ -7671,8 +7683,10 @@ declare class GetIntegrationIssues extends AbstractApiRequest<typeof getIntegrat
|
|
|
7671
7683
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7672
7684
|
scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7673
7685
|
menu_sync: "menu_sync";
|
|
7686
|
+
store_status: "store_status";
|
|
7674
7687
|
}>, z.ZodArray<z.ZodEnum<{
|
|
7675
7688
|
menu_sync: "menu_sync";
|
|
7689
|
+
store_status: "store_status";
|
|
7676
7690
|
}>>]>>;
|
|
7677
7691
|
code: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7678
7692
|
invalid_menu: "invalid_menu";
|
|
@@ -7733,6 +7747,7 @@ declare class GetIntegrationIssues extends AbstractApiRequest<typeof getIntegrat
|
|
|
7733
7747
|
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7734
7748
|
scope: z.ZodEnum<{
|
|
7735
7749
|
menu_sync: "menu_sync";
|
|
7750
|
+
store_status: "store_status";
|
|
7736
7751
|
}>;
|
|
7737
7752
|
code: z.ZodEnum<{
|
|
7738
7753
|
invalid_menu: "invalid_menu";
|
|
@@ -7821,6 +7836,7 @@ declare const getIntegrationsResponseSchema: z.ZodObject<{
|
|
|
7821
7836
|
id: z.ZodString;
|
|
7822
7837
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
7823
7838
|
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>>;
|
|
7839
|
+
errors: z.ZodArray<z.ZodString>;
|
|
7824
7840
|
service: z.ZodEnum<{
|
|
7825
7841
|
kitchen: "kitchen";
|
|
7826
7842
|
}>;
|
|
@@ -8088,6 +8104,7 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
|
|
|
8088
8104
|
id: z.ZodString;
|
|
8089
8105
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
8090
8106
|
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>>;
|
|
8107
|
+
errors: z.ZodArray<z.ZodString>;
|
|
8091
8108
|
service: z.ZodEnum<{
|
|
8092
8109
|
kitchen: "kitchen";
|
|
8093
8110
|
}>;
|
|
@@ -8386,6 +8403,7 @@ declare class GetIntegrations extends AbstractApiRequest<typeof getIntegrationsI
|
|
|
8386
8403
|
id: z.ZodString;
|
|
8387
8404
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
8388
8405
|
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>>;
|
|
8406
|
+
errors: z.ZodArray<z.ZodString>;
|
|
8389
8407
|
service: z.ZodEnum<{
|
|
8390
8408
|
kitchen: "kitchen";
|
|
8391
8409
|
}>;
|
|
@@ -8684,6 +8702,7 @@ declare const getIntegrationsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDisc
|
|
|
8684
8702
|
id: z.ZodString;
|
|
8685
8703
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
8686
8704
|
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>>;
|
|
8705
|
+
errors: z.ZodArray<z.ZodString>;
|
|
8687
8706
|
service: z.ZodEnum<{
|
|
8688
8707
|
kitchen: "kitchen";
|
|
8689
8708
|
}>;
|
|
@@ -8941,6 +8960,7 @@ declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof g
|
|
|
8941
8960
|
id: z.ZodString;
|
|
8942
8961
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
8943
8962
|
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>>;
|
|
8963
|
+
errors: z.ZodArray<z.ZodString>;
|
|
8944
8964
|
service: z.ZodEnum<{
|
|
8945
8965
|
kitchen: "kitchen";
|
|
8946
8966
|
}>;
|
|
@@ -9230,6 +9250,7 @@ declare class GetIntegrationsFromPointOfSale extends AbstractApiRequest<typeof g
|
|
|
9230
9250
|
id: z.ZodString;
|
|
9231
9251
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
9232
9252
|
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>>;
|
|
9253
|
+
errors: z.ZodArray<z.ZodString>;
|
|
9233
9254
|
service: z.ZodEnum<{
|
|
9234
9255
|
kitchen: "kitchen";
|
|
9235
9256
|
}>;
|
|
@@ -12735,6 +12756,7 @@ declare const integrationKitchenSchema: z.ZodObject<{
|
|
|
12735
12756
|
id: z.ZodString;
|
|
12736
12757
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
12737
12758
|
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>>;
|
|
12759
|
+
errors: z.ZodArray<z.ZodString>;
|
|
12738
12760
|
service: z.ZodEnum<{
|
|
12739
12761
|
kitchen: "kitchen";
|
|
12740
12762
|
}>;
|
|
@@ -12758,6 +12780,7 @@ declare const integrationKitchenDetailsSchema: z.ZodObject<{
|
|
|
12758
12780
|
id: z.ZodString;
|
|
12759
12781
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
12760
12782
|
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>>;
|
|
12783
|
+
errors: z.ZodArray<z.ZodString>;
|
|
12761
12784
|
service: z.ZodEnum<{
|
|
12762
12785
|
kitchen: "kitchen";
|
|
12763
12786
|
}>;
|
|
@@ -23794,9 +23817,10 @@ declare const integrationDeliveryErrorSchema: z.ZodEnum<{
|
|
|
23794
23817
|
invalid_menu: "invalid_menu";
|
|
23795
23818
|
}>;
|
|
23796
23819
|
type IntegrationDeliveryError = z.infer<typeof integrationDeliveryErrorSchema>;
|
|
23797
|
-
declare const integrationIssueScopes: readonly ["menu_sync"];
|
|
23820
|
+
declare const integrationIssueScopes: readonly ["menu_sync", "store_status"];
|
|
23798
23821
|
declare const integrationIssueScopeSchema: z.ZodEnum<{
|
|
23799
23822
|
menu_sync: "menu_sync";
|
|
23823
|
+
store_status: "store_status";
|
|
23800
23824
|
}>;
|
|
23801
23825
|
type IntegrationIssueScope = z.infer<typeof integrationIssueScopeSchema>;
|
|
23802
23826
|
declare const integrationIssueCodes: readonly ["unauthorized", "forbidden", "remote_not_found", "invalid_menu", "remote_validation_failed", "daily_limit_reached", "process_failed"];
|
|
@@ -24999,6 +25023,7 @@ declare const createIntegrationKitchenResponseSchema: z.ZodObject<{
|
|
|
24999
25023
|
id: z.ZodString;
|
|
25000
25024
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25001
25025
|
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>>;
|
|
25026
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25002
25027
|
service: z.ZodEnum<{
|
|
25003
25028
|
kitchen: "kitchen";
|
|
25004
25029
|
}>;
|
|
@@ -25038,6 +25063,7 @@ declare class CreateIntegrationKitchen extends AbstractApiRequest<typeof createI
|
|
|
25038
25063
|
id: z.ZodString;
|
|
25039
25064
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25040
25065
|
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>>;
|
|
25066
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25041
25067
|
service: z.ZodEnum<{
|
|
25042
25068
|
kitchen: "kitchen";
|
|
25043
25069
|
}>;
|
|
@@ -25233,6 +25259,7 @@ declare const getIntegrationKitchenDetailsResponseSchema: z.ZodObject<{
|
|
|
25233
25259
|
id: z.ZodString;
|
|
25234
25260
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25235
25261
|
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>>;
|
|
25262
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25236
25263
|
service: z.ZodEnum<{
|
|
25237
25264
|
kitchen: "kitchen";
|
|
25238
25265
|
}>;
|
|
@@ -25263,6 +25290,7 @@ declare class GetIntegrationKitchenDetails extends AbstractApiRequest<typeof get
|
|
|
25263
25290
|
id: z.ZodString;
|
|
25264
25291
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25265
25292
|
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>>;
|
|
25293
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25266
25294
|
service: z.ZodEnum<{
|
|
25267
25295
|
kitchen: "kitchen";
|
|
25268
25296
|
}>;
|
|
@@ -25315,6 +25343,7 @@ declare const getIntegrationKitchenListResponseSchema: z.ZodObject<{
|
|
|
25315
25343
|
id: z.ZodString;
|
|
25316
25344
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25317
25345
|
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>>;
|
|
25346
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25318
25347
|
service: z.ZodEnum<{
|
|
25319
25348
|
kitchen: "kitchen";
|
|
25320
25349
|
}>;
|
|
@@ -25354,6 +25383,7 @@ declare class GetIntegrationKitchenList extends AbstractApiRequest<typeof getInt
|
|
|
25354
25383
|
id: z.ZodString;
|
|
25355
25384
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25356
25385
|
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>>;
|
|
25386
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25357
25387
|
service: z.ZodEnum<{
|
|
25358
25388
|
kitchen: "kitchen";
|
|
25359
25389
|
}>;
|
|
@@ -25405,6 +25435,7 @@ declare class GetIntegrationKitchenList extends AbstractApiRequest<typeof getInt
|
|
|
25405
25435
|
id: z.ZodString;
|
|
25406
25436
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25407
25437
|
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>>;
|
|
25438
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25408
25439
|
service: z.ZodEnum<{
|
|
25409
25440
|
kitchen: "kitchen";
|
|
25410
25441
|
}>;
|
|
@@ -25444,6 +25475,7 @@ declare const updateIntegrationKitchenResponseSchema: z.ZodObject<{
|
|
|
25444
25475
|
id: z.ZodString;
|
|
25445
25476
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25446
25477
|
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>>;
|
|
25478
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25447
25479
|
service: z.ZodEnum<{
|
|
25448
25480
|
kitchen: "kitchen";
|
|
25449
25481
|
}>;
|
|
@@ -25482,6 +25514,7 @@ declare class UpdateIntegrationKitchen extends AbstractApiRequest<typeof updateI
|
|
|
25482
25514
|
id: z.ZodString;
|
|
25483
25515
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25484
25516
|
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>>;
|
|
25517
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25485
25518
|
service: z.ZodEnum<{
|
|
25486
25519
|
kitchen: "kitchen";
|
|
25487
25520
|
}>;
|
|
@@ -25525,6 +25558,7 @@ declare const updateIntegrationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
25525
25558
|
id: z.ZodString;
|
|
25526
25559
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25527
25560
|
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>>;
|
|
25561
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25528
25562
|
service: z.ZodEnum<{
|
|
25529
25563
|
kitchen: "kitchen";
|
|
25530
25564
|
}>;
|
|
@@ -25807,6 +25841,7 @@ declare class UpdateIntegration extends AbstractApiRequest<typeof updateIntegrat
|
|
|
25807
25841
|
id: z.ZodString;
|
|
25808
25842
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
25809
25843
|
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>>;
|
|
25844
|
+
errors: z.ZodArray<z.ZodString>;
|
|
25810
25845
|
service: z.ZodEnum<{
|
|
25811
25846
|
kitchen: "kitchen";
|
|
25812
25847
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -13847,7 +13847,7 @@ var integrationDeliveryErrors = [
|
|
|
13847
13847
|
"invalid_menu"
|
|
13848
13848
|
];
|
|
13849
13849
|
var integrationDeliveryErrorSchema = external_exports.enum(integrationDeliveryErrors);
|
|
13850
|
-
var integrationIssueScopes = ["menu_sync"];
|
|
13850
|
+
var integrationIssueScopes = ["menu_sync", "store_status"];
|
|
13851
13851
|
var integrationIssueScopeSchema = external_exports.enum(integrationIssueScopes);
|
|
13852
13852
|
var integrationIssueCodes = [
|
|
13853
13853
|
"unauthorized",
|
|
@@ -15647,7 +15647,7 @@ var integrationKitchenAccessTokenIriSchema = iriSchema3(
|
|
|
15647
15647
|
var integrationKitchenAccessTokenNullableIriSchema = iriNullableSchema3(
|
|
15648
15648
|
"/integrations/kitchen/:integrationId/tokens/:id"
|
|
15649
15649
|
);
|
|
15650
|
-
var integrationKitchenSchema = integrationBaseSchema.omit({ service: true
|
|
15650
|
+
var integrationKitchenSchema = integrationBaseSchema.omit({ service: true }).extend({
|
|
15651
15651
|
service: integrationServiceSchema.extract(["kitchen"]),
|
|
15652
15652
|
viewMode: integrationKitchenViewModeSchema
|
|
15653
15653
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-integration",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Integration Management",
|
|
4
|
-
"version": "2.14.
|
|
4
|
+
"version": "2.14.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-customer": "2.14.
|
|
24
|
-
"@deliverart/sdk-js-
|
|
25
|
-
"@deliverart/sdk-js-image": "2.14.
|
|
26
|
-
"@deliverart/sdk-js-
|
|
27
|
-
"@deliverart/sdk-js-
|
|
28
|
-
"@deliverart/sdk-js-
|
|
29
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-core": "2.14.4",
|
|
22
|
+
"@deliverart/sdk-js-api-token": "2.14.4",
|
|
23
|
+
"@deliverart/sdk-js-customer": "2.14.4",
|
|
24
|
+
"@deliverart/sdk-js-order": "2.14.4",
|
|
25
|
+
"@deliverart/sdk-js-image": "2.14.4",
|
|
26
|
+
"@deliverart/sdk-js-point-of-sale": "2.14.4",
|
|
27
|
+
"@deliverart/sdk-js-sales-mode": "2.14.4",
|
|
28
|
+
"@deliverart/sdk-js-menu": "2.14.4",
|
|
29
|
+
"@deliverart/sdk-js-global-types": "2.14.4"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|