@emilgroup/accounting-sdk-node 1.20.1-beta.1 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/.openapi-generator/FILES +52 -29
  2. package/README.md +2 -2
  3. package/api/health-api.ts +7 -7
  4. package/api/mailbox-api.ts +255 -0
  5. package/api/messages-api.ts +1100 -0
  6. package/api/users-api.ts +496 -0
  7. package/api/vbas-api.ts +592 -0
  8. package/api/vbus-api.ts +701 -0
  9. package/api/{booking-entries-api.ts → zip-codes-api.ts} +162 -195
  10. package/api.ts +14 -12
  11. package/base.ts +3 -3
  12. package/common.ts +4 -4
  13. package/configuration.ts +2 -2
  14. package/dist/api/health-api.d.ts +6 -6
  15. package/dist/api/health-api.js +7 -7
  16. package/dist/api/mailbox-api.d.ts +142 -0
  17. package/dist/api/mailbox-api.js +315 -0
  18. package/dist/api/messages-api.d.ts +632 -0
  19. package/dist/api/messages-api.js +916 -0
  20. package/dist/api/users-api.d.ts +275 -0
  21. package/dist/api/{financial-accounts-api.js → users-api.js} +134 -171
  22. package/dist/api/vbas-api.d.ts +337 -0
  23. package/dist/api/{number-ranges-api.js → vbas-api.js} +161 -156
  24. package/dist/api/vbus-api.d.ts +395 -0
  25. package/dist/api/{personal-accounts-api.js → vbus-api.js} +234 -136
  26. package/dist/api/{booking-entries-api.d.ts → zip-codes-api.d.ts} +111 -130
  27. package/dist/api/{booking-entries-api.js → zip-codes-api.js} +130 -144
  28. package/dist/api.d.ts +8 -7
  29. package/dist/api.js +8 -7
  30. package/dist/base.d.ts +2 -2
  31. package/dist/base.js +2 -2
  32. package/dist/common.d.ts +4 -4
  33. package/dist/common.js +2 -2
  34. package/dist/configuration.d.ts +2 -2
  35. package/dist/configuration.js +2 -2
  36. package/dist/index.d.ts +2 -2
  37. package/dist/index.js +2 -2
  38. package/dist/models/address-class.d.ts +48 -0
  39. package/dist/models/{create-number-range-response-class.js → address-class.js} +2 -2
  40. package/dist/models/create-mailbox-request-dto.d.ts +36 -0
  41. package/dist/models/{create-booking-entry-request-dto.js → create-mailbox-request-dto.js} +2 -2
  42. package/dist/models/create-user-request-dto.d.ts +76 -0
  43. package/dist/models/{create-personal-account-request-dto.js → create-user-request-dto.js} +10 -7
  44. package/dist/models/create-user-response-class.d.ts +25 -0
  45. package/dist/models/{create-financial-account-response-class.js → create-user-response-class.js} +2 -2
  46. package/dist/models/create-vba-request-dto.d.ts +41 -0
  47. package/dist/models/create-vba-request-dto.js +20 -0
  48. package/dist/models/create-vba-response-class.d.ts +24 -0
  49. package/dist/models/{create-booking-entry-response-class.js → create-vba-response-class.js} +2 -2
  50. package/dist/models/create-vbu-request-dto.d.ts +41 -0
  51. package/dist/models/create-vbu-request-dto.js +20 -0
  52. package/dist/models/create-vbu-response-class.d.ts +24 -0
  53. package/dist/models/create-vbu-response-class.js +15 -0
  54. package/dist/models/create-vbuv-request-dto.d.ts +41 -0
  55. package/dist/models/create-vbuv-request-dto.js +20 -0
  56. package/dist/models/create-vbuv-response-class.d.ts +24 -0
  57. package/dist/models/create-vbuv-response-class.js +15 -0
  58. package/dist/models/get-request-message-response-class.d.ts +25 -0
  59. package/dist/models/get-request-message-response-class.js +15 -0
  60. package/dist/models/get-response-message-response-class.d.ts +25 -0
  61. package/dist/models/get-response-message-response-class.js +15 -0
  62. package/dist/models/get-user-response-class.d.ts +25 -0
  63. package/dist/models/get-user-response-class.js +15 -0
  64. package/dist/models/get-vba-response-class.d.ts +25 -0
  65. package/dist/models/get-vba-response-class.js +15 -0
  66. package/dist/models/get-vbu-response-class.d.ts +25 -0
  67. package/dist/models/get-vbu-response-class.js +15 -0
  68. package/dist/models/get-zip-code-response-class.d.ts +25 -0
  69. package/dist/models/get-zip-code-response-class.js +15 -0
  70. package/dist/models/index.d.ts +46 -24
  71. package/dist/models/index.js +46 -24
  72. package/dist/models/inline-response200.d.ts +2 -2
  73. package/dist/models/inline-response200.js +2 -2
  74. package/dist/models/inline-response503.d.ts +2 -2
  75. package/dist/models/inline-response503.js +2 -2
  76. package/dist/models/list-all-messages-response-class.d.ts +31 -0
  77. package/dist/models/list-all-messages-response-class.js +15 -0
  78. package/dist/models/list-requests-messages-response-class.d.ts +31 -0
  79. package/dist/models/list-requests-messages-response-class.js +15 -0
  80. package/dist/models/list-responses-messages-response-class.d.ts +31 -0
  81. package/dist/models/list-responses-messages-response-class.js +15 -0
  82. package/dist/models/list-users-response-class.d.ts +31 -0
  83. package/dist/models/list-users-response-class.js +15 -0
  84. package/dist/models/list-vbas-response-class.d.ts +31 -0
  85. package/dist/models/list-vbas-response-class.js +15 -0
  86. package/dist/models/list-vbus-response-class.d.ts +31 -0
  87. package/dist/models/list-vbus-response-class.js +15 -0
  88. package/dist/models/list-zip-codes-response-class.d.ts +31 -0
  89. package/dist/models/list-zip-codes-response-class.js +15 -0
  90. package/dist/models/message-class.d.ts +90 -0
  91. package/dist/models/message-class.js +15 -0
  92. package/dist/models/request-details-class.d.ts +48 -0
  93. package/dist/models/request-details-class.js +15 -0
  94. package/dist/models/request-message-class.d.ts +127 -0
  95. package/dist/models/request-message-class.js +15 -0
  96. package/dist/models/response-details-class.d.ts +42 -0
  97. package/dist/models/response-details-class.js +15 -0
  98. package/dist/models/response-message-class.d.ts +139 -0
  99. package/dist/models/response-message-class.js +15 -0
  100. package/dist/models/store-zip-codes-request-dto.d.ts +25 -0
  101. package/dist/models/store-zip-codes-request-dto.js +15 -0
  102. package/dist/models/store-zip-codes-response-class.d.ts +25 -0
  103. package/dist/models/store-zip-codes-response-class.js +15 -0
  104. package/dist/models/update-request-message-request-dto.d.ts +36 -0
  105. package/dist/models/update-request-message-request-dto.js +15 -0
  106. package/dist/models/update-request-message-response-class.d.ts +25 -0
  107. package/dist/models/update-request-message-response-class.js +15 -0
  108. package/dist/models/update-response-message-request-dto.d.ts +36 -0
  109. package/dist/models/update-response-message-request-dto.js +15 -0
  110. package/dist/models/update-response-message-response-class.d.ts +25 -0
  111. package/dist/models/update-response-message-response-class.js +15 -0
  112. package/dist/models/update-user-request-dto.d.ts +82 -0
  113. package/dist/models/update-user-request-dto.js +24 -0
  114. package/dist/models/update-user-response-class.d.ts +25 -0
  115. package/dist/models/update-user-response-class.js +15 -0
  116. package/dist/models/update-vba-request-dto.d.ts +30 -0
  117. package/dist/models/update-vba-request-dto.js +15 -0
  118. package/dist/models/update-vbu-request-dto.d.ts +30 -0
  119. package/dist/models/update-vbu-request-dto.js +15 -0
  120. package/dist/models/update-vbu-response-class.d.ts +25 -0
  121. package/dist/models/update-vbu-response-class.js +15 -0
  122. package/dist/models/user-class.d.ts +107 -0
  123. package/dist/models/user-class.js +20 -0
  124. package/dist/models/vba-class.d.ts +116 -0
  125. package/dist/models/vba-class.js +15 -0
  126. package/dist/models/vba-response-class.d.ts +48 -0
  127. package/dist/models/vba-response-class.js +15 -0
  128. package/dist/models/vbu-class.d.ts +115 -0
  129. package/dist/models/vbu-class.js +15 -0
  130. package/dist/models/vbu-response-class.d.ts +48 -0
  131. package/dist/models/vbu-response-class.js +15 -0
  132. package/dist/models/xlsx-zip-code-dto.d.ts +30 -0
  133. package/dist/models/xlsx-zip-code-dto.js +15 -0
  134. package/dist/models/zip-code-class.d.ts +60 -0
  135. package/dist/models/zip-code-class.js +15 -0
  136. package/index.ts +2 -2
  137. package/models/address-class.ts +54 -0
  138. package/models/create-mailbox-request-dto.ts +42 -0
  139. package/models/create-user-request-dto.ts +86 -0
  140. package/models/create-user-response-class.ts +31 -0
  141. package/models/create-vba-request-dto.ts +50 -0
  142. package/models/create-vba-response-class.ts +30 -0
  143. package/models/create-vbu-request-dto.ts +50 -0
  144. package/models/create-vbu-response-class.ts +30 -0
  145. package/models/create-vbuv-request-dto.ts +50 -0
  146. package/models/create-vbuv-response-class.ts +30 -0
  147. package/models/get-request-message-response-class.ts +31 -0
  148. package/models/get-response-message-response-class.ts +31 -0
  149. package/models/get-user-response-class.ts +31 -0
  150. package/models/get-vba-response-class.ts +31 -0
  151. package/models/get-vbu-response-class.ts +31 -0
  152. package/models/get-zip-code-response-class.ts +31 -0
  153. package/models/index.ts +46 -24
  154. package/models/inline-response200.ts +2 -2
  155. package/models/inline-response503.ts +2 -2
  156. package/models/list-all-messages-response-class.ts +37 -0
  157. package/models/list-requests-messages-response-class.ts +37 -0
  158. package/models/list-responses-messages-response-class.ts +37 -0
  159. package/models/list-users-response-class.ts +37 -0
  160. package/models/list-vbas-response-class.ts +37 -0
  161. package/models/list-vbus-response-class.ts +37 -0
  162. package/models/list-zip-codes-response-class.ts +37 -0
  163. package/models/message-class.ts +96 -0
  164. package/models/request-details-class.ts +54 -0
  165. package/models/request-message-class.ts +133 -0
  166. package/models/response-details-class.ts +48 -0
  167. package/models/response-message-class.ts +145 -0
  168. package/models/store-zip-codes-request-dto.ts +31 -0
  169. package/models/store-zip-codes-response-class.ts +31 -0
  170. package/models/update-request-message-request-dto.ts +42 -0
  171. package/models/update-request-message-response-class.ts +31 -0
  172. package/models/update-response-message-request-dto.ts +42 -0
  173. package/models/update-response-message-response-class.ts +31 -0
  174. package/models/update-user-request-dto.ts +92 -0
  175. package/models/update-user-response-class.ts +31 -0
  176. package/models/update-vba-request-dto.ts +36 -0
  177. package/models/update-vbu-request-dto.ts +36 -0
  178. package/models/update-vbu-response-class.ts +31 -0
  179. package/models/user-class.ts +116 -0
  180. package/models/vba-class.ts +122 -0
  181. package/models/vba-response-class.ts +54 -0
  182. package/models/vbu-class.ts +121 -0
  183. package/models/vbu-response-class.ts +54 -0
  184. package/models/xlsx-zip-code-dto.ts +36 -0
  185. package/models/zip-code-class.ts +66 -0
  186. package/package.json +1 -1
  187. package/tsconfig.json +1 -0
  188. package/api/financial-accounts-api.ts +0 -577
  189. package/api/financial-transactions-api.ts +0 -369
  190. package/api/number-ranges-api.ts +0 -577
  191. package/api/personal-accounts-api.ts +0 -577
  192. package/dist/api/financial-accounts-api.d.ts +0 -327
  193. package/dist/api/financial-transactions-api.d.ts +0 -215
  194. package/dist/api/financial-transactions-api.js +0 -364
  195. package/dist/api/number-ranges-api.d.ts +0 -327
  196. package/dist/api/personal-accounts-api.d.ts +0 -327
  197. package/dist/models/booking-entry-class.d.ts +0 -123
  198. package/dist/models/booking-entry-class.js +0 -29
  199. package/dist/models/create-booking-entry-request-dto.d.ts +0 -61
  200. package/dist/models/create-booking-entry-response-class.d.ts +0 -25
  201. package/dist/models/create-financial-account-request-dto.d.ts +0 -75
  202. package/dist/models/create-financial-account-request-dto.js +0 -24
  203. package/dist/models/create-financial-account-response-class.d.ts +0 -25
  204. package/dist/models/create-number-range-request-dto.d.ts +0 -53
  205. package/dist/models/create-number-range-request-dto.js +0 -26
  206. package/dist/models/create-number-range-response-class.d.ts +0 -25
  207. package/dist/models/create-personal-account-request-dto.d.ts +0 -60
  208. package/dist/models/create-personal-account-response-class.d.ts +0 -25
  209. package/dist/models/create-personal-account-response-class.js +0 -15
  210. package/dist/models/financial-account-class.d.ts +0 -111
  211. package/dist/models/financial-account-class.js +0 -24
  212. package/dist/models/financial-transaction-class.d.ts +0 -114
  213. package/dist/models/financial-transaction-class.js +0 -15
  214. package/dist/models/financial-transaction-data-dto.d.ts +0 -71
  215. package/dist/models/financial-transaction-data-dto.js +0 -25
  216. package/dist/models/get-booking-entry-response-class.d.ts +0 -25
  217. package/dist/models/get-booking-entry-response-class.js +0 -15
  218. package/dist/models/get-financial-account-response-class.d.ts +0 -25
  219. package/dist/models/get-financial-account-response-class.js +0 -15
  220. package/dist/models/get-financial-transaction-response-class.d.ts +0 -25
  221. package/dist/models/get-financial-transaction-response-class.js +0 -15
  222. package/dist/models/get-number-range-response-class.d.ts +0 -25
  223. package/dist/models/get-number-range-response-class.js +0 -15
  224. package/dist/models/get-personal-account-response-class.d.ts +0 -25
  225. package/dist/models/get-personal-account-response-class.js +0 -15
  226. package/dist/models/list-booking-entries-response-class.d.ts +0 -31
  227. package/dist/models/list-booking-entries-response-class.js +0 -15
  228. package/dist/models/list-financial-accounts-response-class.d.ts +0 -31
  229. package/dist/models/list-financial-accounts-response-class.js +0 -15
  230. package/dist/models/list-financial-transactions-response-class.d.ts +0 -31
  231. package/dist/models/list-financial-transactions-response-class.js +0 -15
  232. package/dist/models/list-number-range-response-class.d.ts +0 -31
  233. package/dist/models/list-number-range-response-class.js +0 -15
  234. package/dist/models/list-personal-accounts-response-class.d.ts +0 -31
  235. package/dist/models/list-personal-accounts-response-class.js +0 -15
  236. package/dist/models/number-range-class.d.ts +0 -84
  237. package/dist/models/number-range-class.js +0 -15
  238. package/dist/models/personal-account-class.d.ts +0 -105
  239. package/dist/models/personal-account-class.js +0 -24
  240. package/models/booking-entry-class.ts +0 -132
  241. package/models/create-booking-entry-request-dto.ts +0 -67
  242. package/models/create-booking-entry-response-class.ts +0 -31
  243. package/models/create-financial-account-request-dto.ts +0 -84
  244. package/models/create-financial-account-response-class.ts +0 -31
  245. package/models/create-number-range-request-dto.ts +0 -62
  246. package/models/create-number-range-response-class.ts +0 -31
  247. package/models/create-personal-account-request-dto.ts +0 -69
  248. package/models/create-personal-account-response-class.ts +0 -31
  249. package/models/financial-account-class.ts +0 -120
  250. package/models/financial-transaction-class.ts +0 -120
  251. package/models/financial-transaction-data-dto.ts +0 -81
  252. package/models/get-booking-entry-response-class.ts +0 -31
  253. package/models/get-financial-account-response-class.ts +0 -31
  254. package/models/get-financial-transaction-response-class.ts +0 -31
  255. package/models/get-number-range-response-class.ts +0 -31
  256. package/models/get-personal-account-response-class.ts +0 -31
  257. package/models/list-booking-entries-response-class.ts +0 -37
  258. package/models/list-financial-accounts-response-class.ts +0 -37
  259. package/models/list-financial-transactions-response-class.ts +0 -37
  260. package/models/list-number-range-response-class.ts +0 -37
  261. package/models/list-personal-accounts-response-class.ts +0 -37
  262. package/models/number-range-class.ts +0 -90
  263. package/models/personal-account-class.ts +0 -114
