@distilled.cloud/planetscale 0.21.1 → 0.21.3
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/addOrganizationTeamMember.d.ts +2 -2
- package/lib/operations/addOrganizationTeamMember.js +2 -2
- package/lib/operations/addOrganizationTeamMember.js.map +1 -1
- package/lib/operations/createOauthToken.d.ts +4 -4
- package/lib/operations/createOauthToken.d.ts.map +1 -1
- package/lib/operations/createOauthToken.js +3 -3
- package/lib/operations/createOauthToken.js.map +1 -1
- package/lib/operations/createPassword.d.ts +2 -2
- package/lib/operations/createPassword.js +2 -2
- package/lib/operations/createPassword.js.map +1 -1
- package/lib/operations/createRole.d.ts +2 -2
- package/lib/operations/createRole.js +2 -2
- package/lib/operations/createRole.js.map +1 -1
- package/lib/operations/createServiceToken.d.ts +4 -4
- package/lib/operations/createServiceToken.js +3 -3
- package/lib/operations/createServiceToken.js.map +1 -1
- package/lib/operations/createWebhook.d.ts +2 -2
- package/lib/operations/createWebhook.js +2 -2
- package/lib/operations/createWebhook.js.map +1 -1
- package/lib/operations/getDefaultRole.d.ts +2 -2
- package/lib/operations/getDefaultRole.js +2 -2
- package/lib/operations/getDefaultRole.js.map +1 -1
- package/lib/operations/getOauthToken.d.ts +4 -4
- package/lib/operations/getOauthToken.js +3 -3
- package/lib/operations/getOauthToken.js.map +1 -1
- package/lib/operations/getOrganizationTeamMember.d.ts +2 -2
- package/lib/operations/getOrganizationTeamMember.js +2 -2
- package/lib/operations/getOrganizationTeamMember.js.map +1 -1
- package/lib/operations/getPassword.d.ts +2 -2
- package/lib/operations/getPassword.js +2 -2
- package/lib/operations/getPassword.js.map +1 -1
- package/lib/operations/getRole.d.ts +2 -2
- package/lib/operations/getRole.js +2 -2
- package/lib/operations/getRole.js.map +1 -1
- package/lib/operations/getServiceToken.d.ts +4 -4
- package/lib/operations/getServiceToken.js +3 -3
- package/lib/operations/getServiceToken.js.map +1 -1
- package/lib/operations/getWebhook.d.ts +2 -2
- package/lib/operations/getWebhook.js +2 -2
- package/lib/operations/getWebhook.js.map +1 -1
- package/lib/operations/listOauthTokens.d.ts +2 -2
- package/lib/operations/listOauthTokens.js +2 -2
- package/lib/operations/listOauthTokens.js.map +1 -1
- package/lib/operations/listOrganizationTeamMembers.d.ts +2 -2
- package/lib/operations/listOrganizationTeamMembers.js +2 -2
- package/lib/operations/listOrganizationTeamMembers.js.map +1 -1
- package/lib/operations/listPasswords.d.ts +2 -2
- package/lib/operations/listPasswords.js +2 -2
- package/lib/operations/listPasswords.js.map +1 -1
- package/lib/operations/listRoles.d.ts +2 -2
- package/lib/operations/listRoles.js +2 -2
- package/lib/operations/listRoles.js.map +1 -1
- package/lib/operations/listServiceTokens.d.ts +2 -2
- package/lib/operations/listServiceTokens.d.ts.map +1 -1
- package/lib/operations/listServiceTokens.js +2 -2
- package/lib/operations/listServiceTokens.js.map +1 -1
- package/lib/operations/listWebhooks.d.ts +2 -2
- package/lib/operations/listWebhooks.js +2 -2
- package/lib/operations/listWebhooks.js.map +1 -1
- package/lib/operations/renewPassword.d.ts +2 -2
- package/lib/operations/renewPassword.js +2 -2
- package/lib/operations/renewPassword.js.map +1 -1
- package/lib/operations/renewRole.d.ts +2 -2
- package/lib/operations/renewRole.js +2 -2
- package/lib/operations/renewRole.js.map +1 -1
- package/lib/operations/resetDefaultRole.d.ts +2 -2
- package/lib/operations/resetDefaultRole.js +2 -2
- package/lib/operations/resetDefaultRole.js.map +1 -1
- package/lib/operations/resetRole.d.ts +2 -2
- package/lib/operations/resetRole.js +2 -2
- package/lib/operations/resetRole.js.map +1 -1
- package/lib/operations/updatePassword.d.ts +2 -2
- package/lib/operations/updatePassword.js +2 -2
- package/lib/operations/updatePassword.js.map +1 -1
- package/lib/operations/updateRole.d.ts +2 -2
- package/lib/operations/updateRole.js +2 -2
- package/lib/operations/updateRole.js.map +1 -1
- package/lib/operations/updateWebhook.d.ts +2 -2
- package/lib/operations/updateWebhook.js +2 -2
- package/lib/operations/updateWebhook.js.map +1 -1
- package/package.json +2 -2
- package/src/operations/addOrganizationTeamMember.ts +2 -2
- package/src/operations/createOauthToken.ts +6 -3
- package/src/operations/createPassword.ts +2 -2
- package/src/operations/createRole.ts +2 -2
- package/src/operations/createServiceToken.ts +3 -3
- package/src/operations/createWebhook.ts +2 -2
- package/src/operations/getDefaultRole.ts +2 -2
- package/src/operations/getOauthToken.ts +3 -3
- package/src/operations/getOrganizationTeamMember.ts +2 -2
- package/src/operations/getPassword.ts +2 -2
- package/src/operations/getRole.ts +2 -2
- package/src/operations/getServiceToken.ts +3 -3
- package/src/operations/getWebhook.ts +2 -2
- package/src/operations/listOauthTokens.ts +2 -2
- package/src/operations/listOrganizationTeamMembers.ts +2 -2
- package/src/operations/listPasswords.ts +2 -2
- package/src/operations/listRoles.ts +2 -2
- package/src/operations/listServiceTokens.ts +4 -2
- package/src/operations/listWebhooks.ts +2 -2
- package/src/operations/renewPassword.ts +2 -2
- package/src/operations/renewRole.ts +2 -2
- package/src/operations/resetDefaultRole.ts +2 -2
- package/src/operations/resetRole.ts +2 -2
- package/src/operations/updatePassword.ts +2 -2
- package/src/operations/updateRole.ts +2 -2
- package/src/operations/updateWebhook.ts +2 -2
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveOutputNullableString } from "../sensitive.ts";
|
|
6
6
|
|
|
7
7
|
// Input Schema
|
|
8
8
|
export const ListPasswordsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -65,7 +65,7 @@ export const ListPasswordsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
65
65
|
postgresql_supported: Schema.Boolean,
|
|
66
66
|
}),
|
|
67
67
|
username: Schema.String,
|
|
68
|
-
plain_text:
|
|
68
|
+
plain_text: SensitiveOutputNullableString,
|
|
69
69
|
replica: Schema.Boolean,
|
|
70
70
|
renewable: Schema.Boolean,
|
|
71
71
|
database_branch: Schema.Struct({
|
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveOutputNullableString } from "../sensitive.ts";
|
|
6
6
|
|
|
7
7
|
// Input Schema
|
|
8
8
|
export const ListRolesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -36,7 +36,7 @@ export const ListRolesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
36
36
|
private_connection_service_name: Schema.String,
|
|
37
37
|
username: Schema.String,
|
|
38
38
|
base_username: Schema.String,
|
|
39
|
-
password:
|
|
39
|
+
password: SensitiveOutputNullableString,
|
|
40
40
|
database_name: Schema.String,
|
|
41
41
|
created_at: Schema.String,
|
|
42
42
|
updated_at: Schema.String,
|
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveOutputNullableString } from "../sensitive.ts";
|
|
6
6
|
|
|
7
7
|
// Input Schema
|
|
8
8
|
export const ListServiceTokensInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
@@ -34,7 +34,9 @@ export const ListServiceTokensOutput =
|
|
|
34
34
|
name: Schema.optional(Schema.NullOr(Schema.String)),
|
|
35
35
|
display_name: Schema.String,
|
|
36
36
|
token: Schema.optional(Schema.NullOr(Schema.String)),
|
|
37
|
-
plain_text_refresh_token: Schema.optional(
|
|
37
|
+
plain_text_refresh_token: Schema.optional(
|
|
38
|
+
SensitiveOutputNullableString,
|
|
39
|
+
),
|
|
38
40
|
avatar_url: Schema.String,
|
|
39
41
|
created_at: Schema.String,
|
|
40
42
|
updated_at: Schema.String,
|
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveOutputString } from "../sensitive.ts";
|
|
6
6
|
|
|
7
7
|
// Input Schema
|
|
8
8
|
export const ListWebhooksInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -30,7 +30,7 @@ export const ListWebhooksOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
30
30
|
Schema.Struct({
|
|
31
31
|
id: Schema.String,
|
|
32
32
|
url: Schema.String,
|
|
33
|
-
secret:
|
|
33
|
+
secret: SensitiveOutputString,
|
|
34
34
|
enabled: Schema.Boolean,
|
|
35
35
|
last_sent_result: Schema.NullOr(Schema.String),
|
|
36
36
|
last_sent_success: Schema.NullOr(Schema.Boolean),
|
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveOutputString } from "../sensitive.ts";
|
|
6
6
|
|
|
7
7
|
// Input Schema
|
|
8
8
|
export const RenewPasswordInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -55,7 +55,7 @@ export const RenewPasswordOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
55
55
|
postgresql_supported: Schema.Boolean,
|
|
56
56
|
}),
|
|
57
57
|
username: Schema.String,
|
|
58
|
-
plain_text:
|
|
58
|
+
plain_text: SensitiveOutputString,
|
|
59
59
|
replica: Schema.Boolean,
|
|
60
60
|
renewable: Schema.Boolean,
|
|
61
61
|
database_branch: Schema.Struct({
|
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveOutputNullableString } from "../sensitive.ts";
|
|
6
6
|
|
|
7
7
|
// Input Schema
|
|
8
8
|
export const RenewRoleInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -27,7 +27,7 @@ export const RenewRoleOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
27
27
|
private_connection_service_name: Schema.String,
|
|
28
28
|
username: Schema.String,
|
|
29
29
|
base_username: Schema.String,
|
|
30
|
-
password:
|
|
30
|
+
password: SensitiveOutputNullableString,
|
|
31
31
|
database_name: Schema.String,
|
|
32
32
|
created_at: Schema.String,
|
|
33
33
|
updated_at: Schema.String,
|
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveOutputNullableString } from "../sensitive.ts";
|
|
6
6
|
|
|
7
7
|
// Input Schema
|
|
8
8
|
export const ResetDefaultRoleInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -27,7 +27,7 @@ export const ResetDefaultRoleOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
27
27
|
private_connection_service_name: Schema.String,
|
|
28
28
|
username: Schema.String,
|
|
29
29
|
base_username: Schema.String,
|
|
30
|
-
password:
|
|
30
|
+
password: SensitiveOutputNullableString,
|
|
31
31
|
database_name: Schema.String,
|
|
32
32
|
created_at: Schema.String,
|
|
33
33
|
updated_at: Schema.String,
|
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveOutputNullableString } from "../sensitive.ts";
|
|
6
6
|
|
|
7
7
|
// Input Schema
|
|
8
8
|
export const ResetRoleInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -27,7 +27,7 @@ export const ResetRoleOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
27
27
|
private_connection_service_name: Schema.String,
|
|
28
28
|
username: Schema.String,
|
|
29
29
|
base_username: Schema.String,
|
|
30
|
-
password:
|
|
30
|
+
password: SensitiveOutputNullableString,
|
|
31
31
|
database_name: Schema.String,
|
|
32
32
|
created_at: Schema.String,
|
|
33
33
|
updated_at: Schema.String,
|
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveOutputNullableString } from "../sensitive.ts";
|
|
6
6
|
|
|
7
7
|
// Input Schema
|
|
8
8
|
export const UpdatePasswordInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -57,7 +57,7 @@ export const UpdatePasswordOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
57
57
|
postgresql_supported: Schema.Boolean,
|
|
58
58
|
}),
|
|
59
59
|
username: Schema.String,
|
|
60
|
-
plain_text:
|
|
60
|
+
plain_text: SensitiveOutputNullableString,
|
|
61
61
|
replica: Schema.Boolean,
|
|
62
62
|
renewable: Schema.Boolean,
|
|
63
63
|
database_branch: Schema.Struct({
|
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveOutputNullableString } from "../sensitive.ts";
|
|
6
6
|
|
|
7
7
|
// Input Schema
|
|
8
8
|
export const UpdateRoleInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -30,7 +30,7 @@ export const UpdateRoleOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
30
30
|
private_connection_service_name: Schema.String,
|
|
31
31
|
username: Schema.String,
|
|
32
32
|
base_username: Schema.String,
|
|
33
|
-
password:
|
|
33
|
+
password: SensitiveOutputNullableString,
|
|
34
34
|
database_name: Schema.String,
|
|
35
35
|
created_at: Schema.String,
|
|
36
36
|
updated_at: Schema.String,
|
|
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.ts";
|
|
3
3
|
import * as T from "../traits.ts";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveOutputString } from "../sensitive.ts";
|
|
6
6
|
|
|
7
7
|
// Input Schema
|
|
8
8
|
export const UpdateWebhookInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -24,7 +24,7 @@ export type UpdateWebhookInput = typeof UpdateWebhookInput.Type;
|
|
|
24
24
|
export const UpdateWebhookOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
25
25
|
id: Schema.String,
|
|
26
26
|
url: Schema.String,
|
|
27
|
-
secret:
|
|
27
|
+
secret: SensitiveOutputString,
|
|
28
28
|
enabled: Schema.Boolean,
|
|
29
29
|
last_sent_result: Schema.NullOr(Schema.String),
|
|
30
30
|
last_sent_success: Schema.NullOr(Schema.Boolean),
|