@delopay/sdk 0.117.0 → 0.119.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-RN4LGMQM.js → chunk-IQIUYV2B.js} +72 -4
- package/dist/chunk-IQIUYV2B.js.map +1 -0
- package/dist/index.cjs +71 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +285 -11
- package/dist/index.d.ts +285 -11
- package/dist/index.js +1 -1
- package/dist/internal.cjs +84 -3
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +42 -3
- package/dist/internal.d.ts +42 -3
- package/dist/internal.js +14 -1
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-RN4LGMQM.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -527,14 +527,19 @@ interface PaymentAttemptsListResponse {
|
|
|
527
527
|
/**
|
|
528
528
|
* Which entity a status-history event belongs to.
|
|
529
529
|
*
|
|
530
|
-
* `risk` and `
|
|
531
|
-
* `risk` carries a processor risk signal (early fraud warning,
|
|
532
|
-
*
|
|
533
|
-
* tab opened/blocked, abandonment)
|
|
534
|
-
*
|
|
535
|
-
*
|
|
536
|
-
|
|
537
|
-
|
|
530
|
+
* `risk`, `checkout` and `routing` are timeline events with no underlying
|
|
531
|
+
* status change: `risk` carries a processor risk signal (early fraud warning,
|
|
532
|
+
* manual review), `checkout` a buyer-side checkout event (native-pane
|
|
533
|
+
* selection, external tab opened/blocked, abandonment), and `routing` a rail
|
|
534
|
+
* handover — the payment settled on a different provider than the one that
|
|
535
|
+
* last failed on the same attempt, which happens when a buyer falls back to
|
|
536
|
+
* the card form after a native pane errors. For all three, `status` holds the
|
|
537
|
+
* event name rather than a payment state, and `entity_id` names what it is
|
|
538
|
+
* about (the processor's signal id, the native-pane method key, or the
|
|
539
|
+
* connector the payment moved away from — with `connector` naming the one
|
|
540
|
+
* that settled it).
|
|
541
|
+
*/
|
|
542
|
+
type PaymentStatusHistoryEntityType = 'payment' | 'attempt' | 'refund' | 'dispute' | 'risk' | 'checkout' | 'routing';
|
|
538
543
|
/**
|
|
539
544
|
* One event on a payment's status timeline: the creation of, or a status
|
|
540
545
|
* transition on, the payment intent or one of its attempts / refunds /
|
|
@@ -7259,6 +7264,190 @@ interface MerchantAuditLogListResponse {
|
|
|
7259
7264
|
offset: number;
|
|
7260
7265
|
limit: number;
|
|
7261
7266
|
}
|
|
7267
|
+
/**
|
|
7268
|
+
* Output format of an export.
|
|
7269
|
+
*
|
|
7270
|
+
* Selects an `Accept` header — `text/csv`, `application/json` or
|
|
7271
|
+
* `application/pdf` — rather than a request field, because an export reuses its
|
|
7272
|
+
* list's filter model as literally the same type and several of those are
|
|
7273
|
+
* `deny_unknown_fields`.
|
|
7274
|
+
*
|
|
7275
|
+
* `csv` and `pdf` come back as a `Blob`; `json` comes back as an
|
|
7276
|
+
* {@link ExportEnvelope}. The API's own default is `csv`, but the SDK always
|
|
7277
|
+
* asks explicitly and defaults to `json`, because a method that returns parsed
|
|
7278
|
+
* records is the useful default in a typed client.
|
|
7279
|
+
*
|
|
7280
|
+
* `pdf` is bounded far tighter than the other two — 500 rows against 25,000 —
|
|
7281
|
+
* because a PDF is a document someone reads, not a way to move a spreadsheet.
|
|
7282
|
+
* Over either bound the request is **refused**, never silently truncated.
|
|
7283
|
+
*/
|
|
7284
|
+
type ExportFormat = 'csv' | 'json' | 'pdf';
|
|
7285
|
+
/**
|
|
7286
|
+
* Options for the JSON path: `format` omitted, or explicitly `'json'`.
|
|
7287
|
+
*
|
|
7288
|
+
* The three option types below are separate rather than one generic with an
|
|
7289
|
+
* optional field, and that is load-bearing. A generic `{ format?: F }` is
|
|
7290
|
+
* satisfied by `{}` for **every** `F`, so `ExportOptions<'csv' | 'pdf'>` was
|
|
7291
|
+
* satisfied by an empty object — which selected the `Blob` overload while the
|
|
7292
|
+
* client, seeing no format, asked for and returned JSON. The promise and the
|
|
7293
|
+
* value disagreed, and nothing said so.
|
|
7294
|
+
*/
|
|
7295
|
+
interface JsonExportOptions {
|
|
7296
|
+
format?: 'json';
|
|
7297
|
+
}
|
|
7298
|
+
/**
|
|
7299
|
+
* Options for a binary path. `format` is **required**: `csv` and `pdf` are the
|
|
7300
|
+
* formats you have to ask for, and an absent one can only mean JSON.
|
|
7301
|
+
*/
|
|
7302
|
+
interface BinaryExportOptions {
|
|
7303
|
+
format: 'csv' | 'pdf';
|
|
7304
|
+
}
|
|
7305
|
+
/**
|
|
7306
|
+
* Options whose format is chosen at runtime.
|
|
7307
|
+
*
|
|
7308
|
+
* A caller holding an `ExportFormat` variable cannot know which of the two
|
|
7309
|
+
* paths it will take, so this resolves to `ExportEnvelope<T> | Blob` and makes
|
|
7310
|
+
* them narrow it. Previously such a caller matched no overload at all.
|
|
7311
|
+
*/
|
|
7312
|
+
interface DynamicExportOptions {
|
|
7313
|
+
format: ExportFormat;
|
|
7314
|
+
}
|
|
7315
|
+
/** Any of the three shapes an export method accepts. */
|
|
7316
|
+
type ExportOptions = JsonExportOptions | BinaryExportOptions | DynamicExportOptions;
|
|
7317
|
+
/**
|
|
7318
|
+
* The `json` shape of every export.
|
|
7319
|
+
*
|
|
7320
|
+
* `filters` echoes what the file was produced under, so the limitation travels
|
|
7321
|
+
* inside the data rather than living only in the call site that made it.
|
|
7322
|
+
*/
|
|
7323
|
+
interface ExportEnvelope<T> {
|
|
7324
|
+
records: T[];
|
|
7325
|
+
record_count: number;
|
|
7326
|
+
filters: Record<string, unknown>;
|
|
7327
|
+
}
|
|
7328
|
+
/** One row of the transactions export. */
|
|
7329
|
+
interface TransactionExportRecord {
|
|
7330
|
+
payment_id: string;
|
|
7331
|
+
merchant_id: string;
|
|
7332
|
+
/** The shop the payment belongs to. */
|
|
7333
|
+
shop_id: string | null;
|
|
7334
|
+
status: string;
|
|
7335
|
+
amount: number;
|
|
7336
|
+
currency: string | null;
|
|
7337
|
+
/** ISO 8601, UTC. */
|
|
7338
|
+
created_at: string;
|
|
7339
|
+
}
|
|
7340
|
+
/**
|
|
7341
|
+
* Filters of the transactions export.
|
|
7342
|
+
*
|
|
7343
|
+
* `start_date` is **required**. It used to default to a hardcoded 2020-01-01,
|
|
7344
|
+
* which made the cheapest request to write the most expensive to serve.
|
|
7345
|
+
*
|
|
7346
|
+
* Both dates accept ISO 8601 with an offset (`2026-08-01T00:00:00Z`); the
|
|
7347
|
+
* zone-less form the endpoint originally required is still accepted and read as
|
|
7348
|
+
* UTC.
|
|
7349
|
+
*/
|
|
7350
|
+
interface TransactionExportParams {
|
|
7351
|
+
/**
|
|
7352
|
+
* Narrow to one shop. A shop-scoped token may only name its own shop, and a
|
|
7353
|
+
* merchant-level caller may only name one of its merchant's — anything else
|
|
7354
|
+
* is an error rather than an empty file.
|
|
7355
|
+
*/
|
|
7356
|
+
shop_id?: string;
|
|
7357
|
+
start_date: string;
|
|
7358
|
+
end_date?: string;
|
|
7359
|
+
/** A payment status. An unknown one is a 400, not an empty export. */
|
|
7360
|
+
status?: string;
|
|
7361
|
+
}
|
|
7362
|
+
/** One row of the refunds export. */
|
|
7363
|
+
interface RefundExportRecord {
|
|
7364
|
+
refund_id: string;
|
|
7365
|
+
payment_id: string;
|
|
7366
|
+
profile_id: string | null;
|
|
7367
|
+
status: string;
|
|
7368
|
+
amount: number;
|
|
7369
|
+
currency: string;
|
|
7370
|
+
reason: string | null;
|
|
7371
|
+
connector: string;
|
|
7372
|
+
error_code: string | null;
|
|
7373
|
+
error_message: string | null;
|
|
7374
|
+
created_at: string | null;
|
|
7375
|
+
updated_at: string | null;
|
|
7376
|
+
}
|
|
7377
|
+
/** One row of the disputes export. */
|
|
7378
|
+
interface DisputeExportRecord {
|
|
7379
|
+
dispute_id: string;
|
|
7380
|
+
payment_id: string;
|
|
7381
|
+
attempt_id: string;
|
|
7382
|
+
profile_id: string | null;
|
|
7383
|
+
dispute_stage: string;
|
|
7384
|
+
dispute_status: string;
|
|
7385
|
+
amount: string;
|
|
7386
|
+
currency: string;
|
|
7387
|
+
connector: string;
|
|
7388
|
+
connector_status: string;
|
|
7389
|
+
connector_dispute_id: string;
|
|
7390
|
+
connector_reason: string | null;
|
|
7391
|
+
connector_reason_code: string | null;
|
|
7392
|
+
challenge_required_by: string | null;
|
|
7393
|
+
created_at: string;
|
|
7394
|
+
}
|
|
7395
|
+
/** One row of the payouts export. */
|
|
7396
|
+
interface PayoutExportRecord {
|
|
7397
|
+
payout_id: string;
|
|
7398
|
+
profile_id: string;
|
|
7399
|
+
customer_id: string | null;
|
|
7400
|
+
status: string;
|
|
7401
|
+
amount: number;
|
|
7402
|
+
currency: string;
|
|
7403
|
+
payout_type: string | null;
|
|
7404
|
+
connector: string | null;
|
|
7405
|
+
error_code: string | null;
|
|
7406
|
+
error_message: string | null;
|
|
7407
|
+
merchant_order_reference_id: string | null;
|
|
7408
|
+
created_at: string;
|
|
7409
|
+
}
|
|
7410
|
+
/** One row of the subscriptions export. */
|
|
7411
|
+
interface SubscriptionExportRecord {
|
|
7412
|
+
id: string;
|
|
7413
|
+
merchant_reference_id: string | null;
|
|
7414
|
+
profile_id: string;
|
|
7415
|
+
customer_id: string;
|
|
7416
|
+
status: string;
|
|
7417
|
+
plan_id: string | null;
|
|
7418
|
+
item_price_id: string | null;
|
|
7419
|
+
coupon_code: string | null;
|
|
7420
|
+
test_mode: boolean | null;
|
|
7421
|
+
}
|
|
7422
|
+
/**
|
|
7423
|
+
* One row of a merchant's audit-log export.
|
|
7424
|
+
*
|
|
7425
|
+
* The columns answer the question an audit asks rather than mirroring the
|
|
7426
|
+
* dashboard table: who acted, on whose behalf if they were impersonating, what
|
|
7427
|
+
* they did, to what, when, and from where. `real_actor_*`, `session_id` and
|
|
7428
|
+
* `ip_address` are not visible columns anywhere and are the reason the log
|
|
7429
|
+
* exists. `details` is deliberately absent — an unbounded per-action blob is
|
|
7430
|
+
* unreadable in a spreadsheet cell.
|
|
7431
|
+
*/
|
|
7432
|
+
interface MerchantAuditLogExportRecord {
|
|
7433
|
+
created_at: string;
|
|
7434
|
+
actor_kind: string;
|
|
7435
|
+
actor_id: string | null;
|
|
7436
|
+
actor_name: string | null;
|
|
7437
|
+
real_actor_id: string | null;
|
|
7438
|
+
real_actor_name: string | null;
|
|
7439
|
+
impersonation_kind: string | null;
|
|
7440
|
+
session_id: string | null;
|
|
7441
|
+
ip_address: string | null;
|
|
7442
|
+
user_agent: string | null;
|
|
7443
|
+
profile_id: string | null;
|
|
7444
|
+
action: string;
|
|
7445
|
+
entity_type: string;
|
|
7446
|
+
entity_id: string | null;
|
|
7447
|
+
entity_name: string | null;
|
|
7448
|
+
/** Space-separated, so one cell holds the whole set. */
|
|
7449
|
+
changed_fields: string;
|
|
7450
|
+
}
|
|
7262
7451
|
|
|
7263
7452
|
/** Create and manage API keys for a merchant account. */
|
|
7264
7453
|
declare class ApiKeys {
|
|
@@ -9850,11 +10039,96 @@ declare class Cards {
|
|
|
9850
10039
|
retrieve(bin: string): Promise<Record<string, unknown>>;
|
|
9851
10040
|
}
|
|
9852
10041
|
|
|
10042
|
+
/**
|
|
10043
|
+
* Emit a list as a file.
|
|
10044
|
+
*
|
|
10045
|
+
* Every method here mirrors one list endpoint and takes **that list's own
|
|
10046
|
+
* filters**, unchanged — there is no second filter vocabulary for exports. The
|
|
10047
|
+
* shop scope is resolved the same way too, so an export cannot show a shop its
|
|
10048
|
+
* list would not: a shop-scoped token exports its own shop, and naming another
|
|
10049
|
+
* is refused rather than ignored.
|
|
10050
|
+
*
|
|
10051
|
+
* Every export is **one read**, not a paged walk, and is bounded at 25,000
|
|
10052
|
+
* rows (500 for `pdf`, which is a document rather than a data feed). Over the
|
|
10053
|
+
* bound the request is refused with `DE_07 export_row_limit_exceeded` carrying
|
|
10054
|
+
* `{entity, max_rows}` — a truncated finance file that reports success is the
|
|
10055
|
+
* thing these endpoints exist not to produce.
|
|
10056
|
+
*
|
|
10057
|
+
* `format` selects an `Accept` header, never a request field: an export reuses
|
|
10058
|
+
* its list's filter model as literally the same type, and several of those are
|
|
10059
|
+
* `deny_unknown_fields`, so a `format` key would be a 400. It defaults to
|
|
10060
|
+
* `json`, which resolves to a typed {@link ExportEnvelope}; `csv` and `pdf`
|
|
10061
|
+
* resolve to a `Blob`.
|
|
10062
|
+
*/
|
|
9853
10063
|
declare class Export {
|
|
9854
10064
|
private readonly request;
|
|
9855
10065
|
constructor(request: RequestFn);
|
|
9856
|
-
/**
|
|
9857
|
-
|
|
10066
|
+
/**
|
|
10067
|
+
* Transactions. `POST /export/transactions`
|
|
10068
|
+
*
|
|
10069
|
+
* Merchant-level: every shop under the merchant unless `shop_id` narrows it.
|
|
10070
|
+
* A `shop_id` that is not one of the merchant's own shops is an error, not an
|
|
10071
|
+
* empty file.
|
|
10072
|
+
*/
|
|
10073
|
+
transactions(params: TransactionExportParams, options?: JsonExportOptions): Promise<ExportEnvelope<TransactionExportRecord>>;
|
|
10074
|
+
transactions(params: TransactionExportParams, options: BinaryExportOptions): Promise<Blob>;
|
|
10075
|
+
transactions(params: TransactionExportParams, options: ExportOptions): Promise<ExportEnvelope<TransactionExportRecord> | Blob>;
|
|
10076
|
+
/**
|
|
10077
|
+
* The caller's own shop's transactions.
|
|
10078
|
+
* `POST /export/profile/transactions`
|
|
10079
|
+
*
|
|
10080
|
+
* Gated on the profile-level payment permission, which a shop-scoped role can
|
|
10081
|
+
* hold where the merchant-level one it replaces cannot — without this route a
|
|
10082
|
+
* shop user had no export at all.
|
|
10083
|
+
*/
|
|
10084
|
+
transactionsForProfile(params: TransactionExportParams, options?: JsonExportOptions): Promise<ExportEnvelope<TransactionExportRecord>>;
|
|
10085
|
+
transactionsForProfile(params: TransactionExportParams, options: BinaryExportOptions): Promise<Blob>;
|
|
10086
|
+
transactionsForProfile(params: TransactionExportParams, options: ExportOptions): Promise<ExportEnvelope<TransactionExportRecord> | Blob>;
|
|
10087
|
+
/** Refunds. `POST /refunds/list/export` */
|
|
10088
|
+
refunds(params?: RefundListParams, options?: JsonExportOptions): Promise<ExportEnvelope<RefundExportRecord>>;
|
|
10089
|
+
refunds(params: RefundListParams | undefined, options: BinaryExportOptions): Promise<Blob>;
|
|
10090
|
+
refunds(params: RefundListParams | undefined, options: ExportOptions): Promise<ExportEnvelope<RefundExportRecord> | Blob>;
|
|
10091
|
+
/** The caller's own shop's refunds. `POST /refunds/profile/list/export` */
|
|
10092
|
+
refundsForProfile(params?: RefundListParams, options?: JsonExportOptions): Promise<ExportEnvelope<RefundExportRecord>>;
|
|
10093
|
+
refundsForProfile(params: RefundListParams | undefined, options: BinaryExportOptions): Promise<Blob>;
|
|
10094
|
+
refundsForProfile(params: RefundListParams | undefined, options: ExportOptions): Promise<ExportEnvelope<RefundExportRecord> | Blob>;
|
|
10095
|
+
/** Disputes. `GET /disputes/list/export` */
|
|
10096
|
+
disputes(params?: DisputeListParams, options?: JsonExportOptions): Promise<ExportEnvelope<DisputeExportRecord>>;
|
|
10097
|
+
disputes(params: DisputeListParams | undefined, options: BinaryExportOptions): Promise<Blob>;
|
|
10098
|
+
disputes(params: DisputeListParams | undefined, options: ExportOptions): Promise<ExportEnvelope<DisputeExportRecord> | Blob>;
|
|
10099
|
+
/** The caller's own shop's disputes. `GET /disputes/profile/list/export` */
|
|
10100
|
+
disputesForProfile(params?: DisputeListParams, options?: JsonExportOptions): Promise<ExportEnvelope<DisputeExportRecord>>;
|
|
10101
|
+
disputesForProfile(params: DisputeListParams | undefined, options: BinaryExportOptions): Promise<Blob>;
|
|
10102
|
+
disputesForProfile(params: DisputeListParams | undefined, options: ExportOptions): Promise<ExportEnvelope<DisputeExportRecord> | Blob>;
|
|
10103
|
+
/** Payouts. `POST /payouts/list/export` */
|
|
10104
|
+
payouts(params: PayoutListParams, options?: JsonExportOptions): Promise<ExportEnvelope<PayoutExportRecord>>;
|
|
10105
|
+
payouts(params: PayoutListParams, options: BinaryExportOptions): Promise<Blob>;
|
|
10106
|
+
payouts(params: PayoutListParams, options: ExportOptions): Promise<ExportEnvelope<PayoutExportRecord> | Blob>;
|
|
10107
|
+
/** The caller's own shop's payouts. `POST /payouts/profile/list/export` */
|
|
10108
|
+
payoutsForProfile(params: PayoutListParams, options?: JsonExportOptions): Promise<ExportEnvelope<PayoutExportRecord>>;
|
|
10109
|
+
payoutsForProfile(params: PayoutListParams, options: BinaryExportOptions): Promise<Blob>;
|
|
10110
|
+
payoutsForProfile(params: PayoutListParams, options: ExportOptions): Promise<ExportEnvelope<PayoutExportRecord> | Blob>;
|
|
10111
|
+
/**
|
|
10112
|
+
* Subscriptions. `GET /subscriptions/list/export`
|
|
10113
|
+
*
|
|
10114
|
+
* `profileId` becomes the `X-Profile-Id` header, exactly as on the list. A
|
|
10115
|
+
* shop-scoped token exports its own shop whatever this says.
|
|
10116
|
+
*/
|
|
10117
|
+
subscriptions(profileId: string, params?: SubscriptionListParams, options?: JsonExportOptions): Promise<ExportEnvelope<SubscriptionExportRecord>>;
|
|
10118
|
+
subscriptions(profileId: string, params: SubscriptionListParams | undefined, options: BinaryExportOptions): Promise<Blob>;
|
|
10119
|
+
subscriptions(profileId: string, params: SubscriptionListParams | undefined, options: ExportOptions): Promise<ExportEnvelope<SubscriptionExportRecord> | Blob>;
|
|
10120
|
+
/** Settlement statements. `GET /settlement/statements/export` */
|
|
10121
|
+
/** One period's settlement lines. `GET /settlement/lines/export` */
|
|
10122
|
+
/**
|
|
10123
|
+
* The merchant's own audit log. `GET /audit/export`
|
|
10124
|
+
*
|
|
10125
|
+
* Requires a dashboard JWT whose role holds the merchant-level `AuditLog`
|
|
10126
|
+
* permission — a shop-scoped role cannot hold it. There is no `merchant_id`
|
|
10127
|
+
* parameter: the scope comes from the token.
|
|
10128
|
+
*/
|
|
10129
|
+
auditLog(params?: MerchantAuditLogListParams, options?: JsonExportOptions): Promise<ExportEnvelope<MerchantAuditLogExportRecord>>;
|
|
10130
|
+
auditLog(params: MerchantAuditLogListParams | undefined, options: BinaryExportOptions): Promise<Blob>;
|
|
10131
|
+
auditLog(params: MerchantAuditLogListParams | undefined, options: ExportOptions): Promise<ExportEnvelope<MerchantAuditLogExportRecord> | Blob>;
|
|
9858
10132
|
}
|
|
9859
10133
|
|
|
9860
10134
|
/**
|
|
@@ -12031,4 +12305,4 @@ declare const decodeNativePanes: typeof decodePanes;
|
|
|
12031
12305
|
/** @deprecated Renamed to {@link encodePanes}. Removed in 0.112.0. */
|
|
12032
12306
|
declare const encodeNativePanes: typeof encodePanes;
|
|
12033
12307
|
|
|
12034
|
-
export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChannel, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsGranularity, type AnalyticsMethodSlice, type AnalyticsOutcome, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, Audit, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CHECKOUT_LOCALES, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelModeOutcome, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardNetworkTypes, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutCustomField, type CheckoutEventKind, type CheckoutLocale, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSelection, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteEvidenceRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillBase, type DeviceDrillRequest, type DeviceDrillTarget, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeListParams, type DisputeOutcomeReporting, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsResponse, type EpayoutsRail, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventResponse, type EventType, Export, FeatureMatrix, type FeatureMatrixResponse, type FeatureStatus, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleDefaultPrecedence, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeStatementDetail, type FeeStatementSummary, type FeeType, Files, type FocusedCheckoutUrlParams, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GeoAnalyticsChild, type GeoAnalyticsResponse, type GeoAnalyticsTotals, type GeoCitySlice, type GeoCountrySlice, type GeoDrillRequest, type GeoLanguageSlice, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type ImpersonateEmployeeRequest, type IntentStatus, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LocalizableCopyField, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type MarginQuality, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantAuditActorInfo, type MerchantAuditActorKind, type MerchantAuditImpersonationKind, type MerchantAuditLogEntry, type MerchantAuditLogListParams, type MerchantAuditLogListResponse, type MerchantAuditSessionInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSurcharge, type MinimalRoleInfo, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneOpenTarget, type PaneRail, type PaneSurcharge, type PaneView, type PaneVisibility, type PanesCatalogResponse, type PanesConnectorCatalog, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentClientContextEntry, type PaymentClientContextListResponse, type PaymentConfirmRequest, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListOrder, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodAmountLimits, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodDisplayInfo, type PaymentMethodListInstallmentAmountDetails, type PaymentMethodListInstallmentOption, type PaymentMethodListInstallmentPlan, type PaymentMethodListIntentData, type PaymentMethodListParams, type PaymentMethodListResponse, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PaymentsDeletePolicyResponse, type PaymentsDeleteResponse, type PayoutCreateRequest, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PayseproMethod, type PayseproMethodsResponse, type PendingApprovalErrorDetails, type PendingOperation, type PendingOperationLimitContext, type PendingOperationListParams, type PendingOperationListResponse, type PendingOperationStatus, type PendingOperationSummary, type PerMethodSurchargeItem, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlanSlice, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProcessorCostBasis, type ProcessorCostBucket, type ProcessorCostSource, type ProcessorSlice, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfileResponse, type ProfileUpdateRequest, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, Risk, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingConfigCreateRequest, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RuleConnectorSelection, STRIPE_FALLBACK_PANE_CATALOG, STRIPE_FALLBACK_PANE_METHODS, STRIPE_NATIVE_PANE_METHODS, SURCHARGE_BORDER_STYLES, SURCHARGE_BORDER_WIDTHS, SURCHARGE_FIGURE_MODES, SURCHARGE_LABEL_MODES, SURCHARGE_POSITIONS, SURCHARGE_SHAPES, SURCHARGE_SIGNS, SURCHARGE_SIZES, SURCHARGE_STYLES, SURCHARGE_WEIGHTS, type ScopeDrillBase, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, Settlement, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementGenerateRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeAmountOperator, type SurchargeBorderStyle, type SurchargeBorderWidth, type SurchargeCondition, type SurchargeConditionSource, type SurchargeCurrencyOperator, type SurchargeDetailsResponse, type SurchargeDirection, type SurchargeFigureMode, type SurchargeFigurePart, type SurchargeFigurePlan, type SurchargeLabelMode, type SurchargeMetadataOperator, type SurchargeOperator, type SurchargePosition, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurchargeShape, type SurchargeSign, type SurchargeSize, type SurchargeStyle, type SurchargeWeight, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayBucketLabel, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionType, type TrustBadge, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, checkoutCopy, cloneBranding, cloneCustomField, cloneNativePane, clonePane, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeNativePanes, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultNativePane, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeNativePanes, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, leaf, logoDimensions, nativePaneMethodInfo, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, readableInkOn, ruleMatchToTree, sanitizeCustomCss, shadowFor, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validatePanes, verticalGapValue, visibleCustomFields };
|
|
12308
|
+
export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChannel, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsGranularity, type AnalyticsMethodSlice, type AnalyticsOutcome, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, Audit, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BinaryExportOptions, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CHECKOUT_LOCALES, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelModeOutcome, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardNetworkTypes, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutCustomField, type CheckoutEventKind, type CheckoutLocale, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSelection, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteEvidenceRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillBase, type DeviceDrillRequest, type DeviceDrillTarget, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeExportRecord, type DisputeListParams, type DisputeOutcomeReporting, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type DynamicExportOptions, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsResponse, type EpayoutsRail, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventResponse, type EventType, Export, type ExportEnvelope, type ExportFormat, type ExportOptions, FeatureMatrix, type FeatureMatrixResponse, type FeatureStatus, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleDefaultPrecedence, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeStatementDetail, type FeeStatementSummary, type FeeType, Files, type FocusedCheckoutUrlParams, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GeoAnalyticsChild, type GeoAnalyticsResponse, type GeoAnalyticsTotals, type GeoCitySlice, type GeoCountrySlice, type GeoDrillRequest, type GeoLanguageSlice, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type ImpersonateEmployeeRequest, type IntentStatus, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, type JsonExportOptions, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LocalizableCopyField, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type MarginQuality, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantAuditActorInfo, type MerchantAuditActorKind, type MerchantAuditImpersonationKind, type MerchantAuditLogEntry, type MerchantAuditLogExportRecord, type MerchantAuditLogListParams, type MerchantAuditLogListResponse, type MerchantAuditSessionInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSurcharge, type MinimalRoleInfo, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneOpenTarget, type PaneRail, type PaneSurcharge, type PaneView, type PaneVisibility, type PanesCatalogResponse, type PanesConnectorCatalog, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentClientContextEntry, type PaymentClientContextListResponse, type PaymentConfirmRequest, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListOrder, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodAmountLimits, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodDisplayInfo, type PaymentMethodListInstallmentAmountDetails, type PaymentMethodListInstallmentOption, type PaymentMethodListInstallmentPlan, type PaymentMethodListIntentData, type PaymentMethodListParams, type PaymentMethodListResponse, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PaymentsDeletePolicyResponse, type PaymentsDeleteResponse, type PayoutCreateRequest, type PayoutExportRecord, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PayseproMethod, type PayseproMethodsResponse, type PendingApprovalErrorDetails, type PendingOperation, type PendingOperationLimitContext, type PendingOperationListParams, type PendingOperationListResponse, type PendingOperationStatus, type PendingOperationSummary, type PerMethodSurchargeItem, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlanSlice, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProcessorCostBasis, type ProcessorCostBucket, type ProcessorCostSource, type ProcessorSlice, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfileResponse, type ProfileUpdateRequest, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundExportRecord, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, Risk, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingConfigCreateRequest, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RuleConnectorSelection, STRIPE_FALLBACK_PANE_CATALOG, STRIPE_FALLBACK_PANE_METHODS, STRIPE_NATIVE_PANE_METHODS, SURCHARGE_BORDER_STYLES, SURCHARGE_BORDER_WIDTHS, SURCHARGE_FIGURE_MODES, SURCHARGE_LABEL_MODES, SURCHARGE_POSITIONS, SURCHARGE_SHAPES, SURCHARGE_SIGNS, SURCHARGE_SIZES, SURCHARGE_STYLES, SURCHARGE_WEIGHTS, type ScopeDrillBase, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, Settlement, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementGenerateRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionExportRecord, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeAmountOperator, type SurchargeBorderStyle, type SurchargeBorderWidth, type SurchargeCondition, type SurchargeConditionSource, type SurchargeCurrencyOperator, type SurchargeDetailsResponse, type SurchargeDirection, type SurchargeFigureMode, type SurchargeFigurePart, type SurchargeFigurePlan, type SurchargeLabelMode, type SurchargeMetadataOperator, type SurchargeOperator, type SurchargePosition, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurchargeShape, type SurchargeSign, type SurchargeSize, type SurchargeStyle, type SurchargeWeight, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayBucketLabel, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionExportParams, type TransactionExportRecord, type TransactionType, type TrustBadge, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, checkoutCopy, cloneBranding, cloneCustomField, cloneNativePane, clonePane, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeNativePanes, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultNativePane, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeNativePanes, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, leaf, logoDimensions, nativePaneMethodInfo, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, readableInkOn, ruleMatchToTree, sanitizeCustomCss, shadowFor, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validatePanes, verticalGapValue, visibleCustomFields };
|
package/dist/index.js
CHANGED
package/dist/internal.cjs
CHANGED
|
@@ -3876,11 +3876,79 @@ var Export = class {
|
|
|
3876
3876
|
constructor(request) {
|
|
3877
3877
|
this.request = request;
|
|
3878
3878
|
}
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3879
|
+
async transactions(params, options) {
|
|
3880
|
+
return this.request(
|
|
3881
|
+
"POST",
|
|
3882
|
+
"/export/transactions",
|
|
3883
|
+
transactionBody(params, options)
|
|
3884
|
+
);
|
|
3885
|
+
}
|
|
3886
|
+
async transactionsForProfile(params, options) {
|
|
3887
|
+
return this.request(
|
|
3888
|
+
"POST",
|
|
3889
|
+
"/export/profile/transactions",
|
|
3890
|
+
transactionBody(params, options)
|
|
3891
|
+
);
|
|
3892
|
+
}
|
|
3893
|
+
async refunds(params, options) {
|
|
3894
|
+
return this.request("POST", "/refunds/list/export", bodied(params ?? {}, options));
|
|
3895
|
+
}
|
|
3896
|
+
async refundsForProfile(params, options) {
|
|
3897
|
+
return this.request(
|
|
3898
|
+
"POST",
|
|
3899
|
+
"/refunds/profile/list/export",
|
|
3900
|
+
bodied(params ?? {}, options)
|
|
3901
|
+
);
|
|
3902
|
+
}
|
|
3903
|
+
async disputes(params, options) {
|
|
3904
|
+
return this.request("GET", "/disputes/list/export", queried(params, options));
|
|
3905
|
+
}
|
|
3906
|
+
async disputesForProfile(params, options) {
|
|
3907
|
+
return this.request(
|
|
3908
|
+
"GET",
|
|
3909
|
+
"/disputes/profile/list/export",
|
|
3910
|
+
queried(params, options)
|
|
3911
|
+
);
|
|
3882
3912
|
}
|
|
3913
|
+
async payouts(params, options) {
|
|
3914
|
+
return this.request("POST", "/payouts/list/export", bodied(params, options));
|
|
3915
|
+
}
|
|
3916
|
+
async payoutsForProfile(params, options) {
|
|
3917
|
+
return this.request("POST", "/payouts/profile/list/export", bodied(params, options));
|
|
3918
|
+
}
|
|
3919
|
+
async subscriptions(profileId, params, options) {
|
|
3920
|
+
return this.request(
|
|
3921
|
+
"GET",
|
|
3922
|
+
"/subscriptions/list/export",
|
|
3923
|
+
queried(params, options, { "X-Profile-Id": profileId })
|
|
3924
|
+
);
|
|
3925
|
+
}
|
|
3926
|
+
async auditLog(params, options) {
|
|
3927
|
+
return this.request("GET", "/audit/export", queried(params, options));
|
|
3928
|
+
}
|
|
3929
|
+
};
|
|
3930
|
+
var ACCEPT = {
|
|
3931
|
+
csv: "text/csv",
|
|
3932
|
+
json: "application/json",
|
|
3933
|
+
pdf: "application/pdf"
|
|
3883
3934
|
};
|
|
3935
|
+
function negotiated(options, format) {
|
|
3936
|
+
const headers = { ...options.headers, Accept: ACCEPT[format] };
|
|
3937
|
+
return format === "json" ? { ...options, headers } : { ...options, headers, responseType: "blob" };
|
|
3938
|
+
}
|
|
3939
|
+
function transactionBody(params, options) {
|
|
3940
|
+
const format = options?.format ?? "json";
|
|
3941
|
+
return negotiated({ body: { ...params, format } }, format);
|
|
3942
|
+
}
|
|
3943
|
+
function bodied(body, options) {
|
|
3944
|
+
return negotiated({ body }, options?.format ?? "json");
|
|
3945
|
+
}
|
|
3946
|
+
function queried(params, options, headers) {
|
|
3947
|
+
return negotiated(
|
|
3948
|
+
{ query: params ?? {}, ...headers ? { headers } : {} },
|
|
3949
|
+
options?.format ?? "json"
|
|
3950
|
+
);
|
|
3951
|
+
}
|
|
3884
3952
|
|
|
3885
3953
|
// src/resources/featureMatrix.ts
|
|
3886
3954
|
var FeatureMatrix = class {
|
|
@@ -7814,6 +7882,19 @@ var AuditLogs = class {
|
|
|
7814
7882
|
async retrieve(logId) {
|
|
7815
7883
|
return this.request("GET", `/admin-portal/audit/${encodeURIComponent(logId)}`);
|
|
7816
7884
|
}
|
|
7885
|
+
async export(params, options) {
|
|
7886
|
+
const format = options?.format ?? "json";
|
|
7887
|
+
const accept = format === "csv" ? "text/csv" : format === "pdf" ? "application/pdf" : "application/json";
|
|
7888
|
+
const request = {
|
|
7889
|
+
query: params,
|
|
7890
|
+
// The format is negotiated by `Accept`, never a query field: the query
|
|
7891
|
+
// here is the list's own filter model, and adding a key to it would fork
|
|
7892
|
+
// the filter vocabulary the export exists to reuse.
|
|
7893
|
+
headers: { Accept: accept }
|
|
7894
|
+
};
|
|
7895
|
+
if (format !== "json") request.responseType = "blob";
|
|
7896
|
+
return this.request("GET", "/admin-portal/audit/export", request);
|
|
7897
|
+
}
|
|
7817
7898
|
};
|
|
7818
7899
|
|
|
7819
7900
|
// src/internal/resources/cache.ts
|