@@ -2,8 +2,8 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * EMIL AccountingService
6
- * The EMIL AccountingService API description
5
+ * EMIL GdvService
6
+ * The EMIL GdvService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
9
  * Contact: kontakt@emil.de
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.FinancialAccountsApi = exports.FinancialAccountsApiFactory = exports.FinancialAccountsApiFp = exports.FinancialAccountsApiAxiosParamCreator = void 0;
81
+ exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -90,30 +90,30 @@ var base_1 = require("../base");
90
90
  var url_1 = require("url");
91
91
  var FormData = require('form-data');
92
92
  /**
93
- * FinancialAccountsApi - axios parameter creator
93
+ * UsersApi - axios parameter creator
94
94
  * @export
95
95
  */
96
- var FinancialAccountsApiAxiosParamCreator = function (configuration) {
96
+ var UsersApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.accounts.create\"
101
- * @summary Create the Financial Account
102
- * @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
103
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
+ * Create a gdv tenant user. **Required Permissions** \"gdv-management.operations.create\"
101
+ * @summary Create the gdv tenant user
102
+ * @param {CreateUserRequestDto} createUserRequestDto
103
+ * @param {string} [authorization] Bearer Token
104
104
  * @param {*} [options] Override http request option.
105
105
  * @throws {RequiredError}
106
106
  */
107
- createFinancialAccount: function (createFinancialAccountRequestDto, authorization, options) {
107
+ createUser: function (createUserRequestDto, authorization, options) {
108
108
  if (options === void 0) { options = {}; }
109
109
  return __awaiter(_this, void 0, void 0, function () {
110
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
111
  return __generator(this, function (_a) {
112
112
  switch (_a.label) {
113
113
  case 0:
114
- // verify required parameter 'createFinancialAccountRequestDto' is not null or undefined
115
- (0, common_1.assertParamExists)('createFinancialAccount', 'createFinancialAccountRequestDto', createFinancialAccountRequestDto);
116
- localVarPath = "/accountingservice/v1/financial-accounts";
114
+ // verify required parameter 'createUserRequestDto' is not null or undefined
115
+ (0, common_1.assertParamExists)('createUser', 'createUserRequestDto', createUserRequestDto);
116
+ localVarPath = "/gdvservice/v1/users";
117
117
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
118
  if (configuration) {
119
119
  baseOptions = configuration.baseOptions;
@@ -136,7 +136,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
136
136
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
137
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
138
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createFinancialAccountRequestDto, localVarRequestOptions, configuration);
139
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createUserRequestDto, localVarRequestOptions, configuration);
140
140
  return [2 /*return*/, {
141
141
  url: (0, common_1.toPathString)(localVarUrlObj),
142
142
  options: localVarRequestOptions,
@@ -146,14 +146,15 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
150
- * @summary Delete the Financial Account
149
+ * Retrieves the details of the gdv tenant user that was previously created. Supply the unique gdv tenant user code that was returned when you created it and Emil Api will return the corresponding gdv tenant user information. **Required Permissions** \"gdv-management.operations.view\"
150
+ * @summary Retrieve the gdv tenant user
151
151
  * @param {string} code Unique identifier for the object.
152
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
152
+ * @param {string} [authorization] Bearer Token
153
+ * @param {string} [expand]
153
154
  * @param {*} [options] Override http request option.
154
155
  * @throws {RequiredError}
155
156
  */
156
- deleteFinancialAccount: function (code, authorization, options) {
157
+ getUser: function (code, authorization, expand, options) {
157
158
  if (options === void 0) { options = {}; }
158
159
  return __awaiter(_this, void 0, void 0, function () {
159
160
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -161,15 +162,15 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
161
162
  switch (_a.label) {
162
163
  case 0:
163
164
  // verify required parameter 'code' is not null or undefined
164
- (0, common_1.assertParamExists)('deleteFinancialAccount', 'code', code);
165
- localVarPath = "/accountingservice/v1/financial-accounts/{code}"
165
+ (0, common_1.assertParamExists)('getUser', 'code', code);
166
+ localVarPath = "/gdvservice/v1/users/{code}"
166
167
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
167
168
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
168
169
  if (configuration) {
169
170
  baseOptions = configuration.baseOptions;
170
171
  baseAccessToken = configuration.accessToken;
171
172
  }
172
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
173
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
173
174
  localVarHeaderParameter = {};
174
175
  localVarQueryParameter = {};
175
176
  // authentication bearer required
@@ -179,6 +180,9 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
179
180
  // authentication bearer required
180
181
  // http bearer authentication required
181
182
  _a.sent();
183
+ if (expand !== undefined) {
184
+ localVarQueryParameter['expand'] = expand;
185
+ }
182
186
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
183
187
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
184
188
  }
@@ -194,27 +198,20 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
194
198
  });
195
199
  },
196
200
  /**
197
- * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.accounts.view\"
198
- * @summary Retrieve the Financial Account
199
- * @param {string} code Unique identifier for the object.
200
- * @param {string} expand
201
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
201
+ * Returns a list of gdv tenant users you have previously created. The gdv tenant users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
202
+ * @summary List gdv tenant users
203
+ * @param {string} [authorization] Bearer Token
202
204
  * @param {*} [options] Override http request option.
203
205
  * @throws {RequiredError}
204
206
  */
205
- getFinancialAccount: function (code, expand, authorization, options) {
207
+ listUsers: function (authorization, options) {
206
208
  if (options === void 0) { options = {}; }
207
209
  return __awaiter(_this, void 0, void 0, function () {
208
210
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
209
211
  return __generator(this, function (_a) {
210
212
  switch (_a.label) {
211
213
  case 0:
212
- // verify required parameter 'code' is not null or undefined
213
- (0, common_1.assertParamExists)('getFinancialAccount', 'code', code);
214
- // verify required parameter 'expand' is not null or undefined
215
- (0, common_1.assertParamExists)('getFinancialAccount', 'expand', expand);
216
- localVarPath = "/accountingservice/v1/financial-accounts/{code}"
217
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
214
+ localVarPath = "/gdvservice/v1/users";
218
215
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
219
216
  if (configuration) {
220
217
  baseOptions = configuration.baseOptions;
@@ -230,9 +227,6 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
230
227
  // authentication bearer required
231
228
  // http bearer authentication required
232
229
  _a.sent();
233
- if (expand !== undefined) {
234
- localVarQueryParameter['expand'] = expand;
235
- }
236
230
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
237
231
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
238
232
  }
@@ -248,33 +242,33 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
248
242
  });
249
243
  },
250
244
  /**
251
- * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
252
- * @summary List Financial Accounts
253
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
255
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
256
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
257
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
258
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
259
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
260
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
245
+ * Updates the specified gdv tenant user by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
246
+ * @summary Update the gdv tenant user
247
+ * @param {string} code Unique identifier for the object.
248
+ * @param {UpdateUserRequestDto} updateUserRequestDto
249
+ * @param {string} [authorization] Bearer Token
261
250
  * @param {*} [options] Override http request option.
262
251
  * @throws {RequiredError}
263
252
  */
264
- listFinancialAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
253
+ updateUser: function (code, updateUserRequestDto, authorization, options) {
265
254
  if (options === void 0) { options = {}; }
266
255
  return __awaiter(_this, void 0, void 0, function () {
267
256
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
268
257
  return __generator(this, function (_a) {
269
258
  switch (_a.label) {
270
259
  case 0:
271
- localVarPath = "/accountingservice/v1/financial-accounts";
260
+ // verify required parameter 'code' is not null or undefined
261
+ (0, common_1.assertParamExists)('updateUser', 'code', code);
262
+ // verify required parameter 'updateUserRequestDto' is not null or undefined
263
+ (0, common_1.assertParamExists)('updateUser', 'updateUserRequestDto', updateUserRequestDto);
264
+ localVarPath = "/gdvservice/v1/users/{code}"
265
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
272
266
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
273
267
  if (configuration) {
274
268
  baseOptions = configuration.baseOptions;
275
269
  baseAccessToken = configuration.accessToken;
276
270
  }
277
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
271
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
278
272
  localVarHeaderParameter = {};
279
273
  localVarQueryParameter = {};
280
274
  // authentication bearer required
@@ -284,33 +278,14 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
284
278
  // authentication bearer required
285
279
  // http bearer authentication required
286
280
  _a.sent();
287
- if (pageSize !== undefined) {
288
- localVarQueryParameter['pageSize'] = pageSize;
289
- }
290
- if (pageToken !== undefined) {
291
- localVarQueryParameter['pageToken'] = pageToken;
292
- }
293
- if (filter !== undefined) {
294
- localVarQueryParameter['filter'] = filter;
295
- }
296
- if (search !== undefined) {
297
- localVarQueryParameter['search'] = search;
298
- }
299
- if (order !== undefined) {
300
- localVarQueryParameter['order'] = order;
301
- }
302
- if (expand !== undefined) {
303
- localVarQueryParameter['expand'] = expand;
304
- }
305
- if (filters !== undefined) {
306
- localVarQueryParameter['filters'] = filters;
307
- }
308
281
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
309
282
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
310
283
  }
284
+ localVarHeaderParameter['Content-Type'] = 'application/json';
311
285
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
312
286
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
313
287
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
288
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateUserRequestDto, localVarRequestOptions, configuration);
314
289
  return [2 /*return*/, {
315
290
  url: (0, common_1.toPathString)(localVarUrlObj),
316
291
  options: localVarRequestOptions,
@@ -321,28 +296,28 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
321
296
  },
322
297
  };
323
298
  };
324
- exports.FinancialAccountsApiAxiosParamCreator = FinancialAccountsApiAxiosParamCreator;
299
+ exports.UsersApiAxiosParamCreator = UsersApiAxiosParamCreator;
325
300
  /**
326
- * FinancialAccountsApi - functional programming interface
301
+ * UsersApi - functional programming interface
327
302
  * @export
328
303
  */
329
- var FinancialAccountsApiFp = function (configuration) {
330
- var localVarAxiosParamCreator = (0, exports.FinancialAccountsApiAxiosParamCreator)(configuration);
304
+ var UsersApiFp = function (configuration) {
305
+ var localVarAxiosParamCreator = (0, exports.UsersApiAxiosParamCreator)(configuration);
331
306
  return {
332
307
  /**
333
- * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.accounts.create\"
334
- * @summary Create the Financial Account
335
- * @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
336
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
308
+ * Create a gdv tenant user. **Required Permissions** \"gdv-management.operations.create\"
309
+ * @summary Create the gdv tenant user
310
+ * @param {CreateUserRequestDto} createUserRequestDto
311
+ * @param {string} [authorization] Bearer Token
337
312
  * @param {*} [options] Override http request option.
338
313
  * @throws {RequiredError}
339
314
  */
340
- createFinancialAccount: function (createFinancialAccountRequestDto, authorization, options) {
315
+ createUser: function (createUserRequestDto, authorization, options) {
341
316
  return __awaiter(this, void 0, void 0, function () {
342
317
  var localVarAxiosArgs;
343
318
  return __generator(this, function (_a) {
344
319
  switch (_a.label) {
345
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createFinancialAccount(createFinancialAccountRequestDto, authorization, options)];
320
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createUser(createUserRequestDto, authorization, options)];
346
321
  case 1:
347
322
  localVarAxiosArgs = _a.sent();
348
323
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -351,19 +326,20 @@ var FinancialAccountsApiFp = function (configuration) {
351
326
  });
352
327
  },
353
328
  /**
354
- * Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
355
- * @summary Delete the Financial Account
329
+ * Retrieves the details of the gdv tenant user that was previously created. Supply the unique gdv tenant user code that was returned when you created it and Emil Api will return the corresponding gdv tenant user information. **Required Permissions** \"gdv-management.operations.view\"
330
+ * @summary Retrieve the gdv tenant user
356
331
  * @param {string} code Unique identifier for the object.
357
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
332
+ * @param {string} [authorization] Bearer Token
333
+ * @param {string} [expand]
358
334
  * @param {*} [options] Override http request option.
359
335
  * @throws {RequiredError}
360
336
  */
361
- deleteFinancialAccount: function (code, authorization, options) {
337
+ getUser: function (code, authorization, expand, options) {
362
338
  return __awaiter(this, void 0, void 0, function () {
363
339
  var localVarAxiosArgs;
364
340
  return __generator(this, function (_a) {
365
341
  switch (_a.label) {
366
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteFinancialAccount(code, authorization, options)];
342
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUser(code, authorization, expand, options)];
367
343
  case 1:
368
344
  localVarAxiosArgs = _a.sent();
369
345
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -372,20 +348,18 @@ var FinancialAccountsApiFp = function (configuration) {
372
348
  });
373
349
  },
374
350
  /**
375
- * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.accounts.view\"
376
- * @summary Retrieve the Financial Account
377
- * @param {string} code Unique identifier for the object.
378
- * @param {string} expand
379
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
351
+ * Returns a list of gdv tenant users you have previously created. The gdv tenant users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
352
+ * @summary List gdv tenant users
353
+ * @param {string} [authorization] Bearer Token
380
354
  * @param {*} [options] Override http request option.
381
355
  * @throws {RequiredError}
382
356
  */
383
- getFinancialAccount: function (code, expand, authorization, options) {
357
+ listUsers: function (authorization, options) {
384
358
  return __awaiter(this, void 0, void 0, function () {
385
359
  var localVarAxiosArgs;
386
360
  return __generator(this, function (_a) {
387
361
  switch (_a.label) {
388
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFinancialAccount(code, expand, authorization, options)];
362
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listUsers(authorization, options)];
389
363
  case 1:
390
364
  localVarAxiosArgs = _a.sent();
391
365
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -394,25 +368,20 @@ var FinancialAccountsApiFp = function (configuration) {
394
368
  });
395
369
  },
396
370
  /**
397
- * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
398
- * @summary List Financial Accounts
399
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
400
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
401
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
402
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
403
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
404
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
405
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
406
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
371
+ * Updates the specified gdv tenant user by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
372
+ * @summary Update the gdv tenant user
373
+ * @param {string} code Unique identifier for the object.
374
+ * @param {UpdateUserRequestDto} updateUserRequestDto
375
+ * @param {string} [authorization] Bearer Token
407
376
  * @param {*} [options] Override http request option.
408
377
  * @throws {RequiredError}
409
378
  */
410
- listFinancialAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
379
+ updateUser: function (code, updateUserRequestDto, authorization, options) {
411
380
  return __awaiter(this, void 0, void 0, function () {
412
381
  var localVarAxiosArgs;
413
382
  return __generator(this, function (_a) {
414
383
  switch (_a.label) {
415
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listFinancialAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
384
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateUser(code, updateUserRequestDto, authorization, options)];
416
385
  case 1:
417
386
  localVarAxiosArgs = _a.sent();
418
387
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -422,128 +391,122 @@ var FinancialAccountsApiFp = function (configuration) {
422
391
  },
423
392
  };
424
393
  };
425
- exports.FinancialAccountsApiFp = FinancialAccountsApiFp;
394
+ exports.UsersApiFp = UsersApiFp;
426
395
  /**
427
- * FinancialAccountsApi - factory interface
396
+ * UsersApi - factory interface
428
397
  * @export
429
398
  */
430
- var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
431
- var localVarFp = (0, exports.FinancialAccountsApiFp)(configuration);
399
+ var UsersApiFactory = function (configuration, basePath, axios) {
400
+ var localVarFp = (0, exports.UsersApiFp)(configuration);
432
401
  return {
433
402
  /**
434
- * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.accounts.create\"
435
- * @summary Create the Financial Account
436
- * @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
437
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
403
+ * Create a gdv tenant user. **Required Permissions** \"gdv-management.operations.create\"
404
+ * @summary Create the gdv tenant user
405
+ * @param {CreateUserRequestDto} createUserRequestDto
406
+ * @param {string} [authorization] Bearer Token
438
407
  * @param {*} [options] Override http request option.
439
408
  * @throws {RequiredError}
440
409
  */
441
- createFinancialAccount: function (createFinancialAccountRequestDto, authorization, options) {
442
- return localVarFp.createFinancialAccount(createFinancialAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
410
+ createUser: function (createUserRequestDto, authorization, options) {
411
+ return localVarFp.createUser(createUserRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
443
412
  },
444
413
  /**
445
- * Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
446
- * @summary Delete the Financial Account
414
+ * Retrieves the details of the gdv tenant user that was previously created. Supply the unique gdv tenant user code that was returned when you created it and Emil Api will return the corresponding gdv tenant user information. **Required Permissions** \"gdv-management.operations.view\"
415
+ * @summary Retrieve the gdv tenant user
447
416
  * @param {string} code Unique identifier for the object.
448
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
417
+ * @param {string} [authorization] Bearer Token
418
+ * @param {string} [expand]
449
419
  * @param {*} [options] Override http request option.
450
420
  * @throws {RequiredError}
451
421
  */
452
- deleteFinancialAccount: function (code, authorization, options) {
453
- return localVarFp.deleteFinancialAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
422
+ getUser: function (code, authorization, expand, options) {
423
+ return localVarFp.getUser(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
454
424
  },
455
425
  /**
456
- * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.accounts.view\"
457
- * @summary Retrieve the Financial Account
458
- * @param {string} code Unique identifier for the object.
459
- * @param {string} expand
460
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
426
+ * Returns a list of gdv tenant users you have previously created. The gdv tenant users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
427
+ * @summary List gdv tenant users
428
+ * @param {string} [authorization] Bearer Token
461
429
  * @param {*} [options] Override http request option.
462
430
  * @throws {RequiredError}
463
431
  */
464
- getFinancialAccount: function (code, expand, authorization, options) {
465
- return localVarFp.getFinancialAccount(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
432
+ listUsers: function (authorization, options) {
433
+ return localVarFp.listUsers(authorization, options).then(function (request) { return request(axios, basePath); });
466
434
  },
467
435
  /**
468
- * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
469
- * @summary List Financial Accounts
470
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
471
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
472
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
473
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
474
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
475
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
476
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
477
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
436
+ * Updates the specified gdv tenant user by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
437
+ * @summary Update the gdv tenant user
438
+ * @param {string} code Unique identifier for the object.
439
+ * @param {UpdateUserRequestDto} updateUserRequestDto
440
+ * @param {string} [authorization] Bearer Token
478
441
  * @param {*} [options] Override http request option.
479
442
  * @throws {RequiredError}
480
443
  */
481
- listFinancialAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
482
- return localVarFp.listFinancialAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
444
+ updateUser: function (code, updateUserRequestDto, authorization, options) {
445
+ return localVarFp.updateUser(code, updateUserRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
483
446
  },
484
447
  };
485
448
  };
486
- exports.FinancialAccountsApiFactory = FinancialAccountsApiFactory;
449
+ exports.UsersApiFactory = UsersApiFactory;
487
450
  /**
488
- * FinancialAccountsApi - object-oriented interface
451
+ * UsersApi - object-oriented interface
489
452
  * @export
490
- * @class FinancialAccountsApi
453
+ * @class UsersApi
491
454
  * @extends {BaseAPI}
492
455
  */
493
- var FinancialAccountsApi = /** @class */ (function (_super) {
494
- __extends(FinancialAccountsApi, _super);
495
- function FinancialAccountsApi() {
456
+ var UsersApi = /** @class */ (function (_super) {
457
+ __extends(UsersApi, _super);
458
+ function UsersApi() {
496
459
  return _super !== null && _super.apply(this, arguments) || this;
497
460
  }
498
461
  /**
499
- * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.accounts.create\"
500
- * @summary Create the Financial Account
501
- * @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
462
+ * Create a gdv tenant user. **Required Permissions** \"gdv-management.operations.create\"
463
+ * @summary Create the gdv tenant user
464
+ * @param {UsersApiCreateUserRequest} requestParameters Request parameters.
502
465
  * @param {*} [options] Override http request option.
503
466
  * @throws {RequiredError}
504
- * @memberof FinancialAccountsApi
467
+ * @memberof UsersApi
505
468
  */
506
- FinancialAccountsApi.prototype.createFinancialAccount = function (requestParameters, options) {
469
+ UsersApi.prototype.createUser = function (requestParameters, options) {
507
470
  var _this = this;
508
- return (0, exports.FinancialAccountsApiFp)(this.configuration).createFinancialAccount(requestParameters.createFinancialAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
471
+ return (0, exports.UsersApiFp)(this.configuration).createUser(requestParameters.createUserRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
509
472
  };
510
473
  /**
511
- * Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
512
- * @summary Delete the Financial Account
513
- * @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
474
+ * Retrieves the details of the gdv tenant user that was previously created. Supply the unique gdv tenant user code that was returned when you created it and Emil Api will return the corresponding gdv tenant user information. **Required Permissions** \"gdv-management.operations.view\"
475
+ * @summary Retrieve the gdv tenant user
476
+ * @param {UsersApiGetUserRequest} requestParameters Request parameters.
514
477
  * @param {*} [options] Override http request option.
515
478
  * @throws {RequiredError}
516
- * @memberof FinancialAccountsApi
479
+ * @memberof UsersApi
517
480
  */
518
- FinancialAccountsApi.prototype.deleteFinancialAccount = function (requestParameters, options) {
481
+ UsersApi.prototype.getUser = function (requestParameters, options) {
519
482
  var _this = this;
520
- return (0, exports.FinancialAccountsApiFp)(this.configuration).deleteFinancialAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
483
+ return (0, exports.UsersApiFp)(this.configuration).getUser(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
521
484
  };
522
485
  /**
523
- * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.accounts.view\"
524
- * @summary Retrieve the Financial Account
525
- * @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
486
+ * Returns a list of gdv tenant users you have previously created. The gdv tenant users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
487
+ * @summary List gdv tenant users
488
+ * @param {UsersApiListUsersRequest} requestParameters Request parameters.
526
489
  * @param {*} [options] Override http request option.
527
490
  * @throws {RequiredError}
528
- * @memberof FinancialAccountsApi
491
+ * @memberof UsersApi
529
492
  */
530
- FinancialAccountsApi.prototype.getFinancialAccount = function (requestParameters, options) {
493
+ UsersApi.prototype.listUsers = function (requestParameters, options) {
531
494
  var _this = this;
532
- return (0, exports.FinancialAccountsApiFp)(this.configuration).getFinancialAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
495
+ if (requestParameters === void 0) { requestParameters = {}; }
496
+ return (0, exports.UsersApiFp)(this.configuration).listUsers(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
533
497
  };
534
498
  /**
535
- * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
536
- * @summary List Financial Accounts
537
- * @param {FinancialAccountsApiListFinancialAccountsRequest} requestParameters Request parameters.
499
+ * Updates the specified gdv tenant user by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
500
+ * @summary Update the gdv tenant user
501
+ * @param {UsersApiUpdateUserRequest} requestParameters Request parameters.
538
502
  * @param {*} [options] Override http request option.
539
503
  * @throws {RequiredError}
540
- * @memberof FinancialAccountsApi
504
+ * @memberof UsersApi
541
505
  */
542
- FinancialAccountsApi.prototype.listFinancialAccounts = function (requestParameters, options) {
506
+ UsersApi.prototype.updateUser = function (requestParameters, options) {
543
507
  var _this = this;
544
- if (requestParameters === void 0) { requestParameters = {}; }
545
- return (0, exports.FinancialAccountsApiFp)(this.configuration).listFinancialAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
508
+ return (0, exports.UsersApiFp)(this.configuration).updateUser(requestParameters.code, requestParameters.updateUserRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
546
509
  };
547
- return FinancialAccountsApi;
510
+ return UsersApi;
548
511
  }(base_1.BaseAPI));
549
- exports.FinancialAccountsApi = FinancialAccountsApi;
512
+ exports.UsersApi = UsersApi;