agentmail 0.0.42 → 0.0.43

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 (130) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +8 -13
  3. package/api/resources/domains/client/Client.js +4 -4
  4. package/api/resources/drafts/client/Client.js +2 -2
  5. package/api/resources/inboxes/client/Client.js +3 -3
  6. package/api/resources/inboxes/resources/drafts/client/Client.js +4 -4
  7. package/api/resources/inboxes/resources/messages/client/Client.js +6 -6
  8. package/api/resources/inboxes/resources/threads/client/Client.js +3 -3
  9. package/api/resources/index.d.ts +0 -3
  10. package/api/resources/index.js +1 -4
  11. package/api/resources/threads/client/Client.js +3 -3
  12. package/api/resources/webhooks/client/Client.js +4 -4
  13. package/dist/Client.d.ts +0 -3
  14. package/dist/Client.js +8 -13
  15. package/dist/api/resources/domains/client/Client.js +4 -4
  16. package/dist/api/resources/drafts/client/Client.js +2 -2
  17. package/dist/api/resources/inboxes/client/Client.js +3 -3
  18. package/dist/api/resources/inboxes/resources/drafts/client/Client.js +4 -4
  19. package/dist/api/resources/inboxes/resources/messages/client/Client.js +6 -6
  20. package/dist/api/resources/inboxes/resources/threads/client/Client.js +3 -3
  21. package/dist/api/resources/index.d.ts +0 -3
  22. package/dist/api/resources/index.js +1 -4
  23. package/dist/api/resources/threads/client/Client.js +3 -3
  24. package/dist/api/resources/webhooks/client/Client.js +4 -4
  25. package/dist/serialization/resources/index.d.ts +0 -2
  26. package/dist/serialization/resources/index.js +1 -3
  27. package/dist/version.d.ts +1 -1
  28. package/dist/version.js +1 -1
  29. package/package.json +1 -1
  30. package/reference.md +0 -203
  31. package/serialization/resources/index.d.ts +0 -2
  32. package/serialization/resources/index.js +1 -3
  33. package/version.d.ts +1 -1
  34. package/version.js +1 -1
  35. package/api/resources/contexts/client/Client.d.ts +0 -76
  36. package/api/resources/contexts/client/Client.js +0 -327
  37. package/api/resources/contexts/client/index.d.ts +0 -1
  38. package/api/resources/contexts/client/index.js +0 -17
  39. package/api/resources/contexts/client/requests/ListContextsRequest.d.ts +0 -12
  40. package/api/resources/contexts/client/requests/ListContextsRequest.js +0 -5
  41. package/api/resources/contexts/client/requests/index.d.ts +0 -1
  42. package/api/resources/contexts/client/requests/index.js +0 -2
  43. package/api/resources/contexts/index.d.ts +0 -2
  44. package/api/resources/contexts/index.js +0 -18
  45. package/api/resources/contexts/types/Context.d.ts +0 -15
  46. package/api/resources/contexts/types/Context.js +0 -5
  47. package/api/resources/contexts/types/ContextData.d.ts +0 -7
  48. package/api/resources/contexts/types/ContextData.js +0 -5
  49. package/api/resources/contexts/types/ContextId.d.ts +0 -7
  50. package/api/resources/contexts/types/ContextId.js +0 -5
  51. package/api/resources/contexts/types/ContextIsEvent.d.ts +0 -7
  52. package/api/resources/contexts/types/ContextIsEvent.js +0 -5
  53. package/api/resources/contexts/types/ContextMetadata.d.ts +0 -7
  54. package/api/resources/contexts/types/ContextMetadata.js +0 -5
  55. package/api/resources/contexts/types/ContextType.d.ts +0 -7
  56. package/api/resources/contexts/types/ContextType.js +0 -5
  57. package/api/resources/contexts/types/CreateContextRequest.d.ts +0 -10
  58. package/api/resources/contexts/types/CreateContextRequest.js +0 -5
  59. package/api/resources/contexts/types/ListContextsResponse.d.ts +0 -11
  60. package/api/resources/contexts/types/ListContextsResponse.js +0 -5
  61. package/api/resources/contexts/types/index.d.ts +0 -8
  62. package/api/resources/contexts/types/index.js +0 -24
  63. package/dist/api/resources/contexts/client/Client.d.ts +0 -76
  64. package/dist/api/resources/contexts/client/Client.js +0 -327
  65. package/dist/api/resources/contexts/client/index.d.ts +0 -1
  66. package/dist/api/resources/contexts/client/index.js +0 -17
  67. package/dist/api/resources/contexts/client/requests/ListContextsRequest.d.ts +0 -12
  68. package/dist/api/resources/contexts/client/requests/ListContextsRequest.js +0 -5
  69. package/dist/api/resources/contexts/client/requests/index.d.ts +0 -1
  70. package/dist/api/resources/contexts/client/requests/index.js +0 -2
  71. package/dist/api/resources/contexts/index.d.ts +0 -2
  72. package/dist/api/resources/contexts/index.js +0 -18
  73. package/dist/api/resources/contexts/types/Context.d.ts +0 -15
  74. package/dist/api/resources/contexts/types/Context.js +0 -5
  75. package/dist/api/resources/contexts/types/ContextData.d.ts +0 -7
  76. package/dist/api/resources/contexts/types/ContextData.js +0 -5
  77. package/dist/api/resources/contexts/types/ContextId.d.ts +0 -7
  78. package/dist/api/resources/contexts/types/ContextId.js +0 -5
  79. package/dist/api/resources/contexts/types/ContextIsEvent.d.ts +0 -7
  80. package/dist/api/resources/contexts/types/ContextIsEvent.js +0 -5
  81. package/dist/api/resources/contexts/types/ContextMetadata.d.ts +0 -7
  82. package/dist/api/resources/contexts/types/ContextMetadata.js +0 -5
  83. package/dist/api/resources/contexts/types/ContextType.d.ts +0 -7
  84. package/dist/api/resources/contexts/types/ContextType.js +0 -5
  85. package/dist/api/resources/contexts/types/CreateContextRequest.d.ts +0 -10
  86. package/dist/api/resources/contexts/types/CreateContextRequest.js +0 -5
  87. package/dist/api/resources/contexts/types/ListContextsResponse.d.ts +0 -11
  88. package/dist/api/resources/contexts/types/ListContextsResponse.js +0 -5
  89. package/dist/api/resources/contexts/types/index.d.ts +0 -8
  90. package/dist/api/resources/contexts/types/index.js +0 -24
  91. package/dist/serialization/resources/contexts/index.d.ts +0 -1
  92. package/dist/serialization/resources/contexts/index.js +0 -17
  93. package/dist/serialization/resources/contexts/types/Context.d.ts +0 -23
  94. package/dist/serialization/resources/contexts/types/Context.js +0 -54
  95. package/dist/serialization/resources/contexts/types/ContextData.d.ts +0 -10
  96. package/dist/serialization/resources/contexts/types/ContextData.js +0 -41
  97. package/dist/serialization/resources/contexts/types/ContextId.d.ts +0 -10
  98. package/dist/serialization/resources/contexts/types/ContextId.js +0 -41
  99. package/dist/serialization/resources/contexts/types/ContextIsEvent.d.ts +0 -10
  100. package/dist/serialization/resources/contexts/types/ContextIsEvent.js +0 -41
  101. package/dist/serialization/resources/contexts/types/ContextMetadata.d.ts +0 -10
  102. package/dist/serialization/resources/contexts/types/ContextMetadata.js +0 -41
  103. package/dist/serialization/resources/contexts/types/ContextType.d.ts +0 -10
  104. package/dist/serialization/resources/contexts/types/ContextType.js +0 -41
  105. package/dist/serialization/resources/contexts/types/CreateContextRequest.d.ts +0 -19
  106. package/dist/serialization/resources/contexts/types/CreateContextRequest.js +0 -50
  107. package/dist/serialization/resources/contexts/types/ListContextsResponse.d.ts +0 -19
  108. package/dist/serialization/resources/contexts/types/ListContextsResponse.js +0 -50
  109. package/dist/serialization/resources/contexts/types/index.d.ts +0 -8
  110. package/dist/serialization/resources/contexts/types/index.js +0 -24
  111. package/serialization/resources/contexts/index.d.ts +0 -1
  112. package/serialization/resources/contexts/index.js +0 -17
  113. package/serialization/resources/contexts/types/Context.d.ts +0 -23
  114. package/serialization/resources/contexts/types/Context.js +0 -54
  115. package/serialization/resources/contexts/types/ContextData.d.ts +0 -10
  116. package/serialization/resources/contexts/types/ContextData.js +0 -41
  117. package/serialization/resources/contexts/types/ContextId.d.ts +0 -10
  118. package/serialization/resources/contexts/types/ContextId.js +0 -41
  119. package/serialization/resources/contexts/types/ContextIsEvent.d.ts +0 -10
  120. package/serialization/resources/contexts/types/ContextIsEvent.js +0 -41
  121. package/serialization/resources/contexts/types/ContextMetadata.d.ts +0 -10
  122. package/serialization/resources/contexts/types/ContextMetadata.js +0 -41
  123. package/serialization/resources/contexts/types/ContextType.d.ts +0 -10
  124. package/serialization/resources/contexts/types/ContextType.js +0 -41
  125. package/serialization/resources/contexts/types/CreateContextRequest.d.ts +0 -19
  126. package/serialization/resources/contexts/types/CreateContextRequest.js +0 -50
  127. package/serialization/resources/contexts/types/ListContextsResponse.d.ts +0 -19
  128. package/serialization/resources/contexts/types/ListContextsResponse.js +0 -50
  129. package/serialization/resources/contexts/types/index.d.ts +0 -8
  130. package/serialization/resources/contexts/types/index.js +0 -24
