@gooddata/api-client-tiger 11.10.0-alpha.5 → 11.10.0-alpha.6

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 (192) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/actions.d.ts.map +1 -1
  4. package/esm/actions.js +2 -2
  5. package/esm/actions.js.map +1 -1
  6. package/esm/api-client-tiger.d.ts +52852 -62434
  7. package/esm/api-endpoints/actions/index.d.ts +2 -0
  8. package/esm/api-endpoints/actions/index.d.ts.map +1 -0
  9. package/esm/api-endpoints/actions/index.js +4 -0
  10. package/esm/api-endpoints/actions/index.js.map +1 -0
  11. package/esm/api-endpoints/authActions/index.d.ts +2 -0
  12. package/esm/api-endpoints/authActions/index.d.ts.map +1 -0
  13. package/esm/api-endpoints/authActions/index.js +4 -0
  14. package/esm/api-endpoints/authActions/index.js.map +1 -0
  15. package/esm/api-endpoints/automation/index.d.ts +2 -0
  16. package/esm/api-endpoints/automation/index.d.ts.map +1 -0
  17. package/esm/api-endpoints/automation/index.js +4 -0
  18. package/esm/api-endpoints/automation/index.js.map +1 -0
  19. package/esm/api-endpoints/entitiesObjects/index.d.ts +33 -0
  20. package/esm/api-endpoints/entitiesObjects/index.d.ts.map +1 -0
  21. package/esm/api-endpoints/entitiesObjects/index.js +66 -0
  22. package/esm/api-endpoints/entitiesObjects/index.js.map +1 -0
  23. package/esm/api-endpoints/execution/index.d.ts +3 -0
  24. package/esm/api-endpoints/execution/index.d.ts.map +1 -0
  25. package/esm/api-endpoints/execution/index.js +6 -0
  26. package/esm/api-endpoints/execution/index.js.map +1 -0
  27. package/esm/api-endpoints/explain/index.d.ts +2 -0
  28. package/esm/api-endpoints/explain/index.d.ts.map +1 -0
  29. package/esm/api-endpoints/explain/index.js +4 -0
  30. package/esm/api-endpoints/explain/index.js.map +1 -0
  31. package/esm/api-endpoints/export/index.d.ts +2 -0
  32. package/esm/api-endpoints/export/index.d.ts.map +1 -0
  33. package/esm/api-endpoints/export/index.js +4 -0
  34. package/esm/api-endpoints/export/index.js.map +1 -0
  35. package/esm/api-endpoints/genAI/index.d.ts +2 -0
  36. package/esm/api-endpoints/genAI/index.d.ts.map +1 -0
  37. package/esm/api-endpoints/genAI/index.js +4 -0
  38. package/esm/api-endpoints/genAI/index.js.map +1 -0
  39. package/esm/api-endpoints/labelElements/index.d.ts +2 -0
  40. package/esm/api-endpoints/labelElements/index.d.ts.map +1 -0
  41. package/esm/api-endpoints/labelElements/index.js +4 -0
  42. package/esm/api-endpoints/labelElements/index.js.map +1 -0
  43. package/esm/api-endpoints/layout/index.d.ts +2 -0
  44. package/esm/api-endpoints/layout/index.d.ts.map +1 -0
  45. package/esm/api-endpoints/layout/index.js +4 -0
  46. package/esm/api-endpoints/layout/index.js.map +1 -0
  47. package/esm/api-endpoints/profile/index.d.ts +3 -0
  48. package/esm/api-endpoints/profile/index.d.ts.map +1 -0
  49. package/esm/api-endpoints/profile/index.js +3 -0
  50. package/esm/api-endpoints/profile/index.js.map +1 -0
  51. package/esm/api-endpoints/result/index.d.ts +2 -0
  52. package/esm/api-endpoints/result/index.d.ts.map +1 -0
  53. package/esm/api-endpoints/result/index.js +4 -0
  54. package/esm/api-endpoints/result/index.js.map +1 -0
  55. package/esm/api-endpoints/scanModel/index.d.ts +2 -0
  56. package/esm/api-endpoints/scanModel/index.d.ts.map +1 -0
  57. package/esm/api-endpoints/scanModel/index.js +4 -0
  58. package/esm/api-endpoints/scanModel/index.js.map +1 -0
  59. package/esm/api-endpoints/smartFunctions/index.d.ts +2 -0
  60. package/esm/api-endpoints/smartFunctions/index.d.ts.map +1 -0
  61. package/esm/api-endpoints/smartFunctions/index.js +4 -0
  62. package/esm/api-endpoints/smartFunctions/index.js.map +1 -0
  63. package/esm/api-endpoints/userManagement/index.d.ts +2 -0
  64. package/esm/api-endpoints/userManagement/index.d.ts.map +1 -0
  65. package/esm/api-endpoints/userManagement/index.js +4 -0
  66. package/esm/api-endpoints/userManagement/index.js.map +1 -0
  67. package/esm/api-endpoints/validDescendants/index.d.ts +2 -0
  68. package/esm/api-endpoints/validDescendants/index.d.ts.map +1 -0
  69. package/esm/api-endpoints/validDescendants/index.js +4 -0
  70. package/esm/api-endpoints/validDescendants/index.js.map +1 -0
  71. package/esm/api-endpoints/validObjects/index.d.ts +2 -0
  72. package/esm/api-endpoints/validObjects/index.d.ts.map +1 -0
  73. package/esm/api-endpoints/validObjects/index.js +4 -0
  74. package/esm/api-endpoints/validObjects/index.js.map +1 -0
  75. package/esm/authActions.d.ts.map +1 -1
  76. package/esm/authActions.js +2 -2
  77. package/esm/authActions.js.map +1 -1
  78. package/esm/client.d.ts +26 -2
  79. package/esm/client.d.ts.map +1 -1
  80. package/esm/client.js +21 -1
  81. package/esm/client.js.map +1 -1
  82. package/esm/entitiesObjects.d.ts.map +1 -1
  83. package/esm/entitiesObjects.js +2 -2
  84. package/esm/entitiesObjects.js.map +1 -1
  85. package/esm/gd-tiger-model/typeGuards.d.ts.map +1 -1
  86. package/esm/gd-tiger-model/typeGuards.js +8 -11
  87. package/esm/gd-tiger-model/typeGuards.js.map +1 -1
  88. package/esm/generated/afm-rest-api/api.d.ts +2527 -3252
  89. package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
  90. package/esm/generated/afm-rest-api/api.js +3700 -4690
  91. package/esm/generated/afm-rest-api/api.js.map +1 -1
  92. package/esm/generated/afm-rest-api/base.d.ts.map +1 -1
  93. package/esm/generated/afm-rest-api/base.js +13 -1
  94. package/esm/generated/afm-rest-api/base.js.map +1 -1
  95. package/esm/generated/afm-rest-api/configuration.d.ts.map +1 -1
  96. package/esm/generated/afm-rest-api/configuration.js +13 -1
  97. package/esm/generated/afm-rest-api/configuration.js.map +1 -1
  98. package/esm/generated/auth-json-api/api.d.ts +283 -395
  99. package/esm/generated/auth-json-api/api.d.ts.map +1 -1
  100. package/esm/generated/auth-json-api/api.js +703 -880
  101. package/esm/generated/auth-json-api/api.js.map +1 -1
  102. package/esm/generated/auth-json-api/base.d.ts.map +1 -1
  103. package/esm/generated/auth-json-api/base.js +13 -1
  104. package/esm/generated/auth-json-api/base.js.map +1 -1
  105. package/esm/generated/auth-json-api/configuration.d.ts.map +1 -1
  106. package/esm/generated/auth-json-api/configuration.js +13 -1
  107. package/esm/generated/auth-json-api/configuration.js.map +1 -1
  108. package/esm/generated/auth-json-api/template.d.ts +102 -0
  109. package/esm/generated/auth-json-api/template.d.ts.map +1 -0
  110. package/esm/generated/auth-json-api/template.js +154 -0
  111. package/esm/generated/auth-json-api/template.js.map +1 -0
  112. package/esm/generated/automation-json-api/api.d.ts +347 -757
  113. package/esm/generated/automation-json-api/api.d.ts.map +1 -1
  114. package/esm/generated/automation-json-api/api.js +768 -1251
  115. package/esm/generated/automation-json-api/api.js.map +1 -1
  116. package/esm/generated/automation-json-api/base.d.ts.map +1 -1
  117. package/esm/generated/automation-json-api/base.js +13 -1
  118. package/esm/generated/automation-json-api/base.js.map +1 -1
  119. package/esm/generated/automation-json-api/common.d.ts.map +1 -1
  120. package/esm/generated/automation-json-api/common.js +13 -1
  121. package/esm/generated/automation-json-api/common.js.map +1 -1
  122. package/esm/generated/automation-json-api/configuration.d.ts.map +1 -1
  123. package/esm/generated/automation-json-api/configuration.js +13 -1
  124. package/esm/generated/automation-json-api/configuration.js.map +1 -1
  125. package/esm/generated/automation-json-api/index.d.ts.map +1 -1
  126. package/esm/generated/automation-json-api/index.js +1 -1
  127. package/esm/generated/automation-json-api/index.js.map +1 -1
  128. package/esm/generated/export-json-api/api.d.ts +662 -1134
  129. package/esm/generated/export-json-api/api.d.ts.map +1 -1
  130. package/esm/generated/export-json-api/api.js +1556 -2181
  131. package/esm/generated/export-json-api/api.js.map +1 -1
  132. package/esm/generated/export-json-api/base.d.ts.map +1 -1
  133. package/esm/generated/export-json-api/base.js +13 -1
  134. package/esm/generated/export-json-api/base.js.map +1 -1
  135. package/esm/generated/export-json-api/configuration.d.ts.map +1 -1
  136. package/esm/generated/export-json-api/configuration.js +13 -1
  137. package/esm/generated/export-json-api/configuration.js.map +1 -1
  138. package/esm/generated/metadata-json-api/api.d.ts +35920 -44004
  139. package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
  140. package/esm/generated/metadata-json-api/api.js +54041 -65836
  141. package/esm/generated/metadata-json-api/api.js.map +1 -1
  142. package/esm/generated/metadata-json-api/base.d.ts.map +1 -1
  143. package/esm/generated/metadata-json-api/base.js +13 -1
  144. package/esm/generated/metadata-json-api/base.js.map +1 -1
  145. package/esm/generated/metadata-json-api/configuration.d.ts.map +1 -1
  146. package/esm/generated/metadata-json-api/configuration.js +13 -1
  147. package/esm/generated/metadata-json-api/configuration.js.map +1 -1
  148. package/esm/generated/metadata-json-api/openapi-spec.json +10318 -10318
  149. package/esm/generated/result-json-api/api.d.ts +290 -524
  150. package/esm/generated/result-json-api/api.d.ts.map +1 -1
  151. package/esm/generated/result-json-api/api.js +784 -1135
  152. package/esm/generated/result-json-api/api.js.map +1 -1
  153. package/esm/generated/result-json-api/base.d.ts.map +1 -1
  154. package/esm/generated/result-json-api/base.js +13 -1
  155. package/esm/generated/result-json-api/base.js.map +1 -1
  156. package/esm/generated/result-json-api/configuration.d.ts.map +1 -1
  157. package/esm/generated/result-json-api/configuration.js +13 -1
  158. package/esm/generated/result-json-api/configuration.js.map +1 -1
  159. package/esm/generated/scan-json-api/api.d.ts +243 -441
  160. package/esm/generated/scan-json-api/api.d.ts.map +1 -1
  161. package/esm/generated/scan-json-api/api.js +655 -922
  162. package/esm/generated/scan-json-api/api.js.map +1 -1
  163. package/esm/generated/scan-json-api/base.d.ts.map +1 -1
  164. package/esm/generated/scan-json-api/base.js +13 -1
  165. package/esm/generated/scan-json-api/base.js.map +1 -1
  166. package/esm/generated/scan-json-api/configuration.d.ts.map +1 -1
  167. package/esm/generated/scan-json-api/configuration.js +13 -1
  168. package/esm/generated/scan-json-api/configuration.js.map +1 -1
  169. package/esm/generated/scan-json-api/openapi-spec.json +1 -1
  170. package/esm/index.d.ts +4 -5
  171. package/esm/index.d.ts.map +1 -1
  172. package/esm/index.js +0 -5
  173. package/esm/index.js.map +1 -1
  174. package/esm/metadataUtilities.d.ts +21 -4
  175. package/esm/metadataUtilities.d.ts.map +1 -1
  176. package/esm/metadataUtilities.js +83 -12
  177. package/esm/metadataUtilities.js.map +1 -1
  178. package/esm/organizationUtilities.d.ts +9 -18
  179. package/esm/organizationUtilities.d.ts.map +1 -1
  180. package/esm/organizationUtilities.js +1 -17
  181. package/esm/organizationUtilities.js.map +1 -1
  182. package/esm/profile.d.ts +34 -0
  183. package/esm/profile.d.ts.map +1 -1
  184. package/esm/profile.js +26 -20
  185. package/esm/profile.js.map +1 -1
  186. package/esm/scanModel.d.ts.map +1 -1
  187. package/esm/scanModel.js +2 -2
  188. package/esm/scanModel.js.map +1 -1
  189. package/esm/userManagement.d.ts.map +1 -1
  190. package/esm/userManagement.js +2 -2
  191. package/esm/userManagement.js.map +1 -1
  192. package/package.json +25 -6
