@deliverart/sdk-js-integration-types 2.25.2 → 2.26.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 +47 -0
- package/dist/index.cjs +325 -8
- package/dist/index.d.cts +1410 -19
- package/dist/index.d.ts +1410 -19
- package/dist/index.js +285 -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"];
|
|
@@ -394,6 +491,14 @@ var integrationTilbyIriSchema = integrationPathSchemas.tilby.iriSchema;
|
|
|
394
491
|
var integrationTilbyNullableIriSchema = integrationPathSchemas.tilby.iriNullableSchema;
|
|
395
492
|
var integrationEcommerceIriSchema = integrationPathSchemas.ecommerce.iriSchema;
|
|
396
493
|
var integrationEcommerceNullableIriSchema = integrationPathSchemas.ecommerce.iriNullableSchema;
|
|
494
|
+
var integrationElephantIriSchema = integrationPathSchemas.elephant.iriSchema;
|
|
495
|
+
var integrationElephantNullableIriSchema = integrationPathSchemas.elephant.iriNullableSchema;
|
|
496
|
+
var integrationElephantRestaurantIriSchema = iriSchema(
|
|
497
|
+
"/integrations/elephant/:id/restaurants/:membershipId"
|
|
498
|
+
);
|
|
499
|
+
var integrationElephantRestaurantNullableIriSchema = iriNullableSchema(
|
|
500
|
+
"/integrations/elephant/:id/restaurants/:membershipId"
|
|
501
|
+
);
|
|
397
502
|
var integrationIriSchema = iriSchema("/integrations/:id");
|
|
398
503
|
var integrationNullableIriSchema = iriNullableSchema("/integrations/:id");
|
|
399
504
|
var integrationDetailsPathPatterns = [
|
|
@@ -650,6 +755,133 @@ var integrationEcommerceDataSchema = z3.object({
|
|
|
650
755
|
heroImage: optionalCleanField(z3.string().trim().min(1).max(80)),
|
|
651
756
|
theme: optionalCleanField(integrationEcommerceThemeSchema)
|
|
652
757
|
});
|
|
758
|
+
var integrationElephantPlatformSchema = z3.enum([
|
|
759
|
+
"migros_yemek",
|
|
760
|
+
"yemeksepeti",
|
|
761
|
+
"getir",
|
|
762
|
+
"trendyol_go_meal",
|
|
763
|
+
"fuudy"
|
|
764
|
+
]);
|
|
765
|
+
var elephantPlatformIdentifierSchema = z3.union([z3.string().trim().min(1), z3.number().int()]);
|
|
766
|
+
var elephantPlatformBaseUrlSchema = z3.url().optional();
|
|
767
|
+
var integrationElephantMigrosYemekAuthenticationSchema = z3.object({
|
|
768
|
+
secret_key: z3.string().length(32, "authentication.secret_key.length"),
|
|
769
|
+
x_api_key: z3.string().trim().min(1, "authentication.x_api_key.required"),
|
|
770
|
+
store_id: elephantPlatformIdentifierSchema,
|
|
771
|
+
store_group_id: elephantPlatformIdentifierSchema,
|
|
772
|
+
base_url: elephantPlatformBaseUrlSchema
|
|
773
|
+
}).strict();
|
|
774
|
+
var integrationElephantTrendyolGoMealAuthenticationSchema = z3.object({
|
|
775
|
+
api_key: z3.string().trim().min(1, "authentication.api_key.required"),
|
|
776
|
+
api_secret: z3.string().trim().min(1, "authentication.api_secret.required"),
|
|
777
|
+
shop_id: elephantPlatformIdentifierSchema,
|
|
778
|
+
seller_id: elephantPlatformIdentifierSchema,
|
|
779
|
+
base_url: elephantPlatformBaseUrlSchema
|
|
780
|
+
}).strict();
|
|
781
|
+
var integrationElephantFuudyAuthenticationSchema = z3.object({
|
|
782
|
+
app_secret_key: z3.string().trim().min(1, "authentication.app_secret_key.required"),
|
|
783
|
+
rest_secret_key: z3.string().trim().min(1, "authentication.rest_secret_key.required"),
|
|
784
|
+
base_url: elephantPlatformBaseUrlSchema
|
|
785
|
+
}).strict();
|
|
786
|
+
var integrationElephantGetirAuthenticationSchema = z3.object({
|
|
787
|
+
app_secret_key: z3.string().trim().min(1, "authentication.app_secret_key.required"),
|
|
788
|
+
restaurant_secret_key: z3.string().trim().min(1, "authentication.restaurant_secret_key.required"),
|
|
789
|
+
base_url: elephantPlatformBaseUrlSchema
|
|
790
|
+
}).strict();
|
|
791
|
+
var integrationElephantYemeksepetiAuthenticationSchema = z3.object({
|
|
792
|
+
username: z3.string().trim().min(1, "authentication.username.required"),
|
|
793
|
+
password: z3.string().min(1, "authentication.password.required"),
|
|
794
|
+
chain_code: z3.string().trim().min(1, "authentication.chain_code.required"),
|
|
795
|
+
remote_id: z3.string().trim().min(1, "authentication.remote_id.required"),
|
|
796
|
+
webhook_token: optionalCleanField(z3.string().trim().min(1)),
|
|
797
|
+
base_url: elephantPlatformBaseUrlSchema
|
|
798
|
+
}).strict();
|
|
799
|
+
var integrationElephantRestaurantAuthenticationSchema = z3.union([
|
|
800
|
+
integrationElephantMigrosYemekAuthenticationSchema,
|
|
801
|
+
integrationElephantTrendyolGoMealAuthenticationSchema,
|
|
802
|
+
integrationElephantFuudyAuthenticationSchema,
|
|
803
|
+
integrationElephantGetirAuthenticationSchema,
|
|
804
|
+
integrationElephantYemeksepetiAuthenticationSchema
|
|
805
|
+
]);
|
|
806
|
+
var integrationElephantRestaurantCommonSchema = z3.object({
|
|
807
|
+
name: z3.string().trim().min(1, "name.required").max(255),
|
|
808
|
+
platformRestaurantId: z3.string().trim().min(1, "platformRestaurantId.required").max(255),
|
|
809
|
+
platformChainId: optionalCleanField(z3.string().trim().max(255)),
|
|
810
|
+
salesModeId: optionalCleanField(z3.string().trim().min(1, "salesModeId.required")),
|
|
811
|
+
categoryId: z3.string().trim().min(1, "categoryId.required"),
|
|
812
|
+
defaultTaxRate: z3.coerce.number().min(0).max(100),
|
|
813
|
+
channels: z3.array(menuChannelSchema2).min(2),
|
|
814
|
+
orderType: orderTypeSchema.refine((value) => value !== "kitchen", "orderType.invalid"),
|
|
815
|
+
defaultPreparationTime: z3.coerce.number().int().min(0).max(240),
|
|
816
|
+
acceptanceTimeout: z3.coerce.number().int().min(0).max(120)
|
|
817
|
+
});
|
|
818
|
+
var integrationElephantRestaurantDataSchema = z3.discriminatedUnion("platform", [
|
|
819
|
+
integrationElephantRestaurantCommonSchema.extend({
|
|
820
|
+
platform: z3.literal("migros_yemek"),
|
|
821
|
+
authentication: integrationElephantMigrosYemekAuthenticationSchema.nullish()
|
|
822
|
+
}),
|
|
823
|
+
integrationElephantRestaurantCommonSchema.extend({
|
|
824
|
+
platform: z3.literal("trendyol_go_meal"),
|
|
825
|
+
authentication: integrationElephantTrendyolGoMealAuthenticationSchema.nullish()
|
|
826
|
+
}),
|
|
827
|
+
integrationElephantRestaurantCommonSchema.extend({
|
|
828
|
+
platform: z3.literal("fuudy"),
|
|
829
|
+
authentication: integrationElephantFuudyAuthenticationSchema.nullish()
|
|
830
|
+
}),
|
|
831
|
+
integrationElephantRestaurantCommonSchema.extend({
|
|
832
|
+
platform: z3.literal("getir"),
|
|
833
|
+
authentication: integrationElephantGetirAuthenticationSchema.nullish()
|
|
834
|
+
}),
|
|
835
|
+
integrationElephantRestaurantCommonSchema.extend({
|
|
836
|
+
platform: z3.literal("yemeksepeti"),
|
|
837
|
+
authentication: integrationElephantYemeksepetiAuthenticationSchema.nullish()
|
|
838
|
+
})
|
|
839
|
+
]).superRefine((value, context) => {
|
|
840
|
+
for (const requiredChannel of ["application", "elephant"]) {
|
|
841
|
+
if (!value.channels.includes(requiredChannel)) {
|
|
842
|
+
context.addIssue({
|
|
843
|
+
code: "custom",
|
|
844
|
+
message: `channels.${requiredChannel}.required`,
|
|
845
|
+
path: ["channels"],
|
|
846
|
+
input: value.channels
|
|
847
|
+
});
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
if (!value.authentication) return;
|
|
851
|
+
const authentication = value.authentication;
|
|
852
|
+
const restaurantAuthenticationField = value.platform === "migros_yemek" ? "store_id" : value.platform === "trendyol_go_meal" ? "shop_id" : value.platform === "yemeksepeti" ? "remote_id" : null;
|
|
853
|
+
const chainAuthenticationField = value.platform === "migros_yemek" ? "store_group_id" : value.platform === "yemeksepeti" ? "chain_code" : null;
|
|
854
|
+
if (restaurantAuthenticationField && String(authentication[restaurantAuthenticationField]) !== value.platformRestaurantId) {
|
|
855
|
+
context.addIssue({
|
|
856
|
+
code: "custom",
|
|
857
|
+
message: `authentication.${restaurantAuthenticationField}.mismatch`,
|
|
858
|
+
path: ["authentication", restaurantAuthenticationField],
|
|
859
|
+
input: authentication[restaurantAuthenticationField]
|
|
860
|
+
});
|
|
861
|
+
}
|
|
862
|
+
if (chainAuthenticationField && value.platformChainId && String(authentication[chainAuthenticationField]) !== value.platformChainId) {
|
|
863
|
+
context.addIssue({
|
|
864
|
+
code: "custom",
|
|
865
|
+
message: `authentication.${chainAuthenticationField}.mismatch`,
|
|
866
|
+
path: ["authentication", chainAuthenticationField],
|
|
867
|
+
input: authentication[chainAuthenticationField]
|
|
868
|
+
});
|
|
869
|
+
}
|
|
870
|
+
});
|
|
871
|
+
var integrationElephantDataCommonSchema = z3.object({
|
|
872
|
+
restaurants: z3.array(integrationElephantRestaurantDataSchema).min(1, "restaurants.required")
|
|
873
|
+
});
|
|
874
|
+
var integrationElephantDataSchema = z3.discriminatedUnion("credentialMode", [
|
|
875
|
+
integrationElephantDataCommonSchema.extend({
|
|
876
|
+
credentialMode: integrationElephantCredentialModeSchema.extract(["managed"])
|
|
877
|
+
}),
|
|
878
|
+
integrationElephantDataCommonSchema.extend({
|
|
879
|
+
credentialMode: integrationElephantCredentialModeSchema.extract(["provided"]),
|
|
880
|
+
tenantId: z3.string().trim().min(1, "tenantId.required").max(36),
|
|
881
|
+
appId: z3.string().trim().min(1, "appId.required").max(36),
|
|
882
|
+
personalAccessToken: z3.string().trim().min(1, "personalAccessToken.required")
|
|
883
|
+
})
|
|
884
|
+
]);
|
|
653
885
|
var integrationServiceDataSchema = z3.discriminatedUnion("service", [
|
|
654
886
|
z3.object({
|
|
655
887
|
service: z3.literal("kitchen"),
|
|
@@ -678,6 +910,10 @@ var integrationServiceDataSchema = z3.discriminatedUnion("service", [
|
|
|
678
910
|
z3.object({
|
|
679
911
|
service: z3.literal("ecommerce"),
|
|
680
912
|
data: integrationEcommerceDataSchema
|
|
913
|
+
}),
|
|
914
|
+
z3.object({
|
|
915
|
+
service: z3.literal("elephant"),
|
|
916
|
+
data: integrationElephantDataSchema
|
|
681
917
|
})
|
|
682
918
|
]);
|
|
683
919
|
|
|
@@ -687,6 +923,7 @@ var activatableIntegrationStatuses = [
|
|
|
687
923
|
"waiting_for_user",
|
|
688
924
|
"waiting_for_admin",
|
|
689
925
|
"request_sent_partner",
|
|
926
|
+
"provisioning",
|
|
690
927
|
"active",
|
|
691
928
|
"failed"
|
|
692
929
|
];
|
|
@@ -705,7 +942,8 @@ var activatableIntegrationBaseSchema = z5.object({
|
|
|
705
942
|
integrationJustEatIriSchema,
|
|
706
943
|
integrationCassaInCloudIriSchema,
|
|
707
944
|
integrationTilbyIriSchema,
|
|
708
|
-
integrationEcommerceIriSchema
|
|
945
|
+
integrationEcommerceIriSchema,
|
|
946
|
+
integrationElephantIriSchema
|
|
709
947
|
]).nullable(),
|
|
710
948
|
status: activatableIntegrationStatusSchema,
|
|
711
949
|
healthStatus: activatableIntegrationHealthStatusSchema,
|
|
@@ -757,6 +995,11 @@ var activatableIntegrationSchema = z5.discriminatedUnion("service", [
|
|
|
757
995
|
"ecommerce",
|
|
758
996
|
integrationEcommerceDataSchema,
|
|
759
997
|
integrationEcommerceNullableIriSchema
|
|
998
|
+
),
|
|
999
|
+
createIntegrationSchema(
|
|
1000
|
+
"elephant",
|
|
1001
|
+
integrationElephantDataSchema,
|
|
1002
|
+
integrationElephantNullableIriSchema
|
|
760
1003
|
)
|
|
761
1004
|
]);
|
|
762
1005
|
export {
|
|
@@ -854,6 +1097,39 @@ export {
|
|
|
854
1097
|
integrationEcommerceOrderingModeSchema,
|
|
855
1098
|
integrationEcommerceOrderingModes,
|
|
856
1099
|
integrationEcommerceThemeSchema,
|
|
1100
|
+
integrationElephantCatalogImportResourceTypeSchema,
|
|
1101
|
+
integrationElephantCatalogImportResourceTypes,
|
|
1102
|
+
integrationElephantCatalogImportStatusSchema,
|
|
1103
|
+
integrationElephantCatalogImportStatuses,
|
|
1104
|
+
integrationElephantCatalogImportStepSchema,
|
|
1105
|
+
integrationElephantCatalogImportSteps,
|
|
1106
|
+
integrationElephantCatalogRoleSchema,
|
|
1107
|
+
integrationElephantCatalogRoles,
|
|
1108
|
+
integrationElephantCatalogSideSchema,
|
|
1109
|
+
integrationElephantCatalogSides,
|
|
1110
|
+
integrationElephantCatalogStatusSchema,
|
|
1111
|
+
integrationElephantCatalogStatuses,
|
|
1112
|
+
integrationElephantCredentialModeSchema,
|
|
1113
|
+
integrationElephantCredentialModes,
|
|
1114
|
+
integrationElephantDataSchema,
|
|
1115
|
+
integrationElephantFuudyAuthenticationSchema,
|
|
1116
|
+
integrationElephantGetirAuthenticationSchema,
|
|
1117
|
+
integrationElephantIriSchema,
|
|
1118
|
+
integrationElephantMigrosYemekAuthenticationSchema,
|
|
1119
|
+
integrationElephantNullableIriSchema,
|
|
1120
|
+
integrationElephantOrderReleaseStatusSchema,
|
|
1121
|
+
integrationElephantOrderReleaseStatuses,
|
|
1122
|
+
integrationElephantPlatformSchema,
|
|
1123
|
+
integrationElephantProvisioningStepSchema,
|
|
1124
|
+
integrationElephantProvisioningSteps,
|
|
1125
|
+
integrationElephantRestaurantAuthenticationSchema,
|
|
1126
|
+
integrationElephantRestaurantDataSchema,
|
|
1127
|
+
integrationElephantRestaurantIriSchema,
|
|
1128
|
+
integrationElephantRestaurantNullableIriSchema,
|
|
1129
|
+
integrationElephantRestaurantStatusSchema,
|
|
1130
|
+
integrationElephantRestaurantStatuses,
|
|
1131
|
+
integrationElephantTrendyolGoMealAuthenticationSchema,
|
|
1132
|
+
integrationElephantYemeksepetiAuthenticationSchema,
|
|
857
1133
|
integrationGlovoBulkUpdateIriSchema,
|
|
858
1134
|
integrationGlovoBulkUpdateStatusSchema,
|
|
859
1135
|
integrationGlovoBulkUpdateStatuses,
|
|
@@ -872,6 +1148,8 @@ export {
|
|
|
872
1148
|
integrationGlovoSyncStatuses,
|
|
873
1149
|
integrationGlovoWebhookEventTypeSchema,
|
|
874
1150
|
integrationGlovoWebhookEventTypes,
|
|
1151
|
+
integrationHealthStatusSchema,
|
|
1152
|
+
integrationHealthStatuses,
|
|
875
1153
|
integrationIriSchema,
|
|
876
1154
|
integrationIssueCodeSchema,
|
|
877
1155
|
integrationIssueCodes,
|
|
@@ -902,6 +1180,8 @@ export {
|
|
|
902
1180
|
integrationPathSchemas,
|
|
903
1181
|
integrationProviderSchema,
|
|
904
1182
|
integrationProviders,
|
|
1183
|
+
integrationRequestLogOutcomeSchema,
|
|
1184
|
+
integrationRequestLogOutcomes,
|
|
905
1185
|
integrationServiceDataSchema,
|
|
906
1186
|
integrationServiceSchema,
|
|
907
1187
|
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.26.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.26.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
|
}
|