@driveflux/config 2.0.4 → 2.1.0-next.0

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.
package/dist/backend.d.ts CHANGED
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  declare global {
3
3
  var __sharedBackendConfig: Config;
4
4
  }
5
+ export type ConfigInput = z.input<typeof ConfigValidation>;
5
6
  export type Config = z.infer<typeof ConfigValidation>;
6
7
  export declare const ConfigValidation: z.ZodObject<{
7
8
  appUrl: z.ZodString;
@@ -13,44 +14,24 @@ export declare const ConfigValidation: z.ZodObject<{
13
14
  isProd: z.ZodBoolean;
14
15
  taxRate: z.ZodNumber;
15
16
  serviceRate: z.ZodNumber;
16
- baseCurrency: z.ZodEnum<["MYR"]>;
17
+ baseCurrency: z.ZodEnum<{
18
+ MYR: "MYR";
19
+ }>;
17
20
  dbUrl: z.ZodString;
18
21
  cse: z.ZodObject<{
19
22
  login: z.ZodString | z.ZodOptional<z.ZodString>;
20
23
  password: z.ZodString | z.ZodOptional<z.ZodString>;
21
24
  templateId: z.ZodString | z.ZodOptional<z.ZodString>;
22
- }, "strip", z.ZodTypeAny, {
23
- login?: string | undefined;
24
- password?: string | undefined;
25
- templateId?: string | undefined;
26
- }, {
27
- login?: string | undefined;
28
- password?: string | undefined;
29
- templateId?: string | undefined;
30
- }>;
25
+ }, z.core.$strip>;
31
26
  utilization: z.ZodObject<{
32
27
  amountThreshold: z.ZodDefault<z.ZodNumber>;
33
- }, "strip", z.ZodTypeAny, {
34
- amountThreshold: number;
35
- }, {
36
- amountThreshold?: number | undefined;
37
- }>;
28
+ }, z.core.$strip>;
38
29
  algolia: z.ZodObject<{
39
30
  appId: z.ZodString;
40
31
  adminKey: z.ZodString;
41
32
  searchKey: z.ZodString;
42
33
  knowledgeBaseIndex: z.ZodString;
43
- }, "strip", z.ZodTypeAny, {
44
- appId: string;
45
- adminKey: string;
46
- searchKey: string;
47
- knowledgeBaseIndex: string;
48
- }, {
49
- appId: string;
50
- adminKey: string;
51
- searchKey: string;
52
- knowledgeBaseIndex: string;
53
- }>;
34
+ }, z.core.$strip>;
54
35
  upload: z.ZodObject<{
55
36
  awsKey: z.ZodString;
56
37
  awsSecret: z.ZodString;
@@ -60,86 +41,28 @@ export declare const ConfigValidation: z.ZodObject<{
60
41
  region: z.ZodString;
61
42
  secret: z.ZodOptional<z.ZodString>;
62
43
  debug: z.ZodOptional<z.ZodBoolean>;
63
- }, "strip", z.ZodTypeAny, {
64
- awsKey: string;
65
- awsSecret: string;
66
- usersBucket: string;
67
- adminBucket: string;
68
- siteBucket: string;
69
- region: string;
70
- secret?: string | undefined;
71
- debug?: boolean | undefined;
72
- }, {
73
- awsKey: string;
74
- awsSecret: string;
75
- usersBucket: string;
76
- adminBucket: string;
77
- siteBucket: string;
78
- region: string;
79
- secret?: string | undefined;
80
- debug?: boolean | undefined;
81
- }>;
44
+ }, z.core.$strip>;
82
45
  stripe: z.ZodObject<{
83
46
  secretKey: z.ZodString;
84
47
  apiVersion: z.ZodString;
85
48
  webhook: z.ZodObject<{
86
49
  connectAccountKey: z.ZodString;
87
50
  accountKey: z.ZodString;
88
- }, "strip", z.ZodTypeAny, {
89
- connectAccountKey: string;
90
- accountKey: string;
91
- }, {
92
- connectAccountKey: string;
93
- accountKey: string;
94
- }>;
95
- }, "strip", z.ZodTypeAny, {
96
- secretKey: string;
97
- apiVersion: string;
98
- webhook: {
99
- connectAccountKey: string;
100
- accountKey: string;
101
- };
102
- }, {
103
- secretKey: string;
104
- apiVersion: string;
105
- webhook: {
106
- connectAccountKey: string;
107
- accountKey: string;
108
- };
109
- }>;
51
+ }, z.core.$strip>;
52
+ }, z.core.$strip>;
110
53
  twilio: z.ZodOptional<z.ZodObject<{
111
54
  accountSid: z.ZodOptional<z.ZodString>;
112
55
  authToken: z.ZodOptional<z.ZodString>;
113
56
  phoneNumber: z.ZodOptional<z.ZodString>;
114
- }, "strip", z.ZodTypeAny, {
115
- accountSid?: string | undefined;
116
- authToken?: string | undefined;
117
- phoneNumber?: string | undefined;
118
- }, {
119
- accountSid?: string | undefined;
120
- authToken?: string | undefined;
121
- phoneNumber?: string | undefined;
122
- }>>;
57
+ }, z.core.$strip>>;
123
58
  vonage: z.ZodObject<{
124
59
  apiKey: z.ZodString | z.ZodOptional<z.ZodString>;
125
60
  apiSecret: z.ZodString | z.ZodOptional<z.ZodString>;
126
- }, "strip", z.ZodTypeAny, {
127
- apiKey?: string | undefined;
128
- apiSecret?: string | undefined;
129
- }, {
130
- apiKey?: string | undefined;
131
- apiSecret?: string | undefined;
132
- }>;
61
+ }, z.core.$strip>;
133
62
  esms: z.ZodObject<{
134
63
  apiKey: z.ZodString | z.ZodOptional<z.ZodString>;
135
64
  apiSecret: z.ZodString | z.ZodOptional<z.ZodString>;
136
- }, "strip", z.ZodTypeAny, {
137
- apiKey?: string | undefined;
138
- apiSecret?: string | undefined;
139
- }, {
140
- apiKey?: string | undefined;
141
- apiSecret?: string | undefined;
142
- }>;
65
+ }, z.core.$strip>;
143
66
  slack: z.ZodObject<{
144
67
  token: z.ZodString | z.ZodOptional<z.ZodString>;
145
68
  signingSecret: z.ZodString | z.ZodOptional<z.ZodString>;
@@ -156,39 +79,7 @@ export declare const ConfigValidation: z.ZodObject<{
156
79
  engineeringRequestsChannel: z.ZodString | z.ZodOptional<z.ZodString>;
157
80
  esmsChannelId: z.ZodString | z.ZodOptional<z.ZodString>;
158
81
  excessMileageChannelId: z.ZodString | z.ZodOptional<z.ZodString>;
159
- }, "strip", z.ZodTypeAny, {
160
- token?: string | undefined;
161
- signingSecret?: string | undefined;
162
- defaultChannelId?: string | undefined;
163
- reservationsChannelId?: string | undefined;
164
- fbcChannel?: string | undefined;
165
- bdChannel?: string | undefined;
166
- mainFluxChannel?: string | undefined;
167
- invoiceFailuresChannelId?: string | undefined;
168
- inquiriesChannelId?: string | undefined;
169
- sstChannelId?: string | undefined;
170
- issuesChannelId?: string | undefined;
171
- comingServicesChannelId?: string | undefined;
172
- engineeringRequestsChannel?: string | undefined;
173
- esmsChannelId?: string | undefined;
174
- excessMileageChannelId?: string | undefined;
175
- }, {
176
- token?: string | undefined;
177
- signingSecret?: string | undefined;
178
- defaultChannelId?: string | undefined;
179
- reservationsChannelId?: string | undefined;
180
- fbcChannel?: string | undefined;
181
- bdChannel?: string | undefined;
182
- mainFluxChannel?: string | undefined;
183
- invoiceFailuresChannelId?: string | undefined;
184
- inquiriesChannelId?: string | undefined;
185
- sstChannelId?: string | undefined;
186
- issuesChannelId?: string | undefined;
187
- comingServicesChannelId?: string | undefined;
188
- engineeringRequestsChannel?: string | undefined;
189
- esmsChannelId?: string | undefined;
190
- excessMileageChannelId?: string | undefined;
191
- }>;
82
+ }, z.core.$strip>;
192
83
  noStaticGenerating: z.ZodBoolean;
