@delopay/sdk 0.11.0 → 0.12.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.
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -662,6 +662,13 @@ interface ShopUpdateRequest {
|
|
|
662
662
|
webhook_url?: string | null;
|
|
663
663
|
is_active?: boolean | null;
|
|
664
664
|
payment_link_config?: BusinessPaymentLinkConfig | null;
|
|
665
|
+
/**
|
|
666
|
+
* Origins permitted to embed this shop's hosted checkout in an iframe.
|
|
667
|
+
* Each entry must be a full origin (`scheme://host[:port]`, no path,
|
|
668
|
+
* no wildcards). Empty/null defaults to same-origin only — strict
|
|
669
|
+
* clickjacking defense. Example: `["https://shop.acme.com"]`.
|
|
670
|
+
*/
|
|
671
|
+
iframe_allowed_origins?: string[] | null;
|
|
665
672
|
}
|
|
666
673
|
interface ShopResponse {
|
|
667
674
|
shop_id: string;
|
|
@@ -673,6 +680,11 @@ interface ShopResponse {
|
|
|
673
680
|
webhook_url?: string | null;
|
|
674
681
|
project_id?: string | null;
|
|
675
682
|
payment_link_config?: BusinessPaymentLinkConfig | null;
|
|
683
|
+
/**
|
|
684
|
+
* Origins permitted to embed this shop's hosted checkout in an iframe.
|
|
685
|
+
* See {@link ShopUpdateRequest.iframe_allowed_origins}.
|
|
686
|
+
*/
|
|
687
|
+
iframe_allowed_origins?: string[] | null;
|
|
676
688
|
}
|
|
677
689
|
/** Branding and behavior overrides for a shop's hosted checkout. */
|
|
678
690
|
interface BusinessPaymentLinkConfig {
|
package/dist/index.d.ts
CHANGED
|
@@ -662,6 +662,13 @@ interface ShopUpdateRequest {
|
|
|
662
662
|
webhook_url?: string | null;
|
|
663
663
|
is_active?: boolean | null;
|
|
664
664
|
payment_link_config?: BusinessPaymentLinkConfig | null;
|
|
665
|
+
/**
|
|
666
|
+
* Origins permitted to embed this shop's hosted checkout in an iframe.
|
|
667
|
+
* Each entry must be a full origin (`scheme://host[:port]`, no path,
|
|
668
|
+
* no wildcards). Empty/null defaults to same-origin only — strict
|
|
669
|
+
* clickjacking defense. Example: `["https://shop.acme.com"]`.
|
|
670
|
+
*/
|
|
671
|
+
iframe_allowed_origins?: string[] | null;
|
|
665
672
|
}
|
|
666
673
|
interface ShopResponse {
|
|
667
674
|
shop_id: string;
|
|
@@ -673,6 +680,11 @@ interface ShopResponse {
|
|
|
673
680
|
webhook_url?: string | null;
|
|
674
681
|
project_id?: string | null;
|
|
675
682
|
payment_link_config?: BusinessPaymentLinkConfig | null;
|
|
683
|
+
/**
|
|
684
|
+
* Origins permitted to embed this shop's hosted checkout in an iframe.
|
|
685
|
+
* See {@link ShopUpdateRequest.iframe_allowed_origins}.
|
|
686
|
+
*/
|
|
687
|
+
iframe_allowed_origins?: string[] | null;
|
|
676
688
|
}
|
|
677
689
|
/** Branding and behavior overrides for a shop's hosted checkout. */
|
|
678
690
|
interface BusinessPaymentLinkConfig {
|