@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20240302.1 → 1.20240913.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +202 -0
- package/api/accounting-api.ts +165 -0
- package/api/adv-accounting-api.ts +99 -0
- package/api/adv-billing-api.ts +1973 -0
- package/api/adv-claim-api.ts +1144 -0
- package/api/adv-commission-api.ts +101 -0
- package/api/adv-enrollment-api.ts +383 -0
- package/api/adv-reinsurance-api.ts +643 -0
- package/api/armor-code-ex-code-api.ts +677 -0
- package/api/billing-api.ts +165 -0
- package/api/change-data-capture-api.ts +565 -0
- package/api/claim-adjudication-api.ts +10 -120
- package/api/claim-batch-api.ts +121 -0
- package/api/claim-batch-details-api.ts +140 -0
- package/api/claim-prompt-pays-api.ts +677 -0
- package/api/claim-reprice-remove-api.ts +677 -0
- package/api/client-config-api.ts +104 -0
- package/api/commission-rate-cluster-agency-rep-api.ts +677 -0
- package/api/criteria-api.ts +97 -0
- package/api/disability-event-case-changes-api.ts +677 -0
- package/api/disability-event-deduction-changes-api.ts +677 -0
- package/api/disability-event-field-changes-api.ts +677 -0
- package/api/disability-event-fields-api.ts +677 -0
- package/api/disability-event-groups-api.ts +677 -0
- package/api/disaster-locations-api.ts +677 -0
- package/api/disasters-api.ts +677 -0
- package/api/enrollment-waiting-period-subscribers-api.ts +17 -8
- package/api/fee-schedules-api.ts +163 -0
- package/api/gender-api.ts +677 -0
- package/api/grievances-api.ts +97 -0
- package/api/group-achpulls-api.ts +725 -0
- package/api/group-bill-cycle-payment-methods-api.ts +677 -0
- package/api/group-network-criterias-api.ts +31 -13
- package/api/member-address-history-api.ts +773 -0
- package/api/member-pre-ex-disclosed-diags-api.ts +773 -0
- package/api/multi-factor-auth-api.ts +731 -0
- package/api/network-profile-assignments-api.ts +846 -0
- package/api/network-profile-networks-api.ts +733 -0
- package/api/network-profiles-api.ts +677 -0
- package/api/payment-methods-api.ts +772 -0
- package/api/premium-distributions-api.ts +319 -0
- package/api/premium-invoice-subscribers-api.ts +291 -0
- package/api/premium-invoices-api.ts +1577 -219
- package/api/premium-rate-add-ons-api.ts +725 -0
- package/api/premium-rates-api.ts +119 -0
- package/api/reinsurance-conditional-specific-api.ts +725 -0
- package/api/reinsurance-conditional-specific-detail-api.ts +725 -0
- package/api/reinsurance-contract-transactions-api.ts +728 -1
- package/api/reinsurance-contracts-api.ts +126 -0
- package/api/reinsurance-domestic-claims-criteria-api.ts +725 -0
- package/api/security-field-set-details-api.ts +733 -0
- package/api/security-field-sets-api.ts +677 -0
- package/api/security-field-user-groups-api.ts +677 -0
- package/api/security-field-users-api.ts +677 -0
- package/api/security-fields-api.ts +677 -0
- package/api/subscriber-enrollments-api.ts +111 -0
- package/api/subscriber-sponsors-api.ts +677 -0
- package/api/subscriber-writing-agents-api.ts +725 -0
- package/api/subscribers-api.ts +321 -0
- package/api/tolerances-api.ts +677 -0
- package/api/user-account-api.ts +1437 -0
- package/api/user-api.ts +307 -0
- package/api/user-field-security-api.ts +191 -0
- package/api/user-group-mappings-api.ts +101 -5
- package/api.ts +40 -0
- package/models/adjudicate-benefit-match-detail-list-vbaresponse.ts +45 -0
- package/models/adjudicate-benefit-match-detail.ts +198 -0
- package/models/armor-code-ex-code-list-vbaresponse.ts +45 -0
- package/models/armor-code-ex-code-vbaresponse.ts +45 -0
- package/models/armor-code-ex-code.ts +66 -0
- package/models/auth-reference.ts +24 -0
- package/models/auth-review-level.ts +24 -0
- package/models/auth-review-severity.ts +24 -0
- package/models/auth-review-status.ts +24 -0
- package/models/auth-review-type.ts +24 -0
- package/models/auth-type-place.ts +24 -0
- package/models/auth-type.ts +26 -2
- package/models/benefit-category.ts +24 -0
- package/models/benefit-diag-codes.ts +26 -2
- package/models/benefit-place.ts +25 -1
- package/models/benefit-procedures.ts +25 -1
- package/models/benefit-provider-types.ts +25 -1
- package/models/benefit-specialty.ts +25 -1
- package/models/billing-basis.ts +24 -0
- package/models/billing-refund.ts +126 -0
- package/models/boolean-vbaresponse.ts +44 -0
- package/models/brokerage.ts +24 -0
- package/models/call-tracking-call-destination.ts +25 -1
- package/models/call-tracking-call-status.ts +25 -1
- package/models/call-tracking-call-type.ts +25 -1
- package/models/call-tracking-caller-type.ts +25 -1
- package/models/call-tracking-diag-codes.ts +4 -4
- package/models/capitation-adjustment-reason.ts +24 -0
- package/models/capitation-adjustment-type.ts +24 -0
- package/models/capitation-adjustment.ts +25 -1
- package/models/capitation-category.ts +24 -0
- package/models/capitation-plan-rate.ts +27 -3
- package/models/capitation-service-plan.ts +25 -1
- package/models/capitation-service-tin.ts +25 -1
- package/models/capitation-service.ts +27 -3
- package/models/capitation-transaction.ts +25 -1
- package/models/capitation-type.ts +24 -0
- package/models/capitation.ts +25 -1
- package/models/check-batch.ts +1 -1
- package/models/check-edit-set-detail.ts +28 -4
- package/models/check-status.ts +24 -0
- package/models/check-type.ts +24 -0
- package/models/checks-detail.ts +26 -2
- package/models/checks.ts +26 -2
- package/models/claim-adjustment-config.ts +121 -0
- package/models/claim-batch-detail.ts +53 -47
- package/models/claim-batch.ts +202 -202
- package/models/claim-custom-ex-code-rule.ts +52 -22
- package/models/claim-detail.ts +54 -48
- package/models/claim-pre-batch.ts +205 -205
- package/models/claim-prompt-pay-list-vbaresponse.ts +45 -0
- package/models/claim-prompt-pay-vbaresponse.ts +45 -0
- package/models/claim-prompt-pay.ts +90 -0
- package/models/claim-reprice-remove-list-vbaresponse.ts +45 -0
- package/models/claim-reprice-remove-vbaresponse.ts +45 -0
- package/models/claim-reprice-remove.ts +108 -0
- package/models/class.ts +24 -0
- package/models/cliacertificate.ts +25 -1
- package/models/cobraplan-criteria.ts +36 -0
- package/models/commchecks.ts +180 -0
- package/models/commission-activity.ts +11 -11
- package/models/commission-adjustment.ts +2 -2
- package/models/commission-agency-rep.ts +22 -16
- package/models/commission-agency.ts +25 -19
- package/models/commission-rate-cluster-agency-rep-list-vbaresponse.ts +45 -0
- package/models/commission-rate-cluster-agency-rep-vbaresponse.ts +45 -0
- package/models/commission-rate-cluster-agency-rep.ts +102 -0
- package/models/commission-rate-cluster.ts +11 -5
- package/models/commission-rate.ts +11 -11
- package/models/commission.ts +66 -54
- package/models/communication-method.ts +24 -0
- package/models/company-data.ts +149 -107
- package/models/copy-group-division.ts +4 -10
- package/models/cost-contain-zelis-ex-code.ts +2 -2
- package/models/country.ts +24 -0
- package/models/county.ts +24 -0
- package/models/coverage-type.ts +26 -2
- package/models/cred-amount.ts +25 -1
- package/models/cred-attestation-method.ts +25 -1
- package/models/cred-attestation-question.ts +29 -5
- package/models/cred-attestation-source.ts +25 -1
- package/models/cred-attestation-type.ts +25 -1
- package/models/cred-carrier.ts +25 -1
- package/models/cred-certification.ts +25 -1
- package/models/cred-confidential.ts +25 -1
- package/models/cred-contract.ts +25 -1
- package/models/cred-date.ts +25 -1
- package/models/cred-education-type.ts +25 -1
- package/models/cred-license-type.ts +25 -1
- package/models/cred-option.ts +25 -1
- package/models/cred-practice-category.ts +25 -1
- package/models/cred-practice-type.ts +26 -2
- package/models/cred-quality.ts +25 -1
- package/models/cred-service.ts +25 -1
- package/models/cred-status.ts +24 -0
- package/models/cred-technique.ts +25 -1
- package/models/cred-termination.ts +26 -2
- package/models/cred-type.ts +25 -1
- package/models/criteria-detail.ts +1 -1
- package/models/currency.ts +24 -0
- package/models/diagnostic-code-group.ts +24 -0
- package/models/disability-event-case-changed-list-vbaresponse.ts +45 -0
- package/models/disability-event-case-changed-vbaresponse.ts +45 -0
- package/models/disability-event-case-changed.ts +78 -0
- package/models/disability-event-deduction-changed-list-vbaresponse.ts +45 -0
- package/models/disability-event-deduction-changed-vbaresponse.ts +45 -0
- package/models/disability-event-deduction-changed.ts +72 -0
- package/models/disability-event-field-changed-list-vbaresponse.ts +45 -0
- package/models/disability-event-field-changed-vbaresponse.ts +45 -0
- package/models/disability-event-field-changed.ts +72 -0
- package/models/disability-event-field-list-vbaresponse.ts +45 -0
- package/models/disability-event-field-vbaresponse.ts +45 -0
- package/models/disability-event-field.ts +60 -0
- package/models/disability-event-group-list-vbaresponse.ts +45 -0
- package/models/disability-event-group-vbaresponse.ts +45 -0
- package/models/disability-event-group.ts +78 -0
- package/models/disable-mfasetup-request.ts +30 -0
- package/models/disaster-list-vbaresponse.ts +45 -0
- package/models/disaster-location-list-vbaresponse.ts +45 -0
- package/models/disaster-location-vbaresponse.ts +45 -0
- package/models/disaster-location.ts +78 -0
- package/models/disaster-vbaresponse.ts +45 -0
- package/models/disaster.ts +84 -0
- package/models/drgcluster.ts +24 -0
- package/models/drgcodes.ts +24 -0
- package/models/edicode-map.ts +25 -1
- package/models/eligibility-status.ts +26 -2
- package/models/enable-mfasetup-request.ts +30 -0
- package/models/enrollment-reenroll.ts +13 -0
- package/models/enrollment-waiting-period-by-hire-date-list-vbaresponse.ts +45 -0
- package/models/enrollment-waiting-period-by-hire-date.ts +48 -0
- package/models/ethnicity-code.ts +24 -0
- package/models/event-arg.ts +25 -1
- package/models/event-schedule.ts +35 -11
- package/models/event.ts +28 -4
- package/models/expense-type.ts +24 -0
- package/models/external-id.ts +24 -0
- package/models/fee-sched-detail.ts +1 -1
- package/models/fee-sched-modifier-discount.ts +1 -1
- package/models/fee-sched-procedure-group-adjust.ts +1 -1
- package/models/fee-sched-provider-type-discount.ts +1 -1
- package/models/fee-sched.ts +25 -1
- package/models/file-detail.ts +42 -0
- package/models/flex-issuance-type.ts +24 -0
- package/models/flex-vendor-card-status.ts +24 -0
- package/models/flex-vendor-purse-status.ts +24 -0
- package/models/flex-vendor.ts +24 -0
- package/models/forfeiture-status.ts +25 -1
- package/models/funding-account-category.ts +24 -0
- package/models/funding-account-signature.ts +28 -4
- package/models/funding-account-type.ts +24 -0
- package/models/funding-account.ts +48 -48
- package/models/funding-deposit.ts +25 -1
- package/models/funding-issue-type.ts +24 -0
- package/models/funding-process-claim-refund.ts +66 -0
- package/models/funding-reconcile-disbursed.ts +27 -3
- package/models/funding-reconcile-on-statement.ts +27 -3
- package/models/funding-reconcile-received.ts +27 -3
- package/models/funding-reconcile-status.ts +24 -0
- package/models/funding-reconcile.ts +28 -4
- package/models/funding-reference.ts +26 -2
- package/models/funding-request-claim.ts +28 -4
- package/models/funding-request-status.ts +24 -0
- package/models/funding-request-type.ts +24 -0
- package/models/funding-request.ts +1 -1
- package/models/funding-statement-format.ts +25 -1
- package/models/funding-status.ts +24 -0
- package/models/funding-type.ts +24 -0
- package/models/gender-list-vbaresponse.ts +45 -0
- package/models/gender-vbaresponse.ts +45 -0
- package/models/gender.ts +66 -0
- package/models/generate-prem-invoice.ts +90 -0
- package/models/generate-reins-transaction-vbaresponse.ts +45 -0
- package/models/generate-reins-transaction.ts +42 -0
- package/models/get-prem-distribution-list-result-list-vbaresponse.ts +45 -0
- package/models/get-prem-distribution-list-result.ts +78 -0
- package/models/get-prem-invoice-subscriber-list-result-list-vbaresponse.ts +45 -0
- package/models/get-prem-invoice-subscriber-list-result.ts +102 -0
- package/models/grievance-admin-change-type.ts +25 -1
- package/models/grievance-category.ts +25 -1
- package/models/grievance-issue-type.ts +25 -1
- package/models/grievance-resolution-type.ts +25 -1
- package/models/grievance-status.ts +25 -1
- package/models/grievance-type.ts +25 -1
- package/models/grievance.ts +25 -1
- package/models/group-account-period.ts +25 -1
- package/models/group-account-report.ts +25 -1
- package/models/group-achpull-list-vbaresponse.ts +45 -0
- package/models/group-achpull-vbaresponse.ts +45 -0
- package/models/group-achpull.ts +60 -0
- package/models/group-bill-cycle-payment-method-list-vbaresponse.ts +45 -0
- package/models/group-bill-cycle-payment-method-vbaresponse.ts +45 -0
- package/models/group-bill-cycle-payment-method.ts +78 -0
- package/models/group-change-coverage-start.ts +6 -0
- package/models/group-class.ts +42 -18
- package/models/group-company-data-ex-code-override.ts +25 -1
- package/models/group-contract-plan-premium.ts +28 -4
- package/models/group-contract-plan-rider-external-id.ts +25 -1
- package/models/group-contract-plan-rider.ts +27 -3
- package/models/group-contract-plan.ts +41 -17
- package/models/group-contract-tier.ts +25 -1
- package/models/group-contract.ts +28 -4
- package/models/group-division-captive.ts +24 -0
- package/models/group-division-idcode.ts +24 -0
- package/models/group-division.ts +16 -16
- package/models/group-flex-create.ts +31 -7
- package/models/group-flex-schedule.ts +26 -2
- package/models/group-flex.ts +27 -3
- package/models/group-network-add-on.ts +28 -4
- package/models/group-network.ts +26 -2
- package/models/group-payor-account-benefit.ts +24 -0
- package/models/group-payor-account.ts +26 -2
- package/models/group-plan-year-auto-prior-accum.ts +25 -1
- package/models/group-plan-year.ts +29 -5
- package/models/group-price-adjust.ts +25 -1
- package/models/group-self-admin.ts +27 -3
- package/models/group-student-age.ts +25 -1
- package/models/group-ucpercent-claim-type.ts +24 -0
- package/models/group-ucpercent-criteria.ts +3 -3
- package/models/group-ucpercent.ts +26 -2
- package/models/group-vbaplan-type-subscriber-id.ts +25 -1
- package/models/group-volume.ts +27 -3
- package/models/groups-participation-incentive.ts +25 -1
- package/models/groups.ts +21 -21
- package/models/hipaaadjustment-code.ts +24 -0
- package/models/hipaabenefit-code.ts +24 -0
- package/models/hipaaclaim-status-category-code.ts +24 -0
- package/models/hipaaclaim-status-code.ts +24 -0
- package/models/hipaaplan-type.ts +24 -0
- package/models/hipaareason.ts +24 -0
- package/models/hipaarelationship.ts +24 -0
- package/models/hipaatier.ts +24 -0
- package/models/idcard-request-type.ts +24 -0
- package/models/idcode-type.ts +8 -2
- package/models/idtype.ts +24 -0
- package/models/index.ts +162 -0
- package/models/invoice-reason.ts +25 -1
- package/models/ipwhitelist.ts +1 -1
- package/models/job-execution-meta-data.ts +25 -1
- package/models/job-execution.ts +25 -1
- package/models/job-type.ts +24 -0
- package/models/job.ts +24 -0
- package/models/json-node-options.ts +7 -1
- package/models/languages.ts +24 -0
- package/models/life-claim-advisor.ts +256 -0
- package/models/mem-enrollment-plan.ts +3 -3
- package/models/mem-enrollment-rider.ts +4 -4
- package/models/member-account-plan-payment.ts +26 -2
- package/models/member-account-plan.ts +25 -1
- package/models/member-account.ts +27 -3
- package/models/member-accum.ts +54 -30
- package/models/member-address-history-list-vbaresponse.ts +45 -0
- package/models/member-address-history-vbaresponse.ts +45 -0
- package/models/member-address-history.ts +216 -0
- package/models/member-address.ts +3 -3
- package/models/member-beneficiary-plan.ts +24 -0
- package/models/member-care-alert.ts +25 -1
- package/models/member-case-head.ts +25 -1
- package/models/member-class.ts +25 -1
- package/models/member-cobsavings.ts +25 -1
- package/models/member-college.ts +25 -1
- package/models/member-eligibility-status.ts +25 -1
- package/models/member-idcard-printed.ts +26 -2
- package/models/member-insurance.ts +38 -2
- package/models/member-network.ts +25 -1
- package/models/member-occupation.ts +25 -1
- package/models/member-payment.ts +27 -3
- package/models/member-pre-ex-diag.ts +25 -1
- package/models/member-pre-ex-disclosed-diag-list-vbaresponse.ts +45 -0
- package/models/member-pre-ex-disclosed-diag-vbaresponse.ts +45 -0
- package/models/member-pre-ex-disclosed-diag.ts +90 -0
- package/models/member-provider-alternate.ts +25 -1
- package/models/member-provider.ts +26 -2
- package/models/member-tax.ts +40 -10
- package/models/member-tooth-ex-code.ts +25 -1
- package/models/member-tooth.ts +28 -4
- package/models/member-vbaplan-type-id.ts +24 -0
- package/models/mfadevice-setup-request.ts +30 -0
- package/models/mfadevice-setup-response-vbaresponse.ts +45 -0
- package/models/mfadevice-setup-response.ts +36 -0
- package/models/network-procedure-cluster.ts +5 -5
- package/models/network-profile-assign-list-vbaresponse.ts +45 -0
- package/models/network-profile-assign-vbaresponse.ts +45 -0
- package/models/network-profile-assign.ts +78 -0
- package/models/network-profile-list-vbaresponse.ts +45 -0
- package/models/network-profile-network-list-vbaresponse.ts +45 -0
- package/models/network-profile-network-vbaresponse.ts +45 -0
- package/models/network-profile-network.ts +132 -0
- package/models/network-profile-vbaresponse.ts +45 -0
- package/models/network-profile.ts +66 -0
- package/models/networks.ts +24 -0
- package/models/note-category.ts +25 -1
- package/models/note-note-attachment.ts +38 -0
- package/models/note-priority.ts +24 -0
- package/models/note-reference.ts +26 -2
- package/models/note-source.ts +26 -2
- package/models/note-type.ts +24 -0
- package/models/payee.ts +2 -2
- package/models/payment-method-list-vbaresponse.ts +45 -0
- package/models/payment-method-vbaresponse.ts +45 -0
- package/models/payment-method.ts +72 -0
- package/models/payor-account-signature.ts +29 -5
- package/models/payor-account.ts +27 -3
- package/models/payor.ts +25 -1
- package/models/pbmtype.ts +24 -0
- package/models/place-codes.ts +26 -2
- package/models/plan-added-accum.ts +24 -0
- package/models/plan-auth-penalty.ts +26 -2
- package/models/plan-ben-code-diag-code.ts +26 -2
- package/models/plan-ben-code-place.ts +25 -1
- package/models/plan-ben-code-proc-code.ts +25 -1
- package/models/plan-ben-code-provider-type.ts +25 -1
- package/models/plan-ben-code-specialty.ts +25 -1
- package/models/plan-benefit-level.ts +26 -2
- package/models/plan-benefit-rate.ts +1 -1
- package/models/plan-benefits-diagnosis.ts +25 -1
- package/models/plan-benefits-modifiers.ts +24 -0
- package/models/plan-benefits-place-auth.ts +25 -1
- package/models/plan-benefits-place-co-ins.ts +26 -2
- package/models/plan-benefits-place-co-pay.ts +28 -4
- package/models/plan-benefits-place.ts +24 -0
- package/models/plan-benefits-procedures.ts +24 -0
- package/models/plan-benefits.ts +68 -32
- package/models/plan-diagnosis-age.ts +26 -2
- package/models/plan-display-type.ts +24 -0
- package/models/plan-display.ts +25 -1
- package/models/plan-lineage-detail.ts +26 -2
- package/models/plan-lineage.ts +24 -0
- package/models/plan-maximum-procedure.ts +26 -2
- package/models/plan-maximum.ts +26 -2
- package/models/plan-modifier.ts +27 -3
- package/models/plan-pre-ex.ts +5 -5
- package/models/plan-procedure-age-modifier.ts +27 -3
- package/models/plan-procedure-age.ts +27 -3
- package/models/plan-relationship-age.ts +27 -3
- package/models/plan-type.ts +22 -22
- package/models/plans.ts +56 -20
- package/models/policy-status.ts +25 -1
- package/models/practice-type.ts +24 -0
- package/models/prem-invoice-apply-payment.ts +78 -0
- package/models/prem-invoice-generate-inv-list-list-vbaresponse.ts +45 -0
- package/models/prem-invoice-generate-inv-list-result-list-vbaresponse.ts +45 -0
- package/models/prem-invoice-generate-inv-list-result.ts +138 -0
- package/models/prem-invoice-generate-inv-list.ts +138 -0
- package/models/prem-invoice-generate-self-admin-inv-list-list-vbaresponse.ts +45 -0
- package/models/prem-invoice-generate-self-admin-inv-list.ts +144 -0
- package/models/prem-invoice.ts +6 -6
- package/models/prem-payment-file-format.ts +2 -2
- package/models/prem-rate-add-on-list-vbaresponse.ts +45 -0
- package/models/prem-rate-add-on-vbaresponse.ts +45 -0
- package/models/prem-rate-add-on.ts +78 -0
- package/models/prem-rate-type.ts +3 -3
- package/models/prem-rate.ts +38 -14
- package/models/procedure-category.ts +26 -2
- package/models/procedure-code.ts +26 -2
- package/models/procedure-group.ts +25 -1
- package/models/provider-account.ts +27 -3
- package/models/provider-affiliation.ts +25 -1
- package/models/provider-alternate.ts +25 -1
- package/models/provider-apc.ts +27 -3
- package/models/provider-benefit-admin.ts +26 -2
- package/models/provider-cred-amount.ts +27 -3
- package/models/provider-cred-attestation.ts +27 -3
- package/models/provider-cred-certification.ts +27 -3
- package/models/provider-cred-contract.ts +26 -2
- package/models/provider-cred-county.ts +25 -1
- package/models/provider-cred-date.ts +27 -3
- package/models/provider-cred-education.ts +27 -3
- package/models/provider-cred-hours.ts +26 -2
- package/models/provider-cred-hyperlink.ts +26 -2
- package/models/provider-cred-license.ts +26 -2
- package/models/provider-cred-malpractice.ts +26 -2
- package/models/provider-cred-option.ts +26 -2
- package/models/provider-cred-practice-detail.ts +26 -2
- package/models/provider-cred-practice-office.ts +25 -1
- package/models/provider-cred-quality.ts +26 -2
- package/models/provider-cred-service.ts +26 -2
- package/models/provider-cred-technique.ts +26 -2
- package/models/provider-cred-termination.ts +26 -2
- package/models/provider-cred.ts +27 -3
- package/models/provider-drg.ts +28 -4
- package/models/provider-languages.ts +26 -2
- package/models/provider-network-modifier.ts +25 -1
- package/models/provider-network.ts +26 -2
- package/models/provider-payee.ts +9 -9
- package/models/provider-per-diem.ts +30 -6
- package/models/provider-rate-adjust.ts +27 -3
- package/models/provider-suffix.ts +24 -0
- package/models/provider-taxonomy.ts +25 -1
- package/models/provider-types.ts +25 -1
- package/models/reasons.ts +25 -1
- package/models/reins-accum.ts +26 -2
- package/models/reins-contract-conditional-specific-detail-list-vbaresponse.ts +45 -0
- package/models/reins-contract-conditional-specific-detail-vbaresponse.ts +45 -0
- package/models/reins-contract-conditional-specific-detail.ts +96 -0
- package/models/reins-contract-conditional-specific-list-vbaresponse.ts +45 -0
- package/models/reins-contract-conditional-specific-vbaresponse.ts +45 -0
- package/models/reins-contract-conditional-specific.ts +78 -0
- package/models/reins-contract-criteria-detail.ts +27 -3
- package/models/reins-contract-criteria.ts +26 -2
- package/models/reins-contract-cycle.ts +24 -0
- package/models/reins-contract-factor-criteria.ts +27 -3
- package/models/reins-contract-factor.ts +27 -3
- package/models/reins-contract-member-specific.ts +25 -1
- package/models/reins-contract-status.ts +24 -0
- package/models/reins-contract-trans-claim-detail.ts +27 -3
- package/models/reins-contract-trans-claim-status.ts +24 -0
- package/models/reins-contract-trans-claim.ts +44 -2
- package/models/reins-contract-trans-reimburse.ts +27 -3
- package/models/reins-contract-trans-status.ts +24 -0
- package/models/reins-contract-trans.ts +26 -2
- package/models/reins-contract-type.ts +24 -0
- package/models/reins-contract.ts +38 -8
- package/models/reins-domestic-claim-criteria-list-vbaresponse.ts +45 -0
- package/models/reins-domestic-claim-criteria-vbaresponse.ts +45 -0
- package/models/reins-domestic-claim-criteria.ts +78 -0
- package/models/reins-level.ts +26 -2
- package/models/relationships.ts +24 -0
- package/models/report-category.ts +24 -0
- package/models/report-definition.ts +11 -11
- package/models/report-queue-detail.ts +26 -2
- package/models/report-queue.ts +25 -1
- package/models/report-series-process-arg.ts +25 -1
- package/models/report-series-process.ts +15 -9
- package/models/report-series-step.ts +12 -12
- package/models/report-series.ts +25 -1
- package/models/report-track-priority.ts +26 -2
- package/models/report-track-received-status.ts +26 -2
- package/models/report-track-sent-status.ts +26 -2
- package/models/report-track-sent-to.ts +26 -2
- package/models/report-track-status.ts +26 -2
- package/models/search-request.ts +18 -0
- package/models/security-area-report.ts +25 -1
- package/models/security-area-user.ts +24 -0
- package/models/security-area.ts +24 -0
- package/models/security-field-list-vbaresponse.ts +45 -0
- package/models/security-field-set-detail-list-vbaresponse.ts +45 -0
- package/models/security-field-set-detail-vbaresponse.ts +45 -0
- package/models/security-field-set-detail.ts +72 -0
- package/models/security-field-set-list-vbaresponse.ts +45 -0
- package/models/security-field-set-vbaresponse.ts +45 -0
- package/models/security-field-set.ts +66 -0
- package/models/security-field-user-group-list-vbaresponse.ts +45 -0
- package/models/security-field-user-group-vbaresponse.ts +45 -0
- package/models/security-field-user-group.ts +84 -0
- package/models/security-field-user-list-vbaresponse.ts +45 -0
- package/models/security-field-user-vbaresponse.ts +45 -0
- package/models/security-field-user.ts +84 -0
- package/models/security-field-vbaresponse.ts +45 -0
- package/models/security-field.ts +72 -0
- package/models/send-to.ts +29 -5
- package/models/signature.ts +25 -1
- package/models/ssoconfig.ts +16 -10
- package/models/state-interest.ts +18 -18
- package/models/state.ts +6 -6
- package/models/sub-enrollment-plan.ts +6 -6
- package/models/sub-enrollment-rider.ts +4 -4
- package/models/sub-enrollment.ts +2 -2
- package/models/sub-payment-method.ts +3 -3
- package/models/submit-mfacode-request.ts +42 -0
- package/models/subscriber-accum.ts +54 -30
- package/models/subscriber-flex-exported.ts +26 -2
- package/models/subscriber-flex-payment.ts +25 -1
- package/models/subscriber-flex.ts +29 -5
- package/models/subscriber-forfeiture-status.ts +1 -1
- package/models/subscriber-idcode.ts +24 -0
- package/models/subscriber-idhistory.ts +13 -1
- package/models/subscriber-plan-policy.ts +24 -0
- package/models/subscriber-policy-status.ts +25 -1
- package/models/subscriber-prem-rate-split.ts +29 -5
- package/models/subscriber-reimbursement.ts +25 -1
- package/models/subscriber-sponsor-list-vbaresponse.ts +45 -0
- package/models/subscriber-sponsor-vbaresponse.ts +45 -0
- package/models/subscriber-sponsor.ts +84 -0
- package/models/subscriber-waive-premium.ts +25 -1
- package/models/subscriber-writing-agent-list-vbaresponse.ts +45 -0
- package/models/subscriber-writing-agent-vbaresponse.ts +45 -0
- package/models/subscriber-writing-agent.ts +90 -0
- package/models/subscribers.ts +1 -1
- package/models/suffix.ts +24 -0
- package/models/suspense-claim-list.ts +228 -0
- package/models/tax-filing-status.ts +26 -2
- package/models/taxonomy-group-detail.ts +25 -1
- package/models/taxonomy-group.ts +24 -0
- package/models/taxonomy.ts +25 -1
- package/models/timely-filing.ts +26 -2
- package/models/tolerance-list-vbaresponse.ts +45 -0
- package/models/tolerance-vbaresponse.ts +45 -0
- package/models/tolerance.ts +72 -0
- package/models/tooth-action.ts +24 -0
- package/models/tooth-chart-type.ts +24 -0
- package/models/tooth-procedure.ts +25 -1
- package/models/tooth-quadrant.ts +24 -0
- package/models/treatment-type.ts +24 -0
- package/models/user-amount-procedure.ts +26 -2
- package/models/user-amount.ts +25 -1
- package/models/user-group.ts +25 -1
- package/models/user-note-access.ts +26 -2
- package/models/userfieldsecurity.ts +66 -0
- package/models/userfieldsecuritylist-vbaresponse.ts +45 -0
- package/models/users.ts +24 -12
- package/models/usual-customary-rate-all-percentile-list-vbaresponse.ts +45 -0
- package/models/usual-customary-rate-all-percentile.ts +120 -0
- package/models/vbaapp-info-vbaresponse.ts +45 -0
- package/models/vbaapp-info.ts +61 -0
- package/models/vbacdcmembers-list-vbaresponse.ts +45 -0
- package/models/vbacdcmembers.ts +336 -0
- package/models/vbacdcsubenrollment-list-vbaresponse.ts +45 -0
- package/models/vbacdcsubenrollment-plan-list-vbaresponse.ts +45 -0
- package/models/vbacdcsubenrollment-plan.ts +168 -0
- package/models/vbacdcsubenrollment-rider-list-vbaresponse.ts +45 -0
- package/models/vbacdcsubenrollment-rider.ts +210 -0
- package/models/vbacdcsubenrollment.ts +132 -0
- package/models/vbacdcsubscribers-list-vbaresponse.ts +45 -0
- package/models/vbacdcsubscribers.ts +246 -0
- package/models/vbagateway-subscription-detail.ts +26 -2
- package/models/vbagateway-subscription.ts +27 -3
- package/models/vbainterface-idcode.ts +31 -1
- package/models/vbainterface-map-type.ts +31 -1
- package/models/vbainterface-status.ts +24 -0
- package/models/vbainterface-type.ts +24 -0
- package/models/vbainterface-vendor.ts +24 -0
- package/models/vbainterface.ts +43 -1
- package/models/vbaprem-invoice-subscriber-detail-adjustment-list-vbaresponse.ts +45 -0
- package/models/vbaprem-invoice-subscriber-detail-adjustment.ts +180 -0
- package/models/vbaprem-invoice-subscriber-detail-list-vbaresponse.ts +45 -0
- package/models/vbaprem-invoice-subscriber-detail.ts +180 -0
- package/models/vbaprocess-log.ts +26 -2
- package/models/vbaprocess-parameter.ts +27 -3
- package/models/vbaprocess.ts +25 -1
- package/models/vbareins-contract-trans-amount-vbaresponse.ts +45 -0
- package/models/vbareins-contract-trans-amount.ts +198 -0
- package/models/vbareins-contract-trans-claim-list-vbaresponse.ts +45 -0
- package/models/vbareins-contract-trans-claim.ts +168 -0
- package/models/vbareins-contract-trans-reimburse-list-vbaresponse.ts +45 -0
- package/models/vbareins-contract-trans-reimburse.ts +84 -0
- package/models/verify-mfadevice-setup-request.ts +42 -0
- package/models/verify-mfadevice-setup-response-vbaresponse.ts +45 -0
- package/models/verify-mfadevice-setup-response.ts +30 -0
- package/models/workflow-auth.ts +54 -0
- package/models/workflow-check.ts +54 -0
- package/models/workflow-detail.ts +25 -1
- package/models/workflow-enrollment.ts +60 -0
- package/models/workflow-processing.ts +21 -0
- package/models/workflow-task-user.ts +29 -5
- package/models/workflow-task.ts +26 -2
- package/models/workflow-type-task-option.ts +25 -1
- package/models/workflow-type.ts +24 -0
- package/models/workflow-user.ts +25 -1
- package/models/workflow.ts +26 -2
- package/models/zip-codes.ts +24 -0
- package/package.json +3 -3
|
@@ -0,0 +1,1437 @@
|
|
|
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 globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { StringVBAResponse } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { UserAuthenticationResponseVBAResponse } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { UserChangeTempPasswordRequest } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UserChangeTempPasswordResponseVBAResponse } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { UserConfirmForgotPasswordRequest } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { UserConfirmForgotPasswordResponseVBAResponse } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
import { UserForgotPasswordRequest } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
import { UserForgotPasswordResponseVBAResponse } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
import { UserResetPasswordRequest } from '../models';
|
|
41
|
+
// @ts-ignore
|
|
42
|
+
import { UsersVBAResponse } from '../models';
|
|
43
|
+
/**
|
|
44
|
+
* UserAccountApi - axios parameter creator
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export const UserAccountApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
48
|
+
return {
|
|
49
|
+
/**
|
|
50
|
+
* Admin request to disable a User.
|
|
51
|
+
* @summary Admin Disable User
|
|
52
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
53
|
+
* @param {string} userID User ID
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
adminDisableUser: async (vbasoftwareDatabase: string, userID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
59
|
+
assertParamExists('adminDisableUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
60
|
+
// verify required parameter 'userID' is not null or undefined
|
|
61
|
+
assertParamExists('adminDisableUser', 'userID', userID)
|
|
62
|
+
const localVarPath = `/users/{userID}/admin-disable`
|
|
63
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
64
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66
|
+
let baseOptions;
|
|
67
|
+
if (configuration) {
|
|
68
|
+
baseOptions = configuration.baseOptions;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
72
|
+
const localVarHeaderParameter = {} as any;
|
|
73
|
+
const localVarQueryParameter = {} as any;
|
|
74
|
+
|
|
75
|
+
// authentication apiKeyAuth required
|
|
76
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
77
|
+
|
|
78
|
+
// authentication bearerAuth required
|
|
79
|
+
// http bearer authentication required
|
|
80
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
81
|
+
|
|
82
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
83
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
89
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
url: toPathString(localVarUrlObj),
|
|
94
|
+
options: localVarRequestOptions,
|
|
95
|
+
};
|
|
96
|
+
},
|
|
97
|
+
/**
|
|
98
|
+
* Admin request to enable a User.
|
|
99
|
+
* @summary Admin Enable User
|
|
100
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
101
|
+
* @param {string} userID User ID
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
adminEnableUser: async (vbasoftwareDatabase: string, userID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
106
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
107
|
+
assertParamExists('adminEnableUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
108
|
+
// verify required parameter 'userID' is not null or undefined
|
|
109
|
+
assertParamExists('adminEnableUser', 'userID', userID)
|
|
110
|
+
const localVarPath = `/users/{userID}/admin-enable`
|
|
111
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
112
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
113
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
114
|
+
let baseOptions;
|
|
115
|
+
if (configuration) {
|
|
116
|
+
baseOptions = configuration.baseOptions;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
120
|
+
const localVarHeaderParameter = {} as any;
|
|
121
|
+
const localVarQueryParameter = {} as any;
|
|
122
|
+
|
|
123
|
+
// authentication apiKeyAuth required
|
|
124
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
125
|
+
|
|
126
|
+
// authentication bearerAuth required
|
|
127
|
+
// http bearer authentication required
|
|
128
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
129
|
+
|
|
130
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
131
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
137
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
139
|
+
|
|
140
|
+
return {
|
|
141
|
+
url: toPathString(localVarUrlObj),
|
|
142
|
+
options: localVarRequestOptions,
|
|
143
|
+
};
|
|
144
|
+
},
|
|
145
|
+
/**
|
|
146
|
+
* Resends a User a confirmation code.
|
|
147
|
+
* @summary Admin Resend Confirmation Code
|
|
148
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
149
|
+
* @param {string} userID User ID
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
adminResendConfirmationCode: async (vbasoftwareDatabase: string, userID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
154
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
155
|
+
assertParamExists('adminResendConfirmationCode', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
156
|
+
// verify required parameter 'userID' is not null or undefined
|
|
157
|
+
assertParamExists('adminResendConfirmationCode', 'userID', userID)
|
|
158
|
+
const localVarPath = `/users/{userID}/resend-confirmation-code`
|
|
159
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
160
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
161
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
162
|
+
let baseOptions;
|
|
163
|
+
if (configuration) {
|
|
164
|
+
baseOptions = configuration.baseOptions;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
168
|
+
const localVarHeaderParameter = {} as any;
|
|
169
|
+
const localVarQueryParameter = {} as any;
|
|
170
|
+
|
|
171
|
+
// authentication apiKeyAuth required
|
|
172
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
173
|
+
|
|
174
|
+
// authentication bearerAuth required
|
|
175
|
+
// http bearer authentication required
|
|
176
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
177
|
+
|
|
178
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
179
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
185
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
186
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
187
|
+
|
|
188
|
+
return {
|
|
189
|
+
url: toPathString(localVarUrlObj),
|
|
190
|
+
options: localVarRequestOptions,
|
|
191
|
+
};
|
|
192
|
+
},
|
|
193
|
+
/**
|
|
194
|
+
* Resends the invitation message to a user that already exists and resets the expiration on the user\'s sign-up window.
|
|
195
|
+
* @summary Admin Resend Welcome Message
|
|
196
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
197
|
+
* @param {string} userID User ID
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
adminResendWelcomeMesasge: async (vbasoftwareDatabase: string, userID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
202
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
203
|
+
assertParamExists('adminResendWelcomeMesasge', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
204
|
+
// verify required parameter 'userID' is not null or undefined
|
|
205
|
+
assertParamExists('adminResendWelcomeMesasge', 'userID', userID)
|
|
206
|
+
const localVarPath = `/users/{userID}/resend-welcome-message`
|
|
207
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
208
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
209
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
210
|
+
let baseOptions;
|
|
211
|
+
if (configuration) {
|
|
212
|
+
baseOptions = configuration.baseOptions;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
216
|
+
const localVarHeaderParameter = {} as any;
|
|
217
|
+
const localVarQueryParameter = {} as any;
|
|
218
|
+
|
|
219
|
+
// authentication apiKeyAuth required
|
|
220
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
221
|
+
|
|
222
|
+
// authentication bearerAuth required
|
|
223
|
+
// http bearer authentication required
|
|
224
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
225
|
+
|
|
226
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
227
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
233
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
234
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
235
|
+
|
|
236
|
+
return {
|
|
237
|
+
url: toPathString(localVarUrlObj),
|
|
238
|
+
options: localVarRequestOptions,
|
|
239
|
+
};
|
|
240
|
+
},
|
|
241
|
+
/**
|
|
242
|
+
* Allows a user to enter a confirmation code to reset a forgotten password.
|
|
243
|
+
* @summary Confirm Forgot Password
|
|
244
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
245
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
246
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
247
|
+
* @param {UserConfirmForgotPasswordRequest} userConfirmForgotPasswordRequest
|
|
248
|
+
* @param {*} [options] Override http request option.
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
*/
|
|
251
|
+
confirmForgotPassword: async (vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userConfirmForgotPasswordRequest: UserConfirmForgotPasswordRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
252
|
+
// verify required parameter 'vbasoftwareClientId' is not null or undefined
|
|
253
|
+
assertParamExists('confirmForgotPassword', 'vbasoftwareClientId', vbasoftwareClientId)
|
|
254
|
+
// verify required parameter 'vbasoftwareClientCode' is not null or undefined
|
|
255
|
+
assertParamExists('confirmForgotPassword', 'vbasoftwareClientCode', vbasoftwareClientCode)
|
|
256
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
257
|
+
assertParamExists('confirmForgotPassword', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
258
|
+
// verify required parameter 'userConfirmForgotPasswordRequest' is not null or undefined
|
|
259
|
+
assertParamExists('confirmForgotPassword', 'userConfirmForgotPasswordRequest', userConfirmForgotPasswordRequest)
|
|
260
|
+
const localVarPath = `/confirm-forgot-password`;
|
|
261
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
262
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
263
|
+
let baseOptions;
|
|
264
|
+
if (configuration) {
|
|
265
|
+
baseOptions = configuration.baseOptions;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
269
|
+
const localVarHeaderParameter = {} as any;
|
|
270
|
+
const localVarQueryParameter = {} as any;
|
|
271
|
+
|
|
272
|
+
// authentication apiKeyAuth required
|
|
273
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
274
|
+
|
|
275
|
+
if (vbasoftwareClientId !== undefined && vbasoftwareClientId !== null) {
|
|
276
|
+
localVarHeaderParameter['vbasoftware-client-id'] = String(vbasoftwareClientId);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
if (vbasoftwareClientCode !== undefined && vbasoftwareClientCode !== null) {
|
|
280
|
+
localVarHeaderParameter['vbasoftware-client-code'] = String(vbasoftwareClientCode);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
284
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
290
|
+
|
|
291
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
292
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
293
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
294
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userConfirmForgotPasswordRequest, localVarRequestOptions, configuration)
|
|
295
|
+
|
|
296
|
+
return {
|
|
297
|
+
url: toPathString(localVarUrlObj),
|
|
298
|
+
options: localVarRequestOptions,
|
|
299
|
+
};
|
|
300
|
+
},
|
|
301
|
+
/**
|
|
302
|
+
* Begin password recovery flow. Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user\'s password.
|
|
303
|
+
* @summary Forgot Password
|
|
304
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
305
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
306
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
307
|
+
* @param {UserForgotPasswordRequest} userForgotPasswordRequest
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
*/
|
|
311
|
+
forgotPassword: async (vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userForgotPasswordRequest: UserForgotPasswordRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
312
|
+
// verify required parameter 'vbasoftwareClientId' is not null or undefined
|
|
313
|
+
assertParamExists('forgotPassword', 'vbasoftwareClientId', vbasoftwareClientId)
|
|
314
|
+
// verify required parameter 'vbasoftwareClientCode' is not null or undefined
|
|
315
|
+
assertParamExists('forgotPassword', 'vbasoftwareClientCode', vbasoftwareClientCode)
|
|
316
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
317
|
+
assertParamExists('forgotPassword', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
318
|
+
// verify required parameter 'userForgotPasswordRequest' is not null or undefined
|
|
319
|
+
assertParamExists('forgotPassword', 'userForgotPasswordRequest', userForgotPasswordRequest)
|
|
320
|
+
const localVarPath = `/forgot-password`;
|
|
321
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
322
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
323
|
+
let baseOptions;
|
|
324
|
+
if (configuration) {
|
|
325
|
+
baseOptions = configuration.baseOptions;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
329
|
+
const localVarHeaderParameter = {} as any;
|
|
330
|
+
const localVarQueryParameter = {} as any;
|
|
331
|
+
|
|
332
|
+
// authentication apiKeyAuth required
|
|
333
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
334
|
+
|
|
335
|
+
if (vbasoftwareClientId !== undefined && vbasoftwareClientId !== null) {
|
|
336
|
+
localVarHeaderParameter['vbasoftware-client-id'] = String(vbasoftwareClientId);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
if (vbasoftwareClientCode !== undefined && vbasoftwareClientCode !== null) {
|
|
340
|
+
localVarHeaderParameter['vbasoftware-client-code'] = String(vbasoftwareClientCode);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
344
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
350
|
+
|
|
351
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
352
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
353
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
354
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userForgotPasswordRequest, localVarRequestOptions, configuration)
|
|
355
|
+
|
|
356
|
+
return {
|
|
357
|
+
url: toPathString(localVarUrlObj),
|
|
358
|
+
options: localVarRequestOptions,
|
|
359
|
+
};
|
|
360
|
+
},
|
|
361
|
+
/**
|
|
362
|
+
* Locks a specific user account to prevent access
|
|
363
|
+
* @summary Lock User Account
|
|
364
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
365
|
+
* @param {string} userID User ID
|
|
366
|
+
* @param {*} [options] Override http request option.
|
|
367
|
+
* @throws {RequiredError}
|
|
368
|
+
*/
|
|
369
|
+
lockUserAccount: async (vbasoftwareDatabase: string, userID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
370
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
371
|
+
assertParamExists('lockUserAccount', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
372
|
+
// verify required parameter 'userID' is not null or undefined
|
|
373
|
+
assertParamExists('lockUserAccount', 'userID', userID)
|
|
374
|
+
const localVarPath = `/users/{userID}/lock`
|
|
375
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
376
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
377
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
378
|
+
let baseOptions;
|
|
379
|
+
if (configuration) {
|
|
380
|
+
baseOptions = configuration.baseOptions;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
384
|
+
const localVarHeaderParameter = {} as any;
|
|
385
|
+
const localVarQueryParameter = {} as any;
|
|
386
|
+
|
|
387
|
+
// authentication apiKeyAuth required
|
|
388
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
389
|
+
|
|
390
|
+
// authentication bearerAuth required
|
|
391
|
+
// http bearer authentication required
|
|
392
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
393
|
+
|
|
394
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
395
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
401
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
402
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
403
|
+
|
|
404
|
+
return {
|
|
405
|
+
url: toPathString(localVarUrlObj),
|
|
406
|
+
options: localVarRequestOptions,
|
|
407
|
+
};
|
|
408
|
+
},
|
|
409
|
+
/**
|
|
410
|
+
* Uses the Refresh Token to obtain new JWT tokens to extend the user\'s session.
|
|
411
|
+
* @summary Refresh User Tokens
|
|
412
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
413
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
414
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
415
|
+
* @param {string} expiredIdToken Expired Id Token
|
|
416
|
+
* @param {string} refreshToken Refresh Token
|
|
417
|
+
* @param {*} [options] Override http request option.
|
|
418
|
+
* @throws {RequiredError}
|
|
419
|
+
*/
|
|
420
|
+
refreshUserTokens: async (vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, expiredIdToken: string, refreshToken: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
421
|
+
// verify required parameter 'vbasoftwareClientId' is not null or undefined
|
|
422
|
+
assertParamExists('refreshUserTokens', 'vbasoftwareClientId', vbasoftwareClientId)
|
|
423
|
+
// verify required parameter 'vbasoftwareClientCode' is not null or undefined
|
|
424
|
+
assertParamExists('refreshUserTokens', 'vbasoftwareClientCode', vbasoftwareClientCode)
|
|
425
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
426
|
+
assertParamExists('refreshUserTokens', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
427
|
+
// verify required parameter 'expiredIdToken' is not null or undefined
|
|
428
|
+
assertParamExists('refreshUserTokens', 'expiredIdToken', expiredIdToken)
|
|
429
|
+
// verify required parameter 'refreshToken' is not null or undefined
|
|
430
|
+
assertParamExists('refreshUserTokens', 'refreshToken', refreshToken)
|
|
431
|
+
const localVarPath = `/user-refresh-tokens`;
|
|
432
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
433
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
434
|
+
let baseOptions;
|
|
435
|
+
if (configuration) {
|
|
436
|
+
baseOptions = configuration.baseOptions;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
440
|
+
const localVarHeaderParameter = {} as any;
|
|
441
|
+
const localVarQueryParameter = {} as any;
|
|
442
|
+
|
|
443
|
+
// authentication apiKeyAuth required
|
|
444
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
445
|
+
|
|
446
|
+
if (vbasoftwareClientId !== undefined && vbasoftwareClientId !== null) {
|
|
447
|
+
localVarHeaderParameter['vbasoftware-client-id'] = String(vbasoftwareClientId);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
if (vbasoftwareClientCode !== undefined && vbasoftwareClientCode !== null) {
|
|
451
|
+
localVarHeaderParameter['vbasoftware-client-code'] = String(vbasoftwareClientCode);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
455
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
if (expiredIdToken !== undefined && expiredIdToken !== null) {
|
|
459
|
+
localVarHeaderParameter['expired-id-token'] = String(expiredIdToken);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
if (refreshToken !== undefined && refreshToken !== null) {
|
|
463
|
+
localVarHeaderParameter['refresh-token'] = String(refreshToken);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
469
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
470
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
471
|
+
|
|
472
|
+
return {
|
|
473
|
+
url: toPathString(localVarUrlObj),
|
|
474
|
+
options: localVarRequestOptions,
|
|
475
|
+
};
|
|
476
|
+
},
|
|
477
|
+
/**
|
|
478
|
+
* Unlocks a specific user account to grant access
|
|
479
|
+
* @summary Unlock User Account
|
|
480
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
481
|
+
* @param {string} userID User ID
|
|
482
|
+
* @param {*} [options] Override http request option.
|
|
483
|
+
* @throws {RequiredError}
|
|
484
|
+
*/
|
|
485
|
+
unlockUserAccount: async (vbasoftwareDatabase: string, userID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
486
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
487
|
+
assertParamExists('unlockUserAccount', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
488
|
+
// verify required parameter 'userID' is not null or undefined
|
|
489
|
+
assertParamExists('unlockUserAccount', 'userID', userID)
|
|
490
|
+
const localVarPath = `/users/{userID}/unlock`
|
|
491
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
492
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
493
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
494
|
+
let baseOptions;
|
|
495
|
+
if (configuration) {
|
|
496
|
+
baseOptions = configuration.baseOptions;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
500
|
+
const localVarHeaderParameter = {} as any;
|
|
501
|
+
const localVarQueryParameter = {} as any;
|
|
502
|
+
|
|
503
|
+
// authentication apiKeyAuth required
|
|
504
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
505
|
+
|
|
506
|
+
// authentication bearerAuth required
|
|
507
|
+
// http bearer authentication required
|
|
508
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
509
|
+
|
|
510
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
511
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
517
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
518
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
519
|
+
|
|
520
|
+
return {
|
|
521
|
+
url: toPathString(localVarUrlObj),
|
|
522
|
+
options: localVarRequestOptions,
|
|
523
|
+
};
|
|
524
|
+
},
|
|
525
|
+
/**
|
|
526
|
+
* Starts User Authentication
|
|
527
|
+
* @summary User Authentication
|
|
528
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
529
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
530
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
531
|
+
* @param {*} [options] Override http request option.
|
|
532
|
+
* @throws {RequiredError}
|
|
533
|
+
*/
|
|
534
|
+
userAuthentication: async (vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
535
|
+
// verify required parameter 'vbasoftwareClientId' is not null or undefined
|
|
536
|
+
assertParamExists('userAuthentication', 'vbasoftwareClientId', vbasoftwareClientId)
|
|
537
|
+
// verify required parameter 'vbasoftwareClientCode' is not null or undefined
|
|
538
|
+
assertParamExists('userAuthentication', 'vbasoftwareClientCode', vbasoftwareClientCode)
|
|
539
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
540
|
+
assertParamExists('userAuthentication', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
541
|
+
const localVarPath = `/user-authentication`;
|
|
542
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
543
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
544
|
+
let baseOptions;
|
|
545
|
+
if (configuration) {
|
|
546
|
+
baseOptions = configuration.baseOptions;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
550
|
+
const localVarHeaderParameter = {} as any;
|
|
551
|
+
const localVarQueryParameter = {} as any;
|
|
552
|
+
|
|
553
|
+
// authentication apiKeyAuth required
|
|
554
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
555
|
+
|
|
556
|
+
// authentication basicAuth required
|
|
557
|
+
// http basic authentication required
|
|
558
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
559
|
+
|
|
560
|
+
if (vbasoftwareClientId !== undefined && vbasoftwareClientId !== null) {
|
|
561
|
+
localVarHeaderParameter['vbasoftware-client-id'] = String(vbasoftwareClientId);
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
if (vbasoftwareClientCode !== undefined && vbasoftwareClientCode !== null) {
|
|
565
|
+
localVarHeaderParameter['vbasoftware-client-code'] = String(vbasoftwareClientCode);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
569
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
575
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
576
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
577
|
+
|
|
578
|
+
return {
|
|
579
|
+
url: toPathString(localVarUrlObj),
|
|
580
|
+
options: localVarRequestOptions,
|
|
581
|
+
};
|
|
582
|
+
},
|
|
583
|
+
/**
|
|
584
|
+
* User requests to change their password.
|
|
585
|
+
* @summary User Change Password
|
|
586
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
587
|
+
* @param {string} userID User ID
|
|
588
|
+
* @param {UserResetPasswordRequest} userResetPasswordRequest
|
|
589
|
+
* @param {*} [options] Override http request option.
|
|
590
|
+
* @throws {RequiredError}
|
|
591
|
+
*/
|
|
592
|
+
userChangePassword: async (vbasoftwareDatabase: string, userID: string, userResetPasswordRequest: UserResetPasswordRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
593
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
594
|
+
assertParamExists('userChangePassword', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
595
|
+
// verify required parameter 'userID' is not null or undefined
|
|
596
|
+
assertParamExists('userChangePassword', 'userID', userID)
|
|
597
|
+
// verify required parameter 'userResetPasswordRequest' is not null or undefined
|
|
598
|
+
assertParamExists('userChangePassword', 'userResetPasswordRequest', userResetPasswordRequest)
|
|
599
|
+
const localVarPath = `/users/{userID}/change-password`
|
|
600
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
601
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
602
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
603
|
+
let baseOptions;
|
|
604
|
+
if (configuration) {
|
|
605
|
+
baseOptions = configuration.baseOptions;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
609
|
+
const localVarHeaderParameter = {} as any;
|
|
610
|
+
const localVarQueryParameter = {} as any;
|
|
611
|
+
|
|
612
|
+
// authentication apiKeyAuth required
|
|
613
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
614
|
+
|
|
615
|
+
// authentication bearerAuth required
|
|
616
|
+
// http bearer authentication required
|
|
617
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
618
|
+
|
|
619
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
620
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
626
|
+
|
|
627
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
628
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
629
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
630
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userResetPasswordRequest, localVarRequestOptions, configuration)
|
|
631
|
+
|
|
632
|
+
return {
|
|
633
|
+
url: toPathString(localVarUrlObj),
|
|
634
|
+
options: localVarRequestOptions,
|
|
635
|
+
};
|
|
636
|
+
},
|
|
637
|
+
/**
|
|
638
|
+
* Changes a User\'s temporary password.
|
|
639
|
+
* @summary Change Temporary Password
|
|
640
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
641
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
642
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
643
|
+
* @param {UserChangeTempPasswordRequest} userChangeTempPasswordRequest
|
|
644
|
+
* @param {*} [options] Override http request option.
|
|
645
|
+
* @throws {RequiredError}
|
|
646
|
+
*/
|
|
647
|
+
userChangeTempPassword: async (vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userChangeTempPasswordRequest: UserChangeTempPasswordRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
648
|
+
// verify required parameter 'vbasoftwareClientId' is not null or undefined
|
|
649
|
+
assertParamExists('userChangeTempPassword', 'vbasoftwareClientId', vbasoftwareClientId)
|
|
650
|
+
// verify required parameter 'vbasoftwareClientCode' is not null or undefined
|
|
651
|
+
assertParamExists('userChangeTempPassword', 'vbasoftwareClientCode', vbasoftwareClientCode)
|
|
652
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
653
|
+
assertParamExists('userChangeTempPassword', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
654
|
+
// verify required parameter 'userChangeTempPasswordRequest' is not null or undefined
|
|
655
|
+
assertParamExists('userChangeTempPassword', 'userChangeTempPasswordRequest', userChangeTempPasswordRequest)
|
|
656
|
+
const localVarPath = `/change-temporary-password`;
|
|
657
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
658
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
659
|
+
let baseOptions;
|
|
660
|
+
if (configuration) {
|
|
661
|
+
baseOptions = configuration.baseOptions;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
665
|
+
const localVarHeaderParameter = {} as any;
|
|
666
|
+
const localVarQueryParameter = {} as any;
|
|
667
|
+
|
|
668
|
+
// authentication apiKeyAuth required
|
|
669
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
670
|
+
|
|
671
|
+
if (vbasoftwareClientId !== undefined && vbasoftwareClientId !== null) {
|
|
672
|
+
localVarHeaderParameter['vbasoftware-client-id'] = String(vbasoftwareClientId);
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
if (vbasoftwareClientCode !== undefined && vbasoftwareClientCode !== null) {
|
|
676
|
+
localVarHeaderParameter['vbasoftware-client-code'] = String(vbasoftwareClientCode);
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
680
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
686
|
+
|
|
687
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
688
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
689
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
690
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userChangeTempPasswordRequest, localVarRequestOptions, configuration)
|
|
691
|
+
|
|
692
|
+
return {
|
|
693
|
+
url: toPathString(localVarUrlObj),
|
|
694
|
+
options: localVarRequestOptions,
|
|
695
|
+
};
|
|
696
|
+
},
|
|
697
|
+
/**
|
|
698
|
+
* Admin request to reset a User\'s password. When an Administrator calls this API, the User\'s current password is invalidated and must be changed. If a user tries to sign in after the API is called, the User will get a `PasswordResetRequired` message back and should use the `forgot password` flow. In addition, if a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.
|
|
699
|
+
* @summary Admin Reset User Password
|
|
700
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
701
|
+
* @param {string} userID User ID
|
|
702
|
+
* @param {*} [options] Override http request option.
|
|
703
|
+
* @throws {RequiredError}
|
|
704
|
+
*/
|
|
705
|
+
userResetPassword: async (vbasoftwareDatabase: string, userID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
706
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
707
|
+
assertParamExists('userResetPassword', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
708
|
+
// verify required parameter 'userID' is not null or undefined
|
|
709
|
+
assertParamExists('userResetPassword', 'userID', userID)
|
|
710
|
+
const localVarPath = `/users/{userID}/admin-reset-password`
|
|
711
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
712
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
713
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
714
|
+
let baseOptions;
|
|
715
|
+
if (configuration) {
|
|
716
|
+
baseOptions = configuration.baseOptions;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
720
|
+
const localVarHeaderParameter = {} as any;
|
|
721
|
+
const localVarQueryParameter = {} as any;
|
|
722
|
+
|
|
723
|
+
// authentication apiKeyAuth required
|
|
724
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
725
|
+
|
|
726
|
+
// authentication bearerAuth required
|
|
727
|
+
// http bearer authentication required
|
|
728
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
729
|
+
|
|
730
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
731
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
737
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
738
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
739
|
+
|
|
740
|
+
return {
|
|
741
|
+
url: toPathString(localVarUrlObj),
|
|
742
|
+
options: localVarRequestOptions,
|
|
743
|
+
};
|
|
744
|
+
},
|
|
745
|
+
}
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* UserAccountApi - functional programming interface
|
|
750
|
+
* @export
|
|
751
|
+
*/
|
|
752
|
+
export const UserAccountApiFp = function(configuration?: Configuration) {
|
|
753
|
+
const localVarAxiosParamCreator = UserAccountApiAxiosParamCreator(configuration)
|
|
754
|
+
return {
|
|
755
|
+
/**
|
|
756
|
+
* Admin request to disable a User.
|
|
757
|
+
* @summary Admin Disable User
|
|
758
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
759
|
+
* @param {string} userID User ID
|
|
760
|
+
* @param {*} [options] Override http request option.
|
|
761
|
+
* @throws {RequiredError}
|
|
762
|
+
*/
|
|
763
|
+
async adminDisableUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
|
|
764
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminDisableUser(vbasoftwareDatabase, userID, options);
|
|
765
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
766
|
+
},
|
|
767
|
+
/**
|
|
768
|
+
* Admin request to enable a User.
|
|
769
|
+
* @summary Admin Enable User
|
|
770
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
771
|
+
* @param {string} userID User ID
|
|
772
|
+
* @param {*} [options] Override http request option.
|
|
773
|
+
* @throws {RequiredError}
|
|
774
|
+
*/
|
|
775
|
+
async adminEnableUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
|
|
776
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminEnableUser(vbasoftwareDatabase, userID, options);
|
|
777
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
778
|
+
},
|
|
779
|
+
/**
|
|
780
|
+
* Resends a User a confirmation code.
|
|
781
|
+
* @summary Admin Resend Confirmation Code
|
|
782
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
783
|
+
* @param {string} userID User ID
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
*/
|
|
787
|
+
async adminResendConfirmationCode(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
|
|
788
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminResendConfirmationCode(vbasoftwareDatabase, userID, options);
|
|
789
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
790
|
+
},
|
|
791
|
+
/**
|
|
792
|
+
* Resends the invitation message to a user that already exists and resets the expiration on the user\'s sign-up window.
|
|
793
|
+
* @summary Admin Resend Welcome Message
|
|
794
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
795
|
+
* @param {string} userID User ID
|
|
796
|
+
* @param {*} [options] Override http request option.
|
|
797
|
+
* @throws {RequiredError}
|
|
798
|
+
*/
|
|
799
|
+
async adminResendWelcomeMesasge(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
|
|
800
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminResendWelcomeMesasge(vbasoftwareDatabase, userID, options);
|
|
801
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
802
|
+
},
|
|
803
|
+
/**
|
|
804
|
+
* Allows a user to enter a confirmation code to reset a forgotten password.
|
|
805
|
+
* @summary Confirm Forgot Password
|
|
806
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
807
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
808
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
809
|
+
* @param {UserConfirmForgotPasswordRequest} userConfirmForgotPasswordRequest
|
|
810
|
+
* @param {*} [options] Override http request option.
|
|
811
|
+
* @throws {RequiredError}
|
|
812
|
+
*/
|
|
813
|
+
async confirmForgotPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userConfirmForgotPasswordRequest: UserConfirmForgotPasswordRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserConfirmForgotPasswordResponseVBAResponse>> {
|
|
814
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.confirmForgotPassword(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, userConfirmForgotPasswordRequest, options);
|
|
815
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
816
|
+
},
|
|
817
|
+
/**
|
|
818
|
+
* Begin password recovery flow. Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user\'s password.
|
|
819
|
+
* @summary Forgot Password
|
|
820
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
821
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
822
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
823
|
+
* @param {UserForgotPasswordRequest} userForgotPasswordRequest
|
|
824
|
+
* @param {*} [options] Override http request option.
|
|
825
|
+
* @throws {RequiredError}
|
|
826
|
+
*/
|
|
827
|
+
async forgotPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userForgotPasswordRequest: UserForgotPasswordRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserForgotPasswordResponseVBAResponse>> {
|
|
828
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.forgotPassword(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, userForgotPasswordRequest, options);
|
|
829
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
830
|
+
},
|
|
831
|
+
/**
|
|
832
|
+
* Locks a specific user account to prevent access
|
|
833
|
+
* @summary Lock User Account
|
|
834
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
835
|
+
* @param {string} userID User ID
|
|
836
|
+
* @param {*} [options] Override http request option.
|
|
837
|
+
* @throws {RequiredError}
|
|
838
|
+
*/
|
|
839
|
+
async lockUserAccount(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsersVBAResponse>> {
|
|
840
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockUserAccount(vbasoftwareDatabase, userID, options);
|
|
841
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
842
|
+
},
|
|
843
|
+
/**
|
|
844
|
+
* Uses the Refresh Token to obtain new JWT tokens to extend the user\'s session.
|
|
845
|
+
* @summary Refresh User Tokens
|
|
846
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
847
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
848
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
849
|
+
* @param {string} expiredIdToken Expired Id Token
|
|
850
|
+
* @param {string} refreshToken Refresh Token
|
|
851
|
+
* @param {*} [options] Override http request option.
|
|
852
|
+
* @throws {RequiredError}
|
|
853
|
+
*/
|
|
854
|
+
async refreshUserTokens(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, expiredIdToken: string, refreshToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAuthenticationResponseVBAResponse>> {
|
|
855
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshUserTokens(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, expiredIdToken, refreshToken, options);
|
|
856
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
857
|
+
},
|
|
858
|
+
/**
|
|
859
|
+
* Unlocks a specific user account to grant access
|
|
860
|
+
* @summary Unlock User Account
|
|
861
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
862
|
+
* @param {string} userID User ID
|
|
863
|
+
* @param {*} [options] Override http request option.
|
|
864
|
+
* @throws {RequiredError}
|
|
865
|
+
*/
|
|
866
|
+
async unlockUserAccount(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsersVBAResponse>> {
|
|
867
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlockUserAccount(vbasoftwareDatabase, userID, options);
|
|
868
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
869
|
+
},
|
|
870
|
+
/**
|
|
871
|
+
* Starts User Authentication
|
|
872
|
+
* @summary User Authentication
|
|
873
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
874
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
875
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
876
|
+
* @param {*} [options] Override http request option.
|
|
877
|
+
* @throws {RequiredError}
|
|
878
|
+
*/
|
|
879
|
+
async userAuthentication(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserAuthenticationResponseVBAResponse>> {
|
|
880
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userAuthentication(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, options);
|
|
881
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
882
|
+
},
|
|
883
|
+
/**
|
|
884
|
+
* User requests to change their password.
|
|
885
|
+
* @summary User Change Password
|
|
886
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
887
|
+
* @param {string} userID User ID
|
|
888
|
+
* @param {UserResetPasswordRequest} userResetPasswordRequest
|
|
889
|
+
* @param {*} [options] Override http request option.
|
|
890
|
+
* @throws {RequiredError}
|
|
891
|
+
*/
|
|
892
|
+
async userChangePassword(vbasoftwareDatabase: string, userID: string, userResetPasswordRequest: UserResetPasswordRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
|
|
893
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userChangePassword(vbasoftwareDatabase, userID, userResetPasswordRequest, options);
|
|
894
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
895
|
+
},
|
|
896
|
+
/**
|
|
897
|
+
* Changes a User\'s temporary password.
|
|
898
|
+
* @summary Change Temporary Password
|
|
899
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
900
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
901
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
902
|
+
* @param {UserChangeTempPasswordRequest} userChangeTempPasswordRequest
|
|
903
|
+
* @param {*} [options] Override http request option.
|
|
904
|
+
* @throws {RequiredError}
|
|
905
|
+
*/
|
|
906
|
+
async userChangeTempPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userChangeTempPasswordRequest: UserChangeTempPasswordRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserChangeTempPasswordResponseVBAResponse>> {
|
|
907
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userChangeTempPassword(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, userChangeTempPasswordRequest, options);
|
|
908
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
909
|
+
},
|
|
910
|
+
/**
|
|
911
|
+
* Admin request to reset a User\'s password. When an Administrator calls this API, the User\'s current password is invalidated and must be changed. If a user tries to sign in after the API is called, the User will get a `PasswordResetRequired` message back and should use the `forgot password` flow. In addition, if a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.
|
|
912
|
+
* @summary Admin Reset User Password
|
|
913
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
914
|
+
* @param {string} userID User ID
|
|
915
|
+
* @param {*} [options] Override http request option.
|
|
916
|
+
* @throws {RequiredError}
|
|
917
|
+
*/
|
|
918
|
+
async userResetPassword(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
|
|
919
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userResetPassword(vbasoftwareDatabase, userID, options);
|
|
920
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
921
|
+
},
|
|
922
|
+
}
|
|
923
|
+
};
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* UserAccountApi - factory interface
|
|
927
|
+
* @export
|
|
928
|
+
*/
|
|
929
|
+
export const UserAccountApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
930
|
+
const localVarFp = UserAccountApiFp(configuration)
|
|
931
|
+
return {
|
|
932
|
+
/**
|
|
933
|
+
* Admin request to disable a User.
|
|
934
|
+
* @summary Admin Disable User
|
|
935
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
936
|
+
* @param {string} userID User ID
|
|
937
|
+
* @param {*} [options] Override http request option.
|
|
938
|
+
* @throws {RequiredError}
|
|
939
|
+
*/
|
|
940
|
+
adminDisableUser(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<StringVBAResponse> {
|
|
941
|
+
return localVarFp.adminDisableUser(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
|
|
942
|
+
},
|
|
943
|
+
/**
|
|
944
|
+
* Admin request to enable a User.
|
|
945
|
+
* @summary Admin Enable User
|
|
946
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
947
|
+
* @param {string} userID User ID
|
|
948
|
+
* @param {*} [options] Override http request option.
|
|
949
|
+
* @throws {RequiredError}
|
|
950
|
+
*/
|
|
951
|
+
adminEnableUser(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<StringVBAResponse> {
|
|
952
|
+
return localVarFp.adminEnableUser(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
|
|
953
|
+
},
|
|
954
|
+
/**
|
|
955
|
+
* Resends a User a confirmation code.
|
|
956
|
+
* @summary Admin Resend Confirmation Code
|
|
957
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
958
|
+
* @param {string} userID User ID
|
|
959
|
+
* @param {*} [options] Override http request option.
|
|
960
|
+
* @throws {RequiredError}
|
|
961
|
+
*/
|
|
962
|
+
adminResendConfirmationCode(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<StringVBAResponse> {
|
|
963
|
+
return localVarFp.adminResendConfirmationCode(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
|
|
964
|
+
},
|
|
965
|
+
/**
|
|
966
|
+
* Resends the invitation message to a user that already exists and resets the expiration on the user\'s sign-up window.
|
|
967
|
+
* @summary Admin Resend Welcome Message
|
|
968
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
969
|
+
* @param {string} userID User ID
|
|
970
|
+
* @param {*} [options] Override http request option.
|
|
971
|
+
* @throws {RequiredError}
|
|
972
|
+
*/
|
|
973
|
+
adminResendWelcomeMesasge(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<StringVBAResponse> {
|
|
974
|
+
return localVarFp.adminResendWelcomeMesasge(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
|
|
975
|
+
},
|
|
976
|
+
/**
|
|
977
|
+
* Allows a user to enter a confirmation code to reset a forgotten password.
|
|
978
|
+
* @summary Confirm Forgot Password
|
|
979
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
980
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
981
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
982
|
+
* @param {UserConfirmForgotPasswordRequest} userConfirmForgotPasswordRequest
|
|
983
|
+
* @param {*} [options] Override http request option.
|
|
984
|
+
* @throws {RequiredError}
|
|
985
|
+
*/
|
|
986
|
+
confirmForgotPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userConfirmForgotPasswordRequest: UserConfirmForgotPasswordRequest, options?: any): AxiosPromise<UserConfirmForgotPasswordResponseVBAResponse> {
|
|
987
|
+
return localVarFp.confirmForgotPassword(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, userConfirmForgotPasswordRequest, options).then((request) => request(axios, basePath));
|
|
988
|
+
},
|
|
989
|
+
/**
|
|
990
|
+
* Begin password recovery flow. Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user\'s password.
|
|
991
|
+
* @summary Forgot Password
|
|
992
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
993
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
994
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
995
|
+
* @param {UserForgotPasswordRequest} userForgotPasswordRequest
|
|
996
|
+
* @param {*} [options] Override http request option.
|
|
997
|
+
* @throws {RequiredError}
|
|
998
|
+
*/
|
|
999
|
+
forgotPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userForgotPasswordRequest: UserForgotPasswordRequest, options?: any): AxiosPromise<UserForgotPasswordResponseVBAResponse> {
|
|
1000
|
+
return localVarFp.forgotPassword(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, userForgotPasswordRequest, options).then((request) => request(axios, basePath));
|
|
1001
|
+
},
|
|
1002
|
+
/**
|
|
1003
|
+
* Locks a specific user account to prevent access
|
|
1004
|
+
* @summary Lock User Account
|
|
1005
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1006
|
+
* @param {string} userID User ID
|
|
1007
|
+
* @param {*} [options] Override http request option.
|
|
1008
|
+
* @throws {RequiredError}
|
|
1009
|
+
*/
|
|
1010
|
+
lockUserAccount(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<UsersVBAResponse> {
|
|
1011
|
+
return localVarFp.lockUserAccount(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
|
|
1012
|
+
},
|
|
1013
|
+
/**
|
|
1014
|
+
* Uses the Refresh Token to obtain new JWT tokens to extend the user\'s session.
|
|
1015
|
+
* @summary Refresh User Tokens
|
|
1016
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1017
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1018
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1019
|
+
* @param {string} expiredIdToken Expired Id Token
|
|
1020
|
+
* @param {string} refreshToken Refresh Token
|
|
1021
|
+
* @param {*} [options] Override http request option.
|
|
1022
|
+
* @throws {RequiredError}
|
|
1023
|
+
*/
|
|
1024
|
+
refreshUserTokens(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, expiredIdToken: string, refreshToken: string, options?: any): AxiosPromise<UserAuthenticationResponseVBAResponse> {
|
|
1025
|
+
return localVarFp.refreshUserTokens(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, expiredIdToken, refreshToken, options).then((request) => request(axios, basePath));
|
|
1026
|
+
},
|
|
1027
|
+
/**
|
|
1028
|
+
* Unlocks a specific user account to grant access
|
|
1029
|
+
* @summary Unlock User Account
|
|
1030
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1031
|
+
* @param {string} userID User ID
|
|
1032
|
+
* @param {*} [options] Override http request option.
|
|
1033
|
+
* @throws {RequiredError}
|
|
1034
|
+
*/
|
|
1035
|
+
unlockUserAccount(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<UsersVBAResponse> {
|
|
1036
|
+
return localVarFp.unlockUserAccount(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
|
|
1037
|
+
},
|
|
1038
|
+
/**
|
|
1039
|
+
* Starts User Authentication
|
|
1040
|
+
* @summary User Authentication
|
|
1041
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1042
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1043
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1044
|
+
* @param {*} [options] Override http request option.
|
|
1045
|
+
* @throws {RequiredError}
|
|
1046
|
+
*/
|
|
1047
|
+
userAuthentication(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, options?: any): AxiosPromise<UserAuthenticationResponseVBAResponse> {
|
|
1048
|
+
return localVarFp.userAuthentication(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, options).then((request) => request(axios, basePath));
|
|
1049
|
+
},
|
|
1050
|
+
/**
|
|
1051
|
+
* User requests to change their password.
|
|
1052
|
+
* @summary User Change Password
|
|
1053
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1054
|
+
* @param {string} userID User ID
|
|
1055
|
+
* @param {UserResetPasswordRequest} userResetPasswordRequest
|
|
1056
|
+
* @param {*} [options] Override http request option.
|
|
1057
|
+
* @throws {RequiredError}
|
|
1058
|
+
*/
|
|
1059
|
+
userChangePassword(vbasoftwareDatabase: string, userID: string, userResetPasswordRequest: UserResetPasswordRequest, options?: any): AxiosPromise<StringVBAResponse> {
|
|
1060
|
+
return localVarFp.userChangePassword(vbasoftwareDatabase, userID, userResetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
1061
|
+
},
|
|
1062
|
+
/**
|
|
1063
|
+
* Changes a User\'s temporary password.
|
|
1064
|
+
* @summary Change Temporary Password
|
|
1065
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1066
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1067
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1068
|
+
* @param {UserChangeTempPasswordRequest} userChangeTempPasswordRequest
|
|
1069
|
+
* @param {*} [options] Override http request option.
|
|
1070
|
+
* @throws {RequiredError}
|
|
1071
|
+
*/
|
|
1072
|
+
userChangeTempPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userChangeTempPasswordRequest: UserChangeTempPasswordRequest, options?: any): AxiosPromise<UserChangeTempPasswordResponseVBAResponse> {
|
|
1073
|
+
return localVarFp.userChangeTempPassword(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, userChangeTempPasswordRequest, options).then((request) => request(axios, basePath));
|
|
1074
|
+
},
|
|
1075
|
+
/**
|
|
1076
|
+
* Admin request to reset a User\'s password. When an Administrator calls this API, the User\'s current password is invalidated and must be changed. If a user tries to sign in after the API is called, the User will get a `PasswordResetRequired` message back and should use the `forgot password` flow. In addition, if a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.
|
|
1077
|
+
* @summary Admin Reset User Password
|
|
1078
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1079
|
+
* @param {string} userID User ID
|
|
1080
|
+
* @param {*} [options] Override http request option.
|
|
1081
|
+
* @throws {RequiredError}
|
|
1082
|
+
*/
|
|
1083
|
+
userResetPassword(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<StringVBAResponse> {
|
|
1084
|
+
return localVarFp.userResetPassword(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
|
|
1085
|
+
},
|
|
1086
|
+
};
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* UserAccountApi - interface
|
|
1091
|
+
* @export
|
|
1092
|
+
* @interface UserAccountApi
|
|
1093
|
+
*/
|
|
1094
|
+
export interface UserAccountApiInterface {
|
|
1095
|
+
/**
|
|
1096
|
+
* Admin request to disable a User.
|
|
1097
|
+
* @summary Admin Disable User
|
|
1098
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1099
|
+
* @param {string} userID User ID
|
|
1100
|
+
* @param {*} [options] Override http request option.
|
|
1101
|
+
* @throws {RequiredError}
|
|
1102
|
+
* @memberof UserAccountApiInterface
|
|
1103
|
+
*/
|
|
1104
|
+
adminDisableUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<StringVBAResponse>;
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* Admin request to enable a User.
|
|
1108
|
+
* @summary Admin Enable User
|
|
1109
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1110
|
+
* @param {string} userID User ID
|
|
1111
|
+
* @param {*} [options] Override http request option.
|
|
1112
|
+
* @throws {RequiredError}
|
|
1113
|
+
* @memberof UserAccountApiInterface
|
|
1114
|
+
*/
|
|
1115
|
+
adminEnableUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<StringVBAResponse>;
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Resends a User a confirmation code.
|
|
1119
|
+
* @summary Admin Resend Confirmation Code
|
|
1120
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1121
|
+
* @param {string} userID User ID
|
|
1122
|
+
* @param {*} [options] Override http request option.
|
|
1123
|
+
* @throws {RequiredError}
|
|
1124
|
+
* @memberof UserAccountApiInterface
|
|
1125
|
+
*/
|
|
1126
|
+
adminResendConfirmationCode(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<StringVBAResponse>;
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Resends the invitation message to a user that already exists and resets the expiration on the user\'s sign-up window.
|
|
1130
|
+
* @summary Admin Resend Welcome Message
|
|
1131
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1132
|
+
* @param {string} userID User ID
|
|
1133
|
+
* @param {*} [options] Override http request option.
|
|
1134
|
+
* @throws {RequiredError}
|
|
1135
|
+
* @memberof UserAccountApiInterface
|
|
1136
|
+
*/
|
|
1137
|
+
adminResendWelcomeMesasge(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<StringVBAResponse>;
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* Allows a user to enter a confirmation code to reset a forgotten password.
|
|
1141
|
+
* @summary Confirm Forgot Password
|
|
1142
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1143
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1144
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1145
|
+
* @param {UserConfirmForgotPasswordRequest} userConfirmForgotPasswordRequest
|
|
1146
|
+
* @param {*} [options] Override http request option.
|
|
1147
|
+
* @throws {RequiredError}
|
|
1148
|
+
* @memberof UserAccountApiInterface
|
|
1149
|
+
*/
|
|
1150
|
+
confirmForgotPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userConfirmForgotPasswordRequest: UserConfirmForgotPasswordRequest, options?: AxiosRequestConfig): AxiosPromise<UserConfirmForgotPasswordResponseVBAResponse>;
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
* Begin password recovery flow. Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user\'s password.
|
|
1154
|
+
* @summary Forgot Password
|
|
1155
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1156
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1157
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1158
|
+
* @param {UserForgotPasswordRequest} userForgotPasswordRequest
|
|
1159
|
+
* @param {*} [options] Override http request option.
|
|
1160
|
+
* @throws {RequiredError}
|
|
1161
|
+
* @memberof UserAccountApiInterface
|
|
1162
|
+
*/
|
|
1163
|
+
forgotPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userForgotPasswordRequest: UserForgotPasswordRequest, options?: AxiosRequestConfig): AxiosPromise<UserForgotPasswordResponseVBAResponse>;
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* Locks a specific user account to prevent access
|
|
1167
|
+
* @summary Lock User Account
|
|
1168
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1169
|
+
* @param {string} userID User ID
|
|
1170
|
+
* @param {*} [options] Override http request option.
|
|
1171
|
+
* @throws {RequiredError}
|
|
1172
|
+
* @memberof UserAccountApiInterface
|
|
1173
|
+
*/
|
|
1174
|
+
lockUserAccount(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<UsersVBAResponse>;
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* Uses the Refresh Token to obtain new JWT tokens to extend the user\'s session.
|
|
1178
|
+
* @summary Refresh User Tokens
|
|
1179
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1180
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1181
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1182
|
+
* @param {string} expiredIdToken Expired Id Token
|
|
1183
|
+
* @param {string} refreshToken Refresh Token
|
|
1184
|
+
* @param {*} [options] Override http request option.
|
|
1185
|
+
* @throws {RequiredError}
|
|
1186
|
+
* @memberof UserAccountApiInterface
|
|
1187
|
+
*/
|
|
1188
|
+
refreshUserTokens(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, expiredIdToken: string, refreshToken: string, options?: AxiosRequestConfig): AxiosPromise<UserAuthenticationResponseVBAResponse>;
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* Unlocks a specific user account to grant access
|
|
1192
|
+
* @summary Unlock User Account
|
|
1193
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1194
|
+
* @param {string} userID User ID
|
|
1195
|
+
* @param {*} [options] Override http request option.
|
|
1196
|
+
* @throws {RequiredError}
|
|
1197
|
+
* @memberof UserAccountApiInterface
|
|
1198
|
+
*/
|
|
1199
|
+
unlockUserAccount(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<UsersVBAResponse>;
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* Starts User Authentication
|
|
1203
|
+
* @summary User Authentication
|
|
1204
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1205
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1206
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1207
|
+
* @param {*} [options] Override http request option.
|
|
1208
|
+
* @throws {RequiredError}
|
|
1209
|
+
* @memberof UserAccountApiInterface
|
|
1210
|
+
*/
|
|
1211
|
+
userAuthentication(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, options?: AxiosRequestConfig): AxiosPromise<UserAuthenticationResponseVBAResponse>;
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* User requests to change their password.
|
|
1215
|
+
* @summary User Change Password
|
|
1216
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1217
|
+
* @param {string} userID User ID
|
|
1218
|
+
* @param {UserResetPasswordRequest} userResetPasswordRequest
|
|
1219
|
+
* @param {*} [options] Override http request option.
|
|
1220
|
+
* @throws {RequiredError}
|
|
1221
|
+
* @memberof UserAccountApiInterface
|
|
1222
|
+
*/
|
|
1223
|
+
userChangePassword(vbasoftwareDatabase: string, userID: string, userResetPasswordRequest: UserResetPasswordRequest, options?: AxiosRequestConfig): AxiosPromise<StringVBAResponse>;
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* Changes a User\'s temporary password.
|
|
1227
|
+
* @summary Change Temporary Password
|
|
1228
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1229
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1230
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1231
|
+
* @param {UserChangeTempPasswordRequest} userChangeTempPasswordRequest
|
|
1232
|
+
* @param {*} [options] Override http request option.
|
|
1233
|
+
* @throws {RequiredError}
|
|
1234
|
+
* @memberof UserAccountApiInterface
|
|
1235
|
+
*/
|
|
1236
|
+
userChangeTempPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userChangeTempPasswordRequest: UserChangeTempPasswordRequest, options?: AxiosRequestConfig): AxiosPromise<UserChangeTempPasswordResponseVBAResponse>;
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* Admin request to reset a User\'s password. When an Administrator calls this API, the User\'s current password is invalidated and must be changed. If a user tries to sign in after the API is called, the User will get a `PasswordResetRequired` message back and should use the `forgot password` flow. In addition, if a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.
|
|
1240
|
+
* @summary Admin Reset User Password
|
|
1241
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1242
|
+
* @param {string} userID User ID
|
|
1243
|
+
* @param {*} [options] Override http request option.
|
|
1244
|
+
* @throws {RequiredError}
|
|
1245
|
+
* @memberof UserAccountApiInterface
|
|
1246
|
+
*/
|
|
1247
|
+
userResetPassword(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<StringVBAResponse>;
|
|
1248
|
+
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* UserAccountApi - object-oriented interface
|
|
1253
|
+
* @export
|
|
1254
|
+
* @class UserAccountApi
|
|
1255
|
+
* @extends {BaseAPI}
|
|
1256
|
+
*/
|
|
1257
|
+
export class UserAccountApi extends BaseAPI implements UserAccountApiInterface {
|
|
1258
|
+
/**
|
|
1259
|
+
* Admin request to disable a User.
|
|
1260
|
+
* @summary Admin Disable User
|
|
1261
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1262
|
+
* @param {string} userID User ID
|
|
1263
|
+
* @param {*} [options] Override http request option.
|
|
1264
|
+
* @throws {RequiredError}
|
|
1265
|
+
* @memberof UserAccountApi
|
|
1266
|
+
*/
|
|
1267
|
+
public adminDisableUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig) {
|
|
1268
|
+
return UserAccountApiFp(this.configuration).adminDisableUser(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* Admin request to enable a User.
|
|
1273
|
+
* @summary Admin Enable User
|
|
1274
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1275
|
+
* @param {string} userID User ID
|
|
1276
|
+
* @param {*} [options] Override http request option.
|
|
1277
|
+
* @throws {RequiredError}
|
|
1278
|
+
* @memberof UserAccountApi
|
|
1279
|
+
*/
|
|
1280
|
+
public adminEnableUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig) {
|
|
1281
|
+
return UserAccountApiFp(this.configuration).adminEnableUser(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* Resends a User a confirmation code.
|
|
1286
|
+
* @summary Admin Resend Confirmation Code
|
|
1287
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1288
|
+
* @param {string} userID User ID
|
|
1289
|
+
* @param {*} [options] Override http request option.
|
|
1290
|
+
* @throws {RequiredError}
|
|
1291
|
+
* @memberof UserAccountApi
|
|
1292
|
+
*/
|
|
1293
|
+
public adminResendConfirmationCode(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig) {
|
|
1294
|
+
return UserAccountApiFp(this.configuration).adminResendConfirmationCode(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* Resends the invitation message to a user that already exists and resets the expiration on the user\'s sign-up window.
|
|
1299
|
+
* @summary Admin Resend Welcome Message
|
|
1300
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1301
|
+
* @param {string} userID User ID
|
|
1302
|
+
* @param {*} [options] Override http request option.
|
|
1303
|
+
* @throws {RequiredError}
|
|
1304
|
+
* @memberof UserAccountApi
|
|
1305
|
+
*/
|
|
1306
|
+
public adminResendWelcomeMesasge(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig) {
|
|
1307
|
+
return UserAccountApiFp(this.configuration).adminResendWelcomeMesasge(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* Allows a user to enter a confirmation code to reset a forgotten password.
|
|
1312
|
+
* @summary Confirm Forgot Password
|
|
1313
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1314
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1315
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1316
|
+
* @param {UserConfirmForgotPasswordRequest} userConfirmForgotPasswordRequest
|
|
1317
|
+
* @param {*} [options] Override http request option.
|
|
1318
|
+
* @throws {RequiredError}
|
|
1319
|
+
* @memberof UserAccountApi
|
|
1320
|
+
*/
|
|
1321
|
+
public confirmForgotPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userConfirmForgotPasswordRequest: UserConfirmForgotPasswordRequest, options?: AxiosRequestConfig) {
|
|
1322
|
+
return UserAccountApiFp(this.configuration).confirmForgotPassword(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, userConfirmForgotPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Begin password recovery flow. Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user\'s password.
|
|
1327
|
+
* @summary Forgot Password
|
|
1328
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1329
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1330
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1331
|
+
* @param {UserForgotPasswordRequest} userForgotPasswordRequest
|
|
1332
|
+
* @param {*} [options] Override http request option.
|
|
1333
|
+
* @throws {RequiredError}
|
|
1334
|
+
* @memberof UserAccountApi
|
|
1335
|
+
*/
|
|
1336
|
+
public forgotPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userForgotPasswordRequest: UserForgotPasswordRequest, options?: AxiosRequestConfig) {
|
|
1337
|
+
return UserAccountApiFp(this.configuration).forgotPassword(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, userForgotPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* Locks a specific user account to prevent access
|
|
1342
|
+
* @summary Lock User Account
|
|
1343
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1344
|
+
* @param {string} userID User ID
|
|
1345
|
+
* @param {*} [options] Override http request option.
|
|
1346
|
+
* @throws {RequiredError}
|
|
1347
|
+
* @memberof UserAccountApi
|
|
1348
|
+
*/
|
|
1349
|
+
public lockUserAccount(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig) {
|
|
1350
|
+
return UserAccountApiFp(this.configuration).lockUserAccount(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* Uses the Refresh Token to obtain new JWT tokens to extend the user\'s session.
|
|
1355
|
+
* @summary Refresh User Tokens
|
|
1356
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1357
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1358
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1359
|
+
* @param {string} expiredIdToken Expired Id Token
|
|
1360
|
+
* @param {string} refreshToken Refresh Token
|
|
1361
|
+
* @param {*} [options] Override http request option.
|
|
1362
|
+
* @throws {RequiredError}
|
|
1363
|
+
* @memberof UserAccountApi
|
|
1364
|
+
*/
|
|
1365
|
+
public refreshUserTokens(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, expiredIdToken: string, refreshToken: string, options?: AxiosRequestConfig) {
|
|
1366
|
+
return UserAccountApiFp(this.configuration).refreshUserTokens(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, expiredIdToken, refreshToken, options).then((request) => request(this.axios, this.basePath));
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* Unlocks a specific user account to grant access
|
|
1371
|
+
* @summary Unlock User Account
|
|
1372
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1373
|
+
* @param {string} userID User ID
|
|
1374
|
+
* @param {*} [options] Override http request option.
|
|
1375
|
+
* @throws {RequiredError}
|
|
1376
|
+
* @memberof UserAccountApi
|
|
1377
|
+
*/
|
|
1378
|
+
public unlockUserAccount(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig) {
|
|
1379
|
+
return UserAccountApiFp(this.configuration).unlockUserAccount(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* Starts User Authentication
|
|
1384
|
+
* @summary User Authentication
|
|
1385
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1386
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1387
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1388
|
+
* @param {*} [options] Override http request option.
|
|
1389
|
+
* @throws {RequiredError}
|
|
1390
|
+
* @memberof UserAccountApi
|
|
1391
|
+
*/
|
|
1392
|
+
public userAuthentication(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, options?: AxiosRequestConfig) {
|
|
1393
|
+
return UserAccountApiFp(this.configuration).userAuthentication(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* User requests to change their password.
|
|
1398
|
+
* @summary User Change Password
|
|
1399
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1400
|
+
* @param {string} userID User ID
|
|
1401
|
+
* @param {UserResetPasswordRequest} userResetPasswordRequest
|
|
1402
|
+
* @param {*} [options] Override http request option.
|
|
1403
|
+
* @throws {RequiredError}
|
|
1404
|
+
* @memberof UserAccountApi
|
|
1405
|
+
*/
|
|
1406
|
+
public userChangePassword(vbasoftwareDatabase: string, userID: string, userResetPasswordRequest: UserResetPasswordRequest, options?: AxiosRequestConfig) {
|
|
1407
|
+
return UserAccountApiFp(this.configuration).userChangePassword(vbasoftwareDatabase, userID, userResetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* Changes a User\'s temporary password.
|
|
1412
|
+
* @summary Change Temporary Password
|
|
1413
|
+
* @param {string} vbasoftwareClientId Client ID
|
|
1414
|
+
* @param {string} vbasoftwareClientCode Client Code
|
|
1415
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1416
|
+
* @param {UserChangeTempPasswordRequest} userChangeTempPasswordRequest
|
|
1417
|
+
* @param {*} [options] Override http request option.
|
|
1418
|
+
* @throws {RequiredError}
|
|
1419
|
+
* @memberof UserAccountApi
|
|
1420
|
+
*/
|
|
1421
|
+
public userChangeTempPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userChangeTempPasswordRequest: UserChangeTempPasswordRequest, options?: AxiosRequestConfig) {
|
|
1422
|
+
return UserAccountApiFp(this.configuration).userChangeTempPassword(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, userChangeTempPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* Admin request to reset a User\'s password. When an Administrator calls this API, the User\'s current password is invalidated and must be changed. If a user tries to sign in after the API is called, the User will get a `PasswordResetRequired` message back and should use the `forgot password` flow. In addition, if a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.
|
|
1427
|
+
* @summary Admin Reset User Password
|
|
1428
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1429
|
+
* @param {string} userID User ID
|
|
1430
|
+
* @param {*} [options] Override http request option.
|
|
1431
|
+
* @throws {RequiredError}
|
|
1432
|
+
* @memberof UserAccountApi
|
|
1433
|
+
*/
|
|
1434
|
+
public userResetPassword(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig) {
|
|
1435
|
+
return UserAccountApiFp(this.configuration).userResetPassword(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
|
|
1436
|
+
}
|
|
1437
|
+
}
|