@retaila/shared-types 1.1.113 → 1.1.114

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -974,6 +974,8 @@ interface FulfillmentProviderAdapter {
974
974
  getRecollectionCapabilities(): Promise<FulfillmentRecollectionCapabilities>;
975
975
  createFulfillment(input: FulfillmentProviderCreateInput): Promise<FulfillmentProviderCreateOutput>;
976
976
  processWebhook(input: FulfillmentProviderProcessWebhookInput): Promise<FulfillmentProviderProcessWebhookOutput | null>;
977
+ /** Optional: cancel the fulfillment with the provider (e.g. cancel shipping label). */
978
+ cancelFulfillment?(fulfillment: Fulfillment): Promise<void>;
977
979
  }
978
980
 
979
981
  /**
package/dist/index.d.ts CHANGED
@@ -974,6 +974,8 @@ interface FulfillmentProviderAdapter {
974
974
  getRecollectionCapabilities(): Promise<FulfillmentRecollectionCapabilities>;
975
975
  createFulfillment(input: FulfillmentProviderCreateInput): Promise<FulfillmentProviderCreateOutput>;
976
976
  processWebhook(input: FulfillmentProviderProcessWebhookInput): Promise<FulfillmentProviderProcessWebhookOutput | null>;
977
+ /** Optional: cancel the fulfillment with the provider (e.g. cancel shipping label). */
978
+ cancelFulfillment?(fulfillment: Fulfillment): Promise<void>;
977
979
  }
978
980
 
979
981
  /**