casedev 0.27.0 → 0.28.1

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.
Files changed (160) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +8 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +8 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +7 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +7 -1
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/index.d.mts +3 -1
  12. package/resources/index.d.mts.map +1 -1
  13. package/resources/index.d.ts +3 -1
  14. package/resources/index.d.ts.map +1 -1
  15. package/resources/index.js +6 -2
  16. package/resources/index.js.map +1 -1
  17. package/resources/index.mjs +3 -1
  18. package/resources/index.mjs.map +1 -1
  19. package/resources/mail/index.d.mts +3 -0
  20. package/resources/mail/index.d.mts.map +1 -0
  21. package/resources/mail/index.d.ts +3 -0
  22. package/resources/mail/index.d.ts.map +1 -0
  23. package/resources/mail/index.js +9 -0
  24. package/resources/mail/index.js.map +1 -0
  25. package/resources/mail/index.mjs +4 -0
  26. package/resources/mail/index.mjs.map +1 -0
  27. package/resources/mail/mail.d.mts +10 -0
  28. package/resources/mail/mail.d.mts.map +1 -0
  29. package/resources/mail/mail.d.ts +10 -0
  30. package/resources/mail/mail.d.ts.map +1 -0
  31. package/resources/mail/mail.js +17 -0
  32. package/resources/mail/mail.js.map +1 -0
  33. package/resources/mail/mail.mjs +12 -0
  34. package/resources/mail/mail.mjs.map +1 -0
  35. package/resources/mail/v1/inboxes.d.mts +63 -0
  36. package/resources/mail/v1/inboxes.d.mts.map +1 -0
  37. package/resources/mail/v1/inboxes.d.ts +63 -0
  38. package/resources/mail/v1/inboxes.d.ts.map +1 -0
  39. package/resources/mail/v1/inboxes.js +97 -0
  40. package/resources/mail/v1/inboxes.js.map +1 -0
  41. package/resources/mail/v1/inboxes.mjs +93 -0
  42. package/resources/mail/v1/inboxes.mjs.map +1 -0
  43. package/resources/mail/v1/index.d.mts +3 -0
  44. package/resources/mail/v1/index.d.mts.map +1 -0
  45. package/resources/mail/v1/index.d.ts +3 -0
  46. package/resources/mail/v1/index.d.ts.map +1 -0
  47. package/resources/mail/v1/index.js +9 -0
  48. package/resources/mail/v1/index.js.map +1 -0
  49. package/resources/mail/v1/index.mjs +4 -0
  50. package/resources/mail/v1/index.mjs.map +1 -0
  51. package/resources/mail/v1/v1.d.mts +10 -0
  52. package/resources/mail/v1/v1.d.mts.map +1 -0
  53. package/resources/mail/v1/v1.d.ts +10 -0
  54. package/resources/mail/v1/v1.d.ts.map +1 -0
  55. package/resources/mail/v1/v1.js +17 -0
  56. package/resources/mail/v1/v1.js.map +1 -0
  57. package/resources/mail/v1/v1.mjs +12 -0
  58. package/resources/mail/v1/v1.mjs.map +1 -0
  59. package/resources/mail/v1.d.mts +2 -0
  60. package/resources/mail/v1.d.mts.map +1 -0
  61. package/resources/mail/v1.d.ts +2 -0
  62. package/resources/mail/v1.d.ts.map +1 -0
  63. package/resources/mail/v1.js +6 -0
  64. package/resources/mail/v1.js.map +1 -0
  65. package/resources/mail/v1.mjs +3 -0
  66. package/resources/mail/v1.mjs.map +1 -0
  67. package/resources/mail.d.mts +2 -0
  68. package/resources/mail.d.mts.map +1 -0
  69. package/resources/mail.d.ts +2 -0
  70. package/resources/mail.d.ts.map +1 -0
  71. package/resources/mail.js +6 -0
  72. package/resources/mail.js.map +1 -0
  73. package/resources/mail.mjs +3 -0
  74. package/resources/mail.mjs.map +1 -0
  75. package/resources/operator/index.d.mts +3 -0
  76. package/resources/operator/index.d.mts.map +1 -0
  77. package/resources/operator/index.d.ts +3 -0
  78. package/resources/operator/index.d.ts.map +1 -0
  79. package/resources/operator/index.js +9 -0
  80. package/resources/operator/index.js.map +1 -0
  81. package/resources/operator/index.mjs +4 -0
  82. package/resources/operator/index.mjs.map +1 -0
  83. package/resources/operator/operator.d.mts +10 -0
  84. package/resources/operator/operator.d.mts.map +1 -0
  85. package/resources/operator/operator.d.ts +10 -0
  86. package/resources/operator/operator.d.ts.map +1 -0
  87. package/resources/operator/operator.js +17 -0
  88. package/resources/operator/operator.js.map +1 -0
  89. package/resources/operator/operator.mjs +12 -0
  90. package/resources/operator/operator.mjs.map +1 -0
  91. package/resources/operator/v1.d.mts +39 -0
  92. package/resources/operator/v1.d.mts.map +1 -0
  93. package/resources/operator/v1.d.ts +39 -0
  94. package/resources/operator/v1.d.ts.map +1 -0
  95. package/resources/operator/v1.js +47 -0
  96. package/resources/operator/v1.js.map +1 -0
  97. package/resources/operator/v1.mjs +43 -0
  98. package/resources/operator/v1.mjs.map +1 -0
  99. package/resources/operator.d.mts +2 -0
  100. package/resources/operator.d.mts.map +1 -0
  101. package/resources/operator.d.ts +2 -0
  102. package/resources/operator.d.ts.map +1 -0
  103. package/resources/operator.js +6 -0
  104. package/resources/operator.js.map +1 -0
  105. package/resources/operator.mjs +3 -0
  106. package/resources/operator.mjs.map +1 -0
  107. package/resources/skills/custom.d.mts +48 -0
  108. package/resources/skills/custom.d.mts.map +1 -0
  109. package/resources/skills/custom.d.ts +48 -0
  110. package/resources/skills/custom.d.ts.map +1 -0
  111. package/resources/skills/custom.js +19 -0
  112. package/resources/skills/custom.js.map +1 -0
  113. package/resources/skills/custom.mjs +15 -0
  114. package/resources/skills/custom.mjs.map +1 -0
  115. package/resources/skills/index.d.mts +3 -0
  116. package/resources/skills/index.d.mts.map +1 -0
  117. package/resources/skills/index.d.ts +3 -0
  118. package/resources/skills/index.d.ts.map +1 -0
  119. package/resources/skills/index.js +9 -0
  120. package/resources/skills/index.js.map +1 -0
  121. package/resources/skills/index.mjs +4 -0
  122. package/resources/skills/index.mjs.map +1 -0
  123. package/resources/skills/skills.d.mts +189 -0
  124. package/resources/skills/skills.d.mts.map +1 -0
  125. package/resources/skills/skills.d.ts +189 -0
  126. package/resources/skills/skills.d.ts.map +1 -0
  127. package/resources/skills/skills.js +56 -0
  128. package/resources/skills/skills.js.map +1 -0
  129. package/resources/skills/skills.mjs +51 -0
  130. package/resources/skills/skills.mjs.map +1 -0
  131. package/resources/skills.d.mts +1 -96
  132. package/resources/skills.d.mts.map +1 -1
  133. package/resources/skills.d.ts +1 -96
  134. package/resources/skills.d.ts.map +1 -1
  135. package/resources/skills.js +2 -23
  136. package/resources/skills.js.map +1 -1
  137. package/resources/skills.mjs +1 -21
  138. package/resources/skills.mjs.map +1 -1
  139. package/src/client.ts +26 -1
  140. package/src/resources/index.ts +13 -1
  141. package/src/resources/mail/index.ts +4 -0
  142. package/src/resources/mail/mail.ts +15 -0
  143. package/src/resources/mail/v1/inboxes.ts +140 -0
  144. package/src/resources/mail/v1/index.ts +10 -0
  145. package/src/resources/mail/v1/v1.ts +27 -0
  146. package/src/resources/mail/v1.ts +3 -0
  147. package/src/resources/mail.ts +3 -0
  148. package/src/resources/operator/index.ts +4 -0
  149. package/src/resources/operator/operator.ts +15 -0
  150. package/src/resources/operator/v1.ts +70 -0
  151. package/src/resources/operator.ts +3 -0
  152. package/src/resources/skills/custom.ts +70 -0
  153. package/src/resources/skills/index.ts +14 -0
  154. package/src/resources/skills/skills.ts +274 -0
  155. package/src/resources/skills.ts +1 -125
  156. package/src/version.ts +1 -1
  157. package/version.d.mts +1 -1
  158. package/version.d.ts +1 -1
  159. package/version.js +1 -1
  160. package/version.mjs +1 -1
