@stack-spot/portal-network 0.82.0 → 0.82.2

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.
package/dist/api/ai.js CHANGED
@@ -20,13 +20,54 @@ export function metricsMetricsGet(opts) {
20
20
  ...opts
21
21
  }));
22
22
  }
23
+ /**
24
+ * Workspace Fork
25
+ */
26
+ export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, aiStackWorkspaceForkRequest }, opts) {
27
+ return oazapfts.ok(oazapfts.fetchJson("/v1/ai-stacks/workspace/fork", oazapfts.json({
28
+ ...opts,
29
+ method: "POST",
30
+ body: aiStackWorkspaceForkRequest,
31
+ headers: oazapfts.mergeHeaders(opts?.headers, {
32
+ authorization,
33
+ "x-account-id": xAccountId
34
+ })
35
+ })));
36
+ }
37
+ /**
38
+ * Workspace Delete Fork
39
+ */
40
+ export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, aiStackWorkspaceDeleteRequest }, opts) {
41
+ return oazapfts.ok(oazapfts.fetchJson("/v1/ai-stacks/workspace/fork", oazapfts.json({
42
+ ...opts,
43
+ method: "DELETE",
44
+ body: aiStackWorkspaceDeleteRequest,
45
+ headers: oazapfts.mergeHeaders(opts?.headers, {
46
+ authorization,
47
+ "x-account-id": xAccountId
48
+ })
49
+ })));
50
+ }
51
+ /**
52
+ * Workspace List
53
+ */
54
+ export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, aiStackWorkspaceListRequest }, opts) {
55
+ return oazapfts.ok(oazapfts.fetchJson("/v1/ai-stacks/workspace/list", oazapfts.json({
56
+ ...opts,
57
+ method: "POST",
58
+ body: aiStackWorkspaceListRequest,
59
+ headers: oazapfts.mergeHeaders(opts?.headers, {
60
+ authorization,
61
+ "x-account-id": xAccountId
62
+ })
63
+ })));
64
+ }
23
65
  /**
24
66
  * List Ai Stacks
25
67
  */
