@open-tender/types 0.2.5 → 0.2.6

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.
@@ -8,3 +8,5 @@ export interface CustomerNotificationPref {
8
8
  notification_channel: NotificationChannel;
9
9
  }
10
10
  export declare type CustomerNotificationPrefs = CustomerNotificationPref[];
11
+ export declare type CustomerNotificationPrefCreate = Omit<CustomerNotificationPref, 'created_at' | 'customer_notification_preference_id'>;
12
+ export declare type CustomerNotificationPrefsCreate = CustomerNotificationPrefCreate[];
@@ -51,4 +51,4 @@ export interface Image {
51
51
  }
52
52
  export declare type Images = Image[];
53
53
  export declare type OrderNotifications = 'ALL' | 'EMAIL' | 'NEW' | 'NONE' | 'SMS';
54
- export declare type Gender = 'MALE' | 'FEMALE' | 'DECLINED' | null;
54
+ export declare type Gender = 'MALE' | 'FEMALE' | 'DECLINED';
@@ -8,3 +8,5 @@ export interface CustomerNotificationPref {
8
8
  notification_channel: NotificationChannel;
9
9
  }
10
10
  export declare type CustomerNotificationPrefs = CustomerNotificationPref[];
11
+ export declare type CustomerNotificationPrefCreate = Omit<CustomerNotificationPref, 'created_at' | 'customer_notification_preference_id'>;
12
+ export declare type CustomerNotificationPrefsCreate = CustomerNotificationPrefCreate[];
@@ -51,4 +51,4 @@ export interface Image {
51
51
  }
52
52
  export declare type Images = Image[];
53
53
  export declare type OrderNotifications = 'ALL' | 'EMAIL' | 'NEW' | 'NONE' | 'SMS';
54
- export declare type Gender = 'MALE' | 'FEMALE' | 'DECLINED' | null;
54
+ export declare type Gender = 'MALE' | 'FEMALE' | 'DECLINED';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "A library of types for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",