@daytonaio/api-client 0.15.0 → 0.16.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 (318) hide show
  1. package/.openapi-generator/FILES +3 -3
  2. package/.openapi-generator/VERSION +1 -1
  3. package/.openapi-generator-ignore +7 -0
  4. package/api/api-keys-api.ts +396 -324
  5. package/api/docker-registry-api.ts +703 -549
  6. package/api/images-api.ts +576 -346
  7. package/api/nodes-api.ts +250 -213
  8. package/api/organizations-api.ts +2203 -1671
  9. package/api/preview-api.ts +326 -0
  10. package/api/toolbox-api.ts +4507 -3186
  11. package/api/users-api.ts +317 -271
  12. package/api/workspace-api.ts +1482 -969
  13. package/api.ts +10 -12
  14. package/base.ts +35 -30
  15. package/common.ts +78 -66
  16. package/configuration.ts +102 -89
  17. package/dist/api/api-keys-api.js +54 -63
  18. package/dist/api/docker-registry-api.js +102 -107
  19. package/dist/api/images-api.d.ts +42 -0
  20. package/dist/api/images-api.js +146 -66
  21. package/dist/api/nodes-api.js +37 -47
  22. package/dist/api/organizations-api.js +341 -336
  23. package/dist/api/preview-api.d.ts +143 -0
  24. package/dist/api/preview-api.js +266 -0
  25. package/dist/api/toolbox-api.js +601 -569
  26. package/dist/api/users-api.js +49 -59
  27. package/dist/api/workspace-api.d.ts +50 -4
  28. package/dist/api/workspace-api.js +291 -190
  29. package/dist/api.d.ts +1 -0
  30. package/dist/api.js +1 -0
  31. package/dist/base.js +6 -7
  32. package/dist/common.d.ts +3 -3
  33. package/dist/common.js +27 -45
  34. package/dist/configuration.js +2 -1
  35. package/dist/esm/api/api-keys-api.js +55 -64
  36. package/dist/esm/api/docker-registry-api.js +103 -108
  37. package/dist/esm/api/images-api.d.ts +42 -0
  38. package/dist/esm/api/images-api.js +147 -67
  39. package/dist/esm/api/nodes-api.js +38 -48
  40. package/dist/esm/api/organizations-api.js +342 -337
  41. package/dist/esm/api/preview-api.d.ts +143 -0
  42. package/dist/esm/api/preview-api.js +259 -0
  43. package/dist/esm/api/toolbox-api.js +602 -570
  44. package/dist/esm/api/users-api.js +50 -60
  45. package/dist/esm/api/workspace-api.d.ts +50 -4
  46. package/dist/esm/api/workspace-api.js +292 -191
  47. package/dist/esm/api.d.ts +1 -0
  48. package/dist/esm/api.js +1 -0
  49. package/dist/esm/base.js +6 -7
  50. package/dist/esm/common.d.ts +3 -3
  51. package/dist/esm/common.js +28 -46
  52. package/dist/esm/configuration.js +2 -1
  53. package/dist/esm/index.d.ts +3 -3
  54. package/dist/esm/index.js +3 -3
  55. package/dist/esm/models/api-key-list.d.ts +12 -12
  56. package/dist/esm/models/api-key-list.js +6 -6
  57. package/dist/esm/models/api-key-response.d.ts +12 -12
  58. package/dist/esm/models/api-key-response.js +6 -6
  59. package/dist/esm/models/command.d.ts +3 -3
  60. package/dist/esm/models/completion-context.d.ts +2 -2
  61. package/dist/esm/models/completion-item.d.ts +7 -7
  62. package/dist/esm/models/completion-list.d.ts +2 -2
  63. package/dist/esm/models/create-api-key.d.ts +9 -9
  64. package/dist/esm/models/create-api-key.js +6 -6
  65. package/dist/esm/models/create-docker-registry.d.ts +8 -8
  66. package/dist/esm/models/create-docker-registry.js +1 -1
  67. package/dist/esm/models/create-image.d.ts +8 -2
  68. package/dist/esm/models/create-node.d.ts +13 -13
  69. package/dist/esm/models/create-node.js +2 -2
  70. package/dist/esm/models/create-organization-invitation.d.ts +6 -6
  71. package/dist/esm/models/create-organization-invitation.js +1 -1
  72. package/dist/esm/models/create-organization-quota.d.ts +11 -11
  73. package/dist/esm/models/create-organization-role.d.ts +10 -10
  74. package/dist/esm/models/create-organization-role.js +6 -6
  75. package/dist/esm/models/create-organization.d.ts +12 -12
  76. package/dist/esm/models/create-session-request.d.ts +1 -1
  77. package/dist/esm/models/create-user.d.ts +15 -4
  78. package/dist/esm/models/create-user.js +4 -1
  79. package/dist/esm/models/create-workspace.d.ts +16 -16
  80. package/dist/esm/models/create-workspace.js +2 -2
  81. package/dist/esm/models/docker-registry.d.ts +11 -11
  82. package/dist/esm/models/docker-registry.js +1 -1
  83. package/dist/esm/models/execute-request.d.ts +3 -3
  84. package/dist/esm/models/execute-response.d.ts +2 -2
  85. package/dist/esm/models/file-info.d.ts +8 -8
  86. package/dist/esm/models/file-status.d.ts +4 -4
  87. package/dist/esm/models/git-add-request.d.ts +2 -2
  88. package/dist/esm/models/git-branch-request.d.ts +2 -2
  89. package/dist/esm/models/git-clone-request.d.ts +6 -6
  90. package/dist/esm/models/git-commit-info.d.ts +5 -5
  91. package/dist/esm/models/git-commit-request.d.ts +4 -4
  92. package/dist/esm/models/git-commit-response.d.ts +1 -1
  93. package/dist/esm/models/git-repo-request.d.ts +3 -3
  94. package/dist/esm/models/git-status.d.ts +4 -4
  95. package/dist/esm/models/image-dto.d.ts +20 -14
  96. package/dist/esm/models/image-state.d.ts +1 -1
  97. package/dist/esm/models/image-state.js +1 -1
  98. package/dist/esm/models/index.d.ts +2 -0
  99. package/dist/esm/models/index.js +2 -0
  100. package/dist/esm/models/list-branch-response.d.ts +1 -1
  101. package/dist/esm/models/lsp-completion-params.d.ts +5 -5
  102. package/dist/esm/models/lsp-document-request.d.ts +3 -3
  103. package/dist/esm/models/lsp-location.d.ts +2 -2
  104. package/dist/esm/models/lsp-server-request.d.ts +2 -2
  105. package/dist/esm/models/lsp-symbol.d.ts +3 -3
  106. package/dist/esm/models/match.d.ts +3 -3
  107. package/dist/esm/models/organization-invitation.d.ts +21 -15
  108. package/dist/esm/models/organization-invitation.js +2 -2
  109. package/dist/esm/models/organization-role.d.ts +16 -16
  110. package/dist/esm/models/organization-role.js +6 -6
  111. package/dist/esm/models/organization-user.d.ts +11 -11
  112. package/dist/esm/models/organization-user.js +1 -1
  113. package/dist/esm/models/organization.d.ts +8 -8
  114. package/dist/esm/models/paginated-images-dto.d.ts +4 -4
  115. package/dist/esm/models/port-preview-url.d.ts +30 -0
  116. package/dist/esm/models/port-preview-url.js +14 -0
  117. package/dist/esm/models/position.d.ts +2 -2
  118. package/dist/esm/models/project-dir-response.d.ts +1 -1
  119. package/dist/esm/models/range.d.ts +2 -2
  120. package/dist/esm/models/registry-push-access-dto.d.ts +6 -6
  121. package/dist/esm/models/replace-request.d.ts +3 -3
  122. package/dist/esm/models/replace-result.d.ts +3 -3
  123. package/dist/esm/models/search-files-response.d.ts +1 -1
  124. package/dist/esm/models/session-execute-request.d.ts +9 -2
  125. package/dist/esm/models/session-execute-response.d.ts +3 -3
  126. package/dist/esm/models/session.d.ts +2 -2
  127. package/dist/esm/models/set-image-general-status.d.ts +24 -0
  128. package/dist/esm/models/set-image-general-status.js +14 -0
  129. package/dist/esm/models/toggle-state.d.ts +1 -1
  130. package/dist/esm/models/update-assigned-organization-roles.d.ts +1 -1
  131. package/dist/esm/models/update-docker-registry.d.ts +3 -3
  132. package/dist/esm/models/update-organization-invitation.d.ts +5 -5
  133. package/dist/esm/models/update-organization-invitation.js +1 -1
  134. package/dist/esm/models/update-organization-member-role.d.ts +2 -2
  135. package/dist/esm/models/update-organization-member-role.js +1 -1
  136. package/dist/esm/models/update-organization-quota.d.ts +11 -11
  137. package/dist/esm/models/update-organization-role.d.ts +10 -10
  138. package/dist/esm/models/update-organization-role.js +6 -6
  139. package/dist/esm/models/usage-overview.d.ts +15 -15
  140. package/dist/esm/models/user-public-key.d.ts +2 -2
  141. package/dist/esm/models/user.d.ts +4 -4
  142. package/dist/esm/models/workspace-info.d.ts +3 -3
  143. package/dist/esm/models/workspace-labels.d.ts +1 -1
  144. package/dist/esm/models/workspace-state.d.ts +1 -1
  145. package/dist/esm/models/workspace-state.js +1 -1
  146. package/dist/esm/models/workspace.d.ts +19 -19
  147. package/dist/esm/models/workspace.js +1 -1
  148. package/dist/index.d.ts +3 -3
  149. package/dist/models/api-key-list.d.ts +12 -12
  150. package/dist/models/api-key-list.js +6 -6
  151. package/dist/models/api-key-response.d.ts +12 -12
  152. package/dist/models/api-key-response.js +6 -6
  153. package/dist/models/command.d.ts +3 -3
  154. package/dist/models/completion-context.d.ts +2 -2
  155. package/dist/models/completion-item.d.ts +7 -7
  156. package/dist/models/completion-list.d.ts +2 -2
  157. package/dist/models/create-api-key.d.ts +9 -9
  158. package/dist/models/create-api-key.js +6 -6
  159. package/dist/models/create-docker-registry.d.ts +8 -8
  160. package/dist/models/create-docker-registry.js +1 -1
  161. package/dist/models/create-image.d.ts +8 -2
  162. package/dist/models/create-node.d.ts +13 -13
  163. package/dist/models/create-node.js +2 -2
  164. package/dist/models/create-organization-invitation.d.ts +6 -6
  165. package/dist/models/create-organization-invitation.js +1 -1
  166. package/dist/models/create-organization-quota.d.ts +11 -11
  167. package/dist/models/create-organization-role.d.ts +10 -10
  168. package/dist/models/create-organization-role.js +6 -6
  169. package/dist/models/create-organization.d.ts +12 -12
  170. package/dist/models/create-session-request.d.ts +1 -1
  171. package/dist/models/create-user.d.ts +15 -4
  172. package/dist/models/create-user.js +5 -0
  173. package/dist/models/create-workspace.d.ts +16 -16
  174. package/dist/models/create-workspace.js +2 -2
  175. package/dist/models/docker-registry.d.ts +11 -11
  176. package/dist/models/docker-registry.js +1 -1
  177. package/dist/models/execute-request.d.ts +3 -3
  178. package/dist/models/execute-response.d.ts +2 -2
  179. package/dist/models/file-info.d.ts +8 -8
  180. package/dist/models/file-status.d.ts +4 -4
  181. package/dist/models/git-add-request.d.ts +2 -2
  182. package/dist/models/git-branch-request.d.ts +2 -2
  183. package/dist/models/git-clone-request.d.ts +6 -6
  184. package/dist/models/git-commit-info.d.ts +5 -5
  185. package/dist/models/git-commit-request.d.ts +4 -4
  186. package/dist/models/git-commit-response.d.ts +1 -1
  187. package/dist/models/git-repo-request.d.ts +3 -3
  188. package/dist/models/git-status.d.ts +4 -4
  189. package/dist/models/image-dto.d.ts +20 -14
  190. package/dist/models/image-state.d.ts +1 -1
  191. package/dist/models/image-state.js +1 -1
  192. package/dist/models/index.d.ts +2 -0
  193. package/dist/models/index.js +2 -0
  194. package/dist/models/list-branch-response.d.ts +1 -1
  195. package/dist/models/lsp-completion-params.d.ts +5 -5
  196. package/dist/models/lsp-document-request.d.ts +3 -3
  197. package/dist/models/lsp-location.d.ts +2 -2
  198. package/dist/models/lsp-server-request.d.ts +2 -2
  199. package/dist/models/lsp-symbol.d.ts +3 -3
  200. package/dist/models/match.d.ts +3 -3
  201. package/dist/models/organization-invitation.d.ts +21 -15
  202. package/dist/models/organization-invitation.js +2 -2
  203. package/dist/models/organization-role.d.ts +16 -16
  204. package/dist/models/organization-role.js +6 -6
  205. package/dist/models/organization-user.d.ts +11 -11
  206. package/dist/models/organization-user.js +1 -1
  207. package/dist/models/organization.d.ts +8 -8
  208. package/dist/models/paginated-images-dto.d.ts +4 -4
  209. package/dist/models/port-preview-url.d.ts +30 -0
  210. package/dist/models/port-preview-url.js +15 -0
  211. package/dist/models/position.d.ts +2 -2
  212. package/dist/models/project-dir-response.d.ts +1 -1
  213. package/dist/models/range.d.ts +2 -2
  214. package/dist/models/registry-push-access-dto.d.ts +6 -6
  215. package/dist/models/replace-request.d.ts +3 -3
  216. package/dist/models/replace-result.d.ts +3 -3
  217. package/dist/models/search-files-response.d.ts +1 -1
  218. package/dist/models/session-execute-request.d.ts +9 -2
  219. package/dist/models/session-execute-response.d.ts +3 -3
  220. package/dist/models/session.d.ts +2 -2
  221. package/dist/models/set-image-general-status.d.ts +24 -0
  222. package/dist/models/set-image-general-status.js +15 -0
  223. package/dist/models/toggle-state.d.ts +1 -1
  224. package/dist/models/update-assigned-organization-roles.d.ts +1 -1
  225. package/dist/models/update-docker-registry.d.ts +3 -3
  226. package/dist/models/update-organization-invitation.d.ts +5 -5
  227. package/dist/models/update-organization-invitation.js +1 -1
  228. package/dist/models/update-organization-member-role.d.ts +2 -2
  229. package/dist/models/update-organization-member-role.js +1 -1
  230. package/dist/models/update-organization-quota.d.ts +11 -11
  231. package/dist/models/update-organization-role.d.ts +10 -10
  232. package/dist/models/update-organization-role.js +6 -6
  233. package/dist/models/usage-overview.d.ts +15 -15
  234. package/dist/models/user-public-key.d.ts +2 -2
  235. package/dist/models/user.d.ts +4 -4
  236. package/dist/models/workspace-info.d.ts +3 -3
  237. package/dist/models/workspace-labels.d.ts +1 -1
  238. package/dist/models/workspace-state.d.ts +1 -1
  239. package/dist/models/workspace-state.js +1 -1
  240. package/dist/models/workspace.d.ts +19 -19
  241. package/dist/models/workspace.js +1 -1
  242. package/index.ts +4 -5
  243. package/models/api-key-list.ts +34 -38
  244. package/models/api-key-response.ts +35 -38
  245. package/models/command.ts +20 -23
  246. package/models/completion-context.ts +14 -17
  247. package/models/completion-item.ts +44 -47
  248. package/models/completion-list.ts +15 -17
  249. package/models/create-api-key.ts +22 -26
  250. package/models/create-docker-registry.ts +51 -54
  251. package/models/create-image.ts +20 -17
  252. package/models/create-node.ts +78 -82
  253. package/models/create-organization-invitation.ts +31 -34
  254. package/models/create-organization-quota.ts +68 -71
  255. package/models/create-organization-role.ts +29 -32
  256. package/models/create-organization.ts +74 -77
  257. package/models/create-session-request.ts +8 -11
  258. package/models/create-user.ts +39 -28
  259. package/models/create-workspace.ts +96 -100
  260. package/models/docker-registry.ts +57 -60
  261. package/models/execute-request.ts +20 -23
  262. package/models/execute-response.ts +14 -17
  263. package/models/file-info.ts +50 -53
  264. package/models/file-status.ts +26 -29
  265. package/models/git-add-request.ts +14 -17
  266. package/models/git-branch-request.ts +14 -17
  267. package/models/git-clone-request.ts +38 -41
  268. package/models/git-commit-info.ts +32 -35
  269. package/models/git-commit-request.ts +26 -29
  270. package/models/git-commit-response.ts +8 -11
  271. package/models/git-repo-request.ts +20 -23
  272. package/models/git-status.ts +33 -35
  273. package/models/image-dto.ts +75 -73
  274. package/models/image-state.ts +12 -17
  275. package/models/index.ts +70 -68
  276. package/models/list-branch-response.ts +8 -11
  277. package/models/lsp-completion-params.ts +34 -36
  278. package/models/lsp-document-request.ts +20 -23
  279. package/models/lsp-location.ts +15 -17
  280. package/models/lsp-server-request.ts +14 -17
  281. package/models/lsp-symbol.ts +21 -23
  282. package/models/match.ts +20 -23
  283. package/models/organization-invitation.ts +81 -76
  284. package/models/organization-role.ts +53 -56
  285. package/models/organization-user.ts +55 -58
  286. package/models/organization.ts +38 -41
  287. package/models/paginated-images-dto.ts +27 -29
  288. package/models/port-preview-url.ts +33 -0
  289. package/models/position.ts +14 -17
  290. package/models/project-dir-response.ts +8 -11
  291. package/models/range.ts +15 -17
  292. package/models/registry-push-access-dto.ts +38 -41
  293. package/models/replace-request.ts +20 -23
  294. package/models/replace-result.ts +20 -23
  295. package/models/search-files-response.ts +8 -11
  296. package/models/session-execute-request.ts +21 -17
  297. package/models/session-execute-response.ts +20 -23
  298. package/models/session.ts +15 -17
  299. package/models/set-image-general-status.ts +27 -0
  300. package/models/toggle-state.ts +8 -11
  301. package/models/update-assigned-organization-roles.ts +8 -11
  302. package/models/update-docker-registry.ts +20 -23
  303. package/models/update-organization-invitation.ts +25 -28
  304. package/models/update-organization-member-role.ts +13 -16
  305. package/models/update-organization-quota.ts +68 -71
  306. package/models/update-organization-role.ts +29 -32
  307. package/models/usage-overview.ts +92 -95
  308. package/models/user-public-key.ts +14 -17
  309. package/models/user.ts +27 -29
  310. package/models/workspace-info.ts +20 -23
  311. package/models/workspace-labels.ts +8 -11
  312. package/models/workspace-state.ts +19 -24
  313. package/models/workspace.ts +119 -122
  314. package/package.json +2 -2
  315. package/project.json +49 -0
  316. package/tsconfig.json +3 -8
  317. package/README.md +0 -46
  318. package/git_push.sh +0 -57
