@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250117.1 → 1.20250124.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -843,6 +843,7 @@ api/user-group-mappings-api.ts
843
843
  api/user-groups-api.ts
844
844
  api/user-log-types-api.ts
845
845
  api/user-note-access-api.ts
846
+ api/user-status-api.ts
846
847
  api/vbagateway-messaging-api.ts
847
848
  api/vbagateway-subscription-api.ts
848
849
  api/vbagateway-subscription-detail-api.ts
@@ -3456,6 +3457,8 @@ models/vbareport-list-vbaresponse.ts
3456
3457
  models/vbareport-vbaresponse.ts
3457
3458
  models/vbareport.ts
3458
3459
  models/vbassologin-config.ts
3460
+ models/vbauser-status-vbaresponse.ts
3461
+ models/vbauser-status.ts
3459
3462
  models/verify-mfadevice-setup-request.ts
3460
3463
  models/verify-mfadevice-setup-response-vbaresponse.ts
3461
3464
  models/verify-mfadevice-setup-response.ts
@@ -1 +1 @@
1
- 7.10.0
1
+ 7.11.0
@@ -1199,6 +1199,55 @@ export const AdvBillingApiAxiosParamCreator = function (configuration?: Configur
1199
1199
 
1200
1200
 
1201
1201
 
1202
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1203
+
1204
+ if (vbasoftwareDatabase != null) {
1205
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
1206
+ }
1207
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1208
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1209
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1210
+ localVarRequestOptions.data = serializeDataIfNeeded(premInvoiceApplyPayment, localVarRequestOptions, configuration)
1211
+
1212
+ return {
1213
+ url: toPathString(localVarUrlObj),
1214
+ options: localVarRequestOptions,
1215
+ };
1216
+ },
1217
+ /**
1218
+ * PremInvoice Apply Payments for Self-Admin
1219
+ * @summary PremInvoice Apply Payments for Self-Admin
1220
+ * @param {string} vbasoftwareDatabase Target database
1221
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1222
+ * @param {*} [options] Override http request option.
1223
+ * @throws {RequiredError}
1224
+ */
1225
+ premInvoiceApplyPaymentSelfAdmin: async (vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1226
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
1227
+ assertParamExists('premInvoiceApplyPaymentSelfAdmin', 'vbasoftwareDatabase', vbasoftwareDatabase)
1228
+ // verify required parameter 'premInvoiceApplyPayment' is not null or undefined
1229
+ assertParamExists('premInvoiceApplyPaymentSelfAdmin', 'premInvoiceApplyPayment', premInvoiceApplyPayment)
1230
+ const localVarPath = `/premium-invoice-apply-payment-self-admin`;
1231
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1232
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1233
+ let baseOptions;
1234
+ if (configuration) {
1235
+ baseOptions = configuration.baseOptions;
1236
+ }
1237
+
1238
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1239
+ const localVarHeaderParameter = {} as any;
1240
+ const localVarQueryParameter = {} as any;
1241
+
1242
+ // authentication apiKeyAuth required
1243
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
1244
+
1245
+ // authentication bearerAuth required
1246
+ // http bearer authentication required
1247
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1248
+
1249
+
1250
+
1202
1251
  localVarHeaderParameter['Content-Type'] = 'application/json';
1203
1252
 
1204
1253
  if (vbasoftwareDatabase != null) {
@@ -1930,6 +1979,20 @@ export const AdvBillingApiFp = function(configuration?: Configuration) {
1930
1979
  const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.premInvoiceApplyPaymentHeaderAdjustment']?.[localVarOperationServerIndex]?.url;
1931
1980
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1932
1981
  },
1982
+ /**
1983
+ * PremInvoice Apply Payments for Self-Admin
1984
+ * @summary PremInvoice Apply Payments for Self-Admin
1985
+ * @param {string} vbasoftwareDatabase Target database
1986
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1987
+ * @param {*} [options] Override http request option.
1988
+ * @throws {RequiredError}
1989
+ */
1990
+ async premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1991
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase, premInvoiceApplyPayment, options);
1992
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1993
+ const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.premInvoiceApplyPaymentSelfAdmin']?.[localVarOperationServerIndex]?.url;
1994
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1995
+ },
1933
1996
  /**
1934
1997
  * PremInvoice Apply Payments by Subscriber
1935
1998
  * @summary PremInvoice Apply Payments by Subscriber
@@ -2308,6 +2371,17 @@ export const AdvBillingApiFactory = function (configuration?: Configuration, bas
2308
2371
  premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2309
2372
  return localVarFp.premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(axios, basePath));
2310
2373
  },
2374
+ /**
2375
+ * PremInvoice Apply Payments for Self-Admin
2376
+ * @summary PremInvoice Apply Payments for Self-Admin
2377
+ * @param {string} vbasoftwareDatabase Target database
2378
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
2379
+ * @param {*} [options] Override http request option.
2380
+ * @throws {RequiredError}
2381
+ */
2382
+ premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2383
+ return localVarFp.premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(axios, basePath));
2384
+ },
2311
2385
  /**
2312
2386
  * PremInvoice Apply Payments by Subscriber
2313
2387
  * @summary PremInvoice Apply Payments by Subscriber
@@ -2661,6 +2735,17 @@ export interface AdvBillingApiInterface {
2661
2735
  */
