@emilgroup/accounting-sdk-node 1.22.0 → 1.22.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +29 -52
- package/README.md +2 -2
- package/api/{zip-codes-api.ts → booking-entries-api.ts} +195 -162
- package/api/financial-accounts-api.ts +577 -0
- package/api/financial-transactions-api.ts +369 -0
- package/api/health-api.ts +7 -7
- package/api/number-ranges-api.ts +577 -0
- package/api/personal-accounts-api.ts +577 -0
- package/api.ts +12 -14
- package/base.ts +2 -2
- package/common.ts +4 -4
- package/configuration.ts +2 -2
- package/dist/api/{zip-codes-api.d.ts → booking-entries-api.d.ts} +130 -111
- package/dist/api/{zip-codes-api.js → booking-entries-api.js} +144 -130
- package/dist/api/financial-accounts-api.d.ts +327 -0
- package/dist/api/{users-api.js → financial-accounts-api.js} +171 -134
- package/dist/api/financial-transactions-api.d.ts +215 -0
- package/dist/api/financial-transactions-api.js +364 -0
- package/dist/api/health-api.d.ts +6 -6
- package/dist/api/health-api.js +7 -7
- package/dist/api/number-ranges-api.d.ts +327 -0
- package/dist/api/{vbas-api.js → number-ranges-api.js} +156 -161
- package/dist/api/personal-accounts-api.d.ts +327 -0
- package/dist/api/{vbus-api.js → personal-accounts-api.js} +136 -234
- package/dist/api.d.ts +7 -8
- package/dist/api.js +7 -8
- 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/booking-entry-class.d.ts +123 -0
- package/dist/models/{create-vbuv-request-dto.js → booking-entry-class.js} +15 -6
- package/dist/models/create-booking-entry-request-dto.d.ts +61 -0
- package/dist/models/{address-class.js → create-booking-entry-request-dto.js} +2 -2
- package/dist/models/create-booking-entry-response-class.d.ts +25 -0
- package/dist/models/{create-user-response-class.js → create-booking-entry-response-class.js} +2 -2
- package/dist/models/create-financial-account-request-dto.d.ts +75 -0
- package/dist/models/create-financial-account-request-dto.js +24 -0
- package/dist/models/create-financial-account-response-class.d.ts +25 -0
- package/dist/models/{create-mailbox-request-dto.js → create-financial-account-response-class.js} +2 -2
- package/dist/models/create-number-range-request-dto.d.ts +53 -0
- package/dist/models/create-number-range-request-dto.js +26 -0
- package/dist/models/create-number-range-response-class.d.ts +25 -0
- package/dist/models/{create-vba-response-class.js → create-number-range-response-class.js} +2 -2
- package/dist/models/create-personal-account-request-dto.d.ts +60 -0
- package/dist/models/{create-vba-request-dto.js → create-personal-account-request-dto.js} +7 -6
- package/dist/models/create-personal-account-response-class.d.ts +25 -0
- package/dist/models/create-personal-account-response-class.js +15 -0
- package/dist/models/financial-account-class.d.ts +111 -0
- package/dist/models/{create-vbu-request-dto.js → financial-account-class.js} +10 -6
- package/dist/models/financial-transaction-class.d.ts +114 -0
- package/dist/models/financial-transaction-class.js +15 -0
- package/dist/models/financial-transaction-data-dto.d.ts +71 -0
- package/dist/models/financial-transaction-data-dto.js +25 -0
- package/dist/models/get-booking-entry-response-class.d.ts +25 -0
- package/dist/models/get-booking-entry-response-class.js +15 -0
- package/dist/models/get-financial-account-response-class.d.ts +25 -0
- package/dist/models/get-financial-account-response-class.js +15 -0
- package/dist/models/get-financial-transaction-response-class.d.ts +25 -0
- package/dist/models/get-financial-transaction-response-class.js +15 -0
- package/dist/models/get-number-range-response-class.d.ts +25 -0
- package/dist/models/get-number-range-response-class.js +15 -0
- package/dist/models/get-personal-account-response-class.d.ts +25 -0
- package/dist/models/get-personal-account-response-class.js +15 -0
- package/dist/models/index.d.ts +24 -46
- package/dist/models/index.js +24 -46
- 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-booking-entries-response-class.d.ts +31 -0
- package/dist/models/list-booking-entries-response-class.js +15 -0
- package/dist/models/list-financial-accounts-response-class.d.ts +31 -0
- package/dist/models/list-financial-accounts-response-class.js +15 -0
- package/dist/models/list-financial-transactions-response-class.d.ts +31 -0
- package/dist/models/list-financial-transactions-response-class.js +15 -0
- package/dist/models/list-number-range-response-class.d.ts +31 -0
- package/dist/models/list-number-range-response-class.js +15 -0
- package/dist/models/list-personal-accounts-response-class.d.ts +31 -0
- package/dist/models/list-personal-accounts-response-class.js +15 -0
- package/dist/models/number-range-class.d.ts +84 -0
- package/dist/models/number-range-class.js +15 -0
- package/dist/models/personal-account-class.d.ts +105 -0
- package/dist/models/{create-user-request-dto.js → personal-account-class.js} +10 -10
- package/index.ts +2 -2
- package/models/booking-entry-class.ts +132 -0
- package/models/create-booking-entry-request-dto.ts +67 -0
- package/models/create-booking-entry-response-class.ts +31 -0
- package/models/create-financial-account-request-dto.ts +84 -0
- package/models/create-financial-account-response-class.ts +31 -0
- package/models/create-number-range-request-dto.ts +62 -0
- package/models/create-number-range-response-class.ts +31 -0
- package/models/create-personal-account-request-dto.ts +69 -0
- package/models/create-personal-account-response-class.ts +31 -0
- package/models/financial-account-class.ts +120 -0
- package/models/financial-transaction-class.ts +120 -0
- package/models/financial-transaction-data-dto.ts +81 -0
- package/models/get-booking-entry-response-class.ts +31 -0
- package/models/get-financial-account-response-class.ts +31 -0
- package/models/get-financial-transaction-response-class.ts +31 -0
- package/models/get-number-range-response-class.ts +31 -0
- package/models/get-personal-account-response-class.ts +31 -0
- package/models/index.ts +24 -46
- package/models/inline-response200.ts +2 -2
- package/models/inline-response503.ts +2 -2
- package/models/list-booking-entries-response-class.ts +37 -0
- package/models/list-financial-accounts-response-class.ts +37 -0
- package/models/list-financial-transactions-response-class.ts +37 -0
- package/models/list-number-range-response-class.ts +37 -0
- package/models/list-personal-accounts-response-class.ts +37 -0
- package/models/number-range-class.ts +90 -0
- package/models/personal-account-class.ts +114 -0
- package/package.json +1 -1
- package/api/mailbox-api.ts +0 -255
- package/api/messages-api.ts +0 -1100
- package/api/users-api.ts +0 -496
- package/api/vbas-api.ts +0 -592
- package/api/vbus-api.ts +0 -701
- package/dist/api/mailbox-api.d.ts +0 -142
- package/dist/api/mailbox-api.js +0 -315
- package/dist/api/messages-api.d.ts +0 -632
- package/dist/api/messages-api.js +0 -916
- package/dist/api/users-api.d.ts +0 -275
- package/dist/api/vbas-api.d.ts +0 -337
- package/dist/api/vbus-api.d.ts +0 -395
- package/dist/models/address-class.d.ts +0 -48
- package/dist/models/create-mailbox-request-dto.d.ts +0 -36
- package/dist/models/create-user-request-dto.d.ts +0 -76
- package/dist/models/create-user-response-class.d.ts +0 -25
- package/dist/models/create-vba-request-dto.d.ts +0 -41
- package/dist/models/create-vba-response-class.d.ts +0 -24
- package/dist/models/create-vbu-request-dto.d.ts +0 -41
- package/dist/models/create-vbu-response-class.d.ts +0 -24
- package/dist/models/create-vbu-response-class.js +0 -15
- package/dist/models/create-vbuv-request-dto.d.ts +0 -41
- package/dist/models/create-vbuv-response-class.d.ts +0 -24
- package/dist/models/create-vbuv-response-class.js +0 -15
- package/dist/models/get-request-message-response-class.d.ts +0 -25
- package/dist/models/get-request-message-response-class.js +0 -15
- package/dist/models/get-response-message-response-class.d.ts +0 -25
- package/dist/models/get-response-message-response-class.js +0 -15
- package/dist/models/get-user-response-class.d.ts +0 -25
- package/dist/models/get-user-response-class.js +0 -15
- package/dist/models/get-vba-response-class.d.ts +0 -25
- package/dist/models/get-vba-response-class.js +0 -15
- package/dist/models/get-vbu-response-class.d.ts +0 -25
- package/dist/models/get-vbu-response-class.js +0 -15
- package/dist/models/get-zip-code-response-class.d.ts +0 -25
- package/dist/models/get-zip-code-response-class.js +0 -15
- package/dist/models/list-all-messages-response-class.d.ts +0 -31
- package/dist/models/list-all-messages-response-class.js +0 -15
- package/dist/models/list-requests-messages-response-class.d.ts +0 -31
- package/dist/models/list-requests-messages-response-class.js +0 -15
- package/dist/models/list-responses-messages-response-class.d.ts +0 -31
- package/dist/models/list-responses-messages-response-class.js +0 -15
- package/dist/models/list-users-response-class.d.ts +0 -31
- package/dist/models/list-users-response-class.js +0 -15
- package/dist/models/list-vbas-response-class.d.ts +0 -31
- package/dist/models/list-vbas-response-class.js +0 -15
- package/dist/models/list-vbus-response-class.d.ts +0 -31
- package/dist/models/list-vbus-response-class.js +0 -15
- package/dist/models/list-zip-codes-response-class.d.ts +0 -31
- package/dist/models/list-zip-codes-response-class.js +0 -15
- package/dist/models/message-class.d.ts +0 -90
- package/dist/models/message-class.js +0 -15
- package/dist/models/request-details-class.d.ts +0 -48
- package/dist/models/request-details-class.js +0 -15
- package/dist/models/request-message-class.d.ts +0 -127
- package/dist/models/request-message-class.js +0 -15
- package/dist/models/response-details-class.d.ts +0 -42
- package/dist/models/response-details-class.js +0 -15
- package/dist/models/response-message-class.d.ts +0 -139
- package/dist/models/response-message-class.js +0 -15
- package/dist/models/store-zip-codes-request-dto.d.ts +0 -25
- package/dist/models/store-zip-codes-request-dto.js +0 -15
- package/dist/models/store-zip-codes-response-class.d.ts +0 -25
- package/dist/models/store-zip-codes-response-class.js +0 -15
- package/dist/models/update-request-message-request-dto.d.ts +0 -36
- package/dist/models/update-request-message-request-dto.js +0 -15
- package/dist/models/update-request-message-response-class.d.ts +0 -25
- package/dist/models/update-request-message-response-class.js +0 -15
- package/dist/models/update-response-message-request-dto.d.ts +0 -36
- package/dist/models/update-response-message-request-dto.js +0 -15
- package/dist/models/update-response-message-response-class.d.ts +0 -25
- package/dist/models/update-response-message-response-class.js +0 -15
- package/dist/models/update-user-request-dto.d.ts +0 -82
- package/dist/models/update-user-request-dto.js +0 -24
- package/dist/models/update-user-response-class.d.ts +0 -25
- package/dist/models/update-user-response-class.js +0 -15
- package/dist/models/update-vba-request-dto.d.ts +0 -30
- package/dist/models/update-vba-request-dto.js +0 -15
- package/dist/models/update-vbu-request-dto.d.ts +0 -30
- package/dist/models/update-vbu-request-dto.js +0 -15
- package/dist/models/update-vbu-response-class.d.ts +0 -25
- package/dist/models/update-vbu-response-class.js +0 -15
- package/dist/models/user-class.d.ts +0 -107
- package/dist/models/user-class.js +0 -20
- package/dist/models/vba-class.d.ts +0 -116
- package/dist/models/vba-class.js +0 -15
- package/dist/models/vba-response-class.d.ts +0 -48
- package/dist/models/vba-response-class.js +0 -15
- package/dist/models/vbu-class.d.ts +0 -115
- package/dist/models/vbu-class.js +0 -15
- package/dist/models/vbu-response-class.d.ts +0 -48
- package/dist/models/vbu-response-class.js +0 -15
- package/dist/models/xlsx-zip-code-dto.d.ts +0 -30
- package/dist/models/xlsx-zip-code-dto.js +0 -15
- package/dist/models/zip-code-class.d.ts +0 -60
- package/dist/models/zip-code-class.js +0 -15
- package/models/address-class.ts +0 -54
- package/models/create-mailbox-request-dto.ts +0 -42
- package/models/create-user-request-dto.ts +0 -86
- package/models/create-user-response-class.ts +0 -31
- package/models/create-vba-request-dto.ts +0 -50
- package/models/create-vba-response-class.ts +0 -30
- package/models/create-vbu-request-dto.ts +0 -50
- package/models/create-vbu-response-class.ts +0 -30
- package/models/create-vbuv-request-dto.ts +0 -50
- package/models/create-vbuv-response-class.ts +0 -30
- package/models/get-request-message-response-class.ts +0 -31
- package/models/get-response-message-response-class.ts +0 -31
- package/models/get-user-response-class.ts +0 -31
- package/models/get-vba-response-class.ts +0 -31
- package/models/get-vbu-response-class.ts +0 -31
- package/models/get-zip-code-response-class.ts +0 -31
- package/models/list-all-messages-response-class.ts +0 -37
- package/models/list-requests-messages-response-class.ts +0 -37
- package/models/list-responses-messages-response-class.ts +0 -37
- package/models/list-users-response-class.ts +0 -37
- package/models/list-vbas-response-class.ts +0 -37
- package/models/list-vbus-response-class.ts +0 -37
- package/models/list-zip-codes-response-class.ts +0 -37
- package/models/message-class.ts +0 -96
- package/models/request-details-class.ts +0 -54
- package/models/request-message-class.ts +0 -133
- package/models/response-details-class.ts +0 -48
- package/models/response-message-class.ts +0 -145
- package/models/store-zip-codes-request-dto.ts +0 -31
- package/models/store-zip-codes-response-class.ts +0 -31
- package/models/update-request-message-request-dto.ts +0 -42
- package/models/update-request-message-response-class.ts +0 -31
- package/models/update-response-message-request-dto.ts +0 -42
- package/models/update-response-message-response-class.ts +0 -31
- package/models/update-user-request-dto.ts +0 -92
- package/models/update-user-response-class.ts +0 -31
- package/models/update-vba-request-dto.ts +0 -36
- package/models/update-vbu-request-dto.ts +0 -36
- package/models/update-vbu-response-class.ts +0 -31
- package/models/user-class.ts +0 -116
- package/models/vba-class.ts +0 -122
- package/models/vba-response-class.ts +0 -54
- package/models/vbu-class.ts +0 -121
- package/models/vbu-response-class.ts +0 -54
- package/models/xlsx-zip-code-dto.ts +0 -36
- package/models/zip-code-class.ts +0 -66
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* EMIL
|
|
5
|
-
* The EMIL
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
|
@@ -21,34 +21,35 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import {
|
|
24
|
+
import { CreateBookingEntryRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import {
|
|
26
|
+
import { CreateBookingEntryResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import {
|
|
28
|
+
import { GetBookingEntryResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { ListBookingEntriesResponseClass } from '../models';
|
|
29
31
|
// URLSearchParams not necessarily used
|
|
30
32
|
// @ts-ignore
|
|
31
33
|
import { URL, URLSearchParams } from 'url';
|
|
32
34
|
const FormData = require('form-data');
|
|
33
35
|
/**
|
|
34
|
-
*
|
|
36
|
+
* BookingEntriesApi - axios parameter creator
|
|
35
37
|
* @export
|
|
36
38
|
*/
|
|
37
|
-
export const
|
|
39
|
+
export const BookingEntriesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38
40
|
return {
|
|
39
41
|
/**
|
|
40
|
-
*
|
|
41
|
-
* @summary
|
|
42
|
-
* @param {
|
|
43
|
-
* @param {string} [authorization] Bearer Token
|
|
42
|
+
* This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
|
|
43
|
+
* @summary Create the booking entry
|
|
44
|
+
* @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
|
|
45
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
44
46
|
* @param {*} [options] Override http request option.
|
|
45
47
|
* @throws {RequiredError}
|
|
46
48
|
*/
|
|
47
|
-
|
|
48
|
-
// verify required parameter '
|
|
49
|
-
assertParamExists('
|
|
50
|
-
const localVarPath = `/
|
|
51
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
49
|
+
createBookingEntry: async (createBookingEntryRequestDto: CreateBookingEntryRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
+
// verify required parameter 'createBookingEntryRequestDto' is not null or undefined
|
|
51
|
+
assertParamExists('createBookingEntry', 'createBookingEntryRequestDto', createBookingEntryRequestDto)
|
|
52
|
+
const localVarPath = `/accountingservice/v1/booking-entries`;
|
|
52
53
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53
54
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
54
55
|
let baseOptions;
|
|
@@ -58,7 +59,7 @@ export const ZipCodesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
58
59
|
baseAccessToken = configuration.accessToken;
|
|
59
60
|
}
|
|
60
61
|
|
|
61
|
-
const localVarRequestOptions = { method: '
|
|
62
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
62
63
|
const localVarHeaderParameter = {} as any;
|
|
63
64
|
const localVarQueryParameter = {} as any;
|
|
64
65
|
|
|
@@ -72,9 +73,12 @@ export const ZipCodesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
72
73
|
|
|
73
74
|
|
|
74
75
|
|
|
76
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
77
|
+
|
|
75
78
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
76
79
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
80
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createBookingEntryRequestDto, localVarRequestOptions, configuration)
|
|
78
82
|
|
|
79
83
|
return {
|
|
80
84
|
url: toPathString(localVarUrlObj),
|
|
@@ -82,21 +86,21 @@ export const ZipCodesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
82
86
|
};
|
|
83
87
|
},
|
|
84
88
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @summary
|
|
87
|
-
* @param {string}
|
|
88
|
-
* @param {
|
|
89
|
-
* @param {string} [
|
|
90
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
91
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
92
|
-
* @param {string} [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.
|
|
93
|
-
* @param {string} [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.
|
|
94
|
-
* @param {string} [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.
|
|
89
|
+
* This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
|
|
90
|
+
* @summary Retrieve the booking entry
|
|
91
|
+
* @param {string} code
|
|
92
|
+
* @param {string} expand
|
|
93
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
95
94
|
* @param {*} [options] Override http request option.
|
|
96
95
|
* @throws {RequiredError}
|
|
97
96
|
*/
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
getBookingEntry: async (code: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
|
+
// verify required parameter 'code' is not null or undefined
|
|
99
|
+
assertParamExists('getBookingEntry', 'code', code)
|
|
100
|
+
// verify required parameter 'expand' is not null or undefined
|
|
101
|
+
assertParamExists('getBookingEntry', 'expand', expand)
|
|
102
|
+
const localVarPath = `/accountingservice/v1/booking-entries/{code}`
|
|
103
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
100
104
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101
105
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102
106
|
let baseOptions;
|
|
@@ -114,34 +118,10 @@ export const ZipCodesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
114
118
|
// http bearer authentication required
|
|
115
119
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
116
120
|
|
|
117
|
-
if (pageSize !== undefined) {
|
|
118
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
if (pageToken !== undefined) {
|
|
122
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
if (filter !== undefined) {
|
|
126
|
-
localVarQueryParameter['filter'] = filter;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
if (search !== undefined) {
|
|
130
|
-
localVarQueryParameter['search'] = search;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
if (order !== undefined) {
|
|
134
|
-
localVarQueryParameter['order'] = order;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
121
|
if (expand !== undefined) {
|
|
138
122
|
localVarQueryParameter['expand'] = expand;
|
|
139
123
|
}
|
|
140
124
|
|
|
141
|
-
if (filters !== undefined) {
|
|
142
|
-
localVarQueryParameter['filters'] = filters;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
125
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
146
126
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
147
127
|
}
|
|
@@ -158,14 +138,21 @@ export const ZipCodesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
158
138
|
};
|
|
159
139
|
},
|
|
160
140
|
/**
|
|
161
|
-
*
|
|
162
|
-
* @summary
|
|
163
|
-
* @param {string} [authorization] Bearer Token
|
|
141
|
+
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
|
|
142
|
+
* @summary List booking entries
|
|
143
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
145
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
146
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
147
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
148
|
+
* @param {string} [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.
|
|
149
|
+
* @param {string} [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.
|
|
150
|
+
* @param {string} [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.
|
|
164
151
|
* @param {*} [options] Override http request option.
|
|
165
152
|
* @throws {RequiredError}
|
|
166
153
|
*/
|
|
167
|
-
|
|
168
|
-
const localVarPath = `/
|
|
154
|
+
listBookingEntries: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
155
|
+
const localVarPath = `/accountingservice/v1/booking-entries`;
|
|
169
156
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
170
157
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
171
158
|
let baseOptions;
|
|
@@ -175,7 +162,7 @@ export const ZipCodesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
175
162
|
baseAccessToken = configuration.accessToken;
|
|
176
163
|
}
|
|
177
164
|
|
|
178
|
-
const localVarRequestOptions = { method: '
|
|
165
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
179
166
|
const localVarHeaderParameter = {} as any;
|
|
180
167
|
const localVarQueryParameter = {} as any;
|
|
181
168
|
|
|
@@ -183,6 +170,34 @@ export const ZipCodesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
183
170
|
// http bearer authentication required
|
|
184
171
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
185
172
|
|
|
173
|
+
if (pageSize !== undefined) {
|
|
174
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
if (pageToken !== undefined) {
|
|
178
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
if (filter !== undefined) {
|
|
182
|
+
localVarQueryParameter['filter'] = filter;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if (search !== undefined) {
|
|
186
|
+
localVarQueryParameter['search'] = search;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
if (order !== undefined) {
|
|
190
|
+
localVarQueryParameter['order'] = order;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
if (expand !== undefined) {
|
|
194
|
+
localVarQueryParameter['expand'] = expand;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
if (filters !== undefined) {
|
|
198
|
+
localVarQueryParameter['filters'] = filters;
|
|
199
|
+
}
|
|
200
|
+
|
|
186
201
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
187
202
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
188
203
|
}
|
|
@@ -202,28 +217,41 @@ export const ZipCodesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
202
217
|
};
|
|
203
218
|
|
|
204
219
|
/**
|
|
205
|
-
*
|
|
220
|
+
* BookingEntriesApi - functional programming interface
|
|
206
221
|
* @export
|
|
207
222
|
*/
|
|
208
|
-
export const
|
|
209
|
-
const localVarAxiosParamCreator =
|
|
223
|
+
export const BookingEntriesApiFp = function(configuration?: Configuration) {
|
|
224
|
+
const localVarAxiosParamCreator = BookingEntriesApiAxiosParamCreator(configuration)
|
|
210
225
|
return {
|
|
211
226
|
/**
|
|
212
|
-
*
|
|
213
|
-
* @summary
|
|
214
|
-
* @param {
|
|
215
|
-
* @param {string} [authorization] Bearer Token
|
|
227
|
+
* This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
|
|
228
|
+
* @summary Create the booking entry
|
|
229
|
+
* @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
|
|
230
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
216
231
|
* @param {*} [options] Override http request option.
|
|
217
232
|
* @throws {RequiredError}
|
|
218
233
|
*/
|
|
219
|
-
async
|
|
220
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
234
|
+
async createBookingEntry(createBookingEntryRequestDto: CreateBookingEntryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingEntryResponseClass>> {
|
|
235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createBookingEntry(createBookingEntryRequestDto, authorization, options);
|
|
221
236
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
222
237
|
},
|
|
223
238
|
/**
|
|
224
|
-
*
|
|
225
|
-
* @summary
|
|
226
|
-
* @param {string}
|
|
239
|
+
* This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
|
|
240
|
+
* @summary Retrieve the booking entry
|
|
241
|
+
* @param {string} code
|
|
242
|
+
* @param {string} expand
|
|
243
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
244
|
+
* @param {*} [options] Override http request option.
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
*/
|
|
247
|
+
async getBookingEntry(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingEntryResponseClass>> {
|
|
248
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingEntry(code, expand, authorization, options);
|
|
249
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
250
|
+
},
|
|
251
|
+
/**
|
|
252
|
+
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
|
|
253
|
+
* @summary List booking entries
|
|
254
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
227
255
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
228
256
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
229
257
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -234,46 +262,47 @@ export const ZipCodesApiFp = function(configuration?: Configuration) {
|
|
|
234
262
|
* @param {*} [options] Override http request option.
|
|
235
263
|
* @throws {RequiredError}
|
|
236
264
|
*/
|
|
237
|
-
async
|
|
238
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
239
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
240
|
-
},
|
|
241
|
-
/**
|
|
242
|
-
* Store zip codes from file. **Required Permissions** none
|
|
243
|
-
* @summary Create the zip codes
|
|
244
|
-
* @param {string} [authorization] Bearer Token
|
|
245
|
-
* @param {*} [options] Override http request option.
|
|
246
|
-
* @throws {RequiredError}
|
|
247
|
-
*/
|
|
248
|
-
async storeZipCodes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreZipCodesResponseClass>> {
|
|
249
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.storeZipCodes(authorization, options);
|
|
265
|
+
async listBookingEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBookingEntriesResponseClass>> {
|
|
266
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBookingEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
250
267
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
251
268
|
},
|
|
252
269
|
}
|
|
253
270
|
};
|
|
254
271
|
|
|
255
272
|
/**
|
|
256
|
-
*
|
|
273
|
+
* BookingEntriesApi - factory interface
|
|
257
274
|
* @export
|
|
258
275
|
*/
|
|
259
|
-
export const
|
|
260
|
-
const localVarFp =
|
|
276
|
+
export const BookingEntriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
277
|
+
const localVarFp = BookingEntriesApiFp(configuration)
|
|
261
278
|
return {
|
|
262
279
|
/**
|
|
263
|
-
*
|
|
264
|
-
* @summary
|
|
265
|
-
* @param {
|
|
266
|
-
* @param {string} [authorization] Bearer Token
|
|
280
|
+
* This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
|
|
281
|
+
* @summary Create the booking entry
|
|
282
|
+
* @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
|
|
283
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
284
|
+
* @param {*} [options] Override http request option.
|
|
285
|
+
* @throws {RequiredError}
|
|
286
|
+
*/
|
|
287
|
+
createBookingEntry(createBookingEntryRequestDto: CreateBookingEntryRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBookingEntryResponseClass> {
|
|
288
|
+
return localVarFp.createBookingEntry(createBookingEntryRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
289
|
+
},
|
|
290
|
+
/**
|
|
291
|
+
* This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
|
|
292
|
+
* @summary Retrieve the booking entry
|
|
293
|
+
* @param {string} code
|
|
294
|
+
* @param {string} expand
|
|
295
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
267
296
|
* @param {*} [options] Override http request option.
|
|
268
297
|
* @throws {RequiredError}
|
|
269
298
|
*/
|
|
270
|
-
|
|
271
|
-
return localVarFp.
|
|
299
|
+
getBookingEntry(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetBookingEntryResponseClass> {
|
|
300
|
+
return localVarFp.getBookingEntry(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
272
301
|
},
|
|
273
302
|
/**
|
|
274
|
-
*
|
|
275
|
-
* @summary List
|
|
276
|
-
* @param {string} [authorization] Bearer Token
|
|
303
|
+
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
|
|
304
|
+
* @summary List booking entries
|
|
305
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
277
306
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
278
307
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
279
308
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -284,160 +313,164 @@ export const ZipCodesApiFactory = function (configuration?: Configuration, baseP
|
|
|
284
313
|
* @param {*} [options] Override http request option.
|
|
285
314
|
* @throws {RequiredError}
|
|
286
315
|
*/
|
|
287
|
-
|
|
288
|
-
return localVarFp.
|
|
289
|
-
},
|
|
290
|
-
/**
|
|
291
|
-
* Store zip codes from file. **Required Permissions** none
|
|
292
|
-
* @summary Create the zip codes
|
|
293
|
-
* @param {string} [authorization] Bearer Token
|
|
294
|
-
* @param {*} [options] Override http request option.
|
|
295
|
-
* @throws {RequiredError}
|
|
296
|
-
*/
|
|
297
|
-
storeZipCodes(authorization?: string, options?: any): AxiosPromise<StoreZipCodesResponseClass> {
|
|
298
|
-
return localVarFp.storeZipCodes(authorization, options).then((request) => request(axios, basePath));
|
|
316
|
+
listBookingEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBookingEntriesResponseClass> {
|
|
317
|
+
return localVarFp.listBookingEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
299
318
|
},
|
|
300
319
|
};
|
|
301
320
|
};
|
|
302
321
|
|
|
303
322
|
/**
|
|
304
|
-
* Request parameters for
|
|
323
|
+
* Request parameters for createBookingEntry operation in BookingEntriesApi.
|
|
324
|
+
* @export
|
|
325
|
+
* @interface BookingEntriesApiCreateBookingEntryRequest
|
|
326
|
+
*/
|
|
327
|
+
export interface BookingEntriesApiCreateBookingEntryRequest {
|
|
328
|
+
/**
|
|
329
|
+
*
|
|
330
|
+
* @type {CreateBookingEntryRequestDto}
|
|
331
|
+
* @memberof BookingEntriesApiCreateBookingEntry
|
|
332
|
+
*/
|
|
333
|
+
readonly createBookingEntryRequestDto: CreateBookingEntryRequestDto
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
337
|
+
* @type {string}
|
|
338
|
+
* @memberof BookingEntriesApiCreateBookingEntry
|
|
339
|
+
*/
|
|
340
|
+
readonly authorization?: string
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Request parameters for getBookingEntry operation in BookingEntriesApi.
|
|
305
345
|
* @export
|
|
306
|
-
* @interface
|
|
346
|
+
* @interface BookingEntriesApiGetBookingEntryRequest
|
|
307
347
|
*/
|
|
308
|
-
export interface
|
|
348
|
+
export interface BookingEntriesApiGetBookingEntryRequest {
|
|
309
349
|
/**
|
|
310
|
-
*
|
|
350
|
+
*
|
|
311
351
|
* @type {string}
|
|
312
|
-
* @memberof
|
|
352
|
+
* @memberof BookingEntriesApiGetBookingEntry
|
|
313
353
|
*/
|
|
314
354
|
readonly code: string
|
|
315
355
|
|
|
316
356
|
/**
|
|
317
|
-
*
|
|
357
|
+
*
|
|
358
|
+
* @type {string}
|
|
359
|
+
* @memberof BookingEntriesApiGetBookingEntry
|
|
360
|
+
*/
|
|
361
|
+
readonly expand: string
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
318
365
|
* @type {string}
|
|
319
|
-
* @memberof
|
|
366
|
+
* @memberof BookingEntriesApiGetBookingEntry
|
|
320
367
|
*/
|
|
321
368
|
readonly authorization?: string
|
|
322
369
|
}
|
|
323
370
|
|
|
324
371
|
/**
|
|
325
|
-
* Request parameters for
|
|
372
|
+
* Request parameters for listBookingEntries operation in BookingEntriesApi.
|
|
326
373
|
* @export
|
|
327
|
-
* @interface
|
|
374
|
+
* @interface BookingEntriesApiListBookingEntriesRequest
|
|
328
375
|
*/
|
|
329
|
-
export interface
|
|
376
|
+
export interface BookingEntriesApiListBookingEntriesRequest {
|
|
330
377
|
/**
|
|
331
|
-
* Bearer Token
|
|
378
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
332
379
|
* @type {string}
|
|
333
|
-
* @memberof
|
|
380
|
+
* @memberof BookingEntriesApiListBookingEntries
|
|
334
381
|
*/
|
|
335
382
|
readonly authorization?: string
|
|
336
383
|
|
|
337
384
|
/**
|
|
338
385
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
339
386
|
* @type {number}
|
|
340
|
-
* @memberof
|
|
387
|
+
* @memberof BookingEntriesApiListBookingEntries
|
|
341
388
|
*/
|
|
342
389
|
readonly pageSize?: number
|
|
343
390
|
|
|
344
391
|
/**
|
|
345
392
|
* 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.
|
|
346
393
|
* @type {string}
|
|
347
|
-
* @memberof
|
|
394
|
+
* @memberof BookingEntriesApiListBookingEntries
|
|
348
395
|
*/
|
|
349
396
|
readonly pageToken?: string
|
|
350
397
|
|
|
351
398
|
/**
|
|
352
399
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
353
400
|
* @type {string}
|
|
354
|
-
* @memberof
|
|
401
|
+
* @memberof BookingEntriesApiListBookingEntries
|
|
355
402
|
*/
|
|
356
403
|
readonly filter?: string
|
|
357
404
|
|
|
358
405
|
/**
|
|
359
406
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
360
407
|
* @type {string}
|
|
361
|
-
* @memberof
|
|
408
|
+
* @memberof BookingEntriesApiListBookingEntries
|
|
362
409
|
*/
|
|
363
410
|
readonly search?: string
|
|
364
411
|
|
|
365
412
|
/**
|
|
366
413
|
* 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
414
|
* @type {string}
|
|
368
|
-
* @memberof
|
|
415
|
+
* @memberof BookingEntriesApiListBookingEntries
|
|
369
416
|
*/
|
|
370
417
|
readonly order?: string
|
|
371
418
|
|
|
372
419
|
/**
|
|
373
420
|
* 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.
|
|
374
421
|
* @type {string}
|
|
375
|
-
* @memberof
|
|
422
|
+
* @memberof BookingEntriesApiListBookingEntries
|
|
376
423
|
*/
|
|
377
424
|
readonly expand?: string
|
|
378
425
|
|
|
379
426
|
/**
|
|
380
427
|
* 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.
|
|
381
428
|
* @type {string}
|
|
382
|
-
* @memberof
|
|
429
|
+
* @memberof BookingEntriesApiListBookingEntries
|
|
383
430
|
*/
|
|
384
431
|
readonly filters?: string
|
|
385
432
|
}
|
|
386
433
|
|
|
387
434
|
/**
|
|
388
|
-
*
|
|
389
|
-
* @export
|
|
390
|
-
* @interface ZipCodesApiStoreZipCodesRequest
|
|
391
|
-
*/
|
|
392
|
-
export interface ZipCodesApiStoreZipCodesRequest {
|
|
393
|
-
/**
|
|
394
|
-
* Bearer Token
|
|
395
|
-
* @type {string}
|
|
396
|
-
* @memberof ZipCodesApiStoreZipCodes
|
|
397
|
-
*/
|
|
398
|
-
readonly authorization?: string
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* ZipCodesApi - object-oriented interface
|
|
435
|
+
* BookingEntriesApi - object-oriented interface
|
|
403
436
|
* @export
|
|
404
|
-
* @class
|
|
437
|
+
* @class BookingEntriesApi
|
|
405
438
|
* @extends {BaseAPI}
|
|
406
439
|
*/
|
|
407
|
-
export class
|
|
440
|
+
export class BookingEntriesApi extends BaseAPI {
|
|
408
441
|
/**
|
|
409
|
-
*
|
|
410
|
-
* @summary
|
|
411
|
-
* @param {
|
|
442
|
+
* This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
|
|
443
|
+
* @summary Create the booking entry
|
|
444
|
+
* @param {BookingEntriesApiCreateBookingEntryRequest} requestParameters Request parameters.
|
|
412
445
|
* @param {*} [options] Override http request option.
|
|
413
446
|
* @throws {RequiredError}
|
|
414
|
-
* @memberof
|
|
447
|
+
* @memberof BookingEntriesApi
|
|
415
448
|
*/
|
|
416
|
-
public
|
|
417
|
-
return
|
|
449
|
+
public createBookingEntry(requestParameters: BookingEntriesApiCreateBookingEntryRequest, options?: AxiosRequestConfig) {
|
|
450
|
+
return BookingEntriesApiFp(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
418
451
|
}
|
|
419
452
|
|
|
420
453
|
/**
|
|
421
|
-
*
|
|
422
|
-
* @summary
|
|
423
|
-
* @param {
|
|
454
|
+
* This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
|
|
455
|
+
* @summary Retrieve the booking entry
|
|
456
|
+
* @param {BookingEntriesApiGetBookingEntryRequest} requestParameters Request parameters.
|
|
424
457
|
* @param {*} [options] Override http request option.
|
|
425
458
|
* @throws {RequiredError}
|
|
426
|
-
* @memberof
|
|
459
|
+
* @memberof BookingEntriesApi
|
|
427
460
|
*/
|
|
428
|
-
public
|
|
429
|
-
return
|
|
461
|
+
public getBookingEntry(requestParameters: BookingEntriesApiGetBookingEntryRequest, options?: AxiosRequestConfig) {
|
|
462
|
+
return BookingEntriesApiFp(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
430
463
|
}
|
|
431
464
|
|
|
432
465
|
/**
|
|
433
|
-
*
|
|
434
|
-
* @summary
|
|
435
|
-
* @param {
|
|
466
|
+
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
|
|
467
|
+
* @summary List booking entries
|
|
468
|
+
* @param {BookingEntriesApiListBookingEntriesRequest} requestParameters Request parameters.
|
|
436
469
|
* @param {*} [options] Override http request option.
|
|
437
470
|
* @throws {RequiredError}
|
|
438
|
-
* @memberof
|
|
471
|
+
* @memberof BookingEntriesApi
|
|
439
472
|
*/
|
|
440
|
-
public
|
|
441
|
-
return
|
|
473
|
+
public listBookingEntries(requestParameters: BookingEntriesApiListBookingEntriesRequest = {}, options?: AxiosRequestConfig) {
|
|
474
|
+
return BookingEntriesApiFp(this.configuration).listBookingEntries(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
442
475
|
}
|
|
443
476
|
}
|