@@ -12,15 +12,6 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
- return new (P || (P = Promise))(function (resolve, reject) {
18
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
- step((generator = generator.apply(thisArg, _arguments || [])).next());
22
- });
23
- };
24
15
  Object.defineProperty(exports, "__esModule", { value: true });
25
16
  exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = void 0;
26
17
  const axios_1 = require("axios");
@@ -42,11 +33,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
42
33
  * @param {*} [options] Override http request option.
43
34
  * @throws {RequiredError}
44
35
  */
45
- acceptOrganizationInvitation: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
36
+ acceptOrganizationInvitation: async (invitationId, options = {}) => {
46
37
  // verify required parameter 'invitationId' is not null or undefined
47
38
  (0, common_1.assertParamExists)('acceptOrganizationInvitation', 'invitationId', invitationId);
48
- const localVarPath = `/organizations/invitations/{invitationId}/accept`
49
- .replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
39
+ const localVarPath = `/organizations/invitations/{invitationId}/accept`.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
50
40
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
51
41
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
52
42
  let baseOptions;
@@ -58,7 +48,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
58
48
  const localVarQueryParameter = {};
59
49
  // authentication oauth2 required
60
50
  // oauth required
61
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
51
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
62
52
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
63
53
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64
54
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -66,7 +56,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
66
56
  url: (0, common_1.toPathString)(localVarUrlObj),
67
57
  options: localVarRequestOptions,
68
58
  };
69
- }),
59
+ },
70
60
  /**
71
61
  *
72
62
  * @summary Cancel organization invitation
@@ -75,14 +65,14 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
75
65
  * @param {*} [options] Override http request option.
76
66
  * @throws {RequiredError}
77
67
  */
