@deliverart/sdk-js-email-notification-configuration 2.14.1 → 2.14.3

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/README.md CHANGED
@@ -28,6 +28,7 @@ Available email template keys:
28
28
  - `subscription_expiring` - Reminder when a time-based subscription is close to expiration
29
29
  - `subscription_low_credits` - Reminder when a consumption subscription is low on credits
30
30
  - `subscription_pending_renewal` - Reminder when a subscription has a pending renewal
31
+ - `subscription_payment_pending_verification` - Notification for subscription payments that require central admin verification
31
32
 
32
33
  ### Order Sources
33
34
  Configuration supports the following order sources:
@@ -58,6 +59,8 @@ Subscription reminder templates use:
58
59
  {}
59
60
  ```
60
61
 
62
+ The same empty config is also used by subscription billing verification notifications.
63
+
61
64
  **Fields:**
62
65
  - `sourcesEnabled?: string[]` - Array of order sources for which the notification should be sent on order and delivery templates
63
66
 
@@ -88,6 +91,17 @@ const config = await sdk.call(new CreateEmailNotificationConfiguration({
88
91
  }));
89
92
  ```
90
93
 
94
+ Subscription billing verification example:
95
+
96
+ ```typescript
97
+ const config = await sdk.call(new CreateEmailNotificationConfiguration({
98
+ pointOfSale: '/point_of_sales/123',
99
+ templateKey: 'subscription_payment_pending_verification',
100
+ isActive: true,
101
+ config: {}
102
+ }));
103
+ ```
104
+
91
105
  **Input Parameters:**
92
106
  - `pointOfSale: string` (required) - Point of sale IRI
93
107
  - `templateKey: string` (required) - Email template key
package/dist/index.cjs CHANGED
@@ -13915,6 +13915,15 @@ var emailNotificationConfigurationSchema = external_exports.discriminatedUnion("
13915
13915
  isActive: external_exports.boolean(),
13916
13916
  createdAt: import_sdk_js_global_types.datetimeSchema,
13917
13917
  updatedAt: import_sdk_js_global_types.datetimeSchema
13918
+ }),
13919
+ external_exports.object({
13920
+ id: external_exports.string(),
13921
+ pointOfSale: import_sdk_js_point_of_sale.pointOfSaleIriSchema,
13922
+ templateKey: external_exports.literal("subscription_payment_pending_verification"),
13923
+ config: emptyEmailNotificationConfigurationConfigSchema,
13924
+ isActive: external_exports.boolean(),
13925
+ createdAt: import_sdk_js_global_types.datetimeSchema,
13926
+ updatedAt: import_sdk_js_global_types.datetimeSchema
13918
13927
  })
13919
13928
  ]);
13920
13929
  var emailNotificationConfigurationSchemaListItem = external_exports.discriminatedUnion("templateKey", [
@@ -13989,6 +13998,14 @@ var emailNotificationConfigurationSchemaListItem = external_exports.discriminate
13989
13998
  isActive: external_exports.boolean(),
13990
13999
  createdAt: import_sdk_js_global_types.datetimeSchema,
13991
14000
  updatedAt: import_sdk_js_global_types.datetimeSchema
14001
+ }),
14002
+ external_exports.object({
14003
+ id: external_exports.string(),
14004
+ templateKey: external_exports.literal("subscription_payment_pending_verification"),
14005
+ config: emptyEmailNotificationConfigurationConfigSchema,
14006
+ isActive: external_exports.boolean(),
14007
+ createdAt: import_sdk_js_global_types.datetimeSchema,
14008
+ updatedAt: import_sdk_js_global_types.datetimeSchema
13992
14009
  })
13993
14010
  ]);
13994
14011
  var writableUpdateEmailNotificationConfigurationSchema = external_exports.union([
@@ -14036,6 +14053,11 @@ var writableUpdateEmailNotificationConfigurationSchema = external_exports.union(
14036
14053
  templateKey: external_exports.literal("subscription_pending_renewal"),
14037
14054
  config: emptyEmailNotificationConfigurationConfigSchema.optional(),
14038
14055
  isActive: external_exports.boolean().optional()
14056
+ }),
14057
+ external_exports.object({
14058
+ templateKey: external_exports.literal("subscription_payment_pending_verification"),
14059
+ config: emptyEmailNotificationConfigurationConfigSchema.optional(),
14060
+ isActive: external_exports.boolean().optional()
14039
14061
  })
14040
14062
  ]);
14041
14063
  var writableCreateEmailNotificationConfigurationSchema = external_exports.union([
@@ -14092,6 +14114,12 @@ var writableCreateEmailNotificationConfigurationSchema = external_exports.union(
14092
14114
  templateKey: external_exports.literal("subscription_pending_renewal"),
14093
14115
  config: emptyEmailNotificationConfigurationConfigSchema,
14094
14116
  isActive: external_exports.boolean()
14117
+ }),
14118
+ external_exports.object({
14119
+ pointOfSale: import_sdk_js_point_of_sale.pointOfSaleIriSchema,
14120
+ templateKey: external_exports.literal("subscription_payment_pending_verification"),
14121
+ config: emptyEmailNotificationConfigurationConfigSchema,
14122
+ isActive: external_exports.boolean()
14095
14123
  })
14096
14124
  ]);
14097
14125
  var emailNotificationConfigurationsQuerySchema = external_exports.object({
package/dist/index.d.cts CHANGED
@@ -128,6 +128,14 @@ declare const emailNotificationConfigurationSchema: z.ZodDiscriminatedUnion<[z.Z
128
128
  isActive: z.ZodBoolean;
129
129
  createdAt: z.ZodString;
130
130
  updatedAt: z.ZodString;
131
+ }, z.core.$strip>, z.ZodObject<{
132
+ id: z.ZodString;
133
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
134
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
135
+ config: z.ZodObject<{}, z.core.$strip>;
136
+ isActive: z.ZodBoolean;
137
+ createdAt: z.ZodString;
138
+ updatedAt: z.ZodString;
131
139
  }, z.core.$strip>], "templateKey">;
132
140
  type EmailNotificationConfiguration = z.infer<typeof emailNotificationConfigurationSchema>;
133
141
  declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -229,6 +237,13 @@ declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUn
229
237
  isActive: z.ZodBoolean;
230
238
  createdAt: z.ZodString;
231
239
  updatedAt: z.ZodString;
240
+ }, z.core.$strip>, z.ZodObject<{
241
+ id: z.ZodString;
242
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
243
+ config: z.ZodObject<{}, z.core.$strip>;
244
+ isActive: z.ZodBoolean;
245
+ createdAt: z.ZodString;
246
+ updatedAt: z.ZodString;
232
247
  }, z.core.$strip>], "templateKey">;