@@ -1,4 +1,15 @@
1
- // (C) 2025 GoodData Corporation
1
+ /* eslint-disable */
2
+ /**
3
+ * OpenAPI definition
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * The version of the OpenAPI document: v0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
2
13
  import globalAxios from "axios";
3
14
  // Some imports not used depending on template conditions, we also need prettier-ignore so that the import does not get split and ts-ignore still works
4
15
  // prettier-ignore
@@ -8,97 +19,61 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, toPathString, creat
8
19
  // prettier-ignore
9
20
  // @ts-ignore
10
21
  import { BASE_PATH, BaseAPI } from './base.js';
11
- export const ProfilePermissionsEnum = {
12
- MANAGE: "MANAGE",
13
- SELF_CREATE_TOKEN: "SELF_CREATE_TOKEN",
14
- };
22
+ // ActionsApi FP - ActionsApiAxiosParamCreator
15
23
  /**
16
- * ActionsApi - axios parameter creator
17
- * @export
24
+ * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
25
+ * @summary Invite User
26
+ * @param {Invitation} invitation
27
+ * @param {*} [options] Override http request option.
28
+ * @param {Configuration} [configuration] Optional configuration.
29
+ * @throws {RequiredError}
18
30
  */
19
- export const ActionsApiAxiosParamCreator = function (configuration) {
20
- return {
21
- /**
22
- * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
23
- * @summary Invite User
24
- * @param {Invitation} invitation
25
- * @param {*} [options] Override http request option.
26
- * @throws {RequiredError}
27
- */
28
- processInvitation: async (invitation, options = {}) => {
29
- // verify required parameter 'invitation' is not null or undefined
30
- assertParamExists("processInvitation", "invitation", invitation);
31
- const localVarPath = `/api/v1/actions/invite`;
32
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
33
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34
- let baseOptions;
35
- if (configuration) {
36
- baseOptions = configuration.baseOptions;
37
- }
38
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
39
- const localVarHeaderParameter = {};
40
- const localVarQueryParameter = {};
41
- localVarHeaderParameter["Content-Type"] = "application/json";
42
- setSearchParams(localVarUrlObj, localVarQueryParameter);
43
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44
- localVarRequestOptions.headers = {
45
- ...localVarHeaderParameter,
46
- ...headersFromBaseOptions,
47
- ...options.headers,
48
- };
49
- const needsSerialization = typeof invitation !== "string" ||
50
- localVarRequestOptions.headers["Content-Type"] === "application/json";
51
- localVarRequestOptions.data = needsSerialization
52
- ? JSON.stringify(invitation !== undefined ? invitation : {})
53
- : invitation || "";
54
- return {
55
- url: toPathString(localVarUrlObj),
56
- options: localVarRequestOptions,
57
- };
58
- },
31
+ export async function ActionsApiAxiosParamCreator_ProcessInvitation(invitation, options = {}, configuration) {
32
+ // verify required parameter 'invitation' is not null or undefined
33
+ assertParamExists("processInvitation", "invitation", invitation);
34
+ const localVarPath = `/api/v1/actions/invite`;
35
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37
+ let baseOptions;
38
+ if (configuration) {
39
+ baseOptions = configuration.baseOptions;
40
+ }
41
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
42
+ const localVarHeaderParameter = {};
43
+ const localVarQueryParameter = {};
44
+ localVarHeaderParameter["Content-Type"] = "application/json";
45
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
46
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
47
+ localVarRequestOptions.headers = {
48
+ ...localVarHeaderParameter,
49
+ ...headersFromBaseOptions,
50
+ ...options.headers,
59
51
  };
60
- };
61
- /**
62
- * ActionsApi - functional programming interface
63
- * @export
64
- */
65
- export const ActionsApiFp = function (configuration) {
66
- const localVarAxiosParamCreator = ActionsApiAxiosParamCreator(configuration);
52
+ const needsSerialization = typeof invitation !== "string" ||
53
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
54
+ localVarRequestOptions.data = needsSerialization
55
+ ? JSON.stringify(invitation !== undefined ? invitation : {})
56
+ : invitation || "";
67
57
  return {
68
- /**
69
- * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
70
- * @summary Invite User
71
- * @param {Invitation} invitation
72
- * @param {*} [options] Override http request option.
73
- * @throws {RequiredError}
74
- */
75
- async processInvitation(invitation, options) {
76
- const localVarAxiosArgs = await localVarAxiosParamCreator.processInvitation(invitation, options);
77
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
78
- },
58
+ url: toPathString(localVarUrlObj),
59
+ options: localVarRequestOptions,
79
60
  };
80
- };
61
+ }
62
+ // ActionsApi Api FP
81
63
  /**
82
- * ActionsApi - factory interface
83
- * @export
64
+ * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
65
+ * @summary Invite User
66
+ * @param {AxiosInstance} axios Axios instance.
67
+ * @param {string} basePath Base path.
68
+ * @param {ActionsApiProcessInvitationRequest} requestParameters Request parameters.
69
+ * @param {*} [options] Override http request option.
70
+ * @param {Configuration} [configuration] Optional configuration.
71
+ * @throws {RequiredError}
84
72
  */
85
- export const ActionsApiFactory = function (configuration, basePath, axios) {
86
- const localVarFp = ActionsApiFp(configuration);
87
- return {
88
- /**
89
- * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
90
- * @summary Invite User
91
- * @param {ActionsApiProcessInvitationRequest} requestParameters Request parameters.
92
- * @param {*} [options] Override http request option.
93
- * @throws {RequiredError}
94
- */
95
- processInvitation(requestParameters, options) {
96
- return localVarFp
97
- .processInvitation(requestParameters.invitation, options)
98
- .then((request) => request(axios, basePath));
99
- },
100
- };
101
- };
73
+ export async function ActionsApi_ProcessInvitation(axios, basePath, requestParameters, options, configuration) {
74
+ const localVarAxiosArgs = await ActionsApiAxiosParamCreator_ProcessInvitation(requestParameters.invitation, options || {}, configuration);
75
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
76
+ }
102
77
  /**
103
78
  * ActionsApi - object-oriented interface
104
79
  * @export
@@ -115,369 +90,308 @@ export class ActionsApi extends BaseAPI {
115
90
  * @memberof ActionsApi
116
91
  */
117
92
  processInvitation(requestParameters, options) {
118
- return ActionsApiFp(this.configuration)
119
- .processInvitation(requestParameters.invitation, options)
120
- .then((request) => request(this.axios, this.basePath));
93
+ return ActionsApi_ProcessInvitation(this.axios, this.basePath, requestParameters, options, this.configuration);
121
94
  }
122
95
  }
