@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250307.1 → 1.20250321.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 +6 -0
- package/api/adv-groups-api.ts +96 -0
- package/api/bold-reports-api.ts +167 -0
- package/api/groups-api.ts +96 -0
- package/api/patient-status-api.ts +685 -0
- package/api/subscriber-enrollments-api.ts +138 -0
- package/api/vbareports-api.ts +100 -0
- package/api.ts +2 -0
- package/models/index.ts +4 -0
- package/models/patient-status-list-vbaresponse.ts +51 -0
- package/models/patient-status-vbaresponse.ts +51 -0
- package/models/patient-status.ts +60 -0
- package/models/trackable-report.ts +78 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -55,6 +55,7 @@ api/bill-types-api.ts
|
|
|
55
55
|
api/billing-api.ts
|
|
56
56
|
api/billing-basis-api.ts
|
|
57
57
|
api/billing-cycles-api.ts
|
|
58
|
+
api/bold-reports-api.ts
|
|
58
59
|
api/brokerage-api.ts
|
|
59
60
|
api/call-destinations-api.ts
|
|
60
61
|
api/call-statuses-api.ts
|
|
@@ -562,6 +563,7 @@ api/note-sources-api.ts
|
|
|
562
563
|
api/note-types-api.ts
|
|
563
564
|
api/objects-api.ts
|
|
564
565
|
api/occupations-api.ts
|
|
566
|
+
api/patient-status-api.ts
|
|
565
567
|
api/pay-frequency-api.ts
|
|
566
568
|
api/payee-accounts-api.ts
|
|
567
569
|
api/payees-api.ts
|
|
@@ -2522,6 +2524,9 @@ models/occupation-list-vbaresponse.ts
|
|
|
2522
2524
|
models/occupation-vbaresponse.ts
|
|
2523
2525
|
models/occupation.ts
|
|
2524
2526
|
models/option-criteria.ts
|
|
2527
|
+
models/patient-status-list-vbaresponse.ts
|
|
2528
|
+
models/patient-status-vbaresponse.ts
|
|
2529
|
+
models/patient-status.ts
|
|
2525
2530
|
models/payee-account-list-vbaresponse.ts
|
|
2526
2531
|
models/payee-account-vbaresponse.ts
|
|
2527
2532
|
models/payee-account.ts
|
|
@@ -3319,6 +3324,7 @@ models/tooth-quadrant-vbaresponse.ts
|
|
|
3319
3324
|
models/tooth-quadrant.ts
|
|
3320
3325
|
models/tooth-vbaresponse.ts
|
|
3321
3326
|
models/tooth.ts
|
|
3327
|
+
models/trackable-report.ts
|
|
3322
3328
|
models/transpose-request-meta-data-result-list-vbaresponse.ts
|
|
3323
3329
|
models/transpose-request-meta-data-result.ts
|
|
3324
3330
|
models/treatment-type-list-vbaresponse.ts
|
package/api/adv-groups-api.ts
CHANGED
|
@@ -183,6 +183,53 @@ export const AdvGroupsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
183
183
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
184
184
|
localVarRequestOptions.data = serializeDataIfNeeded(enrollmentReenroll, localVarRequestOptions, configuration)
|
|
185
185
|
|
|
186
|
+
return {
|
|
187
|
+
url: toPathString(localVarUrlObj),
|
|
188
|
+
options: localVarRequestOptions,
|
|
189
|
+
};
|
|
190
|
+
},
|
|
191
|
+
/**
|
|
192
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
193
|
+
* @summary Recalculate Accumulators for Group
|
|
194
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
195
|
+
* @param {string} groupID Group ID
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
*/
|
|
199
|
+
recalculateGroupAccumulators: async (vbasoftwareDatabase: string, groupID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
200
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
201
|
+
assertParamExists('recalculateGroupAccumulators', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
202
|
+
// verify required parameter 'groupID' is not null or undefined
|
|
203
|
+
assertParamExists('recalculateGroupAccumulators', 'groupID', groupID)
|
|
204
|
+
const localVarPath = `/groups/{groupID}/recalculate-accumulators`
|
|
205
|
+
.replace(`{${"groupID"}}`, encodeURIComponent(String(groupID)));
|
|
206
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
207
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
208
|
+
let baseOptions;
|
|
209
|
+
if (configuration) {
|
|
210
|
+
baseOptions = configuration.baseOptions;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
214
|
+
const localVarHeaderParameter = {} as any;
|
|
215
|
+
const localVarQueryParameter = {} as any;
|
|
216
|
+
|
|
217
|
+
// authentication apiKeyAuth required
|
|
218
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
219
|
+
|
|
220
|
+
// authentication bearerAuth required
|
|
221
|
+
// http bearer authentication required
|
|
222
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
if (vbasoftwareDatabase != null) {
|
|
227
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
228
|
+
}
|
|
229
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
230
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
231
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
232
|
+
|
|
186
233
|
return {
|
|
187
234
|
url: toPathString(localVarUrlObj),
|
|
188
235
|
options: localVarRequestOptions,
|
|
@@ -242,6 +289,20 @@ export const AdvGroupsApiFp = function(configuration?: Configuration) {
|
|
|
242
289
|
const localVarOperationServerBasePath = operationServerMap['AdvGroupsApi.groupReenroll']?.[localVarOperationServerIndex]?.url;
|
|
243
290
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
244
291
|
},
|
|
292
|
+
/**
|
|
293
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
294
|
+
* @summary Recalculate Accumulators for Group
|
|
295
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
296
|
+
* @param {string} groupID Group ID
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
*/
|
|
300
|
+
async recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
301
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.recalculateGroupAccumulators(vbasoftwareDatabase, groupID, options);
|
|
302
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
303
|
+
const localVarOperationServerBasePath = operationServerMap['AdvGroupsApi.recalculateGroupAccumulators']?.[localVarOperationServerIndex]?.url;
|
|
304
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
305
|
+
},
|
|
245
306
|
}
|
|
246
307
|
};
|
|
247
308
|
|
|
@@ -287,6 +348,17 @@ export const AdvGroupsApiFactory = function (configuration?: Configuration, base
|
|
|
287
348
|
groupReenroll(vbasoftwareDatabase: string, groupID: string, enrollmentReenroll: EnrollmentReenroll, options?: RawAxiosRequestConfig): AxiosPromise<VBAProcessVBAResponse> {
|
|
288
349
|
return localVarFp.groupReenroll(vbasoftwareDatabase, groupID, enrollmentReenroll, options).then((request) => request(axios, basePath));
|
|
289
350
|
},
|
|
351
|
+
/**
|
|
352
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
353
|
+
* @summary Recalculate Accumulators for Group
|
|
354
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
355
|
+
* @param {string} groupID Group ID
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
360
|
+
return localVarFp.recalculateGroupAccumulators(vbasoftwareDatabase, groupID, options).then((request) => request(axios, basePath));
|
|
361
|
+
},
|
|
290
362
|
};
|
|
291
363
|
};
|
|
292
364
|
|
|
@@ -331,6 +403,17 @@ export interface AdvGroupsApiInterface {
|
|
|
331
403
|
*/
|
|
332
404
|
groupReenroll(vbasoftwareDatabase: string, groupID: string, enrollmentReenroll: EnrollmentReenroll, options?: RawAxiosRequestConfig): AxiosPromise<VBAProcessVBAResponse>;
|
|
333
405
|
|
|
406
|
+
/**
|
|
407
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
408
|
+
* @summary Recalculate Accumulators for Group
|
|
409
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
410
|
+
* @param {string} groupID Group ID
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
* @memberof AdvGroupsApiInterface
|
|
414
|
+
*/
|
|
415
|
+
recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
416
|
+
|
|
334
417
|
}
|
|
335
418
|
|
|
336
419
|
/**
|
|
@@ -380,5 +463,18 @@ export class AdvGroupsApi extends BaseAPI implements AdvGroupsApiInterface {
|
|
|
380
463
|
public groupReenroll(vbasoftwareDatabase: string, groupID: string, enrollmentReenroll: EnrollmentReenroll, options?: RawAxiosRequestConfig) {
|
|
381
464
|
return AdvGroupsApiFp(this.configuration).groupReenroll(vbasoftwareDatabase, groupID, enrollmentReenroll, options).then((request) => request(this.axios, this.basePath));
|
|
382
465
|
}
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
469
|
+
* @summary Recalculate Accumulators for Group
|
|
470
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
471
|
+
* @param {string} groupID Group ID
|
|
472
|
+
* @param {*} [options] Override http request option.
|
|
473
|
+
* @throws {RequiredError}
|
|
474
|
+
* @memberof AdvGroupsApi
|
|
475
|
+
*/
|
|
476
|
+
public recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig) {
|
|
477
|
+
return AdvGroupsApiFp(this.configuration).recalculateGroupAccumulators(vbasoftwareDatabase, groupID, options).then((request) => request(this.axios, this.basePath));
|
|
478
|
+
}
|
|
383
479
|
}
|
|
384
480
|
|
|
@@ -0,0 +1,167 @@
|
|
|
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 { VBAReportListVBAResponse } from '../models';
|
|
26
|
+
/**
|
|
27
|
+
* BoldReportsApi - axios parameter creator
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export const BoldReportsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
31
|
+
return {
|
|
32
|
+
/**
|
|
33
|
+
* Retrieves a list of all available Bold Reports.
|
|
34
|
+
* @summary List Bold Reports
|
|
35
|
+
* @param {string} vbasoftwareDatabase The target database name to query.
|
|
36
|
+
* @param {string} [category] category
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
listBoldReports: async (vbasoftwareDatabase: string, category?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
42
|
+
assertParamExists('listBoldReports', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
43
|
+
const localVarPath = `/reports/vbareporting`;
|
|
44
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46
|
+
let baseOptions;
|
|
47
|
+
if (configuration) {
|
|
48
|
+
baseOptions = configuration.baseOptions;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
52
|
+
const localVarHeaderParameter = {} as any;
|
|
53
|
+
const localVarQueryParameter = {} as any;
|
|
54
|
+
|
|
55
|
+
// authentication apiKeyAuth required
|
|
56
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
57
|
+
|
|
58
|
+
// authentication bearerAuth required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61
|
+
|
|
62
|
+
if (category !== undefined) {
|
|
63
|
+
localVarQueryParameter['category'] = category;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
if (vbasoftwareDatabase != null) {
|
|
69
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
70
|
+
}
|
|
71
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
72
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
74
|
+
|
|
75
|
+
return {
|
|
76
|
+
url: toPathString(localVarUrlObj),
|
|
77
|
+
options: localVarRequestOptions,
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* BoldReportsApi - functional programming interface
|
|
85
|
+
* @export
|
|
86
|
+
*/
|
|
87
|
+
export const BoldReportsApiFp = function(configuration?: Configuration) {
|
|
88
|
+
const localVarAxiosParamCreator = BoldReportsApiAxiosParamCreator(configuration)
|
|
89
|
+
return {
|
|
90
|
+
/**
|
|
91
|
+
* Retrieves a list of all available Bold Reports.
|
|
92
|
+
* @summary List Bold Reports
|
|
93
|
+
* @param {string} vbasoftwareDatabase The target database name to query.
|
|
94
|
+
* @param {string} [category] category
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
async listBoldReports(vbasoftwareDatabase: string, category?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAReportListVBAResponse>> {
|
|
99
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBoldReports(vbasoftwareDatabase, category, options);
|
|
100
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
101
|
+
const localVarOperationServerBasePath = operationServerMap['BoldReportsApi.listBoldReports']?.[localVarOperationServerIndex]?.url;
|
|
102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103
|
+
},
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* BoldReportsApi - factory interface
|
|
109
|
+
* @export
|
|
110
|
+
*/
|
|
111
|
+
export const BoldReportsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
112
|
+
const localVarFp = BoldReportsApiFp(configuration)
|
|
113
|
+
return {
|
|
114
|
+
/**
|
|
115
|
+
* Retrieves a list of all available Bold Reports.
|
|
116
|
+
* @summary List Bold Reports
|
|
117
|
+
* @param {string} vbasoftwareDatabase The target database name to query.
|
|
118
|
+
* @param {string} [category] category
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
listBoldReports(vbasoftwareDatabase: string, category?: string, options?: RawAxiosRequestConfig): AxiosPromise<VBAReportListVBAResponse> {
|
|
123
|
+
return localVarFp.listBoldReports(vbasoftwareDatabase, category, options).then((request) => request(axios, basePath));
|
|
124
|
+
},
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* BoldReportsApi - interface
|
|
130
|
+
* @export
|
|
131
|
+
* @interface BoldReportsApi
|
|
132
|
+
*/
|
|
133
|
+
export interface BoldReportsApiInterface {
|
|
134
|
+
/**
|
|
135
|
+
* Retrieves a list of all available Bold Reports.
|
|
136
|
+
* @summary List Bold Reports
|
|
137
|
+
* @param {string} vbasoftwareDatabase The target database name to query.
|
|
138
|
+
* @param {string} [category] category
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
* @memberof BoldReportsApiInterface
|
|
142
|
+
*/
|
|
143
|
+
listBoldReports(vbasoftwareDatabase: string, category?: string, options?: RawAxiosRequestConfig): AxiosPromise<VBAReportListVBAResponse>;
|
|
144
|
+
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* BoldReportsApi - object-oriented interface
|
|
149
|
+
* @export
|
|
150
|
+
* @class BoldReportsApi
|
|
151
|
+
* @extends {BaseAPI}
|
|
152
|
+
*/
|
|
153
|
+
export class BoldReportsApi extends BaseAPI implements BoldReportsApiInterface {
|
|
154
|
+
/**
|
|
155
|
+
* Retrieves a list of all available Bold Reports.
|
|
156
|
+
* @summary List Bold Reports
|
|
157
|
+
* @param {string} vbasoftwareDatabase The target database name to query.
|
|
158
|
+
* @param {string} [category] category
|
|
159
|
+
* @param {*} [options] Override http request option.
|
|
160
|
+
* @throws {RequiredError}
|
|
161
|
+
* @memberof BoldReportsApi
|
|
162
|
+
*/
|
|
163
|
+
public listBoldReports(vbasoftwareDatabase: string, category?: string, options?: RawAxiosRequestConfig) {
|
|
164
|
+
return BoldReportsApiFp(this.configuration).listBoldReports(vbasoftwareDatabase, category, options).then((request) => request(this.axios, this.basePath));
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
package/api/groups-api.ts
CHANGED
|
@@ -479,6 +479,53 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
479
479
|
|
|
480
480
|
|
|
481
481
|
|
|
482
|
+
if (vbasoftwareDatabase != null) {
|
|
483
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
484
|
+
}
|
|
485
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
486
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
487
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
488
|
+
|
|
489
|
+
return {
|
|
490
|
+
url: toPathString(localVarUrlObj),
|
|
491
|
+
options: localVarRequestOptions,
|
|
492
|
+
};
|
|
493
|
+
},
|
|
494
|
+
/**
|
|
495
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
496
|
+
* @summary Recalculate Accumulators for Group
|
|
497
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
498
|
+
* @param {string} groupID Group ID
|
|
499
|
+
* @param {*} [options] Override http request option.
|
|
500
|
+
* @throws {RequiredError}
|
|
501
|
+
*/
|
|
502
|
+
recalculateGroupAccumulators: async (vbasoftwareDatabase: string, groupID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
503
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
504
|
+
assertParamExists('recalculateGroupAccumulators', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
505
|
+
// verify required parameter 'groupID' is not null or undefined
|
|
506
|
+
assertParamExists('recalculateGroupAccumulators', 'groupID', groupID)
|
|
507
|
+
const localVarPath = `/groups/{groupID}/recalculate-accumulators`
|
|
508
|
+
.replace(`{${"groupID"}}`, encodeURIComponent(String(groupID)));
|
|
509
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
510
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
511
|
+
let baseOptions;
|
|
512
|
+
if (configuration) {
|
|
513
|
+
baseOptions = configuration.baseOptions;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
517
|
+
const localVarHeaderParameter = {} as any;
|
|
518
|
+
const localVarQueryParameter = {} as any;
|
|
519
|
+
|
|
520
|
+
// authentication apiKeyAuth required
|
|
521
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
522
|
+
|
|
523
|
+
// authentication bearerAuth required
|
|
524
|
+
// http bearer authentication required
|
|
525
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
482
529
|
if (vbasoftwareDatabase != null) {
|
|
483
530
|
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
484
531
|
}
|
|
@@ -727,6 +774,20 @@ export const GroupsApiFp = function(configuration?: Configuration) {
|
|
|
727
774
|
const localVarOperationServerBasePath = operationServerMap['GroupsApi.listGroups']?.[localVarOperationServerIndex]?.url;
|
|
728
775
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
729
776
|
},
|
|
777
|
+
/**
|
|
778
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
779
|
+
* @summary Recalculate Accumulators for Group
|
|
780
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
781
|
+
* @param {string} groupID Group ID
|
|
782
|
+
* @param {*} [options] Override http request option.
|
|
783
|
+
* @throws {RequiredError}
|
|
784
|
+
*/
|
|
785
|
+
async recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
786
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.recalculateGroupAccumulators(vbasoftwareDatabase, groupID, options);
|
|
787
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
788
|
+
const localVarOperationServerBasePath = operationServerMap['GroupsApi.recalculateGroupAccumulators']?.[localVarOperationServerIndex]?.url;
|
|
789
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
790
|
+
},
|
|
730
791
|
/**
|
|
731
792
|
* Create or Update multiple Groups at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
732
793
|
* @summary Create or Update Batch Groups
|
|
@@ -866,6 +927,17 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
|
|
|
866
927
|
listGroups(vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options?: RawAxiosRequestConfig): AxiosPromise<GroupsListVBAResponse> {
|
|
867
928
|
return localVarFp.listGroups(vbasoftwareDatabase, page, pageSize, sortBy, options).then((request) => request(axios, basePath));
|
|
868
929
|
},
|
|
930
|
+
/**
|
|
931
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
932
|
+
* @summary Recalculate Accumulators for Group
|
|
933
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
934
|
+
* @param {string} groupID Group ID
|
|
935
|
+
* @param {*} [options] Override http request option.
|
|
936
|
+
* @throws {RequiredError}
|
|
937
|
+
*/
|
|
938
|
+
recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
939
|
+
return localVarFp.recalculateGroupAccumulators(vbasoftwareDatabase, groupID, options).then((request) => request(axios, basePath));
|
|
940
|
+
},
|
|
869
941
|
/**
|
|
870
942
|
* Create or Update multiple Groups at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
871
943
|
* @summary Create or Update Batch Groups
|
|
@@ -998,6 +1070,17 @@ export interface GroupsApiInterface {
|
|
|
998
1070
|
*/
|
|
999
1071
|
listGroups(vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options?: RawAxiosRequestConfig): AxiosPromise<GroupsListVBAResponse>;
|
|
1000
1072
|
|
|
1073
|
+
/**
|
|
1074
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
1075
|
+
* @summary Recalculate Accumulators for Group
|
|
1076
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1077
|
+
* @param {string} groupID Group ID
|
|
1078
|
+
* @param {*} [options] Override http request option.
|
|
1079
|
+
* @throws {RequiredError}
|
|
1080
|
+
* @memberof GroupsApiInterface
|
|
1081
|
+
*/
|
|
1082
|
+
recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1083
|
+
|
|
1001
1084
|
/**
|
|
1002
1085
|
* Create or Update multiple Groups at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
1003
1086
|
* @summary Create or Update Batch Groups
|
|
@@ -1146,6 +1229,19 @@ export class GroupsApi extends BaseAPI implements GroupsApiInterface {
|
|
|
1146
1229
|
return GroupsApiFp(this.configuration).listGroups(vbasoftwareDatabase, page, pageSize, sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
1147
1230
|
}
|
|
1148
1231
|
|
|
1232
|
+
/**
|
|
1233
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
1234
|
+
* @summary Recalculate Accumulators for Group
|
|
1235
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1236
|
+
* @param {string} groupID Group ID
|
|
1237
|
+
* @param {*} [options] Override http request option.
|
|
1238
|
+
* @throws {RequiredError}
|
|
1239
|
+
* @memberof GroupsApi
|
|
1240
|
+
*/
|
|
1241
|
+
public recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig) {
|
|
1242
|
+
return GroupsApiFp(this.configuration).recalculateGroupAccumulators(vbasoftwareDatabase, groupID, options).then((request) => request(this.axios, this.basePath));
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1149
1245
|
/**
|
|
1150
1246
|
* Create or Update multiple Groups at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
1151
1247
|
* @summary Create or Update Batch Groups
|