@relevanceai/sdk 1.38.0 → 1.39.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.
@@ -70,6 +70,14 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
70
70
  options
71
71
  });
72
72
  }
73
+ async TransferProjectToOrganization(input, options) {
74
+ return this.SendRequest({
75
+ input,
76
+ method: 'post',
77
+ path: '/projects/transfer_to_organization',
78
+ options
79
+ });
80
+ }
73
81
  async ListProjects(input, options) {
74
82
  return this.SendRequest({
75
83
  input,
@@ -270,6 +278,14 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
270
278
  options
271
279
  });
272
280
  }
281
+ async ListCentroidConfigs(input, options) {
282
+ return this.SendRequest({
283
+ input,
284
+ method: 'get',
285
+ path: '/datasets/{dataset_id}/cluster/centroids/configs/list',
286
+ options
287
+ });
288
+ }
273
289
  async DeleteCentroid(input, options) {
274
290
  return this.SendRequest({
275
291
  input,
@@ -318,6 +334,78 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
318
334
  options
319
335
  });
320
336
  }
337
+ async CreateOrganization(input, options) {
338
+ return this.SendRequest({
339
+ input,
340
+ method: 'post',
341
+ path: '/organizations/create',
342
+ options
343
+ });
344
+ }
345
+ async UpdateOrganization(input, options) {
346
+ return this.SendRequest({
347
+ input,
348
+ method: 'post',
349
+ path: '/organizations/{organization_id}/update',
350
+ options
351
+ });
352
+ }
353
+ async UpdateOrganizationAdmin(input, options) {
354
+ return this.SendRequest({
355
+ input,
356
+ method: 'post',
357
+ path: '/admin/organizations/{organization_id}/update',
358
+ options
359
+ });
360
+ }
361
+ async ListOrganizations(input, options) {
362
+ return this.SendRequest({
363
+ input,
364
+ method: 'get',
365
+ path: '/organizations/list',
366
+ options
367
+ });
368
+ }
369
+ async DeleteOrganization(input, options) {
370
+ return this.SendRequest({
371
+ input,
372
+ method: 'post',
373
+ path: '/organizations/{organization_id}/delete',
374
+ options
375
+ });
376
+ }
377
+ async GetOrganization(input, options) {
378
+ return this.SendRequest({
379
+ input,
380
+ method: 'get',
381
+ path: '/organizations/{organization_id}/get',
382
+ options
383
+ });
384
+ }
385
+ async GetOrganizationUsage(input, options) {
386
+ return this.SendRequest({
387
+ input,
388
+ method: 'get',
389
+ path: '/organizations/{organization_id}/usage/get',
390
+ options
391
+ });
392
+ }
393
+ async ListUsersInOrganization(input, options) {
394
+ return this.SendRequest({
395
+ input,
396
+ method: 'get',
397
+ path: '/organizations/{organization_id}/users/list',
398
+ options
399
+ });
400
+ }
401
+ async ListProjectsInOrganization(input, options) {
402
+ return this.SendRequest({
403
+ input,
404
+ method: 'get',
405
+ path: '/organizations/{organization_id}/projects/list',
406
+ options
407
+ });
408
+ }
321
409
  async Insert(input, options) {
322
410
  return this.SendRequest({
323
411
  input,
@@ -710,6 +798,14 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
710
798
  options
711
799
  });
712
800
  }
801
+ async DeleteWorkflowStatus(input, options) {
802
+ return this.SendRequest({
803
+ input,
804
+ method: 'post',
805
+ path: '/workflows/{workflow_id}/delete',
806
+ options
807
+ });
808
+ }
713
809
  async UpsertWorkflowMetadata(input, options) {
714
810
  return this.SendRequest({
715
811
  input,
@@ -718,5 +814,53 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
718
814
  options
719
815
  });
720
816
  }
817
+ async DeleteFieldChildren(input, options) {
818
+ return this.SendRequest({
819
+ input,
820
+ method: 'post',
821
+ path: '/datasets/{dataset_id}/field_children/{fieldchildren_id}/delete',
822
+ options
823
+ });
824
+ }
825
+ async ListFieldChildrens(input, options) {
826
+ return this.SendRequest({
827
+ input,
828
+ method: 'post',
829
+ path: '/datasets/{dataset_id}/field_children/{fieldchildren_id}/list',
830
+ options
831
+ });
832
+ }
833
+ async UpdateFieldChildren(input, options) {
834
+ return this.SendRequest({
835
+ input,
836
+ method: 'post',
837
+ path: '/datasets/{dataset_id}/field_children/{fieldchildren_id}/update',
838
+ options
839
+ });
840
+ }
841
+ async DeleteFavouriteWorkflow(input, options) {
842
+ return this.SendRequest({
843
+ input,
844
+ method: 'post',
845
+ path: '/workflows/favourites/{favouriteworkflow_id}/delete',
846
+ options
847
+ });
848
+ }
849
+ async ListFavouriteWorkflows(input, options) {
850
+ return this.SendRequest({
851
+ input,
852
+ method: 'post',
853
+ path: '/workflows/favourites/{favouriteworkflow_id}/list',
854
+ options
855
+ });
856
+ }
857
+ async UpdateFavouriteWorkflow(input, options) {
858
+ return this.SendRequest({
859
+ input,
860
+ method: 'post',
861
+ path: '/workflows/favourites/{favouriteworkflow_id}/update',
862
+ options
863
+ });
864
+ }
721
865
  }
722
866
  exports.DiscoveryApiClient = DiscoveryApiClient;
@@ -162,6 +162,18 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
162
162
  });
163
163
  });
164
164
  };
165
+ DiscoveryApiClient.prototype.TransferProjectToOrganization = function (input, options) {
166
+ return __awaiter(this, void 0, void 0, function () {
167
+ return __generator(this, function (_a) {
168
+ return [2 /*return*/, this.SendRequest({
169
+ input: input,
170
+ method: 'post',
171
+ path: '/projects/transfer_to_organization',
172
+ options: options
173
+ })];
174
+ });
175
+ });
176
+ };
165
177
  DiscoveryApiClient.prototype.ListProjects = function (input, options) {
166
178
  return __awaiter(this, void 0, void 0, function () {
167
179
  return __generator(this, function (_a) {
@@ -462,6 +474,18 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
462
474
  });
463
475
  });
464
476
  };
477
+ DiscoveryApiClient.prototype.ListCentroidConfigs = function (input, options) {
478
+ return __awaiter(this, void 0, void 0, function () {
479
+ return __generator(this, function (_a) {
480
+ return [2 /*return*/, this.SendRequest({
481
+ input: input,
482
+ method: 'get',
483
+ path: '/datasets/{dataset_id}/cluster/centroids/configs/list',
484
+ options: options
485
+ })];
486
+ });
487
+ });
488
+ };
465
489
  DiscoveryApiClient.prototype.DeleteCentroid = function (input, options) {
466
490
  return __awaiter(this, void 0, void 0, function () {
467
491
  return __generator(this, function (_a) {
@@ -534,6 +558,114 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
534
558
  });
535
559
  });
536
560
  };