26
- export function listAiStacksV1AiStacksGet({ visibility, order, authorization, xAccountId }, opts) {
68
+ export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId }, opts) {
27
69
  return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks${QS.query(QS.explode({
28
- visibility,
29
- order
70
+ visibility
30
71
  }))}`, {
31
72
  ...opts,
32
73
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -130,27 +171,27 @@ export function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccou
130
171
  /**
131
172
  * Publish
132
173
  */
133
- export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId }, opts) {
134
- return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks/${encodeURIComponent(stackId)}/publish`, {
174
+ export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, aiStackPublishRequest }, opts) {
175
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks/${encodeURIComponent(stackId)}/publish`, oazapfts.json({
135
176
  ...opts,
136
177
  method: "POST",
178
+ body: aiStackPublishRequest,
137
179
  headers: oazapfts.mergeHeaders(opts?.headers, {
138
180
  authorization,
139
181
  "x-account-id": xAccountId
140
182
  })
141
- }));
183
+ })));
142
184
  }
143
185
  /**
144
186
  * Project Files
145
187
  */
146
- export function projectFilesV1ProjectFilesPost({ authorization, xAccountId, newProjectFilesRequest }, opts) {
188
+ export function projectFilesV1ProjectFilesPost({ authorization, newProjectFilesRequest }, opts) {
147
189
  return oazapfts.ok(oazapfts.fetchJson("/v1/project-files", oazapfts.json({
148
190
  ...opts,
149
191
  method: "POST",
150
192
  body: newProjectFilesRequest,
151
193
  headers: oazapfts.mergeHeaders(opts?.headers, {
152
- authorization,
153
- "x-account-id": xAccountId
194
+ authorization
154
195
  })
155
196
  })));
156
197
  }
@@ -171,16 +212,11 @@ export function quickActionsV1QuickActionsPost({ authorization, xAccountId, quic
171
212
  /**
172
213
  * Dev Assistant
173
214
  */
174
- export function devAssistantV1ChatPost({ authorization, xAccountId, codeBuddyApiV1SchemasChatRequest }, opts) {
175
- return oazapfts.ok(oazapfts.fetchJson("/v1/chat", oazapfts.json({
215
+ export function devAssistantV1ChatPost(opts) {
216
+ return oazapfts.ok(oazapfts.fetchJson("/v1/chat", {
176
217
  ...opts,
177
- method: "POST",
178
- body: codeBuddyApiV1SchemasChatRequest,
179
- headers: oazapfts.mergeHeaders(opts?.headers, {
180
- authorization,
181
- "x-account-id": xAccountId
182
- })
183
- })));
218
+ method: "POST"
219
+ }));
184
220
  }
185
221
  /**
186
222
  * Post Event
@@ -197,27 +233,45 @@ export function postEventV1EventsPost({ authorization, xAccountId, body }, opts)
197
233
  })));
198
234
  }
199
235
  /**
200
- * Get Upload Url
236
+ * Get Upload Form
201
237
  */
202
- export function getUploadUrlV1FileUploadUrlPost({ authorization, xAccountId, newFileUploadUrlRequest }, opts) {
203
- return oazapfts.ok(oazapfts.fetchJson("/v1/file-upload/url", oazapfts.json({
238
+ export function getUploadFormV1FileUploadFormPost({ authorization, newFileUploadUrlRequest }, opts) {
239
+ return oazapfts.ok(oazapfts.fetchJson("/v1/file-upload/form", oazapfts.json({
204
240
  ...opts,
205
241
  method: "POST",
206
242
  body: newFileUploadUrlRequest,
207
243
  headers: oazapfts.mergeHeaders(opts?.headers, {
208
- authorization,
209
- "x-account-id": xAccountId
244
+ authorization
210
245
  })
211
246
  })));
212
247
  }
213
248
  /**
214
- * Get Upload Form
249
+ * Get File Upload Status
215
250
  */
216
- export function getUploadFormV1FileUploadFormPost({ authorization, xAccountId, newFileUploadUrlRequest }, opts) {
217
- return oazapfts.ok(oazapfts.fetchJson("/v1/file-upload/form", oazapfts.json({
251
+ export function getFileUploadStatusV1FileUploadFileUploadIdGet({ fileUploadId, authorization }, opts) {
252
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/file-upload/${encodeURIComponent(fileUploadId)}`, {
253
+ ...opts,
254
+ headers: oazapfts.mergeHeaders(opts?.headers, {
255
+ authorization
256
+ })
257
+ }));
258
+ }
259
+ /**
260
+ * Report Health
261
+ */
262
+ export function reportHealthHealthzGet(opts) {
263
+ return oazapfts.ok(oazapfts.fetchJson("/healthz", {
264
+ ...opts
265
+ }));
266
+ }
267
+ /**
268
+ * Workspace Fork
269
+ */
270
+ export function workspaceForkV1KnowledgeSourcesWorkspaceForkPost({ authorization, xAccountId, knowledgeSourcesWorkspaceForkRequest }, opts) {
271
+ return oazapfts.ok(oazapfts.fetchJson("/v1/knowledge-sources/workspace/fork", oazapfts.json({
218
272
  ...opts,
219
273
  method: "POST",
220
- body: newFileUploadUrlRequest,
274
+ body: knowledgeSourcesWorkspaceForkRequest,
221
275
  headers: oazapfts.mergeHeaders(opts?.headers, {
222
276
  authorization,
223
277
  "x-account-id": xAccountId
@@ -225,24 +279,32 @@ export function getUploadFormV1FileUploadFormPost({ authorization, xAccountId, n
225
279
  })));
226
280
  }
227
281
  /**
228
- * Get File Upload Status
282
+ * Workspace Delete Fork
229
283
  */
230
- export function getFileUploadStatusV1FileUploadFileUploadIdGet({ fileUploadId, authorization, xAccountId }, opts) {
231
- return oazapfts.ok(oazapfts.fetchJson(`/v1/file-upload/${encodeURIComponent(fileUploadId)}`, {
284
+ export function workspaceDeleteForkV1KnowledgeSourcesWorkspaceForkDelete({ authorization, xAccountId, knowledgeSourcesWorkspaceDeleteRequest }, opts) {
285
+ return oazapfts.ok(oazapfts.fetchJson("/v1/knowledge-sources/workspace/fork", oazapfts.json({
232
286
  ...opts,
287
+ method: "DELETE",
288
+ body: knowledgeSourcesWorkspaceDeleteRequest,
233
289
  headers: oazapfts.mergeHeaders(opts?.headers, {
234
290
  authorization,
235
291
  "x-account-id": xAccountId
236
292
  })
237
- }));
293
+ })));
238
294
  }
239
295
  /**
240
- * Report Health
296
+ * Workspace List
241
297
  */
242
- export function reportHealthHealthzGet(opts) {
243
- return oazapfts.ok(oazapfts.fetchJson("/healthz", {
244
- ...opts
245
- }));
298
+ export function workspaceListV1KnowledgeSourcesWorkspaceListPost({ authorization, xAccountId, knowledgeSourcesWorkspaceListRequest }, opts) {
299
+ return oazapfts.ok(oazapfts.fetchJson("/v1/knowledge-sources/workspace/list", oazapfts.json({
300
+ ...opts,
301
+ method: "POST",
302
+ body: knowledgeSourcesWorkspaceListRequest,
303
+ headers: oazapfts.mergeHeaders(opts?.headers, {
304
+ authorization,
305
+ "x-account-id": xAccountId
306
+ })
307
+ })));
246
308
  }
247
309
  /**
248
310
  * Create Knowledge Source
@@ -314,6 +376,18 @@ export function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, author
314
376
  })
315
377
  }));
316
378
  }
379
+ /**
380
+ * Find Knowledge Source
381
+ */
382
+ export function findKnowledgeSourceV1KnowledgeSourcesSlugExistsGet({ slug, authorization, xAccountId }, opts) {
383
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/exists`, {
384
+ ...opts,
385
+ headers: oazapfts.mergeHeaders(opts?.headers, {
386
+ authorization,
387
+ "x-account-id": xAccountId
388
+ })
389
+ }));
390
+ }
317
391
  /**
318
392
  * Find Knowledge Source Dependencies
319
393
  */
@@ -357,15 +431,16 @@ export function shareKnowledgeSourceV1KnowledgeSourcesSlugSharePost({ slug, auth
357
431
  /**
358
432
  * Publish Knowledge Source
359
433
  */
360
- export function publishKnowledgeSourceV1KnowledgeSourcesSlugPublishPost({ slug, authorization, xAccountId }, opts) {
361
- return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/publish`, {
434
+ export function publishKnowledgeSourceV1KnowledgeSourcesSlugPublishPost({ slug, authorization, xAccountId, knowledgeSourcesPublishRequest }, opts) {
435
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/publish`, oazapfts.json({
362
436
  ...opts,
363
437
  method: "POST",
438
+ body: knowledgeSourcesPublishRequest,
364
439
  headers: oazapfts.mergeHeaders(opts?.headers, {
365
440
  authorization,
366
441
  "x-account-id": xAccountId
367
442
  })
368
- }));
443
+ })));
369
444
  }
370
445
  /**
371
446
  * Publish Knowledge Source In Batch
@@ -381,21 +456,6 @@ export function publishKnowledgeSourceInBatchV1KnowledgeSourcesPublishBatchPost(
381
456
  })
382
457
  })));
383
458
  }
384
- /**
385
- * Configure Knowledge Source Default Flag
386
- */
387
- export function configureKnowledgeSourceDefaultFlagV1KnowledgeSourcesSlugDefaultPut({ slug, value, authorization, xAccountId }, opts) {
388
- return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/default${QS.query(QS.explode({
389
- value
390
- }))}`, {
391
- ...opts,
392
- method: "PUT",
393
- headers: oazapfts.mergeHeaders(opts?.headers, {
394
- authorization,
395
- "x-account-id": xAccountId
396
- })
397
- }));
398
- }
399
459
  /**
400
460
  * Fork Knowledge Source
401
461
  */
@@ -410,20 +470,6 @@ export function forkKnowledgeSourceV1KnowledgeSourcesSlugForkPost({ slug, author
410
470
  })
411
471
  })));
412
472
  }
413
- /**
414
- * Vectorize Objects From File
415
- */
416
- export function vectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost({ slug, authorization, xAccountId, bodyVectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost }, opts) {
417
- return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/objects`, oazapfts.multipart({
418
- ...opts,
419
- method: "POST",
420
- body: bodyVectorizeObjectsFromFileV1KnowledgeSourcesSlugObjectsPost,
421
- headers: oazapfts.mergeHeaders(opts?.headers, {
422
- authorization,
423
- "x-account-id": xAccountId
424
- })
425
- })));
426
- }
427
473
  /**
428
474
  * List Knowledge Objects
429
475
  */
@@ -453,22 +499,6 @@ export function resetKnowledgeObjectsV1KnowledgeSourcesSlugObjectsDelete({ slug,
453
499
  })
454
500
  }));
455
501
  }
456
- /**
457
- * Upload Knowledge Objects Zip
458
- */
459
- export function uploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost({ slug, autoDelete, authorization, xAccountId, bodyUploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost }, opts) {
460
- return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/objects/batch${QS.query(QS.explode({
461
- "auto-delete": autoDelete
462
- }))}`, oazapfts.multipart({
463
- ...opts,
464
- method: "POST",
465
- body: bodyUploadKnowledgeObjectsZipV1KnowledgeSourcesSlugObjectsBatchPost,
466
- headers: oazapfts.mergeHeaders(opts?.headers, {
467
- authorization,
468
- "x-account-id": xAccountId
469
- })
470
- })));
471
- }
472
502
  /**
473
503
  * Find Knowledge Object By Custom Id
474
504
  */
