@credal/sdk 0.0.23 → 0.0.24

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.
Files changed (122) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +12 -17
  3. package/api/resources/copilots/client/Client.js +18 -18
  4. package/api/resources/documentCatalog/client/Client.js +6 -6
  5. package/api/resources/documentCollections/client/Client.js +12 -12
  6. package/api/resources/index.d.ts +0 -3
  7. package/api/resources/index.js +1 -4
  8. package/api/resources/permissionsService/client/Client.js +6 -6
  9. package/api/resources/search/client/Client.js +2 -2
  10. package/api/resources/users/client/Client.js +2 -2
  11. package/dist/Client.d.ts +0 -3
  12. package/dist/Client.js +12 -17
  13. package/dist/api/resources/copilots/client/Client.js +18 -18
  14. package/dist/api/resources/documentCatalog/client/Client.js +6 -6
  15. package/dist/api/resources/documentCollections/client/Client.js +12 -12
  16. package/dist/api/resources/index.d.ts +0 -3
  17. package/dist/api/resources/index.js +1 -4
  18. package/dist/api/resources/permissionsService/client/Client.js +6 -6
  19. package/dist/api/resources/search/client/Client.js +2 -2
  20. package/dist/api/resources/users/client/Client.js +2 -2
  21. package/dist/serialization/resources/index.d.ts +0 -3
  22. package/dist/serialization/resources/index.js +1 -4
  23. package/dist/version.d.ts +1 -1
  24. package/dist/version.js +1 -1
  25. package/package.json +1 -1
  26. package/reference.md +0 -79
  27. package/serialization/resources/index.d.ts +0 -3
  28. package/serialization/resources/index.js +1 -4
  29. package/version.d.ts +1 -1
  30. package/version.js +1 -1
  31. package/api/resources/actions/client/Client.d.ts +0 -50
  32. package/api/resources/actions/client/Client.js +0 -138
  33. package/api/resources/actions/client/index.d.ts +0 -1
  34. package/api/resources/actions/client/index.js +0 -17
  35. package/api/resources/actions/client/requests/InvokeActionRequest.d.ts +0 -55
  36. package/api/resources/actions/client/requests/InvokeActionRequest.js +0 -5
  37. package/api/resources/actions/client/requests/index.d.ts +0 -1
  38. package/api/resources/actions/client/requests/index.js +0 -2
  39. package/api/resources/actions/index.d.ts +0 -2
  40. package/api/resources/actions/index.js +0 -18
  41. package/api/resources/actions/types/ActionStatus.d.ts +0 -13
  42. package/api/resources/actions/types/ActionStatus.js +0 -15
  43. package/api/resources/actions/types/Conversation.d.ts +0 -6
  44. package/api/resources/actions/types/Conversation.js +0 -5
  45. package/api/resources/actions/types/DirectMessage.d.ts +0 -6
  46. package/api/resources/actions/types/DirectMessage.js +0 -5
  47. package/api/resources/actions/types/HumanConfirmationChannel.d.ts +0 -16
  48. package/api/resources/actions/types/HumanConfirmationChannel.js +0 -5
  49. package/api/resources/actions/types/InvokeActionResponse.d.ts +0 -8
  50. package/api/resources/actions/types/InvokeActionResponse.js +0 -5
  51. package/api/resources/actions/types/SlackThread.d.ts +0 -7
  52. package/api/resources/actions/types/SlackThread.js +0 -5
  53. package/api/resources/actions/types/index.d.ts +0 -6
  54. package/api/resources/actions/types/index.js +0 -22
  55. package/dist/api/resources/actions/client/Client.d.ts +0 -50
  56. package/dist/api/resources/actions/client/Client.js +0 -138
  57. package/dist/api/resources/actions/client/index.d.ts +0 -1
  58. package/dist/api/resources/actions/client/index.js +0 -17
  59. package/dist/api/resources/actions/client/requests/InvokeActionRequest.d.ts +0 -55
  60. package/dist/api/resources/actions/client/requests/InvokeActionRequest.js +0 -5
  61. package/dist/api/resources/actions/client/requests/index.d.ts +0 -1
  62. package/dist/api/resources/actions/client/requests/index.js +0 -2
  63. package/dist/api/resources/actions/index.d.ts +0 -2
  64. package/dist/api/resources/actions/index.js +0 -18
  65. package/dist/api/resources/actions/types/ActionStatus.d.ts +0 -13
  66. package/dist/api/resources/actions/types/ActionStatus.js +0 -15
  67. package/dist/api/resources/actions/types/Conversation.d.ts +0 -6
  68. package/dist/api/resources/actions/types/Conversation.js +0 -5
  69. package/dist/api/resources/actions/types/DirectMessage.d.ts +0 -6
  70. package/dist/api/resources/actions/types/DirectMessage.js +0 -5
  71. package/dist/api/resources/actions/types/HumanConfirmationChannel.d.ts +0 -16
  72. package/dist/api/resources/actions/types/HumanConfirmationChannel.js +0 -5
  73. package/dist/api/resources/actions/types/InvokeActionResponse.d.ts +0 -8
  74. package/dist/api/resources/actions/types/InvokeActionResponse.js +0 -5
  75. package/dist/api/resources/actions/types/SlackThread.d.ts +0 -7
  76. package/dist/api/resources/actions/types/SlackThread.js +0 -5
  77. package/dist/api/resources/actions/types/index.d.ts +0 -6
  78. package/dist/api/resources/actions/types/index.js +0 -22
  79. package/dist/serialization/resources/actions/client/index.d.ts +0 -1
  80. package/dist/serialization/resources/actions/client/index.js +0 -17
  81. package/dist/serialization/resources/actions/client/requests/InvokeActionRequest.d.ts +0 -19
  82. package/dist/serialization/resources/actions/client/requests/InvokeActionRequest.js +0 -40
  83. package/dist/serialization/resources/actions/client/requests/index.d.ts +0 -1
  84. package/dist/serialization/resources/actions/client/requests/index.js +0 -5
  85. package/dist/serialization/resources/actions/index.d.ts +0 -2
  86. package/dist/serialization/resources/actions/index.js +0 -18
  87. package/dist/serialization/resources/actions/types/ActionStatus.d.ts +0 -10
  88. package/dist/serialization/resources/actions/types/ActionStatus.js +0 -39
  89. package/dist/serialization/resources/actions/types/Conversation.d.ts +0 -12
  90. package/dist/serialization/resources/actions/types/Conversation.js +0 -33
  91. package/dist/serialization/resources/actions/types/DirectMessage.d.ts +0 -12
  92. package/dist/serialization/resources/actions/types/DirectMessage.js +0 -33
  93. package/dist/serialization/resources/actions/types/HumanConfirmationChannel.d.ts +0 -22
  94. package/dist/serialization/resources/actions/types/HumanConfirmationChannel.js +0 -43
  95. package/dist/serialization/resources/actions/types/InvokeActionResponse.d.ts +0 -14
  96. package/dist/serialization/resources/actions/types/InvokeActionResponse.js +0 -35
  97. package/dist/serialization/resources/actions/types/SlackThread.d.ts +0 -13
  98. package/dist/serialization/resources/actions/types/SlackThread.js +0 -34
  99. package/dist/serialization/resources/actions/types/index.d.ts +0 -6
  100. package/dist/serialization/resources/actions/types/index.js +0 -22
  101. package/serialization/resources/actions/client/index.d.ts +0 -1
  102. package/serialization/resources/actions/client/index.js +0 -17
  103. package/serialization/resources/actions/client/requests/InvokeActionRequest.d.ts +0 -19
  104. package/serialization/resources/actions/client/requests/InvokeActionRequest.js +0 -40
  105. package/serialization/resources/actions/client/requests/index.d.ts +0 -1
  106. package/serialization/resources/actions/client/requests/index.js +0 -5
  107. package/serialization/resources/actions/index.d.ts +0 -2
  108. package/serialization/resources/actions/index.js +0 -18
  109. package/serialization/resources/actions/types/ActionStatus.d.ts +0 -10
  110. package/serialization/resources/actions/types/ActionStatus.js +0 -39
  111. package/serialization/resources/actions/types/Conversation.d.ts +0 -12
  112. package/serialization/resources/actions/types/Conversation.js +0 -33
  113. package/serialization/resources/actions/types/DirectMessage.d.ts +0 -12
  114. package/serialization/resources/actions/types/DirectMessage.js +0 -33
  115. package/serialization/resources/actions/types/HumanConfirmationChannel.d.ts +0 -22
  116. package/serialization/resources/actions/types/HumanConfirmationChannel.js +0 -43
  117. package/serialization/resources/actions/types/InvokeActionResponse.d.ts +0 -14
  118. package/serialization/resources/actions/types/InvokeActionResponse.js +0 -35
  119. package/serialization/resources/actions/types/SlackThread.d.ts +0 -13
  120. package/serialization/resources/actions/types/SlackThread.js +0 -34
  121. package/serialization/resources/actions/types/index.d.ts +0 -6
  122. package/serialization/resources/actions/types/index.js +0 -22
