@deliverart/sdk-js-integration-types 2.36.0-dev.0 → 2.37.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -61,3 +61,12 @@ const payload = integrationElephantDataSchema.parse({
61
61
  ],
62
62
  })
63
63
  ```
64
+
65
+
66
+ ## Tilby amended-order remote deletion
67
+
68
+ `MappingSyncFailureCode.AMENDED_ORDER_REMOTE_DELETED` serializes as
69
+ `amended_order_remote_deleted`. It accompanies manual resolution after confirmed
70
+ remote deletion of an order protected by amendment history or a neighbor intent.
71
+ The canonical order and payment history are retained. Clients must describe
72
+ register review separately from correction completion or confirmed refund.
package/dist/index.cjs CHANGED
@@ -696,6 +696,7 @@ var integrationTilbyMappingSyncFailureCodes = [
696
696
  "unresolved_department_mapping",
697
697
  "customer_conflict",
698
698
  "remote_deleted",
699
+ "amended_order_remote_deleted",
699
700
  "local_entity_not_found",
700
701
  "remote_entity_not_found",
701
702
  "remote_api_error",
package/dist/index.d.cts CHANGED
@@ -2430,7 +2430,7 @@ declare const integrationTilbyMappingSyncStatusSchema: z.ZodEnum<{
2430
2430
  skipped: "skipped";
2431
2431
  }>;
2432
2432
  type IntegrationTilbyMappingSyncStatus = z.infer<typeof integrationTilbyMappingSyncStatusSchema>;
2433
- declare const integrationTilbyMappingSyncFailureCodes: readonly ["missing_remote_identifier", "missing_remote_vat", "missing_remote_category", "missing_remote_department", "unresolved_vat_mapping", "unresolved_category_mapping", "unresolved_department_mapping", "customer_conflict", "remote_deleted", "local_entity_not_found", "remote_entity_not_found", "remote_api_error", "validation_failed", "ambiguous_mapping", "disabled_by_settings", "manual_resolution_required", "unresolved_product_mapping", "unresolved_variant_mapping", "unsupported_order_item", "unsupported_order_type", "invalid_schedule", "remote_sale_not_open", "unsupported_remote_model", "unsupported_bundle", "unsupported_modifier", "unsupported_sales_mode", "unsupported_variant", "unsupported_component", "unknown"];
2433
+ declare const integrationTilbyMappingSyncFailureCodes: readonly ["missing_remote_identifier", "missing_remote_vat", "missing_remote_category", "missing_remote_department", "unresolved_vat_mapping", "unresolved_category_mapping", "unresolved_department_mapping", "customer_conflict", "remote_deleted", "amended_order_remote_deleted", "local_entity_not_found", "remote_entity_not_found", "remote_api_error", "validation_failed", "ambiguous_mapping", "disabled_by_settings", "manual_resolution_required", "unresolved_product_mapping", "unresolved_variant_mapping", "unsupported_order_item", "unsupported_order_type", "invalid_schedule", "remote_sale_not_open", "unsupported_remote_model", "unsupported_bundle", "unsupported_modifier", "unsupported_sales_mode", "unsupported_variant", "unsupported_component", "unknown"];
2434
2434
  declare const integrationTilbyMappingSyncFailureCodeSchema: z.ZodEnum<{
2435
2435
  unknown: "unknown";
2436
2436
  manual_resolution_required: "manual_resolution_required";
@@ -2443,6 +2443,7 @@ declare const integrationTilbyMappingSyncFailureCodeSchema: z.ZodEnum<{
2443
2443
  unresolved_department_mapping: "unresolved_department_mapping";
2444
2444
  customer_conflict: "customer_conflict";
2445
2445
  remote_deleted: "remote_deleted";
2446
+ amended_order_remote_deleted: "amended_order_remote_deleted";
2446
2447
  local_entity_not_found: "local_entity_not_found";
2447
2448
  remote_entity_not_found: "remote_entity_not_found";
2448
2449
  remote_api_error: "remote_api_error";
package/dist/index.d.ts CHANGED
@@ -2430,7 +2430,7 @@ declare const integrationTilbyMappingSyncStatusSchema: z.ZodEnum<{
2430
2430
  skipped: "skipped";
2431
2431
  }>;
2432
2432
  type IntegrationTilbyMappingSyncStatus = z.infer<typeof integrationTilbyMappingSyncStatusSchema>;
2433
- declare const integrationTilbyMappingSyncFailureCodes: readonly ["missing_remote_identifier", "missing_remote_vat", "missing_remote_category", "missing_remote_department", "unresolved_vat_mapping", "unresolved_category_mapping", "unresolved_department_mapping", "customer_conflict", "remote_deleted", "local_entity_not_found", "remote_entity_not_found", "remote_api_error", "validation_failed", "ambiguous_mapping", "disabled_by_settings", "manual_resolution_required", "unresolved_product_mapping", "unresolved_variant_mapping", "unsupported_order_item", "unsupported_order_type", "invalid_schedule", "remote_sale_not_open", "unsupported_remote_model", "unsupported_bundle", "unsupported_modifier", "unsupported_sales_mode", "unsupported_variant", "unsupported_component", "unknown"];
2433
+ declare const integrationTilbyMappingSyncFailureCodes: readonly ["missing_remote_identifier", "missing_remote_vat", "missing_remote_category", "missing_remote_department", "unresolved_vat_mapping", "unresolved_category_mapping", "unresolved_department_mapping", "customer_conflict", "remote_deleted", "amended_order_remote_deleted", "local_entity_not_found", "remote_entity_not_found", "remote_api_error", "validation_failed", "ambiguous_mapping", "disabled_by_settings", "manual_resolution_required", "unresolved_product_mapping", "unresolved_variant_mapping", "unsupported_order_item", "unsupported_order_type", "invalid_schedule", "remote_sale_not_open", "unsupported_remote_model", "unsupported_bundle", "unsupported_modifier", "unsupported_sales_mode", "unsupported_variant", "unsupported_component", "unknown"];
2434
2434
  declare const integrationTilbyMappingSyncFailureCodeSchema: z.ZodEnum<{
2435
2435
  unknown: "unknown";
2436
2436
  manual_resolution_required: "manual_resolution_required";
@@ -2443,6 +2443,7 @@ declare const integrationTilbyMappingSyncFailureCodeSchema: z.ZodEnum<{
2443
2443
  unresolved_department_mapping: "unresolved_department_mapping";
2444
2444
  customer_conflict: "customer_conflict";
2445
2445
  remote_deleted: "remote_deleted";
2446
+ amended_order_remote_deleted: "amended_order_remote_deleted";
2446
2447
  local_entity_not_found: "local_entity_not_found";
2447
2448
  remote_entity_not_found: "remote_entity_not_found";
2448
2449
  remote_api_error: "remote_api_error";
package/dist/index.js CHANGED
@@ -4,14 +4,14 @@ import { z as z5 } from "zod";
4
4
 
5
5
  // src/activatable-integration-data-schemas.ts
6
6
  import {
7
- menuChannelSchema as menuChannelSchema2,
8
7
  menuChannels as menuChannels2,
8
+ menuChannelSchema as menuChannelSchema2,
9
9
  orderTypeSchema
10
10
  } from "@deliverart/sdk-js-global-types";
11
11
  import { z as z3 } from "zod";
12
12
 
13
13
  // src/tilby-sync-settings.ts
14
- import { menuChannelSchema, menuChannels } from "@deliverart/sdk-js-global-types";
14
+ import { menuChannels, menuChannelSchema } from "@deliverart/sdk-js-global-types";
15
15
  import { z } from "zod";
16
16
  var integrationTilbySyncSettingsSchema = z.object({
17
17
  newMenuItemChannels: z.array(menuChannelSchema).default([...menuChannels]),
@@ -432,6 +432,7 @@ var integrationTilbyMappingSyncFailureCodes = [
432
432
  "unresolved_department_mapping",
433
433
  "customer_conflict",
434
434
  "remote_deleted",
435
+ "amended_order_remote_deleted",
435
436
  "local_entity_not_found",
436
437
  "remote_entity_not_found",
437
438
  "remote_api_error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-integration-types",
3
3
  "description": "Deliverart JavaScript SDK shared integration types and schemas",
4
- "version": "2.36.0-dev.0",
4
+ "version": "2.37.0-dev.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "zod": "4.3.5",
22
- "@deliverart/sdk-js-global-types": "2.36.0-dev.0"
22
+ "@deliverart/sdk-js-global-types": "2.37.0-dev.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "vitest": "4.1.11"