ExternalAccount

v0.5.9 v0.5.9
Vernon Keenan 2023-06-05 00:09:35 +00:00
parent 8958a4bc42
commit 5f6047db4d
25 changed files with 65 additions and 65 deletions

View File

@ -25,14 +25,14 @@ type RequestMeta struct {
// Account Number of the Reseller or OEM // Account Number of the Reseller or OEM
// Required: true // Required: true
TaxnexusAccount *string `json:"TaxnexusAccount"` ExternalAccount *string `json:"ExternalAccount"`
} }
// Validate validates this request meta // Validate validates this request meta
func (m *RequestMeta) Validate(formats strfmt.Registry) error { func (m *RequestMeta) Validate(formats strfmt.Registry) error {
var res []error var res []error
if err := m.validateTaxnexusAccount(formats); err != nil { if err := m.validateExternalAccount(formats); err != nil {
res = append(res, err) res = append(res, err)
} }
@ -42,9 +42,9 @@ func (m *RequestMeta) Validate(formats strfmt.Registry) error {
return nil return nil
} }
func (m *RequestMeta) validateTaxnexusAccount(formats strfmt.Registry) error { func (m *RequestMeta) validateExternalAccount(formats strfmt.Registry) error {
if err := validate.Required("TaxnexusAccount", "body", m.TaxnexusAccount); err != nil { if err := validate.Required("ExternalAccount", "body", m.ExternalAccount); err != nil {
return err return err
} }

View File

@ -28,6 +28,9 @@ type ResponseMeta struct {
// Copyright Info // Copyright Info
Copyright string `json:"Copyright,omitempty"` Copyright string `json:"Copyright,omitempty"`
// Account Number used for recording transactions
ExternalAccount string `json:"ExternalAccount,omitempty"`
// License Information and Restrictions // License Information and Restrictions
License string `json:"License,omitempty"` License string `json:"License,omitempty"`
@ -54,9 +57,6 @@ type ResponseMeta struct {
// Backend Server Timestamp // Backend Server Timestamp
ServerTimestamp string `json:"ServerTimestamp,omitempty"` ServerTimestamp string `json:"ServerTimestamp,omitempty"`
// Account Number used for recording transactions
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
} }
// Validate validates this response meta // Validate validates this response meta

View File

@ -37,7 +37,7 @@ type TenantUser struct {
ContactID *string `json:"ContactID,omitempty"` ContactID *string `json:"ContactID,omitempty"`
// Account // Account
TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"` ExternalAccount *string `json:"ExternalAccount,omitempty"`
// Tenant active? // Tenant active?
TenantActive *bool `json:"TenantActive,omitempty"` TenantActive *bool `json:"TenantActive,omitempty"`

View File

@ -86,6 +86,9 @@ type User struct {
// Extension // Extension
Extension *string `json:"Extension,omitempty"` Extension *string `json:"Extension,omitempty"`
// Account
ExternalAccount *string `json:"ExternalAccount,omitempty"`
// Fax // Fax
Fax *string `json:"Fax,omitempty"` Fax *string `json:"Fax,omitempty"`
@ -173,9 +176,6 @@ type User struct {
// Onboarding Status // Onboarding Status
Status *string `json:"Status,omitempty"` Status *string `json:"Status,omitempty"`
// Account
TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"`
// Tenant ID associated with this user // Tenant ID associated with this user
TenantID *string `json:"TenantID,omitempty"` TenantID *string `json:"TenantID,omitempty"`

View File

@ -36,6 +36,9 @@ type UserRole struct {
// Contact ID // Contact ID
ContactID *string `json:"ContactID,omitempty"` ContactID *string `json:"ContactID,omitempty"`
// Account Number
ExternalAccount *string `json:"ExternalAccount,omitempty"`
// Role description // Role description
RoleDescription *string `json:"RoleDescription,omitempty"` RoleDescription *string `json:"RoleDescription,omitempty"`
@ -45,9 +48,6 @@ type UserRole struct {
// Role Name // Role Name
RoleName *string `json:"RoleName,omitempty"` RoleName *string `json:"RoleName,omitempty"`
// Account Number
TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"`
// User Email Address // User Email Address
UserEmail *string `json:"UserEmail,omitempty"` UserEmail *string `json:"UserEmail,omitempty"`

View File

@ -28,6 +28,9 @@ type ResponseMeta struct {
// Copyright Info // Copyright Info
Copyright string `json:"Copyright,omitempty"` Copyright string `json:"Copyright,omitempty"`
// Account Number used for recording transactions
ExternalAccount string `json:"ExternalAccount,omitempty"`
// License Information and Restrictions // License Information and Restrictions
License string `json:"License,omitempty"` License string `json:"License,omitempty"`
@ -54,9 +57,6 @@ type ResponseMeta struct {
// Backend Server Timestamp // Backend Server Timestamp
ServerTimestamp string `json:"ServerTimestamp,omitempty"` ServerTimestamp string `json:"ServerTimestamp,omitempty"`
// Account Number used for recording transactions
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
} }
// Validate validates this response meta // Validate validates this response meta

View File

@ -25,14 +25,14 @@ type RequestMeta struct {
// Account Number of the Reseller or OEM // Account Number of the Reseller or OEM
// Required: true // Required: true
TaxnexusAccount *string `json:"TaxnexusAccount"` ExternalAccount *string `json:"ExternalAccount"`
} }
// Validate validates this request meta // Validate validates this request meta
func (m *RequestMeta) Validate(formats strfmt.Registry) error { func (m *RequestMeta) Validate(formats strfmt.Registry) error {
var res []error var res []error
if err := m.validateTaxnexusAccount(formats); err != nil { if err := m.validateExternalAccount(formats); err != nil {
res = append(res, err) res = append(res, err)
} }
@ -42,9 +42,9 @@ func (m *RequestMeta) Validate(formats strfmt.Registry) error {
return nil return nil
} }
func (m *RequestMeta) validateTaxnexusAccount(formats strfmt.Registry) error { func (m *RequestMeta) validateExternalAccount(formats strfmt.Registry) error {
if err := validate.Required("TaxnexusAccount", "body", m.TaxnexusAccount); err != nil { if err := validate.Required("ExternalAccount", "body", m.ExternalAccount); err != nil {
return err return err
} }

View File

@ -28,6 +28,9 @@ type ResponseMeta struct {
// Copyright Info // Copyright Info
Copyright string `json:"Copyright,omitempty"` Copyright string `json:"Copyright,omitempty"`
// Account Number used for recording transactions
ExternalAccount string `json:"ExternalAccount,omitempty"`
// License Information and Restrictions // License Information and Restrictions
License string `json:"License,omitempty"` License string `json:"License,omitempty"`
@ -54,9 +57,6 @@ type ResponseMeta struct {
// Backend Server Timestamp // Backend Server Timestamp
ServerTimestamp string `json:"ServerTimestamp,omitempty"` ServerTimestamp string `json:"ServerTimestamp,omitempty"`
// Account Number used for recording transactions
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
} }
// Validate validates this response meta // Validate validates this response meta

View File

@ -22,7 +22,7 @@ import (
type RequestMeta struct { type RequestMeta struct {
// Account Number of the Reseller or OEM // Account Number of the Reseller or OEM
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` ExternalAccount string `json:"ExternalAccount,omitempty"`
} }
// Validate validates this request meta // Validate validates this request meta

View File

@ -28,6 +28,9 @@ type ResearchProjectCompanyResponseMeta struct {
// Copyright Info // Copyright Info
Copyright string `json:"Copyright,omitempty"` Copyright string `json:"Copyright,omitempty"`
// Account Number used for recording transactions
ExternalAccount string `json:"ExternalAccount,omitempty"`
// License Information and Restrictions // License Information and Restrictions
License string `json:"License,omitempty"` License string `json:"License,omitempty"`
@ -54,9 +57,6 @@ type ResearchProjectCompanyResponseMeta struct {
// Backend Server Timestamp // Backend Server Timestamp
ServerTimestamp string `json:"ServerTimestamp,omitempty"` ServerTimestamp string `json:"ServerTimestamp,omitempty"`
// Account Number used for recording transactions
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
} }
// Validate validates this research project company response meta // Validate validates this research project company response meta

View File

@ -28,6 +28,9 @@ type ResponseMeta struct {
// Copyright Info // Copyright Info
Copyright string `json:"Copyright,omitempty"` Copyright string `json:"Copyright,omitempty"`
// Account Number used for recording transactions
ExternalAccount string `json:"ExternalAccount,omitempty"`
// License Information and Restrictions // License Information and Restrictions
License string `json:"License,omitempty"` License string `json:"License,omitempty"`
@ -54,9 +57,6 @@ type ResponseMeta struct {
// Backend Server Timestamp // Backend Server Timestamp
ServerTimestamp string `json:"ServerTimestamp,omitempty"` ServerTimestamp string `json:"ServerTimestamp,omitempty"`
// Account Number used for recording transactions
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
} }
// Validate validates this response meta // Validate validates this response meta

View File

@ -86,6 +86,9 @@ type User struct {
// Extension // Extension
Extension *string `json:"Extension,omitempty"` Extension *string `json:"Extension,omitempty"`
// Account
ExternalAccount *string `json:"ExternalAccount,omitempty"`
// Fabric API Key // Fabric API Key
FabricAPIKey *string `json:"FabricAPIKey,omitempty"` FabricAPIKey *string `json:"FabricAPIKey,omitempty"`
@ -188,9 +191,6 @@ type User struct {
// Status // Status
Status *string `json:"Status,omitempty"` Status *string `json:"Status,omitempty"`
// Account
TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"`
// Tenant ID associated with this user // Tenant ID associated with this user
TenantID *string `json:"TenantID,omitempty"` TenantID *string `json:"TenantID,omitempty"`

View File

@ -25,14 +25,14 @@ type RequestMeta struct {
// Account Number of the Reseller or OEM // Account Number of the Reseller or OEM
// Required: true // Required: true
TaxnexusAccount *string `json:"TaxnexusAccount"` ExternalAccount *string `json:"ExternalAccount"`
} }
// Validate validates this request meta // Validate validates this request meta
func (m *RequestMeta) Validate(formats strfmt.Registry) error { func (m *RequestMeta) Validate(formats strfmt.Registry) error {
var res []error var res []error
if err := m.validateTaxnexusAccount(formats); err != nil { if err := m.validateExternalAccount(formats); err != nil {
res = append(res, err) res = append(res, err)
} }
@ -42,9 +42,9 @@ func (m *RequestMeta) Validate(formats strfmt.Registry) error {
return nil return nil
} }
func (m *RequestMeta) validateTaxnexusAccount(formats strfmt.Registry) error { func (m *RequestMeta) validateExternalAccount(formats strfmt.Registry) error {
if err := validate.Required("TaxnexusAccount", "body", m.TaxnexusAccount); err != nil { if err := validate.Required("ExternalAccount", "body", m.ExternalAccount); err != nil {
return err return err
} }

View File

@ -27,6 +27,9 @@ type ResponseMeta struct {
// Copyright Info // Copyright Info
Copyright string `json:"Copyright,omitempty"` Copyright string `json:"Copyright,omitempty"`
// Account Number used for recording transactions
ExternalAccount string `json:"ExternalAccount,omitempty"`
// License Information and Restrictions // License Information and Restrictions
License string `json:"License,omitempty"` License string `json:"License,omitempty"`
@ -50,9 +53,6 @@ type ResponseMeta struct {
// Backend Server Timestamp // Backend Server Timestamp
ServerTimestamp string `json:"ServerTimestamp,omitempty"` ServerTimestamp string `json:"ServerTimestamp,omitempty"`
// Account Number used for recording transactions
TaxnexusAccount string `json:"TaxnexusAccount,omitempty"`
} }
// Validate validates this response meta // Validate validates this response meta

View File

@ -1,8 +1,8 @@
RequestMeta: RequestMeta:
properties: properties:
TaxnexusAccount: ExternalAccount:
description: Account Number of the Reseller or OEM description: Account Number of the Reseller or OEM
type: string type: string
required: required:
- TaxnexusAccount - ExternalAccount
type: object type: object

View File

@ -32,7 +32,7 @@ ResponseMeta:
ServerTimestamp: ServerTimestamp:
description: Backend Server Timestamp description: Backend Server Timestamp
type: string type: string
TaxnexusAccount: ExternalAccount:
description: Account Number used for recording transactions description: Account Number used for recording transactions
type: string type: string
type: object type: object

View File

@ -21,7 +21,7 @@ TenantUser:
description: Contact ID description: Contact ID
type: string type: string
x-nullable: true x-nullable: true
TaxnexusAccount: ExternalAccount:
description: Account description: Account
type: string type: string
x-nullable: true x-nullable: true

View File

@ -33,7 +33,7 @@ UserRole:
description: Role Name description: Role Name
type: string type: string
x-nullable: true x-nullable: true
TaxnexusAccount: ExternalAccount:
description: Account Number description: Account Number
type: string type: string
x-nullable: true x-nullable: true

View File

@ -198,7 +198,7 @@ User:
description: Onboarding Status description: Onboarding Status
type: string type: string
x-nullable: true x-nullable: true
TaxnexusAccount: ExternalAccount:
description: Account description: Account
type: string type: string
x-nullable: true x-nullable: true

View File

@ -1899,11 +1899,11 @@ definitions:
type: object type: object
RequestMeta: RequestMeta:
properties: properties:
TaxnexusAccount: ExternalAccount:
description: Account Number of the Reseller or OEM description: Account Number of the Reseller or OEM
type: string type: string
required: required:
- TaxnexusAccount - ExternalAccount
type: object type: object
ResponseMeta: ResponseMeta:
properties: properties:
@ -1939,7 +1939,7 @@ definitions:
ServerTimestamp: ServerTimestamp:
description: Backend Server Timestamp description: Backend Server Timestamp
type: string type: string
TaxnexusAccount: ExternalAccount:
description: Account Number used for recording transactions description: Account Number used for recording transactions
type: string type: string
type: object type: object

View File

@ -4263,7 +4263,7 @@ definitions:
type: object type: object
RequestMeta: RequestMeta:
properties: properties:
TaxnexusAccount: ExternalAccount:
description: Account Number of the Reseller or OEM description: Account Number of the Reseller or OEM
type: string type: string
type: object type: object
@ -4301,7 +4301,7 @@ definitions:
ServerTimestamp: ServerTimestamp:
description: Backend Server Timestamp description: Backend Server Timestamp
type: string type: string
TaxnexusAccount: ExternalAccount:
description: Account Number used for recording transactions description: Account Number used for recording transactions
type: string type: string
type: object type: object
@ -4822,7 +4822,7 @@ definitions:
description: Status description: Status
type: string type: string
x-nullable: true x-nullable: true
TaxnexusAccount: ExternalAccount:
description: Account description: Account
type: string type: string
x-nullable: true x-nullable: true

View File

@ -171,11 +171,11 @@ definitions:
type: object type: object
RequestMeta: RequestMeta:
properties: properties:
TaxnexusAccount: ExternalAccount:
description: Account Number of the Reseller or OEM description: Account Number of the Reseller or OEM
type: string type: string
required: required:
- TaxnexusAccount - ExternalAccount
type: object type: object
ResponseMeta: ResponseMeta:
properties: properties:
@ -209,7 +209,7 @@ definitions:
ServerTimestamp: ServerTimestamp:
description: Backend Server Timestamp description: Backend Server Timestamp
type: string type: string
TaxnexusAccount: ExternalAccount:
description: Account Number used for recording transactions description: Account Number used for recording transactions
type: string type: string
type: object type: object

View File

@ -1899,11 +1899,11 @@ definitions:
type: object type: object
RequestMeta: RequestMeta:
properties: properties:
TaxnexusAccount: ExternalAccount:
description: Account Number of the Reseller or OEM description: Account Number of the Reseller or OEM
type: string type: string
required: required:
- TaxnexusAccount - ExternalAccount
type: object type: object
ResponseMeta: ResponseMeta:
properties: properties:
@ -1939,7 +1939,7 @@ definitions:
ServerTimestamp: ServerTimestamp:
description: Backend Server Timestamp description: Backend Server Timestamp
type: string type: string
TaxnexusAccount: ExternalAccount:
description: Account Number used for recording transactions description: Account Number used for recording transactions
type: string type: string
type: object type: object

View File

@ -4263,7 +4263,7 @@ definitions:
type: object type: object
RequestMeta: RequestMeta:
properties: properties:
TaxnexusAccount: ExternalAccount:
description: Account Number of the Reseller or OEM description: Account Number of the Reseller or OEM
type: string type: string
type: object type: object
@ -4301,7 +4301,7 @@ definitions:
ServerTimestamp: ServerTimestamp:
description: Backend Server Timestamp description: Backend Server Timestamp
type: string type: string
TaxnexusAccount: ExternalAccount:
description: Account Number used for recording transactions description: Account Number used for recording transactions
type: string type: string
type: object type: object
@ -4822,7 +4822,7 @@ definitions:
description: Status description: Status
type: string type: string
x-nullable: true x-nullable: true
TaxnexusAccount: ExternalAccount:
description: Account description: Account
type: string type: string
x-nullable: true x-nullable: true

View File

@ -171,11 +171,11 @@ definitions:
type: object type: object
RequestMeta: RequestMeta:
properties: properties:
TaxnexusAccount: ExternalAccount:
description: Account Number of the Reseller or OEM description: Account Number of the Reseller or OEM
type: string type: string
required: required:
- TaxnexusAccount - ExternalAccount
type: object type: object
ResponseMeta: ResponseMeta:
properties: properties:
@ -209,7 +209,7 @@ definitions:
ServerTimestamp: ServerTimestamp:
description: Backend Server Timestamp description: Backend Server Timestamp
type: string type: string
TaxnexusAccount: ExternalAccount:
description: Account Number used for recording transactions description: Account Number used for recording transactions
type: string type: string
type: object type: object