@glidevvr/storage-payload-types-pkg 1.0.86 → 1.0.88

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 +71 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.86",
3
+ "version": "1.0.88",
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;
@@ -1256,7 +1260,7 @@ export interface Form {
1256
1260
  blockType: 'country';
1257
1261
  }
1258
1262
  | {
1259
- name?: string | null;
1263
+ name: string;
1260
1264
  label?: string | null;
1261
1265
  width?: number | null;
1262
1266
  defaultValue?: string | null;
@@ -1342,6 +1346,8 @@ export interface Form {
1342
1346
  blockName?: string | null;
1343
1347
  blockType: 'textarea';
1344
1348
  }
1349
+ | FacilitySelectField
1350
+ | PhoneField
1345
1351
  )[]
1346
1352
  | null;
1347
1353
  submitButtonLabel?: string | null;
@@ -1420,6 +1426,39 @@ export interface Form {
1420
1426
  updatedAt: string;
1421
1427
  createdAt: string;
1422
1428
  }
1429
+ /**
1430
+ * This interface was referenced by `Config`'s JSON-Schema
1431
+ * via the `definition` "FacilitySelectField".
1432
+ */
1433
+ export interface FacilitySelectField {
1434
+ name: string;
1435
+ label?: string | null;
1436
+ /**
1437
+ * The default value of the field. Enter the SE ID of the facility to be selected by default.
1438
+ */
1439
+ defaultValue?: string | null;
1440
+ placeholder?: string | null;
1441
+ width?: number | null;
1442
+ required?: boolean | null;
1443
+ id?: string | null;
1444
+ blockName?: string | null;
1445
+ blockType: 'facilitySelect';
1446
+ }
1447
+ /**
1448
+ * This interface was referenced by `Config`'s JSON-Schema
1449
+ * via the `definition` "PhoneField".
1450
+ */
1451
+ export interface PhoneField {
1452
+ name: string;
1453
+ label?: string | null;
1454
+ defaultValue?: string | null;
1455
+ placeholder?: string | null;
1456
+ width?: number | null;
1457
+ required?: boolean | null;
1458
+ id?: string | null;
1459
+ blockName?: string | null;
1460
+ blockType: 'phone';
1461
+ }
1423
1462
  /**
1424
1463
  * This interface was referenced by `Config`'s JSON-Schema
1425
1464
  * via the `definition` "GalleryBlock".
@@ -2541,6 +2580,7 @@ export interface TenantsSelect<T extends boolean = true> {
2541
2580
  allFacilitiesPage?: T;
2542
2581
  paymentSystem?: T;
2543
2582
  siteWideNotice?: T;
2583
+ environment?: T;
2544
2584
  seCompanyId?: T;
2545
2585
  seApiKey?: T;
2546
2586
  seApiPrivateKey?: T;
@@ -3015,6 +3055,8 @@ export interface FormsSelect<T extends boolean = true> {
3015
3055
  id?: T;
3016
3056
  blockName?: T;
3017
3057
  };
3058
+ facilitySelect?: T | FacilitySelectFieldSelect<T>;
3059
+ phone?: T | PhoneFieldSelect<T>;
3018
3060
  };
3019
3061
  submitButtonLabel?: T;
3020
3062
  confirmationType?: T;
@@ -3041,6 +3083,34 @@ export interface FormsSelect<T extends boolean = true> {
3041
3083
  updatedAt?: T;
3042
3084
  createdAt?: T;
3043
3085
  }
3086
+ /**
3087
+ * This interface was referenced by `Config`'s JSON-Schema
3088
+ * via the `definition` "FacilitySelectField_select".
3089
+ */
3090
+ export interface FacilitySelectFieldSelect<T extends boolean = true> {
3091
+ name?: T;
3092
+ label?: T;
3093
+ defaultValue?: T;
3094
+ placeholder?: T;
3095
+ width?: T;
3096
+ required?: T;
3097
+ id?: T;
3098
+ blockName?: T;
3099
+ }
3100
+ /**
3101
+ * This interface was referenced by `Config`'s JSON-Schema
3102
+ * via the `definition` "PhoneField_select".
3103
+ */
3104
+ export interface PhoneFieldSelect<T extends boolean = true> {
3105
+ name?: T;
3106
+ label?: T;
3107
+ defaultValue?: T;
3108
+ placeholder?: T;
3109
+ width?: T;
3110
+ required?: T;
3111
+ id?: T;
3112
+ blockName?: T;
3113
+ }
3044
3114
  /**
3045
3115
  * This interface was referenced by `Config`'s JSON-Schema
3046
3116
  * via the `definition` "form-submissions_select".