96
+ // AuthenticationApi FP - AuthenticationApiAxiosParamCreator
123
97
  /**
124
- * AuthenticationApi - axios parameter creator
125
- * @export
98
+ * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
99
+ * @summary Create a user
100
+ * @param {AuthUser} authUser
101
+ * @param {*} [options] Override http request option.
102
+ * @param {Configuration} [configuration] Optional configuration.
103
+ * @throws {RequiredError}
104
+ */
105
+ export async function AuthenticationApiAxiosParamCreator_CreateUser(authUser, options = {}, configuration) {
106
+ // verify required parameter 'authUser' is not null or undefined
107
+ assertParamExists("createUser", "authUser", authUser);
108
+ const localVarPath = `/api/v1/auth/users`;
109
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
110
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
111
+ let baseOptions;
112
+ if (configuration) {
113
+ baseOptions = configuration.baseOptions;
114
+ }
115
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
116
+ const localVarHeaderParameter = {};
117
+ const localVarQueryParameter = {};
118
+ localVarHeaderParameter["Content-Type"] = "application/json";
119
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
120
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
121
+ localVarRequestOptions.headers = {
122
+ ...localVarHeaderParameter,
123
+ ...headersFromBaseOptions,
124
+ ...options.headers,
125
+ };
126
+ const needsSerialization = typeof authUser !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json";
127
+ localVarRequestOptions.data = needsSerialization
128
+ ? JSON.stringify(authUser !== undefined ? authUser : {})
129
+ : authUser || "";
130
+ return {
131
+ url: toPathString(localVarUrlObj),
132
+ options: localVarRequestOptions,
133
+ };
134
+ }
135
+ // AuthenticationApi FP - AuthenticationApiAxiosParamCreator
136
+ /**
137
+ * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
138
+ * @summary Delete a user
139
+ * @param {string} userEmail
140
+ * @param {*} [options] Override http request option.
141
+ * @param {Configuration} [configuration] Optional configuration.
142
+ * @throws {RequiredError}
126
143
  */
127
- export const AuthenticationApiAxiosParamCreator = function (configuration) {
144
+ export async function AuthenticationApiAxiosParamCreator_DeleteUser(userEmail, options = {}, configuration) {
145
+ // verify required parameter 'userEmail' is not null or undefined
146
+ assertParamExists("deleteUser", "userEmail", userEmail);
147
+ const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
148
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
149
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
150
+ let baseOptions;
151
+ if (configuration) {
152
+ baseOptions = configuration.baseOptions;
153
+ }
154
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
155
+ const localVarHeaderParameter = {};
156
+ const localVarQueryParameter = {};
157
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
158
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
159
+ localVarRequestOptions.headers = {
160
+ ...localVarHeaderParameter,
161
+ ...headersFromBaseOptions,
162
+ ...options.headers,
163
+ };
128
164
  return {
129
- /**
130
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
131
- * @summary Create a user
132
- * @param {AuthUser} authUser
133
- * @param {*} [options] Override http request option.
134
- * @throws {RequiredError}
135
- */
136
- createUser: async (authUser, options = {}) => {
137
- // verify required parameter 'authUser' is not null or undefined
138
- assertParamExists("createUser", "authUser", authUser);
139
- const localVarPath = `/api/v1/auth/users`;
140
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
141
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
142
- let baseOptions;
143
- if (configuration) {
144
- baseOptions = configuration.baseOptions;
145
- }
146
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
147
- const localVarHeaderParameter = {};
148
- const localVarQueryParameter = {};
149
- localVarHeaderParameter["Content-Type"] = "application/json";
150
- setSearchParams(localVarUrlObj, localVarQueryParameter);
151
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
152
- localVarRequestOptions.headers = {
153
- ...localVarHeaderParameter,
154
- ...headersFromBaseOptions,
155
- ...options.headers,
156
- };
157
- const needsSerialization = typeof authUser !== "string" ||
158
- localVarRequestOptions.headers["Content-Type"] === "application/json";
159
- localVarRequestOptions.data = needsSerialization
160
- ? JSON.stringify(authUser !== undefined ? authUser : {})
161
- : authUser || "";
162
- return {
163
- url: toPathString(localVarUrlObj),
164
- options: localVarRequestOptions,
165
- };
166
- },
167
- /**
168
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
169
- * @summary Delete a user
170
- * @param {string} userEmail
171
- * @param {*} [options] Override http request option.
172
- * @throws {RequiredError}
173
- */
174
- deleteUser: async (userEmail, options = {}) => {
175
- // verify required parameter 'userEmail' is not null or undefined
176
- assertParamExists("deleteUser", "userEmail", userEmail);
177
- const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
178
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
179
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
180
- let baseOptions;
181
- if (configuration) {
182
- baseOptions = configuration.baseOptions;
183
- }
184
- const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
185
- const localVarHeaderParameter = {};
186
- const localVarQueryParameter = {};
187
- setSearchParams(localVarUrlObj, localVarQueryParameter);
188
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
189
- localVarRequestOptions.headers = {
190
- ...localVarHeaderParameter,
191
- ...headersFromBaseOptions,
192
- ...options.headers,
193
- };
194
- return {
195
- url: toPathString(localVarUrlObj),
196
- options: localVarRequestOptions,
197
- };
198
- },
199
- /**
200
- * Returns a Profile including Organization and Current User Information.
201
- * @summary Get Profile
202
- * @param {*} [options] Override http request option.
203
- * @throws {RequiredError}
204
- */
205
- getProfile: async (options = {}) => {
206
- const localVarPath = `/api/v1/profile`;
207
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
208
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
209
- let baseOptions;
210
- if (configuration) {
211
- baseOptions = configuration.baseOptions;
212
- }
213
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
214
- const localVarHeaderParameter = {};
215
- const localVarQueryParameter = {};
216
- setSearchParams(localVarUrlObj, localVarQueryParameter);
217
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
218
- localVarRequestOptions.headers = {
219
- ...localVarHeaderParameter,
220
- ...headersFromBaseOptions,
221
- ...options.headers,
222
- };
223
- return {
224
- url: toPathString(localVarUrlObj),
225
- options: localVarRequestOptions,
226
- };
227
- },
228
- /**
229
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
230
- * @summary Get a user
231
- * @param {string} userEmail
232
- * @param {*} [options] Override http request option.
233
- * @throws {RequiredError}
234
- */
235
- getUser: async (userEmail, options = {}) => {
236
- // verify required parameter 'userEmail' is not null or undefined
237
- assertParamExists("getUser", "userEmail", userEmail);
238
- const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
239
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
240
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
241
- let baseOptions;
242
- if (configuration) {
243
- baseOptions = configuration.baseOptions;
244
- }
245
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
246
- const localVarHeaderParameter = {};
247
- const localVarQueryParameter = {};
248
- setSearchParams(localVarUrlObj, localVarQueryParameter);
249
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
250
- localVarRequestOptions.headers = {
251
- ...localVarHeaderParameter,
252
- ...headersFromBaseOptions,
253
- ...options.headers,
254
- };
255
- return {
256
- url: toPathString(localVarUrlObj),
257
- options: localVarRequestOptions,
258
- };
259
- },
260
- /**
261
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
262
- * @summary Get all users
263
- * @param {*} [options] Override http request option.
264
- * @throws {RequiredError}
265
- */
266
- getUsers: async (options = {}) => {
267
- const localVarPath = `/api/v1/auth/users`;
268
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
269
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
270
- let baseOptions;
271
- if (configuration) {
272
- baseOptions = configuration.baseOptions;
273
- }
274
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
275
- const localVarHeaderParameter = {};
276
- const localVarQueryParameter = {};
277
- setSearchParams(localVarUrlObj, localVarQueryParameter);
278
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
279
- localVarRequestOptions.headers = {
280
- ...localVarHeaderParameter,
281
- ...headersFromBaseOptions,
282
- ...options.headers,
283
- };
284
- return {
285
- url: toPathString(localVarUrlObj),
286
- options: localVarRequestOptions,
287
- };
288
- },
289
- /**
290
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
291
- * @summary Update a user
292
- * @param {string} userEmail
293
- * @param {AuthUser} authUser
294
- * @param {*} [options] Override http request option.
295
- * @throws {RequiredError}
296
- */
297
- updateUser: async (userEmail, authUser, options = {}) => {
298
- // verify required parameter 'userEmail' is not null or undefined
299
- assertParamExists("updateUser", "userEmail", userEmail);
300
- // verify required parameter 'authUser' is not null or undefined
301
- assertParamExists("updateUser", "authUser", authUser);
302
- const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
303
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
304
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
305
- let baseOptions;
306
- if (configuration) {
307
- baseOptions = configuration.baseOptions;
308
- }
309
- const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
310
- const localVarHeaderParameter = {};
311
- const localVarQueryParameter = {};
312
- localVarHeaderParameter["Content-Type"] = "application/json";
313
- setSearchParams(localVarUrlObj, localVarQueryParameter);
314
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
315
- localVarRequestOptions.headers = {
316
- ...localVarHeaderParameter,
317
- ...headersFromBaseOptions,
318
- ...options.headers,
319
- };
320
- const needsSerialization = typeof authUser !== "string" ||
321
- localVarRequestOptions.headers["Content-Type"] === "application/json";
322
- localVarRequestOptions.data = needsSerialization
323
- ? JSON.stringify(authUser !== undefined ? authUser : {})
324
- : authUser || "";
325
- return {
326
- url: toPathString(localVarUrlObj),
327
- options: localVarRequestOptions,
328
- };
329
- },
165
+ url: toPathString(localVarUrlObj),
166
+ options: localVarRequestOptions,
330
167
  };
331
- };
168
+ }
169
+ // AuthenticationApi FP - AuthenticationApiAxiosParamCreator
332
170
  /**
333
- * AuthenticationApi - functional programming interface
334
- * @export
171
+ * Returns a Profile including Organization and Current User Information.
172
+ * @summary Get Profile
173
+ * @param {*} [options] Override http request option.
174
+ * @param {Configuration} [configuration] Optional configuration.
175
+ * @throws {RequiredError}
335
176
  */
