openlayer 0.9.4 → 0.10.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 (81) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/core.d.ts +1 -1
  3. package/core.d.ts.map +1 -1
  4. package/core.js +12 -3
  5. package/core.js.map +1 -1
  6. package/core.mjs +12 -3
  7. package/core.mjs.map +1 -1
  8. package/index.d.mts +3 -2
  9. package/index.d.ts +3 -2
  10. package/index.d.ts.map +1 -1
  11. package/index.js +4 -0
  12. package/index.js.map +1 -1
  13. package/index.mjs +4 -0
  14. package/index.mjs.map +1 -1
  15. package/internal/qs/formats.d.ts +6 -0
  16. package/internal/qs/formats.d.ts.map +1 -0
  17. package/internal/qs/formats.js +11 -0
  18. package/internal/qs/formats.js.map +1 -0
  19. package/internal/qs/formats.mjs +8 -0
  20. package/internal/qs/formats.mjs.map +1 -0
  21. package/internal/qs/index.d.ts +10 -0
  22. package/internal/qs/index.d.ts.map +1 -0
  23. package/internal/qs/index.js +14 -0
  24. package/internal/qs/index.js.map +1 -0
  25. package/internal/qs/index.mjs +10 -0
  26. package/internal/qs/index.mjs.map +1 -0
  27. package/internal/qs/stringify.d.ts +3 -0
  28. package/internal/qs/stringify.d.ts.map +1 -0
  29. package/internal/qs/stringify.js +280 -0
  30. package/internal/qs/stringify.js.map +1 -0
  31. package/internal/qs/stringify.mjs +276 -0
  32. package/internal/qs/stringify.mjs.map +1 -0
  33. package/internal/qs/types.d.ts +57 -0
  34. package/internal/qs/types.d.ts.map +1 -0
  35. package/internal/qs/types.js +3 -0
  36. package/internal/qs/types.js.map +1 -0
  37. package/internal/qs/types.mjs +2 -0
  38. package/internal/qs/types.mjs.map +1 -0
  39. package/internal/qs/utils.d.ts +14 -0
  40. package/internal/qs/utils.d.ts.map +1 -0
  41. package/internal/qs/utils.js +229 -0
  42. package/internal/qs/utils.js.map +1 -0
  43. package/internal/qs/utils.mjs +217 -0
  44. package/internal/qs/utils.mjs.map +1 -0
  45. package/package.json +1 -1
  46. package/resources/index.d.ts +1 -1
  47. package/resources/index.d.ts.map +1 -1
  48. package/resources/index.js.map +1 -1
  49. package/resources/index.mjs.map +1 -1
  50. package/resources/inference-pipelines/index.d.ts +1 -1
  51. package/resources/inference-pipelines/index.d.ts.map +1 -1
  52. package/resources/inference-pipelines/index.js.map +1 -1
  53. package/resources/inference-pipelines/index.mjs.map +1 -1
  54. package/resources/inference-pipelines/inference-pipelines.d.ts +238 -1
  55. package/resources/inference-pipelines/inference-pipelines.d.ts.map +1 -1
  56. package/resources/inference-pipelines/inference-pipelines.js +5 -5
  57. package/resources/inference-pipelines/inference-pipelines.js.map +1 -1
  58. package/resources/inference-pipelines/inference-pipelines.mjs +5 -5
  59. package/resources/inference-pipelines/inference-pipelines.mjs.map +1 -1
  60. package/resources/projects/inference-pipelines.d.ts +255 -0
  61. package/resources/projects/inference-pipelines.d.ts.map +1 -1
  62. package/src/core.ts +13 -3
  63. package/src/index.ts +7 -0
  64. package/src/internal/qs/LICENSE.md +13 -0
  65. package/src/internal/qs/README.md +3 -0
  66. package/src/internal/qs/formats.ts +9 -0
  67. package/src/internal/qs/index.ts +13 -0
  68. package/src/internal/qs/stringify.ts +388 -0
  69. package/src/internal/qs/types.ts +71 -0
  70. package/src/internal/qs/utils.ts +265 -0
  71. package/src/resources/index.ts +1 -0
  72. package/src/resources/inference-pipelines/index.ts +1 -0
  73. package/src/resources/inference-pipelines/inference-pipelines.ts +368 -1
  74. package/src/resources/projects/inference-pipelines.ts +381 -0
  75. package/src/version.ts +1 -1
  76. package/version.d.ts +1 -1
  77. package/version.d.ts.map +1 -1
  78. package/version.js +1 -1
  79. package/version.js.map +1 -1
  80. package/version.mjs +1 -1
  81. package/version.mjs.map +1 -1
@@ -109,12 +109,185 @@ export interface InferencePipelineCreateResponse {
109
109
  * The total number of tests.
110
110
  */
111
111
  totalGoalCount: number;
112
+
113
+ project?: InferencePipelineCreateResponse.Project | null;
114
+
115
+ workspace?: InferencePipelineCreateResponse.Workspace | null;
116
+
117
+ /**
118
+ * The workspace id.
119
+ */
120
+ workspaceId?: string;
112
121
  }
