@deliverart/sdk-js-integration 2.2.1 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +26 -26
- package/dist/index.d.ts +26 -26
- package/dist/index.js +1 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -13651,7 +13651,7 @@ var IntegrationDeliverooSyncOpeningHours = class extends import_sdk_js_core50.Ab
|
|
|
13651
13651
|
|
|
13652
13652
|
// src/requests/services/deliveroo/UpdateIntegrationDeliveroo.ts
|
|
13653
13653
|
var import_sdk_js_core51 = require("@deliverart/sdk-js-core");
|
|
13654
|
-
var updateIntegrationDeliverooInputSchema = integrationDeliverooEditableFieldsSchema;
|
|
13654
|
+
var updateIntegrationDeliverooInputSchema = integrationDeliverooEditableFieldsSchema.partial();
|
|
13655
13655
|
var updateIntegrationDeliverooResponseSchema = integrationDeliverooDetailsSchema;
|
|
13656
13656
|
var UpdateIntegrationDeliveroo = class extends import_sdk_js_core51.AbstractApiRequest {
|
|
13657
13657
|
constructor(integrationDeliverooId, input) {
|
package/dist/index.d.cts
CHANGED
|
@@ -9733,21 +9733,21 @@ declare class IntegrationDeliverooSyncOpeningHours extends AbstractApiRequest<ty
|
|
|
9733
9733
|
}
|
|
9734
9734
|
|
|
9735
9735
|
declare const updateIntegrationDeliverooInputSchema: z.ZodObject<{
|
|
9736
|
-
brandId: z.ZodString
|
|
9737
|
-
siteId: z.ZodString
|
|
9738
|
-
provider: z.ZodEnum<{
|
|
9736
|
+
brandId: z.ZodOptional<z.ZodString>;
|
|
9737
|
+
siteId: z.ZodOptional<z.ZodString>;
|
|
9738
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
9739
9739
|
deliverart: "deliverart";
|
|
9740
9740
|
cassa_in_cloud: "cassa_in_cloud";
|
|
9741
|
-
}
|
|
9742
|
-
name: z.ZodString
|
|
9743
|
-
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown
|
|
9744
|
-
skipInvalidItem: z.ZodBoolean
|
|
9745
|
-
skipNegativePrices: z.ZodBoolean
|
|
9746
|
-
importTaggedItems: z.ZodBoolean
|
|
9747
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString
|
|
9748
|
-
storeUrl: z.ZodNullable<z.ZodURL
|
|
9749
|
-
cover: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown
|
|
9750
|
-
acceptanceTimeout: z.ZodCoercedNumber<unknown
|
|
9741
|
+
}>>;
|
|
9742
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9743
|
+
salesMode: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>>;
|
|
9744
|
+
skipInvalidItem: z.ZodOptional<z.ZodBoolean>;
|
|
9745
|
+
skipNegativePrices: z.ZodOptional<z.ZodBoolean>;
|
|
9746
|
+
importTaggedItems: z.ZodOptional<z.ZodBoolean>;
|
|
9747
|
+
tagsForImport: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
9748
|
+
storeUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
9749
|
+
cover: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>>;
|
|
9750
|
+
acceptanceTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9751
9751
|
}, z.core.$strip>;
|
|
9752
9752
|
type UpdateIntegrationDeliverooInput = z.input<typeof updateIntegrationDeliverooInputSchema>;
|
|
9753
9753
|
declare const updateIntegrationDeliverooResponseSchema: z.ZodObject<{
|
|
@@ -9798,21 +9798,21 @@ declare class UpdateIntegrationDeliveroo extends AbstractApiRequest<typeof updat
|
|
|
9798
9798
|
readonly contentType = "application/merge-patch+json";
|
|
9799
9799
|
readonly accept = "application/json";
|
|
9800
9800
|
readonly inputSchema: z.ZodObject<{
|
|
9801
|
-
brandId: z.ZodString
|
|
9802
|
-
siteId: z.ZodString
|
|
9803
|
-
provider: z.ZodEnum<{
|
|
9801
|
+
brandId: z.ZodOptional<z.ZodString>;
|
|
9802
|
+
siteId: z.ZodOptional<z.ZodString>;
|
|
9803
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
9804
9804
|
deliverart: "deliverart";
|
|
9805
9805
|
cassa_in_cloud: "cassa_in_cloud";
|
|
9806
|
-
}
|
|
9807
|
-
name: z.ZodString
|
|
9808
|
-
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown
|
|
9809
|
-
skipInvalidItem: z.ZodBoolean
|
|
9810
|
-
skipNegativePrices: z.ZodBoolean
|
|
9811
|
-
importTaggedItems: z.ZodBoolean
|
|
9812
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString
|
|
9813
|
-
storeUrl: z.ZodNullable<z.ZodURL
|
|
9814
|
-
cover: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown
|
|
9815
|
-
acceptanceTimeout: z.ZodCoercedNumber<unknown
|
|
9806
|
+
}>>;
|
|
9807
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9808
|
+
salesMode: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>>;
|
|
9809
|
+
skipInvalidItem: z.ZodOptional<z.ZodBoolean>;
|
|
9810
|
+
skipNegativePrices: z.ZodOptional<z.ZodBoolean>;
|
|
9811
|
+
importTaggedItems: z.ZodOptional<z.ZodBoolean>;
|
|
9812
|
+
tagsForImport: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
9813
|
+
storeUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
9814
|
+
cover: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>>;
|
|
9815
|
+
acceptanceTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9816
9816
|
}, z.core.$strip>;
|
|
9817
9817
|
readonly outputSchema: z.ZodObject<{
|
|
9818
9818
|
status: z.ZodEnum<{
|
package/dist/index.d.ts
CHANGED
|
@@ -9733,21 +9733,21 @@ declare class IntegrationDeliverooSyncOpeningHours extends AbstractApiRequest<ty
|
|
|
9733
9733
|
}
|
|
9734
9734
|
|
|
9735
9735
|
declare const updateIntegrationDeliverooInputSchema: z.ZodObject<{
|
|
9736
|
-
brandId: z.ZodString
|
|
9737
|
-
siteId: z.ZodString
|
|
9738
|
-
provider: z.ZodEnum<{
|
|
9736
|
+
brandId: z.ZodOptional<z.ZodString>;
|
|
9737
|
+
siteId: z.ZodOptional<z.ZodString>;
|
|
9738
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
9739
9739
|
deliverart: "deliverart";
|
|
9740
9740
|
cassa_in_cloud: "cassa_in_cloud";
|
|
9741
|
-
}
|
|
9742
|
-
name: z.ZodString
|
|
9743
|
-
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown
|
|
9744
|
-
skipInvalidItem: z.ZodBoolean
|
|
9745
|
-
skipNegativePrices: z.ZodBoolean
|
|
9746
|
-
importTaggedItems: z.ZodBoolean
|
|
9747
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString
|
|
9748
|
-
storeUrl: z.ZodNullable<z.ZodURL
|
|
9749
|
-
cover: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown
|
|
9750
|
-
acceptanceTimeout: z.ZodCoercedNumber<unknown
|
|
9741
|
+
}>>;
|
|
9742
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9743
|
+
salesMode: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>>;
|
|
9744
|
+
skipInvalidItem: z.ZodOptional<z.ZodBoolean>;
|
|
9745
|
+
skipNegativePrices: z.ZodOptional<z.ZodBoolean>;
|
|
9746
|
+
importTaggedItems: z.ZodOptional<z.ZodBoolean>;
|
|
9747
|
+
tagsForImport: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
9748
|
+
storeUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
9749
|
+
cover: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>>;
|
|
9750
|
+
acceptanceTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9751
9751
|
}, z.core.$strip>;
|
|
9752
9752
|
type UpdateIntegrationDeliverooInput = z.input<typeof updateIntegrationDeliverooInputSchema>;
|
|
9753
9753
|
declare const updateIntegrationDeliverooResponseSchema: z.ZodObject<{
|
|
@@ -9798,21 +9798,21 @@ declare class UpdateIntegrationDeliveroo extends AbstractApiRequest<typeof updat
|
|
|
9798
9798
|
readonly contentType = "application/merge-patch+json";
|
|
9799
9799
|
readonly accept = "application/json";
|
|
9800
9800
|
readonly inputSchema: z.ZodObject<{
|
|
9801
|
-
brandId: z.ZodString
|
|
9802
|
-
siteId: z.ZodString
|
|
9803
|
-
provider: z.ZodEnum<{
|
|
9801
|
+
brandId: z.ZodOptional<z.ZodString>;
|
|
9802
|
+
siteId: z.ZodOptional<z.ZodString>;
|
|
9803
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
9804
9804
|
deliverart: "deliverart";
|
|
9805
9805
|
cassa_in_cloud: "cassa_in_cloud";
|
|
9806
|
-
}
|
|
9807
|
-
name: z.ZodString
|
|
9808
|
-
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown
|
|
9809
|
-
skipInvalidItem: z.ZodBoolean
|
|
9810
|
-
skipNegativePrices: z.ZodBoolean
|
|
9811
|
-
importTaggedItems: z.ZodBoolean
|
|
9812
|
-
tagsForImport: z.ZodOptional<z.ZodArray<z.ZodString
|
|
9813
|
-
storeUrl: z.ZodNullable<z.ZodURL
|
|
9814
|
-
cover: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown
|
|
9815
|
-
acceptanceTimeout: z.ZodCoercedNumber<unknown
|
|
9806
|
+
}>>;
|
|
9807
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9808
|
+
salesMode: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id"> | null, unknown>>>;
|
|
9809
|
+
skipInvalidItem: z.ZodOptional<z.ZodBoolean>;
|
|
9810
|
+
skipNegativePrices: z.ZodOptional<z.ZodBoolean>;
|
|
9811
|
+
importTaggedItems: z.ZodOptional<z.ZodBoolean>;
|
|
9812
|
+
tagsForImport: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
9813
|
+
storeUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
9814
|
+
cover: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>>;
|
|
9815
|
+
acceptanceTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9816
9816
|
}, z.core.$strip>;
|
|
9817
9817
|
readonly outputSchema: z.ZodObject<{
|
|
9818
9818
|
status: z.ZodEnum<{
|
package/dist/index.js
CHANGED
|
@@ -13300,7 +13300,7 @@ var IntegrationDeliverooSyncOpeningHours = class extends AbstractApiRequest50 {
|
|
|
13300
13300
|
|
|
13301
13301
|
// src/requests/services/deliveroo/UpdateIntegrationDeliveroo.ts
|
|
13302
13302
|
import { AbstractApiRequest as AbstractApiRequest51 } from "@deliverart/sdk-js-core";
|
|
13303
|
-
var updateIntegrationDeliverooInputSchema = integrationDeliverooEditableFieldsSchema;
|
|
13303
|
+
var updateIntegrationDeliverooInputSchema = integrationDeliverooEditableFieldsSchema.partial();
|
|
13304
13304
|
var updateIntegrationDeliverooResponseSchema = integrationDeliverooDetailsSchema;
|
|
13305
13305
|
var UpdateIntegrationDeliveroo = class extends AbstractApiRequest51 {
|
|
13306
13306
|
constructor(integrationDeliverooId, input) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-integration",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Integration Management",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-core": "2.2.
|
|
22
|
-
"@deliverart/sdk-js-image": "2.2.
|
|
23
|
-
"@deliverart/sdk-js-global-types": "2.2.
|
|
24
|
-
"@deliverart/sdk-js-point-of-sale": "2.2.
|
|
25
|
-
"@deliverart/sdk-js-sales-mode": "2.2.
|
|
21
|
+
"@deliverart/sdk-js-core": "2.2.2",
|
|
22
|
+
"@deliverart/sdk-js-image": "2.2.2",
|
|
23
|
+
"@deliverart/sdk-js-global-types": "2.2.2",
|
|
24
|
+
"@deliverart/sdk-js-point-of-sale": "2.2.2",
|
|
25
|
+
"@deliverart/sdk-js-sales-mode": "2.2.2"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|