2662
2736
  premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2663
2737
 
2738
+ /**
2739
+ * PremInvoice Apply Payments for Self-Admin
2740
+ * @summary PremInvoice Apply Payments for Self-Admin
2741
+ * @param {string} vbasoftwareDatabase Target database
2742
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
2743
+ * @param {*} [options] Override http request option.
2744
+ * @throws {RequiredError}
2745
+ * @memberof AdvBillingApiInterface
2746
+ */
2747
+ premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2748
+
2664
2749
  /**
2665
2750
  * PremInvoice Apply Payments by Subscriber
2666
2751
  * @summary PremInvoice Apply Payments by Subscriber
@@ -3058,6 +3143,19 @@ export class AdvBillingApi extends BaseAPI implements AdvBillingApiInterface {
3058
3143
  return AdvBillingApiFp(this.configuration).premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(this.axios, this.basePath));
3059
3144
  }
3060
3145
 
3146
+ /**
3147
+ * PremInvoice Apply Payments for Self-Admin
3148
+ * @summary PremInvoice Apply Payments for Self-Admin
3149
+ * @param {string} vbasoftwareDatabase Target database
3150
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
3151
+ * @param {*} [options] Override http request option.
3152
+ * @throws {RequiredError}
3153
+ * @memberof AdvBillingApi
3154
+ */
3155
+ public premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: RawAxiosRequestConfig) {
3156
+ return AdvBillingApiFp(this.configuration).premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(this.axios, this.basePath));
3157
+ }
3158
+
3061
3159
  /**
3062
3160
  * PremInvoice Apply Payments by Subscriber
3063
3161
  * @summary PremInvoice Apply Payments by Subscriber
@@ -889,6 +889,55 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
889
889
 
890
890
 
891
891
 
892
+ localVarHeaderParameter['Content-Type'] = 'application/json';
893
+
894
+ if (vbasoftwareDatabase != null) {
895
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
896
+ }
897
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
898
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
899
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
900
+ localVarRequestOptions.data = serializeDataIfNeeded(premInvoiceApplyPayment, localVarRequestOptions, configuration)
901
+
902
+ return {
903
+ url: toPathString(localVarUrlObj),
904
+ options: localVarRequestOptions,
905
+ };
906
+ },
907
+ /**
908
+ * PremInvoice Apply Payments for Self-Admin
909
+ * @summary PremInvoice Apply Payments for Self-Admin
910
+ * @param {string} vbasoftwareDatabase Target database
911
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
912
+ * @param {*} [options] Override http request option.
913
+ * @throws {RequiredError}
914
+ */
915
+ premInvoiceApplyPaymentSelfAdmin: async (vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
916
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
917
+ assertParamExists('premInvoiceApplyPaymentSelfAdmin', 'vbasoftwareDatabase', vbasoftwareDatabase)
918
+ // verify required parameter 'premInvoiceApplyPayment' is not null or undefined
919
+ assertParamExists('premInvoiceApplyPaymentSelfAdmin', 'premInvoiceApplyPayment', premInvoiceApplyPayment)
920
+ const localVarPath = `/premium-invoice-apply-payment-self-admin`;
921
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
922
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
923
+ let baseOptions;
924
+ if (configuration) {
925
+ baseOptions = configuration.baseOptions;
926
+ }
927
+
928
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
929
+ const localVarHeaderParameter = {} as any;
930
+ const localVarQueryParameter = {} as any;
931
+
932
+ // authentication apiKeyAuth required
933
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
934
+
935
+ // authentication bearerAuth required
936
+ // http bearer authentication required
937
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
938
+
939
+
940
+
892
941
  localVarHeaderParameter['Content-Type'] = 'application/json';
893
942
 
894
943
  if (vbasoftwareDatabase != null) {
@@ -1549,6 +1598,20 @@ export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
1549
1598
  const localVarOperationServerBasePath = operationServerMap['PremiumInvoicesApi.premInvoiceApplyPaymentHeaderAdjustment']?.[localVarOperationServerIndex]?.url;
1550
1599
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1551
1600
  },
1601
+ /**
1602
+ * PremInvoice Apply Payments for Self-Admin
1603
+ * @summary PremInvoice Apply Payments for Self-Admin
1604
+ * @param {string} vbasoftwareDatabase Target database
1605
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1606
+ * @param {*} [options] Override http request option.
1607
+ * @throws {RequiredError}
1608
+ */
1609
+ async premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1610
+ const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase, premInvoiceApplyPayment, options);
1611
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1612
+ const localVarOperationServerBasePath = operationServerMap['PremiumInvoicesApi.premInvoiceApplyPaymentSelfAdmin']?.[localVarOperationServerIndex]?.url;
1613
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1614
+ },
1552
1615
  /**
1553
1616
  * PremInvoice Apply Payments by Subscriber
1554
1617
  * @summary PremInvoice Apply Payments by Subscriber
@@ -1866,6 +1929,17 @@ export const PremiumInvoicesApiFactory = function (configuration?: Configuration
1866
1929
  premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: RawAxiosRequestConfig): AxiosPromise<void> {
1867
1930
  return localVarFp.premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(axios, basePath));
1868
1931
  },
1932
+ /**
1933
+ * PremInvoice Apply Payments for Self-Admin
1934
+ * @summary PremInvoice Apply Payments for Self-Admin
1935
+ * @param {string} vbasoftwareDatabase Target database
1936
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
1937
+ * @param {*} [options] Override http request option.
1938
+ * @throws {RequiredError}
1939
+ */
1940
+ premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: RawAxiosRequestConfig): AxiosPromise<void> {
1941
+ return localVarFp.premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(axios, basePath));
1942
+ },
1869
1943
  /**
1870
1944
  * PremInvoice Apply Payments by Subscriber
1871
1945
  * @summary PremInvoice Apply Payments by Subscriber
@@ -2158,6 +2232,17 @@ export interface PremiumInvoicesApiInterface {
2158
2232
  */
