@delopay/sdk 0.18.2 → 0.18.3
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/internal.d.cts +17 -0
- package/dist/internal.d.ts +17 -0
- package/package.json +1 -1
package/dist/internal.d.cts
CHANGED
|
@@ -75,6 +75,13 @@ interface AdminCustomerListParams {
|
|
|
75
75
|
is_active?: boolean | null;
|
|
76
76
|
offset?: number | null;
|
|
77
77
|
limit?: number | null;
|
|
78
|
+
/**
|
|
79
|
+
* Comma-separated opt-in fields. Currently only `"billing"` is recognised —
|
|
80
|
+
* adds `balance_amount`, `balance_currency`, `billing_status` to each
|
|
81
|
+
* `CustomerSummary` at the cost of one extra DB lookup per row. Default
|
|
82
|
+
* callers should omit this to keep list responses fast.
|
|
83
|
+
*/
|
|
84
|
+
include?: string | null;
|
|
78
85
|
}
|
|
79
86
|
interface CustomerSummary {
|
|
80
87
|
customer_id: string;
|
|
@@ -84,6 +91,16 @@ interface CustomerSummary {
|
|
|
84
91
|
created_at: string;
|
|
85
92
|
customer_name?: string | null;
|
|
86
93
|
email?: string | null;
|
|
94
|
+
/** Populated only when the request opted in via `include=billing`. */
|
|
95
|
+
balance_amount?: number | null;
|
|
96
|
+
/** Populated only when the request opted in via `include=billing`. */
|
|
97
|
+
balance_currency?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* Populated only when the request opted in via `include=billing`. Values:
|
|
100
|
+
* `active`, `pending_setup`, `delinquent`, `suspended`. Null when the
|
|
101
|
+
* merchant has never been onboarded to billing.
|
|
102
|
+
*/
|
|
103
|
+
billing_status?: string | null;
|
|
87
104
|
}
|
|
88
105
|
interface AdminCustomerListResponse {
|
|
89
106
|
customers: CustomerSummary[];
|
package/dist/internal.d.ts
CHANGED
|
@@ -75,6 +75,13 @@ interface AdminCustomerListParams {
|
|
|
75
75
|
is_active?: boolean | null;
|
|
76
76
|
offset?: number | null;
|
|
77
77
|
limit?: number | null;
|
|
78
|
+
/**
|
|
79
|
+
* Comma-separated opt-in fields. Currently only `"billing"` is recognised —
|
|
80
|
+
* adds `balance_amount`, `balance_currency`, `billing_status` to each
|
|
81
|
+
* `CustomerSummary` at the cost of one extra DB lookup per row. Default
|
|
82
|
+
* callers should omit this to keep list responses fast.
|
|
83
|
+
*/
|
|
84
|
+
include?: string | null;
|
|
78
85
|
}
|
|
79
86
|
interface CustomerSummary {
|
|
80
87
|
customer_id: string;
|
|
@@ -84,6 +91,16 @@ interface CustomerSummary {
|
|
|
84
91
|
created_at: string;
|
|
85
92
|
customer_name?: string | null;
|
|
86
93
|
email?: string | null;
|
|
94
|
+
/** Populated only when the request opted in via `include=billing`. */
|
|
95
|
+
balance_amount?: number | null;
|
|
96
|
+
/** Populated only when the request opted in via `include=billing`. */
|
|
97
|
+
balance_currency?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* Populated only when the request opted in via `include=billing`. Values:
|
|
100
|
+
* `active`, `pending_setup`, `delinquent`, `suspended`. Null when the
|
|
101
|
+
* merchant has never been onboarded to billing.
|
|
102
|
+
*/
|
|
103
|
+
billing_status?: string | null;
|
|
87
104
|
}
|
|
88
105
|
interface AdminCustomerListResponse {
|
|
89
106
|
customers: CustomerSummary[];
|