193
84
  notion: z.ZodObject<{
194
85
  secret: z.ZodString;
@@ -200,27 +91,7 @@ export declare const ConfigValidation: z.ZodObject<{
200
91
  referralsDatabaseId: z.ZodString | z.ZodOptional<z.ZodString>;
201
92
  brandsLandingPagesDatabaseId: z.ZodString;
202
93
  knowledgeBaseDatabaseId: z.ZodString;
203
- }, "strip", z.ZodTypeAny, {
204
- secret: string;
205
- brandsLandingPagesDatabaseId: string;
206
- knowledgeBaseDatabaseId: string;
207
- requestDatabaseId?: string | undefined;
208
- reviewsDatabaseId?: string | undefined;
209
- fbcDatabaseId?: string | undefined;
210
- fluxstersDatabaseId?: string | undefined;
211
- bdDatabaseId?: string | undefined;
212
- referralsDatabaseId?: string | undefined;
213
- }, {
214
- secret: string;
215
- brandsLandingPagesDatabaseId: string;
216
- knowledgeBaseDatabaseId: string;
217
- requestDatabaseId?: string | undefined;
218
- reviewsDatabaseId?: string | undefined;
219
- fbcDatabaseId?: string | undefined;
220
- fluxstersDatabaseId?: string | undefined;
221
- bdDatabaseId?: string | undefined;
222
- referralsDatabaseId?: string | undefined;
223
- }>;
94
+ }, z.core.$strip>;
224
95
  flux: z.ZodObject<{
225
96
  defaultBillingAddress: z.ZodObject<{
226
97
  name: z.ZodString;
@@ -228,58 +99,15 @@ export declare const ConfigValidation: z.ZodObject<{
228
99
  street2: z.ZodString;
229
100
  city: z.ZodString;
230
101
  state: z.ZodString;
231
- /**
232
- * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
233
- */
234
102
  country: z.ZodString;
235
103
  postalCode: z.ZodString;
236
- }, "strip", z.ZodTypeAny, {
237
- name: string;
238
- street1: string;
239
- street2: string;
240
- city: string;
241
- state: string;
242
- country: string;
243
- postalCode: string;
244
- }, {
245
- name: string;
246
- street1: string;
247
- street2: string;
248
- city: string;
249
- state: string;
250
- country: string;
251
- postalCode: string;
252
- }>;
253
- }, "strip", z.ZodTypeAny, {
254
- defaultBillingAddress: {
255
- name: string;
256
- street1: string;
257
- street2: string;
258
- city: string;
259
- state: string;
260
- country: string;
261
- postalCode: string;
262
- };
263
- }, {
264
- defaultBillingAddress: {
265
- name: string;
266
- street1: string;
267
- street2: string;
268
- city: string;
269
- state: string;
270
- country: string;
271
- postalCode: string;
272
- };
273
- }>;
104
+ }, z.core.$strip>;
105
+ }, z.core.$strip>;
274
106
  html2pdfKey: z.ZodString;
