@stack-spot/portal-network 0.231.0 → 0.233.0

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 (51) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/api/account.d.ts +294 -677
  3. package/dist/api/account.d.ts.map +1 -1
  4. package/dist/api/account.js +274 -466
  5. package/dist/api/account.js.map +1 -1
  6. package/dist/api/agent-tools.d.ts +88 -17
  7. package/dist/api/agent-tools.d.ts.map +1 -1
  8. package/dist/api/agent-tools.js +70 -10
  9. package/dist/api/agent-tools.js.map +1 -1
  10. package/dist/api/ai.d.ts +4 -2
  11. package/dist/api/ai.d.ts.map +1 -1
  12. package/dist/api/ai.js +8 -4
  13. package/dist/api/ai.js.map +1 -1
  14. package/dist/api/dataIntegration.d.ts +87 -9
  15. package/dist/api/dataIntegration.d.ts.map +1 -1
  16. package/dist/api/dataIntegration.js +87 -8
  17. package/dist/api/dataIntegration.js.map +1 -1
  18. package/dist/api/workspace-ai.d.ts +22 -0
  19. package/dist/api/workspace-ai.d.ts.map +1 -1
  20. package/dist/api/workspace-ai.js +19 -0
  21. package/dist/api/workspace-ai.js.map +1 -1
  22. package/dist/client/account.d.ts.map +1 -1
  23. package/dist/client/account.js +180 -180
  24. package/dist/client/account.js.map +1 -1
  25. package/dist/client/agent-tools.d.ts +20 -1
  26. package/dist/client/agent-tools.d.ts.map +1 -1
  27. package/dist/client/agent-tools.js +10 -1
  28. package/dist/client/agent-tools.js.map +1 -1
  29. package/dist/client/ai.d.ts +18 -0
  30. package/dist/client/ai.d.ts.map +1 -1
  31. package/dist/client/ai.js +10 -1
  32. package/dist/client/ai.js.map +1 -1
  33. package/dist/client/data-integration.d.ts +26 -0
  34. package/dist/client/data-integration.d.ts.map +1 -1
  35. package/dist/client/data-integration.js +19 -1
  36. package/dist/client/data-integration.js.map +1 -1
  37. package/dist/client/workspace-ai.d.ts +10 -0
  38. package/dist/client/workspace-ai.d.ts.map +1 -1
  39. package/dist/client/workspace-ai.js +7 -1
  40. package/dist/client/workspace-ai.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/api/account.ts +321 -1006
  43. package/src/api/agent-tools.ts +164 -22
  44. package/src/api/ai.ts +12 -6
  45. package/src/api/dataIntegration.ts +190 -15
  46. package/src/api/workspace-ai.ts +45 -0
  47. package/src/client/account.ts +353 -329
  48. package/src/client/agent-tools.ts +49 -1
  49. package/src/client/ai.ts +5 -0
  50. package/src/client/data-integration.ts +12 -1
  51. package/src/client/workspace-ai.ts +2 -0
