@emilgroup/account-sdk-node 1.36.1-beta.1 → 1.37.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.1-beta.1 --save
20
+ npm install @emilgroup/account-sdk-node@1.37.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/account-sdk-node@1.36.1-beta.1
24
+ yarn add @emilgroup/account-sdk-node@1.37.0
25
25
  ```
26
26
 
27
27
  And then you can import `AccountsApi`.
@@ -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 = 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;
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;
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,15 +74,6 @@ 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
- };
86
77
  var __importDefault = (this && this.__importDefault) || function (mod) {
87
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
88
79
  };
@@ -113,14 +104,10 @@ var AccountsApiAxiosParamCreator = function (configuration) {
113
104
  * @param {*} [options] Override http request option.
114
105
  * @throws {RequiredError}
115
106
  */
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) {
107
+ createAccount: function (createAccountRequestDto, authorization, options) {
108
+ if (options === void 0) { options = {}; }
109
+ return __awaiter(_this, void 0, void 0, function () {
122
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
123
- if (options === void 0) { options = {}; }
124
111
  return __generator(this, function (_a) {
125
112
  switch (_a.label) {
126
113
  case 0:
@@ -166,14 +153,10 @@ var AccountsApiAxiosParamCreator = function (configuration) {
166
153
  * @param {*} [options] Override http request option.
167
154
  * @throws {RequiredError}
168
155
  */
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) {
156
+ deleteAccount: function (code, authorization, options) {
157
+ if (options === void 0) { options = {}; }
158
+ return __awaiter(_this, void 0, void 0, function () {
175
159
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
176
- if (options === void 0) { options = {}; }
177
160
  return __generator(this, function (_a) {
178
161
  switch (_a.label) {
179
162
  case 0:
@@ -219,14 +202,10 @@ var AccountsApiAxiosParamCreator = function (configuration) {
219
202
  * @param {*} [options] Override http request option.
220
203
  * @throws {RequiredError}
221
204
  */
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) {
205
+ getAccount: function (code, authorization, expand, options) {
206
+ if (options === void 0) { options = {}; }
207
+ return __awaiter(_this, void 0, void 0, function () {
228
208
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
229
- if (options === void 0) { options = {}; }
230
209
  return __generator(this, function (_a) {
231
210
  switch (_a.label) {
232
211
  case 0:
@@ -280,14 +259,10 @@ var AccountsApiAxiosParamCreator = function (configuration) {
280
259
  * @param {*} [options] Override http request option.
281
260
  * @throws {RequiredError}
282
261
  */
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) {
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 () {
289
265
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
290
- if (options === void 0) { options = {}; }
291
266
  return __generator(this, function (_a) {
292
267
  switch (_a.label) {
293
268
  case 0:
@@ -351,14 +326,10 @@ var AccountsApiAxiosParamCreator = function (configuration) {
351
326
  * @param {*} [options] Override http request option.
352
327
  * @throws {RequiredError}
353
328
  */
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) {
329
+ updateAccount: function (code, updateAccountRequestDto, authorization, options) {
330
+ if (options === void 0) { options = {}; }
331
+ return __awaiter(_this, void 0, void 0, function () {
360
332
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
361
- if (options === void 0) { options = {}; }
362
333
  return __generator(this, function (_a) {
363
334
  switch (_a.label) {
364
335
  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 = 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;
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;
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,15 +74,6 @@ 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
- };
86
77
  var __importDefault = (this && this.__importDefault) || function (mod) {
87
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
88
79
  };
@@ -111,14 +102,10 @@ var DefaultApiAxiosParamCreator = function (configuration) {
111
102
  * @param {*} [options] Override http request option.
112
103
  * @throws {RequiredError}
113
104
  */
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) {
105
+ check: function (options) {
106
+ if (options === void 0) { options = {}; }
107
+ return __awaiter(_this, void 0, void 0, function () {
120
108
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
121
- if (options === void 0) { options = {}; }
122
109
  return __generator(this, function (_a) {
123
110
  localVarPath = "/accountservice/health";
124
111
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
package/dist/base.js CHANGED
@@ -54,23 +54,13 @@ 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 () {
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
- })();
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
+ };
74
64
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
75
65
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
76
66
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -81,8 +71,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
81
71
  });
82
72
  };
83
73
  var __generator = (this && this.__generator) || function (thisArg, body) {
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;
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;
86
76
  function verb(n) { return function (v) { return step([n, v]); }; }
87
77
  function step(op) {
88
78
  if (f) throw new TypeError("Generator is already executing.");
@@ -111,8 +101,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
111
101
  return (mod && mod.__esModule) ? mod : { "default": mod };
112
102
  };
113
103
  Object.defineProperty(exports, "__esModule", { value: true });
114
- exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
115
- exports.resetRetry = resetRetry;
104
+ exports.RequiredError = exports.BaseAPI = exports.resetRetry = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
116
105
  var configuration_1 = require("./configuration");
117
106
  // Some imports not used depending on template conditions
118
107
  // @ts-ignore
@@ -143,12 +132,13 @@ var Environment;
143
132
  Environment["Staging"] = "https://apiv2-staging.emil.de";
144
133
  Environment["Development"] = "https://apiv2-dev.emil.de";
145
134
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
146
- })(Environment || (exports.Environment = Environment = {}));
135
+ })(Environment = exports.Environment || (exports.Environment = {}));
147
136
  var _retry_count = 0;
148
137
  var _retry = null;
149
138
  function resetRetry() {
150
139
  _retry_count = 0;
151
140
  }
141
+ exports.resetRetry = resetRetry;
152
142
  var NETWORK_ERROR_MESSAGE = "Network Error";
153
143
  /**
154
144
  *
@@ -172,9 +162,9 @@ var BaseAPI = /** @class */ (function () {
172
162
  }
173
163
  this.attachInterceptor(axios);
174
164
  }
175
- BaseAPI.prototype.initialize = function () {
176
- return __awaiter(this, arguments, void 0, function (env) {
177
- if (env === void 0) { env = Environment.Production; }
165
+ BaseAPI.prototype.initialize = function (env) {
166
+ if (env === void 0) { env = Environment.Production; }
167
+ return __awaiter(this, void 0, void 0, function () {
178
168
  return __generator(this, function (_a) {
179
169
  switch (_a.label) {
180
170
  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>>(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, any>>(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 = 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;
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;
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.");
@@ -148,6 +148,12 @@ export interface AccountClass {
148
148
  * @memberof AccountClass
149
149
  */
150
150
  'customFields'?: object;
151
+ /**
152
+ * The code of the connected partner entity - only availalbe if the account is also represented as a partner in EIS System
153
+ * @type {string}
154
+ * @memberof AccountClass
155
+ */
156
+ 'partnerCode'?: string;
151
157
  /**
152
158
  * Emil Resources Names (ERN) identifies the most specific owner of a resource.
153
159
  * @type {string}
@@ -153,6 +153,12 @@ export interface AccountClass {
153
153
  * @memberof AccountClass
154
154
  */
155
155
  'customFields'?: object;
156
+ /**
157
+ * The code of the connected partner entity - only availalbe if the account is also represented as a partner in EIS System
158
+ * @type {string}
159
+ * @memberof AccountClass
160
+ */
161
+ 'partnerCode'?: string;
156
162
  /**
157
163
  * Emil Resources Names (ERN) identifies the most specific owner of a resource.
158
164
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/account-sdk-node",
3
- "version": "1.36.1-beta.1",
3
+ "version": "1.37.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": "^1.9.0",
21
+ "axios": "^0.27.2",
22
22
  "form-data": "^4.0.0",
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^22.15.18",
27
- "typescript": "^5.8"
26
+ "@types/node": "^12.11.5",
27
+ "typescript": "^4.0"
28
28
  }
29
29
  }