@deliverart/sdk-js-email-notification-configuration 2.8.14 → 2.8.15
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 +5108 -2483
- package/dist/index.d.cts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.js +5108 -2483
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -94,7 +94,7 @@ declare const emailNotificationConfigurationSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
94
94
|
isActive: z.ZodBoolean;
|
|
95
95
|
createdAt: z.ZodString;
|
|
96
96
|
updatedAt: z.ZodString;
|
|
97
|
-
}, z.core.$strip>]>;
|
|
97
|
+
}, z.core.$strip>], "templateKey">;
|
|
98
98
|
type EmailNotificationConfiguration = z.infer<typeof emailNotificationConfigurationSchema>;
|
|
99
99
|
declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
100
100
|
id: z.ZodString;
|
|
@@ -174,7 +174,7 @@ declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUn
|
|
|
174
174
|
isActive: z.ZodBoolean;
|
|
175
175
|
createdAt: z.ZodString;
|
|
176
176
|
updatedAt: z.ZodString;
|
|
177
|
-
}, z.core.$strip>]>;
|
|
177
|
+
}, z.core.$strip>], "templateKey">;
|
|
178
178
|
type EmailNotificationConfigurationListItem = z.infer<typeof emailNotificationConfigurationSchemaListItem>;
|
|
179
179
|
declare const writableUpdateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
180
180
|
templateKey: z.ZodLiteral<"delivery_started">;
|
|
@@ -495,7 +495,7 @@ declare const createEmailNotificationConfigurationResponseSchema: z.ZodDiscrimin
|
|
|
495
495
|
isActive: z.ZodBoolean;
|
|
496
496
|
createdAt: z.ZodString;
|
|
497
497
|
updatedAt: z.ZodString;
|
|
498
|
-
}, z.core.$strip>]>;
|
|
498
|
+
}, z.core.$strip>], "templateKey">;
|
|
499
499
|
type CreateEmailNotificationConfigurationResponse = z.infer<typeof createEmailNotificationConfigurationResponseSchema>;
|
|
500
500
|
declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<typeof createEmailNotificationConfigurationInputSchema, typeof createEmailNotificationConfigurationResponseSchema> {
|
|
501
501
|
readonly method = "POST";
|
|
@@ -652,7 +652,7 @@ declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<ty
|
|
|
652
652
|
isActive: z.ZodBoolean;
|
|
653
653
|
createdAt: z.ZodString;
|
|
654
654
|
updatedAt: z.ZodString;
|
|
655
|
-
}, z.core.$strip>]>;
|
|
655
|
+
}, z.core.$strip>], "templateKey">;
|
|
656
656
|
readonly querySchema: undefined;
|
|
657
657
|
readonly headersSchema: undefined;
|
|
658
658
|
constructor(input: CreateEmailNotificationConfigurationInput);
|
|
@@ -760,7 +760,7 @@ declare const getEmailNotificationConfigurationDetailsResponseSchema: z.ZodDiscr
|
|
|
760
760
|
isActive: z.ZodBoolean;
|
|
761
761
|
createdAt: z.ZodString;
|
|
762
762
|
updatedAt: z.ZodString;
|
|
763
|
-
}, z.core.$strip>]>;
|
|
763
|
+
}, z.core.$strip>], "templateKey">;
|
|
764
764
|
type GetEmailNotificationConfigurationDetailsResponse = z.infer<typeof getEmailNotificationConfigurationDetailsResponseSchema>;
|
|
765
765
|
declare class GetEmailNotificationConfigurationDetails extends AbstractApiRequest<typeof getEmailNotificationConfigurationDetailsInputSchema, typeof getEmailNotificationConfigurationDetailsResponseSchema> {
|
|
766
766
|
readonly method = "GET";
|
|
@@ -851,7 +851,7 @@ declare class GetEmailNotificationConfigurationDetails extends AbstractApiReques
|
|
|
851
851
|
isActive: z.ZodBoolean;
|
|
852
852
|
createdAt: z.ZodString;
|
|
853
853
|
updatedAt: z.ZodString;
|
|
854
|
-
}, z.core.$strip>]>;
|
|
854
|
+
}, z.core.$strip>], "templateKey">;
|
|
855
855
|
readonly querySchema: undefined;
|
|
856
856
|
readonly headersSchema: undefined;
|
|
857
857
|
private readonly emailNotificationConfigurationId;
|
|
@@ -976,7 +976,7 @@ declare const getEmailNotificationConfigurationsResponseSchema: z.ZodObject<{
|
|
|
976
976
|
isActive: z.ZodBoolean;
|
|
977
977
|
createdAt: z.ZodString;
|
|
978
978
|
updatedAt: z.ZodString;
|
|
979
|
-
}, z.core.$strip>]>>;
|
|
979
|
+
}, z.core.$strip>], "templateKey">>;
|
|
980
980
|
pagination: z.ZodObject<{
|
|
981
981
|
from: z.ZodCoercedNumber<unknown>;
|
|
982
982
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -1071,7 +1071,7 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
|
|
|
1071
1071
|
isActive: z.ZodBoolean;
|
|
1072
1072
|
createdAt: z.ZodString;
|
|
1073
1073
|
updatedAt: z.ZodString;
|
|
1074
|
-
}, z.core.$strip>]>>;
|
|
1074
|
+
}, z.core.$strip>], "templateKey">>;
|
|
1075
1075
|
pagination: z.ZodObject<{
|
|
1076
1076
|
from: z.ZodCoercedNumber<unknown>;
|
|
1077
1077
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -1201,7 +1201,7 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
|
|
|
1201
1201
|
isActive: z.ZodBoolean;
|
|
1202
1202
|
createdAt: z.ZodString;
|
|
1203
1203
|
updatedAt: z.ZodString;
|
|
1204
|
-
}, z.core.$strip>]>;
|
|
1204
|
+
}, z.core.$strip>], "templateKey">;
|
|
1205
1205
|
readonly paginationDefaultEnabled = true;
|
|
1206
1206
|
constructor(options?: {
|
|
1207
1207
|
query?: GetEmailNotificationConfigurationsQueryParams;
|
|
@@ -1325,7 +1325,7 @@ declare const getEmailNotificationConfigurationsFromPointOfSaleResponseSchema: z
|
|
|
1325
1325
|
isActive: z.ZodBoolean;
|
|
1326
1326
|
createdAt: z.ZodString;
|
|
1327
1327
|
updatedAt: z.ZodString;
|
|
1328
|
-
}, z.core.$strip>]>>;
|
|
1328
|
+
}, z.core.$strip>], "templateKey">>;
|
|
1329
1329
|
type GetEmailNotificationConfigurationsFromPointOfSaleResponse = z.infer<typeof getEmailNotificationConfigurationsFromPointOfSaleResponseSchema>;
|
|
1330
1330
|
declare class GetEmailNotificationConfigurationsFromPointOfSale extends AbstractApiRequest<typeof getEmailNotificationConfigurationsFromPointOfSaleInputSchema, typeof getEmailNotificationConfigurationsFromPointOfSaleResponseSchema, GetEmailNotificationConfigurationsFromPointOfSaleQueryParams> {
|
|
1331
1331
|
readonly method: "GET";
|
|
@@ -1410,7 +1410,7 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
|
|
|
1410
1410
|
isActive: z.ZodBoolean;
|
|
1411
1411
|
createdAt: z.ZodString;
|
|
1412
1412
|
updatedAt: z.ZodString;
|
|
1413
|
-
}, z.core.$strip>]>>;
|
|
1413
|
+
}, z.core.$strip>], "templateKey">>;
|
|
1414
1414
|
readonly querySchema: z.ZodObject<{
|
|
1415
1415
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1416
1416
|
templateKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -1531,7 +1531,7 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
|
|
|
1531
1531
|
isActive: z.ZodBoolean;
|
|
1532
1532
|
createdAt: z.ZodString;
|
|
1533
1533
|
updatedAt: z.ZodString;
|
|
1534
|
-
}, z.core.$strip>]>;
|
|
1534
|
+
}, z.core.$strip>], "templateKey">;
|
|
1535
1535
|
readonly paginationDefaultEnabled = false;
|
|
1536
1536
|
private readonly pointOfSaleId;
|
|
1537
1537
|
constructor(pointOfSaleId: string, options?: {
|
|
@@ -1686,7 +1686,7 @@ declare const updateEmailNotificationConfigurationResponseSchema: z.ZodDiscrimin
|
|
|
1686
1686
|
isActive: z.ZodBoolean;
|
|
1687
1687
|
createdAt: z.ZodString;
|
|
1688
1688
|
updatedAt: z.ZodString;
|
|
1689
|
-
}, z.core.$strip>]>;
|
|
1689
|
+
}, z.core.$strip>], "templateKey">;
|
|
1690
1690
|
type UpdateEmailNotificationConfigurationResponse = z.infer<typeof updateEmailNotificationConfigurationResponseSchema>;
|
|
1691
1691
|
declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<typeof updateEmailNotificationConfigurationInputSchema, typeof updateEmailNotificationConfigurationResponseSchema> {
|
|
1692
1692
|
readonly method = "PATCH";
|
|
@@ -1837,7 +1837,7 @@ declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<ty
|
|
|
1837
1837
|
isActive: z.ZodBoolean;
|
|
1838
1838
|
createdAt: z.ZodString;
|
|
1839
1839
|
updatedAt: z.ZodString;
|
|
1840
|
-
}, z.core.$strip>]>;
|
|
1840
|
+
}, z.core.$strip>], "templateKey">;
|
|
1841
1841
|
readonly querySchema: undefined;
|
|
1842
1842
|
readonly headersSchema: undefined;
|
|
1843
1843
|
private readonly emailNotificationConfigurationId;
|
package/dist/index.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ declare const emailNotificationConfigurationSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
94
94
|
isActive: z.ZodBoolean;
|
|
95
95
|
createdAt: z.ZodString;
|
|
96
96
|
updatedAt: z.ZodString;
|
|
97
|
-
}, z.core.$strip>]>;
|
|
97
|
+
}, z.core.$strip>], "templateKey">;
|
|
98
98
|
type EmailNotificationConfiguration = z.infer<typeof emailNotificationConfigurationSchema>;
|
|
99
99
|
declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
100
100
|
id: z.ZodString;
|
|
@@ -174,7 +174,7 @@ declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUn
|
|
|
174
174
|
isActive: z.ZodBoolean;
|
|
175
175
|
createdAt: z.ZodString;
|
|
176
176
|
updatedAt: z.ZodString;
|
|
177
|
-
}, z.core.$strip>]>;
|
|
177
|
+
}, z.core.$strip>], "templateKey">;
|
|
178
178
|
type EmailNotificationConfigurationListItem = z.infer<typeof emailNotificationConfigurationSchemaListItem>;
|
|
179
179
|
declare const writableUpdateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
180
180
|
templateKey: z.ZodLiteral<"delivery_started">;
|
|
@@ -495,7 +495,7 @@ declare const createEmailNotificationConfigurationResponseSchema: z.ZodDiscrimin
|
|
|
495
495
|
isActive: z.ZodBoolean;
|
|
496
496
|
createdAt: z.ZodString;
|
|
497
497
|
updatedAt: z.ZodString;
|
|
498
|
-
}, z.core.$strip>]>;
|
|
498
|
+
}, z.core.$strip>], "templateKey">;
|
|
499
499
|
type CreateEmailNotificationConfigurationResponse = z.infer<typeof createEmailNotificationConfigurationResponseSchema>;
|
|
500
500
|
declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<typeof createEmailNotificationConfigurationInputSchema, typeof createEmailNotificationConfigurationResponseSchema> {
|
|
501
501
|
readonly method = "POST";
|
|
@@ -652,7 +652,7 @@ declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<ty
|
|
|
652
652
|
isActive: z.ZodBoolean;
|
|
653
653
|
createdAt: z.ZodString;
|
|
654
654
|
updatedAt: z.ZodString;
|
|
655
|
-
}, z.core.$strip>]>;
|
|
655
|
+
}, z.core.$strip>], "templateKey">;
|
|
656
656
|
readonly querySchema: undefined;
|
|
657
657
|
readonly headersSchema: undefined;
|
|
658
658
|
constructor(input: CreateEmailNotificationConfigurationInput);
|
|
@@ -760,7 +760,7 @@ declare const getEmailNotificationConfigurationDetailsResponseSchema: z.ZodDiscr
|
|
|
760
760
|
isActive: z.ZodBoolean;
|
|
761
761
|
createdAt: z.ZodString;
|
|
762
762
|
updatedAt: z.ZodString;
|
|
763
|
-
}, z.core.$strip>]>;
|
|
763
|
+
}, z.core.$strip>], "templateKey">;
|
|
764
764
|
type GetEmailNotificationConfigurationDetailsResponse = z.infer<typeof getEmailNotificationConfigurationDetailsResponseSchema>;
|
|
765
765
|
declare class GetEmailNotificationConfigurationDetails extends AbstractApiRequest<typeof getEmailNotificationConfigurationDetailsInputSchema, typeof getEmailNotificationConfigurationDetailsResponseSchema> {
|
|
766
766
|
readonly method = "GET";
|
|
@@ -851,7 +851,7 @@ declare class GetEmailNotificationConfigurationDetails extends AbstractApiReques
|
|
|
851
851
|
isActive: z.ZodBoolean;
|
|
852
852
|
createdAt: z.ZodString;
|
|
853
853
|
updatedAt: z.ZodString;
|
|
854
|
-
}, z.core.$strip>]>;
|
|
854
|
+
}, z.core.$strip>], "templateKey">;
|
|
855
855
|
readonly querySchema: undefined;
|
|
856
856
|
readonly headersSchema: undefined;
|
|
857
857
|
private readonly emailNotificationConfigurationId;
|
|
@@ -976,7 +976,7 @@ declare const getEmailNotificationConfigurationsResponseSchema: z.ZodObject<{
|
|
|
976
976
|
isActive: z.ZodBoolean;
|
|
977
977
|
createdAt: z.ZodString;
|
|
978
978
|
updatedAt: z.ZodString;
|
|
979
|
-
}, z.core.$strip>]>>;
|
|
979
|
+
}, z.core.$strip>], "templateKey">>;
|
|
980
980
|
pagination: z.ZodObject<{
|
|
981
981
|
from: z.ZodCoercedNumber<unknown>;
|
|
982
982
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -1071,7 +1071,7 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
|
|
|
1071
1071
|
isActive: z.ZodBoolean;
|
|
1072
1072
|
createdAt: z.ZodString;
|
|
1073
1073
|
updatedAt: z.ZodString;
|
|
1074
|
-
}, z.core.$strip>]>>;
|
|
1074
|
+
}, z.core.$strip>], "templateKey">>;
|
|
1075
1075
|
pagination: z.ZodObject<{
|
|
1076
1076
|
from: z.ZodCoercedNumber<unknown>;
|
|
1077
1077
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -1201,7 +1201,7 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
|
|
|
1201
1201
|
isActive: z.ZodBoolean;
|
|
1202
1202
|
createdAt: z.ZodString;
|
|
1203
1203
|
updatedAt: z.ZodString;
|
|
1204
|
-
}, z.core.$strip>]>;
|
|
1204
|
+
}, z.core.$strip>], "templateKey">;
|
|
1205
1205
|
readonly paginationDefaultEnabled = true;
|
|
1206
1206
|
constructor(options?: {
|
|
1207
1207
|
query?: GetEmailNotificationConfigurationsQueryParams;
|
|
@@ -1325,7 +1325,7 @@ declare const getEmailNotificationConfigurationsFromPointOfSaleResponseSchema: z
|
|
|
1325
1325
|
isActive: z.ZodBoolean;
|
|
1326
1326
|
createdAt: z.ZodString;
|
|
1327
1327
|
updatedAt: z.ZodString;
|
|
1328
|
-
}, z.core.$strip>]>>;
|
|
1328
|
+
}, z.core.$strip>], "templateKey">>;
|
|
1329
1329
|
type GetEmailNotificationConfigurationsFromPointOfSaleResponse = z.infer<typeof getEmailNotificationConfigurationsFromPointOfSaleResponseSchema>;
|
|
1330
1330
|
declare class GetEmailNotificationConfigurationsFromPointOfSale extends AbstractApiRequest<typeof getEmailNotificationConfigurationsFromPointOfSaleInputSchema, typeof getEmailNotificationConfigurationsFromPointOfSaleResponseSchema, GetEmailNotificationConfigurationsFromPointOfSaleQueryParams> {
|
|
1331
1331
|
readonly method: "GET";
|
|
@@ -1410,7 +1410,7 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
|
|
|
1410
1410
|
isActive: z.ZodBoolean;
|
|
1411
1411
|
createdAt: z.ZodString;
|
|
1412
1412
|
updatedAt: z.ZodString;
|
|
1413
|
-
}, z.core.$strip>]>>;
|
|
1413
|
+
}, z.core.$strip>], "templateKey">>;
|
|
1414
1414
|
readonly querySchema: z.ZodObject<{
|
|
1415
1415
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1416
1416
|
templateKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -1531,7 +1531,7 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
|
|
|
1531
1531
|
isActive: z.ZodBoolean;
|
|
1532
1532
|
createdAt: z.ZodString;
|
|
1533
1533
|
updatedAt: z.ZodString;
|
|
1534
|
-
}, z.core.$strip>]>;
|
|
1534
|
+
}, z.core.$strip>], "templateKey">;
|
|
1535
1535
|
readonly paginationDefaultEnabled = false;
|
|
1536
1536
|
private readonly pointOfSaleId;
|
|
1537
1537
|
constructor(pointOfSaleId: string, options?: {
|
|
@@ -1686,7 +1686,7 @@ declare const updateEmailNotificationConfigurationResponseSchema: z.ZodDiscrimin
|
|
|
1686
1686
|
isActive: z.ZodBoolean;
|
|
1687
1687
|
createdAt: z.ZodString;
|
|
1688
1688
|
updatedAt: z.ZodString;
|
|
1689
|
-
}, z.core.$strip>]>;
|
|
1689
|
+
}, z.core.$strip>], "templateKey">;
|
|
1690
1690
|
type UpdateEmailNotificationConfigurationResponse = z.infer<typeof updateEmailNotificationConfigurationResponseSchema>;
|
|
1691
1691
|
declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<typeof updateEmailNotificationConfigurationInputSchema, typeof updateEmailNotificationConfigurationResponseSchema> {
|
|
1692
1692
|
readonly method = "PATCH";
|
|
@@ -1837,7 +1837,7 @@ declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<ty
|
|
|
1837
1837
|
isActive: z.ZodBoolean;
|
|
1838
1838
|
createdAt: z.ZodString;
|
|
1839
1839
|
updatedAt: z.ZodString;
|
|
1840
|
-
}, z.core.$strip>]>;
|
|
1840
|
+
}, z.core.$strip>], "templateKey">;
|
|
1841
1841
|
readonly querySchema: undefined;
|
|
1842
1842
|
readonly headersSchema: undefined;
|
|
1843
1843
|
private readonly emailNotificationConfigurationId;
|