@@ -256,7 +256,8 @@ export type ExecuteAgentToolRequest = {
256
256
  export type AgentToolExecutionResponse = {
257
257
  result: string;
258
258
  };
259
- export type OrderEnum = "a-to-z" | "z-to-a" | "oldest-first" | "newest-first";
259
+ export type OrderDirection = "ASC" | "DESC";
260
+ export type OrderByFields = "name" | "visibility_level" | "created_by" | "created_at";
260
261
  export type ListAccountAgentResponseV1 = {
261
262
  name: string;
262
263
  username: string;
@@ -264,6 +265,7 @@ export type ListAccountAgentResponseV1 = {
264
265
  visibility_level: string;
265
266
  id: string;
266
267
  slug: string;
268
+ avatar?: string | null;
267
269
  };
268
270
  export type PaginatedResponseListAccountAgentResponseV1 = {
269
271
  total_pages: number;
@@ -413,7 +415,7 @@ export type ListMultiAgentsResponse = {
413
415
  avatar: string | null;
414
416
  description: string | null;
415
417
  visibility_level: VisibilityLevelEnum;
416
- has_multiagent_tool: boolean;
418
+ has_multiagent_tool?: boolean;
417
419
  };
418
420
  export type KnowledgeSourceDetailsResponse = {
419
421
  id: string;
@@ -586,7 +588,6 @@ export type ForkAgentRequest = {
586
588
  export type PublishAgentRequest = {
587
589
  use_only?: boolean;
588
590
  is_public?: boolean;
589
- version_number?: number | null;
590
591
  };
591
592
  export type CreateVersionRequest = {
592
593
  /** The version number to use as base for the new version. If not provided, uses latest version */
@@ -839,6 +840,20 @@ export type SearchAgentVersionRequest = {
839
840
  export type SearchAgentsRequestV2 = {
840
841
  agents: SearchAgentVersionRequest[];
841
842
  };
843
+ export type SearchAgentResponse = {
844
+ id: string;
845
+ name: string;
846
+ slug: string;
847
+ visibility_level: string;
848
+ "type": string;
849
+ avatar?: string | null;
850
+ description?: string | null;
851
+ created_by?: string | null;
852
+ created_at?: string | null;
853
+ version_number: number;
854
+ is_recommended: boolean;
855
+ is_latest: boolean;
856
+ };
842
857
  export type UpdateAgentRequestV2 = {
843
858
  use_only?: boolean | null;
844
859
  /** LLM model name */
@@ -1011,8 +1026,14 @@ export type AgentCoreWithSingleVersionResponse2 = {
1011
1026
  origin_fork_id?: string | null;
1012
1027
  /** Specific or recommend version associated with this agent core */
1013
1028
  version: AgentVersionResponse2;
1029
+ toolkit_ids?: string[];
1030
+ toolkit_ids_account?: string[];
1031
+ ks_ids?: string[];
1032
+ ks_ids_account?: string[];
1033
+ error_ids?: string[];
1014
1034
  };
1015
- export type ListAgentRequestV4 = {
1035
+ export type OrderEnum = "a-to-z" | "z-to-a" | "oldest-first" | "newest-first";
1036
+ export type ListAgentRequestV3 = {
1016
1037
  /** Agent name to filter the list */
1017
1038
  name?: string | null;
1018
1039
  /** Agent slug to filter the list */
@@ -1062,6 +1083,19 @@ export type PaginatedResponseAgentResponseV3 = {
1062
1083
  total_pages: number;
1063
1084
  items: AgentResponseV3[];
1064
1085
  };
1086
+ export type ListAgentRequestV4 = {
1087
+ /** Agent name to filter the list */
1088
+ name?: string | null;
1089
+ /** Agent slug to filter the list */
1090
+ slug?: string | null;
1091
+ /** Paginated param to configure page size */
1092
+ size?: number;
1093
+ /** Paginated param to configure which page is being requested */
1094
+ page?: number;
1095
+ /** Filter by a list of agent visibility levels. When provided, overrides the single 'visibility' parameter */
1096
+ visibility_list?: (AgentVisibilityLevelEnum | VisibilityLevelEnum)[];
1097
+ order?: OrderEnum | null;
1098
+ };
1065
1099
  export type ListAgentVersionResponse2 = {
1066
1100
  version_number: number;
1067
1101
  status: AgentVersionStatus;
@@ -1352,6 +1386,39 @@ export function deleteToolkitV1ToolkitsToolkitIdDelete({ toolkitId, xAccountId,
1352
1386
  })
1353
1387
  }));
1354
1388
  }
1389
+ /**
1390
+ * Update Visibility
1391
+ */
1392
+ export function updateVisibilityV1ToolkitsToolkitIdVisibilityPatch({ toolkitId, visibility, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1393
+ toolkitId: string;
1394
+ visibility: VisibilityLevelEnum;
1395
+ xAccountId?: string | null;
1396
+ xUsername?: string | null;
1397
+ xUserId?: string | null;
1398
+ xUserFullName?: string | null;
1399
+ authorization: string;
1400
+ }, opts?: Oazapfts.RequestOpts) {
1401
+ return oazapfts.ok(oazapfts.fetchJson<{
1402
+ status: 204;
1403
+ } | {
1404
+ status: 404;
1405
+ } | {
1406
+ status: 422;
1407
+ data: HttpValidationError;
1408
+ }>(`/v1/toolkits/${encodeURIComponent(toolkitId)}/visibility${QS.query(QS.explode({
1409
+ visibility
1410
+ }))}`, {
1411
+ ...opts,
1412
+ method: "PATCH",
1413
+ headers: oazapfts.mergeHeaders(opts?.headers, {
1414
+ "x-account-id": xAccountId,
1415
+ "x-username": xUsername,
1416
+ "x-user-id": xUserId,
1417
+ "x-user-full-name": xUserFullName,
1418
+ authorization
1419
+ })
1420
+ }));
1421
+ }
1355
1422
  /**
1356
1423
  * Fork Toolkit
1357
1424
  */
@@ -1689,9 +1756,7 @@ export function listToolsByAgentForSchemaV1AgentsAgentIdToolsSchemaSchemaGet({ a
1689
1756
  }, opts?: Oazapfts.RequestOpts) {
1690
1757
  return oazapfts.ok(oazapfts.fetchJson<{
1691
1758
  status: 200;
1692
- data: (OpenAiTool | {
1693
- [key: string]: any;
1694
- })[];
1759
+ data: OpenAiTool[];
1695
1760
  } | {
1696
1761
  status: 404;
1697
1762
  } | {
@@ -1750,12 +1815,13 @@ export function executeToolV1AgentsToolsAgentToolIdExecutePost({ agentToolId, is
1750
1815
  /**
1751
1816
  * List Account Agents
1752
1817
  */
1753
- export function listAccountAgentsV1AgentsAccountGet({ name, size, page, username, order, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1818
+ export function listAccountAgentsV1AgentsAccountGet({ name, size, page, username, order, orderBy, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1754
1819
  name?: string | null;
1755
1820
  size?: number;
1756
1821
  page?: number;
1757
- username?: string | null;
1758
- order?: OrderEnum | null;
1822
+ username?: string[] | null;
1823
+ order?: OrderDirection | null;
1824
+ orderBy?: OrderByFields | null;
1759
1825
  xAccountId?: string | null;
1760
1826
  xUsername?: string | null;
1761
1827
  xUserId?: string | null;
@@ -1775,7 +1841,8 @@ export function listAccountAgentsV1AgentsAccountGet({ name, size, page, username
1775
1841
  size,
1776
1842
  page,
1777
1843
  username,
1778
- order
1844
+ order,
1845
+ order_by: orderBy
1779
1846
  }))}`, {
1780
1847
  ...opts,
1781
1848
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -1896,16 +1963,50 @@ export function searchAgentsByIdsV1AgentsSearchPost({ xAccountId, xUsername, xUs
1896
1963
  })
1897
1964
  })));
1898
1965
  }
1966
+ /**
1967
+ * Update Visibility
1968
+ */
1969
+ export function updateVisibilityV1AgentsAgentIdVisibilityPatch({ agentId, visibility, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
1970
+ agentId: string;
1971
+ visibility: VisibilityLevelEnum;
1972
+ xAccountId?: string | null;
1973
+ xUsername?: string | null;
1974
+ xUserId?: string | null;
1975
+ xUserFullName?: string | null;
1976
+ authorization: string;
1977
+ }, opts?: Oazapfts.RequestOpts) {
1978
+ return oazapfts.ok(oazapfts.fetchJson<{
1979
+ status: 200;
1980
+ data: any;
1981
+ } | {
1982
+ status: 404;
1983
+ } | {
1984
+ status: 422;
1985
+ data: HttpValidationError;
1986
+ }>(`/v1/agents/${encodeURIComponent(agentId)}/visibility${QS.query(QS.explode({
1987
+ visibility
1988
+ }))}`, {
1989
+ ...opts,
1990
+ method: "PATCH",
1991
+ headers: oazapfts.mergeHeaders(opts?.headers, {
1992
+ "x-account-id": xAccountId,
1993
+ "x-username": xUsername,
1994
+ "x-user-id": xUserId,
1995
+ "x-user-full-name": xUserFullName,
1996
+ authorization
1997
+ })
1998
+ }));
1999
+ }
1899
2000
  /**
1900
2001
  * Workspace Fork
1901
2002
  */
1902
- export function workspaceForkV1AgentsWorkspaceForkPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, workspaceForkRequest }: {
2003
+ export function workspaceForkV1AgentsWorkspaceForkPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, srcApiV2SchemasWorkspaceForkRequest }: {
1903
2004
  xAccountId?: string | null;
1904
2005
  xUsername?: string | null;
1905
2006
  xUserId?: string | null;
1906
2007
  xUserFullName?: string | null;
1907
2008
  authorization: string;
1908
- workspaceForkRequest: WorkspaceForkRequest;
2009
+ srcApiV2SchemasWorkspaceForkRequest: WorkspaceForkRequest;
1909
2010
  }, opts?: Oazapfts.RequestOpts) {
1910
2011
  return oazapfts.ok(oazapfts.fetchJson<{
1911
2012
  status: 201;
@@ -1918,7 +2019,7 @@ export function workspaceForkV1AgentsWorkspaceForkPost({ xAccountId, xUsername,
1918
2019
  }>("/v1/agents/workspace/fork", oazapfts.json({
1919
2020
  ...opts,
1920
2021
  method: "POST",
1921
- body: workspaceForkRequest,
2022
+ body: srcApiV2SchemasWorkspaceForkRequest,
1922
2023
  headers: oazapfts.mergeHeaders(opts?.headers, {
1923
2024
  "x-account-id": xAccountId,
1924
2025
  "x-username": xUsername,
@@ -2265,8 +2366,9 @@ export function forkAgentV1AgentsAgentIdForkPost({ agentId, isPublic, xAccountId
2265
2366
  /**
2266
2367
  * Publish Agent
2267
2368
  */
2268
- export function publishAgentV1AgentsAgentIdPublishPost({ agentId, xAccountId, xUsername, xUserId, xUserFullName, authorization, publishAgentRequest }: {
2369
+ export function publishAgentV1AgentsAgentIdPublishPost({ agentId, isResourceAccessManager, xAccountId, xUsername, xUserId, xUserFullName, authorization, publishAgentRequest }: {
2269
2370
  agentId: string;
2371
+ isResourceAccessManager?: boolean | null;
2270
2372
  xAccountId?: string | null;
2271
2373
  xUsername?: string | null;
2272
2374
  xUserId?: string | null;
@@ -2281,7 +2383,9 @@ export function publishAgentV1AgentsAgentIdPublishPost({ agentId, xAccountId, xU
2281
2383
  } | {
2282
2384
  status: 422;
2283
2385
  data: HttpValidationError;
2284
- }>(`/v1/agents/${encodeURIComponent(agentId)}/publish`, oazapfts.json({
2386
+ }>(`/v1/agents/${encodeURIComponent(agentId)}/publish${QS.query(QS.explode({
2387
+ is_resource_access_manager: isResourceAccessManager
2388
+ }))}`, oazapfts.json({
2285
2389
  ...opts,
2286
2390
  method: "POST",
2287
2391
  body: publishAgentRequest,
@@ -2297,8 +2401,9 @@ export function publishAgentV1AgentsAgentIdPublishPost({ agentId, xAccountId, xU
2297
2401
  /**
2298
2402
  * Share
2299
2403
  */
2300
- export function shareV1AgentsAgentIdSharePost({ agentId, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
2404
+ export function shareV1AgentsAgentIdSharePost({ agentId, isResourceAccessManager, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
2301
2405
  agentId: string;
2406
+ isResourceAccessManager?: boolean | null;
2302
2407
  xAccountId?: string | null;
2303
2408
  xUsername?: string | null;
2304
2409
  xUserId?: string | null;
@@ -2312,7 +2417,9 @@ export function shareV1AgentsAgentIdSharePost({ agentId, xAccountId, xUsername,
2312
2417
  } | {
2313
2418
  status: 422;
2314
2419
  data: HttpValidationError;
2315
- }>(`/v1/agents/${encodeURIComponent(agentId)}/share`, {
2420
+ }>(`/v1/agents/${encodeURIComponent(agentId)}/share${QS.query(QS.explode({
2421
+ is_resource_access_manager: isResourceAccessManager
2422
+ }))}`, {
2316
2423
  ...opts,
2317
2424
  method: "POST",
2318
2425
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -2417,8 +2524,9 @@ export function migrateAgentAvatarByIdV1AgentsAgentIdMigrateAvatarPost({ agentId
2417
2524
  /**
2418
2525
  * Create Version
2419
2526
  */
2420
- export function createVersionV1AgentsAgentCoreIdVersionsPost({ agentCoreId, xAccountId, xUsername, xUserId, xUserFullName, authorization, createVersionRequest }: {
2527
+ export function createVersionV1AgentsAgentCoreIdVersionsPost({ agentCoreId, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization, createVersionRequest }: {
2421
2528
  agentCoreId: string;
2529
+ isPublic?: boolean;
2422
2530
  xAccountId?: string | null;
2423
2531
  xUsername?: string | null;
2424
2532
  xUserId?: string | null;
@@ -2437,7 +2545,9 @@ export function createVersionV1AgentsAgentCoreIdVersionsPost({ agentCoreId, xAcc
2437
2545
  } | {
2438
2546
  status: 422;
2439
2547
  data: HttpValidationError;
2440
- }>(`/v1/agents/${encodeURIComponent(agentCoreId)}/versions`, oazapfts.json({
2548
+ }>(`/v1/agents/${encodeURIComponent(agentCoreId)}/versions${QS.query(QS.explode({
2549
+ is_public: isPublic
2550
+ }))}`, oazapfts.json({
2441
2551
  ...opts,
2442
2552
  method: "POST",
2443
2553
  body: createVersionRequest,
@@ -2701,7 +2811,7 @@ export function searchAgentsV2AgentsSearchPost({ xAccountId, xUsername, xUserId,
2701
2811
  }, opts?: Oazapfts.RequestOpts) {
2702
2812
  return oazapfts.ok(oazapfts.fetchJson<{
2703
2813
  status: 200;
2704
- data: ListAgentResponseV2[];
2814
+ data: SearchAgentResponse[];
2705
2815
  } | {
2706
2816
  status: 404;
2707
2817
  } | {
@@ -2788,11 +2898,43 @@ export function findByAgentCoreIdV2AgentsAgentCoreIdGet({ agentCoreId, versionNu
2788
2898
  })
2789
2899
  }));
2790
2900
  }
2901
+ /**
2902
+ * Workspace Fork
2903
+ */
2904
+ export function workspaceForkV2AgentsWorkspaceForkPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, srcApiV2SchemasWorkspaceForkRequest }: {
2905
+ xAccountId?: string | null;
2906
+ xUsername?: string | null;
2907
+ xUserId?: string | null;
2908
+ xUserFullName?: string | null;
2909
+ authorization: string;
2910
+ srcApiV2SchemasWorkspaceForkRequest: WorkspaceForkRequest;
2911
+ }, opts?: Oazapfts.RequestOpts) {
2912
+ return oazapfts.ok(oazapfts.fetchJson<{
2913
+ status: 201;
2914
+ data: WorkspaceForkAgent;
2915
+ } | {
2916
+ status: 404;
2917
+ } | {
2918
+ status: 422;
2919
+ data: HttpValidationError;
2920
+ }>("/v2/agents/workspace/fork", oazapfts.json({
2921
+ ...opts,
2922
+ method: "POST",
2923
+ body: srcApiV2SchemasWorkspaceForkRequest,
2924
+ headers: oazapfts.mergeHeaders(opts?.headers, {
2925
+ "x-account-id": xAccountId,
2926
+ "x-username": xUsername,
2927
+ "x-user-id": xUserId,
2928
+ "x-user-full-name": xUserFullName,
2929
+ authorization
2930
+ })
2931
+ })));
2932
+ }
2791
2933
  /**
2792
2934
  * List Agents
2793
2935
  */
2794
2936
  export function listAgentsV3AgentsGet({ filters, isPublic, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
2795
- filters: ListAgentRequestV4;
2937
+ filters: ListAgentRequestV3;
2796
2938
  isPublic?: boolean;
2797
2939
  xAccountId?: string | null;
2798
2940
  xUsername?: string | null;
package/src/api/ai.ts CHANGED
@@ -4,8 +4,8 @@
4
4
  * DO NOT MODIFY - This file has been generated using oazapfts.
5
5
  * See https://www.npmjs.com/package/oazapfts
6
6
  */
7
- import * as Oazapfts from "@oazapfts/runtime";
8
- import * as QS from "@oazapfts/runtime/query";
7
+ import * as Oazapfts from "@oazapfts/runtime"
8
+ import * as QS from "@oazapfts/runtime/query"
9
9
  export const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders> = {
10
10
  headers: {},
11
11
  baseUrl: "/",
@@ -2975,8 +2975,9 @@ export function updateVisibilityV1QuickCommandsSlugVisibilityPatch({ slug, visib
2975
2975
  /**
2976
2976
  * Publish
2977
2977
  */
2978
- export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandPublishRequest }: {
2978
+ export function publishV1QuickCommandsSlugPublishPost({ slug, isResourceAccessManager, authorization, xAccountId, xMemberId, xUsername, quickCommandPublishRequest }: {
2979
2979
  slug: string;
2980
+ isResourceAccessManager?: boolean | null;
2980
2981
  authorization: string;
2981
2982
  xAccountId?: string | null;
2982
2983
  xMemberId?: string | null;
@@ -2990,7 +2991,9 @@ export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAc
2990
2991
  } | {
2991
2992
  status: 422;
2992
2993
  data: HttpValidationError;
2993
- }>(`/v1/quick-commands/${encodeURIComponent(slug)}/publish`, oazapfts.json({
2994
+ }>(`/v1/quick-commands/${encodeURIComponent(slug)}/publish${QS.query(QS.explode({
2995
+ is_resource_access_manager: isResourceAccessManager
2996
+ }))}`, oazapfts.json({
2994
2997
  ...opts,
2995
2998
  method: "POST",
2996
2999
  body: quickCommandPublishRequest,
@@ -3767,9 +3770,10 @@ export function getFlagsV1FlagsGet(opts?: Oazapfts.RequestOpts) {
3767
3770
  /**
3768
3771
  * Get Content Dependencies
3769
3772
  */
3770
- export function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId, xUsername }: {
3773
+ export function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, isResourceAccessManager, authorization, xAccountId, xMemberId, xUsername }: {
3771
3774
  contentType: ContentDependencyType;
3772
3775
  contentId: string;
3776
+ isResourceAccessManager?: boolean | null;
3773
3777
  authorization: string;
3774
3778
  xAccountId?: string | null;
3775
3779
  xMemberId?: string | null;
@@ -3783,7 +3787,9 @@ export function getContentDependenciesV1ContentContentTypeContentIdDependenciesG
3783
3787
  } | {
3784
3788
  status: 422;
3785
3789
  data: HttpValidationError;
3786
- }>(`/v1/content/${encodeURIComponent(contentType)}/${encodeURIComponent(contentId)}/dependencies`, {
3790
+ }>(`/v1/content/${encodeURIComponent(contentType)}/${encodeURIComponent(contentId)}/dependencies${QS.query(QS.explode({
3791
+ is_resource_access_manager: isResourceAccessManager
3792
+ }))}`, {
3787
3793
  ...opts,
3788
3794
  headers: oazapfts.mergeHeaders(opts?.headers, {
3789
3795
  authorization,