@distilled.cloud/turso 0.26.1 → 0.28.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/addLocationToGroup.d.ts +18 -31
- package/lib/operations/addLocationToGroup.d.ts.map +1 -1
- package/lib/operations/addLocationToGroup.js +0 -2
- package/lib/operations/addLocationToGroup.js.map +1 -1
- package/lib/operations/addOrganizationMember.d.ts +12 -19
- package/lib/operations/addOrganizationMember.d.ts.map +1 -1
- package/lib/operations/addOrganizationMember.js +0 -2
- package/lib/operations/addOrganizationMember.js.map +1 -1
- package/lib/operations/createAPIToken.d.ts +20 -20
- package/lib/operations/createAPIToken.d.ts.map +1 -1
- package/lib/operations/createAPIToken.js +20 -3
- package/lib/operations/createAPIToken.js.map +1 -1
- package/lib/operations/createDatabase.d.ts +25 -45
- package/lib/operations/createDatabase.d.ts.map +1 -1
- package/lib/operations/createDatabase.js +0 -2
- package/lib/operations/createDatabase.js.map +1 -1
- package/lib/operations/createDatabaseToken.d.ts +17 -29
- package/lib/operations/createDatabaseToken.d.ts.map +1 -1
- package/lib/operations/createDatabaseToken.js +0 -2
- package/lib/operations/createDatabaseToken.js.map +1 -1
- package/lib/operations/createGroup.d.ts +19 -33
- package/lib/operations/createGroup.d.ts.map +1 -1
- package/lib/operations/createGroup.js +15 -3
- package/lib/operations/createGroup.js.map +1 -1
- package/lib/operations/createGroupToken.d.ts +17 -29
- package/lib/operations/createGroupToken.d.ts.map +1 -1
- package/lib/operations/createGroupToken.js +0 -2
- package/lib/operations/createGroupToken.js.map +1 -1
- package/lib/operations/deleteDatabase.d.ts +10 -15
- package/lib/operations/deleteDatabase.d.ts.map +1 -1
- package/lib/operations/deleteDatabase.js +0 -2
- package/lib/operations/deleteDatabase.js.map +1 -1
- package/lib/operations/deleteGroup.d.ts +17 -29
- package/lib/operations/deleteGroup.d.ts.map +1 -1
- package/lib/operations/deleteGroup.js +0 -2
- package/lib/operations/deleteGroup.js.map +1 -1
- package/lib/operations/deleteOrganizationInviteByEmailV2.d.ts +8 -11
- package/lib/operations/deleteOrganizationInviteByEmailV2.d.ts.map +1 -1
- package/lib/operations/deleteOrganizationInviteByEmailV2.js +0 -2
- package/lib/operations/deleteOrganizationInviteByEmailV2.js.map +1 -1
- package/lib/operations/getCurrentUser.d.ts +16 -25
- package/lib/operations/getCurrentUser.d.ts.map +1 -1
- package/lib/operations/getCurrentUser.js +0 -2
- package/lib/operations/getCurrentUser.js.map +1 -1
- package/lib/operations/getDatabase.d.ts +25 -45
- package/lib/operations/getDatabase.d.ts.map +1 -1
- package/lib/operations/getDatabase.js +0 -2
- package/lib/operations/getDatabase.js.map +1 -1
- package/lib/operations/getDatabaseConfiguration.d.ts +16 -23
- package/lib/operations/getDatabaseConfiguration.d.ts.map +1 -1
- package/lib/operations/getDatabaseConfiguration.js +2 -2
- package/lib/operations/getDatabaseConfiguration.js.map +1 -1
- package/lib/operations/getDatabaseInstance.d.ts +17 -29
- package/lib/operations/getDatabaseInstance.d.ts.map +1 -1
- package/lib/operations/getDatabaseInstance.js +0 -2
- package/lib/operations/getDatabaseInstance.js.map +1 -1
- package/lib/operations/getDatabaseStats.d.ts +14 -23
- package/lib/operations/getDatabaseStats.d.ts.map +1 -1
- package/lib/operations/getDatabaseStats.js +0 -2
- package/lib/operations/getDatabaseStats.js.map +1 -1
- package/lib/operations/getDatabaseUsage.d.ts +29 -53
- package/lib/operations/getDatabaseUsage.d.ts.map +1 -1
- package/lib/operations/getDatabaseUsage.js +0 -2
- package/lib/operations/getDatabaseUsage.js.map +1 -1
- package/lib/operations/getGroup.d.ts +17 -29
- package/lib/operations/getGroup.d.ts.map +1 -1
- package/lib/operations/getGroup.js +0 -2
- package/lib/operations/getGroup.js.map +1 -1
- package/lib/operations/getGroupConfiguration.d.ts +10 -15
- package/lib/operations/getGroupConfiguration.d.ts.map +1 -1
- package/lib/operations/getGroupConfiguration.js +0 -2
- package/lib/operations/getGroupConfiguration.js.map +1 -1
- package/lib/operations/getOrganization.d.ts +20 -33
- package/lib/operations/getOrganization.d.ts.map +1 -1
- package/lib/operations/getOrganization.js +1 -2
- package/lib/operations/getOrganization.js.map +1 -1
- package/lib/operations/getOrganizationMember.d.ts +14 -23
- package/lib/operations/getOrganizationMember.d.ts.map +1 -1
- package/lib/operations/getOrganizationMember.js +0 -2
- package/lib/operations/getOrganizationMember.js.map +1 -1
- package/lib/operations/getOrganizationSubscription.d.ts +14 -23
- package/lib/operations/getOrganizationSubscription.d.ts.map +1 -1
- package/lib/operations/getOrganizationSubscription.js +0 -2
- package/lib/operations/getOrganizationSubscription.js.map +1 -1
- package/lib/operations/getOrganizationUsage.d.ts +38 -71
- package/lib/operations/getOrganizationUsage.d.ts.map +1 -1
- package/lib/operations/getOrganizationUsage.js +0 -2
- package/lib/operations/getOrganizationUsage.js.map +1 -1
- package/lib/operations/index.d.ts +2 -3
- package/lib/operations/index.d.ts.map +1 -1
- package/lib/operations/index.js +2 -3
- package/lib/operations/index.js.map +1 -1
- package/lib/operations/invalidateDatabaseTokens.d.ts +8 -11
- package/lib/operations/invalidateDatabaseTokens.d.ts.map +1 -1
- package/lib/operations/invalidateDatabaseTokens.js +0 -2
- package/lib/operations/invalidateDatabaseTokens.js.map +1 -1
- package/lib/operations/invalidateGroupTokens.d.ts +8 -11
- package/lib/operations/invalidateGroupTokens.d.ts.map +1 -1
- package/lib/operations/invalidateGroupTokens.js +0 -2
- package/lib/operations/invalidateGroupTokens.js.map +1 -1
- package/lib/operations/inviteOrganizationMemberV2.d.ts +16 -27
- package/lib/operations/inviteOrganizationMemberV2.d.ts.map +1 -1
- package/lib/operations/inviteOrganizationMemberV2.js +2 -4
- package/lib/operations/inviteOrganizationMemberV2.js.map +1 -1
- package/lib/operations/listAPITokens.d.ts +15 -17
- package/lib/operations/listAPITokens.d.ts.map +1 -1
- package/lib/operations/listAPITokens.js +3 -2
- package/lib/operations/listAPITokens.js.map +1 -1
- package/lib/operations/listDatabaseInstances.d.ts +16 -27
- package/lib/operations/listDatabaseInstances.d.ts.map +1 -1
- package/lib/operations/listDatabaseInstances.js +0 -2
- package/lib/operations/listDatabaseInstances.js.map +1 -1
- package/lib/operations/listDatabases.d.ts +27 -49
- package/lib/operations/listDatabases.d.ts.map +1 -1
- package/lib/operations/listDatabases.js +0 -2
- package/lib/operations/listDatabases.js.map +1 -1
- package/lib/operations/listGroups.d.ts +16 -27
- package/lib/operations/listGroups.d.ts.map +1 -1
- package/lib/operations/listGroups.js +0 -2
- package/lib/operations/listGroups.js.map +1 -1
- package/lib/operations/listLocations.d.ts +8 -11
- package/lib/operations/listLocations.d.ts.map +1 -1
- package/lib/operations/listLocations.js +0 -2
- package/lib/operations/listLocations.js.map +1 -1
- package/lib/operations/listOrganizationAPITokens.d.ts +33 -0
- package/lib/operations/listOrganizationAPITokens.d.ts.map +1 -0
- package/lib/operations/listOrganizationAPITokens.js +42 -0
- package/lib/operations/listOrganizationAPITokens.js.map +1 -0
- package/lib/operations/listOrganizationAuditLogs.d.ts +24 -43
- package/lib/operations/listOrganizationAuditLogs.d.ts.map +1 -1
- package/lib/operations/listOrganizationAuditLogs.js +0 -2
- package/lib/operations/listOrganizationAuditLogs.js.map +1 -1
- package/lib/operations/listOrganizationInvitesV2.d.ts +14 -25
- package/lib/operations/listOrganizationInvitesV2.d.ts.map +1 -1
- package/lib/operations/listOrganizationInvitesV2.js +0 -3
- package/lib/operations/listOrganizationInvitesV2.js.map +1 -1
- package/lib/operations/listOrganizationInvoices.d.ts +17 -29
- package/lib/operations/listOrganizationInvoices.d.ts.map +1 -1
- package/lib/operations/listOrganizationInvoices.js +0 -2
- package/lib/operations/listOrganizationInvoices.js.map +1 -1
- package/lib/operations/listOrganizationMembers.d.ts +13 -21
- package/lib/operations/listOrganizationMembers.d.ts.map +1 -1
- package/lib/operations/listOrganizationMembers.js +0 -2
- package/lib/operations/listOrganizationMembers.js.map +1 -1
- package/lib/operations/listOrganizationPlans.d.ts +25 -45
- package/lib/operations/listOrganizationPlans.d.ts.map +1 -1
- package/lib/operations/listOrganizationPlans.js +0 -2
- package/lib/operations/listOrganizationPlans.js.map +1 -1
- package/lib/operations/listOrganizations.d.ts +17 -25
- package/lib/operations/listOrganizations.d.ts.map +1 -1
- package/lib/operations/listOrganizations.js +1 -2
- package/lib/operations/listOrganizations.js.map +1 -1
- package/lib/operations/removeLocationFromGroup.d.ts +18 -31
- package/lib/operations/removeLocationFromGroup.d.ts.map +1 -1
- package/lib/operations/removeLocationFromGroup.js +0 -2
- package/lib/operations/removeLocationFromGroup.js.map +1 -1
- package/lib/operations/removeOrganizationMember.d.ts +10 -15
- package/lib/operations/removeOrganizationMember.d.ts.map +1 -1
- package/lib/operations/removeOrganizationMember.js +0 -2
- package/lib/operations/removeOrganizationMember.js.map +1 -1
- package/lib/operations/revokeAPIToken.d.ts +9 -13
- package/lib/operations/revokeAPIToken.d.ts.map +1 -1
- package/lib/operations/revokeAPIToken.js +0 -2
- package/lib/operations/revokeAPIToken.js.map +1 -1
- package/lib/operations/revokeOrganizationAPIToken.d.ts +25 -0
- package/lib/operations/revokeOrganizationAPIToken.d.ts.map +1 -0
- package/lib/operations/revokeOrganizationAPIToken.js +34 -0
- package/lib/operations/revokeOrganizationAPIToken.js.map +1 -0
- package/lib/operations/transferGroup.d.ts +16 -27
- package/lib/operations/transferGroup.d.ts.map +1 -1
- package/lib/operations/transferGroup.js +0 -2
- package/lib/operations/transferGroup.js.map +1 -1
- package/lib/operations/unarchiveGroup.d.ts +17 -29
- package/lib/operations/unarchiveGroup.d.ts.map +1 -1
- package/lib/operations/unarchiveGroup.js +0 -2
- package/lib/operations/unarchiveGroup.js.map +1 -1
- package/lib/operations/updateDatabaseConfiguration.d.ts +23 -33
- package/lib/operations/updateDatabaseConfiguration.d.ts.map +1 -1
- package/lib/operations/updateDatabaseConfiguration.js +4 -2
- package/lib/operations/updateDatabaseConfiguration.js.map +1 -1
- package/lib/operations/updateGroupConfiguration.d.ts +11 -17
- package/lib/operations/updateGroupConfiguration.d.ts.map +1 -1
- package/lib/operations/updateGroupConfiguration.js +0 -2
- package/lib/operations/updateGroupConfiguration.js.map +1 -1
- package/lib/operations/updateGroupDatabases.d.ts +8 -11
- package/lib/operations/updateGroupDatabases.d.ts.map +1 -1
- package/lib/operations/updateGroupDatabases.js +0 -2
- package/lib/operations/updateGroupDatabases.js.map +1 -1
- package/lib/operations/updateMemberRole.d.ts +15 -25
- package/lib/operations/updateMemberRole.d.ts.map +1 -1
- package/lib/operations/updateMemberRole.js +0 -2
- package/lib/operations/updateMemberRole.js.map +1 -1
- package/lib/operations/updateOrganization.d.ts +22 -35
- package/lib/operations/updateOrganization.d.ts.map +1 -1
- package/lib/operations/updateOrganization.js +2 -2
- package/lib/operations/updateOrganization.js.map +1 -1
- package/lib/operations/validateAPIToken.d.ts +8 -9
- package/lib/operations/validateAPIToken.d.ts.map +1 -1
- package/lib/operations/validateAPIToken.js +0 -2
- package/lib/operations/validateAPIToken.js.map +1 -1
- package/package.json +2 -2
- package/src/operations/addLocationToGroup.ts +17 -4
- package/src/operations/addOrganizationMember.ts +11 -5
- package/src/operations/createAPIToken.ts +51 -5
- package/src/operations/createDatabase.ts +29 -4
- package/src/operations/createDatabaseToken.ts +12 -4
- package/src/operations/createGroup.ts +50 -5
- package/src/operations/createGroupToken.ts +12 -4
- package/src/operations/deleteDatabase.ts +9 -4
- package/src/operations/deleteGroup.ts +16 -4
- package/src/operations/deleteOrganizationInviteByEmailV2.ts +7 -6
- package/src/operations/getCurrentUser.ts +16 -4
- package/src/operations/getDatabase.ts +20 -4
- package/src/operations/getDatabaseConfiguration.ts +17 -6
- package/src/operations/getDatabaseInstance.ts +16 -4
- package/src/operations/getDatabaseStats.ts +11 -4
- package/src/operations/getDatabaseUsage.ts +28 -4
- package/src/operations/getGroup.ts +16 -4
- package/src/operations/getGroupConfiguration.ts +9 -5
- package/src/operations/getOrganization.ts +20 -4
- package/src/operations/getOrganizationMember.ts +13 -5
- package/src/operations/getOrganizationSubscription.ts +13 -6
- package/src/operations/getOrganizationUsage.ts +37 -4
- package/src/operations/index.ts +2 -3
- package/src/operations/invalidateDatabaseTokens.ts +7 -6
- package/src/operations/invalidateGroupTokens.ts +7 -5
- package/src/operations/inviteOrganizationMemberV2.ts +17 -8
- package/src/operations/listAPITokens.ts +18 -4
- package/src/operations/listDatabaseInstances.ts +15 -5
- package/src/operations/listDatabases.ts +22 -4
- package/src/operations/listGroups.ts +15 -4
- package/src/operations/listLocations.ts +8 -4
- package/src/operations/listOrganizationAPITokens.ts +70 -0
- package/src/operations/listOrganizationAuditLogs.ts +47 -6
- package/src/operations/listOrganizationInvitesV2.ts +13 -7
- package/src/operations/listOrganizationInvoices.ts +16 -6
- package/src/operations/listOrganizationMembers.ts +12 -6
- package/src/operations/listOrganizationPlans.ts +21 -5
- package/src/operations/listOrganizations.ts +18 -4
- package/src/operations/removeLocationFromGroup.ts +17 -6
- package/src/operations/removeOrganizationMember.ts +9 -6
- package/src/operations/revokeAPIToken.ts +10 -4
- package/src/operations/revokeOrganizationAPIToken.ts +49 -0
- package/src/operations/transferGroup.ts +15 -4
- package/src/operations/unarchiveGroup.ts +16 -4
- package/src/operations/updateDatabaseConfiguration.ts +26 -6
- package/src/operations/updateGroupConfiguration.ts +10 -6
- package/src/operations/updateGroupDatabases.ts +7 -4
- package/src/operations/updateMemberRole.ts +14 -4
- package/src/operations/updateOrganization.ts +23 -4
- package/src/operations/validateAPIToken.ts +8 -4
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
export interface ListAPITokensInput {
|
|
3
|
+
}
|
|
4
|
+
export declare const ListAPITokensInput: Schema.Codec<ListAPITokensInput>;
|
|
5
|
+
export interface ListAPITokensOutput {
|
|
6
|
+
tokens?: {
|
|
7
|
+
name?: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
organization?: string;
|
|
10
|
+
group?: string;
|
|
11
|
+
scopes?: string[];
|
|
12
|
+
created_at?: string;
|
|
13
|
+
}[];
|
|
14
|
+
}
|
|
15
|
+
export declare const ListAPITokensOutput: Schema.Codec<ListAPITokensOutput>;
|
|
12
16
|
/**
|
|
13
17
|
* List API Tokens
|
|
14
18
|
*
|
|
15
19
|
* Returns a list of API tokens belonging to a user.
|
|
16
20
|
*/
|
|
17
|
-
export declare const listAPITokens: import("@distilled.cloud/core/client").OperationMethod<
|
|
18
|
-
readonly tokens?: readonly {
|
|
19
|
-
readonly name?: string | undefined;
|
|
20
|
-
readonly id?: string | undefined;
|
|
21
|
-
readonly organization?: string | undefined;
|
|
22
|
-
}[] | undefined;
|
|
23
|
-
}, never, import("../credentials.ts").Credentials, never>;
|
|
21
|
+
export declare const listAPITokens: import("@distilled.cloud/core/client").OperationMethod<ListAPITokensInput, ListAPITokensOutput, never, import("../credentials.ts").Credentials, never>;
|
|
24
22
|
//# sourceMappingURL=listAPITokens.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listAPITokens.d.ts","sourceRoot":"","sources":["../../src/operations/listAPITokens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"listAPITokens.d.ts","sourceRoot":"","sources":["../../src/operations/listAPITokens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,kBAAkB;CAAG;AACtC,eAAO,MAAM,kBAAkB,EAIf,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;AAGjD,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,EAAE,CAAC;CACL;AACD,eAAO,MAAM,mBAAmB,EAaf,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAGnD;;;;GAIG;AACH,eAAO,MAAM,aAAa,wJAGvB,CAAC"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
|
-
// Input Schema
|
|
5
4
|
export const ListAPITokensInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/v1/auth/api-tokens" }));
|
|
6
|
-
// Output Schema
|
|
7
5
|
export const ListAPITokensOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
6
|
tokens: Schema.optional(Schema.Array(Schema.Struct({
|
|
9
7
|
name: Schema.optional(Schema.String),
|
|
10
8
|
id: Schema.optional(Schema.String),
|
|
11
9
|
organization: Schema.optional(Schema.String),
|
|
10
|
+
group: Schema.optional(Schema.String),
|
|
11
|
+
scopes: Schema.optional(Schema.Array(Schema.String)),
|
|
12
|
+
created_at: Schema.optional(Schema.String),
|
|
12
13
|
}))),
|
|
13
14
|
});
|
|
14
15
|
// The operation
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listAPITokens.js","sourceRoot":"","sources":["../../src/operations/listAPITokens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"listAPITokens.js","sourceRoot":"","sources":["../../src/operations/listAPITokens.ts"],"names":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|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { NotFound } from "../errors.ts";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export
|
|
3
|
+
export interface ListDatabaseInstancesInput {
|
|
4
|
+
organizationSlug: string;
|
|
5
|
+
databaseName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const ListDatabaseInstancesInput: Schema.Codec<ListDatabaseInstancesInput>;
|
|
8
|
+
export interface ListDatabaseInstancesOutput {
|
|
9
|
+
instances?: {
|
|
10
|
+
uuid?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
type?: "primary" | "replica";
|
|
13
|
+
region?: string;
|
|
14
|
+
hostname?: string;
|
|
15
|
+
}[];
|
|
16
|
+
}
|
|
17
|
+
export declare const ListDatabaseInstancesOutput: Schema.Codec<ListDatabaseInstancesOutput>;
|
|
18
18
|
/**
|
|
19
19
|
* List Database Instances
|
|
20
20
|
*
|
|
@@ -23,16 +23,5 @@ export type ListDatabaseInstancesOutput = typeof ListDatabaseInstancesOutput.Typ
|
|
|
23
23
|
* @param organizationSlug - The slug of the organization or user account.
|
|
24
24
|
* @param databaseName - The name of the database.
|
|
25
25
|
*/
|
|
26
|
-
export declare const listDatabaseInstances: import("@distilled.cloud/core/client").OperationMethod<
|
|
27
|
-
readonly organizationSlug: string;
|
|
28
|
-
readonly databaseName: string;
|
|
29
|
-
}, {
|
|
30
|
-
readonly instances?: readonly {
|
|
31
|
-
readonly uuid?: string | undefined;
|
|
32
|
-
readonly name?: string | undefined;
|
|
33
|
-
readonly type?: "primary" | "replica" | undefined;
|
|
34
|
-
readonly region?: string | undefined;
|
|
35
|
-
readonly hostname?: string | undefined;
|
|
36
|
-
}[] | undefined;
|
|
37
|
-
}, NotFound, import("../credentials.ts").Credentials, never>;
|
|
26
|
+
export declare const listDatabaseInstances: import("@distilled.cloud/core/client").OperationMethod<ListDatabaseInstancesInput, ListDatabaseInstancesOutput, NotFound, import("../credentials.ts").Credentials, never>;
|
|
38
27
|
//# sourceMappingURL=listDatabaseInstances.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listDatabaseInstances.d.ts","sourceRoot":"","sources":["../../src/operations/listDatabaseInstances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,
|
|
1
|
+
{"version":3,"file":"listDatabaseInstances.d.ts","sourceRoot":"","sources":["../../src/operations/listDatabaseInstances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,0BAA0B;IACzC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;CACtB;AACD,eAAO,MAAM,0BAA0B,EASrB,MAAM,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;AAG3D,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE;QACV,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;QAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,EAAE,CAAC;CACL;AACD,eAAO,MAAM,2BAA2B,EAarB,MAAM,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;AAG7D;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,2KAMjC,CAAC"}
|
|
@@ -2,7 +2,6 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { NotFound } from "../errors.js";
|
|
5
|
-
// Input Schema
|
|
6
5
|
export const ListDatabaseInstancesInput =
|
|
7
6
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
7
|
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
@@ -11,7 +10,6 @@ export const ListDatabaseInstancesInput =
|
|
|
11
10
|
method: "GET",
|
|
12
11
|
path: "/v1/organizations/{organizationSlug}/databases/{databaseName}/instances",
|
|
13
12
|
}));
|
|
14
|
-
// Output Schema
|
|
15
13
|
export const ListDatabaseInstancesOutput =
|
|
16
14
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
15
|
instances: Schema.optional(Schema.Array(Schema.Struct({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listDatabaseInstances.js","sourceRoot":"","sources":["../../src/operations/listDatabaseInstances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"listDatabaseInstances.js","sourceRoot":"","sources":["../../src/operations/listDatabaseInstances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAOxC,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,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|
|
7
|
-
}
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export
|
|
2
|
+
export interface ListDatabasesInput {
|
|
3
|
+
organizationSlug: string;
|
|
4
|
+
group?: string;
|
|
5
|
+
schema?: string;
|
|
6
|
+
parent?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const ListDatabasesInput: Schema.Codec<ListDatabasesInput>;
|
|
9
|
+
export interface ListDatabasesOutput {
|
|
10
|
+
databases?: {
|
|
11
|
+
Name?: string;
|
|
12
|
+
DbId?: string;
|
|
13
|
+
Hostname?: string;
|
|
14
|
+
block_reads?: boolean;
|
|
15
|
+
block_writes?: boolean;
|
|
16
|
+
regions?: string[];
|
|
17
|
+
primaryRegion?: string;
|
|
18
|
+
group?: string;
|
|
19
|
+
delete_protection?: boolean;
|
|
20
|
+
parent?: {
|
|
21
|
+
id?: string;
|
|
22
|
+
name?: string;
|
|
23
|
+
branched_at?: string;
|
|
24
|
+
} | null;
|
|
25
|
+
}[];
|
|
26
|
+
}
|
|
27
|
+
export declare const ListDatabasesOutput: Schema.Codec<ListDatabasesOutput>;
|
|
28
28
|
/**
|
|
29
29
|
* List Databases
|
|
30
30
|
*
|
|
@@ -35,27 +35,5 @@ export type ListDatabasesOutput = typeof ListDatabasesOutput.Type;
|
|
|
35
35
|
* @param schema - The schema database name that can be used to get databases that belong to that parent schema.
|
|
36
36
|
* @param parent - Filter database branches by using their parent database ID.
|
|
37
37
|
*/
|
|
38
|
-
export declare const listDatabases: import("@distilled.cloud/core/client").OperationMethod<
|
|
39
|
-
readonly organizationSlug: string;
|
|
40
|
-
readonly group?: string | undefined;
|
|
41
|
-
readonly schema?: string | undefined;
|
|
42
|
-
readonly parent?: string | undefined;
|
|
43
|
-
}, {
|
|
44
|
-
readonly databases?: readonly {
|
|
45
|
-
readonly Name?: string | undefined;
|
|
46
|
-
readonly DbId?: string | undefined;
|
|
47
|
-
readonly Hostname?: string | undefined;
|
|
48
|
-
readonly block_reads?: boolean | undefined;
|
|
49
|
-
readonly block_writes?: boolean | undefined;
|
|
50
|
-
readonly regions?: readonly string[] | undefined;
|
|
51
|
-
readonly primaryRegion?: string | undefined;
|
|
52
|
-
readonly group?: string | undefined;
|
|
53
|
-
readonly delete_protection?: boolean | undefined;
|
|
54
|
-
readonly parent?: {
|
|
55
|
-
readonly id?: string | undefined;
|
|
56
|
-
readonly name?: string | undefined;
|
|
57
|
-
readonly branched_at?: string | undefined;
|
|
58
|
-
} | null | undefined;
|
|
59
|
-
}[] | undefined;
|
|
60
|
-
}, never, import("../credentials.ts").Credentials, never>;
|
|
38
|
+
export declare const listDatabases: import("@distilled.cloud/core/client").OperationMethod<ListDatabasesInput, ListDatabasesOutput, never, import("../credentials.ts").Credentials, never>;
|
|
61
39
|
//# sourceMappingURL=listDatabases.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listDatabases.d.ts","sourceRoot":"","sources":["../../src/operations/listDatabases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,
|
|
1
|
+
{"version":3,"file":"listDatabases.d.ts","sourceRoot":"","sources":["../../src/operations/listDatabases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,eAAO,MAAM,kBAAkB,EAUf,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;AAGjD,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE;QACV,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B,MAAM,CAAC,EAAE;YAAE,EAAE,CAAC,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,MAAM,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAA;SAAE,GAAG,IAAI,CAAC;KACtE,EAAE,CAAC;CACL;AACD,eAAO,MAAM,mBAAmB,EAyBf,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAGnD;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,wJAGvB,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
|
-
// Input Schema
|
|
5
4
|
export const ListDatabasesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
5
|
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
7
6
|
group: Schema.optional(Schema.String),
|
|
@@ -11,7 +10,6 @@ export const ListDatabasesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11
10
|
method: "GET",
|
|
12
11
|
path: "/v1/organizations/{organizationSlug}/databases",
|
|
13
12
|
}));
|
|
14
|
-
// Output Schema
|
|
15
13
|
export const ListDatabasesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
14
|
databases: Schema.optional(Schema.Array(Schema.Struct({
|
|
17
15
|
Name: Schema.optional(Schema.String),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listDatabases.js","sourceRoot":"","sources":["../../src/operations/listDatabases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"listDatabases.js","sourceRoot":"","sources":["../../src/operations/listDatabases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AASlC,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1E,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACnD,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACvC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,gDAAgD;CACvD,CAAC,CAC4C,CAAC;AAiBjD,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3E,SAAS,EAAE,MAAM,CAAC,QAAQ,CACxB,MAAM,CAAC,KAAK,CACV,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,C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|
import * as Schema from "effect/Schema";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export
|
|
2
|
+
export interface ListGroupsInput {
|
|
3
|
+
organizationSlug: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const ListGroupsInput: Schema.Codec<ListGroupsInput>;
|
|
6
|
+
export interface ListGroupsOutput {
|
|
7
|
+
groups?: {
|
|
8
|
+
name?: string;
|
|
9
|
+
version?: string;
|
|
10
|
+
uuid?: string;
|
|
11
|
+
locations?: string[];
|
|
12
|
+
primary?: string;
|
|
13
|
+
delete_protection?: boolean;
|
|
14
|
+
}[];
|
|
15
|
+
}
|
|
16
|
+
export declare const ListGroupsOutput: Schema.Codec<ListGroupsOutput>;
|
|
17
17
|
/**
|
|
18
18
|
* List Groups
|
|
19
19
|
*
|
|
@@ -21,16 +21,5 @@ export type ListGroupsOutput = typeof ListGroupsOutput.Type;
|
|
|
21
21
|
*
|
|
22
22
|
* @param organizationSlug - The slug of the organization or user account.
|
|
23
23
|
*/
|
|
24
|
-
export declare const listGroups: import("@distilled.cloud/core/client").OperationMethod<
|
|
25
|
-
readonly organizationSlug: string;
|
|
26
|
-
}, {
|
|
27
|
-
readonly groups?: readonly {
|
|
28
|
-
readonly name?: string | undefined;
|
|
29
|
-
readonly version?: string | undefined;
|
|
30
|
-
readonly uuid?: string | undefined;
|
|
31
|
-
readonly locations?: readonly string[] | undefined;
|
|
32
|
-
readonly primary?: string | undefined;
|
|
33
|
-
readonly delete_protection?: boolean | undefined;
|
|
34
|
-
}[] | undefined;
|
|
35
|
-
}, never, import("../credentials.ts").Credentials, never>;
|
|
24
|
+
export declare const listGroups: import("@distilled.cloud/core/client").OperationMethod<ListGroupsInput, ListGroupsOutput, never, import("../credentials.ts").Credentials, never>;
|
|
36
25
|
//# sourceMappingURL=listGroups.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listGroups.d.ts","sourceRoot":"","sources":["../../src/operations/listGroups.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"listGroups.d.ts","sourceRoot":"","sources":["../../src/operations/listGroups.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AACD,eAAO,MAAM,eAAe,EAOZ,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;AAG9C,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;QACrB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B,EAAE,CAAC;CACL;AACD,eAAO,MAAM,gBAAgB,EAaZ,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAGhD;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,kJAGpB,CAAC"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
|
-
// Input Schema
|
|
5
4
|
export const ListGroupsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
5
|
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
7
6
|
}).pipe(T.Http({
|
|
8
7
|
method: "GET",
|
|
9
8
|
path: "/v1/organizations/{organizationSlug}/groups",
|
|
10
9
|
}));
|
|
11
|
-
// Output Schema
|
|
12
10
|
export const ListGroupsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
11
|
groups: Schema.optional(Schema.Array(Schema.Struct({
|
|
14
12
|
name: Schema.optional(Schema.String),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listGroups.js","sourceRoot":"","sources":["../../src/operations/listGroups.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"listGroups.js","sourceRoot":"","sources":["../../src/operations/listGroups.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAMlC,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACvE,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACpD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,6CAA6C;CACpD,CAAC,CACyC,CAAC;AAa9C,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,MAAM,EAAE,MAAM,CAAC,QAAQ,CACrB,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,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACvD,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACvC,iBAAiB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;KACnD,CAAC,CACH,CACF;CACF,CAA8C,CAAC;AAEhD,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACpE,WAAW,EAAE,eAAe;IAC5B,YAAY,EAAE,gBAAgB;CAC/B,CAAC,CAAC,CAAC"}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
export interface ListLocationsInput {
|
|
3
|
+
}
|
|
4
|
+
export declare const ListLocationsInput: Schema.Codec<ListLocationsInput>;
|
|
5
|
+
export interface ListLocationsOutput {
|
|
6
|
+
locations?: Record<string, string>;
|
|
7
|
+
}
|
|
8
|
+
export declare const ListLocationsOutput: Schema.Codec<ListLocationsOutput>;
|
|
8
9
|
/**
|
|
9
10
|
* List Locations
|
|
10
11
|
*
|
|
11
12
|
* Returns a list of locations where you can create or replicate databases.
|
|
12
13
|
*/
|
|
13
|
-
export declare const listLocations: import("@distilled.cloud/core/client").OperationMethod<
|
|
14
|
-
readonly locations?: {
|
|
15
|
-
readonly [x: string]: string;
|
|
16
|
-
} | undefined;
|
|
17
|
-
}, never, import("../credentials.ts").Credentials, never>;
|
|
14
|
+
export declare const listLocations: import("@distilled.cloud/core/client").OperationMethod<ListLocationsInput, ListLocationsOutput, never, import("../credentials.ts").Credentials, never>;
|
|
18
15
|
//# sourceMappingURL=listLocations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listLocations.d.ts","sourceRoot":"","sources":["../../src/operations/listLocations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"listLocations.d.ts","sourceRoot":"","sources":["../../src/operations/listLocations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,kBAAkB;CAAG;AACtC,eAAO,MAAM,kBAAkB,EAIf,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;AAGjD,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC;AACD,eAAO,MAAM,mBAAmB,EAEf,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAGnD;;;;GAIG;AACH,eAAO,MAAM,aAAa,wJAGvB,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
|
-
// Input Schema
|
|
5
4
|
export const ListLocationsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/v1/locations" }));
|
|
6
|
-
// Output Schema
|
|
7
5
|
export const ListLocationsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
6
|
locations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
9
7
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listLocations.js","sourceRoot":"","sources":["../../src/operations/listLocations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"listLocations.js","sourceRoot":"","sources":["../../src/operations/listLocations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAIlC,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CACzE,EAAE,CACH,CAAC,IAAI,CACJ,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CACF,CAAC;AAMjD,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3E,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;CACxE,CAAiD,CAAC;AAEnD,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACvE,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;CAClC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export interface ListOrganizationAPITokensInput {
|
|
3
|
+
organizationSlug: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const ListOrganizationAPITokensInput: Schema.Codec<ListOrganizationAPITokensInput>;
|
|
6
|
+
export interface ListOrganizationAPITokensOutput {
|
|
7
|
+
tokens?: {
|
|
8
|
+
name?: string;
|
|
9
|
+
id?: string;
|
|
10
|
+
organization?: string;
|
|
11
|
+
group?: string;
|
|
12
|
+
scopes?: string[];
|
|
13
|
+
owner?: {
|
|
14
|
+
username?: string;
|
|
15
|
+
email?: string;
|
|
16
|
+
};
|
|
17
|
+
created_at?: string;
|
|
18
|
+
}[];
|
|
19
|
+
}
|
|
20
|
+
export declare const ListOrganizationAPITokensOutput: Schema.Codec<ListOrganizationAPITokensOutput>;
|
|
21
|
+
/**
|
|
22
|
+
* List Organization API Tokens
|
|
23
|
+
*
|
|
24
|
+
* Returns the API tokens scoped to this organization (both organization-scoped and group-scoped). Unrestricted tokens are not returned here — manage those via [`GET /v1/auth/api-tokens`](/api-reference/tokens/list).
|
|
25
|
+
* Authorization is symmetric with the revoke endpoint:
|
|
26
|
+
* - **Admins and owners** see every token scoped to the organization, with the minting user attached in the `owner` field.
|
|
27
|
+
* - **Members and viewers** see only tokens they minted themselves.
|
|
28
|
+
* This mirrors the personal-access-token model used in GitHub organization settings: admins get the full attribution list; everyone else sees their own access.
|
|
29
|
+
*
|
|
30
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
31
|
+
*/
|
|
32
|
+
export declare const listOrganizationAPITokens: import("@distilled.cloud/core/client").OperationMethod<ListOrganizationAPITokensInput, ListOrganizationAPITokensOutput, never, import("../credentials.ts").Credentials, never>;
|
|
33
|
+
//# sourceMappingURL=listOrganizationAPITokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listOrganizationAPITokens.d.ts","sourceRoot":"","sources":["../../src/operations/listOrganizationAPITokens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,8BAA8B;IAC7C,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AACD,eAAO,MAAM,8BAA8B,EAQzB,MAAM,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;AAG/D,MAAM,WAAW,+BAA+B;IAC9C,MAAM,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;QAClB,KAAK,CAAC,EAAE;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,KAAK,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;QAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,EAAE,CAAC;CACL;AACD,eAAO,MAAM,+BAA+B,EAoBzB,MAAM,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;AAGjE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB,gLAKrC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client.js";
|
|
3
|
+
import * as T from "../traits.js";
|
|
4
|
+
export const ListOrganizationAPITokensInput =
|
|
5
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
|
+
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
7
|
+
}).pipe(T.Http({
|
|
8
|
+
method: "GET",
|
|
9
|
+
path: "/v1/organizations/{organizationSlug}/api-tokens",
|
|
10
|
+
}));
|
|
11
|
+
export const ListOrganizationAPITokensOutput =
|
|
12
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
|
+
tokens: Schema.optional(Schema.Array(Schema.Struct({
|
|
14
|
+
name: Schema.optional(Schema.String),
|
|
15
|
+
id: Schema.optional(Schema.String),
|
|
16
|
+
organization: Schema.optional(Schema.String),
|
|
17
|
+
group: Schema.optional(Schema.String),
|
|
18
|
+
scopes: Schema.optional(Schema.Array(Schema.String)),
|
|
19
|
+
owner: Schema.optional(Schema.Struct({
|
|
20
|
+
username: Schema.optional(Schema.String),
|
|
21
|
+
email: Schema.optional(Schema.String),
|
|
22
|
+
})),
|
|
23
|
+
created_at: Schema.optional(Schema.String),
|
|
24
|
+
}))),
|
|
25
|
+
});
|
|
26
|
+
// The operation
|
|
27
|
+
/**
|
|
28
|
+
* List Organization API Tokens
|
|
29
|
+
*
|
|
30
|
+
* Returns the API tokens scoped to this organization (both organization-scoped and group-scoped). Unrestricted tokens are not returned here — manage those via [`GET /v1/auth/api-tokens`](/api-reference/tokens/list).
|
|
31
|
+
* Authorization is symmetric with the revoke endpoint:
|
|
32
|
+
* - **Admins and owners** see every token scoped to the organization, with the minting user attached in the `owner` field.
|
|
33
|
+
* - **Members and viewers** see only tokens they minted themselves.
|
|
34
|
+
* This mirrors the personal-access-token model used in GitHub organization settings: admins get the full attribution list; everyone else sees their own access.
|
|
35
|
+
*
|
|
36
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
37
|
+
*/
|
|
38
|
+
export const listOrganizationAPITokens = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
39
|
+
inputSchema: ListOrganizationAPITokensInput,
|
|
40
|
+
outputSchema: ListOrganizationAPITokensOutput,
|
|
41
|
+
}));
|
|
42
|
+
//# sourceMappingURL=listOrganizationAPITokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listOrganizationAPITokens.js","sourceRoot":"","sources":["../../src/operations/listOrganizationAPITokens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAMlC,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACpD,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1,27 +1,27 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export
|
|
2
|
+
export interface ListOrganizationAuditLogsInput {
|
|
3
|
+
organizationSlug: string;
|
|
4
|
+
page_size?: number;
|
|
5
|
+
page?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const ListOrganizationAuditLogsInput: Schema.Codec<ListOrganizationAuditLogsInput>;
|
|
8
|
+
export interface ListOrganizationAuditLogsOutput {
|
|
9
|
+
audit_logs?: {
|
|
10
|
+
code?: "user-signup" | "db-create" | "db-delete" | "db-protect" | "db-unprotect" | "db-token-create" | "group-token-create" | "user-token-create" | "instance-create" | "instance-delete" | "org-create" | "org-delete" | "org-member-add" | "org-member-rm" | "org-member-leave" | "org-plan-update" | "org-set-overages" | "group-create" | "group-delete" | "group-unarchive" | "group-protect" | "group-unprotect" | "db-aunrchive" | "user-delete";
|
|
11
|
+
message?: string;
|
|
12
|
+
origin?: string;
|
|
13
|
+
author?: string;
|
|
14
|
+
created_at?: string;
|
|
15
|
+
data?: unknown;
|
|
16
|
+
}[];
|
|
17
|
+
pagination?: {
|
|
18
|
+
page?: number;
|
|
19
|
+
page_size?: number;
|
|
20
|
+
total_pages?: number;
|
|
21
|
+
total_rows?: number;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export declare const ListOrganizationAuditLogsOutput: Schema.Codec<ListOrganizationAuditLogsOutput>;
|
|
25
25
|
/**
|
|
26
26
|
* List Audit Logs
|
|
27
27
|
*
|
|
@@ -31,24 +31,5 @@ export type ListOrganizationAuditLogsOutput = typeof ListOrganizationAuditLogsOu
|
|
|
31
31
|
* @param page_size - The limit of items to return per page. Defaults to 100.
|
|
32
32
|
* @param page - The page number to return. Defaults to 1.
|
|
33
33
|
*/
|
|
34
|
-
export declare const listOrganizationAuditLogs: import("@distilled.cloud/core/client").OperationMethod<
|
|
35
|
-
readonly organizationSlug: string;
|
|
36
|
-
readonly page_size?: number | undefined;
|
|
37
|
-
readonly page?: number | undefined;
|
|
38
|
-
}, {
|
|
39
|
-
readonly audit_logs?: readonly {
|
|
40
|
-
readonly code?: "db-aunrchive" | "db-create" | "db-delete" | "db-protect" | "db-token-create" | "db-unprotect" | "group-create" | "group-delete" | "group-protect" | "group-token-create" | "group-unarchive" | "group-unprotect" | "instance-create" | "instance-delete" | "org-create" | "org-delete" | "org-member-add" | "org-member-leave" | "org-member-rm" | "org-plan-update" | "org-set-overages" | "user-delete" | "user-signup" | "user-token-create" | undefined;
|
|
41
|
-
readonly message?: string | undefined;
|
|
42
|
-
readonly origin?: string | undefined;
|
|
43
|
-
readonly author?: string | undefined;
|
|
44
|
-
readonly created_at?: string | undefined;
|
|
45
|
-
readonly data?: unknown;
|
|
46
|
-
}[] | undefined;
|
|
47
|
-
readonly pagination?: {
|
|
48
|
-
readonly page?: number | undefined;
|
|
49
|
-
readonly page_size?: number | undefined;
|
|
50
|
-
readonly total_pages?: number | undefined;
|
|
51
|
-
readonly total_rows?: number | undefined;
|
|
52
|
-
} | undefined;
|
|
53
|
-
}, never, import("../credentials.ts").Credentials, never>;
|
|
34
|
+
export declare const listOrganizationAuditLogs: import("@distilled.cloud/core/client").OperationMethod<ListOrganizationAuditLogsInput, ListOrganizationAuditLogsOutput, never, import("../credentials.ts").Credentials, never>;
|
|
54
35
|
//# sourceMappingURL=listOrganizationAuditLogs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listOrganizationAuditLogs.d.ts","sourceRoot":"","sources":["../../src/operations/listOrganizationAuditLogs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,
|
|
1
|
+
{"version":3,"file":"listOrganizationAuditLogs.d.ts","sourceRoot":"","sources":["../../src/operations/listOrganizationAuditLogs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,8BAA8B;IAC7C,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,eAAO,MAAM,8BAA8B,EAUzB,MAAM,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;AAG/D,MAAM,WAAW,+BAA+B;IAC9C,UAAU,CAAC,EAAE;QACX,IAAI,CAAC,EACD,aAAa,GACb,WAAW,GACX,WAAW,GACX,YAAY,GACZ,cAAc,GACd,iBAAiB,GACjB,oBAAoB,GACpB,mBAAmB,GACnB,iBAAiB,GACjB,iBAAiB,GACjB,YAAY,GACZ,YAAY,GACZ,gBAAgB,GAChB,eAAe,GACf,kBAAkB,GAClB,iBAAiB,GACjB,kBAAkB,GAClB,cAAc,GACd,cAAc,GACd,iBAAiB,GACjB,eAAe,GACf,iBAAiB,GACjB,cAAc,GACd,aAAa,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,IAAI,CAAC,EAAE,OAAO,CAAC;KAChB,EAAE,CAAC;IACJ,UAAU,CAAC,EAAE;QACX,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH;AACD,eAAO,MAAM,+BAA+B,EAiDzB,MAAM,CAA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