@deliverart/sdk-js-integration 2.36.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 +18 -0
- package/dist/index.cjs +46 -34
- package/dist/index.d.cts +353 -18
- package/dist/index.d.ts +353 -18
- package/dist/index.js +47 -35
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -346,6 +346,7 @@ __export(index_exports, {
|
|
|
346
346
|
cancelIntegrationCancellationRequestResponseSchema: () => cancelIntegrationCancellationRequestResponseSchema,
|
|
347
347
|
cancelIntegrationDeliverooSiteDayOffInputSchema: () => cancelIntegrationDeliverooSiteDayOffInputSchema,
|
|
348
348
|
cancelIntegrationDeliverooSiteDayOffResponseSchema: () => cancelIntegrationDeliverooSiteDayOffResponseSchema,
|
|
349
|
+
cassaInCloudOrderLifecycleOutcomeSchema: () => cassaInCloudOrderLifecycleOutcomeSchema,
|
|
349
350
|
clientLogRequestQuerySchema: () => clientLogRequestQuerySchema,
|
|
350
351
|
convertLeadIntegrationToIntegrationActivationRequestInputSchema: () => convertLeadIntegrationToIntegrationActivationRequestInputSchema,
|
|
351
352
|
convertLeadIntegrationToIntegrationActivationRequestResponseSchema: () => convertLeadIntegrationToIntegrationActivationRequestResponseSchema,
|
|
@@ -2049,11 +2050,21 @@ var integrationCassaInCloudSyncTimetablesErrorLogsQuerySchema = z5.object({
|
|
|
2049
2050
|
"createdAt[strictly_after]": z5.string().optional(),
|
|
2050
2051
|
page: z5.coerce.number().optional()
|
|
2051
2052
|
});
|
|
2053
|
+
var cassaInCloudOrderLifecycleOutcomeSchema = z5.enum([
|
|
2054
|
+
"applied",
|
|
2055
|
+
"no_change",
|
|
2056
|
+
"amendment_review_required",
|
|
2057
|
+
"disabled",
|
|
2058
|
+
"mapping_changed",
|
|
2059
|
+
"completed"
|
|
2060
|
+
]);
|
|
2052
2061
|
var integrationCassaInCloudWebHookEventSchema = z5.object({
|
|
2053
2062
|
id: z5.string(),
|
|
2054
2063
|
entity: types_exports.integrationCassaInCloudWebHookEventEntitySchema,
|
|
2055
2064
|
event: types_exports.integrationCassaInCloudWebHookEventEventSchema,
|
|
2056
2065
|
body: z5.unknown(),
|
|
2066
|
+
orderLifecycleOutcome: cassaInCloudOrderLifecycleOutcomeSchema.nullish(),
|
|
2067
|
+
orderLifecycleRevision: z5.number().int().positive().nullish(),
|
|
2057
2068
|
extOrderId: z5.string().nullable(),
|
|
2058
2069
|
extCustomerId: z5.string().nullable(),
|
|
2059
2070
|
extProductId: z5.string().nullable(),
|
|
@@ -2543,6 +2554,7 @@ import {
|
|
|
2543
2554
|
sortDirSchema as sortDirSchema4,
|
|
2544
2555
|
timestampsFilterSchema as timestampsFilterSchema3
|
|
2545
2556
|
} from "@deliverart/sdk-js-global-types";
|
|
2557
|
+
import { imageNullableIriSchema as imageNullableIriSchema2, imageSchema } from "@deliverart/sdk-js-image";
|
|
2546
2558
|
import {
|
|
2547
2559
|
localeItemSchema,
|
|
2548
2560
|
menuItemAllergenSchema,
|
|
@@ -2550,7 +2562,6 @@ import {
|
|
|
2550
2562
|
menuItemPriceOverrideTypeSchema,
|
|
2551
2563
|
menuItemTypeSchema
|
|
2552
2564
|
} from "@deliverart/sdk-js-menu";
|
|
2553
|
-
import { imageNullableIriSchema as imageNullableIriSchema2, imageSchema } from "@deliverart/sdk-js-image";
|
|
2554
2565
|
import { deliveryTimeSettingSchema, timeSettingSchema } from "@deliverart/sdk-js-point-of-sale";
|
|
2555
2566
|
import { salesModeNullableIriSchema as salesModeNullableIriSchema2 } from "@deliverart/sdk-js-sales-mode";
|
|
2556
2567
|
import { z as z7 } from "zod";
|
|
@@ -3660,6 +3671,10 @@ import {
|
|
|
3660
3671
|
sortDirSchema as sortDirSchema9,
|
|
3661
3672
|
timestampsFilterSchema as timestampsFilterSchema8
|
|
3662
3673
|
} from "@deliverart/sdk-js-global-types";
|
|
3674
|
+
import {
|
|
3675
|
+
integrationTilbyEditableSyncSettingsSchema,
|
|
3676
|
+
integrationTilbySyncSettingsSchema
|
|
3677
|
+
} from "@deliverart/sdk-js-integration-types";
|
|
3663
3678
|
import {
|
|
3664
3679
|
menuItemCategoryNullableIriSchema,
|
|
3665
3680
|
menuItemModifierNullableIriSchema,
|
|
@@ -3667,10 +3682,6 @@ import {
|
|
|
3667
3682
|
menuItemPriceOverrideNullableIriSchema as menuItemPriceOverrideNullableIriSchema2
|
|
3668
3683
|
} from "@deliverart/sdk-js-menu";
|
|
3669
3684
|
import { orderNullableIriSchema as orderNullableIriSchema5 } from "@deliverart/sdk-js-order";
|
|
3670
|
-
import {
|
|
3671
|
-
integrationTilbyEditableSyncSettingsSchema,
|
|
3672
|
-
integrationTilbySyncSettingsSchema
|
|
3673
|
-
} from "@deliverart/sdk-js-integration-types";
|
|
3674
3685
|
import { z as z12 } from "zod";
|
|
3675
3686
|
import {
|
|
3676
3687
|
integrationTilbyEditableSyncSettingsSchema as integrationTilbyEditableSyncSettingsSchema2,
|
|
@@ -9341,35 +9352,12 @@ var GetIntegrationGlovoMenuItemDeltas = class extends AbstractApiRequest177 {
|
|
|
9341
9352
|
}
|
|
9342
9353
|
};
|
|
9343
9354
|
|
|
9344
|
-
// src/requests/services/glovo/
|
|
9355
|
+
// src/requests/services/glovo/GetIntegrationGlovoMenuUpdateDetails.ts
|
|
9345
9356
|
import { AbstractApiRequest as AbstractApiRequest178 } from "@deliverart/sdk-js-core";
|
|
9346
|
-
import { emptyResponseSchema as emptyResponseSchema13 } from "@deliverart/sdk-js-global-types";
|
|
9347
9357
|
import { z as z179 } from "zod";
|
|
9348
|
-
var
|
|
9349
|
-
var getIntegrationGlovoMenuValidationResponseSchema = emptyResponseSchema13;
|
|
9350
|
-
var GetIntegrationGlovoMenuValidation = class extends AbstractApiRequest178 {
|
|
9351
|
-
constructor(integrationGlovoId) {
|
|
9352
|
-
super(void 0);
|
|
9353
|
-
this.method = "GET";
|
|
9354
|
-
this.contentType = "application/json";
|
|
9355
|
-
this.accept = "application/json";
|
|
9356
|
-
this.inputSchema = getIntegrationGlovoMenuValidationInputSchema;
|
|
9357
|
-
this.outputSchema = getIntegrationGlovoMenuValidationResponseSchema;
|
|
9358
|
-
this.querySchema = void 0;
|
|
9359
|
-
this.headersSchema = void 0;
|
|
9360
|
-
this.integrationGlovoId = integrationGlovoId;
|
|
9361
|
-
}
|
|
9362
|
-
getPath() {
|
|
9363
|
-
return `/integrations/glovo/${this.integrationGlovoId}/menu/validation`;
|
|
9364
|
-
}
|
|
9365
|
-
};
|
|
9366
|
-
|
|
9367
|
-
// src/requests/services/glovo/GetIntegrationGlovoMenuUpdateDetails.ts
|
|
9368
|
-
import { AbstractApiRequest as AbstractApiRequest179 } from "@deliverart/sdk-js-core";
|
|
9369
|
-
import { z as z180 } from "zod";
|
|
9370
|
-
var getIntegrationGlovoMenuUpdateDetailsInputSchema = z180.undefined();
|
|
9358
|
+
var getIntegrationGlovoMenuUpdateDetailsInputSchema = z179.undefined();
|
|
9371
9359
|
var getIntegrationGlovoMenuUpdateDetailsResponseSchema = integrationGlovoMenuUpdateDetailsSchema;
|
|
9372
|
-
var GetIntegrationGlovoMenuUpdateDetails = class extends
|
|
9360
|
+
var GetIntegrationGlovoMenuUpdateDetails = class extends AbstractApiRequest178 {
|
|
9373
9361
|
constructor(integrationGlovoId, processId) {
|
|
9374
9362
|
super(void 0);
|
|
9375
9363
|
this.method = "GET";
|
|
@@ -9388,15 +9376,15 @@ var GetIntegrationGlovoMenuUpdateDetails = class extends AbstractApiRequest179 {
|
|
|
9388
9376
|
};
|
|
9389
9377
|
|
|
9390
9378
|
// src/requests/services/glovo/GetIntegrationGlovoMenuUpdates.ts
|
|
9391
|
-
import { AbstractApiRequest as
|
|
9379
|
+
import { AbstractApiRequest as AbstractApiRequest179 } from "@deliverart/sdk-js-core";
|
|
9392
9380
|
import { createPaginatedSchema as createPaginatedSchema42 } from "@deliverart/sdk-js-global-types";
|
|
9393
|
-
import { z as
|
|
9381
|
+
import { z as z180 } from "zod";
|
|
9394
9382
|
var getIntegrationGlovoMenuUpdatesQuerySchema = integrationGlovoMenuUpdatesQuerySchema;
|
|
9395
|
-
var getIntegrationGlovoMenuUpdatesInputSchema =
|
|
9383
|
+
var getIntegrationGlovoMenuUpdatesInputSchema = z180.undefined();
|
|
9396
9384
|
var getIntegrationGlovoMenuUpdatesResponseSchema = createPaginatedSchema42(
|
|
9397
9385
|
integrationGlovoMenuUpdateSchema
|
|
9398
9386
|
);
|
|
9399
|
-
var GetIntegrationGlovoMenuUpdates = class extends
|
|
9387
|
+
var GetIntegrationGlovoMenuUpdates = class extends AbstractApiRequest179 {
|
|
9400
9388
|
constructor(integrationId, options) {
|
|
9401
9389
|
super(void 0, options);
|
|
9402
9390
|
this.method = "GET";
|
|
@@ -9415,6 +9403,29 @@ var GetIntegrationGlovoMenuUpdates = class extends AbstractApiRequest180 {
|
|
|
9415
9403
|
}
|
|
9416
9404
|
};
|
|
9417
9405
|
|
|
9406
|
+
// src/requests/services/glovo/GetIntegrationGlovoMenuValidation.ts
|
|
9407
|
+
import { AbstractApiRequest as AbstractApiRequest180 } from "@deliverart/sdk-js-core";
|
|
9408
|
+
import { emptyResponseSchema as emptyResponseSchema13 } from "@deliverart/sdk-js-global-types";
|
|
9409
|
+
import { z as z181 } from "zod";
|
|
9410
|
+
var getIntegrationGlovoMenuValidationInputSchema = z181.undefined();
|
|
9411
|
+
var getIntegrationGlovoMenuValidationResponseSchema = emptyResponseSchema13;
|
|
9412
|
+
var GetIntegrationGlovoMenuValidation = class extends AbstractApiRequest180 {
|
|
9413
|
+
constructor(integrationGlovoId) {
|
|
9414
|
+
super(void 0);
|
|
9415
|
+
this.method = "GET";
|
|
9416
|
+
this.contentType = "application/json";
|
|
9417
|
+
this.accept = "application/json";
|
|
9418
|
+
this.inputSchema = getIntegrationGlovoMenuValidationInputSchema;
|
|
9419
|
+
this.outputSchema = getIntegrationGlovoMenuValidationResponseSchema;
|
|
9420
|
+
this.querySchema = void 0;
|
|
9421
|
+
this.headersSchema = void 0;
|
|
9422
|
+
this.integrationGlovoId = integrationGlovoId;
|
|
9423
|
+
}
|
|
9424
|
+
getPath() {
|
|
9425
|
+
return `/integrations/glovo/${this.integrationGlovoId}/menu/validation`;
|
|
9426
|
+
}
|
|
9427
|
+
};
|
|
9428
|
+
|
|
9418
9429
|
// src/requests/services/glovo/GetIntegrationGlovoMenuVersionDetails.ts
|
|
9419
9430
|
import { AbstractApiRequest as AbstractApiRequest181 } from "@deliverart/sdk-js-core";
|
|
9420
9431
|
import { z as z182 } from "zod";
|
|
@@ -12223,6 +12234,7 @@ export {
|
|
|
12223
12234
|
cancelIntegrationCancellationRequestResponseSchema,
|
|
12224
12235
|
cancelIntegrationDeliverooSiteDayOffInputSchema,
|
|
12225
12236
|
cancelIntegrationDeliverooSiteDayOffResponseSchema,
|
|
12237
|
+
cassaInCloudOrderLifecycleOutcomeSchema,
|
|
12226
12238
|
clientLogRequestQuerySchema,
|
|
12227
12239
|
convertLeadIntegrationToIntegrationActivationRequestInputSchema,
|
|
12228
12240
|
convertLeadIntegrationToIntegrationActivationRequestResponseSchema,
|
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.
|
|
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,16 +19,16 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "4.3.5",
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
25
|
-
"@deliverart/sdk-js-
|
|
26
|
-
"@deliverart/sdk-js-image": "2.
|
|
27
|
-
"@deliverart/sdk-js-
|
|
28
|
-
"@deliverart/sdk-js-
|
|
29
|
-
"@deliverart/sdk-js-order": "2.
|
|
30
|
-
"@deliverart/sdk-js-
|
|
31
|
-
"@deliverart/sdk-js-
|
|
22
|
+
"@deliverart/sdk-js-api-token": "2.37.0-dev.0",
|
|
23
|
+
"@deliverart/sdk-js-core": "2.37.0-dev.0",
|
|
24
|
+
"@deliverart/sdk-js-customer": "2.37.0-dev.0",
|
|
25
|
+
"@deliverart/sdk-js-global-types": "2.37.0-dev.0",
|
|
26
|
+
"@deliverart/sdk-js-image": "2.37.0-dev.0",
|
|
27
|
+
"@deliverart/sdk-js-menu": "2.37.0-dev.0",
|
|
28
|
+
"@deliverart/sdk-js-integration-types": "2.37.0-dev.0",
|
|
29
|
+
"@deliverart/sdk-js-order": "2.37.0-dev.0",
|
|
30
|
+
"@deliverart/sdk-js-sales-mode": "2.37.0-dev.0",
|
|
31
|
+
"@deliverart/sdk-js-point-of-sale": "2.37.0-dev.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"vitest": "4.1.11"
|