package/Client.d.ts CHANGED
@@ -3,7 +3,6 @@
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";
7
6
  import { Copilots } from "./api/resources/copilots/client/Client";
8
7
  import { DocumentCatalog } from "./api/resources/documentCatalog/client/Client";
9
8
  import { DocumentCollections } from "./api/resources/documentCollections/client/Client";
@@ -28,8 +27,6 @@ export declare namespace CredalClient {
28
27
  export declare class CredalClient {
29
28
  protected readonly _options: CredalClient.Options;
30
29
  constructor(_options?: CredalClient.Options);
31
- protected _actions: Actions | undefined;
32
- get actions(): Actions;
33
30
  protected _copilots: Copilots | undefined;
34
31
  get copilots(): Copilots;
35
32
  protected _documentCatalog: DocumentCatalog | undefined;
package/Client.js CHANGED
@@ -4,44 +4,39 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CredalClient = void 0;
7
- const Client_1 = require("./api/resources/actions/client/Client");
8
- const Client_2 = require("./api/resources/copilots/client/Client");
9
- const Client_3 = require("./api/resources/documentCatalog/client/Client");
10
- const Client_4 = require("./api/resources/documentCollections/client/Client");
11
- const Client_5 = require("./api/resources/permissionsService/client/Client");
12
- const Client_6 = require("./api/resources/search/client/Client");
13
- const Client_7 = require("./api/resources/users/client/Client");
7
+ const Client_1 = require("./api/resources/copilots/client/Client");
8
+ const Client_2 = require("./api/resources/documentCatalog/client/Client");
9
+ const Client_3 = require("./api/resources/documentCollections/client/Client");
10
+ const Client_4 = require("./api/resources/permissionsService/client/Client");
11
+ const Client_5 = require("./api/resources/search/client/Client");
12
+ const Client_6 = require("./api/resources/users/client/Client");
14
13
  class CredalClient {
15
14
  constructor(_options = {}) {
16
15
  this._options = _options;
17
16
  }
18
- get actions() {
19
- var _a;
20
- return ((_a = this._actions) !== null && _a !== void 0 ? _a : (this._actions = new Client_1.Actions(this._options)));
21
- }
22
17
  get copilots() {
23
18
  var _a;
24
- return ((_a = this._copilots) !== null && _a !== void 0 ? _a : (this._copilots = new Client_2.Copilots(this._options)));
19
+ return ((_a = this._copilots) !== null && _a !== void 0 ? _a : (this._copilots = new Client_1.Copilots(this._options)));
25
20
  }
26
21
  get documentCatalog() {
27
22
  var _a;
28
- return ((_a = this._documentCatalog) !== null && _a !== void 0 ? _a : (this._documentCatalog = new Client_3.DocumentCatalog(this._options)));
23
+ return ((_a = this._documentCatalog) !== null && _a !== void 0 ? _a : (this._documentCatalog = new Client_2.DocumentCatalog(this._options)));
29
24
  }
30
25
  get documentCollections() {
31
26
  var _a;
32
- return ((_a = this._documentCollections) !== null && _a !== void 0 ? _a : (this._documentCollections = new Client_4.DocumentCollections(this._options)));
27
+ return ((_a = this._documentCollections) !== null && _a !== void 0 ? _a : (this._documentCollections = new Client_3.DocumentCollections(this._options)));
33
28
  }
34
29
  get permissionsService() {
35
30
  var _a;
36
- return ((_a = this._permissionsService) !== null && _a !== void 0 ? _a : (this._permissionsService = new Client_5.PermissionsService(this._options)));
31
+ return ((_a = this._permissionsService) !== null && _a !== void 0 ? _a : (this._permissionsService = new Client_4.PermissionsService(this._options)));
37
32
  }
38
33
  get search() {
39
34
  var _a;
40
- return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_6.Search(this._options)));
35
+ return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_5.Search(this._options)));
41
36
  }
