@farthershore/client 0.1.0 → 0.3.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/CHANGELOG.md +172 -0
- package/README.md +9 -8
- package/dist/index.js +105 -54
- package/dist/types/api.generated.d.ts +21 -7
- package/dist/types/generated/schemas.d.ts +3683 -0
- package/dist/types/helpers/wait-for-frontend-build.d.ts +12 -4
- package/dist/types/index.d.ts +2 -2
- package/dist/types/operations/agents.d.ts +204 -12
- package/dist/types/operations/agreements.d.ts +139 -9
- package/dist/types/operations/analytics.d.ts +27 -5
- package/dist/types/operations/audit-notifications.d.ts +64 -7
- package/dist/types/operations/auth.d.ts +12 -4
- package/dist/types/operations/backends.d.ts +211 -9
- package/dist/types/operations/billing.d.ts +60 -4
- package/dist/types/operations/businesses.d.ts +744 -27
- package/dist/types/operations/change-sets.d.ts +426 -7
- package/dist/types/operations/consumers.d.ts +133 -14
- package/dist/types/operations/define.d.ts +16 -5
- package/dist/types/operations/environments.d.ts +40 -4
- package/dist/types/operations/frontend.d.ts +20 -2
- package/dist/types/operations/index.d.ts +3941 -193
- package/dist/types/operations/maker-tokens.d.ts +175 -11
- package/dist/types/operations/organizations.d.ts +321 -19
- package/dist/types/operations/personas.d.ts +98 -8
- package/dist/types/operations/plans-usage.d.ts +69 -3
- package/dist/types/operations/platform.d.ts +420 -12
- package/dist/types/operations/portal.d.ts +409 -16
- package/dist/types/operations/promo-codes.d.ts +126 -6
- package/dist/types/operations/variables.d.ts +170 -7
- package/dist/types/operations/webhooks.d.ts +77 -14
- package/dist/types/surface-types.d.ts +25 -3
- package/dist/types/transport.d.ts +5 -10
- package/dist/types/types.d.ts +385 -411
- package/dist/types/version.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { EnvironmentListResult } from "../types.js";
|
|
2
1
|
import { type ListQuery } from "./define.js";
|
|
3
2
|
export declare const environmentOperations: {
|
|
4
3
|
"environments.read": import("./define.js").OperationEntry<{
|
|
@@ -6,14 +5,51 @@ export declare const environmentOperations: {
|
|
|
6
5
|
limit?: number;
|
|
7
6
|
offset?: number;
|
|
8
7
|
query?: ListQuery;
|
|
9
|
-
},
|
|
8
|
+
}, {
|
|
9
|
+
data: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
10
|
+
pagination: {
|
|
11
|
+
total: number;
|
|
12
|
+
limit: number;
|
|
13
|
+
offset: number;
|
|
14
|
+
hasMore: boolean;
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
data: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
18
|
+
pagination: {
|
|
19
|
+
total: number;
|
|
20
|
+
limit: number;
|
|
21
|
+
offset: number;
|
|
22
|
+
hasMore: boolean;
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
10
25
|
"environments.create": import("./define.js").OperationEntry<{
|
|
11
26
|
businessId: string;
|
|
12
27
|
name: string;
|
|
13
28
|
branch: string;
|
|
14
|
-
},
|
|
29
|
+
}, {
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
branch: string;
|
|
33
|
+
subdomain: string;
|
|
34
|
+
runtimeHostname: string;
|
|
35
|
+
portalHostname: string | null;
|
|
36
|
+
status: string;
|
|
37
|
+
created: boolean;
|
|
38
|
+
branchCreated: boolean;
|
|
39
|
+
}, {
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
branch: string;
|
|
43
|
+
subdomain: string;
|
|
44
|
+
runtimeHostname: string;
|
|
45
|
+
portalHostname: string | null;
|
|
46
|
+
status: string;
|
|
47
|
+
created: boolean;
|
|
48
|
+
branchCreated: boolean;
|
|
49
|
+
}>;
|
|
50
|
+
/** Resolves with no body; an environment already gone also resolves. */
|
|
15
51
|
"environments.delete": import("./define.js").OperationEntry<{
|
|
16
52
|
businessId: string;
|
|
17
53
|
environment: string;
|
|
18
|
-
}, void>;
|
|
54
|
+
}, void, void>;
|
|
19
55
|
};
|
|
@@ -4,10 +4,28 @@ export declare const frontendOperations: {
|
|
|
4
4
|
environmentId?: string;
|
|
5
5
|
/** An immutable Git commit SHA: only that commit's builds. */
|
|
6
6
|
ref?: string;
|
|
7
|
-
},
|
|
7
|
+
}, {
|
|
8
|
+
status: import("../generated/schemas.js").components["schemas"]["FrontendServeState"];
|
|
9
|
+
releases: import("../generated/schemas.js").components["schemas"]["FrontendRelease"][];
|
|
10
|
+
builds: import("../generated/schemas.js").components["schemas"]["FrontendBuild"][];
|
|
11
|
+
}, {
|
|
12
|
+
status: import("../generated/schemas.js").components["schemas"]["FrontendServeState"];
|
|
13
|
+
releases: import("../generated/schemas.js").components["schemas"]["FrontendRelease"][];
|
|
14
|
+
builds: import("../generated/schemas.js").components["schemas"]["FrontendBuild"][];
|
|
15
|
+
}>;
|
|
8
16
|
"frontend.rollback": import("./define.js").OperationEntry<{
|
|
9
17
|
businessId: string;
|
|
10
18
|
releaseId: string;
|
|
11
19
|
environmentId?: string;
|
|
12
|
-
},
|
|
20
|
+
}, {
|
|
21
|
+
releaseId: string;
|
|
22
|
+
buildId: string;
|
|
23
|
+
environmentId: string | null;
|
|
24
|
+
host: string;
|
|
25
|
+
uiMode: "template" | "custom-react";
|
|
26
|
+
}, {
|
|
27
|
+
releaseId: string;
|
|
28
|
+
buildId: string;
|
|
29
|
+
environmentId: string | null;
|
|
30
|
+
}>;
|
|
13
31
|
};
|