@letta-ai/letta-client 0.1.100 → 0.1.102

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 (270) hide show
  1. package/Client.d.ts +3 -9
  2. package/Client.js +11 -21
  3. package/api/resources/agents/client/Client.d.ts +1 -9
  4. package/api/resources/agents/client/Client.js +11 -55
  5. package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  6. package/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  7. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  8. package/api/resources/agents/resources/context/client/Client.js +1 -1
  9. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  10. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  11. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  12. package/api/resources/agents/resources/messages/client/Client.js +6 -6
  13. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  14. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  15. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  16. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  17. package/api/resources/agents/types/CreateAgentRequestResponseFormat.d.ts +5 -0
  18. package/api/resources/agents/types/UpdateAgentResponseFormat.d.ts +5 -0
  19. package/api/resources/agents/types/index.d.ts +2 -0
  20. package/api/resources/agents/types/index.js +2 -0
  21. package/api/resources/batches/client/Client.d.ts +5 -1
  22. package/api/resources/batches/client/Client.js +26 -11
  23. package/api/resources/blocks/client/Client.js +5 -5
  24. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  25. package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
  26. package/api/resources/embeddings/client/Client.js +1 -1
  27. package/api/resources/groups/client/Client.js +5 -5
  28. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  29. package/api/resources/health/client/Client.js +1 -1
  30. package/api/resources/identities/client/Client.js +6 -6
  31. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  32. package/api/resources/index.d.ts +2 -4
  33. package/api/resources/index.js +3 -5
  34. package/api/resources/jobs/client/Client.js +4 -4
  35. package/api/resources/models/client/Client.js +1 -1
  36. package/api/resources/projects/client/Client.js +1 -1
  37. package/api/resources/providers/client/Client.d.ts +6 -24
  38. package/api/resources/providers/client/Client.js +13 -107
  39. package/api/resources/providers/client/requests/ProviderUpdate.d.ts +0 -3
  40. package/api/resources/providers/client/requests/index.d.ts +0 -1
  41. package/api/resources/runs/client/Client.d.ts +3 -10
  42. package/api/resources/runs/client/Client.js +8 -51
  43. package/{dist/api/resources/runs/client/requests/ListRunsRequest.d.ts → api/resources/runs/client/requests/RunsListRequest.d.ts} +1 -1
  44. package/api/resources/runs/client/requests/index.d.ts +1 -1
  45. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  46. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  47. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  48. package/api/resources/sources/client/Client.js +6 -6
  49. package/api/resources/sources/resources/files/client/Client.js +3 -3
  50. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  51. package/api/resources/steps/client/Client.js +3 -3
  52. package/api/resources/tags/client/Client.d.ts +7 -1
  53. package/api/resources/tags/client/Client.js +46 -10
  54. package/api/resources/tags/client/index.d.ts +1 -1
  55. package/api/resources/tags/client/index.js +15 -0
  56. package/api/resources/{tag/client/requests/ListTagsRequest.d.ts → tags/client/requests/TagsListRequest.d.ts} +1 -1
  57. package/api/resources/tags/client/requests/index.d.ts +1 -0
  58. package/api/resources/templates/client/Client.js +1 -1
  59. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  60. package/api/resources/tools/client/Client.js +16 -16
  61. package/api/resources/voice/client/Client.js +1 -1
  62. package/api/types/AgentState.d.ts +2 -0
  63. package/api/types/AgentStateResponseFormat.d.ts +5 -0
  64. package/api/types/JsonObjectResponseFormat.d.ts +9 -0
  65. package/api/types/JsonSchemaResponseFormat.d.ts +11 -0
  66. package/api/types/JsonSchemaResponseFormat.js +5 -0
  67. package/api/types/TextResponseFormat.d.ts +9 -0
  68. package/api/types/TextResponseFormat.js +5 -0
  69. package/api/types/index.d.ts +4 -0
  70. package/api/types/index.js +4 -0
  71. package/dist/Client.d.ts +3 -9
  72. package/dist/Client.js +11 -21
  73. package/dist/api/resources/agents/client/Client.d.ts +1 -9
  74. package/dist/api/resources/agents/client/Client.js +11 -55
  75. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  76. package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  77. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  78. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  79. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  80. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  81. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  82. package/dist/api/resources/agents/resources/messages/client/Client.js +6 -6
  83. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  84. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  85. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  86. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  87. package/dist/api/resources/agents/types/CreateAgentRequestResponseFormat.d.ts +5 -0
  88. package/dist/api/resources/agents/types/CreateAgentRequestResponseFormat.js +5 -0
  89. package/dist/api/resources/agents/types/UpdateAgentResponseFormat.d.ts +5 -0
  90. package/dist/api/resources/agents/types/UpdateAgentResponseFormat.js +5 -0
  91. package/dist/api/resources/agents/types/index.d.ts +2 -0
  92. package/dist/api/resources/agents/types/index.js +2 -0
  93. package/dist/api/resources/batches/client/Client.d.ts +5 -1
  94. package/dist/api/resources/batches/client/Client.js +26 -11
  95. package/dist/api/resources/blocks/client/Client.js +5 -5
  96. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  97. package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
  98. package/dist/api/resources/embeddings/client/Client.js +1 -1
  99. package/dist/api/resources/groups/client/Client.js +5 -5
  100. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  101. package/dist/api/resources/health/client/Client.js +1 -1
  102. package/dist/api/resources/identities/client/Client.js +6 -6
  103. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  104. package/dist/api/resources/index.d.ts +2 -4
  105. package/dist/api/resources/index.js +3 -5
  106. package/dist/api/resources/jobs/client/Client.js +4 -4
  107. package/dist/api/resources/models/client/Client.js +1 -1
  108. package/dist/api/resources/projects/client/Client.js +1 -1
  109. package/dist/api/resources/providers/client/Client.d.ts +6 -24
  110. package/dist/api/resources/providers/client/Client.js +13 -107
  111. package/dist/api/resources/providers/client/requests/ProviderUpdate.d.ts +0 -3
  112. package/dist/api/resources/providers/client/requests/index.d.ts +0 -1
  113. package/dist/api/resources/runs/client/Client.d.ts +3 -10
  114. package/dist/api/resources/runs/client/Client.js +8 -51
  115. package/{api/resources/runs/client/requests/ListRunsRequest.d.ts → dist/api/resources/runs/client/requests/RunsListRequest.d.ts} +1 -1
  116. package/dist/api/resources/runs/client/requests/RunsListRequest.js +5 -0
  117. package/dist/api/resources/runs/client/requests/index.d.ts +1 -1
  118. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  119. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  120. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  121. package/dist/api/resources/sources/client/Client.js +6 -6
  122. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  123. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  124. package/dist/api/resources/steps/client/Client.js +3 -3
  125. package/dist/api/resources/tags/client/Client.d.ts +7 -1
  126. package/dist/api/resources/tags/client/Client.js +46 -10
  127. package/dist/api/resources/tags/client/index.d.ts +1 -1
  128. package/dist/api/resources/tags/client/index.js +15 -0
  129. package/dist/api/resources/{tag/client/requests/ListTagsRequest.d.ts → tags/client/requests/TagsListRequest.d.ts} +1 -1
  130. package/dist/api/resources/tags/client/requests/TagsListRequest.js +5 -0
  131. package/dist/api/resources/tags/client/requests/index.d.ts +1 -0
  132. package/dist/api/resources/templates/client/Client.js +1 -1
  133. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  134. package/dist/api/resources/tools/client/Client.js +16 -16
  135. package/dist/api/resources/voice/client/Client.js +1 -1
  136. package/dist/api/types/AgentState.d.ts +2 -0
  137. package/dist/api/types/AgentStateResponseFormat.d.ts +5 -0
  138. package/dist/api/types/AgentStateResponseFormat.js +5 -0
  139. package/dist/api/types/JsonObjectResponseFormat.d.ts +9 -0
  140. package/dist/api/types/JsonObjectResponseFormat.js +5 -0
  141. package/dist/api/types/JsonSchemaResponseFormat.d.ts +11 -0
  142. package/dist/api/types/JsonSchemaResponseFormat.js +5 -0
  143. package/dist/api/types/TextResponseFormat.d.ts +9 -0
  144. package/dist/api/types/TextResponseFormat.js +5 -0
  145. package/dist/api/types/index.d.ts +4 -0
  146. package/dist/api/types/index.js +4 -0
  147. package/dist/serialization/resources/agents/client/{exportAgentSerialized.d.ts → export.d.ts} +1 -1
  148. package/dist/serialization/resources/agents/client/index.d.ts +1 -1
  149. package/dist/serialization/resources/agents/client/index.js +2 -2
  150. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  151. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +2 -0
  152. package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  153. package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +2 -0
  154. package/dist/serialization/resources/agents/types/CreateAgentRequestResponseFormat.d.ts +13 -0
  155. package/dist/serialization/resources/agents/types/CreateAgentRequestResponseFormat.js +44 -0
  156. package/dist/serialization/resources/agents/types/UpdateAgentResponseFormat.d.ts +13 -0
  157. package/dist/serialization/resources/agents/types/UpdateAgentResponseFormat.js +44 -0
  158. package/dist/serialization/resources/agents/types/index.d.ts +2 -0
  159. package/dist/serialization/resources/agents/types/index.js +2 -0
  160. package/dist/serialization/resources/index.d.ts +1 -1
  161. package/dist/serialization/resources/index.js +2 -2
  162. package/dist/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +0 -1
  163. package/dist/serialization/resources/providers/client/requests/ProviderUpdate.js +0 -1
  164. package/dist/serialization/resources/runs/client/index.d.ts +1 -1
  165. package/dist/serialization/resources/runs/client/index.js +2 -2
  166. package/{serialization/resources/runs/client/listRuns.d.ts → dist/serialization/resources/runs/client/list.d.ts} +1 -1
  167. package/dist/serialization/resources/tags/client/index.d.ts +1 -0
  168. package/dist/serialization/resources/{tag → tags}/client/index.js +2 -2
  169. package/{serialization/resources/tag/client/listTags.d.ts → dist/serialization/resources/tags/client/list.d.ts} +1 -1
  170. package/dist/serialization/types/AgentState.d.ts +2 -0
  171. package/dist/serialization/types/AgentState.js +2 -0
  172. package/dist/serialization/types/AgentStateResponseFormat.d.ts +13 -0
  173. package/dist/serialization/types/AgentStateResponseFormat.js +44 -0
  174. package/dist/serialization/types/JsonObjectResponseFormat.d.ts +12 -0
  175. package/dist/serialization/types/JsonObjectResponseFormat.js +43 -0
  176. package/dist/serialization/types/JsonSchemaResponseFormat.d.ts +13 -0
  177. package/dist/serialization/types/JsonSchemaResponseFormat.js +44 -0
  178. package/dist/serialization/types/TextResponseFormat.d.ts +12 -0
  179. package/dist/serialization/types/TextResponseFormat.js +43 -0
  180. package/dist/serialization/types/index.d.ts +4 -0
  181. package/dist/serialization/types/index.js +4 -0
  182. package/dist/version.d.ts +1 -1
  183. package/dist/version.js +1 -1
  184. package/package.json +1 -1
  185. package/reference.md +18 -289
  186. package/serialization/resources/agents/client/{exportAgentSerialized.d.ts → export.d.ts} +1 -1
  187. package/serialization/resources/agents/client/index.d.ts +1 -1
  188. package/serialization/resources/agents/client/index.js +2 -2
  189. package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  190. package/serialization/resources/agents/client/requests/CreateAgentRequest.js +2 -0
  191. package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  192. package/serialization/resources/agents/client/requests/UpdateAgent.js +2 -0
  193. package/serialization/resources/agents/types/CreateAgentRequestResponseFormat.d.ts +13 -0
  194. package/serialization/resources/agents/types/CreateAgentRequestResponseFormat.js +44 -0
  195. package/serialization/resources/agents/types/UpdateAgentResponseFormat.d.ts +13 -0
  196. package/serialization/resources/agents/types/UpdateAgentResponseFormat.js +44 -0
  197. package/serialization/resources/agents/types/index.d.ts +2 -0
  198. package/serialization/resources/agents/types/index.js +2 -0
  199. package/serialization/resources/index.d.ts +1 -1
  200. package/serialization/resources/index.js +2 -2
  201. package/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +0 -1
  202. package/serialization/resources/providers/client/requests/ProviderUpdate.js +0 -1
  203. package/serialization/resources/runs/client/index.d.ts +1 -1
  204. package/serialization/resources/runs/client/index.js +2 -2
  205. package/{dist/serialization/resources/runs/client/listRuns.d.ts → serialization/resources/runs/client/list.d.ts} +1 -1
  206. package/serialization/resources/tags/client/index.d.ts +1 -0
  207. package/serialization/resources/{tag → tags}/client/index.js +2 -2
  208. package/{dist/serialization/resources/tag/client/listTags.d.ts → serialization/resources/tags/client/list.d.ts} +1 -1
  209. package/serialization/types/AgentState.d.ts +2 -0
  210. package/serialization/types/AgentState.js +2 -0
  211. package/serialization/types/AgentStateResponseFormat.d.ts +13 -0
  212. package/serialization/types/AgentStateResponseFormat.js +44 -0
  213. package/serialization/types/JsonObjectResponseFormat.d.ts +12 -0
  214. package/serialization/types/JsonObjectResponseFormat.js +43 -0
  215. package/serialization/types/JsonSchemaResponseFormat.d.ts +13 -0
  216. package/serialization/types/JsonSchemaResponseFormat.js +44 -0
  217. package/serialization/types/TextResponseFormat.d.ts +12 -0
  218. package/serialization/types/TextResponseFormat.js +43 -0
  219. package/serialization/types/index.d.ts +4 -0
  220. package/serialization/types/index.js +4 -0
  221. package/version.d.ts +1 -1
  222. package/version.js +1 -1
  223. package/api/resources/messages/client/Client.d.ts +0 -43
  224. package/api/resources/messages/client/Client.js +0 -128
  225. package/api/resources/messages/client/index.d.ts +0 -1
  226. package/api/resources/providers/client/requests/DeleteProviderRequest.d.ts +0 -15
  227. package/api/resources/tag/client/Client.d.ts +0 -44
  228. package/api/resources/tag/client/Client.js +0 -146
  229. package/api/resources/tag/client/index.d.ts +0 -1
  230. package/api/resources/tag/client/index.js +0 -17
  231. package/api/resources/tag/client/requests/index.d.ts +0 -1
  232. package/dist/api/resources/messages/client/Client.d.ts +0 -43
  233. package/dist/api/resources/messages/client/Client.js +0 -128
  234. package/dist/api/resources/messages/client/index.d.ts +0 -1
  235. package/dist/api/resources/messages/client/index.js +0 -2
  236. package/dist/api/resources/messages/index.d.ts +0 -1
  237. package/dist/api/resources/messages/index.js +0 -17
  238. package/dist/api/resources/providers/client/requests/DeleteProviderRequest.d.ts +0 -15
  239. package/dist/api/resources/tag/client/Client.d.ts +0 -44
  240. package/dist/api/resources/tag/client/Client.js +0 -146
  241. package/dist/api/resources/tag/client/index.d.ts +0 -1
  242. package/dist/api/resources/tag/client/index.js +0 -17
  243. package/dist/api/resources/tag/client/requests/index.d.ts +0 -1
  244. package/dist/api/resources/tag/client/requests/index.js +0 -2
  245. package/dist/api/resources/tag/index.d.ts +0 -1
  246. package/dist/api/resources/tag/index.js +0 -17
  247. package/dist/serialization/resources/tag/client/index.d.ts +0 -1
  248. package/dist/serialization/resources/tag/index.d.ts +0 -1
  249. package/dist/serialization/resources/tag/index.js +0 -17
  250. package/serialization/resources/tag/client/index.d.ts +0 -1
  251. package/serialization/resources/tag/index.d.ts +0 -1
  252. package/serialization/resources/tag/index.js +0 -17
  253. /package/api/resources/{providers/client/requests/DeleteProviderRequest.js → agents/types/CreateAgentRequestResponseFormat.js} +0 -0
  254. /package/api/resources/{runs/client/requests/ListRunsRequest.js → agents/types/UpdateAgentResponseFormat.js} +0 -0
  255. /package/api/resources/{tag/client/requests/ListTagsRequest.js → runs/client/requests/RunsListRequest.js} +0 -0
  256. /package/{dist/api/resources/providers/client/requests/DeleteProviderRequest.js → api/resources/tags/client/requests/TagsListRequest.js} +0 -0
  257. /package/api/resources/{messages/client → tags/client/requests}/index.js +0 -0
  258. /package/{dist/api/resources/runs/client/requests/ListRunsRequest.js → api/types/AgentStateResponseFormat.js} +0 -0
  259. /package/{dist/api/resources/tag/client/requests/ListTagsRequest.js → api/types/JsonObjectResponseFormat.js} +0 -0
  260. /package/{api/resources/tag → dist/api/resources/tags}/client/requests/index.js +0 -0
  261. /package/dist/serialization/resources/agents/client/{exportAgentSerialized.js → export.js} +0 -0
  262. /package/dist/serialization/resources/runs/client/{listRuns.js → list.js} +0 -0
  263. /package/dist/serialization/resources/{tag/client/listTags.js → tags/client/list.js} +0 -0
  264. /package/{api/resources/messages → dist/serialization/resources/tags}/index.d.ts +0 -0
  265. /package/{api/resources/messages → dist/serialization/resources/tags}/index.js +0 -0
  266. /package/serialization/resources/agents/client/{exportAgentSerialized.js → export.js} +0 -0
  267. /package/serialization/resources/runs/client/{listRuns.js → list.js} +0 -0
  268. /package/serialization/resources/{tag/client/listTags.js → tags/client/list.js} +0 -0
  269. /package/{api/resources/tag → serialization/resources/tags}/index.d.ts +0 -0
  270. /package/{api/resources/tag → serialization/resources/tags}/index.js +0 -0
