@vivoa/plugin-sdk 0.6.11 → 0.7.0

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.
@@ -497,6 +497,8 @@ interface GatewayFeeConfig {
497
497
  */
498
498
  source: 'reported' | 'contract';
499
499
  }
500
+ /** Card networks a gateway can declare it accepts (see `GatewayStaticConfig.cardBrands`). */
501
+ type CardBrand = 'visa' | 'mastercard' | 'amex' | 'discover' | 'diners' | 'jcb';
500
502
  interface GatewayStaticConfig {
501
503
  code: PaymentGatewayCode;
502
504
  displayName: string;
@@ -519,6 +521,12 @@ interface GatewayStaticConfig {
519
521
  * not restrict by currency.
520
522
  */
521
523
  supportedCurrencies?: string[];
524
+ /**
525
+ * OPTIONAL card networks the gateway accepts. The storefront shows their
526
+ * logos next to the gateway ("Visa · Mastercard") so a shopper knows before
527
+ * checkout. Absent ⇒ the host shows a generic card, never a guessed brand.
528
+ */
529
+ cardBrands?: CardBrand[];
522
530
  }
523
531
  /**
524
532
  * Cardless payload for creating a gateway-hosted payment session (INV-1).
@@ -861,7 +869,11 @@ interface ShipmentResult {
861
869
  */
862
870
  interface TrackingEvent {
863
871
  trackingNumber: string;
864
- status: 'in_transit' | 'delivered' | 'cancelled' | 'unknown';
872
+ status: 'in_transit' | 'delivered' | 'cancelled'
873
+ /** A delivery attempt failed; the package is still with the carrier. */
874
+ | 'delivery_failed'
875
+ /** The package is coming back to (or reached) the sender. */
876
+ | 'returned' | 'unknown';
865
877
  /** ISO-8601 instant the carrier reported the change, when available. */
866
878
  occurredAt?: string;
867
879
  /** Human-readable carrier status, for audit/logging. */
@@ -918,6 +930,12 @@ interface SuppliersPluginConfig {
918
930
  supportedCapabilities: SuppliersFeature[];
919
931
  configSchema: PluginConfigField[];
920
932
  defaultConfig?: SuppliersDefaultConfig;
933
+ /**
934
+ * Page, on the supplier's own site, where the merchant chooses which
935
+ * products make up their catalog. The host links to it from the sourcing
936
+ * screen when the catalog the driver serves is curated outside Vivoa.
937
+ */
938
+ catalogUrl?: string;
921
939
  }
922
940
  interface SuppliersStaticConfig {
923
941
  code: string;
@@ -929,6 +947,8 @@ interface SuppliersStaticConfig {
929
947
  supportedCountries: string[];
930
948
  supportedCapabilities: SuppliersFeature[];
931
949
  configSchema: PluginConfigField[];
950
+ /** See SuppliersPluginConfig.catalogUrl. */
951
+ catalogUrl?: string;
932
952
  }
933
953
  interface SupplierCatalogQuery {
934
954
  text?: string;
@@ -1780,4 +1800,4 @@ interface HostApi {
1780
1800
  registerCapability<T = unknown>(cap: Capability<T>): void;
1781
1801
  }
1782
1802
 
1783
- export { GatewayEnvironment as $, AUTHOR_HANDLE_RE as A, type BannerBlock$1 as B, ConfigScope as C, type CodConfig as D, type CodFeeConfig as E, FieldType as F, CodFeeType as G, type CodPurchaseTrigger as H, type ConditionalBlock as I, type ConditionalEquals as J, type ConditionalWhen as K, type ConfigurablePlugin as L, ContentActionVariant as M, type ContentBlock as N, ContentBlockType as O, type PluginConfigField as P, type CopyFieldBlock$1 as Q, type CreateShipmentParams as R, type SelectOption as S, type DispatchContext as T, type DividerBlock$1 as U, type DomainEventHandler as V, type DomainEventName as W, type EmbedInit as X, type FieldBlock as Y, type FieldOption as Z, FieldVariant as _, type AccordionBlock as a, type SetupLayout as a$, type GatewayFeeConfig as a0, type GatewayStaticConfig as a1, type GroupBlock as a2, type HostApi as a3, type HttpClient as a4, type HttpRequest as a5, type HttpResponse as a6, type IAnalyticsPlugin as a7, type IInvoicingPlugin as a8, type IPaymentPlugin as a9, type PaymentConnectParams as aA, type PaymentCustomer as aB, type PaymentGatewayCode as aC, type PaymentMerchantPricing as aD, type PaymentPayload as aE, type PaymentPluginConfig as aF, type PaymentRenderMode as aG, type PaymentResult as aH, type PaymentSessionFees as aI, type PaymentSessionPayload as aJ, type PaymentSessionResult as aK, type PaymentSettlementFees as aL, type PaymentVerifyPayload as aM, type PaymentWebhookSettlement as aN, type PlaceSupplierOrderInput as aO, type Plugin as aP, type PluginActionContext as aQ, type PluginActionResult as aR, type PluginAuthor as aS, type PluginConfigFieldDependency as aT, type PluginFactory as aU, type PluginManifest as aV, type RepeaterBlock as aW, RepeaterSource as aX, type SecretStore as aY, type SequenceStore as aZ, type SetupAction as a_, type IPlugin as aa, type IShippingPlugin as ab, type ISuppliersPlugin as ac, type IUiPlugin as ad, type InlineRowBlock as ae, InvoiceDocumentType as af, type InvoiceLine as ag, type InvoiceMoney as ah, type InvoiceParty as ai, type InvoiceRequest as aj, type InvoiceResult as ak, InvoiceStatus as al, type InvoiceTax as am, type InvoicingDefaultConfig as an, InvoicingFeature as ao, type InvoicingPluginConfig as ap, type InvoicingStaticConfig as aq, type KeyValueBlock$1 as ar, type KeyValueRow$1 as as, LayoutMode as at, type Logger as au, type MarkdownBlock as av, MessageVariant as aw, type PaymentCard as ax, type PaymentConnect as ay, type PaymentConnectExchange as az, type AccordionSection as b, type SetupLayoutValidation as b0, type SetupStep as b1, type ShipmentAddress as b2, type ShipmentParcel as b3, type ShipmentResult as b4, type ShippingDefaultConfig as b5, ShippingFeature as b6, type ShippingPluginConfig as b7, type ShippingQuote as b8, type ShippingQuoteParams as b9, type TabItem as bA, type TabsBlock as bB, type ToggleBlock as bC, type TrackingEvent as bD, TransactionStatus as bE, type UiContribution as bF, type UiContributionsValidation as bG, type VoidInvoiceInput as bH, type WebhookSignatureResult as bI, analyticsCapability as bJ, capability as bK, crossValidateSetupLayout as bL, definePlugin as bM, invoicingCapability as bN, isConfigurablePlugin as bO, isPluginFactory as bP, minorUnitDigits as bQ, paymentCapability as bR, shippingCapability as bS, suppliersCapability as bT, toMajorUnits as bU, toMinorUnits as bV, uiCapability as bW, validatePluginAuthor as bX, validateSetupLayout as bY, validateUiContributions as bZ, type ShippingStaticConfig as ba, StepStatusFrom as bb, type StepStatusFromAction as bc, type StepStatusFromFields as bd, type StepStatusSource as be, type StorageBroker as bf, type SupplierCatalogQuery as bg, type SupplierFulfillmentEvent as bh, type SupplierListing as bi, type SupplierListingAttribute as bj, type SupplierListingPage as bk, type SupplierListingVariant as bl, type SupplierMoney as bm, type SupplierOrderAddressLevel as bn, type SupplierOrderCustomer as bo, type SupplierOrderLine as bp, type SupplierOrderResult as bq, type SupplierOrderStatus as br, type SupplierShipTo as bs, type SupplierShippingQuote as bt, type SupplierShippingQuoteInput as bu, type SupplierStock as bv, type SuppliersDefaultConfig as bw, SuppliersFeature as bx, type SuppliersPluginConfig as by, type SuppliersStaticConfig as bz, type ActionBlock$1 as c, ActionVariant as d, type AnalyticsActionSource as e, type AnalyticsConsent as f, type AnalyticsEvent as g, type AnalyticsEventName as h, AnalyticsFeature as i, type AnalyticsItem as j, type AnalyticsMoney as k, type AnalyticsPluginConfig as l, type AnalyticsPurchasePolicy as m, type AnalyticsStaticConfig as n, type AnalyticsUserData as o, type AnalyticsUtm as p, type AuthorValidation as q, type Block as r, type BlockBase as s, BlockType as t, type CalloutBlock as u, type Capability as v, CapabilityKind as w, type CardBlock$1 as x, type CarrierServiceMode as y, type CarrierSettlement as z };
1803
+ export { FieldVariant as $, AUTHOR_HANDLE_RE as A, type BannerBlock$1 as B, ConfigScope as C, type CarrierSettlement as D, type CodConfig as E, FieldType as F, type CodFeeConfig as G, CodFeeType as H, type CodPurchaseTrigger as I, type ConditionalBlock as J, type ConditionalEquals as K, type ConditionalWhen as L, type ConfigurablePlugin as M, ContentActionVariant as N, type ContentBlock as O, type PluginConfigField as P, ContentBlockType as Q, type CopyFieldBlock$1 as R, type SelectOption as S, type CreateShipmentParams as T, type DispatchContext as U, type DividerBlock$1 as V, type DomainEventHandler as W, type DomainEventName as X, type EmbedInit as Y, type FieldBlock as Z, type FieldOption as _, type AccordionBlock as a, type SetupAction as a$, GatewayEnvironment as a0, type GatewayFeeConfig as a1, type GatewayStaticConfig as a2, type GroupBlock as a3, type HostApi as a4, type HttpClient as a5, type HttpRequest as a6, type HttpResponse as a7, type IAnalyticsPlugin as a8, type IInvoicingPlugin as a9, type PaymentConnectExchange as aA, type PaymentConnectParams as aB, type PaymentCustomer as aC, type PaymentGatewayCode as aD, type PaymentMerchantPricing as aE, type PaymentPayload as aF, type PaymentPluginConfig as aG, type PaymentRenderMode as aH, type PaymentResult as aI, type PaymentSessionFees as aJ, type PaymentSessionPayload as aK, type PaymentSessionResult as aL, type PaymentSettlementFees as aM, type PaymentVerifyPayload as aN, type PaymentWebhookSettlement as aO, type PlaceSupplierOrderInput as aP, type Plugin as aQ, type PluginActionContext as aR, type PluginActionResult as aS, type PluginAuthor as aT, type PluginConfigFieldDependency as aU, type PluginFactory as aV, type PluginManifest as aW, type RepeaterBlock as aX, RepeaterSource as aY, type SecretStore as aZ, type SequenceStore as a_, type IPaymentPlugin as aa, type IPlugin as ab, type IShippingPlugin as ac, type ISuppliersPlugin as ad, type IUiPlugin as ae, type InlineRowBlock as af, InvoiceDocumentType as ag, type InvoiceLine as ah, type InvoiceMoney as ai, type InvoiceParty as aj, type InvoiceRequest as ak, type InvoiceResult as al, InvoiceStatus as am, type InvoiceTax as an, type InvoicingDefaultConfig as ao, InvoicingFeature as ap, type InvoicingPluginConfig as aq, type InvoicingStaticConfig as ar, type KeyValueBlock$1 as as, type KeyValueRow$1 as at, LayoutMode as au, type Logger as av, type MarkdownBlock as aw, MessageVariant as ax, type PaymentCard as ay, type PaymentConnect as az, type AccordionSection as b, type SetupLayout as b0, type SetupLayoutValidation as b1, type SetupStep as b2, type ShipmentAddress as b3, type ShipmentParcel as b4, type ShipmentResult as b5, type ShippingDefaultConfig as b6, ShippingFeature as b7, type ShippingPluginConfig as b8, type ShippingQuote as b9, type SuppliersStaticConfig as bA, type TabItem as bB, type TabsBlock as bC, type ToggleBlock as bD, type TrackingEvent as bE, TransactionStatus as bF, type UiContribution as bG, type UiContributionsValidation as bH, type VoidInvoiceInput as bI, type WebhookSignatureResult as bJ, analyticsCapability as bK, capability as bL, crossValidateSetupLayout as bM, definePlugin as bN, invoicingCapability as bO, isConfigurablePlugin as bP, isPluginFactory as bQ, minorUnitDigits as bR, paymentCapability as bS, shippingCapability as bT, suppliersCapability as bU, toMajorUnits as bV, toMinorUnits as bW, uiCapability as bX, validatePluginAuthor as bY, validateSetupLayout as bZ, validateUiContributions as b_, type ShippingQuoteParams as ba, type ShippingStaticConfig as bb, StepStatusFrom as bc, type StepStatusFromAction as bd, type StepStatusFromFields as be, type StepStatusSource as bf, type StorageBroker as bg, type SupplierCatalogQuery as bh, type SupplierFulfillmentEvent as bi, type SupplierListing as bj, type SupplierListingAttribute as bk, type SupplierListingPage as bl, type SupplierListingVariant as bm, type SupplierMoney as bn, type SupplierOrderAddressLevel as bo, type SupplierOrderCustomer as bp, type SupplierOrderLine as bq, type SupplierOrderResult as br, type SupplierOrderStatus as bs, type SupplierShipTo as bt, type SupplierShippingQuote as bu, type SupplierShippingQuoteInput as bv, type SupplierStock as bw, type SuppliersDefaultConfig as bx, SuppliersFeature as by, type SuppliersPluginConfig as bz, type ActionBlock$1 as c, ActionVariant as d, type AnalyticsActionSource as e, type AnalyticsConsent as f, type AnalyticsEvent as g, type AnalyticsEventName as h, AnalyticsFeature as i, type AnalyticsItem as j, type AnalyticsMoney as k, type AnalyticsPluginConfig as l, type AnalyticsPurchasePolicy as m, type AnalyticsStaticConfig as n, type AnalyticsUserData as o, type AnalyticsUtm as p, type AuthorValidation as q, type Block as r, type BlockBase as s, BlockType as t, type CalloutBlock as u, type Capability as v, CapabilityKind as w, type CardBlock$1 as x, type CardBrand as y, type CarrierServiceMode as z };
@@ -497,6 +497,8 @@ interface GatewayFeeConfig {
497
497
  */
498
498
  source: 'reported' | 'contract';
499
499
  }
500
+ /** Card networks a gateway can declare it accepts (see `GatewayStaticConfig.cardBrands`). */
501
+ type CardBrand = 'visa' | 'mastercard' | 'amex' | 'discover' | 'diners' | 'jcb';
500
502
  interface GatewayStaticConfig {
501
503
  code: PaymentGatewayCode;
502
504
  displayName: string;
@@ -519,6 +521,12 @@ interface GatewayStaticConfig {
519
521
  * not restrict by currency.
520
522
  */
521
523
  supportedCurrencies?: string[];
524
+ /**
525
+ * OPTIONAL card networks the gateway accepts. The storefront shows their
526
+ * logos next to the gateway ("Visa · Mastercard") so a shopper knows before
527
+ * checkout. Absent ⇒ the host shows a generic card, never a guessed brand.
528
+ */
529
+ cardBrands?: CardBrand[];
522
530
  }
523
531
  /**
524
532
  * Cardless payload for creating a gateway-hosted payment session (INV-1).
@@ -861,7 +869,11 @@ interface ShipmentResult {
861
869
  */
862
870
  interface TrackingEvent {
863
871
  trackingNumber: string;
864
- status: 'in_transit' | 'delivered' | 'cancelled' | 'unknown';
872
+ status: 'in_transit' | 'delivered' | 'cancelled'
873
+ /** A delivery attempt failed; the package is still with the carrier. */
874
+ | 'delivery_failed'
875
+ /** The package is coming back to (or reached) the sender. */
876
+ | 'returned' | 'unknown';
865
877
  /** ISO-8601 instant the carrier reported the change, when available. */
866
878
  occurredAt?: string;
867
879
  /** Human-readable carrier status, for audit/logging. */
@@ -918,6 +930,12 @@ interface SuppliersPluginConfig {
918
930
  supportedCapabilities: SuppliersFeature[];
919
931
  configSchema: PluginConfigField[];
920
932
  defaultConfig?: SuppliersDefaultConfig;
933
+ /**
934
+ * Page, on the supplier's own site, where the merchant chooses which
935
+ * products make up their catalog. The host links to it from the sourcing
936
+ * screen when the catalog the driver serves is curated outside Vivoa.
937
+ */
938
+ catalogUrl?: string;
921
939
  }
922
940
  interface SuppliersStaticConfig {
923
941
  code: string;
@@ -929,6 +947,8 @@ interface SuppliersStaticConfig {
929
947
  supportedCountries: string[];
930
948
  supportedCapabilities: SuppliersFeature[];
931
949
  configSchema: PluginConfigField[];
950
+ /** See SuppliersPluginConfig.catalogUrl. */
951
+ catalogUrl?: string;
932
952
  }
933
953
  interface SupplierCatalogQuery {
934
954
  text?: string;
@@ -1780,4 +1800,4 @@ interface HostApi {
1780
1800
  registerCapability<T = unknown>(cap: Capability<T>): void;
1781
1801
  }
1782
1802
 
1783
- export { GatewayEnvironment as $, AUTHOR_HANDLE_RE as A, type BannerBlock$1 as B, ConfigScope as C, type CodConfig as D, type CodFeeConfig as E, FieldType as F, CodFeeType as G, type CodPurchaseTrigger as H, type ConditionalBlock as I, type ConditionalEquals as J, type ConditionalWhen as K, type ConfigurablePlugin as L, ContentActionVariant as M, type ContentBlock as N, ContentBlockType as O, type PluginConfigField as P, type CopyFieldBlock$1 as Q, type CreateShipmentParams as R, type SelectOption as S, type DispatchContext as T, type DividerBlock$1 as U, type DomainEventHandler as V, type DomainEventName as W, type EmbedInit as X, type FieldBlock as Y, type FieldOption as Z, FieldVariant as _, type AccordionBlock as a, type SetupLayout as a$, type GatewayFeeConfig as a0, type GatewayStaticConfig as a1, type GroupBlock as a2, type HostApi as a3, type HttpClient as a4, type HttpRequest as a5, type HttpResponse as a6, type IAnalyticsPlugin as a7, type IInvoicingPlugin as a8, type IPaymentPlugin as a9, type PaymentConnectParams as aA, type PaymentCustomer as aB, type PaymentGatewayCode as aC, type PaymentMerchantPricing as aD, type PaymentPayload as aE, type PaymentPluginConfig as aF, type PaymentRenderMode as aG, type PaymentResult as aH, type PaymentSessionFees as aI, type PaymentSessionPayload as aJ, type PaymentSessionResult as aK, type PaymentSettlementFees as aL, type PaymentVerifyPayload as aM, type PaymentWebhookSettlement as aN, type PlaceSupplierOrderInput as aO, type Plugin as aP, type PluginActionContext as aQ, type PluginActionResult as aR, type PluginAuthor as aS, type PluginConfigFieldDependency as aT, type PluginFactory as aU, type PluginManifest as aV, type RepeaterBlock as aW, RepeaterSource as aX, type SecretStore as aY, type SequenceStore as aZ, type SetupAction as a_, type IPlugin as aa, type IShippingPlugin as ab, type ISuppliersPlugin as ac, type IUiPlugin as ad, type InlineRowBlock as ae, InvoiceDocumentType as af, type InvoiceLine as ag, type InvoiceMoney as ah, type InvoiceParty as ai, type InvoiceRequest as aj, type InvoiceResult as ak, InvoiceStatus as al, type InvoiceTax as am, type InvoicingDefaultConfig as an, InvoicingFeature as ao, type InvoicingPluginConfig as ap, type InvoicingStaticConfig as aq, type KeyValueBlock$1 as ar, type KeyValueRow$1 as as, LayoutMode as at, type Logger as au, type MarkdownBlock as av, MessageVariant as aw, type PaymentCard as ax, type PaymentConnect as ay, type PaymentConnectExchange as az, type AccordionSection as b, type SetupLayoutValidation as b0, type SetupStep as b1, type ShipmentAddress as b2, type ShipmentParcel as b3, type ShipmentResult as b4, type ShippingDefaultConfig as b5, ShippingFeature as b6, type ShippingPluginConfig as b7, type ShippingQuote as b8, type ShippingQuoteParams as b9, type TabItem as bA, type TabsBlock as bB, type ToggleBlock as bC, type TrackingEvent as bD, TransactionStatus as bE, type UiContribution as bF, type UiContributionsValidation as bG, type VoidInvoiceInput as bH, type WebhookSignatureResult as bI, analyticsCapability as bJ, capability as bK, crossValidateSetupLayout as bL, definePlugin as bM, invoicingCapability as bN, isConfigurablePlugin as bO, isPluginFactory as bP, minorUnitDigits as bQ, paymentCapability as bR, shippingCapability as bS, suppliersCapability as bT, toMajorUnits as bU, toMinorUnits as bV, uiCapability as bW, validatePluginAuthor as bX, validateSetupLayout as bY, validateUiContributions as bZ, type ShippingStaticConfig as ba, StepStatusFrom as bb, type StepStatusFromAction as bc, type StepStatusFromFields as bd, type StepStatusSource as be, type StorageBroker as bf, type SupplierCatalogQuery as bg, type SupplierFulfillmentEvent as bh, type SupplierListing as bi, type SupplierListingAttribute as bj, type SupplierListingPage as bk, type SupplierListingVariant as bl, type SupplierMoney as bm, type SupplierOrderAddressLevel as bn, type SupplierOrderCustomer as bo, type SupplierOrderLine as bp, type SupplierOrderResult as bq, type SupplierOrderStatus as br, type SupplierShipTo as bs, type SupplierShippingQuote as bt, type SupplierShippingQuoteInput as bu, type SupplierStock as bv, type SuppliersDefaultConfig as bw, SuppliersFeature as bx, type SuppliersPluginConfig as by, type SuppliersStaticConfig as bz, type ActionBlock$1 as c, ActionVariant as d, type AnalyticsActionSource as e, type AnalyticsConsent as f, type AnalyticsEvent as g, type AnalyticsEventName as h, AnalyticsFeature as i, type AnalyticsItem as j, type AnalyticsMoney as k, type AnalyticsPluginConfig as l, type AnalyticsPurchasePolicy as m, type AnalyticsStaticConfig as n, type AnalyticsUserData as o, type AnalyticsUtm as p, type AuthorValidation as q, type Block as r, type BlockBase as s, BlockType as t, type CalloutBlock as u, type Capability as v, CapabilityKind as w, type CardBlock$1 as x, type CarrierServiceMode as y, type CarrierSettlement as z };
1803
+ export { FieldVariant as $, AUTHOR_HANDLE_RE as A, type BannerBlock$1 as B, ConfigScope as C, type CarrierSettlement as D, type CodConfig as E, FieldType as F, type CodFeeConfig as G, CodFeeType as H, type CodPurchaseTrigger as I, type ConditionalBlock as J, type ConditionalEquals as K, type ConditionalWhen as L, type ConfigurablePlugin as M, ContentActionVariant as N, type ContentBlock as O, type PluginConfigField as P, ContentBlockType as Q, type CopyFieldBlock$1 as R, type SelectOption as S, type CreateShipmentParams as T, type DispatchContext as U, type DividerBlock$1 as V, type DomainEventHandler as W, type DomainEventName as X, type EmbedInit as Y, type FieldBlock as Z, type FieldOption as _, type AccordionBlock as a, type SetupAction as a$, GatewayEnvironment as a0, type GatewayFeeConfig as a1, type GatewayStaticConfig as a2, type GroupBlock as a3, type HostApi as a4, type HttpClient as a5, type HttpRequest as a6, type HttpResponse as a7, type IAnalyticsPlugin as a8, type IInvoicingPlugin as a9, type PaymentConnectExchange as aA, type PaymentConnectParams as aB, type PaymentCustomer as aC, type PaymentGatewayCode as aD, type PaymentMerchantPricing as aE, type PaymentPayload as aF, type PaymentPluginConfig as aG, type PaymentRenderMode as aH, type PaymentResult as aI, type PaymentSessionFees as aJ, type PaymentSessionPayload as aK, type PaymentSessionResult as aL, type PaymentSettlementFees as aM, type PaymentVerifyPayload as aN, type PaymentWebhookSettlement as aO, type PlaceSupplierOrderInput as aP, type Plugin as aQ, type PluginActionContext as aR, type PluginActionResult as aS, type PluginAuthor as aT, type PluginConfigFieldDependency as aU, type PluginFactory as aV, type PluginManifest as aW, type RepeaterBlock as aX, RepeaterSource as aY, type SecretStore as aZ, type SequenceStore as a_, type IPaymentPlugin as aa, type IPlugin as ab, type IShippingPlugin as ac, type ISuppliersPlugin as ad, type IUiPlugin as ae, type InlineRowBlock as af, InvoiceDocumentType as ag, type InvoiceLine as ah, type InvoiceMoney as ai, type InvoiceParty as aj, type InvoiceRequest as ak, type InvoiceResult as al, InvoiceStatus as am, type InvoiceTax as an, type InvoicingDefaultConfig as ao, InvoicingFeature as ap, type InvoicingPluginConfig as aq, type InvoicingStaticConfig as ar, type KeyValueBlock$1 as as, type KeyValueRow$1 as at, LayoutMode as au, type Logger as av, type MarkdownBlock as aw, MessageVariant as ax, type PaymentCard as ay, type PaymentConnect as az, type AccordionSection as b, type SetupLayout as b0, type SetupLayoutValidation as b1, type SetupStep as b2, type ShipmentAddress as b3, type ShipmentParcel as b4, type ShipmentResult as b5, type ShippingDefaultConfig as b6, ShippingFeature as b7, type ShippingPluginConfig as b8, type ShippingQuote as b9, type SuppliersStaticConfig as bA, type TabItem as bB, type TabsBlock as bC, type ToggleBlock as bD, type TrackingEvent as bE, TransactionStatus as bF, type UiContribution as bG, type UiContributionsValidation as bH, type VoidInvoiceInput as bI, type WebhookSignatureResult as bJ, analyticsCapability as bK, capability as bL, crossValidateSetupLayout as bM, definePlugin as bN, invoicingCapability as bO, isConfigurablePlugin as bP, isPluginFactory as bQ, minorUnitDigits as bR, paymentCapability as bS, shippingCapability as bT, suppliersCapability as bU, toMajorUnits as bV, toMinorUnits as bW, uiCapability as bX, validatePluginAuthor as bY, validateSetupLayout as bZ, validateUiContributions as b_, type ShippingQuoteParams as ba, type ShippingStaticConfig as bb, StepStatusFrom as bc, type StepStatusFromAction as bd, type StepStatusFromFields as be, type StepStatusSource as bf, type StorageBroker as bg, type SupplierCatalogQuery as bh, type SupplierFulfillmentEvent as bi, type SupplierListing as bj, type SupplierListingAttribute as bk, type SupplierListingPage as bl, type SupplierListingVariant as bm, type SupplierMoney as bn, type SupplierOrderAddressLevel as bo, type SupplierOrderCustomer as bp, type SupplierOrderLine as bq, type SupplierOrderResult as br, type SupplierOrderStatus as bs, type SupplierShipTo as bt, type SupplierShippingQuote as bu, type SupplierShippingQuoteInput as bv, type SupplierStock as bw, type SuppliersDefaultConfig as bx, SuppliersFeature as by, type SuppliersPluginConfig as bz, type ActionBlock$1 as c, ActionVariant as d, type AnalyticsActionSource as e, type AnalyticsConsent as f, type AnalyticsEvent as g, type AnalyticsEventName as h, AnalyticsFeature as i, type AnalyticsItem as j, type AnalyticsMoney as k, type AnalyticsPluginConfig as l, type AnalyticsPurchasePolicy as m, type AnalyticsStaticConfig as n, type AnalyticsUserData as o, type AnalyticsUtm as p, type AuthorValidation as q, type Block as r, type BlockBase as s, BlockType as t, type CalloutBlock as u, type Capability as v, CapabilityKind as w, type CardBlock$1 as x, type CardBrand as y, type CarrierServiceMode as z };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as FieldType, C as ConfigScope, S as SelectOption, P as PluginConfigField } from './host-api-BnIwti1y.mjs';
2
- export { A as AUTHOR_HANDLE_RE, a as AccordionBlock, b as AccordionSection, c as ActionBlock, d as ActionVariant, e as AnalyticsActionSource, f as AnalyticsConsent, g as AnalyticsEvent, h as AnalyticsEventName, i as AnalyticsFeature, j as AnalyticsItem, k as AnalyticsMoney, l as AnalyticsPluginConfig, m as AnalyticsPurchasePolicy, n as AnalyticsStaticConfig, o as AnalyticsUserData, p as AnalyticsUtm, q as AuthorValidation, B as BannerBlock, r as Block, s as BlockBase, t as BlockType, u as CalloutBlock, v as Capability, w as CapabilityKind, x as CardBlock, y as CarrierServiceMode, z as CarrierSettlement, D as CodConfig, E as CodFeeConfig, G as CodFeeType, H as CodPurchaseTrigger, I as ConditionalBlock, J as ConditionalEquals, K as ConditionalWhen, L as ConfigurablePlugin, M as ContentActionVariant, N as ContentBlock, O as ContentBlockType, Q as CopyFieldBlock, R as CreateShipmentParams, T as DispatchContext, U as DividerBlock, V as DomainEventHandler, W as DomainEventName, X as EmbedInit, Y as FieldBlock, Z as FieldOption, _ as FieldVariant, $ as GatewayEnvironment, a0 as GatewayFeeConfig, a1 as GatewayStaticConfig, a2 as GroupBlock, a3 as HostApi, a4 as HttpClient, a5 as HttpRequest, a6 as HttpResponse, a7 as IAnalyticsPlugin, a8 as IInvoicingPlugin, a9 as IPaymentPlugin, aa as IPlugin, ab as IShippingPlugin, ac as ISuppliersPlugin, ad as IUiPlugin, ae as InlineRowBlock, af as InvoiceDocumentType, ag as InvoiceLine, ah as InvoiceMoney, ai as InvoiceParty, aj as InvoiceRequest, ak as InvoiceResult, al as InvoiceStatus, am as InvoiceTax, an as InvoicingDefaultConfig, ao as InvoicingFeature, ap as InvoicingPluginConfig, aq as InvoicingStaticConfig, ar as KeyValueBlock, as as KeyValueRow, at as LayoutMode, au as Logger, av as MarkdownBlock, aw as MessageVariant, ax as PaymentCard, ay as PaymentConnect, az as PaymentConnectExchange, aA as PaymentConnectParams, aB as PaymentCustomer, aC as PaymentGatewayCode, aD as PaymentMerchantPricing, aE as PaymentPayload, aF as PaymentPluginConfig, aG as PaymentRenderMode, aH as PaymentResult, aI as PaymentSessionFees, aJ as PaymentSessionPayload, aK as PaymentSessionResult, aL as PaymentSettlementFees, aM as PaymentVerifyPayload, aN as PaymentWebhookSettlement, aO as PlaceSupplierOrderInput, aP as Plugin, aQ as PluginActionContext, aR as PluginActionResult, aS as PluginAuthor, aT as PluginConfigFieldDependency, aU as PluginFactory, aV as PluginManifest, aW as RepeaterBlock, aX as RepeaterSource, aY as SecretStore, aZ as SequenceStore, a_ as SetupAction, a$ as SetupLayout, b0 as SetupLayoutValidation, b1 as SetupStep, b2 as ShipmentAddress, b3 as ShipmentParcel, b4 as ShipmentResult, b5 as ShippingDefaultConfig, b6 as ShippingFeature, b7 as ShippingPluginConfig, b8 as ShippingQuote, b9 as ShippingQuoteParams, ba as ShippingStaticConfig, bb as StepStatusFrom, bc as StepStatusFromAction, bd as StepStatusFromFields, be as StepStatusSource, bf as StorageBroker, bg as SupplierCatalogQuery, bh as SupplierFulfillmentEvent, bi as SupplierListing, bj as SupplierListingAttribute, bk as SupplierListingPage, bl as SupplierListingVariant, bm as SupplierMoney, bn as SupplierOrderAddressLevel, bo as SupplierOrderCustomer, bp as SupplierOrderLine, bq as SupplierOrderResult, br as SupplierOrderStatus, bs as SupplierShipTo, bt as SupplierShippingQuote, bu as SupplierShippingQuoteInput, bv as SupplierStock, bw as SuppliersDefaultConfig, bx as SuppliersFeature, by as SuppliersPluginConfig, bz as SuppliersStaticConfig, bA as TabItem, bB as TabsBlock, bC as ToggleBlock, bD as TrackingEvent, bE as TransactionStatus, bF as UiContribution, bG as UiContributionsValidation, bH as VoidInvoiceInput, bI as WebhookSignatureResult, bJ as analyticsCapability, bK as capability, bL as crossValidateSetupLayout, bM as definePlugin, bN as invoicingCapability, bO as isConfigurablePlugin, bP as isPluginFactory, bQ as minorUnitDigits, bR as paymentCapability, bS as shippingCapability, bT as suppliersCapability, bU as toMajorUnits, bV as toMinorUnits, bW as uiCapability, bX as validatePluginAuthor, bY as validateSetupLayout, bZ as validateUiContributions } from './host-api-BnIwti1y.mjs';
1
+ import { F as FieldType, C as ConfigScope, S as SelectOption, P as PluginConfigField } from './host-api-CuLAVsQ2.mjs';
2
+ export { A as AUTHOR_HANDLE_RE, a as AccordionBlock, b as AccordionSection, c as ActionBlock, d as ActionVariant, e as AnalyticsActionSource, f as AnalyticsConsent, g as AnalyticsEvent, h as AnalyticsEventName, i as AnalyticsFeature, j as AnalyticsItem, k as AnalyticsMoney, l as AnalyticsPluginConfig, m as AnalyticsPurchasePolicy, n as AnalyticsStaticConfig, o as AnalyticsUserData, p as AnalyticsUtm, q as AuthorValidation, B as BannerBlock, r as Block, s as BlockBase, t as BlockType, u as CalloutBlock, v as Capability, w as CapabilityKind, x as CardBlock, y as CardBrand, z as CarrierServiceMode, D as CarrierSettlement, E as CodConfig, G as CodFeeConfig, H as CodFeeType, I as CodPurchaseTrigger, J as ConditionalBlock, K as ConditionalEquals, L as ConditionalWhen, M as ConfigurablePlugin, N as ContentActionVariant, O as ContentBlock, Q as ContentBlockType, R as CopyFieldBlock, T as CreateShipmentParams, U as DispatchContext, V as DividerBlock, W as DomainEventHandler, X as DomainEventName, Y as EmbedInit, Z as FieldBlock, _ as FieldOption, $ as FieldVariant, a0 as GatewayEnvironment, a1 as GatewayFeeConfig, a2 as GatewayStaticConfig, a3 as GroupBlock, a4 as HostApi, a5 as HttpClient, a6 as HttpRequest, a7 as HttpResponse, a8 as IAnalyticsPlugin, a9 as IInvoicingPlugin, aa as IPaymentPlugin, ab as IPlugin, ac as IShippingPlugin, ad as ISuppliersPlugin, ae as IUiPlugin, af as InlineRowBlock, ag as InvoiceDocumentType, ah as InvoiceLine, ai as InvoiceMoney, aj as InvoiceParty, ak as InvoiceRequest, al as InvoiceResult, am as InvoiceStatus, an as InvoiceTax, ao as InvoicingDefaultConfig, ap as InvoicingFeature, aq as InvoicingPluginConfig, ar as InvoicingStaticConfig, as as KeyValueBlock, at as KeyValueRow, au as LayoutMode, av as Logger, aw as MarkdownBlock, ax as MessageVariant, ay as PaymentCard, az as PaymentConnect, aA as PaymentConnectExchange, aB as PaymentConnectParams, aC as PaymentCustomer, aD as PaymentGatewayCode, aE as PaymentMerchantPricing, aF as PaymentPayload, aG as PaymentPluginConfig, aH as PaymentRenderMode, aI as PaymentResult, aJ as PaymentSessionFees, aK as PaymentSessionPayload, aL as PaymentSessionResult, aM as PaymentSettlementFees, aN as PaymentVerifyPayload, aO as PaymentWebhookSettlement, aP as PlaceSupplierOrderInput, aQ as Plugin, aR as PluginActionContext, aS as PluginActionResult, aT as PluginAuthor, aU as PluginConfigFieldDependency, aV as PluginFactory, aW as PluginManifest, aX as RepeaterBlock, aY as RepeaterSource, aZ as SecretStore, a_ as SequenceStore, a$ as SetupAction, b0 as SetupLayout, b1 as SetupLayoutValidation, b2 as SetupStep, b3 as ShipmentAddress, b4 as ShipmentParcel, b5 as ShipmentResult, b6 as ShippingDefaultConfig, b7 as ShippingFeature, b8 as ShippingPluginConfig, b9 as ShippingQuote, ba as ShippingQuoteParams, bb as ShippingStaticConfig, bc as StepStatusFrom, bd as StepStatusFromAction, be as StepStatusFromFields, bf as StepStatusSource, bg as StorageBroker, bh as SupplierCatalogQuery, bi as SupplierFulfillmentEvent, bj as SupplierListing, bk as SupplierListingAttribute, bl as SupplierListingPage, bm as SupplierListingVariant, bn as SupplierMoney, bo as SupplierOrderAddressLevel, bp as SupplierOrderCustomer, bq as SupplierOrderLine, br as SupplierOrderResult, bs as SupplierOrderStatus, bt as SupplierShipTo, bu as SupplierShippingQuote, bv as SupplierShippingQuoteInput, bw as SupplierStock, bx as SuppliersDefaultConfig, by as SuppliersFeature, bz as SuppliersPluginConfig, bA as SuppliersStaticConfig, bB as TabItem, bC as TabsBlock, bD as ToggleBlock, bE as TrackingEvent, bF as TransactionStatus, bG as UiContribution, bH as UiContributionsValidation, bI as VoidInvoiceInput, bJ as WebhookSignatureResult, bK as analyticsCapability, bL as capability, bM as crossValidateSetupLayout, bN as definePlugin, bO as invoicingCapability, bP as isConfigurablePlugin, bQ as isPluginFactory, bR as minorUnitDigits, bS as paymentCapability, bT as shippingCapability, bU as suppliersCapability, bV as toMajorUnits, bW as toMinorUnits, bX as uiCapability, bY as validatePluginAuthor, bZ as validateSetupLayout, b_ as validateUiContributions } from './host-api-CuLAVsQ2.mjs';
3
3
 
4
4
  declare const PAYMENT_PLUGIN_TOKEN: "PAYMENT_PLUGINS";
5
5
  declare const SHIPPING_PLUGIN_TOKEN: "SHIPPING_PLUGINS";
@@ -74,7 +74,7 @@ declare function checkPermissions(required: string[], grantedRaw: string[]): Per
74
74
  * - MINOR: additive (new optional fields, new tokens) — backwards compatible.
75
75
  * - PATCH: docs/fixes with zero shape changes.
76
76
  */
77
- declare const SDK_VERSION = "0.6.11";
77
+ declare const SDK_VERSION = "0.7.0";
78
78
  /**
79
79
  * True when a plugin built against `pluginSdkVersion` can run on a host that
80
80
  * ships `hostSdkVersion`. Rule: same major, host minor >= plugin minor.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as FieldType, C as ConfigScope, S as SelectOption, P as PluginConfigField } from './host-api-BnIwti1y.js';
2
- export { A as AUTHOR_HANDLE_RE, a as AccordionBlock, b as AccordionSection, c as ActionBlock, d as ActionVariant, e as AnalyticsActionSource, f as AnalyticsConsent, g as AnalyticsEvent, h as AnalyticsEventName, i as AnalyticsFeature, j as AnalyticsItem, k as AnalyticsMoney, l as AnalyticsPluginConfig, m as AnalyticsPurchasePolicy, n as AnalyticsStaticConfig, o as AnalyticsUserData, p as AnalyticsUtm, q as AuthorValidation, B as BannerBlock, r as Block, s as BlockBase, t as BlockType, u as CalloutBlock, v as Capability, w as CapabilityKind, x as CardBlock, y as CarrierServiceMode, z as CarrierSettlement, D as CodConfig, E as CodFeeConfig, G as CodFeeType, H as CodPurchaseTrigger, I as ConditionalBlock, J as ConditionalEquals, K as ConditionalWhen, L as ConfigurablePlugin, M as ContentActionVariant, N as ContentBlock, O as ContentBlockType, Q as CopyFieldBlock, R as CreateShipmentParams, T as DispatchContext, U as DividerBlock, V as DomainEventHandler, W as DomainEventName, X as EmbedInit, Y as FieldBlock, Z as FieldOption, _ as FieldVariant, $ as GatewayEnvironment, a0 as GatewayFeeConfig, a1 as GatewayStaticConfig, a2 as GroupBlock, a3 as HostApi, a4 as HttpClient, a5 as HttpRequest, a6 as HttpResponse, a7 as IAnalyticsPlugin, a8 as IInvoicingPlugin, a9 as IPaymentPlugin, aa as IPlugin, ab as IShippingPlugin, ac as ISuppliersPlugin, ad as IUiPlugin, ae as InlineRowBlock, af as InvoiceDocumentType, ag as InvoiceLine, ah as InvoiceMoney, ai as InvoiceParty, aj as InvoiceRequest, ak as InvoiceResult, al as InvoiceStatus, am as InvoiceTax, an as InvoicingDefaultConfig, ao as InvoicingFeature, ap as InvoicingPluginConfig, aq as InvoicingStaticConfig, ar as KeyValueBlock, as as KeyValueRow, at as LayoutMode, au as Logger, av as MarkdownBlock, aw as MessageVariant, ax as PaymentCard, ay as PaymentConnect, az as PaymentConnectExchange, aA as PaymentConnectParams, aB as PaymentCustomer, aC as PaymentGatewayCode, aD as PaymentMerchantPricing, aE as PaymentPayload, aF as PaymentPluginConfig, aG as PaymentRenderMode, aH as PaymentResult, aI as PaymentSessionFees, aJ as PaymentSessionPayload, aK as PaymentSessionResult, aL as PaymentSettlementFees, aM as PaymentVerifyPayload, aN as PaymentWebhookSettlement, aO as PlaceSupplierOrderInput, aP as Plugin, aQ as PluginActionContext, aR as PluginActionResult, aS as PluginAuthor, aT as PluginConfigFieldDependency, aU as PluginFactory, aV as PluginManifest, aW as RepeaterBlock, aX as RepeaterSource, aY as SecretStore, aZ as SequenceStore, a_ as SetupAction, a$ as SetupLayout, b0 as SetupLayoutValidation, b1 as SetupStep, b2 as ShipmentAddress, b3 as ShipmentParcel, b4 as ShipmentResult, b5 as ShippingDefaultConfig, b6 as ShippingFeature, b7 as ShippingPluginConfig, b8 as ShippingQuote, b9 as ShippingQuoteParams, ba as ShippingStaticConfig, bb as StepStatusFrom, bc as StepStatusFromAction, bd as StepStatusFromFields, be as StepStatusSource, bf as StorageBroker, bg as SupplierCatalogQuery, bh as SupplierFulfillmentEvent, bi as SupplierListing, bj as SupplierListingAttribute, bk as SupplierListingPage, bl as SupplierListingVariant, bm as SupplierMoney, bn as SupplierOrderAddressLevel, bo as SupplierOrderCustomer, bp as SupplierOrderLine, bq as SupplierOrderResult, br as SupplierOrderStatus, bs as SupplierShipTo, bt as SupplierShippingQuote, bu as SupplierShippingQuoteInput, bv as SupplierStock, bw as SuppliersDefaultConfig, bx as SuppliersFeature, by as SuppliersPluginConfig, bz as SuppliersStaticConfig, bA as TabItem, bB as TabsBlock, bC as ToggleBlock, bD as TrackingEvent, bE as TransactionStatus, bF as UiContribution, bG as UiContributionsValidation, bH as VoidInvoiceInput, bI as WebhookSignatureResult, bJ as analyticsCapability, bK as capability, bL as crossValidateSetupLayout, bM as definePlugin, bN as invoicingCapability, bO as isConfigurablePlugin, bP as isPluginFactory, bQ as minorUnitDigits, bR as paymentCapability, bS as shippingCapability, bT as suppliersCapability, bU as toMajorUnits, bV as toMinorUnits, bW as uiCapability, bX as validatePluginAuthor, bY as validateSetupLayout, bZ as validateUiContributions } from './host-api-BnIwti1y.js';
1
+ import { F as FieldType, C as ConfigScope, S as SelectOption, P as PluginConfigField } from './host-api-CuLAVsQ2.js';
2
+ export { A as AUTHOR_HANDLE_RE, a as AccordionBlock, b as AccordionSection, c as ActionBlock, d as ActionVariant, e as AnalyticsActionSource, f as AnalyticsConsent, g as AnalyticsEvent, h as AnalyticsEventName, i as AnalyticsFeature, j as AnalyticsItem, k as AnalyticsMoney, l as AnalyticsPluginConfig, m as AnalyticsPurchasePolicy, n as AnalyticsStaticConfig, o as AnalyticsUserData, p as AnalyticsUtm, q as AuthorValidation, B as BannerBlock, r as Block, s as BlockBase, t as BlockType, u as CalloutBlock, v as Capability, w as CapabilityKind, x as CardBlock, y as CardBrand, z as CarrierServiceMode, D as CarrierSettlement, E as CodConfig, G as CodFeeConfig, H as CodFeeType, I as CodPurchaseTrigger, J as ConditionalBlock, K as ConditionalEquals, L as ConditionalWhen, M as ConfigurablePlugin, N as ContentActionVariant, O as ContentBlock, Q as ContentBlockType, R as CopyFieldBlock, T as CreateShipmentParams, U as DispatchContext, V as DividerBlock, W as DomainEventHandler, X as DomainEventName, Y as EmbedInit, Z as FieldBlock, _ as FieldOption, $ as FieldVariant, a0 as GatewayEnvironment, a1 as GatewayFeeConfig, a2 as GatewayStaticConfig, a3 as GroupBlock, a4 as HostApi, a5 as HttpClient, a6 as HttpRequest, a7 as HttpResponse, a8 as IAnalyticsPlugin, a9 as IInvoicingPlugin, aa as IPaymentPlugin, ab as IPlugin, ac as IShippingPlugin, ad as ISuppliersPlugin, ae as IUiPlugin, af as InlineRowBlock, ag as InvoiceDocumentType, ah as InvoiceLine, ai as InvoiceMoney, aj as InvoiceParty, ak as InvoiceRequest, al as InvoiceResult, am as InvoiceStatus, an as InvoiceTax, ao as InvoicingDefaultConfig, ap as InvoicingFeature, aq as InvoicingPluginConfig, ar as InvoicingStaticConfig, as as KeyValueBlock, at as KeyValueRow, au as LayoutMode, av as Logger, aw as MarkdownBlock, ax as MessageVariant, ay as PaymentCard, az as PaymentConnect, aA as PaymentConnectExchange, aB as PaymentConnectParams, aC as PaymentCustomer, aD as PaymentGatewayCode, aE as PaymentMerchantPricing, aF as PaymentPayload, aG as PaymentPluginConfig, aH as PaymentRenderMode, aI as PaymentResult, aJ as PaymentSessionFees, aK as PaymentSessionPayload, aL as PaymentSessionResult, aM as PaymentSettlementFees, aN as PaymentVerifyPayload, aO as PaymentWebhookSettlement, aP as PlaceSupplierOrderInput, aQ as Plugin, aR as PluginActionContext, aS as PluginActionResult, aT as PluginAuthor, aU as PluginConfigFieldDependency, aV as PluginFactory, aW as PluginManifest, aX as RepeaterBlock, aY as RepeaterSource, aZ as SecretStore, a_ as SequenceStore, a$ as SetupAction, b0 as SetupLayout, b1 as SetupLayoutValidation, b2 as SetupStep, b3 as ShipmentAddress, b4 as ShipmentParcel, b5 as ShipmentResult, b6 as ShippingDefaultConfig, b7 as ShippingFeature, b8 as ShippingPluginConfig, b9 as ShippingQuote, ba as ShippingQuoteParams, bb as ShippingStaticConfig, bc as StepStatusFrom, bd as StepStatusFromAction, be as StepStatusFromFields, bf as StepStatusSource, bg as StorageBroker, bh as SupplierCatalogQuery, bi as SupplierFulfillmentEvent, bj as SupplierListing, bk as SupplierListingAttribute, bl as SupplierListingPage, bm as SupplierListingVariant, bn as SupplierMoney, bo as SupplierOrderAddressLevel, bp as SupplierOrderCustomer, bq as SupplierOrderLine, br as SupplierOrderResult, bs as SupplierOrderStatus, bt as SupplierShipTo, bu as SupplierShippingQuote, bv as SupplierShippingQuoteInput, bw as SupplierStock, bx as SuppliersDefaultConfig, by as SuppliersFeature, bz as SuppliersPluginConfig, bA as SuppliersStaticConfig, bB as TabItem, bC as TabsBlock, bD as ToggleBlock, bE as TrackingEvent, bF as TransactionStatus, bG as UiContribution, bH as UiContributionsValidation, bI as VoidInvoiceInput, bJ as WebhookSignatureResult, bK as analyticsCapability, bL as capability, bM as crossValidateSetupLayout, bN as definePlugin, bO as invoicingCapability, bP as isConfigurablePlugin, bQ as isPluginFactory, bR as minorUnitDigits, bS as paymentCapability, bT as shippingCapability, bU as suppliersCapability, bV as toMajorUnits, bW as toMinorUnits, bX as uiCapability, bY as validatePluginAuthor, bZ as validateSetupLayout, b_ as validateUiContributions } from './host-api-CuLAVsQ2.js';
3
3
 
4
4
  declare const PAYMENT_PLUGIN_TOKEN: "PAYMENT_PLUGINS";
5
5
  declare const SHIPPING_PLUGIN_TOKEN: "SHIPPING_PLUGINS";
@@ -74,7 +74,7 @@ declare function checkPermissions(required: string[], grantedRaw: string[]): Per
74
74
  * - MINOR: additive (new optional fields, new tokens) — backwards compatible.
75
75
  * - PATCH: docs/fixes with zero shape changes.
76
76
  */
77
- declare const SDK_VERSION = "0.6.11";
77
+ declare const SDK_VERSION = "0.7.0";
78
78
  /**
79
79
  * True when a plugin built against `pluginSdkVersion` can run on a host that
80
80
  * ships `hostSdkVersion`. Rule: same major, host minor >= plugin minor.
package/dist/index.js CHANGED
@@ -741,7 +741,7 @@ function checkPermissions(required, grantedRaw) {
741
741
  }
742
742
 
743
743
  // src/version.ts
744
- var SDK_VERSION = "0.6.11";
744
+ var SDK_VERSION = "0.7.0";
745
745
  function isSdkCompatible(pluginSdkVersion, hostSdkVersion) {
746
746
  const parse = (v) => {
747
747
  const m = /^(\d+)\.(\d+)\.(\d+)/.exec(v);
package/dist/index.mjs CHANGED
@@ -672,7 +672,7 @@ function isPluginFactory(value) {
672
672
  }
673
673
 
674
674
  // src/version.ts
675
- var SDK_VERSION = "0.6.11";
675
+ var SDK_VERSION = "0.7.0";
676
676
  function isSdkCompatible(pluginSdkVersion, hostSdkVersion) {
677
677
  const parse = (v) => {
678
678
  const m = /^(\d+)\.(\d+)\.(\d+)/.exec(v);
@@ -1,4 +1,4 @@
1
- import { a3 as HostApi, a5 as HttpRequest, W as DomainEventName, v as Capability, V as DomainEventHandler, a6 as HttpResponse, T as DispatchContext } from '../host-api-BnIwti1y.mjs';
1
+ import { a4 as HostApi, a6 as HttpRequest, X as DomainEventName, v as Capability, W as DomainEventHandler, a7 as HttpResponse, U as DispatchContext } from '../host-api-CuLAVsQ2.mjs';
2
2
 
3
3
  /** Every recorded interaction, keyed by `"port.method"`. */
4
4
  interface MockHostCalls {
@@ -1,4 +1,4 @@
1
- import { a3 as HostApi, a5 as HttpRequest, W as DomainEventName, v as Capability, V as DomainEventHandler, a6 as HttpResponse, T as DispatchContext } from '../host-api-BnIwti1y.js';
1
+ import { a4 as HostApi, a6 as HttpRequest, X as DomainEventName, v as Capability, W as DomainEventHandler, a7 as HttpResponse, U as DispatchContext } from '../host-api-CuLAVsQ2.js';
2
2
 
3
3
  /** Every recorded interaction, keyed by `"port.method"`. */
4
4
  interface MockHostCalls {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vivoa/plugin-sdk",
3
- "version": "0.6.11",
3
+ "version": "0.7.0",
4
4
  "description": "Public contracts for Vivoa plugins (types, DI tokens, config + setup-layout validators)",
5
5
  "license": "MIT",
6
6
  "author": "Vivoa",