336
- export const AuthenticationApiFp = function (configuration) {
337
- const localVarAxiosParamCreator = AuthenticationApiAxiosParamCreator(configuration);
177
+ export async function AuthenticationApiAxiosParamCreator_GetProfile(options = {}, configuration) {
178
+ const localVarPath = `/api/v1/profile`;
179
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
180
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
181
+ let baseOptions;
182
+ if (configuration) {
183
+ baseOptions = configuration.baseOptions;
184
+ }
185
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
186
+ const localVarHeaderParameter = {};
187
+ const localVarQueryParameter = {};
188
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
189
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
190
+ localVarRequestOptions.headers = {
191
+ ...localVarHeaderParameter,
192
+ ...headersFromBaseOptions,
193
+ ...options.headers,
194
+ };
338
195
  return {
339
- /**
340
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
341
- * @summary Create a user
342
- * @param {AuthUser} authUser
343
- * @param {*} [options] Override http request option.
344
- * @throws {RequiredError}
345
- */
346
- async createUser(authUser, options) {
347
- const localVarAxiosArgs = await localVarAxiosParamCreator.createUser(authUser, options);
348
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
349
- },
350
- /**
351
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
352
- * @summary Delete a user
353
- * @param {string} userEmail
354
- * @param {*} [options] Override http request option.
355
- * @throws {RequiredError}
356
- */
357
- async deleteUser(userEmail, options) {
358
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(userEmail, options);
359
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
360
- },
361
- /**
362
- * Returns a Profile including Organization and Current User Information.
363
- * @summary Get Profile
364
- * @param {*} [options] Override http request option.
365
- * @throws {RequiredError}
366
- */
367
- async getProfile(options) {
368
- const localVarAxiosArgs = await localVarAxiosParamCreator.getProfile(options);
369
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
370
- },
371
- /**
372
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
373
- * @summary Get a user
374
- * @param {string} userEmail
375
- * @param {*} [options] Override http request option.
376
- * @throws {RequiredError}
377
- */
378
- async getUser(userEmail, options) {
379
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(userEmail, options);
380
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
381
- },
382
- /**
383
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
384
- * @summary Get all users
385
- * @param {*} [options] Override http request option.
386
- * @throws {RequiredError}
387
- */
388
- async getUsers(options) {
389
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUsers(options);
390
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
391
- },
392
- /**
393
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
394
- * @summary Update a user
395
- * @param {string} userEmail
396
- * @param {AuthUser} authUser
397
- * @param {*} [options] Override http request option.
398
- * @throws {RequiredError}
399
- */
400
- async updateUser(userEmail, authUser, options) {
401
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(userEmail, authUser, options);
402
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
403
- },
196
+ url: toPathString(localVarUrlObj),
197
+ options: localVarRequestOptions,
404
198
  };
405
- };
199
+ }
200
+ // AuthenticationApi FP - AuthenticationApiAxiosParamCreator
406
201
  /**
407
- * AuthenticationApi - factory interface
408
- * @export
202
+ * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
203
+ * @summary Get a user
204
+ * @param {string} userEmail
205
+ * @param {*} [options] Override http request option.
206
+ * @param {Configuration} [configuration] Optional configuration.
207
+ * @throws {RequiredError}
409
208
  */
410
- export const AuthenticationApiFactory = function (configuration, basePath, axios) {
411
- const localVarFp = AuthenticationApiFp(configuration);
209
+ export async function AuthenticationApiAxiosParamCreator_GetUser(userEmail, options = {}, configuration) {
210
+ // verify required parameter 'userEmail' is not null or undefined
211
+ assertParamExists("getUser", "userEmail", userEmail);
212
+ const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
213
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
214
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
215
+ let baseOptions;
216
+ if (configuration) {
217
+ baseOptions = configuration.baseOptions;
218
+ }
219
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
220
+ const localVarHeaderParameter = {};
221
+ const localVarQueryParameter = {};
222
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
223
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
224
+ localVarRequestOptions.headers = {
225
+ ...localVarHeaderParameter,
226
+ ...headersFromBaseOptions,
227
+ ...options.headers,
228
+ };
412
229
  return {
413
- /**
414
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
415
- * @summary Create a user
416
- * @param {AuthenticationApiCreateUserRequest} requestParameters Request parameters.
417
- * @param {*} [options] Override http request option.
418
- * @throws {RequiredError}
419
- */
420
- createUser(requestParameters, options) {
421
- return localVarFp
422
- .createUser(requestParameters.authUser, options)
423
- .then((request) => request(axios, basePath));
424
- },
425
- /**
426
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
427
- * @summary Delete a user
428
- * @param {AuthenticationApiDeleteUserRequest} requestParameters Request parameters.
429
- * @param {*} [options] Override http request option.
430
- * @throws {RequiredError}
431
- */
432
- deleteUser(requestParameters, options) {
433
- return localVarFp
434
- .deleteUser(requestParameters.userEmail, options)
435
- .then((request) => request(axios, basePath));
436
- },
437
- /**
438
- * Returns a Profile including Organization and Current User Information.
439
- * @summary Get Profile
440
- * @param {*} [options] Override http request option.
441
- * @throws {RequiredError}
442
- */
443
- getProfile(options) {
444
- return localVarFp.getProfile(options).then((request) => request(axios, basePath));
445
- },
446
- /**
447
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
448
- * @summary Get a user
449
- * @param {AuthenticationApiGetUserRequest} requestParameters Request parameters.
450
- * @param {*} [options] Override http request option.
451
- * @throws {RequiredError}
452
- */
453
- getUser(requestParameters, options) {
454
- return localVarFp
455
- .getUser(requestParameters.userEmail, options)
456
- .then((request) => request(axios, basePath));
457
- },
458
- /**
459
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
460
- * @summary Get all users
461
- * @param {*} [options] Override http request option.
462
- * @throws {RequiredError}
463
- */
464
- getUsers(options) {
465
- return localVarFp.getUsers(options).then((request) => request(axios, basePath));
466
- },
467
- /**
468
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
469
- * @summary Update a user
470
- * @param {AuthenticationApiUpdateUserRequest} requestParameters Request parameters.
471
- * @param {*} [options] Override http request option.
472
- * @throws {RequiredError}
473
- */
474
- updateUser(requestParameters, options) {
475
- return localVarFp
476
- .updateUser(requestParameters.userEmail, requestParameters.authUser, options)
477
- .then((request) => request(axios, basePath));
478
- },
230
+ url: toPathString(localVarUrlObj),
231
+ options: localVarRequestOptions,
479
232
  };
480
- };
233
+ }
234
+ // AuthenticationApi FP - AuthenticationApiAxiosParamCreator
235
+ /**
236
+ * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
237
+ * @summary Get all users
238
+ * @param {*} [options] Override http request option.
239
+ * @param {Configuration} [configuration] Optional configuration.
240
+ * @throws {RequiredError}
241
+ */
242
+ export async function AuthenticationApiAxiosParamCreator_GetUsers(options = {}, configuration) {
243
+ const localVarPath = `/api/v1/auth/users`;
244
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
245
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
246
+ let baseOptions;
247
+ if (configuration) {
248
+ baseOptions = configuration.baseOptions;
249
+ }
250
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
251
+ const localVarHeaderParameter = {};
252
+ const localVarQueryParameter = {};
253
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
254
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
255
+ localVarRequestOptions.headers = {
256
+ ...localVarHeaderParameter,
257
+ ...headersFromBaseOptions,
258
+ ...options.headers,
259
+ };
260
+ return {
261
+ url: toPathString(localVarUrlObj),
262
+ options: localVarRequestOptions,
263
+ };
264
+ }
265
+ // AuthenticationApi FP - AuthenticationApiAxiosParamCreator
266
+ /**
267
+ * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
268
+ * @summary Update a user
269
+ * @param {string} userEmail
270
+ * @param {AuthUser} authUser
271
+ * @param {*} [options] Override http request option.
272
+ * @param {Configuration} [configuration] Optional configuration.
273
+ * @throws {RequiredError}
274
+ */
275
+ export async function AuthenticationApiAxiosParamCreator_UpdateUser(userEmail, authUser, options = {}, configuration) {
276
+ // verify required parameter 'userEmail' is not null or undefined
277
+ assertParamExists("updateUser", "userEmail", userEmail);
278
+ // verify required parameter 'authUser' is not null or undefined
279
+ assertParamExists("updateUser", "authUser", authUser);
280
+ const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
281
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
282
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
283
+ let baseOptions;
284
+ if (configuration) {
285
+ baseOptions = configuration.baseOptions;
286
+ }
287
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
288
+ const localVarHeaderParameter = {};
289
+ const localVarQueryParameter = {};
290
+ localVarHeaderParameter["Content-Type"] = "application/json";
291
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
292
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
293
+ localVarRequestOptions.headers = {
294
+ ...localVarHeaderParameter,
295
+ ...headersFromBaseOptions,
296
+ ...options.headers,
297
+ };
298
+ const needsSerialization = typeof authUser !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json";
299
+ localVarRequestOptions.data = needsSerialization
300
+ ? JSON.stringify(authUser !== undefined ? authUser : {})
301
+ : authUser || "";
302
+ return {
303
+ url: toPathString(localVarUrlObj),
304
+ options: localVarRequestOptions,
305
+ };
306
+ }
307
+ // AuthenticationApi Api FP
308
+ /**
309
+ * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
310
+ * @summary Create a user
311
+ * @param {AxiosInstance} axios Axios instance.
312
+ * @param {string} basePath Base path.
313
+ * @param {AuthenticationApiCreateUserRequest} requestParameters Request parameters.
314
+ * @param {*} [options] Override http request option.
315
+ * @param {Configuration} [configuration] Optional configuration.
316
+ * @throws {RequiredError}
317
+ */
318
+ export async function AuthenticationApi_CreateUser(axios, basePath, requestParameters, options, configuration) {
319
+ const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_CreateUser(requestParameters.authUser, options || {}, configuration);
320
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
321
+ }
322
+ // AuthenticationApi Api FP
323
+ /**
324
+ * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
325
+ * @summary Delete a user
326
+ * @param {AxiosInstance} axios Axios instance.
327
+ * @param {string} basePath Base path.
328
+ * @param {AuthenticationApiDeleteUserRequest} requestParameters Request parameters.
329
+ * @param {*} [options] Override http request option.
330
+ * @param {Configuration} [configuration] Optional configuration.
331
+ * @throws {RequiredError}
332
+ */
333
+ export async function AuthenticationApi_DeleteUser(axios, basePath, requestParameters, options, configuration) {
334
+ const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_DeleteUser(requestParameters.userEmail, options || {}, configuration);
335
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
336
+ }
337
+ // AuthenticationApi Api FP
338
+ /**
339
+ * Returns a Profile including Organization and Current User Information.
340
+ * @summary Get Profile
341
+ * @param {AxiosInstance} axios Axios instance.
342
+ * @param {string} basePath Base path.
343
+ * @param {*} [options] Override http request option.
344
+ * @param {Configuration} [configuration] Optional configuration.
345
+ * @throws {RequiredError}
346
+ */
347
+ export async function AuthenticationApi_GetProfile(axios, basePath, options, configuration) {
348
+ const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_GetProfile(options || {}, configuration);
349
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
350
+ }
351
+ // AuthenticationApi Api FP
352
+ /**
353
+ * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
354
+ * @summary Get a user
355
+ * @param {AxiosInstance} axios Axios instance.
356
+ * @param {string} basePath Base path.
357
+ * @param {AuthenticationApiGetUserRequest} requestParameters Request parameters.
358
+ * @param {*} [options] Override http request option.
359
+ * @param {Configuration} [configuration] Optional configuration.
360
+ * @throws {RequiredError}
361
+ */
362
+ export async function AuthenticationApi_GetUser(axios, basePath, requestParameters, options, configuration) {
363
+ const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_GetUser(requestParameters.userEmail, options || {}, configuration);
364
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
365
+ }
366
+ // AuthenticationApi Api FP
367
+ /**
368
+ * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
369
+ * @summary Get all users
370
+ * @param {AxiosInstance} axios Axios instance.
371
+ * @param {string} basePath Base path.
372
+ * @param {*} [options] Override http request option.
373
+ * @param {Configuration} [configuration] Optional configuration.
374
+ * @throws {RequiredError}
375
+ */
376
+ export async function AuthenticationApi_GetUsers(axios, basePath, options, configuration) {
377
+ const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_GetUsers(options || {}, configuration);
378
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
379
+ }
380
+ // AuthenticationApi Api FP
381
+ /**
382
+ * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
383
+ * @summary Update a user
384
+ * @param {AxiosInstance} axios Axios instance.
385
+ * @param {string} basePath Base path.
386
+ * @param {AuthenticationApiUpdateUserRequest} requestParameters Request parameters.
387
+ * @param {*} [options] Override http request option.
388
+ * @param {Configuration} [configuration] Optional configuration.
389
+ * @throws {RequiredError}
390
+ */
391
+ export async function AuthenticationApi_UpdateUser(axios, basePath, requestParameters, options, configuration) {
392
+ const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_UpdateUser(requestParameters.userEmail, requestParameters.authUser, options || {}, configuration);
393
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
394
+ }
481
395
  /**
482
396
  * AuthenticationApi - object-oriented interface
483
397
  * @export
@@ -494,9 +408,7 @@ export class AuthenticationApi extends BaseAPI {
494
408
  * @memberof AuthenticationApi
495
409
  */
