@delopay/sdk 0.392.0 → 0.393.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/{chunk-GN6GS4V2.js → chunk-VOYGZ2V6.js} +3 -2
- package/dist/chunk-VOYGZ2V6.js.map +1 -0
- package/dist/{index-C3WTfnm_.d.cts → index-DZZ-Fg5y.d.cts} +8 -1
- package/dist/{index-C3WTfnm_.d.ts → index-DZZ-Fg5y.d.ts} +8 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +2 -1
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-GN6GS4V2.js.map +0 -1
|
@@ -1984,6 +1984,12 @@ interface CustomerCreateRequest {
|
|
|
1984
1984
|
metadata?: Record<string, unknown> | null;
|
|
1985
1985
|
/** VAT or tax registration number for B2B invoicing. */
|
|
1986
1986
|
tax_registration_id?: string | null;
|
|
1987
|
+
/**
|
|
1988
|
+
* With a merchant-wide key on `customers.create`: the shop the new customer belongs to at
|
|
1989
|
+
* once, so that shop's keys and team find the customer before any payment. It must be a shop
|
|
1990
|
+
* of the merchant. On `customers.createByProfile` only the caller's own shop is accepted.
|
|
1991
|
+
*/
|
|
1992
|
+
profile_id?: string | null;
|
|
1987
1993
|
}
|
|
1988
1994
|
interface CustomerUpdateRequest {
|
|
1989
1995
|
name?: string | null;
|
|
@@ -28929,7 +28935,8 @@ declare class Customers {
|
|
|
28929
28935
|
* Place an existing customer in a shop of the merchant, so the shop's API keys and team members
|
|
28930
28936
|
* find the customer before any payment. The customer keeps the shops they already belong to;
|
|
28931
28937
|
* placing one already in the shop changes nothing (`already_in_shop`). Needs a merchant-wide key:
|
|
28932
|
-
* a key bound to one shop is refused. `
|
|
28938
|
+
* a key bound to one shop is refused. An unknown customer answers `CustomerNotFound` (404).
|
|
28939
|
+
* `POST /customers/{customer_id}/shops`
|
|
28933
28940
|
*
|
|
28934
28941
|
* @param customerId - The customer to place.
|
|
28935
28942
|
* @param profileId - The shop. It must belong to the merchant.
|
|
@@ -1984,6 +1984,12 @@ interface CustomerCreateRequest {
|
|
|
1984
1984
|
metadata?: Record<string, unknown> | null;
|
|
1985
1985
|
/** VAT or tax registration number for B2B invoicing. */
|
|
1986
1986
|
tax_registration_id?: string | null;
|
|
1987
|
+
/**
|
|
1988
|
+
* With a merchant-wide key on `customers.create`: the shop the new customer belongs to at
|
|
1989
|
+
* once, so that shop's keys and team find the customer before any payment. It must be a shop
|
|
1990
|
+
* of the merchant. On `customers.createByProfile` only the caller's own shop is accepted.
|
|
1991
|
+
*/
|
|
1992
|
+
profile_id?: string | null;
|
|
1987
1993
|
}
|
|
1988
1994
|
interface CustomerUpdateRequest {
|
|
1989
1995
|
name?: string | null;
|
|
@@ -28929,7 +28935,8 @@ declare class Customers {
|
|
|
28929
28935
|
* Place an existing customer in a shop of the merchant, so the shop's API keys and team members
|
|
28930
28936
|
* find the customer before any payment. The customer keeps the shops they already belong to;
|
|
28931
28937
|
* placing one already in the shop changes nothing (`already_in_shop`). Needs a merchant-wide key:
|
|
28932
|
-
* a key bound to one shop is refused. `
|
|
28938
|
+
* a key bound to one shop is refused. An unknown customer answers `CustomerNotFound` (404).
|
|
28939
|
+
* `POST /customers/{customer_id}/shops`
|
|
28933
28940
|
*
|
|
28934
28941
|
* @param customerId - The customer to place.
|
|
28935
28942
|
* @param profileId - The shop. It must belong to the merchant.
|
package/dist/index.cjs
CHANGED
|
@@ -1642,7 +1642,8 @@ var Customers = class {
|
|
|
1642
1642
|
* Place an existing customer in a shop of the merchant, so the shop's API keys and team members
|
|
1643
1643
|
* find the customer before any payment. The customer keeps the shops they already belong to;
|
|
1644
1644
|
* placing one already in the shop changes nothing (`already_in_shop`). Needs a merchant-wide key:
|
|
1645
|
-
* a key bound to one shop is refused. `
|
|
1645
|
+
* a key bound to one shop is refused. An unknown customer answers `CustomerNotFound` (404).
|
|
1646
|
+
* `POST /customers/{customer_id}/shops`
|
|
1646
1647
|
*
|
|
1647
1648
|
* @param customerId - The customer to place.
|
|
1648
1649
|
* @param profileId - The shop. It must belong to the merchant.
|