@delopay/sdk 0.385.0 → 0.390.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-UGIHA7A6.js → chunk-PE7G347M.js} +380 -56
- package/dist/chunk-PE7G347M.js.map +1 -0
- package/dist/{index-CkiG9mc1.d.cts → index-CIObKeC7.d.cts} +887 -37
- package/dist/{index-CkiG9mc1.d.ts → index-CIObKeC7.d.ts} +887 -37
- package/dist/index.cjs +380 -55
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -1
- package/dist/internal.cjs +485 -78
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +269 -19
- package/dist/internal.d.ts +269 -19
- package/dist/internal.js +114 -24
- package/dist/internal.js.map +1 -1
- package/package.json +17 -19
- package/dist/chunk-UGIHA7A6.js.map +0 -1
package/dist/internal.cjs
CHANGED
|
@@ -150,10 +150,12 @@ __export(internal_exports, {
|
|
|
150
150
|
PANES_MAX: () => PANES_MAX,
|
|
151
151
|
PANE_CATEGORY_KEYS: () => PANE_CATEGORY_KEYS,
|
|
152
152
|
PANE_ICON_KEYS: () => PANE_ICON_KEYS,
|
|
153
|
+
PAYMENT_CURRENCIES: () => PAYMENT_CURRENCIES,
|
|
153
154
|
PAYPAL_CARD_LAYOUTS: () => PAYPAL_CARD_LAYOUTS,
|
|
154
155
|
PAYPAL_LABEL_STYLES: () => PAYPAL_LABEL_STYLES,
|
|
155
156
|
PRESENTATION_CONTRACT_VERSION: () => PRESENTATION_CONTRACT_VERSION,
|
|
156
157
|
PaypalDisputes: () => PaypalDisputes,
|
|
158
|
+
Persons: () => Persons,
|
|
157
159
|
PlatformBilling: () => PlatformBilling,
|
|
158
160
|
PlatformFees: () => PlatformFees,
|
|
159
161
|
PlatformMessageTemplates: () => PlatformMessageTemplates,
|
|
@@ -292,6 +294,7 @@ __export(internal_exports, {
|
|
|
292
294
|
leaf: () => leaf,
|
|
293
295
|
logoDimensions: () => logoDimensions,
|
|
294
296
|
matchWhopLook: () => matchWhopLook,
|
|
297
|
+
metadataLeaf: () => metadataLeaf,
|
|
295
298
|
nativePaneMethodInfo: () => nativePaneMethodInfo,
|
|
296
299
|
nearestWhopAccent: () => nearestWhopAccent,
|
|
297
300
|
noticeText: () => noticeText,
|
|
@@ -713,6 +716,21 @@ var Authentication = class {
|
|
|
713
716
|
}
|
|
714
717
|
};
|
|
715
718
|
|
|
719
|
+
// src/listQuery.ts
|
|
720
|
+
function csvQuery(params, csvKeys) {
|
|
721
|
+
if (!params) return void 0;
|
|
722
|
+
const joined = csvKeys;
|
|
723
|
+
const query = {};
|
|
724
|
+
for (const [key, value] of Object.entries(params)) {
|
|
725
|
+
if (!joined.includes(key) || !Array.isArray(value)) {
|
|
726
|
+
query[key] = value;
|
|
727
|
+
} else if (value.length > 0) {
|
|
728
|
+
query[key] = value.join(",");
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
return query;
|
|
732
|
+
}
|
|
733
|
+
|
|
716
734
|
// src/resources/billing.ts
|
|
717
735
|
var BillingAllocations = class {
|
|
718
736
|
constructor(request) {
|
|
@@ -828,15 +846,17 @@ var Billing = class {
|
|
|
828
846
|
});
|
|
829
847
|
}
|
|
830
848
|
/**
|
|
831
|
-
* List the balance ledger (credits and debits) for a merchant
|
|
849
|
+
* List the balance ledger (credits and debits) for a merchant, the newest
|
|
850
|
+
* entry first unless `sort_by` says otherwise.
|
|
832
851
|
*
|
|
833
852
|
* @param merchantId - The merchant account ID.
|
|
834
|
-
* @param params - Optional pagination
|
|
853
|
+
* @param params - Optional pagination, filters (entry types, a creation
|
|
854
|
+
* window) and sort.
|
|
835
855
|
* @returns The ledger entries.
|
|
836
856
|
*/
|
|
837
857
|
async listLedger(merchantId, params) {
|
|
838
858
|
return this.request("GET", `/billing/${encodeURIComponent(merchantId)}/ledger`, {
|
|
839
|
-
query: params
|
|
859
|
+
query: csvQuery(params, ["entry_type"])
|
|
840
860
|
});
|
|
841
861
|
}
|
|
842
862
|
/**
|
|
@@ -4495,6 +4515,33 @@ var Routing = class {
|
|
|
4495
4515
|
{ body: params }
|
|
4496
4516
|
);
|
|
4497
4517
|
}
|
|
4518
|
+
/**
|
|
4519
|
+
* A shop's recurring time plan with its revision, the band active now, the
|
|
4520
|
+
* next change and each limit the plan releases in parts.
|
|
4521
|
+
*
|
|
4522
|
+
* `GET /routing/time-plans/{profileId}`
|
|
4523
|
+
*/
|
|
4524
|
+
async timePlan(profileId) {
|
|
4525
|
+
return this.request("GET", `/routing/time-plans/${encodeURIComponent(profileId)}`);
|
|
4526
|
+
}
|
|
4527
|
+
/**
|
|
4528
|
+
* Replace a shop's whole time plan using its last-read revision; `plan`
|
|
4529
|
+
* null removes it. Usage, reservations and dated limit entries are left as
|
|
4530
|
+
* they are. Overlapping bands, shares that do not total 100 and a stale
|
|
4531
|
+
* revision are refused by the server. Capability preflight refuses a
|
|
4532
|
+
* backend that would not apply the plan before anything is sent.
|
|
4533
|
+
*
|
|
4534
|
+
* `PUT /routing/time-plans/{profileId}`
|
|
4535
|
+
*/
|
|
4536
|
+
async setTimePlan(profileId, params) {
|
|
4537
|
+
const caps = await this.connectorCaps(profileId);
|
|
4538
|
+
if (!caps.features?.includes("time_plans")) {
|
|
4539
|
+
throw new Error("Time plans are unsupported by the serving backend");
|
|
4540
|
+
}
|
|
4541
|
+
return this.request("PUT", `/routing/time-plans/${encodeURIComponent(profileId)}`, {
|
|
4542
|
+
body: { revision: params.revision, plan: params.plan }
|
|
4543
|
+
});
|
|
4544
|
+
}
|
|
4498
4545
|
/**
|
|
4499
4546
|
* The live `routing_volume` counters behind a shop's active advanced
|
|
4500
4547
|
* program: one per distinct budget the program reads, each with the window
|
|
@@ -5275,13 +5322,16 @@ var Users = class {
|
|
|
5275
5322
|
*
|
|
5276
5323
|
* Returns an empty page when a Delopay admin is impersonating a merchant,
|
|
5277
5324
|
* so the admin's metadata is not exposed inside the merchant dashboard.
|
|
5325
|
+
*
|
|
5326
|
+
* Newest first unless `sort_by` says otherwise. Several `event_type` or
|
|
5327
|
+
* `auth_method` values match an event with any of them.
|
|
5278
5328
|
*/
|
|
5279
5329
|
async listLoginActivity(params) {
|
|
5280
5330
|
if (params === void 0) {
|
|
5281
5331
|
return this.request("GET", "/user/me/login-activity");
|
|
5282
5332
|
}
|
|
5283
5333
|
return this.request("GET", "/user/me/login-activity", {
|
|
5284
|
-
query: params
|
|
5334
|
+
query: csvQuery(params, ["event_type", "auth_method"])
|
|
5285
5335
|
});
|
|
5286
5336
|
}
|
|
5287
5337
|
/**
|
|
@@ -6145,14 +6195,16 @@ var IdentityVerifications = class {
|
|
|
6145
6195
|
return this.request("POST", "/identity-verifications", { body: params, ...options });
|
|
6146
6196
|
}
|
|
6147
6197
|
/**
|
|
6148
|
-
* The merchant's verifications, newest first
|
|
6149
|
-
* sees that shop's only.
|
|
6198
|
+
* The merchant's verifications, newest first unless `sort_by` says
|
|
6199
|
+
* otherwise. A caller limited to one shop sees that shop's only. Several
|
|
6200
|
+
* `outcome`, `kind` or `merchant_connector_id` values match a verification
|
|
6201
|
+
* with any of them.
|
|
6150
6202
|
*
|
|
6151
6203
|
* `GET /identity-verifications`
|
|
6152
6204
|
*/
|
|
6153
6205
|
async list(query, options) {
|
|
6154
6206
|
return this.request("GET", "/identity-verifications", {
|
|
6155
|
-
query,
|
|
6207
|
+
query: csvQuery(query, ["outcome", "kind", "merchant_connector_id"]),
|
|
6156
6208
|
...options
|
|
6157
6209
|
});
|
|
6158
6210
|
}
|
|
@@ -6936,7 +6988,13 @@ var Export = class {
|
|
|
6936
6988
|
);
|
|
6937
6989
|
}
|
|
6938
6990
|
async auditLog(params, options) {
|
|
6939
|
-
return runExport(
|
|
6991
|
+
return runExport(
|
|
6992
|
+
this.request,
|
|
6993
|
+
"GET",
|
|
6994
|
+
"/audit/export",
|
|
6995
|
+
{ query: csvQuery(params, ["profile_id", "action", "entity_type"]) },
|
|
6996
|
+
options
|
|
6997
|
+
);
|
|
6940
6998
|
}
|
|
6941
6999
|
};
|
|
6942
7000
|
function queried(params, headers) {
|
|
@@ -7233,14 +7291,15 @@ var BuyerBlocklist = class {
|
|
|
7233
7291
|
this.request = request;
|
|
7234
7292
|
}
|
|
7235
7293
|
/**
|
|
7236
|
-
* One page of blocked buyers, newest first
|
|
7237
|
-
* (the entries that include an identifier of
|
|
7238
|
-
*
|
|
7294
|
+
* One page of blocked buyers, newest first unless `sort_by` says otherwise,
|
|
7295
|
+
* filtered by scope, by `kind` (the entries that include an identifier of
|
|
7296
|
+
* that kind, or of any of several) and by a search over every identifier
|
|
7297
|
+
* and the note. Expired entries are not listed.
|
|
7239
7298
|
* `GET /buyer-blocklist`
|
|
7240
7299
|
*/
|
|
7241
7300
|
async list(params) {
|
|
7242
7301
|
return this.request("GET", "/buyer-blocklist", {
|
|
7243
|
-
query: params
|
|
7302
|
+
query: csvQuery(params, ["kind"])
|
|
7244
7303
|
});
|
|
7245
7304
|
}
|
|
7246
7305
|
/**
|
|
@@ -7366,6 +7425,56 @@ var BuyerBlocklist = class {
|
|
|
7366
7425
|
}
|
|
7367
7426
|
};
|
|
7368
7427
|
|
|
7428
|
+
// src/resources/persons.ts
|
|
7429
|
+
var Persons = class {
|
|
7430
|
+
constructor(request) {
|
|
7431
|
+
this.request = request;
|
|
7432
|
+
}
|
|
7433
|
+
/**
|
|
7434
|
+
* One page of persons, by default the most recent payment first, with the
|
|
7435
|
+
* number of persons the request matches.
|
|
7436
|
+
* `GET /persons`
|
|
7437
|
+
*/
|
|
7438
|
+
async list(params) {
|
|
7439
|
+
return this.request("GET", "/persons", { query: params });
|
|
7440
|
+
}
|
|
7441
|
+
/**
|
|
7442
|
+
* One person: its figures, the identifiers and IP addresses its payments
|
|
7443
|
+
* carry, and its payments by status, shop, payment method, risk band and
|
|
7444
|
+
* environment. The id of a person that was merged into another returns
|
|
7445
|
+
* that person, with `merged_from` naming the id asked for. A person with
|
|
7446
|
+
* no payment in the scope is not found (`404`).
|
|
7447
|
+
* `GET /persons/{person_id}`
|
|
7448
|
+
*/
|
|
7449
|
+
async retrieve(personId, params) {
|
|
7450
|
+
return this.request("GET", `/persons/${encodeURIComponent(personId)}`, {
|
|
7451
|
+
query: params
|
|
7452
|
+
});
|
|
7453
|
+
}
|
|
7454
|
+
/**
|
|
7455
|
+
* Other persons of the merchant that may be the same person, the likeliest
|
|
7456
|
+
* first, at most 20. An estimate from the devices the persons paid with;
|
|
7457
|
+
* related persons stay separate persons.
|
|
7458
|
+
* `GET /persons/{person_id}/related`
|
|
7459
|
+
*/
|
|
7460
|
+
async related(personId, params) {
|
|
7461
|
+
return this.request("GET", `/persons/${encodeURIComponent(personId)}/related`, {
|
|
7462
|
+
query: params
|
|
7463
|
+
});
|
|
7464
|
+
}
|
|
7465
|
+
/**
|
|
7466
|
+
* The person of one payment, with how many payments the person has and
|
|
7467
|
+
* which kinds of identifier tie this payment to the others. `404` while
|
|
7468
|
+
* the payment has no person yet.
|
|
7469
|
+
* `GET /persons/payment/{payment_id}`
|
|
7470
|
+
*/
|
|
7471
|
+
async ofPayment(paymentId, params) {
|
|
7472
|
+
return this.request("GET", `/persons/payment/${encodeURIComponent(paymentId)}`, {
|
|
7473
|
+
query: params
|
|
7474
|
+
});
|
|
7475
|
+
}
|
|
7476
|
+
};
|
|
7477
|
+
|
|
7369
7478
|
// src/resources/shopLabels.ts
|
|
7370
7479
|
var labelsPath = (merchantId) => `/account/${encodeURIComponent(merchantId)}/business-profile/labels`;
|
|
7371
7480
|
var ShopLabels = class {
|
|
@@ -7618,12 +7727,13 @@ var BuyerConversations = class {
|
|
|
7618
7727
|
this.request = request;
|
|
7619
7728
|
}
|
|
7620
7729
|
/**
|
|
7621
|
-
* One page of the inbox, the latest message first
|
|
7622
|
-
* status, assignee, mode or
|
|
7730
|
+
* One page of the inbox, the latest message first unless `sort_by` says
|
|
7731
|
+
* otherwise, filtered by shop, status (one or several), assignee, mode or
|
|
7732
|
+
* buyer. `GET /buyer-conversations`
|
|
7623
7733
|
*/
|
|
7624
7734
|
async list(params) {
|
|
7625
7735
|
return this.request("GET", "/buyer-conversations", {
|
|
7626
|
-
query: params
|
|
7736
|
+
query: csvQuery(params, ["status"])
|
|
7627
7737
|
});
|
|
7628
7738
|
}
|
|
7629
7739
|
/**
|
|
@@ -7734,12 +7844,14 @@ var BuyerEvidenceReviews = class {
|
|
|
7734
7844
|
this.request = request;
|
|
7735
7845
|
}
|
|
7736
7846
|
/**
|
|
7737
|
-
* The shop's cases with buyer evidence, the nearest target first
|
|
7738
|
-
* `
|
|
7847
|
+
* The shop's cases with buyer evidence, the nearest target first unless
|
|
7848
|
+
* `sort_by` says otherwise. Several `state` values match a case in any of
|
|
7849
|
+
* them. `merchant_id` and `reviewer` are ignored here, and so are the
|
|
7850
|
+
* `merchant` and `reviewer` sorts. `GET /buyer-evidence`
|
|
7739
7851
|
*/
|
|
7740
7852
|
async list(params) {
|
|
7741
7853
|
return this.request("GET", "/buyer-evidence", {
|
|
7742
|
-
query: params
|
|
7854
|
+
query: csvQuery(params, ["state"])
|
|
7743
7855
|
});
|
|
7744
7856
|
}
|
|
7745
7857
|
/** One case's evidence with its history and files. `GET /buyer-evidence/{id}` */
|
|
@@ -8511,10 +8623,14 @@ var Support = class {
|
|
|
8511
8623
|
async create(body) {
|
|
8512
8624
|
return this.request("POST", "/support/conversations", { body });
|
|
8513
8625
|
}
|
|
8514
|
-
/**
|
|
8626
|
+
/**
|
|
8627
|
+
* The conversations the caller may read, the latest message first unless
|
|
8628
|
+
* `sort_by` says otherwise. Several `kind`, `category` or `status` values
|
|
8629
|
+
* match a conversation with any of them. `GET /support/conversations`
|
|
8630
|
+
*/
|
|
8515
8631
|
async list(query) {
|
|
8516
8632
|
return this.request("GET", "/support/conversations", {
|
|
8517
|
-
query: query
|
|
8633
|
+
query: csvQuery(query, ["kind", "category", "status"])
|
|
8518
8634
|
});
|
|
8519
8635
|
}
|
|
8520
8636
|
/** One conversation. `GET /support/conversations/{id}` */
|
|
@@ -8565,6 +8681,7 @@ var Support = class {
|
|
|
8565
8681
|
};
|
|
8566
8682
|
|
|
8567
8683
|
// src/resources/invoices.ts
|
|
8684
|
+
var INVOICE_CSV_KEYS = ["status", "kind"];
|
|
8568
8685
|
var Invoices = class {
|
|
8569
8686
|
constructor(request) {
|
|
8570
8687
|
this.request = request;
|
|
@@ -8584,13 +8701,15 @@ var Invoices = class {
|
|
|
8584
8701
|
return this.request("POST", "/invoices", { body: params, ...options });
|
|
8585
8702
|
}
|
|
8586
8703
|
/**
|
|
8587
|
-
* One page of documents, newest first
|
|
8588
|
-
* `include_lines` is set, and never a `refund`
|
|
8704
|
+
* One page of documents, newest first unless `sort_by` says otherwise. List
|
|
8705
|
+
* rows carry no `lines` unless `include_lines` is set, and never a `refund`
|
|
8706
|
+
* summary. Several `status` or `kind` values match a document in any of
|
|
8707
|
+
* them.
|
|
8589
8708
|
* `GET /invoices`
|
|
8590
8709
|
*/
|
|
8591
8710
|
async list(params, options) {
|
|
8592
8711
|
return this.request("GET", "/invoices", {
|
|
8593
|
-
query: params
|
|
8712
|
+
query: csvQuery(params, INVOICE_CSV_KEYS),
|
|
8594
8713
|
...options
|
|
8595
8714
|
});
|
|
8596
8715
|
}
|
|
@@ -8615,7 +8734,7 @@ var Invoices = class {
|
|
|
8615
8734
|
*/
|
|
8616
8735
|
async listForProduct(productId, params, options) {
|
|
8617
8736
|
return this.request("GET", `/products/${encodeURIComponent(productId)}/invoices`, {
|
|
8618
|
-
query: params
|
|
8737
|
+
query: csvQuery(params, INVOICE_CSV_KEYS),
|
|
8619
8738
|
...options
|
|
8620
8739
|
});
|
|
8621
8740
|
}
|
|
@@ -8633,7 +8752,7 @@ var Invoices = class {
|
|
|
8633
8752
|
*/
|
|
8634
8753
|
async export(params, options) {
|
|
8635
8754
|
return this.request("GET", "/invoices/export", {
|
|
8636
|
-
query:
|
|
8755
|
+
query: csvQuery(params, INVOICE_CSV_KEYS),
|
|
8637
8756
|
responseType: "blob",
|
|
8638
8757
|
...options
|
|
8639
8758
|
});
|
|
@@ -9328,7 +9447,10 @@ var Subscriptions = class {
|
|
|
9328
9447
|
...options
|
|
9329
9448
|
});
|
|
9330
9449
|
}
|
|
9331
|
-
/**
|
|
9450
|
+
/**
|
|
9451
|
+
* List subscriptions for the profile, or one customer's with `customer_id`.
|
|
9452
|
+
* `GET /subscriptions/list`
|
|
9453
|
+
*/
|
|
9332
9454
|
async list(params, options) {
|
|
9333
9455
|
return this.request("GET", "/subscriptions/list", {
|
|
9334
9456
|
query: params,
|
|
@@ -10124,13 +10246,19 @@ var BuyerPortal = class {
|
|
|
10124
10246
|
};
|
|
10125
10247
|
|
|
10126
10248
|
// src/resources/audit.ts
|
|
10249
|
+
var MERCHANT_AUDIT_CSV_KEYS = ["profile_id", "action", "entity_type"];
|
|
10127
10250
|
var Audit = class {
|
|
10128
10251
|
constructor(request) {
|
|
10129
10252
|
this.request = request;
|
|
10130
10253
|
}
|
|
10254
|
+
/**
|
|
10255
|
+
* One page of the merchant's audit log, the newest entry first unless
|
|
10256
|
+
* `sort_by` says otherwise. Several `profile_id`, `action` or `entity_type`
|
|
10257
|
+
* values match an entry with any of them. `GET /audit`
|
|
10258
|
+
*/
|
|
10131
10259
|
async list(params) {
|
|
10132
10260
|
return this.request("GET", "/audit", {
|
|
10133
|
-
query: params
|
|
10261
|
+
query: csvQuery(params, MERCHANT_AUDIT_CSV_KEYS)
|
|
10134
10262
|
});
|
|
10135
10263
|
}
|
|
10136
10264
|
/**
|
|
@@ -10143,6 +10271,33 @@ var Audit = class {
|
|
|
10143
10271
|
};
|
|
10144
10272
|
|
|
10145
10273
|
// src/resources/settlement.ts
|
|
10274
|
+
function statementListQuery(params) {
|
|
10275
|
+
return csvQuery(
|
|
10276
|
+
{
|
|
10277
|
+
test_mode: params.test_mode,
|
|
10278
|
+
profile_id: params.profile_id,
|
|
10279
|
+
limit: params.limit,
|
|
10280
|
+
offset: params.offset,
|
|
10281
|
+
payout_status: params.payout_status,
|
|
10282
|
+
period_from: params.period_from,
|
|
10283
|
+
period_to: params.period_to,
|
|
10284
|
+
sort_by: params.sort_by,
|
|
10285
|
+
sort_order: params.sort_order
|
|
10286
|
+
},
|
|
10287
|
+
["payout_status"]
|
|
10288
|
+
);
|
|
10289
|
+
}
|
|
10290
|
+
function nativeListQuery(params) {
|
|
10291
|
+
return {
|
|
10292
|
+
profile_id: params.profile_id,
|
|
10293
|
+
currency: params.currency,
|
|
10294
|
+
test_mode: params.test_mode,
|
|
10295
|
+
limit: params.limit,
|
|
10296
|
+
offset: params.offset,
|
|
10297
|
+
sort_by: params.sort_by,
|
|
10298
|
+
sort_order: params.sort_order
|
|
10299
|
+
};
|
|
10300
|
+
}
|
|
10146
10301
|
function exportHeaders(options, accept) {
|
|
10147
10302
|
const headers = new Headers(options?.headers);
|
|
10148
10303
|
headers.set("Accept", accept);
|
|
@@ -10306,18 +10461,15 @@ var Settlement = class {
|
|
|
10306
10461
|
});
|
|
10307
10462
|
}
|
|
10308
10463
|
/**
|
|
10309
|
-
* List generated settlement statements, newest first
|
|
10464
|
+
* List generated settlement statements, the newest period first unless
|
|
10465
|
+
* `sort_by` says otherwise. Several `payout_status` values match a
|
|
10466
|
+
* statement in any of them.
|
|
10310
10467
|
*
|
|
10311
10468
|
* `GET /settlement/statements`
|
|
10312
10469
|
*/
|
|
10313
10470
|
async listStatements(params, options) {
|
|
10314
10471
|
return this.request("GET", "/settlement/statements", {
|
|
10315
|
-
query:
|
|
10316
|
-
test_mode: params.test_mode,
|
|
10317
|
-
profile_id: params.profile_id,
|
|
10318
|
-
limit: params.limit,
|
|
10319
|
-
offset: params.offset
|
|
10320
|
-
},
|
|
10472
|
+
query: statementListQuery(params),
|
|
10321
10473
|
...options
|
|
10322
10474
|
});
|
|
10323
10475
|
}
|
|
@@ -10574,16 +10726,14 @@ var Settlement = class {
|
|
|
10574
10726
|
options
|
|
10575
10727
|
);
|
|
10576
10728
|
}
|
|
10577
|
-
/**
|
|
10729
|
+
/**
|
|
10730
|
+
* List report summaries without fetching every source row in each saved
|
|
10731
|
+
* snapshot, the newest first. `sort_by` takes `period` here; another value
|
|
10732
|
+
* is refused.
|
|
10733
|
+
*/
|
|
10578
10734
|
async listNativeReports(params, options) {
|
|
10579
10735
|
return this.request("GET", "/settlement/native/reports", {
|
|
10580
|
-
query:
|
|
10581
|
-
profile_id: params.profile_id,
|
|
10582
|
-
currency: params.currency,
|
|
10583
|
-
test_mode: params.test_mode,
|
|
10584
|
-
limit: params.limit,
|
|
10585
|
-
offset: params.offset
|
|
10586
|
-
},
|
|
10736
|
+
query: nativeListQuery(params),
|
|
10587
10737
|
...options
|
|
10588
10738
|
});
|
|
10589
10739
|
}
|
|
@@ -10601,15 +10751,13 @@ var Settlement = class {
|
|
|
10601
10751
|
bodyIdempotencyKey: params.idempotency_key
|
|
10602
10752
|
});
|
|
10603
10753
|
}
|
|
10754
|
+
/**
|
|
10755
|
+
* List recorded payouts, the earliest value date first. `sort_by` takes
|
|
10756
|
+
* `value_date` or `amount` here; another value is refused.
|
|
10757
|
+
*/
|
|
10604
10758
|
async listNativePayouts(params, options) {
|
|
10605
10759
|
return this.request("GET", "/settlement/native/payouts", {
|
|
10606
|
-
query:
|
|
10607
|
-
profile_id: params.profile_id,
|
|
10608
|
-
currency: params.currency,
|
|
10609
|
-
test_mode: params.test_mode,
|
|
10610
|
-
limit: params.limit,
|
|
10611
|
-
offset: params.offset
|
|
10612
|
-
},
|
|
10760
|
+
query: nativeListQuery(params),
|
|
10613
10761
|
...options
|
|
10614
10762
|
});
|
|
10615
10763
|
}
|
|
@@ -11563,6 +11711,7 @@ var Delopay = class {
|
|
|
11563
11711
|
this.availabilityOverrides = new AvailabilityOverrides(request);
|
|
11564
11712
|
this.sellToRestrictions = new SellToRestrictions(request);
|
|
11565
11713
|
this.buyerBlocklist = new BuyerBlocklist(request);
|
|
11714
|
+
this.persons = new Persons(request);
|
|
11566
11715
|
this.shopLabels = new ShopLabels(request);
|
|
11567
11716
|
this.industries = new Industries(request);
|
|
11568
11717
|
this.checkoutTemplates = new CheckoutTemplates(request);
|
|
@@ -12085,6 +12234,14 @@ function leaf(lhs, comparison, value) {
|
|
|
12085
12234
|
const tagged = typeof value === "number" ? { type: "number", value } : { type: "enum_variant", value };
|
|
12086
12235
|
return { kind: "leaf", lhs, comparison, value: tagged };
|
|
12087
12236
|
}
|
|
12237
|
+
function metadataLeaf(key, comparison, value) {
|
|
12238
|
+
return {
|
|
12239
|
+
kind: "leaf",
|
|
12240
|
+
lhs: "metadata",
|
|
12241
|
+
comparison,
|
|
12242
|
+
value: { type: "metadata_variant", value: { key, value } }
|
|
12243
|
+
};
|
|
12244
|
+
}
|
|
12088
12245
|
function allOf(...children) {
|
|
12089
12246
|
return { kind: "all", children };
|
|
12090
12247
|
}
|
|
@@ -12196,7 +12353,8 @@ function programToTree(program) {
|
|
|
12196
12353
|
rules: program.rules.map((r) => ({
|
|
12197
12354
|
name: r.name,
|
|
12198
12355
|
match: ruleMatchToTree(r.statements),
|
|
12199
|
-
fee: r.connectorSelection.fee ?? null
|
|
12356
|
+
fee: r.connectorSelection.fee ?? null,
|
|
12357
|
+
schedule: r.connectorSelection.schedule ?? null
|
|
12200
12358
|
})),
|
|
12201
12359
|
otherwise: program.defaultSelection.fee ?? null
|
|
12202
12360
|
};
|
|
@@ -12210,11 +12368,11 @@ var FeeProgramBuilder = class {
|
|
|
12210
12368
|
rule(input) {
|
|
12211
12369
|
if (input.match) assertNoEmptyAnyOf(input.match);
|
|
12212
12370
|
const statements = input.match ? encodeStatements(input.match) : [{ condition: buildConditions(input.when, input.rawConditions) }];
|
|
12213
|
-
|
|
12214
|
-
|
|
12215
|
-
|
|
12216
|
-
|
|
12217
|
-
});
|
|
12371
|
+
const connectorSelection = {
|
|
12372
|
+
fee: toFeeOutput(input.fee)
|
|
12373
|
+
};
|
|
12374
|
+
if (input.schedule !== void 0) connectorSelection.schedule = input.schedule;
|
|
12375
|
+
this.rules.push({ name: input.name, connectorSelection, statements });
|
|
12218
12376
|
return this;
|
|
12219
12377
|
}
|
|
12220
12378
|
/** Set the default selection (applied when no rule matches). */
|
|
@@ -12235,6 +12393,170 @@ function feeProgram() {
|
|
|
12235
12393
|
return new FeeProgramBuilder();
|
|
12236
12394
|
}
|
|
12237
12395
|
|
|
12396
|
+
// src/currencies.ts
|
|
12397
|
+
var PAYMENT_CURRENCIES = [
|
|
12398
|
+
"AED",
|
|
12399
|
+
"AFN",
|
|
12400
|
+
"ALL",
|
|
12401
|
+
"AMD",
|
|
12402
|
+
"ANG",
|
|
12403
|
+
"AOA",
|
|
12404
|
+
"ARS",
|
|
12405
|
+
"AUD",
|
|
12406
|
+
"AWG",
|
|
12407
|
+
"AZN",
|
|
12408
|
+
"BAM",
|
|
12409
|
+
"BBD",
|
|
12410
|
+
"BDT",
|
|
12411
|
+
"BGN",
|
|
12412
|
+
"BHD",
|
|
12413
|
+
"BIF",
|
|
12414
|
+
"BMD",
|
|
12415
|
+
"BND",
|
|
12416
|
+
"BOB",
|
|
12417
|
+
"BRL",
|
|
12418
|
+
"BSD",
|
|
12419
|
+
"BTN",
|
|
12420
|
+
"BWP",
|
|
12421
|
+
"BYN",
|
|
12422
|
+
"BZD",
|
|
12423
|
+
"CAD",
|
|
12424
|
+
"CDF",
|
|
12425
|
+
"CHF",
|
|
12426
|
+
"CLF",
|
|
12427
|
+
"CLP",
|
|
12428
|
+
"CNY",
|
|
12429
|
+
"COP",
|
|
12430
|
+
"CRC",
|
|
12431
|
+
"CUC",
|
|
12432
|
+
"CUP",
|
|
12433
|
+
"CVE",
|
|
12434
|
+
"CZK",
|
|
12435
|
+
"DJF",
|
|
12436
|
+
"DKK",
|
|
12437
|
+
"DOP",
|
|
12438
|
+
"DZD",
|
|
12439
|
+
"EGP",
|
|
12440
|
+
"ERN",
|
|
12441
|
+
"ETB",
|
|
12442
|
+
"EUR",
|
|
12443
|
+
"FJD",
|
|
12444
|
+
"FKP",
|
|
12445
|
+
"GBP",
|
|
12446
|
+
"GEL",
|
|
12447
|
+
"GHS",
|
|
12448
|
+
"GIP",
|
|
12449
|
+
"GMD",
|
|
12450
|
+
"GNF",
|
|
12451
|
+
"GTQ",
|
|
12452
|
+
"GYD",
|
|
12453
|
+
"HKD",
|
|
12454
|
+
"HNL",
|
|
12455
|
+
"HRK",
|
|
12456
|
+
"HTG",
|
|
12457
|
+
"HUF",
|
|
12458
|
+
"IDR",
|
|
12459
|
+
"ILS",
|
|
12460
|
+
"INR",
|
|
12461
|
+
"IQD",
|
|
12462
|
+
"IRR",
|
|
12463
|
+
"ISK",
|
|
12464
|
+
"JMD",
|
|
12465
|
+
"JOD",
|
|
12466
|
+
"JPY",
|
|
12467
|
+
"KES",
|
|
12468
|
+
"KGS",
|
|
12469
|
+
"KHR",
|
|
12470
|
+
"KMF",
|
|
12471
|
+
"KPW",
|
|
12472
|
+
"KRW",
|
|
12473
|
+
"KWD",
|
|
12474
|
+
"KYD",
|
|
12475
|
+
"KZT",
|
|
12476
|
+
"LAK",
|
|
12477
|
+
"LBP",
|
|
12478
|
+
"LKR",
|
|
12479
|
+
"LRD",
|
|
12480
|
+
"LSL",
|
|
12481
|
+
"LYD",
|
|
12482
|
+
"MAD",
|
|
12483
|
+
"MDL",
|
|
12484
|
+
"MGA",
|
|
12485
|
+
"MKD",
|
|
12486
|
+
"MMK",
|
|
12487
|
+
"MNT",
|
|
12488
|
+
"MOP",
|
|
12489
|
+
"MRU",
|
|
12490
|
+
"MUR",
|
|
12491
|
+
"MVR",
|
|
12492
|
+
"MWK",
|
|
12493
|
+
"MXN",
|
|
12494
|
+
"MYR",
|
|
12495
|
+
"MZN",
|
|
12496
|
+
"NAD",
|
|
12497
|
+
"NGN",
|
|
12498
|
+
"NIO",
|
|
12499
|
+
"NOK",
|
|
12500
|
+
"NPR",
|
|
12501
|
+
"NZD",
|
|
12502
|
+
"OMR",
|
|
12503
|
+
"PAB",
|
|
12504
|
+
"PEN",
|
|
12505
|
+
"PGK",
|
|
12506
|
+
"PHP",
|
|
12507
|
+
"PKR",
|
|
12508
|
+
"PLN",
|
|
12509
|
+
"PYG",
|
|
12510
|
+
"QAR",
|
|
12511
|
+
"RON",
|
|
12512
|
+
"RSD",
|
|
12513
|
+
"RUB",
|
|
12514
|
+
"RWF",
|
|
12515
|
+
"SAR",
|
|
12516
|
+
"SBD",
|
|
12517
|
+
"SCR",
|
|
12518
|
+
"SDG",
|
|
12519
|
+
"SEK",
|
|
12520
|
+
"SGD",
|
|
12521
|
+
"SHP",
|
|
12522
|
+
"SLE",
|
|
12523
|
+
"SLL",
|
|
12524
|
+
"SOS",
|
|
12525
|
+
"SRD",
|
|
12526
|
+
"SSP",
|
|
12527
|
+
"STD",
|
|
12528
|
+
"STN",
|
|
12529
|
+
"SVC",
|
|
12530
|
+
"SYP",
|
|
12531
|
+
"SZL",
|
|
12532
|
+
"THB",
|
|
12533
|
+
"TJS",
|
|
12534
|
+
"TMT",
|
|
12535
|
+
"TND",
|
|
12536
|
+
"TOP",
|
|
12537
|
+
"TRY",
|
|
12538
|
+
"TTD",
|
|
12539
|
+
"TWD",
|
|
12540
|
+
"TZS",
|
|
12541
|
+
"UAH",
|
|
12542
|
+
"UGX",
|
|
12543
|
+
"USD",
|
|
12544
|
+
"UYU",
|
|
12545
|
+
"UZS",
|
|
12546
|
+
"VES",
|
|
12547
|
+
"VND",
|
|
12548
|
+
"VUV",
|
|
12549
|
+
"WST",
|
|
12550
|
+
"XAF",
|
|
12551
|
+
"XCD",
|
|
12552
|
+
"XOF",
|
|
12553
|
+
"XPF",
|
|
12554
|
+
"YER",
|
|
12555
|
+
"ZAR",
|
|
12556
|
+
"ZMW",
|
|
12557
|
+
"ZWL"
|
|
12558
|
+
];
|
|
12559
|
+
|
|
12238
12560
|
// src/airwallexCard.ts
|
|
12239
12561
|
var AIRWALLEX_CARD_PRESETS = [
|
|
12240
12562
|
"single_row",
|
|
@@ -17468,12 +17790,15 @@ var AdminFileScans = class {
|
|
|
17468
17790
|
return this.request("POST", "/admin-portal/file-scans/test", { body });
|
|
17469
17791
|
}
|
|
17470
17792
|
/**
|
|
17471
|
-
* Uploaded files their scan blocked, of every kind, latest result first
|
|
17472
|
-
* with what the scanner found.
|
|
17473
|
-
*
|
|
17793
|
+
* Uploaded files their scan blocked, of every kind, latest result first
|
|
17794
|
+
* unless `sort_by` says otherwise, with what the scanner found. Several
|
|
17795
|
+
* `kind` or `side` values match a file with any of them. A blocked file's
|
|
17796
|
+
* content is never handed out. `GET /admin-portal/file-scans/blocked`
|
|
17474
17797
|
*/
|
|
17475
17798
|
async blocked(query = {}) {
|
|
17476
|
-
return this.request("GET", "/admin-portal/file-scans/blocked", {
|
|
17799
|
+
return this.request("GET", "/admin-portal/file-scans/blocked", {
|
|
17800
|
+
query: csvQuery(query, ["kind", "side"])
|
|
17801
|
+
});
|
|
17477
17802
|
}
|
|
17478
17803
|
};
|
|
17479
17804
|
|
|
@@ -17697,9 +18022,14 @@ var AdminPortal = class {
|
|
|
17697
18022
|
{ body }
|
|
17698
18023
|
);
|
|
17699
18024
|
}
|
|
18025
|
+
/**
|
|
18026
|
+
* One page of merchants. Without `sort_by` the caller's favorite merchants
|
|
18027
|
+
* come first; with one, favorites are not moved. Several `billing_status`
|
|
18028
|
+
* values match a merchant in any of them. `GET /admin-portal/customers`
|
|
18029
|
+
*/
|
|
17700
18030
|
async listCustomers(params) {
|
|
17701
18031
|
return this.request("GET", "/admin-portal/customers", {
|
|
17702
|
-
query: params
|
|
18032
|
+
query: csvQuery(params, ["billing_status"])
|
|
17703
18033
|
});
|
|
17704
18034
|
}
|
|
17705
18035
|
async getCustomer(customerId) {
|
|
@@ -17711,6 +18041,55 @@ var AdminPortal = class {
|
|
|
17711
18041
|
query
|
|
17712
18042
|
});
|
|
17713
18043
|
}
|
|
18044
|
+
/**
|
|
18045
|
+
* One page of ONE merchant's persons: the same query and response as the
|
|
18046
|
+
* merchant-facing `persons.list`, admin-authenticated. Persons are never
|
|
18047
|
+
* read across merchants.
|
|
18048
|
+
*
|
|
18049
|
+
* `GET /admin-portal/persons/{merchantId}`
|
|
18050
|
+
*/
|
|
18051
|
+
async listPersons(merchantId, params) {
|
|
18052
|
+
return this.request("GET", adminPersons(merchantId), {
|
|
18053
|
+
query: params
|
|
18054
|
+
});
|
|
18055
|
+
}
|
|
18056
|
+
/**
|
|
18057
|
+
* One person of a merchant, as the merchant-facing `persons.retrieve`
|
|
18058
|
+
* returns it.
|
|
18059
|
+
*
|
|
18060
|
+
* `GET /admin-portal/persons/{merchantId}/{personId}`
|
|
18061
|
+
*/
|
|
18062
|
+
async getPerson(merchantId, personId, params) {
|
|
18063
|
+
return this.request("GET", `${adminPersons(merchantId)}/${encodeURIComponent(personId)}`, {
|
|
18064
|
+
query: params
|
|
18065
|
+
});
|
|
18066
|
+
}
|
|
18067
|
+
/**
|
|
18068
|
+
* The persons of a merchant that may be the same person as this one, as
|
|
18069
|
+
* the merchant-facing `persons.related` returns them.
|
|
18070
|
+
*
|
|
18071
|
+
* `GET /admin-portal/persons/{merchantId}/{personId}/related`
|
|
18072
|
+
*/
|
|
18073
|
+
async listRelatedPersons(merchantId, personId, params) {
|
|
18074
|
+
return this.request(
|
|
18075
|
+
"GET",
|
|
18076
|
+
`${adminPersons(merchantId)}/${encodeURIComponent(personId)}/related`,
|
|
18077
|
+
{ query: params }
|
|
18078
|
+
);
|
|
18079
|
+
}
|
|
18080
|
+
/**
|
|
18081
|
+
* The person of one payment of a merchant, as the merchant-facing
|
|
18082
|
+
* `persons.ofPayment` returns it.
|
|
18083
|
+
*
|
|
18084
|
+
* `GET /admin-portal/persons/{merchantId}/payment/{paymentId}`
|
|
18085
|
+
*/
|
|
18086
|
+
async getPaymentPerson(merchantId, paymentId, params) {
|
|
18087
|
+
return this.request(
|
|
18088
|
+
"GET",
|
|
18089
|
+
`${adminPersons(merchantId)}/payment/${encodeURIComponent(paymentId)}`,
|
|
18090
|
+
{ query: params }
|
|
18091
|
+
);
|
|
18092
|
+
}
|
|
17714
18093
|
async exportTransactions(params, options) {
|
|
17715
18094
|
return runExport(
|
|
17716
18095
|
this.request,
|
|
@@ -17876,21 +18255,25 @@ var AdminPortal = class {
|
|
|
17876
18255
|
}
|
|
17877
18256
|
/**
|
|
17878
18257
|
* Refunds of ANY merchant mirrored from a connector webhook at a
|
|
17879
|
-
* non-terminal status that no sync can advance. Newest first
|
|
18258
|
+
* non-terminal status that no sync can advance. Newest first unless
|
|
18259
|
+
* `sort_by` says otherwise. Several `connector`, `status` or `sync_reason`
|
|
18260
|
+
* values match a refund with any of them.
|
|
17880
18261
|
*/
|
|
17881
18262
|
async listUnresolvedRefunds(params) {
|
|
17882
18263
|
return this.request("GET", "/admin-portal/refunds/unresolved", {
|
|
17883
|
-
query: params
|
|
18264
|
+
query: csvQuery(params, ["connector", "status", "sync_reason"])
|
|
17884
18265
|
});
|
|
17885
18266
|
}
|
|
17886
18267
|
// --- Buyer evidence review --------------------------------------------------
|
|
17887
18268
|
/**
|
|
17888
|
-
* DeloPay's review queue of buyers' evidence, the nearest target first
|
|
17889
|
-
* across merchants unless `merchant_id`
|
|
18269
|
+
* DeloPay's review queue of buyers' evidence, the nearest target first
|
|
18270
|
+
* unless `sort_by` says otherwise, across merchants unless `merchant_id` or
|
|
18271
|
+
* `profile_id` narrows it. Several `state` values match a case in any of
|
|
18272
|
+
* them.
|
|
17890
18273
|
*/
|
|
17891
18274
|
async listBuyerEvidence(params) {
|
|
17892
18275
|
return this.request("GET", "/admin-portal/buyer-evidence", {
|
|
17893
|
-
query: params
|
|
18276
|
+
query: csvQuery(params, ["state"])
|
|
17894
18277
|
});
|
|
17895
18278
|
}
|
|
17896
18279
|
/** Chargeback prevention connections across merchants, or of one merchant. */
|
|
@@ -18561,14 +18944,7 @@ var AdminPortal = class {
|
|
|
18561
18944
|
return this.request(
|
|
18562
18945
|
"GET",
|
|
18563
18946
|
`/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/statements`,
|
|
18564
|
-
{
|
|
18565
|
-
query: {
|
|
18566
|
-
test_mode: params.test_mode,
|
|
18567
|
-
profile_id: params.profile_id,
|
|
18568
|
-
limit: params.limit,
|
|
18569
|
-
offset: params.offset
|
|
18570
|
-
}
|
|
18571
|
-
}
|
|
18947
|
+
{ query: statementListQuery(params) }
|
|
18572
18948
|
);
|
|
18573
18949
|
}
|
|
18574
18950
|
/**
|
|
@@ -18915,6 +19291,7 @@ function transactionListQuery(params) {
|
|
|
18915
19291
|
failure_substatuses,
|
|
18916
19292
|
product_ids,
|
|
18917
19293
|
buyer_risk_band,
|
|
19294
|
+
merchant_ids,
|
|
18918
19295
|
...query
|
|
18919
19296
|
} = params;
|
|
18920
19297
|
return {
|
|
@@ -18929,9 +19306,13 @@ function transactionListQuery(params) {
|
|
|
18929
19306
|
...routing_approaches?.length ? { routing_approaches: routing_approaches.join(",") } : {},
|
|
18930
19307
|
...failure_substatuses?.length ? { failure_substatuses: failure_substatuses.join(",") } : {},
|
|
18931
19308
|
...product_ids?.length ? { product_ids: product_ids.join(",") } : {},
|
|
18932
|
-
...buyer_risk_band?.length ? { buyer_risk_band: buyer_risk_band.join(",") } : {}
|
|
19309
|
+
...buyer_risk_band?.length ? { buyer_risk_band: buyer_risk_band.join(",") } : {},
|
|
19310
|
+
...merchant_ids?.length ? { merchant_ids: merchant_ids.join(",") } : {}
|
|
18933
19311
|
};
|
|
18934
19312
|
}
|
|
19313
|
+
function adminPersons(merchantId) {
|
|
19314
|
+
return `/admin-portal/persons/${encodeURIComponent(merchantId)}`;
|
|
19315
|
+
}
|
|
18935
19316
|
function adminAccount(merchantId) {
|
|
18936
19317
|
return `/admin-portal/accounts/${encodeURIComponent(merchantId)}`;
|
|
18937
19318
|
}
|
|
@@ -18942,12 +19323,30 @@ var AdminSupport = class {
|
|
|
18942
19323
|
constructor(request) {
|
|
18943
19324
|
this.request = request;
|
|
18944
19325
|
}
|
|
18945
|
-
/**
|
|
19326
|
+
/**
|
|
19327
|
+
* The queue, the latest message first unless `sort_by` says otherwise.
|
|
19328
|
+
* Several `kind`, `category` or `status` values match a conversation with
|
|
19329
|
+
* any of them. `GET /admin-portal/support/conversations`
|
|
19330
|
+
*/
|
|
18946
19331
|
async list(query) {
|
|
18947
19332
|
return this.request("GET", "/admin-portal/support/conversations", {
|
|
18948
|
-
query: query
|
|
19333
|
+
query: csvQuery(query, ["kind", "category", "status"])
|
|
18949
19334
|
});
|
|
18950
19335
|
}
|
|
19336
|
+
/**
|
|
19337
|
+
* Open a conversation towards a merchant, one of its shops or one of its members,
|
|
19338
|
+
* with a first message from the support team. `POST /admin-portal/support/conversations`
|
|
19339
|
+
*/
|
|
19340
|
+
async create(body) {
|
|
19341
|
+
return this.request("POST", "/admin-portal/support/conversations", { body });
|
|
19342
|
+
}
|
|
19343
|
+
/**
|
|
19344
|
+
* The members of a merchant a message can be addressed to, with whether their role
|
|
19345
|
+
* opens the support page. `GET /admin-portal/support/recipients`
|
|
19346
|
+
*/
|
|
19347
|
+
async recipients(query) {
|
|
19348
|
+
return this.request("GET", "/admin-portal/support/recipients", { query: { ...query } });
|
|
19349
|
+
}
|
|
18951
19350
|
/** One conversation. `GET /admin-portal/support/conversations/{id}` */
|
|
18952
19351
|
async retrieve(id) {
|
|
18953
19352
|
return this.request("GET", path3(id));
|
|
@@ -19000,9 +19399,14 @@ var AuditLogs = class {
|
|
|
19000
19399
|
constructor(request) {
|
|
19001
19400
|
this.request = request;
|
|
19002
19401
|
}
|
|
19402
|
+
/**
|
|
19403
|
+
* One page of the platform audit log, the newest entry first unless
|
|
19404
|
+
* `sort_by` says otherwise. Several `action` or `entity_type` values match
|
|
19405
|
+
* an entry with any of them.
|
|
19406
|
+
*/
|
|
19003
19407
|
async list(params) {
|
|
19004
19408
|
return this.request("GET", "/admin-portal/audit", {
|
|
19005
|
-
query: params
|
|
19409
|
+
query: csvQuery(params, ["action", "entity_type"])
|
|
19006
19410
|
});
|
|
19007
19411
|
}
|
|
19008
19412
|
async retrieve(logId) {
|
|
@@ -19016,7 +19420,7 @@ var AuditLogs = class {
|
|
|
19016
19420
|
// The format is negotiated by `Accept`, never a query field: the query
|
|
19017
19421
|
// here is the list's own filter model, and adding a key to it would fork
|
|
19018
19422
|
// the filter vocabulary the export exists to reuse.
|
|
19019
|
-
{ query: params },
|
|
19423
|
+
{ query: csvQuery(params, ["action", "entity_type"]) },
|
|
19020
19424
|
options
|
|
19021
19425
|
);
|
|
19022
19426
|
}
|
|
@@ -19927,10 +20331,12 @@ var DelopayInternal = class extends Delopay {
|
|
|
19927
20331
|
PANES_MAX,
|
|
19928
20332
|
PANE_CATEGORY_KEYS,
|
|
19929
20333
|
PANE_ICON_KEYS,
|
|
20334
|
+
PAYMENT_CURRENCIES,
|
|
19930
20335
|
PAYPAL_CARD_LAYOUTS,
|
|
19931
20336
|
PAYPAL_LABEL_STYLES,
|
|
19932
20337
|
PRESENTATION_CONTRACT_VERSION,
|
|
19933
20338
|
PaypalDisputes,
|
|
20339
|
+
Persons,
|
|
19934
20340
|
PlatformBilling,
|
|
19935
20341
|
PlatformFees,
|
|
19936
20342
|
PlatformMessageTemplates,
|
|
@@ -20069,6 +20475,7 @@ var DelopayInternal = class extends Delopay {
|
|
|
20069
20475
|
leaf,
|
|
20070
20476
|
logoDimensions,
|
|
20071
20477
|
matchWhopLook,
|
|
20478
|
+
metadataLeaf,
|
|
20072
20479
|
nativePaneMethodInfo,
|
|
20073
20480
|
nearestWhopAccent,
|
|
20074
20481
|
noticeText,
|