@@ -494,18 +524,6 @@ export function deleteKnowledgeObjectByCustomIdV1KnowledgeSourcesSlugObjectsCust
494
524
  })
495
525
  }));
496
526
  }
497
- /**
498
- * Find Snippet Doc By Custom Id
499
- */
500
- export function findSnippetDocByCustomIdV1KnowledgeSourcesSlugSnippetsIdGet({ slug, id, authorization, xAccountId }, opts) {
501
- return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/snippets/${encodeURIComponent(id)}`, {
502
- ...opts,
503
- headers: oazapfts.mergeHeaders(opts?.headers, {
504
- authorization,
505
- "x-account-id": xAccountId
506
- })
507
- }));
508
- }
509
527
  /**
510
528
  * Vectorize Snippet Knowledge Source
511
529
  */
@@ -520,70 +538,6 @@ export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPos
520
538
  })
521
539
  })));
522
540
  }
523
- /**
524
- * Find Api Doc By Custom Id
525
- */
526
- export function findApiDocByCustomIdV1KnowledgeSourcesSlugApisIdGet({ slug, id, authorization, xAccountId }, opts) {
527
- return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/apis/${encodeURIComponent(id)}`, {
528
- ...opts,
529
- headers: oazapfts.mergeHeaders(opts?.headers, {
530
- authorization,
531
- "x-account-id": xAccountId
532
- })
533
- }));
534
- }
535
- /**
536
- * Vectorize Api Knowledge Source
537
- */
538
- export function vectorizeApiKnowledgeSourceV1KnowledgeSourcesSlugApisPost({ slug, authorization, xAccountId, body }, opts) {
539
- return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/apis`, oazapfts.json({
540
- ...opts,
541
- method: "POST",
542
- body,
543
- headers: oazapfts.mergeHeaders(opts?.headers, {
544
- authorization,
545
- "x-account-id": xAccountId
546
- })
547
- })));
548
- }
549
- /**
550
- * Find Event Doc By Custom Id
551
- */
552
- export function findEventDocByCustomIdV1KnowledgeSourcesSlugEventsIdGet({ slug, id, authorization, xAccountId }, opts) {
553
- return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/events/${encodeURIComponent(id)}`, {
554
- ...opts,
555
- headers: oazapfts.mergeHeaders(opts?.headers, {
556
- authorization,
557
- "x-account-id": xAccountId
558
- })
559
- }));
560
- }
561
- /**
562
- * Vectorize Event Knowledge Source
563
- */
564
- export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, body }, opts) {
565
- return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/events`, oazapfts.json({
566
- ...opts,
567
- method: "POST",
568
- body,
569
- headers: oazapfts.mergeHeaders(opts?.headers, {
570
- authorization,
571
- "x-account-id": xAccountId
572
- })
573
- })));
574
- }
575
- /**
576
- * Find Custom Doc By Custom Id
577
- */
578
- export function findCustomDocByCustomIdV1KnowledgeSourcesSlugCustomIdGet({ slug, id, authorization, xAccountId }, opts) {
579
- return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/custom/${encodeURIComponent(id)}`, {
580
- ...opts,
581
- headers: oazapfts.mergeHeaders(opts?.headers, {
582
- authorization,
583
- "x-account-id": xAccountId
584
- })
585
- }));
586
- }
587
541
  /**
588
542
  * Vectorize Custom Knowledge Source
589
543
  */