42
37
  get users() {
43
38
  var _a;
44
- return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_7.Users(this._options)));
39
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_6.Users(this._options)));
45
40
  }
46
41
  }
47
42
  exports.CredalClient = CredalClient;
@@ -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.23",
78
- "User-Agent": "@credal/sdk/0.0.23",
77
+ "X-Fern-SDK-Version": "0.0.24",
78
+ "User-Agent": "@credal/sdk/0.0.24",
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.23",
141
- "User-Agent": "@credal/sdk/0.0.23",
140
+ "X-Fern-SDK-Version": "0.0.24",
141
+ "User-Agent": "@credal/sdk/0.0.24",
142
142
  "X-Fern-Runtime": core.RUNTIME.type,
143
143
  "X-Fern-Runtime-Version": core.RUNTIME.version,
144
144
  },
@@ -204,8 +204,8 @@ class Copilots {
204
204
  Authorization: yield this._getAuthorizationHeader(),
205
205
  "X-Fern-Language": "JavaScript",
206
206
  "X-Fern-SDK-Name": "@credal/sdk",
207
- "X-Fern-SDK-Version": "0.0.23",
208
- "User-Agent": "@credal/sdk/0.0.23",
207
+ "X-Fern-SDK-Version": "0.0.24",
208
+ "User-Agent": "@credal/sdk/0.0.24",
209
209
  "X-Fern-Runtime": core.RUNTIME.type,
210
210
  "X-Fern-Runtime-Version": core.RUNTIME.version,
211
211
  },
