@deliverart/sdk-js-integration-types 2.25.2 → 2.27.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 +54 -0
- package/dist/index.cjs +378 -8
- package/dist/index.d.cts +1442 -21
- package/dist/index.d.ts +1442 -21
- package/dist/index.js +329 -5
- package/package.json +6 -2
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import { datetimeSchema } from "@deliverart/sdk-js-global-types";
|
|
|
3
3
|
import { z as z5 } from "zod";
|
|
4
4
|
|
|
5
5
|
// src/activatable-integration-data-schemas.ts
|
|
6
|
+
import { menuChannelSchema as menuChannelSchema2, orderTypeSchema } from "@deliverart/sdk-js-global-types";
|
|
6
7
|
import { z as z3 } from "zod";
|
|
7
8
|
|
|
8
9
|
// src/tilby-sync-settings.ts
|
|
@@ -36,14 +37,22 @@ var integrationTilbyEditableSyncSettingsSchema = integrationTilbySyncSettingsSch
|
|
|
36
37
|
|
|
37
38
|
// src/types.ts
|
|
38
39
|
import {
|
|
39
|
-
IriObject,
|
|
40
40
|
iriNullableSchema,
|
|
41
|
+
IriObject,
|
|
41
42
|
iriSchema,
|
|
42
43
|
matchesIriPattern
|
|
43
44
|
} from "@deliverart/sdk-js-global-types";
|
|
44
45
|
import { z as z2 } from "zod";
|
|
45
|
-
var integrationStatuses = [
|
|
46
|
+
var integrationStatuses = [
|
|
47
|
+
"pending",
|
|
48
|
+
"provisioning",
|
|
49
|
+
"paused",
|
|
50
|
+
"active",
|
|
51
|
+
"deleting"
|
|
52
|
+
];
|
|
46
53
|
var integrationStatusSchema = z2.enum(integrationStatuses);
|
|
54
|
+
var integrationHealthStatuses = ["unknown", "healthy", "degraded", "failed"];
|
|
55
|
+
var integrationHealthStatusSchema = z2.enum(integrationHealthStatuses);
|
|
47
56
|
var integrationProviders = ["deliverart", "cassa_in_cloud"];
|
|
48
57
|
var integrationProviderSchema = z2.enum(integrationProviders);
|
|
49
58
|
var integrationServices = [
|
|
@@ -53,11 +62,99 @@ var integrationServices = [
|
|
|
53
62
|
"cassa_in_cloud",
|
|
54
63
|
"tilby",
|
|
55
64
|
"kitchen",
|
|
56
|
-
"ecommerce"
|
|
65
|
+
"ecommerce",
|
|
66
|
+
"elephant"
|
|
57
67
|
];
|
|
58
68
|
var integrationServiceSchema = z2.enum(integrationServices);
|
|
59
|
-
var exclusiveIntegrationServices = [
|
|
69
|
+
var exclusiveIntegrationServices = [
|
|
70
|
+
"kitchen",
|
|
71
|
+
"cassa_in_cloud",
|
|
72
|
+
"tilby",
|
|
73
|
+
"ecommerce",
|
|
74
|
+
"elephant"
|
|
75
|
+
];
|
|
60
76
|
var exclusiveIntegrationServiceSchema = z2.enum(exclusiveIntegrationServices);
|
|
77
|
+
var integrationElephantCredentialModes = ["managed", "provided"];
|
|
78
|
+
var integrationElephantCredentialModeSchema = z2.enum(integrationElephantCredentialModes);
|
|
79
|
+
var integrationElephantRestaurantStatuses = [
|
|
80
|
+
"pending",
|
|
81
|
+
"provisioning",
|
|
82
|
+
"active",
|
|
83
|
+
"paused",
|
|
84
|
+
"removing"
|
|
85
|
+
];
|
|
86
|
+
var integrationElephantRestaurantStatusSchema = z2.enum(
|
|
87
|
+
integrationElephantRestaurantStatuses
|
|
88
|
+
);
|
|
89
|
+
var integrationElephantCatalogStatuses = [
|
|
90
|
+
"unknown",
|
|
91
|
+
"refreshing",
|
|
92
|
+
"ready",
|
|
93
|
+
"stale",
|
|
94
|
+
"unsupported",
|
|
95
|
+
"failed"
|
|
96
|
+
];
|
|
97
|
+
var integrationElephantCatalogStatusSchema = z2.enum(integrationElephantCatalogStatuses);
|
|
98
|
+
var integrationElephantCatalogImportStatuses = [
|
|
99
|
+
"pending",
|
|
100
|
+
"running",
|
|
101
|
+
"completed",
|
|
102
|
+
"completed_with_errors",
|
|
103
|
+
"failed"
|
|
104
|
+
];
|
|
105
|
+
var integrationElephantCatalogImportStatusSchema = z2.enum(
|
|
106
|
+
integrationElephantCatalogImportStatuses
|
|
107
|
+
);
|
|
108
|
+
var integrationElephantCatalogImportSteps = [
|
|
109
|
+
"queued",
|
|
110
|
+
"refreshing_snapshot",
|
|
111
|
+
"importing_products",
|
|
112
|
+
"completed"
|
|
113
|
+
];
|
|
114
|
+
var integrationElephantCatalogImportStepSchema = z2.enum(
|
|
115
|
+
integrationElephantCatalogImportSteps
|
|
116
|
+
);
|
|
117
|
+
var integrationElephantCatalogImportResourceTypes = [
|
|
118
|
+
"process",
|
|
119
|
+
"product",
|
|
120
|
+
"option_group",
|
|
121
|
+
"option",
|
|
122
|
+
"variant"
|
|
123
|
+
];
|
|
124
|
+
var integrationElephantCatalogImportResourceTypeSchema = z2.enum(
|
|
125
|
+
integrationElephantCatalogImportResourceTypes
|
|
126
|
+
);
|
|
127
|
+
var integrationElephantProvisioningSteps = [
|
|
128
|
+
"pending",
|
|
129
|
+
"credentials",
|
|
130
|
+
"tenant",
|
|
131
|
+
"app",
|
|
132
|
+
"api_token",
|
|
133
|
+
"app_configuration",
|
|
134
|
+
"app_connection_test",
|
|
135
|
+
"restaurants",
|
|
136
|
+
"catalog",
|
|
137
|
+
"complete",
|
|
138
|
+
"deprovisioning"
|
|
139
|
+
];
|
|
140
|
+
var integrationElephantProvisioningStepSchema = z2.enum(
|
|
141
|
+
integrationElephantProvisioningSteps
|
|
142
|
+
);
|
|
143
|
+
var integrationElephantCatalogRoles = ["product", "option", "variant"];
|
|
144
|
+
var integrationElephantCatalogRoleSchema = z2.enum(integrationElephantCatalogRoles);
|
|
145
|
+
var integrationElephantCatalogSides = ["platform", "app"];
|
|
146
|
+
var integrationElephantCatalogSideSchema = z2.enum(integrationElephantCatalogSides);
|
|
147
|
+
var integrationElephantOrderReleaseStatuses = [
|
|
148
|
+
"preparing",
|
|
149
|
+
"ready",
|
|
150
|
+
"released",
|
|
151
|
+
"failed"
|
|
152
|
+
];
|
|
153
|
+
var integrationElephantOrderReleaseStatusSchema = z2.enum(
|
|
154
|
+
integrationElephantOrderReleaseStatuses
|
|
155
|
+
);
|
|
156
|
+
var integrationRequestLogOutcomes = ["success", "client_error", "server_error"];
|
|
157
|
+
var integrationRequestLogOutcomeSchema = z2.enum(integrationRequestLogOutcomes);
|
|
61
158
|
var integrationClientLogRequestMethods = ["DELETE", "GET", "PATCH", "POST", "PUT"];
|
|
62
159
|
var integrationClientLogRequestMethodSchema = z2.enum(integrationClientLogRequestMethods);
|
|
63
160
|
var integrationKitchenViewModes = ["column"];
|
|
@@ -211,6 +308,38 @@ var integrationCassaInCloudProductChannels = [
|
|
|
211
308
|
var integrationCassaInCloudProductChannelSchema = z2.enum(
|
|
212
309
|
integrationCassaInCloudProductChannels
|
|
213
310
|
);
|
|
311
|
+
var integrationCassaInCloudCatalogMappingProcessOperations = [
|
|
312
|
+
"audit",
|
|
313
|
+
"reconcile_channels"
|
|
314
|
+
];
|
|
315
|
+
var integrationCassaInCloudCatalogMappingProcessOperationSchema = z2.enum(
|
|
316
|
+
integrationCassaInCloudCatalogMappingProcessOperations
|
|
317
|
+
);
|
|
318
|
+
var integrationCassaInCloudCatalogMappingProcessScopes = [
|
|
319
|
+
"categories",
|
|
320
|
+
"products"
|
|
321
|
+
];
|
|
322
|
+
var integrationCassaInCloudCatalogMappingProcessScopeSchema = z2.enum(
|
|
323
|
+
integrationCassaInCloudCatalogMappingProcessScopes
|
|
324
|
+
);
|
|
325
|
+
var integrationCassaInCloudCatalogMappingProcessStatuses = [
|
|
326
|
+
"pending",
|
|
327
|
+
"running",
|
|
328
|
+
"completed",
|
|
329
|
+
"completed_with_errors",
|
|
330
|
+
"failed"
|
|
331
|
+
];
|
|
332
|
+
var integrationCassaInCloudCatalogMappingProcessStatusSchema = z2.enum(
|
|
333
|
+
integrationCassaInCloudCatalogMappingProcessStatuses
|
|
334
|
+
);
|
|
335
|
+
var integrationCassaInCloudCatalogMappingIssueTypes = [
|
|
336
|
+
"stale_remote_mapping",
|
|
337
|
+
"unmapped_local_resource",
|
|
338
|
+
"remote_request_failed"
|
|
339
|
+
];
|
|
340
|
+
var integrationCassaInCloudCatalogMappingIssueTypeSchema = z2.enum(
|
|
341
|
+
integrationCassaInCloudCatalogMappingIssueTypes
|
|
342
|
+
);
|
|
214
343
|
var integrationCassaInCloudWebHookEventEntities = [
|
|
215
344
|
"BILL",
|
|
216
345
|
"RECEIPT",
|
|
@@ -394,6 +523,14 @@ var integrationTilbyIriSchema = integrationPathSchemas.tilby.iriSchema;
|
|
|
394
523
|
var integrationTilbyNullableIriSchema = integrationPathSchemas.tilby.iriNullableSchema;
|
|
395
524
|
var integrationEcommerceIriSchema = integrationPathSchemas.ecommerce.iriSchema;
|
|
396
525
|
var integrationEcommerceNullableIriSchema = integrationPathSchemas.ecommerce.iriNullableSchema;
|
|
526
|
+
var integrationElephantIriSchema = integrationPathSchemas.elephant.iriSchema;
|
|
527
|
+
var integrationElephantNullableIriSchema = integrationPathSchemas.elephant.iriNullableSchema;
|
|
528
|
+
var integrationElephantRestaurantIriSchema = iriSchema(
|
|
529
|
+
"/integrations/elephant/:id/restaurants/:membershipId"
|
|
530
|
+
);
|
|
531
|
+
var integrationElephantRestaurantNullableIriSchema = iriNullableSchema(
|
|
532
|
+
"/integrations/elephant/:id/restaurants/:membershipId"
|
|
533
|
+
);
|
|
397
534
|
var integrationIriSchema = iriSchema("/integrations/:id");
|
|
398
535
|
var integrationNullableIriSchema = iriNullableSchema("/integrations/:id");
|
|
399
536
|
var integrationDetailsPathPatterns = [
|
|
@@ -422,6 +559,9 @@ var integrationJustEatOrderIriSchema = iriSchema(
|
|
|
422
559
|
var integrationCassaInCloudSyncMenuProcessIriSchema = iriSchema(
|
|
423
560
|
"/integrations/cassa_in_cloud/:id/sync_menu_processes/:processId"
|
|
424
561
|
);
|
|
562
|
+
var integrationCassaInCloudCatalogMappingProcessIriSchema = iriSchema(
|
|
563
|
+
"/integrations/cassa_in_cloud/:id/catalog_mapping_processes/:processId"
|
|
564
|
+
);
|
|
425
565
|
var integrationCassaInCloudSyncCustomersProcessIriSchema = iriSchema(
|
|
426
566
|
"/integrations/cassa_in_cloud/:id/sync_customers_processes/:processId"
|
|
427
567
|
);
|
|
@@ -650,6 +790,133 @@ var integrationEcommerceDataSchema = z3.object({
|
|
|
650
790
|
heroImage: optionalCleanField(z3.string().trim().min(1).max(80)),
|
|
651
791
|
theme: optionalCleanField(integrationEcommerceThemeSchema)
|
|
652
792
|
});
|
|
793
|
+
var integrationElephantPlatformSchema = z3.enum([
|
|
794
|
+
"migros_yemek",
|
|
795
|
+
"yemeksepeti",
|
|
796
|
+
"getir",
|
|
797
|
+
"trendyol_go_meal",
|
|
798
|
+
"fuudy"
|
|
799
|
+
]);
|
|
800
|
+
var elephantPlatformIdentifierSchema = z3.union([z3.string().trim().min(1), z3.number().int()]);
|
|
801
|
+
var elephantPlatformBaseUrlSchema = z3.url().optional();
|
|
802
|
+
var integrationElephantMigrosYemekAuthenticationSchema = z3.object({
|
|
803
|
+
secret_key: z3.string().length(32, "authentication.secret_key.length"),
|
|
804
|
+
x_api_key: z3.string().trim().min(1, "authentication.x_api_key.required"),
|
|
805
|
+
store_id: elephantPlatformIdentifierSchema,
|
|
806
|
+
store_group_id: elephantPlatformIdentifierSchema,
|
|
807
|
+
base_url: elephantPlatformBaseUrlSchema
|
|
808
|
+
}).strict();
|
|
809
|
+
var integrationElephantTrendyolGoMealAuthenticationSchema = z3.object({
|
|
810
|
+
api_key: z3.string().trim().min(1, "authentication.api_key.required"),
|
|
811
|
+
api_secret: z3.string().trim().min(1, "authentication.api_secret.required"),
|
|
812
|
+
shop_id: elephantPlatformIdentifierSchema,
|
|
813
|
+
seller_id: elephantPlatformIdentifierSchema,
|
|
814
|
+
base_url: elephantPlatformBaseUrlSchema
|
|
815
|
+
}).strict();
|
|
816
|
+
var integrationElephantFuudyAuthenticationSchema = z3.object({
|
|
817
|
+
app_secret_key: z3.string().trim().min(1, "authentication.app_secret_key.required"),
|
|
818
|
+
rest_secret_key: z3.string().trim().min(1, "authentication.rest_secret_key.required"),
|
|
819
|
+
base_url: elephantPlatformBaseUrlSchema
|
|
820
|
+
}).strict();
|
|
821
|
+
var integrationElephantGetirAuthenticationSchema = z3.object({
|
|
822
|
+
app_secret_key: z3.string().trim().min(1, "authentication.app_secret_key.required"),
|
|
823
|
+
restaurant_secret_key: z3.string().trim().min(1, "authentication.restaurant_secret_key.required"),
|
|
824
|
+
base_url: elephantPlatformBaseUrlSchema
|
|
825
|
+
}).strict();
|
|
826
|
+
var integrationElephantYemeksepetiAuthenticationSchema = z3.object({
|
|
827
|
+
username: z3.string().trim().min(1, "authentication.username.required"),
|
|
828
|
+
password: z3.string().min(1, "authentication.password.required"),
|
|
829
|
+
chain_code: z3.string().trim().min(1, "authentication.chain_code.required"),
|
|
830
|
+
remote_id: z3.string().trim().min(1, "authentication.remote_id.required"),
|
|
831
|
+
webhook_token: optionalCleanField(z3.string().trim().min(1)),
|
|
832
|
+
base_url: elephantPlatformBaseUrlSchema
|
|
833
|
+
}).strict();
|
|
834
|
+
var integrationElephantRestaurantAuthenticationSchema = z3.union([
|
|
835
|
+
integrationElephantMigrosYemekAuthenticationSchema,
|
|
836
|
+
integrationElephantTrendyolGoMealAuthenticationSchema,
|
|
837
|
+
integrationElephantFuudyAuthenticationSchema,
|
|
838
|
+
integrationElephantGetirAuthenticationSchema,
|
|
839
|
+
integrationElephantYemeksepetiAuthenticationSchema
|
|
840
|
+
]);
|
|
841
|
+
var integrationElephantRestaurantCommonSchema = z3.object({
|
|
842
|
+
name: z3.string().trim().min(1, "name.required").max(255),
|
|
843
|
+
platformRestaurantId: z3.string().trim().min(1, "platformRestaurantId.required").max(255),
|
|
844
|
+
platformChainId: optionalCleanField(z3.string().trim().max(255)),
|
|
845
|
+
salesModeId: optionalCleanField(z3.string().trim().min(1, "salesModeId.required")),
|
|
846
|
+
categoryId: z3.string().trim().min(1, "categoryId.required"),
|
|
847
|
+
defaultTaxRate: z3.coerce.number().min(0).max(100),
|
|
848
|
+
channels: z3.array(menuChannelSchema2).min(2),
|
|
849
|
+
orderType: orderTypeSchema.refine((value) => value !== "kitchen", "orderType.invalid"),
|
|
850
|
+
defaultPreparationTime: z3.coerce.number().int().min(0).max(240),
|
|
851
|
+
acceptanceTimeout: z3.coerce.number().int().min(0).max(120)
|
|
852
|
+
});
|
|
853
|
+
var integrationElephantRestaurantDataSchema = z3.discriminatedUnion("platform", [
|
|
854
|
+
integrationElephantRestaurantCommonSchema.extend({
|
|
855
|
+
platform: z3.literal("migros_yemek"),
|
|
856
|
+
authentication: integrationElephantMigrosYemekAuthenticationSchema.nullish()
|
|
857
|
+
}),
|
|
858
|
+
integrationElephantRestaurantCommonSchema.extend({
|
|
859
|
+
platform: z3.literal("trendyol_go_meal"),
|
|
860
|
+
authentication: integrationElephantTrendyolGoMealAuthenticationSchema.nullish()
|
|
861
|
+
}),
|
|
862
|
+
integrationElephantRestaurantCommonSchema.extend({
|
|
863
|
+
platform: z3.literal("fuudy"),
|
|
864
|
+
authentication: integrationElephantFuudyAuthenticationSchema.nullish()
|
|
865
|
+
}),
|
|
866
|
+
integrationElephantRestaurantCommonSchema.extend({
|
|
867
|
+
platform: z3.literal("getir"),
|
|
868
|
+
authentication: integrationElephantGetirAuthenticationSchema.nullish()
|
|
869
|
+
}),
|
|
870
|
+
integrationElephantRestaurantCommonSchema.extend({
|
|
871
|
+
platform: z3.literal("yemeksepeti"),
|
|
872
|
+
authentication: integrationElephantYemeksepetiAuthenticationSchema.nullish()
|
|
873
|
+
})
|
|
874
|
+
]).superRefine((value, context) => {
|
|
875
|
+
for (const requiredChannel of ["application", "elephant"]) {
|
|
876
|
+
if (!value.channels.includes(requiredChannel)) {
|
|
877
|
+
context.addIssue({
|
|
878
|
+
code: "custom",
|
|
879
|
+
message: `channels.${requiredChannel}.required`,
|
|
880
|
+
path: ["channels"],
|
|
881
|
+
input: value.channels
|
|
882
|
+
});
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
if (!value.authentication) return;
|
|
886
|
+
const authentication = value.authentication;
|
|
887
|
+
const restaurantAuthenticationField = value.platform === "migros_yemek" ? "store_id" : value.platform === "trendyol_go_meal" ? "shop_id" : value.platform === "yemeksepeti" ? "remote_id" : null;
|
|
888
|
+
const chainAuthenticationField = value.platform === "migros_yemek" ? "store_group_id" : value.platform === "yemeksepeti" ? "chain_code" : null;
|
|
889
|
+
if (restaurantAuthenticationField && String(authentication[restaurantAuthenticationField]) !== value.platformRestaurantId) {
|
|
890
|
+
context.addIssue({
|
|
891
|
+
code: "custom",
|
|
892
|
+
message: `authentication.${restaurantAuthenticationField}.mismatch`,
|
|
893
|
+
path: ["authentication", restaurantAuthenticationField],
|
|
894
|
+
input: authentication[restaurantAuthenticationField]
|
|
895
|
+
});
|
|
896
|
+
}
|
|
897
|
+
if (chainAuthenticationField && value.platformChainId && String(authentication[chainAuthenticationField]) !== value.platformChainId) {
|
|
898
|
+
context.addIssue({
|
|
899
|
+
code: "custom",
|
|
900
|
+
message: `authentication.${chainAuthenticationField}.mismatch`,
|
|
901
|
+
path: ["authentication", chainAuthenticationField],
|
|
902
|
+
input: authentication[chainAuthenticationField]
|
|
903
|
+
});
|
|
904
|
+
}
|
|
905
|
+
});
|
|
906
|
+
var integrationElephantDataCommonSchema = z3.object({
|
|
907
|
+
restaurants: z3.array(integrationElephantRestaurantDataSchema).min(1, "restaurants.required")
|
|
908
|
+
});
|
|
909
|
+
var integrationElephantDataSchema = z3.discriminatedUnion("credentialMode", [
|
|
910
|
+
integrationElephantDataCommonSchema.extend({
|
|
911
|
+
credentialMode: integrationElephantCredentialModeSchema.extract(["managed"])
|
|
912
|
+
}),
|
|
913
|
+
integrationElephantDataCommonSchema.extend({
|
|
914
|
+
credentialMode: integrationElephantCredentialModeSchema.extract(["provided"]),
|
|
915
|
+
tenantId: z3.string().trim().min(1, "tenantId.required").max(36),
|
|
916
|
+
appId: z3.string().trim().min(1, "appId.required").max(36),
|
|
917
|
+
personalAccessToken: z3.string().trim().min(1, "personalAccessToken.required")
|
|
918
|
+
})
|
|
919
|
+
]);
|
|
653
920
|
var integrationServiceDataSchema = z3.discriminatedUnion("service", [
|
|
654
921
|
z3.object({
|
|
655
922
|
service: z3.literal("kitchen"),
|
|
@@ -678,6 +945,10 @@ var integrationServiceDataSchema = z3.discriminatedUnion("service", [
|
|
|
678
945
|
z3.object({
|
|
679
946
|
service: z3.literal("ecommerce"),
|
|
680
947
|
data: integrationEcommerceDataSchema
|
|
948
|
+
}),
|
|
949
|
+
z3.object({
|
|
950
|
+
service: z3.literal("elephant"),
|
|
951
|
+
data: integrationElephantDataSchema
|
|
681
952
|
})
|
|
682
953
|
]);
|
|
683
954
|
|
|
@@ -687,6 +958,7 @@ var activatableIntegrationStatuses = [
|
|
|
687
958
|
"waiting_for_user",
|
|
688
959
|
"waiting_for_admin",
|
|
689
960
|
"request_sent_partner",
|
|
961
|
+
"provisioning",
|
|
690
962
|
"active",
|
|
691
963
|
"failed"
|
|
692
964
|
];
|
|
@@ -705,7 +977,8 @@ var activatableIntegrationBaseSchema = z5.object({
|
|
|
705
977
|
integrationJustEatIriSchema,
|
|
706
978
|
integrationCassaInCloudIriSchema,
|
|
707
979
|
integrationTilbyIriSchema,
|
|
708
|
-
integrationEcommerceIriSchema
|
|
980
|
+
integrationEcommerceIriSchema,
|
|
981
|
+
integrationElephantIriSchema
|
|
709
982
|
]).nullable(),
|
|
710
983
|
status: activatableIntegrationStatusSchema,
|
|
711
984
|
healthStatus: activatableIntegrationHealthStatusSchema,
|
|
@@ -757,6 +1030,11 @@ var activatableIntegrationSchema = z5.discriminatedUnion("service", [
|
|
|
757
1030
|
"ecommerce",
|
|
758
1031
|
integrationEcommerceDataSchema,
|
|
759
1032
|
integrationEcommerceNullableIriSchema
|
|
1033
|
+
),
|
|
1034
|
+
createIntegrationSchema(
|
|
1035
|
+
"elephant",
|
|
1036
|
+
integrationElephantDataSchema,
|
|
1037
|
+
integrationElephantNullableIriSchema
|
|
760
1038
|
)
|
|
761
1039
|
]);
|
|
762
1040
|
export {
|
|
@@ -768,6 +1046,15 @@ export {
|
|
|
768
1046
|
activatableIntegrationStatuses,
|
|
769
1047
|
exclusiveIntegrationServiceSchema,
|
|
770
1048
|
exclusiveIntegrationServices,
|
|
1049
|
+
integrationCassaInCloudCatalogMappingIssueTypeSchema,
|
|
1050
|
+
integrationCassaInCloudCatalogMappingIssueTypes,
|
|
1051
|
+
integrationCassaInCloudCatalogMappingProcessIriSchema,
|
|
1052
|
+
integrationCassaInCloudCatalogMappingProcessOperationSchema,
|
|
1053
|
+
integrationCassaInCloudCatalogMappingProcessOperations,
|
|
1054
|
+
integrationCassaInCloudCatalogMappingProcessScopeSchema,
|
|
1055
|
+
integrationCassaInCloudCatalogMappingProcessScopes,
|
|
1056
|
+
integrationCassaInCloudCatalogMappingProcessStatusSchema,
|
|
1057
|
+
integrationCassaInCloudCatalogMappingProcessStatuses,
|
|
771
1058
|
integrationCassaInCloudCategoryMappingIriSchema,
|
|
772
1059
|
integrationCassaInCloudCategoryMappingNullableIriSchema,
|
|
773
1060
|
integrationCassaInCloudCategoryModifierValueMappingIriSchema,
|
|
@@ -854,6 +1141,39 @@ export {
|
|
|
854
1141
|
integrationEcommerceOrderingModeSchema,
|
|
855
1142
|
integrationEcommerceOrderingModes,
|
|
856
1143
|
integrationEcommerceThemeSchema,
|
|
1144
|
+
integrationElephantCatalogImportResourceTypeSchema,
|
|
1145
|
+
integrationElephantCatalogImportResourceTypes,
|
|
1146
|
+
integrationElephantCatalogImportStatusSchema,
|
|
1147
|
+
integrationElephantCatalogImportStatuses,
|
|
1148
|
+
integrationElephantCatalogImportStepSchema,
|
|
1149
|
+
integrationElephantCatalogImportSteps,
|
|
1150
|
+
integrationElephantCatalogRoleSchema,
|
|
1151
|
+
integrationElephantCatalogRoles,
|
|
1152
|
+
integrationElephantCatalogSideSchema,
|
|
1153
|
+
integrationElephantCatalogSides,
|
|
1154
|
+
integrationElephantCatalogStatusSchema,
|
|
1155
|
+
integrationElephantCatalogStatuses,
|
|
1156
|
+
integrationElephantCredentialModeSchema,
|
|
1157
|
+
integrationElephantCredentialModes,
|
|
1158
|
+
integrationElephantDataSchema,
|
|
1159
|
+
integrationElephantFuudyAuthenticationSchema,
|
|
1160
|
+
integrationElephantGetirAuthenticationSchema,
|
|
1161
|
+
integrationElephantIriSchema,
|
|
1162
|
+
integrationElephantMigrosYemekAuthenticationSchema,
|
|
1163
|
+
integrationElephantNullableIriSchema,
|
|
1164
|
+
integrationElephantOrderReleaseStatusSchema,
|
|
1165
|
+
integrationElephantOrderReleaseStatuses,
|
|
1166
|
+
integrationElephantPlatformSchema,
|
|
1167
|
+
integrationElephantProvisioningStepSchema,
|
|
1168
|
+
integrationElephantProvisioningSteps,
|
|
1169
|
+
integrationElephantRestaurantAuthenticationSchema,
|
|
1170
|
+
integrationElephantRestaurantDataSchema,
|
|
1171
|
+
integrationElephantRestaurantIriSchema,
|
|
1172
|
+
integrationElephantRestaurantNullableIriSchema,
|
|
1173
|
+
integrationElephantRestaurantStatusSchema,
|
|
1174
|
+
integrationElephantRestaurantStatuses,
|
|
1175
|
+
integrationElephantTrendyolGoMealAuthenticationSchema,
|
|
1176
|
+
integrationElephantYemeksepetiAuthenticationSchema,
|
|
857
1177
|
integrationGlovoBulkUpdateIriSchema,
|
|
858
1178
|
integrationGlovoBulkUpdateStatusSchema,
|
|
859
1179
|
integrationGlovoBulkUpdateStatuses,
|
|
@@ -872,6 +1192,8 @@ export {
|
|
|
872
1192
|
integrationGlovoSyncStatuses,
|
|
873
1193
|
integrationGlovoWebhookEventTypeSchema,
|
|
874
1194
|
integrationGlovoWebhookEventTypes,
|
|
1195
|
+
integrationHealthStatusSchema,
|
|
1196
|
+
integrationHealthStatuses,
|
|
875
1197
|
integrationIriSchema,
|
|
876
1198
|
integrationIssueCodeSchema,
|
|
877
1199
|
integrationIssueCodes,
|
|
@@ -902,6 +1224,8 @@ export {
|
|
|
902
1224
|
integrationPathSchemas,
|
|
903
1225
|
integrationProviderSchema,
|
|
904
1226
|
integrationProviders,
|
|
1227
|
+
integrationRequestLogOutcomeSchema,
|
|
1228
|
+
integrationRequestLogOutcomes,
|
|
905
1229
|
integrationServiceDataSchema,
|
|
906
1230
|
integrationServiceSchema,
|
|
907
1231
|
integrationServices,
|
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.
|
|
4
|
+
"version": "2.27.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -19,7 +19,10 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "4.3.5",
|
|
22
|
-
"@deliverart/sdk-js-global-types": "2.
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.27.0"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"vitest": "3.2.4"
|
|
23
26
|
},
|
|
24
27
|
"publishConfig": {
|
|
25
28
|
"access": "public"
|
|
@@ -27,6 +30,7 @@
|
|
|
27
30
|
"scripts": {
|
|
28
31
|
"build": "tsup src/index.ts --dts --format esm,cjs",
|
|
29
32
|
"dev": "tsup src/index.ts --dts --watch",
|
|
33
|
+
"test": "vitest run",
|
|
30
34
|
"clean": "rm -rf dist"
|
|
31
35
|
}
|
|
32
36
|
}
|