@open-tender/types 0.2.106 → 0.2.107

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.
@@ -87,7 +87,6 @@ export interface CheckoutCheck extends Omit<Order, 'customer'> {
87
87
  customer: OrderCustomer | null;
88
88
  errors: CheckoutErrorParams;
89
89
  }
90
- export declare type CheckoutErrorMessages = Record<string, string | Record<string, string | Record<string, string>>>;
91
90
  export interface OrderCreateDetails {
92
91
  arrival_info?: string | null;
93
92
  cart_id?: number | null;
@@ -22,6 +22,6 @@ export interface CheckoutErrorAPI extends RequestErrorMessage {
22
22
  params?: CheckoutErrorParams;
23
23
  }
24
24
  export declare type CheckoutError = CheckoutErrorAPI | null | undefined;
25
- export interface RecordInterface {
26
- [name: string]: string | RecordInterface;
25
+ export interface CheckoutErrorMessages {
26
+ [name: string]: string | CheckoutErrorMessages;
27
27
  }
@@ -87,7 +87,6 @@ export interface CheckoutCheck extends Omit<Order, 'customer'> {
87
87
  customer: OrderCustomer | null;
88
88
  errors: CheckoutErrorParams;
89
89
  }
90
- export declare type CheckoutErrorMessages = Record<string, string | Record<string, string | Record<string, string>>>;
91
90
  export interface OrderCreateDetails {
92
91
  arrival_info?: string | null;
93
92
  cart_id?: number | null;
@@ -22,6 +22,6 @@ export interface CheckoutErrorAPI extends RequestErrorMessage {
22
22
  params?: CheckoutErrorParams;
23
23
  }
24
24
  export declare type CheckoutError = CheckoutErrorAPI | null | undefined;
25
- export interface RecordInterface {
26
- [name: string]: string | RecordInterface;
25
+ export interface CheckoutErrorMessages {
26
+ [name: string]: string | CheckoutErrorMessages;
27
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.106",
3
+ "version": "0.2.107",
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",