pgbeam 0.3.7 → 0.3.8
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/index.cjs +31 -2
- package/dist/index.d.cts +416 -2
- package/dist/index.d.mts +416 -2
- package/dist/index.mjs +31 -2
- package/dist/operations.cjs +103 -9
- package/dist/operations.d.cts +357 -0
- package/dist/operations.d.mts +357 -0
- package/dist/operations.mjs +103 -9
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2236,6 +2236,36 @@ type PlanLimits = {
|
|
|
2236
2236
|
* @type integer
|
|
2237
2237
|
*/
|
|
2238
2238
|
included_seats: number;
|
|
2239
|
+
/**
|
|
2240
|
+
* @description Maximum agent credentials per organization. 0 means unlimited.
|
|
2241
|
+
* @type integer
|
|
2242
|
+
*/
|
|
2243
|
+
max_agent_credentials: number;
|
|
2244
|
+
/**
|
|
2245
|
+
* @description Agent audit-log retention window in days.
|
|
2246
|
+
* @type integer
|
|
2247
|
+
*/
|
|
2248
|
+
audit_retention_days: number;
|
|
2249
|
+
/**
|
|
2250
|
+
* @description Maximum concurrently active instant (sandbox) branches. 0 means no limit.
|
|
2251
|
+
* @type integer
|
|
2252
|
+
*/
|
|
2253
|
+
sandbox_max_branches: number;
|
|
2254
|
+
/**
|
|
2255
|
+
* @description Maximum upstream source-database size a sandbox base sync accepts, in bytes. 0 means no limit.
|
|
2256
|
+
* @type integer
|
|
2257
|
+
*/
|
|
2258
|
+
sandbox_max_upstream_bytes: number;
|
|
2259
|
+
/**
|
|
2260
|
+
* @description Idle time before an instant (sandbox) branch scales to zero, in seconds.
|
|
2261
|
+
* @type integer
|
|
2262
|
+
*/
|
|
2263
|
+
sandbox_idle_seconds: number;
|
|
2264
|
+
/**
|
|
2265
|
+
* @description Lifetime of an instant (sandbox) branch before the TTL sweep discards it, in seconds.
|
|
2266
|
+
* @type integer
|
|
2267
|
+
*/
|
|
2268
|
+
sandbox_ttl_seconds: number;
|
|
2239
2269
|
};
|
|
2240
2270
|
|
|
2241
2271
|
/**
|
|
@@ -7162,6 +7192,17 @@ type CidrEntry = {
|
|
|
7162
7192
|
label?: string;
|
|
7163
7193
|
};
|
|
7164
7194
|
|
|
7195
|
+
/**
|
|
7196
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
7197
|
+
* Do not edit manually.
|
|
7198
|
+
*/
|
|
7199
|
+
declare const dataResidency: {
|
|
7200
|
+
readonly any: "any";
|
|
7201
|
+
readonly us: "us";
|
|
7202
|
+
readonly eu: "eu";
|
|
7203
|
+
};
|
|
7204
|
+
type DataResidencyKey = (typeof dataResidency)[keyof typeof dataResidency];
|
|
7205
|
+
|
|
7165
7206
|
/**
|
|
7166
7207
|
* Generated by Kubb (https://kubb.dev/).
|
|
7167
7208
|
* Do not edit manually.
|
|
@@ -7227,6 +7268,12 @@ type Project = {
|
|
|
7227
7268
|
* @type string | undefined
|
|
7228
7269
|
*/
|
|
7229
7270
|
readonly cloud?: ProjectCloudEnumKey;
|
|
7271
|
+
/**
|
|
7272
|
+
* @description When true, this project\'s data plane runs in the customer\'s own VPC/cluster (BYOC): the control plane does not provision hosted infra, and a self-hosted proxy dials home over the config/audit gRPC stream. Requires the Scale or enterprise plan.\n
|
|
7273
|
+
* @example false
|
|
7274
|
+
* @type boolean | undefined
|
|
7275
|
+
*/
|
|
7276
|
+
readonly self_hosted?: boolean;
|
|
7230
7277
|
/**
|
|
7231
7278
|
* @description Proxy hostname for connecting through PgBeam (e.g., myproject.proxy.pgbeam.app).
|
|
7232
7279
|
* @type string | undefined
|
|
@@ -7262,6 +7309,13 @@ type Project = {
|
|
|
7262
7309
|
* @type string
|
|
7263
7310
|
*/
|
|
7264
7311
|
default_policy_profile_id?: string | null;
|
|
7312
|
+
/**
|
|
7313
|
+
* @description Data-residency requirement for the project. \"any\" (default) lets queries be served from the nearest data-plane metro. \"us\" or \"eu\" require the serving metro to be in that jurisdiction; the proxy fails a connection closed when it is served from a metro outside the required jurisdiction, so regulated workloads never process outside their permitted region.\n
|
|
7314
|
+
* @default "any"
|
|
7315
|
+
* @example eu
|
|
7316
|
+
* @type string | undefined
|
|
7317
|
+
*/
|
|
7318
|
+
residency?: DataResidencyKey;
|
|
7265
7319
|
/**
|
|
7266
7320
|
* @description Project-level kill-switch. When true, ALL agent-credential connections to this project are blocked at the proxy and live agent sessions are dropped within seconds. Passthrough/human connections are unaffected.\n
|
|
7267
7321
|
* @example false
|
|
@@ -7464,6 +7518,12 @@ type CreateProjectRequest = {
|
|
|
7464
7518
|
* @type string | undefined
|
|
7465
7519
|
*/
|
|
7466
7520
|
cloud?: CreateProjectRequestCloudEnumKey;
|
|
7521
|
+
/**
|
|
7522
|
+
* @description Mark this project as running on a self-hosted (BYOC) data plane in the customer\'s own VPC/cluster. Requires the Scale or enterprise plan.\n
|
|
7523
|
+
* @default false
|
|
7524
|
+
* @type boolean | undefined
|
|
7525
|
+
*/
|
|
7526
|
+
self_hosted?: boolean;
|
|
7467
7527
|
/**
|
|
7468
7528
|
* @description Primary database. Created atomically with the project.
|
|
7469
7529
|
* @type object
|
|
@@ -7682,6 +7742,13 @@ type UpdateProjectRequest = {
|
|
|
7682
7742
|
* @type string
|
|
7683
7743
|
*/
|
|
7684
7744
|
default_policy_profile_id?: string | null;
|
|
7745
|
+
/**
|
|
7746
|
+
* @description Data-residency requirement for the project. \"any\" (default) lets queries be served from the nearest data-plane metro. \"us\" or \"eu\" require the serving metro to be in that jurisdiction; the proxy fails a connection closed when it is served from a metro outside the required jurisdiction, so regulated workloads never process outside their permitted region.\n
|
|
7747
|
+
* @default "any"
|
|
7748
|
+
* @example eu
|
|
7749
|
+
* @type string | undefined
|
|
7750
|
+
*/
|
|
7751
|
+
residency?: DataResidencyKey;
|
|
7685
7752
|
/**
|
|
7686
7753
|
* @description Project-level kill-switch. Set true to block ALL agent-credential connections to this project (live agent sessions are dropped within seconds); set false to re-enable them. Passthrough/human connections are unaffected. Engaging the kill-switch emits a kill_switch webhook event.\n
|
|
7687
7754
|
* @example true
|
|
@@ -8483,6 +8550,328 @@ type DeleteReplicaResponses = {
|
|
|
8483
8550
|
*/
|
|
8484
8551
|
type DeleteReplicaResponse = (DeleteReplicaStatus204 | DeleteReplicaStatus400 | DeleteReplicaStatus401 | DeleteReplicaStatus403 | DeleteReplicaStatus404 | DeleteReplicaStatus429);
|
|
8485
8552
|
|
|
8553
|
+
/**
|
|
8554
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
8555
|
+
* Do not edit manually.
|
|
8556
|
+
*/
|
|
8557
|
+
/**
|
|
8558
|
+
* @description An enrollment that lets a self-hosted (BYOC) proxy authenticate to the control plane\'s config/audit gRPC stream on behalf of an organization. The token itself is never returned after creation, only its metadata.\n
|
|
8559
|
+
* @type object
|
|
8560
|
+
*/
|
|
8561
|
+
type SelfHostEnrollment = {
|
|
8562
|
+
/**
|
|
8563
|
+
* @description Unique enrollment identifier.
|
|
8564
|
+
* @example she_01h455vb4pex5vsknk084sn02q
|
|
8565
|
+
* @type string
|
|
8566
|
+
*/
|
|
8567
|
+
id: string;
|
|
8568
|
+
/**
|
|
8569
|
+
* @description Organization that owns this enrollment.
|
|
8570
|
+
* @example org_abc123
|
|
8571
|
+
* @type string
|
|
8572
|
+
*/
|
|
8573
|
+
org_id: string;
|
|
8574
|
+
/**
|
|
8575
|
+
* @description Operator-supplied label for where the proxy runs (informational).
|
|
8576
|
+
* @example customer-vpc-us-east
|
|
8577
|
+
* @type string | undefined
|
|
8578
|
+
*/
|
|
8579
|
+
region_label?: string;
|
|
8580
|
+
/**
|
|
8581
|
+
* @description Optional human-readable note.
|
|
8582
|
+
* @example prod cluster
|
|
8583
|
+
* @type string | undefined
|
|
8584
|
+
*/
|
|
8585
|
+
description?: string;
|
|
8586
|
+
/**
|
|
8587
|
+
* @description User ID that created the enrollment.
|
|
8588
|
+
* @type string
|
|
8589
|
+
*/
|
|
8590
|
+
created_by?: string | null;
|
|
8591
|
+
/**
|
|
8592
|
+
* @description When the enrollment was created.
|
|
8593
|
+
* @type string
|
|
8594
|
+
*/
|
|
8595
|
+
created_at: string;
|
|
8596
|
+
/**
|
|
8597
|
+
* @description Last time a proxy authenticated with this enrollment.
|
|
8598
|
+
* @type string
|
|
8599
|
+
*/
|
|
8600
|
+
last_seen_at?: string | null;
|
|
8601
|
+
/**
|
|
8602
|
+
* @description When the enrollment was revoked. Null means active.
|
|
8603
|
+
* @type string
|
|
8604
|
+
*/
|
|
8605
|
+
revoked_at?: string | null;
|
|
8606
|
+
};
|
|
8607
|
+
|
|
8608
|
+
/**
|
|
8609
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
8610
|
+
* Do not edit manually.
|
|
8611
|
+
*/
|
|
8612
|
+
|
|
8613
|
+
/**
|
|
8614
|
+
* @description List of self-host enrollments for an organization.
|
|
8615
|
+
* @type object
|
|
8616
|
+
*/
|
|
8617
|
+
type ListSelfHostEnrollmentsResponse = {
|
|
8618
|
+
/**
|
|
8619
|
+
* @description The organization\'s self-host enrollments, newest first.
|
|
8620
|
+
* @type array
|
|
8621
|
+
*/
|
|
8622
|
+
enrollments: SelfHostEnrollment[];
|
|
8623
|
+
};
|
|
8624
|
+
|
|
8625
|
+
/**
|
|
8626
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
8627
|
+
* Do not edit manually.
|
|
8628
|
+
*/
|
|
8629
|
+
|
|
8630
|
+
/**
|
|
8631
|
+
* @description Unique organization identifier.
|
|
8632
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
8633
|
+
* @example org_abc123
|
|
8634
|
+
* @type string
|
|
8635
|
+
*/
|
|
8636
|
+
type ListSelfHostEnrollmentsPathOrgId = string;
|
|
8637
|
+
/**
|
|
8638
|
+
* @description List of self-host enrollments for an organization.
|
|
8639
|
+
* @type object
|
|
8640
|
+
*/
|
|
8641
|
+
type ListSelfHostEnrollmentsStatus200 = ListSelfHostEnrollmentsResponse;
|
|
8642
|
+
/**
|
|
8643
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
8644
|
+
* @type object
|
|
8645
|
+
*/
|
|
8646
|
+
type ListSelfHostEnrollmentsStatus401 = Error$1;
|
|
8647
|
+
/**
|
|
8648
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
8649
|
+
* @type object
|
|
8650
|
+
*/
|
|
8651
|
+
type ListSelfHostEnrollmentsStatus403 = Error$1;
|
|
8652
|
+
/**
|
|
8653
|
+
* @type object
|
|
8654
|
+
*/
|
|
8655
|
+
type ListSelfHostEnrollmentsRequestConfig = {
|
|
8656
|
+
data?: never;
|
|
8657
|
+
/**
|
|
8658
|
+
* @type object
|
|
8659
|
+
*/
|
|
8660
|
+
pathParams: {
|
|
8661
|
+
org_id: ListSelfHostEnrollmentsPathOrgId;
|
|
8662
|
+
};
|
|
8663
|
+
queryParams?: never;
|
|
8664
|
+
headerParams?: never;
|
|
8665
|
+
/**
|
|
8666
|
+
* @type string
|
|
8667
|
+
*/
|
|
8668
|
+
url: `/v1/organizations/${string}/self-host-enrollments`;
|
|
8669
|
+
};
|
|
8670
|
+
/**
|
|
8671
|
+
* @type object
|
|
8672
|
+
*/
|
|
8673
|
+
type ListSelfHostEnrollmentsResponses = {
|
|
8674
|
+
"200": ListSelfHostEnrollmentsStatus200;
|
|
8675
|
+
"401": ListSelfHostEnrollmentsStatus401;
|
|
8676
|
+
"403": ListSelfHostEnrollmentsStatus403;
|
|
8677
|
+
};
|
|
8678
|
+
|
|
8679
|
+
/**
|
|
8680
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
8681
|
+
* Do not edit manually.
|
|
8682
|
+
*/
|
|
8683
|
+
/**
|
|
8684
|
+
* @description Request body for issuing a self-host enrollment token.
|
|
8685
|
+
* @type object
|
|
8686
|
+
*/
|
|
8687
|
+
type CreateSelfHostEnrollmentRequest = {
|
|
8688
|
+
/**
|
|
8689
|
+
* @description Operator-supplied label for where the proxy runs.
|
|
8690
|
+
* @maxLength 100
|
|
8691
|
+
* @pattern ^[^\x00]*$
|
|
8692
|
+
* @example customer-vpc-us-east
|
|
8693
|
+
* @type string | undefined
|
|
8694
|
+
*/
|
|
8695
|
+
region_label?: string;
|
|
8696
|
+
/**
|
|
8697
|
+
* @description Optional human-readable note.
|
|
8698
|
+
* @maxLength 500
|
|
8699
|
+
* @pattern ^[^\x00]*$
|
|
8700
|
+
* @example prod cluster
|
|
8701
|
+
* @type string | undefined
|
|
8702
|
+
*/
|
|
8703
|
+
description?: string;
|
|
8704
|
+
};
|
|
8705
|
+
|
|
8706
|
+
/**
|
|
8707
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
8708
|
+
* Do not edit manually.
|
|
8709
|
+
*/
|
|
8710
|
+
|
|
8711
|
+
/**
|
|
8712
|
+
* @description Response returned once when an enrollment is created. The token is shown a single time and cannot be retrieved again; set it as GRPC_AUTH_TOKEN on the self-hosted proxy.\n
|
|
8713
|
+
* @type object
|
|
8714
|
+
*/
|
|
8715
|
+
type SelfHostEnrollmentSecret = {
|
|
8716
|
+
/**
|
|
8717
|
+
* @description An enrollment that lets a self-hosted (BYOC) proxy authenticate to the control plane\'s config/audit gRPC stream on behalf of an organization. The token itself is never returned after creation, only its metadata.\n
|
|
8718
|
+
* @type object
|
|
8719
|
+
*/
|
|
8720
|
+
enrollment: SelfHostEnrollment;
|
|
8721
|
+
/**
|
|
8722
|
+
* @description The plaintext enrollment token (pbh_...). Shown once.
|
|
8723
|
+
* @example pbh_01h455vb4pex5vsknk084sn02q9zk3m7
|
|
8724
|
+
* @type string
|
|
8725
|
+
*/
|
|
8726
|
+
token: string;
|
|
8727
|
+
};
|
|
8728
|
+
|
|
8729
|
+
/**
|
|
8730
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
8731
|
+
* Do not edit manually.
|
|
8732
|
+
*/
|
|
8733
|
+
|
|
8734
|
+
/**
|
|
8735
|
+
* @description Unique organization identifier.
|
|
8736
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
8737
|
+
* @example org_abc123
|
|
8738
|
+
* @type string
|
|
8739
|
+
*/
|
|
8740
|
+
type CreateSelfHostEnrollmentPathOrgId = string;
|
|
8741
|
+
/**
|
|
8742
|
+
* @description Response returned once when an enrollment is created. The token is shown a single time and cannot be retrieved again; set it as GRPC_AUTH_TOKEN on the self-hosted proxy.\n
|
|
8743
|
+
* @type object
|
|
8744
|
+
*/
|
|
8745
|
+
type CreateSelfHostEnrollmentStatus201 = SelfHostEnrollmentSecret;
|
|
8746
|
+
/**
|
|
8747
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
8748
|
+
* @type object
|
|
8749
|
+
*/
|
|
8750
|
+
type CreateSelfHostEnrollmentStatus400 = Error$1;
|
|
8751
|
+
/**
|
|
8752
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
8753
|
+
* @type object
|
|
8754
|
+
*/
|
|
8755
|
+
type CreateSelfHostEnrollmentStatus401 = Error$1;
|
|
8756
|
+
/**
|
|
8757
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
8758
|
+
* @type object
|
|
8759
|
+
*/
|
|
8760
|
+
type CreateSelfHostEnrollmentStatus403 = Error$1;
|
|
8761
|
+
/**
|
|
8762
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
8763
|
+
* @type object
|
|
8764
|
+
*/
|
|
8765
|
+
type CreateSelfHostEnrollmentStatus429 = Error$1;
|
|
8766
|
+
/**
|
|
8767
|
+
* @description Request body for issuing a self-host enrollment token.
|
|
8768
|
+
* @type object | undefined
|
|
8769
|
+
*/
|
|
8770
|
+
type CreateSelfHostEnrollmentData = CreateSelfHostEnrollmentRequest | undefined;
|
|
8771
|
+
/**
|
|
8772
|
+
* @type object
|
|
8773
|
+
*/
|
|
8774
|
+
type CreateSelfHostEnrollmentRequestConfig = {
|
|
8775
|
+
data?: CreateSelfHostEnrollmentData;
|
|
8776
|
+
/**
|
|
8777
|
+
* @type object
|
|
8778
|
+
*/
|
|
8779
|
+
pathParams: {
|
|
8780
|
+
org_id: CreateSelfHostEnrollmentPathOrgId;
|
|
8781
|
+
};
|
|
8782
|
+
queryParams?: never;
|
|
8783
|
+
headerParams?: never;
|
|
8784
|
+
/**
|
|
8785
|
+
* @type string
|
|
8786
|
+
*/
|
|
8787
|
+
url: `/v1/organizations/${string}/self-host-enrollments`;
|
|
8788
|
+
};
|
|
8789
|
+
/**
|
|
8790
|
+
* @type object
|
|
8791
|
+
*/
|
|
8792
|
+
type CreateSelfHostEnrollmentResponses = {
|
|
8793
|
+
"201": CreateSelfHostEnrollmentStatus201;
|
|
8794
|
+
"400": CreateSelfHostEnrollmentStatus400;
|
|
8795
|
+
"401": CreateSelfHostEnrollmentStatus401;
|
|
8796
|
+
"403": CreateSelfHostEnrollmentStatus403;
|
|
8797
|
+
"429": CreateSelfHostEnrollmentStatus429;
|
|
8798
|
+
};
|
|
8799
|
+
/**
|
|
8800
|
+
* @description Union of all possible responses
|
|
8801
|
+
*/
|
|
8802
|
+
type CreateSelfHostEnrollmentResponse = (CreateSelfHostEnrollmentStatus201 | CreateSelfHostEnrollmentStatus400 | CreateSelfHostEnrollmentStatus401 | CreateSelfHostEnrollmentStatus403 | CreateSelfHostEnrollmentStatus429);
|
|
8803
|
+
|
|
8804
|
+
/**
|
|
8805
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
8806
|
+
* Do not edit manually.
|
|
8807
|
+
*/
|
|
8808
|
+
|
|
8809
|
+
/**
|
|
8810
|
+
* @description Unique organization identifier.
|
|
8811
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
8812
|
+
* @example org_abc123
|
|
8813
|
+
* @type string
|
|
8814
|
+
*/
|
|
8815
|
+
type RevokeSelfHostEnrollmentPathOrgId = string;
|
|
8816
|
+
/**
|
|
8817
|
+
* @description Unique enrollment identifier.
|
|
8818
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
8819
|
+
* @example she_01h455vb4pex5vsknk084sn02q
|
|
8820
|
+
* @type string
|
|
8821
|
+
*/
|
|
8822
|
+
type RevokeSelfHostEnrollmentPathEnrollmentId = string;
|
|
8823
|
+
/**
|
|
8824
|
+
* @type any
|
|
8825
|
+
*/
|
|
8826
|
+
type RevokeSelfHostEnrollmentStatus204 = any;
|
|
8827
|
+
/**
|
|
8828
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
8829
|
+
* @type object
|
|
8830
|
+
*/
|
|
8831
|
+
type RevokeSelfHostEnrollmentStatus401 = Error$1;
|
|
8832
|
+
/**
|
|
8833
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
8834
|
+
* @type object
|
|
8835
|
+
*/
|
|
8836
|
+
type RevokeSelfHostEnrollmentStatus403 = Error$1;
|
|
8837
|
+
/**
|
|
8838
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
8839
|
+
* @type object
|
|
8840
|
+
*/
|
|
8841
|
+
type RevokeSelfHostEnrollmentStatus404 = Error$1;
|
|
8842
|
+
/**
|
|
8843
|
+
* @type object
|
|
8844
|
+
*/
|
|
8845
|
+
type RevokeSelfHostEnrollmentRequestConfig = {
|
|
8846
|
+
data?: never;
|
|
8847
|
+
/**
|
|
8848
|
+
* @type object
|
|
8849
|
+
*/
|
|
8850
|
+
pathParams: {
|
|
8851
|
+
org_id: RevokeSelfHostEnrollmentPathOrgId;
|
|
8852
|
+
enrollment_id: RevokeSelfHostEnrollmentPathEnrollmentId;
|
|
8853
|
+
};
|
|
8854
|
+
queryParams?: never;
|
|
8855
|
+
headerParams?: never;
|
|
8856
|
+
/**
|
|
8857
|
+
* @type string
|
|
8858
|
+
*/
|
|
8859
|
+
url: `/v1/organizations/${string}/self-host-enrollments/${string}`;
|
|
8860
|
+
};
|
|
8861
|
+
/**
|
|
8862
|
+
* @type object
|
|
8863
|
+
*/
|
|
8864
|
+
type RevokeSelfHostEnrollmentResponses = {
|
|
8865
|
+
"204": RevokeSelfHostEnrollmentStatus204;
|
|
8866
|
+
"401": RevokeSelfHostEnrollmentStatus401;
|
|
8867
|
+
"403": RevokeSelfHostEnrollmentStatus403;
|
|
8868
|
+
"404": RevokeSelfHostEnrollmentStatus404;
|
|
8869
|
+
};
|
|
8870
|
+
/**
|
|
8871
|
+
* @description Union of all possible responses
|
|
8872
|
+
*/
|
|
8873
|
+
type RevokeSelfHostEnrollmentResponse = (RevokeSelfHostEnrollmentStatus204 | RevokeSelfHostEnrollmentStatus401 | RevokeSelfHostEnrollmentStatus403 | RevokeSelfHostEnrollmentStatus404);
|
|
8874
|
+
|
|
8486
8875
|
/**
|
|
8487
8876
|
* Generated by Kubb (https://kubb.dev/).
|
|
8488
8877
|
* Do not edit manually.
|
|
@@ -10383,6 +10772,16 @@ type CreateReplicaParams = {
|
|
|
10383
10772
|
type DeleteReplicaParams = {
|
|
10384
10773
|
pathParams: NonNullable<DeleteReplicaRequestConfig["pathParams"]>;
|
|
10385
10774
|
};
|
|
10775
|
+
type ListSelfHostEnrollmentsParams = {
|
|
10776
|
+
pathParams: NonNullable<ListSelfHostEnrollmentsRequestConfig["pathParams"]>;
|
|
10777
|
+
};
|
|
10778
|
+
type CreateSelfHostEnrollmentParams = {
|
|
10779
|
+
pathParams: NonNullable<CreateSelfHostEnrollmentRequestConfig["pathParams"]>;
|
|
10780
|
+
body: NonNullable<CreateSelfHostEnrollmentRequestConfig["data"]>;
|
|
10781
|
+
};
|
|
10782
|
+
type RevokeSelfHostEnrollmentParams = {
|
|
10783
|
+
pathParams: NonNullable<RevokeSelfHostEnrollmentRequestConfig["pathParams"]>;
|
|
10784
|
+
};
|
|
10386
10785
|
type ListSupportCasesParams = {
|
|
10387
10786
|
pathParams: NonNullable<ListSupportCasesRequestConfig["pathParams"]>;
|
|
10388
10787
|
queryParams?: NonNullable<ListSupportCasesRequestConfig["queryParams"]>;
|
|
@@ -10503,6 +10902,9 @@ interface ApiOperations {
|
|
|
10503
10902
|
platform: {
|
|
10504
10903
|
getHealth(): Promise<GetHealthStatus200>;
|
|
10505
10904
|
listRegions(): Promise<ListRegionsStatus200>;
|
|
10905
|
+
listSelfHostEnrollments(params: ListSelfHostEnrollmentsParams): Promise<ListSelfHostEnrollmentsStatus200>;
|
|
10906
|
+
createSelfHostEnrollment(params: CreateSelfHostEnrollmentParams): Promise<CreateSelfHostEnrollmentStatus201>;
|
|
10907
|
+
revokeSelfHostEnrollment(params: RevokeSelfHostEnrollmentParams): Promise<void>;
|
|
10506
10908
|
};
|
|
10507
10909
|
migrations: {
|
|
10508
10910
|
lintMigration(params: LintMigrationParams): Promise<LintMigrationStatus200>;
|
|
@@ -10759,6 +11161,18 @@ interface RequestMap {
|
|
|
10759
11161
|
params: DeleteReplicaParams;
|
|
10760
11162
|
response: void;
|
|
10761
11163
|
};
|
|
11164
|
+
"GET /v1/organizations/{org_id}/self-host-enrollments": {
|
|
11165
|
+
params: ListSelfHostEnrollmentsParams;
|
|
11166
|
+
response: ListSelfHostEnrollmentsStatus200;
|
|
11167
|
+
};
|
|
11168
|
+
"POST /v1/organizations/{org_id}/self-host-enrollments": {
|
|
11169
|
+
params: CreateSelfHostEnrollmentParams;
|
|
11170
|
+
response: CreateSelfHostEnrollmentStatus201;
|
|
11171
|
+
};
|
|
11172
|
+
"DELETE /v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}": {
|
|
11173
|
+
params: RevokeSelfHostEnrollmentParams;
|
|
11174
|
+
response: void;
|
|
11175
|
+
};
|
|
10762
11176
|
"GET /v1/organizations/{org_id}/support/cases": {
|
|
10763
11177
|
params: ListSupportCasesParams;
|
|
10764
11178
|
response: ListSupportCasesStatus200;
|
|
@@ -11018,5 +11432,5 @@ type McpTransportResponses = {
|
|
|
11018
11432
|
*/
|
|
11019
11433
|
type McpTransportResponse = (McpTransportStatus200 | McpTransportStatus401 | McpTransportStatus429);
|
|
11020
11434
|
|
|
11021
|
-
export { ApiError, PgBeamClient, SSLMode, agentCredentialAuthMethodEnum, agentCredentialPrincipalTypeEnum, agentCredentialStatusEnum, anomalyAlertSeverityEnum, anomalyAlertStatusEnum, approvalRequestStatusEnum, auditDecision, auditSource, cacheRuleEntryQueryTypeEnum, cacheRuleEntryRecommendationEnum, createAgentCredentialRequestPrincipalTypeEnum, createProjectRequestCloudEnum, databaseBranchStatusEnum, databaseRole, dryEvalMaskedColumnKindEnum, dryEvalResultVerdictEnum, extractMessage, healthResponseStatusEnum, maskingRuleKindEnum, mcpRequestJsonrpcEnum, mcpRequestMethodEnum, mcpResponseJsonrpcEnum, migrationFindingSeverityEnum, organizationPlanBillingProviderEnum, organizationPlanPlanEnum, organizationPlanSubscriptionStatusEnum, piiSuggestionMaskKindEnum, piiSuggestionPiiTypeEnum, policyProfileAccessModeEnum, policyProfileApprovalModeEnum, policyProfileInputAccessModeEnum, policyProfileInputApprovalModeEnum, policyProfileInputMigrationSafetyEnum, policyProfileInputWriteModeEnum, policyProfileMigrationSafetyEnum, policyProfileWriteModeEnum, poolMode, projectCloudEnum, projectStatus, regionProviderEnum, regionStatusEnum, schemaCatalogRelationKindEnum, supportCaseStatus, supportMessageSource, updateAgentCredentialStatusRequestStatusEnum, updateAnomalyAlertRequestStatusEnum, updateOnboardingRequestStepEnum, vercelResourceStatusStatusEnum, webhookEndpointFormatEnum, webhookEndpointInputFormatEnum };
|
|
11022
|
-
export type { AccountExport, AgentCredential, AgentCredentialAuthMethodEnumKey, AgentCredentialPrincipalTypeEnumKey, AgentCredentialSecrets, AgentCredentialStatusEnumKey, AnomalyAlert, AnomalyAlertSeverityEnumKey, AnomalyAlertStatusEnumKey, ApiClient, ApprovalDecisionRequest, ApprovalRequest, ApprovalRequestStatusEnumKey, ApproveApprovalRequestData, ApproveApprovalRequestPathApprovalId, ApproveApprovalRequestPathProjectId, ApproveApprovalRequestRequestConfig, ApproveApprovalRequestResponse, ApproveApprovalRequestResponses, ApproveApprovalRequestStatus200, ApproveApprovalRequestStatus400, ApproveApprovalRequestStatus401, ApproveApprovalRequestStatus403, ApproveApprovalRequestStatus404, ApproveApprovalRequestStatus409, AuditDecision, AuditDecisionKey, AuditLogEntry, AuditSource, AuditSourceKey, CacheConfig, CacheRuleEntry, CacheRuleEntryQueryTypeEnumKey, CacheRuleEntryRecommendationEnumKey, CacheSummary, CancellationFeedbackRequest, CidrEntry, CreateAgentCredentialData, CreateAgentCredentialPathProjectId, CreateAgentCredentialRequest, CreateAgentCredentialRequestConfig, CreateAgentCredentialRequestPrincipalTypeEnumKey, CreateAgentCredentialResponse, CreateAgentCredentialResponses, CreateAgentCredentialStatus201, CreateAgentCredentialStatus400, CreateAgentCredentialStatus401, CreateAgentCredentialStatus403, CreateAgentCredentialStatus404, CreateAgentCredentialStatus409, CreateAgentCredentialStatus429, CreateCustomDomainData, CreateCustomDomainPathProjectId, CreateCustomDomainRequest, CreateCustomDomainRequestConfig, CreateCustomDomainResponse, CreateCustomDomainResponses, CreateCustomDomainStatus201, CreateCustomDomainStatus400, CreateCustomDomainStatus401, CreateCustomDomainStatus403, CreateCustomDomainStatus404, CreateCustomDomainStatus409, CreateCustomDomainStatus429, CreateDatabaseData, CreateDatabasePathProjectId, CreateDatabaseRequest, CreateDatabaseRequestConfig, CreateDatabaseResponse, CreateDatabaseResponses, CreateDatabaseStatus201, CreateDatabaseStatus400, CreateDatabaseStatus401, CreateDatabaseStatus403, CreateDatabaseStatus404, CreateDatabaseStatus429, CreatePolicyProfileData, CreatePolicyProfilePathProjectId, CreatePolicyProfileRequestConfig, CreatePolicyProfileResponse, CreatePolicyProfileResponses, CreatePolicyProfileStatus201, CreatePolicyProfileStatus400, CreatePolicyProfileStatus401, CreatePolicyProfileStatus403, CreatePolicyProfileStatus404, CreatePolicyProfileStatus409, CreatePolicyProfileStatus429, CreateProjectData, CreateProjectRequest, CreateProjectRequestCloudEnumKey, CreateProjectRequestConfig, CreateProjectResponse, CreateProjectResponses, CreateProjectStatus201, CreateProjectStatus400, CreateProjectStatus401, CreateProjectStatus403, CreateProjectStatus409, CreateProjectStatus429, CreateReplicaData, CreateReplicaPathDatabaseId, CreateReplicaRequest, CreateReplicaRequestConfig, CreateReplicaResponse, CreateReplicaResponses, CreateReplicaStatus201, CreateReplicaStatus400, CreateReplicaStatus401, CreateReplicaStatus403, CreateReplicaStatus404, CreateReplicaStatus429, CreateSupportCaseData, CreateSupportCasePathOrgId, CreateSupportCaseRequest, CreateSupportCaseRequestConfig, CreateSupportCaseResponse, CreateSupportCaseResponses, CreateSupportCaseStatus201, CreateSupportCaseStatus400, CreateSupportCaseStatus401, CreateSupportCaseStatus403, CreateSupportMessageData, CreateSupportMessagePathCaseId, CreateSupportMessagePathOrgId, CreateSupportMessageRequest, CreateSupportMessageRequestConfig, CreateSupportMessageResponse, CreateSupportMessageResponses, CreateSupportMessageStatus201, CreateSupportMessageStatus400, CreateSupportMessageStatus401, CreateSupportMessageStatus403, CreateSupportMessageStatus404, CreateWebhookEndpointData, CreateWebhookEndpointPathProjectId, CreateWebhookEndpointRequestConfig, CreateWebhookEndpointResponse, CreateWebhookEndpointResponses, CreateWebhookEndpointStatus201, CreateWebhookEndpointStatus400, CreateWebhookEndpointStatus401, CreateWebhookEndpointStatus403, CreateWebhookEndpointStatus404, CreateWebhookEndpointStatus429, CustomDomain, DailyUsage, Database, DatabaseBranch, DatabaseBranchStatusEnumKey, DatabaseRoleKey, DeleteCustomDomainPathDomainId, DeleteCustomDomainPathProjectId, DeleteCustomDomainRequestConfig, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteCustomDomainStatus204, DeleteCustomDomainStatus400, DeleteCustomDomainStatus401, DeleteCustomDomainStatus403, DeleteCustomDomainStatus404, DeleteCustomDomainStatus429, DeleteDatabasePathDatabaseId, DeleteDatabasePathProjectId, DeleteDatabaseRequestConfig, DeleteDatabaseResponse, DeleteDatabaseResponses, DeleteDatabaseStatus204, DeleteDatabaseStatus400, DeleteDatabaseStatus401, DeleteDatabaseStatus403, DeleteDatabaseStatus404, DeleteDatabaseStatus429, DeletePolicyProfilePathPolicyId, DeletePolicyProfilePathProjectId, DeletePolicyProfileRequestConfig, DeletePolicyProfileResponse, DeletePolicyProfileResponses, DeletePolicyProfileStatus204, DeletePolicyProfileStatus400, DeletePolicyProfileStatus401, DeletePolicyProfileStatus403, DeletePolicyProfileStatus404, DeletePolicyProfileStatus409, DeleteProjectPathProjectId, DeleteProjectRequestConfig, DeleteProjectResponse, DeleteProjectResponses, DeleteProjectStatus204, DeleteProjectStatus400, DeleteProjectStatus401, DeleteProjectStatus403, DeleteProjectStatus404, DeleteProjectStatus429, DeleteReplicaPathDatabaseId, DeleteReplicaPathReplicaId, DeleteReplicaRequestConfig, DeleteReplicaResponse, DeleteReplicaResponses, DeleteReplicaStatus204, DeleteReplicaStatus400, DeleteReplicaStatus401, DeleteReplicaStatus403, DeleteReplicaStatus404, DeleteReplicaStatus429, DeleteWebhookEndpointPathProjectId, DeleteWebhookEndpointPathWebhookId, DeleteWebhookEndpointRequestConfig, DeleteWebhookEndpointResponse, DeleteWebhookEndpointResponses, DeleteWebhookEndpointStatus204, DeleteWebhookEndpointStatus400, DeleteWebhookEndpointStatus401, DeleteWebhookEndpointStatus403, DeleteWebhookEndpointStatus404, DiscardDatabaseBranchPathBranchId, DiscardDatabaseBranchPathProjectId, DiscardDatabaseBranchRequestConfig, DiscardDatabaseBranchResponse, DiscardDatabaseBranchResponses, DiscardDatabaseBranchStatus204, DiscardDatabaseBranchStatus400, DiscardDatabaseBranchStatus401, DiscardDatabaseBranchStatus403, DiscardDatabaseBranchStatus404, DnsInstructions, DryEvalInput, DryEvalMaskedColumn, DryEvalMaskedColumnKindEnumKey, DryEvalPolicyData, DryEvalPolicyPathProjectId, DryEvalPolicyRequestConfig, DryEvalPolicyResponse, DryEvalPolicyResponses, DryEvalPolicyStatus200, DryEvalPolicyStatus400, DryEvalPolicyStatus401, DryEvalPolicyStatus403, DryEvalPolicyStatus404, DryEvalPolicyStatus429, DryEvalResult, DryEvalResultVerdictEnumKey, Error$1 as Error, ExportAccountDataRequestConfig, ExportAccountDataResponse, ExportAccountDataResponses, ExportAccountDataStatus200, ExportAccountDataStatus401, ExportAccountDataStatus404, ExportAccountDataStatus429, ExportAuditLogsPathProjectId, ExportAuditLogsQueryCredentialId, ExportAuditLogsQueryDecision, ExportAuditLogsQueryEnd, ExportAuditLogsQueryEvent, ExportAuditLogsQuerySource, ExportAuditLogsQueryStart, ExportAuditLogsRequestConfig, ExportAuditLogsResponse, ExportAuditLogsResponses, ExportAuditLogsStatus200, ExportAuditLogsStatus400, ExportAuditLogsStatus401, ExportAuditLogsStatus403, ExportAuditLogsStatus404, ExportAuditLogsStatus429, GetAgentCredentialPathAgentId, GetAgentCredentialPathProjectId, GetAgentCredentialRequestConfig, GetAgentCredentialResponse, GetAgentCredentialResponses, GetAgentCredentialStatus200, GetAgentCredentialStatus400, GetAgentCredentialStatus401, GetAgentCredentialStatus403, GetAgentCredentialStatus404, GetDatabasePathDatabaseId, GetDatabasePathProjectId, GetDatabaseRequestConfig, GetDatabaseResponse, GetDatabaseResponses, GetDatabaseStatus200, GetDatabaseStatus400, GetDatabaseStatus401, GetDatabaseStatus403, GetDatabaseStatus404, GetDatabaseStatus429, GetHealthRequestConfig, GetHealthResponse, GetHealthResponses, GetHealthStatus200, GetHealthStatus429, GetOnboardingProgressPathOrgId, GetOnboardingProgressRequestConfig, GetOnboardingProgressResponse, GetOnboardingProgressResponses, GetOnboardingProgressStatus200, GetOnboardingProgressStatus400, GetOnboardingProgressStatus401, GetOnboardingProgressStatus403, GetOnboardingProgressStatus404, GetOnboardingProgressStatus429, GetOrganizationPlanPathOrgId, GetOrganizationPlanRequestConfig, GetOrganizationPlanResponse, GetOrganizationPlanResponses, GetOrganizationPlanStatus200, GetOrganizationPlanStatus400, GetOrganizationPlanStatus401, GetOrganizationPlanStatus403, GetOrganizationPlanStatus429, GetOrganizationUsagePathOrgId, GetOrganizationUsageQueryEndDate, GetOrganizationUsageQueryStartDate, GetOrganizationUsageRequestConfig, GetOrganizationUsageResponse, GetOrganizationUsageResponses, GetOrganizationUsageStatus200, GetOrganizationUsageStatus400, GetOrganizationUsageStatus401, GetOrganizationUsageStatus403, GetOrganizationUsageStatus429, GetPolicyProfilePathPolicyId, GetPolicyProfilePathProjectId, GetPolicyProfileRequestConfig, GetPolicyProfileResponse, GetPolicyProfileResponses, GetPolicyProfileStatus200, GetPolicyProfileStatus400, GetPolicyProfileStatus401, GetPolicyProfileStatus403, GetPolicyProfileStatus404, GetProjectInsightsPathProjectId, GetProjectInsightsQueryLimit, GetProjectInsightsQueryRange, GetProjectInsightsRequestConfig, GetProjectInsightsResponse, GetProjectInsightsResponses, GetProjectInsightsStatus200, GetProjectInsightsStatus400, GetProjectInsightsStatus401, GetProjectInsightsStatus404, GetProjectInsightsStatus429, GetProjectMetricsPathProjectId, GetProjectMetricsQueryLimit, GetProjectMetricsQueryRegion, GetProjectMetricsRequestConfig, GetProjectMetricsResponse, GetProjectMetricsResponses, GetProjectMetricsStatus200, GetProjectMetricsStatus400, GetProjectMetricsStatus401, GetProjectMetricsStatus404, GetProjectMetricsStatus429, GetProjectPathProjectId, GetProjectRequestConfig, GetProjectResponse, GetProjectResponses, GetProjectStatus200, GetProjectStatus400, GetProjectStatus401, GetProjectStatus403, GetProjectStatus404, GetProjectStatus429, GetProjectUsagePathProjectId, GetProjectUsageQueryEndDate, GetProjectUsageQueryStartDate, GetProjectUsageRequestConfig, GetProjectUsageResponse, GetProjectUsageResponses, GetProjectUsageStatus200, GetProjectUsageStatus400, GetProjectUsageStatus401, GetProjectUsageStatus404, GetProjectUsageStatus429, GetSchemaCatalogPathDatabaseId, GetSchemaCatalogPathProjectId, GetSchemaCatalogRequestConfig, GetSchemaCatalogResponse, GetSchemaCatalogResponses, GetSchemaCatalogStatus200, GetSchemaCatalogStatus400, GetSchemaCatalogStatus401, GetSchemaCatalogStatus403, GetSchemaCatalogStatus404, GetSchemaCatalogStatus429, GetSupportCasePathCaseId, GetSupportCasePathOrgId, GetSupportCaseRequestConfig, GetSupportCaseResponse, GetSupportCaseResponses, GetSupportCaseStatus200, GetSupportCaseStatus400, GetSupportCaseStatus401, GetSupportCaseStatus403, GetSupportCaseStatus404, GetVercelInstallationPathOrgId, GetVercelInstallationRequestConfig, GetVercelInstallationResponse, GetVercelInstallationResponses, GetVercelInstallationStatus200, GetVercelInstallationStatus400, GetVercelInstallationStatus401, GetVercelInstallationStatus403, GetVercelInstallationStatus404, GetVercelInstallationStatus429, GetWebhookEndpointPathProjectId, GetWebhookEndpointPathWebhookId, GetWebhookEndpointRequestConfig, GetWebhookEndpointResponse, GetWebhookEndpointResponses, GetWebhookEndpointStatus200, GetWebhookEndpointStatus400, GetWebhookEndpointStatus401, GetWebhookEndpointStatus403, GetWebhookEndpointStatus404, HandleSlackSupportEventData, HandleSlackSupportEventRequestConfig, HandleSlackSupportEventResponse, HandleSlackSupportEventResponses, HandleSlackSupportEventStatus200, HandleSlackSupportEventStatus400, HandleSlackSupportEventStatus401, HandleSlackSupportEventStatus404, HealthResponse, HealthResponseStatusEnumKey, LatencySummary, LintMigrationData, LintMigrationPathProjectId, LintMigrationRequestConfig, LintMigrationResponse, LintMigrationResponses, LintMigrationStatus200, LintMigrationStatus400, LintMigrationStatus401, LintMigrationStatus403, LintMigrationStatus404, ListAgentCredentialsPathProjectId, ListAgentCredentialsQueryPageSize, ListAgentCredentialsQueryPageToken, ListAgentCredentialsRequestConfig, ListAgentCredentialsResponse, ListAgentCredentialsResponses, ListAgentCredentialsStatus200, ListAgentCredentialsStatus400, ListAgentCredentialsStatus401, ListAgentCredentialsStatus403, ListAgentCredentialsStatus404, ListAgentCredentialsStatus429, ListAnomalyAlertsPathProjectId, ListAnomalyAlertsQueryPageSize, ListAnomalyAlertsQueryPageToken, ListAnomalyAlertsQueryStatus, ListAnomalyAlertsRequestConfig, ListAnomalyAlertsResponse, ListAnomalyAlertsResponses, ListAnomalyAlertsStatus200, ListAnomalyAlertsStatus400, ListAnomalyAlertsStatus401, ListAnomalyAlertsStatus403, ListAnomalyAlertsStatus404, ListAnomalyAlertsStatus429, ListApprovalRequestsPathProjectId, ListApprovalRequestsQueryPageSize, ListApprovalRequestsQueryPageToken, ListApprovalRequestsQueryStatus, ListApprovalRequestsRequestConfig, ListApprovalRequestsResponse, ListApprovalRequestsResponses, ListApprovalRequestsStatus200, ListApprovalRequestsStatus400, ListApprovalRequestsStatus401, ListApprovalRequestsStatus403, ListApprovalRequestsStatus404, ListApprovalRequestsStatus429, ListAuditLogsPathProjectId, ListAuditLogsQueryBefore, ListAuditLogsQueryCredentialId, ListAuditLogsQueryDecision, ListAuditLogsQueryEnd, ListAuditLogsQueryEvent, ListAuditLogsQueryPageSize, ListAuditLogsQuerySource, ListAuditLogsQueryStart, ListAuditLogsRequestConfig, ListAuditLogsResponse, ListAuditLogsResponses, ListAuditLogsStatus200, ListAuditLogsStatus400, ListAuditLogsStatus401, ListAuditLogsStatus403, ListAuditLogsStatus404, ListAuditLogsStatus429, ListCacheRulesPathDatabaseId, ListCacheRulesPathProjectId, ListCacheRulesQueryPageSize, ListCacheRulesQueryPageToken, ListCacheRulesRequestConfig, ListCacheRulesResponse, ListCacheRulesResponses, ListCacheRulesStatus200, ListCacheRulesStatus400, ListCacheRulesStatus401, ListCacheRulesStatus403, ListCacheRulesStatus404, ListCacheRulesStatus429, ListCustomDomainsPathProjectId, ListCustomDomainsQueryPageSize, ListCustomDomainsQueryPageToken, ListCustomDomainsRequestConfig, ListCustomDomainsResponse, ListCustomDomainsResponses, ListCustomDomainsStatus200, ListCustomDomainsStatus400, ListCustomDomainsStatus401, ListCustomDomainsStatus403, ListCustomDomainsStatus404, ListCustomDomainsStatus429, ListDatabaseBranchesPathProjectId, ListDatabaseBranchesQueryPageSize, ListDatabaseBranchesQueryPageToken, ListDatabaseBranchesQueryStatus, ListDatabaseBranchesRequestConfig, ListDatabaseBranchesResponse, ListDatabaseBranchesResponses, ListDatabaseBranchesStatus200, ListDatabaseBranchesStatus400, ListDatabaseBranchesStatus401, ListDatabaseBranchesStatus403, ListDatabaseBranchesStatus404, ListDatabaseBranchesStatus429, ListDatabasesPathProjectId, ListDatabasesQueryPageSize, ListDatabasesQueryPageToken, ListDatabasesRequestConfig, ListDatabasesResponse, ListDatabasesResponses, ListDatabasesStatus200, ListDatabasesStatus400, ListDatabasesStatus401, ListDatabasesStatus403, ListDatabasesStatus404, ListDatabasesStatus429, ListPlansRequestConfig, ListPlansResponse, ListPlansResponses, ListPlansStatus200, ListPlansStatus401, ListPlansStatus429, ListPolicyProfilesPathProjectId, ListPolicyProfilesQueryPageSize, ListPolicyProfilesQueryPageToken, ListPolicyProfilesRequestConfig, ListPolicyProfilesResponse, ListPolicyProfilesResponses, ListPolicyProfilesStatus200, ListPolicyProfilesStatus400, ListPolicyProfilesStatus401, ListPolicyProfilesStatus403, ListPolicyProfilesStatus404, ListPolicyProfilesStatus429, ListProjectsQueryOrgId, ListProjectsQueryPageSize, ListProjectsQueryPageToken, ListProjectsQuerySortBy, ListProjectsRequestConfig, ListProjectsResponse, ListProjectsResponses, ListProjectsStatus200, ListProjectsStatus400, ListProjectsStatus401, ListProjectsStatus403, ListProjectsStatus429, ListRegionsRequestConfig, ListRegionsResponse, ListRegionsResponses, ListRegionsStatus200, ListRegionsStatus401, ListRegionsStatus429, ListReplicasPathDatabaseId, ListReplicasRequestConfig, ListReplicasResponse, ListReplicasResponses, ListReplicasStatus200, ListReplicasStatus400, ListReplicasStatus401, ListReplicasStatus403, ListReplicasStatus404, ListReplicasStatus429, ListSupportCasesPathOrgId, ListSupportCasesQueryPage, ListSupportCasesQueryPageSize, ListSupportCasesQuerySearch, ListSupportCasesQueryStatus, ListSupportCasesRequestConfig, ListSupportCasesResponse, ListSupportCasesResponses, ListSupportCasesStatus200, ListSupportCasesStatus400, ListSupportCasesStatus401, ListSupportCasesStatus403, ListWebhookEndpointsPathProjectId, ListWebhookEndpointsQueryPageSize, ListWebhookEndpointsQueryPageToken, ListWebhookEndpointsRequestConfig, ListWebhookEndpointsResponse, ListWebhookEndpointsResponses, ListWebhookEndpointsStatus200, ListWebhookEndpointsStatus400, ListWebhookEndpointsStatus401, ListWebhookEndpointsStatus403, ListWebhookEndpointsStatus404, ListWebhookEndpointsStatus429, MaskingRule, MaskingRuleKindEnumKey, McpRequest, McpRequestJsonrpcEnumKey, McpRequestMethodEnumKey, McpResponse, McpResponseJsonrpcEnumKey, McpTransportData, McpTransportRequestConfig, McpTransportResponse, McpTransportResponses, McpTransportStatus200, McpTransportStatus401, McpTransportStatus429, MetricsSnapshot, MigrationFinding, MigrationFindingSeverityEnumKey, MigrationLintRequest, MigrationLintResponse, OnboardingProgress, OrganizationPlan, OrganizationPlanBillingProviderEnumKey, OrganizationPlanPlanEnumKey, OrganizationPlanSubscriptionStatusEnumKey, PgBeamClientOptions, PiiSuggestion, PiiSuggestionMaskKindEnumKey, PiiSuggestionPiiTypeEnumKey, PlanInfo, PlanLimits, PolicyProfile, PolicyProfileAccessModeEnumKey, PolicyProfileApprovalModeEnumKey, PolicyProfileInput, PolicyProfileInputAccessModeEnumKey, PolicyProfileInputApprovalModeEnumKey, PolicyProfileInputMigrationSafetyEnumKey, PolicyProfileInputWriteModeEnumKey, PolicyProfileMigrationSafetyEnumKey, PolicyProfileWriteModeEnumKey, PoolConfig, PoolModeKey, Project, ProjectCloudEnumKey, ProjectDailyUsage, ProjectInsights, ProjectMetricsResponse, ProjectStatusKey, ProjectUsageResponse, QueryInsight, Region, RegionProviderEnumKey, RegionStatusEnumKey, RejectApprovalRequestData, RejectApprovalRequestPathApprovalId, RejectApprovalRequestPathProjectId, RejectApprovalRequestRequestConfig, RejectApprovalRequestResponse, RejectApprovalRequestResponses, RejectApprovalRequestStatus200, RejectApprovalRequestStatus400, RejectApprovalRequestStatus401, RejectApprovalRequestStatus403, RejectApprovalRequestStatus404, RejectApprovalRequestStatus409, Replica, RetryConfig, RevokeAgentCredentialPathAgentId, RevokeAgentCredentialPathProjectId, RevokeAgentCredentialRequestConfig, RevokeAgentCredentialResponse, RevokeAgentCredentialResponses, RevokeAgentCredentialStatus204, RevokeAgentCredentialStatus400, RevokeAgentCredentialStatus401, RevokeAgentCredentialStatus403, RevokeAgentCredentialStatus404, RotateAgentCredentialPathAgentId, RotateAgentCredentialPathProjectId, RotateAgentCredentialRequestConfig, RotateAgentCredentialResponse, RotateAgentCredentialResponses, RotateAgentCredentialStatus200, RotateAgentCredentialStatus400, RotateAgentCredentialStatus401, RotateAgentCredentialStatus403, RotateAgentCredentialStatus404, RotateAgentCredentialStatus409, RowFilter, SSLModeKey, ScanDatabaseForPiiPathDatabaseId, ScanDatabaseForPiiPathProjectId, ScanDatabaseForPiiRequestConfig, ScanDatabaseForPiiResponse, ScanDatabaseForPiiResponses, ScanDatabaseForPiiStatus200, ScanDatabaseForPiiStatus400, ScanDatabaseForPiiStatus401, ScanDatabaseForPiiStatus403, ScanDatabaseForPiiStatus404, ScanDatabaseForPiiStatus429, ScanPiiResult, SchemaCatalog, SchemaCatalogColumn, SchemaCatalogRelation, SchemaCatalogRelationKindEnumKey, SlackEventPayload, StatementRules, SubmitCancellationFeedbackData, SubmitCancellationFeedbackPathOrgId, SubmitCancellationFeedbackRequestConfig, SubmitCancellationFeedbackResponse, SubmitCancellationFeedbackResponses, SubmitCancellationFeedbackStatus204, SubmitCancellationFeedbackStatus400, SubmitCancellationFeedbackStatus401, SubmitCancellationFeedbackStatus403, SubmitCancellationFeedbackStatus429, SupportCase, SupportCaseStatus, SupportCaseStatusKey, SupportMessage, SupportMessageSourceKey, TestConnectionResult, TestDatabaseConnectionPathDatabaseId, TestDatabaseConnectionPathProjectId, TestDatabaseConnectionRequestConfig, TestDatabaseConnectionResponse, TestDatabaseConnectionResponses, TestDatabaseConnectionStatus200, TestDatabaseConnectionStatus400, TestDatabaseConnectionStatus401, TestDatabaseConnectionStatus403, TestDatabaseConnectionStatus404, TestDatabaseConnectionStatus429, TestWebhookEndpointPathProjectId, TestWebhookEndpointPathWebhookId, TestWebhookEndpointRequestConfig, TestWebhookEndpointResponse, TestWebhookEndpointResponses, TestWebhookEndpointStatus202, TestWebhookEndpointStatus400, TestWebhookEndpointStatus401, TestWebhookEndpointStatus403, TestWebhookEndpointStatus404, UpdateAgentCredentialStatusData, UpdateAgentCredentialStatusPathAgentId, UpdateAgentCredentialStatusPathProjectId, UpdateAgentCredentialStatusRequest, UpdateAgentCredentialStatusRequestConfig, UpdateAgentCredentialStatusRequestStatusEnumKey, UpdateAgentCredentialStatusResponse, UpdateAgentCredentialStatusResponses, UpdateAgentCredentialStatusStatus200, UpdateAgentCredentialStatusStatus400, UpdateAgentCredentialStatusStatus401, UpdateAgentCredentialStatusStatus403, UpdateAgentCredentialStatusStatus404, UpdateAnomalyAlertData, UpdateAnomalyAlertPathAnomalyId, UpdateAnomalyAlertPathProjectId, UpdateAnomalyAlertRequest, UpdateAnomalyAlertRequestConfig, UpdateAnomalyAlertRequestStatusEnumKey, UpdateAnomalyAlertResponse, UpdateAnomalyAlertResponses, UpdateAnomalyAlertStatus200, UpdateAnomalyAlertStatus400, UpdateAnomalyAlertStatus401, UpdateAnomalyAlertStatus403, UpdateAnomalyAlertStatus404, UpdateCacheRuleData, UpdateCacheRulePathDatabaseId, UpdateCacheRulePathProjectId, UpdateCacheRulePathQueryHash, UpdateCacheRuleRequest, UpdateCacheRuleRequestConfig, UpdateCacheRuleResponse, UpdateCacheRuleResponses, UpdateCacheRuleStatus200, UpdateCacheRuleStatus400, UpdateCacheRuleStatus401, UpdateCacheRuleStatus403, UpdateCacheRuleStatus404, UpdateCacheRuleStatus429, UpdateDatabaseData, UpdateDatabasePathDatabaseId, UpdateDatabasePathProjectId, UpdateDatabaseRequest, UpdateDatabaseRequestConfig, UpdateDatabaseResponse, UpdateDatabaseResponses, UpdateDatabaseStatus200, UpdateDatabaseStatus400, UpdateDatabaseStatus401, UpdateDatabaseStatus403, UpdateDatabaseStatus404, UpdateDatabaseStatus429, UpdateOnboardingProgressData, UpdateOnboardingProgressPathOrgId, UpdateOnboardingProgressRequestConfig, UpdateOnboardingProgressResponse, UpdateOnboardingProgressResponses, UpdateOnboardingProgressStatus200, UpdateOnboardingProgressStatus400, UpdateOnboardingProgressStatus401, UpdateOnboardingProgressStatus403, UpdateOnboardingProgressStatus404, UpdateOnboardingProgressStatus429, UpdateOnboardingRequest, UpdateOnboardingRequestStepEnumKey, UpdatePolicyProfileData, UpdatePolicyProfilePathPolicyId, UpdatePolicyProfilePathProjectId, UpdatePolicyProfileRequestConfig, UpdatePolicyProfileResponse, UpdatePolicyProfileResponses, UpdatePolicyProfileStatus200, UpdatePolicyProfileStatus400, UpdatePolicyProfileStatus401, UpdatePolicyProfileStatus403, UpdatePolicyProfileStatus404, UpdatePolicyProfileStatus429, UpdateProjectData, UpdateProjectPathProjectId, UpdateProjectRequest, UpdateProjectRequestConfig, UpdateProjectResponse, UpdateProjectResponses, UpdateProjectStatus200, UpdateProjectStatus400, UpdateProjectStatus401, UpdateProjectStatus403, UpdateProjectStatus404, UpdateProjectStatus429, UpdateSpendLimitData, UpdateSpendLimitPathOrgId, UpdateSpendLimitRequest, UpdateSpendLimitRequestConfig, UpdateSpendLimitResponse, UpdateSpendLimitResponses, UpdateSpendLimitStatus200, UpdateSpendLimitStatus400, UpdateSpendLimitStatus401, UpdateSpendLimitStatus403, UpdateSpendLimitStatus429, UpdateSupportCaseData, UpdateSupportCasePathCaseId, UpdateSupportCasePathOrgId, UpdateSupportCaseRequest, UpdateSupportCaseRequestConfig, UpdateSupportCaseResponse, UpdateSupportCaseResponses, UpdateSupportCaseStatus200, UpdateSupportCaseStatus400, UpdateSupportCaseStatus401, UpdateSupportCaseStatus403, UpdateSupportCaseStatus404, UpdateWebhookEndpointData, UpdateWebhookEndpointPathProjectId, UpdateWebhookEndpointPathWebhookId, UpdateWebhookEndpointRequestConfig, UpdateWebhookEndpointResponse, UpdateWebhookEndpointResponses, UpdateWebhookEndpointStatus200, UpdateWebhookEndpointStatus400, UpdateWebhookEndpointStatus401, UpdateWebhookEndpointStatus403, UpdateWebhookEndpointStatus404, UsageResponse, VercelInstallationStatus, VercelResourceStatus, VercelResourceStatusStatusEnumKey, VerifyCustomDomainPathDomainId, VerifyCustomDomainPathProjectId, VerifyCustomDomainRequestConfig, VerifyCustomDomainResponse, VerifyCustomDomainResponses, VerifyCustomDomainStatus200, VerifyCustomDomainStatus400, VerifyCustomDomainStatus401, VerifyCustomDomainStatus403, VerifyCustomDomainStatus404, VerifyCustomDomainStatus429, WebhookEndpoint, WebhookEndpointFormatEnumKey, WebhookEndpointInput, WebhookEndpointInputFormatEnumKey, WebhookTestResponse };
|
|
11435
|
+
export { ApiError, PgBeamClient, SSLMode, agentCredentialAuthMethodEnum, agentCredentialPrincipalTypeEnum, agentCredentialStatusEnum, anomalyAlertSeverityEnum, anomalyAlertStatusEnum, approvalRequestStatusEnum, auditDecision, auditSource, cacheRuleEntryQueryTypeEnum, cacheRuleEntryRecommendationEnum, createAgentCredentialRequestPrincipalTypeEnum, createProjectRequestCloudEnum, dataResidency, databaseBranchStatusEnum, databaseRole, dryEvalMaskedColumnKindEnum, dryEvalResultVerdictEnum, extractMessage, healthResponseStatusEnum, maskingRuleKindEnum, mcpRequestJsonrpcEnum, mcpRequestMethodEnum, mcpResponseJsonrpcEnum, migrationFindingSeverityEnum, organizationPlanBillingProviderEnum, organizationPlanPlanEnum, organizationPlanSubscriptionStatusEnum, piiSuggestionMaskKindEnum, piiSuggestionPiiTypeEnum, policyProfileAccessModeEnum, policyProfileApprovalModeEnum, policyProfileInputAccessModeEnum, policyProfileInputApprovalModeEnum, policyProfileInputMigrationSafetyEnum, policyProfileInputWriteModeEnum, policyProfileMigrationSafetyEnum, policyProfileWriteModeEnum, poolMode, projectCloudEnum, projectStatus, regionProviderEnum, regionStatusEnum, schemaCatalogRelationKindEnum, supportCaseStatus, supportMessageSource, updateAgentCredentialStatusRequestStatusEnum, updateAnomalyAlertRequestStatusEnum, updateOnboardingRequestStepEnum, vercelResourceStatusStatusEnum, webhookEndpointFormatEnum, webhookEndpointInputFormatEnum };
|
|
11436
|
+
export type { AccountExport, AgentCredential, AgentCredentialAuthMethodEnumKey, AgentCredentialPrincipalTypeEnumKey, AgentCredentialSecrets, AgentCredentialStatusEnumKey, AnomalyAlert, AnomalyAlertSeverityEnumKey, AnomalyAlertStatusEnumKey, ApiClient, ApprovalDecisionRequest, ApprovalRequest, ApprovalRequestStatusEnumKey, ApproveApprovalRequestData, ApproveApprovalRequestPathApprovalId, ApproveApprovalRequestPathProjectId, ApproveApprovalRequestRequestConfig, ApproveApprovalRequestResponse, ApproveApprovalRequestResponses, ApproveApprovalRequestStatus200, ApproveApprovalRequestStatus400, ApproveApprovalRequestStatus401, ApproveApprovalRequestStatus403, ApproveApprovalRequestStatus404, ApproveApprovalRequestStatus409, AuditDecision, AuditDecisionKey, AuditLogEntry, AuditSource, AuditSourceKey, CacheConfig, CacheRuleEntry, CacheRuleEntryQueryTypeEnumKey, CacheRuleEntryRecommendationEnumKey, CacheSummary, CancellationFeedbackRequest, CidrEntry, CreateAgentCredentialData, CreateAgentCredentialPathProjectId, CreateAgentCredentialRequest, CreateAgentCredentialRequestConfig, CreateAgentCredentialRequestPrincipalTypeEnumKey, CreateAgentCredentialResponse, CreateAgentCredentialResponses, CreateAgentCredentialStatus201, CreateAgentCredentialStatus400, CreateAgentCredentialStatus401, CreateAgentCredentialStatus403, CreateAgentCredentialStatus404, CreateAgentCredentialStatus409, CreateAgentCredentialStatus429, CreateCustomDomainData, CreateCustomDomainPathProjectId, CreateCustomDomainRequest, CreateCustomDomainRequestConfig, CreateCustomDomainResponse, CreateCustomDomainResponses, CreateCustomDomainStatus201, CreateCustomDomainStatus400, CreateCustomDomainStatus401, CreateCustomDomainStatus403, CreateCustomDomainStatus404, CreateCustomDomainStatus409, CreateCustomDomainStatus429, CreateDatabaseData, CreateDatabasePathProjectId, CreateDatabaseRequest, CreateDatabaseRequestConfig, CreateDatabaseResponse, CreateDatabaseResponses, CreateDatabaseStatus201, CreateDatabaseStatus400, CreateDatabaseStatus401, CreateDatabaseStatus403, CreateDatabaseStatus404, CreateDatabaseStatus429, CreatePolicyProfileData, CreatePolicyProfilePathProjectId, CreatePolicyProfileRequestConfig, CreatePolicyProfileResponse, CreatePolicyProfileResponses, CreatePolicyProfileStatus201, CreatePolicyProfileStatus400, CreatePolicyProfileStatus401, CreatePolicyProfileStatus403, CreatePolicyProfileStatus404, CreatePolicyProfileStatus409, CreatePolicyProfileStatus429, CreateProjectData, CreateProjectRequest, CreateProjectRequestCloudEnumKey, CreateProjectRequestConfig, CreateProjectResponse, CreateProjectResponses, CreateProjectStatus201, CreateProjectStatus400, CreateProjectStatus401, CreateProjectStatus403, CreateProjectStatus409, CreateProjectStatus429, CreateReplicaData, CreateReplicaPathDatabaseId, CreateReplicaRequest, CreateReplicaRequestConfig, CreateReplicaResponse, CreateReplicaResponses, CreateReplicaStatus201, CreateReplicaStatus400, CreateReplicaStatus401, CreateReplicaStatus403, CreateReplicaStatus404, CreateReplicaStatus429, CreateSelfHostEnrollmentData, CreateSelfHostEnrollmentPathOrgId, CreateSelfHostEnrollmentRequest, CreateSelfHostEnrollmentRequestConfig, CreateSelfHostEnrollmentResponse, CreateSelfHostEnrollmentResponses, CreateSelfHostEnrollmentStatus201, CreateSelfHostEnrollmentStatus400, CreateSelfHostEnrollmentStatus401, CreateSelfHostEnrollmentStatus403, CreateSelfHostEnrollmentStatus429, CreateSupportCaseData, CreateSupportCasePathOrgId, CreateSupportCaseRequest, CreateSupportCaseRequestConfig, CreateSupportCaseResponse, CreateSupportCaseResponses, CreateSupportCaseStatus201, CreateSupportCaseStatus400, CreateSupportCaseStatus401, CreateSupportCaseStatus403, CreateSupportMessageData, CreateSupportMessagePathCaseId, CreateSupportMessagePathOrgId, CreateSupportMessageRequest, CreateSupportMessageRequestConfig, CreateSupportMessageResponse, CreateSupportMessageResponses, CreateSupportMessageStatus201, CreateSupportMessageStatus400, CreateSupportMessageStatus401, CreateSupportMessageStatus403, CreateSupportMessageStatus404, CreateWebhookEndpointData, CreateWebhookEndpointPathProjectId, CreateWebhookEndpointRequestConfig, CreateWebhookEndpointResponse, CreateWebhookEndpointResponses, CreateWebhookEndpointStatus201, CreateWebhookEndpointStatus400, CreateWebhookEndpointStatus401, CreateWebhookEndpointStatus403, CreateWebhookEndpointStatus404, CreateWebhookEndpointStatus429, CustomDomain, DailyUsage, DataResidencyKey, Database, DatabaseBranch, DatabaseBranchStatusEnumKey, DatabaseRoleKey, DeleteCustomDomainPathDomainId, DeleteCustomDomainPathProjectId, DeleteCustomDomainRequestConfig, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteCustomDomainStatus204, DeleteCustomDomainStatus400, DeleteCustomDomainStatus401, DeleteCustomDomainStatus403, DeleteCustomDomainStatus404, DeleteCustomDomainStatus429, DeleteDatabasePathDatabaseId, DeleteDatabasePathProjectId, DeleteDatabaseRequestConfig, DeleteDatabaseResponse, DeleteDatabaseResponses, DeleteDatabaseStatus204, DeleteDatabaseStatus400, DeleteDatabaseStatus401, DeleteDatabaseStatus403, DeleteDatabaseStatus404, DeleteDatabaseStatus429, DeletePolicyProfilePathPolicyId, DeletePolicyProfilePathProjectId, DeletePolicyProfileRequestConfig, DeletePolicyProfileResponse, DeletePolicyProfileResponses, DeletePolicyProfileStatus204, DeletePolicyProfileStatus400, DeletePolicyProfileStatus401, DeletePolicyProfileStatus403, DeletePolicyProfileStatus404, DeletePolicyProfileStatus409, DeleteProjectPathProjectId, DeleteProjectRequestConfig, DeleteProjectResponse, DeleteProjectResponses, DeleteProjectStatus204, DeleteProjectStatus400, DeleteProjectStatus401, DeleteProjectStatus403, DeleteProjectStatus404, DeleteProjectStatus429, DeleteReplicaPathDatabaseId, DeleteReplicaPathReplicaId, DeleteReplicaRequestConfig, DeleteReplicaResponse, DeleteReplicaResponses, DeleteReplicaStatus204, DeleteReplicaStatus400, DeleteReplicaStatus401, DeleteReplicaStatus403, DeleteReplicaStatus404, DeleteReplicaStatus429, DeleteWebhookEndpointPathProjectId, DeleteWebhookEndpointPathWebhookId, DeleteWebhookEndpointRequestConfig, DeleteWebhookEndpointResponse, DeleteWebhookEndpointResponses, DeleteWebhookEndpointStatus204, DeleteWebhookEndpointStatus400, DeleteWebhookEndpointStatus401, DeleteWebhookEndpointStatus403, DeleteWebhookEndpointStatus404, DiscardDatabaseBranchPathBranchId, DiscardDatabaseBranchPathProjectId, DiscardDatabaseBranchRequestConfig, DiscardDatabaseBranchResponse, DiscardDatabaseBranchResponses, DiscardDatabaseBranchStatus204, DiscardDatabaseBranchStatus400, DiscardDatabaseBranchStatus401, DiscardDatabaseBranchStatus403, DiscardDatabaseBranchStatus404, DnsInstructions, DryEvalInput, DryEvalMaskedColumn, DryEvalMaskedColumnKindEnumKey, DryEvalPolicyData, DryEvalPolicyPathProjectId, DryEvalPolicyRequestConfig, DryEvalPolicyResponse, DryEvalPolicyResponses, DryEvalPolicyStatus200, DryEvalPolicyStatus400, DryEvalPolicyStatus401, DryEvalPolicyStatus403, DryEvalPolicyStatus404, DryEvalPolicyStatus429, DryEvalResult, DryEvalResultVerdictEnumKey, Error$1 as Error, ExportAccountDataRequestConfig, ExportAccountDataResponse, ExportAccountDataResponses, ExportAccountDataStatus200, ExportAccountDataStatus401, ExportAccountDataStatus404, ExportAccountDataStatus429, ExportAuditLogsPathProjectId, ExportAuditLogsQueryCredentialId, ExportAuditLogsQueryDecision, ExportAuditLogsQueryEnd, ExportAuditLogsQueryEvent, ExportAuditLogsQuerySource, ExportAuditLogsQueryStart, ExportAuditLogsRequestConfig, ExportAuditLogsResponse, ExportAuditLogsResponses, ExportAuditLogsStatus200, ExportAuditLogsStatus400, ExportAuditLogsStatus401, ExportAuditLogsStatus403, ExportAuditLogsStatus404, ExportAuditLogsStatus429, GetAgentCredentialPathAgentId, GetAgentCredentialPathProjectId, GetAgentCredentialRequestConfig, GetAgentCredentialResponse, GetAgentCredentialResponses, GetAgentCredentialStatus200, GetAgentCredentialStatus400, GetAgentCredentialStatus401, GetAgentCredentialStatus403, GetAgentCredentialStatus404, GetDatabasePathDatabaseId, GetDatabasePathProjectId, GetDatabaseRequestConfig, GetDatabaseResponse, GetDatabaseResponses, GetDatabaseStatus200, GetDatabaseStatus400, GetDatabaseStatus401, GetDatabaseStatus403, GetDatabaseStatus404, GetDatabaseStatus429, GetHealthRequestConfig, GetHealthResponse, GetHealthResponses, GetHealthStatus200, GetHealthStatus429, GetOnboardingProgressPathOrgId, GetOnboardingProgressRequestConfig, GetOnboardingProgressResponse, GetOnboardingProgressResponses, GetOnboardingProgressStatus200, GetOnboardingProgressStatus400, GetOnboardingProgressStatus401, GetOnboardingProgressStatus403, GetOnboardingProgressStatus404, GetOnboardingProgressStatus429, GetOrganizationPlanPathOrgId, GetOrganizationPlanRequestConfig, GetOrganizationPlanResponse, GetOrganizationPlanResponses, GetOrganizationPlanStatus200, GetOrganizationPlanStatus400, GetOrganizationPlanStatus401, GetOrganizationPlanStatus403, GetOrganizationPlanStatus429, GetOrganizationUsagePathOrgId, GetOrganizationUsageQueryEndDate, GetOrganizationUsageQueryStartDate, GetOrganizationUsageRequestConfig, GetOrganizationUsageResponse, GetOrganizationUsageResponses, GetOrganizationUsageStatus200, GetOrganizationUsageStatus400, GetOrganizationUsageStatus401, GetOrganizationUsageStatus403, GetOrganizationUsageStatus429, GetPolicyProfilePathPolicyId, GetPolicyProfilePathProjectId, GetPolicyProfileRequestConfig, GetPolicyProfileResponse, GetPolicyProfileResponses, GetPolicyProfileStatus200, GetPolicyProfileStatus400, GetPolicyProfileStatus401, GetPolicyProfileStatus403, GetPolicyProfileStatus404, GetProjectInsightsPathProjectId, GetProjectInsightsQueryLimit, GetProjectInsightsQueryRange, GetProjectInsightsRequestConfig, GetProjectInsightsResponse, GetProjectInsightsResponses, GetProjectInsightsStatus200, GetProjectInsightsStatus400, GetProjectInsightsStatus401, GetProjectInsightsStatus404, GetProjectInsightsStatus429, GetProjectMetricsPathProjectId, GetProjectMetricsQueryLimit, GetProjectMetricsQueryRegion, GetProjectMetricsRequestConfig, GetProjectMetricsResponse, GetProjectMetricsResponses, GetProjectMetricsStatus200, GetProjectMetricsStatus400, GetProjectMetricsStatus401, GetProjectMetricsStatus404, GetProjectMetricsStatus429, GetProjectPathProjectId, GetProjectRequestConfig, GetProjectResponse, GetProjectResponses, GetProjectStatus200, GetProjectStatus400, GetProjectStatus401, GetProjectStatus403, GetProjectStatus404, GetProjectStatus429, GetProjectUsagePathProjectId, GetProjectUsageQueryEndDate, GetProjectUsageQueryStartDate, GetProjectUsageRequestConfig, GetProjectUsageResponse, GetProjectUsageResponses, GetProjectUsageStatus200, GetProjectUsageStatus400, GetProjectUsageStatus401, GetProjectUsageStatus404, GetProjectUsageStatus429, GetSchemaCatalogPathDatabaseId, GetSchemaCatalogPathProjectId, GetSchemaCatalogRequestConfig, GetSchemaCatalogResponse, GetSchemaCatalogResponses, GetSchemaCatalogStatus200, GetSchemaCatalogStatus400, GetSchemaCatalogStatus401, GetSchemaCatalogStatus403, GetSchemaCatalogStatus404, GetSchemaCatalogStatus429, GetSupportCasePathCaseId, GetSupportCasePathOrgId, GetSupportCaseRequestConfig, GetSupportCaseResponse, GetSupportCaseResponses, GetSupportCaseStatus200, GetSupportCaseStatus400, GetSupportCaseStatus401, GetSupportCaseStatus403, GetSupportCaseStatus404, GetVercelInstallationPathOrgId, GetVercelInstallationRequestConfig, GetVercelInstallationResponse, GetVercelInstallationResponses, GetVercelInstallationStatus200, GetVercelInstallationStatus400, GetVercelInstallationStatus401, GetVercelInstallationStatus403, GetVercelInstallationStatus404, GetVercelInstallationStatus429, GetWebhookEndpointPathProjectId, GetWebhookEndpointPathWebhookId, GetWebhookEndpointRequestConfig, GetWebhookEndpointResponse, GetWebhookEndpointResponses, GetWebhookEndpointStatus200, GetWebhookEndpointStatus400, GetWebhookEndpointStatus401, GetWebhookEndpointStatus403, GetWebhookEndpointStatus404, HandleSlackSupportEventData, HandleSlackSupportEventRequestConfig, HandleSlackSupportEventResponse, HandleSlackSupportEventResponses, HandleSlackSupportEventStatus200, HandleSlackSupportEventStatus400, HandleSlackSupportEventStatus401, HandleSlackSupportEventStatus404, HealthResponse, HealthResponseStatusEnumKey, LatencySummary, LintMigrationData, LintMigrationPathProjectId, LintMigrationRequestConfig, LintMigrationResponse, LintMigrationResponses, LintMigrationStatus200, LintMigrationStatus400, LintMigrationStatus401, LintMigrationStatus403, LintMigrationStatus404, ListAgentCredentialsPathProjectId, ListAgentCredentialsQueryPageSize, ListAgentCredentialsQueryPageToken, ListAgentCredentialsRequestConfig, ListAgentCredentialsResponse, ListAgentCredentialsResponses, ListAgentCredentialsStatus200, ListAgentCredentialsStatus400, ListAgentCredentialsStatus401, ListAgentCredentialsStatus403, ListAgentCredentialsStatus404, ListAgentCredentialsStatus429, ListAnomalyAlertsPathProjectId, ListAnomalyAlertsQueryPageSize, ListAnomalyAlertsQueryPageToken, ListAnomalyAlertsQueryStatus, ListAnomalyAlertsRequestConfig, ListAnomalyAlertsResponse, ListAnomalyAlertsResponses, ListAnomalyAlertsStatus200, ListAnomalyAlertsStatus400, ListAnomalyAlertsStatus401, ListAnomalyAlertsStatus403, ListAnomalyAlertsStatus404, ListAnomalyAlertsStatus429, ListApprovalRequestsPathProjectId, ListApprovalRequestsQueryPageSize, ListApprovalRequestsQueryPageToken, ListApprovalRequestsQueryStatus, ListApprovalRequestsRequestConfig, ListApprovalRequestsResponse, ListApprovalRequestsResponses, ListApprovalRequestsStatus200, ListApprovalRequestsStatus400, ListApprovalRequestsStatus401, ListApprovalRequestsStatus403, ListApprovalRequestsStatus404, ListApprovalRequestsStatus429, ListAuditLogsPathProjectId, ListAuditLogsQueryBefore, ListAuditLogsQueryCredentialId, ListAuditLogsQueryDecision, ListAuditLogsQueryEnd, ListAuditLogsQueryEvent, ListAuditLogsQueryPageSize, ListAuditLogsQuerySource, ListAuditLogsQueryStart, ListAuditLogsRequestConfig, ListAuditLogsResponse, ListAuditLogsResponses, ListAuditLogsStatus200, ListAuditLogsStatus400, ListAuditLogsStatus401, ListAuditLogsStatus403, ListAuditLogsStatus404, ListAuditLogsStatus429, ListCacheRulesPathDatabaseId, ListCacheRulesPathProjectId, ListCacheRulesQueryPageSize, ListCacheRulesQueryPageToken, ListCacheRulesRequestConfig, ListCacheRulesResponse, ListCacheRulesResponses, ListCacheRulesStatus200, ListCacheRulesStatus400, ListCacheRulesStatus401, ListCacheRulesStatus403, ListCacheRulesStatus404, ListCacheRulesStatus429, ListCustomDomainsPathProjectId, ListCustomDomainsQueryPageSize, ListCustomDomainsQueryPageToken, ListCustomDomainsRequestConfig, ListCustomDomainsResponse, ListCustomDomainsResponses, ListCustomDomainsStatus200, ListCustomDomainsStatus400, ListCustomDomainsStatus401, ListCustomDomainsStatus403, ListCustomDomainsStatus404, ListCustomDomainsStatus429, ListDatabaseBranchesPathProjectId, ListDatabaseBranchesQueryPageSize, ListDatabaseBranchesQueryPageToken, ListDatabaseBranchesQueryStatus, ListDatabaseBranchesRequestConfig, ListDatabaseBranchesResponse, ListDatabaseBranchesResponses, ListDatabaseBranchesStatus200, ListDatabaseBranchesStatus400, ListDatabaseBranchesStatus401, ListDatabaseBranchesStatus403, ListDatabaseBranchesStatus404, ListDatabaseBranchesStatus429, ListDatabasesPathProjectId, ListDatabasesQueryPageSize, ListDatabasesQueryPageToken, ListDatabasesRequestConfig, ListDatabasesResponse, ListDatabasesResponses, ListDatabasesStatus200, ListDatabasesStatus400, ListDatabasesStatus401, ListDatabasesStatus403, ListDatabasesStatus404, ListDatabasesStatus429, ListPlansRequestConfig, ListPlansResponse, ListPlansResponses, ListPlansStatus200, ListPlansStatus401, ListPlansStatus429, ListPolicyProfilesPathProjectId, ListPolicyProfilesQueryPageSize, ListPolicyProfilesQueryPageToken, ListPolicyProfilesRequestConfig, ListPolicyProfilesResponse, ListPolicyProfilesResponses, ListPolicyProfilesStatus200, ListPolicyProfilesStatus400, ListPolicyProfilesStatus401, ListPolicyProfilesStatus403, ListPolicyProfilesStatus404, ListPolicyProfilesStatus429, ListProjectsQueryOrgId, ListProjectsQueryPageSize, ListProjectsQueryPageToken, ListProjectsQuerySortBy, ListProjectsRequestConfig, ListProjectsResponse, ListProjectsResponses, ListProjectsStatus200, ListProjectsStatus400, ListProjectsStatus401, ListProjectsStatus403, ListProjectsStatus429, ListRegionsRequestConfig, ListRegionsResponse, ListRegionsResponses, ListRegionsStatus200, ListRegionsStatus401, ListRegionsStatus429, ListReplicasPathDatabaseId, ListReplicasRequestConfig, ListReplicasResponse, ListReplicasResponses, ListReplicasStatus200, ListReplicasStatus400, ListReplicasStatus401, ListReplicasStatus403, ListReplicasStatus404, ListReplicasStatus429, ListSelfHostEnrollmentsPathOrgId, ListSelfHostEnrollmentsRequestConfig, ListSelfHostEnrollmentsResponse, ListSelfHostEnrollmentsResponses, ListSelfHostEnrollmentsStatus200, ListSelfHostEnrollmentsStatus401, ListSelfHostEnrollmentsStatus403, ListSupportCasesPathOrgId, ListSupportCasesQueryPage, ListSupportCasesQueryPageSize, ListSupportCasesQuerySearch, ListSupportCasesQueryStatus, ListSupportCasesRequestConfig, ListSupportCasesResponse, ListSupportCasesResponses, ListSupportCasesStatus200, ListSupportCasesStatus400, ListSupportCasesStatus401, ListSupportCasesStatus403, ListWebhookEndpointsPathProjectId, ListWebhookEndpointsQueryPageSize, ListWebhookEndpointsQueryPageToken, ListWebhookEndpointsRequestConfig, ListWebhookEndpointsResponse, ListWebhookEndpointsResponses, ListWebhookEndpointsStatus200, ListWebhookEndpointsStatus400, ListWebhookEndpointsStatus401, ListWebhookEndpointsStatus403, ListWebhookEndpointsStatus404, ListWebhookEndpointsStatus429, MaskingRule, MaskingRuleKindEnumKey, McpRequest, McpRequestJsonrpcEnumKey, McpRequestMethodEnumKey, McpResponse, McpResponseJsonrpcEnumKey, McpTransportData, McpTransportRequestConfig, McpTransportResponse, McpTransportResponses, McpTransportStatus200, McpTransportStatus401, McpTransportStatus429, MetricsSnapshot, MigrationFinding, MigrationFindingSeverityEnumKey, MigrationLintRequest, MigrationLintResponse, OnboardingProgress, OrganizationPlan, OrganizationPlanBillingProviderEnumKey, OrganizationPlanPlanEnumKey, OrganizationPlanSubscriptionStatusEnumKey, PgBeamClientOptions, PiiSuggestion, PiiSuggestionMaskKindEnumKey, PiiSuggestionPiiTypeEnumKey, PlanInfo, PlanLimits, PolicyProfile, PolicyProfileAccessModeEnumKey, PolicyProfileApprovalModeEnumKey, PolicyProfileInput, PolicyProfileInputAccessModeEnumKey, PolicyProfileInputApprovalModeEnumKey, PolicyProfileInputMigrationSafetyEnumKey, PolicyProfileInputWriteModeEnumKey, PolicyProfileMigrationSafetyEnumKey, PolicyProfileWriteModeEnumKey, PoolConfig, PoolModeKey, Project, ProjectCloudEnumKey, ProjectDailyUsage, ProjectInsights, ProjectMetricsResponse, ProjectStatusKey, ProjectUsageResponse, QueryInsight, Region, RegionProviderEnumKey, RegionStatusEnumKey, RejectApprovalRequestData, RejectApprovalRequestPathApprovalId, RejectApprovalRequestPathProjectId, RejectApprovalRequestRequestConfig, RejectApprovalRequestResponse, RejectApprovalRequestResponses, RejectApprovalRequestStatus200, RejectApprovalRequestStatus400, RejectApprovalRequestStatus401, RejectApprovalRequestStatus403, RejectApprovalRequestStatus404, RejectApprovalRequestStatus409, Replica, RetryConfig, RevokeAgentCredentialPathAgentId, RevokeAgentCredentialPathProjectId, RevokeAgentCredentialRequestConfig, RevokeAgentCredentialResponse, RevokeAgentCredentialResponses, RevokeAgentCredentialStatus204, RevokeAgentCredentialStatus400, RevokeAgentCredentialStatus401, RevokeAgentCredentialStatus403, RevokeAgentCredentialStatus404, RevokeSelfHostEnrollmentPathEnrollmentId, RevokeSelfHostEnrollmentPathOrgId, RevokeSelfHostEnrollmentRequestConfig, RevokeSelfHostEnrollmentResponse, RevokeSelfHostEnrollmentResponses, RevokeSelfHostEnrollmentStatus204, RevokeSelfHostEnrollmentStatus401, RevokeSelfHostEnrollmentStatus403, RevokeSelfHostEnrollmentStatus404, RotateAgentCredentialPathAgentId, RotateAgentCredentialPathProjectId, RotateAgentCredentialRequestConfig, RotateAgentCredentialResponse, RotateAgentCredentialResponses, RotateAgentCredentialStatus200, RotateAgentCredentialStatus400, RotateAgentCredentialStatus401, RotateAgentCredentialStatus403, RotateAgentCredentialStatus404, RotateAgentCredentialStatus409, RowFilter, SSLModeKey, ScanDatabaseForPiiPathDatabaseId, ScanDatabaseForPiiPathProjectId, ScanDatabaseForPiiRequestConfig, ScanDatabaseForPiiResponse, ScanDatabaseForPiiResponses, ScanDatabaseForPiiStatus200, ScanDatabaseForPiiStatus400, ScanDatabaseForPiiStatus401, ScanDatabaseForPiiStatus403, ScanDatabaseForPiiStatus404, ScanDatabaseForPiiStatus429, ScanPiiResult, SchemaCatalog, SchemaCatalogColumn, SchemaCatalogRelation, SchemaCatalogRelationKindEnumKey, SelfHostEnrollment, SelfHostEnrollmentSecret, SlackEventPayload, StatementRules, SubmitCancellationFeedbackData, SubmitCancellationFeedbackPathOrgId, SubmitCancellationFeedbackRequestConfig, SubmitCancellationFeedbackResponse, SubmitCancellationFeedbackResponses, SubmitCancellationFeedbackStatus204, SubmitCancellationFeedbackStatus400, SubmitCancellationFeedbackStatus401, SubmitCancellationFeedbackStatus403, SubmitCancellationFeedbackStatus429, SupportCase, SupportCaseStatus, SupportCaseStatusKey, SupportMessage, SupportMessageSourceKey, TestConnectionResult, TestDatabaseConnectionPathDatabaseId, TestDatabaseConnectionPathProjectId, TestDatabaseConnectionRequestConfig, TestDatabaseConnectionResponse, TestDatabaseConnectionResponses, TestDatabaseConnectionStatus200, TestDatabaseConnectionStatus400, TestDatabaseConnectionStatus401, TestDatabaseConnectionStatus403, TestDatabaseConnectionStatus404, TestDatabaseConnectionStatus429, TestWebhookEndpointPathProjectId, TestWebhookEndpointPathWebhookId, TestWebhookEndpointRequestConfig, TestWebhookEndpointResponse, TestWebhookEndpointResponses, TestWebhookEndpointStatus202, TestWebhookEndpointStatus400, TestWebhookEndpointStatus401, TestWebhookEndpointStatus403, TestWebhookEndpointStatus404, UpdateAgentCredentialStatusData, UpdateAgentCredentialStatusPathAgentId, UpdateAgentCredentialStatusPathProjectId, UpdateAgentCredentialStatusRequest, UpdateAgentCredentialStatusRequestConfig, UpdateAgentCredentialStatusRequestStatusEnumKey, UpdateAgentCredentialStatusResponse, UpdateAgentCredentialStatusResponses, UpdateAgentCredentialStatusStatus200, UpdateAgentCredentialStatusStatus400, UpdateAgentCredentialStatusStatus401, UpdateAgentCredentialStatusStatus403, UpdateAgentCredentialStatusStatus404, UpdateAnomalyAlertData, UpdateAnomalyAlertPathAnomalyId, UpdateAnomalyAlertPathProjectId, UpdateAnomalyAlertRequest, UpdateAnomalyAlertRequestConfig, UpdateAnomalyAlertRequestStatusEnumKey, UpdateAnomalyAlertResponse, UpdateAnomalyAlertResponses, UpdateAnomalyAlertStatus200, UpdateAnomalyAlertStatus400, UpdateAnomalyAlertStatus401, UpdateAnomalyAlertStatus403, UpdateAnomalyAlertStatus404, UpdateCacheRuleData, UpdateCacheRulePathDatabaseId, UpdateCacheRulePathProjectId, UpdateCacheRulePathQueryHash, UpdateCacheRuleRequest, UpdateCacheRuleRequestConfig, UpdateCacheRuleResponse, UpdateCacheRuleResponses, UpdateCacheRuleStatus200, UpdateCacheRuleStatus400, UpdateCacheRuleStatus401, UpdateCacheRuleStatus403, UpdateCacheRuleStatus404, UpdateCacheRuleStatus429, UpdateDatabaseData, UpdateDatabasePathDatabaseId, UpdateDatabasePathProjectId, UpdateDatabaseRequest, UpdateDatabaseRequestConfig, UpdateDatabaseResponse, UpdateDatabaseResponses, UpdateDatabaseStatus200, UpdateDatabaseStatus400, UpdateDatabaseStatus401, UpdateDatabaseStatus403, UpdateDatabaseStatus404, UpdateDatabaseStatus429, UpdateOnboardingProgressData, UpdateOnboardingProgressPathOrgId, UpdateOnboardingProgressRequestConfig, UpdateOnboardingProgressResponse, UpdateOnboardingProgressResponses, UpdateOnboardingProgressStatus200, UpdateOnboardingProgressStatus400, UpdateOnboardingProgressStatus401, UpdateOnboardingProgressStatus403, UpdateOnboardingProgressStatus404, UpdateOnboardingProgressStatus429, UpdateOnboardingRequest, UpdateOnboardingRequestStepEnumKey, UpdatePolicyProfileData, UpdatePolicyProfilePathPolicyId, UpdatePolicyProfilePathProjectId, UpdatePolicyProfileRequestConfig, UpdatePolicyProfileResponse, UpdatePolicyProfileResponses, UpdatePolicyProfileStatus200, UpdatePolicyProfileStatus400, UpdatePolicyProfileStatus401, UpdatePolicyProfileStatus403, UpdatePolicyProfileStatus404, UpdatePolicyProfileStatus429, UpdateProjectData, UpdateProjectPathProjectId, UpdateProjectRequest, UpdateProjectRequestConfig, UpdateProjectResponse, UpdateProjectResponses, UpdateProjectStatus200, UpdateProjectStatus400, UpdateProjectStatus401, UpdateProjectStatus403, UpdateProjectStatus404, UpdateProjectStatus429, UpdateSpendLimitData, UpdateSpendLimitPathOrgId, UpdateSpendLimitRequest, UpdateSpendLimitRequestConfig, UpdateSpendLimitResponse, UpdateSpendLimitResponses, UpdateSpendLimitStatus200, UpdateSpendLimitStatus400, UpdateSpendLimitStatus401, UpdateSpendLimitStatus403, UpdateSpendLimitStatus429, UpdateSupportCaseData, UpdateSupportCasePathCaseId, UpdateSupportCasePathOrgId, UpdateSupportCaseRequest, UpdateSupportCaseRequestConfig, UpdateSupportCaseResponse, UpdateSupportCaseResponses, UpdateSupportCaseStatus200, UpdateSupportCaseStatus400, UpdateSupportCaseStatus401, UpdateSupportCaseStatus403, UpdateSupportCaseStatus404, UpdateWebhookEndpointData, UpdateWebhookEndpointPathProjectId, UpdateWebhookEndpointPathWebhookId, UpdateWebhookEndpointRequestConfig, UpdateWebhookEndpointResponse, UpdateWebhookEndpointResponses, UpdateWebhookEndpointStatus200, UpdateWebhookEndpointStatus400, UpdateWebhookEndpointStatus401, UpdateWebhookEndpointStatus403, UpdateWebhookEndpointStatus404, UsageResponse, VercelInstallationStatus, VercelResourceStatus, VercelResourceStatusStatusEnumKey, VerifyCustomDomainPathDomainId, VerifyCustomDomainPathProjectId, VerifyCustomDomainRequestConfig, VerifyCustomDomainResponse, VerifyCustomDomainResponses, VerifyCustomDomainStatus200, VerifyCustomDomainStatus400, VerifyCustomDomainStatus401, VerifyCustomDomainStatus403, VerifyCustomDomainStatus404, VerifyCustomDomainStatus429, WebhookEndpoint, WebhookEndpointFormatEnumKey, WebhookEndpointInput, WebhookEndpointInputFormatEnumKey, WebhookTestResponse };
|
package/dist/index.mjs
CHANGED
|
@@ -222,6 +222,18 @@
|
|
|
222
222
|
listRegions: {
|
|
223
223
|
method: "GET",
|
|
224
224
|
path: "/v1/regions"
|
|
225
|
+
},
|
|
226
|
+
listSelfHostEnrollments: {
|
|
227
|
+
method: "GET",
|
|
228
|
+
path: "/v1/organizations/{org_id}/self-host-enrollments"
|
|
229
|
+
},
|
|
230
|
+
createSelfHostEnrollment: {
|
|
231
|
+
method: "POST",
|
|
232
|
+
path: "/v1/organizations/{org_id}/self-host-enrollments"
|
|
233
|
+
},
|
|
234
|
+
revokeSelfHostEnrollment: {
|
|
235
|
+
method: "DELETE",
|
|
236
|
+
path: "/v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}"
|
|
225
237
|
}
|
|
226
238
|
},
|
|
227
239
|
migrations: {
|
|
@@ -592,6 +604,21 @@ const operationsByPath = {
|
|
|
592
604
|
path: "/v1/databases/{database_id}/replicas/{replica_id}",
|
|
593
605
|
operationId: "deleteReplica"
|
|
594
606
|
},
|
|
607
|
+
"GET /v1/organizations/{org_id}/self-host-enrollments": {
|
|
608
|
+
method: "GET",
|
|
609
|
+
path: "/v1/organizations/{org_id}/self-host-enrollments",
|
|
610
|
+
operationId: "listSelfHostEnrollments"
|
|
611
|
+
},
|
|
612
|
+
"POST /v1/organizations/{org_id}/self-host-enrollments": {
|
|
613
|
+
method: "POST",
|
|
614
|
+
path: "/v1/organizations/{org_id}/self-host-enrollments",
|
|
615
|
+
operationId: "createSelfHostEnrollment"
|
|
616
|
+
},
|
|
617
|
+
"DELETE /v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}": {
|
|
618
|
+
method: "DELETE",
|
|
619
|
+
path: "/v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}",
|
|
620
|
+
operationId: "revokeSelfHostEnrollment"
|
|
621
|
+
},
|
|
595
622
|
"GET /v1/organizations/{org_id}/support/cases": {
|
|
596
623
|
method: "GET",
|
|
597
624
|
path: "/v1/organizations/{org_id}/support/cases",
|
|
@@ -817,13 +844,15 @@ async function parseResponseBody(response) {
|
|
|
817
844
|
if (contentType?.includes("application/json")) {
|
|
818
845
|
return response.json();
|
|
819
846
|
}
|
|
820
|
-
//
|
|
847
|
+
// Non-JSON body (e.g. text/csv from audit-log export). Parse opportunistically
|
|
848
|
+
// in case the server mislabels JSON, but fall back to the raw text so callers
|
|
849
|
+
// get the payload instead of undefined. Only an empty body is undefined.
|
|
821
850
|
const text = await response.text();
|
|
822
851
|
if (!text) return undefined;
|
|
823
852
|
try {
|
|
824
853
|
return JSON.parse(text);
|
|
825
854
|
} catch {
|
|
826
|
-
return
|
|
855
|
+
return text;
|
|
827
856
|
}
|
|
828
857
|
}
|
|
829
858
|
function sleep(ms) {
|