@deliverart/sdk-js-webhook 2.2.6 → 2.2.7
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 +2 -2
- package/dist/index.d.cts +96 -8
- package/dist/index.d.ts +96 -8
- package/dist/index.js +2 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -11269,7 +11269,7 @@ var webhookConfigurationsQuerySchema = external_exports.object({
|
|
|
11269
11269
|
var webhookLogSchema = external_exports.object({
|
|
11270
11270
|
id: external_exports.string(),
|
|
11271
11271
|
configuration: webhookConfigurationIriSchema,
|
|
11272
|
-
entityClass:
|
|
11272
|
+
entityClass: webhookEntitySchema,
|
|
11273
11273
|
externalEntityId: external_exports.uuid(),
|
|
11274
11274
|
event: webhookEventSchema,
|
|
11275
11275
|
status: webhookLogStatusSchema,
|
|
@@ -11534,7 +11534,7 @@ var GetWebhookLogsFromWebhookConfiguration = class extends import_sdk_js_core9.A
|
|
|
11534
11534
|
return `/webhooks/configurations/${this.webhookConfigurationId}/logs`;
|
|
11535
11535
|
}
|
|
11536
11536
|
parseResponse(data, rawResponse) {
|
|
11537
|
-
const webhookLogs = external_exports.array(
|
|
11537
|
+
const webhookLogs = external_exports.array(webhookLogListItemSchema).parse(data);
|
|
11538
11538
|
return this.validateOutput({
|
|
11539
11539
|
data: webhookLogs,
|
|
11540
11540
|
pagination: (0, import_sdk_js_global_types5.responseToPagination)(rawResponse)
|
package/dist/index.d.cts
CHANGED
|
@@ -91,7 +91,18 @@ type WebhookConfigurationsQueryParams = z.infer<typeof webhookConfigurationsQuer
|
|
|
91
91
|
declare const webhookLogSchema: z.ZodObject<{
|
|
92
92
|
id: z.ZodString;
|
|
93
93
|
configuration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown>>;
|
|
94
|
-
entityClass: z.
|
|
94
|
+
entityClass: z.ZodEnum<{
|
|
95
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
96
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
97
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
98
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
99
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
100
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
101
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
102
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
103
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
104
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
105
|
+
}>;
|
|
95
106
|
externalEntityId: z.ZodUUID;
|
|
96
107
|
event: z.ZodEnum<{
|
|
97
108
|
create: "create";
|
|
@@ -116,7 +127,18 @@ declare const webhookLogSchema: z.ZodObject<{
|
|
|
116
127
|
}, z.core.$strip>;
|
|
117
128
|
type WebhookLog = z.infer<typeof webhookLogSchema>;
|
|
118
129
|
declare const webhookLogListItemSchema: z.ZodObject<{
|
|
119
|
-
entityClass: z.
|
|
130
|
+
entityClass: z.ZodEnum<{
|
|
131
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
132
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
133
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
134
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
135
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
136
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
137
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
138
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
139
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
140
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
141
|
+
}>;
|
|
120
142
|
createdAt: z.ZodString;
|
|
121
143
|
id: z.ZodString;
|
|
122
144
|
event: z.ZodEnum<{
|
|
@@ -776,7 +798,18 @@ type GetWebhookLogDetailsInput = z.input<typeof getWebhookLogDetailsInputSchema>
|
|
|
776
798
|
declare const getWebhookLogDetailsResponseSchema: z.ZodObject<{
|
|
777
799
|
id: z.ZodString;
|
|
778
800
|
configuration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown>>;
|
|
779
|
-
entityClass: z.
|
|
801
|
+
entityClass: z.ZodEnum<{
|
|
802
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
803
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
804
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
805
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
806
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
807
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
808
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
809
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
810
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
811
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
812
|
+
}>;
|
|
780
813
|
externalEntityId: z.ZodUUID;
|
|
781
814
|
event: z.ZodEnum<{
|
|
782
815
|
create: "create";
|
|
@@ -808,7 +841,18 @@ declare class GetWebhookLogDetails extends AbstractApiRequest<typeof getWebhookL
|
|
|
808
841
|
readonly outputSchema: z.ZodObject<{
|
|
809
842
|
id: z.ZodString;
|
|
810
843
|
configuration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown>>;
|
|
811
|
-
entityClass: z.
|
|
844
|
+
entityClass: z.ZodEnum<{
|
|
845
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
846
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
847
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
848
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
849
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
850
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
851
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
852
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
853
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
854
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
855
|
+
}>;
|
|
812
856
|
externalEntityId: z.ZodUUID;
|
|
813
857
|
event: z.ZodEnum<{
|
|
814
858
|
create: "create";
|
|
@@ -885,7 +929,18 @@ declare const getWebhookLogsInputSchema: z.ZodUndefined;
|
|
|
885
929
|
type GetWebhookLogsInput = z.infer<typeof getWebhookLogsInputSchema>;
|
|
886
930
|
declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
887
931
|
data: z.ZodArray<z.ZodObject<{
|
|
888
|
-
entityClass: z.
|
|
932
|
+
entityClass: z.ZodEnum<{
|
|
933
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
934
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
935
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
936
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
937
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
938
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
939
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
940
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
941
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
942
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
943
|
+
}>;
|
|
889
944
|
createdAt: z.ZodString;
|
|
890
945
|
id: z.ZodString;
|
|
891
946
|
event: z.ZodEnum<{
|
|
@@ -926,7 +981,18 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
926
981
|
readonly inputSchema: z.ZodUndefined;
|
|
927
982
|
readonly outputSchema: z.ZodObject<{
|
|
928
983
|
data: z.ZodArray<z.ZodObject<{
|
|
929
|
-
entityClass: z.
|
|
984
|
+
entityClass: z.ZodEnum<{
|
|
985
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
986
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
987
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
988
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
989
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
990
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
991
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
992
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
993
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
994
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
995
|
+
}>;
|
|
930
996
|
createdAt: z.ZodString;
|
|
931
997
|
id: z.ZodString;
|
|
932
998
|
event: z.ZodEnum<{
|
|
@@ -1056,7 +1122,18 @@ declare const getWebhookLogsFromWebhookConfigurationInputSchema: z.ZodUndefined;
|
|
|
1056
1122
|
type GetWebhookLogsFromWebhookConfigurationInput = z.input<typeof getWebhookLogsFromWebhookConfigurationInputSchema>;
|
|
1057
1123
|
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<{
|
|
1058
1124
|
data: z.ZodArray<z.ZodObject<{
|
|
1059
|
-
entityClass: z.
|
|
1125
|
+
entityClass: z.ZodEnum<{
|
|
1126
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1127
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1128
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1129
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1130
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1131
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1132
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1133
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1134
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1135
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1136
|
+
}>;
|
|
1060
1137
|
createdAt: z.ZodString;
|
|
1061
1138
|
id: z.ZodString;
|
|
1062
1139
|
event: z.ZodEnum<{
|
|
@@ -1097,7 +1174,18 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
1097
1174
|
readonly inputSchema: z.ZodUndefined;
|
|
1098
1175
|
readonly outputSchema: z.ZodObject<{
|
|
1099
1176
|
data: z.ZodArray<z.ZodObject<{
|
|
1100
|
-
entityClass: z.
|
|
1177
|
+
entityClass: z.ZodEnum<{
|
|
1178
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1179
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1180
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1181
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1182
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1183
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1184
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1185
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1186
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1187
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1188
|
+
}>;
|
|
1101
1189
|
createdAt: z.ZodString;
|
|
1102
1190
|
id: z.ZodString;
|
|
1103
1191
|
event: z.ZodEnum<{
|
package/dist/index.d.ts
CHANGED
|
@@ -91,7 +91,18 @@ type WebhookConfigurationsQueryParams = z.infer<typeof webhookConfigurationsQuer
|
|
|
91
91
|
declare const webhookLogSchema: z.ZodObject<{
|
|
92
92
|
id: z.ZodString;
|
|
93
93
|
configuration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown>>;
|
|
94
|
-
entityClass: z.
|
|
94
|
+
entityClass: z.ZodEnum<{
|
|
95
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
96
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
97
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
98
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
99
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
100
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
101
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
102
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
103
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
104
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
105
|
+
}>;
|
|
95
106
|
externalEntityId: z.ZodUUID;
|
|
96
107
|
event: z.ZodEnum<{
|
|
97
108
|
create: "create";
|
|
@@ -116,7 +127,18 @@ declare const webhookLogSchema: z.ZodObject<{
|
|
|
116
127
|
}, z.core.$strip>;
|
|
117
128
|
type WebhookLog = z.infer<typeof webhookLogSchema>;
|
|
118
129
|
declare const webhookLogListItemSchema: z.ZodObject<{
|
|
119
|
-
entityClass: z.
|
|
130
|
+
entityClass: z.ZodEnum<{
|
|
131
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
132
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
133
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
134
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
135
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
136
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
137
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
138
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
139
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
140
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
141
|
+
}>;
|
|
120
142
|
createdAt: z.ZodString;
|
|
121
143
|
id: z.ZodString;
|
|
122
144
|
event: z.ZodEnum<{
|
|
@@ -776,7 +798,18 @@ type GetWebhookLogDetailsInput = z.input<typeof getWebhookLogDetailsInputSchema>
|
|
|
776
798
|
declare const getWebhookLogDetailsResponseSchema: z.ZodObject<{
|
|
777
799
|
id: z.ZodString;
|
|
778
800
|
configuration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown>>;
|
|
779
|
-
entityClass: z.
|
|
801
|
+
entityClass: z.ZodEnum<{
|
|
802
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
803
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
804
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
805
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
806
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
807
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
808
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
809
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
810
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
811
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
812
|
+
}>;
|
|
780
813
|
externalEntityId: z.ZodUUID;
|
|
781
814
|
event: z.ZodEnum<{
|
|
782
815
|
create: "create";
|
|
@@ -808,7 +841,18 @@ declare class GetWebhookLogDetails extends AbstractApiRequest<typeof getWebhookL
|
|
|
808
841
|
readonly outputSchema: z.ZodObject<{
|
|
809
842
|
id: z.ZodString;
|
|
810
843
|
configuration: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown>>;
|
|
811
|
-
entityClass: z.
|
|
844
|
+
entityClass: z.ZodEnum<{
|
|
845
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
846
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
847
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
848
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
849
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
850
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
851
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
852
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
853
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
854
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
855
|
+
}>;
|
|
812
856
|
externalEntityId: z.ZodUUID;
|
|
813
857
|
event: z.ZodEnum<{
|
|
814
858
|
create: "create";
|
|
@@ -885,7 +929,18 @@ declare const getWebhookLogsInputSchema: z.ZodUndefined;
|
|
|
885
929
|
type GetWebhookLogsInput = z.infer<typeof getWebhookLogsInputSchema>;
|
|
886
930
|
declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
887
931
|
data: z.ZodArray<z.ZodObject<{
|
|
888
|
-
entityClass: z.
|
|
932
|
+
entityClass: z.ZodEnum<{
|
|
933
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
934
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
935
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
936
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
937
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
938
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
939
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
940
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
941
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
942
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
943
|
+
}>;
|
|
889
944
|
createdAt: z.ZodString;
|
|
890
945
|
id: z.ZodString;
|
|
891
946
|
event: z.ZodEnum<{
|
|
@@ -926,7 +981,18 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
926
981
|
readonly inputSchema: z.ZodUndefined;
|
|
927
982
|
readonly outputSchema: z.ZodObject<{
|
|
928
983
|
data: z.ZodArray<z.ZodObject<{
|
|
929
|
-
entityClass: z.
|
|
984
|
+
entityClass: z.ZodEnum<{
|
|
985
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
986
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
987
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
988
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
989
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
990
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
991
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
992
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
993
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
994
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
995
|
+
}>;
|
|
930
996
|
createdAt: z.ZodString;
|
|
931
997
|
id: z.ZodString;
|
|
932
998
|
event: z.ZodEnum<{
|
|
@@ -1056,7 +1122,18 @@ declare const getWebhookLogsFromWebhookConfigurationInputSchema: z.ZodUndefined;
|
|
|
1056
1122
|
type GetWebhookLogsFromWebhookConfigurationInput = z.input<typeof getWebhookLogsFromWebhookConfigurationInputSchema>;
|
|
1057
1123
|
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<{
|
|
1058
1124
|
data: z.ZodArray<z.ZodObject<{
|
|
1059
|
-
entityClass: z.
|
|
1125
|
+
entityClass: z.ZodEnum<{
|
|
1126
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1127
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1128
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1129
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1130
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1131
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1132
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1133
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1134
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1135
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1136
|
+
}>;
|
|
1060
1137
|
createdAt: z.ZodString;
|
|
1061
1138
|
id: z.ZodString;
|
|
1062
1139
|
event: z.ZodEnum<{
|
|
@@ -1097,7 +1174,18 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
1097
1174
|
readonly inputSchema: z.ZodUndefined;
|
|
1098
1175
|
readonly outputSchema: z.ZodObject<{
|
|
1099
1176
|
data: z.ZodArray<z.ZodObject<{
|
|
1100
|
-
entityClass: z.
|
|
1177
|
+
entityClass: z.ZodEnum<{
|
|
1178
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1179
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1180
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1181
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1182
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1183
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1184
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1185
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1186
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1187
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1188
|
+
}>;
|
|
1101
1189
|
createdAt: z.ZodString;
|
|
1102
1190
|
id: z.ZodString;
|
|
1103
1191
|
event: z.ZodEnum<{
|
package/dist/index.js
CHANGED
|
@@ -11207,7 +11207,7 @@ var webhookConfigurationsQuerySchema = external_exports.object({
|
|
|
11207
11207
|
var webhookLogSchema = external_exports.object({
|
|
11208
11208
|
id: external_exports.string(),
|
|
11209
11209
|
configuration: webhookConfigurationIriSchema,
|
|
11210
|
-
entityClass:
|
|
11210
|
+
entityClass: webhookEntitySchema,
|
|
11211
11211
|
externalEntityId: external_exports.uuid(),
|
|
11212
11212
|
event: webhookEventSchema,
|
|
11213
11213
|
status: webhookLogStatusSchema,
|
|
@@ -11481,7 +11481,7 @@ var GetWebhookLogsFromWebhookConfiguration = class extends AbstractApiRequest9 {
|
|
|
11481
11481
|
return `/webhooks/configurations/${this.webhookConfigurationId}/logs`;
|
|
11482
11482
|
}
|
|
11483
11483
|
parseResponse(data, rawResponse) {
|
|
11484
|
-
const webhookLogs = external_exports.array(
|
|
11484
|
+
const webhookLogs = external_exports.array(webhookLogListItemSchema).parse(data);
|
|
11485
11485
|
return this.validateOutput({
|
|
11486
11486
|
data: webhookLogs,
|
|
11487
11487
|
pagination: responseToPagination3(rawResponse)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-webhook",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Webhook Management",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@deliverart/sdk-js-core": "2.1.57",
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.1.57",
|
|
23
|
+
"@deliverart/sdk-js-point-of-sale": "2.1.57"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|