275
107
  cmsPreviewSecret: z.ZodString | z.ZodOptional<z.ZodString>;
276
108
  search: z.ZodObject<{
277
109
  noIdOptimization: z.ZodBoolean;
278
- }, "strip", z.ZodTypeAny, {
279
- noIdOptimization: boolean;
280
- }, {
281
- noIdOptimization: boolean;
282
- }>;
110
+ }, z.core.$strip>;
283
111
  auth: z.ZodObject<{
284
112
  secureCookies: z.ZodBoolean;
285
113
  authSecret: z.ZodString;
@@ -287,107 +115,31 @@ export declare const ConfigValidation: z.ZodObject<{
287
115
  google: z.ZodOptional<z.ZodObject<{
288
116
  clientId: z.ZodString;
289
117
  clientSecret: z.ZodString;
290
- }, "strip", z.ZodTypeAny, {
291
- clientId: string;
292
- clientSecret: string;
293
- }, {
294
- clientId: string;
295
- clientSecret: string;
296
- }>>;
118
+ }, z.core.$strip>>;
297
119
  facebook: z.ZodOptional<z.ZodObject<{
298
120
  clientId: z.ZodString;
299
121
  clientSecret: z.ZodString;
300
- }, "strip", z.ZodTypeAny, {
301
- clientId: string;
302
- clientSecret: string;
303
- }, {
304
- clientId: string;
305
- clientSecret: string;
306
- }>>;
122
+ }, z.core.$strip>>;
307
123
  apple: z.ZodOptional<z.ZodObject<{
308
124
  clientId: z.ZodString;
309
125
  clientSecret: z.ZodString;
310
- }, "strip", z.ZodTypeAny, {
311
- clientId: string;
312
- clientSecret: string;
313
- }, {
314
- clientId: string;
315
- clientSecret: string;
316
- }>>;
126
+ }, z.core.$strip>>;
317
127
  email: z.ZodOptional<z.ZodObject<{
318
128
  server: z.ZodString;
319
129
  from: z.ZodString;
320
- }, "strip", z.ZodTypeAny, {
321
- server: string;
322
- from: string;
323
- }, {
324
- server: string;
325
- from: string;
326
- }>>;
327
- }, "strip", z.ZodTypeAny, {
328
- secureCookies: boolean;
329
- authSecret: string;
330
- jwtSecret: string;
331
- google?: {
332
- clientId: string;
333
- clientSecret: string;
334
- } | undefined;
335
- facebook?: {
336
- clientId: string;
337
- clientSecret: string;
338
- } | undefined;
339
- apple?: {
340
- clientId: string;
341
- clientSecret: string;
342
- } | undefined;
343
- email?: {
344
- server: string;
345
- from: string;
346
- } | undefined;
347
- }, {
348
- secureCookies: boolean;
349
- authSecret: string;
350
- jwtSecret: string;
351
- google?: {
352
- clientId: string;
353
- clientSecret: string;
354
- } | undefined;
355
- facebook?: {
356
- clientId: string;
357
- clientSecret: string;
358
- } | undefined;
359
- apple?: {
360
- clientId: string;
361
- clientSecret: string;
362
- } | undefined;
363
- email?: {
364
- server: string;
365
- from: string;
366
- } | undefined;
367
- }>;
130
+ }, z.core.$strip>>;
131
+ }, z.core.$strip>;
368
132
  kv: z.ZodObject<{
369
133
  url: z.ZodString;
370
134
  token: z.ZodString;
371
135
  apiUrl: z.ZodString;
372
- }, "strip", z.ZodTypeAny, {
373
- apiUrl: string;
374
- token: string;
375
- url: string;
376
- }, {
377
- apiUrl: string;
378
- token: string;
379
- url: string;
380
- }>;
381
- sentryAuthToken: z.ZodOptional<z.ZodString>;
136
+ }, z.core.$strip>;
382
137
  sendSMSOutsideOfProd: z.ZodOptional<z.ZodBoolean>;