113
122
 
114
123
  export namespace InferencePipelineCreateResponse {
115
124
  export interface Links {
116
125
  app: string;
117
126
  }
127
+
128
+ export interface Project {
129
+ /**
130
+ * The project id.
131
+ */
132
+ id: string;
133
+
134
+ /**
135
+ * The project creator id.
136
+ */
137
+ creatorId: string | null;
138
+
139
+ /**
140
+ * The project creation date.
141
+ */
142
+ dateCreated: string;
143
+
144
+ /**
145
+ * The project last updated date.
146
+ */
147
+ dateUpdated: string;
148
+
149
+ /**
150
+ * The number of tests in the development mode of the project.
151
+ */
152
+ developmentGoalCount: number;
153
+
154
+ /**
155
+ * The total number of tests in the project.
156
+ */
157
+ goalCount: number;
158
+
159
+ /**
160
+ * The number of inference pipelines in the project.
161
+ */
162
+ inferencePipelineCount: number;
163
+
164
+ /**
165
+ * Links to the project.
166
+ */
167
+ links: Project.Links;
168
+
169
+ /**
170
+ * The number of tests in the monitoring mode of the project.
171
+ */
172
+ monitoringGoalCount: number;
173
+
174
+ /**
175
+ * The project name.
176
+ */
177
+ name: string;
178
+
179
+ /**
180
+ * The source of the project.
181
+ */
182
+ source: 'web' | 'api' | 'null' | null;
183
+
184
+ /**
185
+ * The task type of the project.
186
+ */
187
+ taskType: 'llm-base' | 'tabular-classification' | 'tabular-regression' | 'text-classification';
188
+
189
+ /**
190
+ * The number of versions (commits) in the project.
191
+ */
192
+ versionCount: number;
193
+
194
+ /**
195
+ * The workspace id.
196
+ */
197
+ workspaceId: string | null;
198
+
199
+ /**
200
+ * The project description.
201
+ */
202
+ description?: string | null;
203
+
204
+ gitRepo?: Project.GitRepo | null;
205
+ }
206
+
207
+ export namespace Project {
208
+ /**
209
+ * Links to the project.
210
+ */
211
+ export interface Links {
212
+ app: string;
213
+ }
214
+
215
+ export interface GitRepo {
216
+ id: string;
217
+
218
+ dateConnected: string;
219
+
220
+ dateUpdated: string;
221
+
222
+ gitAccountId: string;
223
+
224
+ gitId: number;
225
+
226
+ name: string;
227
+
228
+ private: boolean;
229
+
230
+ projectId: string;
231
+
232
+ slug: string;
233
+
234
+ url: string;
235
+
236
+ branch?: string;
237
+
238
+ rootDir?: string;
239
+ }
240
+ }
241
+
242
+ export interface Workspace {
243
+ id: string;
244
+
245
+ creatorId: string | null;
246
+
247
+ dateCreated: string;
248
+
249
+ dateUpdated: string;
250
+
251
+ inviteCount: number;
252
+
253
+ memberCount: number;
254
+
255
+ name: string;
256
+
257
+ periodEndDate: string | null;
258
+
259
+ periodStartDate: string | null;
260
+
261
+ projectCount: number;
262
+
263
+ slug: string;
264
+
265
+ status:
266
+ | 'active'
267
+ | 'past_due'
268
+ | 'unpaid'
269
+ | 'canceled'
270
+ | 'incomplete'
271
+ | 'incomplete_expired'
272
+ | 'trialing'
273
+ | 'paused';
274
+
275
+ monthlyUsage?: Array<Workspace.MonthlyUsage>;
276
+
277
+ samlOnlyAccess?: boolean;
278
+
279
+ wildcardDomains?: Array<string>;
280
+ }
281
+
282
+ export namespace Workspace {
283
+ export interface MonthlyUsage {
284
+ executionTimeMs?: number | null;
285
+
286
+ monthYear?: string;
287
+
288
+ predictionCount?: number;
289
+ }
290
+ }
118
291
  }
119
292
 
