@epilot/sdk 2.0.0-beta.1 → 2.0.0-beta.2
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/README.md +70 -96
- package/dist/apis/access-token.cjs +90 -10
- package/dist/apis/access-token.d.cts +4 -4
- package/dist/apis/access-token.d.ts +4 -4
- package/dist/apis/access-token.js +86 -6
- package/dist/apis/address-suggestions.cjs +133 -10
- package/dist/apis/address-suggestions.d.cts +4 -4
- package/dist/apis/address-suggestions.d.ts +4 -4
- package/dist/apis/address-suggestions.js +129 -6
- package/dist/apis/address.cjs +85 -10
- package/dist/apis/address.d.cts +4 -4
- package/dist/apis/address.d.ts +4 -4
- package/dist/apis/address.js +81 -6
- package/dist/apis/ai-agents.cjs +216 -10
- package/dist/apis/ai-agents.d.cts +4 -4
- package/dist/apis/ai-agents.d.ts +4 -4
- package/dist/apis/ai-agents.js +212 -6
- package/dist/apis/app.cjs +574 -10
- package/dist/apis/app.d.cts +4 -4
- package/dist/apis/app.d.ts +4 -4
- package/dist/apis/app.js +570 -6
- package/dist/apis/audit-logs.cjs +56 -10
- package/dist/apis/audit-logs.d.cts +4 -4
- package/dist/apis/audit-logs.d.ts +4 -4
- package/dist/apis/audit-logs.js +52 -6
- package/dist/apis/automation.cjs +283 -10
- package/dist/apis/automation.d.cts +4 -4
- package/dist/apis/automation.d.ts +4 -4
- package/dist/apis/automation.js +279 -6
- package/dist/apis/billing.cjs +176 -10
- package/dist/apis/billing.d.cts +4 -4
- package/dist/apis/billing.d.ts +4 -4
- package/dist/apis/billing.js +172 -6
- package/dist/apis/blueprint-manifest.cjs +505 -10
- package/dist/apis/blueprint-manifest.d.cts +4 -4
- package/dist/apis/blueprint-manifest.d.ts +4 -4
- package/dist/apis/blueprint-manifest.js +501 -6
- package/dist/apis/consent.cjs +85 -10
- package/dist/apis/consent.d.cts +4 -4
- package/dist/apis/consent.d.ts +4 -4
- package/dist/apis/consent.js +81 -6
- package/dist/apis/customer-portal.cjs +2253 -10
- package/dist/apis/customer-portal.d.cts +4 -4
- package/dist/apis/customer-portal.d.ts +4 -4
- package/dist/apis/customer-portal.js +2249 -6
- package/dist/apis/data-management.cjs +241 -10
- package/dist/apis/data-management.d.cts +4 -4
- package/dist/apis/data-management.d.ts +4 -4
- package/dist/apis/data-management.js +237 -6
- package/dist/apis/deduplication.cjs +43 -10
- package/dist/apis/deduplication.d.cts +4 -4
- package/dist/apis/deduplication.d.ts +4 -4
- package/dist/apis/deduplication.js +39 -6
- package/dist/apis/design.cjs +220 -10
- package/dist/apis/design.d.cts +4 -4
- package/dist/apis/design.d.ts +4 -4
- package/dist/apis/design.js +216 -6
- package/dist/apis/document.cjs +79 -10
- package/dist/apis/document.d.cts +4 -4
- package/dist/apis/document.d.ts +4 -4
- package/dist/apis/document.js +75 -6
- package/dist/apis/email-settings.cjs +534 -10
- package/dist/apis/email-settings.d.cts +4 -4
- package/dist/apis/email-settings.d.ts +4 -4
- package/dist/apis/email-settings.js +530 -6
- package/dist/apis/email-template.cjs +123 -10
- package/dist/apis/email-template.d.cts +4 -4
- package/dist/apis/email-template.d.ts +4 -4
- package/dist/apis/email-template.js +119 -6
- package/dist/apis/entity-mapping.cjs +216 -10
- package/dist/apis/entity-mapping.d.cts +4 -4
- package/dist/apis/entity-mapping.d.ts +4 -4
- package/dist/apis/entity-mapping.js +212 -6
- package/dist/apis/entity.cjs +1601 -10
- package/dist/apis/entity.d.cts +4 -4
- package/dist/apis/entity.d.ts +4 -4
- package/dist/apis/entity.js +1597 -6
- package/dist/apis/environments.cjs +72 -10
- package/dist/apis/environments.d.cts +4 -4
- package/dist/apis/environments.d.ts +4 -4
- package/dist/apis/environments.js +68 -6
- package/dist/apis/erp-integration.cjs +587 -10
- package/dist/apis/erp-integration.d.cts +4 -4
- package/dist/apis/erp-integration.d.ts +4 -4
- package/dist/apis/erp-integration.js +583 -6
- package/dist/apis/event-catalog.cjs +131 -10
- package/dist/apis/event-catalog.d.cts +4 -4
- package/dist/apis/event-catalog.d.ts +4 -4
- package/dist/apis/event-catalog.js +127 -6
- package/dist/apis/file.cjs +574 -10
- package/dist/apis/file.d.cts +4 -4
- package/dist/apis/file.d.ts +4 -4
- package/dist/apis/file.js +570 -6
- package/dist/apis/iban.cjs +44 -10
- package/dist/apis/iban.d.cts +4 -4
- package/dist/apis/iban.d.ts +4 -4
- package/dist/apis/iban.js +40 -6
- package/dist/apis/journey.cjs +271 -10
- package/dist/apis/journey.d.cts +4 -4
- package/dist/apis/journey.d.ts +4 -4
- package/dist/apis/journey.js +267 -6
- package/dist/apis/kanban.cjs +165 -10
- package/dist/apis/kanban.d.cts +4 -4
- package/dist/apis/kanban.d.ts +4 -4
- package/dist/apis/kanban.js +161 -6
- package/dist/apis/message.cjs +674 -10
- package/dist/apis/message.d.cts +4 -4
- package/dist/apis/message.d.ts +4 -4
- package/dist/apis/message.js +670 -6
- package/dist/apis/metering.cjs +400 -10
- package/dist/apis/metering.d.cts +4 -4
- package/dist/apis/metering.d.ts +4 -4
- package/dist/apis/metering.js +396 -6
- package/dist/apis/notes.cjs +220 -10
- package/dist/apis/notes.d.cts +4 -4
- package/dist/apis/notes.d.ts +4 -4
- package/dist/apis/notes.js +216 -6
- package/dist/apis/notification.cjs +238 -10
- package/dist/apis/notification.d.cts +4 -4
- package/dist/apis/notification.d.ts +4 -4
- package/dist/apis/notification.js +234 -6
- package/dist/apis/organization.cjs +119 -10
- package/dist/apis/organization.d.cts +4 -4
- package/dist/apis/organization.d.ts +4 -4
- package/dist/apis/organization.js +115 -6
- package/dist/apis/partner-directory.cjs +283 -10
- package/dist/apis/partner-directory.d.cts +4 -4
- package/dist/apis/partner-directory.d.ts +4 -4
- package/dist/apis/partner-directory.js +279 -6
- package/dist/apis/permissions.cjs +179 -10
- package/dist/apis/permissions.d.cts +4 -4
- package/dist/apis/permissions.d.ts +4 -4
- package/dist/apis/permissions.js +175 -6
- package/dist/apis/pricing-tier.cjs +40 -13
- package/dist/apis/pricing-tier.d.cts +4 -4
- package/dist/apis/pricing-tier.d.ts +4 -4
- package/dist/apis/pricing-tier.js +33 -6
- package/dist/apis/pricing.cjs +440 -10
- package/dist/apis/pricing.d.cts +4 -4
- package/dist/apis/pricing.d.ts +4 -4
- package/dist/apis/pricing.js +436 -6
- package/dist/apis/purpose.cjs +181 -10
- package/dist/apis/purpose.d.cts +4 -4
- package/dist/apis/purpose.d.ts +4 -4
- package/dist/apis/purpose.js +177 -6
- package/dist/apis/sandbox.cjs +101 -10
- package/dist/apis/sandbox.d.cts +4 -4
- package/dist/apis/sandbox.d.ts +4 -4
- package/dist/apis/sandbox.js +97 -6
- package/dist/apis/submission.cjs +56 -10
- package/dist/apis/submission.d.cts +4 -4
- package/dist/apis/submission.d.ts +4 -4
- package/dist/apis/submission.js +52 -6
- package/dist/apis/targeting.cjs +276 -10
- package/dist/apis/targeting.d.cts +4 -4
- package/dist/apis/targeting.d.ts +4 -4
- package/dist/apis/targeting.js +272 -6
- package/dist/apis/template-variables.cjs +160 -10
- package/dist/apis/template-variables.d.cts +4 -4
- package/dist/apis/template-variables.d.ts +4 -4
- package/dist/apis/template-variables.js +156 -6
- package/dist/apis/user.cjs +489 -10
- package/dist/apis/user.d.cts +4 -4
- package/dist/apis/user.d.ts +4 -4
- package/dist/apis/user.js +485 -6
- package/dist/apis/validation-rules.cjs +121 -10
- package/dist/apis/validation-rules.d.cts +4 -4
- package/dist/apis/validation-rules.d.ts +4 -4
- package/dist/apis/validation-rules.js +117 -6
- package/dist/apis/webhooks.cjs +253 -10
- package/dist/apis/webhooks.d.cts +4 -4
- package/dist/apis/webhooks.d.ts +4 -4
- package/dist/apis/webhooks.js +249 -6
- package/dist/apis/workflow-definition.cjs +343 -10
- package/dist/apis/workflow-definition.d.cts +4 -4
- package/dist/apis/workflow-definition.d.ts +4 -4
- package/dist/apis/workflow-definition.js +339 -6
- package/dist/apis/workflow.cjs +403 -10
- package/dist/apis/workflow.d.cts +4 -4
- package/dist/apis/workflow.d.ts +4 -4
- package/dist/apis/workflow.js +399 -6
- package/dist/{chunk-YYLPAGF4.cjs → chunk-D7ICL3AM.cjs} +20 -9
- package/dist/{chunk-UCDXDIUX.js → chunk-DGCGLG7G.js} +18 -7
- package/dist/index.cjs +70 -215
- package/dist/index.d.cts +64 -66
- package/dist/index.d.ts +64 -66
- package/dist/index.js +67 -212
- package/dist/{types-DNnaR-86.d.cts → types-BwBvJkY_.d.cts} +2 -2
- package/dist/{types-DNnaR-86.d.ts → types-BwBvJkY_.d.ts} +2 -2
- package/package.json +2 -6
- package/dist/access-token-4WG44JE6.js +0 -87
- package/dist/access-token-IWRB3AQC.cjs +0 -87
- package/dist/address-RCFHYZ32.cjs +0 -82
- package/dist/address-YDZSS2Q2.js +0 -82
- package/dist/address-suggestions-44CVMN3H.js +0 -130
- package/dist/address-suggestions-RQNIFLF6.cjs +0 -130
- package/dist/ai-agents-7WY6J45W.js +0 -213
- package/dist/ai-agents-TIBOWGRB.cjs +0 -213
- package/dist/apis/discussion.cjs +0 -32
- package/dist/apis/discussion.d.cts +0 -18
- package/dist/apis/discussion.d.ts +0 -18
- package/dist/apis/discussion.js +0 -32
- package/dist/app-BUVEXAK3.js +0 -571
- package/dist/app-SWOVCSF6.cjs +0 -571
- package/dist/audit-logs-EZF74KKE.js +0 -53
- package/dist/audit-logs-ZNE4XISB.cjs +0 -53
- package/dist/automation-F4AXMRUS.cjs +0 -280
- package/dist/automation-NSOLJEPW.js +0 -280
- package/dist/billing-FXH4A3ET.cjs +0 -173
- package/dist/billing-PW2UJOFR.js +0 -173
- package/dist/blueprint-manifest-N4UM55KM.cjs +0 -502
- package/dist/blueprint-manifest-U3DMIHGW.js +0 -502
- package/dist/consent-NL2FMBRZ.js +0 -82
- package/dist/consent-XLVBVWHP.cjs +0 -82
- package/dist/customer-portal-6NZR53MJ.cjs +0 -2250
- package/dist/customer-portal-PXA64RS2.js +0 -2250
- package/dist/data-management-7VCKRRKT.cjs +0 -238
- package/dist/data-management-CWNNHKNR.js +0 -238
- package/dist/deduplication-AHDZHLWJ.cjs +0 -40
- package/dist/deduplication-UNYDU6FC.js +0 -40
- package/dist/design-GTK6ERS7.js +0 -217
- package/dist/design-HINGIGZM.cjs +0 -217
- package/dist/discussion-5AQSWLCJ.js +0 -132
- package/dist/discussion-ZHZII3JN.cjs +0 -132
- package/dist/discussion.d-DQucoYl_.d.cts +0 -579
- package/dist/discussion.d-DQucoYl_.d.ts +0 -579
- package/dist/document-3DJGB6C5.cjs +0 -76
- package/dist/document-4EBYTKOK.js +0 -76
- package/dist/email-settings-37WEBRIE.cjs +0 -531
- package/dist/email-settings-WYXVYZA5.js +0 -531
- package/dist/email-template-AJGRNOGO.cjs +0 -120
- package/dist/email-template-L3LCVGGX.js +0 -120
- package/dist/entity-FK3QEH7K.cjs +0 -1598
- package/dist/entity-VCBDLBZ5.js +0 -1598
- package/dist/entity-mapping-LEEXGKNQ.js +0 -213
- package/dist/entity-mapping-OIA23UV2.cjs +0 -213
- package/dist/environments-NX2KO6PH.js +0 -69
- package/dist/environments-PDN2RNB6.cjs +0 -69
- package/dist/erp-integration-C7XAKQOQ.cjs +0 -584
- package/dist/erp-integration-TA23TPTK.js +0 -584
- package/dist/event-catalog-CXGU2MWM.js +0 -128
- package/dist/event-catalog-JHJU3EPR.cjs +0 -128
- package/dist/file-FIIYM6KO.cjs +0 -571
- package/dist/file-GRLGXATS.js +0 -571
- package/dist/iban-IQH45QEI.js +0 -41
- package/dist/iban-YHV77AIE.cjs +0 -41
- package/dist/journey-B5Q2FQUI.cjs +0 -268
- package/dist/journey-XW3RJCI3.js +0 -268
- package/dist/kanban-4LZGTSAF.cjs +0 -162
- package/dist/kanban-NRSJ6S4X.js +0 -162
- package/dist/message-IV6F3CN5.cjs +0 -671
- package/dist/message-VYRBWAWQ.js +0 -671
- package/dist/metering-BOIQK6LV.js +0 -397
- package/dist/metering-WJVI6BHJ.cjs +0 -397
- package/dist/notes-XXYAHYEC.js +0 -217
- package/dist/notes-ZQR635GX.cjs +0 -217
- package/dist/notification-7APLCFR5.cjs +0 -235
- package/dist/notification-B634CDPT.js +0 -235
- package/dist/organization-BXJ2BPQB.cjs +0 -116
- package/dist/organization-WGTTJC22.js +0 -116
- package/dist/partner-directory-IHOFVMEK.cjs +0 -280
- package/dist/partner-directory-K6CQVWVG.js +0 -280
- package/dist/permissions-J7BIGOLO.cjs +0 -176
- package/dist/permissions-XRJ6WEZR.js +0 -176
- package/dist/pricing-GSIASLCP.cjs +0 -437
- package/dist/pricing-VVOEIVQC.js +0 -437
- package/dist/pricing-tier-NHXSXS7D.cjs +0 -34
- package/dist/pricing-tier-U5KRZDL2.js +0 -34
- package/dist/purpose-K655DFAO.js +0 -178
- package/dist/purpose-XH2OQHGH.cjs +0 -178
- package/dist/sandbox-4DRHKRB6.cjs +0 -98
- package/dist/sandbox-PV747LWK.js +0 -98
- package/dist/submission-7NPVVBLM.js +0 -53
- package/dist/submission-RUDXWIRC.cjs +0 -53
- package/dist/targeting-4ID5YPCA.js +0 -273
- package/dist/targeting-DOARNZSZ.cjs +0 -273
- package/dist/template-variables-HAYGELOR.cjs +0 -157
- package/dist/template-variables-XSEX25IR.js +0 -157
- package/dist/user-DPU5W4TD.cjs +0 -486
- package/dist/user-HJCIYGFV.js +0 -486
- package/dist/validation-rules-2Z3W27TI.js +0 -118
- package/dist/validation-rules-STLI5T53.cjs +0 -118
- package/dist/webhooks-OYG6A7LP.js +0 -250
- package/dist/webhooks-QV777IJ3.cjs +0 -250
- package/dist/workflow-3PROUTPA.js +0 -400
- package/dist/workflow-STQM54XS.cjs +0 -400
- package/dist/workflow-definition-3VVAPDSE.cjs +0 -340
- package/dist/workflow-definition-WEU344MV.js +0 -340
|
@@ -1,579 +0,0 @@
|
|
|
1
|
-
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
-
|
|
3
|
-
/* Auto-copied from discussion-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
declare namespace Components {
|
|
9
|
-
namespace Schemas {
|
|
10
|
-
export type Attachment = {
|
|
11
|
-
/**
|
|
12
|
-
* File ID
|
|
13
|
-
* example:
|
|
14
|
-
* 70432e1d-eadc-4995-937c-2604637bbaae
|
|
15
|
-
*/
|
|
16
|
-
id?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Filename
|
|
19
|
-
* example:
|
|
20
|
-
* document.pdf
|
|
21
|
-
*/
|
|
22
|
-
filename?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Content type
|
|
25
|
-
* example:
|
|
26
|
-
* application/pdf
|
|
27
|
-
*/
|
|
28
|
-
mime_type?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Public url for downloading file
|
|
31
|
-
* example:
|
|
32
|
-
* https://epilot-files-prod.s3.eu-central-1.amazonaws.com/123/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf
|
|
33
|
-
*/
|
|
34
|
-
public_url?: string;
|
|
35
|
-
/**
|
|
36
|
-
* S3 reference
|
|
37
|
-
*/
|
|
38
|
-
s3ref?: {
|
|
39
|
-
/**
|
|
40
|
-
* S3 bucket name
|
|
41
|
-
* example:
|
|
42
|
-
* epilot-files-prod
|
|
43
|
-
*/
|
|
44
|
-
bucket?: string;
|
|
45
|
-
/**
|
|
46
|
-
* S3 object key
|
|
47
|
-
* example:
|
|
48
|
-
* 123/temp/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf
|
|
49
|
-
*/
|
|
50
|
-
key?: string;
|
|
51
|
-
};
|
|
52
|
-
} | null;
|
|
53
|
-
export interface BaseEntity {
|
|
54
|
-
/**
|
|
55
|
-
* Entity ID
|
|
56
|
-
* example:
|
|
57
|
-
* 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
|
58
|
-
*/
|
|
59
|
-
_id?: string;
|
|
60
|
-
/**
|
|
61
|
-
* Entity title
|
|
62
|
-
*/
|
|
63
|
-
_title?: string;
|
|
64
|
-
/**
|
|
65
|
-
* Ivy Organization ID the entity belongs to
|
|
66
|
-
* example:
|
|
67
|
-
* 206801
|
|
68
|
-
*/
|
|
69
|
-
_org?: string;
|
|
70
|
-
/**
|
|
71
|
-
* URL-friendly identifier for the entity schema
|
|
72
|
-
* example:
|
|
73
|
-
* message
|
|
74
|
-
*/
|
|
75
|
-
_schema?: string;
|
|
76
|
-
/**
|
|
77
|
-
* Entity tags
|
|
78
|
-
* example:
|
|
79
|
-
* [
|
|
80
|
-
* "automatic email template"
|
|
81
|
-
* ]
|
|
82
|
-
*/
|
|
83
|
-
_tags?: string[];
|
|
84
|
-
/**
|
|
85
|
-
* Created date
|
|
86
|
-
* example:
|
|
87
|
-
* 2021-02-09T12:41:43.662Z
|
|
88
|
-
*/
|
|
89
|
-
_created_at?: string; // date-time
|
|
90
|
-
/**
|
|
91
|
-
* Updated date
|
|
92
|
-
* example:
|
|
93
|
-
* 2021-02-10T09:14:31.990Z
|
|
94
|
-
*/
|
|
95
|
-
_updated_at?: string; // date-time
|
|
96
|
-
}
|
|
97
|
-
export interface Comment {
|
|
98
|
-
/**
|
|
99
|
-
* UUID v4
|
|
100
|
-
* example:
|
|
101
|
-
* d9159a41-1311-47fd-b026-b59401f3bf87
|
|
102
|
-
*/
|
|
103
|
-
_id?: string;
|
|
104
|
-
/**
|
|
105
|
-
* Entity title
|
|
106
|
-
*/
|
|
107
|
-
_title?: string;
|
|
108
|
-
/**
|
|
109
|
-
* Ivy Organization ID the entity belongs to
|
|
110
|
-
* example:
|
|
111
|
-
* 206801
|
|
112
|
-
*/
|
|
113
|
-
_org?: string;
|
|
114
|
-
/**
|
|
115
|
-
* URL-friendly identifier for the entity schema
|
|
116
|
-
* example:
|
|
117
|
-
* message
|
|
118
|
-
*/
|
|
119
|
-
_schema?: string;
|
|
120
|
-
/**
|
|
121
|
-
* Tags
|
|
122
|
-
* example:
|
|
123
|
-
* [
|
|
124
|
-
* "automatic email template",
|
|
125
|
-
* "discussion",
|
|
126
|
-
* "comment"
|
|
127
|
-
* ]
|
|
128
|
-
*/
|
|
129
|
-
_tags?: string[];
|
|
130
|
-
/**
|
|
131
|
-
* Created at
|
|
132
|
-
* example:
|
|
133
|
-
* 2021-02-10T09:14:31.990Z
|
|
134
|
-
*/
|
|
135
|
-
_created_at?: string; // date-time
|
|
136
|
-
/**
|
|
137
|
-
* Updated at
|
|
138
|
-
* example:
|
|
139
|
-
* 2021-02-10T09:14:31.990Z
|
|
140
|
-
*/
|
|
141
|
-
_updated_at?: string; // date-time
|
|
142
|
-
/**
|
|
143
|
-
* ID of the context the comment belongs to (entity ID, workflow ID, activity ID, opportunity ID,…)
|
|
144
|
-
* example:
|
|
145
|
-
* d9159a41-1311-47fd-b026-b59401f3bf87
|
|
146
|
-
*/
|
|
147
|
-
context_id?: string;
|
|
148
|
-
/**
|
|
149
|
-
* Thread ID - available when the comment is a reply to thread.
|
|
150
|
-
* example:
|
|
151
|
-
* 6a838adf-a579-4ffd-9e6c-630a09fa025a
|
|
152
|
-
*/
|
|
153
|
-
thread_id?: string;
|
|
154
|
-
/**
|
|
155
|
-
* Title
|
|
156
|
-
* example:
|
|
157
|
-
* Discussion
|
|
158
|
-
*/
|
|
159
|
-
title?: string;
|
|
160
|
-
/**
|
|
161
|
-
* name
|
|
162
|
-
* example:
|
|
163
|
-
* I want to trigger a discussion about when we delivery the facilities to customer.
|
|
164
|
-
*/
|
|
165
|
-
content?: string;
|
|
166
|
-
/**
|
|
167
|
-
* Attachments
|
|
168
|
-
*/
|
|
169
|
-
attachments?: Attachment[];
|
|
170
|
-
/**
|
|
171
|
-
* Reactions
|
|
172
|
-
*/
|
|
173
|
-
reactions?: Reaction[];
|
|
174
|
-
/**
|
|
175
|
-
* Last edit time of author
|
|
176
|
-
* example:
|
|
177
|
-
* 2021-02-10T09:14:31.990Z
|
|
178
|
-
*/
|
|
179
|
-
edited_at?: string; // date-time
|
|
180
|
-
/**
|
|
181
|
-
* Created by
|
|
182
|
-
* example:
|
|
183
|
-
* 1234
|
|
184
|
-
*/
|
|
185
|
-
created_by?: number;
|
|
186
|
-
/**
|
|
187
|
-
* Updated by
|
|
188
|
-
* example:
|
|
189
|
-
* 1234
|
|
190
|
-
*/
|
|
191
|
-
updated_by?: number;
|
|
192
|
-
}
|
|
193
|
-
export interface Reaction {
|
|
194
|
-
/**
|
|
195
|
-
* Emoji
|
|
196
|
-
* example:
|
|
197
|
-
* like
|
|
198
|
-
*/
|
|
199
|
-
emoji?: string;
|
|
200
|
-
/**
|
|
201
|
-
* User ID who reacted
|
|
202
|
-
* example:
|
|
203
|
-
* 12345
|
|
204
|
-
*/
|
|
205
|
-
user_id?: number;
|
|
206
|
-
}
|
|
207
|
-
export interface User {
|
|
208
|
-
/**
|
|
209
|
-
* example:
|
|
210
|
-
* 12345
|
|
211
|
-
*/
|
|
212
|
-
id?: string;
|
|
213
|
-
/**
|
|
214
|
-
* example:
|
|
215
|
-
* 23456
|
|
216
|
-
*/
|
|
217
|
-
organization_id?: string;
|
|
218
|
-
/**
|
|
219
|
-
* example:
|
|
220
|
-
* 2022-02-08T04:44:32.246Z
|
|
221
|
-
*/
|
|
222
|
-
created_at?: string;
|
|
223
|
-
/**
|
|
224
|
-
* User's display name (default: email address)
|
|
225
|
-
* example:
|
|
226
|
-
* Example User
|
|
227
|
-
*/
|
|
228
|
-
display_name?: string;
|
|
229
|
-
status?: "Active" | "Pending" | "Deactivated" | "Deleted";
|
|
230
|
-
email?: string; // email
|
|
231
|
-
draft_email?: string | null; // email
|
|
232
|
-
/**
|
|
233
|
-
* example:
|
|
234
|
-
* 1234567890
|
|
235
|
-
*/
|
|
236
|
-
phone?: string | null;
|
|
237
|
-
/**
|
|
238
|
-
* example:
|
|
239
|
-
* de
|
|
240
|
-
*/
|
|
241
|
-
preferred_language?: string;
|
|
242
|
-
/**
|
|
243
|
-
* example:
|
|
244
|
-
* 65dc527f-cb2d-4158-8f2e-8978dbceb599
|
|
245
|
-
*/
|
|
246
|
-
token?: string;
|
|
247
|
-
/**
|
|
248
|
-
* example:
|
|
249
|
-
* <p>Thanks</p>
|
|
250
|
-
*/
|
|
251
|
-
signature?: string;
|
|
252
|
-
/**
|
|
253
|
-
* example:
|
|
254
|
-
* true
|
|
255
|
-
*/
|
|
256
|
-
is_signature_enabled?: boolean;
|
|
257
|
-
/**
|
|
258
|
-
* example:
|
|
259
|
-
* {
|
|
260
|
-
* "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
|
|
261
|
-
* "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
|
|
262
|
-
* }
|
|
263
|
-
*/
|
|
264
|
-
image_uri?: {
|
|
265
|
-
[name: string]: any;
|
|
266
|
-
original?: string; // uri
|
|
267
|
-
thumbnail_32?: string; // uri
|
|
268
|
-
};
|
|
269
|
-
properties?: {
|
|
270
|
-
/**
|
|
271
|
-
* example:
|
|
272
|
-
* profileImageName
|
|
273
|
-
*/
|
|
274
|
-
name: string;
|
|
275
|
-
/**
|
|
276
|
-
* example:
|
|
277
|
-
* avatar.png
|
|
278
|
-
*/
|
|
279
|
-
value: string;
|
|
280
|
-
}[];
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
declare namespace Paths {
|
|
285
|
-
namespace CreateComment {
|
|
286
|
-
export type RequestBody = Components.Schemas.Comment;
|
|
287
|
-
namespace Responses {
|
|
288
|
-
export type $201 = Components.Schemas.Comment;
|
|
289
|
-
export interface $403 {
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
namespace DeleteComment {
|
|
294
|
-
namespace Parameters {
|
|
295
|
-
export type Id = string;
|
|
296
|
-
}
|
|
297
|
-
export interface PathParameters {
|
|
298
|
-
id: Parameters.Id;
|
|
299
|
-
}
|
|
300
|
-
namespace Responses {
|
|
301
|
-
export interface $204 {
|
|
302
|
-
}
|
|
303
|
-
export interface $403 {
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
namespace GetComment {
|
|
308
|
-
namespace Parameters {
|
|
309
|
-
export type Id = string;
|
|
310
|
-
}
|
|
311
|
-
export interface PathParameters {
|
|
312
|
-
id: Parameters.Id;
|
|
313
|
-
}
|
|
314
|
-
namespace Responses {
|
|
315
|
-
export type $200 = Components.Schemas.Comment;
|
|
316
|
-
export interface $403 {
|
|
317
|
-
}
|
|
318
|
-
export interface $404 {
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
namespace GetMentionableUsers {
|
|
323
|
-
namespace Parameters {
|
|
324
|
-
export type Id = string;
|
|
325
|
-
}
|
|
326
|
-
export interface PathParameters {
|
|
327
|
-
id: Parameters.Id;
|
|
328
|
-
}
|
|
329
|
-
namespace Responses {
|
|
330
|
-
export type $200 = Components.Schemas.User[];
|
|
331
|
-
export interface $403 {
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
namespace GetThreadComments {
|
|
336
|
-
namespace Parameters {
|
|
337
|
-
export type Id = string;
|
|
338
|
-
export type Limit = number;
|
|
339
|
-
export type Offset = number;
|
|
340
|
-
}
|
|
341
|
-
export interface PathParameters {
|
|
342
|
-
id: Parameters.Id;
|
|
343
|
-
}
|
|
344
|
-
export interface QueryParameters {
|
|
345
|
-
limit?: Parameters.Limit;
|
|
346
|
-
offset?: Parameters.Offset;
|
|
347
|
-
}
|
|
348
|
-
namespace Responses {
|
|
349
|
-
export interface $200 {
|
|
350
|
-
/**
|
|
351
|
-
* Total comments in a thread
|
|
352
|
-
* example:
|
|
353
|
-
* 15
|
|
354
|
-
*/
|
|
355
|
-
hits?: number;
|
|
356
|
-
/**
|
|
357
|
-
* Comments
|
|
358
|
-
*/
|
|
359
|
-
results?: Components.Schemas.Comment[];
|
|
360
|
-
}
|
|
361
|
-
export interface $403 {
|
|
362
|
-
}
|
|
363
|
-
export interface $404 {
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
namespace GetThreadsByContext {
|
|
368
|
-
namespace Parameters {
|
|
369
|
-
export type Id = string;
|
|
370
|
-
export type Limit = number;
|
|
371
|
-
export type Offset = number;
|
|
372
|
-
}
|
|
373
|
-
export interface PathParameters {
|
|
374
|
-
id: Parameters.Id;
|
|
375
|
-
}
|
|
376
|
-
export interface QueryParameters {
|
|
377
|
-
limit?: Parameters.Limit;
|
|
378
|
-
offset?: Parameters.Offset;
|
|
379
|
-
}
|
|
380
|
-
namespace Responses {
|
|
381
|
-
export interface $200 {
|
|
382
|
-
/**
|
|
383
|
-
* Total threads of context
|
|
384
|
-
* example:
|
|
385
|
-
* 15
|
|
386
|
-
*/
|
|
387
|
-
hits?: number;
|
|
388
|
-
/**
|
|
389
|
-
* Threads
|
|
390
|
-
*/
|
|
391
|
-
results?: Components.Schemas.Comment[];
|
|
392
|
-
}
|
|
393
|
-
export interface $403 {
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
namespace UpdateComment {
|
|
398
|
-
namespace Parameters {
|
|
399
|
-
export type Id = string;
|
|
400
|
-
}
|
|
401
|
-
export interface PathParameters {
|
|
402
|
-
id: Parameters.Id;
|
|
403
|
-
}
|
|
404
|
-
export type RequestBody = Components.Schemas.Comment;
|
|
405
|
-
namespace Responses {
|
|
406
|
-
export type $200 = Components.Schemas.Comment;
|
|
407
|
-
export interface $403 {
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
interface OperationMethods {
|
|
415
|
-
/**
|
|
416
|
-
* createComment - Create comment
|
|
417
|
-
*
|
|
418
|
-
* Create a comment.
|
|
419
|
-
*/
|
|
420
|
-
'createComment'(
|
|
421
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
422
|
-
data?: Paths.CreateComment.RequestBody,
|
|
423
|
-
config?: AxiosRequestConfig
|
|
424
|
-
): OperationResponse<Paths.CreateComment.Responses.$201>
|
|
425
|
-
/**
|
|
426
|
-
* getComment - Get comment
|
|
427
|
-
*
|
|
428
|
-
* Get comment by ID
|
|
429
|
-
*/
|
|
430
|
-
'getComment'(
|
|
431
|
-
parameters?: Parameters<Paths.GetComment.PathParameters> | null,
|
|
432
|
-
data?: any,
|
|
433
|
-
config?: AxiosRequestConfig
|
|
434
|
-
): OperationResponse<Paths.GetComment.Responses.$200>
|
|
435
|
-
/**
|
|
436
|
-
* updateComment - Update comment
|
|
437
|
-
*
|
|
438
|
-
* Update a comment.
|
|
439
|
-
*/
|
|
440
|
-
'updateComment'(
|
|
441
|
-
parameters?: Parameters<Paths.UpdateComment.PathParameters> | null,
|
|
442
|
-
data?: Paths.UpdateComment.RequestBody,
|
|
443
|
-
config?: AxiosRequestConfig
|
|
444
|
-
): OperationResponse<Paths.UpdateComment.Responses.$200>
|
|
445
|
-
/**
|
|
446
|
-
* deleteComment - Delete comment
|
|
447
|
-
*
|
|
448
|
-
* Immediately and permanently deletes the specified comment. If the comment is the one that triggered a discussion thread, all comments belong to this thread will be deleted as well. This operation cannot be undone.
|
|
449
|
-
*/
|
|
450
|
-
'deleteComment'(
|
|
451
|
-
parameters?: Parameters<Paths.DeleteComment.PathParameters> | null,
|
|
452
|
-
data?: any,
|
|
453
|
-
config?: AxiosRequestConfig
|
|
454
|
-
): OperationResponse<Paths.DeleteComment.Responses.$204>
|
|
455
|
-
/**
|
|
456
|
-
* getThreadsByContext - Get threads by context
|
|
457
|
-
*
|
|
458
|
-
* Get the comments that are treated as first comment of a thread. The fully thread will be get separately.
|
|
459
|
-
*/
|
|
460
|
-
'getThreadsByContext'(
|
|
461
|
-
parameters?: Parameters<Paths.GetThreadsByContext.QueryParameters & Paths.GetThreadsByContext.PathParameters> | null,
|
|
462
|
-
data?: any,
|
|
463
|
-
config?: AxiosRequestConfig
|
|
464
|
-
): OperationResponse<Paths.GetThreadsByContext.Responses.$200>
|
|
465
|
-
/**
|
|
466
|
-
* getMentionableUsers - Get list of users for mention list of a context.
|
|
467
|
-
*
|
|
468
|
-
* Get list of users for mention list including entity owner's users & shared users.
|
|
469
|
-
*/
|
|
470
|
-
'getMentionableUsers'(
|
|
471
|
-
parameters?: Parameters<Paths.GetMentionableUsers.PathParameters> | null,
|
|
472
|
-
data?: any,
|
|
473
|
-
config?: AxiosRequestConfig
|
|
474
|
-
): OperationResponse<Paths.GetMentionableUsers.Responses.$200>
|
|
475
|
-
/**
|
|
476
|
-
* getThreadComments - Get thread comments
|
|
477
|
-
*
|
|
478
|
-
* Get comments belong to a thread
|
|
479
|
-
*/
|
|
480
|
-
'getThreadComments'(
|
|
481
|
-
parameters?: Parameters<Paths.GetThreadComments.QueryParameters & Paths.GetThreadComments.PathParameters> | null,
|
|
482
|
-
data?: any,
|
|
483
|
-
config?: AxiosRequestConfig
|
|
484
|
-
): OperationResponse<Paths.GetThreadComments.Responses.$200>
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
interface PathsDictionary {
|
|
488
|
-
['/v1/comments']: {
|
|
489
|
-
/**
|
|
490
|
-
* createComment - Create comment
|
|
491
|
-
*
|
|
492
|
-
* Create a comment.
|
|
493
|
-
*/
|
|
494
|
-
'post'(
|
|
495
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
496
|
-
data?: Paths.CreateComment.RequestBody,
|
|
497
|
-
config?: AxiosRequestConfig
|
|
498
|
-
): OperationResponse<Paths.CreateComment.Responses.$201>
|
|
499
|
-
}
|
|
500
|
-
['/v1/comments/{id}']: {
|
|
501
|
-
/**
|
|
502
|
-
* updateComment - Update comment
|
|
503
|
-
*
|
|
504
|
-
* Update a comment.
|
|
505
|
-
*/
|
|
506
|
-
'put'(
|
|
507
|
-
parameters?: Parameters<Paths.UpdateComment.PathParameters> | null,
|
|
508
|
-
data?: Paths.UpdateComment.RequestBody,
|
|
509
|
-
config?: AxiosRequestConfig
|
|
510
|
-
): OperationResponse<Paths.UpdateComment.Responses.$200>
|
|
511
|
-
/**
|
|
512
|
-
* getComment - Get comment
|
|
513
|
-
*
|
|
514
|
-
* Get comment by ID
|
|
515
|
-
*/
|
|
516
|
-
'get'(
|
|
517
|
-
parameters?: Parameters<Paths.GetComment.PathParameters> | null,
|
|
518
|
-
data?: any,
|
|
519
|
-
config?: AxiosRequestConfig
|
|
520
|
-
): OperationResponse<Paths.GetComment.Responses.$200>
|
|
521
|
-
/**
|
|
522
|
-
* deleteComment - Delete comment
|
|
523
|
-
*
|
|
524
|
-
* Immediately and permanently deletes the specified comment. If the comment is the one that triggered a discussion thread, all comments belong to this thread will be deleted as well. This operation cannot be undone.
|
|
525
|
-
*/
|
|
526
|
-
'delete'(
|
|
527
|
-
parameters?: Parameters<Paths.DeleteComment.PathParameters> | null,
|
|
528
|
-
data?: any,
|
|
529
|
-
config?: AxiosRequestConfig
|
|
530
|
-
): OperationResponse<Paths.DeleteComment.Responses.$204>
|
|
531
|
-
}
|
|
532
|
-
['/v1/contexts/{id}/threads']: {
|
|
533
|
-
/**
|
|
534
|
-
* getThreadsByContext - Get threads by context
|
|
535
|
-
*
|
|
536
|
-
* Get the comments that are treated as first comment of a thread. The fully thread will be get separately.
|
|
537
|
-
*/
|
|
538
|
-
'get'(
|
|
539
|
-
parameters?: Parameters<Paths.GetThreadsByContext.QueryParameters & Paths.GetThreadsByContext.PathParameters> | null,
|
|
540
|
-
data?: any,
|
|
541
|
-
config?: AxiosRequestConfig
|
|
542
|
-
): OperationResponse<Paths.GetThreadsByContext.Responses.$200>
|
|
543
|
-
}
|
|
544
|
-
['/v1/contexts/{id}/mentionableUsers']: {
|
|
545
|
-
/**
|
|
546
|
-
* getMentionableUsers - Get list of users for mention list of a context.
|
|
547
|
-
*
|
|
548
|
-
* Get list of users for mention list including entity owner's users & shared users.
|
|
549
|
-
*/
|
|
550
|
-
'get'(
|
|
551
|
-
parameters?: Parameters<Paths.GetMentionableUsers.PathParameters> | null,
|
|
552
|
-
data?: any,
|
|
553
|
-
config?: AxiosRequestConfig
|
|
554
|
-
): OperationResponse<Paths.GetMentionableUsers.Responses.$200>
|
|
555
|
-
}
|
|
556
|
-
['/v1/threads/{id}']: {
|
|
557
|
-
/**
|
|
558
|
-
* getThreadComments - Get thread comments
|
|
559
|
-
*
|
|
560
|
-
* Get comments belong to a thread
|
|
561
|
-
*/
|
|
562
|
-
'get'(
|
|
563
|
-
parameters?: Parameters<Paths.GetThreadComments.QueryParameters & Paths.GetThreadComments.PathParameters> | null,
|
|
564
|
-
data?: any,
|
|
565
|
-
config?: AxiosRequestConfig
|
|
566
|
-
): OperationResponse<Paths.GetThreadComments.Responses.$200>
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
type Attachment = Components.Schemas.Attachment;
|
|
574
|
-
type BaseEntity = Components.Schemas.BaseEntity;
|
|
575
|
-
type Comment = Components.Schemas.Comment;
|
|
576
|
-
type Reaction = Components.Schemas.Reaction;
|
|
577
|
-
type User = Components.Schemas.User;
|
|
578
|
-
|
|
579
|
-
export type { Attachment as A, BaseEntity as B, Client as C, OperationMethods as O, PathsDictionary as P, Reaction as R, User as U, Comment as a };
|