@stack-spot/portal-network 0.202.0 → 0.203.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 +254 -0
- package/dist/api/account.d.ts +344 -91
- 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 +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 +623 -141
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +168 -45
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/ai.d.ts +135 -24
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +79 -26
- package/dist/api/ai.js.map +1 -1
- package/dist/api/codeShift.d.ts +127 -9
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +73 -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/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-addresses.d.ts +13 -20
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +60 -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 +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 +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 +108 -3
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +95 -10
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.d.ts +148 -1
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +149 -17
- package/dist/client/ai.js.map +1 -1
- package/dist/client/code-shift.d.ts +54 -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/types.d.ts +11 -3
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workspace-ai.d.ts +13 -3
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +17 -3
- package/dist/client/workspace-ai.js.map +1 -1
- 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 +12 -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 +2 -2
- package/readme.md +39 -1
- package/src/api/account.ts +592 -165
- package/src/api/accountAssetManager.ts +771 -0
- package/src/api/agent-tools.ts +824 -188
- package/src/api/ai.ts +206 -38
- package/src/api/codeShift.ts +233 -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/workspace-ai.ts +83 -0
- package/src/api-addresses.ts +93 -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 +64 -16
- package/src/client/ai.ts +129 -19
- 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/types.ts +12 -3
- package/src/client/workspace-ai.ts +21 -6
- 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 +13 -4
- package/src/network/types.ts +1 -0
package/src/api/ai.ts
CHANGED
|
@@ -384,6 +384,7 @@ export type QuickCommandsStepPromptRequest = {
|
|
|
384
384
|
allow_use_current_workspace?: boolean;
|
|
385
385
|
knowledge_source_slugs?: string[] | null;
|
|
386
386
|
agent_id?: string | null;
|
|
387
|
+
agent_version_number?: number | null;
|
|
387
388
|
use_uploaded_files?: boolean;
|
|
388
389
|
agent_built_in?: boolean | null;
|
|
389
390
|
next_step_slug?: string | null;
|
|
@@ -546,6 +547,7 @@ export type QuickCommandsStepScriptResponse = {
|
|
|
546
547
|
"type": QuickCommandStepType;
|
|
547
548
|
script: string;
|
|
548
549
|
use_uploaded_files: boolean;
|
|
550
|
+
next_step_slug?: string | null;
|
|
549
551
|
};
|
|
550
552
|
export type CustomInputResponse = {
|
|
551
553
|
slug: string;
|
|
@@ -608,6 +610,7 @@ export type QuickCommandScriptExecutionResponse = {
|
|
|
608
610
|
[key: string]: any;
|
|
609
611
|
} | null;
|
|
610
612
|
logs?: string | null;
|
|
613
|
+
started?: string | null;
|
|
611
614
|
};
|
|
612
615
|
export type QuickCommandStepResult = QuickCommandPromptResponse | QuickCommandFetchResponseResult | QuickCommandScriptExecutionResponse;
|
|
613
616
|
export type QuickCommandsExecutionRequest = {
|
|
@@ -694,11 +697,20 @@ export type StepRouter = {
|
|
|
694
697
|
condition?: ConditionExpr2 | null;
|
|
695
698
|
"default"?: boolean;
|
|
696
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
|
+
};
|
|
697
709
|
export type Step = {
|
|
698
710
|
step_name: string;
|
|
699
711
|
execution_order: number;
|
|
700
712
|
"type": QuickCommandStepType;
|
|
701
|
-
step_result: StepFetch | StepLlm | StepRouter | null;
|
|
713
|
+
step_result: StepFetch | StepLlm | StepRouter | StepScript | null;
|
|
702
714
|
status?: string;
|
|
703
715
|
};
|
|
704
716
|
export type QuickCommandExecutionResponse = {
|
|
@@ -717,7 +729,9 @@ export type QuickCommandStartScriptRequest = {
|
|
|
717
729
|
input_data?: string | {
|
|
718
730
|
[key: string]: any;
|
|
719
731
|
} | null;
|
|
720
|
-
|
|
732
|
+
custom_inputs?: {
|
|
733
|
+
[key: string]: any;
|
|
734
|
+
} | null;
|
|
721
735
|
slugs_executions: {
|
|
722
736
|
[key: string]: QuickCommandStepResult;
|
|
723
737
|
} | null;
|
|
@@ -735,6 +749,7 @@ export type ConversationHistoryResponse = {
|
|
|
735
749
|
[key: string]: any;
|
|
736
750
|
} | null;
|
|
737
751
|
updated: string;
|
|
752
|
+
agent_info?: any[] | null;
|
|
738
753
|
};
|
|
739
754
|
export type ConversationResponse = {
|
|
740
755
|
id: string;
|
|
@@ -773,8 +788,38 @@ export type DependencyResponse = {
|
|
|
773
788
|
delete_contents?: ContentDependencyResponse[] | null;
|
|
774
789
|
missing_list?: ContentDependencyResponse[] | null;
|
|
775
790
|
};
|
|
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
|
+
};
|
|
776
822
|
export type SortDirection = "ASC" | "DESC";
|
|
777
|
-
export type FilterMode = "MATCH" | "CONTAINS" | "IN";
|
|
778
823
|
export type ReviewAnswers = {
|
|
779
824
|
id: string;
|
|
780
825
|
memberId: string;
|
|
@@ -827,6 +872,7 @@ export type ChatRequest = {
|
|
|
827
872
|
} | null;
|
|
828
873
|
user_prompt: string;
|
|
829
874
|
project_id?: string | null;
|
|
875
|
+
agent_version_number?: number | null;
|
|
830
876
|
};
|
|
831
877
|
export type SourceProjectFile3 = {
|
|
832
878
|
"type": "project_file";
|
|
@@ -838,6 +884,26 @@ export type ChatResponse3 = {
|
|
|
838
884
|
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
|
|
839
885
|
message_id: string | null;
|
|
840
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
|
+
};
|
|
841
907
|
/**
|
|
842
908
|
* Metrics
|
|
843
909
|
*/
|
|
@@ -3107,9 +3173,13 @@ export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDel
|
|
|
3107
3173
|
/**
|
|
3108
3174
|
* Create Execution
|
|
3109
3175
|
*/
|
|
3110
|
-
export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, quickCommandCreateRequest }: {
|
|
3176
|
+
export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, xUsername, quickCommandCreateRequest }: {
|
|
3111
3177
|
slug: string;
|
|
3112
3178
|
conversationId?: string | null;
|
|
3179
|
+
authorization: string;
|
|
3180
|
+
xAccountId?: string | null;
|
|
3181
|
+
xMemberId?: string | null;
|
|
3182
|
+
xUsername?: string | null;
|
|
3113
3183
|
quickCommandCreateRequest?: QuickCommandCreateRequest;
|
|
3114
3184
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3115
3185
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -3125,7 +3195,13 @@ export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, co
|
|
|
3125
3195
|
}))}`, oazapfts.json({
|
|
3126
3196
|
...opts,
|
|
3127
3197
|
method: "POST",
|
|
3128
|
-
body: quickCommandCreateRequest
|
|
3198
|
+
body: quickCommandCreateRequest,
|
|
3199
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3200
|
+
authorization,
|
|
3201
|
+
"x-account-id": xAccountId,
|
|
3202
|
+
"x-member-id": xMemberId,
|
|
3203
|
+
"x-username": xUsername
|
|
3204
|
+
})
|
|
3129
3205
|
})));
|
|
3130
3206
|
}
|
|
3131
3207
|
/**
|
|
@@ -3161,8 +3237,12 @@ export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, auth
|
|
|
3161
3237
|
/**
|
|
3162
3238
|
* Callback
|
|
3163
3239
|
*/
|
|
3164
|
-
export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId }: {
|
|
3240
|
+
export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3165
3241
|
executionId: string;
|
|
3242
|
+
authorization: string;
|
|
3243
|
+
xAccountId?: string | null;
|
|
3244
|
+
xMemberId?: string | null;
|
|
3245
|
+
xUsername?: string | null;
|
|
3166
3246
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3167
3247
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3168
3248
|
status: 200;
|
|
@@ -3173,7 +3253,13 @@ export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId }: {
|
|
|
3173
3253
|
status: 422;
|
|
3174
3254
|
data: HttpValidationError;
|
|
3175
3255
|
}>(`/v1/quick-commands/callback/${encodeURIComponent(executionId)}`, {
|
|
3176
|
-
...opts
|
|
3256
|
+
...opts,
|
|
3257
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3258
|
+
authorization,
|
|
3259
|
+
"x-account-id": xAccountId,
|
|
3260
|
+
"x-member-id": xMemberId,
|
|
3261
|
+
"x-username": xUsername
|
|
3262
|
+
})
|
|
3177
3263
|
}));
|
|
3178
3264
|
}
|
|
3179
3265
|
/**
|
|
@@ -3211,9 +3297,13 @@ export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug,
|
|
|
3211
3297
|
/**
|
|
3212
3298
|
* Starts the execution of a step with a user defined script
|
|
3213
3299
|
*/
|
|
3214
|
-
export function startScriptStepV1QuickCommandsSlugStepsStepSlugStartScriptPost({ slug, stepSlug, quickCommandStartScriptRequest }: {
|
|
3300
|
+
export function startScriptStepV1QuickCommandsSlugStepsStepSlugStartScriptPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandStartScriptRequest }: {
|
|
3215
3301
|
slug: string;
|
|
3216
3302
|
stepSlug: string;
|
|
3303
|
+
authorization: string;
|
|
3304
|
+
xAccountId?: string | null;
|
|
3305
|
+
xMemberId?: string | null;
|
|
3306
|
+
xUsername?: string | null;
|
|
3217
3307
|
quickCommandStartScriptRequest: QuickCommandStartScriptRequest;
|
|
3218
3308
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3219
3309
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -3227,14 +3317,24 @@ export function startScriptStepV1QuickCommandsSlugStepsStepSlugStartScriptPost({
|
|
|
3227
3317
|
}>(`/v1/quick-commands/${encodeURIComponent(slug)}/steps/${encodeURIComponent(stepSlug)}/start-script`, oazapfts.json({
|
|
3228
3318
|
...opts,
|
|
3229
3319
|
method: "POST",
|
|
3230
|
-
body: quickCommandStartScriptRequest
|
|
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
|
|
3326
|
+
})
|
|
3231
3327
|
})));
|
|
3232
3328
|
}
|
|
3233
3329
|
/**
|
|
3234
3330
|
* Get the status of a script execution step
|
|
3235
3331
|
*/
|
|
3236
|
-
export function getScriptExecutionStatusV1QuickCommandsScriptExecutionsScriptExecutionIdGet({ scriptExecutionId }: {
|
|
3332
|
+
export function getScriptExecutionStatusV1QuickCommandsScriptExecutionsScriptExecutionIdGet({ scriptExecutionId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3237
3333
|
scriptExecutionId: string;
|
|
3334
|
+
authorization: string;
|
|
3335
|
+
xAccountId?: string | null;
|
|
3336
|
+
xMemberId?: string | null;
|
|
3337
|
+
xUsername?: string | null;
|
|
3238
3338
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3239
3339
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3240
3340
|
status: 200;
|
|
@@ -3245,7 +3345,13 @@ export function getScriptExecutionStatusV1QuickCommandsScriptExecutionsScriptExe
|
|
|
3245
3345
|
status: 422;
|
|
3246
3346
|
data: HttpValidationError;
|
|
3247
3347
|
}>(`/v1/quick-commands/script-executions/${encodeURIComponent(scriptExecutionId)}`, {
|
|
3248
|
-
...opts
|
|
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
|
+
})
|
|
3249
3355
|
}));
|
|
3250
3356
|
}
|
|
3251
3357
|
/**
|
|
@@ -3534,14 +3640,18 @@ export function getContentDependenciesV1ContentContentTypeContentIdDependenciesG
|
|
|
3534
3640
|
/**
|
|
3535
3641
|
* Tokens Daily Usage
|
|
3536
3642
|
*/
|
|
3537
|
-
export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year,
|
|
3643
|
+
export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year, tokenType, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3538
3644
|
month: number;
|
|
3539
3645
|
year: number;
|
|
3540
|
-
|
|
3646
|
+
tokenType: TokenTypeEnum;
|
|
3647
|
+
authorization: string;
|
|
3648
|
+
xAccountId?: string | null;
|
|
3649
|
+
xMemberId?: string | null;
|
|
3650
|
+
xUsername?: string | null;
|
|
3541
3651
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3542
3652
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3543
3653
|
status: 200;
|
|
3544
|
-
data:
|
|
3654
|
+
data: AnalyticsTokensDailyUsageResponse;
|
|
3545
3655
|
} | {
|
|
3546
3656
|
status: 404;
|
|
3547
3657
|
} | {
|
|
@@ -3550,23 +3660,34 @@ export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year, ac
|
|
|
3550
3660
|
}>(`/v1/analytics/tokens/daily-usage${QS.query(QS.explode({
|
|
3551
3661
|
month,
|
|
3552
3662
|
year,
|
|
3553
|
-
|
|
3663
|
+
token_type: tokenType
|
|
3554
3664
|
}))}`, {
|
|
3555
|
-
...opts
|
|
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
|
+
})
|
|
3556
3672
|
}));
|
|
3557
3673
|
}
|
|
3558
3674
|
/**
|
|
3559
3675
|
* Tokens By User
|
|
3560
3676
|
*/
|
|
3561
|
-
export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, page, pageSize }: {
|
|
3677
|
+
export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, tokenType, page, pageSize, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3562
3678
|
month: number;
|
|
3563
3679
|
year: number;
|
|
3680
|
+
tokenType: TokenTypeEnum;
|
|
3564
3681
|
page?: number;
|
|
3565
3682
|
pageSize?: number;
|
|
3683
|
+
authorization: string;
|
|
3684
|
+
xAccountId?: string | null;
|
|
3685
|
+
xMemberId?: string | null;
|
|
3686
|
+
xUsername?: string | null;
|
|
3566
3687
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3567
3688
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3568
3689
|
status: 200;
|
|
3569
|
-
data:
|
|
3690
|
+
data: AnalyticsTokensRankingUsersResponsePaginated;
|
|
3570
3691
|
} | {
|
|
3571
3692
|
status: 404;
|
|
3572
3693
|
} | {
|
|
@@ -3575,28 +3696,29 @@ export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, page, page
|
|
|
3575
3696
|
}>(`/v1/analytics/tokens/by-user${QS.query(QS.explode({
|
|
3576
3697
|
month,
|
|
3577
3698
|
year,
|
|
3699
|
+
token_type: tokenType,
|
|
3578
3700
|
page,
|
|
3579
3701
|
page_size: pageSize
|
|
3580
3702
|
}))}`, {
|
|
3581
|
-
...opts
|
|
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
|
+
})
|
|
3582
3710
|
}));
|
|
3583
3711
|
}
|
|
3584
3712
|
/**
|
|
3585
3713
|
* Get Reviews By Resource
|
|
3586
3714
|
*/
|
|
3587
|
-
export function getReviewsByResourceV1ResourcesResourceTypeSlugResourceSlugReviewsGet({ resourceSlug, resourceTypeSlug, size, page, sort, direction,
|
|
3715
|
+
export function getReviewsByResourceV1ResourcesResourceTypeSlugResourceSlugReviewsGet({ resourceSlug, resourceTypeSlug, size, page, sort, direction, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3588
3716
|
resourceSlug: string;
|
|
3589
3717
|
resourceTypeSlug: string;
|
|
3590
3718
|
size?: number | null;
|
|
3591
3719
|
page?: number | null;
|
|
3592
3720
|
sort?: string | null;
|
|
3593
3721
|
direction?: SortDirection | null;
|
|
3594
|
-
search?: string | null;
|
|
3595
|
-
filterMode?: FilterMode | null;
|
|
3596
|
-
filterBy?: string | null;
|
|
3597
|
-
filterValue?: string | null;
|
|
3598
|
-
multiFilterMode?: string | null;
|
|
3599
|
-
filterIn?: string | null;
|
|
3600
3722
|
authorization: string;
|
|
3601
3723
|
xAccountId?: string | null;
|
|
3602
3724
|
xMemberId?: string | null;
|
|
@@ -3614,13 +3736,7 @@ export function getReviewsByResourceV1ResourcesResourceTypeSlugResourceSlugRevie
|
|
|
3614
3736
|
size,
|
|
3615
3737
|
page,
|
|
3616
3738
|
sort,
|
|
3617
|
-
direction
|
|
3618
|
-
search,
|
|
3619
|
-
filterMode,
|
|
3620
|
-
filterBy,
|
|
3621
|
-
filterValue,
|
|
3622
|
-
multiFilterMode,
|
|
3623
|
-
filterIn
|
|
3739
|
+
direction
|
|
3624
3740
|
}))}`, {
|
|
3625
3741
|
...opts,
|
|
3626
3742
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
@@ -3666,7 +3782,9 @@ export function createResourceReviewV1ResourcesResourceTypeSlugResourceSlugRevie
|
|
|
3666
3782
|
/**
|
|
3667
3783
|
* Create Answer For Review
|
|
3668
3784
|
*/
|
|
3669
|
-
export function createAnswerForReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersPost({ reviewId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
|
|
3785
|
+
export function createAnswerForReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersPost({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
|
|
3786
|
+
resourceSlug: string;
|
|
3787
|
+
resourceTypeSlug: string;
|
|
3670
3788
|
reviewId: string;
|
|
3671
3789
|
authorization: string;
|
|
3672
3790
|
xAccountId?: string | null;
|
|
@@ -3697,7 +3815,9 @@ export function createAnswerForReviewV1ResourcesResourceTypeSlugResourceSlugRevi
|
|
|
3697
3815
|
/**
|
|
3698
3816
|
* Update Resource Review
|
|
3699
3817
|
*/
|
|
3700
|
-
export function updateResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdPatch({ reviewId, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }: {
|
|
3818
|
+
export function updateResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdPatch({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }: {
|
|
3819
|
+
resourceSlug: string;
|
|
3820
|
+
resourceTypeSlug: string;
|
|
3701
3821
|
reviewId: string;
|
|
3702
3822
|
authorization: string;
|
|
3703
3823
|
xAccountId?: string | null;
|
|
@@ -3728,7 +3848,9 @@ export function updateResourceReviewV1ResourcesResourceTypeSlugResourceSlugRevie
|
|
|
3728
3848
|
/**
|
|
3729
3849
|
* Delete Resource Review
|
|
3730
3850
|
*/
|
|
3731
|
-
export function deleteResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdDelete({ reviewId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3851
|
+
export function deleteResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdDelete({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3852
|
+
resourceSlug: string;
|
|
3853
|
+
resourceTypeSlug: string;
|
|
3732
3854
|
reviewId: string;
|
|
3733
3855
|
authorization: string;
|
|
3734
3856
|
xAccountId?: string | null;
|
|
@@ -3757,7 +3879,9 @@ export function deleteResourceReviewV1ResourcesResourceTypeSlugResourceSlugRevie
|
|
|
3757
3879
|
/**
|
|
3758
3880
|
* Update Review Comment
|
|
3759
3881
|
*/
|
|
3760
|
-
export function updateReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdPatch({ reviewId, answerId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
|
|
3882
|
+
export function updateReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdPatch({ resourceSlug, resourceTypeSlug, reviewId, answerId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
|
|
3883
|
+
resourceSlug: string;
|
|
3884
|
+
resourceTypeSlug: string;
|
|
3761
3885
|
reviewId: string;
|
|
3762
3886
|
answerId: string;
|
|
3763
3887
|
authorization: string;
|
|
@@ -3789,7 +3913,9 @@ export function updateReviewCommentV1ResourcesResourceTypeSlugResourceSlugReview
|
|
|
3789
3913
|
/**
|
|
3790
3914
|
* Delete Review Comment
|
|
3791
3915
|
*/
|
|
3792
|
-
export function deleteReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdDelete({ reviewId, answerId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3916
|
+
export function deleteReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdDelete({ resourceSlug, resourceTypeSlug, reviewId, answerId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3917
|
+
resourceSlug: string;
|
|
3918
|
+
resourceTypeSlug: string;
|
|
3793
3919
|
reviewId: string;
|
|
3794
3920
|
answerId: string;
|
|
3795
3921
|
authorization: string;
|
|
@@ -3934,3 +4060,45 @@ export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId,
|
|
|
3934
4060
|
})
|
|
3935
4061
|
})));
|
|
3936
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
|
+
}
|