@deliverart/sdk-js-integration 2.1.38 → 2.1.40
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 +5 -5
- package/dist/index.d.cts +1541 -1543
- package/dist/index.d.ts +1541 -1543
- package/dist/index.js +5 -5
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
|
|
2
2
|
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
3
|
-
import * as zod from 'zod';
|
|
4
3
|
import { z } from 'zod';
|
|
5
4
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
6
|
-
import * as zod_v4_core_schemas_cjs from 'zod/v4/core/schemas.cjs';
|
|
7
5
|
|
|
8
6
|
declare const activatableIntegrationBaseSchema: z.ZodObject<{
|
|
9
7
|
id: z.ZodString;
|
|
@@ -6455,26 +6453,26 @@ declare const integrationsCassaInCloudQuerySchema: z.ZodObject<{
|
|
|
6455
6453
|
}, z.core.$strip>;
|
|
6456
6454
|
type IntegrationsCassaInCloudQueryParams = z.infer<typeof integrationsCassaInCloudQuerySchema>;
|
|
6457
6455
|
declare const integrationCassaInCloudEditableFieldsSchema: z.ZodObject<{
|
|
6458
|
-
direction: z.
|
|
6456
|
+
direction: z.ZodEnum<{
|
|
6459
6457
|
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6460
6458
|
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6461
|
-
}
|
|
6462
|
-
apiKey: z.
|
|
6463
|
-
idSalesPoint: z.
|
|
6464
|
-
locale: z.
|
|
6465
|
-
provider: z.
|
|
6459
|
+
}>;
|
|
6460
|
+
apiKey: z.ZodString;
|
|
6461
|
+
idSalesPoint: z.ZodNumber;
|
|
6462
|
+
locale: z.ZodString;
|
|
6463
|
+
provider: z.ZodEnum<{
|
|
6466
6464
|
deliverart: "deliverart";
|
|
6467
6465
|
cassa_in_cloud: "cassa_in_cloud";
|
|
6468
|
-
}
|
|
6469
|
-
skipSyncProductDescription: z.
|
|
6470
|
-
productChannels: z.
|
|
6466
|
+
}>;
|
|
6467
|
+
skipSyncProductDescription: z.ZodBoolean;
|
|
6468
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
6471
6469
|
RISTO: "RISTO";
|
|
6472
6470
|
SALE: "SALE";
|
|
6473
6471
|
ECOMMERCE: "ECOMMERCE";
|
|
6474
6472
|
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6475
6473
|
SELF_ORDER: "SELF_ORDER";
|
|
6476
6474
|
KIOSK: "KIOSK";
|
|
6477
|
-
}
|
|
6475
|
+
}>>;
|
|
6478
6476
|
}, z.core.$strip>;
|
|
6479
6477
|
type IntegrationCassaInCloudEditableFields = z.infer<typeof integrationCassaInCloudEditableFieldsSchema>;
|
|
6480
6478
|
declare const integrationCassaInCloudSyncMenuProcessSchema: z.ZodObject<{
|
|
@@ -6615,31 +6613,7 @@ declare const integrationCassaInCloudWebHookEventsQuerySchema: z.ZodObject<{
|
|
|
6615
6613
|
}, z.core.$strip>;
|
|
6616
6614
|
type IntegrationCassaInCloudWebHookEventsQueryParams = z.infer<typeof integrationCassaInCloudWebHookEventsQuerySchema>;
|
|
6617
6615
|
|
|
6618
|
-
declare const
|
|
6619
|
-
direction: z.ZodOptional<z.ZodEnum<{
|
|
6620
|
-
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6621
|
-
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6622
|
-
}>>;
|
|
6623
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
6624
|
-
idSalesPoint: z.ZodOptional<z.ZodNumber>;
|
|
6625
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
6626
|
-
provider: z.ZodOptional<z.ZodEnum<{
|
|
6627
|
-
deliverart: "deliverart";
|
|
6628
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
6629
|
-
}>>;
|
|
6630
|
-
skipSyncProductDescription: z.ZodOptional<z.ZodBoolean>;
|
|
6631
|
-
productChannels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6632
|
-
RISTO: "RISTO";
|
|
6633
|
-
SALE: "SALE";
|
|
6634
|
-
ECOMMERCE: "ECOMMERCE";
|
|
6635
|
-
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6636
|
-
SELF_ORDER: "SELF_ORDER";
|
|
6637
|
-
KIOSK: "KIOSK";
|
|
6638
|
-
}>>>;
|
|
6639
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6640
|
-
}, z.core.$strip>;
|
|
6641
|
-
type CreateIntegrationCassaInCloudInput = z.input<typeof createIntegrationCassaInCloudInputSchema>;
|
|
6642
|
-
declare const createIntegrationCassaInCloudResponseSchema: z.ZodObject<{
|
|
6616
|
+
declare const integrationDeliverooSchema: z.ZodObject<{
|
|
6643
6617
|
status: z.ZodEnum<{
|
|
6644
6618
|
pending: "pending";
|
|
6645
6619
|
active: "active";
|
|
@@ -6654,148 +6628,34 @@ declare const createIntegrationCassaInCloudResponseSchema: z.ZodObject<{
|
|
|
6654
6628
|
id: z.ZodString;
|
|
6655
6629
|
connectionId: z.ZodNullable<z.ZodString>;
|
|
6656
6630
|
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>>;
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
direction: z.ZodEnum<{
|
|
6665
|
-
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6666
|
-
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6667
|
-
}>;
|
|
6668
|
-
locale: z.ZodString;
|
|
6631
|
+
name: z.ZodString;
|
|
6632
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6633
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6634
|
+
importTaggedItems: z.ZodBoolean;
|
|
6635
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6636
|
+
isValidMenu: z.ZodBoolean;
|
|
6637
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6669
6638
|
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6677
|
-
SELF_ORDER: "SELF_ORDER";
|
|
6678
|
-
KIOSK: "KIOSK";
|
|
6639
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6640
|
+
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>>]>;
|
|
6641
|
+
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>>;
|
|
6642
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6643
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6644
|
+
invalid_menu: "invalid_menu";
|
|
6679
6645
|
}>>;
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
readonly method = "POST";
|
|
6685
|
-
readonly contentType = "application/json";
|
|
6686
|
-
readonly accept = "application/json";
|
|
6687
|
-
readonly inputSchema: z.ZodObject<{
|
|
6688
|
-
direction: z.ZodOptional<z.ZodEnum<{
|
|
6689
|
-
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6690
|
-
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6691
|
-
}>>;
|
|
6692
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
6693
|
-
idSalesPoint: z.ZodOptional<z.ZodNumber>;
|
|
6694
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
6695
|
-
provider: z.ZodOptional<z.ZodEnum<{
|
|
6696
|
-
deliverart: "deliverart";
|
|
6697
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
6698
|
-
}>>;
|
|
6699
|
-
skipSyncProductDescription: z.ZodOptional<z.ZodBoolean>;
|
|
6700
|
-
productChannels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6701
|
-
RISTO: "RISTO";
|
|
6702
|
-
SALE: "SALE";
|
|
6703
|
-
ECOMMERCE: "ECOMMERCE";
|
|
6704
|
-
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6705
|
-
SELF_ORDER: "SELF_ORDER";
|
|
6706
|
-
KIOSK: "KIOSK";
|
|
6707
|
-
}>>>;
|
|
6708
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6709
|
-
}, z.core.$strip>;
|
|
6710
|
-
readonly outputSchema: z.ZodObject<{
|
|
6711
|
-
status: z.ZodEnum<{
|
|
6712
|
-
pending: "pending";
|
|
6713
|
-
active: "active";
|
|
6714
|
-
deleting: "deleting";
|
|
6715
|
-
}>;
|
|
6716
|
-
provider: z.ZodEnum<{
|
|
6717
|
-
deliverart: "deliverart";
|
|
6718
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
6719
|
-
}>;
|
|
6720
|
-
createdAt: z.ZodString;
|
|
6721
|
-
updatedAt: z.ZodString;
|
|
6722
|
-
id: z.ZodString;
|
|
6723
|
-
connectionId: z.ZodNullable<z.ZodString>;
|
|
6724
|
-
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>>;
|
|
6725
|
-
errors: z.ZodArray<z.ZodString>;
|
|
6726
|
-
finalized: z.ZodBoolean;
|
|
6727
|
-
apiKey: z.ZodString;
|
|
6728
|
-
service: z.ZodEnum<{
|
|
6729
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
6730
|
-
}>;
|
|
6731
|
-
idSalesPoint: z.ZodNumber;
|
|
6732
|
-
direction: z.ZodEnum<{
|
|
6733
|
-
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
6734
|
-
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
6735
|
-
}>;
|
|
6736
|
-
locale: z.ZodString;
|
|
6737
|
-
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6738
|
-
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
6739
|
-
skipSyncProductDescription: z.ZodBoolean;
|
|
6740
|
-
productChannels: z.ZodArray<z.ZodEnum<{
|
|
6741
|
-
RISTO: "RISTO";
|
|
6742
|
-
SALE: "SALE";
|
|
6743
|
-
ECOMMERCE: "ECOMMERCE";
|
|
6744
|
-
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
6745
|
-
SELF_ORDER: "SELF_ORDER";
|
|
6746
|
-
KIOSK: "KIOSK";
|
|
6747
|
-
}>>;
|
|
6748
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6749
|
-
}, z.core.$strip>;
|
|
6750
|
-
readonly querySchema: undefined;
|
|
6751
|
-
readonly headersSchema: undefined;
|
|
6752
|
-
constructor(input: CreateIntegrationCassaInCloudInput);
|
|
6753
|
-
getPath(): string;
|
|
6754
|
-
}
|
|
6755
|
-
|
|
6756
|
-
declare const deleteIntegrationCassaInCloudInputSchema: z.ZodUndefined;
|
|
6757
|
-
declare const deleteIntegrationCassaInCloudResponseSchema: z.ZodUndefined;
|
|
6758
|
-
declare class DeleteIntegrationCassaInCloud extends AbstractApiRequest<typeof deleteIntegrationCassaInCloudInputSchema, typeof deleteIntegrationCassaInCloudResponseSchema> {
|
|
6759
|
-
readonly method = "DELETE";
|
|
6760
|
-
readonly contentType = "application/json";
|
|
6761
|
-
readonly accept = "application/json";
|
|
6762
|
-
readonly inputSchema: z.ZodUndefined;
|
|
6763
|
-
readonly outputSchema: z.ZodUndefined;
|
|
6764
|
-
readonly querySchema: undefined;
|
|
6765
|
-
readonly headersSchema: undefined;
|
|
6766
|
-
private readonly integrationCassaInCloudId;
|
|
6767
|
-
constructor(integrationCassaInCloudId: string);
|
|
6768
|
-
getPath(): string;
|
|
6769
|
-
}
|
|
6770
|
-
|
|
6771
|
-
declare const menuVersionSchema: z.ZodObject<{
|
|
6772
|
-
id: z.ZodString;
|
|
6773
|
-
contentUrl: z.ZodString;
|
|
6774
|
-
filePath: z.ZodString;
|
|
6775
|
-
createdAt: z.ZodString;
|
|
6776
|
-
updatedAt: z.ZodString;
|
|
6777
|
-
}, z.core.$strip>;
|
|
6778
|
-
type MenuVersion = z.infer<typeof menuVersionSchema>;
|
|
6779
|
-
declare const menuVersionDetailsSchema: z.ZodObject<{
|
|
6780
|
-
id: z.ZodString;
|
|
6781
|
-
contentUrl: z.ZodString;
|
|
6782
|
-
filePath: z.ZodString;
|
|
6783
|
-
createdAt: z.ZodString;
|
|
6784
|
-
updatedAt: z.ZodString;
|
|
6785
|
-
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
6786
|
-
}, z.core.$strip>;
|
|
6787
|
-
type MenuVersionDetails = z.infer<typeof menuVersionDetailsSchema>;
|
|
6788
|
-
declare const integrationBaseSchema: z.ZodObject<{
|
|
6789
|
-
id: z.ZodString;
|
|
6790
|
-
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>>;
|
|
6791
|
-
connectionId: z.ZodNullable<z.ZodString>;
|
|
6792
|
-
errors: z.ZodArray<z.ZodString>;
|
|
6646
|
+
brandId: z.ZodString;
|
|
6647
|
+
siteId: z.ZodString;
|
|
6648
|
+
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>>;
|
|
6649
|
+
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
6793
6650
|
service: z.ZodEnum<{
|
|
6794
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
6795
6651
|
deliveroo: "deliveroo";
|
|
6796
|
-
justeat: "justeat";
|
|
6797
|
-
glovo: "glovo";
|
|
6798
6652
|
}>;
|
|
6653
|
+
acceptanceTimeout: z.ZodNumber;
|
|
6654
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
6655
|
+
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
6656
|
+
}, z.core.$strip>;
|
|
6657
|
+
type IntegrationDeliveroo = z.infer<typeof integrationDeliverooSchema>;
|
|
6658
|
+
declare const integrationDeliverooDetailsSchema: z.ZodObject<{
|
|
6799
6659
|
status: z.ZodEnum<{
|
|
6800
6660
|
pending: "pending";
|
|
6801
6661
|
active: "active";
|
|
@@ -6807,22 +6667,9 @@ declare const integrationBaseSchema: z.ZodObject<{
|
|
|
6807
6667
|
}>;
|
|
6808
6668
|
createdAt: z.ZodString;
|
|
6809
6669
|
updatedAt: z.ZodString;
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
pending: "pending";
|
|
6814
|
-
active: "active";
|
|
6815
|
-
deleting: "deleting";
|
|
6816
|
-
}>;
|
|
6817
|
-
provider: z.ZodEnum<{
|
|
6818
|
-
deliverart: "deliverart";
|
|
6819
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
6820
|
-
}>;
|
|
6821
|
-
}, z.core.$strip>;
|
|
6822
|
-
declare const integrationDetailsFieldsSchema: z.ZodObject<{
|
|
6823
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6824
|
-
}, z.core.$strip>;
|
|
6825
|
-
declare const integrationDeliveryProviderCommonSchema: z.ZodObject<{
|
|
6670
|
+
id: z.ZodString;
|
|
6671
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6672
|
+
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>>;
|
|
6826
6673
|
name: z.ZodString;
|
|
6827
6674
|
skipInvalidItem: z.ZodBoolean;
|
|
6828
6675
|
skipNegativePrices: z.ZodBoolean;
|
|
@@ -6838,41 +6685,951 @@ declare const integrationDeliveryProviderCommonSchema: z.ZodObject<{
|
|
|
6838
6685
|
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6839
6686
|
invalid_menu: "invalid_menu";
|
|
6840
6687
|
}>>;
|
|
6841
|
-
|
|
6842
|
-
|
|
6843
|
-
|
|
6844
|
-
|
|
6845
|
-
|
|
6846
|
-
|
|
6847
|
-
DELETE: "DELETE";
|
|
6848
|
-
GET: "GET";
|
|
6849
|
-
PATCH: "PATCH";
|
|
6850
|
-
POST: "POST";
|
|
6851
|
-
PUT: "PUT";
|
|
6688
|
+
brandId: z.ZodString;
|
|
6689
|
+
siteId: z.ZodString;
|
|
6690
|
+
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>>;
|
|
6691
|
+
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
6692
|
+
service: z.ZodEnum<{
|
|
6693
|
+
deliveroo: "deliveroo";
|
|
6852
6694
|
}>;
|
|
6853
|
-
|
|
6854
|
-
|
|
6695
|
+
acceptanceTimeout: z.ZodNumber;
|
|
6696
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
6697
|
+
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
6698
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6855
6699
|
}, z.core.$strip>;
|
|
6856
|
-
type
|
|
6857
|
-
declare const
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
PATCH: "PATCH";
|
|
6864
|
-
POST: "POST";
|
|
6865
|
-
PUT: "PUT";
|
|
6700
|
+
type IntegrationDeliverooDetails = z.infer<typeof integrationDeliverooDetailsSchema>;
|
|
6701
|
+
declare const integrationDeliverooEditableFieldsSchema: z.ZodObject<{
|
|
6702
|
+
brandId: z.ZodString;
|
|
6703
|
+
siteId: z.ZodString;
|
|
6704
|
+
provider: z.ZodEnum<{
|
|
6705
|
+
deliverart: "deliverart";
|
|
6706
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6866
6707
|
}>;
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6708
|
+
name: z.ZodString;
|
|
6709
|
+
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>>;
|
|
6710
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6711
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6712
|
+
importTaggedItems: z.ZodBoolean;
|
|
6713
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6714
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6715
|
+
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>>;
|
|
6716
|
+
acceptanceTimeout: z.ZodNumber;
|
|
6717
|
+
}, z.core.$strip>;
|
|
6718
|
+
type IntegrationDeliverooEditableFields = z.infer<typeof integrationDeliverooEditableFieldsSchema>;
|
|
6719
|
+
declare const integrationsDeliverooQuerySchema: z.ZodObject<{
|
|
6720
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
6721
|
+
asc: "asc";
|
|
6722
|
+
desc: "desc";
|
|
6723
|
+
}>>;
|
|
6724
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
6725
|
+
asc: "asc";
|
|
6726
|
+
desc: "desc";
|
|
6727
|
+
}>>;
|
|
6728
|
+
'order[latestMenuCheckAt]': z.ZodOptional<z.ZodEnum<{
|
|
6729
|
+
asc: "asc";
|
|
6730
|
+
desc: "desc";
|
|
6731
|
+
}>>;
|
|
6732
|
+
'order[latestMenuSyncAt]': z.ZodOptional<z.ZodEnum<{
|
|
6733
|
+
asc: "asc";
|
|
6734
|
+
desc: "desc";
|
|
6735
|
+
}>>;
|
|
6736
|
+
'order[latestOpeningHoursSyncAt]': z.ZodOptional<z.ZodEnum<{
|
|
6737
|
+
asc: "asc";
|
|
6738
|
+
desc: "desc";
|
|
6739
|
+
}>>;
|
|
6740
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6741
|
+
brandId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6742
|
+
siteId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6743
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6744
|
+
pending: "pending";
|
|
6745
|
+
active: "active";
|
|
6746
|
+
deleting: "deleting";
|
|
6747
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6748
|
+
pending: "pending";
|
|
6749
|
+
active: "active";
|
|
6750
|
+
deleting: "deleting";
|
|
6751
|
+
}>>]>>;
|
|
6752
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6753
|
+
skipInvalidItem: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
6754
|
+
isValidMenu: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
6755
|
+
'latestMenuCheckAt[before]': z.ZodOptional<z.ZodString>;
|
|
6756
|
+
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6757
|
+
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
6758
|
+
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6759
|
+
'latestMenuSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
6760
|
+
'latestMenuSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6761
|
+
'latestMenuSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
6762
|
+
'latestMenuSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6763
|
+
'latestOpeningHoursSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
6764
|
+
'latestOpeningHoursSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6765
|
+
'latestOpeningHoursSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
6766
|
+
'latestOpeningHoursSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6767
|
+
service: z.ZodOptional<z.ZodEnum<{
|
|
6768
|
+
deliveroo: "deliveroo";
|
|
6769
|
+
}>>;
|
|
6770
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6771
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
6772
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6773
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
6774
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6775
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
6776
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6777
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
6778
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6779
|
+
}, z.core.$strip>;
|
|
6780
|
+
type IntegrationsDeliverooQueryParams = z.infer<typeof integrationsDeliverooQuerySchema>;
|
|
6781
|
+
declare const integrationDeliverooSyncMenuProcessSchema: z.ZodObject<{
|
|
6782
|
+
id: z.ZodString;
|
|
6783
|
+
mode: z.ZodEnum<{
|
|
6784
|
+
menu: "menu";
|
|
6785
|
+
item_availabilities: "item_availabilities";
|
|
6786
|
+
}>;
|
|
6787
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
6788
|
+
response: z.ZodNullable<z.ZodString>;
|
|
6789
|
+
createdAt: z.ZodString;
|
|
6790
|
+
endAt: z.ZodNullable<z.ZodString>;
|
|
6791
|
+
}, z.core.$strip>;
|
|
6792
|
+
type IntegrationDeliverooSyncMenuProcess = z.infer<typeof integrationDeliverooSyncMenuProcessSchema>;
|
|
6793
|
+
declare const integrationDeliverooSyncMenuProcessDetailsSchema: z.ZodObject<{
|
|
6794
|
+
id: z.ZodString;
|
|
6795
|
+
mode: z.ZodEnum<{
|
|
6796
|
+
menu: "menu";
|
|
6797
|
+
item_availabilities: "item_availabilities";
|
|
6798
|
+
}>;
|
|
6799
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
6800
|
+
response: z.ZodNullable<z.ZodString>;
|
|
6801
|
+
createdAt: z.ZodString;
|
|
6802
|
+
endAt: z.ZodNullable<z.ZodString>;
|
|
6803
|
+
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>;
|
|
6804
|
+
}, z.core.$strip>;
|
|
6805
|
+
type IntegrationDeliverooSyncMenuProcessDetails = z.infer<typeof integrationDeliverooSyncMenuProcessDetailsSchema>;
|
|
6806
|
+
declare const integrationDeliverooSyncMenuProcessesQuerySchema: z.ZodObject<{
|
|
6807
|
+
'order[endAt]': z.ZodOptional<z.ZodEnum<{
|
|
6808
|
+
asc: "asc";
|
|
6809
|
+
desc: "desc";
|
|
6810
|
+
}>>;
|
|
6811
|
+
mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6812
|
+
menu: "menu";
|
|
6813
|
+
item_availabilities: "item_availabilities";
|
|
6814
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6815
|
+
menu: "menu";
|
|
6816
|
+
item_availabilities: "item_availabilities";
|
|
6817
|
+
}>>]>>;
|
|
6818
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
6819
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6820
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
6821
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6822
|
+
'endAt[before]': z.ZodOptional<z.ZodString>;
|
|
6823
|
+
'endAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6824
|
+
'endAt[after]': z.ZodOptional<z.ZodString>;
|
|
6825
|
+
'endAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6826
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6827
|
+
}, z.core.$strip>;
|
|
6828
|
+
type IntegrationDeliverooSyncMenuProcessesQueryParams = z.infer<typeof integrationDeliverooSyncMenuProcessesQuerySchema>;
|
|
6829
|
+
declare const integrationDeliverooWebhookEventSchema: z.ZodObject<{
|
|
6830
|
+
id: z.ZodString;
|
|
6831
|
+
event: z.ZodEnum<{
|
|
6832
|
+
"order.new": "order.new";
|
|
6833
|
+
"order.status_update": "order.status_update";
|
|
6834
|
+
"rider.status_update": "rider.status_update";
|
|
6835
|
+
"menu.upload_result": "menu.upload_result";
|
|
6836
|
+
}>;
|
|
6837
|
+
body: z.ZodAny;
|
|
6838
|
+
createdAt: z.ZodString;
|
|
6839
|
+
}, z.core.$strip>;
|
|
6840
|
+
type IntegrationDeliverooWebhookEvent = z.infer<typeof integrationDeliverooWebhookEventSchema>;
|
|
6841
|
+
declare const integrationDeliverooWebhookEventDetailsSchema: z.ZodObject<{
|
|
6842
|
+
id: z.ZodString;
|
|
6843
|
+
event: z.ZodEnum<{
|
|
6844
|
+
"order.new": "order.new";
|
|
6845
|
+
"order.status_update": "order.status_update";
|
|
6846
|
+
"rider.status_update": "rider.status_update";
|
|
6847
|
+
"menu.upload_result": "menu.upload_result";
|
|
6848
|
+
}>;
|
|
6849
|
+
body: z.ZodAny;
|
|
6850
|
+
createdAt: z.ZodString;
|
|
6851
|
+
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>;
|
|
6852
|
+
}, z.core.$strip>;
|
|
6853
|
+
type IntegrationDeliverooWebhookEventDetails = z.infer<typeof integrationDeliverooWebhookEventDetailsSchema>;
|
|
6854
|
+
declare const integrationDeliverooWebhookEventsQueryParamsSchema: z.ZodObject<{
|
|
6855
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
6856
|
+
asc: "asc";
|
|
6857
|
+
desc: "desc";
|
|
6858
|
+
}>>;
|
|
6859
|
+
event: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6860
|
+
"order.new": "order.new";
|
|
6861
|
+
"order.status_update": "order.status_update";
|
|
6862
|
+
"rider.status_update": "rider.status_update";
|
|
6863
|
+
"menu.upload_result": "menu.upload_result";
|
|
6864
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6865
|
+
"order.new": "order.new";
|
|
6866
|
+
"order.status_update": "order.status_update";
|
|
6867
|
+
"rider.status_update": "rider.status_update";
|
|
6868
|
+
"menu.upload_result": "menu.upload_result";
|
|
6869
|
+
}>>]>>;
|
|
6870
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
6871
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6872
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
6873
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6874
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6875
|
+
}, z.core.$strip>;
|
|
6876
|
+
type IntegrationDeliverooWebhookEventsQueryParams = z.infer<typeof integrationDeliverooWebhookEventsQueryParamsSchema>;
|
|
6877
|
+
|
|
6878
|
+
declare const integrationGlovoSchema: z.ZodObject<{
|
|
6879
|
+
status: z.ZodEnum<{
|
|
6880
|
+
pending: "pending";
|
|
6881
|
+
active: "active";
|
|
6882
|
+
deleting: "deleting";
|
|
6883
|
+
}>;
|
|
6884
|
+
provider: z.ZodEnum<{
|
|
6885
|
+
deliverart: "deliverart";
|
|
6886
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6887
|
+
}>;
|
|
6888
|
+
createdAt: z.ZodString;
|
|
6889
|
+
updatedAt: z.ZodString;
|
|
6890
|
+
id: z.ZodString;
|
|
6891
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6892
|
+
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>>;
|
|
6893
|
+
name: z.ZodString;
|
|
6894
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6895
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6896
|
+
importTaggedItems: z.ZodBoolean;
|
|
6897
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6898
|
+
isValidMenu: z.ZodBoolean;
|
|
6899
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6900
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6901
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6902
|
+
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>>]>;
|
|
6903
|
+
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>>;
|
|
6904
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6905
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6906
|
+
invalid_menu: "invalid_menu";
|
|
6907
|
+
}>>;
|
|
6908
|
+
storeId: z.ZodString;
|
|
6909
|
+
locale: z.ZodString;
|
|
6910
|
+
pendingMenuChanges: z.ZodBoolean;
|
|
6911
|
+
service: z.ZodEnum<{
|
|
6912
|
+
glovo: "glovo";
|
|
6913
|
+
}>;
|
|
6914
|
+
}, z.core.$strip>;
|
|
6915
|
+
type IntegrationGlovo = z.infer<typeof integrationGlovoSchema>;
|
|
6916
|
+
declare const integrationGlovoDetailsSchema: z.ZodObject<{
|
|
6917
|
+
status: z.ZodEnum<{
|
|
6918
|
+
pending: "pending";
|
|
6919
|
+
active: "active";
|
|
6920
|
+
deleting: "deleting";
|
|
6921
|
+
}>;
|
|
6922
|
+
provider: z.ZodEnum<{
|
|
6923
|
+
deliverart: "deliverart";
|
|
6924
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6925
|
+
}>;
|
|
6926
|
+
createdAt: z.ZodString;
|
|
6927
|
+
updatedAt: z.ZodString;
|
|
6928
|
+
id: z.ZodString;
|
|
6929
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
6930
|
+
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>>;
|
|
6931
|
+
name: z.ZodString;
|
|
6932
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6933
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6934
|
+
importTaggedItems: z.ZodBoolean;
|
|
6935
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6936
|
+
isValidMenu: z.ZodBoolean;
|
|
6937
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6938
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
6939
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
6940
|
+
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>>]>;
|
|
6941
|
+
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>>;
|
|
6942
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
6943
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
6944
|
+
invalid_menu: "invalid_menu";
|
|
6945
|
+
}>>;
|
|
6946
|
+
storeId: z.ZodString;
|
|
6947
|
+
locale: z.ZodString;
|
|
6948
|
+
pendingMenuChanges: z.ZodBoolean;
|
|
6949
|
+
service: z.ZodEnum<{
|
|
6950
|
+
glovo: "glovo";
|
|
6951
|
+
}>;
|
|
6952
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6953
|
+
}, z.core.$strip>;
|
|
6954
|
+
type IntegrationGlovoDetails = z.infer<typeof integrationGlovoDetailsSchema>;
|
|
6955
|
+
declare const integrationGlovoEditableFieldsSchema: z.ZodObject<{
|
|
6956
|
+
storeId: z.ZodString;
|
|
6957
|
+
locale: z.ZodString;
|
|
6958
|
+
provider: z.ZodEnum<{
|
|
6959
|
+
deliverart: "deliverart";
|
|
6960
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
6961
|
+
}>;
|
|
6962
|
+
name: z.ZodString;
|
|
6963
|
+
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>>;
|
|
6964
|
+
skipInvalidItem: z.ZodBoolean;
|
|
6965
|
+
skipNegativePrices: z.ZodBoolean;
|
|
6966
|
+
importTaggedItems: z.ZodBoolean;
|
|
6967
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6968
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
6969
|
+
}, z.core.$strip>;
|
|
6970
|
+
type IntegrationGlovoEditableFields = z.infer<typeof integrationGlovoEditableFieldsSchema>;
|
|
6971
|
+
declare const integrationsGlovoQuerySchema: z.ZodObject<{
|
|
6972
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
6973
|
+
asc: "asc";
|
|
6974
|
+
desc: "desc";
|
|
6975
|
+
}>>;
|
|
6976
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
6977
|
+
asc: "asc";
|
|
6978
|
+
desc: "desc";
|
|
6979
|
+
}>>;
|
|
6980
|
+
'order[latestMenuCheckAt]': z.ZodOptional<z.ZodEnum<{
|
|
6981
|
+
asc: "asc";
|
|
6982
|
+
desc: "desc";
|
|
6983
|
+
}>>;
|
|
6984
|
+
'order[latestMenuSyncAt]': z.ZodOptional<z.ZodEnum<{
|
|
6985
|
+
asc: "asc";
|
|
6986
|
+
desc: "desc";
|
|
6987
|
+
}>>;
|
|
6988
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6989
|
+
storeId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6990
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6991
|
+
pending: "pending";
|
|
6992
|
+
active: "active";
|
|
6993
|
+
deleting: "deleting";
|
|
6994
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6995
|
+
pending: "pending";
|
|
6996
|
+
active: "active";
|
|
6997
|
+
deleting: "deleting";
|
|
6998
|
+
}>>]>>;
|
|
6999
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7000
|
+
skipInvalidItem: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
7001
|
+
isValidMenu: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
7002
|
+
'latestMenuCheckAt[before]': z.ZodOptional<z.ZodString>;
|
|
7003
|
+
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7004
|
+
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
7005
|
+
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7006
|
+
'latestMenuSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
7007
|
+
'latestMenuSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7008
|
+
'latestMenuSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
7009
|
+
'latestMenuSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7010
|
+
service: z.ZodOptional<z.ZodEnum<{
|
|
7011
|
+
glovo: "glovo";
|
|
7012
|
+
}>>;
|
|
7013
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7014
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
7015
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7016
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
7017
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7018
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
7019
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7020
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
7021
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7022
|
+
}, z.core.$strip>;
|
|
7023
|
+
type IntegrationsGlovoQueryParams = z.infer<typeof integrationsGlovoQuerySchema>;
|
|
7024
|
+
declare const integrationGlovoWebhookEventSchema: z.ZodObject<{
|
|
7025
|
+
id: z.ZodString;
|
|
7026
|
+
event: z.ZodEnum<{
|
|
7027
|
+
"order.dispatched": "order.dispatched";
|
|
7028
|
+
"order.cancelled": "order.cancelled";
|
|
7029
|
+
}>;
|
|
7030
|
+
body: z.ZodAny;
|
|
7031
|
+
createdAt: z.ZodString;
|
|
7032
|
+
}, z.core.$strip>;
|
|
7033
|
+
type IntegrationGlovoWebhookEvent = z.infer<typeof integrationGlovoWebhookEventSchema>;
|
|
7034
|
+
declare const integrationGlovoWebhookEventDetailsSchema: z.ZodObject<{
|
|
7035
|
+
id: z.ZodString;
|
|
7036
|
+
event: z.ZodEnum<{
|
|
7037
|
+
"order.dispatched": "order.dispatched";
|
|
7038
|
+
"order.cancelled": "order.cancelled";
|
|
7039
|
+
}>;
|
|
7040
|
+
body: z.ZodAny;
|
|
7041
|
+
createdAt: z.ZodString;
|
|
7042
|
+
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>;
|
|
7043
|
+
}, z.core.$strip>;
|
|
7044
|
+
type IntegrationGlovoWebhookEventDetails = z.infer<typeof integrationGlovoWebhookEventDetailsSchema>;
|
|
7045
|
+
declare const integrationGlovoWebhookEventsQueryParamsSchema: z.ZodObject<{
|
|
7046
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
7047
|
+
asc: "asc";
|
|
7048
|
+
desc: "desc";
|
|
7049
|
+
}>>;
|
|
7050
|
+
event: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7051
|
+
"order.dispatched": "order.dispatched";
|
|
7052
|
+
"order.cancelled": "order.cancelled";
|
|
7053
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7054
|
+
"order.dispatched": "order.dispatched";
|
|
7055
|
+
"order.cancelled": "order.cancelled";
|
|
7056
|
+
}>>]>>;
|
|
7057
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
7058
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7059
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
7060
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7061
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7062
|
+
}, z.core.$strip>;
|
|
7063
|
+
type IntegrationGlovoWebhookEventsQueryParams = z.infer<typeof integrationGlovoWebhookEventsQueryParamsSchema>;
|
|
7064
|
+
declare const integrationGlovoMenuUpdateSchema: z.ZodObject<{
|
|
7065
|
+
id: z.ZodString;
|
|
7066
|
+
transactionId: z.ZodNullable<z.ZodString>;
|
|
7067
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
7068
|
+
SUCCESS: "SUCCESS";
|
|
7069
|
+
PROCESSING: "PROCESSING";
|
|
7070
|
+
FETCH_MENU_INVALID_PAYLOAD: "FETCH_MENU_INVALID_PAYLOAD";
|
|
7071
|
+
FETCH_MENU_SERVER_ERROR: "FETCH_MENU_SERVER_ERROR";
|
|
7072
|
+
FETCH_MENU_UNAUTHORIZED: "FETCH_MENU_UNAUTHORIZED";
|
|
7073
|
+
NOT_PROCESSED: "NOT_PROCESSED";
|
|
7074
|
+
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
7075
|
+
GLOVO_ERROR: "GLOVO_ERROR";
|
|
7076
|
+
SCHEDULE_CATALOG_DISABLED: "SCHEDULE_CATALOG_DISABLED";
|
|
7077
|
+
}>>;
|
|
7078
|
+
retryCompleted: z.ZodBoolean;
|
|
7079
|
+
createdAt: z.ZodString;
|
|
7080
|
+
responseAt: z.ZodNullable<z.ZodString>;
|
|
7081
|
+
latestCheckAt: z.ZodNullable<z.ZodString>;
|
|
7082
|
+
}, z.core.$strip>;
|
|
7083
|
+
type IntegrationGlovoMenuUpdate = z.infer<typeof integrationGlovoMenuUpdateSchema>;
|
|
7084
|
+
declare const integrationGlovoMenuUpdateDetailsSchema: z.ZodObject<{
|
|
7085
|
+
id: z.ZodString;
|
|
7086
|
+
transactionId: z.ZodNullable<z.ZodString>;
|
|
7087
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
7088
|
+
SUCCESS: "SUCCESS";
|
|
7089
|
+
PROCESSING: "PROCESSING";
|
|
7090
|
+
FETCH_MENU_INVALID_PAYLOAD: "FETCH_MENU_INVALID_PAYLOAD";
|
|
7091
|
+
FETCH_MENU_SERVER_ERROR: "FETCH_MENU_SERVER_ERROR";
|
|
7092
|
+
FETCH_MENU_UNAUTHORIZED: "FETCH_MENU_UNAUTHORIZED";
|
|
7093
|
+
NOT_PROCESSED: "NOT_PROCESSED";
|
|
7094
|
+
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
7095
|
+
GLOVO_ERROR: "GLOVO_ERROR";
|
|
7096
|
+
SCHEDULE_CATALOG_DISABLED: "SCHEDULE_CATALOG_DISABLED";
|
|
7097
|
+
}>>;
|
|
7098
|
+
retryCompleted: z.ZodBoolean;
|
|
7099
|
+
createdAt: z.ZodString;
|
|
7100
|
+
responseAt: z.ZodNullable<z.ZodString>;
|
|
7101
|
+
latestCheckAt: z.ZodNullable<z.ZodString>;
|
|
7102
|
+
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>;
|
|
7103
|
+
details: z.ZodNullable<z.ZodAny>;
|
|
7104
|
+
}, z.core.$strip>;
|
|
7105
|
+
type IntegrationGlovoMenuUpdateDetails = z.infer<typeof integrationGlovoMenuUpdateDetailsSchema>;
|
|
7106
|
+
declare const integrationGlovoMenuUpdatesQuerySchema: z.ZodObject<{
|
|
7107
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
7108
|
+
asc: "asc";
|
|
7109
|
+
desc: "desc";
|
|
7110
|
+
}>>;
|
|
7111
|
+
'order[responseAt]': z.ZodOptional<z.ZodEnum<{
|
|
7112
|
+
asc: "asc";
|
|
7113
|
+
desc: "desc";
|
|
7114
|
+
}>>;
|
|
7115
|
+
'order[latestCheckAt]': z.ZodOptional<z.ZodEnum<{
|
|
7116
|
+
asc: "asc";
|
|
7117
|
+
desc: "desc";
|
|
7118
|
+
}>>;
|
|
7119
|
+
retryCompleted: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
7120
|
+
transactionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7121
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7122
|
+
SUCCESS: "SUCCESS";
|
|
7123
|
+
PROCESSING: "PROCESSING";
|
|
7124
|
+
FETCH_MENU_INVALID_PAYLOAD: "FETCH_MENU_INVALID_PAYLOAD";
|
|
7125
|
+
FETCH_MENU_SERVER_ERROR: "FETCH_MENU_SERVER_ERROR";
|
|
7126
|
+
FETCH_MENU_UNAUTHORIZED: "FETCH_MENU_UNAUTHORIZED";
|
|
7127
|
+
NOT_PROCESSED: "NOT_PROCESSED";
|
|
7128
|
+
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
7129
|
+
GLOVO_ERROR: "GLOVO_ERROR";
|
|
7130
|
+
SCHEDULE_CATALOG_DISABLED: "SCHEDULE_CATALOG_DISABLED";
|
|
7131
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7132
|
+
SUCCESS: "SUCCESS";
|
|
7133
|
+
PROCESSING: "PROCESSING";
|
|
7134
|
+
FETCH_MENU_INVALID_PAYLOAD: "FETCH_MENU_INVALID_PAYLOAD";
|
|
7135
|
+
FETCH_MENU_SERVER_ERROR: "FETCH_MENU_SERVER_ERROR";
|
|
7136
|
+
FETCH_MENU_UNAUTHORIZED: "FETCH_MENU_UNAUTHORIZED";
|
|
7137
|
+
NOT_PROCESSED: "NOT_PROCESSED";
|
|
7138
|
+
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
7139
|
+
GLOVO_ERROR: "GLOVO_ERROR";
|
|
7140
|
+
SCHEDULE_CATALOG_DISABLED: "SCHEDULE_CATALOG_DISABLED";
|
|
7141
|
+
}>>]>>;
|
|
7142
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
7143
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7144
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
7145
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7146
|
+
'responseAt[before]': z.ZodOptional<z.ZodString>;
|
|
7147
|
+
'responseAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7148
|
+
'responseAt[after]': z.ZodOptional<z.ZodString>;
|
|
7149
|
+
'responseAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7150
|
+
'latestCheckAt[before]': z.ZodOptional<z.ZodString>;
|
|
7151
|
+
'latestCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7152
|
+
'latestCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
7153
|
+
'latestCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7154
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7155
|
+
}, z.core.$strip>;
|
|
7156
|
+
type IntegrationGlovoMenuUpdatesQueryParams = z.infer<typeof integrationGlovoMenuUpdatesQuerySchema>;
|
|
7157
|
+
|
|
7158
|
+
declare const integrationJustEatSchema: z.ZodObject<{
|
|
7159
|
+
status: z.ZodEnum<{
|
|
7160
|
+
pending: "pending";
|
|
7161
|
+
active: "active";
|
|
7162
|
+
deleting: "deleting";
|
|
7163
|
+
}>;
|
|
7164
|
+
provider: z.ZodEnum<{
|
|
7165
|
+
deliverart: "deliverart";
|
|
7166
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
7167
|
+
}>;
|
|
7168
|
+
createdAt: z.ZodString;
|
|
7169
|
+
updatedAt: z.ZodString;
|
|
7170
|
+
id: z.ZodString;
|
|
7171
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
7172
|
+
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>>;
|
|
7173
|
+
name: z.ZodString;
|
|
7174
|
+
skipInvalidItem: z.ZodBoolean;
|
|
7175
|
+
skipNegativePrices: z.ZodBoolean;
|
|
7176
|
+
importTaggedItems: z.ZodBoolean;
|
|
7177
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7178
|
+
isValidMenu: z.ZodBoolean;
|
|
7179
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
7180
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
7181
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
7182
|
+
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>>]>;
|
|
7183
|
+
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>>;
|
|
7184
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
7185
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
7186
|
+
invalid_menu: "invalid_menu";
|
|
7187
|
+
}>>;
|
|
7188
|
+
syncType: z.ZodEnum<{
|
|
7189
|
+
ALL: "ALL";
|
|
7190
|
+
DELIVERY: "DELIVERY";
|
|
7191
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
7192
|
+
}>;
|
|
7193
|
+
defaultLanguage: z.ZodString;
|
|
7194
|
+
restaurantId: z.ZodString;
|
|
7195
|
+
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
7196
|
+
service: z.ZodEnum<{
|
|
7197
|
+
justeat: "justeat";
|
|
7198
|
+
}>;
|
|
7199
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
7200
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
7201
|
+
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
7202
|
+
}, z.core.$strip>;
|
|
7203
|
+
type IntegrationJustEat = z.infer<typeof integrationJustEatSchema>;
|
|
7204
|
+
declare const integrationJustEatDetailsSchema: z.ZodObject<{
|
|
7205
|
+
status: z.ZodEnum<{
|
|
7206
|
+
pending: "pending";
|
|
7207
|
+
active: "active";
|
|
7208
|
+
deleting: "deleting";
|
|
7209
|
+
}>;
|
|
7210
|
+
provider: z.ZodEnum<{
|
|
7211
|
+
deliverart: "deliverart";
|
|
7212
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
7213
|
+
}>;
|
|
7214
|
+
createdAt: z.ZodString;
|
|
7215
|
+
updatedAt: z.ZodString;
|
|
7216
|
+
id: z.ZodString;
|
|
7217
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
7218
|
+
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>>;
|
|
7219
|
+
name: z.ZodString;
|
|
7220
|
+
skipInvalidItem: z.ZodBoolean;
|
|
7221
|
+
skipNegativePrices: z.ZodBoolean;
|
|
7222
|
+
importTaggedItems: z.ZodBoolean;
|
|
7223
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7224
|
+
isValidMenu: z.ZodBoolean;
|
|
7225
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
7226
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
7227
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
7228
|
+
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>>]>;
|
|
7229
|
+
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>>;
|
|
7230
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
7231
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
7232
|
+
invalid_menu: "invalid_menu";
|
|
7233
|
+
}>>;
|
|
7234
|
+
syncType: z.ZodEnum<{
|
|
7235
|
+
ALL: "ALL";
|
|
7236
|
+
DELIVERY: "DELIVERY";
|
|
7237
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
7238
|
+
}>;
|
|
7239
|
+
defaultLanguage: z.ZodString;
|
|
7240
|
+
restaurantId: z.ZodString;
|
|
7241
|
+
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
7242
|
+
service: z.ZodEnum<{
|
|
7243
|
+
justeat: "justeat";
|
|
7244
|
+
}>;
|
|
7245
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
7246
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
7247
|
+
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
7248
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
7249
|
+
}, z.core.$strip>;
|
|
7250
|
+
type IntegrationJustEatDetails = z.infer<typeof integrationJustEatDetailsSchema>;
|
|
7251
|
+
declare const integrationJustEatEditableFieldsSchema: z.ZodObject<{
|
|
7252
|
+
restaurantId: z.ZodString;
|
|
7253
|
+
provider: z.ZodEnum<{
|
|
7254
|
+
deliverart: "deliverart";
|
|
7255
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
7256
|
+
}>;
|
|
7257
|
+
name: z.ZodString;
|
|
7258
|
+
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>>;
|
|
7259
|
+
skipInvalidItem: z.ZodBoolean;
|
|
7260
|
+
skipNegativePrices: z.ZodBoolean;
|
|
7261
|
+
importTaggedItems: z.ZodBoolean;
|
|
7262
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7263
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
7264
|
+
syncType: z.ZodEnum<{
|
|
7265
|
+
ALL: "ALL";
|
|
7266
|
+
DELIVERY: "DELIVERY";
|
|
7267
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
7268
|
+
}>;
|
|
7269
|
+
defaultLanguage: z.ZodString;
|
|
7270
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
7271
|
+
}, z.core.$strip>;
|
|
7272
|
+
type IntegrationJustEatEditableFields = z.infer<typeof integrationJustEatEditableFieldsSchema>;
|
|
7273
|
+
declare const integrationsJustEatQuerySchema: z.ZodObject<{
|
|
7274
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
7275
|
+
asc: "asc";
|
|
7276
|
+
desc: "desc";
|
|
7277
|
+
}>>;
|
|
7278
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
7279
|
+
asc: "asc";
|
|
7280
|
+
desc: "desc";
|
|
7281
|
+
}>>;
|
|
7282
|
+
'order[latestMenuCheckAt]': z.ZodOptional<z.ZodEnum<{
|
|
7283
|
+
asc: "asc";
|
|
7284
|
+
desc: "desc";
|
|
7285
|
+
}>>;
|
|
7286
|
+
'order[latestMenuSyncAt]': z.ZodOptional<z.ZodEnum<{
|
|
7287
|
+
asc: "asc";
|
|
7288
|
+
desc: "desc";
|
|
7289
|
+
}>>;
|
|
7290
|
+
'order[latestOpeningTimesSyncAt]': z.ZodOptional<z.ZodEnum<{
|
|
7291
|
+
asc: "asc";
|
|
7292
|
+
desc: "desc";
|
|
7293
|
+
}>>;
|
|
7294
|
+
'order[nextSyncMenuScheduledAt]': z.ZodOptional<z.ZodEnum<{
|
|
7295
|
+
asc: "asc";
|
|
7296
|
+
desc: "desc";
|
|
7297
|
+
}>>;
|
|
7298
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7299
|
+
restaurantId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7300
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7301
|
+
pending: "pending";
|
|
7302
|
+
active: "active";
|
|
7303
|
+
deleting: "deleting";
|
|
7304
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7305
|
+
pending: "pending";
|
|
7306
|
+
active: "active";
|
|
7307
|
+
deleting: "deleting";
|
|
7308
|
+
}>>]>>;
|
|
7309
|
+
syncType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7310
|
+
ALL: "ALL";
|
|
7311
|
+
DELIVERY: "DELIVERY";
|
|
7312
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
7313
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7314
|
+
ALL: "ALL";
|
|
7315
|
+
DELIVERY: "DELIVERY";
|
|
7316
|
+
TAKE_AWAY: "TAKE_AWAY";
|
|
7317
|
+
}>>]>>;
|
|
7318
|
+
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7319
|
+
skipInvalidItem: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
7320
|
+
isValidMenu: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
7321
|
+
'latestMenuCheckAt[before]': z.ZodOptional<z.ZodString>;
|
|
7322
|
+
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7323
|
+
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
7324
|
+
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7325
|
+
'latestMenuSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
7326
|
+
'latestMenuSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7327
|
+
'latestMenuSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
7328
|
+
'latestMenuSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7329
|
+
'latestOpeningTimesSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
7330
|
+
'latestOpeningTimesSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7331
|
+
'latestOpeningTimesSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
7332
|
+
'latestOpeningTimesSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7333
|
+
'nextSyncMenuScheduledAt[before]': z.ZodOptional<z.ZodString>;
|
|
7334
|
+
'nextSyncMenuScheduledAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7335
|
+
'nextSyncMenuScheduledAt[after]': z.ZodOptional<z.ZodString>;
|
|
7336
|
+
'nextSyncMenuScheduledAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7337
|
+
service: z.ZodOptional<z.ZodEnum<{
|
|
7338
|
+
justeat: "justeat";
|
|
7339
|
+
}>>;
|
|
7340
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7341
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
7342
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7343
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
7344
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7345
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
7346
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7347
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
7348
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7349
|
+
}, z.core.$strip>;
|
|
7350
|
+
type IntegrationsJustEatQueryParams = z.infer<typeof integrationsJustEatQuerySchema>;
|
|
7351
|
+
declare const integrationJustEatSyncMenuProcessSchema: z.ZodObject<{
|
|
7352
|
+
id: z.ZodString;
|
|
7353
|
+
ingestionSucceeded: z.ZodNullable<z.ZodBoolean>;
|
|
7354
|
+
error: z.ZodNullable<z.ZodAny>;
|
|
7355
|
+
createdAt: z.ZodString;
|
|
7356
|
+
}, z.core.$strip>;
|
|
7357
|
+
type IntegrationJustEatSyncMenuProcess = z.infer<typeof integrationJustEatSyncMenuProcessSchema>;
|
|
7358
|
+
declare const integrationJustEatSyncMenuProcessDetailsSchema: z.ZodObject<{
|
|
7359
|
+
id: z.ZodString;
|
|
7360
|
+
ingestionSucceeded: z.ZodNullable<z.ZodBoolean>;
|
|
7361
|
+
error: z.ZodNullable<z.ZodAny>;
|
|
7362
|
+
createdAt: z.ZodString;
|
|
7363
|
+
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>;
|
|
7364
|
+
}, z.core.$strip>;
|
|
7365
|
+
type IntegrationJustEatSyncMenuProcessDetails = z.infer<typeof integrationJustEatSyncMenuProcessDetailsSchema>;
|
|
7366
|
+
declare const integrationJustEatSyncMenuProcessesQuerySchema: z.ZodObject<{
|
|
7367
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
7368
|
+
asc: "asc";
|
|
7369
|
+
desc: "desc";
|
|
7370
|
+
}>>;
|
|
7371
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7372
|
+
}, z.core.$strip>;
|
|
7373
|
+
type IntegrationJustEatSyncMenuProcessesQueryParams = z.infer<typeof integrationJustEatSyncMenuProcessesQuerySchema>;
|
|
7374
|
+
|
|
7375
|
+
declare const createIntegrationCassaInCloudInputSchema: z.ZodObject<{
|
|
7376
|
+
direction: z.ZodEnum<{
|
|
7377
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7378
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7379
|
+
}>;
|
|
7380
|
+
apiKey: z.ZodString;
|
|
7381
|
+
idSalesPoint: z.ZodNumber;
|
|
7382
|
+
locale: z.ZodString;
|
|
7383
|
+
provider: z.ZodEnum<{
|
|
7384
|
+
deliverart: "deliverart";
|
|
7385
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
7386
|
+
}>;
|
|
7387
|
+
skipSyncProductDescription: z.ZodBoolean;
|
|
7388
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
7389
|
+
RISTO: "RISTO";
|
|
7390
|
+
SALE: "SALE";
|
|
7391
|
+
ECOMMERCE: "ECOMMERCE";
|
|
7392
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
7393
|
+
SELF_ORDER: "SELF_ORDER";
|
|
7394
|
+
KIOSK: "KIOSK";
|
|
7395
|
+
}>>;
|
|
7396
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
7397
|
+
}, z.core.$strip>;
|
|
7398
|
+
type CreateIntegrationCassaInCloudInput = z.input<typeof createIntegrationCassaInCloudInputSchema>;
|
|
7399
|
+
declare const createIntegrationCassaInCloudResponseSchema: z.ZodObject<{
|
|
7400
|
+
status: z.ZodEnum<{
|
|
7401
|
+
pending: "pending";
|
|
7402
|
+
active: "active";
|
|
7403
|
+
deleting: "deleting";
|
|
7404
|
+
}>;
|
|
7405
|
+
provider: z.ZodEnum<{
|
|
7406
|
+
deliverart: "deliverart";
|
|
7407
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
7408
|
+
}>;
|
|
7409
|
+
createdAt: z.ZodString;
|
|
7410
|
+
updatedAt: z.ZodString;
|
|
7411
|
+
id: z.ZodString;
|
|
7412
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
7413
|
+
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>>;
|
|
7414
|
+
errors: z.ZodArray<z.ZodString>;
|
|
7415
|
+
finalized: z.ZodBoolean;
|
|
7416
|
+
apiKey: z.ZodString;
|
|
7417
|
+
service: z.ZodEnum<{
|
|
7418
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
7419
|
+
}>;
|
|
7420
|
+
idSalesPoint: z.ZodNumber;
|
|
7421
|
+
direction: z.ZodEnum<{
|
|
7422
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7423
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7424
|
+
}>;
|
|
7425
|
+
locale: z.ZodString;
|
|
7426
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
7427
|
+
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
7428
|
+
skipSyncProductDescription: z.ZodBoolean;
|
|
7429
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
7430
|
+
RISTO: "RISTO";
|
|
7431
|
+
SALE: "SALE";
|
|
7432
|
+
ECOMMERCE: "ECOMMERCE";
|
|
7433
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
7434
|
+
SELF_ORDER: "SELF_ORDER";
|
|
7435
|
+
KIOSK: "KIOSK";
|
|
7436
|
+
}>>;
|
|
7437
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
7438
|
+
}, z.core.$strip>;
|
|
7439
|
+
type CreateIntegrationCassaInCloudResponse = IntegrationCassaInCloudDetails;
|
|
7440
|
+
declare class CreateIntegrationCassaInCloud extends AbstractApiRequest<typeof createIntegrationCassaInCloudInputSchema, typeof createIntegrationCassaInCloudResponseSchema> {
|
|
7441
|
+
readonly method = "POST";
|
|
7442
|
+
readonly contentType = "application/json";
|
|
7443
|
+
readonly accept = "application/json";
|
|
7444
|
+
readonly inputSchema: z.ZodObject<{
|
|
7445
|
+
direction: z.ZodEnum<{
|
|
7446
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7447
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7448
|
+
}>;
|
|
7449
|
+
apiKey: z.ZodString;
|
|
7450
|
+
idSalesPoint: z.ZodNumber;
|
|
7451
|
+
locale: z.ZodString;
|
|
7452
|
+
provider: z.ZodEnum<{
|
|
7453
|
+
deliverart: "deliverart";
|
|
7454
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
7455
|
+
}>;
|
|
7456
|
+
skipSyncProductDescription: z.ZodBoolean;
|
|
7457
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
7458
|
+
RISTO: "RISTO";
|
|
7459
|
+
SALE: "SALE";
|
|
7460
|
+
ECOMMERCE: "ECOMMERCE";
|
|
7461
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
7462
|
+
SELF_ORDER: "SELF_ORDER";
|
|
7463
|
+
KIOSK: "KIOSK";
|
|
7464
|
+
}>>;
|
|
7465
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
7466
|
+
}, z.core.$strip>;
|
|
7467
|
+
readonly outputSchema: z.ZodObject<{
|
|
7468
|
+
status: z.ZodEnum<{
|
|
7469
|
+
pending: "pending";
|
|
7470
|
+
active: "active";
|
|
7471
|
+
deleting: "deleting";
|
|
7472
|
+
}>;
|
|
7473
|
+
provider: z.ZodEnum<{
|
|
7474
|
+
deliverart: "deliverart";
|
|
7475
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
7476
|
+
}>;
|
|
7477
|
+
createdAt: z.ZodString;
|
|
7478
|
+
updatedAt: z.ZodString;
|
|
7479
|
+
id: z.ZodString;
|
|
7480
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
7481
|
+
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>>;
|
|
7482
|
+
errors: z.ZodArray<z.ZodString>;
|
|
7483
|
+
finalized: z.ZodBoolean;
|
|
7484
|
+
apiKey: z.ZodString;
|
|
7485
|
+
service: z.ZodEnum<{
|
|
7486
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
7487
|
+
}>;
|
|
7488
|
+
idSalesPoint: z.ZodNumber;
|
|
7489
|
+
direction: z.ZodEnum<{
|
|
7490
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7491
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7492
|
+
}>;
|
|
7493
|
+
locale: z.ZodString;
|
|
7494
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
7495
|
+
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
7496
|
+
skipSyncProductDescription: z.ZodBoolean;
|
|
7497
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
7498
|
+
RISTO: "RISTO";
|
|
7499
|
+
SALE: "SALE";
|
|
7500
|
+
ECOMMERCE: "ECOMMERCE";
|
|
7501
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
7502
|
+
SELF_ORDER: "SELF_ORDER";
|
|
7503
|
+
KIOSK: "KIOSK";
|
|
7504
|
+
}>>;
|
|
7505
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
7506
|
+
}, z.core.$strip>;
|
|
7507
|
+
readonly querySchema: undefined;
|
|
7508
|
+
readonly headersSchema: undefined;
|
|
7509
|
+
constructor(input: CreateIntegrationCassaInCloudInput);
|
|
7510
|
+
getPath(): string;
|
|
7511
|
+
}
|
|
7512
|
+
|
|
7513
|
+
declare const deleteIntegrationCassaInCloudInputSchema: z.ZodUndefined;
|
|
7514
|
+
declare const deleteIntegrationCassaInCloudResponseSchema: z.ZodUndefined;
|
|
7515
|
+
declare class DeleteIntegrationCassaInCloud extends AbstractApiRequest<typeof deleteIntegrationCassaInCloudInputSchema, typeof deleteIntegrationCassaInCloudResponseSchema> {
|
|
7516
|
+
readonly method = "DELETE";
|
|
7517
|
+
readonly contentType = "application/json";
|
|
7518
|
+
readonly accept = "application/json";
|
|
7519
|
+
readonly inputSchema: z.ZodUndefined;
|
|
7520
|
+
readonly outputSchema: z.ZodUndefined;
|
|
7521
|
+
readonly querySchema: undefined;
|
|
7522
|
+
readonly headersSchema: undefined;
|
|
7523
|
+
private readonly integrationCassaInCloudId;
|
|
7524
|
+
constructor(integrationCassaInCloudId: string);
|
|
7525
|
+
getPath(): string;
|
|
7526
|
+
}
|
|
7527
|
+
|
|
7528
|
+
declare const menuVersionSchema: z.ZodObject<{
|
|
7529
|
+
id: z.ZodString;
|
|
7530
|
+
contentUrl: z.ZodString;
|
|
7531
|
+
filePath: z.ZodString;
|
|
7532
|
+
createdAt: z.ZodString;
|
|
7533
|
+
updatedAt: z.ZodString;
|
|
7534
|
+
}, z.core.$strip>;
|
|
7535
|
+
type MenuVersion = z.infer<typeof menuVersionSchema>;
|
|
7536
|
+
declare const menuVersionDetailsSchema: z.ZodObject<{
|
|
7537
|
+
id: z.ZodString;
|
|
7538
|
+
contentUrl: z.ZodString;
|
|
7539
|
+
filePath: z.ZodString;
|
|
7540
|
+
createdAt: z.ZodString;
|
|
7541
|
+
updatedAt: z.ZodString;
|
|
7542
|
+
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7543
|
+
}, z.core.$strip>;
|
|
7544
|
+
type MenuVersionDetails = z.infer<typeof menuVersionDetailsSchema>;
|
|
7545
|
+
declare const integrationBaseSchema: z.ZodObject<{
|
|
7546
|
+
id: z.ZodString;
|
|
7547
|
+
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>>;
|
|
7548
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
7549
|
+
errors: z.ZodArray<z.ZodString>;
|
|
7550
|
+
service: z.ZodEnum<{
|
|
7551
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
7552
|
+
deliveroo: "deliveroo";
|
|
7553
|
+
justeat: "justeat";
|
|
7554
|
+
glovo: "glovo";
|
|
7555
|
+
}>;
|
|
7556
|
+
status: z.ZodEnum<{
|
|
7557
|
+
pending: "pending";
|
|
7558
|
+
active: "active";
|
|
7559
|
+
deleting: "deleting";
|
|
7560
|
+
}>;
|
|
7561
|
+
provider: z.ZodEnum<{
|
|
7562
|
+
deliverart: "deliverart";
|
|
7563
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
7564
|
+
}>;
|
|
7565
|
+
createdAt: z.ZodString;
|
|
7566
|
+
updatedAt: z.ZodString;
|
|
7567
|
+
}, z.core.$strip>;
|
|
7568
|
+
declare const writableIntegrationSchema: z.ZodObject<{
|
|
7569
|
+
status: z.ZodEnum<{
|
|
7570
|
+
pending: "pending";
|
|
7571
|
+
active: "active";
|
|
7572
|
+
deleting: "deleting";
|
|
7573
|
+
}>;
|
|
7574
|
+
provider: z.ZodEnum<{
|
|
7575
|
+
deliverart: "deliverart";
|
|
7576
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
7577
|
+
}>;
|
|
7578
|
+
}, z.core.$strip>;
|
|
7579
|
+
declare const integrationDetailsFieldsSchema: z.ZodObject<{
|
|
7580
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
7581
|
+
}, z.core.$strip>;
|
|
7582
|
+
declare const integrationDeliveryProviderCommonSchema: z.ZodObject<{
|
|
7583
|
+
name: z.ZodString;
|
|
7584
|
+
skipInvalidItem: z.ZodBoolean;
|
|
7585
|
+
skipNegativePrices: z.ZodBoolean;
|
|
7586
|
+
importTaggedItems: z.ZodBoolean;
|
|
7587
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7588
|
+
isValidMenu: z.ZodBoolean;
|
|
7589
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
7590
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
7591
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
7592
|
+
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>>]>;
|
|
7593
|
+
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>>;
|
|
7594
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
7595
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
7596
|
+
invalid_menu: "invalid_menu";
|
|
7597
|
+
}>>;
|
|
7598
|
+
}, z.core.$strip>;
|
|
7599
|
+
type IntegrationDeliveryProviderCommon = z.infer<typeof integrationDeliveryProviderCommonSchema>;
|
|
7600
|
+
declare const integrationClientLogRequestSchema: z.ZodObject<{
|
|
7601
|
+
id: z.ZodString;
|
|
7602
|
+
url: z.ZodString;
|
|
7603
|
+
method: z.ZodEnum<{
|
|
7604
|
+
DELETE: "DELETE";
|
|
7605
|
+
GET: "GET";
|
|
7606
|
+
PATCH: "PATCH";
|
|
7607
|
+
POST: "POST";
|
|
7608
|
+
PUT: "PUT";
|
|
7609
|
+
}>;
|
|
7610
|
+
statusCode: z.ZodNumber;
|
|
7611
|
+
createdAt: z.ZodString;
|
|
7612
|
+
}, z.core.$strip>;
|
|
7613
|
+
type IntegrationClientLogRequest = z.infer<typeof integrationClientLogRequestSchema>;
|
|
7614
|
+
declare const integrationClientLogRequestDetailsSchema: z.ZodObject<{
|
|
7615
|
+
id: z.ZodString;
|
|
7616
|
+
url: z.ZodString;
|
|
7617
|
+
method: z.ZodEnum<{
|
|
7618
|
+
DELETE: "DELETE";
|
|
7619
|
+
GET: "GET";
|
|
7620
|
+
PATCH: "PATCH";
|
|
7621
|
+
POST: "POST";
|
|
7622
|
+
PUT: "PUT";
|
|
7623
|
+
}>;
|
|
7624
|
+
statusCode: z.ZodNumber;
|
|
7625
|
+
createdAt: z.ZodString;
|
|
7626
|
+
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id">, unknown>>;
|
|
7627
|
+
requestHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7628
|
+
responseHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7629
|
+
requestBody: z.ZodString;
|
|
7630
|
+
responseBody: z.ZodString;
|
|
7631
|
+
}, z.core.$strip>;
|
|
7632
|
+
type IntegrationClientLogRequestDetails = z.infer<typeof integrationClientLogRequestDetailsSchema>;
|
|
6876
7633
|
declare const clientLogRequestQuerySchema: z.ZodObject<{
|
|
6877
7634
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
6878
7635
|
asc: "asc";
|
|
@@ -7810,408 +8567,146 @@ declare class IntegrationCassaInCloudSyncTimetables extends AbstractApiRequest<t
|
|
|
7810
8567
|
readonly querySchema: undefined;
|
|
7811
8568
|
readonly headersSchema: undefined;
|
|
7812
8569
|
private readonly integrationCassaInCloudId;
|
|
7813
|
-
constructor(integrationCassaInCloudId: string);
|
|
7814
|
-
getPath(): string;
|
|
7815
|
-
}
|
|
7816
|
-
|
|
7817
|
-
declare const updateIntegrationCassaInCloudInputSchema:
|
|
7818
|
-
direction:
|
|
7819
|
-
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7820
|
-
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7821
|
-
}>>>;
|
|
7822
|
-
apiKey: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
7823
|
-
idSalesPoint: zod.ZodOptional<zod.ZodOptional<zod.ZodNumber>>;
|
|
7824
|
-
locale: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
7825
|
-
provider: zod.ZodOptional<zod.ZodOptional<zod.ZodEnum<{
|
|
7826
|
-
deliverart: "deliverart";
|
|
7827
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
7828
|
-
}>>>;
|
|
7829
|
-
skipSyncProductDescription: zod.ZodOptional<zod.ZodOptional<zod.ZodBoolean>>;
|
|
7830
|
-
productChannels: zod.ZodOptional<zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
7831
|
-
RISTO: "RISTO";
|
|
7832
|
-
SALE: "SALE";
|
|
7833
|
-
ECOMMERCE: "ECOMMERCE";
|
|
7834
|
-
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
7835
|
-
SELF_ORDER: "SELF_ORDER";
|
|
7836
|
-
KIOSK: "KIOSK";
|
|
7837
|
-
}>>>>;
|
|
7838
|
-
}, zod_v4_core_schemas_cjs.$strip>;
|
|
7839
|
-
type UpdateIntegrationCassaInCloudInput = IntegrationCassaInCloudEditableFields;
|
|
7840
|
-
declare const updateIntegrationCassaInCloudResponseSchema: zod.ZodObject<{
|
|
7841
|
-
status: zod.ZodEnum<{
|
|
7842
|
-
pending: "pending";
|
|
7843
|
-
active: "active";
|
|
7844
|
-
deleting: "deleting";
|
|
7845
|
-
}>;
|
|
7846
|
-
provider: zod.ZodEnum<{
|
|
7847
|
-
deliverart: "deliverart";
|
|
7848
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
7849
|
-
}>;
|
|
7850
|
-
createdAt: zod.ZodString;
|
|
7851
|
-
updatedAt: zod.ZodString;
|
|
7852
|
-
id: zod.ZodString;
|
|
7853
|
-
connectionId: zod.ZodNullable<zod.ZodString>;
|
|
7854
|
-
cancellationRequest: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
7855
|
-
errors: zod.ZodArray<zod.ZodString>;
|
|
7856
|
-
finalized: zod.ZodBoolean;
|
|
7857
|
-
apiKey: zod.ZodString;
|
|
7858
|
-
service: zod.ZodEnum<{
|
|
7859
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
7860
|
-
}>;
|
|
7861
|
-
idSalesPoint: zod.ZodNumber;
|
|
7862
|
-
direction: zod.ZodEnum<{
|
|
7863
|
-
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7864
|
-
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7865
|
-
}>;
|
|
7866
|
-
locale: zod.ZodString;
|
|
7867
|
-
latestMenuSyncAt: zod.ZodNullable<zod.ZodString>;
|
|
7868
|
-
defaultCustomerId: zod.ZodNullable<zod.ZodString>;
|
|
7869
|
-
skipSyncProductDescription: zod.ZodBoolean;
|
|
7870
|
-
productChannels: zod.ZodArray<zod.ZodEnum<{
|
|
7871
|
-
RISTO: "RISTO";
|
|
7872
|
-
SALE: "SALE";
|
|
7873
|
-
ECOMMERCE: "ECOMMERCE";
|
|
7874
|
-
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
7875
|
-
SELF_ORDER: "SELF_ORDER";
|
|
7876
|
-
KIOSK: "KIOSK";
|
|
7877
|
-
}>>;
|
|
7878
|
-
pointOfSale: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
7879
|
-
}, zod_v4_core_schemas_cjs.$strip>;
|
|
7880
|
-
type UpdateIntegrationCassaInCloudResponse = IntegrationCassaInCloudDetails;
|
|
7881
|
-
declare class UpdateIntegrationCassaInCloud extends AbstractApiRequest<typeof updateIntegrationCassaInCloudInputSchema, typeof updateIntegrationCassaInCloudResponseSchema> {
|
|
7882
|
-
readonly method = "PATCH";
|
|
7883
|
-
readonly contentType = "application/merge-patch+json";
|
|
7884
|
-
readonly accept = "application/json";
|
|
7885
|
-
readonly inputSchema: zod.ZodObject<{
|
|
7886
|
-
direction: zod.ZodOptional<zod.ZodOptional<zod.ZodEnum<{
|
|
7887
|
-
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7888
|
-
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7889
|
-
}>>>;
|
|
7890
|
-
apiKey: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
7891
|
-
idSalesPoint: zod.ZodOptional<zod.ZodOptional<zod.ZodNumber>>;
|
|
7892
|
-
locale: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
7893
|
-
provider: zod.ZodOptional<zod.ZodOptional<zod.ZodEnum<{
|
|
7894
|
-
deliverart: "deliverart";
|
|
7895
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
7896
|
-
}>>>;
|
|
7897
|
-
skipSyncProductDescription: zod.ZodOptional<zod.ZodOptional<zod.ZodBoolean>>;
|
|
7898
|
-
productChannels: zod.ZodOptional<zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
7899
|
-
RISTO: "RISTO";
|
|
7900
|
-
SALE: "SALE";
|
|
7901
|
-
ECOMMERCE: "ECOMMERCE";
|
|
7902
|
-
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
7903
|
-
SELF_ORDER: "SELF_ORDER";
|
|
7904
|
-
KIOSK: "KIOSK";
|
|
7905
|
-
}>>>>;
|
|
7906
|
-
}, zod_v4_core_schemas_cjs.$strip>;
|
|
7907
|
-
readonly outputSchema: zod.ZodObject<{
|
|
7908
|
-
status: zod.ZodEnum<{
|
|
7909
|
-
pending: "pending";
|
|
7910
|
-
active: "active";
|
|
7911
|
-
deleting: "deleting";
|
|
7912
|
-
}>;
|
|
7913
|
-
provider: zod.ZodEnum<{
|
|
7914
|
-
deliverart: "deliverart";
|
|
7915
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
7916
|
-
}>;
|
|
7917
|
-
createdAt: zod.ZodString;
|
|
7918
|
-
updatedAt: zod.ZodString;
|
|
7919
|
-
id: zod.ZodString;
|
|
7920
|
-
connectionId: zod.ZodNullable<zod.ZodString>;
|
|
7921
|
-
cancellationRequest: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
7922
|
-
errors: zod.ZodArray<zod.ZodString>;
|
|
7923
|
-
finalized: zod.ZodBoolean;
|
|
7924
|
-
apiKey: zod.ZodString;
|
|
7925
|
-
service: zod.ZodEnum<{
|
|
7926
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
7927
|
-
}>;
|
|
7928
|
-
idSalesPoint: zod.ZodNumber;
|
|
7929
|
-
direction: zod.ZodEnum<{
|
|
7930
|
-
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
7931
|
-
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
7932
|
-
}>;
|
|
7933
|
-
locale: zod.ZodString;
|
|
7934
|
-
latestMenuSyncAt: zod.ZodNullable<zod.ZodString>;
|
|
7935
|
-
defaultCustomerId: zod.ZodNullable<zod.ZodString>;
|
|
7936
|
-
skipSyncProductDescription: zod.ZodBoolean;
|
|
7937
|
-
productChannels: zod.ZodArray<zod.ZodEnum<{
|
|
7938
|
-
RISTO: "RISTO";
|
|
7939
|
-
SALE: "SALE";
|
|
7940
|
-
ECOMMERCE: "ECOMMERCE";
|
|
7941
|
-
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
7942
|
-
SELF_ORDER: "SELF_ORDER";
|
|
7943
|
-
KIOSK: "KIOSK";
|
|
7944
|
-
}>>;
|
|
7945
|
-
pointOfSale: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
7946
|
-
}, zod_v4_core_schemas_cjs.$strip>;
|
|
7947
|
-
readonly querySchema: undefined;
|
|
7948
|
-
readonly headersSchema: undefined;
|
|
7949
|
-
private readonly integrationCassaInCloudId;
|
|
7950
|
-
constructor(integrationCassaInCloudId: string, input: UpdateIntegrationCassaInCloudInput);
|
|
7951
|
-
getPath(): string;
|
|
7952
|
-
}
|
|
7953
|
-
|
|
7954
|
-
declare const integrationDeliverooSchema: z.ZodObject<{
|
|
7955
|
-
status: z.ZodEnum<{
|
|
7956
|
-
pending: "pending";
|
|
7957
|
-
active: "active";
|
|
7958
|
-
deleting: "deleting";
|
|
7959
|
-
}>;
|
|
7960
|
-
provider: z.ZodEnum<{
|
|
7961
|
-
deliverart: "deliverart";
|
|
7962
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
7963
|
-
}>;
|
|
7964
|
-
createdAt: z.ZodString;
|
|
7965
|
-
updatedAt: z.ZodString;
|
|
7966
|
-
id: z.ZodString;
|
|
7967
|
-
connectionId: z.ZodNullable<z.ZodString>;
|
|
7968
|
-
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>>;
|
|
7969
|
-
name: z.ZodString;
|
|
7970
|
-
skipInvalidItem: z.ZodBoolean;
|
|
7971
|
-
skipNegativePrices: z.ZodBoolean;
|
|
7972
|
-
importTaggedItems: z.ZodBoolean;
|
|
7973
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7974
|
-
isValidMenu: z.ZodBoolean;
|
|
7975
|
-
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
7976
|
-
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
7977
|
-
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
7978
|
-
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>>]>;
|
|
7979
|
-
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>>;
|
|
7980
|
-
errors: z.ZodArray<z.ZodEnum<{
|
|
7981
|
-
latest_menu_sync_error: "latest_menu_sync_error";
|
|
7982
|
-
invalid_menu: "invalid_menu";
|
|
7983
|
-
}>>;
|
|
7984
|
-
brandId: z.ZodString;
|
|
7985
|
-
siteId: z.ZodString;
|
|
7986
|
-
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>>;
|
|
7987
|
-
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
7988
|
-
service: z.ZodEnum<{
|
|
7989
|
-
deliveroo: "deliveroo";
|
|
7990
|
-
}>;
|
|
7991
|
-
acceptanceTimeout: z.ZodNumber;
|
|
7992
|
-
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
7993
|
-
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
7994
|
-
}, z.core.$strip>;
|
|
7995
|
-
type IntegrationDeliveroo = z.infer<typeof integrationDeliverooSchema>;
|
|
7996
|
-
declare const integrationDeliverooDetailsSchema: z.ZodObject<{
|
|
7997
|
-
status: z.ZodEnum<{
|
|
7998
|
-
pending: "pending";
|
|
7999
|
-
active: "active";
|
|
8000
|
-
deleting: "deleting";
|
|
8001
|
-
}>;
|
|
8002
|
-
provider: z.ZodEnum<{
|
|
8003
|
-
deliverart: "deliverart";
|
|
8004
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
8005
|
-
}>;
|
|
8006
|
-
createdAt: z.ZodString;
|
|
8007
|
-
updatedAt: z.ZodString;
|
|
8008
|
-
id: z.ZodString;
|
|
8009
|
-
connectionId: z.ZodNullable<z.ZodString>;
|
|
8010
|
-
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>>;
|
|
8011
|
-
name: z.ZodString;
|
|
8012
|
-
skipInvalidItem: z.ZodBoolean;
|
|
8013
|
-
skipNegativePrices: z.ZodBoolean;
|
|
8014
|
-
importTaggedItems: z.ZodBoolean;
|
|
8015
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8016
|
-
isValidMenu: z.ZodBoolean;
|
|
8017
|
-
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
8018
|
-
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
8019
|
-
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
8020
|
-
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>>]>;
|
|
8021
|
-
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>>;
|
|
8022
|
-
errors: z.ZodArray<z.ZodEnum<{
|
|
8023
|
-
latest_menu_sync_error: "latest_menu_sync_error";
|
|
8024
|
-
invalid_menu: "invalid_menu";
|
|
8025
|
-
}>>;
|
|
8026
|
-
brandId: z.ZodString;
|
|
8027
|
-
siteId: z.ZodString;
|
|
8028
|
-
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>>;
|
|
8029
|
-
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
8030
|
-
service: z.ZodEnum<{
|
|
8031
|
-
deliveroo: "deliveroo";
|
|
8032
|
-
}>;
|
|
8033
|
-
acceptanceTimeout: z.ZodNumber;
|
|
8034
|
-
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
8035
|
-
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
8036
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
8037
|
-
}, z.core.$strip>;
|
|
8038
|
-
type IntegrationDeliverooDetails = z.infer<typeof integrationDeliverooDetailsSchema>;
|
|
8039
|
-
declare const integrationDeliverooEditableFieldsSchema: z.ZodObject<{
|
|
8040
|
-
brandId: z.ZodString;
|
|
8041
|
-
siteId: z.ZodString;
|
|
8042
|
-
provider: z.ZodEnum<{
|
|
8043
|
-
deliverart: "deliverart";
|
|
8044
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
8045
|
-
}>;
|
|
8046
|
-
name: z.ZodString;
|
|
8047
|
-
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>>;
|
|
8048
|
-
skipInvalidItem: z.ZodBoolean;
|
|
8049
|
-
skipNegativePrices: z.ZodBoolean;
|
|
8050
|
-
importTaggedItems: z.ZodBoolean;
|
|
8051
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8052
|
-
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
8053
|
-
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>>;
|
|
8054
|
-
acceptanceTimeout: z.ZodNumber;
|
|
8055
|
-
}, z.core.$strip>;
|
|
8056
|
-
type IntegrationDeliverooEditableFields = z.infer<typeof integrationDeliverooEditableFieldsSchema>;
|
|
8057
|
-
declare const integrationsDeliverooQuerySchema: z.ZodObject<{
|
|
8058
|
-
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
8059
|
-
asc: "asc";
|
|
8060
|
-
desc: "desc";
|
|
8061
|
-
}>>;
|
|
8062
|
-
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
8063
|
-
asc: "asc";
|
|
8064
|
-
desc: "desc";
|
|
8065
|
-
}>>;
|
|
8066
|
-
'order[latestMenuCheckAt]': z.ZodOptional<z.ZodEnum<{
|
|
8067
|
-
asc: "asc";
|
|
8068
|
-
desc: "desc";
|
|
8069
|
-
}>>;
|
|
8070
|
-
'order[latestMenuSyncAt]': z.ZodOptional<z.ZodEnum<{
|
|
8071
|
-
asc: "asc";
|
|
8072
|
-
desc: "desc";
|
|
8073
|
-
}>>;
|
|
8074
|
-
'order[latestOpeningHoursSyncAt]': z.ZodOptional<z.ZodEnum<{
|
|
8075
|
-
asc: "asc";
|
|
8076
|
-
desc: "desc";
|
|
8077
|
-
}>>;
|
|
8078
|
-
name: z.ZodOptional<z.ZodString>;
|
|
8079
|
-
brandId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
8080
|
-
siteId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
8081
|
-
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8082
|
-
pending: "pending";
|
|
8083
|
-
active: "active";
|
|
8084
|
-
deleting: "deleting";
|
|
8085
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
8086
|
-
pending: "pending";
|
|
8087
|
-
active: "active";
|
|
8088
|
-
deleting: "deleting";
|
|
8089
|
-
}>>]>>;
|
|
8090
|
-
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
8091
|
-
skipInvalidItem: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
8092
|
-
isValidMenu: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
8093
|
-
'latestMenuCheckAt[before]': z.ZodOptional<z.ZodString>;
|
|
8094
|
-
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
8095
|
-
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
8096
|
-
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
8097
|
-
'latestMenuSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
8098
|
-
'latestMenuSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
8099
|
-
'latestMenuSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
8100
|
-
'latestMenuSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
8101
|
-
'latestOpeningHoursSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
8102
|
-
'latestOpeningHoursSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
8103
|
-
'latestOpeningHoursSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
8104
|
-
'latestOpeningHoursSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
8105
|
-
service: z.ZodOptional<z.ZodEnum<{
|
|
8106
|
-
deliveroo: "deliveroo";
|
|
8107
|
-
}>>;
|
|
8108
|
-
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8109
|
-
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
8110
|
-
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
8111
|
-
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
8112
|
-
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
8113
|
-
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
8114
|
-
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
8115
|
-
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
8116
|
-
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
8117
|
-
}, z.core.$strip>;
|
|
8118
|
-
type IntegrationsDeliverooQueryParams = z.infer<typeof integrationsDeliverooQuerySchema>;
|
|
8119
|
-
declare const integrationDeliverooSyncMenuProcessSchema: z.ZodObject<{
|
|
8120
|
-
id: z.ZodString;
|
|
8121
|
-
mode: z.ZodEnum<{
|
|
8122
|
-
menu: "menu";
|
|
8123
|
-
item_availabilities: "item_availabilities";
|
|
8124
|
-
}>;
|
|
8125
|
-
success: z.ZodNullable<z.ZodBoolean>;
|
|
8126
|
-
response: z.ZodNullable<z.ZodString>;
|
|
8127
|
-
createdAt: z.ZodString;
|
|
8128
|
-
endAt: z.ZodNullable<z.ZodString>;
|
|
8129
|
-
}, z.core.$strip>;
|
|
8130
|
-
type IntegrationDeliverooSyncMenuProcess = z.infer<typeof integrationDeliverooSyncMenuProcessSchema>;
|
|
8131
|
-
declare const integrationDeliverooSyncMenuProcessDetailsSchema: z.ZodObject<{
|
|
8132
|
-
id: z.ZodString;
|
|
8133
|
-
mode: z.ZodEnum<{
|
|
8134
|
-
menu: "menu";
|
|
8135
|
-
item_availabilities: "item_availabilities";
|
|
8570
|
+
constructor(integrationCassaInCloudId: string);
|
|
8571
|
+
getPath(): string;
|
|
8572
|
+
}
|
|
8573
|
+
|
|
8574
|
+
declare const updateIntegrationCassaInCloudInputSchema: z.ZodObject<{
|
|
8575
|
+
direction: z.ZodEnum<{
|
|
8576
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
8577
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
8136
8578
|
}>;
|
|
8137
|
-
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8147
|
-
|
|
8579
|
+
apiKey: z.ZodString;
|
|
8580
|
+
idSalesPoint: z.ZodNumber;
|
|
8581
|
+
locale: z.ZodString;
|
|
8582
|
+
provider: z.ZodEnum<{
|
|
8583
|
+
deliverart: "deliverart";
|
|
8584
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
8585
|
+
}>;
|
|
8586
|
+
skipSyncProductDescription: z.ZodBoolean;
|
|
8587
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
8588
|
+
RISTO: "RISTO";
|
|
8589
|
+
SALE: "SALE";
|
|
8590
|
+
ECOMMERCE: "ECOMMERCE";
|
|
8591
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
8592
|
+
SELF_ORDER: "SELF_ORDER";
|
|
8593
|
+
KIOSK: "KIOSK";
|
|
8148
8594
|
}>>;
|
|
8149
|
-
mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8150
|
-
menu: "menu";
|
|
8151
|
-
item_availabilities: "item_availabilities";
|
|
8152
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
8153
|
-
menu: "menu";
|
|
8154
|
-
item_availabilities: "item_availabilities";
|
|
8155
|
-
}>>]>>;
|
|
8156
|
-
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
8157
|
-
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
8158
|
-
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
8159
|
-
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
8160
|
-
'endAt[before]': z.ZodOptional<z.ZodString>;
|
|
8161
|
-
'endAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
8162
|
-
'endAt[after]': z.ZodOptional<z.ZodString>;
|
|
8163
|
-
'endAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
8164
|
-
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8165
8595
|
}, z.core.$strip>;
|
|
8166
|
-
type
|
|
8167
|
-
declare const
|
|
8168
|
-
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
|
|
8173
|
-
|
|
8596
|
+
type UpdateIntegrationCassaInCloudInput = z.input<typeof updateIntegrationCassaInCloudInputSchema>;
|
|
8597
|
+
declare const updateIntegrationCassaInCloudResponseSchema: z.ZodObject<{
|
|
8598
|
+
status: z.ZodEnum<{
|
|
8599
|
+
pending: "pending";
|
|
8600
|
+
active: "active";
|
|
8601
|
+
deleting: "deleting";
|
|
8602
|
+
}>;
|
|
8603
|
+
provider: z.ZodEnum<{
|
|
8604
|
+
deliverart: "deliverart";
|
|
8605
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
8174
8606
|
}>;
|
|
8175
|
-
body: z.ZodAny;
|
|
8176
8607
|
createdAt: z.ZodString;
|
|
8177
|
-
|
|
8178
|
-
type IntegrationDeliverooWebhookEvent = z.infer<typeof integrationDeliverooWebhookEventSchema>;
|
|
8179
|
-
declare const integrationDeliverooWebhookEventDetailsSchema: z.ZodObject<{
|
|
8608
|
+
updatedAt: z.ZodString;
|
|
8180
8609
|
id: z.ZodString;
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
|
|
8184
|
-
|
|
8185
|
-
|
|
8610
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
8611
|
+
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>>;
|
|
8612
|
+
errors: z.ZodArray<z.ZodString>;
|
|
8613
|
+
finalized: z.ZodBoolean;
|
|
8614
|
+
apiKey: z.ZodString;
|
|
8615
|
+
service: z.ZodEnum<{
|
|
8616
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
8186
8617
|
}>;
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
|
|
8191
|
-
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
|
|
8618
|
+
idSalesPoint: z.ZodNumber;
|
|
8619
|
+
direction: z.ZodEnum<{
|
|
8620
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
8621
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
8622
|
+
}>;
|
|
8623
|
+
locale: z.ZodString;
|
|
8624
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
8625
|
+
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
8626
|
+
skipSyncProductDescription: z.ZodBoolean;
|
|
8627
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
8628
|
+
RISTO: "RISTO";
|
|
8629
|
+
SALE: "SALE";
|
|
8630
|
+
ECOMMERCE: "ECOMMERCE";
|
|
8631
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
8632
|
+
SELF_ORDER: "SELF_ORDER";
|
|
8633
|
+
KIOSK: "KIOSK";
|
|
8196
8634
|
}>>;
|
|
8197
|
-
|
|
8198
|
-
"order.new": "order.new";
|
|
8199
|
-
"order.status_update": "order.status_update";
|
|
8200
|
-
"rider.status_update": "rider.status_update";
|
|
8201
|
-
"menu.upload_result": "menu.upload_result";
|
|
8202
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
8203
|
-
"order.new": "order.new";
|
|
8204
|
-
"order.status_update": "order.status_update";
|
|
8205
|
-
"rider.status_update": "rider.status_update";
|
|
8206
|
-
"menu.upload_result": "menu.upload_result";
|
|
8207
|
-
}>>]>>;
|
|
8208
|
-
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
8209
|
-
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
8210
|
-
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
8211
|
-
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
8212
|
-
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8635
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
8213
8636
|
}, z.core.$strip>;
|
|
8214
|
-
type
|
|
8637
|
+
type UpdateIntegrationCassaInCloudResponse = z.infer<typeof updateIntegrationCassaInCloudResponseSchema>;
|
|
8638
|
+
declare class UpdateIntegrationCassaInCloud extends AbstractApiRequest<typeof updateIntegrationCassaInCloudInputSchema, typeof updateIntegrationCassaInCloudResponseSchema> {
|
|
8639
|
+
readonly method = "PATCH";
|
|
8640
|
+
readonly contentType = "application/merge-patch+json";
|
|
8641
|
+
readonly accept = "application/json";
|
|
8642
|
+
readonly inputSchema: z.ZodObject<{
|
|
8643
|
+
direction: z.ZodEnum<{
|
|
8644
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
8645
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
8646
|
+
}>;
|
|
8647
|
+
apiKey: z.ZodString;
|
|
8648
|
+
idSalesPoint: z.ZodNumber;
|
|
8649
|
+
locale: z.ZodString;
|
|
8650
|
+
provider: z.ZodEnum<{
|
|
8651
|
+
deliverart: "deliverart";
|
|
8652
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
8653
|
+
}>;
|
|
8654
|
+
skipSyncProductDescription: z.ZodBoolean;
|
|
8655
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
8656
|
+
RISTO: "RISTO";
|
|
8657
|
+
SALE: "SALE";
|
|
8658
|
+
ECOMMERCE: "ECOMMERCE";
|
|
8659
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
8660
|
+
SELF_ORDER: "SELF_ORDER";
|
|
8661
|
+
KIOSK: "KIOSK";
|
|
8662
|
+
}>>;
|
|
8663
|
+
}, z.core.$strip>;
|
|
8664
|
+
readonly outputSchema: z.ZodObject<{
|
|
8665
|
+
status: z.ZodEnum<{
|
|
8666
|
+
pending: "pending";
|
|
8667
|
+
active: "active";
|
|
8668
|
+
deleting: "deleting";
|
|
8669
|
+
}>;
|
|
8670
|
+
provider: z.ZodEnum<{
|
|
8671
|
+
deliverart: "deliverart";
|
|
8672
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
8673
|
+
}>;
|
|
8674
|
+
createdAt: z.ZodString;
|
|
8675
|
+
updatedAt: z.ZodString;
|
|
8676
|
+
id: z.ZodString;
|
|
8677
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
8678
|
+
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>>;
|
|
8679
|
+
errors: z.ZodArray<z.ZodString>;
|
|
8680
|
+
finalized: z.ZodBoolean;
|
|
8681
|
+
apiKey: z.ZodString;
|
|
8682
|
+
service: z.ZodEnum<{
|
|
8683
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
8684
|
+
}>;
|
|
8685
|
+
idSalesPoint: z.ZodNumber;
|
|
8686
|
+
direction: z.ZodEnum<{
|
|
8687
|
+
EXTERNAL_TO_INTERNAL: "EXTERNAL_TO_INTERNAL";
|
|
8688
|
+
INTERNAL_TO_EXTERNAL: "INTERNAL_TO_EXTERNAL";
|
|
8689
|
+
}>;
|
|
8690
|
+
locale: z.ZodString;
|
|
8691
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
8692
|
+
defaultCustomerId: z.ZodNullable<z.ZodString>;
|
|
8693
|
+
skipSyncProductDescription: z.ZodBoolean;
|
|
8694
|
+
productChannels: z.ZodArray<z.ZodEnum<{
|
|
8695
|
+
RISTO: "RISTO";
|
|
8696
|
+
SALE: "SALE";
|
|
8697
|
+
ECOMMERCE: "ECOMMERCE";
|
|
8698
|
+
MOBILE_COMMERCE: "MOBILE_COMMERCE";
|
|
8699
|
+
SELF_ORDER: "SELF_ORDER";
|
|
8700
|
+
KIOSK: "KIOSK";
|
|
8701
|
+
}>>;
|
|
8702
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
8703
|
+
}, z.core.$strip>;
|
|
8704
|
+
readonly querySchema: undefined;
|
|
8705
|
+
readonly headersSchema: undefined;
|
|
8706
|
+
private readonly integrationCassaInCloudId;
|
|
8707
|
+
constructor(integrationCassaInCloudId: string, input: UpdateIntegrationCassaInCloudInput);
|
|
8708
|
+
getPath(): string;
|
|
8709
|
+
}
|
|
8215
8710
|
|
|
8216
8711
|
declare const createIntegrationDeliverooInputSchema: z.ZodObject<{
|
|
8217
8712
|
brandId: z.ZodString;
|
|
@@ -8274,7 +8769,7 @@ declare const createIntegrationDeliverooResponseSchema: z.ZodObject<{
|
|
|
8274
8769
|
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
8275
8770
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
8276
8771
|
}, z.core.$strip>;
|
|
8277
|
-
type CreateIntegrationDeliverooResponse =
|
|
8772
|
+
type CreateIntegrationDeliverooResponse = z.infer<typeof createIntegrationDeliverooResponseSchema>;
|
|
8278
8773
|
declare class CreateIntegrationDeliveroo extends AbstractApiRequest<typeof createIntegrationDeliverooInputSchema, typeof createIntegrationDeliverooResponseSchema> {
|
|
8279
8774
|
readonly method = "POST";
|
|
8280
8775
|
readonly contentType = "application/json";
|
|
@@ -9237,145 +9732,25 @@ declare class IntegrationDeliverooSyncOpeningHours extends AbstractApiRequest<ty
|
|
|
9237
9732
|
getPath(): string;
|
|
9238
9733
|
}
|
|
9239
9734
|
|
|
9240
|
-
declare const updateIntegrationDeliverooInputSchema:
|
|
9241
|
-
brandId:
|
|
9242
|
-
siteId:
|
|
9243
|
-
provider:
|
|
9244
|
-
deliverart: "deliverart";
|
|
9245
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
9246
|
-
}>>;
|
|
9247
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
9248
|
-
salesMode: zod.ZodOptional<zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>>;
|
|
9249
|
-
skipInvalidItem: zod.ZodOptional<zod.ZodBoolean>;
|
|
9250
|
-
skipNegativePrices: zod.ZodOptional<zod.ZodBoolean>;
|
|
9251
|
-
importTaggedItems: zod.ZodOptional<zod.ZodBoolean>;
|
|
9252
|
-
tagsForImport: zod.ZodOptional<zod.ZodOptional<zod.ZodArray<zod.ZodString>>>;
|
|
9253
|
-
storeUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodURL>>;
|
|
9254
|
-
cover: zod.ZodOptional<zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>>;
|
|
9255
|
-
acceptanceTimeout: zod.ZodOptional<zod.ZodNumber>;
|
|
9256
|
-
}, zod_v4_core_schemas_cjs.$strip>;
|
|
9257
|
-
type UpdateIntegrationDeliverooInput = IntegrationDeliverooEditableFields;
|
|
9258
|
-
declare const updateIntegrationDeliverooResponseSchema: zod.ZodObject<{
|
|
9259
|
-
status: zod.ZodEnum<{
|
|
9260
|
-
pending: "pending";
|
|
9261
|
-
active: "active";
|
|
9262
|
-
deleting: "deleting";
|
|
9263
|
-
}>;
|
|
9264
|
-
provider: zod.ZodEnum<{
|
|
9735
|
+
declare const updateIntegrationDeliverooInputSchema: z.ZodObject<{
|
|
9736
|
+
brandId: z.ZodString;
|
|
9737
|
+
siteId: z.ZodString;
|
|
9738
|
+
provider: z.ZodEnum<{
|
|
9265
9739
|
deliverart: "deliverart";
|
|
9266
9740
|
cassa_in_cloud: "cassa_in_cloud";
|
|
9267
9741
|
}>;
|
|
9268
|
-
|
|
9269
|
-
|
|
9270
|
-
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
|
|
9275
|
-
|
|
9276
|
-
|
|
9277
|
-
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
latestMenuSyncAt: zod.ZodNullable<zod.ZodString>;
|
|
9281
|
-
latestMenuCheckAt: zod.ZodNullable<zod.ZodString>;
|
|
9282
|
-
currentMenuVersion: zod.ZodUnion<readonly [zod.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, zod_v4_core_schemas_cjs.$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>>, zod.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, zod_v4_core_schemas_cjs.$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>>, zod.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, zod_v4_core_schemas_cjs.$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>>]>;
|
|
9283
|
-
salesMode: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
9284
|
-
errors: zod.ZodArray<zod.ZodEnum<{
|
|
9285
|
-
latest_menu_sync_error: "latest_menu_sync_error";
|
|
9286
|
-
invalid_menu: "invalid_menu";
|
|
9287
|
-
}>>;
|
|
9288
|
-
brandId: zod.ZodString;
|
|
9289
|
-
siteId: zod.ZodString;
|
|
9290
|
-
cover: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>;
|
|
9291
|
-
latestOpeningHoursSyncAt: zod.ZodNullable<zod.ZodString>;
|
|
9292
|
-
service: zod.ZodEnum<{
|
|
9293
|
-
deliveroo: "deliveroo";
|
|
9294
|
-
}>;
|
|
9295
|
-
acceptanceTimeout: zod.ZodNumber;
|
|
9296
|
-
nextSyncMenuScheduledAt: zod.ZodNullable<zod.ZodString>;
|
|
9297
|
-
currentMenuVersionSyncAttempts: zod.ZodNumber;
|
|
9298
|
-
pointOfSale: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
9299
|
-
}, zod_v4_core_schemas_cjs.$strip>;
|
|
9300
|
-
type UpdateIntegrationDeliverooResponse = IntegrationDeliverooDetails;
|
|
9301
|
-
declare class UpdateIntegrationDeliveroo extends AbstractApiRequest<typeof updateIntegrationDeliverooInputSchema, typeof updateIntegrationDeliverooResponseSchema> {
|
|
9302
|
-
readonly method = "PATCH";
|
|
9303
|
-
readonly contentType = "application/merge-patch+json";
|
|
9304
|
-
readonly accept = "application/json";
|
|
9305
|
-
readonly inputSchema: zod.ZodObject<{
|
|
9306
|
-
brandId: zod.ZodOptional<zod.ZodString>;
|
|
9307
|
-
siteId: zod.ZodOptional<zod.ZodString>;
|
|
9308
|
-
provider: zod.ZodOptional<zod.ZodEnum<{
|
|
9309
|
-
deliverart: "deliverart";
|
|
9310
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
9311
|
-
}>>;
|
|
9312
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
9313
|
-
salesMode: zod.ZodOptional<zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>>;
|
|
9314
|
-
skipInvalidItem: zod.ZodOptional<zod.ZodBoolean>;
|
|
9315
|
-
skipNegativePrices: zod.ZodOptional<zod.ZodBoolean>;
|
|
9316
|
-
importTaggedItems: zod.ZodOptional<zod.ZodBoolean>;
|
|
9317
|
-
tagsForImport: zod.ZodOptional<zod.ZodOptional<zod.ZodArray<zod.ZodString>>>;
|
|
9318
|
-
storeUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodURL>>;
|
|
9319
|
-
cover: zod.ZodOptional<zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>>;
|
|
9320
|
-
acceptanceTimeout: zod.ZodOptional<zod.ZodNumber>;
|
|
9321
|
-
}, zod_v4_core_schemas_cjs.$strip>;
|
|
9322
|
-
readonly outputSchema: zod.ZodObject<{
|
|
9323
|
-
status: zod.ZodEnum<{
|
|
9324
|
-
pending: "pending";
|
|
9325
|
-
active: "active";
|
|
9326
|
-
deleting: "deleting";
|
|
9327
|
-
}>;
|
|
9328
|
-
provider: zod.ZodEnum<{
|
|
9329
|
-
deliverart: "deliverart";
|
|
9330
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
9331
|
-
}>;
|
|
9332
|
-
createdAt: zod.ZodString;
|
|
9333
|
-
updatedAt: zod.ZodString;
|
|
9334
|
-
id: zod.ZodString;
|
|
9335
|
-
connectionId: zod.ZodNullable<zod.ZodString>;
|
|
9336
|
-
cancellationRequest: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
9337
|
-
name: zod.ZodString;
|
|
9338
|
-
skipInvalidItem: zod.ZodBoolean;
|
|
9339
|
-
skipNegativePrices: zod.ZodBoolean;
|
|
9340
|
-
importTaggedItems: zod.ZodBoolean;
|
|
9341
|
-
tagsForImport: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
9342
|
-
isValidMenu: zod.ZodBoolean;
|
|
9343
|
-
storeUrl: zod.ZodNullable<zod.ZodURL>;
|
|
9344
|
-
latestMenuSyncAt: zod.ZodNullable<zod.ZodString>;
|
|
9345
|
-
latestMenuCheckAt: zod.ZodNullable<zod.ZodString>;
|
|
9346
|
-
currentMenuVersion: zod.ZodUnion<readonly [zod.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, zod_v4_core_schemas_cjs.$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>>, zod.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, zod_v4_core_schemas_cjs.$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>>, zod.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, zod_v4_core_schemas_cjs.$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>>]>;
|
|
9347
|
-
salesMode: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
9348
|
-
errors: zod.ZodArray<zod.ZodEnum<{
|
|
9349
|
-
latest_menu_sync_error: "latest_menu_sync_error";
|
|
9350
|
-
invalid_menu: "invalid_menu";
|
|
9351
|
-
}>>;
|
|
9352
|
-
brandId: zod.ZodString;
|
|
9353
|
-
siteId: zod.ZodString;
|
|
9354
|
-
cover: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>;
|
|
9355
|
-
latestOpeningHoursSyncAt: zod.ZodNullable<zod.ZodString>;
|
|
9356
|
-
service: zod.ZodEnum<{
|
|
9357
|
-
deliveroo: "deliveroo";
|
|
9358
|
-
}>;
|
|
9359
|
-
acceptanceTimeout: zod.ZodNumber;
|
|
9360
|
-
nextSyncMenuScheduledAt: zod.ZodNullable<zod.ZodString>;
|
|
9361
|
-
currentMenuVersionSyncAttempts: zod.ZodNumber;
|
|
9362
|
-
pointOfSale: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
9363
|
-
}, zod_v4_core_schemas_cjs.$strip>;
|
|
9364
|
-
readonly querySchema: undefined;
|
|
9365
|
-
readonly headersSchema: undefined;
|
|
9366
|
-
private readonly integrationDeliverooId;
|
|
9367
|
-
constructor(integrationDeliverooId: string, input: UpdateIntegrationDeliverooInput);
|
|
9368
|
-
getPath(): string;
|
|
9369
|
-
}
|
|
9370
|
-
|
|
9371
|
-
declare const updateIntegrationDeliverooSiteStatusInputSchema: z.ZodObject<{
|
|
9372
|
-
status: z.ZodEnum<{
|
|
9373
|
-
OPEN: "OPEN";
|
|
9374
|
-
CLOSED: "CLOSED";
|
|
9375
|
-
}>;
|
|
9376
|
-
}, z.core.$strip>;
|
|
9377
|
-
type UpdateIntegrationDeliverooSiteStatusInput = z.input<typeof updateIntegrationDeliverooSiteStatusInputSchema>;
|
|
9378
|
-
declare const updateIntegrationDeliverooSiteStatusResponseSchema: z.ZodObject<{
|
|
9742
|
+
name: z.ZodString;
|
|
9743
|
+
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>>;
|
|
9744
|
+
skipInvalidItem: z.ZodBoolean;
|
|
9745
|
+
skipNegativePrices: z.ZodBoolean;
|
|
9746
|
+
importTaggedItems: z.ZodBoolean;
|
|
9747
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9748
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
9749
|
+
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>>;
|
|
9750
|
+
acceptanceTimeout: z.ZodNumber;
|
|
9751
|
+
}, z.core.$strip>;
|
|
9752
|
+
type UpdateIntegrationDeliverooInput = z.input<typeof updateIntegrationDeliverooInputSchema>;
|
|
9753
|
+
declare const updateIntegrationDeliverooResponseSchema: z.ZodObject<{
|
|
9379
9754
|
status: z.ZodEnum<{
|
|
9380
9755
|
pending: "pending";
|
|
9381
9756
|
active: "active";
|
|
@@ -9417,16 +9792,27 @@ declare const updateIntegrationDeliverooSiteStatusResponseSchema: z.ZodObject<{
|
|
|
9417
9792
|
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
9418
9793
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
9419
9794
|
}, z.core.$strip>;
|
|
9420
|
-
type
|
|
9421
|
-
declare class
|
|
9422
|
-
readonly method = "
|
|
9423
|
-
readonly contentType = "application/json";
|
|
9795
|
+
type UpdateIntegrationDeliverooResponse = IntegrationDeliverooDetails;
|
|
9796
|
+
declare class UpdateIntegrationDeliveroo extends AbstractApiRequest<typeof updateIntegrationDeliverooInputSchema, typeof updateIntegrationDeliverooResponseSchema> {
|
|
9797
|
+
readonly method = "PATCH";
|
|
9798
|
+
readonly contentType = "application/merge-patch+json";
|
|
9424
9799
|
readonly accept = "application/json";
|
|
9425
9800
|
readonly inputSchema: z.ZodObject<{
|
|
9426
|
-
|
|
9427
|
-
|
|
9428
|
-
|
|
9801
|
+
brandId: z.ZodString;
|
|
9802
|
+
siteId: z.ZodString;
|
|
9803
|
+
provider: z.ZodEnum<{
|
|
9804
|
+
deliverart: "deliverart";
|
|
9805
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
9429
9806
|
}>;
|
|
9807
|
+
name: z.ZodString;
|
|
9808
|
+
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>>;
|
|
9809
|
+
skipInvalidItem: z.ZodBoolean;
|
|
9810
|
+
skipNegativePrices: z.ZodBoolean;
|
|
9811
|
+
importTaggedItems: z.ZodBoolean;
|
|
9812
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9813
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
9814
|
+
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>>;
|
|
9815
|
+
acceptanceTimeout: z.ZodNumber;
|
|
9430
9816
|
}, z.core.$strip>;
|
|
9431
9817
|
readonly outputSchema: z.ZodObject<{
|
|
9432
9818
|
status: z.ZodEnum<{
|
|
@@ -9473,304 +9859,133 @@ declare class UpdateIntegrationDeliverooSiteStatus extends AbstractApiRequest<ty
|
|
|
9473
9859
|
readonly querySchema: undefined;
|
|
9474
9860
|
readonly headersSchema: undefined;
|
|
9475
9861
|
private readonly integrationDeliverooId;
|
|
9476
|
-
constructor(integrationDeliverooId: string, input:
|
|
9862
|
+
constructor(integrationDeliverooId: string, input: UpdateIntegrationDeliverooInput);
|
|
9477
9863
|
getPath(): string;
|
|
9478
|
-
}
|
|
9479
|
-
|
|
9480
|
-
declare const
|
|
9481
|
-
status: z.ZodEnum<{
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
}>;
|
|
9486
|
-
provider: z.ZodEnum<{
|
|
9487
|
-
deliverart: "deliverart";
|
|
9488
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
9489
|
-
}>;
|
|
9490
|
-
createdAt: z.ZodString;
|
|
9491
|
-
updatedAt: z.ZodString;
|
|
9492
|
-
id: z.ZodString;
|
|
9493
|
-
connectionId: z.ZodNullable<z.ZodString>;
|
|
9494
|
-
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>>;
|
|
9495
|
-
name: z.ZodString;
|
|
9496
|
-
skipInvalidItem: z.ZodBoolean;
|
|
9497
|
-
skipNegativePrices: z.ZodBoolean;
|
|
9498
|
-
importTaggedItems: z.ZodBoolean;
|
|
9499
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9500
|
-
isValidMenu: z.ZodBoolean;
|
|
9501
|
-
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
9502
|
-
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
9503
|
-
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
9504
|
-
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>>]>;
|
|
9505
|
-
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>>;
|
|
9506
|
-
errors: z.ZodArray<z.ZodEnum<{
|
|
9507
|
-
latest_menu_sync_error: "latest_menu_sync_error";
|
|
9508
|
-
invalid_menu: "invalid_menu";
|
|
9509
|
-
}>>;
|
|
9510
|
-
storeId: z.ZodString;
|
|
9511
|
-
locale: z.ZodString;
|
|
9512
|
-
pendingMenuChanges: z.ZodBoolean;
|
|
9513
|
-
service: z.ZodEnum<{
|
|
9514
|
-
glovo: "glovo";
|
|
9515
|
-
}>;
|
|
9516
|
-
}, z.core.$strip>;
|
|
9517
|
-
type IntegrationGlovo = z.infer<typeof integrationGlovoSchema>;
|
|
9518
|
-
declare const integrationGlovoDetailsSchema: z.ZodObject<{
|
|
9519
|
-
status: z.ZodEnum<{
|
|
9520
|
-
pending: "pending";
|
|
9521
|
-
active: "active";
|
|
9522
|
-
deleting: "deleting";
|
|
9523
|
-
}>;
|
|
9524
|
-
provider: z.ZodEnum<{
|
|
9525
|
-
deliverart: "deliverart";
|
|
9526
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
9527
|
-
}>;
|
|
9528
|
-
createdAt: z.ZodString;
|
|
9529
|
-
updatedAt: z.ZodString;
|
|
9530
|
-
id: z.ZodString;
|
|
9531
|
-
connectionId: z.ZodNullable<z.ZodString>;
|
|
9532
|
-
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>>;
|
|
9533
|
-
name: z.ZodString;
|
|
9534
|
-
skipInvalidItem: z.ZodBoolean;
|
|
9535
|
-
skipNegativePrices: z.ZodBoolean;
|
|
9536
|
-
importTaggedItems: z.ZodBoolean;
|
|
9537
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9538
|
-
isValidMenu: z.ZodBoolean;
|
|
9539
|
-
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
9540
|
-
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
9541
|
-
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
9542
|
-
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>>]>;
|
|
9543
|
-
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>>;
|
|
9544
|
-
errors: z.ZodArray<z.ZodEnum<{
|
|
9545
|
-
latest_menu_sync_error: "latest_menu_sync_error";
|
|
9546
|
-
invalid_menu: "invalid_menu";
|
|
9547
|
-
}>>;
|
|
9548
|
-
storeId: z.ZodString;
|
|
9549
|
-
locale: z.ZodString;
|
|
9550
|
-
pendingMenuChanges: z.ZodBoolean;
|
|
9551
|
-
service: z.ZodEnum<{
|
|
9552
|
-
glovo: "glovo";
|
|
9553
|
-
}>;
|
|
9554
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
9555
|
-
}, z.core.$strip>;
|
|
9556
|
-
type IntegrationGlovoDetails = z.infer<typeof integrationGlovoDetailsSchema>;
|
|
9557
|
-
declare const integrationGlovoEditableFieldsSchema: z.ZodObject<{
|
|
9558
|
-
storeId: z.ZodOptional<z.ZodString>;
|
|
9559
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
9560
|
-
provider: z.ZodOptional<z.ZodEnum<{
|
|
9561
|
-
deliverart: "deliverart";
|
|
9562
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
9563
|
-
}>>;
|
|
9564
|
-
name: z.ZodOptional<z.ZodString>;
|
|
9565
|
-
salesMode: z.ZodOptional<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>>>;
|
|
9566
|
-
skipInvalidItem: z.ZodOptional<z.ZodBoolean>;
|
|
9567
|
-
skipNegativePrices: z.ZodOptional<z.ZodBoolean>;
|
|
9568
|
-
importTaggedItems: z.ZodOptional<z.ZodBoolean>;
|
|
9569
|
-
tagsForImport: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
9570
|
-
storeUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
9571
|
-
}, z.core.$strip>;
|
|
9572
|
-
type IntegrationGlovoEditableFields = z.infer<typeof integrationGlovoEditableFieldsSchema>;
|
|
9573
|
-
declare const integrationsGlovoQuerySchema: z.ZodObject<{
|
|
9574
|
-
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
9575
|
-
asc: "asc";
|
|
9576
|
-
desc: "desc";
|
|
9577
|
-
}>>;
|
|
9578
|
-
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
9579
|
-
asc: "asc";
|
|
9580
|
-
desc: "desc";
|
|
9581
|
-
}>>;
|
|
9582
|
-
'order[latestMenuCheckAt]': z.ZodOptional<z.ZodEnum<{
|
|
9583
|
-
asc: "asc";
|
|
9584
|
-
desc: "desc";
|
|
9585
|
-
}>>;
|
|
9586
|
-
'order[latestMenuSyncAt]': z.ZodOptional<z.ZodEnum<{
|
|
9587
|
-
asc: "asc";
|
|
9588
|
-
desc: "desc";
|
|
9589
|
-
}>>;
|
|
9590
|
-
name: z.ZodOptional<z.ZodString>;
|
|
9591
|
-
storeId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
9592
|
-
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
9593
|
-
pending: "pending";
|
|
9594
|
-
active: "active";
|
|
9595
|
-
deleting: "deleting";
|
|
9596
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
9597
|
-
pending: "pending";
|
|
9598
|
-
active: "active";
|
|
9599
|
-
deleting: "deleting";
|
|
9600
|
-
}>>]>>;
|
|
9601
|
-
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
9602
|
-
skipInvalidItem: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
9603
|
-
isValidMenu: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
9604
|
-
'latestMenuCheckAt[before]': z.ZodOptional<z.ZodString>;
|
|
9605
|
-
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9606
|
-
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
9607
|
-
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
9608
|
-
'latestMenuSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
9609
|
-
'latestMenuSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9610
|
-
'latestMenuSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
9611
|
-
'latestMenuSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
9612
|
-
service: z.ZodOptional<z.ZodEnum<{
|
|
9613
|
-
glovo: "glovo";
|
|
9614
|
-
}>>;
|
|
9615
|
-
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9616
|
-
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
9617
|
-
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9618
|
-
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
9619
|
-
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
9620
|
-
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
9621
|
-
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9622
|
-
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
9623
|
-
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
9624
|
-
}, z.core.$strip>;
|
|
9625
|
-
type IntegrationsGlovoQueryParams = z.infer<typeof integrationsGlovoQuerySchema>;
|
|
9626
|
-
declare const integrationGlovoWebhookEventSchema: z.ZodObject<{
|
|
9627
|
-
id: z.ZodString;
|
|
9628
|
-
event: z.ZodEnum<{
|
|
9629
|
-
"order.dispatched": "order.dispatched";
|
|
9630
|
-
"order.cancelled": "order.cancelled";
|
|
9631
|
-
}>;
|
|
9632
|
-
body: z.ZodAny;
|
|
9633
|
-
createdAt: z.ZodString;
|
|
9634
|
-
}, z.core.$strip>;
|
|
9635
|
-
type IntegrationGlovoWebhookEvent = z.infer<typeof integrationGlovoWebhookEventSchema>;
|
|
9636
|
-
declare const integrationGlovoWebhookEventDetailsSchema: z.ZodObject<{
|
|
9637
|
-
id: z.ZodString;
|
|
9638
|
-
event: z.ZodEnum<{
|
|
9639
|
-
"order.dispatched": "order.dispatched";
|
|
9640
|
-
"order.cancelled": "order.cancelled";
|
|
9641
|
-
}>;
|
|
9642
|
-
body: z.ZodAny;
|
|
9643
|
-
createdAt: z.ZodString;
|
|
9644
|
-
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>;
|
|
9645
|
-
}, z.core.$strip>;
|
|
9646
|
-
type IntegrationGlovoWebhookEventDetails = z.infer<typeof integrationGlovoWebhookEventDetailsSchema>;
|
|
9647
|
-
declare const integrationGlovoWebhookEventsQueryParamsSchema: z.ZodObject<{
|
|
9648
|
-
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
9649
|
-
asc: "asc";
|
|
9650
|
-
desc: "desc";
|
|
9651
|
-
}>>;
|
|
9652
|
-
event: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
9653
|
-
"order.dispatched": "order.dispatched";
|
|
9654
|
-
"order.cancelled": "order.cancelled";
|
|
9655
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
9656
|
-
"order.dispatched": "order.dispatched";
|
|
9657
|
-
"order.cancelled": "order.cancelled";
|
|
9658
|
-
}>>]>>;
|
|
9659
|
-
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
9660
|
-
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9661
|
-
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
9662
|
-
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
9663
|
-
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9664
|
-
}, z.core.$strip>;
|
|
9665
|
-
type IntegrationGlovoWebhookEventsQueryParams = z.infer<typeof integrationGlovoWebhookEventsQueryParamsSchema>;
|
|
9666
|
-
declare const integrationGlovoMenuUpdateSchema: z.ZodObject<{
|
|
9667
|
-
id: z.ZodString;
|
|
9668
|
-
transactionId: z.ZodNullable<z.ZodString>;
|
|
9669
|
-
status: z.ZodNullable<z.ZodEnum<{
|
|
9670
|
-
SUCCESS: "SUCCESS";
|
|
9671
|
-
PROCESSING: "PROCESSING";
|
|
9672
|
-
FETCH_MENU_INVALID_PAYLOAD: "FETCH_MENU_INVALID_PAYLOAD";
|
|
9673
|
-
FETCH_MENU_SERVER_ERROR: "FETCH_MENU_SERVER_ERROR";
|
|
9674
|
-
FETCH_MENU_UNAUTHORIZED: "FETCH_MENU_UNAUTHORIZED";
|
|
9675
|
-
NOT_PROCESSED: "NOT_PROCESSED";
|
|
9676
|
-
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
9677
|
-
GLOVO_ERROR: "GLOVO_ERROR";
|
|
9678
|
-
SCHEDULE_CATALOG_DISABLED: "SCHEDULE_CATALOG_DISABLED";
|
|
9679
|
-
}>>;
|
|
9680
|
-
retryCompleted: z.ZodBoolean;
|
|
9681
|
-
createdAt: z.ZodString;
|
|
9682
|
-
responseAt: z.ZodNullable<z.ZodString>;
|
|
9683
|
-
latestCheckAt: z.ZodNullable<z.ZodString>;
|
|
9684
|
-
}, z.core.$strip>;
|
|
9685
|
-
type IntegrationGlovoMenuUpdate = z.infer<typeof integrationGlovoMenuUpdateSchema>;
|
|
9686
|
-
declare const integrationGlovoMenuUpdateDetailsSchema: z.ZodObject<{
|
|
9687
|
-
id: z.ZodString;
|
|
9688
|
-
transactionId: z.ZodNullable<z.ZodString>;
|
|
9689
|
-
status: z.ZodNullable<z.ZodEnum<{
|
|
9690
|
-
SUCCESS: "SUCCESS";
|
|
9691
|
-
PROCESSING: "PROCESSING";
|
|
9692
|
-
FETCH_MENU_INVALID_PAYLOAD: "FETCH_MENU_INVALID_PAYLOAD";
|
|
9693
|
-
FETCH_MENU_SERVER_ERROR: "FETCH_MENU_SERVER_ERROR";
|
|
9694
|
-
FETCH_MENU_UNAUTHORIZED: "FETCH_MENU_UNAUTHORIZED";
|
|
9695
|
-
NOT_PROCESSED: "NOT_PROCESSED";
|
|
9696
|
-
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
9697
|
-
GLOVO_ERROR: "GLOVO_ERROR";
|
|
9698
|
-
SCHEDULE_CATALOG_DISABLED: "SCHEDULE_CATALOG_DISABLED";
|
|
9699
|
-
}>>;
|
|
9700
|
-
retryCompleted: z.ZodBoolean;
|
|
9701
|
-
createdAt: z.ZodString;
|
|
9702
|
-
responseAt: z.ZodNullable<z.ZodString>;
|
|
9703
|
-
latestCheckAt: z.ZodNullable<z.ZodString>;
|
|
9704
|
-
integration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cassa_in_cloud/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id">, unknown>>;
|
|
9705
|
-
details: z.ZodNullable<z.ZodAny>;
|
|
9864
|
+
}
|
|
9865
|
+
|
|
9866
|
+
declare const updateIntegrationDeliverooSiteStatusInputSchema: z.ZodObject<{
|
|
9867
|
+
status: z.ZodEnum<{
|
|
9868
|
+
OPEN: "OPEN";
|
|
9869
|
+
CLOSED: "CLOSED";
|
|
9870
|
+
}>;
|
|
9706
9871
|
}, z.core.$strip>;
|
|
9707
|
-
type
|
|
9708
|
-
declare const
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
9712
|
-
|
|
9713
|
-
|
|
9714
|
-
|
|
9715
|
-
|
|
9716
|
-
|
|
9717
|
-
|
|
9718
|
-
|
|
9719
|
-
|
|
9872
|
+
type UpdateIntegrationDeliverooSiteStatusInput = z.input<typeof updateIntegrationDeliverooSiteStatusInputSchema>;
|
|
9873
|
+
declare const updateIntegrationDeliverooSiteStatusResponseSchema: z.ZodObject<{
|
|
9874
|
+
status: z.ZodEnum<{
|
|
9875
|
+
pending: "pending";
|
|
9876
|
+
active: "active";
|
|
9877
|
+
deleting: "deleting";
|
|
9878
|
+
}>;
|
|
9879
|
+
provider: z.ZodEnum<{
|
|
9880
|
+
deliverart: "deliverart";
|
|
9881
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
9882
|
+
}>;
|
|
9883
|
+
createdAt: z.ZodString;
|
|
9884
|
+
updatedAt: z.ZodString;
|
|
9885
|
+
id: z.ZodString;
|
|
9886
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
9887
|
+
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>>;
|
|
9888
|
+
name: z.ZodString;
|
|
9889
|
+
skipInvalidItem: z.ZodBoolean;
|
|
9890
|
+
skipNegativePrices: z.ZodBoolean;
|
|
9891
|
+
importTaggedItems: z.ZodBoolean;
|
|
9892
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9893
|
+
isValidMenu: z.ZodBoolean;
|
|
9894
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
9895
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
9896
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
9897
|
+
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>>]>;
|
|
9898
|
+
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>>;
|
|
9899
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
9900
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
9901
|
+
invalid_menu: "invalid_menu";
|
|
9720
9902
|
}>>;
|
|
9721
|
-
|
|
9722
|
-
|
|
9723
|
-
|
|
9724
|
-
|
|
9725
|
-
|
|
9726
|
-
|
|
9727
|
-
|
|
9728
|
-
|
|
9729
|
-
|
|
9730
|
-
|
|
9731
|
-
|
|
9732
|
-
SCHEDULE_CATALOG_DISABLED: "SCHEDULE_CATALOG_DISABLED";
|
|
9733
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
9734
|
-
SUCCESS: "SUCCESS";
|
|
9735
|
-
PROCESSING: "PROCESSING";
|
|
9736
|
-
FETCH_MENU_INVALID_PAYLOAD: "FETCH_MENU_INVALID_PAYLOAD";
|
|
9737
|
-
FETCH_MENU_SERVER_ERROR: "FETCH_MENU_SERVER_ERROR";
|
|
9738
|
-
FETCH_MENU_UNAUTHORIZED: "FETCH_MENU_UNAUTHORIZED";
|
|
9739
|
-
NOT_PROCESSED: "NOT_PROCESSED";
|
|
9740
|
-
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
9741
|
-
GLOVO_ERROR: "GLOVO_ERROR";
|
|
9742
|
-
SCHEDULE_CATALOG_DISABLED: "SCHEDULE_CATALOG_DISABLED";
|
|
9743
|
-
}>>]>>;
|
|
9744
|
-
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
9745
|
-
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9746
|
-
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
9747
|
-
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
9748
|
-
'responseAt[before]': z.ZodOptional<z.ZodString>;
|
|
9749
|
-
'responseAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9750
|
-
'responseAt[after]': z.ZodOptional<z.ZodString>;
|
|
9751
|
-
'responseAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
9752
|
-
'latestCheckAt[before]': z.ZodOptional<z.ZodString>;
|
|
9753
|
-
'latestCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
9754
|
-
'latestCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
9755
|
-
'latestCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
9756
|
-
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9903
|
+
brandId: z.ZodString;
|
|
9904
|
+
siteId: z.ZodString;
|
|
9905
|
+
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>>;
|
|
9906
|
+
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
9907
|
+
service: z.ZodEnum<{
|
|
9908
|
+
deliveroo: "deliveroo";
|
|
9909
|
+
}>;
|
|
9910
|
+
acceptanceTimeout: z.ZodNumber;
|
|
9911
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
9912
|
+
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
9913
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
9757
9914
|
}, z.core.$strip>;
|
|
9758
|
-
type
|
|
9915
|
+
type UpdateIntegrationDeliverooSiteStatusResponse = IntegrationDeliverooDetails;
|
|
9916
|
+
declare class UpdateIntegrationDeliverooSiteStatus extends AbstractApiRequest<typeof updateIntegrationDeliverooSiteStatusInputSchema, typeof updateIntegrationDeliverooSiteStatusResponseSchema> {
|
|
9917
|
+
readonly method = "POST";
|
|
9918
|
+
readonly contentType = "application/json";
|
|
9919
|
+
readonly accept = "application/json";
|
|
9920
|
+
readonly inputSchema: z.ZodObject<{
|
|
9921
|
+
status: z.ZodEnum<{
|
|
9922
|
+
OPEN: "OPEN";
|
|
9923
|
+
CLOSED: "CLOSED";
|
|
9924
|
+
}>;
|
|
9925
|
+
}, z.core.$strip>;
|
|
9926
|
+
readonly outputSchema: z.ZodObject<{
|
|
9927
|
+
status: z.ZodEnum<{
|
|
9928
|
+
pending: "pending";
|
|
9929
|
+
active: "active";
|
|
9930
|
+
deleting: "deleting";
|
|
9931
|
+
}>;
|
|
9932
|
+
provider: z.ZodEnum<{
|
|
9933
|
+
deliverart: "deliverart";
|
|
9934
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
9935
|
+
}>;
|
|
9936
|
+
createdAt: z.ZodString;
|
|
9937
|
+
updatedAt: z.ZodString;
|
|
9938
|
+
id: z.ZodString;
|
|
9939
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
9940
|
+
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>>;
|
|
9941
|
+
name: z.ZodString;
|
|
9942
|
+
skipInvalidItem: z.ZodBoolean;
|
|
9943
|
+
skipNegativePrices: z.ZodBoolean;
|
|
9944
|
+
importTaggedItems: z.ZodBoolean;
|
|
9945
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9946
|
+
isValidMenu: z.ZodBoolean;
|
|
9947
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
9948
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
9949
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
9950
|
+
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>>]>;
|
|
9951
|
+
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>>;
|
|
9952
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
9953
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
9954
|
+
invalid_menu: "invalid_menu";
|
|
9955
|
+
}>>;
|
|
9956
|
+
brandId: z.ZodString;
|
|
9957
|
+
siteId: z.ZodString;
|
|
9958
|
+
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>>;
|
|
9959
|
+
latestOpeningHoursSyncAt: z.ZodNullable<z.ZodString>;
|
|
9960
|
+
service: z.ZodEnum<{
|
|
9961
|
+
deliveroo: "deliveroo";
|
|
9962
|
+
}>;
|
|
9963
|
+
acceptanceTimeout: z.ZodNumber;
|
|
9964
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
9965
|
+
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
9966
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
9967
|
+
}, z.core.$strip>;
|
|
9968
|
+
readonly querySchema: undefined;
|
|
9969
|
+
readonly headersSchema: undefined;
|
|
9970
|
+
private readonly integrationDeliverooId;
|
|
9971
|
+
constructor(integrationDeliverooId: string, input: UpdateIntegrationDeliverooSiteStatusInput);
|
|
9972
|
+
getPath(): string;
|
|
9973
|
+
}
|
|
9759
9974
|
|
|
9760
9975
|
declare const createIntegrationGlovoInputSchema: z.ZodObject<{
|
|
9761
|
-
storeId: z.
|
|
9762
|
-
locale: z.
|
|
9763
|
-
provider: z.
|
|
9976
|
+
storeId: z.ZodString;
|
|
9977
|
+
locale: z.ZodString;
|
|
9978
|
+
provider: z.ZodEnum<{
|
|
9764
9979
|
deliverart: "deliverart";
|
|
9765
9980
|
cassa_in_cloud: "cassa_in_cloud";
|
|
9766
|
-
}
|
|
9767
|
-
name: z.
|
|
9768
|
-
salesMode: z.
|
|
9769
|
-
skipInvalidItem: z.
|
|
9770
|
-
skipNegativePrices: z.
|
|
9771
|
-
importTaggedItems: z.
|
|
9772
|
-
tagsForImport: z.ZodOptional<z.
|
|
9773
|
-
storeUrl: z.
|
|
9981
|
+
}>;
|
|
9982
|
+
name: z.ZodString;
|
|
9983
|
+
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>>;
|
|
9984
|
+
skipInvalidItem: z.ZodBoolean;
|
|
9985
|
+
skipNegativePrices: z.ZodBoolean;
|
|
9986
|
+
importTaggedItems: z.ZodBoolean;
|
|
9987
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9988
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
9774
9989
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
9775
9990
|
}, z.core.$strip>;
|
|
9776
9991
|
type CreateIntegrationGlovoInput = z.input<typeof createIntegrationGlovoInputSchema>;
|
|
@@ -9812,25 +10027,25 @@ declare const createIntegrationGlovoResponseSchema: z.ZodObject<{
|
|
|
9812
10027
|
}>;
|
|
9813
10028
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
9814
10029
|
}, z.core.$strip>;
|
|
9815
|
-
type CreateIntegrationGlovoResponse =
|
|
10030
|
+
type CreateIntegrationGlovoResponse = z.infer<typeof createIntegrationGlovoResponseSchema>;
|
|
9816
10031
|
declare class CreateIntegrationGlovo extends AbstractApiRequest<typeof createIntegrationGlovoInputSchema, typeof createIntegrationGlovoResponseSchema> {
|
|
9817
10032
|
readonly method = "POST";
|
|
9818
10033
|
readonly contentType = "application/json";
|
|
9819
10034
|
readonly accept = "application/json";
|
|
9820
10035
|
readonly inputSchema: z.ZodObject<{
|
|
9821
|
-
storeId: z.
|
|
9822
|
-
locale: z.
|
|
9823
|
-
provider: z.
|
|
10036
|
+
storeId: z.ZodString;
|
|
10037
|
+
locale: z.ZodString;
|
|
10038
|
+
provider: z.ZodEnum<{
|
|
9824
10039
|
deliverart: "deliverart";
|
|
9825
10040
|
cassa_in_cloud: "cassa_in_cloud";
|
|
9826
|
-
}
|
|
9827
|
-
name: z.
|
|
9828
|
-
salesMode: z.
|
|
9829
|
-
skipInvalidItem: z.
|
|
9830
|
-
skipNegativePrices: z.
|
|
9831
|
-
importTaggedItems: z.
|
|
9832
|
-
tagsForImport: z.ZodOptional<z.
|
|
9833
|
-
storeUrl: z.
|
|
10041
|
+
}>;
|
|
10042
|
+
name: z.ZodString;
|
|
10043
|
+
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>>;
|
|
10044
|
+
skipInvalidItem: z.ZodBoolean;
|
|
10045
|
+
skipNegativePrices: z.ZodBoolean;
|
|
10046
|
+
importTaggedItems: z.ZodBoolean;
|
|
10047
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10048
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
9834
10049
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
9835
10050
|
}, z.core.$strip>;
|
|
9836
10051
|
readonly outputSchema: z.ZodObject<{
|
|
@@ -10717,155 +10932,45 @@ declare class GetIntegrationGlovoWebhookEvents extends AbstractApiRequest<typeof
|
|
|
10717
10932
|
}, z.core.$strip>;
|
|
10718
10933
|
readonly headersSchema: undefined;
|
|
10719
10934
|
private readonly integrationGlovoId;
|
|
10720
|
-
constructor(integrationGlovoId: string, options?: {
|
|
10721
|
-
query?: GetIntegrationGlovoWebhookEventsQueryParams;
|
|
10722
|
-
});
|
|
10723
|
-
getPath(): string;
|
|
10724
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationGlovoWebhookEvent>;
|
|
10725
|
-
}
|
|
10726
|
-
|
|
10727
|
-
declare const integrationGlovoSyncMenuInputSchema: z.ZodUndefined;
|
|
10728
|
-
declare const integrationGlovoSyncMenuResponseSchema: z.ZodUndefined;
|
|
10729
|
-
declare class IntegrationGlovoSyncMenu extends AbstractApiRequest<typeof integrationGlovoSyncMenuInputSchema, typeof integrationGlovoSyncMenuResponseSchema> {
|
|
10730
|
-
readonly method = "POST";
|
|
10731
|
-
readonly contentType = "application/json";
|
|
10732
|
-
readonly accept = "application/json";
|
|
10733
|
-
readonly inputSchema: z.ZodUndefined;
|
|
10734
|
-
readonly outputSchema: z.ZodUndefined;
|
|
10735
|
-
readonly querySchema: undefined;
|
|
10736
|
-
readonly headersSchema: undefined;
|
|
10737
|
-
private readonly integrationGlovoId;
|
|
10738
|
-
constructor(integrationGlovoId: string);
|
|
10739
|
-
getPath(): string;
|
|
10740
|
-
}
|
|
10741
|
-
|
|
10742
|
-
declare const updateIntegrationGlovoInputSchema: zod.ZodObject<{
|
|
10743
|
-
storeId: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
10744
|
-
locale: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
10745
|
-
provider: zod.ZodOptional<zod.ZodOptional<zod.ZodEnum<{
|
|
10746
|
-
deliverart: "deliverart";
|
|
10747
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
10748
|
-
}>>>;
|
|
10749
|
-
name: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
10750
|
-
salesMode: zod.ZodOptional<zod.ZodOptional<zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>>>;
|
|
10751
|
-
skipInvalidItem: zod.ZodOptional<zod.ZodOptional<zod.ZodBoolean>>;
|
|
10752
|
-
skipNegativePrices: zod.ZodOptional<zod.ZodOptional<zod.ZodBoolean>>;
|
|
10753
|
-
importTaggedItems: zod.ZodOptional<zod.ZodOptional<zod.ZodBoolean>>;
|
|
10754
|
-
tagsForImport: zod.ZodOptional<zod.ZodOptional<zod.ZodOptional<zod.ZodArray<zod.ZodString>>>>;
|
|
10755
|
-
storeUrl: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodURL>>>;
|
|
10756
|
-
}, zod_v4_core_schemas_cjs.$strip>;
|
|
10757
|
-
type UpdateIntegrationGlovoInput = IntegrationGlovoEditableFields;
|
|
10758
|
-
declare const updateIntegrationGlovoResponseSchema: zod.ZodObject<{
|
|
10759
|
-
status: zod.ZodEnum<{
|
|
10760
|
-
pending: "pending";
|
|
10761
|
-
active: "active";
|
|
10762
|
-
deleting: "deleting";
|
|
10763
|
-
}>;
|
|
10764
|
-
provider: zod.ZodEnum<{
|
|
10765
|
-
deliverart: "deliverart";
|
|
10766
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
10767
|
-
}>;
|
|
10768
|
-
createdAt: zod.ZodString;
|
|
10769
|
-
updatedAt: zod.ZodString;
|
|
10770
|
-
id: zod.ZodString;
|
|
10771
|
-
connectionId: zod.ZodNullable<zod.ZodString>;
|
|
10772
|
-
cancellationRequest: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
10773
|
-
name: zod.ZodString;
|
|
10774
|
-
skipInvalidItem: zod.ZodBoolean;
|
|
10775
|
-
skipNegativePrices: zod.ZodBoolean;
|
|
10776
|
-
importTaggedItems: zod.ZodBoolean;
|
|
10777
|
-
tagsForImport: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10778
|
-
isValidMenu: zod.ZodBoolean;
|
|
10779
|
-
storeUrl: zod.ZodNullable<zod.ZodURL>;
|
|
10780
|
-
latestMenuSyncAt: zod.ZodNullable<zod.ZodString>;
|
|
10781
|
-
latestMenuCheckAt: zod.ZodNullable<zod.ZodString>;
|
|
10782
|
-
currentMenuVersion: zod.ZodUnion<readonly [zod.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, zod_v4_core_schemas_cjs.$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>>, zod.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, zod_v4_core_schemas_cjs.$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>>, zod.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, zod_v4_core_schemas_cjs.$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>>]>;
|
|
10783
|
-
salesMode: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
10784
|
-
errors: zod.ZodArray<zod.ZodEnum<{
|
|
10785
|
-
latest_menu_sync_error: "latest_menu_sync_error";
|
|
10786
|
-
invalid_menu: "invalid_menu";
|
|
10787
|
-
}>>;
|
|
10788
|
-
storeId: zod.ZodString;
|
|
10789
|
-
locale: zod.ZodString;
|
|
10790
|
-
pendingMenuChanges: zod.ZodBoolean;
|
|
10791
|
-
service: zod.ZodEnum<{
|
|
10792
|
-
glovo: "glovo";
|
|
10793
|
-
}>;
|
|
10794
|
-
pointOfSale: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
10795
|
-
}, zod_v4_core_schemas_cjs.$strip>;
|
|
10796
|
-
type UpdateIntegrationGlovoResponse = IntegrationGlovoDetails;
|
|
10797
|
-
declare class UpdateIntegrationGlovo extends AbstractApiRequest<typeof updateIntegrationGlovoInputSchema, typeof updateIntegrationGlovoResponseSchema> {
|
|
10798
|
-
readonly method = "PATCH";
|
|
10799
|
-
readonly contentType = "application/merge-patch+json";
|
|
10800
|
-
readonly accept = "application/json";
|
|
10801
|
-
readonly inputSchema: zod.ZodObject<{
|
|
10802
|
-
storeId: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
10803
|
-
locale: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
10804
|
-
provider: zod.ZodOptional<zod.ZodOptional<zod.ZodEnum<{
|
|
10805
|
-
deliverart: "deliverart";
|
|
10806
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
10807
|
-
}>>>;
|
|
10808
|
-
name: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
10809
|
-
salesMode: zod.ZodOptional<zod.ZodOptional<zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>>>;
|
|
10810
|
-
skipInvalidItem: zod.ZodOptional<zod.ZodOptional<zod.ZodBoolean>>;
|
|
10811
|
-
skipNegativePrices: zod.ZodOptional<zod.ZodOptional<zod.ZodBoolean>>;
|
|
10812
|
-
importTaggedItems: zod.ZodOptional<zod.ZodOptional<zod.ZodBoolean>>;
|
|
10813
|
-
tagsForImport: zod.ZodOptional<zod.ZodOptional<zod.ZodOptional<zod.ZodArray<zod.ZodString>>>>;
|
|
10814
|
-
storeUrl: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodURL>>>;
|
|
10815
|
-
}, zod_v4_core_schemas_cjs.$strip>;
|
|
10816
|
-
readonly outputSchema: zod.ZodObject<{
|
|
10817
|
-
status: zod.ZodEnum<{
|
|
10818
|
-
pending: "pending";
|
|
10819
|
-
active: "active";
|
|
10820
|
-
deleting: "deleting";
|
|
10821
|
-
}>;
|
|
10822
|
-
provider: zod.ZodEnum<{
|
|
10823
|
-
deliverart: "deliverart";
|
|
10824
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
10825
|
-
}>;
|
|
10826
|
-
createdAt: zod.ZodString;
|
|
10827
|
-
updatedAt: zod.ZodString;
|
|
10828
|
-
id: zod.ZodString;
|
|
10829
|
-
connectionId: zod.ZodNullable<zod.ZodString>;
|
|
10830
|
-
cancellationRequest: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/integrations/cancellation_requests/:id"> | null, unknown>>;
|
|
10831
|
-
name: zod.ZodString;
|
|
10832
|
-
skipInvalidItem: zod.ZodBoolean;
|
|
10833
|
-
skipNegativePrices: zod.ZodBoolean;
|
|
10834
|
-
importTaggedItems: zod.ZodBoolean;
|
|
10835
|
-
tagsForImport: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10836
|
-
isValidMenu: zod.ZodBoolean;
|
|
10837
|
-
storeUrl: zod.ZodNullable<zod.ZodURL>;
|
|
10838
|
-
latestMenuSyncAt: zod.ZodNullable<zod.ZodString>;
|
|
10839
|
-
latestMenuCheckAt: zod.ZodNullable<zod.ZodString>;
|
|
10840
|
-
currentMenuVersion: zod.ZodUnion<readonly [zod.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, zod_v4_core_schemas_cjs.$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>>, zod.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, zod_v4_core_schemas_cjs.$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>>, zod.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, zod_v4_core_schemas_cjs.$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>>]>;
|
|
10841
|
-
salesMode: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>;
|
|
10842
|
-
errors: zod.ZodArray<zod.ZodEnum<{
|
|
10843
|
-
latest_menu_sync_error: "latest_menu_sync_error";
|
|
10844
|
-
invalid_menu: "invalid_menu";
|
|
10845
|
-
}>>;
|
|
10846
|
-
storeId: zod.ZodString;
|
|
10847
|
-
locale: zod.ZodString;
|
|
10848
|
-
pendingMenuChanges: zod.ZodBoolean;
|
|
10849
|
-
service: zod.ZodEnum<{
|
|
10850
|
-
glovo: "glovo";
|
|
10851
|
-
}>;
|
|
10852
|
-
pointOfSale: zod.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, zod_v4_core_schemas_cjs.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
10853
|
-
}, zod_v4_core_schemas_cjs.$strip>;
|
|
10935
|
+
constructor(integrationGlovoId: string, options?: {
|
|
10936
|
+
query?: GetIntegrationGlovoWebhookEventsQueryParams;
|
|
10937
|
+
});
|
|
10938
|
+
getPath(): string;
|
|
10939
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<IntegrationGlovoWebhookEvent>;
|
|
10940
|
+
}
|
|
10941
|
+
|
|
10942
|
+
declare const integrationGlovoSyncMenuInputSchema: z.ZodUndefined;
|
|
10943
|
+
declare const integrationGlovoSyncMenuResponseSchema: z.ZodUndefined;
|
|
10944
|
+
declare class IntegrationGlovoSyncMenu extends AbstractApiRequest<typeof integrationGlovoSyncMenuInputSchema, typeof integrationGlovoSyncMenuResponseSchema> {
|
|
10945
|
+
readonly method = "POST";
|
|
10946
|
+
readonly contentType = "application/json";
|
|
10947
|
+
readonly accept = "application/json";
|
|
10948
|
+
readonly inputSchema: z.ZodUndefined;
|
|
10949
|
+
readonly outputSchema: z.ZodUndefined;
|
|
10854
10950
|
readonly querySchema: undefined;
|
|
10855
10951
|
readonly headersSchema: undefined;
|
|
10856
10952
|
private readonly integrationGlovoId;
|
|
10857
|
-
constructor(integrationGlovoId: string
|
|
10953
|
+
constructor(integrationGlovoId: string);
|
|
10858
10954
|
getPath(): string;
|
|
10859
10955
|
}
|
|
10860
10956
|
|
|
10861
|
-
declare const
|
|
10862
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10865
|
-
|
|
10957
|
+
declare const updateIntegrationGlovoInputSchema: z.ZodObject<{
|
|
10958
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
10959
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
10960
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
10961
|
+
deliverart: "deliverart";
|
|
10962
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
10963
|
+
}>>;
|
|
10964
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10965
|
+
salesMode: z.ZodOptional<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>>>;
|
|
10966
|
+
skipInvalidItem: z.ZodOptional<z.ZodBoolean>;
|
|
10967
|
+
skipNegativePrices: z.ZodOptional<z.ZodBoolean>;
|
|
10968
|
+
importTaggedItems: z.ZodOptional<z.ZodBoolean>;
|
|
10969
|
+
tagsForImport: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
10970
|
+
storeUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
10866
10971
|
}, z.core.$strip>;
|
|
10867
|
-
type
|
|
10868
|
-
declare const
|
|
10972
|
+
type UpdateIntegrationGlovoInput = z.input<typeof updateIntegrationGlovoInputSchema>;
|
|
10973
|
+
declare const updateIntegrationGlovoResponseSchema: z.ZodObject<{
|
|
10869
10974
|
status: z.ZodEnum<{
|
|
10870
10975
|
pending: "pending";
|
|
10871
10976
|
active: "active";
|
|
@@ -10903,16 +11008,25 @@ declare const updateIntegrationGlovoStoreStatusResponseSchema: z.ZodObject<{
|
|
|
10903
11008
|
}>;
|
|
10904
11009
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
10905
11010
|
}, z.core.$strip>;
|
|
10906
|
-
type
|
|
10907
|
-
declare class
|
|
10908
|
-
readonly method = "
|
|
10909
|
-
readonly contentType = "application/json";
|
|
11011
|
+
type UpdateIntegrationGlovoResponse = IntegrationGlovoDetails;
|
|
11012
|
+
declare class UpdateIntegrationGlovo extends AbstractApiRequest<typeof updateIntegrationGlovoInputSchema, typeof updateIntegrationGlovoResponseSchema> {
|
|
11013
|
+
readonly method = "PATCH";
|
|
11014
|
+
readonly contentType = "application/merge-patch+json";
|
|
10910
11015
|
readonly accept = "application/json";
|
|
10911
11016
|
readonly inputSchema: z.ZodObject<{
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
11017
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
11018
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
11019
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
11020
|
+
deliverart: "deliverart";
|
|
11021
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
11022
|
+
}>>;
|
|
11023
|
+
name: z.ZodOptional<z.ZodString>;
|
|
11024
|
+
salesMode: z.ZodOptional<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>>>;
|
|
11025
|
+
skipInvalidItem: z.ZodOptional<z.ZodBoolean>;
|
|
11026
|
+
skipNegativePrices: z.ZodOptional<z.ZodBoolean>;
|
|
11027
|
+
importTaggedItems: z.ZodOptional<z.ZodBoolean>;
|
|
11028
|
+
tagsForImport: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
11029
|
+
storeUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
10916
11030
|
}, z.core.$strip>;
|
|
10917
11031
|
readonly outputSchema: z.ZodObject<{
|
|
10918
11032
|
status: z.ZodEnum<{
|
|
@@ -10955,247 +11069,131 @@ declare class UpdateIntegrationGlovoStoreStatus extends AbstractApiRequest<typeo
|
|
|
10955
11069
|
readonly querySchema: undefined;
|
|
10956
11070
|
readonly headersSchema: undefined;
|
|
10957
11071
|
private readonly integrationGlovoId;
|
|
10958
|
-
constructor(integrationGlovoId: string, input:
|
|
11072
|
+
constructor(integrationGlovoId: string, input: UpdateIntegrationGlovoInput);
|
|
10959
11073
|
getPath(): string;
|
|
10960
11074
|
}
|
|
10961
11075
|
|
|
10962
|
-
declare const
|
|
10963
|
-
status: z.ZodEnum<{
|
|
10964
|
-
pending: "pending";
|
|
10965
|
-
active: "active";
|
|
10966
|
-
deleting: "deleting";
|
|
10967
|
-
}>;
|
|
10968
|
-
provider: z.ZodEnum<{
|
|
10969
|
-
deliverart: "deliverart";
|
|
10970
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
10971
|
-
}>;
|
|
10972
|
-
createdAt: z.ZodString;
|
|
10973
|
-
updatedAt: z.ZodString;
|
|
10974
|
-
id: z.ZodString;
|
|
10975
|
-
connectionId: z.ZodNullable<z.ZodString>;
|
|
10976
|
-
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>>;
|
|
10977
|
-
name: z.ZodString;
|
|
10978
|
-
skipInvalidItem: z.ZodBoolean;
|
|
10979
|
-
skipNegativePrices: z.ZodBoolean;
|
|
10980
|
-
importTaggedItems: z.ZodBoolean;
|
|
10981
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10982
|
-
isValidMenu: z.ZodBoolean;
|
|
10983
|
-
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
10984
|
-
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
10985
|
-
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
10986
|
-
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>>]>;
|
|
10987
|
-
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>>;
|
|
10988
|
-
errors: z.ZodArray<z.ZodEnum<{
|
|
10989
|
-
latest_menu_sync_error: "latest_menu_sync_error";
|
|
10990
|
-
invalid_menu: "invalid_menu";
|
|
10991
|
-
}>>;
|
|
10992
|
-
syncType: z.ZodEnum<{
|
|
10993
|
-
ALL: "ALL";
|
|
10994
|
-
DELIVERY: "DELIVERY";
|
|
10995
|
-
TAKE_AWAY: "TAKE_AWAY";
|
|
10996
|
-
}>;
|
|
10997
|
-
defaultLanguage: z.ZodString;
|
|
10998
|
-
restaurantId: z.ZodString;
|
|
10999
|
-
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
11000
|
-
service: z.ZodEnum<{
|
|
11001
|
-
justeat: "justeat";
|
|
11002
|
-
}>;
|
|
11003
|
-
autoAcceptOrders: z.ZodBoolean;
|
|
11004
|
-
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
11005
|
-
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
11006
|
-
}, z.core.$strip>;
|
|
11007
|
-
type IntegrationJustEat = z.infer<typeof integrationJustEatSchema>;
|
|
11008
|
-
declare const integrationJustEatDetailsSchema: z.ZodObject<{
|
|
11076
|
+
declare const updateIntegrationGlovoStoreStatusInputSchema: z.ZodObject<{
|
|
11009
11077
|
status: z.ZodEnum<{
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
deleting: "deleting";
|
|
11013
|
-
}>;
|
|
11014
|
-
provider: z.ZodEnum<{
|
|
11015
|
-
deliverart: "deliverart";
|
|
11016
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
11017
|
-
}>;
|
|
11018
|
-
createdAt: z.ZodString;
|
|
11019
|
-
updatedAt: z.ZodString;
|
|
11020
|
-
id: z.ZodString;
|
|
11021
|
-
connectionId: z.ZodNullable<z.ZodString>;
|
|
11022
|
-
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>>;
|
|
11023
|
-
name: z.ZodString;
|
|
11024
|
-
skipInvalidItem: z.ZodBoolean;
|
|
11025
|
-
skipNegativePrices: z.ZodBoolean;
|
|
11026
|
-
importTaggedItems: z.ZodBoolean;
|
|
11027
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11028
|
-
isValidMenu: z.ZodBoolean;
|
|
11029
|
-
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
11030
|
-
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
11031
|
-
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
11032
|
-
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>>]>;
|
|
11033
|
-
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>>;
|
|
11034
|
-
errors: z.ZodArray<z.ZodEnum<{
|
|
11035
|
-
latest_menu_sync_error: "latest_menu_sync_error";
|
|
11036
|
-
invalid_menu: "invalid_menu";
|
|
11037
|
-
}>>;
|
|
11038
|
-
syncType: z.ZodEnum<{
|
|
11039
|
-
ALL: "ALL";
|
|
11040
|
-
DELIVERY: "DELIVERY";
|
|
11041
|
-
TAKE_AWAY: "TAKE_AWAY";
|
|
11042
|
-
}>;
|
|
11043
|
-
defaultLanguage: z.ZodString;
|
|
11044
|
-
restaurantId: z.ZodString;
|
|
11045
|
-
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
11046
|
-
service: z.ZodEnum<{
|
|
11047
|
-
justeat: "justeat";
|
|
11078
|
+
OPEN: "OPEN";
|
|
11079
|
+
CLOSED: "CLOSED";
|
|
11048
11080
|
}>;
|
|
11049
|
-
autoAcceptOrders: z.ZodBoolean;
|
|
11050
|
-
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
11051
|
-
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
11052
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
11053
|
-
}, z.core.$strip>;
|
|
11054
|
-
type IntegrationJustEatDetails = z.infer<typeof integrationJustEatDetailsSchema>;
|
|
11055
|
-
declare const integrationJustEatEditableFieldsSchema: z.ZodObject<{
|
|
11056
|
-
restaurantId: z.ZodOptional<z.ZodString>;
|
|
11057
|
-
provider: z.ZodOptional<z.ZodEnum<{
|
|
11058
|
-
deliverart: "deliverart";
|
|
11059
|
-
cassa_in_cloud: "cassa_in_cloud";
|
|
11060
|
-
}>>;
|
|
11061
|
-
name: z.ZodOptional<z.ZodString>;
|
|
11062
|
-
salesMode: z.ZodOptional<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>>>;
|
|
11063
|
-
skipInvalidItem: z.ZodOptional<z.ZodBoolean>;
|
|
11064
|
-
skipNegativePrices: z.ZodOptional<z.ZodBoolean>;
|
|
11065
|
-
importTaggedItems: z.ZodOptional<z.ZodBoolean>;
|
|
11066
|
-
tagsForImport: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
11067
|
-
storeUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
11068
|
-
syncType: z.ZodOptional<z.ZodEnum<{
|
|
11069
|
-
ALL: "ALL";
|
|
11070
|
-
DELIVERY: "DELIVERY";
|
|
11071
|
-
TAKE_AWAY: "TAKE_AWAY";
|
|
11072
|
-
}>>;
|
|
11073
|
-
defaultLanguage: z.ZodOptional<z.ZodString>;
|
|
11074
|
-
autoAcceptOrders: z.ZodOptional<z.ZodBoolean>;
|
|
11075
|
-
}, z.core.$strip>;
|
|
11076
|
-
type IntegrationJustEatEditableFields = z.infer<typeof integrationJustEatEditableFieldsSchema>;
|
|
11077
|
-
declare const integrationsJustEatQuerySchema: z.ZodObject<{
|
|
11078
|
-
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
11079
|
-
asc: "asc";
|
|
11080
|
-
desc: "desc";
|
|
11081
|
-
}>>;
|
|
11082
|
-
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
11083
|
-
asc: "asc";
|
|
11084
|
-
desc: "desc";
|
|
11085
|
-
}>>;
|
|
11086
|
-
'order[latestMenuCheckAt]': z.ZodOptional<z.ZodEnum<{
|
|
11087
|
-
asc: "asc";
|
|
11088
|
-
desc: "desc";
|
|
11089
|
-
}>>;
|
|
11090
|
-
'order[latestMenuSyncAt]': z.ZodOptional<z.ZodEnum<{
|
|
11091
|
-
asc: "asc";
|
|
11092
|
-
desc: "desc";
|
|
11093
|
-
}>>;
|
|
11094
|
-
'order[latestOpeningTimesSyncAt]': z.ZodOptional<z.ZodEnum<{
|
|
11095
|
-
asc: "asc";
|
|
11096
|
-
desc: "desc";
|
|
11097
|
-
}>>;
|
|
11098
|
-
'order[nextSyncMenuScheduledAt]': z.ZodOptional<z.ZodEnum<{
|
|
11099
|
-
asc: "asc";
|
|
11100
|
-
desc: "desc";
|
|
11101
|
-
}>>;
|
|
11102
|
-
name: z.ZodOptional<z.ZodString>;
|
|
11103
|
-
restaurantId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
11104
|
-
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11105
|
-
pending: "pending";
|
|
11106
|
-
active: "active";
|
|
11107
|
-
deleting: "deleting";
|
|
11108
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
11109
|
-
pending: "pending";
|
|
11110
|
-
active: "active";
|
|
11111
|
-
deleting: "deleting";
|
|
11112
|
-
}>>]>>;
|
|
11113
|
-
syncType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11114
|
-
ALL: "ALL";
|
|
11115
|
-
DELIVERY: "DELIVERY";
|
|
11116
|
-
TAKE_AWAY: "TAKE_AWAY";
|
|
11117
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
11118
|
-
ALL: "ALL";
|
|
11119
|
-
DELIVERY: "DELIVERY";
|
|
11120
|
-
TAKE_AWAY: "TAKE_AWAY";
|
|
11121
|
-
}>>]>>;
|
|
11122
|
-
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
11123
|
-
skipInvalidItem: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
11124
|
-
isValidMenu: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
11125
|
-
'latestMenuCheckAt[before]': z.ZodOptional<z.ZodString>;
|
|
11126
|
-
'latestMenuCheckAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11127
|
-
'latestMenuCheckAt[after]': z.ZodOptional<z.ZodString>;
|
|
11128
|
-
'latestMenuCheckAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11129
|
-
'latestMenuSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
11130
|
-
'latestMenuSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11131
|
-
'latestMenuSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
11132
|
-
'latestMenuSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11133
|
-
'latestOpeningTimesSyncAt[before]': z.ZodOptional<z.ZodString>;
|
|
11134
|
-
'latestOpeningTimesSyncAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11135
|
-
'latestOpeningTimesSyncAt[after]': z.ZodOptional<z.ZodString>;
|
|
11136
|
-
'latestOpeningTimesSyncAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11137
|
-
'nextSyncMenuScheduledAt[before]': z.ZodOptional<z.ZodString>;
|
|
11138
|
-
'nextSyncMenuScheduledAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11139
|
-
'nextSyncMenuScheduledAt[after]': z.ZodOptional<z.ZodString>;
|
|
11140
|
-
'nextSyncMenuScheduledAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11141
|
-
service: z.ZodOptional<z.ZodEnum<{
|
|
11142
|
-
justeat: "justeat";
|
|
11143
|
-
}>>;
|
|
11144
|
-
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11145
|
-
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
11146
|
-
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11147
|
-
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
11148
|
-
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11149
|
-
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
11150
|
-
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11151
|
-
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
11152
|
-
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11153
11081
|
}, z.core.$strip>;
|
|
11154
|
-
type
|
|
11155
|
-
declare const
|
|
11156
|
-
|
|
11157
|
-
|
|
11158
|
-
|
|
11082
|
+
type UpdateIntegrationGlovoStoreStatusInput = z.input<typeof updateIntegrationGlovoStoreStatusInputSchema>;
|
|
11083
|
+
declare const updateIntegrationGlovoStoreStatusResponseSchema: z.ZodObject<{
|
|
11084
|
+
status: z.ZodEnum<{
|
|
11085
|
+
pending: "pending";
|
|
11086
|
+
active: "active";
|
|
11087
|
+
deleting: "deleting";
|
|
11088
|
+
}>;
|
|
11089
|
+
provider: z.ZodEnum<{
|
|
11090
|
+
deliverart: "deliverart";
|
|
11091
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
11092
|
+
}>;
|
|
11159
11093
|
createdAt: z.ZodString;
|
|
11160
|
-
|
|
11161
|
-
type IntegrationJustEatSyncMenuProcess = z.infer<typeof integrationJustEatSyncMenuProcessSchema>;
|
|
11162
|
-
declare const integrationJustEatSyncMenuProcessDetailsSchema: z.ZodObject<{
|
|
11094
|
+
updatedAt: z.ZodString;
|
|
11163
11095
|
id: z.ZodString;
|
|
11164
|
-
|
|
11165
|
-
|
|
11166
|
-
|
|
11167
|
-
|
|
11168
|
-
|
|
11169
|
-
|
|
11170
|
-
|
|
11171
|
-
|
|
11172
|
-
|
|
11173
|
-
|
|
11096
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
11097
|
+
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>>;
|
|
11098
|
+
name: z.ZodString;
|
|
11099
|
+
skipInvalidItem: z.ZodBoolean;
|
|
11100
|
+
skipNegativePrices: z.ZodBoolean;
|
|
11101
|
+
importTaggedItems: z.ZodBoolean;
|
|
11102
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11103
|
+
isValidMenu: z.ZodBoolean;
|
|
11104
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
11105
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
11106
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
11107
|
+
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>>]>;
|
|
11108
|
+
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>>;
|
|
11109
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
11110
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
11111
|
+
invalid_menu: "invalid_menu";
|
|
11174
11112
|
}>>;
|
|
11175
|
-
|
|
11113
|
+
storeId: z.ZodString;
|
|
11114
|
+
locale: z.ZodString;
|
|
11115
|
+
pendingMenuChanges: z.ZodBoolean;
|
|
11116
|
+
service: z.ZodEnum<{
|
|
11117
|
+
glovo: "glovo";
|
|
11118
|
+
}>;
|
|
11119
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
11176
11120
|
}, z.core.$strip>;
|
|
11177
|
-
type
|
|
11121
|
+
type UpdateIntegrationGlovoStoreStatusResponse = IntegrationGlovoDetails;
|
|
11122
|
+
declare class UpdateIntegrationGlovoStoreStatus extends AbstractApiRequest<typeof updateIntegrationGlovoStoreStatusInputSchema, typeof updateIntegrationGlovoStoreStatusResponseSchema> {
|
|
11123
|
+
readonly method = "POST";
|
|
11124
|
+
readonly contentType = "application/json";
|
|
11125
|
+
readonly accept = "application/json";
|
|
11126
|
+
readonly inputSchema: z.ZodObject<{
|
|
11127
|
+
status: z.ZodEnum<{
|
|
11128
|
+
OPEN: "OPEN";
|
|
11129
|
+
CLOSED: "CLOSED";
|
|
11130
|
+
}>;
|
|
11131
|
+
}, z.core.$strip>;
|
|
11132
|
+
readonly outputSchema: z.ZodObject<{
|
|
11133
|
+
status: z.ZodEnum<{
|
|
11134
|
+
pending: "pending";
|
|
11135
|
+
active: "active";
|
|
11136
|
+
deleting: "deleting";
|
|
11137
|
+
}>;
|
|
11138
|
+
provider: z.ZodEnum<{
|
|
11139
|
+
deliverart: "deliverart";
|
|
11140
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
11141
|
+
}>;
|
|
11142
|
+
createdAt: z.ZodString;
|
|
11143
|
+
updatedAt: z.ZodString;
|
|
11144
|
+
id: z.ZodString;
|
|
11145
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
11146
|
+
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>>;
|
|
11147
|
+
name: z.ZodString;
|
|
11148
|
+
skipInvalidItem: z.ZodBoolean;
|
|
11149
|
+
skipNegativePrices: z.ZodBoolean;
|
|
11150
|
+
importTaggedItems: z.ZodBoolean;
|
|
11151
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11152
|
+
isValidMenu: z.ZodBoolean;
|
|
11153
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
11154
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
11155
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
11156
|
+
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>>]>;
|
|
11157
|
+
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>>;
|
|
11158
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
11159
|
+
latest_menu_sync_error: "latest_menu_sync_error";
|
|
11160
|
+
invalid_menu: "invalid_menu";
|
|
11161
|
+
}>>;
|
|
11162
|
+
storeId: z.ZodString;
|
|
11163
|
+
locale: z.ZodString;
|
|
11164
|
+
pendingMenuChanges: z.ZodBoolean;
|
|
11165
|
+
service: z.ZodEnum<{
|
|
11166
|
+
glovo: "glovo";
|
|
11167
|
+
}>;
|
|
11168
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
11169
|
+
}, z.core.$strip>;
|
|
11170
|
+
readonly querySchema: undefined;
|
|
11171
|
+
readonly headersSchema: undefined;
|
|
11172
|
+
private readonly integrationGlovoId;
|
|
11173
|
+
constructor(integrationGlovoId: string, input: UpdateIntegrationGlovoStoreStatusInput);
|
|
11174
|
+
getPath(): string;
|
|
11175
|
+
}
|
|
11178
11176
|
|
|
11179
11177
|
declare const createIntegrationJustEatInputSchema: z.ZodObject<{
|
|
11180
|
-
restaurantId: z.
|
|
11181
|
-
provider: z.
|
|
11178
|
+
restaurantId: z.ZodString;
|
|
11179
|
+
provider: z.ZodEnum<{
|
|
11182
11180
|
deliverart: "deliverart";
|
|
11183
11181
|
cassa_in_cloud: "cassa_in_cloud";
|
|
11184
|
-
}
|
|
11185
|
-
name: z.
|
|
11186
|
-
salesMode: z.
|
|
11187
|
-
skipInvalidItem: z.
|
|
11188
|
-
skipNegativePrices: z.
|
|
11189
|
-
importTaggedItems: z.
|
|
11190
|
-
tagsForImport: z.ZodOptional<z.
|
|
11191
|
-
storeUrl: z.
|
|
11192
|
-
syncType: z.
|
|
11182
|
+
}>;
|
|
11183
|
+
name: z.ZodString;
|
|
11184
|
+
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>>;
|
|
11185
|
+
skipInvalidItem: z.ZodBoolean;
|
|
11186
|
+
skipNegativePrices: z.ZodBoolean;
|
|
11187
|
+
importTaggedItems: z.ZodBoolean;
|
|
11188
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11189
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
11190
|
+
syncType: z.ZodEnum<{
|
|
11193
11191
|
ALL: "ALL";
|
|
11194
11192
|
DELIVERY: "DELIVERY";
|
|
11195
11193
|
TAKE_AWAY: "TAKE_AWAY";
|
|
11196
|
-
}
|
|
11197
|
-
defaultLanguage: z.
|
|
11198
|
-
autoAcceptOrders: z.
|
|
11194
|
+
}>;
|
|
11195
|
+
defaultLanguage: z.ZodString;
|
|
11196
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
11199
11197
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
11200
11198
|
}, z.core.$strip>;
|
|
11201
11199
|
type CreateIntegrationJustEatInput = z.input<typeof createIntegrationJustEatInputSchema>;
|
|
@@ -11245,31 +11243,31 @@ declare const createIntegrationJustEatResponseSchema: z.ZodObject<{
|
|
|
11245
11243
|
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
11246
11244
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
11247
11245
|
}, z.core.$strip>;
|
|
11248
|
-
type CreateIntegrationJustEatResponse =
|
|
11246
|
+
type CreateIntegrationJustEatResponse = z.infer<typeof createIntegrationJustEatResponseSchema>;
|
|
11249
11247
|
declare class CreateIntegrationJustEat extends AbstractApiRequest<typeof createIntegrationJustEatInputSchema, typeof createIntegrationJustEatResponseSchema> {
|
|
11250
11248
|
readonly method = "POST";
|
|
11251
11249
|
readonly contentType = "application/json";
|
|
11252
11250
|
readonly accept = "application/json";
|
|
11253
11251
|
readonly inputSchema: z.ZodObject<{
|
|
11254
|
-
restaurantId: z.
|
|
11255
|
-
provider: z.
|
|
11252
|
+
restaurantId: z.ZodString;
|
|
11253
|
+
provider: z.ZodEnum<{
|
|
11256
11254
|
deliverart: "deliverart";
|
|
11257
11255
|
cassa_in_cloud: "cassa_in_cloud";
|
|
11258
|
-
}
|
|
11259
|
-
name: z.
|
|
11260
|
-
salesMode: z.
|
|
11261
|
-
skipInvalidItem: z.
|
|
11262
|
-
skipNegativePrices: z.
|
|
11263
|
-
importTaggedItems: z.
|
|
11264
|
-
tagsForImport: z.ZodOptional<z.
|
|
11265
|
-
storeUrl: z.
|
|
11266
|
-
syncType: z.
|
|
11256
|
+
}>;
|
|
11257
|
+
name: z.ZodString;
|
|
11258
|
+
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>>;
|
|
11259
|
+
skipInvalidItem: z.ZodBoolean;
|
|
11260
|
+
skipNegativePrices: z.ZodBoolean;
|
|
11261
|
+
importTaggedItems: z.ZodBoolean;
|
|
11262
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11263
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
11264
|
+
syncType: z.ZodEnum<{
|
|
11267
11265
|
ALL: "ALL";
|
|
11268
11266
|
DELIVERY: "DELIVERY";
|
|
11269
11267
|
TAKE_AWAY: "TAKE_AWAY";
|
|
11270
|
-
}
|
|
11271
|
-
defaultLanguage: z.
|
|
11272
|
-
autoAcceptOrders: z.
|
|
11268
|
+
}>;
|
|
11269
|
+
defaultLanguage: z.ZodString;
|
|
11270
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
11273
11271
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
11274
11272
|
}, z.core.$strip>;
|
|
11275
11273
|
readonly outputSchema: z.ZodObject<{
|
|
@@ -12101,146 +12099,146 @@ declare class IntegrationJustEatSyncOpeningTimes extends AbstractApiRequest<type
|
|
|
12101
12099
|
getPath(): string;
|
|
12102
12100
|
}
|
|
12103
12101
|
|
|
12104
|
-
declare const updateIntegrationJustEatInputSchema:
|
|
12105
|
-
restaurantId:
|
|
12106
|
-
provider:
|
|
12102
|
+
declare const updateIntegrationJustEatInputSchema: z.ZodObject<{
|
|
12103
|
+
restaurantId: z.ZodOptional<z.ZodString>;
|
|
12104
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
12107
12105
|
deliverart: "deliverart";
|
|
12108
12106
|
cassa_in_cloud: "cassa_in_cloud";
|
|
12109
|
-
}
|
|
12110
|
-
name:
|
|
12111
|
-
salesMode:
|
|
12112
|
-
skipInvalidItem:
|
|
12113
|
-
skipNegativePrices:
|
|
12114
|
-
importTaggedItems:
|
|
12115
|
-
tagsForImport:
|
|
12116
|
-
storeUrl:
|
|
12117
|
-
syncType:
|
|
12107
|
+
}>>;
|
|
12108
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12109
|
+
salesMode: z.ZodOptional<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>>>;
|
|
12110
|
+
skipInvalidItem: z.ZodOptional<z.ZodBoolean>;
|
|
12111
|
+
skipNegativePrices: z.ZodOptional<z.ZodBoolean>;
|
|
12112
|
+
importTaggedItems: z.ZodOptional<z.ZodBoolean>;
|
|
12113
|
+
tagsForImport: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
12114
|
+
storeUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
12115
|
+
syncType: z.ZodOptional<z.ZodEnum<{
|
|
12118
12116
|
ALL: "ALL";
|
|
12119
12117
|
DELIVERY: "DELIVERY";
|
|
12120
12118
|
TAKE_AWAY: "TAKE_AWAY";
|
|
12121
|
-
}
|
|
12122
|
-
defaultLanguage:
|
|
12123
|
-
autoAcceptOrders:
|
|
12124
|
-
},
|
|
12125
|
-
type UpdateIntegrationJustEatInput =
|
|
12126
|
-
declare const updateIntegrationJustEatResponseSchema:
|
|
12127
|
-
status:
|
|
12119
|
+
}>>;
|
|
12120
|
+
defaultLanguage: z.ZodOptional<z.ZodString>;
|
|
12121
|
+
autoAcceptOrders: z.ZodOptional<z.ZodBoolean>;
|
|
12122
|
+
}, z.core.$strip>;
|
|
12123
|
+
type UpdateIntegrationJustEatInput = z.input<typeof updateIntegrationJustEatInputSchema>;
|
|
12124
|
+
declare const updateIntegrationJustEatResponseSchema: z.ZodObject<{
|
|
12125
|
+
status: z.ZodEnum<{
|
|
12128
12126
|
pending: "pending";
|
|
12129
12127
|
active: "active";
|
|
12130
12128
|
deleting: "deleting";
|
|
12131
12129
|
}>;
|
|
12132
|
-
provider:
|
|
12130
|
+
provider: z.ZodEnum<{
|
|
12133
12131
|
deliverart: "deliverart";
|
|
12134
12132
|
cassa_in_cloud: "cassa_in_cloud";
|
|
12135
12133
|
}>;
|
|
12136
|
-
createdAt:
|
|
12137
|
-
updatedAt:
|
|
12138
|
-
id:
|
|
12139
|
-
connectionId:
|
|
12140
|
-
cancellationRequest:
|
|
12141
|
-
name:
|
|
12142
|
-
skipInvalidItem:
|
|
12143
|
-
skipNegativePrices:
|
|
12144
|
-
importTaggedItems:
|
|
12145
|
-
tagsForImport:
|
|
12146
|
-
isValidMenu:
|
|
12147
|
-
storeUrl:
|
|
12148
|
-
latestMenuSyncAt:
|
|
12149
|
-
latestMenuCheckAt:
|
|
12150
|
-
currentMenuVersion:
|
|
12151
|
-
salesMode:
|
|
12152
|
-
errors:
|
|
12134
|
+
createdAt: z.ZodString;
|
|
12135
|
+
updatedAt: z.ZodString;
|
|
12136
|
+
id: z.ZodString;
|
|
12137
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
12138
|
+
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>>;
|
|
12139
|
+
name: z.ZodString;
|
|
12140
|
+
skipInvalidItem: z.ZodBoolean;
|
|
12141
|
+
skipNegativePrices: z.ZodBoolean;
|
|
12142
|
+
importTaggedItems: z.ZodBoolean;
|
|
12143
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12144
|
+
isValidMenu: z.ZodBoolean;
|
|
12145
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
12146
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
12147
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
12148
|
+
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>>]>;
|
|
12149
|
+
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>>;
|
|
12150
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
12153
12151
|
latest_menu_sync_error: "latest_menu_sync_error";
|
|
12154
12152
|
invalid_menu: "invalid_menu";
|
|
12155
12153
|
}>>;
|
|
12156
|
-
syncType:
|
|
12154
|
+
syncType: z.ZodEnum<{
|
|
12157
12155
|
ALL: "ALL";
|
|
12158
12156
|
DELIVERY: "DELIVERY";
|
|
12159
12157
|
TAKE_AWAY: "TAKE_AWAY";
|
|
12160
12158
|
}>;
|
|
12161
|
-
defaultLanguage:
|
|
12162
|
-
restaurantId:
|
|
12163
|
-
latestOpeningTimesSyncAt:
|
|
12164
|
-
service:
|
|
12159
|
+
defaultLanguage: z.ZodString;
|
|
12160
|
+
restaurantId: z.ZodString;
|
|
12161
|
+
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
12162
|
+
service: z.ZodEnum<{
|
|
12165
12163
|
justeat: "justeat";
|
|
12166
12164
|
}>;
|
|
12167
|
-
autoAcceptOrders:
|
|
12168
|
-
nextSyncMenuScheduledAt:
|
|
12169
|
-
currentMenuVersionSyncAttempts:
|
|
12170
|
-
pointOfSale:
|
|
12171
|
-
},
|
|
12165
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
12166
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
12167
|
+
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
12168
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
12169
|
+
}, z.core.$strip>;
|
|
12172
12170
|
type UpdateIntegrationJustEatResponse = IntegrationJustEatDetails;
|
|
12173
12171
|
declare class UpdateIntegrationJustEat extends AbstractApiRequest<typeof updateIntegrationJustEatInputSchema, typeof updateIntegrationJustEatResponseSchema> {
|
|
12174
12172
|
readonly method = "PATCH";
|
|
12175
12173
|
readonly contentType = "application/merge-patch+json";
|
|
12176
12174
|
readonly accept = "application/json";
|
|
12177
|
-
readonly inputSchema:
|
|
12178
|
-
restaurantId:
|
|
12179
|
-
provider:
|
|
12175
|
+
readonly inputSchema: z.ZodObject<{
|
|
12176
|
+
restaurantId: z.ZodOptional<z.ZodString>;
|
|
12177
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
12180
12178
|
deliverart: "deliverart";
|
|
12181
12179
|
cassa_in_cloud: "cassa_in_cloud";
|
|
12182
|
-
}
|
|
12183
|
-
name:
|
|
12184
|
-
salesMode:
|
|
12185
|
-
skipInvalidItem:
|
|
12186
|
-
skipNegativePrices:
|
|
12187
|
-
importTaggedItems:
|
|
12188
|
-
tagsForImport:
|
|
12189
|
-
storeUrl:
|
|
12190
|
-
syncType:
|
|
12180
|
+
}>>;
|
|
12181
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12182
|
+
salesMode: z.ZodOptional<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>>>;
|
|
12183
|
+
skipInvalidItem: z.ZodOptional<z.ZodBoolean>;
|
|
12184
|
+
skipNegativePrices: z.ZodOptional<z.ZodBoolean>;
|
|
12185
|
+
importTaggedItems: z.ZodOptional<z.ZodBoolean>;
|
|
12186
|
+
tagsForImport: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
12187
|
+
storeUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
12188
|
+
syncType: z.ZodOptional<z.ZodEnum<{
|
|
12191
12189
|
ALL: "ALL";
|
|
12192
12190
|
DELIVERY: "DELIVERY";
|
|
12193
12191
|
TAKE_AWAY: "TAKE_AWAY";
|
|
12194
|
-
}
|
|
12195
|
-
defaultLanguage:
|
|
12196
|
-
autoAcceptOrders:
|
|
12197
|
-
},
|
|
12198
|
-
readonly outputSchema:
|
|
12199
|
-
status:
|
|
12192
|
+
}>>;
|
|
12193
|
+
defaultLanguage: z.ZodOptional<z.ZodString>;
|
|
12194
|
+
autoAcceptOrders: z.ZodOptional<z.ZodBoolean>;
|
|
12195
|
+
}, z.core.$strip>;
|
|
12196
|
+
readonly outputSchema: z.ZodObject<{
|
|
12197
|
+
status: z.ZodEnum<{
|
|
12200
12198
|
pending: "pending";
|
|
12201
12199
|
active: "active";
|
|
12202
12200
|
deleting: "deleting";
|
|
12203
12201
|
}>;
|
|
12204
|
-
provider:
|
|
12202
|
+
provider: z.ZodEnum<{
|
|
12205
12203
|
deliverart: "deliverart";
|
|
12206
12204
|
cassa_in_cloud: "cassa_in_cloud";
|
|
12207
12205
|
}>;
|
|
12208
|
-
createdAt:
|
|
12209
|
-
updatedAt:
|
|
12210
|
-
id:
|
|
12211
|
-
connectionId:
|
|
12212
|
-
cancellationRequest:
|
|
12213
|
-
name:
|
|
12214
|
-
skipInvalidItem:
|
|
12215
|
-
skipNegativePrices:
|
|
12216
|
-
importTaggedItems:
|
|
12217
|
-
tagsForImport:
|
|
12218
|
-
isValidMenu:
|
|
12219
|
-
storeUrl:
|
|
12220
|
-
latestMenuSyncAt:
|
|
12221
|
-
latestMenuCheckAt:
|
|
12222
|
-
currentMenuVersion:
|
|
12223
|
-
salesMode:
|
|
12224
|
-
errors:
|
|
12206
|
+
createdAt: z.ZodString;
|
|
12207
|
+
updatedAt: z.ZodString;
|
|
12208
|
+
id: z.ZodString;
|
|
12209
|
+
connectionId: z.ZodNullable<z.ZodString>;
|
|
12210
|
+
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>>;
|
|
12211
|
+
name: z.ZodString;
|
|
12212
|
+
skipInvalidItem: z.ZodBoolean;
|
|
12213
|
+
skipNegativePrices: z.ZodBoolean;
|
|
12214
|
+
importTaggedItems: z.ZodBoolean;
|
|
12215
|
+
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12216
|
+
isValidMenu: z.ZodBoolean;
|
|
12217
|
+
storeUrl: z.ZodNullable<z.ZodURL>;
|
|
12218
|
+
latestMenuSyncAt: z.ZodNullable<z.ZodString>;
|
|
12219
|
+
latestMenuCheckAt: z.ZodNullable<z.ZodString>;
|
|
12220
|
+
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>>]>;
|
|
12221
|
+
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>>;
|
|
12222
|
+
errors: z.ZodArray<z.ZodEnum<{
|
|
12225
12223
|
latest_menu_sync_error: "latest_menu_sync_error";
|
|
12226
12224
|
invalid_menu: "invalid_menu";
|
|
12227
12225
|
}>>;
|
|
12228
|
-
syncType:
|
|
12226
|
+
syncType: z.ZodEnum<{
|
|
12229
12227
|
ALL: "ALL";
|
|
12230
12228
|
DELIVERY: "DELIVERY";
|
|
12231
12229
|
TAKE_AWAY: "TAKE_AWAY";
|
|
12232
12230
|
}>;
|
|
12233
|
-
defaultLanguage:
|
|
12234
|
-
restaurantId:
|
|
12235
|
-
latestOpeningTimesSyncAt:
|
|
12236
|
-
service:
|
|
12231
|
+
defaultLanguage: z.ZodString;
|
|
12232
|
+
restaurantId: z.ZodString;
|
|
12233
|
+
latestOpeningTimesSyncAt: z.ZodNullable<z.ZodString>;
|
|
12234
|
+
service: z.ZodEnum<{
|
|
12237
12235
|
justeat: "justeat";
|
|
12238
12236
|
}>;
|
|
12239
|
-
autoAcceptOrders:
|
|
12240
|
-
nextSyncMenuScheduledAt:
|
|
12241
|
-
currentMenuVersionSyncAttempts:
|
|
12242
|
-
pointOfSale:
|
|
12243
|
-
},
|
|
12237
|
+
autoAcceptOrders: z.ZodBoolean;
|
|
12238
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
12239
|
+
currentMenuVersionSyncAttempts: z.ZodNumber;
|
|
12240
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
12241
|
+
}, z.core.$strip>;
|
|
12244
12242
|
readonly querySchema: undefined;
|
|
12245
12243
|
readonly headersSchema: undefined;
|
|
12246
12244
|
private readonly integrationJustEatId;
|