@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250819.1 → 1.20251010.1
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 +40 -8
- package/api/accounting-api.ts +102 -0
- package/api/adv-accounting-api.ts +102 -0
- package/api/adv-billing-api.ts +30 -8
- package/api/adv-claim-api.ts +220 -0
- package/api/adv-reinsurance-api.ts +306 -0
- package/api/authentication-api.ts +190 -0
- package/api/company-data-api.ts +90 -0
- package/api/note-data-api.ts +195 -0
- package/api/password-policy-api.ts +258 -0
- package/api/plan-place-auth-api.ts +733 -0
- package/api/plan-place-auth-benefit-api.ts +773 -0
- package/api/premium-invoices-api.ts +30 -8
- package/api/reinsurance-contract-transactions-api.ts +208 -0
- package/api/reinsurance-contracts-api.ts +98 -0
- package/api/report-series-api.ts +102 -0
- package/api/subscribers-api.ts +17 -8
- package/api/zelis-redcard-api.ts +170 -0
- package/api.ts +4 -0
- package/docs/AccountingApi.md +57 -0
- package/docs/AdvAccountingApi.md +57 -0
- package/docs/AdvBillingApi.md +7 -1
- package/docs/AdvClaimApi.md +118 -0
- package/docs/AdvReinsuranceApi.md +174 -0
- package/docs/AuthenticationApi.md +110 -0
- package/docs/Claim.md +6 -0
- package/docs/ClaimBatch.md +6 -0
- package/docs/CompanyData.md +14 -0
- package/docs/CompanyDataApi.md +53 -0
- package/docs/DateTimeVBAResponse.md +24 -0
- package/docs/EmailReportDTO.md +0 -4
- package/docs/FaxReportDTO.md +0 -4
- package/docs/GenerateReinsAggTransaction.md +24 -0
- package/docs/GenerateReinsAggTransactionVBAResponse.md +24 -0
- package/docs/Members.md +19 -11
- package/docs/NoteDataApi.md +86 -0
- package/docs/PasswordPolicy.md +30 -0
- package/docs/PasswordPolicyApi.md +117 -0
- package/docs/PasswordPolicyVBAResponse.md +24 -0
- package/docs/PlanMaximum.md +2 -0
- package/docs/PlanPlaceAuth.md +38 -0
- package/docs/PlanPlaceAuthApi.md +372 -0
- package/docs/PlanPlaceAuthBenefit.md +32 -0
- package/docs/PlanPlaceAuthBenefitApi.md +387 -0
- package/docs/PlanPlaceAuthBenefitListVBAResponse.md +24 -0
- package/docs/PlanPlaceAuthBenefitVBAResponse.md +24 -0
- package/docs/PlanPlaceAuthListVBAResponse.md +24 -0
- package/docs/PlanPlaceAuthVBAResponse.md +24 -0
- package/docs/Plans.md +10 -0
- package/docs/PremiumInvoicesApi.md +7 -1
- package/docs/ReinsContract.md +2 -0
- package/docs/ReinsContractTrans.md +2 -0
- package/docs/ReinsContractTransClaim.md +2 -0
- package/docs/ReinsuranceContractTransactionsApi.md +118 -0
- package/docs/ReinsuranceContractsApi.md +56 -0
- package/docs/ReportDefinition.md +2 -0
- package/docs/ReportSeriesApi.md +57 -0
- package/docs/SMSDTO.md +0 -4
- package/docs/SubscribersApi.md +4 -1
- package/docs/VBABenefitInquiryRequest.md +6 -0
- package/docs/VBAProcessCorrespondenceTracking.md +22 -0
- package/docs/VBAProcessReceiptFile.md +24 -0
- package/docs/VBAReinsContractTransAmount.md +18 -0
- package/docs/VBAReinsContractTransClaim.md +14 -0
- package/docs/ZelisRedcardApi.md +64 -0
- package/docs/ZelisRedcardEOBRequest.md +26 -0
- package/docs/ZelisRedcardEOBResponse.md +24 -0
- package/docs/ZelisRedcardEOBResponseVBAResponse.md +24 -0
- package/models/claim-batch.ts +18 -0
- package/models/claim.ts +18 -0
- package/models/company-data.ts +42 -0
- package/models/{json-value.ts → date-time-vbaresponse.ts} +13 -13
- package/models/email-report-dto.ts +0 -15
- package/models/fax-report-dto.ts +0 -15
- package/models/generate-reins-agg-transaction-vbaresponse.ts +51 -0
- package/models/generate-reins-agg-transaction.ts +42 -0
- package/models/index.ts +16 -4
- package/models/members.ts +42 -18
- package/models/password-policy-vbaresponse.ts +51 -0
- package/models/password-policy.ts +60 -0
- package/models/plan-maximum.ts +6 -0
- package/models/plan-place-auth-benefit-list-vbaresponse.ts +51 -0
- package/models/plan-place-auth-benefit-vbaresponse.ts +51 -0
- package/models/plan-place-auth-benefit.ts +66 -0
- package/models/plan-place-auth-list-vbaresponse.ts +51 -0
- package/models/plan-place-auth-vbaresponse.ts +51 -0
- package/models/plan-place-auth.ts +84 -0
- package/models/plans.ts +30 -0
- package/models/reins-contract-trans-claim.ts +6 -0
- package/models/reins-contract-trans.ts +6 -0
- package/models/reins-contract.ts +6 -0
- package/models/report-definition.ts +6 -0
- package/models/smsdto.ts +0 -15
- package/models/vbabenefit-inquiry-request.ts +18 -0
- package/models/{json-node-options.ts → vbaprocess-correspondence-tracking.ts} +11 -5
- package/models/vbaprocess-receipt-file.ts +42 -0
- package/models/vbareins-contract-trans-amount.ts +54 -0
- package/models/vbareins-contract-trans-claim.ts +42 -0
- package/models/zelis-redcard-eobrequest.ts +48 -0
- package/models/zelis-redcard-eobresponse-vbaresponse.ts +51 -0
- package/models/zelis-redcard-eobresponse.ts +42 -0
- package/package.json +1 -1
- package/docs/CallbackDTO.md +0 -24
- package/docs/JsonNode.md +0 -24
- package/docs/JsonNodeOptions.md +0 -20
- package/docs/JsonValue.md +0 -24
- package/models/callback-dto.ts +0 -45
- package/models/json-node.ts +0 -45
|
@@ -0,0 +1,733 @@
|
|
|
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 type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { MultiCodeResponseListVBAResponse } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { PlanPlaceAuth } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { PlanPlaceAuthListVBAResponse } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { PlanPlaceAuthVBAResponse } from '../models';
|
|
32
|
+
/**
|
|
33
|
+
* PlanPlaceAuthApi - axios parameter creator
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export const PlanPlaceAuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37
|
+
return {
|
|
38
|
+
/**
|
|
39
|
+
* Creates a new PlanPlaceAuth
|
|
40
|
+
* @summary Create PlanPlaceAuth
|
|
41
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
42
|
+
* @param {string} planID Plan ID
|
|
43
|
+
* @param {string} placeCode Place Code
|
|
44
|
+
* @param {PlanPlaceAuth} planPlaceAuth
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
createPlanPlaceAuth: async (vbasoftwareDatabase: string, planID: string, placeCode: string, planPlaceAuth: PlanPlaceAuth, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
50
|
+
assertParamExists('createPlanPlaceAuth', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
51
|
+
// verify required parameter 'planID' is not null or undefined
|
|
52
|
+
assertParamExists('createPlanPlaceAuth', 'planID', planID)
|
|
53
|
+
// verify required parameter 'placeCode' is not null or undefined
|
|
54
|
+
assertParamExists('createPlanPlaceAuth', 'placeCode', placeCode)
|
|
55
|
+
// verify required parameter 'planPlaceAuth' is not null or undefined
|
|
56
|
+
assertParamExists('createPlanPlaceAuth', 'planPlaceAuth', planPlaceAuth)
|
|
57
|
+
const localVarPath = `/plans/{Plan_ID}/place-auths/{Place_Code}`
|
|
58
|
+
.replace(`{${"Plan_ID"}}`, encodeURIComponent(String(planID)))
|
|
59
|
+
.replace(`{${"Place_Code"}}`, encodeURIComponent(String(placeCode)));
|
|
60
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62
|
+
let baseOptions;
|
|
63
|
+
if (configuration) {
|
|
64
|
+
baseOptions = configuration.baseOptions;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
68
|
+
const localVarHeaderParameter = {} as any;
|
|
69
|
+
const localVarQueryParameter = {} as any;
|
|
70
|
+
|
|
71
|
+
// authentication apiKeyAuth required
|
|
72
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
73
|
+
|
|
74
|
+
// authentication bearerAuth required
|
|
75
|
+
// http bearer authentication required
|
|
76
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
81
|
+
|
|
82
|
+
if (vbasoftwareDatabase != null) {
|
|
83
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
84
|
+
}
|
|
85
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
86
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
87
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
88
|
+
localVarRequestOptions.data = serializeDataIfNeeded(planPlaceAuth, localVarRequestOptions, configuration)
|
|
89
|
+
|
|
90
|
+
return {
|
|
91
|
+
url: toPathString(localVarUrlObj),
|
|
92
|
+
options: localVarRequestOptions,
|
|
93
|
+
};
|
|
94
|
+
},
|
|
95
|
+
/**
|
|
96
|
+
* Deletes an PlanPlaceAuth
|
|
97
|
+
* @summary Delete PlanPlaceAuth
|
|
98
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
99
|
+
* @param {string} planID Plan ID
|
|
100
|
+
* @param {string} placeCode Place Code
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
deletePlanPlaceAuth: async (vbasoftwareDatabase: string, planID: string, placeCode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
105
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
106
|
+
assertParamExists('deletePlanPlaceAuth', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
107
|
+
// verify required parameter 'planID' is not null or undefined
|
|
108
|
+
assertParamExists('deletePlanPlaceAuth', 'planID', planID)
|
|
109
|
+
// verify required parameter 'placeCode' is not null or undefined
|
|
110
|
+
assertParamExists('deletePlanPlaceAuth', 'placeCode', placeCode)
|
|
111
|
+
const localVarPath = `/plans/{Plan_ID}/place-auths/{Place_Code}`
|
|
112
|
+
.replace(`{${"Plan_ID"}}`, encodeURIComponent(String(planID)))
|
|
113
|
+
.replace(`{${"Place_Code"}}`, encodeURIComponent(String(placeCode)));
|
|
114
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
115
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
116
|
+
let baseOptions;
|
|
117
|
+
if (configuration) {
|
|
118
|
+
baseOptions = configuration.baseOptions;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
122
|
+
const localVarHeaderParameter = {} as any;
|
|
123
|
+
const localVarQueryParameter = {} as any;
|
|
124
|
+
|
|
125
|
+
// authentication apiKeyAuth required
|
|
126
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
127
|
+
|
|
128
|
+
// authentication bearerAuth required
|
|
129
|
+
// http bearer authentication required
|
|
130
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
if (vbasoftwareDatabase != null) {
|
|
135
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
136
|
+
}
|
|
137
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
138
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
139
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
140
|
+
|
|
141
|
+
return {
|
|
142
|
+
url: toPathString(localVarUrlObj),
|
|
143
|
+
options: localVarRequestOptions,
|
|
144
|
+
};
|
|
145
|
+
},
|
|
146
|
+
/**
|
|
147
|
+
* Gets PlanPlaceAuth
|
|
148
|
+
* @summary Get PlanPlaceAuth
|
|
149
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
150
|
+
* @param {string} planID Plan ID
|
|
151
|
+
* @param {string} placeCode Place Code
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
getPlanPlaceAuth: async (vbasoftwareDatabase: string, planID: string, placeCode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
156
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
157
|
+
assertParamExists('getPlanPlaceAuth', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
158
|
+
// verify required parameter 'planID' is not null or undefined
|
|
159
|
+
assertParamExists('getPlanPlaceAuth', 'planID', planID)
|
|
160
|
+
// verify required parameter 'placeCode' is not null or undefined
|
|
161
|
+
assertParamExists('getPlanPlaceAuth', 'placeCode', placeCode)
|
|
162
|
+
const localVarPath = `/plans/{Plan_ID}/place-auths/{Place_Code}`
|
|
163
|
+
.replace(`{${"Plan_ID"}}`, encodeURIComponent(String(planID)))
|
|
164
|
+
.replace(`{${"Place_Code"}}`, encodeURIComponent(String(placeCode)));
|
|
165
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
166
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
167
|
+
let baseOptions;
|
|
168
|
+
if (configuration) {
|
|
169
|
+
baseOptions = configuration.baseOptions;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
173
|
+
const localVarHeaderParameter = {} as any;
|
|
174
|
+
const localVarQueryParameter = {} as any;
|
|
175
|
+
|
|
176
|
+
// authentication apiKeyAuth required
|
|
177
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
178
|
+
|
|
179
|
+
// authentication bearerAuth required
|
|
180
|
+
// http bearer authentication required
|
|
181
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
if (vbasoftwareDatabase != null) {
|
|
186
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
187
|
+
}
|
|
188
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
189
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
190
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
191
|
+
|
|
192
|
+
return {
|
|
193
|
+
url: toPathString(localVarUrlObj),
|
|
194
|
+
options: localVarRequestOptions,
|
|
195
|
+
};
|
|
196
|
+
},
|
|
197
|
+
/**
|
|
198
|
+
* Lists all PlanPlaceAuth for the given Plan_ID
|
|
199
|
+
* @summary List PlanPlaceAuth
|
|
200
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
201
|
+
* @param {string} planID Plan ID
|
|
202
|
+
* @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.
|
|
203
|
+
* @param {number} [page] Page
|
|
204
|
+
* @param {number} [pageSize] Page Size
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
*/
|
|
208
|
+
listPlanPlaceAuth: async (vbasoftwareDatabase: string, planID: string, sortBy?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
209
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
210
|
+
assertParamExists('listPlanPlaceAuth', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
211
|
+
// verify required parameter 'planID' is not null or undefined
|
|
212
|
+
assertParamExists('listPlanPlaceAuth', 'planID', planID)
|
|
213
|
+
const localVarPath = `/plans/{Plan_ID}/place-auths`
|
|
214
|
+
.replace(`{${"Plan_ID"}}`, encodeURIComponent(String(planID)));
|
|
215
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
216
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
217
|
+
let baseOptions;
|
|
218
|
+
if (configuration) {
|
|
219
|
+
baseOptions = configuration.baseOptions;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
223
|
+
const localVarHeaderParameter = {} as any;
|
|
224
|
+
const localVarQueryParameter = {} as any;
|
|
225
|
+
|
|
226
|
+
// authentication apiKeyAuth required
|
|
227
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
228
|
+
|
|
229
|
+
// authentication bearerAuth required
|
|
230
|
+
// http bearer authentication required
|
|
231
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
232
|
+
|
|
233
|
+
if (sortBy !== undefined) {
|
|
234
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
if (page !== undefined) {
|
|
238
|
+
localVarQueryParameter['page'] = page;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
if (pageSize !== undefined) {
|
|
242
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
if (vbasoftwareDatabase != null) {
|
|
248
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
249
|
+
}
|
|
250
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
251
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
252
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
253
|
+
|
|
254
|
+
return {
|
|
255
|
+
url: toPathString(localVarUrlObj),
|
|
256
|
+
options: localVarRequestOptions,
|
|
257
|
+
};
|
|
258
|
+
},
|
|
259
|
+
/**
|
|
260
|
+
* Create or Update multiple PlanPlaceAuth at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
261
|
+
* @summary Create or Update Batch PlanPlaceAuth
|
|
262
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
263
|
+
* @param {Array<PlanPlaceAuth>} planPlaceAuth
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
updateBatchPlanPlaceAuth: async (vbasoftwareDatabase: string, planPlaceAuth: Array<PlanPlaceAuth>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
268
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
269
|
+
assertParamExists('updateBatchPlanPlaceAuth', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
270
|
+
// verify required parameter 'planPlaceAuth' is not null or undefined
|
|
271
|
+
assertParamExists('updateBatchPlanPlaceAuth', 'planPlaceAuth', planPlaceAuth)
|
|
272
|
+
const localVarPath = `/plan-place-auths-batch`;
|
|
273
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
274
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
275
|
+
let baseOptions;
|
|
276
|
+
if (configuration) {
|
|
277
|
+
baseOptions = configuration.baseOptions;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
281
|
+
const localVarHeaderParameter = {} as any;
|
|
282
|
+
const localVarQueryParameter = {} as any;
|
|
283
|
+
|
|
284
|
+
// authentication apiKeyAuth required
|
|
285
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
286
|
+
|
|
287
|
+
// authentication bearerAuth required
|
|
288
|
+
// http bearer authentication required
|
|
289
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
294
|
+
|
|
295
|
+
if (vbasoftwareDatabase != null) {
|
|
296
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
297
|
+
}
|
|
298
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
299
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
300
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
301
|
+
localVarRequestOptions.data = serializeDataIfNeeded(planPlaceAuth, localVarRequestOptions, configuration)
|
|
302
|
+
|
|
303
|
+
return {
|
|
304
|
+
url: toPathString(localVarUrlObj),
|
|
305
|
+
options: localVarRequestOptions,
|
|
306
|
+
};
|
|
307
|
+
},
|
|
308
|
+
/**
|
|
309
|
+
* Updates a specific PlanPlaceAuth.
|
|
310
|
+
* @summary Update PlanPlaceAuth
|
|
311
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
312
|
+
* @param {string} planID Plan ID
|
|
313
|
+
* @param {string} placeCode Place Code
|
|
314
|
+
* @param {PlanPlaceAuth} planPlaceAuth
|
|
315
|
+
* @param {*} [options] Override http request option.
|
|
316
|
+
* @throws {RequiredError}
|
|
317
|
+
*/
|
|
318
|
+
updatePlanPlaceAuth: async (vbasoftwareDatabase: string, planID: string, placeCode: string, planPlaceAuth: PlanPlaceAuth, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
319
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
320
|
+
assertParamExists('updatePlanPlaceAuth', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
321
|
+
// verify required parameter 'planID' is not null or undefined
|
|
322
|
+
assertParamExists('updatePlanPlaceAuth', 'planID', planID)
|
|
323
|
+
// verify required parameter 'placeCode' is not null or undefined
|
|
324
|
+
assertParamExists('updatePlanPlaceAuth', 'placeCode', placeCode)
|
|
325
|
+
// verify required parameter 'planPlaceAuth' is not null or undefined
|
|
326
|
+
assertParamExists('updatePlanPlaceAuth', 'planPlaceAuth', planPlaceAuth)
|
|
327
|
+
const localVarPath = `/plans/{Plan_ID}/place-auths/{Place_Code}`
|
|
328
|
+
.replace(`{${"Plan_ID"}}`, encodeURIComponent(String(planID)))
|
|
329
|
+
.replace(`{${"Place_Code"}}`, encodeURIComponent(String(placeCode)));
|
|
330
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
331
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
332
|
+
let baseOptions;
|
|
333
|
+
if (configuration) {
|
|
334
|
+
baseOptions = configuration.baseOptions;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
338
|
+
const localVarHeaderParameter = {} as any;
|
|
339
|
+
const localVarQueryParameter = {} as any;
|
|
340
|
+
|
|
341
|
+
// authentication apiKeyAuth required
|
|
342
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
343
|
+
|
|
344
|
+
// authentication bearerAuth required
|
|
345
|
+
// http bearer authentication required
|
|
346
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
351
|
+
|
|
352
|
+
if (vbasoftwareDatabase != null) {
|
|
353
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
354
|
+
}
|
|
355
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
356
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
357
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
358
|
+
localVarRequestOptions.data = serializeDataIfNeeded(planPlaceAuth, localVarRequestOptions, configuration)
|
|
359
|
+
|
|
360
|
+
return {
|
|
361
|
+
url: toPathString(localVarUrlObj),
|
|
362
|
+
options: localVarRequestOptions,
|
|
363
|
+
};
|
|
364
|
+
},
|
|
365
|
+
}
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* PlanPlaceAuthApi - functional programming interface
|
|
370
|
+
* @export
|
|
371
|
+
*/
|
|
372
|
+
export const PlanPlaceAuthApiFp = function(configuration?: Configuration) {
|
|
373
|
+
const localVarAxiosParamCreator = PlanPlaceAuthApiAxiosParamCreator(configuration)
|
|
374
|
+
return {
|
|
375
|
+
/**
|
|
376
|
+
* Creates a new PlanPlaceAuth
|
|
377
|
+
* @summary Create PlanPlaceAuth
|
|
378
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
379
|
+
* @param {string} planID Plan ID
|
|
380
|
+
* @param {string} placeCode Place Code
|
|
381
|
+
* @param {PlanPlaceAuth} planPlaceAuth
|
|
382
|
+
* @param {*} [options] Override http request option.
|
|
383
|
+
* @throws {RequiredError}
|
|
384
|
+
*/
|
|
385
|
+
async createPlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, planPlaceAuth: PlanPlaceAuth, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanPlaceAuthVBAResponse>> {
|
|
386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createPlanPlaceAuth(vbasoftwareDatabase, planID, placeCode, planPlaceAuth, options);
|
|
387
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
388
|
+
const localVarOperationServerBasePath = operationServerMap['PlanPlaceAuthApi.createPlanPlaceAuth']?.[localVarOperationServerIndex]?.url;
|
|
389
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
390
|
+
},
|
|
391
|
+
/**
|
|
392
|
+
* Deletes an PlanPlaceAuth
|
|
393
|
+
* @summary Delete PlanPlaceAuth
|
|
394
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
395
|
+
* @param {string} planID Plan ID
|
|
396
|
+
* @param {string} placeCode Place Code
|
|
397
|
+
* @param {*} [options] Override http request option.
|
|
398
|
+
* @throws {RequiredError}
|
|
399
|
+
*/
|
|
400
|
+
async deletePlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletePlanPlaceAuth(vbasoftwareDatabase, planID, placeCode, options);
|
|
402
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
403
|
+
const localVarOperationServerBasePath = operationServerMap['PlanPlaceAuthApi.deletePlanPlaceAuth']?.[localVarOperationServerIndex]?.url;
|
|
404
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
405
|
+
},
|
|
406
|
+
/**
|
|
407
|
+
* Gets PlanPlaceAuth
|
|
408
|
+
* @summary Get PlanPlaceAuth
|
|
409
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
410
|
+
* @param {string} planID Plan ID
|
|
411
|
+
* @param {string} placeCode Place Code
|
|
412
|
+
* @param {*} [options] Override http request option.
|
|
413
|
+
* @throws {RequiredError}
|
|
414
|
+
*/
|
|
415
|
+
async getPlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanPlaceAuthVBAResponse>> {
|
|
416
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPlanPlaceAuth(vbasoftwareDatabase, planID, placeCode, options);
|
|
417
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
418
|
+
const localVarOperationServerBasePath = operationServerMap['PlanPlaceAuthApi.getPlanPlaceAuth']?.[localVarOperationServerIndex]?.url;
|
|
419
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
420
|
+
},
|
|
421
|
+
/**
|
|
422
|
+
* Lists all PlanPlaceAuth for the given Plan_ID
|
|
423
|
+
* @summary List PlanPlaceAuth
|
|
424
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
425
|
+
* @param {string} planID Plan ID
|
|
426
|
+
* @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.
|
|
427
|
+
* @param {number} [page] Page
|
|
428
|
+
* @param {number} [pageSize] Page Size
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
*/
|
|
432
|
+
async listPlanPlaceAuth(vbasoftwareDatabase: string, planID: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanPlaceAuthListVBAResponse>> {
|
|
433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlanPlaceAuth(vbasoftwareDatabase, planID, sortBy, page, pageSize, options);
|
|
434
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
435
|
+
const localVarOperationServerBasePath = operationServerMap['PlanPlaceAuthApi.listPlanPlaceAuth']?.[localVarOperationServerIndex]?.url;
|
|
436
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
437
|
+
},
|
|
438
|
+
/**
|
|
439
|
+
* Create or Update multiple PlanPlaceAuth at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
440
|
+
* @summary Create or Update Batch PlanPlaceAuth
|
|
441
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
442
|
+
* @param {Array<PlanPlaceAuth>} planPlaceAuth
|
|
443
|
+
* @param {*} [options] Override http request option.
|
|
444
|
+
* @throws {RequiredError}
|
|
445
|
+
*/
|
|
446
|
+
async updateBatchPlanPlaceAuth(vbasoftwareDatabase: string, planPlaceAuth: Array<PlanPlaceAuth>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
|
|
447
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchPlanPlaceAuth(vbasoftwareDatabase, planPlaceAuth, options);
|
|
448
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
449
|
+
const localVarOperationServerBasePath = operationServerMap['PlanPlaceAuthApi.updateBatchPlanPlaceAuth']?.[localVarOperationServerIndex]?.url;
|
|
450
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
451
|
+
},
|
|
452
|
+
/**
|
|
453
|
+
* Updates a specific PlanPlaceAuth.
|
|
454
|
+
* @summary Update PlanPlaceAuth
|
|
455
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
456
|
+
* @param {string} planID Plan ID
|
|
457
|
+
* @param {string} placeCode Place Code
|
|
458
|
+
* @param {PlanPlaceAuth} planPlaceAuth
|
|
459
|
+
* @param {*} [options] Override http request option.
|
|
460
|
+
* @throws {RequiredError}
|
|
461
|
+
*/
|
|
462
|
+
async updatePlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, planPlaceAuth: PlanPlaceAuth, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanPlaceAuthVBAResponse>> {
|
|
463
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePlanPlaceAuth(vbasoftwareDatabase, planID, placeCode, planPlaceAuth, options);
|
|
464
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
465
|
+
const localVarOperationServerBasePath = operationServerMap['PlanPlaceAuthApi.updatePlanPlaceAuth']?.[localVarOperationServerIndex]?.url;
|
|
466
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
467
|
+
},
|
|
468
|
+
}
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* PlanPlaceAuthApi - factory interface
|
|
473
|
+
* @export
|
|
474
|
+
*/
|
|
475
|
+
export const PlanPlaceAuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
476
|
+
const localVarFp = PlanPlaceAuthApiFp(configuration)
|
|
477
|
+
return {
|
|
478
|
+
/**
|
|
479
|
+
* Creates a new PlanPlaceAuth
|
|
480
|
+
* @summary Create PlanPlaceAuth
|
|
481
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
482
|
+
* @param {string} planID Plan ID
|
|
483
|
+
* @param {string} placeCode Place Code
|
|
484
|
+
* @param {PlanPlaceAuth} planPlaceAuth
|
|
485
|
+
* @param {*} [options] Override http request option.
|
|
486
|
+
* @throws {RequiredError}
|
|
487
|
+
*/
|
|
488
|
+
createPlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, planPlaceAuth: PlanPlaceAuth, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthVBAResponse> {
|
|
489
|
+
return localVarFp.createPlanPlaceAuth(vbasoftwareDatabase, planID, placeCode, planPlaceAuth, options).then((request) => request(axios, basePath));
|
|
490
|
+
},
|
|
491
|
+
/**
|
|
492
|
+
* Deletes an PlanPlaceAuth
|
|
493
|
+
* @summary Delete PlanPlaceAuth
|
|
494
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
495
|
+
* @param {string} planID Plan ID
|
|
496
|
+
* @param {string} placeCode Place Code
|
|
497
|
+
* @param {*} [options] Override http request option.
|
|
498
|
+
* @throws {RequiredError}
|
|
499
|
+
*/
|
|
500
|
+
deletePlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
501
|
+
return localVarFp.deletePlanPlaceAuth(vbasoftwareDatabase, planID, placeCode, options).then((request) => request(axios, basePath));
|
|
502
|
+
},
|
|
503
|
+
/**
|
|
504
|
+
* Gets PlanPlaceAuth
|
|
505
|
+
* @summary Get PlanPlaceAuth
|
|
506
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
507
|
+
* @param {string} planID Plan ID
|
|
508
|
+
* @param {string} placeCode Place Code
|
|
509
|
+
* @param {*} [options] Override http request option.
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
*/
|
|
512
|
+
getPlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthVBAResponse> {
|
|
513
|
+
return localVarFp.getPlanPlaceAuth(vbasoftwareDatabase, planID, placeCode, options).then((request) => request(axios, basePath));
|
|
514
|
+
},
|
|
515
|
+
/**
|
|
516
|
+
* Lists all PlanPlaceAuth for the given Plan_ID
|
|
517
|
+
* @summary List PlanPlaceAuth
|
|
518
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
519
|
+
* @param {string} planID Plan ID
|
|
520
|
+
* @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.
|
|
521
|
+
* @param {number} [page] Page
|
|
522
|
+
* @param {number} [pageSize] Page Size
|
|
523
|
+
* @param {*} [options] Override http request option.
|
|
524
|
+
* @throws {RequiredError}
|
|
525
|
+
*/
|
|
526
|
+
listPlanPlaceAuth(vbasoftwareDatabase: string, planID: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthListVBAResponse> {
|
|
527
|
+
return localVarFp.listPlanPlaceAuth(vbasoftwareDatabase, planID, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
|
|
528
|
+
},
|
|
529
|
+
/**
|
|
530
|
+
* Create or Update multiple PlanPlaceAuth at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
531
|
+
* @summary Create or Update Batch PlanPlaceAuth
|
|
532
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
533
|
+
* @param {Array<PlanPlaceAuth>} planPlaceAuth
|
|
534
|
+
* @param {*} [options] Override http request option.
|
|
535
|
+
* @throws {RequiredError}
|
|
536
|
+
*/
|
|
537
|
+
updateBatchPlanPlaceAuth(vbasoftwareDatabase: string, planPlaceAuth: Array<PlanPlaceAuth>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse> {
|
|
538
|
+
return localVarFp.updateBatchPlanPlaceAuth(vbasoftwareDatabase, planPlaceAuth, options).then((request) => request(axios, basePath));
|
|
539
|
+
},
|
|
540
|
+
/**
|
|
541
|
+
* Updates a specific PlanPlaceAuth.
|
|
542
|
+
* @summary Update PlanPlaceAuth
|
|
543
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
544
|
+
* @param {string} planID Plan ID
|
|
545
|
+
* @param {string} placeCode Place Code
|
|
546
|
+
* @param {PlanPlaceAuth} planPlaceAuth
|
|
547
|
+
* @param {*} [options] Override http request option.
|
|
548
|
+
* @throws {RequiredError}
|
|
549
|
+
*/
|
|
550
|
+
updatePlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, planPlaceAuth: PlanPlaceAuth, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthVBAResponse> {
|
|
551
|
+
return localVarFp.updatePlanPlaceAuth(vbasoftwareDatabase, planID, placeCode, planPlaceAuth, options).then((request) => request(axios, basePath));
|
|
552
|
+
},
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* PlanPlaceAuthApi - interface
|
|
558
|
+
* @export
|
|
559
|
+
* @interface PlanPlaceAuthApi
|
|
560
|
+
*/
|
|
561
|
+
export interface PlanPlaceAuthApiInterface {
|
|
562
|
+
/**
|
|
563
|
+
* Creates a new PlanPlaceAuth
|
|
564
|
+
* @summary Create PlanPlaceAuth
|
|
565
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
566
|
+
* @param {string} planID Plan ID
|
|
567
|
+
* @param {string} placeCode Place Code
|
|
568
|
+
* @param {PlanPlaceAuth} planPlaceAuth
|
|
569
|
+
* @param {*} [options] Override http request option.
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
* @memberof PlanPlaceAuthApiInterface
|
|
572
|
+
*/
|
|
573
|
+
createPlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, planPlaceAuth: PlanPlaceAuth, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthVBAResponse>;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Deletes an PlanPlaceAuth
|
|
577
|
+
* @summary Delete PlanPlaceAuth
|
|
578
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
579
|
+
* @param {string} planID Plan ID
|
|
580
|
+
* @param {string} placeCode Place Code
|
|
581
|
+
* @param {*} [options] Override http request option.
|
|
582
|
+
* @throws {RequiredError}
|
|
583
|
+
* @memberof PlanPlaceAuthApiInterface
|
|
584
|
+
*/
|
|
585
|
+
deletePlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Gets PlanPlaceAuth
|
|
589
|
+
* @summary Get PlanPlaceAuth
|
|
590
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
591
|
+
* @param {string} planID Plan ID
|
|
592
|
+
* @param {string} placeCode Place Code
|
|
593
|
+
* @param {*} [options] Override http request option.
|
|
594
|
+
* @throws {RequiredError}
|
|
595
|
+
* @memberof PlanPlaceAuthApiInterface
|
|
596
|
+
*/
|
|
597
|
+
getPlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthVBAResponse>;
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* Lists all PlanPlaceAuth for the given Plan_ID
|
|
601
|
+
* @summary List PlanPlaceAuth
|
|
602
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
603
|
+
* @param {string} planID Plan ID
|
|
604
|
+
* @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.
|
|
605
|
+
* @param {number} [page] Page
|
|
606
|
+
* @param {number} [pageSize] Page Size
|
|
607
|
+
* @param {*} [options] Override http request option.
|
|
608
|
+
* @throws {RequiredError}
|
|
609
|
+
* @memberof PlanPlaceAuthApiInterface
|
|
610
|
+
*/
|
|
611
|
+
listPlanPlaceAuth(vbasoftwareDatabase: string, planID: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthListVBAResponse>;
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Create or Update multiple PlanPlaceAuth at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
615
|
+
* @summary Create or Update Batch PlanPlaceAuth
|
|
616
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
617
|
+
* @param {Array<PlanPlaceAuth>} planPlaceAuth
|
|
618
|
+
* @param {*} [options] Override http request option.
|
|
619
|
+
* @throws {RequiredError}
|
|
620
|
+
* @memberof PlanPlaceAuthApiInterface
|
|
621
|
+
*/
|
|
622
|
+
updateBatchPlanPlaceAuth(vbasoftwareDatabase: string, planPlaceAuth: Array<PlanPlaceAuth>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Updates a specific PlanPlaceAuth.
|
|
626
|
+
* @summary Update PlanPlaceAuth
|
|
627
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
628
|
+
* @param {string} planID Plan ID
|
|
629
|
+
* @param {string} placeCode Place Code
|
|
630
|
+
* @param {PlanPlaceAuth} planPlaceAuth
|
|
631
|
+
* @param {*} [options] Override http request option.
|
|
632
|
+
* @throws {RequiredError}
|
|
633
|
+
* @memberof PlanPlaceAuthApiInterface
|
|
634
|
+
*/
|
|
635
|
+
updatePlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, planPlaceAuth: PlanPlaceAuth, options?: RawAxiosRequestConfig): AxiosPromise<PlanPlaceAuthVBAResponse>;
|
|
636
|
+
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* PlanPlaceAuthApi - object-oriented interface
|
|
641
|
+
* @export
|
|
642
|
+
* @class PlanPlaceAuthApi
|
|
643
|
+
* @extends {BaseAPI}
|
|
644
|
+
*/
|
|
645
|
+
export class PlanPlaceAuthApi extends BaseAPI implements PlanPlaceAuthApiInterface {
|
|
646
|
+
/**
|
|
647
|
+
* Creates a new PlanPlaceAuth
|
|
648
|
+
* @summary Create PlanPlaceAuth
|
|
649
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
650
|
+
* @param {string} planID Plan ID
|
|
651
|
+
* @param {string} placeCode Place Code
|
|
652
|
+
* @param {PlanPlaceAuth} planPlaceAuth
|
|
653
|
+
* @param {*} [options] Override http request option.
|
|
654
|
+
* @throws {RequiredError}
|
|
655
|
+
* @memberof PlanPlaceAuthApi
|
|
656
|
+
*/
|
|
657
|
+
public createPlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, planPlaceAuth: PlanPlaceAuth, options?: RawAxiosRequestConfig) {
|
|
658
|
+
return PlanPlaceAuthApiFp(this.configuration).createPlanPlaceAuth(vbasoftwareDatabase, planID, placeCode, planPlaceAuth, options).then((request) => request(this.axios, this.basePath));
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Deletes an PlanPlaceAuth
|
|
663
|
+
* @summary Delete PlanPlaceAuth
|
|
664
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
665
|
+
* @param {string} planID Plan ID
|
|
666
|
+
* @param {string} placeCode Place Code
|
|
667
|
+
* @param {*} [options] Override http request option.
|
|
668
|
+
* @throws {RequiredError}
|
|
669
|
+
* @memberof PlanPlaceAuthApi
|
|
670
|
+
*/
|
|
671
|
+
public deletePlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, options?: RawAxiosRequestConfig) {
|
|
672
|
+
return PlanPlaceAuthApiFp(this.configuration).deletePlanPlaceAuth(vbasoftwareDatabase, planID, placeCode, options).then((request) => request(this.axios, this.basePath));
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* Gets PlanPlaceAuth
|
|
677
|
+
* @summary Get PlanPlaceAuth
|
|
678
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
679
|
+
* @param {string} planID Plan ID
|
|
680
|
+
* @param {string} placeCode Place Code
|
|
681
|
+
* @param {*} [options] Override http request option.
|
|
682
|
+
* @throws {RequiredError}
|
|
683
|
+
* @memberof PlanPlaceAuthApi
|
|
684
|
+
*/
|
|
685
|
+
public getPlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, options?: RawAxiosRequestConfig) {
|
|
686
|
+
return PlanPlaceAuthApiFp(this.configuration).getPlanPlaceAuth(vbasoftwareDatabase, planID, placeCode, options).then((request) => request(this.axios, this.basePath));
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Lists all PlanPlaceAuth for the given Plan_ID
|
|
691
|
+
* @summary List PlanPlaceAuth
|
|
692
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
693
|
+
* @param {string} planID Plan ID
|
|
694
|
+
* @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.
|
|
695
|
+
* @param {number} [page] Page
|
|
696
|
+
* @param {number} [pageSize] Page Size
|
|
697
|
+
* @param {*} [options] Override http request option.
|
|
698
|
+
* @throws {RequiredError}
|
|
699
|
+
* @memberof PlanPlaceAuthApi
|
|
700
|
+
*/
|
|
701
|
+
public listPlanPlaceAuth(vbasoftwareDatabase: string, planID: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
702
|
+
return PlanPlaceAuthApiFp(this.configuration).listPlanPlaceAuth(vbasoftwareDatabase, planID, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* Create or Update multiple PlanPlaceAuth at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
707
|
+
* @summary Create or Update Batch PlanPlaceAuth
|
|
708
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
709
|
+
* @param {Array<PlanPlaceAuth>} planPlaceAuth
|
|
710
|
+
* @param {*} [options] Override http request option.
|
|
711
|
+
* @throws {RequiredError}
|
|
712
|
+
* @memberof PlanPlaceAuthApi
|
|
713
|
+
*/
|
|
714
|
+
public updateBatchPlanPlaceAuth(vbasoftwareDatabase: string, planPlaceAuth: Array<PlanPlaceAuth>, options?: RawAxiosRequestConfig) {
|
|
715
|
+
return PlanPlaceAuthApiFp(this.configuration).updateBatchPlanPlaceAuth(vbasoftwareDatabase, planPlaceAuth, options).then((request) => request(this.axios, this.basePath));
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* Updates a specific PlanPlaceAuth.
|
|
720
|
+
* @summary Update PlanPlaceAuth
|
|
721
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
722
|
+
* @param {string} planID Plan ID
|
|
723
|
+
* @param {string} placeCode Place Code
|
|
724
|
+
* @param {PlanPlaceAuth} planPlaceAuth
|
|
725
|
+
* @param {*} [options] Override http request option.
|
|
726
|
+
* @throws {RequiredError}
|
|
727
|
+
* @memberof PlanPlaceAuthApi
|
|
728
|
+
*/
|
|
729
|
+
public updatePlanPlaceAuth(vbasoftwareDatabase: string, planID: string, placeCode: string, planPlaceAuth: PlanPlaceAuth, options?: RawAxiosRequestConfig) {
|
|
730
|
+
return PlanPlaceAuthApiFp(this.configuration).updatePlanPlaceAuth(vbasoftwareDatabase, planID, placeCode, planPlaceAuth, options).then((request) => request(this.axios, this.basePath));
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
|