@deliverart/sdk-js-integration 2.17.0 → 2.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. package/dist/index.cjs +2467 -150
  2. package/dist/index.d.cts +24242 -11445
  3. package/dist/index.d.ts +24242 -11445
  4. package/dist/index.js +2091 -41
  5. package/package.json +10 -10
package/dist/index.js CHANGED
@@ -10835,11 +10835,11 @@ function _stringbool(Classes, _params) {
10835
10835
  const _Boolean = Classes.Boolean ?? $ZodBoolean;
10836
10836
  const _String = Classes.String ?? $ZodString;
10837
10837
  const stringSchema = new _String({ type: "string", error: params.error });
10838
- const booleanSchema5 = new _Boolean({ type: "boolean", error: params.error });
10838
+ const booleanSchema6 = new _Boolean({ type: "boolean", error: params.error });
10839
10839
  const codec2 = new _Codec({
10840
10840
  type: "pipe",
10841
10841
  in: stringSchema,
10842
- out: booleanSchema5,
10842
+ out: booleanSchema6,
10843
10843
  transform: (input, payload) => {
10844
10844
  let data = input;
10845
10845
  if (params.case !== "sensitive")
@@ -13776,7 +13776,12 @@ function date4(params) {
13776
13776
  config(en_default());
13777
13777
 
13778
13778
  // src/types.ts
13779
- import { IriObject, iriNullableSchema, iriSchema, matchesIriPattern } from "@deliverart/sdk-js-global-types";
13779
+ import {
13780
+ IriObject,
13781
+ iriNullableSchema,
13782
+ iriSchema,
13783
+ matchesIriPattern
13784
+ } from "@deliverart/sdk-js-global-types";
13780
13785
  var integrationStatuses = ["pending", "active", "deleting"];
13781
13786
  var integrationStatusSchema = external_exports.enum(integrationStatuses);
13782
13787
  var integrationProviders = ["deliverart", "cassa_in_cloud"];
@@ -13786,11 +13791,12 @@ var integrationServices = [
13786
13791
  "justeat",
13787
13792
  "glovo",
13788
13793
  "cassa_in_cloud",
13794
+ "tilby",
13789
13795
  "kitchen",
13790
13796
  "ecommerce"
13791
13797
  ];
13792
13798
  var integrationServiceSchema = external_exports.enum(integrationServices);
13793
- var exclusiveIntegrationServices = ["kitchen", "cassa_in_cloud"];
13799
+ var exclusiveIntegrationServices = ["kitchen", "cassa_in_cloud", "tilby"];
13794
13800
  var exclusiveIntegrationServiceSchema = external_exports.enum(exclusiveIntegrationServices);
13795
13801
  var integrationClientLogRequestMethods = ["DELETE", "GET", "PATCH", "POST", "PUT"];
13796
13802
  var integrationClientLogRequestMethodSchema = external_exports.enum(integrationClientLogRequestMethods);
@@ -13873,9 +13879,7 @@ var integrationDeliverooDebugSiteTypes = [
13873
13879
  "ON_DEMAND_CONVENIENCE",
13874
13880
  "UNKNOWN"
13875
13881
  ];
13876
- var integrationDeliverooDebugSiteTypeSchema = external_exports.enum(
13877
- integrationDeliverooDebugSiteTypes
13878
- );
13882
+ var integrationDeliverooDebugSiteTypeSchema = external_exports.enum(integrationDeliverooDebugSiteTypes);
13879
13883
  var integrationGlovoMenuUpdateStatuses = [
13880
13884
  "SUCCESS",
13881
13885
  "PROCESSING",
@@ -13980,6 +13984,63 @@ var integrationCassaInCloudTimetablesSyncSteps = ["timetables"];
13980
13984
  var integrationCassaInCloudTimetablesSyncStepSchema = external_exports.enum(
13981
13985
  integrationCassaInCloudTimetablesSyncSteps
13982
13986
  );
13987
+ var integrationTilbySyncDirections = ["inbound", "outbound"];
13988
+ var integrationTilbySyncDirectionSchema = external_exports.enum(integrationTilbySyncDirections);
13989
+ var integrationTilbySyncModes = ["full", "incremental"];
13990
+ var integrationTilbySyncModeSchema = external_exports.enum(integrationTilbySyncModes);
13991
+ var integrationTilbyMappingSyncStatuses = [
13992
+ "pending",
13993
+ "synced",
13994
+ "manual_resolution_required",
13995
+ "skipped",
13996
+ "failed",
13997
+ "unsupported"
13998
+ ];
13999
+ var integrationTilbyMappingSyncStatusSchema = external_exports.enum(integrationTilbyMappingSyncStatuses);
14000
+ var integrationTilbyMappingSyncFailureCodes = [
14001
+ "missing_remote_identifier",
14002
+ "missing_remote_vat",
14003
+ "missing_remote_category",
14004
+ "missing_remote_department",
14005
+ "unresolved_vat_mapping",
14006
+ "unresolved_category_mapping",
14007
+ "unresolved_department_mapping",
14008
+ "customer_conflict",
14009
+ "remote_deleted",
14010
+ "local_entity_not_found",
14011
+ "remote_entity_not_found",
14012
+ "remote_api_error",
14013
+ "validation_failed",
14014
+ "ambiguous_mapping",
14015
+ "disabled_by_settings",
14016
+ "manual_resolution_required",
14017
+ "unresolved_product_mapping",
14018
+ "unresolved_variant_mapping",
14019
+ "unsupported_order_item",
14020
+ "unsupported_order_type",
14021
+ "invalid_schedule",
14022
+ "remote_sale_not_open",
14023
+ "unsupported_remote_model",
14024
+ "unsupported_bundle",
14025
+ "unsupported_modifier",
14026
+ "unsupported_sales_mode",
14027
+ "unsupported_variant",
14028
+ "unsupported_component",
14029
+ "unknown"
14030
+ ];
14031
+ var integrationTilbyMappingSyncFailureCodeSchema = external_exports.enum(
14032
+ integrationTilbyMappingSyncFailureCodes
14033
+ );
14034
+ var integrationTilbyFiscalMappingsSyncSteps = ["vat", "departments"];
14035
+ var integrationTilbyFiscalMappingsSyncStepSchema = external_exports.enum(
14036
+ integrationTilbyFiscalMappingsSyncSteps
14037
+ );
14038
+ var integrationTilbyCustomersSyncSteps = ["customers"];
14039
+ var integrationTilbyCustomersSyncStepSchema = external_exports.enum(integrationTilbyCustomersSyncSteps);
14040
+ var integrationTilbyMenuSyncSteps = ["categories", "components", "products"];
14041
+ var integrationTilbyMenuSyncStepSchema = external_exports.enum(integrationTilbyMenuSyncSteps);
14042
+ var integrationTilbyOrdersSyncSteps = ["orders"];
14043
+ var integrationTilbyOrdersSyncStepSchema = external_exports.enum(integrationTilbyOrdersSyncSteps);
13983
14044
  function createIriSchemas(path) {
13984
14045
  return {
13985
14046
  iriSchema: iriSchema(path),
@@ -14053,6 +14114,8 @@ var integrationJustEatMenuVersionIriSchema = integrationMenuVersionPathSchemas.j
14053
14114
  var integrationJustEatMenuVersionNullableIriSchema = integrationMenuVersionPathSchemas.justeat.iriNullableSchema;
14054
14115
  var integrationCassaInCloudIriSchema = integrationPathSchemas.cassa_in_cloud.iriSchema;
14055
14116
  var integrationCassaInCloudNullableIriSchema = integrationPathSchemas.cassa_in_cloud.iriNullableSchema;
14117
+ var integrationTilbyIriSchema = integrationPathSchemas.tilby.iriSchema;
14118
+ var integrationTilbyNullableIriSchema = integrationPathSchemas.tilby.iriNullableSchema;
14056
14119
  var integrationEcommerceIriSchema = integrationPathSchemas.ecommerce.iriSchema;
14057
14120
  var integrationEcommerceNullableIriSchema = integrationPathSchemas.ecommerce.iriNullableSchema;
14058
14121
  var integrationIriSchema = iriSchema("/integrations/:id");
@@ -14107,24 +14170,78 @@ var integrationCassaInCloudSyncSalesModesErrorLogIriSchema = iriSchema(
14107
14170
  var integrationCassaInCloudSyncTimetablesErrorLogIriSchema = iriSchema(
14108
14171
  "/integrations/cassa_in_cloud/:id/sync_timetables_processes/:processId/error_logs/:errorLogId"
14109
14172
  );
14173
+ var integrationTilbySyncFiscalMappingsProcessIriSchema = iriSchema(
14174
+ "/integrations/tilby/:id/sync_fiscal_mappings_processes/:processId"
14175
+ );
14176
+ var integrationTilbySyncCustomersProcessIriSchema = iriSchema(
14177
+ "/integrations/tilby/:id/sync_customers_processes/:processId"
14178
+ );
14179
+ var integrationTilbySyncMenuProcessIriSchema = iriSchema(
14180
+ "/integrations/tilby/:id/sync_menu_processes/:processId"
14181
+ );
14182
+ var integrationTilbySyncOrdersProcessIriSchema = iriSchema(
14183
+ "/integrations/tilby/:id/sync_orders_processes/:processId"
14184
+ );
14185
+ var integrationTilbySyncFiscalMappingsErrorLogIriSchema = iriSchema(
14186
+ "/integrations/tilby/:id/sync_fiscal_mappings_processes/:processId/error_logs/:errorLogId"
14187
+ );
14188
+ var integrationTilbySyncCustomersErrorLogIriSchema = iriSchema(
14189
+ "/integrations/tilby/:id/sync_customers_processes/:processId/error_logs/:errorLogId"
14190
+ );
14191
+ var integrationTilbySyncMenuErrorLogIriSchema = iriSchema(
14192
+ "/integrations/tilby/:id/sync_menu_processes/:processId/error_logs/:errorLogId"
14193
+ );
14194
+ var integrationTilbySyncOrdersErrorLogIriSchema = iriSchema(
14195
+ "/integrations/tilby/:id/sync_orders_processes/:processId/error_logs/:errorLogId"
14196
+ );
14110
14197
  var integrationCassaInCloudWebHookSettingIriSchema = iriSchema(
14111
14198
  "/integrations/cassa_in_cloud/:id/webhook_settings/:webHookId"
14112
14199
  );
14200
+ var integrationTilbyWebHookSettingIriSchema = iriSchema(
14201
+ "/integrations/tilby/:id/webhook_settings/:webHookId"
14202
+ );
14203
+ var integrationTilbyWebHookEventIriSchema = iriSchema(
14204
+ "/integrations/tilby/:id/webhook_events/:eventId"
14205
+ );
14113
14206
  var integrationCassaInCloudDepartmentMappingIriSchema = iriSchema(
14114
14207
  "/integrations/cassa_in_cloud/:id/department_mappings/:departmentId"
14115
14208
  );
14209
+ var integrationTilbyDepartmentMappingIriSchema = iriSchema(
14210
+ "/integrations/tilby/:id/department_mappings/:mappingId"
14211
+ );
14212
+ var integrationTilbyDepartmentMappingNullableIriSchema = iriNullableSchema(
14213
+ "/integrations/tilby/:id/department_mappings/:mappingId"
14214
+ );
14215
+ var integrationTilbyVatMappingIriSchema = iriSchema(
14216
+ "/integrations/tilby/:id/vat_mappings/:mappingId"
14217
+ );
14218
+ var integrationTilbyVatMappingNullableIriSchema = iriNullableSchema(
14219
+ "/integrations/tilby/:id/vat_mappings/:mappingId"
14220
+ );
14116
14221
  var integrationCassaInCloudCategoryMappingIriSchema = iriSchema(
14117
14222
  "/integrations/cassa_in_cloud/:id/category_mappings/:categoryId"
14118
14223
  );
14119
14224
  var integrationCassaInCloudCategoryMappingNullableIriSchema = iriNullableSchema(
14120
14225
  "/integrations/cassa_in_cloud/:id/category_mappings/:categoryId"
14121
14226
  );
14227
+ var integrationTilbyCategoryMappingIriSchema = iriSchema(
14228
+ "/integrations/tilby/:id/category_mappings/:mappingId"
14229
+ );
14230
+ var integrationTilbyCategoryMappingNullableIriSchema = iriNullableSchema(
14231
+ "/integrations/tilby/:id/category_mappings/:mappingId"
14232
+ );
14122
14233
  var integrationCassaInCloudOptionMappingIriSchema = iriSchema(
14123
14234
  "/integrations/cassa_in_cloud/:id/option_mappings/:optionId"
14124
14235
  );
14125
14236
  var integrationCassaInCloudComponentMappingIriSchema = iriSchema(
14126
14237
  "/integrations/cassa_in_cloud/:id/component_mappings/:componentId"
14127
14238
  );
14239
+ var integrationTilbyComponentMappingIriSchema = iriSchema(
14240
+ "/integrations/tilby/:id/component_mappings/:mappingId"
14241
+ );
14242
+ var integrationTilbyComponentMappingNullableIriSchema = iriNullableSchema(
14243
+ "/integrations/tilby/:id/component_mappings/:mappingId"
14244
+ );
14128
14245
  var integrationCassaInCloudOrganizationMappingIriSchema = iriSchema(
14129
14246
  "/integrations/cassa_in_cloud/:id/organization_mappings/:mappingId"
14130
14247
  );
@@ -14134,12 +14251,24 @@ var integrationCassaInCloudProductMappingIriSchema = iriSchema(
14134
14251
  var integrationCassaInCloudProductMappingNullableIriSchema = iriNullableSchema(
14135
14252
  "/integrations/cassa_in_cloud/:id/product_mappings/:productId"
14136
14253
  );
14254
+ var integrationTilbyProductMappingIriSchema = iriSchema(
14255
+ "/integrations/tilby/:id/product_mappings/:mappingId"
14256
+ );
14257
+ var integrationTilbyProductMappingNullableIriSchema = iriNullableSchema(
14258
+ "/integrations/tilby/:id/product_mappings/:mappingId"
14259
+ );
14137
14260
  var integrationCassaInCloudProductVariantMappingIriSchema = iriSchema(
14138
14261
  "/integrations/cassa_in_cloud/:id/product_mappings/:productId/variant_mappings/:variantId"
14139
14262
  );
14140
14263
  var integrationCassaInCloudProductVariantMappingNullableIriSchema = iriNullableSchema(
14141
14264
  "/integrations/cassa_in_cloud/:id/product_mappings/:productId/variant_mappings/:variantId"
14142
14265
  );
14266
+ var integrationTilbyProductVariantMappingIriSchema = iriSchema(
14267
+ "/integrations/tilby/:id/product_mappings/:productId/variant_mappings/:variantId"
14268
+ );
14269
+ var integrationTilbyProductVariantMappingNullableIriSchema = iriNullableSchema(
14270
+ "/integrations/tilby/:id/product_mappings/:productId/variant_mappings/:variantId"
14271
+ );
14143
14272
  var integrationCassaInCloudSalesModeMappingIriSchema = iriSchema(
14144
14273
  "/integrations/cassa_in_cloud/:id/sales_mode_mappings/:mappingId"
14145
14274
  );
@@ -14149,12 +14278,24 @@ var integrationCassaInCloudCustomerMappingIriSchema = iriSchema(
14149
14278
  var integrationCassaInCloudCustomerMappingNullableIriSchema = iriNullableSchema(
14150
14279
  "/integrations/cassa_in_cloud/:id/customer_mappings/:mappingId"
14151
14280
  );
14281
+ var integrationTilbyCustomerMappingIriSchema = iriSchema(
14282
+ "/integrations/tilby/:id/customer_mappings/:mappingId"
14283
+ );
14284
+ var integrationTilbyCustomerMappingNullableIriSchema = iriNullableSchema(
14285
+ "/integrations/tilby/:id/customer_mappings/:mappingId"
14286
+ );
14152
14287
  var integrationCassaInCloudOrderMappingIriSchema = iriSchema(
14153
14288
  "/integrations/cassa_in_cloud/:id/order_mappings/:orderId"
14154
14289
  );
14155
14290
  var integrationCassaInCloudOrderMappingNullableIriSchema = iriNullableSchema(
14156
14291
  "/integrations/cassa_in_cloud/:id/order_mappings/:orderId"
14157
14292
  );
14293
+ var integrationTilbyOrderMappingIriSchema = iriSchema(
14294
+ "/integrations/tilby/:id/order_mappings/:mappingId"
14295
+ );
14296
+ var integrationTilbyOrderMappingNullableIriSchema = iriNullableSchema(
14297
+ "/integrations/tilby/:id/order_mappings/:mappingId"
14298
+ );
14158
14299
  var integrationCassaInCloudOptionValueMappingIriSchema = iriSchema(
14159
14300
  "/integrations/cassa_in_cloud/:id/option_value_mappings/:optionValueId"
14160
14301
  );
@@ -15809,6 +15950,553 @@ var integrationKitchenAccessTokensQuerySchema = external_exports.object({
15809
15950
  page: external_exports.coerce.number().optional()
15810
15951
  });
15811
15952
 
15953
+ // src/service-schemas/tilby.ts
15954
+ import { customerIriSchema as customerIriSchema2 } from "@deliverart/sdk-js-customer";
15955
+ import {
15956
+ booleanSchema as booleanSchema5,
15957
+ datetimeSchema as datetimeSchema9,
15958
+ sortDirSchema as sortDirSchema8,
15959
+ timestampsFilterSchema as timestampsFilterSchema7
15960
+ } from "@deliverart/sdk-js-global-types";
15961
+ import {
15962
+ menuItemCategoryNullableIriSchema,
15963
+ menuItemModifierNullableIriSchema,
15964
+ menuItemNullableIriSchema as menuItemNullableIriSchema2,
15965
+ menuItemPriceOverrideNullableIriSchema as menuItemPriceOverrideNullableIriSchema2
15966
+ } from "@deliverart/sdk-js-menu";
15967
+ import { orderNullableIriSchema as orderNullableIriSchema5 } from "@deliverart/sdk-js-order";
15968
+ var exactStringFilterSchema2 = external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional();
15969
+ var exactNumberFilterSchema = external_exports.union([external_exports.coerce.number(), external_exports.array(external_exports.coerce.number())]).optional();
15970
+ var dateFilterShape = {
15971
+ "createdAt[before]": external_exports.string().optional(),
15972
+ "createdAt[strictly_before]": external_exports.string().optional(),
15973
+ "createdAt[after]": external_exports.string().optional(),
15974
+ "createdAt[strictly_after]": external_exports.string().optional()
15975
+ };
15976
+ var integrationTilbySyncSettingsSchema = external_exports.object({
15977
+ externalCascadeDeleteOrder: external_exports.boolean().default(true),
15978
+ internalCascadeDeleteOrder: external_exports.boolean().default(true),
15979
+ internalCascadeUpdateOrderStatus: external_exports.boolean().default(true),
15980
+ externalCascadeDeleteCustomer: external_exports.boolean().default(true),
15981
+ internalCascadeDeleteCustomer: external_exports.boolean().default(true),
15982
+ internalCascadeUpdateCustomer: external_exports.boolean().default(true),
15983
+ skipSyncProductDescription: external_exports.boolean().default(false),
15984
+ skipSyncImages: external_exports.boolean().default(false),
15985
+ syncInboundMenu: external_exports.boolean().default(true),
15986
+ syncOutboundMenu: external_exports.boolean().default(false),
15987
+ syncInboundCustomers: external_exports.boolean().default(false),
15988
+ syncOutboundCustomers: external_exports.boolean().default(true),
15989
+ syncInboundOrders: external_exports.boolean().default(false),
15990
+ syncOutboundOrders: external_exports.boolean().default(true),
15991
+ syncInboundStock: external_exports.boolean().default(false),
15992
+ syncOutboundStock: external_exports.boolean().default(false),
15993
+ syncWebhooks: external_exports.boolean().default(true),
15994
+ syncClosedSalesOnly: external_exports.boolean().default(false),
15995
+ allowClosedSaleCreation: external_exports.boolean().default(false)
15996
+ });
15997
+ var integrationTilbyEditableSyncSettingsSchema = integrationTilbySyncSettingsSchema.omit({
15998
+ allowClosedSaleCreation: true
15999
+ }).partial();
16000
+ var integrationTilbySyncTimesSchema = external_exports.object({
16001
+ latestWebHookSyncAt: datetimeSchema9.nullable(),
16002
+ latestFiscalMappingsSyncInboundAt: datetimeSchema9.nullable(),
16003
+ latestMenuSyncInboundAt: datetimeSchema9.nullable(),
16004
+ latestMenuSyncOutboundAt: datetimeSchema9.nullable(),
16005
+ latestCustomersSyncInboundAt: datetimeSchema9.nullable(),
16006
+ latestCustomersSyncOutboundAt: datetimeSchema9.nullable(),
16007
+ latestOrdersSyncInboundAt: datetimeSchema9.nullable(),
16008
+ latestOrdersSyncOutboundAt: datetimeSchema9.nullable(),
16009
+ latestStockSyncInboundAt: datetimeSchema9.nullable(),
16010
+ latestStockSyncOutboundAt: datetimeSchema9.nullable()
16011
+ });
16012
+ var integrationTilbySchema = integrationBaseSchema.omit({ service: true }).extend({
16013
+ service: integrationServiceSchema.extract(["tilby"]),
16014
+ clientId: external_exports.string().nullable(),
16015
+ shopId: external_exports.coerce.number().nullable(),
16016
+ shopUuid: external_exports.string().nullable(),
16017
+ shopName: external_exports.string().nullable(),
16018
+ webhookEmail: external_exports.string().nullable(),
16019
+ xClient: external_exports.string(),
16020
+ defaultSellerId: external_exports.coerce.number().nullable(),
16021
+ defaultSellerName: external_exports.string(),
16022
+ autoPrintOrder: external_exports.boolean(),
16023
+ deliverartChannelId: external_exports.string().nullable(),
16024
+ deliverartChannelName: external_exports.string(),
16025
+ defaultPaymentMethodId: external_exports.coerce.number().nullable(),
16026
+ defaultPaymentMethodName: external_exports.string().nullable(),
16027
+ defaultPaymentMethodTypeId: external_exports.coerce.number().nullable(),
16028
+ defaultPaymentMethodTypeName: external_exports.string().nullable(),
16029
+ defaultStockLocationId: external_exports.coerce.number(),
16030
+ syncSettings: integrationTilbySyncSettingsSchema,
16031
+ syncTimes: integrationTilbySyncTimesSchema
16032
+ });
16033
+ var integrationTilbyDetailsSchema = integrationTilbySchema.extend({
16034
+ apiToken: external_exports.string()
16035
+ }).extend(integrationDetailsFieldsSchema.shape);
16036
+ var integrationTilbyEditableFieldsSchema = external_exports.object({
16037
+ apiToken: external_exports.string().trim().min(1, "apiToken.required"),
16038
+ webhookEmail: external_exports.string().email().nullable().default(null),
16039
+ xClient: external_exports.string().trim().min(1, "xClient.required").default("deliverart"),
16040
+ defaultSellerId: external_exports.coerce.number().nullable().default(null),
16041
+ defaultSellerName: external_exports.string().trim().min(1, "defaultSellerName.required").default("Deliverart"),
16042
+ autoPrintOrder: external_exports.boolean().default(false),
16043
+ deliverartChannelName: external_exports.string().trim().min(1, "deliverartChannelName.required").default("Deliverart"),
16044
+ defaultPaymentMethodId: external_exports.coerce.number().nullable().default(null),
16045
+ defaultPaymentMethodName: external_exports.string().nullable().default(null),
16046
+ defaultPaymentMethodTypeId: external_exports.coerce.number().nullable().default(null),
16047
+ defaultPaymentMethodTypeName: external_exports.string().nullable().default(null),
16048
+ defaultStockLocationId: external_exports.coerce.number().int().positive().default(1),
16049
+ syncSettings: integrationTilbyEditableSyncSettingsSchema.default({}),
16050
+ provider: integrationProviderSchema.default("deliverart")
16051
+ });
16052
+ var integrationsTilbyQuerySchema = external_exports.object({
16053
+ "order[createdAt]": sortDirSchema8.optional(),
16054
+ "order[updatedAt]": sortDirSchema8.optional(),
16055
+ "order[syncTimes.latestWebHookSyncAt]": sortDirSchema8.optional(),
16056
+ "order[syncTimes.latestFiscalMappingsSyncInboundAt]": sortDirSchema8.optional(),
16057
+ "order[syncTimes.latestMenuSyncInboundAt]": sortDirSchema8.optional(),
16058
+ "order[syncTimes.latestMenuSyncOutboundAt]": sortDirSchema8.optional(),
16059
+ "order[syncTimes.latestCustomersSyncInboundAt]": sortDirSchema8.optional(),
16060
+ "order[syncTimes.latestCustomersSyncOutboundAt]": sortDirSchema8.optional(),
16061
+ "order[syncTimes.latestOrdersSyncInboundAt]": sortDirSchema8.optional(),
16062
+ "order[syncTimes.latestOrdersSyncOutboundAt]": sortDirSchema8.optional(),
16063
+ "order[syncTimes.latestStockSyncInboundAt]": sortDirSchema8.optional(),
16064
+ "order[syncTimes.latestStockSyncOutboundAt]": sortDirSchema8.optional(),
16065
+ id: exactStringFilterSchema2,
16066
+ clientId: exactStringFilterSchema2,
16067
+ shopId: exactNumberFilterSchema,
16068
+ shopUuid: exactStringFilterSchema2,
16069
+ shopName: exactStringFilterSchema2,
16070
+ status: external_exports.union([integrationStatusSchema, external_exports.array(integrationStatusSchema)]).optional(),
16071
+ connectionId: exactStringFilterSchema2,
16072
+ autoPrintOrder: booleanSchema5.optional(),
16073
+ service: integrationServiceSchema.extract(["tilby"]).optional(),
16074
+ "syncTimes.latestWebHookSyncAt[before]": external_exports.string().optional(),
16075
+ "syncTimes.latestWebHookSyncAt[strictly_before]": external_exports.string().optional(),
16076
+ "syncTimes.latestWebHookSyncAt[after]": external_exports.string().optional(),
16077
+ "syncTimes.latestWebHookSyncAt[strictly_after]": external_exports.string().optional(),
16078
+ "syncTimes.latestFiscalMappingsSyncInboundAt[before]": external_exports.string().optional(),
16079
+ "syncTimes.latestFiscalMappingsSyncInboundAt[strictly_before]": external_exports.string().optional(),
16080
+ "syncTimes.latestFiscalMappingsSyncInboundAt[after]": external_exports.string().optional(),
16081
+ "syncTimes.latestFiscalMappingsSyncInboundAt[strictly_after]": external_exports.string().optional(),
16082
+ "syncTimes.latestMenuSyncInboundAt[before]": external_exports.string().optional(),
16083
+ "syncTimes.latestMenuSyncInboundAt[strictly_before]": external_exports.string().optional(),
16084
+ "syncTimes.latestMenuSyncInboundAt[after]": external_exports.string().optional(),
16085
+ "syncTimes.latestMenuSyncInboundAt[strictly_after]": external_exports.string().optional(),
16086
+ "syncTimes.latestMenuSyncOutboundAt[before]": external_exports.string().optional(),
16087
+ "syncTimes.latestMenuSyncOutboundAt[strictly_before]": external_exports.string().optional(),
16088
+ "syncTimes.latestMenuSyncOutboundAt[after]": external_exports.string().optional(),
16089
+ "syncTimes.latestMenuSyncOutboundAt[strictly_after]": external_exports.string().optional(),
16090
+ "syncTimes.latestCustomersSyncInboundAt[before]": external_exports.string().optional(),
16091
+ "syncTimes.latestCustomersSyncInboundAt[strictly_before]": external_exports.string().optional(),
16092
+ "syncTimes.latestCustomersSyncInboundAt[after]": external_exports.string().optional(),
16093
+ "syncTimes.latestCustomersSyncInboundAt[strictly_after]": external_exports.string().optional(),
16094
+ "syncTimes.latestCustomersSyncOutboundAt[before]": external_exports.string().optional(),
16095
+ "syncTimes.latestCustomersSyncOutboundAt[strictly_before]": external_exports.string().optional(),
16096
+ "syncTimes.latestCustomersSyncOutboundAt[after]": external_exports.string().optional(),
16097
+ "syncTimes.latestCustomersSyncOutboundAt[strictly_after]": external_exports.string().optional(),
16098
+ "syncTimes.latestOrdersSyncInboundAt[before]": external_exports.string().optional(),
16099
+ "syncTimes.latestOrdersSyncInboundAt[strictly_before]": external_exports.string().optional(),
16100
+ "syncTimes.latestOrdersSyncInboundAt[after]": external_exports.string().optional(),
16101
+ "syncTimes.latestOrdersSyncInboundAt[strictly_after]": external_exports.string().optional(),
16102
+ "syncTimes.latestOrdersSyncOutboundAt[before]": external_exports.string().optional(),
16103
+ "syncTimes.latestOrdersSyncOutboundAt[strictly_before]": external_exports.string().optional(),
16104
+ "syncTimes.latestOrdersSyncOutboundAt[after]": external_exports.string().optional(),
16105
+ "syncTimes.latestOrdersSyncOutboundAt[strictly_after]": external_exports.string().optional(),
16106
+ "syncTimes.latestStockSyncInboundAt[before]": external_exports.string().optional(),
16107
+ "syncTimes.latestStockSyncInboundAt[strictly_before]": external_exports.string().optional(),
16108
+ "syncTimes.latestStockSyncInboundAt[after]": external_exports.string().optional(),
16109
+ "syncTimes.latestStockSyncInboundAt[strictly_after]": external_exports.string().optional(),
16110
+ "syncTimes.latestStockSyncOutboundAt[before]": external_exports.string().optional(),
16111
+ "syncTimes.latestStockSyncOutboundAt[strictly_before]": external_exports.string().optional(),
16112
+ "syncTimes.latestStockSyncOutboundAt[after]": external_exports.string().optional(),
16113
+ "syncTimes.latestStockSyncOutboundAt[strictly_after]": external_exports.string().optional(),
16114
+ page: external_exports.coerce.number().optional()
16115
+ }).extend(timestampsFilterSchema7.shape);
16116
+ var integrationTilbyMappingSyncStateSchema = external_exports.object({
16117
+ syncedInbound: external_exports.boolean(),
16118
+ syncedOutbound: external_exports.boolean(),
16119
+ syncStatus: integrationTilbyMappingSyncStatusSchema,
16120
+ lastSyncDirection: integrationTilbySyncDirectionSchema.nullable(),
16121
+ lastSyncAttemptedAt: datetimeSchema9.nullable(),
16122
+ lastSyncedAt: datetimeSchema9.nullable(),
16123
+ syncFailureCode: integrationTilbyMappingSyncFailureCodeSchema.nullable(),
16124
+ syncFailureDetail: external_exports.string().nullable()
16125
+ });
16126
+ var integrationTilbyMappingSyncStateEditableFieldsSchema = integrationTilbyMappingSyncStateSchema.pick({
16127
+ syncStatus: true,
16128
+ syncFailureCode: true,
16129
+ syncFailureDetail: true
16130
+ }).partial();
16131
+ var mappingQueryBaseShape = {
16132
+ "order[createdAt]": sortDirSchema8.optional(),
16133
+ id: exactStringFilterSchema2,
16134
+ syncStatus: external_exports.union([
16135
+ integrationTilbyMappingSyncStatusSchema,
16136
+ external_exports.array(integrationTilbyMappingSyncStatusSchema)
16137
+ ]).optional(),
16138
+ syncFailureCode: external_exports.union([
16139
+ integrationTilbyMappingSyncFailureCodeSchema,
16140
+ external_exports.array(integrationTilbyMappingSyncFailureCodeSchema)
16141
+ ]).optional(),
16142
+ lastSyncDirection: external_exports.union([integrationTilbySyncDirectionSchema, external_exports.array(integrationTilbySyncDirectionSchema)]).optional(),
16143
+ syncedInbound: booleanSchema5.optional(),
16144
+ syncedOutbound: booleanSchema5.optional(),
16145
+ ...dateFilterShape
16146
+ };
16147
+ var integrationTilbyDepartmentMappingSchema = integrationTilbyMappingSyncStateSchema.extend({
16148
+ id: external_exports.string(),
16149
+ tilbyDepartmentId: external_exports.coerce.number().nullable(),
16150
+ tilbyDepartmentName: external_exports.string().nullable(),
16151
+ vatPerc: external_exports.string().nullable(),
16152
+ internalDepartmentCode: external_exports.string().nullable(),
16153
+ resolved: external_exports.boolean(),
16154
+ createdAt: datetimeSchema9
16155
+ });
16156
+ var integrationTilbyDepartmentMappingDetailsSchema = integrationTilbyDepartmentMappingSchema.extend({
16157
+ integration: integrationTilbyIriSchema,
16158
+ resolutionNotes: external_exports.string().nullable()
16159
+ });
16160
+ var integrationTilbyDepartmentMappingEditableFieldsSchema = integrationTilbyMappingSyncStateEditableFieldsSchema.extend({
16161
+ internalDepartmentCode: external_exports.string().nullable().optional(),
16162
+ resolved: external_exports.boolean().optional(),
16163
+ resolutionNotes: external_exports.string().nullable().optional()
16164
+ });
16165
+ var integrationTilbyDepartmentMappingsQuerySchema = external_exports.object({
16166
+ ...mappingQueryBaseShape,
16167
+ tilbyDepartmentId: exactNumberFilterSchema,
16168
+ tilbyDepartmentName: exactStringFilterSchema2,
16169
+ internalDepartmentCode: exactStringFilterSchema2,
16170
+ resolved: booleanSchema5.optional()
16171
+ });
16172
+ var integrationTilbyVatMappingSchema = integrationTilbyMappingSyncStateSchema.extend({
16173
+ id: external_exports.string(),
16174
+ tilbyVatId: external_exports.coerce.number().nullable(),
16175
+ tilbyVatPerc: external_exports.string().nullable(),
16176
+ internalVatPerc: external_exports.string().nullable(),
16177
+ resolved: external_exports.boolean(),
16178
+ createdAt: datetimeSchema9
16179
+ });
16180
+ var integrationTilbyVatMappingDetailsSchema = integrationTilbyVatMappingSchema.extend({
16181
+ integration: integrationTilbyIriSchema,
16182
+ resolutionNotes: external_exports.string().nullable()
16183
+ });
16184
+ var integrationTilbyVatMappingEditableFieldsSchema = integrationTilbyMappingSyncStateEditableFieldsSchema.extend({
16185
+ internalVatPerc: external_exports.string().nullable().optional(),
16186
+ resolved: external_exports.boolean().optional(),
16187
+ resolutionNotes: external_exports.string().nullable().optional()
16188
+ });
16189
+ var integrationTilbyVatMappingsQuerySchema = external_exports.object({
16190
+ ...mappingQueryBaseShape,
16191
+ tilbyVatId: exactNumberFilterSchema,
16192
+ resolved: booleanSchema5.optional()
16193
+ });
16194
+ var integrationTilbyCategoryMappingSchema = integrationTilbyMappingSyncStateSchema.extend({
16195
+ id: external_exports.string(),
16196
+ tilbyCategoryId: external_exports.coerce.number().nullable(),
16197
+ tilbyCategoryUuid: external_exports.string().nullable(),
16198
+ externalId: external_exports.string().nullable(),
16199
+ tilbyCategoryName: external_exports.string().nullable(),
16200
+ createdAt: datetimeSchema9
16201
+ });
16202
+ var integrationTilbyCategoryMappingDetailsSchema = integrationTilbyCategoryMappingSchema.extend({
16203
+ integration: integrationTilbyIriSchema,
16204
+ menuItemCategory: menuItemCategoryNullableIriSchema
16205
+ });
16206
+ var integrationTilbyCategoryMappingEditableFieldsSchema = integrationTilbyMappingSyncStateEditableFieldsSchema.extend({
16207
+ menuItemCategory: menuItemCategoryNullableIriSchema.optional()
16208
+ });
16209
+ var integrationTilbyCategoryMappingsQuerySchema = external_exports.object({
16210
+ ...mappingQueryBaseShape,
16211
+ tilbyCategoryId: exactNumberFilterSchema,
16212
+ tilbyCategoryUuid: exactStringFilterSchema2,
16213
+ externalId: exactStringFilterSchema2,
16214
+ tilbyCategoryName: exactStringFilterSchema2,
16215
+ menuItemCategory: exactStringFilterSchema2
16216
+ });
16217
+ var integrationTilbyComponentMappingSchema = integrationTilbyMappingSyncStateSchema.extend(
16218
+ {
16219
+ id: external_exports.string(),
16220
+ tilbyComponentId: external_exports.coerce.number().nullable(),
16221
+ tilbyComponentUuid: external_exports.string().nullable(),
16222
+ externalId: external_exports.string().nullable(),
16223
+ tilbyComponentName: external_exports.string().nullable(),
16224
+ createdAt: datetimeSchema9
16225
+ }
16226
+ );
16227
+ var integrationTilbyComponentMappingDetailsSchema = integrationTilbyComponentMappingSchema.extend({
16228
+ integration: integrationTilbyIriSchema,
16229
+ menuItemModifier: menuItemModifierNullableIriSchema
16230
+ });
16231
+ var integrationTilbyComponentMappingEditableFieldsSchema = integrationTilbyMappingSyncStateEditableFieldsSchema.extend({
16232
+ menuItemModifier: menuItemModifierNullableIriSchema.optional()
16233
+ });
16234
+ var integrationTilbyComponentMappingsQuerySchema = external_exports.object({
16235
+ ...mappingQueryBaseShape,
16236
+ tilbyComponentId: exactNumberFilterSchema,
16237
+ tilbyComponentUuid: exactStringFilterSchema2,
16238
+ externalId: exactStringFilterSchema2,
16239
+ tilbyComponentName: exactStringFilterSchema2,
16240
+ menuItemModifier: exactStringFilterSchema2
16241
+ });
16242
+ var integrationTilbyProductMappingSchema = integrationTilbyMappingSyncStateSchema.extend({
16243
+ id: external_exports.string(),
16244
+ categoryMapping: integrationTilbyCategoryMappingNullableIriSchema,
16245
+ departmentMapping: integrationTilbyDepartmentMappingNullableIriSchema,
16246
+ tilbyItemId: external_exports.coerce.number().nullable(),
16247
+ tilbyItemUuid: external_exports.string().nullable(),
16248
+ externalId: external_exports.string().nullable(),
16249
+ sku: external_exports.string().nullable(),
16250
+ tilbyItemName: external_exports.string().nullable(),
16251
+ tilbyItemIsGroupItem: external_exports.boolean().nullable(),
16252
+ createdAt: datetimeSchema9
16253
+ });
16254
+ var integrationTilbyProductMappingDetailsSchema = integrationTilbyProductMappingSchema.extend({
16255
+ integration: integrationTilbyIriSchema,
16256
+ menuItem: menuItemNullableIriSchema2,
16257
+ variants: external_exports.array(integrationTilbyProductVariantMappingIriSchema)
16258
+ });
16259
+ var integrationTilbyProductMappingEditableFieldsSchema = integrationTilbyMappingSyncStateEditableFieldsSchema.extend({
16260
+ menuItem: menuItemNullableIriSchema2.optional(),
16261
+ categoryMapping: integrationTilbyCategoryMappingNullableIriSchema.optional(),
16262
+ departmentMapping: integrationTilbyDepartmentMappingNullableIriSchema.optional()
16263
+ });
16264
+ var integrationTilbyProductMappingsQuerySchema = external_exports.object({
16265
+ ...mappingQueryBaseShape,
16266
+ tilbyItemId: exactNumberFilterSchema,
16267
+ tilbyItemUuid: exactStringFilterSchema2,
16268
+ externalId: exactStringFilterSchema2,
16269
+ sku: exactStringFilterSchema2,
16270
+ tilbyItemName: exactStringFilterSchema2,
16271
+ menuItem: exactStringFilterSchema2,
16272
+ categoryMapping: exactStringFilterSchema2,
16273
+ departmentMapping: exactStringFilterSchema2,
16274
+ tilbyItemIsGroupItem: booleanSchema5.optional()
16275
+ });
16276
+ var integrationTilbyProductVariantMappingSchema = integrationTilbyMappingSyncStateSchema.extend({
16277
+ id: external_exports.string(),
16278
+ tilbyCombinationId: external_exports.coerce.number().nullable(),
16279
+ tilbyCombinationUuid: external_exports.string().nullable(),
16280
+ externalId: external_exports.string().nullable(),
16281
+ sku: external_exports.string().nullable(),
16282
+ tilbyCombinationName: external_exports.string().nullable(),
16283
+ createdAt: datetimeSchema9
16284
+ });
16285
+ var integrationTilbyProductVariantMappingDetailsSchema = integrationTilbyProductVariantMappingSchema.extend({
16286
+ productMapping: integrationTilbyProductMappingIriSchema,
16287
+ menuItemPriceOverride: menuItemPriceOverrideNullableIriSchema2
16288
+ });
16289
+ var integrationTilbyProductVariantMappingEditableFieldsSchema = integrationTilbyMappingSyncStateEditableFieldsSchema.extend({
16290
+ menuItemPriceOverride: menuItemPriceOverrideNullableIriSchema2.optional()
16291
+ });
16292
+ var integrationTilbyProductVariantMappingsQuerySchema = external_exports.object({
16293
+ ...mappingQueryBaseShape,
16294
+ tilbyCombinationId: exactNumberFilterSchema,
16295
+ tilbyCombinationUuid: exactStringFilterSchema2,
16296
+ externalId: exactStringFilterSchema2,
16297
+ sku: exactStringFilterSchema2,
16298
+ menuItemPriceOverride: exactStringFilterSchema2
16299
+ });
16300
+ var integrationTilbyCustomerMappingSchema = integrationTilbyMappingSyncStateSchema.extend({
16301
+ id: external_exports.string(),
16302
+ tilbyCustomerId: external_exports.coerce.number(),
16303
+ tilbyCustomerUuid: external_exports.string().nullable(),
16304
+ externalId: external_exports.string().nullable(),
16305
+ createdAt: datetimeSchema9
16306
+ });
16307
+ var integrationTilbyCustomerMappingDetailsSchema = integrationTilbyCustomerMappingSchema.extend({
16308
+ integration: integrationTilbyIriSchema,
16309
+ customer: customerIriSchema2
16310
+ });
16311
+ var integrationTilbyCustomerMappingsQuerySchema = external_exports.object({
16312
+ ...mappingQueryBaseShape,
16313
+ tilbyCustomerId: exactNumberFilterSchema,
16314
+ tilbyCustomerUuid: exactStringFilterSchema2,
16315
+ externalId: exactStringFilterSchema2,
16316
+ customer: exactStringFilterSchema2
16317
+ });
16318
+ var integrationTilbyOrderMappingSchema = integrationTilbyMappingSyncStateSchema.extend({
16319
+ id: external_exports.string(),
16320
+ tilbySaleId: external_exports.coerce.number().nullable(),
16321
+ tilbySaleUuid: external_exports.string().nullable(),
16322
+ tilbySaleStatus: external_exports.string().nullable(),
16323
+ tilbySaleAmount: external_exports.string().nullable(),
16324
+ tilbySaleFinalAmount: external_exports.string().nullable(),
16325
+ externalId: external_exports.string().nullable(),
16326
+ errorMessage: external_exports.string().nullable(),
16327
+ createdAt: datetimeSchema9,
16328
+ latestSaleSyncAt: datetimeSchema9.nullable()
16329
+ });
16330
+ var integrationTilbyOrderMappingDetailsSchema = integrationTilbyOrderMappingSchema.extend({
16331
+ integration: integrationTilbyIriSchema,
16332
+ order: orderNullableIriSchema5
16333
+ });
16334
+ var integrationTilbyOrderMappingsQuerySchema = external_exports.object({
16335
+ ...mappingQueryBaseShape,
16336
+ tilbySaleId: exactNumberFilterSchema,
16337
+ tilbySaleUuid: exactStringFilterSchema2,
16338
+ tilbySaleStatus: exactStringFilterSchema2,
16339
+ externalId: exactStringFilterSchema2,
16340
+ page: external_exports.coerce.number().optional()
16341
+ });
16342
+ var syncProcessQuerySchema = external_exports.object({
16343
+ "order[createdAt]": sortDirSchema8.optional(),
16344
+ "order[endAt]": sortDirSchema8.optional(),
16345
+ direction: external_exports.union([integrationTilbySyncDirectionSchema, external_exports.array(integrationTilbySyncDirectionSchema)]).optional(),
16346
+ mode: external_exports.union([integrationTilbySyncModeSchema, external_exports.array(integrationTilbySyncModeSchema)]).optional(),
16347
+ "createdAt[before]": external_exports.string().optional(),
16348
+ "createdAt[strictly_before]": external_exports.string().optional(),
16349
+ "createdAt[after]": external_exports.string().optional(),
16350
+ "createdAt[strictly_after]": external_exports.string().optional(),
16351
+ "endAt[before]": external_exports.string().optional(),
16352
+ "endAt[strictly_before]": external_exports.string().optional(),
16353
+ "endAt[after]": external_exports.string().optional(),
16354
+ "endAt[strictly_after]": external_exports.string().optional(),
16355
+ page: external_exports.coerce.number().optional()
16356
+ });
16357
+ var syncProcessBaseSchema = external_exports.object({
16358
+ id: external_exports.string(),
16359
+ direction: integrationTilbySyncDirectionSchema,
16360
+ mode: integrationTilbySyncModeSchema,
16361
+ createdAt: datetimeSchema9,
16362
+ syncFromAt: datetimeSchema9.nullable(),
16363
+ syncCutoffAt: datetimeSchema9.nullable(),
16364
+ endAt: datetimeSchema9.nullable()
16365
+ });
16366
+ var integrationTilbySyncFiscalMappingsProcessSchema = syncProcessBaseSchema.extend({
16367
+ currentSteps: external_exports.array(integrationTilbyFiscalMappingsSyncStepSchema)
16368
+ });
16369
+ var integrationTilbySyncFiscalMappingsProcessDetailsSchema = integrationTilbySyncFiscalMappingsProcessSchema.extend({
16370
+ integration: integrationTilbyIriSchema,
16371
+ errors: external_exports.array(integrationTilbySyncFiscalMappingsErrorLogIriSchema)
16372
+ });
16373
+ var integrationTilbySyncFiscalMappingsProcessesQuerySchema = syncProcessQuerySchema;
16374
+ var integrationTilbySyncCustomersProcessSchema = syncProcessBaseSchema.extend({
16375
+ currentSteps: external_exports.array(integrationTilbyCustomersSyncStepSchema)
16376
+ });
16377
+ var integrationTilbySyncCustomersProcessDetailsSchema = integrationTilbySyncCustomersProcessSchema.extend({
16378
+ integration: integrationTilbyIriSchema,
16379
+ errors: external_exports.array(integrationTilbySyncCustomersErrorLogIriSchema)
16380
+ });
16381
+ var integrationTilbySyncCustomersProcessesQuerySchema = syncProcessQuerySchema;
16382
+ var integrationTilbySyncMenuProcessSchema = syncProcessBaseSchema.extend({
16383
+ currentSteps: external_exports.array(integrationTilbyMenuSyncStepSchema)
16384
+ });
16385
+ var integrationTilbySyncMenuProcessDetailsSchema = integrationTilbySyncMenuProcessSchema.extend({
16386
+ integration: integrationTilbyIriSchema,
16387
+ errors: external_exports.array(integrationTilbySyncMenuErrorLogIriSchema)
16388
+ });
16389
+ var integrationTilbySyncMenuProcessesQuerySchema = syncProcessQuerySchema;
16390
+ var integrationTilbySyncOrdersProcessSchema = syncProcessBaseSchema.extend({
16391
+ currentSteps: external_exports.array(integrationTilbyOrdersSyncStepSchema)
16392
+ });
16393
+ var integrationTilbySyncOrdersProcessDetailsSchema = integrationTilbySyncOrdersProcessSchema.extend({
16394
+ integration: integrationTilbyIriSchema,
16395
+ errors: external_exports.array(integrationTilbySyncOrdersErrorLogIriSchema)
16396
+ });
16397
+ var integrationTilbySyncOrdersProcessesQuerySchema = syncProcessQuerySchema;
16398
+ function createSyncErrorLogSchemas(stepSchema, processSchema) {
16399
+ const schema = external_exports.object({
16400
+ id: external_exports.string(),
16401
+ step: stepSchema,
16402
+ externalId: external_exports.string().nullable(),
16403
+ internalId: external_exports.string().nullable(),
16404
+ message: external_exports.string(),
16405
+ trace: external_exports.string(),
16406
+ createdAt: datetimeSchema9
16407
+ });
16408
+ return {
16409
+ schema,
16410
+ detailsSchema: schema.extend({
16411
+ process: processSchema
16412
+ }),
16413
+ querySchema: external_exports.object({
16414
+ "order[createdAt]": sortDirSchema8.optional(),
16415
+ step: external_exports.union([stepSchema, external_exports.array(stepSchema)]).optional(),
16416
+ externalId: exactStringFilterSchema2,
16417
+ internalId: exactStringFilterSchema2,
16418
+ ...dateFilterShape,
16419
+ page: external_exports.coerce.number().optional()
16420
+ })
16421
+ };
16422
+ }
16423
+ var integrationTilbySyncFiscalMappingsErrorLogSchemas = createSyncErrorLogSchemas(
16424
+ integrationTilbyFiscalMappingsSyncStepSchema,
16425
+ integrationTilbySyncFiscalMappingsProcessIriSchema
16426
+ );
16427
+ var integrationTilbySyncFiscalMappingsErrorLogSchema = integrationTilbySyncFiscalMappingsErrorLogSchemas.schema;
16428
+ var integrationTilbySyncFiscalMappingsErrorLogDetailsSchema = integrationTilbySyncFiscalMappingsErrorLogSchemas.detailsSchema;
16429
+ var integrationTilbySyncFiscalMappingsErrorLogsQuerySchema = integrationTilbySyncFiscalMappingsErrorLogSchemas.querySchema;
16430
+ var integrationTilbySyncCustomersErrorLogSchemas = createSyncErrorLogSchemas(
16431
+ integrationTilbyCustomersSyncStepSchema,
16432
+ integrationTilbySyncCustomersProcessIriSchema
16433
+ );
16434
+ var integrationTilbySyncCustomersErrorLogSchema = integrationTilbySyncCustomersErrorLogSchemas.schema;
16435
+ var integrationTilbySyncCustomersErrorLogDetailsSchema = integrationTilbySyncCustomersErrorLogSchemas.detailsSchema;
16436
+ var integrationTilbySyncCustomersErrorLogsQuerySchema = integrationTilbySyncCustomersErrorLogSchemas.querySchema;
16437
+ var integrationTilbySyncMenuErrorLogSchemas = createSyncErrorLogSchemas(
16438
+ integrationTilbyMenuSyncStepSchema,
16439
+ integrationTilbySyncMenuProcessIriSchema
16440
+ );
16441
+ var integrationTilbySyncMenuErrorLogSchema = integrationTilbySyncMenuErrorLogSchemas.schema;
16442
+ var integrationTilbySyncMenuErrorLogDetailsSchema = integrationTilbySyncMenuErrorLogSchemas.detailsSchema;
16443
+ var integrationTilbySyncMenuErrorLogsQuerySchema = integrationTilbySyncMenuErrorLogSchemas.querySchema;
16444
+ var integrationTilbySyncOrdersErrorLogSchemas = createSyncErrorLogSchemas(
16445
+ integrationTilbyOrdersSyncStepSchema,
16446
+ integrationTilbySyncOrdersProcessIriSchema
16447
+ );
16448
+ var integrationTilbySyncOrdersErrorLogSchema = integrationTilbySyncOrdersErrorLogSchemas.schema;
16449
+ var integrationTilbySyncOrdersErrorLogDetailsSchema = integrationTilbySyncOrdersErrorLogSchemas.detailsSchema;
16450
+ var integrationTilbySyncOrdersErrorLogsQuerySchema = integrationTilbySyncOrdersErrorLogSchemas.querySchema;
16451
+ var integrationTilbyWebHookSettingSchema = external_exports.object({
16452
+ id: external_exports.string(),
16453
+ entityName: external_exports.string(),
16454
+ eventType: external_exports.string(),
16455
+ tilbyWebHookId: external_exports.string().nullable(),
16456
+ active: external_exports.boolean(),
16457
+ createdAt: datetimeSchema9
16458
+ });
16459
+ var integrationTilbyWebHookSettingDetailsSchema = integrationTilbyWebHookSettingSchema.extend({
16460
+ integration: integrationTilbyIriSchema,
16461
+ url: external_exports.string(),
16462
+ email: external_exports.string().nullable()
16463
+ });
16464
+ var integrationTilbyWebHookSettingsQuerySchema = external_exports.object({
16465
+ "order[createdAt]": sortDirSchema8.optional(),
16466
+ id: exactStringFilterSchema2,
16467
+ entityName: exactStringFilterSchema2,
16468
+ eventType: exactStringFilterSchema2,
16469
+ tilbyWebHookId: exactStringFilterSchema2,
16470
+ active: booleanSchema5.optional(),
16471
+ page: external_exports.coerce.number().optional()
16472
+ });
16473
+ var integrationTilbyWebHookEventSchema = external_exports.object({
16474
+ id: external_exports.string(),
16475
+ entityName: external_exports.string().nullable(),
16476
+ eventType: external_exports.string().nullable(),
16477
+ notificationUuid: external_exports.string().nullable(),
16478
+ environmentId: external_exports.string().nullable(),
16479
+ clientId: external_exports.string().nullable(),
16480
+ nRetry: external_exports.coerce.number().nullable(),
16481
+ createdAt: datetimeSchema9
16482
+ });
16483
+ var integrationTilbyWebHookEventDetailsSchema = integrationTilbyWebHookEventSchema.extend({
16484
+ integration: integrationTilbyIriSchema,
16485
+ signature: external_exports.string().nullable(),
16486
+ rawBody: external_exports.string(),
16487
+ payload: external_exports.unknown()
16488
+ });
16489
+ var integrationTilbyWebHookEventsQuerySchema = external_exports.object({
16490
+ "order[createdAt]": sortDirSchema8.optional(),
16491
+ id: exactStringFilterSchema2,
16492
+ entityName: exactStringFilterSchema2,
16493
+ eventType: exactStringFilterSchema2,
16494
+ notificationUuid: exactStringFilterSchema2,
16495
+ clientId: exactStringFilterSchema2,
16496
+ ...dateFilterShape,
16497
+ page: external_exports.coerce.number().optional()
16498
+ });
16499
+
15812
16500
  // src/integration-schemas.ts
15813
16501
  var integrationSchema = external_exports.discriminatedUnion("service", [
15814
16502
  integrationKitchenSchema,
@@ -15816,6 +16504,7 @@ var integrationSchema = external_exports.discriminatedUnion("service", [
15816
16504
  integrationDeliverooSchema,
15817
16505
  integrationGlovoSchema,
15818
16506
  integrationCassaInCloudSchema,
16507
+ integrationTilbySchema,
15819
16508
  integrationEcommerceSchema
15820
16509
  ]);
15821
16510
  var integrationDetailsSchema = external_exports.discriminatedUnion("service", [
@@ -15824,6 +16513,7 @@ var integrationDetailsSchema = external_exports.discriminatedUnion("service", [
15824
16513
  integrationDeliverooDetailsSchema,
15825
16514
  integrationGlovoDetailsSchema,
15826
16515
  integrationCassaInCloudDetailsSchema,
16516
+ integrationTilbyDetailsSchema,
15827
16517
  integrationEcommerceDetailsSchema
15828
16518
  ]);
15829
16519
 
@@ -15965,14 +16655,14 @@ var GetIntegrationActivationRequestDetails = class extends AbstractApiRequest5 {
15965
16655
  import { AbstractApiRequest as AbstractApiRequest6 } from "@deliverart/sdk-js-core";
15966
16656
  import {
15967
16657
  createPaginatedSchema,
15968
- sortDirSchema as sortDirSchema8,
15969
- timestampsFilterSchema as timestampsFilterSchema7
16658
+ sortDirSchema as sortDirSchema9,
16659
+ timestampsFilterSchema as timestampsFilterSchema8
15970
16660
  } from "@deliverart/sdk-js-global-types";
15971
16661
  var getIntegrationActivationRequestsQuerySchema = external_exports.object({
15972
- "order[service]": sortDirSchema8.optional(),
15973
- "order[status]": sortDirSchema8.optional(),
15974
- "order[createdAt]": sortDirSchema8.optional(),
15975
- "order[updatedAt]": sortDirSchema8.optional(),
16662
+ "order[service]": sortDirSchema9.optional(),
16663
+ "order[status]": sortDirSchema9.optional(),
16664
+ "order[createdAt]": sortDirSchema9.optional(),
16665
+ "order[updatedAt]": sortDirSchema9.optional(),
15976
16666
  service: external_exports.union([integrationServiceSchema, external_exports.array(integrationServiceSchema)]).optional(),
15977
16667
  provider: external_exports.union([integrationProviderSchema, external_exports.array(integrationProviderSchema)]).optional(),
15978
16668
  status: external_exports.union([activatableIntegrationStatusSchema, external_exports.array(activatableIntegrationStatusSchema)]).optional(),
@@ -15982,7 +16672,7 @@ var getIntegrationActivationRequestsQuerySchema = external_exports.object({
15982
16672
  ]).optional(),
15983
16673
  connectionId: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
15984
16674
  page: external_exports.coerce.number().optional()
15985
- }).extend(timestampsFilterSchema7.shape);
16675
+ }).extend(timestampsFilterSchema8.shape);
15986
16676
  var getIntegrationActivationRequestsInputSchema = external_exports.undefined();
15987
16677
  var getIntegrationActivationRequestsResponseSchema = createPaginatedSchema(
15988
16678
  integrationActivationRequestSchema
@@ -16007,12 +16697,12 @@ var GetIntegrationActivationRequests = class extends AbstractApiRequest6 {
16007
16697
 
16008
16698
  // src/requests/activation-requests/GetIntegrationActivationRequestsFromPointOfSale.ts
16009
16699
  import { AbstractApiRequest as AbstractApiRequest7 } from "@deliverart/sdk-js-core";
16010
- import { sortDirSchema as sortDirSchema9, timestampsFilterSchema as timestampsFilterSchema8 } from "@deliverart/sdk-js-global-types";
16700
+ import { sortDirSchema as sortDirSchema10, timestampsFilterSchema as timestampsFilterSchema9 } from "@deliverart/sdk-js-global-types";
16011
16701
  var getIntegrationActivationRequestsFromPointOfSaleQuerySchema = external_exports.object({
16012
- "order[service]": sortDirSchema9.optional(),
16013
- "order[status]": sortDirSchema9.optional(),
16014
- "order[createdAt]": sortDirSchema9.optional(),
16015
- "order[updatedAt]": sortDirSchema9.optional(),
16702
+ "order[service]": sortDirSchema10.optional(),
16703
+ "order[status]": sortDirSchema10.optional(),
16704
+ "order[createdAt]": sortDirSchema10.optional(),
16705
+ "order[updatedAt]": sortDirSchema10.optional(),
16016
16706
  service: external_exports.union([integrationServiceSchema, external_exports.array(integrationServiceSchema)]).optional(),
16017
16707
  provider: external_exports.union([integrationProviderSchema, external_exports.array(integrationProviderSchema)]).optional(),
16018
16708
  status: external_exports.union([activatableIntegrationStatusSchema, external_exports.array(activatableIntegrationStatusSchema)]).optional(),
@@ -16022,7 +16712,7 @@ var getIntegrationActivationRequestsFromPointOfSaleQuerySchema = external_export
16022
16712
  ]).optional(),
16023
16713
  connectionId: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
16024
16714
  page: external_exports.coerce.number().optional()
16025
- }).extend(timestampsFilterSchema8.shape);
16715
+ }).extend(timestampsFilterSchema9.shape);
16026
16716
  var getIntegrationActivationRequestsFromPointOfSaleInputSchema = external_exports.undefined();
16027
16717
  var getIntegrationActivationRequestsFromPointOfSaleResponseSchema = external_exports.array(
16028
16718
  integrationActivationRequestSchema
@@ -16237,18 +16927,18 @@ var GetIntegrationCancellationRequestDetails = class extends AbstractApiRequest1
16237
16927
  import { AbstractApiRequest as AbstractApiRequest15 } from "@deliverart/sdk-js-core";
16238
16928
  import {
16239
16929
  createPaginatedSchema as createPaginatedSchema2,
16240
- sortDirSchema as sortDirSchema10,
16241
- timestampsFilterSchema as timestampsFilterSchema9
16930
+ sortDirSchema as sortDirSchema11,
16931
+ timestampsFilterSchema as timestampsFilterSchema10
16242
16932
  } from "@deliverart/sdk-js-global-types";
16243
16933
  var getIntegrationCancellationRequestsQuerySchema = external_exports.object({
16244
- "order[createdAt]": sortDirSchema10.optional(),
16245
- "order[updatedAt]": sortDirSchema10.optional(),
16934
+ "order[createdAt]": sortDirSchema11.optional(),
16935
+ "order[updatedAt]": sortDirSchema11.optional(),
16246
16936
  status: external_exports.union([
16247
16937
  integrationCancellationRequestStatusSchema,
16248
16938
  external_exports.array(integrationCancellationRequestStatusSchema)
16249
16939
  ]).optional(),
16250
16940
  page: external_exports.coerce.number().optional()
16251
- }).extend(timestampsFilterSchema9.shape);
16941
+ }).extend(timestampsFilterSchema10.shape);
16252
16942
  var getIntegrationCancellationRequestsInputSchema = external_exports.undefined();
16253
16943
  var getIntegrationCancellationRequestsResponseSchema = createPaginatedSchema2(
16254
16944
  integrationCancellationRequestSchema
@@ -16338,7 +17028,7 @@ var GetIntegrationIssueDetails = class extends AbstractApiRequest18 {
16338
17028
 
16339
17029
  // src/requests/GetIntegrationIssues.ts
16340
17030
  import { AbstractApiRequest as AbstractApiRequest19 } from "@deliverart/sdk-js-core";
16341
- import { sortDirSchema as sortDirSchema11 } from "@deliverart/sdk-js-global-types";
17031
+ import { sortDirSchema as sortDirSchema12 } from "@deliverart/sdk-js-global-types";
16342
17032
  var getIntegrationIssuesQuerySchema = external_exports.object({
16343
17033
  id: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
16344
17034
  scope: external_exports.union([integrationIssueScopeSchema, external_exports.array(integrationIssueScopeSchema)]).optional(),
@@ -16346,10 +17036,10 @@ var getIntegrationIssuesQuerySchema = external_exports.object({
16346
17036
  blocking: external_exports.coerce.boolean().optional(),
16347
17037
  retriable: external_exports.coerce.boolean().optional(),
16348
17038
  "resolvedAt[exists]": external_exports.coerce.boolean().optional(),
16349
- "order[firstSeenAt]": sortDirSchema11.optional(),
16350
- "order[lastSeenAt]": sortDirSchema11.optional(),
16351
- "order[retryAfterAt]": sortDirSchema11.optional(),
16352
- "order[resolvedAt]": sortDirSchema11.optional(),
17039
+ "order[firstSeenAt]": sortDirSchema12.optional(),
17040
+ "order[lastSeenAt]": sortDirSchema12.optional(),
17041
+ "order[retryAfterAt]": sortDirSchema12.optional(),
17042
+ "order[resolvedAt]": sortDirSchema12.optional(),
16353
17043
  "firstSeenAt[before]": external_exports.string().optional(),
16354
17044
  "firstSeenAt[strictly_before]": external_exports.string().optional(),
16355
17045
  "firstSeenAt[after]": external_exports.string().optional(),
@@ -16392,17 +17082,17 @@ var GetIntegrationIssues = class extends AbstractApiRequest19 {
16392
17082
  import { AbstractApiRequest as AbstractApiRequest20 } from "@deliverart/sdk-js-core";
16393
17083
  import {
16394
17084
  createPaginatedSchema as createPaginatedSchema3,
16395
- sortDirSchema as sortDirSchema12,
16396
- timestampsFilterSchema as timestampsFilterSchema10
17085
+ sortDirSchema as sortDirSchema13,
17086
+ timestampsFilterSchema as timestampsFilterSchema11
16397
17087
  } from "@deliverart/sdk-js-global-types";
16398
17088
  var getIntegrationsQuerySchema = external_exports.object({
16399
17089
  status: external_exports.union([integrationStatusSchema, external_exports.array(integrationStatusSchema)]).optional(),
16400
17090
  connectionId: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
16401
17091
  service: integrationServiceSchema.optional(),
16402
- "order[createdAt]": sortDirSchema12.optional(),
16403
- "order[updatedAt]": sortDirSchema12.optional(),
17092
+ "order[createdAt]": sortDirSchema13.optional(),
17093
+ "order[updatedAt]": sortDirSchema13.optional(),
16404
17094
  page: external_exports.coerce.number().optional()
16405
- }).extend(timestampsFilterSchema10.shape);
17095
+ }).extend(timestampsFilterSchema11.shape);
16406
17096
  var getIntegrationsInputSchema = external_exports.undefined();
16407
17097
  var getIntegrationsResponseSchema = createPaginatedSchema3(integrationSchema);
16408
17098
  var GetIntegrations = class extends AbstractApiRequest20 {
@@ -16425,15 +17115,15 @@ var GetIntegrations = class extends AbstractApiRequest20 {
16425
17115
 
16426
17116
  // src/requests/GetIntegrationsFromPointOfSale.ts
16427
17117
  import { AbstractApiRequest as AbstractApiRequest21 } from "@deliverart/sdk-js-core";
16428
- import { sortDirSchema as sortDirSchema13, timestampsFilterSchema as timestampsFilterSchema11 } from "@deliverart/sdk-js-global-types";
17118
+ import { sortDirSchema as sortDirSchema14, timestampsFilterSchema as timestampsFilterSchema12 } from "@deliverart/sdk-js-global-types";
16429
17119
  var getIntegrationsFromPointOfSaleQuerySchema = external_exports.object({
16430
17120
  status: external_exports.union([integrationStatusSchema, external_exports.array(integrationStatusSchema)]).optional(),
16431
17121
  connectionId: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
16432
17122
  service: integrationServiceSchema.optional(),
16433
- "order[createdAt]": sortDirSchema13.optional(),
16434
- "order[updatedAt]": sortDirSchema13.optional(),
17123
+ "order[createdAt]": sortDirSchema14.optional(),
17124
+ "order[updatedAt]": sortDirSchema14.optional(),
16435
17125
  page: external_exports.coerce.number().optional()
16436
- }).extend(timestampsFilterSchema11.shape);
17126
+ }).extend(timestampsFilterSchema12.shape);
16437
17127
  var getIntegrationsFromPointOfSaleInputSchema = external_exports.undefined();
16438
17128
  var getIntegrationsFromPointOfSaleResponseSchema = external_exports.array(integrationSchema);
16439
17129
  var GetIntegrationsFromPointOfSale = class extends AbstractApiRequest21 {
@@ -20406,11 +21096,1089 @@ var UpdateIntegrationKitchen = class extends AbstractApiRequest185 {
20406
21096
  }
20407
21097
  };
20408
21098
 
20409
- // src/requests/UpdateIntegration.ts
21099
+ // src/requests/services/tilby/index.ts
20410
21100
  import { AbstractApiRequest as AbstractApiRequest186 } from "@deliverart/sdk-js-core";
21101
+ import { createPaginatedSchema as createPaginatedSchema43, emptyResponseSchema as emptyResponseSchema17 } from "@deliverart/sdk-js-global-types";
21102
+ import { pointOfSaleIriSchema as pointOfSaleIriSchema11 } from "@deliverart/sdk-js-point-of-sale";
21103
+ var createIntegrationTilbyInputSchema = integrationTilbyEditableFieldsSchema.extend({
21104
+ pointOfSale: pointOfSaleIriSchema11
21105
+ });
21106
+ var createIntegrationTilbyResponseSchema = integrationTilbyDetailsSchema;
21107
+ var CreateIntegrationTilby = class extends AbstractApiRequest186 {
21108
+ constructor(input) {
21109
+ super(input);
21110
+ this.method = "POST";
21111
+ this.contentType = "application/json";
21112
+ this.accept = "application/json";
21113
+ this.inputSchema = createIntegrationTilbyInputSchema;
21114
+ this.outputSchema = createIntegrationTilbyResponseSchema;
21115
+ this.querySchema = void 0;
21116
+ this.headersSchema = void 0;
21117
+ }
21118
+ getPath() {
21119
+ return "/integrations/tilby";
21120
+ }
21121
+ };
21122
+ var updateIntegrationTilbyInputSchema = integrationTilbyEditableFieldsSchema.partial();
21123
+ var updateIntegrationTilbyResponseSchema = integrationTilbyDetailsSchema;
21124
+ var UpdateIntegrationTilby = class extends AbstractApiRequest186 {
21125
+ constructor(integrationTilbyId, input) {
21126
+ super(input);
21127
+ this.method = "PATCH";
21128
+ this.contentType = "application/merge-patch+json";
21129
+ this.accept = "application/json";
21130
+ this.inputSchema = updateIntegrationTilbyInputSchema;
21131
+ this.outputSchema = updateIntegrationTilbyResponseSchema;
21132
+ this.querySchema = void 0;
21133
+ this.headersSchema = void 0;
21134
+ this.integrationTilbyId = integrationTilbyId;
21135
+ }
21136
+ getPath() {
21137
+ return `/integrations/tilby/${this.integrationTilbyId}`;
21138
+ }
21139
+ };
21140
+ var deleteIntegrationTilbyInputSchema = external_exports.undefined();
21141
+ var deleteIntegrationTilbyResponseSchema = emptyResponseSchema17;
21142
+ var DeleteIntegrationTilby = class extends AbstractApiRequest186 {
21143
+ constructor(integrationTilbyId) {
21144
+ super(void 0);
21145
+ this.method = "DELETE";
21146
+ this.contentType = "application/json";
21147
+ this.accept = "application/json";
21148
+ this.inputSchema = deleteIntegrationTilbyInputSchema;
21149
+ this.outputSchema = deleteIntegrationTilbyResponseSchema;
21150
+ this.querySchema = void 0;
21151
+ this.headersSchema = void 0;
21152
+ this.integrationTilbyId = integrationTilbyId;
21153
+ }
21154
+ getPath() {
21155
+ return `/integrations/tilby/${this.integrationTilbyId}`;
21156
+ }
21157
+ };
21158
+ var getIntegrationTilbyDetailsInputSchema = external_exports.undefined();
21159
+ var getIntegrationTilbyDetailsResponseSchema = integrationTilbyDetailsSchema;
21160
+ var GetIntegrationTilbyDetails = class extends AbstractApiRequest186 {
21161
+ constructor(integrationTilbyId) {
21162
+ super(void 0);
21163
+ this.method = "GET";
21164
+ this.contentType = "application/json";
21165
+ this.accept = "application/json";
21166
+ this.inputSchema = getIntegrationTilbyDetailsInputSchema;
21167
+ this.outputSchema = getIntegrationTilbyDetailsResponseSchema;
21168
+ this.querySchema = void 0;
21169
+ this.headersSchema = void 0;
21170
+ this.integrationTilbyId = integrationTilbyId;
21171
+ }
21172
+ getPath() {
21173
+ return `/integrations/tilby/${this.integrationTilbyId}`;
21174
+ }
21175
+ };
21176
+ var getIntegrationTilbyListQuerySchema = integrationsTilbyQuerySchema.omit({
21177
+ service: true
21178
+ });
21179
+ var getIntegrationTilbyListInputSchema = external_exports.undefined();
21180
+ var getIntegrationTilbyListResponseSchema = createPaginatedSchema43(integrationTilbySchema);
21181
+ var GetIntegrationTilbyList = class extends AbstractApiRequest186 {
21182
+ constructor(options) {
21183
+ super(void 0, options);
21184
+ this.method = "GET";
21185
+ this.contentType = "application/json";
21186
+ this.accept = "application/json";
21187
+ this.inputSchema = getIntegrationTilbyListInputSchema;
21188
+ this.outputSchema = getIntegrationTilbyListResponseSchema;
21189
+ this.querySchema = getIntegrationTilbyListQuerySchema;
21190
+ this.headersSchema = void 0;
21191
+ this.listItemSchema = integrationTilbySchema;
21192
+ this.paginationDefaultEnabled = true;
21193
+ }
21194
+ getPath() {
21195
+ return "/integrations/tilby";
21196
+ }
21197
+ };
21198
+ var integrationTilbySyncInputSchema = external_exports.object({
21199
+ direction: integrationTilbySyncDirectionSchema,
21200
+ mode: integrationTilbySyncModeSchema
21201
+ });
21202
+ var integrationTilbyInboundOnlySyncInputSchema = integrationTilbySyncInputSchema.extend({
21203
+ direction: external_exports.literal("inbound")
21204
+ });
21205
+ var integrationTilbySyncResponseSchema = integrationAsyncMessageResponseSchema;
21206
+ var IntegrationTilbySyncFiscalMappings = class extends AbstractApiRequest186 {
21207
+ constructor(integrationTilbyId, input) {
21208
+ super(input);
21209
+ this.method = "POST";
21210
+ this.contentType = "application/json";
21211
+ this.accept = "application/json";
21212
+ this.inputSchema = integrationTilbyInboundOnlySyncInputSchema;
21213
+ this.outputSchema = integrationTilbySyncResponseSchema;
21214
+ this.querySchema = void 0;
21215
+ this.headersSchema = void 0;
21216
+ this.integrationTilbyId = integrationTilbyId;
21217
+ }
21218
+ getPath() {
21219
+ return `/integrations/tilby/${this.integrationTilbyId}/sync/fiscal_mappings`;
21220
+ }
21221
+ };
21222
+ var IntegrationTilbySyncCustomers = class extends AbstractApiRequest186 {
21223
+ constructor(integrationTilbyId, input) {
21224
+ super(input);
21225
+ this.method = "POST";
21226
+ this.contentType = "application/json";
21227
+ this.accept = "application/json";
21228
+ this.inputSchema = integrationTilbySyncInputSchema;
21229
+ this.outputSchema = integrationTilbySyncResponseSchema;
21230
+ this.querySchema = void 0;
21231
+ this.headersSchema = void 0;
21232
+ this.integrationTilbyId = integrationTilbyId;
21233
+ }
21234
+ getPath() {
21235
+ return `/integrations/tilby/${this.integrationTilbyId}/sync/customers`;
21236
+ }
21237
+ };
21238
+ var IntegrationTilbySyncMenu = class extends AbstractApiRequest186 {
21239
+ constructor(integrationTilbyId, input) {
21240
+ super(input);
21241
+ this.method = "POST";
21242
+ this.contentType = "application/json";
21243
+ this.accept = "application/json";
21244
+ this.inputSchema = integrationTilbySyncInputSchema;
21245
+ this.outputSchema = integrationTilbySyncResponseSchema;
21246
+ this.querySchema = void 0;
21247
+ this.headersSchema = void 0;
21248
+ this.integrationTilbyId = integrationTilbyId;
21249
+ }
21250
+ getPath() {
21251
+ return `/integrations/tilby/${this.integrationTilbyId}/sync/menu`;
21252
+ }
21253
+ };
21254
+ var IntegrationTilbySyncOrders = class extends AbstractApiRequest186 {
21255
+ constructor(integrationTilbyId, input) {
21256
+ super(input);
21257
+ this.method = "POST";
21258
+ this.contentType = "application/json";
21259
+ this.accept = "application/json";
21260
+ this.inputSchema = integrationTilbySyncInputSchema;
21261
+ this.outputSchema = integrationTilbySyncResponseSchema;
21262
+ this.querySchema = void 0;
21263
+ this.headersSchema = void 0;
21264
+ this.integrationTilbyId = integrationTilbyId;
21265
+ }
21266
+ getPath() {
21267
+ return `/integrations/tilby/${this.integrationTilbyId}/sync/orders`;
21268
+ }
21269
+ };
21270
+ var getIntegrationTilbyDepartmentMappingsQuerySchema = integrationTilbyDepartmentMappingsQuerySchema;
21271
+ var getIntegrationTilbyDepartmentMappingsInputSchema = external_exports.undefined();
21272
+ var getIntegrationTilbyDepartmentMappingsResponseSchema = external_exports.array(
21273
+ integrationTilbyDepartmentMappingSchema
21274
+ );
21275
+ var GetIntegrationTilbyDepartmentMappings = class extends AbstractApiRequest186 {
21276
+ constructor(integrationTilbyId, options) {
21277
+ super(void 0, options);
21278
+ this.method = "GET";
21279
+ this.contentType = "application/json";
21280
+ this.accept = "application/json";
21281
+ this.inputSchema = getIntegrationTilbyDepartmentMappingsInputSchema;
21282
+ this.outputSchema = getIntegrationTilbyDepartmentMappingsResponseSchema;
21283
+ this.querySchema = getIntegrationTilbyDepartmentMappingsQuerySchema;
21284
+ this.headersSchema = void 0;
21285
+ this.listItemSchema = integrationTilbyDepartmentMappingSchema;
21286
+ this.paginationDefaultEnabled = false;
21287
+ this.integrationTilbyId = integrationTilbyId;
21288
+ }
21289
+ getPath() {
21290
+ return `/integrations/tilby/${this.integrationTilbyId}/department_mappings`;
21291
+ }
21292
+ };
21293
+ var getIntegrationTilbyDepartmentMappingDetailsInputSchema = external_exports.undefined();
21294
+ var getIntegrationTilbyDepartmentMappingDetailsResponseSchema = integrationTilbyDepartmentMappingDetailsSchema;
21295
+ var GetIntegrationTilbyDepartmentMappingDetails = class extends AbstractApiRequest186 {
21296
+ constructor(integrationTilbyId, mappingId) {
21297
+ super(void 0);
21298
+ this.method = "GET";
21299
+ this.contentType = "application/json";
21300
+ this.accept = "application/json";
21301
+ this.inputSchema = getIntegrationTilbyDepartmentMappingDetailsInputSchema;
21302
+ this.outputSchema = getIntegrationTilbyDepartmentMappingDetailsResponseSchema;
21303
+ this.querySchema = void 0;
21304
+ this.headersSchema = void 0;
21305
+ this.integrationTilbyId = integrationTilbyId;
21306
+ this.mappingId = mappingId;
21307
+ }
21308
+ getPath() {
21309
+ return `/integrations/tilby/${this.integrationTilbyId}/department_mappings/${this.mappingId}`;
21310
+ }
21311
+ };
21312
+ var updateIntegrationTilbyDepartmentMappingInputSchema = integrationTilbyDepartmentMappingEditableFieldsSchema;
21313
+ var updateIntegrationTilbyDepartmentMappingResponseSchema = integrationTilbyDepartmentMappingSchema;
21314
+ var UpdateIntegrationTilbyDepartmentMapping = class extends AbstractApiRequest186 {
21315
+ constructor(integrationTilbyId, mappingId, input) {
21316
+ super(input);
21317
+ this.method = "PATCH";
21318
+ this.contentType = "application/merge-patch+json";
21319
+ this.accept = "application/json";
21320
+ this.inputSchema = updateIntegrationTilbyDepartmentMappingInputSchema;
21321
+ this.outputSchema = updateIntegrationTilbyDepartmentMappingResponseSchema;
21322
+ this.querySchema = void 0;
21323
+ this.headersSchema = void 0;
21324
+ this.integrationTilbyId = integrationTilbyId;
21325
+ this.mappingId = mappingId;
21326
+ }
21327
+ getPath() {
21328
+ return `/integrations/tilby/${this.integrationTilbyId}/department_mappings/${this.mappingId}`;
21329
+ }
21330
+ };
21331
+ var getIntegrationTilbyVatMappingsQuerySchema = integrationTilbyVatMappingsQuerySchema;
21332
+ var getIntegrationTilbyVatMappingsInputSchema = external_exports.undefined();
21333
+ var getIntegrationTilbyVatMappingsResponseSchema = external_exports.array(
21334
+ integrationTilbyVatMappingSchema
21335
+ );
21336
+ var GetIntegrationTilbyVatMappings = class extends AbstractApiRequest186 {
21337
+ constructor(integrationTilbyId, options) {
21338
+ super(void 0, options);
21339
+ this.method = "GET";
21340
+ this.contentType = "application/json";
21341
+ this.accept = "application/json";
21342
+ this.inputSchema = getIntegrationTilbyVatMappingsInputSchema;
21343
+ this.outputSchema = getIntegrationTilbyVatMappingsResponseSchema;
21344
+ this.querySchema = getIntegrationTilbyVatMappingsQuerySchema;
21345
+ this.headersSchema = void 0;
21346
+ this.listItemSchema = integrationTilbyVatMappingSchema;
21347
+ this.paginationDefaultEnabled = false;
21348
+ this.integrationTilbyId = integrationTilbyId;
21349
+ }
21350
+ getPath() {
21351
+ return `/integrations/tilby/${this.integrationTilbyId}/vat_mappings`;
21352
+ }
21353
+ };
21354
+ var getIntegrationTilbyVatMappingDetailsInputSchema = external_exports.undefined();
21355
+ var getIntegrationTilbyVatMappingDetailsResponseSchema = integrationTilbyVatMappingDetailsSchema;
21356
+ var GetIntegrationTilbyVatMappingDetails = class extends AbstractApiRequest186 {
21357
+ constructor(integrationTilbyId, mappingId) {
21358
+ super(void 0);
21359
+ this.method = "GET";
21360
+ this.contentType = "application/json";
21361
+ this.accept = "application/json";
21362
+ this.inputSchema = getIntegrationTilbyVatMappingDetailsInputSchema;
21363
+ this.outputSchema = getIntegrationTilbyVatMappingDetailsResponseSchema;
21364
+ this.querySchema = void 0;
21365
+ this.headersSchema = void 0;
21366
+ this.integrationTilbyId = integrationTilbyId;
21367
+ this.mappingId = mappingId;
21368
+ }
21369
+ getPath() {
21370
+ return `/integrations/tilby/${this.integrationTilbyId}/vat_mappings/${this.mappingId}`;
21371
+ }
21372
+ };
21373
+ var updateIntegrationTilbyVatMappingInputSchema = integrationTilbyVatMappingEditableFieldsSchema;
21374
+ var updateIntegrationTilbyVatMappingResponseSchema = integrationTilbyVatMappingSchema;
21375
+ var UpdateIntegrationTilbyVatMapping = class extends AbstractApiRequest186 {
21376
+ constructor(integrationTilbyId, mappingId, input) {
21377
+ super(input);
21378
+ this.method = "PATCH";
21379
+ this.contentType = "application/merge-patch+json";
21380
+ this.accept = "application/json";
21381
+ this.inputSchema = updateIntegrationTilbyVatMappingInputSchema;
21382
+ this.outputSchema = updateIntegrationTilbyVatMappingResponseSchema;
21383
+ this.querySchema = void 0;
21384
+ this.headersSchema = void 0;
21385
+ this.integrationTilbyId = integrationTilbyId;
21386
+ this.mappingId = mappingId;
21387
+ }
21388
+ getPath() {
21389
+ return `/integrations/tilby/${this.integrationTilbyId}/vat_mappings/${this.mappingId}`;
21390
+ }
21391
+ };
21392
+ var getIntegrationTilbyCategoryMappingsQuerySchema = integrationTilbyCategoryMappingsQuerySchema;
21393
+ var getIntegrationTilbyCategoryMappingsInputSchema = external_exports.undefined();
21394
+ var getIntegrationTilbyCategoryMappingsResponseSchema = external_exports.array(
21395
+ integrationTilbyCategoryMappingSchema
21396
+ );
21397
+ var GetIntegrationTilbyCategoryMappings = class extends AbstractApiRequest186 {
21398
+ constructor(integrationTilbyId, options) {
21399
+ super(void 0, options);
21400
+ this.method = "GET";
21401
+ this.contentType = "application/json";
21402
+ this.accept = "application/json";
21403
+ this.inputSchema = getIntegrationTilbyCategoryMappingsInputSchema;
21404
+ this.outputSchema = getIntegrationTilbyCategoryMappingsResponseSchema;
21405
+ this.querySchema = getIntegrationTilbyCategoryMappingsQuerySchema;
21406
+ this.headersSchema = void 0;
21407
+ this.listItemSchema = integrationTilbyCategoryMappingSchema;
21408
+ this.paginationDefaultEnabled = false;
21409
+ this.integrationTilbyId = integrationTilbyId;
21410
+ }
21411
+ getPath() {
21412
+ return `/integrations/tilby/${this.integrationTilbyId}/category_mappings`;
21413
+ }
21414
+ };
21415
+ var getIntegrationTilbyCategoryMappingDetailsInputSchema = external_exports.undefined();
21416
+ var getIntegrationTilbyCategoryMappingDetailsResponseSchema = integrationTilbyCategoryMappingDetailsSchema;
21417
+ var GetIntegrationTilbyCategoryMappingDetails = class extends AbstractApiRequest186 {
21418
+ constructor(integrationTilbyId, mappingId) {
21419
+ super(void 0);
21420
+ this.method = "GET";
21421
+ this.contentType = "application/json";
21422
+ this.accept = "application/json";
21423
+ this.inputSchema = getIntegrationTilbyCategoryMappingDetailsInputSchema;
21424
+ this.outputSchema = getIntegrationTilbyCategoryMappingDetailsResponseSchema;
21425
+ this.querySchema = void 0;
21426
+ this.headersSchema = void 0;
21427
+ this.integrationTilbyId = integrationTilbyId;
21428
+ this.mappingId = mappingId;
21429
+ }
21430
+ getPath() {
21431
+ return `/integrations/tilby/${this.integrationTilbyId}/category_mappings/${this.mappingId}`;
21432
+ }
21433
+ };
21434
+ var updateIntegrationTilbyCategoryMappingInputSchema = integrationTilbyCategoryMappingEditableFieldsSchema;
21435
+ var updateIntegrationTilbyCategoryMappingResponseSchema = integrationTilbyCategoryMappingSchema;
21436
+ var UpdateIntegrationTilbyCategoryMapping = class extends AbstractApiRequest186 {
21437
+ constructor(integrationTilbyId, mappingId, input) {
21438
+ super(input);
21439
+ this.method = "PATCH";
21440
+ this.contentType = "application/merge-patch+json";
21441
+ this.accept = "application/json";
21442
+ this.inputSchema = updateIntegrationTilbyCategoryMappingInputSchema;
21443
+ this.outputSchema = updateIntegrationTilbyCategoryMappingResponseSchema;
21444
+ this.querySchema = void 0;
21445
+ this.headersSchema = void 0;
21446
+ this.integrationTilbyId = integrationTilbyId;
21447
+ this.mappingId = mappingId;
21448
+ }
21449
+ getPath() {
21450
+ return `/integrations/tilby/${this.integrationTilbyId}/category_mappings/${this.mappingId}`;
21451
+ }
21452
+ };
21453
+ var getIntegrationTilbyComponentMappingsQuerySchema = integrationTilbyComponentMappingsQuerySchema;
21454
+ var getIntegrationTilbyComponentMappingsInputSchema = external_exports.undefined();
21455
+ var getIntegrationTilbyComponentMappingsResponseSchema = external_exports.array(
21456
+ integrationTilbyComponentMappingSchema
21457
+ );
21458
+ var GetIntegrationTilbyComponentMappings = class extends AbstractApiRequest186 {
21459
+ constructor(integrationTilbyId, options) {
21460
+ super(void 0, options);
21461
+ this.method = "GET";
21462
+ this.contentType = "application/json";
21463
+ this.accept = "application/json";
21464
+ this.inputSchema = getIntegrationTilbyComponentMappingsInputSchema;
21465
+ this.outputSchema = getIntegrationTilbyComponentMappingsResponseSchema;
21466
+ this.querySchema = getIntegrationTilbyComponentMappingsQuerySchema;
21467
+ this.headersSchema = void 0;
21468
+ this.listItemSchema = integrationTilbyComponentMappingSchema;
21469
+ this.paginationDefaultEnabled = false;
21470
+ this.integrationTilbyId = integrationTilbyId;
21471
+ }
21472
+ getPath() {
21473
+ return `/integrations/tilby/${this.integrationTilbyId}/component_mappings`;
21474
+ }
21475
+ };
21476
+ var getIntegrationTilbyComponentMappingDetailsInputSchema = external_exports.undefined();
21477
+ var getIntegrationTilbyComponentMappingDetailsResponseSchema = integrationTilbyComponentMappingDetailsSchema;
21478
+ var GetIntegrationTilbyComponentMappingDetails = class extends AbstractApiRequest186 {
21479
+ constructor(integrationTilbyId, mappingId) {
21480
+ super(void 0);
21481
+ this.method = "GET";
21482
+ this.contentType = "application/json";
21483
+ this.accept = "application/json";
21484
+ this.inputSchema = getIntegrationTilbyComponentMappingDetailsInputSchema;
21485
+ this.outputSchema = getIntegrationTilbyComponentMappingDetailsResponseSchema;
21486
+ this.querySchema = void 0;
21487
+ this.headersSchema = void 0;
21488
+ this.integrationTilbyId = integrationTilbyId;
21489
+ this.mappingId = mappingId;
21490
+ }
21491
+ getPath() {
21492
+ return `/integrations/tilby/${this.integrationTilbyId}/component_mappings/${this.mappingId}`;
21493
+ }
21494
+ };
21495
+ var updateIntegrationTilbyComponentMappingInputSchema = integrationTilbyComponentMappingEditableFieldsSchema;
21496
+ var updateIntegrationTilbyComponentMappingResponseSchema = integrationTilbyComponentMappingSchema;
21497
+ var UpdateIntegrationTilbyComponentMapping = class extends AbstractApiRequest186 {
21498
+ constructor(integrationTilbyId, mappingId, input) {
21499
+ super(input);
21500
+ this.method = "PATCH";
21501
+ this.contentType = "application/merge-patch+json";
21502
+ this.accept = "application/json";
21503
+ this.inputSchema = updateIntegrationTilbyComponentMappingInputSchema;
21504
+ this.outputSchema = updateIntegrationTilbyComponentMappingResponseSchema;
21505
+ this.querySchema = void 0;
21506
+ this.headersSchema = void 0;
21507
+ this.integrationTilbyId = integrationTilbyId;
21508
+ this.mappingId = mappingId;
21509
+ }
21510
+ getPath() {
21511
+ return `/integrations/tilby/${this.integrationTilbyId}/component_mappings/${this.mappingId}`;
21512
+ }
21513
+ };
21514
+ var getIntegrationTilbyProductMappingsQuerySchema = integrationTilbyProductMappingsQuerySchema;
21515
+ var getIntegrationTilbyProductMappingsInputSchema = external_exports.undefined();
21516
+ var getIntegrationTilbyProductMappingsResponseSchema = external_exports.array(
21517
+ integrationTilbyProductMappingSchema
21518
+ );
21519
+ var GetIntegrationTilbyProductMappings = class extends AbstractApiRequest186 {
21520
+ constructor(integrationTilbyId, options) {
21521
+ super(void 0, options);
21522
+ this.method = "GET";
21523
+ this.contentType = "application/json";
21524
+ this.accept = "application/json";
21525
+ this.inputSchema = getIntegrationTilbyProductMappingsInputSchema;
21526
+ this.outputSchema = getIntegrationTilbyProductMappingsResponseSchema;
21527
+ this.querySchema = getIntegrationTilbyProductMappingsQuerySchema;
21528
+ this.headersSchema = void 0;
21529
+ this.listItemSchema = integrationTilbyProductMappingSchema;
21530
+ this.paginationDefaultEnabled = false;
21531
+ this.integrationTilbyId = integrationTilbyId;
21532
+ }
21533
+ getPath() {
21534
+ return `/integrations/tilby/${this.integrationTilbyId}/product_mappings`;
21535
+ }
21536
+ };
21537
+ var getIntegrationTilbyProductMappingDetailsInputSchema = external_exports.undefined();
21538
+ var getIntegrationTilbyProductMappingDetailsResponseSchema = integrationTilbyProductMappingDetailsSchema;
21539
+ var GetIntegrationTilbyProductMappingDetails = class extends AbstractApiRequest186 {
21540
+ constructor(integrationTilbyId, mappingId) {
21541
+ super(void 0);
21542
+ this.method = "GET";
21543
+ this.contentType = "application/json";
21544
+ this.accept = "application/json";
21545
+ this.inputSchema = getIntegrationTilbyProductMappingDetailsInputSchema;
21546
+ this.outputSchema = getIntegrationTilbyProductMappingDetailsResponseSchema;
21547
+ this.querySchema = void 0;
21548
+ this.headersSchema = void 0;
21549
+ this.integrationTilbyId = integrationTilbyId;
21550
+ this.mappingId = mappingId;
21551
+ }
21552
+ getPath() {
21553
+ return `/integrations/tilby/${this.integrationTilbyId}/product_mappings/${this.mappingId}`;
21554
+ }
21555
+ };
21556
+ var updateIntegrationTilbyProductMappingInputSchema = integrationTilbyProductMappingEditableFieldsSchema;
21557
+ var updateIntegrationTilbyProductMappingResponseSchema = integrationTilbyProductMappingSchema;
21558
+ var UpdateIntegrationTilbyProductMapping = class extends AbstractApiRequest186 {
21559
+ constructor(integrationTilbyId, mappingId, input) {
21560
+ super(input);
21561
+ this.method = "PATCH";
21562
+ this.contentType = "application/merge-patch+json";
21563
+ this.accept = "application/json";
21564
+ this.inputSchema = updateIntegrationTilbyProductMappingInputSchema;
21565
+ this.outputSchema = updateIntegrationTilbyProductMappingResponseSchema;
21566
+ this.querySchema = void 0;
21567
+ this.headersSchema = void 0;
21568
+ this.integrationTilbyId = integrationTilbyId;
21569
+ this.mappingId = mappingId;
21570
+ }
21571
+ getPath() {
21572
+ return `/integrations/tilby/${this.integrationTilbyId}/product_mappings/${this.mappingId}`;
21573
+ }
21574
+ };
21575
+ var getIntegrationTilbyProductVariantMappingsQuerySchema = integrationTilbyProductVariantMappingsQuerySchema;
21576
+ var getIntegrationTilbyProductVariantMappingsInputSchema = external_exports.undefined();
21577
+ var getIntegrationTilbyProductVariantMappingsResponseSchema = external_exports.array(
21578
+ integrationTilbyProductVariantMappingSchema
21579
+ );
21580
+ var GetIntegrationTilbyProductVariantMappings = class extends AbstractApiRequest186 {
21581
+ constructor(integrationTilbyId, productId, options) {
21582
+ super(void 0, options);
21583
+ this.method = "GET";
21584
+ this.contentType = "application/json";
21585
+ this.accept = "application/json";
21586
+ this.inputSchema = getIntegrationTilbyProductVariantMappingsInputSchema;
21587
+ this.outputSchema = getIntegrationTilbyProductVariantMappingsResponseSchema;
21588
+ this.querySchema = getIntegrationTilbyProductVariantMappingsQuerySchema;
21589
+ this.headersSchema = void 0;
21590
+ this.listItemSchema = integrationTilbyProductVariantMappingSchema;
21591
+ this.paginationDefaultEnabled = false;
21592
+ this.integrationTilbyId = integrationTilbyId;
21593
+ this.productId = productId;
21594
+ }
21595
+ getPath() {
21596
+ return `/integrations/tilby/${this.integrationTilbyId}/product_mappings/${this.productId}/variant_mappings`;
21597
+ }
21598
+ };
21599
+ var getIntegrationTilbyProductVariantMappingDetailsInputSchema = external_exports.undefined();
21600
+ var getIntegrationTilbyProductVariantMappingDetailsResponseSchema = integrationTilbyProductVariantMappingDetailsSchema;
21601
+ var GetIntegrationTilbyProductVariantMappingDetails = class extends AbstractApiRequest186 {
21602
+ constructor(integrationTilbyId, productId, variantId) {
21603
+ super(void 0);
21604
+ this.method = "GET";
21605
+ this.contentType = "application/json";
21606
+ this.accept = "application/json";
21607
+ this.inputSchema = getIntegrationTilbyProductVariantMappingDetailsInputSchema;
21608
+ this.outputSchema = getIntegrationTilbyProductVariantMappingDetailsResponseSchema;
21609
+ this.querySchema = void 0;
21610
+ this.headersSchema = void 0;
21611
+ this.integrationTilbyId = integrationTilbyId;
21612
+ this.productId = productId;
21613
+ this.variantId = variantId;
21614
+ }
21615
+ getPath() {
21616
+ return `/integrations/tilby/${this.integrationTilbyId}/product_mappings/${this.productId}/variant_mappings/${this.variantId}`;
21617
+ }
21618
+ };
21619
+ var updateIntegrationTilbyProductVariantMappingInputSchema = integrationTilbyProductVariantMappingEditableFieldsSchema;
21620
+ var updateIntegrationTilbyProductVariantMappingResponseSchema = integrationTilbyProductVariantMappingSchema;
21621
+ var UpdateIntegrationTilbyProductVariantMapping = class extends AbstractApiRequest186 {
21622
+ constructor(integrationTilbyId, productId, variantId, input) {
21623
+ super(input);
21624
+ this.method = "PATCH";
21625
+ this.contentType = "application/merge-patch+json";
21626
+ this.accept = "application/json";
21627
+ this.inputSchema = updateIntegrationTilbyProductVariantMappingInputSchema;
21628
+ this.outputSchema = updateIntegrationTilbyProductVariantMappingResponseSchema;
21629
+ this.querySchema = void 0;
21630
+ this.headersSchema = void 0;
21631
+ this.integrationTilbyId = integrationTilbyId;
21632
+ this.productId = productId;
21633
+ this.variantId = variantId;
21634
+ }
21635
+ getPath() {
21636
+ return `/integrations/tilby/${this.integrationTilbyId}/product_mappings/${this.productId}/variant_mappings/${this.variantId}`;
21637
+ }
21638
+ };
21639
+ var getIntegrationTilbyCustomerMappingsQuerySchema = integrationTilbyCustomerMappingsQuerySchema;
21640
+ var getIntegrationTilbyCustomerMappingsInputSchema = external_exports.undefined();
21641
+ var getIntegrationTilbyCustomerMappingsResponseSchema = external_exports.array(
21642
+ integrationTilbyCustomerMappingSchema
21643
+ );
21644
+ var GetIntegrationTilbyCustomerMappings = class extends AbstractApiRequest186 {
21645
+ constructor(integrationTilbyId, options) {
21646
+ super(void 0, options);
21647
+ this.method = "GET";
21648
+ this.contentType = "application/json";
21649
+ this.accept = "application/json";
21650
+ this.inputSchema = getIntegrationTilbyCustomerMappingsInputSchema;
21651
+ this.outputSchema = getIntegrationTilbyCustomerMappingsResponseSchema;
21652
+ this.querySchema = getIntegrationTilbyCustomerMappingsQuerySchema;
21653
+ this.headersSchema = void 0;
21654
+ this.listItemSchema = integrationTilbyCustomerMappingSchema;
21655
+ this.paginationDefaultEnabled = false;
21656
+ this.integrationTilbyId = integrationTilbyId;
21657
+ }
21658
+ getPath() {
21659
+ return `/integrations/tilby/${this.integrationTilbyId}/customer_mappings`;
21660
+ }
21661
+ };
21662
+ var getIntegrationTilbyCustomerMappingDetailsInputSchema = external_exports.undefined();
21663
+ var getIntegrationTilbyCustomerMappingDetailsResponseSchema = integrationTilbyCustomerMappingDetailsSchema;
21664
+ var GetIntegrationTilbyCustomerMappingDetails = class extends AbstractApiRequest186 {
21665
+ constructor(integrationTilbyId, mappingId) {
21666
+ super(void 0);
21667
+ this.method = "GET";
21668
+ this.contentType = "application/json";
21669
+ this.accept = "application/json";
21670
+ this.inputSchema = getIntegrationTilbyCustomerMappingDetailsInputSchema;
21671
+ this.outputSchema = getIntegrationTilbyCustomerMappingDetailsResponseSchema;
21672
+ this.querySchema = void 0;
21673
+ this.headersSchema = void 0;
21674
+ this.integrationTilbyId = integrationTilbyId;
21675
+ this.mappingId = mappingId;
21676
+ }
21677
+ getPath() {
21678
+ return `/integrations/tilby/${this.integrationTilbyId}/customer_mappings/${this.mappingId}`;
21679
+ }
21680
+ };
21681
+ var getIntegrationTilbyOrderMappingsQuerySchema = integrationTilbyOrderMappingsQuerySchema;
21682
+ var getIntegrationTilbyOrderMappingsInputSchema = external_exports.undefined();
21683
+ var getIntegrationTilbyOrderMappingsResponseSchema = createPaginatedSchema43(
21684
+ integrationTilbyOrderMappingSchema
21685
+ );
21686
+ var GetIntegrationTilbyOrderMappings = class extends AbstractApiRequest186 {
21687
+ constructor(integrationTilbyId, options) {
21688
+ super(void 0, options);
21689
+ this.method = "GET";
21690
+ this.contentType = "application/json";
21691
+ this.accept = "application/json";
21692
+ this.inputSchema = getIntegrationTilbyOrderMappingsInputSchema;
21693
+ this.outputSchema = getIntegrationTilbyOrderMappingsResponseSchema;
21694
+ this.querySchema = getIntegrationTilbyOrderMappingsQuerySchema;
21695
+ this.headersSchema = void 0;
21696
+ this.listItemSchema = integrationTilbyOrderMappingSchema;
21697
+ this.paginationDefaultEnabled = true;
21698
+ this.integrationTilbyId = integrationTilbyId;
21699
+ }
21700
+ getPath() {
21701
+ return `/integrations/tilby/${this.integrationTilbyId}/order_mappings`;
21702
+ }
21703
+ };
21704
+ var getIntegrationTilbyOrderMappingDetailsInputSchema = external_exports.undefined();
21705
+ var getIntegrationTilbyOrderMappingDetailsResponseSchema = integrationTilbyOrderMappingDetailsSchema;
21706
+ var GetIntegrationTilbyOrderMappingDetails = class extends AbstractApiRequest186 {
21707
+ constructor(integrationTilbyId, mappingId) {
21708
+ super(void 0);
21709
+ this.method = "GET";
21710
+ this.contentType = "application/json";
21711
+ this.accept = "application/json";
21712
+ this.inputSchema = getIntegrationTilbyOrderMappingDetailsInputSchema;
21713
+ this.outputSchema = getIntegrationTilbyOrderMappingDetailsResponseSchema;
21714
+ this.querySchema = void 0;
21715
+ this.headersSchema = void 0;
21716
+ this.integrationTilbyId = integrationTilbyId;
21717
+ this.mappingId = mappingId;
21718
+ }
21719
+ getPath() {
21720
+ return `/integrations/tilby/${this.integrationTilbyId}/order_mappings/${this.mappingId}`;
21721
+ }
21722
+ };
21723
+ var getIntegrationTilbyOrderMappingsFromOrderQuerySchema = integrationTilbyOrderMappingsQuerySchema.omit({
21724
+ page: true
21725
+ });
21726
+ var getIntegrationTilbyOrderMappingsFromOrderInputSchema = external_exports.undefined();
21727
+ var getIntegrationTilbyOrderMappingsFromOrderResponseSchema = external_exports.array(
21728
+ integrationTilbyOrderMappingSchema
21729
+ );
21730
+ var GetIntegrationTilbyOrderMappingsFromOrder = class extends AbstractApiRequest186 {
21731
+ constructor(orderId, options) {
21732
+ super(void 0, options);
21733
+ this.method = "GET";
21734
+ this.contentType = "application/json";
21735
+ this.accept = "application/json";
21736
+ this.inputSchema = getIntegrationTilbyOrderMappingsFromOrderInputSchema;
21737
+ this.outputSchema = getIntegrationTilbyOrderMappingsFromOrderResponseSchema;
21738
+ this.querySchema = getIntegrationTilbyOrderMappingsFromOrderQuerySchema;
21739
+ this.headersSchema = void 0;
21740
+ this.listItemSchema = integrationTilbyOrderMappingSchema;
21741
+ this.paginationDefaultEnabled = false;
21742
+ this.orderId = orderId;
21743
+ }
21744
+ getPath() {
21745
+ return `/orders/${this.orderId}/tilby_orders`;
21746
+ }
21747
+ };
21748
+ var getIntegrationTilbySyncFiscalMappingsProcessesQuerySchema = integrationTilbySyncFiscalMappingsProcessesQuerySchema;
21749
+ var getIntegrationTilbySyncFiscalMappingsProcessesInputSchema = external_exports.undefined();
21750
+ var getIntegrationTilbySyncFiscalMappingsProcessesResponseSchema = createPaginatedSchema43(
21751
+ integrationTilbySyncFiscalMappingsProcessSchema
21752
+ );
21753
+ var GetIntegrationTilbySyncFiscalMappingsProcesses = class extends AbstractApiRequest186 {
21754
+ constructor(integrationTilbyId, options) {
21755
+ super(void 0, options);
21756
+ this.method = "GET";
21757
+ this.contentType = "application/json";
21758
+ this.accept = "application/json";
21759
+ this.inputSchema = getIntegrationTilbySyncFiscalMappingsProcessesInputSchema;
21760
+ this.outputSchema = getIntegrationTilbySyncFiscalMappingsProcessesResponseSchema;
21761
+ this.querySchema = getIntegrationTilbySyncFiscalMappingsProcessesQuerySchema;
21762
+ this.headersSchema = void 0;
21763
+ this.listItemSchema = integrationTilbySyncFiscalMappingsProcessSchema;
21764
+ this.paginationDefaultEnabled = true;
21765
+ this.integrationTilbyId = integrationTilbyId;
21766
+ }
21767
+ getPath() {
21768
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_fiscal_mappings_processes`;
21769
+ }
21770
+ };
21771
+ var getIntegrationTilbySyncFiscalMappingsProcessDetailsInputSchema = external_exports.undefined();
21772
+ var getIntegrationTilbySyncFiscalMappingsProcessDetailsResponseSchema = integrationTilbySyncFiscalMappingsProcessDetailsSchema;
21773
+ var GetIntegrationTilbySyncFiscalMappingsProcessDetails = class extends AbstractApiRequest186 {
21774
+ constructor(integrationTilbyId, processId) {
21775
+ super(void 0);
21776
+ this.method = "GET";
21777
+ this.contentType = "application/json";
21778
+ this.accept = "application/json";
21779
+ this.inputSchema = getIntegrationTilbySyncFiscalMappingsProcessDetailsInputSchema;
21780
+ this.outputSchema = getIntegrationTilbySyncFiscalMappingsProcessDetailsResponseSchema;
21781
+ this.querySchema = void 0;
21782
+ this.headersSchema = void 0;
21783
+ this.integrationTilbyId = integrationTilbyId;
21784
+ this.processId = processId;
21785
+ }
21786
+ getPath() {
21787
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_fiscal_mappings_processes/${this.processId}`;
21788
+ }
21789
+ };
21790
+ var getIntegrationTilbySyncFiscalMappingsErrorLogsQuerySchema = integrationTilbySyncFiscalMappingsErrorLogsQuerySchema;
21791
+ var getIntegrationTilbySyncFiscalMappingsErrorLogsInputSchema = external_exports.undefined();
21792
+ var getIntegrationTilbySyncFiscalMappingsErrorLogsResponseSchema = createPaginatedSchema43(
21793
+ integrationTilbySyncFiscalMappingsErrorLogSchema
21794
+ );
21795
+ var GetIntegrationTilbySyncFiscalMappingsErrorLogs = class extends AbstractApiRequest186 {
21796
+ constructor(integrationTilbyId, processId, options) {
21797
+ super(void 0, options);
21798
+ this.method = "GET";
21799
+ this.contentType = "application/json";
21800
+ this.accept = "application/json";
21801
+ this.inputSchema = getIntegrationTilbySyncFiscalMappingsErrorLogsInputSchema;
21802
+ this.outputSchema = getIntegrationTilbySyncFiscalMappingsErrorLogsResponseSchema;
21803
+ this.querySchema = getIntegrationTilbySyncFiscalMappingsErrorLogsQuerySchema;
21804
+ this.headersSchema = void 0;
21805
+ this.listItemSchema = integrationTilbySyncFiscalMappingsErrorLogSchema;
21806
+ this.paginationDefaultEnabled = true;
21807
+ this.integrationTilbyId = integrationTilbyId;
21808
+ this.processId = processId;
21809
+ }
21810
+ getPath() {
21811
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_fiscal_mappings_processes/${this.processId}/error_logs`;
21812
+ }
21813
+ };
21814
+ var getIntegrationTilbySyncFiscalMappingsErrorLogDetailsInputSchema = external_exports.undefined();
21815
+ var getIntegrationTilbySyncFiscalMappingsErrorLogDetailsResponseSchema = integrationTilbySyncFiscalMappingsErrorLogDetailsSchema;
21816
+ var GetIntegrationTilbySyncFiscalMappingsErrorLogDetails = class extends AbstractApiRequest186 {
21817
+ constructor(integrationTilbyId, processId, errorLogId) {
21818
+ super(void 0);
21819
+ this.method = "GET";
21820
+ this.contentType = "application/json";
21821
+ this.accept = "application/json";
21822
+ this.inputSchema = getIntegrationTilbySyncFiscalMappingsErrorLogDetailsInputSchema;
21823
+ this.outputSchema = getIntegrationTilbySyncFiscalMappingsErrorLogDetailsResponseSchema;
21824
+ this.querySchema = void 0;
21825
+ this.headersSchema = void 0;
21826
+ this.integrationTilbyId = integrationTilbyId;
21827
+ this.processId = processId;
21828
+ this.errorLogId = errorLogId;
21829
+ }
21830
+ getPath() {
21831
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_fiscal_mappings_processes/${this.processId}/error_logs/${this.errorLogId}`;
21832
+ }
21833
+ };
21834
+ var getIntegrationTilbySyncCustomersProcessesQuerySchema = integrationTilbySyncCustomersProcessesQuerySchema;
21835
+ var getIntegrationTilbySyncCustomersProcessesInputSchema = external_exports.undefined();
21836
+ var getIntegrationTilbySyncCustomersProcessesResponseSchema = createPaginatedSchema43(
21837
+ integrationTilbySyncCustomersProcessSchema
21838
+ );
21839
+ var GetIntegrationTilbySyncCustomersProcesses = class extends AbstractApiRequest186 {
21840
+ constructor(integrationTilbyId, options) {
21841
+ super(void 0, options);
21842
+ this.method = "GET";
21843
+ this.contentType = "application/json";
21844
+ this.accept = "application/json";
21845
+ this.inputSchema = getIntegrationTilbySyncCustomersProcessesInputSchema;
21846
+ this.outputSchema = getIntegrationTilbySyncCustomersProcessesResponseSchema;
21847
+ this.querySchema = getIntegrationTilbySyncCustomersProcessesQuerySchema;
21848
+ this.headersSchema = void 0;
21849
+ this.listItemSchema = integrationTilbySyncCustomersProcessSchema;
21850
+ this.paginationDefaultEnabled = true;
21851
+ this.integrationTilbyId = integrationTilbyId;
21852
+ }
21853
+ getPath() {
21854
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_customers_processes`;
21855
+ }
21856
+ };
21857
+ var getIntegrationTilbySyncCustomersProcessDetailsInputSchema = external_exports.undefined();
21858
+ var getIntegrationTilbySyncCustomersProcessDetailsResponseSchema = integrationTilbySyncCustomersProcessDetailsSchema;
21859
+ var GetIntegrationTilbySyncCustomersProcessDetails = class extends AbstractApiRequest186 {
21860
+ constructor(integrationTilbyId, processId) {
21861
+ super(void 0);
21862
+ this.method = "GET";
21863
+ this.contentType = "application/json";
21864
+ this.accept = "application/json";
21865
+ this.inputSchema = getIntegrationTilbySyncCustomersProcessDetailsInputSchema;
21866
+ this.outputSchema = getIntegrationTilbySyncCustomersProcessDetailsResponseSchema;
21867
+ this.querySchema = void 0;
21868
+ this.headersSchema = void 0;
21869
+ this.integrationTilbyId = integrationTilbyId;
21870
+ this.processId = processId;
21871
+ }
21872
+ getPath() {
21873
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_customers_processes/${this.processId}`;
21874
+ }
21875
+ };
21876
+ var getIntegrationTilbySyncCustomersErrorLogsQuerySchema = integrationTilbySyncCustomersErrorLogsQuerySchema;
21877
+ var getIntegrationTilbySyncCustomersErrorLogsInputSchema = external_exports.undefined();
21878
+ var getIntegrationTilbySyncCustomersErrorLogsResponseSchema = createPaginatedSchema43(
21879
+ integrationTilbySyncCustomersErrorLogSchema
21880
+ );
21881
+ var GetIntegrationTilbySyncCustomersErrorLogs = class extends AbstractApiRequest186 {
21882
+ constructor(integrationTilbyId, processId, options) {
21883
+ super(void 0, options);
21884
+ this.method = "GET";
21885
+ this.contentType = "application/json";
21886
+ this.accept = "application/json";
21887
+ this.inputSchema = getIntegrationTilbySyncCustomersErrorLogsInputSchema;
21888
+ this.outputSchema = getIntegrationTilbySyncCustomersErrorLogsResponseSchema;
21889
+ this.querySchema = getIntegrationTilbySyncCustomersErrorLogsQuerySchema;
21890
+ this.headersSchema = void 0;
21891
+ this.listItemSchema = integrationTilbySyncCustomersErrorLogSchema;
21892
+ this.paginationDefaultEnabled = true;
21893
+ this.integrationTilbyId = integrationTilbyId;
21894
+ this.processId = processId;
21895
+ }
21896
+ getPath() {
21897
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_customers_processes/${this.processId}/error_logs`;
21898
+ }
21899
+ };
21900
+ var getIntegrationTilbySyncCustomersErrorLogDetailsInputSchema = external_exports.undefined();
21901
+ var getIntegrationTilbySyncCustomersErrorLogDetailsResponseSchema = integrationTilbySyncCustomersErrorLogDetailsSchema;
21902
+ var GetIntegrationTilbySyncCustomersErrorLogDetails = class extends AbstractApiRequest186 {
21903
+ constructor(integrationTilbyId, processId, errorLogId) {
21904
+ super(void 0);
21905
+ this.method = "GET";
21906
+ this.contentType = "application/json";
21907
+ this.accept = "application/json";
21908
+ this.inputSchema = getIntegrationTilbySyncCustomersErrorLogDetailsInputSchema;
21909
+ this.outputSchema = getIntegrationTilbySyncCustomersErrorLogDetailsResponseSchema;
21910
+ this.querySchema = void 0;
21911
+ this.headersSchema = void 0;
21912
+ this.integrationTilbyId = integrationTilbyId;
21913
+ this.processId = processId;
21914
+ this.errorLogId = errorLogId;
21915
+ }
21916
+ getPath() {
21917
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_customers_processes/${this.processId}/error_logs/${this.errorLogId}`;
21918
+ }
21919
+ };
21920
+ var getIntegrationTilbySyncMenuProcessesQuerySchema = integrationTilbySyncMenuProcessesQuerySchema;
21921
+ var getIntegrationTilbySyncMenuProcessesInputSchema = external_exports.undefined();
21922
+ var getIntegrationTilbySyncMenuProcessesResponseSchema = createPaginatedSchema43(
21923
+ integrationTilbySyncMenuProcessSchema
21924
+ );
21925
+ var GetIntegrationTilbySyncMenuProcesses = class extends AbstractApiRequest186 {
21926
+ constructor(integrationTilbyId, options) {
21927
+ super(void 0, options);
21928
+ this.method = "GET";
21929
+ this.contentType = "application/json";
21930
+ this.accept = "application/json";
21931
+ this.inputSchema = getIntegrationTilbySyncMenuProcessesInputSchema;
21932
+ this.outputSchema = getIntegrationTilbySyncMenuProcessesResponseSchema;
21933
+ this.querySchema = getIntegrationTilbySyncMenuProcessesQuerySchema;
21934
+ this.headersSchema = void 0;
21935
+ this.listItemSchema = integrationTilbySyncMenuProcessSchema;
21936
+ this.paginationDefaultEnabled = true;
21937
+ this.integrationTilbyId = integrationTilbyId;
21938
+ }
21939
+ getPath() {
21940
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_menu_processes`;
21941
+ }
21942
+ };
21943
+ var getIntegrationTilbySyncMenuProcessDetailsInputSchema = external_exports.undefined();
21944
+ var getIntegrationTilbySyncMenuProcessDetailsResponseSchema = integrationTilbySyncMenuProcessDetailsSchema;
21945
+ var GetIntegrationTilbySyncMenuProcessDetails = class extends AbstractApiRequest186 {
21946
+ constructor(integrationTilbyId, processId) {
21947
+ super(void 0);
21948
+ this.method = "GET";
21949
+ this.contentType = "application/json";
21950
+ this.accept = "application/json";
21951
+ this.inputSchema = getIntegrationTilbySyncMenuProcessDetailsInputSchema;
21952
+ this.outputSchema = getIntegrationTilbySyncMenuProcessDetailsResponseSchema;
21953
+ this.querySchema = void 0;
21954
+ this.headersSchema = void 0;
21955
+ this.integrationTilbyId = integrationTilbyId;
21956
+ this.processId = processId;
21957
+ }
21958
+ getPath() {
21959
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_menu_processes/${this.processId}`;
21960
+ }
21961
+ };
21962
+ var getIntegrationTilbySyncMenuErrorLogsQuerySchema = integrationTilbySyncMenuErrorLogsQuerySchema;
21963
+ var getIntegrationTilbySyncMenuErrorLogsInputSchema = external_exports.undefined();
21964
+ var getIntegrationTilbySyncMenuErrorLogsResponseSchema = createPaginatedSchema43(
21965
+ integrationTilbySyncMenuErrorLogSchema
21966
+ );
21967
+ var GetIntegrationTilbySyncMenuErrorLogs = class extends AbstractApiRequest186 {
21968
+ constructor(integrationTilbyId, processId, options) {
21969
+ super(void 0, options);
21970
+ this.method = "GET";
21971
+ this.contentType = "application/json";
21972
+ this.accept = "application/json";
21973
+ this.inputSchema = getIntegrationTilbySyncMenuErrorLogsInputSchema;
21974
+ this.outputSchema = getIntegrationTilbySyncMenuErrorLogsResponseSchema;
21975
+ this.querySchema = getIntegrationTilbySyncMenuErrorLogsQuerySchema;
21976
+ this.headersSchema = void 0;
21977
+ this.listItemSchema = integrationTilbySyncMenuErrorLogSchema;
21978
+ this.paginationDefaultEnabled = true;
21979
+ this.integrationTilbyId = integrationTilbyId;
21980
+ this.processId = processId;
21981
+ }
21982
+ getPath() {
21983
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_menu_processes/${this.processId}/error_logs`;
21984
+ }
21985
+ };
21986
+ var getIntegrationTilbySyncMenuErrorLogDetailsInputSchema = external_exports.undefined();
21987
+ var getIntegrationTilbySyncMenuErrorLogDetailsResponseSchema = integrationTilbySyncMenuErrorLogDetailsSchema;
21988
+ var GetIntegrationTilbySyncMenuErrorLogDetails = class extends AbstractApiRequest186 {
21989
+ constructor(integrationTilbyId, processId, errorLogId) {
21990
+ super(void 0);
21991
+ this.method = "GET";
21992
+ this.contentType = "application/json";
21993
+ this.accept = "application/json";
21994
+ this.inputSchema = getIntegrationTilbySyncMenuErrorLogDetailsInputSchema;
21995
+ this.outputSchema = getIntegrationTilbySyncMenuErrorLogDetailsResponseSchema;
21996
+ this.querySchema = void 0;
21997
+ this.headersSchema = void 0;
21998
+ this.integrationTilbyId = integrationTilbyId;
21999
+ this.processId = processId;
22000
+ this.errorLogId = errorLogId;
22001
+ }
22002
+ getPath() {
22003
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_menu_processes/${this.processId}/error_logs/${this.errorLogId}`;
22004
+ }
22005
+ };
22006
+ var getIntegrationTilbySyncOrdersProcessesQuerySchema = integrationTilbySyncOrdersProcessesQuerySchema;
22007
+ var getIntegrationTilbySyncOrdersProcessesInputSchema = external_exports.undefined();
22008
+ var getIntegrationTilbySyncOrdersProcessesResponseSchema = createPaginatedSchema43(
22009
+ integrationTilbySyncOrdersProcessSchema
22010
+ );
22011
+ var GetIntegrationTilbySyncOrdersProcesses = class extends AbstractApiRequest186 {
22012
+ constructor(integrationTilbyId, options) {
22013
+ super(void 0, options);
22014
+ this.method = "GET";
22015
+ this.contentType = "application/json";
22016
+ this.accept = "application/json";
22017
+ this.inputSchema = getIntegrationTilbySyncOrdersProcessesInputSchema;
22018
+ this.outputSchema = getIntegrationTilbySyncOrdersProcessesResponseSchema;
22019
+ this.querySchema = getIntegrationTilbySyncOrdersProcessesQuerySchema;
22020
+ this.headersSchema = void 0;
22021
+ this.listItemSchema = integrationTilbySyncOrdersProcessSchema;
22022
+ this.paginationDefaultEnabled = true;
22023
+ this.integrationTilbyId = integrationTilbyId;
22024
+ }
22025
+ getPath() {
22026
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_orders_processes`;
22027
+ }
22028
+ };
22029
+ var getIntegrationTilbySyncOrdersProcessDetailsInputSchema = external_exports.undefined();
22030
+ var getIntegrationTilbySyncOrdersProcessDetailsResponseSchema = integrationTilbySyncOrdersProcessDetailsSchema;
22031
+ var GetIntegrationTilbySyncOrdersProcessDetails = class extends AbstractApiRequest186 {
22032
+ constructor(integrationTilbyId, processId) {
22033
+ super(void 0);
22034
+ this.method = "GET";
22035
+ this.contentType = "application/json";
22036
+ this.accept = "application/json";
22037
+ this.inputSchema = getIntegrationTilbySyncOrdersProcessDetailsInputSchema;
22038
+ this.outputSchema = getIntegrationTilbySyncOrdersProcessDetailsResponseSchema;
22039
+ this.querySchema = void 0;
22040
+ this.headersSchema = void 0;
22041
+ this.integrationTilbyId = integrationTilbyId;
22042
+ this.processId = processId;
22043
+ }
22044
+ getPath() {
22045
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_orders_processes/${this.processId}`;
22046
+ }
22047
+ };
22048
+ var getIntegrationTilbySyncOrdersErrorLogsQuerySchema = integrationTilbySyncOrdersErrorLogsQuerySchema;
22049
+ var getIntegrationTilbySyncOrdersErrorLogsInputSchema = external_exports.undefined();
22050
+ var getIntegrationTilbySyncOrdersErrorLogsResponseSchema = createPaginatedSchema43(
22051
+ integrationTilbySyncOrdersErrorLogSchema
22052
+ );
22053
+ var GetIntegrationTilbySyncOrdersErrorLogs = class extends AbstractApiRequest186 {
22054
+ constructor(integrationTilbyId, processId, options) {
22055
+ super(void 0, options);
22056
+ this.method = "GET";
22057
+ this.contentType = "application/json";
22058
+ this.accept = "application/json";
22059
+ this.inputSchema = getIntegrationTilbySyncOrdersErrorLogsInputSchema;
22060
+ this.outputSchema = getIntegrationTilbySyncOrdersErrorLogsResponseSchema;
22061
+ this.querySchema = getIntegrationTilbySyncOrdersErrorLogsQuerySchema;
22062
+ this.headersSchema = void 0;
22063
+ this.listItemSchema = integrationTilbySyncOrdersErrorLogSchema;
22064
+ this.paginationDefaultEnabled = true;
22065
+ this.integrationTilbyId = integrationTilbyId;
22066
+ this.processId = processId;
22067
+ }
22068
+ getPath() {
22069
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_orders_processes/${this.processId}/error_logs`;
22070
+ }
22071
+ };
22072
+ var getIntegrationTilbySyncOrdersErrorLogDetailsInputSchema = external_exports.undefined();
22073
+ var getIntegrationTilbySyncOrdersErrorLogDetailsResponseSchema = integrationTilbySyncOrdersErrorLogDetailsSchema;
22074
+ var GetIntegrationTilbySyncOrdersErrorLogDetails = class extends AbstractApiRequest186 {
22075
+ constructor(integrationTilbyId, processId, errorLogId) {
22076
+ super(void 0);
22077
+ this.method = "GET";
22078
+ this.contentType = "application/json";
22079
+ this.accept = "application/json";
22080
+ this.inputSchema = getIntegrationTilbySyncOrdersErrorLogDetailsInputSchema;
22081
+ this.outputSchema = getIntegrationTilbySyncOrdersErrorLogDetailsResponseSchema;
22082
+ this.querySchema = void 0;
22083
+ this.headersSchema = void 0;
22084
+ this.integrationTilbyId = integrationTilbyId;
22085
+ this.processId = processId;
22086
+ this.errorLogId = errorLogId;
22087
+ }
22088
+ getPath() {
22089
+ return `/integrations/tilby/${this.integrationTilbyId}/sync_orders_processes/${this.processId}/error_logs/${this.errorLogId}`;
22090
+ }
22091
+ };
22092
+ var getIntegrationTilbyWebHookSettingsQuerySchema = integrationTilbyWebHookSettingsQuerySchema;
22093
+ var getIntegrationTilbyWebHookSettingsInputSchema = external_exports.undefined();
22094
+ var getIntegrationTilbyWebHookSettingsResponseSchema = external_exports.array(
22095
+ integrationTilbyWebHookSettingSchema
22096
+ );
22097
+ var GetIntegrationTilbyWebHookSettings = class extends AbstractApiRequest186 {
22098
+ constructor(integrationTilbyId, options) {
22099
+ super(void 0, options);
22100
+ this.method = "GET";
22101
+ this.contentType = "application/json";
22102
+ this.accept = "application/json";
22103
+ this.inputSchema = getIntegrationTilbyWebHookSettingsInputSchema;
22104
+ this.outputSchema = getIntegrationTilbyWebHookSettingsResponseSchema;
22105
+ this.querySchema = getIntegrationTilbyWebHookSettingsQuerySchema;
22106
+ this.headersSchema = void 0;
22107
+ this.listItemSchema = integrationTilbyWebHookSettingSchema;
22108
+ this.paginationDefaultEnabled = false;
22109
+ this.integrationTilbyId = integrationTilbyId;
22110
+ }
22111
+ getPath() {
22112
+ return `/integrations/tilby/${this.integrationTilbyId}/webhook_settings`;
22113
+ }
22114
+ };
22115
+ var getIntegrationTilbyWebHookSettingDetailsInputSchema = external_exports.undefined();
22116
+ var getIntegrationTilbyWebHookSettingDetailsResponseSchema = integrationTilbyWebHookSettingDetailsSchema;
22117
+ var GetIntegrationTilbyWebHookSettingDetails = class extends AbstractApiRequest186 {
22118
+ constructor(integrationTilbyId, webHookId) {
22119
+ super(void 0);
22120
+ this.method = "GET";
22121
+ this.contentType = "application/json";
22122
+ this.accept = "application/json";
22123
+ this.inputSchema = getIntegrationTilbyWebHookSettingDetailsInputSchema;
22124
+ this.outputSchema = getIntegrationTilbyWebHookSettingDetailsResponseSchema;
22125
+ this.querySchema = void 0;
22126
+ this.headersSchema = void 0;
22127
+ this.integrationTilbyId = integrationTilbyId;
22128
+ this.webHookId = webHookId;
22129
+ }
22130
+ getPath() {
22131
+ return `/integrations/tilby/${this.integrationTilbyId}/webhook_settings/${this.webHookId}`;
22132
+ }
22133
+ };
22134
+ var getIntegrationTilbyWebHookEventsQuerySchema = integrationTilbyWebHookEventsQuerySchema;
22135
+ var getIntegrationTilbyWebHookEventsInputSchema = external_exports.undefined();
22136
+ var getIntegrationTilbyWebHookEventsResponseSchema = createPaginatedSchema43(
22137
+ integrationTilbyWebHookEventSchema
22138
+ );
22139
+ var GetIntegrationTilbyWebHookEvents = class extends AbstractApiRequest186 {
22140
+ constructor(integrationTilbyId, options) {
22141
+ super(void 0, options);
22142
+ this.method = "GET";
22143
+ this.contentType = "application/json";
22144
+ this.accept = "application/json";
22145
+ this.inputSchema = getIntegrationTilbyWebHookEventsInputSchema;
22146
+ this.outputSchema = getIntegrationTilbyWebHookEventsResponseSchema;
22147
+ this.querySchema = getIntegrationTilbyWebHookEventsQuerySchema;
22148
+ this.headersSchema = void 0;
22149
+ this.listItemSchema = integrationTilbyWebHookEventSchema;
22150
+ this.paginationDefaultEnabled = true;
22151
+ this.integrationTilbyId = integrationTilbyId;
22152
+ }
22153
+ getPath() {
22154
+ return `/integrations/tilby/${this.integrationTilbyId}/webhook_events`;
22155
+ }
22156
+ };
22157
+ var getIntegrationTilbyWebHookEventDetailsInputSchema = external_exports.undefined();
22158
+ var getIntegrationTilbyWebHookEventDetailsResponseSchema = integrationTilbyWebHookEventDetailsSchema;
22159
+ var GetIntegrationTilbyWebHookEventDetails = class extends AbstractApiRequest186 {
22160
+ constructor(integrationTilbyId, eventId) {
22161
+ super(void 0);
22162
+ this.method = "GET";
22163
+ this.contentType = "application/json";
22164
+ this.accept = "application/json";
22165
+ this.inputSchema = getIntegrationTilbyWebHookEventDetailsInputSchema;
22166
+ this.outputSchema = getIntegrationTilbyWebHookEventDetailsResponseSchema;
22167
+ this.querySchema = void 0;
22168
+ this.headersSchema = void 0;
22169
+ this.integrationTilbyId = integrationTilbyId;
22170
+ this.eventId = eventId;
22171
+ }
22172
+ getPath() {
22173
+ return `/integrations/tilby/${this.integrationTilbyId}/webhook_events/${this.eventId}`;
22174
+ }
22175
+ };
22176
+
22177
+ // src/requests/UpdateIntegration.ts
22178
+ import { AbstractApiRequest as AbstractApiRequest187 } from "@deliverart/sdk-js-core";
20411
22179
  var updateIntegrationInputSchema = writableIntegrationSchema.partial();
20412
22180
  var updateIntegrationResponseSchema = integrationDetailsSchema;
20413
- var UpdateIntegration = class extends AbstractApiRequest186 {
22181
+ var UpdateIntegration = class extends AbstractApiRequest187 {
20414
22182
  constructor(integrationId, input) {
20415
22183
  super(input);
20416
22184
  this.method = "PATCH";
@@ -20441,6 +22209,7 @@ export {
20441
22209
  CreateIntegrationJustEat,
20442
22210
  CreateIntegrationKitchen,
20443
22211
  CreateIntegrationKitchenAccessToken,
22212
+ CreateIntegrationTilby,
20444
22213
  DeleteIntegration,
20445
22214
  DeleteIntegrationActivationRequest,
20446
22215
  DeleteIntegrationCancellationRequest,
@@ -20451,6 +22220,7 @@ export {
20451
22220
  DeleteIntegrationJustEat,
20452
22221
  DeleteIntegrationKitchen,
20453
22222
  DeleteIntegrationKitchenAccessToken,
22223
+ DeleteIntegrationTilby,
20454
22224
  GetIntegrationActivationRequestDetails,
20455
22225
  GetIntegrationActivationRequests,
20456
22226
  GetIntegrationActivationRequestsFromPointOfSale,
@@ -20585,6 +22355,45 @@ export {
20585
22355
  GetIntegrationKitchenAccessTokens,
20586
22356
  GetIntegrationKitchenDetails,
20587
22357
  GetIntegrationKitchenList,
22358
+ GetIntegrationTilbyCategoryMappingDetails,
22359
+ GetIntegrationTilbyCategoryMappings,
22360
+ GetIntegrationTilbyComponentMappingDetails,
22361
+ GetIntegrationTilbyComponentMappings,
22362
+ GetIntegrationTilbyCustomerMappingDetails,
22363
+ GetIntegrationTilbyCustomerMappings,
22364
+ GetIntegrationTilbyDepartmentMappingDetails,
22365
+ GetIntegrationTilbyDepartmentMappings,
22366
+ GetIntegrationTilbyDetails,
22367
+ GetIntegrationTilbyList,
22368
+ GetIntegrationTilbyOrderMappingDetails,
22369
+ GetIntegrationTilbyOrderMappings,
22370
+ GetIntegrationTilbyOrderMappingsFromOrder,
22371
+ GetIntegrationTilbyProductMappingDetails,
22372
+ GetIntegrationTilbyProductMappings,
22373
+ GetIntegrationTilbyProductVariantMappingDetails,
22374
+ GetIntegrationTilbyProductVariantMappings,
22375
+ GetIntegrationTilbySyncCustomersErrorLogDetails,
22376
+ GetIntegrationTilbySyncCustomersErrorLogs,
22377
+ GetIntegrationTilbySyncCustomersProcessDetails,
22378
+ GetIntegrationTilbySyncCustomersProcesses,
22379
+ GetIntegrationTilbySyncFiscalMappingsErrorLogDetails,
22380
+ GetIntegrationTilbySyncFiscalMappingsErrorLogs,
22381
+ GetIntegrationTilbySyncFiscalMappingsProcessDetails,
22382
+ GetIntegrationTilbySyncFiscalMappingsProcesses,
22383
+ GetIntegrationTilbySyncMenuErrorLogDetails,
22384
+ GetIntegrationTilbySyncMenuErrorLogs,
22385
+ GetIntegrationTilbySyncMenuProcessDetails,
22386
+ GetIntegrationTilbySyncMenuProcesses,
22387
+ GetIntegrationTilbySyncOrdersErrorLogDetails,
22388
+ GetIntegrationTilbySyncOrdersErrorLogs,
22389
+ GetIntegrationTilbySyncOrdersProcessDetails,
22390
+ GetIntegrationTilbySyncOrdersProcesses,
22391
+ GetIntegrationTilbyVatMappingDetails,
22392
+ GetIntegrationTilbyVatMappings,
22393
+ GetIntegrationTilbyWebHookEventDetails,
22394
+ GetIntegrationTilbyWebHookEvents,
22395
+ GetIntegrationTilbyWebHookSettingDetails,
22396
+ GetIntegrationTilbyWebHookSettings,
20588
22397
  GetIntegrations,
20589
22398
  GetIntegrationsFromPointOfSale,
20590
22399
  IntegrationCassaInCloudSyncCustomers,
@@ -20599,6 +22408,10 @@ export {
20599
22408
  IntegrationGlovoSyncMenu,
20600
22409
  IntegrationJustEatSyncMenu,
20601
22410
  IntegrationJustEatSyncOpeningTimes,
22411
+ IntegrationTilbySyncCustomers,
22412
+ IntegrationTilbySyncFiscalMappings,
22413
+ IntegrationTilbySyncMenu,
22414
+ IntegrationTilbySyncOrders,
20602
22415
  RespondIntegrationActivationRequest,
20603
22416
  SendIntegrationActivationRequestToPartner,
20604
22417
  UpdateIntegration,
@@ -20613,6 +22426,13 @@ export {
20613
22426
  UpdateIntegrationJustEat,
20614
22427
  UpdateIntegrationJustEatRestaurantStatus,
20615
22428
  UpdateIntegrationKitchen,
22429
+ UpdateIntegrationTilby,
22430
+ UpdateIntegrationTilbyCategoryMapping,
22431
+ UpdateIntegrationTilbyComponentMapping,
22432
+ UpdateIntegrationTilbyDepartmentMapping,
22433
+ UpdateIntegrationTilbyProductMapping,
22434
+ UpdateIntegrationTilbyProductVariantMapping,
22435
+ UpdateIntegrationTilbyVatMapping,
20616
22436
  activatableIntegrationBaseSchema,
20617
22437
  activatableIntegrationHealthStatusSchema,
20618
22438
  activatableIntegrationHealthStatuses,
@@ -20648,6 +22468,8 @@ export {
20648
22468
  createIntegrationKitchenAccessTokenResponseSchema,
20649
22469
  createIntegrationKitchenInputSchema,
20650
22470
  createIntegrationKitchenResponseSchema,
22471
+ createIntegrationTilbyInputSchema,
22472
+ createIntegrationTilbyResponseSchema,
20651
22473
  deleteIntegrationActivationRequestInputSchema,
20652
22474
  deleteIntegrationActivationRequestResponseSchema,
20653
22475
  deleteIntegrationCancellationRequestInputSchema,
@@ -20668,6 +22490,8 @@ export {
20668
22490
  deleteIntegrationKitchenInputSchema,
20669
22491
  deleteIntegrationKitchenResponseSchema,
20670
22492
  deleteIntegrationResponseSchema,
22493
+ deleteIntegrationTilbyInputSchema,
22494
+ deleteIntegrationTilbyResponseSchema,
20671
22495
  exclusiveIntegrationServiceSchema,
20672
22496
  exclusiveIntegrationServices,
20673
22497
  getIntegrationActivationRequestDetailsInputSchema,
@@ -21011,6 +22835,104 @@ export {
21011
22835
  getIntegrationKitchenListInputSchema,
21012
22836
  getIntegrationKitchenListQuerySchema,
21013
22837
  getIntegrationKitchenListResponseSchema,
22838
+ getIntegrationTilbyCategoryMappingDetailsInputSchema,
22839
+ getIntegrationTilbyCategoryMappingDetailsResponseSchema,
22840
+ getIntegrationTilbyCategoryMappingsInputSchema,
22841
+ getIntegrationTilbyCategoryMappingsQuerySchema,
22842
+ getIntegrationTilbyCategoryMappingsResponseSchema,
22843
+ getIntegrationTilbyComponentMappingDetailsInputSchema,
22844
+ getIntegrationTilbyComponentMappingDetailsResponseSchema,
22845
+ getIntegrationTilbyComponentMappingsInputSchema,
22846
+ getIntegrationTilbyComponentMappingsQuerySchema,
22847
+ getIntegrationTilbyComponentMappingsResponseSchema,
22848
+ getIntegrationTilbyCustomerMappingDetailsInputSchema,
22849
+ getIntegrationTilbyCustomerMappingDetailsResponseSchema,
22850
+ getIntegrationTilbyCustomerMappingsInputSchema,
22851
+ getIntegrationTilbyCustomerMappingsQuerySchema,
22852
+ getIntegrationTilbyCustomerMappingsResponseSchema,
22853
+ getIntegrationTilbyDepartmentMappingDetailsInputSchema,
22854
+ getIntegrationTilbyDepartmentMappingDetailsResponseSchema,
22855
+ getIntegrationTilbyDepartmentMappingsInputSchema,
22856
+ getIntegrationTilbyDepartmentMappingsQuerySchema,
22857
+ getIntegrationTilbyDepartmentMappingsResponseSchema,
22858
+ getIntegrationTilbyDetailsInputSchema,
22859
+ getIntegrationTilbyDetailsResponseSchema,
22860
+ getIntegrationTilbyListInputSchema,
22861
+ getIntegrationTilbyListQuerySchema,
22862
+ getIntegrationTilbyListResponseSchema,
22863
+ getIntegrationTilbyOrderMappingDetailsInputSchema,
22864
+ getIntegrationTilbyOrderMappingDetailsResponseSchema,
22865
+ getIntegrationTilbyOrderMappingsFromOrderInputSchema,
22866
+ getIntegrationTilbyOrderMappingsFromOrderQuerySchema,
22867
+ getIntegrationTilbyOrderMappingsFromOrderResponseSchema,
22868
+ getIntegrationTilbyOrderMappingsInputSchema,
22869
+ getIntegrationTilbyOrderMappingsQuerySchema,
22870
+ getIntegrationTilbyOrderMappingsResponseSchema,
22871
+ getIntegrationTilbyProductMappingDetailsInputSchema,
22872
+ getIntegrationTilbyProductMappingDetailsResponseSchema,
22873
+ getIntegrationTilbyProductMappingsInputSchema,
22874
+ getIntegrationTilbyProductMappingsQuerySchema,
22875
+ getIntegrationTilbyProductMappingsResponseSchema,
22876
+ getIntegrationTilbyProductVariantMappingDetailsInputSchema,
22877
+ getIntegrationTilbyProductVariantMappingDetailsResponseSchema,
22878
+ getIntegrationTilbyProductVariantMappingsInputSchema,
22879
+ getIntegrationTilbyProductVariantMappingsQuerySchema,
22880
+ getIntegrationTilbyProductVariantMappingsResponseSchema,
22881
+ getIntegrationTilbySyncCustomersErrorLogDetailsInputSchema,
22882
+ getIntegrationTilbySyncCustomersErrorLogDetailsResponseSchema,
22883
+ getIntegrationTilbySyncCustomersErrorLogsInputSchema,
22884
+ getIntegrationTilbySyncCustomersErrorLogsQuerySchema,
22885
+ getIntegrationTilbySyncCustomersErrorLogsResponseSchema,
22886
+ getIntegrationTilbySyncCustomersProcessDetailsInputSchema,
22887
+ getIntegrationTilbySyncCustomersProcessDetailsResponseSchema,
22888
+ getIntegrationTilbySyncCustomersProcessesInputSchema,
22889
+ getIntegrationTilbySyncCustomersProcessesQuerySchema,
22890
+ getIntegrationTilbySyncCustomersProcessesResponseSchema,
22891
+ getIntegrationTilbySyncFiscalMappingsErrorLogDetailsInputSchema,
22892
+ getIntegrationTilbySyncFiscalMappingsErrorLogDetailsResponseSchema,
22893
+ getIntegrationTilbySyncFiscalMappingsErrorLogsInputSchema,
22894
+ getIntegrationTilbySyncFiscalMappingsErrorLogsQuerySchema,
22895
+ getIntegrationTilbySyncFiscalMappingsErrorLogsResponseSchema,
22896
+ getIntegrationTilbySyncFiscalMappingsProcessDetailsInputSchema,
22897
+ getIntegrationTilbySyncFiscalMappingsProcessDetailsResponseSchema,
22898
+ getIntegrationTilbySyncFiscalMappingsProcessesInputSchema,
22899
+ getIntegrationTilbySyncFiscalMappingsProcessesQuerySchema,
22900
+ getIntegrationTilbySyncFiscalMappingsProcessesResponseSchema,
22901
+ getIntegrationTilbySyncMenuErrorLogDetailsInputSchema,
22902
+ getIntegrationTilbySyncMenuErrorLogDetailsResponseSchema,
22903
+ getIntegrationTilbySyncMenuErrorLogsInputSchema,
22904
+ getIntegrationTilbySyncMenuErrorLogsQuerySchema,
22905
+ getIntegrationTilbySyncMenuErrorLogsResponseSchema,
22906
+ getIntegrationTilbySyncMenuProcessDetailsInputSchema,
22907
+ getIntegrationTilbySyncMenuProcessDetailsResponseSchema,
22908
+ getIntegrationTilbySyncMenuProcessesInputSchema,
22909
+ getIntegrationTilbySyncMenuProcessesQuerySchema,
22910
+ getIntegrationTilbySyncMenuProcessesResponseSchema,
22911
+ getIntegrationTilbySyncOrdersErrorLogDetailsInputSchema,
22912
+ getIntegrationTilbySyncOrdersErrorLogDetailsResponseSchema,
22913
+ getIntegrationTilbySyncOrdersErrorLogsInputSchema,
22914
+ getIntegrationTilbySyncOrdersErrorLogsQuerySchema,
22915
+ getIntegrationTilbySyncOrdersErrorLogsResponseSchema,
22916
+ getIntegrationTilbySyncOrdersProcessDetailsInputSchema,
22917
+ getIntegrationTilbySyncOrdersProcessDetailsResponseSchema,
22918
+ getIntegrationTilbySyncOrdersProcessesInputSchema,
22919
+ getIntegrationTilbySyncOrdersProcessesQuerySchema,
22920
+ getIntegrationTilbySyncOrdersProcessesResponseSchema,
22921
+ getIntegrationTilbyVatMappingDetailsInputSchema,
22922
+ getIntegrationTilbyVatMappingDetailsResponseSchema,
22923
+ getIntegrationTilbyVatMappingsInputSchema,
22924
+ getIntegrationTilbyVatMappingsQuerySchema,
22925
+ getIntegrationTilbyVatMappingsResponseSchema,
22926
+ getIntegrationTilbyWebHookEventDetailsInputSchema,
22927
+ getIntegrationTilbyWebHookEventDetailsResponseSchema,
22928
+ getIntegrationTilbyWebHookEventsInputSchema,
22929
+ getIntegrationTilbyWebHookEventsQuerySchema,
22930
+ getIntegrationTilbyWebHookEventsResponseSchema,
22931
+ getIntegrationTilbyWebHookSettingDetailsInputSchema,
22932
+ getIntegrationTilbyWebHookSettingDetailsResponseSchema,
22933
+ getIntegrationTilbyWebHookSettingsInputSchema,
22934
+ getIntegrationTilbyWebHookSettingsQuerySchema,
22935
+ getIntegrationTilbyWebHookSettingsResponseSchema,
21014
22936
  getIntegrationsFromPointOfSaleInputSchema,
21015
22937
  getIntegrationsFromPointOfSaleQuerySchema,
21016
22938
  getIntegrationsFromPointOfSaleResponseSchema,
@@ -21339,12 +23261,126 @@ export {
21339
23261
  integrationServices,
21340
23262
  integrationStatusSchema,
21341
23263
  integrationStatuses,
23264
+ integrationTilbyCategoryMappingDetailsSchema,
23265
+ integrationTilbyCategoryMappingEditableFieldsSchema,
23266
+ integrationTilbyCategoryMappingIriSchema,
23267
+ integrationTilbyCategoryMappingNullableIriSchema,
23268
+ integrationTilbyCategoryMappingSchema,
23269
+ integrationTilbyCategoryMappingsQuerySchema,
23270
+ integrationTilbyComponentMappingDetailsSchema,
23271
+ integrationTilbyComponentMappingEditableFieldsSchema,
23272
+ integrationTilbyComponentMappingIriSchema,
23273
+ integrationTilbyComponentMappingNullableIriSchema,
23274
+ integrationTilbyComponentMappingSchema,
23275
+ integrationTilbyComponentMappingsQuerySchema,
23276
+ integrationTilbyCustomerMappingDetailsSchema,
23277
+ integrationTilbyCustomerMappingIriSchema,
23278
+ integrationTilbyCustomerMappingNullableIriSchema,
23279
+ integrationTilbyCustomerMappingSchema,
23280
+ integrationTilbyCustomerMappingsQuerySchema,
23281
+ integrationTilbyCustomersSyncStepSchema,
23282
+ integrationTilbyCustomersSyncSteps,
23283
+ integrationTilbyDepartmentMappingDetailsSchema,
23284
+ integrationTilbyDepartmentMappingEditableFieldsSchema,
23285
+ integrationTilbyDepartmentMappingIriSchema,
23286
+ integrationTilbyDepartmentMappingNullableIriSchema,
23287
+ integrationTilbyDepartmentMappingSchema,
23288
+ integrationTilbyDepartmentMappingsQuerySchema,
23289
+ integrationTilbyDetailsSchema,
23290
+ integrationTilbyEditableFieldsSchema,
23291
+ integrationTilbyEditableSyncSettingsSchema,
23292
+ integrationTilbyFiscalMappingsSyncStepSchema,
23293
+ integrationTilbyFiscalMappingsSyncSteps,
23294
+ integrationTilbyIriSchema,
23295
+ integrationTilbyMappingSyncFailureCodeSchema,
23296
+ integrationTilbyMappingSyncFailureCodes,
23297
+ integrationTilbyMappingSyncStateEditableFieldsSchema,
23298
+ integrationTilbyMappingSyncStateSchema,
23299
+ integrationTilbyMappingSyncStatusSchema,
23300
+ integrationTilbyMappingSyncStatuses,
23301
+ integrationTilbyMenuSyncStepSchema,
23302
+ integrationTilbyMenuSyncSteps,
23303
+ integrationTilbyNullableIriSchema,
23304
+ integrationTilbyOrderMappingDetailsSchema,
23305
+ integrationTilbyOrderMappingIriSchema,
23306
+ integrationTilbyOrderMappingNullableIriSchema,
23307
+ integrationTilbyOrderMappingSchema,
23308
+ integrationTilbyOrderMappingsQuerySchema,
23309
+ integrationTilbyOrdersSyncStepSchema,
23310
+ integrationTilbyOrdersSyncSteps,
23311
+ integrationTilbyProductMappingDetailsSchema,
23312
+ integrationTilbyProductMappingEditableFieldsSchema,
23313
+ integrationTilbyProductMappingIriSchema,
23314
+ integrationTilbyProductMappingNullableIriSchema,
23315
+ integrationTilbyProductMappingSchema,
23316
+ integrationTilbyProductMappingsQuerySchema,
23317
+ integrationTilbyProductVariantMappingDetailsSchema,
23318
+ integrationTilbyProductVariantMappingEditableFieldsSchema,
23319
+ integrationTilbyProductVariantMappingIriSchema,
23320
+ integrationTilbyProductVariantMappingNullableIriSchema,
23321
+ integrationTilbyProductVariantMappingSchema,
23322
+ integrationTilbyProductVariantMappingsQuerySchema,
23323
+ integrationTilbySchema,
23324
+ integrationTilbySyncCustomersErrorLogDetailsSchema,
23325
+ integrationTilbySyncCustomersErrorLogIriSchema,
23326
+ integrationTilbySyncCustomersErrorLogSchema,
23327
+ integrationTilbySyncCustomersErrorLogsQuerySchema,
23328
+ integrationTilbySyncCustomersProcessDetailsSchema,
23329
+ integrationTilbySyncCustomersProcessIriSchema,
23330
+ integrationTilbySyncCustomersProcessSchema,
23331
+ integrationTilbySyncCustomersProcessesQuerySchema,
23332
+ integrationTilbySyncDirectionSchema,
23333
+ integrationTilbySyncDirections,
23334
+ integrationTilbySyncFiscalMappingsErrorLogDetailsSchema,
23335
+ integrationTilbySyncFiscalMappingsErrorLogIriSchema,
23336
+ integrationTilbySyncFiscalMappingsErrorLogSchema,
23337
+ integrationTilbySyncFiscalMappingsErrorLogsQuerySchema,
23338
+ integrationTilbySyncFiscalMappingsProcessDetailsSchema,
23339
+ integrationTilbySyncFiscalMappingsProcessIriSchema,
23340
+ integrationTilbySyncFiscalMappingsProcessSchema,
23341
+ integrationTilbySyncFiscalMappingsProcessesQuerySchema,
23342
+ integrationTilbySyncMenuErrorLogDetailsSchema,
23343
+ integrationTilbySyncMenuErrorLogIriSchema,
23344
+ integrationTilbySyncMenuErrorLogSchema,
23345
+ integrationTilbySyncMenuErrorLogsQuerySchema,
23346
+ integrationTilbySyncMenuProcessDetailsSchema,
23347
+ integrationTilbySyncMenuProcessIriSchema,
23348
+ integrationTilbySyncMenuProcessSchema,
23349
+ integrationTilbySyncMenuProcessesQuerySchema,
23350
+ integrationTilbySyncModeSchema,
23351
+ integrationTilbySyncModes,
23352
+ integrationTilbySyncOrdersErrorLogDetailsSchema,
23353
+ integrationTilbySyncOrdersErrorLogIriSchema,
23354
+ integrationTilbySyncOrdersErrorLogSchema,
23355
+ integrationTilbySyncOrdersErrorLogsQuerySchema,
23356
+ integrationTilbySyncOrdersProcessDetailsSchema,
23357
+ integrationTilbySyncOrdersProcessIriSchema,
23358
+ integrationTilbySyncOrdersProcessSchema,
23359
+ integrationTilbySyncOrdersProcessesQuerySchema,
23360
+ integrationTilbySyncResponseSchema,
23361
+ integrationTilbySyncSettingsSchema,
23362
+ integrationTilbySyncTimesSchema,
23363
+ integrationTilbyVatMappingDetailsSchema,
23364
+ integrationTilbyVatMappingEditableFieldsSchema,
23365
+ integrationTilbyVatMappingIriSchema,
23366
+ integrationTilbyVatMappingNullableIriSchema,
23367
+ integrationTilbyVatMappingSchema,
23368
+ integrationTilbyVatMappingsQuerySchema,
23369
+ integrationTilbyWebHookEventDetailsSchema,
23370
+ integrationTilbyWebHookEventIriSchema,
23371
+ integrationTilbyWebHookEventSchema,
23372
+ integrationTilbyWebHookEventsQuerySchema,
23373
+ integrationTilbyWebHookSettingDetailsSchema,
23374
+ integrationTilbyWebHookSettingIriSchema,
23375
+ integrationTilbyWebHookSettingSchema,
23376
+ integrationTilbyWebHookSettingsQuerySchema,
21342
23377
  integrationsCassaInCloudQuerySchema,
21343
23378
  integrationsDeliverooQuerySchema,
21344
23379
  integrationsEcommerceQuerySchema,
21345
23380
  integrationsGlovoQuerySchema,
21346
23381
  integrationsJustEatQuerySchema,
21347
23382
  integrationsKitchenQuerySchema,
23383
+ integrationsTilbyQuerySchema,
21348
23384
  menuVersionDetailsSchema,
21349
23385
  menuVersionSchema,
21350
23386
  respondIntegrationActivationRequestInputSchema,
@@ -21375,5 +23411,19 @@ export {
21375
23411
  updateIntegrationKitchenInputSchema,
21376
23412
  updateIntegrationKitchenResponseSchema,
21377
23413
  updateIntegrationResponseSchema,
23414
+ updateIntegrationTilbyCategoryMappingInputSchema,
23415
+ updateIntegrationTilbyCategoryMappingResponseSchema,
23416
+ updateIntegrationTilbyComponentMappingInputSchema,
23417
+ updateIntegrationTilbyComponentMappingResponseSchema,
23418
+ updateIntegrationTilbyDepartmentMappingInputSchema,
23419
+ updateIntegrationTilbyDepartmentMappingResponseSchema,
23420
+ updateIntegrationTilbyInputSchema,
23421
+ updateIntegrationTilbyProductMappingInputSchema,
23422
+ updateIntegrationTilbyProductMappingResponseSchema,
23423
+ updateIntegrationTilbyProductVariantMappingInputSchema,
23424
+ updateIntegrationTilbyProductVariantMappingResponseSchema,
23425
+ updateIntegrationTilbyResponseSchema,
23426
+ updateIntegrationTilbyVatMappingInputSchema,
23427
+ updateIntegrationTilbyVatMappingResponseSchema,
21378
23428
  writableIntegrationSchema
21379
23429
  };