@credal/sdk 0.0.22 → 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
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Credal from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const DirectMessage: core.serialization.ObjectSchema<serializers.DirectMessage.Raw, Credal.DirectMessage>;
8
- export declare namespace DirectMessage {
9
- interface Raw {
10
- channelId: string;
11
- }
12
- }
@@ -1,33 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.DirectMessage = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.DirectMessage = core.serialization.object({
32
- channelId: core.serialization.string(),
33
- });
@@ -1,22 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Credal from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- import { DirectMessage } from "./DirectMessage";
8
- import { SlackThread } from "./SlackThread";
9
- import { Conversation } from "./Conversation";
10
- export declare const HumanConfirmationChannel: core.serialization.Schema<serializers.HumanConfirmationChannel.Raw, Credal.HumanConfirmationChannel>;
11
- export declare namespace HumanConfirmationChannel {
12
- type Raw = HumanConfirmationChannel.DirectMessage | HumanConfirmationChannel.SlackThread | HumanConfirmationChannel.Conversation;
13
- interface DirectMessage extends DirectMessage.Raw {
14
- type: "directMessage";
15
- }
16
- interface SlackThread extends SlackThread.Raw {
17
- type: "slackThread";
18
- }
19
- interface Conversation extends Conversation.Raw {
20
- type: "conversation";
21
- }
22
- }
@@ -1,43 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.HumanConfirmationChannel = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- const DirectMessage_1 = require("./DirectMessage");
32
- const SlackThread_1 = require("./SlackThread");
33
- const Conversation_1 = require("./Conversation");
34
- exports.HumanConfirmationChannel = core.serialization
35
- .union("type", {
36
- directMessage: DirectMessage_1.DirectMessage,
37
- slackThread: SlackThread_1.SlackThread,
38
- conversation: Conversation_1.Conversation,
39
- })
40
- .transform({
41
- transform: (value) => value,
42
- untransform: (value) => value,
43
- });
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Credal from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- import { ActionStatus } from "./ActionStatus";
8
- export declare const InvokeActionResponse: core.serialization.ObjectSchema<serializers.InvokeActionResponse.Raw, Credal.InvokeActionResponse>;
9
- export declare namespace InvokeActionResponse {
10
- interface Raw {
11
- actionInvocationId: string;
12
- actionInvocationStatus: ActionStatus.Raw;
13
- }
14
- }
@@ -1,35 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.InvokeActionResponse = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- const ActionStatus_1 = require("./ActionStatus");
32
- exports.InvokeActionResponse = core.serialization.object({
33
- actionInvocationId: core.serialization.string(),
34
- actionInvocationStatus: ActionStatus_1.ActionStatus,
35
- });
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Credal from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const SlackThread: core.serialization.ObjectSchema<serializers.SlackThread.Raw, Credal.SlackThread>;
8
- export declare namespace SlackThread {
9
- interface Raw {
10
- channelId: string;
11
- threadTimestamp: string;
12
- }
13
- }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.SlackThread = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.SlackThread = core.serialization.object({
32
- channelId: core.serialization.string(),
33
- threadTimestamp: core.serialization.string(),
34
- });
@@ -1,6 +0,0 @@
1
- export * from "./HumanConfirmationChannel";
2
- export * from "./DirectMessage";
3
- export * from "./SlackThread";
4
- export * from "./Conversation";
5
- export * from "./InvokeActionResponse";
6
- export * from "./ActionStatus";
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./HumanConfirmationChannel"), exports);
18
- __exportStar(require("./DirectMessage"), exports);
19
- __exportStar(require("./SlackThread"), exports);
20
- __exportStar(require("./Conversation"), exports);
21
- __exportStar(require("./InvokeActionResponse"), exports);
22
- __exportStar(require("./ActionStatus"), exports);