@deliverart/sdk-js-integration 0.0.2 → 0.0.3
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/CHANGELOG.md +6 -0
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +492 -492
- package/dist/index.d.ts +492 -492
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/src/schemas.ts +2 -2
- package/src/service-schemas/justeat.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -811,8 +811,8 @@ var integrationDeliveryProviderCommonSchema = z23.object({
|
|
|
811
811
|
importTaggedItems: z23.boolean(),
|
|
812
812
|
tagsForImport: z23.array(z23.string()).optional(),
|
|
813
813
|
isValidMenu: z23.boolean(),
|
|
814
|
-
latestMenuSyncAt: datetimeSchema3,
|
|
815
|
-
latestMenuCheckAt: datetimeSchema3,
|
|
814
|
+
latestMenuSyncAt: datetimeSchema3.nullable(),
|
|
815
|
+
latestMenuCheckAt: datetimeSchema3.nullable(),
|
|
816
816
|
currentMenuVersion: menuVersionSchema.nullable(),
|
|
817
817
|
salesMode: salesModeNullablePathSchema
|
|
818
818
|
});
|
|
@@ -1174,7 +1174,7 @@ var integrationJustEatSchema = integrationBaseSchema.omit({ service: true }).ext
|
|
|
1174
1174
|
syncType: integrationJustEatSyncTypeSchema,
|
|
1175
1175
|
defaultLanguage: z27.string(),
|
|
1176
1176
|
restaurantId: z27.string(),
|
|
1177
|
-
latestOpeningTimesSyncAt: datetimeSchema7,
|
|
1177
|
+
latestOpeningTimesSyncAt: datetimeSchema7.nullable(),
|
|
1178
1178
|
service: integrationServiceSchema.extract(["justeat"]),
|
|
1179
1179
|
autoAcceptOrders: z27.boolean(),
|
|
1180
1180
|
nextSyncMenuScheduledAt: datetimeSchema7.nullable()
|
package/package.json
CHANGED
package/src/schemas.ts
CHANGED
|
@@ -53,8 +53,8 @@ export const integrationDeliveryProviderCommonSchema = z.object({
|
|
|
53
53
|
importTaggedItems: z.boolean(),
|
|
54
54
|
tagsForImport: z.array(z.string()).optional(),
|
|
55
55
|
isValidMenu: z.boolean(),
|
|
56
|
-
latestMenuSyncAt: datetimeSchema,
|
|
57
|
-
latestMenuCheckAt: datetimeSchema,
|
|
56
|
+
latestMenuSyncAt: datetimeSchema.nullable(),
|
|
57
|
+
latestMenuCheckAt: datetimeSchema.nullable(),
|
|
58
58
|
currentMenuVersion: menuVersionSchema.nullable(),
|
|
59
59
|
salesMode: salesModeNullablePathSchema,
|
|
60
60
|
})
|
|
@@ -24,7 +24,7 @@ export const integrationJustEatSchema = integrationBaseSchema
|
|
|
24
24
|
syncType: integrationJustEatSyncTypeSchema,
|
|
25
25
|
defaultLanguage: z.string(),
|
|
26
26
|
restaurantId: z.string(),
|
|
27
|
-
latestOpeningTimesSyncAt: datetimeSchema,
|
|
27
|
+
latestOpeningTimesSyncAt: datetimeSchema.nullable(),
|
|
28
28
|
service: integrationServiceSchema.extract(['justeat']),
|
|
29
29
|
autoAcceptOrders: z.boolean(),
|
|
30
30
|
nextSyncMenuScheduledAt: datetimeSchema.nullable(),
|