@stack-spot/portal-network 1.0.0-dev.1772020208864 → 1.0.0-dev.1772563094832

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/api/account.d.ts +56 -42
  3. package/dist/api/account.d.ts.map +1 -1
  4. package/dist/api/account.js +32 -12
  5. package/dist/api/account.js.map +1 -1
  6. package/dist/api/ai.d.ts +84 -8
  7. package/dist/api/ai.d.ts.map +1 -1
  8. package/dist/api/ai.js +68 -5
  9. package/dist/api/ai.js.map +1 -1
  10. package/dist/client/account.d.ts +17 -1
  11. package/dist/client/account.d.ts.map +1 -1
  12. package/dist/client/account.js +11 -2
  13. package/dist/client/account.js.map +1 -1
  14. package/dist/client/agent-tools.d.ts +1 -1
  15. package/dist/client/agent-tools.js +1 -1
  16. package/dist/client/ai.d.ts +29 -0
  17. package/dist/client/ai.d.ts.map +1 -1
  18. package/dist/client/ai.js +38 -7
  19. package/dist/client/ai.js.map +1 -1
  20. package/dist/client/cloud-platform.d.ts +2 -3
  21. package/dist/client/cloud-platform.d.ts.map +1 -1
  22. package/dist/client/cloud-platform.js +1 -2
  23. package/dist/client/cloud-platform.js.map +1 -1
  24. package/dist/client/discover.d.ts.map +1 -1
  25. package/dist/client/discover.js +4 -2
  26. package/dist/client/discover.js.map +1 -1
  27. package/dist/client/gen-ai-inference.d.ts.map +1 -1
  28. package/dist/client/gen-ai-inference.js +4 -2
  29. package/dist/client/gen-ai-inference.js.map +1 -1
  30. package/dist/client/types.d.ts +1 -1
  31. package/dist/client/types.d.ts.map +1 -1
  32. package/package.json +1 -1
  33. package/src/api/account.ts +103 -61
  34. package/src/api/ai.ts +165 -10
  35. package/src/client/account.ts +6 -1
  36. package/src/client/agent-tools.ts +1 -1
  37. package/src/client/ai.ts +58 -37
  38. package/src/client/cloud-platform.ts +1 -1
  39. package/src/client/discover.ts +4 -2
  40. package/src/client/gen-ai-inference.ts +4 -2
  41. package/src/client/types.ts +1 -1
@@ -672,22 +672,20 @@ export type PageResponseServiceCredentialResponseV3 = {
672
672
  export type Permissions = {
673
673
  /** Resource ID */
674
674
  resourceId: string;
675
- /** Action ID */
676
675
  actions: string[];
677
676
  };
678
677
  export type ServiceCredentialCreateRequestV3 = {
679
678
  /** Service credential name */
680
679
  name: string;
681
- /** Service credential expiration days */
682
- description: string;
680
+ /** Service credential description */
681
+ description?: string;
683
682
  /** Service credential expiration days */
684
683
  expirationDays?: number;
685
684
  /** Service credential token expiration minutes */
686
685
  tokenExpirationMinutes?: number;
687
- /** GroupId's */
688
- groups: string[];
686
+ groups?: string[];
689
687
  /** List of permissions */
690
- permissions: Permissions[];
688
+ permissions?: Permissions[];
691
689
  };
692
690
  export type ServiceCredentialIdResponseV3 = {
693
691
  /** Service Credential Id */
@@ -2146,6 +2144,35 @@ export type AccountPartnerAdminDataUpdateRequest = {
2146
2144
  /** Admin email */
2147
2145
  email: string;
2148
2146
  };
2147
+ export type ResourceTypeIdentifierRequest = {
2148
+ /** Slug of the resource type. */
2149
+ slug?: string;
2150
+ /** ID of the resource type. */
2151
+ id?: string;
2152
+ };
2153
+ export type DeleteResourceRequestV3 = {
2154
+ "type": ResourceTypeIdentifierRequest;
2155
+ /** Slug of the resource to be deleted */
2156
+ slug: string;
2157
+ };
2158
+ export type DeleteResourceResponseV3 = {
2159
+ /** Unique identifier of the resource. */
2160
+ id: string;
2161
+ /** Name of the resource. */
2162
+ name: string;
2163
+ /** Slug version of the resource name. */
2164
+ slug: string;
2165
+ /** Optional description of the resource. */
2166
+ description?: string;
2167
+ "type"?: ResourceTypeResponse;
2168
+ };
2169
+ export type PageDtoDeleteResourceResponseV3 = {
2170
+ items: DeleteResourceResponseV3[];
2171
+ size: number;
2172
+ totalElements: number;
2173
+ page: number;
2174
+ totalPages: number;
2175
+ };
2149
2176
  export type ResourceTypeActionResponse = {
2150
2177
  /** Unique identifier of the action. */
2151
2178
  id: string;
@@ -2588,35 +2615,6 @@ export type AccountPartnerResponse = {
2588
2615
  /** Account current status */
2589
2616
  isActive: boolean;
2590
2617
  };
2591
- export type ResourceTypeIdentifierRequest = {
2592
- /** Slug of the resource type. */
2593
- slug?: string;
2594
- /** ID of the resource type. */
2595
- id?: string;
2596
- };
2597
- export type DeleteResourceRequestV3 = {
2598
- "type": ResourceTypeIdentifierRequest;
2599
- /** Slug of the resource to be deleted */
2600
- slug: string;
2601
- };
2602
- export type DeleteResourceResponseV3 = {
2603
- /** Unique identifier of the resource. */
2604
- id: string;
2605
- /** Name of the resource. */
2606
- name: string;
2607
- /** Slug version of the resource name. */
2608
- slug: string;
2609
- /** Optional description of the resource. */
2610
- description?: string;
2611
- "type"?: ResourceTypeResponse;
2612
- };
2613
- export type PageDtoDeleteResourceResponseV3 = {
2614
- items: DeleteResourceResponseV3[];
2615
- size: number;
2616
- totalElements: number;
2617
- page: number;
2618
- totalPages: number;
2619
- };
2620
2618
  /**
2621
2619
  * Get service credential permissions
2622
2620
  */
@@ -7475,6 +7473,72 @@ export function updatePartnerAccountAdminData({ id, accountPartnerAdminDataUpdat
7475
7473
  body: accountPartnerAdminDataUpdateRequest
7476
7474
  })));
7477
7475
  }
