@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250815.1 → 1.20251010.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/.openapi-generator/FILES +40 -8
  2. package/api/accounting-api.ts +102 -0
  3. package/api/adv-accounting-api.ts +102 -0
  4. package/api/adv-billing-api.ts +30 -8
  5. package/api/adv-claim-api.ts +220 -0
  6. package/api/adv-reinsurance-api.ts +306 -0
  7. package/api/authentication-api.ts +190 -0
  8. package/api/company-data-api.ts +90 -0
  9. package/api/note-data-api.ts +195 -0
  10. package/api/password-policy-api.ts +258 -0
  11. package/api/plan-place-auth-api.ts +733 -0
  12. package/api/plan-place-auth-benefit-api.ts +773 -0
  13. package/api/premium-invoices-api.ts +30 -8
  14. package/api/reinsurance-contract-transactions-api.ts +208 -0
  15. package/api/reinsurance-contracts-api.ts +98 -0
  16. package/api/report-series-api.ts +102 -0
  17. package/api/subscribers-api.ts +17 -8
  18. package/api/zelis-redcard-api.ts +170 -0
  19. package/api.ts +4 -0
  20. package/docs/AccountingApi.md +57 -0
  21. package/docs/AdvAccountingApi.md +57 -0
  22. package/docs/AdvBillingApi.md +7 -1
  23. package/docs/AdvClaimApi.md +118 -0
  24. package/docs/AdvReinsuranceApi.md +174 -0
  25. package/docs/AuthenticationApi.md +110 -0
  26. package/docs/Claim.md +6 -0
  27. package/docs/ClaimBatch.md +6 -0
  28. package/docs/CompanyData.md +14 -0
  29. package/docs/CompanyDataApi.md +53 -0
  30. package/docs/DateTimeVBAResponse.md +24 -0
  31. package/docs/EmailReportDTO.md +0 -4
  32. package/docs/FaxReportDTO.md +0 -4
  33. package/docs/GenerateReinsAggTransaction.md +24 -0
  34. package/docs/GenerateReinsAggTransactionVBAResponse.md +24 -0
  35. package/docs/Members.md +19 -11
  36. package/docs/NoteDataApi.md +86 -0
  37. package/docs/PasswordPolicy.md +30 -0
  38. package/docs/PasswordPolicyApi.md +117 -0
  39. package/docs/PasswordPolicyVBAResponse.md +24 -0
  40. package/docs/PlanMaximum.md +2 -0
  41. package/docs/PlanPlaceAuth.md +38 -0
  42. package/docs/PlanPlaceAuthApi.md +372 -0
  43. package/docs/PlanPlaceAuthBenefit.md +32 -0
  44. package/docs/PlanPlaceAuthBenefitApi.md +387 -0
  45. package/docs/PlanPlaceAuthBenefitListVBAResponse.md +24 -0
  46. package/docs/PlanPlaceAuthBenefitVBAResponse.md +24 -0
  47. package/docs/PlanPlaceAuthListVBAResponse.md +24 -0
  48. package/docs/PlanPlaceAuthVBAResponse.md +24 -0
  49. package/docs/Plans.md +10 -0
  50. package/docs/PremiumInvoicesApi.md +7 -1
  51. package/docs/ReinsContract.md +2 -0
  52. package/docs/ReinsContractTrans.md +2 -0
  53. package/docs/ReinsContractTransClaim.md +2 -0
  54. package/docs/ReinsuranceContractTransactionsApi.md +118 -0
  55. package/docs/ReinsuranceContractsApi.md +56 -0
  56. package/docs/ReportDefinition.md +2 -0
  57. package/docs/ReportSeriesApi.md +57 -0
  58. package/docs/SMSDTO.md +0 -4
  59. package/docs/SubscribersApi.md +4 -1
  60. package/docs/VBABenefitInquiryRequest.md +6 -0
  61. package/docs/VBAProcessCorrespondenceTracking.md +22 -0
  62. package/docs/VBAProcessReceiptFile.md +24 -0
  63. package/docs/VBAReinsContractTransAmount.md +18 -0
  64. package/docs/VBAReinsContractTransClaim.md +14 -0
  65. package/docs/ZelisRedcardApi.md +64 -0
  66. package/docs/ZelisRedcardEOBRequest.md +26 -0
  67. package/docs/ZelisRedcardEOBResponse.md +24 -0
  68. package/docs/ZelisRedcardEOBResponseVBAResponse.md +24 -0
  69. package/models/claim-batch.ts +18 -0
  70. package/models/claim.ts +18 -0
  71. package/models/company-data.ts +42 -0
  72. package/models/{json-value.ts → date-time-vbaresponse.ts} +13 -13
  73. package/models/email-report-dto.ts +0 -15
  74. package/models/fax-report-dto.ts +0 -15
  75. package/models/generate-reins-agg-transaction-vbaresponse.ts +51 -0
  76. package/models/generate-reins-agg-transaction.ts +42 -0
  77. package/models/index.ts +16 -4
  78. package/models/members.ts +42 -18
  79. package/models/password-policy-vbaresponse.ts +51 -0
  80. package/models/password-policy.ts +60 -0
  81. package/models/plan-maximum.ts +6 -0
  82. package/models/plan-place-auth-benefit-list-vbaresponse.ts +51 -0
  83. package/models/plan-place-auth-benefit-vbaresponse.ts +51 -0
  84. package/models/plan-place-auth-benefit.ts +66 -0
  85. package/models/plan-place-auth-list-vbaresponse.ts +51 -0
  86. package/models/plan-place-auth-vbaresponse.ts +51 -0
  87. package/models/plan-place-auth.ts +84 -0
  88. package/models/plans.ts +30 -0
  89. package/models/reins-contract-trans-claim.ts +6 -0
  90. package/models/reins-contract-trans.ts +6 -0
  91. package/models/reins-contract.ts +6 -0
  92. package/models/report-definition.ts +6 -0
  93. package/models/smsdto.ts +0 -15
  94. package/models/vbabenefit-inquiry-request.ts +18 -0
  95. package/models/{json-node-options.ts → vbaprocess-correspondence-tracking.ts} +11 -5
  96. package/models/vbaprocess-receipt-file.ts +42 -0
  97. package/models/vbareins-contract-trans-amount.ts +54 -0
  98. package/models/vbareins-contract-trans-claim.ts +42 -0
  99. package/models/zelis-redcard-eobrequest.ts +48 -0
  100. package/models/zelis-redcard-eobresponse-vbaresponse.ts +51 -0
  101. package/models/zelis-redcard-eobresponse.ts +42 -0
  102. package/package.json +1 -1
  103. package/docs/CallbackDTO.md +0 -24
  104. package/docs/JsonNode.md +0 -24
  105. package/docs/JsonNodeOptions.md +0 -20
  106. package/docs/JsonValue.md +0 -24
  107. package/models/callback-dto.ts +0 -45
  108. package/models/json-node.ts +0 -45