496
410
  createUser(requestParameters, options) {
497
- return AuthenticationApiFp(this.configuration)
498
- .createUser(requestParameters.authUser, options)
499
- .then((request) => request(this.axios, this.basePath));
411
+ return AuthenticationApi_CreateUser(this.axios, this.basePath, requestParameters, options, this.configuration);
500
412
  }
501
413
  /**
502
414
  * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
@@ -507,9 +419,7 @@ export class AuthenticationApi extends BaseAPI {
507
419
  * @memberof AuthenticationApi
508
420
  */
509
421
  deleteUser(requestParameters, options) {
510
- return AuthenticationApiFp(this.configuration)
511
- .deleteUser(requestParameters.userEmail, options)
512
- .then((request) => request(this.axios, this.basePath));
422
+ return AuthenticationApi_DeleteUser(this.axios, this.basePath, requestParameters, options, this.configuration);
513
423
  }
514
424
  /**
515
425
  * Returns a Profile including Organization and Current User Information.
@@ -519,9 +429,7 @@ export class AuthenticationApi extends BaseAPI {
519
429
  * @memberof AuthenticationApi
520
430
  */
521
431
  getProfile(options) {
522
- return AuthenticationApiFp(this.configuration)
523
- .getProfile(options)
524
- .then((request) => request(this.axios, this.basePath));
432
+ return AuthenticationApi_GetProfile(this.axios, this.basePath, options, this.configuration);
525
433
  }
526
434
  /**
527
435
  * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
@@ -532,9 +440,7 @@ export class AuthenticationApi extends BaseAPI {
532
440
  * @memberof AuthenticationApi
533
441
  */
534
442
  getUser(requestParameters, options) {
535
- return AuthenticationApiFp(this.configuration)
536
- .getUser(requestParameters.userEmail, options)
537
- .then((request) => request(this.axios, this.basePath));
443
+ return AuthenticationApi_GetUser(this.axios, this.basePath, requestParameters, options, this.configuration);
538
444
  }
539
445
  /**
540
446
  * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
@@ -544,9 +450,7 @@ export class AuthenticationApi extends BaseAPI {
544
450
  * @memberof AuthenticationApi
545
451
  */
546
452
  getUsers(options) {
547
- return AuthenticationApiFp(this.configuration)
548
- .getUsers(options)
549
- .then((request) => request(this.axios, this.basePath));
453
+ return AuthenticationApi_GetUsers(this.axios, this.basePath, options, this.configuration);
550
454
  }
551
455
  /**
552
456
  * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
@@ -557,430 +461,363 @@ export class AuthenticationApi extends BaseAPI {
557
461
  * @memberof AuthenticationApi
558
462
  */
559
463
  updateUser(requestParameters, options) {
560
- return AuthenticationApiFp(this.configuration)
561
- .updateUser(requestParameters.userEmail, requestParameters.authUser, options)
562
- .then((request) => request(this.axios, this.basePath));
464
+ return AuthenticationApi_UpdateUser(this.axios, this.basePath, requestParameters, options, this.configuration);
563
465
  }
564
466
  }
467
+ // UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
565
468
  /**
566
- * UserAuthorizationApi - axios parameter creator
567
- * @export
469
+ * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
470
+ * @summary Create a user
471
+ * @param {AuthUser} authUser
472
+ * @param {*} [options] Override http request option.
473
+ * @param {Configuration} [configuration] Optional configuration.
474
+ * @throws {RequiredError}
568
475
  */
