@deliverart/sdk-js-webhook 2.4.0 → 2.4.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 CHANGED
@@ -11257,7 +11257,8 @@ var webhookConfigurationSchema = external_exports.object({
11257
11257
  updatedAt: import_sdk_js_global_types2.datetimeSchema
11258
11258
  });
11259
11259
  var webhookConfigurationListItemSchema = webhookConfigurationSchema.omit({
11260
- pointOfSale: true
11260
+ pointOfSale: true,
11261
+ secretKey: true
11261
11262
  });
11262
11263
  var webhookConfigurationsQuerySchema = external_exports.object({
11263
11264
  entityClass: external_exports.string().optional(),
package/dist/index.d.cts CHANGED
@@ -53,7 +53,6 @@ declare const webhookConfigurationListItemSchema: z.ZodObject<{
53
53
  delete: "delete";
54
54
  }>>;
55
55
  callbackUrl: z.ZodURL;
56
- secretKey: z.ZodString;
57
56
  isActive: z.ZodDefault<z.ZodBoolean>;
58
57
  description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
59
58
  }, z.core.$strip>;
@@ -460,7 +459,6 @@ declare const getWebhookConfigurationsResponseSchema: z.ZodObject<{
460
459
  delete: "delete";
461
460
  }>>;
462
461
  callbackUrl: z.ZodURL;
463
- secretKey: z.ZodString;
464
462
  isActive: z.ZodDefault<z.ZodBoolean>;
465
463
  description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
466
464
  }, z.core.$strip>>;
@@ -502,7 +500,6 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
502
500
  delete: "delete";
503
501
  }>>;
504
502
  callbackUrl: z.ZodURL;
505
- secretKey: z.ZodString;
506
503
  isActive: z.ZodDefault<z.ZodBoolean>;
507
504
  description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
508
505
  }, z.core.$strip>>;
@@ -606,7 +603,6 @@ declare const getWebhookConfigurationsFromPointOfSaleResponseSchema: z.ZodArray<
606
603
  delete: "delete";
607
604
  }>>;
608
605
  callbackUrl: z.ZodURL;
609
- secretKey: z.ZodString;
610
606
  isActive: z.ZodDefault<z.ZodBoolean>;
611
607
  description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
612
608
  }, z.core.$strip>>;
@@ -638,7 +634,6 @@ declare class GetWebhookConfigurationsFromPointOfSale extends AbstractApiRequest
638
634
  delete: "delete";
639
635
  }>>;
640
636
  callbackUrl: z.ZodURL;
641
- secretKey: z.ZodString;
642
637
  isActive: z.ZodDefault<z.ZodBoolean>;
643
638
  description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
644
639
  }, z.core.$strip>>;
package/dist/index.d.ts CHANGED
@@ -53,7 +53,6 @@ declare const webhookConfigurationListItemSchema: z.ZodObject<{
53
53
  delete: "delete";
54
54
  }>>;
55
55
  callbackUrl: z.ZodURL;
56
- secretKey: z.ZodString;
57
56
  isActive: z.ZodDefault<z.ZodBoolean>;
58
57
  description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
59
58
  }, z.core.$strip>;
@@ -460,7 +459,6 @@ declare const getWebhookConfigurationsResponseSchema: z.ZodObject<{
460
459
  delete: "delete";
461
460
  }>>;
462
461
  callbackUrl: z.ZodURL;
463
- secretKey: z.ZodString;
464
462
  isActive: z.ZodDefault<z.ZodBoolean>;
465
463
  description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
466
464
  }, z.core.$strip>>;
@@ -502,7 +500,6 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
502
500
  delete: "delete";
503
501
  }>>;
504
502
  callbackUrl: z.ZodURL;
505
- secretKey: z.ZodString;
506
503
  isActive: z.ZodDefault<z.ZodBoolean>;
507
504
  description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
508
505
  }, z.core.$strip>>;
@@ -606,7 +603,6 @@ declare const getWebhookConfigurationsFromPointOfSaleResponseSchema: z.ZodArray<
606
603
  delete: "delete";
607
604
  }>>;
608
605
  callbackUrl: z.ZodURL;
609
- secretKey: z.ZodString;
610
606
  isActive: z.ZodDefault<z.ZodBoolean>;
611
607
  description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
612
608
  }, z.core.$strip>>;
@@ -638,7 +634,6 @@ declare class GetWebhookConfigurationsFromPointOfSale extends AbstractApiRequest
638
634
  delete: "delete";
639
635
  }>>;
640
636
  callbackUrl: z.ZodURL;
641
- secretKey: z.ZodString;
642
637
  isActive: z.ZodDefault<z.ZodBoolean>;
643
638
  description: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
644
639
  }, z.core.$strip>>;
package/dist/index.js CHANGED
@@ -11195,7 +11195,8 @@ var webhookConfigurationSchema = external_exports.object({
11195
11195
  updatedAt: datetimeSchema
11196
11196
  });
11197
11197
  var webhookConfigurationListItemSchema = webhookConfigurationSchema.omit({
11198
- pointOfSale: true
11198
+ pointOfSale: true,
11199
+ secretKey: true
11199
11200
  });
11200
11201
  var webhookConfigurationsQuerySchema = external_exports.object({
11201
11202
  entityClass: external_exports.string().optional(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-webhook",
3
3
  "description": "Deliverart JavaScript SDK for Webhook Management",
4
- "version": "2.4.0",
4
+ "version": "2.4.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.4.0",
22
- "@deliverart/sdk-js-global-types": "2.3.9",
23
- "@deliverart/sdk-js-point-of-sale": "2.4.0"
21
+ "@deliverart/sdk-js-core": "2.4.1",
22
+ "@deliverart/sdk-js-point-of-sale": "2.4.1",
23
+ "@deliverart/sdk-js-global-types": "2.3.10"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public"