@distilled.cloud/turso 0.27.0 → 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,21 +1,21 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { BadRequest, NotFound } from "../errors.ts";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
export
|
|
3
|
+
export interface CreateGroupTokenInput {
|
|
4
|
+
organizationSlug: string;
|
|
5
|
+
groupName: string;
|
|
6
|
+
expiration?: string;
|
|
7
|
+
authorization?: "full-access" | "read-only";
|
|
8
|
+
permissions?: {
|
|
9
|
+
read_attach?: {
|
|
10
|
+
databases?: string[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare const CreateGroupTokenInput: Schema.Codec<CreateGroupTokenInput>;
|
|
15
|
+
export interface CreateGroupTokenOutput {
|
|
16
|
+
jwt?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const CreateGroupTokenOutput: Schema.Codec<CreateGroupTokenOutput>;
|
|
19
19
|
/**
|
|
20
20
|
* Create Group Auth Token
|
|
21
21
|
*
|
|
@@ -26,17 +26,5 @@ export type CreateGroupTokenOutput = typeof CreateGroupTokenOutput.Type;
|
|
|
26
26
|
* @param expiration - Expiration time for the token (e.g., 2w1d30m).
|
|
27
27
|
* @param authorization - Authorization level for the token (full-access or read-only).
|
|
28
28
|
*/
|
|
29
|
-
export declare const createGroupToken: import("@distilled.cloud/core/client").OperationMethod<
|
|
30
|
-
readonly organizationSlug: string;
|
|
31
|
-
readonly groupName: string;
|
|
32
|
-
readonly expiration?: string | undefined;
|
|
33
|
-
readonly authorization?: "full-access" | "read-only" | undefined;
|
|
34
|
-
readonly permissions?: {
|
|
35
|
-
readonly read_attach?: {
|
|
36
|
-
readonly databases?: readonly string[] | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
readonly jwt?: string | undefined;
|
|
41
|
-
}, BadRequest | NotFound, import("../credentials.ts").Credentials, never>;
|
|
29
|
+
export declare const createGroupToken: import("@distilled.cloud/core/client").OperationMethod<CreateGroupTokenInput, CreateGroupTokenOutput, BadRequest | NotFound, import("../credentials.ts").Credentials, never>;
|
|
42
30
|
//# sourceMappingURL=createGroupToken.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createGroupToken.d.ts","sourceRoot":"","sources":["../../src/operations/createGroupToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGpD,
|
|
1
|
+
{"version":3,"file":"createGroupToken.d.ts","sourceRoot":"","sources":["../../src/operations/createGroupToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,WAAW,qBAAqB;IACpC,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,aAAa,GAAG,WAAW,CAAC;IAC5C,WAAW,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE;YAAE,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;SAAE,CAAA;KAAE,CAAC;CAC1D;AACD,eAAO,MAAM,qBAAqB,EAmBlB,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;AAGpD,MAAM,WAAW,sBAAsB;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AACD,eAAO,MAAM,sBAAsB,EAInB,MAAM,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;AAGrD;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,8KAI1B,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 { BadRequest, NotFound } from "../errors.js";
|
|
5
|
-
// Input Schema
|
|
6
5
|
export const CreateGroupTokenInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
6
|
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
8
7
|
groupName: Schema.String.pipe(T.PathParam()),
|
|
@@ -17,7 +16,6 @@ export const CreateGroupTokenInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
17
16
|
method: "POST",
|
|
18
17
|
path: "/v1/organizations/{organizationSlug}/groups/{groupName}/auth/tokens",
|
|
19
18
|
}));
|
|
20
|
-
// Output Schema
|
|
21
19
|
export const CreateGroupTokenOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22
20
|
jwt: Schema.optional(Schema.String),
|
|
23
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createGroupToken.js","sourceRoot":"","sources":["../../src/operations/createGroupToken.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,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"createGroupToken.js","sourceRoot":"","sources":["../../src/operations/createGroupToken.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,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAUpD,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC7E,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACnD,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1C,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC,CAAC;IAC7E,WAAW,EAAE,MAAM,CAAC,QAAQ,CAC1B,MAAM,CAAC,MAAM,CAAC;QACZ,WAAW,EAAE,MAAM,CAAC,QAAQ,CAC1B,MAAM,CAAC,MAAM,CAAC;YACZ,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;SACxD,CAAC,CACH;KACF,CAAC,CACH;CACF,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,qEAAqE;CAC5E,CAAC,CAC+C,CAAC;AAMpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC7E;IACE,GAAG,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACpC,CACiD,CAAC;AAErD,gBAAgB;AAChB;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1E,WAAW,EAAE,qBAAqB;IAClC,YAAY,EAAE,sBAAsB;IACpC,MAAM,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAU;CACxC,CAAC,CAAC,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
-
export
|
|
3
|
+
export interface DeleteDatabaseInput {
|
|
4
|
+
organizationSlug: string;
|
|
5
|
+
databaseName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const DeleteDatabaseInput: Schema.Codec<DeleteDatabaseInput>;
|
|
8
|
+
export interface DeleteDatabaseOutput {
|
|
9
|
+
database?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const DeleteDatabaseOutput: Schema.Codec<DeleteDatabaseOutput>;
|
|
12
12
|
/**
|
|
13
13
|
* Delete Database
|
|
14
14
|
*
|
|
@@ -17,10 +17,5 @@ export type DeleteDatabaseOutput = typeof DeleteDatabaseOutput.Type;
|
|
|
17
17
|
* @param organizationSlug - The slug of the organization or user account.
|
|
18
18
|
* @param databaseName - The name of the database.
|
|
19
19
|
*/
|
|
20
|
-
export declare const deleteDatabase: import("@distilled.cloud/core/client").OperationMethod<
|
|
21
|
-
readonly organizationSlug: string;
|
|
22
|
-
readonly databaseName: string;
|
|
23
|
-
}, {
|
|
24
|
-
readonly database?: string | undefined;
|
|
25
|
-
}, NotFound, import("../credentials.ts").Credentials, never>;
|
|
20
|
+
export declare const deleteDatabase: import("@distilled.cloud/core/client").OperationMethod<DeleteDatabaseInput, DeleteDatabaseOutput, NotFound, import("../credentials.ts").Credentials, never>;
|
|
26
21
|
//# sourceMappingURL=deleteDatabase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteDatabase.d.ts","sourceRoot":"","sources":["../../src/operations/deleteDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,
|
|
1
|
+
{"version":3,"file":"deleteDatabase.d.ts","sourceRoot":"","sources":["../../src/operations/deleteDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;CACtB;AACD,eAAO,MAAM,mBAAmB,EAQhB,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAGlD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AACD,eAAO,MAAM,oBAAoB,EAEhB,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;AAGpD;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,6JAIxB,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 DeleteDatabaseInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
6
|
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
8
7
|
databaseName: Schema.String.pipe(T.PathParam()),
|
|
@@ -10,7 +9,6 @@ export const DeleteDatabaseInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10
9
|
method: "DELETE",
|
|
11
10
|
path: "/v1/organizations/{organizationSlug}/databases/{databaseName}",
|
|
12
11
|
}));
|
|
13
|
-
// Output Schema
|
|
14
12
|
export const DeleteDatabaseOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
13
|
database: Schema.optional(Schema.String),
|
|
16
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteDatabase.js","sourceRoot":"","sources":["../../src/operations/deleteDatabase.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":"deleteDatabase.js","sourceRoot":"","sources":["../../src/operations/deleteDatabase.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,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3E,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACnD,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAChD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,+DAA+D;CACtE,CAAC,CAC6C,CAAC;AAMlD,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACzC,CAAkD,CAAC;AAEpD,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACxE,WAAW,EAAE,mBAAmB;IAChC,YAAY,EAAE,oBAAoB;IAClC,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
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
|
-
}
|
|
18
|
-
export
|
|
3
|
+
export interface DeleteGroupInput {
|
|
4
|
+
organizationSlug: string;
|
|
5
|
+
groupName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const DeleteGroupInput: Schema.Codec<DeleteGroupInput>;
|
|
8
|
+
export interface DeleteGroupOutput {
|
|
9
|
+
group?: {
|
|
10
|
+
name?: string;
|
|
11
|
+
version?: string;
|
|
12
|
+
uuid?: string;
|
|
13
|
+
locations?: string[];
|
|
14
|
+
primary?: string;
|
|
15
|
+
delete_protection?: boolean;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export declare const DeleteGroupOutput: Schema.Codec<DeleteGroupOutput>;
|
|
19
19
|
/**
|
|
20
20
|
* Delete Group
|
|
21
21
|
*
|
|
@@ -24,17 +24,5 @@ export type DeleteGroupOutput = typeof DeleteGroupOutput.Type;
|
|
|
24
24
|
* @param organizationSlug - The slug of the organization or user account.
|
|
25
25
|
* @param groupName - The name of the group.
|
|
26
26
|
*/
|
|
27
|
-
export declare const deleteGroup: import("@distilled.cloud/core/client").OperationMethod<
|
|
28
|
-
readonly organizationSlug: string;
|
|
29
|
-
readonly groupName: string;
|
|
30
|
-
}, {
|
|
31
|
-
readonly group?: {
|
|
32
|
-
readonly name?: string | undefined;
|
|
33
|
-
readonly version?: string | undefined;
|
|
34
|
-
readonly uuid?: string | undefined;
|
|
35
|
-
readonly locations?: readonly string[] | undefined;
|
|
36
|
-
readonly primary?: string | undefined;
|
|
37
|
-
readonly delete_protection?: boolean | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
}, NotFound, import("../credentials.ts").Credentials, never>;
|
|
27
|
+
export declare const deleteGroup: import("@distilled.cloud/core/client").OperationMethod<DeleteGroupInput, DeleteGroupOutput, NotFound, import("../credentials.ts").Credentials, never>;
|
|
40
28
|
//# sourceMappingURL=deleteGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteGroup.d.ts","sourceRoot":"","sources":["../../src/operations/deleteGroup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,
|
|
1
|
+
{"version":3,"file":"deleteGroup.d.ts","sourceRoot":"","sources":["../../src/operations/deleteGroup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,gBAAgB;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,eAAO,MAAM,gBAAgB,EAQb,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAG/C,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE;QACN,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,CAAC;CACH;AACD,eAAO,MAAM,iBAAiB,EAWb,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAGjD;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,uJAIrB,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 DeleteGroupInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
6
|
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
8
7
|
groupName: Schema.String.pipe(T.PathParam()),
|
|
@@ -10,7 +9,6 @@ export const DeleteGroupInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10
9
|
method: "DELETE",
|
|
11
10
|
path: "/v1/organizations/{organizationSlug}/groups/{groupName}",
|
|
12
11
|
}));
|
|
13
|
-
// Output Schema
|
|
14
12
|
export const DeleteGroupOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
13
|
group: Schema.optional(Schema.Struct({
|
|
16
14
|
name: Schema.optional(Schema.String),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteGroup.js","sourceRoot":"","sources":["../../src/operations/deleteGroup.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":"deleteGroup.js","sourceRoot":"","sources":["../../src/operations/deleteGroup.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,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACnD,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SA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
export interface DeleteOrganizationInviteByEmailV2Input {
|
|
4
|
+
organizationSlug: string;
|
|
5
|
+
email: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const DeleteOrganizationInviteByEmailV2Input: Schema.Codec<DeleteOrganizationInviteByEmailV2Input>;
|
|
8
|
+
export type DeleteOrganizationInviteByEmailV2Output = void;
|
|
9
|
+
export declare const DeleteOrganizationInviteByEmailV2Output: Schema.Codec<DeleteOrganizationInviteByEmailV2Output>;
|
|
10
10
|
/**
|
|
11
11
|
* Delete Invite
|
|
12
12
|
*
|
|
@@ -14,8 +14,5 @@ export type DeleteOrganizationInviteByEmailV2Output = typeof DeleteOrganizationI
|
|
|
14
14
|
*
|
|
15
15
|
* @param organizationSlug - The slug of the organization or user account.
|
|
16
16
|
*/
|
|
17
|
-
export declare const deleteOrganizationInviteByEmailV2: import("@distilled.cloud/core/client").OperationMethod<
|
|
18
|
-
readonly organizationSlug: string;
|
|
19
|
-
readonly email: string;
|
|
20
|
-
}, void, NotFound, import("../credentials.ts").Credentials, never>;
|
|
17
|
+
export declare const deleteOrganizationInviteByEmailV2: import("@distilled.cloud/core/client").OperationMethod<DeleteOrganizationInviteByEmailV2Input, void, NotFound, import("../credentials.ts").Credentials, never>;
|
|
21
18
|
//# sourceMappingURL=deleteOrganizationInviteByEmailV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteOrganizationInviteByEmailV2.d.ts","sourceRoot":"","sources":["../../src/operations/deleteOrganizationInviteByEmailV2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,
|
|
1
|
+
{"version":3,"file":"deleteOrganizationInviteByEmailV2.d.ts","sourceRoot":"","sources":["../../src/operations/deleteOrganizationInviteByEmailV2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,sCAAsC;IACrD,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;CACf;AACD,eAAO,MAAM,sCAAsC,EASjC,MAAM,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAC;AAGvE,MAAM,MAAM,uCAAuC,GAAG,IAAI,CAAC;AAC3D,eAAO,MAAM,uCAAuC,EACI,MAAM,CAAC,KAAK,CAAC,uCAAuC,CAAC,CAAC;AAG9G;;;;;;GAMG;AACH,eAAO,MAAM,iCAAiC,gKAKzC,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 DeleteOrganizationInviteByEmailV2Input =
|
|
7
6
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
7
|
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
@@ -11,7 +10,6 @@ export const DeleteOrganizationInviteByEmailV2Input =
|
|
|
11
10
|
method: "DELETE",
|
|
12
11
|
path: "/v2/organizations/{organizationSlug}/invites/{email}",
|
|
13
12
|
}));
|
|
14
|
-
// Output Schema
|
|
15
13
|
export const DeleteOrganizationInviteByEmailV2Output =
|
|
16
14
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
17
15
|
// The operation
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteOrganizationInviteByEmailV2.js","sourceRoot":"","sources":["../../src/operations/deleteOrganizationInviteByEmailV2.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":"deleteOrganizationInviteByEmailV2.js","sourceRoot":"","sources":["../../src/operations/deleteOrganizationInviteByEmailV2.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,sCAAsC;AACjD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACnD,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACzC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,sDAAsD;CAC7D,CAAC,CACgE,CAAC;AAIvE,MAAM,CAAC,MAAM,uCAAuC;AAClD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAwE,CAAC;AAE9G,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iCAAiC;AAC5C,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,sCAAsC;IACnD,YAAY,EAAE,uCAAuC;IACrD,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
|
|
@@ -1,32 +1,23 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
2
|
+
export interface GetCurrentUserInput {
|
|
3
|
+
}
|
|
4
|
+
export declare const GetCurrentUserInput: Schema.Codec<GetCurrentUserInput>;
|
|
5
|
+
export interface GetCurrentUserOutput {
|
|
6
|
+
user?: {
|
|
7
|
+
username?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
email?: string;
|
|
10
|
+
avatarUrl?: string;
|
|
11
|
+
plan?: string;
|
|
12
|
+
mfa?: boolean;
|
|
13
|
+
has_pending_invites?: boolean;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export declare const GetCurrentUserOutput: Schema.Codec<GetCurrentUserOutput>;
|
|
16
17
|
/**
|
|
17
18
|
* Get Current User
|
|
18
19
|
*
|
|
19
20
|
* Returns information about the currently authenticated user.
|
|
20
21
|
*/
|
|
21
|
-
export declare const getCurrentUser: import("@distilled.cloud/core/client").OperationMethod<
|
|
22
|
-
readonly user?: {
|
|
23
|
-
readonly username?: string | undefined;
|
|
24
|
-
readonly name?: string | undefined;
|
|
25
|
-
readonly email?: string | undefined;
|
|
26
|
-
readonly avatarUrl?: string | undefined;
|
|
27
|
-
readonly plan?: string | undefined;
|
|
28
|
-
readonly mfa?: boolean | undefined;
|
|
29
|
-
readonly has_pending_invites?: boolean | undefined;
|
|
30
|
-
} | undefined;
|
|
31
|
-
}, never, import("../credentials.ts").Credentials, never>;
|
|
22
|
+
export declare const getCurrentUser: import("@distilled.cloud/core/client").OperationMethod<GetCurrentUserInput, GetCurrentUserOutput, never, import("../credentials.ts").Credentials, never>;
|
|
32
23
|
//# sourceMappingURL=getCurrentUser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCurrentUser.d.ts","sourceRoot":"","sources":["../../src/operations/getCurrentUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"getCurrentUser.d.ts","sourceRoot":"","sources":["../../src/operations/getCurrentUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,mBAAmB;CAAG;AACvC,eAAO,MAAM,mBAAmB,EAIhB,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAGlD,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE;QACL,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,GAAG,CAAC,EAAE,OAAO,CAAC;QACd,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,CAAC;CACH;AACD,eAAO,MAAM,oBAAoB,EAYhB,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;AAGpD;;;;GAIG;AACH,eAAO,MAAM,cAAc,0JAGxB,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 GetCurrentUserInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/v1/user" }));
|
|
6
|
-
// Output Schema
|
|
7
5
|
export const GetCurrentUserOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
6
|
user: Schema.optional(Schema.Struct({
|
|
9
7
|
username: Schema.optional(Schema.String),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCurrentUser.js","sourceRoot":"","sources":["../../src/operations/getCurrentUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAA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H,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACxE,WAAW,EAAE,mBAAmB;IAChC,YAAY,EAAE,oBAAoB;CACnC,CAAC,CAAC,CAAC"}
|
|
@@ -1,29 +1,29 @@
|
|
|
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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export
|
|
3
|
+
export interface GetDatabaseInput {
|
|
4
|
+
organizationSlug: string;
|
|
5
|
+
databaseName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const GetDatabaseInput: Schema.Codec<GetDatabaseInput>;
|
|
8
|
+
export interface GetDatabaseOutput {
|
|
9
|
+
database?: {
|
|
10
|
+
Name?: string;
|
|
11
|
+
DbId?: string;
|
|
12
|
+
Hostname?: string;
|
|
13
|
+
block_reads?: boolean;
|
|
14
|
+
block_writes?: boolean;
|
|
15
|
+
regions?: string[];
|
|
16
|
+
primaryRegion?: string;
|
|
17
|
+
group?: string;
|
|
18
|
+
delete_protection?: boolean;
|
|
19
|
+
parent?: {
|
|
20
|
+
id?: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
branched_at?: string;
|
|
23
|
+
} | null;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export declare const GetDatabaseOutput: Schema.Codec<GetDatabaseOutput>;
|
|
27
27
|
/**
|
|
28
28
|
* Retrieve Database
|
|
29
29
|
*
|
|
@@ -32,25 +32,5 @@ export type GetDatabaseOutput = typeof GetDatabaseOutput.Type;
|
|
|
32
32
|
* @param organizationSlug - The slug of the organization or user account.
|
|
33
33
|
* @param databaseName - The name of the database.
|
|
34
34
|
*/
|
|
35
|
-
export declare const getDatabase: import("@distilled.cloud/core/client").OperationMethod<
|
|
36
|
-
readonly organizationSlug: string;
|
|
37
|
-
readonly databaseName: string;
|
|
38
|
-
}, {
|
|
39
|
-
readonly database?: {
|
|
40
|
-
readonly Name?: string | undefined;
|
|
41
|
-
readonly DbId?: string | undefined;
|
|
42
|
-
readonly Hostname?: string | undefined;
|
|
43
|
-
readonly block_reads?: boolean | undefined;
|
|
44
|
-
readonly block_writes?: boolean | undefined;
|
|
45
|
-
readonly regions?: readonly string[] | undefined;
|
|
46
|
-
readonly primaryRegion?: string | undefined;
|
|
47
|
-
readonly group?: string | undefined;
|
|
48
|
-
readonly delete_protection?: boolean | undefined;
|
|
49
|
-
readonly parent?: {
|
|
50
|
-
readonly id?: string | undefined;
|
|
51
|
-
readonly name?: string | undefined;
|
|
52
|
-
readonly branched_at?: string | undefined;
|
|
53
|
-
} | null | undefined;
|
|
54
|
-
} | undefined;
|
|
55
|
-
}, NotFound, import("../credentials.ts").Credentials, never>;
|
|
35
|
+
export declare const getDatabase: import("@distilled.cloud/core/client").OperationMethod<GetDatabaseInput, GetDatabaseOutput, NotFound, import("../credentials.ts").Credentials, never>;
|
|
56
36
|
//# sourceMappingURL=getDatabase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabase.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,
|
|
1
|
+
{"version":3,"file":"getDatabase.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,gBAAgB;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;CACtB;AACD,eAAO,MAAM,gBAAgB,EAQb,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAG/C,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE;QACT,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,CAAC;CACH;AACD,eAAO,MAAM,iBAAiB,EAuBb,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAGjD;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,uJAIrB,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 GetDatabaseInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
6
|
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
8
7
|
databaseName: Schema.String.pipe(T.PathParam()),
|
|
@@ -10,7 +9,6 @@ export const GetDatabaseInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10
9
|
method: "GET",
|
|
11
10
|
path: "/v1/organizations/{organizationSlug}/databases/{databaseName}",
|
|
12
11
|
}));
|
|
13
|
-
// Output Schema
|
|
14
12
|
export const GetDatabaseOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
13
|
database: Schema.optional(Schema.Struct({
|
|
16
14
|
Name: Schema.optional(Schema.String),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabase.js","sourceRoot":"","sources":["../../src/operations/getDatabase.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":"getDatabase.js","sourceRoot":"","sources":["../../src/operations/getDatabase.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,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACnD,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAChD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,+DAA+D;CACtE,C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GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACrE,WAAW,EAAE,gBAAgB;IAC7B,YAAY,EAAE,iBAAiB;IAC/B,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
|
|
@@ -1,18 +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
|
-
|
|
3
|
+
export interface GetDatabaseConfigurationInput {
|
|
4
|
+
organizationSlug: string;
|
|
5
|
+
databaseName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const GetDatabaseConfigurationInput: Schema.Codec<GetDatabaseConfigurationInput>;
|
|
8
|
+
export interface GetDatabaseConfigurationOutput {
|
|
9
|
+
size_limit?: string;
|
|
10
|
+
allow_attach?: boolean;
|
|
11
|
+
block_reads?: boolean;
|
|
12
|
+
block_writes?: boolean;
|
|
13
|
+
delete_protection?: boolean;
|
|
14
|
+
allowed_ips?: string[];
|
|
15
|
+
allowed_aws_vpc_ids?: string[];
|
|
16
|
+
}
|
|
17
|
+
export declare const GetDatabaseConfigurationOutput: Schema.Codec<GetDatabaseConfigurationOutput>;
|
|
16
18
|
/**
|
|
17
19
|
* Retrieve Database Configuration
|
|
18
20
|
*
|
|
@@ -21,14 +23,5 @@ export type GetDatabaseConfigurationOutput = typeof GetDatabaseConfigurationOutp
|
|
|
21
23
|
* @param organizationSlug - The slug of the organization or user account.
|
|
22
24
|
* @param databaseName - The name of the database.
|
|
23
25
|
*/
|
|
24
|
-
export declare const getDatabaseConfiguration: import("@distilled.cloud/core/client").OperationMethod<
|
|
25
|
-
readonly organizationSlug: string;
|
|
26
|
-
readonly databaseName: string;
|
|
27
|
-
}, {
|
|
28
|
-
readonly size_limit?: string | undefined;
|
|
29
|
-
readonly allow_attach?: boolean | undefined;
|
|
30
|
-
readonly block_reads?: boolean | undefined;
|
|
31
|
-
readonly block_writes?: boolean | undefined;
|
|
32
|
-
readonly delete_protection?: boolean | undefined;
|
|
33
|
-
}, NotFound, import("../credentials.ts").Credentials, never>;
|
|
26
|
+
export declare const getDatabaseConfiguration: import("@distilled.cloud/core/client").OperationMethod<GetDatabaseConfigurationInput, GetDatabaseConfigurationOutput, NotFound, import("../credentials.ts").Credentials, never>;
|
|
34
27
|
//# sourceMappingURL=getDatabaseConfiguration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseConfiguration.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabaseConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"getDatabaseConfiguration.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabaseConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,6BAA6B;IAC5C,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;CACtB;AACD,eAAO,MAAM,6BAA6B,EASxB,MAAM,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;AAG9D,MAAM,WAAW,8BAA8B;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;CAChC;AACD,eAAO,MAAM,8BAA8B,EASxB,MAAM,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;AAGhE;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,iLAMpC,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 GetDatabaseConfigurationInput =
|
|
7
6
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
7
|
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
@@ -11,7 +10,6 @@ export const GetDatabaseConfigurationInput =
|
|
|
11
10
|
method: "GET",
|
|
12
11
|
path: "/v1/organizations/{organizationSlug}/databases/{databaseName}/configuration",
|
|
13
12
|
}));
|
|
14
|
-
// Output Schema
|
|
15
13
|
export const GetDatabaseConfigurationOutput =
|
|
16
14
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
15
|
size_limit: Schema.optional(Schema.String),
|
|
@@ -19,6 +17,8 @@ export const GetDatabaseConfigurationOutput =
|
|
|
19
17
|
block_reads: Schema.optional(Schema.Boolean),
|
|
20
18
|
block_writes: Schema.optional(Schema.Boolean),
|
|
21
19
|
delete_protection: Schema.optional(Schema.Boolean),
|
|
20
|
+
allowed_ips: Schema.optional(Schema.Array(Schema.String)),
|
|
21
|
+
allowed_aws_vpc_ids: Schema.optional(Schema.Array(Schema.String)),
|
|
22
22
|
});
|
|
23
23
|
// The operation
|
|
24
24
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseConfiguration.js","sourceRoot":"","sources":["../../src/operations/getDatabaseConfiguration.ts"],"names":[],"mappings":"AAAA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