569
- export const UserAuthorizationApiAxiosParamCreator = function (configuration) {
476
+ export async function UserAuthorizationApiAxiosParamCreator_CreateUser(authUser, options = {}, configuration) {
477
+ // verify required parameter 'authUser' is not null or undefined
478
+ assertParamExists("createUser", "authUser", authUser);
479
+ const localVarPath = `/api/v1/auth/users`;
480
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
481
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
482
+ let baseOptions;
483
+ if (configuration) {
484
+ baseOptions = configuration.baseOptions;
485
+ }
486
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
487
+ const localVarHeaderParameter = {};
488
+ const localVarQueryParameter = {};
489
+ localVarHeaderParameter["Content-Type"] = "application/json";
490
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
491
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
492
+ localVarRequestOptions.headers = {
493
+ ...localVarHeaderParameter,
494
+ ...headersFromBaseOptions,
495
+ ...options.headers,
496
+ };
497
+ const needsSerialization = typeof authUser !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json";
498
+ localVarRequestOptions.data = needsSerialization
499
+ ? JSON.stringify(authUser !== undefined ? authUser : {})
500
+ : authUser || "";
570
501
  return {
571
- /**
572
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
573
- * @summary Create a user
574
- * @param {AuthUser} authUser
575
- * @param {*} [options] Override http request option.
576
- * @throws {RequiredError}
577
- */
578
- createUser: async (authUser, options = {}) => {
579
- // verify required parameter 'authUser' is not null or undefined
580
- assertParamExists("createUser", "authUser", authUser);
581
- const localVarPath = `/api/v1/auth/users`;
582
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
583
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
584
- let baseOptions;
585
- if (configuration) {
586
- baseOptions = configuration.baseOptions;
587
- }
588
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
589
- const localVarHeaderParameter = {};
590
- const localVarQueryParameter = {};
591
- localVarHeaderParameter["Content-Type"] = "application/json";
592
- setSearchParams(localVarUrlObj, localVarQueryParameter);
593
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
594
- localVarRequestOptions.headers = {
595
- ...localVarHeaderParameter,
596
- ...headersFromBaseOptions,
597
- ...options.headers,
598
- };
599
- const needsSerialization = typeof authUser !== "string" ||
600
- localVarRequestOptions.headers["Content-Type"] === "application/json";
601
- localVarRequestOptions.data = needsSerialization
602
- ? JSON.stringify(authUser !== undefined ? authUser : {})
603
- : authUser || "";
604
- return {
605
- url: toPathString(localVarUrlObj),
606
- options: localVarRequestOptions,
607
- };
608
- },
609
- /**
610
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
611
- * @summary Delete a user
612
- * @param {string} userEmail
613
- * @param {*} [options] Override http request option.
614
- * @throws {RequiredError}
615
- */
616
- deleteUser: async (userEmail, options = {}) => {
617
- // verify required parameter 'userEmail' is not null or undefined
618
- assertParamExists("deleteUser", "userEmail", userEmail);
619
- const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
620
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
621
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
622
- let baseOptions;
623
- if (configuration) {
624
- baseOptions = configuration.baseOptions;
625
- }
626
- const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
627
- const localVarHeaderParameter = {};
628
- const localVarQueryParameter = {};
629
- setSearchParams(localVarUrlObj, localVarQueryParameter);
630
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
631
- localVarRequestOptions.headers = {
632
- ...localVarHeaderParameter,
633
- ...headersFromBaseOptions,
634
- ...options.headers,
635
- };
636
- return {
637
- url: toPathString(localVarUrlObj),
638
- options: localVarRequestOptions,
639
- };
640
- },
641
- /**
642
- * Returns a Profile including Organization and Current User Information.
643
- * @summary Get Profile
644
- * @param {*} [options] Override http request option.
645
- * @throws {RequiredError}
646
- */
647
- getProfile: async (options = {}) => {
648
- const localVarPath = `/api/v1/profile`;
649
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
650
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
651
- let baseOptions;
652
- if (configuration) {
653
- baseOptions = configuration.baseOptions;
654
- }
655
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
656
- const localVarHeaderParameter = {};
657
- const localVarQueryParameter = {};
658
- setSearchParams(localVarUrlObj, localVarQueryParameter);
659
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
660
- localVarRequestOptions.headers = {
661
- ...localVarHeaderParameter,
662
- ...headersFromBaseOptions,
663
- ...options.headers,
664
- };
665
- return {
666
- url: toPathString(localVarUrlObj),
667
- options: localVarRequestOptions,
668
- };
669
- },
670
- /**
671
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
672
- * @summary Get a user
673
- * @param {string} userEmail
674
- * @param {*} [options] Override http request option.
675
- * @throws {RequiredError}
676
- */
677
- getUser: async (userEmail, options = {}) => {
678
- // verify required parameter 'userEmail' is not null or undefined
679
- assertParamExists("getUser", "userEmail", userEmail);
680
- const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
681
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
682
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
683
- let baseOptions;
684
- if (configuration) {
685
- baseOptions = configuration.baseOptions;
686
- }
687
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
688
- const localVarHeaderParameter = {};
689
- const localVarQueryParameter = {};
690
- setSearchParams(localVarUrlObj, localVarQueryParameter);
691
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
692
- localVarRequestOptions.headers = {
693
- ...localVarHeaderParameter,
694
- ...headersFromBaseOptions,
695
- ...options.headers,
696
- };
697
- return {
698
- url: toPathString(localVarUrlObj),
699
- options: localVarRequestOptions,
700
- };
701
- },
702
- /**
703
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
704
- * @summary Get all users
705
- * @param {*} [options] Override http request option.
706
- * @throws {RequiredError}
707
- */
708
- getUsers: async (options = {}) => {
709
- const localVarPath = `/api/v1/auth/users`;
710
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
711
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
712
- let baseOptions;
713
- if (configuration) {
714
- baseOptions = configuration.baseOptions;
715
- }
716
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
717
- const localVarHeaderParameter = {};
718
- const localVarQueryParameter = {};
719
- setSearchParams(localVarUrlObj, localVarQueryParameter);
720
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
721
- localVarRequestOptions.headers = {
722
- ...localVarHeaderParameter,
723
- ...headersFromBaseOptions,
724
- ...options.headers,
725
- };
726
- return {
727
- url: toPathString(localVarUrlObj),
728
- options: localVarRequestOptions,
729
- };
730
- },
731
- /**
732
- * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
733
- * @summary Invite User
734
- * @param {Invitation} invitation
735
- * @param {*} [options] Override http request option.
736
- * @throws {RequiredError}
737
- */
738
- processInvitation: async (invitation, options = {}) => {
739
- // verify required parameter 'invitation' is not null or undefined
740
- assertParamExists("processInvitation", "invitation", invitation);
741
- const localVarPath = `/api/v1/actions/invite`;
742
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
743
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
744
- let baseOptions;
745
- if (configuration) {
746
- baseOptions = configuration.baseOptions;
747
- }
748
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
749
- const localVarHeaderParameter = {};
750
- const localVarQueryParameter = {};
751
- localVarHeaderParameter["Content-Type"] = "application/json";
752
- setSearchParams(localVarUrlObj, localVarQueryParameter);
753
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
754
- localVarRequestOptions.headers = {
755
- ...localVarHeaderParameter,
756
- ...headersFromBaseOptions,
757
- ...options.headers,
758
- };
759
- const needsSerialization = typeof invitation !== "string" ||
760
- localVarRequestOptions.headers["Content-Type"] === "application/json";
761
- localVarRequestOptions.data = needsSerialization
762
- ? JSON.stringify(invitation !== undefined ? invitation : {})
763
- : invitation || "";
764
- return {
765
- url: toPathString(localVarUrlObj),
766
- options: localVarRequestOptions,
767
- };
768
- },
769
- /**
770
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
771
- * @summary Update a user
772
- * @param {string} userEmail
773
- * @param {AuthUser} authUser
774
- * @param {*} [options] Override http request option.
775
- * @throws {RequiredError}
776
- */
777
- updateUser: async (userEmail, authUser, options = {}) => {
778
- // verify required parameter 'userEmail' is not null or undefined
779
- assertParamExists("updateUser", "userEmail", userEmail);
780
- // verify required parameter 'authUser' is not null or undefined
781
- assertParamExists("updateUser", "authUser", authUser);
782
- const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
783
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
784
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
785
- let baseOptions;
786
- if (configuration) {
787
- baseOptions = configuration.baseOptions;
788
- }
789
- const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
790
- const localVarHeaderParameter = {};
791
- const localVarQueryParameter = {};
792
- localVarHeaderParameter["Content-Type"] = "application/json";
793
- setSearchParams(localVarUrlObj, localVarQueryParameter);
794
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
795
- localVarRequestOptions.headers = {
796
- ...localVarHeaderParameter,
797
- ...headersFromBaseOptions,
798
- ...options.headers,
799
- };
800
- const needsSerialization = typeof authUser !== "string" ||
801
- localVarRequestOptions.headers["Content-Type"] === "application/json";
802
- localVarRequestOptions.data = needsSerialization
803
- ? JSON.stringify(authUser !== undefined ? authUser : {})
804
- : authUser || "";
805
- return {
806
- url: toPathString(localVarUrlObj),
807
- options: localVarRequestOptions,
808
- };
809
- },
502
+ url: toPathString(localVarUrlObj),
503
+ options: localVarRequestOptions,
810
504
  };
811
- };
505
+ }
506
+ // UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
812
507
  /**
813
- * UserAuthorizationApi - functional programming interface
814
- * @export
508
+ * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
509
+ * @summary Delete a user
510
+ * @param {string} userEmail
511
+ * @param {*} [options] Override http request option.
512
+ * @param {Configuration} [configuration] Optional configuration.
513
+ * @throws {RequiredError}
815
514
  */
