@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20220630.2 → 1.20220719.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +102 -0
- package/.openapi-generator/VERSION +1 -1
- package/api/admission-type-places-api.ts +848 -0
- package/api/agriculture-tax-returns-api.ts +19 -8
- package/api/amount-details-api.ts +38 -16
- package/api/apcschedules-api.ts +114 -48
- package/api/auth-actions-api.ts +19 -8
- package/api/auth-api.ts +133 -56
- package/api/auth-code-api.ts +95 -40
- package/api/auth-diagnostic-codes-api.ts +133 -56
- package/api/auth-procedure-codes-api.ts +133 -56
- package/api/auth-reference-api.ts +114 -48
- package/api/auth-review-api.ts +114 -48
- package/api/auth-review-level-api.ts +114 -48
- package/api/auth-review-severity-api.ts +114 -48
- package/api/auth-review-status-api.ts +114 -48
- package/api/auth-review-type-api.ts +114 -48
- package/api/auth-review-urgency-type-api.ts +114 -48
- package/api/auth-type-places-api.ts +114 -48
- package/api/auth-types-api.ts +114 -48
- package/api/benefit-categories-api.ts +114 -48
- package/api/benefit-diagnostic-codes-api.ts +114 -48
- package/api/benefit-places-api.ts +114 -48
- package/api/benefit-procedures-api.ts +114 -48
- package/api/benefit-provider-types-api.ts +114 -48
- package/api/benefit-specialties-api.ts +114 -48
- package/api/benefits-api.ts +323 -136
- package/api/billing-basis-api.ts +114 -48
- package/api/billing-cycles-api.ts +114 -48
- package/api/brokerage-api.ts +114 -48
- package/api/call-destinations-api.ts +114 -48
- package/api/call-statuses-api.ts +114 -48
- package/api/call-tracking-subscribers-api.ts +95 -40
- package/api/call-trackings-api.ts +114 -48
- package/api/call-types-api.ts +114 -48
- package/api/caller-types-api.ts +114 -48
- package/api/capitation-adjustment-reasons-api.ts +114 -48
- package/api/capitation-adjustment-types-api.ts +114 -48
- package/api/capitation-adjustments-api.ts +133 -56
- package/api/capitation-categories-api.ts +114 -48
- package/api/capitation-category-types-api.ts +76 -32
- package/api/capitation-plan-rates-api.ts +114 -48
- package/api/capitation-service-plans-api.ts +114 -48
- package/api/capitation-service-tax-ids-api.ts +114 -48
- package/api/capitation-services-api.ts +114 -48
- package/api/capitation-transactions-api.ts +114 -48
- package/api/capitation-types-api.ts +114 -48
- package/api/capitations-api.ts +171 -72
- package/api/care-case-actions-api.ts +114 -48
- package/api/care-case-authorizations-api.ts +114 -48
- package/api/care-case-clinical-fact-categories-api.ts +114 -48
- package/api/care-case-clinical-fact-category-types-api.ts +114 -48
- package/api/care-case-clinical-facts-api.ts +114 -48
- package/api/care-case-clinical-trial-arms-api.ts +114 -48
- package/api/care-case-clinical-trial-reasons-api.ts +114 -48
- package/api/care-case-clinical-trial-study-phases-api.ts +114 -48
- package/api/care-case-compliances-api.ts +114 -48
- package/api/care-case-concordances-api.ts +114 -48
- package/api/care-case-details-api.ts +114 -48
- package/api/care-case-diagnoses-api.ts +114 -48
- package/api/care-case-eligibility-statuses-api.ts +114 -48
- package/api/care-case-emetic-risks-api.ts +114 -48
- package/api/care-case-intake-secondary-types-api.ts +114 -48
- package/api/care-case-intake-types-api.ts +114 -48
- package/api/care-case-intakes-api.ts +114 -48
- package/api/care-case-intents-api.ts +114 -48
- package/api/care-case-log-entry-types-api.ts +114 -48
- package/api/care-case-lots-api.ts +114 -48
- package/api/care-case-medications-api.ts +114 -48
- package/api/care-case-members-api.ts +114 -48
- package/api/care-case-neutropenic-risks-api.ts +114 -48
- package/api/care-case-providers-api.ts +114 -48
- package/api/care-case-savings-api.ts +114 -48
- package/api/care-case-savings-secondary-types-api.ts +114 -48
- package/api/care-case-savings-types-api.ts +114 -48
- package/api/care-case-stages-api.ts +114 -48
- package/api/care-case-treatment-types-api.ts +114 -48
- package/api/care-case-treatments-api.ts +114 -48
- package/api/care-case-work-log-savings-types-api.ts +114 -48
- package/api/care-case-work-log-secondary-log-types-api.ts +114 -48
- package/api/care-case-work-log-types-api.ts +114 -48
- package/api/care-case-work-logs-api.ts +114 -48
- package/api/care-cases-api.ts +114 -48
- package/api/care-manager-care-plans-api.ts +95 -40
- package/api/care-manager-care-types-api.ts +95 -40
- package/api/care-manager-cases-api.ts +114 -48
- package/api/care-manager-mappings-api.ts +95 -40
- package/api/care-manager-types-api.ts +114 -48
- package/api/care-managers-api.ts +114 -48
- package/api/care-plan-categories-api.ts +114 -48
- package/api/care-plan-custom-values-api.ts +114 -48
- package/api/care-plan-details-api.ts +114 -48
- package/api/care-plan-rule-criterias-api.ts +114 -48
- package/api/care-plan-rule-details-api.ts +114 -48
- package/api/care-plan-rules-api.ts +114 -48
- package/api/care-plan-score-details-api.ts +114 -48
- package/api/care-plan-scores-api.ts +114 -48
- package/api/care-plans-api.ts +114 -48
- package/api/care-types-api.ts +114 -48
- package/api/care-unit-managers-api.ts +114 -48
- package/api/care-units-api.ts +114 -48
- package/api/case-attachment-types-api.ts +114 -48
- package/api/case-head-types-api.ts +114 -48
- package/api/case-heads-api.ts +114 -48
- package/api/case-medical-concordance-levels-api.ts +114 -48
- package/api/case-priorities-api.ts +114 -48
- package/api/case-reasons-api.ts +114 -48
- package/api/case-status-reasons-api.ts +114 -48
- package/api/case-statuses-api.ts +114 -48
- package/api/check-batches-api.ts +114 -48
- package/api/check-details-api.ts +114 -48
- package/api/check-edit-details-api.ts +114 -48
- package/api/check-edit-headers-api.ts +38 -16
- package/api/check-edits-api.ts +38 -16
- package/api/check-statuses-api.ts +114 -48
- package/api/check-types-api.ts +114 -48
- package/api/checks-api.ts +114 -48
- package/api/claim-types-api.ts +38 -16
- package/api/classes-api.ts +114 -48
- package/api/cliacertificate-api.ts +114 -48
- package/api/college-types-api.ts +824 -0
- package/api/colleges-api.ts +824 -0
- package/api/commission-activity-api.ts +114 -48
- package/api/commission-activity-parameters-api.ts +114 -48
- package/api/commission-adjustment-reasons-api.ts +114 -48
- package/api/commission-adjustment-types-api.ts +114 -48
- package/api/commission-adjustments-api.ts +114 -48
- package/api/commission-agencies-api.ts +114 -48
- package/api/commission-agency-rep-rates-api.ts +114 -48
- package/api/commission-agency-reps-api.ts +114 -48
- package/api/commission-agency-types-api.ts +114 -48
- package/api/commission-appointment-types-api.ts +114 -48
- package/api/commission-basis-api.ts +114 -48
- package/api/commission-categories-api.ts +114 -48
- package/api/commission-cycles-api.ts +114 -48
- package/api/commission-license-types-api.ts +114 -48
- package/api/commission-rate-cluster-rates-api.ts +114 -48
- package/api/commission-rate-clusters-api.ts +114 -48
- package/api/commission-rate-subscribers-api.ts +114 -48
- package/api/commission-rates-api.ts +152 -64
- package/api/commission-rep-accounts-api.ts +114 -48
- package/api/commission-rep-appointments-api.ts +114 -48
- package/api/commission-rep-groups-api.ts +114 -48
- package/api/commission-rep-licenses-api.ts +114 -48
- package/api/commission-rep-subscribers-api.ts +114 -48
- package/api/commission-rep-types-api.ts +114 -48
- package/api/commission-reps-api.ts +114 -48
- package/api/commission-transactions-api.ts +114 -48
- package/api/commissions-api.ts +152 -64
- package/api/communication-methods-api.ts +114 -48
- package/api/company-data-api.ts +57 -24
- package/api/contact-assignments-api.ts +824 -0
- package/api/contact-categories-api.ts +824 -0
- package/api/contact-emails-api.ts +824 -0
- package/api/contact-mappings-api.ts +709 -0
- package/api/contact-statuses-api.ts +824 -0
- package/api/contacts-api.ts +824 -0
- package/api/context4-options-api.ts +114 -48
- package/api/context4-options-pricing-api.ts +114 -48
- package/api/contribution-schedules-api.ts +824 -0
- package/api/country-api.ts +114 -48
- package/api/country-dialing-codes-api.ts +848 -0
- package/api/county-api.ts +114 -48
- package/api/coverage-types-api.ts +114 -48
- package/api/credentialing-amounts-api.ts +114 -48
- package/api/credentialing-attestation-methods-api.ts +114 -48
- package/api/credentialing-attestation-questions-api.ts +114 -48
- package/api/credentialing-attestation-sources-api.ts +114 -48
- package/api/credentialing-attestation-types-api.ts +114 -48
- package/api/credentialing-carriers-api.ts +114 -48
- package/api/credentialing-certifications-api.ts +114 -48
- package/api/credentialing-confidentials-api.ts +114 -48
- package/api/credentialing-contracts-api.ts +114 -48
- package/api/credentialing-dates-api.ts +114 -48
- package/api/credentialing-education-types-api.ts +114 -48
- package/api/credentialing-license-types-api.ts +114 -48
- package/api/credentialing-options-api.ts +114 -48
- package/api/credentialing-practice-categories-api.ts +114 -48
- package/api/credentialing-practice-category-types-api.ts +114 -48
- package/api/credentialing-quality-api.ts +114 -48
- package/api/credentialing-services-api.ts +114 -48
- package/api/credentialing-statuses-api.ts +114 -48
- package/api/credentialing-techniques-api.ts +114 -48
- package/api/credentialing-terminations-api.ts +114 -48
- package/api/credentialing-types-api.ts +114 -48
- package/api/criteria-api.ts +114 -48
- package/api/criteria-columns-api.ts +38 -16
- package/api/currency-api.ts +114 -48
- package/api/diagnostic-code-groups-api.ts +114 -48
- package/api/diagnostic-code-types-api.ts +114 -48
- package/api/diagnostic-codes-api.ts +114 -48
- package/api/drgcluster-api.ts +114 -48
- package/api/drgcluster-detail-api.ts +95 -40
- package/api/drgcodes-api.ts +95 -40
- package/api/drgschedule-api.ts +114 -48
- package/api/drgweight-api.ts +95 -40
- package/api/edicode-mappings-api.ts +114 -48
- package/api/eligibility-status-api.ts +114 -48
- package/api/employer-sizes-api.ts +38 -16
- package/api/enrollment-accumulators-api.ts +38 -16
- package/api/enrollment-waiting-period-subscribers-api.ts +824 -0
- package/api/enrollment-waiting-periods-api.ts +824 -0
- package/api/ethnicity-codes-api.ts +114 -48
- package/api/event-args-api.ts +114 -48
- package/api/event-priority-levels-api.ts +19 -8
- package/api/event-schedules-api.ts +114 -48
- package/api/event-status-types-api.ts +19 -8
- package/api/events-api.ts +380 -160
- package/api/expense-types-api.ts +114 -48
- package/api/explaination-code-categories-api.ts +824 -0
- package/api/explanation-codes-api.ts +114 -48
- package/api/external-idapi.ts +114 -48
- package/api/fee-schedule-anesthesia-api.ts +114 -48
- package/api/fee-schedule-details-api.ts +114 -48
- package/api/fee-schedule-effective-dates-api.ts +95 -40
- package/api/fee-schedule-modifier-discounts-api.ts +114 -48
- package/api/fee-schedule-modifier-excludes-api.ts +114 -48
- package/api/fee-schedule-procedure-group-adjustments-api.ts +114 -48
- package/api/fee-schedule-provider-type-discounts-api.ts +114 -48
- package/api/fee-schedules-api.ts +362 -48
- package/api/flex-issuance-types-api.ts +114 -48
- package/api/flex-vendor-card-status-api.ts +114 -48
- package/api/flex-vendor-purse-status-api.ts +114 -48
- package/api/flex-vendors-api.ts +114 -48
- package/api/forfeiture-statuses-api.ts +114 -48
- package/api/frequency-intervals-api.ts +38 -16
- package/api/funding-account-api.ts +114 -48
- package/api/funding-account-category-api.ts +114 -48
- package/api/funding-account-signatures-api.ts +114 -48
- package/api/funding-account-type-api.ts +114 -48
- package/api/funding-api.ts +114 -48
- package/api/funding-deposits-api.ts +247 -48
- package/api/funding-indicators-api.ts +114 -48
- package/api/funding-issue-types-api.ts +114 -48
- package/api/funding-reconciliation-disbursements-api.ts +114 -48
- package/api/funding-reconciliation-on-statements-api.ts +114 -48
- package/api/funding-reconciliation-statuses-api.ts +114 -48
- package/api/funding-reconciliations-api.ts +114 -48
- package/api/funding-reconciliations-received-api.ts +114 -48
- package/api/funding-references-api.ts +114 -48
- package/api/funding-request-claims-api.ts +114 -48
- package/api/funding-request-statuses-api.ts +114 -48
- package/api/funding-request-types-api.ts +114 -48
- package/api/funding-requests-api.ts +114 -48
- package/api/funding-statement-formats-api.ts +114 -48
- package/api/funding-statuses-api.ts +114 -48
- package/api/funding-types-api.ts +114 -48
- package/api/grievance-admin-change-types-api.ts +114 -48
- package/api/grievance-categories-api.ts +114 -48
- package/api/grievance-issue-types-api.ts +114 -48
- package/api/grievance-resolution-types-api.ts +114 -48
- package/api/grievance-statuses-api.ts +114 -48
- package/api/grievance-types-api.ts +114 -48
- package/api/grievances-api.ts +133 -56
- package/api/group-account-periods-api.ts +114 -48
- package/api/group-account-reports-api.ts +114 -48
- package/api/group-advice-to-pay-api.ts +114 -48
- package/api/group-calculate-interest-network-options-api.ts +19 -8
- package/api/group-calculate-interest-options-api.ts +19 -8
- package/api/group-classes-api.ts +114 -48
- package/api/group-company-data-ex-code-overrides-api.ts +114 -48
- package/api/group-contract-network-types-api.ts +19 -8
- package/api/group-contract-plan-premiums-api.ts +114 -48
- package/api/group-contract-plan-rider-external-ids-api.ts +114 -48
- package/api/group-contract-plan-riders-api.ts +114 -48
- package/api/group-contract-plans-api.ts +114 -48
- package/api/group-contract-tiers-api.ts +114 -48
- package/api/group-contracts-api.ts +171 -72
- package/api/group-coverage-calculations-api.ts +19 -8
- package/api/group-division-captives-api.ts +114 -48
- package/api/group-division-cobras-api.ts +95 -40
- package/api/group-division-deduction-types-api.ts +95 -40
- package/api/group-division-idcodes-api.ts +114 -48
- package/api/group-divisions-api.ts +114 -48
- package/api/group-end-coverage-age-types-api.ts +19 -8
- package/api/group-ex-code-criterias-api.ts +114 -48
- package/api/group-flex-auto-create-api.ts +114 -48
- package/api/group-flex-schedules-api.ts +114 -48
- package/api/group-flexes-api.ts +114 -48
- package/api/group-irs1094-capi.ts +114 -48
- package/api/group-irs1095-bapi.ts +114 -48
- package/api/group-multiplier-options-api.ts +19 -8
- package/api/group-network-add-ons-api.ts +114 -48
- package/api/group-network-criteria-columns-api.ts +38 -16
- package/api/group-network-criterias-api.ts +114 -48
- package/api/group-networks-api.ts +114 -48
- package/api/group-participation-incentives-api.ts +114 -48
- package/api/group-pay-through-day-options-api.ts +19 -8
- package/api/group-payor-account-benefits-api.ts +114 -48
- package/api/group-payor-account-networks-api.ts +95 -40
- package/api/group-payor-account-pay-to-api.ts +95 -40
- package/api/group-payor-account-plan-types-api.ts +95 -40
- package/api/group-payor-account-provider-federal-ids-api.ts +95 -40
- package/api/group-payor-account-senders-api.ts +95 -40
- package/api/group-payor-account-settings-api.ts +114 -48
- package/api/group-plan-prior-accum-auto-generators-api.ts +114 -48
- package/api/group-plan-years-api.ts +114 -48
- package/api/group-premium-rate-categories-api.ts +95 -40
- package/api/group-price-adjustments-api.ts +114 -48
- package/api/group-self-admin-settings-api.ts +114 -48
- package/api/group-start-date-rules-api.ts +19 -8
- package/api/group-student-age-settings-api.ts +114 -48
- package/api/group-subscriber-reimbursements-api.ts +114 -48
- package/api/group-tax-day-limit-types-api.ts +19 -8
- package/api/group-term-rules-api.ts +19 -8
- package/api/group-ucpercent-claim-types-api.ts +114 -48
- package/api/group-ucpercent-settings-api.ts +114 -48
- package/api/group-vbaplan-types-api.ts +114 -48
- package/api/group-volumes-api.ts +114 -48
- package/api/groups-api.ts +152 -64
- package/api/hipaaadjustment-codes-api.ts +114 -48
- package/api/hipaabenefit-codes-api.ts +114 -48
- package/api/hipaaclaim-status-category-codes-api.ts +114 -48
- package/api/hipaaclaim-status-codes-api.ts +114 -48
- package/api/hipaaplan-types-api.ts +114 -48
- package/api/hipaareasons-api.ts +114 -48
- package/api/hipaarelationships-api.ts +114 -48
- package/api/hipaatiers-api.ts +114 -48
- package/api/idcard-record-statuses-api.ts +19 -8
- package/api/idcard-request-statuses-api.ts +19 -8
- package/api/idcode-types-api.ts +114 -48
- package/api/idcode-values-api.ts +114 -48
- package/api/idtypes-api.ts +114 -48
- package/api/insurance-carrier-types-api.ts +824 -0
- package/api/insurance-carriers-api.ts +824 -0
- package/api/insurance-types-api.ts +824 -0
- package/api/interface-types-api.ts +181 -0
- package/api/invoice-levels-api.ts +19 -8
- package/api/invoice-reasons-api.ts +114 -48
- package/api/job-execution-metadata-api.ts +114 -48
- package/api/job-executions-api.ts +114 -48
- package/api/job-types-api.ts +114 -48
- package/api/jobs-api.ts +114 -48
- package/api/language-skill-levels-api.ts +19 -8
- package/api/languages-api.ts +114 -48
- package/api/log-type-api.ts +38 -16
- package/api/marital-statuses-api.ts +114 -48
- package/api/member-account-plan-payments-api.ts +114 -48
- package/api/member-account-plans-api.ts +114 -48
- package/api/member-accounts-api.ts +114 -48
- package/api/member-accum-api.ts +114 -48
- package/api/member-address-api.ts +76 -32
- package/api/member-beneficiary-api.ts +114 -48
- package/api/member-beneficiary-plans-api.ts +114 -48
- package/api/member-care-alerts-api.ts +114 -48
- package/api/member-case-heads-api.ts +114 -48
- package/api/member-classes-api.ts +114 -48
- package/api/member-cobsavings-api.ts +114 -48
- package/api/member-colleges-api.ts +114 -48
- package/api/member-eligibility-status-api.ts +114 -48
- package/api/member-enrollment-plan-rider-api.ts +114 -48
- package/api/member-enrollment-plans-api.ts +114 -48
- package/api/member-idcard-request-types-api.ts +114 -48
- package/api/member-idcard-requests-api.ts +114 -48
- package/api/member-idcards-printed-api.ts +114 -48
- package/api/member-insurance-api.ts +114 -48
- package/api/member-languages-api.ts +114 -48
- package/api/member-medicare-reponsibility-api.ts +114 -48
- package/api/member-networks-api.ts +114 -48
- package/api/member-occupations-api.ts +114 -48
- package/api/member-payments-api.ts +114 -48
- package/api/member-plan-years-api.ts +114 -48
- package/api/member-pre-existing-diagnostic-codes-api.ts +114 -48
- package/api/member-prior-accumulators-api.ts +114 -48
- package/api/member-provider-alternates-api.ts +114 -48
- package/api/member-providers-api.ts +114 -48
- package/api/member-taxes-api.ts +114 -48
- package/api/member-tooth-api.ts +114 -48
- package/api/member-tooth-ex-codes-api.ts +114 -48
- package/api/member-vbaplan-type-ids-api.ts +114 -48
- package/api/members-api.ts +133 -56
- package/api/modifiers-api.ts +114 -48
- package/api/networks-api.ts +114 -48
- package/api/note-attachments-api.ts +114 -48
- package/api/note-categories-api.ts +114 -48
- package/api/note-category-types-api.ts +95 -40
- package/api/note-data-api.ts +133 -56
- package/api/note-priorities-api.ts +114 -48
- package/api/note-references-api.ts +114 -48
- package/api/note-sources-api.ts +114 -48
- package/api/note-types-api.ts +114 -48
- package/api/objects-api.ts +57 -24
- package/api/occupations-api.ts +824 -0
- package/api/payees-api.ts +114 -48
- package/api/payment-schedules-api.ts +824 -0
- package/api/payor-account-notifications-api.ts +95 -40
- package/api/payor-account-signatures-api.ts +114 -48
- package/api/payor-accounts-api.ts +114 -48
- package/api/payor-api.ts +114 -48
- package/api/pbmtypes-api.ts +114 -48
- package/api/places-of-service-api.ts +114 -48
- package/api/plan-accumulator-benefits-api.ts +95 -40
- package/api/plan-accumulators-api.ts +114 -48
- package/api/plan-auth-penalties-api.ts +114 -48
- package/api/plan-auth-penalty-benefits-api.ts +95 -40
- package/api/plan-benefit-cascades-api.ts +95 -40
- package/api/plan-benefit-diagnosis-ex-codes-api.ts +114 -48
- package/api/plan-benefit-diagnostic-codes-api.ts +114 -48
- package/api/plan-benefit-levels-api.ts +114 -48
- package/api/plan-benefit-maximums-api.ts +95 -40
- package/api/plan-benefit-modifier-ex-codes-api.ts +114 -48
- package/api/plan-benefit-pbmco-pays-api.ts +114 -48
- package/api/plan-benefit-place-authorizations-api.ts +114 -48
- package/api/plan-benefit-place-co-insurance-api.ts +114 -48
- package/api/plan-benefit-place-co-pays-api.ts +114 -48
- package/api/plan-benefit-place-ex-codes-api.ts +114 -48
- package/api/plan-benefit-places-api.ts +114 -48
- package/api/plan-benefit-procedure-ex-codes-api.ts +114 -48
- package/api/plan-benefit-procedure-maximums-api.ts +114 -48
- package/api/plan-benefit-procedures-api.ts +114 -48
- package/api/plan-benefit-provider-types-api.ts +114 -48
- package/api/plan-benefit-rates-api.ts +114 -48
- package/api/plan-benefit-specialties-api.ts +114 -48
- package/api/plan-benefit-tooth-maximums-api.ts +95 -40
- package/api/plan-benefits-api.ts +133 -56
- package/api/plan-diagnosis-age-restrictions-api.ts +114 -48
- package/api/plan-disability-limits-api.ts +114 -48
- package/api/plan-display-types-api.ts +114 -48
- package/api/plan-displays-api.ts +114 -48
- package/api/plan-lineage-details-api.ts +114 -48
- package/api/plan-lineages-api.ts +114 -48
- package/api/plan-maximums-api.ts +114 -48
- package/api/plan-modifiers-api.ts +114 -48
- package/api/plan-pre-existing-coverages-api.ts +114 -48
- package/api/plan-procedure-age-restriction-modifiers-api.ts +114 -48
- package/api/plan-procedure-age-restrictions-api.ts +114 -48
- package/api/plan-relationship-age-restrictions-api.ts +114 -48
- package/api/plan-types-api.ts +114 -48
- package/api/plans-api.ts +114 -48
- package/api/policy-forfeiture-ext-details-api.ts +38 -16
- package/api/policy-statuses-api.ts +114 -48
- package/api/premium-distributions-api.ts +114 -48
- package/api/premium-invoice-adjustments-api.ts +114 -48
- package/api/premium-invoice-adjustments-received-api.ts +114 -48
- package/api/premium-invoice-payments-api.ts +114 -48
- package/api/premium-invoice-subscriber-details-api.ts +114 -48
- package/api/premium-invoice-subscribers-api.ts +114 -48
- package/api/premium-invoices-api.ts +114 -48
- package/api/premium-invoices-received-api.ts +114 -48
- package/api/premium-invoices-self-admin-api.ts +114 -48
- package/api/premium-invoices-self-admin-received-api.ts +114 -48
- package/api/premium-past-due-group-triggers-api.ts +114 -48
- package/api/premium-past-due-subscriber-triggers-api.ts +114 -48
- package/api/premium-past-due-triggers-api.ts +114 -48
- package/api/premium-payment-file-formats-api.ts +114 -48
- package/api/premium-payment-types-api.ts +114 -48
- package/api/premium-payments-api.ts +114 -48
- package/api/premium-payments-on-accounts-api.ts +114 -48
- package/api/premium-payments-on-subscribers-api.ts +114 -48
- package/api/premium-rate-age-types-api.ts +114 -48
- package/api/premium-rate-basis-api.ts +114 -48
- package/api/premium-rate-categories-api.ts +114 -48
- package/api/premium-rate-excludes-api.ts +114 -48
- package/api/premium-rate-members-api.ts +114 -48
- package/api/premium-rate-min-max-api.ts +114 -48
- package/api/premium-rate-min-max-details-api.ts +114 -48
- package/api/premium-rate-pace-types-api.ts +114 -48
- package/api/premium-rate-paces-api.ts +114 -48
- package/api/premium-rate-payees-api.ts +114 -48
- package/api/premium-rate-zipcodes-api.ts +114 -48
- package/api/premium-rates-api.ts +114 -48
- package/api/procedure-categories-api.ts +114 -48
- package/api/procedure-cluster-details-api.ts +872 -0
- package/api/procedure-clusters-api.ts +824 -0
- package/api/procedure-code-qualifiers-api.ts +824 -0
- package/api/procedure-code-sets-api.ts +872 -0
- package/api/procedure-codes-api.ts +114 -48
- package/api/procedure-groups-api.ts +114 -48
- package/api/process-logging-api.ts +95 -40
- package/api/process-parameters-api.ts +95 -40
- package/api/processes-api.ts +76 -32
- package/api/provider-account-api.ts +114 -48
- package/api/provider-affiliation-api.ts +114 -48
- package/api/provider-alternate-api.ts +114 -48
- package/api/provider-apcapi.ts +114 -48
- package/api/provider-api.ts +95 -40
- package/api/provider-benefit-admin-fees-api.ts +114 -48
- package/api/provider-cliacertificate-api.ts +114 -48
- package/api/provider-credentialing-amounts-api.ts +114 -48
- package/api/provider-credentialing-api.ts +114 -48
- package/api/provider-credentialing-attestations-api.ts +114 -48
- package/api/provider-credentialing-certifications-api.ts +114 -48
- package/api/provider-credentialing-confidentials-api.ts +95 -40
- package/api/provider-credentialing-contracts-api.ts +114 -48
- package/api/provider-credentialing-counties-api.ts +114 -48
- package/api/provider-credentialing-dates-api.ts +114 -48
- package/api/provider-credentialing-education-api.ts +114 -48
- package/api/provider-credentialing-hours-api.ts +114 -48
- package/api/provider-credentialing-hyperlinks-api.ts +114 -48
- package/api/provider-credentialing-licenses-api.ts +114 -48
- package/api/provider-credentialing-malpractice-api.ts +114 -48
- package/api/provider-credentialing-options-api.ts +114 -48
- package/api/provider-credentialing-practice-offices-api.ts +114 -48
- package/api/provider-credentialing-practices-api.ts +114 -48
- package/api/provider-credentialing-quality-api.ts +114 -48
- package/api/provider-credentialing-services-api.ts +114 -48
- package/api/provider-credentialing-techniques-api.ts +114 -48
- package/api/provider-credentialing-terminations-api.ts +114 -48
- package/api/provider-drgapi.ts +114 -48
- package/api/provider-languages-api.ts +114 -48
- package/api/provider-network-api.ts +114 -48
- package/api/provider-network-modifier-api.ts +114 -48
- package/api/provider-payee-api.ts +114 -48
- package/api/provider-per-diem-api.ts +114 -48
- package/api/provider-per-diem-procedure-api.ts +76 -32
- package/api/provider-practice-types-api.ts +114 -48
- package/api/provider-profile-api.ts +57 -24
- package/api/provider-rate-adjustments-api.ts +114 -48
- package/api/provider-rate-column-api.ts +38 -16
- package/api/provider-rate-criteria-api.ts +114 -48
- package/api/provider-rate-types-api.ts +19 -8
- package/api/provider-rates-api.ts +114 -48
- package/api/provider-specialty-api.ts +95 -40
- package/api/provider-suffix-api.ts +114 -48
- package/api/provider-taxonomy-api.ts +114 -48
- package/api/provider-types-api.ts +114 -48
- package/api/provider-withhold-api.ts +114 -48
- package/api/reasons-api.ts +114 -48
- package/api/reimburse-schedules-api.ts +824 -0
- package/api/reinsurance-accumulators-api.ts +114 -48
- package/api/reinsurance-aggregating-specific-members-api.ts +95 -40
- package/api/reinsurance-contract-criteria-details-api.ts +114 -48
- package/api/reinsurance-contract-criterias-api.ts +114 -48
- package/api/reinsurance-contract-cycles-api.ts +114 -48
- package/api/reinsurance-contract-factor-criterias-api.ts +114 -48
- package/api/reinsurance-contract-factors-api.ts +114 -48
- package/api/reinsurance-contract-levels-api.ts +114 -48
- package/api/reinsurance-contract-status-api.ts +114 -48
- package/api/reinsurance-contract-templates-api.ts +95 -40
- package/api/reinsurance-contract-transaction-claim-details-api.ts +114 -48
- package/api/reinsurance-contract-transaction-claim-statuses-api.ts +114 -48
- package/api/reinsurance-contract-transaction-claims-api.ts +114 -48
- package/api/reinsurance-contract-transaction-reimbursements-api.ts +114 -48
- package/api/reinsurance-contract-transaction-statuses-api.ts +114 -48
- package/api/reinsurance-contract-transactions-api.ts +114 -48
- package/api/reinsurance-contract-types-api.ts +114 -48
- package/api/reinsurance-contracts-api.ts +114 -48
- package/api/reinsurance-member-specific-deductibles-api.ts +114 -48
- package/api/reinsurance-notify-user-groups-api.ts +95 -40
- package/api/reinsurance-notify-users-api.ts +95 -40
- package/api/relationships-api.ts +114 -48
- package/api/report-categories-api.ts +114 -48
- package/api/report-definitions-api.ts +114 -48
- package/api/report-queue-detail-arguments-api.ts +114 -48
- package/api/report-queue-details-api.ts +114 -48
- package/api/report-queue-logs-api.ts +114 -48
- package/api/report-queue-schedules-api.ts +114 -48
- package/api/report-queues-api.ts +114 -48
- package/api/report-series-api.ts +114 -48
- package/api/report-series-process-arguments-api.ts +114 -48
- package/api/report-series-process-templates-api.ts +114 -48
- package/api/report-series-processes-api.ts +114 -48
- package/api/report-series-step-arguments-api.ts +114 -48
- package/api/report-series-steps-api.ts +114 -48
- package/api/report-series-tracking-arguments-api.ts +114 -48
- package/api/report-tracking-api.ts +114 -48
- package/api/report-tracking-priorities-api.ts +114 -48
- package/api/report-tracking-received-statuses-api.ts +114 -48
- package/api/report-tracking-sent-statuses-api.ts +114 -48
- package/api/report-tracking-sent-to-api.ts +114 -48
- package/api/report-tracking-statuses-api.ts +114 -48
- package/api/rounding-precision-api.ts +38 -16
- package/api/rounding-types-api.ts +38 -16
- package/api/search-criteria-api.ts +114 -48
- package/api/search-operators-api.ts +38 -16
- package/api/search-request-api.ts +19 -8
- package/api/security-area-objects-api.ts +114 -48
- package/api/security-area-overrides-api.ts +114 -48
- package/api/security-area-reports-api.ts +114 -48
- package/api/security-area-user-groups-api.ts +95 -40
- package/api/security-area-users-api.ts +114 -48
- package/api/security-areas-api.ts +114 -48
- package/api/security-group-division-user-groups-api.ts +114 -48
- package/api/security-group-division-users-api.ts +114 -48
- package/api/security-levels-api.ts +38 -16
- package/api/security-user-limit-member-claim-data-api.ts +114 -48
- package/api/security-user-restrictions-api.ts +114 -48
- package/api/send-to-api.ts +114 -48
- package/api/sex-codes-api.ts +38 -16
- package/api/signatures-api.ts +114 -48
- package/api/specialty-api.ts +114 -48
- package/api/states-api.ts +114 -48
- package/api/subscriber-accumulators-api.ts +114 -48
- package/api/subscriber-enrollment-plan-riders-api.ts +114 -48
- package/api/subscriber-enrollment-plans-api.ts +114 -48
- package/api/subscriber-enrollments-api.ts +114 -48
- package/api/subscriber-flex-api.ts +114 -48
- package/api/subscriber-flex-exports-api.ts +114 -48
- package/api/subscriber-flex-payments-api.ts +114 -48
- package/api/subscriber-idcode-history-api.ts +114 -48
- package/api/subscriber-idcodes-api.ts +114 -48
- package/api/subscriber-plan-forfeitures-api.ts +95 -40
- package/api/subscriber-plan-policies-api.ts +114 -48
- package/api/subscriber-plan-policy-forfeitures-api.ts +38 -16
- package/api/subscriber-plan-policy-statuses-api.ts +114 -48
- package/api/subscriber-premium-rate-splits-api.ts +114 -48
- package/api/subscriber-prior-accumulators-api.ts +114 -48
- package/api/subscriber-waive-premiums-api.ts +114 -48
- package/api/subscribers-api.ts +228 -96
- package/api/suffix-api.ts +114 -48
- package/api/suspense-types-api.ts +824 -0
- package/api/tax-filing-status-api.ts +114 -48
- package/api/taxonomy-api.ts +114 -48
- package/api/taxonomy-group-details-api.ts +114 -48
- package/api/taxonomy-groups-api.ts +114 -48
- package/api/tiers-api.ts +114 -48
- package/api/timely-filing-api.ts +114 -48
- package/api/tooth-actions-api.ts +114 -48
- package/api/tooth-api.ts +114 -48
- package/api/tooth-chart-types-api.ts +114 -48
- package/api/tooth-charts-api.ts +114 -48
- package/api/tooth-procedures-api.ts +114 -48
- package/api/tooth-quadrants-api.ts +114 -48
- package/api/transplant-types-api.ts +19 -8
- package/api/treatment-types-api.ts +114 -48
- package/api/unassigned-commission-adjustments-api.ts +19 -8
- package/api/user-amount-api.ts +114 -48
- package/api/user-amount-procedure-api.ts +114 -48
- package/api/user-api.ts +114 -48
- package/api/user-experience-api.ts +38 -16
- package/api/user-group-mappings-api.ts +95 -40
- package/api/user-groups-api.ts +114 -48
- package/api/user-log-types-api.ts +95 -40
- package/api/user-note-access-api.ts +114 -48
- package/api/vbagateway-subscription-api.ts +114 -48
- package/api/vbagateway-subscription-detail-api.ts +114 -48
- package/api/vbainterface-idcodes-api.ts +114 -48
- package/api/vbainterface-map-types-api.ts +114 -48
- package/api/vbainterface-statuses-api.ts +114 -48
- package/api/vbainterface-types-api.ts +114 -48
- package/api/vbainterface-vendors-api.ts +114 -48
- package/api/vbainterfaces-api.ts +114 -48
- package/api/vbaplan-types-api.ts +38 -16
- package/api/volume-types-api.ts +38 -16
- package/api/workflow-details-api.ts +114 -48
- package/api/workflow-task-options-api.ts +95 -40
- package/api/workflow-task-users-api.ts +114 -48
- package/api/workflow-tasks-api.ts +114 -48
- package/api/workflow-type-task-options-api.ts +114 -48
- package/api/workflow-types-api.ts +114 -48
- package/api/workflow-users-api.ts +114 -48
- package/api/workflows-api.ts +114 -48
- package/api/yes-no-list-api.ts +19 -8
- package/api/zip-codes-api.ts +114 -48
- package/api.ts +26 -0
- package/models/admission-type-place-list-vbaresponse.ts +45 -0
- package/models/admission-type-place-vbaresponse.ts +45 -0
- package/models/admission-type-place.ts +66 -0
- package/models/care-case-action.ts +4 -4
- package/models/care-case-auth.ts +4 -4
- package/models/care-case-clinical-fact-category-type.ts +4 -4
- package/models/care-case-clinical-fact-category.ts +4 -4
- package/models/care-case-clinical-fact.ts +4 -4
- package/models/care-case-clinical-trial-arm.ts +4 -4
- package/models/care-case-clinical-trial-reason.ts +4 -4
- package/models/care-case-clinical-trial-study-phase.ts +4 -4
- package/models/care-case-compliance.ts +4 -4
- package/models/care-case-concordance.ts +4 -4
- package/models/care-case-detail.ts +4 -4
- package/models/care-case-diagnosis.ts +4 -4
- package/models/care-case-eligibility-status.ts +4 -4
- package/models/care-case-emetic-risk.ts +4 -4
- package/models/care-case-intake-secondary-type.ts +4 -4
- package/models/care-case-intake-type.ts +4 -4
- package/models/care-case-intake.ts +4 -4
- package/models/care-case-intent.ts +4 -4
- package/models/care-case-log-entry-type.ts +4 -4
- package/models/care-case-lot.ts +4 -4
- package/models/care-case-medication.ts +4 -4
- package/models/care-case-member.ts +4 -4
- package/models/care-case-neutropenic-risk.ts +4 -4
- package/models/care-case-provider.ts +4 -4
- package/models/care-case-savings-secondary-type.ts +4 -4
- package/models/care-case-savings-type.ts +4 -4
- package/models/care-case-savings.ts +4 -4
- package/models/care-case-stage.ts +4 -4
- package/models/care-case-treatment-type.ts +4 -4
- package/models/care-case-treatment.ts +4 -4
- package/models/care-case-work-log-savings-type.ts +4 -4
- package/models/care-case-work-log-type.ts +4 -4
- package/models/care-case-work-log.ts +4 -4
- package/models/care-case-work-secondary-log-type.ts +4 -4
- package/models/care-case.ts +4 -4
- package/models/care-manager-care-plan.ts +4 -4
- package/models/care-manager-care-type.ts +4 -4
- package/models/care-manager-case.ts +4 -4
- package/models/care-manager-mapping.ts +4 -4
- package/models/care-manager-type.ts +4 -4
- package/models/care-manager.ts +4 -4
- package/models/care-plan-category.ts +4 -4
- package/models/care-plan-custom-value.ts +4 -4
- package/models/care-plan-detail.ts +4 -4
- package/models/care-plan-rule-criteria.ts +4 -4
- package/models/care-plan-rule-detail.ts +4 -4
- package/models/care-plan-rule.ts +4 -4
- package/models/care-plan-score-detail.ts +4 -4
- package/models/care-plan-score.ts +4 -4
- package/models/care-plan.ts +4 -4
- package/models/care-type.ts +4 -4
- package/models/care-unit-care-manager.ts +4 -4
- package/models/care-unit.ts +4 -4
- package/models/case-attachment-type.ts +4 -4
- package/models/case-head-type.ts +4 -4
- package/models/case-head.ts +4 -4
- package/models/case-medical-concordance-level.ts +4 -4
- package/models/case-priority.ts +4 -4
- package/models/case-reason.ts +4 -4
- package/models/case-status-reason.ts +4 -4
- package/models/case-status.ts +4 -4
- package/models/college-list-vbaresponse.ts +45 -0
- package/models/college-type-list-vbaresponse.ts +45 -0
- package/models/college-type-vbaresponse.ts +45 -0
- package/models/college-type.ts +60 -0
- package/models/college-vbaresponse.ts +45 -0
- package/models/college.ts +126 -0
- package/models/commission-activity.ts +4 -4
- package/models/commission-adjustment-reason.ts +4 -4
- package/models/commission-adjustment-type.ts +4 -4
- package/models/commission-adjustment.ts +4 -4
- package/models/commission-agency-rep-rate.ts +4 -4
- package/models/commission-agency-rep.ts +4 -4
- package/models/commission-agency-type.ts +4 -4
- package/models/commission-agency.ts +4 -4
- package/models/commission-appointment-type.ts +4 -4
- package/models/commission-basis.ts +4 -4
- package/models/commission-category.ts +4 -4
- package/models/commission-cycle.ts +4 -4
- package/models/commission-license-type.ts +4 -4
- package/models/commission-rate-cluster-rate.ts +4 -4
- package/models/commission-rate-cluster.ts +4 -4
- package/models/commission-rate-subscriber.ts +4 -4
- package/models/commission-rate.ts +4 -4
- package/models/commission-rep-account.ts +4 -4
- package/models/commission-rep-appoint.ts +4 -4
- package/models/commission-rep-group.ts +4 -4
- package/models/commission-rep-license.ts +4 -4
- package/models/commission-rep-subscriber.ts +4 -4
- package/models/commission-rep-type.ts +4 -4
- package/models/commission-rep.ts +4 -4
- package/models/commission-transaction.ts +4 -4
- package/models/commission.ts +4 -4
- package/models/company-data.ts +391 -385
- package/models/contact-assign-list-vbaresponse.ts +45 -0
- package/models/contact-assign-vbaresponse.ts +45 -0
- package/models/contact-assign.ts +174 -0
- package/models/contact-category-list-vbaresponse.ts +45 -0
- package/models/contact-category-vbaresponse.ts +45 -0
- package/models/contact-category.ts +60 -0
- package/models/contact-email-list-vbaresponse.ts +45 -0
- package/models/contact-email-vbaresponse.ts +45 -0
- package/models/contact-email.ts +72 -0
- package/models/contact-list-vbaresponse.ts +45 -0
- package/models/contact-mapping-list-vbaresponse.ts +45 -0
- package/models/contact-mapping-vbaresponse.ts +45 -0
- package/models/contact-mapping.ts +60 -0
- package/models/contact-status-list-vbaresponse.ts +45 -0
- package/models/contact-status-vbaresponse.ts +45 -0
- package/models/contact-status.ts +60 -0
- package/models/contact-vbaresponse.ts +45 -0
- package/models/contact.ts +162 -0
- package/models/contribution-schedule-list-vbaresponse.ts +45 -0
- package/models/contribution-schedule-vbaresponse.ts +45 -0
- package/models/contribution-schedule.ts +72 -0
- package/models/country-dialing-code-list-vbaresponse.ts +45 -0
- package/models/country-dialing-code-vbaresponse.ts +45 -0
- package/models/country-dialing-code.ts +66 -0
- package/models/diagnostic-code.ts +4 -4
- package/models/enrollment-waiting-period-list-vbaresponse.ts +45 -0
- package/models/enrollment-waiting-period-subscriber-list-vbaresponse.ts +45 -0
- package/models/enrollment-waiting-period-subscriber-vbaresponse.ts +45 -0
- package/models/enrollment-waiting-period-subscriber.ts +78 -0
- package/models/enrollment-waiting-period-vbaresponse.ts +45 -0
- package/models/enrollment-waiting-period.ts +102 -0
- package/models/explanation-code-category-list-vbaresponse.ts +45 -0
- package/models/explanation-code-category-vbaresponse.ts +45 -0
- package/models/explanation-code-category.ts +66 -0
- package/models/fee-sched-copy.ts +66 -0
- package/models/funding-account.ts +68 -44
- package/models/index.ts +76 -0
- package/models/insurance-carrier-list-vbaresponse.ts +45 -0
- package/models/insurance-carrier-type-list-vbaresponse.ts +45 -0
- package/models/insurance-carrier-type-vbaresponse.ts +45 -0
- package/models/insurance-carrier-type.ts +60 -0
- package/models/insurance-carrier-vbaresponse.ts +45 -0
- package/models/insurance-carrier.ts +192 -0
- package/models/insurance-type-list-vbaresponse.ts +45 -0
- package/models/insurance-type-vbaresponse.ts +45 -0
- package/models/insurance-type.ts +60 -0
- package/models/note-data.ts +4 -4
- package/models/occupation-list-vbaresponse.ts +45 -0
- package/models/occupation-vbaresponse.ts +45 -0
- package/models/occupation.ts +66 -0
- package/models/payment-schedule-list-vbaresponse.ts +45 -0
- package/models/payment-schedule-vbaresponse.ts +45 -0
- package/models/payment-schedule.ts +72 -0
- package/models/prem-distribution.ts +4 -4
- package/models/prem-invoice-adj-received.ts +4 -4
- package/models/prem-invoice-payment.ts +4 -4
- package/models/prem-past-due-trigger-group.ts +4 -4
- package/models/prem-past-due-trigger-subscriber.ts +4 -4
- package/models/prem-past-due-trigger.ts +4 -4
- package/models/prem-payment-file-format.ts +4 -4
- package/models/prem-payment-on-account.ts +4 -4
- package/models/prem-payment-subscriber.ts +4 -4
- package/models/prem-payment-type.ts +4 -4
- package/models/prem-payment.ts +4 -4
- package/models/prem-rate-age-type.ts +4 -4
- package/models/prem-rate-basis.ts +4 -4
- package/models/prem-rate-category.ts +4 -4
- package/models/prem-rate-exclude.ts +4 -4
- package/models/prem-rate-member.ts +4 -4
- package/models/prem-rate-min-max-detail.ts +4 -4
- package/models/prem-rate-min-max.ts +4 -4
- package/models/prem-rate-pace-type.ts +4 -4
- package/models/prem-rate-pace.ts +4 -4
- package/models/prem-rate-payee.ts +4 -4
- package/models/prem-rate-zip.ts +4 -4
- package/models/prem-rate.ts +4 -4
- package/models/procedure-cluster-detail-list-vbaresponse.ts +45 -0
- package/models/procedure-cluster-detail-vbaresponse.ts +45 -0
- package/models/procedure-cluster-detail.ts +84 -0
- package/models/procedure-cluster-list-vbaresponse.ts +45 -0
- package/models/procedure-cluster-vbaresponse.ts +45 -0
- package/models/procedure-cluster.ts +60 -0
- package/models/procedure-code-qualifier-list-vbaresponse.ts +45 -0
- package/models/procedure-code-qualifier-vbaresponse.ts +45 -0
- package/models/procedure-code-qualifier.ts +60 -0
- package/models/procedure-code-set-list-vbaresponse.ts +45 -0
- package/models/procedure-code-set-vbaresponse.ts +45 -0
- package/models/procedure-code-set.ts +66 -0
- package/models/provider-withhold.ts +4 -4
- package/models/reimburse-schedule-list-vbaresponse.ts +45 -0
- package/models/reimburse-schedule-vbaresponse.ts +45 -0
- package/models/reimburse-schedule.ts +72 -0
- package/models/suspense-type-list-vbaresponse.ts +45 -0
- package/models/suspense-type-vbaresponse.ts +45 -0
- package/models/suspense-type.ts +60 -0
- package/package.json +1 -1
|
@@ -0,0 +1,824 @@
|
|
|
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 { Contact } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { ContactListVBAResponse } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { ContactVBAResponse } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { MultiCodeResponseListVBAResponse } from '../models';
|
|
31
|
+
/**
|
|
32
|
+
* ContactsApi - axios parameter creator
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const ContactsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new Contact
|
|
39
|
+
* @summary Create Contact
|
|
40
|
+
* @param {string} vbapiClientCode Client code
|
|
41
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
42
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
43
|
+
* @param {string} clientId Client ID
|
|
44
|
+
* @param {Contact} contact
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
createContact: async (vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contact: Contact, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
// verify required parameter 'vbapiClientCode' is not null or undefined
|
|
50
|
+
assertParamExists('createContact', 'vbapiClientCode', vbapiClientCode)
|
|
51
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
52
|
+
assertParamExists('createContact', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
53
|
+
// verify required parameter 'vbasoftwareUser' is not null or undefined
|
|
54
|
+
assertParamExists('createContact', 'vbasoftwareUser', vbasoftwareUser)
|
|
55
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
56
|
+
assertParamExists('createContact', 'clientId', clientId)
|
|
57
|
+
// verify required parameter 'contact' is not null or undefined
|
|
58
|
+
assertParamExists('createContact', 'contact', contact)
|
|
59
|
+
const localVarPath = `/clients/{clientId}/contacts`
|
|
60
|
+
.replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
|
|
61
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63
|
+
let baseOptions;
|
|
64
|
+
if (configuration) {
|
|
65
|
+
baseOptions = configuration.baseOptions;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
69
|
+
const localVarHeaderParameter = {} as any;
|
|
70
|
+
const localVarQueryParameter = {} as any;
|
|
71
|
+
|
|
72
|
+
// authentication VBAPIKey required
|
|
73
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
74
|
+
|
|
75
|
+
if (vbapiClientCode !== undefined && vbapiClientCode !== null) {
|
|
76
|
+
localVarHeaderParameter['vbapi-client-code'] = String(vbapiClientCode);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
80
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if (vbasoftwareUser !== undefined && vbasoftwareUser !== null) {
|
|
84
|
+
localVarHeaderParameter['vbasoftware-user'] = String(vbasoftwareUser);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
90
|
+
|
|
91
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
92
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
93
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
94
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contact, localVarRequestOptions, configuration)
|
|
95
|
+
|
|
96
|
+
return {
|
|
97
|
+
url: toPathString(localVarUrlObj),
|
|
98
|
+
options: localVarRequestOptions,
|
|
99
|
+
};
|
|
100
|
+
},
|
|
101
|
+
/**
|
|
102
|
+
* Deletes an Contact
|
|
103
|
+
* @summary Delete Contact
|
|
104
|
+
* @param {string} vbapiClientCode Client code
|
|
105
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
106
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
107
|
+
* @param {string} clientId Client ID
|
|
108
|
+
* @param {number} contactKey Contact Key
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
deleteContact: async (vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
113
|
+
// verify required parameter 'vbapiClientCode' is not null or undefined
|
|
114
|
+
assertParamExists('deleteContact', 'vbapiClientCode', vbapiClientCode)
|
|
115
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
116
|
+
assertParamExists('deleteContact', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
117
|
+
// verify required parameter 'vbasoftwareUser' is not null or undefined
|
|
118
|
+
assertParamExists('deleteContact', 'vbasoftwareUser', vbasoftwareUser)
|
|
119
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
120
|
+
assertParamExists('deleteContact', 'clientId', clientId)
|
|
121
|
+
// verify required parameter 'contactKey' is not null or undefined
|
|
122
|
+
assertParamExists('deleteContact', 'contactKey', contactKey)
|
|
123
|
+
const localVarPath = `/clients/{clientId}/contacts/{contactKey}`
|
|
124
|
+
.replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)))
|
|
125
|
+
.replace(`{${"contactKey"}}`, encodeURIComponent(String(contactKey)));
|
|
126
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
127
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
128
|
+
let baseOptions;
|
|
129
|
+
if (configuration) {
|
|
130
|
+
baseOptions = configuration.baseOptions;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
134
|
+
const localVarHeaderParameter = {} as any;
|
|
135
|
+
const localVarQueryParameter = {} as any;
|
|
136
|
+
|
|
137
|
+
// authentication VBAPIKey required
|
|
138
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
139
|
+
|
|
140
|
+
if (vbapiClientCode !== undefined && vbapiClientCode !== null) {
|
|
141
|
+
localVarHeaderParameter['vbapi-client-code'] = String(vbapiClientCode);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
145
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (vbasoftwareUser !== undefined && vbasoftwareUser !== null) {
|
|
149
|
+
localVarHeaderParameter['vbasoftware-user'] = String(vbasoftwareUser);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
155
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
156
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
157
|
+
|
|
158
|
+
return {
|
|
159
|
+
url: toPathString(localVarUrlObj),
|
|
160
|
+
options: localVarRequestOptions,
|
|
161
|
+
};
|
|
162
|
+
},
|
|
163
|
+
/**
|
|
164
|
+
* Gets Contact
|
|
165
|
+
* @summary Get Contact
|
|
166
|
+
* @param {string} vbapiClientCode Client code
|
|
167
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
168
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
169
|
+
* @param {string} clientId Client ID
|
|
170
|
+
* @param {number} contactKey Contact Key
|
|
171
|
+
* @param {*} [options] Override http request option.
|
|
172
|
+
* @throws {RequiredError}
|
|
173
|
+
*/
|
|
174
|
+
getContact: async (vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
175
|
+
// verify required parameter 'vbapiClientCode' is not null or undefined
|
|
176
|
+
assertParamExists('getContact', 'vbapiClientCode', vbapiClientCode)
|
|
177
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
178
|
+
assertParamExists('getContact', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
179
|
+
// verify required parameter 'vbasoftwareUser' is not null or undefined
|
|
180
|
+
assertParamExists('getContact', 'vbasoftwareUser', vbasoftwareUser)
|
|
181
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
182
|
+
assertParamExists('getContact', 'clientId', clientId)
|
|
183
|
+
// verify required parameter 'contactKey' is not null or undefined
|
|
184
|
+
assertParamExists('getContact', 'contactKey', contactKey)
|
|
185
|
+
const localVarPath = `/clients/{clientId}/contacts/{contactKey}`
|
|
186
|
+
.replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)))
|
|
187
|
+
.replace(`{${"contactKey"}}`, encodeURIComponent(String(contactKey)));
|
|
188
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
189
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
190
|
+
let baseOptions;
|
|
191
|
+
if (configuration) {
|
|
192
|
+
baseOptions = configuration.baseOptions;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
196
|
+
const localVarHeaderParameter = {} as any;
|
|
197
|
+
const localVarQueryParameter = {} as any;
|
|
198
|
+
|
|
199
|
+
// authentication VBAPIKey required
|
|
200
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
201
|
+
|
|
202
|
+
if (vbapiClientCode !== undefined && vbapiClientCode !== null) {
|
|
203
|
+
localVarHeaderParameter['vbapi-client-code'] = String(vbapiClientCode);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
207
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
if (vbasoftwareUser !== undefined && vbasoftwareUser !== null) {
|
|
211
|
+
localVarHeaderParameter['vbasoftware-user'] = String(vbasoftwareUser);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
217
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
218
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
219
|
+
|
|
220
|
+
return {
|
|
221
|
+
url: toPathString(localVarUrlObj),
|
|
222
|
+
options: localVarRequestOptions,
|
|
223
|
+
};
|
|
224
|
+
},
|
|
225
|
+
/**
|
|
226
|
+
* Lists all Contact
|
|
227
|
+
* @summary List Contact
|
|
228
|
+
* @param {string} vbapiClientCode Client code
|
|
229
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
230
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
231
|
+
* @param {string} clientId Client ID
|
|
232
|
+
* @param {number} [page] Page
|
|
233
|
+
* @param {number} [pageSize] Page Size
|
|
234
|
+
* @param {*} [options] Override http request option.
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
listContact: async (vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
238
|
+
// verify required parameter 'vbapiClientCode' is not null or undefined
|
|
239
|
+
assertParamExists('listContact', 'vbapiClientCode', vbapiClientCode)
|
|
240
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
241
|
+
assertParamExists('listContact', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
242
|
+
// verify required parameter 'vbasoftwareUser' is not null or undefined
|
|
243
|
+
assertParamExists('listContact', 'vbasoftwareUser', vbasoftwareUser)
|
|
244
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
245
|
+
assertParamExists('listContact', 'clientId', clientId)
|
|
246
|
+
const localVarPath = `/clients/{clientId}/contacts`
|
|
247
|
+
.replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
|
|
248
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
249
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
250
|
+
let baseOptions;
|
|
251
|
+
if (configuration) {
|
|
252
|
+
baseOptions = configuration.baseOptions;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
256
|
+
const localVarHeaderParameter = {} as any;
|
|
257
|
+
const localVarQueryParameter = {} as any;
|
|
258
|
+
|
|
259
|
+
// authentication VBAPIKey required
|
|
260
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
261
|
+
|
|
262
|
+
if (page !== undefined) {
|
|
263
|
+
localVarQueryParameter['page'] = page;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
if (pageSize !== undefined) {
|
|
267
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
if (vbapiClientCode !== undefined && vbapiClientCode !== null) {
|
|
271
|
+
localVarHeaderParameter['vbapi-client-code'] = String(vbapiClientCode);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
275
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
if (vbasoftwareUser !== undefined && vbasoftwareUser !== null) {
|
|
279
|
+
localVarHeaderParameter['vbasoftware-user'] = String(vbasoftwareUser);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
285
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
286
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
287
|
+
|
|
288
|
+
return {
|
|
289
|
+
url: toPathString(localVarUrlObj),
|
|
290
|
+
options: localVarRequestOptions,
|
|
291
|
+
};
|
|
292
|
+
},
|
|
293
|
+
/**
|
|
294
|
+
* Create or Update multiple Contact at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
295
|
+
* @summary Create or Update Batch Contact
|
|
296
|
+
* @param {string} vbapiClientCode Client code
|
|
297
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
298
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
299
|
+
* @param {string} clientId Client ID
|
|
300
|
+
* @param {Array<Contact>} contact
|
|
301
|
+
* @param {*} [options] Override http request option.
|
|
302
|
+
* @throws {RequiredError}
|
|
303
|
+
*/
|
|
304
|
+
updateBatchContact: async (vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contact: Array<Contact>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
305
|
+
// verify required parameter 'vbapiClientCode' is not null or undefined
|
|
306
|
+
assertParamExists('updateBatchContact', 'vbapiClientCode', vbapiClientCode)
|
|
307
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
308
|
+
assertParamExists('updateBatchContact', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
309
|
+
// verify required parameter 'vbasoftwareUser' is not null or undefined
|
|
310
|
+
assertParamExists('updateBatchContact', 'vbasoftwareUser', vbasoftwareUser)
|
|
311
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
312
|
+
assertParamExists('updateBatchContact', 'clientId', clientId)
|
|
313
|
+
// verify required parameter 'contact' is not null or undefined
|
|
314
|
+
assertParamExists('updateBatchContact', 'contact', contact)
|
|
315
|
+
const localVarPath = `/clients/{clientId}/contacts-batch`
|
|
316
|
+
.replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
|
|
317
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
318
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
319
|
+
let baseOptions;
|
|
320
|
+
if (configuration) {
|
|
321
|
+
baseOptions = configuration.baseOptions;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
325
|
+
const localVarHeaderParameter = {} as any;
|
|
326
|
+
const localVarQueryParameter = {} as any;
|
|
327
|
+
|
|
328
|
+
// authentication VBAPIKey required
|
|
329
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
330
|
+
|
|
331
|
+
if (vbapiClientCode !== undefined && vbapiClientCode !== null) {
|
|
332
|
+
localVarHeaderParameter['vbapi-client-code'] = String(vbapiClientCode);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
336
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
if (vbasoftwareUser !== undefined && vbasoftwareUser !== null) {
|
|
340
|
+
localVarHeaderParameter['vbasoftware-user'] = String(vbasoftwareUser);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
346
|
+
|
|
347
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
348
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
349
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
350
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contact, localVarRequestOptions, configuration)
|
|
351
|
+
|
|
352
|
+
return {
|
|
353
|
+
url: toPathString(localVarUrlObj),
|
|
354
|
+
options: localVarRequestOptions,
|
|
355
|
+
};
|
|
356
|
+
},
|
|
357
|
+
/**
|
|
358
|
+
* Updates a specific Contact.
|
|
359
|
+
* @summary Update Contact
|
|
360
|
+
* @param {string} vbapiClientCode Client code
|
|
361
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
362
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
363
|
+
* @param {string} clientId Client ID
|
|
364
|
+
* @param {number} contactKey Contact Key
|
|
365
|
+
* @param {Contact} contact
|
|
366
|
+
* @param {*} [options] Override http request option.
|
|
367
|
+
* @throws {RequiredError}
|
|
368
|
+
*/
|
|
369
|
+
updateContact: async (vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, contact: Contact, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
370
|
+
// verify required parameter 'vbapiClientCode' is not null or undefined
|
|
371
|
+
assertParamExists('updateContact', 'vbapiClientCode', vbapiClientCode)
|
|
372
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
373
|
+
assertParamExists('updateContact', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
374
|
+
// verify required parameter 'vbasoftwareUser' is not null or undefined
|
|
375
|
+
assertParamExists('updateContact', 'vbasoftwareUser', vbasoftwareUser)
|
|
376
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
377
|
+
assertParamExists('updateContact', 'clientId', clientId)
|
|
378
|
+
// verify required parameter 'contactKey' is not null or undefined
|
|
379
|
+
assertParamExists('updateContact', 'contactKey', contactKey)
|
|
380
|
+
// verify required parameter 'contact' is not null or undefined
|
|
381
|
+
assertParamExists('updateContact', 'contact', contact)
|
|
382
|
+
const localVarPath = `/clients/{clientId}/contacts/{contactKey}`
|
|
383
|
+
.replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)))
|
|
384
|
+
.replace(`{${"contactKey"}}`, encodeURIComponent(String(contactKey)));
|
|
385
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
386
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
387
|
+
let baseOptions;
|
|
388
|
+
if (configuration) {
|
|
389
|
+
baseOptions = configuration.baseOptions;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
393
|
+
const localVarHeaderParameter = {} as any;
|
|
394
|
+
const localVarQueryParameter = {} as any;
|
|
395
|
+
|
|
396
|
+
// authentication VBAPIKey required
|
|
397
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
398
|
+
|
|
399
|
+
if (vbapiClientCode !== undefined && vbapiClientCode !== null) {
|
|
400
|
+
localVarHeaderParameter['vbapi-client-code'] = String(vbapiClientCode);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
404
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
if (vbasoftwareUser !== undefined && vbasoftwareUser !== null) {
|
|
408
|
+
localVarHeaderParameter['vbasoftware-user'] = String(vbasoftwareUser);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
414
|
+
|
|
415
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
416
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
417
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
418
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contact, localVarRequestOptions, configuration)
|
|
419
|
+
|
|
420
|
+
return {
|
|
421
|
+
url: toPathString(localVarUrlObj),
|
|
422
|
+
options: localVarRequestOptions,
|
|
423
|
+
};
|
|
424
|
+
},
|
|
425
|
+
}
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* ContactsApi - functional programming interface
|
|
430
|
+
* @export
|
|
431
|
+
*/
|
|
432
|
+
export const ContactsApiFp = function(configuration?: Configuration) {
|
|
433
|
+
const localVarAxiosParamCreator = ContactsApiAxiosParamCreator(configuration)
|
|
434
|
+
return {
|
|
435
|
+
/**
|
|
436
|
+
* Creates a new Contact
|
|
437
|
+
* @summary Create Contact
|
|
438
|
+
* @param {string} vbapiClientCode Client code
|
|
439
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
440
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
441
|
+
* @param {string} clientId Client ID
|
|
442
|
+
* @param {Contact} contact
|
|
443
|
+
* @param {*} [options] Override http request option.
|
|
444
|
+
* @throws {RequiredError}
|
|
445
|
+
*/
|
|
446
|
+
async createContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contact: Contact, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactVBAResponse>> {
|
|
447
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contact, options);
|
|
448
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
449
|
+
},
|
|
450
|
+
/**
|
|
451
|
+
* Deletes an Contact
|
|
452
|
+
* @summary Delete Contact
|
|
453
|
+
* @param {string} vbapiClientCode Client code
|
|
454
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
455
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
456
|
+
* @param {string} clientId Client ID
|
|
457
|
+
* @param {number} contactKey Contact Key
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
async deleteContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
462
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contactKey, options);
|
|
463
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
464
|
+
},
|
|
465
|
+
/**
|
|
466
|
+
* Gets Contact
|
|
467
|
+
* @summary Get Contact
|
|
468
|
+
* @param {string} vbapiClientCode Client code
|
|
469
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
470
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
471
|
+
* @param {string} clientId Client ID
|
|
472
|
+
* @param {number} contactKey Contact Key
|
|
473
|
+
* @param {*} [options] Override http request option.
|
|
474
|
+
* @throws {RequiredError}
|
|
475
|
+
*/
|
|
476
|
+
async getContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactVBAResponse>> {
|
|
477
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contactKey, options);
|
|
478
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
479
|
+
},
|
|
480
|
+
/**
|
|
481
|
+
* Lists all Contact
|
|
482
|
+
* @summary List Contact
|
|
483
|
+
* @param {string} vbapiClientCode Client code
|
|
484
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
485
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
486
|
+
* @param {string} clientId Client ID
|
|
487
|
+
* @param {number} [page] Page
|
|
488
|
+
* @param {number} [pageSize] Page Size
|
|
489
|
+
* @param {*} [options] Override http request option.
|
|
490
|
+
* @throws {RequiredError}
|
|
491
|
+
*/
|
|
492
|
+
async listContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactListVBAResponse>> {
|
|
493
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, page, pageSize, options);
|
|
494
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
495
|
+
},
|
|
496
|
+
/**
|
|
497
|
+
* Create or Update multiple Contact at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
498
|
+
* @summary Create or Update Batch Contact
|
|
499
|
+
* @param {string} vbapiClientCode Client code
|
|
500
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
501
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
502
|
+
* @param {string} clientId Client ID
|
|
503
|
+
* @param {Array<Contact>} contact
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
*/
|
|
507
|
+
async updateBatchContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contact: Array<Contact>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
|
|
508
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contact, options);
|
|
509
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
510
|
+
},
|
|
511
|
+
/**
|
|
512
|
+
* Updates a specific Contact.
|
|
513
|
+
* @summary Update Contact
|
|
514
|
+
* @param {string} vbapiClientCode Client code
|
|
515
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
516
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
517
|
+
* @param {string} clientId Client ID
|
|
518
|
+
* @param {number} contactKey Contact Key
|
|
519
|
+
* @param {Contact} contact
|
|
520
|
+
* @param {*} [options] Override http request option.
|
|
521
|
+
* @throws {RequiredError}
|
|
522
|
+
*/
|
|
523
|
+
async updateContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, contact: Contact, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactVBAResponse>> {
|
|
524
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contactKey, contact, options);
|
|
525
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
526
|
+
},
|
|
527
|
+
}
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* ContactsApi - factory interface
|
|
532
|
+
* @export
|
|
533
|
+
*/
|
|
534
|
+
export const ContactsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
535
|
+
const localVarFp = ContactsApiFp(configuration)
|
|
536
|
+
return {
|
|
537
|
+
/**
|
|
538
|
+
* Creates a new Contact
|
|
539
|
+
* @summary Create Contact
|
|
540
|
+
* @param {string} vbapiClientCode Client code
|
|
541
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
542
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
543
|
+
* @param {string} clientId Client ID
|
|
544
|
+
* @param {Contact} contact
|
|
545
|
+
* @param {*} [options] Override http request option.
|
|
546
|
+
* @throws {RequiredError}
|
|
547
|
+
*/
|
|
548
|
+
createContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contact: Contact, options?: any): AxiosPromise<ContactVBAResponse> {
|
|
549
|
+
return localVarFp.createContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contact, options).then((request) => request(axios, basePath));
|
|
550
|
+
},
|
|
551
|
+
/**
|
|
552
|
+
* Deletes an Contact
|
|
553
|
+
* @summary Delete Contact
|
|
554
|
+
* @param {string} vbapiClientCode Client code
|
|
555
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
556
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
557
|
+
* @param {string} clientId Client ID
|
|
558
|
+
* @param {number} contactKey Contact Key
|
|
559
|
+
* @param {*} [options] Override http request option.
|
|
560
|
+
* @throws {RequiredError}
|
|
561
|
+
*/
|
|
562
|
+
deleteContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, options?: any): AxiosPromise<void> {
|
|
563
|
+
return localVarFp.deleteContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contactKey, options).then((request) => request(axios, basePath));
|
|
564
|
+
},
|
|
565
|
+
/**
|
|
566
|
+
* Gets Contact
|
|
567
|
+
* @summary Get Contact
|
|
568
|
+
* @param {string} vbapiClientCode Client code
|
|
569
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
570
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
571
|
+
* @param {string} clientId Client ID
|
|
572
|
+
* @param {number} contactKey Contact Key
|
|
573
|
+
* @param {*} [options] Override http request option.
|
|
574
|
+
* @throws {RequiredError}
|
|
575
|
+
*/
|
|
576
|
+
getContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, options?: any): AxiosPromise<ContactVBAResponse> {
|
|
577
|
+
return localVarFp.getContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contactKey, options).then((request) => request(axios, basePath));
|
|
578
|
+
},
|
|
579
|
+
/**
|
|
580
|
+
* Lists all Contact
|
|
581
|
+
* @summary List Contact
|
|
582
|
+
* @param {string} vbapiClientCode Client code
|
|
583
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
584
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
585
|
+
* @param {string} clientId Client ID
|
|
586
|
+
* @param {number} [page] Page
|
|
587
|
+
* @param {number} [pageSize] Page Size
|
|
588
|
+
* @param {*} [options] Override http request option.
|
|
589
|
+
* @throws {RequiredError}
|
|
590
|
+
*/
|
|
591
|
+
listContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, page?: number, pageSize?: number, options?: any): AxiosPromise<ContactListVBAResponse> {
|
|
592
|
+
return localVarFp.listContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, page, pageSize, options).then((request) => request(axios, basePath));
|
|
593
|
+
},
|
|
594
|
+
/**
|
|
595
|
+
* Create or Update multiple Contact at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
596
|
+
* @summary Create or Update Batch Contact
|
|
597
|
+
* @param {string} vbapiClientCode Client code
|
|
598
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
599
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
600
|
+
* @param {string} clientId Client ID
|
|
601
|
+
* @param {Array<Contact>} contact
|
|
602
|
+
* @param {*} [options] Override http request option.
|
|
603
|
+
* @throws {RequiredError}
|
|
604
|
+
*/
|
|
605
|
+
updateBatchContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contact: Array<Contact>, options?: any): AxiosPromise<MultiCodeResponseListVBAResponse> {
|
|
606
|
+
return localVarFp.updateBatchContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contact, options).then((request) => request(axios, basePath));
|
|
607
|
+
},
|
|
608
|
+
/**
|
|
609
|
+
* Updates a specific Contact.
|
|
610
|
+
* @summary Update Contact
|
|
611
|
+
* @param {string} vbapiClientCode Client code
|
|
612
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
613
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
614
|
+
* @param {string} clientId Client ID
|
|
615
|
+
* @param {number} contactKey Contact Key
|
|
616
|
+
* @param {Contact} contact
|
|
617
|
+
* @param {*} [options] Override http request option.
|
|
618
|
+
* @throws {RequiredError}
|
|
619
|
+
*/
|
|
620
|
+
updateContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, contact: Contact, options?: any): AxiosPromise<ContactVBAResponse> {
|
|
621
|
+
return localVarFp.updateContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contactKey, contact, options).then((request) => request(axios, basePath));
|
|
622
|
+
},
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* ContactsApi - interface
|
|
628
|
+
* @export
|
|
629
|
+
* @interface ContactsApi
|
|
630
|
+
*/
|
|
631
|
+
export interface ContactsApiInterface {
|
|
632
|
+
/**
|
|
633
|
+
* Creates a new Contact
|
|
634
|
+
* @summary Create Contact
|
|
635
|
+
* @param {string} vbapiClientCode Client code
|
|
636
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
637
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
638
|
+
* @param {string} clientId Client ID
|
|
639
|
+
* @param {Contact} contact
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
* @memberof ContactsApiInterface
|
|
643
|
+
*/
|
|
644
|
+
createContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contact: Contact, options?: AxiosRequestConfig): AxiosPromise<ContactVBAResponse>;
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Deletes an Contact
|
|
648
|
+
* @summary Delete Contact
|
|
649
|
+
* @param {string} vbapiClientCode Client code
|
|
650
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
651
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
652
|
+
* @param {string} clientId Client ID
|
|
653
|
+
* @param {number} contactKey Contact Key
|
|
654
|
+
* @param {*} [options] Override http request option.
|
|
655
|
+
* @throws {RequiredError}
|
|
656
|
+
* @memberof ContactsApiInterface
|
|
657
|
+
*/
|
|
658
|
+
deleteContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* Gets Contact
|
|
662
|
+
* @summary Get Contact
|
|
663
|
+
* @param {string} vbapiClientCode Client code
|
|
664
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
665
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
666
|
+
* @param {string} clientId Client ID
|
|
667
|
+
* @param {number} contactKey Contact Key
|
|
668
|
+
* @param {*} [options] Override http request option.
|
|
669
|
+
* @throws {RequiredError}
|
|
670
|
+
* @memberof ContactsApiInterface
|
|
671
|
+
*/
|
|
672
|
+
getContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, options?: AxiosRequestConfig): AxiosPromise<ContactVBAResponse>;
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Lists all Contact
|
|
676
|
+
* @summary List Contact
|
|
677
|
+
* @param {string} vbapiClientCode Client code
|
|
678
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
679
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
680
|
+
* @param {string} clientId Client ID
|
|
681
|
+
* @param {number} [page] Page
|
|
682
|
+
* @param {number} [pageSize] Page Size
|
|
683
|
+
* @param {*} [options] Override http request option.
|
|
684
|
+
* @throws {RequiredError}
|
|
685
|
+
* @memberof ContactsApiInterface
|
|
686
|
+
*/
|
|
687
|
+
listContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<ContactListVBAResponse>;
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Create or Update multiple Contact at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
691
|
+
* @summary Create or Update Batch Contact
|
|
692
|
+
* @param {string} vbapiClientCode Client code
|
|
693
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
694
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
695
|
+
* @param {string} clientId Client ID
|
|
696
|
+
* @param {Array<Contact>} contact
|
|
697
|
+
* @param {*} [options] Override http request option.
|
|
698
|
+
* @throws {RequiredError}
|
|
699
|
+
* @memberof ContactsApiInterface
|
|
700
|
+
*/
|
|
701
|
+
updateBatchContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contact: Array<Contact>, options?: AxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* Updates a specific Contact.
|
|
705
|
+
* @summary Update Contact
|
|
706
|
+
* @param {string} vbapiClientCode Client code
|
|
707
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
708
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
709
|
+
* @param {string} clientId Client ID
|
|
710
|
+
* @param {number} contactKey Contact Key
|
|
711
|
+
* @param {Contact} contact
|
|
712
|
+
* @param {*} [options] Override http request option.
|
|
713
|
+
* @throws {RequiredError}
|
|
714
|
+
* @memberof ContactsApiInterface
|
|
715
|
+
*/
|
|
716
|
+
updateContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, contact: Contact, options?: AxiosRequestConfig): AxiosPromise<ContactVBAResponse>;
|
|
717
|
+
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* ContactsApi - object-oriented interface
|
|
722
|
+
* @export
|
|
723
|
+
* @class ContactsApi
|
|
724
|
+
* @extends {BaseAPI}
|
|
725
|
+
*/
|
|
726
|
+
export class ContactsApi extends BaseAPI implements ContactsApiInterface {
|
|
727
|
+
/**
|
|
728
|
+
* Creates a new Contact
|
|
729
|
+
* @summary Create Contact
|
|
730
|
+
* @param {string} vbapiClientCode Client code
|
|
731
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
732
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
733
|
+
* @param {string} clientId Client ID
|
|
734
|
+
* @param {Contact} contact
|
|
735
|
+
* @param {*} [options] Override http request option.
|
|
736
|
+
* @throws {RequiredError}
|
|
737
|
+
* @memberof ContactsApi
|
|
738
|
+
*/
|
|
739
|
+
public createContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contact: Contact, options?: AxiosRequestConfig) {
|
|
740
|
+
return ContactsApiFp(this.configuration).createContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contact, options).then((request) => request(this.axios, this.basePath));
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* Deletes an Contact
|
|
745
|
+
* @summary Delete Contact
|
|
746
|
+
* @param {string} vbapiClientCode Client code
|
|
747
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
748
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
749
|
+
* @param {string} clientId Client ID
|
|
750
|
+
* @param {number} contactKey Contact Key
|
|
751
|
+
* @param {*} [options] Override http request option.
|
|
752
|
+
* @throws {RequiredError}
|
|
753
|
+
* @memberof ContactsApi
|
|
754
|
+
*/
|
|
755
|
+
public deleteContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, options?: AxiosRequestConfig) {
|
|
756
|
+
return ContactsApiFp(this.configuration).deleteContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contactKey, options).then((request) => request(this.axios, this.basePath));
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Gets Contact
|
|
761
|
+
* @summary Get Contact
|
|
762
|
+
* @param {string} vbapiClientCode Client code
|
|
763
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
764
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
765
|
+
* @param {string} clientId Client ID
|
|
766
|
+
* @param {number} contactKey Contact Key
|
|
767
|
+
* @param {*} [options] Override http request option.
|
|
768
|
+
* @throws {RequiredError}
|
|
769
|
+
* @memberof ContactsApi
|
|
770
|
+
*/
|
|
771
|
+
public getContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, options?: AxiosRequestConfig) {
|
|
772
|
+
return ContactsApiFp(this.configuration).getContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contactKey, options).then((request) => request(this.axios, this.basePath));
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* Lists all Contact
|
|
777
|
+
* @summary List Contact
|
|
778
|
+
* @param {string} vbapiClientCode Client code
|
|
779
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
780
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
781
|
+
* @param {string} clientId Client ID
|
|
782
|
+
* @param {number} [page] Page
|
|
783
|
+
* @param {number} [pageSize] Page Size
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
* @memberof ContactsApi
|
|
787
|
+
*/
|
|
788
|
+
public listContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
|
|
789
|
+
return ContactsApiFp(this.configuration).listContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* Create or Update multiple Contact at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
794
|
+
* @summary Create or Update Batch Contact
|
|
795
|
+
* @param {string} vbapiClientCode Client code
|
|
796
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
797
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
798
|
+
* @param {string} clientId Client ID
|
|
799
|
+
* @param {Array<Contact>} contact
|
|
800
|
+
* @param {*} [options] Override http request option.
|
|
801
|
+
* @throws {RequiredError}
|
|
802
|
+
* @memberof ContactsApi
|
|
803
|
+
*/
|
|
804
|
+
public updateBatchContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contact: Array<Contact>, options?: AxiosRequestConfig) {
|
|
805
|
+
return ContactsApiFp(this.configuration).updateBatchContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contact, options).then((request) => request(this.axios, this.basePath));
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* Updates a specific Contact.
|
|
810
|
+
* @summary Update Contact
|
|
811
|
+
* @param {string} vbapiClientCode Client code
|
|
812
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
813
|
+
* @param {string} vbasoftwareUser User ID of the person performing this request
|
|
814
|
+
* @param {string} clientId Client ID
|
|
815
|
+
* @param {number} contactKey Contact Key
|
|
816
|
+
* @param {Contact} contact
|
|
817
|
+
* @param {*} [options] Override http request option.
|
|
818
|
+
* @throws {RequiredError}
|
|
819
|
+
* @memberof ContactsApi
|
|
820
|
+
*/
|
|
821
|
+
public updateContact(vbapiClientCode: string, vbasoftwareDatabase: string, vbasoftwareUser: string, clientId: string, contactKey: number, contact: Contact, options?: AxiosRequestConfig) {
|
|
822
|
+
return ContactsApiFp(this.configuration).updateContact(vbapiClientCode, vbasoftwareDatabase, vbasoftwareUser, clientId, contactKey, contact, options).then((request) => request(this.axios, this.basePath));
|
|
823
|
+
}
|
|
824
|
+
}
|