78
- cancelOrganizationInvitation: (organizationId_1, invitationId_1, ...args_1) => __awaiter(this, [organizationId_1, invitationId_1, ...args_1], void 0, function* (organizationId, invitationId, options = {}) {
68
+ cancelOrganizationInvitation: async (organizationId, invitationId, options = {}) => {
79
69
  // verify required parameter 'organizationId' is not null or undefined
80
70
  (0, common_1.assertParamExists)('cancelOrganizationInvitation', 'organizationId', organizationId);
81
71
  // verify required parameter 'invitationId' is not null or undefined
82
72
  (0, common_1.assertParamExists)('cancelOrganizationInvitation', 'invitationId', invitationId);
83
73
  const localVarPath = `/organizations/{organizationId}/invitations/{invitationId}/cancel`
84
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
85
- .replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
74
+ .replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
75
+ .replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
86
76
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
87
77
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
88
78
  let baseOptions;
@@ -94,7 +84,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
94
84
  const localVarQueryParameter = {};
95
85
  // authentication oauth2 required
96
86
  // oauth required
97
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
87
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
98
88
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
99
89
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
100
90
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -102,7 +92,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
102
92
  url: (0, common_1.toPathString)(localVarUrlObj),
103
93
  options: localVarRequestOptions,
104
94
  };
105
- }),
95
+ },
106
96
  /**
107
97
  *
108
98
  * @summary Create organization
@@ -110,7 +100,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
110
100
  * @param {*} [options] Override http request option.
111
101
  * @throws {RequiredError}
112
102
  */
113
- createOrganization: (createOrganization_1, ...args_1) => __awaiter(this, [createOrganization_1, ...args_1], void 0, function* (createOrganization, options = {}) {
103
+ createOrganization: async (createOrganization, options = {}) => {
114
104
  // verify required parameter 'createOrganization' is not null or undefined
115
105
  (0, common_1.assertParamExists)('createOrganization', 'createOrganization', createOrganization);
116
106
  const localVarPath = `/organizations`;
@@ -125,7 +115,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
125
115
  const localVarQueryParameter = {};
126
116
  // authentication oauth2 required
127
117
  // oauth required
128
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
118
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
129
119
  localVarHeaderParameter['Content-Type'] = 'application/json';
130
120
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
131
121
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -135,7 +125,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
135
125
  url: (0, common_1.toPathString)(localVarUrlObj),
136
126
  options: localVarRequestOptions,
137
127
  };
138
- }),
128
+ },
139
129
  /**
140
130
  *
141
131
  * @summary Create organization invitation
@@ -144,13 +134,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
144
134
  * @param {*} [options] Override http request option.
145
135
  * @throws {RequiredError}
146
136
  */
147
- createOrganizationInvitation: (organizationId_1, createOrganizationInvitation_1, ...args_1) => __awaiter(this, [organizationId_1, createOrganizationInvitation_1, ...args_1], void 0, function* (organizationId, createOrganizationInvitation, options = {}) {
137
+ createOrganizationInvitation: async (organizationId, createOrganizationInvitation, options = {}) => {
148
138
  // verify required parameter 'organizationId' is not null or undefined
149
139
  (0, common_1.assertParamExists)('createOrganizationInvitation', 'organizationId', organizationId);
150
140
  // verify required parameter 'createOrganizationInvitation' is not null or undefined
151
141
  (0, common_1.assertParamExists)('createOrganizationInvitation', 'createOrganizationInvitation', createOrganizationInvitation);
152
- const localVarPath = `/organizations/{organizationId}/invitations`
153
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
142
+ const localVarPath = `/organizations/{organizationId}/invitations`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
154
143
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
155
144
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
156
145
  let baseOptions;
@@ -162,7 +151,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
162
151
  const localVarQueryParameter = {};
163
152
  // authentication oauth2 required
164
153
  // oauth required
165
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
154
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
166
155
  localVarHeaderParameter['Content-Type'] = 'application/json';
167
156
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
168
157
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -172,7 +161,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
172
161
  url: (0, common_1.toPathString)(localVarUrlObj),
173
162
  options: localVarRequestOptions,
174
163
  };
175
- }),
164
+ },
176
165
  /**
177
166
  *
178
167
  * @summary Create organization role
@@ -181,13 +170,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
181
170
  * @param {*} [options] Override http request option.
182
171
  * @throws {RequiredError}
183
172
  */
184
- createOrganizationRole: (organizationId_1, createOrganizationRole_1, ...args_1) => __awaiter(this, [organizationId_1, createOrganizationRole_1, ...args_1], void 0, function* (organizationId, createOrganizationRole, options = {}) {
173
+ createOrganizationRole: async (organizationId, createOrganizationRole, options = {}) => {
185
174
  // verify required parameter 'organizationId' is not null or undefined
186
175
  (0, common_1.assertParamExists)('createOrganizationRole', 'organizationId', organizationId);
187
176
  // verify required parameter 'createOrganizationRole' is not null or undefined
188
177
  (0, common_1.assertParamExists)('createOrganizationRole', 'createOrganizationRole', createOrganizationRole);
189
- const localVarPath = `/organizations/{organizationId}/roles`
190
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
178
+ const localVarPath = `/organizations/{organizationId}/roles`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
191
179
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
192
180
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
193
181
  let baseOptions;
@@ -199,7 +187,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
199
187
  const localVarQueryParameter = {};
200
188
  // authentication oauth2 required
201
189
  // oauth required
202
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
190
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
203
191
  localVarHeaderParameter['Content-Type'] = 'application/json';
204
192
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
205
193
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -209,7 +197,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
209
197
  url: (0, common_1.toPathString)(localVarUrlObj),
210
198
  options: localVarRequestOptions,
211
199
  };
212
- }),
200
+ },
213
201
  /**
214
202
  *
215
203
  * @summary Decline organization invitation
@@ -217,11 +205,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
217
205
  * @param {*} [options] Override http request option.
218
206
  * @throws {RequiredError}
219
207
  */
220
- declineOrganizationInvitation: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
208
+ declineOrganizationInvitation: async (invitationId, options = {}) => {
221
209
  // verify required parameter 'invitationId' is not null or undefined
222
210
  (0, common_1.assertParamExists)('declineOrganizationInvitation', 'invitationId', invitationId);
223
- const localVarPath = `/organizations/invitations/{invitationId}/decline`
224
- .replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
211
+ const localVarPath = `/organizations/invitations/{invitationId}/decline`.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
225
212
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
226
213
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
227
214
  let baseOptions;
@@ -233,7 +220,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
233
220
  const localVarQueryParameter = {};
234
221
  // authentication oauth2 required
235
222
  // oauth required
236
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
223
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
237
224
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
238
225
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
239
226
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -241,7 +228,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
241
228
  url: (0, common_1.toPathString)(localVarUrlObj),
242
229
  options: localVarRequestOptions,
243
230
  };
244
- }),
231
+ },
245
232
  /**
246
233
  *
247
234
  * @summary Delete organization
@@ -249,11 +236,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
249
236
  * @param {*} [options] Override http request option.
250
237
  * @throws {RequiredError}
251
238
  */
252
- deleteOrganization: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
239
+ deleteOrganization: async (organizationId, options = {}) => {
253
240
  // verify required parameter 'organizationId' is not null or undefined
254
241
  (0, common_1.assertParamExists)('deleteOrganization', 'organizationId', organizationId);
255
- const localVarPath = `/organizations/{organizationId}`
256
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
242
+ const localVarPath = `/organizations/{organizationId}`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
257
243
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
258
244
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
259
245
  let baseOptions;
@@ -265,7 +251,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
265
251
  const localVarQueryParameter = {};
266
252
  // authentication oauth2 required
267
253
  // oauth required
268
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
254
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
269
255
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
270
256
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
271
257
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -273,7 +259,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
273
259
  url: (0, common_1.toPathString)(localVarUrlObj),
274
260
  options: localVarRequestOptions,
275
261
  };
276
- }),
262
+ },
277
263
  /**
278
264
  *
279
265
  * @summary Delete organization member
@@ -282,14 +268,14 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
282
268
  * @param {*} [options] Override http request option.
283
269
  * @throws {RequiredError}
284
270
  */
285
- deleteOrganizationMember: (organizationId_1, userId_1, ...args_1) => __awaiter(this, [organizationId_1, userId_1, ...args_1], void 0, function* (organizationId, userId, options = {}) {
271
+ deleteOrganizationMember: async (organizationId, userId, options = {}) => {
286
272
  // verify required parameter 'organizationId' is not null or undefined
287
273
  (0, common_1.assertParamExists)('deleteOrganizationMember', 'organizationId', organizationId);
288
274
  // verify required parameter 'userId' is not null or undefined
289
275
  (0, common_1.assertParamExists)('deleteOrganizationMember', 'userId', userId);
290
276
  const localVarPath = `/organizations/{organizationId}/users/{userId}`
291
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
292
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
277
+ .replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
278
+ .replace(`{${'userId'}}`, encodeURIComponent(String(userId)));
293
279
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
294
280
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
295
281
  let baseOptions;
@@ -301,7 +287,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
301
287
  const localVarQueryParameter = {};
302
288
  // authentication oauth2 required
303
289
  // oauth required
304
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
290
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
305
291
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
306
292
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
307
293
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -309,7 +295,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
309
295
  url: (0, common_1.toPathString)(localVarUrlObj),
310
296
  options: localVarRequestOptions,
311
297
  };
312
- }),
298
+ },
313
299
  /**
314
300
  *
315
301
  * @summary Delete organization role
@@ -318,14 +304,14 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
318
304
  * @param {*} [options] Override http request option.
319
305
  * @throws {RequiredError}
320
306
  */
321
- deleteOrganizationRole: (organizationId_1, roleId_1, ...args_1) => __awaiter(this, [organizationId_1, roleId_1, ...args_1], void 0, function* (organizationId, roleId, options = {}) {
307
+ deleteOrganizationRole: async (organizationId, roleId, options = {}) => {
322
308
  // verify required parameter 'organizationId' is not null or undefined
323
309
  (0, common_1.assertParamExists)('deleteOrganizationRole', 'organizationId', organizationId);
324
310
  // verify required parameter 'roleId' is not null or undefined
325
311
  (0, common_1.assertParamExists)('deleteOrganizationRole', 'roleId', roleId);
326
312
  const localVarPath = `/organizations/{organizationId}/roles/{roleId}`
327
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
328
- .replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
313
+ .replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
314
+ .replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
329
315
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
330
316
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
331
317
  let baseOptions;
@@ -337,7 +323,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
337
323
  const localVarQueryParameter = {};
338
324
  // authentication oauth2 required
339
325
  // oauth required
340
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
326
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
341
327
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
342
328
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
343
329
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -345,7 +331,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
345
331
  url: (0, common_1.toPathString)(localVarUrlObj),
346
332
  options: localVarRequestOptions,
347
333
  };
348
- }),
334
+ },
349
335
  /**
350
336
  *
351
337
  * @summary Get organization by ID
@@ -353,11 +339,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
353
339
  * @param {*} [options] Override http request option.
354
340
  * @throws {RequiredError}
355
341
  */
356
- getOrganization: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
342
+ getOrganization: async (organizationId, options = {}) => {
357
343
  // verify required parameter 'organizationId' is not null or undefined
358
344
  (0, common_1.assertParamExists)('getOrganization', 'organizationId', organizationId);
359
- const localVarPath = `/organizations/{organizationId}`
360
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
345
+ const localVarPath = `/organizations/{organizationId}`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
361
346
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
362
347
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
363
348
  let baseOptions;
@@ -369,7 +354,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
369
354
  const localVarQueryParameter = {};
370
355
  // authentication oauth2 required
371
356
  // oauth required
372
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
357
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
373
358
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
374
359
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
375
360
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -377,14 +362,14 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
377
362
  url: (0, common_1.toPathString)(localVarUrlObj),
378
363
  options: localVarRequestOptions,
379
364
  };
380
- }),
365
+ },
381
366
  /**
382
367
  *
383
368
  * @summary Get count of organization invitations for authenticated user
384
369
  * @param {*} [options] Override http request option.
385
370
  * @throws {RequiredError}
386
371
  */
387
- getOrganizationInvitationsCountForAuthenticatedUser: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
372
+ getOrganizationInvitationsCountForAuthenticatedUser: async (options = {}) => {
388
373
  const localVarPath = `/organizations/invitations/count`;
389
374
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
390
375
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -397,7 +382,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
397
382
  const localVarQueryParameter = {};
398
383
  // authentication oauth2 required
399
384
  // oauth required
400
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
385
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
401
386
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
402
387
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
403
388
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -405,7 +390,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
405
390
  url: (0, common_1.toPathString)(localVarUrlObj),
406
391
  options: localVarRequestOptions,
407
392
  };
408
- }),
393
+ },
409
394
  /**
410
395
  *
411
396
  * @summary Get organization current usage overview
@@ -413,11 +398,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
413
398
  * @param {*} [options] Override http request option.
414
399
  * @throws {RequiredError}
415
400
  */
416
- getOrganizationUsageOverview: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
401
+ getOrganizationUsageOverview: async (organizationId, options = {}) => {
417
402
  // verify required parameter 'organizationId' is not null or undefined
418
403
  (0, common_1.assertParamExists)('getOrganizationUsageOverview', 'organizationId', organizationId);
419
- const localVarPath = `/organizations/{organizationId}/usage`
420
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
404
+ const localVarPath = `/organizations/{organizationId}/usage`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
421
405
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
422
406
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
423
407
  let baseOptions;
@@ -429,7 +413,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
429
413
  const localVarQueryParameter = {};
430
414
  // authentication oauth2 required
431
415
  // oauth required
432
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
416
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
433
417
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
434
418
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
435
419
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -437,7 +421,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
437
421
  url: (0, common_1.toPathString)(localVarUrlObj),
438
422
  options: localVarRequestOptions,
439
423
  };
440
- }),
424
+ },
441
425
  /**
442
426
  *
443
427
  * @summary Leave organization
@@ -445,11 +429,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
445
429
  * @param {*} [options] Override http request option.
446
430
  * @throws {RequiredError}
447
431
  */
448
- leaveOrganization: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
432
+ leaveOrganization: async (organizationId, options = {}) => {
449
433
  // verify required parameter 'organizationId' is not null or undefined
450
434
  (0, common_1.assertParamExists)('leaveOrganization', 'organizationId', organizationId);
451
- const localVarPath = `/organizations/{organizationId}/leave`
452
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
435
+ const localVarPath = `/organizations/{organizationId}/leave`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
453
436
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
454
437
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
455
438
  let baseOptions;
@@ -461,7 +444,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
461
444
  const localVarQueryParameter = {};
462
445
  // authentication oauth2 required
463
446
  // oauth required
464
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
447
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
465
448
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
466
449
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
467
450
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -469,7 +452,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
469
452
  url: (0, common_1.toPathString)(localVarUrlObj),
470
453
  options: localVarRequestOptions,
471
454
  };
472
- }),
455
+ },
473
456
  /**
474
457
  *
475
458
  * @summary List pending organization invitations
@@ -477,11 +460,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
477
460
  * @param {*} [options] Override http request option.
478
461
  * @throws {RequiredError}
479
462
  */
480
- listOrganizationInvitations: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
463
+ listOrganizationInvitations: async (organizationId, options = {}) => {
481
464
  // verify required parameter 'organizationId' is not null or undefined
482
465
  (0, common_1.assertParamExists)('listOrganizationInvitations', 'organizationId', organizationId);
483
- const localVarPath = `/organizations/{organizationId}/invitations`
484
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
466
+ const localVarPath = `/organizations/{organizationId}/invitations`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
485
467
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
486
468
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
487
469
  let baseOptions;
@@ -493,7 +475,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
493
475
  const localVarQueryParameter = {};
494
476
  // authentication oauth2 required
495
477
  // oauth required
496
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
478
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
497
479
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
498
480
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
499
481
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -501,14 +483,14 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
501
483
  url: (0, common_1.toPathString)(localVarUrlObj),
502
484
  options: localVarRequestOptions,
503
485
  };
504
- }),
486
+ },
505
487
  /**
506
488
  *
507
489
  * @summary List organization invitations for authenticated user
508
490
  * @param {*} [options] Override http request option.
509
491
  * @throws {RequiredError}
510
492
  */
511
- listOrganizationInvitationsForAuthenticatedUser: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
493
+ listOrganizationInvitationsForAuthenticatedUser: async (options = {}) => {
512
494
  const localVarPath = `/organizations/invitations`;
513
495
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
514
496
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -521,7 +503,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
521
503
  const localVarQueryParameter = {};
522
504
  // authentication oauth2 required
523
505
  // oauth required
524
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
506
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
525
507
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
526
508
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
527
509
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -529,7 +511,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
529
511
  url: (0, common_1.toPathString)(localVarUrlObj),
530
512
  options: localVarRequestOptions,
531
513
  };
532
- }),
514
+ },
533
515
  /**
534
516
  *
535
517
  * @summary List organization members
@@ -537,11 +519,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
537
519
  * @param {*} [options] Override http request option.
538
520
  * @throws {RequiredError}
539
521
  */
540
- listOrganizationMembers: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
522
+ listOrganizationMembers: async (organizationId, options = {}) => {
541
523
  // verify required parameter 'organizationId' is not null or undefined
542
524
  (0, common_1.assertParamExists)('listOrganizationMembers', 'organizationId', organizationId);
543
- const localVarPath = `/organizations/{organizationId}/users`
544
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
525
+ const localVarPath = `/organizations/{organizationId}/users`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
545
526
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
546
527
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
547
528
  let baseOptions;
@@ -553,7 +534,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
553
534
  const localVarQueryParameter = {};
554
535
  // authentication oauth2 required
555
536
  // oauth required
556
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
537
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
557
538
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
558
539
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
559
540
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -561,7 +542,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
561
542
  url: (0, common_1.toPathString)(localVarUrlObj),
562
543
  options: localVarRequestOptions,
563
544
  };
564
- }),
545
+ },
565
546
  /**
566
547
  *
567
548
  * @summary List organization roles
@@ -569,11 +550,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
569
550
  * @param {*} [options] Override http request option.
570
551
  * @throws {RequiredError}
571
552
  */
572
- listOrganizationRoles: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
553
+ listOrganizationRoles: async (organizationId, options = {}) => {
573
554
  // verify required parameter 'organizationId' is not null or undefined
574
555
  (0, common_1.assertParamExists)('listOrganizationRoles', 'organizationId', organizationId);
575
- const localVarPath = `/organizations/{organizationId}/roles`
576
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
556
+ const localVarPath = `/organizations/{organizationId}/roles`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
577
557
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
578
558
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
579
559
  let baseOptions;
@@ -585,7 +565,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
585
565
  const localVarQueryParameter = {};
586
566
  // authentication oauth2 required
587
567
  // oauth required
588
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
568
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
589
569
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
590
570
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
591
571
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -593,14 +573,14 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
593
573
  url: (0, common_1.toPathString)(localVarUrlObj),
594
574
  options: localVarRequestOptions,
595
575
  };
596
- }),
576
+ },
597
577
  /**
598
578
  *
599
579
  * @summary List organizations
600
580
  * @param {*} [options] Override http request option.
601
581
  * @throws {RequiredError}
602
582
  */
603
- listOrganizations: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
583
+ listOrganizations: async (options = {}) => {
604
584
  const localVarPath = `/organizations`;
605
585
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
606
586
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -613,7 +593,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
613
593
  const localVarQueryParameter = {};
614
594
  // authentication oauth2 required
615
595
  // oauth required
616
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
596
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
617
597
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
618
598
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
619
599
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -621,7 +601,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
621
601
  url: (0, common_1.toPathString)(localVarUrlObj),
622
602
  options: localVarRequestOptions,
623
603
  };
624
- }),
604
+ },
625
605
  /**
626
606
  *
627
607
  * @summary Update assigned roles to organization member
@@ -631,7 +611,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
631
611
  * @param {*} [options] Override http request option.
632
612
  * @throws {RequiredError}
633
613
  */
634
- updateAssignedOrganizationRoles: (organizationId_1, userId_1, updateAssignedOrganizationRoles_1, ...args_1) => __awaiter(this, [organizationId_1, userId_1, updateAssignedOrganizationRoles_1, ...args_1], void 0, function* (organizationId, userId, updateAssignedOrganizationRoles, options = {}) {
614
+ updateAssignedOrganizationRoles: async (organizationId, userId, updateAssignedOrganizationRoles, options = {}) => {
635
615
  // verify required parameter 'organizationId' is not null or undefined
636
616
  (0, common_1.assertParamExists)('updateAssignedOrganizationRoles', 'organizationId', organizationId);
637
617
  // verify required parameter 'userId' is not null or undefined
@@ -639,8 +619,8 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
639
619
  // verify required parameter 'updateAssignedOrganizationRoles' is not null or undefined
640
620
  (0, common_1.assertParamExists)('updateAssignedOrganizationRoles', 'updateAssignedOrganizationRoles', updateAssignedOrganizationRoles);
641
621
  const localVarPath = `/organizations/{organizationId}/users/{userId}/assigned-roles`
642
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
643
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
622
+ .replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
623
+ .replace(`{${'userId'}}`, encodeURIComponent(String(userId)));
644
624
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
645
625
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
646
626
  let baseOptions;
@@ -652,7 +632,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
652
632
  const localVarQueryParameter = {};
653
633
  // authentication oauth2 required
654
634
  // oauth required
655
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
635
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
656
636
  localVarHeaderParameter['Content-Type'] = 'application/json';
657
637
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
658
638
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -662,7 +642,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
662
642
  url: (0, common_1.toPathString)(localVarUrlObj),
663
643
  options: localVarRequestOptions,
664
644
  };
665
- }),
645
+ },
666
646
  /**
667
647
  *
668
648
  * @summary Update organization invitation
@@ -672,7 +652,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
672
652
  * @param {*} [options] Override http request option.
673
653
  * @throws {RequiredError}
674
654
  */