561
+ DiscoveryApiClient.prototype.CreateOrganization = function (input, options) {
562
+ return __awaiter(this, void 0, void 0, function () {
563
+ return __generator(this, function (_a) {
564
+ return [2 /*return*/, this.SendRequest({
565
+ input: input,
566
+ method: 'post',
567
+ path: '/organizations/create',
568
+ options: options
569
+ })];
570
+ });
571
+ });
572
+ };
573
+ DiscoveryApiClient.prototype.UpdateOrganization = function (input, options) {
574
+ return __awaiter(this, void 0, void 0, function () {
575
+ return __generator(this, function (_a) {
576
+ return [2 /*return*/, this.SendRequest({
577
+ input: input,
578
+ method: 'post',
579
+ path: '/organizations/{organization_id}/update',
580
+ options: options
581
+ })];
582
+ });
583
+ });
584
+ };
585
+ DiscoveryApiClient.prototype.UpdateOrganizationAdmin = function (input, options) {
586
+ return __awaiter(this, void 0, void 0, function () {
587
+ return __generator(this, function (_a) {
588
+ return [2 /*return*/, this.SendRequest({
589
+ input: input,
590
+ method: 'post',
591
+ path: '/admin/organizations/{organization_id}/update',
592
+ options: options
593
+ })];
594
+ });
595
+ });
596
+ };
597
+ DiscoveryApiClient.prototype.ListOrganizations = function (input, options) {
598
+ return __awaiter(this, void 0, void 0, function () {
599
+ return __generator(this, function (_a) {
600
+ return [2 /*return*/, this.SendRequest({
601
+ input: input,
602
+ method: 'get',
603
+ path: '/organizations/list',
604
+ options: options
605
+ })];
606
+ });
607
+ });
608
+ };
609
+ DiscoveryApiClient.prototype.DeleteOrganization = function (input, options) {
610
+ return __awaiter(this, void 0, void 0, function () {
611
+ return __generator(this, function (_a) {
612
+ return [2 /*return*/, this.SendRequest({
613
+ input: input,
614
+ method: 'post',
615
+ path: '/organizations/{organization_id}/delete',
616
+ options: options
617
+ })];
618
+ });
619
+ });
620
+ };
621
+ DiscoveryApiClient.prototype.GetOrganization = function (input, options) {
622
+ return __awaiter(this, void 0, void 0, function () {
623
+ return __generator(this, function (_a) {
624
+ return [2 /*return*/, this.SendRequest({
625
+ input: input,
626
+ method: 'get',
627
+ path: '/organizations/{organization_id}/get',
628
+ options: options
629
+ })];
630
+ });
631
+ });
632
+ };
633
+ DiscoveryApiClient.prototype.GetOrganizationUsage = function (input, options) {
634
+ return __awaiter(this, void 0, void 0, function () {
635
+ return __generator(this, function (_a) {
636
+ return [2 /*return*/, this.SendRequest({
637
+ input: input,
638
+ method: 'get',
639
+ path: '/organizations/{organization_id}/usage/get',
640
+ options: options
641
+ })];
642
+ });
643
+ });
644
+ };
645
+ DiscoveryApiClient.prototype.ListUsersInOrganization = function (input, options) {
646
+ return __awaiter(this, void 0, void 0, function () {
647
+ return __generator(this, function (_a) {
648
+ return [2 /*return*/, this.SendRequest({
649
+ input: input,
650
+ method: 'get',
651
+ path: '/organizations/{organization_id}/users/list',
652
+ options: options
653
+ })];
654
+ });
655
+ });
656
+ };
657
+ DiscoveryApiClient.prototype.ListProjectsInOrganization = function (input, options) {
658
+ return __awaiter(this, void 0, void 0, function () {
659
+ return __generator(this, function (_a) {
660
+ return [2 /*return*/, this.SendRequest({
661
+ input: input,
662
+ method: 'get',
663
+ path: '/organizations/{organization_id}/projects/list',
664
+ options: options
665
+ })];
666
+ });
667
+ });
668
+ };
537
669
  DiscoveryApiClient.prototype.Insert = function (input, options) {
538
670
  return __awaiter(this, void 0, void 0, function () {
539
671
  return __generator(this, function (_a) {
@@ -1122,6 +1254,18 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
1122
1254
  });
1123
1255
  });
1124
1256
  };
1257
+ DiscoveryApiClient.prototype.DeleteWorkflowStatus = function (input, options) {
1258
+ return __awaiter(this, void 0, void 0, function () {
1259
+ return __generator(this, function (_a) {
1260
+ return [2 /*return*/, this.SendRequest({
1261
+ input: input,
1262
+ method: 'post',
1263
+ path: '/workflows/{workflow_id}/delete',
1264
+ options: options
1265
+ })];
1266
+ });
1267
+ });
1268
+ };
1125
1269
  DiscoveryApiClient.prototype.UpsertWorkflowMetadata = function (input, options) {
1126
1270
  return __awaiter(this, void 0, void 0, function () {
1127
1271
  return __generator(this, function (_a) {
@@ -1134,6 +1278,78 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
1134
1278
  });
1135
1279
  });
1136
1280
  };
1281
+ DiscoveryApiClient.prototype.DeleteFieldChildren = function (input, options) {
1282
+ return __awaiter(this, void 0, void 0, function () {
1283
+ return __generator(this, function (_a) {
1284
+ return [2 /*return*/, this.SendRequest({
1285
+ input: input,
1286
+ method: 'post',
1287
+ path: '/datasets/{dataset_id}/field_children/{fieldchildren_id}/delete',
1288
+ options: options
1289
+ })];
1290
+ });
1291
+ });
1292
+ };
1293
+ DiscoveryApiClient.prototype.ListFieldChildrens = function (input, options) {
1294
+ return __awaiter(this, void 0, void 0, function () {
1295
+ return __generator(this, function (_a) {
1296
+ return [2 /*return*/, this.SendRequest({
1297
+ input: input,
1298
+ method: 'post',
1299
+ path: '/datasets/{dataset_id}/field_children/{fieldchildren_id}/list',
1300
+ options: options
1301
+ })];
1302
+ });
1303
+ });
1304
+ };
1305
+ DiscoveryApiClient.prototype.UpdateFieldChildren = function (input, options) {
1306
+ return __awaiter(this, void 0, void 0, function () {
1307
+ return __generator(this, function (_a) {
1308
+ return [2 /*return*/, this.SendRequest({
1309
+ input: input,
1310
+ method: 'post',
1311
+ path: '/datasets/{dataset_id}/field_children/{fieldchildren_id}/update',
1312
+ options: options
1313
+ })];
1314
+ });
1315
+ });
1316
+ };
1317
+ DiscoveryApiClient.prototype.DeleteFavouriteWorkflow = function (input, options) {
1318
+ return __awaiter(this, void 0, void 0, function () {
1319
+ return __generator(this, function (_a) {
1320
+ return [2 /*return*/, this.SendRequest({
1321
+ input: input,
1322
+ method: 'post',
1323
+ path: '/workflows/favourites/{favouriteworkflow_id}/delete',
1324
+ options: options
1325
+ })];
1326
+ });
1327
+ });
1328
+ };
1329
+ DiscoveryApiClient.prototype.ListFavouriteWorkflows = function (input, options) {
1330
+ return __awaiter(this, void 0, void 0, function () {
1331
+ return __generator(this, function (_a) {
1332
+ return [2 /*return*/, this.SendRequest({
1333
+ input: input,
1334
+ method: 'post',
1335
+ path: '/workflows/favourites/{favouriteworkflow_id}/list',
1336
+ options: options
1337
+ })];
1338
+ });
1339
+ });
1340
+ };
1341
+ DiscoveryApiClient.prototype.UpdateFavouriteWorkflow = function (input, options) {
1342
+ return __awaiter(this, void 0, void 0, function () {
1343
+ return __generator(this, function (_a) {
1344
+ return [2 /*return*/, this.SendRequest({
1345
+ input: input,
1346
+ method: 'post',
1347
+ path: '/workflows/favourites/{favouriteworkflow_id}/update',
1348
+ options: options
1349
+ })];
1350
+ });
1351
+ });
1352
+ };
1137
1353
  return DiscoveryApiClient;