@@ -268,8 +268,8 @@ class Copilots {
268
268
  Authorization: yield this._getAuthorizationHeader(),
269
269
  "X-Fern-Language": "JavaScript",
270
270
  "X-Fern-SDK-Name": "@credal/sdk",
271
- "X-Fern-SDK-Version": "0.0.23",
272
- "User-Agent": "@credal/sdk/0.0.23",
271
+ "X-Fern-SDK-Version": "0.0.24",
272
+ "User-Agent": "@credal/sdk/0.0.24",
273
273
  "X-Fern-Runtime": core.RUNTIME.type,
274
274
  "X-Fern-Runtime-Version": core.RUNTIME.version,
275
275
  },
@@ -322,8 +322,8 @@ class Copilots {
322
322
  Authorization: yield this._getAuthorizationHeader(),
323
323
  "X-Fern-Language": "JavaScript",
324
324
  "X-Fern-SDK-Name": "@credal/sdk",
325
- "X-Fern-SDK-Version": "0.0.23",
326
- "User-Agent": "@credal/sdk/0.0.23",
325
+ "X-Fern-SDK-Version": "0.0.24",
326
+ "User-Agent": "@credal/sdk/0.0.24",
327
327
  "X-Fern-Runtime": core.RUNTIME.type,
328
328
  "X-Fern-Runtime-Version": core.RUNTIME.version,
329
329
  },
@@ -396,8 +396,8 @@ class Copilots {
396
396
  Authorization: yield this._getAuthorizationHeader(),
397
397
  "X-Fern-Language": "JavaScript",
398
398
  "X-Fern-SDK-Name": "@credal/sdk",
399
- "X-Fern-SDK-Version": "0.0.23",
400
- "User-Agent": "@credal/sdk/0.0.23",
399
+ "X-Fern-SDK-Version": "0.0.24",
400
+ "User-Agent": "@credal/sdk/0.0.24",
401
401
  "X-Fern-Runtime": core.RUNTIME.type,
402
402
  "X-Fern-Runtime-Version": core.RUNTIME.version,
403
403
  },
@@ -454,8 +454,8 @@ class Copilots {
454
454
  Authorization: yield this._getAuthorizationHeader(),
455
455
  "X-Fern-Language": "JavaScript",
456
456
  "X-Fern-SDK-Name": "@credal/sdk",
457
- "X-Fern-SDK-Version": "0.0.23",
458
- "User-Agent": "@credal/sdk/0.0.23",
457
+ "X-Fern-SDK-Version": "0.0.24",
458
+ "User-Agent": "@credal/sdk/0.0.24",
459
459
  "X-Fern-Runtime": core.RUNTIME.type,
460
460
  "X-Fern-Runtime-Version": core.RUNTIME.version,
461
461
  },
@@ -522,8 +522,8 @@ class Copilots {
522
522
  Authorization: yield this._getAuthorizationHeader(),
523
523
  "X-Fern-Language": "JavaScript",
524
524
  "X-Fern-SDK-Name": "@credal/sdk",
525
- "X-Fern-SDK-Version": "0.0.23",
526
- "User-Agent": "@credal/sdk/0.0.23",
525
+ "X-Fern-SDK-Version": "0.0.24",
526
+ "User-Agent": "@credal/sdk/0.0.24",
527
527
  "X-Fern-Runtime": core.RUNTIME.type,
528
528
  "X-Fern-Runtime-Version": core.RUNTIME.version,
529
529
  },
