@credal/sdk 0.0.16 → 0.0.18
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/Client.d.ts +3 -0
- package/Client.js +17 -12
- package/api/resources/actions/client/Client.d.ts +50 -0
- package/api/resources/actions/client/Client.js +138 -0
- package/api/resources/actions/client/index.d.ts +1 -0
- package/api/resources/actions/client/index.js +17 -0
- package/api/resources/actions/client/requests/InvokeActionRequest.d.ts +55 -0
- package/api/resources/actions/client/requests/InvokeActionRequest.js +5 -0
- package/api/resources/actions/client/requests/index.d.ts +1 -0
- package/api/resources/actions/client/requests/index.js +2 -0
- package/api/resources/actions/index.d.ts +2 -0
- package/api/resources/actions/index.js +18 -0
- package/api/resources/actions/types/ActionStatus.d.ts +13 -0
- package/api/resources/actions/types/ActionStatus.js +15 -0
- package/api/resources/actions/types/Conversation.d.ts +6 -0
- package/api/resources/actions/types/Conversation.js +5 -0
- package/api/resources/actions/types/DirectMessage.d.ts +6 -0
- package/api/resources/actions/types/DirectMessage.js +5 -0
- package/api/resources/actions/types/HumanConfirmationChannel.d.ts +16 -0
- package/api/resources/actions/types/HumanConfirmationChannel.js +5 -0
- package/api/resources/actions/types/InvokeActionResponse.d.ts +8 -0
- package/api/resources/actions/types/InvokeActionResponse.js +5 -0
- package/api/resources/actions/types/SlackThread.d.ts +7 -0
- package/api/resources/actions/types/SlackThread.js +5 -0
- package/api/resources/actions/types/index.d.ts +6 -0
- package/api/resources/actions/types/index.js +22 -0
- package/api/resources/copilots/client/Client.d.ts +2 -2
- package/api/resources/copilots/client/Client.js +20 -20
- package/api/resources/copilots/client/requests/SendMessageRequest.d.ts +2 -2
- package/api/resources/copilots/client/requests/StreamMessageRequest.d.ts +4 -4
- package/api/resources/copilots/types/InputVariable.d.ts +1 -1
- package/api/resources/documentCatalog/client/Client.d.ts +13 -0
- package/api/resources/documentCatalog/client/Client.js +67 -4
- package/api/resources/documentCatalog/types/SyncSourceByUrlRequest.d.ts +7 -0
- package/api/resources/documentCatalog/types/SyncSourceByUrlRequest.js +5 -0
- package/api/resources/documentCatalog/types/SyncSourceByUrlResponse.d.ts +6 -0
- package/api/resources/documentCatalog/types/SyncSourceByUrlResponse.js +5 -0
- package/api/resources/documentCatalog/types/index.d.ts +2 -0
- package/api/resources/documentCatalog/types/index.js +2 -0
- package/api/resources/documentCollections/client/Client.js +12 -12
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/permissionsService/client/Client.js +6 -6
- package/api/resources/search/client/Client.js +2 -2
- package/api/resources/users/client/Client.js +2 -2
- package/credal-dark-logo.svg +57 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +17 -12
- package/dist/api/resources/actions/client/Client.d.ts +50 -0
- package/dist/api/resources/actions/client/Client.js +138 -0
- package/dist/api/resources/actions/client/index.d.ts +1 -0
- package/dist/api/resources/actions/client/index.js +17 -0
- package/dist/api/resources/actions/client/requests/InvokeActionRequest.d.ts +55 -0
- package/dist/api/resources/actions/client/requests/InvokeActionRequest.js +5 -0
- package/dist/api/resources/actions/client/requests/index.d.ts +1 -0
- package/dist/api/resources/actions/client/requests/index.js +2 -0
- package/dist/api/resources/actions/index.d.ts +2 -0
- package/dist/api/resources/actions/index.js +18 -0
- package/dist/api/resources/actions/types/ActionStatus.d.ts +13 -0
- package/dist/api/resources/actions/types/ActionStatus.js +15 -0
- package/dist/api/resources/actions/types/Conversation.d.ts +6 -0
- package/dist/api/resources/actions/types/Conversation.js +5 -0
- package/dist/api/resources/actions/types/DirectMessage.d.ts +6 -0
- package/dist/api/resources/actions/types/DirectMessage.js +5 -0
- package/dist/api/resources/actions/types/HumanConfirmationChannel.d.ts +16 -0
- package/dist/api/resources/actions/types/HumanConfirmationChannel.js +5 -0
- package/dist/api/resources/actions/types/InvokeActionResponse.d.ts +8 -0
- package/dist/api/resources/actions/types/InvokeActionResponse.js +5 -0
- package/dist/api/resources/actions/types/SlackThread.d.ts +7 -0
- package/dist/api/resources/actions/types/SlackThread.js +5 -0
- package/dist/api/resources/actions/types/index.d.ts +6 -0
- package/dist/api/resources/actions/types/index.js +22 -0
- package/dist/api/resources/copilots/client/Client.d.ts +2 -2
- package/dist/api/resources/copilots/client/Client.js +20 -20
- package/dist/api/resources/copilots/client/requests/SendMessageRequest.d.ts +2 -2
- package/dist/api/resources/copilots/client/requests/StreamMessageRequest.d.ts +4 -4
- package/dist/api/resources/copilots/types/InputVariable.d.ts +1 -1
- package/dist/api/resources/documentCatalog/client/Client.d.ts +13 -0
- package/dist/api/resources/documentCatalog/client/Client.js +67 -4
- package/dist/api/resources/documentCatalog/types/SyncSourceByUrlRequest.d.ts +7 -0
- package/dist/api/resources/documentCatalog/types/SyncSourceByUrlRequest.js +5 -0
- package/dist/api/resources/documentCatalog/types/SyncSourceByUrlResponse.d.ts +6 -0
- package/dist/api/resources/documentCatalog/types/SyncSourceByUrlResponse.js +5 -0
- package/dist/api/resources/documentCatalog/types/index.d.ts +2 -0
- package/dist/api/resources/documentCatalog/types/index.js +2 -0
- package/dist/api/resources/documentCollections/client/Client.js +12 -12
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/permissionsService/client/Client.js +6 -6
- package/dist/api/resources/search/client/Client.js +2 -2
- package/dist/api/resources/users/client/Client.js +2 -2
- package/dist/serialization/resources/actions/client/index.d.ts +1 -0
- package/dist/serialization/resources/actions/client/index.js +17 -0
- package/dist/serialization/resources/actions/client/requests/InvokeActionRequest.d.ts +19 -0
- package/dist/serialization/resources/actions/client/requests/InvokeActionRequest.js +40 -0
- package/dist/serialization/resources/actions/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/actions/client/requests/index.js +5 -0
- package/dist/serialization/resources/actions/index.d.ts +2 -0
- package/dist/serialization/resources/actions/index.js +18 -0
- package/dist/serialization/resources/actions/types/ActionStatus.d.ts +10 -0
- package/dist/serialization/resources/actions/types/ActionStatus.js +39 -0
- package/dist/serialization/resources/actions/types/Conversation.d.ts +12 -0
- package/dist/serialization/resources/actions/types/Conversation.js +33 -0
- package/dist/serialization/resources/actions/types/DirectMessage.d.ts +12 -0
- package/dist/serialization/resources/actions/types/DirectMessage.js +33 -0
- package/dist/serialization/resources/actions/types/HumanConfirmationChannel.d.ts +22 -0
- package/dist/serialization/resources/actions/types/HumanConfirmationChannel.js +43 -0
- package/dist/serialization/resources/actions/types/InvokeActionResponse.d.ts +14 -0
- package/dist/serialization/resources/actions/types/InvokeActionResponse.js +35 -0
- package/dist/serialization/resources/actions/types/SlackThread.d.ts +13 -0
- package/dist/serialization/resources/actions/types/SlackThread.js +34 -0
- package/dist/serialization/resources/actions/types/index.d.ts +6 -0
- package/dist/serialization/resources/actions/types/index.js +22 -0
- package/dist/serialization/resources/copilots/types/InputVariable.d.ts +1 -1
- package/dist/serialization/resources/copilots/types/InputVariable.js +1 -1
- package/dist/serialization/resources/documentCatalog/types/SyncSourceByUrlRequest.d.ts +13 -0
- package/dist/serialization/resources/documentCatalog/types/SyncSourceByUrlRequest.js +34 -0
- package/dist/serialization/resources/documentCatalog/types/SyncSourceByUrlResponse.d.ts +12 -0
- package/dist/serialization/resources/documentCatalog/types/SyncSourceByUrlResponse.js +33 -0
- package/dist/serialization/resources/documentCatalog/types/index.d.ts +2 -0
- package/dist/serialization/resources/documentCatalog/types/index.js +2 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +149 -4
- package/serialization/resources/actions/client/index.d.ts +1 -0
- package/serialization/resources/actions/client/index.js +17 -0
- package/serialization/resources/actions/client/requests/InvokeActionRequest.d.ts +19 -0
- package/serialization/resources/actions/client/requests/InvokeActionRequest.js +40 -0
- package/serialization/resources/actions/client/requests/index.d.ts +1 -0
- package/serialization/resources/actions/client/requests/index.js +5 -0
- package/serialization/resources/actions/index.d.ts +2 -0
- package/serialization/resources/actions/index.js +18 -0
- package/serialization/resources/actions/types/ActionStatus.d.ts +10 -0
- package/serialization/resources/actions/types/ActionStatus.js +39 -0
- package/serialization/resources/actions/types/Conversation.d.ts +12 -0
- package/serialization/resources/actions/types/Conversation.js +33 -0
- package/serialization/resources/actions/types/DirectMessage.d.ts +12 -0
- package/serialization/resources/actions/types/DirectMessage.js +33 -0
- package/serialization/resources/actions/types/HumanConfirmationChannel.d.ts +22 -0
- package/serialization/resources/actions/types/HumanConfirmationChannel.js +43 -0
- package/serialization/resources/actions/types/InvokeActionResponse.d.ts +14 -0
- package/serialization/resources/actions/types/InvokeActionResponse.js +35 -0
- package/serialization/resources/actions/types/SlackThread.d.ts +13 -0
- package/serialization/resources/actions/types/SlackThread.js +34 -0
- package/serialization/resources/actions/types/index.d.ts +6 -0
- package/serialization/resources/actions/types/index.js +22 -0
- package/serialization/resources/copilots/types/InputVariable.d.ts +1 -1
- package/serialization/resources/copilots/types/InputVariable.js +1 -1
- package/serialization/resources/documentCatalog/types/SyncSourceByUrlRequest.d.ts +13 -0
- package/serialization/resources/documentCatalog/types/SyncSourceByUrlRequest.js +34 -0
- package/serialization/resources/documentCatalog/types/SyncSourceByUrlResponse.d.ts +12 -0
- package/serialization/resources/documentCatalog/types/SyncSourceByUrlResponse.js +33 -0
- package/serialization/resources/documentCatalog/types/index.d.ts +2 -0
- package/serialization/resources/documentCatalog/types/index.js +2 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -74,8 +74,8 @@ class Copilots {
|
|
|
74
74
|
Authorization: yield this._getAuthorizationHeader(),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
77
|
-
"X-Fern-SDK-Version": "0.0.
|
|
78
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
77
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
78
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
79
79
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
80
80
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
81
81
|
},
|
|
@@ -137,8 +137,8 @@ class Copilots {
|
|
|
137
137
|
Authorization: yield this._getAuthorizationHeader(),
|
|
138
138
|
"X-Fern-Language": "JavaScript",
|
|
139
139
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
140
|
-
"X-Fern-SDK-Version": "0.0.
|
|
141
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
140
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
141
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
142
142
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
143
143
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
144
144
|
},
|
|
@@ -203,8 +203,8 @@ class Copilots {
|
|
|
203
203
|
Authorization: yield this._getAuthorizationHeader(),
|
|
204
204
|
"X-Fern-Language": "JavaScript",
|
|
205
205
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
206
|
-
"X-Fern-SDK-Version": "0.0.
|
|
207
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
206
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
207
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
208
208
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
209
209
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
210
210
|
},
|
|
@@ -250,10 +250,10 @@ class Copilots {
|
|
|
250
250
|
* userEmail: "ravin@credal.ai",
|
|
251
251
|
* inputVariables: [{
|
|
252
252
|
* name: "input1",
|
|
253
|
-
*
|
|
253
|
+
* ids: ["82e4b12a-6990-45d4-8ebd-85c00e030c24"]
|
|
254
254
|
* }, {
|
|
255
255
|
* name: "input2",
|
|
256
|
-
*
|
|
256
|
+
* ids: ["82e4b12a-6990-45d4-8ebd-85c00e030c25", "82e4b12a-6990-45d4-8ebd-85c00e030c26"]
|
|
257
257
|
* }]
|
|
258
258
|
* })
|
|
259
259
|
*/
|
|
@@ -267,8 +267,8 @@ class Copilots {
|
|
|
267
267
|
Authorization: yield this._getAuthorizationHeader(),
|
|
268
268
|
"X-Fern-Language": "JavaScript",
|
|
269
269
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
270
|
-
"X-Fern-SDK-Version": "0.0.
|
|
271
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
270
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
271
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
272
272
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
273
273
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
274
274
|
},
|
|
@@ -321,8 +321,8 @@ class Copilots {
|
|
|
321
321
|
Authorization: yield this._getAuthorizationHeader(),
|
|
322
322
|
"X-Fern-Language": "JavaScript",
|
|
323
323
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
324
|
-
"X-Fern-SDK-Version": "0.0.
|
|
325
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
324
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
325
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
326
326
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
327
327
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
328
328
|
},
|
|
@@ -395,8 +395,8 @@ class Copilots {
|
|
|
395
395
|
Authorization: yield this._getAuthorizationHeader(),
|
|
396
396
|
"X-Fern-Language": "JavaScript",
|
|
397
397
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
398
|
-
"X-Fern-SDK-Version": "0.0.
|
|
399
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
398
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
399
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
400
400
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
401
401
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
402
402
|
},
|
|
@@ -453,8 +453,8 @@ class Copilots {
|
|
|
453
453
|
Authorization: yield this._getAuthorizationHeader(),
|
|
454
454
|
"X-Fern-Language": "JavaScript",
|
|
455
455
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
456
|
-
"X-Fern-SDK-Version": "0.0.
|
|
457
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
456
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
457
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
458
458
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
459
459
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
460
460
|
},
|
|
@@ -521,8 +521,8 @@ class Copilots {
|
|
|
521
521
|
Authorization: yield this._getAuthorizationHeader(),
|
|
522
522
|
"X-Fern-Language": "JavaScript",
|
|
523
523
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
524
|
-
"X-Fern-SDK-Version": "0.0.
|
|
525
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
524
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
525
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
526
526
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
527
527
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
528
528
|
},
|
|
@@ -576,8 +576,8 @@ class Copilots {
|
|
|
576
576
|
Authorization: yield this._getAuthorizationHeader(),
|
|
577
577
|
"X-Fern-Language": "JavaScript",
|
|
578
578
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
579
|
-
"X-Fern-SDK-Version": "0.0.
|
|
580
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
579
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
580
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
581
581
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
582
582
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
583
583
|
},
|
|
@@ -10,10 +10,10 @@ import * as Credal from "../../../../index";
|
|
|
10
10
|
* userEmail: "ravin@credal.ai",
|
|
11
11
|
* inputVariables: [{
|
|
12
12
|
* name: "input1",
|
|
13
|
-
*
|
|
13
|
+
* ids: ["82e4b12a-6990-45d4-8ebd-85c00e030c24"]
|
|
14
14
|
* }, {
|
|
15
15
|
* name: "input2",
|
|
16
|
-
*
|
|
16
|
+
* ids: ["82e4b12a-6990-45d4-8ebd-85c00e030c25", "82e4b12a-6990-45d4-8ebd-85c00e030c26"]
|
|
17
17
|
* }]
|
|
18
18
|
* }
|
|
19
19
|
*/
|
|
@@ -10,10 +10,10 @@ import * as Credal from "../../../../index";
|
|
|
10
10
|
* email: "ravin@credal.ai",
|
|
11
11
|
* inputVariables: [{
|
|
12
12
|
* name: "input1",
|
|
13
|
-
*
|
|
13
|
+
* ids: ["82e4b12a-6990-45d4-8ebd-85c00e030c24"]
|
|
14
14
|
* }, {
|
|
15
15
|
* name: "input2",
|
|
16
|
-
*
|
|
16
|
+
* ids: ["82e4b12a-6990-45d4-8ebd-85c00e030c25", "82e4b12a-6990-45d4-8ebd-85c00e030c26"]
|
|
17
17
|
* }]
|
|
18
18
|
* }
|
|
19
19
|
*
|
|
@@ -24,10 +24,10 @@ import * as Credal from "../../../../index";
|
|
|
24
24
|
* email: "ravin@credal.ai",
|
|
25
25
|
* inputVariables: [{
|
|
26
26
|
* name: "input1",
|
|
27
|
-
*
|
|
27
|
+
* ids: ["82e4b12a-6990-45d4-8ebd-85c00e030c26"]
|
|
28
28
|
* }, {
|
|
29
29
|
* name: "input2",
|
|
30
|
-
*
|
|
30
|
+
* ids: ["82e4b12a-6990-45d4-8ebd-85c00e030c25", "82e4b12a-6990-45d4-8ebd-85c00e030c24"]
|
|
31
31
|
* }]
|
|
32
32
|
* }
|
|
33
33
|
*/
|
|
@@ -36,6 +36,19 @@ export declare class DocumentCatalog {
|
|
|
36
36
|
* })
|
|
37
37
|
*/
|
|
38
38
|
uploadDocumentContents(request: Credal.UploadDocumentContentsRequest, requestOptions?: DocumentCatalog.RequestOptions): Promise<Credal.UploadDocumentResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Sync a document from a source URL. Does not support recursive web search. Reach out to a Credal representative for access.
|
|
41
|
+
*
|
|
42
|
+
* @param {Credal.SyncSourceByUrlRequest} request
|
|
43
|
+
* @param {DocumentCatalog.RequestOptions} requestOptions - Request-specific configuration.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* await client.documentCatalog.syncSourceByUrl({
|
|
47
|
+
* sourceUrl: "https://drive.google.com/file/d/123456/view",
|
|
48
|
+
* uploadAsUserEmail: "ria@credal.ai"
|
|
49
|
+
* })
|
|
50
|
+
*/
|
|
51
|
+
syncSourceByUrl(request: Credal.SyncSourceByUrlRequest, requestOptions?: DocumentCatalog.RequestOptions): Promise<Credal.SyncSourceByUrlResponse>;
|
|
39
52
|
/**
|
|
40
53
|
* Bulk patch metadata for documents, synced natively by Credal or manual API uploads
|
|
41
54
|
*
|
|
@@ -71,8 +71,8 @@ class DocumentCatalog {
|
|
|
71
71
|
Authorization: yield this._getAuthorizationHeader(),
|
|
72
72
|
"X-Fern-Language": "JavaScript",
|
|
73
73
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
74
|
-
"X-Fern-SDK-Version": "0.0.
|
|
75
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
74
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
75
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
76
76
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
77
77
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
78
78
|
},
|
|
@@ -112,6 +112,69 @@ class DocumentCatalog {
|
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* Sync a document from a source URL. Does not support recursive web search. Reach out to a Credal representative for access.
|
|
117
|
+
*
|
|
118
|
+
* @param {Credal.SyncSourceByUrlRequest} request
|
|
119
|
+
* @param {DocumentCatalog.RequestOptions} requestOptions - Request-specific configuration.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* await client.documentCatalog.syncSourceByUrl({
|
|
123
|
+
* sourceUrl: "https://drive.google.com/file/d/123456/view",
|
|
124
|
+
* uploadAsUserEmail: "ria@credal.ai"
|
|
125
|
+
* })
|
|
126
|
+
*/
|
|
127
|
+
syncSourceByUrl(request, requestOptions) {
|
|
128
|
+
var _a, _b;
|
|
129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
131
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CredalEnvironment.Production, "/v0/catalog/syncSourceByUrl"),
|
|
132
|
+
method: "POST",
|
|
133
|
+
headers: {
|
|
134
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
135
|
+
"X-Fern-Language": "JavaScript",
|
|
136
|
+
"X-Fern-SDK-Name": "@credal/sdk",
|
|
137
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
138
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
139
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
140
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
141
|
+
},
|
|
142
|
+
contentType: "application/json",
|
|
143
|
+
requestType: "json",
|
|
144
|
+
body: serializers.SyncSourceByUrlRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
145
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
146
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
147
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
148
|
+
});
|
|
149
|
+
if (_response.ok) {
|
|
150
|
+
return serializers.SyncSourceByUrlResponse.parseOrThrow(_response.body, {
|
|
151
|
+
unrecognizedObjectKeys: "passthrough",
|
|
152
|
+
allowUnrecognizedUnionMembers: true,
|
|
153
|
+
allowUnrecognizedEnumValues: true,
|
|
154
|
+
breadcrumbsPrefix: ["response"],
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
if (_response.error.reason === "status-code") {
|
|
158
|
+
throw new errors.CredalError({
|
|
159
|
+
statusCode: _response.error.statusCode,
|
|
160
|
+
body: _response.error.body,
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
switch (_response.error.reason) {
|
|
164
|
+
case "non-json":
|
|
165
|
+
throw new errors.CredalError({
|
|
166
|
+
statusCode: _response.error.statusCode,
|
|
167
|
+
body: _response.error.rawBody,
|
|
168
|
+
});
|
|
169
|
+
case "timeout":
|
|
170
|
+
throw new errors.CredalTimeoutError();
|
|
171
|
+
case "unknown":
|
|
172
|
+
throw new errors.CredalError({
|
|
173
|
+
message: _response.error.errorMessage,
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
}
|
|
115
178
|
/**
|
|
116
179
|
* Bulk patch metadata for documents, synced natively by Credal or manual API uploads
|
|
117
180
|
*
|
|
@@ -154,8 +217,8 @@ class DocumentCatalog {
|
|
|
154
217
|
Authorization: yield this._getAuthorizationHeader(),
|
|
155
218
|
"X-Fern-Language": "JavaScript",
|
|
156
219
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
157
|
-
"X-Fern-SDK-Version": "0.0.
|
|
158
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
220
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
221
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
159
222
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
160
223
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
161
224
|
},
|
|
@@ -17,3 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
18
18
|
__exportStar(require("./DocumentMetadataPatch"), exports);
|
|
19
19
|
__exportStar(require("./DocumentMetadataPatchRequest"), exports);
|
|
20
|
+
__exportStar(require("./SyncSourceByUrlRequest"), exports);
|
|
21
|
+
__exportStar(require("./SyncSourceByUrlResponse"), exports);
|
|
@@ -78,8 +78,8 @@ class DocumentCollections {
|
|
|
78
78
|
Authorization: yield this._getAuthorizationHeader(),
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
81
|
-
"X-Fern-SDK-Version": "0.0.
|
|
82
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
82
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -144,8 +144,8 @@ class DocumentCollections {
|
|
|
144
144
|
Authorization: yield this._getAuthorizationHeader(),
|
|
145
145
|
"X-Fern-Language": "JavaScript",
|
|
146
146
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
147
|
-
"X-Fern-SDK-Version": "0.0.
|
|
148
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
147
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
148
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
149
149
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
150
150
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
151
151
|
},
|
|
@@ -208,8 +208,8 @@ class DocumentCollections {
|
|
|
208
208
|
Authorization: yield this._getAuthorizationHeader(),
|
|
209
209
|
"X-Fern-Language": "JavaScript",
|
|
210
210
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
211
|
-
"X-Fern-SDK-Version": "0.0.
|
|
212
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
211
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
212
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
213
213
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
214
214
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
215
215
|
},
|
|
@@ -270,8 +270,8 @@ class DocumentCollections {
|
|
|
270
270
|
Authorization: yield this._getAuthorizationHeader(),
|
|
271
271
|
"X-Fern-Language": "JavaScript",
|
|
272
272
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
273
|
-
"X-Fern-SDK-Version": "0.0.
|
|
274
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
273
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
274
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
|
@@ -348,8 +348,8 @@ class DocumentCollections {
|
|
|
348
348
|
Authorization: yield this._getAuthorizationHeader(),
|
|
349
349
|
"X-Fern-Language": "JavaScript",
|
|
350
350
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
351
|
-
"X-Fern-SDK-Version": "0.0.
|
|
352
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
351
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
352
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
353
353
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
354
354
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
355
355
|
},
|
|
@@ -428,8 +428,8 @@ class DocumentCollections {
|
|
|
428
428
|
Authorization: yield this._getAuthorizationHeader(),
|
|
429
429
|
"X-Fern-Language": "JavaScript",
|
|
430
430
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
431
|
-
"X-Fern-SDK-Version": "0.0.
|
|
432
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
431
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
432
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
433
433
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
434
434
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
435
435
|
},
|
package/api/resources/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * as actions from "./actions";
|
|
2
|
+
export * from "./actions/types";
|
|
1
3
|
export * as common from "./common";
|
|
2
4
|
export * from "./common/types";
|
|
3
5
|
export * as copilots from "./copilots";
|
|
@@ -12,6 +14,7 @@ export * as search from "./search";
|
|
|
12
14
|
export * from "./search/types";
|
|
13
15
|
export * as users from "./users";
|
|
14
16
|
export * from "./users/types";
|
|
17
|
+
export * from "./actions/client/requests";
|
|
15
18
|
export * from "./copilots/client/requests";
|
|
16
19
|
export * from "./documentCatalog/client/requests";
|
|
17
20
|
export * from "./documentCollections/client/requests";
|
package/api/resources/index.js
CHANGED
|
@@ -26,7 +26,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.users = exports.search = exports.permissionsService = exports.documentCollections = exports.documentCatalog = exports.copilots = exports.common = void 0;
|
|
29
|
+
exports.users = exports.search = exports.permissionsService = exports.documentCollections = exports.documentCatalog = exports.copilots = exports.common = exports.actions = void 0;
|
|
30
|
+
exports.actions = __importStar(require("./actions"));
|
|
31
|
+
__exportStar(require("./actions/types"), exports);
|
|
30
32
|
exports.common = __importStar(require("./common"));
|
|
31
33
|
__exportStar(require("./common/types"), exports);
|
|
32
34
|
exports.copilots = __importStar(require("./copilots"));
|
|
@@ -41,6 +43,7 @@ exports.search = __importStar(require("./search"));
|
|
|
41
43
|
__exportStar(require("./search/types"), exports);
|
|
42
44
|
exports.users = __importStar(require("./users"));
|
|
43
45
|
__exportStar(require("./users/types"), exports);
|
|
46
|
+
__exportStar(require("./actions/client/requests"), exports);
|
|
44
47
|
__exportStar(require("./copilots/client/requests"), exports);
|
|
45
48
|
__exportStar(require("./documentCatalog/client/requests"), exports);
|
|
46
49
|
__exportStar(require("./documentCollections/client/requests"), exports);
|
|
@@ -74,8 +74,8 @@ class PermissionsService {
|
|
|
74
74
|
Authorization: yield this._getAuthorizationHeader(),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
77
|
-
"X-Fern-SDK-Version": "0.0.
|
|
78
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
77
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
78
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
79
79
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
80
80
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
81
81
|
},
|
|
@@ -146,8 +146,8 @@ class PermissionsService {
|
|
|
146
146
|
Authorization: yield this._getAuthorizationHeader(),
|
|
147
147
|
"X-Fern-Language": "JavaScript",
|
|
148
148
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
149
|
-
"X-Fern-SDK-Version": "0.0.
|
|
150
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
149
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
150
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
151
151
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
152
152
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
153
153
|
},
|
|
@@ -210,8 +210,8 @@ class PermissionsService {
|
|
|
210
210
|
Authorization: yield this._getAuthorizationHeader(),
|
|
211
211
|
"X-Fern-Language": "JavaScript",
|
|
212
212
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
213
|
-
"X-Fern-SDK-Version": "0.0.
|
|
214
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
213
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
214
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
215
215
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
216
216
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
217
217
|
},
|
|
@@ -84,8 +84,8 @@ class Search {
|
|
|
84
84
|
Authorization: yield this._getAuthorizationHeader(),
|
|
85
85
|
"X-Fern-Language": "JavaScript",
|
|
86
86
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
87
|
-
"X-Fern-SDK-Version": "0.0.
|
|
88
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
87
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
88
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
89
89
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
90
90
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
91
91
|
},
|
|
@@ -79,8 +79,8 @@ class Users {
|
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
82
|
-
"X-Fern-SDK-Version": "0.0.
|
|
83
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
82
|
+
"X-Fern-SDK-Version": "0.0.18",
|
|
83
|
+
"User-Agent": "@credal/sdk/0.0.18",
|
|
84
84
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
85
85
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
86
86
|
},
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="1580px" height="453px" viewBox="0 0 1580 453" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>logo</title>
|
|
4
|
+
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="logo.gray.title.transparent" transform="translate(82.4346, 93)" fill="#000000" fill-rule="nonzero">
|
|
6
|
+
<path d="M147.181818,10 L121.818182,10 C120.26174,10 119,8.88071429 119,7.5 L119,2.5 C119,1.11928571 120.26174,0 121.818182,0 L147.181818,0 C148.73826,0 150,1.11928571 150,2.5 L150,7.5 C150,8.88071429 148.73826,10 147.181818,10 Z" id="Path"></path>
|
|
7
|
+
<path d="M128.311425,52.6274286 L126.018328,33.9611429 C125.824568,32.3814857 127.191834,31 128.949146,31 L140.051546,31 C141.808857,31 143.176123,32.3814857 142.981521,33.9611429 L140.688424,52.6274286 C140.522465,53.9782857 139.260503,55 137.757606,55 L131.242243,55 C129.739346,55 128.477384,53.9782857 128.311425,52.6274286 Z" id="Path"></path>
|
|
8
|
+
<path d="M133,86.5714286 L133,74.4285714 C133,73.0873061 134.044667,72 135.333333,72 L137.666667,72 C138.955333,72 140,73.0873061 140,74.4285714 L140,86.5714286 C140,87.9126939 138.955333,89 137.666667,89 L135.333333,89 C134.044667,89 133,87.9126939 133,86.5714286 Z" id="Path"></path>
|
|
9
|
+
<path d="M97.2722477,15.7929971 L74.0102224,23.8219433 C72.5827787,24.3146234 70.9462302,23.7498097 70.3548858,22.5603041 L68.2137202,18.2528672 C67.6223758,17.0633616 68.3002876,15.6996829 69.7277314,15.2070029 L92.9902362,7.17805667 C94.4178398,6.68537663 96.0540686,7.25019031 96.6455729,8.43969589 L98.786179,12.7471328 C99.3776832,13.9366384 98.6998513,15.3003171 97.2722477,15.7929971 Z" id="Path"></path>
|
|
10
|
+
<path d="M97.0475451,56.5457735 L89.2841144,39.2136237 C88.6273142,37.7469442 89.1528849,35.9038225 90.4116432,35.2630683 L98.3611455,31.2149911 C99.6192509,30.5742369 101.051023,31.4203086 101.430348,33.0285753 L105.909125,52.0324812 C106.233608,53.407418 105.664947,54.861817 104.588996,55.4100259 L99.9234943,57.7858653 C98.8475433,58.3332715 97.6090244,57.7995103 97.0475451,56.5457735 Z" id="Path"></path>
|
|
11
|
+
<path d="M111.758358,90.5004283 L106.221173,79.2865723 C105.60933,78.0477557 106.31047,76.6272091 107.787162,76.1146193 L110.461085,75.1851601 C111.936951,74.6725703 113.630269,75.2607654 114.242113,76.4988883 L119.779298,87.7134379 C120.390315,88.9522545 119.689175,90.3728011 118.212482,90.8853909 L115.539387,91.8148501 C114.062694,92.3274399 112.370202,91.7392449 111.758358,90.5004283 Z" id="Path"></path>
|
|
12
|
+
<path d="M57.1912686,35.6186604 L39.6187368,53.1911556 C38.5404282,54.2696148 36.7920821,54.2696148 35.7137735,53.1911556 L31.8087314,49.2859813 C30.7304229,48.2075221 30.7304229,46.4592663 31.8087314,45.3808071 L49.3812632,27.8087853 C50.4595718,26.7304049 52.2079179,26.7304049 53.2862265,27.8087853 L57.1912686,31.7137228 C58.2695771,32.7920243 58.2695771,34.5403589 57.1912686,35.6186604 Z" id="Path"></path>
|
|
13
|
+
<path d="M70.5588252,74.4196458 L55.9939545,62.7678489 C54.7614376,61.7819218 54.6595917,59.9432397 55.7756593,58.8271672 L62.8270119,51.7758589 C63.9431551,50.6597864 65.7816021,50.7611788 66.7676005,51.9937768 L78.4196484,66.5587121 C79.2625631,67.6127385 79.1785743,69.1313538 78.2244311,70.0855012 L74.0858257,74.2244277 C73.1316068,75.1785751 71.6125443,75.2625643 70.5588252,74.4196458 Z" id="Path"></path>
|
|
14
|
+
<path d="M99.4252843,101.202304 L89.7976956,91.5739376 C88.7341015,90.5111215 88.7341015,88.786185 89.7976956,87.723369 L91.723369,85.7976956 C92.786185,84.7341015 94.5103435,84.7341015 95.5739376,85.7976956 L105.202304,95.4252843 C106.265899,96.4888785 106.265899,98.2130369 105.202304,99.276631 L103.276631,101.202304 C102.213037,102.265899 100.488878,102.265899 99.4252843,101.202304 Z" id="Path"></path>
|
|
15
|
+
<path d="M23.8219435,74.0097683 L15.793005,97.2726902 C15.3003254,98.6994956 13.936648,99.377328 12.7471436,98.7866226 L8.43969081,96.6452156 C7.25021301,96.0537109 6.68536657,94.4174809 7.17805946,92.9898762 L15.2070113,69.7277536 C15.6996909,68.3001489 17.0633683,67.6223165 18.2528727,68.2138212 L22.5603055,70.3544289 C23.7498099,70.9459336 24.3146231,72.5821636 23.8219435,74.0097683 Z" id="Path"></path>
|
|
16
|
+
<path d="M52.03261,105.909431 L33.0285722,101.430062 C31.420308,101.050742 30.5742375,99.6189886 31.2149908,98.3609002 L35.2630619,90.4115046 C35.9038152,89.1534161 37.746934,88.6271996 39.2136113,89.283991 L56.5454139,97.0473174 C57.7993094,97.6087892 58.3334711,98.8479443 57.7857446,99.923228 L55.4099088,104.588667 C54.8621021,105.664603 53.4075448,106.233257 52.03261,105.909431 Z" id="Path"></path>
|
|
17
|
+
<path d="M87.7138135,119.779286 L76.499258,114.242106 C75.2606026,113.630263 74.6723487,111.937772 75.1854148,110.461081 L76.1144411,107.787161 C76.6275766,106.310469 78.047612,105.60933 79.2864062,106.221173 L90.5007536,111.758353 C91.7395478,112.370197 92.3277323,114.062687 91.8144581,115.539378 L90.8857093,118.213298 C90.3724351,119.689163 88.9519141,120.390302 87.7138135,119.779286 Z" id="Path"></path>
|
|
18
|
+
<path d="M10,118.818182 L10,144.181818 C10,145.73826 8.88071429,147 7.5,147 L2.5,147 C1.11928571,147 0,145.73826 0,144.181818 L0,118.818182 C0,117.26174 1.11929286,116 2.5,116 L7.5,116 C8.88071429,116 10,117.26174 10,118.818182 Z" id="Path"></path>
|
|
19
|
+
<path d="M52.6278095,137.688425 L33.9611429,139.981521 C32.3814857,140.176123 31,138.808858 31,137.051548 L31,125.948311 C31,124.191001 32.3814857,122.824578 33.9611429,123.018337 L52.6278095,125.311434 C53.9782857,125.477393 55,126.739354 55,128.24225 L55,134.757609 C55,136.260505 53.9782857,137.522466 52.6278095,137.688425 Z" id="Path"></path>
|
|
20
|
+
<path d="M86.5714286,137 L74.4285714,137 C73.0873061,137 72,135.955333 72,134.666667 L72,132.333333 C72,131.044667 73.0873061,130 74.4285714,130 L86.5714286,130 C87.9126939,130 89,131.044667 89,132.333333 L89,134.666667 C89,135.955333 87.9126939,137 86.5714286,137 Z" id="Path"></path>
|
|
21
|
+
<path d="M15.7930189,168.728098 L23.8219527,191.990229 C24.314632,193.417835 23.7497525,195.054065 22.5603154,195.64557 L18.2528186,197.786179 C17.0633814,198.377684 15.6997049,197.699851 15.2070256,196.272246 L7.17805845,173.010114 C6.68536585,171.582509 7.25021861,169.946278 8.43968906,169.354773 L12.7471593,167.213366 C13.9365964,166.62266 15.300273,167.300493 15.7930189,168.728098 Z" id="Path"></path>
|
|
22
|
+
<path d="M56.5453652,168.952683 L39.2136221,176.716009 C37.7469431,177.3728 35.903822,176.846584 35.2630679,175.588495 L31.214992,167.6391 C30.5742379,166.381011 31.4203094,164.949258 33.0284953,164.569938 L52.0326363,160.090569 C53.4075726,159.766743 54.8621317,160.335397 55.4099391,161.411333 L57.7856975,166.076772 C58.3335049,167.152056 57.7993425,168.391211 56.5453652,168.952683 Z" id="Path"></path>
|
|
23
|
+
<path d="M90.5007545,154.241647 L79.2864133,159.778827 C78.0476198,160.39067 76.6275158,159.689531 76.1144499,158.212839 L75.1854242,155.538919 C74.6723584,154.062228 75.2605425,152.369737 76.4992666,151.757894 L87.7138159,146.220714 C88.9519158,145.609698 90.372436,146.310837 90.8857099,147.786702 L91.8144582,150.460622 C92.3277321,151.937313 91.739548,153.629803 90.5007545,154.241647 Z" id="Path"></path>
|
|
24
|
+
<path d="M39.6187368,212.808846 L57.1912686,230.38138 C58.2695771,231.459841 58.2695771,233.208101 57.1912686,234.286563 L53.2862265,238.191745 C52.2079179,239.269418 50.4595718,239.269418 49.3812632,238.191745 L31.8087314,220.619212 C30.7304229,219.54075 30.7304229,217.792491 31.8087314,216.714029 L35.7137735,212.808846 C36.7920821,211.730385 38.5404282,211.730385 39.6187368,212.808846 Z" id="Path"></path>
|
|
25
|
+
<path d="M78.4196499,199.441093 L66.7675575,214.00582 C65.7815618,215.238401 63.9431197,215.340548 62.8269794,214.224492 L55.7757213,207.172528 C54.6595811,206.056471 54.7614267,204.218572 55.9939403,203.232659 L70.5587721,191.580272 C71.6124884,190.737365 73.1315468,190.821353 74.0857631,191.776244 L78.2244332,195.914354 C79.1785738,196.868488 79.2625624,198.387082 78.4196499,199.441093 Z" id="Path"></path>
|
|
26
|
+
<path d="M105.202861,170.574358 L95.5741633,180.202277 C94.5105326,181.265908 92.786315,181.265908 91.7226844,180.202277 L89.797723,178.277316 C88.7340923,177.213685 88.7340923,175.489467 89.797723,174.425837 L99.4256422,164.797139 C100.489273,163.734287 102.21349,163.734287 103.277121,164.797139 L105.202861,166.722879 C106.265713,167.78651 106.265713,169.510727 105.202861,170.574358 Z" id="Path"></path>
|
|
27
|
+
<path d="M74.010144,242.17817 L97.2722699,250.206793 C98.6998552,250.699673 99.3776784,252.063087 98.7861817,253.252661 L96.6448038,257.560036 C96.0533071,258.74961 94.4170994,259.314424 92.9895142,258.82221 L69.7277879,250.792921 C68.3002826,250.30004 67.6223794,248.936627 68.2137163,247.747053 L70.3549343,243.439677 C70.9461912,242.250104 72.5827186,241.685289 74.010144,242.17817 Z" id="Path"></path>
|
|
28
|
+
<path d="M105.909425,213.96746 L101.429997,232.971627 C101.051325,234.579319 99.6188997,235.426107 98.3607946,234.784796 L90.4112937,230.73707 C89.1531886,230.096561 88.626965,228.252891 89.284418,226.786463 L97.0471944,209.455004 C97.6093265,208.200473 98.8478451,207.666716 99.923796,208.214118 L104.589296,210.58994 C105.664594,211.138145 106.233255,212.592533 105.909425,213.96746 Z" id="Path"></path>
|
|
29
|
+
<path d="M119.778827,181.286242 L114.241642,192.500734 C113.629798,193.739544 111.937306,194.327737 110.460613,193.814456 L107.787518,192.885695 C106.310825,192.372414 105.609685,190.952568 106.220702,189.713758 L111.757887,178.499266 C112.369731,177.260456 114.062223,176.672263 115.538915,177.185544 L118.212838,178.114305 C119.68953,178.627586 120.39067,180.047432 119.778827,181.286242 Z" id="Path"></path>
|
|
30
|
+
<path d="M121.818182,256 L147.181818,256 C148.73826,256 150,257.119286 150,258.5 L150,263.5 C150,264.880714 148.73826,266 147.181818,266 L121.818182,266 C120.26174,266 119,264.880714 119,263.5 L119,258.5 C119,257.119286 120.26174,256 121.818182,256 Z" id="Path"></path>
|
|
31
|
+
<path d="M137.688575,217.372571 L139.981672,236.039238 C140.175432,237.618667 138.808166,239 137.050854,239 L125.948454,239 C124.191143,239 122.823877,237.618667 123.018479,236.039238 L125.311576,217.372571 C125.477535,216.021714 126.739497,215 128.242394,215 L134.757757,215 C136.260654,215 137.522616,216.021714 137.688575,217.372571 Z" id="Path"></path>
|
|
32
|
+
<path d="M140,179.428571 L140,191.571429 C140,192.912694 138.955333,194 137.666667,194 L135.333333,194 C134.044667,194 133,192.912694 133,191.571429 L133,179.428571 C133,178.087306 134.044667,177 135.333333,177 L137.666667,177 C138.955333,177 140,178.087306 140,179.428571 Z" id="Path"></path>
|
|
33
|
+
<path d="M168.727754,250.207079 L191.989886,242.17779 C193.417491,241.685576 195.053722,242.25039 195.645227,243.439964 L197.786634,247.747339 C198.37734,248.936913 197.699507,250.300327 196.271902,250.793207 L173.009771,258.82183 C171.582165,259.314711 169.945935,258.749896 169.35443,257.560323 L167.213821,253.252947 C166.622316,252.063373 167.300149,250.69996 168.727754,250.207079 Z" id="Path"></path>
|
|
34
|
+
<path d="M172.952455,209.454233 L180.715886,226.786696 C181.372686,228.25314 180.847115,230.096029 179.588357,230.737348 L171.638855,234.785121 C170.380749,235.425637 168.948977,234.579642 168.569652,232.97193 L164.090875,213.967544 C163.766392,212.592601 164.335053,211.138196 165.411004,210.589985 L170.076506,208.214136 C171.152457,207.666727 172.390976,208.200491 172.952455,209.454233 Z" id="Path"></path>
|
|
35
|
+
<path d="M154.241642,178.499572 L159.778827,189.713428 C160.39067,190.952244 159.68953,192.372791 158.212838,192.885381 L155.538915,193.81484 C154.063049,194.32743 152.369731,193.739235 151.757887,192.501112 L146.220702,181.286562 C145.609685,180.047746 146.310825,178.627199 147.787518,178.114609 L150.460613,177.18515 C151.937306,176.67256 153.629798,177.260755 154.241642,178.499572 Z" id="Path"></path>
|
|
36
|
+
<path d="M212.808852,230.381514 L230.381514,212.808852 C231.459984,211.730383 233.208256,211.730383 234.286725,212.808852 L238.191148,216.714063 C239.269617,217.792533 239.269617,219.540805 238.191148,220.619275 L220.619275,238.191148 C219.540805,239.269617 217.792533,239.269617 216.714063,238.191148 L212.808852,234.286725 C211.730383,233.208256 211.730383,231.459984 212.808852,230.381514 Z" id="Path"></path>
|
|
37
|
+
<path d="M199.441288,191.580354 L214.006223,203.232151 C215.238821,204.218078 215.340214,206.05676 214.224141,207.172833 L207.172833,214.224141 C206.05676,215.340214 204.218835,215.238821 203.232151,214.006223 L191.580354,199.441288 C190.737436,198.387261 190.821425,196.868646 191.775572,195.914499 L195.914499,191.775572 C196.868646,190.821425 198.387261,190.737436 199.441288,191.580354 Z" id="Path"></path>
|
|
38
|
+
<path d="M170.574716,164.797696 L180.202304,174.426062 C181.265899,175.488878 181.265899,177.213815 180.202304,178.276631 L178.276631,180.202304 C177.213815,181.265899 175.489657,181.265899 174.426062,180.202304 L164.797696,170.574716 C163.734101,169.511122 163.734101,167.786963 164.797696,166.723369 L166.723369,164.797696 C167.786963,163.734101 169.511122,163.734101 170.574716,164.797696 Z" id="Path"></path>
|
|
39
|
+
<path d="M242.178076,191.989886 L250.207229,168.727754 C250.699435,167.300149 252.063491,166.622316 253.253045,167.213821 L257.560347,169.35443 C258.749901,169.945935 259.314705,171.582165 258.821833,173.009771 L250.792681,196.271902 C250.300475,197.699507 248.936418,198.37734 247.747531,197.786634 L243.439562,195.645227 C242.250675,195.053722 241.685204,193.417491 242.178076,191.989886 Z" id="Path"></path>
|
|
40
|
+
<path d="M213.967012,160.090875 L232.971162,164.569652 C234.579657,164.948977 235.425641,166.380749 234.785133,167.638855 L230.736608,175.588357 C230.096099,176.847115 228.253234,177.372686 226.786004,176.715886 L209.454559,168.952455 C208.200833,168.390976 207.666273,167.152457 208.214478,166.076506 L210.590297,161.411004 C211.137699,160.335053 212.592889,159.766392 213.967012,160.090875 Z" id="Path"></path>
|
|
41
|
+
<path d="M181.286242,146.220702 L192.500734,151.757887 C193.739544,152.369731 194.327737,154.063049 193.814456,155.538915 L192.885695,158.212838 C192.372414,159.68953 190.952568,160.39067 189.713758,159.778827 L178.499266,154.241642 C177.260456,153.629798 176.672263,151.937306 177.185544,150.460613 L178.114305,147.787518 C178.627586,146.310825 180.048125,145.609685 181.286242,146.220702 Z" id="Path"></path>
|
|
42
|
+
<path d="M256,147.181818 L256,121.818182 C256,120.26174 257.119286,119 258.5,119 L263.5,119 C264.880714,119 266,120.26174 266,121.818182 L266,147.181818 C266,148.73826 264.880714,150 263.5,150 L258.5,150 C257.119286,150 256,148.73826 256,147.181818 Z" id="Path"></path>
|
|
43
|
+
<path d="M217.372571,128.311575 L236.039238,126.018479 C237.618667,125.823877 239,127.191142 239,128.948452 L239,140.051689 C239,141.808999 237.618667,143.175422 236.039238,142.981663 L217.372571,140.688566 C216.021714,140.522607 215,139.260646 215,137.75775 L215,131.242391 C215,129.739495 216.021714,128.477534 217.372571,128.311575 Z" id="Path"></path>
|
|
44
|
+
<path d="M179.428571,130 L191.571429,130 C192.912694,130 194,131.044667 194,132.333333 L194,134.666667 C194,135.955333 192.912694,137 191.571429,137 L179.428571,137 C178.087306,137 177,135.955333 177,134.666667 L177,132.333333 C177,131.044667 178.087306,130 179.428571,130 Z" id="Path"></path>
|
|
45
|
+
<path d="M250.207229,97.271902 L242.178076,74.0097706 C241.685204,72.5821653 242.250675,70.9459347 243.439562,70.3544298 L247.747531,68.2138213 C248.936418,67.6223163 250.300475,68.300149 250.793347,69.7277543 L258.821833,92.9898857 C259.314705,94.4174909 258.749901,96.0537216 257.560347,96.6452265 L253.253045,98.7866343 C252.063491,99.37734 250.699435,98.6995072 250.207229,97.271902 Z" id="Path"></path>
|
|
46
|
+
<path d="M209.454559,97.0473174 L226.786004,89.283991 C228.253234,88.6271996 230.096099,89.1534161 230.736608,90.4115046 L234.785133,98.3609002 C235.425641,99.6189886 234.579657,101.050742 232.971162,101.430062 L213.967012,105.909431 C212.592889,106.233257 211.137699,105.664603 210.590297,104.588667 L208.214478,99.923228 C207.666273,98.8479443 208.200833,97.6087892 209.454559,97.0473174 Z" id="Path"></path>
|
|
47
|
+
<path d="M178.499266,111.758353 L189.713758,106.221173 C190.952568,105.60933 192.372414,106.310469 192.885695,107.787161 L193.814456,110.461081 C194.327737,111.937772 193.739544,113.630263 192.500734,114.242106 L181.286242,119.779286 C180.048125,120.390302 178.627586,119.689163 178.114305,118.213298 L177.185544,115.539378 C176.672263,114.062687 177.260456,112.370197 178.499266,111.758353 Z" id="Path"></path>
|
|
48
|
+
<path d="M230.38138,53.1911603 L212.808846,35.61861 C211.730385,34.5403149 211.730385,32.7919904 212.808846,31.7136953 L216.714029,27.8087805 C217.792491,26.7304065 219.54075,26.7304065 220.619212,27.8087805 L238.191745,45.3808575 C239.269418,46.4593104 239.269418,48.2075559 238.191745,49.2860089 L234.286563,53.1911603 C233.208101,54.2696132 231.459841,54.2696132 230.38138,53.1911603 Z" id="Path"></path>
|
|
49
|
+
<path d="M191.580354,66.5589068 L203.232151,51.9941795 C204.218835,50.7615991 206.05676,50.6594515 207.172833,51.7755081 L214.224141,58.8274723 C215.340214,59.9435288 215.238821,61.7814281 214.006223,62.7673411 L199.441288,74.4197283 C198.387261,75.2626347 196.868646,75.1786467 195.914499,74.2237563 L191.775572,70.0856456 C190.821425,69.1315118 190.737436,67.6129182 191.580354,66.5589068 Z" id="Path"></path>
|
|
50
|
+
<path d="M164.797139,95.4256422 L174.425837,85.797723 C175.489467,84.7340923 177.213685,84.7340923 178.277316,85.797723 L180.202277,87.7226844 C181.265908,88.786315 181.265908,90.5105326 180.202277,91.5741633 L170.574358,101.202861 C169.510727,102.265713 167.78651,102.265713 166.722879,101.202861 L164.797139,99.2771211 C163.734287,98.2134905 163.734287,96.4892728 164.797139,95.4256422 Z" id="Path"></path>
|
|
51
|
+
<path d="M191.989952,23.8219529 L168.728079,15.792963 C167.300489,15.3002843 166.622664,13.9366095 167.213363,12.7471739 L169.354747,8.43968272 C169.946246,7.25024713 171.582458,6.68536846 173.010048,7.17804709 L196.271921,15.2069704 C197.699511,15.6997157 198.377336,17.0633905 197.786637,18.2528261 L195.645253,22.5603173 C195.053754,23.7497529 193.417542,24.3146315 191.989952,23.8219529 Z" id="Path"></path>
|
|
52
|
+
<path d="M164.090875,52.0325439 L168.569652,33.0285494 C168.948977,31.4203758 170.380749,30.5742306 171.638855,31.2149797 L179.588357,35.2631047 C180.847115,35.9038539 181.372686,37.7468805 180.715886,39.2135482 L172.952455,56.5449974 C172.390976,57.7995268 171.151804,58.3332838 170.076506,57.7858819 L165.411004,55.4100616 C164.335053,54.8618571 163.766392,53.4074697 164.090875,52.0325439 Z" id="Path"></path>
|
|
53
|
+
<path d="M146.220702,87.7137581 L151.757887,76.4992657 C152.369731,75.2604555 154.062223,74.6722635 155.538915,75.1855443 L158.212838,76.1143051 C159.68953,76.627586 160.39067,78.0474317 159.778827,79.2862419 L154.241642,90.5007343 C153.629798,91.7395445 151.937306,92.3277365 150.460613,91.8144557 L147.787518,90.8856949 C146.310825,90.372414 145.609685,88.9525683 146.220702,87.7137581 Z" id="Path"></path>
|
|
54
|
+
<path d="M443.793974,225 C431.071711,225 419.245692,222.794193 408.317437,218.381056 C397.55186,213.804921 388.009402,207.512735 379.690824,199.504499 C371.534922,191.332503 365.17379,181.934974 360.606668,171.311912 C356.202223,160.52509 354,148.920992 354,136.500381 C354,124.079008 356.202223,112.556409 360.606668,101.933347 C365.17379,91.1465253 371.534922,81.7489963 379.690824,73.7407599 C388.009402,65.5687636 397.633199,59.2765779 408.561453,54.8642026 C419.490467,50.2880675 431.234388,48 443.793974,48 C452.765542,48 461.492334,49.2255328 469.97435,51.6765985 C478.619043,53.9654278 486.530168,57.3152683 493.706966,61.7284053 C501.047202,66.1407805 507.408334,71.4526923 512.791122,77.663379 L495.664413,95.3144034 C489.303281,87.632925 481.554833,81.8304953 472.420588,77.9086379 C463.286343,73.8222589 453.743885,71.7794503 443.793974,71.7794503 C434.65973,71.7794503 426.177714,73.4140019 418.348687,76.6823434 C410.682337,79.9514465 403.994331,84.5275816 398.285428,90.4115103 C392.576525,96.1316792 388.090741,102.914383 384.828836,110.758859 C381.729609,118.604098 380.179615,127.184351 380.179615,136.500381 C380.179615,145.652651 381.729609,154.151405 384.828836,161.995882 C388.090741,169.84112 392.657863,176.705323 398.530203,182.58849 C404.402544,188.472418 411.253227,193.048553 419.082254,196.317657 C426.912041,199.585998 435.394057,201.22055 444.528302,201.22055 C454.478213,201.22055 463.857234,199.25924 472.665364,195.336621 C481.636932,191.251004 489.221183,185.530835 495.419637,178.176114 L512.302331,195.336621 C506.593428,201.383548 500.068858,206.69546 492.728623,211.271595 C485.551065,215.684732 477.722038,219.116833 469.240022,221.567899 C460.921443,223.855966 452.439428,225 443.793974,225 Z M557.009654,222.303675 L557.009654,50.6963246 L634.570157,50.6963246 C645.988723,50.6963246 655.938634,52.8206323 664.419889,57.0700094 C673.065343,61.3193865 679.752589,67.2848143 684.483149,74.9662927 C689.376385,82.484773 691.823384,91.3102852 691.823384,101.442829 C691.823384,112.720169 688.642818,122.444456 682.280926,130.616452 C675.919794,138.788448 667.35644,144.671615 656.590863,148.267477 L694.759174,222.303675 L666.377336,222.303675 L630.900039,151.944837 L582.700478,151.944837 L582.700478,222.303675 L557.009654,222.303675 Z M582.700478,130.371193 L632.61271,130.371193 C642.726058,130.371193 650.799861,127.837867 656.835638,122.771214 C663.034093,117.541563 666.13256,110.5136 666.13256,101.688088 C666.13256,93.189334 663.034093,86.3251314 656.835638,81.0954803 C650.799861,75.8650676 642.726058,73.2502421 632.61271,73.2502421 L582.700478,73.2502421 L582.700478,130.371193 Z M737.865573,222.303675 L737.865573,50.6963246 L864.117468,50.6963246 L864.117468,73.2502421 L763.554116,73.2502421 L763.554116,124.732523 L829.613193,124.732523 L829.613193,146.551426 L763.554116,146.551426 L763.554116,199.749758 L865.09049,199.749758 L865.09049,222.303675 L737.865573,222.303675 Z M936.767249,199.25924 L972.001291,199.25924 C980.971338,199.25924 989.287636,197.706949 996.957787,194.601606 C1004.62034,191.332503 1011.30986,186.920128 1017.01877,181.362957 C1022.88731,175.642788 1027.37233,169.023844 1030.47384,161.505364 C1033.73498,153.823886 1035.36935,145.488891 1035.36935,136.500381 C1035.36935,127.674869 1033.73498,119.421373 1030.47384,111.739895 C1027.37233,104.058416 1022.88731,97.4387111 1017.01877,91.8823021 C1011.30986,86.1621332 1004.62034,81.7489963 996.957787,78.6436529 C989.287636,75.3753114 980.971338,73.7407599 972.001291,73.7407599 L936.767249,73.7407599 L936.767249,199.25924 Z M911.073385,222.303675 L911.073385,50.6963246 L971.507178,50.6963246 C984.392119,50.6963246 996.304038,52.9028931 1007.22773,57.3152683 C1018.15903,61.5646454 1027.6992,67.5300732 1035.85587,75.2115516 C1044.01253,82.89303 1050.37518,91.9638011 1054.94382,102.423865 C1059.50486,112.883929 1061.79298,124.242006 1061.79298,136.500381 C1061.79298,148.920992 1059.50486,160.36133 1054.94382,170.821394 C1050.53482,181.117698 1044.25578,190.10697 1036.09912,197.788448 C1027.94246,205.469927 1018.31866,211.516854 1007.22773,215.929991 C996.304038,220.179368 984.392119,222.303675 971.507178,222.303675 L911.073385,222.303675 Z M1082.4469,222.303675 L1153.15824,50.6963246 L1183.49676,50.6963246 L1253.47073,222.303675 L1225.57997,222.303675 L1205.76224,172.046927 L1129.18237,172.046927 L1109.12139,222.303675 L1082.4469,222.303675 Z M1137.49866,150.718542 L1197.44595,150.718542 L1167.59393,75.2115516 L1137.49866,150.718542 Z M1290.70403,222.303675 L1290.70403,50.6963246 L1316.3979,50.6963246 L1316.3979,199.504499 L1415,199.504499 L1415,222.303675 L1290.70403,222.303675 Z" id="Shape"></path>
|
|
55
|
+
</g>
|
|
56
|
+
</g>
|
|
57
|
+
</svg>
|
package/dist/Client.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "./environments";
|
|
5
5
|
import * as core from "./core";
|
|
6
|
+
import { Actions } from "./api/resources/actions/client/Client";
|
|
6
7
|
import { Copilots } from "./api/resources/copilots/client/Client";
|
|
7
8
|
import { DocumentCatalog } from "./api/resources/documentCatalog/client/Client";
|
|
8
9
|
import { DocumentCollections } from "./api/resources/documentCollections/client/Client";
|
|
@@ -27,6 +28,8 @@ export declare namespace CredalClient {
|
|
|
27
28
|
export declare class CredalClient {
|
|
28
29
|
protected readonly _options: CredalClient.Options;
|
|
29
30
|
constructor(_options?: CredalClient.Options);
|
|
31
|
+
protected _actions: Actions | undefined;
|
|
32
|
+
get actions(): Actions;
|
|
30
33
|
protected _copilots: Copilots | undefined;
|
|
31
34
|
get copilots(): Copilots;
|
|
32
35
|
protected _documentCatalog: DocumentCatalog | undefined;
|