233
248
  type EmailNotificationConfigurationListItem = z.infer<typeof emailNotificationConfigurationSchemaListItem>;
234
249
  declare const writableUpdateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
@@ -303,6 +318,10 @@ declare const writableUpdateEmailNotificationConfigurationSchema: z.ZodUnion<rea
303
318
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
304
319
  config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
305
320
  isActive: z.ZodOptional<z.ZodBoolean>;
321
+ }, z.core.$strip>, z.ZodObject<{
322
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
323
+ config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
324
+ isActive: z.ZodOptional<z.ZodBoolean>;
306
325
  }, z.core.$strip>]>;
307
326
  type WritableUpdateEmailNotificationConfiguration = z.infer<typeof writableUpdateEmailNotificationConfigurationSchema>;
308
327
  declare const writableCreateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
@@ -386,6 +405,11 @@ declare const writableCreateEmailNotificationConfigurationSchema: z.ZodUnion<rea
386
405
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
387
406
  config: z.ZodObject<{}, z.core.$strip>;
388
407
  isActive: z.ZodBoolean;
408
+ }, z.core.$strip>, z.ZodObject<{
409
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
410
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
411
+ config: z.ZodObject<{}, z.core.$strip>;
412
+ isActive: z.ZodBoolean;
389
413
  }, z.core.$strip>]>;
390
414
  type WritableCreateEmailNotificationConfiguration = z.infer<typeof writableCreateEmailNotificationConfigurationSchema>;
391
415
  declare const emailNotificationConfigurationsQuerySchema: z.ZodObject<{
@@ -400,6 +424,7 @@ declare const emailNotificationConfigurationsQuerySchema: z.ZodObject<{
400
424
  subscription_expiring: "subscription_expiring";
401
425
  subscription_low_credits: "subscription_low_credits";
402
426
  subscription_pending_renewal: "subscription_pending_renewal";
427
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
403
428
  }>, z.ZodArray<z.ZodEnum<{
404
429
  delivery_started: "delivery_started";
405
430
  delivery_taken_over: "delivery_taken_over";
@@ -410,6 +435,7 @@ declare const emailNotificationConfigurationsQuerySchema: z.ZodObject<{
410
435
  subscription_expiring: "subscription_expiring";
411
436
  subscription_low_credits: "subscription_low_credits";
412
437
  subscription_pending_renewal: "subscription_pending_renewal";
438
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
413
439
  }>>]>>;
414
440
  'order[createdAt]': z.ZodOptional<z.ZodEnum<{
415
441
  asc: "asc";
@@ -512,6 +538,11 @@ declare const createEmailNotificationConfigurationInputSchema: z.ZodUnion<readon
512
538
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
513
539
  config: z.ZodObject<{}, z.core.$strip>;
514
540
  isActive: z.ZodBoolean;
541
+ }, z.core.$strip>, z.ZodObject<{
542
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
543
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
544
+ config: z.ZodObject<{}, z.core.$strip>;
545
+ isActive: z.ZodBoolean;
515
546
  }, z.core.$strip>]>;
516
547
  type CreateEmailNotificationConfigurationInput = z.input<typeof createEmailNotificationConfigurationInputSchema>;
517
548
  declare const createEmailNotificationConfigurationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -622,6 +653,14 @@ declare const createEmailNotificationConfigurationResponseSchema: z.ZodDiscrimin
622
653
  isActive: z.ZodBoolean;
623
654
  createdAt: z.ZodString;
624
655
  updatedAt: z.ZodString;
656
+ }, z.core.$strip>, z.ZodObject<{
657
+ id: z.ZodString;
658
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
659
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
660
+ config: z.ZodObject<{}, z.core.$strip>;
661
+ isActive: z.ZodBoolean;
662
+ createdAt: z.ZodString;
663
+ updatedAt: z.ZodString;
625
664
  }, z.core.$strip>], "templateKey">;
626
665
  type CreateEmailNotificationConfigurationResponse = z.infer<typeof createEmailNotificationConfigurationResponseSchema>;
627
666
  declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<typeof createEmailNotificationConfigurationInputSchema, typeof createEmailNotificationConfigurationResponseSchema> {
@@ -709,6 +748,11 @@ declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<ty
709
748
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
710
749
  config: z.ZodObject<{}, z.core.$strip>;
711
750
  isActive: z.ZodBoolean;
751
+ }, z.core.$strip>, z.ZodObject<{
752
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
753
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
754
+ config: z.ZodObject<{}, z.core.$strip>;
755
+ isActive: z.ZodBoolean;
712
756
  }, z.core.$strip>]>;
713
757
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
714
758
  id: z.ZodString;
@@ -818,6 +862,14 @@ declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<ty
818
862
  isActive: z.ZodBoolean;
819
863
  createdAt: z.ZodString;
820
864
  updatedAt: z.ZodString;
865
+ }, z.core.$strip>, z.ZodObject<{
866
+ id: z.ZodString;
867
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
868
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
869
+ config: z.ZodObject<{}, z.core.$strip>;
870
+ isActive: z.ZodBoolean;
871
+ createdAt: z.ZodString;
872
+ updatedAt: z.ZodString;
821
873
  }, z.core.$strip>], "templateKey">;
822
874
  readonly querySchema: undefined;
823
875
  readonly headersSchema: undefined;
@@ -950,6 +1002,14 @@ declare const getEmailNotificationConfigurationDetailsResponseSchema: z.ZodDiscr
950
1002
  isActive: z.ZodBoolean;
951
1003
  createdAt: z.ZodString;
