@delopay/sdk 0.420.0 → 0.424.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/airwallexCard.cjs.map +1 -1
- package/dist/branding.cjs.map +1 -1
- package/dist/cardFormStyles.cjs.map +1 -1
- package/dist/checkoutSession.cjs +2 -2
- package/dist/checkoutSession.cjs.map +1 -1
- package/dist/checkoutSession.js +1 -1
- package/dist/chunk-244VZFFO.cjs.map +1 -1
- package/dist/chunk-2IJRBJXW.cjs.map +1 -1
- package/dist/chunk-34PC72O7.cjs.map +1 -1
- package/dist/chunk-3GBWQWTP.cjs.map +1 -1
- package/dist/{chunk-BXQLINBN.cjs → chunk-3TFE2JB5.cjs} +3 -3
- package/dist/{chunk-BXQLINBN.cjs.map → chunk-3TFE2JB5.cjs.map} +1 -1
- package/dist/chunk-3YBBJT3Y.cjs.map +1 -1
- package/dist/{chunk-B2TCNGC2.cjs → chunk-424542L2.cjs} +16 -1
- package/dist/chunk-424542L2.cjs.map +1 -0
- package/dist/chunk-44QBWVRS.cjs.map +1 -1
- package/dist/chunk-4EKAWNYI.cjs.map +1 -1
- package/dist/chunk-4LN4BR2T.cjs.map +1 -1
- package/dist/chunk-4T4XHPYN.cjs.map +1 -1
- package/dist/chunk-5CITBN33.cjs.map +1 -1
- package/dist/chunk-5HCKC4HF.cjs.map +1 -1
- package/dist/chunk-5O2JSQYA.cjs.map +1 -1
- package/dist/chunk-6EBY2KKL.cjs.map +1 -1
- package/dist/chunk-6LOWE2YI.cjs.map +1 -1
- package/dist/chunk-6LSG5Z4T.cjs.map +1 -1
- package/dist/chunk-6SU2MTN2.cjs.map +1 -1
- package/dist/chunk-6YCDLSIU.cjs.map +1 -1
- package/dist/chunk-75E5WNJG.cjs.map +1 -1
- package/dist/chunk-7ITPMVDB.cjs.map +1 -1
- package/dist/chunk-7JV6VVO7.cjs.map +1 -1
- package/dist/chunk-7QZCUXWB.cjs.map +1 -1
- package/dist/chunk-7VXF5D67.cjs.map +1 -1
- package/dist/chunk-ACZ2R47X.cjs.map +1 -1
- package/dist/chunk-AYUYJO3I.cjs.map +1 -1
- package/dist/chunk-BCA3TCGS.cjs.map +1 -1
- package/dist/chunk-BOU2TQ6U.cjs.map +1 -1
- package/dist/chunk-BP6KDQ6I.cjs.map +1 -1
- package/dist/chunk-BRY3W7N3.cjs.map +1 -1
- package/dist/chunk-CAMALM35.cjs.map +1 -1
- package/dist/chunk-CCN44NZJ.cjs.map +1 -1
- package/dist/chunk-CKKNFFKP.cjs.map +1 -1
- package/dist/chunk-CR3JBTP3.cjs.map +1 -1
- package/dist/chunk-DJASVBOJ.cjs.map +1 -1
- package/dist/chunk-EEB2HDYL.cjs +172 -0
- package/dist/chunk-EEB2HDYL.cjs.map +1 -0
- package/dist/chunk-ENPSUWTS.cjs.map +1 -1
- package/dist/chunk-EQ6P6ZND.cjs.map +1 -1
- package/dist/chunk-EXPWQBI3.cjs.map +1 -1
- package/dist/chunk-F3I5DOWV.cjs.map +1 -1
- package/dist/chunk-F6S3WCCB.cjs.map +1 -1
- package/dist/chunk-FQRC4NJG.cjs.map +1 -1
- package/dist/chunk-FYISDU2Y.cjs.map +1 -1
- package/dist/chunk-GA3KXPIF.cjs.map +1 -1
- package/dist/chunk-GG52SAHA.cjs.map +1 -1
- package/dist/chunk-GK5FWN4H.cjs.map +1 -1
- package/dist/chunk-GSQN5EOO.cjs.map +1 -1
- package/dist/chunk-GW7IHYXR.cjs.map +1 -1
- package/dist/chunk-HLKFUOAQ.cjs.map +1 -1
- package/dist/chunk-HLYGHP6F.cjs.map +1 -1
- package/dist/{chunk-TA5O2MBG.js → chunk-HNJFRQSY.js} +2 -2
- package/dist/chunk-I2W7AO4B.cjs.map +1 -1
- package/dist/chunk-I2XGNALG.cjs.map +1 -1
- package/dist/chunk-I65QS3YQ.cjs.map +1 -1
- package/dist/chunk-IKXGA2Z5.cjs.map +1 -1
- package/dist/chunk-IR2LFKKA.cjs.map +1 -1
- package/dist/{chunk-GGYLU7YO.cjs → chunk-J4ZB7MU4.cjs} +28 -2
- package/dist/chunk-J4ZB7MU4.cjs.map +1 -0
- package/dist/{chunk-KGN4J2JT.js → chunk-JZGSKVTT.js} +38 -6
- package/dist/chunk-JZGSKVTT.js.map +1 -0
- package/dist/chunk-K5Q2H3VD.cjs.map +1 -1
- package/dist/{chunk-W3EFNOH6.js → chunk-K74UMEU4.js} +16 -1
- package/dist/chunk-K74UMEU4.js.map +1 -0
- package/dist/chunk-KD5Y2YWK.cjs.map +1 -1
- package/dist/chunk-KJDMNF2T.cjs.map +1 -1
- package/dist/chunk-KLONGJCL.cjs.map +1 -1
- package/dist/chunk-KOB6MOAV.cjs.map +1 -1
- package/dist/chunk-KSJ7JLR3.cjs.map +1 -1
- package/dist/chunk-LJ2EG6JK.cjs.map +1 -1
- package/dist/chunk-LLYY4TCZ.cjs.map +1 -1
- package/dist/chunk-LYIBTVK6.cjs.map +1 -1
- package/dist/chunk-M3HWE7KT.cjs.map +1 -1
- package/dist/chunk-M3SJHFT4.cjs.map +1 -1
- package/dist/chunk-MCNDMK7F.cjs.map +1 -1
- package/dist/chunk-MLG6NXI6.cjs.map +1 -1
- package/dist/chunk-NFB3S2E6.cjs.map +1 -1
- package/dist/{chunk-X76YC766.js → chunk-NN74DH4Q.js} +3 -3
- package/dist/chunk-NYL3BNHR.cjs.map +1 -1
- package/dist/chunk-O4AYHLQX.cjs.map +1 -1
- package/dist/chunk-ODPNVNYE.cjs.map +1 -1
- package/dist/chunk-OG2KJAYD.cjs.map +1 -1
- package/dist/{chunk-5XGAQGYK.cjs → chunk-ONEPBY3O.cjs} +5 -5
- package/dist/{chunk-5XGAQGYK.cjs.map → chunk-ONEPBY3O.cjs.map} +1 -1
- package/dist/chunk-OWP7XBY2.cjs.map +1 -1
- package/dist/chunk-OYZP6NF6.cjs.map +1 -1
- package/dist/chunk-P6JLNQ6L.cjs.map +1 -1
- package/dist/chunk-P7DYLUUI.cjs.map +1 -1
- package/dist/chunk-PKAE6AQT.cjs.map +1 -1
- package/dist/chunk-PWDY5D5S.cjs.map +1 -1
- package/dist/chunk-Q7M7DO7M.cjs.map +1 -1
- package/dist/chunk-QMLU5DST.cjs.map +1 -1
- package/dist/chunk-QRSA72B3.cjs.map +1 -1
- package/dist/chunk-QYNRNDIY.cjs.map +1 -1
- package/dist/chunk-R4FE6K43.cjs.map +1 -1
- package/dist/chunk-R4GA6BVP.cjs.map +1 -1
- package/dist/chunk-R5VYSZ3Q.cjs.map +1 -1
- package/dist/chunk-RI42IDRR.cjs.map +1 -1
- package/dist/chunk-RSVLVW4L.cjs.map +1 -1
- package/dist/chunk-S77LQWYC.cjs.map +1 -1
- package/dist/chunk-S7SBNOGS.cjs.map +1 -1
- package/dist/chunk-SQELICSX.cjs.map +1 -1
- package/dist/chunk-TMAJE5P2.cjs.map +1 -1
- package/dist/chunk-TNIJ6OSH.cjs.map +1 -1
- package/dist/{chunk-X5P2AS63.cjs → chunk-U2BPNOYN.cjs} +39 -7
- package/dist/chunk-U2BPNOYN.cjs.map +1 -0
- package/dist/{chunk-IB75VVZO.js → chunk-UFJFKEY4.js} +28 -2
- package/dist/chunk-UFJFKEY4.js.map +1 -0
- package/dist/chunk-UGSM7RJ2.cjs.map +1 -1
- package/dist/chunk-UKLZAOLW.cjs.map +1 -1
- package/dist/chunk-V47G7P6L.cjs.map +1 -1
- package/dist/chunk-VH5A6SMU.cjs.map +1 -1
- package/dist/chunk-VOIELJLZ.cjs.map +1 -1
- package/dist/chunk-VYC7WUM5.cjs.map +1 -1
- package/dist/chunk-W457XUA6.cjs.map +1 -1
- package/dist/chunk-WHDI3TMP.cjs.map +1 -1
- package/dist/chunk-WITCPKNL.cjs.map +1 -1
- package/dist/chunk-WX6NP7UU.cjs.map +1 -1
- package/dist/chunk-XQLRIBVR.cjs.map +1 -1
- package/dist/chunk-XYX25TII.js +172 -0
- package/dist/chunk-XYX25TII.js.map +1 -0
- package/dist/chunk-YJQPKT6W.cjs.map +1 -1
- package/dist/chunk-YK3P5QNZ.cjs.map +1 -1
- package/dist/chunk-ZKPVUCQV.cjs.map +1 -1
- package/dist/client.cjs +2 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.js +1 -1
- package/dist/core.cjs.map +1 -1
- package/dist/currencies.cjs.map +1 -1
- package/dist/enigmaCardForm.cjs.map +1 -1
- package/dist/error.cjs.map +1 -1
- package/dist/eventStream.cjs.map +1 -1
- package/dist/exportDownload.cjs.map +1 -1
- package/dist/feeProgram.cjs.map +1 -1
- package/dist/index.cjs +5 -5
- 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 +4 -4
- package/dist/internal/resources/admin.cjs.map +1 -1
- package/dist/internal/resources/admin.d.cts +1 -1
- package/dist/internal/resources/admin.d.ts +1 -1
- package/dist/internal/resources/adminBranding.cjs.map +1 -1
- package/dist/internal/resources/adminBranding.d.cts +1 -1
- package/dist/internal/resources/adminBranding.d.ts +1 -1
- package/dist/internal/resources/adminFileScans.cjs.map +1 -1
- package/dist/internal/resources/adminFileScans.d.cts +1 -1
- package/dist/internal/resources/adminFileScans.d.ts +1 -1
- package/dist/internal/resources/adminIndustries.cjs +2 -2
- package/dist/internal/resources/adminIndustries.cjs.map +1 -1
- package/dist/internal/resources/adminIndustries.d.cts +22 -2
- package/dist/internal/resources/adminIndustries.d.ts +22 -2
- package/dist/internal/resources/adminIndustries.js +1 -1
- package/dist/internal/resources/adminLive.cjs.map +1 -1
- package/dist/internal/resources/adminPortal.cjs +2 -2
- package/dist/internal/resources/adminPortal.cjs.map +1 -1
- package/dist/internal/resources/adminPortal.d.cts +33 -5
- package/dist/internal/resources/adminPortal.d.ts +33 -5
- package/dist/internal/resources/adminPortal.js +1 -1
- package/dist/internal/resources/adminSupport.cjs.map +1 -1
- package/dist/internal/resources/adminSupport.d.cts +1 -1
- package/dist/internal/resources/adminSupport.d.ts +1 -1
- package/dist/internal/resources/auditLogs.cjs.map +1 -1
- package/dist/internal/resources/auditLogs.d.cts +1 -1
- package/dist/internal/resources/auditLogs.d.ts +1 -1
- package/dist/internal/resources/cache.cjs.map +1 -1
- package/dist/internal/resources/cardIssuers.cjs.map +1 -1
- package/dist/internal/resources/cardIssuers.d.cts +1 -1
- package/dist/internal/resources/cardIssuers.d.ts +1 -1
- package/dist/internal/resources/configs.cjs.map +1 -1
- package/dist/internal/resources/connectorRestrictionRules.cjs.map +1 -1
- package/dist/internal/resources/connectorRestrictionRules.d.cts +1 -1
- package/dist/internal/resources/connectorRestrictionRules.d.ts +1 -1
- package/dist/internal/resources/connectorRestrictions.cjs.map +1 -1
- package/dist/internal/resources/connectorRestrictions.d.cts +1 -1
- package/dist/internal/resources/connectorRestrictions.d.ts +1 -1
- package/dist/internal/resources/diagnostic.cjs.map +1 -1
- package/dist/internal/resources/diagnostic.d.cts +1 -1
- package/dist/internal/resources/diagnostic.d.ts +1 -1
- package/dist/internal/resources/gsm.cjs.map +1 -1
- package/dist/internal/resources/gsm.d.cts +1 -1
- package/dist/internal/resources/gsm.d.ts +1 -1
- package/dist/internal/resources/nativeRenewals.cjs.map +1 -1
- package/dist/internal/resources/nativeRenewals.d.cts +1 -1
- package/dist/internal/resources/nativeRenewals.d.ts +1 -1
- package/dist/internal/resources/platformBilling.cjs.map +1 -1
- package/dist/internal/resources/platformBilling.d.cts +1 -1
- package/dist/internal/resources/platformBilling.d.ts +1 -1
- package/dist/internal/resources/platformFees.cjs.map +1 -1
- package/dist/internal/resources/platformMessageTemplates.cjs.map +1 -1
- package/dist/internal/resources/platformSettings.cjs.map +1 -1
- package/dist/internal/resources/platformSettings.d.cts +1 -1
- package/dist/internal/resources/platformSettings.d.ts +1 -1
- package/dist/internal.cjs +10 -10
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +6 -6
- package/dist/listQuery.cjs.map +1 -1
- package/dist/panes.cjs.map +1 -1
- package/dist/paymentPresentation.cjs.map +1 -1
- package/dist/recordCounter.cjs.map +1 -1
- package/dist/resources/analytics.cjs.map +1 -1
- package/dist/resources/analyticsDashboard.cjs.map +1 -1
- package/dist/resources/apiKeys.cjs.map +1 -1
- package/dist/resources/audit.cjs.map +1 -1
- package/dist/resources/authentication.cjs.map +1 -1
- package/dist/resources/availabilityOverrides.cjs.map +1 -1
- package/dist/resources/billing.cjs.map +1 -1
- package/dist/resources/buyerAccount.cjs.map +1 -1
- package/dist/resources/buyerBlocklist.cjs.map +1 -1
- package/dist/resources/buyerConversations.cjs.map +1 -1
- package/dist/resources/buyerEvidenceReviews.cjs.map +1 -1
- package/dist/resources/buyerPortal.cjs.map +1 -1
- package/dist/resources/cards.cjs.map +1 -1
- package/dist/resources/chargebackPrevention.cjs.map +1 -1
- package/dist/resources/checkoutMethods.cjs.map +1 -1
- package/dist/resources/checkoutRecovery.cjs.map +1 -1
- package/dist/resources/checkoutTemplates.cjs.map +1 -1
- package/dist/resources/connectors.cjs.map +1 -1
- package/dist/resources/costRules.cjs.map +1 -1
- package/dist/resources/customers.cjs.map +1 -1
- package/dist/resources/deploymentBranding.cjs.map +1 -1
- package/dist/resources/disputes.cjs.map +1 -1
- package/dist/resources/ephemeralKeys.cjs.map +1 -1
- package/dist/resources/events.cjs.map +1 -1
- package/dist/resources/export.cjs.map +1 -1
- package/dist/resources/externalRecords.cjs.map +1 -1
- package/dist/resources/featureMatrix.cjs.map +1 -1
- package/dist/resources/fees.cjs.map +1 -1
- package/dist/resources/files.cjs.map +1 -1
- package/dist/resources/forex.cjs.map +1 -1
- package/dist/resources/identityVerifications.cjs.map +1 -1
- package/dist/resources/industries.cjs +2 -2
- package/dist/resources/industries.cjs.map +1 -1
- package/dist/resources/industries.d.cts +79 -7
- package/dist/resources/industries.d.ts +79 -7
- package/dist/resources/industries.js +1 -1
- package/dist/resources/invoiceSettings.cjs.map +1 -1
- package/dist/resources/invoices.cjs.map +1 -1
- package/dist/resources/live.cjs.map +1 -1
- package/dist/resources/mandates.cjs.map +1 -1
- package/dist/resources/merchantAccounts.cjs.map +1 -1
- package/dist/resources/messageTemplates.cjs.map +1 -1
- package/dist/resources/operationLimits.cjs.map +1 -1
- package/dist/resources/paymentLinks.cjs.map +1 -1
- package/dist/resources/paymentMethods.cjs.map +1 -1
- package/dist/resources/payments.cjs.map +1 -1
- package/dist/resources/payoutDestinations.cjs.map +1 -1
- package/dist/resources/payouts.cjs.map +1 -1
- package/dist/resources/paypalDisputes.cjs.map +1 -1
- package/dist/resources/persons.cjs.map +1 -1
- package/dist/resources/poll.cjs.map +1 -1
- package/dist/resources/processorCosts.cjs.map +1 -1
- package/dist/resources/processorImports.cjs.map +1 -1
- package/dist/resources/products.cjs.map +1 -1
- package/dist/resources/profileAcquirers.cjs.map +1 -1
- package/dist/resources/profiles.cjs.map +1 -1
- package/dist/resources/projects.cjs.map +1 -1
- package/dist/resources/refunds.cjs.map +1 -1
- package/dist/resources/regions.cjs.map +1 -1
- package/dist/resources/relay.cjs.map +1 -1
- package/dist/resources/risk.cjs.map +1 -1
- package/dist/resources/routing.cjs.map +1 -1
- package/dist/resources/search.cjs.map +1 -1
- package/dist/resources/sellToRestrictions.cjs.map +1 -1
- package/dist/resources/settings.cjs.map +1 -1
- package/dist/resources/settlement.cjs +2 -2
- package/dist/resources/settlement.cjs.map +1 -1
- package/dist/resources/settlement.d.cts +11 -1
- package/dist/resources/settlement.d.ts +11 -1
- package/dist/resources/settlement.js +1 -1
- package/dist/resources/shopLabels.cjs.map +1 -1
- package/dist/resources/shops.cjs.map +1 -1
- package/dist/resources/stripeConnect.cjs.map +1 -1
- package/dist/resources/subscriptions.cjs.map +1 -1
- package/dist/resources/support.cjs.map +1 -1
- package/dist/resources/threeDsRules.cjs.map +1 -1
- package/dist/resources/users.cjs.map +1 -1
- package/dist/resources/vatRates.cjs.map +1 -1
- package/dist/resources/verification.cjs.map +1 -1
- package/dist/resources/webhooks.cjs.map +1 -1
- package/dist/resources/whopResolutionCases.cjs.map +1 -1
- package/dist/{types-OKCtk7xG.d.ts → types-Cgt_cKwA.d.cts} +124 -12
- package/dist/{types-BSkzDB3r.d.cts → types-DaKpMBi_.d.ts} +124 -12
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +224 -4
- package/dist/types.d.ts +224 -4
- package/package.json +1 -1
- package/dist/chunk-34AF36TY.js +0 -89
- package/dist/chunk-34AF36TY.js.map +0 -1
- package/dist/chunk-B2TCNGC2.cjs.map +0 -1
- package/dist/chunk-GGYLU7YO.cjs.map +0 -1
- package/dist/chunk-IB75VVZO.js.map +0 -1
- package/dist/chunk-KGN4J2JT.js.map +0 -1
- package/dist/chunk-W3EFNOH6.js.map +0 -1
- package/dist/chunk-X5P2AS63.cjs.map +0 -1
- package/dist/chunk-ZOD4J4XF.cjs +0 -89
- package/dist/chunk-ZOD4J4XF.cjs.map +0 -1
- /package/dist/{chunk-TA5O2MBG.js.map → chunk-HNJFRQSY.js.map} +0 -0
- /package/dist/{chunk-X76YC766.js.map → chunk-NN74DH4Q.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkEEB2HDYLcjs = require('../chunk-EEB2HDYL.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.Industries =
|
|
6
|
+
exports.Industries = _chunkEEB2HDYLcjs.Industries;
|
|
7
7
|
//# sourceMappingURL=industries.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/industries.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,kDAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/industries.cjs"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IndustryClassification, IndustrySelectionRequest } from '../types.cjs';
|
|
1
|
+
import { IndustryClassification, IndustrySelectionRequest, IndustryApplyQuery, IndustryImpactQuery, IndustryChangeImpact, OwnIndustryList, OwnIndustryCreateRequest, OwnIndustry, OwnIndustryRenameRequest, OwnIndustryRemoveQuery, OwnIndustryRemoved, IndustrySuggestQuery, IndustrySuggestions } from '../types.cjs';
|
|
2
2
|
import { RequestFn } from '../core.cjs';
|
|
3
3
|
import '../eventStream.cjs';
|
|
4
4
|
import '../error.cjs';
|
|
@@ -19,6 +19,14 @@ import '../error.cjs';
|
|
|
19
19
|
* them. Every change is recorded in the audit log
|
|
20
20
|
* (`entity_type: 'industry_selection'`).
|
|
21
21
|
*
|
|
22
|
+
* A payment counts in the industry its shop had when the payment was created.
|
|
23
|
+
* Every write that changes a shop's industry takes an optional
|
|
24
|
+
* `IndustryApplyQuery`: which of its existing payments follow the change
|
|
25
|
+
* (`all`, the default; from a `from_date`; or from today). The `impact*`
|
|
26
|
+
* methods preview how many would move before writing. Besides DeloPay's
|
|
27
|
+
* industries, a merchant can define its own (`createOwn`), which only it sees
|
|
28
|
+
* and selects.
|
|
29
|
+
*
|
|
22
30
|
* Dashboard (JWT) routes; the merchant comes from the token. Reading needs
|
|
23
31
|
* `MerchantIndustryRead` (merchant, project) or `ProfileIndustryRead` (shop);
|
|
24
32
|
* changing needs `MerchantIndustryWrite`, `MerchantIndustryEdit` or
|
|
@@ -40,13 +48,13 @@ declare class Industries {
|
|
|
40
48
|
*
|
|
41
49
|
* `PUT /industries/merchant`
|
|
42
50
|
*/
|
|
43
|
-
setMerchant(params: IndustrySelectionRequest): Promise<IndustryClassification>;
|
|
51
|
+
setMerchant(params: IndustrySelectionRequest, options?: IndustryApplyQuery): Promise<IndustryClassification>;
|
|
44
52
|
/**
|
|
45
53
|
* Clear the merchant's industry.
|
|
46
54
|
*
|
|
47
55
|
* `DELETE /industries/merchant`
|
|
48
56
|
*/
|
|
49
|
-
clearMerchant(): Promise<IndustryClassification>;
|
|
57
|
+
clearMerchant(options?: IndustryApplyQuery): Promise<IndustryClassification>;
|
|
50
58
|
/**
|
|
51
59
|
* One project's industry.
|
|
52
60
|
*
|
|
@@ -58,13 +66,13 @@ declare class Industries {
|
|
|
58
66
|
*
|
|
59
67
|
* `PUT /industries/projects/{projectId}`
|
|
60
68
|
*/
|
|
61
|
-
setProject(projectId: string, params: IndustrySelectionRequest): Promise<IndustryClassification>;
|
|
69
|
+
setProject(projectId: string, params: IndustrySelectionRequest, options?: IndustryApplyQuery): Promise<IndustryClassification>;
|
|
62
70
|
/**
|
|
63
71
|
* Clear one project's industry, so it inherits again.
|
|
64
72
|
*
|
|
65
73
|
* `DELETE /industries/projects/{projectId}`
|
|
66
74
|
*/
|
|
67
|
-
clearProject(projectId: string): Promise<IndustryClassification>;
|
|
75
|
+
clearProject(projectId: string, options?: IndustryApplyQuery): Promise<IndustryClassification>;
|
|
68
76
|
/**
|
|
69
77
|
* One shop's industry.
|
|
70
78
|
*
|
|
@@ -76,13 +84,77 @@ declare class Industries {
|
|
|
76
84
|
*
|
|
77
85
|
* `PUT /industries/shops/{profileId}`
|
|
78
86
|
*/
|
|
79
|
-
setShop(profileId: string, params: IndustrySelectionRequest): Promise<IndustryClassification>;
|
|
87
|
+
setShop(profileId: string, params: IndustrySelectionRequest, options?: IndustryApplyQuery): Promise<IndustryClassification>;
|
|
80
88
|
/**
|
|
81
89
|
* Clear one shop's industry, so it inherits again.
|
|
82
90
|
*
|
|
83
91
|
* `DELETE /industries/shops/{profileId}`
|
|
84
92
|
*/
|
|
85
|
-
clearShop(profileId: string): Promise<IndustryClassification>;
|
|
93
|
+
clearShop(profileId: string, options?: IndustryApplyQuery): Promise<IndustryClassification>;
|
|
94
|
+
/**
|
|
95
|
+
* What selecting `industry_id` for the merchant (or clearing it, when
|
|
96
|
+
* omitted) would move: the shops whose effective industry changes and their
|
|
97
|
+
* payments, test and live, in total, from `from_date` and from today.
|
|
98
|
+
* Writes nothing. Same permission as reading the classification.
|
|
99
|
+
*
|
|
100
|
+
* `GET /industries/merchant/impact`
|
|
101
|
+
*/
|
|
102
|
+
impactMerchant(query?: IndustryImpactQuery): Promise<IndustryChangeImpact>;
|
|
103
|
+
/**
|
|
104
|
+
* As `impactMerchant`, for one project's selection.
|
|
105
|
+
*
|
|
106
|
+
* `GET /industries/projects/{projectId}/impact`
|
|
107
|
+
*/
|
|
108
|
+
impactProject(projectId: string, query?: IndustryImpactQuery): Promise<IndustryChangeImpact>;
|
|
109
|
+
/**
|
|
110
|
+
* As `impactMerchant`, for one shop's selection.
|
|
111
|
+
*
|
|
112
|
+
* `GET /industries/shops/{profileId}/impact`
|
|
113
|
+
*/
|
|
114
|
+
impactShop(profileId: string, query?: IndustryImpactQuery): Promise<IndustryChangeImpact>;
|
|
115
|
+
/**
|
|
116
|
+
* The merchant's own industries: the active ones, and those mapped to one of
|
|
117
|
+
* DeloPay's in the last 90 days, with the selections naming each. Needs
|
|
118
|
+
* `MerchantIndustryRead` at merchant level.
|
|
119
|
+
*
|
|
120
|
+
* `GET /industries/own`
|
|
121
|
+
*/
|
|
122
|
+
listOwn(): Promise<OwnIndustryList>;
|
|
123
|
+
/**
|
|
124
|
+
* Define an industry only this merchant sees and selects, optionally under
|
|
125
|
+
* one of DeloPay's industries it can select. It never has sub-industries; at
|
|
126
|
+
* most 100 are active at once (422, `IR_06`). Needs `MerchantIndustryWrite`
|
|
127
|
+
* at merchant level.
|
|
128
|
+
*
|
|
129
|
+
* `POST /industries/own`
|
|
130
|
+
*/
|
|
131
|
+
createOwn(params: OwnIndustryCreateRequest): Promise<OwnIndustry>;
|
|
132
|
+
/**
|
|
133
|
+
* Rename an active own industry. With `apply_to` `from` or `today` the answer
|
|
134
|
+
* is the new own industry that carries the new name (see
|
|
135
|
+
* `OwnIndustryRenameRequest`). Needs `MerchantIndustryWrite`.
|
|
136
|
+
*
|
|
137
|
+
* `PATCH /industries/own/{industryId}`
|
|
138
|
+
*/
|
|
139
|
+
renameOwn(industryId: string, params: OwnIndustryRenameRequest): Promise<OwnIndustry>;
|
|
140
|
+
/**
|
|
141
|
+
* Archive an active own industry. While a selection names it, `replacement`
|
|
142
|
+
* is required: an industry the merchant can select, which every such
|
|
143
|
+
* selection then names, or `'inherit'`, which clears them. The shops whose
|
|
144
|
+
* industry changes move their payments from `apply_to` on. Needs
|
|
145
|
+
* `MerchantIndustryWrite`.
|
|
146
|
+
*
|
|
147
|
+
* `DELETE /industries/own/{industryId}`
|
|
148
|
+
*/
|
|
149
|
+
removeOwn(industryId: string, query?: OwnIndustryRemoveQuery): Promise<OwnIndustryRemoved>;
|
|
150
|
+
/**
|
|
151
|
+
* At most three of DeloPay's industries and sub-industries the merchant can
|
|
152
|
+
* select that are like `name`, closest first: a hint before defining an own
|
|
153
|
+
* industry. Needs `MerchantIndustryRead` at merchant level.
|
|
154
|
+
*
|
|
155
|
+
* `GET /industries/suggest`
|
|
156
|
+
*/
|
|
157
|
+
suggest(query: IndustrySuggestQuery): Promise<IndustrySuggestions>;
|
|
86
158
|
}
|
|
87
159
|
|
|
88
160
|
export { Industries };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IndustryClassification, IndustrySelectionRequest } from '../types.js';
|
|
1
|
+
import { IndustryClassification, IndustrySelectionRequest, IndustryApplyQuery, IndustryImpactQuery, IndustryChangeImpact, OwnIndustryList, OwnIndustryCreateRequest, OwnIndustry, OwnIndustryRenameRequest, OwnIndustryRemoveQuery, OwnIndustryRemoved, IndustrySuggestQuery, IndustrySuggestions } from '../types.js';
|
|
2
2
|
import { RequestFn } from '../core.js';
|
|
3
3
|
import '../eventStream.js';
|
|
4
4
|
import '../error.js';
|
|
@@ -19,6 +19,14 @@ import '../error.js';
|
|
|
19
19
|
* them. Every change is recorded in the audit log
|
|
20
20
|
* (`entity_type: 'industry_selection'`).
|
|
21
21
|
*
|
|
22
|
+
* A payment counts in the industry its shop had when the payment was created.
|
|
23
|
+
* Every write that changes a shop's industry takes an optional
|
|
24
|
+
* `IndustryApplyQuery`: which of its existing payments follow the change
|
|
25
|
+
* (`all`, the default; from a `from_date`; or from today). The `impact*`
|
|
26
|
+
* methods preview how many would move before writing. Besides DeloPay's
|
|
27
|
+
* industries, a merchant can define its own (`createOwn`), which only it sees
|
|
28
|
+
* and selects.
|
|
29
|
+
*
|
|
22
30
|
* Dashboard (JWT) routes; the merchant comes from the token. Reading needs
|
|
23
31
|
* `MerchantIndustryRead` (merchant, project) or `ProfileIndustryRead` (shop);
|
|
24
32
|
* changing needs `MerchantIndustryWrite`, `MerchantIndustryEdit` or
|
|
@@ -40,13 +48,13 @@ declare class Industries {
|
|
|
40
48
|
*
|
|
41
49
|
* `PUT /industries/merchant`
|
|
42
50
|
*/
|
|
43
|
-
setMerchant(params: IndustrySelectionRequest): Promise<IndustryClassification>;
|
|
51
|
+
setMerchant(params: IndustrySelectionRequest, options?: IndustryApplyQuery): Promise<IndustryClassification>;
|
|
44
52
|
/**
|
|
45
53
|
* Clear the merchant's industry.
|
|
46
54
|
*
|
|
47
55
|
* `DELETE /industries/merchant`
|
|
48
56
|
*/
|
|
49
|
-
clearMerchant(): Promise<IndustryClassification>;
|
|
57
|
+
clearMerchant(options?: IndustryApplyQuery): Promise<IndustryClassification>;
|
|
50
58
|
/**
|
|
51
59
|
* One project's industry.
|
|
52
60
|
*
|
|
@@ -58,13 +66,13 @@ declare class Industries {
|
|
|
58
66
|
*
|
|
59
67
|
* `PUT /industries/projects/{projectId}`
|
|
60
68
|
*/
|
|
61
|
-
setProject(projectId: string, params: IndustrySelectionRequest): Promise<IndustryClassification>;
|
|
69
|
+
setProject(projectId: string, params: IndustrySelectionRequest, options?: IndustryApplyQuery): Promise<IndustryClassification>;
|
|
62
70
|
/**
|
|
63
71
|
* Clear one project's industry, so it inherits again.
|
|
64
72
|
*
|
|
65
73
|
* `DELETE /industries/projects/{projectId}`
|
|
66
74
|
*/
|
|
67
|
-
clearProject(projectId: string): Promise<IndustryClassification>;
|
|
75
|
+
clearProject(projectId: string, options?: IndustryApplyQuery): Promise<IndustryClassification>;
|
|
68
76
|
/**
|
|
69
77
|
* One shop's industry.
|
|
70
78
|
*
|
|
@@ -76,13 +84,77 @@ declare class Industries {
|
|
|
76
84
|
*
|
|
77
85
|
* `PUT /industries/shops/{profileId}`
|
|
78
86
|
*/
|
|
79
|
-
setShop(profileId: string, params: IndustrySelectionRequest): Promise<IndustryClassification>;
|
|
87
|
+
setShop(profileId: string, params: IndustrySelectionRequest, options?: IndustryApplyQuery): Promise<IndustryClassification>;
|
|
80
88
|
/**
|
|
81
89
|
* Clear one shop's industry, so it inherits again.
|
|
82
90
|
*
|
|
83
91
|
* `DELETE /industries/shops/{profileId}`
|
|
84
92
|
*/
|
|
85
|
-
clearShop(profileId: string): Promise<IndustryClassification>;
|
|
93
|
+
clearShop(profileId: string, options?: IndustryApplyQuery): Promise<IndustryClassification>;
|
|
94
|
+
/**
|
|
95
|
+
* What selecting `industry_id` for the merchant (or clearing it, when
|
|
96
|
+
* omitted) would move: the shops whose effective industry changes and their
|
|
97
|
+
* payments, test and live, in total, from `from_date` and from today.
|
|
98
|
+
* Writes nothing. Same permission as reading the classification.
|
|
99
|
+
*
|
|
100
|
+
* `GET /industries/merchant/impact`
|
|
101
|
+
*/
|
|
102
|
+
impactMerchant(query?: IndustryImpactQuery): Promise<IndustryChangeImpact>;
|
|
103
|
+
/**
|
|
104
|
+
* As `impactMerchant`, for one project's selection.
|
|
105
|
+
*
|
|
106
|
+
* `GET /industries/projects/{projectId}/impact`
|
|
107
|
+
*/
|
|
108
|
+
impactProject(projectId: string, query?: IndustryImpactQuery): Promise<IndustryChangeImpact>;
|
|
109
|
+
/**
|
|
110
|
+
* As `impactMerchant`, for one shop's selection.
|
|
111
|
+
*
|
|
112
|
+
* `GET /industries/shops/{profileId}/impact`
|
|
113
|
+
*/
|
|
114
|
+
impactShop(profileId: string, query?: IndustryImpactQuery): Promise<IndustryChangeImpact>;
|
|
115
|
+
/**
|
|
116
|
+
* The merchant's own industries: the active ones, and those mapped to one of
|
|
117
|
+
* DeloPay's in the last 90 days, with the selections naming each. Needs
|
|
118
|
+
* `MerchantIndustryRead` at merchant level.
|
|
119
|
+
*
|
|
120
|
+
* `GET /industries/own`
|
|
121
|
+
*/
|
|
122
|
+
listOwn(): Promise<OwnIndustryList>;
|
|
123
|
+
/**
|
|
124
|
+
* Define an industry only this merchant sees and selects, optionally under
|
|
125
|
+
* one of DeloPay's industries it can select. It never has sub-industries; at
|
|
126
|
+
* most 100 are active at once (422, `IR_06`). Needs `MerchantIndustryWrite`
|
|
127
|
+
* at merchant level.
|
|
128
|
+
*
|
|
129
|
+
* `POST /industries/own`
|
|
130
|
+
*/
|
|
131
|
+
createOwn(params: OwnIndustryCreateRequest): Promise<OwnIndustry>;
|
|
132
|
+
/**
|
|
133
|
+
* Rename an active own industry. With `apply_to` `from` or `today` the answer
|
|
134
|
+
* is the new own industry that carries the new name (see
|
|
135
|
+
* `OwnIndustryRenameRequest`). Needs `MerchantIndustryWrite`.
|
|
136
|
+
*
|
|
137
|
+
* `PATCH /industries/own/{industryId}`
|
|
138
|
+
*/
|
|
139
|
+
renameOwn(industryId: string, params: OwnIndustryRenameRequest): Promise<OwnIndustry>;
|
|
140
|
+
/**
|
|
141
|
+
* Archive an active own industry. While a selection names it, `replacement`
|
|
142
|
+
* is required: an industry the merchant can select, which every such
|
|
143
|
+
* selection then names, or `'inherit'`, which clears them. The shops whose
|
|
144
|
+
* industry changes move their payments from `apply_to` on. Needs
|
|
145
|
+
* `MerchantIndustryWrite`.
|
|
146
|
+
*
|
|
147
|
+
* `DELETE /industries/own/{industryId}`
|
|
148
|
+
*/
|
|
149
|
+
removeOwn(industryId: string, query?: OwnIndustryRemoveQuery): Promise<OwnIndustryRemoved>;
|
|
150
|
+
/**
|
|
151
|
+
* At most three of DeloPay's industries and sub-industries the merchant can
|
|
152
|
+
* select that are like `name`, closest first: a hint before defining an own
|
|
153
|
+
* industry. Needs `MerchantIndustryRead` at merchant level.
|
|
154
|
+
*
|
|
155
|
+
* `GET /industries/suggest`
|
|
156
|
+
*/
|
|
157
|
+
suggest(query: IndustrySuggestQuery): Promise<IndustrySuggestions>;
|
|
86
158
|
}
|
|
87
159
|
|
|
88
160
|
export { Industries };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/invoiceSettings.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4EAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/invoiceSettings.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/invoices.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/invoices.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/live.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACF,+NAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/live.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/mandates.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/mandates.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/merchantAccounts.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8DAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/merchantAccounts.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/messageTemplates.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8DAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/messageTemplates.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/operationLimits.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4DAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/operationLimits.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/paymentLinks.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,sDAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/paymentLinks.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/paymentMethods.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,0DAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/paymentMethods.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/payments.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/payments.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/payoutDestinations.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,kEAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/payoutDestinations.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/payouts.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/payouts.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/paypalDisputes.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,0DAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/paypalDisputes.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/persons.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/persons.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/poll.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,sCAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/poll.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/processorCosts.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,0DAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/processorCosts.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/processorImports.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACF,gNAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/processorImports.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/products.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/products.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/profileAcquirers.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8DAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/profileAcquirers.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/profiles.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/profiles.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/projects.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/projects.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/refunds.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/refunds.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/regions.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/regions.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/relay.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,wCAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/relay.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/risk.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACF,iGAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/risk.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/routing.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/routing.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/search.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,0CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/search.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/sellToRestrictions.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,kEAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/sellToRestrictions.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/settings.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/settings.cjs"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk424542L2cjs = require('../chunk-424542L2.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Settlement =
|
|
8
|
+
exports.Settlement = _chunk424542L2cjs.Settlement; exports.statementListQuery = _chunk424542L2cjs.statementListQuery;
|
|
9
9
|
//# sourceMappingURL=settlement.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/settlement.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACF,qHAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/settlement.cjs"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProcessorCostEventsRequest, ProcessorCostEventsResponse, SettlementOverviewParams, SettlementOverviewResponse, SettlementCurrentParams, SettlementCurrentResponse, SettlementCostParams, SettlementCostResponse, ProcessorCostPeriodRequest, ProcessorCostPeriodResponse, SettlementStatementListParams, SettlementStatementListResponse, FeeStatementDetail, StatementGenerateRequest, StatementPayoutUpdateRequest, StatementPayoutRecordRequest, StatementPayoutListResponse, StatementAdvanceRecordRequest, StatementAdvance, SettlementAdvanceListRequest, SettlementAdvanceListResponse, SettlementPeriodListParams, SettlementPeriodListResponse, StatementPdfParams, SettlementLineListParams, SettlementLineListResponse, ShopFeeConfigParams, ShopFeeConfigResponse, SettlementBackfillRequest, SettlementBackfillResponse, ShopVisibilityUpdateRequest, ShopVisibilityResponse, StatementAdjustmentListResponse, StatementAdjustmentCreateRequest, StatementAdjustment, NativeSettlementPreviewRequest, NativeSettlementPreviewResponse, NativeSettlementReportCreateRequest, NativeSettlementReport, NativeSettlementListRequest, NativeSettlementReportListResponse, NativeSettlementPayoutCreateRequest, NativeSettlementPayout, NativeSettlementPayoutListResponse, NativeSettlementFeeRefreshRequest, NativeSettlementFeeRefreshResponse, NativeSettlementPdfRequest, NativeSettlementReportExport } from '../types.cjs';
|
|
1
|
+
import { ProcessorCostEventsRequest, ProcessorCostEventsResponse, SettlementOverviewParams, SettlementOverviewResponse, SettlementCurrentParams, SettlementCurrentResponse, SettlementCostParams, SettlementCostResponse, ProcessorCostPeriodRequest, ProcessorCostPeriodResponse, SettlementStatementListParams, SettlementStatementListResponse, FeeStatementDetail, StatementGenerateRequest, StatementPayoutUpdateRequest, StatementPayoutRecordRequest, StatementPayoutListResponse, StatementAdvanceRecordRequest, StatementAdvance, SettlementAdvanceListRequest, SettlementAdvanceListResponse, SettlementPeriodListParams, SettlementPeriodListResponse, SettlementPeriodPreviewParams, SettlementPeriodPreviewResponse, StatementPdfParams, SettlementLineListParams, SettlementLineListResponse, ShopFeeConfigParams, ShopFeeConfigResponse, SettlementBackfillRequest, SettlementBackfillResponse, ShopVisibilityUpdateRequest, ShopVisibilityResponse, StatementAdjustmentListResponse, StatementAdjustmentCreateRequest, StatementAdjustment, NativeSettlementPreviewRequest, NativeSettlementPreviewResponse, NativeSettlementReportCreateRequest, NativeSettlementReport, NativeSettlementListRequest, NativeSettlementReportListResponse, NativeSettlementPayoutCreateRequest, NativeSettlementPayout, NativeSettlementPayoutListResponse, NativeSettlementFeeRefreshRequest, NativeSettlementFeeRefreshResponse, NativeSettlementPdfRequest, NativeSettlementReportExport } from '../types.cjs';
|
|
2
2
|
import { RequestFn, RequestExtras, RequestOptions } from '../core.cjs';
|
|
3
3
|
import '../eventStream.cjs';
|
|
4
4
|
import '../error.cjs';
|
|
@@ -176,6 +176,16 @@ declare class Settlement {
|
|
|
176
176
|
* `GET /settlement/periods`
|
|
177
177
|
*/
|
|
178
178
|
listPeriods(params: SettlementPeriodListParams, options?: RequestExtras): Promise<SettlementPeriodListResponse>;
|
|
179
|
+
/**
|
|
180
|
+
* The next six statement periods a value of the `settlement.statement_period`
|
|
181
|
+
* setting would make, before it is saved: for a shop, the rest of its running
|
|
182
|
+
* period and the change at its next boundary. The value is judged as a save
|
|
183
|
+
* would judge it, so a value the account cannot save is refused here too.
|
|
184
|
+
* Writes nothing.
|
|
185
|
+
*
|
|
186
|
+
* `POST /settlement/periods/preview`
|
|
187
|
+
*/
|
|
188
|
+
previewPeriods(params: SettlementPeriodPreviewParams, options?: RequestExtras): Promise<SettlementPeriodPreviewResponse>;
|
|
179
189
|
/**
|
|
180
190
|
* Export a statement as PDF, or with `format` as CSV, JSON
|
|
181
191
|
* (`StatementDocument`) or XLSX. Returns the raw bytes as a `Blob`, with
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProcessorCostEventsRequest, ProcessorCostEventsResponse, SettlementOverviewParams, SettlementOverviewResponse, SettlementCurrentParams, SettlementCurrentResponse, SettlementCostParams, SettlementCostResponse, ProcessorCostPeriodRequest, ProcessorCostPeriodResponse, SettlementStatementListParams, SettlementStatementListResponse, FeeStatementDetail, StatementGenerateRequest, StatementPayoutUpdateRequest, StatementPayoutRecordRequest, StatementPayoutListResponse, StatementAdvanceRecordRequest, StatementAdvance, SettlementAdvanceListRequest, SettlementAdvanceListResponse, SettlementPeriodListParams, SettlementPeriodListResponse, StatementPdfParams, SettlementLineListParams, SettlementLineListResponse, ShopFeeConfigParams, ShopFeeConfigResponse, SettlementBackfillRequest, SettlementBackfillResponse, ShopVisibilityUpdateRequest, ShopVisibilityResponse, StatementAdjustmentListResponse, StatementAdjustmentCreateRequest, StatementAdjustment, NativeSettlementPreviewRequest, NativeSettlementPreviewResponse, NativeSettlementReportCreateRequest, NativeSettlementReport, NativeSettlementListRequest, NativeSettlementReportListResponse, NativeSettlementPayoutCreateRequest, NativeSettlementPayout, NativeSettlementPayoutListResponse, NativeSettlementFeeRefreshRequest, NativeSettlementFeeRefreshResponse, NativeSettlementPdfRequest, NativeSettlementReportExport } from '../types.js';
|
|
1
|
+
import { ProcessorCostEventsRequest, ProcessorCostEventsResponse, SettlementOverviewParams, SettlementOverviewResponse, SettlementCurrentParams, SettlementCurrentResponse, SettlementCostParams, SettlementCostResponse, ProcessorCostPeriodRequest, ProcessorCostPeriodResponse, SettlementStatementListParams, SettlementStatementListResponse, FeeStatementDetail, StatementGenerateRequest, StatementPayoutUpdateRequest, StatementPayoutRecordRequest, StatementPayoutListResponse, StatementAdvanceRecordRequest, StatementAdvance, SettlementAdvanceListRequest, SettlementAdvanceListResponse, SettlementPeriodListParams, SettlementPeriodListResponse, SettlementPeriodPreviewParams, SettlementPeriodPreviewResponse, StatementPdfParams, SettlementLineListParams, SettlementLineListResponse, ShopFeeConfigParams, ShopFeeConfigResponse, SettlementBackfillRequest, SettlementBackfillResponse, ShopVisibilityUpdateRequest, ShopVisibilityResponse, StatementAdjustmentListResponse, StatementAdjustmentCreateRequest, StatementAdjustment, NativeSettlementPreviewRequest, NativeSettlementPreviewResponse, NativeSettlementReportCreateRequest, NativeSettlementReport, NativeSettlementListRequest, NativeSettlementReportListResponse, NativeSettlementPayoutCreateRequest, NativeSettlementPayout, NativeSettlementPayoutListResponse, NativeSettlementFeeRefreshRequest, NativeSettlementFeeRefreshResponse, NativeSettlementPdfRequest, NativeSettlementReportExport } from '../types.js';
|
|
2
2
|
import { RequestFn, RequestExtras, RequestOptions } from '../core.js';
|
|
3
3
|
import '../eventStream.js';
|
|
4
4
|
import '../error.js';
|
|
@@ -176,6 +176,16 @@ declare class Settlement {
|
|
|
176
176
|
* `GET /settlement/periods`
|
|
177
177
|
*/
|
|
178
178
|
listPeriods(params: SettlementPeriodListParams, options?: RequestExtras): Promise<SettlementPeriodListResponse>;
|
|
179
|
+
/**
|
|
180
|
+
* The next six statement periods a value of the `settlement.statement_period`
|
|
181
|
+
* setting would make, before it is saved: for a shop, the rest of its running
|
|
182
|
+
* period and the change at its next boundary. The value is judged as a save
|
|
183
|
+
* would judge it, so a value the account cannot save is refused here too.
|
|
184
|
+
* Writes nothing.
|
|
185
|
+
*
|
|
186
|
+
* `POST /settlement/periods/preview`
|
|
187
|
+
*/
|
|
188
|
+
previewPeriods(params: SettlementPeriodPreviewParams, options?: RequestExtras): Promise<SettlementPeriodPreviewResponse>;
|
|
179
189
|
/**
|
|
180
190
|
* Export a statement as PDF, or with `format` as CSV, JSON
|
|
181
191
|
* (`StatementDocument`) or XLSX. Returns the raw bytes as a `Blob`, with
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/shopLabels.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,kDAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/shopLabels.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/shops.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,wCAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/shops.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/stripeConnect.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,wDAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/stripeConnect.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/subscriptions.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,wDAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/subscriptions.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/support.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACF,4CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/support.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/threeDsRules.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,sDAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/threeDsRules.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/users.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACF,wCAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/users.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/vatRates.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/vatRates.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/verification.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,sDAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/verification.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/webhooks.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACF,gOAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/webhooks.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/whopResolutionCases.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,oEAAC","file":"/home/anes/delo-payment/_worktrees/sdk-publish-0424-clone-w4/dist/resources/whopResolutionCases.cjs"}
|