{{ message }}
Repository navigation
Expand file tree
/
Copy pathtypes.gen.go
More file actions
2609 lines (2242 loc) · 138 KB
/
Copy pathtypes.gen.go
File metadata and controls
2609 lines (2242 loc) · 138 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Package api provides primitives to interact with the openapi HTTP API.
//
// Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
package api
import (
"encoding/json"
"fmt"
"github.com/oapi-codegen/runtime"
openapi_types "github.com/oapi-codegen/runtime/types"
)
const (
BearerScopes = "bearer.Scopes"
Oauth2Scopes = "oauth2.Scopes"
)
// Defines values for ApiKeyResponseType.
const (
ApiKeyResponseTypeLegacy ApiKeyResponseType = "legacy"
ApiKeyResponseTypePublishable ApiKeyResponseType = "publishable"
ApiKeyResponseTypeSecret ApiKeyResponseType = "secret"
)
// Defines values for AuthHealthResponseName.
const (
GoTrue AuthHealthResponseName = "GoTrue"
)
// Defines values for BillingPlanId.
const (
BillingPlanIdEnterprise BillingPlanId = "enterprise"
BillingPlanIdFree BillingPlanId = "free"
BillingPlanIdPro BillingPlanId = "pro"
BillingPlanIdTeam BillingPlanId = "team"
)
// Defines values for BranchDetailResponseStatus.
const (
BranchDetailResponseStatusACTIVEHEALTHY BranchDetailResponseStatus = "ACTIVE_HEALTHY"
BranchDetailResponseStatusACTIVEUNHEALTHY BranchDetailResponseStatus = "ACTIVE_UNHEALTHY"
BranchDetailResponseStatusCOMINGUP BranchDetailResponseStatus = "COMING_UP"
BranchDetailResponseStatusGOINGDOWN BranchDetailResponseStatus = "GOING_DOWN"
BranchDetailResponseStatusINACTIVE BranchDetailResponseStatus = "INACTIVE"
BranchDetailResponseStatusINITFAILED BranchDetailResponseStatus = "INIT_FAILED"
BranchDetailResponseStatusPAUSEFAILED BranchDetailResponseStatus = "PAUSE_FAILED"
BranchDetailResponseStatusPAUSING BranchDetailResponseStatus = "PAUSING"
BranchDetailResponseStatusREMOVED BranchDetailResponseStatus = "REMOVED"
BranchDetailResponseStatusRESIZING BranchDetailResponseStatus = "RESIZING"
BranchDetailResponseStatusRESTARTING BranchDetailResponseStatus = "RESTARTING"
BranchDetailResponseStatusRESTOREFAILED BranchDetailResponseStatus = "RESTORE_FAILED"
BranchDetailResponseStatusRESTORING BranchDetailResponseStatus = "RESTORING"
BranchDetailResponseStatusUNKNOWN BranchDetailResponseStatus = "UNKNOWN"
BranchDetailResponseStatusUPGRADING BranchDetailResponseStatus = "UPGRADING"
)
// Defines values for BranchResponseStatus.
const (
BranchResponseStatusCREATINGPROJECT BranchResponseStatus = "CREATING_PROJECT"
BranchResponseStatusFUNCTIONSDEPLOYED BranchResponseStatus = "FUNCTIONS_DEPLOYED"
BranchResponseStatusFUNCTIONSFAILED BranchResponseStatus = "FUNCTIONS_FAILED"
BranchResponseStatusMIGRATIONSFAILED BranchResponseStatus = "MIGRATIONS_FAILED"
BranchResponseStatusMIGRATIONSPASSED BranchResponseStatus = "MIGRATIONS_PASSED"
BranchResponseStatusRUNNINGMIGRATIONS BranchResponseStatus = "RUNNING_MIGRATIONS"
)
// Defines values for BulkUpdateFunctionBodyStatus.
const (
BulkUpdateFunctionBodyStatusACTIVE BulkUpdateFunctionBodyStatus = "ACTIVE"
BulkUpdateFunctionBodyStatusREMOVED BulkUpdateFunctionBodyStatus = "REMOVED"
BulkUpdateFunctionBodyStatusTHROTTLED BulkUpdateFunctionBodyStatus = "THROTTLED"
)
// Defines values for CreateApiKeyBodyType.
const (
CreateApiKeyBodyTypePublishable CreateApiKeyBodyType = "publishable"
CreateApiKeyBodyTypeSecret CreateApiKeyBodyType = "secret"
)
// Defines values for CreateProviderBodyType.
const (
Saml CreateProviderBodyType = "saml"
)
// Defines values for DatabaseUpgradeStatusError.
const (
N1UpgradedInstanceLaunchFailed DatabaseUpgradeStatusError = "1_upgraded_instance_launch_failed"
N2VolumeDetachchmentFromUpgradedInstanceFailed DatabaseUpgradeStatusError = "2_volume_detachchment_from_upgraded_instance_failed"
N3VolumeAttachmentToOriginalInstanceFailed DatabaseUpgradeStatusError = "3_volume_attachment_to_original_instance_failed"
N4DataUpgradeInitiationFailed DatabaseUpgradeStatusError = "4_data_upgrade_initiation_failed"
N5DataUpgradeCompletionFailed DatabaseUpgradeStatusError = "5_data_upgrade_completion_failed"
N6VolumeDetachchmentFromOriginalInstanceFailed DatabaseUpgradeStatusError = "6_volume_detachchment_from_original_instance_failed"
N7VolumeAttachmentToUpgradedInstanceFailed DatabaseUpgradeStatusError = "7_volume_attachment_to_upgraded_instance_failed"
N8UpgradeCompletionFailed DatabaseUpgradeStatusError = "8_upgrade_completion_failed"
N9PostPhysicalBackupFailed DatabaseUpgradeStatusError = "9_post_physical_backup_failed"
)
// Defines values for DatabaseUpgradeStatusProgress.
const (
N0Requested DatabaseUpgradeStatusProgress = "0_requested"
N10CompletedPostPhysicalBackup DatabaseUpgradeStatusProgress = "10_completed_post_physical_backup"
N1Started DatabaseUpgradeStatusProgress = "1_started"
N2LaunchedUpgradedInstance DatabaseUpgradeStatusProgress = "2_launched_upgraded_instance"
N3DetachedVolumeFromUpgradedInstance DatabaseUpgradeStatusProgress = "3_detached_volume_from_upgraded_instance"
N4AttachedVolumeToOriginalInstance DatabaseUpgradeStatusProgress = "4_attached_volume_to_original_instance"
N5InitiatedDataUpgrade DatabaseUpgradeStatusProgress = "5_initiated_data_upgrade"
N6CompletedDataUpgrade DatabaseUpgradeStatusProgress = "6_completed_data_upgrade"
N7DetachedVolumeFromOriginalInstance DatabaseUpgradeStatusProgress = "7_detached_volume_from_original_instance"
N8AttachedVolumeToUpgradedInstance DatabaseUpgradeStatusProgress = "8_attached_volume_to_upgraded_instance"
N9CompletedUpgrade DatabaseUpgradeStatusProgress = "9_completed_upgrade"
)
// Defines values for DatabaseUpgradeStatusStatus.
const (
N0 DatabaseUpgradeStatusStatus = 0
N1 DatabaseUpgradeStatusStatus = 1
N2 DatabaseUpgradeStatusStatus = 2
)
// Defines values for DeployFunctionResponseStatus.
const (
DeployFunctionResponseStatusACTIVE DeployFunctionResponseStatus = "ACTIVE"
DeployFunctionResponseStatusREMOVED DeployFunctionResponseStatus = "REMOVED"
DeployFunctionResponseStatusTHROTTLED DeployFunctionResponseStatus = "THROTTLED"
)
// Defines values for DesiredInstanceSize.
const (
DesiredInstanceSizeLarge DesiredInstanceSize = "large"
DesiredInstanceSizeMedium DesiredInstanceSize = "medium"
DesiredInstanceSizeMicro DesiredInstanceSize = "micro"
DesiredInstanceSizeN12xlarge DesiredInstanceSize = "12xlarge"
DesiredInstanceSizeN16xlarge DesiredInstanceSize = "16xlarge"
DesiredInstanceSizeN2xlarge DesiredInstanceSize = "2xlarge"
DesiredInstanceSizeN4xlarge DesiredInstanceSize = "4xlarge"
DesiredInstanceSizeN8xlarge DesiredInstanceSize = "8xlarge"
DesiredInstanceSizeSmall DesiredInstanceSize = "small"
DesiredInstanceSizeXlarge DesiredInstanceSize = "xlarge"
)
// Defines values for FunctionResponseStatus.
const (
FunctionResponseStatusACTIVE FunctionResponseStatus = "ACTIVE"
FunctionResponseStatusREMOVED FunctionResponseStatus = "REMOVED"
FunctionResponseStatusTHROTTLED FunctionResponseStatus = "THROTTLED"
)
// Defines values for FunctionSlugResponseStatus.
const (
FunctionSlugResponseStatusACTIVE FunctionSlugResponseStatus = "ACTIVE"
FunctionSlugResponseStatusREMOVED FunctionSlugResponseStatus = "REMOVED"
FunctionSlugResponseStatusTHROTTLED FunctionSlugResponseStatus = "THROTTLED"
)
// Defines values for NetworkRestrictionsResponseEntitlement.
const (
Allowed NetworkRestrictionsResponseEntitlement = "allowed"
Disallowed NetworkRestrictionsResponseEntitlement = "disallowed"
)
// Defines values for NetworkRestrictionsResponseStatus.
const (
Applied NetworkRestrictionsResponseStatus = "applied"
Stored NetworkRestrictionsResponseStatus = "stored"
)
// Defines values for OAuthTokenBodyGrantType.
const (
AuthorizationCode OAuthTokenBodyGrantType = "authorization_code"
RefreshToken OAuthTokenBodyGrantType = "refresh_token"
)
// Defines values for OAuthTokenResponseTokenType.
const (
Bearer OAuthTokenResponseTokenType = "Bearer"
)
// Defines values for PostgresConfigResponseSessionReplicationRole.
const (
PostgresConfigResponseSessionReplicationRoleLocal PostgresConfigResponseSessionReplicationRole = "local"
PostgresConfigResponseSessionReplicationRoleOrigin PostgresConfigResponseSessionReplicationRole = "origin"
PostgresConfigResponseSessionReplicationRoleReplica PostgresConfigResponseSessionReplicationRole = "replica"
)
// Defines values for PostgresEngine.
const (
PostgresEngineN15 PostgresEngine = "15"
PostgresEngineN17Oriole PostgresEngine = "17-oriole"
)
// Defines values for ProjectAvailableRestoreVersionPostgresEngine.
const (
ProjectAvailableRestoreVersionPostgresEngineN13 ProjectAvailableRestoreVersionPostgresEngine = "13"
ProjectAvailableRestoreVersionPostgresEngineN14 ProjectAvailableRestoreVersionPostgresEngine = "14"
ProjectAvailableRestoreVersionPostgresEngineN15 ProjectAvailableRestoreVersionPostgresEngine = "15"
ProjectAvailableRestoreVersionPostgresEngineN17 ProjectAvailableRestoreVersionPostgresEngine = "17"
ProjectAvailableRestoreVersionPostgresEngineN17Oriole ProjectAvailableRestoreVersionPostgresEngine = "17-oriole"
)
// Defines values for ProjectAvailableRestoreVersionReleaseChannel.
const (
ProjectAvailableRestoreVersionReleaseChannelAlpha ProjectAvailableRestoreVersionReleaseChannel = "alpha"
ProjectAvailableRestoreVersionReleaseChannelBeta ProjectAvailableRestoreVersionReleaseChannel = "beta"
ProjectAvailableRestoreVersionReleaseChannelGa ProjectAvailableRestoreVersionReleaseChannel = "ga"
ProjectAvailableRestoreVersionReleaseChannelInternal ProjectAvailableRestoreVersionReleaseChannel = "internal"
ProjectAvailableRestoreVersionReleaseChannelPreview ProjectAvailableRestoreVersionReleaseChannel = "preview"
ProjectAvailableRestoreVersionReleaseChannelWithdrawn ProjectAvailableRestoreVersionReleaseChannel = "withdrawn"
)
// Defines values for ReleaseChannel.
const (
ReleaseChannelAlpha ReleaseChannel = "alpha"
ReleaseChannelBeta ReleaseChannel = "beta"
ReleaseChannelGa ReleaseChannel = "ga"
ReleaseChannelInternal ReleaseChannel = "internal"
ReleaseChannelPreview ReleaseChannel = "preview"
ReleaseChannelWithdrawn ReleaseChannel = "withdrawn"
)
// Defines values for SetUpReadReplicaBodyReadReplicaRegion.
const (
SetUpReadReplicaBodyReadReplicaRegionApEast1 SetUpReadReplicaBodyReadReplicaRegion = "ap-east-1"
SetUpReadReplicaBodyReadReplicaRegionApNortheast1 SetUpReadReplicaBodyReadReplicaRegion = "ap-northeast-1"
SetUpReadReplicaBodyReadReplicaRegionApNortheast2 SetUpReadReplicaBodyReadReplicaRegion = "ap-northeast-2"
SetUpReadReplicaBodyReadReplicaRegionApSouth1 SetUpReadReplicaBodyReadReplicaRegion = "ap-south-1"
SetUpReadReplicaBodyReadReplicaRegionApSoutheast1 SetUpReadReplicaBodyReadReplicaRegion = "ap-southeast-1"
SetUpReadReplicaBodyReadReplicaRegionApSoutheast2 SetUpReadReplicaBodyReadReplicaRegion = "ap-southeast-2"
SetUpReadReplicaBodyReadReplicaRegionCaCentral1 SetUpReadReplicaBodyReadReplicaRegion = "ca-central-1"
SetUpReadReplicaBodyReadReplicaRegionEuCentral1 SetUpReadReplicaBodyReadReplicaRegion = "eu-central-1"
SetUpReadReplicaBodyReadReplicaRegionEuCentral2 SetUpReadReplicaBodyReadReplicaRegion = "eu-central-2"
SetUpReadReplicaBodyReadReplicaRegionEuNorth1 SetUpReadReplicaBodyReadReplicaRegion = "eu-north-1"
SetUpReadReplicaBodyReadReplicaRegionEuWest1 SetUpReadReplicaBodyReadReplicaRegion = "eu-west-1"
SetUpReadReplicaBodyReadReplicaRegionEuWest2 SetUpReadReplicaBodyReadReplicaRegion = "eu-west-2"
SetUpReadReplicaBodyReadReplicaRegionEuWest3 SetUpReadReplicaBodyReadReplicaRegion = "eu-west-3"
SetUpReadReplicaBodyReadReplicaRegionSaEast1 SetUpReadReplicaBodyReadReplicaRegion = "sa-east-1"
SetUpReadReplicaBodyReadReplicaRegionUsEast1 SetUpReadReplicaBodyReadReplicaRegion = "us-east-1"
SetUpReadReplicaBodyReadReplicaRegionUsEast2 SetUpReadReplicaBodyReadReplicaRegion = "us-east-2"
SetUpReadReplicaBodyReadReplicaRegionUsWest1 SetUpReadReplicaBodyReadReplicaRegion = "us-west-1"
SetUpReadReplicaBodyReadReplicaRegionUsWest2 SetUpReadReplicaBodyReadReplicaRegion = "us-west-2"
)
// Defines values for SnippetMetaType.
const (
SnippetMetaTypeSql SnippetMetaType = "sql"
)
// Defines values for SnippetMetaVisibility.
const (
SnippetMetaVisibilityOrg SnippetMetaVisibility = "org"
SnippetMetaVisibilityProject SnippetMetaVisibility = "project"
SnippetMetaVisibilityPublic SnippetMetaVisibility = "public"
SnippetMetaVisibilityUser SnippetMetaVisibility = "user"
)
// Defines values for SnippetResponseType.
const (
SnippetResponseTypeSql SnippetResponseType = "sql"
)
// Defines values for SnippetResponseVisibility.
const (
SnippetResponseVisibilityOrg SnippetResponseVisibility = "org"
SnippetResponseVisibilityProject SnippetResponseVisibility = "project"
SnippetResponseVisibilityPublic SnippetResponseVisibility = "public"
SnippetResponseVisibilityUser SnippetResponseVisibility = "user"
)
// Defines values for SupavisorConfigResponseDatabaseType.
const (
PRIMARY SupavisorConfigResponseDatabaseType = "PRIMARY"
READREPLICA SupavisorConfigResponseDatabaseType = "READ_REPLICA"
)
// Defines values for SupavisorConfigResponsePoolMode.
const (
SupavisorConfigResponsePoolModeSession SupavisorConfigResponsePoolMode = "session"
SupavisorConfigResponsePoolModeTransaction SupavisorConfigResponsePoolMode = "transaction"
)
// Defines values for UpdateAuthConfigBodyPasswordRequiredCharacters.
const (
AbcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 UpdateAuthConfigBodyPasswordRequiredCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789"
AbcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567891 UpdateAuthConfigBodyPasswordRequiredCharacters = "abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789"
AbcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892 UpdateAuthConfigBodyPasswordRequiredCharacters = "abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};'\\\\:\"|<>?,./`~"
Empty UpdateAuthConfigBodyPasswordRequiredCharacters = ""
)
// Defines values for UpdateBranchBodyStatus.
const (
UpdateBranchBodyStatusCREATINGPROJECT UpdateBranchBodyStatus = "CREATING_PROJECT"
UpdateBranchBodyStatusFUNCTIONSDEPLOYED UpdateBranchBodyStatus = "FUNCTIONS_DEPLOYED"
UpdateBranchBodyStatusFUNCTIONSFAILED UpdateBranchBodyStatus = "FUNCTIONS_FAILED"
UpdateBranchBodyStatusMIGRATIONSFAILED UpdateBranchBodyStatus = "MIGRATIONS_FAILED"
UpdateBranchBodyStatusMIGRATIONSPASSED UpdateBranchBodyStatus = "MIGRATIONS_PASSED"
UpdateBranchBodyStatusRUNNINGMIGRATIONS UpdateBranchBodyStatus = "RUNNING_MIGRATIONS"
)
// Defines values for UpdateCustomHostnameResponseStatus.
const (
N1NotStarted UpdateCustomHostnameResponseStatus = "1_not_started"
N2Initiated UpdateCustomHostnameResponseStatus = "2_initiated"
N3ChallengeVerified UpdateCustomHostnameResponseStatus = "3_challenge_verified"
N4OriginSetupCompleted UpdateCustomHostnameResponseStatus = "4_origin_setup_completed"
N5ServicesReconfigured UpdateCustomHostnameResponseStatus = "5_services_reconfigured"
)
// Defines values for UpdatePostgresConfigBodySessionReplicationRole.
const (
UpdatePostgresConfigBodySessionReplicationRoleLocal UpdatePostgresConfigBodySessionReplicationRole = "local"
UpdatePostgresConfigBodySessionReplicationRoleOrigin UpdatePostgresConfigBodySessionReplicationRole = "origin"
UpdatePostgresConfigBodySessionReplicationRoleReplica UpdatePostgresConfigBodySessionReplicationRole = "replica"
)
// Defines values for UpdateSupavisorConfigBodyPoolMode.
const (
UpdateSupavisorConfigBodyPoolModeSession UpdateSupavisorConfigBodyPoolMode = "session"
UpdateSupavisorConfigBodyPoolModeTransaction UpdateSupavisorConfigBodyPoolMode = "transaction"
)
// Defines values for UpdateSupavisorConfigResponsePoolMode.
const (
UpdateSupavisorConfigResponsePoolModeSession UpdateSupavisorConfigResponsePoolMode = "session"
UpdateSupavisorConfigResponsePoolModeTransaction UpdateSupavisorConfigResponsePoolMode = "transaction"
)
// Defines values for V1BackupStatus.
const (
V1BackupStatusARCHIVED V1BackupStatus = "ARCHIVED"
V1BackupStatusCANCELLED V1BackupStatus = "CANCELLED"
V1BackupStatusCOMPLETED V1BackupStatus = "COMPLETED"
V1BackupStatusFAILED V1BackupStatus = "FAILED"
V1BackupStatusPENDING V1BackupStatus = "PENDING"
V1BackupStatusREMOVED V1BackupStatus = "REMOVED"
)
// Defines values for V1CreateProjectBodyDtoDesiredInstanceSize.
const (
V1CreateProjectBodyDtoDesiredInstanceSizeLarge V1CreateProjectBodyDtoDesiredInstanceSize = "large"
V1CreateProjectBodyDtoDesiredInstanceSizeMedium V1CreateProjectBodyDtoDesiredInstanceSize = "medium"
V1CreateProjectBodyDtoDesiredInstanceSizeMicro V1CreateProjectBodyDtoDesiredInstanceSize = "micro"
V1CreateProjectBodyDtoDesiredInstanceSizeN12xlarge V1CreateProjectBodyDtoDesiredInstanceSize = "12xlarge"
V1CreateProjectBodyDtoDesiredInstanceSizeN16xlarge V1CreateProjectBodyDtoDesiredInstanceSize = "16xlarge"
V1CreateProjectBodyDtoDesiredInstanceSizeN2xlarge V1CreateProjectBodyDtoDesiredInstanceSize = "2xlarge"
V1CreateProjectBodyDtoDesiredInstanceSizeN4xlarge V1CreateProjectBodyDtoDesiredInstanceSize = "4xlarge"
V1CreateProjectBodyDtoDesiredInstanceSizeN8xlarge V1CreateProjectBodyDtoDesiredInstanceSize = "8xlarge"
V1CreateProjectBodyDtoDesiredInstanceSizeSmall V1CreateProjectBodyDtoDesiredInstanceSize = "small"
V1CreateProjectBodyDtoDesiredInstanceSizeXlarge V1CreateProjectBodyDtoDesiredInstanceSize = "xlarge"
)
// Defines values for V1CreateProjectBodyDtoPlan.
const (
V1CreateProjectBodyDtoPlanFree V1CreateProjectBodyDtoPlan = "free"
V1CreateProjectBodyDtoPlanPro V1CreateProjectBodyDtoPlan = "pro"
)
// Defines values for V1CreateProjectBodyDtoRegion.
const (
V1CreateProjectBodyDtoRegionApEast1 V1CreateProjectBodyDtoRegion = "ap-east-1"
V1CreateProjectBodyDtoRegionApNortheast1 V1CreateProjectBodyDtoRegion = "ap-northeast-1"
V1CreateProjectBodyDtoRegionApNortheast2 V1CreateProjectBodyDtoRegion = "ap-northeast-2"
V1CreateProjectBodyDtoRegionApSouth1 V1CreateProjectBodyDtoRegion = "ap-south-1"
V1CreateProjectBodyDtoRegionApSoutheast1 V1CreateProjectBodyDtoRegion = "ap-southeast-1"
V1CreateProjectBodyDtoRegionApSoutheast2 V1CreateProjectBodyDtoRegion = "ap-southeast-2"
V1CreateProjectBodyDtoRegionCaCentral1 V1CreateProjectBodyDtoRegion = "ca-central-1"
V1CreateProjectBodyDtoRegionEuCentral1 V1CreateProjectBodyDtoRegion = "eu-central-1"
V1CreateProjectBodyDtoRegionEuCentral2 V1CreateProjectBodyDtoRegion = "eu-central-2"
V1CreateProjectBodyDtoRegionEuNorth1 V1CreateProjectBodyDtoRegion = "eu-north-1"
V1CreateProjectBodyDtoRegionEuWest1 V1CreateProjectBodyDtoRegion = "eu-west-1"
V1CreateProjectBodyDtoRegionEuWest2 V1CreateProjectBodyDtoRegion = "eu-west-2"
V1CreateProjectBodyDtoRegionEuWest3 V1CreateProjectBodyDtoRegion = "eu-west-3"
V1CreateProjectBodyDtoRegionSaEast1 V1CreateProjectBodyDtoRegion = "sa-east-1"
V1CreateProjectBodyDtoRegionUsEast1 V1CreateProjectBodyDtoRegion = "us-east-1"
V1CreateProjectBodyDtoRegionUsEast2 V1CreateProjectBodyDtoRegion = "us-east-2"
V1CreateProjectBodyDtoRegionUsWest1 V1CreateProjectBodyDtoRegion = "us-west-1"
V1CreateProjectBodyDtoRegionUsWest2 V1CreateProjectBodyDtoRegion = "us-west-2"
)
// Defines values for V1OrganizationSlugResponseOptInTags.
const (
AISQLGENERATOROPTIN V1OrganizationSlugResponseOptInTags = "AI_SQL_GENERATOR_OPT_IN"
)
// Defines values for V1PgbouncerConfigResponsePoolMode.
const (
V1PgbouncerConfigResponsePoolModeSession V1PgbouncerConfigResponsePoolMode = "session"
V1PgbouncerConfigResponsePoolModeStatement V1PgbouncerConfigResponsePoolMode = "statement"
V1PgbouncerConfigResponsePoolModeTransaction V1PgbouncerConfigResponsePoolMode = "transaction"
)
// Defines values for V1ProjectResponseStatus.
const (
V1ProjectResponseStatusACTIVEHEALTHY V1ProjectResponseStatus = "ACTIVE_HEALTHY"
V1ProjectResponseStatusACTIVEUNHEALTHY V1ProjectResponseStatus = "ACTIVE_UNHEALTHY"
V1ProjectResponseStatusCOMINGUP V1ProjectResponseStatus = "COMING_UP"
V1ProjectResponseStatusGOINGDOWN V1ProjectResponseStatus = "GOING_DOWN"
V1ProjectResponseStatusINACTIVE V1ProjectResponseStatus = "INACTIVE"
V1ProjectResponseStatusINITFAILED V1ProjectResponseStatus = "INIT_FAILED"
V1ProjectResponseStatusPAUSEFAILED V1ProjectResponseStatus = "PAUSE_FAILED"
V1ProjectResponseStatusPAUSING V1ProjectResponseStatus = "PAUSING"
V1ProjectResponseStatusREMOVED V1ProjectResponseStatus = "REMOVED"
V1ProjectResponseStatusRESIZING V1ProjectResponseStatus = "RESIZING"
V1ProjectResponseStatusRESTARTING V1ProjectResponseStatus = "RESTARTING"
V1ProjectResponseStatusRESTOREFAILED V1ProjectResponseStatus = "RESTORE_FAILED"
V1ProjectResponseStatusRESTORING V1ProjectResponseStatus = "RESTORING"
V1ProjectResponseStatusUNKNOWN V1ProjectResponseStatus = "UNKNOWN"
V1ProjectResponseStatusUPGRADING V1ProjectResponseStatus = "UPGRADING"
)
// Defines values for V1ProjectWithDatabaseResponseStatus.
const (
V1ProjectWithDatabaseResponseStatusACTIVEHEALTHY V1ProjectWithDatabaseResponseStatus = "ACTIVE_HEALTHY"
V1ProjectWithDatabaseResponseStatusACTIVEUNHEALTHY V1ProjectWithDatabaseResponseStatus = "ACTIVE_UNHEALTHY"
V1ProjectWithDatabaseResponseStatusCOMINGUP V1ProjectWithDatabaseResponseStatus = "COMING_UP"
V1ProjectWithDatabaseResponseStatusGOINGDOWN V1ProjectWithDatabaseResponseStatus = "GOING_DOWN"
V1ProjectWithDatabaseResponseStatusINACTIVE V1ProjectWithDatabaseResponseStatus = "INACTIVE"
V1ProjectWithDatabaseResponseStatusINITFAILED V1ProjectWithDatabaseResponseStatus = "INIT_FAILED"
V1ProjectWithDatabaseResponseStatusPAUSEFAILED V1ProjectWithDatabaseResponseStatus = "PAUSE_FAILED"
V1ProjectWithDatabaseResponseStatusPAUSING V1ProjectWithDatabaseResponseStatus = "PAUSING"
V1ProjectWithDatabaseResponseStatusREMOVED V1ProjectWithDatabaseResponseStatus = "REMOVED"
V1ProjectWithDatabaseResponseStatusRESIZING V1ProjectWithDatabaseResponseStatus = "RESIZING"
V1ProjectWithDatabaseResponseStatusRESTARTING V1ProjectWithDatabaseResponseStatus = "RESTARTING"
V1ProjectWithDatabaseResponseStatusRESTOREFAILED V1ProjectWithDatabaseResponseStatus = "RESTORE_FAILED"
V1ProjectWithDatabaseResponseStatusRESTORING V1ProjectWithDatabaseResponseStatus = "RESTORING"
V1ProjectWithDatabaseResponseStatusUNKNOWN V1ProjectWithDatabaseResponseStatus = "UNKNOWN"
V1ProjectWithDatabaseResponseStatusUPGRADING V1ProjectWithDatabaseResponseStatus = "UPGRADING"
)
// Defines values for V1ServiceHealthResponseName.
const (
V1ServiceHealthResponseNameAuth V1ServiceHealthResponseName = "auth"
V1ServiceHealthResponseNameDb V1ServiceHealthResponseName = "db"
V1ServiceHealthResponseNamePooler V1ServiceHealthResponseName = "pooler"
V1ServiceHealthResponseNameRealtime V1ServiceHealthResponseName = "realtime"
V1ServiceHealthResponseNameRest V1ServiceHealthResponseName = "rest"
V1ServiceHealthResponseNameStorage V1ServiceHealthResponseName = "storage"
)
// Defines values for V1ServiceHealthResponseStatus.
const (
ACTIVEHEALTHY V1ServiceHealthResponseStatus = "ACTIVE_HEALTHY"
COMINGUP V1ServiceHealthResponseStatus = "COMING_UP"
UNHEALTHY V1ServiceHealthResponseStatus = "UNHEALTHY"
)
// Defines values for VanitySubdomainConfigResponseStatus.
const (
Active VanitySubdomainConfigResponseStatus = "active"
CustomDomainUsed VanitySubdomainConfigResponseStatus = "custom-domain-used"
NotUsed VanitySubdomainConfigResponseStatus = "not-used"
)
// Defines values for V1AuthorizeUserParamsResponseType.
const (
Code V1AuthorizeUserParamsResponseType = "code"
IdTokenToken V1AuthorizeUserParamsResponseType = "id_token token"
Token V1AuthorizeUserParamsResponseType = "token"
)
// Defines values for V1AuthorizeUserParamsCodeChallengeMethod.
const (
Plain V1AuthorizeUserParamsCodeChallengeMethod = "plain"
S256 V1AuthorizeUserParamsCodeChallengeMethod = "S256"
Sha256 V1AuthorizeUserParamsCodeChallengeMethod = "sha256"
)
// Defines values for V1GetServicesHealthParamsServices.
const (
V1GetServicesHealthParamsServicesAuth V1GetServicesHealthParamsServices = "auth"
V1GetServicesHealthParamsServicesDb V1GetServicesHealthParamsServices = "db"
V1GetServicesHealthParamsServicesPooler V1GetServicesHealthParamsServices = "pooler"
V1GetServicesHealthParamsServicesRealtime V1GetServicesHealthParamsServices = "realtime"
V1GetServicesHealthParamsServicesRest V1GetServicesHealthParamsServices = "rest"
V1GetServicesHealthParamsServicesStorage V1GetServicesHealthParamsServices = "storage"
)
// Defines values for V1ListAllSnippetsParamsSortBy.
const (
InsertedAt V1ListAllSnippetsParamsSortBy = "inserted_at"
Name V1ListAllSnippetsParamsSortBy = "name"
)
// Defines values for V1ListAllSnippetsParamsSortOrder.
const (
Asc V1ListAllSnippetsParamsSortOrder = "asc"
Desc V1ListAllSnippetsParamsSortOrder = "desc"
)
// ActivateVanitySubdomainResponse defines model for ActivateVanitySubdomainResponse.
type ActivateVanitySubdomainResponse struct {
CustomDomain string `json:"custom_domain"`
}
// ApiKeyResponse defines model for ApiKeyResponse.
type ApiKeyResponse struct {
ApiKey string `json:"api_key"`
Description *string `json:"description"`
Hash *string `json:"hash"`
Id *string `json:"id"`
InsertedAt *string `json:"inserted_at"`
Name string `json:"name"`
Prefix *string `json:"prefix"`
SecretJwtTemplate *ApiKeySecretJWTTemplate `json:"secret_jwt_template"`
Type *ApiKeyResponseType `json:"type"`
UpdatedAt *string `json:"updated_at"`
}
// ApiKeyResponseType defines model for ApiKeyResponse.Type.
type ApiKeyResponseType string
// ApiKeySecretJWTTemplate defines model for ApiKeySecretJWTTemplate.
type ApiKeySecretJWTTemplate struct {
Role string `json:"role"`
}
// AttributeMapping defines model for AttributeMapping.
type AttributeMapping struct {
Keys map[string]AttributeValue `json:"keys"`
}
// AttributeValue defines model for AttributeValue.
type AttributeValue struct {
Array *bool `json:"array,omitempty"`
Default *AttributeValue_Default `json:"default,omitempty"`
Name *string `json:"name,omitempty"`
Names *[]string `json:"names,omitempty"`
}
// AttributeValueDefault0 defines model for .
type AttributeValueDefault0 = map[string]interface{}
// AttributeValueDefault1 defines model for .
type AttributeValueDefault1 = float32
// AttributeValueDefault2 defines model for .
type AttributeValueDefault2 = string
// AttributeValueDefault3 defines model for .
type AttributeValueDefault3 = bool
// AttributeValue_Default defines model for AttributeValue.Default.
type AttributeValue_Default struct {
union json.RawMessage
}
// AuthConfigResponse defines model for AuthConfigResponse.
type AuthConfigResponse struct {
ApiMaxRequestDuration *int `json:"api_max_request_duration"`
DbMaxPoolSize *int `json:"db_max_pool_size"`
DisableSignup *bool `json:"disable_signup"`
ExternalAnonymousUsersEnabled *bool `json:"external_anonymous_users_enabled"`
ExternalAppleAdditionalClientIds *string `json:"external_apple_additional_client_ids"`
ExternalAppleClientId *string `json:"external_apple_client_id"`
ExternalAppleEnabled *bool `json:"external_apple_enabled"`
ExternalAppleSecret *string `json:"external_apple_secret"`
ExternalAzureClientId *string `json:"external_azure_client_id"`
ExternalAzureEnabled *bool `json:"external_azure_enabled"`
ExternalAzureSecret *string `json:"external_azure_secret"`
ExternalAzureUrl *string `json:"external_azure_url"`
ExternalBitbucketClientId *string `json:"external_bitbucket_client_id"`
ExternalBitbucketEnabled *bool `json:"external_bitbucket_enabled"`
ExternalBitbucketSecret *string `json:"external_bitbucket_secret"`
ExternalDiscordClientId *string `json:"external_discord_client_id"`
ExternalDiscordEnabled *bool `json:"external_discord_enabled"`
ExternalDiscordSecret *string `json:"external_discord_secret"`
ExternalEmailEnabled *bool `json:"external_email_enabled"`
ExternalFacebookClientId *string `json:"external_facebook_client_id"`
ExternalFacebookEnabled *bool `json:"external_facebook_enabled"`
ExternalFacebookSecret *string `json:"external_facebook_secret"`
ExternalFigmaClientId *string `json:"external_figma_client_id"`
ExternalFigmaEnabled *bool `json:"external_figma_enabled"`
ExternalFigmaSecret *string `json:"external_figma_secret"`
ExternalGithubClientId *string `json:"external_github_client_id"`
ExternalGithubEnabled *bool `json:"external_github_enabled"`
ExternalGithubSecret *string `json:"external_github_secret"`
ExternalGitlabClientId *string `json:"external_gitlab_client_id"`
ExternalGitlabEnabled *bool `json:"external_gitlab_enabled"`
ExternalGitlabSecret *string `json:"external_gitlab_secret"`
ExternalGitlabUrl *string `json:"external_gitlab_url"`
ExternalGoogleAdditionalClientIds *string `json:"external_google_additional_client_ids"`
ExternalGoogleClientId *string `json:"external_google_client_id"`
ExternalGoogleEnabled *bool `json:"external_google_enabled"`
ExternalGoogleSecret *string `json:"external_google_secret"`
ExternalGoogleSkipNonceCheck *bool `json:"external_google_skip_nonce_check"`
ExternalKakaoClientId *string `json:"external_kakao_client_id"`
ExternalKakaoEnabled *bool `json:"external_kakao_enabled"`
ExternalKakaoSecret *string `json:"external_kakao_secret"`
ExternalKeycloakClientId *string `json:"external_keycloak_client_id"`
ExternalKeycloakEnabled *bool `json:"external_keycloak_enabled"`
ExternalKeycloakSecret *string `json:"external_keycloak_secret"`
ExternalKeycloakUrl *string `json:"external_keycloak_url"`
ExternalLinkedinOidcClientId *string `json:"external_linkedin_oidc_client_id"`
ExternalLinkedinOidcEnabled *bool `json:"external_linkedin_oidc_enabled"`
ExternalLinkedinOidcSecret *string `json:"external_linkedin_oidc_secret"`
ExternalNotionClientId *string `json:"external_notion_client_id"`
ExternalNotionEnabled *bool `json:"external_notion_enabled"`
ExternalNotionSecret *string `json:"external_notion_secret"`
ExternalPhoneEnabled *bool `json:"external_phone_enabled"`
ExternalSlackClientId *string `json:"external_slack_client_id"`
ExternalSlackEnabled *bool `json:"external_slack_enabled"`
ExternalSlackOidcClientId *string `json:"external_slack_oidc_client_id"`
ExternalSlackOidcEnabled *bool `json:"external_slack_oidc_enabled"`
ExternalSlackOidcSecret *string `json:"external_slack_oidc_secret"`
ExternalSlackSecret *string `json:"external_slack_secret"`
ExternalSpotifyClientId *string `json:"external_spotify_client_id"`
ExternalSpotifyEnabled *bool `json:"external_spotify_enabled"`
ExternalSpotifySecret *string `json:"external_spotify_secret"`
ExternalTwitchClientId *string `json:"external_twitch_client_id"`
ExternalTwitchEnabled *bool `json:"external_twitch_enabled"`
ExternalTwitchSecret *string `json:"external_twitch_secret"`
ExternalTwitterClientId *string `json:"external_twitter_client_id"`
ExternalTwitterEnabled *bool `json:"external_twitter_enabled"`
ExternalTwitterSecret *string `json:"external_twitter_secret"`
ExternalWorkosClientId *string `json:"external_workos_client_id"`
ExternalWorkosEnabled *bool `json:"external_workos_enabled"`
ExternalWorkosSecret *string `json:"external_workos_secret"`
ExternalWorkosUrl *string `json:"external_workos_url"`
ExternalZoomClientId *string `json:"external_zoom_client_id"`
ExternalZoomEnabled *bool `json:"external_zoom_enabled"`
ExternalZoomSecret *string `json:"external_zoom_secret"`
HookCustomAccessTokenEnabled *bool `json:"hook_custom_access_token_enabled"`
HookCustomAccessTokenSecrets *string `json:"hook_custom_access_token_secrets"`
HookCustomAccessTokenUri *string `json:"hook_custom_access_token_uri"`
HookMfaVerificationAttemptEnabled *bool `json:"hook_mfa_verification_attempt_enabled"`
HookMfaVerificationAttemptSecrets *string `json:"hook_mfa_verification_attempt_secrets"`
HookMfaVerificationAttemptUri *string `json:"hook_mfa_verification_attempt_uri"`
HookPasswordVerificationAttemptEnabled *bool `json:"hook_password_verification_attempt_enabled"`
HookPasswordVerificationAttemptSecrets *string `json:"hook_password_verification_attempt_secrets"`
HookPasswordVerificationAttemptUri *string `json:"hook_password_verification_attempt_uri"`
HookSendEmailEnabled *bool `json:"hook_send_email_enabled"`
HookSendEmailSecrets *string `json:"hook_send_email_secrets"`
HookSendEmailUri *string `json:"hook_send_email_uri"`
HookSendSmsEnabled *bool `json:"hook_send_sms_enabled"`
HookSendSmsSecrets *string `json:"hook_send_sms_secrets"`
HookSendSmsUri *string `json:"hook_send_sms_uri"`
JwtExp *int `json:"jwt_exp"`
MailerAllowUnverifiedEmailSignIns *bool `json:"mailer_allow_unverified_email_sign_ins"`
MailerAutoconfirm *bool `json:"mailer_autoconfirm"`
MailerOtpExp int `json:"mailer_otp_exp"`
MailerOtpLength *int `json:"mailer_otp_length"`
MailerSecureEmailChangeEnabled *bool `json:"mailer_secure_email_change_enabled"`
MailerSubjectsConfirmation *string `json:"mailer_subjects_confirmation"`
MailerSubjectsEmailChange *string `json:"mailer_subjects_email_change"`
MailerSubjectsInvite *string `json:"mailer_subjects_invite"`
MailerSubjectsMagicLink *string `json:"mailer_subjects_magic_link"`
MailerSubjectsReauthentication *string `json:"mailer_subjects_reauthentication"`
MailerSubjectsRecovery *string `json:"mailer_subjects_recovery"`
MailerTemplatesConfirmationContent *string `json:"mailer_templates_confirmation_content"`
MailerTemplatesEmailChangeContent *string `json:"mailer_templates_email_change_content"`
MailerTemplatesInviteContent *string `json:"mailer_templates_invite_content"`
MailerTemplatesMagicLinkContent *string `json:"mailer_templates_magic_link_content"`
MailerTemplatesReauthenticationContent *string `json:"mailer_templates_reauthentication_content"`
MailerTemplatesRecoveryContent *string `json:"mailer_templates_recovery_content"`
MfaMaxEnrolledFactors *int `json:"mfa_max_enrolled_factors"`
MfaPhoneEnrollEnabled *bool `json:"mfa_phone_enroll_enabled"`
MfaPhoneMaxFrequency *int `json:"mfa_phone_max_frequency"`
MfaPhoneOtpLength int `json:"mfa_phone_otp_length"`
MfaPhoneTemplate *string `json:"mfa_phone_template"`
MfaPhoneVerifyEnabled *bool `json:"mfa_phone_verify_enabled"`
MfaTotpEnrollEnabled *bool `json:"mfa_totp_enroll_enabled"`
MfaTotpVerifyEnabled *bool `json:"mfa_totp_verify_enabled"`
MfaWebAuthnEnrollEnabled *bool `json:"mfa_web_authn_enroll_enabled"`
MfaWebAuthnVerifyEnabled *bool `json:"mfa_web_authn_verify_enabled"`
PasswordHibpEnabled *bool `json:"password_hibp_enabled"`
PasswordMinLength *int `json:"password_min_length"`
PasswordRequiredCharacters *string `json:"password_required_characters"`
RateLimitAnonymousUsers *int `json:"rate_limit_anonymous_users"`
RateLimitEmailSent *int `json:"rate_limit_email_sent"`
RateLimitOtp *int `json:"rate_limit_otp"`
RateLimitSmsSent *int `json:"rate_limit_sms_sent"`
RateLimitTokenRefresh *int `json:"rate_limit_token_refresh"`
RateLimitVerify *int `json:"rate_limit_verify"`
RefreshTokenRotationEnabled *bool `json:"refresh_token_rotation_enabled"`
SamlAllowEncryptedAssertions *bool `json:"saml_allow_encrypted_assertions"`
SamlEnabled *bool `json:"saml_enabled"`
SamlExternalUrl *string `json:"saml_external_url"`
SecurityCaptchaEnabled *bool `json:"security_captcha_enabled"`
SecurityCaptchaProvider *string `json:"security_captcha_provider"`
SecurityCaptchaSecret *string `json:"security_captcha_secret"`
SecurityManualLinkingEnabled *bool `json:"security_manual_linking_enabled"`
SecurityRefreshTokenReuseInterval *int `json:"security_refresh_token_reuse_interval"`
SecurityUpdatePasswordRequireReauthentication *bool `json:"security_update_password_require_reauthentication"`
SessionsInactivityTimeout *int `json:"sessions_inactivity_timeout"`
SessionsSinglePerUser *bool `json:"sessions_single_per_user"`
SessionsTags *string `json:"sessions_tags"`
SessionsTimebox *int `json:"sessions_timebox"`
SiteUrl *string `json:"site_url"`
SmsAutoconfirm *bool `json:"sms_autoconfirm"`
SmsMaxFrequency *int `json:"sms_max_frequency"`
SmsMessagebirdAccessKey *string `json:"sms_messagebird_access_key"`
SmsMessagebirdOriginator *string `json:"sms_messagebird_originator"`
SmsOtpExp *int `json:"sms_otp_exp"`
SmsOtpLength int `json:"sms_otp_length"`
SmsProvider *string `json:"sms_provider"`
SmsTemplate *string `json:"sms_template"`
SmsTestOtp *string `json:"sms_test_otp"`
SmsTestOtpValidUntil *string `json:"sms_test_otp_valid_until"`
SmsTextlocalApiKey *string `json:"sms_textlocal_api_key"`
SmsTextlocalSender *string `json:"sms_textlocal_sender"`
SmsTwilioAccountSid *string `json:"sms_twilio_account_sid"`
SmsTwilioAuthToken *string `json:"sms_twilio_auth_token"`
SmsTwilioContentSid *string `json:"sms_twilio_content_sid"`
SmsTwilioMessageServiceSid *string `json:"sms_twilio_message_service_sid"`
SmsTwilioVerifyAccountSid *string `json:"sms_twilio_verify_account_sid"`
SmsTwilioVerifyAuthToken *string `json:"sms_twilio_verify_auth_token"`
SmsTwilioVerifyMessageServiceSid *string `json:"sms_twilio_verify_message_service_sid"`
SmsVonageApiKey *string `json:"sms_vonage_api_key"`
SmsVonageApiSecret *string `json:"sms_vonage_api_secret"`
SmsVonageFrom *string `json:"sms_vonage_from"`
SmtpAdminEmail *string `json:"smtp_admin_email"`
SmtpHost *string `json:"smtp_host"`
SmtpMaxFrequency *int `json:"smtp_max_frequency"`
SmtpPass *string `json:"smtp_pass"`
SmtpPort *string `json:"smtp_port"`
SmtpSenderName *string `json:"smtp_sender_name"`
SmtpUser *string `json:"smtp_user"`
UriAllowList *string `json:"uri_allow_list"`
}
// AuthHealthResponse defines model for AuthHealthResponse.
type AuthHealthResponse struct {
Name AuthHealthResponseName `json:"name"`
}
// AuthHealthResponseName defines model for AuthHealthResponse.Name.
type AuthHealthResponseName string
// BillingPlanId defines model for BillingPlanId.
type BillingPlanId string
// BranchDeleteResponse defines model for BranchDeleteResponse.
type BranchDeleteResponse struct {
Message string `json:"message"`
}
// BranchDetailResponse defines model for BranchDetailResponse.
type BranchDetailResponse struct {
DbHost string `json:"db_host"`
DbPass *string `json:"db_pass,omitempty"`
DbPort int `json:"db_port"`
DbUser *string `json:"db_user,omitempty"`
JwtSecret *string `json:"jwt_secret,omitempty"`
PostgresEngine string `json:"postgres_engine"`
PostgresVersion string `json:"postgres_version"`
Ref string `json:"ref"`
ReleaseChannel string `json:"release_channel"`
Status BranchDetailResponseStatus `json:"status"`
}
// BranchDetailResponseStatus defines model for BranchDetailResponse.Status.
type BranchDetailResponseStatus string
// BranchResponse defines model for BranchResponse.
type BranchResponse struct {
CreatedAt string `json:"created_at"`
GitBranch *string `json:"git_branch,omitempty"`
Id string `json:"id"`
IsDefault bool `json:"is_default"`
// LatestCheckRunId This field is deprecated and will not be populated.
// Deprecated:
LatestCheckRunId *float32 `json:"latest_check_run_id,omitempty"`
Name string `json:"name"`
ParentProjectRef string `json:"parent_project_ref"`
Persistent bool `json:"persistent"`
PrNumber *int32 `json:"pr_number,omitempty"`
ProjectRef string `json:"project_ref"`
Status BranchResponseStatus `json:"status"`
UpdatedAt string `json:"updated_at"`
}
// BranchResponseStatus defines model for BranchResponse.Status.
type BranchResponseStatus string
// BranchUpdateResponse defines model for BranchUpdateResponse.
type BranchUpdateResponse struct {
Message string `json:"message"`
WorkflowRunId string `json:"workflow_run_id"`
}
// BulkUpdateFunctionBody defines model for BulkUpdateFunctionBody.
type BulkUpdateFunctionBody struct {
CreatedAt *int64 `json:"created_at,omitempty"`
EntrypointPath *string `json:"entrypoint_path,omitempty"`
Id string `json:"id"`
ImportMap *bool `json:"import_map,omitempty"`
ImportMapPath *string `json:"import_map_path,omitempty"`
Name string `json:"name"`
Slug string `json:"slug"`
Status BulkUpdateFunctionBodyStatus `json:"status"`
VerifyJwt *bool `json:"verify_jwt,omitempty"`
Version int `json:"version"`
}
// BulkUpdateFunctionBodyStatus defines model for BulkUpdateFunctionBody.Status.
type BulkUpdateFunctionBodyStatus string
// BulkUpdateFunctionResponse defines model for BulkUpdateFunctionResponse.
type BulkUpdateFunctionResponse struct {
Functions []FunctionResponse `json:"functions"`
}
// CfResponse defines model for CfResponse.
type CfResponse struct {
Errors []map[string]interface{} `json:"errors"`
Messages []map[string]interface{} `json:"messages"`
Result CustomHostnameDetails `json:"result"`
Success bool `json:"success"`
}
// CreateApiKeyBody defines model for CreateApiKeyBody.
type CreateApiKeyBody struct {
Description *string `json:"description"`
SecretJwtTemplate *ApiKeySecretJWTTemplate `json:"secret_jwt_template"`
Type CreateApiKeyBodyType `json:"type"`
}
// CreateApiKeyBodyType defines model for CreateApiKeyBody.Type.
type CreateApiKeyBodyType string
// CreateBranchBody defines model for CreateBranchBody.
type CreateBranchBody struct {
BranchName string `json:"branch_name"`
DesiredInstanceSize *DesiredInstanceSize `json:"desired_instance_size,omitempty"`
GitBranch *string `json:"git_branch,omitempty"`
Persistent *bool `json:"persistent,omitempty"`
// PostgresEngine Postgres engine version. If not provided, the latest version will be used.
PostgresEngine *PostgresEngine `json:"postgres_engine,omitempty"`
Region *string `json:"region,omitempty"`
ReleaseChannel *ReleaseChannel `json:"release_channel,omitempty"`
}
// CreateOrganizationV1Dto defines model for CreateOrganizationV1Dto.
type CreateOrganizationV1Dto struct {
Name string `json:"name"`
}
// CreateProviderBody defines model for CreateProviderBody.
type CreateProviderBody struct {
AttributeMapping *AttributeMapping `json:"attribute_mapping,omitempty"`
Domains *[]string `json:"domains,omitempty"`
MetadataUrl *string `json:"metadata_url,omitempty"`
MetadataXml *string `json:"metadata_xml,omitempty"`
// Type What type of provider will be created
Type CreateProviderBodyType `json:"type"`
}
// CreateProviderBodyType What type of provider will be created
type CreateProviderBodyType string
// CreateProviderResponse defines model for CreateProviderResponse.
type CreateProviderResponse struct {
CreatedAt *string `json:"created_at,omitempty"`
Domains *[]Domain `json:"domains,omitempty"`
Id string `json:"id"`
Saml *SamlDescriptor `json:"saml,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
}
// CreateSecretBody defines model for CreateSecretBody.
type CreateSecretBody struct {
// Name Secret name must not start with the SUPABASE_ prefix.
Name string `json:"name"`
Value string `json:"value"`
}
// CreateThirdPartyAuthBody defines model for CreateThirdPartyAuthBody.
type CreateThirdPartyAuthBody struct {
CustomJwks *map[string]interface{} `json:"custom_jwks,omitempty"`
JwksUrl *string `json:"jwks_url,omitempty"`
OidcIssuerUrl *string `json:"oidc_issuer_url,omitempty"`
}
// CustomHostnameDetails defines model for CustomHostnameDetails.
type CustomHostnameDetails struct {
CustomOriginServer string `json:"custom_origin_server"`
Hostname string `json:"hostname"`
Id string `json:"id"`
OwnershipVerification OwnershipVerification `json:"ownership_verification"`
Ssl SslValidation `json:"ssl"`
Status string `json:"status"`
VerificationErrors *[]string `json:"verification_errors,omitempty"`
}
// DatabaseUpgradeStatus defines model for DatabaseUpgradeStatus.
type DatabaseUpgradeStatus struct {
Error *DatabaseUpgradeStatusError `json:"error,omitempty"`
InitiatedAt string `json:"initiated_at"`
LatestStatusAt string `json:"latest_status_at"`
Progress *DatabaseUpgradeStatusProgress `json:"progress,omitempty"`
Status DatabaseUpgradeStatusStatus `json:"status"`
TargetVersion int `json:"target_version"`
}
// DatabaseUpgradeStatusError defines model for DatabaseUpgradeStatus.Error.
type DatabaseUpgradeStatusError string
// DatabaseUpgradeStatusProgress defines model for DatabaseUpgradeStatus.Progress.
type DatabaseUpgradeStatusProgress string
// DatabaseUpgradeStatusStatus defines model for DatabaseUpgradeStatus.Status.
type DatabaseUpgradeStatusStatus int
// DatabaseUpgradeStatusResponse defines model for DatabaseUpgradeStatusResponse.
type DatabaseUpgradeStatusResponse struct {
DatabaseUpgradeStatus *DatabaseUpgradeStatus `json:"databaseUpgradeStatus"`
}
// DeleteProviderResponse defines model for DeleteProviderResponse.
type DeleteProviderResponse struct {
CreatedAt *string `json:"created_at,omitempty"`
Domains *[]Domain `json:"domains,omitempty"`
Id string `json:"id"`
Saml *SamlDescriptor `json:"saml,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
}
// DeployFunctionResponse defines model for DeployFunctionResponse.
type DeployFunctionResponse struct {
ComputeMultiplier *float32 `json:"compute_multiplier,omitempty"`
CreatedAt *int64 `json:"created_at,omitempty"`
EntrypointPath *string `json:"entrypoint_path,omitempty"`
Id string `json:"id"`
ImportMap *bool `json:"import_map,omitempty"`
ImportMapPath *string `json:"import_map_path,omitempty"`
Name string `json:"name"`
Slug string `json:"slug"`
Status DeployFunctionResponseStatus `json:"status"`
UpdatedAt *int64 `json:"updated_at,omitempty"`
VerifyJwt *bool `json:"verify_jwt,omitempty"`
Version int `json:"version"`
}
// DeployFunctionResponseStatus defines model for DeployFunctionResponse.Status.
type DeployFunctionResponseStatus string
// DesiredInstanceSize defines model for DesiredInstanceSize.
type DesiredInstanceSize string
// Domain defines model for Domain.
type Domain struct {
CreatedAt *string `json:"created_at,omitempty"`
Domain *string `json:"domain,omitempty"`
Id string `json:"id"`
UpdatedAt *string `json:"updated_at,omitempty"`
}
// FunctionDeployBody defines model for FunctionDeployBody.
type FunctionDeployBody struct {
File []openapi_types.File `json:"file"`
Metadata FunctionDeployMetadata `json:"metadata"`
}
// FunctionDeployMetadata defines model for FunctionDeployMetadata.
type FunctionDeployMetadata struct {
EntrypointPath string `json:"entrypoint_path"`
ImportMapPath *string `json:"import_map_path,omitempty"`
Name *string `json:"name,omitempty"`
StaticPatterns *[]string `json:"static_patterns,omitempty"`
VerifyJwt *bool `json:"verify_jwt,omitempty"`
}
// FunctionResponse defines model for FunctionResponse.
type FunctionResponse struct {
ComputeMultiplier *float32 `json:"compute_multiplier,omitempty"`
CreatedAt int64 `json:"created_at"`
EntrypointPath *string `json:"entrypoint_path,omitempty"`
Id string `json:"id"`
ImportMap *bool `json:"import_map,omitempty"`
ImportMapPath *string `json:"import_map_path,omitempty"`
Name string `json:"name"`
Slug string `json:"slug"`
Status FunctionResponseStatus `json:"status"`
UpdatedAt int64 `json:"updated_at"`
VerifyJwt *bool `json:"verify_jwt,omitempty"`
Version int `json:"version"`
}
// FunctionResponseStatus defines model for FunctionResponse.Status.
type FunctionResponseStatus string
// FunctionSlugResponse defines model for FunctionSlugResponse.
type FunctionSlugResponse struct {
ComputeMultiplier *float32 `json:"compute_multiplier,omitempty"`
CreatedAt int64 `json:"created_at"`
EntrypointPath *string `json:"entrypoint_path,omitempty"`
Id string `json:"id"`
ImportMap *bool `json:"import_map,omitempty"`
ImportMapPath *string `json:"import_map_path,omitempty"`
Name string `json:"name"`
Slug string `json:"slug"`
Status FunctionSlugResponseStatus `json:"status"`
UpdatedAt int64 `json:"updated_at"`
VerifyJwt *bool `json:"verify_jwt,omitempty"`
Version int `json:"version"`
}
// FunctionSlugResponseStatus defines model for FunctionSlugResponse.Status.
You can’t perform that action at this time.