@@ -577,8 +577,8 @@ class Copilots {
577
577
  Authorization: yield this._getAuthorizationHeader(),
578
578
  "X-Fern-Language": "JavaScript",
579
579
  "X-Fern-SDK-Name": "@credal/sdk",
580
- "X-Fern-SDK-Version": "0.0.23",
581
- "User-Agent": "@credal/sdk/0.0.23",
580
+ "X-Fern-SDK-Version": "0.0.24",
581
+ "User-Agent": "@credal/sdk/0.0.24",
582
582
  "X-Fern-Runtime": core.RUNTIME.type,
583
583
  "X-Fern-Runtime-Version": core.RUNTIME.version,
584
584
  },
@@ -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.23",
75
- "User-Agent": "@credal/sdk/0.0.23",
74
+ "X-Fern-SDK-Version": "0.0.24",
75
+ "User-Agent": "@credal/sdk/0.0.24",
76
76
  "X-Fern-Runtime": core.RUNTIME.type,
77
77
  "X-Fern-Runtime-Version": core.RUNTIME.version,
78
78
  },
@@ -134,8 +134,8 @@ class DocumentCatalog {
134
134
  Authorization: yield this._getAuthorizationHeader(),
135
135
  "X-Fern-Language": "JavaScript",
136
136
  "X-Fern-SDK-Name": "@credal/sdk",
137
- "X-Fern-SDK-Version": "0.0.23",
138
- "User-Agent": "@credal/sdk/0.0.23",
137
+ "X-Fern-SDK-Version": "0.0.24",
138
+ "User-Agent": "@credal/sdk/0.0.24",
139
139
  "X-Fern-Runtime": core.RUNTIME.type,
140
140
  "X-Fern-Runtime-Version": core.RUNTIME.version,
141
141
  },
@@ -217,8 +217,8 @@ class DocumentCatalog {
217
217
  Authorization: yield this._getAuthorizationHeader(),
218
218
  "X-Fern-Language": "JavaScript",
219
219
  "X-Fern-SDK-Name": "@credal/sdk",
220
- "X-Fern-SDK-Version": "0.0.23",
221
- "User-Agent": "@credal/sdk/0.0.23",
220
+ "X-Fern-SDK-Version": "0.0.24",
221
+ "User-Agent": "@credal/sdk/0.0.24",
222
222
  "X-Fern-Runtime": core.RUNTIME.type,
223
223
  "X-Fern-Runtime-Version": core.RUNTIME.version,
224
224
  },
@@ -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.23",
82
- "User-Agent": "@credal/sdk/0.0.23",
81
+ "X-Fern-SDK-Version": "0.0.24",
82
+ "User-Agent": "@credal/sdk/0.0.24",
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.23",
148
- "User-Agent": "@credal/sdk/0.0.23",
147
+ "X-Fern-SDK-Version": "0.0.24",
148
+ "User-Agent": "@credal/sdk/0.0.24",
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.23",
212
- "User-Agent": "@credal/sdk/0.0.23",
211
+ "X-Fern-SDK-Version": "0.0.24",
212
+ "User-Agent": "@credal/sdk/0.0.24",
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.23",
274
- "User-Agent": "@credal/sdk/0.0.23",
273
+ "X-Fern-SDK-Version": "0.0.24",
274
+ "User-Agent": "@credal/sdk/0.0.24",
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.23",
352
- "User-Agent": "@credal/sdk/0.0.23",
351
+ "X-Fern-SDK-Version": "0.0.24",
352
+ "User-Agent": "@credal/sdk/0.0.24",
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.23",
432
- "User-Agent": "@credal/sdk/0.0.23",
431
+ "X-Fern-SDK-Version": "0.0.24",
432
+ "User-Agent": "@credal/sdk/0.0.24",
433
433
  "X-Fern-Runtime": core.RUNTIME.type,
434
434
  "X-Fern-Runtime-Version": core.RUNTIME.version,
435
435
  },
@@ -1,5 +1,3 @@
1
- export * as actions from "./actions";
2
- export * from "./actions/types";
3
1
  export * as common from "./common";
4
2
  export * from "./common/types";
5
3
  export * as copilots from "./copilots";
@@ -14,7 +12,6 @@ export * as search from "./search";
14
12
  export * from "./search/types";
15
13
  export * as users from "./users";
16
14
  export * from "./users/types";
17
- export * from "./actions/client/requests";
18
15
  export * from "./copilots/client/requests";
19
16
  export * from "./documentCatalog/client/requests";
20
17
  export * from "./documentCollections/client/requests";