7476
+ /**
7477
+ * Retrieve AI Resources
7478
+ */
7479
+ export function getAiResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
7480
+ size?: any;
7481
+ page?: any;
7482
+ sort?: string;
7483
+ direction?: "ASC" | "DESC";
7484
+ search?: string;
7485
+ filterMode?: "MATCH" | "CONTAINS" | "IN";
7486
+ filterBy?: string;
7487
+ filterValue?: string;
7488
+ multiFilterMode?: string;
7489
+ filterIn?: any;
7490
+ }, opts?: Oazapfts.RequestOpts) {
7491
+ return oazapfts.ok(oazapfts.fetchJson<{
7492
+ status: 200;
7493
+ data: PageResponseResourceResponse;
7494
+ } | {
7495
+ status: 403;
7496
+ data: ErrorResponse;
7497
+ } | {
7498
+ status: 422;
7499
+ data: ErrorResponse;
7500
+ } | {
7501
+ status: 500;
7502
+ data: ErrorResponse;
7503
+ }>(`/v3/resources${QS.query(QS.explode({
7504
+ size,
7505
+ page,
7506
+ sort,
7507
+ direction,
7508
+ search,
7509
+ filterMode,
7510
+ filterBy,
7511
+ filterValue,
7512
+ multiFilterMode,
7513
+ filterIn
7514
+ }))}`, {
7515
+ ...opts
7516
+ }));
7517
+ }
7518
+ /**
7519
+ * Deletes a resource from the account by resource type and resource slug.
7520
+ */
7521
+ export function deleteResource({ deleteResourceRequestV3 }: {
7522
+ deleteResourceRequestV3: DeleteResourceRequestV3;
7523
+ }, opts?: Oazapfts.RequestOpts) {
7524
+ return oazapfts.ok(oazapfts.fetchJson<{
7525
+ status: 200;
7526
+ data: PageDtoDeleteResourceResponseV3;
7527
+ } | {
7528
+ status: 403;
7529
+ data: ErrorResponse;
7530
+ } | {
7531
+ status: 422;
7532
+ data: ErrorResponse;
7533
+ } | {
7534
+ status: 500;
7535
+ data: ErrorResponse;
7536
+ }>("/v3/resources", oazapfts.json({
7537
+ ...opts,
7538
+ method: "DELETE",
7539
+ body: deleteResourceRequestV3
7540
+ })));
7541
+ }
7478
7542
  /**
7479
7543
  * Get Resource Types
7480
7544
  */