383
138
  vercel: z.ZodOptional<z.ZodObject<{
384
139
  cronSecret: z.ZodOptional<z.ZodString>;
385
- }, "strip", z.ZodTypeAny, {
386
- cronSecret?: string | undefined;
387
- }, {
388
- cronSecret?: string | undefined;
389
- }>>;
390
- }, "strip", z.ZodTypeAny, {
140
+ }, z.core.$strip>>;
141
+ }, z.core.$strip>;
142
+ export declare const resetConfig: () => {
391
143
  appUrl: string;
392
144
  prodAppUrl: string;
393
145
  apiUrl: string;
@@ -398,9 +150,9 @@ export declare const ConfigValidation: z.ZodObject<{
398
150
  baseCurrency: "MYR";
399
151
  dbUrl: string;
400
152
  cse: {
401
- login?: string | undefined;
402
- password?: string | undefined;
403
- templateId?: string | undefined;
153
+ login: string | undefined;
154
+ password: string | undefined;
155
+ templateId: string | undefined;
404
156
  };
405
157
  utilization: {
406
158
  amountThreshold: number;
@@ -430,41 +182,41 @@ export declare const ConfigValidation: z.ZodObject<{
430
182
  };
431
183
  };
432
184
  vonage: {
433
- apiKey?: string | undefined;
434
- apiSecret?: string | undefined;
185
+ apiKey: string | undefined;
186
+ apiSecret: string | undefined;
435
187
  };
436
188
  esms: {
437
- apiKey?: string | undefined;
438
- apiSecret?: string | undefined;
189
+ apiKey: string | undefined;
190
+ apiSecret: string | undefined;
439
191
  };
440
192
  slack: {
441
- token?: string | undefined;
442
- signingSecret?: string | undefined;
443
- defaultChannelId?: string | undefined;
444
- reservationsChannelId?: string | undefined;
445
- fbcChannel?: string | undefined;
446
- bdChannel?: string | undefined;
447
- mainFluxChannel?: string | undefined;
448
- invoiceFailuresChannelId?: string | undefined;
449
- inquiriesChannelId?: string | undefined;
450
- sstChannelId?: string | undefined;
451
- issuesChannelId?: string | undefined;
452
- comingServicesChannelId?: string | undefined;
453
- engineeringRequestsChannel?: string | undefined;
454
- esmsChannelId?: string | undefined;
455
- excessMileageChannelId?: string | undefined;
193
+ token: string | undefined;
194
+ signingSecret: string | undefined;
195
+ defaultChannelId: string | undefined;
196
+ reservationsChannelId: string | undefined;
197
+ fbcChannel: string | undefined;
198
+ bdChannel: string | undefined;
199
+ mainFluxChannel: string | undefined;
200
+ invoiceFailuresChannelId: string | undefined;
201
+ inquiriesChannelId: string | undefined;
202
+ sstChannelId: string | undefined;
203
+ issuesChannelId: string | undefined;
204
+ comingServicesChannelId: string | undefined;
205
+ engineeringRequestsChannel: string | undefined;
206
+ esmsChannelId: string | undefined;
207
+ excessMileageChannelId: string | undefined;
456
208
  };
457
209
  noStaticGenerating: boolean;
458
210
  notion: {
459
211
  secret: string;
212
+ requestDatabaseId: string | undefined;
213
+ reviewsDatabaseId: string | undefined;
214
+ fbcDatabaseId: string | undefined;
215
+ fluxstersDatabaseId: string | undefined;
216
+ bdDatabaseId: string | undefined;
217
+ referralsDatabaseId: string | undefined;
460
218
  brandsLandingPagesDatabaseId: string;
461
219
  knowledgeBaseDatabaseId: string;
462
- requestDatabaseId?: string | undefined;
463
- reviewsDatabaseId?: string | undefined;
464
- fbcDatabaseId?: string | undefined;
465
- fluxstersDatabaseId?: string | undefined;
466
- bdDatabaseId?: string | undefined;
467
- referralsDatabaseId?: string | undefined;
468
220
  };
469
221
  flux: {
470
222
  defaultBillingAddress: {
@@ -478,6 +230,7 @@ export declare const ConfigValidation: z.ZodObject<{
478
230
  };
479
231
  };
480
232
  html2pdfKey: string;
233
+ cmsPreviewSecret: string | undefined;
481
234
  search: {
482
235
  noIdOptimization: boolean;
483
236
  };
@@ -503,276 +256,9 @@ export declare const ConfigValidation: z.ZodObject<{
503
256
  } | undefined;
504
257
  };
505
258
  kv: {
506
- apiUrl: string;
507
- token: string;
508
259
  url: string;
509
- };
510
- appEnv?: string | undefined;
511
- tunnelUrl?: string | undefined;
512
- twilio?: {
513
- accountSid?: string | undefined;
514
- authToken?: string | undefined;
515
- phoneNumber?: string | undefined;
516
- } | undefined;
517
- cmsPreviewSecret?: string | undefined;
518
- sentryAuthToken?: string | undefined;
519
- sendSMSOutsideOfProd?: boolean | undefined;
520
- vercel?: {
521
- cronSecret?: string | undefined;
522
- } | undefined;
523
- }, {
524
- appUrl: string;
525
- prodAppUrl: string;
526
- apiUrl: string;
527
- reservationFee: number;
528
- isProd: boolean;
529
- taxRate: number;
530
- serviceRate: number;
531
- baseCurrency: "MYR";
532
- dbUrl: string;
533
- cse: {
534
- login?: string | undefined;
535
- password?: string | undefined;
536
- templateId?: string | undefined;
537
- };
538
- utilization: {
539
- amountThreshold?: number | undefined;
540
- };
541
- algolia: {
542
- appId: string;
543
- adminKey: string;
544
- searchKey: string;
545
- knowledgeBaseIndex: string;
546
- };
547
- upload: {
548
- awsKey: string;
549
- awsSecret: string;
550
- usersBucket: string;
551
- adminBucket: string;
552
- siteBucket: string;
553
- region: string;
554
- secret?: string | undefined;
555
- debug?: boolean | undefined;
556
- };
557
- stripe: {
558
- secretKey: string;
559
- apiVersion: string;
560
- webhook: {
561
- connectAccountKey: string;
562
- accountKey: string;
563
- };
564
- };
565
- vonage: {
566
- apiKey?: string | undefined;
567
- apiSecret?: string | undefined;
568
- };
569
- esms: {
570
- apiKey?: string | undefined;
571
- apiSecret?: string | undefined;
572
- };
573
- slack: {
574
- token?: string | undefined;
575
- signingSecret?: string | undefined;
576
- defaultChannelId?: string | undefined;
577
- reservationsChannelId?: string | undefined;
578
- fbcChannel?: string | undefined;
579
- bdChannel?: string | undefined;
580
- mainFluxChannel?: string | undefined;
581
- invoiceFailuresChannelId?: string | undefined;
582
- inquiriesChannelId?: string | undefined;
583
- sstChannelId?: string | undefined;
584
- issuesChannelId?: string | undefined;
585
- comingServicesChannelId?: string | undefined;
586
- engineeringRequestsChannel?: string | undefined;
587
- esmsChannelId?: string | undefined;
588
- excessMileageChannelId?: string | undefined;
589
- };
590
- noStaticGenerating: boolean;
591
- notion: {
592
- secret: string;
593
- brandsLandingPagesDatabaseId: string;
594
- knowledgeBaseDatabaseId: string;
595
- requestDatabaseId?: string | undefined;
596
- reviewsDatabaseId?: string | undefined;
597
- fbcDatabaseId?: string | undefined;
598
- fluxstersDatabaseId?: string | undefined;
599
- bdDatabaseId?: string | undefined;
600
- referralsDatabaseId?: string | undefined;
601
- };
602
- flux: {
603
- defaultBillingAddress: {
604
- name: string;
605
- street1: string;
606
- street2: string;
607
- city: string;
608
- state: string;
609
- country: string;
610
- postalCode: string;
611
- };
612
- };
613
- html2pdfKey: string;
614
- search: {
615
- noIdOptimization: boolean;
616
- };
617
- auth: {
618
- secureCookies: boolean;
619
- authSecret: string;
620
- jwtSecret: string;
621
- google?: {
622
- clientId: string;
623
- clientSecret: string;
624
- } | undefined;
625
- facebook?: {
626
- clientId: string;
627
- clientSecret: string;
628
- } | undefined;
629
- apple?: {
630
- clientId: string;
631
- clientSecret: string;
632
- } | undefined;
633
- email?: {
634
- server: string;
635
- from: string;
636
- } | undefined;
637
- };
638
- kv: {
639
- apiUrl: string;
640
260
  token: string;
641
- url: string;
642
- };
643
- appEnv?: string | undefined;
644
- tunnelUrl?: string | undefined;
645
- twilio?: {
646
- accountSid?: string | undefined;
647
- authToken?: string | undefined;
648
- phoneNumber?: string | undefined;
649
- } | undefined;
650
- cmsPreviewSecret?: string | undefined;
651
- sentryAuthToken?: string | undefined;
652
- sendSMSOutsideOfProd?: boolean | undefined;
653
- vercel?: {
654
- cronSecret?: string | undefined;
655
- } | undefined;
656
- }>;
657
- export declare const resetConfig: () => {
658
- appUrl: string;
659
- prodAppUrl: string;
660
- apiUrl: string;
661
- reservationFee: number;
662
- isProd: boolean;
663
- taxRate: number;
664
- serviceRate: number;
665
- baseCurrency: "MYR";
666
- dbUrl: string;
667
- cse: {
668
- login?: string | undefined;
669
- password?: string | undefined;
670
- templateId?: string | undefined;
671
- };
672
- utilization: {
673
- amountThreshold: number;
674
- };
675
- algolia: {
676
- appId: string;
677
- adminKey: string;
678
- searchKey: string;
679
- knowledgeBaseIndex: string;
680
- };
681
- upload: {
682
- awsKey: string;
683
- awsSecret: string;
684
- usersBucket: string;
685
- adminBucket: string;
686
- siteBucket: string;
687
- region: string;
688
- secret?: string | undefined;
689
- debug?: boolean | undefined;
690
- };
691
- stripe: {
692
- secretKey: string;
693
- apiVersion: string;
694
- webhook: {
695
- connectAccountKey: string;
696
- accountKey: string;
697
- };
698
- };
699
- vonage: {
700
- apiKey?: string | undefined;
701
- apiSecret?: string | undefined;
702
- };
703
- esms: {
704
- apiKey?: string | undefined;
705
- apiSecret?: string | undefined;
706
- };
707
- slack: {
708
- token?: string | undefined;
709
- signingSecret?: string | undefined;
710
- defaultChannelId?: string | undefined;
711
- reservationsChannelId?: string | undefined;
712
- fbcChannel?: string | undefined;
713
- bdChannel?: string | undefined;
714
- mainFluxChannel?: string | undefined;
715
- invoiceFailuresChannelId?: string | undefined;
716
- inquiriesChannelId?: string | undefined;
717
- sstChannelId?: string | undefined;
718
- issuesChannelId?: string | undefined;
719
- comingServicesChannelId?: string | undefined;
720
- engineeringRequestsChannel?: string | undefined;
721
- esmsChannelId?: string | undefined;
722
- excessMileageChannelId?: string | undefined;
723
- };
724
- noStaticGenerating: boolean;
725
- notion: {
726
- secret: string;
727
- brandsLandingPagesDatabaseId: string;
728
- knowledgeBaseDatabaseId: string;
729
- requestDatabaseId?: string | undefined;
730
- reviewsDatabaseId?: string | undefined;
731
- fbcDatabaseId?: string | undefined;
732
- fluxstersDatabaseId?: string | undefined;
733
- bdDatabaseId?: string | undefined;
734
- referralsDatabaseId?: string | undefined;
735
- };
736
- flux: {
737
- defaultBillingAddress: {
738
- name: string;
739
- street1: string;
740
- street2: string;
741
- city: string;
742
- state: string;
743
- country: string;
744
- postalCode: string;
745
- };
746
- };
747
- html2pdfKey: string;
748
- search: {
749
- noIdOptimization: boolean;
750
- };
751
- auth: {
752
- secureCookies: boolean;
753
- authSecret: string;
754
- jwtSecret: string;
755
- google?: {
756
- clientId: string;
757
- clientSecret: string;
758
- } | undefined;
759
- facebook?: {
760
- clientId: string;
761
- clientSecret: string;
762
- } | undefined;
763
- apple?: {
764
- clientId: string;
765
- clientSecret: string;
766
- } | undefined;
767
- email?: {
768
- server: string;
769
- from: string;
770
- } | undefined;
771
- };
772
- kv: {
773
261
  apiUrl: string;
774
- token: string;
775
- url: string;
776
262
  };
777
263
  appEnv?: string | undefined;
778
264
  tunnelUrl?: string | undefined;
@@ -781,8 +267,6 @@ export declare const resetConfig: () => {
781
267
  authToken?: string | undefined;
782
268
  phoneNumber?: string | undefined;
783
269
  } | undefined;
784
- cmsPreviewSecret?: string | undefined;
785
- sentryAuthToken?: string | undefined;
786
270
  sendSMSOutsideOfProd?: boolean | undefined;
787
271
  vercel?: {
788
272
  cronSecret?: string | undefined;