@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20231102.2 → 1.20231108.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/api/user-api.ts CHANGED
@@ -23,6 +23,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { MultiCodeResponseListVBAResponse } from '../models';
25
25
  // @ts-ignore
26
+ import { StringListVBAResponse } from '../models';
27
+ // @ts-ignore
26
28
  import { StringVBAResponse } from '../models';
27
29
  // @ts-ignore
28
30
  import { UserAuthenticationResponseVBAResponse } from '../models';
@@ -405,6 +407,53 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
405
407
 
406
408
 
407
409
 
410
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
411
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
412
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
413
+
414
+ return {
415
+ url: toPathString(localVarUrlObj),
416
+ options: localVarRequestOptions,
417
+ };
418
+ },
419
+ /**
420
+ * Lists the databases that are available for API access for the given client id and client code.
421
+ * @summary List Databases
422
+ * @param {string} vbasoftwareClientId Client ID
423
+ * @param {string} vbasoftwareClientCode Client Code
424
+ * @param {*} [options] Override http request option.
425
+ * @throws {RequiredError}
426
+ */
427
+ listDatabases: async (vbasoftwareClientId: string, vbasoftwareClientCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
428
+ // verify required parameter 'vbasoftwareClientId' is not null or undefined
429
+ assertParamExists('listDatabases', 'vbasoftwareClientId', vbasoftwareClientId)
430
+ // verify required parameter 'vbasoftwareClientCode' is not null or undefined
431
+ assertParamExists('listDatabases', 'vbasoftwareClientCode', vbasoftwareClientCode)
432
+ const localVarPath = `/databases`;
433
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
434
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
435
+ let baseOptions;
436
+ if (configuration) {
437
+ baseOptions = configuration.baseOptions;
438
+ }
439
+
440
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
441
+ const localVarHeaderParameter = {} as any;
442
+ const localVarQueryParameter = {} as any;
443
+
444
+ // authentication apiKeyAuth required
445
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
446
+
447
+ if (vbasoftwareClientId !== undefined && vbasoftwareClientId !== null) {
448
+ localVarHeaderParameter['vbasoftware-client-id'] = String(vbasoftwareClientId);
449
+ }
450
+
451
+ if (vbasoftwareClientCode !== undefined && vbasoftwareClientCode !== null) {
452
+ localVarHeaderParameter['vbasoftware-client-code'] = String(vbasoftwareClientCode);
453
+ }
454
+
455
+
456
+
408
457
  setSearchParams(localVarUrlObj, localVarQueryParameter);
409
458
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
410
459
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -948,6 +997,18 @@ export const UserApiFp = function(configuration?: Configuration) {
948
997
  const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(vbasoftwareDatabase, userID, options);
949
998
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
950
999
  },
1000
+ /**
1001
+ * Lists the databases that are available for API access for the given client id and client code.
1002
+ * @summary List Databases
1003
+ * @param {string} vbasoftwareClientId Client ID
1004
+ * @param {string} vbasoftwareClientCode Client Code
1005
+ * @param {*} [options] Override http request option.
1006
+ * @throws {RequiredError}
1007
+ */
1008
+ async listDatabases(vbasoftwareClientId: string, vbasoftwareClientCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringListVBAResponse>> {
1009
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDatabases(vbasoftwareClientId, vbasoftwareClientCode, options);
1010
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1011
+ },
951
1012
  /**
952
1013
  * Lists all Users
953
1014
  * @summary List Users
@@ -1142,6 +1203,17 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
1142
1203
  getUser(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<UsersVBAResponse> {
1143
1204
  return localVarFp.getUser(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
1144
1205
  },
1206
+ /**
1207
+ * Lists the databases that are available for API access for the given client id and client code.
1208
+ * @summary List Databases
1209
+ * @param {string} vbasoftwareClientId Client ID
1210
+ * @param {string} vbasoftwareClientCode Client Code
1211
+ * @param {*} [options] Override http request option.
1212
+ * @throws {RequiredError}
1213
+ */
1214
+ listDatabases(vbasoftwareClientId: string, vbasoftwareClientCode: string, options?: any): AxiosPromise<StringListVBAResponse> {
1215
+ return localVarFp.listDatabases(vbasoftwareClientId, vbasoftwareClientCode, options).then((request) => request(axios, basePath));
1216
+ },
1145
1217
  /**
1146
1218
  * Lists all Users
1147
1219
  * @summary List Users
@@ -1327,6 +1399,17 @@ export interface UserApiInterface {
1327
1399
  */
1328
1400
  getUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<UsersVBAResponse>;
1329
1401
 
1402
+ /**
1403
+ * Lists the databases that are available for API access for the given client id and client code.
1404
+ * @summary List Databases
1405
+ * @param {string} vbasoftwareClientId Client ID
1406
+ * @param {string} vbasoftwareClientCode Client Code
1407
+ * @param {*} [options] Override http request option.
1408
+ * @throws {RequiredError}
1409
+ * @memberof UserApiInterface
1410
+ */
1411
+ listDatabases(vbasoftwareClientId: string, vbasoftwareClientCode: string, options?: AxiosRequestConfig): AxiosPromise<StringListVBAResponse>;
1412
+
1330
1413
  /**
1331
1414
  * Lists all Users
1332
1415
  * @summary List Users
@@ -1526,6 +1609,19 @@ export class UserApi extends BaseAPI implements UserApiInterface {
1526
1609
  return UserApiFp(this.configuration).getUser(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
1527
1610
  }
1528
1611
 
1612
+ /**
1613
+ * Lists the databases that are available for API access for the given client id and client code.
1614
+ * @summary List Databases
1615
+ * @param {string} vbasoftwareClientId Client ID
1616
+ * @param {string} vbasoftwareClientCode Client Code
1617
+ * @param {*} [options] Override http request option.
1618
+ * @throws {RequiredError}
1619
+ * @memberof UserApi
1620
+ */
1621
+ public listDatabases(vbasoftwareClientId: string, vbasoftwareClientCode: string, options?: AxiosRequestConfig) {
1622
+ return UserApiFp(this.configuration).listDatabases(vbasoftwareClientId, vbasoftwareClientCode, options).then((request) => request(this.axios, this.basePath));
1623
+ }
1624
+
1529
1625
  /**
1530
1626
  * Lists all Users
1531
1627
  * @summary List Users
@@ -1118,6 +1118,12 @@ export interface CompanyData {
1118
1118
  * @memberof CompanyData
1119
1119
  */
1120
1120
  'default_State_Wage_Limit'?: number | null;
1121
+ /**
1122
+ *
1123
+ * @type {string}
1124
+ * @memberof CompanyData
1125
+ */
1126
+ 'dental_ATP_Paid_Date_Type'?: string | null;
1121
1127
  /**
1122
1128
  * Default Diagnostic Code Type for Disability and Life claims
1123
1129
  * @type {string}
@@ -1130,6 +1136,12 @@ export interface CompanyData {
1130
1136
  * @memberof CompanyData
1131
1137
  */
1132
1138
  'disallow_Spec_Char_In_Plan_ID': boolean;
1139
+ /**
1140
+ * Note: The database will apply a default value of `False` for this field if a value is not provided. This field is also marked as NOT NULL in the database and therefore required by the API. If you do not have a value for this field, supply the database default value of `False` to meet the API requirements and ensure that the functionality occurs as expected.
1141
+ * @type {boolean}
1142
+ * @memberof CompanyData
1143
+ */
1144
+ 'disconnect_Call_Notes_From_Claim_Provider': boolean;
1133
1145
  /**
1134
1146
  * Not used in system configuration. Used on external and/or custom procedures.
1135
1147
  * @type {number}
@@ -1904,6 +1916,12 @@ export interface CompanyData {
1904
1916
  * @memberof CompanyData
1905
1917
  */
1906
1918
  'processing_Mode'?: string | null;
1919
+ /**
1920
+ *
1921
+ * @type {string}
1922
+ * @memberof CompanyData
1923
+ */
1924
+ 'prof_ATP_Paid_Date_Type'?: string | null;
1907
1925
  /**
1908
1926
  * Ex Code to set when the member has used a Prosthesis Tooth
1909
1927
  * @type {string}
@@ -2096,6 +2114,12 @@ export interface CompanyData {
2096
2114
  * @memberof CompanyData
2097
2115
  */
2098
2116
  'tooth_Chart_Type'?: string | null;
2117
+ /**
2118
+ *
2119
+ * @type {string}
2120
+ * @memberof CompanyData
2121
+ */
2122
+ 'uB92_ATP_Paid_Date_Type'?: string | null;
2099
2123
  /**
2100
2124
  * This Ex Code is used when Usual and Customary is used.
2101
2125
  * @type {string}
@@ -38,6 +38,12 @@ export interface NetworkProcedureCluster {
38
38
  * @memberof NetworkProcedureCluster
39
39
  */
40
40
  'effective_Date': string;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof NetworkProcedureCluster
45
+ */
46
+ 'bill_Percent'?: number | null;
41
47
  /**
42
48
  *
43
49
  * @type {string}
@@ -68,6 +74,12 @@ export interface NetworkProcedureCluster {
68
74
  * @memberof NetworkProcedureCluster
69
75
  */
70
76
  'fee_Percent'?: number | null;
77
+ /**
78
+ *
79
+ * @type {number}
80
+ * @memberof NetworkProcedureCluster
81
+ */
82
+ 'flat_Rate'?: number | null;
71
83
  /**
72
84
  * Date when the pricing rule expires/expired.
73
85
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vbasoftware/vbapi-vbasoftware-typescript-axios",
3
- "version": "1.20231102.2",
3
+ "version": "1.20231108.1",
4
4
  "description": "APIs for VBASoftware APIs",
5
5
  "main": "index.js",
6
6
  "scripts": {