@knowledge-stack/ksapi 1.23.4 → 1.24.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.
- package/.openapi-generator/FILES +125 -6
- package/.openapi-generator/VERSION +1 -1
- package/README.md +274 -28
- package/dist/apis/AuthApi.d.ts +117 -0
- package/dist/apis/AuthApi.js +137 -47
- package/dist/apis/ChunkLineagesApi.d.ts +38 -0
- package/dist/apis/ChunkLineagesApi.js +42 -15
- package/dist/apis/ChunksApi.d.ts +78 -4
- package/dist/apis/ChunksApi.js +85 -31
- package/dist/apis/DefaultApi.d.ts +20 -0
- package/dist/apis/DefaultApi.js +28 -10
- package/dist/apis/DocumentVersionsApi.d.ts +99 -9
- package/dist/apis/DocumentVersionsApi.js +100 -37
- package/dist/apis/DocumentsApi.d.ts +80 -0
- package/dist/apis/DocumentsApi.js +84 -30
- package/dist/apis/FoldersApi.d.ts +92 -9
- package/dist/apis/FoldersApi.js +86 -32
- package/dist/apis/InvitesApi.d.ts +51 -0
- package/dist/apis/InvitesApi.js +56 -20
- package/dist/apis/PathPartsApi.d.ts +54 -0
- package/dist/apis/PathPartsApi.js +56 -20
- package/dist/apis/SectionsApi.d.ts +49 -0
- package/dist/apis/SectionsApi.js +56 -20
- package/dist/apis/TagsApi.d.ts +62 -0
- package/dist/apis/TagsApi.js +70 -25
- package/dist/apis/TenantsApi.d.ts +172 -5
- package/dist/apis/TenantsApi.js +179 -31
- package/dist/apis/ThreadMessagesApi.d.ts +41 -0
- package/dist/apis/ThreadMessagesApi.js +42 -15
- package/dist/apis/ThreadsApi.d.ts +77 -0
- package/dist/apis/ThreadsApi.js +84 -30
- package/dist/apis/UserPermissionsApi.d.ts +54 -0
- package/dist/apis/UserPermissionsApi.js +56 -20
- package/dist/apis/UsersApi.d.ts +23 -0
- package/dist/apis/UsersApi.js +28 -10
- package/dist/apis/WorkflowsApi.d.ts +38 -0
- package/dist/apis/WorkflowsApi.js +42 -15
- package/dist/esm/apis/AuthApi.d.ts +117 -0
- package/dist/esm/apis/AuthApi.js +137 -47
- package/dist/esm/apis/ChunkLineagesApi.d.ts +38 -0
- package/dist/esm/apis/ChunkLineagesApi.js +42 -15
- package/dist/esm/apis/ChunksApi.d.ts +78 -4
- package/dist/esm/apis/ChunksApi.js +85 -31
- package/dist/esm/apis/DefaultApi.d.ts +20 -0
- package/dist/esm/apis/DefaultApi.js +28 -10
- package/dist/esm/apis/DocumentVersionsApi.d.ts +99 -9
- package/dist/esm/apis/DocumentVersionsApi.js +101 -38
- package/dist/esm/apis/DocumentsApi.d.ts +80 -0
- package/dist/esm/apis/DocumentsApi.js +84 -30
- package/dist/esm/apis/FoldersApi.d.ts +92 -9
- package/dist/esm/apis/FoldersApi.js +87 -33
- package/dist/esm/apis/InvitesApi.d.ts +51 -0
- package/dist/esm/apis/InvitesApi.js +56 -20
- package/dist/esm/apis/PathPartsApi.d.ts +54 -0
- package/dist/esm/apis/PathPartsApi.js +56 -20
- package/dist/esm/apis/SectionsApi.d.ts +49 -0
- package/dist/esm/apis/SectionsApi.js +56 -20
- package/dist/esm/apis/TagsApi.d.ts +62 -0
- package/dist/esm/apis/TagsApi.js +70 -25
- package/dist/esm/apis/TenantsApi.d.ts +172 -5
- package/dist/esm/apis/TenantsApi.js +180 -32
- package/dist/esm/apis/ThreadMessagesApi.d.ts +41 -0
- package/dist/esm/apis/ThreadMessagesApi.js +42 -15
- package/dist/esm/apis/ThreadsApi.d.ts +77 -0
- package/dist/esm/apis/ThreadsApi.js +84 -30
- package/dist/esm/apis/UserPermissionsApi.d.ts +54 -0
- package/dist/esm/apis/UserPermissionsApi.js +56 -20
- package/dist/esm/apis/UsersApi.d.ts +23 -0
- package/dist/esm/apis/UsersApi.js +28 -10
- package/dist/esm/apis/WorkflowsApi.d.ts +38 -0
- package/dist/esm/apis/WorkflowsApi.js +42 -15
- package/dist/esm/models/{DocumentContentPathPart.d.ts → ChunkContentItem.d.ts} +37 -40
- package/dist/esm/models/{DocumentContentPathPart.js → ChunkContentItem.js} +17 -16
- package/dist/esm/models/ChunkResponse.d.ts +6 -0
- package/dist/esm/models/ChunkResponse.js +2 -0
- package/dist/esm/models/DocumentResponse.d.ts +13 -0
- package/dist/esm/models/DocumentResponse.js +8 -0
- package/dist/esm/models/FolderResponse.d.ts +13 -0
- package/dist/esm/models/FolderResponse.js +8 -0
- package/dist/esm/models/FolderResponseOrDocumentResponse.d.ts +27 -0
- package/dist/esm/models/FolderResponseOrDocumentResponse.js +47 -0
- package/dist/esm/models/InviteResponse.d.ts +7 -0
- package/dist/esm/models/InviteResponse.js +5 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js +70 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +70 -0
- package/dist/esm/models/PaginatedResponseTenantUserResponse.d.ts +66 -0
- package/dist/esm/models/{PaginatedResponseTenantUserInTenantResponse.js → PaginatedResponseTenantUserResponse.js} +12 -12
- package/dist/esm/models/ScoredChunkResponse.d.ts +6 -0
- package/dist/esm/models/ScoredChunkResponse.js +2 -0
- package/dist/esm/models/SectionContentItem.d.ts +114 -0
- package/dist/esm/models/SectionContentItem.js +86 -0
- package/dist/esm/models/SectionContentItemOrChunkContentItem.d.ts +27 -0
- package/dist/esm/models/SectionContentItemOrChunkContentItem.js +47 -0
- package/dist/esm/models/TenantUserEditRequest.d.ts +48 -0
- package/dist/esm/models/TenantUserEditRequest.js +45 -0
- package/dist/esm/models/{TenantUserInTenantResponse.d.ts → TenantUserResponse.d.ts} +19 -13
- package/dist/esm/models/{TenantUserInTenantResponse.js → TenantUserResponse.js} +13 -9
- package/dist/esm/models/index.d.ts +9 -6
- package/dist/esm/models/index.js +9 -6
- package/dist/models/{DocumentContentPathPart.d.ts → ChunkContentItem.d.ts} +37 -40
- package/dist/models/{DocumentContentPathPart.js → ChunkContentItem.js} +23 -22
- package/dist/models/ChunkResponse.d.ts +6 -0
- package/dist/models/ChunkResponse.js +2 -0
- package/dist/models/DocumentResponse.d.ts +13 -0
- package/dist/models/DocumentResponse.js +9 -1
- package/dist/models/FolderResponse.d.ts +13 -0
- package/dist/models/FolderResponse.js +9 -1
- package/dist/models/FolderResponseOrDocumentResponse.d.ts +27 -0
- package/dist/models/FolderResponseOrDocumentResponse.js +53 -0
- package/dist/models/InviteResponse.d.ts +7 -0
- package/dist/models/InviteResponse.js +5 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +66 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js +78 -0
- package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +66 -0
- package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +78 -0
- package/dist/models/PaginatedResponseTenantUserResponse.d.ts +66 -0
- package/dist/models/PaginatedResponseTenantUserResponse.js +78 -0
- package/dist/models/ScoredChunkResponse.d.ts +6 -0
- package/dist/models/ScoredChunkResponse.js +2 -0
- package/dist/models/SectionContentItem.d.ts +114 -0
- package/dist/models/SectionContentItem.js +94 -0
- package/dist/models/SectionContentItemOrChunkContentItem.d.ts +27 -0
- package/dist/models/SectionContentItemOrChunkContentItem.js +53 -0
- package/dist/models/TenantUserEditRequest.d.ts +48 -0
- package/dist/models/TenantUserEditRequest.js +53 -0
- package/dist/models/{TenantUserInTenantResponse.d.ts → TenantUserResponse.d.ts} +19 -13
- package/dist/models/{TenantUserInTenantResponse.js → TenantUserResponse.js} +19 -15
- package/dist/models/index.d.ts +9 -6
- package/dist/models/index.js +9 -6
- package/docs/AuthApi.md +707 -0
- package/docs/BulkTagRequest.md +35 -0
- package/docs/ChunkContentItem.md +59 -0
- package/docs/ChunkLineageResponse.md +41 -0
- package/docs/ChunkLineagesApi.md +230 -0
- package/docs/ChunkMetadataInput.md +37 -0
- package/docs/ChunkMetadataOutput.md +37 -0
- package/docs/ChunkResponse.md +63 -0
- package/docs/ChunkSearchRequest.md +47 -0
- package/docs/ChunkType.md +33 -0
- package/docs/ChunksApi.md +446 -0
- package/docs/ClearVersionContentsResponse.md +35 -0
- package/docs/CreateChunkLineageRequest.md +37 -0
- package/docs/CreateChunkRequest.md +43 -0
- package/docs/CreateDocumentRequest.md +41 -0
- package/docs/CreateFolderRequest.md +37 -0
- package/docs/CreatePasswordUserRequest.md +36 -0
- package/docs/CreatePermissionRequest.md +40 -0
- package/docs/CreateSectionRequest.md +41 -0
- package/docs/CreateTagRequest.md +39 -0
- package/docs/CreateTenantRequest.md +37 -0
- package/docs/CreateThreadMessageRequest.md +37 -0
- package/docs/CreateThreadRequest.md +37 -0
- package/docs/DefaultApi.md +128 -0
- package/docs/DocumentOrigin.md +33 -0
- package/docs/DocumentResponse.md +63 -0
- package/docs/DocumentType.md +33 -0
- package/docs/DocumentVersionMetadata.md +47 -0
- package/docs/DocumentVersionMetadataUpdate.md +47 -0
- package/docs/DocumentVersionResponse.md +57 -0
- package/docs/DocumentVersionsApi.md +530 -0
- package/docs/DocumentsApi.md +464 -0
- package/docs/EmailSentResponse.md +34 -0
- package/docs/EmailVerificationRequest.md +34 -0
- package/docs/EmbeddingModel.md +33 -0
- package/docs/FolderResponse.md +55 -0
- package/docs/FolderResponseOrDocumentResponse.md +62 -0
- package/docs/FoldersApi.md +473 -0
- package/docs/HTTPValidationError.md +34 -0
- package/docs/HealthCheckResponse.md +36 -0
- package/docs/IdpType.md +33 -0
- package/docs/IngestDocumentResponse.md +39 -0
- package/docs/InviteResponse.md +53 -0
- package/docs/InviteStatus.md +32 -0
- package/docs/InviteUserRequest.md +38 -0
- package/docs/InvitesApi.md +305 -0
- package/docs/LineageEdgeResponse.md +37 -0
- package/docs/LineageGraphResponse.md +37 -0
- package/docs/LineageNodeResponse.md +47 -0
- package/docs/LocationInner.md +32 -0
- package/docs/MessageRole.md +33 -0
- package/docs/OAuth2Config.md +41 -0
- package/docs/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.md +40 -0
- package/docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md +40 -0
- package/docs/PaginatedResponseDocumentResponse.md +40 -0
- package/docs/PaginatedResponseDocumentVersionResponse.md +40 -0
- package/docs/PaginatedResponseFolderResponse.md +40 -0
- package/docs/PaginatedResponseInviteResponse.md +40 -0
- package/docs/PaginatedResponsePathPartResponse.md +40 -0
- package/docs/PaginatedResponsePermissionResponse.md +40 -0
- package/docs/PaginatedResponseTagResponse.md +40 -0
- package/docs/PaginatedResponseTenantResponse.md +40 -0
- package/docs/PaginatedResponseTenantUserResponse.md +40 -0
- package/docs/PaginatedResponseThreadMessageResponse.md +40 -0
- package/docs/PaginatedResponseThreadResponse.md +40 -0
- package/docs/PaginatedResponseWorkflowSummaryResponse.md +40 -0
- package/docs/PartType.md +33 -0
- package/docs/PasswordResetRequest.md +36 -0
- package/docs/PasswordResetWithTokenRequest.md +36 -0
- package/docs/PathOrder.md +33 -0
- package/docs/PathPartResponse.md +53 -0
- package/docs/PathPartTagsResponse.md +35 -0
- package/docs/PathPartsApi.md +314 -0
- package/docs/PermissionCapability.md +33 -0
- package/docs/PermissionResponse.md +48 -0
- package/docs/PipelineState.md +45 -0
- package/docs/PipelineStatus.md +33 -0
- package/docs/Polygon.md +41 -0
- package/docs/PolygonReference.md +37 -0
- package/docs/RootResponse.md +36 -0
- package/docs/ScoredChunkResponse.md +65 -0
- package/docs/SectionContentItem.md +55 -0
- package/docs/SectionContentItemOrChunkContentItem.md +60 -0
- package/docs/SectionResponse.md +57 -0
- package/docs/SectionsApi.md +299 -0
- package/docs/SignInRequest.md +38 -0
- package/docs/TagResponse.md +47 -0
- package/docs/TagsApi.md +374 -0
- package/docs/TenantResponse.md +39 -0
- package/docs/TenantUserEditRequest.md +35 -0
- package/docs/TenantUserResponse.md +43 -0
- package/docs/TenantUserRole.md +33 -0
- package/docs/TenantsApi.md +605 -0
- package/docs/ThreadMessageResponse.md +53 -0
- package/docs/ThreadMessagesApi.md +239 -0
- package/docs/ThreadResponse.md +49 -0
- package/docs/ThreadsApi.md +455 -0
- package/docs/UpdateChunkContentRequest.md +37 -0
- package/docs/UpdateChunkMetadataRequest.md +35 -0
- package/docs/UpdateDocumentRequest.md +39 -0
- package/docs/UpdateFolderRequest.md +37 -0
- package/docs/UpdatePermissionRequest.md +36 -0
- package/docs/UpdateSectionRequest.md +41 -0
- package/docs/UpdateTagRequest.md +39 -0
- package/docs/UpdateTenantRequest.md +37 -0
- package/docs/UpdateThreadRequest.md +37 -0
- package/docs/UpdateUserRequest.md +34 -0
- package/docs/UserPermissionsApi.md +314 -0
- package/docs/UserResponse.md +44 -0
- package/docs/UsersApi.md +149 -0
- package/docs/ValidationError.md +42 -0
- package/docs/WorkflowAction.md +33 -0
- package/docs/WorkflowActionResponse.md +39 -0
- package/docs/WorkflowDetailResponse.md +63 -0
- package/docs/WorkflowSummaryResponse.md +49 -0
- package/docs/WorkflowsApi.md +230 -0
- package/package.json +1 -1
- package/src/apis/AuthApi.ts +214 -47
- package/src/apis/ChunkLineagesApi.ts +68 -15
- package/src/apis/ChunksApi.ts +137 -33
- package/src/apis/DefaultApi.ts +40 -10
- package/src/apis/DocumentVersionsApi.ts +170 -45
- package/src/apis/DocumentsApi.ts +140 -30
- package/src/apis/FoldersApi.ts +153 -40
- package/src/apis/InvitesApi.ts +91 -20
- package/src/apis/PathPartsApi.ts +94 -20
- package/src/apis/SectionsApi.ts +89 -20
- package/src/apis/TagsApi.ts +112 -25
- package/src/apis/TenantsApi.ts +339 -37
- package/src/apis/ThreadMessagesApi.ts +71 -15
- package/src/apis/ThreadsApi.ts +137 -30
- package/src/apis/UserPermissionsApi.ts +94 -20
- package/src/apis/UsersApi.ts +43 -10
- package/src/apis/WorkflowsApi.ts +68 -15
- package/src/models/{DocumentContentPathPart.ts → ChunkContentItem.ts} +42 -53
- package/src/models/ChunkResponse.ts +8 -0
- package/src/models/DocumentResponse.ts +16 -0
- package/src/models/FolderResponse.ts +18 -0
- package/src/models/FolderResponseOrDocumentResponse.ts +72 -0
- package/src/models/InviteResponse.ts +19 -0
- package/src/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.ts +130 -0
- package/src/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.ts +130 -0
- package/src/models/{PaginatedResponseFolderDocumentResponse.ts → PaginatedResponseTenantUserResponse.ts} +25 -25
- package/src/models/ScoredChunkResponse.ts +8 -0
- package/src/models/SectionContentItem.ts +181 -0
- package/src/models/SectionContentItemOrChunkContentItem.ts +72 -0
- package/src/models/TenantUserEditRequest.ts +93 -0
- package/src/models/{TenantUserInTenantResponse.ts → TenantUserResponse.ts} +24 -15
- package/src/models/index.ts +9 -6
- package/dist/esm/models/FolderDocumentResponse.d.ts +0 -157
- package/dist/esm/models/FolderDocumentResponse.js +0 -99
- package/dist/esm/models/PaginatedResponseDocumentContentPathPart.d.ts +0 -66
- package/dist/esm/models/PaginatedResponseDocumentContentPathPart.js +0 -70
- package/dist/esm/models/PaginatedResponseFolderDocumentResponse.d.ts +0 -66
- package/dist/esm/models/PaginatedResponseFolderDocumentResponse.js +0 -70
- package/dist/esm/models/PaginatedResponseTenantUserInTenantResponse.d.ts +0 -66
- package/dist/models/FolderDocumentResponse.d.ts +0 -157
- package/dist/models/FolderDocumentResponse.js +0 -107
- package/dist/models/PaginatedResponseDocumentContentPathPart.d.ts +0 -66
- package/dist/models/PaginatedResponseDocumentContentPathPart.js +0 -78
- package/dist/models/PaginatedResponseFolderDocumentResponse.d.ts +0 -66
- package/dist/models/PaginatedResponseFolderDocumentResponse.js +0 -78
- package/dist/models/PaginatedResponseTenantUserInTenantResponse.d.ts +0 -66
- package/dist/models/PaginatedResponseTenantUserInTenantResponse.js +0 -78
- package/src/models/FolderDocumentResponse.ts +0 -267
- package/src/models/PaginatedResponseDocumentContentPathPart.ts +0 -130
- package/src/models/PaginatedResponseTenantUserInTenantResponse.ts +0 -130
|
@@ -67,6 +67,15 @@ export interface UpdateUserPermissionRequest {
|
|
|
67
67
|
* @interface UserPermissionsApiInterface
|
|
68
68
|
*/
|
|
69
69
|
export interface UserPermissionsApiInterface {
|
|
70
|
+
/**
|
|
71
|
+
* Creates request options for createUserPermission without sending the request
|
|
72
|
+
* @param {CreatePermissionRequest} createPermissionRequest
|
|
73
|
+
* @param {string} [ksUat]
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
* @memberof UserPermissionsApiInterface
|
|
76
|
+
*/
|
|
77
|
+
createUserPermissionRequestOpts(requestParameters: CreateUserPermissionRequest): Promise<runtime.RequestOpts>;
|
|
78
|
+
|
|
70
79
|
/**
|
|
71
80
|
* Create a path permission for a user in a tenant (admin/owner only).
|
|
72
81
|
* @summary Create User Permission Handler
|
|
@@ -84,6 +93,16 @@ export interface UserPermissionsApiInterface {
|
|
|
84
93
|
*/
|
|
85
94
|
createUserPermission(requestParameters: CreateUserPermissionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PermissionResponse>;
|
|
86
95
|
|
|
96
|
+
/**
|
|
97
|
+
* Creates request options for deleteUserPermission without sending the request
|
|
98
|
+
* @param {string} permissionId
|
|
99
|
+
* @param {string} tenantId Tenant ID the permission belongs to
|
|
100
|
+
* @param {string} [ksUat]
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
* @memberof UserPermissionsApiInterface
|
|
103
|
+
*/
|
|
104
|
+
deleteUserPermissionRequestOpts(requestParameters: DeleteUserPermissionRequest): Promise<runtime.RequestOpts>;
|
|
105
|
+
|
|
87
106
|
/**
|
|
88
107
|
* Delete a path permission (admin/owner only).
|
|
89
108
|
* @summary Delete User Permission Handler
|
|
@@ -102,6 +121,18 @@ export interface UserPermissionsApiInterface {
|
|
|
102
121
|
*/
|
|
103
122
|
deleteUserPermission(requestParameters: DeleteUserPermissionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
104
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Creates request options for listUserPermissions without sending the request
|
|
126
|
+
* @param {string} tenantId Tenant ID to list permissions for
|
|
127
|
+
* @param {string} userId User ID to list permissions for
|
|
128
|
+
* @param {number} [limit] Number of items per page
|
|
129
|
+
* @param {number} [offset] Number of items to skip
|
|
130
|
+
* @param {string} [ksUat]
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
* @memberof UserPermissionsApiInterface
|
|
133
|
+
*/
|
|
134
|
+
listUserPermissionsRequestOpts(requestParameters: ListUserPermissionsRequest): Promise<runtime.RequestOpts>;
|
|
135
|
+
|
|
105
136
|
/**
|
|
106
137
|
* List path permissions for a user in a tenant (admin/owner only).
|
|
107
138
|
* @summary List User Permissions Handler
|
|
@@ -122,6 +153,17 @@ export interface UserPermissionsApiInterface {
|
|
|
122
153
|
*/
|
|
123
154
|
listUserPermissions(requestParameters: ListUserPermissionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponsePermissionResponse>;
|
|
124
155
|
|
|
156
|
+
/**
|
|
157
|
+
* Creates request options for updateUserPermission without sending the request
|
|
158
|
+
* @param {string} permissionId
|
|
159
|
+
* @param {string} tenantId Tenant ID the permission belongs to
|
|
160
|
+
* @param {UpdatePermissionRequest} updatePermissionRequest
|
|
161
|
+
* @param {string} [ksUat]
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
* @memberof UserPermissionsApiInterface
|
|
164
|
+
*/
|
|
165
|
+
updateUserPermissionRequestOpts(requestParameters: UpdateUserPermissionRequest): Promise<runtime.RequestOpts>;
|
|
166
|
+
|
|
125
167
|
/**
|
|
126
168
|
* Update a path permission (admin/owner only).
|
|
127
169
|
* @summary Update User Permission Handler
|
|
@@ -149,10 +191,9 @@ export interface UserPermissionsApiInterface {
|
|
|
149
191
|
export class UserPermissionsApi extends runtime.BaseAPI implements UserPermissionsApiInterface {
|
|
150
192
|
|
|
151
193
|
/**
|
|
152
|
-
*
|
|
153
|
-
* Create User Permission Handler
|
|
194
|
+
* Creates request options for createUserPermission without sending the request
|
|
154
195
|
*/
|
|
155
|
-
async
|
|
196
|
+
async createUserPermissionRequestOpts(requestParameters: CreateUserPermissionRequest): Promise<runtime.RequestOpts> {
|
|
156
197
|
if (requestParameters['createPermissionRequest'] == null) {
|
|
157
198
|
throw new runtime.RequiredError(
|
|
158
199
|
'createPermissionRequest',
|
|
@@ -169,13 +210,22 @@ export class UserPermissionsApi extends runtime.BaseAPI implements UserPermissio
|
|
|
169
210
|
|
|
170
211
|
let urlPath = `/v1/user-permissions`;
|
|
171
212
|
|
|
172
|
-
|
|
213
|
+
return {
|
|
173
214
|
path: urlPath,
|
|
174
215
|
method: 'POST',
|
|
175
216
|
headers: headerParameters,
|
|
176
217
|
query: queryParameters,
|
|
177
218
|
body: CreatePermissionRequestToJSON(requestParameters['createPermissionRequest']),
|
|
178
|
-
}
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Create a path permission for a user in a tenant (admin/owner only).
|
|
224
|
+
* Create User Permission Handler
|
|
225
|
+
*/
|
|
226
|
+
async createUserPermissionRaw(requestParameters: CreateUserPermissionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PermissionResponse>> {
|
|
227
|
+
const requestOptions = await this.createUserPermissionRequestOpts(requestParameters);
|
|
228
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
179
229
|
|
|
180
230
|
return new runtime.JSONApiResponse(response, (jsonValue) => PermissionResponseFromJSON(jsonValue));
|
|
181
231
|
}
|
|
@@ -190,10 +240,9 @@ export class UserPermissionsApi extends runtime.BaseAPI implements UserPermissio
|
|
|
190
240
|
}
|
|
191
241
|
|
|
192
242
|
/**
|
|
193
|
-
*
|
|
194
|
-
* Delete User Permission Handler
|
|
243
|
+
* Creates request options for deleteUserPermission without sending the request
|
|
195
244
|
*/
|
|
196
|
-
async
|
|
245
|
+
async deleteUserPermissionRequestOpts(requestParameters: DeleteUserPermissionRequest): Promise<runtime.RequestOpts> {
|
|
197
246
|
if (requestParameters['permissionId'] == null) {
|
|
198
247
|
throw new runtime.RequiredError(
|
|
199
248
|
'permissionId',
|
|
@@ -220,12 +269,21 @@ export class UserPermissionsApi extends runtime.BaseAPI implements UserPermissio
|
|
|
220
269
|
let urlPath = `/v1/user-permissions/{permission_id}`;
|
|
221
270
|
urlPath = urlPath.replace(`{${"permission_id"}}`, encodeURIComponent(String(requestParameters['permissionId'])));
|
|
222
271
|
|
|
223
|
-
|
|
272
|
+
return {
|
|
224
273
|
path: urlPath,
|
|
225
274
|
method: 'DELETE',
|
|
226
275
|
headers: headerParameters,
|
|
227
276
|
query: queryParameters,
|
|
228
|
-
}
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Delete a path permission (admin/owner only).
|
|
282
|
+
* Delete User Permission Handler
|
|
283
|
+
*/
|
|
284
|
+
async deleteUserPermissionRaw(requestParameters: DeleteUserPermissionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
285
|
+
const requestOptions = await this.deleteUserPermissionRequestOpts(requestParameters);
|
|
286
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
229
287
|
|
|
230
288
|
return new runtime.VoidApiResponse(response);
|
|
231
289
|
}
|
|
@@ -239,10 +297,9 @@ export class UserPermissionsApi extends runtime.BaseAPI implements UserPermissio
|
|
|
239
297
|
}
|
|
240
298
|
|
|
241
299
|
/**
|
|
242
|
-
*
|
|
243
|
-
* List User Permissions Handler
|
|
300
|
+
* Creates request options for listUserPermissions without sending the request
|
|
244
301
|
*/
|
|
245
|
-
async
|
|
302
|
+
async listUserPermissionsRequestOpts(requestParameters: ListUserPermissionsRequest): Promise<runtime.RequestOpts> {
|
|
246
303
|
if (requestParameters['tenantId'] == null) {
|
|
247
304
|
throw new runtime.RequiredError(
|
|
248
305
|
'tenantId',
|
|
@@ -280,12 +337,21 @@ export class UserPermissionsApi extends runtime.BaseAPI implements UserPermissio
|
|
|
280
337
|
|
|
281
338
|
let urlPath = `/v1/user-permissions`;
|
|
282
339
|
|
|
283
|
-
|
|
340
|
+
return {
|
|
284
341
|
path: urlPath,
|
|
285
342
|
method: 'GET',
|
|
286
343
|
headers: headerParameters,
|
|
287
344
|
query: queryParameters,
|
|
288
|
-
}
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* List path permissions for a user in a tenant (admin/owner only).
|
|
350
|
+
* List User Permissions Handler
|
|
351
|
+
*/
|
|
352
|
+
async listUserPermissionsRaw(requestParameters: ListUserPermissionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponsePermissionResponse>> {
|
|
353
|
+
const requestOptions = await this.listUserPermissionsRequestOpts(requestParameters);
|
|
354
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
289
355
|
|
|
290
356
|
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedResponsePermissionResponseFromJSON(jsonValue));
|
|
291
357
|
}
|
|
@@ -300,10 +366,9 @@ export class UserPermissionsApi extends runtime.BaseAPI implements UserPermissio
|
|
|
300
366
|
}
|
|
301
367
|
|
|
302
368
|
/**
|
|
303
|
-
*
|
|
304
|
-
* Update User Permission Handler
|
|
369
|
+
* Creates request options for updateUserPermission without sending the request
|
|
305
370
|
*/
|
|
306
|
-
async
|
|
371
|
+
async updateUserPermissionRequestOpts(requestParameters: UpdateUserPermissionRequest): Promise<runtime.RequestOpts> {
|
|
307
372
|
if (requestParameters['permissionId'] == null) {
|
|
308
373
|
throw new runtime.RequiredError(
|
|
309
374
|
'permissionId',
|
|
@@ -339,13 +404,22 @@ export class UserPermissionsApi extends runtime.BaseAPI implements UserPermissio
|
|
|
339
404
|
let urlPath = `/v1/user-permissions/{permission_id}`;
|
|
340
405
|
urlPath = urlPath.replace(`{${"permission_id"}}`, encodeURIComponent(String(requestParameters['permissionId'])));
|
|
341
406
|
|
|
342
|
-
|
|
407
|
+
return {
|
|
343
408
|
path: urlPath,
|
|
344
409
|
method: 'PATCH',
|
|
345
410
|
headers: headerParameters,
|
|
346
411
|
query: queryParameters,
|
|
347
412
|
body: UpdatePermissionRequestToJSON(requestParameters['updatePermissionRequest']),
|
|
348
|
-
}
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Update a path permission (admin/owner only).
|
|
418
|
+
* Update User Permission Handler
|
|
419
|
+
*/
|
|
420
|
+
async updateUserPermissionRaw(requestParameters: UpdateUserPermissionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PermissionResponse>> {
|
|
421
|
+
const requestOptions = await this.updateUserPermissionRequestOpts(requestParameters);
|
|
422
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
349
423
|
|
|
350
424
|
return new runtime.JSONApiResponse(response, (jsonValue) => PermissionResponseFromJSON(jsonValue));
|
|
351
425
|
}
|
package/src/apis/UsersApi.ts
CHANGED
|
@@ -44,6 +44,14 @@ export interface UpdateMeRequest {
|
|
|
44
44
|
* @interface UsersApiInterface
|
|
45
45
|
*/
|
|
46
46
|
export interface UsersApiInterface {
|
|
47
|
+
/**
|
|
48
|
+
* Creates request options for getMe without sending the request
|
|
49
|
+
* @param {string} [ksUat]
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
* @memberof UsersApiInterface
|
|
52
|
+
*/
|
|
53
|
+
getMeRequestOpts(requestParameters: GetMeRequest): Promise<runtime.RequestOpts>;
|
|
54
|
+
|
|
47
55
|
/**
|
|
48
56
|
* Get current user information including current tenant context. Returns the authenticated user\'s profile along with their current tenant ID (from the UAT token) and default tenant ID (from user record).
|
|
49
57
|
* @summary Get Me Handler
|
|
@@ -60,6 +68,15 @@ export interface UsersApiInterface {
|
|
|
60
68
|
*/
|
|
61
69
|
getMe(requestParameters: GetMeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
|
|
62
70
|
|
|
71
|
+
/**
|
|
72
|
+
* Creates request options for updateMe without sending the request
|
|
73
|
+
* @param {UpdateUserRequest} updateUserRequest
|
|
74
|
+
* @param {string} [ksUat]
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
* @memberof UsersApiInterface
|
|
77
|
+
*/
|
|
78
|
+
updateMeRequestOpts(requestParameters: UpdateMeRequest): Promise<runtime.RequestOpts>;
|
|
79
|
+
|
|
63
80
|
/**
|
|
64
81
|
* Update the user\'s default tenant. The user must belong to the specified tenant.
|
|
65
82
|
* @summary Update Me Handler
|
|
@@ -85,10 +102,9 @@ export interface UsersApiInterface {
|
|
|
85
102
|
export class UsersApi extends runtime.BaseAPI implements UsersApiInterface {
|
|
86
103
|
|
|
87
104
|
/**
|
|
88
|
-
*
|
|
89
|
-
* Get Me Handler
|
|
105
|
+
* Creates request options for getMe without sending the request
|
|
90
106
|
*/
|
|
91
|
-
async
|
|
107
|
+
async getMeRequestOpts(requestParameters: GetMeRequest): Promise<runtime.RequestOpts> {
|
|
92
108
|
const queryParameters: any = {};
|
|
93
109
|
|
|
94
110
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -96,12 +112,21 @@ export class UsersApi extends runtime.BaseAPI implements UsersApiInterface {
|
|
|
96
112
|
|
|
97
113
|
let urlPath = `/v1/users/me`;
|
|
98
114
|
|
|
99
|
-
|
|
115
|
+
return {
|
|
100
116
|
path: urlPath,
|
|
101
117
|
method: 'GET',
|
|
102
118
|
headers: headerParameters,
|
|
103
119
|
query: queryParameters,
|
|
104
|
-
}
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Get current user information including current tenant context. Returns the authenticated user\'s profile along with their current tenant ID (from the UAT token) and default tenant ID (from user record).
|
|
125
|
+
* Get Me Handler
|
|
126
|
+
*/
|
|
127
|
+
async getMeRaw(requestParameters: GetMeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserResponse>> {
|
|
128
|
+
const requestOptions = await this.getMeRequestOpts(requestParameters);
|
|
129
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
105
130
|
|
|
106
131
|
return new runtime.JSONApiResponse(response, (jsonValue) => UserResponseFromJSON(jsonValue));
|
|
107
132
|
}
|
|
@@ -116,10 +141,9 @@ export class UsersApi extends runtime.BaseAPI implements UsersApiInterface {
|
|
|
116
141
|
}
|
|
117
142
|
|
|
118
143
|
/**
|
|
119
|
-
*
|
|
120
|
-
* Update Me Handler
|
|
144
|
+
* Creates request options for updateMe without sending the request
|
|
121
145
|
*/
|
|
122
|
-
async
|
|
146
|
+
async updateMeRequestOpts(requestParameters: UpdateMeRequest): Promise<runtime.RequestOpts> {
|
|
123
147
|
if (requestParameters['updateUserRequest'] == null) {
|
|
124
148
|
throw new runtime.RequiredError(
|
|
125
149
|
'updateUserRequest',
|
|
@@ -136,13 +160,22 @@ export class UsersApi extends runtime.BaseAPI implements UsersApiInterface {
|
|
|
136
160
|
|
|
137
161
|
let urlPath = `/v1/users`;
|
|
138
162
|
|
|
139
|
-
|
|
163
|
+
return {
|
|
140
164
|
path: urlPath,
|
|
141
165
|
method: 'PATCH',
|
|
142
166
|
headers: headerParameters,
|
|
143
167
|
query: queryParameters,
|
|
144
168
|
body: UpdateUserRequestToJSON(requestParameters['updateUserRequest']),
|
|
145
|
-
}
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Update the user\'s default tenant. The user must belong to the specified tenant.
|
|
174
|
+
* Update Me Handler
|
|
175
|
+
*/
|
|
176
|
+
async updateMeRaw(requestParameters: UpdateMeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserResponse>> {
|
|
177
|
+
const requestOptions = await this.updateMeRequestOpts(requestParameters);
|
|
178
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
146
179
|
|
|
147
180
|
return new runtime.JSONApiResponse(response, (jsonValue) => UserResponseFromJSON(jsonValue));
|
|
148
181
|
}
|
package/src/apis/WorkflowsApi.ts
CHANGED
|
@@ -58,6 +58,15 @@ export interface WorkflowActionRequest {
|
|
|
58
58
|
* @interface WorkflowsApiInterface
|
|
59
59
|
*/
|
|
60
60
|
export interface WorkflowsApiInterface {
|
|
61
|
+
/**
|
|
62
|
+
* Creates request options for getWorkflow without sending the request
|
|
63
|
+
* @param {string} workflowId
|
|
64
|
+
* @param {string} [ksUat]
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
* @memberof WorkflowsApiInterface
|
|
67
|
+
*/
|
|
68
|
+
getWorkflowRequestOpts(requestParameters: GetWorkflowRequest): Promise<runtime.RequestOpts>;
|
|
69
|
+
|
|
61
70
|
/**
|
|
62
71
|
* Get single workflow detail with live Temporal status.
|
|
63
72
|
* @summary Get Workflow Handler
|
|
@@ -75,6 +84,16 @@ export interface WorkflowsApiInterface {
|
|
|
75
84
|
*/
|
|
76
85
|
getWorkflow(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDetailResponse>;
|
|
77
86
|
|
|
87
|
+
/**
|
|
88
|
+
* Creates request options for listWorkflows without sending the request
|
|
89
|
+
* @param {number} [limit] Number of items per page
|
|
90
|
+
* @param {number} [offset] Number of items to skip
|
|
91
|
+
* @param {string} [ksUat]
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
* @memberof WorkflowsApiInterface
|
|
94
|
+
*/
|
|
95
|
+
listWorkflowsRequestOpts(requestParameters: ListWorkflowsRequest): Promise<runtime.RequestOpts>;
|
|
96
|
+
|
|
78
97
|
/**
|
|
79
98
|
* List all workflows for the current tenant (paginated, DB-backed).
|
|
80
99
|
* @summary List Workflows Handler
|
|
@@ -93,6 +112,16 @@ export interface WorkflowsApiInterface {
|
|
|
93
112
|
*/
|
|
94
113
|
listWorkflows(requestParameters: ListWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseWorkflowSummaryResponse>;
|
|
95
114
|
|
|
115
|
+
/**
|
|
116
|
+
* Creates request options for workflowAction without sending the request
|
|
117
|
+
* @param {string} workflowId
|
|
118
|
+
* @param {WorkflowAction} action Action to perform
|
|
119
|
+
* @param {string} [ksUat]
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
* @memberof WorkflowsApiInterface
|
|
122
|
+
*/
|
|
123
|
+
workflowActionRequestOpts(requestParameters: WorkflowActionRequest): Promise<runtime.RequestOpts>;
|
|
124
|
+
|
|
96
125
|
/**
|
|
97
126
|
* Cancel or rerun a workflow (OWNER/ADMIN only).
|
|
98
127
|
* @summary Workflow Action Handler
|
|
@@ -119,10 +148,9 @@ export interface WorkflowsApiInterface {
|
|
|
119
148
|
export class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterface {
|
|
120
149
|
|
|
121
150
|
/**
|
|
122
|
-
*
|
|
123
|
-
* Get Workflow Handler
|
|
151
|
+
* Creates request options for getWorkflow without sending the request
|
|
124
152
|
*/
|
|
125
|
-
async
|
|
153
|
+
async getWorkflowRequestOpts(requestParameters: GetWorkflowRequest): Promise<runtime.RequestOpts> {
|
|
126
154
|
if (requestParameters['workflowId'] == null) {
|
|
127
155
|
throw new runtime.RequiredError(
|
|
128
156
|
'workflowId',
|
|
@@ -138,12 +166,21 @@ export class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterfa
|
|
|
138
166
|
let urlPath = `/v1/workflows/{workflow_id}`;
|
|
139
167
|
urlPath = urlPath.replace(`{${"workflow_id"}}`, encodeURIComponent(String(requestParameters['workflowId'])));
|
|
140
168
|
|
|
141
|
-
|
|
169
|
+
return {
|
|
142
170
|
path: urlPath,
|
|
143
171
|
method: 'GET',
|
|
144
172
|
headers: headerParameters,
|
|
145
173
|
query: queryParameters,
|
|
146
|
-
}
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Get single workflow detail with live Temporal status.
|
|
179
|
+
* Get Workflow Handler
|
|
180
|
+
*/
|
|
181
|
+
async getWorkflowRaw(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDetailResponse>> {
|
|
182
|
+
const requestOptions = await this.getWorkflowRequestOpts(requestParameters);
|
|
183
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
147
184
|
|
|
148
185
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowDetailResponseFromJSON(jsonValue));
|
|
149
186
|
}
|
|
@@ -158,10 +195,9 @@ export class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterfa
|
|
|
158
195
|
}
|
|
159
196
|
|
|
160
197
|
/**
|
|
161
|
-
*
|
|
162
|
-
* List Workflows Handler
|
|
198
|
+
* Creates request options for listWorkflows without sending the request
|
|
163
199
|
*/
|
|
164
|
-
async
|
|
200
|
+
async listWorkflowsRequestOpts(requestParameters: ListWorkflowsRequest): Promise<runtime.RequestOpts> {
|
|
165
201
|
const queryParameters: any = {};
|
|
166
202
|
|
|
167
203
|
if (requestParameters['limit'] != null) {
|
|
@@ -177,12 +213,21 @@ export class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterfa
|
|
|
177
213
|
|
|
178
214
|
let urlPath = `/v1/workflows`;
|
|
179
215
|
|
|
180
|
-
|
|
216
|
+
return {
|
|
181
217
|
path: urlPath,
|
|
182
218
|
method: 'GET',
|
|
183
219
|
headers: headerParameters,
|
|
184
220
|
query: queryParameters,
|
|
185
|
-
}
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* List all workflows for the current tenant (paginated, DB-backed).
|
|
226
|
+
* List Workflows Handler
|
|
227
|
+
*/
|
|
228
|
+
async listWorkflowsRaw(requestParameters: ListWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseWorkflowSummaryResponse>> {
|
|
229
|
+
const requestOptions = await this.listWorkflowsRequestOpts(requestParameters);
|
|
230
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
186
231
|
|
|
187
232
|
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedResponseWorkflowSummaryResponseFromJSON(jsonValue));
|
|
188
233
|
}
|
|
@@ -197,10 +242,9 @@ export class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterfa
|
|
|
197
242
|
}
|
|
198
243
|
|
|
199
244
|
/**
|
|
200
|
-
*
|
|
201
|
-
* Workflow Action Handler
|
|
245
|
+
* Creates request options for workflowAction without sending the request
|
|
202
246
|
*/
|
|
203
|
-
async
|
|
247
|
+
async workflowActionRequestOpts(requestParameters: WorkflowActionRequest): Promise<runtime.RequestOpts> {
|
|
204
248
|
if (requestParameters['workflowId'] == null) {
|
|
205
249
|
throw new runtime.RequiredError(
|
|
206
250
|
'workflowId',
|
|
@@ -227,12 +271,21 @@ export class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterfa
|
|
|
227
271
|
let urlPath = `/v1/workflows/{workflow_id}`;
|
|
228
272
|
urlPath = urlPath.replace(`{${"workflow_id"}}`, encodeURIComponent(String(requestParameters['workflowId'])));
|
|
229
273
|
|
|
230
|
-
|
|
274
|
+
return {
|
|
231
275
|
path: urlPath,
|
|
232
276
|
method: 'POST',
|
|
233
277
|
headers: headerParameters,
|
|
234
278
|
query: queryParameters,
|
|
235
|
-
}
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Cancel or rerun a workflow (OWNER/ADMIN only).
|
|
284
|
+
* Workflow Action Handler
|
|
285
|
+
*/
|
|
286
|
+
async workflowActionRaw(requestParameters: WorkflowActionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowActionResponse>> {
|
|
287
|
+
const requestOptions = await this.workflowActionRequestOpts(requestParameters);
|
|
288
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
236
289
|
|
|
237
290
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowActionResponseFromJSON(jsonValue));
|
|
238
291
|
}
|