@emilgroup/account-sdk-node 1.36.0 → 1.36.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/account-sdk-node@1.36.0 --save
20
+ npm install @emilgroup/account-sdk-node@1.36.1-beta.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/account-sdk-node@1.36.0
24
+ yarn add @emilgroup/account-sdk-node@1.36.1-beta.0
25
25
  ```
26
26
 
27
27
  And then you can import `AccountsApi`.
package/base.ts CHANGED
@@ -278,7 +278,7 @@ export class BaseAPI {
278
278
  * @extends {Error}
279
279
  */
280
280
  export class RequiredError extends Error {
281
- name: "RequiredError" = "RequiredError";
281
+ override name: "RequiredError" = "RequiredError";
282
282
  constructor(public field: string, msg?: string) {
283
283
  super(msg);
284
284
  }
@@ -50,7 +50,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
50
50
  * @param {*} [options] Override http request option.
51
51
  * @throws {RequiredError}
52
52
  */
53
- getAccount: (code: string, authorization?: string, expand?: 'policies', options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
+ getAccount: (code: string, authorization?: string, expand?: "policies", options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
54
  /**
55
55
  * Returns a list of accounts you have previously created. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
56
56
  * @summary List accounts
@@ -65,7 +65,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
67
67
  */
68
- listAccounts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name', search?: string, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ listAccounts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: "firstName" | "code" | "email" | "createdAt" | "birthDate" | "accountNumber" | "title" | "lastName" | "gender" | "street" | "houseNumber" | "zipCode" | "city" | "phone" | "type" | "companyName" | "name", search?: string, order?: "id" | "firstName" | "lastName" | "email" | "createdAt" | "accountNumber", expand?: "policies", filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
69
  /**
70
70
  * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
71
71
  * @summary Update the account
@@ -109,7 +109,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
109
109
  * @param {*} [options] Override http request option.
110
110
  * @throws {RequiredError}
111
111
  */
112
- getAccount(code: string, authorization?: string, expand?: 'policies', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountResponseClass>>;
112
+ getAccount(code: string, authorization?: string, expand?: "policies", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountResponseClass>>;
113
113
  /**
114
114
  * Returns a list of accounts you have previously created. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
115
115
  * @summary List accounts
@@ -124,7 +124,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
124
124
  * @param {*} [options] Override http request option.
125
125
  * @throws {RequiredError}
126
126
  */
127
- listAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name', search?: string, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountsResponseClass>>;
127
+ listAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: "firstName" | "code" | "email" | "createdAt" | "birthDate" | "accountNumber" | "title" | "lastName" | "gender" | "street" | "houseNumber" | "zipCode" | "city" | "phone" | "type" | "companyName" | "name", search?: string, order?: "id" | "firstName" | "lastName" | "email" | "createdAt" | "accountNumber", expand?: "policies", filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountsResponseClass>>;
128
128
  /**
129
129
  * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
130
130
  * @summary Update the account
@@ -168,7 +168,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
168
168
  * @param {*} [options] Override http request option.
169
169
  * @throws {RequiredError}
170
170
  */
171
- getAccount(code: string, authorization?: string, expand?: 'policies', options?: any): AxiosPromise<GetAccountResponseClass>;
171
+ getAccount(code: string, authorization?: string, expand?: "policies", options?: any): AxiosPromise<GetAccountResponseClass>;
172
172
  /**
173
173
  * Returns a list of accounts you have previously created. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
174
174
  * @summary List accounts
@@ -183,7 +183,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
183
183
  * @param {*} [options] Override http request option.
184
184
  * @throws {RequiredError}
185
185
  */
186
- listAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name', search?: string, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: string, options?: any): AxiosPromise<ListAccountsResponseClass>;
186
+ listAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: "firstName" | "code" | "email" | "createdAt" | "birthDate" | "accountNumber" | "title" | "lastName" | "gender" | "street" | "houseNumber" | "zipCode" | "city" | "phone" | "type" | "companyName" | "name", search?: string, order?: "id" | "firstName" | "lastName" | "email" | "createdAt" | "accountNumber", expand?: "policies", filters?: string, options?: any): AxiosPromise<ListAccountsResponseClass>;
187
187
  /**
188
188
  * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
189
189
  * @summary Update the account
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -104,10 +113,14 @@ var AccountsApiAxiosParamCreator = function (configuration) {
104
113
  * @param {*} [options] Override http request option.
105
114
  * @throws {RequiredError}
106
115
  */
107
- createAccount: function (createAccountRequestDto, authorization, options) {
108
- if (options === void 0) { options = {}; }
109
- return __awaiter(_this, void 0, void 0, function () {
116
+ createAccount: function (createAccountRequestDto_1, authorization_1) {
117
+ var args_1 = [];
118
+ for (var _i = 2; _i < arguments.length; _i++) {
119
+ args_1[_i - 2] = arguments[_i];
120
+ }
121
+ return __awaiter(_this, __spreadArray([createAccountRequestDto_1, authorization_1], args_1, true), void 0, function (createAccountRequestDto, authorization, options) {
110
122
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
123
+ if (options === void 0) { options = {}; }
111
124
  return __generator(this, function (_a) {
112
125
  switch (_a.label) {
113
126
  case 0:
@@ -153,10 +166,14 @@ var AccountsApiAxiosParamCreator = function (configuration) {
153
166
  * @param {*} [options] Override http request option.
154
167
  * @throws {RequiredError}
155
168
  */
156
- deleteAccount: function (code, authorization, options) {
157
- if (options === void 0) { options = {}; }
158
- return __awaiter(_this, void 0, void 0, function () {
169
+ deleteAccount: function (code_1, authorization_1) {
170
+ var args_1 = [];
171
+ for (var _i = 2; _i < arguments.length; _i++) {
172
+ args_1[_i - 2] = arguments[_i];
173
+ }
174
+ return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
159
175
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
176
+ if (options === void 0) { options = {}; }
160
177
  return __generator(this, function (_a) {
161
178
  switch (_a.label) {
162
179
  case 0:
@@ -202,10 +219,14 @@ var AccountsApiAxiosParamCreator = function (configuration) {
202
219
  * @param {*} [options] Override http request option.
203
220
  * @throws {RequiredError}
204
221
  */
205
- getAccount: function (code, authorization, expand, options) {
206
- if (options === void 0) { options = {}; }
207
- return __awaiter(_this, void 0, void 0, function () {
222
+ getAccount: function (code_1, authorization_1, expand_1) {
223
+ var args_1 = [];
224
+ for (var _i = 3; _i < arguments.length; _i++) {
225
+ args_1[_i - 3] = arguments[_i];
226
+ }
227
+ return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
208
228
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
229
+ if (options === void 0) { options = {}; }
209
230
  return __generator(this, function (_a) {
210
231
  switch (_a.label) {
211
232
  case 0:
@@ -259,10 +280,14 @@ var AccountsApiAxiosParamCreator = function (configuration) {
259
280
  * @param {*} [options] Override http request option.
260
281
  * @throws {RequiredError}
261
282
  */
262
- listAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
263
- if (options === void 0) { options = {}; }
264
- return __awaiter(_this, void 0, void 0, function () {
283
+ listAccounts: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
284
+ var args_1 = [];
285
+ for (var _i = 8; _i < arguments.length; _i++) {
286
+ args_1[_i - 8] = arguments[_i];
287
+ }
288
+ return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
265
289
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
290
+ if (options === void 0) { options = {}; }
266
291
  return __generator(this, function (_a) {
267
292
  switch (_a.label) {
268
293
  case 0:
@@ -326,10 +351,14 @@ var AccountsApiAxiosParamCreator = function (configuration) {
326
351
  * @param {*} [options] Override http request option.
327
352
  * @throws {RequiredError}
328
353
  */
329
- updateAccount: function (code, updateAccountRequestDto, authorization, options) {
330
- if (options === void 0) { options = {}; }
331
- return __awaiter(_this, void 0, void 0, function () {
354
+ updateAccount: function (code_1, updateAccountRequestDto_1, authorization_1) {
355
+ var args_1 = [];
356
+ for (var _i = 3; _i < arguments.length; _i++) {
357
+ args_1[_i - 3] = arguments[_i];
358
+ }
359
+ return __awaiter(_this, __spreadArray([code_1, updateAccountRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateAccountRequestDto, authorization, options) {
332
360
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
361
+ if (options === void 0) { options = {}; }
333
362
  return __generator(this, function (_a) {
334
363
  switch (_a.label) {
335
364
  case 0:
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -102,10 +111,14 @@ var DefaultApiAxiosParamCreator = function (configuration) {
102
111
  * @param {*} [options] Override http request option.
103
112
  * @throws {RequiredError}
104
113
  */
105
- check: function (options) {
106
- if (options === void 0) { options = {}; }
107
- return __awaiter(_this, void 0, void 0, function () {
114
+ check: function () {
115
+ var args_1 = [];
116
+ for (var _i = 0; _i < arguments.length; _i++) {
117
+ args_1[_i] = arguments[_i];
118
+ }
119
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
108
120
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
121
+ if (options === void 0) { options = {}; }
109
122
  return __generator(this, function (_a) {
110
123
  localVarPath = "/accountservice/health";
111
124
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
package/dist/base.js CHANGED
@@ -54,13 +54,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
54
54
  }) : function(o, v) {
55
55
  o["default"] = v;
56
56
  });
57
- var __importStar = (this && this.__importStar) || function (mod) {
58
- if (mod && mod.__esModule) return mod;
59
- var result = {};
60
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
61
- __setModuleDefault(result, mod);
62
- return result;
63
- };
57
+ var __importStar = (this && this.__importStar) || (function () {
58
+ var ownKeys = function(o) {
59
+ ownKeys = Object.getOwnPropertyNames || function (o) {
60
+ var ar = [];
61
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
62
+ return ar;
63
+ };
64
+ return ownKeys(o);
65
+ };
66
+ return function (mod) {
67
+ if (mod && mod.__esModule) return mod;
68
+ var result = {};
69
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
70
+ __setModuleDefault(result, mod);
71
+ return result;
72
+ };
73
+ })();
64
74
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
65
75
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
66
76
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -71,8 +81,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
71
81
  });
72
82
  };
73
83
  var __generator = (this && this.__generator) || function (thisArg, body) {
74
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
75
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
84
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
85
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
76
86
  function verb(n) { return function (v) { return step([n, v]); }; }
77
87
  function step(op) {
78
88
  if (f) throw new TypeError("Generator is already executing.");
@@ -101,7 +111,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
101
111
  return (mod && mod.__esModule) ? mod : { "default": mod };
102
112
  };
103
113
  Object.defineProperty(exports, "__esModule", { value: true });
104
- exports.RequiredError = exports.BaseAPI = exports.resetRetry = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
114
+ exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
115
+ exports.resetRetry = resetRetry;
105
116
  var configuration_1 = require("./configuration");
106
117
  // Some imports not used depending on template conditions
107
118
  // @ts-ignore
@@ -132,13 +143,12 @@ var Environment;
132
143
  Environment["Staging"] = "https://apiv2-staging.emil.de";
133
144
  Environment["Development"] = "https://apiv2-dev.emil.de";
134
145
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
135
- })(Environment = exports.Environment || (exports.Environment = {}));
146
+ })(Environment || (exports.Environment = Environment = {}));
136
147
  var _retry_count = 0;
137
148
  var _retry = null;
138
149
  function resetRetry() {
139
150
  _retry_count = 0;
140
151
  }
141
- exports.resetRetry = resetRetry;
142
152
  var NETWORK_ERROR_MESSAGE = "Network Error";
143
153
  /**
144
154
  *
@@ -162,9 +172,9 @@ var BaseAPI = /** @class */ (function () {
162
172
  }
163
173
  this.attachInterceptor(axios);
164
174
  }
165
- BaseAPI.prototype.initialize = function (env) {
166
- if (env === void 0) { env = Environment.Production; }
167
- return __awaiter(this, void 0, void 0, function () {
175
+ BaseAPI.prototype.initialize = function () {
176
+ return __awaiter(this, arguments, void 0, function (env) {
177
+ if (env === void 0) { env = Environment.Production; }
168
178
  return __generator(this, function (_a) {
169
179
  switch (_a.label) {
170
180
  case 0:
package/dist/common.d.ts CHANGED
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
63
63
  *
64
64
  * @export
65
65
  */
66
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
66
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
67
67
  /**
68
68
  * EMIL AccountService
69
69
  * The EMIL AccountService API description
package/dist/common.js CHANGED
@@ -33,8 +33,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33
33
  });
34
34
  };
35
35
  var __generator = (this && this.__generator) || function (thisArg, body) {
36
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
37
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
36
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
37
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
38
38
  function verb(n) { return function (v) { return step([n, v]); }; }
39
39
  function step(op) {
40
40
  if (f) throw new TypeError("Generator is already executing.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/account-sdk-node",
3
- "version": "1.36.0",
3
+ "version": "1.36.1-beta.0",
4
4
  "description": "OpenAPI client for @emilgroup/account-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,12 +18,12 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^0.27.2",
21
+ "axios": "^1.9.0",
22
22
  "form-data": "^4.0.0",
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^12.11.5",
27
- "typescript": "^4.0"
26
+ "@types/node": "^22.15.18",
27
+ "typescript": "^5.8"
28
28
  }
29
29
  }
package/tsconfig.json CHANGED
@@ -5,6 +5,7 @@
5
5
  "module": "CommonJS",
6
6
  "noImplicitAny": true,
7
7
  "esModuleInterop": true,
8
+ "noImplicitOverride": true,
8
9
  "outDir": "dist",
9
10
  "rootDir": ".",
10
11
  "lib": [