instill-sdk 0.19.0-rc.21 → 0.19.0-rc.22

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.
@@ -191,11 +191,6 @@ export declare const OrganizationSchema: z.ZodObject<{
191
191
  } | undefined;
192
192
  }>>;
193
193
  }, "strip", z.ZodTypeAny, {
194
- name: string;
195
- uid: string;
196
- id: string;
197
- createTime: string;
198
- updateTime: string;
199
194
  owner: {
200
195
  name: string;
201
196
  uid: string;
@@ -215,6 +210,11 @@ export declare const OrganizationSchema: z.ZodObject<{
215
210
  } | undefined;
216
211
  } | undefined;
217
212
  };
213
+ name: string;
214
+ uid: string;
215
+ id: string;
216
+ createTime: string;
217
+ updateTime: string;
218
218
  profile?: {
219
219
  displayName?: string | undefined;
220
220
  bio?: string | undefined;
@@ -227,11 +227,6 @@ export declare const OrganizationSchema: z.ZodObject<{
227
227
  } | undefined;
228
228
  } | undefined;
229
229
  }, {
230
- name: string;
231
- uid: string;
232
- id: string;
233
- createTime: string;
234
- updateTime: string;
235
230
  owner: {
236
231
  name: string;
237
232
  uid: string;
@@ -251,6 +246,11 @@ export declare const OrganizationSchema: z.ZodObject<{
251
246
  } | undefined;
252
247
  } | undefined;
253
248
  };
249
+ name: string;
250
+ uid: string;
251
+ id: string;
252
+ createTime: string;
253
+ updateTime: string;
254
254
  profile?: {
255
255
  displayName?: string | undefined;
256
256
  bio?: string | undefined;
package/dist/index.js CHANGED
@@ -8524,6 +8524,16 @@ var ChatClient = class extends APIResource {
8524
8524
  return Promise.reject(error);
8525
8525
  }
8526
8526
  }
8527
+ async listNamespaceChatAvailableContexts(props) {
8528
+ try {
8529
+ const data = await this._client.get(
8530
+ `/namespaces/${props.namespaceId}/context-options`
8531
+ );
8532
+ return Promise.resolve(data);
8533
+ } catch (error) {
8534
+ return Promise.reject(error);
8535
+ }
8536
+ }
8527
8537
  };
8528
8538
 
8529
8539
  // src/chat/types.ts
package/dist/index.mjs CHANGED
@@ -8476,6 +8476,16 @@ var ChatClient = class extends APIResource {
8476
8476
  return Promise.reject(error);
8477
8477
  }
8478
8478
  }
8479
+ async listNamespaceChatAvailableContexts(props) {
8480
+ try {
8481
+ const data = await this._client.get(
8482
+ `/namespaces/${props.namespaceId}/context-options`
8483
+ );
8484
+ return Promise.resolve(data);
8485
+ } catch (error) {
8486
+ return Promise.reject(error);
8487
+ }
8488
+ }
8479
8489
  };
8480
8490
 
8481
8491
  // src/chat/types.ts