952
1004
  updatedAt: z.ZodString;
1005
+ }, z.core.$strip>, z.ZodObject<{
1006
+ id: z.ZodString;
1007
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1008
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1009
+ config: z.ZodObject<{}, z.core.$strip>;
1010
+ isActive: z.ZodBoolean;
1011
+ createdAt: z.ZodString;
1012
+ updatedAt: z.ZodString;
953
1013
  }, z.core.$strip>], "templateKey">;
954
1014
  type GetEmailNotificationConfigurationDetailsResponse = z.infer<typeof getEmailNotificationConfigurationDetailsResponseSchema>;
955
1015
  declare class GetEmailNotificationConfigurationDetails extends AbstractApiRequest<typeof getEmailNotificationConfigurationDetailsInputSchema, typeof getEmailNotificationConfigurationDetailsResponseSchema> {
@@ -1065,6 +1125,14 @@ declare class GetEmailNotificationConfigurationDetails extends AbstractApiReques
1065
1125
  isActive: z.ZodBoolean;
1066
1126
  createdAt: z.ZodString;
1067
1127
  updatedAt: z.ZodString;
1128
+ }, z.core.$strip>, z.ZodObject<{
1129
+ id: z.ZodString;
1130
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1131
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1132
+ config: z.ZodObject<{}, z.core.$strip>;
1133
+ isActive: z.ZodBoolean;
1134
+ createdAt: z.ZodString;
1135
+ updatedAt: z.ZodString;
1068
1136
  }, z.core.$strip>], "templateKey">;
1069
1137
  readonly querySchema: undefined;
1070
1138
  readonly headersSchema: undefined;
@@ -1085,6 +1153,7 @@ declare const getEmailNotificationConfigurationsQuerySchema: z.ZodObject<{
1085
1153
  subscription_expiring: "subscription_expiring";
1086
1154
  subscription_low_credits: "subscription_low_credits";
1087
1155
  subscription_pending_renewal: "subscription_pending_renewal";
1156
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1088
1157
  }>, z.ZodArray<z.ZodEnum<{
1089
1158
  delivery_started: "delivery_started";
1090
1159
  delivery_taken_over: "delivery_taken_over";
@@ -1095,6 +1164,7 @@ declare const getEmailNotificationConfigurationsQuerySchema: z.ZodObject<{
1095
1164
  subscription_expiring: "subscription_expiring";
1096
1165
  subscription_low_credits: "subscription_low_credits";
1097
1166
  subscription_pending_renewal: "subscription_pending_renewal";
1167
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1098
1168
  }>>]>>;
1099
1169
  'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1100
1170
  asc: "asc";
@@ -1217,6 +1287,13 @@ declare const getEmailNotificationConfigurationsResponseSchema: z.ZodObject<{
1217
1287
  isActive: z.ZodBoolean;
1218
1288
  createdAt: z.ZodString;
1219
1289
  updatedAt: z.ZodString;
1290
+ }, z.core.$strip>, z.ZodObject<{
1291
+ id: z.ZodString;
1292
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1293
+ config: z.ZodObject<{}, z.core.$strip>;
1294
+ isActive: z.ZodBoolean;
1295
+ createdAt: z.ZodString;
1296
+ updatedAt: z.ZodString;
1220
1297
  }, z.core.$strip>], "templateKey">>;
1221
1298
  pagination: z.ZodObject<{
1222
1299
  from: z.ZodCoercedNumber<unknown>;
@@ -1333,6 +1410,13 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
1333
1410
  isActive: z.ZodBoolean;
1334
1411
  createdAt: z.ZodString;
1335
1412
  updatedAt: z.ZodString;
1413
+ }, z.core.$strip>, z.ZodObject<{
1414
+ id: z.ZodString;
1415
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1416
+ config: z.ZodObject<{}, z.core.$strip>;
1417
+ isActive: z.ZodBoolean;
1418
+ createdAt: z.ZodString;
1419
+ updatedAt: z.ZodString;
1336
1420
  }, z.core.$strip>], "templateKey">>;
1337
1421
  pagination: z.ZodObject<{
1338
1422
  from: z.ZodCoercedNumber<unknown>;
@@ -1355,6 +1439,7 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
1355
1439
  subscription_expiring: "subscription_expiring";
1356
1440
  subscription_low_credits: "subscription_low_credits";
1357
1441
  subscription_pending_renewal: "subscription_pending_renewal";
1442
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1358
1443
  }>, z.ZodArray<z.ZodEnum<{
1359
1444
  delivery_started: "delivery_started";
1360
1445
  delivery_taken_over: "delivery_taken_over";
@@ -1365,6 +1450,7 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
1365
1450
  subscription_expiring: "subscription_expiring";
1366
1451
  subscription_low_credits: "subscription_low_credits";
1367
1452
  subscription_pending_renewal: "subscription_pending_renewal";
1453
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1368
1454
  }>>]>>;
1369
1455
  'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1370
1456
  asc: "asc";
@@ -1493,6 +1579,14 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
1493
1579
  isActive: z.ZodBoolean;
1494
1580
  createdAt: z.ZodString;
1495
1581
  updatedAt: z.ZodString;
1582
+ }, z.core.$strip>, z.ZodObject<{
1583
+ id: z.ZodString;
1584
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1585
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1586
+ config: z.ZodObject<{}, z.core.$strip>;
1587
+ isActive: z.ZodBoolean;
1588
+ createdAt: z.ZodString;
1589
+ updatedAt: z.ZodString;
1496
1590
  }, z.core.$strip>], "templateKey">;
1497
1591
  readonly paginationDefaultEnabled = true;
1498
1592
  constructor(options?: {
@@ -1513,6 +1607,7 @@ declare const getEmailNotificationConfigurationsFromPointOfSaleQuerySchema: z.Zo
1513
1607
  subscription_expiring: "subscription_expiring";
1514
1608
  subscription_low_credits: "subscription_low_credits";
1515
1609
  subscription_pending_renewal: "subscription_pending_renewal";
1610
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1516
1611
  }>, z.ZodArray<z.ZodEnum<{
1517
1612
  delivery_started: "delivery_started";
1518
1613
  delivery_taken_over: "delivery_taken_over";
@@ -1523,6 +1618,7 @@ declare const getEmailNotificationConfigurationsFromPointOfSaleQuerySchema: z.Zo
1523
1618
  subscription_expiring: "subscription_expiring";
1524
1619
  subscription_low_credits: "subscription_low_credits";
1525
1620
  subscription_pending_renewal: "subscription_pending_renewal";
1621
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1526
1622
  }>>]>>;
