@stack-spot/portal-network 0.201.0 → 0.202.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 +220 -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 +295 -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 +134 -24
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +80 -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-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 +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 +35 -9
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.d.ts +149 -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/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 +11 -3
- package/dist/client/types.d.ts.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 +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 +579 -163
- package/src/api/accountAssetManager.ts +755 -0
- package/src/api/agent-tools.ts +201 -152
- 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-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 +28 -11
- 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/secrets.ts +1 -1
- package/src/client/types.ts +12 -3
- 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
|
@@ -546,6 +546,7 @@ export type QuickCommandsStepScriptResponse = {
|
|
|
546
546
|
"type": QuickCommandStepType;
|
|
547
547
|
script: string;
|
|
548
548
|
use_uploaded_files: boolean;
|
|
549
|
+
next_step_slug?: string | null;
|
|
549
550
|
};
|
|
550
551
|
export type CustomInputResponse = {
|
|
551
552
|
slug: string;
|
|
@@ -608,6 +609,7 @@ export type QuickCommandScriptExecutionResponse = {
|
|
|
608
609
|
[key: string]: any;
|
|
609
610
|
} | null;
|
|
610
611
|
logs?: string | null;
|
|
612
|
+
started?: string | null;
|
|
611
613
|
};
|
|
612
614
|
export type QuickCommandStepResult = QuickCommandPromptResponse | QuickCommandFetchResponseResult | QuickCommandScriptExecutionResponse;
|
|
613
615
|
export type QuickCommandsExecutionRequest = {
|
|
@@ -694,11 +696,20 @@ export type StepRouter = {
|
|
|
694
696
|
condition?: ConditionExpr2 | null;
|
|
695
697
|
"default"?: boolean;
|
|
696
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
|
+
};
|
|
697
708
|
export type Step = {
|
|
698
709
|
step_name: string;
|
|
699
710
|
execution_order: number;
|
|
700
711
|
"type": QuickCommandStepType;
|
|
701
|
-
step_result: StepFetch | StepLlm | StepRouter | null;
|
|
712
|
+
step_result: StepFetch | StepLlm | StepRouter | StepScript | null;
|
|
702
713
|
status?: string;
|
|
703
714
|
};
|
|
704
715
|
export type QuickCommandExecutionResponse = {
|
|
@@ -717,7 +728,9 @@ export type QuickCommandStartScriptRequest = {
|
|
|
717
728
|
input_data?: string | {
|
|
718
729
|
[key: string]: any;
|
|
719
730
|
} | null;
|
|
720
|
-
|
|
731
|
+
custom_inputs?: {
|
|
732
|
+
[key: string]: any;
|
|
733
|
+
} | null;
|
|
721
734
|
slugs_executions: {
|
|
722
735
|
[key: string]: QuickCommandStepResult;
|
|
723
736
|
} | null;
|
|
@@ -735,6 +748,7 @@ export type ConversationHistoryResponse = {
|
|
|
735
748
|
[key: string]: any;
|
|
736
749
|
} | null;
|
|
737
750
|
updated: string;
|
|
751
|
+
agent_info?: any[] | null;
|
|
738
752
|
};
|
|
739
753
|
export type ConversationResponse = {
|
|
740
754
|
id: string;
|
|
@@ -773,8 +787,38 @@ export type DependencyResponse = {
|
|
|
773
787
|
delete_contents?: ContentDependencyResponse[] | null;
|
|
774
788
|
missing_list?: ContentDependencyResponse[] | null;
|
|
775
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
|
+
};
|
|
776
821
|
export type SortDirection = "ASC" | "DESC";
|
|
777
|
-
export type FilterMode = "MATCH" | "CONTAINS" | "IN";
|
|
778
822
|
export type ReviewAnswers = {
|
|
779
823
|
id: string;
|
|
780
824
|
memberId: string;
|
|
@@ -838,6 +882,26 @@ export type ChatResponse3 = {
|
|
|
838
882
|
sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile3)[];
|
|
839
883
|
message_id: string | null;
|
|
840
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
|
+
};
|
|
841
905
|
/**
|
|
842
906
|
* Metrics
|
|
843
907
|
*/
|
|
@@ -3107,9 +3171,13 @@ export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDel
|
|
|
3107
3171
|
/**
|
|
3108
3172
|
* Create Execution
|
|
3109
3173
|
*/
|
|
3110
|
-
export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, quickCommandCreateRequest }: {
|
|
3174
|
+
export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, xUsername, quickCommandCreateRequest }: {
|
|
3111
3175
|
slug: string;
|
|
3112
3176
|
conversationId?: string | null;
|
|
3177
|
+
authorization: string;
|
|
3178
|
+
xAccountId?: string | null;
|
|
3179
|
+
xMemberId?: string | null;
|
|
3180
|
+
xUsername?: string | null;
|
|
3113
3181
|
quickCommandCreateRequest?: QuickCommandCreateRequest;
|
|
3114
3182
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3115
3183
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -3125,7 +3193,13 @@ export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, co
|
|
|
3125
3193
|
}))}`, oazapfts.json({
|
|
3126
3194
|
...opts,
|
|
3127
3195
|
method: "POST",
|
|
3128
|
-
body: quickCommandCreateRequest
|
|
3196
|
+
body: quickCommandCreateRequest,
|
|
3197
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3198
|
+
authorization,
|
|
3199
|
+
"x-account-id": xAccountId,
|
|
3200
|
+
"x-member-id": xMemberId,
|
|
3201
|
+
"x-username": xUsername
|
|
3202
|
+
})
|
|
3129
3203
|
})));
|
|
3130
3204
|
}
|
|
3131
3205
|
/**
|
|
@@ -3161,8 +3235,12 @@ export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, auth
|
|
|
3161
3235
|
/**
|
|
3162
3236
|
* Callback
|
|
3163
3237
|
*/
|
|
3164
|
-
export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId }: {
|
|
3238
|
+
export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3165
3239
|
executionId: string;
|
|
3240
|
+
authorization: string;
|
|
3241
|
+
xAccountId?: string | null;
|
|
3242
|
+
xMemberId?: string | null;
|
|
3243
|
+
xUsername?: string | null;
|
|
3166
3244
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3167
3245
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3168
3246
|
status: 200;
|
|
@@ -3173,7 +3251,13 @@ export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId }: {
|
|
|
3173
3251
|
status: 422;
|
|
3174
3252
|
data: HttpValidationError;
|
|
3175
3253
|
}>(`/v1/quick-commands/callback/${encodeURIComponent(executionId)}`, {
|
|
3176
|
-
...opts
|
|
3254
|
+
...opts,
|
|
3255
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3256
|
+
authorization,
|
|
3257
|
+
"x-account-id": xAccountId,
|
|
3258
|
+
"x-member-id": xMemberId,
|
|
3259
|
+
"x-username": xUsername
|
|
3260
|
+
})
|
|
3177
3261
|
}));
|
|
3178
3262
|
}
|
|
3179
3263
|
/**
|
|
@@ -3211,9 +3295,13 @@ export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug,
|
|
|
3211
3295
|
/**
|
|
3212
3296
|
* Starts the execution of a step with a user defined script
|
|
3213
3297
|
*/
|
|
3214
|
-
export function startScriptStepV1QuickCommandsSlugStepsStepSlugStartScriptPost({ slug, stepSlug, quickCommandStartScriptRequest }: {
|
|
3298
|
+
export function startScriptStepV1QuickCommandsSlugStepsStepSlugStartScriptPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandStartScriptRequest }: {
|
|
3215
3299
|
slug: string;
|
|
3216
3300
|
stepSlug: string;
|
|
3301
|
+
authorization: string;
|
|
3302
|
+
xAccountId?: string | null;
|
|
3303
|
+
xMemberId?: string | null;
|
|
3304
|
+
xUsername?: string | null;
|
|
3217
3305
|
quickCommandStartScriptRequest: QuickCommandStartScriptRequest;
|
|
3218
3306
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3219
3307
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -3227,14 +3315,24 @@ export function startScriptStepV1QuickCommandsSlugStepsStepSlugStartScriptPost({
|
|
|
3227
3315
|
}>(`/v1/quick-commands/${encodeURIComponent(slug)}/steps/${encodeURIComponent(stepSlug)}/start-script`, oazapfts.json({
|
|
3228
3316
|
...opts,
|
|
3229
3317
|
method: "POST",
|
|
3230
|
-
body: quickCommandStartScriptRequest
|
|
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
|
+
})
|
|
3231
3325
|
})));
|
|
3232
3326
|
}
|
|
3233
3327
|
/**
|
|
3234
3328
|
* Get the status of a script execution step
|
|
3235
3329
|
*/
|
|
3236
|
-
export function getScriptExecutionStatusV1QuickCommandsScriptExecutionsScriptExecutionIdGet({ scriptExecutionId }: {
|
|
3330
|
+
export function getScriptExecutionStatusV1QuickCommandsScriptExecutionsScriptExecutionIdGet({ scriptExecutionId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3237
3331
|
scriptExecutionId: string;
|
|
3332
|
+
authorization: string;
|
|
3333
|
+
xAccountId?: string | null;
|
|
3334
|
+
xMemberId?: string | null;
|
|
3335
|
+
xUsername?: string | null;
|
|
3238
3336
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3239
3337
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3240
3338
|
status: 200;
|
|
@@ -3245,7 +3343,13 @@ export function getScriptExecutionStatusV1QuickCommandsScriptExecutionsScriptExe
|
|
|
3245
3343
|
status: 422;
|
|
3246
3344
|
data: HttpValidationError;
|
|
3247
3345
|
}>(`/v1/quick-commands/script-executions/${encodeURIComponent(scriptExecutionId)}`, {
|
|
3248
|
-
...opts
|
|
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
|
+
})
|
|
3249
3353
|
}));
|
|
3250
3354
|
}
|
|
3251
3355
|
/**
|
|
@@ -3534,14 +3638,18 @@ export function getContentDependenciesV1ContentContentTypeContentIdDependenciesG
|
|
|
3534
3638
|
/**
|
|
3535
3639
|
* Tokens Daily Usage
|
|
3536
3640
|
*/
|
|
3537
|
-
export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year,
|
|
3641
|
+
export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year, tokenType, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3538
3642
|
month: number;
|
|
3539
3643
|
year: number;
|
|
3540
|
-
|
|
3644
|
+
tokenType: TokenTypeEnum;
|
|
3645
|
+
authorization: string;
|
|
3646
|
+
xAccountId?: string | null;
|
|
3647
|
+
xMemberId?: string | null;
|
|
3648
|
+
xUsername?: string | null;
|
|
3541
3649
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3542
3650
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3543
3651
|
status: 200;
|
|
3544
|
-
data:
|
|
3652
|
+
data: AnalyticsTokensDailyUsageResponse;
|
|
3545
3653
|
} | {
|
|
3546
3654
|
status: 404;
|
|
3547
3655
|
} | {
|
|
@@ -3550,23 +3658,34 @@ export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year, ac
|
|
|
3550
3658
|
}>(`/v1/analytics/tokens/daily-usage${QS.query(QS.explode({
|
|
3551
3659
|
month,
|
|
3552
3660
|
year,
|
|
3553
|
-
|
|
3661
|
+
token_type: tokenType
|
|
3554
3662
|
}))}`, {
|
|
3555
|
-
...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
|
+
})
|
|
3556
3670
|
}));
|
|
3557
3671
|
}
|
|
3558
3672
|
/**
|
|
3559
3673
|
* Tokens By User
|
|
3560
3674
|
*/
|
|
3561
|
-
export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, page, pageSize }: {
|
|
3675
|
+
export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, tokenType, page, pageSize, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3562
3676
|
month: number;
|
|
3563
3677
|
year: number;
|
|
3678
|
+
tokenType: TokenTypeEnum;
|
|
3564
3679
|
page?: number;
|
|
3565
3680
|
pageSize?: number;
|
|
3681
|
+
authorization: string;
|
|
3682
|
+
xAccountId?: string | null;
|
|
3683
|
+
xMemberId?: string | null;
|
|
3684
|
+
xUsername?: string | null;
|
|
3566
3685
|
}, opts?: Oazapfts.RequestOpts) {
|
|
3567
3686
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3568
3687
|
status: 200;
|
|
3569
|
-
data:
|
|
3688
|
+
data: AnalyticsTokensRankingUsersResponsePaginated;
|
|
3570
3689
|
} | {
|
|
3571
3690
|
status: 404;
|
|
3572
3691
|
} | {
|
|
@@ -3575,28 +3694,29 @@ export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, page, page
|
|
|
3575
3694
|
}>(`/v1/analytics/tokens/by-user${QS.query(QS.explode({
|
|
3576
3695
|
month,
|
|
3577
3696
|
year,
|
|
3697
|
+
token_type: tokenType,
|
|
3578
3698
|
page,
|
|
3579
3699
|
page_size: pageSize
|
|
3580
3700
|
}))}`, {
|
|
3581
|
-
...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
|
+
})
|
|
3582
3708
|
}));
|
|
3583
3709
|
}
|
|
3584
3710
|
/**
|
|
3585
3711
|
* Get Reviews By Resource
|
|
3586
3712
|
*/
|
|
3587
|
-
export function getReviewsByResourceV1ResourcesResourceTypeSlugResourceSlugReviewsGet({ resourceSlug, resourceTypeSlug, size, page, sort, direction,
|
|
3713
|
+
export function getReviewsByResourceV1ResourcesResourceTypeSlugResourceSlugReviewsGet({ resourceSlug, resourceTypeSlug, size, page, sort, direction, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3588
3714
|
resourceSlug: string;
|
|
3589
3715
|
resourceTypeSlug: string;
|
|
3590
3716
|
size?: number | null;
|
|
3591
3717
|
page?: number | null;
|
|
3592
3718
|
sort?: string | null;
|
|
3593
3719
|
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
3720
|
authorization: string;
|
|
3601
3721
|
xAccountId?: string | null;
|
|
3602
3722
|
xMemberId?: string | null;
|
|
@@ -3614,13 +3734,7 @@ export function getReviewsByResourceV1ResourcesResourceTypeSlugResourceSlugRevie
|
|
|
3614
3734
|
size,
|
|
3615
3735
|
page,
|
|
3616
3736
|
sort,
|
|
3617
|
-
direction
|
|
3618
|
-
search,
|
|
3619
|
-
filterMode,
|
|
3620
|
-
filterBy,
|
|
3621
|
-
filterValue,
|
|
3622
|
-
multiFilterMode,
|
|
3623
|
-
filterIn
|
|
3737
|
+
direction
|
|
3624
3738
|
}))}`, {
|
|
3625
3739
|
...opts,
|
|
3626
3740
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
@@ -3666,7 +3780,9 @@ export function createResourceReviewV1ResourcesResourceTypeSlugResourceSlugRevie
|
|
|
3666
3780
|
/**
|
|
3667
3781
|
* Create Answer For Review
|
|
3668
3782
|
*/
|
|
3669
|
-
export function createAnswerForReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersPost({ reviewId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
|
|
3783
|
+
export function createAnswerForReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersPost({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
|
|
3784
|
+
resourceSlug: string;
|
|
3785
|
+
resourceTypeSlug: string;
|
|
3670
3786
|
reviewId: string;
|
|
3671
3787
|
authorization: string;
|
|
3672
3788
|
xAccountId?: string | null;
|
|
@@ -3697,7 +3813,9 @@ export function createAnswerForReviewV1ResourcesResourceTypeSlugResourceSlugRevi
|
|
|
3697
3813
|
/**
|
|
3698
3814
|
* Update Resource Review
|
|
3699
3815
|
*/
|
|
3700
|
-
export function updateResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdPatch({ reviewId, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }: {
|
|
3816
|
+
export function updateResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdPatch({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }: {
|
|
3817
|
+
resourceSlug: string;
|
|
3818
|
+
resourceTypeSlug: string;
|
|
3701
3819
|
reviewId: string;
|
|
3702
3820
|
authorization: string;
|
|
3703
3821
|
xAccountId?: string | null;
|
|
@@ -3728,7 +3846,9 @@ export function updateResourceReviewV1ResourcesResourceTypeSlugResourceSlugRevie
|
|
|
3728
3846
|
/**
|
|
3729
3847
|
* Delete Resource Review
|
|
3730
3848
|
*/
|
|
3731
|
-
export function deleteResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdDelete({ reviewId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3849
|
+
export function deleteResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdDelete({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3850
|
+
resourceSlug: string;
|
|
3851
|
+
resourceTypeSlug: string;
|
|
3732
3852
|
reviewId: string;
|
|
3733
3853
|
authorization: string;
|
|
3734
3854
|
xAccountId?: string | null;
|
|
@@ -3757,7 +3877,9 @@ export function deleteResourceReviewV1ResourcesResourceTypeSlugResourceSlugRevie
|
|
|
3757
3877
|
/**
|
|
3758
3878
|
* Update Review Comment
|
|
3759
3879
|
*/
|
|
3760
|
-
export function updateReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdPatch({ reviewId, answerId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
|
|
3880
|
+
export function updateReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdPatch({ resourceSlug, resourceTypeSlug, reviewId, answerId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }: {
|
|
3881
|
+
resourceSlug: string;
|
|
3882
|
+
resourceTypeSlug: string;
|
|
3761
3883
|
reviewId: string;
|
|
3762
3884
|
answerId: string;
|
|
3763
3885
|
authorization: string;
|
|
@@ -3789,7 +3911,9 @@ export function updateReviewCommentV1ResourcesResourceTypeSlugResourceSlugReview
|
|
|
3789
3911
|
/**
|
|
3790
3912
|
* Delete Review Comment
|
|
3791
3913
|
*/
|
|
3792
|
-
export function deleteReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdDelete({ reviewId, answerId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3914
|
+
export function deleteReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdDelete({ resourceSlug, resourceTypeSlug, reviewId, answerId, authorization, xAccountId, xMemberId, xUsername }: {
|
|
3915
|
+
resourceSlug: string;
|
|
3916
|
+
resourceTypeSlug: string;
|
|
3793
3917
|
reviewId: string;
|
|
3794
3918
|
answerId: string;
|
|
3795
3919
|
authorization: string;
|
|
@@ -3934,3 +4058,47 @@ export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId,
|
|
|
3934
4058
|
})
|
|
3935
4059
|
})));
|
|
3936
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
|
+
}
|