@stack-spot/portal-network 0.200.0 → 0.201.0-beta.1
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 +188 -0
- package/dist/api/account.d.ts +331 -89
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +203 -46
- package/dist/api/account.js.map +1 -1
- package/dist/api/accountAssetManager.d.ts +279 -0
- package/dist/api/accountAssetManager.d.ts.map +1 -0
- package/dist/api/accountAssetManager.js +167 -0
- package/dist/api/accountAssetManager.js.map +1 -0
- package/dist/api/agent-tools.d.ts +152 -148
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +41 -4
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/ai.d.ts +301 -20
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +196 -11
- package/dist/api/ai.js.map +1 -1
- package/dist/api/codeShift.d.ts +122 -9
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +70 -6
- 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 +79 -4
- package/dist/api/discover.d.ts.map +1 -1
- package/dist/api/discover.js +73 -7
- 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-addresses.d.ts +13 -20
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +59 -17
- package/dist/api-addresses.js.map +1 -1
- package/dist/apis-itau.json +16 -0
- package/dist/apis.json +16 -0
- package/dist/client/account-asset-manager.d.ts +110 -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 +11 -9
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +11 -8
- package/dist/client/account.js.map +1 -1
- package/dist/client/agent-tools.d.ts +35 -2
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +26 -3
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.d.ts +160 -2
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +120 -2
- package/dist/client/ai.js.map +1 -1
- package/dist/client/code-shift.d.ts +52 -3
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +46 -1
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/data-integration.d.ts +30 -0
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +29 -2
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discover.d.ts +16 -2
- package/dist/client/discover.d.ts.map +1 -1
- package/dist/client/discover.js +28 -1
- 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/notification.d.ts +7 -0
- 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/secrets.d.ts.map +1 -1
- package/dist/client/secrets.js +1 -1
- package/dist/client/secrets.js.map +1 -1
- package/dist/client/workspace-ai.d.ts +5 -5
- package/dist/client/workspace-manager.d.ts +15 -0
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +19 -1
- package/dist/client/workspace-manager.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/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/network/NetworkClient.d.ts.map +1 -1
- package/dist/network/NetworkClient.js +11 -2
- package/dist/network/NetworkClient.js.map +1 -1
- package/dist/network/types.d.ts +1 -0
- package/dist/network/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/readme.md +39 -1
- package/src/api/account.ts +579 -163
- package/src/api/accountAssetManager.ts +655 -0
- package/src/api/agent-tools.ts +201 -152
- package/src/api/ai.ts +534 -25
- package/src/api/codeShift.ts +225 -12
- package/src/api/dataIntegration.ts +635 -1
- package/src/api/discover.ts +153 -10
- package/src/api/edpBfa.ts +472 -0
- package/src/api-addresses.ts +92 -37
- package/src/apis-itau.json +16 -0
- package/src/apis.json +16 -0
- package/src/client/account-asset-manager.ts +100 -0
- package/src/client/account.ts +11 -7
- package/src/client/agent-tools.ts +17 -3
- package/src/client/ai.ts +91 -10
- package/src/client/code-shift.ts +29 -0
- package/src/client/data-integration.ts +23 -2
- package/src/client/discover.ts +15 -2
- 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/workspace-manager.ts +13 -0
- package/src/error/dictionary/accountAssetManager.ts +12 -0
- package/src/index.ts +4 -1
- package/src/network/NetworkClient.ts +12 -3
- package/src/network/types.ts +1 -0
package/src/api/ai.ts
CHANGED
|
@@ -416,6 +416,12 @@ export type QuickCommandsStepRouterRequest = {
|
|
|
416
416
|
routes: RouterStepRoute[];
|
|
417
417
|
max_executions: number;
|
|
418
418
|
};
|
|
419
|
+
export type QuickCommandsStepScriptRequest = {
|
|
420
|
+
slug: string;
|
|
421
|
+
script: string;
|
|
422
|
+
use_uploaded_files: boolean;
|
|
423
|
+
next_step_slug?: string | null;
|
|
424
|
+
};
|
|
419
425
|
export type CustomInputRequest = {
|
|
420
426
|
slug: string;
|
|
421
427
|
question: string;
|
|
@@ -427,7 +433,7 @@ export type QuickCommandsCreateRequest = {
|
|
|
427
433
|
"type"?: QuickCommandTypeRequest;
|
|
428
434
|
description: string;
|
|
429
435
|
final_result: string;
|
|
430
|
-
steps: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest)[];
|
|
436
|
+
steps: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest | QuickCommandsStepScriptRequest)[];
|
|
431
437
|
return_type?: QuickCommandsReturnType | null;
|
|
432
438
|
preserve_conversation?: boolean;
|
|
433
439
|
custom_inputs?: CustomInputRequest[] | null;
|
|
@@ -439,7 +445,7 @@ export type QuickCommandsCreateRequest = {
|
|
|
439
445
|
export type QuickCommandsUpdateRequest = {
|
|
440
446
|
name?: string | null;
|
|
441
447
|
description?: string | null;
|
|
442
|
-
steps?: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest)[] | null;
|
|
448
|
+
steps?: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest | QuickCommandsStepScriptRequest)[] | null;
|
|
443
449
|
return_type?: QuickCommandsReturnType | null;
|
|
444
450
|
knowledge_source_slugs?: string[] | null;
|
|
445
451
|
final_result?: string | null;
|
|
@@ -452,7 +458,7 @@ export type QuickCommandsUpdateRequest = {
|
|
|
452
458
|
use_only?: boolean | null;
|
|
453
459
|
use_uploaded_files?: boolean | null;
|
|
454
460
|
};
|
|
455
|
-
export type QuickCommandStepType = "LLM" | "FETCH" | "ROUTER";
|
|
461
|
+
export type QuickCommandStepType = "LLM" | "FETCH" | "ROUTER" | "SCRIPT";
|
|
456
462
|
export type Method2 = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
457
463
|
export type QuickCommandStepFetchResponse = {
|
|
458
464
|
slug: string;
|
|
@@ -535,6 +541,13 @@ export type QuickCommandsStepRouterResponse = {
|
|
|
535
541
|
routes: RouterStepRoute2[];
|
|
536
542
|
max_executions: number;
|
|
537
543
|
};
|
|
544
|
+
export type QuickCommandsStepScriptResponse = {
|
|
545
|
+
slug: string;
|
|
546
|
+
"type": QuickCommandStepType;
|
|
547
|
+
script: string;
|
|
548
|
+
use_uploaded_files: boolean;
|
|
549
|
+
next_step_slug?: string | null;
|
|
550
|
+
};
|
|
538
551
|
export type CustomInputResponse = {
|
|
539
552
|
slug: string;
|
|
540
553
|
question: string;
|
|
@@ -548,7 +561,7 @@ export type QuickCommandResponse = {
|
|
|
548
561
|
studio_id?: string | null;
|
|
549
562
|
return_type?: QuickCommandsReturnType | null;
|
|
550
563
|
final_result?: string | null;
|
|
551
|
-
steps?: (QuickCommandStepFetchResponse | QuickCommandStepLlmResponse | QuickCommandsStepRouterResponse)[] | null;
|
|
564
|
+
steps?: (QuickCommandStepFetchResponse | QuickCommandStepLlmResponse | QuickCommandsStepRouterResponse | QuickCommandsStepScriptResponse)[] | null;
|
|
552
565
|
flow?: {
|
|
553
566
|
[key: string]: any;
|
|
554
567
|
} | null;
|
|
@@ -571,7 +584,7 @@ export type QuickCommandsMakeACopyRequest = {
|
|
|
571
584
|
};
|
|
572
585
|
export type QuickCommandAnswerStatusResponse = {
|
|
573
586
|
success: boolean;
|
|
574
|
-
next_step_slug
|
|
587
|
+
next_step_slug?: string | null;
|
|
575
588
|
failure_message?: string | null;
|
|
576
589
|
input_tokens?: number | null;
|
|
577
590
|
output_tokens?: number | null;
|
|
@@ -588,6 +601,17 @@ export type QuickCommandFetchResponseResult = {
|
|
|
588
601
|
data?: string | null;
|
|
589
602
|
status: number;
|
|
590
603
|
};
|
|
604
|
+
export type QuickCommandStepScriptStatus = "queued" | "running" | "success" | "failure";
|
|
605
|
+
export type QuickCommandScriptExecutionResponse = {
|
|
606
|
+
status: QuickCommandStepScriptStatus;
|
|
607
|
+
duration?: number | null;
|
|
608
|
+
result?: {
|
|
609
|
+
[key: string]: any;
|
|
610
|
+
} | null;
|
|
611
|
+
logs?: string | null;
|
|
612
|
+
started?: string | null;
|
|
613
|
+
};
|
|
614
|
+
export type QuickCommandStepResult = QuickCommandPromptResponse | QuickCommandFetchResponseResult | QuickCommandScriptExecutionResponse;
|
|
591
615
|
export type QuickCommandsExecutionRequest = {
|
|
592
616
|
context?: {
|
|
593
617
|
[key: string]: any;
|
|
@@ -596,7 +620,7 @@ export type QuickCommandsExecutionRequest = {
|
|
|
596
620
|
code_selection?: string | null;
|
|
597
621
|
input_data?: string | null;
|
|
598
622
|
slugs_executions?: {
|
|
599
|
-
[key: string]: string |
|
|
623
|
+
[key: string]: string | QuickCommandStepResult;
|
|
600
624
|
} | null;
|
|
601
625
|
qc_execution_id?: string | null;
|
|
602
626
|
};
|
|
@@ -610,7 +634,7 @@ export type QuickCommandEvaluateStepRouterRequest = {
|
|
|
610
634
|
} | null;
|
|
611
635
|
selected_code?: string | null;
|
|
612
636
|
slugs_executions: {
|
|
613
|
-
[key: string]:
|
|
637
|
+
[key: string]: QuickCommandStepResult;
|
|
614
638
|
} | null;
|
|
615
639
|
};
|
|
616
640
|
export type QuickCommandEvaluateStepRouterResponse = {
|
|
@@ -657,6 +681,7 @@ export type AnswerStatus = {
|
|
|
657
681
|
failure_message?: string | null;
|
|
658
682
|
input_tokens?: number | null;
|
|
659
683
|
output_tokens?: number | null;
|
|
684
|
+
attempt?: number | null;
|
|
660
685
|
};
|
|
661
686
|
export type StepLlm = {
|
|
662
687
|
duration?: number | null;
|
|
@@ -671,12 +696,21 @@ export type StepRouter = {
|
|
|
671
696
|
condition?: ConditionExpr2 | null;
|
|
672
697
|
"default"?: boolean;
|
|
673
698
|
};
|
|
699
|
+
export type StepScript = {
|
|
700
|
+
duration?: number | null;
|
|
701
|
+
status: QuickCommandStepScriptStatus;
|
|
702
|
+
result?: {
|
|
703
|
+
[key: string]: any;
|
|
704
|
+
} | null;
|
|
705
|
+
logs?: string | null;
|
|
706
|
+
started?: string | null;
|
|
707
|
+
};
|
|
674
708
|
export type Step = {
|
|
675
709
|
step_name: string;
|
|
676
710
|
execution_order: number;
|
|
677
711
|
"type": QuickCommandStepType;
|
|
678
|
-
step_result: StepFetch | StepLlm | StepRouter | null;
|
|
679
|
-
status
|
|
712
|
+
step_result: StepFetch | StepLlm | StepRouter | StepScript | null;
|
|
713
|
+
status?: string;
|
|
680
714
|
};
|
|
681
715
|
export type QuickCommandExecutionResponse = {
|
|
682
716
|
execution_id: string;
|
|
@@ -687,6 +721,23 @@ export type QuickCommandExecutionResponse = {
|
|
|
687
721
|
steps?: Step[] | null;
|
|
688
722
|
result?: string | null;
|
|
689
723
|
};
|
|
724
|
+
export type QuickCommandStartScriptRequest = {
|
|
725
|
+
context?: {
|
|
726
|
+
[key: string]: any;
|
|
727
|
+
} | null;
|
|
728
|
+
input_data?: string | {
|
|
729
|
+
[key: string]: any;
|
|
730
|
+
} | null;
|
|
731
|
+
custom_inputs?: {
|
|
732
|
+
[key: string]: any;
|
|
733
|
+
} | null;
|
|
734
|
+
slugs_executions: {
|
|
735
|
+
[key: string]: QuickCommandStepResult;
|
|
736
|
+
} | null;
|
|
737
|
+
};
|
|
738
|
+
export type QuickCommandStartScriptResponse = {
|
|
739
|
+
script_execution_id: string;
|
|
740
|
+
};
|
|
690
741
|
export type ConversationHistoryAgentEnum = "AI" | "USER";
|
|
691
742
|
export type ConversationHistoryResponse = {
|
|
692
743
|
message_id: string;
|
|
@@ -697,6 +748,7 @@ export type ConversationHistoryResponse = {
|
|
|
697
748
|
[key: string]: any;
|
|
698
749
|
} | null;
|
|
699
750
|
updated: string;
|
|
751
|
+
agent_info?: any[] | null;
|
|
700
752
|
};
|
|
701
753
|
export type ConversationResponse = {
|
|
702
754
|
id: string;
|
|
@@ -735,6 +787,70 @@ export type DependencyResponse = {
|
|
|
735
787
|
delete_contents?: ContentDependencyResponse[] | null;
|
|
736
788
|
missing_list?: ContentDependencyResponse[] | null;
|
|
737
789
|
};
|
|
790
|
+
export type TokenTypeEnum = "prompt" | "embedding";
|
|
791
|
+
export type AnalyticsTokensDailyUsageResponseSeriesItem = {
|
|
792
|
+
day: number;
|
|
793
|
+
date: string;
|
|
794
|
+
total_tokens: number;
|
|
795
|
+
};
|
|
796
|
+
export type AnalyticsTokensDailyUsageResponse = {
|
|
797
|
+
year: number;
|
|
798
|
+
month: number;
|
|
799
|
+
series: AnalyticsTokensDailyUsageResponseSeriesItem[];
|
|
800
|
+
consumed_tokens: number;
|
|
801
|
+
consumed_tokens_over_last_month?: number | null;
|
|
802
|
+
purchased_token_limit?: number | null;
|
|
803
|
+
purchased_token_limit_over_last_month?: number | null;
|
|
804
|
+
available_tokens?: number | null;
|
|
805
|
+
available_tokens_over_last_month?: number | null;
|
|
806
|
+
limit_consumed?: number | null;
|
|
807
|
+
limit_consumed_over_last_month?: number | null;
|
|
808
|
+
};
|
|
809
|
+
export type AnalyticsTokensRankingUsersResponse = {
|
|
810
|
+
email: string;
|
|
811
|
+
rank: number;
|
|
812
|
+
total_tokens: number;
|
|
813
|
+
total_share: number;
|
|
814
|
+
overage_tokens: number;
|
|
815
|
+
overage_percentage: number;
|
|
816
|
+
};
|
|
817
|
+
export type AnalyticsTokensRankingUsersResponsePaginated = {
|
|
818
|
+
total_pages: number;
|
|
819
|
+
items: AnalyticsTokensRankingUsersResponse[];
|
|
820
|
+
};
|
|
821
|
+
export type SortDirection = "ASC" | "DESC";
|
|
822
|
+
export type ReviewAnswers = {
|
|
823
|
+
id: string;
|
|
824
|
+
memberId: string;
|
|
825
|
+
comment: string;
|
|
826
|
+
createdAt: string;
|
|
827
|
+
updatedAt?: string | null;
|
|
828
|
+
};
|
|
829
|
+
export type Review = {
|
|
830
|
+
id: string;
|
|
831
|
+
memberId: string;
|
|
832
|
+
rating: number;
|
|
833
|
+
comment: string;
|
|
834
|
+
resourceType: string;
|
|
835
|
+
resourceSlug: string;
|
|
836
|
+
createdAt: string;
|
|
837
|
+
updatedAt?: string | null;
|
|
838
|
+
reviewAnswers?: ReviewAnswers[];
|
|
839
|
+
};
|
|
840
|
+
export type ResourceReviewResponse = {
|
|
841
|
+
items: Review[];
|
|
842
|
+
totalElements: number;
|
|
843
|
+
page: number;
|
|
844
|
+
size: number;
|
|
845
|
+
totalPages: number;
|
|
846
|
+
};
|
|
847
|
+
export type ResourceReviewRequest = {
|
|
848
|
+
rating: number;
|
|
849
|
+
comment?: string | null;
|
|
850
|
+
};
|
|
851
|
+
export type ReviewAnswer = {
|
|
852
|
+
answer: string;
|
|
853
|
+
};
|
|
738
854
|
export type SourceProjectFile2 = {
|
|
739
855
|
"type": "project_file";
|
|
740
856
|
path: string;
|
|
@@ -766,6 +882,26 @@ export type ChatResponse3 = {
|
|
|
766
882
|
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
|
|
767
883
|
message_id: string | null;
|
|
768
884
|
};
|
|
885
|
+
export type QuickCommandListResponseV3 = {
|
|
886
|
+
slug: string;
|
|
887
|
+
name: string;
|
|
888
|
+
"type": QuickCommandTypeRequest;
|
|
889
|
+
description: string;
|
|
890
|
+
studio_id?: string | null;
|
|
891
|
+
preserve_conversation: boolean;
|
|
892
|
+
use_selected_code: boolean;
|
|
893
|
+
return_type?: QuickCommandsReturnType | null;
|
|
894
|
+
creator: string | null;
|
|
895
|
+
visibility_level: string;
|
|
896
|
+
use_only: boolean;
|
|
897
|
+
share_context_between_steps?: boolean;
|
|
898
|
+
is_favorite?: boolean;
|
|
899
|
+
id: string;
|
|
900
|
+
};
|
|
901
|
+
export type PaginatedResponseQuickCommandListResponseV3 = {
|
|
902
|
+
total_pages: number;
|
|
903
|
+
items: QuickCommandListResponseV3[];
|
|
904
|
+
};
|
|
769
905
|
/**
|
|
770
906
|
* Metrics
|
|
771
907
|
*/
|
|
@@ -2120,20 +2256,34 @@ export function changeExternalConfigsV1AccountsExternalConfigPatch({ body }: {
|
|
|
2120
2256
|
/**
|
|
2121
2257
|
* Tokens Usage
|
|
2122
2258
|
*/
|
|
2123
|
-
export function tokensUsageV1AccountsTokensUsageGet(
|
|
2259
|
+
export function tokensUsageV1AccountsTokensUsageGet({ authorization, xAccountId, xMemberId, xUsername }: {
|
|
2260
|
+
authorization: string;
|
|
2261
|
+
xAccountId?: string | null;
|
|
2262
|
+
xMemberId?: string | null;
|
|
2263
|
+
xUsername?: string | null;
|
|
2264
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2124
2265
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2125
2266
|
status: 200;
|
|
2126
2267
|
data: AccountTokenUsage;
|
|
2127
2268
|
} | {
|
|
2128
2269
|
status: 404;
|
|
2270
|
+
} | {
|
|
2271
|
+
status: 422;
|
|
2272
|
+
data: HttpValidationError;
|
|
2129
2273
|
}>("/v1/accounts/tokens-usage", {
|
|
2130
|
-
...opts
|
|
2274
|
+
...opts,
|
|
2275
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2276
|
+
authorization,
|
|
2277
|
+
"x-account-id": xAccountId,
|
|
2278
|
+
"x-member-id": xMemberId,
|
|
2279
|
+
"x-username": xUsername
|
|
2280
|
+
})
|
|
2131
2281
|
}));
|
|
2132
2282
|
}
|
|
2133
2283
|
/**
|
|
2134
|
-
*
|
|
2284
|
+
* Total
|
|
2135
2285
|
*/
|
|
2136
|
-
export function
|
|
2286
|
+
export function totalV1TokensUsageTotalGet({ authorization, xAccountId, xMemberId, xUsername }: {
|
|
2137
2287
|
authorization: string;
|
|
2138
2288
|
xAccountId?: string | null;
|
|
2139
2289
|
xMemberId?: string | null;
|
|
@@ -2161,8 +2311,8 @@ export function currentV1TokensUsageTotalGet({ authorization, xAccountId, xMembe
|
|
|
2161
2311
|
* Current
|
|
2162
2312
|
*/
|
|
2163
2313
|
export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2164
|
-
year
|
|
2165
|
-
month
|
|
2314
|
+
year?: number | null;
|
|
2315
|
+
month?: number | null;
|
|
2166
2316
|
authorization: string;
|
|
2167
2317
|
xAccountId?: string | null;
|
|
2168
2318
|
xMemberId?: string | null;
|
|
@@ -2726,9 +2876,9 @@ export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountI
|
|
|
2726
2876
|
})));
|
|
2727
2877
|
}
|
|
2728
2878
|
/**
|
|
2729
|
-
*
|
|
2879
|
+
* Check Quick Command Exists
|
|
2730
2880
|
*/
|
|
2731
|
-
export function
|
|
2881
|
+
export function checkQuickCommandExistsV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId, xMemberId, xUsername }: {
|
|
2732
2882
|
slug: string;
|
|
2733
2883
|
authorization: string;
|
|
2734
2884
|
xAccountId?: string | null;
|
|
@@ -3142,6 +3292,66 @@ export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug,
|
|
|
3142
3292
|
})
|
|
3143
3293
|
})));
|
|
3144
3294
|
}
|
|
3295
|
+
/**
|
|
3296
|
+
* Starts the execution of a step with a user defined script
|
|
3297
|
+
*/
|
|
3298
|
+
export function startScriptStepV1QuickCommandsSlugStepsStepSlugStartScriptPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandStartScriptRequest }: {
|
|
3299
|
+
slug: string;
|
|
3300
|
+
stepSlug: string;
|
|
3301
|
+
authorization: string;
|
|
3302
|
+
xAccountId?: string | null;
|
|
3303
|
+
xMemberId?: string | null;
|
|
3304
|
+
xUsername?: string | null;
|
|
3305
|
+
quickCommandStartScriptRequest: QuickCommandStartScriptRequest;
|
|
3306
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3307
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3308
|
+
status: 202;
|
|
3309
|
+
data: QuickCommandStartScriptResponse;
|
|
3310
|
+
} | {
|
|
3311
|
+
status: 404;
|
|
3312
|
+
} | {
|
|
3313
|
+
status: 422;
|
|
3314
|
+
data: HttpValidationError;
|
|
3315
|
+
}>(`/v1/quick-commands/${encodeURIComponent(slug)}/steps/${encodeURIComponent(stepSlug)}/start-script`, oazapfts.json({
|
|
3316
|
+
...opts,
|
|
3317
|
+
method: "POST",
|
|
3318
|
+
body: quickCommandStartScriptRequest,
|
|
3319
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3320
|
+
authorization,
|
|
3321
|
+
"x-account-id": xAccountId,
|
|
3322
|
+
"x-member-id": xMemberId,
|
|
3323
|
+
"x-username": xUsername
|
|
3324
|
+
})
|
|
3325
|
+
})));
|
|
3326
|
+
}
|
|
3327
|
+
/**
|
|
3328
|
+
* Get the status of a script execution step
|
|
3329
|
+
*/
|
|
3330
|
+
export function getScriptExecutionStatusV1QuickCommandsScriptExecutionsScriptExecutionIdGet({ scriptExecutionId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3331
|
+
scriptExecutionId: string;
|
|
3332
|
+
authorization: string;
|
|
3333
|
+
xAccountId?: string | null;
|
|
3334
|
+
xMemberId?: string | null;
|
|
3335
|
+
xUsername?: string | null;
|
|
3336
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3337
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3338
|
+
status: 200;
|
|
3339
|
+
data: QuickCommandScriptExecutionResponse;
|
|
3340
|
+
} | {
|
|
3341
|
+
status: 404;
|
|
3342
|
+
} | {
|
|
3343
|
+
status: 422;
|
|
3344
|
+
data: HttpValidationError;
|
|
3345
|
+
}>(`/v1/quick-commands/script-executions/${encodeURIComponent(scriptExecutionId)}`, {
|
|
3346
|
+
...opts,
|
|
3347
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3348
|
+
authorization,
|
|
3349
|
+
"x-account-id": xAccountId,
|
|
3350
|
+
"x-member-id": xMemberId,
|
|
3351
|
+
"x-username": xUsername
|
|
3352
|
+
})
|
|
3353
|
+
}));
|
|
3354
|
+
}
|
|
3145
3355
|
/**
|
|
3146
3356
|
* List Conversations
|
|
3147
3357
|
*/
|
|
@@ -3428,14 +3638,18 @@ export function getContentDependenciesV1ContentContentTypeContentIdDependenciesG
|
|
|
3428
3638
|
/**
|
|
3429
3639
|
* Tokens Daily Usage
|
|
3430
3640
|
*/
|
|
3431
|
-
export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year,
|
|
3641
|
+
export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year, tokenType, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3432
3642
|
month: number;
|
|
3433
3643
|
year: number;
|
|
3434
|
-
|
|
3644
|
+
tokenType: TokenTypeEnum;
|
|
3645
|
+
authorization: string;
|
|
3646
|
+
xAccountId?: string | null;
|
|
3647
|
+
xMemberId?: string | null;
|
|
3648
|
+
xUsername?: string | null;
|
|
3435
3649
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3436
3650
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3437
3651
|
status: 200;
|
|
3438
|
-
data:
|
|
3652
|
+
data: AnalyticsTokensDailyUsageResponse;
|
|
3439
3653
|
} | {
|
|
3440
3654
|
status: 404;
|
|
3441
3655
|
} | {
|
|
@@ -3444,23 +3658,34 @@ export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year, ac
|
|
|
3444
3658
|
}>(`/v1/analytics/tokens/daily-usage${QS.query(QS.explode({
|
|
3445
3659
|
month,
|
|
3446
3660
|
year,
|
|
3447
|
-
|
|
3661
|
+
token_type: tokenType
|
|
3448
3662
|
}))}`, {
|
|
3449
|
-
...opts
|
|
3663
|
+
...opts,
|
|
3664
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3665
|
+
authorization,
|
|
3666
|
+
"x-account-id": xAccountId,
|
|
3667
|
+
"x-member-id": xMemberId,
|
|
3668
|
+
"x-username": xUsername
|
|
3669
|
+
})
|
|
3450
3670
|
}));
|
|
3451
3671
|
}
|
|
3452
3672
|
/**
|
|
3453
3673
|
* Tokens By User
|
|
3454
3674
|
*/
|
|
3455
|
-
export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, page, pageSize }: {
|
|
3675
|
+
export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, tokenType, page, pageSize, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3456
3676
|
month: number;
|
|
3457
3677
|
year: number;
|
|
3678
|
+
tokenType: TokenTypeEnum;
|
|
3458
3679
|
page?: number;
|
|
3459
3680
|
pageSize?: number;
|
|
3681
|
+
authorization: string;
|
|
3682
|
+
xAccountId?: string | null;
|
|
3683
|
+
xMemberId?: string | null;
|
|
3684
|
+
xUsername?: string | null;
|
|
3460
3685
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3461
3686
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3462
3687
|
status: 200;
|
|
3463
|
-
data:
|
|
3688
|
+
data: AnalyticsTokensRankingUsersResponsePaginated;
|
|
3464
3689
|
} | {
|
|
3465
3690
|
status: 404;
|
|
3466
3691
|
} | {
|
|
@@ -3469,10 +3694,250 @@ export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, page, page
|
|
|
3469
3694
|
}>(`/v1/analytics/tokens/by-user${QS.query(QS.explode({
|
|
3470
3695
|
month,
|
|
3471
3696
|
year,
|
|
3697
|
+
token_type: tokenType,
|
|
3472
3698
|
page,
|
|
3473
3699
|
page_size: pageSize
|
|
3474
3700
|
}))}`, {
|
|
3475
|
-
...opts
|
|
3701
|
+
...opts,
|
|
3702
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3703
|
+
authorization,
|
|
3704
|
+
"x-account-id": xAccountId,
|
|
3705
|
+
"x-member-id": xMemberId,
|
|
3706
|
+
"x-username": xUsername
|
|
3707
|
+
})
|
|
3708
|
+
}));
|
|
3709
|
+
}
|
|
3710
|
+
/**
|
|
3711
|
+
* Get Reviews By Resource
|
|
3712
|
+
*/
|
|
3713
|
+
export function getReviewsByResourceV1ResourcesResourceTypeSlugResourceSlugReviewsGet({ resourceSlug, resourceTypeSlug, size, page, sort, direction, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3714
|
+
resourceSlug: string;
|
|
3715
|
+
resourceTypeSlug: string;
|
|
3716
|
+
size?: number | null;
|
|
3717
|
+
page?: number | null;
|
|
3718
|
+
sort?: string | null;
|
|
3719
|
+
direction?: SortDirection | null;
|
|
3720
|
+
authorization: string;
|
|
3721
|
+
xAccountId?: string | null;
|
|
3722
|
+
xMemberId?: string | null;
|
|
3723
|
+
xUsername?: string | null;
|
|
3724
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3725
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3726
|
+
status: 200;
|
|
3727
|
+
data: ResourceReviewResponse;
|
|
3728
|
+
} | {
|
|
3729
|
+
status: 404;
|
|
3730
|
+
} | {
|
|
3731
|
+
status: 422;
|
|
3732
|
+
data: HttpValidationError;
|
|
3733
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews${QS.query(QS.explode({
|
|
3734
|
+
size,
|
|
3735
|
+
page,
|
|
3736
|
+
sort,
|
|
3737
|
+
direction
|
|
3738
|
+
}))}`, {
|
|
3739
|
+
...opts,
|
|
3740
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3741
|
+
authorization,
|
|
3742
|
+
"x-account-id": xAccountId,
|
|
3743
|
+
"x-member-id": xMemberId,
|
|
3744
|
+
"x-username": xUsername
|
|
3745
|
+
})
|
|
3746
|
+
}));
|
|
3747
|
+
}
|
|
3748
|
+
/**
|
|
3749
|
+
* Create Resource Review
|
|
3750
|
+
*/
|
|
3751
|
+
export function createResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsPost({ resourceSlug, resourceTypeSlug, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }: {
|
|
3752
|
+
resourceSlug: string;
|
|
3753
|
+
resourceTypeSlug: string;
|
|
3754
|
+
authorization: string;
|
|
3755
|
+
xAccountId?: string | null;
|
|
3756
|
+
xMemberId?: string | null;
|
|
3757
|
+
xUsername?: string | null;
|
|
3758
|
+
resourceReviewRequest: ResourceReviewRequest;
|
|
3759
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3760
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3761
|
+
status: 200;
|
|
3762
|
+
data: any;
|
|
3763
|
+
} | {
|
|
3764
|
+
status: 404;
|
|
3765
|
+
} | {
|
|
3766
|
+
status: 422;
|
|
3767
|
+
data: HttpValidationError;
|
|
3768
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews`, oazapfts.json({
|
|
3769
|
+
...opts,
|
|
3770
|
+
method: "POST",
|
|
3771
|
+
body: resourceReviewRequest,
|
|
3772
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3773
|
+
authorization,
|
|
3774
|
+
"x-account-id": xAccountId,
|
|
3775
|
+
"x-member-id": xMemberId,
|
|
3776
|
+
"x-username": xUsername
|
|
3777
|
+
})
|
|
3778
|
+
})));
|
|
3779
|
+
}
|
|
3780
|
+
/**
|
|
3781
|
+
* Create Answer For Review
|
|
3782
|
+
*/
|
|
3783
|
+
export function createAnswerForReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersPost({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
|
|
3784
|
+
resourceSlug: string;
|
|
3785
|
+
resourceTypeSlug: string;
|
|
3786
|
+
reviewId: string;
|
|
3787
|
+
authorization: string;
|
|
3788
|
+
xAccountId?: string | null;
|
|
3789
|
+
xMemberId?: string | null;
|
|
3790
|
+
xUsername?: string | null;
|
|
3791
|
+
reviewAnswer: ReviewAnswer;
|
|
3792
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3793
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3794
|
+
status: 200;
|
|
3795
|
+
data: any;
|
|
3796
|
+
} | {
|
|
3797
|
+
status: 404;
|
|
3798
|
+
} | {
|
|
3799
|
+
status: 422;
|
|
3800
|
+
data: HttpValidationError;
|
|
3801
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}/answers`, oazapfts.json({
|
|
3802
|
+
...opts,
|
|
3803
|
+
method: "POST",
|
|
3804
|
+
body: reviewAnswer,
|
|
3805
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3806
|
+
authorization,
|
|
3807
|
+
"x-account-id": xAccountId,
|
|
3808
|
+
"x-member-id": xMemberId,
|
|
3809
|
+
"x-username": xUsername
|
|
3810
|
+
})
|
|
3811
|
+
})));
|
|
3812
|
+
}
|
|
3813
|
+
/**
|
|
3814
|
+
* Update Resource Review
|
|
3815
|
+
*/
|
|
3816
|
+
export function updateResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdPatch({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }: {
|
|
3817
|
+
resourceSlug: string;
|
|
3818
|
+
resourceTypeSlug: string;
|
|
3819
|
+
reviewId: string;
|
|
3820
|
+
authorization: string;
|
|
3821
|
+
xAccountId?: string | null;
|
|
3822
|
+
xMemberId?: string | null;
|
|
3823
|
+
xUsername?: string | null;
|
|
3824
|
+
resourceReviewRequest: ResourceReviewRequest;
|
|
3825
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3826
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3827
|
+
status: 200;
|
|
3828
|
+
data: any;
|
|
3829
|
+
} | {
|
|
3830
|
+
status: 404;
|
|
3831
|
+
} | {
|
|
3832
|
+
status: 422;
|
|
3833
|
+
data: HttpValidationError;
|
|
3834
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}`, oazapfts.json({
|
|
3835
|
+
...opts,
|
|
3836
|
+
method: "PATCH",
|
|
3837
|
+
body: resourceReviewRequest,
|
|
3838
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3839
|
+
authorization,
|
|
3840
|
+
"x-account-id": xAccountId,
|
|
3841
|
+
"x-member-id": xMemberId,
|
|
3842
|
+
"x-username": xUsername
|
|
3843
|
+
})
|
|
3844
|
+
})));
|
|
3845
|
+
}
|
|
3846
|
+
/**
|
|
3847
|
+
* Delete Resource Review
|
|
3848
|
+
*/
|
|
3849
|
+
export function deleteResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdDelete({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3850
|
+
resourceSlug: string;
|
|
3851
|
+
resourceTypeSlug: string;
|
|
3852
|
+
reviewId: string;
|
|
3853
|
+
authorization: string;
|
|
3854
|
+
xAccountId?: string | null;
|
|
3855
|
+
xMemberId?: string | null;
|
|
3856
|
+
xUsername?: string | null;
|
|
3857
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3858
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3859
|
+
status: 200;
|
|
3860
|
+
data: any;
|
|
3861
|
+
} | {
|
|
3862
|
+
status: 404;
|
|
3863
|
+
} | {
|
|
3864
|
+
status: 422;
|
|
3865
|
+
data: HttpValidationError;
|
|
3866
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}`, {
|
|
3867
|
+
...opts,
|
|
3868
|
+
method: "DELETE",
|
|
3869
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3870
|
+
authorization,
|
|
3871
|
+
"x-account-id": xAccountId,
|
|
3872
|
+
"x-member-id": xMemberId,
|
|
3873
|
+
"x-username": xUsername
|
|
3874
|
+
})
|
|
3875
|
+
}));
|
|
3876
|
+
}
|
|
3877
|
+
/**
|
|
3878
|
+
* Update Review Comment
|
|
3879
|
+
*/
|
|
3880
|
+
export function updateReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdPatch({ resourceSlug, resourceTypeSlug, reviewId, answerId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
|
|
3881
|
+
resourceSlug: string;
|
|
3882
|
+
resourceTypeSlug: string;
|
|
3883
|
+
reviewId: string;
|
|
3884
|
+
answerId: string;
|
|
3885
|
+
authorization: string;
|
|
3886
|
+
xAccountId?: string | null;
|
|
3887
|
+
xMemberId?: string | null;
|
|
3888
|
+
xUsername?: string | null;
|
|
3889
|
+
reviewAnswer: ReviewAnswer;
|
|
3890
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3891
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3892
|
+
status: 200;
|
|
3893
|
+
data: any;
|
|
3894
|
+
} | {
|
|
3895
|
+
status: 404;
|
|
3896
|
+
} | {
|
|
3897
|
+
status: 422;
|
|
3898
|
+
data: HttpValidationError;
|
|
3899
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}/answers/${encodeURIComponent(answerId)}`, oazapfts.json({
|
|
3900
|
+
...opts,
|
|
3901
|
+
method: "PATCH",
|
|
3902
|
+
body: reviewAnswer,
|
|
3903
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3904
|
+
authorization,
|
|
3905
|
+
"x-account-id": xAccountId,
|
|
3906
|
+
"x-member-id": xMemberId,
|
|
3907
|
+
"x-username": xUsername
|
|
3908
|
+
})
|
|
3909
|
+
})));
|
|
3910
|
+
}
|
|
3911
|
+
/**
|
|
3912
|
+
* Delete Review Comment
|
|
3913
|
+
*/
|
|
3914
|
+
export function deleteReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdDelete({ resourceSlug, resourceTypeSlug, reviewId, answerId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3915
|
+
resourceSlug: string;
|
|
3916
|
+
resourceTypeSlug: string;
|
|
3917
|
+
reviewId: string;
|
|
3918
|
+
answerId: string;
|
|
3919
|
+
authorization: string;
|
|
3920
|
+
xAccountId?: string | null;
|
|
3921
|
+
xMemberId?: string | null;
|
|
3922
|
+
xUsername?: string | null;
|
|
3923
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3924
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3925
|
+
status: 200;
|
|
3926
|
+
data: any;
|
|
3927
|
+
} | {
|
|
3928
|
+
status: 404;
|
|
3929
|
+
} | {
|
|
3930
|
+
status: 422;
|
|
3931
|
+
data: HttpValidationError;
|
|
3932
|
+
}>(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}/answers/${encodeURIComponent(answerId)}`, {
|
|
3933
|
+
...opts,
|
|
3934
|
+
method: "DELETE",
|
|
3935
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3936
|
+
authorization,
|
|
3937
|
+
"x-account-id": xAccountId,
|
|
3938
|
+
"x-member-id": xMemberId,
|
|
3939
|
+
"x-username": xUsername
|
|
3940
|
+
})
|
|
3476
3941
|
}));
|
|
3477
3942
|
}
|
|
3478
3943
|
/**
|
|
@@ -3593,3 +4058,47 @@ export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId,
|
|
|
3593
4058
|
})
|
|
3594
4059
|
})));
|
|
3595
4060
|
}
|
|
4061
|
+
/**
|
|
4062
|
+
* List All
|
|
4063
|
+
*/
|
|
4064
|
+
export function listAllV3QuickCommandsGet({ name, slug, size, page, visibilityList, order, isRemote, types, authorization, xAccountId, xMemberId, xUsername }: {
|
|
4065
|
+
name?: string | null;
|
|
4066
|
+
slug?: string | null;
|
|
4067
|
+
size?: number;
|
|
4068
|
+
page?: number;
|
|
4069
|
+
visibilityList?: VisibilityLevelEnum[] | null;
|
|
4070
|
+
order?: OrderEnum | null;
|
|
4071
|
+
isRemote?: boolean;
|
|
4072
|
+
types?: QuickCommandTypeRequest[] | null;
|
|
4073
|
+
authorization: string;
|
|
4074
|
+
xAccountId?: string | null;
|
|
4075
|
+
xMemberId?: string | null;
|
|
4076
|
+
xUsername?: string | null;
|
|
4077
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
4078
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
4079
|
+
status: 200;
|
|
4080
|
+
data: PaginatedResponseQuickCommandListResponseV3;
|
|
4081
|
+
} | {
|
|
4082
|
+
status: 404;
|
|
4083
|
+
} | {
|
|
4084
|
+
status: 422;
|
|
4085
|
+
data: HttpValidationError;
|
|
4086
|
+
}>(`/v3/quick-commands${QS.query(QS.explode({
|
|
4087
|
+
name,
|
|
4088
|
+
slug,
|
|
4089
|
+
size,
|
|
4090
|
+
page,
|
|
4091
|
+
visibility_list: visibilityList,
|
|
4092
|
+
order,
|
|
4093
|
+
is_remote: isRemote,
|
|
4094
|
+
types
|
|
4095
|
+
}))}`, {
|
|
4096
|
+
...opts,
|
|
4097
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
4098
|
+
authorization,
|
|
4099
|
+
"x-account-id": xAccountId,
|
|
4100
|
+
"x-member-id": xMemberId,
|
|
4101
|
+
"x-username": xUsername
|
|
4102
|
+
})
|
|
4103
|
+
}));
|
|
4104
|
+
}
|