1527
1623
  'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1528
1624
  asc: "asc";
@@ -1644,6 +1740,13 @@ declare const getEmailNotificationConfigurationsFromPointOfSaleResponseSchema: z
1644
1740
  isActive: z.ZodBoolean;
1645
1741
  createdAt: z.ZodString;
1646
1742
  updatedAt: z.ZodString;
1743
+ }, z.core.$strip>, z.ZodObject<{
1744
+ id: z.ZodString;
1745
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1746
+ config: z.ZodObject<{}, z.core.$strip>;
1747
+ isActive: z.ZodBoolean;
1748
+ createdAt: z.ZodString;
1749
+ updatedAt: z.ZodString;
1647
1750
  }, z.core.$strip>], "templateKey">>;
1648
1751
  type GetEmailNotificationConfigurationsFromPointOfSaleResponse = z.infer<typeof getEmailNotificationConfigurationsFromPointOfSaleResponseSchema>;
1649
1752
  declare class GetEmailNotificationConfigurationsFromPointOfSale extends AbstractApiRequest<typeof getEmailNotificationConfigurationsFromPointOfSaleInputSchema, typeof getEmailNotificationConfigurationsFromPointOfSaleResponseSchema, GetEmailNotificationConfigurationsFromPointOfSaleQueryParams> {
@@ -1750,6 +1853,13 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1750
1853
  isActive: z.ZodBoolean;
1751
1854
  createdAt: z.ZodString;
1752
1855
  updatedAt: z.ZodString;
1856
+ }, z.core.$strip>, z.ZodObject<{
1857
+ id: z.ZodString;
1858
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1859
+ config: z.ZodObject<{}, z.core.$strip>;
1860
+ isActive: z.ZodBoolean;
1861
+ createdAt: z.ZodString;
1862
+ updatedAt: z.ZodString;
1753
1863
  }, z.core.$strip>], "templateKey">>;
1754
1864
  readonly querySchema: z.ZodObject<{
1755
1865
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
@@ -1763,6 +1873,7 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1763
1873
  subscription_expiring: "subscription_expiring";
1764
1874
  subscription_low_credits: "subscription_low_credits";
1765
1875
  subscription_pending_renewal: "subscription_pending_renewal";
1876
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1766
1877
  }>, z.ZodArray<z.ZodEnum<{
1767
1878
  delivery_started: "delivery_started";
1768
1879
  delivery_taken_over: "delivery_taken_over";
@@ -1773,6 +1884,7 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1773
1884
  subscription_expiring: "subscription_expiring";
1774
1885
  subscription_low_credits: "subscription_low_credits";
1775
1886
  subscription_pending_renewal: "subscription_pending_renewal";
1887
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1776
1888
  }>>]>>;
1777
1889
  'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1778
1890
  asc: "asc";
@@ -1901,6 +2013,14 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1901
2013
  isActive: z.ZodBoolean;
1902
2014
  createdAt: z.ZodString;
1903
2015
  updatedAt: z.ZodString;
2016
+ }, z.core.$strip>, z.ZodObject<{
2017
+ id: z.ZodString;
2018
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2019
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
2020
+ config: z.ZodObject<{}, z.core.$strip>;
2021
+ isActive: z.ZodBoolean;
2022
+ createdAt: z.ZodString;
2023
+ updatedAt: z.ZodString;
1904
2024
  }, z.core.$strip>], "templateKey">;
1905
2025
  readonly paginationDefaultEnabled = false;
1906
2026
  private readonly pointOfSaleId;
@@ -1982,6 +2102,10 @@ declare const updateEmailNotificationConfigurationInputSchema: z.ZodUnion<readon
1982
2102
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
1983
2103
  config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
1984
2104
  isActive: z.ZodOptional<z.ZodBoolean>;
2105
+ }, z.core.$strip>, z.ZodObject<{
2106
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
2107
+ config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
2108
+ isActive: z.ZodOptional<z.ZodBoolean>;
1985
2109
  }, z.core.$strip>]>;
1986
2110
  type UpdateEmailNotificationConfigurationInput = z.input<typeof updateEmailNotificationConfigurationInputSchema>;
1987
2111
  declare const updateEmailNotificationConfigurationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2092,6 +2216,14 @@ declare const updateEmailNotificationConfigurationResponseSchema: z.ZodDiscrimin
2092
2216
  isActive: z.ZodBoolean;
2093
2217
  createdAt: z.ZodString;
2094
2218
  updatedAt: z.ZodString;
2219
+ }, z.core.$strip>, z.ZodObject<{
2220
+ id: z.ZodString;
2221
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2222
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
2223
+ config: z.ZodObject<{}, z.core.$strip>;
2224
+ isActive: z.ZodBoolean;
2225
+ createdAt: z.ZodString;
2226
+ updatedAt: z.ZodString;
2095
2227
  }, z.core.$strip>], "templateKey">;
2096
2228
  type UpdateEmailNotificationConfigurationResponse = z.infer<typeof updateEmailNotificationConfigurationResponseSchema>;
2097
2229
  declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<typeof updateEmailNotificationConfigurationInputSchema, typeof updateEmailNotificationConfigurationResponseSchema> {
@@ -2170,6 +2302,10 @@ declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<ty
2170
2302
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
2171
2303
  config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
2172
2304
  isActive: z.ZodOptional<z.ZodBoolean>;
2305
+ }, z.core.$strip>, z.ZodObject<{
2306
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
2307
+ config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
2308
+ isActive: z.ZodOptional<z.ZodBoolean>;
2173
2309
  }, z.core.$strip>]>;
2174
2310
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2175
2311
  id: z.ZodString;
@@ -2279,6 +2415,14 @@ declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<ty
2279
2415
  isActive: z.ZodBoolean;
