@ai-matrx/api 0.1.11 → 0.1.13
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/CHANGELOG.md +6 -0
- package/dist/account.d.cts +2 -2
- package/dist/account.d.ts +2 -2
- package/dist/agents.cjs +34 -16
- package/dist/agents.d.cts +106 -12
- package/dist/agents.d.ts +106 -12
- package/dist/agents.js +22 -7
- package/dist/ai.cjs +3 -3
- package/dist/ai.d.cts +3 -3
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +2 -2
- package/dist/apps.cjs +5 -5
- package/dist/apps.d.cts +23 -4
- package/dist/apps.d.ts +23 -4
- package/dist/apps.js +1 -1
- package/dist/architecture.cjs +74 -26
- package/dist/architecture.d.cts +246 -20
- package/dist/architecture.d.ts +246 -20
- package/dist/architecture.js +56 -16
- package/dist/audio.cjs +4 -4
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +1 -1
- package/dist/chat.cjs +11 -11
- package/dist/chat.d.cts +7 -15
- package/dist/chat.d.ts +7 -15
- package/dist/chat.js +1 -1
- package/dist/{chunk-2ZHIYXHV.cjs → chunk-3DHXXNJP.cjs} +29 -6
- package/dist/{chunk-6KHHHBG5.js → chunk-YLAE6EOH.js} +30 -8
- package/dist/code.cjs +18 -6
- package/dist/code.d.cts +35 -3
- package/dist/code.d.ts +35 -3
- package/dist/code.js +12 -2
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +4 -4
- package/dist/communications.d.cts +2 -2
- package/dist/communications.d.ts +2 -2
- package/dist/communications.js +1 -1
- package/dist/computer.cjs +104 -3
- package/dist/computer.d.cts +368 -5
- package/dist/computer.d.ts +368 -5
- package/dist/computer.js +86 -2
- package/dist/content.cjs +43 -43
- package/dist/content.d.cts +133 -114
- package/dist/content.d.ts +133 -114
- package/dist/content.js +34 -34
- package/dist/crm.cjs +2 -2
- package/dist/crm.d.cts +20 -20
- package/dist/crm.d.ts +20 -20
- package/dist/crm.js +1 -1
- package/dist/data.cjs +73 -0
- package/dist/data.d.cts +466 -13
- package/dist/data.d.ts +466 -13
- package/dist/data.js +62 -1
- package/dist/education.cjs +4 -4
- package/dist/education.d.cts +2 -2
- package/dist/education.d.ts +2 -2
- package/dist/education.js +1 -1
- package/dist/files.cjs +21 -21
- package/dist/files.d.cts +14 -5
- package/dist/files.d.ts +14 -5
- package/dist/files.js +3 -3
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-Gj30ybjE.d.cts → index-YFW4xNti.d.cts} +5 -3
- package/dist/{index-Gj30ybjE.d.ts → index-YFW4xNti.d.ts} +5 -3
- package/dist/index.cjs +73 -69
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/integrations.cjs +113 -5
- package/dist/integrations.d.cts +389 -14
- package/dist/integrations.d.ts +389 -14
- package/dist/integrations.js +94 -4
- package/dist/intelligence.cjs +12 -6
- package/dist/intelligence.d.cts +69 -4
- package/dist/intelligence.d.ts +69 -4
- package/dist/intelligence.js +7 -2
- package/dist/knowledge.cjs +43 -43
- package/dist/knowledge.d.cts +4 -3
- package/dist/knowledge.d.ts +4 -3
- package/dist/knowledge.js +2 -2
- package/dist/legal.cjs +6 -6
- package/dist/legal.d.cts +2 -2
- package/dist/legal.d.ts +2 -2
- package/dist/legal.js +1 -1
- package/dist/marketing.cjs +134 -100
- package/dist/marketing.d.cts +151 -30
- package/dist/marketing.d.ts +151 -30
- package/dist/marketing.js +54 -26
- package/dist/masterwork.cjs +32 -32
- package/dist/masterwork.d.cts +2 -2
- package/dist/masterwork.d.ts +2 -2
- package/dist/masterwork.js +1 -1
- package/dist/media.cjs +11 -11
- package/dist/media.d.cts +11 -11
- package/dist/media.d.ts +11 -11
- package/dist/media.js +1 -1
- package/dist/platform.cjs +3 -3
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +1 -1
- package/dist/publish.cjs +7 -7
- package/dist/publish.d.cts +4 -2
- package/dist/publish.d.ts +4 -2
- package/dist/publish.js +1 -1
- package/dist/schemas.d.cts +16 -3
- package/dist/schemas.d.ts +16 -3
- package/dist/stream.cjs +10 -10
- package/dist/stream.d.cts +1 -1
- package/dist/stream.d.ts +1 -1
- package/dist/stream.js +1 -1
- package/dist/types.d.cts +1765 -149
- package/dist/types.d.ts +1765 -149
- package/dist/web.cjs +26 -26
- package/dist/web.d.cts +67 -23
- package/dist/web.d.ts +67 -23
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +19 -13
- package/dist/workflows.d.cts +39 -4
- package/dist/workflows.d.ts +39 -4
- package/dist/workflows.js +7 -2
- package/package.json +2 -2
package/dist/content.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-YFW4xNti.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 d1dd65662e3a41431aaf8b122d973c58c27ce4310caeb89ba3abd72b229a7383
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ChunkRow */
|
|
@@ -28,34 +28,12 @@ type ConflictResolveRequest = {
|
|
|
28
28
|
resolution?: string;
|
|
29
29
|
merged_content?: string | null;
|
|
30
30
|
};
|
|
31
|
-
/** ContentBlockDetailResponse */
|
|
32
|
-
type ContentBlockDetailResponse = {
|
|
33
|
-
content_block: {
|
|
34
|
-
[key: string]: JsonValue;
|
|
35
|
-
};
|
|
36
|
-
related: JsonValue;
|
|
37
|
-
};
|
|
38
|
-
/** ContentBlockListResponse */
|
|
39
|
-
type ContentBlockListResponse = {
|
|
40
|
-
content_blocks?: {
|
|
41
|
-
[key: string]: JsonValue;
|
|
42
|
-
}[];
|
|
43
|
-
count: number;
|
|
44
|
-
category_id?: string | null;
|
|
45
|
-
};
|
|
46
31
|
/** ContentType */
|
|
47
32
|
type ContentType = "generic" | "transcript" | "conversation" | "document";
|
|
48
|
-
/** CreateFolderRequest */
|
|
49
|
-
type CreateFolderRequest_MatrxLocal = {
|
|
50
|
-
name: string;
|
|
51
|
-
parent_id?: string | null;
|
|
52
|
-
};
|
|
53
33
|
/** CreateNoteRequest */
|
|
54
34
|
type CreateNoteRequest = {
|
|
55
35
|
label?: string;
|
|
56
36
|
content?: string;
|
|
57
|
-
folder_name?: string;
|
|
58
|
-
folder_id?: string | null;
|
|
59
37
|
tags?: string[];
|
|
60
38
|
metadata?: {
|
|
61
39
|
[key: string]: unknown;
|
|
@@ -167,6 +145,48 @@ type EsignActArgs = {
|
|
|
167
145
|
document_ids?: string[] | null;
|
|
168
146
|
time_zone?: string | null;
|
|
169
147
|
};
|
|
148
|
+
/** EsignAddRecipientBody */
|
|
149
|
+
type EsignAddRecipientBody = {
|
|
150
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
151
|
+
organization_id?: string | null;
|
|
152
|
+
/** Optional associated project selected by the caller. */
|
|
153
|
+
project_id?: string | null;
|
|
154
|
+
/** Optional associated task selected by the caller. */
|
|
155
|
+
task_id?: string | null;
|
|
156
|
+
/** Stable application slug that initiated the request. */
|
|
157
|
+
source_app?: string | null;
|
|
158
|
+
/** Stable feature slug within the source application. */
|
|
159
|
+
source_feature?: string | null;
|
|
160
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
161
|
+
initiation?: ("user" | "auto") | null;
|
|
162
|
+
full_name: string;
|
|
163
|
+
email: string;
|
|
164
|
+
role?: "signer" | "cc_recipient" | "viewer" | "approver";
|
|
165
|
+
position?: number;
|
|
166
|
+
verification?: "none" | "email_code" | "access_code";
|
|
167
|
+
access_code?: string | null;
|
|
168
|
+
user_id?: string | null;
|
|
169
|
+
};
|
|
170
|
+
/** Only what the sender changed; an omitted word stays as it is. */
|
|
171
|
+
type EsignCorrectBody = {
|
|
172
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
173
|
+
organization_id?: string | null;
|
|
174
|
+
/** Optional associated project selected by the caller. */
|
|
175
|
+
project_id?: string | null;
|
|
176
|
+
/** Optional associated task selected by the caller. */
|
|
177
|
+
task_id?: string | null;
|
|
178
|
+
/** Stable application slug that initiated the request. */
|
|
179
|
+
source_app?: string | null;
|
|
180
|
+
/** Stable feature slug within the source application. */
|
|
181
|
+
source_feature?: string | null;
|
|
182
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
183
|
+
initiation?: ("user" | "auto") | null;
|
|
184
|
+
full_name?: string | null;
|
|
185
|
+
email?: string | null;
|
|
186
|
+
verification?: ("none" | "email_code" | "access_code") | null;
|
|
187
|
+
access_code?: string | null;
|
|
188
|
+
position?: number | null;
|
|
189
|
+
};
|
|
170
190
|
/** EsignDetectFieldsAnswer */
|
|
171
191
|
type EsignDetectFieldsAnswer = {
|
|
172
192
|
candidates: EsignFieldCandidate[];
|
|
@@ -463,7 +483,7 @@ type EsignSendBody = {
|
|
|
463
483
|
};
|
|
464
484
|
/** EsignSendWarning */
|
|
465
485
|
type EsignSendWarning = {
|
|
466
|
-
code: "signer_without_signature_field";
|
|
486
|
+
code: "signer_without_signature_field" | "access_code_not_set";
|
|
467
487
|
recipient_key?: string | null;
|
|
468
488
|
};
|
|
469
489
|
/** EsignSignerInput */
|
|
@@ -591,9 +611,13 @@ type LineageTree = {
|
|
|
591
611
|
};
|
|
592
612
|
/** MappingRequest */
|
|
593
613
|
type MappingRequest = {
|
|
594
|
-
|
|
614
|
+
home_scope_id: string;
|
|
595
615
|
local_path: string;
|
|
596
616
|
};
|
|
617
|
+
/** MoveHomeRequest */
|
|
618
|
+
type MoveHomeRequest = {
|
|
619
|
+
home_scope_id: string;
|
|
620
|
+
};
|
|
597
621
|
/** NoteExcludeRequest */
|
|
598
622
|
type NoteExcludeRequest = {
|
|
599
623
|
excluded?: boolean;
|
|
@@ -789,7 +813,6 @@ type RevertRequest_MatrxLocal = {
|
|
|
789
813
|
/** ShareRequest */
|
|
790
814
|
type ShareRequest = {
|
|
791
815
|
note_id?: string | null;
|
|
792
|
-
folder_id?: string | null;
|
|
793
816
|
shared_with_id?: string | null;
|
|
794
817
|
permission?: string;
|
|
795
818
|
is_public?: boolean;
|
|
@@ -841,19 +864,11 @@ type SpreadsheetSpec = {
|
|
|
841
864
|
type SyncTriggerRequest = {
|
|
842
865
|
mode?: string;
|
|
843
866
|
};
|
|
844
|
-
/** UpdateFolderRequest */
|
|
845
|
-
type UpdateFolderRequest = {
|
|
846
|
-
name?: string | null;
|
|
847
|
-
parent_id?: string | null;
|
|
848
|
-
path?: string | null;
|
|
849
|
-
position?: number | null;
|
|
850
|
-
};
|
|
851
867
|
/** UpdateNoteRequest */
|
|
852
868
|
type UpdateNoteRequest = {
|
|
853
869
|
label?: string | null;
|
|
854
870
|
content?: string | null;
|
|
855
|
-
|
|
856
|
-
folder_id?: string | null;
|
|
871
|
+
home_scope_id?: string | null;
|
|
857
872
|
tags?: string[] | null;
|
|
858
873
|
metadata?: {
|
|
859
874
|
[key: string]: unknown;
|
|
@@ -944,6 +959,37 @@ type EsignResendResult = EsignEnvelopeActAnswer;
|
|
|
944
959
|
/** Esign Resend */
|
|
945
960
|
/** `POST /esign/envelopes/{envelope_id}/signers/{signer_id}/resend` · aidream · auth user · org required */
|
|
946
961
|
declare function esignResend(api: Api, args: EsignResendArgs, options?: CallOptions): Promise<EsignResendResult>;
|
|
962
|
+
type EsignCorrectArgs = {
|
|
963
|
+
path: {
|
|
964
|
+
envelope_id: string;
|
|
965
|
+
signer_id: string;
|
|
966
|
+
};
|
|
967
|
+
body: EsignCorrectBody;
|
|
968
|
+
};
|
|
969
|
+
type EsignCorrectResult = EsignEnvelopeActAnswer;
|
|
970
|
+
/** Esign Correct */
|
|
971
|
+
/** `POST /esign/envelopes/{envelope_id}/signers/{signer_id}/correct` · aidream · auth user · org required */
|
|
972
|
+
declare function esignCorrect(api: Api, args: EsignCorrectArgs, options?: CallOptions): Promise<EsignCorrectResult>;
|
|
973
|
+
type EsignAddRecipientArgs = {
|
|
974
|
+
path: {
|
|
975
|
+
envelope_id: string;
|
|
976
|
+
};
|
|
977
|
+
body: EsignAddRecipientBody;
|
|
978
|
+
};
|
|
979
|
+
type EsignAddRecipientResult = EsignEnvelopeActAnswer;
|
|
980
|
+
/** Esign Add Recipient */
|
|
981
|
+
/** `POST /esign/envelopes/{envelope_id}/signers` · aidream · auth user · org required */
|
|
982
|
+
declare function esignAddRecipient(api: Api, args: EsignAddRecipientArgs, options?: CallOptions): Promise<EsignAddRecipientResult>;
|
|
983
|
+
type EsignRemoveRecipientArgs = {
|
|
984
|
+
path: {
|
|
985
|
+
envelope_id: string;
|
|
986
|
+
signer_id: string;
|
|
987
|
+
};
|
|
988
|
+
};
|
|
989
|
+
type EsignRemoveRecipientResult = EsignEnvelopeActAnswer;
|
|
990
|
+
/** Esign Remove Recipient */
|
|
991
|
+
/** `DELETE /esign/envelopes/{envelope_id}/signers/{signer_id}` · aidream · auth user · org required */
|
|
992
|
+
declare function esignRemoveRecipient(api: Api, args: EsignRemoveRecipientArgs, options?: CallOptions): Promise<EsignRemoveRecipientResult>;
|
|
947
993
|
type EsignVoidArgs = {
|
|
948
994
|
path: {
|
|
949
995
|
envelope_id: string;
|
|
@@ -1008,31 +1054,6 @@ type EsignDetectFieldsResult = EsignDetectFieldsAnswer;
|
|
|
1008
1054
|
/** Esign Detect Fields */
|
|
1009
1055
|
/** `POST /esign/detect-fields` · aidream · auth user · org required */
|
|
1010
1056
|
declare function esignDetectFields(api: Api, args: EsignDetectFieldsArgs, options?: CallOptions): Promise<EsignDetectFieldsResult>;
|
|
1011
|
-
type GetAllContentBlocksArgs = {
|
|
1012
|
-
[key: string]: never;
|
|
1013
|
-
};
|
|
1014
|
-
type GetAllContentBlocksResult = ContentBlockListResponse;
|
|
1015
|
-
/** Get All Content Blocks */
|
|
1016
|
-
/** `GET /content-blocks` · aidream · auth guest · org optional */
|
|
1017
|
-
declare function getAllContentBlocks(api: Api, args?: GetAllContentBlocksArgs, options?: CallOptions): Promise<GetAllContentBlocksResult>;
|
|
1018
|
-
type GetContentBlocksByCategoryArgs = {
|
|
1019
|
-
path: {
|
|
1020
|
-
category_id: string;
|
|
1021
|
-
};
|
|
1022
|
-
};
|
|
1023
|
-
type GetContentBlocksByCategoryResult = ContentBlockListResponse;
|
|
1024
|
-
/** Get Content Blocks By Category */
|
|
1025
|
-
/** `GET /content-blocks/category/{category_id}` · aidream · auth guest · org optional */
|
|
1026
|
-
declare function getContentBlocksByCategory(api: Api, args: GetContentBlocksByCategoryArgs, options?: CallOptions): Promise<GetContentBlocksByCategoryResult>;
|
|
1027
|
-
type GetContentBlockByIdArgs = {
|
|
1028
|
-
path: {
|
|
1029
|
-
block_id: string;
|
|
1030
|
-
};
|
|
1031
|
-
};
|
|
1032
|
-
type GetContentBlockByIdResult = ContentBlockDetailResponse;
|
|
1033
|
-
/** Get Content Block By Id */
|
|
1034
|
-
/** `GET /content-blocks/{block_id}` · aidream · auth guest · org optional */
|
|
1035
|
-
declare function getContentBlockById(api: Api, args: GetContentBlockByIdArgs, options?: CallOptions): Promise<GetContentBlockByIdResult>;
|
|
1036
1057
|
type FindDocumentByCldFileArgs = {
|
|
1037
1058
|
path: {
|
|
1038
1059
|
cld_file_id: string;
|
|
@@ -1121,7 +1142,7 @@ type CaptureArgs = {
|
|
|
1121
1142
|
};
|
|
1122
1143
|
type CaptureResult = RenderedCaptureResponse;
|
|
1123
1144
|
/** Capture */
|
|
1124
|
-
/** `POST /rendered-output/capture` · aidream · auth
|
|
1145
|
+
/** `POST /rendered-output/capture` · aidream · auth guest · org required */
|
|
1125
1146
|
declare function capture(api: Api, args: CaptureArgs, options?: CallOptions): Promise<CaptureResult>;
|
|
1126
1147
|
type ProcessBlocksArgs = {
|
|
1127
1148
|
body: ProcessBlocksRequest;
|
|
@@ -1187,50 +1208,48 @@ type LabelResult = LabelMetadata;
|
|
|
1187
1208
|
/** Label content with GLiNER2 */
|
|
1188
1209
|
/** `POST /content-label` · aidream · auth guest · org required */
|
|
1189
1210
|
declare function label(api: Api, args: LabelArgs, options?: CallOptions): Promise<LabelResult>;
|
|
1190
|
-
type
|
|
1211
|
+
type GetHomesTreeArgs = {
|
|
1191
1212
|
[key: string]: never;
|
|
1192
1213
|
};
|
|
1193
|
-
type
|
|
1214
|
+
type GetHomesTreeResult = {
|
|
1194
1215
|
[key: string]: unknown;
|
|
1195
1216
|
};
|
|
1196
|
-
/** Get
|
|
1217
|
+
/** Get Homes Tree */
|
|
1197
1218
|
/** `GET /notes/tree` · matrx-local · auth loopback_token · org exempt */
|
|
1198
|
-
declare function
|
|
1199
|
-
type
|
|
1200
|
-
|
|
1219
|
+
declare function getHomesTree(api: Api, args?: GetHomesTreeArgs, options?: CallOptions): Promise<GetHomesTreeResult>;
|
|
1220
|
+
type ListHomesArgs = {
|
|
1221
|
+
[key: string]: never;
|
|
1201
1222
|
};
|
|
1202
|
-
type
|
|
1223
|
+
type ListHomesResult = {
|
|
1203
1224
|
[key: string]: unknown;
|
|
1204
1225
|
};
|
|
1205
|
-
/**
|
|
1206
|
-
/** `
|
|
1207
|
-
declare function
|
|
1208
|
-
type
|
|
1209
|
-
|
|
1210
|
-
folder_id: string;
|
|
1211
|
-
};
|
|
1212
|
-
body: UpdateFolderRequest;
|
|
1226
|
+
/** List Homes */
|
|
1227
|
+
/** `GET /notes/homes` · matrx-local · auth loopback_token · org exempt */
|
|
1228
|
+
declare function listHomes(api: Api, args?: ListHomesArgs, options?: CallOptions): Promise<ListHomesResult>;
|
|
1229
|
+
type HomeNoticesArgs = {
|
|
1230
|
+
[key: string]: never;
|
|
1213
1231
|
};
|
|
1214
|
-
type
|
|
1232
|
+
type HomeNoticesResult = {
|
|
1215
1233
|
[key: string]: unknown;
|
|
1216
1234
|
};
|
|
1217
|
-
/**
|
|
1218
|
-
/** `
|
|
1219
|
-
declare function
|
|
1220
|
-
type
|
|
1235
|
+
/** Home Notices */
|
|
1236
|
+
/** `GET /notes/home-notices` · matrx-local · auth loopback_token · org exempt */
|
|
1237
|
+
declare function homeNotices(api: Api, args?: HomeNoticesArgs, options?: CallOptions): Promise<HomeNoticesResult>;
|
|
1238
|
+
type MoveNoteHomeArgs = {
|
|
1221
1239
|
path: {
|
|
1222
|
-
|
|
1240
|
+
note_id: string;
|
|
1223
1241
|
};
|
|
1242
|
+
body: MoveHomeRequest;
|
|
1224
1243
|
};
|
|
1225
|
-
type
|
|
1226
|
-
[key: string]:
|
|
1244
|
+
type MoveNoteHomeResult = {
|
|
1245
|
+
[key: string]: unknown;
|
|
1227
1246
|
};
|
|
1228
|
-
/**
|
|
1229
|
-
/** `
|
|
1230
|
-
declare function
|
|
1247
|
+
/** Move Note Home */
|
|
1248
|
+
/** `POST /notes/notes/{note_id}/home` · matrx-local · auth loopback_token · org exempt */
|
|
1249
|
+
declare function moveNoteHome(api: Api, args: MoveNoteHomeArgs, options?: CallOptions): Promise<MoveNoteHomeResult>;
|
|
1231
1250
|
type ListNotesArgs = {
|
|
1232
1251
|
query?: {
|
|
1233
|
-
|
|
1252
|
+
home_scope_id?: string | null;
|
|
1234
1253
|
search?: string | null;
|
|
1235
1254
|
};
|
|
1236
1255
|
};
|
|
@@ -1486,7 +1505,7 @@ type DeleteMappingArgs = {
|
|
|
1486
1505
|
mapping_id: string;
|
|
1487
1506
|
};
|
|
1488
1507
|
query?: {
|
|
1489
|
-
|
|
1508
|
+
home_scope_id?: string | null;
|
|
1490
1509
|
local_path?: string | null;
|
|
1491
1510
|
};
|
|
1492
1511
|
};
|
|
@@ -1565,6 +1584,18 @@ interface Operations {
|
|
|
1565
1584
|
args: EsignResendArgs;
|
|
1566
1585
|
result: EsignResendResult;
|
|
1567
1586
|
};
|
|
1587
|
+
"POST /esign/envelopes/{envelope_id}/signers/{signer_id}/correct": {
|
|
1588
|
+
args: EsignCorrectArgs;
|
|
1589
|
+
result: EsignCorrectResult;
|
|
1590
|
+
};
|
|
1591
|
+
"POST /esign/envelopes/{envelope_id}/signers": {
|
|
1592
|
+
args: EsignAddRecipientArgs;
|
|
1593
|
+
result: EsignAddRecipientResult;
|
|
1594
|
+
};
|
|
1595
|
+
"DELETE /esign/envelopes/{envelope_id}/signers/{signer_id}": {
|
|
1596
|
+
args: EsignRemoveRecipientArgs;
|
|
1597
|
+
result: EsignRemoveRecipientResult;
|
|
1598
|
+
};
|
|
1568
1599
|
"POST /esign/envelopes/{envelope_id}/void": {
|
|
1569
1600
|
args: EsignVoidArgs;
|
|
1570
1601
|
result: EsignVoidResult;
|
|
@@ -1593,18 +1624,6 @@ interface Operations {
|
|
|
1593
1624
|
args: EsignDetectFieldsArgs;
|
|
1594
1625
|
result: EsignDetectFieldsResult;
|
|
1595
1626
|
};
|
|
1596
|
-
"GET /content-blocks": {
|
|
1597
|
-
args: GetAllContentBlocksArgs;
|
|
1598
|
-
result: GetAllContentBlocksResult;
|
|
1599
|
-
};
|
|
1600
|
-
"GET /content-blocks/category/{category_id}": {
|
|
1601
|
-
args: GetContentBlocksByCategoryArgs;
|
|
1602
|
-
result: GetContentBlocksByCategoryResult;
|
|
1603
|
-
};
|
|
1604
|
-
"GET /content-blocks/{block_id}": {
|
|
1605
|
-
args: GetContentBlockByIdArgs;
|
|
1606
|
-
result: GetContentBlockByIdResult;
|
|
1607
|
-
};
|
|
1608
1627
|
"GET /document/by-cld-file/{cld_file_id}": {
|
|
1609
1628
|
args: FindDocumentByCldFileArgs;
|
|
1610
1629
|
result: FindDocumentByCldFileResult;
|
|
@@ -1658,20 +1677,20 @@ interface Operations {
|
|
|
1658
1677
|
result: LabelResult;
|
|
1659
1678
|
};
|
|
1660
1679
|
"GET /notes/tree": {
|
|
1661
|
-
args:
|
|
1662
|
-
result:
|
|
1680
|
+
args: GetHomesTreeArgs;
|
|
1681
|
+
result: GetHomesTreeResult;
|
|
1663
1682
|
};
|
|
1664
|
-
"
|
|
1665
|
-
args:
|
|
1666
|
-
result:
|
|
1683
|
+
"GET /notes/homes": {
|
|
1684
|
+
args: ListHomesArgs;
|
|
1685
|
+
result: ListHomesResult;
|
|
1667
1686
|
};
|
|
1668
|
-
"
|
|
1669
|
-
args:
|
|
1670
|
-
result:
|
|
1687
|
+
"GET /notes/home-notices": {
|
|
1688
|
+
args: HomeNoticesArgs;
|
|
1689
|
+
result: HomeNoticesResult;
|
|
1671
1690
|
};
|
|
1672
|
-
"
|
|
1673
|
-
args:
|
|
1674
|
-
result:
|
|
1691
|
+
"POST /notes/notes/{note_id}/home": {
|
|
1692
|
+
args: MoveNoteHomeArgs;
|
|
1693
|
+
result: MoveNoteHomeResult;
|
|
1675
1694
|
};
|
|
1676
1695
|
"GET /notes/notes": {
|
|
1677
1696
|
args: ListNotesArgs;
|
|
@@ -1793,4 +1812,4 @@ interface Operations {
|
|
|
1793
1812
|
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
1794
1813
|
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
1795
1814
|
|
|
1796
|
-
export { type CaptureArgs, type CaptureResult, type ChunkRow, type ConflictResolveRequest, type
|
|
1815
|
+
export { type CaptureArgs, type CaptureResult, type ChunkRow, type ConflictResolveRequest, type ContentType, type ConvertOfficeFileArgs, type ConvertOfficeFileResult, type CreateMappingArgs, type CreateMappingResult, type CreateNoteArgs, type CreateNoteRequest, type CreateNoteResult, type CreateShareArgs, type CreateShareResult, type DeleteMappingArgs, type DeleteMappingResult, type DeleteNoteArgs, type DeleteNoteResult, type DeleteShareArgs, type DeleteShareResult, type DocBlock, type DocumentDetail, type DocumentLineage, type DocumentLookupResult, type DocumentSpec, type EsignActArgs, type EsignAddRecipientArgs, type EsignAddRecipientBody, type EsignAddRecipientResult, type EsignCorrectArgs, type EsignCorrectBody, type EsignCorrectResult, type EsignDetectFieldsAnswer, type EsignDetectFieldsArgs, type EsignDetectFieldsBody, type EsignDetectFieldsResult, type EsignDownloadAnswer, type EsignDownloadArgs, type EsignDownloadBody, type EsignDownloadFile, type EsignDownloadResult, type EsignDraftSendAnswer, type EsignDraftSendArgs, type EsignDraftSendBody, type EsignDraftSendResult, type EsignEnvelopeActAnswer, type EsignFieldCandidate, type EsignFieldInput, type EsignFinalizeAnswer, type EsignFinalizeArgs, type EsignFinalizeResult, type EsignHandoffOpenAnswer, type EsignHandoffOpenArgs, type EsignHandoffOpenBody, type EsignHandoffOpenResult, type EsignHandoffSubmitAnswer, type EsignHandoffSubmitArgs, type EsignHandoffSubmitBody, type EsignHandoffSubmitResult, type EsignInternalActArgs, type EsignInternalActBody, type EsignInternalActResult, type EsignOutsiderActArgs, type EsignOutsiderActBody, type EsignOutsiderActResult, type EsignOutsiderCodeAnswer, type EsignOutsiderCodeArgs, type EsignOutsiderCodeResult, type EsignOutsiderOpenAnswer, type EsignOutsiderOpenArgs, type EsignOutsiderOpenResult, type EsignOutsiderVerifyAnswer, type EsignOutsiderVerifyArgs, type EsignOutsiderVerifyResult, type EsignRemindArgs, type EsignRemindResult, type EsignRemoveRecipientArgs, type EsignRemoveRecipientResult, type EsignResendArgs, type EsignResendBody, type EsignResendResult, type EsignSecretBody, type EsignSendAnswer, type EsignSendArgs, type EsignSendBody, type EsignSendResult, type EsignSendWarning, type EsignSignedCopyArgs, type EsignSignedCopyResult, type EsignSignerInput, type EsignSigningAnswer, type EsignVerifyArgs, type EsignVerifyBody, type EsignVerifyResult, type EsignVoidArgs, type EsignVoidBody, type EsignVoidResult, type ExtractOfficeMarkdownArgs, type ExtractOfficeMarkdownResult, type FindDocumentByCldFileArgs, type FindDocumentByCldFileResult, type GenerateOfficeArgs, type GenerateOfficeResult, type GetDocumentChunksArgs, type GetDocumentChunksResult, type GetDocumentLineageArgs, type GetDocumentLineageResult, type GetDocumentOverviewArgs, type GetDocumentOverviewResult, type GetDocumentPageArgs, type GetDocumentPageImageArgs, type GetDocumentPageImageResult, type GetDocumentPageResult, type GetDocumentPagesArgs, type GetDocumentPagesResult, type GetHomesTreeArgs, type GetHomesTreeResult, type GetNoteArgs, type GetNoteResult, type GetNoteSyncStatusArgs, type GetNoteSyncStatusResult, type HomeNoticesArgs, type HomeNoticesResult, type Keyword, type LabelArgs, type LabelMetadata, type LabelRequest, type LabelResult, type LineageNode, type LineageTree, type ListConflictsArgs, type ListConflictsResult, type ListHomesArgs, type ListHomesResult, type ListLocalFoldersArgs, type ListLocalFoldersResult, type ListMappingsArgs, type ListMappingsResult, type ListNotesArgs, type ListNotesResult, type ListSharesArgs, type ListSharesResult, type ListVersionsArgs, type ListVersionsResult, type MappingRequest, type MoveHomeRequest, type MoveNoteHomeArgs, type MoveNoteHomeResult, type NoteExcludeRequest, type OfficeConvertRequest, type OfficeExtractionResponse, type OfficeGenerationRequest, type OfficeGenerationResponse, type OfficePortionOut, type Operations, type PageDetail, type PageSummary, type PresentationSpec, type ProcessBlocksArgs, type ProcessBlocksRequest, type ProcessBlocksResponse, type ProcessBlocksResult, type ProcessBlocksStreamArgs, type ProcessBlocksStreamResult, type ProcessContentBody, type ProcessFileArgs, type ProcessFileResult, type PullChangesArgs, type PullChangesResult, type PullRemoteChangeRequest, type PullSingleNoteArgs, type PullSingleNoteResult, type ReadLocalFileArgs, type ReadLocalFileResult, type RegisterDeviceArgs, type RegisterDeviceResult, type RenderedCaptureRequest, type RenderedCaptureResponse, type ResetDeleteBreakerArgs, type ResetDeleteBreakerResult, type ResolveConflictArgs, type ResolveConflictResult, type RevertNoteArgs, type RevertNoteResult, type RevertRequest_MatrxLocal, type ScanLocalFilesArgs, type ScanLocalFilesResult, type SetNoteExcludedArgs, type SetNoteExcludedResult, type ShareRequest, type SheetSpec, type SimulateProviderRetryRequest, type SimulateProviderRetryStreamArgs, type SimulateProviderRetryStreamResult, type SlideSpec, type SpreadsheetSpec, type StartWatcherArgs, type StartWatcherResult, type StopWatcherArgs, type StopWatcherResult, type SyncStatusArgs, type SyncStatusResult, type SyncTriggerRequest, type TriggerSyncArgs, type TriggerSyncResult, type UpdateNoteArgs, type UpdateNoteRequest, type UpdateNoteResult, type UpdateShareArgs, type UpdateShareRequest, type UpdateShareResult, call, capture, convertOfficeFile, createMapping, createNote, createShare, deleteMapping, deleteNote, deleteShare, esignAddRecipient, esignCorrect, esignDetectFields, esignDownload, esignDraftSend, esignFinalize, esignHandoffOpen, esignHandoffSubmit, esignInternalAct, esignOutsiderAct, esignOutsiderCode, esignOutsiderOpen, esignOutsiderVerify, esignRemind, esignRemoveRecipient, esignResend, esignSend, esignSignedCopy, esignVerify, esignVoid, extractOfficeMarkdown, findDocumentByCldFile, generateOffice, getDocumentChunks, getDocumentLineage, getDocumentOverview, getDocumentPage, getDocumentPageImage, getDocumentPages, getHomesTree, getNote, getNoteSyncStatus, homeNotices, label, listConflicts, listHomes, listLocalFolders, listMappings, listNotes, listShares, listVersions, moveNoteHome, processBlocks, processBlocksStream, processFile, pullChanges, pullSingleNote, readLocalFile, registerDevice, resetDeleteBreaker, resolveConflict, revertNote, scanLocalFiles, setNoteExcluded, simulateProviderRetryStream, startWatcher, stopWatcher, syncStatus, triggerSync, updateNote, updateShare };
|
package/dist/content.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
1
|
+
import { openStream } from './chunk-YLAE6EOH.js';
|
|
2
2
|
import './chunk-PIPE5OML.js';
|
|
3
3
|
|
|
4
4
|
// src/generated/content.ts
|
|
@@ -42,6 +42,18 @@ var $esignResend = { m: "POST", p: "/esign/envelopes/{envelope_id}/signers/{sign
|
|
|
42
42
|
function esignResend(api, args, options) {
|
|
43
43
|
return api.call($esignResend, args, options);
|
|
44
44
|
}
|
|
45
|
+
var $esignCorrect = { m: "POST", p: "/esign/envelopes/{envelope_id}/signers/{signer_id}/correct", d: "aidream", a: "user", o: "required", n: "content.esign_correct" };
|
|
46
|
+
function esignCorrect(api, args, options) {
|
|
47
|
+
return api.call($esignCorrect, args, options);
|
|
48
|
+
}
|
|
49
|
+
var $esignAddRecipient = { m: "POST", p: "/esign/envelopes/{envelope_id}/signers", d: "aidream", a: "user", o: "required", n: "content.esign_add_recipient" };
|
|
50
|
+
function esignAddRecipient(api, args, options) {
|
|
51
|
+
return api.call($esignAddRecipient, args, options);
|
|
52
|
+
}
|
|
53
|
+
var $esignRemoveRecipient = { m: "DELETE", p: "/esign/envelopes/{envelope_id}/signers/{signer_id}", d: "aidream", a: "user", o: "required", n: "content.esign_remove_recipient" };
|
|
54
|
+
function esignRemoveRecipient(api, args, options) {
|
|
55
|
+
return api.call($esignRemoveRecipient, args, options);
|
|
56
|
+
}
|
|
45
57
|
var $esignVoid = { m: "POST", p: "/esign/envelopes/{envelope_id}/void", d: "aidream", a: "user", o: "required", n: "content.esign_void" };
|
|
46
58
|
function esignVoid(api, args, options) {
|
|
47
59
|
return api.call($esignVoid, args, options);
|
|
@@ -70,18 +82,6 @@ var $esignDetectFields = { m: "POST", p: "/esign/detect-fields", d: "aidream", a
|
|
|
70
82
|
function esignDetectFields(api, args, options) {
|
|
71
83
|
return api.call($esignDetectFields, args, options);
|
|
72
84
|
}
|
|
73
|
-
var $getAllContentBlocks = { m: "GET", p: "/content-blocks", d: "aidream", a: "guest", o: "optional", n: "content.get_all_content_blocks" };
|
|
74
|
-
function getAllContentBlocks(api, args, options) {
|
|
75
|
-
return api.call($getAllContentBlocks, args, options);
|
|
76
|
-
}
|
|
77
|
-
var $getContentBlocksByCategory = { m: "GET", p: "/content-blocks/category/{category_id}", d: "aidream", a: "guest", o: "optional", n: "content.get_content_blocks_by_category" };
|
|
78
|
-
function getContentBlocksByCategory(api, args, options) {
|
|
79
|
-
return api.call($getContentBlocksByCategory, args, options);
|
|
80
|
-
}
|
|
81
|
-
var $getContentBlockById = { m: "GET", p: "/content-blocks/{block_id}", d: "aidream", a: "guest", o: "optional", n: "content.get_content_block_by_id" };
|
|
82
|
-
function getContentBlockById(api, args, options) {
|
|
83
|
-
return api.call($getContentBlockById, args, options);
|
|
84
|
-
}
|
|
85
85
|
var $findDocumentByCldFile = { m: "GET", p: "/document/by-cld-file/{cld_file_id}", d: "aidream", a: "guest", o: "optional", n: "content.find_document_by_cld_file" };
|
|
86
86
|
function findDocumentByCldFile(api, args, options) {
|
|
87
87
|
return api.call($findDocumentByCldFile, args, options);
|
|
@@ -110,7 +110,7 @@ var $getDocumentChunks = { m: "GET", p: "/document/{doc_id}/chunks", d: "aidream
|
|
|
110
110
|
function getDocumentChunks(api, args, options) {
|
|
111
111
|
return api.call($getDocumentChunks, args, options);
|
|
112
112
|
}
|
|
113
|
-
var $capture = { m: "POST", p: "/rendered-output/capture", d: "aidream", a: "
|
|
113
|
+
var $capture = { m: "POST", p: "/rendered-output/capture", d: "aidream", a: "guest", o: "required", n: "content.capture" };
|
|
114
114
|
function capture(api, args, options) {
|
|
115
115
|
return api.call($capture, args, options);
|
|
116
116
|
}
|
|
@@ -146,21 +146,21 @@ var $label = { m: "POST", p: "/content-label", d: "aidream", a: "guest", o: "req
|
|
|
146
146
|
function label(api, args, options) {
|
|
147
147
|
return api.call($label, args, options);
|
|
148
148
|
}
|
|
149
|
-
var $
|
|
150
|
-
function
|
|
151
|
-
return api.call($
|
|
149
|
+
var $getHomesTree = { m: "GET", p: "/notes/tree", d: "matrx-local", a: "loopback_token", o: "exempt", n: "content.get_homes_tree" };
|
|
150
|
+
function getHomesTree(api, args, options) {
|
|
151
|
+
return api.call($getHomesTree, args, options);
|
|
152
152
|
}
|
|
153
|
-
var $
|
|
154
|
-
function
|
|
155
|
-
return api.call($
|
|
153
|
+
var $listHomes = { m: "GET", p: "/notes/homes", d: "matrx-local", a: "loopback_token", o: "exempt", n: "content.list_homes" };
|
|
154
|
+
function listHomes(api, args, options) {
|
|
155
|
+
return api.call($listHomes, args, options);
|
|
156
156
|
}
|
|
157
|
-
var $
|
|
158
|
-
function
|
|
159
|
-
return api.call($
|
|
157
|
+
var $homeNotices = { m: "GET", p: "/notes/home-notices", d: "matrx-local", a: "loopback_token", o: "exempt", n: "content.home_notices" };
|
|
158
|
+
function homeNotices(api, args, options) {
|
|
159
|
+
return api.call($homeNotices, args, options);
|
|
160
160
|
}
|
|
161
|
-
var $
|
|
162
|
-
function
|
|
163
|
-
return api.call($
|
|
161
|
+
var $moveNoteHome = { m: "POST", p: "/notes/notes/{note_id}/home", d: "matrx-local", a: "loopback_token", o: "exempt", n: "content.move_note_home" };
|
|
162
|
+
function moveNoteHome(api, args, options) {
|
|
163
|
+
return api.call($moveNoteHome, args, options);
|
|
164
164
|
}
|
|
165
165
|
var $listNotes = { m: "GET", p: "/notes/notes", d: "matrx-local", a: "loopback_token", o: "exempt", n: "content.list_notes" };
|
|
166
166
|
function listNotes(api, args, options) {
|
|
@@ -289,6 +289,9 @@ var TABLE = {
|
|
|
289
289
|
"POST /esign/envelopes": $esignSend,
|
|
290
290
|
"POST /esign/envelopes/{envelope_id}/remind": $esignRemind,
|
|
291
291
|
"POST /esign/envelopes/{envelope_id}/signers/{signer_id}/resend": $esignResend,
|
|
292
|
+
"POST /esign/envelopes/{envelope_id}/signers/{signer_id}/correct": $esignCorrect,
|
|
293
|
+
"POST /esign/envelopes/{envelope_id}/signers": $esignAddRecipient,
|
|
294
|
+
"DELETE /esign/envelopes/{envelope_id}/signers/{signer_id}": $esignRemoveRecipient,
|
|
292
295
|
"POST /esign/envelopes/{envelope_id}/void": $esignVoid,
|
|
293
296
|
"POST /esign/envelopes/{envelope_id}/verify": $esignVerify,
|
|
294
297
|
"POST /esign/envelopes/{envelope_id}/signed-copy": $esignSignedCopy,
|
|
@@ -296,9 +299,6 @@ var TABLE = {
|
|
|
296
299
|
"POST /esign/envelopes/{envelope_id}/download": $esignDownload,
|
|
297
300
|
"POST /esign/envelopes/{envelope_id}/finalize": $esignFinalize,
|
|
298
301
|
"POST /esign/detect-fields": $esignDetectFields,
|
|
299
|
-
"GET /content-blocks": $getAllContentBlocks,
|
|
300
|
-
"GET /content-blocks/category/{category_id}": $getContentBlocksByCategory,
|
|
301
|
-
"GET /content-blocks/{block_id}": $getContentBlockById,
|
|
302
302
|
"GET /document/by-cld-file/{cld_file_id}": $findDocumentByCldFile,
|
|
303
303
|
"GET /document/{doc_id}": $getDocumentOverview,
|
|
304
304
|
"GET /document/{doc_id}/lineage": $getDocumentLineage,
|
|
@@ -312,10 +312,10 @@ var TABLE = {
|
|
|
312
312
|
"GET /office/{file_id}/markdown": $extractOfficeMarkdown,
|
|
313
313
|
"POST /office/{file_id}/convert": $convertOfficeFile,
|
|
314
314
|
"POST /content-label": $label,
|
|
315
|
-
"GET /notes/tree": $
|
|
316
|
-
"
|
|
317
|
-
"
|
|
318
|
-
"
|
|
315
|
+
"GET /notes/tree": $getHomesTree,
|
|
316
|
+
"GET /notes/homes": $listHomes,
|
|
317
|
+
"GET /notes/home-notices": $homeNotices,
|
|
318
|
+
"POST /notes/notes/{note_id}/home": $moveNoteHome,
|
|
319
319
|
"GET /notes/notes": $listNotes,
|
|
320
320
|
"POST /notes/notes": $createNote,
|
|
321
321
|
"GET /notes/notes/{note_id}": $getNote,
|
|
@@ -350,4 +350,4 @@ function call(api, key, args, options) {
|
|
|
350
350
|
return api.call(TABLE[key], args, options);
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
export { call, capture, convertOfficeFile,
|
|
353
|
+
export { call, capture, convertOfficeFile, createMapping, createNote, createShare, deleteMapping, deleteNote, deleteShare, esignAddRecipient, esignCorrect, esignDetectFields, esignDownload, esignDraftSend, esignFinalize, esignHandoffOpen, esignHandoffSubmit, esignInternalAct, esignOutsiderAct, esignOutsiderCode, esignOutsiderOpen, esignOutsiderVerify, esignRemind, esignRemoveRecipient, esignResend, esignSend, esignSignedCopy, esignVerify, esignVoid, extractOfficeMarkdown, findDocumentByCldFile, generateOffice, getDocumentChunks, getDocumentLineage, getDocumentOverview, getDocumentPage, getDocumentPageImage, getDocumentPages, getHomesTree, getNote, getNoteSyncStatus, homeNotices, label, listConflicts, listHomes, listLocalFolders, listMappings, listNotes, listShares, listVersions, moveNoteHome, processBlocks, processBlocksStream, processFile, pullChanges, pullSingleNote, readLocalFile, registerDevice, resetDeleteBreaker, resolveConflict, revertNote, scanLocalFiles, setNoteExcluded, simulateProviderRetryStream, startWatcher, stopWatcher, syncStatus, triggerSync, updateNote, updateShare };
|
package/dist/crm.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3DHXXNJP_cjs = require('./chunk-3DHXXNJP.cjs');
|
|
4
4
|
require('./chunk-PKYPPATQ.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/crm.ts
|
|
@@ -130,7 +130,7 @@ function mediaResearchPreviewDoor(api, args, options) {
|
|
|
130
130
|
}
|
|
131
131
|
var $mediaResearchRunDoor = { m: "POST", p: "/crm/outreach-lists/{list_id}/media-research/run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "crm.media_research_run_door" };
|
|
132
132
|
function mediaResearchRunDoor(api, args, options) {
|
|
133
|
-
return
|
|
133
|
+
return chunk3DHXXNJP_cjs.openStream(api, $mediaResearchRunDoor, args, options);
|
|
134
134
|
}
|
|
135
135
|
var $previewBulkEnrichment = { m: "POST", p: "/crm/enrichment/bulk/preview", d: "aidream", a: "guest", o: "required", n: "crm.preview_bulk_enrichment" };
|
|
136
136
|
function previewBulkEnrichment(api, args, options) {
|