@@ -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.V1 = exports.Operator = void 0;
5
+ var operator_1 = require("./operator.js");
6
+ Object.defineProperty(exports, "Operator", { enumerable: true, get: function () { return operator_1.Operator; } });
7
+ var v1_1 = require("./v1.js");
8
+ Object.defineProperty(exports, "V1", { enumerable: true, get: function () { return v1_1.V1; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/operator/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,8BAA+C;AAAtC,wFAAA,EAAE,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Operator } from "./operator.mjs";
3
+ export { V1 } from "./v1.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/operator/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,QAAQ,EAAE;OACZ,EAAE,EAAE,EAAuB"}
@@ -0,0 +1,10 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import * as V1API from "./v1.mjs";
3
+ import { V1, V1CreateParams } from "./v1.mjs";
4
+ export declare class Operator extends APIResource {
5
+ v1: V1API.V1;
6
+ }
7
+ export declare namespace Operator {
8
+ export { V1 as V1, type V1CreateParams as V1CreateParams };
9
+ }
10
+ //# sourceMappingURL=operator.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operator.d.mts","sourceRoot":"","sources":["../../src/resources/operator/operator.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,cAAc,EAAE;AAE7B,qBAAa,QAAS,SAAQ,WAAW;IACvC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,CAAC;CAC5D"}
@@ -0,0 +1,10 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import * as V1API from "./v1.js";
3
+ import { V1, V1CreateParams } from "./v1.js";
4
+ export declare class Operator extends APIResource {
5
+ v1: V1API.V1;
6
+ }
7
+ export declare namespace Operator {
8
+ export { V1 as V1, type V1CreateParams as V1CreateParams };
9
+ }
10
+ //# sourceMappingURL=operator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operator.d.ts","sourceRoot":"","sources":["../../src/resources/operator/operator.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,cAAc,EAAE;AAE7B,qBAAa,QAAS,SAAQ,WAAW;IACvC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,CAAC;CAC5D"}
@@ -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.Operator = void 0;
5
+ const tslib_1 = require("../../internal/tslib.js");
6
+ const resource_1 = require("../../core/resource.js");
7
+ const V1API = tslib_1.__importStar(require("./v1.js"));
8
+ const v1_1 = require("./v1.js");
9
+ class Operator extends resource_1.APIResource {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.v1 = new V1API.V1(this._client);
13
+ }
14
+ }
15
+ exports.Operator = Operator;
16
+ Operator.V1 = v1_1.V1;
17
+ //# sourceMappingURL=operator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operator.js","sourceRoot":"","sources":["../../src/resources/operator/operator.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,uDAA8B;AAC9B,gCAA0C;AAE1C,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAFD,4BAEC;AAED,QAAQ,CAAC,EAAE,GAAG,OAAE,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 V1API from "./v1.mjs";
4
+ import { V1 } from "./v1.mjs";
5
+ export class Operator extends APIResource {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.v1 = new V1API.V1(this._client);
9
+ }
10
+ }
11
+ Operator.V1 = V1;
12
+ //# sourceMappingURL=operator.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operator.mjs","sourceRoot":"","sources":["../../src/resources/operator/operator.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAkB;AAE7B,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAED,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC"}
@@ -0,0 +1,39 @@
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 V1 extends APIResource {
5
+ /**
6
+ * Provision a new operator instance for the organization.
7
+ */
8
+ create(body: V1CreateParams, options?: RequestOptions): APIPromise<void>;
9
+ /**
10
+ * Proxy a chat completion request to the organization's operator instance.
11
+ */
12
+ createChatCompletion(options?: RequestOptions): APIPromise<void>;
13
+ /**
14
+ * Proxy a response request to the organization's operator instance.
15
+ */
16
+ createResponse(options?: RequestOptions): APIPromise<void>;
17
+ /**
18
+ * Get the status of the organization's operator instance.
19
+ */
20
+ getStatus(options?: RequestOptions): APIPromise<void>;
21
+ }
22
+ export interface V1CreateParams {
23
+ /**
24
+ * Operator name
25
+ */
26
+ name: string;
27
+ /**
28
+ * Model to use
29
+ */
30
+ model?: string;
31
+ /**
32
+ * Instance size
33
+ */
34
+ size?: 'small' | 'medium' | 'large';
35
+ }
36
+ export declare namespace V1 {
37
+ export { type V1CreateParams as V1CreateParams };
38
+ }
39
+ //# sourceMappingURL=v1.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/operator/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,EAAG,SAAQ,WAAW;IACjC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQxE;;OAEG;IACH,oBAAoB,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOhE;;OAEG;IACH,cAAc,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAO1D;;OAEG;IACH,SAAS,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMtD;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,CAAC;CAClD"}
@@ -0,0 +1,39 @@
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 V1 extends APIResource {
5
+ /**
6
+ * Provision a new operator instance for the organization.
7
+ */
8
+ create(body: V1CreateParams, options?: RequestOptions): APIPromise<void>;
9
+ /**
10
+ * Proxy a chat completion request to the organization's operator instance.
11
+ */
12
+ createChatCompletion(options?: RequestOptions): APIPromise<void>;
13
+ /**
14
+ * Proxy a response request to the organization's operator instance.
15
+ */
16
+ createResponse(options?: RequestOptions): APIPromise<void>;
17
+ /**
18
+ * Get the status of the organization's operator instance.
19
+ */
20
+ getStatus(options?: RequestOptions): APIPromise<void>;
21
+ }
22
+ export interface V1CreateParams {
23
+ /**
24
+ * Operator name
25
+ */
26
+ name: string;
27
+ /**
28
+ * Model to use
29
+ */
30
+ model?: string;
31
+ /**
32
+ * Instance size
33
+ */
34
+ size?: 'small' | 'medium' | 'large';
35
+ }
36
+ export declare namespace V1 {
37
+ export { type V1CreateParams as V1CreateParams };
38
+ }
39
+ //# sourceMappingURL=v1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../src/resources/operator/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,EAAG,SAAQ,WAAW;IACjC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQxE;;OAEG;IACH,oBAAoB,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOhE;;OAEG;IACH,cAAc,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAO1D;;OAEG;IACH,SAAS,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMtD;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,CAAC;CAClD"}
@@ -0,0 +1,47 @@
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.V1 = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const headers_1 = require("../../internal/headers.js");
7
+ class V1 extends resource_1.APIResource {
8
+ /**
9
+ * Provision a new operator instance for the organization.
10
+ */
11
+ create(body, options) {
12
+ return this._client.post('/operator/v1/create', {
13
+ body,
14
+ ...options,
15
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
16
+ });
17
+ }
18
+ /**
19
+ * Proxy a chat completion request to the organization's operator instance.
20
+ */
21
+ createChatCompletion(options) {
22
+ return this._client.post('/operator/v1/chat/completions', {
23
+ ...options,
24
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
25
+ });
26
+ }
27
+ /**
28
+ * Proxy a response request to the organization's operator instance.
29
+ */
30
+ createResponse(options) {
31
+ return this._client.post('/operator/v1/responses', {
32
+ ...options,
33
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
34
+ });
35
+ }
36
+ /**
37
+ * Get the status of the organization's operator instance.
38
+ */
39
+ getStatus(options) {
40
+ return this._client.get('/operator/v1/status', {
41
+ ...options,
42
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
43
+ });
44
+ }
45
+ }
46
+ exports.V1 = V1;
47
+ //# sourceMappingURL=v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/operator/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAGtD,MAAa,EAAG,SAAQ,sBAAW;IACjC;;OAEG;IACH,MAAM,CAAC,IAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE;YAC9C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE;YACxD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,OAAwB;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE;YACjD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,OAAwB;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE;YAC7C,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAzCD,gBAyCC"}
@@ -0,0 +1,43 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { buildHeaders } from "../../internal/headers.mjs";
4
+ export class V1 extends APIResource {
5
+ /**
6
+ * Provision a new operator instance for the organization.
7
+ */
8
+ create(body, options) {
9
+ return this._client.post('/operator/v1/create', {
10
+ body,
11
+ ...options,
12
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
13
+ });
14
+ }
15
+ /**
16
+ * Proxy a chat completion request to the organization's operator instance.
17
+ */
18
+ createChatCompletion(options) {
19
+ return this._client.post('/operator/v1/chat/completions', {
20
+ ...options,
21
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
22
+ });
23
+ }
24
+ /**
25
+ * Proxy a response request to the organization's operator instance.
26
+ */
27
+ createResponse(options) {
28
+ return this._client.post('/operator/v1/responses', {
29
+ ...options,
30
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
31
+ });
32
+ }
33
+ /**
34
+ * Get the status of the organization's operator instance.
35
+ */
36
+ getStatus(options) {
37
+ return this._client.get('/operator/v1/status', {
38
+ ...options,
39
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
40
+ });
41
+ }
42
+ }
43
+ //# sourceMappingURL=v1.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../src/resources/operator/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,EAAG,SAAQ,WAAW;IACjC;;OAEG;IACH,MAAM,CAAC,IAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE;YAC9C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE;YACxD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,OAAwB;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE;YACjD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,OAAwB;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE;YAC7C,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export * from "./operator/index.mjs";
2
+ //# sourceMappingURL=operator.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operator.d.mts","sourceRoot":"","sources":["../src/resources/operator.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./operator/index.js";
2
+ //# sourceMappingURL=operator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operator.d.ts","sourceRoot":"","sources":["../src/resources/operator.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("./operator/index.js"), exports);
6
+ //# sourceMappingURL=operator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operator.js","sourceRoot":"","sources":["../src/resources/operator.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAAiC"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./operator/index.mjs";
3
+ //# sourceMappingURL=operator.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operator.mjs","sourceRoot":"","sources":["../src/resources/operator.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -0,0 +1,48 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../internal/request-options.mjs";
4
+ /**
5
+ * Search and read legal AI skills for agents
6
+ */
7
+ export declare class Custom extends APIResource {
8
+ /**
9
+ * List all custom skills for the authenticated organization. Supports cursor-based
10
+ * pagination.
11
+ */
12
+ list(query?: CustomListParams | null | undefined, options?: RequestOptions): APIPromise<CustomListResponse>;
13
+ }
14
+ export interface CustomListResponse {
15
+ has_more?: boolean;
16
+ next_cursor?: string | null;
17
+ skills?: Array<CustomListResponse.Skill>;
18
+ }
19
+ export declare namespace CustomListResponse {
20
+ interface Skill {
21
+ created_at?: string;
22
+ metadata?: unknown;
23
+ name?: string;
24
+ slug?: string;
25
+ summary?: string | null;
26
+ tags?: Array<string>;
27
+ updated_at?: string;
28
+ version?: number;
29
+ }
30
+ }
31
+ export interface CustomListParams {
32
+ /**
33
+ * Cursor for pagination (skill ID from previous page)
34
+ */
35
+ cursor?: string;
36
+ /**
37
+ * Maximum number of results (1-100)
38
+ */
39
+ limit?: number;
40
+ /**
41
+ * Filter by tag
42
+ */
43
+ tag?: string;
44
+ }
45
+ export declare namespace Custom {
46
+ export { type CustomListResponse as CustomListResponse, type CustomListParams as CustomListParams };
47
+ }
48
+ //# sourceMappingURL=custom.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom.d.mts","sourceRoot":"","sources":["../../src/resources/skills/custom.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,MAAM,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;CAC1C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,KAAK;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAExB,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAErB,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
@@ -0,0 +1,48 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { RequestOptions } from "../../internal/request-options.js";
4
+ /**
5
+ * Search and read legal AI skills for agents
6
+ */
7
+ export declare class Custom extends APIResource {
8
+ /**
9
+ * List all custom skills for the authenticated organization. Supports cursor-based
10
+ * pagination.
11
+ */
12
+ list(query?: CustomListParams | null | undefined, options?: RequestOptions): APIPromise<CustomListResponse>;
13
+ }
14
+ export interface CustomListResponse {
15
+ has_more?: boolean;
16
+ next_cursor?: string | null;
17
+ skills?: Array<CustomListResponse.Skill>;
18
+ }
19
+ export declare namespace CustomListResponse {
20
+ interface Skill {
21
+ created_at?: string;
22
+ metadata?: unknown;
23
+ name?: string;
24
+ slug?: string;
25
+ summary?: string | null;
26
+ tags?: Array<string>;
27
+ updated_at?: string;
28
+ version?: number;
29
+ }
30
+ }
31
+ export interface CustomListParams {
32
+ /**
33
+ * Cursor for pagination (skill ID from previous page)
34
+ */
35
+ cursor?: string;
36
+ /**
37
+ * Maximum number of results (1-100)
38
+ */
39
+ limit?: number;
40
+ /**
41
+ * Filter by tag
42
+ */
43
+ tag?: string;
44
+ }
45
+ export declare namespace Custom {
46
+ export { type CustomListResponse as CustomListResponse, type CustomListParams as CustomListParams };
47
+ }
48
+ //# sourceMappingURL=custom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom.d.ts","sourceRoot":"","sources":["../../src/resources/skills/custom.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,MAAM,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;CAC1C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,KAAK;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAExB,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAErB,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
@@ -0,0 +1,19 @@
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.Custom = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ /**
7
+ * Search and read legal AI skills for agents
8
+ */
9
+ class Custom extends resource_1.APIResource {
10
+ /**
11
+ * List all custom skills for the authenticated organization. Supports cursor-based
12
+ * pagination.
13
+ */
14
+ list(query = {}, options) {
15
+ return this._client.get('/skills/custom', { query, ...options });
16
+ }
17
+ }
18
+ exports.Custom = Custom;
19
+ //# sourceMappingURL=custom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom.js","sourceRoot":"","sources":["../../src/resources/skills/custom.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;OAGG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AAXD,wBAWC"}
@@ -0,0 +1,15 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ /**
4
+ * Search and read legal AI skills for agents
5
+ */
6
+ export class Custom extends APIResource {
7
+ /**
8
+ * List all custom skills for the authenticated organization. Supports cursor-based
9
+ * pagination.
10
+ */
11
+ list(query = {}, options) {
12
+ return this._client.get('/skills/custom', { query, ...options });
13
+ }
14
+ }
15
+ //# sourceMappingURL=custom.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom.mjs","sourceRoot":"","sources":["../../src/resources/skills/custom.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF"}
@@ -0,0 +1,3 @@
1
+ export { Custom, type CustomListResponse, type CustomListParams } from "./custom.mjs";
2
+ export { Skills, type SkillCreateResponse, type SkillUpdateResponse, type SkillDeleteResponse, type SkillReadResponse, type SkillResolveResponse, type SkillCreateParams, type SkillUpdateParams, type SkillResolveParams, } from "./skills.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/skills/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC1D,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB"}
@@ -0,0 +1,3 @@
1
+ export { Custom, type CustomListResponse, type CustomListParams } from "./custom.js";
2
+ export { Skills, type SkillCreateResponse, type SkillUpdateResponse, type SkillDeleteResponse, type SkillReadResponse, type SkillResolveResponse, type SkillCreateParams, type SkillUpdateParams, type SkillResolveParams, } from "./skills.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/skills/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC1D,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB"}
@@ -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.Skills = exports.Custom = void 0;
5
+ var custom_1 = require("./custom.js");
6
+ Object.defineProperty(exports, "Custom", { enumerable: true, get: function () { return custom_1.Custom; } });
7
+ var skills_1 = require("./skills.js");
8
+ Object.defineProperty(exports, "Skills", { enumerable: true, get: function () { return skills_1.Skills; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/skills/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAAkF;AAAzE,gGAAA,MAAM,OAAA;AACf,sCAUkB;AAThB,gGAAA,MAAM,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Custom } from "./custom.mjs";
3
+ export { Skills, } from "./skills.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/skills/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,MAAM,EAAkD;OAC1D,EACL,MAAM,GASP"}