@deliverart/sdk-js-webhook 2.5.34 → 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 +11 -27
- package/dist/index.d.cts +338 -29
- package/dist/index.d.ts +338 -29
- package/dist/index.js +14 -39
- 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 {
|
|
@@ -11380,17 +11380,12 @@ var GetWebhookConfigurations = class extends import_sdk_js_core4.AbstractApiRequ
|
|
|
11380
11380
|
this.outputSchema = getWebhookConfigurationsResponseSchema;
|
|
11381
11381
|
this.querySchema = getWebhookConfigurationsQuerySchema;
|
|
11382
11382
|
this.headersSchema = void 0;
|
|
11383
|
+
this.listItemSchema = webhookConfigurationListItemSchema;
|
|
11384
|
+
this.paginationDefaultEnabled = true;
|
|
11383
11385
|
}
|
|
11384
11386
|
getPath() {
|
|
11385
11387
|
return "/webhooks/configurations";
|
|
11386
11388
|
}
|
|
11387
|
-
parseResponse(data, rawResponse) {
|
|
11388
|
-
const webhookConfigurations = external_exports.array(webhookConfigurationSchema).parse(data);
|
|
11389
|
-
return this.validateOutput({
|
|
11390
|
-
data: webhookConfigurations,
|
|
11391
|
-
pagination: (0, import_sdk_js_global_types5.responseToPagination)(rawResponse)
|
|
11392
|
-
});
|
|
11393
|
-
}
|
|
11394
11389
|
};
|
|
11395
11390
|
|
|
11396
11391
|
// src/requests/webhook-configurations/GetWebhookConfigurationsFromPointOfSale.ts
|
|
@@ -11410,14 +11405,13 @@ var GetWebhookConfigurationsFromPointOfSale = class extends import_sdk_js_core5.
|
|
|
11410
11405
|
this.outputSchema = getWebhookConfigurationsFromPointOfSaleResponseSchema;
|
|
11411
11406
|
this.querySchema = getWebhookConfigurationsFromPointOfSaleQuerySchema;
|
|
11412
11407
|
this.headersSchema = void 0;
|
|
11408
|
+
this.listItemSchema = webhookConfigurationListItemSchema;
|
|
11409
|
+
this.paginationDefaultEnabled = false;
|
|
11413
11410
|
this.pointOfSaleId = pointOfSaleId;
|
|
11414
11411
|
}
|
|
11415
11412
|
getPath() {
|
|
11416
11413
|
return `/point_of_sales/${this.pointOfSaleId}/webhooks/configurations`;
|
|
11417
11414
|
}
|
|
11418
|
-
parseResponse(data) {
|
|
11419
|
-
return external_exports.array(webhookConfigurationListItemSchema).parse(data);
|
|
11420
|
-
}
|
|
11421
11415
|
};
|
|
11422
11416
|
|
|
11423
11417
|
// src/requests/webhook-configurations/UpdateWebhookConfiguration.ts
|
|
@@ -11474,7 +11468,7 @@ var import_sdk_js_core8 = require("@deliverart/sdk-js-core");
|
|
|
11474
11468
|
var import_sdk_js_global_types6 = require("@deliverart/sdk-js-global-types");
|
|
11475
11469
|
var getWebhookLogsQuerySchema = webhookLogsQuerySchema;
|
|
11476
11470
|
var getWebhookLogsInputSchema = external_exports.undefined();
|
|
11477
|
-
var getWebhookLogsResponseSchema = (0, import_sdk_js_global_types6.
|
|
11471
|
+
var getWebhookLogsResponseSchema = (0, import_sdk_js_global_types6.mixedPaginationSchema)(webhookLogListItemSchema);
|
|
11478
11472
|
var GetWebhookLogs = class extends import_sdk_js_core8.AbstractApiRequest {
|
|
11479
11473
|
constructor(options) {
|
|
11480
11474
|
super(void 0, options);
|
|
@@ -11485,17 +11479,12 @@ var GetWebhookLogs = class extends import_sdk_js_core8.AbstractApiRequest {
|
|
|
11485
11479
|
this.outputSchema = getWebhookLogsResponseSchema;
|
|
11486
11480
|
this.querySchema = getWebhookLogsQuerySchema;
|
|
11487
11481
|
this.headersSchema = void 0;
|
|
11482
|
+
this.listItemSchema = webhookLogListItemSchema;
|
|
11483
|
+
this.paginationDefaultEnabled = true;
|
|
11488
11484
|
}
|
|
11489
11485
|
getPath() {
|
|
11490
11486
|
return "/webhooks/logs";
|
|
11491
11487
|
}
|
|
11492
|
-
parseResponse(data, rawResponse) {
|
|
11493
|
-
const webhookLogs = external_exports.array(webhookLogSchema).parse(data);
|
|
11494
|
-
return this.validateOutput({
|
|
11495
|
-
data: webhookLogs,
|
|
11496
|
-
pagination: (0, import_sdk_js_global_types6.responseToPagination)(rawResponse)
|
|
11497
|
-
});
|
|
11498
|
-
}
|
|
11499
11488
|
};
|
|
11500
11489
|
|
|
11501
11490
|
// src/requests/webhook-logs/GetWebhookLogsFromWebhookConfiguration.ts
|
|
@@ -11503,7 +11492,7 @@ var import_sdk_js_core9 = require("@deliverart/sdk-js-core");
|
|
|
11503
11492
|
var import_sdk_js_global_types7 = require("@deliverart/sdk-js-global-types");
|
|
11504
11493
|
var getWebhookLogsFromWebhookConfigurationQuerySchema = webhookLogsQuerySchema;
|
|
11505
11494
|
var getWebhookLogsFromWebhookConfigurationInputSchema = external_exports.undefined();
|
|
11506
|
-
var getWebhookLogsFromWebhookConfigurationResponseSchema = (0, import_sdk_js_global_types7.
|
|
11495
|
+
var getWebhookLogsFromWebhookConfigurationResponseSchema = (0, import_sdk_js_global_types7.mixedPaginationSchema)(webhookLogListItemSchema);
|
|
11507
11496
|
var GetWebhookLogsFromWebhookConfiguration = class extends import_sdk_js_core9.AbstractApiRequest {
|
|
11508
11497
|
constructor(webhookConfigurationId, options) {
|
|
11509
11498
|
super(void 0, options);
|
|
@@ -11514,18 +11503,13 @@ var GetWebhookLogsFromWebhookConfiguration = class extends import_sdk_js_core9.A
|
|
|
11514
11503
|
this.outputSchema = getWebhookLogsFromWebhookConfigurationResponseSchema;
|
|
11515
11504
|
this.querySchema = getWebhookLogsFromWebhookConfigurationQuerySchema;
|
|
11516
11505
|
this.headersSchema = void 0;
|
|
11506
|
+
this.listItemSchema = webhookLogListItemSchema;
|
|
11507
|
+
this.paginationDefaultEnabled = true;
|
|
11517
11508
|
this.webhookConfigurationId = webhookConfigurationId;
|
|
11518
11509
|
}
|
|
11519
11510
|
getPath() {
|
|
11520
11511
|
return `/webhooks/configurations/${this.webhookConfigurationId}/logs`;
|
|
11521
11512
|
}
|
|
11522
|
-
parseResponse(data, rawResponse) {
|
|
11523
|
-
const webhookLogs = external_exports.array(webhookLogListItemSchema).parse(data);
|
|
11524
|
-
return this.validateOutput({
|
|
11525
|
-
data: webhookLogs,
|
|
11526
|
-
pagination: (0, import_sdk_js_global_types7.responseToPagination)(rawResponse)
|
|
11527
|
-
});
|
|
11528
|
-
}
|
|
11529
11513
|
};
|
|
11530
11514
|
// Annotate the CommonJS export names for ESM import in node:
|
|
11531
11515
|
0 && (module.exports = {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
|
|
2
|
-
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
3
2
|
export { WebhookEntity, WebhookEvent, WebhookLogStatus, webhookEntities, webhookEntitySchema, webhookEventSchema, webhookEvents, webhookLogStatusSchema, webhookLogStatuses } from '@deliverart/sdk-js-global-types';
|
|
4
3
|
import { z } from 'zod';
|
|
5
4
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
@@ -437,7 +436,7 @@ declare const getWebhookConfigurationsQuerySchema: z.ZodObject<{
|
|
|
437
436
|
type GetWebhookConfigurationsQueryParams = z.infer<typeof getWebhookConfigurationsQuerySchema>;
|
|
438
437
|
declare const getWebhookConfigurationsInputSchema: z.ZodUndefined;
|
|
439
438
|
type GetWebhookConfigurationsInput = z.infer<typeof getWebhookConfigurationsInputSchema>;
|
|
440
|
-
declare const getWebhookConfigurationsResponseSchema: z.ZodObject<{
|
|
439
|
+
declare const getWebhookConfigurationsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
441
440
|
data: z.ZodArray<z.ZodObject<{
|
|
442
441
|
entityClass: z.ZodEnum<{
|
|
443
442
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -471,14 +470,38 @@ declare const getWebhookConfigurationsResponseSchema: z.ZodObject<{
|
|
|
471
470
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
472
471
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
473
472
|
}, z.core.$strip>;
|
|
474
|
-
}, 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>>]>;
|
|
475
498
|
type GetWebhookConfigurationsResponse = z.infer<typeof getWebhookConfigurationsResponseSchema>;
|
|
476
499
|
declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebhookConfigurationsInputSchema, typeof getWebhookConfigurationsResponseSchema, GetWebhookConfigurationsQueryParams> {
|
|
477
|
-
readonly method
|
|
478
|
-
readonly contentType
|
|
479
|
-
readonly accept
|
|
500
|
+
readonly method: "GET";
|
|
501
|
+
readonly contentType: "application/json";
|
|
502
|
+
readonly accept: "application/json";
|
|
480
503
|
readonly inputSchema: z.ZodUndefined;
|
|
481
|
-
readonly outputSchema: z.ZodObject<{
|
|
504
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
482
505
|
data: z.ZodArray<z.ZodObject<{
|
|
483
506
|
entityClass: z.ZodEnum<{
|
|
484
507
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -512,7 +535,31 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
|
|
|
512
535
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
513
536
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
514
537
|
}, z.core.$strip>;
|
|
515
|
-
}, 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>>]>;
|
|
516
563
|
readonly querySchema: z.ZodObject<{
|
|
517
564
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
518
565
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -543,11 +590,36 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
|
|
|
543
590
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
544
591
|
}, z.core.$strip>;
|
|
545
592
|
readonly headersSchema: undefined;
|
|
593
|
+
readonly listItemSchema: z.ZodObject<{
|
|
594
|
+
entityClass: z.ZodEnum<{
|
|
595
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
596
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
597
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
598
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
599
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
600
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
601
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
602
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
603
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
604
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
605
|
+
}>;
|
|
606
|
+
createdAt: z.ZodString;
|
|
607
|
+
updatedAt: z.ZodString;
|
|
608
|
+
id: z.ZodString;
|
|
609
|
+
events: z.ZodArray<z.ZodEnum<{
|
|
610
|
+
create: "create";
|
|
611
|
+
update: "update";
|
|
612
|
+
delete: "delete";
|
|
613
|
+
}>>;
|
|
614
|
+
callbackUrl: z.ZodURL;
|
|
615
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
616
|
+
description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
617
|
+
}, z.core.$strip>;
|
|
618
|
+
readonly paginationDefaultEnabled = true;
|
|
546
619
|
constructor(options?: {
|
|
547
620
|
query?: GetWebhookConfigurationsQueryParams;
|
|
548
621
|
});
|
|
549
622
|
getPath(): string;
|
|
550
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<WebhookConfigurationListItem>;
|
|
551
623
|
}
|
|
552
624
|
|
|
553
625
|
declare const getWebhookConfigurationsFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
@@ -609,9 +681,9 @@ declare const getWebhookConfigurationsFromPointOfSaleResponseSchema: z.ZodArray<
|
|
|
609
681
|
}, z.core.$strip>>;
|
|
610
682
|
type GetWebhookConfigurationsFromPointOfSaleResponse = z.infer<typeof getWebhookConfigurationsFromPointOfSaleResponseSchema>;
|
|
611
683
|
declare class GetWebhookConfigurationsFromPointOfSale extends AbstractApiRequest<typeof getWebhookConfigurationsFromPointOfSaleInputSchema, typeof getWebhookConfigurationsFromPointOfSaleResponseSchema, GetWebhookConfigurationsFromPointOfSaleQueryParams> {
|
|
612
|
-
readonly method
|
|
613
|
-
readonly contentType
|
|
614
|
-
readonly accept
|
|
684
|
+
readonly method: "GET";
|
|
685
|
+
readonly contentType: "application/json";
|
|
686
|
+
readonly accept: "application/json";
|
|
615
687
|
readonly inputSchema: z.ZodUndefined;
|
|
616
688
|
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
617
689
|
entityClass: z.ZodEnum<{
|
|
@@ -668,12 +740,37 @@ declare class GetWebhookConfigurationsFromPointOfSale extends AbstractApiRequest
|
|
|
668
740
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
669
741
|
}, z.core.$strip>;
|
|
670
742
|
readonly headersSchema: undefined;
|
|
743
|
+
readonly listItemSchema: z.ZodObject<{
|
|
744
|
+
entityClass: z.ZodEnum<{
|
|
745
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
746
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
747
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
748
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
749
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
750
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
751
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
752
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
753
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
754
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
755
|
+
}>;
|
|
756
|
+
createdAt: z.ZodString;
|
|
757
|
+
updatedAt: z.ZodString;
|
|
758
|
+
id: z.ZodString;
|
|
759
|
+
events: z.ZodArray<z.ZodEnum<{
|
|
760
|
+
create: "create";
|
|
761
|
+
update: "update";
|
|
762
|
+
delete: "delete";
|
|
763
|
+
}>>;
|
|
764
|
+
callbackUrl: z.ZodURL;
|
|
765
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
766
|
+
description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
767
|
+
}, z.core.$strip>;
|
|
768
|
+
readonly paginationDefaultEnabled = false;
|
|
671
769
|
private readonly pointOfSaleId;
|
|
672
770
|
constructor(pointOfSaleId: string, options?: {
|
|
673
771
|
query?: GetWebhookConfigurationsFromPointOfSaleQueryParams;
|
|
674
772
|
});
|
|
675
773
|
getPath(): string;
|
|
676
|
-
parseResponse(data: unknown): WebhookConfigurationListItem[];
|
|
677
774
|
}
|
|
678
775
|
|
|
679
776
|
declare const updateWebhookConfigurationInputSchema: z.ZodObject<{
|
|
@@ -923,7 +1020,7 @@ declare const getWebhookLogsQuerySchema: z.ZodObject<{
|
|
|
923
1020
|
type GetWebhookLogsQueryParams = z.infer<typeof getWebhookLogsQuerySchema>;
|
|
924
1021
|
declare const getWebhookLogsInputSchema: z.ZodUndefined;
|
|
925
1022
|
type GetWebhookLogsInput = z.infer<typeof getWebhookLogsInputSchema>;
|
|
926
|
-
declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
1023
|
+
declare const getWebhookLogsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
927
1024
|
data: z.ZodArray<z.ZodObject<{
|
|
928
1025
|
entityClass: z.ZodEnum<{
|
|
929
1026
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -968,14 +1065,49 @@ declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
|
968
1065
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
969
1066
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
970
1067
|
}, z.core.$strip>;
|
|
971
|
-
}, 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>>]>;
|
|
972
1104
|
type GetWebhookLogsResponse = z.infer<typeof getWebhookLogsResponseSchema>;
|
|
973
1105
|
declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInputSchema, typeof getWebhookLogsResponseSchema, GetWebhookLogsQueryParams> {
|
|
974
|
-
readonly method
|
|
975
|
-
readonly contentType
|
|
976
|
-
readonly accept
|
|
1106
|
+
readonly method: "GET";
|
|
1107
|
+
readonly contentType: "application/json";
|
|
1108
|
+
readonly accept: "application/json";
|
|
977
1109
|
readonly inputSchema: z.ZodUndefined;
|
|
978
|
-
readonly outputSchema: z.ZodObject<{
|
|
1110
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
979
1111
|
data: z.ZodArray<z.ZodObject<{
|
|
980
1112
|
entityClass: z.ZodEnum<{
|
|
981
1113
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1020,7 +1152,42 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
1020
1152
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1021
1153
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1022
1154
|
}, z.core.$strip>;
|
|
1023
|
-
}, 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>>]>;
|
|
1024
1191
|
readonly querySchema: z.ZodObject<{
|
|
1025
1192
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1026
1193
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
@@ -1064,11 +1231,47 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
1064
1231
|
'completedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1065
1232
|
}, z.core.$strip>;
|
|
1066
1233
|
readonly headersSchema: undefined;
|
|
1234
|
+
readonly listItemSchema: z.ZodObject<{
|
|
1235
|
+
entityClass: z.ZodEnum<{
|
|
1236
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1237
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1238
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1239
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1240
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1241
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1242
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1243
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1244
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1245
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1246
|
+
}>;
|
|
1247
|
+
createdAt: z.ZodString;
|
|
1248
|
+
id: z.ZodString;
|
|
1249
|
+
event: z.ZodEnum<{
|
|
1250
|
+
create: "create";
|
|
1251
|
+
update: "update";
|
|
1252
|
+
delete: "delete";
|
|
1253
|
+
}>;
|
|
1254
|
+
status: z.ZodEnum<{
|
|
1255
|
+
pending: "pending";
|
|
1256
|
+
failed: "failed";
|
|
1257
|
+
success: "success";
|
|
1258
|
+
timeout: "timeout";
|
|
1259
|
+
}>;
|
|
1260
|
+
externalEntityId: z.ZodUUID;
|
|
1261
|
+
requestS3Key: z.ZodNullable<z.ZodString>;
|
|
1262
|
+
responseS3Key: z.ZodNullable<z.ZodString>;
|
|
1263
|
+
httpStatusCode: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1264
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
1265
|
+
responseTimeMs: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1266
|
+
requestFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1267
|
+
responseFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1268
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
1269
|
+
}, z.core.$strip>;
|
|
1270
|
+
readonly paginationDefaultEnabled = true;
|
|
1067
1271
|
constructor(options?: {
|
|
1068
1272
|
query?: GetWebhookLogsQueryParams;
|
|
1069
1273
|
});
|
|
1070
1274
|
getPath(): string;
|
|
1071
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<WebhookLogListItem>;
|
|
1072
1275
|
}
|
|
1073
1276
|
|
|
1074
1277
|
declare const getWebhookLogsFromWebhookConfigurationQuerySchema: z.ZodObject<{
|
|
@@ -1116,7 +1319,7 @@ declare const getWebhookLogsFromWebhookConfigurationQuerySchema: z.ZodObject<{
|
|
|
1116
1319
|
type GetWebhookLogsFromWebhookConfigurationQueryParams = z.infer<typeof getWebhookLogsFromWebhookConfigurationQuerySchema>;
|
|
1117
1320
|
declare const getWebhookLogsFromWebhookConfigurationInputSchema: z.ZodUndefined;
|
|
1118
1321
|
type GetWebhookLogsFromWebhookConfigurationInput = z.input<typeof getWebhookLogsFromWebhookConfigurationInputSchema>;
|
|
1119
|
-
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<{
|
|
1322
|
+
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1120
1323
|
data: z.ZodArray<z.ZodObject<{
|
|
1121
1324
|
entityClass: z.ZodEnum<{
|
|
1122
1325
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1161,14 +1364,49 @@ declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<
|
|
|
1161
1364
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1162
1365
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1163
1366
|
}, z.core.$strip>;
|
|
1164
|
-
}, 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>>]>;
|
|
1165
1403
|
type GetWebhookLogsFromWebhookConfigurationResponse = z.infer<typeof getWebhookLogsFromWebhookConfigurationResponseSchema>;
|
|
1166
1404
|
declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<typeof getWebhookLogsFromWebhookConfigurationInputSchema, typeof getWebhookLogsFromWebhookConfigurationResponseSchema, GetWebhookLogsFromWebhookConfigurationQueryParams> {
|
|
1167
|
-
readonly method
|
|
1168
|
-
readonly contentType
|
|
1169
|
-
readonly accept
|
|
1405
|
+
readonly method: "GET";
|
|
1406
|
+
readonly contentType: "application/json";
|
|
1407
|
+
readonly accept: "application/json";
|
|
1170
1408
|
readonly inputSchema: z.ZodUndefined;
|
|
1171
|
-
readonly outputSchema: z.ZodObject<{
|
|
1409
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1172
1410
|
data: z.ZodArray<z.ZodObject<{
|
|
1173
1411
|
entityClass: z.ZodEnum<{
|
|
1174
1412
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1213,7 +1451,42 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
1213
1451
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1214
1452
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1215
1453
|
}, z.core.$strip>;
|
|
1216
|
-
}, 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>>]>;
|
|
1217
1490
|
readonly querySchema: z.ZodObject<{
|
|
1218
1491
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1219
1492
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
@@ -1257,12 +1530,48 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
1257
1530
|
'completedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1258
1531
|
}, z.core.$strip>;
|
|
1259
1532
|
readonly headersSchema: undefined;
|
|
1533
|
+
readonly listItemSchema: z.ZodObject<{
|
|
1534
|
+
entityClass: z.ZodEnum<{
|
|
1535
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1536
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1537
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1538
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1539
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1540
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1541
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1542
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1543
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1544
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1545
|
+
}>;
|
|
1546
|
+
createdAt: z.ZodString;
|
|
1547
|
+
id: z.ZodString;
|
|
1548
|
+
event: z.ZodEnum<{
|
|
1549
|
+
create: "create";
|
|
1550
|
+
update: "update";
|
|
1551
|
+
delete: "delete";
|
|
1552
|
+
}>;
|
|
1553
|
+
status: z.ZodEnum<{
|
|
1554
|
+
pending: "pending";
|
|
1555
|
+
failed: "failed";
|
|
1556
|
+
success: "success";
|
|
1557
|
+
timeout: "timeout";
|
|
1558
|
+
}>;
|
|
1559
|
+
externalEntityId: z.ZodUUID;
|
|
1560
|
+
requestS3Key: z.ZodNullable<z.ZodString>;
|
|
1561
|
+
responseS3Key: z.ZodNullable<z.ZodString>;
|
|
1562
|
+
httpStatusCode: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1563
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
1564
|
+
responseTimeMs: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1565
|
+
requestFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1566
|
+
responseFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1567
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
1568
|
+
}, z.core.$strip>;
|
|
1569
|
+
readonly paginationDefaultEnabled = true;
|
|
1260
1570
|
private readonly webhookConfigurationId;
|
|
1261
1571
|
constructor(webhookConfigurationId: string, options?: {
|
|
1262
1572
|
query?: GetWebhookLogsFromWebhookConfigurationQueryParams;
|
|
1263
1573
|
});
|
|
1264
1574
|
getPath(): string;
|
|
1265
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<WebhookLogListItem>;
|
|
1266
1575
|
}
|
|
1267
1576
|
|
|
1268
1577
|
declare const webhookConfigurationIriSchema: 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>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
|
|
2
|
-
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
3
2
|
export { WebhookEntity, WebhookEvent, WebhookLogStatus, webhookEntities, webhookEntitySchema, webhookEventSchema, webhookEvents, webhookLogStatusSchema, webhookLogStatuses } from '@deliverart/sdk-js-global-types';
|
|
4
3
|
import { z } from 'zod';
|
|
5
4
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
@@ -437,7 +436,7 @@ declare const getWebhookConfigurationsQuerySchema: z.ZodObject<{
|
|
|
437
436
|
type GetWebhookConfigurationsQueryParams = z.infer<typeof getWebhookConfigurationsQuerySchema>;
|
|
438
437
|
declare const getWebhookConfigurationsInputSchema: z.ZodUndefined;
|
|
439
438
|
type GetWebhookConfigurationsInput = z.infer<typeof getWebhookConfigurationsInputSchema>;
|
|
440
|
-
declare const getWebhookConfigurationsResponseSchema: z.ZodObject<{
|
|
439
|
+
declare const getWebhookConfigurationsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
441
440
|
data: z.ZodArray<z.ZodObject<{
|
|
442
441
|
entityClass: z.ZodEnum<{
|
|
443
442
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -471,14 +470,38 @@ declare const getWebhookConfigurationsResponseSchema: z.ZodObject<{
|
|
|
471
470
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
472
471
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
473
472
|
}, z.core.$strip>;
|
|
474
|
-
}, 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>>]>;
|
|
475
498
|
type GetWebhookConfigurationsResponse = z.infer<typeof getWebhookConfigurationsResponseSchema>;
|
|
476
499
|
declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebhookConfigurationsInputSchema, typeof getWebhookConfigurationsResponseSchema, GetWebhookConfigurationsQueryParams> {
|
|
477
|
-
readonly method
|
|
478
|
-
readonly contentType
|
|
479
|
-
readonly accept
|
|
500
|
+
readonly method: "GET";
|
|
501
|
+
readonly contentType: "application/json";
|
|
502
|
+
readonly accept: "application/json";
|
|
480
503
|
readonly inputSchema: z.ZodUndefined;
|
|
481
|
-
readonly outputSchema: z.ZodObject<{
|
|
504
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
482
505
|
data: z.ZodArray<z.ZodObject<{
|
|
483
506
|
entityClass: z.ZodEnum<{
|
|
484
507
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -512,7 +535,31 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
|
|
|
512
535
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
513
536
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
514
537
|
}, z.core.$strip>;
|
|
515
|
-
}, 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>>]>;
|
|
516
563
|
readonly querySchema: z.ZodObject<{
|
|
517
564
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
518
565
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -543,11 +590,36 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
|
|
|
543
590
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
544
591
|
}, z.core.$strip>;
|
|
545
592
|
readonly headersSchema: undefined;
|
|
593
|
+
readonly listItemSchema: z.ZodObject<{
|
|
594
|
+
entityClass: z.ZodEnum<{
|
|
595
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
596
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
597
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
598
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
599
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
600
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
601
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
602
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
603
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
604
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
605
|
+
}>;
|
|
606
|
+
createdAt: z.ZodString;
|
|
607
|
+
updatedAt: z.ZodString;
|
|
608
|
+
id: z.ZodString;
|
|
609
|
+
events: z.ZodArray<z.ZodEnum<{
|
|
610
|
+
create: "create";
|
|
611
|
+
update: "update";
|
|
612
|
+
delete: "delete";
|
|
613
|
+
}>>;
|
|
614
|
+
callbackUrl: z.ZodURL;
|
|
615
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
616
|
+
description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
617
|
+
}, z.core.$strip>;
|
|
618
|
+
readonly paginationDefaultEnabled = true;
|
|
546
619
|
constructor(options?: {
|
|
547
620
|
query?: GetWebhookConfigurationsQueryParams;
|
|
548
621
|
});
|
|
549
622
|
getPath(): string;
|
|
550
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<WebhookConfigurationListItem>;
|
|
551
623
|
}
|
|
552
624
|
|
|
553
625
|
declare const getWebhookConfigurationsFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
@@ -609,9 +681,9 @@ declare const getWebhookConfigurationsFromPointOfSaleResponseSchema: z.ZodArray<
|
|
|
609
681
|
}, z.core.$strip>>;
|
|
610
682
|
type GetWebhookConfigurationsFromPointOfSaleResponse = z.infer<typeof getWebhookConfigurationsFromPointOfSaleResponseSchema>;
|
|
611
683
|
declare class GetWebhookConfigurationsFromPointOfSale extends AbstractApiRequest<typeof getWebhookConfigurationsFromPointOfSaleInputSchema, typeof getWebhookConfigurationsFromPointOfSaleResponseSchema, GetWebhookConfigurationsFromPointOfSaleQueryParams> {
|
|
612
|
-
readonly method
|
|
613
|
-
readonly contentType
|
|
614
|
-
readonly accept
|
|
684
|
+
readonly method: "GET";
|
|
685
|
+
readonly contentType: "application/json";
|
|
686
|
+
readonly accept: "application/json";
|
|
615
687
|
readonly inputSchema: z.ZodUndefined;
|
|
616
688
|
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
617
689
|
entityClass: z.ZodEnum<{
|
|
@@ -668,12 +740,37 @@ declare class GetWebhookConfigurationsFromPointOfSale extends AbstractApiRequest
|
|
|
668
740
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
669
741
|
}, z.core.$strip>;
|
|
670
742
|
readonly headersSchema: undefined;
|
|
743
|
+
readonly listItemSchema: z.ZodObject<{
|
|
744
|
+
entityClass: z.ZodEnum<{
|
|
745
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
746
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
747
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
748
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
749
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
750
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
751
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
752
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
753
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
754
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
755
|
+
}>;
|
|
756
|
+
createdAt: z.ZodString;
|
|
757
|
+
updatedAt: z.ZodString;
|
|
758
|
+
id: z.ZodString;
|
|
759
|
+
events: z.ZodArray<z.ZodEnum<{
|
|
760
|
+
create: "create";
|
|
761
|
+
update: "update";
|
|
762
|
+
delete: "delete";
|
|
763
|
+
}>>;
|
|
764
|
+
callbackUrl: z.ZodURL;
|
|
765
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
766
|
+
description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
767
|
+
}, z.core.$strip>;
|
|
768
|
+
readonly paginationDefaultEnabled = false;
|
|
671
769
|
private readonly pointOfSaleId;
|
|
672
770
|
constructor(pointOfSaleId: string, options?: {
|
|
673
771
|
query?: GetWebhookConfigurationsFromPointOfSaleQueryParams;
|
|
674
772
|
});
|
|
675
773
|
getPath(): string;
|
|
676
|
-
parseResponse(data: unknown): WebhookConfigurationListItem[];
|
|
677
774
|
}
|
|
678
775
|
|
|
679
776
|
declare const updateWebhookConfigurationInputSchema: z.ZodObject<{
|
|
@@ -923,7 +1020,7 @@ declare const getWebhookLogsQuerySchema: z.ZodObject<{
|
|
|
923
1020
|
type GetWebhookLogsQueryParams = z.infer<typeof getWebhookLogsQuerySchema>;
|
|
924
1021
|
declare const getWebhookLogsInputSchema: z.ZodUndefined;
|
|
925
1022
|
type GetWebhookLogsInput = z.infer<typeof getWebhookLogsInputSchema>;
|
|
926
|
-
declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
1023
|
+
declare const getWebhookLogsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
927
1024
|
data: z.ZodArray<z.ZodObject<{
|
|
928
1025
|
entityClass: z.ZodEnum<{
|
|
929
1026
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -968,14 +1065,49 @@ declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
|
968
1065
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
969
1066
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
970
1067
|
}, z.core.$strip>;
|
|
971
|
-
}, 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>>]>;
|
|
972
1104
|
type GetWebhookLogsResponse = z.infer<typeof getWebhookLogsResponseSchema>;
|
|
973
1105
|
declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInputSchema, typeof getWebhookLogsResponseSchema, GetWebhookLogsQueryParams> {
|
|
974
|
-
readonly method
|
|
975
|
-
readonly contentType
|
|
976
|
-
readonly accept
|
|
1106
|
+
readonly method: "GET";
|
|
1107
|
+
readonly contentType: "application/json";
|
|
1108
|
+
readonly accept: "application/json";
|
|
977
1109
|
readonly inputSchema: z.ZodUndefined;
|
|
978
|
-
readonly outputSchema: z.ZodObject<{
|
|
1110
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
979
1111
|
data: z.ZodArray<z.ZodObject<{
|
|
980
1112
|
entityClass: z.ZodEnum<{
|
|
981
1113
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1020,7 +1152,42 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
1020
1152
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1021
1153
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1022
1154
|
}, z.core.$strip>;
|
|
1023
|
-
}, 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>>]>;
|
|
1024
1191
|
readonly querySchema: z.ZodObject<{
|
|
1025
1192
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1026
1193
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
@@ -1064,11 +1231,47 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
1064
1231
|
'completedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1065
1232
|
}, z.core.$strip>;
|
|
1066
1233
|
readonly headersSchema: undefined;
|
|
1234
|
+
readonly listItemSchema: z.ZodObject<{
|
|
1235
|
+
entityClass: z.ZodEnum<{
|
|
1236
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1237
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1238
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1239
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1240
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1241
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1242
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1243
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1244
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1245
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1246
|
+
}>;
|
|
1247
|
+
createdAt: z.ZodString;
|
|
1248
|
+
id: z.ZodString;
|
|
1249
|
+
event: z.ZodEnum<{
|
|
1250
|
+
create: "create";
|
|
1251
|
+
update: "update";
|
|
1252
|
+
delete: "delete";
|
|
1253
|
+
}>;
|
|
1254
|
+
status: z.ZodEnum<{
|
|
1255
|
+
pending: "pending";
|
|
1256
|
+
failed: "failed";
|
|
1257
|
+
success: "success";
|
|
1258
|
+
timeout: "timeout";
|
|
1259
|
+
}>;
|
|
1260
|
+
externalEntityId: z.ZodUUID;
|
|
1261
|
+
requestS3Key: z.ZodNullable<z.ZodString>;
|
|
1262
|
+
responseS3Key: z.ZodNullable<z.ZodString>;
|
|
1263
|
+
httpStatusCode: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1264
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
1265
|
+
responseTimeMs: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1266
|
+
requestFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1267
|
+
responseFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1268
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
1269
|
+
}, z.core.$strip>;
|
|
1270
|
+
readonly paginationDefaultEnabled = true;
|
|
1067
1271
|
constructor(options?: {
|
|
1068
1272
|
query?: GetWebhookLogsQueryParams;
|
|
1069
1273
|
});
|
|
1070
1274
|
getPath(): string;
|
|
1071
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<WebhookLogListItem>;
|
|
1072
1275
|
}
|
|
1073
1276
|
|
|
1074
1277
|
declare const getWebhookLogsFromWebhookConfigurationQuerySchema: z.ZodObject<{
|
|
@@ -1116,7 +1319,7 @@ declare const getWebhookLogsFromWebhookConfigurationQuerySchema: z.ZodObject<{
|
|
|
1116
1319
|
type GetWebhookLogsFromWebhookConfigurationQueryParams = z.infer<typeof getWebhookLogsFromWebhookConfigurationQuerySchema>;
|
|
1117
1320
|
declare const getWebhookLogsFromWebhookConfigurationInputSchema: z.ZodUndefined;
|
|
1118
1321
|
type GetWebhookLogsFromWebhookConfigurationInput = z.input<typeof getWebhookLogsFromWebhookConfigurationInputSchema>;
|
|
1119
|
-
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<{
|
|
1322
|
+
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1120
1323
|
data: z.ZodArray<z.ZodObject<{
|
|
1121
1324
|
entityClass: z.ZodEnum<{
|
|
1122
1325
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1161,14 +1364,49 @@ declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<
|
|
|
1161
1364
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1162
1365
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1163
1366
|
}, z.core.$strip>;
|
|
1164
|
-
}, 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>>]>;
|
|
1165
1403
|
type GetWebhookLogsFromWebhookConfigurationResponse = z.infer<typeof getWebhookLogsFromWebhookConfigurationResponseSchema>;
|
|
1166
1404
|
declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<typeof getWebhookLogsFromWebhookConfigurationInputSchema, typeof getWebhookLogsFromWebhookConfigurationResponseSchema, GetWebhookLogsFromWebhookConfigurationQueryParams> {
|
|
1167
|
-
readonly method
|
|
1168
|
-
readonly contentType
|
|
1169
|
-
readonly accept
|
|
1405
|
+
readonly method: "GET";
|
|
1406
|
+
readonly contentType: "application/json";
|
|
1407
|
+
readonly accept: "application/json";
|
|
1170
1408
|
readonly inputSchema: z.ZodUndefined;
|
|
1171
|
-
readonly outputSchema: z.ZodObject<{
|
|
1409
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1172
1410
|
data: z.ZodArray<z.ZodObject<{
|
|
1173
1411
|
entityClass: z.ZodEnum<{
|
|
1174
1412
|
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
@@ -1213,7 +1451,42 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
1213
1451
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1214
1452
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1215
1453
|
}, z.core.$strip>;
|
|
1216
|
-
}, 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>>]>;
|
|
1217
1490
|
readonly querySchema: z.ZodObject<{
|
|
1218
1491
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
1219
1492
|
externalEntityId: z.ZodOptional<z.ZodString>;
|
|
@@ -1257,12 +1530,48 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
1257
1530
|
'completedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1258
1531
|
}, z.core.$strip>;
|
|
1259
1532
|
readonly headersSchema: undefined;
|
|
1533
|
+
readonly listItemSchema: z.ZodObject<{
|
|
1534
|
+
entityClass: z.ZodEnum<{
|
|
1535
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1536
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1537
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1538
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1539
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1540
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1541
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1542
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1543
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1544
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1545
|
+
}>;
|
|
1546
|
+
createdAt: z.ZodString;
|
|
1547
|
+
id: z.ZodString;
|
|
1548
|
+
event: z.ZodEnum<{
|
|
1549
|
+
create: "create";
|
|
1550
|
+
update: "update";
|
|
1551
|
+
delete: "delete";
|
|
1552
|
+
}>;
|
|
1553
|
+
status: z.ZodEnum<{
|
|
1554
|
+
pending: "pending";
|
|
1555
|
+
failed: "failed";
|
|
1556
|
+
success: "success";
|
|
1557
|
+
timeout: "timeout";
|
|
1558
|
+
}>;
|
|
1559
|
+
externalEntityId: z.ZodUUID;
|
|
1560
|
+
requestS3Key: z.ZodNullable<z.ZodString>;
|
|
1561
|
+
responseS3Key: z.ZodNullable<z.ZodString>;
|
|
1562
|
+
httpStatusCode: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1563
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
1564
|
+
responseTimeMs: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1565
|
+
requestFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1566
|
+
responseFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1567
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
1568
|
+
}, z.core.$strip>;
|
|
1569
|
+
readonly paginationDefaultEnabled = true;
|
|
1260
1570
|
private readonly webhookConfigurationId;
|
|
1261
1571
|
constructor(webhookConfigurationId: string, options?: {
|
|
1262
1572
|
query?: GetWebhookLogsFromWebhookConfigurationQueryParams;
|
|
1263
1573
|
});
|
|
1264
1574
|
getPath(): string;
|
|
1265
|
-
parseResponse(data: unknown, rawResponse: Response): Paginated<WebhookLogListItem>;
|
|
1266
1575
|
}
|
|
1267
1576
|
|
|
1268
1577
|
declare const webhookConfigurationIriSchema: 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>>;
|
package/dist/index.js
CHANGED
|
@@ -11310,13 +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 {
|
|
11314
|
-
createPaginatedSchema,
|
|
11315
|
-
responseToPagination
|
|
11316
|
-
} from "@deliverart/sdk-js-global-types";
|
|
11313
|
+
import { mixedPaginationSchema } from "@deliverart/sdk-js-global-types";
|
|
11317
11314
|
var getWebhookConfigurationsQuerySchema = webhookConfigurationsQuerySchema;
|
|
11318
11315
|
var getWebhookConfigurationsInputSchema = external_exports.undefined();
|
|
11319
|
-
var getWebhookConfigurationsResponseSchema =
|
|
11316
|
+
var getWebhookConfigurationsResponseSchema = mixedPaginationSchema(
|
|
11320
11317
|
webhookConfigurationListItemSchema
|
|
11321
11318
|
);
|
|
11322
11319
|
var GetWebhookConfigurations = class extends AbstractApiRequest4 {
|
|
@@ -11329,17 +11326,12 @@ var GetWebhookConfigurations = class extends AbstractApiRequest4 {
|
|
|
11329
11326
|
this.outputSchema = getWebhookConfigurationsResponseSchema;
|
|
11330
11327
|
this.querySchema = getWebhookConfigurationsQuerySchema;
|
|
11331
11328
|
this.headersSchema = void 0;
|
|
11329
|
+
this.listItemSchema = webhookConfigurationListItemSchema;
|
|
11330
|
+
this.paginationDefaultEnabled = true;
|
|
11332
11331
|
}
|
|
11333
11332
|
getPath() {
|
|
11334
11333
|
return "/webhooks/configurations";
|
|
11335
11334
|
}
|
|
11336
|
-
parseResponse(data, rawResponse) {
|
|
11337
|
-
const webhookConfigurations = external_exports.array(webhookConfigurationSchema).parse(data);
|
|
11338
|
-
return this.validateOutput({
|
|
11339
|
-
data: webhookConfigurations,
|
|
11340
|
-
pagination: responseToPagination(rawResponse)
|
|
11341
|
-
});
|
|
11342
|
-
}
|
|
11343
11335
|
};
|
|
11344
11336
|
|
|
11345
11337
|
// src/requests/webhook-configurations/GetWebhookConfigurationsFromPointOfSale.ts
|
|
@@ -11359,14 +11351,13 @@ var GetWebhookConfigurationsFromPointOfSale = class extends AbstractApiRequest5
|
|
|
11359
11351
|
this.outputSchema = getWebhookConfigurationsFromPointOfSaleResponseSchema;
|
|
11360
11352
|
this.querySchema = getWebhookConfigurationsFromPointOfSaleQuerySchema;
|
|
11361
11353
|
this.headersSchema = void 0;
|
|
11354
|
+
this.listItemSchema = webhookConfigurationListItemSchema;
|
|
11355
|
+
this.paginationDefaultEnabled = false;
|
|
11362
11356
|
this.pointOfSaleId = pointOfSaleId;
|
|
11363
11357
|
}
|
|
11364
11358
|
getPath() {
|
|
11365
11359
|
return `/point_of_sales/${this.pointOfSaleId}/webhooks/configurations`;
|
|
11366
11360
|
}
|
|
11367
|
-
parseResponse(data) {
|
|
11368
|
-
return external_exports.array(webhookConfigurationListItemSchema).parse(data);
|
|
11369
|
-
}
|
|
11370
11361
|
};
|
|
11371
11362
|
|
|
11372
11363
|
// src/requests/webhook-configurations/UpdateWebhookConfiguration.ts
|
|
@@ -11420,13 +11411,10 @@ var GetWebhookLogDetails = class extends AbstractApiRequest7 {
|
|
|
11420
11411
|
|
|
11421
11412
|
// src/requests/webhook-logs/GetWebhookLogs.ts
|
|
11422
11413
|
import { AbstractApiRequest as AbstractApiRequest8 } from "@deliverart/sdk-js-core";
|
|
11423
|
-
import {
|
|
11424
|
-
createPaginatedSchema as createPaginatedSchema2,
|
|
11425
|
-
responseToPagination as responseToPagination2
|
|
11426
|
-
} from "@deliverart/sdk-js-global-types";
|
|
11414
|
+
import { mixedPaginationSchema as mixedPaginationSchema2 } from "@deliverart/sdk-js-global-types";
|
|
11427
11415
|
var getWebhookLogsQuerySchema = webhookLogsQuerySchema;
|
|
11428
11416
|
var getWebhookLogsInputSchema = external_exports.undefined();
|
|
11429
|
-
var getWebhookLogsResponseSchema =
|
|
11417
|
+
var getWebhookLogsResponseSchema = mixedPaginationSchema2(webhookLogListItemSchema);
|
|
11430
11418
|
var GetWebhookLogs = class extends AbstractApiRequest8 {
|
|
11431
11419
|
constructor(options) {
|
|
11432
11420
|
super(void 0, options);
|
|
@@ -11437,28 +11425,20 @@ var GetWebhookLogs = class extends AbstractApiRequest8 {
|
|
|
11437
11425
|
this.outputSchema = getWebhookLogsResponseSchema;
|
|
11438
11426
|
this.querySchema = getWebhookLogsQuerySchema;
|
|
11439
11427
|
this.headersSchema = void 0;
|
|
11428
|
+
this.listItemSchema = webhookLogListItemSchema;
|
|
11429
|
+
this.paginationDefaultEnabled = true;
|
|
11440
11430
|
}
|
|
11441
11431
|
getPath() {
|
|
11442
11432
|
return "/webhooks/logs";
|
|
11443
11433
|
}
|
|
11444
|
-
parseResponse(data, rawResponse) {
|
|
11445
|
-
const webhookLogs = external_exports.array(webhookLogSchema).parse(data);
|
|
11446
|
-
return this.validateOutput({
|
|
11447
|
-
data: webhookLogs,
|
|
11448
|
-
pagination: responseToPagination2(rawResponse)
|
|
11449
|
-
});
|
|
11450
|
-
}
|
|
11451
11434
|
};
|
|
11452
11435
|
|
|
11453
11436
|
// src/requests/webhook-logs/GetWebhookLogsFromWebhookConfiguration.ts
|
|
11454
11437
|
import { AbstractApiRequest as AbstractApiRequest9 } from "@deliverart/sdk-js-core";
|
|
11455
|
-
import {
|
|
11456
|
-
createPaginatedSchema as createPaginatedSchema3,
|
|
11457
|
-
responseToPagination as responseToPagination3
|
|
11458
|
-
} from "@deliverart/sdk-js-global-types";
|
|
11438
|
+
import { mixedPaginationSchema as mixedPaginationSchema3 } from "@deliverart/sdk-js-global-types";
|
|
11459
11439
|
var getWebhookLogsFromWebhookConfigurationQuerySchema = webhookLogsQuerySchema;
|
|
11460
11440
|
var getWebhookLogsFromWebhookConfigurationInputSchema = external_exports.undefined();
|
|
11461
|
-
var getWebhookLogsFromWebhookConfigurationResponseSchema =
|
|
11441
|
+
var getWebhookLogsFromWebhookConfigurationResponseSchema = mixedPaginationSchema3(webhookLogListItemSchema);
|
|
11462
11442
|
var GetWebhookLogsFromWebhookConfiguration = class extends AbstractApiRequest9 {
|
|
11463
11443
|
constructor(webhookConfigurationId, options) {
|
|
11464
11444
|
super(void 0, options);
|
|
@@ -11469,18 +11449,13 @@ var GetWebhookLogsFromWebhookConfiguration = class extends AbstractApiRequest9 {
|
|
|
11469
11449
|
this.outputSchema = getWebhookLogsFromWebhookConfigurationResponseSchema;
|
|
11470
11450
|
this.querySchema = getWebhookLogsFromWebhookConfigurationQuerySchema;
|
|
11471
11451
|
this.headersSchema = void 0;
|
|
11452
|
+
this.listItemSchema = webhookLogListItemSchema;
|
|
11453
|
+
this.paginationDefaultEnabled = true;
|
|
11472
11454
|
this.webhookConfigurationId = webhookConfigurationId;
|
|
11473
11455
|
}
|
|
11474
11456
|
getPath() {
|
|
11475
11457
|
return `/webhooks/configurations/${this.webhookConfigurationId}/logs`;
|
|
11476
11458
|
}
|
|
11477
|
-
parseResponse(data, rawResponse) {
|
|
11478
|
-
const webhookLogs = external_exports.array(webhookLogListItemSchema).parse(data);
|
|
11479
|
-
return this.validateOutput({
|
|
11480
|
-
data: webhookLogs,
|
|
11481
|
-
pagination: responseToPagination3(rawResponse)
|
|
11482
|
-
});
|
|
11483
|
-
}
|
|
11484
11459
|
};
|
|
11485
11460
|
export {
|
|
11486
11461
|
CreateWebhookConfiguration,
|
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
|
+
"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-
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
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"
|