@distilled.cloud/turso 1.0.0-rc.16 → 1.0.0-rc.17
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/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.js +1 -30
- package/lib/errors.js +1 -32
- package/lib/index.js +0 -13
- package/lib/index.lazy.js +6 -0
- package/lib/protocol.js +1 -40
- package/lib/retry.js +1 -34
- package/lib/services/index.js +0 -2
- package/lib/services/turso.js +82 -203
- package/lib/services/turso.js.map +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/turso.js +4 -0
- package/lib/traits.js +1 -13
- package/package.json +7 -8
- package/lib/credentials.js.map +0 -1
- package/lib/errors.js.map +0 -1
- package/lib/protocol.js.map +0 -1
- package/lib/retry.js.map +0 -1
- package/lib/services/index.js.map +0 -1
- package/lib/traits.js.map +0 -1
- /package/lib/{index.js.map → index.lazy.js.map} +0 -0
package/lib/.lazy.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"serviceDirs":["services"],"twins":["index.js"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{api$D as e,api$call as t,api$error as n,api$named as r,api$newError as i,api$op as a,category$withAuthError as o,category$withBadRequestError as ee,category$withConflictError as te,category$withParseError as ne,category$withServerError as re,config$String as ie,config$all as ae,retry$capped as s,retry$jittered as c,retry$makeDefault as l,retry$throttlingFactory as u,retry$throttlingOptions as d,retry$transientFactory as f,retry$transientOptions as p,trait$Body as m,trait$FormDataFile as h,trait$Header as g,trait$Http as _,trait$HttpBody as v,trait$KeyDictionary as y,trait$Label as b,trait$Query as x,trait$ResponseCode as S,trait$UnionCases as C,trait$applyErrorMatchers as w,trait$bodySymbol as T,trait$errorMatchersSymbol as E,trait$formDataFileSymbol as D,trait$getErrorMatchers as O,trait$headerSymbol as k,trait$httpBodySymbol as A,trait$httpSymbol as j,trait$keyDictionarySymbol as M,trait$labelSymbol as N,trait$querySymbol as P,trait$responseCodeSymbol as F,trait$unionCasesSymbol as I}from"@distilled.cloud/core/_bundle/base";import{errors$API_ERRORS as L,errors$BadGateway as R,errors$BadRequest as z,errors$ConfigError as B,errors$Conflict as V,errors$DEFAULT_ERRORS as H,errors$Forbidden as U,errors$GatewayTimeout as W,errors$HTTP_STATUS_MAP as G,errors$InternalServerError as K,errors$Locked as oe,errors$NotFound as q,errors$ServiceUnavailable as se,errors$TooManyRequests as ce,errors$Unauthorized as le,errors$UnprocessableEntity as ue,protocol_rest$RawResponse as de,protocol_rest$RawResponseRoot as fe,protocol_rest$SensitiveValue as pe,protocol_rest$makeRestProtocol as me,protocol_rest$rawResponseRootSymbol as he,protocol_rest$rawResponseSymbol as ge,protocol_rest$sensitiveValueSymbol as _e,schema_lite$Array as ve,schema_lite$Boolean as ye,schema_lite$NullOr as be,schema_lite$Number as xe,schema_lite$Record as Se,schema_lite$String as Ce,schema_lite$Struct as we,schema_lite$TaggedError as Te,schema_lite$Unknown as Ee,schema_lite$at as De,schema_lite$optional as Oe,schema_lite$suspend as ke}from"@distilled.cloud/core/_bundle/rest";import*as J from"effect/Context";import*as Y from"effect/Effect";import*as X from"effect/Layer";import*as Z from"effect/Redacted";import*as Q from"@distilled.cloud/core/schema-lite-typed";const $=`https://api.turso.tech`;var Credentials=class extends (/*@__PURE__*/ J.Service()(`TursoCredentials`)){};const Ae=/*@__PURE__*/ ae({apiKey:/*@__PURE__*/ ie(`TURSO_API_KEY`)});const je=/*@__PURE__*/ X.succeed(Credentials,/*@__PURE__*/ Ae.pipe(/*@__PURE__*/ Y.mapError(()=>new B({message:`TURSO_API_KEY environment variable is required`})),/*@__PURE__*/ Y.map(({apiKey:e})=>({apiKey:Z.make(e),apiBaseUrl:$})),Y.orDie));var UnknownTursoError=class extends (/*@__PURE__*/ Q.TaggedError()(`UnknownTursoError`,{code:/*@__PURE__*/ Q.optional(Q.String),message:/*@__PURE__*/ Q.optional(Q.String),body:Q.Unknown}).pipe(re)){};var TursoParseError=class extends (/*@__PURE__*/ Q.TaggedError()(`TursoParseError`,{body:Q.Unknown,cause:Q.Unknown}).pipe(ne)){};const Me=/*@__PURE__*/ me({credentials:/*@__PURE__*/ Y.flatMap(Credentials,e=>e),baseUrl:e=>e.apiBaseUrl,headers:e=>({Authorization:`Bearer ${Z.value(e.apiKey)}`}),unknownError:({code:e,message:t,body:n})=>new UnknownTursoError({code:typeof e===`string`?e:e!==void 0?String(e):void 0,message:t,body:n}),parseError:({body:e,cause:t})=>new TursoParseError({body:e,cause:t})});var Retry=class extends (/*@__PURE__*/ J.Service()(`TursoRetry`)){};const policy=e=>Y.provide(X.succeed(Retry,e));const Ne=/*@__PURE__*/ Y.provide(/*@__PURE__*/ X.succeed(Retry,{while:()=>false}));const Pe=/*@__PURE__*/ policy(u);const Fe=/*@__PURE__*/ policy(f);export{i as _,Se as a,ee as b,Te as c,Credentials as credentials$Credentials,je as credentials$CredentialsFromEnv,$ as credentials$DEFAULT_API_BASE_URL,Oe as d,L as errors$API_ERRORS,R as errors$BadGateway,z as errors$BadRequest,B as errors$ConfigError,V as errors$Conflict,H as errors$DEFAULT_ERRORS,U as errors$Forbidden,W as errors$GatewayTimeout,G as errors$HTTP_STATUS_MAP,K as errors$InternalServerError,oe as errors$Locked,q as errors$NotFound,se as errors$ServiceUnavailable,ce as errors$TooManyRequests,TursoParseError as errors$TursoParseError,le as errors$Unauthorized,UnknownTursoError as errors$UnknownTursoError,ue as errors$UnprocessableEntity,ke as f,r as g,n as h,xe as i,Ee as l,t as m,ye as n,Ce as o,e as p,Me as protocol$TursoProtocol,be as r,Retry as retry$Retry,s as retry$capped,c as retry$jittered,l as retry$makeDefault,Ne as retry$none,policy as retry$policy,Pe as retry$throttling,u as retry$throttlingFactory,d as retry$throttlingOptions,Fe as retry$transient,f as retry$transientFactory,p as retry$transientOptions,we as s,ve as t,m as traits$Body,h as traits$FormDataFile,g as traits$Header,_ as traits$Http,v as traits$HttpBody,y as traits$KeyDictionary,b as traits$Label,x as traits$Query,de as traits$RawResponse,fe as traits$RawResponseRoot,S as traits$ResponseCode,pe as traits$SensitiveValue,C as traits$UnionCases,w as traits$applyErrorMatchers,T as traits$bodySymbol,E as traits$errorMatchersSymbol,D as traits$formDataFileSymbol,O as traits$getErrorMatchers,k as traits$headerSymbol,A as traits$httpBodySymbol,j as traits$httpSymbol,M as traits$keyDictionarySymbol,N as traits$labelSymbol,P as traits$querySymbol,he as traits$rawResponseRootSymbol,ge as traits$rawResponseSymbol,F as traits$responseCodeSymbol,_e as traits$sensitiveValueSymbol,I as traits$unionCasesSymbol,De as u,a as v,te as x,o as y};
|
|
2
|
+
//# sourceMappingURL=sdk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk.js","names":["Category.withServerError","Category.withParseError","D","call","error","named","newError","op","withAuthError","withBadRequestError","withConflictError","withParseError","withServerError","String$2","all$1","capped","jittered","makeDefault","throttlingFactory","throttlingOptions","transientFactory","transientOptions","Body","FormDataFile","Header","Http","HttpBody","KeyDictionary","Label","Query","ResponseCode","UnionCases","applyErrorMatchers","bodySymbol","errorMatchersSymbol","formDataFileSymbol","getErrorMatchers","headerSymbol","httpBodySymbol","httpSymbol","keyDictionarySymbol","labelSymbol","querySymbol","responseCodeSymbol","unionCasesSymbol","API_ERRORS","BadGateway","BadRequest","ConfigError","Conflict","DEFAULT_ERRORS","Forbidden","GatewayTimeout","HTTP_STATUS_MAP","InternalServerError","Locked","NotFound","ServiceUnavailable","TooManyRequests","Unauthorized","UnprocessableEntity","RawResponse","RawResponseRoot","SensitiveValue","makeRestProtocol","rawResponseRootSymbol","rawResponseSymbol","sensitiveValueSymbol","Array","Boolean","NullOr","Number","Record","String$1","Struct","TaggedError","Unknown","at","optional","suspend","Context","Effect","Layer","Redacted","Schema","DEFAULT_API_BASE_URL","envConfig","CredentialsFromEnv","apiKey","TursoProtocol","resolve","creds","code","optionsOrFactory","none","throttling","transient"],"sources":["../../src/credentials.ts","../../src/errors.ts","../../src/protocol.ts","../../src/retry.ts"],"mappings":"stEAeA,MAAaqF,EAAuB,yBAOpC,IAAa,YAAb,eACwB,gBAAQ,QAA4C,CAAC,CAAC,kBAAkB,EAAA,AAAE,CAAC,EAEnG,MAAMC,GAA0B,iBAAiB,CAC/C,OAAsB,iBAAoB,eAAe,CAC3D,CAAC,EAED,MAAaC,GAAmC,gBAAM,QACpD,YACc,iBAAU,KACR,gBAAO,aAEjB,IAAIvC,EAAY,CACd,QAAS,gDACX,CAAC,CACL,EACc,gBAAO,KAAK,CAAE,aAAc,CACxC,OAAQmC,EAAS,KAAKK,CAAM,EAC5B,WAAYH,CACd,EAAE,EACFJ,EAAO,KACT,CACF,ECDA,IAAa,kBAAb,eACwB,gBAAO,YAA+B,CAAC,CAAC,oBAAqB,CACjF,KAAoB,gBAAO,SAASG,EAAO,MAAM,EACjD,QAAuB,gBAAO,SAASA,EAAO,MAAM,EACpD,KAAMA,EAAO,OACf,CAAC,CAAC,CAAC,KAAKpF,EAAwB,EAAA,AAAE,CAAC,EAMrC,IAAa,gBAAb,eACwB,gBAAO,YAA6B,CAAC,CAAC,kBAAmB,CAC7E,KAAMoF,EAAO,QACb,MAAOA,EAAO,OAChB,CAAC,CAAC,CAAC,KAAKnF,EAAuB,EAAA,AAAE,CAAC,ECpBpC,MAAawF,GAAyD,iBAAyB,CAI7F,YAA2B,gBAAO,QAAQ,YAAc,GAAYC,CAAO,EAC3E,QAAU,GAAUC,EAAM,WAC1B,QAAU,IAAW,CACnB,cAAe,UAAUR,EAAS,MAAMQ,EAAM,MAAM,GACtD,GAGA,cAAe,CAAE,OAAM,UAAS,UAC9B,IAAI,kBAAkB,CACpB,KAAM,OAAOC,IAAS,SAAWA,EAAOA,IAAS,IAAA,GAAY,OAAOA,CAAI,EAAI,IAAA,GAC5E,UACA,MACF,CAAC,EACH,YAAa,CAAE,OAAM,WAAY,IAAI,gBAAgB,CAAE,OAAM,OAAM,CAAC,CACtE,CAAC,ECrBD,IAAa,MAAb,eAAyC,gBAAQ,QAAuB,CAAC,CAAC,YAAY,EAAA,AAAE,CAAC,EAGzF,MAAa,OAAU,GACrBX,EAAO,QAAQC,EAAM,QAAQ,MAAOW,CAAgB,CAAC,EAGvD,MAAaC,GAAqB,gBAAO,QACzB,gBAAM,QAAQ,MAAO,CAAE,UAAa,KAAM,CAAC,CAC3D,EAGA,MAAaC,GAA2B,qBAAO7E,CAAiB,EAGhE,MAAa8E,GAA0B,qBAAO5E,CAAgB"}
|
package/lib/credentials.js
CHANGED
|
@@ -1,30 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
11
|
-
import * as Context from "effect/Context";
|
|
12
|
-
import * as Effect from "effect/Effect";
|
|
13
|
-
import * as Layer from "effect/Layer";
|
|
14
|
-
import * as Redacted from "effect/Redacted";
|
|
15
|
-
export const DEFAULT_API_BASE_URL = "https://api.turso.tech";
|
|
16
|
-
export class Credentials extends /*@__PURE__*/ /*@__PURE__*/ Context.Service()("TursoCredentials") {
|
|
17
|
-
}
|
|
18
|
-
const envConfig = /*@__PURE__*/ EffectConfig.all({
|
|
19
|
-
apiKey: /*@__PURE__*/ EffectConfig.String("TURSO_API_KEY"),
|
|
20
|
-
});
|
|
21
|
-
export const CredentialsFromEnv = /*@__PURE__*/ Layer.succeed(Credentials,
|
|
22
|
-
/*@__PURE__*/ envConfig.pipe(
|
|
23
|
-
/*@__PURE__*/ Effect.mapError(() => new ConfigError({
|
|
24
|
-
message: "TURSO_API_KEY environment variable is required",
|
|
25
|
-
})),
|
|
26
|
-
/*@__PURE__*/ Effect.map(({ apiKey }) => ({
|
|
27
|
-
apiKey: Redacted.make(apiKey),
|
|
28
|
-
apiBaseUrl: DEFAULT_API_BASE_URL,
|
|
29
|
-
})), Effect.orDie));
|
|
30
|
-
//# sourceMappingURL=credentials.js.map
|
|
1
|
+
export { credentials$Credentials as Credentials, credentials$CredentialsFromEnv as CredentialsFromEnv, credentials$DEFAULT_API_BASE_URL as DEFAULT_API_BASE_URL } from "./_bundle/sdk.js";
|
package/lib/errors.js
CHANGED
|
@@ -1,32 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export { BadGateway, BadRequest, Conflict, ConfigError, Forbidden, GatewayTimeout, InternalServerError, Locked, NotFound, ServiceUnavailable, TooManyRequests, Unauthorized, UnprocessableEntity, HTTP_STATUS_MAP, DEFAULT_ERRORS, API_ERRORS, } from "@distilled.cloud/core/errors";
|
|
10
|
-
import * as Category from "@distilled.cloud/core/category";
|
|
11
|
-
import * as Schema from "@distilled.cloud/core/schema-lite-typed";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export class UnknownTursoError extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("UnknownTursoError", {
|
|
18
|
-
code: /*@__PURE__*/ Schema.optional(Schema.String),
|
|
19
|
-
message: /*@__PURE__*/ Schema.optional(Schema.String),
|
|
20
|
-
body: Schema.Unknown,
|
|
21
|
-
}).pipe(Category.withServerError) {
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export class TursoParseError extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("TursoParseError", {
|
|
28
|
-
body: Schema.Unknown,
|
|
29
|
-
cause: Schema.Unknown,
|
|
30
|
-
}).pipe(Category.withParseError) {
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=errors.js.map
|
|
1
|
+
export { errors$API_ERRORS as API_ERRORS, errors$BadGateway as BadGateway, errors$BadRequest as BadRequest, errors$ConfigError as ConfigError, errors$Conflict as Conflict, errors$DEFAULT_ERRORS as DEFAULT_ERRORS, errors$Forbidden as Forbidden, errors$GatewayTimeout as GatewayTimeout, errors$HTTP_STATUS_MAP as HTTP_STATUS_MAP, errors$InternalServerError as InternalServerError, errors$Locked as Locked, errors$NotFound as NotFound, errors$ServiceUnavailable as ServiceUnavailable, errors$TooManyRequests as TooManyRequests, errors$TursoParseError as TursoParseError, errors$Unauthorized as Unauthorized, errors$UnknownTursoError as UnknownTursoError, errors$UnprocessableEntity as UnprocessableEntity } from "./_bundle/sdk.js";
|
package/lib/index.js
CHANGED
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
1
|
export * from "./credentials.js";
|
|
14
2
|
export * from "./errors.js";
|
|
15
3
|
export * as T from "./traits.js";
|
|
16
4
|
export * as Retry from "./retry.js";
|
|
17
5
|
export { TursoProtocol } from "./protocol.js";
|
|
18
6
|
export * as Services from "./services/index.js";
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
package/lib/protocol.js
CHANGED
|
@@ -1,40 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import * as Effect from "effect/Effect";
|
|
19
|
-
import * as Redacted from "effect/Redacted";
|
|
20
|
-
import { Credentials } from "./credentials.js";
|
|
21
|
-
import { UnknownTursoError, TursoParseError } from "./errors.js";
|
|
22
|
-
export const TursoProtocol = /*@__PURE__*/ makeRestProtocol({
|
|
23
|
-
// The Credentials service holds an effect -- resolving it here (per
|
|
24
|
-
// request) picks up rotations. Its error channel is erased at the protocol
|
|
25
|
-
// boundary; TursoOpError reintroduces it for callers.
|
|
26
|
-
credentials: /*@__PURE__*/ Effect.flatMap(Credentials, (resolve) => resolve),
|
|
27
|
-
baseUrl: (creds) => creds.apiBaseUrl,
|
|
28
|
-
headers: (creds) => ({
|
|
29
|
-
Authorization: `Bearer ${Redacted.value(creds.apiKey)}`,
|
|
30
|
-
}),
|
|
31
|
-
// Turso error bodies are `{ error: string, code?: string }` -- covered by
|
|
32
|
-
// the default lenient envelope (message ?? error, string codes kept).
|
|
33
|
-
unknownError: ({ code, message, body }) => new UnknownTursoError({
|
|
34
|
-
code: typeof code === "string" ? code : code !== undefined ? String(code) : undefined,
|
|
35
|
-
message,
|
|
36
|
-
body,
|
|
37
|
-
}),
|
|
38
|
-
parseError: ({ body, cause }) => new TursoParseError({ body, cause }),
|
|
39
|
-
});
|
|
40
|
-
//# sourceMappingURL=protocol.js.map
|
|
1
|
+
export { protocol$TursoProtocol as TursoProtocol } from "./_bundle/sdk.js";
|
package/lib/retry.js
CHANGED
|
@@ -1,34 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import * as Context from "effect/Context";
|
|
19
|
-
import * as Effect from "effect/Effect";
|
|
20
|
-
import * as Layer from "effect/Layer";
|
|
21
|
-
export { makeDefault, jittered, capped, throttlingOptions, transientOptions, throttlingFactory, transientFactory, } from "@distilled.cloud/core/retry";
|
|
22
|
-
|
|
23
|
-
export class Retry extends /*@__PURE__*/ /*@__PURE__*/ Context.Service()("TursoRetry") {
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export const policy = (optionsOrFactory) => Effect.provide(Layer.succeed(Retry, optionsOrFactory));
|
|
27
|
-
|
|
28
|
-
export const none = /*@__PURE__*/ Effect.provide(
|
|
29
|
-
/*@__PURE__*/ Layer.succeed(Retry, { while: () => false }));
|
|
30
|
-
|
|
31
|
-
export const throttling = /*@__PURE__*/ policy(throttlingFactory);
|
|
32
|
-
|
|
33
|
-
export const transient = /*@__PURE__*/ policy(transientFactory);
|
|
34
|
-
//# sourceMappingURL=retry.js.map
|
|
1
|
+
export { retry$Retry as Retry, retry$capped as capped, retry$jittered as jittered, retry$makeDefault as makeDefault, retry$none as none, retry$policy as policy, retry$throttling as throttling, retry$throttlingFactory as throttlingFactory, retry$throttlingOptions as throttlingOptions, retry$transient as transient, retry$transientFactory as transientFactory, retry$transientOptions as transientOptions } from "./_bundle/sdk.js";
|
package/lib/services/index.js
CHANGED
package/lib/services/turso.js
CHANGED
|
@@ -1,203 +1,82 @@
|
|
|
1
|
-
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
export const invalidateDatabaseTokens = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"InvalidateDatabaseTokensRequest";$4({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}/auth/rotate",code:200}))', [__0, __1, __2, __3, __6, __7, __d0, NotFound, TursoProtocol, Retry.Retry]] : API.call(invalidateDatabaseTokens, i));
|
|
85
|
-
|
|
86
|
-
export const invalidateGroupTokens = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"InvalidateGroupTokensRequest";$4({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/auth/rotate",code:200}))', [__0, __1, __2, __3, __6, __7, __d0, NotFound, TursoProtocol, Retry.Retry]] : API.call(invalidateGroupTokens, i));
|
|
87
|
-
|
|
88
|
-
export const inviteOrganizationMemberV2 = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$7],protocol:$8,retry:$9};$6(>4)@"InviteOrganizationMemberV2Request";$6(>5)@"InviteCreatedV2";$6(>6)@"InviteOrganizationMemberV2Response";$5({organizationSlug:$3.pipe($2()),email:$4($3),username:$4($3),role:$4($3)}).pipe($1({method:"POST",uri:"/v2/organizations/{organizationSlug}/invites",code:200}));$5({email:$4($3),role:$4($3),organization:$4($3)});$5({invited:$4(#2)})', [__0, __1, __2, __3, __5, __6, __7, BadRequest, TursoProtocol, Retry.Retry]] : API.call(inviteOrganizationMemberV2, i));
|
|
89
|
-
|
|
90
|
-
export const listAPITokens = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("APIToken", '{input:#1,output:#4,errors:[],protocol:$8,retry:$9};$3(>5)@"List%sRequest";$3(>6)@"%";$7(#2);$3(>7)@"List%sResponse";$2({}).pipe($1({method:"GET",uri:"/v1/auth/api-tokens",code:200}));$2({name:$5($4),id:$5($4),organization:$5($4),group:$5($4),scopes:$5(#6:0),created_at:$5($4)});$2({tokens:$5(#3)})', [__0, __1, __6, __7, __3, __5, __d13, __11, TursoProtocol, Retry.Retry]) : API.call(listAPITokens, i));
|
|
91
|
-
|
|
92
|
-
export const listDatabaseInstances = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$9],protocol:$10,retry:$11};$5(>4)@"ListDatabaseInstancesRequest";$7(#6:0);$5(>5)@"ListDatabaseInstancesResponse";$4({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}/instances",code:200}));$4({instances:$8(#2)})', [__0, __1, __2, __3, __6, __7, __d3, __11, __5, NotFound, TursoProtocol, Retry.Retry]] : API.call(listDatabaseInstances, i));
|
|
93
|
-
|
|
94
|
-
export const listDatabases = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[],protocol:$10,retry:$11};$7(>4)@"ListDatabasesRequest";$9(#8:1);$7(>5)@"ListDatabasesResponse";$6({organizationSlug:$3.pipe($2()),group:$5($3.pipe($4())),schema:$5($3.pipe($4())),parent:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/databases",code:200}));$6({databases:$5(#2)})', [__0, __1, __2, __3, __4, __5, __6, __7, __d1, __11, TursoProtocol, Retry.Retry]] : API.call(listDatabases, i));
|
|
95
|
-
|
|
96
|
-
export const listDeletedDatabases = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$12],protocol:$13,retry:$14};$9(>3)@"ListDeletedDatabasesRequest";$9(>4)@"ListDeletedDatabasesResponse";$8({organizationId:$3.pipe($2()),deleted:$5.pipe($4()),search:$6($3.pipe($4())),limit:$6($7.pipe($4())),cursor:$6($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v3/organizations/{organizationId}/databases",code:200}));$8({databases:$6(#10:0),pagination:$6(#11:0)})', [__0, __1, __2, __3, __4, __8, __5, __10, __6, __7, __d11, __d9, Forbidden, TursoProtocol, Retry.Retry]] : API.call(listDeletedDatabases, i));
|
|
97
|
-
|
|
98
|
-
export const listDeletedGroups = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("DeletedGroup", '{input:#1,output:#4,errors:[$11],protocol:$12,retry:$13};$8(>5)@"List%sRequest";$8(>6)@"%";$9(#2);$8(>7)@"List%sResponse";$7({organizationId:$3.pipe($2()),limit:$6($5.pipe($4())),cursor:$6($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v3/organizations/{organizationId}/deleted-groups",code:200}));$7({uuid:$6($3),name:$6($3),deleted_at:$6($3),cascade_databases:$6($5)});$7({groups:$6(#3),pagination:$6(#10:0)})', [__0, __1, __2, __3, __4, __10, __5, __6, __7, __11, __d9, Forbidden, TursoProtocol, Retry.Retry]) : API.call(listDeletedGroups, i));
|
|
99
|
-
|
|
100
|
-
export const listGroups = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[],protocol:$9,retry:$10};$5(>4)@"ListGroupsRequest";$7(#6:0);$5(>5)@"ListGroupsResponse";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/groups",code:200}));$4({groups:$8(#2)})', [__0, __1, __2, __3, __6, __7, __d14, __11, __5, TursoProtocol, Retry.Retry]] : API.call(listGroups, i));
|
|
101
|
-
|
|
102
|
-
export const listLocations = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[],protocol:$6,retry:$7};$3(>3)@"ListLocationsRequest";$3(>4)@"ListLocationsResponse";$2({}).pipe($1({method:"GET",uri:"/v1/locations",code:200}));$2({locations:$5(#4:0)})', [__0, __1, __6, __7, __d12, __5, TursoProtocol, Retry.Retry]] : API.call(listLocations, i));
|
|
103
|
-
|
|
104
|
-
export const listOrganizationAPITokens = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("ListOrganizationAPITokensResponse", '{input:#1,output:#5,errors:[],protocol:$9,retry:$10};$5(>6)@"ListOrganizationAPITokensRequest";$5(>7)@"%TokensItemOwner";$5(>8)@"%TokensItem";$8(#3);$5(>9)@"%";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/api-tokens",code:200}));$4({username:$6($3),email:$6($3)});$4({name:$6($3),id:$6($3),organization:$6($3),group:$6($3),scopes:$6(#7:0),owner:$6(#2),created_at:$6($3)});$4({tokens:$6(#4)})', [__0, __1, __2, __3, __6, __7, __5, __d13, __11, TursoProtocol, Retry.Retry]) : API.call(listOrganizationAPITokens, i));
|
|
105
|
-
|
|
106
|
-
export const listOrganizationAuditLogs = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("ListOrganizationAuditLogsResponse", '{input:#1,output:#5,errors:[],protocol:$11,retry:$12};$8(>6)@"ListOrganizationAuditLogsRequest";$8(>7)@"AuditLog";$10(#2);$8(>8)@"%Pagination";$8(>9)@"%";$7({organizationSlug:$3.pipe($2()),page_size:$6($5.pipe($4())),page:$6($5.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/audit-logs",code:200}));$7({code:$6($3),message:$6($3),origin:$6($3),author:$6($3),created_at:$6($3),data:$6($9)});$7({page:$6($5),page_size:$6($5),total_pages:$6($5),total_rows:$6($5)});$7({audit_logs:$6(#3),pagination:$6(#4)})', [__0, __1, __2, __3, __4, __10, __5, __6, __7, __13, __11, TursoProtocol, Retry.Retry]) : API.call(listOrganizationAuditLogs, i));
|
|
107
|
-
|
|
108
|
-
export const listOrganizationInvitesV2 = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4,errors:[],protocol:$9,retry:$10};$5(>5)@"ListOrganizationInvitesV2Request";$5(>6)@"InviteV2";$8(#2);$5(>7)@"ListOrganizationInvitesV2Response";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v2/organizations/{organizationSlug}/invites",code:200}));$4({id:$7($6),email:$7($3),role:$7($3),created_at:$7($3)});$4({invites:$7(#3)})', [__0, __1, __2, __3, __6, __7, __10, __5, __11, TursoProtocol, Retry.Retry]] : API.call(listOrganizationInvitesV2, i));
|
|
109
|
-
|
|
110
|
-
export const listOrganizationInvoices = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("ListOrganizationInvoicesResponse", '{input:#1,output:#4,errors:[],protocol:$9,retry:$10};$7(>5)@"ListOrganizationInvoicesRequest";$7(>6)@"%InvoicesItem";$8(#2);$7(>7)@"%";$6({organizationSlug:$3.pipe($2()),type:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/invoices",code:200}));$6({invoice_number:$5($3),amount_due:$5($3),due_date:$5($3),paid_at:$5($3),payment_failed_at:$5($3),invoice_pdf:$5($3)});$6({invoices:$5(#3)})', [__0, __1, __2, __3, __4, __5, __6, __7, __11, TursoProtocol, Retry.Retry]) : API.call(listOrganizationInvoices, i));
|
|
111
|
-
|
|
112
|
-
export const listOrganizationMembers = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[],protocol:$9,retry:$10};$5(>4)@"ListOrganizationMembersRequest";$7(#6:0);$5(>5)@"ListOrganizationMembersResponse";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/members",code:200}));$4({members:$8(#2)})', [__0, __1, __2, __3, __6, __7, __d8, __11, __5, TursoProtocol, Retry.Retry]] : API.call(listOrganizationMembers, i));
|
|
113
|
-
|
|
114
|
-
export const listOrganizationPlans = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("OrganizationPlan", '{input:#1,output:#7,errors:[],protocol:$10,retry:$11};$5(>8)@"List%sRequest";$5(>9)@"PlanPrice";$7(#2);$5(>10)@"PlanQuotas";$5(>11)@"%";$7(#5);$5(>12)@"List%sResponse";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/plans",code:200}));$4({value:$6($3),timeline:$6($3)});$4({rowsRead:$6($8),rowsWritten:$6($8),databases:$6($9($8)),locations:$6($8),storage:$6($8),groups:$6($8),bytesSynced:$6($8)});$4({name:$6($3),price:$6($3),prices:$6(#3),quotas:$6(#4)});$4({plans:$6(#6)})', [__0, __1, __2, __3, __6, __7, __5, __11, __10, __9, TursoProtocol, Retry.Retry]) : API.call(listOrganizationPlans, i));
|
|
115
|
-
|
|
116
|
-
export const listOrganizations = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[],protocol:$7,retry:$8};$3(>4)@"ListOrganizationsRequest";$5(#4:0);$3(>5)@"ListOrganizationsResponse";$2({}).pipe($1({method:"GET",uri:"/v1/organizations",code:200}));#2.pipe($6())', [__0, __1, __6, __7, __d6, __11, __14, TursoProtocol, Retry.Retry]] : API.call(listOrganizations, i));
|
|
117
|
-
|
|
118
|
-
export const removeLocationFromGroup = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"RemoveLocationFromGroupRequest";$4({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2()),location:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/locations/{location}",code:200}))', [__0, __1, __2, __3, __6, __7, __d15, BadRequest, NotFound, TursoProtocol, Retry.Retry]] : API.call(removeLocationFromGroup, i));
|
|
119
|
-
|
|
120
|
-
export const removeOrganizationMember = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$7],protocol:$8,retry:$9};$5(>3)@"RemoveOrganizationMemberRequest";$5(>4)@"RemoveOrganizationMemberResponse";$4({organizationSlug:$3.pipe($2()),username:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/organizations/{organizationSlug}/members/{username}",code:200}));$4({member:$6($3)})', [__0, __1, __2, __3, __6, __7, __5, NotFound, TursoProtocol, Retry.Retry]] : API.call(removeOrganizationMember, i));
|
|
121
|
-
|
|
122
|
-
export const restoreDatabase = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$8,$9,$10],protocol:$11,retry:$12};$6(>3)@"RestoreDatabaseRequest";$6(>4)@"RestoreDatabaseResponse";$5({organizationId:$3.pipe($2()),databaseId:$3.pipe($2()),name:$4($3)}).pipe($1({method:"POST",uri:"/v3/organizations/{organizationId}/databases/{databaseId}/restore",code:200}));$5({database:$4(#7:0)})', [__0, __1, __2, __3, __5, __6, __7, __d10, BadRequest, Forbidden, NotFound, TursoProtocol, Retry.Retry]] : API.call(restoreDatabase, i));
|
|
123
|
-
|
|
124
|
-
export const restoreGroup = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$10,$11,$12],protocol:$13,retry:$14};$5(>3)@"RestoreGroupRequest";$5(>4)@"RestoreGroupResponse";$4({organizationId:$3.pipe($2()),groupId:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v3/organizations/{organizationId}/groups/{groupId}/restore",code:200}));$4({group:$7(#6:0),databases:$7(#8:0),failures:$7(#9:0)})', [__0, __1, __2, __3, __6, __7, __d14, __5, __d11, __d12, BadRequest, Forbidden, NotFound, TursoProtocol, Retry.Retry]] : API.call(restoreGroup, i));
|
|
125
|
-
|
|
126
|
-
export const revokeAPIToken = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"RevokeAPITokenRequest";$4({tokenName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/auth/api-tokens/{tokenName}",code:200}))', [__0, __1, __2, __3, __6, __7, __d16, NotFound, TursoProtocol, Retry.Retry]] : API.call(revokeAPIToken, i));
|
|
127
|
-
|
|
128
|
-
export const revokeOrganizationAPIToken = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"RevokeOrganizationAPITokenRequest";$4({organizationSlug:$3.pipe($2()),tokenId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/organizations/{organizationSlug}/api-tokens/{tokenId}",code:200}))', [__0, __1, __2, __3, __6, __7, __d16, NotFound, TursoProtocol, Retry.Retry]] : API.call(revokeOrganizationAPIToken, i));
|
|
129
|
-
|
|
130
|
-
export const transferGroup = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10};$6(>2)@"TransferGroupRequest";$5({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2()),organization:$4($3)}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/transfer",code:200}))', [__0, __1, __2, __3, __5, __6, __7, __d14, NotFound, TursoProtocol, Retry.Retry]] : API.call(transferGroup, i));
|
|
131
|
-
|
|
132
|
-
export const unarchiveGroup = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"UnarchiveGroupRequest";$4({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/unarchive",code:200}))', [__0, __1, __2, __3, __6, __7, __d15, NotFound, TursoProtocol, Retry.Retry]] : API.call(unarchiveGroup, i));
|
|
133
|
-
|
|
134
|
-
export const updateDatabaseConfiguration = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10],protocol:$11,retry:$12};$8(>2)@"UpdateDatabaseConfigurationRequest";$7({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2()),size_limit:$4($3),allow_attach:$4($5),block_reads:$4($5),block_writes:$4($5),delete_protection:$4($5),allowed_ips:$4(#6:0),allowed_aws_vpc_ids:$4(#6:0)}).pipe($1({method:"PATCH",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}/configuration",code:200}))', [__0, __1, __2, __3, __5, __8, __d13, __6, __7, __d2, NotFound, TursoProtocol, Retry.Retry]] : API.call(updateDatabaseConfiguration, i));
|
|
135
|
-
|
|
136
|
-
export const updateGroupConfiguration = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpdateGroupConfigurationRequest";$6({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2()),delete_protection:$5($4)}).pipe($1({method:"PATCH",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/configuration",code:200}))', [__0, __1, __2, __3, __8, __5, __6, __7, __d5, NotFound, TursoProtocol, Retry.Retry]] : API.call(updateGroupConfiguration, i));
|
|
137
|
-
|
|
138
|
-
export const updateGroupDatabases = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"UpdateGroupDatabasesRequest";$4({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/update",code:200}))', [__0, __1, __2, __3, __6, __7, __d0, NotFound, TursoProtocol, Retry.Retry]] : API.call(updateGroupDatabases, i));
|
|
139
|
-
|
|
140
|
-
export const updateMemberRole = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("UpdateMemberRoleResponse", '{input:#1,output:#3,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>4)@"UpdateMemberRoleRequest";$5(>5)@"%Member";$5(>6)@"%";$4({organizationSlug:$3.pipe($2()),username:$3.pipe($2()),role:$3}).pipe($1({method:"PATCH",uri:"/v1/organizations/{organizationSlug}/members/{username}",code:200}));$4({username:$6($3),email:$6($3),role:$6($3)});$4({member:$6(#2)})', [__0, __1, __2, __3, __6, __7, __5, BadRequest, Forbidden, NotFound, TursoProtocol, Retry.Retry]) : API.call(updateMemberRole, i));
|
|
141
|
-
|
|
142
|
-
export const updateOrganization = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[],protocol:$9,retry:$10};$7(>2)@"UpdateOrganizationRequest";$6({organizationSlug:$3.pipe($2()),overages:$5($4),require_mfa:$5($4),restore_enabled:$5($4)}).pipe($1({method:"PATCH",uri:"/v1/organizations/{organizationSlug}",code:200}))', [__0, __1, __2, __3, __8, __5, __6, __7, __d7, TursoProtocol, Retry.Retry]] : API.call(updateOrganization, i));
|
|
143
|
-
|
|
144
|
-
export const validateAPIToken = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[],protocol:$6,retry:$7};$3(>3)@"ValidateAPITokenRequest";$3(>4)@"ValidateAPITokenResponse";$2({}).pipe($1({method:"GET",uri:"/v1/auth/validate",code:200}));$2({exp:$5($4)})', [__0, __1, __6, __7, __10, __5, TursoProtocol, Retry.Retry]] : API.call(validateAPIToken, i));
|
|
145
|
-
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
146
|
-
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
// Shared schema data (see `op` in core/api).
|
|
150
|
-
function __d0() {
|
|
151
|
-
return ['$2(>1)@"DeleteOrganizationInviteByEmailV2Response";$1({})', [__0, __6, __7]];
|
|
152
|
-
}
|
|
153
|
-
function __d1() {
|
|
154
|
-
return ['$4(>2)@"DatabaseParent";$4(>3)@"Database";$3({id:$2($1),name:$2($1),branched_at:$2($1)});$3({Name:$2($1),DbId:$2($1),Hostname:$2($1),block_reads:$2($5),block_writes:$2($5),regions:$2(#6:0),primaryRegion:$2($1),group:$2($1),delete_protection:$2($5),parent:$2($7(#0)),allow_attach:$2($5)})', [__0, __3, __5, __6, __7, __8, __d13, __9]];
|
|
155
|
-
}
|
|
156
|
-
function __d2() {
|
|
157
|
-
return ['$6(>1)@"DatabaseConfigurationResponse";$5({size_limit:$2($1),allow_attach:$2($3),block_reads:$2($3),block_writes:$2($3),delete_protection:$2($3),allowed_ips:$2(#4:0),allowed_aws_vpc_ids:$2(#4:0)})', [__0, __3, __5, __8, __d13, __6, __7]];
|
|
158
|
-
}
|
|
159
|
-
function __d3() {
|
|
160
|
-
return ['$4(>1)@"Instance";$3({uuid:$2($1),name:$2($1),type:$2($1),region:$2($1),hostname:$2($1)})', [__0, __3, __5, __6, __7]];
|
|
161
|
-
}
|
|
162
|
-
function __d4() {
|
|
163
|
-
return ['$4(>4)@"DatabaseUsageObject";$4(>5)@"DatabaseUsageOutputInstancesItem";$6(#1);$4(>6)@"DatabaseUsageOutput";$3({rows_read:$2($1),rows_written:$2($1),storage_bytes:$2($1),bytes_synced:$2($1)});$3({uuid:$2($5),usage:$2(#0)});$3({uuid:$2($5),instances:$2(#2),total:$2(#0)})', [__0, __10, __5, __6, __7, __3, __11]];
|
|
164
|
-
}
|
|
165
|
-
function __d5() {
|
|
166
|
-
return ['$4(>1)@"GroupConfigurationResponse";$3({delete_protection:$2($1)})', [__0, __8, __5, __6, __7]];
|
|
167
|
-
}
|
|
168
|
-
function __d6() {
|
|
169
|
-
return ['$5(>1)@"Organization";$4({name:$2($1),slug:$2($1),type:$2($1),overages:$2($3),require_mfa:$2($3),blocked_reads:$2($3),blocked_writes:$2($3),plan_id:$2($1),plan_timeline:$2($1),platform:$2($1),restore_enabled:$2($3)})', [__0, __3, __5, __8, __6, __7]];
|
|
170
|
-
}
|
|
171
|
-
function __d7() {
|
|
172
|
-
return ['$4(>1)@"GetOrganizationResponse";$3({organization:$2(#1:0)})', [__0, __d6, __5, __6, __7]];
|
|
173
|
-
}
|
|
174
|
-
function __d8() {
|
|
175
|
-
return ['$4(>1)@"Member";$3({username:$2($1),role:$2($1),email:$2($1)})', [__0, __3, __5, __6, __7]];
|
|
176
|
-
}
|
|
177
|
-
function __d9() {
|
|
178
|
-
return ['$4(>1)@"Pagination";$3({next:$2($1)})', [__0, __3, __5, __6, __7]];
|
|
179
|
-
}
|
|
180
|
-
function __d10() {
|
|
181
|
-
return ['$6(>1)@"DeletedDatabase";$5({Name:$2($1),DbId:$2($1),Hostname:$2($1),group:$2($1),group_id:$2($1),organization_id:$2($1),regions:$2(#3:0),primaryRegion:$2($1),delete_protection:$2($4),deleted_at:$2($1),group_deleted_at:$2($1)})', [__0, __3, __5, __d13, __8, __6, __7]];
|
|
182
|
-
}
|
|
183
|
-
function __d11() {
|
|
184
|
-
return ['$2(#1:0)', [__0, __d10, __11]];
|
|
185
|
-
}
|
|
186
|
-
function __d12() {
|
|
187
|
-
return ['$2($1,$1)', [__0, __3, __12]];
|
|
188
|
-
}
|
|
189
|
-
function __d13() {
|
|
190
|
-
return ['$2($1)', [__0, __3, __11]];
|
|
191
|
-
}
|
|
192
|
-
function __d14() {
|
|
193
|
-
return ['$6(>1)@"Group";$5({name:$2($1),version:$2($1),uuid:$2($1),locations:$2(#3:0),primary:$2($1),delete_protection:$2($4)})', [__0, __3, __5, __d13, __8, __6, __7]];
|
|
194
|
-
}
|
|
195
|
-
function __d15() {
|
|
196
|
-
return ['$4(>1)@"AddLocationToGroupResponse";$3({group:$2(#1:0)})', [__0, __d14, __5, __6, __7]];
|
|
197
|
-
}
|
|
198
|
-
function __d16() {
|
|
199
|
-
return ['$4(>1)@"RevokeAPITokenResponse";$3({token:$2($1)})', [__0, __3, __5, __6, __7]];
|
|
200
|
-
}
|
|
201
|
-
function __d17() {
|
|
202
|
-
return ['$4(>3)@"CreateDatabaseTokenRequestPermissionsReadAttach";$4(>4)@"CreateDatabaseTokenRequestPermissions";$4(>5)@"CreateDatabaseTokenResponse";$3({databases:$2(#1:0)});$3({read_attach:$2(#0)});$3({jwt:$2($6.pipe($5({})))})', [__0, __d13, __5, __6, __7, __15, __3]];
|
|
203
|
-
}
|
|
1
|
+
import{_ as e,a as t,b as n,c as r,d as i,f as a,g as o,h as s,i as c,l,m as u,n as d,o as f,p,protocol$TursoProtocol as m,r as h,retry$Retry as g,s as _,t as v,traits$Http as y,traits$Label as b,traits$Query as x,traits$RawResponseRoot as ee,traits$SensitiveValue as S,traits$applyErrorMatchers as C,u as w,v as T,x as te,y as ne}from"../_bundle/sdk.js";const E=/*@__PURE__*/ s(function BadRequest(t){return e(t,new.target,[`$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])`,[w,n,c,f,r,C]])});const D=/*@__PURE__*/ s(function Conflict(t){return e(t,new.target,[`$5($4()("Conflict",{code:$2,message:$3}).pipe($1),[{status:409}])`,[w,te,c,f,r,C]])});const O=/*@__PURE__*/ s(function Forbidden(t){return e(t,new.target,[`$5($4()("Forbidden",{code:$2,message:$3}).pipe($1),[{status:403}])`,[w,ne,c,f,r,C]])});const k=/*@__PURE__*/ s(function NotFound(t){return e(t,new.target,[`$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])`,[w,n,c,f,r,C]])});const A=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"AddLocationToGroupRequest";$4({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2()),location:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/locations/{location}",code:200}))`,[w,y,b,f,_,a,__d15,E,k,m,g]]:u(A,e));const j=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$7,$8,$9],protocol:$10,retry:$11};$6(>3)@"AddOrganizationMemberRequest";$6(>4)@"AddOrganizationMemberResponse";$5({organizationSlug:$3.pipe($2()),username:$4($3),role:$4($3)}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/members",code:200}));$5({member:$4($3),role:$4($3)})`,[w,y,b,f,i,_,a,E,k,D,m,g]]:u(j,e));const M=/*@__PURE__*/ T(e=>e===p?[`{input:#2,output:#3,errors:[$9,$10,$11],protocol:$12,retry:$13};$2($1);$7(>4)@"CreateAPITokenRequest";$7(>5)@"CreateAPITokenResponse";$6({tokenName:$1.pipe($4()),organization:$5($1),group:$5($1),scopes:$5(#1)}).pipe($3({method:"POST",uri:"/v1/auth/api-tokens/{tokenName}",code:200}));$6({name:$5($1),id:$5($1),token:$5($1.pipe($8({})))})`,[w,f,v,y,b,i,_,a,S,E,k,D,m,g]]:u(M,e));const N=/*@__PURE__*/ T(e=>e===p?o(`CreateDatabaseRequest`,`{input:#3,output:#5,errors:[$7,$8],protocol:$9,retry:$10};$4(>6)@"%Seed";$4(>7)@"%RemoteEncryption";$4(>8)@"%";$4(>9)@"CreateDatabaseOutput";$4(>10)@"CreateDatabaseResponse";$3({type:$2($1),name:$2($1),timestamp:$2($1)});$3({encryption_key:$2($1),encryption_cipher:$2($1)});$3({organizationSlug:$1.pipe($6()),name:$1,group:$1,seed:$2(#1),size_limit:$2($1),remote_encryption:$2(#2)}).pipe($5({method:"POST",uri:"/v1/organizations/{organizationSlug}/databases",code:200}));$3({DbId:$2($1),Hostname:$2($1),Name:$2($1)});$3({database:$2(#4)})`,[w,f,i,_,a,y,b,E,D,m,g]):u(N,e));const P=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:2,errors:[$9,$10],protocol:$11,retry:$12};$8(>2)@"CreateDatabaseTokenRequest";$7({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2()),expiration:$5($3.pipe($4())),authorization:$5($3.pipe($4())),permissions:$5(#6:1)}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}/auth/tokens",code:200}))`,[w,y,b,f,x,i,__d17,_,a,E,k,m,g]]:u(P,e));const F=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"CreateGroupRequest";$6({organizationSlug:$3.pipe($2()),name:$3,location:$3,extensions:$5($4)}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/groups",code:200}))`,[w,y,b,f,l,i,_,a,__d15,E,D,m,g]]:u(F,e));const I=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:2,errors:[$9,$10],protocol:$11,retry:$12};$8(>2)@"CreateGroupTokenRequest";$7({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2()),expiration:$5($3.pipe($4())),authorization:$5($3.pipe($4())),permissions:$5(#6:1)}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/auth/tokens",code:200}))`,[w,y,b,f,x,i,__d17,_,a,E,k,m,g]]:u(I,e));const L=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$7],protocol:$8,retry:$9};$5(>3)@"DeleteDatabaseRequest";$5(>4)@"DeleteDatabaseResponse";$4({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}",code:200}));$4({database:$6($3)})`,[w,y,b,f,_,a,i,k,m,g]]:u(L,e));const R=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteGroupRequest";$4({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}",code:200}))`,[w,y,b,f,_,a,__d15,k,m,g]]:u(R,e));const z=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteOrganizationInviteByEmailV2Request";$4({organizationSlug:$3.pipe($2()),email:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v2/organizations/{organizationSlug}/invites/{email}",code:200}))`,[w,y,b,f,_,a,__d0,k,m,g]]:u(z,e));const B=/*@__PURE__*/ T(e=>e===p?o(`GetCurrentUserResponse`,`{input:#1,output:#3,errors:[],protocol:$7,retry:$8};$3(>4)@"GetCurrentUserRequest";$3(>5)@"%User";$3(>6)@"%";$2({}).pipe($1({method:"GET",uri:"/v1/user",code:200}));$2({username:$5($4),name:$5($4),email:$5($4),avatarUrl:$5($4),plan:$5($4),mfa:$5($6),has_pending_invites:$5($6)});$2({user:$5(#2)})`,[w,y,_,a,f,i,d,m,g]):u(B,e));const V=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10};$5(>3)@"GetDatabaseRequest";$5(>4)@"GetDatabaseResponse";$4({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}",code:200}));$4({database:$7(#6:1)})`,[w,y,b,f,_,a,__d1,i,k,m,g]]:u(V,e));const H=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetDatabaseConfigurationRequest";$4({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}/configuration",code:200}))`,[w,y,b,f,_,a,__d2,k,m,g]]:u(H,e));const U=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10};$5(>3)@"GetDatabaseInstanceRequest";$5(>4)@"GetDatabaseInstanceResponse";$4({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2()),instanceName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}/instances/{instanceName}",code:200}));$4({instance:$7(#6:0)})`,[w,y,b,f,_,a,__d3,i,k,m,g]]:u(U,e));const W=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#4,errors:[$10],protocol:$11,retry:$12};$5(>5)@"GetDatabaseStatsRequest";$5(>6)@"DatabaseStatsOutput";$8(#2);$5(>7)@"GetDatabaseStatsResponse";$4({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}/stats",code:200}));$4({query:$6($3),rows_read:$6($7),rows_written:$6($7)});$4({top_queries:$6($9(#3))})`,[w,y,b,f,_,a,i,c,v,h,k,m,g]]:u(W,e));const G=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12};$7(>3)@"GetDatabaseUsageRequest";$7(>4)@"GetDatabaseUsageResponse";$6({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2()),from:$5($3.pipe($4())),to:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}/usage",code:200}));$6({database:$5(#8:3)})`,[w,y,b,f,x,i,_,a,__d4,E,k,m,g]]:u(G,e));const K=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetGroupRequest";$4({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}",code:200}))`,[w,y,b,f,_,a,__d15,k,m,g]]:u(K,e));const q=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetGroupConfigurationRequest";$4({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/configuration",code:200}))`,[w,y,b,f,_,a,__d5,k,m,g]]:u(q,e));const J=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetOrganizationRequest";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}",code:200}))`,[w,y,b,f,_,a,__d7,k,m,g]]:u(J,e));const Y=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10};$5(>3)@"GetOrganizationMemberRequest";$5(>4)@"GetOrganizationMemberResponse";$4({organizationSlug:$3.pipe($2()),username:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/members/{username}",code:200}));$4({member:$7(#6:0)})`,[w,y,b,f,_,a,__d8,i,k,m,g]]:u(Y,e));const X=/*@__PURE__*/ T(e=>e===p?o(`GetOrganizationSubscriptionResponse`,`{input:#1,output:#3,errors:[],protocol:$8,retry:$9};$5(>4)@"GetOrganizationSubscriptionRequest";$5(>5)@"%Subscription";$5(>6)@"%";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/subscription",code:200}));$4({name:$6($3),overages:$6($7),plan:$6($3),timeline:$6($3)});$4({subscription:$6(#2)})`,[w,y,b,f,_,a,i,d,m,g]):u(X,e));const Z=/*@__PURE__*/ T(e=>e===p?o(`GetOrganizationUsageResponse`,`{input:#1,output:#5,errors:[],protocol:$10,retry:$11};$5(>6)@"GetOrganizationUsageRequest";$5(>7)@"%OrganizationUsage";$9(#8:3);$5(>8)@"%Organization";$5(>9)@"%";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/usage",code:200}));$4({rows_read:$7($6),rows_written:$7($6),databases:$7($6),locations:$7($6),storage_bytes:$7($6),groups:$7($6),bytes_synced:$7($6)});$4({uuid:$7($3),usage:$7(#2),databases:$7(#3)});$4({organization:$7(#4)})`,[w,y,b,f,_,a,c,i,__d4,v,m,g]):u(Z,e));const Q=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"InvalidateDatabaseTokensRequest";$4({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}/auth/rotate",code:200}))`,[w,y,b,f,_,a,__d0,k,m,g]]:u(Q,e));const re=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"InvalidateGroupTokensRequest";$4({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/auth/rotate",code:200}))`,[w,y,b,f,_,a,__d0,k,m,g]]:u(re,e));const ie=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[$7],protocol:$8,retry:$9};$6(>4)@"InviteOrganizationMemberV2Request";$6(>5)@"InviteCreatedV2";$6(>6)@"InviteOrganizationMemberV2Response";$5({organizationSlug:$3.pipe($2()),email:$4($3),username:$4($3),role:$4($3)}).pipe($1({method:"POST",uri:"/v2/organizations/{organizationSlug}/invites",code:200}));$5({email:$4($3),role:$4($3),organization:$4($3)});$5({invited:$4(#2)})`,[w,y,b,f,i,_,a,E,m,g]]:u(ie,e));const ae=/*@__PURE__*/ T(e=>e===p?o(`APIToken`,`{input:#1,output:#4,errors:[],protocol:$8,retry:$9};$3(>5)@"List%sRequest";$3(>6)@"%";$7(#2);$3(>7)@"List%sResponse";$2({}).pipe($1({method:"GET",uri:"/v1/auth/api-tokens",code:200}));$2({name:$5($4),id:$5($4),organization:$5($4),group:$5($4),scopes:$5(#6:0),created_at:$5($4)});$2({tokens:$5(#3)})`,[w,y,_,a,f,i,__d13,v,m,g]):u(ae,e));const oe=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[$9],protocol:$10,retry:$11};$5(>4)@"ListDatabaseInstancesRequest";$7(#6:0);$5(>5)@"ListDatabaseInstancesResponse";$4({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}/instances",code:200}));$4({instances:$8(#2)})`,[w,y,b,f,_,a,__d3,v,i,k,m,g]]:u(oe,e));const se=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[],protocol:$10,retry:$11};$7(>4)@"ListDatabasesRequest";$9(#8:1);$7(>5)@"ListDatabasesResponse";$6({organizationSlug:$3.pipe($2()),group:$5($3.pipe($4())),schema:$5($3.pipe($4())),parent:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/databases",code:200}));$6({databases:$5(#2)})`,[w,y,b,f,x,i,_,a,__d1,v,m,g]]:u(se,e));const ce=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$12],protocol:$13,retry:$14};$9(>3)@"ListDeletedDatabasesRequest";$9(>4)@"ListDeletedDatabasesResponse";$8({organizationId:$3.pipe($2()),deleted:$5.pipe($4()),search:$6($3.pipe($4())),limit:$6($7.pipe($4())),cursor:$6($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v3/organizations/{organizationId}/databases",code:200}));$8({databases:$6(#10:0),pagination:$6(#11:0)})`,[w,y,b,f,x,d,i,c,_,a,__d11,__d9,O,m,g]]:u(ce,e));const le=/*@__PURE__*/ T(e=>e===p?o(`DeletedGroup`,`{input:#1,output:#4,errors:[$11],protocol:$12,retry:$13};$8(>5)@"List%sRequest";$8(>6)@"%";$9(#2);$8(>7)@"List%sResponse";$7({organizationId:$3.pipe($2()),limit:$6($5.pipe($4())),cursor:$6($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v3/organizations/{organizationId}/deleted-groups",code:200}));$7({uuid:$6($3),name:$6($3),deleted_at:$6($3),cascade_databases:$6($5)});$7({groups:$6(#3),pagination:$6(#10:0)})`,[w,y,b,f,x,c,i,_,a,v,__d9,O,m,g]):u(le,e));const ue=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[],protocol:$9,retry:$10};$5(>4)@"ListGroupsRequest";$7(#6:0);$5(>5)@"ListGroupsResponse";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/groups",code:200}));$4({groups:$8(#2)})`,[w,y,b,f,_,a,__d14,v,i,m,g]]:u(ue,e));const de=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[],protocol:$6,retry:$7};$3(>3)@"ListLocationsRequest";$3(>4)@"ListLocationsResponse";$2({}).pipe($1({method:"GET",uri:"/v1/locations",code:200}));$2({locations:$5(#4:0)})`,[w,y,_,a,__d12,i,m,g]]:u(de,e));const fe=/*@__PURE__*/ T(e=>e===p?o(`ListOrganizationAPITokensResponse`,`{input:#1,output:#5,errors:[],protocol:$9,retry:$10};$5(>6)@"ListOrganizationAPITokensRequest";$5(>7)@"%TokensItemOwner";$5(>8)@"%TokensItem";$8(#3);$5(>9)@"%";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/api-tokens",code:200}));$4({username:$6($3),email:$6($3)});$4({name:$6($3),id:$6($3),organization:$6($3),group:$6($3),scopes:$6(#7:0),owner:$6(#2),created_at:$6($3)});$4({tokens:$6(#4)})`,[w,y,b,f,_,a,i,__d13,v,m,g]):u(fe,e));const pe=/*@__PURE__*/ T(e=>e===p?o(`ListOrganizationAuditLogsResponse`,`{input:#1,output:#5,errors:[],protocol:$11,retry:$12};$8(>6)@"ListOrganizationAuditLogsRequest";$8(>7)@"AuditLog";$10(#2);$8(>8)@"%Pagination";$8(>9)@"%";$7({organizationSlug:$3.pipe($2()),page_size:$6($5.pipe($4())),page:$6($5.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/audit-logs",code:200}));$7({code:$6($3),message:$6($3),origin:$6($3),author:$6($3),created_at:$6($3),data:$6($9)});$7({page:$6($5),page_size:$6($5),total_pages:$6($5),total_rows:$6($5)});$7({audit_logs:$6(#3),pagination:$6(#4)})`,[w,y,b,f,x,c,i,_,a,l,v,m,g]):u(pe,e));const me=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#4,errors:[],protocol:$9,retry:$10};$5(>5)@"ListOrganizationInvitesV2Request";$5(>6)@"InviteV2";$8(#2);$5(>7)@"ListOrganizationInvitesV2Response";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v2/organizations/{organizationSlug}/invites",code:200}));$4({id:$7($6),email:$7($3),role:$7($3),created_at:$7($3)});$4({invites:$7(#3)})`,[w,y,b,f,_,a,c,i,v,m,g]]:u(me,e));const he=/*@__PURE__*/ T(e=>e===p?o(`ListOrganizationInvoicesResponse`,`{input:#1,output:#4,errors:[],protocol:$9,retry:$10};$7(>5)@"ListOrganizationInvoicesRequest";$7(>6)@"%InvoicesItem";$8(#2);$7(>7)@"%";$6({organizationSlug:$3.pipe($2()),type:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/invoices",code:200}));$6({invoice_number:$5($3),amount_due:$5($3),due_date:$5($3),paid_at:$5($3),payment_failed_at:$5($3),invoice_pdf:$5($3)});$6({invoices:$5(#3)})`,[w,y,b,f,x,i,_,a,v,m,g]):u(he,e));const ge=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[],protocol:$9,retry:$10};$5(>4)@"ListOrganizationMembersRequest";$7(#6:0);$5(>5)@"ListOrganizationMembersResponse";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/members",code:200}));$4({members:$8(#2)})`,[w,y,b,f,_,a,__d8,v,i,m,g]]:u(ge,e));const _e=/*@__PURE__*/ T(e=>e===p?o(`OrganizationPlan`,`{input:#1,output:#7,errors:[],protocol:$10,retry:$11};$5(>8)@"List%sRequest";$5(>9)@"PlanPrice";$7(#2);$5(>10)@"PlanQuotas";$5(>11)@"%";$7(#5);$5(>12)@"List%sResponse";$4({organizationSlug:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/organizations/{organizationSlug}/plans",code:200}));$4({value:$6($3),timeline:$6($3)});$4({rowsRead:$6($8),rowsWritten:$6($8),databases:$6($9($8)),locations:$6($8),storage:$6($8),groups:$6($8),bytesSynced:$6($8)});$4({name:$6($3),price:$6($3),prices:$6(#3),quotas:$6(#4)});$4({plans:$6(#6)})`,[w,y,b,f,_,a,i,v,c,h,m,g]):u(_e,e));const ve=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[],protocol:$7,retry:$8};$3(>4)@"ListOrganizationsRequest";$5(#4:0);$3(>5)@"ListOrganizationsResponse";$2({}).pipe($1({method:"GET",uri:"/v1/organizations",code:200}));#2.pipe($6())`,[w,y,_,a,__d6,v,ee,m,g]]:u(ve,e));const ye=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"RemoveLocationFromGroupRequest";$4({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2()),location:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/locations/{location}",code:200}))`,[w,y,b,f,_,a,__d15,E,k,m,g]]:u(ye,e));const be=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$7],protocol:$8,retry:$9};$5(>3)@"RemoveOrganizationMemberRequest";$5(>4)@"RemoveOrganizationMemberResponse";$4({organizationSlug:$3.pipe($2()),username:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/organizations/{organizationSlug}/members/{username}",code:200}));$4({member:$6($3)})`,[w,y,b,f,_,a,i,k,m,g]]:u(be,e));const $=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$8,$9,$10],protocol:$11,retry:$12};$6(>3)@"RestoreDatabaseRequest";$6(>4)@"RestoreDatabaseResponse";$5({organizationId:$3.pipe($2()),databaseId:$3.pipe($2()),name:$4($3)}).pipe($1({method:"POST",uri:"/v3/organizations/{organizationId}/databases/{databaseId}/restore",code:200}));$5({database:$4(#7:0)})`,[w,y,b,f,i,_,a,__d10,E,O,k,m,g]]:u($,e));const xe=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$10,$11,$12],protocol:$13,retry:$14};$5(>3)@"RestoreGroupRequest";$5(>4)@"RestoreGroupResponse";$4({organizationId:$3.pipe($2()),groupId:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v3/organizations/{organizationId}/groups/{groupId}/restore",code:200}));$4({group:$7(#6:0),databases:$7(#8:0),failures:$7(#9:0)})`,[w,y,b,f,_,a,__d14,i,__d11,__d12,E,O,k,m,g]]:u(xe,e));const Se=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"RevokeAPITokenRequest";$4({tokenName:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/auth/api-tokens/{tokenName}",code:200}))`,[w,y,b,f,_,a,__d16,k,m,g]]:u(Se,e));const Ce=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"RevokeOrganizationAPITokenRequest";$4({organizationSlug:$3.pipe($2()),tokenId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/organizations/{organizationSlug}/api-tokens/{tokenId}",code:200}))`,[w,y,b,f,_,a,__d16,k,m,g]]:u(Ce,e));const we=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10};$6(>2)@"TransferGroupRequest";$5({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2()),organization:$4($3)}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/transfer",code:200}))`,[w,y,b,f,i,_,a,__d14,k,m,g]]:u(we,e));const Te=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"UnarchiveGroupRequest";$4({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/unarchive",code:200}))`,[w,y,b,f,_,a,__d15,k,m,g]]:u(Te,e));const Ee=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#9:0,errors:[$10],protocol:$11,retry:$12};$8(>2)@"UpdateDatabaseConfigurationRequest";$7({organizationSlug:$3.pipe($2()),databaseName:$3.pipe($2()),size_limit:$4($3),allow_attach:$4($5),block_reads:$4($5),block_writes:$4($5),delete_protection:$4($5),allowed_ips:$4(#6:0),allowed_aws_vpc_ids:$4(#6:0)}).pipe($1({method:"PATCH",uri:"/v1/organizations/{organizationSlug}/databases/{databaseName}/configuration",code:200}))`,[w,y,b,f,i,d,__d13,_,a,__d2,k,m,g]]:u(Ee,e));const De=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpdateGroupConfigurationRequest";$6({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2()),delete_protection:$5($4)}).pipe($1({method:"PATCH",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/configuration",code:200}))`,[w,y,b,f,d,i,_,a,__d5,k,m,g]]:u(De,e));const Oe=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"UpdateGroupDatabasesRequest";$4({organizationSlug:$3.pipe($2()),groupName:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/organizations/{organizationSlug}/groups/{groupName}/update",code:200}))`,[w,y,b,f,_,a,__d0,k,m,g]]:u(Oe,e));const ke=/*@__PURE__*/ T(e=>e===p?o(`UpdateMemberRoleResponse`,`{input:#1,output:#3,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>4)@"UpdateMemberRoleRequest";$5(>5)@"%Member";$5(>6)@"%";$4({organizationSlug:$3.pipe($2()),username:$3.pipe($2()),role:$3}).pipe($1({method:"PATCH",uri:"/v1/organizations/{organizationSlug}/members/{username}",code:200}));$4({username:$6($3),email:$6($3),role:$6($3)});$4({member:$6(#2)})`,[w,y,b,f,_,a,i,E,O,k,m,g]):u(ke,e));const Ae=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#8:0,errors:[],protocol:$9,retry:$10};$7(>2)@"UpdateOrganizationRequest";$6({organizationSlug:$3.pipe($2()),overages:$5($4),require_mfa:$5($4),restore_enabled:$5($4)}).pipe($1({method:"PATCH",uri:"/v1/organizations/{organizationSlug}",code:200}))`,[w,y,b,f,d,i,_,a,__d7,m,g]]:u(Ae,e));const je=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[],protocol:$6,retry:$7};$3(>3)@"ValidateAPITokenRequest";$3(>4)@"ValidateAPITokenResponse";$2({}).pipe($1({method:"GET",uri:"/v1/auth/validate",code:200}));$2({exp:$5($4)})`,[w,y,_,a,c,i,m,g]]:u(je,e));function __d0(){return[`$2(>1)@"DeleteOrganizationInviteByEmailV2Response";$1({})`,[w,_,a]]}function __d1(){return[`$4(>2)@"DatabaseParent";$4(>3)@"Database";$3({id:$2($1),name:$2($1),branched_at:$2($1)});$3({Name:$2($1),DbId:$2($1),Hostname:$2($1),block_reads:$2($5),block_writes:$2($5),regions:$2(#6:0),primaryRegion:$2($1),group:$2($1),delete_protection:$2($5),parent:$2($7(#0)),allow_attach:$2($5)})`,[w,f,i,_,a,d,__d13,h]]}function __d2(){return[`$6(>1)@"DatabaseConfigurationResponse";$5({size_limit:$2($1),allow_attach:$2($3),block_reads:$2($3),block_writes:$2($3),delete_protection:$2($3),allowed_ips:$2(#4:0),allowed_aws_vpc_ids:$2(#4:0)})`,[w,f,i,d,__d13,_,a]]}function __d3(){return[`$4(>1)@"Instance";$3({uuid:$2($1),name:$2($1),type:$2($1),region:$2($1),hostname:$2($1)})`,[w,f,i,_,a]]}function __d4(){return[`$4(>4)@"DatabaseUsageObject";$4(>5)@"DatabaseUsageOutputInstancesItem";$6(#1);$4(>6)@"DatabaseUsageOutput";$3({rows_read:$2($1),rows_written:$2($1),storage_bytes:$2($1),bytes_synced:$2($1)});$3({uuid:$2($5),usage:$2(#0)});$3({uuid:$2($5),instances:$2(#2),total:$2(#0)})`,[w,c,i,_,a,f,v]]}function __d5(){return[`$4(>1)@"GroupConfigurationResponse";$3({delete_protection:$2($1)})`,[w,d,i,_,a]]}function __d6(){return[`$5(>1)@"Organization";$4({name:$2($1),slug:$2($1),type:$2($1),overages:$2($3),require_mfa:$2($3),blocked_reads:$2($3),blocked_writes:$2($3),plan_id:$2($1),plan_timeline:$2($1),platform:$2($1),restore_enabled:$2($3)})`,[w,f,i,d,_,a]]}function __d7(){return[`$4(>1)@"GetOrganizationResponse";$3({organization:$2(#1:0)})`,[w,__d6,i,_,a]]}function __d8(){return[`$4(>1)@"Member";$3({username:$2($1),role:$2($1),email:$2($1)})`,[w,f,i,_,a]]}function __d9(){return[`$4(>1)@"Pagination";$3({next:$2($1)})`,[w,f,i,_,a]]}function __d10(){return[`$6(>1)@"DeletedDatabase";$5({Name:$2($1),DbId:$2($1),Hostname:$2($1),group:$2($1),group_id:$2($1),organization_id:$2($1),regions:$2(#3:0),primaryRegion:$2($1),delete_protection:$2($4),deleted_at:$2($1),group_deleted_at:$2($1)})`,[w,f,i,__d13,d,_,a]]}function __d11(){return[`$2(#1:0)`,[w,__d10,v]]}function __d12(){return[`$2($1,$1)`,[w,f,t]]}function __d13(){return[`$2($1)`,[w,f,v]]}function __d14(){return[`$6(>1)@"Group";$5({name:$2($1),version:$2($1),uuid:$2($1),locations:$2(#3:0),primary:$2($1),delete_protection:$2($4)})`,[w,f,i,__d13,d,_,a]]}function __d15(){return[`$4(>1)@"AddLocationToGroupResponse";$3({group:$2(#1:0)})`,[w,__d14,i,_,a]]}function __d16(){return[`$4(>1)@"RevokeAPITokenResponse";$3({token:$2($1)})`,[w,f,i,_,a]]}function __d17(){return[`$4(>3)@"CreateDatabaseTokenRequestPermissionsReadAttach";$4(>4)@"CreateDatabaseTokenRequestPermissions";$4(>5)@"CreateDatabaseTokenResponse";$3({databases:$2(#1:0)});$3({read_attach:$2(#0)});$3({jwt:$2($6.pipe($5({})))})`,[w,__d13,i,_,a,S,f]]}export{E as BadRequest,D as Conflict,O as Forbidden,k as NotFound,A as addLocationToGroup,j as addOrganizationMember,M as createAPIToken,N as createDatabase,P as createDatabaseToken,F as createGroup,I as createGroupToken,L as deleteDatabase,R as deleteGroup,z as deleteOrganizationInviteByEmailV2,B as getCurrentUser,V as getDatabase,H as getDatabaseConfiguration,U as getDatabaseInstance,W as getDatabaseStats,G as getDatabaseUsage,K as getGroup,q as getGroupConfiguration,J as getOrganization,Y as getOrganizationMember,X as getOrganizationSubscription,Z as getOrganizationUsage,Q as invalidateDatabaseTokens,re as invalidateGroupTokens,ie as inviteOrganizationMemberV2,ae as listAPITokens,oe as listDatabaseInstances,se as listDatabases,ce as listDeletedDatabases,le as listDeletedGroups,ue as listGroups,de as listLocations,fe as listOrganizationAPITokens,pe as listOrganizationAuditLogs,me as listOrganizationInvitesV2,he as listOrganizationInvoices,ge as listOrganizationMembers,_e as listOrganizationPlans,ve as listOrganizations,ye as removeLocationFromGroup,be as removeOrganizationMember,$ as restoreDatabase,xe as restoreGroup,Se as revokeAPIToken,Ce as revokeOrganizationAPIToken,we as transferGroup,Te as unarchiveGroup,Ee as updateDatabaseConfiguration,De as updateGroupConfiguration,Oe as updateGroupDatabases,ke as updateMemberRole,Ae as updateOrganization,je as validateAPIToken};
|
|
2
|
+
/*
|
|
3
|
+
29 75
|
|
4
|
+
e:0:_ t:0:a n:0:b r:0:c i:0:d a:0:f o:0:g s:0:h c:0:i l:0:l u:0:m d:0:n f:0:o p:0:p m:0:protocol$TursoProtocol h:0:r g:0:retry$Retry _:0:s v:0:t y:0:traits$Http b:0:traits$Label x:0:traits$Query ee:0:traits$RawResponseRoot S:0:traits$SensitiveValue C:0:traits$applyErrorMatchers w:0:u T:0:v te:0:x ne:0:y
|
|
5
|
+
00000000190002m000430005y0007d0008s000a7000be000cm000du000fk000gu000i2000jc000kp000m4000nc000ok000ps000r2000t7000va000wi000xr000yz0010f0011s001340014o0016h0017r0018v001b2001dc001el001gq001i0001jr001kx001m9001nh001ox001qk001rt001t2001ud001vm001x2001yf001zo0021q00230002430024x0025r0026l0027f0028a0029g002ak002bj002cm002dl002em002fm002gl002hk002ip002jm002ki002le002mj002nk002ok002pp
|
|
6
|
+
2 rv 11f A|=;s6 10e;p,j,k,c,h,5,2t,2a,2d,e,g
|
|
7
|
+
2 125 1cc j|=;12g 1bd;p,j,k,c,4,h,5,2a,2d,2b,e,g
|
|
8
|
+
2 1d2 1nt M|=;1dd 1mq;p,c,i,j,k,4,h,5,n,2a,2d,2b,e,g
|
|
9
|
+
2 1oj 25e N|=CreateDatabaseRequest;1pj 24h;p,c,4,h,5,j,k,2a,2b,e,g
|
|
10
|
+
2 264 2hi P|=;26f 2gd;p,j,k,c,l,4,2v,h,5,2a,2d,e,g
|
|
11
|
+
2 2i8 2ql F|=;2ij 2pg;p,j,k,c,9,4,h,5,2t,2a,2b,e,g
|
|
12
|
+
2 2rb 32d I|=;2rm 318;p,j,k,c,l,4,2v,h,5,2a,2d,e,g
|
|
13
|
+
2 333 3cs L|=;33e 3bx;p,j,k,c,h,5,4,2d,e,g
|
|
14
|
+
2 3di 3lj R|=;3dt 3kk;p,j,k,c,h,5,2t,2d,e,g
|
|
15
|
+
2 3m9 3uo z|=;3mk 3tq;p,j,k,c,h,5,2e,2d,e,g
|
|
16
|
+
2 3ve 45g B|=GetCurrentUserResponse;3wf 44n;p,j,h,5,c,4,b,e,g
|
|
17
|
+
2 466 4fu V|=;46h 4eu;p,j,k,c,h,5,2f,4,2d,e,g
|
|
18
|
+
2 4gk 4ph H|=;4gv 4oj;p,j,k,c,h,5,2g,2d,e,g
|
|
19
|
+
2 4q7 51r U|=;4qi 50r;p,j,k,c,h,5,2h,4,2d,e,g
|
|
20
|
+
2 52h 5fd W|=;52s 5ec;p,j,k,c,h,5,4,8,i,f,2d,e,g
|
|
21
|
+
2 5g3 5ro G|=;5ge 5qk;p,j,k,c,l,4,h,5,2i,2a,2d,e,g
|
|
22
|
+
2 5se 609 K|=;5sp 5za;p,j,k,c,h,5,2t,2d,e,g
|
|
23
|
+
2 60z 69k q|=;61a 68m;p,j,k,c,h,5,2j,2d,e,g
|
|
24
|
+
2 6aa 6h4 J|=;6al 6g6;p,j,k,c,h,5,2l,2d,e,g
|
|
25
|
+
2 6hu 6rq Y|=;6i5 6qq;p,j,k,c,h,5,2m,4,2d,e,g
|
|
26
|
+
2 6sg 749 X|=GetOrganizationSubscriptionResponse;6tu 73e;p,j,k,c,h,5,4,b,e,g
|
|
27
|
+
2 74z 7kr Z|=GetOrganizationUsageResponse;766 7jp;p,j,k,c,h,5,8,4,2i,i,e,g
|
|
28
|
+
2 7lh 7ud Q|=;7ls 7tf;p,j,k,c,h,5,2e,2d,e,g
|
|
29
|
+
2 7v4 83p re|=;7vf 82q;p,j,k,c,h,5,2e,2d,e,g
|
|
30
|
+
2 84g 8gs ie|=;84r 8fw;p,j,k,c,4,h,5,2a,e,g
|
|
31
|
+
2 8hj 8rg ae|=APIToken;8i6 8qg;p,j,h,5,c,4,2r,i,e,g
|
|
32
|
+
2 8s7 931 oe|=;8si 91y;p,j,k,c,h,5,2h,i,4,2d,e,g
|
|
33
|
+
2 93s 9eq se|=;943 9dn;p,j,k,c,l,4,h,5,2f,i,e,g
|
|
34
|
+
2 9fh 9s3 ce|=;9fs 9qq;p,j,k,c,l,b,4,8,h,5,2p,2n,2c,e,g
|
|
35
|
+
2 9su a65 le|=DeletedGroup;9tl a4y;p,j,k,c,l,8,4,h,5,i,2n,2c,e,g
|
|
36
|
+
2 a6w afe ue|=;a77 aec;p,j,k,c,h,5,2s,i,4,e,g
|
|
37
|
+
2 ag5 amu de|=;agg aly;p,j,h,5,2q,4,e,g
|
|
38
|
+
2 anl b2e fe|=ListOrganizationAPITokensResponse;aox b1c;p,j,k,c,h,5,4,2r,i,e,g
|
|
39
|
+
2 b35 bkd pe|=ListOrganizationAuditLogsResponse;b4h bjb;p,j,k,c,l,8,4,h,5,9,i,e,g
|
|
40
|
+
2 bl4 bwh me|=;blf bvj;p,j,k,c,h,5,8,4,i,e,g
|
|
41
|
+
2 bx8 cb8 he|=ListOrganizationInvoicesResponse;byj caa;p,j,k,c,l,4,h,5,i,e,g
|
|
42
|
+
2 cbz cl8 ge|=;cca ck7;p,j,k,c,h,5,2m,i,4,e,g
|
|
43
|
+
2 clz d2h _e|=OrganizationPlan;cmu d1h;p,j,k,c,h,5,4,i,8,f,e,g
|
|
44
|
+
2 d38 da9 ve|=;d3j d9b;p,j,h,5,2k,i,m,e,g
|
|
45
|
+
2 db0 dks ye|=;dbb djq;p,j,k,c,h,5,2t,2a,2d,e,g
|
|
46
|
+
2 dlj dvh be|=;dlu dul;p,j,k,c,h,5,4,2d,e,g
|
|
47
|
+
2 dw7 e6t $|=;dwi e5o;p,j,k,c,4,h,5,2o,2a,2c,2d,e,g
|
|
48
|
+
2 e7k eis xe|=;e7v eha;p,j,k,c,h,5,2s,4,2p,2q,2a,2c,2d,e,g
|
|
49
|
+
2 ejj eq5 Se|=;eju ep5;p,j,k,c,h,5,2u,2d,e,g
|
|
50
|
+
2 eqw ezd Ce|=;er7 eyd;p,j,k,c,h,5,2u,2d,e,g
|
|
51
|
+
2 f04 f92 we|=;f0f f80;p,j,k,c,4,h,5,2s,2d,e,g
|
|
52
|
+
2 f9t fi6 Te|=;fa4 fh6;p,j,k,c,h,5,2t,2d,e,g
|
|
53
|
+
2 fix fwl Ee|=;fj8 fvc;p,j,k,c,4,b,2r,h,5,2g,2d,e,g
|
|
54
|
+
2 fxc g6y De|=;fxn g5v;p,j,k,c,b,4,h,5,2j,2d,e,g
|
|
55
|
+
2 g7p gg4 Oe|=;g80 gf5;p,j,k,c,h,5,2e,2d,e,g
|
|
56
|
+
2 ggv gst ke|=UpdateMemberRoleResponse;ghy grt;p,j,k,c,h,5,4,2a,2c,2d,e,g
|
|
57
|
+
2 gtk h27 Ae|=;gtv h16;p,j,k,c,b,4,h,5,2l,e,g
|
|
58
|
+
2 h2y h9l je|=;h39 h8t;p,j,h,5,8,4,e,g
|
|
59
|
+
3 aj e7 E|=;bu dp;p,2,8,c,3,o
|
|
60
|
+
3 ex ii D|=;g6 hz;p,r,8,c,3,o
|
|
61
|
+
3 j8 mv O|=;ki mc;p,s,8,c,3,o
|
|
62
|
+
3 nl r5 k|=;ou qn;p,2,8,c,3,o
|
|
63
|
+
1 h9n hc7 __d0|=;hab hbw;p,h,5
|
|
64
|
+
1 hc7 hlj __d1|=;hcv hku;p,c,4,h,5,b,2r,f
|
|
65
|
+
1 hlj hsa __d2|=;hm7 hrn;p,c,4,b,2r,h,5
|
|
66
|
+
1 hsa hvu __d3|=;hsy hvf;p,c,4,h,5
|
|
67
|
+
1 hvu i4i __d4|=;hwi i3z;p,8,4,h,5,c,i
|
|
68
|
+
1 i4i i7f __d5|=;i56 i70;p,b,4,h,5
|
|
69
|
+
1 i7f iek __d6|=;i83 ie3;p,c,4,b,h,5
|
|
70
|
+
1 iek ihe __d7|=;if8 igw;p,2k,4,h,5
|
|
71
|
+
1 ihe ik7 __d8|=;ii2 ijs;p,c,4,h,5
|
|
72
|
+
1 ik7 imb __d9|=;ikv ilw;p,c,4,h,5
|
|
73
|
+
1 imb ity __d10|=;in0 itb;p,c,4,2r,b,h,5
|
|
74
|
+
1 ity iva __d11|=;iun iuv;p,2o,i
|
|
75
|
+
1 iva iwj __d12|=;ivz iw8;p,c,1
|
|
76
|
+
1 iwj ixp __d13|=;ix8 ixe;p,c,i
|
|
77
|
+
1 ixp j2b __d14|=;iye j1o;p,c,4,2r,b,h,5
|
|
78
|
+
1 j2b j53 __d15|=;j30 j4k;p,2s,4,h,5
|
|
79
|
+
1 j53 j7l __d16|=;j5s j76;p,c,4,h,5
|
|
80
|
+
1 j7l jf1 __d17|=;j8a jee;p,2r,4,h,5,n,c
|
|
81
|
+
*/
|
|
82
|
+
//# sourceMappingURL=turso.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"turso.js","names":["API.newError","__L.at","C.withBadRequestError","S.Number","S.String","S.TaggedError","T.applyErrorMatchers","C.withConflictError","C.withAuthError","API.D","T.Http","T.Label","S.Struct","S.suspend","Retry.Retry","API.call","S.optional","S.Array","T.SensitiveValue","API.named","T.Query","S.Unknown","S.Boolean","S.NullOr","T.RawResponseRoot","S.Record","newError","Record","withBadRequestError","TaggedError","optional","suspend","named","error","Number","call","Boolean","String","TursoProtocol","NullOr","Retry","Struct","Array","Http","Label","Query","RawResponseRoot","SensitiveValue","applyErrorMatchers","at","op","withConflictError","withAuthError","BadRequest","i","Conflict","Forbidden","NotFound","addLocationToGroup","D","addOrganizationMember","createAPIToken","createDatabase","createDatabaseToken","createGroup","Unknown","createGroupToken","deleteDatabase","deleteGroup","deleteOrganizationInviteByEmailV2","getCurrentUser","getDatabase","getDatabaseConfiguration","getDatabaseInstance","getDatabaseStats","getDatabaseUsage","getGroup","getGroupConfiguration","getOrganization","getOrganizationMember","getOrganizationSubscription","getOrganizationUsage","invalidateDatabaseTokens","invalidateGroupTokens","inviteOrganizationMemberV2","listAPITokens","listDatabaseInstances","listDatabases","listDeletedDatabases","listDeletedGroups","listGroups","listLocations","listOrganizationAPITokens","listOrganizationAuditLogs","listOrganizationInvitesV2","listOrganizationInvoices","listOrganizationMembers","listOrganizationPlans","listOrganizations","removeLocationFromGroup","removeOrganizationMember","restoreDatabase","restoreGroup","revokeAPIToken","revokeOrganizationAPIToken","transferGroup","unarchiveGroup","updateDatabaseConfiguration","updateGroupConfiguration","updateGroupDatabases","updateMemberRole","updateOrganization","validateAPIToken"],"sources":["../../src/services/turso.ts"],"mappings":"mWAYA,MAAaqD,EAAgC,gBAAU,SAAS,WAAW,EAAa,CACtF,OAAOrD,EAAasD,EAAG,WAAY,CAAC,sEAAuE,CAACrD,EAAQC,EAAuBC,EAAUC,EAAUC,EAAeC,CAAoB,CAAC,CAAC,CACtM,CAAC,EAED,MAAaiD,EAA8B,gBAAU,SAAS,SAAS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C,CACA,SAAS,OAAa,CACpB,MAAO,CAAC,YAAa,CAAChB,EAAQG,EAAUqB,CAAQ,CAAC,CACnD,CACA,SAAS,OAAa,CACpB,MAAO,CAAC,SAAU,CAACxB,EAAQG,EAAUa,CAAO,CAAC,CAC/C,CACA,SAAS,OAAa,CACpB,MAAO,CAAC,yHAA0H,CAAChB,EAAQG,EAAUY,EAAY,MAAOM,EAAWV,EAAUC,CAAS,CAAC,CACzM,CACA,SAAS,OAAa,CACpB,MAAO,CAAC,2DAA4D,CAACZ,EAAQ,MAAOe,EAAYJ,EAAUC,CAAS,CAAC,CACtH,CACA,SAAS,OAAa,CACpB,MAAO,CAAC,qDAAsD,CAACZ,EAAQG,EAAUY,EAAYJ,EAAUC,CAAS,CAAC,CACnH,CACA,SAAS,OAAa,CACpB,MAAO,CAAC,+NAAgO,CAACZ,EAAQ,MAAOe,EAAYJ,EAAUC,EAAWK,EAAkBd,CAAQ,CAAC,CACtT"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{$L}from"../_bundle/lazy.js";
|
|
2
|
+
const{o:$o,e:$e,E:$E}=/*@__PURE__*/$L("../services/turso.js","ooooooooooooooooooooooooooooooooooooooooooooooooooooo",26566,4208);
|
|
3
|
+
export const{BadRequest,Conflict,Forbidden,NotFound}=$E;
|
|
4
|
+
export const addLocationToGroup=$o(),addOrganizationMember=$o(),createAPIToken=$o(),createDatabase=$o(),createDatabaseToken=$o(),createGroup=$o(),createGroupToken=$o(),deleteDatabase=$o(),deleteGroup=$o(),deleteOrganizationInviteByEmailV2=$o(),getCurrentUser=$o(),getDatabase=$o(),getDatabaseConfiguration=$o(),getDatabaseInstance=$o(),getDatabaseStats=$o(),getDatabaseUsage=$o(),getGroup=$o(),getGroupConfiguration=$o(),getOrganization=$o(),getOrganizationMember=$o(),getOrganizationSubscription=$o(),getOrganizationUsage=$o(),invalidateDatabaseTokens=$o(),invalidateGroupTokens=$o(),inviteOrganizationMemberV2=$o(),listAPITokens=$o(),listDatabaseInstances=$o(),listDatabases=$o(),listDeletedDatabases=$o(),listDeletedGroups=$o(),listGroups=$o(),listLocations=$o(),listOrganizationAPITokens=$o(),listOrganizationAuditLogs=$o(),listOrganizationInvitesV2=$o(),listOrganizationInvoices=$o(),listOrganizationMembers=$o(),listOrganizationPlans=$o(),listOrganizations=$o(),removeLocationFromGroup=$o(),removeOrganizationMember=$o(),restoreDatabase=$o(),restoreGroup=$o(),revokeAPIToken=$o(),revokeOrganizationAPIToken=$o(),transferGroup=$o(),unarchiveGroup=$o(),updateDatabaseConfiguration=$o(),updateGroupConfiguration=$o(),updateGroupDatabases=$o(),updateMemberRole=$o(),updateOrganization=$o(),validateAPIToken=$o();
|
package/lib/traits.js
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export { SensitiveValue, RawResponse, RawResponseRoot, sensitiveValueSymbol, rawResponseSymbol, rawResponseRootSymbol, } from "@distilled.cloud/core/protocol-rest";
|
|
12
|
-
export { Body, Header, Query, Label, Http, ResponseCode, HttpBody, FormDataFile, KeyDictionary, UnionCases, applyErrorMatchers, getErrorMatchers, bodySymbol, headerSymbol, querySymbol, labelSymbol, httpSymbol, responseCodeSymbol, httpBodySymbol, formDataFileSymbol, keyDictionarySymbol, unionCasesSymbol, errorMatchersSymbol, } from "@distilled.cloud/core/trait";
|
|
13
|
-
//# sourceMappingURL=traits.js.map
|
|
1
|
+
export { traits$Body as Body, traits$FormDataFile as FormDataFile, traits$Header as Header, traits$Http as Http, traits$HttpBody as HttpBody, traits$KeyDictionary as KeyDictionary, traits$Label as Label, traits$Query as Query, traits$RawResponse as RawResponse, traits$RawResponseRoot as RawResponseRoot, traits$ResponseCode as ResponseCode, traits$SensitiveValue as SensitiveValue, traits$UnionCases as UnionCases, traits$applyErrorMatchers as applyErrorMatchers, traits$bodySymbol as bodySymbol, traits$errorMatchersSymbol as errorMatchersSymbol, traits$formDataFileSymbol as formDataFileSymbol, traits$getErrorMatchers as getErrorMatchers, traits$headerSymbol as headerSymbol, traits$httpBodySymbol as httpBodySymbol, traits$httpSymbol as httpSymbol, traits$keyDictionarySymbol as keyDictionarySymbol, traits$labelSymbol as labelSymbol, traits$querySymbol as querySymbol, traits$rawResponseRootSymbol as rawResponseRootSymbol, traits$rawResponseSymbol as rawResponseSymbol, traits$responseCodeSymbol as responseCodeSymbol, traits$sensitiveValueSymbol as sensitiveValueSymbol, traits$unionCasesSymbol as unionCasesSymbol } from "./_bundle/sdk.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/turso",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.17",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,9 +19,8 @@
|
|
|
19
19
|
"types": "./lib/index.d.ts",
|
|
20
20
|
"bun": "./src/index.ts",
|
|
21
21
|
"worker": "./src/index.ts",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"default": "./lib/index.full.js"
|
|
22
|
+
"distilled-lazy": "./lib/index.lazy.js",
|
|
23
|
+
"default": "./lib/index.js"
|
|
25
24
|
},
|
|
26
25
|
"./Credentials": {
|
|
27
26
|
"types": "./lib/credentials.d.ts",
|
|
@@ -57,19 +56,19 @@
|
|
|
57
56
|
"types": "./lib/services/turso.d.ts",
|
|
58
57
|
"bun": "./src/services/turso.ts",
|
|
59
58
|
"worker": "./src/services/turso.ts",
|
|
59
|
+
"distilled-lazy": "./lib/services.lazy/turso.js",
|
|
60
60
|
"default": "./lib/services/turso.js"
|
|
61
61
|
},
|
|
62
62
|
"./*": {
|
|
63
63
|
"types": "./lib/services/*.d.ts",
|
|
64
64
|
"bun": "./src/services/*.ts",
|
|
65
65
|
"worker": "./src/services/*.ts",
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"default": "./lib/services.full/*.js"
|
|
66
|
+
"distilled-lazy": "./lib/services.lazy/*.js",
|
|
67
|
+
"default": "./lib/services/*.js"
|
|
69
68
|
}
|
|
70
69
|
},
|
|
71
70
|
"dependencies": {
|
|
72
|
-
"@distilled.cloud/core": "1.0.0-rc.
|
|
71
|
+
"@distilled.cloud/core": "1.0.0-rc.17"
|
|
73
72
|
},
|
|
74
73
|
"devDependencies": {
|
|
75
74
|
"@types/node": "26.6.5"
|
package/lib/credentials.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,8BAA8B,CAAC;AAC7D;;;;;;;GAOG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,MAAM,CAAC,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AAO7D,MAAM,OAAO,WACX,SAAQ,aAAa,CAAb,aAAa,CAAC,OAAO,CAAC,OAAO,EAAsC,CAAC,kBAAkB,CAAC;CAAG;AAEpG,MAAM,SAAS,GAAG,aAAa,CAAC,YAAY,CAAC,GAAG,CAAC;IAC/C,MAAM,EAAE,aAAa,CAAC,YAAY,CAAC,MAAM,CAAC,eAAe,CAAC;CAC3D,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,KAAK,CAAC,OAAO,CAC3D,WAAW;AACX,aAAa,CAAC,SAAS,CAAC,IAAI;AAC1B,aAAa,CAAC,MAAM,CAAC,Q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;AAClF,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAElE,oFAAoF;AACpF,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC"}
|
package/lib/traits.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"traits.js","sourceRoot":"","sources":["../src/traits.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EACL,cAAc,EACd,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,KAAK,EACL,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAGhB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,6BAA6B,CAAC"}
|
|
File without changes
|