@delopay/sdk 0.179.0 → 0.180.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-LCYYPYOP.js → chunk-OTLLSSM7.js} +7 -7
- package/dist/chunk-OTLLSSM7.js.map +1 -0
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +31 -33
- package/dist/index.d.ts +31 -33
- package/dist/index.js +1 -1
- package/dist/internal.cjs +7 -7
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +5 -6
- package/dist/internal.d.ts +5 -6
- package/dist/internal.js +2 -2
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-LCYYPYOP.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -3171,7 +3171,7 @@ interface ProjectStatsResponse {
|
|
|
3171
3171
|
/**
|
|
3172
3172
|
* The merchant has analytics exclusions configured that touch conversion or
|
|
3173
3173
|
* volume, so the totals above may be filtered (best-effort matching over 95
|
|
3174
|
-
* days
|
|
3174
|
+
* days).
|
|
3175
3175
|
*
|
|
3176
3176
|
* Deliberately conservative and deliberately cheap to read: it says only
|
|
3177
3177
|
* that rules exist, **not** that any payment in this shop or this period
|
|
@@ -3187,7 +3187,7 @@ interface ShopStatsResponse extends ShopStats {
|
|
|
3187
3187
|
/**
|
|
3188
3188
|
* The merchant has analytics exclusions configured that touch conversion or
|
|
3189
3189
|
* volume, so the totals above may be filtered (best-effort matching over 95
|
|
3190
|
-
* days
|
|
3190
|
+
* days).
|
|
3191
3191
|
*
|
|
3192
3192
|
* Deliberately conservative and deliberately cheap to read: it says only
|
|
3193
3193
|
* that rules exist, **not** that any payment in this shop or this period
|
|
@@ -4174,10 +4174,10 @@ type CheckoutThemeDenominatorBasis = 'deduplicated_checkout_opens';
|
|
|
4174
4174
|
*/
|
|
4175
4175
|
type CheckoutThemeConversionCaveat =
|
|
4176
4176
|
/**
|
|
4177
|
-
* Merchant rules filter this attribution; best effort within 95 days
|
|
4178
|
-
*
|
|
4179
|
-
*
|
|
4180
|
-
*
|
|
4177
|
+
* Merchant rules filter this attribution; best effort within 95 days.
|
|
4178
|
+
* Spelled in snake_case, unlike `ClientAnalyticsCaveat`'s codes — the two
|
|
4179
|
+
* unions are serialised differently by the server, so match each against the
|
|
4180
|
+
* one its own field carries.
|
|
4181
4181
|
*/
|
|
4182
4182
|
'analytics_exclusions_active' | 'renders_deduplicated_by_device' | 'automated_traffic_excluded' | 'undeclared_mode_reported_separately' | 'no_device_class_in_window' | 'every_render_used_the_default' | 'some_payments_declared_no_mode';
|
|
4183
4183
|
/** One variant x segment cell of the rendered-to-paid funnel. */
|
|
@@ -6928,9 +6928,8 @@ type ParentGroup = 'Operations' | 'Refunds'
|
|
|
6928
6928
|
* - `Edit` — create and update, but **not** delete.
|
|
6929
6929
|
* - `Write` — create, update and delete.
|
|
6930
6930
|
*
|
|
6931
|
-
* `Edit` is offered where a resource defines it: `Connectors`,
|
|
6932
|
-
*
|
|
6933
|
-
* `CheckoutBranding`. It was added beneath `Write` rather than a `Delete`
|
|
6931
|
+
* `Edit` is offered where a resource defines it: `Connectors`, `Customers`,
|
|
6932
|
+
* `Subscriptions`, `Settlement` and `CheckoutBranding`. It was added beneath `Write` rather than a `Delete`
|
|
6934
6933
|
* scope being added above it, so `Write` still means exactly what it always
|
|
6935
6934
|
* did and no existing role's powers changed — treat `Write` as full control,
|
|
6936
6935
|
* including deletion, as before.
|
|
@@ -7074,7 +7073,7 @@ interface ScopeDrillBase extends DrillListControls<ScopeDrillSortKey> {
|
|
|
7074
7073
|
device_class?: string | null;
|
|
7075
7074
|
/**
|
|
7076
7075
|
* Which clicked metric this drill is for, so the list reproduces the number
|
|
7077
|
-
* that was clicked
|
|
7076
|
+
* that was clicked.
|
|
7078
7077
|
*
|
|
7079
7078
|
* Analytics exclusions are per surface, so the conversion, success-rate and
|
|
7080
7079
|
* volume cohorts can each exclude a different set of payments. Send the
|
|
@@ -7224,7 +7223,7 @@ interface AnalyticsDayBucket {
|
|
|
7224
7223
|
expired_tx?: number;
|
|
7225
7224
|
expired_vol?: number;
|
|
7226
7225
|
/**
|
|
7227
|
-
* Success-rate denominator, scoped **independently** of `tx
|
|
7226
|
+
* Success-rate denominator, scoped **independently** of `tx`.
|
|
7228
7227
|
*
|
|
7229
7228
|
* `tx` / `success` stay the conversion cohort. An analytics exclusion can
|
|
7230
7229
|
* apply to one surface and not the other, so the two pairs can legitimately
|
|
@@ -7330,7 +7329,7 @@ interface AnalyticsScopeResponse {
|
|
|
7330
7329
|
filters?: ClientAnalyticsFilters;
|
|
7331
7330
|
}
|
|
7332
7331
|
/**
|
|
7333
|
-
* Which analytics projection a drill or an exclusion applies to
|
|
7332
|
+
* Which analytics projection a drill or an exclusion applies to.
|
|
7334
7333
|
*
|
|
7335
7334
|
* The three are scoped independently: a rule may exclude a payment from the
|
|
7336
7335
|
* conversion figures and leave the volume figures alone.
|
|
@@ -7384,10 +7383,10 @@ interface AnalyticsExclusionResponse extends AnalyticsExclusionRequest {
|
|
|
7384
7383
|
* Distinct payments this rule matched in the lookback window, on list
|
|
7385
7384
|
* responses only.
|
|
7386
7385
|
*
|
|
7387
|
-
*
|
|
7388
|
-
*
|
|
7389
|
-
*
|
|
7390
|
-
*
|
|
7386
|
+
* Counts overlap between rules and are not additive: one payment matched by
|
|
7387
|
+
* three rules is counted once by each, so adding the values reports it three
|
|
7388
|
+
* times. Absent when the server did not compute a count, which is different
|
|
7389
|
+
* from a count of zero — zero means the rule matched nothing.
|
|
7391
7390
|
*/
|
|
7392
7391
|
matched_payments?: number | null;
|
|
7393
7392
|
}
|
|
@@ -7456,7 +7455,7 @@ interface ClientAnalyticsRequest {
|
|
|
7456
7455
|
type ClientAnalyticsCaveat =
|
|
7457
7456
|
/**
|
|
7458
7457
|
* Merchant-configured analytics exclusions apply to this surface, so the
|
|
7459
|
-
* figures are filtered. Matching is best effort over 95 days
|
|
7458
|
+
* figures are filtered. Matching is best effort over 95 days.
|
|
7460
7459
|
*/
|
|
7461
7460
|
'AnalyticsExclusionsActive' | 'OptimisationUseDisabled' | 'DeviceTrackingDisabled' | 'GeoIpDisabled' | 'AutomatedTrafficExcluded' | 'RetentionWindowTruncatesWindow' | 'DeviceClassMissingInWindow' | 'BillingModeCountryLevelOnly' | 'BillingCityRedactedExcluded' | 'ShopHasNoHomeCountry' | 'NoObservationsInWindow' | 'FilterRequiresClientContext' | 'TimingDenominatorTruncated' | 'FxRateUnavailable';
|
|
7462
7461
|
/** The filters a response was computed under, echoed back verbatim. */
|
|
@@ -7528,7 +7527,7 @@ interface DeviceChannelBucket {
|
|
|
7528
7527
|
/** Hosted checkout embedded in the merchant's page. */
|
|
7529
7528
|
embedded: number;
|
|
7530
7529
|
/** Hosted checkout opened through a merchant-authored auto-redirect link.
|
|
7531
|
-
* Absent on routers
|
|
7530
|
+
* Absent on routers that do not report this channel. */
|
|
7532
7531
|
auto_redirect?: number;
|
|
7533
7532
|
/** API / server-initiated. */
|
|
7534
7533
|
api: number;
|
|
@@ -10410,7 +10409,7 @@ interface VaultRouteChange {
|
|
|
10410
10409
|
field_changes: VaultRouteFieldChange[];
|
|
10411
10410
|
}
|
|
10412
10411
|
/**
|
|
10413
|
-
* What the *processor* says about a connector account
|
|
10412
|
+
* What the *processor* says about a connector account.
|
|
10414
10413
|
*
|
|
10415
10414
|
* Distinct from `disabled` and `status`, which are values DeloPay stores: this
|
|
10416
10415
|
* is the processor's own answer, fetched when asked. It exists because a
|
|
@@ -11122,7 +11121,7 @@ interface ExportTransferOptions {
|
|
|
11122
11121
|
*/
|
|
11123
11122
|
onProgress?: (progress: ExportProgress) => void;
|
|
11124
11123
|
/**
|
|
11125
|
-
* The words a PDF export prints, in the reader's language
|
|
11124
|
+
* The words a PDF export prints, in the reader's language. Sent
|
|
11126
11125
|
* only with `format: 'pdf'`, in the `X-Delopay-Export-Presentation` header.
|
|
11127
11126
|
* Without it the PDF lists the server's own filter echo, in English.
|
|
11128
11127
|
*
|
|
@@ -11132,7 +11131,7 @@ interface ExportTransferOptions {
|
|
|
11132
11131
|
presentation?: ExportPresentation;
|
|
11133
11132
|
}
|
|
11134
11133
|
/**
|
|
11135
|
-
* The words of an exported PDF report
|
|
11134
|
+
* The words of an exported PDF report: its title, the filters
|
|
11136
11135
|
* exactly as the caller's export dialog lists them, column and value labels,
|
|
11137
11136
|
* the report's own words, and how numbers, dates and times read. Strings are
|
|
11138
11137
|
* printed as given. A report is an overview — records, period, mode, a status
|
|
@@ -11145,10 +11144,9 @@ interface ExportTransferOptions {
|
|
|
11145
11144
|
* checks before sending (`EXPORT_PRESENTATION_TOO_LARGE`).
|
|
11146
11145
|
*
|
|
11147
11146
|
* `words`, `values`, `date_format`, `time_format`, `month_names` and
|
|
11148
|
-
* `time_zone` are read by routers
|
|
11149
|
-
*
|
|
11150
|
-
*
|
|
11151
|
-
* reads them.
|
|
11147
|
+
* `time_zone` are read by routers that support report presentation, which also
|
|
11148
|
+
* ignore any field they do not know. An earlier router refuses a presentation
|
|
11149
|
+
* carrying them (`IR_06`), so send them only to a router that reads them.
|
|
11152
11150
|
*/
|
|
11153
11151
|
interface ExportPresentation {
|
|
11154
11152
|
/** The document's heading, e.g. `Transaktionen`. Must not be empty. */
|
|
@@ -14591,15 +14589,15 @@ declare class Analytics {
|
|
|
14591
14589
|
subscriptionsList(params: SubscriptionDrillRequest): Promise<DrillResponse>;
|
|
14592
14590
|
/**
|
|
14593
14591
|
* Every analytics exclusion of the merchant, with the payments each one
|
|
14594
|
-
* matched in the lookback window
|
|
14592
|
+
* matched in the lookback window.
|
|
14595
14593
|
*
|
|
14596
14594
|
* These rules change what the merchant's own dashboards count. Financial
|
|
14597
14595
|
* records and transaction lists are never filtered by them.
|
|
14598
14596
|
*
|
|
14599
|
-
*
|
|
14600
|
-
*
|
|
14601
|
-
* `best_effort` and `lookback_days`
|
|
14602
|
-
* client signals that may be absent or expired, within that window.
|
|
14597
|
+
* `matched_payments` counts overlap between rules: a payment matched by
|
|
14598
|
+
* three rules is counted once by each, so the values are not additive. The
|
|
14599
|
+
* envelope's `best_effort` and `lookback_days` apply to every row — matching
|
|
14600
|
+
* runs on client signals that may be absent or expired, within that window.
|
|
14603
14601
|
* `GET /analytics/exclusions`
|
|
14604
14602
|
*/
|
|
14605
14603
|
listExclusions(): Promise<AnalyticsExclusionsResponse>;
|
|
@@ -17166,7 +17164,7 @@ declare function isDarkSurface(color: string): boolean;
|
|
|
17166
17164
|
declare const DEFAULT_BADGES: TrustBadge[];
|
|
17167
17165
|
declare const DEFAULT_BADGES_DARK: TrustBadge[];
|
|
17168
17166
|
/**
|
|
17169
|
-
* The notices every shop starts with
|
|
17167
|
+
* The notices every shop starts with.
|
|
17170
17168
|
*
|
|
17171
17169
|
* The same two claims the stock badges made — the payment is secure, the
|
|
17172
17170
|
* connection is TLS-encrypted — and nothing more. A default is shown on every
|
|
@@ -17185,7 +17183,7 @@ declare function defaultNotices(): CheckoutNotice[];
|
|
|
17185
17183
|
declare function cloneNotice(notice: CheckoutNotice): CheckoutNotice;
|
|
17186
17184
|
/**
|
|
17187
17185
|
* Whether a badge list is a default DeloPay shipped rather than something the
|
|
17188
|
-
* merchant configured
|
|
17186
|
+
* merchant configured.
|
|
17189
17187
|
*
|
|
17190
17188
|
* Stock means the two stock badges — `secure` / "Secure", then `ssl` /
|
|
17191
17189
|
* "256-bit SSL" — in a colouring DeloPay generated: the light default, the
|
|
@@ -17196,7 +17194,7 @@ declare function cloneNotice(notice: CheckoutNotice): CheckoutNotice;
|
|
|
17196
17194
|
*/
|
|
17197
17195
|
declare function isDefaultBadgeSet(badges: readonly TrustBadge[]): boolean;
|
|
17198
17196
|
/**
|
|
17199
|
-
* Decide a shop's badges and notices from what it has saved
|
|
17197
|
+
* Decide a shop's badges and notices from what it has saved.
|
|
17200
17198
|
*
|
|
17201
17199
|
* `null` means the key is absent from what was saved (or unreadable). The
|
|
17202
17200
|
* rule, in order:
|
package/dist/index.d.ts
CHANGED
|
@@ -3171,7 +3171,7 @@ interface ProjectStatsResponse {
|
|
|
3171
3171
|
/**
|
|
3172
3172
|
* The merchant has analytics exclusions configured that touch conversion or
|
|
3173
3173
|
* volume, so the totals above may be filtered (best-effort matching over 95
|
|
3174
|
-
* days
|
|
3174
|
+
* days).
|
|
3175
3175
|
*
|
|
3176
3176
|
* Deliberately conservative and deliberately cheap to read: it says only
|
|
3177
3177
|
* that rules exist, **not** that any payment in this shop or this period
|
|
@@ -3187,7 +3187,7 @@ interface ShopStatsResponse extends ShopStats {
|
|
|
3187
3187
|
/**
|
|
3188
3188
|
* The merchant has analytics exclusions configured that touch conversion or
|
|
3189
3189
|
* volume, so the totals above may be filtered (best-effort matching over 95
|
|
3190
|
-
* days
|
|
3190
|
+
* days).
|
|
3191
3191
|
*
|
|
3192
3192
|
* Deliberately conservative and deliberately cheap to read: it says only
|
|
3193
3193
|
* that rules exist, **not** that any payment in this shop or this period
|
|
@@ -4174,10 +4174,10 @@ type CheckoutThemeDenominatorBasis = 'deduplicated_checkout_opens';
|
|
|
4174
4174
|
*/
|
|
4175
4175
|
type CheckoutThemeConversionCaveat =
|
|
4176
4176
|
/**
|
|
4177
|
-
* Merchant rules filter this attribution; best effort within 95 days
|
|
4178
|
-
*
|
|
4179
|
-
*
|
|
4180
|
-
*
|
|
4177
|
+
* Merchant rules filter this attribution; best effort within 95 days.
|
|
4178
|
+
* Spelled in snake_case, unlike `ClientAnalyticsCaveat`'s codes — the two
|
|
4179
|
+
* unions are serialised differently by the server, so match each against the
|
|
4180
|
+
* one its own field carries.
|
|
4181
4181
|
*/
|
|
4182
4182
|
'analytics_exclusions_active' | 'renders_deduplicated_by_device' | 'automated_traffic_excluded' | 'undeclared_mode_reported_separately' | 'no_device_class_in_window' | 'every_render_used_the_default' | 'some_payments_declared_no_mode';
|
|
4183
4183
|
/** One variant x segment cell of the rendered-to-paid funnel. */
|
|
@@ -6928,9 +6928,8 @@ type ParentGroup = 'Operations' | 'Refunds'
|
|
|
6928
6928
|
* - `Edit` — create and update, but **not** delete.
|
|
6929
6929
|
* - `Write` — create, update and delete.
|
|
6930
6930
|
*
|
|
6931
|
-
* `Edit` is offered where a resource defines it: `Connectors`,
|
|
6932
|
-
*
|
|
6933
|
-
* `CheckoutBranding`. It was added beneath `Write` rather than a `Delete`
|
|
6931
|
+
* `Edit` is offered where a resource defines it: `Connectors`, `Customers`,
|
|
6932
|
+
* `Subscriptions`, `Settlement` and `CheckoutBranding`. It was added beneath `Write` rather than a `Delete`
|
|
6934
6933
|
* scope being added above it, so `Write` still means exactly what it always
|
|
6935
6934
|
* did and no existing role's powers changed — treat `Write` as full control,
|
|
6936
6935
|
* including deletion, as before.
|
|
@@ -7074,7 +7073,7 @@ interface ScopeDrillBase extends DrillListControls<ScopeDrillSortKey> {
|
|
|
7074
7073
|
device_class?: string | null;
|
|
7075
7074
|
/**
|
|
7076
7075
|
* Which clicked metric this drill is for, so the list reproduces the number
|
|
7077
|
-
* that was clicked
|
|
7076
|
+
* that was clicked.
|
|
7078
7077
|
*
|
|
7079
7078
|
* Analytics exclusions are per surface, so the conversion, success-rate and
|
|
7080
7079
|
* volume cohorts can each exclude a different set of payments. Send the
|
|
@@ -7224,7 +7223,7 @@ interface AnalyticsDayBucket {
|
|
|
7224
7223
|
expired_tx?: number;
|
|
7225
7224
|
expired_vol?: number;
|
|
7226
7225
|
/**
|
|
7227
|
-
* Success-rate denominator, scoped **independently** of `tx
|
|
7226
|
+
* Success-rate denominator, scoped **independently** of `tx`.
|
|
7228
7227
|
*
|
|
7229
7228
|
* `tx` / `success` stay the conversion cohort. An analytics exclusion can
|
|
7230
7229
|
* apply to one surface and not the other, so the two pairs can legitimately
|
|
@@ -7330,7 +7329,7 @@ interface AnalyticsScopeResponse {
|
|
|
7330
7329
|
filters?: ClientAnalyticsFilters;
|
|
7331
7330
|
}
|
|
7332
7331
|
/**
|
|
7333
|
-
* Which analytics projection a drill or an exclusion applies to
|
|
7332
|
+
* Which analytics projection a drill or an exclusion applies to.
|
|
7334
7333
|
*
|
|
7335
7334
|
* The three are scoped independently: a rule may exclude a payment from the
|
|
7336
7335
|
* conversion figures and leave the volume figures alone.
|
|
@@ -7384,10 +7383,10 @@ interface AnalyticsExclusionResponse extends AnalyticsExclusionRequest {
|
|
|
7384
7383
|
* Distinct payments this rule matched in the lookback window, on list
|
|
7385
7384
|
* responses only.
|
|
7386
7385
|
*
|
|
7387
|
-
*
|
|
7388
|
-
*
|
|
7389
|
-
*
|
|
7390
|
-
*
|
|
7386
|
+
* Counts overlap between rules and are not additive: one payment matched by
|
|
7387
|
+
* three rules is counted once by each, so adding the values reports it three
|
|
7388
|
+
* times. Absent when the server did not compute a count, which is different
|
|
7389
|
+
* from a count of zero — zero means the rule matched nothing.
|
|
7391
7390
|
*/
|
|
7392
7391
|
matched_payments?: number | null;
|
|
7393
7392
|
}
|
|
@@ -7456,7 +7455,7 @@ interface ClientAnalyticsRequest {
|
|
|
7456
7455
|
type ClientAnalyticsCaveat =
|
|
7457
7456
|
/**
|
|
7458
7457
|
* Merchant-configured analytics exclusions apply to this surface, so the
|
|
7459
|
-
* figures are filtered. Matching is best effort over 95 days
|
|
7458
|
+
* figures are filtered. Matching is best effort over 95 days.
|
|
7460
7459
|
*/
|
|
7461
7460
|
'AnalyticsExclusionsActive' | 'OptimisationUseDisabled' | 'DeviceTrackingDisabled' | 'GeoIpDisabled' | 'AutomatedTrafficExcluded' | 'RetentionWindowTruncatesWindow' | 'DeviceClassMissingInWindow' | 'BillingModeCountryLevelOnly' | 'BillingCityRedactedExcluded' | 'ShopHasNoHomeCountry' | 'NoObservationsInWindow' | 'FilterRequiresClientContext' | 'TimingDenominatorTruncated' | 'FxRateUnavailable';
|
|
7462
7461
|
/** The filters a response was computed under, echoed back verbatim. */
|
|
@@ -7528,7 +7527,7 @@ interface DeviceChannelBucket {
|
|
|
7528
7527
|
/** Hosted checkout embedded in the merchant's page. */
|
|
7529
7528
|
embedded: number;
|
|
7530
7529
|
/** Hosted checkout opened through a merchant-authored auto-redirect link.
|
|
7531
|
-
* Absent on routers
|
|
7530
|
+
* Absent on routers that do not report this channel. */
|
|
7532
7531
|
auto_redirect?: number;
|
|
7533
7532
|
/** API / server-initiated. */
|
|
7534
7533
|
api: number;
|
|
@@ -10410,7 +10409,7 @@ interface VaultRouteChange {
|
|
|
10410
10409
|
field_changes: VaultRouteFieldChange[];
|
|
10411
10410
|
}
|
|
10412
10411
|
/**
|
|
10413
|
-
* What the *processor* says about a connector account
|
|
10412
|
+
* What the *processor* says about a connector account.
|
|
10414
10413
|
*
|
|
10415
10414
|
* Distinct from `disabled` and `status`, which are values DeloPay stores: this
|
|
10416
10415
|
* is the processor's own answer, fetched when asked. It exists because a
|
|
@@ -11122,7 +11121,7 @@ interface ExportTransferOptions {
|
|
|
11122
11121
|
*/
|
|
11123
11122
|
onProgress?: (progress: ExportProgress) => void;
|
|
11124
11123
|
/**
|
|
11125
|
-
* The words a PDF export prints, in the reader's language
|
|
11124
|
+
* The words a PDF export prints, in the reader's language. Sent
|
|
11126
11125
|
* only with `format: 'pdf'`, in the `X-Delopay-Export-Presentation` header.
|
|
11127
11126
|
* Without it the PDF lists the server's own filter echo, in English.
|
|
11128
11127
|
*
|
|
@@ -11132,7 +11131,7 @@ interface ExportTransferOptions {
|
|
|
11132
11131
|
presentation?: ExportPresentation;
|
|
11133
11132
|
}
|
|
11134
11133
|
/**
|
|
11135
|
-
* The words of an exported PDF report
|
|
11134
|
+
* The words of an exported PDF report: its title, the filters
|
|
11136
11135
|
* exactly as the caller's export dialog lists them, column and value labels,
|
|
11137
11136
|
* the report's own words, and how numbers, dates and times read. Strings are
|
|
11138
11137
|
* printed as given. A report is an overview — records, period, mode, a status
|
|
@@ -11145,10 +11144,9 @@ interface ExportTransferOptions {
|
|
|
11145
11144
|
* checks before sending (`EXPORT_PRESENTATION_TOO_LARGE`).
|
|
11146
11145
|
*
|
|
11147
11146
|
* `words`, `values`, `date_format`, `time_format`, `month_names` and
|
|
11148
|
-
* `time_zone` are read by routers
|
|
11149
|
-
*
|
|
11150
|
-
*
|
|
11151
|
-
* reads them.
|
|
11147
|
+
* `time_zone` are read by routers that support report presentation, which also
|
|
11148
|
+
* ignore any field they do not know. An earlier router refuses a presentation
|
|
11149
|
+
* carrying them (`IR_06`), so send them only to a router that reads them.
|
|
11152
11150
|
*/
|
|
11153
11151
|
interface ExportPresentation {
|
|
11154
11152
|
/** The document's heading, e.g. `Transaktionen`. Must not be empty. */
|
|
@@ -14591,15 +14589,15 @@ declare class Analytics {
|
|
|
14591
14589
|
subscriptionsList(params: SubscriptionDrillRequest): Promise<DrillResponse>;
|
|
14592
14590
|
/**
|
|
14593
14591
|
* Every analytics exclusion of the merchant, with the payments each one
|
|
14594
|
-
* matched in the lookback window
|
|
14592
|
+
* matched in the lookback window.
|
|
14595
14593
|
*
|
|
14596
14594
|
* These rules change what the merchant's own dashboards count. Financial
|
|
14597
14595
|
* records and transaction lists are never filtered by them.
|
|
14598
14596
|
*
|
|
14599
|
-
*
|
|
14600
|
-
*
|
|
14601
|
-
* `best_effort` and `lookback_days`
|
|
14602
|
-
* client signals that may be absent or expired, within that window.
|
|
14597
|
+
* `matched_payments` counts overlap between rules: a payment matched by
|
|
14598
|
+
* three rules is counted once by each, so the values are not additive. The
|
|
14599
|
+
* envelope's `best_effort` and `lookback_days` apply to every row — matching
|
|
14600
|
+
* runs on client signals that may be absent or expired, within that window.
|
|
14603
14601
|
* `GET /analytics/exclusions`
|
|
14604
14602
|
*/
|
|
14605
14603
|
listExclusions(): Promise<AnalyticsExclusionsResponse>;
|
|
@@ -17166,7 +17164,7 @@ declare function isDarkSurface(color: string): boolean;
|
|
|
17166
17164
|
declare const DEFAULT_BADGES: TrustBadge[];
|
|
17167
17165
|
declare const DEFAULT_BADGES_DARK: TrustBadge[];
|
|
17168
17166
|
/**
|
|
17169
|
-
* The notices every shop starts with
|
|
17167
|
+
* The notices every shop starts with.
|
|
17170
17168
|
*
|
|
17171
17169
|
* The same two claims the stock badges made — the payment is secure, the
|
|
17172
17170
|
* connection is TLS-encrypted — and nothing more. A default is shown on every
|
|
@@ -17185,7 +17183,7 @@ declare function defaultNotices(): CheckoutNotice[];
|
|
|
17185
17183
|
declare function cloneNotice(notice: CheckoutNotice): CheckoutNotice;
|
|
17186
17184
|
/**
|
|
17187
17185
|
* Whether a badge list is a default DeloPay shipped rather than something the
|
|
17188
|
-
* merchant configured
|
|
17186
|
+
* merchant configured.
|
|
17189
17187
|
*
|
|
17190
17188
|
* Stock means the two stock badges — `secure` / "Secure", then `ssl` /
|
|
17191
17189
|
* "256-bit SSL" — in a colouring DeloPay generated: the light default, the
|
|
@@ -17196,7 +17194,7 @@ declare function cloneNotice(notice: CheckoutNotice): CheckoutNotice;
|
|
|
17196
17194
|
*/
|
|
17197
17195
|
declare function isDefaultBadgeSet(badges: readonly TrustBadge[]): boolean;
|
|
17198
17196
|
/**
|
|
17199
|
-
* Decide a shop's badges and notices from what it has saved
|
|
17197
|
+
* Decide a shop's badges and notices from what it has saved.
|
|
17200
17198
|
*
|
|
17201
17199
|
* `null` means the key is absent from what was saved (or unreadable). The
|
|
17202
17200
|
* rule, in order:
|
package/dist/index.js
CHANGED
package/dist/internal.cjs
CHANGED
|
@@ -4662,15 +4662,15 @@ var Analytics = class {
|
|
|
4662
4662
|
}
|
|
4663
4663
|
/**
|
|
4664
4664
|
* Every analytics exclusion of the merchant, with the payments each one
|
|
4665
|
-
* matched in the lookback window
|
|
4665
|
+
* matched in the lookback window.
|
|
4666
4666
|
*
|
|
4667
4667
|
* These rules change what the merchant's own dashboards count. Financial
|
|
4668
4668
|
* records and transaction lists are never filtered by them.
|
|
4669
4669
|
*
|
|
4670
|
-
*
|
|
4671
|
-
*
|
|
4672
|
-
* `best_effort` and `lookback_days`
|
|
4673
|
-
* client signals that may be absent or expired, within that window.
|
|
4670
|
+
* `matched_payments` counts overlap between rules: a payment matched by
|
|
4671
|
+
* three rules is counted once by each, so the values are not additive. The
|
|
4672
|
+
* envelope's `best_effort` and `lookback_days` apply to every row — matching
|
|
4673
|
+
* runs on client signals that may be absent or expired, within that window.
|
|
4674
4674
|
* `GET /analytics/exclusions`
|
|
4675
4675
|
*/
|
|
4676
4676
|
async listExclusions() {
|
|
@@ -7934,7 +7934,7 @@ var DEFAULT_BRANDING_BASE = {
|
|
|
7934
7934
|
var DEFAULT_BRANDING = {
|
|
7935
7935
|
...DEFAULT_BRANDING_BASE,
|
|
7936
7936
|
...LIGHT_PALETTE,
|
|
7937
|
-
// No badges by default
|
|
7937
|
+
// No badges by default any more — notices took their place.
|
|
7938
7938
|
// `DEFAULT_BADGES` stays exported because `isDefaultBadgeSet` still has to
|
|
7939
7939
|
// recognise the pair on shops saved before.
|
|
7940
7940
|
trustBadges: [],
|
|
@@ -10607,7 +10607,7 @@ var AdminPortal = class {
|
|
|
10607
10607
|
}
|
|
10608
10608
|
/**
|
|
10609
10609
|
* Billing profiles no operator listing can reach, and the accounts that may
|
|
10610
|
-
* have taken one over
|
|
10610
|
+
* have taken one over.
|
|
10611
10611
|
*
|
|
10612
10612
|
* Deleting a merchant account leaves its billing profile — with its
|
|
10613
10613
|
* balance, its Stripe customer and its saved card — behind, and the
|