@smithery/api 0.56.1 → 0.58.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/CHANGELOG.md +196 -0
- package/client.d.mts +5 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -4
- package/client.d.ts.map +1 -1
- package/client.js +4 -1
- package/client.js.map +1 -1
- package/client.mjs +4 -1
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +0 -23
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts +0 -23
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +1 -23
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +0 -21
- package/core/pagination.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/connections/connections.d.mts +35 -22
- package/resources/connections/connections.d.mts.map +1 -1
- package/resources/connections/connections.d.ts +35 -22
- package/resources/connections/connections.d.ts.map +1 -1
- package/resources/connections/connections.js +3 -2
- package/resources/connections/connections.js.map +1 -1
- package/resources/connections/connections.mjs +3 -2
- package/resources/connections/connections.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/namespaces/namespaces.d.mts +4 -3
- package/resources/namespaces/namespaces.d.mts.map +1 -1
- package/resources/namespaces/namespaces.d.ts +4 -3
- package/resources/namespaces/namespaces.d.ts.map +1 -1
- package/resources/namespaces/namespaces.js +4 -3
- package/resources/namespaces/namespaces.js.map +1 -1
- package/resources/namespaces/namespaces.mjs +4 -3
- package/resources/namespaces/namespaces.mjs.map +1 -1
- package/resources/organizations/api-keys.d.mts +43 -0
- package/resources/organizations/api-keys.d.mts.map +1 -0
- package/resources/organizations/api-keys.d.ts +43 -0
- package/resources/organizations/api-keys.d.ts.map +1 -0
- package/resources/organizations/api-keys.js +30 -0
- package/resources/organizations/api-keys.js.map +1 -0
- package/resources/organizations/api-keys.mjs +26 -0
- package/resources/organizations/api-keys.mjs.map +1 -0
- package/resources/organizations/index.d.mts +3 -0
- package/resources/organizations/index.d.mts.map +1 -0
- package/resources/organizations/index.d.ts +3 -0
- package/resources/organizations/index.d.ts.map +1 -0
- package/resources/organizations/index.js +9 -0
- package/resources/organizations/index.js.map +1 -0
- package/resources/organizations/index.mjs +4 -0
- package/resources/organizations/index.mjs.map +1 -0
- package/resources/organizations/organizations.d.mts +10 -0
- package/resources/organizations/organizations.d.mts.map +1 -0
- package/resources/organizations/organizations.d.ts +10 -0
- package/resources/organizations/organizations.d.ts.map +1 -0
- package/resources/organizations/organizations.js +17 -0
- package/resources/organizations/organizations.js.map +1 -0
- package/resources/organizations/organizations.mjs +12 -0
- package/resources/organizations/organizations.mjs.map +1 -0
- package/resources/organizations.d.mts +2 -0
- package/resources/organizations.d.mts.map +1 -0
- package/resources/organizations.d.ts +2 -0
- package/resources/organizations.d.ts.map +1 -0
- package/resources/organizations.js +6 -0
- package/resources/organizations.js.map +1 -0
- package/resources/organizations.mjs +3 -0
- package/resources/organizations.mjs.map +1 -0
- package/resources/servers/domains.d.mts +13 -122
- package/resources/servers/domains.d.mts.map +1 -1
- package/resources/servers/domains.d.ts +13 -122
- package/resources/servers/domains.d.ts.map +1 -1
- package/resources/servers/domains.js +6 -32
- package/resources/servers/domains.js.map +1 -1
- package/resources/servers/domains.mjs +6 -32
- package/resources/servers/domains.mjs.map +1 -1
- package/resources/servers/index.d.mts +1 -1
- package/resources/servers/index.d.mts.map +1 -1
- package/resources/servers/index.d.ts +1 -1
- package/resources/servers/index.d.ts.map +1 -1
- package/resources/servers/index.js.map +1 -1
- package/resources/servers/index.mjs.map +1 -1
- package/resources/servers/releases.d.mts +0 -12
- package/resources/servers/releases.d.mts.map +1 -1
- package/resources/servers/releases.d.ts +0 -12
- package/resources/servers/releases.d.ts.map +1 -1
- package/resources/servers/servers.d.mts +4 -15
- package/resources/servers/servers.d.mts.map +1 -1
- package/resources/servers/servers.d.ts +4 -15
- package/resources/servers/servers.d.ts.map +1 -1
- package/resources/servers/servers.js.map +1 -1
- package/resources/servers/servers.mjs +1 -1
- package/resources/servers/servers.mjs.map +1 -1
- package/resources/skills.d.mts +273 -1
- package/resources/skills.d.mts.map +1 -1
- package/resources/skills.d.ts +273 -1
- package/resources/skills.d.ts.map +1 -1
- package/resources/skills.js +78 -2
- package/resources/skills.js.map +1 -1
- package/resources/skills.mjs +76 -1
- package/resources/skills.mjs.map +1 -1
- package/resources/tokens.d.mts +17 -0
- package/resources/tokens.d.mts.map +1 -1
- package/resources/tokens.d.ts +17 -0
- package/resources/tokens.d.ts.map +1 -1
- package/resources/tokens.js +5 -0
- package/resources/tokens.js.map +1 -1
- package/resources/tokens.mjs +5 -0
- package/resources/tokens.mjs.map +1 -1
- package/src/client.ts +24 -24
- package/src/core/pagination.ts +0 -59
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/connections/connections.ts +44 -24
- package/src/resources/index.ts +2 -1
- package/src/resources/namespaces/namespaces.ts +4 -3
- package/src/resources/organizations/api-keys.ts +78 -0
- package/src/resources/organizations/index.ts +11 -0
- package/src/resources/organizations/organizations.ts +29 -0
- package/src/resources/organizations.ts +3 -0
- package/src/resources/servers/domains.ts +12 -182
- package/src/resources/servers/index.ts +0 -4
- package/src/resources/servers/releases.ts +0 -14
- package/src/resources/servers/servers.ts +3 -29
- package/src/resources/skills.ts +427 -1
- package/src/resources/tokens.ts +19 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/skills/index.d.mts +0 -4
- package/resources/skills/index.d.mts.map +0 -1
- package/resources/skills/index.d.ts +0 -4
- package/resources/skills/index.d.ts.map +0 -1
- package/resources/skills/index.js +0 -11
- package/resources/skills/index.js.map +0 -1
- package/resources/skills/index.mjs +0 -5
- package/resources/skills/index.mjs.map +0 -1
- package/resources/skills/reviews.d.mts +0 -160
- package/resources/skills/reviews.d.mts.map +0 -1
- package/resources/skills/reviews.d.ts +0 -160
- package/resources/skills/reviews.d.ts.map +0 -1
- package/resources/skills/reviews.js +0 -74
- package/resources/skills/reviews.js.map +0 -1
- package/resources/skills/reviews.mjs +0 -70
- package/resources/skills/reviews.mjs.map +0 -1
- package/resources/skills/skills.d.mts +0 -297
- package/resources/skills/skills.d.mts.map +0 -1
- package/resources/skills/skills.d.ts +0 -297
- package/resources/skills/skills.d.ts.map +0 -1
- package/resources/skills/skills.js +0 -94
- package/resources/skills/skills.js.map +0 -1
- package/resources/skills/skills.mjs +0 -89
- package/resources/skills/skills.mjs.map +0 -1
- package/resources/skills/votes.d.mts +0 -72
- package/resources/skills/votes.d.mts.map +0 -1
- package/resources/skills/votes.d.ts +0 -72
- package/resources/skills/votes.d.ts.map +0 -1
- package/resources/skills/votes.js +0 -46
- package/resources/skills/votes.js.map +0 -1
- package/resources/skills/votes.mjs +0 -42
- package/resources/skills/votes.mjs.map +0 -1
- package/src/resources/skills/index.ts +0 -47
- package/src/resources/skills/reviews.ts +0 -254
- package/src/resources/skills/skills.ts +0 -512
- package/src/resources/skills/votes.ts +0 -110
|
@@ -71,8 +71,9 @@ export class Connections extends APIResource {
|
|
|
71
71
|
/**
|
|
72
72
|
* Create or update an MCP connection with the given ID. mcpUrl is required when
|
|
73
73
|
* creating a new connection, but optional when updating (omit to keep the existing
|
|
74
|
-
* URL). Returns 409 if a different mcpUrl is provided
|
|
75
|
-
*
|
|
74
|
+
* URL). Returns 409 if a different mcpUrl is provided, except while the connection
|
|
75
|
+
* is input_required and the new URL keeps the same host and path. Requires API key
|
|
76
|
+
* and namespace ownership.
|
|
76
77
|
*
|
|
77
78
|
* @example
|
|
78
79
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../src/resources/connections/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAmC,GAAG,EAAiB;OAGvD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../src/resources/connections/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAmC,GAAG,EAAiB;OAGvD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA6FjD,CAAC;IA3FC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,SAAiB,EAAE,IAA4B,EAAE,OAAwB;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CACF,SAAiB,EACjB,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,YAAoB,EACpB,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,YAAY,SAAS,IAAI,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,GAAG,CAAC,YAAoB,EAAE,MAA2B,EAAE,OAAwB;QAC7E,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,SAAS,IAAI,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,GAAG,CAAC,YAAoB,EAAE,MAA2B,EAAE,OAAwB;QAC7E,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,SAAS,IAAI,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;CACF;AA6PD,WAAW,CAAC,GAAG,GAAG,GAAG,CAAC"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export { Connections, type Connection, type ConnectionsListResponse, type CreateConnectionRequest, type ConnectionDeleteResponse, type ConnectionCreateParams, type ConnectionListParams, type ConnectionDeleteParams, type ConnectionGetParams, type ConnectionSetParams, } from "./connections/connections.mjs";
|
|
2
2
|
export { Health, type HealthCheckResponse } from "./health.mjs";
|
|
3
3
|
export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceDeleteResponse, type NamespaceSetResponse, type NamespaceListParams, type NamespaceListResponsesNamespacesPage, } from "./namespaces/namespaces.mjs";
|
|
4
|
+
export { Organizations } from "./organizations/organizations.mjs";
|
|
4
5
|
export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerCreateResponse, type ServerUpdateResponse, type ServerListResponse, type ServerDeleteResponse, type ServerGetResponse, type ServerCreateParams, type ServerUpdateParams, type ServerListParams, type ServerListResponsesSmitheryPage, } from "./servers/servers.mjs";
|
|
5
|
-
export { Skills, type SkillCreateResponse, type SkillListResponse, type SkillDeleteResponse, type SkillGetResponse, type SkillSetResponse, type SkillSyncResponse, type SkillUploadResponse, type SkillCreateParams, type SkillListParams, type SkillDeleteParams, type SkillDownloadParams, type SkillGetParams, type SkillSetParams, type SkillSyncParams, type SkillUploadParams, type SkillListResponsesSkillsPage, } from "./skills
|
|
6
|
+
export { Skills, type SkillCreateResponse, type SkillListResponse, type SkillDeleteResponse, type SkillGetResponse, type SkillSetResponse, type SkillSyncResponse, type SkillUploadResponse, type SkillCreateParams, type SkillListParams, type SkillDeleteParams, type SkillDownloadParams, type SkillGetParams, type SkillSetParams, type SkillSyncParams, type SkillUploadParams, type SkillListResponsesSkillsPage, } from "./skills.mjs";
|
|
6
7
|
export { Tokens, type Constraint, type CreateTokenRequest, type CreateTokenResponse, type TokenCreateParams, } from "./tokens.mjs";
|
|
7
8
|
export { Uplink, type UplinkCreateTokenResponse } from "./uplink.mjs";
|
|
8
9
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,GAC1C;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,GAC1C;OACM,EAAE,aAAa,EAAE;OACjB,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export { Connections, type Connection, type ConnectionsListResponse, type CreateConnectionRequest, type ConnectionDeleteResponse, type ConnectionCreateParams, type ConnectionListParams, type ConnectionDeleteParams, type ConnectionGetParams, type ConnectionSetParams, } from "./connections/connections.js";
|
|
2
2
|
export { Health, type HealthCheckResponse } from "./health.js";
|
|
3
3
|
export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceDeleteResponse, type NamespaceSetResponse, type NamespaceListParams, type NamespaceListResponsesNamespacesPage, } from "./namespaces/namespaces.js";
|
|
4
|
+
export { Organizations } from "./organizations/organizations.js";
|
|
4
5
|
export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerCreateResponse, type ServerUpdateResponse, type ServerListResponse, type ServerDeleteResponse, type ServerGetResponse, type ServerCreateParams, type ServerUpdateParams, type ServerListParams, type ServerListResponsesSmitheryPage, } from "./servers/servers.js";
|
|
5
|
-
export { Skills, type SkillCreateResponse, type SkillListResponse, type SkillDeleteResponse, type SkillGetResponse, type SkillSetResponse, type SkillSyncResponse, type SkillUploadResponse, type SkillCreateParams, type SkillListParams, type SkillDeleteParams, type SkillDownloadParams, type SkillGetParams, type SkillSetParams, type SkillSyncParams, type SkillUploadParams, type SkillListResponsesSkillsPage, } from "./skills
|
|
6
|
+
export { Skills, type SkillCreateResponse, type SkillListResponse, type SkillDeleteResponse, type SkillGetResponse, type SkillSetResponse, type SkillSyncResponse, type SkillUploadResponse, type SkillCreateParams, type SkillListParams, type SkillDeleteParams, type SkillDownloadParams, type SkillGetParams, type SkillSetParams, type SkillSyncParams, type SkillUploadParams, type SkillListResponsesSkillsPage, } from "./skills.js";
|
|
6
7
|
export { Tokens, type Constraint, type CreateTokenRequest, type CreateTokenResponse, type TokenCreateParams, } from "./tokens.js";
|
|
7
8
|
export { Uplink, type UplinkCreateTokenResponse } from "./uplink.js";
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,GAC1C;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,GAC1C;OACM,EAAE,aAAa,EAAE;OACjB,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
|
package/resources/index.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Uplink = exports.Tokens = exports.Skills = exports.Servers = exports.Namespaces = exports.Health = exports.Connections = void 0;
|
|
4
|
+
exports.Uplink = exports.Tokens = exports.Skills = exports.Servers = exports.Organizations = exports.Namespaces = exports.Health = exports.Connections = void 0;
|
|
5
5
|
var connections_1 = require("./connections/connections.js");
|
|
6
6
|
Object.defineProperty(exports, "Connections", { enumerable: true, get: function () { return connections_1.Connections; } });
|
|
7
7
|
var health_1 = require("./health.js");
|
|
8
8
|
Object.defineProperty(exports, "Health", { enumerable: true, get: function () { return health_1.Health; } });
|
|
9
9
|
var namespaces_1 = require("./namespaces/namespaces.js");
|
|
10
10
|
Object.defineProperty(exports, "Namespaces", { enumerable: true, get: function () { return namespaces_1.Namespaces; } });
|
|
11
|
+
var organizations_1 = require("./organizations/organizations.js");
|
|
12
|
+
Object.defineProperty(exports, "Organizations", { enumerable: true, get: function () { return organizations_1.Organizations; } });
|
|
11
13
|
var servers_1 = require("./servers/servers.js");
|
|
12
14
|
Object.defineProperty(exports, "Servers", { enumerable: true, get: function () { return servers_1.Servers; } });
|
|
13
|
-
var skills_1 = require("./skills
|
|
15
|
+
var skills_1 = require("./skills.js");
|
|
14
16
|
Object.defineProperty(exports, "Skills", { enumerable: true, get: function () { return skills_1.Skills; } });
|
|
15
17
|
var tokens_1 = require("./tokens.js");
|
|
16
18
|
Object.defineProperty(exports, "Tokens", { enumerable: true, get: function () { return tokens_1.Tokens; } });
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAWmC;AAVjC,0GAAA,WAAW,OAAA;AAWb,sCAA4D;AAAnD,gGAAA,MAAM,OAAA;AACf,yDAQiC;AAP/B,wGAAA,UAAU,OAAA;AAQZ,gDAc2B;AAbzB,kGAAA,OAAO,OAAA;AAcT,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAWmC;AAVjC,0GAAA,WAAW,OAAA;AAWb,sCAA4D;AAAnD,gGAAA,MAAM,OAAA;AACf,yDAQiC;AAP/B,wGAAA,UAAU,OAAA;AAQZ,kEAA8D;AAArD,8GAAA,aAAa,OAAA;AACtB,gDAc2B;AAbzB,kGAAA,OAAO,OAAA;AAcT,sCAkBkB;AAjBhB,gGAAA,MAAM,OAAA;AAkBR,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,sCAAkE;AAAzD,gGAAA,MAAM,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
export { Connections, } from "./connections/connections.mjs";
|
|
3
3
|
export { Health } from "./health.mjs";
|
|
4
4
|
export { Namespaces, } from "./namespaces/namespaces.mjs";
|
|
5
|
+
export { Organizations } from "./organizations/organizations.mjs";
|
|
5
6
|
export { Servers, } from "./servers/servers.mjs";
|
|
6
|
-
export { Skills, } from "./skills
|
|
7
|
+
export { Skills, } from "./skills.mjs";
|
|
7
8
|
export { Tokens, } from "./tokens.mjs";
|
|
8
9
|
export { Uplink } from "./uplink.mjs";
|
|
9
10
|
//# sourceMappingURL=index.mjs.map
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAUZ;OACM,EAAE,MAAM,EAA4B;OACpC,EACL,UAAU,GAOX;OACM,EACL,OAAO,GAaR;OACM,EACL,MAAM,GAiBP;OACM,EACL,MAAM,GAKP;OACM,EAAE,MAAM,EAAkC"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAUZ;OACM,EAAE,MAAM,EAA4B;OACpC,EACL,UAAU,GAOX;OACM,EAAE,aAAa,EAAE;OACjB,EACL,OAAO,GAaR;OACM,EACL,MAAM,GAiBP;OACM,EACL,MAAM,GAKP;OACM,EAAE,MAAM,EAAkC"}
|
|
@@ -43,9 +43,10 @@ export declare class Namespaces extends APIResource {
|
|
|
43
43
|
*/
|
|
44
44
|
delete(name: string, options?: RequestOptions): APIPromise<NamespaceDeleteResponse>;
|
|
45
45
|
/**
|
|
46
|
-
* Create a new namespace owned by the authenticated user. This
|
|
47
|
-
* idempotent - if the namespace already exists and is owned by the
|
|
48
|
-
* success.
|
|
46
|
+
* Create a new namespace owned by the authenticated user or an organization. This
|
|
47
|
+
* endpoint is idempotent - if the namespace already exists and is owned by the
|
|
48
|
+
* user/org, returns success. Pass organizationId in the request body to create an
|
|
49
|
+
* org-owned namespace.
|
|
49
50
|
*
|
|
50
51
|
* @example
|
|
51
52
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"namespaces.d.mts","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,OAAO,EAAE;OACrD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrE;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,qBAAqB,CAAC;IAO3E;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInF
|
|
1
|
+
{"version":3,"file":"namespaces.d.mts","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,OAAO,EAAE;OACrD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrE;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,qBAAqB,CAAC;IAO3E;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInF;;;;;;;;;;OAUG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAG9E;AAED,MAAM,MAAM,oCAAoC,GAAG,cAAc,CAAC,qBAAqB,CAAC,CAAC;AAEzF,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IAEb,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB;IAC/D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAE1C;;OAEG;IACH,SAAS,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAEzC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -43,9 +43,10 @@ export declare class Namespaces extends APIResource {
|
|
|
43
43
|
*/
|
|
44
44
|
delete(name: string, options?: RequestOptions): APIPromise<NamespaceDeleteResponse>;
|
|
45
45
|
/**
|
|
46
|
-
* Create a new namespace owned by the authenticated user. This
|
|
47
|
-
* idempotent - if the namespace already exists and is owned by the
|
|
48
|
-
* success.
|
|
46
|
+
* Create a new namespace owned by the authenticated user or an organization. This
|
|
47
|
+
* endpoint is idempotent - if the namespace already exists and is owned by the
|
|
48
|
+
* user/org, returns success. Pass organizationId in the request body to create an
|
|
49
|
+
* org-owned namespace.
|
|
49
50
|
*
|
|
50
51
|
* @example
|
|
51
52
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,OAAO,EAAE;OACrD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrE;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,qBAAqB,CAAC;IAO3E;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInF
|
|
1
|
+
{"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,OAAO,EAAE;OACrD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrE;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,qBAAqB,CAAC;IAO3E;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInF;;;;;;;;;;OAUG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAG9E;AAED,MAAM,MAAM,oCAAoC,GAAG,cAAc,CAAC,qBAAqB,CAAC,CAAC;AAEzF,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IAEb,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB;IAC/D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAE1C;;OAEG;IACH,SAAS,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAEzC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -59,9 +59,10 @@ class Namespaces extends resource_1.APIResource {
|
|
|
59
59
|
return this._client.delete((0, path_1.path) `/namespaces/${name}`, options);
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
* Create a new namespace owned by the authenticated user. This
|
|
63
|
-
* idempotent - if the namespace already exists and is owned by the
|
|
64
|
-
* success.
|
|
62
|
+
* Create a new namespace owned by the authenticated user or an organization. This
|
|
63
|
+
* endpoint is idempotent - if the namespace already exists and is owned by the
|
|
64
|
+
* user/org, returns success. Pass organizationId in the request body to create an
|
|
65
|
+
* org-owned namespace.
|
|
65
66
|
*
|
|
66
67
|
* @example
|
|
67
68
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"namespaces.js","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,iEAAwC;AACxC,0CAA8E;AAE9E,yDAA+F;AAE/F,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"namespaces.js","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,iEAAwC;AACxC,0CAA8E;AAE9E,yDAA+F;AAE/F,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmErE,CAAC;IAjEC;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,2BAAqC,CAAA,EAAE;YACnF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAY,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,eAAe,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,IAAY,EAAE,OAAwB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACF;AApED,gCAoEC;AAqDD,UAAU,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -55,9 +55,10 @@ export class Namespaces extends APIResource {
|
|
|
55
55
|
return this._client.delete(path `/namespaces/${name}`, options);
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
|
-
* Create a new namespace owned by the authenticated user. This
|
|
59
|
-
* idempotent - if the namespace already exists and is owned by the
|
|
60
|
-
* success.
|
|
58
|
+
* Create a new namespace owned by the authenticated user or an organization. This
|
|
59
|
+
* endpoint is idempotent - if the namespace already exists and is owned by the
|
|
60
|
+
* user/org, returns success. Pass organizationId in the request body to create an
|
|
61
|
+
* org-owned namespace.
|
|
61
62
|
*
|
|
62
63
|
* @example
|
|
63
64
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"namespaces.mjs","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAA4C,OAAO,EAAE;OAErD,EAAE,cAAc,EAA0C;OAE1D,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"namespaces.mjs","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAA4C,OAAO,EAAE;OAErD,EAAE,cAAc,EAA0C;OAE1D,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmErE,CAAC;IAjEC;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,cAAqC,CAAA,EAAE;YACnF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAY,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,eAAe,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,IAAY,EAAE,OAAwB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACF;AAqDD,UAAU,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
export declare class APIKeys extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates an API key owned by the organization. Requires admin role.
|
|
7
|
+
*/
|
|
8
|
+
create(orgID: string, body: APIKeyCreateParams, options?: RequestOptions): APIPromise<APIKeyCreateResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Returns all API keys belonging to the organization. Requires admin role. Key
|
|
11
|
+
* values are not included in the response.
|
|
12
|
+
*/
|
|
13
|
+
list(orgID: string, options?: RequestOptions): APIPromise<APIKeyListResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Deletes an API key belonging to the organization. Requires admin role.
|
|
16
|
+
*/
|
|
17
|
+
delete(keyID: string, params: APIKeyDeleteParams, options?: RequestOptions): APIPromise<APIKeyDeleteResponse>;
|
|
18
|
+
}
|
|
19
|
+
export interface APIKeyCreateResponse {
|
|
20
|
+
id: string;
|
|
21
|
+
createdAt: string;
|
|
22
|
+
key: string;
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
export interface APIKeyListResponse {
|
|
26
|
+
apiKeys: Array<unknown>;
|
|
27
|
+
}
|
|
28
|
+
export interface APIKeyDeleteResponse {
|
|
29
|
+
success: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface APIKeyCreateParams {
|
|
32
|
+
/**
|
|
33
|
+
* Name for the team API key
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
}
|
|
37
|
+
export interface APIKeyDeleteParams {
|
|
38
|
+
orgId: string;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace APIKeys {
|
|
41
|
+
export { type APIKeyCreateResponse as APIKeyCreateResponse, type APIKeyListResponse as APIKeyListResponse, type APIKeyDeleteResponse as APIKeyDeleteResponse, type APIKeyCreateParams as APIKeyCreateParams, type APIKeyDeleteParams as APIKeyDeleteParams, };
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=api-keys.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-keys.d.mts","sourceRoot":"","sources":["../../src/resources/organizations/api-keys.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CACJ,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,kBAAkB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;;OAGG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI7E;;OAEG;IACH,MAAM,CACJ,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;CAIpC;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,MAAM,CAAC;IAElB,GAAG,EAAE,MAAM,CAAC;IAEZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;CACzB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
export declare class APIKeys extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates an API key owned by the organization. Requires admin role.
|
|
7
|
+
*/
|
|
8
|
+
create(orgID: string, body: APIKeyCreateParams, options?: RequestOptions): APIPromise<APIKeyCreateResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Returns all API keys belonging to the organization. Requires admin role. Key
|
|
11
|
+
* values are not included in the response.
|
|
12
|
+
*/
|
|
13
|
+
list(orgID: string, options?: RequestOptions): APIPromise<APIKeyListResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Deletes an API key belonging to the organization. Requires admin role.
|
|
16
|
+
*/
|
|
17
|
+
delete(keyID: string, params: APIKeyDeleteParams, options?: RequestOptions): APIPromise<APIKeyDeleteResponse>;
|
|
18
|
+
}
|
|
19
|
+
export interface APIKeyCreateResponse {
|
|
20
|
+
id: string;
|
|
21
|
+
createdAt: string;
|
|
22
|
+
key: string;
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
export interface APIKeyListResponse {
|
|
26
|
+
apiKeys: Array<unknown>;
|
|
27
|
+
}
|
|
28
|
+
export interface APIKeyDeleteResponse {
|
|
29
|
+
success: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface APIKeyCreateParams {
|
|
32
|
+
/**
|
|
33
|
+
* Name for the team API key
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
}
|
|
37
|
+
export interface APIKeyDeleteParams {
|
|
38
|
+
orgId: string;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace APIKeys {
|
|
41
|
+
export { type APIKeyCreateResponse as APIKeyCreateResponse, type APIKeyListResponse as APIKeyListResponse, type APIKeyDeleteResponse as APIKeyDeleteResponse, type APIKeyCreateParams as APIKeyCreateParams, type APIKeyDeleteParams as APIKeyDeleteParams, };
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=api-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-keys.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/api-keys.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CACJ,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,kBAAkB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;;OAGG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI7E;;OAEG;IACH,MAAM,CACJ,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;CAIpC;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,MAAM,CAAC;IAElB,GAAG,EAAE,MAAM,CAAC;IAEZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;CACzB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.APIKeys = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
7
|
+
class APIKeys extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Creates an API key owned by the organization. Requires admin role.
|
|
10
|
+
*/
|
|
11
|
+
create(orgID, body, options) {
|
|
12
|
+
return this._client.post((0, path_1.path) `/organizations/${orgID}/api-keys`, { body, ...options });
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Returns all API keys belonging to the organization. Requires admin role. Key
|
|
16
|
+
* values are not included in the response.
|
|
17
|
+
*/
|
|
18
|
+
list(orgID, options) {
|
|
19
|
+
return this._client.get((0, path_1.path) `/organizations/${orgID}/api-keys`, options);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Deletes an API key belonging to the organization. Requires admin role.
|
|
23
|
+
*/
|
|
24
|
+
delete(keyID, params, options) {
|
|
25
|
+
const { orgId } = params;
|
|
26
|
+
return this._client.delete((0, path_1.path) `/organizations/${orgId}/api-keys/${keyID}`, options);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.APIKeys = APIKeys;
|
|
30
|
+
//# sourceMappingURL=api-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-keys.js","sourceRoot":"","sources":["../../src/resources/organizations/api-keys.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,MAAM,CACJ,KAAa,EACb,IAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,kBAAkB,KAAK,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,KAAa,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,KAAK,WAAW,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,KAAa,EACb,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC;QACzB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,kBAAkB,KAAK,aAAa,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;CACF;AA/BD,0BA+BC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
4
|
+
export class APIKeys extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates an API key owned by the organization. Requires admin role.
|
|
7
|
+
*/
|
|
8
|
+
create(orgID, body, options) {
|
|
9
|
+
return this._client.post(path `/organizations/${orgID}/api-keys`, { body, ...options });
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Returns all API keys belonging to the organization. Requires admin role. Key
|
|
13
|
+
* values are not included in the response.
|
|
14
|
+
*/
|
|
15
|
+
list(orgID, options) {
|
|
16
|
+
return this._client.get(path `/organizations/${orgID}/api-keys`, options);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Deletes an API key belonging to the organization. Requires admin role.
|
|
20
|
+
*/
|
|
21
|
+
delete(keyID, params, options) {
|
|
22
|
+
const { orgId } = params;
|
|
23
|
+
return this._client.delete(path `/organizations/${orgId}/api-keys/${keyID}`, options);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=api-keys.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-keys.mjs","sourceRoot":"","sources":["../../src/resources/organizations/api-keys.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CACJ,KAAa,EACb,IAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,kBAAkB,KAAK,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,KAAa,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,kBAAkB,KAAK,WAAW,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,KAAa,EACb,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC;QACzB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,kBAAkB,KAAK,aAAa,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EAAE,aAAa,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EAAE,aAAa,EAAE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Organizations = exports.APIKeys = void 0;
|
|
5
|
+
var api_keys_1 = require("./api-keys.js");
|
|
6
|
+
Object.defineProperty(exports, "APIKeys", { enumerable: true, get: function () { return api_keys_1.APIKeys; } });
|
|
7
|
+
var organizations_1 = require("./organizations.js");
|
|
8
|
+
Object.defineProperty(exports, "Organizations", { enumerable: true, get: function () { return organizations_1.Organizations; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAOoB;AANlB,mGAAA,OAAO,OAAA;AAOT,oDAAgD;AAAvC,8GAAA,aAAa,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAMR;OACM,EAAE,aAAa,EAAE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as APIKeysAPI from "./api-keys.mjs";
|
|
3
|
+
import { APIKeyCreateParams, APIKeyCreateResponse, APIKeyDeleteParams, APIKeyDeleteResponse, APIKeyListResponse, APIKeys } from "./api-keys.mjs";
|
|
4
|
+
export declare class Organizations extends APIResource {
|
|
5
|
+
apiKeys: APIKeysAPI.APIKeys;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Organizations {
|
|
8
|
+
export { APIKeys as APIKeys, type APIKeyCreateResponse as APIKeyCreateResponse, type APIKeyListResponse as APIKeyListResponse, type APIKeyDeleteResponse as APIKeyDeleteResponse, type APIKeyCreateParams as APIKeyCreateParams, type APIKeyDeleteParams as APIKeyDeleteParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=organizations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.d.mts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,OAAO,EACR;AAED,qBAAa,aAAc,SAAQ,WAAW;IAC5C,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAID,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as APIKeysAPI from "./api-keys.js";
|
|
3
|
+
import { APIKeyCreateParams, APIKeyCreateResponse, APIKeyDeleteParams, APIKeyDeleteResponse, APIKeyListResponse, APIKeys } from "./api-keys.js";
|
|
4
|
+
export declare class Organizations extends APIResource {
|
|
5
|
+
apiKeys: APIKeysAPI.APIKeys;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Organizations {
|
|
8
|
+
export { APIKeys as APIKeys, type APIKeyCreateResponse as APIKeyCreateResponse, type APIKeyListResponse as APIKeyListResponse, type APIKeyDeleteResponse as APIKeyDeleteResponse, type APIKeyCreateParams as APIKeyCreateParams, type APIKeyDeleteParams as APIKeyDeleteParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=organizations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,OAAO,EACR;AAED,qBAAa,aAAc,SAAQ,WAAW;IAC5C,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAID,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Organizations = void 0;
|
|
5
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../core/resource.js");
|
|
7
|
+
const APIKeysAPI = tslib_1.__importStar(require("./api-keys.js"));
|
|
8
|
+
const api_keys_1 = require("./api-keys.js");
|
|
9
|
+
class Organizations extends resource_1.APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.apiKeys = new APIKeysAPI.APIKeys(this._client);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.Organizations = Organizations;
|
|
16
|
+
Organizations.APIKeys = api_keys_1.APIKeys;
|
|
17
|
+
//# sourceMappingURL=organizations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.js","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,kEAAyC;AACzC,4CAOoB;AAEpB,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAFD,sCAEC;AAED,aAAa,CAAC,OAAO,GAAG,kBAAO,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as APIKeysAPI from "./api-keys.mjs";
|
|
4
|
+
import { APIKeys, } from "./api-keys.mjs";
|
|
5
|
+
export class Organizations extends APIResource {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.apiKeys = new APIKeysAPI.APIKeys(this._client);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
Organizations.APIKeys = APIKeys;
|
|
12
|
+
//# sourceMappingURL=organizations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.mjs","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAML,OAAO,GACR;AAED,MAAM,OAAO,aAAc,SAAQ,WAAW;IAA9C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.d.mts","sourceRoot":"","sources":["../src/resources/organizations.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../src/resources/organizations.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./organizations/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=organizations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.js","sourceRoot":"","sources":["../src/resources/organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.mjs","sourceRoot":"","sources":["../src/resources/organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|