2280
2416
  createdAt: z.ZodString;
2281
2417
  updatedAt: z.ZodString;
2418
+ }, z.core.$strip>, z.ZodObject<{
2419
+ id: z.ZodString;
2420
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2421
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
2422
+ config: z.ZodObject<{}, z.core.$strip>;
2423
+ isActive: z.ZodBoolean;
2424
+ createdAt: z.ZodString;
2425
+ updatedAt: z.ZodString;
2282
2426
  }, z.core.$strip>], "templateKey">;
2283
2427
  readonly querySchema: undefined;
2284
2428
  readonly headersSchema: undefined;
package/dist/index.d.ts CHANGED
@@ -128,6 +128,14 @@ declare const emailNotificationConfigurationSchema: z.ZodDiscriminatedUnion<[z.Z
128
128
  isActive: z.ZodBoolean;
129
129
  createdAt: z.ZodString;
130
130
  updatedAt: z.ZodString;
131
+ }, z.core.$strip>, z.ZodObject<{
132
+ id: z.ZodString;
133
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
134
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
135
+ config: z.ZodObject<{}, z.core.$strip>;
136
+ isActive: z.ZodBoolean;
137
+ createdAt: z.ZodString;
138
+ updatedAt: z.ZodString;
131
139
  }, z.core.$strip>], "templateKey">;
132
140
  type EmailNotificationConfiguration = z.infer<typeof emailNotificationConfigurationSchema>;
133
141
  declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -229,6 +237,13 @@ declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUn
229
237
  isActive: z.ZodBoolean;
230
238
  createdAt: z.ZodString;
231
239
  updatedAt: z.ZodString;
240
+ }, z.core.$strip>, z.ZodObject<{
241
+ id: z.ZodString;
242
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
243
+ config: z.ZodObject<{}, z.core.$strip>;
244
+ isActive: z.ZodBoolean;
245
+ createdAt: z.ZodString;
246
+ updatedAt: z.ZodString;
232
247
  }, z.core.$strip>], "templateKey">;
233
248
  type EmailNotificationConfigurationListItem = z.infer<typeof emailNotificationConfigurationSchemaListItem>;
234
249
  declare const writableUpdateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
@@ -303,6 +318,10 @@ declare const writableUpdateEmailNotificationConfigurationSchema: z.ZodUnion<rea
303
318
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
304
319
  config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
305
320
  isActive: z.ZodOptional<z.ZodBoolean>;
321
+ }, z.core.$strip>, z.ZodObject<{
322
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
323
+ config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
324
+ isActive: z.ZodOptional<z.ZodBoolean>;
306
325
  }, z.core.$strip>]>;
307
326
  type WritableUpdateEmailNotificationConfiguration = z.infer<typeof writableUpdateEmailNotificationConfigurationSchema>;
308
327
  declare const writableCreateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
@@ -386,6 +405,11 @@ declare const writableCreateEmailNotificationConfigurationSchema: z.ZodUnion<rea
386
405
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
387
406
  config: z.ZodObject<{}, z.core.$strip>;
388
407
  isActive: z.ZodBoolean;
408
+ }, z.core.$strip>, z.ZodObject<{
409
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
410
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
411
+ config: z.ZodObject<{}, z.core.$strip>;
412
+ isActive: z.ZodBoolean;
389
413
  }, z.core.$strip>]>;
390
414
  type WritableCreateEmailNotificationConfiguration = z.infer<typeof writableCreateEmailNotificationConfigurationSchema>;
391
415
  declare const emailNotificationConfigurationsQuerySchema: z.ZodObject<{
@@ -400,6 +424,7 @@ declare const emailNotificationConfigurationsQuerySchema: z.ZodObject<{
400
424
  subscription_expiring: "subscription_expiring";
401
425
  subscription_low_credits: "subscription_low_credits";
402
426
  subscription_pending_renewal: "subscription_pending_renewal";
427
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
403
428
  }>, z.ZodArray<z.ZodEnum<{
404
429
  delivery_started: "delivery_started";
405
430
  delivery_taken_over: "delivery_taken_over";
@@ -410,6 +435,7 @@ declare const emailNotificationConfigurationsQuerySchema: z.ZodObject<{
410
435
  subscription_expiring: "subscription_expiring";
411
436
  subscription_low_credits: "subscription_low_credits";
412
437
  subscription_pending_renewal: "subscription_pending_renewal";
438
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
413
439
  }>>]>>;
414
440
  'order[createdAt]': z.ZodOptional<z.ZodEnum<{
415
441
  asc: "asc";
@@ -512,6 +538,11 @@ declare const createEmailNotificationConfigurationInputSchema: z.ZodUnion<readon
512
538
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
513
539
  config: z.ZodObject<{}, z.core.$strip>;
514
540
  isActive: z.ZodBoolean;
541
+ }, z.core.$strip>, z.ZodObject<{
542
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
543
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
544
+ config: z.ZodObject<{}, z.core.$strip>;
545
+ isActive: z.ZodBoolean;
515
546
  }, z.core.$strip>]>;
516
547
  type CreateEmailNotificationConfigurationInput = z.input<typeof createEmailNotificationConfigurationInputSchema>;
517
548
  declare const createEmailNotificationConfigurationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -622,6 +653,14 @@ declare const createEmailNotificationConfigurationResponseSchema: z.ZodDiscrimin
622
653
  isActive: z.ZodBoolean;
623
654
  createdAt: z.ZodString;
624
655
  updatedAt: z.ZodString;
656
+ }, z.core.$strip>, z.ZodObject<{
657
+ id: z.ZodString;
658
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
659
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
660
+ config: z.ZodObject<{}, z.core.$strip>;
661
+ isActive: z.ZodBoolean;
662
+ createdAt: z.ZodString;
663
+ updatedAt: z.ZodString;
625
664
  }, z.core.$strip>], "templateKey">;
626
665
  type CreateEmailNotificationConfigurationResponse = z.infer<typeof createEmailNotificationConfigurationResponseSchema>;
