@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.
Files changed (298) hide show
  1. package/.openapi-generator/FILES +125 -6
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +274 -28
  4. package/dist/apis/AuthApi.d.ts +117 -0
  5. package/dist/apis/AuthApi.js +137 -47
  6. package/dist/apis/ChunkLineagesApi.d.ts +38 -0
  7. package/dist/apis/ChunkLineagesApi.js +42 -15
  8. package/dist/apis/ChunksApi.d.ts +78 -4
  9. package/dist/apis/ChunksApi.js +85 -31
  10. package/dist/apis/DefaultApi.d.ts +20 -0
  11. package/dist/apis/DefaultApi.js +28 -10
  12. package/dist/apis/DocumentVersionsApi.d.ts +99 -9
  13. package/dist/apis/DocumentVersionsApi.js +100 -37
  14. package/dist/apis/DocumentsApi.d.ts +80 -0
  15. package/dist/apis/DocumentsApi.js +84 -30
  16. package/dist/apis/FoldersApi.d.ts +92 -9
  17. package/dist/apis/FoldersApi.js +86 -32
  18. package/dist/apis/InvitesApi.d.ts +51 -0
  19. package/dist/apis/InvitesApi.js +56 -20
  20. package/dist/apis/PathPartsApi.d.ts +54 -0
  21. package/dist/apis/PathPartsApi.js +56 -20
  22. package/dist/apis/SectionsApi.d.ts +49 -0
  23. package/dist/apis/SectionsApi.js +56 -20
  24. package/dist/apis/TagsApi.d.ts +62 -0
  25. package/dist/apis/TagsApi.js +70 -25
  26. package/dist/apis/TenantsApi.d.ts +172 -5
  27. package/dist/apis/TenantsApi.js +179 -31
  28. package/dist/apis/ThreadMessagesApi.d.ts +41 -0
  29. package/dist/apis/ThreadMessagesApi.js +42 -15
  30. package/dist/apis/ThreadsApi.d.ts +77 -0
  31. package/dist/apis/ThreadsApi.js +84 -30
  32. package/dist/apis/UserPermissionsApi.d.ts +54 -0
  33. package/dist/apis/UserPermissionsApi.js +56 -20
  34. package/dist/apis/UsersApi.d.ts +23 -0
  35. package/dist/apis/UsersApi.js +28 -10
  36. package/dist/apis/WorkflowsApi.d.ts +38 -0
  37. package/dist/apis/WorkflowsApi.js +42 -15
  38. package/dist/esm/apis/AuthApi.d.ts +117 -0
  39. package/dist/esm/apis/AuthApi.js +137 -47
  40. package/dist/esm/apis/ChunkLineagesApi.d.ts +38 -0
  41. package/dist/esm/apis/ChunkLineagesApi.js +42 -15
  42. package/dist/esm/apis/ChunksApi.d.ts +78 -4
  43. package/dist/esm/apis/ChunksApi.js +85 -31
  44. package/dist/esm/apis/DefaultApi.d.ts +20 -0
  45. package/dist/esm/apis/DefaultApi.js +28 -10
  46. package/dist/esm/apis/DocumentVersionsApi.d.ts +99 -9
  47. package/dist/esm/apis/DocumentVersionsApi.js +101 -38
  48. package/dist/esm/apis/DocumentsApi.d.ts +80 -0
  49. package/dist/esm/apis/DocumentsApi.js +84 -30
  50. package/dist/esm/apis/FoldersApi.d.ts +92 -9
  51. package/dist/esm/apis/FoldersApi.js +87 -33
  52. package/dist/esm/apis/InvitesApi.d.ts +51 -0
  53. package/dist/esm/apis/InvitesApi.js +56 -20
  54. package/dist/esm/apis/PathPartsApi.d.ts +54 -0
  55. package/dist/esm/apis/PathPartsApi.js +56 -20
  56. package/dist/esm/apis/SectionsApi.d.ts +49 -0
  57. package/dist/esm/apis/SectionsApi.js +56 -20
  58. package/dist/esm/apis/TagsApi.d.ts +62 -0
  59. package/dist/esm/apis/TagsApi.js +70 -25
  60. package/dist/esm/apis/TenantsApi.d.ts +172 -5
  61. package/dist/esm/apis/TenantsApi.js +180 -32
  62. package/dist/esm/apis/ThreadMessagesApi.d.ts +41 -0
  63. package/dist/esm/apis/ThreadMessagesApi.js +42 -15
  64. package/dist/esm/apis/ThreadsApi.d.ts +77 -0
  65. package/dist/esm/apis/ThreadsApi.js +84 -30
  66. package/dist/esm/apis/UserPermissionsApi.d.ts +54 -0
  67. package/dist/esm/apis/UserPermissionsApi.js +56 -20
  68. package/dist/esm/apis/UsersApi.d.ts +23 -0
  69. package/dist/esm/apis/UsersApi.js +28 -10
  70. package/dist/esm/apis/WorkflowsApi.d.ts +38 -0
  71. package/dist/esm/apis/WorkflowsApi.js +42 -15
  72. package/dist/esm/models/{DocumentContentPathPart.d.ts → ChunkContentItem.d.ts} +37 -40
  73. package/dist/esm/models/{DocumentContentPathPart.js → ChunkContentItem.js} +17 -16
  74. package/dist/esm/models/ChunkResponse.d.ts +6 -0
  75. package/dist/esm/models/ChunkResponse.js +2 -0
  76. package/dist/esm/models/DocumentResponse.d.ts +13 -0
  77. package/dist/esm/models/DocumentResponse.js +8 -0
  78. package/dist/esm/models/FolderResponse.d.ts +13 -0
  79. package/dist/esm/models/FolderResponse.js +8 -0
  80. package/dist/esm/models/FolderResponseOrDocumentResponse.d.ts +27 -0
  81. package/dist/esm/models/FolderResponseOrDocumentResponse.js +47 -0
  82. package/dist/esm/models/InviteResponse.d.ts +7 -0
  83. package/dist/esm/models/InviteResponse.js +5 -0
  84. package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +66 -0
  85. package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js +70 -0
  86. package/dist/esm/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +66 -0
  87. package/dist/esm/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +70 -0
  88. package/dist/esm/models/PaginatedResponseTenantUserResponse.d.ts +66 -0
  89. package/dist/esm/models/{PaginatedResponseTenantUserInTenantResponse.js → PaginatedResponseTenantUserResponse.js} +12 -12
  90. package/dist/esm/models/ScoredChunkResponse.d.ts +6 -0
  91. package/dist/esm/models/ScoredChunkResponse.js +2 -0
  92. package/dist/esm/models/SectionContentItem.d.ts +114 -0
  93. package/dist/esm/models/SectionContentItem.js +86 -0
  94. package/dist/esm/models/SectionContentItemOrChunkContentItem.d.ts +27 -0
  95. package/dist/esm/models/SectionContentItemOrChunkContentItem.js +47 -0
  96. package/dist/esm/models/TenantUserEditRequest.d.ts +48 -0
  97. package/dist/esm/models/TenantUserEditRequest.js +45 -0
  98. package/dist/esm/models/{TenantUserInTenantResponse.d.ts → TenantUserResponse.d.ts} +19 -13
  99. package/dist/esm/models/{TenantUserInTenantResponse.js → TenantUserResponse.js} +13 -9
  100. package/dist/esm/models/index.d.ts +9 -6
  101. package/dist/esm/models/index.js +9 -6
  102. package/dist/models/{DocumentContentPathPart.d.ts → ChunkContentItem.d.ts} +37 -40
  103. package/dist/models/{DocumentContentPathPart.js → ChunkContentItem.js} +23 -22
  104. package/dist/models/ChunkResponse.d.ts +6 -0
  105. package/dist/models/ChunkResponse.js +2 -0
  106. package/dist/models/DocumentResponse.d.ts +13 -0
  107. package/dist/models/DocumentResponse.js +9 -1
  108. package/dist/models/FolderResponse.d.ts +13 -0
  109. package/dist/models/FolderResponse.js +9 -1
  110. package/dist/models/FolderResponseOrDocumentResponse.d.ts +27 -0
  111. package/dist/models/FolderResponseOrDocumentResponse.js +53 -0
  112. package/dist/models/InviteResponse.d.ts +7 -0
  113. package/dist/models/InviteResponse.js +5 -0
  114. package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +66 -0
  115. package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js +78 -0
  116. package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +66 -0
  117. package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +78 -0
  118. package/dist/models/PaginatedResponseTenantUserResponse.d.ts +66 -0
  119. package/dist/models/PaginatedResponseTenantUserResponse.js +78 -0
  120. package/dist/models/ScoredChunkResponse.d.ts +6 -0
  121. package/dist/models/ScoredChunkResponse.js +2 -0
  122. package/dist/models/SectionContentItem.d.ts +114 -0
  123. package/dist/models/SectionContentItem.js +94 -0
  124. package/dist/models/SectionContentItemOrChunkContentItem.d.ts +27 -0
  125. package/dist/models/SectionContentItemOrChunkContentItem.js +53 -0
  126. package/dist/models/TenantUserEditRequest.d.ts +48 -0
  127. package/dist/models/TenantUserEditRequest.js +53 -0
  128. package/dist/models/{TenantUserInTenantResponse.d.ts → TenantUserResponse.d.ts} +19 -13
  129. package/dist/models/{TenantUserInTenantResponse.js → TenantUserResponse.js} +19 -15
  130. package/dist/models/index.d.ts +9 -6
  131. package/dist/models/index.js +9 -6
  132. package/docs/AuthApi.md +707 -0
  133. package/docs/BulkTagRequest.md +35 -0
  134. package/docs/ChunkContentItem.md +59 -0
  135. package/docs/ChunkLineageResponse.md +41 -0
  136. package/docs/ChunkLineagesApi.md +230 -0
  137. package/docs/ChunkMetadataInput.md +37 -0
  138. package/docs/ChunkMetadataOutput.md +37 -0
  139. package/docs/ChunkResponse.md +63 -0
  140. package/docs/ChunkSearchRequest.md +47 -0
  141. package/docs/ChunkType.md +33 -0
  142. package/docs/ChunksApi.md +446 -0
  143. package/docs/ClearVersionContentsResponse.md +35 -0
  144. package/docs/CreateChunkLineageRequest.md +37 -0
  145. package/docs/CreateChunkRequest.md +43 -0
  146. package/docs/CreateDocumentRequest.md +41 -0
  147. package/docs/CreateFolderRequest.md +37 -0
  148. package/docs/CreatePasswordUserRequest.md +36 -0
  149. package/docs/CreatePermissionRequest.md +40 -0
  150. package/docs/CreateSectionRequest.md +41 -0
  151. package/docs/CreateTagRequest.md +39 -0
  152. package/docs/CreateTenantRequest.md +37 -0
  153. package/docs/CreateThreadMessageRequest.md +37 -0
  154. package/docs/CreateThreadRequest.md +37 -0
  155. package/docs/DefaultApi.md +128 -0
  156. package/docs/DocumentOrigin.md +33 -0
  157. package/docs/DocumentResponse.md +63 -0
  158. package/docs/DocumentType.md +33 -0
  159. package/docs/DocumentVersionMetadata.md +47 -0
  160. package/docs/DocumentVersionMetadataUpdate.md +47 -0
  161. package/docs/DocumentVersionResponse.md +57 -0
  162. package/docs/DocumentVersionsApi.md +530 -0
  163. package/docs/DocumentsApi.md +464 -0
  164. package/docs/EmailSentResponse.md +34 -0
  165. package/docs/EmailVerificationRequest.md +34 -0
  166. package/docs/EmbeddingModel.md +33 -0
  167. package/docs/FolderResponse.md +55 -0
  168. package/docs/FolderResponseOrDocumentResponse.md +62 -0
  169. package/docs/FoldersApi.md +473 -0
  170. package/docs/HTTPValidationError.md +34 -0
  171. package/docs/HealthCheckResponse.md +36 -0
  172. package/docs/IdpType.md +33 -0
  173. package/docs/IngestDocumentResponse.md +39 -0
  174. package/docs/InviteResponse.md +53 -0
  175. package/docs/InviteStatus.md +32 -0
  176. package/docs/InviteUserRequest.md +38 -0
  177. package/docs/InvitesApi.md +305 -0
  178. package/docs/LineageEdgeResponse.md +37 -0
  179. package/docs/LineageGraphResponse.md +37 -0
  180. package/docs/LineageNodeResponse.md +47 -0
  181. package/docs/LocationInner.md +32 -0
  182. package/docs/MessageRole.md +33 -0
  183. package/docs/OAuth2Config.md +41 -0
  184. package/docs/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.md +40 -0
  185. package/docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md +40 -0
  186. package/docs/PaginatedResponseDocumentResponse.md +40 -0
  187. package/docs/PaginatedResponseDocumentVersionResponse.md +40 -0
  188. package/docs/PaginatedResponseFolderResponse.md +40 -0
  189. package/docs/PaginatedResponseInviteResponse.md +40 -0
  190. package/docs/PaginatedResponsePathPartResponse.md +40 -0
  191. package/docs/PaginatedResponsePermissionResponse.md +40 -0
  192. package/docs/PaginatedResponseTagResponse.md +40 -0
  193. package/docs/PaginatedResponseTenantResponse.md +40 -0
  194. package/docs/PaginatedResponseTenantUserResponse.md +40 -0
  195. package/docs/PaginatedResponseThreadMessageResponse.md +40 -0
  196. package/docs/PaginatedResponseThreadResponse.md +40 -0
  197. package/docs/PaginatedResponseWorkflowSummaryResponse.md +40 -0
  198. package/docs/PartType.md +33 -0
  199. package/docs/PasswordResetRequest.md +36 -0
  200. package/docs/PasswordResetWithTokenRequest.md +36 -0
  201. package/docs/PathOrder.md +33 -0
  202. package/docs/PathPartResponse.md +53 -0
  203. package/docs/PathPartTagsResponse.md +35 -0
  204. package/docs/PathPartsApi.md +314 -0
  205. package/docs/PermissionCapability.md +33 -0
  206. package/docs/PermissionResponse.md +48 -0
  207. package/docs/PipelineState.md +45 -0
  208. package/docs/PipelineStatus.md +33 -0
  209. package/docs/Polygon.md +41 -0
  210. package/docs/PolygonReference.md +37 -0
  211. package/docs/RootResponse.md +36 -0
  212. package/docs/ScoredChunkResponse.md +65 -0
  213. package/docs/SectionContentItem.md +55 -0
  214. package/docs/SectionContentItemOrChunkContentItem.md +60 -0
  215. package/docs/SectionResponse.md +57 -0
  216. package/docs/SectionsApi.md +299 -0
  217. package/docs/SignInRequest.md +38 -0
  218. package/docs/TagResponse.md +47 -0
  219. package/docs/TagsApi.md +374 -0
  220. package/docs/TenantResponse.md +39 -0
  221. package/docs/TenantUserEditRequest.md +35 -0
  222. package/docs/TenantUserResponse.md +43 -0
  223. package/docs/TenantUserRole.md +33 -0
  224. package/docs/TenantsApi.md +605 -0
  225. package/docs/ThreadMessageResponse.md +53 -0
  226. package/docs/ThreadMessagesApi.md +239 -0
  227. package/docs/ThreadResponse.md +49 -0
  228. package/docs/ThreadsApi.md +455 -0
  229. package/docs/UpdateChunkContentRequest.md +37 -0
  230. package/docs/UpdateChunkMetadataRequest.md +35 -0
  231. package/docs/UpdateDocumentRequest.md +39 -0
  232. package/docs/UpdateFolderRequest.md +37 -0
  233. package/docs/UpdatePermissionRequest.md +36 -0
  234. package/docs/UpdateSectionRequest.md +41 -0
  235. package/docs/UpdateTagRequest.md +39 -0
  236. package/docs/UpdateTenantRequest.md +37 -0
  237. package/docs/UpdateThreadRequest.md +37 -0
  238. package/docs/UpdateUserRequest.md +34 -0
  239. package/docs/UserPermissionsApi.md +314 -0
  240. package/docs/UserResponse.md +44 -0
  241. package/docs/UsersApi.md +149 -0
  242. package/docs/ValidationError.md +42 -0
  243. package/docs/WorkflowAction.md +33 -0
  244. package/docs/WorkflowActionResponse.md +39 -0
  245. package/docs/WorkflowDetailResponse.md +63 -0
  246. package/docs/WorkflowSummaryResponse.md +49 -0
  247. package/docs/WorkflowsApi.md +230 -0
  248. package/package.json +1 -1
  249. package/src/apis/AuthApi.ts +214 -47
  250. package/src/apis/ChunkLineagesApi.ts +68 -15
  251. package/src/apis/ChunksApi.ts +137 -33
  252. package/src/apis/DefaultApi.ts +40 -10
  253. package/src/apis/DocumentVersionsApi.ts +170 -45
  254. package/src/apis/DocumentsApi.ts +140 -30
  255. package/src/apis/FoldersApi.ts +153 -40
  256. package/src/apis/InvitesApi.ts +91 -20
  257. package/src/apis/PathPartsApi.ts +94 -20
  258. package/src/apis/SectionsApi.ts +89 -20
  259. package/src/apis/TagsApi.ts +112 -25
  260. package/src/apis/TenantsApi.ts +339 -37
  261. package/src/apis/ThreadMessagesApi.ts +71 -15
  262. package/src/apis/ThreadsApi.ts +137 -30
  263. package/src/apis/UserPermissionsApi.ts +94 -20
  264. package/src/apis/UsersApi.ts +43 -10
  265. package/src/apis/WorkflowsApi.ts +68 -15
  266. package/src/models/{DocumentContentPathPart.ts → ChunkContentItem.ts} +42 -53
  267. package/src/models/ChunkResponse.ts +8 -0
  268. package/src/models/DocumentResponse.ts +16 -0
  269. package/src/models/FolderResponse.ts +18 -0
  270. package/src/models/FolderResponseOrDocumentResponse.ts +72 -0
  271. package/src/models/InviteResponse.ts +19 -0
  272. package/src/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.ts +130 -0
  273. package/src/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.ts +130 -0
  274. package/src/models/{PaginatedResponseFolderDocumentResponse.ts → PaginatedResponseTenantUserResponse.ts} +25 -25
  275. package/src/models/ScoredChunkResponse.ts +8 -0
  276. package/src/models/SectionContentItem.ts +181 -0
  277. package/src/models/SectionContentItemOrChunkContentItem.ts +72 -0
  278. package/src/models/TenantUserEditRequest.ts +93 -0
  279. package/src/models/{TenantUserInTenantResponse.ts → TenantUserResponse.ts} +24 -15
  280. package/src/models/index.ts +9 -6
  281. package/dist/esm/models/FolderDocumentResponse.d.ts +0 -157
  282. package/dist/esm/models/FolderDocumentResponse.js +0 -99
  283. package/dist/esm/models/PaginatedResponseDocumentContentPathPart.d.ts +0 -66
  284. package/dist/esm/models/PaginatedResponseDocumentContentPathPart.js +0 -70
  285. package/dist/esm/models/PaginatedResponseFolderDocumentResponse.d.ts +0 -66
  286. package/dist/esm/models/PaginatedResponseFolderDocumentResponse.js +0 -70
  287. package/dist/esm/models/PaginatedResponseTenantUserInTenantResponse.d.ts +0 -66
  288. package/dist/models/FolderDocumentResponse.d.ts +0 -157
  289. package/dist/models/FolderDocumentResponse.js +0 -107
  290. package/dist/models/PaginatedResponseDocumentContentPathPart.d.ts +0 -66
  291. package/dist/models/PaginatedResponseDocumentContentPathPart.js +0 -78
  292. package/dist/models/PaginatedResponseFolderDocumentResponse.d.ts +0 -66
  293. package/dist/models/PaginatedResponseFolderDocumentResponse.js +0 -78
  294. package/dist/models/PaginatedResponseTenantUserInTenantResponse.d.ts +0 -66
  295. package/dist/models/PaginatedResponseTenantUserInTenantResponse.js +0 -78
  296. package/src/models/FolderDocumentResponse.ts +0 -267
  297. package/src/models/PaginatedResponseDocumentContentPathPart.ts +0 -130
  298. package/src/models/PaginatedResponseTenantUserInTenantResponse.ts +0 -130
