@amerged/ohmyhost-cli 0.1.56 → 0.1.58
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/README.md +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-HNFWXGDN.js → chunk-XFL3XJWI.js} +579 -76
- package/dist/index.js +7 -1
- package/package.json +1 -1
- package/src/apps/product-cli/package.json +1 -1
- package/src/apps/product-cli/src/cli.ts +150 -11
- package/src/apps/product-cli/src/command.ts +185 -4
- package/src/apps/product-cli/src/product-api.ts +126 -3
- package/src/apps/product-cli/src/repository-init.ts +8 -0
- package/src/apps/product-cli/src/runtime-contract.ts +43 -5
- package/src/apps/product-cli/src/user-token-file.ts +73 -0
- package/src/packages/contracts/package.json +5 -0
- package/src/packages/contracts/src/credit-pricing.ts +1 -1
- package/src/packages/contracts/src/database-events.ts +67 -0
- package/src/packages/contracts/src/framework-admission.ts +5 -4
- package/src/packages/contracts/src/framework-source-rules.ts +9 -2
- package/src/packages/contracts/src/index.ts +9 -0
- package/src/packages/contracts/src/operation-deployment-result.ts +121 -1
- package/src/packages/contracts/src/operation-failure.ts +72 -1
- package/src/packages/contracts/src/problem-policy.ts +13 -1
- package/src/packages/contracts/src/secret-names.ts +3 -2
- package/src/packages/contracts/src/signup-attribution.ts +15 -0
- package/src/packages/sdk-ts/package.json +1 -1
- package/src/packages/sdk-ts/src/generated/index.ts +30 -0
- package/src/packages/sdk-ts/src/generated/sdk.gen.ts +230 -3
- package/src/packages/sdk-ts/src/generated/types.gen.ts +376 -1
|
@@ -1226,6 +1226,26 @@ export type DatabaseWebhookCreated = {
|
|
|
1226
1226
|
secret: string;
|
|
1227
1227
|
};
|
|
1228
1228
|
|
|
1229
|
+
export type DatabaseWebhookSubscription = {
|
|
1230
|
+
id: Ulid;
|
|
1231
|
+
environment: "dev" | "prod";
|
|
1232
|
+
state: "creating" | "active" | "deactivating" | "inactive";
|
|
1233
|
+
generation: number;
|
|
1234
|
+
provider_id: string | null;
|
|
1235
|
+
};
|
|
1236
|
+
|
|
1237
|
+
export type DatabaseWebhookSubscriptionActivation = {
|
|
1238
|
+
id: Ulid;
|
|
1239
|
+
environment: "dev" | "prod";
|
|
1240
|
+
state: "active";
|
|
1241
|
+
generation: number;
|
|
1242
|
+
provider_id: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* Generation signing secret available only on the exact authorized activation or retry.
|
|
1245
|
+
*/
|
|
1246
|
+
secret: string;
|
|
1247
|
+
};
|
|
1248
|
+
|
|
1229
1249
|
export type DatabaseWebhookPage = {
|
|
1230
1250
|
items: Array<DatabaseWebhook>;
|
|
1231
1251
|
};
|
|
@@ -1416,7 +1436,7 @@ export type DevAccessTicket = {
|
|
|
1416
1436
|
export type PlanDeploymentRequest = {
|
|
1417
1437
|
commit_sha: GitCommitSha;
|
|
1418
1438
|
/**
|
|
1419
|
-
* The environment the deployment builds into.
|
|
1439
|
+
* The environment the deployment builds into. Omission selects Dev when it exists, otherwise Prod. Prod switches Prod traffic once activated.
|
|
1420
1440
|
*/
|
|
1421
1441
|
environment?: "dev" | "prod";
|
|
1422
1442
|
};
|
|
@@ -1622,6 +1642,10 @@ export type FeedbackUpdate = {
|
|
|
1622
1642
|
* Phase 1 project creation request. The server assigns resource identifiers.
|
|
1623
1643
|
*/
|
|
1624
1644
|
export type CreateProjectRequest = {
|
|
1645
|
+
/**
|
|
1646
|
+
* Set false to create only Prod; Dev can be added later. Omission preserves existing Dev and Prod creation behavior.
|
|
1647
|
+
*/
|
|
1648
|
+
include_development_environment?: boolean;
|
|
1625
1649
|
source?: {
|
|
1626
1650
|
provider: "managed";
|
|
1627
1651
|
template: "vite-react" | "empty";
|
|
@@ -1757,6 +1781,14 @@ export type ProjectHandleAvailability = {
|
|
|
1757
1781
|
};
|
|
1758
1782
|
|
|
1759
1783
|
export type ProjectStatus = {
|
|
1784
|
+
/**
|
|
1785
|
+
* Custom hostnames of this project with their environment and current configuration state.
|
|
1786
|
+
*/
|
|
1787
|
+
custom_domains?: Array<{
|
|
1788
|
+
hostname: string;
|
|
1789
|
+
environment: "prod";
|
|
1790
|
+
state: "awaiting_deployment" | "pending" | "active" | "deleting";
|
|
1791
|
+
}>;
|
|
1760
1792
|
/**
|
|
1761
1793
|
* Optimistic-concurrency token for changing this project address; use it as If-Match on the handle endpoint.
|
|
1762
1794
|
*/
|
|
@@ -1811,6 +1843,8 @@ export type ProblemDetails = {
|
|
|
1811
1843
|
| "mail_capacity_unavailable"
|
|
1812
1844
|
| "storage_jurisdiction_conflict"
|
|
1813
1845
|
| "shared_data_requires_promotion"
|
|
1846
|
+
| "development_environment_exists"
|
|
1847
|
+
| "development_environment_missing"
|
|
1814
1848
|
| "production_deployment_required"
|
|
1815
1849
|
| "framework_conversion_required"
|
|
1816
1850
|
| "repository_configuration_missing"
|
|
@@ -1915,6 +1949,7 @@ export type Operation = {
|
|
|
1915
1949
|
* Current deployment dependency observation, separate from immutable operation history. Poll the same operation; mail readiness does not mean application activation.
|
|
1916
1950
|
*/
|
|
1917
1951
|
export type OperationDeploymentProgress = {
|
|
1952
|
+
mail?: DeploymentMailProgress;
|
|
1918
1953
|
/**
|
|
1919
1954
|
* Actual successful build completion time when this operation ran a build; omitted for reused artifacts without a current build.
|
|
1920
1955
|
*/
|
|
@@ -1927,6 +1962,48 @@ export type OperationDeploymentProgress = {
|
|
|
1927
1962
|
suggested_action: string;
|
|
1928
1963
|
};
|
|
1929
1964
|
|
|
1965
|
+
/**
|
|
1966
|
+
* Current mail verification details, present only while waiting_for_mail. Follow these records without rebuilding the deployment.
|
|
1967
|
+
*/
|
|
1968
|
+
export type DeploymentMailProgress = {
|
|
1969
|
+
domain: string;
|
|
1970
|
+
status:
|
|
1971
|
+
| "configured"
|
|
1972
|
+
| "delegation_required"
|
|
1973
|
+
| "ready"
|
|
1974
|
+
| "verification_pending"
|
|
1975
|
+
| "verification_failed";
|
|
1976
|
+
configured_at: string;
|
|
1977
|
+
observed_at?: string;
|
|
1978
|
+
verification_issue?:
|
|
1979
|
+
| "identity_missing"
|
|
1980
|
+
| "identity_verification_failed"
|
|
1981
|
+
| "dkim_verification_failed"
|
|
1982
|
+
| "dkim_records_changed"
|
|
1983
|
+
| "tenant_association_missing"
|
|
1984
|
+
| null;
|
|
1985
|
+
next_check_after_seconds?: 60 | 3600 | null;
|
|
1986
|
+
sending?: "disabled" | "pending" | "ready" | "failed";
|
|
1987
|
+
receiving?: "disabled" | "pending" | "ready" | "failed";
|
|
1988
|
+
dns_records: Array<{
|
|
1989
|
+
type: "MX" | "TXT" | "CNAME";
|
|
1990
|
+
name: string;
|
|
1991
|
+
value: string;
|
|
1992
|
+
status: string;
|
|
1993
|
+
priority?: number;
|
|
1994
|
+
}>;
|
|
1995
|
+
};
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* Validated migration metadata only; contains no SQL, values or PostgreSQL message. Statement index is one-based and is present only for a failed customer statement.
|
|
1999
|
+
*/
|
|
2000
|
+
export type MigrationFailureDiagnostic = {
|
|
2001
|
+
reason: "catalog_changed" | "execution_failed" | "ledger_conflict" | "not_admitted";
|
|
2002
|
+
file: string | null;
|
|
2003
|
+
statement_index?: number;
|
|
2004
|
+
sqlstate?: string;
|
|
2005
|
+
};
|
|
2006
|
+
|
|
1930
2007
|
export type OperationReconciliation = {
|
|
1931
2008
|
state: "required" | "pending";
|
|
1932
2009
|
/**
|
|
@@ -2062,6 +2139,7 @@ export type ProjectExportArchive = {
|
|
|
2062
2139
|
};
|
|
2063
2140
|
|
|
2064
2141
|
export type OperationFailure = {
|
|
2142
|
+
migration?: MigrationFailureDiagnostic;
|
|
2065
2143
|
code:
|
|
2066
2144
|
| "operation_failed"
|
|
2067
2145
|
| "operation_abandoned"
|
|
@@ -2276,6 +2354,16 @@ export type DatabaseEnvironment = "dev" | "prod";
|
|
|
2276
2354
|
*/
|
|
2277
2355
|
export type DatabaseWebhookId = string;
|
|
2278
2356
|
|
|
2357
|
+
/**
|
|
2358
|
+
* Stable, client-chosen subscription ULID.
|
|
2359
|
+
*/
|
|
2360
|
+
export type DatabaseWebhookSubscriptionId = Ulid;
|
|
2361
|
+
|
|
2362
|
+
/**
|
|
2363
|
+
* Positive activation generation, starting at one.
|
|
2364
|
+
*/
|
|
2365
|
+
export type DatabaseWebhookGeneration = number;
|
|
2366
|
+
|
|
2279
2367
|
/**
|
|
2280
2368
|
* Database webhook delivery identifier.
|
|
2281
2369
|
*/
|
|
@@ -4410,6 +4498,12 @@ export type GetAccountProfileResponse =
|
|
|
4410
4498
|
export type RecordSignupSourceData = {
|
|
4411
4499
|
body: {
|
|
4412
4500
|
source: string | null;
|
|
4501
|
+
/**
|
|
4502
|
+
* Optional first campaign snapshot; empty freezes an empty snapshot. Up to 20 lowercase utm_ keys, values up to 256 Unicode characters, and at most 1024 UTF-8 bytes as JSON.
|
|
4503
|
+
*/
|
|
4504
|
+
utm?: {
|
|
4505
|
+
[key: string]: string;
|
|
4506
|
+
};
|
|
4413
4507
|
};
|
|
4414
4508
|
path?: never;
|
|
4415
4509
|
query?: never;
|
|
@@ -6655,6 +6749,74 @@ export type SetProjectNotesResponses = {
|
|
|
6655
6749
|
|
|
6656
6750
|
export type SetProjectNotesResponse = SetProjectNotesResponses[keyof SetProjectNotesResponses];
|
|
6657
6751
|
|
|
6752
|
+
export type AddProjectDevelopmentEnvironmentData = {
|
|
6753
|
+
body: {
|
|
6754
|
+
[key: string]: never;
|
|
6755
|
+
};
|
|
6756
|
+
headers: {
|
|
6757
|
+
/**
|
|
6758
|
+
* Optional caller-provided correlation identifier.
|
|
6759
|
+
*/
|
|
6760
|
+
"X-Request-Id"?: string;
|
|
6761
|
+
/**
|
|
6762
|
+
* Identifies one mutation and its canonical request payload.
|
|
6763
|
+
*/
|
|
6764
|
+
"Idempotency-Key": string;
|
|
6765
|
+
};
|
|
6766
|
+
path: {
|
|
6767
|
+
/**
|
|
6768
|
+
* Project identifier.
|
|
6769
|
+
*/
|
|
6770
|
+
project_id: Ulid;
|
|
6771
|
+
};
|
|
6772
|
+
query?: never;
|
|
6773
|
+
url: "/v1/projects/{project_id}/environments/dev";
|
|
6774
|
+
};
|
|
6775
|
+
|
|
6776
|
+
export type AddProjectDevelopmentEnvironmentErrors = {
|
|
6777
|
+
/**
|
|
6778
|
+
* The request failed.
|
|
6779
|
+
*/
|
|
6780
|
+
400: ProblemDetails;
|
|
6781
|
+
/**
|
|
6782
|
+
* The request failed.
|
|
6783
|
+
*/
|
|
6784
|
+
401: ProblemDetails;
|
|
6785
|
+
/**
|
|
6786
|
+
* The request failed.
|
|
6787
|
+
*/
|
|
6788
|
+
403: ProblemDetails;
|
|
6789
|
+
/**
|
|
6790
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
6791
|
+
*/
|
|
6792
|
+
404: ProblemDetails;
|
|
6793
|
+
/**
|
|
6794
|
+
* The request failed.
|
|
6795
|
+
*/
|
|
6796
|
+
409: ProblemDetails;
|
|
6797
|
+
/**
|
|
6798
|
+
* The request failed.
|
|
6799
|
+
*/
|
|
6800
|
+
429: ProblemDetails;
|
|
6801
|
+
/**
|
|
6802
|
+
* The request failed.
|
|
6803
|
+
*/
|
|
6804
|
+
503: ProblemDetails;
|
|
6805
|
+
};
|
|
6806
|
+
|
|
6807
|
+
export type AddProjectDevelopmentEnvironmentError =
|
|
6808
|
+
AddProjectDevelopmentEnvironmentErrors[keyof AddProjectDevelopmentEnvironmentErrors];
|
|
6809
|
+
|
|
6810
|
+
export type AddProjectDevelopmentEnvironmentResponses = {
|
|
6811
|
+
/**
|
|
6812
|
+
* The mutation was accepted for asynchronous processing.
|
|
6813
|
+
*/
|
|
6814
|
+
202: Operation;
|
|
6815
|
+
};
|
|
6816
|
+
|
|
6817
|
+
export type AddProjectDevelopmentEnvironmentResponse =
|
|
6818
|
+
AddProjectDevelopmentEnvironmentResponses[keyof AddProjectDevelopmentEnvironmentResponses];
|
|
6819
|
+
|
|
6658
6820
|
export type GetProjectStatusData = {
|
|
6659
6821
|
body?: never;
|
|
6660
6822
|
headers?: {
|
|
@@ -9796,6 +9958,219 @@ export type DeleteProjectDatabaseWatchResponses = {
|
|
|
9796
9958
|
export type DeleteProjectDatabaseWatchResponse =
|
|
9797
9959
|
DeleteProjectDatabaseWatchResponses[keyof DeleteProjectDatabaseWatchResponses];
|
|
9798
9960
|
|
|
9961
|
+
export type GetDatabaseWebhookSubscriptionData = {
|
|
9962
|
+
body?: never;
|
|
9963
|
+
headers?: {
|
|
9964
|
+
/**
|
|
9965
|
+
* Optional caller-provided correlation identifier.
|
|
9966
|
+
*/
|
|
9967
|
+
"X-Request-Id"?: string;
|
|
9968
|
+
};
|
|
9969
|
+
path: {
|
|
9970
|
+
/**
|
|
9971
|
+
* Project identifier.
|
|
9972
|
+
*/
|
|
9973
|
+
project_id: Ulid;
|
|
9974
|
+
/**
|
|
9975
|
+
* Stable, client-chosen subscription ULID.
|
|
9976
|
+
*/
|
|
9977
|
+
subscription_id: Ulid;
|
|
9978
|
+
};
|
|
9979
|
+
query: {
|
|
9980
|
+
/**
|
|
9981
|
+
* Application environment the mutation applies to.
|
|
9982
|
+
*/
|
|
9983
|
+
environment: "dev" | "prod";
|
|
9984
|
+
};
|
|
9985
|
+
url: "/v1/projects/{project_id}/database/webhook-subscriptions/{subscription_id}";
|
|
9986
|
+
};
|
|
9987
|
+
|
|
9988
|
+
export type GetDatabaseWebhookSubscriptionErrors = {
|
|
9989
|
+
/**
|
|
9990
|
+
* The request failed.
|
|
9991
|
+
*/
|
|
9992
|
+
400: ProblemDetails;
|
|
9993
|
+
/**
|
|
9994
|
+
* The request failed.
|
|
9995
|
+
*/
|
|
9996
|
+
401: ProblemDetails;
|
|
9997
|
+
/**
|
|
9998
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
9999
|
+
*/
|
|
10000
|
+
404: ProblemDetails;
|
|
10001
|
+
/**
|
|
10002
|
+
* The request failed.
|
|
10003
|
+
*/
|
|
10004
|
+
429: ProblemDetails;
|
|
10005
|
+
/**
|
|
10006
|
+
* The request failed.
|
|
10007
|
+
*/
|
|
10008
|
+
503: ProblemDetails;
|
|
10009
|
+
};
|
|
10010
|
+
|
|
10011
|
+
export type GetDatabaseWebhookSubscriptionError =
|
|
10012
|
+
GetDatabaseWebhookSubscriptionErrors[keyof GetDatabaseWebhookSubscriptionErrors];
|
|
10013
|
+
|
|
10014
|
+
export type GetDatabaseWebhookSubscriptionResponses = {
|
|
10015
|
+
/**
|
|
10016
|
+
* Current subscription state, without secret.
|
|
10017
|
+
*/
|
|
10018
|
+
200: DatabaseWebhookSubscription;
|
|
10019
|
+
};
|
|
10020
|
+
|
|
10021
|
+
export type GetDatabaseWebhookSubscriptionResponse =
|
|
10022
|
+
GetDatabaseWebhookSubscriptionResponses[keyof GetDatabaseWebhookSubscriptionResponses];
|
|
10023
|
+
|
|
10024
|
+
export type DeactivateDatabaseWebhookSubscriptionData = {
|
|
10025
|
+
body?: never;
|
|
10026
|
+
headers: {
|
|
10027
|
+
/**
|
|
10028
|
+
* Optional caller-provided correlation identifier.
|
|
10029
|
+
*/
|
|
10030
|
+
"X-Request-Id"?: string;
|
|
10031
|
+
/**
|
|
10032
|
+
* Identifies one mutation and its canonical request payload.
|
|
10033
|
+
*/
|
|
10034
|
+
"Idempotency-Key": string;
|
|
10035
|
+
};
|
|
10036
|
+
path: {
|
|
10037
|
+
/**
|
|
10038
|
+
* Project identifier.
|
|
10039
|
+
*/
|
|
10040
|
+
project_id: Ulid;
|
|
10041
|
+
/**
|
|
10042
|
+
* Stable, client-chosen subscription ULID.
|
|
10043
|
+
*/
|
|
10044
|
+
subscription_id: Ulid;
|
|
10045
|
+
/**
|
|
10046
|
+
* Positive activation generation, starting at one.
|
|
10047
|
+
*/
|
|
10048
|
+
generation: number;
|
|
10049
|
+
};
|
|
10050
|
+
query: {
|
|
10051
|
+
/**
|
|
10052
|
+
* Application environment the mutation applies to.
|
|
10053
|
+
*/
|
|
10054
|
+
environment: "dev" | "prod";
|
|
10055
|
+
};
|
|
10056
|
+
url: "/v1/projects/{project_id}/database/webhook-subscriptions/{subscription_id}/activations/{generation}";
|
|
10057
|
+
};
|
|
10058
|
+
|
|
10059
|
+
export type DeactivateDatabaseWebhookSubscriptionErrors = {
|
|
10060
|
+
/**
|
|
10061
|
+
* The request failed.
|
|
10062
|
+
*/
|
|
10063
|
+
400: ProblemDetails;
|
|
10064
|
+
/**
|
|
10065
|
+
* The request failed.
|
|
10066
|
+
*/
|
|
10067
|
+
401: ProblemDetails;
|
|
10068
|
+
/**
|
|
10069
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
10070
|
+
*/
|
|
10071
|
+
404: ProblemDetails;
|
|
10072
|
+
/**
|
|
10073
|
+
* The request failed.
|
|
10074
|
+
*/
|
|
10075
|
+
409: ProblemDetails;
|
|
10076
|
+
/**
|
|
10077
|
+
* The request failed.
|
|
10078
|
+
*/
|
|
10079
|
+
429: ProblemDetails;
|
|
10080
|
+
/**
|
|
10081
|
+
* The request failed.
|
|
10082
|
+
*/
|
|
10083
|
+
503: ProblemDetails;
|
|
10084
|
+
};
|
|
10085
|
+
|
|
10086
|
+
export type DeactivateDatabaseWebhookSubscriptionError =
|
|
10087
|
+
DeactivateDatabaseWebhookSubscriptionErrors[keyof DeactivateDatabaseWebhookSubscriptionErrors];
|
|
10088
|
+
|
|
10089
|
+
export type DeactivateDatabaseWebhookSubscriptionResponses = {
|
|
10090
|
+
/**
|
|
10091
|
+
* The confirmed inactive generation, without its secret.
|
|
10092
|
+
*/
|
|
10093
|
+
200: DatabaseWebhookSubscription;
|
|
10094
|
+
};
|
|
10095
|
+
|
|
10096
|
+
export type DeactivateDatabaseWebhookSubscriptionResponse =
|
|
10097
|
+
DeactivateDatabaseWebhookSubscriptionResponses[keyof DeactivateDatabaseWebhookSubscriptionResponses];
|
|
10098
|
+
|
|
10099
|
+
export type ActivateDatabaseWebhookSubscriptionData = {
|
|
10100
|
+
body: DatabaseWebhookCreateRequest;
|
|
10101
|
+
headers: {
|
|
10102
|
+
/**
|
|
10103
|
+
* Optional caller-provided correlation identifier.
|
|
10104
|
+
*/
|
|
10105
|
+
"X-Request-Id"?: string;
|
|
10106
|
+
/**
|
|
10107
|
+
* Identifies one mutation and its canonical request payload.
|
|
10108
|
+
*/
|
|
10109
|
+
"Idempotency-Key": string;
|
|
10110
|
+
};
|
|
10111
|
+
path: {
|
|
10112
|
+
/**
|
|
10113
|
+
* Project identifier.
|
|
10114
|
+
*/
|
|
10115
|
+
project_id: Ulid;
|
|
10116
|
+
/**
|
|
10117
|
+
* Stable, client-chosen subscription ULID.
|
|
10118
|
+
*/
|
|
10119
|
+
subscription_id: Ulid;
|
|
10120
|
+
/**
|
|
10121
|
+
* Positive activation generation, starting at one.
|
|
10122
|
+
*/
|
|
10123
|
+
generation: number;
|
|
10124
|
+
};
|
|
10125
|
+
query: {
|
|
10126
|
+
/**
|
|
10127
|
+
* Application environment the mutation applies to.
|
|
10128
|
+
*/
|
|
10129
|
+
environment: "dev" | "prod";
|
|
10130
|
+
};
|
|
10131
|
+
url: "/v1/projects/{project_id}/database/webhook-subscriptions/{subscription_id}/activations/{generation}";
|
|
10132
|
+
};
|
|
10133
|
+
|
|
10134
|
+
export type ActivateDatabaseWebhookSubscriptionErrors = {
|
|
10135
|
+
/**
|
|
10136
|
+
* The request failed.
|
|
10137
|
+
*/
|
|
10138
|
+
400: ProblemDetails;
|
|
10139
|
+
/**
|
|
10140
|
+
* The request failed.
|
|
10141
|
+
*/
|
|
10142
|
+
401: ProblemDetails;
|
|
10143
|
+
/**
|
|
10144
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
10145
|
+
*/
|
|
10146
|
+
404: ProblemDetails;
|
|
10147
|
+
/**
|
|
10148
|
+
* The request failed.
|
|
10149
|
+
*/
|
|
10150
|
+
409: ProblemDetails;
|
|
10151
|
+
/**
|
|
10152
|
+
* The request failed.
|
|
10153
|
+
*/
|
|
10154
|
+
429: ProblemDetails;
|
|
10155
|
+
/**
|
|
10156
|
+
* The request failed.
|
|
10157
|
+
*/
|
|
10158
|
+
503: ProblemDetails;
|
|
10159
|
+
};
|
|
10160
|
+
|
|
10161
|
+
export type ActivateDatabaseWebhookSubscriptionError =
|
|
10162
|
+
ActivateDatabaseWebhookSubscriptionErrors[keyof ActivateDatabaseWebhookSubscriptionErrors];
|
|
10163
|
+
|
|
10164
|
+
export type ActivateDatabaseWebhookSubscriptionResponses = {
|
|
10165
|
+
/**
|
|
10166
|
+
* Active generation with its signing secret; only this exact activation or retry returns it.
|
|
10167
|
+
*/
|
|
10168
|
+
200: DatabaseWebhookSubscriptionActivation;
|
|
10169
|
+
};
|
|
10170
|
+
|
|
10171
|
+
export type ActivateDatabaseWebhookSubscriptionResponse =
|
|
10172
|
+
ActivateDatabaseWebhookSubscriptionResponses[keyof ActivateDatabaseWebhookSubscriptionResponses];
|
|
10173
|
+
|
|
9799
10174
|
export type ListProjectDatabaseWebhooksData = {
|
|
9800
10175
|
body?: never;
|
|
9801
10176
|
headers?: {
|