@amerged/ohmyhost-sdk 0.1.11 → 0.1.13
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/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +13 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +30 -0
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +73 -1
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/packages/sdk-ts/generated/index.ts +6 -0
- package/src/packages/sdk-ts/generated/sdk.gen.ts +50 -0
- package/src/packages/sdk-ts/generated/types.gen.ts +83 -0
|
@@ -865,6 +865,10 @@ export type ProjectHandleAvailability = {
|
|
|
865
865
|
};
|
|
866
866
|
|
|
867
867
|
export type ProjectStatus = {
|
|
868
|
+
/**
|
|
869
|
+
* Optimistic-concurrency token for changing this project address; use it as If-Match on the handle endpoint.
|
|
870
|
+
*/
|
|
871
|
+
etag: string;
|
|
868
872
|
project_id: Ulid;
|
|
869
873
|
handle: string;
|
|
870
874
|
region: HostingRegion;
|
|
@@ -912,9 +916,14 @@ export type ProblemDetails = {
|
|
|
912
916
|
| "mail_domain_required"
|
|
913
917
|
| "storage_jurisdiction_conflict"
|
|
914
918
|
| "framework_conversion_required"
|
|
919
|
+
| "repository_configuration_missing"
|
|
915
920
|
| "migration_filename_noncanonical"
|
|
916
921
|
| "environment_secret_mutation_blocked"
|
|
917
922
|
| "workers_runtime_incompatible"
|
|
923
|
+
| "project_handle_invalid"
|
|
924
|
+
| "project_handle_taken"
|
|
925
|
+
| "project_handle_unchanged"
|
|
926
|
+
| "project_rename_blocked"
|
|
918
927
|
| "payload_too_large"
|
|
919
928
|
| "rate_limited"
|
|
920
929
|
| "insufficient_organization_credits"
|
|
@@ -3812,6 +3821,80 @@ export type GetCloudflareDnsAuthorizationStatusResponses = {
|
|
|
3812
3821
|
export type GetCloudflareDnsAuthorizationStatusResponse =
|
|
3813
3822
|
GetCloudflareDnsAuthorizationStatusResponses[keyof GetCloudflareDnsAuthorizationStatusResponses];
|
|
3814
3823
|
|
|
3824
|
+
export type ChangeProjectHandleData = {
|
|
3825
|
+
body: {
|
|
3826
|
+
/**
|
|
3827
|
+
* One to five lowercase words of letters and digits.
|
|
3828
|
+
*/
|
|
3829
|
+
handle: string;
|
|
3830
|
+
};
|
|
3831
|
+
headers: {
|
|
3832
|
+
/**
|
|
3833
|
+
* Optional caller-provided correlation identifier.
|
|
3834
|
+
*/
|
|
3835
|
+
"X-Request-Id"?: string;
|
|
3836
|
+
/**
|
|
3837
|
+
* Identifies one mutation and its canonical request payload.
|
|
3838
|
+
*/
|
|
3839
|
+
"Idempotency-Key": string;
|
|
3840
|
+
/**
|
|
3841
|
+
* Exact ETag returned for the current project or deployment state.
|
|
3842
|
+
*/
|
|
3843
|
+
"If-Match": string;
|
|
3844
|
+
};
|
|
3845
|
+
path: {
|
|
3846
|
+
/**
|
|
3847
|
+
* Project identifier.
|
|
3848
|
+
*/
|
|
3849
|
+
project_id: Ulid;
|
|
3850
|
+
};
|
|
3851
|
+
query?: never;
|
|
3852
|
+
url: "/v1/projects/{project_id}/handle";
|
|
3853
|
+
};
|
|
3854
|
+
|
|
3855
|
+
export type ChangeProjectHandleErrors = {
|
|
3856
|
+
/**
|
|
3857
|
+
* The request failed.
|
|
3858
|
+
*/
|
|
3859
|
+
400: ProblemDetails;
|
|
3860
|
+
/**
|
|
3861
|
+
* The request failed.
|
|
3862
|
+
*/
|
|
3863
|
+
401: ProblemDetails;
|
|
3864
|
+
/**
|
|
3865
|
+
* The request failed.
|
|
3866
|
+
*/
|
|
3867
|
+
403: ProblemDetails;
|
|
3868
|
+
/**
|
|
3869
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
3870
|
+
*/
|
|
3871
|
+
404: ProblemDetails;
|
|
3872
|
+
/**
|
|
3873
|
+
* The idempotency key was already used with a different canonical request.
|
|
3874
|
+
*/
|
|
3875
|
+
409: IdempotencyConflictProblem;
|
|
3876
|
+
/**
|
|
3877
|
+
* The request failed.
|
|
3878
|
+
*/
|
|
3879
|
+
429: ProblemDetails;
|
|
3880
|
+
/**
|
|
3881
|
+
* The request failed.
|
|
3882
|
+
*/
|
|
3883
|
+
503: ProblemDetails;
|
|
3884
|
+
};
|
|
3885
|
+
|
|
3886
|
+
export type ChangeProjectHandleError = ChangeProjectHandleErrors[keyof ChangeProjectHandleErrors];
|
|
3887
|
+
|
|
3888
|
+
export type ChangeProjectHandleResponses = {
|
|
3889
|
+
/**
|
|
3890
|
+
* The mutation was accepted for asynchronous processing.
|
|
3891
|
+
*/
|
|
3892
|
+
202: Operation;
|
|
3893
|
+
};
|
|
3894
|
+
|
|
3895
|
+
export type ChangeProjectHandleResponse =
|
|
3896
|
+
ChangeProjectHandleResponses[keyof ChangeProjectHandleResponses];
|
|
3897
|
+
|
|
3815
3898
|
export type ConfigureProjectDomainsData = {
|
|
3816
3899
|
body?: never;
|
|
3817
3900
|
headers: {
|