816
- export const UserAuthorizationApiFp = function (configuration) {
817
- const localVarAxiosParamCreator = UserAuthorizationApiAxiosParamCreator(configuration);
515
+ export async function UserAuthorizationApiAxiosParamCreator_DeleteUser(userEmail, options = {}, configuration) {
516
+ // verify required parameter 'userEmail' is not null or undefined
517
+ assertParamExists("deleteUser", "userEmail", userEmail);
518
+ const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
519
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
520
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
521
+ let baseOptions;
522
+ if (configuration) {
523
+ baseOptions = configuration.baseOptions;
524
+ }
525
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
526
+ const localVarHeaderParameter = {};
527
+ const localVarQueryParameter = {};
528
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
529
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
530
+ localVarRequestOptions.headers = {
531
+ ...localVarHeaderParameter,
532
+ ...headersFromBaseOptions,
533
+ ...options.headers,
534
+ };
818
535
  return {
819
- /**
820
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
821
- * @summary Create a user
822
- * @param {AuthUser} authUser
823
- * @param {*} [options] Override http request option.
824
- * @throws {RequiredError}
825
- */
826
- async createUser(authUser, options) {
827
- const localVarAxiosArgs = await localVarAxiosParamCreator.createUser(authUser, options);
828
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
829
- },
830
- /**
831
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
832
- * @summary Delete a user
833
- * @param {string} userEmail
834
- * @param {*} [options] Override http request option.
835
- * @throws {RequiredError}
836
- */
837
- async deleteUser(userEmail, options) {
838
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(userEmail, options);
839
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
840
- },
841
- /**
842
- * Returns a Profile including Organization and Current User Information.
843
- * @summary Get Profile
844
- * @param {*} [options] Override http request option.
845
- * @throws {RequiredError}
846
- */
847
- async getProfile(options) {
848
- const localVarAxiosArgs = await localVarAxiosParamCreator.getProfile(options);
849
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
850
- },
851
- /**
852
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
853
- * @summary Get a user
854
- * @param {string} userEmail
855
- * @param {*} [options] Override http request option.
856
- * @throws {RequiredError}
857
- */
858
- async getUser(userEmail, options) {
859
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(userEmail, options);
860
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
861
- },
862
- /**
863
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
864
- * @summary Get all users
865
- * @param {*} [options] Override http request option.
866
- * @throws {RequiredError}
867
- */
868
- async getUsers(options) {
869
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUsers(options);
870
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
871
- },
872
- /**
873
- * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
874
- * @summary Invite User
875
- * @param {Invitation} invitation
876
- * @param {*} [options] Override http request option.
877
- * @throws {RequiredError}
878
- */
879
- async processInvitation(invitation, options) {
880
- const localVarAxiosArgs = await localVarAxiosParamCreator.processInvitation(invitation, options);
881
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
882
- },
883
- /**
884
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
885
- * @summary Update a user
886
- * @param {string} userEmail
887
- * @param {AuthUser} authUser
888
- * @param {*} [options] Override http request option.
889
- * @throws {RequiredError}
890
- */
891
- async updateUser(userEmail, authUser, options) {
892
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(userEmail, authUser, options);
893
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
894
- },
536
+ url: toPathString(localVarUrlObj),
537
+ options: localVarRequestOptions,
895
538
  };
896
- };
539
+ }
540
+ // UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
897
541
  /**
898
- * UserAuthorizationApi - factory interface
899
- * @export
542
+ * Returns a Profile including Organization and Current User Information.
543
+ * @summary Get Profile
544
+ * @param {*} [options] Override http request option.
545
+ * @param {Configuration} [configuration] Optional configuration.
546
+ * @throws {RequiredError}
547
+ */
548
+ export async function UserAuthorizationApiAxiosParamCreator_GetProfile(options = {}, configuration) {
549
+ const localVarPath = `/api/v1/profile`;
550
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
551
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
552
+ let baseOptions;
553
+ if (configuration) {
554
+ baseOptions = configuration.baseOptions;
555
+ }
556
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
557
+ const localVarHeaderParameter = {};
558
+ const localVarQueryParameter = {};
559
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
560
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
561
+ localVarRequestOptions.headers = {
562
+ ...localVarHeaderParameter,
563
+ ...headersFromBaseOptions,
564
+ ...options.headers,
565
+ };
566
+ return {
567
+ url: toPathString(localVarUrlObj),
568
+ options: localVarRequestOptions,
569
+ };
570
+ }
571
+ // UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
572
+ /**
573
+ * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
574
+ * @summary Get a user
575
+ * @param {string} userEmail
576
+ * @param {*} [options] Override http request option.
577
+ * @param {Configuration} [configuration] Optional configuration.
578
+ * @throws {RequiredError}
579
+ */
580
+ export async function UserAuthorizationApiAxiosParamCreator_GetUser(userEmail, options = {}, configuration) {
581
+ // verify required parameter 'userEmail' is not null or undefined
582
+ assertParamExists("getUser", "userEmail", userEmail);
583
+ const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
584
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
585
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
586
+ let baseOptions;
587
+ if (configuration) {
588
+ baseOptions = configuration.baseOptions;
589
+ }
590
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
591
+ const localVarHeaderParameter = {};
592
+ const localVarQueryParameter = {};
593
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
594
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
595
+ localVarRequestOptions.headers = {
596
+ ...localVarHeaderParameter,
597
+ ...headersFromBaseOptions,
598
+ ...options.headers,
599
+ };
600
+ return {
601
+ url: toPathString(localVarUrlObj),
602
+ options: localVarRequestOptions,
603
+ };
604
+ }
605
+ // UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
606
+ /**
607
+ * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
608
+ * @summary Get all users
609
+ * @param {*} [options] Override http request option.
610
+ * @param {Configuration} [configuration] Optional configuration.
611
+ * @throws {RequiredError}
612
+ */
613
+ export async function UserAuthorizationApiAxiosParamCreator_GetUsers(options = {}, configuration) {
614
+ const localVarPath = `/api/v1/auth/users`;
615
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
616
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
617
+ let baseOptions;
618
+ if (configuration) {
619
+ baseOptions = configuration.baseOptions;
620
+ }
621
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
622
+ const localVarHeaderParameter = {};
623
+ const localVarQueryParameter = {};
624
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
625
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
626
+ localVarRequestOptions.headers = {
627
+ ...localVarHeaderParameter,
628
+ ...headersFromBaseOptions,
629
+ ...options.headers,
630
+ };
631
+ return {
632
+ url: toPathString(localVarUrlObj),
633
+ options: localVarRequestOptions,
634
+ };
635
+ }
636
+ // UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
637
+ /**
638
+ * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
639
+ * @summary Invite User
640
+ * @param {Invitation} invitation
641
+ * @param {*} [options] Override http request option.
642
+ * @param {Configuration} [configuration] Optional configuration.
643
+ * @throws {RequiredError}
900
644
  */
