notdiamond 2.0.0-rc5 → 2.0.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.
Files changed (181) hide show
  1. package/CHANGELOG.md +156 -0
  2. package/LICENSE +1 -1
  3. package/README.md +294 -166
  4. package/client.d.mts +20 -23
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +20 -23
  7. package/client.d.ts.map +1 -1
  8. package/client.js +41 -44
  9. package/client.js.map +1 -1
  10. package/client.mjs +39 -42
  11. package/client.mjs.map +1 -1
  12. package/core/api-promise.d.mts +2 -2
  13. package/core/api-promise.d.ts +2 -2
  14. package/core/error.d.mts +2 -2
  15. package/core/error.d.ts +2 -2
  16. package/core/error.js +4 -4
  17. package/core/error.mjs +2 -2
  18. package/core/resource.d.mts +3 -3
  19. package/core/resource.d.ts +3 -3
  20. package/index.d.mts +3 -3
  21. package/index.d.ts +3 -3
  22. package/index.js +4 -4
  23. package/index.mjs +3 -3
  24. package/internal/parse.d.mts +2 -2
  25. package/internal/parse.d.ts +2 -2
  26. package/internal/shims.js +1 -1
  27. package/internal/shims.mjs +1 -1
  28. package/internal/tslib.js +17 -17
  29. package/internal/uploads.d.mts +4 -4
  30. package/internal/uploads.d.ts +4 -4
  31. package/internal/utils/base64.js +2 -2
  32. package/internal/utils/base64.mjs +3 -3
  33. package/internal/utils/log.d.mts +3 -3
  34. package/internal/utils/log.d.ts +3 -3
  35. package/internal/utils/path.js +1 -1
  36. package/internal/utils/path.mjs +2 -2
  37. package/internal/utils/values.js +5 -5
  38. package/internal/utils/values.mjs +6 -6
  39. package/package.json +3 -3
  40. package/resources/{pzn.d.mts → custom-router.d.mts} +16 -96
  41. package/resources/custom-router.d.mts.map +1 -0
  42. package/resources/{pzn.d.ts → custom-router.d.ts} +16 -96
  43. package/resources/custom-router.d.ts.map +1 -0
  44. package/resources/{pzn.js → custom-router.js} +13 -50
  45. package/resources/custom-router.js.map +1 -0
  46. package/resources/{pzn.mjs → custom-router.mjs} +11 -48
  47. package/resources/custom-router.mjs.map +1 -0
  48. package/resources/index.d.mts +4 -5
  49. package/resources/index.d.mts.map +1 -1
  50. package/resources/index.d.ts +4 -5
  51. package/resources/index.d.ts.map +1 -1
  52. package/resources/index.js +5 -7
  53. package/resources/index.js.map +1 -1
  54. package/resources/index.mjs +2 -3
  55. package/resources/index.mjs.map +1 -1
  56. package/resources/model-router.d.mts +6 -123
  57. package/resources/model-router.d.mts.map +1 -1
  58. package/resources/model-router.d.ts +6 -123
  59. package/resources/model-router.d.ts.map +1 -1
  60. package/resources/model-router.js +3 -32
  61. package/resources/model-router.js.map +1 -1
  62. package/resources/model-router.mjs +3 -32
  63. package/resources/model-router.mjs.map +1 -1
  64. package/resources/preferences.d.mts +4 -23
  65. package/resources/preferences.d.mts.map +1 -1
  66. package/resources/preferences.d.ts +4 -23
  67. package/resources/preferences.d.ts.map +1 -1
  68. package/resources/preferences.js +3 -25
  69. package/resources/preferences.js.map +1 -1
  70. package/resources/preferences.mjs +3 -25
  71. package/resources/preferences.mjs.map +1 -1
  72. package/resources/prompt-adaptation.d.mts +684 -0
  73. package/resources/prompt-adaptation.d.mts.map +1 -0
  74. package/resources/prompt-adaptation.d.ts +684 -0
  75. package/resources/prompt-adaptation.d.ts.map +1 -0
  76. package/resources/prompt-adaptation.js +258 -0
  77. package/resources/prompt-adaptation.js.map +1 -0
  78. package/resources/prompt-adaptation.mjs +254 -0
  79. package/resources/prompt-adaptation.mjs.map +1 -0
  80. package/src/client.ts +47 -54
  81. package/src/core/api-promise.ts +4 -4
  82. package/src/core/error.ts +2 -2
  83. package/src/core/resource.ts +3 -3
  84. package/src/index.ts +3 -3
  85. package/src/internal/parse.ts +2 -2
  86. package/src/internal/shims.ts +1 -1
  87. package/src/internal/uploads.ts +5 -5
  88. package/src/internal/utils/base64.ts +3 -3
  89. package/src/internal/utils/log.ts +3 -3
  90. package/src/internal/utils/path.ts +2 -2
  91. package/src/internal/utils/values.ts +6 -6
  92. package/src/resources/{pzn.ts → custom-router.ts} +17 -122
  93. package/src/resources/index.ts +14 -16
  94. package/src/resources/model-router.ts +5 -139
  95. package/src/resources/preferences.ts +3 -34
  96. package/src/resources/prompt-adaptation.ts +777 -0
  97. package/src/version.ts +1 -1
  98. package/version.d.mts +1 -1
  99. package/version.d.mts.map +1 -1
  100. package/version.d.ts +1 -1
  101. package/version.d.ts.map +1 -1
  102. package/version.js +1 -1
  103. package/version.js.map +1 -1
  104. package/version.mjs +1 -1
  105. package/version.mjs.map +1 -1
  106. package/resources/prompt/adapt.d.mts +0 -352
  107. package/resources/prompt/adapt.d.mts.map +0 -1
  108. package/resources/prompt/adapt.d.ts +0 -352
  109. package/resources/prompt/adapt.d.ts.map +0 -1
  110. package/resources/prompt/adapt.js +0 -154
  111. package/resources/prompt/adapt.js.map +0 -1
  112. package/resources/prompt/adapt.mjs +0 -150
  113. package/resources/prompt/adapt.mjs.map +0 -1
  114. package/resources/prompt/index.d.mts +0 -3
  115. package/resources/prompt/index.d.mts.map +0 -1
  116. package/resources/prompt/index.d.ts +0 -3
  117. package/resources/prompt/index.d.ts.map +0 -1
  118. package/resources/prompt/index.js +0 -9
  119. package/resources/prompt/index.js.map +0 -1
  120. package/resources/prompt/index.mjs +0 -4
  121. package/resources/prompt/index.mjs.map +0 -1
  122. package/resources/prompt/prompt.d.mts +0 -338
  123. package/resources/prompt/prompt.d.mts.map +0 -1
  124. package/resources/prompt/prompt.d.ts +0 -338
  125. package/resources/prompt/prompt.d.ts.map +0 -1
  126. package/resources/prompt/prompt.js +0 -128
  127. package/resources/prompt/prompt.js.map +0 -1
  128. package/resources/prompt/prompt.mjs +0 -123
  129. package/resources/prompt/prompt.mjs.map +0 -1
  130. package/resources/prompt.d.mts +0 -2
  131. package/resources/prompt.d.mts.map +0 -1
  132. package/resources/prompt.d.ts +0 -2
  133. package/resources/prompt.d.ts.map +0 -1
  134. package/resources/prompt.js +0 -6
  135. package/resources/prompt.js.map +0 -1
  136. package/resources/prompt.mjs +0 -3
  137. package/resources/prompt.mjs.map +0 -1
  138. package/resources/pzn.d.mts.map +0 -1
  139. package/resources/pzn.d.ts.map +0 -1
  140. package/resources/pzn.js.map +0 -1
  141. package/resources/pzn.mjs.map +0 -1
  142. package/resources/report/index.d.mts +0 -3
  143. package/resources/report/index.d.mts.map +0 -1
  144. package/resources/report/index.d.ts +0 -3
  145. package/resources/report/index.d.ts.map +0 -1
  146. package/resources/report/index.js +0 -9
  147. package/resources/report/index.js.map +0 -1
  148. package/resources/report/index.mjs +0 -4
  149. package/resources/report/index.mjs.map +0 -1
  150. package/resources/report/metrics.d.mts +0 -87
  151. package/resources/report/metrics.d.mts.map +0 -1
  152. package/resources/report/metrics.d.ts +0 -87
  153. package/resources/report/metrics.d.ts.map +0 -1
  154. package/resources/report/metrics.js +0 -57
  155. package/resources/report/metrics.js.map +0 -1
  156. package/resources/report/metrics.mjs +0 -53
  157. package/resources/report/metrics.mjs.map +0 -1
  158. package/resources/report/report.d.mts +0 -10
  159. package/resources/report/report.d.mts.map +0 -1
  160. package/resources/report/report.d.ts +0 -10
  161. package/resources/report/report.d.ts.map +0 -1
  162. package/resources/report/report.js +0 -17
  163. package/resources/report/report.js.map +0 -1
  164. package/resources/report/report.mjs +0 -12
  165. package/resources/report/report.mjs.map +0 -1
  166. package/resources/report.d.mts +0 -2
  167. package/resources/report.d.mts.map +0 -1
  168. package/resources/report.d.ts +0 -2
  169. package/resources/report.d.ts.map +0 -1
  170. package/resources/report.js +0 -6
  171. package/resources/report.js.map +0 -1
  172. package/resources/report.mjs +0 -3
  173. package/resources/report.mjs.map +0 -1
  174. package/src/resources/prompt/adapt.ts +0 -402
  175. package/src/resources/prompt/index.ts +0 -16
  176. package/src/resources/prompt/prompt.ts +0 -398
  177. package/src/resources/prompt.ts +0 -3
  178. package/src/resources/report/index.ts +0 -4
  179. package/src/resources/report/metrics.ts +0 -99
  180. package/src/resources/report/report.ts +0 -19
  181. package/src/resources/report.ts +0 -3