@@ -26,9 +26,7 @@ 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 = exports.actions = void 0;
30
- exports.actions = __importStar(require("./actions"));
31
- __exportStar(require("./actions/types"), exports);
29
+ exports.users = exports.search = exports.permissionsService = exports.documentCollections = exports.documentCatalog = exports.copilots = exports.common = void 0;
32
30
  exports.common = __importStar(require("./common"));
33
31
  __exportStar(require("./common/types"), exports);
34
32
  exports.copilots = __importStar(require("./copilots"));
@@ -43,7 +41,6 @@ exports.search = __importStar(require("./search"));
43
41
  __exportStar(require("./search/types"), exports);
44
42
  exports.users = __importStar(require("./users"));
45
43
  __exportStar(require("./users/types"), exports);
46
- __exportStar(require("./actions/client/requests"), exports);
47
44
  __exportStar(require("./copilots/client/requests"), exports);
48
45
  __exportStar(require("./documentCatalog/client/requests"), exports);
49
46
  __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.23",
78
- "User-Agent": "@credal/sdk/0.0.23",
77
+ "X-Fern-SDK-Version": "0.0.24",
78
+ "User-Agent": "@credal/sdk/0.0.24",
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.23",
150
- "User-Agent": "@credal/sdk/0.0.23",
149
+ "X-Fern-SDK-Version": "0.0.24",
150
+ "User-Agent": "@credal/sdk/0.0.24",
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.23",
214
- "User-Agent": "@credal/sdk/0.0.23",
213
+ "X-Fern-SDK-Version": "0.0.24",
214
+ "User-Agent": "@credal/sdk/0.0.24",
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.23",
88
- "User-Agent": "@credal/sdk/0.0.23",
87
+ "X-Fern-SDK-Version": "0.0.24",
88
+ "User-Agent": "@credal/sdk/0.0.24",
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.23",
83
- "User-Agent": "@credal/sdk/0.0.23",
82
+ "X-Fern-SDK-Version": "0.0.24",
83
+ "User-Agent": "@credal/sdk/0.0.24",
84
84
  "X-Fern-Runtime": core.RUNTIME.type,
85
85
  "X-Fern-Runtime-Version": core.RUNTIME.version,
86
86
  },
package/dist/Client.d.ts CHANGED
@@ -3,7 +3,6 @@
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";
7
6
  import { Copilots } from "./api/resources/copilots/client/Client";
8
7
  import { DocumentCatalog } from "./api/resources/documentCatalog/client/Client";
9
8
  import { DocumentCollections } from "./api/resources/documentCollections/client/Client";
@@ -28,8 +27,6 @@ export declare namespace CredalClient {
28
27
  export declare class CredalClient {
29
28
  protected readonly _options: CredalClient.Options;
30
29
  constructor(_options?: CredalClient.Options);
31
- protected _actions: Actions | undefined;
32
- get actions(): Actions;
33
30
  protected _copilots: Copilots | undefined;
34
31
  get copilots(): Copilots;
35
32
  protected _documentCatalog: DocumentCatalog | undefined;
package/dist/Client.js CHANGED
@@ -4,44 +4,39 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CredalClient = void 0;
7
- const Client_1 = require("./api/resources/actions/client/Client");
8
- const Client_2 = require("./api/resources/copilots/client/Client");
9
- const Client_3 = require("./api/resources/documentCatalog/client/Client");
10
- const Client_4 = require("./api/resources/documentCollections/client/Client");
11
- const Client_5 = require("./api/resources/permissionsService/client/Client");
12
- const Client_6 = require("./api/resources/search/client/Client");
13
- const Client_7 = require("./api/resources/users/client/Client");
7
+ const Client_1 = require("./api/resources/copilots/client/Client");
8
+ const Client_2 = require("./api/resources/documentCatalog/client/Client");
9
+ const Client_3 = require("./api/resources/documentCollections/client/Client");
10
+ const Client_4 = require("./api/resources/permissionsService/client/Client");
11
+ const Client_5 = require("./api/resources/search/client/Client");
12
+ const Client_6 = require("./api/resources/users/client/Client");
14
13
  class CredalClient {
15
14
  constructor(_options = {}) {
16
15
  this._options = _options;
17
16
  }
18
- get actions() {
19
- var _a;
20
- return ((_a = this._actions) !== null && _a !== void 0 ? _a : (this._actions = new Client_1.Actions(this._options)));
21
- }
22
17
  get copilots() {
23
18
  var _a;
24
- return ((_a = this._copilots) !== null && _a !== void 0 ? _a : (this._copilots = new Client_2.Copilots(this._options)));
19
+ return ((_a = this._copilots) !== null && _a !== void 0 ? _a : (this._copilots = new Client_1.Copilots(this._options)));
25
20
  }
26
21
  get documentCatalog() {
27
22
  var _a;
28
- return ((_a = this._documentCatalog) !== null && _a !== void 0 ? _a : (this._documentCatalog = new Client_3.DocumentCatalog(this._options)));
23
+ return ((_a = this._documentCatalog) !== null && _a !== void 0 ? _a : (this._documentCatalog = new Client_2.DocumentCatalog(this._options)));
29
24
  }
30
25
  get documentCollections() {
31
26
  var _a;
32
- return ((_a = this._documentCollections) !== null && _a !== void 0 ? _a : (this._documentCollections = new Client_4.DocumentCollections(this._options)));
27
+ return ((_a = this._documentCollections) !== null && _a !== void 0 ? _a : (this._documentCollections = new Client_3.DocumentCollections(this._options)));
33
28
  }
34
29
  get permissionsService() {
35
30
  var _a;
36
- return ((_a = this._permissionsService) !== null && _a !== void 0 ? _a : (this._permissionsService = new Client_5.PermissionsService(this._options)));
31
+ return ((_a = this._permissionsService) !== null && _a !== void 0 ? _a : (this._permissionsService = new Client_4.PermissionsService(this._options)));
37
32
  }
38
33
  get search() {
39
34
  var _a;
40
- return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_6.Search(this._options)));
35
+ return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_5.Search(this._options)));
41
36
  }
