@delopay/sdk 0.6.0 → 0.7.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-LCF7ILAH.js → chunk-NKSNI5HS.js} +6 -148
- package/dist/chunk-NKSNI5HS.js.map +1 -0
- package/dist/index.cjs +5 -149
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -343
- package/dist/index.d.ts +10 -343
- package/dist/index.js +1 -5
- package/dist/internal.cjs +120 -148
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +322 -10
- package/dist/internal.d.ts +322 -10
- package/dist/internal.js +113 -6
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-LCF7ILAH.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ type EventType = 'payment_succeeded' | 'payment_failed' | 'payment_processing' |
|
|
|
26
26
|
type EventClass = 'payments' | 'refunds' | 'disputes' | 'mandates' | 'payouts' | 'subscriptions';
|
|
27
27
|
type WebhookDeliveryAttempt = 'initial_attempt' | 'automatic_retry' | 'manual_retry';
|
|
28
28
|
type BlocklistDataKind = 'payment_method' | 'card_bin' | 'extended_card_bin';
|
|
29
|
-
type GsmDecision = 'retry' | 'do_default';
|
|
30
29
|
type RelayType = 'refund' | 'capture' | 'incremental_authorization' | 'void';
|
|
31
30
|
type RelayStatus = 'created' | 'pending' | 'success' | 'failure';
|
|
32
31
|
type ThreeDSDecision = 'no_three_ds' | 'challenge_requested' | 'challenge_preferred' | 'three_ds_exemption_requested_tra' | 'three_ds_exemption_requested_low_value' | 'issuer_three_ds_exemption_requested';
|
|
@@ -1146,184 +1145,6 @@ interface PhoneOtpVerifyResponse {
|
|
|
1146
1145
|
interface UpdateUserDetailsRequest {
|
|
1147
1146
|
name?: string | null;
|
|
1148
1147
|
}
|
|
1149
|
-
interface AdminSignInRequest {
|
|
1150
|
-
email: string;
|
|
1151
|
-
password: string;
|
|
1152
|
-
}
|
|
1153
|
-
/**
|
|
1154
|
-
* Response returned by admin signup/signin endpoints.
|
|
1155
|
-
*
|
|
1156
|
-
* The admin flow is passwordless-after-signup: the endpoint triggers an
|
|
1157
|
-
* email (confirmation or sign-in link) and `is_email_sent` indicates whether
|
|
1158
|
-
* delivery was attempted successfully.
|
|
1159
|
-
*/
|
|
1160
|
-
interface AuthorizeResponse {
|
|
1161
|
-
is_email_sent: boolean;
|
|
1162
|
-
}
|
|
1163
|
-
/** Create a new internal DeloPay admin user. Requires the server admin API key. */
|
|
1164
|
-
interface CreateInternalUserRequest {
|
|
1165
|
-
name: string;
|
|
1166
|
-
email: string;
|
|
1167
|
-
password: string;
|
|
1168
|
-
/** Predefined internal role id (e.g. `internal_view_only`). Cannot be `internal_admin`. */
|
|
1169
|
-
role_id: string;
|
|
1170
|
-
}
|
|
1171
|
-
/** Create a new tenant-level admin user. Requires the server admin API key. */
|
|
1172
|
-
interface CreateTenantUserRequest {
|
|
1173
|
-
name: string;
|
|
1174
|
-
email: string;
|
|
1175
|
-
password: string;
|
|
1176
|
-
}
|
|
1177
|
-
/** Bootstrap a new merchant: creates user, merchant account, project, profile, and API keys in one call. */
|
|
1178
|
-
interface OnboardMerchantRequest {
|
|
1179
|
-
email: string;
|
|
1180
|
-
name: string;
|
|
1181
|
-
password: string;
|
|
1182
|
-
company_name: string;
|
|
1183
|
-
}
|
|
1184
|
-
/** All identifiers and keys produced by the onboard flow. */
|
|
1185
|
-
interface OnboardMerchantResponse {
|
|
1186
|
-
merchant_id: string;
|
|
1187
|
-
user_id: string;
|
|
1188
|
-
user_email: string;
|
|
1189
|
-
project_id: string;
|
|
1190
|
-
profile_id: string;
|
|
1191
|
-
/** Secret API key (sk_…). Show once; store securely. */
|
|
1192
|
-
api_key: string;
|
|
1193
|
-
/** Publishable key (pk_…) for client-side SDKs. */
|
|
1194
|
-
publishable_key: string;
|
|
1195
|
-
}
|
|
1196
|
-
/** Toggle public signup on or off at runtime. */
|
|
1197
|
-
interface SignupToggleRequest {
|
|
1198
|
-
enabled: boolean;
|
|
1199
|
-
}
|
|
1200
|
-
/** Current public-signup status. */
|
|
1201
|
-
interface SignupToggleResponse {
|
|
1202
|
-
signup_enabled: boolean;
|
|
1203
|
-
}
|
|
1204
|
-
interface AdminCustomerListParams {
|
|
1205
|
-
search?: string | null;
|
|
1206
|
-
is_active?: boolean | null;
|
|
1207
|
-
offset?: number | null;
|
|
1208
|
-
limit?: number | null;
|
|
1209
|
-
}
|
|
1210
|
-
interface CustomerSummary {
|
|
1211
|
-
customer_id: string;
|
|
1212
|
-
organization_id: string;
|
|
1213
|
-
shop_count: number;
|
|
1214
|
-
is_active: boolean;
|
|
1215
|
-
created_at: string;
|
|
1216
|
-
customer_name?: string | null;
|
|
1217
|
-
email?: string | null;
|
|
1218
|
-
}
|
|
1219
|
-
interface AdminCustomerListResponse {
|
|
1220
|
-
customers: CustomerSummary[];
|
|
1221
|
-
total_count: number;
|
|
1222
|
-
offset: number;
|
|
1223
|
-
limit: number;
|
|
1224
|
-
}
|
|
1225
|
-
interface CustomerUser {
|
|
1226
|
-
user_id: string;
|
|
1227
|
-
email?: string | null;
|
|
1228
|
-
name?: string | null;
|
|
1229
|
-
role_id?: string | null;
|
|
1230
|
-
is_active: boolean;
|
|
1231
|
-
created_at: string;
|
|
1232
|
-
}
|
|
1233
|
-
interface AdminCustomerDetail {
|
|
1234
|
-
customer_id: string;
|
|
1235
|
-
organization_id: string;
|
|
1236
|
-
employee_count: number;
|
|
1237
|
-
total_transactions: number;
|
|
1238
|
-
total_volume: number;
|
|
1239
|
-
created_at: string;
|
|
1240
|
-
customer_name?: string | null;
|
|
1241
|
-
projects: ProjectResponse[];
|
|
1242
|
-
shops: ShopResponse[];
|
|
1243
|
-
users: CustomerUser[];
|
|
1244
|
-
}
|
|
1245
|
-
interface AdminTransactionListParams {
|
|
1246
|
-
merchant_id?: string | null;
|
|
1247
|
-
shop_id?: string | null;
|
|
1248
|
-
status?: string | null;
|
|
1249
|
-
start_date?: string | null;
|
|
1250
|
-
end_date?: string | null;
|
|
1251
|
-
offset?: number | null;
|
|
1252
|
-
limit?: number | null;
|
|
1253
|
-
}
|
|
1254
|
-
interface AdminTransactionListResponse {
|
|
1255
|
-
data: PaymentResponse[];
|
|
1256
|
-
total_count?: number | null;
|
|
1257
|
-
}
|
|
1258
|
-
interface AdminAnalyticsRequest {
|
|
1259
|
-
start_date?: string | null;
|
|
1260
|
-
end_date?: string | null;
|
|
1261
|
-
}
|
|
1262
|
-
interface OverviewStat {
|
|
1263
|
-
label: string;
|
|
1264
|
-
value: number;
|
|
1265
|
-
change_percent: number;
|
|
1266
|
-
}
|
|
1267
|
-
interface OverviewStatsResponse {
|
|
1268
|
-
total_accounts: OverviewStat;
|
|
1269
|
-
total_admins: OverviewStat;
|
|
1270
|
-
audit_events: OverviewStat;
|
|
1271
|
-
}
|
|
1272
|
-
interface PlatformAnalyticsResponse {
|
|
1273
|
-
total_customers: number;
|
|
1274
|
-
total_shops: number;
|
|
1275
|
-
total_transactions: number;
|
|
1276
|
-
total_volume: number;
|
|
1277
|
-
total_fees_collected: number;
|
|
1278
|
-
period_start: string;
|
|
1279
|
-
period_end: string;
|
|
1280
|
-
}
|
|
1281
|
-
interface PaymentAnalyticsRequest {
|
|
1282
|
-
period?: number | null;
|
|
1283
|
-
currency?: string | null;
|
|
1284
|
-
}
|
|
1285
|
-
interface PaymentStat {
|
|
1286
|
-
label: string;
|
|
1287
|
-
value: number;
|
|
1288
|
-
change_percent: number;
|
|
1289
|
-
}
|
|
1290
|
-
interface PaymentAnalyticsResponse {
|
|
1291
|
-
total_volume: PaymentStat;
|
|
1292
|
-
success_rate: PaymentStat;
|
|
1293
|
-
transactions: PaymentStat;
|
|
1294
|
-
avg_transaction: PaymentStat;
|
|
1295
|
-
currency: string;
|
|
1296
|
-
period_days: number;
|
|
1297
|
-
}
|
|
1298
|
-
interface AuditLogListParams {
|
|
1299
|
-
user_id?: string | null;
|
|
1300
|
-
merchant_id?: string | null;
|
|
1301
|
-
profile_id?: string | null;
|
|
1302
|
-
action?: string | null;
|
|
1303
|
-
entity_type?: string | null;
|
|
1304
|
-
start_date?: string | null;
|
|
1305
|
-
end_date?: string | null;
|
|
1306
|
-
offset?: number | null;
|
|
1307
|
-
limit?: number | null;
|
|
1308
|
-
}
|
|
1309
|
-
interface AuditLogResponse {
|
|
1310
|
-
id: string;
|
|
1311
|
-
user_id: string;
|
|
1312
|
-
action: string;
|
|
1313
|
-
entity_type: string;
|
|
1314
|
-
created_at: string;
|
|
1315
|
-
merchant_id?: string | null;
|
|
1316
|
-
profile_id?: string | null;
|
|
1317
|
-
entity_id?: string | null;
|
|
1318
|
-
details?: unknown | null;
|
|
1319
|
-
ip_address?: string | null;
|
|
1320
|
-
}
|
|
1321
|
-
interface AuditLogListResponse {
|
|
1322
|
-
entries: AuditLogResponse[];
|
|
1323
|
-
total_count: number;
|
|
1324
|
-
offset: number;
|
|
1325
|
-
limit: number;
|
|
1326
|
-
}
|
|
1327
1148
|
interface MerchantAccountCreateRequest {
|
|
1328
1149
|
merchant_id: string;
|
|
1329
1150
|
merchant_name?: string | null;
|
|
@@ -1484,19 +1305,6 @@ interface AuthenticationResponse {
|
|
|
1484
1305
|
return_url?: string | null;
|
|
1485
1306
|
[key: string]: unknown;
|
|
1486
1307
|
}
|
|
1487
|
-
interface CardIssuerCreateRequest {
|
|
1488
|
-
issuer_name: string;
|
|
1489
|
-
}
|
|
1490
|
-
interface CardIssuerUpdateRequest {
|
|
1491
|
-
issuer_name: string;
|
|
1492
|
-
}
|
|
1493
|
-
interface CardIssuerResponse {
|
|
1494
|
-
id: string;
|
|
1495
|
-
issuer_name: string;
|
|
1496
|
-
}
|
|
1497
|
-
interface CardIssuerListResponse {
|
|
1498
|
-
issuers: CardIssuerResponse[];
|
|
1499
|
-
}
|
|
1500
1308
|
interface StripeConnectAccountRequest {
|
|
1501
1309
|
merchant_id: string;
|
|
1502
1310
|
profile_id: string;
|
|
@@ -1568,49 +1376,6 @@ interface EventDeliveryAttemptResponse {
|
|
|
1568
1376
|
response_body?: string | null;
|
|
1569
1377
|
error_message?: string | null;
|
|
1570
1378
|
}
|
|
1571
|
-
interface GsmRuleCreateRequest {
|
|
1572
|
-
connector: string;
|
|
1573
|
-
flow: string;
|
|
1574
|
-
sub_flow: string;
|
|
1575
|
-
code: string;
|
|
1576
|
-
message: string;
|
|
1577
|
-
status: string;
|
|
1578
|
-
decision: GsmDecision;
|
|
1579
|
-
step_up_possible: boolean;
|
|
1580
|
-
clear_pan_possible: boolean;
|
|
1581
|
-
router_error?: string | null;
|
|
1582
|
-
unified_code?: string | null;
|
|
1583
|
-
unified_message?: string | null;
|
|
1584
|
-
}
|
|
1585
|
-
interface GsmRuleUpdateRequest {
|
|
1586
|
-
connector: string;
|
|
1587
|
-
flow: string;
|
|
1588
|
-
sub_flow: string;
|
|
1589
|
-
code: string;
|
|
1590
|
-
message: string;
|
|
1591
|
-
status?: string | null;
|
|
1592
|
-
router_error?: string | null;
|
|
1593
|
-
decision?: GsmDecision | null;
|
|
1594
|
-
step_up_possible?: boolean | null;
|
|
1595
|
-
unified_code?: string | null;
|
|
1596
|
-
unified_message?: string | null;
|
|
1597
|
-
}
|
|
1598
|
-
interface GsmRuleResponse {
|
|
1599
|
-
connector: string;
|
|
1600
|
-
flow: string;
|
|
1601
|
-
sub_flow: string;
|
|
1602
|
-
code: string;
|
|
1603
|
-
message: string;
|
|
1604
|
-
status: string;
|
|
1605
|
-
decision: GsmDecision;
|
|
1606
|
-
step_up_possible: boolean;
|
|
1607
|
-
clear_pan_possible: boolean;
|
|
1608
|
-
feature: string;
|
|
1609
|
-
feature_data: unknown;
|
|
1610
|
-
router_error?: string | null;
|
|
1611
|
-
unified_code?: string | null;
|
|
1612
|
-
unified_message?: string | null;
|
|
1613
|
-
}
|
|
1614
1379
|
interface PollStatusResponse {
|
|
1615
1380
|
poll_id: string;
|
|
1616
1381
|
status: PollStatus;
|
|
@@ -1938,14 +1703,6 @@ declare class Blocklist {
|
|
|
1938
1703
|
toggle(params: BlocklistToggleParams): Promise<Record<string, unknown>>;
|
|
1939
1704
|
}
|
|
1940
1705
|
|
|
1941
|
-
declare class CardIssuers {
|
|
1942
|
-
private readonly request;
|
|
1943
|
-
constructor(request: RequestFn);
|
|
1944
|
-
create(params: CardIssuerCreateRequest): Promise<CardIssuerResponse>;
|
|
1945
|
-
update(issuerId: string, params: CardIssuerUpdateRequest): Promise<CardIssuerResponse>;
|
|
1946
|
-
list(): Promise<CardIssuerListResponse>;
|
|
1947
|
-
}
|
|
1948
|
-
|
|
1949
1706
|
declare class Connectors {
|
|
1950
1707
|
private readonly request;
|
|
1951
1708
|
constructor(request: RequestFn);
|
|
@@ -2144,107 +1901,41 @@ declare class Events {
|
|
|
2144
1901
|
}
|
|
2145
1902
|
|
|
2146
1903
|
/**
|
|
2147
|
-
*
|
|
2148
|
-
*
|
|
1904
|
+
* Merchant-scoped fee schedules. Each schedule optionally targets a
|
|
1905
|
+
* specific shop (via `shop_id`). Merchants can CRUD their own fee
|
|
1906
|
+
* overrides; platform-wide fee programs are administered by Delopay and
|
|
1907
|
+
* not exposed here.
|
|
2149
1908
|
*/
|
|
2150
|
-
declare class
|
|
2151
|
-
private readonly request;
|
|
2152
|
-
constructor(request: RequestFn);
|
|
2153
|
-
/**
|
|
2154
|
-
* Create a new platform fee schedule for a merchant (admin only).
|
|
2155
|
-
*
|
|
2156
|
-
* @param params - Fee schedule parameters (percentage, flat fee, min/max).
|
|
2157
|
-
* @param merchantId - The merchant account to attach the schedule to.
|
|
2158
|
-
* @returns The created fee schedule.
|
|
2159
|
-
*/
|
|
2160
|
-
create(params: FeeScheduleCreateRequest, merchantId: string): Promise<FeeScheduleResponse>;
|
|
2161
|
-
/**
|
|
2162
|
-
* List all platform fee schedules for a merchant (admin only).
|
|
2163
|
-
*
|
|
2164
|
-
* @param merchantId - The merchant account ID.
|
|
2165
|
-
* @returns Array of fee schedules.
|
|
2166
|
-
*/
|
|
2167
|
-
list(merchantId: string): Promise<FeeScheduleResponse[]>;
|
|
2168
|
-
/**
|
|
2169
|
-
* Retrieve a single fee schedule by ID (admin only).
|
|
2170
|
-
*
|
|
2171
|
-
* @param feeId - The fee schedule ID.
|
|
2172
|
-
* @returns The fee schedule.
|
|
2173
|
-
*/
|
|
2174
|
-
retrieve(feeId: string): Promise<FeeScheduleResponse>;
|
|
2175
|
-
/**
|
|
2176
|
-
* Update a fee schedule (admin only).
|
|
2177
|
-
*
|
|
2178
|
-
* @param feeId - The fee schedule ID to update.
|
|
2179
|
-
* @param params - Fields to update.
|
|
2180
|
-
* @returns The updated fee schedule.
|
|
2181
|
-
*/
|
|
2182
|
-
update(feeId: string, params: FeeScheduleUpdateRequest): Promise<FeeScheduleResponse>;
|
|
2183
|
-
/**
|
|
2184
|
-
* Delete a fee schedule (admin only).
|
|
2185
|
-
*
|
|
2186
|
-
* @param feeId - The fee schedule ID to delete.
|
|
2187
|
-
* @returns The deleted fee schedule.
|
|
2188
|
-
*/
|
|
2189
|
-
delete(feeId: string): Promise<FeeScheduleResponse>;
|
|
2190
|
-
}
|
|
2191
|
-
/** Per-shop merchant fee schedule overrides (merchant-scoped). */
|
|
2192
|
-
declare class MerchantFees {
|
|
1909
|
+
declare class Fees {
|
|
2193
1910
|
private readonly request;
|
|
2194
1911
|
constructor(request: RequestFn);
|
|
2195
1912
|
/**
|
|
2196
|
-
* Create a merchant-scoped fee schedule
|
|
1913
|
+
* Create a merchant-scoped fee schedule (optionally per-shop).
|
|
2197
1914
|
*
|
|
2198
1915
|
* @param params - Fee schedule parameters.
|
|
2199
1916
|
* @param merchantId - The merchant account ID.
|
|
2200
|
-
* @returns The created fee schedule.
|
|
2201
1917
|
*/
|
|
2202
1918
|
create(params: FeeScheduleCreateRequest, merchantId: string): Promise<FeeScheduleResponse>;
|
|
2203
1919
|
/**
|
|
2204
|
-
* List merchant
|
|
1920
|
+
* List the merchant's own fee schedules.
|
|
2205
1921
|
*
|
|
2206
1922
|
* @param merchantId - The merchant account ID.
|
|
2207
|
-
* @returns Array of fee schedules.
|
|
2208
1923
|
*/
|
|
2209
1924
|
list(merchantId: string): Promise<FeeScheduleResponse[]>;
|
|
2210
1925
|
/**
|
|
2211
1926
|
* Update a merchant-scoped fee schedule.
|
|
2212
1927
|
*
|
|
2213
|
-
* @param feeId - The fee schedule ID
|
|
1928
|
+
* @param feeId - The fee schedule ID.
|
|
2214
1929
|
* @param params - Fields to update.
|
|
2215
|
-
* @returns The updated fee schedule.
|
|
2216
1930
|
*/
|
|
2217
1931
|
update(feeId: string, params: FeeScheduleUpdateRequest): Promise<FeeScheduleResponse>;
|
|
2218
1932
|
/**
|
|
2219
1933
|
* Delete a merchant-scoped fee schedule.
|
|
2220
1934
|
*
|
|
2221
|
-
* @param feeId - The fee schedule ID
|
|
2222
|
-
* @returns The deleted fee schedule.
|
|
1935
|
+
* @param feeId - The fee schedule ID.
|
|
2223
1936
|
*/
|
|
2224
1937
|
delete(feeId: string): Promise<FeeScheduleResponse>;
|
|
2225
1938
|
}
|
|
2226
|
-
/**
|
|
2227
|
-
* Manage Delopay platform fee schedules.
|
|
2228
|
-
*
|
|
2229
|
-
* - `fees.platform` — admin-only CRUD for per-merchant fee schedules.
|
|
2230
|
-
* - `fees.merchant` — merchant-scoped per-shop fee schedule overrides.
|
|
2231
|
-
*/
|
|
2232
|
-
declare class Fees {
|
|
2233
|
-
/** Admin-managed platform fee schedules. */
|
|
2234
|
-
readonly platform: PlatformFees;
|
|
2235
|
-
/** Merchant-managed per-shop fee schedule overrides. */
|
|
2236
|
-
readonly merchant: MerchantFees;
|
|
2237
|
-
constructor(request: RequestFn);
|
|
2238
|
-
}
|
|
2239
|
-
|
|
2240
|
-
declare class Gsm {
|
|
2241
|
-
private readonly request;
|
|
2242
|
-
constructor(request: RequestFn);
|
|
2243
|
-
create(params: GsmRuleCreateRequest): Promise<GsmRuleResponse>;
|
|
2244
|
-
retrieve(params: Record<string, unknown>): Promise<GsmRuleResponse>;
|
|
2245
|
-
update(params: GsmRuleUpdateRequest): Promise<GsmRuleResponse>;
|
|
2246
|
-
delete(params: Record<string, unknown>): Promise<GsmRuleResponse>;
|
|
2247
|
-
}
|
|
2248
1939
|
|
|
2249
1940
|
/** View and revoke recurring payment mandates. */
|
|
2250
1941
|
declare class Mandates {
|
|
@@ -3157,13 +2848,6 @@ declare class AnalyticsDashboard {
|
|
|
3157
2848
|
generate(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3158
2849
|
}
|
|
3159
2850
|
|
|
3160
|
-
declare class Cache {
|
|
3161
|
-
private readonly request;
|
|
3162
|
-
constructor(request: RequestFn);
|
|
3163
|
-
/** Invalidate a cache entry by key. `POST /cache/invalidate/{key}` */
|
|
3164
|
-
invalidate(key: string): Promise<Record<string, unknown>>;
|
|
3165
|
-
}
|
|
3166
|
-
|
|
3167
2851
|
declare class Cards {
|
|
3168
2852
|
private readonly request;
|
|
3169
2853
|
constructor(request: RequestFn);
|
|
@@ -3175,19 +2859,6 @@ declare class Cards {
|
|
|
3175
2859
|
retrieve(bin: string): Promise<Record<string, unknown>>;
|
|
3176
2860
|
}
|
|
3177
2861
|
|
|
3178
|
-
declare class Configs {
|
|
3179
|
-
private readonly request;
|
|
3180
|
-
constructor(request: RequestFn);
|
|
3181
|
-
/** Create a config. `POST /configs` */
|
|
3182
|
-
create(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3183
|
-
/** Retrieve a config by key. `GET /configs/{key}` */
|
|
3184
|
-
retrieve(key: string): Promise<Record<string, unknown>>;
|
|
3185
|
-
/** Update a config. `PUT /configs/{key}` */
|
|
3186
|
-
update(key: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3187
|
-
/** Delete a config. `DELETE /configs/{key}` */
|
|
3188
|
-
delete(key: string): Promise<Record<string, unknown>>;
|
|
3189
|
-
}
|
|
3190
|
-
|
|
3191
2862
|
declare class Export {
|
|
3192
2863
|
private readonly request;
|
|
3193
2864
|
constructor(request: RequestFn);
|
|
@@ -3366,9 +3037,7 @@ declare class Delopay {
|
|
|
3366
3037
|
readonly apiKeys: ApiKeys;
|
|
3367
3038
|
readonly billing: Billing;
|
|
3368
3039
|
readonly blocklist: Blocklist;
|
|
3369
|
-
readonly cardIssuers: CardIssuers;
|
|
3370
3040
|
readonly fees: Fees;
|
|
3371
|
-
readonly gsm: Gsm;
|
|
3372
3041
|
readonly merchantAccounts: MerchantAccounts;
|
|
3373
3042
|
readonly projects: Projects;
|
|
3374
3043
|
readonly relay: Relay;
|
|
@@ -3383,8 +3052,6 @@ declare class Delopay {
|
|
|
3383
3052
|
readonly analyticsDashboard: AnalyticsDashboard;
|
|
3384
3053
|
readonly featureMatrix: FeatureMatrix;
|
|
3385
3054
|
readonly cards: Cards;
|
|
3386
|
-
readonly configs: Configs;
|
|
3387
|
-
readonly cache: Cache;
|
|
3388
3055
|
/**
|
|
3389
3056
|
* Create a new Delopay client.
|
|
3390
3057
|
*
|
|
@@ -3556,4 +3223,4 @@ declare const Webhooks: {
|
|
|
3556
3223
|
verify(rawBody: string, signatureHeader: string, secret: string, options?: VerifyOptions): Promise<WebhookEvent>;
|
|
3557
3224
|
};
|
|
3558
3225
|
|
|
3559
|
-
export { type Address, type AddressDetails, type AdminAdjustmentRequest, type AdminAdjustmentResponse, type
|
|
3226
|
+
export { type Address, type AddressDetails, type AdminAdjustmentRequest, type AdminAdjustmentResponse, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, Analytics, AnalyticsDashboard, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, Cards, type ChangePasswordRequest, type ConnectorCreateRequest, type ConnectorListResponse, type ConnectorResponse, type ConnectorType, type ConnectorUpdateRequest, type Currency, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, Delopay, DelopayAuthenticationError, DelopayError, type DelopayLogger, type DelopayOptions, type DisputeEvidenceRequest, type DisputeListParams, type DisputeResponse, type DisputeStage, type DisputeStatus, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventResponse, type EventType, Export, FeatureMatrix, type FeeOwner, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeType, Files, Forex, type ForgotPasswordRequest, type FromEmailRequest, type GatewayConnectRequest, type GatewayResponse, type IntentStatus, type InviteUsersRequest, type InviteUsersResponse, type LedgerEntry, type LedgerListParams, type LedgerResponse, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantOverviewResponse, type MerchantOverviewStat, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentConfirmRequest, type PaymentCreateRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodListParams, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentUpdateRequest, type PayoutCreateRequest, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PollStatus, type PollStatusResponse, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileResponse, type ProfileUpdateRequest, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type RecoveryCodesResponse, type RefundCreateRequest, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCreateRequest, type RegionResponse, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestFn, type RequestOptions, type ResetPasswordRequest, type RoutingConfigCreateRequest, type RoutingConfigResponse, type ShopCreateRequest, type ShopResponse, type ShopStats, type ShopUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type SubscriptionCreateRequest, type SubscriptionListParams, type SubscriptionListResponse, type SubscriptionResponse, type SubscriptionUpdateRequest, Subscriptions, type SwitchMerchantRequest, type SwitchProfileRequest, type Terminate2faQueryParams, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionType, type UpdateUserDetailsRequest, type UserResponse, type VerifyOptions, type VerifyTotpRequest, type WebhookDeliveryAttempt, type WebhookEvent, Webhooks };
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Analytics,
|
|
3
3
|
AnalyticsDashboard,
|
|
4
|
-
Cache,
|
|
5
4
|
Cards,
|
|
6
|
-
Configs,
|
|
7
5
|
Delopay,
|
|
8
6
|
DelopayAuthenticationError,
|
|
9
7
|
DelopayError,
|
|
@@ -14,13 +12,11 @@ import {
|
|
|
14
12
|
Regions,
|
|
15
13
|
Subscriptions,
|
|
16
14
|
Webhooks
|
|
17
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NKSNI5HS.js";
|
|
18
16
|
export {
|
|
19
17
|
Analytics,
|
|
20
18
|
AnalyticsDashboard,
|
|
21
|
-
Cache,
|
|
22
19
|
Cards,
|
|
23
|
-
Configs,
|
|
24
20
|
Delopay,
|
|
25
21
|
DelopayAuthenticationError,
|
|
26
22
|
DelopayError,
|