2159
2233
  premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2160
2234
 
2235
+ /**
2236
+ * PremInvoice Apply Payments for Self-Admin
2237
+ * @summary PremInvoice Apply Payments for Self-Admin
2238
+ * @param {string} vbasoftwareDatabase Target database
2239
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
2240
+ * @param {*} [options] Override http request option.
2241
+ * @throws {RequiredError}
2242
+ * @memberof PremiumInvoicesApiInterface
2243
+ */
2244
+ premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2245
+
2161
2246
  /**
2162
2247
  * PremInvoice Apply Payments by Subscriber
2163
2248
  * @summary PremInvoice Apply Payments by Subscriber
@@ -2484,6 +2569,19 @@ export class PremiumInvoicesApi extends BaseAPI implements PremiumInvoicesApiInt
2484
2569
  return PremiumInvoicesApiFp(this.configuration).premInvoiceApplyPaymentHeaderAdjustment(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(this.axios, this.basePath));
2485
2570
  }
2486
2571
 
2572
+ /**
2573
+ * PremInvoice Apply Payments for Self-Admin
2574
+ * @summary PremInvoice Apply Payments for Self-Admin
2575
+ * @param {string} vbasoftwareDatabase Target database
2576
+ * @param {PremInvoiceApplyPayment} premInvoiceApplyPayment
2577
+ * @param {*} [options] Override http request option.
2578
+ * @throws {RequiredError}
2579
+ * @memberof PremiumInvoicesApi
2580
+ */
2581
+ public premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase: string, premInvoiceApplyPayment: PremInvoiceApplyPayment, options?: RawAxiosRequestConfig) {
2582
+ return PremiumInvoicesApiFp(this.configuration).premInvoiceApplyPaymentSelfAdmin(vbasoftwareDatabase, premInvoiceApplyPayment, options).then((request) => request(this.axios, this.basePath));
2583
+ }
2584
+
2487
2585
  /**
2488
2586
  * PremInvoice Apply Payments by Subscriber
2489
2587
  * @summary PremInvoice Apply Payments by Subscriber
@@ -42,12 +42,12 @@ export const SupportApiAxiosParamCreator = function (configuration?: Configurati
42
42
  * @param {string} targetVbasoftwareClientId Target Client ID
43
43
  * @param {string} targetVbasoftwareClientCode Target Client Code
44
44
  * @param {string} targetVbasoftwareDatabase Target Client Database
45
- * @param {string} userIdToClone Client User ID to Clone
46
- * @param {boolean} makeAdmin Make Administrator
45
+ * @param {string} [userIdToClone] Client User ID to Clone
46
+ * @param {boolean} [makeAdmin] Make Administrator
47
47
  * @param {*} [options] Override http request option.
48
48
  * @throws {RequiredError}
49
49
  */