675
- updateOrganizationInvitation: (organizationId_1, invitationId_1, updateOrganizationInvitation_1, ...args_1) => __awaiter(this, [organizationId_1, invitationId_1, updateOrganizationInvitation_1, ...args_1], void 0, function* (organizationId, invitationId, updateOrganizationInvitation, options = {}) {
655
+ updateOrganizationInvitation: async (organizationId, invitationId, updateOrganizationInvitation, options = {}) => {
676
656
  // verify required parameter 'organizationId' is not null or undefined
677
657
  (0, common_1.assertParamExists)('updateOrganizationInvitation', 'organizationId', organizationId);
678
658
  // verify required parameter 'invitationId' is not null or undefined
@@ -680,8 +660,8 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
680
660
  // verify required parameter 'updateOrganizationInvitation' is not null or undefined
681
661
  (0, common_1.assertParamExists)('updateOrganizationInvitation', 'updateOrganizationInvitation', updateOrganizationInvitation);
682
662
  const localVarPath = `/organizations/{organizationId}/invitations/{invitationId}`
683
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
684
- .replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
663
+ .replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
664
+ .replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
685
665
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
686
666
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
687
667
  let baseOptions;
@@ -693,7 +673,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
693
673
  const localVarQueryParameter = {};
694
674
  // authentication oauth2 required
695
675
  // oauth required
696
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
676
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
697
677
  localVarHeaderParameter['Content-Type'] = 'application/json';
698
678
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
699
679
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -703,7 +683,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
703
683
  url: (0, common_1.toPathString)(localVarUrlObj),
704
684
  options: localVarRequestOptions,
705
685
  };
706
- }),
686
+ },
707
687
  /**
708
688
  *
709
689
  * @summary Update organization quota
@@ -712,13 +692,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
712
692
  * @param {*} [options] Override http request option.
713
693
  * @throws {RequiredError}
714
694
  */
715
- updateOrganizationQuota: (organizationId_1, updateOrganizationQuota_1, ...args_1) => __awaiter(this, [organizationId_1, updateOrganizationQuota_1, ...args_1], void 0, function* (organizationId, updateOrganizationQuota, options = {}) {
695
+ updateOrganizationQuota: async (organizationId, updateOrganizationQuota, options = {}) => {
716
696
  // verify required parameter 'organizationId' is not null or undefined
717
697
  (0, common_1.assertParamExists)('updateOrganizationQuota', 'organizationId', organizationId);
718
698
  // verify required parameter 'updateOrganizationQuota' is not null or undefined
719
699
  (0, common_1.assertParamExists)('updateOrganizationQuota', 'updateOrganizationQuota', updateOrganizationQuota);
720
- const localVarPath = `/organizations/{organizationId}/quota`
721
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
700
+ const localVarPath = `/organizations/{organizationId}/quota`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
722
701
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
723
702
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
724
703
  let baseOptions;
@@ -730,7 +709,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
730
709
  const localVarQueryParameter = {};
731
710
  // authentication oauth2 required
732
711
  // oauth required
733
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
712
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
734
713
  localVarHeaderParameter['Content-Type'] = 'application/json';
735
714
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
736
715
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -740,7 +719,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
740
719
  url: (0, common_1.toPathString)(localVarUrlObj),
741
720
  options: localVarRequestOptions,
742
721
  };
743
- }),
722
+ },
744
723
  /**
745
724
  *
746
725
  * @summary Update organization role
@@ -750,7 +729,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
750
729
  * @param {*} [options] Override http request option.
751
730
  * @throws {RequiredError}
752
731
  */
753
- updateOrganizationRole: (organizationId_1, roleId_1, updateOrganizationRole_1, ...args_1) => __awaiter(this, [organizationId_1, roleId_1, updateOrganizationRole_1, ...args_1], void 0, function* (organizationId, roleId, updateOrganizationRole, options = {}) {
732
+ updateOrganizationRole: async (organizationId, roleId, updateOrganizationRole, options = {}) => {
754
733
  // verify required parameter 'organizationId' is not null or undefined
755
734
  (0, common_1.assertParamExists)('updateOrganizationRole', 'organizationId', organizationId);
756
735
  // verify required parameter 'roleId' is not null or undefined
@@ -758,8 +737,8 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
758
737
  // verify required parameter 'updateOrganizationRole' is not null or undefined
759
738
  (0, common_1.assertParamExists)('updateOrganizationRole', 'updateOrganizationRole', updateOrganizationRole);
760
739
  const localVarPath = `/organizations/{organizationId}/roles/{roleId}`
761
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
762
- .replace(`{${"roleId"}}`, encodeURIComponent(String(roleId)));
740
+ .replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
741
+ .replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
763
742
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
764
743
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
765
744
  let baseOptions;
@@ -771,7 +750,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
771
750
  const localVarQueryParameter = {};
772
751
  // authentication oauth2 required
773
752
  // oauth required
774
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
753
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
775
754
  localVarHeaderParameter['Content-Type'] = 'application/json';
776
755
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
777
756
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -781,7 +760,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
781
760
  url: (0, common_1.toPathString)(localVarUrlObj),
782
761
  options: localVarRequestOptions,
783
762
  };
784
- }),
763
+ },
785
764
  /**
786
765
  *
787
766
  * @summary Update role for organization member
@@ -791,7 +770,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
791
770
  * @param {*} [options] Override http request option.
792
771
  * @throws {RequiredError}
793
772
  */
794
- updateRoleForOrganizationMember: (organizationId_1, userId_1, updateOrganizationMemberRole_1, ...args_1) => __awaiter(this, [organizationId_1, userId_1, updateOrganizationMemberRole_1, ...args_1], void 0, function* (organizationId, userId, updateOrganizationMemberRole, options = {}) {
773
+ updateRoleForOrganizationMember: async (organizationId, userId, updateOrganizationMemberRole, options = {}) => {
795
774
  // verify required parameter 'organizationId' is not null or undefined
796
775
  (0, common_1.assertParamExists)('updateRoleForOrganizationMember', 'organizationId', organizationId);
797
776
  // verify required parameter 'userId' is not null or undefined
@@ -799,8 +778,8 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
799
778
  // verify required parameter 'updateOrganizationMemberRole' is not null or undefined
800
779
  (0, common_1.assertParamExists)('updateRoleForOrganizationMember', 'updateOrganizationMemberRole', updateOrganizationMemberRole);
801
780
  const localVarPath = `/organizations/{organizationId}/users/{userId}/role`
802
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
803
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
781
+ .replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
782
+ .replace(`{${'userId'}}`, encodeURIComponent(String(userId)));
804
783
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
805
784
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
806
785
  let baseOptions;
@@ -812,7 +791,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
812
791
  const localVarQueryParameter = {};
813
792
  // authentication oauth2 required
814
793
  // oauth required
815
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
794
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
816
795
  localVarHeaderParameter['Content-Type'] = 'application/json';
817
796
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
818
797
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -822,7 +801,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
822
801
  url: (0, common_1.toPathString)(localVarUrlObj),
823
802
  options: localVarRequestOptions,
824
803
  };
825
- }),
804
+ },
826
805
  };
827
806
  };
828
807
  exports.OrganizationsApiAxiosParamCreator = OrganizationsApiAxiosParamCreator;
