@stack-spot/portal-network 1.0.0-betaadp.3 → 1.0.0-dev.1768422812092
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/CHANGELOG.md +633 -0
- package/dist/api/account.d.ts +413 -277
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +261 -176
- package/dist/api/account.js.map +1 -1
- package/dist/api/accountAssetManager.d.ts +309 -0
- package/dist/api/accountAssetManager.d.ts.map +1 -0
- package/dist/api/accountAssetManager.js +169 -0
- package/dist/api/accountAssetManager.js.map +1 -0
- package/dist/api/agent-tools.d.ts +243 -149
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +77 -5
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/agent.d.ts +55 -55
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/ai.d.ts +487 -98
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +427 -146
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatform.d.ts +374 -221
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +299 -93
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/api/cloudPlatformHorizon.d.ts +178 -9
- package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
- package/dist/api/cloudPlatformHorizon.js +69 -1
- package/dist/api/cloudPlatformHorizon.js.map +1 -1
- package/dist/api/codeShift.d.ts +1125 -83
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +538 -16
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/dataIntegration.d.ts +291 -1
- package/dist/api/dataIntegration.d.ts.map +1 -1
- package/dist/api/dataIntegration.js +254 -0
- package/dist/api/dataIntegration.js.map +1 -1
- package/dist/api/discover.d.ts +98 -12
- package/dist/api/discover.d.ts.map +1 -1
- package/dist/api/discover.js +78 -2
- package/dist/api/discover.js.map +1 -1
- package/dist/api/edpBfa.d.ts +215 -0
- package/dist/api/edpBfa.d.ts.map +1 -0
- package/dist/api/edpBfa.js +87 -0
- package/dist/api/edpBfa.js.map +1 -0
- package/dist/api/genAiInference.d.ts +22 -2
- package/dist/api/genAiInference.d.ts.map +1 -1
- package/dist/api/genAiInference.js +22 -3
- package/dist/api/genAiInference.js.map +1 -1
- package/dist/api/workflows.d.ts +68 -5
- package/dist/api/workflows.d.ts.map +1 -1
- package/dist/api/workflows.js +16 -0
- package/dist/api/workflows.js.map +1 -1
- package/dist/api/workspaceManager.d.ts +16 -10
- package/dist/api/workspaceManager.d.ts.map +1 -1
- package/dist/api/workspaceManager.js +10 -0
- package/dist/api/workspaceManager.js.map +1 -1
- package/dist/api-addresses.d.ts +20 -18
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +81 -21
- package/dist/api-addresses.js.map +1 -1
- package/dist/apis-itau.json +241 -0
- package/dist/apis.json +17 -1
- package/dist/client/account-asset-manager.d.ts +112 -0
- package/dist/client/account-asset-manager.d.ts.map +1 -0
- package/dist/client/account-asset-manager.js +160 -0
- package/dist/client/account-asset-manager.js.map +1 -0
- package/dist/client/account.d.ts +265 -242
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +80 -34
- package/dist/client/account.js.map +1 -1
- package/dist/client/agent-tools.d.ts +166 -119
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +62 -11
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +46 -46
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/ai.d.ts +266 -79
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +262 -20
- package/dist/client/ai.js.map +1 -1
- package/dist/client/api-management.d.ts +10 -1
- package/dist/client/api-management.d.ts.map +1 -1
- package/dist/client/api-management.js +11 -2
- package/dist/client/api-management.js.map +1 -1
- package/dist/client/cloud-account.d.ts +13 -13
- package/dist/client/cloud-platform-horizon.d.ts +38 -19
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +19 -1
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +213 -46
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +168 -33
- package/dist/client/cloud-platform.js.map +1 -1
- package/dist/client/cloud-runtimes.d.ts +4 -4
- package/dist/client/cloud-services.d.ts +17 -17
- package/dist/client/cloud-services.d.ts.map +1 -1
- package/dist/client/code-shift.d.ts +535 -162
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +296 -7
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/content.d.ts +127 -132
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/data-integration.d.ts +92 -53
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +38 -2
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discover.d.ts +31 -10
- package/dist/client/discover.d.ts.map +1 -1
- package/dist/client/discover.js +239 -3
- package/dist/client/discover.js.map +1 -1
- package/dist/client/edp-bfa.d.ts +16 -0
- package/dist/client/edp-bfa.d.ts.map +1 -0
- package/dist/client/edp-bfa.js +24 -0
- package/dist/client/edp-bfa.js.map +1 -0
- package/dist/client/event-bus.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +20 -20
- package/dist/client/insights.d.ts +7 -7
- package/dist/client/notification.d.ts +17 -10
- package/dist/client/notification.d.ts.map +1 -1
- package/dist/client/notification.js +10 -1
- package/dist/client/notification.js.map +1 -1
- package/dist/client/runtime-manager.d.ts +8 -8
- package/dist/client/secrets.d.ts.map +1 -1
- package/dist/client/secrets.js +1 -1
- package/dist/client/secrets.js.map +1 -1
- package/dist/client/types.d.ts +50 -7
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow.d.ts +10 -10
- package/dist/client/workspace-ai.d.ts +53 -53
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +3 -7
- package/dist/client/workspace-ai.js.map +1 -1
- package/dist/client/workspace-manager.d.ts +115 -76
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +47 -2
- package/dist/client/workspace-manager.js.map +1 -1
- package/dist/client/workspace-search.d.ts +2 -2
- package/dist/client/workspace.d.ts +58 -105
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/error/DefaultAPIError.d.ts.map +1 -1
- package/dist/error/DefaultAPIError.js.map +1 -1
- package/dist/error/StackspotAPIError.d.ts +3 -4
- package/dist/error/StackspotAPIError.d.ts.map +1 -1
- package/dist/error/StackspotAPIError.js +3 -3
- package/dist/error/StackspotAPIError.js.map +1 -1
- package/dist/error/dictionary/accountAssetManager.d.ts +11 -0
- package/dist/error/dictionary/accountAssetManager.d.ts.map +1 -0
- package/dist/error/dictionary/accountAssetManager.js +11 -0
- package/dist/error/dictionary/accountAssetManager.js.map +1 -0
- package/dist/error/dictionary/cloud-platform.d.ts +76 -8
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +80 -12
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/dist/error/dictionary/workspace-ai.d.ts +9 -0
- package/dist/error/dictionary/workspace-ai.d.ts.map +1 -0
- package/dist/error/dictionary/workspace-ai.js +9 -0
- package/dist/error/dictionary/workspace-ai.js.map +1 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/network/NetworkClient.d.ts +4 -2
- package/dist/network/NetworkClient.d.ts.map +1 -1
- package/dist/network/NetworkClient.js +16 -4
- package/dist/network/NetworkClient.js.map +1 -1
- package/dist/network/types.d.ts +2 -0
- package/dist/network/types.d.ts.map +1 -1
- package/dist/utils/StreamedJson.d.ts +3 -1
- package/dist/utils/StreamedJson.d.ts.map +1 -1
- package/dist/utils/StreamedJson.js +23 -3
- package/dist/utils/StreamedJson.js.map +1 -1
- package/package.dev.json +3 -0
- package/package.json +10 -9
- package/package.stg.json +3 -0
- package/readme.md +40 -1
- package/src/api/account.ts +701 -540
- package/src/api/accountAssetManager.ts +771 -0
- package/src/api/agent-tools.ts +332 -151
- package/src/api/ai.ts +891 -170
- package/src/api/cloudPlatform.ts +667 -298
- package/src/api/cloudPlatformHorizon.ts +412 -9
- package/src/api/codeShift.ts +2088 -97
- package/src/api/dataIntegration.ts +635 -1
- package/src/api/discover.ts +180 -14
- package/src/api/edpBfa.ts +472 -0
- package/src/api/genAiInference.ts +47 -4
- package/src/api/workflows.ts +100 -5
- package/src/api/workspaceManager.ts +25 -10
- package/src/api-addresses.ts +113 -38
- package/src/apis-itau.json +241 -0
- package/src/apis.json +17 -1
- package/src/client/account-asset-manager.ts +100 -0
- package/src/client/account.ts +71 -40
- package/src/client/agent-tools.ts +57 -17
- package/src/client/ai.ts +232 -20
- package/src/client/api-management.ts +7 -2
- package/src/client/cloud-platform-horizon.ts +12 -4
- package/src/client/cloud-platform.ts +101 -27
- package/src/client/code-shift.ts +196 -8
- package/src/client/data-integration.ts +28 -1
- package/src/client/discover.ts +238 -5
- package/src/client/edp-bfa.ts +24 -0
- package/src/client/notification.ts +6 -1
- package/src/client/secrets.ts +1 -1
- package/src/client/types.ts +55 -9
- package/src/client/workspace-ai.ts +19 -23
- package/src/client/workspace-manager.ts +31 -2
- package/src/error/DefaultAPIError.ts +5 -5
- package/src/error/StackspotAPIError.ts +4 -4
- package/src/error/dictionary/accountAssetManager.ts +12 -0
- package/src/error/dictionary/cloud-platform.ts +80 -12
- package/src/error/dictionary/workspace-ai.ts +10 -0
- package/src/index.ts +6 -3
- package/src/network/NetworkClient.ts +18 -6
- package/src/network/types.ts +3 -0
- package/src/utils/StreamedJson.tsx +19 -4
package/src/api/ai.ts
CHANGED
|
@@ -164,14 +164,6 @@ export type AutoCompleteResult = {
|
|
|
164
164
|
code: string;
|
|
165
165
|
};
|
|
166
166
|
export type EventTypeEnum = "code_injected" | "code_copied" | "custom_quick_command_execution" | "user_feedback_provided" | "copied_all";
|
|
167
|
-
export type SourceProjectFile2 = {
|
|
168
|
-
"type"?: "project_file";
|
|
169
|
-
name: string;
|
|
170
|
-
slug: string;
|
|
171
|
-
document_score: number;
|
|
172
|
-
document_id: string;
|
|
173
|
-
path: string;
|
|
174
|
-
};
|
|
175
167
|
export type QuickCommandEvent = {
|
|
176
168
|
slug: string;
|
|
177
169
|
"type": string;
|
|
@@ -193,7 +185,7 @@ export type GenericEventRequest = {
|
|
|
193
185
|
chosen_feedback_options?: string[] | null;
|
|
194
186
|
additional_feedback?: string | null;
|
|
195
187
|
message_id?: string | null;
|
|
196
|
-
knowledge_sources?: (string | SourceStackAi | SourceKnowledgeSource |
|
|
188
|
+
knowledge_sources?: (string | SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
|
|
197
189
|
quick_command_event?: QuickCommandEvent | null;
|
|
198
190
|
context?: {
|
|
199
191
|
[key: string]: any;
|
|
@@ -330,6 +322,8 @@ export type TokensCurrentUsageResponse = {
|
|
|
330
322
|
renewal_date: string;
|
|
331
323
|
embeddings_tokens_usage: number;
|
|
332
324
|
prompt_tokens_usage: number;
|
|
325
|
+
embeddings_tokens_limit: number;
|
|
326
|
+
prompt_tokens_limit: number;
|
|
333
327
|
};
|
|
334
328
|
export type TokensMonthlyUsageResponse = {
|
|
335
329
|
used: number;
|
|
@@ -368,6 +362,7 @@ export type QuickCommandListResponse = {
|
|
|
368
362
|
creator: string | null;
|
|
369
363
|
visibility_level: string;
|
|
370
364
|
use_only: boolean;
|
|
365
|
+
share_context_between_steps?: boolean;
|
|
371
366
|
id: string;
|
|
372
367
|
};
|
|
373
368
|
export type Method = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
@@ -392,6 +387,7 @@ export type QuickCommandsStepPromptRequest = {
|
|
|
392
387
|
use_uploaded_files?: boolean;
|
|
393
388
|
agent_built_in?: boolean | null;
|
|
394
389
|
next_step_slug?: string | null;
|
|
390
|
+
next_failure_step_slug?: string | null;
|
|
395
391
|
};
|
|
396
392
|
export type OperatorType = "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greater" | "smaller" | "greaterEqual" | "smallerEqual" | "isEmpty" | "isNotEmpty" | "isDefined" | "isUndefined";
|
|
397
393
|
export type SimpleExpr = {
|
|
@@ -420,6 +416,12 @@ export type QuickCommandsStepRouterRequest = {
|
|
|
420
416
|
routes: RouterStepRoute[];
|
|
421
417
|
max_executions: number;
|
|
422
418
|
};
|
|
419
|
+
export type QuickCommandsStepScriptRequest = {
|
|
420
|
+
slug: string;
|
|
421
|
+
script: string;
|
|
422
|
+
use_uploaded_files: boolean;
|
|
423
|
+
next_step_slug?: string | null;
|
|
424
|
+
};
|
|
423
425
|
export type CustomInputRequest = {
|
|
424
426
|
slug: string;
|
|
425
427
|
question: string;
|
|
@@ -431,22 +433,24 @@ export type QuickCommandsCreateRequest = {
|
|
|
431
433
|
"type"?: QuickCommandTypeRequest;
|
|
432
434
|
description: string;
|
|
433
435
|
final_result: string;
|
|
434
|
-
steps: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest)[];
|
|
436
|
+
steps: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest | QuickCommandsStepScriptRequest)[];
|
|
435
437
|
return_type?: QuickCommandsReturnType | null;
|
|
436
438
|
preserve_conversation?: boolean;
|
|
437
439
|
custom_inputs?: CustomInputRequest[] | null;
|
|
438
440
|
flow?: {
|
|
439
441
|
[key: string]: any;
|
|
440
442
|
} | null;
|
|
443
|
+
share_context_between_steps?: boolean | null;
|
|
441
444
|
};
|
|
442
445
|
export type QuickCommandsUpdateRequest = {
|
|
443
446
|
name?: string | null;
|
|
444
447
|
description?: string | null;
|
|
445
|
-
steps?: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest)[] | null;
|
|
448
|
+
steps?: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest | QuickCommandsStepScriptRequest)[] | null;
|
|
446
449
|
return_type?: QuickCommandsReturnType | null;
|
|
447
450
|
knowledge_source_slugs?: string[] | null;
|
|
448
451
|
final_result?: string | null;
|
|
449
452
|
preserve_conversation?: boolean;
|
|
453
|
+
share_context_between_steps?: boolean;
|
|
450
454
|
custom_inputs?: CustomInputRequest[] | null;
|
|
451
455
|
flow?: {
|
|
452
456
|
[key: string]: any;
|
|
@@ -454,7 +458,7 @@ export type QuickCommandsUpdateRequest = {
|
|
|
454
458
|
use_only?: boolean | null;
|
|
455
459
|
use_uploaded_files?: boolean | null;
|
|
456
460
|
};
|
|
457
|
-
export type QuickCommandStepType = "LLM" | "FETCH" | "ROUTER";
|
|
461
|
+
export type QuickCommandStepType = "LLM" | "FETCH" | "ROUTER" | "SCRIPT";
|
|
458
462
|
export type Method2 = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
459
463
|
export type QuickCommandStepFetchResponse = {
|
|
460
464
|
slug: string;
|
|
@@ -511,6 +515,7 @@ export type QuickCommandStepLlmResponse = {
|
|
|
511
515
|
agent_built_in?: boolean | null;
|
|
512
516
|
agent_data?: AgentDefinitionResponse | null;
|
|
513
517
|
next_step_slug?: string | null;
|
|
518
|
+
next_failure_step_slug?: string | null;
|
|
514
519
|
use_uploaded_files?: boolean;
|
|
515
520
|
allow_use_current_workspace?: boolean;
|
|
516
521
|
};
|
|
@@ -536,6 +541,13 @@ export type QuickCommandsStepRouterResponse = {
|
|
|
536
541
|
routes: RouterStepRoute2[];
|
|
537
542
|
max_executions: number;
|
|
538
543
|
};
|
|
544
|
+
export type QuickCommandsStepScriptResponse = {
|
|
545
|
+
slug: string;
|
|
546
|
+
"type": QuickCommandStepType;
|
|
547
|
+
script: string;
|
|
548
|
+
use_uploaded_files: boolean;
|
|
549
|
+
next_step_slug?: string | null;
|
|
550
|
+
};
|
|
539
551
|
export type CustomInputResponse = {
|
|
540
552
|
slug: string;
|
|
541
553
|
question: string;
|
|
@@ -549,7 +561,7 @@ export type QuickCommandResponse = {
|
|
|
549
561
|
studio_id?: string | null;
|
|
550
562
|
return_type?: QuickCommandsReturnType | null;
|
|
551
563
|
final_result?: string | null;
|
|
552
|
-
steps?: (QuickCommandStepFetchResponse | QuickCommandStepLlmResponse | QuickCommandsStepRouterResponse)[] | null;
|
|
564
|
+
steps?: (QuickCommandStepFetchResponse | QuickCommandStepLlmResponse | QuickCommandsStepRouterResponse | QuickCommandsStepScriptResponse)[] | null;
|
|
553
565
|
flow?: {
|
|
554
566
|
[key: string]: any;
|
|
555
567
|
} | null;
|
|
@@ -560,6 +572,7 @@ export type QuickCommandResponse = {
|
|
|
560
572
|
use_only: boolean;
|
|
561
573
|
custom_inputs?: CustomInputResponse[] | null;
|
|
562
574
|
id: string;
|
|
575
|
+
share_context_between_steps?: boolean | null;
|
|
563
576
|
};
|
|
564
577
|
export type QuickCommandPublishRequest = {
|
|
565
578
|
use_only?: boolean | null;
|
|
@@ -569,9 +582,17 @@ export type QuickCommandsMakeACopyRequest = {
|
|
|
569
582
|
name: string;
|
|
570
583
|
description: string;
|
|
571
584
|
};
|
|
585
|
+
export type QuickCommandAnswerStatusResponse = {
|
|
586
|
+
success: boolean;
|
|
587
|
+
next_step_slug?: string | null;
|
|
588
|
+
failure_message?: string | null;
|
|
589
|
+
input_tokens?: number | null;
|
|
590
|
+
output_tokens?: number | null;
|
|
591
|
+
};
|
|
572
592
|
export type QuickCommandPromptResponse = {
|
|
573
593
|
answer: string;
|
|
574
|
-
sources?: (SourceStackAi | SourceKnowledgeSource |
|
|
594
|
+
sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
|
|
595
|
+
answer_status?: QuickCommandAnswerStatusResponse | null;
|
|
575
596
|
};
|
|
576
597
|
export type QuickCommandFetchResponseResult = {
|
|
577
598
|
headers?: {
|
|
@@ -580,6 +601,17 @@ export type QuickCommandFetchResponseResult = {
|
|
|
580
601
|
data?: string | null;
|
|
581
602
|
status: number;
|
|
582
603
|
};
|
|
604
|
+
export type QuickCommandStepScriptStatus = "queued" | "running" | "success" | "failure";
|
|
605
|
+
export type QuickCommandScriptExecutionResponse = {
|
|
606
|
+
status: QuickCommandStepScriptStatus;
|
|
607
|
+
duration?: number | null;
|
|
608
|
+
result?: {
|
|
609
|
+
[key: string]: any;
|
|
610
|
+
} | null;
|
|
611
|
+
logs?: string | null;
|
|
612
|
+
started?: string | null;
|
|
613
|
+
};
|
|
614
|
+
export type QuickCommandStepResult = QuickCommandPromptResponse | QuickCommandFetchResponseResult | QuickCommandScriptExecutionResponse;
|
|
583
615
|
export type QuickCommandsExecutionRequest = {
|
|
584
616
|
context?: {
|
|
585
617
|
[key: string]: any;
|
|
@@ -588,7 +620,7 @@ export type QuickCommandsExecutionRequest = {
|
|
|
588
620
|
code_selection?: string | null;
|
|
589
621
|
input_data?: string | null;
|
|
590
622
|
slugs_executions?: {
|
|
591
|
-
[key: string]: string |
|
|
623
|
+
[key: string]: string | QuickCommandStepResult;
|
|
592
624
|
} | null;
|
|
593
625
|
qc_execution_id?: string | null;
|
|
594
626
|
};
|
|
@@ -602,7 +634,7 @@ export type QuickCommandEvaluateStepRouterRequest = {
|
|
|
602
634
|
} | null;
|
|
603
635
|
selected_code?: string | null;
|
|
604
636
|
slugs_executions: {
|
|
605
|
-
[key: string]:
|
|
637
|
+
[key: string]: QuickCommandStepResult;
|
|
606
638
|
} | null;
|
|
607
639
|
};
|
|
608
640
|
export type QuickCommandEvaluateStepRouterResponse = {
|
|
@@ -634,6 +666,7 @@ export type Progress = {
|
|
|
634
666
|
status: string;
|
|
635
667
|
};
|
|
636
668
|
export type StepFetch = {
|
|
669
|
+
duration?: number | null;
|
|
637
670
|
status_code: number;
|
|
638
671
|
headers?: {
|
|
639
672
|
[key: string]: string;
|
|
@@ -643,21 +676,41 @@ export type StepFetch = {
|
|
|
643
676
|
[key: string]: any;
|
|
644
677
|
} | null;
|
|
645
678
|
};
|
|
679
|
+
export type AnswerStatus = {
|
|
680
|
+
success: boolean;
|
|
681
|
+
failure_message?: string | null;
|
|
682
|
+
input_tokens?: number | null;
|
|
683
|
+
output_tokens?: number | null;
|
|
684
|
+
attempt?: number | null;
|
|
685
|
+
};
|
|
646
686
|
export type StepLlm = {
|
|
647
|
-
|
|
687
|
+
duration?: number | null;
|
|
688
|
+
answer?: string | null;
|
|
689
|
+
answer_status?: AnswerStatus | null;
|
|
648
690
|
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[];
|
|
649
691
|
tools?: string[];
|
|
650
692
|
};
|
|
651
693
|
export type StepRouter = {
|
|
694
|
+
duration?: number | null;
|
|
652
695
|
next_step_slug: string;
|
|
653
696
|
condition?: ConditionExpr2 | null;
|
|
654
697
|
"default"?: boolean;
|
|
655
698
|
};
|
|
699
|
+
export type StepScript = {
|
|
700
|
+
duration?: number | null;
|
|
701
|
+
status: QuickCommandStepScriptStatus;
|
|
702
|
+
result?: {
|
|
703
|
+
[key: string]: any;
|
|
704
|
+
} | null;
|
|
705
|
+
logs?: string | null;
|
|
706
|
+
started?: string | null;
|
|
707
|
+
};
|
|
656
708
|
export type Step = {
|
|
657
709
|
step_name: string;
|
|
658
710
|
execution_order: number;
|
|
659
711
|
"type": QuickCommandStepType;
|
|
660
|
-
step_result: StepFetch | StepLlm | StepRouter | null;
|
|
712
|
+
step_result: StepFetch | StepLlm | StepRouter | StepScript | null;
|
|
713
|
+
status?: string;
|
|
661
714
|
};
|
|
662
715
|
export type QuickCommandExecutionResponse = {
|
|
663
716
|
execution_id: string;
|
|
@@ -668,6 +721,23 @@ export type QuickCommandExecutionResponse = {
|
|
|
668
721
|
steps?: Step[] | null;
|
|
669
722
|
result?: string | null;
|
|
670
723
|
};
|
|
724
|
+
export type QuickCommandStartScriptRequest = {
|
|
725
|
+
context?: {
|
|
726
|
+
[key: string]: any;
|
|
727
|
+
} | null;
|
|
728
|
+
input_data?: string | {
|
|
729
|
+
[key: string]: any;
|
|
730
|
+
} | null;
|
|
731
|
+
custom_inputs?: {
|
|
732
|
+
[key: string]: any;
|
|
733
|
+
} | null;
|
|
734
|
+
slugs_executions: {
|
|
735
|
+
[key: string]: QuickCommandStepResult;
|
|
736
|
+
} | null;
|
|
737
|
+
};
|
|
738
|
+
export type QuickCommandStartScriptResponse = {
|
|
739
|
+
script_execution_id: string;
|
|
740
|
+
};
|
|
671
741
|
export type ConversationHistoryAgentEnum = "AI" | "USER";
|
|
672
742
|
export type ConversationHistoryResponse = {
|
|
673
743
|
message_id: string;
|
|
@@ -678,6 +748,7 @@ export type ConversationHistoryResponse = {
|
|
|
678
748
|
[key: string]: any;
|
|
679
749
|
} | null;
|
|
680
750
|
updated: string;
|
|
751
|
+
agent_info?: any[] | null;
|
|
681
752
|
};
|
|
682
753
|
export type ConversationResponse = {
|
|
683
754
|
id: string;
|
|
@@ -716,18 +787,83 @@ export type DependencyResponse = {
|
|
|
716
787
|
delete_contents?: ContentDependencyResponse[] | null;
|
|
717
788
|
missing_list?: ContentDependencyResponse[] | null;
|
|
718
789
|
};
|
|
719
|
-
export type
|
|
790
|
+
export type TokenTypeEnum = "prompt" | "embedding";
|
|
791
|
+
export type AnalyticsTokensDailyUsageResponseSeriesItem = {
|
|
792
|
+
day: number;
|
|
793
|
+
date: string;
|
|
794
|
+
total_tokens: number;
|
|
795
|
+
};
|
|
796
|
+
export type AnalyticsTokensDailyUsageResponse = {
|
|
797
|
+
year: number;
|
|
798
|
+
month: number;
|
|
799
|
+
series: AnalyticsTokensDailyUsageResponseSeriesItem[];
|
|
800
|
+
consumed_tokens: number;
|
|
801
|
+
consumed_tokens_over_last_month?: number | null;
|
|
802
|
+
purchased_token_limit?: number | null;
|
|
803
|
+
purchased_token_limit_over_last_month?: number | null;
|
|
804
|
+
available_tokens?: number | null;
|
|
805
|
+
available_tokens_over_last_month?: number | null;
|
|
806
|
+
limit_consumed?: number | null;
|
|
807
|
+
limit_consumed_over_last_month?: number | null;
|
|
808
|
+
};
|
|
809
|
+
export type AnalyticsTokensRankingUsersResponse = {
|
|
810
|
+
email: string;
|
|
811
|
+
rank: number;
|
|
812
|
+
total_tokens: number;
|
|
813
|
+
total_share: number;
|
|
814
|
+
overage_tokens: number;
|
|
815
|
+
overage_percentage: number;
|
|
816
|
+
};
|
|
817
|
+
export type AnalyticsTokensRankingUsersResponsePaginated = {
|
|
818
|
+
total_pages: number;
|
|
819
|
+
items: AnalyticsTokensRankingUsersResponse[];
|
|
820
|
+
};
|
|
821
|
+
export type SortDirection = "ASC" | "DESC";
|
|
822
|
+
export type ReviewAnswers = {
|
|
823
|
+
id: string;
|
|
824
|
+
memberId: string;
|
|
825
|
+
comment: string;
|
|
826
|
+
createdAt: string;
|
|
827
|
+
updatedAt?: string | null;
|
|
828
|
+
};
|
|
829
|
+
export type Review = {
|
|
830
|
+
id: string;
|
|
831
|
+
memberId: string;
|
|
832
|
+
rating: number;
|
|
833
|
+
comment: string;
|
|
834
|
+
resourceType: string;
|
|
835
|
+
resourceSlug: string;
|
|
836
|
+
createdAt: string;
|
|
837
|
+
updatedAt?: string | null;
|
|
838
|
+
reviewAnswers?: ReviewAnswers[];
|
|
839
|
+
};
|
|
840
|
+
export type ResourceReviewResponse = {
|
|
841
|
+
items: Review[];
|
|
842
|
+
totalElements: number;
|
|
843
|
+
page: number;
|
|
844
|
+
size: number;
|
|
845
|
+
totalPages: number;
|
|
846
|
+
};
|
|
847
|
+
export type ResourceReviewRequest = {
|
|
848
|
+
rating: number;
|
|
849
|
+
comment?: string | null;
|
|
850
|
+
};
|
|
851
|
+
export type ReviewAnswer = {
|
|
852
|
+
answer: string;
|
|
853
|
+
};
|
|
854
|
+
export type SourceProjectFile2 = {
|
|
720
855
|
"type": "project_file";
|
|
721
856
|
path: string;
|
|
722
857
|
document_score: number;
|
|
723
858
|
};
|
|
724
859
|
export type ChatResponse2 = {
|
|
725
860
|
answer: string;
|
|
726
|
-
sources: (SourceStackAi | SourceKnowledgeSource |
|
|
861
|
+
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile2)[];
|
|
727
862
|
};
|
|
728
863
|
export type QuickCommandPromptResponse2 = {
|
|
729
864
|
answer: string;
|
|
730
865
|
sources?: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[] | null;
|
|
866
|
+
answer_status?: QuickCommandAnswerStatusResponse | null;
|
|
731
867
|
};
|
|
732
868
|
export type ChatRequest = {
|
|
733
869
|
context?: {
|
|
@@ -736,16 +872,36 @@ export type ChatRequest = {
|
|
|
736
872
|
user_prompt: string;
|
|
737
873
|
project_id?: string | null;
|
|
738
874
|
};
|
|
739
|
-
export type
|
|
875
|
+
export type SourceProjectFile3 = {
|
|
740
876
|
"type": "project_file";
|
|
741
877
|
path: string;
|
|
742
878
|
document_score: number;
|
|
743
879
|
};
|
|
744
880
|
export type ChatResponse3 = {
|
|
745
881
|
answer: string;
|
|
746
|
-
sources: (SourceStackAi | SourceKnowledgeSource |
|
|
882
|
+
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
|
|
747
883
|
message_id: string | null;
|
|
748
884
|
};
|
|
885
|
+
export type QuickCommandListResponseV3 = {
|
|
886
|
+
slug: string;
|
|
887
|
+
name: string;
|
|
888
|
+
"type": QuickCommandTypeRequest;
|
|
889
|
+
description: string;
|
|
890
|
+
studio_id?: string | null;
|
|
891
|
+
preserve_conversation: boolean;
|
|
892
|
+
use_selected_code: boolean;
|
|
893
|
+
return_type?: QuickCommandsReturnType | null;
|
|
894
|
+
creator: string | null;
|
|
895
|
+
visibility_level: string;
|
|
896
|
+
use_only: boolean;
|
|
897
|
+
share_context_between_steps?: boolean;
|
|
898
|
+
is_favorite?: boolean;
|
|
899
|
+
id: string;
|
|
900
|
+
};
|
|
901
|
+
export type PaginatedResponseQuickCommandListResponseV3 = {
|
|
902
|
+
total_pages: number;
|
|
903
|
+
items: QuickCommandListResponseV3[];
|
|
904
|
+
};
|
|
749
905
|
/**
|
|
750
906
|
* Metrics
|
|
751
907
|
*/
|
|
@@ -760,10 +916,11 @@ export function metricsMetricsGet(opts?: Oazapfts.RequestOpts) {
|
|
|
760
916
|
/**
|
|
761
917
|
* Workspace Fork
|
|
762
918
|
*/
|
|
763
|
-
export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, xMemberId, aiStackWorkspaceForkRequest }: {
|
|
919
|
+
export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceForkRequest }: {
|
|
764
920
|
authorization: string;
|
|
765
921
|
xAccountId?: string | null;
|
|
766
922
|
xMemberId?: string | null;
|
|
923
|
+
xUsername?: string | null;
|
|
767
924
|
aiStackWorkspaceForkRequest: AiStackWorkspaceForkRequest;
|
|
768
925
|
}, opts?: Oazapfts.RequestOpts) {
|
|
769
926
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -781,17 +938,19 @@ export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccou
|
|
|
781
938
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
782
939
|
authorization,
|
|
783
940
|
"x-account-id": xAccountId,
|
|
784
|
-
"x-member-id": xMemberId
|
|
941
|
+
"x-member-id": xMemberId,
|
|
942
|
+
"x-username": xUsername
|
|
785
943
|
})
|
|
786
944
|
})));
|
|
787
945
|
}
|
|
788
946
|
/**
|
|
789
947
|
* Workspace Delete Fork
|
|
790
948
|
*/
|
|
791
|
-
export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, xMemberId, aiStackWorkspaceDeleteRequest }: {
|
|
949
|
+
export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceDeleteRequest }: {
|
|
792
950
|
authorization: string;
|
|
793
951
|
xAccountId?: string | null;
|
|
794
952
|
xMemberId?: string | null;
|
|
953
|
+
xUsername?: string | null;
|
|
795
954
|
aiStackWorkspaceDeleteRequest: AiStackWorkspaceDeleteRequest;
|
|
796
955
|
}, opts?: Oazapfts.RequestOpts) {
|
|
797
956
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -808,17 +967,19 @@ export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization
|
|
|
808
967
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
809
968
|
authorization,
|
|
810
969
|
"x-account-id": xAccountId,
|
|
811
|
-
"x-member-id": xMemberId
|
|
970
|
+
"x-member-id": xMemberId,
|
|
971
|
+
"x-username": xUsername
|
|
812
972
|
})
|
|
813
973
|
})));
|
|
814
974
|
}
|
|
815
975
|
/**
|
|
816
976
|
* Workspace List
|
|
817
977
|
*/
|
|
818
|
-
export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, xMemberId, aiStackWorkspaceListRequest }: {
|
|
978
|
+
export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceListRequest }: {
|
|
819
979
|
authorization: string;
|
|
820
980
|
xAccountId?: string | null;
|
|
821
981
|
xMemberId?: string | null;
|
|
982
|
+
xUsername?: string | null;
|
|
822
983
|
aiStackWorkspaceListRequest: AiStackWorkspaceListRequest;
|
|
823
984
|
}, opts?: Oazapfts.RequestOpts) {
|
|
824
985
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -836,18 +997,20 @@ export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccou
|
|
|
836
997
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
837
998
|
authorization,
|
|
838
999
|
"x-account-id": xAccountId,
|
|
839
|
-
"x-member-id": xMemberId
|
|
1000
|
+
"x-member-id": xMemberId,
|
|
1001
|
+
"x-username": xUsername
|
|
840
1002
|
})
|
|
841
1003
|
})));
|
|
842
1004
|
}
|
|
843
1005
|
/**
|
|
844
1006
|
* List Ai Stacks
|
|
845
1007
|
*/
|
|
846
|
-
export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId, xMemberId }: {
|
|
1008
|
+
export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId, xMemberId, xUsername }: {
|
|
847
1009
|
visibility?: VisibilityLevelEnum;
|
|
848
1010
|
authorization: string;
|
|
849
1011
|
xAccountId?: string | null;
|
|
850
1012
|
xMemberId?: string | null;
|
|
1013
|
+
xUsername?: string | null;
|
|
851
1014
|
}, opts?: Oazapfts.RequestOpts) {
|
|
852
1015
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
853
1016
|
status: 200;
|
|
@@ -864,17 +1027,19 @@ export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountI
|
|
|
864
1027
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
865
1028
|
authorization,
|
|
866
1029
|
"x-account-id": xAccountId,
|
|
867
|
-
"x-member-id": xMemberId
|
|
1030
|
+
"x-member-id": xMemberId,
|
|
1031
|
+
"x-username": xUsername
|
|
868
1032
|
})
|
|
869
1033
|
}));
|
|
870
1034
|
}
|
|
871
1035
|
/**
|
|
872
1036
|
* Create Ai Stack
|
|
873
1037
|
*/
|
|
874
|
-
export function createAiStackV1AiStacksPost({ authorization, xAccountId, xMemberId, newAiStackRequest }: {
|
|
1038
|
+
export function createAiStackV1AiStacksPost({ authorization, xAccountId, xMemberId, xUsername, newAiStackRequest }: {
|
|
875
1039
|
authorization: string;
|
|
876
1040
|
xAccountId?: string | null;
|
|
877
1041
|
xMemberId?: string | null;
|
|
1042
|
+
xUsername?: string | null;
|
|
878
1043
|
newAiStackRequest: NewAiStackRequest;
|
|
879
1044
|
}, opts?: Oazapfts.RequestOpts) {
|
|
880
1045
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -892,18 +1057,20 @@ export function createAiStackV1AiStacksPost({ authorization, xAccountId, xMember
|
|
|
892
1057
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
893
1058
|
authorization,
|
|
894
1059
|
"x-account-id": xAccountId,
|
|
895
|
-
"x-member-id": xMemberId
|
|
1060
|
+
"x-member-id": xMemberId,
|
|
1061
|
+
"x-username": xUsername
|
|
896
1062
|
})
|
|
897
1063
|
})));
|
|
898
1064
|
}
|
|
899
1065
|
/**
|
|
900
1066
|
* Update Ai Stack
|
|
901
1067
|
*/
|
|
902
|
-
export function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, xMemberId, updateAiStackRequest }: {
|
|
1068
|
+
export function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, xMemberId, xUsername, updateAiStackRequest }: {
|
|
903
1069
|
stackId: string;
|
|
904
1070
|
authorization: string;
|
|
905
1071
|
xAccountId?: string | null;
|
|
906
1072
|
xMemberId?: string | null;
|
|
1073
|
+
xUsername?: string | null;
|
|
907
1074
|
updateAiStackRequest: UpdateAiStackRequest;
|
|
908
1075
|
}, opts?: Oazapfts.RequestOpts) {
|
|
909
1076
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -920,18 +1087,20 @@ export function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xA
|
|
|
920
1087
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
921
1088
|
authorization,
|
|
922
1089
|
"x-account-id": xAccountId,
|
|
923
|
-
"x-member-id": xMemberId
|
|
1090
|
+
"x-member-id": xMemberId,
|
|
1091
|
+
"x-username": xUsername
|
|
924
1092
|
})
|
|
925
1093
|
})));
|
|
926
1094
|
}
|
|
927
1095
|
/**
|
|
928
1096
|
* Get Ai Stack
|
|
929
1097
|
*/
|
|
930
|
-
export function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId, xMemberId }: {
|
|
1098
|
+
export function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
931
1099
|
stackId: string;
|
|
932
1100
|
authorization: string;
|
|
933
1101
|
xAccountId?: string | null;
|
|
934
1102
|
xMemberId?: string | null;
|
|
1103
|
+
xUsername?: string | null;
|
|
935
1104
|
}, opts?: Oazapfts.RequestOpts) {
|
|
936
1105
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
937
1106
|
status: 200;
|
|
@@ -946,18 +1115,20 @@ export function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccoun
|
|
|
946
1115
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
947
1116
|
authorization,
|
|
948
1117
|
"x-account-id": xAccountId,
|
|
949
|
-
"x-member-id": xMemberId
|
|
1118
|
+
"x-member-id": xMemberId,
|
|
1119
|
+
"x-username": xUsername
|
|
950
1120
|
})
|
|
951
1121
|
}));
|
|
952
1122
|
}
|
|
953
1123
|
/**
|
|
954
1124
|
* Remove Ai Stack
|
|
955
1125
|
*/
|
|
956
|
-
export function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId, xMemberId }: {
|
|
1126
|
+
export function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
957
1127
|
stackId: string;
|
|
958
1128
|
authorization: string;
|
|
959
1129
|
xAccountId?: string | null;
|
|
960
1130
|
xMemberId?: string | null;
|
|
1131
|
+
xUsername?: string | null;
|
|
961
1132
|
}, opts?: Oazapfts.RequestOpts) {
|
|
962
1133
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
963
1134
|
status: 200;
|
|
@@ -973,18 +1144,20 @@ export function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, x
|
|
|
973
1144
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
974
1145
|
authorization,
|
|
975
1146
|
"x-account-id": xAccountId,
|
|
976
|
-
"x-member-id": xMemberId
|
|
1147
|
+
"x-member-id": xMemberId,
|
|
1148
|
+
"x-username": xUsername
|
|
977
1149
|
})
|
|
978
1150
|
}));
|
|
979
1151
|
}
|
|
980
1152
|
/**
|
|
981
1153
|
* Get Ai Stack Exists
|
|
982
1154
|
*/
|
|
983
|
-
export function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId, xMemberId }: {
|
|
1155
|
+
export function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId, xMemberId, xUsername }: {
|
|
984
1156
|
stackName: string;
|
|
985
1157
|
authorization: string;
|
|
986
1158
|
xAccountId?: string | null;
|
|
987
1159
|
xMemberId?: string | null;
|
|
1160
|
+
xUsername?: string | null;
|
|
988
1161
|
}, opts?: Oazapfts.RequestOpts) {
|
|
989
1162
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
990
1163
|
status: 204;
|
|
@@ -998,18 +1171,20 @@ export function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, author
|
|
|
998
1171
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
999
1172
|
authorization,
|
|
1000
1173
|
"x-account-id": xAccountId,
|
|
1001
|
-
"x-member-id": xMemberId
|
|
1174
|
+
"x-member-id": xMemberId,
|
|
1175
|
+
"x-username": xUsername
|
|
1002
1176
|
})
|
|
1003
1177
|
}));
|
|
1004
1178
|
}
|
|
1005
1179
|
/**
|
|
1006
1180
|
* Add Favorite
|
|
1007
1181
|
*/
|
|
1008
|
-
export function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorization, xAccountId, xMemberId }: {
|
|
1182
|
+
export function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
1009
1183
|
stackId: string;
|
|
1010
1184
|
authorization: string;
|
|
1011
1185
|
xAccountId?: string | null;
|
|
1012
1186
|
xMemberId?: string | null;
|
|
1187
|
+
xUsername?: string | null;
|
|
1013
1188
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1014
1189
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1015
1190
|
status: 204;
|
|
@@ -1024,18 +1199,20 @@ export function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorizatio
|
|
|
1024
1199
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1025
1200
|
authorization,
|
|
1026
1201
|
"x-account-id": xAccountId,
|
|
1027
|
-
"x-member-id": xMemberId
|
|
1202
|
+
"x-member-id": xMemberId,
|
|
1203
|
+
"x-username": xUsername
|
|
1028
1204
|
})
|
|
1029
1205
|
}));
|
|
1030
1206
|
}
|
|
1031
1207
|
/**
|
|
1032
1208
|
* Delete Favorite
|
|
1033
1209
|
*/
|
|
1034
|
-
export function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authorization, xAccountId, xMemberId }: {
|
|
1210
|
+
export function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
1035
1211
|
stackId: string;
|
|
1036
1212
|
authorization: string;
|
|
1037
1213
|
xAccountId?: string | null;
|
|
1038
1214
|
xMemberId?: string | null;
|
|
1215
|
+
xUsername?: string | null;
|
|
1039
1216
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1040
1217
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1041
1218
|
status: 204;
|
|
@@ -1050,18 +1227,20 @@ export function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authori
|
|
|
1050
1227
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1051
1228
|
authorization,
|
|
1052
1229
|
"x-account-id": xAccountId,
|
|
1053
|
-
"x-member-id": xMemberId
|
|
1230
|
+
"x-member-id": xMemberId,
|
|
1231
|
+
"x-username": xUsername
|
|
1054
1232
|
})
|
|
1055
1233
|
}));
|
|
1056
1234
|
}
|
|
1057
1235
|
/**
|
|
1058
1236
|
* Fork
|
|
1059
1237
|
*/
|
|
1060
|
-
export function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, xMemberId, aiStackForkRequest }: {
|
|
1238
|
+
export function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, xMemberId, xUsername, aiStackForkRequest }: {
|
|
1061
1239
|
stackId: string;
|
|
1062
1240
|
authorization: string;
|
|
1063
1241
|
xAccountId?: string | null;
|
|
1064
1242
|
xMemberId?: string | null;
|
|
1243
|
+
xUsername?: string | null;
|
|
1065
1244
|
aiStackForkRequest: AiStackForkRequest;
|
|
1066
1245
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1067
1246
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1079,18 +1258,20 @@ export function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccount
|
|
|
1079
1258
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1080
1259
|
authorization,
|
|
1081
1260
|
"x-account-id": xAccountId,
|
|
1082
|
-
"x-member-id": xMemberId
|
|
1261
|
+
"x-member-id": xMemberId,
|
|
1262
|
+
"x-username": xUsername
|
|
1083
1263
|
})
|
|
1084
1264
|
})));
|
|
1085
1265
|
}
|
|
1086
1266
|
/**
|
|
1087
1267
|
* Share
|
|
1088
1268
|
*/
|
|
1089
|
-
export function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, xMemberId }: {
|
|
1269
|
+
export function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
1090
1270
|
stackId: string;
|
|
1091
1271
|
authorization: string;
|
|
1092
1272
|
xAccountId?: string | null;
|
|
1093
1273
|
xMemberId?: string | null;
|
|
1274
|
+
xUsername?: string | null;
|
|
1094
1275
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1095
1276
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1096
1277
|
status: 204;
|
|
@@ -1105,18 +1286,20 @@ export function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccou
|
|
|
1105
1286
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1106
1287
|
authorization,
|
|
1107
1288
|
"x-account-id": xAccountId,
|
|
1108
|
-
"x-member-id": xMemberId
|
|
1289
|
+
"x-member-id": xMemberId,
|
|
1290
|
+
"x-username": xUsername
|
|
1109
1291
|
})
|
|
1110
1292
|
}));
|
|
1111
1293
|
}
|
|
1112
1294
|
/**
|
|
1113
1295
|
* Publish
|
|
1114
1296
|
*/
|
|
1115
|
-
export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, xMemberId, aiStackPublishRequest }: {
|
|
1297
|
+
export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, xMemberId, xUsername, aiStackPublishRequest }: {
|
|
1116
1298
|
stackId: string;
|
|
1117
1299
|
authorization: string;
|
|
1118
1300
|
xAccountId?: string | null;
|
|
1119
1301
|
xMemberId?: string | null;
|
|
1302
|
+
xUsername?: string | null;
|
|
1120
1303
|
aiStackPublishRequest?: AiStackPublishRequest;
|
|
1121
1304
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1122
1305
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1133,7 +1316,8 @@ export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xA
|
|
|
1133
1316
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1134
1317
|
authorization,
|
|
1135
1318
|
"x-account-id": xAccountId,
|
|
1136
|
-
"x-member-id": xMemberId
|
|
1319
|
+
"x-member-id": xMemberId,
|
|
1320
|
+
"x-username": xUsername
|
|
1137
1321
|
})
|
|
1138
1322
|
})));
|
|
1139
1323
|
}
|
|
@@ -1164,10 +1348,11 @@ export function projectFilesV1ProjectFilesPost({ authorization, newProjectFilesR
|
|
|
1164
1348
|
/**
|
|
1165
1349
|
* Quick Actions
|
|
1166
1350
|
*/
|
|
1167
|
-
export function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMemberId, quickActionsRequest }: {
|
|
1351
|
+
export function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMemberId, xUsername, quickActionsRequest }: {
|
|
1168
1352
|
authorization: string;
|
|
1169
1353
|
xAccountId?: string | null;
|
|
1170
1354
|
xMemberId?: string | null;
|
|
1355
|
+
xUsername?: string | null;
|
|
1171
1356
|
quickActionsRequest: QuickActionsRequest;
|
|
1172
1357
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1173
1358
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1185,7 +1370,8 @@ export function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMem
|
|
|
1185
1370
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1186
1371
|
authorization,
|
|
1187
1372
|
"x-account-id": xAccountId,
|
|
1188
|
-
"x-member-id": xMemberId
|
|
1373
|
+
"x-member-id": xMemberId,
|
|
1374
|
+
"x-username": xUsername
|
|
1189
1375
|
})
|
|
1190
1376
|
})));
|
|
1191
1377
|
}
|
|
@@ -1206,10 +1392,11 @@ export function devAssistantV1ChatPost(opts?: Oazapfts.RequestOpts) {
|
|
|
1206
1392
|
/**
|
|
1207
1393
|
* Autocomplete V1
|
|
1208
1394
|
*/
|
|
1209
|
-
export function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xMemberId, autoCompleteRequest }: {
|
|
1395
|
+
export function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xMemberId, xUsername, autoCompleteRequest }: {
|
|
1210
1396
|
authorization: string;
|
|
1211
1397
|
xAccountId?: string | null;
|
|
1212
1398
|
xMemberId?: string | null;
|
|
1399
|
+
xUsername?: string | null;
|
|
1213
1400
|
autoCompleteRequest: AutoCompleteRequest;
|
|
1214
1401
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1215
1402
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1227,17 +1414,19 @@ export function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xM
|
|
|
1227
1414
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1228
1415
|
authorization,
|
|
1229
1416
|
"x-account-id": xAccountId,
|
|
1230
|
-
"x-member-id": xMemberId
|
|
1417
|
+
"x-member-id": xMemberId,
|
|
1418
|
+
"x-username": xUsername
|
|
1231
1419
|
})
|
|
1232
1420
|
})));
|
|
1233
1421
|
}
|
|
1234
1422
|
/**
|
|
1235
1423
|
* Post Event
|
|
1236
1424
|
*/
|
|
1237
|
-
export function postEventV1EventsPost({ authorization, xAccountId, xMemberId, body }: {
|
|
1425
|
+
export function postEventV1EventsPost({ authorization, xAccountId, xMemberId, xUsername, body }: {
|
|
1238
1426
|
authorization: string;
|
|
1239
1427
|
xAccountId?: string | null;
|
|
1240
1428
|
xMemberId?: string | null;
|
|
1429
|
+
xUsername?: string | null;
|
|
1241
1430
|
body: GenericEventRequest[];
|
|
1242
1431
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1243
1432
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1254,7 +1443,8 @@ export function postEventV1EventsPost({ authorization, xAccountId, xMemberId, bo
|
|
|
1254
1443
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1255
1444
|
authorization,
|
|
1256
1445
|
"x-account-id": xAccountId,
|
|
1257
|
-
"x-member-id": xMemberId
|
|
1446
|
+
"x-member-id": xMemberId,
|
|
1447
|
+
"x-username": xUsername
|
|
1258
1448
|
})
|
|
1259
1449
|
})));
|
|
1260
1450
|
}
|
|
@@ -1343,7 +1533,7 @@ export function createKnowledgeSourceV1KnowledgeSourcesPost({ authorization, new
|
|
|
1343
1533
|
/**
|
|
1344
1534
|
* List Knowledge Sources
|
|
1345
1535
|
*/
|
|
1346
|
-
export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId, xMemberId }: {
|
|
1536
|
+
export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId, xMemberId, xUsername }: {
|
|
1347
1537
|
visibility?: VisibilityLevelEnum;
|
|
1348
1538
|
order?: OrderEnum;
|
|
1349
1539
|
$default?: boolean | null;
|
|
@@ -1351,6 +1541,7 @@ export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $
|
|
|
1351
1541
|
authorization: string;
|
|
1352
1542
|
xAccountId?: string | null;
|
|
1353
1543
|
xMemberId?: string | null;
|
|
1544
|
+
xUsername?: string | null;
|
|
1354
1545
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1355
1546
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1356
1547
|
status: 200;
|
|
@@ -1370,7 +1561,8 @@ export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $
|
|
|
1370
1561
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1371
1562
|
authorization,
|
|
1372
1563
|
"x-account-id": xAccountId,
|
|
1373
|
-
"x-member-id": xMemberId
|
|
1564
|
+
"x-member-id": xMemberId,
|
|
1565
|
+
"x-username": xUsername
|
|
1374
1566
|
})
|
|
1375
1567
|
}));
|
|
1376
1568
|
}
|
|
@@ -1423,11 +1615,12 @@ export function updateKnowledgeSourceV1KnowledgeSourcesSlugPatch({ slug, authori
|
|
|
1423
1615
|
/**
|
|
1424
1616
|
* Delete Knowledge Source
|
|
1425
1617
|
*/
|
|
1426
|
-
export function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId, xMemberId }: {
|
|
1618
|
+
export function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
1427
1619
|
slug: string;
|
|
1428
1620
|
authorization: string;
|
|
1429
1621
|
xAccountId?: string | null;
|
|
1430
1622
|
xMemberId?: string | null;
|
|
1623
|
+
xUsername?: string | null;
|
|
1431
1624
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1432
1625
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1433
1626
|
status: 204;
|
|
@@ -1442,7 +1635,8 @@ export function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, author
|
|
|
1442
1635
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1443
1636
|
authorization,
|
|
1444
1637
|
"x-account-id": xAccountId,
|
|
1445
|
-
"x-member-id": xMemberId
|
|
1638
|
+
"x-member-id": xMemberId,
|
|
1639
|
+
"x-username": xUsername
|
|
1446
1640
|
})
|
|
1447
1641
|
}));
|
|
1448
1642
|
}
|
|
@@ -1470,13 +1664,14 @@ export function existsKnowledgeSourceV1KnowledgeSourcesSlugExistsGet({ slug, aut
|
|
|
1470
1664
|
/**
|
|
1471
1665
|
* Search
|
|
1472
1666
|
*/
|
|
1473
|
-
export function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId, xMemberId }: {
|
|
1667
|
+
export function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId, xMemberId, xUsername }: {
|
|
1474
1668
|
slug: string;
|
|
1475
1669
|
q: string;
|
|
1476
1670
|
size?: number;
|
|
1477
1671
|
authorization: string;
|
|
1478
1672
|
xAccountId?: string | null;
|
|
1479
1673
|
xMemberId?: string | null;
|
|
1674
|
+
xUsername?: string | null;
|
|
1480
1675
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1481
1676
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1482
1677
|
status: 200;
|
|
@@ -1494,7 +1689,8 @@ export function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size,
|
|
|
1494
1689
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1495
1690
|
authorization,
|
|
1496
1691
|
"x-account-id": xAccountId,
|
|
1497
|
-
"x-member-id": xMemberId
|
|
1692
|
+
"x-member-id": xMemberId,
|
|
1693
|
+
"x-username": xUsername
|
|
1498
1694
|
})
|
|
1499
1695
|
}));
|
|
1500
1696
|
}
|
|
@@ -1713,11 +1909,12 @@ export function findSnippetDocByCustomIdV1KnowledgeSourcesSlugSnippetsIdGet({ sl
|
|
|
1713
1909
|
/**
|
|
1714
1910
|
* Vectorize Snippet Knowledge Source
|
|
1715
1911
|
*/
|
|
1716
|
-
export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, xMemberId, snippetKnowledgeSourceRequest }: {
|
|
1912
|
+
export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, xMemberId, xUsername, snippetKnowledgeSourceRequest }: {
|
|
1717
1913
|
slug: string;
|
|
1718
1914
|
authorization: string;
|
|
1719
1915
|
xAccountId?: string | null;
|
|
1720
1916
|
xMemberId?: string | null;
|
|
1917
|
+
xUsername?: string | null;
|
|
1721
1918
|
snippetKnowledgeSourceRequest: SnippetKnowledgeSourceRequest;
|
|
1722
1919
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1723
1920
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1734,7 +1931,8 @@ export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPos
|
|
|
1734
1931
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1735
1932
|
authorization,
|
|
1736
1933
|
"x-account-id": xAccountId,
|
|
1737
|
-
"x-member-id": xMemberId
|
|
1934
|
+
"x-member-id": xMemberId,
|
|
1935
|
+
"x-username": xUsername
|
|
1738
1936
|
})
|
|
1739
1937
|
})));
|
|
1740
1938
|
}
|
|
@@ -1787,11 +1985,12 @@ export function findEventDocByCustomIdV1KnowledgeSourcesSlugEventsIdGet({ slug,
|
|
|
1787
1985
|
/**
|
|
1788
1986
|
* Vectorize Event Knowledge Source
|
|
1789
1987
|
*/
|
|
1790
|
-
export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, xMemberId, body }: {
|
|
1988
|
+
export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, xMemberId, xUsername, body }: {
|
|
1791
1989
|
slug: string;
|
|
1792
1990
|
authorization: string;
|
|
1793
1991
|
xAccountId?: string | null;
|
|
1794
1992
|
xMemberId?: string | null;
|
|
1993
|
+
xUsername?: string | null;
|
|
1795
1994
|
body: {
|
|
1796
1995
|
[key: string]: any;
|
|
1797
1996
|
};
|
|
@@ -1810,7 +2009,8 @@ export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({
|
|
|
1810
2009
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1811
2010
|
authorization,
|
|
1812
2011
|
"x-account-id": xAccountId,
|
|
1813
|
-
"x-member-id": xMemberId
|
|
2012
|
+
"x-member-id": xMemberId,
|
|
2013
|
+
"x-username": xUsername
|
|
1814
2014
|
})
|
|
1815
2015
|
})));
|
|
1816
2016
|
}
|
|
@@ -1840,11 +2040,12 @@ export function findCustomDocByCustomIdV1KnowledgeSourcesSlugCustomIdGet({ slug,
|
|
|
1840
2040
|
/**
|
|
1841
2041
|
* Vectorize Custom Knowledge Source
|
|
1842
2042
|
*/
|
|
1843
|
-
export function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, xMemberId, customKnowledgeSourceRequest }: {
|
|
2043
|
+
export function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, xMemberId, xUsername, customKnowledgeSourceRequest }: {
|
|
1844
2044
|
slug: string;
|
|
1845
2045
|
authorization: string;
|
|
1846
2046
|
xAccountId?: string | null;
|
|
1847
2047
|
xMemberId?: string | null;
|
|
2048
|
+
xUsername?: string | null;
|
|
1848
2049
|
customKnowledgeSourceRequest: CustomKnowledgeSourceRequest;
|
|
1849
2050
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1850
2051
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1861,7 +2062,8 @@ export function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({
|
|
|
1861
2062
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1862
2063
|
authorization,
|
|
1863
2064
|
"x-account-id": xAccountId,
|
|
1864
|
-
"x-member-id": xMemberId
|
|
2065
|
+
"x-member-id": xMemberId,
|
|
2066
|
+
"x-username": xUsername
|
|
1865
2067
|
})
|
|
1866
2068
|
})));
|
|
1867
2069
|
}
|
|
@@ -1906,10 +2108,11 @@ export function searchKnowledgeSourcesV1KnowledgeSourcesSearchPost({ authorizati
|
|
|
1906
2108
|
/**
|
|
1907
2109
|
* Change Llm
|
|
1908
2110
|
*/
|
|
1909
|
-
export function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMemberId, accountSettingsChangeLlmRequest }: {
|
|
2111
|
+
export function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeLlmRequest }: {
|
|
1910
2112
|
authorization: string;
|
|
1911
2113
|
xAccountId?: string | null;
|
|
1912
2114
|
xMemberId?: string | null;
|
|
2115
|
+
xUsername?: string | null;
|
|
1913
2116
|
accountSettingsChangeLlmRequest: AccountSettingsChangeLlmRequest;
|
|
1914
2117
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1915
2118
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1926,17 +2129,19 @@ export function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMember
|
|
|
1926
2129
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1927
2130
|
authorization,
|
|
1928
2131
|
"x-account-id": xAccountId,
|
|
1929
|
-
"x-member-id": xMemberId
|
|
2132
|
+
"x-member-id": xMemberId,
|
|
2133
|
+
"x-username": xUsername
|
|
1930
2134
|
})
|
|
1931
2135
|
})));
|
|
1932
2136
|
}
|
|
1933
2137
|
/**
|
|
1934
2138
|
* Change Limit
|
|
1935
2139
|
*/
|
|
1936
|
-
export function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, xMemberId, accountSettingsChangeLimitRequest }: {
|
|
2140
|
+
export function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeLimitRequest }: {
|
|
1937
2141
|
authorization: string;
|
|
1938
2142
|
xAccountId?: string | null;
|
|
1939
2143
|
xMemberId?: string | null;
|
|
2144
|
+
xUsername?: string | null;
|
|
1940
2145
|
accountSettingsChangeLimitRequest: AccountSettingsChangeLimitRequest;
|
|
1941
2146
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1942
2147
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -1953,17 +2158,19 @@ export function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId,
|
|
|
1953
2158
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1954
2159
|
authorization,
|
|
1955
2160
|
"x-account-id": xAccountId,
|
|
1956
|
-
"x-member-id": xMemberId
|
|
2161
|
+
"x-member-id": xMemberId,
|
|
2162
|
+
"x-username": xUsername
|
|
1957
2163
|
})
|
|
1958
2164
|
})));
|
|
1959
2165
|
}
|
|
1960
2166
|
/**
|
|
1961
2167
|
* Reset Limit
|
|
1962
2168
|
*/
|
|
1963
|
-
export function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId, xMemberId }: {
|
|
2169
|
+
export function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId, xMemberId, xUsername }: {
|
|
1964
2170
|
authorization: string;
|
|
1965
2171
|
xAccountId?: string | null;
|
|
1966
2172
|
xMemberId?: string | null;
|
|
2173
|
+
xUsername?: string | null;
|
|
1967
2174
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1968
2175
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1969
2176
|
status: 204;
|
|
@@ -1978,17 +2185,19 @@ export function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountI
|
|
|
1978
2185
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1979
2186
|
authorization,
|
|
1980
2187
|
"x-account-id": xAccountId,
|
|
1981
|
-
"x-member-id": xMemberId
|
|
2188
|
+
"x-member-id": xMemberId,
|
|
2189
|
+
"x-username": xUsername
|
|
1982
2190
|
})
|
|
1983
2191
|
}));
|
|
1984
2192
|
}
|
|
1985
2193
|
/**
|
|
1986
2194
|
* Change External Rqc
|
|
1987
2195
|
*/
|
|
1988
|
-
export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, xMemberId, accountSettingsChangeErqcRequest }: {
|
|
2196
|
+
export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeErqcRequest }: {
|
|
1989
2197
|
authorization: string;
|
|
1990
2198
|
xAccountId?: string | null;
|
|
1991
2199
|
xMemberId?: string | null;
|
|
2200
|
+
xUsername?: string | null;
|
|
1992
2201
|
accountSettingsChangeErqcRequest: AccountSettingsChangeErqcRequest;
|
|
1993
2202
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1994
2203
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2005,7 +2214,8 @@ export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAc
|
|
|
2005
2214
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2006
2215
|
authorization,
|
|
2007
2216
|
"x-account-id": xAccountId,
|
|
2008
|
-
"x-member-id": xMemberId
|
|
2217
|
+
"x-member-id": xMemberId,
|
|
2218
|
+
"x-username": xUsername
|
|
2009
2219
|
})
|
|
2010
2220
|
})));
|
|
2011
2221
|
}
|
|
@@ -2046,23 +2256,38 @@ export function changeExternalConfigsV1AccountsExternalConfigPatch({ body }: {
|
|
|
2046
2256
|
/**
|
|
2047
2257
|
* Tokens Usage
|
|
2048
2258
|
*/
|
|
2049
|
-
export function tokensUsageV1AccountsTokensUsageGet(
|
|
2259
|
+
export function tokensUsageV1AccountsTokensUsageGet({ authorization, xAccountId, xMemberId, xUsername }: {
|
|
2260
|
+
authorization: string;
|
|
2261
|
+
xAccountId?: string | null;
|
|
2262
|
+
xMemberId?: string | null;
|
|
2263
|
+
xUsername?: string | null;
|
|
2264
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2050
2265
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2051
2266
|
status: 200;
|
|
2052
2267
|
data: AccountTokenUsage;
|
|
2053
2268
|
} | {
|
|
2054
2269
|
status: 404;
|
|
2270
|
+
} | {
|
|
2271
|
+
status: 422;
|
|
2272
|
+
data: HttpValidationError;
|
|
2055
2273
|
}>("/v1/accounts/tokens-usage", {
|
|
2056
|
-
...opts
|
|
2274
|
+
...opts,
|
|
2275
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2276
|
+
authorization,
|
|
2277
|
+
"x-account-id": xAccountId,
|
|
2278
|
+
"x-member-id": xMemberId,
|
|
2279
|
+
"x-username": xUsername
|
|
2280
|
+
})
|
|
2057
2281
|
}));
|
|
2058
2282
|
}
|
|
2059
2283
|
/**
|
|
2060
|
-
*
|
|
2284
|
+
* Total
|
|
2061
2285
|
*/
|
|
2062
|
-
export function
|
|
2286
|
+
export function totalV1TokensUsageTotalGet({ authorization, xAccountId, xMemberId, xUsername }: {
|
|
2063
2287
|
authorization: string;
|
|
2064
2288
|
xAccountId?: string | null;
|
|
2065
2289
|
xMemberId?: string | null;
|
|
2290
|
+
xUsername?: string | null;
|
|
2066
2291
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2067
2292
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2068
2293
|
status: 200;
|
|
@@ -2077,19 +2302,21 @@ export function currentV1TokensUsageTotalGet({ authorization, xAccountId, xMembe
|
|
|
2077
2302
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2078
2303
|
authorization,
|
|
2079
2304
|
"x-account-id": xAccountId,
|
|
2080
|
-
"x-member-id": xMemberId
|
|
2305
|
+
"x-member-id": xMemberId,
|
|
2306
|
+
"x-username": xUsername
|
|
2081
2307
|
})
|
|
2082
2308
|
}));
|
|
2083
2309
|
}
|
|
2084
2310
|
/**
|
|
2085
2311
|
* Current
|
|
2086
2312
|
*/
|
|
2087
|
-
export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId }: {
|
|
2088
|
-
year
|
|
2089
|
-
month
|
|
2313
|
+
export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2314
|
+
year?: number | null;
|
|
2315
|
+
month?: number | null;
|
|
2090
2316
|
authorization: string;
|
|
2091
2317
|
xAccountId?: string | null;
|
|
2092
2318
|
xMemberId?: string | null;
|
|
2319
|
+
xUsername?: string | null;
|
|
2093
2320
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2094
2321
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2095
2322
|
status: 200;
|
|
@@ -2107,18 +2334,20 @@ export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAc
|
|
|
2107
2334
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2108
2335
|
authorization,
|
|
2109
2336
|
"x-account-id": xAccountId,
|
|
2110
|
-
"x-member-id": xMemberId
|
|
2337
|
+
"x-member-id": xMemberId,
|
|
2338
|
+
"x-username": xUsername
|
|
2111
2339
|
})
|
|
2112
2340
|
}));
|
|
2113
2341
|
}
|
|
2114
2342
|
/**
|
|
2115
2343
|
* Monthly
|
|
2116
2344
|
*/
|
|
2117
|
-
export function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId, xMemberId }: {
|
|
2345
|
+
export function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2118
2346
|
year: number;
|
|
2119
2347
|
authorization: string;
|
|
2120
2348
|
xAccountId?: string | null;
|
|
2121
2349
|
xMemberId?: string | null;
|
|
2350
|
+
xUsername?: string | null;
|
|
2122
2351
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2123
2352
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2124
2353
|
status: 200;
|
|
@@ -2135,19 +2364,21 @@ export function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId
|
|
|
2135
2364
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2136
2365
|
authorization,
|
|
2137
2366
|
"x-account-id": xAccountId,
|
|
2138
|
-
"x-member-id": xMemberId
|
|
2367
|
+
"x-member-id": xMemberId,
|
|
2368
|
+
"x-username": xUsername
|
|
2139
2369
|
})
|
|
2140
2370
|
}));
|
|
2141
2371
|
}
|
|
2142
2372
|
/**
|
|
2143
2373
|
* Top Users
|
|
2144
2374
|
*/
|
|
2145
|
-
export function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId, xMemberId }: {
|
|
2375
|
+
export function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2146
2376
|
year: number;
|
|
2147
2377
|
month: number;
|
|
2148
2378
|
authorization: string;
|
|
2149
2379
|
xAccountId?: string | null;
|
|
2150
2380
|
xMemberId?: string | null;
|
|
2381
|
+
xUsername?: string | null;
|
|
2151
2382
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2152
2383
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2153
2384
|
status: 200;
|
|
@@ -2165,18 +2396,20 @@ export function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, x
|
|
|
2165
2396
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2166
2397
|
authorization,
|
|
2167
2398
|
"x-account-id": xAccountId,
|
|
2168
|
-
"x-member-id": xMemberId
|
|
2399
|
+
"x-member-id": xMemberId,
|
|
2400
|
+
"x-username": xUsername
|
|
2169
2401
|
})
|
|
2170
2402
|
}));
|
|
2171
2403
|
}
|
|
2172
2404
|
/**
|
|
2173
2405
|
* Add Association
|
|
2174
2406
|
*/
|
|
2175
|
-
export function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, xMemberId, addWorkspaceKnowledgeSourceRequest }: {
|
|
2407
|
+
export function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, xMemberId, xUsername, addWorkspaceKnowledgeSourceRequest }: {
|
|
2176
2408
|
workspaceId: string;
|
|
2177
2409
|
authorization: string;
|
|
2178
2410
|
xAccountId?: string | null;
|
|
2179
2411
|
xMemberId?: string | null;
|
|
2412
|
+
xUsername?: string | null;
|
|
2180
2413
|
addWorkspaceKnowledgeSourceRequest: AddWorkspaceKnowledgeSourceRequest;
|
|
2181
2414
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2182
2415
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2193,18 +2426,20 @@ export function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authoriz
|
|
|
2193
2426
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2194
2427
|
authorization,
|
|
2195
2428
|
"x-account-id": xAccountId,
|
|
2196
|
-
"x-member-id": xMemberId
|
|
2429
|
+
"x-member-id": xMemberId,
|
|
2430
|
+
"x-username": xUsername
|
|
2197
2431
|
})
|
|
2198
2432
|
})));
|
|
2199
2433
|
}
|
|
2200
2434
|
/**
|
|
2201
2435
|
* List Association
|
|
2202
2436
|
*/
|
|
2203
|
-
export function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId }: {
|
|
2437
|
+
export function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2204
2438
|
workspaceId: string;
|
|
2205
2439
|
authorization: string;
|
|
2206
2440
|
xAccountId?: string | null;
|
|
2207
2441
|
xMemberId?: string | null;
|
|
2442
|
+
xUsername?: string | null;
|
|
2208
2443
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2209
2444
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2210
2445
|
status: 200;
|
|
@@ -2219,19 +2454,21 @@ export function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authoriz
|
|
|
2219
2454
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2220
2455
|
authorization,
|
|
2221
2456
|
"x-account-id": xAccountId,
|
|
2222
|
-
"x-member-id": xMemberId
|
|
2457
|
+
"x-member-id": xMemberId,
|
|
2458
|
+
"x-username": xUsername
|
|
2223
2459
|
})
|
|
2224
2460
|
}));
|
|
2225
2461
|
}
|
|
2226
2462
|
/**
|
|
2227
2463
|
* Delete Association
|
|
2228
2464
|
*/
|
|
2229
|
-
export function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId, xMemberId }: {
|
|
2465
|
+
export function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2230
2466
|
workspaceId: string;
|
|
2231
2467
|
knowledgeSourceSlug: string;
|
|
2232
2468
|
authorization: string;
|
|
2233
2469
|
xAccountId?: string | null;
|
|
2234
2470
|
xMemberId?: string | null;
|
|
2471
|
+
xUsername?: string | null;
|
|
2235
2472
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2236
2473
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2237
2474
|
status: 204;
|
|
@@ -2246,17 +2483,19 @@ export function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeS
|
|
|
2246
2483
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2247
2484
|
authorization,
|
|
2248
2485
|
"x-account-id": xAccountId,
|
|
2249
|
-
"x-member-id": xMemberId
|
|
2486
|
+
"x-member-id": xMemberId,
|
|
2487
|
+
"x-username": xUsername
|
|
2250
2488
|
})
|
|
2251
2489
|
}));
|
|
2252
2490
|
}
|
|
2253
2491
|
/**
|
|
2254
2492
|
* Workspace Fork
|
|
2255
2493
|
*/
|
|
2256
|
-
export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, xMemberId, quickCommandWorkspaceForkRequest }: {
|
|
2494
|
+
export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceForkRequest }: {
|
|
2257
2495
|
authorization: string;
|
|
2258
2496
|
xAccountId?: string | null;
|
|
2259
2497
|
xMemberId?: string | null;
|
|
2498
|
+
xUsername?: string | null;
|
|
2260
2499
|
quickCommandWorkspaceForkRequest: QuickCommandWorkspaceForkRequest;
|
|
2261
2500
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2262
2501
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2274,17 +2513,19 @@ export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, x
|
|
|
2274
2513
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2275
2514
|
authorization,
|
|
2276
2515
|
"x-account-id": xAccountId,
|
|
2277
|
-
"x-member-id": xMemberId
|
|
2516
|
+
"x-member-id": xMemberId,
|
|
2517
|
+
"x-username": xUsername
|
|
2278
2518
|
})
|
|
2279
2519
|
})));
|
|
2280
2520
|
}
|
|
2281
2521
|
/**
|
|
2282
2522
|
* Workspace Delete Fork
|
|
2283
2523
|
*/
|
|
2284
|
-
export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, xMemberId, quickCommandWorkspaceDeleteRequest }: {
|
|
2524
|
+
export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceDeleteRequest }: {
|
|
2285
2525
|
authorization: string;
|
|
2286
2526
|
xAccountId?: string | null;
|
|
2287
2527
|
xMemberId?: string | null;
|
|
2528
|
+
xUsername?: string | null;
|
|
2288
2529
|
quickCommandWorkspaceDeleteRequest: QuickCommandWorkspaceDeleteRequest;
|
|
2289
2530
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2290
2531
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2301,17 +2542,19 @@ export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authoriz
|
|
|
2301
2542
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2302
2543
|
authorization,
|
|
2303
2544
|
"x-account-id": xAccountId,
|
|
2304
|
-
"x-member-id": xMemberId
|
|
2545
|
+
"x-member-id": xMemberId,
|
|
2546
|
+
"x-username": xUsername
|
|
2305
2547
|
})
|
|
2306
2548
|
})));
|
|
2307
2549
|
}
|
|
2308
2550
|
/**
|
|
2309
2551
|
* Workspace List
|
|
2310
2552
|
*/
|
|
2311
|
-
export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, xMemberId, quickCommandWorkspaceListRequest }: {
|
|
2553
|
+
export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceListRequest }: {
|
|
2312
2554
|
authorization: string;
|
|
2313
2555
|
xAccountId?: string | null;
|
|
2314
2556
|
xMemberId?: string | null;
|
|
2557
|
+
xUsername?: string | null;
|
|
2315
2558
|
quickCommandWorkspaceListRequest: QuickCommandWorkspaceListRequest;
|
|
2316
2559
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2317
2560
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2329,17 +2572,19 @@ export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, x
|
|
|
2329
2572
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2330
2573
|
authorization,
|
|
2331
2574
|
"x-account-id": xAccountId,
|
|
2332
|
-
"x-member-id": xMemberId
|
|
2575
|
+
"x-member-id": xMemberId,
|
|
2576
|
+
"x-username": xUsername
|
|
2333
2577
|
})
|
|
2334
2578
|
})));
|
|
2335
2579
|
}
|
|
2336
2580
|
/**
|
|
2337
2581
|
* Create Quick Command
|
|
2338
2582
|
*/
|
|
2339
|
-
export function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, xMemberId, quickCommandsCreateRequest }: {
|
|
2583
|
+
export function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandsCreateRequest }: {
|
|
2340
2584
|
authorization: string;
|
|
2341
2585
|
xAccountId?: string | null;
|
|
2342
2586
|
xMemberId?: string | null;
|
|
2587
|
+
xUsername?: string | null;
|
|
2343
2588
|
quickCommandsCreateRequest: QuickCommandsCreateRequest;
|
|
2344
2589
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2345
2590
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2357,20 +2602,22 @@ export function createQuickCommandV1QuickCommandsPost({ authorization, xAccountI
|
|
|
2357
2602
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2358
2603
|
authorization,
|
|
2359
2604
|
"x-account-id": xAccountId,
|
|
2360
|
-
"x-member-id": xMemberId
|
|
2605
|
+
"x-member-id": xMemberId,
|
|
2606
|
+
"x-username": xUsername
|
|
2361
2607
|
})
|
|
2362
2608
|
})));
|
|
2363
2609
|
}
|
|
2364
2610
|
/**
|
|
2365
2611
|
* List All
|
|
2366
2612
|
*/
|
|
2367
|
-
export function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId }: {
|
|
2613
|
+
export function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2368
2614
|
visibility?: VisibilityLevelEnum | null;
|
|
2369
2615
|
order?: OrderEnum;
|
|
2370
2616
|
types?: QuickCommandTypeRequest[] | null;
|
|
2371
2617
|
authorization: string;
|
|
2372
2618
|
xAccountId?: string | null;
|
|
2373
2619
|
xMemberId?: string | null;
|
|
2620
|
+
xUsername?: string | null;
|
|
2374
2621
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2375
2622
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2376
2623
|
status: 200;
|
|
@@ -2389,18 +2636,20 @@ export function listAllV1QuickCommandsAllGet({ visibility, order, types, authori
|
|
|
2389
2636
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2390
2637
|
authorization,
|
|
2391
2638
|
"x-account-id": xAccountId,
|
|
2392
|
-
"x-member-id": xMemberId
|
|
2639
|
+
"x-member-id": xMemberId,
|
|
2640
|
+
"x-username": xUsername
|
|
2393
2641
|
})
|
|
2394
2642
|
}));
|
|
2395
2643
|
}
|
|
2396
2644
|
/**
|
|
2397
2645
|
* Update Quick Command
|
|
2398
2646
|
*/
|
|
2399
|
-
export function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, xMemberId, quickCommandsUpdateRequest }: {
|
|
2647
|
+
export function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsUpdateRequest }: {
|
|
2400
2648
|
slug: string;
|
|
2401
2649
|
authorization: string;
|
|
2402
2650
|
xAccountId?: string | null;
|
|
2403
2651
|
xMemberId?: string | null;
|
|
2652
|
+
xUsername?: string | null;
|
|
2404
2653
|
quickCommandsUpdateRequest: QuickCommandsUpdateRequest;
|
|
2405
2654
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2406
2655
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2417,19 +2666,21 @@ export function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization
|
|
|
2417
2666
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2418
2667
|
authorization,
|
|
2419
2668
|
"x-account-id": xAccountId,
|
|
2420
|
-
"x-member-id": xMemberId
|
|
2669
|
+
"x-member-id": xMemberId,
|
|
2670
|
+
"x-username": xUsername
|
|
2421
2671
|
})
|
|
2422
2672
|
})));
|
|
2423
2673
|
}
|
|
2424
2674
|
/**
|
|
2425
2675
|
* Get Quick Command
|
|
2426
2676
|
*/
|
|
2427
|
-
export function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId, xMemberId }: {
|
|
2677
|
+
export function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2428
2678
|
slug: string;
|
|
2429
2679
|
findAgents?: boolean;
|
|
2430
2680
|
authorization: string;
|
|
2431
2681
|
xAccountId?: string | null;
|
|
2432
2682
|
xMemberId?: string | null;
|
|
2683
|
+
xUsername?: string | null;
|
|
2433
2684
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2434
2685
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2435
2686
|
status: 200;
|
|
@@ -2446,18 +2697,20 @@ export function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, author
|
|
|
2446
2697
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2447
2698
|
authorization,
|
|
2448
2699
|
"x-account-id": xAccountId,
|
|
2449
|
-
"x-member-id": xMemberId
|
|
2700
|
+
"x-member-id": xMemberId,
|
|
2701
|
+
"x-username": xUsername
|
|
2450
2702
|
})
|
|
2451
2703
|
}));
|
|
2452
2704
|
}
|
|
2453
2705
|
/**
|
|
2454
2706
|
* Delete Quick Command
|
|
2455
2707
|
*/
|
|
2456
|
-
export function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId, xMemberId }: {
|
|
2708
|
+
export function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2457
2709
|
slug: string;
|
|
2458
2710
|
authorization: string;
|
|
2459
2711
|
xAccountId?: string | null;
|
|
2460
2712
|
xMemberId?: string | null;
|
|
2713
|
+
xUsername?: string | null;
|
|
2461
2714
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2462
2715
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2463
2716
|
status: 204;
|
|
@@ -2472,18 +2725,20 @@ export function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorizatio
|
|
|
2472
2725
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2473
2726
|
authorization,
|
|
2474
2727
|
"x-account-id": xAccountId,
|
|
2475
|
-
"x-member-id": xMemberId
|
|
2728
|
+
"x-member-id": xMemberId,
|
|
2729
|
+
"x-username": xUsername
|
|
2476
2730
|
})
|
|
2477
2731
|
}));
|
|
2478
2732
|
}
|
|
2479
2733
|
/**
|
|
2480
2734
|
* Add Favorite
|
|
2481
2735
|
*/
|
|
2482
|
-
export function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization, xAccountId, xMemberId }: {
|
|
2736
|
+
export function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2483
2737
|
slug: string;
|
|
2484
2738
|
authorization: string;
|
|
2485
2739
|
xAccountId?: string | null;
|
|
2486
2740
|
xMemberId?: string | null;
|
|
2741
|
+
xUsername?: string | null;
|
|
2487
2742
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2488
2743
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2489
2744
|
status: 204;
|
|
@@ -2498,18 +2753,20 @@ export function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization
|
|
|
2498
2753
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2499
2754
|
authorization,
|
|
2500
2755
|
"x-account-id": xAccountId,
|
|
2501
|
-
"x-member-id": xMemberId
|
|
2756
|
+
"x-member-id": xMemberId,
|
|
2757
|
+
"x-username": xUsername
|
|
2502
2758
|
})
|
|
2503
2759
|
}));
|
|
2504
2760
|
}
|
|
2505
2761
|
/**
|
|
2506
2762
|
* Delete Favorite
|
|
2507
2763
|
*/
|
|
2508
|
-
export function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authorization, xAccountId, xMemberId }: {
|
|
2764
|
+
export function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2509
2765
|
slug: string;
|
|
2510
2766
|
authorization: string;
|
|
2511
2767
|
xAccountId?: string | null;
|
|
2512
2768
|
xMemberId?: string | null;
|
|
2769
|
+
xUsername?: string | null;
|
|
2513
2770
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2514
2771
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2515
2772
|
status: 204;
|
|
@@ -2524,18 +2781,20 @@ export function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authoriz
|
|
|
2524
2781
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2525
2782
|
authorization,
|
|
2526
2783
|
"x-account-id": xAccountId,
|
|
2527
|
-
"x-member-id": xMemberId
|
|
2784
|
+
"x-member-id": xMemberId,
|
|
2785
|
+
"x-username": xUsername
|
|
2528
2786
|
})
|
|
2529
2787
|
}));
|
|
2530
2788
|
}
|
|
2531
2789
|
/**
|
|
2532
2790
|
* Share
|
|
2533
2791
|
*/
|
|
2534
|
-
export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId }: {
|
|
2792
|
+
export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2535
2793
|
slug: string;
|
|
2536
2794
|
authorization: string;
|
|
2537
2795
|
xAccountId?: string | null;
|
|
2538
2796
|
xMemberId?: string | null;
|
|
2797
|
+
xUsername?: string | null;
|
|
2539
2798
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2540
2799
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2541
2800
|
status: 204;
|
|
@@ -2550,18 +2809,20 @@ export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccoun
|
|
|
2550
2809
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2551
2810
|
authorization,
|
|
2552
2811
|
"x-account-id": xAccountId,
|
|
2553
|
-
"x-member-id": xMemberId
|
|
2812
|
+
"x-member-id": xMemberId,
|
|
2813
|
+
"x-username": xUsername
|
|
2554
2814
|
})
|
|
2555
2815
|
}));
|
|
2556
2816
|
}
|
|
2557
2817
|
/**
|
|
2558
2818
|
* Publish
|
|
2559
2819
|
*/
|
|
2560
|
-
export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, quickCommandPublishRequest }: {
|
|
2820
|
+
export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandPublishRequest }: {
|
|
2561
2821
|
slug: string;
|
|
2562
2822
|
authorization: string;
|
|
2563
2823
|
xAccountId?: string | null;
|
|
2564
2824
|
xMemberId?: string | null;
|
|
2825
|
+
xUsername?: string | null;
|
|
2565
2826
|
quickCommandPublishRequest?: QuickCommandPublishRequest;
|
|
2566
2827
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2567
2828
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2578,18 +2839,20 @@ export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAc
|
|
|
2578
2839
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2579
2840
|
authorization,
|
|
2580
2841
|
"x-account-id": xAccountId,
|
|
2581
|
-
"x-member-id": xMemberId
|
|
2842
|
+
"x-member-id": xMemberId,
|
|
2843
|
+
"x-username": xUsername
|
|
2582
2844
|
})
|
|
2583
2845
|
})));
|
|
2584
2846
|
}
|
|
2585
2847
|
/**
|
|
2586
2848
|
* Fork
|
|
2587
2849
|
*/
|
|
2588
|
-
export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, xMemberId, quickCommandsMakeACopyRequest }: {
|
|
2850
|
+
export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsMakeACopyRequest }: {
|
|
2589
2851
|
slug: string;
|
|
2590
2852
|
authorization: string;
|
|
2591
2853
|
xAccountId?: string | null;
|
|
2592
2854
|
xMemberId?: string | null;
|
|
2855
|
+
xUsername?: string | null;
|
|
2593
2856
|
quickCommandsMakeACopyRequest: QuickCommandsMakeACopyRequest;
|
|
2594
2857
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2595
2858
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2607,18 +2870,20 @@ export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountI
|
|
|
2607
2870
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2608
2871
|
authorization,
|
|
2609
2872
|
"x-account-id": xAccountId,
|
|
2610
|
-
"x-member-id": xMemberId
|
|
2873
|
+
"x-member-id": xMemberId,
|
|
2874
|
+
"x-username": xUsername
|
|
2611
2875
|
})
|
|
2612
2876
|
})));
|
|
2613
2877
|
}
|
|
2614
2878
|
/**
|
|
2615
|
-
*
|
|
2879
|
+
* Check Quick Command Exists
|
|
2616
2880
|
*/
|
|
2617
|
-
export function
|
|
2881
|
+
export function checkQuickCommandExistsV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2618
2882
|
slug: string;
|
|
2619
2883
|
authorization: string;
|
|
2620
2884
|
xAccountId?: string | null;
|
|
2621
2885
|
xMemberId?: string | null;
|
|
2886
|
+
xUsername?: string | null;
|
|
2622
2887
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2623
2888
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2624
2889
|
status: 204;
|
|
@@ -2632,18 +2897,20 @@ export function getQuickCommandV1QuickCommandsSlugExistsGet({ slug, authorizatio
|
|
|
2632
2897
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2633
2898
|
authorization,
|
|
2634
2899
|
"x-account-id": xAccountId,
|
|
2635
|
-
"x-member-id": xMemberId
|
|
2900
|
+
"x-member-id": xMemberId,
|
|
2901
|
+
"x-username": xUsername
|
|
2636
2902
|
})
|
|
2637
2903
|
}));
|
|
2638
2904
|
}
|
|
2639
2905
|
/**
|
|
2640
2906
|
* Get Quick Command By Ks Slug
|
|
2641
2907
|
*/
|
|
2642
|
-
export function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId, xMemberId }: {
|
|
2908
|
+
export function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2643
2909
|
slug: string;
|
|
2644
2910
|
authorization: string;
|
|
2645
2911
|
xAccountId?: string | null;
|
|
2646
2912
|
xMemberId?: string | null;
|
|
2913
|
+
xUsername?: string | null;
|
|
2647
2914
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2648
2915
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2649
2916
|
status: 200;
|
|
@@ -2658,18 +2925,20 @@ export function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({
|
|
|
2658
2925
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2659
2926
|
authorization,
|
|
2660
2927
|
"x-account-id": xAccountId,
|
|
2661
|
-
"x-member-id": xMemberId
|
|
2928
|
+
"x-member-id": xMemberId,
|
|
2929
|
+
"x-username": xUsername
|
|
2662
2930
|
})
|
|
2663
2931
|
}));
|
|
2664
2932
|
}
|
|
2665
2933
|
/**
|
|
2666
2934
|
* Get Quick Commands By Agent Id
|
|
2667
2935
|
*/
|
|
2668
|
-
export function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId, xMemberId }: {
|
|
2936
|
+
export function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2669
2937
|
agentId: string;
|
|
2670
2938
|
authorization: string;
|
|
2671
2939
|
xAccountId?: string | null;
|
|
2672
2940
|
xMemberId?: string | null;
|
|
2941
|
+
xUsername?: string | null;
|
|
2673
2942
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2674
2943
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2675
2944
|
status: 200;
|
|
@@ -2684,18 +2953,20 @@ export function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agent
|
|
|
2684
2953
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2685
2954
|
authorization,
|
|
2686
2955
|
"x-account-id": xAccountId,
|
|
2687
|
-
"x-member-id": xMemberId
|
|
2956
|
+
"x-member-id": xMemberId,
|
|
2957
|
+
"x-username": xUsername
|
|
2688
2958
|
})
|
|
2689
2959
|
}));
|
|
2690
2960
|
}
|
|
2691
2961
|
/**
|
|
2692
2962
|
* Disassociate Agent
|
|
2693
2963
|
*/
|
|
2694
|
-
export function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId, xMemberId }: {
|
|
2964
|
+
export function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2695
2965
|
agentId: string;
|
|
2696
2966
|
authorization: string;
|
|
2697
2967
|
xAccountId?: string | null;
|
|
2698
2968
|
xMemberId?: string | null;
|
|
2969
|
+
xUsername?: string | null;
|
|
2699
2970
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2700
2971
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2701
2972
|
status: 200;
|
|
@@ -2711,18 +2982,20 @@ export function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, a
|
|
|
2711
2982
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2712
2983
|
authorization,
|
|
2713
2984
|
"x-account-id": xAccountId,
|
|
2714
|
-
"x-member-id": xMemberId
|
|
2985
|
+
"x-member-id": xMemberId,
|
|
2986
|
+
"x-username": xUsername
|
|
2715
2987
|
})
|
|
2716
2988
|
}));
|
|
2717
2989
|
}
|
|
2718
2990
|
/**
|
|
2719
2991
|
* List By Workspace Id
|
|
2720
2992
|
*/
|
|
2721
|
-
export function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId }: {
|
|
2993
|
+
export function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2722
2994
|
workspaceId: string;
|
|
2723
2995
|
authorization: string;
|
|
2724
2996
|
xAccountId?: string | null;
|
|
2725
2997
|
xMemberId?: string | null;
|
|
2998
|
+
xUsername?: string | null;
|
|
2726
2999
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2727
3000
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2728
3001
|
status: 200;
|
|
@@ -2737,19 +3010,21 @@ export function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ works
|
|
|
2737
3010
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2738
3011
|
authorization,
|
|
2739
3012
|
"x-account-id": xAccountId,
|
|
2740
|
-
"x-member-id": xMemberId
|
|
3013
|
+
"x-member-id": xMemberId,
|
|
3014
|
+
"x-username": xUsername
|
|
2741
3015
|
})
|
|
2742
3016
|
}));
|
|
2743
3017
|
}
|
|
2744
3018
|
/**
|
|
2745
3019
|
* Format Fetch Step
|
|
2746
3020
|
*/
|
|
2747
|
-
export function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
|
|
3021
|
+
export function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
|
|
2748
3022
|
slug: string;
|
|
2749
3023
|
stepSlug: string;
|
|
2750
3024
|
authorization: string;
|
|
2751
3025
|
xAccountId?: string | null;
|
|
2752
3026
|
xMemberId?: string | null;
|
|
3027
|
+
xUsername?: string | null;
|
|
2753
3028
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
2754
3029
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2755
3030
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2767,18 +3042,20 @@ export function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({
|
|
|
2767
3042
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2768
3043
|
authorization,
|
|
2769
3044
|
"x-account-id": xAccountId,
|
|
2770
|
-
"x-member-id": xMemberId
|
|
3045
|
+
"x-member-id": xMemberId,
|
|
3046
|
+
"x-username": xUsername
|
|
2771
3047
|
})
|
|
2772
3048
|
})));
|
|
2773
3049
|
}
|
|
2774
3050
|
/**
|
|
2775
3051
|
* Format Result
|
|
2776
3052
|
*/
|
|
2777
|
-
export function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
|
|
3053
|
+
export function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
|
|
2778
3054
|
slug: string;
|
|
2779
3055
|
authorization: string;
|
|
2780
3056
|
xAccountId?: string | null;
|
|
2781
3057
|
xMemberId?: string | null;
|
|
3058
|
+
xUsername?: string | null;
|
|
2782
3059
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
2783
3060
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2784
3061
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2796,19 +3073,21 @@ export function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authoriz
|
|
|
2796
3073
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2797
3074
|
authorization,
|
|
2798
3075
|
"x-account-id": xAccountId,
|
|
2799
|
-
"x-member-id": xMemberId
|
|
3076
|
+
"x-member-id": xMemberId,
|
|
3077
|
+
"x-username": xUsername
|
|
2800
3078
|
})
|
|
2801
3079
|
})));
|
|
2802
3080
|
}
|
|
2803
3081
|
/**
|
|
2804
3082
|
* Calculates the next route for a ROUTER step
|
|
2805
3083
|
*/
|
|
2806
|
-
export function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextStepPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandEvaluateStepRouterRequest }: {
|
|
3084
|
+
export function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextStepPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandEvaluateStepRouterRequest }: {
|
|
2807
3085
|
slug: string;
|
|
2808
3086
|
stepSlug: string;
|
|
2809
3087
|
authorization: string;
|
|
2810
3088
|
xAccountId?: string | null;
|
|
2811
3089
|
xMemberId?: string | null;
|
|
3090
|
+
xUsername?: string | null;
|
|
2812
3091
|
quickCommandEvaluateStepRouterRequest: QuickCommandEvaluateStepRouterRequest;
|
|
2813
3092
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2814
3093
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2826,19 +3105,21 @@ export function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextSt
|
|
|
2826
3105
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2827
3106
|
authorization,
|
|
2828
3107
|
"x-account-id": xAccountId,
|
|
2829
|
-
"x-member-id": xMemberId
|
|
3108
|
+
"x-member-id": xMemberId,
|
|
3109
|
+
"x-username": xUsername
|
|
2830
3110
|
})
|
|
2831
3111
|
})));
|
|
2832
3112
|
}
|
|
2833
3113
|
/**
|
|
2834
3114
|
* Add Workspace
|
|
2835
3115
|
*/
|
|
2836
|
-
export function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId, xMemberId }: {
|
|
3116
|
+
export function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2837
3117
|
slug: string;
|
|
2838
3118
|
workspaceId: string;
|
|
2839
3119
|
authorization: string;
|
|
2840
3120
|
xAccountId?: string | null;
|
|
2841
3121
|
xMemberId?: string | null;
|
|
3122
|
+
xUsername?: string | null;
|
|
2842
3123
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2843
3124
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2844
3125
|
status: 204;
|
|
@@ -2853,19 +3134,21 @@ export function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ sl
|
|
|
2853
3134
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2854
3135
|
authorization,
|
|
2855
3136
|
"x-account-id": xAccountId,
|
|
2856
|
-
"x-member-id": xMemberId
|
|
3137
|
+
"x-member-id": xMemberId,
|
|
3138
|
+
"x-username": xUsername
|
|
2857
3139
|
})
|
|
2858
3140
|
}));
|
|
2859
3141
|
}
|
|
2860
3142
|
/**
|
|
2861
3143
|
* Remove Workspace
|
|
2862
3144
|
*/
|
|
2863
|
-
export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId, xMemberId }: {
|
|
3145
|
+
export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2864
3146
|
slug: string;
|
|
2865
3147
|
workspaceId: string;
|
|
2866
3148
|
authorization: string;
|
|
2867
3149
|
xAccountId?: string | null;
|
|
2868
3150
|
xMemberId?: string | null;
|
|
3151
|
+
xUsername?: string | null;
|
|
2869
3152
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2870
3153
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2871
3154
|
status: 204;
|
|
@@ -2880,19 +3163,21 @@ export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDel
|
|
|
2880
3163
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2881
3164
|
authorization,
|
|
2882
3165
|
"x-account-id": xAccountId,
|
|
2883
|
-
"x-member-id": xMemberId
|
|
3166
|
+
"x-member-id": xMemberId,
|
|
3167
|
+
"x-username": xUsername
|
|
2884
3168
|
})
|
|
2885
3169
|
}));
|
|
2886
3170
|
}
|
|
2887
3171
|
/**
|
|
2888
3172
|
* Create Execution
|
|
2889
3173
|
*/
|
|
2890
|
-
export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, quickCommandCreateRequest }: {
|
|
3174
|
+
export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, xUsername, quickCommandCreateRequest }: {
|
|
2891
3175
|
slug: string;
|
|
2892
3176
|
conversationId?: string | null;
|
|
2893
3177
|
authorization: string;
|
|
2894
3178
|
xAccountId?: string | null;
|
|
2895
3179
|
xMemberId?: string | null;
|
|
3180
|
+
xUsername?: string | null;
|
|
2896
3181
|
quickCommandCreateRequest?: QuickCommandCreateRequest;
|
|
2897
3182
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2898
3183
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2912,18 +3197,20 @@ export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, co
|
|
|
2912
3197
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2913
3198
|
authorization,
|
|
2914
3199
|
"x-account-id": xAccountId,
|
|
2915
|
-
"x-member-id": xMemberId
|
|
3200
|
+
"x-member-id": xMemberId,
|
|
3201
|
+
"x-username": xUsername
|
|
2916
3202
|
})
|
|
2917
3203
|
})));
|
|
2918
3204
|
}
|
|
2919
3205
|
/**
|
|
2920
3206
|
* Triggers asynchronous execution of a Remote Quick Command
|
|
2921
3207
|
*/
|
|
2922
|
-
export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, authorization, xAccountId, xMemberId, quickCommandExecutionRequest }: {
|
|
3208
|
+
export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, authorization, xAccountId, xMemberId, xUsername, quickCommandExecutionRequest }: {
|
|
2923
3209
|
executionId: string;
|
|
2924
3210
|
authorization: string;
|
|
2925
3211
|
xAccountId?: string | null;
|
|
2926
3212
|
xMemberId?: string | null;
|
|
3213
|
+
xUsername?: string | null;
|
|
2927
3214
|
quickCommandExecutionRequest?: QuickCommandExecutionRequest;
|
|
2928
3215
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2929
3216
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2940,18 +3227,20 @@ export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, auth
|
|
|
2940
3227
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2941
3228
|
authorization,
|
|
2942
3229
|
"x-account-id": xAccountId,
|
|
2943
|
-
"x-member-id": xMemberId
|
|
3230
|
+
"x-member-id": xMemberId,
|
|
3231
|
+
"x-username": xUsername
|
|
2944
3232
|
})
|
|
2945
3233
|
})));
|
|
2946
3234
|
}
|
|
2947
3235
|
/**
|
|
2948
3236
|
* Callback
|
|
2949
3237
|
*/
|
|
2950
|
-
export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId }: {
|
|
3238
|
+
export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2951
3239
|
executionId: string;
|
|
2952
3240
|
authorization: string;
|
|
2953
3241
|
xAccountId?: string | null;
|
|
2954
3242
|
xMemberId?: string | null;
|
|
3243
|
+
xUsername?: string | null;
|
|
2955
3244
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2956
3245
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2957
3246
|
status: 200;
|
|
@@ -2966,19 +3255,21 @@ export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, aut
|
|
|
2966
3255
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2967
3256
|
authorization,
|
|
2968
3257
|
"x-account-id": xAccountId,
|
|
2969
|
-
"x-member-id": xMemberId
|
|
3258
|
+
"x-member-id": xMemberId,
|
|
3259
|
+
"x-username": xUsername
|
|
2970
3260
|
})
|
|
2971
3261
|
}));
|
|
2972
3262
|
}
|
|
2973
3263
|
/**
|
|
2974
3264
|
* Run Fetch Step
|
|
2975
3265
|
*/
|
|
2976
|
-
export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
|
|
3266
|
+
export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
|
|
2977
3267
|
slug: string;
|
|
2978
3268
|
stepSlug: string;
|
|
2979
3269
|
authorization: string;
|
|
2980
3270
|
xAccountId?: string | null;
|
|
2981
3271
|
xMemberId?: string | null;
|
|
3272
|
+
xUsername?: string | null;
|
|
2982
3273
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
2983
3274
|
}, opts?: Oazapfts.RequestOpts) {
|
|
2984
3275
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -2996,19 +3287,81 @@ export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug,
|
|
|
2996
3287
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2997
3288
|
authorization,
|
|
2998
3289
|
"x-account-id": xAccountId,
|
|
2999
|
-
"x-member-id": xMemberId
|
|
3290
|
+
"x-member-id": xMemberId,
|
|
3291
|
+
"x-username": xUsername
|
|
3292
|
+
})
|
|
3293
|
+
})));
|
|
3294
|
+
}
|
|
3295
|
+
/**
|
|
3296
|
+
* Starts the execution of a step with a user defined script
|
|
3297
|
+
*/
|
|
3298
|
+
export function startScriptStepV1QuickCommandsSlugStepsStepSlugStartScriptPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandStartScriptRequest }: {
|
|
3299
|
+
slug: string;
|
|
3300
|
+
stepSlug: string;
|
|
3301
|
+
authorization: string;
|
|
3302
|
+
xAccountId?: string | null;
|
|
3303
|
+
xMemberId?: string | null;
|
|
3304
|
+
xUsername?: string | null;
|
|
3305
|
+
quickCommandStartScriptRequest: QuickCommandStartScriptRequest;
|
|
3306
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3307
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3308
|
+
status: 202;
|
|
3309
|
+
data: QuickCommandStartScriptResponse;
|
|
3310
|
+
} | {
|
|
3311
|
+
status: 404;
|
|
3312
|
+
} | {
|
|
3313
|
+
status: 422;
|
|
3314
|
+
data: HttpValidationError;
|
|
3315
|
+
}>(`/v1/quick-commands/${encodeURIComponent(slug)}/steps/${encodeURIComponent(stepSlug)}/start-script`, oazapfts.json({
|
|
3316
|
+
...opts,
|
|
3317
|
+
method: "POST",
|
|
3318
|
+
body: quickCommandStartScriptRequest,
|
|
3319
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3320
|
+
authorization,
|
|
3321
|
+
"x-account-id": xAccountId,
|
|
3322
|
+
"x-member-id": xMemberId,
|
|
3323
|
+
"x-username": xUsername
|
|
3000
3324
|
})
|
|
3001
3325
|
})));
|
|
3002
3326
|
}
|
|
3327
|
+
/**
|
|
3328
|
+
* Get the status of a script execution step
|
|
3329
|
+
*/
|
|
3330
|
+
export function getScriptExecutionStatusV1QuickCommandsScriptExecutionsScriptExecutionIdGet({ scriptExecutionId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3331
|
+
scriptExecutionId: string;
|
|
3332
|
+
authorization: string;
|
|
3333
|
+
xAccountId?: string | null;
|
|
3334
|
+
xMemberId?: string | null;
|
|
3335
|
+
xUsername?: string | null;
|
|
3336
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3337
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3338
|
+
status: 200;
|
|
3339
|
+
data: QuickCommandScriptExecutionResponse;
|
|
3340
|
+
} | {
|
|
3341
|
+
status: 404;
|
|
3342
|
+
} | {
|
|
3343
|
+
status: 422;
|
|
3344
|
+
data: HttpValidationError;
|
|
3345
|
+
}>(`/v1/quick-commands/script-executions/${encodeURIComponent(scriptExecutionId)}`, {
|
|
3346
|
+
...opts,
|
|
3347
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3348
|
+
authorization,
|
|
3349
|
+
"x-account-id": xAccountId,
|
|
3350
|
+
"x-member-id": xMemberId,
|
|
3351
|
+
"x-username": xUsername
|
|
3352
|
+
})
|
|
3353
|
+
}));
|
|
3354
|
+
}
|
|
3003
3355
|
/**
|
|
3004
3356
|
* List Conversations
|
|
3005
3357
|
*/
|
|
3006
|
-
export function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId, xMemberId }: {
|
|
3358
|
+
export function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3007
3359
|
size?: number;
|
|
3008
3360
|
page?: number;
|
|
3009
3361
|
authorization: string;
|
|
3010
3362
|
xAccountId?: string | null;
|
|
3011
3363
|
xMemberId?: string | null;
|
|
3364
|
+
xUsername?: string | null;
|
|
3012
3365
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3013
3366
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3014
3367
|
status: 200;
|
|
@@ -3026,18 +3379,20 @@ export function listConversationsV1ConversationsGet({ size, page, authorization,
|
|
|
3026
3379
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3027
3380
|
authorization,
|
|
3028
3381
|
"x-account-id": xAccountId,
|
|
3029
|
-
"x-member-id": xMemberId
|
|
3382
|
+
"x-member-id": xMemberId,
|
|
3383
|
+
"x-username": xUsername
|
|
3030
3384
|
})
|
|
3031
3385
|
}));
|
|
3032
3386
|
}
|
|
3033
3387
|
/**
|
|
3034
3388
|
* Conversation History
|
|
3035
3389
|
*/
|
|
3036
|
-
export function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId, xMemberId }: {
|
|
3390
|
+
export function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3037
3391
|
conversationId: string;
|
|
3038
3392
|
authorization: string;
|
|
3039
3393
|
xAccountId?: string | null;
|
|
3040
3394
|
xMemberId?: string | null;
|
|
3395
|
+
xUsername?: string | null;
|
|
3041
3396
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3042
3397
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3043
3398
|
status: 200;
|
|
@@ -3052,18 +3407,20 @@ export function conversationHistoryV1ConversationsConversationIdGet({ conversati
|
|
|
3052
3407
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3053
3408
|
authorization,
|
|
3054
3409
|
"x-account-id": xAccountId,
|
|
3055
|
-
"x-member-id": xMemberId
|
|
3410
|
+
"x-member-id": xMemberId,
|
|
3411
|
+
"x-username": xUsername
|
|
3056
3412
|
})
|
|
3057
3413
|
}));
|
|
3058
3414
|
}
|
|
3059
3415
|
/**
|
|
3060
3416
|
* Update Title
|
|
3061
3417
|
*/
|
|
3062
|
-
export function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, xMemberId, conversationUpdateTitleRequest }: {
|
|
3418
|
+
export function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, xMemberId, xUsername, conversationUpdateTitleRequest }: {
|
|
3063
3419
|
conversationId: string;
|
|
3064
3420
|
authorization: string;
|
|
3065
3421
|
xAccountId?: string | null;
|
|
3066
3422
|
xMemberId?: string | null;
|
|
3423
|
+
xUsername?: string | null;
|
|
3067
3424
|
conversationUpdateTitleRequest: ConversationUpdateTitleRequest;
|
|
3068
3425
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3069
3426
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -3081,18 +3438,20 @@ export function updateTitleV1ConversationsConversationIdPatch({ conversationId,
|
|
|
3081
3438
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3082
3439
|
authorization,
|
|
3083
3440
|
"x-account-id": xAccountId,
|
|
3084
|
-
"x-member-id": xMemberId
|
|
3441
|
+
"x-member-id": xMemberId,
|
|
3442
|
+
"x-username": xUsername
|
|
3085
3443
|
})
|
|
3086
3444
|
})));
|
|
3087
3445
|
}
|
|
3088
3446
|
/**
|
|
3089
3447
|
* Delete Conversation
|
|
3090
3448
|
*/
|
|
3091
|
-
export function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId, xMemberId }: {
|
|
3449
|
+
export function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3092
3450
|
conversationId: string;
|
|
3093
3451
|
authorization: string;
|
|
3094
3452
|
xAccountId?: string | null;
|
|
3095
3453
|
xMemberId?: string | null;
|
|
3454
|
+
xUsername?: string | null;
|
|
3096
3455
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3097
3456
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3098
3457
|
status: 204;
|
|
@@ -3107,18 +3466,20 @@ export function deleteConversationV1ConversationsConversationIdDelete({ conversa
|
|
|
3107
3466
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3108
3467
|
authorization,
|
|
3109
3468
|
"x-account-id": xAccountId,
|
|
3110
|
-
"x-member-id": xMemberId
|
|
3469
|
+
"x-member-id": xMemberId,
|
|
3470
|
+
"x-username": xUsername
|
|
3111
3471
|
})
|
|
3112
3472
|
}));
|
|
3113
3473
|
}
|
|
3114
3474
|
/**
|
|
3115
3475
|
* Download Conversation
|
|
3116
3476
|
*/
|
|
3117
|
-
export function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId, xMemberId }: {
|
|
3477
|
+
export function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3118
3478
|
conversationId: string;
|
|
3119
3479
|
authorization: string;
|
|
3120
3480
|
xAccountId?: string | null;
|
|
3121
3481
|
xMemberId?: string | null;
|
|
3482
|
+
xUsername?: string | null;
|
|
3122
3483
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3123
3484
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3124
3485
|
status: 200;
|
|
@@ -3133,7 +3494,8 @@ export function downloadConversationV1ConversationsConversationIdDownloadGet({ c
|
|
|
3133
3494
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3134
3495
|
authorization,
|
|
3135
3496
|
"x-account-id": xAccountId,
|
|
3136
|
-
"x-member-id": xMemberId
|
|
3497
|
+
"x-member-id": xMemberId,
|
|
3498
|
+
"x-username": xUsername
|
|
3137
3499
|
})
|
|
3138
3500
|
}));
|
|
3139
3501
|
}
|
|
@@ -3208,11 +3570,12 @@ export function uploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBat
|
|
|
3208
3570
|
/**
|
|
3209
3571
|
* Find Knowledge Source Dependencies
|
|
3210
3572
|
*/
|
|
3211
|
-
export function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId, xMemberId }: {
|
|
3573
|
+
export function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3212
3574
|
slug: string;
|
|
3213
3575
|
authorization: string;
|
|
3214
3576
|
xAccountId?: string | null;
|
|
3215
3577
|
xMemberId?: string | null;
|
|
3578
|
+
xUsername?: string | null;
|
|
3216
3579
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3217
3580
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3218
3581
|
status: 200;
|
|
@@ -3227,7 +3590,8 @@ export function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependencie
|
|
|
3227
3590
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3228
3591
|
authorization,
|
|
3229
3592
|
"x-account-id": xAccountId,
|
|
3230
|
-
"x-member-id": xMemberId
|
|
3593
|
+
"x-member-id": xMemberId,
|
|
3594
|
+
"x-username": xUsername
|
|
3231
3595
|
})
|
|
3232
3596
|
}));
|
|
3233
3597
|
}
|
|
@@ -3245,12 +3609,13 @@ export function getFlagsV1FlagsGet(opts?: Oazapfts.RequestOpts) {
|
|
|
3245
3609
|
/**
|
|
3246
3610
|
* Get Content Dependencies
|
|
3247
3611
|
*/
|
|
3248
|
-
export function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId }: {
|
|
3612
|
+
export function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3249
3613
|
contentType: ContentDependencyType;
|
|
3250
3614
|
contentId: string;
|
|
3251
3615
|
authorization: string;
|
|
3252
3616
|
xAccountId?: string | null;
|
|
3253
3617
|
xMemberId?: string | null;
|
|
3618
|
+
xUsername?: string | null;
|
|
3254
3619
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3255
3620
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3256
3621
|
status: 200;
|
|
@@ -3265,7 +3630,313 @@ export function getContentDependenciesV1ContentContentTypeContentIdDependenciesG
|
|
|
3265
3630
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3266
3631
|
authorization,
|
|
3267
3632
|
"x-account-id": xAccountId,
|
|
3268
|
-
"x-member-id": xMemberId
|
|
3633
|
+
"x-member-id": xMemberId,
|
|
3634
|
+
"x-username": xUsername
|
|
3635
|
+
})
|
|
3636
|
+
}));
|
|
3637
|
+
}
|
|
3638
|
+
/**
|
|
3639
|
+
* Tokens Daily Usage
|
|
3640
|
+
*/
|
|
3641
|
+
export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year, tokenType, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3642
|
+
month: number;
|
|
3643
|
+
year: number;
|
|
3644
|
+
tokenType: TokenTypeEnum;
|
|
3645
|
+
authorization: string;
|
|
3646
|
+
xAccountId?: string | null;
|
|
3647
|
+
xMemberId?: string | null;
|
|
3648
|
+
xUsername?: string | null;
|
|
3649
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3650
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3651
|
+
status: 200;
|
|
3652
|
+
data: AnalyticsTokensDailyUsageResponse;
|
|
3653
|
+
} | {
|
|
3654
|
+
status: 404;
|
|
3655
|
+
} | {
|
|
3656
|
+
status: 422;
|
|
3657
|
+
data: HttpValidationError;
|
|
3658
|
+
}>(`/v1/analytics/tokens/daily-usage${QS.query(QS.explode({
|
|
3659
|
+
month,
|
|
3660
|
+
year,
|
|
3661
|
+
token_type: tokenType
|
|
3662
|
+
}))}`, {
|
|
3663
|
+
...opts,
|
|
3664
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3665
|
+
authorization,
|
|
3666
|
+
"x-account-id": xAccountId,
|
|
3667
|
+
"x-member-id": xMemberId,
|
|
3668
|
+
"x-username": xUsername
|
|
3669
|
+
})
|
|
3670
|
+
}));
|
|
3671
|
+
}
|
|
3672
|
+
/**
|
|
3673
|
+
* Tokens By User
|
|
3674
|
+
*/
|
|
3675
|
+
export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, tokenType, page, pageSize, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3676
|
+
month: number;
|
|
3677
|
+
year: number;
|
|
3678
|
+
tokenType: TokenTypeEnum;
|
|
3679
|
+
page?: number;
|
|
3680
|
+
pageSize?: number;
|
|
3681
|
+
authorization: string;
|
|
3682
|
+
xAccountId?: string | null;
|
|
3683
|
+
xMemberId?: string | null;
|
|
3684
|
+
xUsername?: string | null;
|
|
3685
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3686
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3687
|
+
status: 200;
|
|
3688
|
+
data: AnalyticsTokensRankingUsersResponsePaginated;
|
|
3689
|
+
} | {
|
|
3690
|
+
status: 404;
|
|
3691
|
+
} | {
|
|
3692
|
+
status: 422;
|
|
3693
|
+
data: HttpValidationError;
|
|
3694
|
+
}>(`/v1/analytics/tokens/by-user${QS.query(QS.explode({
|
|
3695
|
+
month,
|
|
3696
|
+
year,
|
|
3697
|
+
token_type: tokenType,
|
|
3698
|
+
page,
|
|
3699
|
+
page_size: pageSize
|
|
3700
|
+
}))}`, {
|
|
3701
|
+
...opts,
|
|
3702
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3703
|
+
authorization,
|
|
3704
|
+
"x-account-id": xAccountId,
|
|
3705
|
+
"x-member-id": xMemberId,
|
|
3706
|
+
"x-username": xUsername
|
|
3707
|
+
})
|
|
3708
|
+
}));
|
|
3709
|
+
}
|
|
3710
|
+
/**
|
|
3711
|
+
* Get Reviews By Resource
|
|
3712
|
+
*/
|
|
3713
|
+
export function getReviewsByResourceV1ResourcesResourceTypeSlugResourceSlugReviewsGet({ resourceSlug, resourceTypeSlug, size, page, sort, direction, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3714
|
+
resourceSlug: string;
|
|
3715
|
+
resourceTypeSlug: string;
|
|
3716
|
+
size?: number | null;
|
|
3717
|
+
page?: number | null;
|
|
3718
|
+
sort?: string | null;
|
|
3719
|
+
direction?: SortDirection | null;
|
|
3720
|
+
authorization: string;
|
|
3721
|
+
xAccountId?: string | null;
|
|
3722
|
+
xMemberId?: string | null;
|
|
3723
|
+
xUsername?: string | null;
|
|
3724
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3725
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3726
|
+
status: 200;
|
|
3727
|
+
data: ResourceReviewResponse;
|
|
3728
|
+
} | {
|
|
3729
|
+
status: 404;
|
|
3730
|
+
} | {
|
|
3731
|
+
status: 422;
|
|
3732
|
+
data: HttpValidationError;
|
|
3733
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews${QS.query(QS.explode({
|
|
3734
|
+
size,
|
|
3735
|
+
page,
|
|
3736
|
+
sort,
|
|
3737
|
+
direction
|
|
3738
|
+
}))}`, {
|
|
3739
|
+
...opts,
|
|
3740
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3741
|
+
authorization,
|
|
3742
|
+
"x-account-id": xAccountId,
|
|
3743
|
+
"x-member-id": xMemberId,
|
|
3744
|
+
"x-username": xUsername
|
|
3745
|
+
})
|
|
3746
|
+
}));
|
|
3747
|
+
}
|
|
3748
|
+
/**
|
|
3749
|
+
* Create Resource Review
|
|
3750
|
+
*/
|
|
3751
|
+
export function createResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsPost({ resourceSlug, resourceTypeSlug, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }: {
|
|
3752
|
+
resourceSlug: string;
|
|
3753
|
+
resourceTypeSlug: string;
|
|
3754
|
+
authorization: string;
|
|
3755
|
+
xAccountId?: string | null;
|
|
3756
|
+
xMemberId?: string | null;
|
|
3757
|
+
xUsername?: string | null;
|
|
3758
|
+
resourceReviewRequest: ResourceReviewRequest;
|
|
3759
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3760
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3761
|
+
status: 200;
|
|
3762
|
+
data: any;
|
|
3763
|
+
} | {
|
|
3764
|
+
status: 404;
|
|
3765
|
+
} | {
|
|
3766
|
+
status: 422;
|
|
3767
|
+
data: HttpValidationError;
|
|
3768
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews`, oazapfts.json({
|
|
3769
|
+
...opts,
|
|
3770
|
+
method: "POST",
|
|
3771
|
+
body: resourceReviewRequest,
|
|
3772
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3773
|
+
authorization,
|
|
3774
|
+
"x-account-id": xAccountId,
|
|
3775
|
+
"x-member-id": xMemberId,
|
|
3776
|
+
"x-username": xUsername
|
|
3777
|
+
})
|
|
3778
|
+
})));
|
|
3779
|
+
}
|
|
3780
|
+
/**
|
|
3781
|
+
* Create Answer For Review
|
|
3782
|
+
*/
|
|
3783
|
+
export function createAnswerForReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersPost({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
|
|
3784
|
+
resourceSlug: string;
|
|
3785
|
+
resourceTypeSlug: string;
|
|
3786
|
+
reviewId: string;
|
|
3787
|
+
authorization: string;
|
|
3788
|
+
xAccountId?: string | null;
|
|
3789
|
+
xMemberId?: string | null;
|
|
3790
|
+
xUsername?: string | null;
|
|
3791
|
+
reviewAnswer: ReviewAnswer;
|
|
3792
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3793
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3794
|
+
status: 200;
|
|
3795
|
+
data: any;
|
|
3796
|
+
} | {
|
|
3797
|
+
status: 404;
|
|
3798
|
+
} | {
|
|
3799
|
+
status: 422;
|
|
3800
|
+
data: HttpValidationError;
|
|
3801
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}/answers`, oazapfts.json({
|
|
3802
|
+
...opts,
|
|
3803
|
+
method: "POST",
|
|
3804
|
+
body: reviewAnswer,
|
|
3805
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3806
|
+
authorization,
|
|
3807
|
+
"x-account-id": xAccountId,
|
|
3808
|
+
"x-member-id": xMemberId,
|
|
3809
|
+
"x-username": xUsername
|
|
3810
|
+
})
|
|
3811
|
+
})));
|
|
3812
|
+
}
|
|
3813
|
+
/**
|
|
3814
|
+
* Update Resource Review
|
|
3815
|
+
*/
|
|
3816
|
+
export function updateResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdPatch({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }: {
|
|
3817
|
+
resourceSlug: string;
|
|
3818
|
+
resourceTypeSlug: string;
|
|
3819
|
+
reviewId: string;
|
|
3820
|
+
authorization: string;
|
|
3821
|
+
xAccountId?: string | null;
|
|
3822
|
+
xMemberId?: string | null;
|
|
3823
|
+
xUsername?: string | null;
|
|
3824
|
+
resourceReviewRequest: ResourceReviewRequest;
|
|
3825
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3826
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3827
|
+
status: 200;
|
|
3828
|
+
data: any;
|
|
3829
|
+
} | {
|
|
3830
|
+
status: 404;
|
|
3831
|
+
} | {
|
|
3832
|
+
status: 422;
|
|
3833
|
+
data: HttpValidationError;
|
|
3834
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}`, oazapfts.json({
|
|
3835
|
+
...opts,
|
|
3836
|
+
method: "PATCH",
|
|
3837
|
+
body: resourceReviewRequest,
|
|
3838
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3839
|
+
authorization,
|
|
3840
|
+
"x-account-id": xAccountId,
|
|
3841
|
+
"x-member-id": xMemberId,
|
|
3842
|
+
"x-username": xUsername
|
|
3843
|
+
})
|
|
3844
|
+
})));
|
|
3845
|
+
}
|
|
3846
|
+
/**
|
|
3847
|
+
* Delete Resource Review
|
|
3848
|
+
*/
|
|
3849
|
+
export function deleteResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdDelete({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3850
|
+
resourceSlug: string;
|
|
3851
|
+
resourceTypeSlug: string;
|
|
3852
|
+
reviewId: string;
|
|
3853
|
+
authorization: string;
|
|
3854
|
+
xAccountId?: string | null;
|
|
3855
|
+
xMemberId?: string | null;
|
|
3856
|
+
xUsername?: string | null;
|
|
3857
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3858
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3859
|
+
status: 200;
|
|
3860
|
+
data: any;
|
|
3861
|
+
} | {
|
|
3862
|
+
status: 404;
|
|
3863
|
+
} | {
|
|
3864
|
+
status: 422;
|
|
3865
|
+
data: HttpValidationError;
|
|
3866
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}`, {
|
|
3867
|
+
...opts,
|
|
3868
|
+
method: "DELETE",
|
|
3869
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3870
|
+
authorization,
|
|
3871
|
+
"x-account-id": xAccountId,
|
|
3872
|
+
"x-member-id": xMemberId,
|
|
3873
|
+
"x-username": xUsername
|
|
3874
|
+
})
|
|
3875
|
+
}));
|
|
3876
|
+
}
|
|
3877
|
+
/**
|
|
3878
|
+
* Update Review Comment
|
|
3879
|
+
*/
|
|
3880
|
+
export function updateReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdPatch({ resourceSlug, resourceTypeSlug, reviewId, answerId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
|
|
3881
|
+
resourceSlug: string;
|
|
3882
|
+
resourceTypeSlug: string;
|
|
3883
|
+
reviewId: string;
|
|
3884
|
+
answerId: string;
|
|
3885
|
+
authorization: string;
|
|
3886
|
+
xAccountId?: string | null;
|
|
3887
|
+
xMemberId?: string | null;
|
|
3888
|
+
xUsername?: string | null;
|
|
3889
|
+
reviewAnswer: ReviewAnswer;
|
|
3890
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3891
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3892
|
+
status: 200;
|
|
3893
|
+
data: any;
|
|
3894
|
+
} | {
|
|
3895
|
+
status: 404;
|
|
3896
|
+
} | {
|
|
3897
|
+
status: 422;
|
|
3898
|
+
data: HttpValidationError;
|
|
3899
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}/answers/${encodeURIComponent(answerId)}`, oazapfts.json({
|
|
3900
|
+
...opts,
|
|
3901
|
+
method: "PATCH",
|
|
3902
|
+
body: reviewAnswer,
|
|
3903
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3904
|
+
authorization,
|
|
3905
|
+
"x-account-id": xAccountId,
|
|
3906
|
+
"x-member-id": xMemberId,
|
|
3907
|
+
"x-username": xUsername
|
|
3908
|
+
})
|
|
3909
|
+
})));
|
|
3910
|
+
}
|
|
3911
|
+
/**
|
|
3912
|
+
* Delete Review Comment
|
|
3913
|
+
*/
|
|
3914
|
+
export function deleteReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdDelete({ resourceSlug, resourceTypeSlug, reviewId, answerId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3915
|
+
resourceSlug: string;
|
|
3916
|
+
resourceTypeSlug: string;
|
|
3917
|
+
reviewId: string;
|
|
3918
|
+
answerId: string;
|
|
3919
|
+
authorization: string;
|
|
3920
|
+
xAccountId?: string | null;
|
|
3921
|
+
xMemberId?: string | null;
|
|
3922
|
+
xUsername?: string | null;
|
|
3923
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3924
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3925
|
+
status: 200;
|
|
3926
|
+
data: any;
|
|
3927
|
+
} | {
|
|
3928
|
+
status: 404;
|
|
3929
|
+
} | {
|
|
3930
|
+
status: 422;
|
|
3931
|
+
data: HttpValidationError;
|
|
3932
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}/answers/${encodeURIComponent(answerId)}`, {
|
|
3933
|
+
...opts,
|
|
3934
|
+
method: "DELETE",
|
|
3935
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3936
|
+
authorization,
|
|
3937
|
+
"x-account-id": xAccountId,
|
|
3938
|
+
"x-member-id": xMemberId,
|
|
3939
|
+
"x-username": xUsername
|
|
3269
3940
|
})
|
|
3270
3941
|
}));
|
|
3271
3942
|
}
|
|
@@ -3294,12 +3965,13 @@ export function devAssistantV2V2ChatPost({ accept }: {
|
|
|
3294
3965
|
/**
|
|
3295
3966
|
* Quick Commands Run V2
|
|
3296
3967
|
*/
|
|
3297
|
-
export function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }: {
|
|
3968
|
+
export function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }: {
|
|
3298
3969
|
slug: string;
|
|
3299
3970
|
stepSlug: string;
|
|
3300
3971
|
authorization: string;
|
|
3301
3972
|
xAccountId?: string | null;
|
|
3302
3973
|
xMemberId?: string | null;
|
|
3974
|
+
xUsername?: string | null;
|
|
3303
3975
|
quickCommandsExecutionRequest: QuickCommandsExecutionRequest;
|
|
3304
3976
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3305
3977
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -3317,20 +3989,22 @@ export function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug
|
|
|
3317
3989
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3318
3990
|
authorization,
|
|
3319
3991
|
"x-account-id": xAccountId,
|
|
3320
|
-
"x-member-id": xMemberId
|
|
3992
|
+
"x-member-id": xMemberId,
|
|
3993
|
+
"x-username": xUsername
|
|
3321
3994
|
})
|
|
3322
3995
|
})));
|
|
3323
3996
|
}
|
|
3324
3997
|
/**
|
|
3325
3998
|
* List All
|
|
3326
3999
|
*/
|
|
3327
|
-
export function listAllV2QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId }: {
|
|
4000
|
+
export function listAllV2QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3328
4001
|
visibility?: VisibilityLevelEnum | null;
|
|
3329
4002
|
order?: OrderEnum;
|
|
3330
4003
|
types?: QuickCommandTypeRequest[] | null;
|
|
3331
4004
|
authorization: string;
|
|
3332
4005
|
xAccountId?: string | null;
|
|
3333
4006
|
xMemberId?: string | null;
|
|
4007
|
+
xUsername?: string | null;
|
|
3334
4008
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3335
4009
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3336
4010
|
status: 200;
|
|
@@ -3349,17 +4023,19 @@ export function listAllV2QuickCommandsAllGet({ visibility, order, types, authori
|
|
|
3349
4023
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3350
4024
|
authorization,
|
|
3351
4025
|
"x-account-id": xAccountId,
|
|
3352
|
-
"x-member-id": xMemberId
|
|
4026
|
+
"x-member-id": xMemberId,
|
|
4027
|
+
"x-username": xUsername
|
|
3353
4028
|
})
|
|
3354
4029
|
}));
|
|
3355
4030
|
}
|
|
3356
4031
|
/**
|
|
3357
4032
|
* Dev Assistant V3
|
|
3358
4033
|
*/
|
|
3359
|
-
export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId, chatRequest }: {
|
|
4034
|
+
export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId, xUsername, chatRequest }: {
|
|
3360
4035
|
authorization: string;
|
|
3361
4036
|
xAccountId?: string | null;
|
|
3362
4037
|
xMemberId?: string | null;
|
|
4038
|
+
xUsername?: string | null;
|
|
3363
4039
|
chatRequest: ChatRequest;
|
|
3364
4040
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3365
4041
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -3377,7 +4053,52 @@ export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId,
|
|
|
3377
4053
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3378
4054
|
authorization,
|
|
3379
4055
|
"x-account-id": xAccountId,
|
|
3380
|
-
"x-member-id": xMemberId
|
|
4056
|
+
"x-member-id": xMemberId,
|
|
4057
|
+
"x-username": xUsername
|
|
3381
4058
|
})
|
|
3382
4059
|
})));
|
|
3383
4060
|
}
|
|
4061
|
+
/**
|
|
4062
|
+
* List All
|
|
4063
|
+
*/
|
|
4064
|
+
export function listAllV3QuickCommandsGet({ name, slug, size, page, visibilityList, order, isRemote, types, authorization, xAccountId, xMemberId, xUsername }: {
|
|
4065
|
+
name?: string | null;
|
|
4066
|
+
slug?: string | null;
|
|
4067
|
+
size?: number;
|
|
4068
|
+
page?: number;
|
|
4069
|
+
visibilityList?: VisibilityLevelEnum[] | null;
|
|
4070
|
+
order?: OrderEnum | null;
|
|
4071
|
+
isRemote?: boolean;
|
|
4072
|
+
types?: QuickCommandTypeRequest[] | null;
|
|
4073
|
+
authorization: string;
|
|
4074
|
+
xAccountId?: string | null;
|
|
4075
|
+
xMemberId?: string | null;
|
|
4076
|
+
xUsername?: string | null;
|
|
4077
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
4078
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
4079
|
+
status: 200;
|
|
4080
|
+
data: PaginatedResponseQuickCommandListResponseV3;
|
|
4081
|
+
} | {
|
|
4082
|
+
status: 404;
|
|
4083
|
+
} | {
|
|
4084
|
+
status: 422;
|
|
4085
|
+
data: HttpValidationError;
|
|
4086
|
+
}>(`/v3/quick-commands${QS.query(QS.explode({
|
|
4087
|
+
name,
|
|
4088
|
+
slug,
|
|
4089
|
+
size,
|
|
4090
|
+
page,
|
|
4091
|
+
visibility_list: visibilityList,
|
|
4092
|
+
order,
|
|
4093
|
+
is_remote: isRemote,
|
|
4094
|
+
types
|
|
4095
|
+
}))}`, {
|
|
4096
|
+
...opts,
|
|
4097
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
4098
|
+
authorization,
|
|
4099
|
+
"x-account-id": xAccountId,
|
|
4100
|
+
"x-member-id": xMemberId,
|
|
4101
|
+
"x-username": xUsername
|
|
4102
|
+
})
|
|
4103
|
+
}));
|
|
4104
|
+
}
|