Compare commits

...

2 Commits

Author SHA1 Message Date
Vernon Keenan 0ee3e2122f swagger 2022-05-29 10:36:31 -07:00
Vernon Keenan 652d4873be std params 2021-02-23 12:03:04 -08:00
9 changed files with 1662 additions and 1270 deletions

View File

@ -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 &

View File

@ -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"`

View File

@ -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"`

View File

@ -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

View File

@ -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"`

View File

@ -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:

View File

@ -9,7 +9,7 @@ info:
title: "vendor-gw-blaze"
description:
"Taxnexus Gateway Client API for Blaze.me Cannabis Management System"
host: "api.blaze.me"
host: "api.partners.blaze.me"
basePath: "/api/v1"
schemes:
- "https"
@ -960,6 +960,8 @@ definitions:
companyId:
example: 5c7e8c7b722ed607e61edb06
type: string
complianceId:
type: string
created:
example: 1553982501834
type: number
@ -1057,6 +1059,8 @@ definitions:
updated:
example: false
type: boolean
wmCategory:
type: string
type: object
categoryId:
example: 5c9fe425e0faca07db94b986
@ -1070,6 +1074,11 @@ definitions:
cbn:
example: 0
type: number
committedQuantities:
properties:
no_region:
type: number
type: object
companyId:
example: 5c7e8c7b722ed607e61edb06
type: string
@ -1103,6 +1112,8 @@ definitions:
dirty:
example: false
type: boolean
discountEnabled:
type: boolean
discountable:
example: true
type: boolean
@ -1130,6 +1141,14 @@ definitions:
importSrc:
example: string
type: string
instock:
type: boolean
lastLeaflySyncStatus:
type: boolean
lastLeaflySyncTime:
type: number
lastWMSyncTime:
type: number
lowInventoryNotification:
example: false
type: boolean
@ -1181,6 +1200,8 @@ definitions:
active:
example: true
type: boolean
assignedPrice:
type: number
companyId:
example: 5c7e8c7b722ed607e61edb06
type: string
@ -1231,12 +1252,42 @@ definitions:
items:
type: string
type: array
producerAddress:
properties:
address:
type: string
addressLine2:
type: string
city:
type: string
companyId:
type: string
country:
type: string
created:
type: number
deleted:
type: boolean
id:
type: string
modified:
type: number
state:
type: string
updated:
type: boolean
zipCode:
type: string
pricingTemplateId:
example: ""
type: string
productSaleType:
example: Both
type: string
productTagGroups:
items:
type: string
type: array
productType:
example: REGULAR
type: string
@ -1289,6 +1340,143 @@ definitions:
reOrderLevel:
example: 0
type: number
secondaryVendorResult:
items:
type: object
properties:
id:
type: string
created:
type: number
modified:
type: number
deleted:
type: boolean
updated:
type: boolean
companyId:
type: string
active:
type: boolean
name:
type: string
phone:
type: string
email:
type: string
fax:
type: string
address:
properties:
id:
type: string
created:
type: number
modified:
type: number
deleted:
type: boolean
updated:
type: boolean
address:
type: string
city:
type: string
state:
type: string
zipCode:
type: string
addressLine2:
type: string
country:
type: string
type: "object"
description:
type: string
website:
type: string
firstName:
type: string
lastName:
type: string
notes:
type: array
items:
type: string
licenseNumber:
type: string
assets:
type: array
items:
type: string
backOrderEnabled:
type: boolean
licenseExpirationDate:
type: number
armsLengthType:
type: string
brands:
type: array
items:
type: string
qbVendorRef:
type: array
items:
type: string
additionalAddressList:
type: array
items:
type: string
credits:
type: number
relatedEntity:
type: boolean
vendorType:
type: string
companyLicenses:
type: array
items:
type: "object"
properties:
id:
type: string
created:
type: number
modified:
type: number
deleted:
type: boolean
updated:
type: boolean
companyType:
type: string
licenseType:
type: string
licenseNumber:
type: string
licenseExpirationDate:
type: number
toDefault:
type: boolean
createdBy:
type: string
defaultPaymentTerm:
type: string
toDefault:
type: boolean
vendorKey:
type: string
type: array
secondaryVendors:
items:
type: string
type: array
sellable:
type: boolean
sellableQuantities:
properties:
no_region:
type: number
shopId:
example: 5c9fe425e0faca07db94b970
type: string
@ -1332,6 +1520,8 @@ definitions:
deleted:
example: false
type: boolean
displayName:
type: string
dirty:
example: false
type: boolean
@ -1771,9 +1961,28 @@ definitions:
example: Lowell Herb Co / The Hacienda Co LLC
type: string
notes:
items:
type: string
type: array
items:
type: object
properties:
id:
type: string
created:
type: number
modified:
type: number
deleted:
type: boolean
updated:
type: boolean
writerId:
type: string
writerName:
type: string
message:
type: string
enableOnFleet:
type: boolean
phone:
example: ""
type: string

File diff suppressed because it is too large Load Diff

View File

@ -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