42
37
  get users() {
43
38
  var _a;
44
- return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_7.Users(this._options)));
39
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_6.Users(this._options)));
45
40
  }
46
41
  }
47
42
  exports.CredalClient = CredalClient;
@@ -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.23",
78
- "User-Agent": "@credal/sdk/0.0.23",
77
+ "X-Fern-SDK-Version": "0.0.24",
78
+ "User-Agent": "@credal/sdk/0.0.24",
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.23",
141
- "User-Agent": "@credal/sdk/0.0.23",
140
+ "X-Fern-SDK-Version": "0.0.24",
141
+ "User-Agent": "@credal/sdk/0.0.24",
142
142
  "X-Fern-Runtime": core.RUNTIME.type,
143
143
  "X-Fern-Runtime-Version": core.RUNTIME.version,
144
144
  },
@@ -204,8 +204,8 @@ class Copilots {
204
204
  Authorization: yield this._getAuthorizationHeader(),
205
205
  "X-Fern-Language": "JavaScript",
206
206
  "X-Fern-SDK-Name": "@credal/sdk",
207
- "X-Fern-SDK-Version": "0.0.23",
208
- "User-Agent": "@credal/sdk/0.0.23",
207
+ "X-Fern-SDK-Version": "0.0.24",
208
+ "User-Agent": "@credal/sdk/0.0.24",
209
209
  "X-Fern-Runtime": core.RUNTIME.type,
210
210
  "X-Fern-Runtime-Version": core.RUNTIME.version,
211
211
  },
@@ -268,8 +268,8 @@ class Copilots {
268
268
  Authorization: yield this._getAuthorizationHeader(),
269
269
  "X-Fern-Language": "JavaScript",
270
270
  "X-Fern-SDK-Name": "@credal/sdk",
271
- "X-Fern-SDK-Version": "0.0.23",
272
- "User-Agent": "@credal/sdk/0.0.23",
271
+ "X-Fern-SDK-Version": "0.0.24",
272
+ "User-Agent": "@credal/sdk/0.0.24",
273
273
  "X-Fern-Runtime": core.RUNTIME.type,
274
274
  "X-Fern-Runtime-Version": core.RUNTIME.version,
275
275
  },
@@ -322,8 +322,8 @@ class Copilots {
322
322
  Authorization: yield this._getAuthorizationHeader(),
323
323
  "X-Fern-Language": "JavaScript",
324
324
  "X-Fern-SDK-Name": "@credal/sdk",
325
- "X-Fern-SDK-Version": "0.0.23",
326
- "User-Agent": "@credal/sdk/0.0.23",
325
+ "X-Fern-SDK-Version": "0.0.24",
326
+ "User-Agent": "@credal/sdk/0.0.24",
327
327
  "X-Fern-Runtime": core.RUNTIME.type,
328
328
  "X-Fern-Runtime-Version": core.RUNTIME.version,
329
329
  },
