@deliverart/sdk-js-webhook 2.4.20 → 2.4.21
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 +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -11290,7 +11290,7 @@ var webhookLogListItemSchema = webhookLogSchema.omit({
|
|
|
11290
11290
|
var webhookLogsQuerySchema = external_exports.object({
|
|
11291
11291
|
entityClass: external_exports.string().optional(),
|
|
11292
11292
|
externalEntityId: external_exports.string().optional(),
|
|
11293
|
-
"exists[completedAt]":
|
|
11293
|
+
"exists[completedAt]": import_sdk_js_global_types2.booleanSchema.optional(),
|
|
11294
11294
|
events: external_exports.union([webhookEventSchema, external_exports.array(webhookEventSchema)]).optional(),
|
|
11295
11295
|
status: external_exports.union([webhookLogStatusSchema, external_exports.array(webhookLogStatusSchema)]).optional(),
|
|
11296
11296
|
"order[createdAt]": import_sdk_js_global_types2.sortDirSchema.optional(),
|
package/dist/index.d.cts
CHANGED
|
@@ -165,7 +165,7 @@ type WebhookLogListItem = z.infer<typeof webhookLogListItemSchema>;
|
|
|
165
165
|
declare const webhookLogsQuerySchema: z.ZodObject<{
|
|
166
166
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
167
167
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
168
|
-
'exists[completedAt]': z.ZodOptional<z.
|
|
168
|
+
'exists[completedAt]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
169
169
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
170
170
|
create: "create";
|
|
171
171
|
update: "update";
|
|
@@ -880,7 +880,7 @@ declare class GetWebhookLogDetails extends AbstractApiRequest<typeof getWebhookL
|
|
|
880
880
|
declare const getWebhookLogsQuerySchema: z.ZodObject<{
|
|
881
881
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
882
882
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
883
|
-
'exists[completedAt]': z.ZodOptional<z.
|
|
883
|
+
'exists[completedAt]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
884
884
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
885
885
|
create: "create";
|
|
886
886
|
update: "update";
|
|
@@ -1023,7 +1023,7 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
1023
1023
|
readonly querySchema: z.ZodObject<{
|
|
1024
1024
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1025
1025
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
1026
|
-
'exists[completedAt]': z.ZodOptional<z.
|
|
1026
|
+
'exists[completedAt]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1027
1027
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1028
1028
|
create: "create";
|
|
1029
1029
|
update: "update";
|
|
@@ -1073,7 +1073,7 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
1073
1073
|
declare const getWebhookLogsFromWebhookConfigurationQuerySchema: z.ZodObject<{
|
|
1074
1074
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1075
1075
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
1076
|
-
'exists[completedAt]': z.ZodOptional<z.
|
|
1076
|
+
'exists[completedAt]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1077
1077
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1078
1078
|
create: "create";
|
|
1079
1079
|
update: "update";
|
|
@@ -1216,7 +1216,7 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
1216
1216
|
readonly querySchema: z.ZodObject<{
|
|
1217
1217
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1218
1218
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
1219
|
-
'exists[completedAt]': z.ZodOptional<z.
|
|
1219
|
+
'exists[completedAt]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1220
1220
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1221
1221
|
create: "create";
|
|
1222
1222
|
update: "update";
|
package/dist/index.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ type WebhookLogListItem = z.infer<typeof webhookLogListItemSchema>;
|
|
|
165
165
|
declare const webhookLogsQuerySchema: z.ZodObject<{
|
|
166
166
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
167
167
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
168
|
-
'exists[completedAt]': z.ZodOptional<z.
|
|
168
|
+
'exists[completedAt]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
169
169
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
170
170
|
create: "create";
|
|
171
171
|
update: "update";
|
|
@@ -880,7 +880,7 @@ declare class GetWebhookLogDetails extends AbstractApiRequest<typeof getWebhookL
|
|
|
880
880
|
declare const getWebhookLogsQuerySchema: z.ZodObject<{
|
|
881
881
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
882
882
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
883
|
-
'exists[completedAt]': z.ZodOptional<z.
|
|
883
|
+
'exists[completedAt]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
884
884
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
885
885
|
create: "create";
|
|
886
886
|
update: "update";
|
|
@@ -1023,7 +1023,7 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
1023
1023
|
readonly querySchema: z.ZodObject<{
|
|
1024
1024
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1025
1025
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
1026
|
-
'exists[completedAt]': z.ZodOptional<z.
|
|
1026
|
+
'exists[completedAt]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1027
1027
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1028
1028
|
create: "create";
|
|
1029
1029
|
update: "update";
|
|
@@ -1073,7 +1073,7 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
1073
1073
|
declare const getWebhookLogsFromWebhookConfigurationQuerySchema: z.ZodObject<{
|
|
1074
1074
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1075
1075
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
1076
|
-
'exists[completedAt]': z.ZodOptional<z.
|
|
1076
|
+
'exists[completedAt]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1077
1077
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1078
1078
|
create: "create";
|
|
1079
1079
|
update: "update";
|
|
@@ -1216,7 +1216,7 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
1216
1216
|
readonly querySchema: z.ZodObject<{
|
|
1217
1217
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1218
1218
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
1219
|
-
'exists[completedAt]': z.ZodOptional<z.
|
|
1219
|
+
'exists[completedAt]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1220
1220
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1221
1221
|
create: "create";
|
|
1222
1222
|
update: "update";
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var __export = (target, all) => {
|
|
|
6
6
|
|
|
7
7
|
// src/models.ts
|
|
8
8
|
import {
|
|
9
|
+
booleanSchema,
|
|
9
10
|
datetimeSchema,
|
|
10
11
|
sortDirSchema,
|
|
11
12
|
timestampsFilterSchema
|
|
@@ -11228,7 +11229,7 @@ var webhookLogListItemSchema = webhookLogSchema.omit({
|
|
|
11228
11229
|
var webhookLogsQuerySchema = external_exports.object({
|
|
11229
11230
|
entityClass: external_exports.string().optional(),
|
|
11230
11231
|
externalEntityId: external_exports.string().optional(),
|
|
11231
|
-
"exists[completedAt]":
|
|
11232
|
+
"exists[completedAt]": booleanSchema.optional(),
|
|
11232
11233
|
events: external_exports.union([webhookEventSchema, external_exports.array(webhookEventSchema)]).optional(),
|
|
11233
11234
|
status: external_exports.union([webhookLogStatusSchema, external_exports.array(webhookLogStatusSchema)]).optional(),
|
|
11234
11235
|
"order[createdAt]": sortDirSchema.optional(),
|
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.4.
|
|
4
|
+
"version": "2.4.21",
|
|
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.4.20",
|
|
22
|
-
"@deliverart/sdk-js-global-types": "2.4.
|
|
23
|
-
"@deliverart/sdk-js-point-of-sale": "2.4.
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.4.21",
|
|
23
|
+
"@deliverart/sdk-js-point-of-sale": "2.4.21"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|