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