@@ -53,6 +53,13 @@ export interface SendPwResetEmailRequest {
53
53
  * @interface AuthApiInterface
54
54
  */
55
55
  export interface AuthApiInterface {
56
+ /**
57
+ * Creates request options for createPasswordUser without sending the request
58
+ * @param {CreatePasswordUserRequest} createPasswordUserRequest
59
+ * @throws {RequiredError}
60
+ * @memberof AuthApiInterface
61
+ */
62
+ createPasswordUserRequestOpts(requestParameters: CreatePasswordUserOperationRequest): Promise<runtime.RequestOpts>;
56
63
  /**
57
64
  *
58
65
  * @summary Create Password User Handler
@@ -66,6 +73,14 @@ export interface AuthApiInterface {
66
73
  * Create Password User Handler
67
74
  */
68
75
  createPasswordUser(requestParameters: CreatePasswordUserOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
76
+ /**
77
+ * Creates request options for initiateSso without sending the request
78
+ * @param {IdpType} provider Provider to initiate SSO with
79
+ * @param {string} [tenantId] Tenant ID to initiate SSO with
80
+ * @throws {RequiredError}
81
+ * @memberof AuthApiInterface
82
+ */
83
+ initiateSsoRequestOpts(requestParameters: InitiateSsoRequest): Promise<runtime.RequestOpts>;
69
84
  /**
70
85
  * Initiate SSO with the given provider and tenant ID.
71
86
  * @summary Initiate Sso Handler
@@ -81,6 +96,18 @@ export interface AuthApiInterface {
81
96
  * Initiate Sso Handler
82
97
  */
83
98
  initiateSso(requestParameters: InitiateSsoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
99
+ /**
100
+ * Creates request options for oauth2Callback without sending the request
101
+ * @param {IdpType} provider Provider to initiate SSO with
102
+ * @param {string} [code] Authorization code from provider
103
+ * @param {string} [state] State parameter for CSRF protection
104
+ * @param {string} [error] Error code if authorization failed
105
+ * @param {string} [errorDescription] Error description
106
+ * @param {string} [tenantId] Tenant ID to initiate SSO with
107
+ * @throws {RequiredError}
108
+ * @memberof AuthApiInterface
109
+ */
110
+ oauth2CallbackRequestOpts(requestParameters: Oauth2CallbackRequest): Promise<runtime.RequestOpts>;
84
111
  /**
85
112
  * Handle OAuth2 callback from the given OAuth client.
86
113
  * @summary Oauth2 Callback Handler
@@ -100,6 +127,13 @@ export interface AuthApiInterface {
100
127
  * Oauth2 Callback Handler
101
128
  */
102
129
  oauth2Callback(requestParameters: Oauth2CallbackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
130
+ /**
131
+ * Creates request options for pwEmailVerification without sending the request
132
+ * @param {EmailVerificationRequest} emailVerificationRequest
133
+ * @throws {RequiredError}
134
+ * @memberof AuthApiInterface
135
+ */
136
+ pwEmailVerificationRequestOpts(requestParameters: PwEmailVerificationRequest): Promise<runtime.RequestOpts>;
103
137
  /**
104
138
  * Send password user email verification email. This endpoint is the first step in the password user creation process. The user receives an email with a link to create their account.
105
139
  * @summary Pw Email Verification Handler
@@ -114,6 +148,13 @@ export interface AuthApiInterface {
114
148
  * Pw Email Verification Handler
115
149
  */
116
150
  pwEmailVerification(requestParameters: PwEmailVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmailSentResponse>;
151
+ /**
152
+ * Creates request options for pwSignin without sending the request
153
+ * @param {SignInRequest} signInRequest
154
+ * @throws {RequiredError}
155
+ * @memberof AuthApiInterface
156
+ */
157
+ pwSigninRequestOpts(requestParameters: PwSigninRequest): Promise<runtime.RequestOpts>;
117
158
  /**
118
159
  * Validate password credentials and redirect to callback. This endpoint validates the user\'s credentials and stores the user ID in the session, then redirects to /auth/callback?method=pw to maintain consistency with OAuth flows.
119
160
  * @summary Signin Handler
@@ -128,6 +169,14 @@ export interface AuthApiInterface {
128
169
  * Signin Handler
129
170
  */
130
171
  pwSignin(requestParameters: PwSigninRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
172
+ /**
173
+ * Creates request options for refreshUat without sending the request
174
+ * @param {string} [tenantId] Target tenant ID to switch to. None&#x3D;refresh current tenant
175
+ * @param {string} [ksUat]
176
+ * @throws {RequiredError}
177
+ * @memberof AuthApiInterface
178
+ */
179
+ refreshUatRequestOpts(requestParameters: RefreshUatRequest): Promise<runtime.RequestOpts>;
131
180
  /**
132
181
  * Refresh or switch the user\'s active tenant token.
133
182
  * @summary Refresh Uat Handler
@@ -143,6 +192,14 @@ export interface AuthApiInterface {
143
192
  * Refresh Uat Handler
144
193
  */
145
194
  refreshUat(requestParameters: RefreshUatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
195
+ /**
196
+ * Creates request options for resetPassword without sending the request
197
+ * @param {PasswordResetRequest} passwordResetRequest
198
+ * @param {string} [ksUat]
199
+ * @throws {RequiredError}
200
+ * @memberof AuthApiInterface
201
+ */
202
+ resetPasswordRequestOpts(requestParameters: ResetPasswordRequest): Promise<runtime.RequestOpts>;
146
203
  /**
147
204
  * Reset password for the authenticated user
148
205
  * @summary Reset Password Handler
@@ -158,6 +215,13 @@ export interface AuthApiInterface {
158
215
  * Reset Password Handler
159
216
  */
160
217
  resetPassword(requestParameters: ResetPasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
218
+ /**
219
+ * Creates request options for resetPasswordWithToken without sending the request
220
+ * @param {PasswordResetWithTokenRequest} passwordResetWithTokenRequest
221
+ * @throws {RequiredError}
222
+ * @memberof AuthApiInterface
223
+ */
224
+ resetPasswordWithTokenRequestOpts(requestParameters: ResetPasswordWithTokenRequest): Promise<runtime.RequestOpts>;
161
225
  /**
162
226
  * Reset password with email verification token
163
227
  * @summary Reset Password With Token Handler
@@ -172,6 +236,13 @@ export interface AuthApiInterface {
172
236
  * Reset Password With Token Handler
173
237
  */
174
238
  resetPasswordWithToken(requestParameters: ResetPasswordWithTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
239
+ /**
240
+ * Creates request options for sendPwResetEmail without sending the request
241
+ * @param {EmailVerificationRequest} emailVerificationRequest
242
+ * @throws {RequiredError}
243
+ * @memberof AuthApiInterface
244
+ */
245
+ sendPwResetEmailRequestOpts(requestParameters: SendPwResetEmailRequest): Promise<runtime.RequestOpts>;
175
246
  /**
176
247
  *
177
248
  * @summary Send Pw Reset Email Handler
@@ -185,6 +256,12 @@ export interface AuthApiInterface {
185
256
  * Send Pw Reset Email Handler
186
257
  */
187
258
  sendPwResetEmail(requestParameters: SendPwResetEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmailSentResponse>;
259
+ /**
260
+ * Creates request options for signout without sending the request
261
+ * @throws {RequiredError}
262
+ * @memberof AuthApiInterface
263
+ */
264
+ signoutRequestOpts(): Promise<runtime.RequestOpts>;
188
265
  /**
189
266
  *
190
267
  * @summary Signout Handler
@@ -202,6 +279,10 @@ export interface AuthApiInterface {
202
279
  *
203
280
  */
204
281
  export declare class AuthApi extends runtime.BaseAPI implements AuthApiInterface {
282
+ /**
283
+ * Creates request options for createPasswordUser without sending the request
284
+ */
285
+ createPasswordUserRequestOpts(requestParameters: CreatePasswordUserOperationRequest): Promise<runtime.RequestOpts>;
205
286
  /**
206
287
  * Create Password User Handler
207
288
  */
@@ -210,6 +291,10 @@ export declare class AuthApi extends runtime.BaseAPI implements AuthApiInterface
210
291
  * Create Password User Handler
211
292
  */
212
293
  createPasswordUser(requestParameters: CreatePasswordUserOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
294
+ /**
295
+ * Creates request options for initiateSso without sending the request
296
+ */
297
+ initiateSsoRequestOpts(requestParameters: InitiateSsoRequest): Promise<runtime.RequestOpts>;
213
298
  /**
214
299
  * Initiate SSO with the given provider and tenant ID.
215
300
  * Initiate Sso Handler
@@ -220,6 +305,10 @@ export declare class AuthApi extends runtime.BaseAPI implements AuthApiInterface
220
305
  * Initiate Sso Handler
221
306
  */
222
307
  initiateSso(requestParameters: InitiateSsoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
308
+ /**
309
+ * Creates request options for oauth2Callback without sending the request
310
+ */
311
+ oauth2CallbackRequestOpts(requestParameters: Oauth2CallbackRequest): Promise<runtime.RequestOpts>;
223
312
  /**
224
313
  * Handle OAuth2 callback from the given OAuth client.
225
314
  * Oauth2 Callback Handler
@@ -230,6 +319,10 @@ export declare class AuthApi extends runtime.BaseAPI implements AuthApiInterface
230
319
  * Oauth2 Callback Handler
231
320
  */
232
321
  oauth2Callback(requestParameters: Oauth2CallbackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
322
+ /**
323
+ * Creates request options for pwEmailVerification without sending the request
324
+ */
325
+ pwEmailVerificationRequestOpts(requestParameters: PwEmailVerificationRequest): Promise<runtime.RequestOpts>;
233
326
  /**
234
327
  * Send password user email verification email. This endpoint is the first step in the password user creation process. The user receives an email with a link to create their account.
235
328
  * Pw Email Verification Handler
@@ -240,6 +333,10 @@ export declare class AuthApi extends runtime.BaseAPI implements AuthApiInterface
240
333
  * Pw Email Verification Handler
241
334
  */
242
335
  pwEmailVerification(requestParameters: PwEmailVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmailSentResponse>;
336
+ /**
337
+ * Creates request options for pwSignin without sending the request
338
+ */
339
+ pwSigninRequestOpts(requestParameters: PwSigninRequest): Promise<runtime.RequestOpts>;
243
340
  /**
244
341
  * Validate password credentials and redirect to callback. This endpoint validates the user\'s credentials and stores the user ID in the session, then redirects to /auth/callback?method=pw to maintain consistency with OAuth flows.
245
342
  * Signin Handler
@@ -250,6 +347,10 @@ export declare class AuthApi extends runtime.BaseAPI implements AuthApiInterface
250
347
  * Signin Handler
251
348
  */
252
349
  pwSignin(requestParameters: PwSigninRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
350
+ /**
351
+ * Creates request options for refreshUat without sending the request
352
+ */
353
+ refreshUatRequestOpts(requestParameters: RefreshUatRequest): Promise<runtime.RequestOpts>;
253
354
  /**
254
355
  * Refresh or switch the user\'s active tenant token.
255
356
  * Refresh Uat Handler
@@ -260,6 +361,10 @@ export declare class AuthApi extends runtime.BaseAPI implements AuthApiInterface
260
361
  * Refresh Uat Handler
261
362
  */
262
363
  refreshUat(requestParameters?: RefreshUatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
364
+ /**
365
+ * Creates request options for resetPassword without sending the request
366
+ */
367
+ resetPasswordRequestOpts(requestParameters: ResetPasswordRequest): Promise<runtime.RequestOpts>;
263
368
  /**
264
369
  * Reset password for the authenticated user
265
370
  * Reset Password Handler
@@ -270,6 +375,10 @@ export declare class AuthApi extends runtime.BaseAPI implements AuthApiInterface
270
375
  * Reset Password Handler
271
376
  */
272
377
  resetPassword(requestParameters: ResetPasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
378
+ /**
379
+ * Creates request options for resetPasswordWithToken without sending the request
380
+ */
381
+ resetPasswordWithTokenRequestOpts(requestParameters: ResetPasswordWithTokenRequest): Promise<runtime.RequestOpts>;
273
382
  /**
274
383
  * Reset password with email verification token
275
384
  * Reset Password With Token Handler
@@ -280,6 +389,10 @@ export declare class AuthApi extends runtime.BaseAPI implements AuthApiInterface
280
389
  * Reset Password With Token Handler
281
390
  */
282
391
  resetPasswordWithToken(requestParameters: ResetPasswordWithTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
392
+ /**
393
+ * Creates request options for sendPwResetEmail without sending the request
394
+ */
395
+ sendPwResetEmailRequestOpts(requestParameters: SendPwResetEmailRequest): Promise<runtime.RequestOpts>;
283
396
  /**
284
397
  * Send Pw Reset Email Handler
285
398
  */
@@ -288,6 +401,10 @@ export declare class AuthApi extends runtime.BaseAPI implements AuthApiInterface
288
401
  * Send Pw Reset Email Handler
289
402
  */
290
403
  sendPwResetEmail(requestParameters: SendPwResetEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmailSentResponse>;
404
+ /**
405
+ * Creates request options for signout without sending the request
406
+ */
407
+ signoutRequestOpts(): Promise<runtime.RequestOpts>;
291
408
  /**
292
409
  * Signout Handler
293
410
  */
@@ -30,9 +30,9 @@ const index_1 = require("../models/index");
30
30
  */
31
31
  class AuthApi extends runtime.BaseAPI {
32
32
  /**
33
- * Create Password User Handler
33
+ * Creates request options for createPasswordUser without sending the request
34
34
  */
35
- createPasswordUserRaw(requestParameters, initOverrides) {
35
+ createPasswordUserRequestOpts(requestParameters) {
36
36
  return __awaiter(this, void 0, void 0, function* () {
37
37
  if (requestParameters['createPasswordUserRequest'] == null) {
38
38
  throw new runtime.RequiredError('createPasswordUserRequest', 'Required parameter "createPasswordUserRequest" was null or undefined when calling createPasswordUser().');
@@ -41,13 +41,22 @@ class AuthApi extends runtime.BaseAPI {
41
41
  const headerParameters = {};
42
42
  headerParameters['Content-Type'] = 'application/json';
43
43
  let urlPath = `/v1/auth/pw/user`;
44
- const response = yield this.request({
44
+ return {
45
45
  path: urlPath,
46
46
  method: 'POST',
47
47
  headers: headerParameters,
48
48
  query: queryParameters,
49
49
  body: (0, index_1.CreatePasswordUserRequestToJSON)(requestParameters['createPasswordUserRequest']),
50
- }, initOverrides);
50
+ };
51
+ });
52
+ }
53
+ /**
54
+ * Create Password User Handler
55
+ */
56
+ createPasswordUserRaw(requestParameters, initOverrides) {
57
+ return __awaiter(this, void 0, void 0, function* () {
58
+ const requestOptions = yield this.createPasswordUserRequestOpts(requestParameters);
59
+ const response = yield this.request(requestOptions, initOverrides);
51
60
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UserResponseFromJSON)(jsonValue));
52
61
  });
53
62
  }
@@ -61,10 +70,9 @@ class AuthApi extends runtime.BaseAPI {
61
70
  });
62
71
  }
63
72
  /**
64
- * Initiate SSO with the given provider and tenant ID.
65
- * Initiate Sso Handler
73
+ * Creates request options for initiateSso without sending the request
66
74
  */
67
- initiateSsoRaw(requestParameters, initOverrides) {
75
+ initiateSsoRequestOpts(requestParameters) {
68
76
  return __awaiter(this, void 0, void 0, function* () {
69
77
  if (requestParameters['provider'] == null) {
70
78
  throw new runtime.RequiredError('provider', 'Required parameter "provider" was null or undefined when calling initiateSso().');
@@ -78,12 +86,22 @@ class AuthApi extends runtime.BaseAPI {
78
86
  }
79
87
  const headerParameters = {};
80
88
  let urlPath = `/v1/auth/sso/initiate`;
81
- const response = yield this.request({
89
+ return {
82
90
  path: urlPath,
83
91
  method: 'POST',
84
92
  headers: headerParameters,
85
93
  query: queryParameters,
86
- }, initOverrides);
94
+ };
95
+ });
96
+ }
97
+ /**
98
+ * Initiate SSO with the given provider and tenant ID.
99
+ * Initiate Sso Handler
100
+ */
101
+ initiateSsoRaw(requestParameters, initOverrides) {
102
+ return __awaiter(this, void 0, void 0, function* () {
103
+ const requestOptions = yield this.initiateSsoRequestOpts(requestParameters);
104
+ const response = yield this.request(requestOptions, initOverrides);
87
105
  if (this.isJsonMime(response.headers.get('content-type'))) {
88
106
  return new runtime.JSONApiResponse(response);
89
107
  }
@@ -103,10 +121,9 @@ class AuthApi extends runtime.BaseAPI {
103
121
  });
104
122
  }
105
123
  /**
106
- * Handle OAuth2 callback from the given OAuth client.
107
- * Oauth2 Callback Handler
124
+ * Creates request options for oauth2Callback without sending the request
108
125
  */
109
- oauth2CallbackRaw(requestParameters, initOverrides) {
126
+ oauth2CallbackRequestOpts(requestParameters) {
110
127
  return __awaiter(this, void 0, void 0, function* () {
111
128
  if (requestParameters['provider'] == null) {
112
129
  throw new runtime.RequiredError('provider', 'Required parameter "provider" was null or undefined when calling oauth2Callback().');
@@ -132,12 +149,22 @@ class AuthApi extends runtime.BaseAPI {
132
149
  }
133
150
  const headerParameters = {};
134
151
  let urlPath = `/v1/auth/sso/oauth2/callback`;
135
- const response = yield this.request({
152
+ return {
136
153
  path: urlPath,
137
154
  method: 'GET',
138
155
  headers: headerParameters,
139
156
  query: queryParameters,
140
- }, initOverrides);
157
+ };
158
+ });
159
+ }
160
+ /**
161
+ * Handle OAuth2 callback from the given OAuth client.
162
+ * Oauth2 Callback Handler
163
+ */
164
+ oauth2CallbackRaw(requestParameters, initOverrides) {
165
+ return __awaiter(this, void 0, void 0, function* () {
166
+ const requestOptions = yield this.oauth2CallbackRequestOpts(requestParameters);
167
+ const response = yield this.request(requestOptions, initOverrides);
141
168
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UserResponseFromJSON)(jsonValue));
142
169
  });
143
170
  }
@@ -152,10 +179,9 @@ class AuthApi extends runtime.BaseAPI {
152
179
  });
153
180
  }
154
181
  /**
155
- * Send password user email verification email. This endpoint is the first step in the password user creation process. The user receives an email with a link to create their account.
156
- * Pw Email Verification Handler
182
+ * Creates request options for pwEmailVerification without sending the request
157
183
  */
158
- pwEmailVerificationRaw(requestParameters, initOverrides) {
184
+ pwEmailVerificationRequestOpts(requestParameters) {
159
185
  return __awaiter(this, void 0, void 0, function* () {
160
186
  if (requestParameters['emailVerificationRequest'] == null) {
161
187
  throw new runtime.RequiredError('emailVerificationRequest', 'Required parameter "emailVerificationRequest" was null or undefined when calling pwEmailVerification().');
@@ -164,13 +190,23 @@ class AuthApi extends runtime.BaseAPI {
164
190
  const headerParameters = {};
165
191
  headerParameters['Content-Type'] = 'application/json';
166
192
  let urlPath = `/v1/auth/pw/email_verification`;
167
- const response = yield this.request({
193
+ return {
168
194
  path: urlPath,
169
195
  method: 'POST',
170
196
  headers: headerParameters,
171
197
  query: queryParameters,
172
198
  body: (0, index_1.EmailVerificationRequestToJSON)(requestParameters['emailVerificationRequest']),
173
- }, initOverrides);
199
+ };
200
+ });
201
+ }
202
+ /**
203
+ * Send password user email verification email. This endpoint is the first step in the password user creation process. The user receives an email with a link to create their account.
204
+ * Pw Email Verification Handler
205
+ */
206
+ pwEmailVerificationRaw(requestParameters, initOverrides) {
207
+ return __awaiter(this, void 0, void 0, function* () {
208
+ const requestOptions = yield this.pwEmailVerificationRequestOpts(requestParameters);
209
+ const response = yield this.request(requestOptions, initOverrides);
174
210
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EmailSentResponseFromJSON)(jsonValue));
175
211
  });
176
212
  }
@@ -185,10 +221,9 @@ class AuthApi extends runtime.BaseAPI {
185
221
  });
186
222
  }
187
223
  /**
188
- * Validate password credentials and redirect to callback. This endpoint validates the user\'s credentials and stores the user ID in the session, then redirects to /auth/callback?method=pw to maintain consistency with OAuth flows.
189
- * Signin Handler
224
+ * Creates request options for pwSignin without sending the request
190
225
  */
191
- pwSigninRaw(requestParameters, initOverrides) {
226
+ pwSigninRequestOpts(requestParameters) {
192
227
  return __awaiter(this, void 0, void 0, function* () {
193
228
  if (requestParameters['signInRequest'] == null) {
194
229
  throw new runtime.RequiredError('signInRequest', 'Required parameter "signInRequest" was null or undefined when calling pwSignin().');
@@ -197,13 +232,23 @@ class AuthApi extends runtime.BaseAPI {
197
232
  const headerParameters = {};
198
233
  headerParameters['Content-Type'] = 'application/json';
199
234
  let urlPath = `/v1/auth/pw/signin`;
200
- const response = yield this.request({
235
+ return {
201
236
  path: urlPath,
202
237
  method: 'POST',
203
238
  headers: headerParameters,
204
239
  query: queryParameters,
205
240
  body: (0, index_1.SignInRequestToJSON)(requestParameters['signInRequest']),
206
- }, initOverrides);
241
+ };
242
+ });
243
+ }
244
+ /**
245
+ * Validate password credentials and redirect to callback. This endpoint validates the user\'s credentials and stores the user ID in the session, then redirects to /auth/callback?method=pw to maintain consistency with OAuth flows.
246
+ * Signin Handler
247
+ */
248
+ pwSigninRaw(requestParameters, initOverrides) {
249
+ return __awaiter(this, void 0, void 0, function* () {
250
+ const requestOptions = yield this.pwSigninRequestOpts(requestParameters);
251
+ const response = yield this.request(requestOptions, initOverrides);
207
252
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UserResponseFromJSON)(jsonValue));
208
253
  });
209
254
  }
@@ -218,10 +263,9 @@ class AuthApi extends runtime.BaseAPI {
218
263
  });
219
264
  }
220
265
  /**
221
- * Refresh or switch the user\'s active tenant token.
222
- * Refresh Uat Handler
266
+ * Creates request options for refreshUat without sending the request
223
267
  */
224
- refreshUatRaw(requestParameters, initOverrides) {
268
+ refreshUatRequestOpts(requestParameters) {
225
269
  return __awaiter(this, void 0, void 0, function* () {
226
270
  const queryParameters = {};
227
271
  if (requestParameters['tenantId'] != null) {
@@ -229,12 +273,22 @@ class AuthApi extends runtime.BaseAPI {
229
273
  }
230
274
  const headerParameters = {};
231
275
  let urlPath = `/v1/auth/uat`;
232
- const response = yield this.request({
276
+ return {
233
277
  path: urlPath,
234
278
  method: 'POST',
235
279
  headers: headerParameters,
236
280
  query: queryParameters,
237
- }, initOverrides);
281
+ };
282
+ });
283
+ }
284
+ /**
285
+ * Refresh or switch the user\'s active tenant token.
286
+ * Refresh Uat Handler
287
+ */
288
+ refreshUatRaw(requestParameters, initOverrides) {
289
+ return __awaiter(this, void 0, void 0, function* () {
290
+ const requestOptions = yield this.refreshUatRequestOpts(requestParameters);
291
+ const response = yield this.request(requestOptions, initOverrides);
238
292
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UserResponseFromJSON)(jsonValue));
239
293
  });
240
294
  }
@@ -249,10 +303,9 @@ class AuthApi extends runtime.BaseAPI {
249
303
  });
250
304
  }
251
305
  /**
252
- * Reset password for the authenticated user
253
- * Reset Password Handler
306
+ * Creates request options for resetPassword without sending the request
254
307
  */
255
- resetPasswordRaw(requestParameters, initOverrides) {
308
+ resetPasswordRequestOpts(requestParameters) {
256
309
  return __awaiter(this, void 0, void 0, function* () {
257
310
  if (requestParameters['passwordResetRequest'] == null) {
258
311
  throw new runtime.RequiredError('passwordResetRequest', 'Required parameter "passwordResetRequest" was null or undefined when calling resetPassword().');
@@ -261,13 +314,23 @@ class AuthApi extends runtime.BaseAPI {
261
314
  const headerParameters = {};
262
315
  headerParameters['Content-Type'] = 'application/json';
263
316
  let urlPath = `/v1/auth/pw/reset`;
264
- const response = yield this.request({
317
+ return {
265
318
  path: urlPath,
266
319
  method: 'POST',
267
320
  headers: headerParameters,
268
321
  query: queryParameters,
269
322
  body: (0, index_1.PasswordResetRequestToJSON)(requestParameters['passwordResetRequest']),
270
- }, initOverrides);
323
+ };
324
+ });
325
+ }
326
+ /**
327
+ * Reset password for the authenticated user
328
+ * Reset Password Handler
329
+ */
330
+ resetPasswordRaw(requestParameters, initOverrides) {
331
+ return __awaiter(this, void 0, void 0, function* () {
332
+ const requestOptions = yield this.resetPasswordRequestOpts(requestParameters);
333
+ const response = yield this.request(requestOptions, initOverrides);
271
334
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UserResponseFromJSON)(jsonValue));
272
335
  });
273
336
  }
@@ -282,10 +345,9 @@ class AuthApi extends runtime.BaseAPI {
282
345
  });
283
346
  }
284
347
  /**
285
- * Reset password with email verification token
286
- * Reset Password With Token Handler
348
+ * Creates request options for resetPasswordWithToken without sending the request
287
349
  */
288
- resetPasswordWithTokenRaw(requestParameters, initOverrides) {
350
+ resetPasswordWithTokenRequestOpts(requestParameters) {
289
351
  return __awaiter(this, void 0, void 0, function* () {
290
352
  if (requestParameters['passwordResetWithTokenRequest'] == null) {
291
353
  throw new runtime.RequiredError('passwordResetWithTokenRequest', 'Required parameter "passwordResetWithTokenRequest" was null or undefined when calling resetPasswordWithToken().');
@@ -294,13 +356,23 @@ class AuthApi extends runtime.BaseAPI {
294
356
  const headerParameters = {};
295
357
  headerParameters['Content-Type'] = 'application/json';
296
358
  let urlPath = `/v1/auth/pw/reset_with_token`;
297
- const response = yield this.request({
359
+ return {
298
360
  path: urlPath,
299
361
  method: 'POST',
300
362
  headers: headerParameters,
301
363
  query: queryParameters,
302
364
  body: (0, index_1.PasswordResetWithTokenRequestToJSON)(requestParameters['passwordResetWithTokenRequest']),
303
- }, initOverrides);
365
+ };
366
+ });
367
+ }
368
+ /**
369
+ * Reset password with email verification token
370
+ * Reset Password With Token Handler
371
+ */
372
+ resetPasswordWithTokenRaw(requestParameters, initOverrides) {
373
+ return __awaiter(this, void 0, void 0, function* () {
374
+ const requestOptions = yield this.resetPasswordWithTokenRequestOpts(requestParameters);
375
+ const response = yield this.request(requestOptions, initOverrides);
304
376
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UserResponseFromJSON)(jsonValue));
305
377
  });
306
378
  }
@@ -315,9 +387,9 @@ class AuthApi extends runtime.BaseAPI {
315
387
  });
316
388
  }
317
389
  /**
318
- * Send Pw Reset Email Handler
390
+ * Creates request options for sendPwResetEmail without sending the request
319
391
  */
320
- sendPwResetEmailRaw(requestParameters, initOverrides) {
392
+ sendPwResetEmailRequestOpts(requestParameters) {
321
393
  return __awaiter(this, void 0, void 0, function* () {
322
394
  if (requestParameters['emailVerificationRequest'] == null) {
323
395
  throw new runtime.RequiredError('emailVerificationRequest', 'Required parameter "emailVerificationRequest" was null or undefined when calling sendPwResetEmail().');
@@ -326,13 +398,22 @@ class AuthApi extends runtime.BaseAPI {
326
398
  const headerParameters = {};
327
399
  headerParameters['Content-Type'] = 'application/json';
328
400
  let urlPath = `/v1/auth/pw/send_reset_email`;
329
- const response = yield this.request({
401
+ return {
330
402
  path: urlPath,
331
403
  method: 'POST',
332
404
  headers: headerParameters,
333
405
  query: queryParameters,
334
406
  body: (0, index_1.EmailVerificationRequestToJSON)(requestParameters['emailVerificationRequest']),
335
- }, initOverrides);
407
+ };
408
+ });
409
+ }
410
+ /**
411
+ * Send Pw Reset Email Handler
412
+ */
413
+ sendPwResetEmailRaw(requestParameters, initOverrides) {
414
+ return __awaiter(this, void 0, void 0, function* () {
415
+ const requestOptions = yield this.sendPwResetEmailRequestOpts(requestParameters);
416
+ const response = yield this.request(requestOptions, initOverrides);
336
417
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EmailSentResponseFromJSON)(jsonValue));
337
418
  });
338
419
  }
@@ -346,19 +427,28 @@ class AuthApi extends runtime.BaseAPI {
346
427
  });
347
428
  }
348
429
  /**
349
- * Signout Handler
430
+ * Creates request options for signout without sending the request
350
431
  */
351
- signoutRaw(initOverrides) {
432
+ signoutRequestOpts() {
352
433
  return __awaiter(this, void 0, void 0, function* () {
353
434
  const queryParameters = {};
354
435
  const headerParameters = {};
355
436
  let urlPath = `/v1/auth/signout`;
356
- const response = yield this.request({
437
+ return {
357
438
  path: urlPath,
358
439
  method: 'POST',
359
440
  headers: headerParameters,
360
441
  query: queryParameters,
361
- }, initOverrides);
442
+ };
443
+ });
444
+ }
445
+ /**
446
+ * Signout Handler
447
+ */
448
+ signoutRaw(initOverrides) {
449
+ return __awaiter(this, void 0, void 0, function* () {
450
+ const requestOptions = yield this.signoutRequestOpts();
451
+ const response = yield this.request(requestOptions, initOverrides);
362
452
  if (this.isJsonMime(response.headers.get('content-type'))) {
363
453
  return new runtime.JSONApiResponse(response);
364
454
  }