From 652d4873bef8f406088796ab029fa5ec2a2ba574 Mon Sep 17 00:00:00 2001 From: Vernon Keenan Date: Tue, 23 Feb 2021 12:03:04 -0800 Subject: [PATCH] std params --- Makefile | 36 ++++++++--------- api/sf-gate/sf_gate_models/country.go | 12 ++++++ api/sf-gate/sf_gate_models/county.go | 12 ++++++ api/sf-gate/sf_gate_models/place.go | 20 +++++++++- api/sf-gate/sf_gate_models/state.go | 12 ++++++ swagger/apex-taxnexus.yaml | 54 +++++++++++++++++++++++++- swagger/sf-gate-taxnexus.yaml | 56 ++++++++++++++++++++++++++- 7 files changed, 181 insertions(+), 21 deletions(-) diff --git a/Makefile b/Makefile index 511f2ce..9e3f704 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ swagger: --target=./api/auth \ --client-package=auth-client \ --model-package=auth-models \ - --principal=app.User + --principal=app.User & # # generate auth0 # @@ -27,7 +27,7 @@ swagger: --target=./api/auth0 \ --client-package=auth0-client \ --model-package=auth0-models \ - --principal=app.User + --principal=app.User & # # generate blaze # @@ -40,7 +40,7 @@ swagger: --target=./api/blaze \ --client-package=blaze-client \ --model-package=blaze-models \ - --principal=app.User + --principal=app.User & # # generate crm # @@ -53,7 +53,7 @@ swagger: --target=./api/crm \ --client-package=crm-client \ --model-package=crm-models \ - --principal=app.User + --principal=app.User & # # generate devops # @@ -66,7 +66,7 @@ swagger: --target=./api/devops \ --client-package=devops-client \ --model-package=devops-models \ - --principal=app.User + --principal=app.User & # # generate geo # @@ -79,7 +79,7 @@ swagger: --target=./api/geo \ --client-package=geo-client \ --model-package=geo-models \ - --principal=app.User + --principal=app.User & # # generate gov-gw # @@ -92,7 +92,7 @@ swagger: --target=./api/gov-gw \ --client-package=gov-gw-client \ --model-package=gov-gw-models \ - --principal=app.User + --principal=app.User & # # generate ledger # @@ -105,7 +105,7 @@ swagger: --target=./api/ledger \ --client-package=ledger-client \ --model-package=ledger-models \ - --principal=app.User + --principal=app.User & # # generate metrc-gw # @@ -118,7 +118,7 @@ swagger: --target=./api/metrc-gw \ --client-package=metrc-gw-client \ --model-package=metrc-gw-models \ - --principal=app.User + --principal=app.User & # # generate ops # @@ -131,7 +131,7 @@ swagger: --target=./api/ops \ --client-package=ops-client \ --model-package=ops-models \ - --principal=app.User + --principal=app.User & # # generate pdf # @@ -144,7 +144,7 @@ swagger: --target=./api/pdf \ --client-package=pdf-client \ --model-package=pdf-models \ - --principal=app.User + --principal=app.User & # # generate plex # @@ -157,7 +157,7 @@ swagger: --target=./api/plex \ --client-package=plex-client \ --model-package=plex-models \ - --principal=app.User + --principal=app.User & # # generate regs # @@ -170,7 +170,7 @@ swagger: --target=./api/regs \ --client-package=regs-client \ --model-package=regs-models \ - --principal=app.User + --principal=app.User & # # generate render # @@ -183,7 +183,7 @@ swagger: --target=./api/render \ --client-package=render-client \ --model-package=render-models \ - --principal=app.User + --principal=app.User & # # generate sf-gate # @@ -196,7 +196,7 @@ swagger: --target=./api/sf-gate \ --client-package=sf-gate-client \ --model-package=sf-gate-models \ - --principal=app.User + --principal=app.User & # # generate stash # @@ -209,7 +209,7 @@ swagger: --target=./api/stash \ --client-package=stash-client \ --model-package=stash-models \ - --principal=app.User + --principal=app.User & # # generate vendor-gw # @@ -222,7 +222,7 @@ swagger: --target=./api/vendor-gw \ --client-package=vendor-gw-client \ --model-package=vendor-gw-models \ - --principal=app.User + --principal=app.User & # # generate workflow # @@ -235,4 +235,4 @@ swagger: --target=./api/workflow \ --client-package=workflow-client \ --model-package=workflow-models \ - --principal=app.User + --principal=app.User & diff --git a/api/sf-gate/sf_gate_models/country.go b/api/sf-gate/sf_gate_models/country.go index c65589d..f84fb40 100644 --- a/api/sf-gate/sf_gate_models/country.go +++ b/api/sf-gate/sf_gate_models/country.go @@ -35,6 +35,12 @@ type Country struct { // Contact Contactid string `json:"contactid,omitempty"` + // Created By User ID + Createdbyid string `json:"createdbyid,omitempty"` + + // Created Date + Createddate string `json:"createddate,omitempty"` + // Enrollment Status Enrollmentstatus string `json:"enrollmentstatus,omitempty"` @@ -44,6 +50,12 @@ type Country struct { // Interest Interest float64 `json:"interest,omitempty"` + // Last Modified By User ID + Lastmodifiedbyid string `json:"lastmodifiedbyid,omitempty"` + + // Last Modified Date + Lastmodifieddate string `json:"lastmodifieddate,omitempty"` + // latitude Latitude float64 `json:"latitude,omitempty"` diff --git a/api/sf-gate/sf_gate_models/county.go b/api/sf-gate/sf_gate_models/county.go index e9096ae..8fa7edd 100644 --- a/api/sf-gate/sf_gate_models/county.go +++ b/api/sf-gate/sf_gate_models/county.go @@ -38,6 +38,12 @@ type County struct { // Country Taxnexus ID Countryid string `json:"countryid,omitempty"` + // Created By User ID + Createdbyid string `json:"createdbyid,omitempty"` + + // Created Date + Createddate string `json:"createddate,omitempty"` + // Enrollment Status Enrollmentstatus string `json:"enrollmentstatus,omitempty"` @@ -68,6 +74,12 @@ type County struct { // Land Area Landarea int64 `json:"landarea,omitempty"` + // Last Modified By User ID + Lastmodifiedbyid string `json:"lastmodifiedbyid,omitempty"` + + // Last Modified Date + Lastmodifieddate string `json:"lastmodifieddate,omitempty"` + // latitude Latitude float64 `json:"latitude,omitempty"` diff --git a/api/sf-gate/sf_gate_models/place.go b/api/sf-gate/sf_gate_models/place.go index e9ea2d0..e9897af 100644 --- a/api/sf-gate/sf_gate_models/place.go +++ b/api/sf-gate/sf_gate_models/place.go @@ -44,6 +44,12 @@ type Place struct { // County Countyid string `json:"countyid,omitempty"` + // Created By User ID + Createdbyid string `json:"createdbyid,omitempty"` + + // Created Date + Createddate string `json:"createddate,omitempty"` + // Enrollment Status Enrollmentstatus string `json:"enrollmentstatus,omitempty"` @@ -74,6 +80,12 @@ type Place struct { // Land Area Landarea int64 `json:"landarea,omitempty"` + // Last Modified By User ID + Lastmodifiedbyid string `json:"lastmodifiedbyid,omitempty"` + + // Last Modified Date + Lastmodifieddate string `json:"lastmodifieddate,omitempty"` + // latitude Latitude float64 `json:"latitude,omitempty"` @@ -119,7 +131,13 @@ type Place struct { // Rollup Revenue Not Taxable Revenuenottaxable float64 `json:"revenuenottaxable,omitempty"` - // State + // Split? + Split bool `json:"split,omitempty"` + + // State Code + Statecode string `json:"statecode,omitempty"` + + // State ID Stateid string `json:"stateid,omitempty"` // Document Status diff --git a/api/sf-gate/sf_gate_models/state.go b/api/sf-gate/sf_gate_models/state.go index 88bcb4d..4670fd4 100644 --- a/api/sf-gate/sf_gate_models/state.go +++ b/api/sf-gate/sf_gate_models/state.go @@ -38,6 +38,12 @@ type State struct { // Country Contryid string `json:"contryid,omitempty"` + // Created By User ID + Createdbyid string `json:"createdbyid,omitempty"` + + // Created Date + Createddate string `json:"createddate,omitempty"` + // Division Division string `json:"division,omitempty"` @@ -62,6 +68,12 @@ type State struct { // Land Area Landarea int64 `json:"landarea,omitempty"` + // Last Modified By User ID + Lastmodifiedbyid string `json:"lastmodifiedbyid,omitempty"` + + // Last Modified Date + Lastmodifieddate string `json:"lastmodifieddate,omitempty"` + // latitude Latitude float64 `json:"latitude,omitempty"` diff --git a/swagger/apex-taxnexus.yaml b/swagger/apex-taxnexus.yaml index 14e5948..39df5f9 100644 --- a/swagger/apex-taxnexus.yaml +++ b/swagger/apex-taxnexus.yaml @@ -2441,6 +2441,18 @@ definitions: type: object Country: properties: + createdbyid: + description: Created By User ID + type: string + createddate: + description: Created Date + type: string + lastmodifiedbyid: + description: Last Modified By User ID + type: string + lastmodifieddate: + description: Last Modified Date + type: string accountid: type: string ref: @@ -2533,6 +2545,18 @@ definitions: type: object County: properties: + createdbyid: + description: Created By User ID + type: string + createddate: + description: Created Date + type: string + lastmodifiedbyid: + description: Last Modified By User ID + type: string + lastmodifieddate: + description: Last Modified Date + type: string accountid: type: string templateid: @@ -3713,6 +3737,18 @@ definitions: type: object Place: properties: + createdbyid: + description: Created By User ID + type: string + createddate: + description: Created Date + type: string + lastmodifiedbyid: + description: Last Modified By User ID + type: string + lastmodifieddate: + description: Last Modified Date + type: string accountid: type: string latitude: @@ -3809,7 +3845,11 @@ definitions: description: Rollup Revenue Not Taxable type: number format: double - stateId: + split: + type: boolean + statecode: + type: string + stateid: type: string status: type: string @@ -3886,6 +3926,18 @@ definitions: type: object State: properties: + createdbyid: + description: Created By User ID + type: string + createddate: + description: Created Date + type: string + lastmodifiedbyid: + description: Last Modified By User ID + type: string + lastmodifieddate: + description: Last Modified Date + type: string templateid: type: string ref: diff --git a/swagger/sf-gate-taxnexus.yaml b/swagger/sf-gate-taxnexus.yaml index 9806141..7680bf2 100644 --- a/swagger/sf-gate-taxnexus.yaml +++ b/swagger/sf-gate-taxnexus.yaml @@ -4045,6 +4045,18 @@ definitions: type: object Country: properties: + createdbyid: + description: Created By User ID + type: string + createddate: + description: Created Date + type: string + lastmodifiedbyid: + description: Last Modified By User ID + type: string + lastmodifieddate: + description: Last Modified Date + type: string accountid: description: Account type: string @@ -4151,6 +4163,18 @@ definitions: type: object County: properties: + createdbyid: + description: Created By User ID + type: string + createddate: + description: Created Date + type: string + lastmodifiedbyid: + description: Last Modified By User ID + type: string + lastmodifieddate: + description: Last Modified Date + type: string accountid: description: Account type: string @@ -6450,6 +6474,18 @@ definitions: type: object Place: properties: + createdbyid: + description: Created By User ID + type: string + createddate: + description: Created Date + type: string + lastmodifiedbyid: + description: Last Modified By User ID + type: string + lastmodifieddate: + description: Last Modified Date + type: string accountid: description: Account type: string @@ -6559,8 +6595,14 @@ definitions: description: Rollup Revenue Not Taxable type: number format: double + split: + type: boolean + description: Split? + statecode: + description: State Code + type: string stateid: - description: State + description: State ID type: string status: description: Document Status @@ -7581,6 +7623,18 @@ definitions: type: object State: properties: + createdbyid: + description: Created By User ID + type: string + createddate: + description: Created Date + type: string + lastmodifiedbyid: + description: Last Modified By User ID + type: string + lastmodifieddate: + description: Last Modified Date + type: string accountid: description: Account type: string