@@ -840,14 +819,12 @@ const OrganizationsApiFp = function (configuration) {
840
819
  * @param {*} [options] Override http request option.
841
820
  * @throws {RequiredError}
842
821
  */
843
- acceptOrganizationInvitation(invitationId, options) {
844
- return __awaiter(this, void 0, void 0, function* () {
845
- var _a, _b, _c;
846
- const localVarAxiosArgs = yield localVarAxiosParamCreator.acceptOrganizationInvitation(invitationId, options);
847
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
848
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.acceptOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
849
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
850
- });
822
+ async acceptOrganizationInvitation(invitationId, options) {
823
+ var _a, _b, _c;
824
+ const localVarAxiosArgs = await localVarAxiosParamCreator.acceptOrganizationInvitation(invitationId, options);
825
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
826
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.acceptOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
827
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
851
828
  },
852
829
  /**
853
830
  *
@@ -857,14 +834,12 @@ const OrganizationsApiFp = function (configuration) {
857
834
  * @param {*} [options] Override http request option.
858
835
  * @throws {RequiredError}
859
836
  */
860
- cancelOrganizationInvitation(organizationId, invitationId, options) {
861
- return __awaiter(this, void 0, void 0, function* () {
862
- var _a, _b, _c;
863
- const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelOrganizationInvitation(organizationId, invitationId, options);
864
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
865
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.cancelOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
866
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
867
- });
837
+ async cancelOrganizationInvitation(organizationId, invitationId, options) {
838
+ var _a, _b, _c;
839
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cancelOrganizationInvitation(organizationId, invitationId, options);
840
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
841
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.cancelOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
842
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
868
843
  },
869
844
  /**
870
845
  *
@@ -873,14 +848,12 @@ const OrganizationsApiFp = function (configuration) {
873
848
  * @param {*} [options] Override http request option.
874
849
  * @throws {RequiredError}
875
850
  */
876
- createOrganization(createOrganization, options) {
877
- return __awaiter(this, void 0, void 0, function* () {
878
- var _a, _b, _c;
879
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganization(createOrganization, options);
880
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
881
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.createOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
882
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
883
- });
851
+ async createOrganization(createOrganization, options) {
852
+ var _a, _b, _c;
853
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganization(createOrganization, options);
854
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
855
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.createOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
856
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
884
857
  },
885
858
  /**
886
859
  *
@@ -890,14 +863,12 @@ const OrganizationsApiFp = function (configuration) {
890
863
  * @param {*} [options] Override http request option.
891
864
  * @throws {RequiredError}
892
865
  */
893
- createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
894
- return __awaiter(this, void 0, void 0, function* () {
895
- var _a, _b, _c;
896
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationInvitation(organizationId, createOrganizationInvitation, options);
897
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
898
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.createOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
899
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
900
- });
866
+ async createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
867
+ var _a, _b, _c;
868
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationInvitation(organizationId, createOrganizationInvitation, options);
869
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
870
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.createOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
871
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
901
872
  },
902
873
  /**
903
874
  *
@@ -907,14 +878,12 @@ const OrganizationsApiFp = function (configuration) {
907
878
  * @param {*} [options] Override http request option.
908
879
  * @throws {RequiredError}
909
880
  */
910
- createOrganizationRole(organizationId, createOrganizationRole, options) {
911
- return __awaiter(this, void 0, void 0, function* () {
912
- var _a, _b, _c;
913
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationRole(organizationId, createOrganizationRole, options);
914
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
915
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.createOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
916
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
917
- });
881
+ async createOrganizationRole(organizationId, createOrganizationRole, options) {
882
+ var _a, _b, _c;
883
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationRole(organizationId, createOrganizationRole, options);
884
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
885
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.createOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
886
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
918
887
  },
919
888
  /**
920
889
  *
@@ -923,14 +892,12 @@ const OrganizationsApiFp = function (configuration) {
923
892
  * @param {*} [options] Override http request option.
924
893
  * @throws {RequiredError}
925
894
  */
926
- declineOrganizationInvitation(invitationId, options) {
927
- return __awaiter(this, void 0, void 0, function* () {
928
- var _a, _b, _c;
929
- const localVarAxiosArgs = yield localVarAxiosParamCreator.declineOrganizationInvitation(invitationId, options);
930
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
931
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.declineOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
932
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
933
- });
895
+ async declineOrganizationInvitation(invitationId, options) {
896
+ var _a, _b, _c;
897
+ const localVarAxiosArgs = await localVarAxiosParamCreator.declineOrganizationInvitation(invitationId, options);
898
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
899
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.declineOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
900
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
934
901
  },
935
902
  /**
936
903
  *
@@ -939,14 +906,12 @@ const OrganizationsApiFp = function (configuration) {
939
906
  * @param {*} [options] Override http request option.
940
907
  * @throws {RequiredError}
941
908
  */
942
- deleteOrganization(organizationId, options) {
943
- return __awaiter(this, void 0, void 0, function* () {
944
- var _a, _b, _c;
945
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganization(organizationId, options);
946
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
947
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.deleteOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
948
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
949
- });
909
+ async deleteOrganization(organizationId, options) {
910
+ var _a, _b, _c;
911
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganization(organizationId, options);
912
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
913
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.deleteOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
914
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
950
915
  },
951
916
  /**
952
917
  *
@@ -956,14 +921,12 @@ const OrganizationsApiFp = function (configuration) {
956
921
  * @param {*} [options] Override http request option.
957
922
  * @throws {RequiredError}
958
923
  */
959
- deleteOrganizationMember(organizationId, userId, options) {
960
- return __awaiter(this, void 0, void 0, function* () {
961
- var _a, _b, _c;
962
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationMember(organizationId, userId, options);
963
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
964
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.deleteOrganizationMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
965
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
966
- });
924
+ async deleteOrganizationMember(organizationId, userId, options) {
925
+ var _a, _b, _c;
926
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationMember(organizationId, userId, options);
927
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
928
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.deleteOrganizationMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
929
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
967
930
  },
968
931
  /**
969
932
  *
@@ -973,14 +936,12 @@ const OrganizationsApiFp = function (configuration) {
973
936
  * @param {*} [options] Override http request option.
974
937
  * @throws {RequiredError}
975
938
  */
976
- deleteOrganizationRole(organizationId, roleId, options) {
977
- return __awaiter(this, void 0, void 0, function* () {
978
- var _a, _b, _c;
979
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationRole(organizationId, roleId, options);
980
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
981
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.deleteOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
982
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
983
- });
939
+ async deleteOrganizationRole(organizationId, roleId, options) {
940
+ var _a, _b, _c;
941
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationRole(organizationId, roleId, options);
942
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
943
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.deleteOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
944
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
984
945
  },
985
946
  /**
986
947
  *
@@ -989,14 +950,12 @@ const OrganizationsApiFp = function (configuration) {
989
950
  * @param {*} [options] Override http request option.
990
951
  * @throws {RequiredError}
991
952
  */
992
- getOrganization(organizationId, options) {
993
- return __awaiter(this, void 0, void 0, function* () {
994
- var _a, _b, _c;
995
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganization(organizationId, options);
996
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
997
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.getOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
998
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
999
- });
953
+ async getOrganization(organizationId, options) {
954
+ var _a, _b, _c;
955
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganization(organizationId, options);
956
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
957
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.getOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
958
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1000
959
  },
1001
960
  /**
1002
961
  *
@@ -1004,14 +963,12 @@ const OrganizationsApiFp = function (configuration) {
1004
963
  * @param {*} [options] Override http request option.
1005
964
  * @throws {RequiredError}
1006
965
  */
1007
- getOrganizationInvitationsCountForAuthenticatedUser(options) {
1008
- return __awaiter(this, void 0, void 0, function* () {
1009
- var _a, _b, _c;
1010
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationInvitationsCountForAuthenticatedUser(options);
1011
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1012
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.getOrganizationInvitationsCountForAuthenticatedUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1013
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1014
- });
966
+ async getOrganizationInvitationsCountForAuthenticatedUser(options) {
967
+ var _a, _b, _c;
968
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationInvitationsCountForAuthenticatedUser(options);
969
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
970
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.getOrganizationInvitationsCountForAuthenticatedUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
971
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1015
972
  },
1016
973
  /**
1017
974
  *
@@ -1020,14 +977,12 @@ const OrganizationsApiFp = function (configuration) {
1020
977
  * @param {*} [options] Override http request option.
1021
978
  * @throws {RequiredError}
1022
979
  */
1023
- getOrganizationUsageOverview(organizationId, options) {
1024
- return __awaiter(this, void 0, void 0, function* () {
1025
- var _a, _b, _c;
1026
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationUsageOverview(organizationId, options);
1027
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1028
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.getOrganizationUsageOverview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1029
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1030
- });
980
+ async getOrganizationUsageOverview(organizationId, options) {
981
+ var _a, _b, _c;
982
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationUsageOverview(organizationId, options);
983
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
984
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.getOrganizationUsageOverview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
985
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1031
986
  },
1032
987
  /**
1033
988
  *
@@ -1036,14 +991,12 @@ const OrganizationsApiFp = function (configuration) {
1036
991
  * @param {*} [options] Override http request option.
1037
992
  * @throws {RequiredError}
1038
993
  */
1039
- leaveOrganization(organizationId, options) {
1040
- return __awaiter(this, void 0, void 0, function* () {
1041
- var _a, _b, _c;
1042
- const localVarAxiosArgs = yield localVarAxiosParamCreator.leaveOrganization(organizationId, options);
1043
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1044
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.leaveOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1045
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1046
- });
994
+ async leaveOrganization(organizationId, options) {
995
+ var _a, _b, _c;
996
+ const localVarAxiosArgs = await localVarAxiosParamCreator.leaveOrganization(organizationId, options);
997
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
998
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.leaveOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
999
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1047
1000
  },
1048
1001
  /**
1049
1002
  *
@@ -1052,14 +1005,12 @@ const OrganizationsApiFp = function (configuration) {
1052
1005
  * @param {*} [options] Override http request option.
1053
1006
  * @throws {RequiredError}
1054
1007
  */
1055
- listOrganizationInvitations(organizationId, options) {
1056
- return __awaiter(this, void 0, void 0, function* () {
1057
- var _a, _b, _c;
1058
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationInvitations(organizationId, options);
1059
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1060
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationInvitations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1061
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1062
- });
1008
+ async listOrganizationInvitations(organizationId, options) {
1009
+ var _a, _b, _c;
1010
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationInvitations(organizationId, options);
1011
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1012
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationInvitations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1013
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1063
1014
  },
1064
1015
  /**
1065
1016
  *
@@ -1067,14 +1018,12 @@ const OrganizationsApiFp = function (configuration) {
1067
1018
  * @param {*} [options] Override http request option.
1068
1019
  * @throws {RequiredError}
1069
1020
  */
1070
- listOrganizationInvitationsForAuthenticatedUser(options) {
1071
- return __awaiter(this, void 0, void 0, function* () {
1072
- var _a, _b, _c;
1073
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationInvitationsForAuthenticatedUser(options);
1074
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1075
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationInvitationsForAuthenticatedUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1076
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1077
- });
1021
+ async listOrganizationInvitationsForAuthenticatedUser(options) {
1022
+ var _a, _b, _c;
1023
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationInvitationsForAuthenticatedUser(options);
1024
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1025
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationInvitationsForAuthenticatedUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1026
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1078
1027
  },
1079
1028
  /**
1080
1029
  *
@@ -1083,14 +1032,12 @@ const OrganizationsApiFp = function (configuration) {
1083
1032
  * @param {*} [options] Override http request option.
1084
1033
  * @throws {RequiredError}
1085
1034
  */
1086
- listOrganizationMembers(organizationId, options) {
1087
- return __awaiter(this, void 0, void 0, function* () {
1088
- var _a, _b, _c;
1089
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationMembers(organizationId, options);
1090
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1091
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1092
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1093
- });
1035
+ async listOrganizationMembers(organizationId, options) {
1036
+ var _a, _b, _c;
1037
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationMembers(organizationId, options);
1038
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1039
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1040
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1094
1041
  },
1095
1042
  /**
1096
1043
  *
@@ -1099,14 +1046,12 @@ const OrganizationsApiFp = function (configuration) {
1099
1046
  * @param {*} [options] Override http request option.
1100
1047
  * @throws {RequiredError}
1101
1048
  */
1102
- listOrganizationRoles(organizationId, options) {
1103
- return __awaiter(this, void 0, void 0, function* () {
1104
- var _a, _b, _c;
1105
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationRoles(organizationId, options);
1106
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1107
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1108
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1109
- });
1049
+ async listOrganizationRoles(organizationId, options) {
1050
+ var _a, _b, _c;
1051
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationRoles(organizationId, options);
1052
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1053
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1054
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1110
1055
  },
1111
1056
  /**
1112
1057
  *
@@ -1114,14 +1059,12 @@ const OrganizationsApiFp = function (configuration) {
1114
1059
  * @param {*} [options] Override http request option.
1115
1060
  * @throws {RequiredError}
1116
1061
  */
1117
- listOrganizations(options) {
1118
- return __awaiter(this, void 0, void 0, function* () {
1119
- var _a, _b, _c;
1120
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizations(options);
1121
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1122
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1123
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1124
- });
1062
+ async listOrganizations(options) {
1063
+ var _a, _b, _c;
1064
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizations(options);
1065
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1066
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1067
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1125
1068
  },
1126
1069
  /**
1127
1070
  *
@@ -1132,14 +1075,12 @@ const OrganizationsApiFp = function (configuration) {
1132
1075
  * @param {*} [options] Override http request option.
1133
1076
  * @throws {RequiredError}
1134
1077
  */
1135
- updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
1136
- return __awaiter(this, void 0, void 0, function* () {
1137
- var _a, _b, _c;
1138
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options);
1139
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1140
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateAssignedOrganizationRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1141
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1142
- });
1078
+ async updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
1079
+ var _a, _b, _c;
1080
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options);
1081
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1082
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateAssignedOrganizationRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1083
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1143
1084
  },
1144
1085
  /**
1145
1086
  *
@@ -1150,14 +1091,12 @@ const OrganizationsApiFp = function (configuration) {
1150
1091
  * @param {*} [options] Override http request option.
1151
1092
  * @throws {RequiredError}
1152
1093
  */
1153
- updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
1154
- return __awaiter(this, void 0, void 0, function* () {
1155
- var _a, _b, _c;
1156
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options);
1157
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1158
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1159
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1160
- });
1094
+ async updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
1095
+ var _a, _b, _c;
1096
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options);
1097
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1098
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1099
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1161
1100
  },
1162
1101
  /**
1163
1102
  *
@@ -1167,14 +1106,12 @@ const OrganizationsApiFp = function (configuration) {
1167
1106
  * @param {*} [options] Override http request option.
1168
1107
  * @throws {RequiredError}
1169
1108
  */
1170
- updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
1171
- return __awaiter(this, void 0, void 0, function* () {
1172
- var _a, _b, _c;
1173
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrganizationQuota(organizationId, updateOrganizationQuota, options);
1174
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1175
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateOrganizationQuota']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1176
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1177
- });
1109
+ async updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
1110
+ var _a, _b, _c;
1111
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationQuota(organizationId, updateOrganizationQuota, options);
1112
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1113
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateOrganizationQuota']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1114
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1178
1115
  },
1179
1116
  /**
1180
1117
  *
@@ -1185,14 +1122,12 @@ const OrganizationsApiFp = function (configuration) {
1185
1122
  * @param {*} [options] Override http request option.
1186
1123
  * @throws {RequiredError}
1187
1124
  */
1188
- updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
1189
- return __awaiter(this, void 0, void 0, function* () {
1190
- var _a, _b, _c;
1191
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options);
1192
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1193
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1194
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1195
- });
1125
+ async updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
1126
+ var _a, _b, _c;
1127
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options);
1128
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1129
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1130
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1196
1131
  },
1197
1132
  /**
1198
1133
  *
@@ -1203,14 +1138,12 @@ const OrganizationsApiFp = function (configuration) {
1203
1138
  * @param {*} [options] Override http request option.
1204
1139
  * @throws {RequiredError}
1205
1140
  */
1206
- updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
1207
- return __awaiter(this, void 0, void 0, function* () {
1208
- var _a, _b, _c;
1209
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options);
1210
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1211
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateRoleForOrganizationMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1212
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1213
- });
1141
+ async updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
1142
+ var _a, _b, _c;
1143
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options);
1144
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1145
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateRoleForOrganizationMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1146
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1214
1147
  },
1215
1148
  };
1216
1149
  };
@@ -1241,7 +1174,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1241
1174
  * @throws {RequiredError}
1242
1175
  */
1243
1176
  cancelOrganizationInvitation(organizationId, invitationId, options) {
1244
- return localVarFp.cancelOrganizationInvitation(organizationId, invitationId, options).then((request) => request(axios, basePath));
1177
+ return localVarFp
1178
+ .cancelOrganizationInvitation(organizationId, invitationId, options)
1179
+ .then((request) => request(axios, basePath));
1245
1180
  },
1246
1181
  /**
1247
1182
  *
@@ -1262,7 +1197,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1262
1197
  * @throws {RequiredError}
1263
1198
  */
1264
1199
  createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
1265
- return localVarFp.createOrganizationInvitation(organizationId, createOrganizationInvitation, options).then((request) => request(axios, basePath));
1200
+ return localVarFp
1201
+ .createOrganizationInvitation(organizationId, createOrganizationInvitation, options)
1202
+ .then((request) => request(axios, basePath));
1266
1203
  },
1267
1204
  /**
1268
1205
  *
@@ -1273,7 +1210,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1273
1210
  * @throws {RequiredError}
1274
1211
  */
1275
1212
  createOrganizationRole(organizationId, createOrganizationRole, options) {
1276
- return localVarFp.createOrganizationRole(organizationId, createOrganizationRole, options).then((request) => request(axios, basePath));
1213
+ return localVarFp
1214
+ .createOrganizationRole(organizationId, createOrganizationRole, options)
1215
+ .then((request) => request(axios, basePath));
1277
1216
  },
1278
1217
  /**
1279
1218
  *
@@ -1304,7 +1243,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1304
1243
  * @throws {RequiredError}
1305
1244
  */
1306
1245
  deleteOrganizationMember(organizationId, userId, options) {
1307
- return localVarFp.deleteOrganizationMember(organizationId, userId, options).then((request) => request(axios, basePath));
1246
+ return localVarFp
1247
+ .deleteOrganizationMember(organizationId, userId, options)
1248
+ .then((request) => request(axios, basePath));
1308
1249
  },
1309
1250
  /**
1310
1251
  *
@@ -1315,7 +1256,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1315
1256
  * @throws {RequiredError}
1316
1257
  */
1317
1258
  deleteOrganizationRole(organizationId, roleId, options) {
1318
- return localVarFp.deleteOrganizationRole(organizationId, roleId, options).then((request) => request(axios, basePath));
1259
+ return localVarFp
1260
+ .deleteOrganizationRole(organizationId, roleId, options)
1261
+ .then((request) => request(axios, basePath));
1319
1262
  },
1320
1263
  /**
1321
1264
  *
@@ -1334,7 +1277,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1334
1277
  * @throws {RequiredError}
1335
1278
  */
1336
1279
  getOrganizationInvitationsCountForAuthenticatedUser(options) {
1337
- return localVarFp.getOrganizationInvitationsCountForAuthenticatedUser(options).then((request) => request(axios, basePath));
1280
+ return localVarFp
1281
+ .getOrganizationInvitationsCountForAuthenticatedUser(options)
1282
+ .then((request) => request(axios, basePath));
1338
1283
  },
1339
1284
  /**
1340
1285
  *
@@ -1344,7 +1289,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1344
1289
  * @throws {RequiredError}
1345
1290
  */
1346
1291
  getOrganizationUsageOverview(organizationId, options) {
1347
- return localVarFp.getOrganizationUsageOverview(organizationId, options).then((request) => request(axios, basePath));
1292
+ return localVarFp
1293
+ .getOrganizationUsageOverview(organizationId, options)
1294
+ .then((request) => request(axios, basePath));
1348
1295
  },
1349
1296
  /**
1350
1297
  *
@@ -1373,7 +1320,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1373
1320
  * @throws {RequiredError}
1374
1321
  */
1375
1322
  listOrganizationInvitationsForAuthenticatedUser(options) {
1376
- return localVarFp.listOrganizationInvitationsForAuthenticatedUser(options).then((request) => request(axios, basePath));
1323
+ return localVarFp
1324
+ .listOrganizationInvitationsForAuthenticatedUser(options)
1325
+ .then((request) => request(axios, basePath));
1377
1326
  },
1378
1327
  /**
1379
1328
  *
@@ -1414,7 +1363,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1414
1363
  * @throws {RequiredError}
1415
1364
  */
1416
1365
  updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
1417
- return localVarFp.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options).then((request) => request(axios, basePath));
1366
+ return localVarFp
1367
+ .updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options)
1368
+ .then((request) => request(axios, basePath));
1418
1369
  },
