Documentation ¶
Index ¶
- func NewInternalAPI(handlerConfig handlers.HandlerConfig) *internalops.MymoveAPI
- func PDFProducer() runtime.Producer
- type ApplicationParametersValidateHandler
- type ApproveMoveHandler
- type ApproveReimbursementHandler
- type BooleanFeatureFlagsForUserHandler
- type CancelMoveHandler
- type CreateBackupContactHandler
- type CreateDocumentHandler
- type CreateMTOShipmentHandler
- type CreateMovingExpenseHandler
- type CreateOrdersHandler
- type CreatePPMUploadHandler
- type CreateProGearWeightTicketHandler
- type CreateServiceMemberHandler
- type CreateSignedCertificationHandler
- type CreateUploadHandler
- type CreateWeightTicketHandler
- type DeleteMovingExpenseHandler
- type DeleteProGearWeightTicketHandler
- type DeleteShipmentHandler
- type DeleteUploadHandler
- type DeleteUploadsHandler
- type DeleteWeightTicketHandler
- type ErrorResponse
- type GetAllMovesHandler
- type GetOktaProfileHandler
- type GetTransportationOfficesHandler
- type IndexBackupContactsHandler
- type IndexEntitlementsHandler
- type IndexSignedCertificationsHandler
- type IsDateWeekendHolidayHandler
- type JSONDate
- type ListMTOShipmentsHandler
- type MoveQueueItems
- type PatchMoveHandler
- type PatchServiceMemberHandler
- type QueueSitData
- type ResubmitPPMShipmentDocumentationHandler
- type SearchDutyLocationsHandler
- type ShowAddressHandler
- type ShowAvailableMoveDatesHandler
- type ShowBackupContactHandler
- type ShowCounselingOfficesHandler
- type ShowDocumentHandler
- type ShowDutyLocationTransportationOfficeHandler
- type ShowLoggedInUserHandler
- type ShowMoveHandler
- type ShowOrdersHandler
- type ShowPaymentPacketHandler
- type ShowQueueHandler
- type ShowServiceMemberHandler
- type ShowServiceMemberOrdersHandler
- type SubmitAmendedOrdersHandler
- type SubmitMoveHandler
- type SubmitPPMShipmentDocumentationHandler
- type UpdateBackupContactHandler
- type UpdateMTOShipmentHandler
- type UpdateMovingExpenseHandler
- type UpdateOktaProfileHandler
- type UpdateOrdersHandler
- type UpdateProGearWeightTicketHandler
- type UpdateWeightTicketHandler
- type UploadAdditionalDocumentsHandler
- type UploadAmendedOrdersHandler
- type ValidatePostalCodeWithRateDataHandler
- type VariantFeatureFlagsForUserHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInternalAPI ¶
func NewInternalAPI(handlerConfig handlers.HandlerConfig) *internalops.MymoveAPI
NewInternalAPI returns the internal API
Types ¶
type ApplicationParametersValidateHandler ¶
type ApplicationParametersValidateHandler struct {
handlers.HandlerConfig
}
ApplicationParametersValidateHandler validates a value provided by the service member
func (ApplicationParametersValidateHandler) Handle ¶
func (h ApplicationParametersValidateHandler) Handle(params application_parameters.ValidateParams) middleware.Responder
Handler receives a POST request containing a parameter value if the value is present, it returns it back, if not, it returns an empty object
type ApproveMoveHandler ¶
type ApproveMoveHandler struct { handlers.HandlerConfig services.MoveRouter }
ApproveMoveHandler approves a move via POST /moves/{moveId}/approve
func (ApproveMoveHandler) Handle ¶
func (h ApproveMoveHandler) Handle(params officeop.ApproveMoveParams) middleware.Responder
Handle ... approves a Move from a request payload
type ApproveReimbursementHandler ¶
type ApproveReimbursementHandler struct {
handlers.HandlerConfig
}
ApproveReimbursementHandler approves a move via POST /reimbursement/{reimbursementId}/approve
func (ApproveReimbursementHandler) Handle ¶
func (h ApproveReimbursementHandler) Handle(params officeop.ApproveReimbursementParams) middleware.Responder
Handle ... approves a Reimbursement from a request payload
type BooleanFeatureFlagsForUserHandler ¶
type BooleanFeatureFlagsForUserHandler struct {
handlers.HandlerConfig
}
BooleanFeatureFlagsForUserHandler handles evaluating boolean feature flags for users
func (BooleanFeatureFlagsForUserHandler) Handle ¶
func (h BooleanFeatureFlagsForUserHandler) Handle(params ffop.BooleanFeatureFlagForUserParams) middleware.Responder
Handle returns the boolean feature flag
type CancelMoveHandler ¶
type CancelMoveHandler struct { handlers.HandlerConfig services.MoveRouter }
CancelMoveHandler cancels a move via POST /moves/{moveId}/cancel
func (CancelMoveHandler) Handle ¶
func (h CancelMoveHandler) Handle(params officeop.CancelMoveParams) middleware.Responder
Handle ... cancels a Move from a request payload
type CreateBackupContactHandler ¶
type CreateBackupContactHandler struct {
handlers.HandlerConfig
}
CreateBackupContactHandler creates a new backup contact
func (CreateBackupContactHandler) Handle ¶
func (h CreateBackupContactHandler) Handle(params backupop.CreateServiceMemberBackupContactParams) middleware.Responder
Handle ... creates a new BackupContact from a request payload
type CreateDocumentHandler ¶
type CreateDocumentHandler struct {
handlers.HandlerConfig
}
CreateDocumentHandler creates a new document via POST /documents/
func (CreateDocumentHandler) Handle ¶
func (h CreateDocumentHandler) Handle(params documentop.CreateDocumentParams) middleware.Responder
Handle creates a new Document from a request payload
type CreateMTOShipmentHandler ¶
type CreateMTOShipmentHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
CreateMTOShipmentHandler is the handler to create MTO shipments
func (CreateMTOShipmentHandler) Handle ¶
func (h CreateMTOShipmentHandler) Handle(params mtoshipmentops.CreateMTOShipmentParams) middleware.Responder
Handle creates the mto shipment
type CreateMovingExpenseHandler ¶
type CreateMovingExpenseHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
func (CreateMovingExpenseHandler) Handle ¶
func (h CreateMovingExpenseHandler) Handle(params movingexpenseops.CreateMovingExpenseParams) middleware.Responder
Handle creates a moving expense
type CreateOrdersHandler ¶
type CreateOrdersHandler struct {
handlers.HandlerConfig
}
CreateOrdersHandler creates new orders via POST /orders
func (CreateOrdersHandler) Handle ¶
func (h CreateOrdersHandler) Handle(params ordersop.CreateOrdersParams) middleware.Responder
Handle ... creates new Orders from a request payload
type CreatePPMUploadHandler ¶
type CreatePPMUploadHandler struct { handlers.HandlerConfig services.WeightTicketGenerator services.WeightTicketComputer *uploader.UserUploader }
func (CreatePPMUploadHandler) Handle ¶
func (h CreatePPMUploadHandler) Handle(params ppmop.CreatePPMUploadParams) middleware.Responder
type CreateProGearWeightTicketHandler ¶
type CreateProGearWeightTicketHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
CreateProGearWeightTicketHandler
func (CreateProGearWeightTicketHandler) Handle ¶
func (h CreateProGearWeightTicketHandler) Handle(params progearops.CreateProGearWeightTicketParams) middleware.Responder
Handle creating a progear weight ticket
type CreateServiceMemberHandler ¶
type CreateServiceMemberHandler struct {
handlers.HandlerConfig
}
CreateServiceMemberHandler creates a new service member via POST /serviceMember
func (CreateServiceMemberHandler) Handle ¶
func (h CreateServiceMemberHandler) Handle(params servicememberop.CreateServiceMemberParams) middleware.Responder
Handle ... creates a new ServiceMember from a request payload
type CreateSignedCertificationHandler ¶
type CreateSignedCertificationHandler struct {
handlers.HandlerConfig
}
CreateSignedCertificationHandler creates a new issue via POST /issue
func (CreateSignedCertificationHandler) Handle ¶
func (h CreateSignedCertificationHandler) Handle(params certop.CreateSignedCertificationParams) middleware.Responder
Handle creates a new SignedCertification from a request payload
type CreateUploadHandler ¶
type CreateUploadHandler struct {
handlers.HandlerConfig
}
CreateUploadHandler creates a new upload via POST /uploads?documentId={documentId}
func (CreateUploadHandler) Handle ¶
func (h CreateUploadHandler) Handle(params uploadop.CreateUploadParams) middleware.Responder
Handle creates a new UserUpload from a request payload
type CreateWeightTicketHandler ¶
type CreateWeightTicketHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
CreateWeightTicketHandler
func (CreateWeightTicketHandler) Handle ¶
func (h CreateWeightTicketHandler) Handle(params weightticketops.CreateWeightTicketParams) middleware.Responder
Handle creates a weight ticket Depending on the SO, may need to change the document params to weight ticket params
type DeleteMovingExpenseHandler ¶
type DeleteMovingExpenseHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
DeleteMovingExpenseHandler
func (DeleteMovingExpenseHandler) Handle ¶
func (h DeleteMovingExpenseHandler) Handle(params movingexpenseops.DeleteMovingExpenseParams) middleware.Responder
Handle deletes a moving expense
type DeleteProGearWeightTicketHandler ¶
type DeleteProGearWeightTicketHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
DeleteProGearWeightTicketHandler
func (DeleteProGearWeightTicketHandler) Handle ¶
func (h DeleteProGearWeightTicketHandler) Handle(params progearops.DeleteProGearWeightTicketParams) middleware.Responder
Handle deletes a pro-gear weight ticket
type DeleteShipmentHandler ¶
type DeleteShipmentHandler struct { handlers.HandlerConfig services.ShipmentDeleter }
DeleteShipmentHandler soft deletes a shipment
func (DeleteShipmentHandler) Handle ¶
func (h DeleteShipmentHandler) Handle(params mtoshipmentops.DeleteShipmentParams) middleware.Responder
Handle soft deletes a shipment
type DeleteUploadHandler ¶
type DeleteUploadHandler struct { handlers.HandlerConfig services.UploadInformationFetcher }
DeleteUploadHandler deletes an upload
func (DeleteUploadHandler) Handle ¶
func (h DeleteUploadHandler) Handle(params uploadop.DeleteUploadParams) middleware.Responder
Handle deletes an upload
type DeleteUploadsHandler ¶
type DeleteUploadsHandler struct {
handlers.HandlerConfig
}
DeleteUploadsHandler deletes a collection of uploads
func (DeleteUploadsHandler) Handle ¶
func (h DeleteUploadsHandler) Handle(params uploadop.DeleteUploadsParams) middleware.Responder
Handle deletes uploads
type DeleteWeightTicketHandler ¶
type DeleteWeightTicketHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
DeleteWeightTicketHandler
func (DeleteWeightTicketHandler) Handle ¶
func (h DeleteWeightTicketHandler) Handle(params weightticketops.DeleteWeightTicketParams) middleware.Responder
Handle deletes a weight ticket
type ErrorResponse ¶
type GetAllMovesHandler ¶
type GetAllMovesHandler struct {
handlers.HandlerConfig
}
func (GetAllMovesHandler) Handle ¶
func (h GetAllMovesHandler) Handle(params moveop.GetAllMovesParams) middleware.Responder
GetAllMovesHandler returns the current and all previous moves of a service member
type GetOktaProfileHandler ¶
type GetOktaProfileHandler struct {
handlers.HandlerConfig
}
GetOktaProfileHandler gets Okta Profile via GET /okta-profile
func (GetOktaProfileHandler) Handle ¶
func (h GetOktaProfileHandler) Handle(params oktaop.ShowOktaInfoParams) middleware.Responder
Handle performs a GET request from Okta API, returns values in profile object from response Could not use data from sessions since access token data does not change when profile is updated
type GetTransportationOfficesHandler ¶
type GetTransportationOfficesHandler struct { handlers.HandlerConfig services.TransportationOfficesFetcher }
func (GetTransportationOfficesHandler) Handle ¶
func (h GetTransportationOfficesHandler) Handle(params transportationofficeop.GetTransportationOfficesParams) middleware.Responder
type IndexBackupContactsHandler ¶
type IndexBackupContactsHandler struct {
handlers.HandlerConfig
}
IndexBackupContactsHandler returns a list of all backup contacts for a service member
func (IndexBackupContactsHandler) Handle ¶
func (h IndexBackupContactsHandler) Handle(params backupop.IndexServiceMemberBackupContactsParams) middleware.Responder
Handle retrieves a list of all moves in the system belonging to the logged in user
type IndexEntitlementsHandler ¶
type IndexEntitlementsHandler struct {
handlers.HandlerConfig
}
IndexEntitlementsHandler indexes entitlements
func (IndexEntitlementsHandler) Handle ¶
func (h IndexEntitlementsHandler) Handle(params entitlementop.IndexEntitlementsParams) middleware.Responder
Handle is the handler
type IndexSignedCertificationsHandler ¶
type IndexSignedCertificationsHandler struct {
handlers.HandlerConfig
}
IndexSignedCertificationsHandler gets all signed certifications associated with a move
func (IndexSignedCertificationsHandler) Handle ¶
func (h IndexSignedCertificationsHandler) Handle(params certop.IndexSignedCertificationParams) middleware.Responder
Handle gets a list of SignedCertifications for a move
type IsDateWeekendHolidayHandler ¶
type IsDateWeekendHolidayHandler struct { handlers.HandlerConfig services.DateSelectionChecker }
func (IsDateWeekendHolidayHandler) Handle ¶
func (h IsDateWeekendHolidayHandler) Handle(params calendarop.IsDateWeekendHolidayParams) middleware.Responder
type JSONDate ¶
JSONDate is a time type
func (*JSONDate) UnmarshalJSON ¶
UnmarshalJSON Dates without timestamps need custom unmarshalling
type ListMTOShipmentsHandler ¶
type ListMTOShipmentsHandler struct { handlers.HandlerConfig services.MTOShipmentFetcher }
ListMTOShipmentsHandler returns a list of MTO Shipments
func (ListMTOShipmentsHandler) Handle ¶
func (h ListMTOShipmentsHandler) Handle(params mtoshipmentops.ListMTOShipmentsParams) middleware.Responder
Handle listing mto shipments for the move task order
type MoveQueueItems ¶
type MoveQueueItems []models.MoveQueueItem
MoveQueueItems is a set of move queue items Implementation of a type and methods in order to use sort.Interface directly. This allows us to call sortQueueItemsByLastModifiedDate in the ShowQueueHandler which will sort the slice by the LastModfiedDate. Doing it this way allows us to avoid having reflect called which should act to speed the sort up.
func (MoveQueueItems) Len ¶
func (mqi MoveQueueItems) Len() int
func (MoveQueueItems) Less ¶
func (mqi MoveQueueItems) Less(i, j int) bool
func (MoveQueueItems) Swap ¶
func (mqi MoveQueueItems) Swap(i, j int)
type PatchMoveHandler ¶
type PatchMoveHandler struct { handlers.HandlerConfig services.MoveCloseoutOfficeUpdater }
PatchMoveHandler patches a move via PATCH /moves/{moveId}
func (PatchMoveHandler) Handle ¶
func (h PatchMoveHandler) Handle(params moveop.PatchMoveParams) middleware.Responder
Handle ... patches a Move from a request payload
type PatchServiceMemberHandler ¶
type PatchServiceMemberHandler struct {
handlers.HandlerConfig
}
PatchServiceMemberHandler patches a serviceMember via PATCH /serviceMembers/{serviceMemberId}
func (PatchServiceMemberHandler) Handle ¶
func (h PatchServiceMemberHandler) Handle(params servicememberop.PatchServiceMemberParams) middleware.Responder
Handle ... patches a new ServiceMember from a request payload
type QueueSitData ¶
type QueueSitData struct { ID uuid.UUID `json:"id"` Status string `json:"status"` ActualStartDate JSONDate `json:"actual_start_date"` OutDate JSONDate `json:"out_date"` Location string `json:"location"` }
QueueSitData is SIT data in a queue
type ResubmitPPMShipmentDocumentationHandler ¶
type ResubmitPPMShipmentDocumentationHandler struct { handlers.HandlerConfig services.PPMShipmentUpdatedSubmitter }
ResubmitPPMShipmentDocumentationHandler is the handler to resubmit PPM shipment documentation
func (ResubmitPPMShipmentDocumentationHandler) Handle ¶
func (h ResubmitPPMShipmentDocumentationHandler) Handle(params ppmops.ResubmitPPMShipmentDocumentationParams) middleware.Responder
Handle updates a customer's PPM shipment payment signature and re-routes the shipment to the service counselor.
type SearchDutyLocationsHandler ¶
type SearchDutyLocationsHandler struct {
handlers.HandlerConfig
}
SearchDutyLocationsHandler returns a list of all issues
func (SearchDutyLocationsHandler) Handle ¶
func (h SearchDutyLocationsHandler) Handle(params locationop.SearchDutyLocationsParams) middleware.Responder
Handle returns a list of locations based on the search query
type ShowAddressHandler ¶
type ShowAddressHandler struct {
handlers.HandlerConfig
}
ShowAddressHandler returns an address
func (ShowAddressHandler) Handle ¶
func (h ShowAddressHandler) Handle(params addressop.ShowAddressParams) middleware.Responder
Handle returns a address given an addressId
type ShowAvailableMoveDatesHandler ¶
type ShowAvailableMoveDatesHandler struct {
handlers.HandlerConfig
}
ShowAvailableMoveDatesHandler returns the available move dates starting at a given date.
func (ShowAvailableMoveDatesHandler) Handle ¶
func (h ShowAvailableMoveDatesHandler) Handle(params calendarop.ShowAvailableMoveDatesParams) middleware.Responder
Handle returns the available move dates.
type ShowBackupContactHandler ¶
type ShowBackupContactHandler struct {
handlers.HandlerConfig
}
ShowBackupContactHandler returns a backup contact for a user and backup contact ID
func (ShowBackupContactHandler) Handle ¶
func (h ShowBackupContactHandler) Handle(params backupop.ShowServiceMemberBackupContactParams) middleware.Responder
Handle retrieves a backup contact in the system belonging to the logged in user given backup contact ID
type ShowCounselingOfficesHandler ¶
type ShowCounselingOfficesHandler struct { handlers.HandlerConfig services.TransportationOfficesFetcher }
ShowCounselingOfficesHandler returns the counseling offices for a duty location ID
func (ShowCounselingOfficesHandler) Handle ¶
func (h ShowCounselingOfficesHandler) Handle(params transportationofficeop.ShowCounselingOfficesParams) middleware.Responder
Handle retrieves the counseling offices in the system for a given duty location ID
type ShowDocumentHandler ¶
type ShowDocumentHandler struct {
handlers.HandlerConfig
}
ShowDocumentHandler shows a document via GETT /documents/:document_id
func (ShowDocumentHandler) Handle ¶
func (h ShowDocumentHandler) Handle(params documentop.ShowDocumentParams) middleware.Responder
Handle creates a new Document from a request payload
type ShowDutyLocationTransportationOfficeHandler ¶
type ShowDutyLocationTransportationOfficeHandler struct {
handlers.HandlerConfig
}
ShowDutyLocationTransportationOfficeHandler returns the transportation office for a duty location ID
func (ShowDutyLocationTransportationOfficeHandler) Handle ¶
func (h ShowDutyLocationTransportationOfficeHandler) Handle(params transportationofficeop.ShowDutyLocationTransportationOfficeParams) middleware.Responder
Handle retrieves the transportation office in the system for a given duty location ID
type ShowLoggedInUserHandler ¶
type ShowLoggedInUserHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
ShowLoggedInUserHandler returns the logged in user
func (ShowLoggedInUserHandler) Handle ¶
func (h ShowLoggedInUserHandler) Handle(params userop.ShowLoggedInUserParams) middleware.Responder
Handle returns the logged in user
type ShowMoveHandler ¶
type ShowMoveHandler struct {
handlers.HandlerConfig
}
ShowMoveHandler returns a move for a user and move ID
func (ShowMoveHandler) Handle ¶
func (h ShowMoveHandler) Handle(params moveop.ShowMoveParams) middleware.Responder
Handle retrieves a move in the system belonging to the logged in user given move ID
type ShowOrdersHandler ¶
type ShowOrdersHandler struct {
handlers.HandlerConfig
}
ShowOrdersHandler returns orders for a user and order ID
func (ShowOrdersHandler) Handle ¶
func (h ShowOrdersHandler) Handle(params ordersop.ShowOrdersParams) middleware.Responder
Handle retrieves orders in the system belonging to the logged in user given order ID
type ShowPaymentPacketHandler ¶
type ShowPaymentPacketHandler struct { handlers.HandlerConfig services.PaymentPacketCreator }
ShowPaymentPacketHandler returns a PPM Payment Packet PDF
func (ShowPaymentPacketHandler) Handle ¶
func (h ShowPaymentPacketHandler) Handle(params ppmops.ShowPaymentPacketParams) middleware.Responder
Handle returns a generated PDF
type ShowQueueHandler ¶
type ShowQueueHandler struct {
handlers.HandlerConfig
}
ShowQueueHandler returns a list of all MoveQueueItems in the moves queue
func (ShowQueueHandler) Handle ¶
func (h ShowQueueHandler) Handle(params queueop.ShowQueueParams) middleware.Responder
Handle retrieves a list of all MoveQueueItems in the system in the moves queue
type ShowServiceMemberHandler ¶
type ShowServiceMemberHandler struct {
handlers.HandlerConfig
}
ShowServiceMemberHandler returns a serviceMember for a user and service member ID
func (ShowServiceMemberHandler) Handle ¶
func (h ShowServiceMemberHandler) Handle(params servicememberop.ShowServiceMemberParams) middleware.Responder
Handle retrieves a service member in the system belonging to the logged in user given service member ID
type ShowServiceMemberOrdersHandler ¶
type ShowServiceMemberOrdersHandler struct {
handlers.HandlerConfig
}
ShowServiceMemberOrdersHandler returns latest orders for a logged in serviceMember
func (ShowServiceMemberOrdersHandler) Handle ¶
func (h ShowServiceMemberOrdersHandler) Handle(params servicememberop.ShowServiceMemberOrdersParams) middleware.Responder
Handle retrieves orders for a logged in service member
type SubmitAmendedOrdersHandler ¶
type SubmitAmendedOrdersHandler struct { handlers.HandlerConfig services.MoveRouter }
SubmitAmendedOrdersHandler approves a move via POST /moves/{moveId}/submit
func (SubmitAmendedOrdersHandler) Handle ¶
func (h SubmitAmendedOrdersHandler) Handle(params moveop.SubmitAmendedOrdersParams) middleware.Responder
Handle ... submit a move to TOO for approval
type SubmitMoveHandler ¶
type SubmitMoveHandler struct { handlers.HandlerConfig services.MoveRouter }
SubmitMoveHandler approves a move via POST /moves/{moveId}/submit
func (SubmitMoveHandler) Handle ¶
func (h SubmitMoveHandler) Handle(params moveop.SubmitMoveForApprovalParams) middleware.Responder
Handle ... submit a move to TOO for approval
type SubmitPPMShipmentDocumentationHandler ¶
type SubmitPPMShipmentDocumentationHandler struct { handlers.HandlerConfig services.PPMShipmentNewSubmitter }
SubmitPPMShipmentDocumentationHandler is the handler to save a PPMShipment signature and route the PPM shipment to the office
func (SubmitPPMShipmentDocumentationHandler) Handle ¶
func (h SubmitPPMShipmentDocumentationHandler) Handle(params ppmops.SubmitPPMShipmentDocumentationParams) middleware.Responder
Handle saves a new customer signature for PPMShipment documentation submission and routes PPM shipment to the service counselor.
type UpdateBackupContactHandler ¶
type UpdateBackupContactHandler struct {
handlers.HandlerConfig
}
UpdateBackupContactHandler updates a backup contact with a new one
func (UpdateBackupContactHandler) Handle ¶
func (h UpdateBackupContactHandler) Handle(params backupop.UpdateServiceMemberBackupContactParams) middleware.Responder
Handle ... updates a BackupContact from a request payload
type UpdateMTOShipmentHandler ¶
type UpdateMTOShipmentHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateMTOShipmentHandler is the handler to update MTO shipments
func (UpdateMTOShipmentHandler) Handle ¶
func (h UpdateMTOShipmentHandler) Handle(params mtoshipmentops.UpdateMTOShipmentParams) middleware.Responder
Handle updates the mto shipment
type UpdateMovingExpenseHandler ¶
type UpdateMovingExpenseHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateMovingExpenseHandler struct
func (UpdateMovingExpenseHandler) Handle ¶
func (h UpdateMovingExpenseHandler) Handle(params movingexpenseops.UpdateMovingExpenseParams) middleware.Responder
type UpdateOktaProfileHandler ¶
type UpdateOktaProfileHandler struct {
handlers.HandlerConfig
}
GetOktaProfileHandler gets Okta Profile via GET /okta-profile
func (UpdateOktaProfileHandler) Handle ¶
func (h UpdateOktaProfileHandler) Handle(params oktaop.UpdateOktaInfoParams) middleware.Responder
Handle implements okta_profile.UpdateOktaInfoHandler following the API call docs here: https://developer.okta.com/docs/reference/api/oidc/#client-authentication-methods
type UpdateOrdersHandler ¶
type UpdateOrdersHandler struct {
handlers.HandlerConfig
}
UpdateOrdersHandler updates an order via PUT /orders/{orderId}
func (UpdateOrdersHandler) Handle ¶
func (h UpdateOrdersHandler) Handle(params ordersop.UpdateOrdersParams) middleware.Responder
Handle ... updates an order from a request payload
type UpdateProGearWeightTicketHandler ¶
type UpdateProGearWeightTicketHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateProGearWeightTicketHandler
func (UpdateProGearWeightTicketHandler) Handle ¶
func (h UpdateProGearWeightTicketHandler) Handle(params progearops.UpdateProGearWeightTicketParams) middleware.Responder
type UpdateWeightTicketHandler ¶
type UpdateWeightTicketHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
UpdateWeightTicketHandler
func (UpdateWeightTicketHandler) Handle ¶
func (h UpdateWeightTicketHandler) Handle(params weightticketops.UpdateWeightTicketParams) middleware.Responder
type UploadAdditionalDocumentsHandler ¶
type UploadAdditionalDocumentsHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
func (UploadAdditionalDocumentsHandler) Handle ¶
func (h UploadAdditionalDocumentsHandler) Handle(params moveop.UploadAdditionalDocumentsParams) middleware.Responder
type UploadAmendedOrdersHandler ¶
type UploadAmendedOrdersHandler struct { handlers.HandlerConfig services.OrderUpdater }
UploadAmendedOrdersHandler uploads amended orders to an order via PATCH /orders/{orderId}/upload_amended_orders
func (UploadAmendedOrdersHandler) Handle ¶
func (h UploadAmendedOrdersHandler) Handle(params ordersop.UploadAmendedOrdersParams) middleware.Responder
Handle updates an order to attach amended orders from a request payload
type ValidatePostalCodeWithRateDataHandler ¶
type ValidatePostalCodeWithRateDataHandler struct { handlers.HandlerConfig // contains filtered or unexported fields }
ValidatePostalCodeWithRateDataHandler has the service validator
func (ValidatePostalCodeWithRateDataHandler) Handle ¶
func (h ValidatePostalCodeWithRateDataHandler) Handle(params postalcodesops.ValidatePostalCodeWithRateDataParams) middleware.Responder
Handle should call the service validator and rescue expected errors and return false to valid
type VariantFeatureFlagsForUserHandler ¶
type VariantFeatureFlagsForUserHandler struct {
handlers.HandlerConfig
}
VariantFeatureFlagsForUserHandler handles evaluating variant feature flags for users
func (VariantFeatureFlagsForUserHandler) Handle ¶
func (h VariantFeatureFlagsForUserHandler) Handle(params ffop.VariantFeatureFlagForUserParams) middleware.Responder
Handle returns the boolean feature flag
Source Files ¶
- addresses.go
- api.go
- application_parameters.go
- backup_contacts.go
- calendar.go
- documents.go
- duty_locations.go
- entitlements.go
- feature_flag.go
- move_queue_items.go
- moves.go
- moving_expense.go
- mto_shipment.go
- office.go
- okta_profile.go
- orders.go
- postal_codes.go
- ppm_shipment.go
- progear_weight_ticket.go
- reimbursements.go
- service_members.go
- signed_certifications.go
- transportation_offices.go
- uploads.go
- users.go
- weight_allotment.go
- weight_ticket.go