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