@distilled.cloud/render 1.0.0-rc.12 → 1.0.0-rc.14
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 +34 -0
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +3 -7
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +5 -5
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +4 -7
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/render.d.ts +622 -128
- package/lib/services/render.d.ts.map +1 -1
- package/lib/services/render.js +921 -1177
- package/lib/services/render.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +7 -8
- package/src/errors.ts +5 -8
- package/src/index.ts +2 -11
- package/src/pagination.ts +7 -19
- package/src/protocol.ts +29 -33
- package/src/retry.ts +2 -8
- package/src/services/render.ts +2493 -2815
package/lib/services/render.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
1
2
|
import * as S from "@distilled.cloud/core/schema";
|
|
2
3
|
import * as Redacted from "effect/Redacted";
|
|
3
|
-
import * as API from "@distilled.cloud/core/api";
|
|
4
4
|
import { type RenderOpError, type RenderOpContext } from "../protocol.ts";
|
|
5
5
|
export type { RenderOpError, RenderOpContext };
|
|
6
6
|
declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
|
|
@@ -82,19 +82,26 @@ export interface AddHeadersResponse {
|
|
|
82
82
|
headers?: Header;
|
|
83
83
|
}
|
|
84
84
|
export declare const AddHeadersResponse: S.Schema<AddHeadersResponse>;
|
|
85
|
-
export interface
|
|
86
|
-
|
|
87
|
-
serviceId: string;
|
|
85
|
+
export interface AddOrUpdateBuildSourceSecretFileRequest {
|
|
86
|
+
buildSourceId: string;
|
|
88
87
|
/** The file name of the secret file */
|
|
89
88
|
envVarKey: string;
|
|
90
89
|
content?: string;
|
|
91
90
|
}
|
|
92
|
-
export declare const
|
|
91
|
+
export declare const AddOrUpdateBuildSourceSecretFileRequest: S.Schema<AddOrUpdateBuildSourceSecretFileRequest>;
|
|
93
92
|
export interface SecretFile {
|
|
94
93
|
name: string;
|
|
95
94
|
content: string;
|
|
96
95
|
}
|
|
97
96
|
export declare const SecretFile: S.Schema<SecretFile>;
|
|
97
|
+
export interface AddOrUpdateSecretFileRequest {
|
|
98
|
+
/** The ID of the service */
|
|
99
|
+
serviceId: string;
|
|
100
|
+
/** The file name of the secret file */
|
|
101
|
+
envVarKey: string;
|
|
102
|
+
content?: string;
|
|
103
|
+
}
|
|
104
|
+
export declare const AddOrUpdateSecretFileRequest: S.Schema<AddOrUpdateSecretFileRequest>;
|
|
98
105
|
export type AddResourcesToEnvironmentRequestResourceIdsList = Array<string>;
|
|
99
106
|
export declare const AddResourcesToEnvironmentRequestResourceIdsList: S.Schema<AddResourcesToEnvironmentRequestResourceIdsList>;
|
|
100
107
|
export interface AddResourcesToEnvironmentRequest {
|
|
@@ -268,6 +275,133 @@ export declare const CancelTaskRunRequest: S.Schema<CancelTaskRunRequest>;
|
|
|
268
275
|
export interface CancelTaskRunResponse {
|
|
269
276
|
}
|
|
270
277
|
export declare const CancelTaskRunResponse: S.Schema<CancelTaskRunResponse>;
|
|
278
|
+
export type BuildFilterPathsList2 = Array<string>;
|
|
279
|
+
export declare const BuildFilterPathsList2: S.Schema<BuildFilterPathsList2>;
|
|
280
|
+
export type BuildFilterIgnoredPathsList2 = Array<string>;
|
|
281
|
+
export declare const BuildFilterIgnoredPathsList2: S.Schema<BuildFilterIgnoredPathsList2>;
|
|
282
|
+
/** Glob patterns matched against files changed by a commit. When set, a commit only triggers a build when at least one changed file matches `paths` and none match `ignoredPaths`. Useful for monorepos where a single repo backs many services. */
|
|
283
|
+
export interface BuildFilter2 {
|
|
284
|
+
paths: BuildFilterPathsList2;
|
|
285
|
+
ignoredPaths: BuildFilterIgnoredPathsList2;
|
|
286
|
+
}
|
|
287
|
+
export declare const BuildFilter2: S.Schema<BuildFilter2>;
|
|
288
|
+
/** Build runtime for the build source. Static sites are not supported for build sources. */
|
|
289
|
+
export type CreateBuildSourceRequestGitRuntime = "docker" | "elixir" | "go" | "node" | "python" | "ruby" | "rust";
|
|
290
|
+
export declare const CreateBuildSourceRequestGitRuntime: any;
|
|
291
|
+
/** Defaults to "oregon" */
|
|
292
|
+
export type CreateBuildSourceRequestGitRegion = "frankfurt" | "oregon" | "ohio" | "singapore" | "virginia";
|
|
293
|
+
export declare const CreateBuildSourceRequestGitRegion: any;
|
|
294
|
+
export interface CreateBuildSourceRequestGit {
|
|
295
|
+
baseDir?: string;
|
|
296
|
+
branch?: string;
|
|
297
|
+
buildCommand?: string;
|
|
298
|
+
buildFilter?: BuildFilter2;
|
|
299
|
+
dockerfilePath?: string;
|
|
300
|
+
/** Build runtime for the build source. Static sites are not supported for build sources. */
|
|
301
|
+
runtime: CreateBuildSourceRequestGitRuntime | (string & {});
|
|
302
|
+
registryCredentialId?: string;
|
|
303
|
+
/** Defaults to "oregon" */
|
|
304
|
+
region?: CreateBuildSourceRequestGitRegion | (string & {});
|
|
305
|
+
repoUrl?: string;
|
|
306
|
+
rootDir?: string;
|
|
307
|
+
}
|
|
308
|
+
export declare const CreateBuildSourceRequestGit: S.Schema<CreateBuildSourceRequestGit>;
|
|
309
|
+
export interface CreateBuildSourceRequestImage {
|
|
310
|
+
ownerId: string;
|
|
311
|
+
registryCredentialId?: string;
|
|
312
|
+
imageUrl: string;
|
|
313
|
+
}
|
|
314
|
+
export declare const CreateBuildSourceRequestImage: S.Schema<CreateBuildSourceRequestImage>;
|
|
315
|
+
export type CreateBuildSourceRequestServiceIdsList = Array<string>;
|
|
316
|
+
export declare const CreateBuildSourceRequestServiceIdsList: S.Schema<CreateBuildSourceRequestServiceIdsList>;
|
|
317
|
+
export interface SchemaItemCase0 {
|
|
318
|
+
key: string;
|
|
319
|
+
value: string;
|
|
320
|
+
}
|
|
321
|
+
export declare const SchemaItemCase0: S.Schema<SchemaItemCase0>;
|
|
322
|
+
export interface SchemaItemCase1 {
|
|
323
|
+
key: string;
|
|
324
|
+
/** If true, Render generates a strong random value for this environment variable on creation. Cannot be combined with `value`. */
|
|
325
|
+
generateValue: boolean;
|
|
326
|
+
}
|
|
327
|
+
export declare const SchemaItemCase1: S.Schema<SchemaItemCase1>;
|
|
328
|
+
export type SchemaItem = SchemaItemCase0 | SchemaItemCase1;
|
|
329
|
+
export declare const SchemaItem: S.Schema<SchemaItem>;
|
|
330
|
+
export type Schema6 = Array<SchemaItem>;
|
|
331
|
+
export declare const Schema6: S.Schema<Schema6>;
|
|
332
|
+
export interface Items {
|
|
333
|
+
name: string;
|
|
334
|
+
content: string;
|
|
335
|
+
}
|
|
336
|
+
export declare const Items: S.Schema<Items>;
|
|
337
|
+
/** Secret files for the build source's build. Only valid for `git` sources. */
|
|
338
|
+
export type CreateBuildSourceRequestSecretFilesList = Array<Items>;
|
|
339
|
+
export declare const CreateBuildSourceRequestSecretFilesList: S.Schema<CreateBuildSourceRequestSecretFilesList>;
|
|
340
|
+
/** IDs of env groups to link to the build source. Only valid for `git` sources; env groups must belong to the same workspace and must not be scoped to an environment. */
|
|
341
|
+
export type CreateBuildSourceRequestEnvGroupIdsList = Array<string>;
|
|
342
|
+
export declare const CreateBuildSourceRequestEnvGroupIdsList: S.Schema<CreateBuildSourceRequestEnvGroupIdsList>;
|
|
343
|
+
export interface CreateBuildSourceRequest {
|
|
344
|
+
ownerId: string;
|
|
345
|
+
name: string;
|
|
346
|
+
projectId?: string;
|
|
347
|
+
git?: CreateBuildSourceRequestGit;
|
|
348
|
+
image?: CreateBuildSourceRequestImage;
|
|
349
|
+
serviceIds?: CreateBuildSourceRequestServiceIdsList;
|
|
350
|
+
envVars?: Schema6;
|
|
351
|
+
/** Secret files for the build source's build. Only valid for `git` sources. */
|
|
352
|
+
secretFiles?: CreateBuildSourceRequestSecretFilesList;
|
|
353
|
+
/** IDs of env groups to link to the build source. Only valid for `git` sources; env groups must belong to the same workspace and must not be scoped to an environment. */
|
|
354
|
+
envGroupIds?: CreateBuildSourceRequestEnvGroupIdsList;
|
|
355
|
+
}
|
|
356
|
+
export declare const CreateBuildSourceRequest: S.Schema<CreateBuildSourceRequest>;
|
|
357
|
+
/** Build runtime for the build source. Static sites are not supported for build sources. */
|
|
358
|
+
export type GitRuntime = "docker" | "elixir" | "go" | "node" | "python" | "ruby" | "rust";
|
|
359
|
+
export declare const GitRuntime: any;
|
|
360
|
+
/** Defaults to "oregon" */
|
|
361
|
+
export type GitRegion = "frankfurt" | "oregon" | "ohio" | "singapore" | "virginia";
|
|
362
|
+
export declare const GitRegion: any;
|
|
363
|
+
export interface Git {
|
|
364
|
+
baseDir?: string;
|
|
365
|
+
branch?: string;
|
|
366
|
+
buildCommand?: string;
|
|
367
|
+
buildFilter?: BuildFilter2;
|
|
368
|
+
dockerfilePath?: string;
|
|
369
|
+
/** Build runtime for the build source. Static sites are not supported for build sources. */
|
|
370
|
+
runtime: GitRuntime;
|
|
371
|
+
registryCredentialId?: string;
|
|
372
|
+
/** Defaults to "oregon" */
|
|
373
|
+
region?: GitRegion;
|
|
374
|
+
repoUrl?: string;
|
|
375
|
+
rootDir?: string;
|
|
376
|
+
}
|
|
377
|
+
export declare const Git: S.Schema<Git>;
|
|
378
|
+
export type Image2 = CreateBuildSourceRequestImage;
|
|
379
|
+
export declare const Image2: S.Schema<CreateBuildSourceRequestImage>;
|
|
380
|
+
export interface CreateBuildSourceResponseServiceLinksItem {
|
|
381
|
+
id: string;
|
|
382
|
+
name: string;
|
|
383
|
+
}
|
|
384
|
+
export declare const CreateBuildSourceResponseServiceLinksItem: S.Schema<CreateBuildSourceResponseServiceLinksItem>;
|
|
385
|
+
/** Services currently linked to this build source. */
|
|
386
|
+
export type CreateBuildSourceResponseServiceLinksList = Array<CreateBuildSourceResponseServiceLinksItem>;
|
|
387
|
+
export declare const CreateBuildSourceResponseServiceLinksList: S.Schema<CreateBuildSourceResponseServiceLinksList>;
|
|
388
|
+
export interface CreateBuildSourceResponse {
|
|
389
|
+
id: string;
|
|
390
|
+
name: string;
|
|
391
|
+
/** ID of the workspace this build source belongs to. */
|
|
392
|
+
ownerId: string;
|
|
393
|
+
/** ID of the project this build source is scoped to, if any. */
|
|
394
|
+
projectId?: string;
|
|
395
|
+
/** Present when the build source is currently build-based. Mutually exclusive with `image`. */
|
|
396
|
+
git?: Git;
|
|
397
|
+
/** Present when the build source is currently image-based. Mutually exclusive with `git`. */
|
|
398
|
+
image?: CreateBuildSourceRequestImage;
|
|
399
|
+
createdAt: string;
|
|
400
|
+
updatedAt: string;
|
|
401
|
+
/** Services currently linked to this build source. */
|
|
402
|
+
serviceLinks: CreateBuildSourceResponseServiceLinksList;
|
|
403
|
+
}
|
|
404
|
+
export declare const CreateBuildSourceResponse: S.Schema<CreateBuildSourceResponse>;
|
|
271
405
|
export interface CreateCustomDomainRequest {
|
|
272
406
|
/** The ID of the service */
|
|
273
407
|
serviceId: string;
|
|
@@ -349,42 +483,24 @@ export declare const DedicatedIP: S.Schema<DedicatedIP>;
|
|
|
349
483
|
/** If `clear`, Render clears the service's build cache before deploying. This can be useful if you're experiencing issues with your build. */
|
|
350
484
|
export type CreateDeployRequestClearCache = "clear" | "do_not_clear";
|
|
351
485
|
export declare const CreateDeployRequestClearCache: any;
|
|
352
|
-
/** Controls deployment behavior when triggering a deploy. - `deploy_only`: Deploy the last successful build without rebuilding (minimizes downtime) - `build_and_deploy`: Build new code and deploy it (default behavior when not specified) **Note:** `deploy_only` cannot be combined with `commitId`, `imageUrl
|
|
486
|
+
/** Controls deployment behavior when triggering a deploy. - `deploy_only`: Deploy the last successful build without rebuilding (minimizes downtime) - `build_and_deploy`: Build new code and deploy it (default behavior when not specified) **Note:** `deployMode` cannot be combined with `buildId`. `deploy_only` cannot be combined with `commitId`, `imageUrl`, or `clearCache`, as those are build related fields. */
|
|
353
487
|
export type DeployMode = "deploy_only" | "build_and_deploy";
|
|
354
488
|
export declare const DeployMode: any;
|
|
355
489
|
export interface CreateDeployRequest {
|
|
356
490
|
/** The ID of the service */
|
|
357
491
|
serviceId: string;
|
|
492
|
+
/** The ID of the build to deploy. Cannot be combined with `commitId`, `imageUrl`, or `deployMode`. */
|
|
493
|
+
buildId?: string;
|
|
358
494
|
/** If `clear`, Render clears the service's build cache before deploying. This can be useful if you're experiencing issues with your build. */
|
|
359
495
|
clearCache?: CreateDeployRequestClearCache | (string & {});
|
|
360
|
-
/** The SHA of a specific Git commit to deploy for a service. Defaults to the latest commit on the service's connected branch. Note that deploying a specific commit with this endpoint does not disable autodeploys for the service. You can toggle autodeploys for your service with the [Update service](https://api-docs.render.com/reference/update-service) endpoint or in the Render Dashboard. Not supported for cron jobs. */
|
|
496
|
+
/** The SHA of a specific Git commit to deploy for a service. Defaults to the latest commit on the service's connected branch. Cannot be combined with `buildId`, `imageUrl`, or `deployMode: deploy_only`. Note that deploying a specific commit with this endpoint does not disable autodeploys for the service. You can toggle autodeploys for your service with the [Update service](https://api-docs.render.com/reference/update-service) endpoint or in the Render Dashboard. Not supported for cron jobs. */
|
|
361
497
|
commitId?: string;
|
|
362
|
-
/** The URL of the image to deploy for an image-backed service. The host, repository, and image name all must match the currently configured image for the service. */
|
|
498
|
+
/** The URL of the image to deploy for an image-backed service. Cannot be combined with `buildId`, `commitId`, or `deployMode: deploy_only`. The host, repository, and image name all must match the currently configured image for the service. */
|
|
363
499
|
imageUrl?: string;
|
|
364
|
-
/** Deployment mode controlling build and deploy behavior. Defaults to `build_and_deploy` when not specified. **Validation:** `
|
|
500
|
+
/** Deployment mode controlling build and deploy behavior. Defaults to `build_and_deploy` when not specified. **Validation:** `deployMode` cannot be combined with `buildId`. `deploy_only` cannot be combined with `commitId`, `imageUrl`, or `clearCache`. */
|
|
365
501
|
deployMode?: DeployMode | (string & {});
|
|
366
502
|
}
|
|
367
503
|
export declare const CreateDeployRequest: S.Schema<CreateDeployRequest>;
|
|
368
|
-
export interface SchemaItemCase0 {
|
|
369
|
-
key: string;
|
|
370
|
-
value: string;
|
|
371
|
-
}
|
|
372
|
-
export declare const SchemaItemCase0: S.Schema<SchemaItemCase0>;
|
|
373
|
-
export interface SchemaItemCase1 {
|
|
374
|
-
key: string;
|
|
375
|
-
/** If true, Render generates a strong random value for this environment variable on creation. Cannot be combined with `value`. */
|
|
376
|
-
generateValue: boolean;
|
|
377
|
-
}
|
|
378
|
-
export declare const SchemaItemCase1: S.Schema<SchemaItemCase1>;
|
|
379
|
-
export type SchemaItem = SchemaItemCase0 | SchemaItemCase1;
|
|
380
|
-
export declare const SchemaItem: S.Schema<SchemaItem>;
|
|
381
|
-
export type Schema6 = Array<SchemaItem>;
|
|
382
|
-
export declare const Schema6: S.Schema<Schema6>;
|
|
383
|
-
export interface Items {
|
|
384
|
-
name: string;
|
|
385
|
-
content: string;
|
|
386
|
-
}
|
|
387
|
-
export declare const Items: S.Schema<Items>;
|
|
388
504
|
export type CreateEnvGroupRequestSecretFilesList = Array<Items>;
|
|
389
505
|
export declare const CreateEnvGroupRequestSecretFilesList: S.Schema<CreateEnvGroupRequestSecretFilesList>;
|
|
390
506
|
export type CreateEnvGroupRequestServiceIdsList = Array<string>;
|
|
@@ -528,14 +644,9 @@ export type CreatePostgresRequestPlan = "free" | "starter" | "standard" | "pro"
|
|
|
528
644
|
export declare const CreatePostgresRequestPlan: any;
|
|
529
645
|
export type CreatePostgresRequestIpAllowListList = Array<CidrBlockAndDescription>;
|
|
530
646
|
export declare const CreatePostgresRequestIpAllowListList: S.Schema<CreatePostgresRequestIpAllowListList>;
|
|
531
|
-
export type PostgresParameterOverrides = {
|
|
532
|
-
[key: string]: string | undefined;
|
|
533
|
-
};
|
|
534
|
-
export declare const PostgresParameterOverrides: S.Schema<PostgresParameterOverrides>;
|
|
535
647
|
export interface ReadReplicaInput {
|
|
536
648
|
/** The display name of the replica instance. */
|
|
537
649
|
name: string;
|
|
538
|
-
parameterOverrides?: PostgresParameterOverrides;
|
|
539
650
|
}
|
|
540
651
|
export declare const ReadReplicaInput: S.Schema<ReadReplicaInput>;
|
|
541
652
|
export type ReadReplicasInput = Array<ReadReplicaInput>;
|
|
@@ -564,7 +675,6 @@ export interface CreatePostgresRequest {
|
|
|
564
675
|
connectionPool?: string;
|
|
565
676
|
region?: Region | (string & {});
|
|
566
677
|
ipAllowList?: CreatePostgresRequestIpAllowListList;
|
|
567
|
-
parameterOverrides?: PostgresParameterOverrides;
|
|
568
678
|
readReplicas?: ReadReplicasInput;
|
|
569
679
|
version: PostgresVersion | (string & {});
|
|
570
680
|
}
|
|
@@ -578,7 +688,6 @@ export interface ReadReplica {
|
|
|
578
688
|
id: string;
|
|
579
689
|
/** The display name of the replica instance. */
|
|
580
690
|
name: string;
|
|
581
|
-
parameterOverrides?: PostgresParameterOverrides;
|
|
582
691
|
}
|
|
583
692
|
export declare const ReadReplica: S.Schema<ReadReplica>;
|
|
584
693
|
export type ReadReplicas = Array<ReadReplica>;
|
|
@@ -609,7 +718,6 @@ export interface PostgresDetail {
|
|
|
609
718
|
owner: Owner;
|
|
610
719
|
plan: Plan2;
|
|
611
720
|
diskSizeGB?: number;
|
|
612
|
-
parameterOverrides?: PostgresParameterOverrides;
|
|
613
721
|
primaryPostgresID?: string;
|
|
614
722
|
region: Region;
|
|
615
723
|
readReplicas: ReadReplicas;
|
|
@@ -701,8 +809,12 @@ export interface RegistryCredential {
|
|
|
701
809
|
export declare const RegistryCredential: S.Schema<RegistryCredential>;
|
|
702
810
|
export type ServiceType = "static_site" | "web_service" | "private_service" | "background_worker" | "cron_job";
|
|
703
811
|
export declare const ServiceType: any;
|
|
812
|
+
/** Deprecated: use `autoDeployTrigger` instead. You can't set both `autoDeploy` and `autoDeployTrigger` in the same request. - `yes` is equivalent to `autoDeployTrigger: commit`. - `no` is equivalent to `autoDeployTrigger: off`. */
|
|
704
813
|
export type AutoDeploy = "yes" | "no";
|
|
705
814
|
export declare const AutoDeploy: any;
|
|
815
|
+
/** Controls autodeploy behavior. - `commit`: Deploy each time a commit is pushed to the service's linked branch. - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass. - `off`: Disable autodeploys. */
|
|
816
|
+
export type CreateServiceRequestAutoDeployTrigger = "commit" | "off" | "checksPass";
|
|
817
|
+
export declare const CreateServiceRequestAutoDeployTrigger: any;
|
|
706
818
|
export interface Image {
|
|
707
819
|
/** The ID of the owner for this image. This should match the owner of the service as well as the owner of any specified registry credential. */
|
|
708
820
|
ownerId: string;
|
|
@@ -813,6 +925,8 @@ export declare const Plan: any;
|
|
|
813
925
|
export type WebServiceDetailsPOSTIpAllowListList = Array<CidrBlockAndDescription>;
|
|
814
926
|
export declare const WebServiceDetailsPOSTIpAllowListList: S.Schema<WebServiceDetailsPOSTIpAllowListList>;
|
|
815
927
|
export interface WebServiceDetailsPOST {
|
|
928
|
+
/** The ID of the Build Source to build and deploy from. Provides all source and build configuration: omit `repo`, `branch`, `image`, `buildFilter`, `runtime`, and build-related `envSpecificDetails` fields when set. */
|
|
929
|
+
buildSourceId?: string;
|
|
816
930
|
autoscaling?: Schema5;
|
|
817
931
|
disk?: ServiceDisk;
|
|
818
932
|
env?: ServiceEnv | (string & {});
|
|
@@ -837,6 +951,8 @@ export declare const WebServiceDetailsPOST: S.Schema<WebServiceDetailsPOST>;
|
|
|
837
951
|
export type PaidPlan = "starter" | "standard" | "pro" | "pro_plus" | "pro_max" | "pro_ultra" | "0.5c-512mb" | "1c-2g" | "2c-4g" | "2c-8g" | "2c-16g" | "4c-8g" | "4c-16g" | "4c-32g" | "8c-16g" | "8c-32g" | "8c-64g" | "12c-24g" | "12c-48g" | "12c-96g";
|
|
838
952
|
export declare const PaidPlan: any;
|
|
839
953
|
export interface PrivateServiceDetailsPOST {
|
|
954
|
+
/** The ID of the Build Source to build and deploy from. Provides all source and build configuration: omit `repo`, `branch`, `image`, `buildFilter`, `runtime`, and build-related `envSpecificDetails` fields when set. */
|
|
955
|
+
buildSourceId?: string;
|
|
840
956
|
autoscaling?: Schema5;
|
|
841
957
|
disk?: ServiceDisk;
|
|
842
958
|
env?: ServiceEnv | (string & {});
|
|
@@ -871,6 +987,8 @@ export declare const NativeEnvironmentDetails: S.Schema<NativeEnvironmentDetails
|
|
|
871
987
|
export type EnvSpecificDetails = DockerDetails | NativeEnvironmentDetails;
|
|
872
988
|
export declare const EnvSpecificDetails: S.Schema<EnvSpecificDetails>;
|
|
873
989
|
export interface CronJobDetailsPOST {
|
|
990
|
+
/** The ID of the Build Source to build and deploy from. Provides all source and build configuration: omit `repo`, `branch`, `image`, `buildFilter`, `runtime`, and build-related `envSpecificDetails` fields when set. */
|
|
991
|
+
buildSourceId?: string;
|
|
874
992
|
env?: ServiceEnv | (string & {});
|
|
875
993
|
runtime: ServiceRuntime | (string & {});
|
|
876
994
|
envSpecificDetails?: EnvSpecificDetails;
|
|
@@ -890,6 +1008,8 @@ export interface CreateServiceRequest {
|
|
|
890
1008
|
/** The service's repository URL. Do not specify a branch in this string (use the `branch` parameter instead). */
|
|
891
1009
|
repo?: string;
|
|
892
1010
|
autoDeploy?: AutoDeploy | (string & {});
|
|
1011
|
+
/** Controls autodeploy behavior. - `commit`: Deploy each time a commit is pushed to the service's linked branch. - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass. - `off`: Disable autodeploys. */
|
|
1012
|
+
autoDeployTrigger?: CreateServiceRequestAutoDeployTrigger | (string & {});
|
|
893
1013
|
/** The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch. */
|
|
894
1014
|
branch?: string;
|
|
895
1015
|
image?: Image;
|
|
@@ -902,27 +1022,27 @@ export interface CreateServiceRequest {
|
|
|
902
1022
|
serviceDetails?: CreateServiceRequestServiceDetails;
|
|
903
1023
|
}
|
|
904
1024
|
export declare const CreateServiceRequest: S.Schema<CreateServiceRequest>;
|
|
1025
|
+
/** Controls autodeploy behavior. - `commit`: Deploy each time a commit is pushed to the service's linked branch. - `checksPass`: Deploy each time a commit is pushed to the linked branch, but only after the commit's CI checks pass. - `off`: Disable autodeploys. */
|
|
1026
|
+
export type AutoDeployTrigger = "commit" | "off" | "checksPass";
|
|
1027
|
+
export declare const AutoDeployTrigger: any;
|
|
905
1028
|
export type NotifySetting = "default" | "notify" | "ignore";
|
|
906
1029
|
export declare const NotifySetting: any;
|
|
907
|
-
export
|
|
908
|
-
|
|
909
|
-
name: string;
|
|
910
|
-
}
|
|
911
|
-
export declare const RegistryCredentialSummary: S.Schema<RegistryCredentialSummary>;
|
|
1030
|
+
export type RegistryCredentialSummary = CreateBuildSourceResponseServiceLinksItem;
|
|
1031
|
+
export declare const RegistryCredentialSummary: S.Schema<CreateBuildSourceResponseServiceLinksItem>;
|
|
912
1032
|
export type ServiceSuspended = "suspended" | "not_suspended";
|
|
913
1033
|
export declare const ServiceSuspended: any;
|
|
914
1034
|
export type ServiceSuspendersList = Array<SuspenderType>;
|
|
915
1035
|
export declare const ServiceSuspendersList: S.Schema<ServiceSuspendersList>;
|
|
916
1036
|
export type StaticSiteDetailsIpAllowListList = Array<CidrBlockAndDescription>;
|
|
917
1037
|
export declare const StaticSiteDetailsIpAllowListList: S.Schema<StaticSiteDetailsIpAllowListList>;
|
|
918
|
-
export type Resource =
|
|
919
|
-
export declare const Resource: S.Schema<
|
|
1038
|
+
export type Resource = CreateBuildSourceResponseServiceLinksItem;
|
|
1039
|
+
export declare const Resource: S.Schema<CreateBuildSourceResponseServiceLinksItem>;
|
|
920
1040
|
export type BuildPlan = "starter" | "performance";
|
|
921
1041
|
export declare const BuildPlan: any;
|
|
922
1042
|
export interface StaticSiteDetails {
|
|
923
1043
|
buildCommand: string;
|
|
924
1044
|
ipAllowList?: StaticSiteDetailsIpAllowListList;
|
|
925
|
-
parentServer?:
|
|
1045
|
+
parentServer?: CreateBuildSourceResponseServiceLinksItem;
|
|
926
1046
|
publishPath: string;
|
|
927
1047
|
pullRequestPreviewsEnabled?: PullRequestPreviewsEnabled;
|
|
928
1048
|
previews?: Previews;
|
|
@@ -967,7 +1087,7 @@ export interface WebServiceDetails {
|
|
|
967
1087
|
/** For a *manually* scaled service, this is the number of instances the service is scaled to. DOES NOT indicate the number of running instances for an *autoscaled* service. */
|
|
968
1088
|
numInstances: number;
|
|
969
1089
|
openPorts: WebServiceDetailsOpenPortsList;
|
|
970
|
-
parentServer?:
|
|
1090
|
+
parentServer?: CreateBuildSourceResponseServiceLinksItem;
|
|
971
1091
|
plan: Plan;
|
|
972
1092
|
pullRequestPreviewsEnabled?: PullRequestPreviewsEnabled;
|
|
973
1093
|
previews?: Previews;
|
|
@@ -992,7 +1112,7 @@ export interface PrivateServiceDetails {
|
|
|
992
1112
|
/** For a *manually* scaled service, this is the number of instances the service is scaled to. DOES NOT indicate the number of running instances for an *autoscaled* service. */
|
|
993
1113
|
numInstances: number;
|
|
994
1114
|
openPorts: PrivateServiceDetailsOpenPortsList;
|
|
995
|
-
parentServer?:
|
|
1115
|
+
parentServer?: CreateBuildSourceResponseServiceLinksItem;
|
|
996
1116
|
plan: Plan;
|
|
997
1117
|
pullRequestPreviewsEnabled?: PullRequestPreviewsEnabled;
|
|
998
1118
|
previews?: Previews;
|
|
@@ -1011,7 +1131,7 @@ export interface BackgroundWorkerDetails {
|
|
|
1011
1131
|
envSpecificDetails: EnvSpecificDetails;
|
|
1012
1132
|
/** For a *manually* scaled service, this is the number of instances the service is scaled to. DOES NOT indicate the number of running instances for an *autoscaled* service. */
|
|
1013
1133
|
numInstances: number;
|
|
1014
|
-
parentServer?:
|
|
1134
|
+
parentServer?: CreateBuildSourceResponseServiceLinksItem;
|
|
1015
1135
|
plan: Plan;
|
|
1016
1136
|
pullRequestPreviewsEnabled?: PullRequestPreviewsEnabled;
|
|
1017
1137
|
previews?: Previews;
|
|
@@ -1037,7 +1157,9 @@ export type ServiceServiceDetails = StaticSiteDetails | WebServiceDetails | Priv
|
|
|
1037
1157
|
export declare const ServiceServiceDetails: S.Schema<ServiceServiceDetails>;
|
|
1038
1158
|
export interface Service {
|
|
1039
1159
|
id: string;
|
|
1160
|
+
buildSourceId?: string;
|
|
1040
1161
|
autoDeploy: AutoDeploy;
|
|
1162
|
+
autoDeployTrigger?: AutoDeployTrigger;
|
|
1041
1163
|
branch?: string;
|
|
1042
1164
|
buildFilter?: BuildFilter;
|
|
1043
1165
|
createdAt: string;
|
|
@@ -1048,7 +1170,7 @@ export interface Service {
|
|
|
1048
1170
|
name: string;
|
|
1049
1171
|
notifyOnFail: NotifySetting;
|
|
1050
1172
|
ownerId: string;
|
|
1051
|
-
registryCredential?:
|
|
1173
|
+
registryCredential?: CreateBuildSourceResponseServiceLinksItem;
|
|
1052
1174
|
repo?: string;
|
|
1053
1175
|
rootDir: string;
|
|
1054
1176
|
slug: string;
|
|
@@ -1080,6 +1202,8 @@ export interface CreateTaskRequest {
|
|
|
1080
1202
|
task: string;
|
|
1081
1203
|
/** Input data for a task. Can be either an array (for positional arguments) or an object (for named parameters). */
|
|
1082
1204
|
input: CreateTaskRequestInput;
|
|
1205
|
+
/** A client-generated key that makes starting a task run safe to retry. Repeating a request with the same key within 24 hours returns the task run that the first request started instead of starting another one; the repeated request's input is ignored. Keys are scoped to a single workflow version, so the same key used against a different version starts a separate run. Omit the key to always start a new run. */
|
|
1206
|
+
idempotencyKey?: string;
|
|
1083
1207
|
}
|
|
1084
1208
|
export declare const CreateTaskRequest: S.Schema<CreateTaskRequest>;
|
|
1085
1209
|
export type Status2 = "pending" | "running" | "completed" | "succeeded" | "failed" | "canceled" | "paused";
|
|
@@ -1144,7 +1268,7 @@ export declare const Runtime: any;
|
|
|
1144
1268
|
export interface CreateWorkflowRequestBuildConfig {
|
|
1145
1269
|
/** The branch to use for the build, if applicable. */
|
|
1146
1270
|
branch?: string;
|
|
1147
|
-
/** The command to run to build the workflow. */
|
|
1271
|
+
/** The command to run to build the workflow. Required for every runtime except docker, which builds from its Dockerfile. */
|
|
1148
1272
|
buildCommand: string;
|
|
1149
1273
|
/** The repository URL to use for the build. Cannot be blank. */
|
|
1150
1274
|
repo: string;
|
|
@@ -1175,7 +1299,7 @@ export declare const CreateWorkflowRequest: S.Schema<CreateWorkflowRequest>;
|
|
|
1175
1299
|
export interface BuildConfig {
|
|
1176
1300
|
/** The branch to use for the build, if applicable. */
|
|
1177
1301
|
branch?: string;
|
|
1178
|
-
/** The command to run to build the workflow. */
|
|
1302
|
+
/** The command to run to build the workflow. Required for every runtime except docker, which builds from its Dockerfile. */
|
|
1179
1303
|
buildCommand: string;
|
|
1180
1304
|
/** The repository URL to use for the build. Cannot be blank. */
|
|
1181
1305
|
repo: string;
|
|
@@ -1188,8 +1312,8 @@ export declare const BuildConfig: S.Schema<BuildConfig>;
|
|
|
1188
1312
|
export type Region2 = "frankfurt" | "oregon" | "ohio" | "singapore" | "virginia";
|
|
1189
1313
|
export declare const Region2: any;
|
|
1190
1314
|
/** Controls autodeploy behavior. "commit" deploys when a commit is pushed to the branch. "checksPass" waits for CI checks to pass before deploying. "off" disables autodeploy. */
|
|
1191
|
-
export type
|
|
1192
|
-
export declare const
|
|
1315
|
+
export type AutoDeployTrigger2 = "commit" | "off" | "checksPass";
|
|
1316
|
+
export declare const AutoDeployTrigger2: any;
|
|
1193
1317
|
export interface CreateWorkflowResponse {
|
|
1194
1318
|
id: string;
|
|
1195
1319
|
name: string;
|
|
@@ -1202,7 +1326,7 @@ export interface CreateWorkflowResponse {
|
|
|
1202
1326
|
region: Region2;
|
|
1203
1327
|
environmentId?: string;
|
|
1204
1328
|
slug?: string;
|
|
1205
|
-
autoDeployTrigger?:
|
|
1329
|
+
autoDeployTrigger?: AutoDeployTrigger2;
|
|
1206
1330
|
}
|
|
1207
1331
|
export declare const CreateWorkflowResponse: S.Schema<CreateWorkflowResponse>;
|
|
1208
1332
|
export interface CreateWorkflowVersionRequest {
|
|
@@ -1221,6 +1345,31 @@ export declare const DeleteAutoscalingConfigRequest: S.Schema<DeleteAutoscalingC
|
|
|
1221
1345
|
export interface DeleteAutoscalingConfigResponse {
|
|
1222
1346
|
}
|
|
1223
1347
|
export declare const DeleteAutoscalingConfigResponse: S.Schema<DeleteAutoscalingConfigResponse>;
|
|
1348
|
+
export interface DeleteBuildSourceRequest {
|
|
1349
|
+
buildSourceId: string;
|
|
1350
|
+
}
|
|
1351
|
+
export declare const DeleteBuildSourceRequest: S.Schema<DeleteBuildSourceRequest>;
|
|
1352
|
+
export interface DeleteBuildSourceResponse {
|
|
1353
|
+
}
|
|
1354
|
+
export declare const DeleteBuildSourceResponse: S.Schema<DeleteBuildSourceResponse>;
|
|
1355
|
+
export interface DeleteBuildSourceEnvVarRequest {
|
|
1356
|
+
buildSourceId: string;
|
|
1357
|
+
/** The name of the environment variable */
|
|
1358
|
+
envVarKey: string;
|
|
1359
|
+
}
|
|
1360
|
+
export declare const DeleteBuildSourceEnvVarRequest: S.Schema<DeleteBuildSourceEnvVarRequest>;
|
|
1361
|
+
export interface DeleteBuildSourceEnvVarResponse {
|
|
1362
|
+
}
|
|
1363
|
+
export declare const DeleteBuildSourceEnvVarResponse: S.Schema<DeleteBuildSourceEnvVarResponse>;
|
|
1364
|
+
export interface DeleteBuildSourceSecretFileRequest {
|
|
1365
|
+
buildSourceId: string;
|
|
1366
|
+
/** The file name of the secret file */
|
|
1367
|
+
envVarKey: string;
|
|
1368
|
+
}
|
|
1369
|
+
export declare const DeleteBuildSourceSecretFileRequest: S.Schema<DeleteBuildSourceSecretFileRequest>;
|
|
1370
|
+
export interface DeleteBuildSourceSecretFileResponse {
|
|
1371
|
+
}
|
|
1372
|
+
export declare const DeleteBuildSourceSecretFileResponse: S.Schema<DeleteBuildSourceSecretFileResponse>;
|
|
1224
1373
|
export interface DeleteCustomDomainRequest {
|
|
1225
1374
|
/** The ID of the service */
|
|
1226
1375
|
serviceId: string;
|
|
@@ -1548,10 +1697,11 @@ export interface GetBlueprintRequest {
|
|
|
1548
1697
|
blueprintId: string;
|
|
1549
1698
|
}
|
|
1550
1699
|
export declare const GetBlueprintRequest: S.Schema<GetBlueprintRequest>;
|
|
1700
|
+
/** A Blueprint has status `created` until its first Sync is approved. */
|
|
1551
1701
|
export type GetBlueprintResponseStatus = "created" | "paused" | "in_sync" | "syncing" | "error";
|
|
1552
1702
|
export declare const GetBlueprintResponseStatus: any;
|
|
1553
1703
|
/** type of the resource (ex. web_service or postgres) */
|
|
1554
|
-
export type GetBlueprintResponseResourcesItemType = "static_site" | "web_service" | "private_service" | "background_worker" | "cron_job" | "redis" | "key_value" | "postgres" | "environment_group" | "
|
|
1704
|
+
export type GetBlueprintResponseResourcesItemType = "static_site" | "web_service" | "private_service" | "background_worker" | "cron_job" | "redis" | "key_value" | "postgres" | "environment_group" | "build_source" | "workflow";
|
|
1555
1705
|
export declare const GetBlueprintResponseResourcesItemType: any;
|
|
1556
1706
|
export interface GetBlueprintResponseResourcesItem {
|
|
1557
1707
|
id: string;
|
|
@@ -1565,6 +1715,7 @@ export declare const GetBlueprintResponseResourcesList: S.Schema<GetBlueprintRes
|
|
|
1565
1715
|
export interface GetBlueprintResponse {
|
|
1566
1716
|
id: string;
|
|
1567
1717
|
name: string;
|
|
1718
|
+
/** A Blueprint has status `created` until its first Sync is approved. */
|
|
1568
1719
|
status: GetBlueprintResponseStatus;
|
|
1569
1720
|
autoSync: boolean;
|
|
1570
1721
|
repo: string;
|
|
@@ -1574,6 +1725,44 @@ export interface GetBlueprintResponse {
|
|
|
1574
1725
|
resources: GetBlueprintResponseResourcesList;
|
|
1575
1726
|
}
|
|
1576
1727
|
export declare const GetBlueprintResponse: S.Schema<GetBlueprintResponse>;
|
|
1728
|
+
export interface GetBuildSourceRequest {
|
|
1729
|
+
buildSourceId: string;
|
|
1730
|
+
}
|
|
1731
|
+
export declare const GetBuildSourceRequest: S.Schema<GetBuildSourceRequest>;
|
|
1732
|
+
export type SchemaServiceLinksItem = CreateBuildSourceResponseServiceLinksItem;
|
|
1733
|
+
export declare const SchemaServiceLinksItem: S.Schema<CreateBuildSourceResponseServiceLinksItem>;
|
|
1734
|
+
/** Services currently linked to this build source. */
|
|
1735
|
+
export type SchemaServiceLinksList = Array<CreateBuildSourceResponseServiceLinksItem>;
|
|
1736
|
+
export declare const SchemaServiceLinksList: S.Schema<SchemaServiceLinksList>;
|
|
1737
|
+
export interface Schema12 {
|
|
1738
|
+
id: string;
|
|
1739
|
+
name: string;
|
|
1740
|
+
/** ID of the workspace this build source belongs to. */
|
|
1741
|
+
ownerId: string;
|
|
1742
|
+
/** ID of the project this build source is scoped to, if any. */
|
|
1743
|
+
projectId?: string;
|
|
1744
|
+
/** Present when the build source is currently build-based. Mutually exclusive with `image`. */
|
|
1745
|
+
git?: Git;
|
|
1746
|
+
/** Present when the build source is currently image-based. Mutually exclusive with `git`. */
|
|
1747
|
+
image?: CreateBuildSourceRequestImage;
|
|
1748
|
+
createdAt: string;
|
|
1749
|
+
updatedAt: string;
|
|
1750
|
+
/** Services currently linked to this build source. */
|
|
1751
|
+
serviceLinks: SchemaServiceLinksList;
|
|
1752
|
+
}
|
|
1753
|
+
export declare const Schema12: S.Schema<Schema12>;
|
|
1754
|
+
export interface GetBuildSourceEnvVarRequest {
|
|
1755
|
+
buildSourceId: string;
|
|
1756
|
+
/** The name of the environment variable */
|
|
1757
|
+
envVarKey: string;
|
|
1758
|
+
}
|
|
1759
|
+
export declare const GetBuildSourceEnvVarRequest: S.Schema<GetBuildSourceEnvVarRequest>;
|
|
1760
|
+
export interface GetBuildSourceSecretFileRequest {
|
|
1761
|
+
buildSourceId: string;
|
|
1762
|
+
/** The file name of the secret file */
|
|
1763
|
+
envVarKey: string;
|
|
1764
|
+
}
|
|
1765
|
+
export declare const GetBuildSourceSecretFileRequest: S.Schema<GetBuildSourceSecretFileRequest>;
|
|
1577
1766
|
export type GetCpuRequestAggregationMethod = "AVG" | "MAX" | "MIN";
|
|
1578
1767
|
export declare const GetCpuRequestAggregationMethod: any;
|
|
1579
1768
|
export interface GetCpuRequest {
|
|
@@ -1863,20 +2052,32 @@ export interface GetEnvVarRequest {
|
|
|
1863
2052
|
envVarKey: string;
|
|
1864
2053
|
}
|
|
1865
2054
|
export declare const GetEnvVarRequest: S.Schema<GetEnvVarRequest>;
|
|
1866
|
-
export interface
|
|
1867
|
-
|
|
1868
|
-
serviceId: string;
|
|
2055
|
+
export interface GetEnvVarsForBuildSourceRequest {
|
|
2056
|
+
buildSourceId: string;
|
|
1869
2057
|
/** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
1870
2058
|
cursor?: string;
|
|
1871
2059
|
/** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
1872
2060
|
limit?: number;
|
|
1873
2061
|
}
|
|
1874
|
-
export declare const
|
|
2062
|
+
export declare const GetEnvVarsForBuildSourceRequest: S.Schema<GetEnvVarsForBuildSourceRequest>;
|
|
1875
2063
|
export interface EnvVarWithCursor {
|
|
1876
2064
|
envVar: EnvVar;
|
|
1877
2065
|
cursor: string;
|
|
1878
2066
|
}
|
|
1879
2067
|
export declare const EnvVarWithCursor: S.Schema<EnvVarWithCursor>;
|
|
2068
|
+
export type GetEnvVarsForBuildSourceResponseBodyList = Array<EnvVarWithCursor>;
|
|
2069
|
+
export declare const GetEnvVarsForBuildSourceResponseBodyList: S.Schema<GetEnvVarsForBuildSourceResponseBodyList>;
|
|
2070
|
+
export type GetEnvVarsForBuildSourceResponse = GetEnvVarsForBuildSourceResponseBodyList;
|
|
2071
|
+
export declare const GetEnvVarsForBuildSourceResponse: S.Schema<GetEnvVarsForBuildSourceResponse>;
|
|
2072
|
+
export interface GetEnvVarsForServiceRequest {
|
|
2073
|
+
/** The ID of the service */
|
|
2074
|
+
serviceId: string;
|
|
2075
|
+
/** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
2076
|
+
cursor?: string;
|
|
2077
|
+
/** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
2078
|
+
limit?: number;
|
|
2079
|
+
}
|
|
2080
|
+
export declare const GetEnvVarsForServiceRequest: S.Schema<GetEnvVarsForServiceRequest>;
|
|
1880
2081
|
export type GetEnvVarsForServiceResponseBodyList = Array<EnvVarWithCursor>;
|
|
1881
2082
|
export declare const GetEnvVarsForServiceResponseBodyList: S.Schema<GetEnvVarsForServiceResponseBodyList>;
|
|
1882
2083
|
export type GetEnvVarsForServiceResponse = GetEnvVarsForServiceResponseBodyList;
|
|
@@ -1889,15 +2090,16 @@ export declare const GetEventRequest: S.Schema<GetEventRequest>;
|
|
|
1889
2090
|
export type GetEventResponseType = "artifact_fetch_failed" | "artifact_source_changed" | "autoscaling_config_changed" | "autoscaling_ended" | "autoscaling_started" | "branch_deleted" | "build_ended" | "build_started" | "commit_ignored" | "cron_job_run_ended" | "cron_job_run_started" | "deploy_ended" | "deploy_started" | "disk_created" | "disk_updated" | "disk_deleted" | "image_pull_failed" | "instance_count_changed" | "job_run_ended" | "maintenance_mode_enabled" | "maintenance_mode_uri_updated" | "maintenance_ended" | "maintenance_started" | "pipeline_minutes_exhausted" | "plan_changed" | "pre_deploy_ended" | "pre_deploy_started" | "server_available" | "server_failed" | "server_hardware_failure" | "server_restarted" | "service_resumed" | "service_suspended" | "zero_downtime_redeploy_ended" | "zero_downtime_redeploy_started" | "edge_cache_enabled" | "edge_cache_disabled" | "edge_cache_purged" | "auto_deploy_disabled" | "auto_deploy_enabled" | "postgres_available" | "postgres_backup_completed" | "postgres_backup_failed" | "postgres_backup_started" | "postgres_cluster_leader_changed" | "postgres_connection_pool_changed" | "postgres_connection_pool_enabled_changed" | "postgres_created" | "postgres_disk_size_changed" | "postgres_disk_autoscaling_enabled_changed" | "postgres_ha_status_changed" | "postgres_restarted" | "postgres_unavailable" | "postgres_upgrade_failed" | "postgres_upgrade_started" | "postgres_upgrade_succeeded" | "postgres_restore_failed" | "postgres_restore_succeeded" | "postgres_read_replicas_changed" | "postgres_pitr_checkpoint_started" | "postgres_pitr_checkpoint_failed" | "postgres_pitr_checkpoint_completed" | "postgres_read_replica_stale" | "postgres_wal_archive_failed" | "key_value_available" | "key_value_config_restart" | "key_value_unhealthy";
|
|
1890
2091
|
export declare const GetEventResponseType: any;
|
|
1891
2092
|
export interface GetEventResponseDetailsCase0Case0 {
|
|
1892
|
-
|
|
2093
|
+
/** The build published by the build source that could not be fetched. */
|
|
2094
|
+
buildId: string;
|
|
1893
2095
|
message: string;
|
|
1894
2096
|
}
|
|
1895
2097
|
export declare const GetEventResponseDetailsCase0Case0: S.Schema<GetEventResponseDetailsCase0Case0>;
|
|
1896
2098
|
export interface GetEventResponseDetailsCase0Case1 {
|
|
1897
|
-
/** The previously linked
|
|
1898
|
-
|
|
1899
|
-
/** The newly linked
|
|
1900
|
-
|
|
2099
|
+
/** The previously linked build source. Absent when the service was newly attached. */
|
|
2100
|
+
fromBuildSourceId?: string;
|
|
2101
|
+
/** The newly linked build source. Absent when the service was detached. */
|
|
2102
|
+
toBuildSourceId?: string;
|
|
1901
2103
|
}
|
|
1902
2104
|
export declare const GetEventResponseDetailsCase0Case1: S.Schema<GetEventResponseDetailsCase0Case1>;
|
|
1903
2105
|
export interface GetEventResponseDetailsCase0Case2 {
|
|
@@ -2036,8 +2238,8 @@ export interface GetEventResponseDetailsCase0Case11 {
|
|
|
2036
2238
|
reason: GetEventResponseDetailsCase0Case6Reason;
|
|
2037
2239
|
deployStatus: BuildStatus;
|
|
2038
2240
|
status: number;
|
|
2039
|
-
/** Set when the deploy shipped
|
|
2040
|
-
|
|
2241
|
+
/** Set when the deploy shipped a build published by the service's linked build source. */
|
|
2242
|
+
buildId?: string;
|
|
2041
2243
|
}
|
|
2042
2244
|
export declare const GetEventResponseDetailsCase0Case11: S.Schema<GetEventResponseDetailsCase0Case11>;
|
|
2043
2245
|
export type Trigger = GetEventResponseDetailsCase0Case7Trigger;
|
|
@@ -2045,8 +2247,8 @@ export declare const Trigger: S.Schema<GetEventResponseDetailsCase0Case7Trigger>
|
|
|
2045
2247
|
export interface GetEventResponseDetailsCase0Case12 {
|
|
2046
2248
|
deployId: string;
|
|
2047
2249
|
trigger: GetEventResponseDetailsCase0Case7Trigger;
|
|
2048
|
-
/** Set when the deploy ships
|
|
2049
|
-
|
|
2250
|
+
/** Set when the deploy ships a build published by the service's linked build source. */
|
|
2251
|
+
buildId?: string;
|
|
2050
2252
|
}
|
|
2051
2253
|
export declare const GetEventResponseDetailsCase0Case12: S.Schema<GetEventResponseDetailsCase0Case12>;
|
|
2052
2254
|
export interface GetEventResponseDetailsCase0Case13 {
|
|
@@ -2175,22 +2377,16 @@ export type GetEventResponseDetailsCase0Case42 = GetEventResponseDetailsCase0Cas
|
|
|
2175
2377
|
export declare const GetEventResponseDetailsCase0Case42: S.Schema<GetEventResponseDetailsCase0Case41>;
|
|
2176
2378
|
export type GetEventResponseDetailsCase0Case43 = GetEventResponseDetailsCase0Case41;
|
|
2177
2379
|
export declare const GetEventResponseDetailsCase0Case43: S.Schema<GetEventResponseDetailsCase0Case41>;
|
|
2178
|
-
/** The auto-deploy trigger value after it was re-enabled */
|
|
2179
|
-
export type NewTrigger = "commit" | "off" | "checksPass";
|
|
2180
|
-
export declare const NewTrigger: any;
|
|
2181
2380
|
export interface GetEventResponseDetailsCase0Case44 {
|
|
2182
2381
|
/** Why auto-deploy was disabled (manual_deploy, rollback, or setting_change) */
|
|
2183
2382
|
reason: string;
|
|
2184
2383
|
/** The auto-deploy trigger value immediately before it was disabled */
|
|
2185
|
-
fromTrigger?:
|
|
2384
|
+
fromTrigger?: AutoDeployTrigger;
|
|
2186
2385
|
}
|
|
2187
2386
|
export declare const GetEventResponseDetailsCase0Case44: S.Schema<GetEventResponseDetailsCase0Case44>;
|
|
2188
|
-
/** The auto-deploy trigger value after it was re-enabled */
|
|
2189
|
-
export type GetEventResponseDetailsCase0Case45NewTrigger = "commit" | "off" | "checksPass";
|
|
2190
|
-
export declare const GetEventResponseDetailsCase0Case45NewTrigger: any;
|
|
2191
2387
|
export interface GetEventResponseDetailsCase0Case45 {
|
|
2192
2388
|
/** The auto-deploy trigger value after it was re-enabled */
|
|
2193
|
-
newTrigger?:
|
|
2389
|
+
newTrigger?: AutoDeployTrigger;
|
|
2194
2390
|
}
|
|
2195
2391
|
export declare const GetEventResponseDetailsCase0Case45: S.Schema<GetEventResponseDetailsCase0Case45>;
|
|
2196
2392
|
export type GetEventResponseDetailsCase0 = GetEventResponseDetailsCase0Case0 | GetEventResponseDetailsCase0Case1 | GetEventResponseDetailsCase0Case2 | GetEventResponseDetailsCase0Case3 | GetEventResponseDetailsCase0Case4 | GetEventResponseDetailsCase0Case5 | GetEventResponseDetailsCase0Case6 | GetEventResponseDetailsCase0Case7 | GetEventResponseDetailsCase0Case8 | GetEventResponseDetailsCase0Case9 | GetEventResponseDetailsCase0Case10 | GetEventResponseDetailsCase0Case11 | GetEventResponseDetailsCase0Case12 | GetEventResponseDetailsCase0Case13 | GetEventResponseDetailsCase0Case14 | GetEventResponseDetailsCase0Case15 | GetEventResponseDetailsCase0Case16 | GetEventResponseDetailsCase0Case16 | GetEventResponseDetailsCase0Case18 | GetEventResponseDetailsCase0Case19 | GetEventResponseDetailsCase0Case19 | GetEventResponseDetailsCase0Case3 | GetEventResponseDetailsCase0Case22 | GetEventResponseDetailsCase0Case23 | GetEventResponseDetailsCase0Case24 | unknown | GetEventResponseDetailsCase0Case26 | GetEventResponseDetailsCase0Case7 | GetEventResponseDetailsCase0Case28 | GetEventResponseDetailsCase0Case29 | GetEventResponseDetailsCase0Case30 | GetEventResponseDetailsCase0Case32 | GetEventResponseDetailsCase0Case34 | GetEventResponseDetailsCase0Case37 | GetEventResponseDetailsCase0Case38 | GetEventResponseDetailsCase0Case40 | GetEventResponseDetailsCase0Case41 | GetEventResponseDetailsCase0Case41 | GetEventResponseDetailsCase0Case41 | GetEventResponseDetailsCase0Case44 | GetEventResponseDetailsCase0Case45;
|
|
@@ -2926,6 +3122,8 @@ export interface GetUserRequest {
|
|
|
2926
3122
|
}
|
|
2927
3123
|
export declare const GetUserRequest: S.Schema<GetUserRequest>;
|
|
2928
3124
|
export interface User {
|
|
3125
|
+
/** The authenticated user's ID. */
|
|
3126
|
+
id: string;
|
|
2929
3127
|
email: string;
|
|
2930
3128
|
name: string;
|
|
2931
3129
|
}
|
|
@@ -2935,7 +3133,7 @@ export interface GetWebhookRequest {
|
|
|
2935
3133
|
webhookId: string;
|
|
2936
3134
|
}
|
|
2937
3135
|
export declare const GetWebhookRequest: S.Schema<GetWebhookRequest>;
|
|
2938
|
-
export interface
|
|
3136
|
+
export interface Schema14 {
|
|
2939
3137
|
id: string;
|
|
2940
3138
|
url: string;
|
|
2941
3139
|
name: string;
|
|
@@ -2943,13 +3141,13 @@ export interface Schema12 {
|
|
|
2943
3141
|
enabled: boolean;
|
|
2944
3142
|
eventFilter: EventFilter;
|
|
2945
3143
|
}
|
|
2946
|
-
export declare const
|
|
3144
|
+
export declare const Schema14: S.Schema<Schema14>;
|
|
2947
3145
|
export interface GetWorkflowRequest {
|
|
2948
3146
|
/** The ID of the workflow */
|
|
2949
3147
|
workflowId: string;
|
|
2950
3148
|
}
|
|
2951
3149
|
export declare const GetWorkflowRequest: S.Schema<GetWorkflowRequest>;
|
|
2952
|
-
export interface
|
|
3150
|
+
export interface Schema15 {
|
|
2953
3151
|
id: string;
|
|
2954
3152
|
name: string;
|
|
2955
3153
|
ownerId: string;
|
|
@@ -2961,9 +3159,9 @@ export interface Schema13 {
|
|
|
2961
3159
|
region: Region2;
|
|
2962
3160
|
environmentId?: string;
|
|
2963
3161
|
slug?: string;
|
|
2964
|
-
autoDeployTrigger?:
|
|
3162
|
+
autoDeployTrigger?: AutoDeployTrigger2;
|
|
2965
3163
|
}
|
|
2966
|
-
export declare const
|
|
3164
|
+
export declare const Schema15: S.Schema<Schema15>;
|
|
2967
3165
|
export interface GetWorkflowVersionRequest {
|
|
2968
3166
|
/** The ID of the workflow version */
|
|
2969
3167
|
workflowVersionId: string;
|
|
@@ -2979,6 +3177,32 @@ export interface GetWorkflowVersionResponse {
|
|
|
2979
3177
|
status: GetWorkflowVersionResponseStatus;
|
|
2980
3178
|
}
|
|
2981
3179
|
export declare const GetWorkflowVersionResponse: S.Schema<GetWorkflowVersionResponse>;
|
|
3180
|
+
export interface LinkEnvGroupToBuildSourceRequest {
|
|
3181
|
+
buildSourceId: string;
|
|
3182
|
+
/** Filter for resources that belong to an environment group */
|
|
3183
|
+
envGroupId: string;
|
|
3184
|
+
}
|
|
3185
|
+
export declare const LinkEnvGroupToBuildSourceRequest: S.Schema<LinkEnvGroupToBuildSourceRequest>;
|
|
3186
|
+
/** List of serviceIds linked to the envGroup */
|
|
3187
|
+
export type LinkEnvGroupToBuildSourceResponseServiceLinksList = Array<EnvGroupLink>;
|
|
3188
|
+
export declare const LinkEnvGroupToBuildSourceResponseServiceLinksList: S.Schema<LinkEnvGroupToBuildSourceResponseServiceLinksList>;
|
|
3189
|
+
export type LinkEnvGroupToBuildSourceResponseEnvVarsList = Array<EnvVar>;
|
|
3190
|
+
export declare const LinkEnvGroupToBuildSourceResponseEnvVarsList: S.Schema<LinkEnvGroupToBuildSourceResponseEnvVarsList>;
|
|
3191
|
+
export type LinkEnvGroupToBuildSourceResponseSecretFilesList = Array<SecretFile>;
|
|
3192
|
+
export declare const LinkEnvGroupToBuildSourceResponseSecretFilesList: S.Schema<LinkEnvGroupToBuildSourceResponseSecretFilesList>;
|
|
3193
|
+
export interface LinkEnvGroupToBuildSourceResponse {
|
|
3194
|
+
id: string;
|
|
3195
|
+
name: string;
|
|
3196
|
+
ownerId: string;
|
|
3197
|
+
createdAt: string;
|
|
3198
|
+
updatedAt: string;
|
|
3199
|
+
/** List of serviceIds linked to the envGroup */
|
|
3200
|
+
serviceLinks: LinkEnvGroupToBuildSourceResponseServiceLinksList;
|
|
3201
|
+
environmentId?: string;
|
|
3202
|
+
envVars: LinkEnvGroupToBuildSourceResponseEnvVarsList;
|
|
3203
|
+
secretFiles: LinkEnvGroupToBuildSourceResponseSecretFilesList;
|
|
3204
|
+
}
|
|
3205
|
+
export declare const LinkEnvGroupToBuildSourceResponse: S.Schema<LinkEnvGroupToBuildSourceResponse>;
|
|
2982
3206
|
export interface LinkServiceToEnvGroupRequest {
|
|
2983
3207
|
/** Filter for resources that belong to an environment group */
|
|
2984
3208
|
envGroupId: string;
|
|
@@ -3044,6 +3268,7 @@ export interface ListBlueprintsRequest {
|
|
|
3044
3268
|
limit?: number;
|
|
3045
3269
|
}
|
|
3046
3270
|
export declare const ListBlueprintsRequest: S.Schema<ListBlueprintsRequest>;
|
|
3271
|
+
/** A Blueprint has status `created` until its first Sync is approved. */
|
|
3047
3272
|
export type Status = "created" | "paused" | "in_sync" | "syncing" | "error";
|
|
3048
3273
|
export declare const Status: any;
|
|
3049
3274
|
export interface Schema {
|
|
@@ -3098,6 +3323,89 @@ export type ListBlueprintSyncsResponseBodyList = Array<SyncWithCursor>;
|
|
|
3098
3323
|
export declare const ListBlueprintSyncsResponseBodyList: S.Schema<ListBlueprintSyncsResponseBodyList>;
|
|
3099
3324
|
export type ListBlueprintSyncsResponse = ListBlueprintSyncsResponseBodyList;
|
|
3100
3325
|
export declare const ListBlueprintSyncsResponse: S.Schema<ListBlueprintSyncsResponse>;
|
|
3326
|
+
export interface ListBuildsInBuildSourceRequest {
|
|
3327
|
+
buildSourceId: string;
|
|
3328
|
+
/** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
3329
|
+
cursor?: string;
|
|
3330
|
+
/** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
3331
|
+
limit?: number;
|
|
3332
|
+
}
|
|
3333
|
+
export declare const ListBuildsInBuildSourceRequest: S.Schema<ListBuildsInBuildSourceRequest>;
|
|
3334
|
+
export type SchemaBuildRunStatus = "created" | "inProgress" | "succeeded" | "failed" | "canceled" | "unknown";
|
|
3335
|
+
export declare const SchemaBuildRunStatus: any;
|
|
3336
|
+
export type SchemaBuildRunRuntime = "docker" | "elixir" | "go" | "node" | "python" | "ruby" | "rust";
|
|
3337
|
+
export declare const SchemaBuildRunRuntime: any;
|
|
3338
|
+
/** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
|
|
3339
|
+
export interface SchemaBuildRun {
|
|
3340
|
+
id: string;
|
|
3341
|
+
status?: SchemaBuildRunStatus;
|
|
3342
|
+
buildStartedAt?: string;
|
|
3343
|
+
buildFinishedAt?: string;
|
|
3344
|
+
runtime?: SchemaBuildRunRuntime;
|
|
3345
|
+
commitId?: string;
|
|
3346
|
+
commitUrl?: string;
|
|
3347
|
+
}
|
|
3348
|
+
export declare const SchemaBuildRun: S.Schema<SchemaBuildRun>;
|
|
3349
|
+
/** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
|
|
3350
|
+
export interface SchemaImage {
|
|
3351
|
+
imageVersionId?: string;
|
|
3352
|
+
SHA?: string;
|
|
3353
|
+
ref?: string;
|
|
3354
|
+
imageUrl?: string;
|
|
3355
|
+
registryCredentialId?: string;
|
|
3356
|
+
}
|
|
3357
|
+
export declare const SchemaImage: S.Schema<SchemaImage>;
|
|
3358
|
+
export interface Schema13 {
|
|
3359
|
+
id: string;
|
|
3360
|
+
buildSourceId: string;
|
|
3361
|
+
/** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
|
|
3362
|
+
buildRun?: SchemaBuildRun;
|
|
3363
|
+
/** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
|
|
3364
|
+
image?: SchemaImage;
|
|
3365
|
+
createdAt: string;
|
|
3366
|
+
updatedAt: string;
|
|
3367
|
+
assetsDeletedAt?: string;
|
|
3368
|
+
}
|
|
3369
|
+
export declare const Schema13: S.Schema<Schema13>;
|
|
3370
|
+
export type ListBuildsInBuildSourceResponseBodyList = Array<Schema13>;
|
|
3371
|
+
export declare const ListBuildsInBuildSourceResponseBodyList: S.Schema<ListBuildsInBuildSourceResponseBodyList>;
|
|
3372
|
+
export type ListBuildsInBuildSourceResponse = ListBuildsInBuildSourceResponseBodyList;
|
|
3373
|
+
export declare const ListBuildsInBuildSourceResponse: S.Schema<ListBuildsInBuildSourceResponse>;
|
|
3374
|
+
export type ListBuildSourcesRequestNameList = Array<string>;
|
|
3375
|
+
export declare const ListBuildSourcesRequestNameList: S.Schema<ListBuildSourcesRequestNameList>;
|
|
3376
|
+
export type ListBuildSourcesRequestOwnerIdList = Array<string>;
|
|
3377
|
+
export declare const ListBuildSourcesRequestOwnerIdList: S.Schema<ListBuildSourcesRequestOwnerIdList>;
|
|
3378
|
+
export interface ListBuildSourcesRequest {
|
|
3379
|
+
/** Filter by name */
|
|
3380
|
+
name?: ListBuildSourcesRequestNameList;
|
|
3381
|
+
/** The ID of the workspaces to return resources for */
|
|
3382
|
+
ownerId?: ListBuildSourcesRequestOwnerIdList;
|
|
3383
|
+
projectId?: string;
|
|
3384
|
+
/** Include previews in the response */
|
|
3385
|
+
includePreviews?: boolean;
|
|
3386
|
+
/** Filter for resources created before a certain time (specified as an ISO 8601 timestamp) */
|
|
3387
|
+
createdBefore?: string;
|
|
3388
|
+
/** Filter for resources created after a certain time (specified as an ISO 8601 timestamp) */
|
|
3389
|
+
createdAfter?: string;
|
|
3390
|
+
/** Filter for resources updated before a certain time (specified as an ISO 8601 timestamp) */
|
|
3391
|
+
updatedBefore?: string;
|
|
3392
|
+
/** Filter for resources updated after a certain time (specified as an ISO 8601 timestamp) */
|
|
3393
|
+
updatedAfter?: string;
|
|
3394
|
+
/** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
3395
|
+
cursor?: string;
|
|
3396
|
+
/** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
3397
|
+
limit?: number;
|
|
3398
|
+
}
|
|
3399
|
+
export declare const ListBuildSourcesRequest: S.Schema<ListBuildSourcesRequest>;
|
|
3400
|
+
export interface ListBuildSourcesResponseBodyItem {
|
|
3401
|
+
buildSource: Schema12;
|
|
3402
|
+
cursor: string;
|
|
3403
|
+
}
|
|
3404
|
+
export declare const ListBuildSourcesResponseBodyItem: S.Schema<ListBuildSourcesResponseBodyItem>;
|
|
3405
|
+
export type ListBuildSourcesResponseBodyList = Array<ListBuildSourcesResponseBodyItem>;
|
|
3406
|
+
export declare const ListBuildSourcesResponseBodyList: S.Schema<ListBuildSourcesResponseBodyList>;
|
|
3407
|
+
export type ListBuildSourcesResponse = ListBuildSourcesResponseBodyList;
|
|
3408
|
+
export declare const ListBuildSourcesResponse: S.Schema<ListBuildSourcesResponse>;
|
|
3101
3409
|
export type ListCustomDomainsRequestNameList = Array<string>;
|
|
3102
3410
|
export declare const ListCustomDomainsRequestNameList: S.Schema<ListCustomDomainsRequestNameList>;
|
|
3103
3411
|
export type ListCustomDomainsRequestDomainType = "apex" | "subdomain";
|
|
@@ -3432,15 +3740,9 @@ export type _0Case43 = GetEventResponseDetailsCase0Case41;
|
|
|
3432
3740
|
export declare const _0Case43: S.Schema<GetEventResponseDetailsCase0Case41>;
|
|
3433
3741
|
export type _0Case44 = GetEventResponseDetailsCase0Case44;
|
|
3434
3742
|
export declare const _0Case44: S.Schema<GetEventResponseDetailsCase0Case44>;
|
|
3435
|
-
|
|
3436
|
-
export
|
|
3437
|
-
export
|
|
3438
|
-
export interface _0Case45 {
|
|
3439
|
-
/** The auto-deploy trigger value after it was re-enabled */
|
|
3440
|
-
newTrigger?: _0Case45NewTrigger;
|
|
3441
|
-
}
|
|
3442
|
-
export declare const _0Case45: S.Schema<_0Case45>;
|
|
3443
|
-
export type _02 = GetEventResponseDetailsCase0Case0 | GetEventResponseDetailsCase0Case1 | GetEventResponseDetailsCase0Case2 | GetEventResponseDetailsCase0Case3 | GetEventResponseDetailsCase0Case4 | GetEventResponseDetailsCase0Case5 | _0Case6 | GetEventResponseDetailsCase0Case7 | GetEventResponseDetailsCase0Case8 | _0Case9 | GetEventResponseDetailsCase0Case10 | GetEventResponseDetailsCase0Case11 | GetEventResponseDetailsCase0Case12 | GetEventResponseDetailsCase0Case13 | GetEventResponseDetailsCase0Case14 | GetEventResponseDetailsCase0Case15 | GetEventResponseDetailsCase0Case16 | GetEventResponseDetailsCase0Case16 | GetEventResponseDetailsCase0Case18 | GetEventResponseDetailsCase0Case19 | GetEventResponseDetailsCase0Case19 | GetEventResponseDetailsCase0Case3 | GetEventResponseDetailsCase0Case22 | GetEventResponseDetailsCase0Case23 | GetEventResponseDetailsCase0Case24 | unknown | GetEventResponseDetailsCase0Case26 | GetEventResponseDetailsCase0Case7 | GetEventResponseDetailsCase0Case28 | GetEventResponseDetailsCase0Case29 | GetEventResponseDetailsCase0Case30 | GetEventResponseDetailsCase0Case32 | GetEventResponseDetailsCase0Case34 | GetEventResponseDetailsCase0Case37 | GetEventResponseDetailsCase0Case38 | GetEventResponseDetailsCase0Case40 | GetEventResponseDetailsCase0Case41 | GetEventResponseDetailsCase0Case41 | GetEventResponseDetailsCase0Case41 | GetEventResponseDetailsCase0Case44 | _0Case45;
|
|
3743
|
+
export type _0Case45 = GetEventResponseDetailsCase0Case45;
|
|
3744
|
+
export declare const _0Case45: S.Schema<GetEventResponseDetailsCase0Case45>;
|
|
3745
|
+
export type _02 = GetEventResponseDetailsCase0Case0 | GetEventResponseDetailsCase0Case1 | GetEventResponseDetailsCase0Case2 | GetEventResponseDetailsCase0Case3 | GetEventResponseDetailsCase0Case4 | GetEventResponseDetailsCase0Case5 | _0Case6 | GetEventResponseDetailsCase0Case7 | GetEventResponseDetailsCase0Case8 | _0Case9 | GetEventResponseDetailsCase0Case10 | GetEventResponseDetailsCase0Case11 | GetEventResponseDetailsCase0Case12 | GetEventResponseDetailsCase0Case13 | GetEventResponseDetailsCase0Case14 | GetEventResponseDetailsCase0Case15 | GetEventResponseDetailsCase0Case16 | GetEventResponseDetailsCase0Case16 | GetEventResponseDetailsCase0Case18 | GetEventResponseDetailsCase0Case19 | GetEventResponseDetailsCase0Case19 | GetEventResponseDetailsCase0Case3 | GetEventResponseDetailsCase0Case22 | GetEventResponseDetailsCase0Case23 | GetEventResponseDetailsCase0Case24 | unknown | GetEventResponseDetailsCase0Case26 | GetEventResponseDetailsCase0Case7 | GetEventResponseDetailsCase0Case28 | GetEventResponseDetailsCase0Case29 | GetEventResponseDetailsCase0Case30 | GetEventResponseDetailsCase0Case32 | GetEventResponseDetailsCase0Case34 | GetEventResponseDetailsCase0Case37 | GetEventResponseDetailsCase0Case38 | GetEventResponseDetailsCase0Case40 | GetEventResponseDetailsCase0Case41 | GetEventResponseDetailsCase0Case41 | GetEventResponseDetailsCase0Case41 | GetEventResponseDetailsCase0Case44 | GetEventResponseDetailsCase0Case45;
|
|
3444
3746
|
export declare const _02: S.Schema<_02>;
|
|
3445
3747
|
export interface ServiceEventWithCursorEvent {
|
|
3446
3748
|
id: string;
|
|
@@ -3453,6 +3755,7 @@ export declare const ServiceEventWithCursorEvent: S.Schema<ServiceEventWithCurso
|
|
|
3453
3755
|
/** A service event with a cursor */
|
|
3454
3756
|
export interface ServiceEventWithCursor {
|
|
3455
3757
|
event: ServiceEventWithCursorEvent;
|
|
3758
|
+
cursor: string;
|
|
3456
3759
|
}
|
|
3457
3760
|
export declare const ServiceEventWithCursor: S.Schema<ServiceEventWithCursor>;
|
|
3458
3761
|
export type ListEventsResponseBodyList = Array<ServiceEventWithCursor>;
|
|
@@ -4350,20 +4653,32 @@ export type ListRoutesResponseBodyList = Array<RouteWithCursor>;
|
|
|
4350
4653
|
export declare const ListRoutesResponseBodyList: S.Schema<ListRoutesResponseBodyList>;
|
|
4351
4654
|
export type ListRoutesResponse = ListRoutesResponseBodyList;
|
|
4352
4655
|
export declare const ListRoutesResponse: S.Schema<ListRoutesResponse>;
|
|
4353
|
-
export interface
|
|
4354
|
-
|
|
4355
|
-
serviceId: string;
|
|
4656
|
+
export interface ListSecretFilesForBuildSourceRequest {
|
|
4657
|
+
buildSourceId: string;
|
|
4356
4658
|
/** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4357
4659
|
cursor?: string;
|
|
4358
4660
|
/** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4359
4661
|
limit?: number;
|
|
4360
4662
|
}
|
|
4361
|
-
export declare const
|
|
4663
|
+
export declare const ListSecretFilesForBuildSourceRequest: S.Schema<ListSecretFilesForBuildSourceRequest>;
|
|
4362
4664
|
export interface SecretFileWithCursor {
|
|
4363
4665
|
secretFile: SecretFile;
|
|
4364
4666
|
cursor: string;
|
|
4365
4667
|
}
|
|
4366
4668
|
export declare const SecretFileWithCursor: S.Schema<SecretFileWithCursor>;
|
|
4669
|
+
export type ListSecretFilesForBuildSourceResponseBodyList = Array<SecretFileWithCursor>;
|
|
4670
|
+
export declare const ListSecretFilesForBuildSourceResponseBodyList: S.Schema<ListSecretFilesForBuildSourceResponseBodyList>;
|
|
4671
|
+
export type ListSecretFilesForBuildSourceResponse = ListSecretFilesForBuildSourceResponseBodyList;
|
|
4672
|
+
export declare const ListSecretFilesForBuildSourceResponse: S.Schema<ListSecretFilesForBuildSourceResponse>;
|
|
4673
|
+
export interface ListSecretFilesForServiceRequest {
|
|
4674
|
+
/** The ID of the service */
|
|
4675
|
+
serviceId: string;
|
|
4676
|
+
/** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4677
|
+
cursor?: string;
|
|
4678
|
+
/** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
|
|
4679
|
+
limit?: number;
|
|
4680
|
+
}
|
|
4681
|
+
export declare const ListSecretFilesForServiceRequest: S.Schema<ListSecretFilesForServiceRequest>;
|
|
4367
4682
|
export type ListSecretFilesForServiceResponseBodyList = Array<SecretFileWithCursor>;
|
|
4368
4683
|
export declare const ListSecretFilesForServiceResponseBodyList: S.Schema<ListSecretFilesForServiceResponseBodyList>;
|
|
4369
4684
|
export type ListSecretFilesForServiceResponse = ListSecretFilesForServiceResponseBodyList;
|
|
@@ -4470,7 +4785,7 @@ export type SchemaAttemptsItem = CreateTaskResponseAttemptsItem;
|
|
|
4470
4785
|
export declare const SchemaAttemptsItem: S.Schema<CreateTaskResponseAttemptsItem>;
|
|
4471
4786
|
export type SchemaAttemptsList = Array<CreateTaskResponseAttemptsItem>;
|
|
4472
4787
|
export declare const SchemaAttemptsList: S.Schema<SchemaAttemptsList>;
|
|
4473
|
-
export interface
|
|
4788
|
+
export interface Schema18 {
|
|
4474
4789
|
id: string;
|
|
4475
4790
|
taskId: string;
|
|
4476
4791
|
status: Status2;
|
|
@@ -4483,9 +4798,9 @@ export interface Schema16 {
|
|
|
4483
4798
|
retries: number;
|
|
4484
4799
|
attempts: SchemaAttemptsList;
|
|
4485
4800
|
}
|
|
4486
|
-
export declare const
|
|
4801
|
+
export declare const Schema18: S.Schema<Schema18>;
|
|
4487
4802
|
export interface TaskRunWithCursor {
|
|
4488
|
-
taskRun:
|
|
4803
|
+
taskRun: Schema18;
|
|
4489
4804
|
cursor: string;
|
|
4490
4805
|
}
|
|
4491
4806
|
export declare const TaskRunWithCursor: S.Schema<TaskRunWithCursor>;
|
|
@@ -4516,16 +4831,16 @@ export interface ListTasksRequest {
|
|
|
4516
4831
|
limit?: number;
|
|
4517
4832
|
}
|
|
4518
4833
|
export declare const ListTasksRequest: S.Schema<ListTasksRequest>;
|
|
4519
|
-
export interface
|
|
4834
|
+
export interface Schema17 {
|
|
4520
4835
|
id: string;
|
|
4521
4836
|
name: string;
|
|
4522
4837
|
createdAt: string;
|
|
4523
4838
|
workflowId?: string;
|
|
4524
4839
|
workflowVersionId?: string;
|
|
4525
4840
|
}
|
|
4526
|
-
export declare const
|
|
4841
|
+
export declare const Schema17: S.Schema<Schema17>;
|
|
4527
4842
|
export interface TaskWithCursor {
|
|
4528
|
-
task:
|
|
4843
|
+
task: Schema17;
|
|
4529
4844
|
cursor: string;
|
|
4530
4845
|
}
|
|
4531
4846
|
export declare const TaskWithCursor: S.Schema<TaskWithCursor>;
|
|
@@ -4580,7 +4895,7 @@ export interface ListWebhooksRequest {
|
|
|
4580
4895
|
}
|
|
4581
4896
|
export declare const ListWebhooksRequest: S.Schema<ListWebhooksRequest>;
|
|
4582
4897
|
export interface WebhookWithCursor {
|
|
4583
|
-
webhook:
|
|
4898
|
+
webhook: Schema14;
|
|
4584
4899
|
cursor: string;
|
|
4585
4900
|
}
|
|
4586
4901
|
export declare const WebhookWithCursor: S.Schema<WebhookWithCursor>;
|
|
@@ -4612,7 +4927,7 @@ export interface ListWorkflowsRequest {
|
|
|
4612
4927
|
}
|
|
4613
4928
|
export declare const ListWorkflowsRequest: S.Schema<ListWorkflowsRequest>;
|
|
4614
4929
|
export interface WorkflowWithCursor {
|
|
4615
|
-
workflow:
|
|
4930
|
+
workflow: Schema15;
|
|
4616
4931
|
cursor: string;
|
|
4617
4932
|
}
|
|
4618
4933
|
export declare const WorkflowWithCursor: S.Schema<WorkflowWithCursor>;
|
|
@@ -4641,16 +4956,16 @@ export interface ListWorkflowVersionsRequest {
|
|
|
4641
4956
|
export declare const ListWorkflowVersionsRequest: S.Schema<ListWorkflowVersionsRequest>;
|
|
4642
4957
|
export type SchemaStatus = "created" | "building" | "registering" | "build_failed" | "registration_failed" | "ready";
|
|
4643
4958
|
export declare const SchemaStatus: any;
|
|
4644
|
-
export interface
|
|
4959
|
+
export interface Schema16 {
|
|
4645
4960
|
id: string;
|
|
4646
4961
|
workflowId: string;
|
|
4647
4962
|
name: string;
|
|
4648
4963
|
createdAt: string;
|
|
4649
4964
|
status: SchemaStatus;
|
|
4650
4965
|
}
|
|
4651
|
-
export declare const
|
|
4966
|
+
export declare const Schema16: S.Schema<Schema16>;
|
|
4652
4967
|
export interface WorkflowVersionWithCursor {
|
|
4653
|
-
workflowVersion:
|
|
4968
|
+
workflowVersion: Schema16;
|
|
4654
4969
|
cursor: string;
|
|
4655
4970
|
}
|
|
4656
4971
|
export declare const WorkflowVersionWithCursor: S.Schema<WorkflowVersionWithCursor>;
|
|
@@ -4765,7 +5080,7 @@ export interface RecoverPostgresRequest {
|
|
|
4765
5080
|
/** Name of the new database. */
|
|
4766
5081
|
restoreName?: string;
|
|
4767
5082
|
/** The point in time to restore the database to. See `/recovery-info` for restore availability */
|
|
4768
|
-
restoreTime
|
|
5083
|
+
restoreTime?: string;
|
|
4769
5084
|
/** Datadog API key to use for monitoring the new database. Defaults to the API key of the original database. Use an empty string to prevent copying of the API key to the new database. */
|
|
4770
5085
|
datadogApiKey?: string;
|
|
4771
5086
|
/** Datadog region code to use for monitoring the new database. Defaults to the region code of the original database. Use an empty string to prevent copying of the region code to the new database. */
|
|
@@ -4977,6 +5292,40 @@ export declare const SuspendServiceRequest: S.Schema<SuspendServiceRequest>;
|
|
|
4977
5292
|
export interface SuspendServiceResponse {
|
|
4978
5293
|
}
|
|
4979
5294
|
export declare const SuspendServiceResponse: S.Schema<SuspendServiceResponse>;
|
|
5295
|
+
export interface TriggerBuildSourceBuildRequest {
|
|
5296
|
+
buildSourceId: string;
|
|
5297
|
+
}
|
|
5298
|
+
export declare const TriggerBuildSourceBuildRequest: S.Schema<TriggerBuildSourceBuildRequest>;
|
|
5299
|
+
export type TriggerBuildSourceBuildResponseBuildRunStatus = "created" | "inProgress" | "succeeded" | "failed" | "canceled" | "unknown";
|
|
5300
|
+
export declare const TriggerBuildSourceBuildResponseBuildRunStatus: any;
|
|
5301
|
+
export type TriggerBuildSourceBuildResponseBuildRunRuntime = "docker" | "elixir" | "go" | "node" | "python" | "ruby" | "rust";
|
|
5302
|
+
export declare const TriggerBuildSourceBuildResponseBuildRunRuntime: any;
|
|
5303
|
+
/** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
|
|
5304
|
+
export interface TriggerBuildSourceBuildResponseBuildRun {
|
|
5305
|
+
id: string;
|
|
5306
|
+
status?: TriggerBuildSourceBuildResponseBuildRunStatus;
|
|
5307
|
+
buildStartedAt?: string;
|
|
5308
|
+
buildFinishedAt?: string;
|
|
5309
|
+
runtime?: TriggerBuildSourceBuildResponseBuildRunRuntime;
|
|
5310
|
+
commitId?: string;
|
|
5311
|
+
commitUrl?: string;
|
|
5312
|
+
}
|
|
5313
|
+
export declare const TriggerBuildSourceBuildResponseBuildRun: S.Schema<TriggerBuildSourceBuildResponseBuildRun>;
|
|
5314
|
+
/** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
|
|
5315
|
+
export type TriggerBuildSourceBuildResponseImage = SchemaImage;
|
|
5316
|
+
export declare const TriggerBuildSourceBuildResponseImage: S.Schema<SchemaImage>;
|
|
5317
|
+
export interface TriggerBuildSourceBuildResponse {
|
|
5318
|
+
id: string;
|
|
5319
|
+
buildSourceId: string;
|
|
5320
|
+
/** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
|
|
5321
|
+
buildRun?: TriggerBuildSourceBuildResponseBuildRun;
|
|
5322
|
+
/** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
|
|
5323
|
+
image?: SchemaImage;
|
|
5324
|
+
createdAt: string;
|
|
5325
|
+
updatedAt: string;
|
|
5326
|
+
assetsDeletedAt?: string;
|
|
5327
|
+
}
|
|
5328
|
+
export declare const TriggerBuildSourceBuildResponse: S.Schema<TriggerBuildSourceBuildResponse>;
|
|
4980
5329
|
export interface TriggerMaintenanceRequest {
|
|
4981
5330
|
maintenanceRunID: string;
|
|
4982
5331
|
}
|
|
@@ -4984,6 +5333,15 @@ export declare const TriggerMaintenanceRequest: S.Schema<TriggerMaintenanceReque
|
|
|
4984
5333
|
export interface TriggerMaintenanceResponse {
|
|
4985
5334
|
}
|
|
4986
5335
|
export declare const TriggerMaintenanceResponse: S.Schema<TriggerMaintenanceResponse>;
|
|
5336
|
+
export interface UnlinkEnvGroupFromBuildSourceRequest {
|
|
5337
|
+
buildSourceId: string;
|
|
5338
|
+
/** Filter for resources that belong to an environment group */
|
|
5339
|
+
envGroupId: string;
|
|
5340
|
+
}
|
|
5341
|
+
export declare const UnlinkEnvGroupFromBuildSourceRequest: S.Schema<UnlinkEnvGroupFromBuildSourceRequest>;
|
|
5342
|
+
export interface UnlinkEnvGroupFromBuildSourceResponse {
|
|
5343
|
+
}
|
|
5344
|
+
export declare const UnlinkEnvGroupFromBuildSourceResponse: S.Schema<UnlinkEnvGroupFromBuildSourceResponse>;
|
|
4987
5345
|
export interface UnlinkServiceFromEnvGroupRequest {
|
|
4988
5346
|
envGroupId: string;
|
|
4989
5347
|
serviceId: string;
|
|
@@ -4996,7 +5354,7 @@ export interface UpdateBlueprintRequest {
|
|
|
4996
5354
|
/** The ID of the Blueprint */
|
|
4997
5355
|
blueprintId: string;
|
|
4998
5356
|
name?: string;
|
|
4999
|
-
/**
|
|
5357
|
+
/** Configuration value that controls whether or not this blueprint will be re-synced on each git push to the configured branch. Even when true, autoSync will not apply when the blueprint has the Created status, which indicates its first sync has not yet been approved. Other conditions, such as a locked workspace, can also prevent automatic syncing even when this is true. */
|
|
5000
5358
|
autoSync?: boolean;
|
|
5001
5359
|
/** Path to the Blueprint file in the repository */
|
|
5002
5360
|
path?: string;
|
|
@@ -5013,6 +5371,71 @@ export interface UpdateBlueprintResponse {
|
|
|
5013
5371
|
lastSync?: string;
|
|
5014
5372
|
}
|
|
5015
5373
|
export declare const UpdateBlueprintResponse: S.Schema<UpdateBlueprintResponse>;
|
|
5374
|
+
export type UpdateBuildSourceRequestGitBuildFilterPathsList = Array<string>;
|
|
5375
|
+
export declare const UpdateBuildSourceRequestGitBuildFilterPathsList: S.Schema<UpdateBuildSourceRequestGitBuildFilterPathsList>;
|
|
5376
|
+
export type UpdateBuildSourceRequestGitBuildFilterIgnoredPathsList = Array<string>;
|
|
5377
|
+
export declare const UpdateBuildSourceRequestGitBuildFilterIgnoredPathsList: S.Schema<UpdateBuildSourceRequestGitBuildFilterIgnoredPathsList>;
|
|
5378
|
+
/** Glob patterns matched against files changed by a commit. When set, a commit only triggers a build when at least one changed file matches `paths` and none match `ignoredPaths`. Useful for monorepos where a single repo backs many services. */
|
|
5379
|
+
export interface UpdateBuildSourceRequestGitBuildFilter {
|
|
5380
|
+
paths: UpdateBuildSourceRequestGitBuildFilterPathsList;
|
|
5381
|
+
ignoredPaths: UpdateBuildSourceRequestGitBuildFilterIgnoredPathsList;
|
|
5382
|
+
}
|
|
5383
|
+
export declare const UpdateBuildSourceRequestGitBuildFilter: S.Schema<UpdateBuildSourceRequestGitBuildFilter>;
|
|
5384
|
+
/** Build runtime for the build source. Static sites are not supported for build sources. */
|
|
5385
|
+
export type UpdateBuildSourceRequestGitRuntime = "docker" | "elixir" | "go" | "node" | "python" | "ruby" | "rust";
|
|
5386
|
+
export declare const UpdateBuildSourceRequestGitRuntime: any;
|
|
5387
|
+
/** Region for the build. Honored only when this PATCH performs an image→build transition; rejected on a pure build patch (the cluster is pinned for an existing build), and must match the prior build region when switching back to build after time as an external image. Defaults to "oregon" for first-time builds. */
|
|
5388
|
+
export type UpdateBuildSourceRequestGitRegion = "frankfurt" | "oregon" | "ohio" | "singapore" | "virginia";
|
|
5389
|
+
export declare const UpdateBuildSourceRequestGitRegion: any;
|
|
5390
|
+
export interface UpdateBuildSourceRequestGit {
|
|
5391
|
+
baseDir?: string;
|
|
5392
|
+
branch?: string;
|
|
5393
|
+
buildCommand?: string;
|
|
5394
|
+
/** Glob patterns matched against files changed by a commit. When set, a commit only triggers a build when at least one changed file matches `paths` and none match `ignoredPaths`. Useful for monorepos where a single repo backs many services. */
|
|
5395
|
+
buildFilter?: UpdateBuildSourceRequestGitBuildFilter;
|
|
5396
|
+
dockerfilePath?: string;
|
|
5397
|
+
/** Build runtime for the build source. Static sites are not supported for build sources. */
|
|
5398
|
+
runtime?: UpdateBuildSourceRequestGitRuntime | (string & {});
|
|
5399
|
+
/** Optional reference to the registry credential for this build. Omit the field to leave the stored credential unchanged; send an empty string to clear it. */
|
|
5400
|
+
registryCredentialId?: string;
|
|
5401
|
+
/** Region for the build. Honored only when this PATCH performs an image→build transition; rejected on a pure build patch (the cluster is pinned for an existing build), and must match the prior build region when switching back to build after time as an external image. Defaults to "oregon" for first-time builds. */
|
|
5402
|
+
region?: UpdateBuildSourceRequestGitRegion | (string & {});
|
|
5403
|
+
repoUrl?: string;
|
|
5404
|
+
rootDir?: string;
|
|
5405
|
+
}
|
|
5406
|
+
export declare const UpdateBuildSourceRequestGit: S.Schema<UpdateBuildSourceRequestGit>;
|
|
5407
|
+
/** Patch shape for a build source's image identity. Unset fields are left unchanged on the underlying image reference. ownerId is intentionally omitted — a build source's owner is fixed at creation, and changing the image's owner would amount to a different identity. */
|
|
5408
|
+
export interface UpdateBuildSourceRequestImage {
|
|
5409
|
+
imageUrl?: string;
|
|
5410
|
+
/** Optional reference to the registry credential passed to the image repository to retrieve this image. Omit the field to leave the stored credential unchanged; send an empty string to clear it. */
|
|
5411
|
+
registryCredentialId?: string;
|
|
5412
|
+
}
|
|
5413
|
+
export declare const UpdateBuildSourceRequestImage: S.Schema<UpdateBuildSourceRequestImage>;
|
|
5414
|
+
export interface UpdateBuildSourceRequest {
|
|
5415
|
+
buildSourceId: string;
|
|
5416
|
+
name?: string;
|
|
5417
|
+
git?: UpdateBuildSourceRequestGit;
|
|
5418
|
+
/** Patch shape for a build source's image identity. Unset fields are left unchanged on the underlying image reference. ownerId is intentionally omitted — a build source's owner is fixed at creation, and changing the image's owner would amount to a different identity. */
|
|
5419
|
+
image?: UpdateBuildSourceRequestImage;
|
|
5420
|
+
}
|
|
5421
|
+
export declare const UpdateBuildSourceRequest: S.Schema<UpdateBuildSourceRequest>;
|
|
5422
|
+
export interface EnvVarValue {
|
|
5423
|
+
value: string;
|
|
5424
|
+
}
|
|
5425
|
+
export declare const EnvVarValue: S.Schema<EnvVarValue>;
|
|
5426
|
+
export interface EnvVarGenerateValue {
|
|
5427
|
+
generateValue: boolean;
|
|
5428
|
+
}
|
|
5429
|
+
export declare const EnvVarGenerateValue: S.Schema<EnvVarGenerateValue>;
|
|
5430
|
+
export type AddUpdateEnvVarInput = EnvVarValue | EnvVarGenerateValue;
|
|
5431
|
+
export declare const AddUpdateEnvVarInput: S.Schema<AddUpdateEnvVarInput>;
|
|
5432
|
+
export interface UpdateBuildSourceEnvVarRequest {
|
|
5433
|
+
buildSourceId: string;
|
|
5434
|
+
/** The name of the environment variable */
|
|
5435
|
+
envVarKey: string;
|
|
5436
|
+
body: AddUpdateEnvVarInput;
|
|
5437
|
+
}
|
|
5438
|
+
export declare const UpdateBuildSourceEnvVarRequest: S.Schema<UpdateBuildSourceEnvVarRequest>;
|
|
5016
5439
|
export type UpdateDedicatedIpRequestEnvironmentIdsList = Array<string>;
|
|
5017
5440
|
export declare const UpdateDedicatedIpRequestEnvironmentIdsList: S.Schema<UpdateDedicatedIpRequestEnvironmentIdsList>;
|
|
5018
5441
|
export interface UpdateDedicatedIpRequest {
|
|
@@ -5056,16 +5479,6 @@ export interface UpdateEnvGroupResponse {
|
|
|
5056
5479
|
secretFiles: UpdateEnvGroupResponseSecretFilesList;
|
|
5057
5480
|
}
|
|
5058
5481
|
export declare const UpdateEnvGroupResponse: S.Schema<UpdateEnvGroupResponse>;
|
|
5059
|
-
export interface EnvVarValue {
|
|
5060
|
-
value: string;
|
|
5061
|
-
}
|
|
5062
|
-
export declare const EnvVarValue: S.Schema<EnvVarValue>;
|
|
5063
|
-
export interface EnvVarGenerateValue {
|
|
5064
|
-
generateValue: boolean;
|
|
5065
|
-
}
|
|
5066
|
-
export declare const EnvVarGenerateValue: S.Schema<EnvVarGenerateValue>;
|
|
5067
|
-
export type AddUpdateEnvVarInput = EnvVarValue | EnvVarGenerateValue;
|
|
5068
|
-
export declare const AddUpdateEnvVarInput: S.Schema<AddUpdateEnvVarInput>;
|
|
5069
5482
|
export interface UpdateEnvGroupEnvVarRequest {
|
|
5070
5483
|
/** Filter for resources that belong to an environment group */
|
|
5071
5484
|
envGroupId: string;
|
|
@@ -5138,6 +5551,15 @@ export interface UpdateEnvVarRequest {
|
|
|
5138
5551
|
body: AddUpdateEnvVarInput;
|
|
5139
5552
|
}
|
|
5140
5553
|
export declare const UpdateEnvVarRequest: S.Schema<UpdateEnvVarRequest>;
|
|
5554
|
+
export interface UpdateEnvVarsForBuildSourceRequest {
|
|
5555
|
+
buildSourceId: string;
|
|
5556
|
+
body: Schema6;
|
|
5557
|
+
}
|
|
5558
|
+
export declare const UpdateEnvVarsForBuildSourceRequest: S.Schema<UpdateEnvVarsForBuildSourceRequest>;
|
|
5559
|
+
export type UpdateEnvVarsForBuildSourceResponseBodyList = Array<EnvVarWithCursor>;
|
|
5560
|
+
export declare const UpdateEnvVarsForBuildSourceResponseBodyList: S.Schema<UpdateEnvVarsForBuildSourceResponseBodyList>;
|
|
5561
|
+
export type UpdateEnvVarsForBuildSourceResponse = UpdateEnvVarsForBuildSourceResponseBodyList;
|
|
5562
|
+
export declare const UpdateEnvVarsForBuildSourceResponse: S.Schema<UpdateEnvVarsForBuildSourceResponse>;
|
|
5141
5563
|
export type UpdateEnvVarsForServiceRequestBodyItemCase0 = SchemaItemCase0;
|
|
5142
5564
|
export declare const UpdateEnvVarsForServiceRequestBodyItemCase0: S.Schema<SchemaItemCase0>;
|
|
5143
5565
|
export type UpdateEnvVarsForServiceRequestBodyItemCase1 = SchemaItemCase1;
|
|
@@ -5228,7 +5650,6 @@ export interface UpdatePostgresRequest {
|
|
|
5228
5650
|
/** Datadog region to use for monitoring the new database. Defaults to 'US1'. */
|
|
5229
5651
|
datadogSite?: string;
|
|
5230
5652
|
ipAllowList?: UpdatePostgresRequestIpAllowListList;
|
|
5231
|
-
parameterOverrides?: PostgresParameterOverrides;
|
|
5232
5653
|
readReplicas?: ReadReplicasInput;
|
|
5233
5654
|
}
|
|
5234
5655
|
export declare const UpdatePostgresRequest: S.Schema<UpdatePostgresRequest>;
|
|
@@ -5262,6 +5683,17 @@ export interface UpdateResourceLogStreamResponse {
|
|
|
5262
5683
|
setting?: Items3;
|
|
5263
5684
|
}
|
|
5264
5685
|
export declare const UpdateResourceLogStreamResponse: S.Schema<UpdateResourceLogStreamResponse>;
|
|
5686
|
+
export type UpdateSecretFilesForBuildSourceRequestBodyList = Array<Items>;
|
|
5687
|
+
export declare const UpdateSecretFilesForBuildSourceRequestBodyList: S.Schema<UpdateSecretFilesForBuildSourceRequestBodyList>;
|
|
5688
|
+
export interface UpdateSecretFilesForBuildSourceRequest {
|
|
5689
|
+
buildSourceId: string;
|
|
5690
|
+
body: UpdateSecretFilesForBuildSourceRequestBodyList;
|
|
5691
|
+
}
|
|
5692
|
+
export declare const UpdateSecretFilesForBuildSourceRequest: S.Schema<UpdateSecretFilesForBuildSourceRequest>;
|
|
5693
|
+
export type UpdateSecretFilesForBuildSourceResponseBodyList = Array<SecretFileWithCursor>;
|
|
5694
|
+
export declare const UpdateSecretFilesForBuildSourceResponseBodyList: S.Schema<UpdateSecretFilesForBuildSourceResponseBodyList>;
|
|
5695
|
+
export type UpdateSecretFilesForBuildSourceResponse = UpdateSecretFilesForBuildSourceResponseBodyList;
|
|
5696
|
+
export declare const UpdateSecretFilesForBuildSourceResponse: S.Schema<UpdateSecretFilesForBuildSourceResponse>;
|
|
5265
5697
|
export type UpdateSecretFilesForServiceRequestBodyItem = Items;
|
|
5266
5698
|
export declare const UpdateSecretFilesForServiceRequestBodyItem: S.Schema<Items>;
|
|
5267
5699
|
export type UpdateSecretFilesForServiceRequestBodyList = Array<Items>;
|
|
@@ -5291,6 +5723,7 @@ export interface DockerDetailsPATCH {
|
|
|
5291
5723
|
dockerCommand?: string;
|
|
5292
5724
|
dockerContext?: string;
|
|
5293
5725
|
dockerfilePath?: string;
|
|
5726
|
+
/** Optional reference to the registry credential for this build. Omit the field to leave the stored credential unchanged; send an empty string to clear it. */
|
|
5294
5727
|
registryCredentialId?: string;
|
|
5295
5728
|
}
|
|
5296
5729
|
export declare const DockerDetailsPATCH: S.Schema<DockerDetailsPATCH>;
|
|
@@ -5342,7 +5775,11 @@ export declare const UpdateServiceRequestServiceDetails: S.Schema<UpdateServiceR
|
|
|
5342
5775
|
export interface UpdateServiceRequest {
|
|
5343
5776
|
/** The ID of the service */
|
|
5344
5777
|
serviceId: string;
|
|
5778
|
+
/** The ID of the Build Source to attach this service to. Cannot be combined with other build-configuration changes. Attaching to a Build Source with no builds triggers one. */
|
|
5779
|
+
buildSourceId?: string;
|
|
5780
|
+
buildId?: string;
|
|
5345
5781
|
autoDeploy?: AutoDeploy | (string & {});
|
|
5782
|
+
autoDeployTrigger?: AutoDeployTrigger | (string & {});
|
|
5346
5783
|
repo?: string;
|
|
5347
5784
|
branch?: string;
|
|
5348
5785
|
image?: Image;
|
|
@@ -5368,7 +5805,7 @@ export declare const UpdateWorkflowRequestBuildConfigRuntime: any;
|
|
|
5368
5805
|
export interface UpdateWorkflowRequestBuildConfig {
|
|
5369
5806
|
/** The branch to use for the build, if applicable. */
|
|
5370
5807
|
branch?: string;
|
|
5371
|
-
/** The command to run to build the workflow. */
|
|
5808
|
+
/** The command to run to build the workflow. Required for every runtime except docker, which builds from its Dockerfile. */
|
|
5372
5809
|
buildCommand?: string;
|
|
5373
5810
|
/** The repository URL to use for the build. Cannot be blank. */
|
|
5374
5811
|
repo?: string;
|
|
@@ -5386,7 +5823,7 @@ export interface UpdateWorkflowRequest {
|
|
|
5386
5823
|
buildConfig?: UpdateWorkflowRequestBuildConfig;
|
|
5387
5824
|
/** The command to run the workflow. Cannot be blank. */
|
|
5388
5825
|
runCommand?: string;
|
|
5389
|
-
autoDeployTrigger?:
|
|
5826
|
+
autoDeployTrigger?: AutoDeployTrigger2 | (string & {});
|
|
5390
5827
|
}
|
|
5391
5828
|
export declare const UpdateWorkflowRequest: S.Schema<UpdateWorkflowRequest>;
|
|
5392
5829
|
export interface UpdateWorkspaceMemberRequest {
|
|
@@ -5486,6 +5923,9 @@ export declare const addDisk: API.OperationMethod<AddDiskRequest, AddDiskRespons
|
|
|
5486
5923
|
export type AddHeadersError = Forbidden | NotFound | RenderOpError;
|
|
5487
5924
|
/** Add header rule Add a response header rule to the service with the provided ID. */
|
|
5488
5925
|
export declare const addHeaders: API.OperationMethod<AddHeadersRequest, AddHeadersResponse, AddHeadersError, RenderOpContext>;
|
|
5926
|
+
export type AddOrUpdateBuildSourceSecretFileError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5927
|
+
/** Add or update secret file Add or update a particular secret file for a particular build source. This only applies to secret files set directly on the build source, not to secret files in a linked environment group. */
|
|
5928
|
+
export declare const addOrUpdateBuildSourceSecretFile: API.OperationMethod<AddOrUpdateBuildSourceSecretFileRequest, SecretFile, AddOrUpdateBuildSourceSecretFileError, RenderOpContext>;
|
|
5489
5929
|
export type AddOrUpdateSecretFileError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5490
5930
|
/** Add or update secret file Add or update a particular secret file for a particular service. This only applies to secret files set directly on the service, not to secret files in a linked environment group. */
|
|
5491
5931
|
export declare const addOrUpdateSecretFile: API.OperationMethod<AddOrUpdateSecretFileRequest, SecretFile, AddOrUpdateSecretFileError, RenderOpContext>;
|
|
@@ -5507,9 +5947,12 @@ export declare const cancelDeploy: API.OperationMethod<CancelDeployRequest, Depl
|
|
|
5507
5947
|
export type CancelJobError = BadRequest | NotFound | RenderOpError;
|
|
5508
5948
|
/** Cancel running job Cancel a particular one-off job for a particular service. */
|
|
5509
5949
|
export declare const cancelJob: API.OperationMethod<CancelJobRequest, Schema7, CancelJobError, RenderOpContext>;
|
|
5510
|
-
export type CancelTaskRunError = Forbidden | NotFound | RenderOpError;
|
|
5950
|
+
export type CancelTaskRunError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5511
5951
|
/** Cancel task run Cancel a running task run with the provided ID. */
|
|
5512
5952
|
export declare const cancelTaskRun: API.OperationMethod<CancelTaskRunRequest, CancelTaskRunResponse, CancelTaskRunError, RenderOpContext>;
|
|
5953
|
+
export type CreateBuildSourceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5954
|
+
/** Create a build source Create a build source that can be linked to one or more services in the same workspace. Exactly one of `git` or `image` must be set: - `git`: the build source is git-backed. The code is built in the requested `region` (defaults to `oregon`). - `image`: the build source is image-backed. It points at an existing image in an external registry; no build is performed. `envVars`, `secretFiles`, and `envGroupIds` set the build-time environment and are only valid for `git` sources; the request fails if any are provided with `image`. */
|
|
5955
|
+
export declare const createBuildSource: API.OperationMethod<CreateBuildSourceRequest, CreateBuildSourceResponse, CreateBuildSourceError, RenderOpContext>;
|
|
5513
5956
|
export type CreateCustomDomainError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
5514
5957
|
/** Add custom domain Add a custom domain to the service with the provided ID. */
|
|
5515
5958
|
export declare const createCustomDomain: API.OperationMethod<CreateCustomDomainRequest, CreateCustomDomainResponse, CreateCustomDomainError, RenderOpContext>;
|
|
@@ -5561,6 +6004,15 @@ export declare const createWorkflowVersion: API.OperationMethod<CreateWorkflowVe
|
|
|
5561
6004
|
export type DeleteAutoscalingConfigError = Forbidden | NotFound | RenderOpError;
|
|
5562
6005
|
/** Delete autoscaling config Delete the autoscaling config for a service given the service id. */
|
|
5563
6006
|
export declare const deleteAutoscalingConfig: API.OperationMethod<DeleteAutoscalingConfigRequest, DeleteAutoscalingConfigResponse, DeleteAutoscalingConfigError, RenderOpContext>;
|
|
6007
|
+
export type DeleteBuildSourceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6008
|
+
/** Delete a build source Delete the build source with the provided ID. */
|
|
6009
|
+
export declare const deleteBuildSource: API.OperationMethod<DeleteBuildSourceRequest, DeleteBuildSourceResponse, DeleteBuildSourceError, RenderOpContext>;
|
|
6010
|
+
export type DeleteBuildSourceEnvVarError = Forbidden | NotFound | RenderOpError;
|
|
6011
|
+
/** Delete environment variable Delete a particular environment variable from a particular build source. This only applies to environment variables set directly on the build source, not to environment variables in a linked environment group. */
|
|
6012
|
+
export declare const deleteBuildSourceEnvVar: API.OperationMethod<DeleteBuildSourceEnvVarRequest, DeleteBuildSourceEnvVarResponse, DeleteBuildSourceEnvVarError, RenderOpContext>;
|
|
6013
|
+
export type DeleteBuildSourceSecretFileError = Forbidden | NotFound | RenderOpError;
|
|
6014
|
+
/** Delete secret file Delete a particular secret file from a particular build source. This only applies to secret files set directly on the build source, not to secret files in a linked environment group. */
|
|
6015
|
+
export declare const deleteBuildSourceSecretFile: API.OperationMethod<DeleteBuildSourceSecretFileRequest, DeleteBuildSourceSecretFileResponse, DeleteBuildSourceSecretFileError, RenderOpContext>;
|
|
5564
6016
|
export type DeleteCustomDomainError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5565
6017
|
/** Delete custom domain Delete a custom domain for a service given the service id and custom domain id or name. */
|
|
5566
6018
|
export declare const deleteCustomDomain: API.OperationMethod<DeleteCustomDomainRequest, DeleteCustomDomainResponse, DeleteCustomDomainError, RenderOpContext>;
|
|
@@ -5648,6 +6100,15 @@ export declare const getBandwidthSources: API.OperationMethod<GetBandwidthSource
|
|
|
5648
6100
|
export type GetBlueprintError = Forbidden | NotFound | RenderOpError;
|
|
5649
6101
|
/** Retrieve Blueprint Retrieve the Blueprint with the provided ID. */
|
|
5650
6102
|
export declare const getBlueprint: API.OperationMethod<GetBlueprintRequest, GetBlueprintResponse, GetBlueprintError, RenderOpContext>;
|
|
6103
|
+
export type GetBuildSourceError = BadRequest | NotFound | RenderOpError;
|
|
6104
|
+
/** Retrieve a build source Retrieve a shared build source by ID */
|
|
6105
|
+
export declare const getBuildSource: API.OperationMethod<GetBuildSourceRequest, Schema12, GetBuildSourceError, RenderOpContext>;
|
|
6106
|
+
export type GetBuildSourceEnvVarError = Forbidden | NotFound | RenderOpError;
|
|
6107
|
+
/** Retrieve environment variable Retrieve a particular environment variable for a particular build source. This only applies to environment variables set directly on the build source, not to environment variables in a linked environment group. */
|
|
6108
|
+
export declare const getBuildSourceEnvVar: API.OperationMethod<GetBuildSourceEnvVarRequest, EnvVar, GetBuildSourceEnvVarError, RenderOpContext>;
|
|
6109
|
+
export type GetBuildSourceSecretFileError = Forbidden | NotFound | RenderOpError;
|
|
6110
|
+
/** Retrieve secret file Retrieve a particular secret file for a particular build source. This only applies to secret files set directly on the build source, not to secret files in a linked environment group. */
|
|
6111
|
+
export declare const getBuildSourceSecretFile: API.OperationMethod<GetBuildSourceSecretFileRequest, SecretFile, GetBuildSourceSecretFileError, RenderOpContext>;
|
|
5651
6112
|
export type GetCpuError = BadRequest | RenderOpError;
|
|
5652
6113
|
/** Get CPU usage Get CPU usage for one or more resources. */
|
|
5653
6114
|
export declare const getCpu: API.OperationMethod<GetCpuRequest, GetCpuResponse, GetCpuError, RenderOpContext>;
|
|
@@ -5690,6 +6151,9 @@ export declare const getEnvironment: API.OperationMethod<GetEnvironmentRequest,
|
|
|
5690
6151
|
export type GetEnvVarError = Forbidden | NotFound | RenderOpError;
|
|
5691
6152
|
/** Retrieve environment variable Retrieve a particular environment variable for a particular service. This only applies to environment variables set directly on the service, not to environment variables in a linked environment group. */
|
|
5692
6153
|
export declare const getEnvVar: API.OperationMethod<GetEnvVarRequest, EnvVar, GetEnvVarError, RenderOpContext>;
|
|
6154
|
+
export type GetEnvVarsForBuildSourceError = Forbidden | NotFound | RenderOpError;
|
|
6155
|
+
/** List environment variables List all environment variables for the build source with the provided ID. */
|
|
6156
|
+
export declare const getEnvVarsForBuildSource: API.OperationMethod<GetEnvVarsForBuildSourceRequest, GetEnvVarsForBuildSourceResponse, GetEnvVarsForBuildSourceError, RenderOpContext>;
|
|
5693
6157
|
export type GetEnvVarsForServiceError = Forbidden | NotFound | RenderOpError;
|
|
5694
6158
|
/** List environment variables List all environment variables for the service with the provided ID. */
|
|
5695
6159
|
export declare const getEnvVarsForService: API.OperationMethod<GetEnvVarsForServiceRequest, GetEnvVarsForServiceResponse, GetEnvVarsForServiceError, RenderOpContext>;
|
|
@@ -5777,7 +6241,7 @@ export declare const getServiceOutboundIps: API.OperationMethod<GetServiceOutbou
|
|
|
5777
6241
|
export type GetTaskError = Forbidden | NotFound | RenderOpError;
|
|
5778
6242
|
/** Retrieve task Retrieve the workflow task with the provided ID. */
|
|
5779
6243
|
export declare const getTask: API.OperationMethod<GetTaskRequest, GetTaskResponse, GetTaskError, RenderOpContext>;
|
|
5780
|
-
export type GetTaskRunError = Forbidden | NotFound | RenderOpError;
|
|
6244
|
+
export type GetTaskRunError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5781
6245
|
/** Retrieve task run Retrieve the workflow task run with the provided ID. */
|
|
5782
6246
|
export declare const getTaskRun: API.OperationMethod<GetTaskRunRequest, GetTaskRunResponse, GetTaskRunError, RenderOpContext>;
|
|
5783
6247
|
export type GetTaskRunsCompletedError = BadRequest | RenderOpError;
|
|
@@ -5791,13 +6255,16 @@ export type GetUserError = RenderOpError;
|
|
|
5791
6255
|
export declare const getUser: API.OperationMethod<GetUserRequest, User, GetUserError, RenderOpContext>;
|
|
5792
6256
|
export type GetWebhookError = NotFound | RenderOpError;
|
|
5793
6257
|
/** Retrieve a webhook Retrieve the webhook with the provided ID */
|
|
5794
|
-
export declare const getWebhook: API.OperationMethod<GetWebhookRequest,
|
|
6258
|
+
export declare const getWebhook: API.OperationMethod<GetWebhookRequest, Schema14, GetWebhookError, RenderOpContext>;
|
|
5795
6259
|
export type GetWorkflowError = Forbidden | NotFound | RenderOpError;
|
|
5796
6260
|
/** Retrieve workflow Retrieve the workflow service with the provided ID. */
|
|
5797
|
-
export declare const getWorkflow: API.OperationMethod<GetWorkflowRequest,
|
|
6261
|
+
export declare const getWorkflow: API.OperationMethod<GetWorkflowRequest, Schema15, GetWorkflowError, RenderOpContext>;
|
|
5798
6262
|
export type GetWorkflowVersionError = Forbidden | NotFound | RenderOpError;
|
|
5799
6263
|
/** Retrieve workflow version Retrieve the specific workflow service version with the provided ID. */
|
|
5800
6264
|
export declare const getWorkflowVersion: API.OperationMethod<GetWorkflowVersionRequest, GetWorkflowVersionResponse, GetWorkflowVersionError, RenderOpContext>;
|
|
6265
|
+
export type LinkEnvGroupToBuildSourceError = BadRequest | NotFound | RenderOpError;
|
|
6266
|
+
/** Link environment group Link a particular environment group to a particular build source. The build source will have access to the environment variables and secret files in the group at build time. */
|
|
6267
|
+
export declare const linkEnvGroupToBuildSource: API.OperationMethod<LinkEnvGroupToBuildSourceRequest, LinkEnvGroupToBuildSourceResponse, LinkEnvGroupToBuildSourceError, RenderOpContext>;
|
|
5801
6268
|
export type LinkServiceToEnvGroupError = BadRequest | NotFound | RenderOpError;
|
|
5802
6269
|
/** Link service Link a particular service to a particular environment group. The linked service will have access to the environment variables and secret files in the group. */
|
|
5803
6270
|
export declare const linkServiceToEnvGroup: API.OperationMethod<LinkServiceToEnvGroupRequest, LinkServiceToEnvGroupResponse, LinkServiceToEnvGroupError, RenderOpContext>;
|
|
@@ -5810,6 +6277,12 @@ export declare const listBlueprints: API.OperationMethod<ListBlueprintsRequest,
|
|
|
5810
6277
|
export type ListBlueprintSyncsError = Forbidden | NotFound | RenderOpError;
|
|
5811
6278
|
/** List Blueprint syncs List syncs for the Blueprint with the provided ID. */
|
|
5812
6279
|
export declare const listBlueprintSyncs: API.OperationMethod<ListBlueprintSyncsRequest, ListBlueprintSyncsResponse, ListBlueprintSyncsError, RenderOpContext>;
|
|
6280
|
+
export type ListBuildsInBuildSourceError = Forbidden | NotFound | RenderOpError;
|
|
6281
|
+
/** List builds in a build source List builds in a build source. */
|
|
6282
|
+
export declare const listBuildsInBuildSource: API.OperationMethod<ListBuildsInBuildSourceRequest, ListBuildsInBuildSourceResponse, ListBuildsInBuildSourceError, RenderOpContext>;
|
|
6283
|
+
export type ListBuildSourcesError = BadRequest | RenderOpError;
|
|
6284
|
+
/** List build sources List build sources matching the provided filters. If `ownerId` is omitted, returns build sources across every workspace you can view. */
|
|
6285
|
+
export declare const listBuildSources: API.OperationMethod<ListBuildSourcesRequest, ListBuildSourcesResponse, ListBuildSourcesError, RenderOpContext>;
|
|
5813
6286
|
export type ListCustomDomainsError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5814
6287
|
/** List custom domains List a particular service's custom domains that match the provided filters. If no filters are provided, all custom domains for the service are returned. */
|
|
5815
6288
|
export declare const listCustomDomains: API.OperationMethod<ListCustomDomainsRequest, ListCustomDomainsResponse, ListCustomDomainsError, RenderOpContext>;
|
|
@@ -5903,6 +6376,9 @@ export declare const listResourceLogStreams: API.OperationMethod<ListResourceLog
|
|
|
5903
6376
|
export type ListRoutesError = Forbidden | NotFound | RenderOpError;
|
|
5904
6377
|
/** List redirect/rewrite rules List a particular service's redirect/rewrite rules that match the provided filters. If no filters are provided, all rules for the service are returned. */
|
|
5905
6378
|
export declare const listRoutes: API.OperationMethod<ListRoutesRequest, ListRoutesResponse, ListRoutesError, RenderOpContext>;
|
|
6379
|
+
export type ListSecretFilesForBuildSourceError = Forbidden | NotFound | RenderOpError;
|
|
6380
|
+
/** List secret files List all secret files for the build source with the provided ID. */
|
|
6381
|
+
export declare const listSecretFilesForBuildSource: API.OperationMethod<ListSecretFilesForBuildSourceRequest, ListSecretFilesForBuildSourceResponse, ListSecretFilesForBuildSourceError, RenderOpContext>;
|
|
5906
6382
|
export type ListSecretFilesForServiceError = Forbidden | NotFound | RenderOpError;
|
|
5907
6383
|
/** List secret files List all secret files for the service with the provided ID. */
|
|
5908
6384
|
export declare const listSecretFilesForService: API.OperationMethod<ListSecretFilesForServiceRequest, ListSecretFilesForServiceResponse, ListSecretFilesForServiceError, RenderOpContext>;
|
|
@@ -5912,7 +6388,7 @@ export declare const listServices: API.OperationMethod<ListServicesRequest, List
|
|
|
5912
6388
|
export type ListSnapshotsError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5913
6389
|
/** List snapshots List snapshots for the persistent disk with the provided ID. Each snapshot is a point-in-time copy of the disk's data. */
|
|
5914
6390
|
export declare const listSnapshots: API.OperationMethod<ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsError, RenderOpContext>;
|
|
5915
|
-
export type ListTaskRunsError = Forbidden | NotFound | RenderOpError;
|
|
6391
|
+
export type ListTaskRunsError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5916
6392
|
/** List task runs List task runs that match the provided filters. If no filters are provided, all task runs accessible by the authenticated user are returned. */
|
|
5917
6393
|
export declare const listTaskRuns: API.OperationMethod<ListTaskRunsRequest, ListTaskRunsResponse, ListTaskRunsError, RenderOpContext>;
|
|
5918
6394
|
export type ListTasksError = Forbidden | NotFound | RenderOpError;
|
|
@@ -5988,7 +6464,7 @@ export type ScaleServiceError = BadRequest | Forbidden | NotFound | RenderOpErro
|
|
|
5988
6464
|
/** Scale instance count [Scale](https://render.com/docs/scaling#manual-scaling) the service with the provided ID to a fixed number of instances. Render ignores this value as long as autoscaling is enabled for the service. */
|
|
5989
6465
|
export declare const scaleService: API.OperationMethod<ScaleServiceRequest, ScaleServiceResponse, ScaleServiceError, RenderOpContext>;
|
|
5990
6466
|
export type StreamTaskRunsEventsError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5991
|
-
/** Stream realtime events (SSE) Establishes a unidirectional event stream. The server sends events as lines formatted per the SSE spec. Clients
|
|
6467
|
+
/** Stream realtime events (SSE) Establishes a unidirectional event stream. The server sends events as lines formatted per the SSE spec. Clients should set `Accept: text/event-stream` and keep the connection open. The server sends a `task.completed` event whenever a requested task run reaches any terminal state (`completed`, `failed`, or `canceled`). The `status` field of the payload indicates which state was reached. The server automatically closes the stream in the following cases: - All requested task runs have reached a terminal state. - The stream has not sent any events for 30 minutes. For tasks with a timeout higher than 30 minutes, waiting clients should fall back to polling with the [Retrieve task run](https://api-docs.render.com/reference/gettaskrun) endpoint. */
|
|
5992
6468
|
export declare const streamTaskRunsEvents: API.OperationMethod<StreamTaskRunsEventsRequest, StreamTaskRunsEventsResponse, StreamTaskRunsEventsError, RenderOpContext>;
|
|
5993
6469
|
export type SubscribeLogsError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
5994
6470
|
/** Subscribe to new logs Open a websocket connection to subscribe to logs matching the provided filters. Logs are streamed in real-time as they are generated. You can query for logs across multiple resources, but all resources must be in the same region and belong to the same owner. */
|
|
@@ -6002,15 +6478,27 @@ export declare const suspendPostgres: API.OperationMethod<SuspendPostgresRequest
|
|
|
6002
6478
|
export type SuspendServiceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6003
6479
|
/** Suspend service Suspend the service with the provided ID. */
|
|
6004
6480
|
export declare const suspendService: API.OperationMethod<SuspendServiceRequest, SuspendServiceResponse, SuspendServiceError, RenderOpContext>;
|
|
6481
|
+
export type TriggerBuildSourceBuildError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6482
|
+
/** Trigger a build Start a new build of the build source at the current HEAD of its branch, even if an up-to-date build already exists. Services linked to the build source with autodeploy enabled are deployed with the result. Updating a build source or its build-time environment (env vars, secret files, env groups) with the REST API does not build it. Call this endpoint after those changes to build them. Only `git` build sources can be built. */
|
|
6483
|
+
export declare const triggerBuildSourceBuild: API.OperationMethod<TriggerBuildSourceBuildRequest, TriggerBuildSourceBuildResponse, TriggerBuildSourceBuildError, RenderOpContext>;
|
|
6005
6484
|
export type TriggerMaintenanceError = BadRequest | NotFound | RenderOpError;
|
|
6006
6485
|
/** Trigger maintenance run Trigger the scheduled maintenance run with the provided ID. Triggering maintenance is asynchronous. To check whether maintenance has started, use the [Retrieve maintenance run](https://api-docs.render.com/reference/retrieve-maintenance) endpoint. As maintenance progresses, the run's `state` will change from `scheduled` to other values, such as `in_progress` and `succeeded`. */
|
|
6007
6486
|
export declare const triggerMaintenance: API.OperationMethod<TriggerMaintenanceRequest, TriggerMaintenanceResponse, TriggerMaintenanceError, RenderOpContext>;
|
|
6487
|
+
export type UnlinkEnvGroupFromBuildSourceError = BadRequest | NotFound | RenderOpError;
|
|
6488
|
+
/** Unlink environment group Unlink a particular environment group from a particular build source. The build source will lose access to the environment variables and secret files in the group. */
|
|
6489
|
+
export declare const unlinkEnvGroupFromBuildSource: API.OperationMethod<UnlinkEnvGroupFromBuildSourceRequest, UnlinkEnvGroupFromBuildSourceResponse, UnlinkEnvGroupFromBuildSourceError, RenderOpContext>;
|
|
6008
6490
|
export type UnlinkServiceFromEnvGroupError = BadRequest | NotFound | RenderOpError;
|
|
6009
6491
|
/** Unlink service Unlink a particular service from a particular environment group. The service will lose access to the environment variables and secret files in the group. */
|
|
6010
6492
|
export declare const unlinkServiceFromEnvGroup: API.OperationMethod<UnlinkServiceFromEnvGroupRequest, UnlinkServiceFromEnvGroupResponse, UnlinkServiceFromEnvGroupError, RenderOpContext>;
|
|
6011
6493
|
export type UpdateBlueprintError = Forbidden | NotFound | RenderOpError;
|
|
6012
6494
|
/** Update Blueprint Update the Blueprint with the provided ID. */
|
|
6013
6495
|
export declare const updateBlueprint: API.OperationMethod<UpdateBlueprintRequest, UpdateBlueprintResponse, UpdateBlueprintError, RenderOpContext>;
|
|
6496
|
+
export type UpdateBuildSourceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6497
|
+
/** Update a build source Update a shared build source. Each top-level field is a true patch, unset fields are left unchanged. Supplying `git` or `image` can change the build source's underlying identity: - `image` on a git-backed build source switches it to image-backed - `git` on an image-backed build source switches it to git-backed - `git` on a build source that's already git-backed is a pure patch onto the existing config */
|
|
6498
|
+
export declare const updateBuildSource: API.OperationMethod<UpdateBuildSourceRequest, Schema12, UpdateBuildSourceError, RenderOpContext>;
|
|
6499
|
+
export type UpdateBuildSourceEnvVarError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6500
|
+
/** Add or update environment variable Add or update a particular environment variable for a particular build source. This only applies to environment variables set directly on the build source, not to environment variables in a linked environment group. */
|
|
6501
|
+
export declare const updateBuildSourceEnvVar: API.OperationMethod<UpdateBuildSourceEnvVarRequest, EnvVar, UpdateBuildSourceEnvVarError, RenderOpContext>;
|
|
6014
6502
|
export type UpdateDedicatedIpError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
6015
6503
|
/** Update dedicated IP set Update the dedicated IP set with the provided ID. All fields are optional. Omitted fields are left unchanged. To switch from environment-scoped to workspace-scoped, provide `environmentIds: []`. */
|
|
6016
6504
|
export declare const updateDedicatedIp: API.OperationMethod<UpdateDedicatedIpRequest, DedicatedIP, UpdateDedicatedIpError, RenderOpContext>;
|
|
@@ -6032,6 +6520,9 @@ export declare const updateEnvironment: API.OperationMethod<UpdateEnvironmentReq
|
|
|
6032
6520
|
export type UpdateEnvVarError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6033
6521
|
/** Add or update environment variable Add or update a particular environment variable for a particular service. This only applies to environment variables set directly on the service, not to environment variables in a linked environment group. */
|
|
6034
6522
|
export declare const updateEnvVar: API.OperationMethod<UpdateEnvVarRequest, EnvVar, UpdateEnvVarError, RenderOpContext>;
|
|
6523
|
+
export type UpdateEnvVarsForBuildSourceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6524
|
+
/** Update environment variables Replace all environment variables for a build source with the provided list of environment variables. */
|
|
6525
|
+
export declare const updateEnvVarsForBuildSource: API.OperationMethod<UpdateEnvVarsForBuildSourceRequest, UpdateEnvVarsForBuildSourceResponse, UpdateEnvVarsForBuildSourceError, RenderOpContext>;
|
|
6035
6526
|
export type UpdateEnvVarsForServiceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6036
6527
|
/** Update environment variables Replace all environment variables for a service with the provided list of environment variables. */
|
|
6037
6528
|
export declare const updateEnvVarsForService: API.OperationMethod<UpdateEnvVarsForServiceRequest, UpdateEnvVarsForServiceResponse, UpdateEnvVarsForServiceError, RenderOpContext>;
|
|
@@ -6059,6 +6550,9 @@ export declare const updateRegistryCredential: API.OperationMethod<UpdateRegistr
|
|
|
6059
6550
|
export type UpdateResourceLogStreamError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6060
6551
|
/** Update log stream override Updates log stream override information for the specified resource. A log stream override takes precedence over a workspace's default log stream. */
|
|
6061
6552
|
export declare const updateResourceLogStream: API.OperationMethod<UpdateResourceLogStreamRequest, UpdateResourceLogStreamResponse, UpdateResourceLogStreamError, RenderOpContext>;
|
|
6553
|
+
export type UpdateSecretFilesForBuildSourceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6554
|
+
/** Update secret files Replace all secret files for a build source with the provided list of secret files. **Any of the build source's existing secret files not included in this request will be deleted.** This only applies to secret files set directly on the build source, not to secret files in a linked environment group. */
|
|
6555
|
+
export declare const updateSecretFilesForBuildSource: API.OperationMethod<UpdateSecretFilesForBuildSourceRequest, UpdateSecretFilesForBuildSourceResponse, UpdateSecretFilesForBuildSourceError, RenderOpContext>;
|
|
6062
6556
|
export type UpdateSecretFilesForServiceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6063
6557
|
/** Update secret files Replace all secret files for a service with the provided list of secret files. **Any of the service's existing secret files not included in this request will be deleted.** This only applies to secret files set directly on the service, not to secret files in a linked environment group. */
|
|
6064
6558
|
export declare const updateSecretFilesForService: API.OperationMethod<UpdateSecretFilesForServiceRequest, UpdateSecretFilesForServiceResponse, UpdateSecretFilesForServiceError, RenderOpContext>;
|
|
@@ -6067,10 +6561,10 @@ export type UpdateServiceError = BadRequest | Forbidden | NotFound | Conflict |
|
|
|
6067
6561
|
export declare const updateService: API.OperationMethod<UpdateServiceRequest, Service, UpdateServiceError, RenderOpContext>;
|
|
6068
6562
|
export type UpdateWebhookError = BadRequest | NotFound | RenderOpError;
|
|
6069
6563
|
/** Update a webhook Update the webhook with the provided ID. */
|
|
6070
|
-
export declare const updateWebhook: API.OperationMethod<UpdateWebhookRequest,
|
|
6564
|
+
export declare const updateWebhook: API.OperationMethod<UpdateWebhookRequest, Schema14, UpdateWebhookError, RenderOpContext>;
|
|
6071
6565
|
export type UpdateWorkflowError = Forbidden | NotFound | RenderOpError;
|
|
6072
6566
|
/** Update workflow Update the workflow service with the provided ID. */
|
|
6073
|
-
export declare const updateWorkflow: API.OperationMethod<UpdateWorkflowRequest,
|
|
6567
|
+
export declare const updateWorkflow: API.OperationMethod<UpdateWorkflowRequest, Schema15, UpdateWorkflowError, RenderOpContext>;
|
|
6074
6568
|
export type UpdateWorkspaceMemberError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
6075
6569
|
/** Update workspace member role Update the role of an existing workspace member. */
|
|
6076
6570
|
export declare const updateWorkspaceMember: API.OperationMethod<UpdateWorkspaceMemberRequest, TeamMember, UpdateWorkspaceMemberError, RenderOpContext>;
|