@stack-spot/portal-network 1.0.0-betaadp.3 → 1.0.0-dev.1768423147036
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 +633 -0
- package/dist/api/account.d.ts +413 -277
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +261 -176
- 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 +818 -261
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +245 -50
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/agent.d.ts +55 -55
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/ai.d.ts +488 -98
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +426 -146
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatform.d.ts +374 -221
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +299 -93
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/api/cloudPlatformHorizon.d.ts +178 -9
- package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
- package/dist/api/cloudPlatformHorizon.js +69 -1
- package/dist/api/cloudPlatformHorizon.js.map +1 -1
- package/dist/api/codeShift.d.ts +1125 -83
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +538 -16
- 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 +98 -12
- package/dist/api/discover.d.ts.map +1 -1
- package/dist/api/discover.js +78 -2
- 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/genAiInference.d.ts +22 -2
- package/dist/api/genAiInference.d.ts.map +1 -1
- package/dist/api/genAiInference.js +22 -3
- package/dist/api/genAiInference.js.map +1 -1
- package/dist/api/workflows.d.ts +68 -5
- package/dist/api/workflows.d.ts.map +1 -1
- package/dist/api/workflows.js +16 -0
- package/dist/api/workflows.js.map +1 -1
- 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/workspaceManager.d.ts +16 -10
- package/dist/api/workspaceManager.d.ts.map +1 -1
- package/dist/api/workspaceManager.js +10 -0
- package/dist/api/workspaceManager.js.map +1 -1
- package/dist/api-addresses.d.ts +20 -18
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +81 -21
- package/dist/api-addresses.js.map +1 -1
- package/dist/apis-itau.json +241 -0
- package/dist/apis.json +17 -1
- 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 +265 -242
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +80 -34
- package/dist/client/account.js.map +1 -1
- package/dist/client/agent-tools.d.ts +295 -121
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +166 -12
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +46 -46
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/ai.d.ts +265 -79
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +268 -24
- package/dist/client/ai.js.map +1 -1
- package/dist/client/api-management.d.ts +10 -1
- package/dist/client/api-management.d.ts.map +1 -1
- package/dist/client/api-management.js +11 -2
- package/dist/client/api-management.js.map +1 -1
- package/dist/client/cloud-account.d.ts +13 -13
- package/dist/client/cloud-platform-horizon.d.ts +38 -19
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +19 -1
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +213 -46
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +168 -33
- package/dist/client/cloud-platform.js.map +1 -1
- package/dist/client/cloud-runtimes.d.ts +4 -4
- package/dist/client/cloud-services.d.ts +17 -17
- package/dist/client/cloud-services.d.ts.map +1 -1
- package/dist/client/code-shift.d.ts +535 -162
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +296 -7
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/content.d.ts +127 -132
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/data-integration.d.ts +92 -53
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +38 -2
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discover.d.ts +31 -10
- package/dist/client/discover.d.ts.map +1 -1
- package/dist/client/discover.js +239 -3
- 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/event-bus.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +20 -20
- package/dist/client/insights.d.ts +7 -7
- package/dist/client/notification.d.ts +17 -10
- 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/runtime-manager.d.ts +8 -8
- 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 +50 -7
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow.d.ts +10 -10
- package/dist/client/workspace-ai.d.ts +65 -55
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +19 -9
- package/dist/client/workspace-ai.js.map +1 -1
- package/dist/client/workspace-manager.d.ts +115 -76
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +47 -2
- package/dist/client/workspace-manager.js.map +1 -1
- package/dist/client/workspace-search.d.ts +2 -2
- package/dist/client/workspace.d.ts +58 -105
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/error/DefaultAPIError.d.ts.map +1 -1
- package/dist/error/DefaultAPIError.js.map +1 -1
- package/dist/error/StackspotAPIError.d.ts +3 -4
- package/dist/error/StackspotAPIError.d.ts.map +1 -1
- package/dist/error/StackspotAPIError.js +3 -3
- package/dist/error/StackspotAPIError.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/error/dictionary/cloud-platform.d.ts +76 -8
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +80 -12
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/dist/error/dictionary/workspace-ai.d.ts +9 -0
- package/dist/error/dictionary/workspace-ai.d.ts.map +1 -0
- package/dist/error/dictionary/workspace-ai.js +9 -0
- package/dist/error/dictionary/workspace-ai.js.map +1 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/network/NetworkClient.d.ts +4 -2
- package/dist/network/NetworkClient.d.ts.map +1 -1
- package/dist/network/NetworkClient.js +16 -4
- package/dist/network/NetworkClient.js.map +1 -1
- package/dist/network/types.d.ts +2 -0
- package/dist/network/types.d.ts.map +1 -1
- package/dist/utils/StreamedJson.d.ts +3 -1
- package/dist/utils/StreamedJson.d.ts.map +1 -1
- package/dist/utils/StreamedJson.js +23 -3
- package/dist/utils/StreamedJson.js.map +1 -1
- package/package.dev.json +3 -0
- package/package.json +10 -9
- package/package.stg.json +3 -0
- package/readme.md +40 -1
- package/src/api/account.ts +701 -540
- package/src/api/accountAssetManager.ts +771 -0
- package/src/api/agent-tools.ts +1354 -556
- package/src/api/ai.ts +891 -170
- package/src/api/cloudPlatform.ts +667 -298
- package/src/api/cloudPlatformHorizon.ts +412 -9
- package/src/api/codeShift.ts +2088 -97
- package/src/api/dataIntegration.ts +635 -1
- package/src/api/discover.ts +180 -14
- package/src/api/edpBfa.ts +472 -0
- package/src/api/genAiInference.ts +47 -4
- package/src/api/workflows.ts +100 -5
- package/src/api/workspace-ai.ts +83 -0
- package/src/api/workspaceManager.ts +25 -10
- package/src/api-addresses.ts +113 -38
- package/src/apis-itau.json +241 -0
- package/src/apis.json +17 -1
- package/src/client/account-asset-manager.ts +100 -0
- package/src/client/account.ts +71 -40
- package/src/client/agent-tools.ts +111 -18
- package/src/client/ai.ts +237 -24
- package/src/client/api-management.ts +7 -2
- package/src/client/cloud-platform-horizon.ts +12 -4
- package/src/client/cloud-platform.ts +101 -27
- package/src/client/code-shift.ts +196 -8
- package/src/client/data-integration.ts +28 -1
- package/src/client/discover.ts +238 -5
- 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 +55 -9
- package/src/client/workspace-ai.ts +37 -26
- package/src/client/workspace-manager.ts +31 -2
- package/src/error/DefaultAPIError.ts +5 -5
- package/src/error/StackspotAPIError.ts +4 -4
- package/src/error/dictionary/accountAssetManager.ts +12 -0
- package/src/error/dictionary/cloud-platform.ts +80 -12
- package/src/error/dictionary/workspace-ai.ts +10 -0
- package/src/index.ts +6 -3
- package/src/network/NetworkClient.ts +18 -6
- package/src/network/types.ts +3 -0
- package/src/utils/StreamedJson.tsx +19 -4
package/dist/api/ai.js
CHANGED
|
@@ -23,7 +23,7 @@ export function metricsMetricsGet(opts) {
|
|
|
23
23
|
/**
|
|
24
24
|
* Workspace Fork
|
|
25
25
|
*/
|
|
26
|
-
export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, xMemberId, aiStackWorkspaceForkRequest }, opts) {
|
|
26
|
+
export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceForkRequest }, opts) {
|
|
27
27
|
return oazapfts.ok(oazapfts.fetchJson("/v1/ai-stacks/workspace/fork", oazapfts.json({
|
|
28
28
|
...opts,
|
|
29
29
|
method: "POST",
|
|
@@ -31,14 +31,15 @@ export function workspaceForkV1AiStacksWorkspaceForkPost({ authorization, xAccou
|
|
|
31
31
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
32
32
|
authorization,
|
|
33
33
|
"x-account-id": xAccountId,
|
|
34
|
-
"x-member-id": xMemberId
|
|
34
|
+
"x-member-id": xMemberId,
|
|
35
|
+
"x-username": xUsername
|
|
35
36
|
})
|
|
36
37
|
})));
|
|
37
38
|
}
|
|
38
39
|
/**
|
|
39
40
|
* Workspace Delete Fork
|
|
40
41
|
*/
|
|
41
|
-
export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, xMemberId, aiStackWorkspaceDeleteRequest }, opts) {
|
|
42
|
+
export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceDeleteRequest }, opts) {
|
|
42
43
|
return oazapfts.ok(oazapfts.fetchJson("/v1/ai-stacks/workspace/fork", oazapfts.json({
|
|
43
44
|
...opts,
|
|
44
45
|
method: "DELETE",
|
|
@@ -46,14 +47,15 @@ export function workspaceDeleteForkV1AiStacksWorkspaceForkDelete({ authorization
|
|
|
46
47
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
47
48
|
authorization,
|
|
48
49
|
"x-account-id": xAccountId,
|
|
49
|
-
"x-member-id": xMemberId
|
|
50
|
+
"x-member-id": xMemberId,
|
|
51
|
+
"x-username": xUsername
|
|
50
52
|
})
|
|
51
53
|
})));
|
|
52
54
|
}
|
|
53
55
|
/**
|
|
54
56
|
* Workspace List
|
|
55
57
|
*/
|
|
56
|
-
export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, xMemberId, aiStackWorkspaceListRequest }, opts) {
|
|
58
|
+
export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccountId, xMemberId, xUsername, aiStackWorkspaceListRequest }, opts) {
|
|
57
59
|
return oazapfts.ok(oazapfts.fetchJson("/v1/ai-stacks/workspace/list", oazapfts.json({
|
|
58
60
|
...opts,
|
|
59
61
|
method: "POST",
|
|
@@ -61,14 +63,15 @@ export function workspaceListV1AiStacksWorkspaceListPost({ authorization, xAccou
|
|
|
61
63
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
62
64
|
authorization,
|
|
63
65
|
"x-account-id": xAccountId,
|
|
64
|
-
"x-member-id": xMemberId
|
|
66
|
+
"x-member-id": xMemberId,
|
|
67
|
+
"x-username": xUsername
|
|
65
68
|
})
|
|
66
69
|
})));
|
|
67
70
|
}
|
|
68
71
|
/**
|
|
69
72
|
* List Ai Stacks
|
|
70
73
|
*/
|
|
71
|
-
export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId, xMemberId }, opts) {
|
|
74
|
+
export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
72
75
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks${QS.query(QS.explode({
|
|
73
76
|
visibility
|
|
74
77
|
}))}`, {
|
|
@@ -76,14 +79,15 @@ export function listAiStacksV1AiStacksGet({ visibility, authorization, xAccountI
|
|
|
76
79
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
77
80
|
authorization,
|
|
78
81
|
"x-account-id": xAccountId,
|
|
79
|
-
"x-member-id": xMemberId
|
|
82
|
+
"x-member-id": xMemberId,
|
|
83
|
+
"x-username": xUsername
|
|
80
84
|
})
|
|
81
85
|
}));
|
|
82
86
|
}
|
|
83
87
|
/**
|
|
84
88
|
* Create Ai Stack
|
|
85
89
|
*/
|
|
86
|
-
export function createAiStackV1AiStacksPost({ authorization, xAccountId, xMemberId, newAiStackRequest }, opts) {
|
|
90
|
+
export function createAiStackV1AiStacksPost({ authorization, xAccountId, xMemberId, xUsername, newAiStackRequest }, opts) {
|
|
87
91
|
return oazapfts.ok(oazapfts.fetchJson("/v1/ai-stacks", oazapfts.json({
|
|
88
92
|
...opts,
|
|
89
93
|
method: "POST",
|
|
@@ -91,14 +95,15 @@ export function createAiStackV1AiStacksPost({ authorization, xAccountId, xMember
|
|
|
91
95
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
92
96
|
authorization,
|
|
93
97
|
"x-account-id": xAccountId,
|
|
94
|
-
"x-member-id": xMemberId
|
|
98
|
+
"x-member-id": xMemberId,
|
|
99
|
+
"x-username": xUsername
|
|
95
100
|
})
|
|
96
101
|
})));
|
|
97
102
|
}
|
|
98
103
|
/**
|
|
99
104
|
* Update Ai Stack
|
|
100
105
|
*/
|
|
101
|
-
export function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, xMemberId, updateAiStackRequest }, opts) {
|
|
106
|
+
export function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xAccountId, xMemberId, xUsername, updateAiStackRequest }, opts) {
|
|
102
107
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks/${encodeURIComponent(stackId)}`, oazapfts.json({
|
|
103
108
|
...opts,
|
|
104
109
|
method: "PATCH",
|
|
@@ -106,82 +111,88 @@ export function updateAiStackV1AiStacksStackIdPatch({ stackId, authorization, xA
|
|
|
106
111
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
107
112
|
authorization,
|
|
108
113
|
"x-account-id": xAccountId,
|
|
109
|
-
"x-member-id": xMemberId
|
|
114
|
+
"x-member-id": xMemberId,
|
|
115
|
+
"x-username": xUsername
|
|
110
116
|
})
|
|
111
117
|
})));
|
|
112
118
|
}
|
|
113
119
|
/**
|
|
114
120
|
* Get Ai Stack
|
|
115
121
|
*/
|
|
116
|
-
export function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId, xMemberId }, opts) {
|
|
122
|
+
export function getAiStackV1AiStacksStackIdGet({ stackId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
117
123
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks/${encodeURIComponent(stackId)}`, {
|
|
118
124
|
...opts,
|
|
119
125
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
120
126
|
authorization,
|
|
121
127
|
"x-account-id": xAccountId,
|
|
122
|
-
"x-member-id": xMemberId
|
|
128
|
+
"x-member-id": xMemberId,
|
|
129
|
+
"x-username": xUsername
|
|
123
130
|
})
|
|
124
131
|
}));
|
|
125
132
|
}
|
|
126
133
|
/**
|
|
127
134
|
* Remove Ai Stack
|
|
128
135
|
*/
|
|
129
|
-
export function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId, xMemberId }, opts) {
|
|
136
|
+
export function removeAiStackV1AiStacksStackIdDelete({ stackId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
130
137
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks/${encodeURIComponent(stackId)}`, {
|
|
131
138
|
...opts,
|
|
132
139
|
method: "DELETE",
|
|
133
140
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
134
141
|
authorization,
|
|
135
142
|
"x-account-id": xAccountId,
|
|
136
|
-
"x-member-id": xMemberId
|
|
143
|
+
"x-member-id": xMemberId,
|
|
144
|
+
"x-username": xUsername
|
|
137
145
|
})
|
|
138
146
|
}));
|
|
139
147
|
}
|
|
140
148
|
/**
|
|
141
149
|
* Get Ai Stack Exists
|
|
142
150
|
*/
|
|
143
|
-
export function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId, xMemberId }, opts) {
|
|
151
|
+
export function getAiStackExistsV1AiStacksStackNameExistsGet({ stackName, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
144
152
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks/${encodeURIComponent(stackName)}/exists`, {
|
|
145
153
|
...opts,
|
|
146
154
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
147
155
|
authorization,
|
|
148
156
|
"x-account-id": xAccountId,
|
|
149
|
-
"x-member-id": xMemberId
|
|
157
|
+
"x-member-id": xMemberId,
|
|
158
|
+
"x-username": xUsername
|
|
150
159
|
})
|
|
151
160
|
}));
|
|
152
161
|
}
|
|
153
162
|
/**
|
|
154
163
|
* Add Favorite
|
|
155
164
|
*/
|
|
156
|
-
export function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorization, xAccountId, xMemberId }, opts) {
|
|
165
|
+
export function addFavoriteV1AiStacksStackIdFavoritePost({ stackId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
157
166
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks/${encodeURIComponent(stackId)}/favorite`, {
|
|
158
167
|
...opts,
|
|
159
168
|
method: "POST",
|
|
160
169
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
161
170
|
authorization,
|
|
162
171
|
"x-account-id": xAccountId,
|
|
163
|
-
"x-member-id": xMemberId
|
|
172
|
+
"x-member-id": xMemberId,
|
|
173
|
+
"x-username": xUsername
|
|
164
174
|
})
|
|
165
175
|
}));
|
|
166
176
|
}
|
|
167
177
|
/**
|
|
168
178
|
* Delete Favorite
|
|
169
179
|
*/
|
|
170
|
-
export function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authorization, xAccountId, xMemberId }, opts) {
|
|
180
|
+
export function deleteFavoriteV1AiStacksStackIdFavoriteDelete({ stackId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
171
181
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks/${encodeURIComponent(stackId)}/favorite`, {
|
|
172
182
|
...opts,
|
|
173
183
|
method: "DELETE",
|
|
174
184
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
175
185
|
authorization,
|
|
176
186
|
"x-account-id": xAccountId,
|
|
177
|
-
"x-member-id": xMemberId
|
|
187
|
+
"x-member-id": xMemberId,
|
|
188
|
+
"x-username": xUsername
|
|
178
189
|
})
|
|
179
190
|
}));
|
|
180
191
|
}
|
|
181
192
|
/**
|
|
182
193
|
* Fork
|
|
183
194
|
*/
|
|
184
|
-
export function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, xMemberId, aiStackForkRequest }, opts) {
|
|
195
|
+
export function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccountId, xMemberId, xUsername, aiStackForkRequest }, opts) {
|
|
185
196
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks/${encodeURIComponent(stackId)}/fork`, oazapfts.json({
|
|
186
197
|
...opts,
|
|
187
198
|
method: "POST",
|
|
@@ -189,28 +200,30 @@ export function forkV1AiStacksStackIdForkPost({ stackId, authorization, xAccount
|
|
|
189
200
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
190
201
|
authorization,
|
|
191
202
|
"x-account-id": xAccountId,
|
|
192
|
-
"x-member-id": xMemberId
|
|
203
|
+
"x-member-id": xMemberId,
|
|
204
|
+
"x-username": xUsername
|
|
193
205
|
})
|
|
194
206
|
})));
|
|
195
207
|
}
|
|
196
208
|
/**
|
|
197
209
|
* Share
|
|
198
210
|
*/
|
|
199
|
-
export function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, xMemberId }, opts) {
|
|
211
|
+
export function shareV1AiStacksStackIdSharePost({ stackId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
200
212
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks/${encodeURIComponent(stackId)}/share`, {
|
|
201
213
|
...opts,
|
|
202
214
|
method: "POST",
|
|
203
215
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
204
216
|
authorization,
|
|
205
217
|
"x-account-id": xAccountId,
|
|
206
|
-
"x-member-id": xMemberId
|
|
218
|
+
"x-member-id": xMemberId,
|
|
219
|
+
"x-username": xUsername
|
|
207
220
|
})
|
|
208
221
|
}));
|
|
209
222
|
}
|
|
210
223
|
/**
|
|
211
224
|
* Publish
|
|
212
225
|
*/
|
|
213
|
-
export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, xMemberId, aiStackPublishRequest }, opts) {
|
|
226
|
+
export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xAccountId, xMemberId, xUsername, aiStackPublishRequest }, opts) {
|
|
214
227
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/ai-stacks/${encodeURIComponent(stackId)}/publish`, oazapfts.json({
|
|
215
228
|
...opts,
|
|
216
229
|
method: "POST",
|
|
@@ -218,7 +231,8 @@ export function publishV1AiStacksStackIdPublishPost({ stackId, authorization, xA
|
|
|
218
231
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
219
232
|
authorization,
|
|
220
233
|
"x-account-id": xAccountId,
|
|
221
|
-
"x-member-id": xMemberId
|
|
234
|
+
"x-member-id": xMemberId,
|
|
235
|
+
"x-username": xUsername
|
|
222
236
|
})
|
|
223
237
|
})));
|
|
224
238
|
}
|
|
@@ -238,7 +252,7 @@ export function projectFilesV1ProjectFilesPost({ authorization, newProjectFilesR
|
|
|
238
252
|
/**
|
|
239
253
|
* Quick Actions
|
|
240
254
|
*/
|
|
241
|
-
export function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMemberId, quickActionsRequest }, opts) {
|
|
255
|
+
export function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMemberId, xUsername, quickActionsRequest }, opts) {
|
|
242
256
|
return oazapfts.ok(oazapfts.fetchJson("/v1/quick-actions", oazapfts.json({
|
|
243
257
|
...opts,
|
|
244
258
|
method: "POST",
|
|
@@ -246,7 +260,8 @@ export function quickActionsV1QuickActionsPost({ authorization, xAccountId, xMem
|
|
|
246
260
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
247
261
|
authorization,
|
|
248
262
|
"x-account-id": xAccountId,
|
|
249
|
-
"x-member-id": xMemberId
|
|
263
|
+
"x-member-id": xMemberId,
|
|
264
|
+
"x-username": xUsername
|
|
250
265
|
})
|
|
251
266
|
})));
|
|
252
267
|
}
|
|
@@ -262,7 +277,7 @@ export function devAssistantV1ChatPost(opts) {
|
|
|
262
277
|
/**
|
|
263
278
|
* Autocomplete V1
|
|
264
279
|
*/
|
|
265
|
-
export function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xMemberId, autoCompleteRequest }, opts) {
|
|
280
|
+
export function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xMemberId, xUsername, autoCompleteRequest }, opts) {
|
|
266
281
|
return oazapfts.ok(oazapfts.fetchJson("/v1/autocomplete", oazapfts.json({
|
|
267
282
|
...opts,
|
|
268
283
|
method: "POST",
|
|
@@ -270,14 +285,15 @@ export function autocompleteV1V1AutocompletePost({ authorization, xAccountId, xM
|
|
|
270
285
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
271
286
|
authorization,
|
|
272
287
|
"x-account-id": xAccountId,
|
|
273
|
-
"x-member-id": xMemberId
|
|
288
|
+
"x-member-id": xMemberId,
|
|
289
|
+
"x-username": xUsername
|
|
274
290
|
})
|
|
275
291
|
})));
|
|
276
292
|
}
|
|
277
293
|
/**
|
|
278
294
|
* Post Event
|
|
279
295
|
*/
|
|
280
|
-
export function postEventV1EventsPost({ authorization, xAccountId, xMemberId, body }, opts) {
|
|
296
|
+
export function postEventV1EventsPost({ authorization, xAccountId, xMemberId, xUsername, body }, opts) {
|
|
281
297
|
return oazapfts.ok(oazapfts.fetchJson("/v1/events", oazapfts.json({
|
|
282
298
|
...opts,
|
|
283
299
|
method: "POST",
|
|
@@ -285,7 +301,8 @@ export function postEventV1EventsPost({ authorization, xAccountId, xMemberId, bo
|
|
|
285
301
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
286
302
|
authorization,
|
|
287
303
|
"x-account-id": xAccountId,
|
|
288
|
-
"x-member-id": xMemberId
|
|
304
|
+
"x-member-id": xMemberId,
|
|
305
|
+
"x-username": xUsername
|
|
289
306
|
})
|
|
290
307
|
})));
|
|
291
308
|
}
|
|
@@ -337,7 +354,7 @@ export function createKnowledgeSourceV1KnowledgeSourcesPost({ authorization, new
|
|
|
337
354
|
/**
|
|
338
355
|
* List Knowledge Sources
|
|
339
356
|
*/
|
|
340
|
-
export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId, xMemberId }, opts) {
|
|
357
|
+
export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $default, types, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
341
358
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources${QS.query(QS.explode({
|
|
342
359
|
visibility,
|
|
343
360
|
order,
|
|
@@ -348,7 +365,8 @@ export function listKnowledgeSourcesV1KnowledgeSourcesGet({ visibility, order, $
|
|
|
348
365
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
349
366
|
authorization,
|
|
350
367
|
"x-account-id": xAccountId,
|
|
351
|
-
"x-member-id": xMemberId
|
|
368
|
+
"x-member-id": xMemberId,
|
|
369
|
+
"x-username": xUsername
|
|
352
370
|
})
|
|
353
371
|
}));
|
|
354
372
|
}
|
|
@@ -379,14 +397,15 @@ export function updateKnowledgeSourceV1KnowledgeSourcesSlugPatch({ slug, authori
|
|
|
379
397
|
/**
|
|
380
398
|
* Delete Knowledge Source
|
|
381
399
|
*/
|
|
382
|
-
export function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId, xMemberId }, opts) {
|
|
400
|
+
export function deleteKnowledgeSourceV1KnowledgeSourcesSlugDelete({ slug, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
383
401
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}`, {
|
|
384
402
|
...opts,
|
|
385
403
|
method: "DELETE",
|
|
386
404
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
387
405
|
authorization,
|
|
388
406
|
"x-account-id": xAccountId,
|
|
389
|
-
"x-member-id": xMemberId
|
|
407
|
+
"x-member-id": xMemberId,
|
|
408
|
+
"x-username": xUsername
|
|
390
409
|
})
|
|
391
410
|
}));
|
|
392
411
|
}
|
|
@@ -404,7 +423,7 @@ export function existsKnowledgeSourceV1KnowledgeSourcesSlugExistsGet({ slug, aut
|
|
|
404
423
|
/**
|
|
405
424
|
* Search
|
|
406
425
|
*/
|
|
407
|
-
export function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId, xMemberId }, opts) {
|
|
426
|
+
export function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
408
427
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/similarity-search${QS.query(QS.explode({
|
|
409
428
|
q,
|
|
410
429
|
size
|
|
@@ -413,7 +432,8 @@ export function searchV1KnowledgeSourcesSlugSimilaritySearchGet({ slug, q, size,
|
|
|
413
432
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
414
433
|
authorization,
|
|
415
434
|
"x-account-id": xAccountId,
|
|
416
|
-
"x-member-id": xMemberId
|
|
435
|
+
"x-member-id": xMemberId,
|
|
436
|
+
"x-username": xUsername
|
|
417
437
|
})
|
|
418
438
|
}));
|
|
419
439
|
}
|
|
@@ -532,7 +552,7 @@ export function findSnippetDocByCustomIdV1KnowledgeSourcesSlugSnippetsIdGet({ sl
|
|
|
532
552
|
/**
|
|
533
553
|
* Vectorize Snippet Knowledge Source
|
|
534
554
|
*/
|
|
535
|
-
export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, xMemberId, snippetKnowledgeSourceRequest }, opts) {
|
|
555
|
+
export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPost({ slug, authorization, xAccountId, xMemberId, xUsername, snippetKnowledgeSourceRequest }, opts) {
|
|
536
556
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/snippets`, oazapfts.json({
|
|
537
557
|
...opts,
|
|
538
558
|
method: "POST",
|
|
@@ -540,7 +560,8 @@ export function vectorizeSnippetKnowledgeSourceV1KnowledgeSourcesSlugSnippetsPos
|
|
|
540
560
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
541
561
|
authorization,
|
|
542
562
|
"x-account-id": xAccountId,
|
|
543
|
-
"x-member-id": xMemberId
|
|
563
|
+
"x-member-id": xMemberId,
|
|
564
|
+
"x-username": xUsername
|
|
544
565
|
})
|
|
545
566
|
})));
|
|
546
567
|
}
|
|
@@ -569,7 +590,7 @@ export function findEventDocByCustomIdV1KnowledgeSourcesSlugEventsIdGet({ slug,
|
|
|
569
590
|
/**
|
|
570
591
|
* Vectorize Event Knowledge Source
|
|
571
592
|
*/
|
|
572
|
-
export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, xMemberId, body }, opts) {
|
|
593
|
+
export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({ slug, authorization, xAccountId, xMemberId, xUsername, body }, opts) {
|
|
573
594
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/events`, oazapfts.json({
|
|
574
595
|
...opts,
|
|
575
596
|
method: "POST",
|
|
@@ -577,7 +598,8 @@ export function vectorizeEventKnowledgeSourceV1KnowledgeSourcesSlugEventsPost({
|
|
|
577
598
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
578
599
|
authorization,
|
|
579
600
|
"x-account-id": xAccountId,
|
|
580
|
-
"x-member-id": xMemberId
|
|
601
|
+
"x-member-id": xMemberId,
|
|
602
|
+
"x-username": xUsername
|
|
581
603
|
})
|
|
582
604
|
})));
|
|
583
605
|
}
|
|
@@ -595,7 +617,7 @@ export function findCustomDocByCustomIdV1KnowledgeSourcesSlugCustomIdGet({ slug,
|
|
|
595
617
|
/**
|
|
596
618
|
* Vectorize Custom Knowledge Source
|
|
597
619
|
*/
|
|
598
|
-
export function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, xMemberId, customKnowledgeSourceRequest }, opts) {
|
|
620
|
+
export function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({ slug, authorization, xAccountId, xMemberId, xUsername, customKnowledgeSourceRequest }, opts) {
|
|
599
621
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/custom`, oazapfts.json({
|
|
600
622
|
...opts,
|
|
601
623
|
method: "POST",
|
|
@@ -603,7 +625,8 @@ export function vectorizeCustomKnowledgeSourceV1KnowledgeSourcesSlugCustomPost({
|
|
|
603
625
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
604
626
|
authorization,
|
|
605
627
|
"x-account-id": xAccountId,
|
|
606
|
-
"x-member-id": xMemberId
|
|
628
|
+
"x-member-id": xMemberId,
|
|
629
|
+
"x-username": xUsername
|
|
607
630
|
})
|
|
608
631
|
})));
|
|
609
632
|
}
|
|
@@ -632,7 +655,7 @@ export function searchKnowledgeSourcesV1KnowledgeSourcesSearchPost({ authorizati
|
|
|
632
655
|
/**
|
|
633
656
|
* Change Llm
|
|
634
657
|
*/
|
|
635
|
-
export function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMemberId, accountSettingsChangeLlmRequest }, opts) {
|
|
658
|
+
export function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeLlmRequest }, opts) {
|
|
636
659
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/llm", oazapfts.json({
|
|
637
660
|
...opts,
|
|
638
661
|
method: "PATCH",
|
|
@@ -640,14 +663,15 @@ export function changeLlmV1AccountsLlmPatch({ authorization, xAccountId, xMember
|
|
|
640
663
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
641
664
|
authorization,
|
|
642
665
|
"x-account-id": xAccountId,
|
|
643
|
-
"x-member-id": xMemberId
|
|
666
|
+
"x-member-id": xMemberId,
|
|
667
|
+
"x-username": xUsername
|
|
644
668
|
})
|
|
645
669
|
})));
|
|
646
670
|
}
|
|
647
671
|
/**
|
|
648
672
|
* Change Limit
|
|
649
673
|
*/
|
|
650
|
-
export function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, xMemberId, accountSettingsChangeLimitRequest }, opts) {
|
|
674
|
+
export function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeLimitRequest }, opts) {
|
|
651
675
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/token-limits", oazapfts.json({
|
|
652
676
|
...opts,
|
|
653
677
|
method: "PUT",
|
|
@@ -655,28 +679,30 @@ export function changeLimitV1AccountsTokenLimitsPut({ authorization, xAccountId,
|
|
|
655
679
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
656
680
|
authorization,
|
|
657
681
|
"x-account-id": xAccountId,
|
|
658
|
-
"x-member-id": xMemberId
|
|
682
|
+
"x-member-id": xMemberId,
|
|
683
|
+
"x-username": xUsername
|
|
659
684
|
})
|
|
660
685
|
})));
|
|
661
686
|
}
|
|
662
687
|
/**
|
|
663
688
|
* Reset Limit
|
|
664
689
|
*/
|
|
665
|
-
export function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId, xMemberId }, opts) {
|
|
690
|
+
export function resetLimitV1AccountsTokenLimitsDelete({ authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
666
691
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/token-limits", {
|
|
667
692
|
...opts,
|
|
668
693
|
method: "DELETE",
|
|
669
694
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
670
695
|
authorization,
|
|
671
696
|
"x-account-id": xAccountId,
|
|
672
|
-
"x-member-id": xMemberId
|
|
697
|
+
"x-member-id": xMemberId,
|
|
698
|
+
"x-username": xUsername
|
|
673
699
|
})
|
|
674
700
|
}));
|
|
675
701
|
}
|
|
676
702
|
/**
|
|
677
703
|
* Change External Rqc
|
|
678
704
|
*/
|
|
679
|
-
export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, xMemberId, accountSettingsChangeErqcRequest }, opts) {
|
|
705
|
+
export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAccountId, xMemberId, xUsername, accountSettingsChangeErqcRequest }, opts) {
|
|
680
706
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/external-rqc", oazapfts.json({
|
|
681
707
|
...opts,
|
|
682
708
|
method: "PATCH",
|
|
@@ -684,7 +710,8 @@ export function changeExternalRqcV1AccountsExternalRqcPatch({ authorization, xAc
|
|
|
684
710
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
685
711
|
authorization,
|
|
686
712
|
"x-account-id": xAccountId,
|
|
687
|
-
"x-member-id": xMemberId
|
|
713
|
+
"x-member-id": xMemberId,
|
|
714
|
+
"x-username": xUsername
|
|
688
715
|
})
|
|
689
716
|
})));
|
|
690
717
|
}
|
|
@@ -709,28 +736,35 @@ export function changeExternalConfigsV1AccountsExternalConfigPatch({ body }, opt
|
|
|
709
736
|
/**
|
|
710
737
|
* Tokens Usage
|
|
711
738
|
*/
|
|
712
|
-
export function tokensUsageV1AccountsTokensUsageGet(opts) {
|
|
739
|
+
export function tokensUsageV1AccountsTokensUsageGet({ authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
713
740
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/tokens-usage", {
|
|
714
|
-
...opts
|
|
741
|
+
...opts,
|
|
742
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
743
|
+
authorization,
|
|
744
|
+
"x-account-id": xAccountId,
|
|
745
|
+
"x-member-id": xMemberId,
|
|
746
|
+
"x-username": xUsername
|
|
747
|
+
})
|
|
715
748
|
}));
|
|
716
749
|
}
|
|
717
750
|
/**
|
|
718
|
-
*
|
|
751
|
+
* Total
|
|
719
752
|
*/
|
|
720
|
-
export function
|
|
753
|
+
export function totalV1TokensUsageTotalGet({ authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
721
754
|
return oazapfts.ok(oazapfts.fetchJson("/v1/tokens-usage/total", {
|
|
722
755
|
...opts,
|
|
723
756
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
724
757
|
authorization,
|
|
725
758
|
"x-account-id": xAccountId,
|
|
726
|
-
"x-member-id": xMemberId
|
|
759
|
+
"x-member-id": xMemberId,
|
|
760
|
+
"x-username": xUsername
|
|
727
761
|
})
|
|
728
762
|
}));
|
|
729
763
|
}
|
|
730
764
|
/**
|
|
731
765
|
* Current
|
|
732
766
|
*/
|
|
733
|
-
export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId }, opts) {
|
|
767
|
+
export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
734
768
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/tokens-usage/current${QS.query(QS.explode({
|
|
735
769
|
year,
|
|
736
770
|
month
|
|
@@ -739,14 +773,15 @@ export function currentV1TokensUsageCurrentGet({ year, month, authorization, xAc
|
|
|
739
773
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
740
774
|
authorization,
|
|
741
775
|
"x-account-id": xAccountId,
|
|
742
|
-
"x-member-id": xMemberId
|
|
776
|
+
"x-member-id": xMemberId,
|
|
777
|
+
"x-username": xUsername
|
|
743
778
|
})
|
|
744
779
|
}));
|
|
745
780
|
}
|
|
746
781
|
/**
|
|
747
782
|
* Monthly
|
|
748
783
|
*/
|
|
749
|
-
export function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId, xMemberId }, opts) {
|
|
784
|
+
export function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
750
785
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/tokens-usage/monthly${QS.query(QS.explode({
|
|
751
786
|
year
|
|
752
787
|
}))}`, {
|
|
@@ -754,14 +789,15 @@ export function monthlyV1TokensUsageMonthlyGet({ year, authorization, xAccountId
|
|
|
754
789
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
755
790
|
authorization,
|
|
756
791
|
"x-account-id": xAccountId,
|
|
757
|
-
"x-member-id": xMemberId
|
|
792
|
+
"x-member-id": xMemberId,
|
|
793
|
+
"x-username": xUsername
|
|
758
794
|
})
|
|
759
795
|
}));
|
|
760
796
|
}
|
|
761
797
|
/**
|
|
762
798
|
* Top Users
|
|
763
799
|
*/
|
|
764
|
-
export function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId, xMemberId }, opts) {
|
|
800
|
+
export function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
765
801
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/tokens-usage/top-users${QS.query(QS.explode({
|
|
766
802
|
year,
|
|
767
803
|
month
|
|
@@ -770,14 +806,15 @@ export function topUsersV1TokensUsageTopUsersGet({ year, month, authorization, x
|
|
|
770
806
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
771
807
|
authorization,
|
|
772
808
|
"x-account-id": xAccountId,
|
|
773
|
-
"x-member-id": xMemberId
|
|
809
|
+
"x-member-id": xMemberId,
|
|
810
|
+
"x-username": xUsername
|
|
774
811
|
})
|
|
775
812
|
}));
|
|
776
813
|
}
|
|
777
814
|
/**
|
|
778
815
|
* Add Association
|
|
779
816
|
*/
|
|
780
|
-
export function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, xMemberId, addWorkspaceKnowledgeSourceRequest }, opts) {
|
|
817
|
+
export function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authorization, xAccountId, xMemberId, xUsername, addWorkspaceKnowledgeSourceRequest }, opts) {
|
|
781
818
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/workspace/${encodeURIComponent(workspaceId)}`, oazapfts.json({
|
|
782
819
|
...opts,
|
|
783
820
|
method: "POST",
|
|
@@ -785,41 +822,44 @@ export function addAssociationV1WorkspaceWorkspaceIdPost({ workspaceId, authoriz
|
|
|
785
822
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
786
823
|
authorization,
|
|
787
824
|
"x-account-id": xAccountId,
|
|
788
|
-
"x-member-id": xMemberId
|
|
825
|
+
"x-member-id": xMemberId,
|
|
826
|
+
"x-username": xUsername
|
|
789
827
|
})
|
|
790
828
|
})));
|
|
791
829
|
}
|
|
792
830
|
/**
|
|
793
831
|
* List Association
|
|
794
832
|
*/
|
|
795
|
-
export function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId }, opts) {
|
|
833
|
+
export function listAssociationV1WorkspaceWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
796
834
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/workspace/${encodeURIComponent(workspaceId)}`, {
|
|
797
835
|
...opts,
|
|
798
836
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
799
837
|
authorization,
|
|
800
838
|
"x-account-id": xAccountId,
|
|
801
|
-
"x-member-id": xMemberId
|
|
839
|
+
"x-member-id": xMemberId,
|
|
840
|
+
"x-username": xUsername
|
|
802
841
|
})
|
|
803
842
|
}));
|
|
804
843
|
}
|
|
805
844
|
/**
|
|
806
845
|
* Delete Association
|
|
807
846
|
*/
|
|
808
|
-
export function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId, xMemberId }, opts) {
|
|
847
|
+
export function deleteAssociationV1WorkspaceWorkspaceIdKnowledgeSourceKnowledgeSourceSlugDelete({ workspaceId, knowledgeSourceSlug, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
809
848
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/workspace/${encodeURIComponent(workspaceId)}/knowledge_source/${encodeURIComponent(knowledgeSourceSlug)}`, {
|
|
810
849
|
...opts,
|
|
811
850
|
method: "DELETE",
|
|
812
851
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
813
852
|
authorization,
|
|
814
853
|
"x-account-id": xAccountId,
|
|
815
|
-
"x-member-id": xMemberId
|
|
854
|
+
"x-member-id": xMemberId,
|
|
855
|
+
"x-username": xUsername
|
|
816
856
|
})
|
|
817
857
|
}));
|
|
818
858
|
}
|
|
819
859
|
/**
|
|
820
860
|
* Workspace Fork
|
|
821
861
|
*/
|
|
822
|
-
export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, xMemberId, quickCommandWorkspaceForkRequest }, opts) {
|
|
862
|
+
export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceForkRequest }, opts) {
|
|
823
863
|
return oazapfts.ok(oazapfts.fetchJson("/v1/quick-commands/workspace/fork", oazapfts.json({
|
|
824
864
|
...opts,
|
|
825
865
|
method: "POST",
|
|
@@ -827,14 +867,15 @@ export function workspaceForkV1QuickCommandsWorkspaceForkPost({ authorization, x
|
|
|
827
867
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
828
868
|
authorization,
|
|
829
869
|
"x-account-id": xAccountId,
|
|
830
|
-
"x-member-id": xMemberId
|
|
870
|
+
"x-member-id": xMemberId,
|
|
871
|
+
"x-username": xUsername
|
|
831
872
|
})
|
|
832
873
|
})));
|
|
833
874
|
}
|
|
834
875
|
/**
|
|
835
876
|
* Workspace Delete Fork
|
|
836
877
|
*/
|
|
837
|
-
export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, xMemberId, quickCommandWorkspaceDeleteRequest }, opts) {
|
|
878
|
+
export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceDeleteRequest }, opts) {
|
|
838
879
|
return oazapfts.ok(oazapfts.fetchJson("/v1/quick-commands/workspace/fork", oazapfts.json({
|
|
839
880
|
...opts,
|
|
840
881
|
method: "DELETE",
|
|
@@ -842,14 +883,15 @@ export function workspaceDeleteForkV1QuickCommandsWorkspaceForkDelete({ authoriz
|
|
|
842
883
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
843
884
|
authorization,
|
|
844
885
|
"x-account-id": xAccountId,
|
|
845
|
-
"x-member-id": xMemberId
|
|
886
|
+
"x-member-id": xMemberId,
|
|
887
|
+
"x-username": xUsername
|
|
846
888
|
})
|
|
847
889
|
})));
|
|
848
890
|
}
|
|
849
891
|
/**
|
|
850
892
|
* Workspace List
|
|
851
893
|
*/
|
|
852
|
-
export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, xMemberId, quickCommandWorkspaceListRequest }, opts) {
|
|
894
|
+
export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandWorkspaceListRequest }, opts) {
|
|
853
895
|
return oazapfts.ok(oazapfts.fetchJson("/v1/quick-commands/workspace/list", oazapfts.json({
|
|
854
896
|
...opts,
|
|
855
897
|
method: "POST",
|
|
@@ -857,14 +899,15 @@ export function workspaceListV1QuickCommandsWorkspaceListPost({ authorization, x
|
|
|
857
899
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
858
900
|
authorization,
|
|
859
901
|
"x-account-id": xAccountId,
|
|
860
|
-
"x-member-id": xMemberId
|
|
902
|
+
"x-member-id": xMemberId,
|
|
903
|
+
"x-username": xUsername
|
|
861
904
|
})
|
|
862
905
|
})));
|
|
863
906
|
}
|
|
864
907
|
/**
|
|
865
908
|
* Create Quick Command
|
|
866
909
|
*/
|
|
867
|
-
export function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, xMemberId, quickCommandsCreateRequest }, opts) {
|
|
910
|
+
export function createQuickCommandV1QuickCommandsPost({ authorization, xAccountId, xMemberId, xUsername, quickCommandsCreateRequest }, opts) {
|
|
868
911
|
return oazapfts.ok(oazapfts.fetchJson("/v1/quick-commands", oazapfts.json({
|
|
869
912
|
...opts,
|
|
870
913
|
method: "POST",
|
|
@@ -872,14 +915,15 @@ export function createQuickCommandV1QuickCommandsPost({ authorization, xAccountI
|
|
|
872
915
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
873
916
|
authorization,
|
|
874
917
|
"x-account-id": xAccountId,
|
|
875
|
-
"x-member-id": xMemberId
|
|
918
|
+
"x-member-id": xMemberId,
|
|
919
|
+
"x-username": xUsername
|
|
876
920
|
})
|
|
877
921
|
})));
|
|
878
922
|
}
|
|
879
923
|
/**
|
|
880
924
|
* List All
|
|
881
925
|
*/
|
|
882
|
-
export function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId }, opts) {
|
|
926
|
+
export function listAllV1QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
883
927
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/all${QS.query(QS.explode({
|
|
884
928
|
visibility,
|
|
885
929
|
order,
|
|
@@ -889,14 +933,15 @@ export function listAllV1QuickCommandsAllGet({ visibility, order, types, authori
|
|
|
889
933
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
890
934
|
authorization,
|
|
891
935
|
"x-account-id": xAccountId,
|
|
892
|
-
"x-member-id": xMemberId
|
|
936
|
+
"x-member-id": xMemberId,
|
|
937
|
+
"x-username": xUsername
|
|
893
938
|
})
|
|
894
939
|
}));
|
|
895
940
|
}
|
|
896
941
|
/**
|
|
897
942
|
* Update Quick Command
|
|
898
943
|
*/
|
|
899
|
-
export function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, xMemberId, quickCommandsUpdateRequest }, opts) {
|
|
944
|
+
export function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsUpdateRequest }, opts) {
|
|
900
945
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}`, oazapfts.json({
|
|
901
946
|
...opts,
|
|
902
947
|
method: "PATCH",
|
|
@@ -904,14 +949,15 @@ export function updateQuickCommandV1QuickCommandsSlugPatch({ slug, authorization
|
|
|
904
949
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
905
950
|
authorization,
|
|
906
951
|
"x-account-id": xAccountId,
|
|
907
|
-
"x-member-id": xMemberId
|
|
952
|
+
"x-member-id": xMemberId,
|
|
953
|
+
"x-username": xUsername
|
|
908
954
|
})
|
|
909
955
|
})));
|
|
910
956
|
}
|
|
911
957
|
/**
|
|
912
958
|
* Get Quick Command
|
|
913
959
|
*/
|
|
914
|
-
export function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId, xMemberId }, opts) {
|
|
960
|
+
export function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
915
961
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}${QS.query(QS.explode({
|
|
916
962
|
find_agents: findAgents
|
|
917
963
|
}))}`, {
|
|
@@ -919,70 +965,75 @@ export function getQuickCommandV1QuickCommandsSlugGet({ slug, findAgents, author
|
|
|
919
965
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
920
966
|
authorization,
|
|
921
967
|
"x-account-id": xAccountId,
|
|
922
|
-
"x-member-id": xMemberId
|
|
968
|
+
"x-member-id": xMemberId,
|
|
969
|
+
"x-username": xUsername
|
|
923
970
|
})
|
|
924
971
|
}));
|
|
925
972
|
}
|
|
926
973
|
/**
|
|
927
974
|
* Delete Quick Command
|
|
928
975
|
*/
|
|
929
|
-
export function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId, xMemberId }, opts) {
|
|
976
|
+
export function deleteQuickCommandV1QuickCommandsSlugDelete({ slug, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
930
977
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}`, {
|
|
931
978
|
...opts,
|
|
932
979
|
method: "DELETE",
|
|
933
980
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
934
981
|
authorization,
|
|
935
982
|
"x-account-id": xAccountId,
|
|
936
|
-
"x-member-id": xMemberId
|
|
983
|
+
"x-member-id": xMemberId,
|
|
984
|
+
"x-username": xUsername
|
|
937
985
|
})
|
|
938
986
|
}));
|
|
939
987
|
}
|
|
940
988
|
/**
|
|
941
989
|
* Add Favorite
|
|
942
990
|
*/
|
|
943
|
-
export function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization, xAccountId, xMemberId }, opts) {
|
|
991
|
+
export function addFavoriteV1QuickCommandsSlugFavoritePost({ slug, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
944
992
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/favorite`, {
|
|
945
993
|
...opts,
|
|
946
994
|
method: "POST",
|
|
947
995
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
948
996
|
authorization,
|
|
949
997
|
"x-account-id": xAccountId,
|
|
950
|
-
"x-member-id": xMemberId
|
|
998
|
+
"x-member-id": xMemberId,
|
|
999
|
+
"x-username": xUsername
|
|
951
1000
|
})
|
|
952
1001
|
}));
|
|
953
1002
|
}
|
|
954
1003
|
/**
|
|
955
1004
|
* Delete Favorite
|
|
956
1005
|
*/
|
|
957
|
-
export function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authorization, xAccountId, xMemberId }, opts) {
|
|
1006
|
+
export function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
958
1007
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/favorite`, {
|
|
959
1008
|
...opts,
|
|
960
1009
|
method: "DELETE",
|
|
961
1010
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
962
1011
|
authorization,
|
|
963
1012
|
"x-account-id": xAccountId,
|
|
964
|
-
"x-member-id": xMemberId
|
|
1013
|
+
"x-member-id": xMemberId,
|
|
1014
|
+
"x-username": xUsername
|
|
965
1015
|
})
|
|
966
1016
|
}));
|
|
967
1017
|
}
|
|
968
1018
|
/**
|
|
969
1019
|
* Share
|
|
970
1020
|
*/
|
|
971
|
-
export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId }, opts) {
|
|
1021
|
+
export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
972
1022
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/share`, {
|
|
973
1023
|
...opts,
|
|
974
1024
|
method: "POST",
|
|
975
1025
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
976
1026
|
authorization,
|
|
977
1027
|
"x-account-id": xAccountId,
|
|
978
|
-
"x-member-id": xMemberId
|
|
1028
|
+
"x-member-id": xMemberId,
|
|
1029
|
+
"x-username": xUsername
|
|
979
1030
|
})
|
|
980
1031
|
}));
|
|
981
1032
|
}
|
|
982
1033
|
/**
|
|
983
1034
|
* Publish
|
|
984
1035
|
*/
|
|
985
|
-
export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, quickCommandPublishRequest }, opts) {
|
|
1036
|
+
export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandPublishRequest }, opts) {
|
|
986
1037
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/publish`, oazapfts.json({
|
|
987
1038
|
...opts,
|
|
988
1039
|
method: "POST",
|
|
@@ -990,14 +1041,15 @@ export function publishV1QuickCommandsSlugPublishPost({ slug, authorization, xAc
|
|
|
990
1041
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
991
1042
|
authorization,
|
|
992
1043
|
"x-account-id": xAccountId,
|
|
993
|
-
"x-member-id": xMemberId
|
|
1044
|
+
"x-member-id": xMemberId,
|
|
1045
|
+
"x-username": xUsername
|
|
994
1046
|
})
|
|
995
1047
|
})));
|
|
996
1048
|
}
|
|
997
1049
|
/**
|
|
998
1050
|
* Fork
|
|
999
1051
|
*/
|
|
1000
|
-
export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, xMemberId, quickCommandsMakeACopyRequest }, opts) {
|
|
1052
|
+
export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsMakeACopyRequest }, opts) {
|
|
1001
1053
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/fork`, oazapfts.json({
|
|
1002
1054
|
...opts,
|
|
1003
1055
|
method: "POST",
|
|
@@ -1005,80 +1057,86 @@ export function forkV1QuickCommandsSlugForkPost({ slug, authorization, xAccountI
|
|
|
1005
1057
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1006
1058
|
authorization,
|
|
1007
1059
|
"x-account-id": xAccountId,
|
|
1008
|
-
"x-member-id": xMemberId
|
|
1060
|
+
"x-member-id": xMemberId,
|
|
1061
|
+
"x-username": xUsername
|
|
1009
1062
|
})
|
|
1010
1063
|
})));
|
|
1011
1064
|
}
|
|
1012
1065
|
/**
|
|
1013
|
-
*
|
|
1066
|
+
* Check Quick Command Exists
|
|
1014
1067
|
*/
|
|
1015
|
-
export function
|
|
1068
|
+
export function checkQuickCommandExistsV1QuickCommandsSlugExistsGet({ slug, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1016
1069
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/exists`, {
|
|
1017
1070
|
...opts,
|
|
1018
1071
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1019
1072
|
authorization,
|
|
1020
1073
|
"x-account-id": xAccountId,
|
|
1021
|
-
"x-member-id": xMemberId
|
|
1074
|
+
"x-member-id": xMemberId,
|
|
1075
|
+
"x-username": xUsername
|
|
1022
1076
|
})
|
|
1023
1077
|
}));
|
|
1024
1078
|
}
|
|
1025
1079
|
/**
|
|
1026
1080
|
* Get Quick Command By Ks Slug
|
|
1027
1081
|
*/
|
|
1028
|
-
export function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId, xMemberId }, opts) {
|
|
1082
|
+
export function getQuickCommandByKsSlugV1QuickCommandsKnowledgeSourcesSlugGet({ slug, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1029
1083
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/knowledge-sources/${encodeURIComponent(slug)}`, {
|
|
1030
1084
|
...opts,
|
|
1031
1085
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1032
1086
|
authorization,
|
|
1033
1087
|
"x-account-id": xAccountId,
|
|
1034
|
-
"x-member-id": xMemberId
|
|
1088
|
+
"x-member-id": xMemberId,
|
|
1089
|
+
"x-username": xUsername
|
|
1035
1090
|
})
|
|
1036
1091
|
}));
|
|
1037
1092
|
}
|
|
1038
1093
|
/**
|
|
1039
1094
|
* Get Quick Commands By Agent Id
|
|
1040
1095
|
*/
|
|
1041
|
-
export function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId, xMemberId }, opts) {
|
|
1096
|
+
export function getQuickCommandsByAgentIdV1QuickCommandsAgentsAgentIdGet({ agentId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1042
1097
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/agents/${encodeURIComponent(agentId)}`, {
|
|
1043
1098
|
...opts,
|
|
1044
1099
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1045
1100
|
authorization,
|
|
1046
1101
|
"x-account-id": xAccountId,
|
|
1047
|
-
"x-member-id": xMemberId
|
|
1102
|
+
"x-member-id": xMemberId,
|
|
1103
|
+
"x-username": xUsername
|
|
1048
1104
|
})
|
|
1049
1105
|
}));
|
|
1050
1106
|
}
|
|
1051
1107
|
/**
|
|
1052
1108
|
* Disassociate Agent
|
|
1053
1109
|
*/
|
|
1054
|
-
export function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId, xMemberId }, opts) {
|
|
1110
|
+
export function disassociateAgentV1QuickCommandsAgentsAgentIdDelete({ agentId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1055
1111
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/agents/${encodeURIComponent(agentId)}`, {
|
|
1056
1112
|
...opts,
|
|
1057
1113
|
method: "DELETE",
|
|
1058
1114
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1059
1115
|
authorization,
|
|
1060
1116
|
"x-account-id": xAccountId,
|
|
1061
|
-
"x-member-id": xMemberId
|
|
1117
|
+
"x-member-id": xMemberId,
|
|
1118
|
+
"x-username": xUsername
|
|
1062
1119
|
})
|
|
1063
1120
|
}));
|
|
1064
1121
|
}
|
|
1065
1122
|
/**
|
|
1066
1123
|
* List By Workspace Id
|
|
1067
1124
|
*/
|
|
1068
|
-
export function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId }, opts) {
|
|
1125
|
+
export function listByWorkspaceIdV1QuickCommandsWorkspacesWorkspaceIdGet({ workspaceId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1069
1126
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/workspaces/${encodeURIComponent(workspaceId)}`, {
|
|
1070
1127
|
...opts,
|
|
1071
1128
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1072
1129
|
authorization,
|
|
1073
1130
|
"x-account-id": xAccountId,
|
|
1074
|
-
"x-member-id": xMemberId
|
|
1131
|
+
"x-member-id": xMemberId,
|
|
1132
|
+
"x-username": xUsername
|
|
1075
1133
|
})
|
|
1076
1134
|
}));
|
|
1077
1135
|
}
|
|
1078
1136
|
/**
|
|
1079
1137
|
* Format Fetch Step
|
|
1080
1138
|
*/
|
|
1081
|
-
export function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }, opts) {
|
|
1139
|
+
export function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }, opts) {
|
|
1082
1140
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/steps/${encodeURIComponent(stepSlug)}/fetch_format`, oazapfts.json({
|
|
1083
1141
|
...opts,
|
|
1084
1142
|
method: "POST",
|
|
@@ -1086,14 +1144,15 @@ export function formatFetchStepV1QuickCommandsSlugStepsStepSlugFetchFormatPost({
|
|
|
1086
1144
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1087
1145
|
authorization,
|
|
1088
1146
|
"x-account-id": xAccountId,
|
|
1089
|
-
"x-member-id": xMemberId
|
|
1147
|
+
"x-member-id": xMemberId,
|
|
1148
|
+
"x-username": xUsername
|
|
1090
1149
|
})
|
|
1091
1150
|
})));
|
|
1092
1151
|
}
|
|
1093
1152
|
/**
|
|
1094
1153
|
* Format Result
|
|
1095
1154
|
*/
|
|
1096
|
-
export function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }, opts) {
|
|
1155
|
+
export function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }, opts) {
|
|
1097
1156
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/result_format`, oazapfts.json({
|
|
1098
1157
|
...opts,
|
|
1099
1158
|
method: "POST",
|
|
@@ -1101,14 +1160,15 @@ export function formatResultV1QuickCommandsSlugResultFormatPost({ slug, authoriz
|
|
|
1101
1160
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1102
1161
|
authorization,
|
|
1103
1162
|
"x-account-id": xAccountId,
|
|
1104
|
-
"x-member-id": xMemberId
|
|
1163
|
+
"x-member-id": xMemberId,
|
|
1164
|
+
"x-username": xUsername
|
|
1105
1165
|
})
|
|
1106
1166
|
})));
|
|
1107
1167
|
}
|
|
1108
1168
|
/**
|
|
1109
1169
|
* Calculates the next route for a ROUTER step
|
|
1110
1170
|
*/
|
|
1111
|
-
export function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextStepPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandEvaluateStepRouterRequest }, opts) {
|
|
1171
|
+
export function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextStepPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandEvaluateStepRouterRequest }, opts) {
|
|
1112
1172
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/steps/${encodeURIComponent(stepSlug)}/calculate_next_step`, oazapfts.json({
|
|
1113
1173
|
...opts,
|
|
1114
1174
|
method: "POST",
|
|
@@ -1116,42 +1176,45 @@ export function calculateNextStepV1QuickCommandsSlugStepsStepSlugCalculateNextSt
|
|
|
1116
1176
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1117
1177
|
authorization,
|
|
1118
1178
|
"x-account-id": xAccountId,
|
|
1119
|
-
"x-member-id": xMemberId
|
|
1179
|
+
"x-member-id": xMemberId,
|
|
1180
|
+
"x-username": xUsername
|
|
1120
1181
|
})
|
|
1121
1182
|
})));
|
|
1122
1183
|
}
|
|
1123
1184
|
/**
|
|
1124
1185
|
* Add Workspace
|
|
1125
1186
|
*/
|
|
1126
|
-
export function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId, xMemberId }, opts) {
|
|
1187
|
+
export function addWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdAddPost({ slug, workspaceId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1127
1188
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/workspaces/${encodeURIComponent(workspaceId)}/add`, {
|
|
1128
1189
|
...opts,
|
|
1129
1190
|
method: "POST",
|
|
1130
1191
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1131
1192
|
authorization,
|
|
1132
1193
|
"x-account-id": xAccountId,
|
|
1133
|
-
"x-member-id": xMemberId
|
|
1194
|
+
"x-member-id": xMemberId,
|
|
1195
|
+
"x-username": xUsername
|
|
1134
1196
|
})
|
|
1135
1197
|
}));
|
|
1136
1198
|
}
|
|
1137
1199
|
/**
|
|
1138
1200
|
* Remove Workspace
|
|
1139
1201
|
*/
|
|
1140
|
-
export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId, xMemberId }, opts) {
|
|
1202
|
+
export function removeWorkspaceV1QuickCommandsSlugWorkspacesWorkspaceIdRemoveDelete({ slug, workspaceId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1141
1203
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/workspaces/${encodeURIComponent(workspaceId)}/remove`, {
|
|
1142
1204
|
...opts,
|
|
1143
1205
|
method: "DELETE",
|
|
1144
1206
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1145
1207
|
authorization,
|
|
1146
1208
|
"x-account-id": xAccountId,
|
|
1147
|
-
"x-member-id": xMemberId
|
|
1209
|
+
"x-member-id": xMemberId,
|
|
1210
|
+
"x-username": xUsername
|
|
1148
1211
|
})
|
|
1149
1212
|
}));
|
|
1150
1213
|
}
|
|
1151
1214
|
/**
|
|
1152
1215
|
* Create Execution
|
|
1153
1216
|
*/
|
|
1154
|
-
export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, quickCommandCreateRequest }, opts) {
|
|
1217
|
+
export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, conversationId, authorization, xAccountId, xMemberId, xUsername, quickCommandCreateRequest }, opts) {
|
|
1155
1218
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/create-execution/${encodeURIComponent(slug)}${QS.query(QS.explode({
|
|
1156
1219
|
conversation_id: conversationId
|
|
1157
1220
|
}))}`, oazapfts.json({
|
|
@@ -1161,14 +1224,15 @@ export function createExecutionV1QuickCommandsCreateExecutionSlugPost({ slug, co
|
|
|
1161
1224
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1162
1225
|
authorization,
|
|
1163
1226
|
"x-account-id": xAccountId,
|
|
1164
|
-
"x-member-id": xMemberId
|
|
1227
|
+
"x-member-id": xMemberId,
|
|
1228
|
+
"x-username": xUsername
|
|
1165
1229
|
})
|
|
1166
1230
|
})));
|
|
1167
1231
|
}
|
|
1168
1232
|
/**
|
|
1169
1233
|
* Triggers asynchronous execution of a Remote Quick Command
|
|
1170
1234
|
*/
|
|
1171
|
-
export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, authorization, xAccountId, xMemberId, quickCommandExecutionRequest }, opts) {
|
|
1235
|
+
export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, authorization, xAccountId, xMemberId, xUsername, quickCommandExecutionRequest }, opts) {
|
|
1172
1236
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/execute/${encodeURIComponent(executionId)}`, oazapfts.json({
|
|
1173
1237
|
...opts,
|
|
1174
1238
|
method: "POST",
|
|
@@ -1176,27 +1240,29 @@ export function executeV1QuickCommandsExecuteExecutionIdPost({ executionId, auth
|
|
|
1176
1240
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1177
1241
|
authorization,
|
|
1178
1242
|
"x-account-id": xAccountId,
|
|
1179
|
-
"x-member-id": xMemberId
|
|
1243
|
+
"x-member-id": xMemberId,
|
|
1244
|
+
"x-username": xUsername
|
|
1180
1245
|
})
|
|
1181
1246
|
})));
|
|
1182
1247
|
}
|
|
1183
1248
|
/**
|
|
1184
1249
|
* Callback
|
|
1185
1250
|
*/
|
|
1186
|
-
export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId }, opts) {
|
|
1251
|
+
export function callbackV1QuickCommandsCallbackExecutionIdGet({ executionId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1187
1252
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/callback/${encodeURIComponent(executionId)}`, {
|
|
1188
1253
|
...opts,
|
|
1189
1254
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1190
1255
|
authorization,
|
|
1191
1256
|
"x-account-id": xAccountId,
|
|
1192
|
-
"x-member-id": xMemberId
|
|
1257
|
+
"x-member-id": xMemberId,
|
|
1258
|
+
"x-username": xUsername
|
|
1193
1259
|
})
|
|
1194
1260
|
}));
|
|
1195
1261
|
}
|
|
1196
1262
|
/**
|
|
1197
1263
|
* Run Fetch Step
|
|
1198
1264
|
*/
|
|
1199
|
-
export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }, opts) {
|
|
1265
|
+
export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }, opts) {
|
|
1200
1266
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/steps/${encodeURIComponent(stepSlug)}/fetch_run`, oazapfts.json({
|
|
1201
1267
|
...opts,
|
|
1202
1268
|
method: "POST",
|
|
@@ -1204,14 +1270,45 @@ export function runFetchStepV1QuickCommandsSlugStepsStepSlugFetchRunPost({ slug,
|
|
|
1204
1270
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1205
1271
|
authorization,
|
|
1206
1272
|
"x-account-id": xAccountId,
|
|
1207
|
-
"x-member-id": xMemberId
|
|
1273
|
+
"x-member-id": xMemberId,
|
|
1274
|
+
"x-username": xUsername
|
|
1275
|
+
})
|
|
1276
|
+
})));
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* Starts the execution of a step with a user defined script
|
|
1280
|
+
*/
|
|
1281
|
+
export function startScriptStepV1QuickCommandsSlugStepsStepSlugStartScriptPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandStartScriptRequest }, opts) {
|
|
1282
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/${encodeURIComponent(slug)}/steps/${encodeURIComponent(stepSlug)}/start-script`, oazapfts.json({
|
|
1283
|
+
...opts,
|
|
1284
|
+
method: "POST",
|
|
1285
|
+
body: quickCommandStartScriptRequest,
|
|
1286
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1287
|
+
authorization,
|
|
1288
|
+
"x-account-id": xAccountId,
|
|
1289
|
+
"x-member-id": xMemberId,
|
|
1290
|
+
"x-username": xUsername
|
|
1208
1291
|
})
|
|
1209
1292
|
})));
|
|
1210
1293
|
}
|
|
1294
|
+
/**
|
|
1295
|
+
* Get the status of a script execution step
|
|
1296
|
+
*/
|
|
1297
|
+
export function getScriptExecutionStatusV1QuickCommandsScriptExecutionsScriptExecutionIdGet({ scriptExecutionId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1298
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v1/quick-commands/script-executions/${encodeURIComponent(scriptExecutionId)}`, {
|
|
1299
|
+
...opts,
|
|
1300
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1301
|
+
authorization,
|
|
1302
|
+
"x-account-id": xAccountId,
|
|
1303
|
+
"x-member-id": xMemberId,
|
|
1304
|
+
"x-username": xUsername
|
|
1305
|
+
})
|
|
1306
|
+
}));
|
|
1307
|
+
}
|
|
1211
1308
|
/**
|
|
1212
1309
|
* List Conversations
|
|
1213
1310
|
*/
|
|
1214
|
-
export function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId, xMemberId }, opts) {
|
|
1311
|
+
export function listConversationsV1ConversationsGet({ size, page, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1215
1312
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/conversations${QS.query(QS.explode({
|
|
1216
1313
|
size,
|
|
1217
1314
|
page
|
|
@@ -1220,27 +1317,29 @@ export function listConversationsV1ConversationsGet({ size, page, authorization,
|
|
|
1220
1317
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1221
1318
|
authorization,
|
|
1222
1319
|
"x-account-id": xAccountId,
|
|
1223
|
-
"x-member-id": xMemberId
|
|
1320
|
+
"x-member-id": xMemberId,
|
|
1321
|
+
"x-username": xUsername
|
|
1224
1322
|
})
|
|
1225
1323
|
}));
|
|
1226
1324
|
}
|
|
1227
1325
|
/**
|
|
1228
1326
|
* Conversation History
|
|
1229
1327
|
*/
|
|
1230
|
-
export function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId, xMemberId }, opts) {
|
|
1328
|
+
export function conversationHistoryV1ConversationsConversationIdGet({ conversationId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1231
1329
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/conversations/${encodeURIComponent(conversationId)}`, {
|
|
1232
1330
|
...opts,
|
|
1233
1331
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1234
1332
|
authorization,
|
|
1235
1333
|
"x-account-id": xAccountId,
|
|
1236
|
-
"x-member-id": xMemberId
|
|
1334
|
+
"x-member-id": xMemberId,
|
|
1335
|
+
"x-username": xUsername
|
|
1237
1336
|
})
|
|
1238
1337
|
}));
|
|
1239
1338
|
}
|
|
1240
1339
|
/**
|
|
1241
1340
|
* Update Title
|
|
1242
1341
|
*/
|
|
1243
|
-
export function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, xMemberId, conversationUpdateTitleRequest }, opts) {
|
|
1342
|
+
export function updateTitleV1ConversationsConversationIdPatch({ conversationId, authorization, xAccountId, xMemberId, xUsername, conversationUpdateTitleRequest }, opts) {
|
|
1244
1343
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/conversations/${encodeURIComponent(conversationId)}`, oazapfts.json({
|
|
1245
1344
|
...opts,
|
|
1246
1345
|
method: "PATCH",
|
|
@@ -1248,34 +1347,37 @@ export function updateTitleV1ConversationsConversationIdPatch({ conversationId,
|
|
|
1248
1347
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1249
1348
|
authorization,
|
|
1250
1349
|
"x-account-id": xAccountId,
|
|
1251
|
-
"x-member-id": xMemberId
|
|
1350
|
+
"x-member-id": xMemberId,
|
|
1351
|
+
"x-username": xUsername
|
|
1252
1352
|
})
|
|
1253
1353
|
})));
|
|
1254
1354
|
}
|
|
1255
1355
|
/**
|
|
1256
1356
|
* Delete Conversation
|
|
1257
1357
|
*/
|
|
1258
|
-
export function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId, xMemberId }, opts) {
|
|
1358
|
+
export function deleteConversationV1ConversationsConversationIdDelete({ conversationId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1259
1359
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/conversations/${encodeURIComponent(conversationId)}`, {
|
|
1260
1360
|
...opts,
|
|
1261
1361
|
method: "DELETE",
|
|
1262
1362
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1263
1363
|
authorization,
|
|
1264
1364
|
"x-account-id": xAccountId,
|
|
1265
|
-
"x-member-id": xMemberId
|
|
1365
|
+
"x-member-id": xMemberId,
|
|
1366
|
+
"x-username": xUsername
|
|
1266
1367
|
})
|
|
1267
1368
|
}));
|
|
1268
1369
|
}
|
|
1269
1370
|
/**
|
|
1270
1371
|
* Download Conversation
|
|
1271
1372
|
*/
|
|
1272
|
-
export function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId, xMemberId }, opts) {
|
|
1373
|
+
export function downloadConversationV1ConversationsConversationIdDownloadGet({ conversationId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1273
1374
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/conversations/${encodeURIComponent(conversationId)}/download`, {
|
|
1274
1375
|
...opts,
|
|
1275
1376
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1276
1377
|
authorization,
|
|
1277
1378
|
"x-account-id": xAccountId,
|
|
1278
|
-
"x-member-id": xMemberId
|
|
1379
|
+
"x-member-id": xMemberId,
|
|
1380
|
+
"x-username": xUsername
|
|
1279
1381
|
})
|
|
1280
1382
|
}));
|
|
1281
1383
|
}
|
|
@@ -1319,13 +1421,14 @@ export function uploadKnowledgeObjectsZipV1DefaultKnowledgeSourcesSlugObjectsBat
|
|
|
1319
1421
|
/**
|
|
1320
1422
|
* Find Knowledge Source Dependencies
|
|
1321
1423
|
*/
|
|
1322
|
-
export function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId, xMemberId }, opts) {
|
|
1424
|
+
export function findKnowledgeSourceDependenciesV1KnowledgeSourcesSlugDependenciesGet({ slug, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1323
1425
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/knowledge-sources/${encodeURIComponent(slug)}/dependencies`, {
|
|
1324
1426
|
...opts,
|
|
1325
1427
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1326
1428
|
authorization,
|
|
1327
1429
|
"x-account-id": xAccountId,
|
|
1328
|
-
"x-member-id": xMemberId
|
|
1430
|
+
"x-member-id": xMemberId,
|
|
1431
|
+
"x-username": xUsername
|
|
1329
1432
|
})
|
|
1330
1433
|
}));
|
|
1331
1434
|
}
|
|
@@ -1340,13 +1443,165 @@ export function getFlagsV1FlagsGet(opts) {
|
|
|
1340
1443
|
/**
|
|
1341
1444
|
* Get Content Dependencies
|
|
1342
1445
|
*/
|
|
1343
|
-
export function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId }, opts) {
|
|
1446
|
+
export function getContentDependenciesV1ContentContentTypeContentIdDependenciesGet({ contentType, contentId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1344
1447
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/content/${encodeURIComponent(contentType)}/${encodeURIComponent(contentId)}/dependencies`, {
|
|
1345
1448
|
...opts,
|
|
1346
1449
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1347
1450
|
authorization,
|
|
1348
1451
|
"x-account-id": xAccountId,
|
|
1349
|
-
"x-member-id": xMemberId
|
|
1452
|
+
"x-member-id": xMemberId,
|
|
1453
|
+
"x-username": xUsername
|
|
1454
|
+
})
|
|
1455
|
+
}));
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* Tokens Daily Usage
|
|
1459
|
+
*/
|
|
1460
|
+
export function tokensDailyUsageV1AnalyticsTokensDailyUsageGet({ month, year, tokenType, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1461
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v1/analytics/tokens/daily-usage${QS.query(QS.explode({
|
|
1462
|
+
month,
|
|
1463
|
+
year,
|
|
1464
|
+
token_type: tokenType
|
|
1465
|
+
}))}`, {
|
|
1466
|
+
...opts,
|
|
1467
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1468
|
+
authorization,
|
|
1469
|
+
"x-account-id": xAccountId,
|
|
1470
|
+
"x-member-id": xMemberId,
|
|
1471
|
+
"x-username": xUsername
|
|
1472
|
+
})
|
|
1473
|
+
}));
|
|
1474
|
+
}
|
|
1475
|
+
/**
|
|
1476
|
+
* Tokens By User
|
|
1477
|
+
*/
|
|
1478
|
+
export function tokensByUserV1AnalyticsTokensByUserGet({ month, year, tokenType, page, pageSize, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1479
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v1/analytics/tokens/by-user${QS.query(QS.explode({
|
|
1480
|
+
month,
|
|
1481
|
+
year,
|
|
1482
|
+
token_type: tokenType,
|
|
1483
|
+
page,
|
|
1484
|
+
page_size: pageSize
|
|
1485
|
+
}))}`, {
|
|
1486
|
+
...opts,
|
|
1487
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1488
|
+
authorization,
|
|
1489
|
+
"x-account-id": xAccountId,
|
|
1490
|
+
"x-member-id": xMemberId,
|
|
1491
|
+
"x-username": xUsername
|
|
1492
|
+
})
|
|
1493
|
+
}));
|
|
1494
|
+
}
|
|
1495
|
+
/**
|
|
1496
|
+
* Get Reviews By Resource
|
|
1497
|
+
*/
|
|
1498
|
+
export function getReviewsByResourceV1ResourcesResourceTypeSlugResourceSlugReviewsGet({ resourceSlug, resourceTypeSlug, size, page, sort, direction, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1499
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews${QS.query(QS.explode({
|
|
1500
|
+
size,
|
|
1501
|
+
page,
|
|
1502
|
+
sort,
|
|
1503
|
+
direction
|
|
1504
|
+
}))}`, {
|
|
1505
|
+
...opts,
|
|
1506
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1507
|
+
authorization,
|
|
1508
|
+
"x-account-id": xAccountId,
|
|
1509
|
+
"x-member-id": xMemberId,
|
|
1510
|
+
"x-username": xUsername
|
|
1511
|
+
})
|
|
1512
|
+
}));
|
|
1513
|
+
}
|
|
1514
|
+
/**
|
|
1515
|
+
* Create Resource Review
|
|
1516
|
+
*/
|
|
1517
|
+
export function createResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsPost({ resourceSlug, resourceTypeSlug, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }, opts) {
|
|
1518
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews`, oazapfts.json({
|
|
1519
|
+
...opts,
|
|
1520
|
+
method: "POST",
|
|
1521
|
+
body: resourceReviewRequest,
|
|
1522
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1523
|
+
authorization,
|
|
1524
|
+
"x-account-id": xAccountId,
|
|
1525
|
+
"x-member-id": xMemberId,
|
|
1526
|
+
"x-username": xUsername
|
|
1527
|
+
})
|
|
1528
|
+
})));
|
|
1529
|
+
}
|
|
1530
|
+
/**
|
|
1531
|
+
* Create Answer For Review
|
|
1532
|
+
*/
|
|
1533
|
+
export function createAnswerForReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersPost({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }, opts) {
|
|
1534
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}/answers`, oazapfts.json({
|
|
1535
|
+
...opts,
|
|
1536
|
+
method: "POST",
|
|
1537
|
+
body: reviewAnswer,
|
|
1538
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1539
|
+
authorization,
|
|
1540
|
+
"x-account-id": xAccountId,
|
|
1541
|
+
"x-member-id": xMemberId,
|
|
1542
|
+
"x-username": xUsername
|
|
1543
|
+
})
|
|
1544
|
+
})));
|
|
1545
|
+
}
|
|
1546
|
+
/**
|
|
1547
|
+
* Update Resource Review
|
|
1548
|
+
*/
|
|
1549
|
+
export function updateResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdPatch({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername, resourceReviewRequest }, opts) {
|
|
1550
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}`, oazapfts.json({
|
|
1551
|
+
...opts,
|
|
1552
|
+
method: "PATCH",
|
|
1553
|
+
body: resourceReviewRequest,
|
|
1554
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1555
|
+
authorization,
|
|
1556
|
+
"x-account-id": xAccountId,
|
|
1557
|
+
"x-member-id": xMemberId,
|
|
1558
|
+
"x-username": xUsername
|
|
1559
|
+
})
|
|
1560
|
+
})));
|
|
1561
|
+
}
|
|
1562
|
+
/**
|
|
1563
|
+
* Delete Resource Review
|
|
1564
|
+
*/
|
|
1565
|
+
export function deleteResourceReviewV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdDelete({ resourceSlug, resourceTypeSlug, reviewId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1566
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}`, {
|
|
1567
|
+
...opts,
|
|
1568
|
+
method: "DELETE",
|
|
1569
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1570
|
+
authorization,
|
|
1571
|
+
"x-account-id": xAccountId,
|
|
1572
|
+
"x-member-id": xMemberId,
|
|
1573
|
+
"x-username": xUsername
|
|
1574
|
+
})
|
|
1575
|
+
}));
|
|
1576
|
+
}
|
|
1577
|
+
/**
|
|
1578
|
+
* Update Review Comment
|
|
1579
|
+
*/
|
|
1580
|
+
export function updateReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdPatch({ resourceSlug, resourceTypeSlug, reviewId, answerId, authorization, xAccountId, xMemberId, xUsername, reviewAnswer }, opts) {
|
|
1581
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}/answers/${encodeURIComponent(answerId)}`, oazapfts.json({
|
|
1582
|
+
...opts,
|
|
1583
|
+
method: "PATCH",
|
|
1584
|
+
body: reviewAnswer,
|
|
1585
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1586
|
+
authorization,
|
|
1587
|
+
"x-account-id": xAccountId,
|
|
1588
|
+
"x-member-id": xMemberId,
|
|
1589
|
+
"x-username": xUsername
|
|
1590
|
+
})
|
|
1591
|
+
})));
|
|
1592
|
+
}
|
|
1593
|
+
/**
|
|
1594
|
+
* Delete Review Comment
|
|
1595
|
+
*/
|
|
1596
|
+
export function deleteReviewCommentV1ResourcesResourceTypeSlugResourceSlugReviewsReviewIdAnswersAnswerIdDelete({ resourceSlug, resourceTypeSlug, reviewId, answerId, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1597
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v1/resources/${encodeURIComponent(resourceTypeSlug)}/${encodeURIComponent(resourceSlug)}/reviews/${encodeURIComponent(reviewId)}/answers/${encodeURIComponent(answerId)}`, {
|
|
1598
|
+
...opts,
|
|
1599
|
+
method: "DELETE",
|
|
1600
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1601
|
+
authorization,
|
|
1602
|
+
"x-account-id": xAccountId,
|
|
1603
|
+
"x-member-id": xMemberId,
|
|
1604
|
+
"x-username": xUsername
|
|
1350
1605
|
})
|
|
1351
1606
|
}));
|
|
1352
1607
|
}
|
|
@@ -1365,7 +1620,7 @@ export function devAssistantV2V2ChatPost({ accept }, opts) {
|
|
|
1365
1620
|
/**
|
|
1366
1621
|
* Quick Commands Run V2
|
|
1367
1622
|
*/
|
|
1368
|
-
export function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, quickCommandsExecutionRequest }, opts) {
|
|
1623
|
+
export function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug, stepSlug, authorization, xAccountId, xMemberId, xUsername, quickCommandsExecutionRequest }, opts) {
|
|
1369
1624
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/quick-commands/${encodeURIComponent(slug)}/steps/${encodeURIComponent(stepSlug)}/run`, oazapfts.json({
|
|
1370
1625
|
...opts,
|
|
1371
1626
|
method: "POST",
|
|
@@ -1373,14 +1628,15 @@ export function quickCommandsRunV2V2QuickCommandsSlugStepsStepSlugRunPost({ slug
|
|
|
1373
1628
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1374
1629
|
authorization,
|
|
1375
1630
|
"x-account-id": xAccountId,
|
|
1376
|
-
"x-member-id": xMemberId
|
|
1631
|
+
"x-member-id": xMemberId,
|
|
1632
|
+
"x-username": xUsername
|
|
1377
1633
|
})
|
|
1378
1634
|
})));
|
|
1379
1635
|
}
|
|
1380
1636
|
/**
|
|
1381
1637
|
* List All
|
|
1382
1638
|
*/
|
|
1383
|
-
export function listAllV2QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId }, opts) {
|
|
1639
|
+
export function listAllV2QuickCommandsAllGet({ visibility, order, types, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1384
1640
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/quick-commands/all${QS.query(QS.explode({
|
|
1385
1641
|
visibility,
|
|
1386
1642
|
order,
|
|
@@ -1390,14 +1646,15 @@ export function listAllV2QuickCommandsAllGet({ visibility, order, types, authori
|
|
|
1390
1646
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1391
1647
|
authorization,
|
|
1392
1648
|
"x-account-id": xAccountId,
|
|
1393
|
-
"x-member-id": xMemberId
|
|
1649
|
+
"x-member-id": xMemberId,
|
|
1650
|
+
"x-username": xUsername
|
|
1394
1651
|
})
|
|
1395
1652
|
}));
|
|
1396
1653
|
}
|
|
1397
1654
|
/**
|
|
1398
1655
|
* Dev Assistant V3
|
|
1399
1656
|
*/
|
|
1400
|
-
export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId, chatRequest }, opts) {
|
|
1657
|
+
export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId, xUsername, chatRequest }, opts) {
|
|
1401
1658
|
return oazapfts.ok(oazapfts.fetchJson("/v3/chat", oazapfts.json({
|
|
1402
1659
|
...opts,
|
|
1403
1660
|
method: "POST",
|
|
@@ -1405,8 +1662,31 @@ export function devAssistantV3V3ChatPost({ authorization, xAccountId, xMemberId,
|
|
|
1405
1662
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1406
1663
|
authorization,
|
|
1407
1664
|
"x-account-id": xAccountId,
|
|
1408
|
-
"x-member-id": xMemberId
|
|
1665
|
+
"x-member-id": xMemberId,
|
|
1666
|
+
"x-username": xUsername
|
|
1409
1667
|
})
|
|
1410
1668
|
})));
|
|
1411
1669
|
}
|
|
1670
|
+
/**
|
|
1671
|
+
* List All
|
|
1672
|
+
*/
|
|
1673
|
+
export function listAllV3QuickCommandsGet({ name, slug, size, page, visibilityList, order, types, authorization, xAccountId, xMemberId, xUsername }, opts) {
|
|
1674
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/quick-commands${QS.query(QS.explode({
|
|
1675
|
+
name,
|
|
1676
|
+
slug,
|
|
1677
|
+
size,
|
|
1678
|
+
page,
|
|
1679
|
+
visibility_list: visibilityList,
|
|
1680
|
+
order,
|
|
1681
|
+
types
|
|
1682
|
+
}))}`, {
|
|
1683
|
+
...opts,
|
|
1684
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1685
|
+
authorization,
|
|
1686
|
+
"x-account-id": xAccountId,
|
|
1687
|
+
"x-member-id": xMemberId,
|
|
1688
|
+
"x-username": xUsername
|
|
1689
|
+
})
|
|
1690
|
+
}));
|
|
1691
|
+
}
|
|
1412
1692
|
//# sourceMappingURL=ai.js.map
|