@@ -8541,7 +8605,7 @@ export function getResourceGroups1({ resourceId, size, page, sort, direction, se
8541
8605
  /**
8542
8606
  * Get Resource Types
8543
8607
  */
8544
- export function getResourceTypes2({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
8608
+ export function getResourceTypes2({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, aiResources }: {
8545
8609
  size?: any;
8546
8610
  page?: any;
8547
8611
  sort?: string;
@@ -8552,6 +8616,7 @@ export function getResourceTypes2({ size, page, sort, direction, search, filterM
8552
8616
  filterValue?: string;
8553
8617
  multiFilterMode?: string;
8554
8618
  filterIn?: any;
8619
+ aiResources?: boolean;
8555
8620
  }, opts?: Oazapfts.RequestOpts) {
8556
8621
  return oazapfts.ok(oazapfts.fetchJson<{
8557
8622
  status: 200;
@@ -8572,7 +8637,8 @@ export function getResourceTypes2({ size, page, sort, direction, search, filterM
8572
8637
  filterBy,
8573
8638
  filterValue,
8574
8639
  multiFilterMode,
8575
- filterIn
8640
+ filterIn,
8641
+ aiResources
8576
8642
  }))}`, {
8577
8643
  ...opts
8578
8644
  }));
@@ -8988,30 +9054,6 @@ export function validatePartnerAssociationLimit(opts?: Oazapfts.RequestOpts) {
8988
9054
  ...opts
8989
9055
  }));
8990
9056
  }
8991
- /**
8992
- * Deletes a resource from the account by resource type and resource slug.
8993
- */
8994
- export function deleteResource({ deleteResourceRequestV3 }: {
8995
- deleteResourceRequestV3: DeleteResourceRequestV3;
8996
- }, opts?: Oazapfts.RequestOpts) {
8997
- return oazapfts.ok(oazapfts.fetchJson<{
8998
- status: 200;
8999
- data: PageDtoDeleteResourceResponseV3;
9000
- } | {
9001
- status: 403;
9002
- data: ErrorResponse;
9003
- } | {
9004
- status: 422;
9005
- data: ErrorResponse;
9006
- } | {
9007
- status: 500;
9008
- data: ErrorResponse;
9009
- }>("/v3/resources", oazapfts.json({
9010
- ...opts,
9011
- method: "DELETE",
9012
- body: deleteResourceRequestV3
9013
- })));
9014
- }
9015
9057
  /**
9016
9058
  * Disassociate Group to Service Credential
9017
9059
  */
package/src/api/ai.ts CHANGED
@@ -469,6 +469,8 @@ export type QuickCommandsCreateRequest = {
469
469
  } | null;
470
470
  share_context_between_steps?: boolean | null;
471
471
  };
472
+ export type OrderDirection = "ASC" | "DESC";
473
+ export type OrderByFields = "name" | "visibility_level" | "username" | "created" | "type";
472
474
  export type QuickCommandAccountListResponseV1 = {
473
475
  name: string;
474
476
  username: string;
@@ -486,7 +488,7 @@ export type PaginatedResponseQuickCommandAccountListResponseV1 = {
486
488
  export type QuickCommandsUpdateRequest = {
487
489
  name?: string | null;
488
490
  description?: string | null;
489
- steps?: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest | QuickCommandsStepScriptRequest)[] | null;
491
+ steps?: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest | QuickCommandsStepScriptRequest | QuickCommandsStepParallelStartRequest | QuickCommandsStepParallelEndRequest)[] | null;
490
492
  return_type?: QuickCommandsReturnType | null;
491
493
  knowledge_source_slugs?: string[] | null;
492
494
  final_result?: string | null;
@@ -544,6 +546,7 @@ export type AgentDefinitionResponse = {
544
546
  created_at: string;
545
547
  updated_by?: string | null;
546
548
  updated_at?: string | null;
549
+ version_number?: number | null;
547
550
  };
548
551
  export type QuickCommandStepLlmResponse = {
549
552
  slug: string;
@@ -559,6 +562,7 @@ export type QuickCommandStepLlmResponse = {
559
562
  next_failure_step_slug?: string | null;
560
563
  use_uploaded_files?: boolean;
561
564
  allow_use_current_workspace?: boolean;
565
+ agent_version_number?: number | null;
562
566
  };
563
567
  export type ConditionExpr2 = {
564
568
  left?: any | null;
@@ -589,6 +593,16 @@ export type QuickCommandsStepScriptResponse = {
589
593
  use_uploaded_files: boolean;
590
594
  next_step_slug?: string | null;
591
595
  };
596
+ export type QuickCommandsStepParallelStartResponse = {
597
+ slug: string;
598
+ "type": QuickCommandStepType;
599
+ next_steps_slugs: string[];
600
+ };
601
+ export type QuickCommandsStepParallelEndResponse = {
602
+ slug: string;
603
+ "type": QuickCommandStepType;
604
+ next_step_slug?: string | null;
605
+ };
592
606
  export type CustomInputResponse = {
593
607
  slug: string;
594
608
  question: string;
@@ -602,7 +616,7 @@ export type QuickCommandResponse = {
602
616
  studio_id?: string | null;
603
617
  return_type?: QuickCommandsReturnType | null;
604
618
  final_result?: string | null;
605
- steps?: (QuickCommandStepFetchResponse | QuickCommandStepLlmResponse | QuickCommandsStepRouterResponse | QuickCommandsStepScriptResponse)[] | null;
619
+ steps?: (QuickCommandStepFetchResponse | QuickCommandStepLlmResponse | QuickCommandsStepRouterResponse | QuickCommandsStepScriptResponse | QuickCommandsStepParallelStartResponse | QuickCommandsStepParallelEndResponse)[] | null;
606
620
  flow?: {
607
621
  [key: string]: any;
608
622
  } | null;
@@ -716,6 +730,7 @@ export type StepFetch = {
716
730
  json_data?: {
717
731
  [key: string]: any;
718
732
  } | null;
733
+ failure_message?: string | null;
719
734
  };
720
735
  export type AnswerStatus = {
721
736
  success: boolean;
@@ -730,12 +745,14 @@ export type StepLlm = {
730
745
  answer_status?: AnswerStatus | null;
731
746
  sources: (SourceStackAi | SourceKnowledgeSource | SourceProjectFile | KnowledgeSourceEvent)[];
732
747
  tools?: string[];
748
+ failure_message?: string | null;
733
749
  };
734
750
  export type StepRouter = {
735
751
  duration?: number | null;
736
752
  next_step_slug: string;
737
753
  condition?: ConditionExpr2 | null;
738
754
  "default"?: boolean;
755
+ failure_message?: string | null;
739
756
  };
740
757
  export type StepScript = {
741
758
  duration?: number | null;
@@ -745,12 +762,23 @@ export type StepScript = {
745
762
  } | null;
746
763
  logs?: string | null;
747
764
  started?: string | null;
765
+ failure_message?: string | null;
766
+ };
767
+ export type StepParallelEnd = {
768
+ duration?: number | null;
769
+ message: string;
770
+ pending_branches: number;
771
+ total_branches: number;
772
+ error?: {
773
+ [key: string]: string;
774
+ } | null;
775
+ failure_message?: string | null;
748
776
  };
749
777
  export type Step = {
750
778
  step_name: string;
751
779
  execution_order: number;
752
780
  "type": QuickCommandStepType;
753
- step_result: StepFetch | StepLlm | StepRouter | StepScript | null;
781
+ step_result: StepFetch | StepLlm | StepRouter | StepScript | StepParallelEnd | null;
754
782
  status?: string;
755
783
  };
756
784
  export type QuickCommandExecutionResponse = {
@@ -892,6 +920,13 @@ export type ResourceReviewRequest = {
892
920
  export type ReviewAnswer = {
893
921
  answer: string;
894
922
  };
923
+ export type ExportContentsResponse = {
924
+ id: string;
925
+ };
926
+ export type GetExportRequestsResponse = {
927
+ id: string;
928
+ status: string;
929
+ };
895
930
  export type SourceProjectFile2 = {
896
931
  "type": "project_file";
897
932
  path: string;
@@ -2684,15 +2719,16 @@ export function listAllV1QuickCommandsAllGet({ visibility, order, types, authori
2684
2719
  }));
2685
2720
  }
2686
2721
  /**
2687
- * List All
2722
+ * List All Account
2688
2723
  */
2689
- export function listAllV1QuickCommandsAccountGet({ name, size, page, username, order, types, authorization, xAccountId, xMemberId, xUsername }: {
2724
+ export function listAllAccountV1QuickCommandsAccountGet({ name, size, page, username, types, order, orderBy, authorization, xAccountId, xMemberId, xUsername }: {
2690
2725
  name?: string | null;
2691
2726
  size?: number;
2692
2727
  page?: number;
2693
- username?: string | null;
2694
- order?: OrderEnum | null;
2728
+ username?: string[] | null;
2695
2729
  types?: QuickCommandTypeRequest[] | null;
2730
+ order?: OrderDirection | null;
2731
+ orderBy?: OrderByFields | null;
2696
2732
  authorization: string;
2697
2733
  xAccountId?: string | null;
2698
2734
  xMemberId?: string | null;
@@ -2711,8 +2747,9 @@ export function listAllV1QuickCommandsAccountGet({ name, size, page, username, o
2711
2747
  size,
2712
2748
  page,
2713
2749
  username,
2750
+ types,
2714
2751
  order,
2715
- types
2752
+ order_by: orderBy
2716
2753
  }))}`, {
2717
2754
  ...opts,
2718
2755
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -2899,11 +2936,44 @@ export function shareV1QuickCommandsSlugSharePost({ slug, isResourceAccessManage
2899
2936
  })
2900
2937
  }));
2901
2938
  }
2939
+ /**
2940
+ * Update Visibility
2941
+ */
2942
+ export function updateVisibilityV1QuickCommandsSlugVisibilityPatch({ slug, visibility, authorization, xAccountId, xMemberId, xUsername }: {
2943
+ slug: string;
2944
+ visibility: VisibilityLevelEnum;
2945
+ authorization: string;
2946
+ xAccountId?: string | null;
2947
+ xMemberId?: string | null;
2948
+ xUsername?: string | null;
2949
+ }, opts?: Oazapfts.RequestOpts) {
2950
+ return oazapfts.ok(oazapfts.fetchJson<{
2951
+ status: 200;
2952
+ data: any;
2953
+ } | {
2954
+ status: 404;
2955
+ } | {
2956
+ status: 422;
2957
+ data: HttpValidationError;
2958
+ }>(`/v1/quick-commands/${encodeURIComponent(slug)}/visibility${QS.query(QS.explode({
2959
+ visibility
2960
+ }))}`, {
2961
+ ...opts,
2962
+ method: "PATCH",
2963
+ headers: oazapfts.mergeHeaders(opts?.headers, {
2964
+ authorization,
2965
+ "x-account-id": xAccountId,
2966
+ "x-member-id": xMemberId,
2967
+ "x-username": xUsername
2968
+ })
2969
+ }));
2970
+ }
2902
2971
  /**
2903
2972
  * Publish
2904
2973
  */
2905
- export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandPublishRequest }: {
2974
+ export function publishV1QuickCommandsSlugPublishPost({ slug, isResourceAccessManager, authorization, xAccountId, xMemberId, xUsername, quickCommandPublishRequest }: {
2906
2975
  slug: string;
2976
+ isResourceAccessManager?: boolean | null;
2907
2977
  authorization: string;
2908
2978
  xAccountId?: string | null;
2909
2979
  xMemberId?: string | null;
@@ -2917,7 +2987,9 @@ export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAc
2917
2987
  } | {
2918
2988
  status: 422;
2919
2989
  data: HttpValidationError;
2920
- }>(`/v1/quick-commands/${encodeURIComponent(slug)}/publish`, oazapfts.json({
2990
+ }>(`/v1/quick-commands/${encodeURIComponent(slug)}/publish${QS.query(QS.explode({
2991
+ is_resource_access_manager: isResourceAccessManager
2992
+ }))}`, oazapfts.json({
2921
2993
  ...opts,
2922
2994
  method: "POST",
2923
2995
  body: quickCommandPublishRequest,
@@ -4025,6 +4097,89 @@ export function deleteReviewCommentV1ResourcesResourceTypeSlugResourceSlugReview
4025
4097
  })
4026
4098
  }));
4027
4099
  }
4100
+ /**
4101
+ * Export All Contents
4102
+ */
4103
+ export function exportAllContentsV1ExportContentsPost({ authorization, xAccountId, xMemberId, xUsername }: {
4104
+ authorization: string;
4105
+ xAccountId?: string | null;
4106
+ xMemberId?: string | null;
4107
+ xUsername?: string | null;
4108
+ }, opts?: Oazapfts.RequestOpts) {
4109
+ return oazapfts.ok(oazapfts.fetchJson<{
4110
+ status: 200;
4111
+ data: ExportContentsResponse | null;
4112
+ } | {
4113
+ status: 404;
4114
+ } | {
4115
+ status: 422;
4116
+ data: HttpValidationError;
4117
+ }>("/v1/export-contents", {
4118
+ ...opts,
4119
+ method: "POST",
4120
+ headers: oazapfts.mergeHeaders(opts?.headers, {
4121
+ authorization,
4122
+ "x-account-id": xAccountId,
4123
+ "x-member-id": xMemberId,
4124
+ "x-username": xUsername
4125
+ })
4126
+ }));
4127
+ }
4128
+ /**
4129
+ * Get Export Contents By Account Id
4130
+ */
4131
+ export function getExportContentsByAccountIdV1ExportContentsGet({ authorization, xAccountId, xMemberId, xUsername }: {
4132
+ authorization: string;
4133
+ xAccountId?: string | null;
4134
+ xMemberId?: string | null;
4135
+ xUsername?: string | null;
4136
+ }, opts?: Oazapfts.RequestOpts) {
4137
+ return oazapfts.ok(oazapfts.fetchJson<{
4138
+ status: 200;
4139
+ data: GetExportRequestsResponse | null;
4140
+ } | {
4141
+ status: 404;
4142
+ } | {
4143
+ status: 422;
4144
+ data: HttpValidationError;
4145
+ }>("/v1/export-contents", {
4146
+ ...opts,
4147
+ headers: oazapfts.mergeHeaders(opts?.headers, {
4148
+ authorization,
4149
+ "x-account-id": xAccountId,
4150
+ "x-member-id": xMemberId,
4151
+ "x-username": xUsername
4152
+ })
4153
+ }));
4154
+ }
4155
+ /**
4156
+ * Get Export Contents By Id
4157
+ */
4158
+ export function getExportContentsByIdV1ExportContentsIdGet({ id, authorization, xAccountId, xMemberId, xUsername }: {
4159
+ id: string;
4160
+ authorization: string;
4161
+ xAccountId?: string | null;
4162
+ xMemberId?: string | null;
4163
+ xUsername?: string | null;
4164
+ }, opts?: Oazapfts.RequestOpts) {
4165
+ return oazapfts.ok(oazapfts.fetchJson<{
4166
+ status: 200;
4167
+ data: GetExportRequestsResponse | null;
4168
+ } | {
4169
+ status: 404;
4170
+ } | {
4171
+ status: 422;
4172
+ data: HttpValidationError;
4173
+ }>(`/v1/export-contents/${encodeURIComponent(id)}`, {
4174
+ ...opts,
4175
+ headers: oazapfts.mergeHeaders(opts?.headers, {
4176
+ authorization,
4177
+ "x-account-id": xAccountId,
4178
+ "x-member-id": xMemberId,
4179
+ "x-username": xUsername
4180
+ })
4181
+ }));
4182
+ }
4028
4183
  /**
4029
4184
  * Dev Assistant V2
4030
4185
  */
@@ -52,6 +52,7 @@ import {
52
52
  getAccounts,
53
53
  getAccountSso,
54
54
  getActiveExtensionVersion,
55
+ getAiResources,
55
56
  getAll,
56
57
  getAllAccountSso,
57
58
  getAllGroupMapping,
@@ -946,7 +947,7 @@ class AccountClient extends ReactQueryNetworkClient {
946
947
  /**
947
948
  * Get all service credentials paginated
948
949
  */
949
- gerServicesCredentials = this.infiniteQuery(getAll, { accumulator: 'items' })
950
+ getServicesCredentials = this.infiniteQuery(getAll, { accumulator: 'items' })
950
951
  /**
951
952
  * Get Service Credential V3
952
953
  */
@@ -983,6 +984,10 @@ class AccountClient extends ReactQueryNetworkClient {
983
984
  * Revoke Service Credential V3
984
985
  */
985
986
  revokeServiceCredentialV3 = this.mutation(revoke)
987
+ /**
988
+ * Get list of resources
989
+ */
990
+ getResources = this.infiniteQuery(getAiResources, { accumulator: 'items' })
986
991
  }
987
992
 
988
993
  export const accountClient = new AccountClient()
@@ -57,7 +57,7 @@ class AgentToolsClient extends ReactQueryNetworkClient {
57
57
  publishAgent = this.mutation(removeAuthorizationParam(publishAgentV1AgentsAgentIdPublishPost))
58
58
 
59
59
  /**
60
- * @default
60
+ * @deprecated
61
61
  * List agents
62
62
  */
63
63
  agents = this.infiniteQuery(removeAuthorizationParam(listAgentsV1AgentsGet))