@emilgroup/accounting-sdk-node 1.18.1-beta.3 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +52 -29
- package/README.md +2 -2
- package/api/health-api.ts +7 -7
- package/api/mailbox-api.ts +255 -0
- package/api/messages-api.ts +1100 -0
- package/api/users-api.ts +496 -0
- package/api/vbas-api.ts +592 -0
- package/api/vbus-api.ts +701 -0
- package/api/{booking-entries-api.ts → zip-codes-api.ts} +162 -195
- package/api.ts +14 -12
- package/base.ts +2 -2
- package/common.ts +4 -4
- package/configuration.ts +2 -2
- package/dist/api/health-api.d.ts +6 -6
- package/dist/api/health-api.js +7 -7
- package/dist/api/mailbox-api.d.ts +142 -0
- package/dist/api/mailbox-api.js +315 -0
- package/dist/api/messages-api.d.ts +632 -0
- package/dist/api/messages-api.js +916 -0
- package/dist/api/users-api.d.ts +275 -0
- package/dist/api/{financial-accounts-api.js → users-api.js} +134 -171
- package/dist/api/vbas-api.d.ts +337 -0
- package/dist/api/{number-ranges-api.js → vbas-api.js} +161 -156
- package/dist/api/vbus-api.d.ts +395 -0
- package/dist/api/{personal-accounts-api.js → vbus-api.js} +234 -136
- package/dist/api/{booking-entries-api.d.ts → zip-codes-api.d.ts} +111 -130
- package/dist/api/{booking-entries-api.js → zip-codes-api.js} +130 -144
- package/dist/api.d.ts +8 -7
- package/dist/api.js +8 -7
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +4 -4
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/models/address-class.d.ts +48 -0
- package/dist/models/{create-number-range-response-class.js → address-class.js} +2 -2
- package/dist/models/create-mailbox-request-dto.d.ts +36 -0
- package/dist/models/{create-booking-entry-request-dto.js → create-mailbox-request-dto.js} +2 -2
- package/dist/models/create-user-request-dto.d.ts +76 -0
- package/dist/models/{create-personal-account-request-dto.js → create-user-request-dto.js} +10 -7
- package/dist/models/create-user-response-class.d.ts +25 -0
- package/dist/models/{create-financial-account-response-class.js → create-user-response-class.js} +2 -2
- package/dist/models/create-vba-request-dto.d.ts +41 -0
- package/dist/models/create-vba-request-dto.js +20 -0
- package/dist/models/create-vba-response-class.d.ts +24 -0
- package/dist/models/{create-booking-entry-response-class.js → create-vba-response-class.js} +2 -2
- package/dist/models/create-vbu-request-dto.d.ts +41 -0
- package/dist/models/create-vbu-request-dto.js +20 -0
- package/dist/models/create-vbu-response-class.d.ts +24 -0
- package/dist/models/create-vbu-response-class.js +15 -0
- package/dist/models/create-vbuv-request-dto.d.ts +41 -0
- package/dist/models/create-vbuv-request-dto.js +20 -0
- package/dist/models/create-vbuv-response-class.d.ts +24 -0
- package/dist/models/create-vbuv-response-class.js +15 -0
- package/dist/models/get-request-message-response-class.d.ts +25 -0
- package/dist/models/get-request-message-response-class.js +15 -0
- package/dist/models/get-response-message-response-class.d.ts +25 -0
- package/dist/models/get-response-message-response-class.js +15 -0
- package/dist/models/get-user-response-class.d.ts +25 -0
- package/dist/models/get-user-response-class.js +15 -0
- package/dist/models/get-vba-response-class.d.ts +25 -0
- package/dist/models/get-vba-response-class.js +15 -0
- package/dist/models/get-vbu-response-class.d.ts +25 -0
- package/dist/models/get-vbu-response-class.js +15 -0
- package/dist/models/get-zip-code-response-class.d.ts +25 -0
- package/dist/models/get-zip-code-response-class.js +15 -0
- package/dist/models/index.d.ts +46 -24
- package/dist/models/index.js +46 -24
- package/dist/models/inline-response200.d.ts +2 -2
- package/dist/models/inline-response200.js +2 -2
- package/dist/models/inline-response503.d.ts +2 -2
- package/dist/models/inline-response503.js +2 -2
- package/dist/models/list-all-messages-response-class.d.ts +31 -0
- package/dist/models/list-all-messages-response-class.js +15 -0
- package/dist/models/list-requests-messages-response-class.d.ts +31 -0
- package/dist/models/list-requests-messages-response-class.js +15 -0
- package/dist/models/list-responses-messages-response-class.d.ts +31 -0
- package/dist/models/list-responses-messages-response-class.js +15 -0
- package/dist/models/list-users-response-class.d.ts +31 -0
- package/dist/models/list-users-response-class.js +15 -0
- package/dist/models/list-vbas-response-class.d.ts +31 -0
- package/dist/models/list-vbas-response-class.js +15 -0
- package/dist/models/list-vbus-response-class.d.ts +31 -0
- package/dist/models/list-vbus-response-class.js +15 -0
- package/dist/models/list-zip-codes-response-class.d.ts +31 -0
- package/dist/models/list-zip-codes-response-class.js +15 -0
- package/dist/models/message-class.d.ts +90 -0
- package/dist/models/message-class.js +15 -0
- package/dist/models/request-details-class.d.ts +48 -0
- package/dist/models/request-details-class.js +15 -0
- package/dist/models/request-message-class.d.ts +127 -0
- package/dist/models/request-message-class.js +15 -0
- package/dist/models/response-details-class.d.ts +42 -0
- package/dist/models/response-details-class.js +15 -0
- package/dist/models/response-message-class.d.ts +139 -0
- package/dist/models/response-message-class.js +15 -0
- package/dist/models/store-zip-codes-request-dto.d.ts +25 -0
- package/dist/models/store-zip-codes-request-dto.js +15 -0
- package/dist/models/store-zip-codes-response-class.d.ts +25 -0
- package/dist/models/store-zip-codes-response-class.js +15 -0
- package/dist/models/update-request-message-request-dto.d.ts +36 -0
- package/dist/models/update-request-message-request-dto.js +15 -0
- package/dist/models/update-request-message-response-class.d.ts +25 -0
- package/dist/models/update-request-message-response-class.js +15 -0
- package/dist/models/update-response-message-request-dto.d.ts +36 -0
- package/dist/models/update-response-message-request-dto.js +15 -0
- package/dist/models/update-response-message-response-class.d.ts +25 -0
- package/dist/models/update-response-message-response-class.js +15 -0
- package/dist/models/update-user-request-dto.d.ts +82 -0
- package/dist/models/update-user-request-dto.js +24 -0
- package/dist/models/update-user-response-class.d.ts +25 -0
- package/dist/models/update-user-response-class.js +15 -0
- package/dist/models/update-vba-request-dto.d.ts +30 -0
- package/dist/models/update-vba-request-dto.js +15 -0
- package/dist/models/update-vbu-request-dto.d.ts +30 -0
- package/dist/models/update-vbu-request-dto.js +15 -0
- package/dist/models/update-vbu-response-class.d.ts +25 -0
- package/dist/models/update-vbu-response-class.js +15 -0
- package/dist/models/user-class.d.ts +107 -0
- package/dist/models/user-class.js +20 -0
- package/dist/models/vba-class.d.ts +116 -0
- package/dist/models/vba-class.js +15 -0
- package/dist/models/vba-response-class.d.ts +48 -0
- package/dist/models/vba-response-class.js +15 -0
- package/dist/models/vbu-class.d.ts +115 -0
- package/dist/models/vbu-class.js +15 -0
- package/dist/models/vbu-response-class.d.ts +48 -0
- package/dist/models/vbu-response-class.js +15 -0
- package/dist/models/xlsx-zip-code-dto.d.ts +30 -0
- package/dist/models/xlsx-zip-code-dto.js +15 -0
- package/dist/models/zip-code-class.d.ts +60 -0
- package/dist/models/zip-code-class.js +15 -0
- package/index.ts +2 -2
- package/models/address-class.ts +54 -0
- package/models/create-mailbox-request-dto.ts +42 -0
- package/models/create-user-request-dto.ts +86 -0
- package/models/create-user-response-class.ts +31 -0
- package/models/create-vba-request-dto.ts +50 -0
- package/models/create-vba-response-class.ts +30 -0
- package/models/create-vbu-request-dto.ts +50 -0
- package/models/create-vbu-response-class.ts +30 -0
- package/models/create-vbuv-request-dto.ts +50 -0
- package/models/create-vbuv-response-class.ts +30 -0
- package/models/get-request-message-response-class.ts +31 -0
- package/models/get-response-message-response-class.ts +31 -0
- package/models/get-user-response-class.ts +31 -0
- package/models/get-vba-response-class.ts +31 -0
- package/models/get-vbu-response-class.ts +31 -0
- package/models/get-zip-code-response-class.ts +31 -0
- package/models/index.ts +46 -24
- package/models/inline-response200.ts +2 -2
- package/models/inline-response503.ts +2 -2
- package/models/list-all-messages-response-class.ts +37 -0
- package/models/list-requests-messages-response-class.ts +37 -0
- package/models/list-responses-messages-response-class.ts +37 -0
- package/models/list-users-response-class.ts +37 -0
- package/models/list-vbas-response-class.ts +37 -0
- package/models/list-vbus-response-class.ts +37 -0
- package/models/list-zip-codes-response-class.ts +37 -0
- package/models/message-class.ts +96 -0
- package/models/request-details-class.ts +54 -0
- package/models/request-message-class.ts +133 -0
- package/models/response-details-class.ts +48 -0
- package/models/response-message-class.ts +145 -0
- package/models/store-zip-codes-request-dto.ts +31 -0
- package/models/store-zip-codes-response-class.ts +31 -0
- package/models/update-request-message-request-dto.ts +42 -0
- package/models/update-request-message-response-class.ts +31 -0
- package/models/update-response-message-request-dto.ts +42 -0
- package/models/update-response-message-response-class.ts +31 -0
- package/models/update-user-request-dto.ts +92 -0
- package/models/update-user-response-class.ts +31 -0
- package/models/update-vba-request-dto.ts +36 -0
- package/models/update-vbu-request-dto.ts +36 -0
- package/models/update-vbu-response-class.ts +31 -0
- package/models/user-class.ts +116 -0
- package/models/vba-class.ts +122 -0
- package/models/vba-response-class.ts +54 -0
- package/models/vbu-class.ts +121 -0
- package/models/vbu-response-class.ts +54 -0
- package/models/xlsx-zip-code-dto.ts +36 -0
- package/models/zip-code-class.ts +66 -0
- package/package.json +1 -1
- package/api/financial-accounts-api.ts +0 -577
- package/api/financial-transactions-api.ts +0 -369
- package/api/number-ranges-api.ts +0 -577
- package/api/personal-accounts-api.ts +0 -577
- package/dist/api/financial-accounts-api.d.ts +0 -327
- package/dist/api/financial-transactions-api.d.ts +0 -215
- package/dist/api/financial-transactions-api.js +0 -364
- package/dist/api/number-ranges-api.d.ts +0 -327
- package/dist/api/personal-accounts-api.d.ts +0 -327
- package/dist/models/booking-entry-class.d.ts +0 -123
- package/dist/models/booking-entry-class.js +0 -29
- package/dist/models/create-booking-entry-request-dto.d.ts +0 -61
- package/dist/models/create-booking-entry-response-class.d.ts +0 -25
- package/dist/models/create-financial-account-request-dto.d.ts +0 -75
- package/dist/models/create-financial-account-request-dto.js +0 -24
- package/dist/models/create-financial-account-response-class.d.ts +0 -25
- package/dist/models/create-number-range-request-dto.d.ts +0 -53
- package/dist/models/create-number-range-request-dto.js +0 -26
- package/dist/models/create-number-range-response-class.d.ts +0 -25
- package/dist/models/create-personal-account-request-dto.d.ts +0 -60
- package/dist/models/create-personal-account-response-class.d.ts +0 -25
- package/dist/models/create-personal-account-response-class.js +0 -15
- package/dist/models/financial-account-class.d.ts +0 -111
- package/dist/models/financial-account-class.js +0 -24
- package/dist/models/financial-transaction-class.d.ts +0 -114
- package/dist/models/financial-transaction-class.js +0 -15
- package/dist/models/financial-transaction-data-dto.d.ts +0 -71
- package/dist/models/financial-transaction-data-dto.js +0 -25
- package/dist/models/get-booking-entry-response-class.d.ts +0 -25
- package/dist/models/get-booking-entry-response-class.js +0 -15
- package/dist/models/get-financial-account-response-class.d.ts +0 -25
- package/dist/models/get-financial-account-response-class.js +0 -15
- package/dist/models/get-financial-transaction-response-class.d.ts +0 -25
- package/dist/models/get-financial-transaction-response-class.js +0 -15
- package/dist/models/get-number-range-response-class.d.ts +0 -25
- package/dist/models/get-number-range-response-class.js +0 -15
- package/dist/models/get-personal-account-response-class.d.ts +0 -25
- package/dist/models/get-personal-account-response-class.js +0 -15
- package/dist/models/list-booking-entries-response-class.d.ts +0 -31
- package/dist/models/list-booking-entries-response-class.js +0 -15
- package/dist/models/list-financial-accounts-response-class.d.ts +0 -31
- package/dist/models/list-financial-accounts-response-class.js +0 -15
- package/dist/models/list-financial-transactions-response-class.d.ts +0 -31
- package/dist/models/list-financial-transactions-response-class.js +0 -15
- package/dist/models/list-number-range-response-class.d.ts +0 -31
- package/dist/models/list-number-range-response-class.js +0 -15
- package/dist/models/list-personal-accounts-response-class.d.ts +0 -31
- package/dist/models/list-personal-accounts-response-class.js +0 -15
- package/dist/models/number-range-class.d.ts +0 -84
- package/dist/models/number-range-class.js +0 -15
- package/dist/models/personal-account-class.d.ts +0 -105
- package/dist/models/personal-account-class.js +0 -24
- package/models/booking-entry-class.ts +0 -132
- package/models/create-booking-entry-request-dto.ts +0 -67
- package/models/create-booking-entry-response-class.ts +0 -31
- package/models/create-financial-account-request-dto.ts +0 -84
- package/models/create-financial-account-response-class.ts +0 -31
- package/models/create-number-range-request-dto.ts +0 -62
- package/models/create-number-range-response-class.ts +0 -31
- package/models/create-personal-account-request-dto.ts +0 -69
- package/models/create-personal-account-response-class.ts +0 -31
- package/models/financial-account-class.ts +0 -120
- package/models/financial-transaction-class.ts +0 -120
- package/models/financial-transaction-data-dto.ts +0 -81
- package/models/get-booking-entry-response-class.ts +0 -31
- package/models/get-financial-account-response-class.ts +0 -31
- package/models/get-financial-transaction-response-class.ts +0 -31
- package/models/get-number-range-response-class.ts +0 -31
- package/models/get-personal-account-response-class.ts +0 -31
- package/models/list-booking-entries-response-class.ts +0 -37
- package/models/list-financial-accounts-response-class.ts +0 -37
- package/models/list-financial-transactions-response-class.ts +0 -37
- package/models/list-number-range-response-class.ts +0 -37
- package/models/list-personal-accounts-response-class.ts +0 -37
- package/models/number-range-class.ts +0 -90
- package/models/personal-account-class.ts +0 -114
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* EMIL
|
|
6
|
-
* The EMIL
|
|
5
|
+
* EMIL GdvService
|
|
6
|
+
* The EMIL GdvService API description
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
* Contact: kontakt@emil.de
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.VbusApi = exports.VbusApiFactory = exports.VbusApiFp = exports.VbusApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -90,30 +90,30 @@ var base_1 = require("../base");
|
|
|
90
90
|
var url_1 = require("url");
|
|
91
91
|
var FormData = require('form-data');
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* VbusApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var VbusApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will create
|
|
101
|
-
* @summary Create the
|
|
102
|
-
* @param {
|
|
103
|
-
* @param {string} [authorization] Bearer Token
|
|
100
|
+
* This endpoint will create a vbu message. The call is asynchronous and will return a code to retrieve the vbu when it is ready. **Required Permissions** \"gdv-management.operations.create\"
|
|
101
|
+
* @summary Create the vbu
|
|
102
|
+
* @param {CreateVbuRequestDto} createVbuRequestDto
|
|
103
|
+
* @param {string} [authorization] Bearer Token
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
createVbu: function (createVbuRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
114
|
-
// verify required parameter '
|
|
115
|
-
(0, common_1.assertParamExists)('
|
|
116
|
-
localVarPath = "/
|
|
114
|
+
// verify required parameter 'createVbuRequestDto' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('createVbu', 'createVbuRequestDto', createVbuRequestDto);
|
|
116
|
+
localVarPath = "/gdvservice/v1/vbus/create-vbu";
|
|
117
117
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
118
|
if (configuration) {
|
|
119
119
|
baseOptions = configuration.baseOptions;
|
|
@@ -136,7 +136,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
136
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
137
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
138
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createVbuRequestDto, localVarRequestOptions, configuration);
|
|
140
140
|
return [2 /*return*/, {
|
|
141
141
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
142
|
options: localVarRequestOptions,
|
|
@@ -146,30 +146,29 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
*
|
|
150
|
-
* @summary
|
|
151
|
-
* @param {
|
|
152
|
-
* @param {string} [authorization] Bearer Token
|
|
149
|
+
* This endpoint will create a vbuv message. The call is asynchronous and will return a code to retrieve the vbu when it is ready. **Required Permissions** \"gdv-management.operations.create\"
|
|
150
|
+
* @summary Create the vbu
|
|
151
|
+
* @param {CreateVbuvRequestDto} createVbuvRequestDto
|
|
152
|
+
* @param {string} [authorization] Bearer Token
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
156
|
-
|
|
156
|
+
createVbuv: function (createVbuvRequestDto, authorization, options) {
|
|
157
157
|
if (options === void 0) { options = {}; }
|
|
158
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
159
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
160
|
return __generator(this, function (_a) {
|
|
161
161
|
switch (_a.label) {
|
|
162
162
|
case 0:
|
|
163
|
-
// verify required parameter '
|
|
164
|
-
(0, common_1.assertParamExists)('
|
|
165
|
-
localVarPath = "/
|
|
166
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
163
|
+
// verify required parameter 'createVbuvRequestDto' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('createVbuv', 'createVbuvRequestDto', createVbuvRequestDto);
|
|
165
|
+
localVarPath = "/gdvservice/v1/vbus/create-vbuv";
|
|
167
166
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
168
167
|
if (configuration) {
|
|
169
168
|
baseOptions = configuration.baseOptions;
|
|
170
169
|
baseAccessToken = configuration.accessToken;
|
|
171
170
|
}
|
|
172
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
171
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
173
172
|
localVarHeaderParameter = {};
|
|
174
173
|
localVarQueryParameter = {};
|
|
175
174
|
// authentication bearer required
|
|
@@ -182,9 +181,11 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
182
181
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
182
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
184
183
|
}
|
|
184
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
185
185
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
186
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
187
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createVbuvRequestDto, localVarRequestOptions, configuration);
|
|
188
189
|
return [2 /*return*/, {
|
|
189
190
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
190
191
|
options: localVarRequestOptions,
|
|
@@ -194,15 +195,15 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
194
195
|
});
|
|
195
196
|
},
|
|
196
197
|
/**
|
|
197
|
-
* Retrieves the details of the
|
|
198
|
-
* @summary Retrieve the
|
|
198
|
+
* Retrieves the details of the vbu that was previously created. Supply the unique vbu code that was returned when you created it and Emil Api will return the corresponding vbu information. **Required Permissions** \"gdv-management.operations.view\"
|
|
199
|
+
* @summary Retrieve the vbu
|
|
199
200
|
* @param {string} code Unique identifier for the object.
|
|
200
|
-
* @param {string}
|
|
201
|
-
* @param {
|
|
201
|
+
* @param {string} [authorization] Bearer Token
|
|
202
|
+
* @param {'responses'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
202
203
|
* @param {*} [options] Override http request option.
|
|
203
204
|
* @throws {RequiredError}
|
|
204
205
|
*/
|
|
205
|
-
|
|
206
|
+
getVbu: function (code, authorization, expand, options) {
|
|
206
207
|
if (options === void 0) { options = {}; }
|
|
207
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
209
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -210,10 +211,8 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
210
211
|
switch (_a.label) {
|
|
211
212
|
case 0:
|
|
212
213
|
// verify required parameter 'code' is not null or undefined
|
|
213
|
-
(0, common_1.assertParamExists)('
|
|
214
|
-
|
|
215
|
-
(0, common_1.assertParamExists)('getPersonalAccount', 'expand', expand);
|
|
216
|
-
localVarPath = "/accountingservice/v1/personal-accounts/{code}"
|
|
214
|
+
(0, common_1.assertParamExists)('getVbu', 'code', code);
|
|
215
|
+
localVarPath = "/gdvservice/v1/vbus/{code}"
|
|
217
216
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
218
217
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
219
218
|
if (configuration) {
|
|
@@ -248,27 +247,27 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
248
247
|
});
|
|
249
248
|
},
|
|
250
249
|
/**
|
|
251
|
-
* Returns a list of
|
|
252
|
-
* @summary List
|
|
253
|
-
* @param {string} [authorization] Bearer Token
|
|
250
|
+
* Returns a list of vbus you have previously created. The vbus are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
|
|
251
|
+
* @summary List vbus
|
|
252
|
+
* @param {string} [authorization] Bearer Token
|
|
254
253
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
255
254
|
* @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.
|
|
256
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
255
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadNumber, policyNumber, leadCode, policyCode, customerName, status, transmissionStart, createdAt</i> <br/> <i>policyCode</i> is required, other filters are optional.
|
|
257
256
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
258
|
-
* @param {string} [order] Order
|
|
259
|
-
* @param {string} [expand]
|
|
260
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
257
|
+
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, transmissionStart, createdAt, updatedAt, status</i>
|
|
258
|
+
* @param {string} [expand] No expanding supported
|
|
259
|
+
* @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.
|
|
261
260
|
* @param {*} [options] Override http request option.
|
|
262
261
|
* @throws {RequiredError}
|
|
263
262
|
*/
|
|
264
|
-
|
|
263
|
+
listVbus: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
265
264
|
if (options === void 0) { options = {}; }
|
|
266
265
|
return __awaiter(_this, void 0, void 0, function () {
|
|
267
266
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
268
267
|
return __generator(this, function (_a) {
|
|
269
268
|
switch (_a.label) {
|
|
270
269
|
case 0:
|
|
271
|
-
localVarPath = "/
|
|
270
|
+
localVarPath = "/gdvservice/v1/vbus";
|
|
272
271
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
273
272
|
if (configuration) {
|
|
274
273
|
baseOptions = configuration.baseOptions;
|
|
@@ -319,30 +318,83 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
319
318
|
});
|
|
320
319
|
});
|
|
321
320
|
},
|
|
321
|
+
/**
|
|
322
|
+
* Updates the specified vbu by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
|
|
323
|
+
* @summary Update the vbu
|
|
324
|
+
* @param {string} code Unique identifier for the object.
|
|
325
|
+
* @param {UpdateVbuRequestDto} updateVbuRequestDto
|
|
326
|
+
* @param {string} [authorization] Bearer Token
|
|
327
|
+
* @param {*} [options] Override http request option.
|
|
328
|
+
* @throws {RequiredError}
|
|
329
|
+
*/
|
|
330
|
+
updateVbu: function (code, updateVbuRequestDto, authorization, options) {
|
|
331
|
+
if (options === void 0) { options = {}; }
|
|
332
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
333
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
334
|
+
return __generator(this, function (_a) {
|
|
335
|
+
switch (_a.label) {
|
|
336
|
+
case 0:
|
|
337
|
+
// verify required parameter 'code' is not null or undefined
|
|
338
|
+
(0, common_1.assertParamExists)('updateVbu', 'code', code);
|
|
339
|
+
// verify required parameter 'updateVbuRequestDto' is not null or undefined
|
|
340
|
+
(0, common_1.assertParamExists)('updateVbu', 'updateVbuRequestDto', updateVbuRequestDto);
|
|
341
|
+
localVarPath = "/gdvservice/v1/vbus/{code}"
|
|
342
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
343
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
344
|
+
if (configuration) {
|
|
345
|
+
baseOptions = configuration.baseOptions;
|
|
346
|
+
baseAccessToken = configuration.accessToken;
|
|
347
|
+
}
|
|
348
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
349
|
+
localVarHeaderParameter = {};
|
|
350
|
+
localVarQueryParameter = {};
|
|
351
|
+
// authentication bearer required
|
|
352
|
+
// http bearer authentication required
|
|
353
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
354
|
+
case 1:
|
|
355
|
+
// authentication bearer required
|
|
356
|
+
// http bearer authentication required
|
|
357
|
+
_a.sent();
|
|
358
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
359
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
360
|
+
}
|
|
361
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
362
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
363
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
364
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
365
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateVbuRequestDto, localVarRequestOptions, configuration);
|
|
366
|
+
return [2 /*return*/, {
|
|
367
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
368
|
+
options: localVarRequestOptions,
|
|
369
|
+
}];
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
});
|
|
373
|
+
},
|
|
322
374
|
};
|
|
323
375
|
};
|
|
324
|
-
exports.
|
|
376
|
+
exports.VbusApiAxiosParamCreator = VbusApiAxiosParamCreator;
|
|
325
377
|
/**
|
|
326
|
-
*
|
|
378
|
+
* VbusApi - functional programming interface
|
|
327
379
|
* @export
|
|
328
380
|
*/
|
|
329
|
-
var
|
|
330
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
381
|
+
var VbusApiFp = function (configuration) {
|
|
382
|
+
var localVarAxiosParamCreator = (0, exports.VbusApiAxiosParamCreator)(configuration);
|
|
331
383
|
return {
|
|
332
384
|
/**
|
|
333
|
-
* This will create
|
|
334
|
-
* @summary Create the
|
|
335
|
-
* @param {
|
|
336
|
-
* @param {string} [authorization] Bearer Token
|
|
385
|
+
* This endpoint will create a vbu message. The call is asynchronous and will return a code to retrieve the vbu when it is ready. **Required Permissions** \"gdv-management.operations.create\"
|
|
386
|
+
* @summary Create the vbu
|
|
387
|
+
* @param {CreateVbuRequestDto} createVbuRequestDto
|
|
388
|
+
* @param {string} [authorization] Bearer Token
|
|
337
389
|
* @param {*} [options] Override http request option.
|
|
338
390
|
* @throws {RequiredError}
|
|
339
391
|
*/
|
|
340
|
-
|
|
392
|
+
createVbu: function (createVbuRequestDto, authorization, options) {
|
|
341
393
|
return __awaiter(this, void 0, void 0, function () {
|
|
342
394
|
var localVarAxiosArgs;
|
|
343
395
|
return __generator(this, function (_a) {
|
|
344
396
|
switch (_a.label) {
|
|
345
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
397
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createVbu(createVbuRequestDto, authorization, options)];
|
|
346
398
|
case 1:
|
|
347
399
|
localVarAxiosArgs = _a.sent();
|
|
348
400
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -351,19 +403,19 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
351
403
|
});
|
|
352
404
|
},
|
|
353
405
|
/**
|
|
354
|
-
*
|
|
355
|
-
* @summary
|
|
356
|
-
* @param {
|
|
357
|
-
* @param {string} [authorization] Bearer Token
|
|
406
|
+
* This endpoint will create a vbuv message. The call is asynchronous and will return a code to retrieve the vbu when it is ready. **Required Permissions** \"gdv-management.operations.create\"
|
|
407
|
+
* @summary Create the vbu
|
|
408
|
+
* @param {CreateVbuvRequestDto} createVbuvRequestDto
|
|
409
|
+
* @param {string} [authorization] Bearer Token
|
|
358
410
|
* @param {*} [options] Override http request option.
|
|
359
411
|
* @throws {RequiredError}
|
|
360
412
|
*/
|
|
361
|
-
|
|
413
|
+
createVbuv: function (createVbuvRequestDto, authorization, options) {
|
|
362
414
|
return __awaiter(this, void 0, void 0, function () {
|
|
363
415
|
var localVarAxiosArgs;
|
|
364
416
|
return __generator(this, function (_a) {
|
|
365
417
|
switch (_a.label) {
|
|
366
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
418
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createVbuv(createVbuvRequestDto, authorization, options)];
|
|
367
419
|
case 1:
|
|
368
420
|
localVarAxiosArgs = _a.sent();
|
|
369
421
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -372,20 +424,20 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
372
424
|
});
|
|
373
425
|
},
|
|
374
426
|
/**
|
|
375
|
-
* Retrieves the details of the
|
|
376
|
-
* @summary Retrieve the
|
|
427
|
+
* Retrieves the details of the vbu that was previously created. Supply the unique vbu code that was returned when you created it and Emil Api will return the corresponding vbu information. **Required Permissions** \"gdv-management.operations.view\"
|
|
428
|
+
* @summary Retrieve the vbu
|
|
377
429
|
* @param {string} code Unique identifier for the object.
|
|
378
|
-
* @param {string}
|
|
379
|
-
* @param {
|
|
430
|
+
* @param {string} [authorization] Bearer Token
|
|
431
|
+
* @param {'responses'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
380
432
|
* @param {*} [options] Override http request option.
|
|
381
433
|
* @throws {RequiredError}
|
|
382
434
|
*/
|
|
383
|
-
|
|
435
|
+
getVbu: function (code, authorization, expand, options) {
|
|
384
436
|
return __awaiter(this, void 0, void 0, function () {
|
|
385
437
|
var localVarAxiosArgs;
|
|
386
438
|
return __generator(this, function (_a) {
|
|
387
439
|
switch (_a.label) {
|
|
388
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
440
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getVbu(code, authorization, expand, options)];
|
|
389
441
|
case 1:
|
|
390
442
|
localVarAxiosArgs = _a.sent();
|
|
391
443
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -394,25 +446,47 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
394
446
|
});
|
|
395
447
|
},
|
|
396
448
|
/**
|
|
397
|
-
* Returns a list of
|
|
398
|
-
* @summary List
|
|
399
|
-
* @param {string} [authorization] Bearer Token
|
|
449
|
+
* Returns a list of vbus you have previously created. The vbus are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
|
|
450
|
+
* @summary List vbus
|
|
451
|
+
* @param {string} [authorization] Bearer Token
|
|
400
452
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
401
453
|
* @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.
|
|
402
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
454
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadNumber, policyNumber, leadCode, policyCode, customerName, status, transmissionStart, createdAt</i> <br/> <i>policyCode</i> is required, other filters are optional.
|
|
403
455
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
404
|
-
* @param {string} [order] Order
|
|
405
|
-
* @param {string} [expand]
|
|
406
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
456
|
+
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, transmissionStart, createdAt, updatedAt, status</i>
|
|
457
|
+
* @param {string} [expand] No expanding supported
|
|
458
|
+
* @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.
|
|
459
|
+
* @param {*} [options] Override http request option.
|
|
460
|
+
* @throws {RequiredError}
|
|
461
|
+
*/
|
|
462
|
+
listVbus: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
463
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
464
|
+
var localVarAxiosArgs;
|
|
465
|
+
return __generator(this, function (_a) {
|
|
466
|
+
switch (_a.label) {
|
|
467
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listVbus(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
468
|
+
case 1:
|
|
469
|
+
localVarAxiosArgs = _a.sent();
|
|
470
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
471
|
+
}
|
|
472
|
+
});
|
|
473
|
+
});
|
|
474
|
+
},
|
|
475
|
+
/**
|
|
476
|
+
* Updates the specified vbu by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
|
|
477
|
+
* @summary Update the vbu
|
|
478
|
+
* @param {string} code Unique identifier for the object.
|
|
479
|
+
* @param {UpdateVbuRequestDto} updateVbuRequestDto
|
|
480
|
+
* @param {string} [authorization] Bearer Token
|
|
407
481
|
* @param {*} [options] Override http request option.
|
|
408
482
|
* @throws {RequiredError}
|
|
409
483
|
*/
|
|
410
|
-
|
|
484
|
+
updateVbu: function (code, updateVbuRequestDto, authorization, options) {
|
|
411
485
|
return __awaiter(this, void 0, void 0, function () {
|
|
412
486
|
var localVarAxiosArgs;
|
|
413
487
|
return __generator(this, function (_a) {
|
|
414
488
|
switch (_a.label) {
|
|
415
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
489
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateVbu(code, updateVbuRequestDto, authorization, options)];
|
|
416
490
|
case 1:
|
|
417
491
|
localVarAxiosArgs = _a.sent();
|
|
418
492
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -422,128 +496,152 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
422
496
|
},
|
|
423
497
|
};
|
|
424
498
|
};
|
|
425
|
-
exports.
|
|
499
|
+
exports.VbusApiFp = VbusApiFp;
|
|
426
500
|
/**
|
|
427
|
-
*
|
|
501
|
+
* VbusApi - factory interface
|
|
428
502
|
* @export
|
|
429
503
|
*/
|
|
430
|
-
var
|
|
431
|
-
var localVarFp = (0, exports.
|
|
504
|
+
var VbusApiFactory = function (configuration, basePath, axios) {
|
|
505
|
+
var localVarFp = (0, exports.VbusApiFp)(configuration);
|
|
432
506
|
return {
|
|
433
507
|
/**
|
|
434
|
-
* This will create
|
|
435
|
-
* @summary Create the
|
|
436
|
-
* @param {
|
|
437
|
-
* @param {string} [authorization] Bearer Token
|
|
508
|
+
* This endpoint will create a vbu message. The call is asynchronous and will return a code to retrieve the vbu when it is ready. **Required Permissions** \"gdv-management.operations.create\"
|
|
509
|
+
* @summary Create the vbu
|
|
510
|
+
* @param {CreateVbuRequestDto} createVbuRequestDto
|
|
511
|
+
* @param {string} [authorization] Bearer Token
|
|
438
512
|
* @param {*} [options] Override http request option.
|
|
439
513
|
* @throws {RequiredError}
|
|
440
514
|
*/
|
|
441
|
-
|
|
442
|
-
return localVarFp.
|
|
515
|
+
createVbu: function (createVbuRequestDto, authorization, options) {
|
|
516
|
+
return localVarFp.createVbu(createVbuRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
443
517
|
},
|
|
444
518
|
/**
|
|
445
|
-
*
|
|
446
|
-
* @summary
|
|
447
|
-
* @param {
|
|
448
|
-
* @param {string} [authorization] Bearer Token
|
|
519
|
+
* This endpoint will create a vbuv message. The call is asynchronous and will return a code to retrieve the vbu when it is ready. **Required Permissions** \"gdv-management.operations.create\"
|
|
520
|
+
* @summary Create the vbu
|
|
521
|
+
* @param {CreateVbuvRequestDto} createVbuvRequestDto
|
|
522
|
+
* @param {string} [authorization] Bearer Token
|
|
449
523
|
* @param {*} [options] Override http request option.
|
|
450
524
|
* @throws {RequiredError}
|
|
451
525
|
*/
|
|
452
|
-
|
|
453
|
-
return localVarFp.
|
|
526
|
+
createVbuv: function (createVbuvRequestDto, authorization, options) {
|
|
527
|
+
return localVarFp.createVbuv(createVbuvRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
454
528
|
},
|
|
455
529
|
/**
|
|
456
|
-
* Retrieves the details of the
|
|
457
|
-
* @summary Retrieve the
|
|
530
|
+
* Retrieves the details of the vbu that was previously created. Supply the unique vbu code that was returned when you created it and Emil Api will return the corresponding vbu information. **Required Permissions** \"gdv-management.operations.view\"
|
|
531
|
+
* @summary Retrieve the vbu
|
|
458
532
|
* @param {string} code Unique identifier for the object.
|
|
459
|
-
* @param {string}
|
|
460
|
-
* @param {
|
|
533
|
+
* @param {string} [authorization] Bearer Token
|
|
534
|
+
* @param {'responses'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
461
535
|
* @param {*} [options] Override http request option.
|
|
462
536
|
* @throws {RequiredError}
|
|
463
537
|
*/
|
|
464
|
-
|
|
465
|
-
return localVarFp.
|
|
538
|
+
getVbu: function (code, authorization, expand, options) {
|
|
539
|
+
return localVarFp.getVbu(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
466
540
|
},
|
|
467
541
|
/**
|
|
468
|
-
* Returns a list of
|
|
469
|
-
* @summary List
|
|
470
|
-
* @param {string} [authorization] Bearer Token
|
|
542
|
+
* Returns a list of vbus you have previously created. The vbus are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
|
|
543
|
+
* @summary List vbus
|
|
544
|
+
* @param {string} [authorization] Bearer Token
|
|
471
545
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
472
546
|
* @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.
|
|
473
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
547
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadNumber, policyNumber, leadCode, policyCode, customerName, status, transmissionStart, createdAt</i> <br/> <i>policyCode</i> is required, other filters are optional.
|
|
474
548
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
475
|
-
* @param {string} [order] Order
|
|
476
|
-
* @param {string} [expand]
|
|
477
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
549
|
+
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, transmissionStart, createdAt, updatedAt, status</i>
|
|
550
|
+
* @param {string} [expand] No expanding supported
|
|
551
|
+
* @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.
|
|
478
552
|
* @param {*} [options] Override http request option.
|
|
479
553
|
* @throws {RequiredError}
|
|
480
554
|
*/
|
|
481
|
-
|
|
482
|
-
return localVarFp.
|
|
555
|
+
listVbus: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
556
|
+
return localVarFp.listVbus(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
557
|
+
},
|
|
558
|
+
/**
|
|
559
|
+
* Updates the specified vbu by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
|
|
560
|
+
* @summary Update the vbu
|
|
561
|
+
* @param {string} code Unique identifier for the object.
|
|
562
|
+
* @param {UpdateVbuRequestDto} updateVbuRequestDto
|
|
563
|
+
* @param {string} [authorization] Bearer Token
|
|
564
|
+
* @param {*} [options] Override http request option.
|
|
565
|
+
* @throws {RequiredError}
|
|
566
|
+
*/
|
|
567
|
+
updateVbu: function (code, updateVbuRequestDto, authorization, options) {
|
|
568
|
+
return localVarFp.updateVbu(code, updateVbuRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
483
569
|
},
|
|
484
570
|
};
|
|
485
571
|
};
|
|
486
|
-
exports.
|
|
572
|
+
exports.VbusApiFactory = VbusApiFactory;
|
|
487
573
|
/**
|
|
488
|
-
*
|
|
574
|
+
* VbusApi - object-oriented interface
|
|
489
575
|
* @export
|
|
490
|
-
* @class
|
|
576
|
+
* @class VbusApi
|
|
491
577
|
* @extends {BaseAPI}
|
|
492
578
|
*/
|
|
493
|
-
var
|
|
494
|
-
__extends(
|
|
495
|
-
function
|
|
579
|
+
var VbusApi = /** @class */ (function (_super) {
|
|
580
|
+
__extends(VbusApi, _super);
|
|
581
|
+
function VbusApi() {
|
|
496
582
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
497
583
|
}
|
|
498
584
|
/**
|
|
499
|
-
* This will create
|
|
500
|
-
* @summary Create the
|
|
501
|
-
* @param {
|
|
585
|
+
* This endpoint will create a vbu message. The call is asynchronous and will return a code to retrieve the vbu when it is ready. **Required Permissions** \"gdv-management.operations.create\"
|
|
586
|
+
* @summary Create the vbu
|
|
587
|
+
* @param {VbusApiCreateVbuRequest} requestParameters Request parameters.
|
|
502
588
|
* @param {*} [options] Override http request option.
|
|
503
589
|
* @throws {RequiredError}
|
|
504
|
-
* @memberof
|
|
590
|
+
* @memberof VbusApi
|
|
505
591
|
*/
|
|
506
|
-
|
|
592
|
+
VbusApi.prototype.createVbu = function (requestParameters, options) {
|
|
507
593
|
var _this = this;
|
|
508
|
-
return (0, exports.
|
|
594
|
+
return (0, exports.VbusApiFp)(this.configuration).createVbu(requestParameters.createVbuRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
509
595
|
};
|
|
510
596
|
/**
|
|
511
|
-
*
|
|
512
|
-
* @summary
|
|
513
|
-
* @param {
|
|
597
|
+
* This endpoint will create a vbuv message. The call is asynchronous and will return a code to retrieve the vbu when it is ready. **Required Permissions** \"gdv-management.operations.create\"
|
|
598
|
+
* @summary Create the vbu
|
|
599
|
+
* @param {VbusApiCreateVbuvRequest} requestParameters Request parameters.
|
|
514
600
|
* @param {*} [options] Override http request option.
|
|
515
601
|
* @throws {RequiredError}
|
|
516
|
-
* @memberof
|
|
602
|
+
* @memberof VbusApi
|
|
517
603
|
*/
|
|
518
|
-
|
|
604
|
+
VbusApi.prototype.createVbuv = function (requestParameters, options) {
|
|
519
605
|
var _this = this;
|
|
520
|
-
return (0, exports.
|
|
606
|
+
return (0, exports.VbusApiFp)(this.configuration).createVbuv(requestParameters.createVbuvRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
521
607
|
};
|
|
522
608
|
/**
|
|
523
|
-
* Retrieves the details of the
|
|
524
|
-
* @summary Retrieve the
|
|
525
|
-
* @param {
|
|
609
|
+
* Retrieves the details of the vbu that was previously created. Supply the unique vbu code that was returned when you created it and Emil Api will return the corresponding vbu information. **Required Permissions** \"gdv-management.operations.view\"
|
|
610
|
+
* @summary Retrieve the vbu
|
|
611
|
+
* @param {VbusApiGetVbuRequest} requestParameters Request parameters.
|
|
526
612
|
* @param {*} [options] Override http request option.
|
|
527
613
|
* @throws {RequiredError}
|
|
528
|
-
* @memberof
|
|
614
|
+
* @memberof VbusApi
|
|
529
615
|
*/
|
|
530
|
-
|
|
616
|
+
VbusApi.prototype.getVbu = function (requestParameters, options) {
|
|
531
617
|
var _this = this;
|
|
532
|
-
return (0, exports.
|
|
618
|
+
return (0, exports.VbusApiFp)(this.configuration).getVbu(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
533
619
|
};
|
|
534
620
|
/**
|
|
535
|
-
* Returns a list of
|
|
536
|
-
* @summary List
|
|
537
|
-
* @param {
|
|
621
|
+
* Returns a list of vbus you have previously created. The vbus are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"gdv-management.operations.view\"
|
|
622
|
+
* @summary List vbus
|
|
623
|
+
* @param {VbusApiListVbusRequest} requestParameters Request parameters.
|
|
538
624
|
* @param {*} [options] Override http request option.
|
|
539
625
|
* @throws {RequiredError}
|
|
540
|
-
* @memberof
|
|
626
|
+
* @memberof VbusApi
|
|
541
627
|
*/
|
|
542
|
-
|
|
628
|
+
VbusApi.prototype.listVbus = function (requestParameters, options) {
|
|
543
629
|
var _this = this;
|
|
544
630
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
545
|
-
return (0, exports.
|
|
631
|
+
return (0, exports.VbusApiFp)(this.configuration).listVbus(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
632
|
+
};
|
|
633
|
+
/**
|
|
634
|
+
* Updates the specified vbu by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"gdv-management.operations.update\"
|
|
635
|
+
* @summary Update the vbu
|
|
636
|
+
* @param {VbusApiUpdateVbuRequest} requestParameters Request parameters.
|
|
637
|
+
* @param {*} [options] Override http request option.
|
|
638
|
+
* @throws {RequiredError}
|
|
639
|
+
* @memberof VbusApi
|
|
640
|
+
*/
|
|
641
|
+
VbusApi.prototype.updateVbu = function (requestParameters, options) {
|
|
642
|
+
var _this = this;
|
|
643
|
+
return (0, exports.VbusApiFp)(this.configuration).updateVbu(requestParameters.code, requestParameters.updateVbuRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
546
644
|
};
|
|
547
|
-
return
|
|
645
|
+
return VbusApi;
|
|
548
646
|
}(base_1.BaseAPI));
|
|
549
|
-
exports.
|
|
647
|
+
exports.VbusApi = VbusApi;
|