@delopay/sdk 0.82.0 → 0.83.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 CHANGED
@@ -694,6 +694,20 @@ interface CustomerResponse {
694
694
  tax_registration_id?: string | null;
695
695
  /** Structured identity / KYC documents attached to the customer. */
696
696
  document_details?: Record<string, unknown> | null;
697
+ /**
698
+ * Shops (business profiles) this customer has transacted in, derived from
699
+ * their payments — the same rule the `profile_ids` list filter applies. A
700
+ * customer created but never charged belongs to no shop.
701
+ *
702
+ * Returned by `customers.retrieve` only. Deriving it costs a query per
703
+ * customer, so the list endpoints omit it: **absent means "not computed",
704
+ * not "no shops"**. An empty array is a real answer and stays
705
+ * distinguishable from a field nobody filled in.
706
+ *
707
+ * A shop-scoped caller only sees their own shop here — the server narrows
708
+ * the list to the caller's scope.
709
+ */
710
+ profile_ids?: string[] | null;
697
711
  }
698
712
  interface CustomerListParams {
699
713
  limit?: number | null;
package/dist/index.d.ts CHANGED
@@ -694,6 +694,20 @@ interface CustomerResponse {
694
694
  tax_registration_id?: string | null;
695
695
  /** Structured identity / KYC documents attached to the customer. */
696
696
  document_details?: Record<string, unknown> | null;
697
+ /**
698
+ * Shops (business profiles) this customer has transacted in, derived from
699
+ * their payments — the same rule the `profile_ids` list filter applies. A
700
+ * customer created but never charged belongs to no shop.
701
+ *
702
+ * Returned by `customers.retrieve` only. Deriving it costs a query per
703
+ * customer, so the list endpoints omit it: **absent means "not computed",
704
+ * not "no shops"**. An empty array is a real answer and stays
705
+ * distinguishable from a field nobody filled in.
706
+ *
707
+ * A shop-scoped caller only sees their own shop here — the server narrows
708
+ * the list to the caller's scope.
709
+ */
710
+ profile_ids?: string[] | null;
697
711
  }
698
712
  interface CustomerListParams {
699
713
  limit?: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delopay/sdk",
3
- "version": "0.82.0",
3
+ "version": "0.83.0",
4
4
  "description": "Official Delopay TypeScript SDK",
5
5
  "type": "module",
6
6
  "sideEffects": false,