@epilot/sdk 2.1.0-rc.0 → 2.1.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/definitions/app.json +38 -0
- package/definitions/automation.json +2 -37
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +115 -1
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +279 -42
- package/definitions/data-management.json +10 -0
- package/definitions/email-template.json +25 -3
- package/definitions/entity.json +205 -3
- package/definitions/erp-integration-runtime.json +1 -1
- package/definitions/erp-integration.json +472 -13
- package/definitions/journey.json +257 -12
- package/definitions/kanban.json +630 -78
- package/definitions/organization-runtime.json +1 -1
- package/definitions/organization.json +614 -51
- package/definitions/workflow.json +40 -0
- package/dist/README-VG67PX4R.js +7 -0
- package/dist/README-W4B35MRN.cjs +7 -0
- package/dist/_index-AMVZBT2K.cjs +99 -0
- package/dist/_index-S6LFD3ER.js +99 -0
- package/dist/access-token-6BJDZSFE.cjs +7 -0
- package/dist/access-token-GSQZLDXR.js +7 -0
- package/dist/address-HA4RMRNQ.cjs +7 -0
- package/dist/address-QVJUGMOG.js +7 -0
- package/dist/address-suggestions-74244BAJ.js +7 -0
- package/dist/address-suggestions-IUQMYF27.cjs +7 -0
- package/dist/ai-agents-IZWFEUSH.js +7 -0
- package/dist/ai-agents-PWHKNRCX.cjs +7 -0
- package/dist/apis/access-token.cjs +10 -13
- package/dist/apis/access-token.js +7 -10
- package/dist/apis/address-suggestions.cjs +10 -13
- package/dist/apis/address-suggestions.js +7 -10
- package/dist/apis/address.cjs +10 -13
- package/dist/apis/address.js +7 -10
- package/dist/apis/ai-agents.cjs +10 -13
- package/dist/apis/ai-agents.js +7 -10
- package/dist/apis/app.cjs +10 -13
- package/dist/apis/app.js +7 -10
- package/dist/apis/audit-logs.cjs +10 -13
- package/dist/apis/audit-logs.js +7 -10
- package/dist/apis/automation.cjs +10 -13
- package/dist/apis/automation.js +7 -10
- package/dist/apis/billing.cjs +10 -13
- package/dist/apis/billing.js +7 -10
- package/dist/apis/blueprint-manifest.cjs +10 -13
- package/dist/apis/blueprint-manifest.js +7 -10
- package/dist/apis/consent.cjs +10 -13
- package/dist/apis/consent.js +7 -10
- package/dist/apis/customer-portal.cjs +10 -13
- package/dist/apis/customer-portal.js +7 -10
- package/dist/apis/dashboard.cjs +10 -13
- package/dist/apis/dashboard.js +7 -10
- package/dist/apis/data-management.cjs +10 -13
- package/dist/apis/data-management.js +7 -10
- package/dist/apis/deduplication.cjs +10 -13
- package/dist/apis/deduplication.js +7 -10
- package/dist/apis/design.cjs +10 -13
- package/dist/apis/design.js +7 -10
- package/dist/apis/document.cjs +10 -13
- package/dist/apis/document.js +7 -10
- package/dist/apis/email-settings.cjs +10 -13
- package/dist/apis/email-settings.js +7 -10
- package/dist/apis/email-template.cjs +10 -13
- package/dist/apis/email-template.js +7 -10
- package/dist/apis/entity-mapping.cjs +10 -13
- package/dist/apis/entity-mapping.js +7 -10
- package/dist/apis/entity.cjs +10 -13
- package/dist/apis/entity.js +7 -10
- package/dist/apis/environments.cjs +10 -13
- package/dist/apis/environments.js +7 -10
- package/dist/apis/erp-integration.cjs +10 -13
- package/dist/apis/erp-integration.js +7 -10
- package/dist/apis/event-catalog.cjs +10 -13
- package/dist/apis/event-catalog.js +7 -10
- package/dist/apis/file.cjs +10 -13
- package/dist/apis/file.js +7 -10
- package/dist/apis/iban.cjs +10 -13
- package/dist/apis/iban.js +7 -10
- package/dist/apis/journey.cjs +10 -13
- package/dist/apis/journey.js +7 -10
- package/dist/apis/kanban.cjs +10 -13
- package/dist/apis/kanban.js +7 -10
- package/dist/apis/message.cjs +10 -13
- package/dist/apis/message.js +7 -10
- package/dist/apis/metering.cjs +10 -13
- package/dist/apis/metering.js +7 -10
- package/dist/apis/notes.cjs +10 -13
- package/dist/apis/notes.js +7 -10
- package/dist/apis/notification.cjs +10 -13
- package/dist/apis/notification.js +7 -10
- package/dist/apis/organization.cjs +10 -13
- package/dist/apis/organization.d.cts +2 -2
- package/dist/apis/organization.d.ts +2 -2
- package/dist/apis/organization.js +7 -10
- package/dist/apis/partner-directory.cjs +10 -13
- package/dist/apis/partner-directory.js +7 -10
- package/dist/apis/permissions.cjs +10 -13
- package/dist/apis/permissions.js +7 -10
- package/dist/apis/pricing-tier.cjs +10 -13
- package/dist/apis/pricing-tier.js +7 -10
- package/dist/apis/pricing.cjs +10 -13
- package/dist/apis/pricing.js +7 -10
- package/dist/apis/purpose.cjs +10 -13
- package/dist/apis/purpose.js +7 -10
- package/dist/apis/sandbox.cjs +10 -13
- package/dist/apis/sandbox.js +7 -10
- package/dist/apis/submission.cjs +10 -13
- package/dist/apis/submission.js +7 -10
- package/dist/apis/targeting.cjs +10 -13
- package/dist/apis/targeting.js +7 -10
- package/dist/apis/template-variables.cjs +10 -13
- package/dist/apis/template-variables.js +7 -10
- package/dist/apis/user.cjs +10 -13
- package/dist/apis/user.js +7 -10
- package/dist/apis/validation-rules.cjs +10 -13
- package/dist/apis/validation-rules.js +7 -10
- package/dist/apis/webhooks.cjs +10 -13
- package/dist/apis/webhooks.js +7 -10
- package/dist/apis/workflow-definition.cjs +10 -13
- package/dist/apis/workflow-definition.js +7 -10
- package/dist/apis/workflow.cjs +10 -13
- package/dist/apis/workflow.js +7 -10
- package/dist/app-IKHWU222.cjs +7 -0
- package/dist/app-VLM3SWKA.js +7 -0
- package/dist/audit-logs-5VXHOQ7S.js +7 -0
- package/dist/audit-logs-D2LFUA2R.cjs +7 -0
- package/dist/automation-3HGCK725.cjs +7 -0
- package/dist/automation-72VGEJCY.js +7 -0
- package/dist/billing-DUWDISHP.cjs +7 -0
- package/dist/billing-IPALEAG2.js +7 -0
- package/dist/blueprint-manifest-CXSCRQ5X.js +7 -0
- package/dist/blueprint-manifest-SHNZPK5O.cjs +7 -0
- package/dist/chunk-2HOJWFQ4.js +14 -0
- package/dist/chunk-372VUPHN.js +14 -0
- package/dist/chunk-3HJEWWPS.cjs +14 -0
- package/dist/chunk-3N67SSL3.js +14 -0
- package/dist/chunk-3XEP56SV.cjs +204 -0
- package/dist/chunk-3ZZ57K3S.cjs +14 -0
- package/dist/chunk-4SWC43JO.cjs +14 -0
- package/dist/chunk-4VFQTSJQ.js +14 -0
- package/dist/chunk-57QIBYDN.js +14 -0
- package/dist/chunk-5SNJAD6F.cjs +14 -0
- package/dist/chunk-73H6TVKN.js +14 -0
- package/dist/chunk-A6JOROUC.cjs +14 -0
- package/dist/chunk-AJKH25H2.cjs +14 -0
- package/dist/chunk-ARWMTXJV.cjs +14 -0
- package/dist/chunk-B3ZGAG7B.js +14 -0
- package/dist/chunk-BH5ZXK4J.cjs +14 -0
- package/dist/chunk-BWFXLUK5.cjs +14 -0
- package/dist/chunk-C6UTZEHH.js +14 -0
- package/dist/chunk-CPKBR34V.js +14 -0
- package/dist/chunk-CWSHYFVZ.js +14 -0
- package/dist/chunk-DJKSULPK.js +14 -0
- package/dist/chunk-DNJ54L2G.js +14 -0
- package/dist/chunk-DY2D2IW5.cjs +14 -0
- package/dist/chunk-E26ZO7QM.cjs +14 -0
- package/dist/chunk-EBCHCYUO.js +14 -0
- package/dist/chunk-EPAIOB5U.cjs +14 -0
- package/dist/chunk-EQZMT2HF.cjs +14 -0
- package/dist/chunk-F376L6PP.cjs +14 -0
- package/dist/chunk-F472YLJG.cjs +14 -0
- package/dist/chunk-FXOX3X7E.cjs +14 -0
- package/dist/chunk-G2REP2VZ.cjs +14 -0
- package/dist/chunk-GLO477NZ.js +14 -0
- package/dist/chunk-H4VSK4KF.js +14 -0
- package/dist/chunk-HPSGM6QP.js +14 -0
- package/dist/chunk-HPYHWTTA.cjs +14 -0
- package/dist/chunk-IH4CMOML.js +14 -0
- package/dist/chunk-IMT3IE5M.cjs +14 -0
- package/dist/chunk-IP2WWEOU.js +14 -0
- package/dist/chunk-IS2VB342.js +14 -0
- package/dist/chunk-ITX53XAZ.js +14 -0
- package/dist/chunk-JXBXDTFG.cjs +14 -0
- package/dist/chunk-K62XK7KU.js +14 -0
- package/dist/chunk-KA3TGFJP.js +14 -0
- package/dist/chunk-KBOVBUBM.js +14 -0
- package/dist/chunk-KPGC2D6E.js +14 -0
- package/dist/chunk-KSXTBGIV.js +14 -0
- package/dist/chunk-LCIJ4TJ4.cjs +14 -0
- package/dist/chunk-LQOLYXGQ.cjs +14 -0
- package/dist/chunk-LSIWCIQV.js +14 -0
- package/dist/chunk-MHNSZ4HE.js +14 -0
- package/dist/chunk-MKX4CKAB.cjs +14 -0
- package/dist/chunk-MRTAFRO7.js +14 -0
- package/dist/chunk-MRZ7LGKZ.js +14 -0
- package/dist/chunk-MSASBR2Y.js +14 -0
- package/dist/chunk-NAWLLC3T.cjs +14 -0
- package/dist/chunk-NJK5F5TF.cjs +21 -0
- package/dist/chunk-NLSZVGHK.cjs +14 -0
- package/dist/chunk-O4LRVGOY.js +14 -0
- package/dist/chunk-OG2DMGU6.cjs +14 -0
- package/dist/chunk-OGQKJTXF.js +14 -0
- package/dist/chunk-PETLAONH.js +14 -0
- package/dist/chunk-PVSS2WPM.cjs +14 -0
- package/dist/chunk-PXITFTJA.cjs +14 -0
- package/dist/chunk-QDVPPRWI.cjs +14 -0
- package/dist/chunk-QKERXNJJ.cjs +14 -0
- package/dist/chunk-QLML3IP5.cjs +14 -0
- package/dist/chunk-QVAJ5JP4.js +14 -0
- package/dist/chunk-RD7E4OSJ.cjs +14 -0
- package/dist/chunk-RWSA3LXE.cjs +14 -0
- package/dist/chunk-RXSS67VI.cjs +14 -0
- package/dist/chunk-S3ZNESMC.cjs +14 -0
- package/dist/chunk-S7NDMDRX.js +14 -0
- package/dist/chunk-SK3VYIZ6.cjs +14 -0
- package/dist/chunk-SMGHAG5C.cjs +14 -0
- package/dist/chunk-T46LODOF.js +14 -0
- package/dist/chunk-TIJWJVKZ.js +14 -0
- package/dist/chunk-TLWCYLNA.js +14 -0
- package/dist/chunk-TRJLYZHD.js +14 -0
- package/dist/chunk-UKKJMCNH.js +14 -0
- package/dist/chunk-ULBEEHG4.js +204 -0
- package/dist/chunk-VGTUK3QD.cjs +14 -0
- package/dist/chunk-VQ7R36AC.js +14 -0
- package/dist/chunk-VVQB5W7U.cjs +14 -0
- package/dist/chunk-VVVATFGK.cjs +14 -0
- package/dist/chunk-WMTYO5OX.cjs +14 -0
- package/dist/chunk-WOSSSFXB.js +14 -0
- package/dist/chunk-WOXXNKTE.js +14 -0
- package/dist/chunk-XKI2OAYV.cjs +14 -0
- package/dist/chunk-XR4QF6KQ.cjs +14 -0
- package/dist/chunk-XYHTQ523.cjs +14 -0
- package/dist/chunk-XZYZLSUO.cjs +14 -0
- package/dist/chunk-YPSWSI3M.js +21 -0
- package/dist/chunk-YYBIU5BQ.js +14 -0
- package/dist/chunk-YZA5WZUS.js +14 -0
- package/dist/chunk-Z4LUE424.cjs +14 -0
- package/dist/chunk-ZV6XYUXS.js +14 -0
- package/dist/consent-CS2ZBZX4.cjs +7 -0
- package/dist/consent-NNYHF2N4.js +7 -0
- package/dist/customer-portal-D3SLPAHZ.js +7 -0
- package/dist/customer-portal-UR3GN4VU.cjs +7 -0
- package/dist/dashboard-UHYR5RTY.cjs +7 -0
- package/dist/dashboard-UTPGXFW5.js +7 -0
- package/dist/data-management-QH2IJ5QV.js +7 -0
- package/dist/data-management-TEFRLGSU.cjs +7 -0
- package/dist/deduplication-ECVAZVVA.cjs +7 -0
- package/dist/deduplication-GYIST22B.js +7 -0
- package/dist/design-KUVXMFFK.cjs +7 -0
- package/dist/design-YKBXRW5C.js +7 -0
- package/dist/document-CY2A2OE7.js +7 -0
- package/dist/document-RYQ7MF6U.cjs +7 -0
- package/dist/email-settings-TQ5GGDYG.js +7 -0
- package/dist/email-settings-TQC34GST.cjs +7 -0
- package/dist/email-template-M2VVL4TI.cjs +7 -0
- package/dist/email-template-WYROV3UG.js +7 -0
- package/dist/entity-FA6PZX6S.js +7 -0
- package/dist/entity-IX5NSHPX.cjs +7 -0
- package/dist/entity-mapping-7J3IAGKQ.js +7 -0
- package/dist/entity-mapping-ZNMFCUKK.cjs +7 -0
- package/dist/environments-E3X6NYGX.js +7 -0
- package/dist/environments-P2JS4F5N.cjs +7 -0
- package/dist/erp-integration-EP2XFEH5.js +7 -0
- package/dist/erp-integration-NNV72VFI.cjs +7 -0
- package/dist/event-catalog-C45ISVMP.cjs +7 -0
- package/dist/event-catalog-D7VJ7WRS.js +7 -0
- package/dist/file-UOWBTDIU.cjs +7 -0
- package/dist/file-XSN3NAVZ.js +7 -0
- package/dist/iban-24GHLFDB.cjs +7 -0
- package/dist/iban-LDKYDVQV.js +7 -0
- package/dist/index.cjs +199 -58
- package/dist/index.d.cts +17 -2
- package/dist/index.d.ts +17 -2
- package/dist/index.js +197 -56
- package/dist/journey-7CKX67M7.js +7 -0
- package/dist/journey-EUZ6MVHG.cjs +7 -0
- package/dist/kanban-CHTH2ZSY.cjs +7 -0
- package/dist/kanban-HI6LL5WY.js +7 -0
- package/dist/message-3XZLJR6R.cjs +7 -0
- package/dist/message-ZNMCS5YH.js +7 -0
- package/dist/metering-DZNZPPY6.cjs +7 -0
- package/dist/metering-KOSCPPKB.js +7 -0
- package/dist/notes-3AO5GXIT.js +7 -0
- package/dist/notes-MPWOQC5J.cjs +7 -0
- package/dist/notification-PZOCUYD5.cjs +7 -0
- package/dist/notification-VWDZRSFZ.js +7 -0
- package/dist/organization-RARYYG2E.cjs +7 -0
- package/dist/organization-ZERPH2IH.js +7 -0
- package/dist/{organization.d-Bd2Hmk8v.d.cts → organization.d-DqwnNxMg.d.cts} +34 -7
- package/dist/{organization.d-Bd2Hmk8v.d.ts → organization.d-DqwnNxMg.d.ts} +34 -7
- package/dist/partner-directory-2XMPQWWX.js +7 -0
- package/dist/partner-directory-WHNTKQ5E.cjs +7 -0
- package/dist/permissions-4T3GFNB4.js +7 -0
- package/dist/permissions-FGBIJNN7.cjs +7 -0
- package/dist/pricing-4Z4TOETA.cjs +7 -0
- package/dist/pricing-C65DTZSX.js +7 -0
- package/dist/pricing-tier-NI35WOUP.cjs +7 -0
- package/dist/pricing-tier-VUOFK5Q7.js +7 -0
- package/dist/purpose-AKOEUHZ4.cjs +7 -0
- package/dist/purpose-RBRV3AQZ.js +7 -0
- package/dist/sandbox-2KN4X66E.cjs +7 -0
- package/dist/sandbox-L2SOOGGR.js +7 -0
- package/dist/submission-7BISSPO6.js +7 -0
- package/dist/submission-Q24BU4GS.cjs +7 -0
- package/dist/targeting-EYGYZD6M.cjs +7 -0
- package/dist/targeting-GEJTJN5Z.js +7 -0
- package/dist/template-variables-OAYS2E3G.cjs +1148 -0
- package/dist/template-variables-VKDJJZUT.js +1148 -0
- package/dist/user-EIEOI3OG.js +7 -0
- package/dist/user-NJJ7XVKB.cjs +7 -0
- package/dist/validation-rules-P6F5P73P.js +7 -0
- package/dist/validation-rules-VDU3CIZV.cjs +7 -0
- package/dist/webhooks-I7JWU34X.cjs +7 -0
- package/dist/webhooks-WPLEHVPX.js +7 -0
- package/dist/workflow-3LLURW3H.js +7 -0
- package/dist/workflow-RAGQDYXT.cjs +7 -0
- package/dist/workflow-definition-B6ELOZUR.cjs +7 -0
- package/dist/workflow-definition-D24CRCK2.js +7 -0
- package/docs/access-token.md +440 -0
- package/docs/address-suggestions.md +256 -0
- package/docs/address.md +284 -0
- package/docs/ai-agents.md +1891 -0
- package/docs/app.md +3388 -0
- package/docs/audit-logs.md +242 -0
- package/docs/automation.md +4044 -0
- package/docs/billing.md +783 -0
- package/docs/blueprint-manifest.md +3234 -0
- package/docs/consent.md +213 -0
- package/docs/customer-portal.md +11399 -0
- package/docs/dashboard.md +640 -0
- package/docs/data-management.md +883 -0
- package/docs/deduplication.md +135 -0
- package/docs/design.md +1273 -0
- package/docs/document.md +590 -0
- package/docs/email-settings.md +1544 -0
- package/docs/email-template.md +1197 -0
- package/docs/entity-mapping.md +2864 -0
- package/docs/entity.md +9595 -0
- package/docs/environments.md +259 -0
- package/docs/erp-integration.md +4572 -0
- package/docs/event-catalog.md +835 -0
- package/docs/file.md +1453 -0
- package/docs/iban.md +61 -0
- package/docs/journey.md +2268 -0
- package/docs/kanban.md +882 -0
- package/docs/message.md +2122 -0
- package/docs/metering.md +1431 -0
- package/docs/notes.md +670 -0
- package/docs/notification.md +1207 -0
- package/docs/organization.md +733 -0
- package/docs/partner-directory.md +1197 -0
- package/docs/permissions.md +1047 -0
- package/docs/pricing-tier.md +81 -0
- package/docs/pricing.md +5923 -0
- package/docs/purpose.md +283 -0
- package/docs/sandbox.md +389 -0
- package/docs/submission.md +195 -0
- package/docs/targeting.md +959 -0
- package/docs/template-variables.md +1141 -0
- package/docs/user.md +2555 -0
- package/docs/validation-rules.md +1597 -0
- package/docs/webhooks.md +996 -0
- package/docs/workflow-definition.md +3842 -0
- package/docs/workflow.md +4465 -0
- package/package.json +3 -2
- package/dist/chunk-XE25WERA.js +0 -125
- package/dist/chunk-XEQMAKGA.cjs +0 -125
package/dist/apis/metering.cjs
CHANGED
|
@@ -1,34 +1,31 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
+
var _chunkIMT3IE5Mcjs = require('../chunk-IMT3IE5M.cjs');
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"src/definitions/metering-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://metering.sls.epilot.io", o: [["getCustomerMeters", "get", "/v1/metering/meter"], ["getMetersByContractId", "get", "/v1/metering/contract/meters/{contract_id}", [["contract_id", "p", true]]], ["updateMeter", "patch", "/v1/metering/meter/{id}", [["id", "p", true]], 1], ["getMeter", "get", "/v1/metering/meter/{id}", [["id", "p", true]]], ["getMeterCounters", "get", "/v1/metering/counter", [["meter_id", "q", true]]], ["getCounterDetails", "get", "/v1/metering/counter/{counter_id}", [["counter_id", "p", true]]], ["createMeterReading", "post", "/v1/metering/reading", null, 1], ["createMeterReadings", "post", "/v1/metering/readings", [["async", "q"], ["ActivityIdQueryParam"], ["SkipValidationQueryParam"]], 1], ["createPortalMeterReadings", "post", "/v1/metering/readings/{meter_id}", [["meter_id", "p", true]], 1], ["batchWriteMeterReadings", "post", "/v2/metering/readings", [["async", "q"], ["SkipValidationQueryParam"], ["ActivityIdQueryParam"]], 1], ["createMeterReadingFromSubmission", "post", "/v1/metering/reading/submission", null, 1], ["getAllowedReadingForMeter", "get", "/v1/metering/allowed/reading/{meter_id}", [["meter_id", "p", true], ["timestamp", "q"]]], ["createReadingWithMeter", "post", "/v1/metering/reading/with-meter", null, 1], ["getReadingsByInterval", "get", "/v1/metering/reading/{meter_id}/{counter_id}", [["meter_id", "p", true], ["counter_id", "p", true], ["start_date", "q"], ["end_date", "q"], ["direction", "q"], ["size", "q"], ["from", "q"], ["type", "q", true], ["sort", "q"]]], ["updateMeterReading", "put", "/v1/metering/reading/{meter_id}/{counter_id}", [["meter_id", "p", true], ["counter_id", "p", true], ["timestamp", "q", true]], 1], ["deleteMeterReading", "delete", "/v1/metering/reading/{meter_id}/{counter_id}", [["meter_id", "p", true], ["counter_id", "p", true], ["timestamp", "q", true]]]], v: "3.0.3", cp: { ActivityIdQueryParam: ["activity_id", "q"], SkipValidationQueryParam: ["skip_validation", "q"] } };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
var _chunk3XEP56SVcjs = require('../chunk-3XEP56SV.cjs');
|
|
10
|
+
require('../chunk-NJK5F5TF.cjs');
|
|
15
11
|
|
|
16
12
|
// src/apis/metering.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
18
|
-
const mod = require_metering_runtime();
|
|
19
|
-
return
|
|
14
|
+
const mod = _chunkIMT3IE5Mcjs.require_metering_runtime.call(void 0, );
|
|
15
|
+
return _chunk3XEP56SVcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
16
|
};
|
|
21
17
|
var _instance = null;
|
|
22
18
|
var resolve = () => {
|
|
23
19
|
if (!_instance) {
|
|
24
20
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
21
|
+
_instance = _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: def });
|
|
26
22
|
}
|
|
27
23
|
return _instance;
|
|
28
24
|
};
|
|
29
|
-
var _handle =
|
|
25
|
+
var _handle = _chunk3XEP56SVcjs.createApiHandle.call(void 0, {
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: loadDefinition() }),
|
|
28
|
+
apiName: "metering"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +35,4 @@ var metering = _handle;
|
|
|
38
35
|
|
|
39
36
|
|
|
40
37
|
|
|
41
|
-
exports.authorize =
|
|
38
|
+
exports.authorize = _chunk3XEP56SVcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.metering = metering;
|
package/dist/apis/metering.js
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
require_metering_runtime
|
|
3
|
+
} from "../chunk-VQ7R36AC.js";
|
|
4
|
+
import {
|
|
3
5
|
authorize,
|
|
4
6
|
createApiClient,
|
|
5
7
|
createApiHandle,
|
|
6
8
|
expand
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
|
|
9
|
-
// src/definitions/metering-runtime.json
|
|
10
|
-
var require_metering_runtime = __commonJS({
|
|
11
|
-
"src/definitions/metering-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://metering.sls.epilot.io", o: [["getCustomerMeters", "get", "/v1/metering/meter"], ["getMetersByContractId", "get", "/v1/metering/contract/meters/{contract_id}", [["contract_id", "p", true]]], ["updateMeter", "patch", "/v1/metering/meter/{id}", [["id", "p", true]], 1], ["getMeter", "get", "/v1/metering/meter/{id}", [["id", "p", true]]], ["getMeterCounters", "get", "/v1/metering/counter", [["meter_id", "q", true]]], ["getCounterDetails", "get", "/v1/metering/counter/{counter_id}", [["counter_id", "p", true]]], ["createMeterReading", "post", "/v1/metering/reading", null, 1], ["createMeterReadings", "post", "/v1/metering/readings", [["async", "q"], ["ActivityIdQueryParam"], ["SkipValidationQueryParam"]], 1], ["createPortalMeterReadings", "post", "/v1/metering/readings/{meter_id}", [["meter_id", "p", true]], 1], ["batchWriteMeterReadings", "post", "/v2/metering/readings", [["async", "q"], ["SkipValidationQueryParam"], ["ActivityIdQueryParam"]], 1], ["createMeterReadingFromSubmission", "post", "/v1/metering/reading/submission", null, 1], ["getAllowedReadingForMeter", "get", "/v1/metering/allowed/reading/{meter_id}", [["meter_id", "p", true], ["timestamp", "q"]]], ["createReadingWithMeter", "post", "/v1/metering/reading/with-meter", null, 1], ["getReadingsByInterval", "get", "/v1/metering/reading/{meter_id}/{counter_id}", [["meter_id", "p", true], ["counter_id", "p", true], ["start_date", "q"], ["end_date", "q"], ["direction", "q"], ["size", "q"], ["from", "q"], ["type", "q", true], ["sort", "q"]]], ["updateMeterReading", "put", "/v1/metering/reading/{meter_id}/{counter_id}", [["meter_id", "p", true], ["counter_id", "p", true], ["timestamp", "q", true]], 1], ["deleteMeterReading", "delete", "/v1/metering/reading/{meter_id}/{counter_id}", [["meter_id", "p", true], ["counter_id", "p", true], ["timestamp", "q", true]]]], v: "3.0.3", cp: { ActivityIdQueryParam: ["activity_id", "q"], SkipValidationQueryParam: ["skip_validation", "q"] } };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
} from "../chunk-ULBEEHG4.js";
|
|
10
|
+
import "../chunk-YPSWSI3M.js";
|
|
15
11
|
|
|
16
12
|
// src/apis/metering.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
@@ -28,7 +24,8 @@ var resolve = () => {
|
|
|
28
24
|
};
|
|
29
25
|
var _handle = createApiHandle({
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () => createApiClient({ definition: loadDefinition() })
|
|
27
|
+
createClient: () => createApiClient({ definition: loadDefinition() }),
|
|
28
|
+
apiName: "metering"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
package/dist/apis/notes.cjs
CHANGED
|
@@ -1,34 +1,31 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
+
var _chunk4SWC43JOcjs = require('../chunk-4SWC43JO.cjs');
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"src/definitions/notes-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://notes.sls.epilot.io", o: [["createNote", "post", "/v1/note", null, 1], ["getNote", "get", "/v1/note/{id}", [["id", "p", true], ["hydrate", "q"]]], ["patchNote", "patch", "/v1/note/{id}", [["id", "p", true]], 1], ["updateNote", "put", "/v1/note/{id}", [["id", "p", true]], 1], ["deleteNote", "delete", "/v1/note/{id}", [["id", "p", true]]], ["searchNotesByContext", "post", "/v1/notes:search", null, 1], ["getNotesByContext", "get", "/v1/notes/{entity_id}", [["entity_id", "p", true], ["contexts", "q"], ["from", "q"], ["size", "q"]]], ["pinNote", "post", "/v1/note/{id}/pin", [["id", "p", true]]], ["getNoteContexts", "get", "/v1/note/{id}/context", [["id", "p", true]]], ["addNoteReaction", "post", "/v1/note/{id}/reaction", [["id", "p", true]], 1], ["removeNoteReaction", "delete", "/v1/note/{id}/reaction/{emoji_shortcode}", [["id", "p", true], ["emoji_shortcode", "p", true]]], ["toggleNoteReactions", "post", "/v1/note/{id}/reactions/toggle", [["id", "p", true]], 1]] };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
var _chunk3XEP56SVcjs = require('../chunk-3XEP56SV.cjs');
|
|
10
|
+
require('../chunk-NJK5F5TF.cjs');
|
|
15
11
|
|
|
16
12
|
// src/apis/notes.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
18
|
-
const mod = require_notes_runtime();
|
|
19
|
-
return
|
|
14
|
+
const mod = _chunk4SWC43JOcjs.require_notes_runtime.call(void 0, );
|
|
15
|
+
return _chunk3XEP56SVcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
16
|
};
|
|
21
17
|
var _instance = null;
|
|
22
18
|
var resolve = () => {
|
|
23
19
|
if (!_instance) {
|
|
24
20
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
21
|
+
_instance = _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: def });
|
|
26
22
|
}
|
|
27
23
|
return _instance;
|
|
28
24
|
};
|
|
29
|
-
var _handle =
|
|
25
|
+
var _handle = _chunk3XEP56SVcjs.createApiHandle.call(void 0, {
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: loadDefinition() }),
|
|
28
|
+
apiName: "notes"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +35,4 @@ var notes = _handle;
|
|
|
38
35
|
|
|
39
36
|
|
|
40
37
|
|
|
41
|
-
exports.authorize =
|
|
38
|
+
exports.authorize = _chunk3XEP56SVcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.notes = notes;
|
package/dist/apis/notes.js
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
require_notes_runtime
|
|
3
|
+
} from "../chunk-4VFQTSJQ.js";
|
|
4
|
+
import {
|
|
3
5
|
authorize,
|
|
4
6
|
createApiClient,
|
|
5
7
|
createApiHandle,
|
|
6
8
|
expand
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
|
|
9
|
-
// src/definitions/notes-runtime.json
|
|
10
|
-
var require_notes_runtime = __commonJS({
|
|
11
|
-
"src/definitions/notes-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://notes.sls.epilot.io", o: [["createNote", "post", "/v1/note", null, 1], ["getNote", "get", "/v1/note/{id}", [["id", "p", true], ["hydrate", "q"]]], ["patchNote", "patch", "/v1/note/{id}", [["id", "p", true]], 1], ["updateNote", "put", "/v1/note/{id}", [["id", "p", true]], 1], ["deleteNote", "delete", "/v1/note/{id}", [["id", "p", true]]], ["searchNotesByContext", "post", "/v1/notes:search", null, 1], ["getNotesByContext", "get", "/v1/notes/{entity_id}", [["entity_id", "p", true], ["contexts", "q"], ["from", "q"], ["size", "q"]]], ["pinNote", "post", "/v1/note/{id}/pin", [["id", "p", true]]], ["getNoteContexts", "get", "/v1/note/{id}/context", [["id", "p", true]]], ["addNoteReaction", "post", "/v1/note/{id}/reaction", [["id", "p", true]], 1], ["removeNoteReaction", "delete", "/v1/note/{id}/reaction/{emoji_shortcode}", [["id", "p", true], ["emoji_shortcode", "p", true]]], ["toggleNoteReactions", "post", "/v1/note/{id}/reactions/toggle", [["id", "p", true]], 1]] };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
} from "../chunk-ULBEEHG4.js";
|
|
10
|
+
import "../chunk-YPSWSI3M.js";
|
|
15
11
|
|
|
16
12
|
// src/apis/notes.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
@@ -28,7 +24,8 @@ var resolve = () => {
|
|
|
28
24
|
};
|
|
29
25
|
var _handle = createApiHandle({
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () => createApiClient({ definition: loadDefinition() })
|
|
27
|
+
createClient: () => createApiClient({ definition: loadDefinition() }),
|
|
28
|
+
apiName: "notes"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
|
@@ -1,34 +1,31 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
+
var _chunkWMTYO5OXcjs = require('../chunk-WMTYO5OX.cjs');
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"src/definitions/notification-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://notification.sls.epilot.io", o: [["getNotificationsV2", "get", "/v2/notification/notifications", [["cursor", "q"], ["after_id", "q"], ["limit", "q"]]], ["createNotification", "post", "/v1/notification/notifications", null, 1], ["getNotifications", "get", "/v1/notification/notifications", [["after_id", "q"], ["limit", "q"], ["no_hydrate", "q"]]], ["getNotification", "get", "/v1/notification/notifications/{id}", [["id", "p", true]]], ["markAllAsRead", "put", "/v1/notification/notifications/mark"], ["markAsRead", "put", "/v1/notification/notifications/{id}/mark", [["id", "p", true]]], ["getTotalUnread", "get", "/v1/notification/unreads"], ["listNotificationTemplates", "get", "/v1/notification/templates", [["q", "q"], ["from", "q"], ["size", "q"], ["sort", "q"], ["fields", "q"], ["hydrate", "q"]]], ["createNotificationTemplate", "post", "/v1/notification/templates", null, 1], ["getNotificationTemplate", "get", "/v1/notification/templates/{id}", [["TemplateIdPathParam"]]], ["updateNotificationTemplate", "put", "/v1/notification/templates/{id}", [["TemplateIdPathParam"]], 1], ["patchNotificationTemplate", "patch", "/v1/notification/templates/{id}", [["TemplateIdPathParam"]], 1], ["deleteNotificationTemplate", "delete", "/v1/notification/templates/{id}", [["TemplateIdPathParam"]]], ["sendPreview", "post", "/v1/notification/templates/send-preview", null, 1]], v: "3.0.3", cp: { TemplateIdPathParam: ["id", "p", true] } };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
var _chunk3XEP56SVcjs = require('../chunk-3XEP56SV.cjs');
|
|
10
|
+
require('../chunk-NJK5F5TF.cjs');
|
|
15
11
|
|
|
16
12
|
// src/apis/notification.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
18
|
-
const mod = require_notification_runtime();
|
|
19
|
-
return
|
|
14
|
+
const mod = _chunkWMTYO5OXcjs.require_notification_runtime.call(void 0, );
|
|
15
|
+
return _chunk3XEP56SVcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
16
|
};
|
|
21
17
|
var _instance = null;
|
|
22
18
|
var resolve = () => {
|
|
23
19
|
if (!_instance) {
|
|
24
20
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
21
|
+
_instance = _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: def });
|
|
26
22
|
}
|
|
27
23
|
return _instance;
|
|
28
24
|
};
|
|
29
|
-
var _handle =
|
|
25
|
+
var _handle = _chunk3XEP56SVcjs.createApiHandle.call(void 0, {
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: loadDefinition() }),
|
|
28
|
+
apiName: "notification"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +35,4 @@ var notification = _handle;
|
|
|
38
35
|
|
|
39
36
|
|
|
40
37
|
|
|
41
|
-
exports.authorize =
|
|
38
|
+
exports.authorize = _chunk3XEP56SVcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.notification = notification;
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
require_notification_runtime
|
|
3
|
+
} from "../chunk-CWSHYFVZ.js";
|
|
4
|
+
import {
|
|
3
5
|
authorize,
|
|
4
6
|
createApiClient,
|
|
5
7
|
createApiHandle,
|
|
6
8
|
expand
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
|
|
9
|
-
// src/definitions/notification-runtime.json
|
|
10
|
-
var require_notification_runtime = __commonJS({
|
|
11
|
-
"src/definitions/notification-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://notification.sls.epilot.io", o: [["getNotificationsV2", "get", "/v2/notification/notifications", [["cursor", "q"], ["after_id", "q"], ["limit", "q"]]], ["createNotification", "post", "/v1/notification/notifications", null, 1], ["getNotifications", "get", "/v1/notification/notifications", [["after_id", "q"], ["limit", "q"], ["no_hydrate", "q"]]], ["getNotification", "get", "/v1/notification/notifications/{id}", [["id", "p", true]]], ["markAllAsRead", "put", "/v1/notification/notifications/mark"], ["markAsRead", "put", "/v1/notification/notifications/{id}/mark", [["id", "p", true]]], ["getTotalUnread", "get", "/v1/notification/unreads"], ["listNotificationTemplates", "get", "/v1/notification/templates", [["q", "q"], ["from", "q"], ["size", "q"], ["sort", "q"], ["fields", "q"], ["hydrate", "q"]]], ["createNotificationTemplate", "post", "/v1/notification/templates", null, 1], ["getNotificationTemplate", "get", "/v1/notification/templates/{id}", [["TemplateIdPathParam"]]], ["updateNotificationTemplate", "put", "/v1/notification/templates/{id}", [["TemplateIdPathParam"]], 1], ["patchNotificationTemplate", "patch", "/v1/notification/templates/{id}", [["TemplateIdPathParam"]], 1], ["deleteNotificationTemplate", "delete", "/v1/notification/templates/{id}", [["TemplateIdPathParam"]]], ["sendPreview", "post", "/v1/notification/templates/send-preview", null, 1]], v: "3.0.3", cp: { TemplateIdPathParam: ["id", "p", true] } };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
} from "../chunk-ULBEEHG4.js";
|
|
10
|
+
import "../chunk-YPSWSI3M.js";
|
|
15
11
|
|
|
16
12
|
// src/apis/notification.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
@@ -28,7 +24,8 @@ var resolve = () => {
|
|
|
28
24
|
};
|
|
29
25
|
var _handle = createApiHandle({
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () => createApiClient({ definition: loadDefinition() })
|
|
27
|
+
createClient: () => createApiClient({ definition: loadDefinition() }),
|
|
28
|
+
apiName: "notification"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
|
@@ -1,34 +1,31 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
+
var _chunkAJKH25H2cjs = require('../chunk-AJKH25H2.cjs');
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"src/definitions/organization-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://organization-v2.sls.epilot.io", o: [["getCurrentOrganization", "get", "/v2/organization/current"], ["getOrganization", "get", "/v2/organization/{org_id}", [["org_id", "p", true]]], ["updateOrganization", "patch", "/v2/organization/{org_id}", [["org_id", "p", true]], 1], ["getSettings", "get", "/v2/organization/{org_id}/settings", [["org_id", "p", true]]], ["putSettingsValue", "put", "/v2/organization/{org_id}/settings/{key}", [["org_id", "p", true], ["key", "p", true]], 1], ["deleteSettingsValue", "delete", "/v2/organization/{org_id}/settings/{key}", [["org_id", "p", true], ["key", "p", true]]], ["getFeatureSettings", "get", "/v2/feature-settings"]], v: "3.0.3" };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
var _chunk3XEP56SVcjs = require('../chunk-3XEP56SV.cjs');
|
|
10
|
+
require('../chunk-NJK5F5TF.cjs');
|
|
15
11
|
|
|
16
12
|
// src/apis/organization.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
18
|
-
const mod = require_organization_runtime();
|
|
19
|
-
return
|
|
14
|
+
const mod = _chunkAJKH25H2cjs.require_organization_runtime.call(void 0, );
|
|
15
|
+
return _chunk3XEP56SVcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
16
|
};
|
|
21
17
|
var _instance = null;
|
|
22
18
|
var resolve = () => {
|
|
23
19
|
if (!_instance) {
|
|
24
20
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
21
|
+
_instance = _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: def });
|
|
26
22
|
}
|
|
27
23
|
return _instance;
|
|
28
24
|
};
|
|
29
|
-
var _handle =
|
|
25
|
+
var _handle = _chunk3XEP56SVcjs.createApiHandle.call(void 0, {
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: loadDefinition() }),
|
|
28
|
+
apiName: "organization"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +35,4 @@ var organization = _handle;
|
|
|
38
35
|
|
|
39
36
|
|
|
40
37
|
|
|
41
|
-
exports.authorize =
|
|
38
|
+
exports.authorize = _chunk3XEP56SVcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.organization = organization;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-BwBvJkY_.cjs';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-BwBvJkY_.cjs';
|
|
3
|
-
import { C as Client } from '../organization.d-
|
|
4
|
-
export { a as Components, c as CreateOrganizationRequest, D as DataPoint, d as DataPointsResponse, F as FeatureFlagMetadata, e as FeatureSettings, H as HubspotCompaniesResponse, f as HubspotCompany, g as HubspotOrganizationData, I as I18nString, h as InternalOrganization, O as OperationMethods, i as Organization, j as OrganizationCleanupStatus, k as OrganizationId, l as OrganizationToCleanup, P as Paths, b as PathsDictionary, S as SettingKey, m as Settings, n as SettingsValue, V as VisibilityRule } from '../organization.d-
|
|
3
|
+
import { C as Client } from '../organization.d-DqwnNxMg.cjs';
|
|
4
|
+
export { a as Components, c as CreateOrganizationRequest, D as DataPoint, d as DataPointsResponse, F as FeatureFlagMetadata, e as FeatureSettings, H as HubspotCompaniesResponse, f as HubspotCompany, g as HubspotOrganizationData, I as I18nString, h as InternalOrganization, O as OperationMethods, i as Organization, j as OrganizationCleanupStatus, k as OrganizationId, l as OrganizationToCleanup, P as Paths, b as PathsDictionary, S as SettingKey, m as Settings, n as SettingsValue, V as VisibilityRule } from '../organization.d-DqwnNxMg.cjs';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-BwBvJkY_.js';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-BwBvJkY_.js';
|
|
3
|
-
import { C as Client } from '../organization.d-
|
|
4
|
-
export { a as Components, c as CreateOrganizationRequest, D as DataPoint, d as DataPointsResponse, F as FeatureFlagMetadata, e as FeatureSettings, H as HubspotCompaniesResponse, f as HubspotCompany, g as HubspotOrganizationData, I as I18nString, h as InternalOrganization, O as OperationMethods, i as Organization, j as OrganizationCleanupStatus, k as OrganizationId, l as OrganizationToCleanup, P as Paths, b as PathsDictionary, S as SettingKey, m as Settings, n as SettingsValue, V as VisibilityRule } from '../organization.d-
|
|
3
|
+
import { C as Client } from '../organization.d-DqwnNxMg.js';
|
|
4
|
+
export { a as Components, c as CreateOrganizationRequest, D as DataPoint, d as DataPointsResponse, F as FeatureFlagMetadata, e as FeatureSettings, H as HubspotCompaniesResponse, f as HubspotCompany, g as HubspotOrganizationData, I as I18nString, h as InternalOrganization, O as OperationMethods, i as Organization, j as OrganizationCleanupStatus, k as OrganizationId, l as OrganizationToCleanup, P as Paths, b as PathsDictionary, S as SettingKey, m as Settings, n as SettingsValue, V as VisibilityRule } from '../organization.d-DqwnNxMg.js';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
require_organization_runtime
|
|
3
|
+
} from "../chunk-IH4CMOML.js";
|
|
4
|
+
import {
|
|
3
5
|
authorize,
|
|
4
6
|
createApiClient,
|
|
5
7
|
createApiHandle,
|
|
6
8
|
expand
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
|
|
9
|
-
// src/definitions/organization-runtime.json
|
|
10
|
-
var require_organization_runtime = __commonJS({
|
|
11
|
-
"src/definitions/organization-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://organization-v2.sls.epilot.io", o: [["getCurrentOrganization", "get", "/v2/organization/current"], ["getOrganization", "get", "/v2/organization/{org_id}", [["org_id", "p", true]]], ["updateOrganization", "patch", "/v2/organization/{org_id}", [["org_id", "p", true]], 1], ["getSettings", "get", "/v2/organization/{org_id}/settings", [["org_id", "p", true]]], ["putSettingsValue", "put", "/v2/organization/{org_id}/settings/{key}", [["org_id", "p", true], ["key", "p", true]], 1], ["deleteSettingsValue", "delete", "/v2/organization/{org_id}/settings/{key}", [["org_id", "p", true], ["key", "p", true]]], ["getFeatureSettings", "get", "/v2/feature-settings"]], v: "3.0.3" };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
} from "../chunk-ULBEEHG4.js";
|
|
10
|
+
import "../chunk-YPSWSI3M.js";
|
|
15
11
|
|
|
16
12
|
// src/apis/organization.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
@@ -28,7 +24,8 @@ var resolve = () => {
|
|
|
28
24
|
};
|
|
29
25
|
var _handle = createApiHandle({
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () => createApiClient({ definition: loadDefinition() })
|
|
27
|
+
createClient: () => createApiClient({ definition: loadDefinition() }),
|
|
28
|
+
apiName: "organization"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
|
@@ -1,34 +1,31 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
+
var _chunkRXSS67VIcjs = require('../chunk-RXSS67VI.cjs');
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"src/definitions/partner-directory-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://partner-directory-api.sls.epilot.io", o: [["approvePartner", "post", "/v1/partners/{id}/approve", [["id", "p", true]]], ["rejectPartner", "post", "/v1/partners/{id}/reject", [["id", "p", true]]], ["searchAssignable", "post", "/v1/partners/assignables:search", null, 1], ["batchGetAssignable", "post", "/v1/partners/assignables:batchGet", null, 1], ["getPartnerByToken", "get", "/v1/partner-directory/public/getPartnerByToken", [["token", "q", true]]], ["activatePartner", "post", "/v1/partner-directory/public/activate", [["token", "q", true]], 1], ["searchGeolocationForText", "post", "/v1/geolocation/text:search", null, 1], ["invitePartnerV2", "post", "/v2/partners/{id}/invite", [["id", "p", true]], 1], ["getPartnerUsers", "get", "/v2/partners/{orgId}/users", [["orgId", "p", true]]], ["createPartnerUser", "post", "/v2/partners/{orgId}/users", [["orgId", "p", true]], 1], ["deletePartnerUser", "delete", "/v2/partners/{orgId}/users/{userId}", [["orgId", "p", true], ["userId", "p", true]]], ["getPartnerRoles", "get", "/v2/partners/{orgId}/roles", [["orgId", "p", true]]], ["createPartnerRole", "post", "/v2/partners/{orgId}/roles", [["orgId", "p", true]], 1], ["updatePartnerRole", "put", "/v2/partners/{orgId}/roles/{roleId}", [["orgId", "p", true], ["roleId", "p", true]], 1], ["assignPartnerUserRoles", "post", "/v2/partners/{orgId}/users/{userId}/roles", [["orgId", "p", true], ["userId", "p", true]], 1], ["unassignPartnerUserRoles", "delete", "/v2/partners/{orgId}/users/{userId}/roles", [["orgId", "p", true], ["userId", "p", true]], 1]], v: "3.0.3" };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
var _chunk3XEP56SVcjs = require('../chunk-3XEP56SV.cjs');
|
|
10
|
+
require('../chunk-NJK5F5TF.cjs');
|
|
15
11
|
|
|
16
12
|
// src/apis/partner-directory.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
18
|
-
const mod = require_partner_directory_runtime();
|
|
19
|
-
return
|
|
14
|
+
const mod = _chunkRXSS67VIcjs.require_partner_directory_runtime.call(void 0, );
|
|
15
|
+
return _chunk3XEP56SVcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
16
|
};
|
|
21
17
|
var _instance = null;
|
|
22
18
|
var resolve = () => {
|
|
23
19
|
if (!_instance) {
|
|
24
20
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
21
|
+
_instance = _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: def });
|
|
26
22
|
}
|
|
27
23
|
return _instance;
|
|
28
24
|
};
|
|
29
|
-
var _handle =
|
|
25
|
+
var _handle = _chunk3XEP56SVcjs.createApiHandle.call(void 0, {
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: loadDefinition() }),
|
|
28
|
+
apiName: "partnerDirectory"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +35,4 @@ var partnerDirectory = _handle;
|
|
|
38
35
|
|
|
39
36
|
|
|
40
37
|
|
|
41
|
-
exports.authorize =
|
|
38
|
+
exports.authorize = _chunk3XEP56SVcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.partnerDirectory = partnerDirectory;
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
require_partner_directory_runtime
|
|
3
|
+
} from "../chunk-KPGC2D6E.js";
|
|
4
|
+
import {
|
|
3
5
|
authorize,
|
|
4
6
|
createApiClient,
|
|
5
7
|
createApiHandle,
|
|
6
8
|
expand
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
|
|
9
|
-
// src/definitions/partner-directory-runtime.json
|
|
10
|
-
var require_partner_directory_runtime = __commonJS({
|
|
11
|
-
"src/definitions/partner-directory-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://partner-directory-api.sls.epilot.io", o: [["approvePartner", "post", "/v1/partners/{id}/approve", [["id", "p", true]]], ["rejectPartner", "post", "/v1/partners/{id}/reject", [["id", "p", true]]], ["searchAssignable", "post", "/v1/partners/assignables:search", null, 1], ["batchGetAssignable", "post", "/v1/partners/assignables:batchGet", null, 1], ["getPartnerByToken", "get", "/v1/partner-directory/public/getPartnerByToken", [["token", "q", true]]], ["activatePartner", "post", "/v1/partner-directory/public/activate", [["token", "q", true]], 1], ["searchGeolocationForText", "post", "/v1/geolocation/text:search", null, 1], ["invitePartnerV2", "post", "/v2/partners/{id}/invite", [["id", "p", true]], 1], ["getPartnerUsers", "get", "/v2/partners/{orgId}/users", [["orgId", "p", true]]], ["createPartnerUser", "post", "/v2/partners/{orgId}/users", [["orgId", "p", true]], 1], ["deletePartnerUser", "delete", "/v2/partners/{orgId}/users/{userId}", [["orgId", "p", true], ["userId", "p", true]]], ["getPartnerRoles", "get", "/v2/partners/{orgId}/roles", [["orgId", "p", true]]], ["createPartnerRole", "post", "/v2/partners/{orgId}/roles", [["orgId", "p", true]], 1], ["updatePartnerRole", "put", "/v2/partners/{orgId}/roles/{roleId}", [["orgId", "p", true], ["roleId", "p", true]], 1], ["assignPartnerUserRoles", "post", "/v2/partners/{orgId}/users/{userId}/roles", [["orgId", "p", true], ["userId", "p", true]], 1], ["unassignPartnerUserRoles", "delete", "/v2/partners/{orgId}/users/{userId}/roles", [["orgId", "p", true], ["userId", "p", true]], 1]], v: "3.0.3" };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
} from "../chunk-ULBEEHG4.js";
|
|
10
|
+
import "../chunk-YPSWSI3M.js";
|
|
15
11
|
|
|
16
12
|
// src/apis/partner-directory.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
@@ -28,7 +24,8 @@ var resolve = () => {
|
|
|
28
24
|
};
|
|
29
25
|
var _handle = createApiHandle({
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () => createApiClient({ definition: loadDefinition() })
|
|
27
|
+
createClient: () => createApiClient({ definition: loadDefinition() }),
|
|
28
|
+
apiName: "partnerDirectory"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
|
@@ -1,34 +1,31 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
+
var _chunkBH5ZXK4Jcjs = require('../chunk-BH5ZXK4J.cjs');
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"src/definitions/permissions-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://permissions.sls.epilot.io", o: [["listCurrentRoles", "get", "/v1/permissions/me"], ["listAllRoles", "get", "/v1/permissions/roles"], ["createRole", "post", "/v1/permissions/roles", null, 1], ["searchRoles", "post", "/v1/permissions/roles:search", null, 1], ["getRole", "get", "/v1/permissions/roles/{roleId}", [["roleId", "p", true]]], ["putRole", "put", "/v1/permissions/roles/{roleId}", [["roleId", "p", true]], 1], ["deleteRole", "delete", "/v1/permissions/roles/{roleId}", [["roleId", "p", true]]], ["refreshPermissions", "get", "/v1/permissions/refresh"], ["getAssignedRolesForUser", "get", "/v1/permissions/assignments/{userId}", [["userId", "p", true]]], ["assignRoles", "put", "/v1/permissions/assignments/{userId}", [["userId", "p", true]], 1], ["addAssignment", "post", "/v1/permissions/assignments/{userId}/{roleId}", [["userId", "p", true], ["roleId", "p", true]]], ["removeAssignment", "delete", "/v1/permissions/assignments/{userId}/{roleId}", [["userId", "p", true], ["roleId", "p", true]]], ["listAllAssignments", "get", "/v1/permissions/assignments"]], v: "3.0.3" };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
var _chunk3XEP56SVcjs = require('../chunk-3XEP56SV.cjs');
|
|
10
|
+
require('../chunk-NJK5F5TF.cjs');
|
|
15
11
|
|
|
16
12
|
// src/apis/permissions.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
18
|
-
const mod = require_permissions_runtime();
|
|
19
|
-
return
|
|
14
|
+
const mod = _chunkBH5ZXK4Jcjs.require_permissions_runtime.call(void 0, );
|
|
15
|
+
return _chunk3XEP56SVcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
16
|
};
|
|
21
17
|
var _instance = null;
|
|
22
18
|
var resolve = () => {
|
|
23
19
|
if (!_instance) {
|
|
24
20
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
21
|
+
_instance = _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: def });
|
|
26
22
|
}
|
|
27
23
|
return _instance;
|
|
28
24
|
};
|
|
29
|
-
var _handle =
|
|
25
|
+
var _handle = _chunk3XEP56SVcjs.createApiHandle.call(void 0, {
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: loadDefinition() }),
|
|
28
|
+
apiName: "permissions"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +35,4 @@ var permissions = _handle;
|
|
|
38
35
|
|
|
39
36
|
|
|
40
37
|
|
|
41
|
-
exports.authorize =
|
|
38
|
+
exports.authorize = _chunk3XEP56SVcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.permissions = permissions;
|
package/dist/apis/permissions.js
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
require_permissions_runtime
|
|
3
|
+
} from "../chunk-TRJLYZHD.js";
|
|
4
|
+
import {
|
|
3
5
|
authorize,
|
|
4
6
|
createApiClient,
|
|
5
7
|
createApiHandle,
|
|
6
8
|
expand
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
|
|
9
|
-
// src/definitions/permissions-runtime.json
|
|
10
|
-
var require_permissions_runtime = __commonJS({
|
|
11
|
-
"src/definitions/permissions-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://permissions.sls.epilot.io", o: [["listCurrentRoles", "get", "/v1/permissions/me"], ["listAllRoles", "get", "/v1/permissions/roles"], ["createRole", "post", "/v1/permissions/roles", null, 1], ["searchRoles", "post", "/v1/permissions/roles:search", null, 1], ["getRole", "get", "/v1/permissions/roles/{roleId}", [["roleId", "p", true]]], ["putRole", "put", "/v1/permissions/roles/{roleId}", [["roleId", "p", true]], 1], ["deleteRole", "delete", "/v1/permissions/roles/{roleId}", [["roleId", "p", true]]], ["refreshPermissions", "get", "/v1/permissions/refresh"], ["getAssignedRolesForUser", "get", "/v1/permissions/assignments/{userId}", [["userId", "p", true]]], ["assignRoles", "put", "/v1/permissions/assignments/{userId}", [["userId", "p", true]], 1], ["addAssignment", "post", "/v1/permissions/assignments/{userId}/{roleId}", [["userId", "p", true], ["roleId", "p", true]]], ["removeAssignment", "delete", "/v1/permissions/assignments/{userId}/{roleId}", [["userId", "p", true], ["roleId", "p", true]]], ["listAllAssignments", "get", "/v1/permissions/assignments"]], v: "3.0.3" };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
} from "../chunk-ULBEEHG4.js";
|
|
10
|
+
import "../chunk-YPSWSI3M.js";
|
|
15
11
|
|
|
16
12
|
// src/apis/permissions.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
@@ -28,7 +24,8 @@ var resolve = () => {
|
|
|
28
24
|
};
|
|
29
25
|
var _handle = createApiHandle({
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () => createApiClient({ definition: loadDefinition() })
|
|
27
|
+
createClient: () => createApiClient({ definition: loadDefinition() }),
|
|
28
|
+
apiName: "permissions"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
|
@@ -1,34 +1,31 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
+
var _chunkRD7E4OSJcjs = require('../chunk-RD7E4OSJ.cjs');
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"src/definitions/pricing-tier-runtime.json"(exports, module) {
|
|
12
|
-
module.exports = { s: "https://pricing-tier.sls.epilot.io", o: [["getCurrentPricingTier", "get", "/v2/pricing-tiers/me"]], v: "3.0.3" };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
9
|
+
var _chunk3XEP56SVcjs = require('../chunk-3XEP56SV.cjs');
|
|
10
|
+
require('../chunk-NJK5F5TF.cjs');
|
|
15
11
|
|
|
16
12
|
// src/apis/pricing-tier.ts
|
|
17
13
|
var loadDefinition = () => {
|
|
18
|
-
const mod = require_pricing_tier_runtime();
|
|
19
|
-
return
|
|
14
|
+
const mod = _chunkRD7E4OSJcjs.require_pricing_tier_runtime.call(void 0, );
|
|
15
|
+
return _chunk3XEP56SVcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
16
|
};
|
|
21
17
|
var _instance = null;
|
|
22
18
|
var resolve = () => {
|
|
23
19
|
if (!_instance) {
|
|
24
20
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
21
|
+
_instance = _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: def });
|
|
26
22
|
}
|
|
27
23
|
return _instance;
|
|
28
24
|
};
|
|
29
|
-
var _handle =
|
|
25
|
+
var _handle = _chunk3XEP56SVcjs.createApiHandle.call(void 0, {
|
|
30
26
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunk3XEP56SVcjs.createApiClient.call(void 0, { definition: loadDefinition() }),
|
|
28
|
+
apiName: "pricingTier"
|
|
32
29
|
});
|
|
33
30
|
var getClient = _handle.getClient;
|
|
34
31
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +35,4 @@ var pricingTier = _handle;
|
|
|
38
35
|
|
|
39
36
|
|
|
40
37
|
|
|
41
|
-
exports.authorize =
|
|
38
|
+
exports.authorize = _chunk3XEP56SVcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.pricingTier = pricingTier;
|