627
666
  declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<typeof createEmailNotificationConfigurationInputSchema, typeof createEmailNotificationConfigurationResponseSchema> {
@@ -709,6 +748,11 @@ declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<ty
709
748
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
710
749
  config: z.ZodObject<{}, z.core.$strip>;
711
750
  isActive: z.ZodBoolean;
751
+ }, z.core.$strip>, z.ZodObject<{
752
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
753
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
754
+ config: z.ZodObject<{}, z.core.$strip>;
755
+ isActive: z.ZodBoolean;
712
756
  }, z.core.$strip>]>;
713
757
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
714
758
  id: z.ZodString;
@@ -818,6 +862,14 @@ declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<ty
818
862
  isActive: z.ZodBoolean;
819
863
  createdAt: z.ZodString;
820
864
  updatedAt: z.ZodString;
865
+ }, z.core.$strip>, z.ZodObject<{
866
+ id: z.ZodString;
867
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
868
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
869
+ config: z.ZodObject<{}, z.core.$strip>;
870
+ isActive: z.ZodBoolean;
871
+ createdAt: z.ZodString;
872
+ updatedAt: z.ZodString;
821
873
  }, z.core.$strip>], "templateKey">;
822
874
  readonly querySchema: undefined;
823
875
  readonly headersSchema: undefined;
@@ -950,6 +1002,14 @@ declare const getEmailNotificationConfigurationDetailsResponseSchema: z.ZodDiscr
950
1002
  isActive: z.ZodBoolean;
951
1003
  createdAt: z.ZodString;
952
1004
  updatedAt: z.ZodString;
1005
+ }, z.core.$strip>, z.ZodObject<{
1006
+ id: z.ZodString;
1007
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1008
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1009
+ config: z.ZodObject<{}, z.core.$strip>;
1010
+ isActive: z.ZodBoolean;
1011
+ createdAt: z.ZodString;
1012
+ updatedAt: z.ZodString;
953
1013
  }, z.core.$strip>], "templateKey">;
954
1014
  type GetEmailNotificationConfigurationDetailsResponse = z.infer<typeof getEmailNotificationConfigurationDetailsResponseSchema>;
955
1015
  declare class GetEmailNotificationConfigurationDetails extends AbstractApiRequest<typeof getEmailNotificationConfigurationDetailsInputSchema, typeof getEmailNotificationConfigurationDetailsResponseSchema> {
@@ -1065,6 +1125,14 @@ declare class GetEmailNotificationConfigurationDetails extends AbstractApiReques
1065
1125
  isActive: z.ZodBoolean;
1066
1126
  createdAt: z.ZodString;
1067
1127
  updatedAt: z.ZodString;
1128
+ }, z.core.$strip>, z.ZodObject<{
1129
+ id: z.ZodString;
1130
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1131
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1132
+ config: z.ZodObject<{}, z.core.$strip>;
1133
+ isActive: z.ZodBoolean;
1134
+ createdAt: z.ZodString;
1135
+ updatedAt: z.ZodString;
1068
1136
  }, z.core.$strip>], "templateKey">;
1069
1137
  readonly querySchema: undefined;
1070
1138
  readonly headersSchema: undefined;
@@ -1085,6 +1153,7 @@ declare const getEmailNotificationConfigurationsQuerySchema: z.ZodObject<{
1085
1153
  subscription_expiring: "subscription_expiring";
1086
1154
  subscription_low_credits: "subscription_low_credits";
1087
1155
  subscription_pending_renewal: "subscription_pending_renewal";
1156
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1088
1157
  }>, z.ZodArray<z.ZodEnum<{
1089
1158
  delivery_started: "delivery_started";
1090
1159
  delivery_taken_over: "delivery_taken_over";
@@ -1095,6 +1164,7 @@ declare const getEmailNotificationConfigurationsQuerySchema: z.ZodObject<{
1095
1164
  subscription_expiring: "subscription_expiring";
1096
1165
  subscription_low_credits: "subscription_low_credits";
1097
1166
  subscription_pending_renewal: "subscription_pending_renewal";
1167
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1098
1168
  }>>]>>;
1099
1169
  'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1100
1170
  asc: "asc";
@@ -1217,6 +1287,13 @@ declare const getEmailNotificationConfigurationsResponseSchema: z.ZodObject<{
1217
1287
  isActive: z.ZodBoolean;
1218
1288
  createdAt: z.ZodString;
1219
1289
  updatedAt: z.ZodString;
1290
+ }, z.core.$strip>, z.ZodObject<{
1291
+ id: z.ZodString;
1292
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1293
+ config: z.ZodObject<{}, z.core.$strip>;
1294
+ isActive: z.ZodBoolean;
1295
+ createdAt: z.ZodString;
1296
+ updatedAt: z.ZodString;
1220
1297
  }, z.core.$strip>], "templateKey">>;
1221
1298
  pagination: z.ZodObject<{
1222
1299
  from: z.ZodCoercedNumber<unknown>;
@@ -1333,6 +1410,13 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
1333
1410
  isActive: z.ZodBoolean;
1334
1411
  createdAt: z.ZodString;
1335
1412
  updatedAt: z.ZodString;
1413
+ }, z.core.$strip>, z.ZodObject<{
1414
+ id: z.ZodString;
1415
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1416
+ config: z.ZodObject<{}, z.core.$strip>;
1417
+ isActive: z.ZodBoolean;
1418
+ createdAt: z.ZodString;
1419
+ updatedAt: z.ZodString;
1336
1420
  }, z.core.$strip>], "templateKey">>;
1337
1421
  pagination: z.ZodObject<{
1338
1422
  from: z.ZodCoercedNumber<unknown>;
@@ -1355,6 +1439,7 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
1355
1439
  subscription_expiring: "subscription_expiring";
1356
1440
  subscription_low_credits: "subscription_low_credits";
1357
1441
  subscription_pending_renewal: "subscription_pending_renewal";
1442
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1358
1443
  }>, z.ZodArray<z.ZodEnum<{
1359
1444
  delivery_started: "delivery_started";
1360
1445
  delivery_taken_over: "delivery_taken_over";
@@ -1365,6 +1450,7 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
1365
1450
  subscription_expiring: "subscription_expiring";
1366
1451
  subscription_low_credits: "subscription_low_credits";
1367
1452
  subscription_pending_renewal: "subscription_pending_renewal";
1453
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1368
1454
  }>>]>>;
