@relevanceai/sdk 1.66.0 → 1.68.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.
|
@@ -78,6 +78,62 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
|
|
|
78
78
|
options
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
|
+
async DeleteDeployableGroup(input, options) {
|
|
82
|
+
return this.SendRequest({
|
|
83
|
+
input,
|
|
84
|
+
method: 'post',
|
|
85
|
+
path: '/deployablegroups/{deployablegroup_id}/delete',
|
|
86
|
+
options
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
async ListDeployableGroups(input, options) {
|
|
90
|
+
return this.SendRequest({
|
|
91
|
+
input,
|
|
92
|
+
method: 'post',
|
|
93
|
+
path: '/deployablegroups/list',
|
|
94
|
+
options
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
async CreateDeployableGroup(input, options) {
|
|
98
|
+
return this.SendRequest({
|
|
99
|
+
input,
|
|
100
|
+
method: 'post',
|
|
101
|
+
path: '/deployablegroups/create',
|
|
102
|
+
options
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
async GetDeployableGroup(input, options) {
|
|
106
|
+
return this.SendRequest({
|
|
107
|
+
input,
|
|
108
|
+
method: 'get',
|
|
109
|
+
path: '/deployablegroups/{deployablegroup_id}/get',
|
|
110
|
+
options
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
async UpdateDeployableGroup(input, options) {
|
|
114
|
+
return this.SendRequest({
|
|
115
|
+
input,
|
|
116
|
+
method: 'post',
|
|
117
|
+
path: '/deployablegroups/{deployablegroup_id}/update',
|
|
118
|
+
options
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
async CreateDeployableGroupKey(input, options) {
|
|
122
|
+
return this.SendRequest({
|
|
123
|
+
input,
|
|
124
|
+
method: 'post',
|
|
125
|
+
path: '/deployablegroups/{deployablegroup_id}/share',
|
|
126
|
+
options
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
async DeleteDeployableGroupKey(input, options) {
|
|
130
|
+
return this.SendRequest({
|
|
131
|
+
input,
|
|
132
|
+
method: 'post',
|
|
133
|
+
path: '/deployablegroups/{deployablegroup_id}/private',
|
|
134
|
+
options
|
|
135
|
+
});
|
|
136
|
+
}
|
|
81
137
|
async CreateProject(input, options) {
|
|
82
138
|
return this.SendRequest({
|
|
83
139
|
input,
|
|
@@ -894,5 +950,45 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
|
|
|
894
950
|
options
|
|
895
951
|
});
|
|
896
952
|
}
|
|
953
|
+
async DeleteSavedFilter(input, options) {
|
|
954
|
+
return this.SendRequest({
|
|
955
|
+
input,
|
|
956
|
+
method: 'post',
|
|
957
|
+
path: '/savedfilters/{savedfilter_id}/delete',
|
|
958
|
+
options
|
|
959
|
+
});
|
|
960
|
+
}
|
|
961
|
+
async ListSavedFilters(input, options) {
|
|
962
|
+
return this.SendRequest({
|
|
963
|
+
input,
|
|
964
|
+
method: 'post',
|
|
965
|
+
path: '/savedfilters/list',
|
|
966
|
+
options
|
|
967
|
+
});
|
|
968
|
+
}
|
|
969
|
+
async UpdateSavedFilter(input, options) {
|
|
970
|
+
return this.SendRequest({
|
|
971
|
+
input,
|
|
972
|
+
method: 'post',
|
|
973
|
+
path: '/savedfilters/{savedfilter_id}/update',
|
|
974
|
+
options
|
|
975
|
+
});
|
|
976
|
+
}
|
|
977
|
+
async GetSavedFilter(input, options) {
|
|
978
|
+
return this.SendRequest({
|
|
979
|
+
input,
|
|
980
|
+
method: 'get',
|
|
981
|
+
path: '/savedfilters/{savedfilter_id}/get',
|
|
982
|
+
options
|
|
983
|
+
});
|
|
984
|
+
}
|
|
985
|
+
async CreateSavedFilter(input, options) {
|
|
986
|
+
return this.SendRequest({
|
|
987
|
+
input,
|
|
988
|
+
method: 'post',
|
|
989
|
+
path: '/savedfilters/create',
|
|
990
|
+
options
|
|
991
|
+
});
|
|
992
|
+
}
|
|
897
993
|
}
|
|
898
994
|
exports.DiscoveryApiClient = DiscoveryApiClient;
|
|
@@ -174,6 +174,90 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
|
|
|
174
174
|
});
|
|
175
175
|
});
|
|
176
176
|
};
|
|
177
|
+
DiscoveryApiClient.prototype.DeleteDeployableGroup = function (input, options) {
|
|
178
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
179
|
+
return __generator(this, function (_a) {
|
|
180
|
+
return [2 /*return*/, this.SendRequest({
|
|
181
|
+
input: input,
|
|
182
|
+
method: 'post',
|
|
183
|
+
path: '/deployablegroups/{deployablegroup_id}/delete',
|
|
184
|
+
options: options
|
|
185
|
+
})];
|
|
186
|
+
});
|
|
187
|
+
});
|
|
188
|
+
};
|
|
189
|
+
DiscoveryApiClient.prototype.ListDeployableGroups = function (input, options) {
|
|
190
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
191
|
+
return __generator(this, function (_a) {
|
|
192
|
+
return [2 /*return*/, this.SendRequest({
|
|
193
|
+
input: input,
|
|
194
|
+
method: 'post',
|
|
195
|
+
path: '/deployablegroups/list',
|
|
196
|
+
options: options
|
|
197
|
+
})];
|
|
198
|
+
});
|
|
199
|
+
});
|
|
200
|
+
};
|
|
201
|
+
DiscoveryApiClient.prototype.CreateDeployableGroup = function (input, options) {
|
|
202
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
203
|
+
return __generator(this, function (_a) {
|
|
204
|
+
return [2 /*return*/, this.SendRequest({
|
|
205
|
+
input: input,
|
|
206
|
+
method: 'post',
|
|
207
|
+
path: '/deployablegroups/create',
|
|
208
|
+
options: options
|
|
209
|
+
})];
|
|
210
|
+
});
|
|
211
|
+
});
|
|
212
|
+
};
|
|
213
|
+
DiscoveryApiClient.prototype.GetDeployableGroup = function (input, options) {
|
|
214
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
215
|
+
return __generator(this, function (_a) {
|
|
216
|
+
return [2 /*return*/, this.SendRequest({
|
|
217
|
+
input: input,
|
|
218
|
+
method: 'get',
|
|
219
|
+
path: '/deployablegroups/{deployablegroup_id}/get',
|
|
220
|
+
options: options
|
|
221
|
+
})];
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
};
|
|
225
|
+
DiscoveryApiClient.prototype.UpdateDeployableGroup = function (input, options) {
|
|
226
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
227
|
+
return __generator(this, function (_a) {
|
|
228
|
+
return [2 /*return*/, this.SendRequest({
|
|
229
|
+
input: input,
|
|
230
|
+
method: 'post',
|
|
231
|
+
path: '/deployablegroups/{deployablegroup_id}/update',
|
|
232
|
+
options: options
|
|
233
|
+
})];
|
|
234
|
+
});
|
|
235
|
+
});
|
|
236
|
+
};
|
|
237
|
+
DiscoveryApiClient.prototype.CreateDeployableGroupKey = function (input, options) {
|
|
238
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
239
|
+
return __generator(this, function (_a) {
|
|
240
|
+
return [2 /*return*/, this.SendRequest({
|
|
241
|
+
input: input,
|
|
242
|
+
method: 'post',
|
|
243
|
+
path: '/deployablegroups/{deployablegroup_id}/share',
|
|
244
|
+
options: options
|
|
245
|
+
})];
|
|
246
|
+
});
|
|
247
|
+
});
|
|
248
|
+
};
|
|
249
|
+
DiscoveryApiClient.prototype.DeleteDeployableGroupKey = function (input, options) {
|
|
250
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
251
|
+
return __generator(this, function (_a) {
|
|
252
|
+
return [2 /*return*/, this.SendRequest({
|
|
253
|
+
input: input,
|
|
254
|
+
method: 'post',
|
|
255
|
+
path: '/deployablegroups/{deployablegroup_id}/private',
|
|
256
|
+
options: options
|
|
257
|
+
})];
|
|
258
|
+
});
|
|
259
|
+
});
|
|
260
|
+
};
|
|
177
261
|
DiscoveryApiClient.prototype.CreateProject = function (input, options) {
|
|
178
262
|
return __awaiter(this, void 0, void 0, function () {
|
|
179
263
|
return __generator(this, function (_a) {
|
|
@@ -1398,6 +1482,66 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
|
|
|
1398
1482
|
});
|
|
1399
1483
|
});
|
|
1400
1484
|
};
|
|
1485
|
+
DiscoveryApiClient.prototype.DeleteSavedFilter = function (input, options) {
|
|
1486
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1487
|
+
return __generator(this, function (_a) {
|
|
1488
|
+
return [2 /*return*/, this.SendRequest({
|
|
1489
|
+
input: input,
|
|
1490
|
+
method: 'post',
|
|
1491
|
+
path: '/savedfilters/{savedfilter_id}/delete',
|
|
1492
|
+
options: options
|
|
1493
|
+
})];
|
|
1494
|
+
});
|
|
1495
|
+
});
|
|
1496
|
+
};
|
|
1497
|
+
DiscoveryApiClient.prototype.ListSavedFilters = function (input, options) {
|
|
1498
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1499
|
+
return __generator(this, function (_a) {
|
|
1500
|
+
return [2 /*return*/, this.SendRequest({
|
|
1501
|
+
input: input,
|
|
1502
|
+
method: 'post',
|
|
1503
|
+
path: '/savedfilters/list',
|
|
1504
|
+
options: options
|
|
1505
|
+
})];
|
|
1506
|
+
});
|
|
1507
|
+
});
|
|
1508
|
+
};
|
|
1509
|
+
DiscoveryApiClient.prototype.UpdateSavedFilter = function (input, options) {
|
|
1510
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1511
|
+
return __generator(this, function (_a) {
|
|
1512
|
+
return [2 /*return*/, this.SendRequest({
|
|
1513
|
+
input: input,
|
|
1514
|
+
method: 'post',
|
|
1515
|
+
path: '/savedfilters/{savedfilter_id}/update',
|
|
1516
|
+
options: options
|
|
1517
|
+
})];
|
|
1518
|
+
});
|
|
1519
|
+
});
|
|
1520
|
+
};
|
|
1521
|
+
DiscoveryApiClient.prototype.GetSavedFilter = function (input, options) {
|
|
1522
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1523
|
+
return __generator(this, function (_a) {
|
|
1524
|
+
return [2 /*return*/, this.SendRequest({
|
|
1525
|
+
input: input,
|
|
1526
|
+
method: 'get',
|
|
1527
|
+
path: '/savedfilters/{savedfilter_id}/get',
|
|
1528
|
+
options: options
|
|
1529
|
+
})];
|
|
1530
|
+
});
|
|
1531
|
+
});
|
|
1532
|
+
};
|
|
1533
|
+
DiscoveryApiClient.prototype.CreateSavedFilter = function (input, options) {
|
|
1534
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1535
|
+
return __generator(this, function (_a) {
|
|
1536
|
+
return [2 /*return*/, this.SendRequest({
|
|
1537
|
+
input: input,
|
|
1538
|
+
method: 'post',
|
|
1539
|
+
path: '/savedfilters/create',
|
|
1540
|
+
options: options
|
|
1541
|
+
})];
|
|
1542
|
+
});
|
|
1543
|
+
});
|
|
1544
|
+
};
|
|
1401
1545
|
return DiscoveryApiClient;
|
|
1402
1546
|
}(_GenericClient));
|
|
1403
1547
|
export { DiscoveryApiClient };
|
|
@@ -18,6 +18,20 @@ export declare type DeleteDeployableKeyInput = operations['DeleteDeployableKey']
|
|
|
18
18
|
export declare type DeleteDeployableKeyOutput = operations['DeleteDeployableKey']['responses']['200']['content']['application/json'];
|
|
19
19
|
export declare type ListDeployablesInput = {};
|
|
20
20
|
export declare type ListDeployablesOutput = operations['ListDeployables']['responses']['200']['content']['application/json'];
|
|
21
|
+
export declare type DeleteDeployableGroupInput = operations['DeleteDeployableGroup']['requestBody']['content']['application/json'];
|
|
22
|
+
export declare type DeleteDeployableGroupOutput = operations['DeleteDeployableGroup']['responses']['200']['content']['application/json'];
|
|
23
|
+
export declare type ListDeployableGroupsInput = operations['ListDeployableGroups']['requestBody']['content']['application/json'];
|
|
24
|
+
export declare type ListDeployableGroupsOutput = operations['ListDeployableGroups']['responses']['200']['content']['application/json'];
|
|
25
|
+
export declare type CreateDeployableGroupInput = operations['CreateDeployableGroup']['requestBody']['content']['application/json'];
|
|
26
|
+
export declare type CreateDeployableGroupOutput = operations['CreateDeployableGroup']['responses']['200']['content']['application/json'];
|
|
27
|
+
export declare type GetDeployableGroupInput = {};
|
|
28
|
+
export declare type GetDeployableGroupOutput = operations['GetDeployableGroup']['responses']['200']['content']['application/json'];
|
|
29
|
+
export declare type UpdateDeployableGroupInput = operations['UpdateDeployableGroup']['requestBody']['content']['application/json'];
|
|
30
|
+
export declare type UpdateDeployableGroupOutput = operations['UpdateDeployableGroup']['responses']['200']['content']['application/json'];
|
|
31
|
+
export declare type CreateDeployableGroupKeyInput = operations['CreateDeployableGroupKey']['requestBody']['content']['application/json'];
|
|
32
|
+
export declare type CreateDeployableGroupKeyOutput = operations['CreateDeployableGroupKey']['responses']['200']['content']['application/json'];
|
|
33
|
+
export declare type DeleteDeployableGroupKeyInput = operations['DeleteDeployableGroupKey']['requestBody']['content']['application/json'];
|
|
34
|
+
export declare type DeleteDeployableGroupKeyOutput = operations['DeleteDeployableGroupKey']['responses']['200']['content']['application/json'];
|
|
21
35
|
export declare type CreateProjectInput = operations['CreateProject']['requestBody']['content']['application/json'];
|
|
22
36
|
export declare type CreateProjectOutput = operations['CreateProject']['responses']['200']['content']['application/json'];
|
|
23
37
|
export declare type UpdateProjectInput = operations['UpdateProject']['requestBody']['content']['application/json'];
|
|
@@ -222,6 +236,16 @@ export declare type ListFavouriteWorkflowsInput = operations['ListFavouriteWorkf
|
|
|
222
236
|
export declare type ListFavouriteWorkflowsOutput = operations['ListFavouriteWorkflows']['responses']['200']['content']['application/json'];
|
|
223
237
|
export declare type UpdateFavouriteWorkflowInput = operations['UpdateFavouriteWorkflow']['requestBody']['content']['application/json'];
|
|
224
238
|
export declare type UpdateFavouriteWorkflowOutput = operations['UpdateFavouriteWorkflow']['responses']['200']['content']['application/json'];
|
|
239
|
+
export declare type DeleteSavedFilterInput = operations['DeleteSavedFilter']['requestBody']['content']['application/json'];
|
|
240
|
+
export declare type DeleteSavedFilterOutput = operations['DeleteSavedFilter']['responses']['200']['content']['application/json'];
|
|
241
|
+
export declare type ListSavedFiltersInput = operations['ListSavedFilters']['requestBody']['content']['application/json'];
|
|
242
|
+
export declare type ListSavedFiltersOutput = operations['ListSavedFilters']['responses']['200']['content']['application/json'];
|
|
243
|
+
export declare type UpdateSavedFilterInput = operations['UpdateSavedFilter']['requestBody']['content']['application/json'];
|
|
244
|
+
export declare type UpdateSavedFilterOutput = operations['UpdateSavedFilter']['responses']['200']['content']['application/json'];
|
|
245
|
+
export declare type GetSavedFilterInput = {};
|
|
246
|
+
export declare type GetSavedFilterOutput = operations['GetSavedFilter']['responses']['200']['content']['application/json'];
|
|
247
|
+
export declare type CreateSavedFilterInput = operations['CreateSavedFilter']['requestBody']['content']['application/json'];
|
|
248
|
+
export declare type CreateSavedFilterOutput = operations['CreateSavedFilter']['responses']['200']['content']['application/json'];
|
|
225
249
|
export declare class DiscoveryApiClient extends _GenericClient {
|
|
226
250
|
constructor(config: _ClientInput);
|
|
227
251
|
CreateDeployable(input: CommandInput<CreateDeployableInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateDeployableOutput>>;
|
|
@@ -233,6 +257,13 @@ export declare class DiscoveryApiClient extends _GenericClient {
|
|
|
233
257
|
UpdateUsersDeployablePermissions(input: CommandInput<UpdateUsersDeployablePermissionsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateUsersDeployablePermissionsOutput>>;
|
|
234
258
|
DeleteDeployableKey(input: CommandInput<DeleteDeployableKeyInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteDeployableKeyOutput>>;
|
|
235
259
|
ListDeployables(input: CommandInput<ListDeployablesInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListDeployablesOutput>>;
|
|
260
|
+
DeleteDeployableGroup(input: CommandInput<DeleteDeployableGroupInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteDeployableGroupOutput>>;
|
|
261
|
+
ListDeployableGroups(input: CommandInput<ListDeployableGroupsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListDeployableGroupsOutput>>;
|
|
262
|
+
CreateDeployableGroup(input: CommandInput<CreateDeployableGroupInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateDeployableGroupOutput>>;
|
|
263
|
+
GetDeployableGroup(input: CommandInput<GetDeployableGroupInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetDeployableGroupOutput>>;
|
|
264
|
+
UpdateDeployableGroup(input: CommandInput<UpdateDeployableGroupInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateDeployableGroupOutput>>;
|
|
265
|
+
CreateDeployableGroupKey(input: CommandInput<CreateDeployableGroupKeyInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateDeployableGroupKeyOutput>>;
|
|
266
|
+
DeleteDeployableGroupKey(input: CommandInput<DeleteDeployableGroupKeyInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteDeployableGroupKeyOutput>>;
|
|
236
267
|
CreateProject(input: CommandInput<CreateProjectInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateProjectOutput>>;
|
|
237
268
|
UpdateProject(input: CommandInput<UpdateProjectInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateProjectOutput>>;
|
|
238
269
|
TransferProjectToOrganization(input: CommandInput<TransferProjectToOrganizationInput>, options?: _GenericMethodOptions): Promise<CommandOutput<TransferProjectToOrganizationOutput>>;
|
|
@@ -335,4 +366,9 @@ export declare class DiscoveryApiClient extends _GenericClient {
|
|
|
335
366
|
DeleteFavouriteWorkflow(input: CommandInput<DeleteFavouriteWorkflowInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteFavouriteWorkflowOutput>>;
|
|
336
367
|
ListFavouriteWorkflows(input: CommandInput<ListFavouriteWorkflowsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListFavouriteWorkflowsOutput>>;
|
|
337
368
|
UpdateFavouriteWorkflow(input: CommandInput<UpdateFavouriteWorkflowInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateFavouriteWorkflowOutput>>;
|
|
369
|
+
DeleteSavedFilter(input: CommandInput<DeleteSavedFilterInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteSavedFilterOutput>>;
|
|
370
|
+
ListSavedFilters(input: CommandInput<ListSavedFiltersInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListSavedFiltersOutput>>;
|
|
371
|
+
UpdateSavedFilter(input: CommandInput<UpdateSavedFilterInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateSavedFilterOutput>>;
|
|
372
|
+
GetSavedFilter(input: CommandInput<GetSavedFilterInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetSavedFilterOutput>>;
|
|
373
|
+
CreateSavedFilter(input: CommandInput<CreateSavedFilterInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateSavedFilterOutput>>;
|
|
338
374
|
}
|