@open-tender/types 0.2.26 → 0.2.28

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.
@@ -93,6 +93,7 @@ export interface OrderCreateDetails {
93
93
  cart_id?: number | null;
94
94
  device_type?: DeviceType | null;
95
95
  eating_utensils?: boolean;
96
+ has_arrived?: boolean;
96
97
  notes?: string | null;
97
98
  notes_internal?: string | null;
98
99
  person_count?: number | null;
@@ -319,7 +319,7 @@ export interface ConfigContent {
319
319
  };
320
320
  };
321
321
  }
322
- export interface ConfigSettingsCheckout {
322
+ export interface ConfigSettingsCheckoutOrderType {
323
323
  address_company: string | null;
324
324
  address_contact: string | null;
325
325
  address_phone: string | null;
@@ -408,25 +408,29 @@ export interface ConfigRecaptcha {
408
408
  donations: boolean;
409
409
  giftCards: boolean;
410
410
  }
411
- export interface ConfigSettings {
412
- accountSections: Array<string>;
413
- autoSelect: {
414
- [keys in OrderType]: {
415
- [keys in ServiceType]?: boolean;
416
- };
417
- };
418
- checkout: {
419
- orderTypes: {
420
- [keys in OrderType]: ConfigSettingsCheckout;
421
- };
411
+ export declare type ConfigSettingsAutoselect = {
412
+ [keys in OrderType]: {
413
+ [keys in ServiceType]?: boolean;
422
414
  };
423
- displaySettings: {
424
- [keys in OrderType]: ConfigDisplaySetting;
415
+ };
416
+ export declare type ConfigSettingsCheckout = {
417
+ orderTypes: {
418
+ [keys in OrderType]: ConfigSettingsCheckoutOrderType;
425
419
  };
420
+ };
421
+ export declare type ConfigSettingsDisplaySettings = {
422
+ [keys in OrderType]: ConfigDisplaySetting;
423
+ };
424
+ export declare type ConfigSettingsLocationName = {
425
+ [keys in ServiceType | 'OUTPOST']: string[];
426
+ };
427
+ export interface ConfigSettings {
428
+ accountSections: string[];
429
+ autoSelect: ConfigSettingsAutoselect;
430
+ checkout: ConfigSettingsCheckout;
431
+ displaySettings: ConfigSettingsDisplaySettings;
426
432
  googleMaps: GoogleMaps;
427
- locationName: {
428
- [keys in ServiceType | 'OUTPOST']: string[];
429
- };
433
+ locationName: ConfigSettingsLocationName;
430
434
  maxDistance: number;
431
435
  orderTypes: ConfigOrderTypes[];
432
436
  recaptcha: ConfigRecaptcha;
@@ -93,6 +93,7 @@ export interface OrderCreateDetails {
93
93
  cart_id?: number | null;
94
94
  device_type?: DeviceType | null;
95
95
  eating_utensils?: boolean;
96
+ has_arrived?: boolean;
96
97
  notes?: string | null;
97
98
  notes_internal?: string | null;
98
99
  person_count?: number | null;
@@ -319,7 +319,7 @@ export interface ConfigContent {
319
319
  };
320
320
  };
321
321
  }
322
- export interface ConfigSettingsCheckout {
322
+ export interface ConfigSettingsCheckoutOrderType {
323
323
  address_company: string | null;
324
324
  address_contact: string | null;
325
325
  address_phone: string | null;
@@ -408,25 +408,29 @@ export interface ConfigRecaptcha {
408
408
  donations: boolean;
409
409
  giftCards: boolean;
410
410
  }
411
- export interface ConfigSettings {
412
- accountSections: Array<string>;
413
- autoSelect: {
414
- [keys in OrderType]: {
415
- [keys in ServiceType]?: boolean;
416
- };
417
- };
418
- checkout: {
419
- orderTypes: {
420
- [keys in OrderType]: ConfigSettingsCheckout;
421
- };
411
+ export declare type ConfigSettingsAutoselect = {
412
+ [keys in OrderType]: {
413
+ [keys in ServiceType]?: boolean;
422
414
  };
423
- displaySettings: {
424
- [keys in OrderType]: ConfigDisplaySetting;
415
+ };
416
+ export declare type ConfigSettingsCheckout = {
417
+ orderTypes: {
418
+ [keys in OrderType]: ConfigSettingsCheckoutOrderType;
425
419
  };
420
+ };
421
+ export declare type ConfigSettingsDisplaySettings = {
422
+ [keys in OrderType]: ConfigDisplaySetting;
423
+ };
424
+ export declare type ConfigSettingsLocationName = {
425
+ [keys in ServiceType | 'OUTPOST']: string[];
426
+ };
427
+ export interface ConfigSettings {
428
+ accountSections: string[];
429
+ autoSelect: ConfigSettingsAutoselect;
430
+ checkout: ConfigSettingsCheckout;
431
+ displaySettings: ConfigSettingsDisplaySettings;
426
432
  googleMaps: GoogleMaps;
427
- locationName: {
428
- [keys in ServiceType | 'OUTPOST']: string[];
429
- };
433
+ locationName: ConfigSettingsLocationName;
430
434
  maxDistance: number;
431
435
  orderTypes: ConfigOrderTypes[];
432
436
  recaptcha: ConfigRecaptcha;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.26",
3
+ "version": "0.2.28",
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",