@glidevvr/storage-payload-types-pkg 1.0.85 → 1.0.87

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/payload-types.ts +8 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.85",
3
+ "version": "1.0.87",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -322,6 +322,10 @@ export interface Tenant {
322
322
  * This notice will be displayed on all pages of the website.
323
323
  */
324
324
  siteWideNotice?: string | null;
325
+ /**
326
+ * The environment of the VaporTable, TenantPay, Rental Funnel, and Storage Essentials API (facilities, hours, categories, etc.)
327
+ */
328
+ environment: 'production' | 'staging' | 'qa' | 'local';
325
329
  seCompanyId?: number | null;
326
330
  seApiKey?: string | null;
327
331
  seApiPrivateKey?: string | null;
@@ -793,7 +797,7 @@ export interface Facility {
793
797
  * A soft reservation does not remove a unit from inventory.
794
798
  */
795
799
  disableSoftReservation: boolean;
796
- rentalAppLocation: 'drawer' | 'dialog';
800
+ rentalAppLocation: 'drawer' | 'dialog' | 'external';
797
801
  /**
798
802
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
799
803
  */
@@ -801,12 +805,12 @@ export interface Facility {
801
805
  /**
802
806
  * If the buttons are combined, the reservation app location will default to the location of the rental app.
803
807
  */
804
- reservationAppLocation?: ('drawer' | 'dialog') | null;
808
+ reservationAppLocation?: ('drawer' | 'dialog' | 'external') | null;
805
809
  /**
806
810
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
807
811
  */
808
812
  reservationAppExternalUrl?: string | null;
809
- softReservationAppLocation: 'drawer' | 'dialog';
813
+ softReservationAppLocation: 'drawer' | 'dialog' | 'external';
810
814
  /**
811
815
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
812
816
  */
@@ -2541,6 +2545,7 @@ export interface TenantsSelect<T extends boolean = true> {
2541
2545
  allFacilitiesPage?: T;
2542
2546
  paymentSystem?: T;
2543
2547
  siteWideNotice?: T;
2548
+ environment?: T;
2544
2549
  seCompanyId?: T;
2545
2550
  seApiKey?: T;
2546
2551
  seApiPrivateKey?: T;