120
293
  export interface InferencePipelineListResponse {
@@ -194,12 +367,185 @@ export namespace InferencePipelineListResponse {
194
367
  * The total number of tests.
195
368
  */
196
369
  totalGoalCount: number;
370
+
371
+ project?: Item.Project | null;
372
+
373
+ workspace?: Item.Workspace | null;
374
+
375
+ /**
376
+ * The workspace id.
377
+ */
378
+ workspaceId?: string;
197
379
  }
198
380
 
199
381
  export namespace Item {
200
382
  export interface Links {
201
383
  app: string;
202
384
  }
385
+
386
+ export interface Project {
387
+ /**
388
+ * The project id.
389
+ */
390
+ id: string;
391
+
392
+ /**
393
+ * The project creator id.
394
+ */
395
+ creatorId: string | null;
396
+
397
+ /**
398
+ * The project creation date.
399
+ */
400
+ dateCreated: string;
401
+
402
+ /**
403
+ * The project last updated date.
404
+ */
405
+ dateUpdated: string;
406
+
407
+ /**
408
+ * The number of tests in the development mode of the project.
409
+ */
410
+ developmentGoalCount: number;
411
+
412
+ /**
413
+ * The total number of tests in the project.
414
+ */
415
+ goalCount: number;
416
+
417
+ /**
418
+ * The number of inference pipelines in the project.
419
+ */
420
+ inferencePipelineCount: number;
421
+
422
+ /**
423
+ * Links to the project.
424
+ */
425
+ links: Project.Links;
426
+
427
+ /**
428
+ * The number of tests in the monitoring mode of the project.
429
+ */
430
+ monitoringGoalCount: number;
431
+
432
+ /**
433
+ * The project name.
434
+ */
435
+ name: string;
436
+
437
+ /**
438
+ * The source of the project.
439
+ */
440
+ source: 'web' | 'api' | 'null' | null;
441
+
442
+ /**
443
+ * The task type of the project.
444
+ */
445
+ taskType: 'llm-base' | 'tabular-classification' | 'tabular-regression' | 'text-classification';
446
+
447
+ /**
448
+ * The number of versions (commits) in the project.
449
+ */
450
+ versionCount: number;
451
+
452
+ /**
453
+ * The workspace id.
454
+ */
455
+ workspaceId: string | null;
456
+
457
+ /**
458
+ * The project description.
459
+ */
460
+ description?: string | null;
461
+
462
+ gitRepo?: Project.GitRepo | null;
463
+ }
464
+
465
+ export namespace Project {
466
+ /**
467
+ * Links to the project.
468
+ */
469
+ export interface Links {
470
+ app: string;
471
+ }
472
+
473
+ export interface GitRepo {
474
+ id: string;
475
+
476
+ dateConnected: string;
477
+
478
+ dateUpdated: string;
479
+
480
+ gitAccountId: string;
481
+
482
+ gitId: number;
483
+
484
+ name: string;
485
+
486
+ private: boolean;
487
+
488
+ projectId: string;
489
+
490
+ slug: string;
491
+
492
+ url: string;
493
+
494
+ branch?: string;
495
+
496
+ rootDir?: string;
497
+ }
498
+ }
499
+
500
+ export interface Workspace {
501
+ id: string;
502
+
503
+ creatorId: string | null;
504
+
505
+ dateCreated: string;
506
+
507
+ dateUpdated: string;
508
+
509
+ inviteCount: number;
510
+
511
+ memberCount: number;
512
+
513
+ name: string;
514
+
515
+ periodEndDate: string | null;
516
+
517
+ periodStartDate: string | null;
518
+
519
+ projectCount: number;
520
+
521
+ slug: string;
522
+
523
+ status:
524
+ | 'active'
525
+ | 'past_due'
526
+ | 'unpaid'
527
+ | 'canceled'
528
+ | 'incomplete'
529
+ | 'incomplete_expired'
530
+ | 'trialing'
531
+ | 'paused';
532
+
533
+ monthlyUsage?: Array<Workspace.MonthlyUsage>;
534
+
535
+ samlOnlyAccess?: boolean;
536
+
537
+ wildcardDomains?: Array<string>;
538
+ }
539
+
540
+ export namespace Workspace {
541
+ export interface MonthlyUsage {
542
+ executionTimeMs?: number | null;
543
+
544
+ monthYear?: string;
545
+
546
+ predictionCount?: number;
547
+ }
548
+ }
203
549
  }
204
550
  }
205
551
 
@@ -213,6 +559,41 @@ export interface InferencePipelineCreateParams {
213
559
  * The inference pipeline name.
214
560
  */
215
561
  name: string;
562
+
563
+ project?: InferencePipelineCreateParams.Project | null;
564
+
565
+ workspace?: InferencePipelineCreateParams.Workspace | null;
566
+ }
567
+
568
+ export namespace InferencePipelineCreateParams {
569
+ export interface Project {
570
+ /**
571
+ * The project name.
572
+ */
573
+ name: string;
574
+
575
+ /**
576
+ * The task type of the project.
577
+ */
578
+ taskType: 'llm-base' | 'tabular-classification' | 'tabular-regression' | 'text-classification';
579
+
580
+ /**
581
+ * The project description.
582
+ */
583
+ description?: string | null;
584
+ }
585
+
586
+ export interface Workspace {
587
+ name: string;
588
+
589
+ slug: string;
590
+
591
+ inviteCode?: string;
592
+
593
+ samlOnlyAccess?: boolean;
594
+
595
+ wildcardDomains?: Array<string>;
596
+ }
216
597
  }
217
598
 
218
599
  export interface InferencePipelineListParams {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.9.4'; // x-release-please-version
1
+ export const VERSION = '0.10.1'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.9.4";
1
+ export declare const VERSION = "0.10.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.9.4'; // x-release-please-version
4
+ exports.VERSION = '0.10.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.9.4'; // x-release-please-version
1
+ export const VERSION = '0.10.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
package/version.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
1
+ {"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}