@distilled.cloud/planetscale 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/addOrganizationTeamMember.d.ts +1 -1
- package/lib/operations/addOrganizationTeamMember.d.ts.map +1 -1
- package/lib/operations/addOrganizationTeamMember.js +2 -1
- package/lib/operations/addOrganizationTeamMember.js.map +1 -1
- package/lib/operations/createOauthToken.d.ts +2 -2
- package/lib/operations/createOauthToken.js +2 -2
- package/lib/operations/createOauthToken.js.map +1 -1
- package/lib/operations/createRole.d.ts +1 -1
- package/lib/operations/createRole.d.ts.map +1 -1
- package/lib/operations/createRole.js +2 -1
- package/lib/operations/createRole.js.map +1 -1
- package/lib/operations/createWebhook.d.ts +1 -1
- package/lib/operations/createWebhook.d.ts.map +1 -1
- package/lib/operations/createWebhook.js +2 -1
- package/lib/operations/createWebhook.js.map +1 -1
- package/lib/operations/getDefaultRole.d.ts +1 -1
- package/lib/operations/getDefaultRole.d.ts.map +1 -1
- package/lib/operations/getDefaultRole.js +2 -1
- package/lib/operations/getDefaultRole.js.map +1 -1
- package/lib/operations/getOrganizationTeamMember.d.ts +1 -1
- package/lib/operations/getOrganizationTeamMember.d.ts.map +1 -1
- package/lib/operations/getOrganizationTeamMember.js +2 -1
- package/lib/operations/getOrganizationTeamMember.js.map +1 -1
- package/lib/operations/getRole.d.ts +1 -1
- package/lib/operations/getRole.d.ts.map +1 -1
- package/lib/operations/getRole.js +2 -1
- package/lib/operations/getRole.js.map +1 -1
- package/lib/operations/getWebhook.d.ts +1 -1
- package/lib/operations/getWebhook.d.ts.map +1 -1
- package/lib/operations/getWebhook.js +2 -1
- package/lib/operations/getWebhook.js.map +1 -1
- package/lib/operations/listOauthTokens.d.ts +1 -1
- package/lib/operations/listOauthTokens.d.ts.map +1 -1
- package/lib/operations/listOauthTokens.js +2 -1
- package/lib/operations/listOauthTokens.js.map +1 -1
- package/lib/operations/listOrganizationTeamMembers.d.ts +1 -1
- package/lib/operations/listOrganizationTeamMembers.d.ts.map +1 -1
- package/lib/operations/listOrganizationTeamMembers.js +2 -1
- package/lib/operations/listOrganizationTeamMembers.js.map +1 -1
- package/lib/operations/listPasswords.d.ts +1 -1
- package/lib/operations/listPasswords.d.ts.map +1 -1
- package/lib/operations/listPasswords.js +2 -1
- package/lib/operations/listPasswords.js.map +1 -1
- package/lib/operations/listRoles.d.ts +1 -1
- package/lib/operations/listRoles.d.ts.map +1 -1
- package/lib/operations/listRoles.js +2 -1
- package/lib/operations/listRoles.js.map +1 -1
- package/lib/operations/listServiceTokens.d.ts +1 -1
- package/lib/operations/listServiceTokens.d.ts.map +1 -1
- package/lib/operations/listServiceTokens.js +2 -1
- package/lib/operations/listServiceTokens.js.map +1 -1
- package/lib/operations/listWebhooks.d.ts +1 -1
- package/lib/operations/listWebhooks.d.ts.map +1 -1
- package/lib/operations/listWebhooks.js +2 -1
- package/lib/operations/listWebhooks.js.map +1 -1
- package/lib/operations/renewRole.d.ts +1 -1
- package/lib/operations/renewRole.d.ts.map +1 -1
- package/lib/operations/renewRole.js +2 -1
- package/lib/operations/renewRole.js.map +1 -1
- package/lib/operations/resetDefaultRole.d.ts +1 -1
- package/lib/operations/resetDefaultRole.d.ts.map +1 -1
- package/lib/operations/resetDefaultRole.js +2 -1
- package/lib/operations/resetDefaultRole.js.map +1 -1
- package/lib/operations/resetRole.d.ts +1 -1
- package/lib/operations/resetRole.d.ts.map +1 -1
- package/lib/operations/resetRole.js +2 -1
- package/lib/operations/resetRole.js.map +1 -1
- package/lib/operations/updateRole.d.ts +1 -1
- package/lib/operations/updateRole.d.ts.map +1 -1
- package/lib/operations/updateRole.js +2 -1
- package/lib/operations/updateRole.js.map +1 -1
- package/lib/operations/updateWebhook.d.ts +1 -1
- package/lib/operations/updateWebhook.d.ts.map +1 -1
- package/lib/operations/updateWebhook.js +2 -1
- package/lib/operations/updateWebhook.js.map +1 -1
- package/package.json +3 -3
- package/src/operations/addOrganizationTeamMember.ts +2 -1
- package/src/operations/createOauthToken.ts +2 -2
- package/src/operations/createRole.ts +2 -1
- package/src/operations/createWebhook.ts +2 -1
- package/src/operations/getDefaultRole.ts +2 -1
- package/src/operations/getOrganizationTeamMember.ts +2 -1
- package/src/operations/getRole.ts +2 -1
- package/src/operations/getWebhook.ts +2 -1
- package/src/operations/listOauthTokens.ts +2 -1
- package/src/operations/listOrganizationTeamMembers.ts +2 -1
- package/src/operations/listPasswords.ts +2 -1
- package/src/operations/listRoles.ts +2 -1
- package/src/operations/listServiceTokens.ts +2 -1
- package/src/operations/listWebhooks.ts +2 -1
- package/src/operations/renewRole.ts +2 -1
- package/src/operations/resetDefaultRole.ts +2 -1
- package/src/operations/resetRole.ts +2 -1
- package/src/operations/updateRole.ts +2 -1
- package/src/operations/updateWebhook.ts +2 -1
|
@@ -2,6 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors";
|
|
5
|
+
import { SensitiveString } from "../sensitive";
|
|
5
6
|
|
|
6
7
|
// Input Schema
|
|
7
8
|
export const ListRolesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -33,7 +34,7 @@ export const ListRolesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
33
34
|
private_access_host_url: Schema.String,
|
|
34
35
|
private_connection_service_name: Schema.String,
|
|
35
36
|
username: Schema.String,
|
|
36
|
-
password:
|
|
37
|
+
password: SensitiveString,
|
|
37
38
|
database_name: Schema.String,
|
|
38
39
|
created_at: Schema.String,
|
|
39
40
|
updated_at: Schema.String,
|
|
@@ -2,6 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors";
|
|
5
|
+
import { SensitiveString } from "../sensitive";
|
|
5
6
|
|
|
6
7
|
// Input Schema
|
|
7
8
|
export const ListServiceTokensInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
@@ -32,7 +33,7 @@ export const ListServiceTokensOutput =
|
|
|
32
33
|
name: Schema.String,
|
|
33
34
|
display_name: Schema.String,
|
|
34
35
|
token: Schema.String,
|
|
35
|
-
plain_text_refresh_token:
|
|
36
|
+
plain_text_refresh_token: SensitiveString,
|
|
36
37
|
avatar_url: Schema.String,
|
|
37
38
|
created_at: Schema.String,
|
|
38
39
|
updated_at: Schema.String,
|
|
@@ -2,6 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors";
|
|
5
|
+
import { SensitiveString } from "../sensitive";
|
|
5
6
|
|
|
6
7
|
// Input Schema
|
|
7
8
|
export const ListWebhooksInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -28,7 +29,7 @@ export const ListWebhooksOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
28
29
|
Schema.Struct({
|
|
29
30
|
id: Schema.String,
|
|
30
31
|
url: Schema.String,
|
|
31
|
-
secret:
|
|
32
|
+
secret: SensitiveString,
|
|
32
33
|
enabled: Schema.Boolean,
|
|
33
34
|
last_sent_result: Schema.NullOr(Schema.String),
|
|
34
35
|
last_sent_success: Schema.NullOr(Schema.Boolean),
|
|
@@ -2,6 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors";
|
|
5
|
+
import { SensitiveString } from "../sensitive";
|
|
5
6
|
|
|
6
7
|
// Input Schema
|
|
7
8
|
export const RenewRoleInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -25,7 +26,7 @@ export const RenewRoleOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
25
26
|
private_access_host_url: Schema.String,
|
|
26
27
|
private_connection_service_name: Schema.String,
|
|
27
28
|
username: Schema.String,
|
|
28
|
-
password:
|
|
29
|
+
password: SensitiveString,
|
|
29
30
|
database_name: Schema.String,
|
|
30
31
|
created_at: Schema.String,
|
|
31
32
|
updated_at: Schema.String,
|
|
@@ -2,6 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors";
|
|
5
|
+
import { SensitiveString } from "../sensitive";
|
|
5
6
|
|
|
6
7
|
// Input Schema
|
|
7
8
|
export const ResetDefaultRoleInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -25,7 +26,7 @@ export const ResetDefaultRoleOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
25
26
|
private_access_host_url: Schema.String,
|
|
26
27
|
private_connection_service_name: Schema.String,
|
|
27
28
|
username: Schema.String,
|
|
28
|
-
password:
|
|
29
|
+
password: SensitiveString,
|
|
29
30
|
database_name: Schema.String,
|
|
30
31
|
created_at: Schema.String,
|
|
31
32
|
updated_at: Schema.String,
|
|
@@ -2,6 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors";
|
|
5
|
+
import { SensitiveString } from "../sensitive";
|
|
5
6
|
|
|
6
7
|
// Input Schema
|
|
7
8
|
export const ResetRoleInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -25,7 +26,7 @@ export const ResetRoleOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
25
26
|
private_access_host_url: Schema.String,
|
|
26
27
|
private_connection_service_name: Schema.String,
|
|
27
28
|
username: Schema.String,
|
|
28
|
-
password:
|
|
29
|
+
password: SensitiveString,
|
|
29
30
|
database_name: Schema.String,
|
|
30
31
|
created_at: Schema.String,
|
|
31
32
|
updated_at: Schema.String,
|
|
@@ -2,6 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors";
|
|
5
|
+
import { SensitiveString } from "../sensitive";
|
|
5
6
|
|
|
6
7
|
// Input Schema
|
|
7
8
|
export const UpdateRoleInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -28,7 +29,7 @@ export const UpdateRoleOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
28
29
|
private_access_host_url: Schema.String,
|
|
29
30
|
private_connection_service_name: Schema.String,
|
|
30
31
|
username: Schema.String,
|
|
31
|
-
password:
|
|
32
|
+
password: SensitiveString,
|
|
32
33
|
database_name: Schema.String,
|
|
33
34
|
created_at: Schema.String,
|
|
34
35
|
updated_at: Schema.String,
|
|
@@ -2,6 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client";
|
|
3
3
|
import * as T from "../traits";
|
|
4
4
|
import { Forbidden, NotFound } from "../errors";
|
|
5
|
+
import { SensitiveString } from "../sensitive";
|
|
5
6
|
|
|
6
7
|
// Input Schema
|
|
7
8
|
export const UpdateWebhookInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -23,7 +24,7 @@ export type UpdateWebhookInput = typeof UpdateWebhookInput.Type;
|
|
|
23
24
|
export const UpdateWebhookOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
24
25
|
id: Schema.String,
|
|
25
26
|
url: Schema.String,
|
|
26
|
-
secret:
|
|
27
|
+
secret: SensitiveString,
|
|
27
28
|
enabled: Schema.Boolean,
|
|
28
29
|
last_sent_result: Schema.NullOr(Schema.String),
|
|
29
30
|
last_sent_success: Schema.NullOr(Schema.Boolean),
|