@deliverart/sdk-js-webhook 2.6.0 → 2.6.1
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 +200 -12
- package/dist/index.d.ts +200 -12
- 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.mixedPaginationSchema)(
|
|
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.mixedPaginationSchema)(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.mixedPaginationSchema)(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.ZodObject<{
|
|
439
|
+
declare const getWebhookConfigurationsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
440
440
|
data: z.ZodArray<z.ZodObject<{
|
|
441
441
|
entityClass: z.ZodEnum<{
|
|
442
442
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -470,14 +470,38 @@ declare const getWebhookConfigurationsResponseSchema: z.ZodObject<{
|
|
|
470
470
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
471
471
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
472
472
|
}, z.core.$strip>;
|
|
473
|
-
}, z.core.$strip
|
|
473
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
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>>]>;
|
|
474
498
|
type GetWebhookConfigurationsResponse = z.infer<typeof getWebhookConfigurationsResponseSchema>;
|
|
475
499
|
declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebhookConfigurationsInputSchema, typeof getWebhookConfigurationsResponseSchema, GetWebhookConfigurationsQueryParams> {
|
|
476
500
|
readonly method: "GET";
|
|
477
501
|
readonly contentType: "application/json";
|
|
478
502
|
readonly accept: "application/json";
|
|
479
503
|
readonly inputSchema: z.ZodUndefined;
|
|
480
|
-
readonly outputSchema: z.ZodObject<{
|
|
504
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
481
505
|
data: z.ZodArray<z.ZodObject<{
|
|
482
506
|
entityClass: z.ZodEnum<{
|
|
483
507
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -511,7 +535,31 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
|
|
|
511
535
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
512
536
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
513
537
|
}, z.core.$strip>;
|
|
514
|
-
}, z.core.$strip
|
|
538
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
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>>]>;
|
|
515
563
|
readonly querySchema: z.ZodObject<{
|
|
516
564
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
517
565
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -972,7 +1020,7 @@ declare const getWebhookLogsQuerySchema: z.ZodObject<{
|
|
|
972
1020
|
type GetWebhookLogsQueryParams = z.infer<typeof getWebhookLogsQuerySchema>;
|
|
973
1021
|
declare const getWebhookLogsInputSchema: z.ZodUndefined;
|
|
974
1022
|
type GetWebhookLogsInput = z.infer<typeof getWebhookLogsInputSchema>;
|
|
975
|
-
declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
1023
|
+
declare const getWebhookLogsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
976
1024
|
data: z.ZodArray<z.ZodObject<{
|
|
977
1025
|
entityClass: z.ZodEnum<{
|
|
978
1026
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1017,14 +1065,49 @@ declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
|
1017
1065
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1018
1066
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1019
1067
|
}, z.core.$strip>;
|
|
1020
|
-
}, z.core.$strip
|
|
1068
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
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>>]>;
|
|
1021
1104
|
type GetWebhookLogsResponse = z.infer<typeof getWebhookLogsResponseSchema>;
|
|
1022
1105
|
declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInputSchema, typeof getWebhookLogsResponseSchema, GetWebhookLogsQueryParams> {
|
|
1023
1106
|
readonly method: "GET";
|
|
1024
1107
|
readonly contentType: "application/json";
|
|
1025
1108
|
readonly accept: "application/json";
|
|
1026
1109
|
readonly inputSchema: z.ZodUndefined;
|
|
1027
|
-
readonly outputSchema: z.ZodObject<{
|
|
1110
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1028
1111
|
data: z.ZodArray<z.ZodObject<{
|
|
1029
1112
|
entityClass: z.ZodEnum<{
|
|
1030
1113
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1069,7 +1152,42 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
1069
1152
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1070
1153
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1071
1154
|
}, z.core.$strip>;
|
|
1072
|
-
}, z.core.$strip
|
|
1155
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
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>>]>;
|
|
1073
1191
|
readonly querySchema: z.ZodObject<{
|
|
1074
1192
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1075
1193
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
@@ -1201,7 +1319,7 @@ declare const getWebhookLogsFromWebhookConfigurationQuerySchema: z.ZodObject<{
|
|
|
1201
1319
|
type GetWebhookLogsFromWebhookConfigurationQueryParams = z.infer<typeof getWebhookLogsFromWebhookConfigurationQuerySchema>;
|
|
1202
1320
|
declare const getWebhookLogsFromWebhookConfigurationInputSchema: z.ZodUndefined;
|
|
1203
1321
|
type GetWebhookLogsFromWebhookConfigurationInput = z.input<typeof getWebhookLogsFromWebhookConfigurationInputSchema>;
|
|
1204
|
-
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<{
|
|
1322
|
+
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1205
1323
|
data: z.ZodArray<z.ZodObject<{
|
|
1206
1324
|
entityClass: z.ZodEnum<{
|
|
1207
1325
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1246,14 +1364,49 @@ declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<
|
|
|
1246
1364
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1247
1365
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1248
1366
|
}, z.core.$strip>;
|
|
1249
|
-
}, z.core.$strip
|
|
1367
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
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>>]>;
|
|
1250
1403
|
type GetWebhookLogsFromWebhookConfigurationResponse = z.infer<typeof getWebhookLogsFromWebhookConfigurationResponseSchema>;
|
|
1251
1404
|
declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<typeof getWebhookLogsFromWebhookConfigurationInputSchema, typeof getWebhookLogsFromWebhookConfigurationResponseSchema, GetWebhookLogsFromWebhookConfigurationQueryParams> {
|
|
1252
1405
|
readonly method: "GET";
|
|
1253
1406
|
readonly contentType: "application/json";
|
|
1254
1407
|
readonly accept: "application/json";
|
|
1255
1408
|
readonly inputSchema: z.ZodUndefined;
|
|
1256
|
-
readonly outputSchema: z.ZodObject<{
|
|
1409
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1257
1410
|
data: z.ZodArray<z.ZodObject<{
|
|
1258
1411
|
entityClass: z.ZodEnum<{
|
|
1259
1412
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1298,7 +1451,42 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
1298
1451
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1299
1452
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1300
1453
|
}, z.core.$strip>;
|
|
1301
|
-
}, z.core.$strip
|
|
1454
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
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>>]>;
|
|
1302
1490
|
readonly querySchema: z.ZodObject<{
|
|
1303
1491
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1304
1492
|
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.ZodObject<{
|
|
439
|
+
declare const getWebhookConfigurationsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
440
440
|
data: z.ZodArray<z.ZodObject<{
|
|
441
441
|
entityClass: z.ZodEnum<{
|
|
442
442
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -470,14 +470,38 @@ declare const getWebhookConfigurationsResponseSchema: z.ZodObject<{
|
|
|
470
470
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
471
471
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
472
472
|
}, z.core.$strip>;
|
|
473
|
-
}, z.core.$strip
|
|
473
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
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>>]>;
|
|
474
498
|
type GetWebhookConfigurationsResponse = z.infer<typeof getWebhookConfigurationsResponseSchema>;
|
|
475
499
|
declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebhookConfigurationsInputSchema, typeof getWebhookConfigurationsResponseSchema, GetWebhookConfigurationsQueryParams> {
|
|
476
500
|
readonly method: "GET";
|
|
477
501
|
readonly contentType: "application/json";
|
|
478
502
|
readonly accept: "application/json";
|
|
479
503
|
readonly inputSchema: z.ZodUndefined;
|
|
480
|
-
readonly outputSchema: z.ZodObject<{
|
|
504
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
481
505
|
data: z.ZodArray<z.ZodObject<{
|
|
482
506
|
entityClass: z.ZodEnum<{
|
|
483
507
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -511,7 +535,31 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
|
|
|
511
535
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
512
536
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
513
537
|
}, z.core.$strip>;
|
|
514
|
-
}, z.core.$strip
|
|
538
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
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>>]>;
|
|
515
563
|
readonly querySchema: z.ZodObject<{
|
|
516
564
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
517
565
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -972,7 +1020,7 @@ declare const getWebhookLogsQuerySchema: z.ZodObject<{
|
|
|
972
1020
|
type GetWebhookLogsQueryParams = z.infer<typeof getWebhookLogsQuerySchema>;
|
|
973
1021
|
declare const getWebhookLogsInputSchema: z.ZodUndefined;
|
|
974
1022
|
type GetWebhookLogsInput = z.infer<typeof getWebhookLogsInputSchema>;
|
|
975
|
-
declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
1023
|
+
declare const getWebhookLogsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
976
1024
|
data: z.ZodArray<z.ZodObject<{
|
|
977
1025
|
entityClass: z.ZodEnum<{
|
|
978
1026
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1017,14 +1065,49 @@ declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
|
1017
1065
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1018
1066
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1019
1067
|
}, z.core.$strip>;
|
|
1020
|
-
}, z.core.$strip
|
|
1068
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
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>>]>;
|
|
1021
1104
|
type GetWebhookLogsResponse = z.infer<typeof getWebhookLogsResponseSchema>;
|
|
1022
1105
|
declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInputSchema, typeof getWebhookLogsResponseSchema, GetWebhookLogsQueryParams> {
|
|
1023
1106
|
readonly method: "GET";
|
|
1024
1107
|
readonly contentType: "application/json";
|
|
1025
1108
|
readonly accept: "application/json";
|
|
1026
1109
|
readonly inputSchema: z.ZodUndefined;
|
|
1027
|
-
readonly outputSchema: z.ZodObject<{
|
|
1110
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1028
1111
|
data: z.ZodArray<z.ZodObject<{
|
|
1029
1112
|
entityClass: z.ZodEnum<{
|
|
1030
1113
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1069,7 +1152,42 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
1069
1152
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1070
1153
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1071
1154
|
}, z.core.$strip>;
|
|
1072
|
-
}, z.core.$strip
|
|
1155
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
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>>]>;
|
|
1073
1191
|
readonly querySchema: z.ZodObject<{
|
|
1074
1192
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1075
1193
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
@@ -1201,7 +1319,7 @@ declare const getWebhookLogsFromWebhookConfigurationQuerySchema: z.ZodObject<{
|
|
|
1201
1319
|
type GetWebhookLogsFromWebhookConfigurationQueryParams = z.infer<typeof getWebhookLogsFromWebhookConfigurationQuerySchema>;
|
|
1202
1320
|
declare const getWebhookLogsFromWebhookConfigurationInputSchema: z.ZodUndefined;
|
|
1203
1321
|
type GetWebhookLogsFromWebhookConfigurationInput = z.input<typeof getWebhookLogsFromWebhookConfigurationInputSchema>;
|
|
1204
|
-
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<{
|
|
1322
|
+
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1205
1323
|
data: z.ZodArray<z.ZodObject<{
|
|
1206
1324
|
entityClass: z.ZodEnum<{
|
|
1207
1325
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1246,14 +1364,49 @@ declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<
|
|
|
1246
1364
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1247
1365
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1248
1366
|
}, z.core.$strip>;
|
|
1249
|
-
}, z.core.$strip
|
|
1367
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
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>>]>;
|
|
1250
1403
|
type GetWebhookLogsFromWebhookConfigurationResponse = z.infer<typeof getWebhookLogsFromWebhookConfigurationResponseSchema>;
|
|
1251
1404
|
declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<typeof getWebhookLogsFromWebhookConfigurationInputSchema, typeof getWebhookLogsFromWebhookConfigurationResponseSchema, GetWebhookLogsFromWebhookConfigurationQueryParams> {
|
|
1252
1405
|
readonly method: "GET";
|
|
1253
1406
|
readonly contentType: "application/json";
|
|
1254
1407
|
readonly accept: "application/json";
|
|
1255
1408
|
readonly inputSchema: z.ZodUndefined;
|
|
1256
|
-
readonly outputSchema: z.ZodObject<{
|
|
1409
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1257
1410
|
data: z.ZodArray<z.ZodObject<{
|
|
1258
1411
|
entityClass: z.ZodEnum<{
|
|
1259
1412
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1298,7 +1451,42 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
1298
1451
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1299
1452
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1300
1453
|
}, z.core.$strip>;
|
|
1301
|
-
}, z.core.$strip
|
|
1454
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
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>>]>;
|
|
1302
1490
|
readonly querySchema: z.ZodObject<{
|
|
1303
1491
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1304
1492
|
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 { mixedPaginationSchema } from "@deliverart/sdk-js-global-types";
|
|
11314
11314
|
var getWebhookConfigurationsQuerySchema = webhookConfigurationsQuerySchema;
|
|
11315
11315
|
var getWebhookConfigurationsInputSchema = external_exports.undefined();
|
|
11316
|
-
var getWebhookConfigurationsResponseSchema =
|
|
11316
|
+
var getWebhookConfigurationsResponseSchema = mixedPaginationSchema(
|
|
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 { mixedPaginationSchema as mixedPaginationSchema2 } from "@deliverart/sdk-js-global-types";
|
|
11415
11415
|
var getWebhookLogsQuerySchema = webhookLogsQuerySchema;
|
|
11416
11416
|
var getWebhookLogsInputSchema = external_exports.undefined();
|
|
11417
|
-
var getWebhookLogsResponseSchema =
|
|
11417
|
+
var getWebhookLogsResponseSchema = mixedPaginationSchema2(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 { mixedPaginationSchema as mixedPaginationSchema3 } from "@deliverart/sdk-js-global-types";
|
|
11439
11439
|
var getWebhookLogsFromWebhookConfigurationQuerySchema = webhookLogsQuerySchema;
|
|
11440
11440
|
var getWebhookLogsFromWebhookConfigurationInputSchema = external_exports.undefined();
|
|
11441
|
-
var getWebhookLogsFromWebhookConfigurationResponseSchema =
|
|
11441
|
+
var getWebhookLogsFromWebhookConfigurationResponseSchema = mixedPaginationSchema3(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.1",
|
|
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.1",
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.6.1",
|
|
23
|
+
"@deliverart/sdk-js-point-of-sale": "2.6.1"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|