1369
1455
  'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1370
1456
  asc: "asc";
@@ -1493,6 +1579,14 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
1493
1579
  isActive: z.ZodBoolean;
1494
1580
  createdAt: z.ZodString;
1495
1581
  updatedAt: z.ZodString;
1582
+ }, z.core.$strip>, z.ZodObject<{
1583
+ id: z.ZodString;
1584
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
1585
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1586
+ config: z.ZodObject<{}, z.core.$strip>;
1587
+ isActive: z.ZodBoolean;
1588
+ createdAt: z.ZodString;
1589
+ updatedAt: z.ZodString;
1496
1590
  }, z.core.$strip>], "templateKey">;
1497
1591
  readonly paginationDefaultEnabled = true;
1498
1592
  constructor(options?: {
@@ -1513,6 +1607,7 @@ declare const getEmailNotificationConfigurationsFromPointOfSaleQuerySchema: z.Zo
1513
1607
  subscription_expiring: "subscription_expiring";
1514
1608
  subscription_low_credits: "subscription_low_credits";
1515
1609
  subscription_pending_renewal: "subscription_pending_renewal";
1610
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1516
1611
  }>, z.ZodArray<z.ZodEnum<{
1517
1612
  delivery_started: "delivery_started";
1518
1613
  delivery_taken_over: "delivery_taken_over";
@@ -1523,6 +1618,7 @@ declare const getEmailNotificationConfigurationsFromPointOfSaleQuerySchema: z.Zo
1523
1618
  subscription_expiring: "subscription_expiring";
1524
1619
  subscription_low_credits: "subscription_low_credits";
1525
1620
  subscription_pending_renewal: "subscription_pending_renewal";
1621
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1526
1622
  }>>]>>;
1527
1623
  'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1528
1624
  asc: "asc";
@@ -1644,6 +1740,13 @@ declare const getEmailNotificationConfigurationsFromPointOfSaleResponseSchema: z
1644
1740
  isActive: z.ZodBoolean;
1645
1741
  createdAt: z.ZodString;
1646
1742
  updatedAt: z.ZodString;
1743
+ }, z.core.$strip>, z.ZodObject<{
1744
+ id: z.ZodString;
1745
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1746
+ config: z.ZodObject<{}, z.core.$strip>;
1747
+ isActive: z.ZodBoolean;
1748
+ createdAt: z.ZodString;
1749
+ updatedAt: z.ZodString;
1647
1750
  }, z.core.$strip>], "templateKey">>;
1648
1751
  type GetEmailNotificationConfigurationsFromPointOfSaleResponse = z.infer<typeof getEmailNotificationConfigurationsFromPointOfSaleResponseSchema>;
1649
1752
  declare class GetEmailNotificationConfigurationsFromPointOfSale extends AbstractApiRequest<typeof getEmailNotificationConfigurationsFromPointOfSaleInputSchema, typeof getEmailNotificationConfigurationsFromPointOfSaleResponseSchema, GetEmailNotificationConfigurationsFromPointOfSaleQueryParams> {
@@ -1750,6 +1853,13 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1750
1853
  isActive: z.ZodBoolean;
1751
1854
  createdAt: z.ZodString;
1752
1855
  updatedAt: z.ZodString;
1856
+ }, z.core.$strip>, z.ZodObject<{
1857
+ id: z.ZodString;
1858
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
1859
+ config: z.ZodObject<{}, z.core.$strip>;
1860
+ isActive: z.ZodBoolean;
1861
+ createdAt: z.ZodString;
1862
+ updatedAt: z.ZodString;
1753
1863
  }, z.core.$strip>], "templateKey">>;
1754
1864
  readonly querySchema: z.ZodObject<{
1755
1865
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
@@ -1763,6 +1873,7 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1763
1873
  subscription_expiring: "subscription_expiring";
1764
1874
  subscription_low_credits: "subscription_low_credits";
1765
1875
  subscription_pending_renewal: "subscription_pending_renewal";
1876
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1766
1877
  }>, z.ZodArray<z.ZodEnum<{
1767
1878
  delivery_started: "delivery_started";
1768
1879
  delivery_taken_over: "delivery_taken_over";
@@ -1773,6 +1884,7 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1773
1884
  subscription_expiring: "subscription_expiring";
1774
1885
  subscription_low_credits: "subscription_low_credits";
1775
1886
  subscription_pending_renewal: "subscription_pending_renewal";
1887
+ subscription_payment_pending_verification: "subscription_payment_pending_verification";
1776
1888
  }>>]>>;
1777
1889
  'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1778
1890
  asc: "asc";
@@ -1901,6 +2013,14 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1901
2013
  isActive: z.ZodBoolean;
1902
2014
  createdAt: z.ZodString;
1903
2015
  updatedAt: z.ZodString;
2016
+ }, z.core.$strip>, z.ZodObject<{
2017
+ id: z.ZodString;
2018
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2019
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
2020
+ config: z.ZodObject<{}, z.core.$strip>;
2021
+ isActive: z.ZodBoolean;
2022
+ createdAt: z.ZodString;
2023
+ updatedAt: z.ZodString;
1904
2024
  }, z.core.$strip>], "templateKey">;
1905
2025
  readonly paginationDefaultEnabled = false;
1906
2026
  private readonly pointOfSaleId;
@@ -1982,6 +2102,10 @@ declare const updateEmailNotificationConfigurationInputSchema: z.ZodUnion<readon
1982
2102
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
1983
2103
  config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
1984
2104
  isActive: z.ZodOptional<z.ZodBoolean>;
2105
+ }, z.core.$strip>, z.ZodObject<{
2106
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
2107
+ config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
2108
+ isActive: z.ZodOptional<z.ZodBoolean>;
1985
2109
  }, z.core.$strip>]>;
1986
2110
  type UpdateEmailNotificationConfigurationInput = z.input<typeof updateEmailNotificationConfigurationInputSchema>;