901
- export const UserAuthorizationApiFactory = function (configuration, basePath, axios) {
902
- const localVarFp = UserAuthorizationApiFp(configuration);
645
+ export async function UserAuthorizationApiAxiosParamCreator_ProcessInvitation(invitation, options = {}, configuration) {
646
+ // verify required parameter 'invitation' is not null or undefined
647
+ assertParamExists("processInvitation", "invitation", invitation);
648
+ const localVarPath = `/api/v1/actions/invite`;
649
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
650
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
651
+ let baseOptions;
652
+ if (configuration) {
653
+ baseOptions = configuration.baseOptions;
654
+ }
655
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
656
+ const localVarHeaderParameter = {};
657
+ const localVarQueryParameter = {};
658
+ localVarHeaderParameter["Content-Type"] = "application/json";
659
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
660
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
661
+ localVarRequestOptions.headers = {
662
+ ...localVarHeaderParameter,
663
+ ...headersFromBaseOptions,
664
+ ...options.headers,
665
+ };
666
+ const needsSerialization = typeof invitation !== "string" ||
667
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
668
+ localVarRequestOptions.data = needsSerialization
669
+ ? JSON.stringify(invitation !== undefined ? invitation : {})
670
+ : invitation || "";
671
+ return {
672
+ url: toPathString(localVarUrlObj),
673
+ options: localVarRequestOptions,
674
+ };
675
+ }
676
+ // UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
677
+ /**
678
+ * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
679
+ * @summary Update a user
680
+ * @param {string} userEmail
681
+ * @param {AuthUser} authUser
682
+ * @param {*} [options] Override http request option.
683
+ * @param {Configuration} [configuration] Optional configuration.
684
+ * @throws {RequiredError}
685
+ */
686
+ export async function UserAuthorizationApiAxiosParamCreator_UpdateUser(userEmail, authUser, options = {}, configuration) {
687
+ // verify required parameter 'userEmail' is not null or undefined
688
+ assertParamExists("updateUser", "userEmail", userEmail);
689
+ // verify required parameter 'authUser' is not null or undefined
690
+ assertParamExists("updateUser", "authUser", authUser);
691
+ const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
692
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
693
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
694
+ let baseOptions;
695
+ if (configuration) {
696
+ baseOptions = configuration.baseOptions;
697
+ }
698
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
699
+ const localVarHeaderParameter = {};
700
+ const localVarQueryParameter = {};
701
+ localVarHeaderParameter["Content-Type"] = "application/json";
702
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
703
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
704
+ localVarRequestOptions.headers = {
705
+ ...localVarHeaderParameter,
706
+ ...headersFromBaseOptions,
707
+ ...options.headers,
708
+ };
709
+ const needsSerialization = typeof authUser !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json";
710
+ localVarRequestOptions.data = needsSerialization
711
+ ? JSON.stringify(authUser !== undefined ? authUser : {})
712
+ : authUser || "";
903
713
  return {
904
- /**
905
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
906
- * @summary Create a user
907
- * @param {UserAuthorizationApiCreateUserRequest} requestParameters Request parameters.
908
- * @param {*} [options] Override http request option.
909
- * @throws {RequiredError}
910
- */
911
- createUser(requestParameters, options) {
912
- return localVarFp
913
- .createUser(requestParameters.authUser, options)
914
- .then((request) => request(axios, basePath));
915
- },
916
- /**
917
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
918
- * @summary Delete a user
919
- * @param {UserAuthorizationApiDeleteUserRequest} requestParameters Request parameters.
920
- * @param {*} [options] Override http request option.
921
- * @throws {RequiredError}
922
- */
923
- deleteUser(requestParameters, options) {
924
- return localVarFp
925
- .deleteUser(requestParameters.userEmail, options)
926
- .then((request) => request(axios, basePath));
927
- },
928
- /**
929
- * Returns a Profile including Organization and Current User Information.
930
- * @summary Get Profile
931
- * @param {*} [options] Override http request option.
932
- * @throws {RequiredError}
933
- */
934
- getProfile(options) {
935
- return localVarFp.getProfile(options).then((request) => request(axios, basePath));
936
- },
937
- /**
938
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
939
- * @summary Get a user
940
- * @param {UserAuthorizationApiGetUserRequest} requestParameters Request parameters.
941
- * @param {*} [options] Override http request option.
942
- * @throws {RequiredError}
943
- */
944
- getUser(requestParameters, options) {
945
- return localVarFp
946
- .getUser(requestParameters.userEmail, options)
947
- .then((request) => request(axios, basePath));
948
- },
949
- /**
950
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
951
- * @summary Get all users
952
- * @param {*} [options] Override http request option.
953
- * @throws {RequiredError}
954
- */
955
- getUsers(options) {
956
- return localVarFp.getUsers(options).then((request) => request(axios, basePath));
957
- },
958
- /**
959
- * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
960
- * @summary Invite User
961
- * @param {UserAuthorizationApiProcessInvitationRequest} requestParameters Request parameters.
962
- * @param {*} [options] Override http request option.
963
- * @throws {RequiredError}
964
- */
965
- processInvitation(requestParameters, options) {
966
- return localVarFp
967
- .processInvitation(requestParameters.invitation, options)
968
- .then((request) => request(axios, basePath));
969
- },
970
- /**
971
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
972
- * @summary Update a user
973
- * @param {UserAuthorizationApiUpdateUserRequest} requestParameters Request parameters.
974
- * @param {*} [options] Override http request option.
975
- * @throws {RequiredError}
976
- */
977
- updateUser(requestParameters, options) {
978
- return localVarFp
979
- .updateUser(requestParameters.userEmail, requestParameters.authUser, options)
980
- .then((request) => request(axios, basePath));
981
- },
714
+ url: toPathString(localVarUrlObj),
715
+ options: localVarRequestOptions,
982
716
  };
983
- };
717
+ }
718
+ // UserAuthorizationApi Api FP
719
+ /**
720
+ * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
721
+ * @summary Create a user
722
+ * @param {AxiosInstance} axios Axios instance.
723
+ * @param {string} basePath Base path.
724
+ * @param {UserAuthorizationApiCreateUserRequest} requestParameters Request parameters.
725
+ * @param {*} [options] Override http request option.
726
+ * @param {Configuration} [configuration] Optional configuration.
727
+ * @throws {RequiredError}
728
+ */
729
+ export async function UserAuthorizationApi_CreateUser(axios, basePath, requestParameters, options, configuration) {
730
+ const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_CreateUser(requestParameters.authUser, options || {}, configuration);
731
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
732
+ }
733
+ // UserAuthorizationApi Api FP
734
+ /**
735
+ * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
736
+ * @summary Delete a user
737
+ * @param {AxiosInstance} axios Axios instance.
738
+ * @param {string} basePath Base path.
739
+ * @param {UserAuthorizationApiDeleteUserRequest} requestParameters Request parameters.
740
+ * @param {*} [options] Override http request option.
741
+ * @param {Configuration} [configuration] Optional configuration.
742
+ * @throws {RequiredError}
743
+ */
744
+ export async function UserAuthorizationApi_DeleteUser(axios, basePath, requestParameters, options, configuration) {
745
+ const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_DeleteUser(requestParameters.userEmail, options || {}, configuration);
746
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
747
+ }
748
+ // UserAuthorizationApi Api FP
749
+ /**
750
+ * Returns a Profile including Organization and Current User Information.
751
+ * @summary Get Profile
752
+ * @param {AxiosInstance} axios Axios instance.
753
+ * @param {string} basePath Base path.
754
+ * @param {*} [options] Override http request option.
755
+ * @param {Configuration} [configuration] Optional configuration.
756
+ * @throws {RequiredError}
757
+ */
758
+ export async function UserAuthorizationApi_GetProfile(axios, basePath, options, configuration) {
759
+ const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_GetProfile(options || {}, configuration);
760
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
761
+ }
762
+ // UserAuthorizationApi Api FP
763
+ /**
764
+ * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
765
+ * @summary Get a user
766
+ * @param {AxiosInstance} axios Axios instance.
767
+ * @param {string} basePath Base path.
768
+ * @param {UserAuthorizationApiGetUserRequest} requestParameters Request parameters.
769
+ * @param {*} [options] Override http request option.
770
+ * @param {Configuration} [configuration] Optional configuration.
771
+ * @throws {RequiredError}
772
+ */
773
+ export async function UserAuthorizationApi_GetUser(axios, basePath, requestParameters, options, configuration) {
774
+ const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_GetUser(requestParameters.userEmail, options || {}, configuration);
775
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
776
+ }
777
+ // UserAuthorizationApi Api FP
778
+ /**
779
+ * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
780
+ * @summary Get all users
781
+ * @param {AxiosInstance} axios Axios instance.
782
+ * @param {string} basePath Base path.
783
+ * @param {*} [options] Override http request option.
784
+ * @param {Configuration} [configuration] Optional configuration.
785
+ * @throws {RequiredError}
786
+ */
787
+ export async function UserAuthorizationApi_GetUsers(axios, basePath, options, configuration) {
788
+ const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_GetUsers(options || {}, configuration);
789
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
790
+ }
791
+ // UserAuthorizationApi Api FP
792
+ /**
793
+ * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
794
+ * @summary Invite User
795
+ * @param {AxiosInstance} axios Axios instance.
796
+ * @param {string} basePath Base path.
797
+ * @param {UserAuthorizationApiProcessInvitationRequest} requestParameters Request parameters.
798
+ * @param {*} [options] Override http request option.
799
+ * @param {Configuration} [configuration] Optional configuration.
800
+ * @throws {RequiredError}
801
+ */
802
+ export async function UserAuthorizationApi_ProcessInvitation(axios, basePath, requestParameters, options, configuration) {
803
+ const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_ProcessInvitation(requestParameters.invitation, options || {}, configuration);
804
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
805
+ }
806
+ // UserAuthorizationApi Api FP
807
+ /**
808
+ * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
809
+ * @summary Update a user
810
+ * @param {AxiosInstance} axios Axios instance.
811
+ * @param {string} basePath Base path.
812
+ * @param {UserAuthorizationApiUpdateUserRequest} requestParameters Request parameters.
813
+ * @param {*} [options] Override http request option.
814
+ * @param {Configuration} [configuration] Optional configuration.
815
+ * @throws {RequiredError}
816
+ */
817
+ export async function UserAuthorizationApi_UpdateUser(axios, basePath, requestParameters, options, configuration) {
818
+ const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_UpdateUser(requestParameters.userEmail, requestParameters.authUser, options || {}, configuration);
819
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
820
+ }
984
821
  /**
985
822
  * UserAuthorizationApi - object-oriented interface
986
823
  * @export
@@ -997,9 +834,7 @@ export class UserAuthorizationApi extends BaseAPI {
997
834
  * @memberof UserAuthorizationApi
998
835
  */
999
836
  createUser(requestParameters, options) {
1000
- return UserAuthorizationApiFp(this.configuration)
1001
- .createUser(requestParameters.authUser, options)
1002
- .then((request) => request(this.axios, this.basePath));
837
+ return UserAuthorizationApi_CreateUser(this.axios, this.basePath, requestParameters, options, this.configuration);
1003
838
  }
1004
839
  /**
1005
840
  * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
@@ -1010,9 +845,7 @@ export class UserAuthorizationApi extends BaseAPI {
1010
845
  * @memberof UserAuthorizationApi
1011
846
  */
1012
847
  deleteUser(requestParameters, options) {
1013
- return UserAuthorizationApiFp(this.configuration)
1014
- .deleteUser(requestParameters.userEmail, options)
1015
- .then((request) => request(this.axios, this.basePath));
848
+ return UserAuthorizationApi_DeleteUser(this.axios, this.basePath, requestParameters, options, this.configuration);
1016
849
  }
1017
850
  /**
1018
851
  * Returns a Profile including Organization and Current User Information.
@@ -1022,9 +855,7 @@ export class UserAuthorizationApi extends BaseAPI {
1022
855
  * @memberof UserAuthorizationApi
1023
856
  */
1024
857
  getProfile(options) {
1025
- return UserAuthorizationApiFp(this.configuration)
1026
- .getProfile(options)
1027
- .then((request) => request(this.axios, this.basePath));
858
+ return UserAuthorizationApi_GetProfile(this.axios, this.basePath, options, this.configuration);
1028
859
  }
1029
860
  /**
1030
861
  * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
@@ -1035,9 +866,7 @@ export class UserAuthorizationApi extends BaseAPI {
1035
866
  * @memberof UserAuthorizationApi
1036
867
  */
1037
868
  getUser(requestParameters, options) {
1038
- return UserAuthorizationApiFp(this.configuration)
1039
- .getUser(requestParameters.userEmail, options)
1040
- .then((request) => request(this.axios, this.basePath));
869
+ return UserAuthorizationApi_GetUser(this.axios, this.basePath, requestParameters, options, this.configuration);
1041
870
  }
1042
871
  /**
1043
872
  * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
@@ -1047,9 +876,7 @@ export class UserAuthorizationApi extends BaseAPI {
1047
876
  * @memberof UserAuthorizationApi
1048
877
  */
1049
878
  getUsers(options) {
1050
- return UserAuthorizationApiFp(this.configuration)
1051
- .getUsers(options)
1052
- .then((request) => request(this.axios, this.basePath));
879
+ return UserAuthorizationApi_GetUsers(this.axios, this.basePath, options, this.configuration);
1053
880
  }
1054
881
  /**
1055
882
  * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
@@ -1060,9 +887,7 @@ export class UserAuthorizationApi extends BaseAPI {
1060
887
  * @memberof UserAuthorizationApi
1061
888
  */
1062
889
  processInvitation(requestParameters, options) {
1063
- return UserAuthorizationApiFp(this.configuration)
1064
- .processInvitation(requestParameters.invitation, options)
1065
- .then((request) => request(this.axios, this.basePath));
890
+ return UserAuthorizationApi_ProcessInvitation(this.axios, this.basePath, requestParameters, options, this.configuration);
1066
891
  }
1067
892
  /**
1068
893
  * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
@@ -1073,9 +898,7 @@ export class UserAuthorizationApi extends BaseAPI {
1073
898
  * @memberof UserAuthorizationApi
1074
899
  */
1075
900
  updateUser(requestParameters, options) {
1076
- return UserAuthorizationApiFp(this.configuration)
1077
- .updateUser(requestParameters.userEmail, requestParameters.authUser, options)
1078
- .then((request) => request(this.axios, this.basePath));
901
+ return UserAuthorizationApi_UpdateUser(this.axios, this.basePath, requestParameters, options, this.configuration);
1079
902
  }
1080
903
  }
1081
904
  //# sourceMappingURL=api.js.map