diff --git a/api/crm/crm_models/account.go b/api/crm/crm_models/account.go index 75c1b79..647d435 100644 --- a/api/crm/crm_models/account.go +++ b/api/crm/crm_models/account.go @@ -28,59 +28,23 @@ type Account struct { // The marketing origin of this account AccountSource string `json:"AccountSource,omitempty"` - // Active - Active bool `json:"Active,omitempty"` - - // For tax authorities, this account's administrative level, e.g. Local, County, State or Federal - AdministrativeLevel string `json:"AdministrativeLevel,omitempty"` - - // Rollup Tax Amount - Amount float64 `json:"Amount,omitempty"` - - // Amount Invoiced - AmountInvoiced float64 `json:"AmountInvoiced,omitempty"` - - // Amount Paid - AmountPaid float64 `json:"AmountPaid,omitempty"` - // Annual Revenue Estimate AnnualRevenue float64 `json:"AnnualRevenue,omitempty"` - // Account Balance - Balance float64 `json:"Balance,omitempty"` - // billing address BillingAddress *Address `json:"BillingAddress,omitempty"` // Contact ID BillingContactID string `json:"BillingContactID,omitempty"` - // Billing Preference - BillingPreference string `json:"BillingPreference,omitempty"` + // Close Date + CloseDate string `json:"CloseDate,omitempty"` - // business address - BusinessAddress *Address `json:"BusinessAddress,omitempty"` + // The type of cloud company + CloudType string `json:"CloudType,omitempty"` - // Is this a cannabis customer? - CannabisCustomer bool `json:"CannabisCustomer,omitempty"` - - // Channel Program Level Name - ChannelProgramLevelName string `json:"ChannelProgramLevelName,omitempty"` - - // Channel Program Name - ChannelProgramName string `json:"ChannelProgramName,omitempty"` - - // Client End Date - ClientEndDate string `json:"ClientEndDate,omitempty"` - - // Client Start Date - ClientStartDate string `json:"ClientStartDate,omitempty"` - - // The Company ID of this Account - CompanyID string `json:"CompanyID,omitempty"` - - // The Id of the geo coordinates of this account - CoordinateID string `json:"CoordinateID,omitempty"` + // The year company started cloud revenue + CloudYear string `json:"CloudYear,omitempty"` // Created By User ID CreatedByID string `json:"CreatedByID,omitempty"` @@ -88,137 +52,83 @@ type Account struct { // Created Date CreatedDate string `json:"CreatedDate,omitempty"` - // Customer ID from source system - CustomerID string `json:"CustomerID,omitempty"` + // Crunchbase URL + CrunchbaseURL string `json:"CrunchbaseURL,omitempty"` - // Customer Priority - CustomerPriority string `json:"CustomerPriority,omitempty"` - - // This Account's 'Doing Business As' name - DBA string `json:"DBA,omitempty"` - - // D-U-N-S Number - DUNSNumber string `json:"DUNSNumber,omitempty"` - - // D-n-B Company - DandBCompanyID string `json:"DandBCompanyID,omitempty"` - - // default address - DefaultAddress *Address `json:"DefaultAddress,omitempty"` - - // Default Backend ID - DefaultBackendID string `json:"DefaultBackendID,omitempty"` - - // Default Delivery Address Contact ID - DefaultDeliveryContactID string `json:"DefaultDeliveryContactID,omitempty"` - - // Default End User Contact ID - DefaultEndUserID string `json:"DefaultEndUserID,omitempty"` - - // Description + // Description of the account Description string `json:"Description,omitempty"` - // EIN - EIN string `json:"EIN,omitempty"` + // Earnings Call Date + EarningsCall string `json:"EarningsCall,omitempty"` // Main Account Email Email string `json:"Email,omitempty"` - // Enrollment Status - EnrollmentStatus string `json:"EnrollmentStatus,omitempty"` + // The amount of equity EquityFunding + EquityFunding float64 `json:"EquityFunding,omitempty"` - // Fax + // Company Facebook URL + Facebook string `json:"Facebook,omitempty"` + + // Fax number Fax string `json:"Fax,omitempty"` + // Date company founded + FoundedDate string `json:"FoundedDate,omitempty"` + // Taxnexus Account Id ID string `json:"ID,omitempty"` - // ISP Customer? - ISPCustomer bool `json:"ISPCustomer,omitempty"` + // IPO Date + IPODate string `json:"IPODate,omitempty"` + + // Industries + Industries string `json:"Industries,omitempty"` // Industry Industry string `json:"Industry,omitempty"` - // Customer Portal Account - IsCustomerPortal bool `json:"IsCustomerPortal,omitempty"` - - // Partner Account - IsPartner bool `json:"IsPartner,omitempty"` - - // Data.com Key - JigSaw string `json:"JigSaw,omitempty"` - // Last Modified By User ID LastModifiedByID string `json:"LastModifiedByID,omitempty"` // Last Modified Date LastModifiedDate string `json:"LastModifiedDate,omitempty"` - // MSP Customer? - MSPCustomer bool `json:"MSPCustomer,omitempty"` + // Company LinkedIn URL + LinkedIn string `json:"LinkedIn,omitempty"` - // NAICS Code - NAICSCode string `json:"NAICSCode,omitempty"` + // Headquarters Location Description + Location string `json:"Location,omitempty"` - // NAICS Description - NAICSDesc string `json:"NAICSDesc,omitempty"` + // Company Logo URL + Logo string `json:"Logo,omitempty"` + + // Market Capitalization + MarketCapitalization float64 `json:"MarketCapitalization,omitempty"` // Account Name Name string `json:"Name,omitempty"` + // Number of Investments + NumberInvestments float64 `json:"NumberInvestments,omitempty"` + // Employee Count Estimate NumberOfEmployees int64 `json:"NumberOfEmployees,omitempty"` - // Number of Locations Estimate - NumberOfLocations int64 `json:"NumberOfLocations,omitempty"` - - // Open Charges - OpenCharges float64 `json:"OpenCharges,omitempty"` - - // Vendor Order Contact ID - OrderContactID string `json:"OrderContactID,omitempty"` - - // Order Email - OrderEmail string `json:"OrderEmail,omitempty"` - // Account Owner User ID OwnerID string `json:"OwnerID,omitempty"` // Ownership Ownership string `json:"Ownership,omitempty"` - // Parent Foreign Key - ParentFK string `json:"ParentFK,omitempty"` - // Parent Account ParentID string `json:"ParentID,omitempty"` // Phone Phone string `json:"Phone,omitempty"` - // The ID of the Place situs record that applies to this Account - PlaceID string `json:"PlaceID,omitempty"` - - // Tax Preparer Contact ID - PreparerID string `json:"PreparerID,omitempty"` - - // Rating - Rating string `json:"Rating,omitempty"` - - // Rating Engine identifier - RatingEngineID string `json:"RatingEngineID,omitempty"` - - // External Reference ID - Ref string `json:"Ref,omitempty"` - - // Rollup Revenue Base - RevenueBase float64 `json:"RevenueBase,omitempty"` - - // Rollup Revenue Net - RevenueNet float64 `json:"RevenueNet,omitempty"` - - // Rollup Revenue Not Taxable - RevenueNotTaxable float64 `json:"RevenueNotTaxable,omitempty"` + // Publish this record? + Publish bool `json:"Publish,omitempty"` // SIC Code SIC string `json:"SIC,omitempty"` @@ -226,32 +136,20 @@ type Account struct { // SIC Description SICDesc string `json:"SICDesc,omitempty"` + // A Salesforce-First company? + SalesforceFirst bool `json:"SalesforceFirst,omitempty"` + // shipping address ShippingAddress *Address `json:"ShippingAddress,omitempty"` - // Shipping Census Tract - ShippingCensusTract string `json:"ShippingCensusTract,omitempty"` - // Shipping Contact ID ShippingContactID string `json:"ShippingContactID,omitempty"` - // Shipping County - ShippingCounty string `json:"ShippingCounty,omitempty"` - // Account Site Site string `json:"Site,omitempty"` - // Account Status - Status string `json:"Status,omitempty"` - - // Tax Exemption - TaxExemption string `json:"TaxExemption,omitempty"` - - // Rollup Tax On Tax - TaxOnTax float64 `json:"TaxOnTax,omitempty"` - - // Telecom Customer? - TelecomCustomer bool `json:"TelecomCustomer,omitempty"` + // Company tagline + TagLine string `json:"TagLine,omitempty"` // Tenant Identifier TenantID string `json:"TenantID,omitempty"` @@ -259,30 +157,15 @@ type Account struct { // Ticker Symbol TickerSymbol string `json:"TickerSymbol,omitempty"` - // Tradestyle - TradeStyle string `json:"TradeStyle,omitempty"` + // Twitter URL + Twitter string `json:"Twitter,omitempty"` // Type Type string `json:"Type,omitempty"` - // Unapplied Payments - UnappliedPayments float64 `json:"UnappliedPayments,omitempty"` - - // Rollup Unit Base - UnitBase float64 `json:"UnitBase,omitempty"` - - // Upsell Opportunity - UpsellOpportunity string `json:"UpsellOpportunity,omitempty"` - - // WHMCS Client ID - WHMCSClientID int64 `json:"WHMCSClientID,omitempty"` - // Website Website string `json:"Website,omitempty"` - // Xero Contact ID - XeroContactID string `json:"XeroContactID,omitempty"` - // Year Started YearStarted string `json:"YearStarted,omitempty"` } @@ -295,14 +178,6 @@ func (m *Account) Validate(formats strfmt.Registry) error { res = append(res, err) } - if err := m.validateBusinessAddress(formats); err != nil { - res = append(res, err) - } - - if err := m.validateDefaultAddress(formats); err != nil { - res = append(res, err) - } - if err := m.validateShippingAddress(formats); err != nil { res = append(res, err) } @@ -332,44 +207,6 @@ func (m *Account) validateBillingAddress(formats strfmt.Registry) error { return nil } -func (m *Account) validateBusinessAddress(formats strfmt.Registry) error { - if swag.IsZero(m.BusinessAddress) { // not required - return nil - } - - if m.BusinessAddress != nil { - if err := m.BusinessAddress.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("BusinessAddress") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("BusinessAddress") - } - return err - } - } - - return nil -} - -func (m *Account) validateDefaultAddress(formats strfmt.Registry) error { - if swag.IsZero(m.DefaultAddress) { // not required - return nil - } - - if m.DefaultAddress != nil { - if err := m.DefaultAddress.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("DefaultAddress") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("DefaultAddress") - } - return err - } - } - - return nil -} - func (m *Account) validateShippingAddress(formats strfmt.Registry) error { if swag.IsZero(m.ShippingAddress) { // not required return nil @@ -397,14 +234,6 @@ func (m *Account) ContextValidate(ctx context.Context, formats strfmt.Registry) res = append(res, err) } - if err := m.contextValidateBusinessAddress(ctx, formats); err != nil { - res = append(res, err) - } - - if err := m.contextValidateDefaultAddress(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateShippingAddress(ctx, formats); err != nil { res = append(res, err) } @@ -431,38 +260,6 @@ func (m *Account) contextValidateBillingAddress(ctx context.Context, formats str return nil } -func (m *Account) contextValidateBusinessAddress(ctx context.Context, formats strfmt.Registry) error { - - if m.BusinessAddress != nil { - if err := m.BusinessAddress.ContextValidate(ctx, formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("BusinessAddress") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("BusinessAddress") - } - return err - } - } - - return nil -} - -func (m *Account) contextValidateDefaultAddress(ctx context.Context, formats strfmt.Registry) error { - - if m.DefaultAddress != nil { - if err := m.DefaultAddress.ContextValidate(ctx, formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("DefaultAddress") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("DefaultAddress") - } - return err - } - } - - return nil -} - func (m *Account) contextValidateShippingAddress(ctx context.Context, formats strfmt.Registry) error { if m.ShippingAddress != nil { diff --git a/api/crm/crm_models/account_basic.go b/api/crm/crm_models/account_basic.go deleted file mode 100644 index 4cec519..0000000 --- a/api/crm/crm_models/account_basic.go +++ /dev/null @@ -1,263 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -// (c) 2012-2020 by Taxnexus, Inc. -// All rights reserved worldwide. -// Proprietary product; unlicensed use is not allowed - -package crm_models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - "context" - - "github.com/go-openapi/errors" - "github.com/go-openapi/strfmt" - "github.com/go-openapi/swag" -) - -// AccountBasic account basic -// -// swagger:model AccountBasic -type AccountBasic struct { - - // Taxnexus Account Number of the OEM/Reseller - AccountNumber string `json:"AccountNumber,omitempty"` - - // billing address - BillingAddress *Address `json:"BillingAddress,omitempty"` - - // Contact ID - BillingContactID string `json:"BillingContactID,omitempty"` - - // Taxnexus OEM/Reseller Record Id - CompanyID string `json:"CompanyID,omitempty"` - - // The id of the Coordinate of the business establishment - CoordinateID string `json:"CoordinateID,omitempty"` - - // Taxpayer Customer Id designated by OEM/Reseller - CustomerID string `json:"CustomerID,omitempty"` - - // default address - DefaultAddress *Address `json:"DefaultAddress,omitempty"` - - // Default Backend ID - DefaultBackendID string `json:"DefaultBackendID,omitempty"` - - // Default Delivery Address Contact ID - DefaultDeliveryContactID string `json:"DefaultDeliveryContactID,omitempty"` - - // Contact ID - DefaultEndUserID string `json:"DefaultEndUserID,omitempty"` - - // Taxpayer Public Email Address - Email string `json:"Email,omitempty"` - - // Taxpayer Fax Number - Fax string `json:"Fax,omitempty"` - - // Taxpayer Account Record Id - ID string `json:"ID,omitempty"` - - // Taxpayer Account Name (ignored for Tax Processing) - Name string `json:"Name,omitempty"` - - // UUID Reference the master record that owns this item - ParentFK string `json:"ParentFK,omitempty"` - - // Taxpayer Public Phone Number - Phone string `json:"Phone,omitempty"` - - // Contact ID - PreparerID string `json:"PreparerID,omitempty"` - - // Source System identifier for this record, if any - Ref string `json:"Ref,omitempty"` - - // Shipping Address - ShippingAddress *Address `json:"ShippingAddress,omitempty"` - - // Contact ID - ShippingContactID string `json:"ShippingContactID,omitempty"` - - // Taxpayer Location Designation - Site string `json:"Site,omitempty"` - - // Tenant Identifier - TenantID string `json:"TenantID,omitempty"` - - // Account Type - Type string `json:"Type,omitempty"` - - // Taxpayer Website - Website string `json:"Website,omitempty"` -} - -// Validate validates this account basic -func (m *AccountBasic) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateBillingAddress(formats); err != nil { - res = append(res, err) - } - - if err := m.validateDefaultAddress(formats); err != nil { - res = append(res, err) - } - - if err := m.validateShippingAddress(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *AccountBasic) validateBillingAddress(formats strfmt.Registry) error { - if swag.IsZero(m.BillingAddress) { // not required - return nil - } - - if m.BillingAddress != nil { - if err := m.BillingAddress.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("BillingAddress") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("BillingAddress") - } - return err - } - } - - return nil -} - -func (m *AccountBasic) validateDefaultAddress(formats strfmt.Registry) error { - if swag.IsZero(m.DefaultAddress) { // not required - return nil - } - - if m.DefaultAddress != nil { - if err := m.DefaultAddress.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("DefaultAddress") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("DefaultAddress") - } - return err - } - } - - return nil -} - -func (m *AccountBasic) validateShippingAddress(formats strfmt.Registry) error { - if swag.IsZero(m.ShippingAddress) { // not required - return nil - } - - if m.ShippingAddress != nil { - if err := m.ShippingAddress.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("ShippingAddress") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("ShippingAddress") - } - return err - } - } - - return nil -} - -// ContextValidate validate this account basic based on the context it is used -func (m *AccountBasic) ContextValidate(ctx context.Context, formats strfmt.Registry) error { - var res []error - - if err := m.contextValidateBillingAddress(ctx, formats); err != nil { - res = append(res, err) - } - - if err := m.contextValidateDefaultAddress(ctx, formats); err != nil { - res = append(res, err) - } - - if err := m.contextValidateShippingAddress(ctx, formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *AccountBasic) contextValidateBillingAddress(ctx context.Context, formats strfmt.Registry) error { - - if m.BillingAddress != nil { - if err := m.BillingAddress.ContextValidate(ctx, formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("BillingAddress") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("BillingAddress") - } - return err - } - } - - return nil -} - -func (m *AccountBasic) contextValidateDefaultAddress(ctx context.Context, formats strfmt.Registry) error { - - if m.DefaultAddress != nil { - if err := m.DefaultAddress.ContextValidate(ctx, formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("DefaultAddress") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("DefaultAddress") - } - return err - } - } - - return nil -} - -func (m *AccountBasic) contextValidateShippingAddress(ctx context.Context, formats strfmt.Registry) error { - - if m.ShippingAddress != nil { - if err := m.ShippingAddress.ContextValidate(ctx, formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("ShippingAddress") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("ShippingAddress") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *AccountBasic) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *AccountBasic) UnmarshalBinary(b []byte) error { - var res AccountBasic - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/api/crm/crm_models/account_basic_response.go b/api/crm/crm_models/account_basic_response.go deleted file mode 100644 index 067a2e4..0000000 --- a/api/crm/crm_models/account_basic_response.go +++ /dev/null @@ -1,166 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -// (c) 2012-2020 by Taxnexus, Inc. -// All rights reserved worldwide. -// Proprietary product; unlicensed use is not allowed - -package crm_models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - "context" - "strconv" - - "github.com/go-openapi/errors" - "github.com/go-openapi/strfmt" - "github.com/go-openapi/swag" -) - -// AccountBasicResponse account basic response -// -// swagger:model AccountBasicResponse -type AccountBasicResponse struct { - - // data - Data []*AccountBasic `json:"Data"` - - // meta - Meta *ResponseMeta `json:"Meta,omitempty"` -} - -// Validate validates this account basic response -func (m *AccountBasicResponse) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateData(formats); err != nil { - res = append(res, err) - } - - if err := m.validateMeta(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *AccountBasicResponse) validateData(formats strfmt.Registry) error { - if swag.IsZero(m.Data) { // not required - return nil - } - - for i := 0; i < len(m.Data); i++ { - if swag.IsZero(m.Data[i]) { // not required - continue - } - - if m.Data[i] != nil { - if err := m.Data[i].Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Data" + "." + strconv.Itoa(i)) - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("Data" + "." + strconv.Itoa(i)) - } - return err - } - } - - } - - return nil -} - -func (m *AccountBasicResponse) validateMeta(formats strfmt.Registry) error { - if swag.IsZero(m.Meta) { // not required - return nil - } - - if m.Meta != nil { - if err := m.Meta.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Meta") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("Meta") - } - return err - } - } - - return nil -} - -// ContextValidate validate this account basic response based on the context it is used -func (m *AccountBasicResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error { - var res []error - - if err := m.contextValidateData(ctx, formats); err != nil { - res = append(res, err) - } - - if err := m.contextValidateMeta(ctx, formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *AccountBasicResponse) contextValidateData(ctx context.Context, formats strfmt.Registry) error { - - for i := 0; i < len(m.Data); i++ { - - if m.Data[i] != nil { - if err := m.Data[i].ContextValidate(ctx, formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Data" + "." + strconv.Itoa(i)) - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("Data" + "." + strconv.Itoa(i)) - } - return err - } - } - - } - - return nil -} - -func (m *AccountBasicResponse) contextValidateMeta(ctx context.Context, formats strfmt.Registry) error { - - if m.Meta != nil { - if err := m.Meta.ContextValidate(ctx, formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Meta") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("Meta") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *AccountBasicResponse) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *AccountBasicResponse) UnmarshalBinary(b []byte) error { - var res AccountBasicResponse - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/client/crm/.openapi-generator/FILES b/client/crm/.openapi-generator/FILES index a336e8f..19ddb3d 100644 --- a/client/crm/.openapi-generator/FILES +++ b/client/crm/.openapi-generator/FILES @@ -4,8 +4,6 @@ .travis.yml README.md docs/Account.md -docs/AccountBasic.md -docs/AccountBasicResponse.md docs/AccountRequest.md docs/AccountResponse.md docs/AccountsApi.md @@ -47,8 +45,6 @@ src/api/CorsApi.js src/api/LeadsApi.js src/index.js src/model/Account.js -src/model/AccountBasic.js -src/model/AccountBasicResponse.js src/model/AccountRequest.js src/model/AccountResponse.js src/model/Address.js @@ -79,8 +75,6 @@ test/api/ContractsApi.spec.js test/api/CorsApi.spec.js test/api/LeadsApi.spec.js test/model/Account.spec.js -test/model/AccountBasic.spec.js -test/model/AccountBasicResponse.spec.js test/model/AccountRequest.spec.js test/model/AccountResponse.spec.js test/model/Address.spec.js diff --git a/client/crm/README.md b/client/crm/README.md index a0b0fd3..7d7be7e 100644 --- a/client/crm/README.md +++ b/client/crm/README.md @@ -168,8 +168,6 @@ Class | Method | HTTP request | Description ## Documentation for Models - [Crm.Account](docs/Account.md) - - [Crm.AccountBasic](docs/AccountBasic.md) - - [Crm.AccountBasicResponse](docs/AccountBasicResponse.md) - [Crm.AccountRequest](docs/AccountRequest.md) - [Crm.AccountResponse](docs/AccountResponse.md) - [Crm.Address](docs/Address.md) diff --git a/client/crm/docs/Account.md b/client/crm/docs/Account.md index cd60c50..10fc587 100644 --- a/client/crm/docs/Account.md +++ b/client/crm/docs/Account.md @@ -4,93 +4,54 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**ID** | **String** | Taxnexus Account Id | [optional] **accountNumber** | **String** | Account Number | [optional] **accountSource** | **String** | The marketing origin of this account | [optional] -**active** | **Boolean** | Active | [optional] -**administrativeLevel** | **String** | For tax authorities, this account's administrative level, e.g. Local, County, State or Federal | [optional] -**amount** | **Number** | Rollup Tax Amount | [optional] -**amountInvoiced** | **Number** | Amount Invoiced | [optional] -**amountPaid** | **Number** | Amount Paid | [optional] **annualRevenue** | **Number** | Annual Revenue Estimate | [optional] -**balance** | **Number** | Account Balance | [optional] **billingAddress** | [**Address**](Address.md) | | [optional] **billingContactID** | **String** | Contact ID | [optional] -**billingPreference** | **String** | Billing Preference | [optional] -**businessAddress** | [**Address**](Address.md) | | [optional] -**cannabisCustomer** | **Boolean** | Is this a cannabis customer? | [optional] -**channelProgramLevelName** | **String** | Channel Program Level Name | [optional] -**channelProgramName** | **String** | Channel Program Name | [optional] -**clientEndDate** | **String** | Client End Date | [optional] -**clientStartDate** | **String** | Client Start Date | [optional] -**companyID** | **String** | The Company ID of this Account | [optional] -**coordinateID** | **String** | The Id of the geo coordinates of this account | [optional] +**closeDate** | **String** | Close Date | [optional] +**cloudType** | **String** | The type of cloud company | [optional] +**cloudYear** | **String** | The year company started cloud revenue | [optional] **createdByID** | **String** | Created By User ID | [optional] **createdDate** | **String** | Created Date | [optional] -**customerID** | **String** | Customer ID from source system | [optional] -**customerPriority** | **String** | Customer Priority | [optional] -**DBA** | **String** | This Account's 'Doing Business As' name | [optional] -**dUNSNumber** | **String** | D-U-N-S Number | [optional] -**dandBCompanyID** | **String** | D-n-B Company | [optional] -**defaultAddress** | [**Address**](Address.md) | | [optional] -**defaultBackendID** | **String** | Default Backend ID | [optional] -**defaultDeliveryContactID** | **String** | Default Delivery Address Contact ID | [optional] -**defaultEndUserID** | **String** | Default End User Contact ID | [optional] -**description** | **String** | Description | [optional] -**EIN** | **String** | EIN | [optional] +**crunchbaseURL** | **String** | Crunchbase URL | [optional] +**description** | **String** | Description of the account | [optional] +**earningsCall** | **String** | Earnings Call Date | [optional] **email** | **String** | Main Account Email | [optional] -**enrollmentStatus** | **String** | Enrollment Status | [optional] -**fax** | **String** | Fax | [optional] -**ID** | **String** | Taxnexus Account Id | [optional] -**iSPCustomer** | **Boolean** | ISP Customer? | [optional] +**equityFunding** | **Number** | The amount of equity EquityFunding | [optional] +**facebook** | **String** | Company Facebook URL | [optional] +**linkedIn** | **String** | Company LinkedIn URL | [optional] +**location** | **String** | Headquarters Location Description | [optional] +**fax** | **String** | Fax number | [optional] +**foundedDate** | **String** | Date company founded | [optional] **industry** | **String** | Industry | [optional] -**isCustomerPortal** | **Boolean** | Customer Portal Account | [optional] -**isPartner** | **Boolean** | Partner Account | [optional] -**jigSaw** | **String** | Data.com Key | [optional] +**industries** | **String** | Industries | [optional] +**iPODate** | **String** | IPO Date | [optional] +**logo** | **String** | Company Logo URL | [optional] **lastModifiedByID** | **String** | Last Modified By User ID | [optional] **lastModifiedDate** | **String** | Last Modified Date | [optional] -**mSPCustomer** | **Boolean** | MSP Customer? | [optional] -**nAICSCode** | **String** | NAICS Code | [optional] -**nAICSDesc** | **String** | NAICS Description | [optional] +**marketCapitalization** | **Number** | Market Capitalization | [optional] **name** | **String** | Account Name | [optional] +**numberInvestments** | **Number** | Number of Investments | [optional] **numberOfEmployees** | **Number** | Employee Count Estimate | [optional] -**numberOfLocations** | **Number** | Number of Locations Estimate | [optional] -**openCharges** | **Number** | Open Charges | [optional] -**orderContactID** | **String** | Vendor Order Contact ID | [optional] -**orderEmail** | **String** | Order Email | [optional] **ownerID** | **String** | Account Owner User ID | [optional] **ownership** | **String** | Ownership | [optional] -**parentFK** | **String** | Parent Foreign Key | [optional] +**publish** | **Boolean** | Publish this record? | [optional] +**salesforceFirst** | **Boolean** | A Salesforce-First company? | [optional] **parentID** | **String** | Parent Account | [optional] **phone** | **String** | Phone | [optional] -**placeID** | **String** | The ID of the Place situs record that applies to this Account | [optional] -**preparerID** | **String** | Tax Preparer Contact ID | [optional] -**rating** | **String** | Rating | [optional] -**ratingEngineID** | **String** | Rating Engine identifier | [optional] -**ref** | **String** | External Reference ID | [optional] -**revenueBase** | **Number** | Rollup Revenue Base | [optional] -**revenueNet** | **Number** | Rollup Revenue Net | [optional] -**revenueNotTaxable** | **Number** | Rollup Revenue Not Taxable | [optional] **SIC** | **String** | SIC Code | [optional] **sICDesc** | **String** | SIC Description | [optional] **shippingAddress** | [**Address**](Address.md) | | [optional] -**shippingCensusTract** | **String** | Shipping Census Tract | [optional] **shippingContactID** | **String** | Shipping Contact ID | [optional] -**shippingCounty** | **String** | Shipping County | [optional] **site** | **String** | Account Site | [optional] -**status** | **String** | Account Status | [optional] -**taxExemption** | **String** | Tax Exemption | [optional] -**taxOnTax** | **Number** | Rollup Tax On Tax | [optional] -**telecomCustomer** | **Boolean** | Telecom Customer? | [optional] +**tagLine** | **String** | Company tagline | [optional] **tenantID** | **String** | Tenant Identifier | [optional] **tickerSymbol** | **String** | Ticker Symbol | [optional] -**tradeStyle** | **String** | Tradestyle | [optional] +**twitter** | **String** | Twitter URL | [optional] **type** | **String** | Type | [optional] -**unappliedPayments** | **Number** | Unapplied Payments | [optional] -**unitBase** | **Number** | Rollup Unit Base | [optional] -**upsellOpportunity** | **String** | Upsell Opportunity | [optional] -**wHMCSClientID** | **Number** | WHMCS Client ID | [optional] **website** | **String** | Website | [optional] -**xeroContactID** | **String** | Xero Contact ID | [optional] **yearStarted** | **String** | Year Started | [optional] diff --git a/client/crm/docs/AccountBasic.md b/client/crm/docs/AccountBasic.md deleted file mode 100644 index 2f0df34..0000000 --- a/client/crm/docs/AccountBasic.md +++ /dev/null @@ -1,32 +0,0 @@ -# Crm.AccountBasic - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountNumber** | **String** | Taxnexus Account Number of the OEM/Reseller | [optional] -**billingAddress** | [**Address**](Address.md) | | [optional] -**billingContactID** | **String** | Contact ID | [optional] -**companyID** | **String** | Taxnexus OEM/Reseller Record Id | [optional] -**coordinateID** | **String** | The id of the Coordinate of the business establishment | [optional] -**customerID** | **String** | Taxpayer Customer Id designated by OEM/Reseller | [optional] -**defaultAddress** | [**Address**](Address.md) | | [optional] -**defaultBackendID** | **String** | Default Backend ID | [optional] -**defaultDeliveryContactID** | **String** | Default Delivery Address Contact ID | [optional] -**defaultEndUserID** | **String** | Contact ID | [optional] -**email** | **String** | Taxpayer Public Email Address | [optional] -**fax** | **String** | Taxpayer Fax Number | [optional] -**ID** | **String** | Taxpayer Account Record Id | [optional] -**name** | **String** | Taxpayer Account Name (ignored for Tax Processing) | [optional] -**parentFK** | **String** | UUID Reference the master record that owns this item | [optional] -**phone** | **String** | Taxpayer Public Phone Number | [optional] -**preparerID** | **String** | Contact ID | [optional] -**ref** | **String** | Source System identifier for this record, if any | [optional] -**shippingAddress** | [**Address**](Address.md) | | [optional] -**shippingContactID** | **String** | Contact ID | [optional] -**site** | **String** | Taxpayer Location Designation | [optional] -**tenantID** | **String** | Tenant Identifier | [optional] -**type** | **String** | Account Type | [optional] -**website** | **String** | Taxpayer Website | [optional] - - diff --git a/client/crm/docs/AccountBasicResponse.md b/client/crm/docs/AccountBasicResponse.md deleted file mode 100644 index 0c28cb4..0000000 --- a/client/crm/docs/AccountBasicResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Crm.AccountBasicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[AccountBasic]**](AccountBasic.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/crm/src/index.js b/client/crm/src/index.js index 6aed925..21ca0e9 100644 --- a/client/crm/src/index.js +++ b/client/crm/src/index.js @@ -14,8 +14,6 @@ import ApiClient from './ApiClient'; import Account from './model/Account'; -import AccountBasic from './model/AccountBasic'; -import AccountBasicResponse from './model/AccountBasicResponse'; import AccountRequest from './model/AccountRequest'; import AccountResponse from './model/AccountResponse'; import Address from './model/Address'; @@ -91,18 +89,6 @@ export { */ Account, - /** - * The AccountBasic model constructor. - * @property {module:model/AccountBasic} - */ - AccountBasic, - - /** - * The AccountBasicResponse model constructor. - * @property {module:model/AccountBasicResponse} - */ - AccountBasicResponse, - /** * The AccountRequest model constructor. * @property {module:model/AccountRequest} diff --git a/client/crm/src/model/Account.js b/client/crm/src/model/Account.js index 3f3ca08..0f314f1 100644 --- a/client/crm/src/model/Account.js +++ b/client/crm/src/model/Account.js @@ -48,65 +48,32 @@ class Account { if (data) { obj = obj || new Account(); + if (data.hasOwnProperty('ID')) { + obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); + } if (data.hasOwnProperty('AccountNumber')) { obj['AccountNumber'] = ApiClient.convertToType(data['AccountNumber'], 'String'); } if (data.hasOwnProperty('AccountSource')) { obj['AccountSource'] = ApiClient.convertToType(data['AccountSource'], 'String'); } - if (data.hasOwnProperty('Active')) { - obj['Active'] = ApiClient.convertToType(data['Active'], 'Boolean'); - } - if (data.hasOwnProperty('AdministrativeLevel')) { - obj['AdministrativeLevel'] = ApiClient.convertToType(data['AdministrativeLevel'], 'String'); - } - if (data.hasOwnProperty('Amount')) { - obj['Amount'] = ApiClient.convertToType(data['Amount'], 'Number'); - } - if (data.hasOwnProperty('AmountInvoiced')) { - obj['AmountInvoiced'] = ApiClient.convertToType(data['AmountInvoiced'], 'Number'); - } - if (data.hasOwnProperty('AmountPaid')) { - obj['AmountPaid'] = ApiClient.convertToType(data['AmountPaid'], 'Number'); - } if (data.hasOwnProperty('AnnualRevenue')) { obj['AnnualRevenue'] = ApiClient.convertToType(data['AnnualRevenue'], 'Number'); } - if (data.hasOwnProperty('Balance')) { - obj['Balance'] = ApiClient.convertToType(data['Balance'], 'Number'); - } if (data.hasOwnProperty('BillingAddress')) { obj['BillingAddress'] = Address.constructFromObject(data['BillingAddress']); } if (data.hasOwnProperty('BillingContactID')) { obj['BillingContactID'] = ApiClient.convertToType(data['BillingContactID'], 'String'); } - if (data.hasOwnProperty('BillingPreference')) { - obj['BillingPreference'] = ApiClient.convertToType(data['BillingPreference'], 'String'); + if (data.hasOwnProperty('CloseDate')) { + obj['CloseDate'] = ApiClient.convertToType(data['CloseDate'], 'String'); } - if (data.hasOwnProperty('BusinessAddress')) { - obj['BusinessAddress'] = Address.constructFromObject(data['BusinessAddress']); + if (data.hasOwnProperty('CloudType')) { + obj['CloudType'] = ApiClient.convertToType(data['CloudType'], 'String'); } - if (data.hasOwnProperty('CannabisCustomer')) { - obj['CannabisCustomer'] = ApiClient.convertToType(data['CannabisCustomer'], 'Boolean'); - } - if (data.hasOwnProperty('ChannelProgramLevelName')) { - obj['ChannelProgramLevelName'] = ApiClient.convertToType(data['ChannelProgramLevelName'], 'String'); - } - if (data.hasOwnProperty('ChannelProgramName')) { - obj['ChannelProgramName'] = ApiClient.convertToType(data['ChannelProgramName'], 'String'); - } - if (data.hasOwnProperty('ClientEndDate')) { - obj['ClientEndDate'] = ApiClient.convertToType(data['ClientEndDate'], 'String'); - } - if (data.hasOwnProperty('ClientStartDate')) { - obj['ClientStartDate'] = ApiClient.convertToType(data['ClientStartDate'], 'String'); - } - if (data.hasOwnProperty('CompanyID')) { - obj['CompanyID'] = ApiClient.convertToType(data['CompanyID'], 'String'); - } - if (data.hasOwnProperty('CoordinateID')) { - obj['CoordinateID'] = ApiClient.convertToType(data['CoordinateID'], 'String'); + if (data.hasOwnProperty('CloudYear')) { + obj['CloudYear'] = ApiClient.convertToType(data['CloudYear'], 'String'); } if (data.hasOwnProperty('CreatedByID')) { obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); @@ -114,65 +81,47 @@ class Account { if (data.hasOwnProperty('CreatedDate')) { obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); } - if (data.hasOwnProperty('CustomerID')) { - obj['CustomerID'] = ApiClient.convertToType(data['CustomerID'], 'String'); - } - if (data.hasOwnProperty('CustomerPriority')) { - obj['CustomerPriority'] = ApiClient.convertToType(data['CustomerPriority'], 'String'); - } - if (data.hasOwnProperty('DBA')) { - obj['DBA'] = ApiClient.convertToType(data['DBA'], 'String'); - } - if (data.hasOwnProperty('DUNSNumber')) { - obj['DUNSNumber'] = ApiClient.convertToType(data['DUNSNumber'], 'String'); - } - if (data.hasOwnProperty('DandBCompanyID')) { - obj['DandBCompanyID'] = ApiClient.convertToType(data['DandBCompanyID'], 'String'); - } - if (data.hasOwnProperty('DefaultAddress')) { - obj['DefaultAddress'] = Address.constructFromObject(data['DefaultAddress']); - } - if (data.hasOwnProperty('DefaultBackendID')) { - obj['DefaultBackendID'] = ApiClient.convertToType(data['DefaultBackendID'], 'String'); - } - if (data.hasOwnProperty('DefaultDeliveryContactID')) { - obj['DefaultDeliveryContactID'] = ApiClient.convertToType(data['DefaultDeliveryContactID'], 'String'); - } - if (data.hasOwnProperty('DefaultEndUserID')) { - obj['DefaultEndUserID'] = ApiClient.convertToType(data['DefaultEndUserID'], 'String'); + if (data.hasOwnProperty('CrunchbaseURL')) { + obj['CrunchbaseURL'] = ApiClient.convertToType(data['CrunchbaseURL'], 'String'); } if (data.hasOwnProperty('Description')) { obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); } - if (data.hasOwnProperty('EIN')) { - obj['EIN'] = ApiClient.convertToType(data['EIN'], 'String'); + if (data.hasOwnProperty('EarningsCall')) { + obj['EarningsCall'] = ApiClient.convertToType(data['EarningsCall'], 'String'); } if (data.hasOwnProperty('Email')) { obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); } - if (data.hasOwnProperty('EnrollmentStatus')) { - obj['EnrollmentStatus'] = ApiClient.convertToType(data['EnrollmentStatus'], 'String'); + if (data.hasOwnProperty('EquityFunding')) { + obj['EquityFunding'] = ApiClient.convertToType(data['EquityFunding'], 'Number'); + } + if (data.hasOwnProperty('Facebook')) { + obj['Facebook'] = ApiClient.convertToType(data['Facebook'], 'String'); + } + if (data.hasOwnProperty('LinkedIn')) { + obj['LinkedIn'] = ApiClient.convertToType(data['LinkedIn'], 'String'); + } + if (data.hasOwnProperty('Location')) { + obj['Location'] = ApiClient.convertToType(data['Location'], 'String'); } if (data.hasOwnProperty('Fax')) { obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String'); } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('ISPCustomer')) { - obj['ISPCustomer'] = ApiClient.convertToType(data['ISPCustomer'], 'Boolean'); + if (data.hasOwnProperty('FoundedDate')) { + obj['FoundedDate'] = ApiClient.convertToType(data['FoundedDate'], 'String'); } if (data.hasOwnProperty('Industry')) { obj['Industry'] = ApiClient.convertToType(data['Industry'], 'String'); } - if (data.hasOwnProperty('IsCustomerPortal')) { - obj['IsCustomerPortal'] = ApiClient.convertToType(data['IsCustomerPortal'], 'Boolean'); + if (data.hasOwnProperty('Industries')) { + obj['Industries'] = ApiClient.convertToType(data['Industries'], 'String'); } - if (data.hasOwnProperty('IsPartner')) { - obj['IsPartner'] = ApiClient.convertToType(data['IsPartner'], 'Boolean'); + if (data.hasOwnProperty('IPODate')) { + obj['IPODate'] = ApiClient.convertToType(data['IPODate'], 'String'); } - if (data.hasOwnProperty('JigSaw')) { - obj['JigSaw'] = ApiClient.convertToType(data['JigSaw'], 'String'); + if (data.hasOwnProperty('Logo')) { + obj['Logo'] = ApiClient.convertToType(data['Logo'], 'String'); } if (data.hasOwnProperty('LastModifiedByID')) { obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); @@ -180,41 +129,29 @@ class Account { if (data.hasOwnProperty('LastModifiedDate')) { obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); } - if (data.hasOwnProperty('MSPCustomer')) { - obj['MSPCustomer'] = ApiClient.convertToType(data['MSPCustomer'], 'Boolean'); - } - if (data.hasOwnProperty('NAICSCode')) { - obj['NAICSCode'] = ApiClient.convertToType(data['NAICSCode'], 'String'); - } - if (data.hasOwnProperty('NAICSDesc')) { - obj['NAICSDesc'] = ApiClient.convertToType(data['NAICSDesc'], 'String'); + if (data.hasOwnProperty('MarketCapitalization')) { + obj['MarketCapitalization'] = ApiClient.convertToType(data['MarketCapitalization'], 'Number'); } if (data.hasOwnProperty('Name')) { obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); } + if (data.hasOwnProperty('NumberInvestments')) { + obj['NumberInvestments'] = ApiClient.convertToType(data['NumberInvestments'], 'Number'); + } if (data.hasOwnProperty('NumberOfEmployees')) { obj['NumberOfEmployees'] = ApiClient.convertToType(data['NumberOfEmployees'], 'Number'); } - if (data.hasOwnProperty('NumberOfLocations')) { - obj['NumberOfLocations'] = ApiClient.convertToType(data['NumberOfLocations'], 'Number'); - } - if (data.hasOwnProperty('OpenCharges')) { - obj['OpenCharges'] = ApiClient.convertToType(data['OpenCharges'], 'Number'); - } - if (data.hasOwnProperty('OrderContactID')) { - obj['OrderContactID'] = ApiClient.convertToType(data['OrderContactID'], 'String'); - } - if (data.hasOwnProperty('OrderEmail')) { - obj['OrderEmail'] = ApiClient.convertToType(data['OrderEmail'], 'String'); - } if (data.hasOwnProperty('OwnerID')) { obj['OwnerID'] = ApiClient.convertToType(data['OwnerID'], 'String'); } if (data.hasOwnProperty('Ownership')) { obj['Ownership'] = ApiClient.convertToType(data['Ownership'], 'String'); } - if (data.hasOwnProperty('ParentFK')) { - obj['ParentFK'] = ApiClient.convertToType(data['ParentFK'], 'String'); + if (data.hasOwnProperty('Publish')) { + obj['Publish'] = ApiClient.convertToType(data['Publish'], 'Boolean'); + } + if (data.hasOwnProperty('SalesforceFirst')) { + obj['SalesforceFirst'] = ApiClient.convertToType(data['SalesforceFirst'], 'Boolean'); } if (data.hasOwnProperty('ParentID')) { obj['ParentID'] = ApiClient.convertToType(data['ParentID'], 'String'); @@ -222,30 +159,6 @@ class Account { if (data.hasOwnProperty('Phone')) { obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); } - if (data.hasOwnProperty('PlaceID')) { - obj['PlaceID'] = ApiClient.convertToType(data['PlaceID'], 'String'); - } - if (data.hasOwnProperty('PreparerID')) { - obj['PreparerID'] = ApiClient.convertToType(data['PreparerID'], 'String'); - } - if (data.hasOwnProperty('Rating')) { - obj['Rating'] = ApiClient.convertToType(data['Rating'], 'String'); - } - if (data.hasOwnProperty('RatingEngineID')) { - obj['RatingEngineID'] = ApiClient.convertToType(data['RatingEngineID'], 'String'); - } - if (data.hasOwnProperty('Ref')) { - obj['Ref'] = ApiClient.convertToType(data['Ref'], 'String'); - } - if (data.hasOwnProperty('RevenueBase')) { - obj['RevenueBase'] = ApiClient.convertToType(data['RevenueBase'], 'Number'); - } - if (data.hasOwnProperty('RevenueNet')) { - obj['RevenueNet'] = ApiClient.convertToType(data['RevenueNet'], 'Number'); - } - if (data.hasOwnProperty('RevenueNotTaxable')) { - obj['RevenueNotTaxable'] = ApiClient.convertToType(data['RevenueNotTaxable'], 'Number'); - } if (data.hasOwnProperty('SIC')) { obj['SIC'] = ApiClient.convertToType(data['SIC'], 'String'); } @@ -255,29 +168,14 @@ class Account { if (data.hasOwnProperty('ShippingAddress')) { obj['ShippingAddress'] = Address.constructFromObject(data['ShippingAddress']); } - if (data.hasOwnProperty('ShippingCensusTract')) { - obj['ShippingCensusTract'] = ApiClient.convertToType(data['ShippingCensusTract'], 'String'); - } if (data.hasOwnProperty('ShippingContactID')) { obj['ShippingContactID'] = ApiClient.convertToType(data['ShippingContactID'], 'String'); } - if (data.hasOwnProperty('ShippingCounty')) { - obj['ShippingCounty'] = ApiClient.convertToType(data['ShippingCounty'], 'String'); - } if (data.hasOwnProperty('Site')) { obj['Site'] = ApiClient.convertToType(data['Site'], 'String'); } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('TaxExemption')) { - obj['TaxExemption'] = ApiClient.convertToType(data['TaxExemption'], 'String'); - } - if (data.hasOwnProperty('TaxOnTax')) { - obj['TaxOnTax'] = ApiClient.convertToType(data['TaxOnTax'], 'Number'); - } - if (data.hasOwnProperty('TelecomCustomer')) { - obj['TelecomCustomer'] = ApiClient.convertToType(data['TelecomCustomer'], 'Boolean'); + if (data.hasOwnProperty('TagLine')) { + obj['TagLine'] = ApiClient.convertToType(data['TagLine'], 'String'); } if (data.hasOwnProperty('TenantID')) { obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); @@ -285,30 +183,15 @@ class Account { if (data.hasOwnProperty('TickerSymbol')) { obj['TickerSymbol'] = ApiClient.convertToType(data['TickerSymbol'], 'String'); } - if (data.hasOwnProperty('TradeStyle')) { - obj['TradeStyle'] = ApiClient.convertToType(data['TradeStyle'], 'String'); + if (data.hasOwnProperty('Twitter')) { + obj['Twitter'] = ApiClient.convertToType(data['Twitter'], 'String'); } if (data.hasOwnProperty('Type')) { obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); } - if (data.hasOwnProperty('UnappliedPayments')) { - obj['UnappliedPayments'] = ApiClient.convertToType(data['UnappliedPayments'], 'Number'); - } - if (data.hasOwnProperty('UnitBase')) { - obj['UnitBase'] = ApiClient.convertToType(data['UnitBase'], 'Number'); - } - if (data.hasOwnProperty('UpsellOpportunity')) { - obj['UpsellOpportunity'] = ApiClient.convertToType(data['UpsellOpportunity'], 'String'); - } - if (data.hasOwnProperty('WHMCSClientID')) { - obj['WHMCSClientID'] = ApiClient.convertToType(data['WHMCSClientID'], 'Number'); - } if (data.hasOwnProperty('Website')) { obj['Website'] = ApiClient.convertToType(data['Website'], 'String'); } - if (data.hasOwnProperty('XeroContactID')) { - obj['XeroContactID'] = ApiClient.convertToType(data['XeroContactID'], 'String'); - } if (data.hasOwnProperty('YearStarted')) { obj['YearStarted'] = ApiClient.convertToType(data['YearStarted'], 'String'); } @@ -319,6 +202,12 @@ class Account { } +/** + * Taxnexus Account Id + * @member {String} ID + */ +Account.prototype['ID'] = undefined; + /** * Account Number * @member {String} AccountNumber @@ -331,48 +220,12 @@ Account.prototype['AccountNumber'] = undefined; */ Account.prototype['AccountSource'] = undefined; -/** - * Active - * @member {Boolean} Active - */ -Account.prototype['Active'] = undefined; - -/** - * For tax authorities, this account's administrative level, e.g. Local, County, State or Federal - * @member {String} AdministrativeLevel - */ -Account.prototype['AdministrativeLevel'] = undefined; - -/** - * Rollup Tax Amount - * @member {Number} Amount - */ -Account.prototype['Amount'] = undefined; - -/** - * Amount Invoiced - * @member {Number} AmountInvoiced - */ -Account.prototype['AmountInvoiced'] = undefined; - -/** - * Amount Paid - * @member {Number} AmountPaid - */ -Account.prototype['AmountPaid'] = undefined; - /** * Annual Revenue Estimate * @member {Number} AnnualRevenue */ Account.prototype['AnnualRevenue'] = undefined; -/** - * Account Balance - * @member {Number} Balance - */ -Account.prototype['Balance'] = undefined; - /** * @member {module:model/Address} BillingAddress */ @@ -385,57 +238,22 @@ Account.prototype['BillingAddress'] = undefined; Account.prototype['BillingContactID'] = undefined; /** - * Billing Preference - * @member {String} BillingPreference + * Close Date + * @member {String} CloseDate */ -Account.prototype['BillingPreference'] = undefined; +Account.prototype['CloseDate'] = undefined; /** - * @member {module:model/Address} BusinessAddress + * The type of cloud company + * @member {String} CloudType */ -Account.prototype['BusinessAddress'] = undefined; +Account.prototype['CloudType'] = undefined; /** - * Is this a cannabis customer? - * @member {Boolean} CannabisCustomer + * The year company started cloud revenue + * @member {String} CloudYear */ -Account.prototype['CannabisCustomer'] = undefined; - -/** - * Channel Program Level Name - * @member {String} ChannelProgramLevelName - */ -Account.prototype['ChannelProgramLevelName'] = undefined; - -/** - * Channel Program Name - * @member {String} ChannelProgramName - */ -Account.prototype['ChannelProgramName'] = undefined; - -/** - * Client End Date - * @member {String} ClientEndDate - */ -Account.prototype['ClientEndDate'] = undefined; - -/** - * Client Start Date - * @member {String} ClientStartDate - */ -Account.prototype['ClientStartDate'] = undefined; - -/** - * The Company ID of this Account - * @member {String} CompanyID - */ -Account.prototype['CompanyID'] = undefined; - -/** - * The Id of the geo coordinates of this account - * @member {String} CoordinateID - */ -Account.prototype['CoordinateID'] = undefined; +Account.prototype['CloudYear'] = undefined; /** * Created By User ID @@ -450,69 +268,22 @@ Account.prototype['CreatedByID'] = undefined; Account.prototype['CreatedDate'] = undefined; /** - * Customer ID from source system - * @member {String} CustomerID + * Crunchbase URL + * @member {String} CrunchbaseURL */ -Account.prototype['CustomerID'] = undefined; +Account.prototype['CrunchbaseURL'] = undefined; /** - * Customer Priority - * @member {String} CustomerPriority - */ -Account.prototype['CustomerPriority'] = undefined; - -/** - * This Account's 'Doing Business As' name - * @member {String} DBA - */ -Account.prototype['DBA'] = undefined; - -/** - * D-U-N-S Number - * @member {String} DUNSNumber - */ -Account.prototype['DUNSNumber'] = undefined; - -/** - * D-n-B Company - * @member {String} DandBCompanyID - */ -Account.prototype['DandBCompanyID'] = undefined; - -/** - * @member {module:model/Address} DefaultAddress - */ -Account.prototype['DefaultAddress'] = undefined; - -/** - * Default Backend ID - * @member {String} DefaultBackendID - */ -Account.prototype['DefaultBackendID'] = undefined; - -/** - * Default Delivery Address Contact ID - * @member {String} DefaultDeliveryContactID - */ -Account.prototype['DefaultDeliveryContactID'] = undefined; - -/** - * Default End User Contact ID - * @member {String} DefaultEndUserID - */ -Account.prototype['DefaultEndUserID'] = undefined; - -/** - * Description + * Description of the account * @member {String} Description */ Account.prototype['Description'] = undefined; /** - * EIN - * @member {String} EIN + * Earnings Call Date + * @member {String} EarningsCall */ -Account.prototype['EIN'] = undefined; +Account.prototype['EarningsCall'] = undefined; /** * Main Account Email @@ -521,28 +292,40 @@ Account.prototype['EIN'] = undefined; Account.prototype['Email'] = undefined; /** - * Enrollment Status - * @member {String} EnrollmentStatus + * The amount of equity EquityFunding + * @member {Number} EquityFunding */ -Account.prototype['EnrollmentStatus'] = undefined; +Account.prototype['EquityFunding'] = undefined; /** - * Fax + * Company Facebook URL + * @member {String} Facebook + */ +Account.prototype['Facebook'] = undefined; + +/** + * Company LinkedIn URL + * @member {String} LinkedIn + */ +Account.prototype['LinkedIn'] = undefined; + +/** + * Headquarters Location Description + * @member {String} Location + */ +Account.prototype['Location'] = undefined; + +/** + * Fax number * @member {String} Fax */ Account.prototype['Fax'] = undefined; /** - * Taxnexus Account Id - * @member {String} ID + * Date company founded + * @member {String} FoundedDate */ -Account.prototype['ID'] = undefined; - -/** - * ISP Customer? - * @member {Boolean} ISPCustomer - */ -Account.prototype['ISPCustomer'] = undefined; +Account.prototype['FoundedDate'] = undefined; /** * Industry @@ -551,22 +334,22 @@ Account.prototype['ISPCustomer'] = undefined; Account.prototype['Industry'] = undefined; /** - * Customer Portal Account - * @member {Boolean} IsCustomerPortal + * Industries + * @member {String} Industries */ -Account.prototype['IsCustomerPortal'] = undefined; +Account.prototype['Industries'] = undefined; /** - * Partner Account - * @member {Boolean} IsPartner + * IPO Date + * @member {String} IPODate */ -Account.prototype['IsPartner'] = undefined; +Account.prototype['IPODate'] = undefined; /** - * Data.com Key - * @member {String} JigSaw + * Company Logo URL + * @member {String} Logo */ -Account.prototype['JigSaw'] = undefined; +Account.prototype['Logo'] = undefined; /** * Last Modified By User ID @@ -581,22 +364,10 @@ Account.prototype['LastModifiedByID'] = undefined; Account.prototype['LastModifiedDate'] = undefined; /** - * MSP Customer? - * @member {Boolean} MSPCustomer + * Market Capitalization + * @member {Number} MarketCapitalization */ -Account.prototype['MSPCustomer'] = undefined; - -/** - * NAICS Code - * @member {String} NAICSCode - */ -Account.prototype['NAICSCode'] = undefined; - -/** - * NAICS Description - * @member {String} NAICSDesc - */ -Account.prototype['NAICSDesc'] = undefined; +Account.prototype['MarketCapitalization'] = undefined; /** * Account Name @@ -604,36 +375,18 @@ Account.prototype['NAICSDesc'] = undefined; */ Account.prototype['Name'] = undefined; +/** + * Number of Investments + * @member {Number} NumberInvestments + */ +Account.prototype['NumberInvestments'] = undefined; + /** * Employee Count Estimate * @member {Number} NumberOfEmployees */ Account.prototype['NumberOfEmployees'] = undefined; -/** - * Number of Locations Estimate - * @member {Number} NumberOfLocations - */ -Account.prototype['NumberOfLocations'] = undefined; - -/** - * Open Charges - * @member {Number} OpenCharges - */ -Account.prototype['OpenCharges'] = undefined; - -/** - * Vendor Order Contact ID - * @member {String} OrderContactID - */ -Account.prototype['OrderContactID'] = undefined; - -/** - * Order Email - * @member {String} OrderEmail - */ -Account.prototype['OrderEmail'] = undefined; - /** * Account Owner User ID * @member {String} OwnerID @@ -647,10 +400,16 @@ Account.prototype['OwnerID'] = undefined; Account.prototype['Ownership'] = undefined; /** - * Parent Foreign Key - * @member {String} ParentFK + * Publish this record? + * @member {Boolean} Publish */ -Account.prototype['ParentFK'] = undefined; +Account.prototype['Publish'] = undefined; + +/** + * A Salesforce-First company? + * @member {Boolean} SalesforceFirst + */ +Account.prototype['SalesforceFirst'] = undefined; /** * Parent Account @@ -664,54 +423,6 @@ Account.prototype['ParentID'] = undefined; */ Account.prototype['Phone'] = undefined; -/** - * The ID of the Place situs record that applies to this Account - * @member {String} PlaceID - */ -Account.prototype['PlaceID'] = undefined; - -/** - * Tax Preparer Contact ID - * @member {String} PreparerID - */ -Account.prototype['PreparerID'] = undefined; - -/** - * Rating - * @member {String} Rating - */ -Account.prototype['Rating'] = undefined; - -/** - * Rating Engine identifier - * @member {String} RatingEngineID - */ -Account.prototype['RatingEngineID'] = undefined; - -/** - * External Reference ID - * @member {String} Ref - */ -Account.prototype['Ref'] = undefined; - -/** - * Rollup Revenue Base - * @member {Number} RevenueBase - */ -Account.prototype['RevenueBase'] = undefined; - -/** - * Rollup Revenue Net - * @member {Number} RevenueNet - */ -Account.prototype['RevenueNet'] = undefined; - -/** - * Rollup Revenue Not Taxable - * @member {Number} RevenueNotTaxable - */ -Account.prototype['RevenueNotTaxable'] = undefined; - /** * SIC Code * @member {String} SIC @@ -729,24 +440,12 @@ Account.prototype['SICDesc'] = undefined; */ Account.prototype['ShippingAddress'] = undefined; -/** - * Shipping Census Tract - * @member {String} ShippingCensusTract - */ -Account.prototype['ShippingCensusTract'] = undefined; - /** * Shipping Contact ID * @member {String} ShippingContactID */ Account.prototype['ShippingContactID'] = undefined; -/** - * Shipping County - * @member {String} ShippingCounty - */ -Account.prototype['ShippingCounty'] = undefined; - /** * Account Site * @member {String} Site @@ -754,28 +453,10 @@ Account.prototype['ShippingCounty'] = undefined; Account.prototype['Site'] = undefined; /** - * Account Status - * @member {String} Status + * Company tagline + * @member {String} TagLine */ -Account.prototype['Status'] = undefined; - -/** - * Tax Exemption - * @member {String} TaxExemption - */ -Account.prototype['TaxExemption'] = undefined; - -/** - * Rollup Tax On Tax - * @member {Number} TaxOnTax - */ -Account.prototype['TaxOnTax'] = undefined; - -/** - * Telecom Customer? - * @member {Boolean} TelecomCustomer - */ -Account.prototype['TelecomCustomer'] = undefined; +Account.prototype['TagLine'] = undefined; /** * Tenant Identifier @@ -790,10 +471,10 @@ Account.prototype['TenantID'] = undefined; Account.prototype['TickerSymbol'] = undefined; /** - * Tradestyle - * @member {String} TradeStyle + * Twitter URL + * @member {String} Twitter */ -Account.prototype['TradeStyle'] = undefined; +Account.prototype['Twitter'] = undefined; /** * Type @@ -801,42 +482,12 @@ Account.prototype['TradeStyle'] = undefined; */ Account.prototype['Type'] = undefined; -/** - * Unapplied Payments - * @member {Number} UnappliedPayments - */ -Account.prototype['UnappliedPayments'] = undefined; - -/** - * Rollup Unit Base - * @member {Number} UnitBase - */ -Account.prototype['UnitBase'] = undefined; - -/** - * Upsell Opportunity - * @member {String} UpsellOpportunity - */ -Account.prototype['UpsellOpportunity'] = undefined; - -/** - * WHMCS Client ID - * @member {Number} WHMCSClientID - */ -Account.prototype['WHMCSClientID'] = undefined; - /** * Website * @member {String} Website */ Account.prototype['Website'] = undefined; -/** - * Xero Contact ID - * @member {String} XeroContactID - */ -Account.prototype['XeroContactID'] = undefined; - /** * Year Started * @member {String} YearStarted diff --git a/client/crm/src/model/AccountBasic.js b/client/crm/src/model/AccountBasic.js deleted file mode 100644 index e32e828..0000000 --- a/client/crm/src/model/AccountBasic.js +++ /dev/null @@ -1,277 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -import ApiClient from '../ApiClient'; -import Address from './Address'; - -/** - * The AccountBasic model module. - * @module model/AccountBasic - * @version 0.0.2 - */ -class AccountBasic { - /** - * Constructs a new AccountBasic. - * @alias module:model/AccountBasic - */ - constructor() { - - AccountBasic.initialize(this); - } - - /** - * Initializes the fields of this object. - * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). - * Only for internal use. - */ - static initialize(obj) { - } - - /** - * Constructs a AccountBasic from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/AccountBasic} obj Optional instance to populate. - * @return {module:model/AccountBasic} The populated AccountBasic instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new AccountBasic(); - - if (data.hasOwnProperty('AccountNumber')) { - obj['AccountNumber'] = ApiClient.convertToType(data['AccountNumber'], 'String'); - } - if (data.hasOwnProperty('BillingAddress')) { - obj['BillingAddress'] = Address.constructFromObject(data['BillingAddress']); - } - if (data.hasOwnProperty('BillingContactID')) { - obj['BillingContactID'] = ApiClient.convertToType(data['BillingContactID'], 'String'); - } - if (data.hasOwnProperty('CompanyID')) { - obj['CompanyID'] = ApiClient.convertToType(data['CompanyID'], 'String'); - } - if (data.hasOwnProperty('CoordinateID')) { - obj['CoordinateID'] = ApiClient.convertToType(data['CoordinateID'], 'String'); - } - if (data.hasOwnProperty('CustomerID')) { - obj['CustomerID'] = ApiClient.convertToType(data['CustomerID'], 'String'); - } - if (data.hasOwnProperty('DefaultAddress')) { - obj['DefaultAddress'] = Address.constructFromObject(data['DefaultAddress']); - } - if (data.hasOwnProperty('DefaultBackendID')) { - obj['DefaultBackendID'] = ApiClient.convertToType(data['DefaultBackendID'], 'String'); - } - if (data.hasOwnProperty('DefaultDeliveryContactID')) { - obj['DefaultDeliveryContactID'] = ApiClient.convertToType(data['DefaultDeliveryContactID'], 'String'); - } - if (data.hasOwnProperty('DefaultEndUserID')) { - obj['DefaultEndUserID'] = ApiClient.convertToType(data['DefaultEndUserID'], 'String'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('Fax')) { - obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('ParentFK')) { - obj['ParentFK'] = ApiClient.convertToType(data['ParentFK'], 'String'); - } - if (data.hasOwnProperty('Phone')) { - obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); - } - if (data.hasOwnProperty('PreparerID')) { - obj['PreparerID'] = ApiClient.convertToType(data['PreparerID'], 'String'); - } - if (data.hasOwnProperty('Ref')) { - obj['Ref'] = ApiClient.convertToType(data['Ref'], 'String'); - } - if (data.hasOwnProperty('ShippingAddress')) { - obj['ShippingAddress'] = Address.constructFromObject(data['ShippingAddress']); - } - if (data.hasOwnProperty('ShippingContactID')) { - obj['ShippingContactID'] = ApiClient.convertToType(data['ShippingContactID'], 'String'); - } - if (data.hasOwnProperty('Site')) { - obj['Site'] = ApiClient.convertToType(data['Site'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('Website')) { - obj['Website'] = ApiClient.convertToType(data['Website'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Account Number of the OEM/Reseller - * @member {String} AccountNumber - */ -AccountBasic.prototype['AccountNumber'] = undefined; - -/** - * @member {module:model/Address} BillingAddress - */ -AccountBasic.prototype['BillingAddress'] = undefined; - -/** - * Contact ID - * @member {String} BillingContactID - */ -AccountBasic.prototype['BillingContactID'] = undefined; - -/** - * Taxnexus OEM/Reseller Record Id - * @member {String} CompanyID - */ -AccountBasic.prototype['CompanyID'] = undefined; - -/** - * The id of the Coordinate of the business establishment - * @member {String} CoordinateID - */ -AccountBasic.prototype['CoordinateID'] = undefined; - -/** - * Taxpayer Customer Id designated by OEM/Reseller - * @member {String} CustomerID - */ -AccountBasic.prototype['CustomerID'] = undefined; - -/** - * @member {module:model/Address} DefaultAddress - */ -AccountBasic.prototype['DefaultAddress'] = undefined; - -/** - * Default Backend ID - * @member {String} DefaultBackendID - */ -AccountBasic.prototype['DefaultBackendID'] = undefined; - -/** - * Default Delivery Address Contact ID - * @member {String} DefaultDeliveryContactID - */ -AccountBasic.prototype['DefaultDeliveryContactID'] = undefined; - -/** - * Contact ID - * @member {String} DefaultEndUserID - */ -AccountBasic.prototype['DefaultEndUserID'] = undefined; - -/** - * Taxpayer Public Email Address - * @member {String} Email - */ -AccountBasic.prototype['Email'] = undefined; - -/** - * Taxpayer Fax Number - * @member {String} Fax - */ -AccountBasic.prototype['Fax'] = undefined; - -/** - * Taxpayer Account Record Id - * @member {String} ID - */ -AccountBasic.prototype['ID'] = undefined; - -/** - * Taxpayer Account Name (ignored for Tax Processing) - * @member {String} Name - */ -AccountBasic.prototype['Name'] = undefined; - -/** - * UUID Reference the master record that owns this item - * @member {String} ParentFK - */ -AccountBasic.prototype['ParentFK'] = undefined; - -/** - * Taxpayer Public Phone Number - * @member {String} Phone - */ -AccountBasic.prototype['Phone'] = undefined; - -/** - * Contact ID - * @member {String} PreparerID - */ -AccountBasic.prototype['PreparerID'] = undefined; - -/** - * Source System identifier for this record, if any - * @member {String} Ref - */ -AccountBasic.prototype['Ref'] = undefined; - -/** - * @member {module:model/Address} ShippingAddress - */ -AccountBasic.prototype['ShippingAddress'] = undefined; - -/** - * Contact ID - * @member {String} ShippingContactID - */ -AccountBasic.prototype['ShippingContactID'] = undefined; - -/** - * Taxpayer Location Designation - * @member {String} Site - */ -AccountBasic.prototype['Site'] = undefined; - -/** - * Tenant Identifier - * @member {String} TenantID - */ -AccountBasic.prototype['TenantID'] = undefined; - -/** - * Account Type - * @member {String} Type - */ -AccountBasic.prototype['Type'] = undefined; - -/** - * Taxpayer Website - * @member {String} Website - */ -AccountBasic.prototype['Website'] = undefined; - - - - - - -export default AccountBasic; - diff --git a/client/crm/src/model/AccountBasicResponse.js b/client/crm/src/model/AccountBasicResponse.js deleted file mode 100644 index 74ffda6..0000000 --- a/client/crm/src/model/AccountBasicResponse.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -import ApiClient from '../ApiClient'; -import AccountBasic from './AccountBasic'; -import ResponseMeta from './ResponseMeta'; - -/** - * The AccountBasicResponse model module. - * @module model/AccountBasicResponse - * @version 0.0.2 - */ -class AccountBasicResponse { - /** - * Constructs a new AccountBasicResponse. - * @alias module:model/AccountBasicResponse - */ - constructor() { - - AccountBasicResponse.initialize(this); - } - - /** - * Initializes the fields of this object. - * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). - * Only for internal use. - */ - static initialize(obj) { - } - - /** - * Constructs a AccountBasicResponse from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/AccountBasicResponse} obj Optional instance to populate. - * @return {module:model/AccountBasicResponse} The populated AccountBasicResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new AccountBasicResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [AccountBasic]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -AccountBasicResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -AccountBasicResponse.prototype['Meta'] = undefined; - - - - - - -export default AccountBasicResponse; - diff --git a/client/crm/test/model/Account.spec.js b/client/crm/test/model/Account.spec.js index 51b6a7a..61cfc3d 100644 --- a/client/crm/test/model/Account.spec.js +++ b/client/crm/test/model/Account.spec.js @@ -54,6 +54,12 @@ //expect(instance).to.be.a(Crm.Account); }); + it('should have the property ID (base name: "ID")', function() { + // uncomment below and update the code to test the property ID + //var instance = new Crm.Account(); + //expect(instance).to.be(); + }); + it('should have the property accountNumber (base name: "AccountNumber")', function() { // uncomment below and update the code to test the property accountNumber //var instance = new Crm.Account(); @@ -66,48 +72,12 @@ //expect(instance).to.be(); }); - it('should have the property active (base name: "Active")', function() { - // uncomment below and update the code to test the property active - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property administrativeLevel (base name: "AdministrativeLevel")', function() { - // uncomment below and update the code to test the property administrativeLevel - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property amount (base name: "Amount")', function() { - // uncomment below and update the code to test the property amount - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property amountInvoiced (base name: "AmountInvoiced")', function() { - // uncomment below and update the code to test the property amountInvoiced - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property amountPaid (base name: "AmountPaid")', function() { - // uncomment below and update the code to test the property amountPaid - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - it('should have the property annualRevenue (base name: "AnnualRevenue")', function() { // uncomment below and update the code to test the property annualRevenue //var instance = new Crm.Account(); //expect(instance).to.be(); }); - it('should have the property balance (base name: "Balance")', function() { - // uncomment below and update the code to test the property balance - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - it('should have the property billingAddress (base name: "BillingAddress")', function() { // uncomment below and update the code to test the property billingAddress //var instance = new Crm.Account(); @@ -120,56 +90,20 @@ //expect(instance).to.be(); }); - it('should have the property billingPreference (base name: "BillingPreference")', function() { - // uncomment below and update the code to test the property billingPreference + it('should have the property closeDate (base name: "CloseDate")', function() { + // uncomment below and update the code to test the property closeDate //var instance = new Crm.Account(); //expect(instance).to.be(); }); - it('should have the property businessAddress (base name: "BusinessAddress")', function() { - // uncomment below and update the code to test the property businessAddress + it('should have the property cloudType (base name: "CloudType")', function() { + // uncomment below and update the code to test the property cloudType //var instance = new Crm.Account(); //expect(instance).to.be(); }); - it('should have the property cannabisCustomer (base name: "CannabisCustomer")', function() { - // uncomment below and update the code to test the property cannabisCustomer - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property channelProgramLevelName (base name: "ChannelProgramLevelName")', function() { - // uncomment below and update the code to test the property channelProgramLevelName - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property channelProgramName (base name: "ChannelProgramName")', function() { - // uncomment below and update the code to test the property channelProgramName - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property clientEndDate (base name: "ClientEndDate")', function() { - // uncomment below and update the code to test the property clientEndDate - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property clientStartDate (base name: "ClientStartDate")', function() { - // uncomment below and update the code to test the property clientStartDate - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property companyID (base name: "CompanyID")', function() { - // uncomment below and update the code to test the property companyID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property coordinateID (base name: "CoordinateID")', function() { - // uncomment below and update the code to test the property coordinateID + it('should have the property cloudYear (base name: "CloudYear")', function() { + // uncomment below and update the code to test the property cloudYear //var instance = new Crm.Account(); //expect(instance).to.be(); }); @@ -186,56 +120,8 @@ //expect(instance).to.be(); }); - it('should have the property customerID (base name: "CustomerID")', function() { - // uncomment below and update the code to test the property customerID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property customerPriority (base name: "CustomerPriority")', function() { - // uncomment below and update the code to test the property customerPriority - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property DBA (base name: "DBA")', function() { - // uncomment below and update the code to test the property DBA - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property dUNSNumber (base name: "DUNSNumber")', function() { - // uncomment below and update the code to test the property dUNSNumber - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property dandBCompanyID (base name: "DandBCompanyID")', function() { - // uncomment below and update the code to test the property dandBCompanyID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property defaultAddress (base name: "DefaultAddress")', function() { - // uncomment below and update the code to test the property defaultAddress - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property defaultBackendID (base name: "DefaultBackendID")', function() { - // uncomment below and update the code to test the property defaultBackendID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property defaultDeliveryContactID (base name: "DefaultDeliveryContactID")', function() { - // uncomment below and update the code to test the property defaultDeliveryContactID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property defaultEndUserID (base name: "DefaultEndUserID")', function() { - // uncomment below and update the code to test the property defaultEndUserID + it('should have the property crunchbaseURL (base name: "CrunchbaseURL")', function() { + // uncomment below and update the code to test the property crunchbaseURL //var instance = new Crm.Account(); //expect(instance).to.be(); }); @@ -246,8 +132,8 @@ //expect(instance).to.be(); }); - it('should have the property EIN (base name: "EIN")', function() { - // uncomment below and update the code to test the property EIN + it('should have the property earningsCall (base name: "EarningsCall")', function() { + // uncomment below and update the code to test the property earningsCall //var instance = new Crm.Account(); //expect(instance).to.be(); }); @@ -258,8 +144,26 @@ //expect(instance).to.be(); }); - it('should have the property enrollmentStatus (base name: "EnrollmentStatus")', function() { - // uncomment below and update the code to test the property enrollmentStatus + it('should have the property equityFunding (base name: "EquityFunding")', function() { + // uncomment below and update the code to test the property equityFunding + //var instance = new Crm.Account(); + //expect(instance).to.be(); + }); + + it('should have the property facebook (base name: "Facebook")', function() { + // uncomment below and update the code to test the property facebook + //var instance = new Crm.Account(); + //expect(instance).to.be(); + }); + + it('should have the property linkedIn (base name: "LinkedIn")', function() { + // uncomment below and update the code to test the property linkedIn + //var instance = new Crm.Account(); + //expect(instance).to.be(); + }); + + it('should have the property location (base name: "Location")', function() { + // uncomment below and update the code to test the property location //var instance = new Crm.Account(); //expect(instance).to.be(); }); @@ -270,14 +174,8 @@ //expect(instance).to.be(); }); - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property iSPCustomer (base name: "ISPCustomer")', function() { - // uncomment below and update the code to test the property iSPCustomer + it('should have the property foundedDate (base name: "FoundedDate")', function() { + // uncomment below and update the code to test the property foundedDate //var instance = new Crm.Account(); //expect(instance).to.be(); }); @@ -288,20 +186,20 @@ //expect(instance).to.be(); }); - it('should have the property isCustomerPortal (base name: "IsCustomerPortal")', function() { - // uncomment below and update the code to test the property isCustomerPortal + it('should have the property industries (base name: "Industries")', function() { + // uncomment below and update the code to test the property industries //var instance = new Crm.Account(); //expect(instance).to.be(); }); - it('should have the property isPartner (base name: "IsPartner")', function() { - // uncomment below and update the code to test the property isPartner + it('should have the property iPODate (base name: "IPODate")', function() { + // uncomment below and update the code to test the property iPODate //var instance = new Crm.Account(); //expect(instance).to.be(); }); - it('should have the property jigSaw (base name: "JigSaw")', function() { - // uncomment below and update the code to test the property jigSaw + it('should have the property logo (base name: "Logo")', function() { + // uncomment below and update the code to test the property logo //var instance = new Crm.Account(); //expect(instance).to.be(); }); @@ -318,20 +216,8 @@ //expect(instance).to.be(); }); - it('should have the property mSPCustomer (base name: "MSPCustomer")', function() { - // uncomment below and update the code to test the property mSPCustomer - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property nAICSCode (base name: "NAICSCode")', function() { - // uncomment below and update the code to test the property nAICSCode - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property nAICSDesc (base name: "NAICSDesc")', function() { - // uncomment below and update the code to test the property nAICSDesc + it('should have the property marketCapitalization (base name: "MarketCapitalization")', function() { + // uncomment below and update the code to test the property marketCapitalization //var instance = new Crm.Account(); //expect(instance).to.be(); }); @@ -342,36 +228,18 @@ //expect(instance).to.be(); }); + it('should have the property numberInvestments (base name: "NumberInvestments")', function() { + // uncomment below and update the code to test the property numberInvestments + //var instance = new Crm.Account(); + //expect(instance).to.be(); + }); + it('should have the property numberOfEmployees (base name: "NumberOfEmployees")', function() { // uncomment below and update the code to test the property numberOfEmployees //var instance = new Crm.Account(); //expect(instance).to.be(); }); - it('should have the property numberOfLocations (base name: "NumberOfLocations")', function() { - // uncomment below and update the code to test the property numberOfLocations - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property openCharges (base name: "OpenCharges")', function() { - // uncomment below and update the code to test the property openCharges - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property orderContactID (base name: "OrderContactID")', function() { - // uncomment below and update the code to test the property orderContactID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property orderEmail (base name: "OrderEmail")', function() { - // uncomment below and update the code to test the property orderEmail - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - it('should have the property ownerID (base name: "OwnerID")', function() { // uncomment below and update the code to test the property ownerID //var instance = new Crm.Account(); @@ -384,8 +252,14 @@ //expect(instance).to.be(); }); - it('should have the property parentFK (base name: "ParentFK")', function() { - // uncomment below and update the code to test the property parentFK + it('should have the property publish (base name: "Publish")', function() { + // uncomment below and update the code to test the property publish + //var instance = new Crm.Account(); + //expect(instance).to.be(); + }); + + it('should have the property salesforceFirst (base name: "SalesforceFirst")', function() { + // uncomment below and update the code to test the property salesforceFirst //var instance = new Crm.Account(); //expect(instance).to.be(); }); @@ -402,54 +276,6 @@ //expect(instance).to.be(); }); - it('should have the property placeID (base name: "PlaceID")', function() { - // uncomment below and update the code to test the property placeID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property preparerID (base name: "PreparerID")', function() { - // uncomment below and update the code to test the property preparerID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property rating (base name: "Rating")', function() { - // uncomment below and update the code to test the property rating - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property ratingEngineID (base name: "RatingEngineID")', function() { - // uncomment below and update the code to test the property ratingEngineID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "Ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property revenueBase (base name: "RevenueBase")', function() { - // uncomment below and update the code to test the property revenueBase - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property revenueNet (base name: "RevenueNet")', function() { - // uncomment below and update the code to test the property revenueNet - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property revenueNotTaxable (base name: "RevenueNotTaxable")', function() { - // uncomment below and update the code to test the property revenueNotTaxable - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - it('should have the property SIC (base name: "SIC")', function() { // uncomment below and update the code to test the property SIC //var instance = new Crm.Account(); @@ -468,50 +294,20 @@ //expect(instance).to.be(); }); - it('should have the property shippingCensusTract (base name: "ShippingCensusTract")', function() { - // uncomment below and update the code to test the property shippingCensusTract - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - it('should have the property shippingContactID (base name: "ShippingContactID")', function() { // uncomment below and update the code to test the property shippingContactID //var instance = new Crm.Account(); //expect(instance).to.be(); }); - it('should have the property shippingCounty (base name: "ShippingCounty")', function() { - // uncomment below and update the code to test the property shippingCounty - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - it('should have the property site (base name: "Site")', function() { // uncomment below and update the code to test the property site //var instance = new Crm.Account(); //expect(instance).to.be(); }); - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property taxExemption (base name: "TaxExemption")', function() { - // uncomment below and update the code to test the property taxExemption - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property taxOnTax (base name: "TaxOnTax")', function() { - // uncomment below and update the code to test the property taxOnTax - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property telecomCustomer (base name: "TelecomCustomer")', function() { - // uncomment below and update the code to test the property telecomCustomer + it('should have the property tagLine (base name: "TagLine")', function() { + // uncomment below and update the code to test the property tagLine //var instance = new Crm.Account(); //expect(instance).to.be(); }); @@ -528,8 +324,8 @@ //expect(instance).to.be(); }); - it('should have the property tradeStyle (base name: "TradeStyle")', function() { - // uncomment below and update the code to test the property tradeStyle + it('should have the property twitter (base name: "Twitter")', function() { + // uncomment below and update the code to test the property twitter //var instance = new Crm.Account(); //expect(instance).to.be(); }); @@ -540,42 +336,12 @@ //expect(instance).to.be(); }); - it('should have the property unappliedPayments (base name: "UnappliedPayments")', function() { - // uncomment below and update the code to test the property unappliedPayments - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property unitBase (base name: "UnitBase")', function() { - // uncomment below and update the code to test the property unitBase - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property upsellOpportunity (base name: "UpsellOpportunity")', function() { - // uncomment below and update the code to test the property upsellOpportunity - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property wHMCSClientID (base name: "WHMCSClientID")', function() { - // uncomment below and update the code to test the property wHMCSClientID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - it('should have the property website (base name: "Website")', function() { // uncomment below and update the code to test the property website //var instance = new Crm.Account(); //expect(instance).to.be(); }); - it('should have the property xeroContactID (base name: "XeroContactID")', function() { - // uncomment below and update the code to test the property xeroContactID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - it('should have the property yearStarted (base name: "YearStarted")', function() { // uncomment below and update the code to test the property yearStarted //var instance = new Crm.Account(); diff --git a/client/crm/test/model/AccountBasic.spec.js b/client/crm/test/model/AccountBasic.spec.js deleted file mode 100644 index e6a05ee..0000000 --- a/client/crm/test/model/AccountBasic.spec.js +++ /dev/null @@ -1,203 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.AccountBasic(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AccountBasic', function() { - it('should create an instance of AccountBasic', function() { - // uncomment below and update the code to test AccountBasic - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be.a(Crm.AccountBasic); - }); - - it('should have the property accountNumber (base name: "AccountNumber")', function() { - // uncomment below and update the code to test the property accountNumber - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property billingAddress (base name: "BillingAddress")', function() { - // uncomment below and update the code to test the property billingAddress - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property billingContactID (base name: "BillingContactID")', function() { - // uncomment below and update the code to test the property billingContactID - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property companyID (base name: "CompanyID")', function() { - // uncomment below and update the code to test the property companyID - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property coordinateID (base name: "CoordinateID")', function() { - // uncomment below and update the code to test the property coordinateID - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property customerID (base name: "CustomerID")', function() { - // uncomment below and update the code to test the property customerID - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property defaultAddress (base name: "DefaultAddress")', function() { - // uncomment below and update the code to test the property defaultAddress - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property defaultBackendID (base name: "DefaultBackendID")', function() { - // uncomment below and update the code to test the property defaultBackendID - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property defaultDeliveryContactID (base name: "DefaultDeliveryContactID")', function() { - // uncomment below and update the code to test the property defaultDeliveryContactID - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property defaultEndUserID (base name: "DefaultEndUserID")', function() { - // uncomment below and update the code to test the property defaultEndUserID - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property fax (base name: "Fax")', function() { - // uncomment below and update the code to test the property fax - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property parentFK (base name: "ParentFK")', function() { - // uncomment below and update the code to test the property parentFK - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "Phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property preparerID (base name: "PreparerID")', function() { - // uncomment below and update the code to test the property preparerID - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "Ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property shippingAddress (base name: "ShippingAddress")', function() { - // uncomment below and update the code to test the property shippingAddress - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property shippingContactID (base name: "ShippingContactID")', function() { - // uncomment below and update the code to test the property shippingContactID - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property site (base name: "Site")', function() { - // uncomment below and update the code to test the property site - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - it('should have the property website (base name: "Website")', function() { - // uncomment below and update the code to test the property website - //var instance = new Crm.AccountBasic(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/AccountBasicResponse.spec.js b/client/crm/test/model/AccountBasicResponse.spec.js deleted file mode 100644 index 0f9c24b..0000000 --- a/client/crm/test/model/AccountBasicResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.AccountBasicResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AccountBasicResponse', function() { - it('should create an instance of AccountBasicResponse', function() { - // uncomment below and update the code to test AccountBasicResponse - //var instance = new Crm.AccountBasicResponse(); - //expect(instance).to.be.a(Crm.AccountBasicResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Crm.AccountBasicResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Crm.AccountBasicResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/swagger/crm-vernonkeenan.yaml b/swagger/crm-vernonkeenan.yaml index ba81a5e..a87ebed 100644 --- a/swagger/crm-vernonkeenan.yaml +++ b/swagger/crm-vernonkeenan.yaml @@ -139,15 +139,6 @@ responses: type: string schema: $ref: "#/definitions/Error" - AccountBasicResponse: - description: Taxnexus Response with Account objects with Contacts - headers: - Access-Control-Allow-Origin: - type: string - Cache-Control: - type: string - schema: - $ref: "#/definitions/AccountBasicResponse" AccountResponse: description: Taxnexus Response with Account objects with Contacts headers: @@ -1174,69 +1165,32 @@ definitions: type: object Account: properties: + ID: + description: Taxnexus Account Id + type: string AccountNumber: description: Account Number type: string AccountSource: description: The marketing origin of this account type: string - Active: - description: Active - type: boolean - AdministrativeLevel: - description: "For tax authorities, this account's administrative level, - e.g. Local, County, State or Federal" - type: string - Amount: - description: Rollup Tax Amount - format: double - type: number - AmountInvoiced: - description: Amount Invoiced - format: double - type: number - AmountPaid: - description: Amount Paid - format: double - type: number AnnualRevenue: description: Annual Revenue Estimate format: double type: number - Balance: - description: Account Balance - format: double - type: number BillingAddress: $ref: "#/definitions/Address" BillingContactID: description: Contact ID type: string - BillingPreference: - description: Billing Preference + CloseDate: + description: Close Date type: string - BusinessAddress: - $ref: "#/definitions/Address" - CannabisCustomer: - description: Is this a cannabis customer? - type: boolean - ChannelProgramLevelName: - description: Channel Program Level Name + CloudType: + description: The type of cloud company type: string - ChannelProgramName: - description: Channel Program Name - type: string - ClientEndDate: - description: Client End Date - type: string - ClientStartDate: - description: Client Start Date - type: string - CompanyID: - description: The Company ID of this Account - type: string - CoordinateID: - description: The Id of the geo coordinates of this account + CloudYear: + description: The year company started cloud revenue type: string CreatedByID: description: Created By User ID @@ -1244,64 +1198,47 @@ definitions: CreatedDate: description: Created Date type: string - CustomerID: - description: Customer ID from source system - type: string - CustomerPriority: - description: Customer Priority - type: string - DBA: - description: This Account's 'Doing Business As' name - type: string - DUNSNumber: - description: D-U-N-S Number - type: string - DandBCompanyID: - description: D-n-B Company - type: string - DefaultAddress: - $ref: "#/definitions/Address" - DefaultBackendID: - description: Default Backend ID - type: string - DefaultDeliveryContactID: - description: Default Delivery Address Contact ID - type: string - DefaultEndUserID: - description: Default End User Contact ID + CrunchbaseURL: + description: Crunchbase URL type: string Description: - description: Description + description: Description of the account type: string - EIN: - description: EIN + EarningsCall: + description: Earnings Call Date type: string Email: description: Main Account Email type: string - EnrollmentStatus: - description: Enrollment Status + EquityFunding: + description: The amount of equity EquityFunding + type: number + Facebook: + description: Company Facebook URL + type: string + LinkedIn: + description: Company LinkedIn URL + type: string + Location: + description: Headquarters Location Description type: string Fax: - description: Fax + description: Fax number type: string - ID: - description: Taxnexus Account Id + FoundedDate: + description: Date company founded type: string - ISPCustomer: - description: ISP Customer? - type: boolean Industry: description: Industry type: string - IsCustomerPortal: - description: Customer Portal Account - type: boolean - IsPartner: - description: Partner Account - type: boolean - JigSaw: - description: Data.com Key + Industries: + description: Industries + type: string + IPODate: + description: IPO Date + type: string + Logo: + description: Company Logo URL type: string LastModifiedByID: description: Last Modified By User ID @@ -1309,78 +1246,37 @@ definitions: LastModifiedDate: description: Last Modified Date type: string - MSPCustomer: - description: MSP Customer? - type: boolean - NAICSCode: - description: NAICS Code - type: string - NAICSDesc: - description: NAICS Description - type: string + MarketCapitalization: + description: Market Capitalization + type: number Name: description: Account Name type: string + NumberInvestments: + description: Number of Investments + type: number NumberOfEmployees: description: Employee Count Estimate format: int64 type: number - NumberOfLocations: - description: Number of Locations Estimate - format: int64 - type: number - OpenCharges: - description: Open Charges - format: double - type: number - OrderContactID: - description: Vendor Order Contact ID - type: string - OrderEmail: - description: Order Email - type: string OwnerID: description: Account Owner User ID type: string Ownership: description: Ownership type: string - ParentFK: - description: Parent Foreign Key - type: string + Publish: + description: Publish this record? + type: boolean + SalesforceFirst: + description: A Salesforce-First company? + type: boolean ParentID: description: Parent Account type: string Phone: description: Phone type: string - PlaceID: - description: The ID of the Place situs record that applies to this Account - type: string - PreparerID: - description: Tax Preparer Contact ID - type: string - Rating: - description: Rating - type: string - RatingEngineID: - description: Rating Engine identifier - type: string - Ref: - description: External Reference ID - type: string - RevenueBase: - description: Rollup Revenue Base - format: double - type: number - RevenueNet: - description: Rollup Revenue Net - format: double - type: number - RevenueNotTaxable: - description: Rollup Revenue Not Taxable - format: double - type: number SIC: description: SIC Code type: string @@ -1389,150 +1285,34 @@ definitions: type: string ShippingAddress: $ref: "#/definitions/Address" - ShippingCensusTract: - description: Shipping Census Tract - type: string ShippingContactID: description: Shipping Contact ID type: string - ShippingCounty: - description: Shipping County - type: string Site: description: Account Site type: string - Status: - description: Account Status + TagLine: + description: Company tagline type: string - TaxExemption: - description: Tax Exemption - type: string - TaxOnTax: - description: Rollup Tax On Tax - format: double - type: number - TelecomCustomer: - description: Telecom Customer? - type: boolean TenantID: description: Tenant Identifier type: string TickerSymbol: description: Ticker Symbol type: string - TradeStyle: - description: Tradestyle + Twitter: + description: Twitter URL type: string Type: description: Type type: string - UnappliedPayments: - description: Unapplied Payments - format: double - type: number - UnitBase: - description: Rollup Unit Base - type: number - UpsellOpportunity: - description: Upsell Opportunity - type: string - WHMCSClientID: - description: WHMCS Client ID - format: int64 - type: number Website: description: Website type: string - XeroContactID: - description: Xero Contact ID - type: string YearStarted: description: Year Started type: string type: object - AccountBasic: - properties: - AccountNumber: - description: "Taxnexus Account Number of the OEM/Reseller " - type: string - BillingAddress: - $ref: "#/definitions/Address" - BillingContactID: - description: Contact ID - type: string - CompanyID: - description: Taxnexus OEM/Reseller Record Id - type: string - CoordinateID: - description: The id of the Coordinate of the business establishment - type: string - CustomerID: - description: Taxpayer Customer Id designated by OEM/Reseller - type: string - DefaultAddress: - $ref: "#/definitions/Address" - type: string - DefaultBackendID: - description: Default Backend ID - type: string - DefaultDeliveryContactID: - description: Default Delivery Address Contact ID - type: string - DefaultEndUserID: - description: Contact ID - type: string - Email: - description: Taxpayer Public Email Address - type: string - Fax: - description: Taxpayer Fax Number - type: string - ID: - description: Taxpayer Account Record Id - type: string - Name: - description: Taxpayer Account Name (ignored for Tax Processing) - type: string - ParentFK: - description: UUID Reference the master record that owns this item - type: string - Phone: - description: Taxpayer Public Phone Number - type: string - PreparerID: - description: Contact ID - type: string - Ref: - description: "Source System identifier for this record, if any" - type: string - ShippingAddress: - $ref: "#/definitions/Address" - description: Shipping Address - ShippingContactID: - description: Contact ID - type: string - Site: - description: Taxpayer Location Designation - type: string - TenantID: - description: Tenant Identifier - type: string - Type: - description: Account Type - type: string - Website: - description: Taxpayer Website - type: string - type: object - AccountBasicResponse: - properties: - Data: - items: - $ref: "#/definitions/AccountBasic" - type: array - Meta: - $ref: "#/definitions/ResponseMeta" - type: object AccountRequest: description: An array of Account objects with Contacts properties: