@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20240302.1 → 1.20240531.2
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 +132 -0
- package/api/accounting-api.ts +165 -0
- package/api/adv-accounting-api.ts +99 -0
- package/api/adv-billing-api.ts +1973 -0
- package/api/adv-claim-api.ts +731 -0
- package/api/adv-enrollment-api.ts +377 -0
- package/api/billing-api.ts +165 -0
- package/api/claim-batch-api.ts +121 -0
- package/api/claim-batch-details-api.ts +140 -0
- package/api/commission-rate-cluster-agency-rep-api.ts +677 -0
- package/api/disability-event-case-changes-api.ts +677 -0
- package/api/disability-event-deduction-changes-api.ts +677 -0
- package/api/disability-event-field-changes-api.ts +677 -0
- package/api/disability-event-fields-api.ts +677 -0
- package/api/disability-event-groups-api.ts +677 -0
- package/api/disaster-locations-api.ts +677 -0
- package/api/disasters-api.ts +677 -0
- package/api/fee-schedules-api.ts +163 -0
- package/api/group-achpulls-api.ts +725 -0
- package/api/group-bill-cycle-payment-methods-api.ts +677 -0
- package/api/group-network-criterias-api.ts +31 -13
- package/api/member-address-history-api.ts +773 -0
- package/api/member-pre-ex-disclosed-diags-api.ts +773 -0
- package/api/payment-methods-api.ts +772 -0
- package/api/premium-distributions-api.ts +222 -0
- package/api/premium-invoice-subscribers-api.ts +291 -0
- package/api/premium-invoices-api.ts +1577 -219
- package/api/premium-rate-add-ons-api.ts +725 -0
- package/api/premium-rates-api.ts +119 -0
- package/api/security-field-set-details-api.ts +733 -0
- package/api/security-field-sets-api.ts +677 -0
- package/api/security-field-user-groups-api.ts +677 -0
- package/api/security-field-users-api.ts +677 -0
- package/api/security-fields-api.ts +677 -0
- package/api/subscriber-enrollments-api.ts +111 -0
- package/api/subscriber-sponsors-api.ts +677 -0
- package/api/subscriber-writing-agents-api.ts +725 -0
- package/api/subscribers-api.ts +315 -0
- package/api/tolerances-api.ts +677 -0
- package/api/user-api.ts +545 -0
- package/api/user-field-security-api.ts +191 -0
- package/api/user-group-mappings-api.ts +101 -5
- package/api.ts +27 -0
- package/models/adjudicate-benefit-match-detail-list-vbaresponse.ts +45 -0
- package/models/adjudicate-benefit-match-detail.ts +198 -0
- package/models/billing-refund.ts +126 -0
- package/models/call-tracking-diag-codes.ts +1 -1
- package/models/check-batch.ts +1 -1
- package/models/claim-adjustment-config.ts +121 -0
- package/models/claim-custom-ex-code-rule.ts +50 -20
- package/models/cobraplan-criteria.ts +36 -0
- package/models/commission-rate-cluster-agency-rep-list-vbaresponse.ts +45 -0
- package/models/commission-rate-cluster-agency-rep-vbaresponse.ts +45 -0
- package/models/commission-rate-cluster-agency-rep.ts +102 -0
- package/models/company-data.ts +98 -80
- package/models/copy-group-division.ts +4 -10
- package/models/criteria-detail.ts +1 -1
- package/models/disability-event-case-changed-list-vbaresponse.ts +45 -0
- package/models/disability-event-case-changed-vbaresponse.ts +45 -0
- package/models/disability-event-case-changed.ts +78 -0
- package/models/disability-event-deduction-changed-list-vbaresponse.ts +45 -0
- package/models/disability-event-deduction-changed-vbaresponse.ts +45 -0
- package/models/disability-event-deduction-changed.ts +72 -0
- package/models/disability-event-field-changed-list-vbaresponse.ts +45 -0
- package/models/disability-event-field-changed-vbaresponse.ts +45 -0
- package/models/disability-event-field-changed.ts +72 -0
- package/models/disability-event-field-list-vbaresponse.ts +45 -0
- package/models/disability-event-field-vbaresponse.ts +45 -0
- package/models/disability-event-field.ts +60 -0
- package/models/disability-event-group-list-vbaresponse.ts +45 -0
- package/models/disability-event-group-vbaresponse.ts +45 -0
- package/models/disability-event-group.ts +78 -0
- package/models/disaster-list-vbaresponse.ts +45 -0
- package/models/disaster-location-list-vbaresponse.ts +45 -0
- package/models/disaster-location-vbaresponse.ts +45 -0
- package/models/disaster-location.ts +78 -0
- package/models/disaster-vbaresponse.ts +45 -0
- package/models/disaster.ts +84 -0
- package/models/enrollment-reenroll.ts +13 -0
- package/models/enrollment-waiting-period-by-hire-date-list-vbaresponse.ts +45 -0
- package/models/enrollment-waiting-period-by-hire-date.ts +48 -0
- package/models/fee-sched-detail.ts +1 -1
- package/models/fee-sched-modifier-discount.ts +1 -1
- package/models/fee-sched-procedure-group-adjust.ts +1 -1
- package/models/fee-sched-provider-type-discount.ts +1 -1
- package/models/funding-process-claim-refund.ts +66 -0
- package/models/funding-request.ts +1 -1
- package/models/generate-authenticator-qrcode-request.ts +30 -0
- package/models/generate-authenticator-qrcode-response-vbaresponse.ts +45 -0
- package/models/generate-authenticator-qrcode-response.ts +36 -0
- package/models/generate-prem-invoice.ts +90 -0
- package/models/get-prem-invoice-subscriber-list-result-list-vbaresponse.ts +45 -0
- package/models/get-prem-invoice-subscriber-list-result.ts +102 -0
- package/models/group-achpull-list-vbaresponse.ts +45 -0
- package/models/group-achpull-vbaresponse.ts +45 -0
- package/models/group-achpull.ts +60 -0
- package/models/group-bill-cycle-payment-method-list-vbaresponse.ts +45 -0
- package/models/group-bill-cycle-payment-method-vbaresponse.ts +45 -0
- package/models/group-bill-cycle-payment-method.ts +78 -0
- package/models/group-change-coverage-start.ts +6 -0
- package/models/idcode-type.ts +6 -0
- package/models/index.ts +105 -0
- package/models/life-claim-advisor.ts +256 -0
- package/models/mem-enrollment-plan.ts +3 -3
- package/models/mem-enrollment-rider.ts +4 -4
- package/models/member-address-history-list-vbaresponse.ts +45 -0
- package/models/member-address-history-vbaresponse.ts +45 -0
- package/models/member-address-history.ts +216 -0
- package/models/member-pre-ex-disclosed-diag-list-vbaresponse.ts +45 -0
- package/models/member-pre-ex-disclosed-diag-vbaresponse.ts +45 -0
- package/models/member-pre-ex-disclosed-diag.ts +90 -0
- package/models/network-procedure-cluster.ts +1 -1
- package/models/note-note-attachment.ts +38 -0
- package/models/payment-method-list-vbaresponse.ts +45 -0
- package/models/payment-method-vbaresponse.ts +45 -0
- package/models/payment-method.ts +72 -0
- package/models/plan-benefit-rate.ts +1 -1
- package/models/prem-invoice-apply-payment.ts +78 -0
- package/models/prem-invoice-generate-inv-list-list-vbaresponse.ts +45 -0
- package/models/prem-invoice-generate-inv-list-result-list-vbaresponse.ts +45 -0
- package/models/prem-invoice-generate-inv-list-result.ts +138 -0
- package/models/prem-invoice-generate-inv-list.ts +138 -0
- package/models/prem-invoice-generate-self-admin-inv-list-list-vbaresponse.ts +45 -0
- package/models/prem-invoice-generate-self-admin-inv-list.ts +144 -0
- package/models/prem-rate-add-on-list-vbaresponse.ts +45 -0
- package/models/prem-rate-add-on-vbaresponse.ts +45 -0
- package/models/prem-rate-add-on.ts +78 -0
- package/models/prem-rate.ts +24 -12
- package/models/register-mfadevice-request.ts +42 -0
- package/models/register-mfadevice-response-vbaresponse.ts +45 -0
- package/models/register-mfadevice-response.ts +30 -0
- package/models/security-field-list-vbaresponse.ts +45 -0
- package/models/security-field-set-detail-list-vbaresponse.ts +45 -0
- package/models/security-field-set-detail-vbaresponse.ts +45 -0
- package/models/security-field-set-detail.ts +72 -0
- package/models/security-field-set-list-vbaresponse.ts +45 -0
- package/models/security-field-set-vbaresponse.ts +45 -0
- package/models/security-field-set.ts +66 -0
- package/models/security-field-user-group-list-vbaresponse.ts +45 -0
- package/models/security-field-user-group-vbaresponse.ts +45 -0
- package/models/security-field-user-group.ts +84 -0
- package/models/security-field-user-list-vbaresponse.ts +45 -0
- package/models/security-field-user-vbaresponse.ts +45 -0
- package/models/security-field-user.ts +84 -0
- package/models/security-field-vbaresponse.ts +45 -0
- package/models/security-field.ts +72 -0
- package/models/sub-enrollment-plan.ts +3 -3
- package/models/sub-enrollment-rider.ts +4 -4
- package/models/sub-enrollment.ts +2 -2
- package/models/sub-payment-method.ts +1 -1
- package/models/submit-mfacode-request.ts +42 -0
- package/models/subscriber-forfeiture-status.ts +1 -1
- package/models/subscriber-sponsor-list-vbaresponse.ts +45 -0
- package/models/subscriber-sponsor-vbaresponse.ts +45 -0
- package/models/subscriber-sponsor.ts +84 -0
- package/models/subscriber-writing-agent-list-vbaresponse.ts +45 -0
- package/models/subscriber-writing-agent-vbaresponse.ts +45 -0
- package/models/subscriber-writing-agent.ts +90 -0
- package/models/suspense-claim-list.ts +228 -0
- package/models/tolerance-list-vbaresponse.ts +45 -0
- package/models/tolerance-vbaresponse.ts +45 -0
- package/models/tolerance.ts +72 -0
- package/models/userfieldsecurity.ts +66 -0
- package/models/userfieldsecuritylist-vbaresponse.ts +45 -0
- package/models/users.ts +2 -2
- package/models/usual-customary-rate-all-percentile-list-vbaresponse.ts +45 -0
- package/models/usual-customary-rate-all-percentile.ts +120 -0
- package/models/vbainterface-idcode.ts +31 -1
- package/models/vbainterface-map-type.ts +31 -1
- package/models/vbainterface.ts +43 -1
- package/models/vbaprem-invoice-subscriber-detail-adjustment-list-vbaresponse.ts +45 -0
- package/models/vbaprem-invoice-subscriber-detail-adjustment.ts +180 -0
- package/models/vbaprem-invoice-subscriber-detail-list-vbaresponse.ts +45 -0
- package/models/vbaprem-invoice-subscriber-detail.ts +180 -0
- package/models/workflow-auth.ts +54 -0
- package/models/workflow-check.ts +54 -0
- package/models/workflow-enrollment.ts +60 -0
- package/models/workflow-processing.ts +21 -0
- package/package.json +3 -3
|
@@ -0,0 +1,677 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* VBASoftware
|
|
5
|
+
* APIs for VBASoftware
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { DisasterLocation } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DisasterLocationListVBAResponse } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { DisasterLocationVBAResponse } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { MultiCodeResponseListVBAResponse } from '../models';
|
|
31
|
+
/**
|
|
32
|
+
* DisasterLocationsApi - axios parameter creator
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const DisasterLocationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new DisasterLocation
|
|
39
|
+
* @summary Create DisasterLocation
|
|
40
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
41
|
+
* @param {DisasterLocation} disasterLocation
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
createDisasterLocation: async (vbasoftwareDatabase: string, disasterLocation: DisasterLocation, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
47
|
+
assertParamExists('createDisasterLocation', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
48
|
+
// verify required parameter 'disasterLocation' is not null or undefined
|
|
49
|
+
assertParamExists('createDisasterLocation', 'disasterLocation', disasterLocation)
|
|
50
|
+
const localVarPath = `/disaster-locations`;
|
|
51
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
52
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53
|
+
let baseOptions;
|
|
54
|
+
if (configuration) {
|
|
55
|
+
baseOptions = configuration.baseOptions;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
59
|
+
const localVarHeaderParameter = {} as any;
|
|
60
|
+
const localVarQueryParameter = {} as any;
|
|
61
|
+
|
|
62
|
+
// authentication apiKeyAuth required
|
|
63
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
64
|
+
|
|
65
|
+
// authentication bearerAuth required
|
|
66
|
+
// http bearer authentication required
|
|
67
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68
|
+
|
|
69
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
70
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
76
|
+
|
|
77
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
78
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
79
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
80
|
+
localVarRequestOptions.data = serializeDataIfNeeded(disasterLocation, localVarRequestOptions, configuration)
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
url: toPathString(localVarUrlObj),
|
|
84
|
+
options: localVarRequestOptions,
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* Deletes an DisasterLocation
|
|
89
|
+
* @summary Delete DisasterLocation
|
|
90
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
91
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
deleteDisasterLocation: async (vbasoftwareDatabase: string, disasterLocationKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
96
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
97
|
+
assertParamExists('deleteDisasterLocation', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
98
|
+
// verify required parameter 'disasterLocationKey' is not null or undefined
|
|
99
|
+
assertParamExists('deleteDisasterLocation', 'disasterLocationKey', disasterLocationKey)
|
|
100
|
+
const localVarPath = `/disaster-locations/{DisasterLocation_Key}`
|
|
101
|
+
.replace(`{${"DisasterLocation_Key"}}`, encodeURIComponent(String(disasterLocationKey)));
|
|
102
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104
|
+
let baseOptions;
|
|
105
|
+
if (configuration) {
|
|
106
|
+
baseOptions = configuration.baseOptions;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
110
|
+
const localVarHeaderParameter = {} as any;
|
|
111
|
+
const localVarQueryParameter = {} as any;
|
|
112
|
+
|
|
113
|
+
// authentication apiKeyAuth required
|
|
114
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
115
|
+
|
|
116
|
+
// authentication bearerAuth required
|
|
117
|
+
// http bearer authentication required
|
|
118
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
|
+
|
|
120
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
121
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
127
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
128
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
129
|
+
|
|
130
|
+
return {
|
|
131
|
+
url: toPathString(localVarUrlObj),
|
|
132
|
+
options: localVarRequestOptions,
|
|
133
|
+
};
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* Gets DisasterLocation
|
|
137
|
+
* @summary Get DisasterLocation
|
|
138
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
139
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
getDisasterLocation: async (vbasoftwareDatabase: string, disasterLocationKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
144
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
145
|
+
assertParamExists('getDisasterLocation', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
146
|
+
// verify required parameter 'disasterLocationKey' is not null or undefined
|
|
147
|
+
assertParamExists('getDisasterLocation', 'disasterLocationKey', disasterLocationKey)
|
|
148
|
+
const localVarPath = `/disaster-locations/{DisasterLocation_Key}`
|
|
149
|
+
.replace(`{${"DisasterLocation_Key"}}`, encodeURIComponent(String(disasterLocationKey)));
|
|
150
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
151
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
152
|
+
let baseOptions;
|
|
153
|
+
if (configuration) {
|
|
154
|
+
baseOptions = configuration.baseOptions;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
158
|
+
const localVarHeaderParameter = {} as any;
|
|
159
|
+
const localVarQueryParameter = {} as any;
|
|
160
|
+
|
|
161
|
+
// authentication apiKeyAuth required
|
|
162
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
163
|
+
|
|
164
|
+
// authentication bearerAuth required
|
|
165
|
+
// http bearer authentication required
|
|
166
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
167
|
+
|
|
168
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
169
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
175
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
176
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
177
|
+
|
|
178
|
+
return {
|
|
179
|
+
url: toPathString(localVarUrlObj),
|
|
180
|
+
options: localVarRequestOptions,
|
|
181
|
+
};
|
|
182
|
+
},
|
|
183
|
+
/**
|
|
184
|
+
* Lists all DisasterLocation
|
|
185
|
+
* @summary List DisasterLocation
|
|
186
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
187
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
188
|
+
* @param {number} [page] Page
|
|
189
|
+
* @param {number} [pageSize] Page Size
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
*/
|
|
193
|
+
listDisasterLocation: async (vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
194
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
195
|
+
assertParamExists('listDisasterLocation', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
196
|
+
const localVarPath = `/disaster-locations`;
|
|
197
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
198
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
199
|
+
let baseOptions;
|
|
200
|
+
if (configuration) {
|
|
201
|
+
baseOptions = configuration.baseOptions;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
205
|
+
const localVarHeaderParameter = {} as any;
|
|
206
|
+
const localVarQueryParameter = {} as any;
|
|
207
|
+
|
|
208
|
+
// authentication apiKeyAuth required
|
|
209
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
210
|
+
|
|
211
|
+
// authentication bearerAuth required
|
|
212
|
+
// http bearer authentication required
|
|
213
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
214
|
+
|
|
215
|
+
if (sortBy !== undefined) {
|
|
216
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
if (page !== undefined) {
|
|
220
|
+
localVarQueryParameter['page'] = page;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
if (pageSize !== undefined) {
|
|
224
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
228
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
234
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
236
|
+
|
|
237
|
+
return {
|
|
238
|
+
url: toPathString(localVarUrlObj),
|
|
239
|
+
options: localVarRequestOptions,
|
|
240
|
+
};
|
|
241
|
+
},
|
|
242
|
+
/**
|
|
243
|
+
* Create or Update multiple DisasterLocation at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
244
|
+
* @summary Create or Update Batch DisasterLocation
|
|
245
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
246
|
+
* @param {Array<DisasterLocation>} disasterLocation
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
*/
|
|
250
|
+
updateBatchDisasterLocation: async (vbasoftwareDatabase: string, disasterLocation: Array<DisasterLocation>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
251
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
252
|
+
assertParamExists('updateBatchDisasterLocation', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
253
|
+
// verify required parameter 'disasterLocation' is not null or undefined
|
|
254
|
+
assertParamExists('updateBatchDisasterLocation', 'disasterLocation', disasterLocation)
|
|
255
|
+
const localVarPath = `/disaster-locations-batch`;
|
|
256
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
257
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
258
|
+
let baseOptions;
|
|
259
|
+
if (configuration) {
|
|
260
|
+
baseOptions = configuration.baseOptions;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
264
|
+
const localVarHeaderParameter = {} as any;
|
|
265
|
+
const localVarQueryParameter = {} as any;
|
|
266
|
+
|
|
267
|
+
// authentication apiKeyAuth required
|
|
268
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
269
|
+
|
|
270
|
+
// authentication bearerAuth required
|
|
271
|
+
// http bearer authentication required
|
|
272
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
273
|
+
|
|
274
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
275
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
281
|
+
|
|
282
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
283
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
284
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
285
|
+
localVarRequestOptions.data = serializeDataIfNeeded(disasterLocation, localVarRequestOptions, configuration)
|
|
286
|
+
|
|
287
|
+
return {
|
|
288
|
+
url: toPathString(localVarUrlObj),
|
|
289
|
+
options: localVarRequestOptions,
|
|
290
|
+
};
|
|
291
|
+
},
|
|
292
|
+
/**
|
|
293
|
+
* Updates a specific DisasterLocation.
|
|
294
|
+
* @summary Update DisasterLocation
|
|
295
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
296
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
297
|
+
* @param {DisasterLocation} disasterLocation
|
|
298
|
+
* @param {*} [options] Override http request option.
|
|
299
|
+
* @throws {RequiredError}
|
|
300
|
+
*/
|
|
301
|
+
updateDisasterLocation: async (vbasoftwareDatabase: string, disasterLocationKey: number, disasterLocation: DisasterLocation, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
302
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
303
|
+
assertParamExists('updateDisasterLocation', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
304
|
+
// verify required parameter 'disasterLocationKey' is not null or undefined
|
|
305
|
+
assertParamExists('updateDisasterLocation', 'disasterLocationKey', disasterLocationKey)
|
|
306
|
+
// verify required parameter 'disasterLocation' is not null or undefined
|
|
307
|
+
assertParamExists('updateDisasterLocation', 'disasterLocation', disasterLocation)
|
|
308
|
+
const localVarPath = `/disaster-locations/{DisasterLocation_Key}`
|
|
309
|
+
.replace(`{${"DisasterLocation_Key"}}`, encodeURIComponent(String(disasterLocationKey)));
|
|
310
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
311
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
312
|
+
let baseOptions;
|
|
313
|
+
if (configuration) {
|
|
314
|
+
baseOptions = configuration.baseOptions;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
318
|
+
const localVarHeaderParameter = {} as any;
|
|
319
|
+
const localVarQueryParameter = {} as any;
|
|
320
|
+
|
|
321
|
+
// authentication apiKeyAuth required
|
|
322
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
323
|
+
|
|
324
|
+
// authentication bearerAuth required
|
|
325
|
+
// http bearer authentication required
|
|
326
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
327
|
+
|
|
328
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
329
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
335
|
+
|
|
336
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
337
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
338
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
339
|
+
localVarRequestOptions.data = serializeDataIfNeeded(disasterLocation, localVarRequestOptions, configuration)
|
|
340
|
+
|
|
341
|
+
return {
|
|
342
|
+
url: toPathString(localVarUrlObj),
|
|
343
|
+
options: localVarRequestOptions,
|
|
344
|
+
};
|
|
345
|
+
},
|
|
346
|
+
}
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* DisasterLocationsApi - functional programming interface
|
|
351
|
+
* @export
|
|
352
|
+
*/
|
|
353
|
+
export const DisasterLocationsApiFp = function(configuration?: Configuration) {
|
|
354
|
+
const localVarAxiosParamCreator = DisasterLocationsApiAxiosParamCreator(configuration)
|
|
355
|
+
return {
|
|
356
|
+
/**
|
|
357
|
+
* Creates a new DisasterLocation
|
|
358
|
+
* @summary Create DisasterLocation
|
|
359
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
360
|
+
* @param {DisasterLocation} disasterLocation
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
async createDisasterLocation(vbasoftwareDatabase: string, disasterLocation: DisasterLocation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisasterLocationVBAResponse>> {
|
|
365
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createDisasterLocation(vbasoftwareDatabase, disasterLocation, options);
|
|
366
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
367
|
+
},
|
|
368
|
+
/**
|
|
369
|
+
* Deletes an DisasterLocation
|
|
370
|
+
* @summary Delete DisasterLocation
|
|
371
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
372
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
373
|
+
* @param {*} [options] Override http request option.
|
|
374
|
+
* @throws {RequiredError}
|
|
375
|
+
*/
|
|
376
|
+
async deleteDisasterLocation(vbasoftwareDatabase: string, disasterLocationKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
377
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDisasterLocation(vbasoftwareDatabase, disasterLocationKey, options);
|
|
378
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
379
|
+
},
|
|
380
|
+
/**
|
|
381
|
+
* Gets DisasterLocation
|
|
382
|
+
* @summary Get DisasterLocation
|
|
383
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
384
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
*/
|
|
388
|
+
async getDisasterLocation(vbasoftwareDatabase: string, disasterLocationKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisasterLocationVBAResponse>> {
|
|
389
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDisasterLocation(vbasoftwareDatabase, disasterLocationKey, options);
|
|
390
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
391
|
+
},
|
|
392
|
+
/**
|
|
393
|
+
* Lists all DisasterLocation
|
|
394
|
+
* @summary List DisasterLocation
|
|
395
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
396
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
397
|
+
* @param {number} [page] Page
|
|
398
|
+
* @param {number} [pageSize] Page Size
|
|
399
|
+
* @param {*} [options] Override http request option.
|
|
400
|
+
* @throws {RequiredError}
|
|
401
|
+
*/
|
|
402
|
+
async listDisasterLocation(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisasterLocationListVBAResponse>> {
|
|
403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDisasterLocation(vbasoftwareDatabase, sortBy, page, pageSize, options);
|
|
404
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
405
|
+
},
|
|
406
|
+
/**
|
|
407
|
+
* Create or Update multiple DisasterLocation at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
408
|
+
* @summary Create or Update Batch DisasterLocation
|
|
409
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
410
|
+
* @param {Array<DisasterLocation>} disasterLocation
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
*/
|
|
414
|
+
async updateBatchDisasterLocation(vbasoftwareDatabase: string, disasterLocation: Array<DisasterLocation>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
|
|
415
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchDisasterLocation(vbasoftwareDatabase, disasterLocation, options);
|
|
416
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
417
|
+
},
|
|
418
|
+
/**
|
|
419
|
+
* Updates a specific DisasterLocation.
|
|
420
|
+
* @summary Update DisasterLocation
|
|
421
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
422
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
423
|
+
* @param {DisasterLocation} disasterLocation
|
|
424
|
+
* @param {*} [options] Override http request option.
|
|
425
|
+
* @throws {RequiredError}
|
|
426
|
+
*/
|
|
427
|
+
async updateDisasterLocation(vbasoftwareDatabase: string, disasterLocationKey: number, disasterLocation: DisasterLocation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisasterLocationVBAResponse>> {
|
|
428
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDisasterLocation(vbasoftwareDatabase, disasterLocationKey, disasterLocation, options);
|
|
429
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
430
|
+
},
|
|
431
|
+
}
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* DisasterLocationsApi - factory interface
|
|
436
|
+
* @export
|
|
437
|
+
*/
|
|
438
|
+
export const DisasterLocationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
439
|
+
const localVarFp = DisasterLocationsApiFp(configuration)
|
|
440
|
+
return {
|
|
441
|
+
/**
|
|
442
|
+
* Creates a new DisasterLocation
|
|
443
|
+
* @summary Create DisasterLocation
|
|
444
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
445
|
+
* @param {DisasterLocation} disasterLocation
|
|
446
|
+
* @param {*} [options] Override http request option.
|
|
447
|
+
* @throws {RequiredError}
|
|
448
|
+
*/
|
|
449
|
+
createDisasterLocation(vbasoftwareDatabase: string, disasterLocation: DisasterLocation, options?: any): AxiosPromise<DisasterLocationVBAResponse> {
|
|
450
|
+
return localVarFp.createDisasterLocation(vbasoftwareDatabase, disasterLocation, options).then((request) => request(axios, basePath));
|
|
451
|
+
},
|
|
452
|
+
/**
|
|
453
|
+
* Deletes an DisasterLocation
|
|
454
|
+
* @summary Delete DisasterLocation
|
|
455
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
456
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
457
|
+
* @param {*} [options] Override http request option.
|
|
458
|
+
* @throws {RequiredError}
|
|
459
|
+
*/
|
|
460
|
+
deleteDisasterLocation(vbasoftwareDatabase: string, disasterLocationKey: number, options?: any): AxiosPromise<void> {
|
|
461
|
+
return localVarFp.deleteDisasterLocation(vbasoftwareDatabase, disasterLocationKey, options).then((request) => request(axios, basePath));
|
|
462
|
+
},
|
|
463
|
+
/**
|
|
464
|
+
* Gets DisasterLocation
|
|
465
|
+
* @summary Get DisasterLocation
|
|
466
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
467
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
468
|
+
* @param {*} [options] Override http request option.
|
|
469
|
+
* @throws {RequiredError}
|
|
470
|
+
*/
|
|
471
|
+
getDisasterLocation(vbasoftwareDatabase: string, disasterLocationKey: number, options?: any): AxiosPromise<DisasterLocationVBAResponse> {
|
|
472
|
+
return localVarFp.getDisasterLocation(vbasoftwareDatabase, disasterLocationKey, options).then((request) => request(axios, basePath));
|
|
473
|
+
},
|
|
474
|
+
/**
|
|
475
|
+
* Lists all DisasterLocation
|
|
476
|
+
* @summary List DisasterLocation
|
|
477
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
478
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
479
|
+
* @param {number} [page] Page
|
|
480
|
+
* @param {number} [pageSize] Page Size
|
|
481
|
+
* @param {*} [options] Override http request option.
|
|
482
|
+
* @throws {RequiredError}
|
|
483
|
+
*/
|
|
484
|
+
listDisasterLocation(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: any): AxiosPromise<DisasterLocationListVBAResponse> {
|
|
485
|
+
return localVarFp.listDisasterLocation(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
|
|
486
|
+
},
|
|
487
|
+
/**
|
|
488
|
+
* Create or Update multiple DisasterLocation at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
489
|
+
* @summary Create or Update Batch DisasterLocation
|
|
490
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
491
|
+
* @param {Array<DisasterLocation>} disasterLocation
|
|
492
|
+
* @param {*} [options] Override http request option.
|
|
493
|
+
* @throws {RequiredError}
|
|
494
|
+
*/
|
|
495
|
+
updateBatchDisasterLocation(vbasoftwareDatabase: string, disasterLocation: Array<DisasterLocation>, options?: any): AxiosPromise<MultiCodeResponseListVBAResponse> {
|
|
496
|
+
return localVarFp.updateBatchDisasterLocation(vbasoftwareDatabase, disasterLocation, options).then((request) => request(axios, basePath));
|
|
497
|
+
},
|
|
498
|
+
/**
|
|
499
|
+
* Updates a specific DisasterLocation.
|
|
500
|
+
* @summary Update DisasterLocation
|
|
501
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
502
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
503
|
+
* @param {DisasterLocation} disasterLocation
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
*/
|
|
507
|
+
updateDisasterLocation(vbasoftwareDatabase: string, disasterLocationKey: number, disasterLocation: DisasterLocation, options?: any): AxiosPromise<DisasterLocationVBAResponse> {
|
|
508
|
+
return localVarFp.updateDisasterLocation(vbasoftwareDatabase, disasterLocationKey, disasterLocation, options).then((request) => request(axios, basePath));
|
|
509
|
+
},
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* DisasterLocationsApi - interface
|
|
515
|
+
* @export
|
|
516
|
+
* @interface DisasterLocationsApi
|
|
517
|
+
*/
|
|
518
|
+
export interface DisasterLocationsApiInterface {
|
|
519
|
+
/**
|
|
520
|
+
* Creates a new DisasterLocation
|
|
521
|
+
* @summary Create DisasterLocation
|
|
522
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
523
|
+
* @param {DisasterLocation} disasterLocation
|
|
524
|
+
* @param {*} [options] Override http request option.
|
|
525
|
+
* @throws {RequiredError}
|
|
526
|
+
* @memberof DisasterLocationsApiInterface
|
|
527
|
+
*/
|
|
528
|
+
createDisasterLocation(vbasoftwareDatabase: string, disasterLocation: DisasterLocation, options?: AxiosRequestConfig): AxiosPromise<DisasterLocationVBAResponse>;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Deletes an DisasterLocation
|
|
532
|
+
* @summary Delete DisasterLocation
|
|
533
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
534
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
535
|
+
* @param {*} [options] Override http request option.
|
|
536
|
+
* @throws {RequiredError}
|
|
537
|
+
* @memberof DisasterLocationsApiInterface
|
|
538
|
+
*/
|
|
539
|
+
deleteDisasterLocation(vbasoftwareDatabase: string, disasterLocationKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Gets DisasterLocation
|
|
543
|
+
* @summary Get DisasterLocation
|
|
544
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
545
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @throws {RequiredError}
|
|
548
|
+
* @memberof DisasterLocationsApiInterface
|
|
549
|
+
*/
|
|
550
|
+
getDisasterLocation(vbasoftwareDatabase: string, disasterLocationKey: number, options?: AxiosRequestConfig): AxiosPromise<DisasterLocationVBAResponse>;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Lists all DisasterLocation
|
|
554
|
+
* @summary List DisasterLocation
|
|
555
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
556
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
557
|
+
* @param {number} [page] Page
|
|
558
|
+
* @param {number} [pageSize] Page Size
|
|
559
|
+
* @param {*} [options] Override http request option.
|
|
560
|
+
* @throws {RequiredError}
|
|
561
|
+
* @memberof DisasterLocationsApiInterface
|
|
562
|
+
*/
|
|
563
|
+
listDisasterLocation(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<DisasterLocationListVBAResponse>;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Create or Update multiple DisasterLocation at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
567
|
+
* @summary Create or Update Batch DisasterLocation
|
|
568
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
569
|
+
* @param {Array<DisasterLocation>} disasterLocation
|
|
570
|
+
* @param {*} [options] Override http request option.
|
|
571
|
+
* @throws {RequiredError}
|
|
572
|
+
* @memberof DisasterLocationsApiInterface
|
|
573
|
+
*/
|
|
574
|
+
updateBatchDisasterLocation(vbasoftwareDatabase: string, disasterLocation: Array<DisasterLocation>, options?: AxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Updates a specific DisasterLocation.
|
|
578
|
+
* @summary Update DisasterLocation
|
|
579
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
580
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
581
|
+
* @param {DisasterLocation} disasterLocation
|
|
582
|
+
* @param {*} [options] Override http request option.
|
|
583
|
+
* @throws {RequiredError}
|
|
584
|
+
* @memberof DisasterLocationsApiInterface
|
|
585
|
+
*/
|
|
586
|
+
updateDisasterLocation(vbasoftwareDatabase: string, disasterLocationKey: number, disasterLocation: DisasterLocation, options?: AxiosRequestConfig): AxiosPromise<DisasterLocationVBAResponse>;
|
|
587
|
+
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* DisasterLocationsApi - object-oriented interface
|
|
592
|
+
* @export
|
|
593
|
+
* @class DisasterLocationsApi
|
|
594
|
+
* @extends {BaseAPI}
|
|
595
|
+
*/
|
|
596
|
+
export class DisasterLocationsApi extends BaseAPI implements DisasterLocationsApiInterface {
|
|
597
|
+
/**
|
|
598
|
+
* Creates a new DisasterLocation
|
|
599
|
+
* @summary Create DisasterLocation
|
|
600
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
601
|
+
* @param {DisasterLocation} disasterLocation
|
|
602
|
+
* @param {*} [options] Override http request option.
|
|
603
|
+
* @throws {RequiredError}
|
|
604
|
+
* @memberof DisasterLocationsApi
|
|
605
|
+
*/
|
|
606
|
+
public createDisasterLocation(vbasoftwareDatabase: string, disasterLocation: DisasterLocation, options?: AxiosRequestConfig) {
|
|
607
|
+
return DisasterLocationsApiFp(this.configuration).createDisasterLocation(vbasoftwareDatabase, disasterLocation, options).then((request) => request(this.axios, this.basePath));
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Deletes an DisasterLocation
|
|
612
|
+
* @summary Delete DisasterLocation
|
|
613
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
614
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
615
|
+
* @param {*} [options] Override http request option.
|
|
616
|
+
* @throws {RequiredError}
|
|
617
|
+
* @memberof DisasterLocationsApi
|
|
618
|
+
*/
|
|
619
|
+
public deleteDisasterLocation(vbasoftwareDatabase: string, disasterLocationKey: number, options?: AxiosRequestConfig) {
|
|
620
|
+
return DisasterLocationsApiFp(this.configuration).deleteDisasterLocation(vbasoftwareDatabase, disasterLocationKey, options).then((request) => request(this.axios, this.basePath));
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* Gets DisasterLocation
|
|
625
|
+
* @summary Get DisasterLocation
|
|
626
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
627
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
628
|
+
* @param {*} [options] Override http request option.
|
|
629
|
+
* @throws {RequiredError}
|
|
630
|
+
* @memberof DisasterLocationsApi
|
|
631
|
+
*/
|
|
632
|
+
public getDisasterLocation(vbasoftwareDatabase: string, disasterLocationKey: number, options?: AxiosRequestConfig) {
|
|
633
|
+
return DisasterLocationsApiFp(this.configuration).getDisasterLocation(vbasoftwareDatabase, disasterLocationKey, options).then((request) => request(this.axios, this.basePath));
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Lists all DisasterLocation
|
|
638
|
+
* @summary List DisasterLocation
|
|
639
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
640
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
641
|
+
* @param {number} [page] Page
|
|
642
|
+
* @param {number} [pageSize] Page Size
|
|
643
|
+
* @param {*} [options] Override http request option.
|
|
644
|
+
* @throws {RequiredError}
|
|
645
|
+
* @memberof DisasterLocationsApi
|
|
646
|
+
*/
|
|
647
|
+
public listDisasterLocation(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
|
|
648
|
+
return DisasterLocationsApiFp(this.configuration).listDisasterLocation(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Create or Update multiple DisasterLocation at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
653
|
+
* @summary Create or Update Batch DisasterLocation
|
|
654
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
655
|
+
* @param {Array<DisasterLocation>} disasterLocation
|
|
656
|
+
* @param {*} [options] Override http request option.
|
|
657
|
+
* @throws {RequiredError}
|
|
658
|
+
* @memberof DisasterLocationsApi
|
|
659
|
+
*/
|
|
660
|
+
public updateBatchDisasterLocation(vbasoftwareDatabase: string, disasterLocation: Array<DisasterLocation>, options?: AxiosRequestConfig) {
|
|
661
|
+
return DisasterLocationsApiFp(this.configuration).updateBatchDisasterLocation(vbasoftwareDatabase, disasterLocation, options).then((request) => request(this.axios, this.basePath));
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Updates a specific DisasterLocation.
|
|
666
|
+
* @summary Update DisasterLocation
|
|
667
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
668
|
+
* @param {number} disasterLocationKey DisasterLocation Key
|
|
669
|
+
* @param {DisasterLocation} disasterLocation
|
|
670
|
+
* @param {*} [options] Override http request option.
|
|
671
|
+
* @throws {RequiredError}
|
|
672
|
+
* @memberof DisasterLocationsApi
|
|
673
|
+
*/
|
|
674
|
+
public updateDisasterLocation(vbasoftwareDatabase: string, disasterLocationKey: number, disasterLocation: DisasterLocation, options?: AxiosRequestConfig) {
|
|
675
|
+
return DisasterLocationsApiFp(this.configuration).updateDisasterLocation(vbasoftwareDatabase, disasterLocationKey, disasterLocation, options).then((request) => request(this.axios, this.basePath));
|
|
676
|
+
}
|
|
677
|
+
}
|