1138
1354
  }(_GenericClient));
1139
1355
  export { DiscoveryApiClient };
@@ -16,6 +16,8 @@ export declare type ListDeployablesInput = {};
16
16
  export declare type ListDeployablesOutput = operations['ListDeployables']['responses']['200']['content']['application/json'];
17
17
  export declare type UpdateProjectInput = operations['UpdateProject']['requestBody']['content']['application/json'];
18
18
  export declare type UpdateProjectOutput = operations['UpdateProject']['responses']['200']['content']['application/json'];
19
+ export declare type TransferProjectToOrganizationInput = operations['TransferProjectToOrganization']['requestBody']['content']['application/json'];
20
+ export declare type TransferProjectToOrganizationOutput = operations['TransferProjectToOrganization']['responses']['200']['content']['application/json'];
19
21
  export declare type ListProjectsInput = {};
20
22
  export declare type ListProjectsOutput = operations['ListProjects']['responses']['200']['content']['application/json'];
21
23
  export declare type CreateUserInput = operations['CreateUser']['requestBody']['content']['application/json'];
@@ -66,6 +68,8 @@ export declare type ListFurthestFromCentroidsInput = operations['ListFurthestFro
66
68
  export declare type ListFurthestFromCentroidsOutput = operations['ListFurthestFromCentroids']['responses']['200']['content']['application/json'];
67
69
  export declare type ListCentroidsInput = operations['ListCentroids']['requestBody']['content']['application/json'];
68
70
  export declare type ListCentroidsOutput = operations['ListCentroids']['responses']['200']['content']['application/json'];
71
+ export declare type ListCentroidConfigsInput = {};
72
+ export declare type ListCentroidConfigsOutput = operations['ListCentroidConfigs']['responses']['200']['content']['application/json'];
69
73
  export declare type DeleteCentroidInput = operations['DeleteCentroid']['requestBody']['content']['application/json'];
70
74
  export declare type DeleteCentroidOutput = operations['DeleteCentroid']['responses']['200']['content']['application/json'];
71
75
  export declare type RealtimeClusteringInput = operations['RealtimeClustering']['requestBody']['content']['application/json'];
@@ -78,6 +82,24 @@ export declare type ListClusterSummariesInput = operations['ListClusterSummaries
78
82
  export declare type ListClusterSummariesOutput = operations['ListClusterSummaries']['responses']['200']['content']['application/json'];
79
83
  export declare type DeleteClusterSummariesInput = operations['DeleteClusterSummaries']['requestBody']['content']['application/json'];
80
84
  export declare type DeleteClusterSummariesOutput = operations['DeleteClusterSummaries']['responses']['200']['content']['application/json'];
85
+ export declare type CreateOrganizationInput = operations['CreateOrganization']['requestBody']['content']['application/json'];
86
+ export declare type CreateOrganizationOutput = operations['CreateOrganization']['responses']['200']['content']['application/json'];
87
+ export declare type UpdateOrganizationInput = operations['UpdateOrganization']['requestBody']['content']['application/json'];
88
+ export declare type UpdateOrganizationOutput = operations['UpdateOrganization']['responses']['200']['content']['application/json'];
89
+ export declare type UpdateOrganizationAdminInput = operations['UpdateOrganizationAdmin']['requestBody']['content']['application/json'];
90
+ export declare type UpdateOrganizationAdminOutput = operations['UpdateOrganizationAdmin']['responses']['200']['content']['application/json'];
91
+ export declare type ListOrganizationsInput = {};
92
+ export declare type ListOrganizationsOutput = operations['ListOrganizations']['responses']['200']['content']['application/json'];
93
+ export declare type DeleteOrganizationInput = operations['DeleteOrganization']['requestBody']['content']['application/json'];
94
+ export declare type DeleteOrganizationOutput = operations['DeleteOrganization']['responses']['200']['content']['application/json'];
95
+ export declare type GetOrganizationInput = {};
96
+ export declare type GetOrganizationOutput = operations['GetOrganization']['responses']['200']['content']['application/json'];
97
+ export declare type GetOrganizationUsageInput = {};
98
+ export declare type GetOrganizationUsageOutput = operations['GetOrganizationUsage']['responses']['200']['content']['application/json'];
99
+ export declare type ListUsersInOrganizationInput = {};
100
+ export declare type ListUsersInOrganizationOutput = operations['ListUsersInOrganization']['responses']['200']['content']['application/json'];
101
+ export declare type ListProjectsInOrganizationInput = {};
102
+ export declare type ListProjectsInOrganizationOutput = operations['ListProjectsInOrganization']['responses']['200']['content']['application/json'];
81
103
  export declare type InsertInput = operations['Insert']['requestBody']['content']['application/json'];
82
104
  export declare type InsertOutput = operations['Insert']['responses']['200']['content']['application/json'];
83
105
  export declare type BulkInsertInput = operations['BulkInsert']['requestBody']['content']['application/json'];
@@ -176,8 +198,22 @@ export declare type ListWorkflowsInput = {};
176
198
  export declare type ListWorkflowsOutput = operations['ListWorkflows']['responses']['200']['content']['application/json'];
177
199
  export declare type GetWorkflowStatusInput = operations['GetWorkflowStatus']['requestBody']['content']['application/json'];
178
200
  export declare type GetWorkflowStatusOutput = operations['GetWorkflowStatus']['responses']['200']['content']['application/json'];
201
+ export declare type DeleteWorkflowStatusInput = operations['DeleteWorkflowStatus']['requestBody']['content']['application/json'];
202
+ export declare type DeleteWorkflowStatusOutput = operations['DeleteWorkflowStatus']['responses']['200']['content']['application/json'];
179
203
  export declare type UpsertWorkflowMetadataInput = operations['UpsertWorkflowMetadata']['requestBody']['content']['application/json'];
180
204
  export declare type UpsertWorkflowMetadataOutput = operations['UpsertWorkflowMetadata']['responses']['200']['content']['application/json'];
205
+ export declare type DeleteFieldChildrenInput = operations['DeleteFieldChildren']['requestBody']['content']['application/json'];
206
+ export declare type DeleteFieldChildrenOutput = operations['DeleteFieldChildren']['responses']['200']['content']['application/json'];
207
+ export declare type ListFieldChildrensInput = operations['ListFieldChildrens']['requestBody']['content']['application/json'];
208
+ export declare type ListFieldChildrensOutput = operations['ListFieldChildrens']['responses']['200']['content']['application/json'];
209
+ export declare type UpdateFieldChildrenInput = operations['UpdateFieldChildren']['requestBody']['content']['application/json'];
210
+ export declare type UpdateFieldChildrenOutput = operations['UpdateFieldChildren']['responses']['200']['content']['application/json'];
211
+ export declare type DeleteFavouriteWorkflowInput = operations['DeleteFavouriteWorkflow']['requestBody']['content']['application/json'];
212
+ export declare type DeleteFavouriteWorkflowOutput = operations['DeleteFavouriteWorkflow']['responses']['200']['content']['application/json'];
213
+ export declare type ListFavouriteWorkflowsInput = operations['ListFavouriteWorkflows']['requestBody']['content']['application/json'];
214
+ export declare type ListFavouriteWorkflowsOutput = operations['ListFavouriteWorkflows']['responses']['200']['content']['application/json'];
215
+ export declare type UpdateFavouriteWorkflowInput = operations['UpdateFavouriteWorkflow']['requestBody']['content']['application/json'];
216
+ export declare type UpdateFavouriteWorkflowOutput = operations['UpdateFavouriteWorkflow']['responses']['200']['content']['application/json'];
181
217
  export declare class DiscoveryApiClient extends _GenericClient {
182
218
  constructor(config: _ClientInput);
183
219
  CreateDeployable(input: CommandInput<CreateDeployableInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateDeployableOutput>>;
@@ -188,6 +224,7 @@ export declare class DiscoveryApiClient extends _GenericClient {
188
224
  DeleteDeployableKey(input: CommandInput<DeleteDeployableKeyInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteDeployableKeyOutput>>;
189
225
  ListDeployables(input: CommandInput<ListDeployablesInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListDeployablesOutput>>;
190
226
  UpdateProject(input: CommandInput<UpdateProjectInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateProjectOutput>>;
227
+ TransferProjectToOrganization(input: CommandInput<TransferProjectToOrganizationInput>, options?: _GenericMethodOptions): Promise<CommandOutput<TransferProjectToOrganizationOutput>>;
191
228
  ListProjects(input: CommandInput<ListProjectsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListProjectsOutput>>;
192
229
  CreateUser(input: CommandInput<CreateUserInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateUserOutput>>;
193
230
  ListUsers(input: CommandInput<ListUsersInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListUsersOutput>>;
@@ -213,12 +250,22 @@ export declare class DiscoveryApiClient extends _GenericClient {
213
250
  ListClosestToCentroids(input: CommandInput<ListClosestToCentroidsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListClosestToCentroidsOutput>>;
214
251
  ListFurthestFromCentroids(input: CommandInput<ListFurthestFromCentroidsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListFurthestFromCentroidsOutput>>;
215
252
  ListCentroids(input: CommandInput<ListCentroidsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListCentroidsOutput>>;
253
+ ListCentroidConfigs(input: CommandInput<ListCentroidConfigsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListCentroidConfigsOutput>>;
216
254
  DeleteCentroid(input: CommandInput<DeleteCentroidInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteCentroidOutput>>;
217
255
  RealtimeClustering(input: CommandInput<RealtimeClusteringInput>, options?: _GenericMethodOptions): Promise<CommandOutput<RealtimeClusteringOutput>>;
218
256
  MergeClusters(input: CommandInput<MergeClustersInput>, options?: _GenericMethodOptions): Promise<CommandOutput<MergeClustersOutput>>;
219
257
  CreateClusterSummaries(input: CommandInput<CreateClusterSummariesInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateClusterSummariesOutput>>;
220
258
  ListClusterSummaries(input: CommandInput<ListClusterSummariesInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListClusterSummariesOutput>>;
221
259
  DeleteClusterSummaries(input: CommandInput<DeleteClusterSummariesInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteClusterSummariesOutput>>;
260
+ CreateOrganization(input: CommandInput<CreateOrganizationInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateOrganizationOutput>>;
261
+ UpdateOrganization(input: CommandInput<UpdateOrganizationInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateOrganizationOutput>>;
262
+ UpdateOrganizationAdmin(input: CommandInput<UpdateOrganizationAdminInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateOrganizationAdminOutput>>;
263
+ ListOrganizations(input: CommandInput<ListOrganizationsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListOrganizationsOutput>>;
264
+ DeleteOrganization(input: CommandInput<DeleteOrganizationInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteOrganizationOutput>>;
265
+ GetOrganization(input: CommandInput<GetOrganizationInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetOrganizationOutput>>;
266
+ GetOrganizationUsage(input: CommandInput<GetOrganizationUsageInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetOrganizationUsageOutput>>;
267
+ ListUsersInOrganization(input: CommandInput<ListUsersInOrganizationInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListUsersInOrganizationOutput>>;
268
+ ListProjectsInOrganization(input: CommandInput<ListProjectsInOrganizationInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListProjectsInOrganizationOutput>>;
222
269
  Insert(input: CommandInput<InsertInput>, options?: _GenericMethodOptions): Promise<CommandOutput<InsertOutput>>;
223
270
  BulkInsert(input: CommandInput<BulkInsertInput>, options?: _GenericMethodOptions): Promise<CommandOutput<BulkInsertOutput>>;
224
271
  GetFileUploadUrlsForDataset(input: CommandInput<GetFileUploadUrlsForDatasetInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetFileUploadUrlsForDatasetOutput>>;
@@ -268,5 +315,12 @@ export declare class DiscoveryApiClient extends _GenericClient {
268
315
  TriggerWorkflow(input: CommandInput<TriggerWorkflowInput>, options?: _GenericMethodOptions): Promise<CommandOutput<TriggerWorkflowOutput>>;
269
316
  ListWorkflows(input: CommandInput<ListWorkflowsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListWorkflowsOutput>>;
270
317
  GetWorkflowStatus(input: CommandInput<GetWorkflowStatusInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetWorkflowStatusOutput>>;
318
+ DeleteWorkflowStatus(input: CommandInput<DeleteWorkflowStatusInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteWorkflowStatusOutput>>;
271
319
  UpsertWorkflowMetadata(input: CommandInput<UpsertWorkflowMetadataInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpsertWorkflowMetadataOutput>>;
320
+ DeleteFieldChildren(input: CommandInput<DeleteFieldChildrenInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteFieldChildrenOutput>>;
321
+ ListFieldChildrens(input: CommandInput<ListFieldChildrensInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListFieldChildrensOutput>>;
322
+ UpdateFieldChildren(input: CommandInput<UpdateFieldChildrenInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateFieldChildrenOutput>>;
323
+ DeleteFavouriteWorkflow(input: CommandInput<DeleteFavouriteWorkflowInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteFavouriteWorkflowOutput>>;
324
+ ListFavouriteWorkflows(input: CommandInput<ListFavouriteWorkflowsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListFavouriteWorkflowsOutput>>;
325
+ UpdateFavouriteWorkflow(input: CommandInput<UpdateFavouriteWorkflowInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateFavouriteWorkflowOutput>>;
272
326
  }
@@ -37,6 +37,10 @@ export interface paths {
37
37
  /** Update metadata of a Project */
38
38
  post: operations["UpdateProject"];
39
39
  };
40
+ "/projects/transfer_to_organization": {
41
+ /** Tie a project to an organization. This requires admin privileges over project and organization. */
42
+ post: operations["TransferProjectToOrganization"];
43
+ };
40
44
  "/projects/list": {
41
45
  /** List all projects and their metadata */
42
46
  get: operations["ListProjects"];
@@ -180,6 +184,10 @@ export interface paths {
180
184
  /** List centroids, optionally filtering by their ids. */
181
185
  post: operations["ListCentroids"];
182
186
  };
187
+ "/datasets/{dataset_id}/cluster/centroids/configs/list": {
188
+ /** List centroids configs for a dataset. */
189
+ get: operations["ListCentroidConfigs"];
190
+ };
183
191
  "/datasets/{dataset_id}/cluster/centroids/{centroid_id}/delete": {
184
192
  /** Delete a centroid by ID */
185
193
  post: operations["DeleteCentroid"];
@@ -199,6 +207,34 @@ export interface paths {
199
207
  "/datasets/{dataset_id}/cluster/centroids/summaries/bulk_delete": {
200
208
  post: operations["DeleteClusterSummaries"];
201
209
  };
210
+ "/organizations/create": {
211
+ post: operations["CreateOrganization"];
212
+ };
213
+ "/organizations/{organization_id}/update": {
214
+ post: operations["UpdateOrganization"];
215
+ };
216
+ "/admin/organizations/{organization_id}/update": {
217
+ post: operations["UpdateOrganizationAdmin"];
218
+ };
219
+ "/organizations/list": {
220
+ /** List all organizations and their metadata */
221
+ get: operations["ListOrganizations"];
222
+ };
223
+ "/organizations/{organization_id}/delete": {
224
+ post: operations["DeleteOrganization"];
225
+ };
226
+ "/organizations/{organization_id}/get": {
227
+ get: operations["GetOrganization"];
228
+ };
229
+ "/organizations/{organization_id}/usage/get": {
230
+ get: operations["GetOrganizationUsage"];
231
+ };
232
+ "/organizations/{organization_id}/users/list": {
233
+ get: operations["ListUsersInOrganization"];
234
+ };
235
+ "/organizations/{organization_id}/projects/list": {
236
+ get: operations["ListProjectsInOrganization"];
237
+ };
202
238
  "/datasets/{dataset_id}/documents/insert": {
203
239
  /**
204
240
  * When inserting the document you can specify your own id for a document by using the field name **"\_id"**.
@@ -487,10 +523,31 @@ export interface paths {
487
523
  "/workflows/{workflow_id}/get": {
488
524
  post: operations["GetWorkflowStatus"];
489
525
  };
526
+ "/workflows/{workflow_id}/delete": {
527
+ post: operations["DeleteWorkflowStatus"];
528
+ };
490
529
  "/workflows/{workflow_id}/metadata": {
491
530
  /** Update metadata for a workflow run */
492
531
  post: operations["UpsertWorkflowMetadata"];
493
532
  };
533
+ "/datasets/{dataset_id}/field_children/{fieldchildren_id}/delete": {
534
+ post: operations["DeleteFieldChildren"];
535
+ };
536
+ "/datasets/{dataset_id}/field_children/{fieldchildren_id}/list": {
537
+ post: operations["ListFieldChildrens"];
538
+ };
539
+ "/datasets/{dataset_id}/field_children/{fieldchildren_id}/update": {
540
+ post: operations["UpdateFieldChildren"];
541
+ };
542
+ "/workflows/favourites/{favouriteworkflow_id}/delete": {
543
+ post: operations["DeleteFavouriteWorkflow"];
544
+ };
545
+ "/workflows/favourites/{favouriteworkflow_id}/list": {
546
+ post: operations["ListFavouriteWorkflows"];
547
+ };
548
+ "/workflows/favourites/{favouriteworkflow_id}/update": {
549
+ post: operations["UpdateFavouriteWorkflow"];
550
+ };
494
551
  }
495
552
  export interface components {
496
553
  schemas: {
@@ -585,6 +642,11 @@ export interface components {
585
642
  status: string;
586
643
  message: string;
587
644
  };
645
+ TransferProjectToOrganizationInput: {
646
+ /** @description The ID of the organization. */
647
+ organization_id: string;
648
+ };
649
+ TransferProjectToOrganizationOutput: unknown;
588
650
  ListProjectsInput: unknown;
589
651
  ListProjectsOutput: {
590
652
  projects: {
@@ -628,8 +690,11 @@ export interface components {
628
690
  last_name?: string;
629
691
  role?: string;
630
692
  company?: string;
631
- referral_code?: string;
632
693
  permissions?: components["schemas"]["permissions"];
694
+ organization_permissions?: {
695
+ [key: string]: components["schemas"]["permissions"];
696
+ };
697
+ referral_code?: string;
633
698
  /** @description The name of the project. This will contain all your datasets. */
634
699
  project?: string;
635
700
  /** @description The id token for a signed in account. This attaches the sign in account to the user. */
@@ -680,6 +745,31 @@ export interface components {
680
745
  };
681
746
  };
682
747
  };
748
+ organizations?: {
749
+ [key: string]: {
750
+ items: {
751
+ [key: string]: {
752
+ resources?: {
753
+ datasets?: {
754
+ [key: string]: boolean;
755
+ };
756
+ deployables?: {
757
+ [key: string]: boolean;
758
+ };
759
+ users?: {
760
+ [key: string]: boolean;
761
+ };
762
+ workflows?: {
763
+ [key: string]: boolean;
764
+ };
765
+ };
766
+ actions?: {
767
+ [key: string]: boolean;
768
+ };
769
+ };
770
+ };
771
+ };
772
+ };
683
773
  };
684
774
  type: "user" | "machine";
685
775
  _id: string;
@@ -689,6 +779,9 @@ export interface components {
689
779
  };
690
780
  IsUserAuthorizedInput: {
691
781
  permissions?: components["schemas"]["permissions"];
782
+ organization_permissions?: {
783
+ [key: string]: components["schemas"]["permissions"];
784
+ };
692
785
  };
693
786
  IsUserAuthorizedOutput: {
694
787
  valid: boolean;
@@ -721,6 +814,31 @@ export interface components {
721
814
  };
722
815
  };
723
816
  };
817
+ organizations?: {
818
+ [key: string]: {
819
+ items: {
820
+ [key: string]: {
821
+ resources?: {
822
+ datasets?: {
823
+ [key: string]: boolean;
824
+ };
825
+ deployables?: {
826
+ [key: string]: boolean;
827
+ };
828
+ users?: {
829
+ [key: string]: boolean;
830
+ };
831
+ workflows?: {
832
+ [key: string]: boolean;
833
+ };
834
+ };
835
+ actions?: {
836
+ [key: string]: boolean;
837
+ };
838
+ };
839
+ };
840
+ };
841
+ };
724
842
  };
725
843
  GetAuthHeaderInfoOutput: {
726
844
  profile_picture_url?: string;
@@ -734,32 +852,13 @@ export interface components {
734
852
  permissions: components["schemas"]["fullUserPermissions"];
735
853
  email?: string;
736
854
  };
737
- CreateProjectInviteInput: (unknown | unknown) & {
855
+ CreateProjectInviteInput: {
856
+ permissions?: components["schemas"]["permissions"];
857
+ organization_permissions?: {
858
+ [key: string]: components["schemas"]["permissions"];
859
+ };
738
860
  email?: string;
739
861
  user_id?: string;
740
- permissions?: {
741
- items: {
742
- [key: string]: {
743
- resources?: {
744
- datasets?: {
745
- [key: string]: boolean;
746
- };
747
- deployables?: {
748
- [key: string]: boolean;
749
- };
750
- users?: {
751
- [key: string]: boolean;
752
- };
753
- workflows?: {
754
- [key: string]: boolean;
755
- };
756
- };
757
- actions?: {
758
- [key: string]: boolean;
759
- };
760
- };
761
- };
762
- };
763
862
  };
764
863
  CreateProjectInviteOutput: {
765
864
  invite_code: string;
@@ -809,7 +908,6 @@ export interface components {
809
908
  [key: string]: unknown;
810
909
  };
811
910
  ResendProjectInviteInput: {
812
- invite_code: string;
813
911
  permissions?: {
814
912
  items: {
815
913
  [key: string]: {
@@ -833,6 +931,10 @@ export interface components {
833
931
  };
834
932
  };
835
933
  };
934
+ organization_permissions?: {
935
+ [key: string]: components["schemas"]["permissions"];
936
+ };
937
+ invite_code: string;
836
938
  };
837
939
  ResendProjectInviteOutput: {
838
940
  [key: string]: unknown;
@@ -873,6 +975,31 @@ export interface components {
873
975
  };
874
976
  };
875
977
  };
978
+ organizations?: {
979
+ [key: string]: {
980
+ items: {
981
+ [key: string]: {
982
+ resources?: {
983
+ datasets?: {
984
+ [key: string]: boolean;
985
+ };
986
+ deployables?: {
987
+ [key: string]: boolean;
988
+ };
989
+ users?: {
990
+ [key: string]: boolean;
991
+ };
992
+ workflows?: {
993
+ [key: string]: boolean;
994
+ };
995
+ };
996
+ actions?: {
997
+ [key: string]: boolean;
998
+ };
999
+ };
1000
+ };
1001
+ };
1002
+ };
876
1003
  };
877
1004
  type: "user" | "machine";
878
1005
  _id: string;
@@ -887,6 +1014,9 @@ export interface components {
887
1014
  role?: string;
888
1015
  company?: string;
889
1016
  permissions?: components["schemas"]["permissions"];
1017
+ organization_permissions?: {
1018
+ [key: string]: components["schemas"]["permissions"];
1019
+ };
890
1020
  /** @description The id token for a signed in account. This attaches the sign in account to the user. */
891
1021
  id_token?: string;
892
1022
  };
@@ -3357,6 +3487,16 @@ export interface components {
3357
3487
  };
3358
3488
  }[];
3359
3489
  };
3490
+ ListCentroidConfigsInput: unknown;
3491
+ ListCentroidConfigsOutput: {
3492
+ results: {
3493
+ count: number;
3494
+ /** @description The vector fields that these centroids are associated with. */
3495
+ vector_fields: string[];
3496
+ /** @description Alias is used to name a cluster. */
3497
+ alias: string;
3498
+ }[];
3499
+ };
3360
3500
  DeleteCentroidInput: {
3361
3501
  /** @description The vector fields that these centroids are associated with. */
3362
3502
  vector_fields?: string[];
@@ -3604,6 +3744,105 @@ export interface components {
3604
3744
  cluster_ids: unknown[];
3605
3745
  };
3606
3746
  DeleteClusterSummariesOutput: unknown;
3747
+ CreateOrganizationInput: {
3748
+ name?: string;
3749
+ };
3750
+ CreateOrganizationOutput: {
3751
+ organization_id: string;
3752
+ };
3753
+ UpdateOrganizationInput: {
3754
+ name?: string;
3755
+ };
3756
+ UpdateOrganizationOutput: unknown;
3757
+ UpdateOrganizationAdminInput: {
3758
+ name?: string;
3759
+ entitlements?: {
3760
+ users?: {
3761
+ limit?: number;
3762
+ };
3763
+ workflows_gpu?: {
3764
+ enabled?: boolean;
3765
+ };
3766
+ };
3767
+ entitlement_plan?: "Starter" | "Business" | "Enterprise";
3768
+ };
3769
+ UpdateOrganizationAdminOutput: unknown;
3770
+ ListOrganizationsInput: unknown;
3771
+ ListOrganizationsOutput: {
3772
+ results: {
3773
+ organization_id?: string;
3774
+ name?: string;
3775
+ entitlements?: {
3776
+ users?: {
3777
+ limit?: number;
3778
+ };
3779
+ workflows_gpu?: {
3780
+ enabled?: boolean;
3781
+ };
3782
+ };
3783
+ entitlement_plan?: "Starter" | "Business" | "Enterprise";
3784
+ }[];
3785
+ };
3786
+ DeleteOrganizationInput: unknown;
3787
+ DeleteOrganizationOutput: unknown;
3788
+ GetOrganizationInput: unknown;
3789
+ GetOrganizationOutput: {
3790
+ organization_id?: string;
3791
+ name?: string;
3792
+ entitlements?: {
3793
+ users?: {
3794
+ limit?: number;
3795
+ };
3796
+ workflows_gpu?: {
3797
+ enabled?: boolean;
3798
+ };
3799
+ };
3800
+ entitlement_plan?: "Starter" | "Business" | "Enterprise";
3801
+ };
3802
+ GetOrganizationUsageInput: unknown;
3803
+ GetOrganizationUsageOutput: {
3804
+ usage: {
3805
+ users?: {
3806
+ limit?: number;
3807
+ };
3808
+ workflows_gpu?: {
3809
+ enabled?: boolean;
3810
+ };
3811
+ };
3812
+ limit: {
3813
+ users?: {
3814
+ limit?: number;
3815
+ };
3816
+ workflows_gpu?: {
3817
+ enabled?: boolean;
3818
+ };
3819
+ };
3820
+ };
3821
+ ListUsersInOrganizationInput: unknown;
3822
+ ListUsersInOrganizationOutput: {
3823
+ results: {
3824
+ _id?: string;
3825
+ profile_picture_url?: string;
3826
+ onboarded?: boolean;
3827
+ first_name?: string;
3828
+ last_name?: string;
3829
+ role?: string;
3830
+ company?: string;
3831
+ }[];
3832
+ };
3833
+ ListProjectsInOrganizationInput: unknown;
3834
+ ListProjectsInOrganizationOutput: {
3835
+ results: {
3836
+ _id?: string;
3837
+ project_id?: string;
3838
+ name?: string;
3839
+ description?: string;
3840
+ permissions?: {
3841
+ [key: string]: unknown;
3842
+ };
3843
+ updated_at?: string;
3844
+ }[];
3845
+ };
3607
3846
  InsertInput: {
3608
3847
  /** @description Each document to upsert must have an _id field matching an existing document. */
3609
3848
  document?: {
@@ -7133,6 +7372,8 @@ export interface components {
7133
7372
  [key: string]: unknown;
7134
7373
  };
7135
7374
  };
7375
+ DeleteWorkflowStatusInput: unknown;
7376
+ DeleteWorkflowStatusOutput: unknown;
7136
7377
  UpsertWorkflowMetadataInput: {
7137
7378
  /** @description Edit and add metadata for the workflow. */
7138
7379
  metadata: {
@@ -7140,6 +7381,34 @@ export interface components {
7140
7381
  };
7141
7382
  };
7142
7383
  UpsertWorkflowMetadataOutput: unknown;
7384
+ DeleteFieldChildrenInput: unknown;
7385
+ DeleteFieldChildrenOutput: unknown;
7386
+ ListFieldChildrensInput: {
7387
+ [key: string]: unknown;
7388
+ };
7389
+ ListFieldChildrensOutput: {
7390
+ results: {
7391
+ _id?: string;
7392
+ }[];
7393
+ };
7394
+ UpdateFieldChildrenInput: {
7395
+ _id?: string;
7396
+ };
7397
+ UpdateFieldChildrenOutput: unknown;
7398
+ DeleteFavouriteWorkflowInput: unknown;
7399
+ DeleteFavouriteWorkflowOutput: unknown;
7400
+ ListFavouriteWorkflowsInput: {
7401
+ [key: string]: unknown;
7402
+ };
7403
+ ListFavouriteWorkflowsOutput: {
7404
+ results: {
7405
+ _id?: string;
7406
+ }[];
7407
+ };
7408
+ UpdateFavouriteWorkflowInput: {
7409
+ _id?: string;
7410
+ };
7411
+ UpdateFavouriteWorkflowOutput: unknown;
7143
7412
  };
7144
7413
  }
7145
7414
  export interface operations {
@@ -7297,6 +7566,23 @@ export interface operations {
7297
7566
  };
7298
7567
  };
7299
7568
  };
7569
+ /** Tie a project to an organization. This requires admin privileges over project and organization. */
7570
+ TransferProjectToOrganization: {
7571
+ parameters: {};
7572
+ responses: {
7573
+ /** successful operation */
7574
+ 200: {
7575
+ content: {
7576
+ "application/json": components["schemas"]["TransferProjectToOrganizationOutput"];
7577
+ };
7578
+ };
7579
+ };
7580
+ requestBody: {
7581
+ content: {
7582
+ "application/json": components["schemas"]["TransferProjectToOrganizationInput"];
7583
+ };
7584
+ };
7585
+ };
7300
7586
  /** List all projects and their metadata */
7301
7587
  ListProjects: {
7302
7588
  parameters: {};
@@ -7825,6 +8111,23 @@ export interface operations {
7825
8111
  };
7826
8112
  };
7827
8113
  };
8114
+ /** List centroids configs for a dataset. */
8115
+ ListCentroidConfigs: {
8116
+ parameters: {
8117
+ path: {
8118
+ /** ID of dataset */
8119
+ dataset_id: string;
8120
+ };
8121
+ };
8122
+ responses: {
8123
+ /** successful operation */
8124
+ 200: {
8125
+ content: {
8126
+ "application/json": components["schemas"]["ListCentroidConfigsOutput"];
8127
+ };
8128
+ };
8129
+ };
8130
+ };
7828
8131
  /** Delete a centroid by ID */
7829
8132
  DeleteCentroid: {
7830
8133
  parameters: {
@@ -7954,6 +8257,161 @@ export interface operations {
7954
8257
  };
7955
8258
  };
7956
8259
  };
8260
+ CreateOrganization: {
8261
+ parameters: {};
8262
+ responses: {
8263
+ /** successful operation */
8264
+ 200: {
8265
+ content: {
8266
+ "application/json": components["schemas"]["CreateOrganizationOutput"];
8267
+ };
8268
+ };
8269
+ };
8270
+ requestBody: {
8271
+ content: {
8272
+ "application/json": components["schemas"]["CreateOrganizationInput"];
8273
+ };
8274
+ };
8275
+ };
8276
+ UpdateOrganization: {
8277
+ parameters: {
8278
+ path: {
8279
+ /** ID of organization */
8280
+ organization_id: string;
8281
+ };
8282
+ };
8283
+ responses: {
8284
+ /** successful operation */
8285
+ 200: {
8286
+ content: {
8287
+ "application/json": components["schemas"]["UpdateOrganizationOutput"];
8288
+ };
8289
+ };
8290
+ };
8291
+ requestBody: {
8292
+ content: {
8293
+ "application/json": components["schemas"]["UpdateOrganizationInput"];
8294
+ };
8295
+ };
8296
+ };
8297
+ UpdateOrganizationAdmin: {
8298
+ parameters: {
8299
+ path: {
8300
+ /** ID of organization */
8301
+ organization_id: string;
8302
+ };
8303
+ };
8304
+ responses: {
8305
+ /** successful operation */
8306
+ 200: {
8307
+ content: {
8308
+ "application/json": components["schemas"]["UpdateOrganizationAdminOutput"];
8309
+ };
8310
+ };
8311
+ };
8312
+ requestBody: {
8313
+ content: {
8314
+ "application/json": components["schemas"]["UpdateOrganizationAdminInput"];
8315
+ };
8316
+ };
8317
+ };
8318
+ /** List all organizations and their metadata */
8319
+ ListOrganizations: {
8320
+ parameters: {};
8321
+ responses: {
8322
+ /** successful operation */
8323
+ 200: {
8324
+ content: {
8325
+ "application/json": components["schemas"]["ListOrganizationsOutput"];
8326
+ };
8327
+ };
8328
+ };
8329
+ };
8330
+ DeleteOrganization: {
8331
+ parameters: {
8332
+ path: {
8333
+ /** ID of organization */
8334
+ organization_id: string;
8335
+ };
8336
+ };
8337
+ responses: {
8338
+ /** successful operation */
8339
+ 200: {
8340
+ content: {
8341
+ "application/json": components["schemas"]["DeleteOrganizationOutput"];
8342
+ };
8343
+ };
8344
+ };
8345
+ requestBody: {
8346
+ content: {
8347
+ "application/json": components["schemas"]["DeleteOrganizationInput"];
8348
+ };
8349
+ };
8350
+ };
8351
+ GetOrganization: {
8352
+ parameters: {
8353
+ path: {
8354
+ /** ID of organization */
8355
+ organization_id: string;
8356
+ };
8357
+ };
8358
+ responses: {
8359
+ /** successful operation */
8360
+ 200: {
8361
+ content: {
8362
+ "application/json": components["schemas"]["GetOrganizationOutput"];
8363
+ };
8364
+ };
8365
+ };
8366
+ };
8367
+ GetOrganizationUsage: {
8368
+ parameters: {
8369
+ path: {
8370
+ /** ID of organization */
8371
+ organization_id: string;
8372
+ };
8373
+ };
8374
+ responses: {
8375
+ /** successful operation */
8376
+ 200: {
8377
+ content: {
8378
+ "application/json": components["schemas"]["GetOrganizationUsageOutput"];
8379
+ };
8380
+ };
8381
+ };
8382
+ };
8383
+ ListUsersInOrganization: {
8384
+ parameters: {
8385
+ path: {
8386
+ /** ID of organization */
8387
+ organization_id: string;
8388
+ };
8389
+ };
8390
+ responses: {
8391
+ /** successful operation */
8392
+ 200: {
8393
+ content: {
8394
+ "application/json": components["schemas"]["ListUsersInOrganizationOutput"];
8395
+ };
8396
+ };
8397
+ };
8398
+ };
8399
+ ListProjectsInOrganization: {
8400
+ parameters: {
8401
+ path: {
8402
+ /** ID of organization */
8403
+ organization_id: string;
8404
+ };
8405
+ };
8406
+ responses: {
8407
+ /** successful operation */
8408
+ 200: {
8409
+ content: {
8410
+ "application/json": components["schemas"]["ListProjectsInOrganizationOutput"];
8411
+ };
8412
+ };
8413
+ };
8414
+ };
7957
8415
  /**
7958
8416
  * When inserting the document you can specify your own id for a document by using the field name **"\_id"**.
7959
8417
  *
@@ -9284,6 +9742,27 @@ export interface operations {
9284
9742
  };
9285
9743
  };
9286
9744
  };
9745
+ DeleteWorkflowStatus: {
9746
+ parameters: {
9747
+ path: {
9748
+ /** ID of workflow */
9749
+ workflow_id: string;
9750
+ };
9751
+ };
9752
+ responses: {
9753
+ /** successful operation */
9754
+ 200: {
9755
+ content: {
9756
+ "application/json": components["schemas"]["DeleteWorkflowStatusOutput"];
9757
+ };
9758
+ };
9759
+ };
9760
+ requestBody: {
9761
+ content: {
9762
+ "application/json": components["schemas"]["DeleteWorkflowStatusInput"];
9763
+ };
9764
+ };
9765
+ };
9287
9766
  /** Update metadata for a workflow run */
9288
9767
  UpsertWorkflowMetadata: {
9289
9768
  parameters: {
@@ -9306,6 +9785,138 @@ export interface operations {
9306
9785
  };
9307
9786
  };
9308
9787
  };
9788
+ DeleteFieldChildren: {
9789
+ parameters: {
9790
+ path: {
9791
+ /** ID of dataset */
9792
+ dataset_id: string;
9793
+ /** ID of fieldchildren */
9794
+ fieldchildren_id: string;
9795
+ };
9796
+ };
9797
+ responses: {
9798
+ /** successful operation */
9799
+ 200: {
9800
+ content: {
9801
+ "application/json": components["schemas"]["DeleteFieldChildrenOutput"];
9802
+ };
9803
+ };
9804
+ };
9805
+ requestBody: {
9806
+ content: {
9807
+ "application/json": components["schemas"]["DeleteFieldChildrenInput"];
9808
+ };
9809
+ };
9810
+ };
9811
+ ListFieldChildrens: {
9812
+ parameters: {
9813
+ path: {
9814
+ /** ID of dataset */
9815
+ dataset_id: string;
9816
+ /** ID of fieldchildren */
9817
+ fieldchildren_id: string;
9818
+ };
9819
+ };
9820
+ responses: {
9821
+ /** successful operation */
9822
+ 200: {
9823
+ content: {
9824
+ "application/json": components["schemas"]["ListFieldChildrensOutput"];
9825
+ };
9826
+ };
9827
+ };
9828
+ requestBody: {
9829
+ content: {
9830
+ "application/json": components["schemas"]["ListFieldChildrensInput"];
9831
+ };
9832
+ };
9833
+ };
9834
+ UpdateFieldChildren: {
9835
+ parameters: {
9836
+ path: {
9837
+ /** ID of dataset */
9838
+ dataset_id: string;
9839
+ /** ID of fieldchildren */
9840
+ fieldchildren_id: string;
9841
+ };
9842
+ };
9843
+ responses: {
9844
+ /** successful operation */
9845
+ 200: {
9846
+ content: {
9847
+ "application/json": components["schemas"]["UpdateFieldChildrenOutput"];
9848
+ };
9849
+ };
9850
+ };
9851
+ requestBody: {
9852
+ content: {
9853
+ "application/json": components["schemas"]["UpdateFieldChildrenInput"];
9854
+ };
9855
+ };
9856
+ };
9857
+ DeleteFavouriteWorkflow: {
9858
+ parameters: {
9859
+ path: {
9860
+ /** ID of favouriteworkflow */
9861
+ favouriteworkflow_id: string;
9862
+ };
9863
+ };
9864
+ responses: {
9865
+ /** successful operation */
9866
+ 200: {
9867
+ content: {
9868
+ "application/json": components["schemas"]["DeleteFavouriteWorkflowOutput"];
9869
+ };
9870
+ };
9871
+ };
9872
+ requestBody: {
9873
+ content: {
9874
+ "application/json": components["schemas"]["DeleteFavouriteWorkflowInput"];
9875
+ };
9876
+ };
9877
+ };
9878
+ ListFavouriteWorkflows: {
9879
+ parameters: {
9880
+ path: {
9881
+ /** ID of favouriteworkflow */
9882
+ favouriteworkflow_id: string;
9883
+ };
9884
+ };
9885
+ responses: {
9886
+ /** successful operation */
9887
+ 200: {
9888
+ content: {
9889
+ "application/json": components["schemas"]["ListFavouriteWorkflowsOutput"];
9890
+ };
9891
+ };
9892
+ };
9893
+ requestBody: {
9894
+ content: {
9895
+ "application/json": components["schemas"]["ListFavouriteWorkflowsInput"];
9896
+ };
9897
+ };
9898
+ };
9899
+ UpdateFavouriteWorkflow: {
9900
+ parameters: {
9901
+ path: {
9902
+ /** ID of favouriteworkflow */
9903
+ favouriteworkflow_id: string;
9904
+ };
9905
+ };
9906
+ responses: {
9907
+ /** successful operation */
9908
+ 200: {
9909
+ content: {
9910
+ "application/json": components["schemas"]["UpdateFavouriteWorkflowOutput"];
9911
+ };
9912
+ };
9913
+ };
9914
+ requestBody: {
9915
+ content: {
9916
+ "application/json": components["schemas"]["UpdateFavouriteWorkflowInput"];
9917
+ };
9918
+ };
9919
+ };
9309
9920
  }
9310
9921
  export interface external {
9311
9922
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relevanceai/sdk",
3
- "version": "1.38.0",
3
+ "version": "1.39.0",
4
4
  "description": "Javascript client for RelevanceAI APIs. Browser, Node.js and typescript support.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "types": "./dist-types/index.d.ts",