@@ -1,4 +1,4 @@
1
- import { type NotDiamond } from "../../client.js";
1
+ import { type Notdiamond } from "../../client.js";
2
2
  import { RequestOptions } from "../request-options.js";
3
3
  type LogFn = (message: string, ...rest: unknown[]) => void;
4
4
  export type Logger = {
@@ -8,8 +8,8 @@ export type Logger = {
8
8
  debug: LogFn;
9
9
  };
10
10
  export type LogLevel = 'off' | 'error' | 'warn' | 'info' | 'debug';
11
- export declare const parseLogLevel: (maybeLevel: string | undefined, sourceName: string, client: NotDiamond) => LogLevel | undefined;
12
- export declare function loggerFor(client: NotDiamond): Logger;
11
+ export declare const parseLogLevel: (maybeLevel: string | undefined, sourceName: string, client: Notdiamond) => LogLevel | undefined;
12
+ export declare function loggerFor(client: Notdiamond): Logger;
13
13
  export declare const formatRequestDetails: (details: {
14
14
  options?: RequestOptions | undefined;
15
15
  headers?: Headers | Record<string, string> | undefined;
@@ -65,7 +65,7 @@ const createPathTagFunction = (pathEncoder = encodeURIPath) => function path(sta
65
65
  lastEnd = segment.start + segment.length;
66
66
  return acc + spaces + arrows;
67
67
  }, '');
68
- throw new error_1.NotDiamondError(`Path parameters result in path with invalid segments:\n${invalidSegments
68
+ throw new error_1.NotdiamondError(`Path parameters result in path with invalid segments:\n${invalidSegments
69
69
  .map((e) => e.error)
70
70
  .join('\n')}\n${path}\n${underline}`);
71
71
  }
@@ -1,4 +1,4 @@
1
- import { NotDiamondError } from "../../core/error.mjs";
1
+ import { NotdiamondError } from "../../core/error.mjs";
2
2
  /**
3
3
  * Percent-encode everything that isn't safe to have in a path without encoding safe chars.
4
4
  *
@@ -61,7 +61,7 @@ export const createPathTagFunction = (pathEncoder = encodeURIPath) => function p
61
61
  lastEnd = segment.start + segment.length;
62
62
  return acc + spaces + arrows;
63
63
  }, '');
64
- throw new NotDiamondError(`Path parameters result in path with invalid segments:\n${invalidSegments
64
+ throw new NotdiamondError(`Path parameters result in path with invalid segments:\n${invalidSegments
65
65
  .map((e) => e.error)
66
66
  .join('\n')}\n${path}\n${underline}`);
67
67
  }
@@ -40,17 +40,17 @@ function isObj(obj) {
40
40
  }
41
41
  const ensurePresent = (value) => {
42
42
  if (value == null) {
43
- throw new error_1.NotDiamondError(`Expected a value to be given but received ${value} instead.`);
43
+ throw new error_1.NotdiamondError(`Expected a value to be given but received ${value} instead.`);
44
44
  }
45
45
  return value;
46
46
  };
47
47
  exports.ensurePresent = ensurePresent;
48
48
  const validatePositiveInteger = (name, n) => {
49
49
  if (typeof n !== 'number' || !Number.isInteger(n)) {
50
- throw new error_1.NotDiamondError(`${name} must be an integer`);
50
+ throw new error_1.NotdiamondError(`${name} must be an integer`);
51
51
  }
52
52
  if (n < 0) {
53
- throw new error_1.NotDiamondError(`${name} must be a positive integer`);
53
+ throw new error_1.NotdiamondError(`${name} must be a positive integer`);
54
54
  }
55
55
  return n;
56
56
  };
@@ -60,7 +60,7 @@ const coerceInteger = (value) => {
60
60
  return Math.round(value);
61
61
  if (typeof value === 'string')
62
62
  return parseInt(value, 10);
63
- throw new error_1.NotDiamondError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
63
+ throw new error_1.NotdiamondError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
64
64
  };
65
65
  exports.coerceInteger = coerceInteger;
66
66
  const coerceFloat = (value) => {
@@ -68,7 +68,7 @@ const coerceFloat = (value) => {
68
68
  return value;
69
69
  if (typeof value === 'string')
70
70
  return parseFloat(value);
71
- throw new error_1.NotDiamondError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
71
+ throw new error_1.NotdiamondError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
72
72
  };
73
73
  exports.coerceFloat = coerceFloat;
74
74
  const coerceBoolean = (value) => {
@@ -1,5 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { NotDiamondError } from "../../core/error.mjs";
2
+ import { NotdiamondError } from "../../core/error.mjs";
3
3
  // https://url.spec.whatwg.org/#url-scheme-string
4
4
  const startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i;
5
5
  export const isAbsoluteURL = (url) => {
@@ -31,16 +31,16 @@ export function isObj(obj) {
31
31
  }
32
32
  export const ensurePresent = (value) => {
33
33
  if (value == null) {
34
- throw new NotDiamondError(`Expected a value to be given but received ${value} instead.`);
34
+ throw new NotdiamondError(`Expected a value to be given but received ${value} instead.`);
35
35
  }
36
36
  return value;
37
37
  };
38
38
  export const validatePositiveInteger = (name, n) => {
39
39
  if (typeof n !== 'number' || !Number.isInteger(n)) {
40
- throw new NotDiamondError(`${name} must be an integer`);
40
+ throw new NotdiamondError(`${name} must be an integer`);
41
41
  }
42
42
  if (n < 0) {
43
- throw new NotDiamondError(`${name} must be a positive integer`);
43
+ throw new NotdiamondError(`${name} must be a positive integer`);
44
44
  }
45
45
  return n;
46
46
  };
@@ -49,14 +49,14 @@ export const coerceInteger = (value) => {
49
49
  return Math.round(value);
50
50
  if (typeof value === 'string')
51
51
  return parseInt(value, 10);
52
- throw new NotDiamondError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
52
+ throw new NotdiamondError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
53
53
  };
54
54
  export const coerceFloat = (value) => {
55
55
  if (typeof value === 'number')
56
56
  return value;
57
57
  if (typeof value === 'string')
58
58
  return parseFloat(value);
59
- throw new NotDiamondError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
59
+ throw new NotdiamondError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
60
60
  };
61
61
  export const coerceBoolean = (value) => {
62
62
  if (typeof value === 'boolean')
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "notdiamond",
3
- "version": "2.0.0-rc5",
4
- "description": "The official TypeScript library for the Not Diamond API",
5
- "author": "Not Diamond <contact@notdiamond.ai>",
3
+ "version": "2.0.0",
4
+ "description": "The official TypeScript library for the Notdiamond API",
5
+ "author": "Notdiamond <contact@notdiamond.ai>",
6
6
  "types": "./index.d.ts",
7
7
  "main": "./index.js",
8
8
  "type": "commonjs",
@@ -2,41 +2,7 @@ import { APIResource } from "../core/resource.mjs";
2
2
  import { APIPromise } from "../core/api-promise.mjs";
3
3
  import { type Uploadable } from "../core/uploads.mjs";
4
4
  import { RequestOptions } from "../internal/request-options.mjs";
5
- export declare class Pzn extends APIResource {
6
- /**
7
- * Submit a survey response for personalized routing setup.
8
- *
9
- * This admin endpoint processes survey responses to set up personalized routing
10
- * configurations for users based on their use case, LLM preferences, and
11
- * constraints.
12
- *
13
- * **Survey Data:**
14
- *
15
- * - User information and use case description
16
- * - Preferred LLM providers and models
17
- * - Constraint priorities (quality, cost, latency)
18
- * - Optional prompts and evaluation datasets
19
- *
20
- * **File Uploads:**
21
- *
22
- * - `prompt_file`: Optional CSV file with prompts
23
- * - `dataset_file`: Optional CSV file with evaluation dataset
24
- *
25
- * **Note:** This is an admin-only endpoint for internal use.
26
- *
27
- * @example
28
- * ```ts
29
- * const response = await client.pzn.submitSurveyResponse({
30
- * constraint_priorities: 'constraint_priorities',
31
- * email: 'email',
32
- * llm_providers: 'llm_providers',
33
- * use_case_desc: 'use_case_desc',
34
- * user_id: 'user_id',
35
- * 'x-token': 'x-token',
36
- * });
37
- * ```
38
- */
39
- submitSurveyResponse(params: PznSubmitSurveyResponseParams, options?: RequestOptions): APIPromise<unknown>;
5
+ export declare class CustomRouter extends APIResource {
40
6
  /**
41
7
  * Train a custom router on your evaluation data to optimize routing for your
42
8
  * specific use case.
@@ -96,19 +62,19 @@ export declare class Pzn extends APIResource {
96
62
  *
97
63
  * @example
98
64
  * ```ts
99
- * const response = await client.pzn.trainCustomRouter({
100
- * dataset_file: fs.createReadStream('path/to/file'),
101
- * language: 'english',
102
- * llm_providers:
103
- * '[{"provider": "openai", "model": "gpt-4o"}, {"provider": "anthropic", "model": "claude-sonnet-4-5-20250929"}]',
104
- * maximize: true,
105
- * prompt_column: 'prompt',
106
- * });
65
+ * const response =
66
+ * await client.customRouter.trainCustomRouter({
67
+ * dataset_file: fs.createReadStream('path/to/file'),
68
+ * language: 'english',
69
+ * llm_providers:
70
+ * '[{"provider": "openai", "model": "gpt-4o"}, {"provider": "anthropic", "model": "claude-sonnet-4-5-20250929"}]',
71
+ * maximize: true,
72
+ * prompt_column: 'prompt',
73
+ * });
107
74
  * ```
108
75
  */
109
- trainCustomRouter(body: PznTrainCustomRouterParams, options?: RequestOptions): APIPromise<PznTrainCustomRouterResponse>;
76
+ trainCustomRouter(body: CustomRouterTrainCustomRouterParams, options?: RequestOptions): APIPromise<CustomRouterTrainCustomRouterResponse>;
110
77
  }
111
- export type PznSubmitSurveyResponseResponse = unknown;
112
78
  /**
113
79
  * Response model for POST /v2/pzn/trainCustomRouter endpoint.
114
80
  *
@@ -130,60 +96,14 @@ export type PznSubmitSurveyResponseResponse = unknown;
130
96
  * - No need to poll status - you can start using it immediately (will use default
131
97
  * until ready)
132
98
  */
133
- export interface PznTrainCustomRouterResponse {
99
+ export interface CustomRouterTrainCustomRouterResponse {
134
100
  /**
135
101
  * Unique identifier for the custom router. Use this in model_select() calls to
136
102
  * enable routing with your custom-trained router
137
103
  */
138
104
  preference_id: string;
139
105
  }
140
- export interface PznSubmitSurveyResponseParams {
141
- /**
142
- * Body param: JSON string of constraint priorities object
143
- */
144
- constraint_priorities: string;
145
- /**
146
- * Body param: User email address
147
- */
148
- email: string;
149
- /**
150
- * Body param: JSON string of LLM providers array
151
- */
152
- llm_providers: string;
153
- /**
154
- * Body param: Description of the user's use case
155
- */
156
- use_case_desc: string;
157
- /**
158
- * Body param: User ID from Supabase
159
- */
160
- user_id: string;
161
- /**
162
- * Header param:
163
- */
164
- 'x-token': string;
165
- /**
166
- * Body param: Optional additional preferences text
167
- */
168
- additional_preferences?: string | null;
169
- /**
170
- * Body param: Optional CSV file with evaluation dataset
171
- */
172
- dataset_file?: Uploadable | null;
173
- /**
174
- * Body param: Optional preference name
175
- */
176
- name?: string | null;
177
- /**
178
- * Body param: Optional CSV file with prompts
179
- */
180
- prompt_file?: Uploadable | null;
181
- /**
182
- * Body param: Optional JSON string of prompts array
183
- */
184
- prompts?: string | null;
185
- }
186
- export interface PznTrainCustomRouterParams {
106
+ export interface CustomRouterTrainCustomRouterParams {
187
107
  /**
188
108
  * CSV file containing evaluation data with prompt column and score/response
189
109
  * columns for each model
@@ -219,7 +139,7 @@ export interface PznTrainCustomRouterParams {
219
139
  */
220
140
  preference_id?: string | null;
221
141
  }
222
- export declare namespace Pzn {
223
- export { type PznSubmitSurveyResponseResponse as PznSubmitSurveyResponseResponse, type PznTrainCustomRouterResponse as PznTrainCustomRouterResponse, type PznSubmitSurveyResponseParams as PznSubmitSurveyResponseParams, type PznTrainCustomRouterParams as PznTrainCustomRouterParams, };
142
+ export declare namespace CustomRouter {
143
+ export { type CustomRouterTrainCustomRouterResponse as CustomRouterTrainCustomRouterResponse, type CustomRouterTrainCustomRouterParams as CustomRouterTrainCustomRouterParams, };
224
144
  }
225
- //# sourceMappingURL=pzn.d.mts.map
145
+ //# sourceMappingURL=custom-router.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-router.d.mts","sourceRoot":"","sources":["../src/resources/custom-router.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,iBAAiB,CACf,IAAI,EAAE,mCAAmC,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qCAAqC,CAAC;CAMrD;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,qCAAqC;IACpD;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,mCAAmC;IAClD;;;OAGG;IACH,YAAY,EAAE,UAAU,CAAC;IAEzB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
@@ -2,41 +2,7 @@ import { APIResource } from "../core/resource.js";
2
2
  import { APIPromise } from "../core/api-promise.js";
3
3
  import { type Uploadable } from "../core/uploads.js";
4
4
  import { RequestOptions } from "../internal/request-options.js";
5
- export declare class Pzn extends APIResource {
6
- /**
7
- * Submit a survey response for personalized routing setup.
8
- *
9
- * This admin endpoint processes survey responses to set up personalized routing
10
- * configurations for users based on their use case, LLM preferences, and
11
- * constraints.
12
- *
13
- * **Survey Data:**
14
- *
15
- * - User information and use case description
16
- * - Preferred LLM providers and models
17
- * - Constraint priorities (quality, cost, latency)
18
- * - Optional prompts and evaluation datasets
19
- *
20
- * **File Uploads:**
21
- *
22
- * - `prompt_file`: Optional CSV file with prompts
23
- * - `dataset_file`: Optional CSV file with evaluation dataset
24
- *
25
- * **Note:** This is an admin-only endpoint for internal use.
26
- *
27
- * @example
28
- * ```ts
29
- * const response = await client.pzn.submitSurveyResponse({
30
- * constraint_priorities: 'constraint_priorities',
31
- * email: 'email',
32
- * llm_providers: 'llm_providers',
33
- * use_case_desc: 'use_case_desc',
34
- * user_id: 'user_id',
35
- * 'x-token': 'x-token',
36
- * });
37
- * ```
38
- */
39
- submitSurveyResponse(params: PznSubmitSurveyResponseParams, options?: RequestOptions): APIPromise<unknown>;
5
+ export declare class CustomRouter extends APIResource {
40
6
  /**
41
7
  * Train a custom router on your evaluation data to optimize routing for your
42
8
  * specific use case.
@@ -96,19 +62,19 @@ export declare class Pzn extends APIResource {
96
62
  *
97
63
  * @example
98
64
  * ```ts
99
- * const response = await client.pzn.trainCustomRouter({
100
- * dataset_file: fs.createReadStream('path/to/file'),
101
- * language: 'english',
102
- * llm_providers:
103
- * '[{"provider": "openai", "model": "gpt-4o"}, {"provider": "anthropic", "model": "claude-sonnet-4-5-20250929"}]',
104
- * maximize: true,
105
- * prompt_column: 'prompt',
106
- * });
65
+ * const response =
66
+ * await client.customRouter.trainCustomRouter({
67
+ * dataset_file: fs.createReadStream('path/to/file'),
68
+ * language: 'english',
69
+ * llm_providers:
70
+ * '[{"provider": "openai", "model": "gpt-4o"}, {"provider": "anthropic", "model": "claude-sonnet-4-5-20250929"}]',
71
+ * maximize: true,
72
+ * prompt_column: 'prompt',
73
+ * });
107
74
  * ```
108
75
  */
109
- trainCustomRouter(body: PznTrainCustomRouterParams, options?: RequestOptions): APIPromise<PznTrainCustomRouterResponse>;
76
+ trainCustomRouter(body: CustomRouterTrainCustomRouterParams, options?: RequestOptions): APIPromise<CustomRouterTrainCustomRouterResponse>;
110
77
  }
111
- export type PznSubmitSurveyResponseResponse = unknown;
112
78
  /**
113
79
  * Response model for POST /v2/pzn/trainCustomRouter endpoint.
114
80
  *
@@ -130,60 +96,14 @@ export type PznSubmitSurveyResponseResponse = unknown;
130
96
  * - No need to poll status - you can start using it immediately (will use default
131
97
  * until ready)
132
98
  */
133
- export interface PznTrainCustomRouterResponse {
99
+ export interface CustomRouterTrainCustomRouterResponse {
134
100
  /**
135
101
  * Unique identifier for the custom router. Use this in model_select() calls to
136
102
  * enable routing with your custom-trained router
137
103
  */
138
104
  preference_id: string;
139
105
  }
140
- export interface PznSubmitSurveyResponseParams {
141
- /**
142
- * Body param: JSON string of constraint priorities object
143
- */
144
- constraint_priorities: string;
145
- /**
146
- * Body param: User email address
147
- */
148
- email: string;
149
- /**
150
- * Body param: JSON string of LLM providers array
151
- */
152
- llm_providers: string;
153
- /**
154
- * Body param: Description of the user's use case
155
- */
156
- use_case_desc: string;
157
- /**
158
- * Body param: User ID from Supabase
159
- */
160
- user_id: string;
161
- /**
162
- * Header param:
163
- */
164
- 'x-token': string;
165
- /**
166
- * Body param: Optional additional preferences text
167
- */
168
- additional_preferences?: string | null;
169
- /**
170
- * Body param: Optional CSV file with evaluation dataset
171
- */
172
- dataset_file?: Uploadable | null;
173
- /**
174
- * Body param: Optional preference name
175
- */
176
- name?: string | null;
177
- /**
178
- * Body param: Optional CSV file with prompts
179
- */
180
- prompt_file?: Uploadable | null;
181
- /**
182
- * Body param: Optional JSON string of prompts array
183
- */
184
- prompts?: string | null;
185
- }
186
- export interface PznTrainCustomRouterParams {
106
+ export interface CustomRouterTrainCustomRouterParams {
187
107
  /**
188
108
  * CSV file containing evaluation data with prompt column and score/response
189
109
  * columns for each model
@@ -219,7 +139,7 @@ export interface PznTrainCustomRouterParams {
219
139
  */
220
140
  preference_id?: string | null;
221
141
  }
222
- export declare namespace Pzn {
223
- export { type PznSubmitSurveyResponseResponse as PznSubmitSurveyResponseResponse, type PznTrainCustomRouterResponse as PznTrainCustomRouterResponse, type PznSubmitSurveyResponseParams as PznSubmitSurveyResponseParams, type PznTrainCustomRouterParams as PznTrainCustomRouterParams, };
142
+ export declare namespace CustomRouter {
143
+ export { type CustomRouterTrainCustomRouterResponse as CustomRouterTrainCustomRouterResponse, type CustomRouterTrainCustomRouterParams as CustomRouterTrainCustomRouterParams, };
224
144
  }
225
- //# sourceMappingURL=pzn.d.ts.map
145
+ //# sourceMappingURL=custom-router.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-router.d.ts","sourceRoot":"","sources":["../src/resources/custom-router.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,iBAAiB,CACf,IAAI,EAAE,mCAAmC,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qCAAqC,CAAC;CAMrD;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,qCAAqC;IACpD;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,mCAAmC;IAClD;;;OAGG;IACH,YAAY,EAAE,UAAU,CAAC;IAEzB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
@@ -1,48 +1,10 @@
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.Pzn = void 0;
4
+ exports.CustomRouter = void 0;
5
5
  const resource_1 = require("../core/resource.js");
6
- const headers_1 = require("../internal/headers.js");
7
6
  const uploads_1 = require("../internal/uploads.js");
8
- class Pzn extends resource_1.APIResource {
9
- /**
10
- * Submit a survey response for personalized routing setup.
11
- *
12
- * This admin endpoint processes survey responses to set up personalized routing
13
- * configurations for users based on their use case, LLM preferences, and
14
- * constraints.
15
- *
16
- * **Survey Data:**
17
- *
18
- * - User information and use case description
19
- * - Preferred LLM providers and models
20
- * - Constraint priorities (quality, cost, latency)
21
- * - Optional prompts and evaluation datasets
22
- *
23
- * **File Uploads:**
24
- *
25
- * - `prompt_file`: Optional CSV file with prompts
26
- * - `dataset_file`: Optional CSV file with evaluation dataset
27
- *
28
- * **Note:** This is an admin-only endpoint for internal use.
29
- *
30
- * @example
31
- * ```ts
32
- * const response = await client.pzn.submitSurveyResponse({
33
- * constraint_priorities: 'constraint_priorities',
34
- * email: 'email',
35
- * llm_providers: 'llm_providers',
36
- * use_case_desc: 'use_case_desc',
37
- * user_id: 'user_id',
38
- * 'x-token': 'x-token',
39
- * });
40
- * ```
41
- */
42
- submitSurveyResponse(params, options) {
43
- const { 'x-token': xToken, ...body } = params;
44
- return this._client.post('/v2/pzn/surveyResponse', (0, uploads_1.multipartFormRequestOptions)({ body, ...options, headers: (0, headers_1.buildHeaders)([{ 'x-token': xToken }, options?.headers]) }, this._client));
45
- }
7
+ class CustomRouter extends resource_1.APIResource {
46
8
  /**
47
9
  * Train a custom router on your evaluation data to optimize routing for your
48
10
  * specific use case.
@@ -102,19 +64,20 @@ class Pzn extends resource_1.APIResource {
102
64
  *
103
65
  * @example
104
66
  * ```ts
105
- * const response = await client.pzn.trainCustomRouter({
106
- * dataset_file: fs.createReadStream('path/to/file'),
107
- * language: 'english',
108
- * llm_providers:
109
- * '[{"provider": "openai", "model": "gpt-4o"}, {"provider": "anthropic", "model": "claude-sonnet-4-5-20250929"}]',
110
- * maximize: true,
111
- * prompt_column: 'prompt',
112
- * });
67
+ * const response =
68
+ * await client.customRouter.trainCustomRouter({
69
+ * dataset_file: fs.createReadStream('path/to/file'),
70
+ * language: 'english',
71
+ * llm_providers:
72
+ * '[{"provider": "openai", "model": "gpt-4o"}, {"provider": "anthropic", "model": "claude-sonnet-4-5-20250929"}]',
73
+ * maximize: true,
74
+ * prompt_column: 'prompt',
75
+ * });
113
76
  * ```
114
77
  */
115
78
  trainCustomRouter(body, options) {
116
79
  return this._client.post('/v2/pzn/trainCustomRouter', (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client));
117
80
  }
118
81
  }
119
- exports.Pzn = Pzn;
120
- //# sourceMappingURL=pzn.js.map
82
+ exports.CustomRouter = CustomRouter;
83
+ //# sourceMappingURL=custom-router.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-router.js","sourceRoot":"","sources":["../src/resources/custom-router.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAAkE;AAElE,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,iBAAiB,CACf,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,2BAA2B,EAC3B,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;CACF;AAhFD,oCAgFC"}
@@ -1,45 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../core/resource.mjs";
3
- import { buildHeaders } from "../internal/headers.mjs";
4
3
  import { multipartFormRequestOptions } from "../internal/uploads.mjs";
5
- export class Pzn extends APIResource {
6
- /**
7
- * Submit a survey response for personalized routing setup.
8
- *
9
- * This admin endpoint processes survey responses to set up personalized routing
10
- * configurations for users based on their use case, LLM preferences, and
11
- * constraints.
12
- *
13
- * **Survey Data:**
14
- *
15
- * - User information and use case description
16
- * - Preferred LLM providers and models
17
- * - Constraint priorities (quality, cost, latency)
18
- * - Optional prompts and evaluation datasets
19
- *
20
- * **File Uploads:**
21
- *
22
- * - `prompt_file`: Optional CSV file with prompts
23
- * - `dataset_file`: Optional CSV file with evaluation dataset
24
- *
25
- * **Note:** This is an admin-only endpoint for internal use.
26
- *
27
- * @example
28
- * ```ts
29
- * const response = await client.pzn.submitSurveyResponse({
30
- * constraint_priorities: 'constraint_priorities',
31
- * email: 'email',
32
- * llm_providers: 'llm_providers',
33
- * use_case_desc: 'use_case_desc',
34
- * user_id: 'user_id',
35
- * 'x-token': 'x-token',
36
- * });
37
- * ```
38
- */
39
- submitSurveyResponse(params, options) {
40
- const { 'x-token': xToken, ...body } = params;
41
- return this._client.post('/v2/pzn/surveyResponse', multipartFormRequestOptions({ body, ...options, headers: buildHeaders([{ 'x-token': xToken }, options?.headers]) }, this._client));
42
- }
4
+ export class CustomRouter extends APIResource {
43
5
  /**
44
6
  * Train a custom router on your evaluation data to optimize routing for your
45
7
  * specific use case.
@@ -99,18 +61,19 @@ export class Pzn extends APIResource {
99
61
  *
100
62
  * @example
101
63
  * ```ts
102
- * const response = await client.pzn.trainCustomRouter({
103
- * dataset_file: fs.createReadStream('path/to/file'),
104
- * language: 'english',
105
- * llm_providers:
106
- * '[{"provider": "openai", "model": "gpt-4o"}, {"provider": "anthropic", "model": "claude-sonnet-4-5-20250929"}]',
107
- * maximize: true,
108
- * prompt_column: 'prompt',
109
- * });
64
+ * const response =
65
+ * await client.customRouter.trainCustomRouter({
66
+ * dataset_file: fs.createReadStream('path/to/file'),
67
+ * language: 'english',
68
+ * llm_providers:
69
+ * '[{"provider": "openai", "model": "gpt-4o"}, {"provider": "anthropic", "model": "claude-sonnet-4-5-20250929"}]',
70
+ * maximize: true,
71
+ * prompt_column: 'prompt',
72
+ * });
110
73
  * ```
111
74
  */
112
75
  trainCustomRouter(body, options) {
113
76
  return this._client.post('/v2/pzn/trainCustomRouter', multipartFormRequestOptions({ body, ...options }, this._client));
114
77
  }
115
78
  }
116
- //# sourceMappingURL=pzn.mjs.map
79
+ //# sourceMappingURL=custom-router.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-router.mjs","sourceRoot":"","sources":["../src/resources/custom-router.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,2BAA2B,EAAE;AAEtC,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,iBAAiB,CACf,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,2BAA2B,EAC3B,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;CACF"}
@@ -1,7 +1,6 @@
1
- export { ModelRouter, type ModelRouterOpenHandsSelectResponse, type ModelRouterSelectModelResponse, type ModelRouterOpenHandsSelectParams, type ModelRouterSelectModelParams, } from "./model-router.mjs";
1
+ export { CustomRouter, type CustomRouterTrainCustomRouterResponse, type CustomRouterTrainCustomRouterParams, } from "./custom-router.mjs";
2
+ export { ModelRouter, type ModelRouterSelectModelResponse, type ModelRouterSelectModelParams, } from "./model-router.mjs";
2
3
  export { Models, type Model, type ModelListResponse, type ModelListParams } from "./models.mjs";
3
- export { Preferences, type PreferenceCreateResponse, type PreferenceRetrieveResponse, type PreferenceUpdateResponse, type PreferenceDeleteResponse, type PreferenceCreateParams, type PreferenceRetrieveParams, type PreferenceUpdateParams, } from "./preferences.mjs";
4
- export { Prompt, type JobStatus, type PromptGetAdaptResultsResponse, type PromptGetAdaptStatusResponse, } from "./prompt/prompt.mjs";
5
- export { Pzn, type PznSubmitSurveyResponseResponse, type PznTrainCustomRouterResponse, type PznSubmitSurveyResponseParams, type PznTrainCustomRouterParams, } from "./pzn.mjs";
6
- export { Report } from "./report/report.mjs";
4
+ export { Preferences, type PreferenceCreateResponse, type PreferenceUpdateResponse, type PreferenceDeleteResponse, type PreferenceCreateParams, type PreferenceUpdateParams, } from "./preferences.mjs";
5
+ export { PromptAdaptation, type GoldenRecord, type JobStatus, type RequestProvider, type PromptAdaptationAdaptResponse, type PromptAdaptationGetAdaptResultsResponse, type PromptAdaptationGetAdaptStatusResponse, type PromptAdaptationGetCostResponse, type PromptAdaptationAdaptParams, } from "./prompt-adaptation.mjs";
7
6
  //# 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,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,GAClC;OACM,EAAE,MAAM,EAAE,KAAK,KAAK,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACpE,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B;OACM,EACL,MAAM,EACN,KAAK,SAAS,EACd,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,GAClC;OACM,EACL,GAAG,EACH,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,GAChC;OACM,EAAE,MAAM,EAAE"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,GACzC;OACM,EACL,WAAW,EACX,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,GAClC;OACM,EAAE,MAAM,EAAE,KAAK,KAAK,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACpE,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EACL,gBAAgB,EAChB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,6BAA6B,EAClC,KAAK,uCAAuC,EAC5C,KAAK,sCAAsC,EAC3C,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,GACjC"}
@@ -1,7 +1,6 @@
1
- export { ModelRouter, type ModelRouterOpenHandsSelectResponse, type ModelRouterSelectModelResponse, type ModelRouterOpenHandsSelectParams, type ModelRouterSelectModelParams, } from "./model-router.js";
1
+ export { CustomRouter, type CustomRouterTrainCustomRouterResponse, type CustomRouterTrainCustomRouterParams, } from "./custom-router.js";
2
+ export { ModelRouter, type ModelRouterSelectModelResponse, type ModelRouterSelectModelParams, } from "./model-router.js";
2
3
  export { Models, type Model, type ModelListResponse, type ModelListParams } from "./models.js";
3
- export { Preferences, type PreferenceCreateResponse, type PreferenceRetrieveResponse, type PreferenceUpdateResponse, type PreferenceDeleteResponse, type PreferenceCreateParams, type PreferenceRetrieveParams, type PreferenceUpdateParams, } from "./preferences.js";
4
- export { Prompt, type JobStatus, type PromptGetAdaptResultsResponse, type PromptGetAdaptStatusResponse, } from "./prompt/prompt.js";
5
- export { Pzn, type PznSubmitSurveyResponseResponse, type PznTrainCustomRouterResponse, type PznSubmitSurveyResponseParams, type PznTrainCustomRouterParams, } from "./pzn.js";
6
- export { Report } from "./report/report.js";
4
+ export { Preferences, type PreferenceCreateResponse, type PreferenceUpdateResponse, type PreferenceDeleteResponse, type PreferenceCreateParams, type PreferenceUpdateParams, } from "./preferences.js";
5
+ export { PromptAdaptation, type GoldenRecord, type JobStatus, type RequestProvider, type PromptAdaptationAdaptResponse, type PromptAdaptationGetAdaptResultsResponse, type PromptAdaptationGetAdaptStatusResponse, type PromptAdaptationGetCostResponse, type PromptAdaptationAdaptParams, } from "./prompt-adaptation.js";
7
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,GAClC;OACM,EAAE,MAAM,EAAE,KAAK,KAAK,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACpE,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B;OACM,EACL,MAAM,EACN,KAAK,SAAS,EACd,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,GAClC;OACM,EACL,GAAG,EACH,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,GAChC;OACM,EAAE,MAAM,EAAE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,GACzC;OACM,EACL,WAAW,EACX,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,GAClC;OACM,EAAE,MAAM,EAAE,KAAK,KAAK,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACpE,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EACL,gBAAgB,EAChB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,6BAA6B,EAClC,KAAK,uCAAuC,EAC5C,KAAK,sCAAsC,EAC3C,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,GACjC"}