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:
William Bouchard
2025-08-14 10:15:51 -04:00
committed by GitHub
co-authored by william bouchard
parent aa27240b7f
commit 34c3c14e0a
29 changed files with 1240 additions and 105 deletions
+41 -1
View File
@@ -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",
}
}