setup-holiday-warehouse-admin #105

Merged
Ghost merged 4 commits from setup-holiday-warehouse-admin into develop 2022-12-12 07:08:37 +00:00
2 changed files with 38 additions and 29 deletions

View File

@ -27,6 +27,8 @@ type ResponseNatsCampaignTransaction struct {
ApprovedAt string `json:"approvedAt,omitempty"` ApprovedAt string `json:"approvedAt,omitempty"`
RejectedAt string `json:"rejectedAt,omitempty"` RejectedAt string `json:"rejectedAt,omitempty"`
CompletedAt string `json:"completedAt,omitempty"` CompletedAt string `json:"completedAt,omitempty"`
RejectReason string `json:"rejectReason,omitempty"`
AdminConfirmData *ResponseCampaignTransactionAdminConfirmData `json:"adminConfirmData,omitempty"`
} }
// ResponseCampaignShortInfo ... // ResponseCampaignShortInfo ...
@ -50,3 +52,8 @@ type ResponseCampaignTransactionOptions struct {
Milestone int64 `json:"milestone"` Milestone int64 `json:"milestone"`
MilestoneTitle string `json:"milestoneTitle"` MilestoneTitle string `json:"milestoneTitle"`
} }
// ResponseCampaignTransactionAdminConfirmData ...
type ResponseCampaignTransactionAdminConfirmData struct {
FriendPublicTotal int64 `json:"friendPublicTotal"`
}

View File

@ -142,6 +142,8 @@ type WarehouseNatsResponse struct {
Configurations WarehouseConfiguration `json:"configurations"` Configurations WarehouseConfiguration `json:"configurations"`
CreatedAt time.Time `json:"createdAt"` CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"` UpdatedAt time.Time `json:"updatedAt"`
IsPendingActive bool `json:"isPendingActive"`
ReasonPendingInactive string `json:"reasonPendingInactive"`
} }
// WarehouseInfo ... // WarehouseInfo ...