@delopay/sdk 0.418.0 → 0.423.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-XAUPBK6A.cjs → chunk-3TFE2JB5.cjs} +3 -3
- package/dist/chunk-3TFE2JB5.cjs.map +1 -0
- 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-ZJRQ2AKS.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-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 +113 -0
- package/dist/chunk-KOB6MOAV.cjs.map +1 -0
- 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-MH3DDSRV.js +113 -0
- package/dist/chunk-MH3DDSRV.js.map +1 -0
- package/dist/chunk-MLG6NXI6.cjs.map +1 -1
- package/dist/chunk-NFB3S2E6.cjs.map +1 -1
- package/dist/{chunk-4YCQWMFF.js → chunk-NN74DH4Q.js} +4 -4
- 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-QT3HUTWI.cjs → chunk-ONEPBY3O.cjs} +7 -7
- package/dist/chunk-ONEPBY3O.cjs.map +1 -0
- 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-7ZNM2ETQ.cjs → chunk-Q7EFAWCG.cjs} +17 -3
- package/dist/chunk-Q7EFAWCG.cjs.map +1 -0
- 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-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-UUDJJOXE.js → chunk-YTJYJB4Z.js} +16 -2
- package/dist/chunk-YTJYJB4Z.js.map +1 -0
- 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 +6 -6
- 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 +5 -5
- 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 +11 -2
- package/dist/internal/resources/adminPortal.d.ts +11 -2
- 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 +11 -11
- 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 +7 -7
- 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 +2 -2
- package/dist/resources/persons.cjs.map +1 -1
- package/dist/resources/persons.d.cts +44 -1
- package/dist/resources/persons.d.ts +44 -1
- package/dist/resources/persons.js +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-BzB_uvZ4.d.ts → types-DNrcQlVr.d.ts} +60 -7
- package/dist/{types-DB3G038u.d.cts → types-DxfhVsGN.d.cts} +60 -7
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +347 -4
- package/dist/types.d.ts +347 -4
- package/package.json +1 -1
- package/dist/chunk-34AF36TY.js +0 -89
- package/dist/chunk-34AF36TY.js.map +0 -1
- package/dist/chunk-5CNBINCX.cjs +0 -54
- package/dist/chunk-5CNBINCX.cjs.map +0 -1
- package/dist/chunk-7ZNM2ETQ.cjs.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-Q347PTXI.js +0 -54
- package/dist/chunk-Q347PTXI.js.map +0 -1
- package/dist/chunk-QT3HUTWI.cjs.map +0 -1
- package/dist/chunk-UUDJJOXE.js.map +0 -1
- package/dist/chunk-W3EFNOH6.js.map +0 -1
- package/dist/chunk-XAUPBK6A.cjs.map +0 -1
- package/dist/chunk-ZOD4J4XF.cjs +0 -89
- package/dist/chunk-ZOD4J4XF.cjs.map +0 -1
- /package/dist/{chunk-ZJRQ2AKS.js.map → chunk-HNJFRQSY.js.map} +0 -0
- /package/dist/{chunk-4YCQWMFF.js.map → chunk-NN74DH4Q.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/identityVerifications.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACF,wEAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/identityVerifications.cjs"}
|
|
@@ -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/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/industries.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,kDAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/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/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/invoiceSettings.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4EAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/invoiceSettings.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/invoices.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/invoices.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/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/_publish/sdk-0.423/dist/resources/live.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/mandates.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/mandates.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/merchantAccounts.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8DAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/merchantAccounts.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/messageTemplates.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8DAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/messageTemplates.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/operationLimits.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4DAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/operationLimits.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/paymentLinks.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,sDAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/paymentLinks.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/paymentMethods.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,0DAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/paymentMethods.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/payments.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/payments.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/payoutDestinations.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,kEAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/payoutDestinations.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/payouts.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/payouts.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/paypalDisputes.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,0DAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/paypalDisputes.cjs"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkKOB6MOAVcjs = require('../chunk-KOB6MOAV.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.Persons =
|
|
6
|
+
exports.Persons = _chunkKOB6MOAVcjs.Persons;
|
|
7
7
|
//# sourceMappingURL=persons.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/persons.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/persons.cjs"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PersonListParams, PersonListResponse, PersonScopeParams, PersonResponse, RelatedPersonsResponse, PaymentPersonResponse } from '../types.cjs';
|
|
1
|
+
import { PersonListParams, PersonListResponse, PersonScopeParams, PersonResponse, RelatedPersonsResponse, PaymentPersonResponse, MerchantPersonFlagList, MerchantPersonFlagCreate, MerchantPersonFlagView, MerchantPersonFlagUpdate, MerchantFlaggedPersonListParams, MerchantFlaggedPersonList } from '../types.cjs';
|
|
2
2
|
import { RequestFn } from '../core.cjs';
|
|
3
3
|
import '../eventStream.cjs';
|
|
4
4
|
import '../error.cjs';
|
|
@@ -20,6 +20,13 @@ import '../error.cjs';
|
|
|
20
20
|
* bound to one shop reads that shop's persons, with every figure counted
|
|
21
21
|
* there. A caller that sees only part of a shop's payments is refused with
|
|
22
22
|
* `403`.
|
|
23
|
+
*
|
|
24
|
+
* The merchant's own flags on its persons (`listFlags`, `flag`, `updateFlag`,
|
|
25
|
+
* `removeFlag`, `listFlagged`) take a dashboard session only, never an API
|
|
26
|
+
* key. Reading them needs the persons permission; setting, changing and
|
|
27
|
+
* removing them needs the persons manage permission. A flag marks a person as
|
|
28
|
+
* suspicious for the merchant's own team: it changes no payment, and no other
|
|
29
|
+
* merchant sees it.
|
|
23
30
|
*/
|
|
24
31
|
declare class Persons {
|
|
25
32
|
private readonly request;
|
|
@@ -53,6 +60,42 @@ declare class Persons {
|
|
|
53
60
|
* `GET /persons/payment/{payment_id}`
|
|
54
61
|
*/
|
|
55
62
|
ofPayment(paymentId: string, params?: PersonScopeParams): Promise<PaymentPersonResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Every flag the merchant's team set on the person, active and removed,
|
|
65
|
+
* newest first, with those of the persons merged into it. A merged person
|
|
66
|
+
* reads as the person it merged into. A person with no payment in the
|
|
67
|
+
* scope, or another merchant's, is not found (`404`).
|
|
68
|
+
* `GET /persons/{person_id}/flags`
|
|
69
|
+
*/
|
|
70
|
+
listFlags(personId: string, params?: PersonScopeParams): Promise<MerchantPersonFlagList>;
|
|
71
|
+
/**
|
|
72
|
+
* Flags the person for the merchant's team, with a reason and an optional
|
|
73
|
+
* note. A merged person's flag goes on the person it merged into. A person
|
|
74
|
+
* already flagged is refused with `IR_38` (400).
|
|
75
|
+
* `POST /persons/{person_id}/flags`
|
|
76
|
+
*/
|
|
77
|
+
flag(personId: string, body: MerchantPersonFlagCreate, params?: PersonScopeParams): Promise<MerchantPersonFlagView>;
|
|
78
|
+
/**
|
|
79
|
+
* Replaces an active flag's reason and note at the `version` read. A
|
|
80
|
+
* colleague's newer change, or a removal, since that read is refused with
|
|
81
|
+
* `IR_16` (400) rather than overwritten.
|
|
82
|
+
* `PUT /persons/{person_id}/flags/{flag_id}`
|
|
83
|
+
*/
|
|
84
|
+
updateFlag(personId: string, flagId: string, body: MerchantPersonFlagUpdate, params?: PersonScopeParams): Promise<MerchantPersonFlagView>;
|
|
85
|
+
/**
|
|
86
|
+
* Removes a flag at the `version` read: the flag stops and stays in the
|
|
87
|
+
* history with who removed it and when, which is what this answers. A
|
|
88
|
+
* colleague's change since that read is refused with `IR_16` (400).
|
|
89
|
+
* `DELETE /persons/{person_id}/flags/{flag_id}?version=`
|
|
90
|
+
*/
|
|
91
|
+
removeFlag(personId: string, flagId: string, version: number, params?: PersonScopeParams): Promise<MerchantPersonFlagView>;
|
|
92
|
+
/**
|
|
93
|
+
* One page of the persons in scope with an active flag of the merchant,
|
|
94
|
+
* each once with its newest active flag, newest flag first, and how many
|
|
95
|
+
* there are over every page. A `limit` outside 1 to 100 is a `400`.
|
|
96
|
+
* `GET /persons/flagged`
|
|
97
|
+
*/
|
|
98
|
+
listFlagged(params?: MerchantFlaggedPersonListParams): Promise<MerchantFlaggedPersonList>;
|
|
56
99
|
}
|
|
57
100
|
|
|
58
101
|
export { Persons };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PersonListParams, PersonListResponse, PersonScopeParams, PersonResponse, RelatedPersonsResponse, PaymentPersonResponse } from '../types.js';
|
|
1
|
+
import { PersonListParams, PersonListResponse, PersonScopeParams, PersonResponse, RelatedPersonsResponse, PaymentPersonResponse, MerchantPersonFlagList, MerchantPersonFlagCreate, MerchantPersonFlagView, MerchantPersonFlagUpdate, MerchantFlaggedPersonListParams, MerchantFlaggedPersonList } from '../types.js';
|
|
2
2
|
import { RequestFn } from '../core.js';
|
|
3
3
|
import '../eventStream.js';
|
|
4
4
|
import '../error.js';
|
|
@@ -20,6 +20,13 @@ import '../error.js';
|
|
|
20
20
|
* bound to one shop reads that shop's persons, with every figure counted
|
|
21
21
|
* there. A caller that sees only part of a shop's payments is refused with
|
|
22
22
|
* `403`.
|
|
23
|
+
*
|
|
24
|
+
* The merchant's own flags on its persons (`listFlags`, `flag`, `updateFlag`,
|
|
25
|
+
* `removeFlag`, `listFlagged`) take a dashboard session only, never an API
|
|
26
|
+
* key. Reading them needs the persons permission; setting, changing and
|
|
27
|
+
* removing them needs the persons manage permission. A flag marks a person as
|
|
28
|
+
* suspicious for the merchant's own team: it changes no payment, and no other
|
|
29
|
+
* merchant sees it.
|
|
23
30
|
*/
|
|
24
31
|
declare class Persons {
|
|
25
32
|
private readonly request;
|
|
@@ -53,6 +60,42 @@ declare class Persons {
|
|
|
53
60
|
* `GET /persons/payment/{payment_id}`
|
|
54
61
|
*/
|
|
55
62
|
ofPayment(paymentId: string, params?: PersonScopeParams): Promise<PaymentPersonResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Every flag the merchant's team set on the person, active and removed,
|
|
65
|
+
* newest first, with those of the persons merged into it. A merged person
|
|
66
|
+
* reads as the person it merged into. A person with no payment in the
|
|
67
|
+
* scope, or another merchant's, is not found (`404`).
|
|
68
|
+
* `GET /persons/{person_id}/flags`
|
|
69
|
+
*/
|
|
70
|
+
listFlags(personId: string, params?: PersonScopeParams): Promise<MerchantPersonFlagList>;
|
|
71
|
+
/**
|
|
72
|
+
* Flags the person for the merchant's team, with a reason and an optional
|
|
73
|
+
* note. A merged person's flag goes on the person it merged into. A person
|
|
74
|
+
* already flagged is refused with `IR_38` (400).
|
|
75
|
+
* `POST /persons/{person_id}/flags`
|
|
76
|
+
*/
|
|
77
|
+
flag(personId: string, body: MerchantPersonFlagCreate, params?: PersonScopeParams): Promise<MerchantPersonFlagView>;
|
|
78
|
+
/**
|
|
79
|
+
* Replaces an active flag's reason and note at the `version` read. A
|
|
80
|
+
* colleague's newer change, or a removal, since that read is refused with
|
|
81
|
+
* `IR_16` (400) rather than overwritten.
|
|
82
|
+
* `PUT /persons/{person_id}/flags/{flag_id}`
|
|
83
|
+
*/
|
|
84
|
+
updateFlag(personId: string, flagId: string, body: MerchantPersonFlagUpdate, params?: PersonScopeParams): Promise<MerchantPersonFlagView>;
|
|
85
|
+
/**
|
|
86
|
+
* Removes a flag at the `version` read: the flag stops and stays in the
|
|
87
|
+
* history with who removed it and when, which is what this answers. A
|
|
88
|
+
* colleague's change since that read is refused with `IR_16` (400).
|
|
89
|
+
* `DELETE /persons/{person_id}/flags/{flag_id}?version=`
|
|
90
|
+
*/
|
|
91
|
+
removeFlag(personId: string, flagId: string, version: number, params?: PersonScopeParams): Promise<MerchantPersonFlagView>;
|
|
92
|
+
/**
|
|
93
|
+
* One page of the persons in scope with an active flag of the merchant,
|
|
94
|
+
* each once with its newest active flag, newest flag first, and how many
|
|
95
|
+
* there are over every page. A `limit` outside 1 to 100 is a `400`.
|
|
96
|
+
* `GET /persons/flagged`
|
|
97
|
+
*/
|
|
98
|
+
listFlagged(params?: MerchantFlaggedPersonListParams): Promise<MerchantFlaggedPersonList>;
|
|
56
99
|
}
|
|
57
100
|
|
|
58
101
|
export { Persons };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/poll.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,sCAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/poll.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/processorCosts.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,0DAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/processorCosts.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/processorImports.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACF,gNAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/processorImports.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/products.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/products.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/profileAcquirers.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8DAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/profileAcquirers.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/profiles.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/profiles.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/projects.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/projects.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/refunds.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/refunds.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/regions.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/regions.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/relay.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,wCAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/relay.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/risk.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACF,iGAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/risk.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/routing.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,4CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/routing.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/search.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,0CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/search.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/sellToRestrictions.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,kEAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/sellToRestrictions.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/anes/delo-payment/
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_publish/sdk-0.423/dist/resources/settings.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,8CAAC","file":"/home/anes/delo-payment/_publish/sdk-0.423/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
|