@@ -1,41 +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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ContextData = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.ContextData = core.serialization.record(core.serialization.string(), core.serialization.unknown());
@@ -1,10 +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 AgentMail from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const ContextId: core.serialization.Schema<serializers.ContextId.Raw, AgentMail.ContextId>;
8
- export declare namespace ContextId {
9
- type Raw = string;
10
- }
@@ -1,41 +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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ContextId = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.ContextId = core.serialization.string();
@@ -1,10 +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 AgentMail from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const ContextIsEvent: core.serialization.Schema<serializers.ContextIsEvent.Raw, AgentMail.ContextIsEvent>;
8
- export declare namespace ContextIsEvent {
9
- type Raw = boolean;
10
- }
@@ -1,41 +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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ContextIsEvent = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.ContextIsEvent = core.serialization.boolean();
@@ -1,10 +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 AgentMail from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const ContextMetadata: core.serialization.Schema<serializers.ContextMetadata.Raw, AgentMail.ContextMetadata>;
8
- export declare namespace ContextMetadata {
9
- type Raw = Record<string, unknown>;
10
- }
@@ -1,41 +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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ContextMetadata = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.ContextMetadata = core.serialization.record(core.serialization.string(), core.serialization.unknown());
@@ -1,10 +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 AgentMail from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const ContextType: core.serialization.Schema<serializers.ContextType.Raw, AgentMail.ContextType>;
8
- export declare namespace ContextType {
9
- type Raw = string;
10
- }
@@ -1,41 +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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ContextType = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.ContextType = core.serialization.string();
@@ -1,19 +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 AgentMail from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- import { ContextType } from "./ContextType";
8
- import { ContextData } from "./ContextData";
9
- import { ContextMetadata } from "./ContextMetadata";
10
- import { ContextIsEvent } from "./ContextIsEvent";
11
- export declare const CreateContextRequest: core.serialization.ObjectSchema<serializers.CreateContextRequest.Raw, AgentMail.CreateContextRequest>;
12
- export declare namespace CreateContextRequest {
13
- interface Raw {
14
- type: ContextType.Raw;
15
- data: ContextData.Raw;
16
- metadata?: ContextMetadata.Raw | null;
17
- is_event: ContextIsEvent.Raw;
18
- }
19
- }
@@ -1,50 +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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.CreateContextRequest = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- const ContextType_1 = require("./ContextType");
42
- const ContextData_1 = require("./ContextData");
43
- const ContextMetadata_1 = require("./ContextMetadata");
44
- const ContextIsEvent_1 = require("./ContextIsEvent");
45
- exports.CreateContextRequest = core.serialization.object({
46
- type: ContextType_1.ContextType,
47
- data: ContextData_1.ContextData,
48
- metadata: ContextMetadata_1.ContextMetadata.optional(),
49
- isEvent: core.serialization.property("is_event", ContextIsEvent_1.ContextIsEvent),
50
- });
@@ -1,19 +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 AgentMail from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- import { Count } from "../../../types/Count";
8
- import { Limit } from "../../../types/Limit";
9
- import { PageToken } from "../../../types/PageToken";
10
- import { Context } from "./Context";
11
- export declare const ListContextsResponse: core.serialization.ObjectSchema<serializers.ListContextsResponse.Raw, AgentMail.ListContextsResponse>;
12
- export declare namespace ListContextsResponse {
13
- interface Raw {
14
- count: Count.Raw;
15
- limit?: Limit.Raw | null;
16
- next_page_token?: PageToken.Raw | null;
17
- contexts: Context.Raw[];
18
- }
19
- }
@@ -1,50 +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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ListContextsResponse = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- const Count_1 = require("../../../types/Count");
42
- const Limit_1 = require("../../../types/Limit");
43
- const PageToken_1 = require("../../../types/PageToken");
44
- const Context_1 = require("./Context");
45
- exports.ListContextsResponse = core.serialization.object({
46
- count: Count_1.Count,
47
- limit: Limit_1.Limit.optional(),
48
- nextPageToken: core.serialization.property("next_page_token", PageToken_1.PageToken.optional()),
49
- contexts: core.serialization.list(Context_1.Context),
50
- });
@@ -1,8 +0,0 @@
1
- export * from "./ContextId";
2
- export * from "./ContextType";
3
- export * from "./ContextData";
4
- export * from "./ContextMetadata";
5
- export * from "./ContextIsEvent";
6
- export * from "./Context";
7
- export * from "./ListContextsResponse";
8
- export * from "./CreateContextRequest";
@@ -1,24 +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("./ContextId"), exports);
18
- __exportStar(require("./ContextType"), exports);
19
- __exportStar(require("./ContextData"), exports);
20
- __exportStar(require("./ContextMetadata"), exports);
21
- __exportStar(require("./ContextIsEvent"), exports);
22
- __exportStar(require("./Context"), exports);
23
- __exportStar(require("./ListContextsResponse"), exports);
24
- __exportStar(require("./CreateContextRequest"), exports);