@@ -1,146 +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
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
- return new (P || (P = Promise))(function (resolve, reject) {
41
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
- step((generator = generator.apply(thisArg, _arguments || [])).next());
45
- });
46
- };
47
- var __importDefault = (this && this.__importDefault) || function (mod) {
48
- return (mod && mod.__esModule) ? mod : { "default": mod };
49
- };
50
- Object.defineProperty(exports, "__esModule", { value: true });
51
- exports.Tag = void 0;
52
- const environments = __importStar(require("../../../../environments"));
53
- const core = __importStar(require("../../../../core"));
54
- const Letta = __importStar(require("../../../index"));
55
- const url_join_1 = __importDefault(require("url-join"));
56
- const serializers = __importStar(require("../../../../serialization/index"));
57
- const errors = __importStar(require("../../../../errors/index"));
58
- class Tag {
59
- constructor(_options = {}) {
60
- this._options = _options;
61
- }
62
- /**
63
- * Get a list of all tags in the database
64
- *
65
- * @param {Letta.ListTagsRequest} request
66
- * @param {Tag.RequestOptions} requestOptions - Request-specific configuration.
67
- *
68
- * @throws {@link Letta.UnprocessableEntityError}
69
- *
70
- * @example
71
- * await client.tag.listTags()
72
- */
73
- listTags() {
74
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
75
- var _a, _b, _c;
76
- const { after, limit, queryText } = request;
77
- const _queryParams = {};
78
- if (after != null) {
79
- _queryParams["after"] = after;
80
- }
81
- if (limit != null) {
82
- _queryParams["limit"] = limit.toString();
83
- }
84
- if (queryText != null) {
85
- _queryParams["query_text"] = queryText;
86
- }
87
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
88
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/tags/"),
89
- method: "GET",
90
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
- contentType: "application/json",
92
- queryParameters: _queryParams,
93
- requestType: "json",
94
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
95
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
96
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
97
- });
98
- if (_response.ok) {
99
- return serializers.tag.listTags.Response.parseOrThrow(_response.body, {
100
- unrecognizedObjectKeys: "passthrough",
101
- allowUnrecognizedUnionMembers: true,
102
- allowUnrecognizedEnumValues: true,
103
- skipValidation: true,
104
- breadcrumbsPrefix: ["response"],
105
- });
106
- }
107
- if (_response.error.reason === "status-code") {
108
- switch (_response.error.statusCode) {
109
- case 422:
110
- throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
111
- unrecognizedObjectKeys: "passthrough",
112
- allowUnrecognizedUnionMembers: true,
113
- allowUnrecognizedEnumValues: true,
114
- skipValidation: true,
115
- breadcrumbsPrefix: ["response"],
116
- }));
117
- default:
118
- throw new errors.LettaError({
119
- statusCode: _response.error.statusCode,
120
- body: _response.error.body,
121
- });
122
- }
123
- }
124
- switch (_response.error.reason) {
125
- case "non-json":
126
- throw new errors.LettaError({
127
- statusCode: _response.error.statusCode,
128
- body: _response.error.rawBody,
129
- });
130
- case "timeout":
131
- throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/tags/.");
132
- case "unknown":
133
- throw new errors.LettaError({
134
- message: _response.error.errorMessage,
135
- });
136
- }
137
- });
138
- }
139
- _getCustomAuthorizationHeaders() {
140
- return __awaiter(this, void 0, void 0, function* () {
141
- const tokenValue = yield core.Supplier.get(this._options.token);
142
- return { Authorization: `Bearer ${tokenValue}` };
143
- });
144
- }
145
- }
146
- exports.Tag = Tag;
@@ -1 +0,0 @@
1
- export * from "./requests";
@@ -1,17 +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("./requests"), exports);
@@ -1 +0,0 @@
1
- export { type ListTagsRequest } from "./ListTagsRequest";
@@ -1,43 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../environments";
5
- import * as core from "../../../../core";
6
- export declare namespace Messages {
7
- interface Options {
8
- environment?: core.Supplier<environments.LettaEnvironment | string>;
9
- /** Specify a custom URL to connect the client to. */
10
- baseUrl?: core.Supplier<string>;
11
- token?: core.Supplier<string | undefined>;
12
- fetcher?: core.FetchFunction;
13
- }
14
- interface RequestOptions {
15
- /** The maximum time to wait for a response in seconds. */
16
- timeoutInSeconds?: number;
17
- /** The number of times to retry the request. Defaults to 2. */
18
- maxRetries?: number;
19
- /** A hook to abort the request. */
20
- abortSignal?: AbortSignal;
21
- /** Additional headers to include in the request. */
22
- headers?: Record<string, string>;
23
- }
24
- }
25
- export declare class Messages {
26
- protected readonly _options: Messages.Options;
27
- constructor(_options?: Messages.Options);
28
- /**
29
- * Cancel a batch run.
30
- *
31
- * @param {string} batchId
32
- * @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
33
- *
34
- * @throws {@link Letta.UnprocessableEntityError}
35
- *
36
- * @example
37
- * await client.messages.cancelBatchRun("batch_id")
38
- */
39
- cancelBatchRun(batchId: string, requestOptions?: Messages.RequestOptions): Promise<unknown>;
40
- protected _getCustomAuthorizationHeaders(): Promise<{
41
- Authorization: string;
42
- }>;
43
- }
@@ -1,128 +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
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
- return new (P || (P = Promise))(function (resolve, reject) {
41
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
- step((generator = generator.apply(thisArg, _arguments || [])).next());
45
- });
46
- };
47
- var __importDefault = (this && this.__importDefault) || function (mod) {
48
- return (mod && mod.__esModule) ? mod : { "default": mod };
49
- };
50
- Object.defineProperty(exports, "__esModule", { value: true });
51
- exports.Messages = void 0;
52
- const environments = __importStar(require("../../../../environments"));
53
- const core = __importStar(require("../../../../core"));
54
- const Letta = __importStar(require("../../../index"));
55
- const url_join_1 = __importDefault(require("url-join"));
56
- const errors = __importStar(require("../../../../errors/index"));
57
- const serializers = __importStar(require("../../../../serialization/index"));
58
- class Messages {
59
- constructor(_options = {}) {
60
- this._options = _options;
61
- }
62
- /**
63
- * Cancel a batch run.
64
- *
65
- * @param {string} batchId
66
- * @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
67
- *
68
- * @throws {@link Letta.UnprocessableEntityError}
69
- *
70
- * @example
71
- * await client.messages.cancelBatchRun("batch_id")
72
- */
73
- cancelBatchRun(batchId, requestOptions) {
74
- return __awaiter(this, void 0, void 0, function* () {
75
- var _a, _b, _c;
76
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
77
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/messages/batches/${encodeURIComponent(batchId)}/cancel`),
78
- method: "PATCH",
79
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
- contentType: "application/json",
81
- requestType: "json",
82
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
83
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
84
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
85
- });
86
- if (_response.ok) {
87
- return _response.body;
88
- }
89
- if (_response.error.reason === "status-code") {
90
- switch (_response.error.statusCode) {
91
- case 422:
92
- throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
93
- unrecognizedObjectKeys: "passthrough",
94
- allowUnrecognizedUnionMembers: true,
95
- allowUnrecognizedEnumValues: true,
96
- skipValidation: true,
97
- breadcrumbsPrefix: ["response"],
98
- }));
99
- default:
100
- throw new errors.LettaError({
101
- statusCode: _response.error.statusCode,
102
- body: _response.error.body,
103
- });
104
- }
105
- }
106
- switch (_response.error.reason) {
107
- case "non-json":
108
- throw new errors.LettaError({
109
- statusCode: _response.error.statusCode,
110
- body: _response.error.rawBody,
111
- });
112
- case "timeout":
113
- throw new errors.LettaTimeoutError("Timeout exceeded when calling PATCH /v1/messages/batches/{batch_id}/cancel.");
114
- case "unknown":
115
- throw new errors.LettaError({
116
- message: _response.error.errorMessage,
117
- });
118
- }
119
- });
120
- }
121
- _getCustomAuthorizationHeaders() {
122
- return __awaiter(this, void 0, void 0, function* () {
123
- const tokenValue = yield core.Supplier.get(this._options.token);
124
- return { Authorization: `Bearer ${tokenValue}` };
125
- });
126
- }
127
- }
128
- exports.Messages = Messages;
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from "./client";
@@ -1,17 +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("./client"), exports);
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * providerId: "provider_id"
8
- * }
9
- */
10
- export interface DeleteProviderRequest {
11
- /**
12
- * The provider_id key to be deleted.
13
- */
14
- providerId: string;
15
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../environments";
5
- import * as core from "../../../../core";
6
- import * as Letta from "../../../index";
7
- export declare namespace Tag {
8
- interface Options {
9
- environment?: core.Supplier<environments.LettaEnvironment | string>;
10
- /** Specify a custom URL to connect the client to. */
11
- baseUrl?: core.Supplier<string>;
12
- token?: core.Supplier<string | undefined>;
13
- fetcher?: core.FetchFunction;
14
- }
15
- interface RequestOptions {
16
- /** The maximum time to wait for a response in seconds. */
17
- timeoutInSeconds?: number;
18
- /** The number of times to retry the request. Defaults to 2. */
19
- maxRetries?: number;
20
- /** A hook to abort the request. */
21
- abortSignal?: AbortSignal;
22
- /** Additional headers to include in the request. */
23
- headers?: Record<string, string>;
24
- }
25
- }
26
- export declare class Tag {
27
- protected readonly _options: Tag.Options;
28
- constructor(_options?: Tag.Options);
29
- /**
30
- * Get a list of all tags in the database
31
- *
32
- * @param {Letta.ListTagsRequest} request
33
- * @param {Tag.RequestOptions} requestOptions - Request-specific configuration.
34
- *
35
- * @throws {@link Letta.UnprocessableEntityError}
36
- *
37
- * @example
38
- * await client.tag.listTags()
39
- */
40
- listTags(request?: Letta.ListTagsRequest, requestOptions?: Tag.RequestOptions): Promise<string[]>;
41
- protected _getCustomAuthorizationHeaders(): Promise<{
42
- Authorization: string;
43
- }>;
44
- }
@@ -1,146 +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
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
- return new (P || (P = Promise))(function (resolve, reject) {
41
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
- step((generator = generator.apply(thisArg, _arguments || [])).next());
45
- });
46
- };
47
- var __importDefault = (this && this.__importDefault) || function (mod) {
48
- return (mod && mod.__esModule) ? mod : { "default": mod };
49
- };
50
- Object.defineProperty(exports, "__esModule", { value: true });
51
- exports.Tag = void 0;
52
- const environments = __importStar(require("../../../../environments"));
53
- const core = __importStar(require("../../../../core"));
54
- const Letta = __importStar(require("../../../index"));
55
- const url_join_1 = __importDefault(require("url-join"));
56
- const serializers = __importStar(require("../../../../serialization/index"));
57
- const errors = __importStar(require("../../../../errors/index"));
58
- class Tag {
59
- constructor(_options = {}) {
60
- this._options = _options;
61
- }
62
- /**
63
- * Get a list of all tags in the database
64
- *
65
- * @param {Letta.ListTagsRequest} request
66
- * @param {Tag.RequestOptions} requestOptions - Request-specific configuration.
67
- *
68
- * @throws {@link Letta.UnprocessableEntityError}
69
- *
70
- * @example
71
- * await client.tag.listTags()
72
- */
73
- listTags() {
74
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
75
- var _a, _b, _c;
76
- const { after, limit, queryText } = request;
77
- const _queryParams = {};
78
- if (after != null) {
79
- _queryParams["after"] = after;
80
- }
81
- if (limit != null) {
82
- _queryParams["limit"] = limit.toString();
83
- }
84
- if (queryText != null) {
85
- _queryParams["query_text"] = queryText;
86
- }
87
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
88
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/tags/"),
89
- method: "GET",
90
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.100", "User-Agent": "@letta-ai/letta-client/0.1.100", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
- contentType: "application/json",
92
- queryParameters: _queryParams,
93
- requestType: "json",
94
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
95
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
96
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
97
- });
98
- if (_response.ok) {
99
- return serializers.tag.listTags.Response.parseOrThrow(_response.body, {
100
- unrecognizedObjectKeys: "passthrough",
101
- allowUnrecognizedUnionMembers: true,
102
- allowUnrecognizedEnumValues: true,
103
- skipValidation: true,
104
- breadcrumbsPrefix: ["response"],
105
- });
106
- }
107
- if (_response.error.reason === "status-code") {
108
- switch (_response.error.statusCode) {
109
- case 422:
110
- throw new Letta.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
111
- unrecognizedObjectKeys: "passthrough",
112
- allowUnrecognizedUnionMembers: true,
113
- allowUnrecognizedEnumValues: true,
114
- skipValidation: true,
115
- breadcrumbsPrefix: ["response"],
116
- }));
117
- default:
118
- throw new errors.LettaError({
119
- statusCode: _response.error.statusCode,
120
- body: _response.error.body,
121
- });
122
- }
123
- }
124
- switch (_response.error.reason) {
125
- case "non-json":
126
- throw new errors.LettaError({
127
- statusCode: _response.error.statusCode,
128
- body: _response.error.rawBody,
129
- });
130
- case "timeout":
131
- throw new errors.LettaTimeoutError("Timeout exceeded when calling GET /v1/tags/.");
132
- case "unknown":
133
- throw new errors.LettaError({
134
- message: _response.error.errorMessage,
135
- });
136
- }
137
- });
138
- }
139
- _getCustomAuthorizationHeaders() {
140
- return __awaiter(this, void 0, void 0, function* () {
141
- const tokenValue = yield core.Supplier.get(this._options.token);
142
- return { Authorization: `Bearer ${tokenValue}` };
143
- });
144
- }
145
- }
146
- exports.Tag = Tag;
@@ -1 +0,0 @@
1
- export * from "./requests";
@@ -1,17 +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("./requests"), exports);
@@ -1 +0,0 @@
1
- export { type ListTagsRequest } from "./ListTagsRequest";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from "./client";
@@ -1,17 +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("./client"), exports);
@@ -1 +0,0 @@
1
- export * as listTags from "./listTags";
@@ -1 +0,0 @@
1
- export * from "./client";
@@ -1,17 +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("./client"), exports);
@@ -1 +0,0 @@
1
- export * as listTags from "./listTags";