@@ -690,6 +644,24 @@ export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAc
690
644
  })
691
645
  })));
692
646
  }
647
+ /**
648
+ * Get External Configs
649
+ */
650
+ export function getExternalConfigsV1AccountsExternalConfigGet(opts) {
651
+ return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/external-config", {
652
+ ...opts
653
+ }));
654
+ }
655
+ /**
656
+ * Change External Configs
657
+ */
658
+ export function changeExternalConfigsV1AccountsExternalConfigPatch({ body }, opts) {
659
+ return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/external-config", oazapfts.json({
660
+ ...opts,
661
+ method: "PATCH",
662
+ body
663
+ })));
664
+ }
693
665
  /**
694
666
  * Current
695
667
  */
@@ -773,6 +745,62 @@ export function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeS
773
745
  })
774
746
  }));
775
747
  }
748
+ /**
749
+ * Workspace Fork
750
+ */
751
+ export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, quickCommandWorkspaceForkRequest }, opts) {
752
+ return oazapfts.ok(oazapfts.fetchJson("/v1/quick-commands/workspace/fork", oazapfts.json({
753
+ ...opts,
754
+ method: "POST",
755
+ body: quickCommandWorkspaceForkRequest,
756
+ headers: oazapfts.mergeHeaders(opts?.headers, {
757
+ authorization,
758
+ "x-account-id": xAccountId
759
+ })
760
+ })));
761
+ }
762
+ /**
763
+ * Workspace Delete Fork
764
+ */
765
+ export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, quickCommandWorkspaceDeleteRequest }, opts) {
766
+ return oazapfts.ok(oazapfts.fetchJson("/v1/quick-commands/workspace/fork", oazapfts.json({
767
+ ...opts,
768
+ method: "DELETE",
769
+ body: quickCommandWorkspaceDeleteRequest,
770
+ headers: oazapfts.mergeHeaders(opts?.headers, {
771
+ authorization,
772
+ "x-account-id": xAccountId
773
+ })
774
+ })));
775
+ }
776
+ /**
777
+ * Qc Dependencies
778
+ */
779
+ export function qcDependenciesV1QuickCommandsDependenciesPost({ authorization, xAccountId, quickCommandDependenciesRequest }, opts) {
780
+ return oazapfts.ok(oazapfts.fetchJson("/v1/quick-commands/dependencies", oazapfts.json({
781
+ ...opts,
782
+ method: "POST",
783
+ body: quickCommandDependenciesRequest,
784
+ headers: oazapfts.mergeHeaders(opts?.headers, {
785
+ authorization,
786
+ "x-account-id": xAccountId
787
+ })
788
+ })));
789
+ }
790
+ /**
791
+ * Workspace List
792
+ */
793
+ export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, quickCommandWorkspaceListRequest }, opts) {
794
+ return oazapfts.ok(oazapfts.fetchJson("/v1/quick-commands/workspace/list", oazapfts.json({
795
+ ...opts,
796
+ method: "POST",
797
+ body: quickCommandWorkspaceListRequest,
798
+ headers: oazapfts.mergeHeaders(opts?.headers, {
799
+ authorization,
800
+ "x-account-id": xAccountId
801
+ })
802
+ })));
803
+ }
776
804
  /**
777
805
  * Create Quick Command
778
806
  */