@@ -396,8 +396,8 @@ class Copilots {
396
396
  Authorization: yield this._getAuthorizationHeader(),
397
397
  "X-Fern-Language": "JavaScript",
398
398
  "X-Fern-SDK-Name": "@credal/sdk",
399
- "X-Fern-SDK-Version": "0.0.23",
400
- "User-Agent": "@credal/sdk/0.0.23",
399
+ "X-Fern-SDK-Version": "0.0.24",
400
+ "User-Agent": "@credal/sdk/0.0.24",
401
401
  "X-Fern-Runtime": core.RUNTIME.type,
402
402
  "X-Fern-Runtime-Version": core.RUNTIME.version,
403
403
  },
@@ -454,8 +454,8 @@ class Copilots {
454
454
  Authorization: yield this._getAuthorizationHeader(),
455
455
  "X-Fern-Language": "JavaScript",
456
456
  "X-Fern-SDK-Name": "@credal/sdk",
457
- "X-Fern-SDK-Version": "0.0.23",
458
- "User-Agent": "@credal/sdk/0.0.23",
457
+ "X-Fern-SDK-Version": "0.0.24",
458
+ "User-Agent": "@credal/sdk/0.0.24",
459
459
  "X-Fern-Runtime": core.RUNTIME.type,
460
460
  "X-Fern-Runtime-Version": core.RUNTIME.version,
461
461
  },
@@ -522,8 +522,8 @@ class Copilots {
522
522
  Authorization: yield this._getAuthorizationHeader(),
523
523
  "X-Fern-Language": "JavaScript",
524
524
  "X-Fern-SDK-Name": "@credal/sdk",
525
- "X-Fern-SDK-Version": "0.0.23",
526
- "User-Agent": "@credal/sdk/0.0.23",
525
+ "X-Fern-SDK-Version": "0.0.24",
526
+ "User-Agent": "@credal/sdk/0.0.24",
527
527
  "X-Fern-Runtime": core.RUNTIME.type,
528
528
  "X-Fern-Runtime-Version": core.RUNTIME.version,
529
529
  },
@@ -577,8 +577,8 @@ class Copilots {
577
577
  Authorization: yield this._getAuthorizationHeader(),
578
578
  "X-Fern-Language": "JavaScript",
579
579
  "X-Fern-SDK-Name": "@credal/sdk",
580
- "X-Fern-SDK-Version": "0.0.23",
581
- "User-Agent": "@credal/sdk/0.0.23",
580
+ "X-Fern-SDK-Version": "0.0.24",
581
+ "User-Agent": "@credal/sdk/0.0.24",
582
582
  "X-Fern-Runtime": core.RUNTIME.type,
583
583
  "X-Fern-Runtime-Version": core.RUNTIME.version,
584
584
  },
@@ -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.23",
75
- "User-Agent": "@credal/sdk/0.0.23",
74
+ "X-Fern-SDK-Version": "0.0.24",
75
+ "User-Agent": "@credal/sdk/0.0.24",
76
76
  "X-Fern-Runtime": core.RUNTIME.type,
77
77
  "X-Fern-Runtime-Version": core.RUNTIME.version,
78
78
  },
@@ -134,8 +134,8 @@ class DocumentCatalog {
134
134
  Authorization: yield this._getAuthorizationHeader(),
135
135
  "X-Fern-Language": "JavaScript",
136
136
  "X-Fern-SDK-Name": "@credal/sdk",
137
- "X-Fern-SDK-Version": "0.0.23",
138
- "User-Agent": "@credal/sdk/0.0.23",
137
+ "X-Fern-SDK-Version": "0.0.24",
138
+ "User-Agent": "@credal/sdk/0.0.24",
139
139
  "X-Fern-Runtime": core.RUNTIME.type,
140
140
  "X-Fern-Runtime-Version": core.RUNTIME.version,
141
141
  },
@@ -217,8 +217,8 @@ class DocumentCatalog {
217
217
  Authorization: yield this._getAuthorizationHeader(),
218
218
  "X-Fern-Language": "JavaScript",
219
219
  "X-Fern-SDK-Name": "@credal/sdk",
220
- "X-Fern-SDK-Version": "0.0.23",
221
- "User-Agent": "@credal/sdk/0.0.23",
220
+ "X-Fern-SDK-Version": "0.0.24",
221
+ "User-Agent": "@credal/sdk/0.0.24",
222
222
  "X-Fern-Runtime": core.RUNTIME.type,
223
223
  "X-Fern-Runtime-Version": core.RUNTIME.version,
224
224
  },