@delopay/sdk 0.6.0 → 0.8.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.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';
@@ -764,14 +763,6 @@ interface AutoRechargeUpdateRequest {
764
763
  threshold_amount?: number | null;
765
764
  recharge_amount?: number | null;
766
765
  }
767
- interface AdminAdjustmentRequest {
768
- amount: number;
769
- description: string;
770
- }
771
- interface AdminAdjustmentResponse {
772
- ledger_entry_id: string;
773
- new_balance: number;
774
- }
775
766
  interface AllocationTransferRequest {
776
767
  profile_id: string;
777
768
  amount: number;
@@ -1146,184 +1137,6 @@ interface PhoneOtpVerifyResponse {
1146
1137
  interface UpdateUserDetailsRequest {
1147
1138
  name?: string | null;
1148
1139
  }
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
1140
  interface MerchantAccountCreateRequest {
1328
1141
  merchant_id: string;
1329
1142
  merchant_name?: string | null;
@@ -1484,19 +1297,6 @@ interface AuthenticationResponse {
1484
1297
  return_url?: string | null;
1485
1298
  [key: string]: unknown;
1486
1299
  }
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
1300
  interface StripeConnectAccountRequest {
1501
1301
  merchant_id: string;
1502
1302
  profile_id: string;
@@ -1568,49 +1368,6 @@ interface EventDeliveryAttemptResponse {
1568
1368
  response_body?: string | null;
1569
1369
  error_message?: string | null;
1570
1370
  }
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
1371
  interface PollStatusResponse {
1615
1372
  poll_id: string;
1616
1373
  status: PollStatus;
@@ -1903,22 +1660,6 @@ declare class Billing {
1903
1660
  * @returns The updated billing profile.
1904
1661
  */
1905
1662
  updateAutoRecharge(merchantId: string, params: AutoRechargeUpdateRequest): Promise<BillingProfileResponse>;
1906
- /**
1907
- * Admin: manually credit a merchant's balance (e.g. promotional credit).
1908
- *
1909
- * @param merchantId - The merchant account ID.
1910
- * @param params - Credit amount and reason.
1911
- * @returns The adjustment result.
1912
- */
1913
- adminCredit(merchantId: string, params: AdminAdjustmentRequest): Promise<AdminAdjustmentResponse>;
1914
- /**
1915
- * Admin: manually debit a merchant's balance.
1916
- *
1917
- * @param merchantId - The merchant account ID.
1918
- * @param params - Debit amount and reason.
1919
- * @returns The adjustment result.
1920
- */
1921
- adminDebit(merchantId: string, params: AdminAdjustmentRequest): Promise<AdminAdjustmentResponse>;
1922
1663
  }
1923
1664
 
1924
1665
  interface BlocklistListParams {
@@ -1938,14 +1679,6 @@ declare class Blocklist {
1938
1679
  toggle(params: BlocklistToggleParams): Promise<Record<string, unknown>>;
1939
1680
  }
1940
1681
 
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
1682
  declare class Connectors {
1950
1683
  private readonly request;
1951
1684
  constructor(request: RequestFn);
@@ -2144,107 +1877,41 @@ declare class Events {
2144
1877
  }
2145
1878
 
2146
1879
  /**
2147
- * Admin-only fee schedule management.
2148
- * Requires an admin API key.
1880
+ * Merchant-scoped fee schedules. Each schedule optionally targets a
1881
+ * specific shop (via `shop_id`). Merchants can CRUD their own fee
1882
+ * overrides; platform-wide fee programs are administered by Delopay and
1883
+ * not exposed here.
2149
1884
  */
2150
- declare class PlatformFees {
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 {
1885
+ declare class Fees {
2193
1886
  private readonly request;
2194
1887
  constructor(request: RequestFn);
2195
1888
  /**
2196
- * Create a merchant-scoped fee schedule override for a specific shop.
1889
+ * Create a merchant-scoped fee schedule (optionally per-shop).
2197
1890
  *
2198
1891
  * @param params - Fee schedule parameters.
2199
1892
  * @param merchantId - The merchant account ID.
2200
- * @returns The created fee schedule.
2201
1893
  */
2202
1894
  create(params: FeeScheduleCreateRequest, merchantId: string): Promise<FeeScheduleResponse>;
2203
1895
  /**
2204
- * List merchant-scoped fee schedules.
1896
+ * List the merchant's own fee schedules.
2205
1897
  *
2206
1898
  * @param merchantId - The merchant account ID.
2207
- * @returns Array of fee schedules.
2208
1899
  */
2209
1900
  list(merchantId: string): Promise<FeeScheduleResponse[]>;
2210
1901
  /**
2211
1902
  * Update a merchant-scoped fee schedule.
2212
1903
  *
2213
- * @param feeId - The fee schedule ID to update.
1904
+ * @param feeId - The fee schedule ID.
2214
1905
  * @param params - Fields to update.
2215
- * @returns The updated fee schedule.
2216
1906
  */
2217
1907
  update(feeId: string, params: FeeScheduleUpdateRequest): Promise<FeeScheduleResponse>;
2218
1908
  /**
2219
1909
  * Delete a merchant-scoped fee schedule.
2220
1910
  *
2221
- * @param feeId - The fee schedule ID to delete.
2222
- * @returns The deleted fee schedule.
1911
+ * @param feeId - The fee schedule ID.
2223
1912
  */
2224
1913
  delete(feeId: string): Promise<FeeScheduleResponse>;
2225
1914
  }
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
1915
 
2249
1916
  /** View and revoke recurring payment mandates. */
2250
1917
  declare class Mandates {
@@ -3157,13 +2824,6 @@ declare class AnalyticsDashboard {
3157
2824
  generate(params: Record<string, unknown>): Promise<Record<string, unknown>>;
3158
2825
  }
3159
2826
 
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
2827
  declare class Cards {
3168
2828
  private readonly request;
3169
2829
  constructor(request: RequestFn);
@@ -3175,19 +2835,6 @@ declare class Cards {
3175
2835
  retrieve(bin: string): Promise<Record<string, unknown>>;
3176
2836
  }
3177
2837
 
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
2838
  declare class Export {
3192
2839
  private readonly request;
3193
2840
  constructor(request: RequestFn);
@@ -3366,9 +3013,7 @@ declare class Delopay {
3366
3013
  readonly apiKeys: ApiKeys;
3367
3014
  readonly billing: Billing;
3368
3015
  readonly blocklist: Blocklist;
3369
- readonly cardIssuers: CardIssuers;
3370
3016
  readonly fees: Fees;
3371
- readonly gsm: Gsm;
3372
3017
  readonly merchantAccounts: MerchantAccounts;
3373
3018
  readonly projects: Projects;
3374
3019
  readonly relay: Relay;
@@ -3383,8 +3028,6 @@ declare class Delopay {
3383
3028
  readonly analyticsDashboard: AnalyticsDashboard;
3384
3029
  readonly featureMatrix: FeatureMatrix;
3385
3030
  readonly cards: Cards;
3386
- readonly configs: Configs;
3387
- readonly cache: Cache;
3388
3031
  /**
3389
3032
  * Create a new Delopay client.
3390
3033
  *
@@ -3556,4 +3199,4 @@ declare const Webhooks: {
3556
3199
  verify(rawBody: string, signatureHeader: string, secret: string, options?: VerifyOptions): Promise<WebhookEvent>;
3557
3200
  };
3558
3201
 
3559
- export { type Address, type AddressDetails, type AdminAdjustmentRequest, type AdminAdjustmentResponse, type AdminAnalyticsRequest, type AdminCustomerDetail, type AdminCustomerListParams, type AdminCustomerListResponse, type AdminSignInRequest, type AdminTransactionListParams, type AdminTransactionListResponse, 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 AuditLogListParams, type AuditLogListResponse, type AuditLogResponse, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AuthorizeResponse, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, Cache, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardIssuerCreateRequest, type CardIssuerListResponse, type CardIssuerResponse, type CardIssuerUpdateRequest, Cards, type ChangePasswordRequest, Configs, type ConnectorCreateRequest, type ConnectorListResponse, type ConnectorResponse, type ConnectorType, type ConnectorUpdateRequest, type CreateInternalUserRequest, type CreateTenantUserRequest, type Currency, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerSummary, type CustomerUpdateRequest, type CustomerUser, 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 GsmDecision, type GsmRuleCreateRequest, type GsmRuleResponse, type GsmRuleUpdateRequest, 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 OnboardMerchantRequest, type OnboardMerchantResponse, type OverviewStat, type OverviewStatsResponse, type PaymentAnalyticsRequest, type PaymentAnalyticsResponse, 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 PaymentStat, 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 PlatformAnalyticsResponse, 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 SignupToggleRequest, type SignupToggleResponse, 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 };
3202
+ export { type Address, type AddressDetails, 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-LCF7ILAH.js";
15
+ } from "./chunk-SPWI4Z6T.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,