@distilled.cloud/fly-io 0.3.0-alpha → 0.5.0
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/lib/operations/AppCertificatesAcmeCreate.d.ts +57 -0
- package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +1 -0
- package/lib/operations/AppCertificatesAcmeCreate.js +69 -0
- package/lib/operations/AppCertificatesAcmeCreate.js.map +1 -0
- package/lib/operations/AppCertificatesAcmeDelete.d.ts +55 -0
- package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +1 -0
- package/lib/operations/AppCertificatesAcmeDelete.js +70 -0
- package/lib/operations/AppCertificatesAcmeDelete.js.map +1 -0
- package/lib/operations/AppCertificatesCheck.d.ts +64 -0
- package/lib/operations/AppCertificatesCheck.d.ts.map +1 -0
- package/lib/operations/AppCertificatesCheck.js +79 -0
- package/lib/operations/AppCertificatesCheck.js.map +1 -0
- package/lib/operations/AppCertificatesCustomCreate.d.ts +59 -0
- package/lib/operations/AppCertificatesCustomCreate.d.ts.map +1 -0
- package/lib/operations/AppCertificatesCustomCreate.js +72 -0
- package/lib/operations/AppCertificatesCustomCreate.js.map +1 -0
- package/lib/operations/AppCertificatesCustomDelete.d.ts +56 -0
- package/lib/operations/AppCertificatesCustomDelete.d.ts.map +1 -0
- package/lib/operations/AppCertificatesCustomDelete.js +71 -0
- package/lib/operations/AppCertificatesCustomDelete.js.map +1 -0
- package/lib/operations/AppCertificatesDelete.d.ts +10 -0
- package/lib/operations/AppCertificatesDelete.d.ts.map +1 -0
- package/lib/operations/AppCertificatesDelete.js +21 -0
- package/lib/operations/AppCertificatesDelete.js.map +1 -0
- package/lib/operations/AppCertificatesList.d.ts +36 -0
- package/lib/operations/AppCertificatesList.d.ts.map +1 -0
- package/lib/operations/AppCertificatesList.js +44 -0
- package/lib/operations/AppCertificatesList.js.map +1 -0
- package/lib/operations/AppCertificatesShow.d.ts +55 -0
- package/lib/operations/AppCertificatesShow.d.ts.map +1 -0
- package/lib/operations/AppCertificatesShow.js +67 -0
- package/lib/operations/AppCertificatesShow.js.map +1 -0
- package/lib/operations/AppIPAssignmentsCreate.d.ts +22 -0
- package/lib/operations/AppIPAssignmentsCreate.d.ts.map +1 -0
- package/lib/operations/AppIPAssignmentsCreate.js +30 -0
- package/lib/operations/AppIPAssignmentsCreate.js.map +1 -0
- package/lib/operations/AppIPAssignmentsDelete.d.ts +10 -0
- package/lib/operations/AppIPAssignmentsDelete.d.ts.map +1 -0
- package/lib/operations/AppIPAssignmentsDelete.js +18 -0
- package/lib/operations/AppIPAssignmentsDelete.js.map +1 -0
- package/lib/operations/AppIPAssignmentsList.d.ts +18 -0
- package/lib/operations/AppIPAssignmentsList.d.ts.map +1 -0
- package/lib/operations/AppIPAssignmentsList.js +26 -0
- package/lib/operations/AppIPAssignmentsList.js.map +1 -0
- package/lib/operations/MachinesGetMetadataKey.d.ts +22 -0
- package/lib/operations/MachinesGetMetadataKey.d.ts.map +1 -0
- package/lib/operations/MachinesGetMetadataKey.js +33 -0
- package/lib/operations/MachinesGetMetadataKey.js.map +1 -0
- package/lib/operations/MachinesUpsertMetadata.d.ts +22 -0
- package/lib/operations/MachinesUpsertMetadata.d.ts.map +1 -0
- package/lib/operations/MachinesUpsertMetadata.js +33 -0
- package/lib/operations/MachinesUpsertMetadata.js.map +1 -0
- package/lib/operations/TokensRequestKms.d.ts +12 -0
- package/lib/operations/TokensRequestKms.d.ts.map +1 -0
- package/lib/operations/TokensRequestKms.js +18 -0
- package/lib/operations/TokensRequestKms.js.map +1 -0
- package/lib/operations/TokensRequestOIDC.d.ts +15 -0
- package/lib/operations/TokensRequestOIDC.d.ts.map +1 -0
- package/lib/operations/TokensRequestOIDC.js +22 -0
- package/lib/operations/TokensRequestOIDC.js.map +1 -0
- package/lib/operations/index.d.ts +13 -13
- package/lib/operations/index.d.ts.map +1 -1
- package/lib/operations/index.js +13 -13
- package/lib/operations/index.js.map +1 -1
- package/package.json +3 -3
- package/src/operations/AppCertificatesAcmeCreate.ts +101 -0
- package/src/operations/AppCertificatesAcmeDelete.ts +102 -0
- package/src/operations/AppCertificatesCheck.ts +111 -0
- package/src/operations/AppCertificatesCustomCreate.ts +104 -0
- package/src/operations/AppCertificatesCustomDelete.ts +103 -0
- package/src/operations/AppCertificatesDelete.ts +30 -0
- package/src/operations/AppCertificatesList.ts +52 -0
- package/src/operations/AppCertificatesShow.ts +95 -0
- package/src/operations/AppIPAssignmentsCreate.ts +38 -0
- package/src/operations/AppIPAssignmentsDelete.ts +28 -0
- package/src/operations/AppIPAssignmentsList.ts +38 -0
- package/src/operations/MachinesGetMetadataKey.ts +43 -0
- package/src/operations/MachinesUpsertMetadata.ts +43 -0
- package/src/operations/TokensRequestKms.ts +24 -0
- package/src/operations/TokensRequestOIDC.ts +28 -0
- package/src/operations/index.ts +13 -13
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppCertificatesCustomDelete.d.ts","sourceRoot":"","sources":["../../src/operations/AppCertificatesCustomDelete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,gCAAgC,mBAM1C,CAAC;AACJ,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyE1C,CAAC;AACL,MAAM,MAAM,iCAAiC,GAC3C,OAAO,iCAAiC,CAAC,IAAI,CAAC;AAGhD;;GAEG;AACH,eAAO,MAAM,2BAA2B,KAKvC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const AppCertificatesCustomDeleteInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
|
|
7
|
+
method: "DELETE",
|
|
8
|
+
path: "/apps/{app_name}/certificates/{hostname}/custom",
|
|
9
|
+
}));
|
|
10
|
+
// Output Schema
|
|
11
|
+
export const AppCertificatesCustomDeleteOutput =
|
|
12
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
|
+
acme_requested: Schema.optional(Schema.Boolean),
|
|
14
|
+
certificates: Schema.optional(Schema.Array(Schema.Struct({
|
|
15
|
+
created_at: Schema.optional(Schema.String),
|
|
16
|
+
expires_at: Schema.optional(Schema.String),
|
|
17
|
+
issued: Schema.optional(Schema.Array(Schema.Struct({
|
|
18
|
+
certificate_authority: Schema.optional(Schema.String),
|
|
19
|
+
expires_at: Schema.optional(Schema.String),
|
|
20
|
+
type: Schema.optional(Schema.Literals(["rsa", "ecdsa"])),
|
|
21
|
+
}))),
|
|
22
|
+
issuer: Schema.optional(Schema.String),
|
|
23
|
+
source: Schema.optional(Schema.Literals(["custom", "fly"])),
|
|
24
|
+
status: Schema.optional(Schema.Literals([
|
|
25
|
+
"active",
|
|
26
|
+
"pending_ownership",
|
|
27
|
+
"pending_validation",
|
|
28
|
+
])),
|
|
29
|
+
}))),
|
|
30
|
+
configured: Schema.optional(Schema.Boolean),
|
|
31
|
+
dns_provider: Schema.optional(Schema.String),
|
|
32
|
+
dns_requirements: Schema.optional(Schema.Struct({
|
|
33
|
+
a: Schema.optional(Schema.Array(Schema.String)),
|
|
34
|
+
aaaa: Schema.optional(Schema.Array(Schema.String)),
|
|
35
|
+
acme_challenge: Schema.optional(Schema.Struct({
|
|
36
|
+
name: Schema.optional(Schema.String),
|
|
37
|
+
target: Schema.optional(Schema.String),
|
|
38
|
+
})),
|
|
39
|
+
cname: Schema.optional(Schema.String),
|
|
40
|
+
ownership: Schema.optional(Schema.Struct({
|
|
41
|
+
app_value: Schema.optional(Schema.String),
|
|
42
|
+
name: Schema.optional(Schema.String),
|
|
43
|
+
org_value: Schema.optional(Schema.String),
|
|
44
|
+
})),
|
|
45
|
+
})),
|
|
46
|
+
hostname: Schema.optional(Schema.String),
|
|
47
|
+
rate_limited_until: Schema.optional(Schema.String),
|
|
48
|
+
status: Schema.optional(Schema.String),
|
|
49
|
+
validation: Schema.optional(Schema.Struct({
|
|
50
|
+
alpn_configured: Schema.optional(Schema.Boolean),
|
|
51
|
+
dns_configured: Schema.optional(Schema.Boolean),
|
|
52
|
+
http_configured: Schema.optional(Schema.Boolean),
|
|
53
|
+
ownership_txt_configured: Schema.optional(Schema.Boolean),
|
|
54
|
+
})),
|
|
55
|
+
validation_errors: Schema.optional(Schema.Array(Schema.Struct({
|
|
56
|
+
code: Schema.optional(Schema.String),
|
|
57
|
+
message: Schema.optional(Schema.String),
|
|
58
|
+
remediation: Schema.optional(Schema.String),
|
|
59
|
+
timestamp: Schema.optional(Schema.String),
|
|
60
|
+
}))),
|
|
61
|
+
warning: Schema.optional(Schema.String),
|
|
62
|
+
});
|
|
63
|
+
// The operation
|
|
64
|
+
/**
|
|
65
|
+
* Remove custom certificate
|
|
66
|
+
*/
|
|
67
|
+
export const AppCertificatesCustomDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
68
|
+
inputSchema: AppCertificatesCustomDeleteInput,
|
|
69
|
+
outputSchema: AppCertificatesCustomDeleteOutput,
|
|
70
|
+
}));
|
|
71
|
+
//# sourceMappingURL=AppCertificatesCustomDelete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppCertificatesCustomDelete.js","sourceRoot":"","sources":["../../src/operations/AppCertificatesCustomDelete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,gCAAgC;AAC3C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,C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,CAAC,MAAM,CAAC;QACZ,eAAe,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;QAChD,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;QAC/C,eAAe,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;QAChD,wBAAwB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;KAC1D,CAAC,CACH;IACD,iBAAiB,EAAE,MAAM,CAAC,QAAQ,CAChC,MAAM,CAAC,KAAK,CACV,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACvC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KAC1C,CAAC,CACH,CACF;IACD,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACxC,CAAC,CAAC;AAIL,gBAAgB;AAChB;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC7E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,gCAAgC;IAC7C,YAAY,EAAE,iCAAiC;CAChD,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const AppCertificatesDeleteInput: Schema.Struct<{}>;
|
|
3
|
+
export type AppCertificatesDeleteInput = typeof AppCertificatesDeleteInput.Type;
|
|
4
|
+
export declare const AppCertificatesDeleteOutput: Schema.Void;
|
|
5
|
+
export type AppCertificatesDeleteOutput = typeof AppCertificatesDeleteOutput.Type;
|
|
6
|
+
/**
|
|
7
|
+
* Remove certificate
|
|
8
|
+
*/
|
|
9
|
+
export declare const AppCertificatesDelete: any;
|
|
10
|
+
//# sourceMappingURL=AppCertificatesDelete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppCertificatesDelete.d.ts","sourceRoot":"","sources":["../../src/operations/AppCertificatesDelete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B,mBAMpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B,aACC,CAAC;AAC1C,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;GAEG;AACH,eAAO,MAAM,qBAAqB,KAKjC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const AppCertificatesDeleteInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
|
|
7
|
+
method: "DELETE",
|
|
8
|
+
path: "/apps/{app_name}/certificates/{hostname}",
|
|
9
|
+
}));
|
|
10
|
+
// Output Schema
|
|
11
|
+
export const AppCertificatesDeleteOutput =
|
|
12
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
13
|
+
// The operation
|
|
14
|
+
/**
|
|
15
|
+
* Remove certificate
|
|
16
|
+
*/
|
|
17
|
+
export const AppCertificatesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
18
|
+
inputSchema: AppCertificatesDeleteInput,
|
|
19
|
+
outputSchema: AppCertificatesDeleteOutput,
|
|
20
|
+
}));
|
|
21
|
+
//# sourceMappingURL=AppCertificatesDelete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppCertificatesDelete.js","sourceRoot":"","sources":["../../src/operations/AppCertificatesDelete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAChD,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,0CAA0C;CACjD,CAAC,CACH,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACvE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,0BAA0B;IACvC,YAAY,EAAE,2BAA2B;CAC1C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const AppCertificatesListInput: Schema.Struct<{
|
|
3
|
+
readonly filter: Schema.optional<Schema.String>;
|
|
4
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
5
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
6
|
+
}>;
|
|
7
|
+
export type AppCertificatesListInput = typeof AppCertificatesListInput.Type;
|
|
8
|
+
export declare const AppCertificatesListOutput: Schema.Struct<{
|
|
9
|
+
readonly certificates: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
10
|
+
readonly acme_alpn_configured: Schema.optional<Schema.Boolean>;
|
|
11
|
+
readonly acme_dns_configured: Schema.optional<Schema.Boolean>;
|
|
12
|
+
readonly acme_http_configured: Schema.optional<Schema.Boolean>;
|
|
13
|
+
readonly acme_requested: Schema.optional<Schema.Boolean>;
|
|
14
|
+
readonly configured: Schema.optional<Schema.Boolean>;
|
|
15
|
+
readonly created_at: Schema.optional<Schema.String>;
|
|
16
|
+
readonly dns_provider: Schema.optional<Schema.String>;
|
|
17
|
+
readonly has_custom_certificate: Schema.optional<Schema.Boolean>;
|
|
18
|
+
readonly has_fly_certificate: Schema.optional<Schema.Boolean>;
|
|
19
|
+
readonly hostname: Schema.optional<Schema.String>;
|
|
20
|
+
readonly ownership_txt_configured: Schema.optional<Schema.Boolean>;
|
|
21
|
+
readonly status: Schema.optional<Schema.String>;
|
|
22
|
+
readonly updated_at: Schema.optional<Schema.String>;
|
|
23
|
+
}>>>;
|
|
24
|
+
readonly next_cursor: Schema.optional<Schema.String>;
|
|
25
|
+
readonly total_count: Schema.optional<Schema.Number>;
|
|
26
|
+
}>;
|
|
27
|
+
export type AppCertificatesListOutput = typeof AppCertificatesListOutput.Type;
|
|
28
|
+
/**
|
|
29
|
+
* List certificates for app
|
|
30
|
+
*
|
|
31
|
+
* @param filter - Hostname filter (substring match)
|
|
32
|
+
* @param cursor - Pagination cursor from previous response
|
|
33
|
+
* @param limit - Number of results per page (default 25, max 500)
|
|
34
|
+
*/
|
|
35
|
+
export declare const AppCertificatesList: any;
|
|
36
|
+
//# sourceMappingURL=AppCertificatesList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppCertificatesList.d.ts","sourceRoot":"","sources":["../../src/operations/AppCertificatesList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;;EAKsC,CAAC;AAC5E,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAuBlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,KAG7B,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const AppCertificatesListInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
filter: Schema.optional(Schema.String),
|
|
8
|
+
cursor: Schema.optional(Schema.String),
|
|
9
|
+
limit: Schema.optional(Schema.Number),
|
|
10
|
+
}).pipe(T.Http({ method: "GET", path: "/apps/{app_name}/certificates" }));
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const AppCertificatesListOutput =
|
|
13
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
certificates: Schema.optional(Schema.Array(Schema.Struct({
|
|
15
|
+
acme_alpn_configured: Schema.optional(Schema.Boolean),
|
|
16
|
+
acme_dns_configured: Schema.optional(Schema.Boolean),
|
|
17
|
+
acme_http_configured: Schema.optional(Schema.Boolean),
|
|
18
|
+
acme_requested: Schema.optional(Schema.Boolean),
|
|
19
|
+
configured: Schema.optional(Schema.Boolean),
|
|
20
|
+
created_at: Schema.optional(Schema.String),
|
|
21
|
+
dns_provider: Schema.optional(Schema.String),
|
|
22
|
+
has_custom_certificate: Schema.optional(Schema.Boolean),
|
|
23
|
+
has_fly_certificate: Schema.optional(Schema.Boolean),
|
|
24
|
+
hostname: Schema.optional(Schema.String),
|
|
25
|
+
ownership_txt_configured: Schema.optional(Schema.Boolean),
|
|
26
|
+
status: Schema.optional(Schema.String),
|
|
27
|
+
updated_at: Schema.optional(Schema.String),
|
|
28
|
+
}))),
|
|
29
|
+
next_cursor: Schema.optional(Schema.String),
|
|
30
|
+
total_count: Schema.optional(Schema.Number),
|
|
31
|
+
});
|
|
32
|
+
// The operation
|
|
33
|
+
/**
|
|
34
|
+
* List certificates for app
|
|
35
|
+
*
|
|
36
|
+
* @param filter - Hostname filter (substring match)
|
|
37
|
+
* @param cursor - Pagination cursor from previous response
|
|
38
|
+
* @param limit - Number of results per page (default 25, max 500)
|
|
39
|
+
*/
|
|
40
|
+
export const AppCertificatesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
41
|
+
inputSchema: AppCertificatesListInput,
|
|
42
|
+
outputSchema: AppCertificatesListOutput,
|
|
43
|
+
}));
|
|
44
|
+
//# sourceMappingURL=AppCertificatesList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppCertificatesList.js","sourceRoot":"","sources":["../../src/operations/AppCertificatesList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACtC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,+BAA+B,EAAE,CAAC,CAAC,CAAC;AAG5E,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAA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AAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7E,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;CACxC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const AppCertificatesShowInput: Schema.Struct<{}>;
|
|
3
|
+
export type AppCertificatesShowInput = typeof AppCertificatesShowInput.Type;
|
|
4
|
+
export declare const AppCertificatesShowOutput: Schema.Struct<{
|
|
5
|
+
readonly acme_requested: Schema.optional<Schema.Boolean>;
|
|
6
|
+
readonly certificates: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
7
|
+
readonly created_at: Schema.optional<Schema.String>;
|
|
8
|
+
readonly expires_at: Schema.optional<Schema.String>;
|
|
9
|
+
readonly issued: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
10
|
+
readonly certificate_authority: Schema.optional<Schema.String>;
|
|
11
|
+
readonly expires_at: Schema.optional<Schema.String>;
|
|
12
|
+
readonly type: Schema.optional<Schema.Literals<readonly ["rsa", "ecdsa"]>>;
|
|
13
|
+
}>>>;
|
|
14
|
+
readonly issuer: Schema.optional<Schema.String>;
|
|
15
|
+
readonly source: Schema.optional<Schema.Literals<readonly ["custom", "fly"]>>;
|
|
16
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["active", "pending_ownership", "pending_validation"]>>;
|
|
17
|
+
}>>>;
|
|
18
|
+
readonly configured: Schema.optional<Schema.Boolean>;
|
|
19
|
+
readonly dns_provider: Schema.optional<Schema.String>;
|
|
20
|
+
readonly dns_requirements: Schema.optional<Schema.Struct<{
|
|
21
|
+
readonly a: Schema.optional<Schema.$Array<Schema.String>>;
|
|
22
|
+
readonly aaaa: Schema.optional<Schema.$Array<Schema.String>>;
|
|
23
|
+
readonly acme_challenge: Schema.optional<Schema.Struct<{
|
|
24
|
+
readonly name: Schema.optional<Schema.String>;
|
|
25
|
+
readonly target: Schema.optional<Schema.String>;
|
|
26
|
+
}>>;
|
|
27
|
+
readonly cname: Schema.optional<Schema.String>;
|
|
28
|
+
readonly ownership: Schema.optional<Schema.Struct<{
|
|
29
|
+
readonly app_value: Schema.optional<Schema.String>;
|
|
30
|
+
readonly name: Schema.optional<Schema.String>;
|
|
31
|
+
readonly org_value: Schema.optional<Schema.String>;
|
|
32
|
+
}>>;
|
|
33
|
+
}>>;
|
|
34
|
+
readonly hostname: Schema.optional<Schema.String>;
|
|
35
|
+
readonly rate_limited_until: Schema.optional<Schema.String>;
|
|
36
|
+
readonly status: Schema.optional<Schema.String>;
|
|
37
|
+
readonly validation: Schema.optional<Schema.Struct<{
|
|
38
|
+
readonly alpn_configured: Schema.optional<Schema.Boolean>;
|
|
39
|
+
readonly dns_configured: Schema.optional<Schema.Boolean>;
|
|
40
|
+
readonly http_configured: Schema.optional<Schema.Boolean>;
|
|
41
|
+
readonly ownership_txt_configured: Schema.optional<Schema.Boolean>;
|
|
42
|
+
}>>;
|
|
43
|
+
readonly validation_errors: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
44
|
+
readonly code: Schema.optional<Schema.String>;
|
|
45
|
+
readonly message: Schema.optional<Schema.String>;
|
|
46
|
+
readonly remediation: Schema.optional<Schema.String>;
|
|
47
|
+
readonly timestamp: Schema.optional<Schema.String>;
|
|
48
|
+
}>>>;
|
|
49
|
+
}>;
|
|
50
|
+
export type AppCertificatesShowOutput = typeof AppCertificatesShowOutput.Type;
|
|
51
|
+
/**
|
|
52
|
+
* Get certificate details
|
|
53
|
+
*/
|
|
54
|
+
export declare const AppCertificatesShow: any;
|
|
55
|
+
//# sourceMappingURL=AppCertificatesShow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppCertificatesShow.d.ts","sourceRoot":"","sources":["../../src/operations/AppCertificatesShow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB,mBAGlC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwElC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;GAEG;AACH,eAAO,MAAM,mBAAmB,KAG7B,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const AppCertificatesShowInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/apps/{app_name}/certificates/{hostname}" }));
|
|
7
|
+
// Output Schema
|
|
8
|
+
export const AppCertificatesShowOutput =
|
|
9
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
10
|
+
acme_requested: Schema.optional(Schema.Boolean),
|
|
11
|
+
certificates: Schema.optional(Schema.Array(Schema.Struct({
|
|
12
|
+
created_at: Schema.optional(Schema.String),
|
|
13
|
+
expires_at: Schema.optional(Schema.String),
|
|
14
|
+
issued: Schema.optional(Schema.Array(Schema.Struct({
|
|
15
|
+
certificate_authority: Schema.optional(Schema.String),
|
|
16
|
+
expires_at: Schema.optional(Schema.String),
|
|
17
|
+
type: Schema.optional(Schema.Literals(["rsa", "ecdsa"])),
|
|
18
|
+
}))),
|
|
19
|
+
issuer: Schema.optional(Schema.String),
|
|
20
|
+
source: Schema.optional(Schema.Literals(["custom", "fly"])),
|
|
21
|
+
status: Schema.optional(Schema.Literals([
|
|
22
|
+
"active",
|
|
23
|
+
"pending_ownership",
|
|
24
|
+
"pending_validation",
|
|
25
|
+
])),
|
|
26
|
+
}))),
|
|
27
|
+
configured: Schema.optional(Schema.Boolean),
|
|
28
|
+
dns_provider: Schema.optional(Schema.String),
|
|
29
|
+
dns_requirements: Schema.optional(Schema.Struct({
|
|
30
|
+
a: Schema.optional(Schema.Array(Schema.String)),
|
|
31
|
+
aaaa: Schema.optional(Schema.Array(Schema.String)),
|
|
32
|
+
acme_challenge: Schema.optional(Schema.Struct({
|
|
33
|
+
name: Schema.optional(Schema.String),
|
|
34
|
+
target: Schema.optional(Schema.String),
|
|
35
|
+
})),
|
|
36
|
+
cname: Schema.optional(Schema.String),
|
|
37
|
+
ownership: Schema.optional(Schema.Struct({
|
|
38
|
+
app_value: Schema.optional(Schema.String),
|
|
39
|
+
name: Schema.optional(Schema.String),
|
|
40
|
+
org_value: Schema.optional(Schema.String),
|
|
41
|
+
})),
|
|
42
|
+
})),
|
|
43
|
+
hostname: Schema.optional(Schema.String),
|
|
44
|
+
rate_limited_until: Schema.optional(Schema.String),
|
|
45
|
+
status: Schema.optional(Schema.String),
|
|
46
|
+
validation: Schema.optional(Schema.Struct({
|
|
47
|
+
alpn_configured: Schema.optional(Schema.Boolean),
|
|
48
|
+
dns_configured: Schema.optional(Schema.Boolean),
|
|
49
|
+
http_configured: Schema.optional(Schema.Boolean),
|
|
50
|
+
ownership_txt_configured: Schema.optional(Schema.Boolean),
|
|
51
|
+
})),
|
|
52
|
+
validation_errors: Schema.optional(Schema.Array(Schema.Struct({
|
|
53
|
+
code: Schema.optional(Schema.String),
|
|
54
|
+
message: Schema.optional(Schema.String),
|
|
55
|
+
remediation: Schema.optional(Schema.String),
|
|
56
|
+
timestamp: Schema.optional(Schema.String),
|
|
57
|
+
}))),
|
|
58
|
+
});
|
|
59
|
+
// The operation
|
|
60
|
+
/**
|
|
61
|
+
* Get certificate details
|
|
62
|
+
*/
|
|
63
|
+
export const AppCertificatesShow = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
64
|
+
inputSchema: AppCertificatesShowInput,
|
|
65
|
+
outputSchema: AppCertificatesShowOutput,
|
|
66
|
+
}));
|
|
67
|
+
//# sourceMappingURL=AppCertificatesShow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppCertificatesShow.js","sourceRoot":"","sources":["../../src/operations/AppCertificatesShow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAChD,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,0CAA0C,EAAE,CAAC,CAC5E,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IAC/C,YAAY,EAAE,MAAM,CAAC,QAAQ,CAC3B,MAAM,CAAC,KAAK,CACV,MAAM,CAAC,MAAM,CAAC;QACZ,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,MAAM,EAAE,MAAM,CAAC,QAAQ,CACrB,MAAM,CAAC,KAAK,CACV,MAAM,CAAC,MAAM,CAAC;YACZ,qBAAqB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACrD,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YAC1C,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,C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EAAE,CAAC,CAAC;IAC7E,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;CACxC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const AppIPAssignmentsCreateInput: Schema.Struct<{
|
|
3
|
+
readonly network: Schema.optional<Schema.String>;
|
|
4
|
+
readonly org_slug: Schema.optional<Schema.String>;
|
|
5
|
+
readonly region: Schema.optional<Schema.String>;
|
|
6
|
+
readonly service_name: Schema.optional<Schema.String>;
|
|
7
|
+
readonly type: Schema.optional<Schema.String>;
|
|
8
|
+
}>;
|
|
9
|
+
export type AppIPAssignmentsCreateInput = typeof AppIPAssignmentsCreateInput.Type;
|
|
10
|
+
export declare const AppIPAssignmentsCreateOutput: Schema.Struct<{
|
|
11
|
+
readonly created_at: Schema.optional<Schema.String>;
|
|
12
|
+
readonly ip: Schema.optional<Schema.String>;
|
|
13
|
+
readonly region: Schema.optional<Schema.String>;
|
|
14
|
+
readonly service_name: Schema.optional<Schema.String>;
|
|
15
|
+
readonly shared: Schema.optional<Schema.Boolean>;
|
|
16
|
+
}>;
|
|
17
|
+
export type AppIPAssignmentsCreateOutput = typeof AppIPAssignmentsCreateOutput.Type;
|
|
18
|
+
/**
|
|
19
|
+
* Assign new IP address to app
|
|
20
|
+
*/
|
|
21
|
+
export declare const AppIPAssignmentsCreate: any;
|
|
22
|
+
//# sourceMappingURL=AppIPAssignmentsCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppIPAssignmentsCreate.d.ts","sourceRoot":"","sources":["../../src/operations/AppIPAssignmentsCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,2BAA2B;;;;;;EAOsC,CAAC;AAC/E,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;;;;;EAOrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;GAEG;AACH,eAAO,MAAM,sBAAsB,KAKlC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const AppIPAssignmentsCreateInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
network: Schema.optional(Schema.String),
|
|
8
|
+
org_slug: Schema.optional(Schema.String),
|
|
9
|
+
region: Schema.optional(Schema.String),
|
|
10
|
+
service_name: Schema.optional(Schema.String),
|
|
11
|
+
type: Schema.optional(Schema.String),
|
|
12
|
+
}).pipe(T.Http({ method: "POST", path: "/apps/{app_name}/ip_assignments" }));
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const AppIPAssignmentsCreateOutput =
|
|
15
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
|
+
created_at: Schema.optional(Schema.String),
|
|
17
|
+
ip: Schema.optional(Schema.String),
|
|
18
|
+
region: Schema.optional(Schema.String),
|
|
19
|
+
service_name: Schema.optional(Schema.String),
|
|
20
|
+
shared: Schema.optional(Schema.Boolean),
|
|
21
|
+
});
|
|
22
|
+
// The operation
|
|
23
|
+
/**
|
|
24
|
+
* Assign new IP address to app
|
|
25
|
+
*/
|
|
26
|
+
export const AppIPAssignmentsCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
27
|
+
inputSchema: AppIPAssignmentsCreateInput,
|
|
28
|
+
outputSchema: AppIPAssignmentsCreateOutput,
|
|
29
|
+
}));
|
|
30
|
+
//# sourceMappingURL=AppIPAssignmentsCreate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppIPAssignmentsCreate.js","s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AChB;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACxE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,2BAA2B;IACxC,YAAY,EAAE,4BAA4B;CAC3C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const AppIPAssignmentsDeleteInput: Schema.Struct<{}>;
|
|
3
|
+
export type AppIPAssignmentsDeleteInput = typeof AppIPAssignmentsDeleteInput.Type;
|
|
4
|
+
export declare const AppIPAssignmentsDeleteOutput: Schema.Void;
|
|
5
|
+
export type AppIPAssignmentsDeleteOutput = typeof AppIPAssignmentsDeleteOutput.Type;
|
|
6
|
+
/**
|
|
7
|
+
* Remove IP assignment from app
|
|
8
|
+
*/
|
|
9
|
+
export declare const AppIPAssignmentsDelete: any;
|
|
10
|
+
//# sourceMappingURL=AppIPAssignmentsDelete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppIPAssignmentsDelete.d.ts","sourceRoot":"","sources":["../../src/operations/AppIPAssignmentsDelete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,2BAA2B,mBAGrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B,aACA,CAAC;AAC1C,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;GAEG;AACH,eAAO,MAAM,sBAAsB,KAKlC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const AppIPAssignmentsDeleteInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "DELETE", path: "/apps/{app_name}/ip_assignments/{ip}" }));
|
|
7
|
+
// Output Schema
|
|
8
|
+
export const AppIPAssignmentsDeleteOutput =
|
|
9
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
10
|
+
// The operation
|
|
11
|
+
/**
|
|
12
|
+
* Remove IP assignment from app
|
|
13
|
+
*/
|
|
14
|
+
export const AppIPAssignmentsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
15
|
+
inputSchema: AppIPAssignmentsDeleteInput,
|
|
16
|
+
outputSchema: AppIPAssignmentsDeleteOutput,
|
|
17
|
+
}));
|
|
18
|
+
//# sourceMappingURL=AppIPAssignmentsDelete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppIPAssignmentsDelete.js","sourceRoot":"","sources":["../../src/operations/AppIPAssignmentsDelete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAChD,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,sCAAsC,EAAE,CAAC,CAC3E,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B;AACvC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACxE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,2BAA2B;IACxC,YAAY,EAAE,4BAA4B;CAC3C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const AppIPAssignmentsListInput: Schema.Struct<{}>;
|
|
3
|
+
export type AppIPAssignmentsListInput = typeof AppIPAssignmentsListInput.Type;
|
|
4
|
+
export declare const AppIPAssignmentsListOutput: Schema.Struct<{
|
|
5
|
+
readonly ips: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
6
|
+
readonly created_at: Schema.optional<Schema.String>;
|
|
7
|
+
readonly ip: Schema.optional<Schema.String>;
|
|
8
|
+
readonly region: Schema.optional<Schema.String>;
|
|
9
|
+
readonly service_name: Schema.optional<Schema.String>;
|
|
10
|
+
readonly shared: Schema.optional<Schema.Boolean>;
|
|
11
|
+
}>>>;
|
|
12
|
+
}>;
|
|
13
|
+
export type AppIPAssignmentsListOutput = typeof AppIPAssignmentsListOutput.Type;
|
|
14
|
+
/**
|
|
15
|
+
* List IP assignments for app
|
|
16
|
+
*/
|
|
17
|
+
export declare const AppIPAssignmentsList: any;
|
|
18
|
+
//# sourceMappingURL=AppIPAssignmentsList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppIPAssignmentsList.d.ts","sourceRoot":"","sources":["../../src/operations/AppIPAssignmentsList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yBAAyB,mBAGnC,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;;;;EAanC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;GAEG;AACH,eAAO,MAAM,oBAAoB,KAKhC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const AppIPAssignmentsListInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/apps/{app_name}/ip_assignments" }));
|
|
7
|
+
// Output Schema
|
|
8
|
+
export const AppIPAssignmentsListOutput =
|
|
9
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
10
|
+
ips: Schema.optional(Schema.Array(Schema.Struct({
|
|
11
|
+
created_at: Schema.optional(Schema.String),
|
|
12
|
+
ip: Schema.optional(Schema.String),
|
|
13
|
+
region: Schema.optional(Schema.String),
|
|
14
|
+
service_name: Schema.optional(Schema.String),
|
|
15
|
+
shared: Schema.optional(Schema.Boolean),
|
|
16
|
+
}))),
|
|
17
|
+
});
|
|
18
|
+
// The operation
|
|
19
|
+
/**
|
|
20
|
+
* List IP assignments for app
|
|
21
|
+
*/
|
|
22
|
+
export const AppIPAssignmentsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
23
|
+
inputSchema: AppIPAssignmentsListInput,
|
|
24
|
+
outputSchema: AppIPAssignmentsListOutput,
|
|
25
|
+
}));
|
|
26
|
+
//# sourceMappingURL=AppIPAssignmentsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppIPAssignmentsList.js","sourceRoot":"","sources":["../../src/operations/AppIPAssignmentsList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAChD,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,iCAAiC,EAAE,CAAC,CACnE,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,GAAG,EAAE,MAAM,CAAC,QAAQ,CAClB,MAAM,CAAC,KAAK,CACV,MAAM,CAAC,MAAM,CAAC;QACZ,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC1C,EAAE,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAClC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACtC,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC5C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;KACxC,CAAC,CACH,CACF;CACF,CAAC,CAAC;AAGL,gBAAgB;AAChB;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACtE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,yBAAyB;IACtC,YAAY,EAAE,0BAA0B;CACzC,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const MachinesGetMetadataKeyInput: Schema.Struct<{
|
|
3
|
+
readonly app_name: Schema.String;
|
|
4
|
+
readonly machine_id: Schema.String;
|
|
5
|
+
readonly key: Schema.String;
|
|
6
|
+
}>;
|
|
7
|
+
export type MachinesGetMetadataKeyInput = typeof MachinesGetMetadataKeyInput.Type;
|
|
8
|
+
export declare const MachinesGetMetadataKeyOutput: Schema.Struct<{
|
|
9
|
+
readonly value: Schema.optional<Schema.String>;
|
|
10
|
+
}>;
|
|
11
|
+
export type MachinesGetMetadataKeyOutput = typeof MachinesGetMetadataKeyOutput.Type;
|
|
12
|
+
/**
|
|
13
|
+
* Get Metadata Value
|
|
14
|
+
*
|
|
15
|
+
* Get the value of a specific metadata key
|
|
16
|
+
*
|
|
17
|
+
* @param app_name - Fly App Name
|
|
18
|
+
* @param machine_id - Machine ID
|
|
19
|
+
* @param key - Metadata Key
|
|
20
|
+
*/
|
|
21
|
+
export declare const MachinesGetMetadataKey: any;
|
|
22
|
+
//# sourceMappingURL=MachinesGetMetadataKey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MachinesGetMetadataKey.d.ts","sourceRoot":"","sources":["../../src/operations/MachinesGetMetadataKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,2BAA2B;;;;EAUrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;EAGrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,KAKlC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const MachinesGetMetadataKeyInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
machine_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
key: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
}).pipe(T.Http({
|
|
11
|
+
method: "GET",
|
|
12
|
+
path: "/apps/{app_name}/machines/{machine_id}/metadata/{key}",
|
|
13
|
+
}));
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const MachinesGetMetadataKeyOutput =
|
|
16
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
|
+
value: Schema.optional(Schema.String),
|
|
18
|
+
});
|
|
19
|
+
// The operation
|
|
20
|
+
/**
|
|
21
|
+
* Get Metadata Value
|
|
22
|
+
*
|
|
23
|
+
* Get the value of a specific metadata key
|
|
24
|
+
*
|
|
25
|
+
* @param app_name - Fly App Name
|
|
26
|
+
* @param machine_id - Machine ID
|
|
27
|
+
* @param key - Metadata Key
|
|
28
|
+
*/
|
|
29
|
+
export const MachinesGetMetadataKey = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
30
|
+
inputSchema: MachinesGetMetadataKeyInput,
|
|
31
|
+
outputSchema: MachinesGetMetadataKeyOutput,
|
|
32
|
+
}));
|
|
33
|
+
//# sourceMappingURL=MachinesGetMetadataKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MachinesGetMetadataKey.js","sourceRoot":"","sources":["../../src/operations/MachinesGetMetadataKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7C,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACvC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,uDAAuD;CAC9D,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B;AACvC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACtC,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACxE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,2BAA2B;IACxC,YAAY,EAAE,4BAA4B;CAC3C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const MachinesUpsertMetadataInput: Schema.Struct<{
|
|
3
|
+
readonly app_name: Schema.String;
|
|
4
|
+
readonly machine_id: Schema.String;
|
|
5
|
+
readonly key: Schema.String;
|
|
6
|
+
readonly updated_at: Schema.optional<Schema.String>;
|
|
7
|
+
readonly value: Schema.optional<Schema.String>;
|
|
8
|
+
}>;
|
|
9
|
+
export type MachinesUpsertMetadataInput = typeof MachinesUpsertMetadataInput.Type;
|
|
10
|
+
export declare const MachinesUpsertMetadataOutput: Schema.Void;
|
|
11
|
+
export type MachinesUpsertMetadataOutput = typeof MachinesUpsertMetadataOutput.Type;
|
|
12
|
+
/**
|
|
13
|
+
* Upsert Metadata Key
|
|
14
|
+
*
|
|
15
|
+
* Update metadata for a specific machine within an app by providing a metadata key.
|
|
16
|
+
*
|
|
17
|
+
* @param app_name - Fly App Name
|
|
18
|
+
* @param machine_id - Machine ID
|
|
19
|
+
* @param key - Metadata Key
|
|
20
|
+
*/
|
|
21
|
+
export declare const MachinesUpsertMetadata: any;
|
|
22
|
+
//# sourceMappingURL=MachinesUpsertMetadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MachinesUpsertMetadata.d.ts","sourceRoot":"","sources":["../../src/operations/MachinesUpsertMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,2BAA2B;;;;;;EAYrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B,aACA,CAAC;AAC1C,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,KAKlC,CAAC"}
|