1987
2111
  declare const updateEmailNotificationConfigurationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2092,6 +2216,14 @@ declare const updateEmailNotificationConfigurationResponseSchema: z.ZodDiscrimin
2092
2216
  isActive: z.ZodBoolean;
2093
2217
  createdAt: z.ZodString;
2094
2218
  updatedAt: z.ZodString;
2219
+ }, z.core.$strip>, z.ZodObject<{
2220
+ id: z.ZodString;
2221
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2222
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
2223
+ config: z.ZodObject<{}, z.core.$strip>;
2224
+ isActive: z.ZodBoolean;
2225
+ createdAt: z.ZodString;
2226
+ updatedAt: z.ZodString;
2095
2227
  }, z.core.$strip>], "templateKey">;
2096
2228
  type UpdateEmailNotificationConfigurationResponse = z.infer<typeof updateEmailNotificationConfigurationResponseSchema>;
2097
2229
  declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<typeof updateEmailNotificationConfigurationInputSchema, typeof updateEmailNotificationConfigurationResponseSchema> {
@@ -2170,6 +2302,10 @@ declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<ty
2170
2302
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
2171
2303
  config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
2172
2304
  isActive: z.ZodOptional<z.ZodBoolean>;
2305
+ }, z.core.$strip>, z.ZodObject<{
2306
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
2307
+ config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
2308
+ isActive: z.ZodOptional<z.ZodBoolean>;
2173
2309
  }, z.core.$strip>]>;
2174
2310
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2175
2311
  id: z.ZodString;
@@ -2279,6 +2415,14 @@ declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<ty
2279
2415
  isActive: z.ZodBoolean;
2280
2416
  createdAt: z.ZodString;
2281
2417
  updatedAt: z.ZodString;
2418
+ }, z.core.$strip>, z.ZodObject<{
2419
+ id: z.ZodString;
2420
+ pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
2421
+ templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
2422
+ config: z.ZodObject<{}, z.core.$strip>;
2423
+ isActive: z.ZodBoolean;
2424
+ createdAt: z.ZodString;
2425
+ updatedAt: z.ZodString;
2282
2426
  }, z.core.$strip>], "templateKey">;
2283
2427
  readonly querySchema: undefined;
2284
2428
  readonly headersSchema: undefined;
package/dist/index.js CHANGED
@@ -13872,6 +13872,15 @@ var emailNotificationConfigurationSchema = external_exports.discriminatedUnion("
13872
13872
  isActive: external_exports.boolean(),
13873
13873
  createdAt: datetimeSchema,
13874
13874
  updatedAt: datetimeSchema
13875
+ }),
13876
+ external_exports.object({
13877
+ id: external_exports.string(),
13878
+ pointOfSale: pointOfSaleIriSchema,
13879
+ templateKey: external_exports.literal("subscription_payment_pending_verification"),
13880
+ config: emptyEmailNotificationConfigurationConfigSchema,
13881
+ isActive: external_exports.boolean(),
13882
+ createdAt: datetimeSchema,
13883
+ updatedAt: datetimeSchema
13875
13884
  })
13876
13885
  ]);
13877
13886
  var emailNotificationConfigurationSchemaListItem = external_exports.discriminatedUnion("templateKey", [
@@ -13946,6 +13955,14 @@ var emailNotificationConfigurationSchemaListItem = external_exports.discriminate
13946
13955
  isActive: external_exports.boolean(),
13947
13956
  createdAt: datetimeSchema,
13948
13957
  updatedAt: datetimeSchema
13958
+ }),
13959
+ external_exports.object({
13960
+ id: external_exports.string(),
13961
+ templateKey: external_exports.literal("subscription_payment_pending_verification"),
13962
+ config: emptyEmailNotificationConfigurationConfigSchema,
13963
+ isActive: external_exports.boolean(),
13964
+ createdAt: datetimeSchema,
13965
+ updatedAt: datetimeSchema
13949
13966
  })
13950
13967
  ]);
13951
13968
  var writableUpdateEmailNotificationConfigurationSchema = external_exports.union([
@@ -13993,6 +14010,11 @@ var writableUpdateEmailNotificationConfigurationSchema = external_exports.union(
13993
14010
  templateKey: external_exports.literal("subscription_pending_renewal"),
13994
14011
  config: emptyEmailNotificationConfigurationConfigSchema.optional(),
13995
14012
  isActive: external_exports.boolean().optional()
14013
+ }),
14014
+ external_exports.object({
14015
+ templateKey: external_exports.literal("subscription_payment_pending_verification"),
14016
+ config: emptyEmailNotificationConfigurationConfigSchema.optional(),
14017
+ isActive: external_exports.boolean().optional()
13996
14018
  })
13997
14019
  ]);
13998
14020
  var writableCreateEmailNotificationConfigurationSchema = external_exports.union([
@@ -14049,6 +14071,12 @@ var writableCreateEmailNotificationConfigurationSchema = external_exports.union(
14049
14071
  templateKey: external_exports.literal("subscription_pending_renewal"),
14050
14072
  config: emptyEmailNotificationConfigurationConfigSchema,
14051
14073
  isActive: external_exports.boolean()
14074
+ }),
14075
+ external_exports.object({
14076
+ pointOfSale: pointOfSaleIriSchema,
14077
+ templateKey: external_exports.literal("subscription_payment_pending_verification"),
14078
+ config: emptyEmailNotificationConfigurationConfigSchema,
14079
+ isActive: external_exports.boolean()
14052
14080
  })
14053
14081
  ]);
14054
14082
  var emailNotificationConfigurationsQuerySchema = external_exports.object({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-email-notification-configuration",
3
3
  "description": "Deliverart JavaScript SDK for Email Notification Configuration",
4
- "version": "2.14.1",
4
+ "version": "2.14.3",
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.14.1",
22
- "@deliverart/sdk-js-global-types": "2.14.1",
23
- "@deliverart/sdk-js-point-of-sale": "2.14.1"
21
+ "@deliverart/sdk-js-global-types": "2.14.3",
22
+ "@deliverart/sdk-js-core": "2.14.3",
23
+ "@deliverart/sdk-js-point-of-sale": "2.14.3"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public"