package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev
# Functions
BoolPointer allows you to take the address of a bool literal.
BuildDraftReimbursement makes a Reimbursement in the DRAFT state, but does not save it.
BuildRequestedReimbursement makes a Reimbursement in the REQUEST state, but does not save it This will be useful for reimbursements that are filed after the initial move is created.
a db function that will handle updating the estimated_incentive value this simulates pricing of a basic iHHG shipment with ISLH, IHPK, IHUPK, and the CONUS portion for a FSC.
a db function that will handle calculating and returning the SIT costs related to a PPM shipment.
CentPointer allows you to get the pointer to a unit.Cent literal.
No description provided by the author
CreateElectronicOrder inserts an empty set of electronic Orders into the database.
CreateElectronicOrderWithRevision inserts a new set of electronic Orders into the database with its first Revision.
No description provided by the author
No description provided by the author
CreateUser is called upon successful Okta verification of a new user.
DeletePrimeUpload deletes an upload from the database.
DeleteServiceRequestDocumentUpload deletes an upload from the database.
DeleteUpload deletes an upload from the database.
DeleteUserUpload deletes an upload from the database.
this function takes in two addresses and determines the market code string.
determining the market code for a shipment based off of address isOconus value this function takes in a shipment and returns the same shipment with the updated MarketCode value.
Conditional logic for a CONUS and OCONUS address.
FetchAddressByID returns an address model by ID.
Fetches the GBLOC for a specific Address (for now this will be used for OCONUS).
No description provided by the author
FetchAppUserIdentities returns a limited set of user records based on application.
FetchBackupContact returns a specific backup contact model.
FetchBoatShipmentByBoatShipmentID returns a Boat Shipment for a given id.
FetchClientCert fetches and validates a client certificate by digest.
No description provided by the author
No description provided by the author
fetches countries by the two digit code.
fetches countries by the two digit code.
FetchDLContactInfo loads a duty location's associated transportation office and its first listed office phone number.
FetchDocument returns a document if the user has access to that document.
FetchDocument returns a document regardless if user has access to that document.
FetchDutyLocation returns a DutyLocation for a given id.
FetchDutyLocationByName returns a DutyLocation for a given unique name.
FetchDutyLocationsByPostalCode returns a duty location for a given postal code.
FetchDutyLocationTransportationOffice returns a transportation office for a duty location.
FetchDutyLocationWithTransportationOffice returns a DutyLocation for a given id with the associated transportation office eagerly loaded.
FetchElectronicOrderByID gets all revisions of a set of Orders by their shared UUID, sorted in ascending order by their sequence number.
FetchElectronicOrderByIssuerAndOrdersNum gets all revisions of a set of Orders by the unique combination of the Orders number and the issuer.
FetchElectronicOrdersByEdipiAndIssuers gets all Orders issued to a member by EDIPI from the specified issuers.
No description provided by the author
Fetches the GBLOC for a specific Postal Code.
FetchGHCPrimeContractor returns the prime contractor.
FetchInvoice fetches and validates an invoice model.
No description provided by the author
FetchLatestOrder gets the latest order for a service member.
Returns a Mobile Home Shipment for a given id.
FetchMostRecentFuelPrices queries and fetches all fuel_eia_diesel_prices for past specified number of months, including this month.
FetchMove fetches and validates a Move for this User.
FetchMoveByMoveID returns a Move for a given id.
No description provided by the author
FetchMoveByMoveIDWithServiceItems returns a Move along with all the associations needed to determine the move service item's status.
FetchMoveByOrderID returns a Move for a given id.
FetchMoveForMoveDates returns a Move along with all the associations needed to determine the move dates summary information.
FetchMovesByOrderID returns moves for a given id of an order.
FetchNearestTransportationOffice fetches the nearest transportation office.
No description provided by the author
No description provided by the author
FetchOfficeUserByEmail looks for an office user with a specific email.
FetchOfficeUserByID fetches an office user by ID.
FetchOrder returns orders without REGARDLESS OF USER.
Fetch order containing only base amendment information.
FetchOrderForPDFConversion returns orders and any attached uploads.
FetchOrderForUser returns orders only if it is allowed for the given user to access those orders.
FetchParameterValue returns a specific parameter value from the db.
FetchParameterValue returns a specific parameter value from the db.
No description provided by the author
No description provided by the author
FetchPPMShipmentByPPMShipmentID returns a PPM Shipment for a given id.
FetchPrimeUpload returns an PrimeUpload if the contractor has access to that upload.
FetchPrivilegesForUser gets the active PrivilegeTypes for the user.
a db stored proc that takes in an address id & a service code to get the rate area id for an address.
FetchReimbursement Fetches and Validates a Reimbursement model.
fetches a row from re_intl_other_prices using passed in parameters gets the rate_area_id & is_peak_period based on values provided.
No description provided by the author
FetchRelatedDestinationSITServiceItems returns all service items with destination SIT ReService codes that are associated with the same shipment as the provided service item.
FetchReRateAreaItem returns an area for a matching code.
No description provided by the author
FetchReZip3Item returns an reZip3 for a given zip3.
No description provided by the author
FetchServiceMember returns a service member by id REGARDLESS OF USER.
FetchServiceMemberForUser returns a service member only if it is allowed for the given user to access that service member.
Returns a Shipment for a given id.
No description provided by the author
FetchSignedCertifications Fetches and Validates a all signed certifications associated with a move.
DEPRECATED - This can be removed when the PPM Shipment Summary Worksheet is updated to use the new PPM shipment table FetchSignedCertificationsPPMPayment Fetches and Validates a PPM Payment Signature.
No description provided by the author
FetchUserIdentity queries the database for information about the logged in user.
FetchUserUpload returns an UserUpload if the user has access to that upload.
FetchUserUploadFromUploadID returns an UserUpload if the user has access to that upload.
No description provided by the author
No description provided by the author
Find a corresponding county for a provided zip code from the USPRC table.
FindDutyLocations returns all duty locations matching a search query.
FindDutyLocations returns all duty locations matching a search query while excluding certain location by specified states.
Float64Pointer allows you to take the address of a float64 literal.
GenerateLocator constructs a record locator - a unique 6 character alphanumeric string.
GenerateReferenceID generates a reference ID for the MTO.
GenerateSafetyMoveLocator constructs a record locator - a unique 6 character alphanumeric string starting with SM.
FetchOfficeUserByID fetches an office user by ID.
No description provided by the author
GetCounselingOffices calls a db function that returns all the transportation offices in the GBLOC of the given duty location where provides_services_counseling = true.
GetCustomerFromShipment gets the service member given a shipment id.
GetDestinationGblocForShipment gets the GBLOC associated with the shipment's destination address there are certain exceptions for OCONUS addresses in Alaska Zone II based on affiliation.
No description provided by the author
GetMoveQueueItems gets all moveQueueItems for a specific lifecycleState.
GetMovesForUserID gets all move models for a given user ID.
GetPortLocationForShipment gets the ZIP and port type associated with the port for the POEFSC/PODFSC service item in a shipment.
No description provided by the author
No description provided by the author
gets total weight from all ppm and hhg shipments within a move.
GetUBWeightAllowance returns the UB weight allowance for a UB shipment, part of the overall entitlements for an order.
GetUser loads the associated User from the DB using the user ID.
GetUserFromEmail loads the associated User from the DB using the user email.
No description provided by the author
Int32Pointer allows you to take the address of a int32 literal.
Int64Pointer allows you to take the address of a int64 literal.
IntPointer allows you to take the address of a int literal.
No description provided by the author
Check if an address is CONUS or OCONUS.
No description provided by the author
NewDistanceCalculation performs a distance calculation and returns the resulting DistanceCalculation model.
NewStringInList returns a new StringInList validator.
PackDays returns the number of days it will take to pack the given weight.
PoundPointer allows you to get the pointer to a unit.Pound literal.
SaveMoveDependencies safely saves a Move status, ppms' advances' statuses, orders statuses, and shipment GBLOCs.
SaveOrder saves an order.
SaveServiceMember takes a serviceMember with Address structs and coordinates saving it all in a transaction.
StringPointer allows you to take the address of a string literal.
TimePointer allows you to take the address of a time.Time literal.
TransitDays returns the number of days it will take to move the specified weight of goods the specified distance.
a db stored proc that will handle updating the pricing_estimate columns of basic service items for shipment types: iHHG iUB.
UpdateServiceMemberDoDID is called if Safety Move order is created to clear out the DoDID.
UpdateServiceMemberEMPLID is called if Safety Move order is created to clear out the EMPLID.
UpdateUserOktaID is called upon the first successful Okta verification of a new user.
UploadsFromPrimeUploads return a slice of uploads given a slice of prime uploads.
UploadsFromUserUploads returns a slice of Uploads given a slice of UserUploads.
UploadsFromUserUploadsNoDatabase returns a slice of Uploads given a slice of UserUploads.
UUIDPointer allows you to get the pointer to a uuid.UUID literal.
# Constants
AffiliationAIRFORCE captures enum value "AIR_FORCE".
AffiliationARMY captures enum value "ARMY".
AffiliationCOASTGUARD captures enum value "COAST_GUARD".
AffiliationMARINES captures enum value "MARINES".
AffiliationNAVY captures enum value "NAVY".
AffiliationSPACEFORCE captures enum value "SPACE_FORCE".
No description provided by the author
No description provided by the author
AVStatusCLEAN string CLEAN.
AVStatusINFECTED string INFECTED.
AVStatusPROCESSING string PROCESSING.
No description provided by the author
No description provided by the author
No description provided by the author
BackupContactPermissionEDIT captures enum value "EDIT".
BackupContactPermissionNONE captures enum value "NONE".
BackupContactPermissionVIEW captures enum value "VIEW".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BoatShipmentTypeHaulAway captures enum value "HAUL_AWAY".
BoatShipmentTypeTowAway captures enum value "TOW_AWAY".
CustomerContactTypeFirst describes customer contacts for a FIRST type.
CustomerContactTypeSecond describes customer contacts for a SECOND type.
DefaultServiceMemberSITDaysAllowance is the default number of SIT days a service member is allowed.
DepartmentIndicatorAIRANDSPACEFORCE captures enum value "AIR_AND_SPACE_FORCE".
DepartmentIndicatorARMY captures enum value "ARMY".
DepartmentIndicatorARMYCORPSOFENGINEERS captures enum value "ARMY_CORPS_OF_ENGINEERS".
DepartmentIndicatorCOASTGUARD captures enum value "COAST_GUARD".
DepartmentIndicatorNAVYANDMARINES captures enum value "NAVY_AND_MARINES".
DepartmentIndicatorOFFICEOFSECRETARYOFDEFENSE captures enum value "OFFICE_OF_SECRETARY_OF_DEFENSE".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DimensionTypeCrate describes dimensions for a CRATE type.
DimensionTypeItem describes dimensions for an ITEM type.
EDIType810 captures enum value "810".
EDIType824 captures enum value "824".
EDIType858 captures enum value "858".
EDIType997 captures enum value "997".
ElectronicOrdersAffiliationAirForce captures enum value "air-force".
ElectronicOrdersAffiliationArmy captures enum value "army".
ElectronicOrdersAffiliationCivilianAgency captures enum value "civilian-agency".
ElectronicOrdersAffiliationCoastGuard captures enum value "coast-guard".
ElectronicOrdersAffiliationMarineCorps captures enum value "marine-corps".
ElectronicOrdersAffiliationNavy captures enum value "navy".
ElectronicOrdersStatusAuthorized captures enum value "authorized".
ElectronicOrdersStatusCanceled captures enum value "canceled".
ElectronicOrdersStatusRfo captures enum value "rfo".
ElectronicOrdersTypeAccession captures enum value "accession".
ElectronicOrdersTypeBetweenDutyStations captures enum value "between-duty-stations".
ElectronicOrdersTypeBrac captures enum value "brac".
ElectronicOrdersTypeCot captures enum value "cot".
ElectronicOrdersTypeEmergencyEvac captures enum value "emergency-evac".
ElectronicOrdersTypeIpcot captures enum value "ipcot".
ElectronicOrdersTypeLowCostTravel captures enum value "low-cost-travel".
ElectronicOrdersTypeOperational captures enum value "operational".
ElectronicOrdersTypeOteip captures enum value "oteip".
ElectronicOrdersTypeRotational captures enum value "rotational".
ElectronicOrdersTypeSeparation captures enum value "separation".
ElectronicOrdersTypeSpecialPurpose captures enum value "special-purpose".
ElectronicOrdersTypeTraining captures enum value "training".
ElectronicOrdersTypeUnitMove captures enum value "unit-move".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InvoiceStatusDRAFT captures enum value "DRAFT".
InvoiceStatusINPROCESS captures enum value "IN_PROCESS".
InvoiceStatusSUBMISSIONFAILURE captures enum value "SUBMISSION_FAILURE".
InvoiceStatusSUBMITTED captures enum value "SUBMITTED".
InvoiceStatusUPDATEFAILURE captures enum value "UPDATE_FAILURE" This status indicates that the invoice was successfully submitted, but the updating of the invoice and associated shipment line items failed.
IssuerAirForce captures enum value "air-force".
IssuerArmy captures enum value "army".
IssuerCoastGuard captures enum value "coast-guard".
IssuerMarineCorps captures enum value "marine-corps".
IssuerNavy captures enum value "navy".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LOATypeHHG is the HHG TAC or SAC.
LOATypeNTS is the NTS TAC or SAC.
domestic.
international.
This lists available markets for international accessorial pricing.
This lists available markets for international accessorial pricing.
No description provided by the author
MethodOfReceiptGTCC captures enum value GTCC.
MethodOfReceiptMILPAY captures enum value MIL_PAY.
MethodOfReceiptOTHERDD captures enum value OTHER_DD.
MovePaymentReminderEmail captures enum value "MOVE_PAYMENT_REMINDER_EMAIL".
MovePPMTypeFULL captures enum value "FULL".
MovePPMTypePARTIAL captures enum value "PARTIAL".
MoveStatusAPPROVALSREQUESTED captures enum value "APPROVALS REQUESTED".
MoveStatusAPPROVED captures enum value "APPROVED".
MoveStatusCANCELED captures enum value "CANCELED".
MoveStatusDRAFT captures enum value "DRAFT".
MoveStatusNeedsServiceCounseling captures enum value "NEEDS SERVICE COUNSELING".
MoveStatusServiceCounselingCompleted captures enum value "SERVICE COUNSELING COMPLETED".
MoveStatusSUBMITTED captures enum value "SUBMITTED".
MovingExpenseReceiptTypeContractedExpense captures enum value "CONTRACTED_EXPENSE".
MovingExpenseReceiptTypeOil captures enum value "OIL".
MovingExpenseReceiptTypeOther captures enum value "OTHER".
MovingExpenseReceiptTypePackingMaterials captures enum value "PACKING_MATERIALS".
MovingExpenseReceiptTypeRentalEquipment captures enum value "RENTAL_EQUIPMENT".
MovingExpenseReceiptTypeSmallPackage captures enum value "SMALL_PACKAGE".
MovingExpenseReceiptTypeStorage captures enum value "STORAGE".
MovingExpenseReceiptTypeTolls captures enum value "TOLLS".
MovingExpenseReceiptTypeWeighingFee captures enum value "WEIGHING_FEE".
Constants for the MTOAgentType.
Constants for the MTOAgentType.
MTOServiceItemStatusApproved is the approved status type for MTO Service Items.
MTOServiceItemStatusRejected is the rejected status type for MTO Service Items.
MTOServiceItemStatusSubmitted is the submitted status type for MTO Service Items.
MTOShipmentStatusApproved is the approved status type for MTO Shipments.
MTOShipmentStatusCanceled indicates that a shipment has been canceled by the Prime.
MTOShipmentStatusCancellationRequested indicates the TOO has requested that the Prime cancel the shipment.
MTOShipmentStatusDiversionRequested indicates that the TOO has requested that the Prime divert a shipment.
MTOShipmentStatusDraft is the draft status type for MTO Shipments.
MTOShipmentStatusRejected is the rejected status type for MTO Shipments.
MTOShipmentStatusSubmitted is the submitted status type for MTO Shipments.
MTOShipmentTypeBoatHaulAway is a Shipment Type for Boat Haul Away.
MTOShipmentTypeBoatTowAway is a Shipment Type for Boat Tow Away.
MTOShipmentTypeHHG is an HHG Shipment Type default.
MTOShipmentTypeHHGIntoNTS is an HHG Shipment Type for going into NTS.
MTOShipmentTypeHHGOutOfNTS is an HHG Shipment Type for going out of NTS.
MTOShipmentTypeMobileHome is a Shipment Type for MobileHome.
MTOShipmentTypePPM is a Shipment Type for Personally Procured Move shipments.
MTOShipmentTypeUB is a Shipment Type for Unaccompanied Baggage shipments.
No description provided by the author
NTSRaw is the raw string value of the NTS Shipment Type.
NTSrRaw is the raw string value of the NTSr Shipment Type.
OfficeUserStatusAPPROVED captures enum value "APPROVED".
OfficeUserStatusREJECTED captures enum value "REJECTED".
OfficeUserStatusREQUESTED captures enum value "REQUESTED".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OrderStatusAPPROVED captures enum value "APPROVED".
OrderStatusCANCELED captures enum value "CANCELED".
OrderStatusDRAFT captures enum value "DRAFT".
OrderStatusSUBMITTED captures enum value "SUBMITTED".
PaygradeAviationCadet captures enum value "aviation-cadet".
PaygradeCadet captures enum value "cadet".
PaygradeCivilian captures enum value "civilian".
PaygradeE1 captures enum value "e-1".
PaygradeE2 captures enum value "e-2".
PaygradeE3 captures enum value "e-3".
PaygradeE4 captures enum value "e-4".
PaygradeE5 captures enum value "e-5".
PaygradeE6 captures enum value "e-6".
PaygradeE7 captures enum value "e-7".
PaygradeE8 captures enum value "e-8".
PaygradeE9 captures enum value "e-9".
PaygradeMidshipman captures enum value "midshipman".
PaygradeO1 captures enum value "o-1".
PaygradeO10 captures enum value "o-10".
PaygradeO2 captures enum value "o-2".
PaygradeO3 captures enum value "o-3".
PaygradeO4 captures enum value "o-4".
PaygradeO5 captures enum value "o-5".
PaygradeO6 captures enum value "o-6".
PaygradeO7 captures enum value "o-7".
PaygradeO8 captures enum value "o-8".
PaygradeO9 captures enum value "o-9".
PaygradeW1 captures enum value "w-1".
PaygradeW2 captures enum value "w-2".
PaygradeW3 captures enum value "w-3".
PaygradeW4 captures enum value "w-4".
PaygradeW5 captures enum value "w-5".
PaymentRequestStatusDeprecated is deprecated.
PaymentRequestStatusEDIError an error has occurred.
PaymentRequestStatusPaid is paid.
PaymentRequestStatusPending is pending.
PaymentRequestStatusReviewed is reviewed.
PaymentRequestStatusReviewedAllRejected is reviewed.
PaymentRequestStatusSentToGex is sent to gex.
PaymentRequestStatusTppsReceived is received by gex.
PaymentServiceItemMaxReferenceIDLength is the maximum overall length allowed for a reference ID (given the EDI field's max length).
PaymentServiceItemMinReferenceIDSuffixLength is the minimum suffix length for the PSI's reference ID.
PaymentServiceItemStatusApproved is the approved status.
PaymentServiceItemStatusDenied is the denied status.
PaymentServiceItemStatusEDIError is an error status.
PaymentServiceItemStatusPaid is the paid status.
PaymentServiceItemStatusRequested is the requested status.
PaymentServiceItemStatusSentToGex is the sent-to-gex status.
No description provided by the author
No description provided by the author
No description provided by the author
PoundsPackedPerDay represents the number of pounds that can be packed in a single day.
PPMAdvanceStatusApproved captures enum value "APPROVED".
PPMAdvanceStatusEdited captures enum value "EDITED".
PPMAdvanceStatusNotReceived captures enum value "NOT RECEIVED".
PPMAdvanceStatusReceived captures enum value "RECEIVED".
PPMAdvanceStatusRejected captures enum value "REJECTED".
PPMDocumentStatusApproved captures enum value "APPROVED".
PPMDocumentStatusApproved captures enum value "DRAFT".
PPMDocumentStatusExcluded captures enum value "EXCLUDED".
PPMDocumentStatusRejected captures enum value "REJECTED".
PPMShipmentStatusCanceled captures enum value "CANCELED".
PPMShipmentStatusCloseoutComplete captures enum value "CLOSEOUT_COMPLETE".
PPMStatusCOMPLETED captures enum value "COMPLETED".
PPMShipmentStatusDraft captures enum value "DRAFT".
PPMShipmentStatusNeedsAdvanceApproval captures enum value "NEEDS_ADVANCE_APPROVAL".
PPMShipmentStatusNeedsCloseout captures enum value "NEEDS_CLOSEOUT".
PPMShipmentStatusSubmitted captures enum value "SUBMITTED".
PPMShipmentStatusWaitingOnCustomer captures enum value "WAITING_ON_CUSTOMER".
PPMTypeActualExpense captures enum value "ACTUAL_EXPENSE".
PPMTypeIncentiveBased captures enum value "INCENTIVE_BASED".
PPMTypeSmallPackage captures enum value "SMALL_PACKAGE".
No description provided by the author
PrivilegeTypeSupervisor is the Task Ordering Officer Role.
No description provided by the author
PrivilegeTypeSupervisor is the Task Ordering Officer Role.
ProgramAdminRole represents a role for managing the program (Note: This is deprecated and should be removed).
No description provided by the author
No description provided by the author
No description provided by the author
QueuePaymentRequestDeprecated status PaymentRequest deprecated.
QueuePaymentRequestError status PaymentRequest error.
QueuePaymentRequestPaid status PaymentRequest paid.
QueuePaymentRequestPaymentRequested status payment requested.
QueuePaymentRequestRejected status Payment request rejected.
QueuePaymentRequestReviewed status Payment request reviewed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RecordNotFoundErrorString is the error string returned when no matching rows exist in the database This is ugly, but the best we can do with go's Postgresql adapter.
ReimbursementStatusAPPROVED captures enum value "APPROVED".
ReimbursementStatusDRAFT captures enum value "DRAFT".
ReimbursementStatusPAID captures enum value "PAID".
ReimbursementStatusREJECTED captures enum value "REJECTED".
ReimbursementStatusREQUESTED captures enum value "REQUESTED".
ReServiceCodeCS Counseling.
ReServiceCodeDBHF Domestic haul away boat factor.
ReServiceCodeDBTF Domestic tow away boat factor.
ReServiceCodeDCRT Domestic crating.
ReServiceCodeDCRTSA Domestic crating - standalone.
ReServiceCodeDDASIT Domestic destination add'l SIT.
ReServiceCodeDDDSIT Domestic destination SIT delivery.
ReServiceCodeDDFSIT Domestic destination 1st day SIT.
ReServiceCodeDDP Domestic destination price.
ReServiceCodeDDSFSC Domestic destination SIT FSC.
ReServiceCodeDDSHUT Domestic destination shuttle service.
ReServiceCodeDLH Domestic linehaul.
ReServiceCodeDMHF Domestic mobile home factor.
ReServiceCodeDNPK Domestic NTS packing.
ReServiceCodeDOASIT Domestic origin add'l SIT.
ReServiceCodeDOFSIT Domestic origin 1st day SIT.
ReServiceCodeDOP Domestic origin price.
ReServiceCodeDOPSIT Domestic origin SIT pickup.
ReServiceCodeDOSFSC Domestic origin SIT FSC.
ReServiceCodeDOSHUT Domestic origin shuttle service.
ReServiceCodeDPK Domestic packing.
ReServiceCodeDSH Domestic shorthaul.
ReServiceCodeDUCRT Domestic uncrating.
ReServiceCodeDUPK Domestic unpacking.
ReServiceCodeFSC Fuel Surcharge.
ReServiceCodeIBHF International haul away boat factor.
ReServiceCodeIBTF International tow away boat factor.
ReServiceCodeICOLH International C->O shipping & LH.
ReServiceCodeICOUB International C->O UB.
ReServiceCodeICRT International crating.
ReServiceCodeIDASIT International destination add'l day SIT.
ReServiceCodeIDDSIT International destination SIT delivery.
ReServiceCodeIDFSIT International destination 1st day SIT.
ReServiceCodeIDSFSC International destination SIT FSC.
ReServiceCodeIDSHUT International destination shuttle service.
ReServiceCodeIHPK International HHG pack.
ReServiceCodeIHUPK International HHG unpack.
ReServiceCodeINPK International NTS packing.
ReServiceCodeIOASIT International origin add'l day SIT.
ReServiceCodeIOCLH International O->C shipping & LH.
ReServiceCodeIOCUB International O->C UB.
ReServiceCodeIOFSIT International origin 1st day SIT.
ReServiceCodeIOOLH International O->O shipping & LH.
ReServiceCodeIOOUB International O->O UB.
ReServiceCodeIOPSIT International origin SIT pickup.
ReServiceCodeIOSFSC International origin SIT FSC.
ReServiceCodeIOSHUT International origin shuttle service.
ReServiceCodeISLH Shipping & Linehaul.
ReServiceCodeIUBPK International UB pack.
ReServiceCodeIUBUPK International UB unpack.
ReServiceCodeIUCRT International uncrating.
ReServiceCodeMS Move management.
ReServiceCodeNSTH Nonstandard HHG.
ReServiceCodeNSTUB Nonstandard UB.
ReServiceCodePODFSC International POD Fuel Surcharge.
ReServiceCodePOEFSC International POE Fuel Surcharge.
ReServiceCodeUBP International UB price.
ReweighRequesterCustomer represents the customer requesting a reweigh.
ReweighRequesterPrime represents the prime mover requesting a reweigh.
ReweighRequesterSystem represents the milmove system triggering a reweigh.
ReweighRequesterTOO represents the TOO office user requesting a reweigh.
ServiceItemParamNameActualPickupDate is the param key name ActualPickupDate.
ServiceItemParamNameContractCode is the param key name ContractCode.
ServiceItemParamNameContractYearName is the param key name ContractYearName.
ServiceItemParamNameCubicFeetBilled is the param key name CubicFeetBilled.
ServiceItemParamNameCubicFeetCrating is the param key name CubicFeetCrating.
ServiceItemParamNameDimensionHeight is the param key name DimensionHeight.
ServiceItemParamNameDimensionLength is the param key name DimensionLength.
ServiceItemParamNameDimensionWidth is the param key name DimensionWidth.
ServiceItemParamNameDistanceZip is the param key name DistanceZip.
ServiceItemParamNameDistanceZipSITDest is the param key name DistanceZipSITDest.
ServiceItemParamNameDistanceZipSITOrigin is the param key name DistanceZipSITOrigin.
ServiceItemParamNameEIAFuelPrice is the param key name EIAFuelPrice.
ServiceItemParamNameEscalationCompounded is the param key name EscalationCompounded.
ServiceItemParamNameExternalCrate is the param key name ExternalCrate.
ServiceItemParamNameFSCMultiplier is the param key name FSCMultiplier.
ServiceItemParamNameFSCPriceDifferenceInCents is the param key name FSCPriceDifferenceInCents.
ServiceItemParamNameFSCWeightBasedDistanceMultiplier is the param key name FSCWeightBasedDistanceMultiplier.
ServiceItemParamNameIsPeak is the param key name IsPeak.
ServiceItemParamNameLockedPriceCents is the param key name LockedPriceCents.
ServiceItemParamNameMarketDest is the param key name MarketDest.
ServiceItemParamNameMarketOrigin is the param key name MarketOrigin.
ServiceItemParamNameMTOAvailableToPrimeAt is the param key name MTOAvailableToPrimeAt.
ServiceItemParamNameNTSPackingFactor is the param key name NTSPackingFactor.
ServiceItemParamNameNumberDaysSIT is the param key name NumberDaysSIT.
ServiceItemParamNamePerUnitCents is the param key name PerUnitCents.
ServiceItemParamNamePortZip is the param key name PortZip.
ServiceItemParamNamePriceAreaDest is the param key name PriceAreaDest.
ServiceItemParamNamePriceAreaIntlDest is the param key name PriceAreaIntlDest.
ServiceItemParamNamePriceAreaIntlOrigin is the param key name PriceAreaIntlOrigin.
ServiceItemParamNamePriceAreaOrigin is the param key name PriceAreaOrigin.
ServiceItemParamNamePriceRateOrFactor is the param key name PriceRateOrFactor.
ServiceItemParamNamePSILinehaulDom is the param key name PSI_LinehaulDom.
ServiceItemParamNamePSILinehaulDomPrice is the param key name PSI_LinehaulDomPrice.
ServiceItemParamNamePSILinehaulShort is the param key name PSI_LinehaulShort.
ServiceItemParamNamePSILinehaulShortPrice is the param key name PSI_LinehaulShortPrice.
ServiceItemParamNamePSIPriceDomDest is the param key name PSI_PriceDomDest.
ServiceItemParamNamePSIPriceDomDestPrice is the param key name PSI_PriceDomDestPrice.
ServiceItemParamNamePSIPriceDomOrigin is the param key name PSI_PriceDomOrigin.
ServiceItemParamNamePSIPriceDomOriginPrice is the param key name PSI_PriceDomOriginPrice.
ServiceItemParamNamePSIShippingLinehaulIntlCO is the param key name PSI_ShippingLinehaulIntlCO.
ServiceItemParamNamePSIShippingLinehaulIntlCOPrice is the param key name PSI_ShippingLinehaulIntlCOPrice.
ServiceItemParamNamePSIShippingLinehaulIntlOC is the param key name PSI_ShippingLinehaulIntlOC.
ServiceItemParamNamePSIShippingLinehaulIntlOCPrice is the param key name PSI_ShippingLinehaulIntlOCPrice.
ServiceItemParamNamePSIShippingLinehaulIntlOO is the param key name PSI_ShippingLinehaulIntlOO.
ServiceItemParamNamePSIShippingLinehaulIntlOOPrice is the param key name PSI_ShippingLinehaulIntlOOPrice.
ServiceItemParamNameRateAreaNonStdDest is the param key name RateAreaNonStdDest.
ServiceItemParamNameRateAreaNonStdOrigin is the param key name RateAreaNonStdOrigin.
ServiceItemParamNameReferenceDate is the param key name ReferenceDate.
ServiceItemParamNameRequestedPickupDate is the param key name RequestedPickupDate.
ServiceItemParamNameServiceAreaDest is the param key name ServiceAreaDest.
ServiceItemParamNameServiceAreaOrigin is the param key name ServiceAreaOrigin.
ServiceItemParamNameServicesScheduleDest is the param key name ServicesScheduleDest.
ServiceItemParamNameServicesScheduleOrigin is the param key name ServicesScheduleOrigin.
ServiceItemParamNameSITPaymentRequestEnd is the param key name SITPaymentRequestEnd.
ServiceItemParamNameSITPaymentRequestStart is the param key name SITPaymentRequestStart.
ServiceItemParamNameSITScheduleDest is the param key name SITScheduleDest.
ServiceItemParamNameSITScheduleOrigin is the param key name SITScheduleOrigin.
ServiceItemParamNameSITServiceAreaDest is the param key name SITServiceAreaDest.
ServiceItemParamNameSITServiceAreaOrigin is the param key name ServiceAreaOriginSIT.
ServiceItemParamNameStandaloneCrate is the param key name StandaloneCrate.
ServiceItemParamNameStandaloneCrateCap is the param key name StandaloneCrateCap.
ServiceItemParamNameUncappedRequestTotal is the param key name UncappedRequestTotal.
ServiceItemParamNameWeightAdjusted is the param key name WeightAdjusted.
ServiceItemParamNameWeightBilled is the param key name WeightBilled.
ServiceItemParamNameWeightEstimated is the param key name WeightEstimated.
ServiceItemParamNameWeightOriginal is the param key name WeightOriginal.
ServiceItemParamNameWeightReweigh is the param key name WeightReweigh.
ServiceItemParamNameZipDestAddress is the param key name ZipDestAddress.
ServiceItemParamNameZipPickupAddress is the param key name ZipPickupAddress.
ServiceItemParamNameZipSITDestHHGFinalAddress is the param key name ZipSITDestHHGFinalAddress.
ServiceItemParamNameZipSITDestHHGOriginalAddress is the param key name ZipSITDestHHGOriginalAddress.
ServiceItemParamNameZipSITOriginHHGActualAddress is the param key name ZipSITOriginHHGActualAddress.
ServiceItemParamNameZipSITOriginHHGOriginalAddress is the param key name ZipSITOriginHHGOriginalAddress.
ServiceItemParamOriginPaymentRequest is the PaymentRequest origin.
ServiceItemParamOriginPricer is the Pricer origin.
ServiceItemParamOriginPrime is the Prime origin.
ServiceItemParamOriginSystem is the System origin.
ServiceItemParamTypeBoolean is a boolean.
ServiceItemParamTypeDate is a date.
ServiceItemParamTypeDecimal is a decimal.
ServiceItemParamTypeInteger is an integer.
ServiceItemParamTypePaymentServiceItemUUID is a UUID.
ServiceItemParamTypeString is a string.
ServiceItemParamTypeTimestamp is a timestamp.
ServiceLocationB Both.
ServiceLocationD Destination.
ServiceLocationO Origin.
ServiceMemberGradeACADEMYCADET captures enum value "ACADEMY_CADET".
ServiceMemberGradeAVIATIONCADET captures enum value "AVIATION_CADET".
ServiceMemberGradeCIVILIANEMPLOYEE captures enum value "CIVILIAN_EMPLOYEE".
ServiceMemberGradeE1 captures enum value "E_1".
ServiceMemberGradeE2 captures enum value "E_2".
ServiceMemberGradeE3 captures enum value "E_3".
ServiceMemberGradeE4 captures enum value "E_4".
ServiceMemberGradeE5 captures enum value "E_5".
ServiceMemberGradeE6 captures enum value "E_6".
ServiceMemberGradeE7 captures enum value "E_7".
ServiceMemberGradeE8 captures enum value "E_8".
ServiceMemberGradeE9 captures enum value "E_9".
ServiceMemberGradeE9SPECIALSENIORENLISTED captures enum value "E_9_SPECIAL_SENIOR_ENLISTED".
ServiceMemberGradeMIDSHIPMAN captures enum value "MIDSHIPMAN".
ServiceMemberGradeO10 captures enum value "O_10".
ServiceMemberGradeO1ACADEMYGRADUATE captures enum value "O_1_ACADEMY_GRADUATE".
ServiceMemberGradeO2 captures enum value "O_2".
ServiceMemberGradeO3 captures enum value "O_3".
ServiceMemberGradeO4 captures enum value "O_4".
ServiceMemberGradeO5 captures enum value "O_5".
ServiceMemberGradeO6 captures enum value "O_6".
ServiceMemberGradeO7 captures enum value "O_7".
ServiceMemberGradeO8 captures enum value "O_8".
ServiceMemberGradeO9 captures enum value "O_9".
ServiceMemberGradeW1 captures enum value "W_1".
ServiceMemberGradeW2 captures enum value "W_2".
ServiceMemberGradeW3 captures enum value "W_3".
ServiceMemberGradeW4 captures enum value "W_4".
ServiceMemberGradeW5 captures enum value "W_5".
ShipmentAddressUpdateStatusApproved is the approved status type for Shipment Address Update Items.
ShipmentAddressUpdateStatusRejected is the rejected status type for Shipment Address Update Items.
ShipmentAddressUpdateStatusRequested is the requested status type for Shipment Address Update Items.
No description provided by the author
No description provided by the author
SignedCertificationTypeHHG captures enum value "HHG" - deprecated 10/2020.
SignedCertificationTypePPM captures enum value "PPM" - deprecated 10/2020.
SignedCertificationTypePPMPAYMENT captures enum value "PPM_PAYMENT".
No description provided by the author
SignedCertificationTypeSHIPMENT captures enum value "SHIPMENT" for all shipment types from 10/2020.
SITExtensionRequestReasonAwaitingCompletionOfResidence is the sit extension request reason type for SIT extensions.
SITExtensionRequestReasonDirectedTemporaryDuty is the sit extension request reason type for SIT extensions.
SITExtensionRequestReasonImpendingAssignment is the sit extension request reason type for SIT extensions.
SITExtensionRequestReasonNonavailabilityOfCivilianHousing is the sit extension request reason type for SIT extensions.
SITExtensionRequestReasonOther is the sit extension request reason type for SIT extensions.
SITExtensionRequestReasonSeriousIllnessDependent is the sit extension request reason type for SIT extensions.
SITExtensionRequestReasonSeriousIllnessMember is the sit extension request reason type for SIT extensions.
SITExtensionStatusApproved is a SIT extension status.
SITExtensionStatusDenied is a SIT extension status.
SITExtensionStatusPending is a SIT extension status.
SITLocationTypeDestination captures enum value "DESTINATION".
SITLocationTypeOrigin captures enum value "ORIGIN".
No description provided by the author
No description provided by the author
SystemAdminRole represents a role for managing the system.
TourTypeAccompanied captures enum value "accompanied".
TourTypeUnaccompanied captures enum value "unaccompanied".
TourTypeUnaccompaniedDependentsRestricted captures enum value "unaccompanied-dependents-restricted".
TPPSPaidInvoiceReport captures enum value "TPPSPaidInvoiceReport".
This is for when the office user edipi unique idx constraint is hit.
This is for when the office user email unique idx constraint is hit.
This is for when the office user other unique id unique idx constraint is hit.
UploadedOrdersDocumentName is the name of an uploaded orders document.
UploadTypePRIME string OFFICE.
UploadTypePRIME string PRIME.
UploadTypeUSER string USER.
WebhookNotificationFailed is the failed status type for a WebhookNotification.
WebhookNotificationFailing is the failing status type for a WebhookNotification - indicates the send has failed at least once but we are still retrying it.
WebhookNotificationPending is the pending status type for a WebhookNotification.
WebhookNotificationSent is the sent status type for a WebhookNotification.
WebhookNotificationSkipped is the skipped status type for a WebhookNotification.
WebhookSubscriptionStatusActive is the active status for Webhook Subscription.
WebhookSubscriptionStatusDisabled is the disabled status for Webhook Subscription.
WebhookSubscriptionStatusFailing is the failing status for Webhook Subscription - it indicates that we have experienced notifications failing to be sent, but have not disabled this subscription yet.
# Variables
AllowedBoatShipmentTypees is a list of all the allowed values for the Type of a BoatShipment as strings.
No description provided by the author
AllowedPPMAdvanceStatuses is a list of all the allowed values for AdvanceStatus on a PPMShipment, as strings.
AllowedPPMDocumentStatuses is a list of all the allowed values for the Status of a PPMShipment's documents, as strings.
AllowedPPMShipmentStatuses is a list of all the allowed values for the Status of a PPMShipment as strings.
AllowedPPMTypes is a list of all the allowed values for PPM types.
No description provided by the author
No description provided by the author
AllowedSITLocationTypes is a list of all the allowed values for SITLocationType on a PPMShipment, as strings.
No description provided by the author
ErrCreateViolatesUniqueConstraint is returned if you call create and violate a unique constraint.
ErrDestroyForbidden means that a model cannot be destroyed in its current state.
ErrFetchForbidden means that the record exists but that the user does not have access to it.
ErrFetchNotFound means that the requested record does not exist.
ErrInvalidFilterFormat is used if the param filter is not in the expected format.
ErrInvalidMoveID is used if a argument is provided in cases where a move ID is provided, but may be malformed, empty, or nonexistent.
ErrInvalidOrderID is used if a argument is provided in cases where a order ID is provided, but may be malformed, empty, or nonexistent.
ErrInvalidPatchGate means that an attempt to patch a model was not given the correct set of fields.
ErrInvalidTransition is an error representing an invalid state transition.
ErrLocatorGeneration means that we got errors generating the Locator.
ErrMissingDestinationAddress is used if destination address is missing from the shipment.
ErrSqlRecordNotFound is used if an error is returned from the database indicating that no record was found.
ErrUnsupportedShipmentType is used if the shipment type is not supported by a method.
ErrUserUnauthorized means that the user is not authorized to access a record.
ErrWriteConflict means that the record creation or update cannot be completed due to a conflict with other records.
ErrWriteForbidden means that user is not permitted to write the record.
Definition of valid Domestic Destination SIT ReServiceCodes.
Definition of valid Domestic Origin SIT ReServiceCodes.
Definition of valid International Destination SIT ReServiceCodes.
Definition of valid International Origin SIT ReServiceCodes.
ValidServiceItemParamNames lists all valid service item param key names.
ValidServiceItemParamNameStrings lists all valid service item param key names.
ValidServiceItemParamOrigins lists all valid service item param origins.
ValidServiceItemParamTypes lists all valid service item param types.
# Structs
Address is an address.
AdminUser is someone who operates the Milmove systems.
AffiliationIsPresent validates that a branch is present.
ApplicationParameters is a model representing application parameters and holds parameter values and parameter names stored in the database.
AtLeastOneNotNil validates that at least one of two fields are not nil.
AuditHistory is a record from the audit_history table.
BackupContact is a model representing a backup contact for a service member.
BoatShipment is the portion of a move that a service member performs themselves.
CannotBeTrueIfFalse validates that field1 cannot be true while field2 is false.
No description provided by the author
ClientCert represents a known x509 Certificate in the database.
Contractor is an object representing an access code for a service member.
Country is a model representing a country.
No description provided by the author
CustomerSupportRemark struct represents the shape of an office move remark.
DateIsWorkday validates that field is on a workday.
DiscountRateIsValid validates that a DiscountRate contains a value between 0 and 1.
DistanceCalculation represents a distance calculation in miles between an origin and destination address.
A Document represents a physical artifact such as a multipage form that was filled out by hand.
DutyLocation represents a military duty location for a specific affiliation.
DutyLocationName represents an alternative name for a DutyLocation.
DutyLocationTransportInfo contains all info needed for notifications emails.
EdiError stores errors found while sending an 858 and being reported from EDI response files (824, 997).
EDIProcessing represents an email sent to a service member.
ElectronicOrder contains the unchanging data of a set of orders across all amendments / revisions.
ElectronicOrdersRevision represents a complete amendment of one set of electronic orders.
Entitlement is an object representing entitlements for orders.
No description provided by the author
No description provided by the author
Float64IsGreaterThan validates that a float64 is greater than a given value.
Float64IsPresent validates that a float64 is non-zero.
Note: Multiplier is a pointer to avoid copying a struct that contains a sync.Mutex.
FuelEIADieselPrice used to hold data from the SDDC Fuel Surcharge information found at https://etops.sddc.army.mil/pls/ppcig_camp/fsc.output to calculate a shipment's fuel surcharge.
No description provided by the author
GHCDieselFuelPrice represents the weekly national average diesel fuel price.
GHCDomesticTransitTime Tab Domestic Transit Times.
No description provided by the author
HHGAllowance the allowance in weights for a given pay grade.
Int64IsPresent validates that an int64 is greater than 0.
No description provided by the author
Invoice is a collection of line item charges to be sent for payment.
ItemCanFitInsideCrate is a structure for determining if an Item Dimension can fit inside a Crate Dimension.
ItemCanFitInsideCrate is a structure for determining if an Item Dimension can fit inside a Crate Dimension.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Move is an object representing a move task order which falls under an "Order" assigned to a service member.
MoveHistory captures a move's audit history.
MoveOptions is used when creating new moves based on parameters.
MoveQueueItem represents a single move queue item within a queue.
MoveToGBLOC represents the view that associates each move ID with a GBLOC based on the postal code of its first shipment.
No description provided by the author
No description provided by the author
MTOAgent is a struct that represents the mto_agents table.
MTOServiceItem is an object representing service items for a move task order.
MTOServiceItemCustomerContact is an object representing customer contact for a service item.
MTOServiceItemDimension is an object representing dimensions for a service item.
MTOServiceItemSingle is an object representing a single column in the service items table.
No description provided by the author
MTOShipment is an object representing data for a move task order shipment.
MustBeBothNilOrBothHaveValue validates that two fields are either both nil or both have values.
Notification represents an email sent to a service member.
NotImplementedCountryCode is the default for unimplemented country code lookup.
Obligation an object representing the obligations section on the shipment summary worksheet.
Obligations is an object representing the winning and non-winning Max Obligation and Actual Obligation sections of the shipment summary worksheet.
No description provided by the author
OfficeEmail is used to store Email addresses for the TransportationOffices.
OfficePhoneLine is used to store Phone lines (voice or fax) for the TransportationOffices.
OfficeUser is someone who works in one of the TransportationOffices.
No description provided by the author
Okta account POST Req body.
OktaAccountCreationTemplate is a template of information needed in the okta account creation service.
Okta account POST Req body profile.
No description provided by the author
No description provided by the author
OptionalCentIsNotNegative adds an error if the Field is less than or equal to zero.
OptionalCentIsPositive adds an error if the Field is less than or equal to zero.
OptionalDateIsWorkday validates that a field is on a workday if it exists.
OptionalDateNotBefore validates that a date is not before the earliest allowable date.
OptionalInt64IsPositive adds an error if the Field is less than or equal to zero.
OptionalIntIsPositive adds an error if the Field is less than or equal to zero.
OptionalPoundIsNonNegative adds an error if the Field is less than zero.
OptionalPoundIsPositive adds an error if the Field is less than or equal to zero.
OptionalRegexMatch validates that a field matches the regexp match.
OptionalStringInclusion validates that a field is in a list of strings if the field exists.
OptionalTimeIsPresent adds an error if the Field is not nil and also not a valid time.
No description provided by the author
OptionalUUIDIsPresent is a structure for determining if an Optional UUID is valid If it is a nil pointer, it passes validation.
Order is a set of orders received by a service member.
OrdersTypeIsPresent validates that orders type field is present.
Organization represents an organization and their contact information.
PayGrade represents a customer's pay grade (Including civilian).
PaymentRequest is an object representing a payment request on a move task order.
No description provided by the author
PaymentRequestToInterchangeControlNumber is an object that links payment requests to an Interchange Control Number used in the EDI 858 invoice.
No description provided by the author
PaymentServiceItem represents a payment service item.
PaymentServiceItemParam represents a parameter of the Payment Service Item.
No description provided by the author
No description provided by the author
PortLocationInfo holds the ZIP code and port type for a shipment this is used in the db function/query below.
PostalCodeToGBLOC is a mapping from Postal Codes to GBLOCs.
No description provided by the author
No description provided by the author
PPMDocuments is a collection of the different PPMShipment documents.
No description provided by the author
PPMShipment is the portion of a move that a service member performs themselves.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PPTAS PPTASReport.
No description provided by the author
An PrimeUpload represents an user uploaded file, such as an image or PDF.
Privilege represents a Privilege for users.
No description provided by the author
No description provided by the author
ProofOfServiceDoc represents a document for proof of service.
No description provided by the author
ReContract represents a contract with pricing information.
ReContractYear represents a single "year" of a contract.
No description provided by the author
ReDomesticAccessorialPrice model struct.
ReDomesticLinehaulPrice represents a domestic linehaul price based on weight, mileage, etc.
ReDomesticOtherPrice represents a domestic service area price based on date, service area, etc.
ReDomesticServiceArea model struct.
ReDomesticServiceAreaPrice represents a domestic service area price based on date, service area, etc.
Reimbursement is money that is intended to be paid to the servicemember.
ReIntlAccessorialPrice model struct.
ReIntlOtherPrice is the ghc rate engine international price.
ReIntlPrice is the ghc rate engine international price.
No description provided by the author
ReRateArea model struct.
ReService model struct.
No description provided by the author
ReShipmentTypePrice model struct.
ReTaskOrderFee model struct.
Reweigh represents a request for the prime mover to reweigh a shipment or provide verification why they could not.
ReZip3 model struct.
ReZip5RateArea model struct.
RoleInclusion is used to validate if a role is valid for inclusion.
ServiceItemParamKey is a key for a Service Item Param.
ServiceItemsCustomerContacts represents a relationship between a MTOServiceItem and a MTOServiceItemCustomerContact.
ServiceMember is a user of type service member.
This model should be used whenever the customer name search is used.
ServiceParam is a Service Parameter.
ServiceRequestDocument represents a document for a service item requst by the Prime.
A ServiceRequestDocumentUpload represents an user uploaded file, such as an image or PDF.
No description provided by the author
ShipmentSummaryFormData is a container for the various objects required for the a Shipment Summary Worksheet.
SignedCertification represents users acceptance.
SITDurationUpdate struct representing one SIT duration update Formerly known as "SITExtension".
No description provided by the author
Holds the relevant SIT ReServiceCodes for Domestic Origin and Destination SIT service items, and provides a top-level summary due to our Service Item architecture.
Holds the summary of "Sub-Groupings" of SIT.
SSWMaxWeightEntitlement weight allotment for the shipment summary worksheet.
StageConusToOconusPrice is the stage CONUS To OCONUS price.
StageCounselingServicesPrice is the stage counseling service price.
StageDomesticInternationalAdditionalPrice is the stage domestic international additional price.
StageDomesticLinehaulPrice is the stage domestic linehaul price.
StageDomesticMoveAccessorialPrice is the stage domestic move accessorial price.
StageDomesticOtherPackPrice is the stage domestic other pack price.
StageDomesticOtherSitPrice is the stage domestic other SIT price.
StageDomesticServiceArea is the stage domestic service area.
StageDomesticServiceAreaPrice is the stage domestic service area price.
StageInternationalMoveAccessorialPrice is the stage international move accessorial price.
StageInternationalServiceArea is the stage international service area.
StageNonStandardLocnPrice is the stage non-standard location price.
StageOconusToConusPrice is the stage OCONUS To CONUS price.
StageOconusToOconusPrice is the stage OCONUS To OCONUS price.
StageOtherIntlPrice is the stage other international price.
StagePriceEscalationDiscount is the stage price escalation discount.
StageShipmentManagementServicesPrice is the stage shipment management service price.
StageTransitionPrice is the stage transition price.
No description provided by the author
No description provided by the author
StringInList is an improved validators.StringInclusion validator with better error messages.
StringIsNilOrNotBlank validates OptionalString fields, which we represent as *string.
TPPSPaidInvoiceReportEntry stores the entries found from processing a TPPS paid invoice report.
TransportationAccountingCode model struct that represents transportation accounting codes TODO: Update this model and internal use to reflect incoming TransportationAccountingCode model updates.
TransportationOffice is a PPPO, PPSO or JPPSO.
TransportationAssignment is the transportation office the OfficeUser is assigned to.
UBAllowances represents the UB weight allowance for a branch, grade, order type, dependents authorized, and accompanied tour variables on an order.
An Upload represents an uploaded file, such as an image or PDF.
User is an entity with a registered profile ID and email in Okta.
UserIdentity is summary of the information about a user from the database.
UsersPrivileges represents a user and a privilege.
UsersRoles represents a user and a role.
An UserUpload represents an user uploaded file, such as an image or PDF.
No description provided by the author
UsPostRegionCity represents postal region information retrieved from TRDM
Column comments
uspr_zip_id IS 'A US postal region zip identifier.';
u_s_post_region_city_nm IS 'A US postal region city name.';
usprc_county_nm IS 'A name of the county or parish in which the UNITED-STATES- POSTAL-REGION-CITY resides.';
ctry_genc_dgph_cd IS 'A 2-digit Geopolitical Entities, Names, and Codes (GENC) Standard.';
*/.
VLocations is a read only view that represents postal region information retrieved from TRDM
Column comments
uprc_id IS 'An id of a record in the us_post_region_cities table'
city_name IS 'A US postal region city name'
state IS 'A US postal region state name'
uspr_zip_id IS 'A US postal region zip identifier'
usprc_county_nm IS 'A name of the county or parish in which the UNITED-STATES-POSTAL-REGION-CITY resides'
country IS 'A name of the country'
cities_id IS 'An id of a record in the re_cities table'
state_id IS 'An id of a record in the re_states table'
us_post_regions_id IS 'An id of a record in the re_us_post_regions table'
country_id IS 'An id of a record in the re_countries table'
*/.
WebhookNotification is used by pop to map your webhook_notifications database table to your go code.
A WebhookSubscription represents a webhook subscription.
WeightAllotment represents the weights allotted for a rank.
WeightTicket represents the weight tickets and related data for a single trip of a PPM Shipment.
WorkSheetShipment is an object representing specific shipment items on Shipment Summary Worksheet.
WorkSheetShipments is an object representing shipment line items on Shipment Summary Worksheet.
Zip3Distance model struct.
# Interfaces
ValidateableModel is here simply because `validateable` is private to `pop`.
# Type aliases
AdminRole represents administrative roles.
No description provided by the author
AppealStatus represents the status of an appeal made by a GSR.
No description provided by the author
Used tangentally in association with an Upload to provide status of anti-virus scan AVStatusType represents the type of the anti-virus status, whether it is still processing, clean or infected.
BackupContactPermission represents the permissions granted to a backup contact.
No description provided by the author
BoatShipments is a list of Boats.
BoatShipmentType represents the status of an order record's lifecycle.
ClientCerts is not required by pop and may be deleted.
Contractors is a slice of Contractor objects.
CustomerContactType determines what type of customer contact for a service item.
No description provided by the author
DepartmentIndicator represents an order's department indicator.
No description provided by the author
DimensionType determines what type of dimension for a service item.
No description provided by the author
No description provided by the author
No description provided by the author
EagerAssociations are a collection of named associations.
EdiErrors is a list of EDI Error.
EDIProcessings is a slice of notification structs.
EDIType represents types of EDI Responses.
No description provided by the author
ElectronicOrdersAffiliation is a service member's military branch of service, or identifies a civilian.
No description provided by the author
ElectronicOrdersStatus indicates whether these Orders are authorized, RFO (Request For Orders), or canceled.
ElectronicOrdersType is the type of travel or move for a set of Orders.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HHGAllowances is a slice of HHGAllowance.
Invoices is an array of invoices.
InvoiceStatus represents the status of an invoice.
Issuer is the organization that issues orders.
AuditHistoryJSONData.
LOAType represents the possible TAC and SAC types for a mto shipment.
Market represents the market for an international move.
Market code indicator of international or domestic.
MethodOfReceipt is how the SM will be paid.
A list of Mobile homes.
No description provided by the author
MoveStatus represents the status of an order record's lifecycle.
No description provided by the author
MovingExpenseReceiptType represents types of different moving expenses.
No description provided by the author
MTOAgents is a collection of MTOAgent.
MTOAgentType represents the type label for move task order agent.
MTOServiceItemCustomerContacts is a slice containing MTOServiceItemCustomerContact.
MTOServiceItemDimensions is a slice containing MTOServiceItemDimension.
MTOServiceItems is a slice containing MTOServiceItems.
MTOServiceItemStatus represents the possible statuses for a mto shipment.
MTOShipments is a list of mto shipments.
MTOShipmentStatus represents the possible statuses for a mto shipment.
MTOShipmentType represents the type of shipments the mto shipment is.
Notifications is a slice of notification structs.
NotificationTypes represents types of notifications.
No description provided by the author
No description provided by the author
No description provided by the author
OfficeUserStatus represents the status of an office user.
No description provided by the author
OrderStatus represents the state of an order record in the UX manual orders flow.
No description provided by the author
Paygrade is the "rank" of a member.
PayGrades is a slice of PayGrade.
No description provided by the author
PaymentRequests is a slice of PaymentRequest.
PaymentRequestStatus is a type of Payment Request Status.
No description provided by the author
No description provided by the author
PaymentServiceItemStatus is a type of Payment Service Item Status.
PortType represents the type of port.
No description provided by the author
PPMAdvanceStatus represents the status of an advance that can be approved, edited or rejected by a SC.
PPMDocumentStatus represents the status of a PPMShipment's documents.
PPMShipments is a list of PPMs.
PPMShipmentStatus represents the status of an order record's lifecycle.
PPMType represents the type of a PPM shipment.
No description provided by the author
No description provided by the author
PrivilegeName represents the names of privileges.
Privileges is a slice of Privilege objects.
PrivilegeType represents the types of privileges available in the admin app.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReimbursementStatus is the status of the Reimbursement.
No description provided by the author
ReIntlOtherPrices is a slice of ReIntlOtherPrice.
ReIntlPrices is a slice of ReIntlPrice objects.
No description provided by the author
No description provided by the author
ReServiceCode is the code of service.
ReServiceItems is a slice of ReServiceItem.
No description provided by the author
No description provided by the author
No description provided by the author
ReweighRequester is the actor who initiated the reweigh request for the shipment.
No description provided by the author
No description provided by the author
No description provided by the author
ServiceItemParamName is the name of service item parameter.
ServiceItemParamOrigin is a type of service item parameter origin.
ServiceItemParamType is a type of service item parameter.
No description provided by the author
ServiceMemberAffiliation represents a service member's branch.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ShipmentAddressUpdates is a slice containing of ShipmentAddressUpdates.
ShipmentAddressUpdateStatus represents the possible statuses for a mto shipment.
No description provided by the author
SignedCertificationType represents the types of certificates.
SITDurationUpdateRequestReason type for SIT Duration Update Request Reason.
SITDurationUpdates is a slice containing SITDurationUpdate Formerly known as "SITExtensions".
SITDurationUpdateStatus type for SIT Duration Update request status.
SITLocationType represents whether the SIT at the origin or destination.
Hold groupings of SIT for the shipment.
No description provided by the author
TourType indicates whether the travel is Accompanied or Unaccompanied; i.e., are dependents authorized to accompany the service member on the move.
TPPSPaidInvoiceReportEntrys is a slice of TPPSPaidInvoiceReportEntry.
No description provided by the author
No description provided by the author
No description provided by the author
UploadType represents the type of upload this is, whether is it uploaded for a User or for the Prime.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WebhookNotificationStatus represents the possible statuses for a mto shipment.
WebhookSubscriptions is an array of webhook subscriptions.
WebhookSubscriptionStatus is a type representing the webhook subscription status type - string.
No description provided by the author
No description provided by the author