@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250321.1 → 1.20250328.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.
@@ -60,6 +60,92 @@ export const ReportStaticListsApiAxiosParamCreator = function (configuration?: C
60
60
 
61
61
 
62
62
 
63
+ if (vbasoftwareDatabase != null) {
64
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
65
+ }
66
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
67
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
69
+
70
+ return {
71
+ url: toPathString(localVarUrlObj),
72
+ options: localVarRequestOptions,
73
+ };
74
+ },
75
+ /**
76
+ * List of all Automation Step Delays with Key, Display and Description
77
+ * @summary List Automation Step Delays
78
+ * @param {string} vbasoftwareDatabase Target database
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ listAutomationStepDelays: async (vbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
83
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
84
+ assertParamExists('listAutomationStepDelays', 'vbasoftwareDatabase', vbasoftwareDatabase)
85
+ const localVarPath = `/automation-step-delays`;
86
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
87
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
88
+ let baseOptions;
89
+ if (configuration) {
90
+ baseOptions = configuration.baseOptions;
91
+ }
92
+
93
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
94
+ const localVarHeaderParameter = {} as any;
95
+ const localVarQueryParameter = {} as any;
96
+
97
+ // authentication apiKeyAuth required
98
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
99
+
100
+ // authentication bearerAuth required
101
+ // http bearer authentication required
102
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
103
+
104
+
105
+
106
+ if (vbasoftwareDatabase != null) {
107
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
108
+ }
109
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
110
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
111
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
112
+
113
+ return {
114
+ url: toPathString(localVarUrlObj),
115
+ options: localVarRequestOptions,
116
+ };
117
+ },
118
+ /**
119
+ * List of all Automation Step Types with Key, Display and Description
120
+ * @summary List Automation Step Types
121
+ * @param {string} vbasoftwareDatabase Target database
122
+ * @param {*} [options] Override http request option.
123
+ * @throws {RequiredError}
124
+ */
125
+ listAutomationStepTypes: async (vbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
126
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
127
+ assertParamExists('listAutomationStepTypes', 'vbasoftwareDatabase', vbasoftwareDatabase)
128
+ const localVarPath = `/automation-step-types`;
129
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
130
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
131
+ let baseOptions;
132
+ if (configuration) {
133
+ baseOptions = configuration.baseOptions;
134
+ }
135
+
136
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
137
+ const localVarHeaderParameter = {} as any;
138
+ const localVarQueryParameter = {} as any;
139
+
140
+ // authentication apiKeyAuth required
141
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
142
+
143
+ // authentication bearerAuth required
144
+ // http bearer authentication required
145
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
146
+
147
+
148
+
63
149
  if (vbasoftwareDatabase != null) {
64
150
  localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
65
151
  }
@@ -138,6 +224,32 @@ export const ReportStaticListsApiFp = function(configuration?: Configuration) {
138
224
  const localVarOperationServerBasePath = operationServerMap['ReportStaticListsApi.listAutomationStatuses']?.[localVarOperationServerIndex]?.url;
139
225
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
140
226
  },
227
+ /**
228
+ * List of all Automation Step Delays with Key, Display and Description
229
+ * @summary List Automation Step Delays
230
+ * @param {string} vbasoftwareDatabase Target database
231
+ * @param {*} [options] Override http request option.
232
+ * @throws {RequiredError}
233
+ */
234
+ async listAutomationStepDelays(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringStaticOptionListVBAResponse>> {
235
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAutomationStepDelays(vbasoftwareDatabase, options);
236
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
237
+ const localVarOperationServerBasePath = operationServerMap['ReportStaticListsApi.listAutomationStepDelays']?.[localVarOperationServerIndex]?.url;
238
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
239
+ },
240
+ /**
241
+ * List of all Automation Step Types with Key, Display and Description
242
+ * @summary List Automation Step Types
243
+ * @param {string} vbasoftwareDatabase Target database
244
+ * @param {*} [options] Override http request option.
245
+ * @throws {RequiredError}
246
+ */
247
+ async listAutomationStepTypes(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringStaticOptionListVBAResponse>> {
248
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAutomationStepTypes(vbasoftwareDatabase, options);
249
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
250
+ const localVarOperationServerBasePath = operationServerMap['ReportStaticListsApi.listAutomationStepTypes']?.[localVarOperationServerIndex]?.url;
251
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
252
+ },
141
253
  /**
142
254
  * List of all Automation Types with Key, Display and Description
143
255
  * @summary List Automation Types
@@ -171,6 +283,26 @@ export const ReportStaticListsApiFactory = function (configuration?: Configurati
171
283
  listAutomationStatuses(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse> {
172
284
  return localVarFp.listAutomationStatuses(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
173
285
  },
286
+ /**
287
+ * List of all Automation Step Delays with Key, Display and Description
288
+ * @summary List Automation Step Delays
289
+ * @param {string} vbasoftwareDatabase Target database
290
+ * @param {*} [options] Override http request option.
291
+ * @throws {RequiredError}
292
+ */
293
+ listAutomationStepDelays(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse> {
294
+ return localVarFp.listAutomationStepDelays(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
295
+ },
296
+ /**
297
+ * List of all Automation Step Types with Key, Display and Description
298
+ * @summary List Automation Step Types
299
+ * @param {string} vbasoftwareDatabase Target database
300
+ * @param {*} [options] Override http request option.
301
+ * @throws {RequiredError}
302
+ */
303
+ listAutomationStepTypes(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse> {
304
+ return localVarFp.listAutomationStepTypes(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
305
+ },
174
306
  /**
175
307
  * List of all Automation Types with Key, Display and Description
176
308
  * @summary List Automation Types
@@ -200,6 +332,26 @@ export interface ReportStaticListsApiInterface {
200
332
  */
201
333
  listAutomationStatuses(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse>;
202
334
 
335
+ /**
336
+ * List of all Automation Step Delays with Key, Display and Description
337
+ * @summary List Automation Step Delays
338
+ * @param {string} vbasoftwareDatabase Target database
339
+ * @param {*} [options] Override http request option.
340
+ * @throws {RequiredError}
341
+ * @memberof ReportStaticListsApiInterface
342
+ */
343
+ listAutomationStepDelays(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse>;
344
+
345
+ /**
346
+ * List of all Automation Step Types with Key, Display and Description
347
+ * @summary List Automation Step Types
348
+ * @param {string} vbasoftwareDatabase Target database
349
+ * @param {*} [options] Override http request option.
350
+ * @throws {RequiredError}
351
+ * @memberof ReportStaticListsApiInterface
352
+ */
353
+ listAutomationStepTypes(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse>;
354
+
203
355
  /**
204
356
  * List of all Automation Types with Key, Display and Description
205
357
  * @summary List Automation Types
@@ -231,6 +383,30 @@ export class ReportStaticListsApi extends BaseAPI implements ReportStaticListsAp
231
383
  return ReportStaticListsApiFp(this.configuration).listAutomationStatuses(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
232
384
  }
233
385
 
386
+ /**
387
+ * List of all Automation Step Delays with Key, Display and Description
388
+ * @summary List Automation Step Delays
389
+ * @param {string} vbasoftwareDatabase Target database
390
+ * @param {*} [options] Override http request option.
391
+ * @throws {RequiredError}
392
+ * @memberof ReportStaticListsApi
393
+ */
394
+ public listAutomationStepDelays(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
395
+ return ReportStaticListsApiFp(this.configuration).listAutomationStepDelays(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
396
+ }
397
+
398
+ /**
399
+ * List of all Automation Step Types with Key, Display and Description
400
+ * @summary List Automation Step Types
401
+ * @param {string} vbasoftwareDatabase Target database
402
+ * @param {*} [options] Override http request option.
403
+ * @throws {RequiredError}
404
+ * @memberof ReportStaticListsApi
405
+ */
406
+ public listAutomationStepTypes(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
407
+ return ReportStaticListsApiFp(this.configuration).listAutomationStepTypes(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
408
+ }
409
+
234
410
  /**
235
411
  * List of all Automation Types with Key, Display and Description
236
412
  * @summary List Automation Types
@@ -68,6 +68,49 @@ export const VBAReportsApiAxiosParamCreator = function (configuration?: Configur
68
68
 
69
69
 
70
70
 
71
+ if (vbasoftwareDatabase != null) {
72
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
73
+ }
74
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
75
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
76
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
77
+
78
+ return {
79
+ url: toPathString(localVarUrlObj),
80
+ options: localVarRequestOptions,
81
+ };
82
+ },
83
+ /**
84
+ * Retrieves a token for VBA Report integration.
85
+ * @summary Retrieve VBA Report token
86
+ * @param {string} vbasoftwareDatabase The target database name to query.
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ getVBAReportToken: async (vbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
91
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
92
+ assertParamExists('getVBAReportToken', 'vbasoftwareDatabase', vbasoftwareDatabase)
93
+ const localVarPath = `/reports/token`;
94
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
95
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
96
+ let baseOptions;
97
+ if (configuration) {
98
+ baseOptions = configuration.baseOptions;
99
+ }
100
+
101
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
102
+ const localVarHeaderParameter = {} as any;
103
+ const localVarQueryParameter = {} as any;
104
+
105
+ // authentication apiKeyAuth required
106
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
107
+
108
+ // authentication bearerAuth required
109
+ // http bearer authentication required
110
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
111
+
112
+
113
+
71
114
  if (vbasoftwareDatabase != null) {
72
115
  localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
73
116
  }
@@ -196,6 +239,19 @@ export const VBAReportsApiFp = function(configuration?: Configuration) {
196
239
  const localVarOperationServerBasePath = operationServerMap['VBAReportsApi.getVBAReport']?.[localVarOperationServerIndex]?.url;
197
240
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
198
241
  },
242
+ /**
243
+ * Retrieves a token for VBA Report integration.
244
+ * @summary Retrieve VBA Report token
245
+ * @param {string} vbasoftwareDatabase The target database name to query.
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ async getVBAReportToken(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAReportVBAResponse>> {
250
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVBAReportToken(vbasoftwareDatabase, options);
251
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
252
+ const localVarOperationServerBasePath = operationServerMap['VBAReportsApi.getVBAReportToken']?.[localVarOperationServerIndex]?.url;
253
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
254
+ },
199
255
  /**
200
256
  * Retrieves a list of all available VBA Reports.
201
257
  * @summary List VBA Reports
@@ -244,6 +300,16 @@ export const VBAReportsApiFactory = function (configuration?: Configuration, bas
244
300
  getVBAReport(vbasoftwareDatabase: string, reportDefinitionKey: number, options?: RawAxiosRequestConfig): AxiosPromise<VBAReportVBAResponse> {
245
301
  return localVarFp.getVBAReport(vbasoftwareDatabase, reportDefinitionKey, options).then((request) => request(axios, basePath));
246
302
  },
303
+ /**
304
+ * Retrieves a token for VBA Report integration.
305
+ * @summary Retrieve VBA Report token
306
+ * @param {string} vbasoftwareDatabase The target database name to query.
307
+ * @param {*} [options] Override http request option.
308
+ * @throws {RequiredError}
309
+ */
310
+ getVBAReportToken(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<VBAReportVBAResponse> {
311
+ return localVarFp.getVBAReportToken(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
312
+ },
247
313
  /**
248
314
  * Retrieves a list of all available VBA Reports.
249
315
  * @summary List VBA Reports
@@ -285,6 +351,16 @@ export interface VBAReportsApiInterface {
285
351
  */
286
352
  getVBAReport(vbasoftwareDatabase: string, reportDefinitionKey: number, options?: RawAxiosRequestConfig): AxiosPromise<VBAReportVBAResponse>;
287
353
 
354
+ /**
355
+ * Retrieves a token for VBA Report integration.
356
+ * @summary Retrieve VBA Report token
357
+ * @param {string} vbasoftwareDatabase The target database name to query.
358
+ * @param {*} [options] Override http request option.
359
+ * @throws {RequiredError}
360
+ * @memberof VBAReportsApiInterface
361
+ */
362
+ getVBAReportToken(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<VBAReportVBAResponse>;
363
+
288
364
  /**
289
365
  * Retrieves a list of all available VBA Reports.
290
366
  * @summary List VBA Reports
@@ -328,6 +404,18 @@ export class VBAReportsApi extends BaseAPI implements VBAReportsApiInterface {
328
404
  return VBAReportsApiFp(this.configuration).getVBAReport(vbasoftwareDatabase, reportDefinitionKey, options).then((request) => request(this.axios, this.basePath));
329
405
  }
330
406
 
407
+ /**
408
+ * Retrieves a token for VBA Report integration.
409
+ * @summary Retrieve VBA Report token
410
+ * @param {string} vbasoftwareDatabase The target database name to query.
411
+ * @param {*} [options] Override http request option.
412
+ * @throws {RequiredError}
413
+ * @memberof VBAReportsApi
414
+ */
415
+ public getVBAReportToken(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
416
+ return VBAReportsApiFp(this.configuration).getVBAReportToken(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
417
+ }
418
+
331
419
  /**
332
420
  * Retrieves a list of all available VBA Reports.
333
421
  * @summary List VBA Reports
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { Networks } from './networks';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import type { PlanBenefitLevel } from './plan-benefit-level';
@@ -227,5 +230,11 @@ export interface CoveredBenefit {
227
230
  * @memberof CoveredBenefit
228
231
  */
229
232
  'planBenLevels'?: Array<PlanBenefitLevel> | null;
233
+ /**
234
+ *
235
+ * @type {Array<Networks>}
236
+ * @memberof CoveredBenefit
237
+ */
238
+ 'planBenLevelNetworks'?: Array<Networks> | null;
230
239
  }
231
240
 
@@ -32,5 +32,11 @@ export interface DatabaseConnection {
32
32
  * @memberof DatabaseConnection
33
33
  */
34
34
  'connectionString'?: string | null;
35
+ /**
36
+ * Indicates if single sign-on (SSO) is enabled for the database connection.
37
+ * @type {boolean}
38
+ * @memberof DatabaseConnection
39
+ */
40
+ 'ssoEnabled'?: boolean;
35
41
  }
36
42
 
@@ -183,7 +183,7 @@ export interface ReinsContract {
183
183
  */
184
184
  'policy_Number'?: string | null;
185
185
  /**
186
- * Notes if this is \"Spec. Advance Fund\" where all claims are included or \"Pay and Reimburse\" where only paid claims are included in the calculation.
186
+ * Notes if this is \"Spec. Advance Fund\" where all claims are included or \"Pay and Reimburse\" where only paid claims are included in the calculation. IMPORTANT: While you may enter any value here via API, Reports that use this data will will look for the value of \"S\" for \"Spec. Advance Fund\" or \"P\" for \"Pay and Reimburse\".
187
187
  * @type {string}
188
188
  * @memberof ReinsContract
189
189
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vbasoftware/vbapi-vbasoftware-typescript-axios",
3
- "version": "1.20250321.1",
3
+ "version": "1.20250328.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"