@emilgroup/accounting-sdk-node 1.1.0 → 1.2.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/.openapi-generator/FILES +52 -15
- package/README.md +2 -2
- package/api/health-api.ts +7 -7
- package/api/mailbox-api.ts +255 -0
- package/api/messages-api.ts +1100 -0
- package/api/users-api.ts +496 -0
- package/api/vbas-api.ts +592 -0
- package/api/vbus-api.ts +701 -0
- package/api/zip-codes-api.ts +443 -0
- package/api.ts +14 -6
- package/base.ts +2 -2
- package/common.ts +4 -4
- package/configuration.ts +2 -2
- package/dist/api/health-api.d.ts +6 -6
- package/dist/api/health-api.js +7 -7
- package/dist/api/mailbox-api.d.ts +142 -0
- package/dist/api/mailbox-api.js +315 -0
- package/dist/api/messages-api.d.ts +632 -0
- package/dist/api/messages-api.js +916 -0
- package/dist/api/users-api.d.ts +275 -0
- package/dist/api/users-api.js +512 -0
- package/dist/api/vbas-api.d.ts +337 -0
- package/dist/api/{financial-accounts-api.js → vbas-api.js} +161 -156
- package/dist/api/vbus-api.d.ts +395 -0
- package/dist/api/vbus-api.js +647 -0
- package/dist/api/zip-codes-api.d.ts +253 -0
- package/dist/api/{booking-processes-api.js → zip-codes-api.js} +166 -80
- package/dist/api.d.ts +8 -4
- package/dist/api.js +8 -4
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +4 -4
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/models/address-class.d.ts +48 -0
- package/dist/models/{get-financial-account-response-class.js → address-class.js} +2 -2
- package/dist/models/create-mailbox-request-dto.d.ts +36 -0
- package/dist/models/{create-booking-process-response-class.js → create-mailbox-request-dto.js} +2 -2
- package/dist/models/create-user-request-dto.d.ts +76 -0
- package/dist/models/{financial-account-class.js → create-user-request-dto.js} +10 -9
- package/dist/models/create-user-response-class.d.ts +25 -0
- package/dist/models/{financial-transaction-class.js → create-user-response-class.js} +2 -2
- package/dist/models/create-vba-request-dto.d.ts +41 -0
- package/dist/models/create-vba-request-dto.js +20 -0
- package/dist/models/create-vba-response-class.d.ts +24 -0
- package/dist/models/{create-financial-account-response-class.js → create-vba-response-class.js} +2 -2
- package/dist/models/create-vbu-request-dto.d.ts +41 -0
- package/dist/models/create-vbu-request-dto.js +20 -0
- package/dist/models/create-vbu-response-class.d.ts +24 -0
- package/dist/models/create-vbu-response-class.js +15 -0
- package/dist/models/create-vbuv-request-dto.d.ts +41 -0
- package/dist/models/create-vbuv-request-dto.js +20 -0
- package/dist/models/create-vbuv-response-class.d.ts +24 -0
- package/dist/models/create-vbuv-response-class.js +15 -0
- package/dist/models/get-request-message-response-class.d.ts +25 -0
- package/dist/models/get-request-message-response-class.js +15 -0
- package/dist/models/get-response-message-response-class.d.ts +25 -0
- package/dist/models/get-response-message-response-class.js +15 -0
- package/dist/models/get-user-response-class.d.ts +25 -0
- package/dist/models/get-user-response-class.js +15 -0
- package/dist/models/get-vba-response-class.d.ts +25 -0
- package/dist/models/get-vba-response-class.js +15 -0
- package/dist/models/get-vbu-response-class.d.ts +25 -0
- package/dist/models/get-vbu-response-class.js +15 -0
- package/dist/models/get-zip-code-response-class.d.ts +25 -0
- package/dist/models/get-zip-code-response-class.js +15 -0
- package/dist/models/index.d.ts +46 -13
- package/dist/models/index.js +46 -13
- package/dist/models/inline-response200.d.ts +2 -2
- package/dist/models/inline-response200.js +2 -2
- package/dist/models/inline-response503.d.ts +2 -2
- package/dist/models/inline-response503.js +2 -2
- package/dist/models/list-all-messages-response-class.d.ts +31 -0
- package/dist/models/list-all-messages-response-class.js +15 -0
- package/dist/models/list-requests-messages-response-class.d.ts +31 -0
- package/dist/models/list-requests-messages-response-class.js +15 -0
- package/dist/models/list-responses-messages-response-class.d.ts +31 -0
- package/dist/models/list-responses-messages-response-class.js +15 -0
- package/dist/models/list-users-response-class.d.ts +31 -0
- package/dist/models/list-users-response-class.js +15 -0
- package/dist/models/list-vbas-response-class.d.ts +31 -0
- package/dist/models/list-vbas-response-class.js +15 -0
- package/dist/models/list-vbus-response-class.d.ts +31 -0
- package/dist/models/list-vbus-response-class.js +15 -0
- package/dist/models/list-zip-codes-response-class.d.ts +31 -0
- package/dist/models/list-zip-codes-response-class.js +15 -0
- package/dist/models/message-class.d.ts +84 -0
- package/dist/models/message-class.js +15 -0
- package/dist/models/request-details-class.d.ts +48 -0
- package/dist/models/request-details-class.js +15 -0
- package/dist/models/request-message-class.d.ts +121 -0
- package/dist/models/request-message-class.js +15 -0
- package/dist/models/response-details-class.d.ts +42 -0
- package/dist/models/response-details-class.js +15 -0
- package/dist/models/response-message-class.d.ts +133 -0
- package/dist/models/response-message-class.js +15 -0
- package/dist/models/store-zip-codes-request-dto.d.ts +25 -0
- package/dist/models/store-zip-codes-request-dto.js +15 -0
- package/dist/models/store-zip-codes-response-class.d.ts +25 -0
- package/dist/models/store-zip-codes-response-class.js +15 -0
- package/dist/models/update-request-message-request-dto.d.ts +36 -0
- package/dist/models/update-request-message-request-dto.js +15 -0
- package/dist/models/update-request-message-response-class.d.ts +25 -0
- package/dist/models/update-request-message-response-class.js +15 -0
- package/dist/models/update-response-message-request-dto.d.ts +36 -0
- package/dist/models/update-response-message-request-dto.js +15 -0
- package/dist/models/update-response-message-response-class.d.ts +25 -0
- package/dist/models/update-response-message-response-class.js +15 -0
- package/dist/models/update-user-request-dto.d.ts +82 -0
- package/dist/models/{financial-transaction-data-dto.js → update-user-request-dto.js} +10 -6
- package/dist/models/update-user-response-class.d.ts +25 -0
- package/dist/models/update-user-response-class.js +15 -0
- package/dist/models/update-vba-request-dto.d.ts +30 -0
- package/dist/models/update-vba-request-dto.js +15 -0
- package/dist/models/update-vbu-request-dto.d.ts +30 -0
- package/dist/models/update-vbu-request-dto.js +15 -0
- package/dist/models/update-vbu-response-class.d.ts +25 -0
- package/dist/models/update-vbu-response-class.js +15 -0
- package/dist/models/user-class.d.ts +107 -0
- package/dist/models/user-class.js +20 -0
- package/dist/models/vba-class.d.ts +116 -0
- package/dist/models/vba-class.js +15 -0
- package/dist/models/vba-response-class.d.ts +48 -0
- package/dist/models/vba-response-class.js +15 -0
- package/dist/models/vbu-class.d.ts +115 -0
- package/dist/models/vbu-class.js +15 -0
- package/dist/models/vbu-response-class.d.ts +48 -0
- package/dist/models/vbu-response-class.js +15 -0
- package/dist/models/xlsx-zip-code-dto.d.ts +30 -0
- package/dist/models/xlsx-zip-code-dto.js +15 -0
- package/dist/models/zip-code-class.d.ts +60 -0
- package/dist/models/zip-code-class.js +15 -0
- package/index.ts +2 -2
- package/models/address-class.ts +54 -0
- package/models/create-mailbox-request-dto.ts +42 -0
- package/models/create-user-request-dto.ts +86 -0
- package/models/create-user-response-class.ts +31 -0
- package/models/create-vba-request-dto.ts +50 -0
- package/models/create-vba-response-class.ts +30 -0
- package/models/create-vbu-request-dto.ts +50 -0
- package/models/create-vbu-response-class.ts +30 -0
- package/models/create-vbuv-request-dto.ts +50 -0
- package/models/create-vbuv-response-class.ts +30 -0
- package/models/get-request-message-response-class.ts +31 -0
- package/models/get-response-message-response-class.ts +31 -0
- package/models/get-user-response-class.ts +31 -0
- package/models/get-vba-response-class.ts +31 -0
- package/models/get-vbu-response-class.ts +31 -0
- package/models/get-zip-code-response-class.ts +31 -0
- package/models/index.ts +46 -13
- package/models/inline-response200.ts +2 -2
- package/models/inline-response503.ts +2 -2
- package/models/list-all-messages-response-class.ts +37 -0
- package/models/list-requests-messages-response-class.ts +37 -0
- package/models/list-responses-messages-response-class.ts +37 -0
- package/models/list-users-response-class.ts +37 -0
- package/models/list-vbas-response-class.ts +37 -0
- package/models/list-vbus-response-class.ts +37 -0
- package/models/list-zip-codes-response-class.ts +37 -0
- package/models/message-class.ts +90 -0
- package/models/request-details-class.ts +54 -0
- package/models/request-message-class.ts +127 -0
- package/models/response-details-class.ts +48 -0
- package/models/response-message-class.ts +139 -0
- package/models/store-zip-codes-request-dto.ts +31 -0
- package/models/store-zip-codes-response-class.ts +31 -0
- package/models/update-request-message-request-dto.ts +42 -0
- package/models/update-request-message-response-class.ts +31 -0
- package/models/update-response-message-request-dto.ts +42 -0
- package/models/update-response-message-response-class.ts +31 -0
- package/models/update-user-request-dto.ts +92 -0
- package/models/update-user-response-class.ts +31 -0
- package/models/update-vba-request-dto.ts +36 -0
- package/models/update-vbu-request-dto.ts +36 -0
- package/models/update-vbu-response-class.ts +31 -0
- package/models/user-class.ts +116 -0
- package/models/vba-class.ts +122 -0
- package/models/vba-response-class.ts +54 -0
- package/models/vbu-class.ts +121 -0
- package/models/vbu-response-class.ts +54 -0
- package/models/xlsx-zip-code-dto.ts +36 -0
- package/models/zip-code-class.ts +66 -0
- package/package.json +1 -1
- package/api/booking-processes-api.ts +0 -357
- package/api/financial-accounts-api.ts +0 -577
- package/dist/api/booking-processes-api.d.ts +0 -207
- package/dist/api/financial-accounts-api.d.ts +0 -327
- package/dist/models/booking-entry-class.d.ts +0 -123
- package/dist/models/booking-entry-class.js +0 -34
- package/dist/models/booking-process-class.d.ts +0 -94
- package/dist/models/booking-process-class.js +0 -29
- package/dist/models/create-booking-entry-request-dto.d.ts +0 -99
- package/dist/models/create-booking-entry-request-dto.js +0 -34
- package/dist/models/create-booking-process-request-dto.d.ts +0 -64
- package/dist/models/create-booking-process-request-dto.js +0 -29
- package/dist/models/create-booking-process-response-class.d.ts +0 -25
- package/dist/models/create-financial-account-request-dto.d.ts +0 -62
- package/dist/models/create-financial-account-request-dto.js +0 -23
- package/dist/models/create-financial-account-response-class.d.ts +0 -25
- package/dist/models/financial-account-class.d.ts +0 -98
- package/dist/models/financial-transaction-class.d.ts +0 -108
- package/dist/models/financial-transaction-data-dto.d.ts +0 -71
- package/dist/models/get-financial-account-response-class.d.ts +0 -25
- package/dist/models/list-booking-process-response-class.d.ts +0 -31
- package/dist/models/list-booking-process-response-class.js +0 -15
- package/dist/models/list-financial-accounts-response-class.d.ts +0 -31
- package/dist/models/list-financial-accounts-response-class.js +0 -15
- package/models/booking-entry-class.ts +0 -133
- package/models/booking-process-class.ts +0 -104
- package/models/create-booking-entry-request-dto.ts +0 -109
- package/models/create-booking-process-request-dto.ts +0 -74
- package/models/create-booking-process-response-class.ts +0 -31
- package/models/create-financial-account-request-dto.ts +0 -71
- package/models/create-financial-account-response-class.ts +0 -31
- package/models/financial-account-class.ts +0 -107
- package/models/financial-transaction-class.ts +0 -114
- package/models/financial-transaction-data-dto.ts +0 -80
- package/models/get-financial-account-response-class.ts +0 -31
- package/models/list-booking-process-response-class.ts +0 -37
- package/models/list-financial-accounts-response-class.ts +0 -37
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* EMIL
|
|
6
|
-
* The EMIL
|
|
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.
|
|
81
|
+
exports.ZipCodesApi = exports.ZipCodesApiFactory = exports.ZipCodesApiFp = exports.ZipCodesApiAxiosParamCreator = 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,36 +90,37 @@ var base_1 = require("../base");
|
|
|
90
90
|
var url_1 = require("url");
|
|
91
91
|
var FormData = require('form-data');
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* ZipCodesApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var ZipCodesApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
101
|
-
* @summary
|
|
102
|
-
* @param {
|
|
103
|
-
* @param {string} [authorization] Bearer Token
|
|
100
|
+
* Retrieves the details of the zip code that was previously created. Supply the unique zip code code that was returned when you created it and Emil Api will return the corresponding zip code information.
|
|
101
|
+
* @summary Retrieve the zip code
|
|
102
|
+
* @param {string} code Unique identifier for the object.
|
|
103
|
+
* @param {string} [authorization] Bearer Token
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
getZipCode: function (code, 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 '
|
|
115
|
-
(0, common_1.assertParamExists)('
|
|
116
|
-
localVarPath = "/
|
|
114
|
+
// verify required parameter 'code' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('getZipCode', 'code', code);
|
|
116
|
+
localVarPath = "/gdvservice/v1/zipcodes/{code}"
|
|
117
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
117
118
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
119
|
if (configuration) {
|
|
119
120
|
baseOptions = configuration.baseOptions;
|
|
120
121
|
baseAccessToken = configuration.accessToken;
|
|
121
122
|
}
|
|
122
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
123
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
123
124
|
localVarHeaderParameter = {};
|
|
124
125
|
localVarQueryParameter = {};
|
|
125
126
|
// authentication bearer required
|
|
@@ -132,11 +133,9 @@ var BookingProcessesApiAxiosParamCreator = function (configuration) {
|
|
|
132
133
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
134
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
134
135
|
}
|
|
135
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
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)(createBookingProcessRequestDto, localVarRequestOptions, configuration);
|
|
140
139
|
return [2 /*return*/, {
|
|
141
140
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
141
|
options: localVarRequestOptions,
|
|
@@ -146,27 +145,27 @@ var BookingProcessesApiAxiosParamCreator = function (configuration) {
|
|
|
146
145
|
});
|
|
147
146
|
},
|
|
148
147
|
/**
|
|
149
|
-
* Returns a list of
|
|
150
|
-
* @summary List
|
|
151
|
-
* @param {string} [authorization] Bearer Token
|
|
148
|
+
* Returns a list of zip codes you have previously created. The zip codes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
149
|
+
* @summary List zip codes
|
|
150
|
+
* @param {string} [authorization] Bearer Token
|
|
152
151
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
153
152
|
* @param {any} [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.
|
|
154
|
-
* @param {
|
|
153
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
155
154
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
156
|
-
* @param {
|
|
155
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
157
156
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
158
|
-
* @param {
|
|
157
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
159
158
|
* @param {*} [options] Override http request option.
|
|
160
159
|
* @throws {RequiredError}
|
|
161
160
|
*/
|
|
162
|
-
|
|
161
|
+
listZipCodes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
163
162
|
if (options === void 0) { options = {}; }
|
|
164
163
|
return __awaiter(_this, void 0, void 0, function () {
|
|
165
164
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
166
165
|
return __generator(this, function (_a) {
|
|
167
166
|
switch (_a.label) {
|
|
168
167
|
case 0:
|
|
169
|
-
localVarPath = "/
|
|
168
|
+
localVarPath = "/gdvservice/v1/zipcodes";
|
|
170
169
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
171
170
|
if (configuration) {
|
|
172
171
|
baseOptions = configuration.baseOptions;
|
|
@@ -217,30 +216,74 @@ var BookingProcessesApiAxiosParamCreator = function (configuration) {
|
|
|
217
216
|
});
|
|
218
217
|
});
|
|
219
218
|
},
|
|
219
|
+
/**
|
|
220
|
+
* Store zip codes from file.
|
|
221
|
+
* @summary Create the zip codes
|
|
222
|
+
* @param {string} [authorization] Bearer Token
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
storeZipCodes: function (authorization, options) {
|
|
227
|
+
if (options === void 0) { options = {}; }
|
|
228
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
229
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
230
|
+
return __generator(this, function (_a) {
|
|
231
|
+
switch (_a.label) {
|
|
232
|
+
case 0:
|
|
233
|
+
localVarPath = "/gdvservice/v1/zipcodes";
|
|
234
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
235
|
+
if (configuration) {
|
|
236
|
+
baseOptions = configuration.baseOptions;
|
|
237
|
+
baseAccessToken = configuration.accessToken;
|
|
238
|
+
}
|
|
239
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
240
|
+
localVarHeaderParameter = {};
|
|
241
|
+
localVarQueryParameter = {};
|
|
242
|
+
// authentication bearer required
|
|
243
|
+
// http bearer authentication required
|
|
244
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
245
|
+
case 1:
|
|
246
|
+
// authentication bearer required
|
|
247
|
+
// http bearer authentication required
|
|
248
|
+
_a.sent();
|
|
249
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
250
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
251
|
+
}
|
|
252
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
253
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
254
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
255
|
+
return [2 /*return*/, {
|
|
256
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
257
|
+
options: localVarRequestOptions,
|
|
258
|
+
}];
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
});
|
|
262
|
+
},
|
|
220
263
|
};
|
|
221
264
|
};
|
|
222
|
-
exports.
|
|
265
|
+
exports.ZipCodesApiAxiosParamCreator = ZipCodesApiAxiosParamCreator;
|
|
223
266
|
/**
|
|
224
|
-
*
|
|
267
|
+
* ZipCodesApi - functional programming interface
|
|
225
268
|
* @export
|
|
226
269
|
*/
|
|
227
|
-
var
|
|
228
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
270
|
+
var ZipCodesApiFp = function (configuration) {
|
|
271
|
+
var localVarAxiosParamCreator = (0, exports.ZipCodesApiAxiosParamCreator)(configuration);
|
|
229
272
|
return {
|
|
230
273
|
/**
|
|
231
|
-
*
|
|
232
|
-
* @summary
|
|
233
|
-
* @param {
|
|
234
|
-
* @param {string} [authorization] Bearer Token
|
|
274
|
+
* Retrieves the details of the zip code that was previously created. Supply the unique zip code code that was returned when you created it and Emil Api will return the corresponding zip code information.
|
|
275
|
+
* @summary Retrieve the zip code
|
|
276
|
+
* @param {string} code Unique identifier for the object.
|
|
277
|
+
* @param {string} [authorization] Bearer Token
|
|
235
278
|
* @param {*} [options] Override http request option.
|
|
236
279
|
* @throws {RequiredError}
|
|
237
280
|
*/
|
|
238
|
-
|
|
281
|
+
getZipCode: function (code, authorization, options) {
|
|
239
282
|
return __awaiter(this, void 0, void 0, function () {
|
|
240
283
|
var localVarAxiosArgs;
|
|
241
284
|
return __generator(this, function (_a) {
|
|
242
285
|
switch (_a.label) {
|
|
243
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
286
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getZipCode(code, authorization, options)];
|
|
244
287
|
case 1:
|
|
245
288
|
localVarAxiosArgs = _a.sent();
|
|
246
289
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -249,25 +292,45 @@ var BookingProcessesApiFp = function (configuration) {
|
|
|
249
292
|
});
|
|
250
293
|
},
|
|
251
294
|
/**
|
|
252
|
-
* Returns a list of
|
|
253
|
-
* @summary List
|
|
254
|
-
* @param {string} [authorization] Bearer Token
|
|
295
|
+
* Returns a list of zip codes you have previously created. The zip codes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
296
|
+
* @summary List zip codes
|
|
297
|
+
* @param {string} [authorization] Bearer Token
|
|
255
298
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
256
299
|
* @param {any} [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.
|
|
257
|
-
* @param {
|
|
300
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
258
301
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
259
|
-
* @param {
|
|
302
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
260
303
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
261
|
-
* @param {
|
|
304
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
305
|
+
* @param {*} [options] Override http request option.
|
|
306
|
+
* @throws {RequiredError}
|
|
307
|
+
*/
|
|
308
|
+
listZipCodes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
309
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
310
|
+
var localVarAxiosArgs;
|
|
311
|
+
return __generator(this, function (_a) {
|
|
312
|
+
switch (_a.label) {
|
|
313
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listZipCodes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
314
|
+
case 1:
|
|
315
|
+
localVarAxiosArgs = _a.sent();
|
|
316
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
317
|
+
}
|
|
318
|
+
});
|
|
319
|
+
});
|
|
320
|
+
},
|
|
321
|
+
/**
|
|
322
|
+
* Store zip codes from file.
|
|
323
|
+
* @summary Create the zip codes
|
|
324
|
+
* @param {string} [authorization] Bearer Token
|
|
262
325
|
* @param {*} [options] Override http request option.
|
|
263
326
|
* @throws {RequiredError}
|
|
264
327
|
*/
|
|
265
|
-
|
|
328
|
+
storeZipCodes: function (authorization, options) {
|
|
266
329
|
return __awaiter(this, void 0, void 0, function () {
|
|
267
330
|
var localVarAxiosArgs;
|
|
268
331
|
return __generator(this, function (_a) {
|
|
269
332
|
switch (_a.label) {
|
|
270
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
333
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.storeZipCodes(authorization, options)];
|
|
271
334
|
case 1:
|
|
272
335
|
localVarAxiosArgs = _a.sent();
|
|
273
336
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -277,81 +340,104 @@ var BookingProcessesApiFp = function (configuration) {
|
|
|
277
340
|
},
|
|
278
341
|
};
|
|
279
342
|
};
|
|
280
|
-
exports.
|
|
343
|
+
exports.ZipCodesApiFp = ZipCodesApiFp;
|
|
281
344
|
/**
|
|
282
|
-
*
|
|
345
|
+
* ZipCodesApi - factory interface
|
|
283
346
|
* @export
|
|
284
347
|
*/
|
|
285
|
-
var
|
|
286
|
-
var localVarFp = (0, exports.
|
|
348
|
+
var ZipCodesApiFactory = function (configuration, basePath, axios) {
|
|
349
|
+
var localVarFp = (0, exports.ZipCodesApiFp)(configuration);
|
|
287
350
|
return {
|
|
288
351
|
/**
|
|
289
|
-
*
|
|
290
|
-
* @summary
|
|
291
|
-
* @param {
|
|
292
|
-
* @param {string} [authorization] Bearer Token
|
|
352
|
+
* Retrieves the details of the zip code that was previously created. Supply the unique zip code code that was returned when you created it and Emil Api will return the corresponding zip code information.
|
|
353
|
+
* @summary Retrieve the zip code
|
|
354
|
+
* @param {string} code Unique identifier for the object.
|
|
355
|
+
* @param {string} [authorization] Bearer Token
|
|
293
356
|
* @param {*} [options] Override http request option.
|
|
294
357
|
* @throws {RequiredError}
|
|
295
358
|
*/
|
|
296
|
-
|
|
297
|
-
return localVarFp.
|
|
359
|
+
getZipCode: function (code, authorization, options) {
|
|
360
|
+
return localVarFp.getZipCode(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
298
361
|
},
|
|
299
362
|
/**
|
|
300
|
-
* Returns a list of
|
|
301
|
-
* @summary List
|
|
302
|
-
* @param {string} [authorization] Bearer Token
|
|
363
|
+
* Returns a list of zip codes you have previously created. The zip codes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
364
|
+
* @summary List zip codes
|
|
365
|
+
* @param {string} [authorization] Bearer Token
|
|
303
366
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
304
367
|
* @param {any} [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.
|
|
305
|
-
* @param {
|
|
368
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
306
369
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
307
|
-
* @param {
|
|
370
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
308
371
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
309
|
-
* @param {
|
|
372
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
310
373
|
* @param {*} [options] Override http request option.
|
|
311
374
|
* @throws {RequiredError}
|
|
312
375
|
*/
|
|
313
|
-
|
|
314
|
-
return localVarFp.
|
|
376
|
+
listZipCodes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
377
|
+
return localVarFp.listZipCodes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
378
|
+
},
|
|
379
|
+
/**
|
|
380
|
+
* Store zip codes from file.
|
|
381
|
+
* @summary Create the zip codes
|
|
382
|
+
* @param {string} [authorization] Bearer Token
|
|
383
|
+
* @param {*} [options] Override http request option.
|
|
384
|
+
* @throws {RequiredError}
|
|
385
|
+
*/
|
|
386
|
+
storeZipCodes: function (authorization, options) {
|
|
387
|
+
return localVarFp.storeZipCodes(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
315
388
|
},
|
|
316
389
|
};
|
|
317
390
|
};
|
|
318
|
-
exports.
|
|
391
|
+
exports.ZipCodesApiFactory = ZipCodesApiFactory;
|
|
319
392
|
/**
|
|
320
|
-
*
|
|
393
|
+
* ZipCodesApi - object-oriented interface
|
|
321
394
|
* @export
|
|
322
|
-
* @class
|
|
395
|
+
* @class ZipCodesApi
|
|
323
396
|
* @extends {BaseAPI}
|
|
324
397
|
*/
|
|
325
|
-
var
|
|
326
|
-
__extends(
|
|
327
|
-
function
|
|
398
|
+
var ZipCodesApi = /** @class */ (function (_super) {
|
|
399
|
+
__extends(ZipCodesApi, _super);
|
|
400
|
+
function ZipCodesApi() {
|
|
328
401
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
329
402
|
}
|
|
330
403
|
/**
|
|
331
|
-
*
|
|
332
|
-
* @summary
|
|
333
|
-
* @param {
|
|
404
|
+
* Retrieves the details of the zip code that was previously created. Supply the unique zip code code that was returned when you created it and Emil Api will return the corresponding zip code information.
|
|
405
|
+
* @summary Retrieve the zip code
|
|
406
|
+
* @param {ZipCodesApiGetZipCodeRequest} requestParameters Request parameters.
|
|
407
|
+
* @param {*} [options] Override http request option.
|
|
408
|
+
* @throws {RequiredError}
|
|
409
|
+
* @memberof ZipCodesApi
|
|
410
|
+
*/
|
|
411
|
+
ZipCodesApi.prototype.getZipCode = function (requestParameters, options) {
|
|
412
|
+
var _this = this;
|
|
413
|
+
return (0, exports.ZipCodesApiFp)(this.configuration).getZipCode(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
414
|
+
};
|
|
415
|
+
/**
|
|
416
|
+
* Returns a list of zip codes you have previously created. The zip codes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
417
|
+
* @summary List zip codes
|
|
418
|
+
* @param {ZipCodesApiListZipCodesRequest} requestParameters Request parameters.
|
|
334
419
|
* @param {*} [options] Override http request option.
|
|
335
420
|
* @throws {RequiredError}
|
|
336
|
-
* @memberof
|
|
421
|
+
* @memberof ZipCodesApi
|
|
337
422
|
*/
|
|
338
|
-
|
|
423
|
+
ZipCodesApi.prototype.listZipCodes = function (requestParameters, options) {
|
|
339
424
|
var _this = this;
|
|
340
|
-
|
|
425
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
426
|
+
return (0, exports.ZipCodesApiFp)(this.configuration).listZipCodes(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); });
|
|
341
427
|
};
|
|
342
428
|
/**
|
|
343
|
-
*
|
|
344
|
-
* @summary
|
|
345
|
-
* @param {
|
|
429
|
+
* Store zip codes from file.
|
|
430
|
+
* @summary Create the zip codes
|
|
431
|
+
* @param {ZipCodesApiStoreZipCodesRequest} requestParameters Request parameters.
|
|
346
432
|
* @param {*} [options] Override http request option.
|
|
347
433
|
* @throws {RequiredError}
|
|
348
|
-
* @memberof
|
|
434
|
+
* @memberof ZipCodesApi
|
|
349
435
|
*/
|
|
350
|
-
|
|
436
|
+
ZipCodesApi.prototype.storeZipCodes = function (requestParameters, options) {
|
|
351
437
|
var _this = this;
|
|
352
438
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
353
|
-
return (0, exports.
|
|
439
|
+
return (0, exports.ZipCodesApiFp)(this.configuration).storeZipCodes(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
354
440
|
};
|
|
355
|
-
return
|
|
441
|
+
return ZipCodesApi;
|
|
356
442
|
}(base_1.BaseAPI));
|
|
357
|
-
exports.
|
|
443
|
+
exports.ZipCodesApi = ZipCodesApi;
|
package/dist/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* EMIL
|
|
3
|
-
* The EMIL
|
|
2
|
+
* EMIL GdvService
|
|
3
|
+
* The EMIL GdvService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: kontakt@emil.de
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export * from './api/booking-processes-api';
|
|
13
|
-
export * from './api/financial-accounts-api';
|
|
14
12
|
export * from './api/health-api';
|
|
13
|
+
export * from './api/mailbox-api';
|
|
14
|
+
export * from './api/messages-api';
|
|
15
|
+
export * from './api/users-api';
|
|
16
|
+
export * from './api/vbas-api';
|
|
17
|
+
export * from './api/vbus-api';
|
|
18
|
+
export * from './api/zip-codes-api';
|
package/dist/api.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* EMIL
|
|
6
|
-
* The EMIL
|
|
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
|
|
@@ -27,6 +27,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
__exportStar(require("./api/booking-processes-api"), exports);
|
|
31
|
-
__exportStar(require("./api/financial-accounts-api"), exports);
|
|
32
30
|
__exportStar(require("./api/health-api"), exports);
|
|
31
|
+
__exportStar(require("./api/mailbox-api"), exports);
|
|
32
|
+
__exportStar(require("./api/messages-api"), exports);
|
|
33
|
+
__exportStar(require("./api/users-api"), exports);
|
|
34
|
+
__exportStar(require("./api/vbas-api"), exports);
|
|
35
|
+
__exportStar(require("./api/vbus-api"), exports);
|
|
36
|
+
__exportStar(require("./api/zip-codes-api"), exports);
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* EMIL
|
|
3
|
-
* The EMIL
|
|
2
|
+
* EMIL GdvService
|
|
3
|
+
* The EMIL GdvService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: kontakt@emil.de
|
|
@@ -65,8 +65,8 @@ export declare const toPathString: (url: URL) => string;
|
|
|
65
65
|
*/
|
|
66
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
|
-
* EMIL
|
|
69
|
-
* The EMIL
|
|
68
|
+
* EMIL GdvService
|
|
69
|
+
* The EMIL GdvService API description
|
|
70
70
|
*
|
|
71
71
|
* The version of the OpenAPI document: 1.0
|
|
72
72
|
* Contact: kontakt@emil.de
|
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL GdvService
|
|
3
|
+
* The EMIL GdvService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AddressClass
|
|
16
|
+
*/
|
|
17
|
+
export interface AddressClass {
|
|
18
|
+
/**
|
|
19
|
+
* Zip code.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AddressClass
|
|
22
|
+
*/
|
|
23
|
+
'zipCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Name of the city.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AddressClass
|
|
28
|
+
*/
|
|
29
|
+
'city': string;
|
|
30
|
+
/**
|
|
31
|
+
* Name of the street.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AddressClass
|
|
34
|
+
*/
|
|
35
|
+
'street': string;
|
|
36
|
+
/**
|
|
37
|
+
* House number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AddressClass
|
|
40
|
+
*/
|
|
41
|
+
'houseNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* Additional address.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AddressClass
|
|
46
|
+
*/
|
|
47
|
+
'additionalAddress'?: string;
|
|
48
|
+
}
|