@waffo/pancake-ts 0.16.0 → 0.17.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/CHANGELOG.md +16 -0
- package/README.md +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -5
- package/dist/index.d.ts +11 -5
- package/dist/index.js.map +1 -1
- package/docs/api-reference.md +29 -29
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -399,6 +399,11 @@ interface CreateStoreParams {
|
|
|
399
399
|
* existing values, `null` clears a field, and a concrete value sets it.
|
|
400
400
|
* Pass the entire settings object as `null` to clear all fields in the group.
|
|
401
401
|
*
|
|
402
|
+
* `supportEmail` and `website` are not writable here. They are derived from
|
|
403
|
+
* ownership verification and are set only by the flows that prove it: email
|
|
404
|
+
* code binding and domain verification, or KYB approval. Read them back from
|
|
405
|
+
* {@link Store}.
|
|
406
|
+
*
|
|
402
407
|
* **BREAKING (2026-05)**: the legacy `webhookSettings` field is removed.
|
|
403
408
|
* Manage webhooks via `client.webhooks.add / update / remove`; query the
|
|
404
409
|
* webhook list through GraphQL `Store.storeWebhooks`.
|
|
@@ -412,10 +417,6 @@ interface UpdateStoreParams {
|
|
|
412
417
|
status?: EntityStatus;
|
|
413
418
|
/** Store logo URL (set to `null` to remove) */
|
|
414
419
|
logo?: string | null;
|
|
415
|
-
/** Support email address (set to `null` to remove) */
|
|
416
|
-
supportEmail?: string | null;
|
|
417
|
-
/** Store website URL (set to `null` to remove) */
|
|
418
|
-
website?: string | null;
|
|
419
420
|
/** Notification preferences (partial update — omitted fields keep existing values, set to `null` to clear all) */
|
|
420
421
|
notificationSettings?: Partial<MerchantWritableNotificationSettings> | null;
|
|
421
422
|
/** Checkout page theme configuration (partial update — omitted fields keep existing values, set to `null` to clear all) */
|
|
@@ -746,7 +747,12 @@ interface CreateCheckoutSessionParams {
|
|
|
746
747
|
withTrial?: boolean;
|
|
747
748
|
/** Pre-filled customer email */
|
|
748
749
|
buyerEmail?: string;
|
|
749
|
-
/**
|
|
750
|
+
/**
|
|
751
|
+
* Pre-filled billing details. Passing this couples the cashier to the order's billing country: it then offers
|
|
752
|
+
* only that country's payment market and the customer cannot switch. The country that applies is the one on the
|
|
753
|
+
* finished order, not the one you sent; a country outside the payment markets we cover applies no restriction.
|
|
754
|
+
* Omit to leave the cashier unrestricted.
|
|
755
|
+
*/
|
|
750
756
|
billingDetail?: BillingDetail;
|
|
751
757
|
/** Redirect URL after successful payment */
|
|
752
758
|
successUrl?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -399,6 +399,11 @@ interface CreateStoreParams {
|
|
|
399
399
|
* existing values, `null` clears a field, and a concrete value sets it.
|
|
400
400
|
* Pass the entire settings object as `null` to clear all fields in the group.
|
|
401
401
|
*
|
|
402
|
+
* `supportEmail` and `website` are not writable here. They are derived from
|
|
403
|
+
* ownership verification and are set only by the flows that prove it: email
|
|
404
|
+
* code binding and domain verification, or KYB approval. Read them back from
|
|
405
|
+
* {@link Store}.
|
|
406
|
+
*
|
|
402
407
|
* **BREAKING (2026-05)**: the legacy `webhookSettings` field is removed.
|
|
403
408
|
* Manage webhooks via `client.webhooks.add / update / remove`; query the
|
|
404
409
|
* webhook list through GraphQL `Store.storeWebhooks`.
|
|
@@ -412,10 +417,6 @@ interface UpdateStoreParams {
|
|
|
412
417
|
status?: EntityStatus;
|
|
413
418
|
/** Store logo URL (set to `null` to remove) */
|
|
414
419
|
logo?: string | null;
|
|
415
|
-
/** Support email address (set to `null` to remove) */
|
|
416
|
-
supportEmail?: string | null;
|
|
417
|
-
/** Store website URL (set to `null` to remove) */
|
|
418
|
-
website?: string | null;
|
|
419
420
|
/** Notification preferences (partial update — omitted fields keep existing values, set to `null` to clear all) */
|
|
420
421
|
notificationSettings?: Partial<MerchantWritableNotificationSettings> | null;
|
|
421
422
|
/** Checkout page theme configuration (partial update — omitted fields keep existing values, set to `null` to clear all) */
|
|
@@ -746,7 +747,12 @@ interface CreateCheckoutSessionParams {
|
|
|
746
747
|
withTrial?: boolean;
|
|
747
748
|
/** Pre-filled customer email */
|
|
748
749
|
buyerEmail?: string;
|
|
749
|
-
/**
|
|
750
|
+
/**
|
|
751
|
+
* Pre-filled billing details. Passing this couples the cashier to the order's billing country: it then offers
|
|
752
|
+
* only that country's payment market and the customer cannot switch. The country that applies is the one on the
|
|
753
|
+
* finished order, not the one you sent; a country outside the payment markets we cover applies no restriction.
|
|
754
|
+
* Omit to leave the cashier unrestricted.
|
|
755
|
+
*/
|
|
750
756
|
billingDetail?: BillingDetail;
|
|
751
757
|
/** Redirect URL after successful payment */
|
|
752
758
|
successUrl?: string;
|