@open-tender/types 0.4.52 → 0.4.54

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.
@@ -78,6 +78,7 @@ export interface CheckoutConfig {
78
78
  order_fulfillment: CheckoutConfigCurbside | null;
79
79
  points: CheckoutConfigLoyalty | null;
80
80
  promo_code_limit: number;
81
+ require_address: boolean;
81
82
  required: CheckoutConfigFields;
82
83
  surcharges: CheckoutConfigSurcharges;
83
84
  tender_types: TenderType[];
@@ -148,6 +149,7 @@ export interface CheckoutFormCustomer {
148
149
  }
149
150
  export interface CheckoutTenderCreditGuest {
150
151
  acct: string;
152
+ addr?: string;
151
153
  amount: Money;
152
154
  card_type_name: CardTypeName;
153
155
  cvv: string;
@@ -174,6 +176,7 @@ export interface CheckoutTenderGiftCard {
174
176
  amount: Money;
175
177
  balance?: Money;
176
178
  card_number: string;
179
+ pin?: string;
177
180
  tender_status?: TenderStatus;
178
181
  tender_type: TenderType;
179
182
  }
@@ -276,6 +279,7 @@ export interface CheckoutPoints {
276
279
  }
277
280
  export interface CheckoutTenderPos {
278
281
  acct?: string;
282
+ addr?: string;
279
283
  amount?: Money;
280
284
  cash_back?: Money;
281
285
  customer_card_id?: string;
@@ -108,6 +108,7 @@ export interface ConfigBrand {
108
108
  origin: string;
109
109
  pilot_slug: string | null;
110
110
  privacy_url: string | null;
111
+ require_address: boolean;
111
112
  sign_up_message: string | null;
112
113
  terms_url: string | null;
113
114
  timezone: TimezonePython;
@@ -14,6 +14,7 @@ export interface CreditCardSaved {
14
14
  }
15
15
  export interface CreditCardData {
16
16
  acct: string;
17
+ addr?: string;
17
18
  exp: string;
18
19
  cvv: string;
19
20
  zip: string;
@@ -25,6 +26,7 @@ export interface CreditCardUpdate {
25
26
  is_default: boolean;
26
27
  }
27
28
  export interface CreditCardErrors extends Record<string, string | undefined> {
29
+ addr?: string;
28
30
  acct?: string;
29
31
  exp?: string;
30
32
  cvv?: string;
@@ -78,6 +78,7 @@ export interface CheckoutConfig {
78
78
  order_fulfillment: CheckoutConfigCurbside | null;
79
79
  points: CheckoutConfigLoyalty | null;
80
80
  promo_code_limit: number;
81
+ require_address: boolean;
81
82
  required: CheckoutConfigFields;
82
83
  surcharges: CheckoutConfigSurcharges;
83
84
  tender_types: TenderType[];
@@ -148,6 +149,7 @@ export interface CheckoutFormCustomer {
148
149
  }
149
150
  export interface CheckoutTenderCreditGuest {
150
151
  acct: string;
152
+ addr?: string;
151
153
  amount: Money;
152
154
  card_type_name: CardTypeName;
153
155
  cvv: string;
@@ -174,6 +176,7 @@ export interface CheckoutTenderGiftCard {
174
176
  amount: Money;
175
177
  balance?: Money;
176
178
  card_number: string;
179
+ pin?: string;
177
180
  tender_status?: TenderStatus;
178
181
  tender_type: TenderType;
179
182
  }
@@ -276,6 +279,7 @@ export interface CheckoutPoints {
276
279
  }
277
280
  export interface CheckoutTenderPos {
278
281
  acct?: string;
282
+ addr?: string;
279
283
  amount?: Money;
280
284
  cash_back?: Money;
281
285
  customer_card_id?: string;
@@ -108,6 +108,7 @@ export interface ConfigBrand {
108
108
  origin: string;
109
109
  pilot_slug: string | null;
110
110
  privacy_url: string | null;
111
+ require_address: boolean;
111
112
  sign_up_message: string | null;
112
113
  terms_url: string | null;
113
114
  timezone: TimezonePython;
@@ -14,6 +14,7 @@ export interface CreditCardSaved {
14
14
  }
15
15
  export interface CreditCardData {
16
16
  acct: string;
17
+ addr?: string;
17
18
  exp: string;
18
19
  cvv: string;
19
20
  zip: string;
@@ -25,6 +26,7 @@ export interface CreditCardUpdate {
25
26
  is_default: boolean;
26
27
  }
27
28
  export interface CreditCardErrors extends Record<string, string | undefined> {
29
+ addr?: string;
28
30
  acct?: string;
29
31
  exp?: string;
30
32
  cvv?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.4.52",
3
+ "version": "0.4.54",
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",