1419
1370
  /**
1420
1371
  *
@@ -1426,7 +1377,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1426
1377
  * @throws {RequiredError}
1427
1378
  */
1428
1379
  updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
1429
- return localVarFp.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options).then((request) => request(axios, basePath));
1380
+ return localVarFp
1381
+ .updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options)
1382
+ .then((request) => request(axios, basePath));
1430
1383
  },
1431
1384
  /**
1432
1385
  *
@@ -1437,7 +1390,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1437
1390
  * @throws {RequiredError}
1438
1391
  */
1439
1392
  updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
1440
- return localVarFp.updateOrganizationQuota(organizationId, updateOrganizationQuota, options).then((request) => request(axios, basePath));
1393
+ return localVarFp
1394
+ .updateOrganizationQuota(organizationId, updateOrganizationQuota, options)
1395
+ .then((request) => request(axios, basePath));
1441
1396
  },
1442
1397
  /**
1443
1398
  *
@@ -1449,7 +1404,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1449
1404
  * @throws {RequiredError}
1450
1405
  */
1451
1406
  updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
1452
- return localVarFp.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options).then((request) => request(axios, basePath));
1407
+ return localVarFp
1408
+ .updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options)
1409
+ .then((request) => request(axios, basePath));
1453
1410
  },
1454
1411
  /**
1455
1412
  *
@@ -1461,7 +1418,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
1461
1418
  * @throws {RequiredError}
1462
1419
  */
1463
1420
  updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
1464
- return localVarFp.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options).then((request) => request(axios, basePath));
1421
+ return localVarFp
1422
+ .updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options)
1423
+ .then((request) => request(axios, basePath));
1465
1424
  },
1466
1425
  };
1467
1426
  };
@@ -1482,7 +1441,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1482
1441
  * @memberof OrganizationsApi
1483
1442
  */
1484
1443
  acceptOrganizationInvitation(invitationId, options) {
1485
- return (0, exports.OrganizationsApiFp)(this.configuration).acceptOrganizationInvitation(invitationId, options).then((request) => request(this.axios, this.basePath));
1444
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1445
+ .acceptOrganizationInvitation(invitationId, options)
1446
+ .then((request) => request(this.axios, this.basePath));
1486
1447
  }
1487
1448
  /**
1488
1449
  *
@@ -1494,7 +1455,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1494
1455
  * @memberof OrganizationsApi
1495
1456
  */
1496
1457
  cancelOrganizationInvitation(organizationId, invitationId, options) {
1497
- return (0, exports.OrganizationsApiFp)(this.configuration).cancelOrganizationInvitation(organizationId, invitationId, options).then((request) => request(this.axios, this.basePath));
1458
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1459
+ .cancelOrganizationInvitation(organizationId, invitationId, options)
1460
+ .then((request) => request(this.axios, this.basePath));
1498
1461
  }
1499
1462
  /**
1500
1463
  *
@@ -1505,7 +1468,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1505
1468
  * @memberof OrganizationsApi
1506
1469
  */
1507
1470
  createOrganization(createOrganization, options) {
1508
- return (0, exports.OrganizationsApiFp)(this.configuration).createOrganization(createOrganization, options).then((request) => request(this.axios, this.basePath));
1471
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1472
+ .createOrganization(createOrganization, options)
1473
+ .then((request) => request(this.axios, this.basePath));
1509
1474
  }
