@deliverart/sdk-js-email-notification-configuration 2.31.2 → 2.31.4

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
@@ -471,7 +471,7 @@ var GetEmailNotificationConfigurationsFromPointOfSale = class extends import_sdk
471
471
  this.outputSchema = getEmailNotificationConfigurationsFromPointOfSaleResponseSchema;
472
472
  this.querySchema = getEmailNotificationConfigurationsFromPointOfSaleQuerySchema;
473
473
  this.headersSchema = void 0;
474
- this.listItemSchema = emailNotificationConfigurationSchema;
474
+ this.listItemSchema = emailNotificationConfigurationSchemaListItem;
475
475
  this.paginationDefaultEnabled = false;
476
476
  this.pointOfSaleId = pointOfSaleId;
477
477
  }
package/dist/index.d.cts CHANGED
@@ -1907,7 +1907,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1907
1907
  readonly headersSchema: undefined;
1908
1908
  readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1909
1909
  id: z.ZodString;
1910
- 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>>;
1911
1910
  templateKey: z.ZodLiteral<"delivery_started">;
1912
1911
  config: z.ZodObject<{
1913
1912
  sourcesEnabled: z.ZodArray<z.ZodEnum<{
@@ -1921,7 +1920,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1921
1920
  updatedAt: z.ZodString;
1922
1921
  }, z.core.$strip>, z.ZodObject<{
1923
1922
  id: z.ZodString;
1924
- 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>>;
1925
1923
  templateKey: z.ZodLiteral<"delivery_taken_over">;
1926
1924
  config: z.ZodObject<{
1927
1925
  sourcesEnabled: z.ZodArray<z.ZodEnum<{
@@ -1935,7 +1933,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1935
1933
  updatedAt: z.ZodString;
1936
1934
  }, z.core.$strip>, z.ZodObject<{
1937
1935
  id: z.ZodString;
1938
- 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>>;
1939
1936
  templateKey: z.ZodLiteral<"order_created">;
1940
1937
  config: z.ZodObject<{
1941
1938
  sourcesEnabled: z.ZodArray<z.ZodEnum<{
@@ -1949,7 +1946,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1949
1946
  updatedAt: z.ZodString;
1950
1947
  }, z.core.$strip>, z.ZodObject<{
1951
1948
  id: z.ZodString;
1952
- 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>>;
1953
1949
  templateKey: z.ZodLiteral<"order_delivered">;
1954
1950
  config: z.ZodObject<{
1955
1951
  sourcesEnabled: z.ZodArray<z.ZodEnum<{
@@ -1963,7 +1959,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1963
1959
  updatedAt: z.ZodString;
1964
1960
  }, z.core.$strip>, z.ZodObject<{
1965
1961
  id: z.ZodString;
1966
- 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>>;
1967
1962
  templateKey: z.ZodLiteral<"order_in_preparation">;
1968
1963
  config: z.ZodObject<{
1969
1964
  sourcesEnabled: z.ZodArray<z.ZodEnum<{
@@ -1977,7 +1972,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1977
1972
  updatedAt: z.ZodString;
1978
1973
  }, z.core.$strip>, z.ZodObject<{
1979
1974
  id: z.ZodString;
1980
- 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>>;
1981
1975
  templateKey: z.ZodLiteral<"order_preparation_done">;
1982
1976
  config: z.ZodObject<{
1983
1977
  sourcesEnabled: z.ZodArray<z.ZodEnum<{
@@ -1991,7 +1985,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1991
1985
  updatedAt: z.ZodString;
1992
1986
  }, z.core.$strip>, z.ZodObject<{
1993
1987
  id: z.ZodString;
1994
- 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>>;
1995
1988
  templateKey: z.ZodLiteral<"subscription_expiring">;
1996
1989
  config: z.ZodObject<{}, z.core.$strip>;
1997
1990
  isActive: z.ZodBoolean;
@@ -1999,7 +1992,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1999
1992
  updatedAt: z.ZodString;
2000
1993
  }, z.core.$strip>, z.ZodObject<{
2001
1994
  id: z.ZodString;
2002
- 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>>;
2003
1995
  templateKey: z.ZodLiteral<"subscription_low_credits">;
2004
1996
  config: z.ZodObject<{}, z.core.$strip>;
2005
1997
  isActive: z.ZodBoolean;
@@ -2007,7 +1999,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
2007
1999
  updatedAt: z.ZodString;
2008
2000
  }, z.core.$strip>, z.ZodObject<{
2009
2001
  id: z.ZodString;
2010
- 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>>;
2011
2002
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
2012
2003
  config: z.ZodObject<{}, z.core.$strip>;
2013
2004
  isActive: z.ZodBoolean;
@@ -2015,7 +2006,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
2015
2006
  updatedAt: z.ZodString;
2016
2007
  }, z.core.$strip>, z.ZodObject<{
2017
2008
  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
2009
  templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
2020
2010
  config: z.ZodObject<{}, z.core.$strip>;
2021
2011
  isActive: z.ZodBoolean;
package/dist/index.d.ts CHANGED
@@ -1907,7 +1907,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1907
1907
  readonly headersSchema: undefined;
1908
1908
  readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1909
1909
  id: z.ZodString;
1910
- 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>>;
1911
1910
  templateKey: z.ZodLiteral<"delivery_started">;
1912
1911
  config: z.ZodObject<{
1913
1912
  sourcesEnabled: z.ZodArray<z.ZodEnum<{
@@ -1921,7 +1920,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1921
1920
  updatedAt: z.ZodString;
1922
1921
  }, z.core.$strip>, z.ZodObject<{
1923
1922
  id: z.ZodString;
1924
- 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>>;
1925
1923
  templateKey: z.ZodLiteral<"delivery_taken_over">;
1926
1924
  config: z.ZodObject<{
1927
1925
  sourcesEnabled: z.ZodArray<z.ZodEnum<{
@@ -1935,7 +1933,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1935
1933
  updatedAt: z.ZodString;
1936
1934
  }, z.core.$strip>, z.ZodObject<{
1937
1935
  id: z.ZodString;
1938
- 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>>;
1939
1936
  templateKey: z.ZodLiteral<"order_created">;
1940
1937
  config: z.ZodObject<{
1941
1938
  sourcesEnabled: z.ZodArray<z.ZodEnum<{
@@ -1949,7 +1946,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1949
1946
  updatedAt: z.ZodString;
1950
1947
  }, z.core.$strip>, z.ZodObject<{
1951
1948
  id: z.ZodString;
1952
- 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>>;
1953
1949
  templateKey: z.ZodLiteral<"order_delivered">;
1954
1950
  config: z.ZodObject<{
1955
1951
  sourcesEnabled: z.ZodArray<z.ZodEnum<{
@@ -1963,7 +1959,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1963
1959
  updatedAt: z.ZodString;
1964
1960
  }, z.core.$strip>, z.ZodObject<{
1965
1961
  id: z.ZodString;
1966
- 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>>;
1967
1962
  templateKey: z.ZodLiteral<"order_in_preparation">;
1968
1963
  config: z.ZodObject<{
1969
1964
  sourcesEnabled: z.ZodArray<z.ZodEnum<{
@@ -1977,7 +1972,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1977
1972
  updatedAt: z.ZodString;
1978
1973
  }, z.core.$strip>, z.ZodObject<{
1979
1974
  id: z.ZodString;
1980
- 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>>;
1981
1975
  templateKey: z.ZodLiteral<"order_preparation_done">;
1982
1976
  config: z.ZodObject<{
1983
1977
  sourcesEnabled: z.ZodArray<z.ZodEnum<{
@@ -1991,7 +1985,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1991
1985
  updatedAt: z.ZodString;
1992
1986
  }, z.core.$strip>, z.ZodObject<{
1993
1987
  id: z.ZodString;
1994
- 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>>;
1995
1988
  templateKey: z.ZodLiteral<"subscription_expiring">;
1996
1989
  config: z.ZodObject<{}, z.core.$strip>;
1997
1990
  isActive: z.ZodBoolean;
@@ -1999,7 +1992,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
1999
1992
  updatedAt: z.ZodString;
2000
1993
  }, z.core.$strip>, z.ZodObject<{
2001
1994
  id: z.ZodString;
2002
- 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>>;
2003
1995
  templateKey: z.ZodLiteral<"subscription_low_credits">;
2004
1996
  config: z.ZodObject<{}, z.core.$strip>;
2005
1997
  isActive: z.ZodBoolean;
@@ -2007,7 +1999,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
2007
1999
  updatedAt: z.ZodString;
2008
2000
  }, z.core.$strip>, z.ZodObject<{
2009
2001
  id: z.ZodString;
2010
- 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>>;
2011
2002
  templateKey: z.ZodLiteral<"subscription_pending_renewal">;
2012
2003
  config: z.ZodObject<{}, z.core.$strip>;
2013
2004
  isActive: z.ZodBoolean;
@@ -2015,7 +2006,6 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
2015
2006
  updatedAt: z.ZodString;
2016
2007
  }, z.core.$strip>, z.ZodObject<{
2017
2008
  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
2009
  templateKey: z.ZodLiteral<"subscription_payment_pending_verification">;
2020
2010
  config: z.ZodObject<{}, z.core.$strip>;
2021
2011
  isActive: z.ZodBoolean;
package/dist/index.js CHANGED
@@ -422,7 +422,7 @@ var GetEmailNotificationConfigurationsFromPointOfSale = class extends AbstractAp
422
422
  this.outputSchema = getEmailNotificationConfigurationsFromPointOfSaleResponseSchema;
423
423
  this.querySchema = getEmailNotificationConfigurationsFromPointOfSaleQuerySchema;
424
424
  this.headersSchema = void 0;
425
- this.listItemSchema = emailNotificationConfigurationSchema;
425
+ this.listItemSchema = emailNotificationConfigurationSchemaListItem;
426
426
  this.paginationDefaultEnabled = false;
427
427
  this.pointOfSaleId = pointOfSaleId;
428
428
  }
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.31.2",
4
+ "version": "2.31.4",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -19,15 +19,19 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "zod": "4.3.5",
22
- "@deliverart/sdk-js-core": "2.31.2",
23
- "@deliverart/sdk-js-global-types": "2.31.2",
24
- "@deliverart/sdk-js-point-of-sale": "2.31.2"
22
+ "@deliverart/sdk-js-core": "2.31.4",
23
+ "@deliverart/sdk-js-global-types": "2.31.4",
24
+ "@deliverart/sdk-js-point-of-sale": "2.31.4"
25
+ },
26
+ "devDependencies": {
27
+ "vitest": "3.2.4"
25
28
  },
26
29
  "publishConfig": {
27
30
  "access": "public"
28
31
  },
29
32
  "scripts": {
30
33
  "build": "tsup src/index.ts --dts --format esm,cjs",
31
- "dev": "tsup src/index.ts --dts --watch"
34
+ "dev": "tsup src/index.ts --dts --watch",
35
+ "test": "vitest run"
32
36
  }
33
37
  }