@deliverart/sdk-js-integration-types 2.47.0 → 2.48.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.
- package/README.md +9 -0
- package/dist/index.cjs +5 -0
- package/dist/index.d.cts +129 -119
- package/dist/index.d.ts +129 -119
- package/dist/index.js +5 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,6 +6,15 @@ in editorial and grid layouts. Compact menus remain text-only.
|
|
|
6
6
|
|
|
7
7
|
Shared integration type and Zod schema package for the DeliverArt JavaScript SDK.
|
|
8
8
|
|
|
9
|
+
## Tilby Product Channels
|
|
10
|
+
|
|
11
|
+
`integrationTilbySyncSettingsSchema` defaults `respectDeliverartChannel` to `true`
|
|
12
|
+
and `removeProductsWithoutDeliverartChannel` to `false`. Filtering suspends
|
|
13
|
+
unassigned products unless local removal is enabled; removal requires a concrete
|
|
14
|
+
Tilby mapping and preserves unmapped manual products. With filtering disabled,
|
|
15
|
+
the removal flag is ignored. Sale availability remains independent.
|
|
16
|
+
The editable schema preserves omitted channel settings in merge patches.
|
|
17
|
+
|
|
9
18
|
Use this package when another SDK package needs integration enum values, IRI schemas,
|
|
10
19
|
activatable integration schemas, or service-specific integration data schemas without
|
|
11
20
|
depending on `@deliverart/sdk-js-integration`.
|
package/dist/index.cjs
CHANGED
|
@@ -308,6 +308,8 @@ var integrationTilbySyncSettingsSchema = import_zod.z.object({
|
|
|
308
308
|
skipSyncProductDescription: import_zod.z.boolean().default(false),
|
|
309
309
|
skipSyncImages: import_zod.z.boolean().default(false),
|
|
310
310
|
syncInboundMenu: import_zod.z.boolean().default(true),
|
|
311
|
+
respectDeliverartChannel: import_zod.z.boolean().default(true),
|
|
312
|
+
removeProductsWithoutDeliverartChannel: import_zod.z.boolean().default(false),
|
|
311
313
|
syncOutboundMenu: import_zod.z.boolean().default(false),
|
|
312
314
|
syncInboundCustomers: import_zod.z.boolean().default(false),
|
|
313
315
|
syncOutboundCustomers: import_zod.z.boolean().default(true),
|
|
@@ -322,6 +324,9 @@ var integrationTilbySyncSettingsSchema = import_zod.z.object({
|
|
|
322
324
|
});
|
|
323
325
|
var integrationTilbyEditableSyncSettingsSchema = integrationTilbySyncSettingsSchema.omit({
|
|
324
326
|
allowClosedSaleCreation: true
|
|
327
|
+
}).extend({
|
|
328
|
+
respectDeliverartChannel: import_zod.z.boolean().optional(),
|
|
329
|
+
removeProductsWithoutDeliverartChannel: import_zod.z.boolean().optional()
|
|
325
330
|
}).partial();
|
|
326
331
|
|
|
327
332
|
// src/types.ts
|