@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250115.9 → 1.20250124.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 +11 -0
- package/.openapi-generator/VERSION +1 -1
- package/api/adv-billing-api.ts +201 -1
- package/api/adv-group-contracts-api.ts +198 -0
- package/api/claim-adjudication-api.ts +22 -15
- package/api/group-contracts-api.ts +198 -0
- package/api/group-day-interval-api.ts +793 -0
- package/api/jobs-api.ts +108 -0
- package/api/premium-invoices-api.ts +98 -0
- package/api/premium-payments-api.ts +102 -0
- package/api/report-series-processes-api.ts +1 -1
- package/api/support-api.ts +15 -19
- package/api/user-status-api.ts +166 -0
- package/api.ts +2 -0
- package/configuration.ts +7 -1
- package/models/covered-benefit.ts +42 -0
- package/models/group-contract-copy-config.ts +54 -0
- package/models/group-day-interval-list-vbaresponse.ts +51 -0
- package/models/group-day-interval-vbaresponse.ts +51 -0
- package/models/group-day-interval.ts +78 -0
- package/models/index.ts +9 -0
- package/models/prem-invoice-apply-payment.ts +10 -1
- package/models/vbaprocess-payment-file-response-vbaresponse.ts +51 -0
- package/models/vbaprocess-payment-file-response.ts +48 -0
- package/models/vbaprocess-payment-file.ts +78 -0
- package/models/vbauser-status-vbaresponse.ts +51 -0
- package/models/vbauser-status.ts +39 -0
- package/package.json +1 -1
|
@@ -0,0 +1,793 @@
|
|
|
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 { GroupDayInterval } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { GroupDayIntervalListVBAResponse } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { GroupDayIntervalVBAResponse } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { MultiCodeResponseListVBAResponse } from '../models';
|
|
32
|
+
/**
|
|
33
|
+
* GroupDayIntervalApi - axios parameter creator
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export const GroupDayIntervalApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37
|
+
return {
|
|
38
|
+
/**
|
|
39
|
+
* Creates a new GroupDayInterval
|
|
40
|
+
* @summary Create GroupDayInterval
|
|
41
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
42
|
+
* @param {GroupDayInterval} groupDayInterval
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
createGroupDayInterval: async (vbasoftwareDatabase: string, groupDayInterval: GroupDayInterval, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
48
|
+
assertParamExists('createGroupDayInterval', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
49
|
+
// verify required parameter 'groupDayInterval' is not null or undefined
|
|
50
|
+
assertParamExists('createGroupDayInterval', 'groupDayInterval', groupDayInterval)
|
|
51
|
+
const localVarPath = `/group-day-intervals`;
|
|
52
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
54
|
+
let baseOptions;
|
|
55
|
+
if (configuration) {
|
|
56
|
+
baseOptions = configuration.baseOptions;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
60
|
+
const localVarHeaderParameter = {} as any;
|
|
61
|
+
const localVarQueryParameter = {} as any;
|
|
62
|
+
|
|
63
|
+
// authentication apiKeyAuth required
|
|
64
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
65
|
+
|
|
66
|
+
// authentication bearerAuth required
|
|
67
|
+
// http bearer authentication required
|
|
68
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
73
|
+
|
|
74
|
+
if (vbasoftwareDatabase != null) {
|
|
75
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
76
|
+
}
|
|
77
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
78
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
79
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
80
|
+
localVarRequestOptions.data = serializeDataIfNeeded(groupDayInterval, localVarRequestOptions, configuration)
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
url: toPathString(localVarUrlObj),
|
|
84
|
+
options: localVarRequestOptions,
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* Deletes an GroupDayInterval
|
|
89
|
+
* @summary Delete GroupDayInterval
|
|
90
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
91
|
+
* @param {string} groupID Group ID
|
|
92
|
+
* @param {number} intervalYear Interval Year
|
|
93
|
+
* @param {number} intervalMonth Interval Month
|
|
94
|
+
* @param {number} intervalDay Interval Day
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
deleteGroupDayInterval: async (vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
99
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
100
|
+
assertParamExists('deleteGroupDayInterval', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
101
|
+
// verify required parameter 'groupID' is not null or undefined
|
|
102
|
+
assertParamExists('deleteGroupDayInterval', 'groupID', groupID)
|
|
103
|
+
// verify required parameter 'intervalYear' is not null or undefined
|
|
104
|
+
assertParamExists('deleteGroupDayInterval', 'intervalYear', intervalYear)
|
|
105
|
+
// verify required parameter 'intervalMonth' is not null or undefined
|
|
106
|
+
assertParamExists('deleteGroupDayInterval', 'intervalMonth', intervalMonth)
|
|
107
|
+
// verify required parameter 'intervalDay' is not null or undefined
|
|
108
|
+
assertParamExists('deleteGroupDayInterval', 'intervalDay', intervalDay)
|
|
109
|
+
const localVarPath = `/group-day-intervals/{Group_ID}/{Interval_Year}/{Interval_Month}/{Interval_Day}`
|
|
110
|
+
.replace(`{${"Group_ID"}}`, encodeURIComponent(String(groupID)))
|
|
111
|
+
.replace(`{${"Interval_Year"}}`, encodeURIComponent(String(intervalYear)))
|
|
112
|
+
.replace(`{${"Interval_Month"}}`, encodeURIComponent(String(intervalMonth)))
|
|
113
|
+
.replace(`{${"Interval_Day"}}`, encodeURIComponent(String(intervalDay)));
|
|
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 GroupDayInterval
|
|
148
|
+
* @summary Get GroupDayInterval
|
|
149
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
150
|
+
* @param {string} groupID Group ID
|
|
151
|
+
* @param {number} intervalYear Interval Year
|
|
152
|
+
* @param {number} intervalMonth Interval Month
|
|
153
|
+
* @param {number} intervalDay Interval Day
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
getGroupDayInterval: async (vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
158
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
159
|
+
assertParamExists('getGroupDayInterval', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
160
|
+
// verify required parameter 'groupID' is not null or undefined
|
|
161
|
+
assertParamExists('getGroupDayInterval', 'groupID', groupID)
|
|
162
|
+
// verify required parameter 'intervalYear' is not null or undefined
|
|
163
|
+
assertParamExists('getGroupDayInterval', 'intervalYear', intervalYear)
|
|
164
|
+
// verify required parameter 'intervalMonth' is not null or undefined
|
|
165
|
+
assertParamExists('getGroupDayInterval', 'intervalMonth', intervalMonth)
|
|
166
|
+
// verify required parameter 'intervalDay' is not null or undefined
|
|
167
|
+
assertParamExists('getGroupDayInterval', 'intervalDay', intervalDay)
|
|
168
|
+
const localVarPath = `/group-day-intervals/{Group_ID}/{Interval_Year}/{Interval_Month}/{Interval_Day}`
|
|
169
|
+
.replace(`{${"Group_ID"}}`, encodeURIComponent(String(groupID)))
|
|
170
|
+
.replace(`{${"Interval_Year"}}`, encodeURIComponent(String(intervalYear)))
|
|
171
|
+
.replace(`{${"Interval_Month"}}`, encodeURIComponent(String(intervalMonth)))
|
|
172
|
+
.replace(`{${"Interval_Day"}}`, encodeURIComponent(String(intervalDay)));
|
|
173
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
174
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
175
|
+
let baseOptions;
|
|
176
|
+
if (configuration) {
|
|
177
|
+
baseOptions = configuration.baseOptions;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
181
|
+
const localVarHeaderParameter = {} as any;
|
|
182
|
+
const localVarQueryParameter = {} as any;
|
|
183
|
+
|
|
184
|
+
// authentication apiKeyAuth required
|
|
185
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
186
|
+
|
|
187
|
+
// authentication bearerAuth required
|
|
188
|
+
// http bearer authentication required
|
|
189
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
if (vbasoftwareDatabase != null) {
|
|
194
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
195
|
+
}
|
|
196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
198
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
199
|
+
|
|
200
|
+
return {
|
|
201
|
+
url: toPathString(localVarUrlObj),
|
|
202
|
+
options: localVarRequestOptions,
|
|
203
|
+
};
|
|
204
|
+
},
|
|
205
|
+
/**
|
|
206
|
+
* Lists all GroupDayInterval for the given Group_ID and Interval_Year and Interval_Month and Interval_Day
|
|
207
|
+
* @summary List GroupDayInterval
|
|
208
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
209
|
+
* @param {string} [groupID] Optional filter for Group ID
|
|
210
|
+
* @param {number} [intervalYear] Optional filter for Interval Year
|
|
211
|
+
* @param {number} [intervalMonth] Optional filter for Interval Month
|
|
212
|
+
* @param {number} [intervalDay] Optional filter for Interval Day
|
|
213
|
+
* @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.
|
|
214
|
+
* @param {number} [page] Page
|
|
215
|
+
* @param {number} [pageSize] Page Size
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
*/
|
|
219
|
+
listGroupDayInterval: async (vbasoftwareDatabase: string, groupID?: string, intervalYear?: number, intervalMonth?: number, intervalDay?: number, sortBy?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
220
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
221
|
+
assertParamExists('listGroupDayInterval', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
222
|
+
const localVarPath = `/group-day-intervals`;
|
|
223
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
224
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
225
|
+
let baseOptions;
|
|
226
|
+
if (configuration) {
|
|
227
|
+
baseOptions = configuration.baseOptions;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
231
|
+
const localVarHeaderParameter = {} as any;
|
|
232
|
+
const localVarQueryParameter = {} as any;
|
|
233
|
+
|
|
234
|
+
// authentication apiKeyAuth required
|
|
235
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
236
|
+
|
|
237
|
+
// authentication bearerAuth required
|
|
238
|
+
// http bearer authentication required
|
|
239
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
240
|
+
|
|
241
|
+
if (groupID !== undefined) {
|
|
242
|
+
localVarQueryParameter['Group_ID'] = groupID;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
if (intervalYear !== undefined) {
|
|
246
|
+
localVarQueryParameter['Interval_Year'] = intervalYear;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
if (intervalMonth !== undefined) {
|
|
250
|
+
localVarQueryParameter['Interval_Month'] = intervalMonth;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
if (intervalDay !== undefined) {
|
|
254
|
+
localVarQueryParameter['Interval_Day'] = intervalDay;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
if (sortBy !== undefined) {
|
|
258
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
if (page !== undefined) {
|
|
262
|
+
localVarQueryParameter['page'] = page;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
if (pageSize !== undefined) {
|
|
266
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
if (vbasoftwareDatabase != null) {
|
|
272
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
273
|
+
}
|
|
274
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
275
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
276
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
277
|
+
|
|
278
|
+
return {
|
|
279
|
+
url: toPathString(localVarUrlObj),
|
|
280
|
+
options: localVarRequestOptions,
|
|
281
|
+
};
|
|
282
|
+
},
|
|
283
|
+
/**
|
|
284
|
+
* Create or Update multiple GroupDayInterval at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
285
|
+
* @summary Create or Update Batch GroupDayInterval
|
|
286
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
287
|
+
* @param {Array<GroupDayInterval>} groupDayInterval
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
*/
|
|
291
|
+
updateBatchGroupDayInterval: async (vbasoftwareDatabase: string, groupDayInterval: Array<GroupDayInterval>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
292
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
293
|
+
assertParamExists('updateBatchGroupDayInterval', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
294
|
+
// verify required parameter 'groupDayInterval' is not null or undefined
|
|
295
|
+
assertParamExists('updateBatchGroupDayInterval', 'groupDayInterval', groupDayInterval)
|
|
296
|
+
const localVarPath = `/group-day-intervals-batch`;
|
|
297
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
298
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
299
|
+
let baseOptions;
|
|
300
|
+
if (configuration) {
|
|
301
|
+
baseOptions = configuration.baseOptions;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
305
|
+
const localVarHeaderParameter = {} as any;
|
|
306
|
+
const localVarQueryParameter = {} as any;
|
|
307
|
+
|
|
308
|
+
// authentication apiKeyAuth required
|
|
309
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
310
|
+
|
|
311
|
+
// authentication bearerAuth required
|
|
312
|
+
// http bearer authentication required
|
|
313
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
318
|
+
|
|
319
|
+
if (vbasoftwareDatabase != null) {
|
|
320
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
321
|
+
}
|
|
322
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
323
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
324
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
325
|
+
localVarRequestOptions.data = serializeDataIfNeeded(groupDayInterval, localVarRequestOptions, configuration)
|
|
326
|
+
|
|
327
|
+
return {
|
|
328
|
+
url: toPathString(localVarUrlObj),
|
|
329
|
+
options: localVarRequestOptions,
|
|
330
|
+
};
|
|
331
|
+
},
|
|
332
|
+
/**
|
|
333
|
+
* Updates a specific GroupDayInterval.
|
|
334
|
+
* @summary Update GroupDayInterval
|
|
335
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
336
|
+
* @param {string} groupID Group ID
|
|
337
|
+
* @param {number} intervalYear Interval Year
|
|
338
|
+
* @param {number} intervalMonth Interval Month
|
|
339
|
+
* @param {number} intervalDay Interval Day
|
|
340
|
+
* @param {GroupDayInterval} groupDayInterval
|
|
341
|
+
* @param {*} [options] Override http request option.
|
|
342
|
+
* @throws {RequiredError}
|
|
343
|
+
*/
|
|
344
|
+
updateGroupDayInterval: async (vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, groupDayInterval: GroupDayInterval, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
345
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
346
|
+
assertParamExists('updateGroupDayInterval', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
347
|
+
// verify required parameter 'groupID' is not null or undefined
|
|
348
|
+
assertParamExists('updateGroupDayInterval', 'groupID', groupID)
|
|
349
|
+
// verify required parameter 'intervalYear' is not null or undefined
|
|
350
|
+
assertParamExists('updateGroupDayInterval', 'intervalYear', intervalYear)
|
|
351
|
+
// verify required parameter 'intervalMonth' is not null or undefined
|
|
352
|
+
assertParamExists('updateGroupDayInterval', 'intervalMonth', intervalMonth)
|
|
353
|
+
// verify required parameter 'intervalDay' is not null or undefined
|
|
354
|
+
assertParamExists('updateGroupDayInterval', 'intervalDay', intervalDay)
|
|
355
|
+
// verify required parameter 'groupDayInterval' is not null or undefined
|
|
356
|
+
assertParamExists('updateGroupDayInterval', 'groupDayInterval', groupDayInterval)
|
|
357
|
+
const localVarPath = `/group-day-intervals/{Group_ID}/{Interval_Year}/{Interval_Month}/{Interval_Day}`
|
|
358
|
+
.replace(`{${"Group_ID"}}`, encodeURIComponent(String(groupID)))
|
|
359
|
+
.replace(`{${"Interval_Year"}}`, encodeURIComponent(String(intervalYear)))
|
|
360
|
+
.replace(`{${"Interval_Month"}}`, encodeURIComponent(String(intervalMonth)))
|
|
361
|
+
.replace(`{${"Interval_Day"}}`, encodeURIComponent(String(intervalDay)));
|
|
362
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
363
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
364
|
+
let baseOptions;
|
|
365
|
+
if (configuration) {
|
|
366
|
+
baseOptions = configuration.baseOptions;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
370
|
+
const localVarHeaderParameter = {} as any;
|
|
371
|
+
const localVarQueryParameter = {} as any;
|
|
372
|
+
|
|
373
|
+
// authentication apiKeyAuth required
|
|
374
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
375
|
+
|
|
376
|
+
// authentication bearerAuth required
|
|
377
|
+
// http bearer authentication required
|
|
378
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
383
|
+
|
|
384
|
+
if (vbasoftwareDatabase != null) {
|
|
385
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
386
|
+
}
|
|
387
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
388
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
389
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
390
|
+
localVarRequestOptions.data = serializeDataIfNeeded(groupDayInterval, localVarRequestOptions, configuration)
|
|
391
|
+
|
|
392
|
+
return {
|
|
393
|
+
url: toPathString(localVarUrlObj),
|
|
394
|
+
options: localVarRequestOptions,
|
|
395
|
+
};
|
|
396
|
+
},
|
|
397
|
+
}
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* GroupDayIntervalApi - functional programming interface
|
|
402
|
+
* @export
|
|
403
|
+
*/
|
|
404
|
+
export const GroupDayIntervalApiFp = function(configuration?: Configuration) {
|
|
405
|
+
const localVarAxiosParamCreator = GroupDayIntervalApiAxiosParamCreator(configuration)
|
|
406
|
+
return {
|
|
407
|
+
/**
|
|
408
|
+
* Creates a new GroupDayInterval
|
|
409
|
+
* @summary Create GroupDayInterval
|
|
410
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
411
|
+
* @param {GroupDayInterval} groupDayInterval
|
|
412
|
+
* @param {*} [options] Override http request option.
|
|
413
|
+
* @throws {RequiredError}
|
|
414
|
+
*/
|
|
415
|
+
async createGroupDayInterval(vbasoftwareDatabase: string, groupDayInterval: GroupDayInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupDayIntervalVBAResponse>> {
|
|
416
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createGroupDayInterval(vbasoftwareDatabase, groupDayInterval, options);
|
|
417
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
418
|
+
const localVarOperationServerBasePath = operationServerMap['GroupDayIntervalApi.createGroupDayInterval']?.[localVarOperationServerIndex]?.url;
|
|
419
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
420
|
+
},
|
|
421
|
+
/**
|
|
422
|
+
* Deletes an GroupDayInterval
|
|
423
|
+
* @summary Delete GroupDayInterval
|
|
424
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
425
|
+
* @param {string} groupID Group ID
|
|
426
|
+
* @param {number} intervalYear Interval Year
|
|
427
|
+
* @param {number} intervalMonth Interval Month
|
|
428
|
+
* @param {number} intervalDay Interval Day
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
*/
|
|
432
|
+
async deleteGroupDayInterval(vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGroupDayInterval(vbasoftwareDatabase, groupID, intervalYear, intervalMonth, intervalDay, options);
|
|
434
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
435
|
+
const localVarOperationServerBasePath = operationServerMap['GroupDayIntervalApi.deleteGroupDayInterval']?.[localVarOperationServerIndex]?.url;
|
|
436
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
437
|
+
},
|
|
438
|
+
/**
|
|
439
|
+
* Gets GroupDayInterval
|
|
440
|
+
* @summary Get GroupDayInterval
|
|
441
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
442
|
+
* @param {string} groupID Group ID
|
|
443
|
+
* @param {number} intervalYear Interval Year
|
|
444
|
+
* @param {number} intervalMonth Interval Month
|
|
445
|
+
* @param {number} intervalDay Interval Day
|
|
446
|
+
* @param {*} [options] Override http request option.
|
|
447
|
+
* @throws {RequiredError}
|
|
448
|
+
*/
|
|
449
|
+
async getGroupDayInterval(vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupDayIntervalVBAResponse>> {
|
|
450
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupDayInterval(vbasoftwareDatabase, groupID, intervalYear, intervalMonth, intervalDay, options);
|
|
451
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
452
|
+
const localVarOperationServerBasePath = operationServerMap['GroupDayIntervalApi.getGroupDayInterval']?.[localVarOperationServerIndex]?.url;
|
|
453
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
454
|
+
},
|
|
455
|
+
/**
|
|
456
|
+
* Lists all GroupDayInterval for the given Group_ID and Interval_Year and Interval_Month and Interval_Day
|
|
457
|
+
* @summary List GroupDayInterval
|
|
458
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
459
|
+
* @param {string} [groupID] Optional filter for Group ID
|
|
460
|
+
* @param {number} [intervalYear] Optional filter for Interval Year
|
|
461
|
+
* @param {number} [intervalMonth] Optional filter for Interval Month
|
|
462
|
+
* @param {number} [intervalDay] Optional filter for Interval Day
|
|
463
|
+
* @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.
|
|
464
|
+
* @param {number} [page] Page
|
|
465
|
+
* @param {number} [pageSize] Page Size
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @throws {RequiredError}
|
|
468
|
+
*/
|
|
469
|
+
async listGroupDayInterval(vbasoftwareDatabase: string, groupID?: string, intervalYear?: number, intervalMonth?: number, intervalDay?: number, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupDayIntervalListVBAResponse>> {
|
|
470
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listGroupDayInterval(vbasoftwareDatabase, groupID, intervalYear, intervalMonth, intervalDay, sortBy, page, pageSize, options);
|
|
471
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
472
|
+
const localVarOperationServerBasePath = operationServerMap['GroupDayIntervalApi.listGroupDayInterval']?.[localVarOperationServerIndex]?.url;
|
|
473
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
474
|
+
},
|
|
475
|
+
/**
|
|
476
|
+
* Create or Update multiple GroupDayInterval at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
477
|
+
* @summary Create or Update Batch GroupDayInterval
|
|
478
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
479
|
+
* @param {Array<GroupDayInterval>} groupDayInterval
|
|
480
|
+
* @param {*} [options] Override http request option.
|
|
481
|
+
* @throws {RequiredError}
|
|
482
|
+
*/
|
|
483
|
+
async updateBatchGroupDayInterval(vbasoftwareDatabase: string, groupDayInterval: Array<GroupDayInterval>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
|
|
484
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchGroupDayInterval(vbasoftwareDatabase, groupDayInterval, options);
|
|
485
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
486
|
+
const localVarOperationServerBasePath = operationServerMap['GroupDayIntervalApi.updateBatchGroupDayInterval']?.[localVarOperationServerIndex]?.url;
|
|
487
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
488
|
+
},
|
|
489
|
+
/**
|
|
490
|
+
* Updates a specific GroupDayInterval.
|
|
491
|
+
* @summary Update GroupDayInterval
|
|
492
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
493
|
+
* @param {string} groupID Group ID
|
|
494
|
+
* @param {number} intervalYear Interval Year
|
|
495
|
+
* @param {number} intervalMonth Interval Month
|
|
496
|
+
* @param {number} intervalDay Interval Day
|
|
497
|
+
* @param {GroupDayInterval} groupDayInterval
|
|
498
|
+
* @param {*} [options] Override http request option.
|
|
499
|
+
* @throws {RequiredError}
|
|
500
|
+
*/
|
|
501
|
+
async updateGroupDayInterval(vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, groupDayInterval: GroupDayInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupDayIntervalVBAResponse>> {
|
|
502
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateGroupDayInterval(vbasoftwareDatabase, groupID, intervalYear, intervalMonth, intervalDay, groupDayInterval, options);
|
|
503
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
504
|
+
const localVarOperationServerBasePath = operationServerMap['GroupDayIntervalApi.updateGroupDayInterval']?.[localVarOperationServerIndex]?.url;
|
|
505
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
506
|
+
},
|
|
507
|
+
}
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* GroupDayIntervalApi - factory interface
|
|
512
|
+
* @export
|
|
513
|
+
*/
|
|
514
|
+
export const GroupDayIntervalApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
515
|
+
const localVarFp = GroupDayIntervalApiFp(configuration)
|
|
516
|
+
return {
|
|
517
|
+
/**
|
|
518
|
+
* Creates a new GroupDayInterval
|
|
519
|
+
* @summary Create GroupDayInterval
|
|
520
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
521
|
+
* @param {GroupDayInterval} groupDayInterval
|
|
522
|
+
* @param {*} [options] Override http request option.
|
|
523
|
+
* @throws {RequiredError}
|
|
524
|
+
*/
|
|
525
|
+
createGroupDayInterval(vbasoftwareDatabase: string, groupDayInterval: GroupDayInterval, options?: RawAxiosRequestConfig): AxiosPromise<GroupDayIntervalVBAResponse> {
|
|
526
|
+
return localVarFp.createGroupDayInterval(vbasoftwareDatabase, groupDayInterval, options).then((request) => request(axios, basePath));
|
|
527
|
+
},
|
|
528
|
+
/**
|
|
529
|
+
* Deletes an GroupDayInterval
|
|
530
|
+
* @summary Delete GroupDayInterval
|
|
531
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
532
|
+
* @param {string} groupID Group ID
|
|
533
|
+
* @param {number} intervalYear Interval Year
|
|
534
|
+
* @param {number} intervalMonth Interval Month
|
|
535
|
+
* @param {number} intervalDay Interval Day
|
|
536
|
+
* @param {*} [options] Override http request option.
|
|
537
|
+
* @throws {RequiredError}
|
|
538
|
+
*/
|
|
539
|
+
deleteGroupDayInterval(vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
540
|
+
return localVarFp.deleteGroupDayInterval(vbasoftwareDatabase, groupID, intervalYear, intervalMonth, intervalDay, options).then((request) => request(axios, basePath));
|
|
541
|
+
},
|
|
542
|
+
/**
|
|
543
|
+
* Gets GroupDayInterval
|
|
544
|
+
* @summary Get GroupDayInterval
|
|
545
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
546
|
+
* @param {string} groupID Group ID
|
|
547
|
+
* @param {number} intervalYear Interval Year
|
|
548
|
+
* @param {number} intervalMonth Interval Month
|
|
549
|
+
* @param {number} intervalDay Interval Day
|
|
550
|
+
* @param {*} [options] Override http request option.
|
|
551
|
+
* @throws {RequiredError}
|
|
552
|
+
*/
|
|
553
|
+
getGroupDayInterval(vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, options?: RawAxiosRequestConfig): AxiosPromise<GroupDayIntervalVBAResponse> {
|
|
554
|
+
return localVarFp.getGroupDayInterval(vbasoftwareDatabase, groupID, intervalYear, intervalMonth, intervalDay, options).then((request) => request(axios, basePath));
|
|
555
|
+
},
|
|
556
|
+
/**
|
|
557
|
+
* Lists all GroupDayInterval for the given Group_ID and Interval_Year and Interval_Month and Interval_Day
|
|
558
|
+
* @summary List GroupDayInterval
|
|
559
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
560
|
+
* @param {string} [groupID] Optional filter for Group ID
|
|
561
|
+
* @param {number} [intervalYear] Optional filter for Interval Year
|
|
562
|
+
* @param {number} [intervalMonth] Optional filter for Interval Month
|
|
563
|
+
* @param {number} [intervalDay] Optional filter for Interval Day
|
|
564
|
+
* @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.
|
|
565
|
+
* @param {number} [page] Page
|
|
566
|
+
* @param {number} [pageSize] Page Size
|
|
567
|
+
* @param {*} [options] Override http request option.
|
|
568
|
+
* @throws {RequiredError}
|
|
569
|
+
*/
|
|
570
|
+
listGroupDayInterval(vbasoftwareDatabase: string, groupID?: string, intervalYear?: number, intervalMonth?: number, intervalDay?: number, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<GroupDayIntervalListVBAResponse> {
|
|
571
|
+
return localVarFp.listGroupDayInterval(vbasoftwareDatabase, groupID, intervalYear, intervalMonth, intervalDay, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
|
|
572
|
+
},
|
|
573
|
+
/**
|
|
574
|
+
* Create or Update multiple GroupDayInterval at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
575
|
+
* @summary Create or Update Batch GroupDayInterval
|
|
576
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
577
|
+
* @param {Array<GroupDayInterval>} groupDayInterval
|
|
578
|
+
* @param {*} [options] Override http request option.
|
|
579
|
+
* @throws {RequiredError}
|
|
580
|
+
*/
|
|
581
|
+
updateBatchGroupDayInterval(vbasoftwareDatabase: string, groupDayInterval: Array<GroupDayInterval>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse> {
|
|
582
|
+
return localVarFp.updateBatchGroupDayInterval(vbasoftwareDatabase, groupDayInterval, options).then((request) => request(axios, basePath));
|
|
583
|
+
},
|
|
584
|
+
/**
|
|
585
|
+
* Updates a specific GroupDayInterval.
|
|
586
|
+
* @summary Update GroupDayInterval
|
|
587
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
588
|
+
* @param {string} groupID Group ID
|
|
589
|
+
* @param {number} intervalYear Interval Year
|
|
590
|
+
* @param {number} intervalMonth Interval Month
|
|
591
|
+
* @param {number} intervalDay Interval Day
|
|
592
|
+
* @param {GroupDayInterval} groupDayInterval
|
|
593
|
+
* @param {*} [options] Override http request option.
|
|
594
|
+
* @throws {RequiredError}
|
|
595
|
+
*/
|
|
596
|
+
updateGroupDayInterval(vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, groupDayInterval: GroupDayInterval, options?: RawAxiosRequestConfig): AxiosPromise<GroupDayIntervalVBAResponse> {
|
|
597
|
+
return localVarFp.updateGroupDayInterval(vbasoftwareDatabase, groupID, intervalYear, intervalMonth, intervalDay, groupDayInterval, options).then((request) => request(axios, basePath));
|
|
598
|
+
},
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* GroupDayIntervalApi - interface
|
|
604
|
+
* @export
|
|
605
|
+
* @interface GroupDayIntervalApi
|
|
606
|
+
*/
|
|
607
|
+
export interface GroupDayIntervalApiInterface {
|
|
608
|
+
/**
|
|
609
|
+
* Creates a new GroupDayInterval
|
|
610
|
+
* @summary Create GroupDayInterval
|
|
611
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
612
|
+
* @param {GroupDayInterval} groupDayInterval
|
|
613
|
+
* @param {*} [options] Override http request option.
|
|
614
|
+
* @throws {RequiredError}
|
|
615
|
+
* @memberof GroupDayIntervalApiInterface
|
|
616
|
+
*/
|
|
617
|
+
createGroupDayInterval(vbasoftwareDatabase: string, groupDayInterval: GroupDayInterval, options?: RawAxiosRequestConfig): AxiosPromise<GroupDayIntervalVBAResponse>;
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Deletes an GroupDayInterval
|
|
621
|
+
* @summary Delete GroupDayInterval
|
|
622
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
623
|
+
* @param {string} groupID Group ID
|
|
624
|
+
* @param {number} intervalYear Interval Year
|
|
625
|
+
* @param {number} intervalMonth Interval Month
|
|
626
|
+
* @param {number} intervalDay Interval Day
|
|
627
|
+
* @param {*} [options] Override http request option.
|
|
628
|
+
* @throws {RequiredError}
|
|
629
|
+
* @memberof GroupDayIntervalApiInterface
|
|
630
|
+
*/
|
|
631
|
+
deleteGroupDayInterval(vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Gets GroupDayInterval
|
|
635
|
+
* @summary Get GroupDayInterval
|
|
636
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
637
|
+
* @param {string} groupID Group ID
|
|
638
|
+
* @param {number} intervalYear Interval Year
|
|
639
|
+
* @param {number} intervalMonth Interval Month
|
|
640
|
+
* @param {number} intervalDay Interval Day
|
|
641
|
+
* @param {*} [options] Override http request option.
|
|
642
|
+
* @throws {RequiredError}
|
|
643
|
+
* @memberof GroupDayIntervalApiInterface
|
|
644
|
+
*/
|
|
645
|
+
getGroupDayInterval(vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, options?: RawAxiosRequestConfig): AxiosPromise<GroupDayIntervalVBAResponse>;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Lists all GroupDayInterval for the given Group_ID and Interval_Year and Interval_Month and Interval_Day
|
|
649
|
+
* @summary List GroupDayInterval
|
|
650
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
651
|
+
* @param {string} [groupID] Optional filter for Group ID
|
|
652
|
+
* @param {number} [intervalYear] Optional filter for Interval Year
|
|
653
|
+
* @param {number} [intervalMonth] Optional filter for Interval Month
|
|
654
|
+
* @param {number} [intervalDay] Optional filter for Interval Day
|
|
655
|
+
* @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.
|
|
656
|
+
* @param {number} [page] Page
|
|
657
|
+
* @param {number} [pageSize] Page Size
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
* @memberof GroupDayIntervalApiInterface
|
|
661
|
+
*/
|
|
662
|
+
listGroupDayInterval(vbasoftwareDatabase: string, groupID?: string, intervalYear?: number, intervalMonth?: number, intervalDay?: number, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<GroupDayIntervalListVBAResponse>;
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Create or Update multiple GroupDayInterval at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
666
|
+
* @summary Create or Update Batch GroupDayInterval
|
|
667
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
668
|
+
* @param {Array<GroupDayInterval>} groupDayInterval
|
|
669
|
+
* @param {*} [options] Override http request option.
|
|
670
|
+
* @throws {RequiredError}
|
|
671
|
+
* @memberof GroupDayIntervalApiInterface
|
|
672
|
+
*/
|
|
673
|
+
updateBatchGroupDayInterval(vbasoftwareDatabase: string, groupDayInterval: Array<GroupDayInterval>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* Updates a specific GroupDayInterval.
|
|
677
|
+
* @summary Update GroupDayInterval
|
|
678
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
679
|
+
* @param {string} groupID Group ID
|
|
680
|
+
* @param {number} intervalYear Interval Year
|
|
681
|
+
* @param {number} intervalMonth Interval Month
|
|
682
|
+
* @param {number} intervalDay Interval Day
|
|
683
|
+
* @param {GroupDayInterval} groupDayInterval
|
|
684
|
+
* @param {*} [options] Override http request option.
|
|
685
|
+
* @throws {RequiredError}
|
|
686
|
+
* @memberof GroupDayIntervalApiInterface
|
|
687
|
+
*/
|
|
688
|
+
updateGroupDayInterval(vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, groupDayInterval: GroupDayInterval, options?: RawAxiosRequestConfig): AxiosPromise<GroupDayIntervalVBAResponse>;
|
|
689
|
+
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* GroupDayIntervalApi - object-oriented interface
|
|
694
|
+
* @export
|
|
695
|
+
* @class GroupDayIntervalApi
|
|
696
|
+
* @extends {BaseAPI}
|
|
697
|
+
*/
|
|
698
|
+
export class GroupDayIntervalApi extends BaseAPI implements GroupDayIntervalApiInterface {
|
|
699
|
+
/**
|
|
700
|
+
* Creates a new GroupDayInterval
|
|
701
|
+
* @summary Create GroupDayInterval
|
|
702
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
703
|
+
* @param {GroupDayInterval} groupDayInterval
|
|
704
|
+
* @param {*} [options] Override http request option.
|
|
705
|
+
* @throws {RequiredError}
|
|
706
|
+
* @memberof GroupDayIntervalApi
|
|
707
|
+
*/
|
|
708
|
+
public createGroupDayInterval(vbasoftwareDatabase: string, groupDayInterval: GroupDayInterval, options?: RawAxiosRequestConfig) {
|
|
709
|
+
return GroupDayIntervalApiFp(this.configuration).createGroupDayInterval(vbasoftwareDatabase, groupDayInterval, options).then((request) => request(this.axios, this.basePath));
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Deletes an GroupDayInterval
|
|
714
|
+
* @summary Delete GroupDayInterval
|
|
715
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
716
|
+
* @param {string} groupID Group ID
|
|
717
|
+
* @param {number} intervalYear Interval Year
|
|
718
|
+
* @param {number} intervalMonth Interval Month
|
|
719
|
+
* @param {number} intervalDay Interval Day
|
|
720
|
+
* @param {*} [options] Override http request option.
|
|
721
|
+
* @throws {RequiredError}
|
|
722
|
+
* @memberof GroupDayIntervalApi
|
|
723
|
+
*/
|
|
724
|
+
public deleteGroupDayInterval(vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, options?: RawAxiosRequestConfig) {
|
|
725
|
+
return GroupDayIntervalApiFp(this.configuration).deleteGroupDayInterval(vbasoftwareDatabase, groupID, intervalYear, intervalMonth, intervalDay, options).then((request) => request(this.axios, this.basePath));
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Gets GroupDayInterval
|
|
730
|
+
* @summary Get GroupDayInterval
|
|
731
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
732
|
+
* @param {string} groupID Group ID
|
|
733
|
+
* @param {number} intervalYear Interval Year
|
|
734
|
+
* @param {number} intervalMonth Interval Month
|
|
735
|
+
* @param {number} intervalDay Interval Day
|
|
736
|
+
* @param {*} [options] Override http request option.
|
|
737
|
+
* @throws {RequiredError}
|
|
738
|
+
* @memberof GroupDayIntervalApi
|
|
739
|
+
*/
|
|
740
|
+
public getGroupDayInterval(vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, options?: RawAxiosRequestConfig) {
|
|
741
|
+
return GroupDayIntervalApiFp(this.configuration).getGroupDayInterval(vbasoftwareDatabase, groupID, intervalYear, intervalMonth, intervalDay, options).then((request) => request(this.axios, this.basePath));
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Lists all GroupDayInterval for the given Group_ID and Interval_Year and Interval_Month and Interval_Day
|
|
746
|
+
* @summary List GroupDayInterval
|
|
747
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
748
|
+
* @param {string} [groupID] Optional filter for Group ID
|
|
749
|
+
* @param {number} [intervalYear] Optional filter for Interval Year
|
|
750
|
+
* @param {number} [intervalMonth] Optional filter for Interval Month
|
|
751
|
+
* @param {number} [intervalDay] Optional filter for Interval Day
|
|
752
|
+
* @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.
|
|
753
|
+
* @param {number} [page] Page
|
|
754
|
+
* @param {number} [pageSize] Page Size
|
|
755
|
+
* @param {*} [options] Override http request option.
|
|
756
|
+
* @throws {RequiredError}
|
|
757
|
+
* @memberof GroupDayIntervalApi
|
|
758
|
+
*/
|
|
759
|
+
public listGroupDayInterval(vbasoftwareDatabase: string, groupID?: string, intervalYear?: number, intervalMonth?: number, intervalDay?: number, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
760
|
+
return GroupDayIntervalApiFp(this.configuration).listGroupDayInterval(vbasoftwareDatabase, groupID, intervalYear, intervalMonth, intervalDay, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Create or Update multiple GroupDayInterval at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
765
|
+
* @summary Create or Update Batch GroupDayInterval
|
|
766
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
767
|
+
* @param {Array<GroupDayInterval>} groupDayInterval
|
|
768
|
+
* @param {*} [options] Override http request option.
|
|
769
|
+
* @throws {RequiredError}
|
|
770
|
+
* @memberof GroupDayIntervalApi
|
|
771
|
+
*/
|
|
772
|
+
public updateBatchGroupDayInterval(vbasoftwareDatabase: string, groupDayInterval: Array<GroupDayInterval>, options?: RawAxiosRequestConfig) {
|
|
773
|
+
return GroupDayIntervalApiFp(this.configuration).updateBatchGroupDayInterval(vbasoftwareDatabase, groupDayInterval, options).then((request) => request(this.axios, this.basePath));
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* Updates a specific GroupDayInterval.
|
|
778
|
+
* @summary Update GroupDayInterval
|
|
779
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
780
|
+
* @param {string} groupID Group ID
|
|
781
|
+
* @param {number} intervalYear Interval Year
|
|
782
|
+
* @param {number} intervalMonth Interval Month
|
|
783
|
+
* @param {number} intervalDay Interval Day
|
|
784
|
+
* @param {GroupDayInterval} groupDayInterval
|
|
785
|
+
* @param {*} [options] Override http request option.
|
|
786
|
+
* @throws {RequiredError}
|
|
787
|
+
* @memberof GroupDayIntervalApi
|
|
788
|
+
*/
|
|
789
|
+
public updateGroupDayInterval(vbasoftwareDatabase: string, groupID: string, intervalYear: number, intervalMonth: number, intervalDay: number, groupDayInterval: GroupDayInterval, options?: RawAxiosRequestConfig) {
|
|
790
|
+
return GroupDayIntervalApiFp(this.configuration).updateGroupDayInterval(vbasoftwareDatabase, groupID, intervalYear, intervalMonth, intervalDay, groupDayInterval, options).then((request) => request(this.axios, this.basePath));
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
|