From 5f6047db4de86ed1a4718a7b9ccb6498c7b64a59 Mon Sep 17 00:00:00 2001 From: Vernon Keenan Date: Mon, 5 Jun 2023 00:09:35 +0000 Subject: [PATCH] ExternalAccount --- api/crm/crm_models/request_meta.go | 8 ++++---- api/crm/crm_models/response_meta.go | 6 +++--- api/members/members_models/tenant_user.go | 2 +- api/members/members_models/user.go | 6 +++--- api/members/members_models/user_role.go | 6 +++--- api/plex/plex_models/response_meta.go | 6 +++--- api/research/research_models/request_meta.go | 8 ++++---- api/research/research_models/response_meta.go | 6 +++--- api/sfgate/sfgate_models/request_meta.go | 2 +- .../research_project_company_response_meta.go | 6 +++--- api/sfgate/sfgate_models/response_meta.go | 6 +++--- api/sfgate/sfgate_models/user.go | 6 +++--- api/stash/stash_models/request_meta.go | 8 ++++---- api/stash/stash_models/response_meta.go | 6 +++--- swagger/defs/request-meta.yaml | 4 ++-- swagger/defs/response-meta.yaml | 2 +- swagger/defs/tenant-user.yaml | 2 +- swagger/defs/user-role.yaml | 2 +- swagger/defs/user.yaml | 2 +- swagger/external/research-vernonkeenan.yaml | 6 +++--- swagger/external/sf-gate-vernonkeenan.yaml | 6 +++--- swagger/external/stash-vernonkeenan.yaml | 6 +++--- swagger/research-vernonkeenan.yaml | 6 +++--- swagger/sf-gate-vernonkeenan.yaml | 6 +++--- swagger/stash-vernonkeenan.yaml | 6 +++--- 25 files changed, 65 insertions(+), 65 deletions(-) diff --git a/api/crm/crm_models/request_meta.go b/api/crm/crm_models/request_meta.go index a0dcc95..c110a7a 100644 --- a/api/crm/crm_models/request_meta.go +++ b/api/crm/crm_models/request_meta.go @@ -25,14 +25,14 @@ type RequestMeta struct { // Account Number of the Reseller or OEM // Required: true - TaxnexusAccount *string `json:"TaxnexusAccount"` + ExternalAccount *string `json:"ExternalAccount"` } // Validate validates this request meta func (m *RequestMeta) Validate(formats strfmt.Registry) error { var res []error - if err := m.validateTaxnexusAccount(formats); err != nil { + if err := m.validateExternalAccount(formats); err != nil { res = append(res, err) } @@ -42,9 +42,9 @@ func (m *RequestMeta) Validate(formats strfmt.Registry) error { 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 } diff --git a/api/crm/crm_models/response_meta.go b/api/crm/crm_models/response_meta.go index a869f62..06e82b6 100644 --- a/api/crm/crm_models/response_meta.go +++ b/api/crm/crm_models/response_meta.go @@ -28,6 +28,9 @@ type ResponseMeta struct { // Copyright Info Copyright string `json:"Copyright,omitempty"` + // Account Number used for recording transactions + ExternalAccount string `json:"ExternalAccount,omitempty"` + // License Information and Restrictions License string `json:"License,omitempty"` @@ -54,9 +57,6 @@ type ResponseMeta struct { // Backend Server Timestamp ServerTimestamp string `json:"ServerTimestamp,omitempty"` - - // Account Number used for recording transactions - TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` } // Validate validates this response meta diff --git a/api/members/members_models/tenant_user.go b/api/members/members_models/tenant_user.go index e518926..8a26db6 100644 --- a/api/members/members_models/tenant_user.go +++ b/api/members/members_models/tenant_user.go @@ -37,7 +37,7 @@ type TenantUser struct { ContactID *string `json:"ContactID,omitempty"` // Account - TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"` + ExternalAccount *string `json:"ExternalAccount,omitempty"` // Tenant active? TenantActive *bool `json:"TenantActive,omitempty"` diff --git a/api/members/members_models/user.go b/api/members/members_models/user.go index 6e66c39..d61ef37 100644 --- a/api/members/members_models/user.go +++ b/api/members/members_models/user.go @@ -86,6 +86,9 @@ type User struct { // Extension Extension *string `json:"Extension,omitempty"` + // Account + ExternalAccount *string `json:"ExternalAccount,omitempty"` + // Fax Fax *string `json:"Fax,omitempty"` @@ -173,9 +176,6 @@ type User struct { // Onboarding Status Status *string `json:"Status,omitempty"` - // Account - TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"` - // Tenant ID associated with this user TenantID *string `json:"TenantID,omitempty"` diff --git a/api/members/members_models/user_role.go b/api/members/members_models/user_role.go index 67bbead..fb15422 100644 --- a/api/members/members_models/user_role.go +++ b/api/members/members_models/user_role.go @@ -36,6 +36,9 @@ type UserRole struct { // Contact ID ContactID *string `json:"ContactID,omitempty"` + // Account Number + ExternalAccount *string `json:"ExternalAccount,omitempty"` + // Role description RoleDescription *string `json:"RoleDescription,omitempty"` @@ -45,9 +48,6 @@ type UserRole struct { // Role Name RoleName *string `json:"RoleName,omitempty"` - // Account Number - TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"` - // User Email Address UserEmail *string `json:"UserEmail,omitempty"` diff --git a/api/plex/plex_models/response_meta.go b/api/plex/plex_models/response_meta.go index e5a3926..f536367 100644 --- a/api/plex/plex_models/response_meta.go +++ b/api/plex/plex_models/response_meta.go @@ -28,6 +28,9 @@ type ResponseMeta struct { // Copyright Info Copyright string `json:"Copyright,omitempty"` + // Account Number used for recording transactions + ExternalAccount string `json:"ExternalAccount,omitempty"` + // License Information and Restrictions License string `json:"License,omitempty"` @@ -54,9 +57,6 @@ type ResponseMeta struct { // Backend Server Timestamp ServerTimestamp string `json:"ServerTimestamp,omitempty"` - - // Account Number used for recording transactions - TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` } // Validate validates this response meta diff --git a/api/research/research_models/request_meta.go b/api/research/research_models/request_meta.go index e974578..72341a8 100644 --- a/api/research/research_models/request_meta.go +++ b/api/research/research_models/request_meta.go @@ -25,14 +25,14 @@ type RequestMeta struct { // Account Number of the Reseller or OEM // Required: true - TaxnexusAccount *string `json:"TaxnexusAccount"` + ExternalAccount *string `json:"ExternalAccount"` } // Validate validates this request meta func (m *RequestMeta) Validate(formats strfmt.Registry) error { var res []error - if err := m.validateTaxnexusAccount(formats); err != nil { + if err := m.validateExternalAccount(formats); err != nil { res = append(res, err) } @@ -42,9 +42,9 @@ func (m *RequestMeta) Validate(formats strfmt.Registry) error { 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 } diff --git a/api/research/research_models/response_meta.go b/api/research/research_models/response_meta.go index 131a6d6..eeb3c83 100644 --- a/api/research/research_models/response_meta.go +++ b/api/research/research_models/response_meta.go @@ -28,6 +28,9 @@ type ResponseMeta struct { // Copyright Info Copyright string `json:"Copyright,omitempty"` + // Account Number used for recording transactions + ExternalAccount string `json:"ExternalAccount,omitempty"` + // License Information and Restrictions License string `json:"License,omitempty"` @@ -54,9 +57,6 @@ type ResponseMeta struct { // Backend Server Timestamp ServerTimestamp string `json:"ServerTimestamp,omitempty"` - - // Account Number used for recording transactions - TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` } // Validate validates this response meta diff --git a/api/sfgate/sfgate_models/request_meta.go b/api/sfgate/sfgate_models/request_meta.go index c223e39..acdf8c2 100644 --- a/api/sfgate/sfgate_models/request_meta.go +++ b/api/sfgate/sfgate_models/request_meta.go @@ -22,7 +22,7 @@ import ( type RequestMeta struct { // Account Number of the Reseller or OEM - TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` + ExternalAccount string `json:"ExternalAccount,omitempty"` } // Validate validates this request meta diff --git a/api/sfgate/sfgate_models/research_project_company_response_meta.go b/api/sfgate/sfgate_models/research_project_company_response_meta.go index 08cf3cd..b98d82a 100644 --- a/api/sfgate/sfgate_models/research_project_company_response_meta.go +++ b/api/sfgate/sfgate_models/research_project_company_response_meta.go @@ -28,6 +28,9 @@ type ResearchProjectCompanyResponseMeta struct { // Copyright Info Copyright string `json:"Copyright,omitempty"` + // Account Number used for recording transactions + ExternalAccount string `json:"ExternalAccount,omitempty"` + // License Information and Restrictions License string `json:"License,omitempty"` @@ -54,9 +57,6 @@ type ResearchProjectCompanyResponseMeta struct { // Backend Server Timestamp ServerTimestamp string `json:"ServerTimestamp,omitempty"` - - // Account Number used for recording transactions - TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` } // Validate validates this research project company response meta diff --git a/api/sfgate/sfgate_models/response_meta.go b/api/sfgate/sfgate_models/response_meta.go index a7ac456..335a5a5 100644 --- a/api/sfgate/sfgate_models/response_meta.go +++ b/api/sfgate/sfgate_models/response_meta.go @@ -28,6 +28,9 @@ type ResponseMeta struct { // Copyright Info Copyright string `json:"Copyright,omitempty"` + // Account Number used for recording transactions + ExternalAccount string `json:"ExternalAccount,omitempty"` + // License Information and Restrictions License string `json:"License,omitempty"` @@ -54,9 +57,6 @@ type ResponseMeta struct { // Backend Server Timestamp ServerTimestamp string `json:"ServerTimestamp,omitempty"` - - // Account Number used for recording transactions - TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` } // Validate validates this response meta diff --git a/api/sfgate/sfgate_models/user.go b/api/sfgate/sfgate_models/user.go index 73cdf03..b0fa934 100644 --- a/api/sfgate/sfgate_models/user.go +++ b/api/sfgate/sfgate_models/user.go @@ -86,6 +86,9 @@ type User struct { // Extension Extension *string `json:"Extension,omitempty"` + // Account + ExternalAccount *string `json:"ExternalAccount,omitempty"` + // Fabric API Key FabricAPIKey *string `json:"FabricAPIKey,omitempty"` @@ -188,9 +191,6 @@ type User struct { // Status Status *string `json:"Status,omitempty"` - // Account - TaxnexusAccount *string `json:"TaxnexusAccount,omitempty"` - // Tenant ID associated with this user TenantID *string `json:"TenantID,omitempty"` diff --git a/api/stash/stash_models/request_meta.go b/api/stash/stash_models/request_meta.go index 667c6d0..8b61aaa 100644 --- a/api/stash/stash_models/request_meta.go +++ b/api/stash/stash_models/request_meta.go @@ -25,14 +25,14 @@ type RequestMeta struct { // Account Number of the Reseller or OEM // Required: true - TaxnexusAccount *string `json:"TaxnexusAccount"` + ExternalAccount *string `json:"ExternalAccount"` } // Validate validates this request meta func (m *RequestMeta) Validate(formats strfmt.Registry) error { var res []error - if err := m.validateTaxnexusAccount(formats); err != nil { + if err := m.validateExternalAccount(formats); err != nil { res = append(res, err) } @@ -42,9 +42,9 @@ func (m *RequestMeta) Validate(formats strfmt.Registry) error { 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 } diff --git a/api/stash/stash_models/response_meta.go b/api/stash/stash_models/response_meta.go index e556bfa..2b9829a 100644 --- a/api/stash/stash_models/response_meta.go +++ b/api/stash/stash_models/response_meta.go @@ -27,6 +27,9 @@ type ResponseMeta struct { // Copyright Info Copyright string `json:"Copyright,omitempty"` + // Account Number used for recording transactions + ExternalAccount string `json:"ExternalAccount,omitempty"` + // License Information and Restrictions License string `json:"License,omitempty"` @@ -50,9 +53,6 @@ type ResponseMeta struct { // Backend Server Timestamp ServerTimestamp string `json:"ServerTimestamp,omitempty"` - - // Account Number used for recording transactions - TaxnexusAccount string `json:"TaxnexusAccount,omitempty"` } // Validate validates this response meta diff --git a/swagger/defs/request-meta.yaml b/swagger/defs/request-meta.yaml index 97e015b..07e028a 100644 --- a/swagger/defs/request-meta.yaml +++ b/swagger/defs/request-meta.yaml @@ -1,8 +1,8 @@ RequestMeta: properties: - TaxnexusAccount: + ExternalAccount: description: Account Number of the Reseller or OEM type: string required: - - TaxnexusAccount + - ExternalAccount type: object diff --git a/swagger/defs/response-meta.yaml b/swagger/defs/response-meta.yaml index 3f9d168..9d643ff 100644 --- a/swagger/defs/response-meta.yaml +++ b/swagger/defs/response-meta.yaml @@ -32,7 +32,7 @@ ResponseMeta: ServerTimestamp: description: Backend Server Timestamp type: string - TaxnexusAccount: + ExternalAccount: description: Account Number used for recording transactions type: string type: object diff --git a/swagger/defs/tenant-user.yaml b/swagger/defs/tenant-user.yaml index 41f4d6a..622692f 100644 --- a/swagger/defs/tenant-user.yaml +++ b/swagger/defs/tenant-user.yaml @@ -21,7 +21,7 @@ TenantUser: description: Contact ID type: string x-nullable: true - TaxnexusAccount: + ExternalAccount: description: Account type: string x-nullable: true diff --git a/swagger/defs/user-role.yaml b/swagger/defs/user-role.yaml index c3309b0..925f1df 100644 --- a/swagger/defs/user-role.yaml +++ b/swagger/defs/user-role.yaml @@ -33,7 +33,7 @@ UserRole: description: Role Name type: string x-nullable: true - TaxnexusAccount: + ExternalAccount: description: Account Number type: string x-nullable: true diff --git a/swagger/defs/user.yaml b/swagger/defs/user.yaml index 31caf6c..daba714 100644 --- a/swagger/defs/user.yaml +++ b/swagger/defs/user.yaml @@ -198,7 +198,7 @@ User: description: Onboarding Status type: string x-nullable: true - TaxnexusAccount: + ExternalAccount: description: Account type: string x-nullable: true diff --git a/swagger/external/research-vernonkeenan.yaml b/swagger/external/research-vernonkeenan.yaml index d7f0476..7c8dc53 100644 --- a/swagger/external/research-vernonkeenan.yaml +++ b/swagger/external/research-vernonkeenan.yaml @@ -1899,11 +1899,11 @@ definitions: type: object RequestMeta: properties: - TaxnexusAccount: + ExternalAccount: description: Account Number of the Reseller or OEM type: string required: - - TaxnexusAccount + - ExternalAccount type: object ResponseMeta: properties: @@ -1939,7 +1939,7 @@ definitions: ServerTimestamp: description: Backend Server Timestamp type: string - TaxnexusAccount: + ExternalAccount: description: Account Number used for recording transactions type: string type: object diff --git a/swagger/external/sf-gate-vernonkeenan.yaml b/swagger/external/sf-gate-vernonkeenan.yaml index 6b99d54..7b0a42b 100644 --- a/swagger/external/sf-gate-vernonkeenan.yaml +++ b/swagger/external/sf-gate-vernonkeenan.yaml @@ -4263,7 +4263,7 @@ definitions: type: object RequestMeta: properties: - TaxnexusAccount: + ExternalAccount: description: Account Number of the Reseller or OEM type: string type: object @@ -4301,7 +4301,7 @@ definitions: ServerTimestamp: description: Backend Server Timestamp type: string - TaxnexusAccount: + ExternalAccount: description: Account Number used for recording transactions type: string type: object @@ -4822,7 +4822,7 @@ definitions: description: Status type: string x-nullable: true - TaxnexusAccount: + ExternalAccount: description: Account type: string x-nullable: true diff --git a/swagger/external/stash-vernonkeenan.yaml b/swagger/external/stash-vernonkeenan.yaml index 4a6b0b3..e58828c 100644 --- a/swagger/external/stash-vernonkeenan.yaml +++ b/swagger/external/stash-vernonkeenan.yaml @@ -171,11 +171,11 @@ definitions: type: object RequestMeta: properties: - TaxnexusAccount: + ExternalAccount: description: Account Number of the Reseller or OEM type: string required: - - TaxnexusAccount + - ExternalAccount type: object ResponseMeta: properties: @@ -209,7 +209,7 @@ definitions: ServerTimestamp: description: Backend Server Timestamp type: string - TaxnexusAccount: + ExternalAccount: description: Account Number used for recording transactions type: string type: object diff --git a/swagger/research-vernonkeenan.yaml b/swagger/research-vernonkeenan.yaml index 626b3ed..a9f6e38 100644 --- a/swagger/research-vernonkeenan.yaml +++ b/swagger/research-vernonkeenan.yaml @@ -1899,11 +1899,11 @@ definitions: type: object RequestMeta: properties: - TaxnexusAccount: + ExternalAccount: description: Account Number of the Reseller or OEM type: string required: - - TaxnexusAccount + - ExternalAccount type: object ResponseMeta: properties: @@ -1939,7 +1939,7 @@ definitions: ServerTimestamp: description: Backend Server Timestamp type: string - TaxnexusAccount: + ExternalAccount: description: Account Number used for recording transactions type: string type: object diff --git a/swagger/sf-gate-vernonkeenan.yaml b/swagger/sf-gate-vernonkeenan.yaml index 12c5e66..a58c897 100644 --- a/swagger/sf-gate-vernonkeenan.yaml +++ b/swagger/sf-gate-vernonkeenan.yaml @@ -4263,7 +4263,7 @@ definitions: type: object RequestMeta: properties: - TaxnexusAccount: + ExternalAccount: description: Account Number of the Reseller or OEM type: string type: object @@ -4301,7 +4301,7 @@ definitions: ServerTimestamp: description: Backend Server Timestamp type: string - TaxnexusAccount: + ExternalAccount: description: Account Number used for recording transactions type: string type: object @@ -4822,7 +4822,7 @@ definitions: description: Status type: string x-nullable: true - TaxnexusAccount: + ExternalAccount: description: Account type: string x-nullable: true diff --git a/swagger/stash-vernonkeenan.yaml b/swagger/stash-vernonkeenan.yaml index 3dbed59..518edd6 100644 --- a/swagger/stash-vernonkeenan.yaml +++ b/swagger/stash-vernonkeenan.yaml @@ -171,11 +171,11 @@ definitions: type: object RequestMeta: properties: - TaxnexusAccount: + ExternalAccount: description: Account Number of the Reseller or OEM type: string required: - - TaxnexusAccount + - ExternalAccount type: object ResponseMeta: properties: @@ -209,7 +209,7 @@ definitions: ServerTimestamp: description: Backend Server Timestamp type: string - TaxnexusAccount: + ExternalAccount: description: Account Number used for recording transactions type: string type: object