chore(types, api): support shipping option type api endpoints (#13191)
* chore(types, api): support shipping option type api endpoints * core flows * api * typos * compiler errors * integration tests * remove metadata * changeset * modify test * upsert * change remote query * minor to patch * description optional * description optional * woops my bad * my bad again --------- Co-authored-by: william bouchard <williambouchard@williams-MacBook-Pro.local>
This commit is contained in:
co-authored by
william bouchard
parent
aa27240b7f
commit
34c3c14e0a
@@ -815,6 +815,46 @@ export const FulfillmentWorkflowEvents = {
|
||||
DELIVERY_CREATED: "delivery.created",
|
||||
}
|
||||
|
||||
/**
|
||||
* @category Shipping Option Type
|
||||
* @customNamespace Fulfillment
|
||||
*/
|
||||
export const ShippingOptionTypeWorkflowEvents = {
|
||||
/**
|
||||
* Emitted when shipping option types are updated.
|
||||
*
|
||||
* @eventPayload
|
||||
* ```ts
|
||||
* [{
|
||||
* id, // The ID of the shipping option type
|
||||
* }]
|
||||
* ```
|
||||
*/
|
||||
UPDATED: "shipping-option-type.updated",
|
||||
/**
|
||||
* Emitted when shipping option types are created.
|
||||
*
|
||||
* @eventPayload
|
||||
* ```ts
|
||||
* [{
|
||||
* id, // The ID of the shipping option type
|
||||
* }]
|
||||
* ```
|
||||
*/
|
||||
CREATED: "shipping-option-type.created",
|
||||
/**
|
||||
* Emitted when shipping option types are deleted.
|
||||
*
|
||||
* @eventPayload
|
||||
* ```ts
|
||||
* [{
|
||||
* id, // The ID of the shipping option type
|
||||
* }]
|
||||
* ```
|
||||
*/
|
||||
DELETED: "shipping-option-type.deleted",
|
||||
}
|
||||
|
||||
/**
|
||||
* @category Payment
|
||||
* @customNamespace Payment
|
||||
@@ -842,4 +882,4 @@ export const PaymentEvents = {
|
||||
* ```
|
||||
*/
|
||||
REFUNDED: "payment.refunded",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user