1510
1475
  /**
1511
1476
  *
@@ -1517,7 +1482,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1517
1482
  * @memberof OrganizationsApi
1518
1483
  */
1519
1484
  createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
1520
- return (0, exports.OrganizationsApiFp)(this.configuration).createOrganizationInvitation(organizationId, createOrganizationInvitation, options).then((request) => request(this.axios, this.basePath));
1485
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1486
+ .createOrganizationInvitation(organizationId, createOrganizationInvitation, options)
1487
+ .then((request) => request(this.axios, this.basePath));
1521
1488
  }
1522
1489
  /**
1523
1490
  *
@@ -1529,7 +1496,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1529
1496
  * @memberof OrganizationsApi
1530
1497
  */
1531
1498
  createOrganizationRole(organizationId, createOrganizationRole, options) {
1532
- return (0, exports.OrganizationsApiFp)(this.configuration).createOrganizationRole(organizationId, createOrganizationRole, options).then((request) => request(this.axios, this.basePath));
1499
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1500
+ .createOrganizationRole(organizationId, createOrganizationRole, options)
1501
+ .then((request) => request(this.axios, this.basePath));
1533
1502
  }
1534
1503
  /**
1535
1504
  *
@@ -1540,7 +1509,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1540
1509
  * @memberof OrganizationsApi
1541
1510
  */
1542
1511
  declineOrganizationInvitation(invitationId, options) {
1543
- return (0, exports.OrganizationsApiFp)(this.configuration).declineOrganizationInvitation(invitationId, options).then((request) => request(this.axios, this.basePath));
1512
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1513
+ .declineOrganizationInvitation(invitationId, options)
1514
+ .then((request) => request(this.axios, this.basePath));
1544
1515
  }
1545
1516
  /**
1546
1517
  *
@@ -1551,7 +1522,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1551
1522
  * @memberof OrganizationsApi
1552
1523
  */
1553
1524
  deleteOrganization(organizationId, options) {
1554
- return (0, exports.OrganizationsApiFp)(this.configuration).deleteOrganization(organizationId, options).then((request) => request(this.axios, this.basePath));
1525
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1526
+ .deleteOrganization(organizationId, options)
1527
+ .then((request) => request(this.axios, this.basePath));
1555
1528
  }
1556
1529
  /**
1557
1530
  *
@@ -1563,7 +1536,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1563
1536
  * @memberof OrganizationsApi
1564
1537
  */
1565
1538
  deleteOrganizationMember(organizationId, userId, options) {
1566
- return (0, exports.OrganizationsApiFp)(this.configuration).deleteOrganizationMember(organizationId, userId, options).then((request) => request(this.axios, this.basePath));
1539
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1540
+ .deleteOrganizationMember(organizationId, userId, options)
1541
+ .then((request) => request(this.axios, this.basePath));
1567
1542
  }
1568
1543
  /**
1569
1544
  *
@@ -1575,7 +1550,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1575
1550
  * @memberof OrganizationsApi
1576
1551
  */
1577
1552
  deleteOrganizationRole(organizationId, roleId, options) {
1578
- return (0, exports.OrganizationsApiFp)(this.configuration).deleteOrganizationRole(organizationId, roleId, options).then((request) => request(this.axios, this.basePath));
1553
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1554
+ .deleteOrganizationRole(organizationId, roleId, options)
1555
+ .then((request) => request(this.axios, this.basePath));
1579
1556
  }
1580
1557
  /**
1581
1558
  *
@@ -1586,7 +1563,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1586
1563
  * @memberof OrganizationsApi
1587
1564
  */
1588
1565
  getOrganization(organizationId, options) {
1589
- return (0, exports.OrganizationsApiFp)(this.configuration).getOrganization(organizationId, options).then((request) => request(this.axios, this.basePath));
1566
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1567
+ .getOrganization(organizationId, options)
1568
+ .then((request) => request(this.axios, this.basePath));
1590
1569
  }
1591
1570
  /**
1592
1571
  *
@@ -1596,7 +1575,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1596
1575
  * @memberof OrganizationsApi
1597
1576
  */
1598
1577
  getOrganizationInvitationsCountForAuthenticatedUser(options) {
1599
- return (0, exports.OrganizationsApiFp)(this.configuration).getOrganizationInvitationsCountForAuthenticatedUser(options).then((request) => request(this.axios, this.basePath));
1578
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1579
+ .getOrganizationInvitationsCountForAuthenticatedUser(options)
1580
+ .then((request) => request(this.axios, this.basePath));
1600
1581
  }
1601
1582
  /**
1602
1583
  *
@@ -1607,7 +1588,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1607
1588
  * @memberof OrganizationsApi
1608
1589
  */
1609
1590
  getOrganizationUsageOverview(organizationId, options) {
1610
- return (0, exports.OrganizationsApiFp)(this.configuration).getOrganizationUsageOverview(organizationId, options).then((request) => request(this.axios, this.basePath));
1591
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1592
+ .getOrganizationUsageOverview(organizationId, options)
1593
+ .then((request) => request(this.axios, this.basePath));
1611
1594
  }
1612
1595
  /**
1613
1596
  *
@@ -1618,7 +1601,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1618
1601
  * @memberof OrganizationsApi
1619
1602
  */
1620
1603
  leaveOrganization(organizationId, options) {
1621
- return (0, exports.OrganizationsApiFp)(this.configuration).leaveOrganization(organizationId, options).then((request) => request(this.axios, this.basePath));
1604
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1605
+ .leaveOrganization(organizationId, options)
1606
+ .then((request) => request(this.axios, this.basePath));
1622
1607
  }
1623
1608
  /**
1624
1609
  *
@@ -1629,7 +1614,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1629
1614
  * @memberof OrganizationsApi
1630
1615
  */
1631
1616
  listOrganizationInvitations(organizationId, options) {
1632
- return (0, exports.OrganizationsApiFp)(this.configuration).listOrganizationInvitations(organizationId, options).then((request) => request(this.axios, this.basePath));
1617
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1618
+ .listOrganizationInvitations(organizationId, options)
1619
+ .then((request) => request(this.axios, this.basePath));
1633
1620
  }
1634
1621
  /**
1635
1622
  *
@@ -1639,7 +1626,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1639
1626
  * @memberof OrganizationsApi
1640
1627
  */
1641
1628
  listOrganizationInvitationsForAuthenticatedUser(options) {
1642
- return (0, exports.OrganizationsApiFp)(this.configuration).listOrganizationInvitationsForAuthenticatedUser(options).then((request) => request(this.axios, this.basePath));
1629
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1630
+ .listOrganizationInvitationsForAuthenticatedUser(options)
1631
+ .then((request) => request(this.axios, this.basePath));
1643
1632
  }
1644
1633
  /**
1645
1634
  *
@@ -1650,7 +1639,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1650
1639
  * @memberof OrganizationsApi
1651
1640
  */
1652
1641
  listOrganizationMembers(organizationId, options) {
1653
- return (0, exports.OrganizationsApiFp)(this.configuration).listOrganizationMembers(organizationId, options).then((request) => request(this.axios, this.basePath));
1642
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1643
+ .listOrganizationMembers(organizationId, options)
1644
+ .then((request) => request(this.axios, this.basePath));
1654
1645
  }
1655
1646
  /**
1656
1647
  *
@@ -1661,7 +1652,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1661
1652
  * @memberof OrganizationsApi
1662
1653
  */
1663
1654
  listOrganizationRoles(organizationId, options) {
1664
- return (0, exports.OrganizationsApiFp)(this.configuration).listOrganizationRoles(organizationId, options).then((request) => request(this.axios, this.basePath));
1655
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1656
+ .listOrganizationRoles(organizationId, options)
1657
+ .then((request) => request(this.axios, this.basePath));
1665
1658
  }
1666
1659
  /**
1667
1660
  *
@@ -1671,7 +1664,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1671
1664
  * @memberof OrganizationsApi
1672
1665
  */
1673
1666
  listOrganizations(options) {
1674
- return (0, exports.OrganizationsApiFp)(this.configuration).listOrganizations(options).then((request) => request(this.axios, this.basePath));
1667
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1668
+ .listOrganizations(options)
1669
+ .then((request) => request(this.axios, this.basePath));
1675
1670
  }
1676
1671
  /**
1677
1672
  *
@@ -1684,7 +1679,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1684
1679
  * @memberof OrganizationsApi
1685
1680
  */
1686
1681
  updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
1687
- return (0, exports.OrganizationsApiFp)(this.configuration).updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options).then((request) => request(this.axios, this.basePath));
1682
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1683
+ .updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options)
1684
+ .then((request) => request(this.axios, this.basePath));
1688
1685
  }
1689
1686
  /**
1690
1687
  *
@@ -1697,7 +1694,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1697
1694
  * @memberof OrganizationsApi
1698
1695
  */
1699
1696
  updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
1700
- return (0, exports.OrganizationsApiFp)(this.configuration).updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options).then((request) => request(this.axios, this.basePath));
1697
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1698
+ .updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options)
1699
+ .then((request) => request(this.axios, this.basePath));
1701
1700
  }
1702
1701
  /**
1703
1702
  *
@@ -1709,7 +1708,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1709
1708
  * @memberof OrganizationsApi
1710
1709
  */
1711
1710
  updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
1712
- return (0, exports.OrganizationsApiFp)(this.configuration).updateOrganizationQuota(organizationId, updateOrganizationQuota, options).then((request) => request(this.axios, this.basePath));
1711
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1712
+ .updateOrganizationQuota(organizationId, updateOrganizationQuota, options)
1713
+ .then((request) => request(this.axios, this.basePath));
1713
1714
  }
1714
1715
  /**
1715
1716
  *
@@ -1722,7 +1723,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1722
1723
  * @memberof OrganizationsApi
1723
1724
  */
1724
1725
  updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
1725
- return (0, exports.OrganizationsApiFp)(this.configuration).updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options).then((request) => request(this.axios, this.basePath));
1726
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1727
+ .updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options)
1728
+ .then((request) => request(this.axios, this.basePath));
1726
1729
  }
1727
1730
  /**
1728
1731
  *
@@ -1735,7 +1738,9 @@ class OrganizationsApi extends base_1.BaseAPI {
1735
1738
  * @memberof OrganizationsApi
1736
1739
  */
1737
1740
  updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
1738
- return (0, exports.OrganizationsApiFp)(this.configuration).updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options).then((request) => request(this.axios, this.basePath));
1741
+ return (0, exports.OrganizationsApiFp)(this.configuration)
1742
+ .updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options)
1743
+ .then((request) => request(this.axios, this.basePath));
1739
1744
  }
1740
1745
  }
1741
1746
  exports.OrganizationsApi = OrganizationsApi;