add function to apply mutations over grpc
This commit is contained in:
@@ -171,3 +171,32 @@ message AddGiftcard {
|
||||
message RemoveGiftcard {
|
||||
uint32 id = 1;
|
||||
}
|
||||
|
||||
message Mutation {
|
||||
oneof type {
|
||||
ClearCartRequest clear_cart = 1;
|
||||
AddItem add_item = 2;
|
||||
RemoveItem remove_item = 3;
|
||||
ChangeQuantity change_quantity = 4;
|
||||
SetDelivery set_delivery = 5;
|
||||
SetPickupPoint set_pickup_point = 6;
|
||||
RemoveDelivery remove_delivery = 7;
|
||||
SetUserId set_user_id = 8;
|
||||
LineItemMarking line_item_marking = 9;
|
||||
RemoveLineItemMarking remove_line_item_marking = 10;
|
||||
SubscriptionAdded subscription_added = 11;
|
||||
PaymentDeclined payment_declined = 12;
|
||||
ConfirmationViewed confirmation_viewed = 13;
|
||||
CreateCheckoutOrder create_checkout_order = 14;
|
||||
OrderCreated order_created = 15;
|
||||
Noop noop = 16;
|
||||
InitializeCheckout initialize_checkout = 17;
|
||||
InventoryReserved inventory_reserved = 18;
|
||||
AddVoucher add_voucher = 19;
|
||||
RemoveVoucher remove_voucher = 20;
|
||||
UpsertSubscriptionDetails upsert_subscription_details = 21;
|
||||
PreConditionFailed pre_condition_failed = 22;
|
||||
AddGiftcard add_giftcard = 23;
|
||||
RemoveGiftcard remove_giftcard = 24;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user