@@ -21,12 +21,59 @@ import globalAxios from 'axios';
21
21
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
22
22
  // @ts-ignore
23
23
  import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
+ // @ts-ignore
25
+ import type { PasswordPolicy } from '../models';
26
+ // @ts-ignore
27
+ import type { PasswordPolicyVBAResponse } from '../models';
24
28
  /**
25
29
  * AuthenticationApi - axios parameter creator
26
30
  * @export
27
31
  */
28
32
  export const AuthenticationApiAxiosParamCreator = function (configuration?: Configuration) {
29
33
  return {
34
+ /**
35
+ * Retrieves the current Cognito password policy.
36
+ * @summary Get Password Policy
37
+ * @param {string} vbasoftwareDatabase Target database
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ getPasswordPolicy: async (vbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
43
+ assertParamExists('getPasswordPolicy', 'vbasoftwareDatabase', vbasoftwareDatabase)
44
+ const localVarPath = `/password-policy`;
45
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
47
+ let baseOptions;
48
+ if (configuration) {
49
+ baseOptions = configuration.baseOptions;
50
+ }
51
+
52
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
53
+ const localVarHeaderParameter = {} as any;
54
+ const localVarQueryParameter = {} as any;
55
+
56
+ // authentication apiKeyAuth required
57
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
58
+
59
+ // authentication bearerAuth required
60
+ // http bearer authentication required
61
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
62
+
63
+
64
+
65
+ if (vbasoftwareDatabase != null) {
66
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
67
+ }
68
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
69
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
71
+
72
+ return {
73
+ url: toPathString(localVarUrlObj),
74
+ options: localVarRequestOptions,
75
+ };
76
+ },
30
77
  /**
31
78
  * Ends the session of the user who has been logged in the longest, forcing them to log in again.
32
79
  * @summary Forcefully terminate the longest active user session
@@ -155,6 +202,55 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
155
202
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
156
203
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
157
204
 
205
+ return {
206
+ url: toPathString(localVarUrlObj),
207
+ options: localVarRequestOptions,
208
+ };
209
+ },
210
+ /**
211
+ * Updates the Cognito password policy.
212
+ * @summary Update Password Policy
213
+ * @param {string} vbasoftwareDatabase Target database
214
+ * @param {PasswordPolicy} passwordPolicy
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ */
218
+ updatePasswordPolicy: async (vbasoftwareDatabase: string, passwordPolicy: PasswordPolicy, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
219
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
220
+ assertParamExists('updatePasswordPolicy', 'vbasoftwareDatabase', vbasoftwareDatabase)
221
+ // verify required parameter 'passwordPolicy' is not null or undefined
222
+ assertParamExists('updatePasswordPolicy', 'passwordPolicy', passwordPolicy)
223
+ const localVarPath = `/password-policy`;
224
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
225
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
226
+ let baseOptions;
227
+ if (configuration) {
228
+ baseOptions = configuration.baseOptions;
229
+ }
230
+
231
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
232
+ const localVarHeaderParameter = {} as any;
233
+ const localVarQueryParameter = {} as any;
234
+
235
+ // authentication apiKeyAuth required
236
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
237
+
238
+ // authentication bearerAuth required
239
+ // http bearer authentication required
240
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
241
+
242
+
243
+
244
+ localVarHeaderParameter['Content-Type'] = 'application/json';
245
+
246
+ if (vbasoftwareDatabase != null) {
247
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
248
+ }
249
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
250
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
251
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
252
+ localVarRequestOptions.data = serializeDataIfNeeded(passwordPolicy, localVarRequestOptions, configuration)
253
+
158
254
  return {
159
255
  url: toPathString(localVarUrlObj),
160
256
  options: localVarRequestOptions,
@@ -170,6 +266,19 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
170
266
  export const AuthenticationApiFp = function(configuration?: Configuration) {
171
267
  const localVarAxiosParamCreator = AuthenticationApiAxiosParamCreator(configuration)
172
268
  return {
269
+ /**
270
+ * Retrieves the current Cognito password policy.
271
+ * @summary Get Password Policy
272
+ * @param {string} vbasoftwareDatabase Target database
273
+ * @param {*} [options] Override http request option.
274
+ * @throws {RequiredError}
275
+ */
276
+ async getPasswordPolicy(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasswordPolicyVBAResponse>> {
277
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPasswordPolicy(vbasoftwareDatabase, options);
278
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
279
+ const localVarOperationServerBasePath = operationServerMap['AuthenticationApi.getPasswordPolicy']?.[localVarOperationServerIndex]?.url;
280
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
281
+ },
173
282
  /**
174
283
  * Ends the session of the user who has been logged in the longest, forcing them to log in again.
175
284
  * @summary Forcefully terminate the longest active user session
@@ -210,6 +319,20 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
210
319
  const localVarOperationServerBasePath = operationServerMap['AuthenticationApi.logoutUser']?.[localVarOperationServerIndex]?.url;
211
320
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
212
321
  },
322
+ /**
323
+ * Updates the Cognito password policy.
324
+ * @summary Update Password Policy
325
+ * @param {string} vbasoftwareDatabase Target database
326
+ * @param {PasswordPolicy} passwordPolicy
327
+ * @param {*} [options] Override http request option.
328
+ * @throws {RequiredError}
329
+ */
330
+ async updatePasswordPolicy(vbasoftwareDatabase: string, passwordPolicy: PasswordPolicy, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasswordPolicyVBAResponse>> {
331
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatePasswordPolicy(vbasoftwareDatabase, passwordPolicy, options);
332
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
333
+ const localVarOperationServerBasePath = operationServerMap['AuthenticationApi.updatePasswordPolicy']?.[localVarOperationServerIndex]?.url;
334
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
335
+ },
213
336
  }
214
337
  };
215
338
 
@@ -220,6 +343,16 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
220
343
  export const AuthenticationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
221
344
  const localVarFp = AuthenticationApiFp(configuration)
222
345
  return {
346
+ /**
347
+ * Retrieves the current Cognito password policy.
348
+ * @summary Get Password Policy
349
+ * @param {string} vbasoftwareDatabase Target database
350
+ * @param {*} [options] Override http request option.
351
+ * @throws {RequiredError}
352
+ */
353
+ getPasswordPolicy(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<PasswordPolicyVBAResponse> {
354
+ return localVarFp.getPasswordPolicy(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
355
+ },
223
356
  /**
224
357
  * Ends the session of the user who has been logged in the longest, forcing them to log in again.
225
358
  * @summary Forcefully terminate the longest active user session
@@ -251,6 +384,17 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
251
384
  logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
252
385
  return localVarFp.logoutUser(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
253
386
  },
387
+ /**
388
+ * Updates the Cognito password policy.
389
+ * @summary Update Password Policy
390
+ * @param {string} vbasoftwareDatabase Target database
391
+ * @param {PasswordPolicy} passwordPolicy
392
+ * @param {*} [options] Override http request option.
393
+ * @throws {RequiredError}
394
+ */
395
+ updatePasswordPolicy(vbasoftwareDatabase: string, passwordPolicy: PasswordPolicy, options?: RawAxiosRequestConfig): AxiosPromise<PasswordPolicyVBAResponse> {
396
+ return localVarFp.updatePasswordPolicy(vbasoftwareDatabase, passwordPolicy, options).then((request) => request(axios, basePath));
397
+ },
254
398
  };
255
399
  };
256
400
 
@@ -260,6 +404,16 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
260
404
  * @interface AuthenticationApi
261
405
  */
262
406
  export interface AuthenticationApiInterface {
407
+ /**
408
+ * Retrieves the current Cognito password policy.
409
+ * @summary Get Password Policy
410
+ * @param {string} vbasoftwareDatabase Target database
411
+ * @param {*} [options] Override http request option.
412
+ * @throws {RequiredError}
413
+ * @memberof AuthenticationApiInterface
414
+ */
415
+ getPasswordPolicy(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<PasswordPolicyVBAResponse>;
416
+
263
417
  /**
264
418
  * Ends the session of the user who has been logged in the longest, forcing them to log in again.
265
419
  * @summary Forcefully terminate the longest active user session
@@ -291,6 +445,17 @@ export interface AuthenticationApiInterface {
291
445
  */
292
446
  logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
293
447
 
448
+ /**
449
+ * Updates the Cognito password policy.
450
+ * @summary Update Password Policy
451
+ * @param {string} vbasoftwareDatabase Target database
452
+ * @param {PasswordPolicy} passwordPolicy
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ * @memberof AuthenticationApiInterface
456
+ */
457
+ updatePasswordPolicy(vbasoftwareDatabase: string, passwordPolicy: PasswordPolicy, options?: RawAxiosRequestConfig): AxiosPromise<PasswordPolicyVBAResponse>;
458
+
294
459
  }
295
460
 
296
461
  /**
@@ -300,6 +465,18 @@ export interface AuthenticationApiInterface {
300
465
  * @extends {BaseAPI}
301
466
  */
302
467
  export class AuthenticationApi extends BaseAPI implements AuthenticationApiInterface {
468
+ /**
469
+ * Retrieves the current Cognito password policy.
470
+ * @summary Get Password Policy
471
+ * @param {string} vbasoftwareDatabase Target database
472
+ * @param {*} [options] Override http request option.
473
+ * @throws {RequiredError}
474
+ * @memberof AuthenticationApi
475
+ */
476
+ public getPasswordPolicy(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
477
+ return AuthenticationApiFp(this.configuration).getPasswordPolicy(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
478
+ }
479
+
303
480
  /**
304
481
  * Ends the session of the user who has been logged in the longest, forcing them to log in again.
305
482
  * @summary Forcefully terminate the longest active user session
@@ -336,5 +513,18 @@ export class AuthenticationApi extends BaseAPI implements AuthenticationApiInter
336
513
  public logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
337
514
  return AuthenticationApiFp(this.configuration).logoutUser(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
338
515
  }
516
+
517
+ /**
518
+ * Updates the Cognito password policy.
519
+ * @summary Update Password Policy
520
+ * @param {string} vbasoftwareDatabase Target database
521
+ * @param {PasswordPolicy} passwordPolicy
522
+ * @param {*} [options] Override http request option.
523
+ * @throws {RequiredError}
524
+ * @memberof AuthenticationApi
525
+ */
526
+ public updatePasswordPolicy(vbasoftwareDatabase: string, passwordPolicy: PasswordPolicy, options?: RawAxiosRequestConfig) {
527
+ return AuthenticationApiFp(this.configuration).updatePasswordPolicy(vbasoftwareDatabase, passwordPolicy, options).then((request) => request(this.axios, this.basePath));
528
+ }
339
529
  }
340
530
 
@@ -28,6 +28,8 @@ import type { CompanyDataListVBAResponse } from '../models';
28
28
  // @ts-ignore
29
29
  import type { CompanyDataVBAResponse } from '../models';
30
30
  // @ts-ignore
31
+ import type { DateTimeVBAResponse } from '../models';
32
+ // @ts-ignore
31
33
  import type { VBAClientSummaryVBAResponse } from '../models';
32
34
  /**
33
35
  * CompanyDataApi - axios parameter creator
@@ -113,6 +115,49 @@ export const CompanyDataApiAxiosParamCreator = function (configuration?: Configu
113
115
 
114
116
 
115
117
 
118
+ if (vbasoftwareDatabase != null) {
119
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
120
+ }
121
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
122
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
123
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
124
+
125
+ return {
126
+ url: toPathString(localVarUrlObj),
127
+ options: localVarRequestOptions,
128
+ };
129
+ },
130
+ /**
131
+ * This returns the current database date/time for the selected database.
132
+ * @summary Get the Database Server Time
133
+ * @param {string} vbasoftwareDatabase Target database
134
+ * @param {*} [options] Override http request option.
135
+ * @throws {RequiredError}
136
+ */
137
+ getDatabaseServerTime: async (vbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
138
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
139
+ assertParamExists('getDatabaseServerTime', 'vbasoftwareDatabase', vbasoftwareDatabase)
140
+ const localVarPath = `/database-server-time`;
141
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
142
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
143
+ let baseOptions;
144
+ if (configuration) {
145
+ baseOptions = configuration.baseOptions;
146
+ }
147
+
148
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
149
+ const localVarHeaderParameter = {} as any;
150
+ const localVarQueryParameter = {} as any;
151
+
152
+ // authentication apiKeyAuth required
153
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
154
+
155
+ // authentication bearerAuth required
156
+ // http bearer authentication required
157
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
158
+
159
+
160
+
116
161
  if (vbasoftwareDatabase != null) {
117
162
  localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
118
163
  }
@@ -273,6 +318,19 @@ export const CompanyDataApiFp = function(configuration?: Configuration) {
273
318
  const localVarOperationServerBasePath = operationServerMap['CompanyDataApi.getCompanySummary']?.[localVarOperationServerIndex]?.url;
274
319
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
275
320
  },
321
+ /**
322
+ * This returns the current database date/time for the selected database.
323
+ * @summary Get the Database Server Time
324
+ * @param {string} vbasoftwareDatabase Target database
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ */
328
+ async getDatabaseServerTime(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DateTimeVBAResponse>> {
329
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDatabaseServerTime(vbasoftwareDatabase, options);
330
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
331
+ const localVarOperationServerBasePath = operationServerMap['CompanyDataApi.getDatabaseServerTime']?.[localVarOperationServerIndex]?.url;
332
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
333
+ },
276
334
  /**
277
335
  * Lists all CompanyData
278
336
  * @summary List CompanyData
@@ -335,6 +393,16 @@ export const CompanyDataApiFactory = function (configuration?: Configuration, ba
335
393
  getCompanySummary(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<VBAClientSummaryVBAResponse> {
336
394
  return localVarFp.getCompanySummary(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
337
395
  },
396
+ /**
397
+ * This returns the current database date/time for the selected database.
398
+ * @summary Get the Database Server Time
399
+ * @param {string} vbasoftwareDatabase Target database
400
+ * @param {*} [options] Override http request option.
401
+ * @throws {RequiredError}
402
+ */
403
+ getDatabaseServerTime(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<DateTimeVBAResponse> {
404
+ return localVarFp.getDatabaseServerTime(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
405
+ },
338
406
  /**
339
407
  * Lists all CompanyData
340
408
  * @summary List CompanyData
@@ -390,6 +458,16 @@ export interface CompanyDataApiInterface {
390
458
  */
391
459
  getCompanySummary(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<VBAClientSummaryVBAResponse>;
392
460
 
461
+ /**
462
+ * This returns the current database date/time for the selected database.
463
+ * @summary Get the Database Server Time
464
+ * @param {string} vbasoftwareDatabase Target database
465
+ * @param {*} [options] Override http request option.
466
+ * @throws {RequiredError}
467
+ * @memberof CompanyDataApiInterface
468
+ */
469
+ getDatabaseServerTime(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<DateTimeVBAResponse>;
470
+
393
471
  /**
394
472
  * Lists all CompanyData
395
473
  * @summary List CompanyData
@@ -449,6 +527,18 @@ export class CompanyDataApi extends BaseAPI implements CompanyDataApiInterface {
449
527
  return CompanyDataApiFp(this.configuration).getCompanySummary(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
450
528
  }
451
529
 
530
+ /**
531
+ * This returns the current database date/time for the selected database.
532
+ * @summary Get the Database Server Time
533
+ * @param {string} vbasoftwareDatabase Target database
534
+ * @param {*} [options] Override http request option.
535
+ * @throws {RequiredError}
536
+ * @memberof CompanyDataApi
537
+ */
538
+ public getDatabaseServerTime(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
539
+ return CompanyDataApiFp(this.configuration).getDatabaseServerTime(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
540
+ }
541
+
452
542
  /**
453
543
  * Lists all CompanyData
454
544
  * @summary List CompanyData
@@ -22,6 +22,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
22
22
  // @ts-ignore
23
23
  import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
24
  // @ts-ignore
25
+ import type { BooleanVBAResponse } from '../models';
26
+ // @ts-ignore
25
27
  import type { MultiCodeResponseListVBAResponse } from '../models';
26
28
  // @ts-ignore
27
29
  import type { NoteData } from '../models';
@@ -37,6 +39,110 @@ import type { StringVBAResponse } from '../models';
37
39
  */
38
40
  export const NoteDataApiAxiosParamCreator = function (configuration?: Configuration) {
39
41
  return {
42
+ /**
43
+ * Check the NoteData by Source without pulling the full list. This reutrns a true/false on whether there are notes for the identified source.
44
+ * @summary Check NoteData by Source
45
+ * @param {string} vbasoftwareDatabase Target database
46
+ * @param {string} noteCategory Note_Category
47
+ * @param {string} columnName1 Column_Name1
48
+ * @param {string} keyValue1 Key_Value1
49
+ * @param {string} [columnName2] Column_Name2
50
+ * @param {string} [keyValue2] Key_Value2
51
+ * @param {string} [columnName3] Column_Name3
52
+ * @param {string} [keyValue3] Key_Value3
53
+ * @param {string} [columnName4] Column_Name4
54
+ * @param {string} [keyValue4] Key_Value4
55
+ * @param {string} [columnName5] Column_Name5
56
+ * @param {string} [keyValue5] Key_Value5
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ checkNotesBySource: async (vbasoftwareDatabase: string, noteCategory: string, columnName1: string, keyValue1: string, columnName2?: string, keyValue2?: string, columnName3?: string, keyValue3?: string, columnName4?: string, keyValue4?: string, columnName5?: string, keyValue5?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
61
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
62
+ assertParamExists('checkNotesBySource', 'vbasoftwareDatabase', vbasoftwareDatabase)
63
+ // verify required parameter 'noteCategory' is not null or undefined
64
+ assertParamExists('checkNotesBySource', 'noteCategory', noteCategory)
65
+ // verify required parameter 'columnName1' is not null or undefined
66
+ assertParamExists('checkNotesBySource', 'columnName1', columnName1)
67
+ // verify required parameter 'keyValue1' is not null or undefined
68
+ assertParamExists('checkNotesBySource', 'keyValue1', keyValue1)
69
+ const localVarPath = `/note-data-check`;
70
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
71
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72
+ let baseOptions;
73
+ if (configuration) {
74
+ baseOptions = configuration.baseOptions;
75
+ }
76
+
77
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
78
+ const localVarHeaderParameter = {} as any;
79
+ const localVarQueryParameter = {} as any;
80
+
81
+ // authentication apiKeyAuth required
82
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
83
+
84
+ // authentication bearerAuth required
85
+ // http bearer authentication required
86
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
87
+
88
+ if (noteCategory !== undefined) {
89
+ localVarQueryParameter['noteCategory'] = noteCategory;
90
+ }
91
+
92
+ if (columnName1 !== undefined) {
93
+ localVarQueryParameter['columnName1'] = columnName1;
94
+ }
95
+
96
+ if (keyValue1 !== undefined) {
97
+ localVarQueryParameter['keyValue1'] = keyValue1;
98
+ }
99
+
100
+ if (columnName2 !== undefined) {
101
+ localVarQueryParameter['columnName2'] = columnName2;
102
+ }
103
+
104
+ if (keyValue2 !== undefined) {
105
+ localVarQueryParameter['keyValue2'] = keyValue2;
106
+ }
107
+
108
+ if (columnName3 !== undefined) {
109
+ localVarQueryParameter['columnName3'] = columnName3;
110
+ }
111
+
112
+ if (keyValue3 !== undefined) {
113
+ localVarQueryParameter['keyValue3'] = keyValue3;
114
+ }
115
+
116
+ if (columnName4 !== undefined) {
117
+ localVarQueryParameter['columnName4'] = columnName4;
118
+ }
119
+
120
+ if (keyValue4 !== undefined) {
121
+ localVarQueryParameter['keyValue4'] = keyValue4;
122
+ }
123
+
124
+ if (columnName5 !== undefined) {
125
+ localVarQueryParameter['columnName5'] = columnName5;
126
+ }
127
+
128
+ if (keyValue5 !== undefined) {
129
+ localVarQueryParameter['keyValue5'] = keyValue5;
130
+ }
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
+ },
40
146
  /**
41
147
  * Creates a new NoteData
42
148
  * @summary Create NoteData
@@ -443,6 +549,30 @@ export const NoteDataApiAxiosParamCreator = function (configuration?: Configurat
443
549
  export const NoteDataApiFp = function(configuration?: Configuration) {
444
550
  const localVarAxiosParamCreator = NoteDataApiAxiosParamCreator(configuration)
445
551
  return {
552
+ /**
553
+ * Check the NoteData by Source without pulling the full list. This reutrns a true/false on whether there are notes for the identified source.
554
+ * @summary Check NoteData by Source
555
+ * @param {string} vbasoftwareDatabase Target database
556
+ * @param {string} noteCategory Note_Category
557
+ * @param {string} columnName1 Column_Name1
558
+ * @param {string} keyValue1 Key_Value1
559
+ * @param {string} [columnName2] Column_Name2
560
+ * @param {string} [keyValue2] Key_Value2
561
+ * @param {string} [columnName3] Column_Name3
562
+ * @param {string} [keyValue3] Key_Value3
563
+ * @param {string} [columnName4] Column_Name4
564
+ * @param {string} [keyValue4] Key_Value4
565
+ * @param {string} [columnName5] Column_Name5
566
+ * @param {string} [keyValue5] Key_Value5
567
+ * @param {*} [options] Override http request option.
568
+ * @throws {RequiredError}
569
+ */
570
+ async checkNotesBySource(vbasoftwareDatabase: string, noteCategory: string, columnName1: string, keyValue1: string, columnName2?: string, keyValue2?: string, columnName3?: string, keyValue3?: string, columnName4?: string, keyValue4?: string, columnName5?: string, keyValue5?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BooleanVBAResponse>> {
571
+ const localVarAxiosArgs = await localVarAxiosParamCreator.checkNotesBySource(vbasoftwareDatabase, noteCategory, columnName1, keyValue1, columnName2, keyValue2, columnName3, keyValue3, columnName4, keyValue4, columnName5, keyValue5, options);
572
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
573
+ const localVarOperationServerBasePath = operationServerMap['NoteDataApi.checkNotesBySource']?.[localVarOperationServerIndex]?.url;
574
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
575
+ },
446
576
  /**
447
577
  * Creates a new NoteData
448
578
  * @summary Create NoteData
@@ -562,6 +692,27 @@ export const NoteDataApiFp = function(configuration?: Configuration) {
562
692
  export const NoteDataApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
563
693
  const localVarFp = NoteDataApiFp(configuration)
564
694
  return {
695
+ /**
696
+ * Check the NoteData by Source without pulling the full list. This reutrns a true/false on whether there are notes for the identified source.
697
+ * @summary Check NoteData by Source
698
+ * @param {string} vbasoftwareDatabase Target database
699
+ * @param {string} noteCategory Note_Category
700
+ * @param {string} columnName1 Column_Name1
701
+ * @param {string} keyValue1 Key_Value1
702
+ * @param {string} [columnName2] Column_Name2
703
+ * @param {string} [keyValue2] Key_Value2
704
+ * @param {string} [columnName3] Column_Name3
705
+ * @param {string} [keyValue3] Key_Value3
706
+ * @param {string} [columnName4] Column_Name4
707
+ * @param {string} [keyValue4] Key_Value4
708
+ * @param {string} [columnName5] Column_Name5
709
+ * @param {string} [keyValue5] Key_Value5
710
+ * @param {*} [options] Override http request option.
711
+ * @throws {RequiredError}
712
+ */
713
+ checkNotesBySource(vbasoftwareDatabase: string, noteCategory: string, columnName1: string, keyValue1: string, columnName2?: string, keyValue2?: string, columnName3?: string, keyValue3?: string, columnName4?: string, keyValue4?: string, columnName5?: string, keyValue5?: string, options?: RawAxiosRequestConfig): AxiosPromise<BooleanVBAResponse> {
714
+ return localVarFp.checkNotesBySource(vbasoftwareDatabase, noteCategory, columnName1, keyValue1, columnName2, keyValue2, columnName3, keyValue3, columnName4, keyValue4, columnName5, keyValue5, options).then((request) => request(axios, basePath));
715
+ },
565
716
  /**
566
717
  * Creates a new NoteData
567
718
  * @summary Create NoteData
@@ -659,6 +810,27 @@ export const NoteDataApiFactory = function (configuration?: Configuration, baseP
659
810
  * @interface NoteDataApi
660
811
  */
661
812
  export interface NoteDataApiInterface {
813
+ /**
814
+ * Check the NoteData by Source without pulling the full list. This reutrns a true/false on whether there are notes for the identified source.
815
+ * @summary Check NoteData by Source
816
+ * @param {string} vbasoftwareDatabase Target database
817
+ * @param {string} noteCategory Note_Category
818
+ * @param {string} columnName1 Column_Name1
819
+ * @param {string} keyValue1 Key_Value1
820
+ * @param {string} [columnName2] Column_Name2
821
+ * @param {string} [keyValue2] Key_Value2
822
+ * @param {string} [columnName3] Column_Name3
823
+ * @param {string} [keyValue3] Key_Value3
824
+ * @param {string} [columnName4] Column_Name4
825
+ * @param {string} [keyValue4] Key_Value4
826
+ * @param {string} [columnName5] Column_Name5
827
+ * @param {string} [keyValue5] Key_Value5
828
+ * @param {*} [options] Override http request option.
829
+ * @throws {RequiredError}
830
+ * @memberof NoteDataApiInterface
831
+ */
832
+ checkNotesBySource(vbasoftwareDatabase: string, noteCategory: string, columnName1: string, keyValue1: string, columnName2?: string, keyValue2?: string, columnName3?: string, keyValue3?: string, columnName4?: string, keyValue4?: string, columnName5?: string, keyValue5?: string, options?: RawAxiosRequestConfig): AxiosPromise<BooleanVBAResponse>;
833
+
662
834
  /**
663
835
  * Creates a new NoteData
664
836
  * @summary Create NoteData
@@ -756,6 +928,29 @@ export interface NoteDataApiInterface {
756
928
  * @extends {BaseAPI}
757
929
  */
758
930
  export class NoteDataApi extends BaseAPI implements NoteDataApiInterface {
931
+ /**
932
+ * Check the NoteData by Source without pulling the full list. This reutrns a true/false on whether there are notes for the identified source.
933
+ * @summary Check NoteData by Source
934
+ * @param {string} vbasoftwareDatabase Target database
935
+ * @param {string} noteCategory Note_Category
936
+ * @param {string} columnName1 Column_Name1
937
+ * @param {string} keyValue1 Key_Value1
938
+ * @param {string} [columnName2] Column_Name2
939
+ * @param {string} [keyValue2] Key_Value2
940
+ * @param {string} [columnName3] Column_Name3
941
+ * @param {string} [keyValue3] Key_Value3
942
+ * @param {string} [columnName4] Column_Name4
943
+ * @param {string} [keyValue4] Key_Value4
944
+ * @param {string} [columnName5] Column_Name5
945
+ * @param {string} [keyValue5] Key_Value5
946
+ * @param {*} [options] Override http request option.
947
+ * @throws {RequiredError}
948
+ * @memberof NoteDataApi
949
+ */
950
+ public checkNotesBySource(vbasoftwareDatabase: string, noteCategory: string, columnName1: string, keyValue1: string, columnName2?: string, keyValue2?: string, columnName3?: string, keyValue3?: string, columnName4?: string, keyValue4?: string, columnName5?: string, keyValue5?: string, options?: RawAxiosRequestConfig) {
951
+ return NoteDataApiFp(this.configuration).checkNotesBySource(vbasoftwareDatabase, noteCategory, columnName1, keyValue1, columnName2, keyValue2, columnName3, keyValue3, columnName4, keyValue4, columnName5, keyValue5, options).then((request) => request(this.axios, this.basePath));
952
+ }
953
+
759
954
  /**
760
955
  * Creates a new NoteData
761
956
  * @summary Create NoteData