50
- createSupportUser: async (vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, userIdToClone: string, makeAdmin: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
50
+ createSupportUser: async (vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, userIdToClone?: string, makeAdmin?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
51
51
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
52
52
  assertParamExists('createSupportUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
53
53
  // verify required parameter 'targetVbasoftwareClientId' is not null or undefined
@@ -56,10 +56,6 @@ export const SupportApiAxiosParamCreator = function (configuration?: Configurati
56
56
  assertParamExists('createSupportUser', 'targetVbasoftwareClientCode', targetVbasoftwareClientCode)
57
57
  // verify required parameter 'targetVbasoftwareDatabase' is not null or undefined
58
58
  assertParamExists('createSupportUser', 'targetVbasoftwareDatabase', targetVbasoftwareDatabase)
59
- // verify required parameter 'userIdToClone' is not null or undefined
60
- assertParamExists('createSupportUser', 'userIdToClone', userIdToClone)
61
- // verify required parameter 'makeAdmin' is not null or undefined
62
- assertParamExists('createSupportUser', 'makeAdmin', makeAdmin)
63
59
  const localVarPath = `/support/client-users`;
64
60
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
65
61
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -288,12 +284,12 @@ export const SupportApiFp = function(configuration?: Configuration) {
288
284
  * @param {string} targetVbasoftwareClientId Target Client ID
289
285
  * @param {string} targetVbasoftwareClientCode Target Client Code
290
286
  * @param {string} targetVbasoftwareDatabase Target Client Database
291
- * @param {string} userIdToClone Client User ID to Clone
292
- * @param {boolean} makeAdmin Make Administrator
287
+ * @param {string} [userIdToClone] Client User ID to Clone
288
+ * @param {boolean} [makeAdmin] Make Administrator
293
289
  * @param {*} [options] Override http request option.
294
290
  * @throws {RequiredError}
295
291
  */
296
- async createSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, userIdToClone: string, makeAdmin: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsersVBAResponse>> {
292
+ async createSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, userIdToClone?: string, makeAdmin?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsersVBAResponse>> {
297
293
  const localVarAxiosArgs = await localVarAxiosParamCreator.createSupportUser(vbasoftwareDatabase, targetVbasoftwareClientId, targetVbasoftwareClientCode, targetVbasoftwareDatabase, userIdToClone, makeAdmin, options);
298
294
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
299
295
  const localVarOperationServerBasePath = operationServerMap['SupportApi.createSupportUser']?.[localVarOperationServerIndex]?.url;
@@ -360,12 +356,12 @@ export const SupportApiFactory = function (configuration?: Configuration, basePa
360
356
  * @param {string} targetVbasoftwareClientId Target Client ID
361
357
  * @param {string} targetVbasoftwareClientCode Target Client Code
362
358
  * @param {string} targetVbasoftwareDatabase Target Client Database
363
- * @param {string} userIdToClone Client User ID to Clone
364
- * @param {boolean} makeAdmin Make Administrator
359
+ * @param {string} [userIdToClone] Client User ID to Clone
360
+ * @param {boolean} [makeAdmin] Make Administrator
365
361
  * @param {*} [options] Override http request option.
366
362
  * @throws {RequiredError}
367
363
  */
368
- createSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, userIdToClone: string, makeAdmin: boolean, options?: RawAxiosRequestConfig): AxiosPromise<UsersVBAResponse> {
364
+ createSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, userIdToClone?: string, makeAdmin?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<UsersVBAResponse> {
369
365
  return localVarFp.createSupportUser(vbasoftwareDatabase, targetVbasoftwareClientId, targetVbasoftwareClientCode, targetVbasoftwareDatabase, userIdToClone, makeAdmin, options).then((request) => request(axios, basePath));
370
366
  },
371
367
  /**
@@ -419,13 +415,13 @@ export interface SupportApiInterface {
419
415
  * @param {string} targetVbasoftwareClientId Target Client ID
420
416
  * @param {string} targetVbasoftwareClientCode Target Client Code
421
417
  * @param {string} targetVbasoftwareDatabase Target Client Database
422
- * @param {string} userIdToClone Client User ID to Clone
423
- * @param {boolean} makeAdmin Make Administrator
418
+ * @param {string} [userIdToClone] Client User ID to Clone
419
+ * @param {boolean} [makeAdmin] Make Administrator
424
420
  * @param {*} [options] Override http request option.
425
421
  * @throws {RequiredError}
426
422
  * @memberof SupportApiInterface
427
423
  */
428
- createSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, userIdToClone: string, makeAdmin: boolean, options?: RawAxiosRequestConfig): AxiosPromise<UsersVBAResponse>;
424
+ createSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, userIdToClone?: string, makeAdmin?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<UsersVBAResponse>;
429
425
 
430
426
  /**
431
427
  * Gets the client details for the given client id and client code.
@@ -478,13 +474,13 @@ export class SupportApi extends BaseAPI implements SupportApiInterface {
478
474
  * @param {string} targetVbasoftwareClientId Target Client ID
479
475
  * @param {string} targetVbasoftwareClientCode Target Client Code
480
476
  * @param {string} targetVbasoftwareDatabase Target Client Database
481
- * @param {string} userIdToClone Client User ID to Clone
482
- * @param {boolean} makeAdmin Make Administrator
477
+ * @param {string} [userIdToClone] Client User ID to Clone
478
+ * @param {boolean} [makeAdmin] Make Administrator
483
479
  * @param {*} [options] Override http request option.
484
480
  * @throws {RequiredError}
485
481
  * @memberof SupportApi
486
482
  */
487
- public createSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, userIdToClone: string, makeAdmin: boolean, options?: RawAxiosRequestConfig) {
483
+ public createSupportUser(vbasoftwareDatabase: string, targetVbasoftwareClientId: string, targetVbasoftwareClientCode: string, targetVbasoftwareDatabase: string, userIdToClone?: string, makeAdmin?: boolean, options?: RawAxiosRequestConfig) {
488
484
  return SupportApiFp(this.configuration).createSupportUser(vbasoftwareDatabase, targetVbasoftwareClientId, targetVbasoftwareClientCode, targetVbasoftwareDatabase, userIdToClone, makeAdmin, options).then((request) => request(this.axios, this.basePath));
489
485
  }
490
486
 
@@ -0,0 +1,166 @@
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 { VBAUserStatusVBAResponse } from '../models';
26
+ /**
27
+ * UserStatusApi - axios parameter creator
28
+ * @export
29
+ */
30
+ export const UserStatusApiAxiosParamCreator = function (configuration?: Configuration) {
31
+ return {
32
+ /**
33
+ * Retrieves the current status of the user, including reminders and login status.
34
+ * @summary Get User Status
35
+ * @param {string} vbasoftwareDatabase Target database
36
+ * @param {string} userId User ID
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ getUserStatus: async (vbasoftwareDatabase: string, userId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
41
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
42
+ assertParamExists('getUserStatus', 'vbasoftwareDatabase', vbasoftwareDatabase)
43
+ // verify required parameter 'userId' is not null or undefined
44
+ assertParamExists('getUserStatus', 'userId', userId)
45
+ const localVarPath = `/users/{userId}/status`
46
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
47
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
49
+ let baseOptions;
50
+ if (configuration) {
51
+ baseOptions = configuration.baseOptions;
52
+ }
53
+
54
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
55
+ const localVarHeaderParameter = {} as any;
56
+ const localVarQueryParameter = {} as any;
57
+
58
+ // authentication apiKeyAuth required
59
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
60
+
61
+ // authentication bearerAuth required
62
+ // http bearer authentication required
63
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
64
+
65
+
66
+
67
+ if (vbasoftwareDatabase != null) {
68
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
69
+ }
70
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
71
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
73
+
74
+ return {
75
+ url: toPathString(localVarUrlObj),
76
+ options: localVarRequestOptions,
77
+ };
78
+ },
79
+ }
80
+ };
81
+
82
+ /**
83
+ * UserStatusApi - functional programming interface
84
+ * @export
85
+ */
86
+ export const UserStatusApiFp = function(configuration?: Configuration) {
87
+ const localVarAxiosParamCreator = UserStatusApiAxiosParamCreator(configuration)
88
+ return {
89
+ /**
90
+ * Retrieves the current status of the user, including reminders and login status.
91
+ * @summary Get User Status
92
+ * @param {string} vbasoftwareDatabase Target database
93
+ * @param {string} userId User ID
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ async getUserStatus(vbasoftwareDatabase: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAUserStatusVBAResponse>> {
98
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserStatus(vbasoftwareDatabase, userId, options);
99
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
100
+ const localVarOperationServerBasePath = operationServerMap['UserStatusApi.getUserStatus']?.[localVarOperationServerIndex]?.url;
101
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
102
+ },
103
+ }
104
+ };
105
+
106
+ /**
107
+ * UserStatusApi - factory interface
108
+ * @export
109
+ */
110
+ export const UserStatusApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
111
+ const localVarFp = UserStatusApiFp(configuration)
112
+ return {
113
+ /**
114
+ * Retrieves the current status of the user, including reminders and login status.
115
+ * @summary Get User Status
116
+ * @param {string} vbasoftwareDatabase Target database
117
+ * @param {string} userId User ID
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ getUserStatus(vbasoftwareDatabase: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<VBAUserStatusVBAResponse> {
122
+ return localVarFp.getUserStatus(vbasoftwareDatabase, userId, options).then((request) => request(axios, basePath));
123
+ },
124
+ };
125
+ };
126
+
127
+ /**
128
+ * UserStatusApi - interface
129
+ * @export
130
+ * @interface UserStatusApi
131
+ */
132
+ export interface UserStatusApiInterface {
133
+ /**
134
+ * Retrieves the current status of the user, including reminders and login status.
135
+ * @summary Get User Status
136
+ * @param {string} vbasoftwareDatabase Target database
137
+ * @param {string} userId User ID
138
+ * @param {*} [options] Override http request option.
139
+ * @throws {RequiredError}
140
+ * @memberof UserStatusApiInterface
141
+ */
142
+ getUserStatus(vbasoftwareDatabase: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<VBAUserStatusVBAResponse>;
143
+
144
+ }
145
+
146
+ /**
147
+ * UserStatusApi - object-oriented interface
148
+ * @export
149
+ * @class UserStatusApi
150
+ * @extends {BaseAPI}
151
+ */
152
+ export class UserStatusApi extends BaseAPI implements UserStatusApiInterface {
153
+ /**
154
+ * Retrieves the current status of the user, including reminders and login status.
155
+ * @summary Get User Status
156
+ * @param {string} vbasoftwareDatabase Target database
157
+ * @param {string} userId User ID
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ * @memberof UserStatusApi
161
+ */
162
+ public getUserStatus(vbasoftwareDatabase: string, userId: string, options?: RawAxiosRequestConfig) {
163
+ return UserStatusApiFp(this.configuration).getUserStatus(vbasoftwareDatabase, userId, options).then((request) => request(this.axios, this.basePath));
164
+ }
165
+ }
166
+
package/api.ts CHANGED
@@ -855,6 +855,7 @@ export * from './api/user-group-mappings-api';
855
855
  export * from './api/user-groups-api';
856
856
  export * from './api/user-log-types-api';
857
857
  export * from './api/user-note-access-api';
858
+ export * from './api/user-status-api';
858
859
  export * from './api/vbagateway-messaging-api';
859
860
  export * from './api/vbagateway-subscription-api';
860
861
  export * from './api/vbagateway-subscription-detail-api';
package/configuration.ts CHANGED
@@ -89,7 +89,13 @@ export class Configuration {
89
89
  this.accessToken = param.accessToken;
90
90
  this.basePath = param.basePath;
91
91
  this.serverIndex = param.serverIndex;
92
- this.baseOptions = param.baseOptions;
92
+ this.baseOptions = {
93
+ headers: {
94
+ ...param.baseOptions?.headers,
95
+ 'User-Agent': "OpenAPI-Generator/typescript-axios"
96
+ },
97
+ ...param.baseOptions
98
+ };
93
99
  this.formDataCtor = param.formDataCtor;
94
100
  }
95
101
 
@@ -203,6 +203,24 @@ export interface CoveredBenefit {
203
203
  * @memberof CoveredBenefit
204
204
  */
205
205
  'deductible_Before_CoPay'?: boolean;
206
+ /**
207
+ * Identifies whether the Benefit Code is excluded for this Plan. This allows the benefit to be on a claim preventing an error for no matching benefit and then applying a not covered ex code.
208
+ * @type {boolean}
209
+ * @memberof CoveredBenefit
210
+ */
211
+ 'excluded'?: boolean;
212
+ /**
213
+ * Indicates that an Ex Code should be applied to any service line with this Benefit Code.
214
+ * @type {boolean}
215
+ * @memberof CoveredBenefit
216
+ */
217
+ 'apply_Ex_Code'?: boolean;
218
+ /**
219
+ * If the Apply_Ex_Code flag is set, this field will contain the Ex Code to be applied.
220
+ * @type {string}
221
+ * @memberof CoveredBenefit
222
+ */
223
+ 'ex_Code'?: string | null;
206
224
  /**
207
225
  *
208
226
  * @type {Array<PlanBenefitLevel>}
package/models/index.ts CHANGED
@@ -2576,6 +2576,8 @@ export * from './vbareport';
2576
2576
  export * from './vbareport-list-vbaresponse';
2577
2577
  export * from './vbareport-vbaresponse';
2578
2578
  export * from './vbassologin-config';
2579
+ export * from './vbauser-status';
2580
+ export * from './vbauser-status-vbaresponse';
2579
2581
  export * from './verify-mfadevice-setup-request';
2580
2582
  export * from './verify-mfadevice-setup-response';
2581
2583
  export * from './verify-mfadevice-setup-response-vbaresponse';
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { PremInvoiceSelfAdmin } from './prem-invoice-self-admin';
16
19
 
17
20
  /**
18
21
  *
@@ -27,7 +30,7 @@ export interface PremInvoiceApplyPayment {
27
30
  */
28
31
  'invoice_Key': number;
29
32
  /**
30
- * Required for: ApplyPaymentSubscriber ApplyPaymentSubscriberPayorID ApplyPaymentSubscriberPlanType Not used for: ApplyPaymentHeaderAdjustment
33
+ * Required for: ApplyPaymentSubscriber ApplyPaymentSubscriberPayorID ApplyPaymentSubscriberPlanType ApplyPaymentSelfAdmin Not used for: ApplyPaymentHeaderAdjustment
31
34
  * @type {string}
32
35
  * @memberof PremInvoiceApplyPayment
33
36
  */
@@ -74,5 +77,11 @@ export interface PremInvoiceApplyPayment {
74
77
  * @memberof PremInvoiceApplyPayment
75
78
  */
76
79
  'user_ID': string;
80
+ /**
81
+ * If using the ApplyPaymentSelfAdmin process, you pass in the PremInvoiceSelfAdmins to apply the payment to. For non-self-admin invoices leave this empty
82
+ * @type {Array<PremInvoiceSelfAdmin>}
83
+ * @memberof PremInvoiceApplyPayment
84
+ */
85
+ 'premInvoiceSelfAdmins'?: Array<PremInvoiceSelfAdmin> | null;
77
86
  }
78
87
 
@@ -27,7 +27,7 @@ export interface VBAProcessPaymentFile {
27
27
  */
28
28
  'payment_File_Format_Key'?: number;
29
29
  /**
30
- * This MUST be a .csv file with the following columns (Include Headers with field name): Payment_Type - Use a value from the PremPaymentType table (can be null) Payment_Batch - Source system indicator for the payment batch (can be null) Payment_Batch_Seq - Source system indicator for the payment batch sequence (can be null) Payment_Account - The name of the account that the payment is being made from - required Payment_ID - The unique identifier for the payment - required Payment_Date - The date the payment was made in YYYY-MM-DD format - required Payment_Amount - The amount of the payment - required Payment_Name - The name of the person or entity making the payment - required Group_ID - If this payment is for the entire group, this should be the Group_ID - can be null Division_ID - If this payment is for the entire division, this should be the Division_ID - can be null Subscriber_ID - If this payment is for a specific subscriber, this should be the Subscriber_ID - can be null Payor_ID - The Payor_ID to be set on the created payments - required Account_Key - The Account_Key to be set on the created payments - required Invoice_Key - If this payment is to be applied to a specific invoice, this should be the Invoice_Key - can be null PremRate_Key - If this payment is to be applied to a specific rate, this should be the PremRate_Key - can be null PremPayment_Key - If this payment is to be applied to a specific payment, this should be the PremPayment_Key - can be null
30
+ * This MUST be a .csv file with the following columns (Include Headers with field name): <div> Payment_Type - Use a value from the PremPaymentType table (can be null) Payment_Batch - Source system indicator for the payment batch (can be null) Payment_Batch_Seq - Source system indicator for the payment batch sequence (can be null) Payment_Account - The name of the account that the payment is being made from - required Payment_ID - The unique identifier for the payment - required Payment_Date - The date the payment was made in YYYY-MM-DD format - required Payment_Amount - The amount of the payment - required Payment_Name - The name of the person or entity making the payment - required Group_ID - If this payment is for the entire group, this should be the Group_ID - can be null Division_ID - If this payment is for the entire division, this should be the Division_ID - can be null Subscriber_ID - If this payment is for a specific subscriber, this should be the Subscriber_ID - can be null Payor_ID - The Payor_ID to be set on the created payments - required Account_Key - The Account_Key to be set on the created payments - required Invoice_Key - If this payment is to be applied to a specific invoice, this should be the Invoice_Key - can be null PremRate_Key - If this payment is to be applied to a specific rate, this should be the PremRate_Key - can be null PremPayment_Key - If this payment is to be applied to a specific payment, this should be the PremPayment_Key - can be null</div>
31
31
  * @type {string}
32
32
  * @memberof VBAProcessPaymentFile
33
33
  */
@@ -0,0 +1,51 @@
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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { Debug } from './debug';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { VBAProblemDetails } from './vbaproblem-details';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { VBAUserStatus } from './vbauser-status';
25
+
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface VBAUserStatusVBAResponse
30
+ */
31
+ export interface VBAUserStatusVBAResponse {
32
+ /**
33
+ *
34
+ * @type {VBAUserStatus}
35
+ * @memberof VBAUserStatusVBAResponse
36
+ */
37
+ 'data'?: VBAUserStatus;
38
+ /**
39
+ *
40
+ * @type {VBAProblemDetails}
41
+ * @memberof VBAUserStatusVBAResponse
42
+ */
43
+ 'error'?: VBAProblemDetails;
44
+ /**
45
+ *
46
+ * @type {Debug}
47
+ * @memberof VBAUserStatusVBAResponse
48
+ */
49
+ 'debug'?: Debug;
50
+ }
51
+
@@ -0,0 +1,39 @@
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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { Event } from './event';
19
+
20
+ /**
21
+ * Represents the status of a VBA user, including reminders and login status.
22
+ * @export
23
+ * @interface VBAUserStatus
24
+ */
25
+ export interface VBAUserStatus {
26
+ /**
27
+ * Gets or sets the list of reminders for the user.
28
+ * @type {Array<Event>}
29
+ * @memberof VBAUserStatus
30
+ */
31
+ 'reminders'?: Array<Event> | null;
32
+ /**
33
+ * Gets or sets the current login status of the user. 1: LoggedIn 2: LoggedOut 3: Kicked
34
+ * @type {number}
35
+ * @memberof VBAUserStatus
36
+ */
37
+ 'loginStatus'?: number | null;
38
+ }
39
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vbasoftware/vbapi-vbasoftware-typescript-axios",
3
- "version": "1.20250117.1",
3
+ "version": "1.20250124.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"