@emilgroup/accounting-sdk 1.15.0 → 1.16.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 +251 -0
- package/api/messages-api.ts +1096 -0
- package/api/users-api.ts +492 -0
- package/api/vbas-api.ts +588 -0
- package/api/vbus-api.ts +697 -0
- package/api/zip-codes-api.ts +439 -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 +311 -0
- package/dist/api/messages-api.d.ts +632 -0
- package/dist/api/messages-api.js +912 -0
- package/dist/api/users-api.d.ts +275 -0
- package/dist/api/users-api.js +508 -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 +643 -0
- package/dist/api/zip-codes-api.d.ts +253 -0
- package/dist/api/{booking-processes-api.js → zip-codes-api.js} +169 -83
- 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 +90 -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 +127 -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 +139 -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 +96 -0
- package/models/request-details-class.ts +54 -0
- package/models/request-message-class.ts +133 -0
- package/models/response-details-class.ts +48 -0
- package/models/response-message-class.ts +145 -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 -353
- package/api/financial-accounts-api.ts +0 -573
- 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
|
|
@@ -86,36 +86,37 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* ZipCodesApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var ZipCodesApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @summary
|
|
98
|
-
* @param {
|
|
99
|
-
* @param {string} [authorization] Bearer Token
|
|
96
|
+
* 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.
|
|
97
|
+
* @summary Retrieve the zip code
|
|
98
|
+
* @param {string} code Unique identifier for the object.
|
|
99
|
+
* @param {string} [authorization] Bearer Token
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
getZipCode: function (code, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
110
|
-
// verify required parameter '
|
|
111
|
-
(0, common_1.assertParamExists)('
|
|
112
|
-
localVarPath = "/
|
|
110
|
+
// verify required parameter 'code' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('getZipCode', 'code', code);
|
|
112
|
+
localVarPath = "/gdvservice/v1/zipcodes/{code}"
|
|
113
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
113
114
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
115
|
if (configuration) {
|
|
115
116
|
baseOptions = configuration.baseOptions;
|
|
116
117
|
baseAccessToken = configuration.accessToken;
|
|
117
118
|
}
|
|
118
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
119
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
119
120
|
localVarHeaderParameter = {};
|
|
120
121
|
localVarQueryParameter = {};
|
|
121
122
|
// authentication bearer required
|
|
@@ -128,11 +129,9 @@ var BookingProcessesApiAxiosParamCreator = function (configuration) {
|
|
|
128
129
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
129
130
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
130
131
|
}
|
|
131
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
132
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
133
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
134
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createBookingProcessRequestDto, localVarRequestOptions, configuration);
|
|
136
135
|
return [2 /*return*/, {
|
|
137
136
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
137
|
options: localVarRequestOptions,
|
|
@@ -142,27 +141,27 @@ var BookingProcessesApiAxiosParamCreator = function (configuration) {
|
|
|
142
141
|
});
|
|
143
142
|
},
|
|
144
143
|
/**
|
|
145
|
-
* Returns a list of
|
|
146
|
-
* @summary List
|
|
147
|
-
* @param {string} [authorization] Bearer Token
|
|
144
|
+
* 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.
|
|
145
|
+
* @summary List zip codes
|
|
146
|
+
* @param {string} [authorization] Bearer Token
|
|
148
147
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
149
148
|
* @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.
|
|
150
|
-
* @param {
|
|
149
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
151
150
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
152
|
-
* @param {
|
|
153
|
-
* @param {
|
|
154
|
-
* @param {
|
|
151
|
+
* @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.
|
|
152
|
+
* @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.
|
|
153
|
+
* @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.
|
|
155
154
|
* @param {*} [options] Override http request option.
|
|
156
155
|
* @throws {RequiredError}
|
|
157
156
|
*/
|
|
158
|
-
|
|
157
|
+
listZipCodes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
159
158
|
if (options === void 0) { options = {}; }
|
|
160
159
|
return __awaiter(_this, void 0, void 0, function () {
|
|
161
160
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
161
|
return __generator(this, function (_a) {
|
|
163
162
|
switch (_a.label) {
|
|
164
163
|
case 0:
|
|
165
|
-
localVarPath = "/
|
|
164
|
+
localVarPath = "/gdvservice/v1/zipcodes";
|
|
166
165
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
167
166
|
if (configuration) {
|
|
168
167
|
baseOptions = configuration.baseOptions;
|
|
@@ -213,30 +212,74 @@ var BookingProcessesApiAxiosParamCreator = function (configuration) {
|
|
|
213
212
|
});
|
|
214
213
|
});
|
|
215
214
|
},
|
|
215
|
+
/**
|
|
216
|
+
* Store zip codes from file.
|
|
217
|
+
* @summary Create the zip codes
|
|
218
|
+
* @param {string} [authorization] Bearer Token
|
|
219
|
+
* @param {*} [options] Override http request option.
|
|
220
|
+
* @throws {RequiredError}
|
|
221
|
+
*/
|
|
222
|
+
storeZipCodes: function (authorization, options) {
|
|
223
|
+
if (options === void 0) { options = {}; }
|
|
224
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
225
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
226
|
+
return __generator(this, function (_a) {
|
|
227
|
+
switch (_a.label) {
|
|
228
|
+
case 0:
|
|
229
|
+
localVarPath = "/gdvservice/v1/zipcodes";
|
|
230
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
231
|
+
if (configuration) {
|
|
232
|
+
baseOptions = configuration.baseOptions;
|
|
233
|
+
baseAccessToken = configuration.accessToken;
|
|
234
|
+
}
|
|
235
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
236
|
+
localVarHeaderParameter = {};
|
|
237
|
+
localVarQueryParameter = {};
|
|
238
|
+
// authentication bearer required
|
|
239
|
+
// http bearer authentication required
|
|
240
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
241
|
+
case 1:
|
|
242
|
+
// authentication bearer required
|
|
243
|
+
// http bearer authentication required
|
|
244
|
+
_a.sent();
|
|
245
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
246
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
247
|
+
}
|
|
248
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
249
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
250
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
251
|
+
return [2 /*return*/, {
|
|
252
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
253
|
+
options: localVarRequestOptions,
|
|
254
|
+
}];
|
|
255
|
+
}
|
|
256
|
+
});
|
|
257
|
+
});
|
|
258
|
+
},
|
|
216
259
|
};
|
|
217
260
|
};
|
|
218
|
-
exports.
|
|
261
|
+
exports.ZipCodesApiAxiosParamCreator = ZipCodesApiAxiosParamCreator;
|
|
219
262
|
/**
|
|
220
|
-
*
|
|
263
|
+
* ZipCodesApi - functional programming interface
|
|
221
264
|
* @export
|
|
222
265
|
*/
|
|
223
|
-
var
|
|
224
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
266
|
+
var ZipCodesApiFp = function (configuration) {
|
|
267
|
+
var localVarAxiosParamCreator = (0, exports.ZipCodesApiAxiosParamCreator)(configuration);
|
|
225
268
|
return {
|
|
226
269
|
/**
|
|
227
|
-
*
|
|
228
|
-
* @summary
|
|
229
|
-
* @param {
|
|
230
|
-
* @param {string} [authorization] Bearer Token
|
|
270
|
+
* 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.
|
|
271
|
+
* @summary Retrieve the zip code
|
|
272
|
+
* @param {string} code Unique identifier for the object.
|
|
273
|
+
* @param {string} [authorization] Bearer Token
|
|
231
274
|
* @param {*} [options] Override http request option.
|
|
232
275
|
* @throws {RequiredError}
|
|
233
276
|
*/
|
|
234
|
-
|
|
277
|
+
getZipCode: function (code, authorization, options) {
|
|
235
278
|
return __awaiter(this, void 0, void 0, function () {
|
|
236
279
|
var localVarAxiosArgs;
|
|
237
280
|
return __generator(this, function (_a) {
|
|
238
281
|
switch (_a.label) {
|
|
239
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
282
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getZipCode(code, authorization, options)];
|
|
240
283
|
case 1:
|
|
241
284
|
localVarAxiosArgs = _a.sent();
|
|
242
285
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -245,25 +288,45 @@ var BookingProcessesApiFp = function (configuration) {
|
|
|
245
288
|
});
|
|
246
289
|
},
|
|
247
290
|
/**
|
|
248
|
-
* Returns a list of
|
|
249
|
-
* @summary List
|
|
250
|
-
* @param {string} [authorization] Bearer Token
|
|
291
|
+
* 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.
|
|
292
|
+
* @summary List zip codes
|
|
293
|
+
* @param {string} [authorization] Bearer Token
|
|
251
294
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
252
295
|
* @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.
|
|
253
|
-
* @param {
|
|
296
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
254
297
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
255
|
-
* @param {
|
|
256
|
-
* @param {
|
|
257
|
-
* @param {
|
|
298
|
+
* @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.
|
|
299
|
+
* @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.
|
|
300
|
+
* @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.
|
|
301
|
+
* @param {*} [options] Override http request option.
|
|
302
|
+
* @throws {RequiredError}
|
|
303
|
+
*/
|
|
304
|
+
listZipCodes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
305
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
306
|
+
var localVarAxiosArgs;
|
|
307
|
+
return __generator(this, function (_a) {
|
|
308
|
+
switch (_a.label) {
|
|
309
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listZipCodes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
310
|
+
case 1:
|
|
311
|
+
localVarAxiosArgs = _a.sent();
|
|
312
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
});
|
|
316
|
+
},
|
|
317
|
+
/**
|
|
318
|
+
* Store zip codes from file.
|
|
319
|
+
* @summary Create the zip codes
|
|
320
|
+
* @param {string} [authorization] Bearer Token
|
|
258
321
|
* @param {*} [options] Override http request option.
|
|
259
322
|
* @throws {RequiredError}
|
|
260
323
|
*/
|
|
261
|
-
|
|
324
|
+
storeZipCodes: function (authorization, options) {
|
|
262
325
|
return __awaiter(this, void 0, void 0, function () {
|
|
263
326
|
var localVarAxiosArgs;
|
|
264
327
|
return __generator(this, function (_a) {
|
|
265
328
|
switch (_a.label) {
|
|
266
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
329
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.storeZipCodes(authorization, options)];
|
|
267
330
|
case 1:
|
|
268
331
|
localVarAxiosArgs = _a.sent();
|
|
269
332
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -273,81 +336,104 @@ var BookingProcessesApiFp = function (configuration) {
|
|
|
273
336
|
},
|
|
274
337
|
};
|
|
275
338
|
};
|
|
276
|
-
exports.
|
|
339
|
+
exports.ZipCodesApiFp = ZipCodesApiFp;
|
|
277
340
|
/**
|
|
278
|
-
*
|
|
341
|
+
* ZipCodesApi - factory interface
|
|
279
342
|
* @export
|
|
280
343
|
*/
|
|
281
|
-
var
|
|
282
|
-
var localVarFp = (0, exports.
|
|
344
|
+
var ZipCodesApiFactory = function (configuration, basePath, axios) {
|
|
345
|
+
var localVarFp = (0, exports.ZipCodesApiFp)(configuration);
|
|
283
346
|
return {
|
|
284
347
|
/**
|
|
285
|
-
*
|
|
286
|
-
* @summary
|
|
287
|
-
* @param {
|
|
288
|
-
* @param {string} [authorization] Bearer Token
|
|
348
|
+
* 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.
|
|
349
|
+
* @summary Retrieve the zip code
|
|
350
|
+
* @param {string} code Unique identifier for the object.
|
|
351
|
+
* @param {string} [authorization] Bearer Token
|
|
289
352
|
* @param {*} [options] Override http request option.
|
|
290
353
|
* @throws {RequiredError}
|
|
291
354
|
*/
|
|
292
|
-
|
|
293
|
-
return localVarFp.
|
|
355
|
+
getZipCode: function (code, authorization, options) {
|
|
356
|
+
return localVarFp.getZipCode(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
294
357
|
},
|
|
295
358
|
/**
|
|
296
|
-
* Returns a list of
|
|
297
|
-
* @summary List
|
|
298
|
-
* @param {string} [authorization] Bearer Token
|
|
359
|
+
* 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.
|
|
360
|
+
* @summary List zip codes
|
|
361
|
+
* @param {string} [authorization] Bearer Token
|
|
299
362
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
300
363
|
* @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.
|
|
301
|
-
* @param {
|
|
364
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
302
365
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
303
|
-
* @param {
|
|
304
|
-
* @param {
|
|
305
|
-
* @param {
|
|
366
|
+
* @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.
|
|
367
|
+
* @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.
|
|
368
|
+
* @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.
|
|
306
369
|
* @param {*} [options] Override http request option.
|
|
307
370
|
* @throws {RequiredError}
|
|
308
371
|
*/
|
|
309
|
-
|
|
310
|
-
return localVarFp.
|
|
372
|
+
listZipCodes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
373
|
+
return localVarFp.listZipCodes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
374
|
+
},
|
|
375
|
+
/**
|
|
376
|
+
* Store zip codes from file.
|
|
377
|
+
* @summary Create the zip codes
|
|
378
|
+
* @param {string} [authorization] Bearer Token
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
*/
|
|
382
|
+
storeZipCodes: function (authorization, options) {
|
|
383
|
+
return localVarFp.storeZipCodes(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
311
384
|
},
|
|
312
385
|
};
|
|
313
386
|
};
|
|
314
|
-
exports.
|
|
387
|
+
exports.ZipCodesApiFactory = ZipCodesApiFactory;
|
|
315
388
|
/**
|
|
316
|
-
*
|
|
389
|
+
* ZipCodesApi - object-oriented interface
|
|
317
390
|
* @export
|
|
318
|
-
* @class
|
|
391
|
+
* @class ZipCodesApi
|
|
319
392
|
* @extends {BaseAPI}
|
|
320
393
|
*/
|
|
321
|
-
var
|
|
322
|
-
__extends(
|
|
323
|
-
function
|
|
394
|
+
var ZipCodesApi = /** @class */ (function (_super) {
|
|
395
|
+
__extends(ZipCodesApi, _super);
|
|
396
|
+
function ZipCodesApi() {
|
|
324
397
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
325
398
|
}
|
|
326
399
|
/**
|
|
327
|
-
*
|
|
328
|
-
* @summary
|
|
329
|
-
* @param {
|
|
400
|
+
* 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.
|
|
401
|
+
* @summary Retrieve the zip code
|
|
402
|
+
* @param {ZipCodesApiGetZipCodeRequest} requestParameters Request parameters.
|
|
403
|
+
* @param {*} [options] Override http request option.
|
|
404
|
+
* @throws {RequiredError}
|
|
405
|
+
* @memberof ZipCodesApi
|
|
406
|
+
*/
|
|
407
|
+
ZipCodesApi.prototype.getZipCode = function (requestParameters, options) {
|
|
408
|
+
var _this = this;
|
|
409
|
+
return (0, exports.ZipCodesApiFp)(this.configuration).getZipCode(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* 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.
|
|
413
|
+
* @summary List zip codes
|
|
414
|
+
* @param {ZipCodesApiListZipCodesRequest} requestParameters Request parameters.
|
|
330
415
|
* @param {*} [options] Override http request option.
|
|
331
416
|
* @throws {RequiredError}
|
|
332
|
-
* @memberof
|
|
417
|
+
* @memberof ZipCodesApi
|
|
333
418
|
*/
|
|
334
|
-
|
|
419
|
+
ZipCodesApi.prototype.listZipCodes = function (requestParameters, options) {
|
|
335
420
|
var _this = this;
|
|
336
|
-
|
|
421
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
422
|
+
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); });
|
|
337
423
|
};
|
|
338
424
|
/**
|
|
339
|
-
*
|
|
340
|
-
* @summary
|
|
341
|
-
* @param {
|
|
425
|
+
* Store zip codes from file.
|
|
426
|
+
* @summary Create the zip codes
|
|
427
|
+
* @param {ZipCodesApiStoreZipCodesRequest} requestParameters Request parameters.
|
|
342
428
|
* @param {*} [options] Override http request option.
|
|
343
429
|
* @throws {RequiredError}
|
|
344
|
-
* @memberof
|
|
430
|
+
* @memberof ZipCodesApi
|
|
345
431
|
*/
|
|
346
|
-
|
|
432
|
+
ZipCodesApi.prototype.storeZipCodes = function (requestParameters, options) {
|
|
347
433
|
var _this = this;
|
|
348
434
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
349
|
-
return (0, exports.
|
|
435
|
+
return (0, exports.ZipCodesApiFp)(this.configuration).storeZipCodes(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
350
436
|
};
|
|
351
|
-
return
|
|
437
|
+
return ZipCodesApi;
|
|
352
438
|
}(base_1.BaseAPI));
|
|
353
|
-
exports.
|
|
439
|
+
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
|
|
@@ -64,8 +64,8 @@ export declare const toPathString: (url: URL) => string;
|
|
|
64
64
|
*/
|
|
65
65
|
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
66
|
/**
|
|
67
|
-
* EMIL
|
|
68
|
-
* The EMIL
|
|
67
|
+
* EMIL GdvService
|
|
68
|
+
* The EMIL GdvService API description
|
|
69
69
|
*
|
|
70
70
|
* The version of the OpenAPI document: 1.0
|
|
71
71
|
* 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
|
+
}
|