@@ -875,15 +903,16 @@ export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccoun
875
903
  /**
876
904
  * Publish
877
905
  */
878
- export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId }, opts) {
879
- return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/publish`, {
906
+ export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, quickCommandPublishRequest }, opts) {
907
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/publish`, oazapfts.json({
880
908
  ...opts,
881
909
  method: "POST",
910
+ body: quickCommandPublishRequest,
882
911
  headers: oazapfts.mergeHeaders(opts?.headers, {
883
912
  authorization,
884
913
  "x-account-id": xAccountId
885
914
  })
886
- }));
915
+ })));
887
916
  }
888
917
  /**
889
918
  * Fork
@@ -899,6 +928,18 @@ export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountI
899
928
  })
900
929
  })));
901
930
  }
931
+ /**
932
+ * Get Quick Command
933
+ */
934
+ export function getQuickCommandV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId }, opts) {
935
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/exists`, {
936
+ ...opts,
937
+ headers: oazapfts.mergeHeaders(opts?.headers, {
938
+ authorization,
939
+ "x-account-id": xAccountId
940
+ })
941
+ }));
942
+ }
902
943
  /**
903
944
  * Get Quick Command By Ks Slug
904
945
  */
@@ -1126,11 +1167,14 @@ export function downloadConversationV1ConversationsConversationIdDownloadGet({ c
1126
1167
  /**
1127
1168
  * Create Knowledge Source
1128
1169
  */
1129
- export function createKnowledgeSourceV1DefaultKnowledgeSourcesPost({ newKnowledgeSourceRequest }, opts) {
1170
+ export function createKnowledgeSourceV1DefaultKnowledgeSourcesPost({ authorization, newKnowledgeSourceRequest }, opts) {
1130
1171
  return oazapfts.ok(oazapfts.fetchJson("/v1/default-knowledge-sources", oazapfts.json({
1131
1172
  ...opts,
1132
1173
  method: "POST",
1133
- body: newKnowledgeSourceRequest
1174
+ body: newKnowledgeSourceRequest,
1175
+ headers: oazapfts.mergeHeaders(opts?.headers, {
1176
+ authorization
1177
+ })
1134
1178
  })));
1135
1179
  }
1136
1180
  /**
@@ -1154,20 +1198,25 @@ export function uploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBat
1154
1198
  body: bodyUploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBatchPost
1155
1199
  })));
1156
1200
  }
1201
+ /**
1202
+ * Get Flags
1203
+ */
1204
+ export function getFlagsV1FlagsGet(opts) {
1205
+ return oazapfts.ok(oazapfts.fetchJson("/v1/flags", {
1206
+ ...opts
1207
+ }));
1208
+ }
1157
1209
  /**
1158
1210
  * Dev Assistant V2
1159
1211
  */
1160
- export function devAssistantV2V2ChatPost({ accept, authorization, xAccountId, codeBuddyApiV2SchemasChatRequest }, opts) {
1161
- return oazapfts.ok(oazapfts.fetchJson("/v2/chat", oazapfts.json({
1212
+ export function devAssistantV2V2ChatPost({ accept }, opts) {
1213
+ return oazapfts.ok(oazapfts.fetchJson("/v2/chat", {
1162
1214
  ...opts,
1163
1215
  method: "POST",
1164
- body: codeBuddyApiV2SchemasChatRequest,
1165
1216
  headers: oazapfts.mergeHeaders(opts?.headers, {
1166
- accept,
1167
- authorization,
1168
- "x-account-id": xAccountId
1217
+ accept
1169
1218
  })
1170
- })));
1219
+ }));
1171
1220
  }
1172
1221
  /**
1173
1222
  * Quick Commands Run V2
@@ -1196,44 +1245,14 @@ export function getDependenciesV2QuickCommandsSlugDependenciesGet({ slug, author
1196
1245
  })
1197
1246
  }));
1198
1247
  }
1199
- /**
1200
- * Vectorize Objects From File
1201
- */
1202
- export function vectorizeObjectsFromFileV2KnowledgeSourcesSlugObjectsPost({ slug, authorization, xAccountId, bodyVectorizeObjectsFromFileV2KnowledgeSourcesSlugObjectsPost }, opts) {
1203
- return oazapfts.ok(oazapfts.fetchJson(`/v2/knowledge-sources/${encodeURIComponent(slug)}/objects`, oazapfts.multipart({
1204
- ...opts,
1205
- method: "POST",
1206
- body: bodyVectorizeObjectsFromFileV2KnowledgeSourcesSlugObjectsPost,
1207
- headers: oazapfts.mergeHeaders(opts?.headers, {
1208
- authorization,
1209
- "x-account-id": xAccountId
1210
- })
1211
- })));
1212
- }
1213
- /**
1214
- * Upload Knowledge Objects Zip
1215
- */
1216
- export function uploadKnowledgeObjectsZipV2KnowledgeSourcesSlugObjectsBatchPost({ slug, autoDelete, authorization, xAccountId, bodyUploadKnowledgeObjectsZipV2KnowledgeSourcesSlugObjectsBatchPost }, opts) {
1217
- return oazapfts.ok(oazapfts.fetchJson(`/v2/knowledge-sources/${encodeURIComponent(slug)}/objects/batch${QS.query(QS.explode({
1218
- "auto-delete": autoDelete
1219
- }))}`, oazapfts.multipart({
1220
- ...opts,
1221
- method: "POST",
1222
- body: bodyUploadKnowledgeObjectsZipV2KnowledgeSourcesSlugObjectsBatchPost,
1223
- headers: oazapfts.mergeHeaders(opts?.headers, {
1224
- authorization,
1225
- "x-account-id": xAccountId
1226
- })
1227
- })));
1228
- }
1229
1248
  /**
1230
1249
  * Dev Assistant V3
1231
1250
  */
1232
- export function devAssistantV3V3ChatPost({ authorization, xAccountId, codeBuddyApiV2SchemasChatRequest }, opts) {
1251
+ export function devAssistantV3V3ChatPost({ authorization, xAccountId, chatRequest }, opts) {
1233
1252
  return oazapfts.ok(oazapfts.fetchJson("/v3/chat", oazapfts.json({
1234
1253
  ...opts,
1235
1254
  method: "POST",
1236
- body: codeBuddyApiV2SchemasChatRequest,
1255
+ body: chatRequest,
1237
1256
  headers: oazapfts.mergeHeaders(opts?.headers, {
1238
1257
  authorization,
1239
1258
  "x-account-id": xAccountId