@epilot/sdk 2.4.4 → 2.5.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 +137 -58
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +496 -24
- package/definitions/entity.json +185 -8
- package/definitions/webhooks-runtime.json +1 -1
- package/definitions/webhooks.json +134 -4
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +8 -8
- package/dist/apis/app.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- package/dist/apis/app.js +2 -2
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.d.cts +2 -2
- package/dist/apis/notes.d.ts +2 -2
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +8 -8
- package/dist/apis/webhooks.d.cts +2 -2
- package/dist/apis/webhooks.d.ts +2 -2
- package/dist/apis/webhooks.js +2 -2
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/app-34OBBTA4.js +7 -0
- package/dist/app-SSF545U7.cjs +7 -0
- package/dist/app-runtime-AFNM67YN.cjs +5 -0
- package/dist/{app-runtime-U7RGV7KT.js → app-runtime-DBUXZL6E.js} +1 -1
- package/dist/{app.d-u7Dq42kU.d.cts → app.d--5n0FQQ4.d.cts} +377 -11
- package/dist/{app.d-u7Dq42kU.d.ts → app.d--5n0FQQ4.d.ts} +377 -11
- package/dist/bin/cli.js +1 -1
- package/dist/chunk-5OBMZHRL.cjs +14 -0
- package/dist/{chunk-CD4OX2U6.cjs → chunk-C7GDYBXX.cjs} +9 -9
- package/dist/{chunk-L66IX6GX.cjs → chunk-KMVJYNLB.cjs} +1 -1
- package/dist/chunk-KYCVV2XE.cjs +14 -0
- package/dist/chunk-RGO3LTAM.js +14 -0
- package/dist/{chunk-TSV242UN.js → chunk-WRD2XFHY.js} +9 -9
- package/dist/{chunk-LLZYRINH.js → chunk-Z4H2FZ2K.js} +1 -1
- package/dist/chunk-Z6HGUGXK.js +14 -0
- package/dist/customer-portal-5I7ZGQDU.cjs +7 -0
- package/dist/customer-portal-YL2YMPZL.js +7 -0
- package/dist/{customer-portal-runtime-PSM55KGU.js → customer-portal-runtime-N4NWQ67M.js} +1 -1
- package/dist/{customer-portal-runtime-DULJLR7F.cjs → customer-portal-runtime-OEXTSMSE.cjs} +2 -2
- package/dist/{customer-portal.d-DyZ2n2dW.d.cts → customer-portal.d-ChSEioI5.d.cts} +394 -9
- package/dist/{customer-portal.d-DyZ2n2dW.d.ts → customer-portal.d-ChSEioI5.d.ts} +394 -9
- package/dist/entity-SS36LQO6.cjs +7 -0
- package/dist/entity-Z4YWKDVG.js +7 -0
- package/dist/{entity.d-BHR9dEon.d.cts → entity.d-fospShiN.d.cts} +234 -169
- package/dist/{entity.d-BHR9dEon.d.ts → entity.d-fospShiN.d.ts} +234 -169
- package/dist/index.cjs +14 -14
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -4
- package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
- package/dist/notes-K2IIFCX3.cjs +7 -0
- package/dist/notes-Q7JGS7O3.js +7 -0
- package/dist/{notes.d-BC-scR42.d.ts → notes.d-BcV_m5fe.d.cts} +33 -11
- package/dist/{notes.d-BC-scR42.d.cts → notes.d-BcV_m5fe.d.ts} +33 -11
- package/dist/{pricing-XAET4G7T.cjs → pricing-FODHQFCB.cjs} +1 -1
- package/dist/{pricing-G67CH3XH.js → pricing-XRIDVZFC.js} +1 -1
- package/dist/webhooks-NZ3TM3AY.cjs +7 -0
- package/dist/webhooks-XLBUXXCS.js +7 -0
- package/dist/{webhooks-runtime-EBM4M3SU.cjs → webhooks-runtime-QVAFNBDW.cjs} +2 -2
- package/dist/{webhooks-runtime-XCQYIGQK.js → webhooks-runtime-UYTPQQVG.js} +1 -1
- package/dist/{webhooks.d-pLHIL_io.d.cts → webhooks.d-D79qib9f.d.cts} +115 -5
- package/dist/{webhooks.d-pLHIL_io.d.ts → webhooks.d-D79qib9f.d.ts} +115 -5
- package/docs/app.md +244 -9
- package/docs/customer-portal.md +340 -113
- package/docs/entity.md +65 -0
- package/docs/notes.md +19 -12
- package/docs/pricing.md +3 -1
- package/docs/webhooks.md +49 -0
- package/package.json +1 -1
- package/dist/app-5KSVSKDU.js +0 -7
- package/dist/app-PL3IOROO.cjs +0 -7
- package/dist/app-runtime-SSNHSBR7.cjs +0 -5
- package/dist/chunk-2MMSXUOL.cjs +0 -14
- package/dist/chunk-A7AAVJGM.js +0 -14
- package/dist/chunk-GVNT76UU.js +0 -14
- package/dist/chunk-HHMXS5NC.cjs +0 -14
- package/dist/customer-portal-5LMHNBMD.cjs +0 -7
- package/dist/customer-portal-RZACUF4N.js +0 -7
- package/dist/entity-H6ESUH3Y.js +0 -7
- package/dist/entity-ZVDKWQSF.cjs +0 -7
- package/dist/notes-3AO5GXIT.js +0 -7
- package/dist/notes-MPWOQC5J.cjs +0 -7
- package/dist/webhooks-H3RT33BF.cjs +0 -7
- package/dist/webhooks-RTOU3MS5.js +0 -7
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkJIUTCNTBcjs = require('./chunk-JIUTCNTB.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkKYCVV2XEcjs = require('./chunk-KYCVV2XE.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkCYS6QBW6cjs = require('./chunk-CYS6QBW6.cjs');
|
|
@@ -120,7 +120,7 @@ var _chunkZSONBZIFcjs = require('./chunk-ZSONBZIF.cjs');
|
|
|
120
120
|
var _chunkBM6NCHPLcjs = require('./chunk-BM6NCHPL.cjs');
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
var
|
|
123
|
+
var _chunk5OBMZHRLcjs = require('./chunk-5OBMZHRL.cjs');
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
var _chunkM2UDF7PYcjs = require('./chunk-M2UDF7PY.cjs');
|
|
@@ -141,7 +141,7 @@ var _chunkT67ZXTVGcjs = require('./chunk-T67ZXTVG.cjs');
|
|
|
141
141
|
var _chunkFARDEGPHcjs = require('./chunk-FARDEGPH.cjs');
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
var
|
|
144
|
+
var _chunkKMVJYNLBcjs = require('./chunk-KMVJYNLB.cjs');
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
var _chunkRUZRPIHWcjs = require('./chunk-RUZRPIHW.cjs');
|
|
@@ -155,7 +155,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
|
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
var
|
|
158
|
+
var _chunkC7GDYBXXcjs = require('./chunk-C7GDYBXX.cjs');
|
|
159
159
|
|
|
160
160
|
|
|
161
161
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -222,7 +222,7 @@ var resolveClient = (params) => {
|
|
|
222
222
|
}
|
|
223
223
|
if (!entry.instance) {
|
|
224
224
|
const definition = entry.loader();
|
|
225
|
-
entry.instance =
|
|
225
|
+
entry.instance = _chunkC7GDYBXXcjs.createApiClient.call(void 0, {
|
|
226
226
|
definition,
|
|
227
227
|
token: state.token,
|
|
228
228
|
headers: state.globalHeaders,
|
|
@@ -255,7 +255,7 @@ var resetAllClients = (registry) => {
|
|
|
255
255
|
};
|
|
256
256
|
|
|
257
257
|
// src/apis/_registry.ts
|
|
258
|
-
var expandDef = (mod) =>
|
|
258
|
+
var expandDef = (mod) => _chunkC7GDYBXXcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
259
259
|
var registerBuiltinApis = (registry) => {
|
|
260
260
|
registerApi({
|
|
261
261
|
registry,
|
|
@@ -280,7 +280,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
280
280
|
registerApi({
|
|
281
281
|
registry,
|
|
282
282
|
name: "app",
|
|
283
|
-
loader: () => expandDef(
|
|
283
|
+
loader: () => expandDef(_chunkKMVJYNLBcjs.require_app_runtime.call(void 0, ))
|
|
284
284
|
});
|
|
285
285
|
registerApi({
|
|
286
286
|
registry,
|
|
@@ -320,7 +320,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
320
320
|
registerApi({
|
|
321
321
|
registry,
|
|
322
322
|
name: "customerPortal",
|
|
323
|
-
loader: () => expandDef(
|
|
323
|
+
loader: () => expandDef(_chunk5OBMZHRLcjs.require_customer_portal_runtime.call(void 0, ))
|
|
324
324
|
});
|
|
325
325
|
registerApi({
|
|
326
326
|
registry,
|
|
@@ -495,7 +495,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
495
495
|
registerApi({
|
|
496
496
|
registry,
|
|
497
497
|
name: "webhooks",
|
|
498
|
-
loader: () => expandDef(
|
|
498
|
+
loader: () => expandDef(_chunkKYCVV2XEcjs.require_webhooks_runtime.call(void 0, ))
|
|
499
499
|
});
|
|
500
500
|
registerApi({
|
|
501
501
|
registry,
|
|
@@ -593,9 +593,9 @@ var createSDK = () => {
|
|
|
593
593
|
const available = [...registry.keys()].join(", ");
|
|
594
594
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
595
595
|
}
|
|
596
|
-
return
|
|
596
|
+
return _chunkC7GDYBXXcjs.createApiHandle.call(void 0, {
|
|
597
597
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
598
|
-
createClient: () =>
|
|
598
|
+
createClient: () => _chunkC7GDYBXXcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
599
599
|
apiName: name
|
|
600
600
|
});
|
|
601
601
|
};
|
|
@@ -643,9 +643,9 @@ var createSDK = () => {
|
|
|
643
643
|
return interceptorUse;
|
|
644
644
|
}
|
|
645
645
|
case "help":
|
|
646
|
-
return (apiName) =>
|
|
646
|
+
return (apiName) => _chunkC7GDYBXXcjs.help.call(void 0, apiName);
|
|
647
647
|
case "openapi":
|
|
648
|
-
return (apiName) =>
|
|
648
|
+
return (apiName) => _chunkC7GDYBXXcjs.openapi.call(void 0, apiName);
|
|
649
649
|
case "then":
|
|
650
650
|
case "catch":
|
|
651
651
|
case "finally":
|
|
@@ -675,4 +675,4 @@ var epilot = createSDK();
|
|
|
675
675
|
|
|
676
676
|
|
|
677
677
|
|
|
678
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
678
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkC7GDYBXXcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkC7GDYBXXcjs.help; exports.openapi = _chunkC7GDYBXXcjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -7,7 +7,7 @@ import { C as Client } from './access-token.d-CnmUTOlq.cjs';
|
|
|
7
7
|
import { C as Client$1 } from './address.d-CwAPOVxa.cjs';
|
|
8
8
|
import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-OkXfr2bz.cjs';
|
|
10
|
-
import { C as Client$4 } from './app.d
|
|
10
|
+
import { C as Client$4 } from './app.d--5n0FQQ4.cjs';
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
|
|
12
12
|
import { C as Client$6 } from './automation.d-Du6-uiz5.cjs';
|
|
13
13
|
import { C as Client$7 } from './billing.d-Bs8Ku9qE.cjs';
|
|
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-BPyzoR0X.cjs';
|
|
|
15
15
|
import { C as Client$9 } from './calendar.d-BEjLDagH.cjs';
|
|
16
16
|
import { C as Client$a } from './configuration-hub.d-Cqaq2F-W.cjs';
|
|
17
17
|
import { C as Client$b } from './consent.d-C2PROHhX.cjs';
|
|
18
|
-
import { C as Client$c } from './customer-portal.d-
|
|
18
|
+
import { C as Client$c } from './customer-portal.d-ChSEioI5.cjs';
|
|
19
19
|
import { C as Client$d } from './dashboard.d-CsGcA74I.cjs';
|
|
20
20
|
import { C as Client$e } from './data-governance.d-BbZ466j5.cjs';
|
|
21
21
|
import { C as Client$f } from './deduplication.d-D5GYddVu.cjs';
|
|
@@ -23,7 +23,7 @@ import { C as Client$g } from './design.d-BRre8iLg.cjs';
|
|
|
23
23
|
import { C as Client$h } from './document.d-DN37pjdx.cjs';
|
|
24
24
|
import { C as Client$i } from './email-settings.d-B7Q_xT25.cjs';
|
|
25
25
|
import { C as Client$j } from './email-template.d-gtQkdaXM.cjs';
|
|
26
|
-
import { C as Client$k } from './entity.d-
|
|
26
|
+
import { C as Client$k } from './entity.d-fospShiN.cjs';
|
|
27
27
|
import { C as Client$l } from './entity-mapping.d-DKSW3sfy.cjs';
|
|
28
28
|
import { C as Client$m } from './environments.d-BvqvN-PD.cjs';
|
|
29
29
|
import { C as Client$n } from './event-catalog.d-ENw6HO-w.cjs';
|
|
@@ -34,7 +34,7 @@ import { C as Client$r } from './journey.d-ClXO0xK8.cjs';
|
|
|
34
34
|
import { C as Client$s } from './kanban.d-BHnSRCYW.cjs';
|
|
35
35
|
import { C as Client$t } from './message.d-B5UuSqgw.cjs';
|
|
36
36
|
import { C as Client$u } from './metering.d-DvtPv7wk.cjs';
|
|
37
|
-
import { C as Client$v } from './notes.d-
|
|
37
|
+
import { C as Client$v } from './notes.d-BcV_m5fe.cjs';
|
|
38
38
|
import { C as Client$w } from './notification.d-BfBL3lga.cjs';
|
|
39
39
|
import { C as Client$x } from './organization.d-DqwnNxMg.cjs';
|
|
40
40
|
import { C as Client$y } from './partner-directory.d-BCIjHoGs.cjs';
|
|
@@ -50,7 +50,7 @@ import { C as Client$H } from './targeting.d-BNmcVsNS.cjs';
|
|
|
50
50
|
import { C as Client$I } from './template-variables.d-Ble9TSBa.cjs';
|
|
51
51
|
import { C as Client$J } from './user.d-D18fe97W.cjs';
|
|
52
52
|
import { C as Client$K } from './validation-rules.d-Db5c5zTf.cjs';
|
|
53
|
-
import { C as Client$L } from './webhooks.d-
|
|
53
|
+
import { C as Client$L } from './webhooks.d-D79qib9f.cjs';
|
|
54
54
|
import { C as Client$M } from './workflow.d-CMSKt8oN.cjs';
|
|
55
55
|
import { C as Client$N } from './workflow-definition.d-DOeb0KVV.cjs';
|
|
56
56
|
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { C as Client } from './access-token.d-CnmUTOlq.js';
|
|
|
7
7
|
import { C as Client$1 } from './address.d-CwAPOVxa.js';
|
|
8
8
|
import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-OkXfr2bz.js';
|
|
10
|
-
import { C as Client$4 } from './app.d
|
|
10
|
+
import { C as Client$4 } from './app.d--5n0FQQ4.js';
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
|
|
12
12
|
import { C as Client$6 } from './automation.d-Du6-uiz5.js';
|
|
13
13
|
import { C as Client$7 } from './billing.d-Bs8Ku9qE.js';
|
|
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-BPyzoR0X.js';
|
|
|
15
15
|
import { C as Client$9 } from './calendar.d-BEjLDagH.js';
|
|
16
16
|
import { C as Client$a } from './configuration-hub.d-Cqaq2F-W.js';
|
|
17
17
|
import { C as Client$b } from './consent.d-C2PROHhX.js';
|
|
18
|
-
import { C as Client$c } from './customer-portal.d-
|
|
18
|
+
import { C as Client$c } from './customer-portal.d-ChSEioI5.js';
|
|
19
19
|
import { C as Client$d } from './dashboard.d-CsGcA74I.js';
|
|
20
20
|
import { C as Client$e } from './data-governance.d-BbZ466j5.js';
|
|
21
21
|
import { C as Client$f } from './deduplication.d-D5GYddVu.js';
|
|
@@ -23,7 +23,7 @@ import { C as Client$g } from './design.d-BRre8iLg.js';
|
|
|
23
23
|
import { C as Client$h } from './document.d-DN37pjdx.js';
|
|
24
24
|
import { C as Client$i } from './email-settings.d-B7Q_xT25.js';
|
|
25
25
|
import { C as Client$j } from './email-template.d-gtQkdaXM.js';
|
|
26
|
-
import { C as Client$k } from './entity.d-
|
|
26
|
+
import { C as Client$k } from './entity.d-fospShiN.js';
|
|
27
27
|
import { C as Client$l } from './entity-mapping.d-DKSW3sfy.js';
|
|
28
28
|
import { C as Client$m } from './environments.d-BvqvN-PD.js';
|
|
29
29
|
import { C as Client$n } from './event-catalog.d-ENw6HO-w.js';
|
|
@@ -34,7 +34,7 @@ import { C as Client$r } from './journey.d-ClXO0xK8.js';
|
|
|
34
34
|
import { C as Client$s } from './kanban.d-BHnSRCYW.js';
|
|
35
35
|
import { C as Client$t } from './message.d-B5UuSqgw.js';
|
|
36
36
|
import { C as Client$u } from './metering.d-DvtPv7wk.js';
|
|
37
|
-
import { C as Client$v } from './notes.d-
|
|
37
|
+
import { C as Client$v } from './notes.d-BcV_m5fe.js';
|
|
38
38
|
import { C as Client$w } from './notification.d-BfBL3lga.js';
|
|
39
39
|
import { C as Client$x } from './organization.d-DqwnNxMg.js';
|
|
40
40
|
import { C as Client$y } from './partner-directory.d-BCIjHoGs.js';
|
|
@@ -50,7 +50,7 @@ import { C as Client$H } from './targeting.d-BNmcVsNS.js';
|
|
|
50
50
|
import { C as Client$I } from './template-variables.d-Ble9TSBa.js';
|
|
51
51
|
import { C as Client$J } from './user.d-D18fe97W.js';
|
|
52
52
|
import { C as Client$K } from './validation-rules.d-Db5c5zTf.js';
|
|
53
|
-
import { C as Client$L } from './webhooks.d-
|
|
53
|
+
import { C as Client$L } from './webhooks.d-D79qib9f.js';
|
|
54
54
|
import { C as Client$M } from './workflow.d-CMSKt8oN.js';
|
|
55
55
|
import { C as Client$N } from './workflow-definition.d-DOeb0KVV.js';
|
|
56
56
|
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7IKQIVUS.js";
|
|
4
4
|
import {
|
|
5
5
|
require_webhooks_runtime
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RGO3LTAM.js";
|
|
7
7
|
import {
|
|
8
8
|
require_workflow_definition_runtime
|
|
9
9
|
} from "./chunk-43GJY2EB.js";
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
} from "./chunk-2BPBDRRO.js";
|
|
121
121
|
import {
|
|
122
122
|
require_customer_portal_runtime
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-Z6HGUGXK.js";
|
|
124
124
|
import {
|
|
125
125
|
require_dashboard_runtime
|
|
126
126
|
} from "./chunk-SZMCMLOQ.js";
|
|
@@ -141,7 +141,7 @@ import {
|
|
|
141
141
|
} from "./chunk-JENQHXFI.js";
|
|
142
142
|
import {
|
|
143
143
|
require_app_runtime
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-Z4H2FZ2K.js";
|
|
145
145
|
import {
|
|
146
146
|
require_audit_logs_runtime
|
|
147
147
|
} from "./chunk-RELUU5QZ.js";
|
|
@@ -155,7 +155,7 @@ import {
|
|
|
155
155
|
expand,
|
|
156
156
|
help,
|
|
157
157
|
openapi
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-WRD2XFHY.js";
|
|
159
159
|
import {
|
|
160
160
|
__require
|
|
161
161
|
} from "./chunk-YPSWSI3M.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
// ../../node_modules/js-yaml/dist/js-yaml.mjs
|
|
3
|
+
// ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/dist/js-yaml.mjs
|
|
4
4
|
function isNothing(subject) {
|
|
5
5
|
return typeof subject === "undefined" || subject === null;
|
|
6
6
|
}
|
|
@@ -864,6 +864,18 @@ function charFromCodepoint(c) {
|
|
|
864
864
|
(c - 65536 & 1023) + 56320
|
|
865
865
|
);
|
|
866
866
|
}
|
|
867
|
+
function setProperty(object, key, value) {
|
|
868
|
+
if (key === "__proto__") {
|
|
869
|
+
Object.defineProperty(object, key, {
|
|
870
|
+
configurable: true,
|
|
871
|
+
enumerable: true,
|
|
872
|
+
writable: true,
|
|
873
|
+
value
|
|
874
|
+
});
|
|
875
|
+
} else {
|
|
876
|
+
object[key] = value;
|
|
877
|
+
}
|
|
878
|
+
}
|
|
867
879
|
var simpleEscapeCheck = new Array(256);
|
|
868
880
|
var simpleEscapeMap = new Array(256);
|
|
869
881
|
for (i = 0; i < 256; i++) {
|
|
@@ -983,7 +995,7 @@ function mergeMappings(state, destination, source, overridableKeys) {
|
|
|
983
995
|
for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
|
|
984
996
|
key = sourceKeys[index];
|
|
985
997
|
if (!_hasOwnProperty$1.call(destination, key)) {
|
|
986
|
-
destination
|
|
998
|
+
setProperty(destination, key, source[key]);
|
|
987
999
|
overridableKeys[key] = true;
|
|
988
1000
|
}
|
|
989
1001
|
}
|
|
@@ -1023,16 +1035,7 @@ function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valu
|
|
|
1023
1035
|
state.position = startPos || state.position;
|
|
1024
1036
|
throwError(state, "duplicated mapping key");
|
|
1025
1037
|
}
|
|
1026
|
-
|
|
1027
|
-
Object.defineProperty(_result, keyNode, {
|
|
1028
|
-
configurable: true,
|
|
1029
|
-
enumerable: true,
|
|
1030
|
-
writable: true,
|
|
1031
|
-
value: valueNode
|
|
1032
|
-
});
|
|
1033
|
-
} else {
|
|
1034
|
-
_result[keyNode] = valueNode;
|
|
1035
|
-
}
|
|
1038
|
+
setProperty(_result, keyNode, valueNode);
|
|
1036
1039
|
delete overridableKeys[keyNode];
|
|
1037
1040
|
}
|
|
1038
1041
|
return _result;
|
|
@@ -2620,7 +2623,6 @@ var jsYaml = {
|
|
|
2620
2623
|
safeLoadAll,
|
|
2621
2624
|
safeDump
|
|
2622
2625
|
};
|
|
2623
|
-
var js_yaml_default = jsYaml;
|
|
2624
2626
|
export {
|
|
2625
2627
|
CORE_SCHEMA,
|
|
2626
2628
|
DEFAULT_SCHEMA,
|
|
@@ -2629,7 +2631,7 @@ export {
|
|
|
2629
2631
|
Schema,
|
|
2630
2632
|
Type,
|
|
2631
2633
|
YAMLException,
|
|
2632
|
-
|
|
2634
|
+
jsYaml as default,
|
|
2633
2635
|
dump,
|
|
2634
2636
|
load,
|
|
2635
2637
|
loadAll,
|
|
@@ -2641,5 +2643,5 @@ export {
|
|
|
2641
2643
|
/*! Bundled license information:
|
|
2642
2644
|
|
|
2643
2645
|
js-yaml/dist/js-yaml.mjs:
|
|
2644
|
-
(*! js-yaml 4.1.
|
|
2646
|
+
(*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
|
|
2645
2647
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
|
|
2
|
+
|
|
3
|
+
// src/docs/notes.json
|
|
4
|
+
var notes_default = '# Notes API\n\n- **Base URL:** `https://notes.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/notes](https://docs.epilot.io/api/notes)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.notes.createNote(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/notes\'\n\nconst notesClient = getClient()\nauthorize(notesClient, () => \'<token>\')\nconst { data } = await notesClient.createNote(...)\n```\n\n## Operations\n\n**Notes**\n- [`createNote`](#createnote)\n- [`getNote`](#getnote)\n- [`patchNote`](#patchnote)\n- [`updateNote`](#updatenote)\n- [`deleteNote`](#deletenote)\n- [`searchNotesByContext`](#searchnotesbycontext)\n- [`getNoteContexts`](#getnotecontexts)\n\n**Pinning**\n- [`pinNote`](#pinnote)\n\n**Reactions**\n- [`addNoteReaction`](#addnotereaction)\n- [`removeNoteReaction`](#removenotereaction)\n- [`toggleNoteReactions`](#togglenotereactions)\n\n**Schemas**\n- [`NotePostRequestBody`](#notepostrequestbody)\n- [`ContextType`](#contexttype)\n- [`NoteEntity`](#noteentity)\n- [`Entity`](#entity)\n- [`CreatedByType`](#createdbytype)\n- [`NoteGetRequestResponse`](#notegetrequestresponse)\n- [`NotePatchRequestBody`](#notepatchrequestbody)\n- [`NonHydratedNoteEntity`](#nonhydratednoteentity)\n- [`NoteEntityParent`](#noteentityparent)\n- [`NotePutRequestBody`](#noteputrequestbody)\n- [`NoteSearchByContextRequestBody`](#notesearchbycontextrequestbody)\n- [`NotesSearchRequestResponse`](#notessearchrequestresponse)\n- [`NoteContexts`](#notecontexts)\n- [`WorkflowExecution`](#workflowexecution)\n- [`ReactionRequest`](#reactionrequest)\n- [`ToggleReactionsRequest`](#togglereactionsrequest)\n\n### `createNote`\n\nCreates a new Note entry\n\n`POST /v1/note`\n\n```ts\nconst { data } = await client.createNote(\n null,\n {\n _tags: [\'string\'],\n type: \'string\',\n entity_id: \'string\',\n parent_id: \'string\',\n contexts: [\n {\n type: \'workflow_execution\',\n id: \'string\'\n }\n ],\n additional_contexts: [\n {\n type: \'workflow_execution\',\n id: \'string\'\n }\n ],\n content: \'string\',\n attachments: [\'string\'],\n read_by: [\'string\']\n },\n)\n```\n\n---\n\n### `getNote`\n\nRetrieves a single Note entry based on it\'s Entity ID\n\n`GET /v1/note/{id}`\n\n```ts\nconst { data } = await client.getNote({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n hydrate: true,\n})\n```\n\n---\n\n### `patchNote`\n\nUpdates an existing Note entry\n\n`PATCH /v1/note/{id}`\n\n```ts\nconst { data } = await client.patchNote({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n---\n\n### `updateNote`\n\nUpdates an existing Note entry\n\n`PUT /v1/note/{id}`\n\n```ts\nconst { data } = await client.updateNote(\n {\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n },\n {\n _id: \'string\',\n _org: \'string\',\n _schema: \'string\',\n _created_at: \'1970-01-01T00:00:00.000Z\',\n _updated_at: \'1970-01-01T00:00:00.000Z\',\n _created_by: \'string\',\n _tags: [\'string\'],\n _acl: {},\n _owners: [\n {\n org_id: \'string\',\n user_id: \'string\'\n }\n ],\n type: \'string\',\n context_entities: {\n $relation: [\n {\n entity_id: \'string\'\n }\n ]\n },\n parent: {\n $relation: [\n {\n entity_id: \'string\'\n }\n ]\n },\n attachments: {\n $relation: [\n {\n entity_id: \'string\'\n }\n ]\n },\n content: \'string\',\n contexts: [\n {\n type: \'workflow_execution\',\n id: \'string\'\n }\n ],\n pinned_at: \'1970-01-01T00:00:00.000Z\',\n edited_at: \'1970-01-01T00:00:00.000Z\',\n created_by: [\n {\n type: \'user\',\n user_id: \'string\',\n display_name: \'string\',\n org_id: \'string\',\n email: \'string\',\n phone: \'string\'\n }\n ],\n read_by: [\'string\'],\n reactions: {}\n },\n)\n```\n\n---\n\n### `deleteNote`\n\nDeletes a single Note entry based on it\'s Entity ID\n\n`DELETE /v1/note/{id}`\n\n```ts\nconst { data } = await client.deleteNote({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n---\n\n### `searchNotesByContext`\n\nSearch for a paginated list of Notes based on one or more contexts\n\n`POST /v1/notes:search`\n\n```ts\nconst { data } = await client.searchNotesByContext(\n null,\n {\n contexts: [\n {\n type: \'workflow_execution\',\n id: \'string\'\n }\n ],\n include_related_schemas: [\'string\'],\n from: 0,\n size: 10\n },\n)\n```\n\n---\n\n### `pinNote`\n\nPins a single Note entry based on it\'s Entity ID\n\n`POST /v1/note/{id}/pin`\n\n```ts\nconst { data } = await client.pinNote({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n---\n\n### `getNoteContexts`\n\nGets all the Entity and non-Entity records the Note is contextually attached to\n\n`GET /v1/note/{id}/context`\n\n```ts\nconst { data } = await client.getNoteContexts({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n[\n {\n "type": "workflow_execution",\n "context": {\n "_id": "string",\n "_org": "string",\n "_schema": "string",\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z",\n "_created_by": "string",\n "_tags": ["string"],\n "_acl": {},\n "_owners": [\n {\n "org_id": "string",\n "user_id": "string"\n }\n ],\n "type": "string"\n }\n }\n]\n```\n\n</details>\n\n---\n\n### `addNoteReaction`\n\nAdds an emoji reaction to a note\n\n`POST /v1/note/{id}/reaction`\n\n```ts\nconst { data } = await client.addNoteReaction(\n {\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n },\n {\n emoji: \'thumbs-up\'\n },\n)\n```\n\n---\n\n### `removeNoteReaction`\n\nRemoves an emoji reaction from a note\n\n`DELETE /v1/note/{id}/reaction/{emoji_shortcode}`\n\n```ts\nconst { data } = await client.removeNoteReaction({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n emoji_shortcode: \'example\',\n})\n```\n\n---\n\n### `toggleNoteReactions`\n\nToggles multiple emoji reactions on a note. If a user has already reacted with an emoji, it removes the reaction. If a user hasn\'t reacted with an emoji, it adds the reaction.\n\n`POST /v1/note/{id}/reactions/toggle`\n\n```ts\nconst { data } = await client.toggleNoteReactions(\n {\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n },\n {\n emojis: [\'thumbs-up\', \'heart\']\n },\n)\n```\n\n---\n\n## Schemas\n\n### `NotePostRequestBody`\n\n```ts\ntype NotePostRequestBody = {\n _tags?: string[]\n type?: string\n entity_id?: string\n parent_id?: string\n contexts?: Array<{\n type: "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n id: string\n }>\n additional_contexts?: Array<{\n type: "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n id: string\n }>\n content?: string\n attachments?: string[]\n read_by?: string[]\n}\n```\n\n### `ContextType`\n\n```ts\ntype ContextType = "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n```\n\n### `NoteEntity`\n\nA note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place.\n\n```ts\ntype NoteEntity = {\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: string\n user_id: string\n }>\n type?: string\n}\n```\n\n### `Entity`\n\nBase Entity schema\n\n```ts\ntype Entity = {\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: string\n user_id: string\n }>\n type?: string\n}\n```\n\n### `CreatedByType`\n\n```ts\ntype CreatedByType = "user" | "group"\n```\n\n### `NoteGetRequestResponse`\n\n```ts\ntype NoteGetRequestResponse = {\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: string\n user_id: string\n }>\n type?: string\n}\n```\n\n### `NotePatchRequestBody`\n\n```ts\ntype NotePatchRequestBody = {\n _tags?: string[]\n type?: string\n attachments?: {\n $relation?: Array<{\n entity_id: { ... }\n }>\n }\n comments?: Array<{\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: { ... }\n user_id: { ... }\n }>\n type?: string\n }>\n content?: string\n contexts?: Array<{\n type: "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n id: string\n }>\n pinned_at?: string // date-time\n edited_at?: string // date-time\n created_by?: Array<{\n type: "user" | "group"\n user_id?: string\n display_name?: string\n org_id?: string\n email?: string\n phone?: string\n }>\n read_by?: string[]\n reactions?: Record<string, string[]>\n}\n```\n\n### `NonHydratedNoteEntity`\n\nA note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place.\n\n```ts\ntype NonHydratedNoteEntity = {\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: string\n user_id: string\n }>\n type?: string\n}\n```\n\n### `NoteEntityParent`\n\nThe Note\'s parent Note\n\n```ts\ntype NoteEntityParent = {\n $relation?: Array<{\n entity_id: string\n }>\n}\n```\n\n### `NotePutRequestBody`\n\n```ts\ntype NotePutRequestBody = {\n _id?: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: string\n user_id: string\n }>\n type?: string\n context_entities?: {\n $relation: Array<{\n entity_id: { ... }\n }>\n }\n parent?: {\n $relation?: Array<{\n entity_id: { ... }\n }>\n }\n attachments?: {\n $relation?: Array<{\n entity_id: { ... }\n }>\n }\n content?: string\n contexts?: Array<{\n type: "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n id: string\n }>\n pinned_at?: string // date-time\n edited_at?: string // date-time\n created_by?: Array<{\n type: "user" | "group"\n user_id?: string\n display_name?: string\n org_id?: string\n email?: string\n phone?: string\n }>\n read_by?: string[]\n reactions?: Record<string, string[]>\n}\n```\n\n### `NoteSearchByContextRequestBody`\n\n```ts\ntype NoteSearchByContextRequestBody = {\n contexts: Array<{\n type: "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n id: string\n }>\n include_related_schemas?: string[]\n from?: number\n size?: number\n}\n```\n\n### `NotesSearchRequestResponse`\n\n```ts\ntype NotesSearchRequestResponse = {\n hits?: number\n results: Array<{\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: { ... }\n user_id: { ... }\n }>\n type?: string\n }>\n}\n```\n\n### `NoteContexts`\n\nList of resolved Entity and non-Entity contexts attached to a given Note.\n\n```ts\ntype NoteContexts = {\n type: "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n context: {\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: { ... }\n user_id: { ... }\n }>\n type?: string\n } | {\n id: string\n definitionId: string\n orgId: string\n name: string\n }\n}\n```\n\n### `WorkflowExecution`\n\nBase metadata for a Workflow Execution. This is a lightweight representation of a Workflow Execution, and does not contain all it\'s data\n\n```ts\ntype WorkflowExecution = {\n id: string\n definitionId: string\n orgId: string\n name: string\n}\n```\n\n### `ReactionRequest`\n\n```ts\ntype ReactionRequest = {\n emoji: string\n}\n```\n\n### `ToggleReactionsRequest`\n\n```ts\ntype ToggleReactionsRequest = {\n emojis: string[]\n}\n```\n';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.default = notes_default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./chunk-YPSWSI3M.js";
|
|
2
|
+
|
|
3
|
+
// src/docs/notes.json
|
|
4
|
+
var notes_default = '# Notes API\n\n- **Base URL:** `https://notes.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/notes](https://docs.epilot.io/api/notes)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.notes.createNote(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/notes\'\n\nconst notesClient = getClient()\nauthorize(notesClient, () => \'<token>\')\nconst { data } = await notesClient.createNote(...)\n```\n\n## Operations\n\n**Notes**\n- [`createNote`](#createnote)\n- [`getNote`](#getnote)\n- [`patchNote`](#patchnote)\n- [`updateNote`](#updatenote)\n- [`deleteNote`](#deletenote)\n- [`searchNotesByContext`](#searchnotesbycontext)\n- [`getNoteContexts`](#getnotecontexts)\n\n**Pinning**\n- [`pinNote`](#pinnote)\n\n**Reactions**\n- [`addNoteReaction`](#addnotereaction)\n- [`removeNoteReaction`](#removenotereaction)\n- [`toggleNoteReactions`](#togglenotereactions)\n\n**Schemas**\n- [`NotePostRequestBody`](#notepostrequestbody)\n- [`ContextType`](#contexttype)\n- [`NoteEntity`](#noteentity)\n- [`Entity`](#entity)\n- [`CreatedByType`](#createdbytype)\n- [`NoteGetRequestResponse`](#notegetrequestresponse)\n- [`NotePatchRequestBody`](#notepatchrequestbody)\n- [`NonHydratedNoteEntity`](#nonhydratednoteentity)\n- [`NoteEntityParent`](#noteentityparent)\n- [`NotePutRequestBody`](#noteputrequestbody)\n- [`NoteSearchByContextRequestBody`](#notesearchbycontextrequestbody)\n- [`NotesSearchRequestResponse`](#notessearchrequestresponse)\n- [`NoteContexts`](#notecontexts)\n- [`WorkflowExecution`](#workflowexecution)\n- [`ReactionRequest`](#reactionrequest)\n- [`ToggleReactionsRequest`](#togglereactionsrequest)\n\n### `createNote`\n\nCreates a new Note entry\n\n`POST /v1/note`\n\n```ts\nconst { data } = await client.createNote(\n null,\n {\n _tags: [\'string\'],\n type: \'string\',\n entity_id: \'string\',\n parent_id: \'string\',\n contexts: [\n {\n type: \'workflow_execution\',\n id: \'string\'\n }\n ],\n additional_contexts: [\n {\n type: \'workflow_execution\',\n id: \'string\'\n }\n ],\n content: \'string\',\n attachments: [\'string\'],\n read_by: [\'string\']\n },\n)\n```\n\n---\n\n### `getNote`\n\nRetrieves a single Note entry based on it\'s Entity ID\n\n`GET /v1/note/{id}`\n\n```ts\nconst { data } = await client.getNote({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n hydrate: true,\n})\n```\n\n---\n\n### `patchNote`\n\nUpdates an existing Note entry\n\n`PATCH /v1/note/{id}`\n\n```ts\nconst { data } = await client.patchNote({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n---\n\n### `updateNote`\n\nUpdates an existing Note entry\n\n`PUT /v1/note/{id}`\n\n```ts\nconst { data } = await client.updateNote(\n {\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n },\n {\n _id: \'string\',\n _org: \'string\',\n _schema: \'string\',\n _created_at: \'1970-01-01T00:00:00.000Z\',\n _updated_at: \'1970-01-01T00:00:00.000Z\',\n _created_by: \'string\',\n _tags: [\'string\'],\n _acl: {},\n _owners: [\n {\n org_id: \'string\',\n user_id: \'string\'\n }\n ],\n type: \'string\',\n context_entities: {\n $relation: [\n {\n entity_id: \'string\'\n }\n ]\n },\n parent: {\n $relation: [\n {\n entity_id: \'string\'\n }\n ]\n },\n attachments: {\n $relation: [\n {\n entity_id: \'string\'\n }\n ]\n },\n content: \'string\',\n contexts: [\n {\n type: \'workflow_execution\',\n id: \'string\'\n }\n ],\n pinned_at: \'1970-01-01T00:00:00.000Z\',\n edited_at: \'1970-01-01T00:00:00.000Z\',\n created_by: [\n {\n type: \'user\',\n user_id: \'string\',\n display_name: \'string\',\n org_id: \'string\',\n email: \'string\',\n phone: \'string\'\n }\n ],\n read_by: [\'string\'],\n reactions: {}\n },\n)\n```\n\n---\n\n### `deleteNote`\n\nDeletes a single Note entry based on it\'s Entity ID\n\n`DELETE /v1/note/{id}`\n\n```ts\nconst { data } = await client.deleteNote({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n---\n\n### `searchNotesByContext`\n\nSearch for a paginated list of Notes based on one or more contexts\n\n`POST /v1/notes:search`\n\n```ts\nconst { data } = await client.searchNotesByContext(\n null,\n {\n contexts: [\n {\n type: \'workflow_execution\',\n id: \'string\'\n }\n ],\n include_related_schemas: [\'string\'],\n from: 0,\n size: 10\n },\n)\n```\n\n---\n\n### `pinNote`\n\nPins a single Note entry based on it\'s Entity ID\n\n`POST /v1/note/{id}/pin`\n\n```ts\nconst { data } = await client.pinNote({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n---\n\n### `getNoteContexts`\n\nGets all the Entity and non-Entity records the Note is contextually attached to\n\n`GET /v1/note/{id}/context`\n\n```ts\nconst { data } = await client.getNoteContexts({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n[\n {\n "type": "workflow_execution",\n "context": {\n "_id": "string",\n "_org": "string",\n "_schema": "string",\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z",\n "_created_by": "string",\n "_tags": ["string"],\n "_acl": {},\n "_owners": [\n {\n "org_id": "string",\n "user_id": "string"\n }\n ],\n "type": "string"\n }\n }\n]\n```\n\n</details>\n\n---\n\n### `addNoteReaction`\n\nAdds an emoji reaction to a note\n\n`POST /v1/note/{id}/reaction`\n\n```ts\nconst { data } = await client.addNoteReaction(\n {\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n },\n {\n emoji: \'thumbs-up\'\n },\n)\n```\n\n---\n\n### `removeNoteReaction`\n\nRemoves an emoji reaction from a note\n\n`DELETE /v1/note/{id}/reaction/{emoji_shortcode}`\n\n```ts\nconst { data } = await client.removeNoteReaction({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n emoji_shortcode: \'example\',\n})\n```\n\n---\n\n### `toggleNoteReactions`\n\nToggles multiple emoji reactions on a note. If a user has already reacted with an emoji, it removes the reaction. If a user hasn\'t reacted with an emoji, it adds the reaction.\n\n`POST /v1/note/{id}/reactions/toggle`\n\n```ts\nconst { data } = await client.toggleNoteReactions(\n {\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n },\n {\n emojis: [\'thumbs-up\', \'heart\']\n },\n)\n```\n\n---\n\n## Schemas\n\n### `NotePostRequestBody`\n\n```ts\ntype NotePostRequestBody = {\n _tags?: string[]\n type?: string\n entity_id?: string\n parent_id?: string\n contexts?: Array<{\n type: "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n id: string\n }>\n additional_contexts?: Array<{\n type: "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n id: string\n }>\n content?: string\n attachments?: string[]\n read_by?: string[]\n}\n```\n\n### `ContextType`\n\n```ts\ntype ContextType = "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n```\n\n### `NoteEntity`\n\nA note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place.\n\n```ts\ntype NoteEntity = {\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: string\n user_id: string\n }>\n type?: string\n}\n```\n\n### `Entity`\n\nBase Entity schema\n\n```ts\ntype Entity = {\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: string\n user_id: string\n }>\n type?: string\n}\n```\n\n### `CreatedByType`\n\n```ts\ntype CreatedByType = "user" | "group"\n```\n\n### `NoteGetRequestResponse`\n\n```ts\ntype NoteGetRequestResponse = {\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: string\n user_id: string\n }>\n type?: string\n}\n```\n\n### `NotePatchRequestBody`\n\n```ts\ntype NotePatchRequestBody = {\n _tags?: string[]\n type?: string\n attachments?: {\n $relation?: Array<{\n entity_id: { ... }\n }>\n }\n comments?: Array<{\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: { ... }\n user_id: { ... }\n }>\n type?: string\n }>\n content?: string\n contexts?: Array<{\n type: "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n id: string\n }>\n pinned_at?: string // date-time\n edited_at?: string // date-time\n created_by?: Array<{\n type: "user" | "group"\n user_id?: string\n display_name?: string\n org_id?: string\n email?: string\n phone?: string\n }>\n read_by?: string[]\n reactions?: Record<string, string[]>\n}\n```\n\n### `NonHydratedNoteEntity`\n\nA note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place.\n\n```ts\ntype NonHydratedNoteEntity = {\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: string\n user_id: string\n }>\n type?: string\n}\n```\n\n### `NoteEntityParent`\n\nThe Note\'s parent Note\n\n```ts\ntype NoteEntityParent = {\n $relation?: Array<{\n entity_id: string\n }>\n}\n```\n\n### `NotePutRequestBody`\n\n```ts\ntype NotePutRequestBody = {\n _id?: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: string\n user_id: string\n }>\n type?: string\n context_entities?: {\n $relation: Array<{\n entity_id: { ... }\n }>\n }\n parent?: {\n $relation?: Array<{\n entity_id: { ... }\n }>\n }\n attachments?: {\n $relation?: Array<{\n entity_id: { ... }\n }>\n }\n content?: string\n contexts?: Array<{\n type: "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n id: string\n }>\n pinned_at?: string // date-time\n edited_at?: string // date-time\n created_by?: Array<{\n type: "user" | "group"\n user_id?: string\n display_name?: string\n org_id?: string\n email?: string\n phone?: string\n }>\n read_by?: string[]\n reactions?: Record<string, string[]>\n}\n```\n\n### `NoteSearchByContextRequestBody`\n\n```ts\ntype NoteSearchByContextRequestBody = {\n contexts: Array<{\n type: "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n id: string\n }>\n include_related_schemas?: string[]\n from?: number\n size?: number\n}\n```\n\n### `NotesSearchRequestResponse`\n\n```ts\ntype NotesSearchRequestResponse = {\n hits?: number\n results: Array<{\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: { ... }\n user_id: { ... }\n }>\n type?: string\n }>\n}\n```\n\n### `NoteContexts`\n\nList of resolved Entity and non-Entity contexts attached to a given Note.\n\n```ts\ntype NoteContexts = {\n type: "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity"\n context: {\n _id: string\n _org?: string\n _schema?: string\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _created_by?: string | number\n _tags?: string[]\n _acl?: Record<string, string[]>\n _owners?: Array<{\n org_id: { ... }\n user_id: { ... }\n }>\n type?: string\n } | {\n id: string\n definitionId: string\n orgId: string\n name: string\n }\n}\n```\n\n### `WorkflowExecution`\n\nBase metadata for a Workflow Execution. This is a lightweight representation of a Workflow Execution, and does not contain all it\'s data\n\n```ts\ntype WorkflowExecution = {\n id: string\n definitionId: string\n orgId: string\n name: string\n}\n```\n\n### `ReactionRequest`\n\n```ts\ntype ReactionRequest = {\n emoji: string\n}\n```\n\n### `ToggleReactionsRequest`\n\n```ts\ntype ToggleReactionsRequest = {\n emojis: string[]\n}\n```\n';
|
|
5
|
+
export {
|
|
6
|
+
notes_default as default
|
|
7
|
+
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from notes-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -129,6 +127,10 @@ declare namespace Components {
|
|
|
129
127
|
* The timestamp of when this Note was pinned
|
|
130
128
|
*/
|
|
131
129
|
pinned_at?: string; // date-time
|
|
130
|
+
/**
|
|
131
|
+
* The timestamp of when this Note was last updated
|
|
132
|
+
*/
|
|
133
|
+
edited_at?: string; // date-time
|
|
132
134
|
created_by?: {
|
|
133
135
|
type: "user" | "group";
|
|
134
136
|
user_id?: string;
|
|
@@ -136,7 +138,7 @@ declare namespace Components {
|
|
|
136
138
|
org_id?: string;
|
|
137
139
|
email?: string;
|
|
138
140
|
phone?: string;
|
|
139
|
-
};
|
|
141
|
+
}[];
|
|
140
142
|
/**
|
|
141
143
|
* List of user IDs who have read this note
|
|
142
144
|
*/
|
|
@@ -228,7 +230,7 @@ declare namespace Components {
|
|
|
228
230
|
org_id?: string;
|
|
229
231
|
email?: string;
|
|
230
232
|
phone?: string;
|
|
231
|
-
};
|
|
233
|
+
}[];
|
|
232
234
|
/**
|
|
233
235
|
* List of user IDs who have read this note
|
|
234
236
|
*/
|
|
@@ -321,7 +323,7 @@ declare namespace Components {
|
|
|
321
323
|
org_id?: string;
|
|
322
324
|
email?: string;
|
|
323
325
|
phone?: string;
|
|
324
|
-
};
|
|
326
|
+
}[];
|
|
325
327
|
/**
|
|
326
328
|
* List of user IDs who have read this note
|
|
327
329
|
*/
|
|
@@ -363,6 +365,10 @@ declare namespace Components {
|
|
|
363
365
|
* The timestamp of when this Note was pinned
|
|
364
366
|
*/
|
|
365
367
|
pinned_at?: string; // date-time
|
|
368
|
+
/**
|
|
369
|
+
* The timestamp of when this Note was last updated
|
|
370
|
+
*/
|
|
371
|
+
edited_at?: string; // date-time
|
|
366
372
|
created_by?: {
|
|
367
373
|
type: "user" | "group";
|
|
368
374
|
user_id?: string;
|
|
@@ -370,7 +376,7 @@ declare namespace Components {
|
|
|
370
376
|
org_id?: string;
|
|
371
377
|
email?: string;
|
|
372
378
|
phone?: string;
|
|
373
|
-
};
|
|
379
|
+
}[];
|
|
374
380
|
/**
|
|
375
381
|
* List of user IDs who have read this note
|
|
376
382
|
*/
|
|
@@ -495,6 +501,10 @@ declare namespace Components {
|
|
|
495
501
|
* The timestamp of when this Note was pinned
|
|
496
502
|
*/
|
|
497
503
|
pinned_at?: string; // date-time
|
|
504
|
+
/**
|
|
505
|
+
* The timestamp of when this Note was last updated
|
|
506
|
+
*/
|
|
507
|
+
edited_at?: string; // date-time
|
|
498
508
|
created_by?: {
|
|
499
509
|
type: "user" | "group";
|
|
500
510
|
user_id?: string;
|
|
@@ -502,7 +512,7 @@ declare namespace Components {
|
|
|
502
512
|
org_id?: string;
|
|
503
513
|
email?: string;
|
|
504
514
|
phone?: string;
|
|
505
|
-
};
|
|
515
|
+
}[];
|
|
506
516
|
/**
|
|
507
517
|
* List of user IDs who have read this note
|
|
508
518
|
*/
|
|
@@ -515,10 +525,20 @@ declare namespace Components {
|
|
|
515
525
|
};
|
|
516
526
|
}
|
|
517
527
|
export interface NoteSearchByContextRequestBody {
|
|
518
|
-
contexts:
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
528
|
+
contexts: [
|
|
529
|
+
{
|
|
530
|
+
type: ContextType;
|
|
531
|
+
id: string;
|
|
532
|
+
},
|
|
533
|
+
...{
|
|
534
|
+
type: ContextType;
|
|
535
|
+
id: string;
|
|
536
|
+
}[]
|
|
537
|
+
];
|
|
538
|
+
/**
|
|
539
|
+
* When set, the API resolves related entities of these schemas for the primary entity context and includes their notes in the results.
|
|
540
|
+
*/
|
|
541
|
+
include_related_schemas?: string[];
|
|
522
542
|
/**
|
|
523
543
|
* The index of the first Note to return in this query
|
|
524
544
|
*/
|
|
@@ -758,6 +778,7 @@ declare namespace Paths {
|
|
|
758
778
|
}
|
|
759
779
|
}
|
|
760
780
|
|
|
781
|
+
|
|
761
782
|
interface OperationMethods {
|
|
762
783
|
/**
|
|
763
784
|
* createNote - createNote
|
|
@@ -1026,6 +1047,7 @@ interface PathsDictionary {
|
|
|
1026
1047
|
|
|
1027
1048
|
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
1028
1049
|
|
|
1050
|
+
|
|
1029
1051
|
type ContextType = Components.Schemas.ContextType;
|
|
1030
1052
|
type CreatedByType = Components.Schemas.CreatedByType;
|
|
1031
1053
|
type Entity = Components.Schemas.Entity;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from notes-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -129,6 +127,10 @@ declare namespace Components {
|
|
|
129
127
|
* The timestamp of when this Note was pinned
|
|
130
128
|
*/
|
|
131
129
|
pinned_at?: string; // date-time
|
|
130
|
+
/**
|
|
131
|
+
* The timestamp of when this Note was last updated
|
|
132
|
+
*/
|
|
133
|
+
edited_at?: string; // date-time
|
|
132
134
|
created_by?: {
|
|
133
135
|
type: "user" | "group";
|
|
134
136
|
user_id?: string;
|
|
@@ -136,7 +138,7 @@ declare namespace Components {
|
|
|
136
138
|
org_id?: string;
|
|
137
139
|
email?: string;
|
|
138
140
|
phone?: string;
|
|
139
|
-
};
|
|
141
|
+
}[];
|
|
140
142
|
/**
|
|
141
143
|
* List of user IDs who have read this note
|
|
142
144
|
*/
|
|
@@ -228,7 +230,7 @@ declare namespace Components {
|
|
|
228
230
|
org_id?: string;
|
|
229
231
|
email?: string;
|
|
230
232
|
phone?: string;
|
|
231
|
-
};
|
|
233
|
+
}[];
|
|
232
234
|
/**
|
|
233
235
|
* List of user IDs who have read this note
|
|
234
236
|
*/
|
|
@@ -321,7 +323,7 @@ declare namespace Components {
|
|
|
321
323
|
org_id?: string;
|
|
322
324
|
email?: string;
|
|
323
325
|
phone?: string;
|
|
324
|
-
};
|
|
326
|
+
}[];
|
|
325
327
|
/**
|
|
326
328
|
* List of user IDs who have read this note
|
|
327
329
|
*/
|
|
@@ -363,6 +365,10 @@ declare namespace Components {
|
|
|
363
365
|
* The timestamp of when this Note was pinned
|
|
364
366
|
*/
|
|
365
367
|
pinned_at?: string; // date-time
|
|
368
|
+
/**
|
|
369
|
+
* The timestamp of when this Note was last updated
|
|
370
|
+
*/
|
|
371
|
+
edited_at?: string; // date-time
|
|
366
372
|
created_by?: {
|
|
367
373
|
type: "user" | "group";
|
|
368
374
|
user_id?: string;
|
|
@@ -370,7 +376,7 @@ declare namespace Components {
|
|
|
370
376
|
org_id?: string;
|
|
371
377
|
email?: string;
|
|
372
378
|
phone?: string;
|
|
373
|
-
};
|
|
379
|
+
}[];
|
|
374
380
|
/**
|
|
375
381
|
* List of user IDs who have read this note
|
|
376
382
|
*/
|
|
@@ -495,6 +501,10 @@ declare namespace Components {
|
|
|
495
501
|
* The timestamp of when this Note was pinned
|
|
496
502
|
*/
|
|
497
503
|
pinned_at?: string; // date-time
|
|
504
|
+
/**
|
|
505
|
+
* The timestamp of when this Note was last updated
|
|
506
|
+
*/
|
|
507
|
+
edited_at?: string; // date-time
|
|
498
508
|
created_by?: {
|
|
499
509
|
type: "user" | "group";
|
|
500
510
|
user_id?: string;
|
|
@@ -502,7 +512,7 @@ declare namespace Components {
|
|
|
502
512
|
org_id?: string;
|
|
503
513
|
email?: string;
|
|
504
514
|
phone?: string;
|
|
505
|
-
};
|
|
515
|
+
}[];
|
|
506
516
|
/**
|
|
507
517
|
* List of user IDs who have read this note
|
|
508
518
|
*/
|
|
@@ -515,10 +525,20 @@ declare namespace Components {
|
|
|
515
525
|
};
|
|
516
526
|
}
|
|
517
527
|
export interface NoteSearchByContextRequestBody {
|
|
518
|
-
contexts:
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
528
|
+
contexts: [
|
|
529
|
+
{
|
|
530
|
+
type: ContextType;
|
|
531
|
+
id: string;
|
|
532
|
+
},
|
|
533
|
+
...{
|
|
534
|
+
type: ContextType;
|
|
535
|
+
id: string;
|
|
536
|
+
}[]
|
|
537
|
+
];
|
|
538
|
+
/**
|
|
539
|
+
* When set, the API resolves related entities of these schemas for the primary entity context and includes their notes in the results.
|
|
540
|
+
*/
|
|
541
|
+
include_related_schemas?: string[];
|
|
522
542
|
/**
|
|
523
543
|
* The index of the first Note to return in this query
|
|
524
544
|
*/
|
|
@@ -758,6 +778,7 @@ declare namespace Paths {
|
|
|
758
778
|
}
|
|
759
779
|
}
|
|
760
780
|
|
|
781
|
+
|
|
761
782
|
interface OperationMethods {
|
|
762
783
|
/**
|
|
763
784
|
* createNote - createNote
|
|
@@ -1026,6 +1047,7 @@ interface PathsDictionary {
|
|
|
1026
1047
|
|
|
1027
1048
|
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
1028
1049
|
|
|
1050
|
+
|
|
1029
1051
|
type ContextType = Components.Schemas.ContextType;
|
|
1030
1052
|
type CreatedByType = Components.Schemas.CreatedByType;
|
|
1031
1053
|
type Entity = Components.Schemas.Entity;
|