@distilled.cloud/turso 0.3.0-alpha → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/operations/addLocationToGroup.d.ts +29 -0
- package/lib/operations/addLocationToGroup.d.ts.map +1 -0
- package/lib/operations/addLocationToGroup.js +40 -0
- package/lib/operations/addLocationToGroup.js.map +1 -0
- package/lib/operations/addOrganizationMember.d.ts +21 -0
- package/lib/operations/addOrganizationMember.d.ts.map +1 -0
- package/lib/operations/addOrganizationMember.js +32 -0
- package/lib/operations/addOrganizationMember.js.map +1 -0
- package/lib/operations/createAPIToken.d.ts +20 -0
- package/lib/operations/createAPIToken.d.ts.map +1 -0
- package/lib/operations/createAPIToken.js +26 -0
- package/lib/operations/createAPIToken.js.map +1 -0
- package/lib/operations/createDatabase.d.ts +34 -0
- package/lib/operations/createDatabase.d.ts.map +1 -0
- package/lib/operations/createDatabase.js +53 -0
- package/lib/operations/createDatabase.js.map +1 -0
- package/lib/operations/createDatabaseToken.d.ts +29 -0
- package/lib/operations/createDatabaseToken.d.ts.map +1 -0
- package/lib/operations/createDatabaseToken.js +40 -0
- package/lib/operations/createDatabaseToken.js.map +1 -0
- package/lib/operations/createGroup.d.ts +28 -0
- package/lib/operations/createGroup.d.ts.map +1 -0
- package/lib/operations/createGroup.js +37 -0
- package/lib/operations/createGroup.js.map +1 -0
- package/lib/operations/createGroupToken.d.ts +29 -0
- package/lib/operations/createGroupToken.d.ts.map +1 -0
- package/lib/operations/createGroupToken.js +38 -0
- package/lib/operations/createGroupToken.js.map +1 -0
- package/lib/operations/deleteDatabase.d.ts +20 -0
- package/lib/operations/deleteDatabase.d.ts.map +1 -0
- package/lib/operations/deleteDatabase.js +29 -0
- package/lib/operations/deleteDatabase.js.map +1 -0
- package/lib/operations/deleteGroup.d.ts +27 -0
- package/lib/operations/deleteGroup.d.ts.map +1 -0
- package/lib/operations/deleteGroup.js +36 -0
- package/lib/operations/deleteGroup.js.map +1 -0
- package/lib/operations/deleteOrganizationInviteByEmail.d.ts +17 -0
- package/lib/operations/deleteOrganizationInviteByEmail.d.ts.map +1 -0
- package/lib/operations/deleteOrganizationInviteByEmail.js +29 -0
- package/lib/operations/deleteOrganizationInviteByEmail.js.map +1 -0
- package/lib/operations/getDatabase.d.ts +35 -0
- package/lib/operations/getDatabase.d.ts.map +1 -0
- package/lib/operations/getDatabase.js +44 -0
- package/lib/operations/getDatabase.js.map +1 -0
- package/lib/operations/getDatabaseConfiguration.d.ts +24 -0
- package/lib/operations/getDatabaseConfiguration.d.ts.map +1 -0
- package/lib/operations/getDatabaseConfiguration.js +35 -0
- package/lib/operations/getDatabaseConfiguration.js.map +1 -0
- package/lib/operations/getDatabaseInstance.d.ts +28 -0
- package/lib/operations/getDatabaseInstance.d.ts.map +1 -0
- package/lib/operations/getDatabaseInstance.js +39 -0
- package/lib/operations/getDatabaseInstance.js.map +1 -0
- package/lib/operations/getDatabaseStats.d.ts +24 -0
- package/lib/operations/getDatabaseStats.d.ts.map +1 -0
- package/lib/operations/getDatabaseStats.js +33 -0
- package/lib/operations/getDatabaseStats.js.map +1 -0
- package/lib/operations/getDatabaseUsage.d.ts +41 -0
- package/lib/operations/getDatabaseUsage.d.ts.map +1 -0
- package/lib/operations/getDatabaseUsage.js +50 -0
- package/lib/operations/getDatabaseUsage.js.map +1 -0
- package/lib/operations/getGroup.d.ts +27 -0
- package/lib/operations/getGroup.d.ts.map +1 -0
- package/lib/operations/getGroup.js +36 -0
- package/lib/operations/getGroup.js.map +1 -0
- package/lib/operations/getGroupConfiguration.d.ts +20 -0
- package/lib/operations/getGroupConfiguration.d.ts.map +1 -0
- package/lib/operations/getGroupConfiguration.js +31 -0
- package/lib/operations/getGroupConfiguration.js.map +1 -0
- package/lib/operations/getOrganization.d.ts +28 -0
- package/lib/operations/getOrganization.d.ts.map +1 -0
- package/lib/operations/getOrganization.js +34 -0
- package/lib/operations/getOrganization.js.map +1 -0
- package/lib/operations/getOrganizationMember.d.ts +24 -0
- package/lib/operations/getOrganizationMember.d.ts.map +1 -0
- package/lib/operations/getOrganizationMember.js +35 -0
- package/lib/operations/getOrganizationMember.js.map +1 -0
- package/lib/operations/getOrganizationSubscription.d.ts +23 -0
- package/lib/operations/getOrganizationSubscription.d.ts.map +1 -0
- package/lib/operations/getOrganizationSubscription.js +34 -0
- package/lib/operations/getOrganizationSubscription.js.map +1 -0
- package/lib/operations/getOrganizationUsage.d.ts +47 -0
- package/lib/operations/getOrganizationUsage.d.ts.map +1 -0
- package/lib/operations/getOrganizationUsage.js +58 -0
- package/lib/operations/getOrganizationUsage.js.map +1 -0
- package/lib/operations/index.d.ts +46 -1
- package/lib/operations/index.d.ts.map +1 -1
- package/lib/operations/index.js +46 -2
- package/lib/operations/index.js.map +1 -1
- package/lib/operations/invalidateDatabaseTokens.d.ts +18 -0
- package/lib/operations/invalidateDatabaseTokens.d.ts.map +1 -0
- package/lib/operations/invalidateDatabaseTokens.js +29 -0
- package/lib/operations/invalidateDatabaseTokens.js.map +1 -0
- package/lib/operations/invalidateGroupTokens.d.ts +18 -0
- package/lib/operations/invalidateGroupTokens.d.ts.map +1 -0
- package/lib/operations/invalidateGroupTokens.js +29 -0
- package/lib/operations/invalidateGroupTokens.js.map +1 -0
- package/lib/operations/inviteOrganizationMember.d.ts +41 -0
- package/lib/operations/inviteOrganizationMember.d.ts.map +1 -0
- package/lib/operations/inviteOrganizationMember.js +52 -0
- package/lib/operations/inviteOrganizationMember.js.map +1 -0
- package/lib/operations/listAPITokens.d.ts +17 -0
- package/lib/operations/listAPITokens.d.ts.map +1 -0
- package/lib/operations/listAPITokens.js +23 -0
- package/lib/operations/listAPITokens.js.map +1 -0
- package/lib/operations/listDatabaseInstances.d.ts +26 -0
- package/lib/operations/listDatabaseInstances.d.ts.map +1 -0
- package/lib/operations/listDatabaseInstances.js +37 -0
- package/lib/operations/listDatabaseInstances.js.map +1 -0
- package/lib/operations/listDatabases.d.ts +39 -0
- package/lib/operations/listDatabases.d.ts.map +1 -0
- package/lib/operations/listDatabases.js +48 -0
- package/lib/operations/listDatabases.js.map +1 -0
- package/lib/operations/listGroups.d.ts +25 -0
- package/lib/operations/listGroups.d.ts.map +1 -0
- package/lib/operations/listGroups.js +34 -0
- package/lib/operations/listGroups.js.map +1 -0
- package/lib/operations/listLocations.d.ts +14 -0
- package/lib/operations/listLocations.d.ts.map +1 -0
- package/lib/operations/listLocations.js +20 -0
- package/lib/operations/listLocations.js.map +1 -0
- package/lib/operations/listOrganizationAuditLogs.d.ts +35 -0
- package/lib/operations/listOrganizationAuditLogs.d.ts.map +1 -0
- package/lib/operations/listOrganizationAuditLogs.js +71 -0
- package/lib/operations/listOrganizationAuditLogs.js.map +1 -0
- package/lib/operations/listOrganizationInvites.d.ts +39 -0
- package/lib/operations/listOrganizationInvites.d.ts.map +1 -0
- package/lib/operations/listOrganizationInvites.js +50 -0
- package/lib/operations/listOrganizationInvites.js.map +1 -0
- package/lib/operations/listOrganizationInvoices.d.ts +27 -0
- package/lib/operations/listOrganizationInvoices.d.ts.map +1 -0
- package/lib/operations/listOrganizationInvoices.js +38 -0
- package/lib/operations/listOrganizationInvoices.js.map +1 -0
- package/lib/operations/listOrganizationMembers.d.ts +22 -0
- package/lib/operations/listOrganizationMembers.d.ts.map +1 -0
- package/lib/operations/listOrganizationMembers.js +33 -0
- package/lib/operations/listOrganizationMembers.js.map +1 -0
- package/lib/operations/listOrganizationPlans.d.ts +34 -0
- package/lib/operations/listOrganizationPlans.d.ts.map +1 -0
- package/lib/operations/listOrganizationPlans.js +45 -0
- package/lib/operations/listOrganizationPlans.js.map +1 -0
- package/lib/operations/listOrganizations.d.ts +22 -0
- package/lib/operations/listOrganizations.d.ts.map +1 -0
- package/lib/operations/listOrganizations.js +28 -0
- package/lib/operations/listOrganizations.js.map +1 -0
- package/lib/operations/removeLocationFromGroup.d.ts +29 -0
- package/lib/operations/removeLocationFromGroup.d.ts.map +1 -0
- package/lib/operations/removeLocationFromGroup.js +40 -0
- package/lib/operations/removeLocationFromGroup.js.map +1 -0
- package/lib/operations/removeOrganizationMember.d.ts +20 -0
- package/lib/operations/removeOrganizationMember.d.ts.map +1 -0
- package/lib/operations/removeOrganizationMember.js +31 -0
- package/lib/operations/removeOrganizationMember.js.map +1 -0
- package/lib/operations/revokeAPIToken.d.ts +18 -0
- package/lib/operations/revokeAPIToken.d.ts.map +1 -0
- package/lib/operations/revokeAPIToken.js +24 -0
- package/lib/operations/revokeAPIToken.js.map +1 -0
- package/lib/operations/transferGroup.d.ts +26 -0
- package/lib/operations/transferGroup.d.ts.map +1 -0
- package/lib/operations/transferGroup.js +35 -0
- package/lib/operations/transferGroup.js.map +1 -0
- package/lib/operations/unarchiveGroup.d.ts +27 -0
- package/lib/operations/unarchiveGroup.d.ts.map +1 -0
- package/lib/operations/unarchiveGroup.js +36 -0
- package/lib/operations/unarchiveGroup.js.map +1 -0
- package/lib/operations/updateDatabaseConfiguration.d.ts +29 -0
- package/lib/operations/updateDatabaseConfiguration.d.ts.map +1 -0
- package/lib/operations/updateDatabaseConfiguration.js +40 -0
- package/lib/operations/updateDatabaseConfiguration.js.map +1 -0
- package/lib/operations/updateGroupConfiguration.d.ts +21 -0
- package/lib/operations/updateGroupConfiguration.d.ts.map +1 -0
- package/lib/operations/updateGroupConfiguration.js +32 -0
- package/lib/operations/updateGroupConfiguration.js.map +1 -0
- package/lib/operations/updateGroupDatabases.d.ts +18 -0
- package/lib/operations/updateGroupDatabases.d.ts.map +1 -0
- package/lib/operations/updateGroupDatabases.js +29 -0
- package/lib/operations/updateGroupDatabases.js.map +1 -0
- package/lib/operations/updateMemberRole.d.ts +25 -0
- package/lib/operations/updateMemberRole.d.ts.map +1 -0
- package/lib/operations/updateMemberRole.js +34 -0
- package/lib/operations/updateMemberRole.js.map +1 -0
- package/lib/operations/updateOrganization.d.ts +29 -0
- package/lib/operations/updateOrganization.d.ts.map +1 -0
- package/lib/operations/updateOrganization.js +37 -0
- package/lib/operations/updateOrganization.js.map +1 -0
- package/lib/operations/validateAPIToken.d.ts +14 -0
- package/lib/operations/validateAPIToken.d.ts.map +1 -0
- package/lib/operations/validateAPIToken.js +20 -0
- package/lib/operations/validateAPIToken.js.map +1 -0
- package/package.json +3 -3
- package/src/operations/addLocationToGroup.ts +48 -0
- package/src/operations/addOrganizationMember.ts +43 -0
- package/src/operations/createAPIToken.ts +30 -0
- package/src/operations/createDatabase.ts +67 -0
- package/src/operations/createDatabaseToken.ts +52 -0
- package/src/operations/createGroup.ts +45 -0
- package/src/operations/createGroupToken.ts +50 -0
- package/src/operations/deleteDatabase.ts +35 -0
- package/src/operations/deleteGroup.ts +44 -0
- package/src/operations/deleteOrganizationInviteByEmail.ts +37 -0
- package/src/operations/getDatabase.ts +56 -0
- package/src/operations/getDatabaseConfiguration.ts +45 -0
- package/src/operations/getDatabaseInstance.ts +47 -0
- package/src/operations/getDatabaseStats.ts +47 -0
- package/src/operations/getDatabaseUsage.ts +68 -0
- package/src/operations/getGroup.ts +44 -0
- package/src/operations/getGroupConfiguration.ts +40 -0
- package/src/operations/getOrganization.ts +42 -0
- package/src/operations/getOrganizationMember.ts +48 -0
- package/src/operations/getOrganizationSubscription.ts +46 -0
- package/src/operations/getOrganizationUsage.ts +82 -0
- package/src/operations/index.ts +46 -2
- package/src/operations/invalidateDatabaseTokens.ts +39 -0
- package/src/operations/invalidateGroupTokens.ts +38 -0
- package/src/operations/inviteOrganizationMember.ts +66 -0
- package/src/operations/listAPITokens.ts +33 -0
- package/src/operations/listDatabaseInstances.ts +50 -0
- package/src/operations/listDatabases.ts +62 -0
- package/src/operations/listGroups.ts +44 -0
- package/src/operations/listLocations.ts +26 -0
- package/src/operations/listOrganizationAuditLogs.ts +89 -0
- package/src/operations/listOrganizationInvites.ts +66 -0
- package/src/operations/listOrganizationInvoices.ts +52 -0
- package/src/operations/listOrganizationMembers.ts +49 -0
- package/src/operations/listOrganizationPlans.ts +64 -0
- package/src/operations/listOrganizations.ts +36 -0
- package/src/operations/removeLocationFromGroup.ts +52 -0
- package/src/operations/removeOrganizationMember.ts +41 -0
- package/src/operations/revokeAPIToken.ts +28 -0
- package/src/operations/transferGroup.ts +41 -0
- package/src/operations/unarchiveGroup.ts +44 -0
- package/src/operations/updateDatabaseConfiguration.ts +50 -0
- package/src/operations/updateGroupConfiguration.ts +42 -0
- package/src/operations/updateGroupDatabases.ts +37 -0
- package/src/operations/updateMemberRole.ts +44 -0
- package/src/operations/updateOrganization.ts +45 -0
- package/src/operations/validateAPIToken.ts +28 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const InviteOrganizationMemberInput: Schema.Struct<{
|
|
3
|
+
readonly organizationSlug: Schema.String;
|
|
4
|
+
readonly email: Schema.String;
|
|
5
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["admin", "member", "viewer"]>>;
|
|
6
|
+
}>;
|
|
7
|
+
export type InviteOrganizationMemberInput = typeof InviteOrganizationMemberInput.Type;
|
|
8
|
+
export declare const InviteOrganizationMemberOutput: Schema.Struct<{
|
|
9
|
+
readonly invited: Schema.optional<Schema.Struct<{
|
|
10
|
+
readonly ID: Schema.optional<Schema.Number>;
|
|
11
|
+
readonly CreatedAt: Schema.optional<Schema.String>;
|
|
12
|
+
readonly UpdatedAt: Schema.optional<Schema.String>;
|
|
13
|
+
readonly DeletedAt: Schema.optional<Schema.String>;
|
|
14
|
+
readonly Role: Schema.optional<Schema.Literals<readonly ["admin", "member", "viewer"]>>;
|
|
15
|
+
readonly Email: Schema.optional<Schema.String>;
|
|
16
|
+
readonly OrganizationID: Schema.optional<Schema.Number>;
|
|
17
|
+
readonly Token: Schema.optional<Schema.String>;
|
|
18
|
+
readonly Organization: Schema.optional<Schema.Struct<{
|
|
19
|
+
readonly name: Schema.optional<Schema.String>;
|
|
20
|
+
readonly slug: Schema.optional<Schema.String>;
|
|
21
|
+
readonly type: Schema.optional<Schema.Literals<readonly ["personal", "team"]>>;
|
|
22
|
+
readonly overages: Schema.optional<Schema.Boolean>;
|
|
23
|
+
readonly blocked_reads: Schema.optional<Schema.Boolean>;
|
|
24
|
+
readonly blocked_writes: Schema.optional<Schema.Boolean>;
|
|
25
|
+
readonly plan_id: Schema.optional<Schema.String>;
|
|
26
|
+
readonly plan_timeline: Schema.optional<Schema.String>;
|
|
27
|
+
readonly platform: Schema.optional<Schema.String>;
|
|
28
|
+
}>>;
|
|
29
|
+
readonly Accepted: Schema.optional<Schema.Boolean>;
|
|
30
|
+
}>>;
|
|
31
|
+
}>;
|
|
32
|
+
export type InviteOrganizationMemberOutput = typeof InviteOrganizationMemberOutput.Type;
|
|
33
|
+
/**
|
|
34
|
+
* Invite Organization Member
|
|
35
|
+
*
|
|
36
|
+
* Invite a user (who isn't already a Turso user) to an organization.
|
|
37
|
+
*
|
|
38
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
39
|
+
*/
|
|
40
|
+
export declare const inviteOrganizationMember: any;
|
|
41
|
+
//# sourceMappingURL=inviteOrganizationMember.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inviteOrganizationMember.d.ts","sourceRoot":"","sources":["../../src/operations/inviteOrganizationMember.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,6BAA6B;;;;EAUvC,CAAC;AACJ,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;EA4BvC,CAAC;AACL,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,KAKpC,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const InviteOrganizationMemberInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
email: Schema.String,
|
|
9
|
+
role: Schema.optional(Schema.Literals(["admin", "member", "viewer"])),
|
|
10
|
+
}).pipe(T.Http({
|
|
11
|
+
method: "POST",
|
|
12
|
+
path: "/v1/organizations/{organizationSlug}/invites",
|
|
13
|
+
}));
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const InviteOrganizationMemberOutput =
|
|
16
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
|
+
invited: Schema.optional(Schema.Struct({
|
|
18
|
+
ID: Schema.optional(Schema.Number),
|
|
19
|
+
CreatedAt: Schema.optional(Schema.String),
|
|
20
|
+
UpdatedAt: Schema.optional(Schema.String),
|
|
21
|
+
DeletedAt: Schema.optional(Schema.String),
|
|
22
|
+
Role: Schema.optional(Schema.Literals(["admin", "member", "viewer"])),
|
|
23
|
+
Email: Schema.optional(Schema.String),
|
|
24
|
+
OrganizationID: Schema.optional(Schema.Number),
|
|
25
|
+
Token: Schema.optional(Schema.String),
|
|
26
|
+
Organization: Schema.optional(Schema.Struct({
|
|
27
|
+
name: Schema.optional(Schema.String),
|
|
28
|
+
slug: Schema.optional(Schema.String),
|
|
29
|
+
type: Schema.optional(Schema.Literals(["personal", "team"])),
|
|
30
|
+
overages: Schema.optional(Schema.Boolean),
|
|
31
|
+
blocked_reads: Schema.optional(Schema.Boolean),
|
|
32
|
+
blocked_writes: Schema.optional(Schema.Boolean),
|
|
33
|
+
plan_id: Schema.optional(Schema.String),
|
|
34
|
+
plan_timeline: Schema.optional(Schema.String),
|
|
35
|
+
platform: Schema.optional(Schema.String),
|
|
36
|
+
})),
|
|
37
|
+
Accepted: Schema.optional(Schema.Boolean),
|
|
38
|
+
})),
|
|
39
|
+
});
|
|
40
|
+
// The operation
|
|
41
|
+
/**
|
|
42
|
+
* Invite Organization Member
|
|
43
|
+
*
|
|
44
|
+
* Invite a user (who isn't already a Turso user) to an organization.
|
|
45
|
+
*
|
|
46
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
47
|
+
*/
|
|
48
|
+
export const inviteOrganizationMember = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
49
|
+
inputSchema: InviteOrganizationMemberInput,
|
|
50
|
+
outputSchema: InviteOrganizationMemberOutput,
|
|
51
|
+
}));
|
|
52
|
+
//# sourceMappingURL=inviteOrganizationMember.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inviteOrganizationMember.js","sourceRoot":"","sources":["../../src/operations/inviteOrganizationMember.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,6BAA6B;AACxC,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;IACpB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;CACtE,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,8CAA8C;CACrD,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,QAAQ,CACtB,MAAM,CAAC,MAAM,CAAC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AAM,CAAC,MAAM,CAAC;YAC7C,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;SACzC,CAAC,CACH;QACD,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;KAC1C,CAAC,CACH;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC1E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,6BAA6B;IAC1C,YAAY,EAAE,8BAA8B;CAC7C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListAPITokensInput: Schema.Struct<{}>;
|
|
3
|
+
export type ListAPITokensInput = typeof ListAPITokensInput.Type;
|
|
4
|
+
export declare const ListAPITokensOutput: Schema.Struct<{
|
|
5
|
+
readonly tokens: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
6
|
+
readonly name: Schema.optional<Schema.String>;
|
|
7
|
+
readonly id: Schema.optional<Schema.String>;
|
|
8
|
+
}>>>;
|
|
9
|
+
}>;
|
|
10
|
+
export type ListAPITokensOutput = typeof ListAPITokensOutput.Type;
|
|
11
|
+
/**
|
|
12
|
+
* List API Tokens
|
|
13
|
+
*
|
|
14
|
+
* Returns a list of API tokens belonging to a user.
|
|
15
|
+
*/
|
|
16
|
+
export declare const listAPITokens: any;
|
|
17
|
+
//# sourceMappingURL=listAPITokens.d.ts.map
|
|
@@ -0,0 +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,mBAE+B,CAAC;AAC/D,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;EAS9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;GAIG;AACH,eAAO,MAAM,aAAa,KAGvB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListAPITokensInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/v1/auth/api-tokens" }));
|
|
6
|
+
// Output Schema
|
|
7
|
+
export const ListAPITokensOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
tokens: Schema.optional(Schema.Array(Schema.Struct({
|
|
9
|
+
name: Schema.optional(Schema.String),
|
|
10
|
+
id: Schema.optional(Schema.String),
|
|
11
|
+
}))),
|
|
12
|
+
});
|
|
13
|
+
// The operation
|
|
14
|
+
/**
|
|
15
|
+
* List API Tokens
|
|
16
|
+
*
|
|
17
|
+
* Returns a list of API tokens belonging to a user.
|
|
18
|
+
*/
|
|
19
|
+
export const listAPITokens = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
20
|
+
inputSchema: ListAPITokensInput,
|
|
21
|
+
outputSchema: ListAPITokensOutput,
|
|
22
|
+
}));
|
|
23
|
+
//# sourceMappingURL=listAPITokens.js.map
|
|
@@ -0,0 +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,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CACzE,EAAE,CACH,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,CAAC,CAAC;AAG/D,gBAAgB;AAChB,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3E,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,EAAE,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACnC,CAAC,CACH,CACF;CACF,CAAC,CAAC;AAGH,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,26 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListDatabaseInstancesInput: Schema.Struct<{
|
|
3
|
+
readonly organizationSlug: Schema.String;
|
|
4
|
+
readonly databaseName: Schema.String;
|
|
5
|
+
}>;
|
|
6
|
+
export type ListDatabaseInstancesInput = typeof ListDatabaseInstancesInput.Type;
|
|
7
|
+
export declare const ListDatabaseInstancesOutput: Schema.Struct<{
|
|
8
|
+
readonly instances: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
9
|
+
readonly uuid: Schema.optional<Schema.String>;
|
|
10
|
+
readonly name: Schema.optional<Schema.String>;
|
|
11
|
+
readonly type: Schema.optional<Schema.Literals<readonly ["primary", "replica"]>>;
|
|
12
|
+
readonly region: Schema.optional<Schema.String>;
|
|
13
|
+
readonly hostname: Schema.optional<Schema.String>;
|
|
14
|
+
}>>>;
|
|
15
|
+
}>;
|
|
16
|
+
export type ListDatabaseInstancesOutput = typeof ListDatabaseInstancesOutput.Type;
|
|
17
|
+
/**
|
|
18
|
+
* List Database Instances
|
|
19
|
+
*
|
|
20
|
+
* Returns a list of instances of a database. Instances are the individual primary or replica databases in each region defined by the group.
|
|
21
|
+
*
|
|
22
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
23
|
+
* @param databaseName - The name of the database.
|
|
24
|
+
*/
|
|
25
|
+
export declare const listDatabaseInstances: any;
|
|
26
|
+
//# sourceMappingURL=listDatabaseInstances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listDatabaseInstances.d.ts","sourceRoot":"","sources":["../../src/operations/listDatabaseInstances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;EASpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;;EAapC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,KAKjC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListDatabaseInstancesInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
databaseName: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({
|
|
10
|
+
method: "GET",
|
|
11
|
+
path: "/v1/organizations/{organizationSlug}/databases/{databaseName}/instances",
|
|
12
|
+
}));
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const ListDatabaseInstancesOutput =
|
|
15
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
|
+
instances: Schema.optional(Schema.Array(Schema.Struct({
|
|
17
|
+
uuid: Schema.optional(Schema.String),
|
|
18
|
+
name: Schema.optional(Schema.String),
|
|
19
|
+
type: Schema.optional(Schema.Literals(["primary", "replica"])),
|
|
20
|
+
region: Schema.optional(Schema.String),
|
|
21
|
+
hostname: Schema.optional(Schema.String),
|
|
22
|
+
}))),
|
|
23
|
+
});
|
|
24
|
+
// The operation
|
|
25
|
+
/**
|
|
26
|
+
* List Database Instances
|
|
27
|
+
*
|
|
28
|
+
* Returns a list of instances of a database. Instances are the individual primary or replica databases in each region defined by the group.
|
|
29
|
+
*
|
|
30
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
31
|
+
* @param databaseName - The name of the database.
|
|
32
|
+
*/
|
|
33
|
+
export const listDatabaseInstances = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
34
|
+
inputSchema: ListDatabaseInstancesInput,
|
|
35
|
+
outputSchema: ListDatabaseInstancesOutput,
|
|
36
|
+
}));
|
|
37
|
+
//# sourceMappingURL=listDatabaseInstances.js.map
|
|
@@ -0,0 +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,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,gBAAgB,E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Slug: Schema.String;
|
|
4
|
+
readonly group: Schema.optional<Schema.String>;
|
|
5
|
+
readonly schema: Schema.optional<Schema.String>;
|
|
6
|
+
readonly parent: Schema.optional<Schema.String>;
|
|
7
|
+
}>;
|
|
8
|
+
export type ListDatabasesInput = typeof ListDatabasesInput.Type;
|
|
9
|
+
export declare const ListDatabasesOutput: Schema.Struct<{
|
|
10
|
+
readonly databases: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
11
|
+
readonly Name: Schema.optional<Schema.String>;
|
|
12
|
+
readonly DbId: Schema.optional<Schema.String>;
|
|
13
|
+
readonly Hostname: Schema.optional<Schema.String>;
|
|
14
|
+
readonly block_reads: Schema.optional<Schema.Boolean>;
|
|
15
|
+
readonly block_writes: Schema.optional<Schema.Boolean>;
|
|
16
|
+
readonly regions: Schema.optional<Schema.$Array<Schema.String>>;
|
|
17
|
+
readonly primaryRegion: Schema.optional<Schema.String>;
|
|
18
|
+
readonly group: Schema.optional<Schema.String>;
|
|
19
|
+
readonly delete_protection: Schema.optional<Schema.Boolean>;
|
|
20
|
+
readonly parent: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
21
|
+
readonly id: Schema.optional<Schema.String>;
|
|
22
|
+
readonly name: Schema.optional<Schema.String>;
|
|
23
|
+
readonly branched_at: Schema.optional<Schema.String>;
|
|
24
|
+
}>>>;
|
|
25
|
+
}>>>;
|
|
26
|
+
}>;
|
|
27
|
+
export type ListDatabasesOutput = typeof ListDatabasesOutput.Type;
|
|
28
|
+
/**
|
|
29
|
+
* List Databases
|
|
30
|
+
*
|
|
31
|
+
* Returns a list of databases belonging to the organization or user.
|
|
32
|
+
*
|
|
33
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
34
|
+
* @param group - Filter databases by group name.
|
|
35
|
+
* @param schema - The schema database name that can be used to get databases that belong to that parent schema.
|
|
36
|
+
* @param parent - Filter database branches by using their parent database ID.
|
|
37
|
+
*/
|
|
38
|
+
export declare const listDatabases: any;
|
|
39
|
+
//# sourceMappingURL=listDatabases.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listDatabases.d.ts","sourceRoot":"","sources":["../../src/operations/listDatabases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kBAAkB;;;;;EAU9B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;EAyB9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,KAGvB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListDatabasesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
|
+
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
7
|
+
group: Schema.optional(Schema.String),
|
|
8
|
+
schema: Schema.optional(Schema.String),
|
|
9
|
+
parent: Schema.optional(Schema.String),
|
|
10
|
+
}).pipe(T.Http({
|
|
11
|
+
method: "GET",
|
|
12
|
+
path: "/v1/organizations/{organizationSlug}/databases",
|
|
13
|
+
}));
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const ListDatabasesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
|
+
databases: Schema.optional(Schema.Array(Schema.Struct({
|
|
17
|
+
Name: Schema.optional(Schema.String),
|
|
18
|
+
DbId: Schema.optional(Schema.String),
|
|
19
|
+
Hostname: Schema.optional(Schema.String),
|
|
20
|
+
block_reads: Schema.optional(Schema.Boolean),
|
|
21
|
+
block_writes: Schema.optional(Schema.Boolean),
|
|
22
|
+
regions: Schema.optional(Schema.Array(Schema.String)),
|
|
23
|
+
primaryRegion: Schema.optional(Schema.String),
|
|
24
|
+
group: Schema.optional(Schema.String),
|
|
25
|
+
delete_protection: Schema.optional(Schema.Boolean),
|
|
26
|
+
parent: Schema.optional(Schema.NullOr(Schema.Struct({
|
|
27
|
+
id: Schema.optional(Schema.String),
|
|
28
|
+
name: Schema.optional(Schema.String),
|
|
29
|
+
branched_at: Schema.optional(Schema.String),
|
|
30
|
+
}))),
|
|
31
|
+
}))),
|
|
32
|
+
});
|
|
33
|
+
// The operation
|
|
34
|
+
/**
|
|
35
|
+
* List Databases
|
|
36
|
+
*
|
|
37
|
+
* Returns a list of databases belonging to the organization or user.
|
|
38
|
+
*
|
|
39
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
40
|
+
* @param group - Filter databases by group name.
|
|
41
|
+
* @param schema - The schema database name that can be used to get databases that belong to that parent schema.
|
|
42
|
+
* @param parent - Filter database branches by using their parent database ID.
|
|
43
|
+
*/
|
|
44
|
+
export const listDatabases = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
45
|
+
inputSchema: ListDatabasesInput,
|
|
46
|
+
outputSchema: ListDatabasesOutput,
|
|
47
|
+
}));
|
|
48
|
+
//# sourceMappingURL=listDatabases.js.map
|
|
@@ -0,0 +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,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,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,EA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CAAC;YACZ,EAAE,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YAClC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACpC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;SAC5C,CAAC,CACH,CACF;KACF,CAAC,CACH,CACF;CACF,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;;;;;;GASG;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,25 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListGroupsInput: Schema.Struct<{
|
|
3
|
+
readonly organizationSlug: Schema.String;
|
|
4
|
+
}>;
|
|
5
|
+
export type ListGroupsInput = typeof ListGroupsInput.Type;
|
|
6
|
+
export declare const ListGroupsOutput: Schema.Struct<{
|
|
7
|
+
readonly groups: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
8
|
+
readonly name: Schema.optional<Schema.String>;
|
|
9
|
+
readonly version: Schema.optional<Schema.String>;
|
|
10
|
+
readonly uuid: Schema.optional<Schema.String>;
|
|
11
|
+
readonly locations: Schema.optional<Schema.$Array<Schema.String>>;
|
|
12
|
+
readonly primary: Schema.optional<Schema.String>;
|
|
13
|
+
readonly delete_protection: Schema.optional<Schema.Boolean>;
|
|
14
|
+
}>>>;
|
|
15
|
+
}>;
|
|
16
|
+
export type ListGroupsOutput = typeof ListGroupsOutput.Type;
|
|
17
|
+
/**
|
|
18
|
+
* List Groups
|
|
19
|
+
*
|
|
20
|
+
* Returns a list of groups belonging to the organization or user.
|
|
21
|
+
*
|
|
22
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
23
|
+
*/
|
|
24
|
+
export declare const listGroups: any;
|
|
25
|
+
//# sourceMappingURL=listGroups.d.ts.map
|
|
@@ -0,0 +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;;EAO3B,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAG1D,eAAO,MAAM,gBAAgB;;;;;;;;;EAa3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,KAGpB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListGroupsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
|
+
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
7
|
+
}).pipe(T.Http({
|
|
8
|
+
method: "GET",
|
|
9
|
+
path: "/v1/organizations/{organizationSlug}/groups",
|
|
10
|
+
}));
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const ListGroupsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
|
+
groups: Schema.optional(Schema.Array(Schema.Struct({
|
|
14
|
+
name: Schema.optional(Schema.String),
|
|
15
|
+
version: Schema.optional(Schema.String),
|
|
16
|
+
uuid: Schema.optional(Schema.String),
|
|
17
|
+
locations: Schema.optional(Schema.Array(Schema.String)),
|
|
18
|
+
primary: Schema.optional(Schema.String),
|
|
19
|
+
delete_protection: Schema.optional(Schema.Boolean),
|
|
20
|
+
}))),
|
|
21
|
+
});
|
|
22
|
+
// The operation
|
|
23
|
+
/**
|
|
24
|
+
* List Groups
|
|
25
|
+
*
|
|
26
|
+
* Returns a list of groups belonging to the organization or user.
|
|
27
|
+
*
|
|
28
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
29
|
+
*/
|
|
30
|
+
export const listGroups = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
31
|
+
inputSchema: ListGroupsInput,
|
|
32
|
+
outputSchema: ListGroupsOutput,
|
|
33
|
+
}));
|
|
34
|
+
//# sourceMappingURL=listGroups.js.map
|
|
@@ -0,0 +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,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,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,CACH,CAAC;AAGF,gBAAgB;AAChB,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,CAAC,CAAC;AAGH,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"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListLocationsInput: Schema.Struct<{}>;
|
|
3
|
+
export type ListLocationsInput = typeof ListLocationsInput.Type;
|
|
4
|
+
export declare const ListLocationsOutput: Schema.Struct<{
|
|
5
|
+
readonly locations: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
6
|
+
}>;
|
|
7
|
+
export type ListLocationsOutput = typeof ListLocationsOutput.Type;
|
|
8
|
+
/**
|
|
9
|
+
* List Locations
|
|
10
|
+
*
|
|
11
|
+
* Returns a list of locations where you can create or replicate databases.
|
|
12
|
+
*/
|
|
13
|
+
export declare const listLocations: any;
|
|
14
|
+
//# sourceMappingURL=listLocations.d.ts.map
|
|
@@ -0,0 +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,mBAEyB,CAAC;AACzD,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;EAE9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;GAIG;AACH,eAAO,MAAM,aAAa,KAGvB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListLocationsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/v1/locations" }));
|
|
6
|
+
// Output Schema
|
|
7
|
+
export const ListLocationsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
locations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
9
|
+
});
|
|
10
|
+
// The operation
|
|
11
|
+
/**
|
|
12
|
+
* List Locations
|
|
13
|
+
*
|
|
14
|
+
* Returns a list of locations where you can create or replicate databases.
|
|
15
|
+
*/
|
|
16
|
+
export const listLocations = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
17
|
+
inputSchema: ListLocationsInput,
|
|
18
|
+
outputSchema: ListLocationsOutput,
|
|
19
|
+
}));
|
|
20
|
+
//# sourceMappingURL=listLocations.js.map
|
|
@@ -0,0 +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,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CACzE,EAAE,CACH,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC,CAAC;AAGzD,gBAAgB;AAChB,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,CAAC,CAAC;AAGH,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,35 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListOrganizationAuditLogsInput: Schema.Struct<{
|
|
3
|
+
readonly organizationSlug: Schema.String;
|
|
4
|
+
readonly page_size: Schema.optional<Schema.Number>;
|
|
5
|
+
readonly page: Schema.optional<Schema.Number>;
|
|
6
|
+
}>;
|
|
7
|
+
export type ListOrganizationAuditLogsInput = typeof ListOrganizationAuditLogsInput.Type;
|
|
8
|
+
export declare const ListOrganizationAuditLogsOutput: Schema.Struct<{
|
|
9
|
+
readonly audit_logs: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
10
|
+
readonly code: Schema.optional<Schema.Literals<readonly ["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
|
+
readonly message: Schema.optional<Schema.String>;
|
|
12
|
+
readonly origin: Schema.optional<Schema.String>;
|
|
13
|
+
readonly author: Schema.optional<Schema.String>;
|
|
14
|
+
readonly created_at: Schema.optional<Schema.String>;
|
|
15
|
+
readonly data: Schema.optional<Schema.Unknown>;
|
|
16
|
+
}>>>;
|
|
17
|
+
readonly pagination: Schema.optional<Schema.Struct<{
|
|
18
|
+
readonly page: Schema.optional<Schema.Number>;
|
|
19
|
+
readonly page_size: Schema.optional<Schema.Number>;
|
|
20
|
+
readonly total_pages: Schema.optional<Schema.Number>;
|
|
21
|
+
readonly total_rows: Schema.optional<Schema.Number>;
|
|
22
|
+
}>>;
|
|
23
|
+
}>;
|
|
24
|
+
export type ListOrganizationAuditLogsOutput = typeof ListOrganizationAuditLogsOutput.Type;
|
|
25
|
+
/**
|
|
26
|
+
* List Audit Logs
|
|
27
|
+
*
|
|
28
|
+
* Return the audit logs for the given organization, ordered by the `created_at` field in descending order.
|
|
29
|
+
*
|
|
30
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
31
|
+
* @param page_size - The limit of items to return per page. Defaults to 100.
|
|
32
|
+
* @param page - The page number to return. Defaults to 1.
|
|
33
|
+
*/
|
|
34
|
+
export declare const listOrganizationAuditLogs: any;
|
|
35
|
+
//# sourceMappingURL=listOrganizationAuditLogs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listOrganizationAuditLogs.d.ts","sourceRoot":"","sources":["../../src/operations/listOrganizationAuditLogs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8BAA8B;;;;EAUxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;EAiDxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,KAKrC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListOrganizationAuditLogsInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
organizationSlug: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
page_size: Schema.optional(Schema.Number),
|
|
9
|
+
page: Schema.optional(Schema.Number),
|
|
10
|
+
}).pipe(T.Http({
|
|
11
|
+
method: "GET",
|
|
12
|
+
path: "/v1/organizations/{organizationSlug}/audit-logs",
|
|
13
|
+
}));
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const ListOrganizationAuditLogsOutput =
|
|
16
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
|
+
audit_logs: Schema.optional(Schema.Array(Schema.Struct({
|
|
18
|
+
code: Schema.optional(Schema.Literals([
|
|
19
|
+
"user-signup",
|
|
20
|
+
"db-create",
|
|
21
|
+
"db-delete",
|
|
22
|
+
"db-protect",
|
|
23
|
+
"db-unprotect",
|
|
24
|
+
"db-token-create",
|
|
25
|
+
"group-token-create",
|
|
26
|
+
"user-token-create",
|
|
27
|
+
"instance-create",
|
|
28
|
+
"instance-delete",
|
|
29
|
+
"org-create",
|
|
30
|
+
"org-delete",
|
|
31
|
+
"org-member-add",
|
|
32
|
+
"org-member-rm",
|
|
33
|
+
"org-member-leave",
|
|
34
|
+
"org-plan-update",
|
|
35
|
+
"org-set-overages",
|
|
36
|
+
"group-create",
|
|
37
|
+
"group-delete",
|
|
38
|
+
"group-unarchive",
|
|
39
|
+
"group-protect",
|
|
40
|
+
"group-unprotect",
|
|
41
|
+
"db-aunrchive",
|
|
42
|
+
"user-delete",
|
|
43
|
+
])),
|
|
44
|
+
message: Schema.optional(Schema.String),
|
|
45
|
+
origin: Schema.optional(Schema.String),
|
|
46
|
+
author: Schema.optional(Schema.String),
|
|
47
|
+
created_at: Schema.optional(Schema.String),
|
|
48
|
+
data: Schema.optional(Schema.Unknown),
|
|
49
|
+
}))),
|
|
50
|
+
pagination: Schema.optional(Schema.Struct({
|
|
51
|
+
page: Schema.optional(Schema.Number),
|
|
52
|
+
page_size: Schema.optional(Schema.Number),
|
|
53
|
+
total_pages: Schema.optional(Schema.Number),
|
|
54
|
+
total_rows: Schema.optional(Schema.Number),
|
|
55
|
+
})),
|
|
56
|
+
});
|
|
57
|
+
// The operation
|
|
58
|
+
/**
|
|
59
|
+
* List Audit Logs
|
|
60
|
+
*
|
|
61
|
+
* Return the audit logs for the given organization, ordered by the `created_at` field in descending order.
|
|
62
|
+
*
|
|
63
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
64
|
+
* @param page_size - The limit of items to return per page. Defaults to 100.
|
|
65
|
+
* @param page - The page number to return. Defaults to 1.
|
|
66
|
+
*/
|
|
67
|
+
export const listOrganizationAuditLogs = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
68
|
+
inputSchema: ListOrganizationAuditLogsInput,
|
|
69
|
+
outputSchema: ListOrganizationAuditLogsOutput,
|
|
70
|
+
}));
|
|
71
|
+
//# sourceMappingURL=listOrganizationAuditLogs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listOrganizationAuditLogs.js","sourceRoot":"","sources":["../../src/operations/listOrganizationAuditLogs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE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C,QAAQ,CACzB,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACzC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KAC3C,CAAC,CACH;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC3E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,8BAA8B;IAC3C,YAAY,EAAE,+BAA+B;CAC9C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListOrganizationInvitesInput: Schema.Struct<{
|
|
3
|
+
readonly organizationSlug: Schema.String;
|
|
4
|
+
}>;
|
|
5
|
+
export type ListOrganizationInvitesInput = typeof ListOrganizationInvitesInput.Type;
|
|
6
|
+
export declare const ListOrganizationInvitesOutput: Schema.Struct<{
|
|
7
|
+
readonly invites: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
8
|
+
readonly ID: Schema.optional<Schema.Number>;
|
|
9
|
+
readonly CreatedAt: Schema.optional<Schema.String>;
|
|
10
|
+
readonly UpdatedAt: Schema.optional<Schema.String>;
|
|
11
|
+
readonly DeletedAt: Schema.optional<Schema.String>;
|
|
12
|
+
readonly Role: Schema.optional<Schema.Literals<readonly ["admin", "member", "viewer"]>>;
|
|
13
|
+
readonly Email: Schema.optional<Schema.String>;
|
|
14
|
+
readonly OrganizationID: Schema.optional<Schema.Number>;
|
|
15
|
+
readonly Token: Schema.optional<Schema.String>;
|
|
16
|
+
readonly Organization: Schema.optional<Schema.Struct<{
|
|
17
|
+
readonly name: Schema.optional<Schema.String>;
|
|
18
|
+
readonly slug: Schema.optional<Schema.String>;
|
|
19
|
+
readonly type: Schema.optional<Schema.Literals<readonly ["personal", "team"]>>;
|
|
20
|
+
readonly overages: Schema.optional<Schema.Boolean>;
|
|
21
|
+
readonly blocked_reads: Schema.optional<Schema.Boolean>;
|
|
22
|
+
readonly blocked_writes: Schema.optional<Schema.Boolean>;
|
|
23
|
+
readonly plan_id: Schema.optional<Schema.String>;
|
|
24
|
+
readonly plan_timeline: Schema.optional<Schema.String>;
|
|
25
|
+
readonly platform: Schema.optional<Schema.String>;
|
|
26
|
+
}>>;
|
|
27
|
+
readonly Accepted: Schema.optional<Schema.Boolean>;
|
|
28
|
+
}>>>;
|
|
29
|
+
}>;
|
|
30
|
+
export type ListOrganizationInvitesOutput = typeof ListOrganizationInvitesOutput.Type;
|
|
31
|
+
/**
|
|
32
|
+
* List Invites
|
|
33
|
+
*
|
|
34
|
+
* Returns a list of invites for the organization.
|
|
35
|
+
*
|
|
36
|
+
* @param organizationSlug - The slug of the organization or user account.
|
|
37
|
+
*/
|
|
38
|
+
export declare const listOrganizationInvites: any;
|
|
39
|
+
//# sourceMappingURL=listOrganizationInvites.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listOrganizationInvites.d.ts","sourceRoot":"","sources":["../../src/operations/listOrganizationInvites.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,4BAA4B;;EAQtC,CAAC;AACJ,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;EA8BtC,CAAC;AACL,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,KAKnC,CAAC"}
|