@deliverart/sdk-js-email-notification-configuration 2.8.10 → 2.8.11
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 +4 -4
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -47,7 +47,7 @@ __export(index_exports, {
|
|
|
47
47
|
updateEmailNotificationConfigurationInputSchema: () => updateEmailNotificationConfigurationInputSchema,
|
|
48
48
|
updateEmailNotificationConfigurationResponseSchema: () => updateEmailNotificationConfigurationResponseSchema,
|
|
49
49
|
writableCreateEmailNotificationConfigurationSchema: () => writableCreateEmailNotificationConfigurationSchema,
|
|
50
|
-
|
|
50
|
+
writableUpdateEmailNotificationConfigurationSchema: () => writableUpdateEmailNotificationConfigurationSchema
|
|
51
51
|
});
|
|
52
52
|
module.exports = __toCommonJS(index_exports);
|
|
53
53
|
|
|
@@ -11308,7 +11308,7 @@ var emailNotificationConfigurationSchemaListItem = external_exports.discriminate
|
|
|
11308
11308
|
updatedAt: import_sdk_js_global_types.datetimeSchema
|
|
11309
11309
|
})
|
|
11310
11310
|
]);
|
|
11311
|
-
var
|
|
11311
|
+
var writableUpdateEmailNotificationConfigurationSchema = external_exports.union([
|
|
11312
11312
|
external_exports.object({
|
|
11313
11313
|
templateKey: external_exports.literal("delivery_started"),
|
|
11314
11314
|
config: emailNotificationConfigurationConfigSchema.optional(),
|
|
@@ -11503,7 +11503,7 @@ var GetEmailNotificationConfigurationsFromPointOfSale = class extends import_sdk
|
|
|
11503
11503
|
|
|
11504
11504
|
// src/requests/UpdateEmailNotificationConfiguration.ts
|
|
11505
11505
|
var import_sdk_js_core6 = require("@deliverart/sdk-js-core");
|
|
11506
|
-
var updateEmailNotificationConfigurationInputSchema =
|
|
11506
|
+
var updateEmailNotificationConfigurationInputSchema = writableUpdateEmailNotificationConfigurationSchema;
|
|
11507
11507
|
var updateEmailNotificationConfigurationResponseSchema = emailNotificationConfigurationSchema;
|
|
11508
11508
|
var UpdateEmailNotificationConfiguration = class extends import_sdk_js_core6.AbstractApiRequest {
|
|
11509
11509
|
constructor(emailNotificationConfigurationId, input) {
|
|
@@ -11559,5 +11559,5 @@ var emailNotificationConfigurationNullableIriSchema = (0, import_sdk_js_global_t
|
|
|
11559
11559
|
updateEmailNotificationConfigurationInputSchema,
|
|
11560
11560
|
updateEmailNotificationConfigurationResponseSchema,
|
|
11561
11561
|
writableCreateEmailNotificationConfigurationSchema,
|
|
11562
|
-
|
|
11562
|
+
writableUpdateEmailNotificationConfigurationSchema
|
|
11563
11563
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -176,7 +176,7 @@ declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUn
|
|
|
176
176
|
updatedAt: z.ZodString;
|
|
177
177
|
}, z.core.$strip>]>;
|
|
178
178
|
type EmailNotificationConfigurationListItem = z.infer<typeof emailNotificationConfigurationSchemaListItem>;
|
|
179
|
-
declare const
|
|
179
|
+
declare const writableUpdateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
180
180
|
templateKey: z.ZodLiteral<"delivery_started">;
|
|
181
181
|
config: z.ZodOptional<z.ZodObject<{
|
|
182
182
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
@@ -237,7 +237,7 @@ declare const writableEmailNotificationConfigurationSchema: z.ZodUnion<readonly
|
|
|
237
237
|
}, z.core.$strip>>;
|
|
238
238
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
239
239
|
}, z.core.$strip>]>;
|
|
240
|
-
type
|
|
240
|
+
type WritableUpdateEmailNotificationConfiguration = z.infer<typeof writableUpdateEmailNotificationConfigurationSchema>;
|
|
241
241
|
declare const writableCreateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
242
242
|
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>>;
|
|
243
243
|
templateKey: z.ZodLiteral<"delivery_started">;
|
|
@@ -1850,4 +1850,4 @@ type EmailNotificationConfigurationIri = z.infer<typeof emailNotificationConfigu
|
|
|
1850
1850
|
declare const emailNotificationConfigurationNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/email_notifications/configurations/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/email_notifications/configurations/:id"> | null, unknown>>;
|
|
1851
1851
|
type EmailNotificationConfigurationNullableIri = z.infer<typeof emailNotificationConfigurationNullableIriSchema>;
|
|
1852
1852
|
|
|
1853
|
-
export { CreateEmailNotificationConfiguration, type CreateEmailNotificationConfigurationInput, type CreateEmailNotificationConfigurationResponse, DeleteEmailNotificationConfiguration, type EmailNotificationConfiguration, type EmailNotificationConfigurationConfig, type EmailNotificationConfigurationIri, type EmailNotificationConfigurationListItem, type EmailNotificationConfigurationNullableIri, type EmailNotificationConfigurationsQueryParams, GetEmailNotificationConfigurationDetails, type GetEmailNotificationConfigurationDetailsInput, type GetEmailNotificationConfigurationDetailsResponse, GetEmailNotificationConfigurations, GetEmailNotificationConfigurationsFromPointOfSale, type GetEmailNotificationConfigurationsFromPointOfSaleInput, type GetEmailNotificationConfigurationsFromPointOfSaleQueryParams, type GetEmailNotificationConfigurationsFromPointOfSaleResponse, type GetEmailNotificationConfigurationsInput, type GetEmailNotificationConfigurationsQueryParams, type GetEmailNotificationConfigurationsResponse, UpdateEmailNotificationConfiguration, type UpdateEmailNotificationConfigurationInput, type UpdateEmailNotificationConfigurationResponse, type WritableCreateEmailNotificationConfiguration, type
|
|
1853
|
+
export { CreateEmailNotificationConfiguration, type CreateEmailNotificationConfigurationInput, type CreateEmailNotificationConfigurationResponse, DeleteEmailNotificationConfiguration, type EmailNotificationConfiguration, type EmailNotificationConfigurationConfig, type EmailNotificationConfigurationIri, type EmailNotificationConfigurationListItem, type EmailNotificationConfigurationNullableIri, type EmailNotificationConfigurationsQueryParams, GetEmailNotificationConfigurationDetails, type GetEmailNotificationConfigurationDetailsInput, type GetEmailNotificationConfigurationDetailsResponse, GetEmailNotificationConfigurations, GetEmailNotificationConfigurationsFromPointOfSale, type GetEmailNotificationConfigurationsFromPointOfSaleInput, type GetEmailNotificationConfigurationsFromPointOfSaleQueryParams, type GetEmailNotificationConfigurationsFromPointOfSaleResponse, type GetEmailNotificationConfigurationsInput, type GetEmailNotificationConfigurationsQueryParams, type GetEmailNotificationConfigurationsResponse, UpdateEmailNotificationConfiguration, type UpdateEmailNotificationConfigurationInput, type UpdateEmailNotificationConfigurationResponse, type WritableCreateEmailNotificationConfiguration, type WritableUpdateEmailNotificationConfiguration, createEmailNotificationConfigurationInputSchema, createEmailNotificationConfigurationResponseSchema, deleteEmailNotificationConfigurationInputSchema, deleteEmailNotificationConfigurationResponseSchema, emailNotificationConfigurationConfigSchema, emailNotificationConfigurationIriSchema, emailNotificationConfigurationNullableIriSchema, emailNotificationConfigurationSchema, emailNotificationConfigurationSchemaListItem, emailNotificationConfigurationsQuerySchema, getEmailNotificationConfigurationDetailsInputSchema, getEmailNotificationConfigurationDetailsResponseSchema, getEmailNotificationConfigurationsFromPointOfSaleInputSchema, getEmailNotificationConfigurationsFromPointOfSaleQuerySchema, getEmailNotificationConfigurationsFromPointOfSaleResponseSchema, getEmailNotificationConfigurationsInputSchema, getEmailNotificationConfigurationsQuerySchema, getEmailNotificationConfigurationsResponseSchema, updateEmailNotificationConfigurationInputSchema, updateEmailNotificationConfigurationResponseSchema, writableCreateEmailNotificationConfigurationSchema, writableUpdateEmailNotificationConfigurationSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -176,7 +176,7 @@ declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUn
|
|
|
176
176
|
updatedAt: z.ZodString;
|
|
177
177
|
}, z.core.$strip>]>;
|
|
178
178
|
type EmailNotificationConfigurationListItem = z.infer<typeof emailNotificationConfigurationSchemaListItem>;
|
|
179
|
-
declare const
|
|
179
|
+
declare const writableUpdateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
180
180
|
templateKey: z.ZodLiteral<"delivery_started">;
|
|
181
181
|
config: z.ZodOptional<z.ZodObject<{
|
|
182
182
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
@@ -237,7 +237,7 @@ declare const writableEmailNotificationConfigurationSchema: z.ZodUnion<readonly
|
|
|
237
237
|
}, z.core.$strip>>;
|
|
238
238
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
239
239
|
}, z.core.$strip>]>;
|
|
240
|
-
type
|
|
240
|
+
type WritableUpdateEmailNotificationConfiguration = z.infer<typeof writableUpdateEmailNotificationConfigurationSchema>;
|
|
241
241
|
declare const writableCreateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
242
242
|
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>>;
|
|
243
243
|
templateKey: z.ZodLiteral<"delivery_started">;
|
|
@@ -1850,4 +1850,4 @@ type EmailNotificationConfigurationIri = z.infer<typeof emailNotificationConfigu
|
|
|
1850
1850
|
declare const emailNotificationConfigurationNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/email_notifications/configurations/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/email_notifications/configurations/:id"> | null, unknown>>;
|
|
1851
1851
|
type EmailNotificationConfigurationNullableIri = z.infer<typeof emailNotificationConfigurationNullableIriSchema>;
|
|
1852
1852
|
|
|
1853
|
-
export { CreateEmailNotificationConfiguration, type CreateEmailNotificationConfigurationInput, type CreateEmailNotificationConfigurationResponse, DeleteEmailNotificationConfiguration, type EmailNotificationConfiguration, type EmailNotificationConfigurationConfig, type EmailNotificationConfigurationIri, type EmailNotificationConfigurationListItem, type EmailNotificationConfigurationNullableIri, type EmailNotificationConfigurationsQueryParams, GetEmailNotificationConfigurationDetails, type GetEmailNotificationConfigurationDetailsInput, type GetEmailNotificationConfigurationDetailsResponse, GetEmailNotificationConfigurations, GetEmailNotificationConfigurationsFromPointOfSale, type GetEmailNotificationConfigurationsFromPointOfSaleInput, type GetEmailNotificationConfigurationsFromPointOfSaleQueryParams, type GetEmailNotificationConfigurationsFromPointOfSaleResponse, type GetEmailNotificationConfigurationsInput, type GetEmailNotificationConfigurationsQueryParams, type GetEmailNotificationConfigurationsResponse, UpdateEmailNotificationConfiguration, type UpdateEmailNotificationConfigurationInput, type UpdateEmailNotificationConfigurationResponse, type WritableCreateEmailNotificationConfiguration, type
|
|
1853
|
+
export { CreateEmailNotificationConfiguration, type CreateEmailNotificationConfigurationInput, type CreateEmailNotificationConfigurationResponse, DeleteEmailNotificationConfiguration, type EmailNotificationConfiguration, type EmailNotificationConfigurationConfig, type EmailNotificationConfigurationIri, type EmailNotificationConfigurationListItem, type EmailNotificationConfigurationNullableIri, type EmailNotificationConfigurationsQueryParams, GetEmailNotificationConfigurationDetails, type GetEmailNotificationConfigurationDetailsInput, type GetEmailNotificationConfigurationDetailsResponse, GetEmailNotificationConfigurations, GetEmailNotificationConfigurationsFromPointOfSale, type GetEmailNotificationConfigurationsFromPointOfSaleInput, type GetEmailNotificationConfigurationsFromPointOfSaleQueryParams, type GetEmailNotificationConfigurationsFromPointOfSaleResponse, type GetEmailNotificationConfigurationsInput, type GetEmailNotificationConfigurationsQueryParams, type GetEmailNotificationConfigurationsResponse, UpdateEmailNotificationConfiguration, type UpdateEmailNotificationConfigurationInput, type UpdateEmailNotificationConfigurationResponse, type WritableCreateEmailNotificationConfiguration, type WritableUpdateEmailNotificationConfiguration, createEmailNotificationConfigurationInputSchema, createEmailNotificationConfigurationResponseSchema, deleteEmailNotificationConfigurationInputSchema, deleteEmailNotificationConfigurationResponseSchema, emailNotificationConfigurationConfigSchema, emailNotificationConfigurationIriSchema, emailNotificationConfigurationNullableIriSchema, emailNotificationConfigurationSchema, emailNotificationConfigurationSchemaListItem, emailNotificationConfigurationsQuerySchema, getEmailNotificationConfigurationDetailsInputSchema, getEmailNotificationConfigurationDetailsResponseSchema, getEmailNotificationConfigurationsFromPointOfSaleInputSchema, getEmailNotificationConfigurationsFromPointOfSaleQuerySchema, getEmailNotificationConfigurationsFromPointOfSaleResponseSchema, getEmailNotificationConfigurationsInputSchema, getEmailNotificationConfigurationsQuerySchema, getEmailNotificationConfigurationsResponseSchema, updateEmailNotificationConfigurationInputSchema, updateEmailNotificationConfigurationResponseSchema, writableCreateEmailNotificationConfigurationSchema, writableUpdateEmailNotificationConfigurationSchema };
|
package/dist/index.js
CHANGED
|
@@ -11267,7 +11267,7 @@ var emailNotificationConfigurationSchemaListItem = external_exports.discriminate
|
|
|
11267
11267
|
updatedAt: datetimeSchema
|
|
11268
11268
|
})
|
|
11269
11269
|
]);
|
|
11270
|
-
var
|
|
11270
|
+
var writableUpdateEmailNotificationConfigurationSchema = external_exports.union([
|
|
11271
11271
|
external_exports.object({
|
|
11272
11272
|
templateKey: external_exports.literal("delivery_started"),
|
|
11273
11273
|
config: emailNotificationConfigurationConfigSchema.optional(),
|
|
@@ -11462,7 +11462,7 @@ var GetEmailNotificationConfigurationsFromPointOfSale = class extends AbstractAp
|
|
|
11462
11462
|
|
|
11463
11463
|
// src/requests/UpdateEmailNotificationConfiguration.ts
|
|
11464
11464
|
import { AbstractApiRequest as AbstractApiRequest6 } from "@deliverart/sdk-js-core";
|
|
11465
|
-
var updateEmailNotificationConfigurationInputSchema =
|
|
11465
|
+
var updateEmailNotificationConfigurationInputSchema = writableUpdateEmailNotificationConfigurationSchema;
|
|
11466
11466
|
var updateEmailNotificationConfigurationResponseSchema = emailNotificationConfigurationSchema;
|
|
11467
11467
|
var UpdateEmailNotificationConfiguration = class extends AbstractApiRequest6 {
|
|
11468
11468
|
constructor(emailNotificationConfigurationId, input) {
|
|
@@ -11517,5 +11517,5 @@ export {
|
|
|
11517
11517
|
updateEmailNotificationConfigurationInputSchema,
|
|
11518
11518
|
updateEmailNotificationConfigurationResponseSchema,
|
|
11519
11519
|
writableCreateEmailNotificationConfigurationSchema,
|
|
11520
|
-
|
|
11520
|
+
writableUpdateEmailNotificationConfigurationSchema
|
|
11521
11521
|
};
|
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.8.
|
|
4
|
+
"version": "2.8.11",
|
|
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-global-types": "2.8.11",
|
|
22
|
+
"@deliverart/sdk-js-point-of-sale": "2.8.11",
|
|
23
|
+
"@deliverart/sdk-js-core": "2.8.11"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|