@deliverart/sdk-js-webhook 2.6.1 → 2.6.2
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 +3 -3
- package/dist/index.d.cts +12 -200
- package/dist/index.d.ts +12 -200
- package/dist/index.js +6 -6
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -11367,7 +11367,7 @@ var import_sdk_js_core4 = require("@deliverart/sdk-js-core");
|
|
|
11367
11367
|
var import_sdk_js_global_types5 = require("@deliverart/sdk-js-global-types");
|
|
11368
11368
|
var getWebhookConfigurationsQuerySchema = webhookConfigurationsQuerySchema;
|
|
11369
11369
|
var getWebhookConfigurationsInputSchema = external_exports.undefined();
|
|
11370
|
-
var getWebhookConfigurationsResponseSchema = (0, import_sdk_js_global_types5.
|
|
11370
|
+
var getWebhookConfigurationsResponseSchema = (0, import_sdk_js_global_types5.createPaginatedSchema)(
|
|
11371
11371
|
webhookConfigurationListItemSchema
|
|
11372
11372
|
);
|
|
11373
11373
|
var GetWebhookConfigurations = class extends import_sdk_js_core4.AbstractApiRequest {
|
|
@@ -11468,7 +11468,7 @@ var import_sdk_js_core8 = require("@deliverart/sdk-js-core");
|
|
|
11468
11468
|
var import_sdk_js_global_types6 = require("@deliverart/sdk-js-global-types");
|
|
11469
11469
|
var getWebhookLogsQuerySchema = webhookLogsQuerySchema;
|
|
11470
11470
|
var getWebhookLogsInputSchema = external_exports.undefined();
|
|
11471
|
-
var getWebhookLogsResponseSchema = (0, import_sdk_js_global_types6.
|
|
11471
|
+
var getWebhookLogsResponseSchema = (0, import_sdk_js_global_types6.createPaginatedSchema)(webhookLogListItemSchema);
|
|
11472
11472
|
var GetWebhookLogs = class extends import_sdk_js_core8.AbstractApiRequest {
|
|
11473
11473
|
constructor(options) {
|
|
11474
11474
|
super(void 0, options);
|
|
@@ -11492,7 +11492,7 @@ var import_sdk_js_core9 = require("@deliverart/sdk-js-core");
|
|
|
11492
11492
|
var import_sdk_js_global_types7 = require("@deliverart/sdk-js-global-types");
|
|
11493
11493
|
var getWebhookLogsFromWebhookConfigurationQuerySchema = webhookLogsQuerySchema;
|
|
11494
11494
|
var getWebhookLogsFromWebhookConfigurationInputSchema = external_exports.undefined();
|
|
11495
|
-
var getWebhookLogsFromWebhookConfigurationResponseSchema = (0, import_sdk_js_global_types7.
|
|
11495
|
+
var getWebhookLogsFromWebhookConfigurationResponseSchema = (0, import_sdk_js_global_types7.createPaginatedSchema)(webhookLogListItemSchema);
|
|
11496
11496
|
var GetWebhookLogsFromWebhookConfiguration = class extends import_sdk_js_core9.AbstractApiRequest {
|
|
11497
11497
|
constructor(webhookConfigurationId, options) {
|
|
11498
11498
|
super(void 0, options);
|
package/dist/index.d.cts
CHANGED
|
@@ -436,7 +436,7 @@ declare const getWebhookConfigurationsQuerySchema: z.ZodObject<{
|
|
|
436
436
|
type GetWebhookConfigurationsQueryParams = z.infer<typeof getWebhookConfigurationsQuerySchema>;
|
|
437
437
|
declare const getWebhookConfigurationsInputSchema: z.ZodUndefined;
|
|
438
438
|
type GetWebhookConfigurationsInput = z.infer<typeof getWebhookConfigurationsInputSchema>;
|
|
439
|
-
declare const getWebhookConfigurationsResponseSchema: z.
|
|
439
|
+
declare const getWebhookConfigurationsResponseSchema: z.ZodObject<{
|
|
440
440
|
data: z.ZodArray<z.ZodObject<{
|
|
441
441
|
entityClass: z.ZodEnum<{
|
|
442
442
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -470,38 +470,14 @@ declare const getWebhookConfigurationsResponseSchema: z.ZodUnion<readonly [z.Zod
|
|
|
470
470
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
471
471
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
472
472
|
}, z.core.$strip>;
|
|
473
|
-
}, z.core.$strip
|
|
474
|
-
entityClass: z.ZodEnum<{
|
|
475
|
-
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
476
|
-
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
477
|
-
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
478
|
-
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
479
|
-
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
480
|
-
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
481
|
-
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
482
|
-
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
483
|
-
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
484
|
-
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
485
|
-
}>;
|
|
486
|
-
createdAt: z.ZodString;
|
|
487
|
-
updatedAt: z.ZodString;
|
|
488
|
-
id: z.ZodString;
|
|
489
|
-
events: z.ZodArray<z.ZodEnum<{
|
|
490
|
-
create: "create";
|
|
491
|
-
update: "update";
|
|
492
|
-
delete: "delete";
|
|
493
|
-
}>>;
|
|
494
|
-
callbackUrl: z.ZodURL;
|
|
495
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
496
|
-
description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
497
|
-
}, z.core.$strip>>]>;
|
|
473
|
+
}, z.core.$strip>;
|
|
498
474
|
type GetWebhookConfigurationsResponse = z.infer<typeof getWebhookConfigurationsResponseSchema>;
|
|
499
475
|
declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebhookConfigurationsInputSchema, typeof getWebhookConfigurationsResponseSchema, GetWebhookConfigurationsQueryParams> {
|
|
500
476
|
readonly method: "GET";
|
|
501
477
|
readonly contentType: "application/json";
|
|
502
478
|
readonly accept: "application/json";
|
|
503
479
|
readonly inputSchema: z.ZodUndefined;
|
|
504
|
-
readonly outputSchema: z.
|
|
480
|
+
readonly outputSchema: z.ZodObject<{
|
|
505
481
|
data: z.ZodArray<z.ZodObject<{
|
|
506
482
|
entityClass: z.ZodEnum<{
|
|
507
483
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -535,31 +511,7 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
|
|
|
535
511
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
536
512
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
537
513
|
}, z.core.$strip>;
|
|
538
|
-
}, z.core.$strip
|
|
539
|
-
entityClass: z.ZodEnum<{
|
|
540
|
-
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
541
|
-
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
542
|
-
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
543
|
-
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
544
|
-
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
545
|
-
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
546
|
-
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
547
|
-
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
548
|
-
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
549
|
-
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
550
|
-
}>;
|
|
551
|
-
createdAt: z.ZodString;
|
|
552
|
-
updatedAt: z.ZodString;
|
|
553
|
-
id: z.ZodString;
|
|
554
|
-
events: z.ZodArray<z.ZodEnum<{
|
|
555
|
-
create: "create";
|
|
556
|
-
update: "update";
|
|
557
|
-
delete: "delete";
|
|
558
|
-
}>>;
|
|
559
|
-
callbackUrl: z.ZodURL;
|
|
560
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
561
|
-
description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
562
|
-
}, z.core.$strip>>]>;
|
|
514
|
+
}, z.core.$strip>;
|
|
563
515
|
readonly querySchema: z.ZodObject<{
|
|
564
516
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
565
517
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -1020,7 +972,7 @@ declare const getWebhookLogsQuerySchema: z.ZodObject<{
|
|
|
1020
972
|
type GetWebhookLogsQueryParams = z.infer<typeof getWebhookLogsQuerySchema>;
|
|
1021
973
|
declare const getWebhookLogsInputSchema: z.ZodUndefined;
|
|
1022
974
|
type GetWebhookLogsInput = z.infer<typeof getWebhookLogsInputSchema>;
|
|
1023
|
-
declare const getWebhookLogsResponseSchema: z.
|
|
975
|
+
declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
1024
976
|
data: z.ZodArray<z.ZodObject<{
|
|
1025
977
|
entityClass: z.ZodEnum<{
|
|
1026
978
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1065,49 +1017,14 @@ declare const getWebhookLogsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1065
1017
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1066
1018
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1067
1019
|
}, z.core.$strip>;
|
|
1068
|
-
}, z.core.$strip
|
|
1069
|
-
entityClass: z.ZodEnum<{
|
|
1070
|
-
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1071
|
-
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1072
|
-
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1073
|
-
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1074
|
-
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1075
|
-
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1076
|
-
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1077
|
-
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1078
|
-
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1079
|
-
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1080
|
-
}>;
|
|
1081
|
-
createdAt: z.ZodString;
|
|
1082
|
-
id: z.ZodString;
|
|
1083
|
-
event: z.ZodEnum<{
|
|
1084
|
-
create: "create";
|
|
1085
|
-
update: "update";
|
|
1086
|
-
delete: "delete";
|
|
1087
|
-
}>;
|
|
1088
|
-
status: z.ZodEnum<{
|
|
1089
|
-
pending: "pending";
|
|
1090
|
-
failed: "failed";
|
|
1091
|
-
success: "success";
|
|
1092
|
-
timeout: "timeout";
|
|
1093
|
-
}>;
|
|
1094
|
-
externalEntityId: z.ZodUUID;
|
|
1095
|
-
requestS3Key: z.ZodNullable<z.ZodString>;
|
|
1096
|
-
responseS3Key: z.ZodNullable<z.ZodString>;
|
|
1097
|
-
httpStatusCode: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1098
|
-
errorMessage: z.ZodNullable<z.ZodString>;
|
|
1099
|
-
responseTimeMs: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1100
|
-
requestFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1101
|
-
responseFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1102
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
1103
|
-
}, z.core.$strip>>]>;
|
|
1020
|
+
}, z.core.$strip>;
|
|
1104
1021
|
type GetWebhookLogsResponse = z.infer<typeof getWebhookLogsResponseSchema>;
|
|
1105
1022
|
declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInputSchema, typeof getWebhookLogsResponseSchema, GetWebhookLogsQueryParams> {
|
|
1106
1023
|
readonly method: "GET";
|
|
1107
1024
|
readonly contentType: "application/json";
|
|
1108
1025
|
readonly accept: "application/json";
|
|
1109
1026
|
readonly inputSchema: z.ZodUndefined;
|
|
1110
|
-
readonly outputSchema: z.
|
|
1027
|
+
readonly outputSchema: z.ZodObject<{
|
|
1111
1028
|
data: z.ZodArray<z.ZodObject<{
|
|
1112
1029
|
entityClass: z.ZodEnum<{
|
|
1113
1030
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1152,42 +1069,7 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
1152
1069
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1153
1070
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1154
1071
|
}, z.core.$strip>;
|
|
1155
|
-
}, z.core.$strip
|
|
1156
|
-
entityClass: z.ZodEnum<{
|
|
1157
|
-
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1158
|
-
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1159
|
-
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1160
|
-
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1161
|
-
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1162
|
-
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1163
|
-
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1164
|
-
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1165
|
-
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1166
|
-
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1167
|
-
}>;
|
|
1168
|
-
createdAt: z.ZodString;
|
|
1169
|
-
id: z.ZodString;
|
|
1170
|
-
event: z.ZodEnum<{
|
|
1171
|
-
create: "create";
|
|
1172
|
-
update: "update";
|
|
1173
|
-
delete: "delete";
|
|
1174
|
-
}>;
|
|
1175
|
-
status: z.ZodEnum<{
|
|
1176
|
-
pending: "pending";
|
|
1177
|
-
failed: "failed";
|
|
1178
|
-
success: "success";
|
|
1179
|
-
timeout: "timeout";
|
|
1180
|
-
}>;
|
|
1181
|
-
externalEntityId: z.ZodUUID;
|
|
1182
|
-
requestS3Key: z.ZodNullable<z.ZodString>;
|
|
1183
|
-
responseS3Key: z.ZodNullable<z.ZodString>;
|
|
1184
|
-
httpStatusCode: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1185
|
-
errorMessage: z.ZodNullable<z.ZodString>;
|
|
1186
|
-
responseTimeMs: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1187
|
-
requestFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1188
|
-
responseFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1189
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
1190
|
-
}, z.core.$strip>>]>;
|
|
1072
|
+
}, z.core.$strip>;
|
|
1191
1073
|
readonly querySchema: z.ZodObject<{
|
|
1192
1074
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1193
1075
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
@@ -1319,7 +1201,7 @@ declare const getWebhookLogsFromWebhookConfigurationQuerySchema: z.ZodObject<{
|
|
|
1319
1201
|
type GetWebhookLogsFromWebhookConfigurationQueryParams = z.infer<typeof getWebhookLogsFromWebhookConfigurationQuerySchema>;
|
|
1320
1202
|
declare const getWebhookLogsFromWebhookConfigurationInputSchema: z.ZodUndefined;
|
|
1321
1203
|
type GetWebhookLogsFromWebhookConfigurationInput = z.input<typeof getWebhookLogsFromWebhookConfigurationInputSchema>;
|
|
1322
|
-
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.
|
|
1204
|
+
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<{
|
|
1323
1205
|
data: z.ZodArray<z.ZodObject<{
|
|
1324
1206
|
entityClass: z.ZodEnum<{
|
|
1325
1207
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1364,49 +1246,14 @@ declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodUnion<r
|
|
|
1364
1246
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1365
1247
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1366
1248
|
}, z.core.$strip>;
|
|
1367
|
-
}, z.core.$strip
|
|
1368
|
-
entityClass: z.ZodEnum<{
|
|
1369
|
-
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1370
|
-
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1371
|
-
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1372
|
-
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1373
|
-
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1374
|
-
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1375
|
-
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1376
|
-
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1377
|
-
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1378
|
-
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1379
|
-
}>;
|
|
1380
|
-
createdAt: z.ZodString;
|
|
1381
|
-
id: z.ZodString;
|
|
1382
|
-
event: z.ZodEnum<{
|
|
1383
|
-
create: "create";
|
|
1384
|
-
update: "update";
|
|
1385
|
-
delete: "delete";
|
|
1386
|
-
}>;
|
|
1387
|
-
status: z.ZodEnum<{
|
|
1388
|
-
pending: "pending";
|
|
1389
|
-
failed: "failed";
|
|
1390
|
-
success: "success";
|
|
1391
|
-
timeout: "timeout";
|
|
1392
|
-
}>;
|
|
1393
|
-
externalEntityId: z.ZodUUID;
|
|
1394
|
-
requestS3Key: z.ZodNullable<z.ZodString>;
|
|
1395
|
-
responseS3Key: z.ZodNullable<z.ZodString>;
|
|
1396
|
-
httpStatusCode: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1397
|
-
errorMessage: z.ZodNullable<z.ZodString>;
|
|
1398
|
-
responseTimeMs: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1399
|
-
requestFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1400
|
-
responseFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1401
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
1402
|
-
}, z.core.$strip>>]>;
|
|
1249
|
+
}, z.core.$strip>;
|
|
1403
1250
|
type GetWebhookLogsFromWebhookConfigurationResponse = z.infer<typeof getWebhookLogsFromWebhookConfigurationResponseSchema>;
|
|
1404
1251
|
declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<typeof getWebhookLogsFromWebhookConfigurationInputSchema, typeof getWebhookLogsFromWebhookConfigurationResponseSchema, GetWebhookLogsFromWebhookConfigurationQueryParams> {
|
|
1405
1252
|
readonly method: "GET";
|
|
1406
1253
|
readonly contentType: "application/json";
|
|
1407
1254
|
readonly accept: "application/json";
|
|
1408
1255
|
readonly inputSchema: z.ZodUndefined;
|
|
1409
|
-
readonly outputSchema: z.
|
|
1256
|
+
readonly outputSchema: z.ZodObject<{
|
|
1410
1257
|
data: z.ZodArray<z.ZodObject<{
|
|
1411
1258
|
entityClass: z.ZodEnum<{
|
|
1412
1259
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1451,42 +1298,7 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
1451
1298
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1452
1299
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1453
1300
|
}, z.core.$strip>;
|
|
1454
|
-
}, z.core.$strip
|
|
1455
|
-
entityClass: z.ZodEnum<{
|
|
1456
|
-
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1457
|
-
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1458
|
-
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1459
|
-
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1460
|
-
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1461
|
-
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1462
|
-
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1463
|
-
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1464
|
-
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1465
|
-
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1466
|
-
}>;
|
|
1467
|
-
createdAt: z.ZodString;
|
|
1468
|
-
id: z.ZodString;
|
|
1469
|
-
event: z.ZodEnum<{
|
|
1470
|
-
create: "create";
|
|
1471
|
-
update: "update";
|
|
1472
|
-
delete: "delete";
|
|
1473
|
-
}>;
|
|
1474
|
-
status: z.ZodEnum<{
|
|
1475
|
-
pending: "pending";
|
|
1476
|
-
failed: "failed";
|
|
1477
|
-
success: "success";
|
|
1478
|
-
timeout: "timeout";
|
|
1479
|
-
}>;
|
|
1480
|
-
externalEntityId: z.ZodUUID;
|
|
1481
|
-
requestS3Key: z.ZodNullable<z.ZodString>;
|
|
1482
|
-
responseS3Key: z.ZodNullable<z.ZodString>;
|
|
1483
|
-
httpStatusCode: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1484
|
-
errorMessage: z.ZodNullable<z.ZodString>;
|
|
1485
|
-
responseTimeMs: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1486
|
-
requestFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1487
|
-
responseFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1488
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
1489
|
-
}, z.core.$strip>>]>;
|
|
1301
|
+
}, z.core.$strip>;
|
|
1490
1302
|
readonly querySchema: z.ZodObject<{
|
|
1491
1303
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1492
1304
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
package/dist/index.d.ts
CHANGED
|
@@ -436,7 +436,7 @@ declare const getWebhookConfigurationsQuerySchema: z.ZodObject<{
|
|
|
436
436
|
type GetWebhookConfigurationsQueryParams = z.infer<typeof getWebhookConfigurationsQuerySchema>;
|
|
437
437
|
declare const getWebhookConfigurationsInputSchema: z.ZodUndefined;
|
|
438
438
|
type GetWebhookConfigurationsInput = z.infer<typeof getWebhookConfigurationsInputSchema>;
|
|
439
|
-
declare const getWebhookConfigurationsResponseSchema: z.
|
|
439
|
+
declare const getWebhookConfigurationsResponseSchema: z.ZodObject<{
|
|
440
440
|
data: z.ZodArray<z.ZodObject<{
|
|
441
441
|
entityClass: z.ZodEnum<{
|
|
442
442
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -470,38 +470,14 @@ declare const getWebhookConfigurationsResponseSchema: z.ZodUnion<readonly [z.Zod
|
|
|
470
470
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
471
471
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
472
472
|
}, z.core.$strip>;
|
|
473
|
-
}, z.core.$strip
|
|
474
|
-
entityClass: z.ZodEnum<{
|
|
475
|
-
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
476
|
-
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
477
|
-
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
478
|
-
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
479
|
-
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
480
|
-
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
481
|
-
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
482
|
-
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
483
|
-
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
484
|
-
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
485
|
-
}>;
|
|
486
|
-
createdAt: z.ZodString;
|
|
487
|
-
updatedAt: z.ZodString;
|
|
488
|
-
id: z.ZodString;
|
|
489
|
-
events: z.ZodArray<z.ZodEnum<{
|
|
490
|
-
create: "create";
|
|
491
|
-
update: "update";
|
|
492
|
-
delete: "delete";
|
|
493
|
-
}>>;
|
|
494
|
-
callbackUrl: z.ZodURL;
|
|
495
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
496
|
-
description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
497
|
-
}, z.core.$strip>>]>;
|
|
473
|
+
}, z.core.$strip>;
|
|
498
474
|
type GetWebhookConfigurationsResponse = z.infer<typeof getWebhookConfigurationsResponseSchema>;
|
|
499
475
|
declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebhookConfigurationsInputSchema, typeof getWebhookConfigurationsResponseSchema, GetWebhookConfigurationsQueryParams> {
|
|
500
476
|
readonly method: "GET";
|
|
501
477
|
readonly contentType: "application/json";
|
|
502
478
|
readonly accept: "application/json";
|
|
503
479
|
readonly inputSchema: z.ZodUndefined;
|
|
504
|
-
readonly outputSchema: z.
|
|
480
|
+
readonly outputSchema: z.ZodObject<{
|
|
505
481
|
data: z.ZodArray<z.ZodObject<{
|
|
506
482
|
entityClass: z.ZodEnum<{
|
|
507
483
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -535,31 +511,7 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
|
|
|
535
511
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
536
512
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
537
513
|
}, z.core.$strip>;
|
|
538
|
-
}, z.core.$strip
|
|
539
|
-
entityClass: z.ZodEnum<{
|
|
540
|
-
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
541
|
-
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
542
|
-
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
543
|
-
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
544
|
-
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
545
|
-
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
546
|
-
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
547
|
-
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
548
|
-
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
549
|
-
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
550
|
-
}>;
|
|
551
|
-
createdAt: z.ZodString;
|
|
552
|
-
updatedAt: z.ZodString;
|
|
553
|
-
id: z.ZodString;
|
|
554
|
-
events: z.ZodArray<z.ZodEnum<{
|
|
555
|
-
create: "create";
|
|
556
|
-
update: "update";
|
|
557
|
-
delete: "delete";
|
|
558
|
-
}>>;
|
|
559
|
-
callbackUrl: z.ZodURL;
|
|
560
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
561
|
-
description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
562
|
-
}, z.core.$strip>>]>;
|
|
514
|
+
}, z.core.$strip>;
|
|
563
515
|
readonly querySchema: z.ZodObject<{
|
|
564
516
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
565
517
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -1020,7 +972,7 @@ declare const getWebhookLogsQuerySchema: z.ZodObject<{
|
|
|
1020
972
|
type GetWebhookLogsQueryParams = z.infer<typeof getWebhookLogsQuerySchema>;
|
|
1021
973
|
declare const getWebhookLogsInputSchema: z.ZodUndefined;
|
|
1022
974
|
type GetWebhookLogsInput = z.infer<typeof getWebhookLogsInputSchema>;
|
|
1023
|
-
declare const getWebhookLogsResponseSchema: z.
|
|
975
|
+
declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
1024
976
|
data: z.ZodArray<z.ZodObject<{
|
|
1025
977
|
entityClass: z.ZodEnum<{
|
|
1026
978
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1065,49 +1017,14 @@ declare const getWebhookLogsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1065
1017
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1066
1018
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1067
1019
|
}, z.core.$strip>;
|
|
1068
|
-
}, z.core.$strip
|
|
1069
|
-
entityClass: z.ZodEnum<{
|
|
1070
|
-
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1071
|
-
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1072
|
-
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1073
|
-
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1074
|
-
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1075
|
-
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1076
|
-
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1077
|
-
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1078
|
-
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1079
|
-
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1080
|
-
}>;
|
|
1081
|
-
createdAt: z.ZodString;
|
|
1082
|
-
id: z.ZodString;
|
|
1083
|
-
event: z.ZodEnum<{
|
|
1084
|
-
create: "create";
|
|
1085
|
-
update: "update";
|
|
1086
|
-
delete: "delete";
|
|
1087
|
-
}>;
|
|
1088
|
-
status: z.ZodEnum<{
|
|
1089
|
-
pending: "pending";
|
|
1090
|
-
failed: "failed";
|
|
1091
|
-
success: "success";
|
|
1092
|
-
timeout: "timeout";
|
|
1093
|
-
}>;
|
|
1094
|
-
externalEntityId: z.ZodUUID;
|
|
1095
|
-
requestS3Key: z.ZodNullable<z.ZodString>;
|
|
1096
|
-
responseS3Key: z.ZodNullable<z.ZodString>;
|
|
1097
|
-
httpStatusCode: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1098
|
-
errorMessage: z.ZodNullable<z.ZodString>;
|
|
1099
|
-
responseTimeMs: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1100
|
-
requestFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1101
|
-
responseFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1102
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
1103
|
-
}, z.core.$strip>>]>;
|
|
1020
|
+
}, z.core.$strip>;
|
|
1104
1021
|
type GetWebhookLogsResponse = z.infer<typeof getWebhookLogsResponseSchema>;
|
|
1105
1022
|
declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInputSchema, typeof getWebhookLogsResponseSchema, GetWebhookLogsQueryParams> {
|
|
1106
1023
|
readonly method: "GET";
|
|
1107
1024
|
readonly contentType: "application/json";
|
|
1108
1025
|
readonly accept: "application/json";
|
|
1109
1026
|
readonly inputSchema: z.ZodUndefined;
|
|
1110
|
-
readonly outputSchema: z.
|
|
1027
|
+
readonly outputSchema: z.ZodObject<{
|
|
1111
1028
|
data: z.ZodArray<z.ZodObject<{
|
|
1112
1029
|
entityClass: z.ZodEnum<{
|
|
1113
1030
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1152,42 +1069,7 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
1152
1069
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1153
1070
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1154
1071
|
}, z.core.$strip>;
|
|
1155
|
-
}, z.core.$strip
|
|
1156
|
-
entityClass: z.ZodEnum<{
|
|
1157
|
-
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1158
|
-
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1159
|
-
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1160
|
-
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1161
|
-
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1162
|
-
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1163
|
-
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1164
|
-
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1165
|
-
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1166
|
-
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1167
|
-
}>;
|
|
1168
|
-
createdAt: z.ZodString;
|
|
1169
|
-
id: z.ZodString;
|
|
1170
|
-
event: z.ZodEnum<{
|
|
1171
|
-
create: "create";
|
|
1172
|
-
update: "update";
|
|
1173
|
-
delete: "delete";
|
|
1174
|
-
}>;
|
|
1175
|
-
status: z.ZodEnum<{
|
|
1176
|
-
pending: "pending";
|
|
1177
|
-
failed: "failed";
|
|
1178
|
-
success: "success";
|
|
1179
|
-
timeout: "timeout";
|
|
1180
|
-
}>;
|
|
1181
|
-
externalEntityId: z.ZodUUID;
|
|
1182
|
-
requestS3Key: z.ZodNullable<z.ZodString>;
|
|
1183
|
-
responseS3Key: z.ZodNullable<z.ZodString>;
|
|
1184
|
-
httpStatusCode: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1185
|
-
errorMessage: z.ZodNullable<z.ZodString>;
|
|
1186
|
-
responseTimeMs: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1187
|
-
requestFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1188
|
-
responseFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1189
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
1190
|
-
}, z.core.$strip>>]>;
|
|
1072
|
+
}, z.core.$strip>;
|
|
1191
1073
|
readonly querySchema: z.ZodObject<{
|
|
1192
1074
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1193
1075
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
@@ -1319,7 +1201,7 @@ declare const getWebhookLogsFromWebhookConfigurationQuerySchema: z.ZodObject<{
|
|
|
1319
1201
|
type GetWebhookLogsFromWebhookConfigurationQueryParams = z.infer<typeof getWebhookLogsFromWebhookConfigurationQuerySchema>;
|
|
1320
1202
|
declare const getWebhookLogsFromWebhookConfigurationInputSchema: z.ZodUndefined;
|
|
1321
1203
|
type GetWebhookLogsFromWebhookConfigurationInput = z.input<typeof getWebhookLogsFromWebhookConfigurationInputSchema>;
|
|
1322
|
-
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.
|
|
1204
|
+
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<{
|
|
1323
1205
|
data: z.ZodArray<z.ZodObject<{
|
|
1324
1206
|
entityClass: z.ZodEnum<{
|
|
1325
1207
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1364,49 +1246,14 @@ declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodUnion<r
|
|
|
1364
1246
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1365
1247
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1366
1248
|
}, z.core.$strip>;
|
|
1367
|
-
}, z.core.$strip
|
|
1368
|
-
entityClass: z.ZodEnum<{
|
|
1369
|
-
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1370
|
-
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1371
|
-
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1372
|
-
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1373
|
-
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1374
|
-
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1375
|
-
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1376
|
-
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1377
|
-
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1378
|
-
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1379
|
-
}>;
|
|
1380
|
-
createdAt: z.ZodString;
|
|
1381
|
-
id: z.ZodString;
|
|
1382
|
-
event: z.ZodEnum<{
|
|
1383
|
-
create: "create";
|
|
1384
|
-
update: "update";
|
|
1385
|
-
delete: "delete";
|
|
1386
|
-
}>;
|
|
1387
|
-
status: z.ZodEnum<{
|
|
1388
|
-
pending: "pending";
|
|
1389
|
-
failed: "failed";
|
|
1390
|
-
success: "success";
|
|
1391
|
-
timeout: "timeout";
|
|
1392
|
-
}>;
|
|
1393
|
-
externalEntityId: z.ZodUUID;
|
|
1394
|
-
requestS3Key: z.ZodNullable<z.ZodString>;
|
|
1395
|
-
responseS3Key: z.ZodNullable<z.ZodString>;
|
|
1396
|
-
httpStatusCode: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1397
|
-
errorMessage: z.ZodNullable<z.ZodString>;
|
|
1398
|
-
responseTimeMs: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1399
|
-
requestFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1400
|
-
responseFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1401
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
1402
|
-
}, z.core.$strip>>]>;
|
|
1249
|
+
}, z.core.$strip>;
|
|
1403
1250
|
type GetWebhookLogsFromWebhookConfigurationResponse = z.infer<typeof getWebhookLogsFromWebhookConfigurationResponseSchema>;
|
|
1404
1251
|
declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<typeof getWebhookLogsFromWebhookConfigurationInputSchema, typeof getWebhookLogsFromWebhookConfigurationResponseSchema, GetWebhookLogsFromWebhookConfigurationQueryParams> {
|
|
1405
1252
|
readonly method: "GET";
|
|
1406
1253
|
readonly contentType: "application/json";
|
|
1407
1254
|
readonly accept: "application/json";
|
|
1408
1255
|
readonly inputSchema: z.ZodUndefined;
|
|
1409
|
-
readonly outputSchema: z.
|
|
1256
|
+
readonly outputSchema: z.ZodObject<{
|
|
1410
1257
|
data: z.ZodArray<z.ZodObject<{
|
|
1411
1258
|
entityClass: z.ZodEnum<{
|
|
1412
1259
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1451,42 +1298,7 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
1451
1298
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1452
1299
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1453
1300
|
}, z.core.$strip>;
|
|
1454
|
-
}, z.core.$strip
|
|
1455
|
-
entityClass: z.ZodEnum<{
|
|
1456
|
-
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1457
|
-
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1458
|
-
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1459
|
-
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1460
|
-
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1461
|
-
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1462
|
-
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1463
|
-
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1464
|
-
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1465
|
-
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1466
|
-
}>;
|
|
1467
|
-
createdAt: z.ZodString;
|
|
1468
|
-
id: z.ZodString;
|
|
1469
|
-
event: z.ZodEnum<{
|
|
1470
|
-
create: "create";
|
|
1471
|
-
update: "update";
|
|
1472
|
-
delete: "delete";
|
|
1473
|
-
}>;
|
|
1474
|
-
status: z.ZodEnum<{
|
|
1475
|
-
pending: "pending";
|
|
1476
|
-
failed: "failed";
|
|
1477
|
-
success: "success";
|
|
1478
|
-
timeout: "timeout";
|
|
1479
|
-
}>;
|
|
1480
|
-
externalEntityId: z.ZodUUID;
|
|
1481
|
-
requestS3Key: z.ZodNullable<z.ZodString>;
|
|
1482
|
-
responseS3Key: z.ZodNullable<z.ZodString>;
|
|
1483
|
-
httpStatusCode: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1484
|
-
errorMessage: z.ZodNullable<z.ZodString>;
|
|
1485
|
-
responseTimeMs: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1486
|
-
requestFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1487
|
-
responseFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1488
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
1489
|
-
}, z.core.$strip>>]>;
|
|
1301
|
+
}, z.core.$strip>;
|
|
1490
1302
|
readonly querySchema: z.ZodObject<{
|
|
1491
1303
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1492
1304
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
package/dist/index.js
CHANGED
|
@@ -11310,10 +11310,10 @@ var GetWebhookConfigurationDetails = class extends AbstractApiRequest3 {
|
|
|
11310
11310
|
|
|
11311
11311
|
// src/requests/webhook-configurations/GetWebhookConfigurations.ts
|
|
11312
11312
|
import { AbstractApiRequest as AbstractApiRequest4 } from "@deliverart/sdk-js-core";
|
|
11313
|
-
import {
|
|
11313
|
+
import { createPaginatedSchema } from "@deliverart/sdk-js-global-types";
|
|
11314
11314
|
var getWebhookConfigurationsQuerySchema = webhookConfigurationsQuerySchema;
|
|
11315
11315
|
var getWebhookConfigurationsInputSchema = external_exports.undefined();
|
|
11316
|
-
var getWebhookConfigurationsResponseSchema =
|
|
11316
|
+
var getWebhookConfigurationsResponseSchema = createPaginatedSchema(
|
|
11317
11317
|
webhookConfigurationListItemSchema
|
|
11318
11318
|
);
|
|
11319
11319
|
var GetWebhookConfigurations = class extends AbstractApiRequest4 {
|
|
@@ -11411,10 +11411,10 @@ var GetWebhookLogDetails = class extends AbstractApiRequest7 {
|
|
|
11411
11411
|
|
|
11412
11412
|
// src/requests/webhook-logs/GetWebhookLogs.ts
|
|
11413
11413
|
import { AbstractApiRequest as AbstractApiRequest8 } from "@deliverart/sdk-js-core";
|
|
11414
|
-
import {
|
|
11414
|
+
import { createPaginatedSchema as createPaginatedSchema2 } from "@deliverart/sdk-js-global-types";
|
|
11415
11415
|
var getWebhookLogsQuerySchema = webhookLogsQuerySchema;
|
|
11416
11416
|
var getWebhookLogsInputSchema = external_exports.undefined();
|
|
11417
|
-
var getWebhookLogsResponseSchema =
|
|
11417
|
+
var getWebhookLogsResponseSchema = createPaginatedSchema2(webhookLogListItemSchema);
|
|
11418
11418
|
var GetWebhookLogs = class extends AbstractApiRequest8 {
|
|
11419
11419
|
constructor(options) {
|
|
11420
11420
|
super(void 0, options);
|
|
@@ -11435,10 +11435,10 @@ var GetWebhookLogs = class extends AbstractApiRequest8 {
|
|
|
11435
11435
|
|
|
11436
11436
|
// src/requests/webhook-logs/GetWebhookLogsFromWebhookConfiguration.ts
|
|
11437
11437
|
import { AbstractApiRequest as AbstractApiRequest9 } from "@deliverart/sdk-js-core";
|
|
11438
|
-
import {
|
|
11438
|
+
import { createPaginatedSchema as createPaginatedSchema3 } from "@deliverart/sdk-js-global-types";
|
|
11439
11439
|
var getWebhookLogsFromWebhookConfigurationQuerySchema = webhookLogsQuerySchema;
|
|
11440
11440
|
var getWebhookLogsFromWebhookConfigurationInputSchema = external_exports.undefined();
|
|
11441
|
-
var getWebhookLogsFromWebhookConfigurationResponseSchema =
|
|
11441
|
+
var getWebhookLogsFromWebhookConfigurationResponseSchema = createPaginatedSchema3(webhookLogListItemSchema);
|
|
11442
11442
|
var GetWebhookLogsFromWebhookConfiguration = class extends AbstractApiRequest9 {
|
|
11443
11443
|
constructor(webhookConfigurationId, options) {
|
|
11444
11444
|
super(void 0, options);
|
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.6.
|
|
4
|
+
"version": "2.6.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-core": "2.6.
|
|
22
|
-
"@deliverart/sdk-js-global-types": "2.6.
|
|
23
|
-
"@deliverart/sdk-js-point-of-sale": "2.6.
|
|
21
|
+
"@deliverart/sdk-js-core": "2.6.2",
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.6.2",
|
|
23
|
+
"@deliverart/sdk-js-point-of-sale": "2.6.2"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|