telnyx 7.8.0 → 7.10.0

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 (215) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/ai/ai.d.mts +6 -2
  10. package/resources/ai/ai.d.mts.map +1 -1
  11. package/resources/ai/ai.d.ts +6 -2
  12. package/resources/ai/ai.d.ts.map +1 -1
  13. package/resources/ai/ai.js +4 -0
  14. package/resources/ai/ai.js.map +1 -1
  15. package/resources/ai/ai.mjs +4 -0
  16. package/resources/ai/ai.mjs.map +1 -1
  17. package/resources/ai/anthropic/anthropic.d.mts +10 -0
  18. package/resources/ai/anthropic/anthropic.d.mts.map +1 -0
  19. package/resources/ai/anthropic/anthropic.d.ts +10 -0
  20. package/resources/ai/anthropic/anthropic.d.ts.map +1 -0
  21. package/resources/ai/anthropic/anthropic.js +17 -0
  22. package/resources/ai/anthropic/anthropic.js.map +1 -0
  23. package/resources/ai/anthropic/anthropic.mjs +12 -0
  24. package/resources/ai/anthropic/anthropic.mjs.map +1 -0
  25. package/resources/ai/anthropic/index.d.mts +3 -0
  26. package/resources/ai/anthropic/index.d.mts.map +1 -0
  27. package/resources/ai/anthropic/index.d.ts +3 -0
  28. package/resources/ai/anthropic/index.d.ts.map +1 -0
  29. package/resources/ai/anthropic/index.js +9 -0
  30. package/resources/ai/anthropic/index.js.map +1 -0
  31. package/resources/ai/anthropic/index.mjs +4 -0
  32. package/resources/ai/anthropic/index.mjs.map +1 -0
  33. package/resources/ai/anthropic/v1.d.mts +148 -0
  34. package/resources/ai/anthropic/v1.d.mts.map +1 -0
  35. package/resources/ai/anthropic/v1.d.ts +148 -0
  36. package/resources/ai/anthropic/v1.d.ts.map +1 -0
  37. package/resources/ai/anthropic/v1.js +35 -0
  38. package/resources/ai/anthropic/v1.js.map +1 -0
  39. package/resources/ai/anthropic/v1.mjs +31 -0
  40. package/resources/ai/anthropic/v1.mjs.map +1 -0
  41. package/resources/ai/anthropic.d.mts +2 -0
  42. package/resources/ai/anthropic.d.mts.map +1 -0
  43. package/resources/ai/anthropic.d.ts +2 -0
  44. package/resources/ai/anthropic.d.ts.map +1 -0
  45. package/resources/ai/anthropic.js +6 -0
  46. package/resources/ai/anthropic.js.map +1 -0
  47. package/resources/ai/anthropic.mjs +3 -0
  48. package/resources/ai/anthropic.mjs.map +1 -0
  49. package/resources/ai/assistants/assistants.d.mts +16 -5
  50. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  51. package/resources/ai/assistants/assistants.d.ts +16 -5
  52. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  53. package/resources/ai/assistants/assistants.js +2 -2
  54. package/resources/ai/assistants/assistants.js.map +1 -1
  55. package/resources/ai/assistants/assistants.mjs +2 -2
  56. package/resources/ai/assistants/assistants.mjs.map +1 -1
  57. package/resources/ai/conversations/conversation-insights.d.mts +105 -0
  58. package/resources/ai/conversations/conversation-insights.d.mts.map +1 -0
  59. package/resources/ai/conversations/conversation-insights.d.ts +105 -0
  60. package/resources/ai/conversations/conversation-insights.d.ts.map +1 -0
  61. package/resources/ai/conversations/conversation-insights.js +24 -0
  62. package/resources/ai/conversations/conversation-insights.js.map +1 -0
  63. package/resources/ai/conversations/conversation-insights.mjs +20 -0
  64. package/resources/ai/conversations/conversation-insights.mjs.map +1 -0
  65. package/resources/ai/conversations/conversations.d.mts +4 -0
  66. package/resources/ai/conversations/conversations.d.mts.map +1 -1
  67. package/resources/ai/conversations/conversations.d.ts +4 -0
  68. package/resources/ai/conversations/conversations.d.ts.map +1 -1
  69. package/resources/ai/conversations/conversations.js +4 -0
  70. package/resources/ai/conversations/conversations.js.map +1 -1
  71. package/resources/ai/conversations/conversations.mjs +4 -0
  72. package/resources/ai/conversations/conversations.mjs.map +1 -1
  73. package/resources/ai/conversations/index.d.mts +1 -0
  74. package/resources/ai/conversations/index.d.mts.map +1 -1
  75. package/resources/ai/conversations/index.d.ts +1 -0
  76. package/resources/ai/conversations/index.d.ts.map +1 -1
  77. package/resources/ai/conversations/index.js +3 -1
  78. package/resources/ai/conversations/index.js.map +1 -1
  79. package/resources/ai/conversations/index.mjs +1 -0
  80. package/resources/ai/conversations/index.mjs.map +1 -1
  81. package/resources/ai/index.d.mts +2 -1
  82. package/resources/ai/index.d.mts.map +1 -1
  83. package/resources/ai/index.d.ts +2 -1
  84. package/resources/ai/index.d.ts.map +1 -1
  85. package/resources/ai/index.js +17 -15
  86. package/resources/ai/index.js.map +1 -1
  87. package/resources/ai/index.mjs +1 -0
  88. package/resources/ai/index.mjs.map +1 -1
  89. package/resources/ai/tools.d.mts +22 -1
  90. package/resources/ai/tools.d.mts.map +1 -1
  91. package/resources/ai/tools.d.ts +22 -1
  92. package/resources/ai/tools.d.ts.map +1 -1
  93. package/resources/calls/actions.d.mts +8 -4
  94. package/resources/calls/actions.d.mts.map +1 -1
  95. package/resources/calls/actions.d.ts +8 -4
  96. package/resources/calls/actions.d.ts.map +1 -1
  97. package/resources/calls/calls.d.mts +8 -0
  98. package/resources/calls/calls.d.mts.map +1 -1
  99. package/resources/calls/calls.d.ts +8 -0
  100. package/resources/calls/calls.d.ts.map +1 -1
  101. package/resources/calls/calls.js.map +1 -1
  102. package/resources/calls/calls.mjs.map +1 -1
  103. package/resources/index.d.mts +1 -1
  104. package/resources/index.d.mts.map +1 -1
  105. package/resources/index.d.ts +1 -1
  106. package/resources/index.d.ts.map +1 -1
  107. package/resources/index.js.map +1 -1
  108. package/resources/index.mjs.map +1 -1
  109. package/resources/managed-accounts/managed-accounts.d.mts +11 -2
  110. package/resources/managed-accounts/managed-accounts.d.mts.map +1 -1
  111. package/resources/managed-accounts/managed-accounts.d.ts +11 -2
  112. package/resources/managed-accounts/managed-accounts.d.ts.map +1 -1
  113. package/resources/managed-accounts/managed-accounts.js.map +1 -1
  114. package/resources/managed-accounts/managed-accounts.mjs.map +1 -1
  115. package/resources/requirements.d.mts +28 -3
  116. package/resources/requirements.d.mts.map +1 -1
  117. package/resources/requirements.d.ts +28 -3
  118. package/resources/requirements.d.ts.map +1 -1
  119. package/resources/requirements.js +2 -2
  120. package/resources/requirements.js.map +1 -1
  121. package/resources/requirements.mjs +2 -2
  122. package/resources/requirements.mjs.map +1 -1
  123. package/resources/speech-to-text/speech-to-text.d.mts +1 -1
  124. package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
  125. package/resources/speech-to-text/speech-to-text.d.ts +1 -1
  126. package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
  127. package/resources/storage/cloudfs/actions.d.mts +43 -0
  128. package/resources/storage/cloudfs/actions.d.mts.map +1 -0
  129. package/resources/storage/cloudfs/actions.d.ts +43 -0
  130. package/resources/storage/cloudfs/actions.d.ts.map +1 -0
  131. package/resources/storage/cloudfs/actions.js +39 -0
  132. package/resources/storage/cloudfs/actions.js.map +1 -0
  133. package/resources/storage/cloudfs/actions.mjs +35 -0
  134. package/resources/storage/cloudfs/actions.mjs.map +1 -0
  135. package/resources/storage/cloudfs/cloudfs.d.mts +345 -0
  136. package/resources/storage/cloudfs/cloudfs.d.mts.map +1 -0
  137. package/resources/storage/cloudfs/cloudfs.d.ts +345 -0
  138. package/resources/storage/cloudfs/cloudfs.d.ts.map +1 -0
  139. package/resources/storage/cloudfs/cloudfs.js +116 -0
  140. package/resources/storage/cloudfs/cloudfs.js.map +1 -0
  141. package/resources/storage/cloudfs/cloudfs.mjs +111 -0
  142. package/resources/storage/cloudfs/cloudfs.mjs.map +1 -0
  143. package/resources/storage/cloudfs/index.d.mts +3 -0
  144. package/resources/storage/cloudfs/index.d.mts.map +1 -0
  145. package/resources/storage/cloudfs/index.d.ts +3 -0
  146. package/resources/storage/cloudfs/index.d.ts.map +1 -0
  147. package/resources/storage/cloudfs/index.js +9 -0
  148. package/resources/storage/cloudfs/index.js.map +1 -0
  149. package/resources/storage/cloudfs/index.mjs +4 -0
  150. package/resources/storage/cloudfs/index.mjs.map +1 -0
  151. package/resources/storage/cloudfs.d.mts +2 -0
  152. package/resources/storage/cloudfs.d.mts.map +1 -0
  153. package/resources/storage/cloudfs.d.ts +2 -0
  154. package/resources/storage/cloudfs.d.ts.map +1 -0
  155. package/resources/storage/cloudfs.js +6 -0
  156. package/resources/storage/cloudfs.js.map +1 -0
  157. package/resources/storage/cloudfs.mjs +3 -0
  158. package/resources/storage/cloudfs.mjs.map +1 -0
  159. package/resources/storage/index.d.mts +1 -0
  160. package/resources/storage/index.d.mts.map +1 -1
  161. package/resources/storage/index.d.ts +1 -0
  162. package/resources/storage/index.d.ts.map +1 -1
  163. package/resources/storage/index.js +7 -5
  164. package/resources/storage/index.js.map +1 -1
  165. package/resources/storage/index.mjs +1 -0
  166. package/resources/storage/index.mjs.map +1 -1
  167. package/resources/storage/storage.d.mts +4 -0
  168. package/resources/storage/storage.d.mts.map +1 -1
  169. package/resources/storage/storage.d.ts +4 -0
  170. package/resources/storage/storage.d.ts.map +1 -1
  171. package/resources/storage/storage.js +4 -0
  172. package/resources/storage/storage.js.map +1 -1
  173. package/resources/storage/storage.mjs +4 -0
  174. package/resources/storage/storage.mjs.map +1 -1
  175. package/resources/verify-profiles.d.mts +3 -3
  176. package/resources/verify-profiles.d.ts +3 -3
  177. package/resources/webhooks.d.mts +162 -22
  178. package/resources/webhooks.d.mts.map +1 -1
  179. package/resources/webhooks.d.ts +162 -22
  180. package/resources/webhooks.d.ts.map +1 -1
  181. package/src/client.ts +2 -0
  182. package/src/resources/ai/ai.ts +8 -0
  183. package/src/resources/ai/anthropic/anthropic.ts +19 -0
  184. package/src/resources/ai/anthropic/index.ts +4 -0
  185. package/src/resources/ai/anthropic/v1.ts +157 -0
  186. package/src/resources/ai/anthropic.ts +3 -0
  187. package/src/resources/ai/assistants/assistants.ts +19 -5
  188. package/src/resources/ai/conversations/conversation-insights.ts +125 -0
  189. package/src/resources/ai/conversations/conversations.ts +15 -0
  190. package/src/resources/ai/conversations/index.ts +5 -0
  191. package/src/resources/ai/index.ts +2 -0
  192. package/src/resources/ai/tools.ts +28 -0
  193. package/src/resources/calls/actions.ts +8 -4
  194. package/src/resources/calls/calls.ts +9 -0
  195. package/src/resources/index.ts +1 -0
  196. package/src/resources/managed-accounts/managed-accounts.ts +13 -2
  197. package/src/resources/requirements.ts +38 -3
  198. package/src/resources/speech-to-text/speech-to-text.ts +1 -1
  199. package/src/resources/storage/cloudfs/actions.ts +59 -0
  200. package/src/resources/storage/cloudfs/cloudfs.ts +446 -0
  201. package/src/resources/storage/cloudfs/index.ts +13 -0
  202. package/src/resources/storage/cloudfs.ts +3 -0
  203. package/src/resources/storage/index.ts +10 -0
  204. package/src/resources/storage/storage.ts +24 -0
  205. package/src/resources/verify-profiles.ts +3 -3
  206. package/src/resources/webhooks.ts +195 -14
  207. package/src/version.ts +1 -1
  208. package/version.d.mts +1 -1
  209. package/version.d.mts.map +1 -1
  210. package/version.d.ts +1 -1
  211. package/version.d.ts.map +1 -1
  212. package/version.js +1 -1
  213. package/version.js.map +1 -1
  214. package/version.mjs +1 -1
  215. package/version.mjs.map +1 -1
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./cloudfs/index.mjs";
3
+ //# sourceMappingURL=cloudfs.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudfs.mjs","sourceRoot":"","sources":["../../src/resources/storage/cloudfs.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,oCAAgC"}
@@ -1,4 +1,5 @@
1
1
  export { Buckets, type BucketCreatePresignedURLResponse, type BucketCreatePresignedURLParams, } from "./buckets/index.mjs";
2
+ export { Cloudfs, type CloudfsFilesystemDetailResponseWrapper, type CloudfsFilesystemResponseWrapper, type CloudfsFilesystemStatus, type CloudfListResponse, type CloudfListParams, type CloudfCreateParams, type CloudfUpdateParams, } from "./cloudfs/index.mjs";
2
3
  export { Kvs, type KvNamespace, type KvNamespaceResponseWrapper, type KvListParams, type KvCreateParams, type KvNamespacesDefaultFlatPagination, } from "./kvs/index.mjs";
3
4
  export { MigrationSources, type MigrationSourceParams, type MigrationSourceCreateResponse, type MigrationSourceRetrieveResponse, type MigrationSourceListResponse, type MigrationSourceDeleteResponse, type MigrationSourceCreateParams, } from "./migration-sources.mjs";
4
5
  export { Migrations, type MigrationParams, type MigrationCreateResponse, type MigrationRetrieveResponse, type MigrationListResponse, type MigrationCreateParams, } from "./migrations/index.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/storage/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,GACpC,4BAAwB;AACzB,OAAO,EACL,GAAG,EACH,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,iCAAiC,GACvC,wBAAoB;AACrB,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC,gCAA4B;AAC7B,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,+BAA2B;AAC5B,OAAO,EAAE,OAAO,EAAE,KAAK,0CAA0C,EAAE,sBAAkB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/storage/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,GACpC,4BAAwB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,sCAAsC,EAC3C,KAAK,gCAAgC,EACrC,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,4BAAwB;AACzB,OAAO,EACL,GAAG,EACH,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,iCAAiC,GACvC,wBAAoB;AACrB,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC,gCAA4B;AAC7B,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,+BAA2B;AAC5B,OAAO,EAAE,OAAO,EAAE,KAAK,0CAA0C,EAAE,sBAAkB"}
@@ -1,4 +1,5 @@
1
1
  export { Buckets, type BucketCreatePresignedURLResponse, type BucketCreatePresignedURLParams, } from "./buckets/index.js";
2
+ export { Cloudfs, type CloudfsFilesystemDetailResponseWrapper, type CloudfsFilesystemResponseWrapper, type CloudfsFilesystemStatus, type CloudfListResponse, type CloudfListParams, type CloudfCreateParams, type CloudfUpdateParams, } from "./cloudfs/index.js";
2
3
  export { Kvs, type KvNamespace, type KvNamespaceResponseWrapper, type KvListParams, type KvCreateParams, type KvNamespacesDefaultFlatPagination, } from "./kvs/index.js";
3
4
  export { MigrationSources, type MigrationSourceParams, type MigrationSourceCreateResponse, type MigrationSourceRetrieveResponse, type MigrationSourceListResponse, type MigrationSourceDeleteResponse, type MigrationSourceCreateParams, } from "./migration-sources.js";
4
5
  export { Migrations, type MigrationParams, type MigrationCreateResponse, type MigrationRetrieveResponse, type MigrationListResponse, type MigrationCreateParams, } from "./migrations/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/storage/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,GACpC,2BAAwB;AACzB,OAAO,EACL,GAAG,EACH,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,iCAAiC,GACvC,uBAAoB;AACrB,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC,+BAA4B;AAC7B,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,8BAA2B;AAC5B,OAAO,EAAE,OAAO,EAAE,KAAK,0CAA0C,EAAE,qBAAkB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/storage/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,GACpC,2BAAwB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,sCAAsC,EAC3C,KAAK,gCAAgC,EACrC,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,2BAAwB;AACzB,OAAO,EACL,GAAG,EACH,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,iCAAiC,GACvC,uBAAoB;AACrB,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC,+BAA4B;AAC7B,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,8BAA2B;AAC5B,OAAO,EAAE,OAAO,EAAE,KAAK,0CAA0C,EAAE,qBAAkB"}
@@ -1,15 +1,17 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Storage = exports.Migrations = exports.MigrationSources = exports.Kvs = exports.Buckets = void 0;
4
+ exports.Storage = exports.Migrations = exports.MigrationSources = exports.Kvs = exports.Cloudfs = exports.Buckets = void 0;
5
5
  var index_1 = require("./buckets/index.js");
6
6
  Object.defineProperty(exports, "Buckets", { enumerable: true, get: function () { return index_1.Buckets; } });
7
- var index_2 = require("./kvs/index.js");
8
- Object.defineProperty(exports, "Kvs", { enumerable: true, get: function () { return index_2.Kvs; } });
7
+ var index_2 = require("./cloudfs/index.js");
8
+ Object.defineProperty(exports, "Cloudfs", { enumerable: true, get: function () { return index_2.Cloudfs; } });
9
+ var index_3 = require("./kvs/index.js");
10
+ Object.defineProperty(exports, "Kvs", { enumerable: true, get: function () { return index_3.Kvs; } });
9
11
  var migration_sources_1 = require("./migration-sources.js");
10
12
  Object.defineProperty(exports, "MigrationSources", { enumerable: true, get: function () { return migration_sources_1.MigrationSources; } });
11
- var index_3 = require("./migrations/index.js");
12
- Object.defineProperty(exports, "Migrations", { enumerable: true, get: function () { return index_3.Migrations; } });
13
+ var index_4 = require("./migrations/index.js");
14
+ Object.defineProperty(exports, "Migrations", { enumerable: true, get: function () { return index_4.Migrations; } });
13
15
  var storage_1 = require("./storage.js");
14
16
  Object.defineProperty(exports, "Storage", { enumerable: true, get: function () { return storage_1.Storage; } });
15
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/storage/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAIyB;AAHvB,gGAAA,OAAO,OAAA;AAIT,wCAOqB;AANnB,4FAAA,GAAG,OAAA;AAOL,4DAQ6B;AAP3B,qHAAA,gBAAgB,OAAA;AAQlB,+CAO4B;AAN1B,mGAAA,UAAU,OAAA;AAOZ,wCAAqF;AAA5E,kGAAA,OAAO,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/storage/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAIyB;AAHvB,gGAAA,OAAO,OAAA;AAIT,4CASyB;AARvB,gGAAA,OAAO,OAAA;AAST,wCAOqB;AANnB,4FAAA,GAAG,OAAA;AAOL,4DAQ6B;AAP3B,qHAAA,gBAAgB,OAAA;AAQlB,+CAO4B;AAN1B,mGAAA,UAAU,OAAA;AAOZ,wCAAqF;AAA5E,kGAAA,OAAO,OAAA"}
@@ -1,5 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Buckets, } from "./buckets/index.mjs";
3
+ export { Cloudfs, } from "./cloudfs/index.mjs";
3
4
  export { Kvs, } from "./kvs/index.mjs";
4
5
  export { MigrationSources, } from "./migration-sources.mjs";
5
6
  export { Migrations, } from "./migrations/index.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/storage/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,OAAO,GAGR,4BAAwB;AACzB,OAAO,EACL,GAAG,GAMJ,wBAAoB;AACrB,OAAO,EACL,gBAAgB,GAOjB,gCAA4B;AAC7B,OAAO,EACL,UAAU,GAMX,+BAA2B;AAC5B,OAAO,EAAE,OAAO,EAAmD,sBAAkB"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/storage/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,OAAO,GAGR,4BAAwB;AACzB,OAAO,EACL,OAAO,GAQR,4BAAwB;AACzB,OAAO,EACL,GAAG,GAMJ,wBAAoB;AACrB,OAAO,EACL,gBAAgB,GAOjB,gCAA4B;AAC7B,OAAO,EACL,UAAU,GAMX,+BAA2B;AAC5B,OAAO,EAAE,OAAO,EAAmD,sBAAkB"}
@@ -4,6 +4,8 @@ import { MigrationSourceCreateParams, MigrationSourceCreateResponse, MigrationSo
4
4
  import * as BucketsAPI from "./buckets/buckets.mjs";
5
5
  import { BucketCreatePresignedURLParams, BucketCreatePresignedURLResponse, Buckets } from "./buckets/buckets.mjs";
6
6
  import * as UsageAPI from "./buckets/usage.mjs";
7
+ import * as CloudfsAPI from "./cloudfs/cloudfs.mjs";
8
+ import { CloudfCreateParams, CloudfListParams, CloudfListResponse, CloudfUpdateParams, Cloudfs, CloudfsFilesystemDetailResponseWrapper, CloudfsFilesystemResponseWrapper, CloudfsFilesystemStatus } from "./cloudfs/cloudfs.mjs";
7
9
  import * as KvsAPI from "./kvs/kvs.mjs";
8
10
  import { KvCreateParams, KvListParams, KvNamespace, KvNamespaceResponseWrapper, KvNamespacesDefaultFlatPagination, Kvs } from "./kvs/kvs.mjs";
9
11
  import * as MigrationsAPI from "./migrations/migrations.mjs";
@@ -18,6 +20,7 @@ export declare class Storage extends APIResource {
18
20
  migrationSources: MigrationSourcesAPI.MigrationSources;
19
21
  migrations: MigrationsAPI.Migrations;
20
22
  kvs: KvsAPI.Kvs;
23
+ cloudfs: CloudfsAPI.Cloudfs;
21
24
  /**
22
25
  * List Migration Source coverage
23
26
  *
@@ -51,5 +54,6 @@ export declare namespace Storage {
51
54
  export { MigrationSources as MigrationSources, type MigrationSourceParams as MigrationSourceParams, type MigrationSourceCreateResponse as MigrationSourceCreateResponse, type MigrationSourceRetrieveResponse as MigrationSourceRetrieveResponse, type MigrationSourceListResponse as MigrationSourceListResponse, type MigrationSourceDeleteResponse as MigrationSourceDeleteResponse, type MigrationSourceCreateParams as MigrationSourceCreateParams, };
52
55
  export { Migrations as Migrations, type MigrationParams as MigrationParams, type MigrationCreateResponse as MigrationCreateResponse, type MigrationRetrieveResponse as MigrationRetrieveResponse, type MigrationListResponse as MigrationListResponse, type MigrationCreateParams as MigrationCreateParams, };
53
56
  export { Kvs as Kvs, type KvNamespace as KvNamespace, type KvNamespaceResponseWrapper as KvNamespaceResponseWrapper, type KvNamespacesDefaultFlatPagination as KvNamespacesDefaultFlatPagination, type KvListParams as KvListParams, type KvCreateParams as KvCreateParams, };
57
+ export { Cloudfs as Cloudfs, type CloudfsFilesystemDetailResponseWrapper as CloudfsFilesystemDetailResponseWrapper, type CloudfsFilesystemResponseWrapper as CloudfsFilesystemResponseWrapper, type CloudfsFilesystemStatus as CloudfsFilesystemStatus, type CloudfListResponse as CloudfListResponse, type CloudfListParams as CloudfListParams, type CloudfCreateParams as CloudfCreateParams, type CloudfUpdateParams as CloudfUpdateParams, };
54
58
  }
55
59
  //# sourceMappingURL=storage.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storage.d.mts","sourceRoot":"","sources":["../../src/resources/storage/storage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,mBAAmB,gCAA4B;AAC3D,OAAO,EACL,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,+BAA+B,EAC/B,gBAAgB,EACjB,gCAA4B;AAC7B,OAAO,KAAK,UAAU,8BAA0B;AAChD,OAAO,EAAE,8BAA8B,EAAE,gCAAgC,EAAE,OAAO,EAAE,8BAA0B;AAC9G,OAAO,KAAK,QAAQ,4BAAwB;AAC5C,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EACL,cAAc,EACd,YAAY,EACZ,WAAW,EACX,0BAA0B,EAC1B,iCAAiC,EACjC,GAAG,EACJ,sBAAkB;AACnB,O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6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,GAAG,IAAI,GAAG,EACV,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -4,6 +4,8 @@ import { MigrationSourceCreateParams, MigrationSourceCreateResponse, MigrationSo
4
4
  import * as BucketsAPI from "./buckets/buckets.js";
5
5
  import { BucketCreatePresignedURLParams, BucketCreatePresignedURLResponse, Buckets } from "./buckets/buckets.js";
6
6
  import * as UsageAPI from "./buckets/usage.js";
7
+ import * as CloudfsAPI from "./cloudfs/cloudfs.js";
8
+ import { CloudfCreateParams, CloudfListParams, CloudfListResponse, CloudfUpdateParams, Cloudfs, CloudfsFilesystemDetailResponseWrapper, CloudfsFilesystemResponseWrapper, CloudfsFilesystemStatus } from "./cloudfs/cloudfs.js";
7
9
  import * as KvsAPI from "./kvs/kvs.js";
8
10
  import { KvCreateParams, KvListParams, KvNamespace, KvNamespaceResponseWrapper, KvNamespacesDefaultFlatPagination, Kvs } from "./kvs/kvs.js";
9
11
  import * as MigrationsAPI from "./migrations/migrations.js";
@@ -18,6 +20,7 @@ export declare class Storage extends APIResource {
18
20
  migrationSources: MigrationSourcesAPI.MigrationSources;
19
21
  migrations: MigrationsAPI.Migrations;
20
22
  kvs: KvsAPI.Kvs;
23
+ cloudfs: CloudfsAPI.Cloudfs;
21
24
  /**
22
25
  * List Migration Source coverage
23
26
  *
@@ -51,5 +54,6 @@ export declare namespace Storage {
51
54
  export { MigrationSources as MigrationSources, type MigrationSourceParams as MigrationSourceParams, type MigrationSourceCreateResponse as MigrationSourceCreateResponse, type MigrationSourceRetrieveResponse as MigrationSourceRetrieveResponse, type MigrationSourceListResponse as MigrationSourceListResponse, type MigrationSourceDeleteResponse as MigrationSourceDeleteResponse, type MigrationSourceCreateParams as MigrationSourceCreateParams, };
52
55
  export { Migrations as Migrations, type MigrationParams as MigrationParams, type MigrationCreateResponse as MigrationCreateResponse, type MigrationRetrieveResponse as MigrationRetrieveResponse, type MigrationListResponse as MigrationListResponse, type MigrationCreateParams as MigrationCreateParams, };
53
56
  export { Kvs as Kvs, type KvNamespace as KvNamespace, type KvNamespaceResponseWrapper as KvNamespaceResponseWrapper, type KvNamespacesDefaultFlatPagination as KvNamespacesDefaultFlatPagination, type KvListParams as KvListParams, type KvCreateParams as KvCreateParams, };
57
+ export { Cloudfs as Cloudfs, type CloudfsFilesystemDetailResponseWrapper as CloudfsFilesystemDetailResponseWrapper, type CloudfsFilesystemResponseWrapper as CloudfsFilesystemResponseWrapper, type CloudfsFilesystemStatus as CloudfsFilesystemStatus, type CloudfListResponse as CloudfListResponse, type CloudfListParams as CloudfListParams, type CloudfCreateParams as CloudfCreateParams, type CloudfUpdateParams as CloudfUpdateParams, };
54
58
  }
55
59
  //# sourceMappingURL=storage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../src/resources/storage/storage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,mBAAmB,+BAA4B;AAC3D,OAAO,EACL,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,+BAA+B,EAC/B,gBAAgB,EACjB,+BAA4B;AAC7B,OAAO,KAAK,UAAU,6BAA0B;AAChD,OAAO,EAAE,8BAA8B,EAAE,gCAAgC,EAAE,OAAO,EAAE,6BAA0B;AAC9G,OAAO,KAAK,QAAQ,2BAAwB;AAC5C,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EACL,cAAc,EACd,YAAY,EACZ,WAAW,EACX,0BAA0B,EAC1B,iCAAiC,EACjC,GAAG,EACJ,qBAAkB;AACnB,OAAO,KAAK,aAAa,mCAAgC;AACzD,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,eAAe,EACf,yBAAyB,EACzB,UAAU,EACX,mCAAgC;AACjC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,gBAAgB,EAAE,mBAAmB,CAAC,gBAAgB,CAEpD;IACF,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAClF,GAAG,EAAE,MAAM,CAAC,GAAG,CAAgC;IAE/C;;;;;;;;OAQG;IACH,2BAA2B,CACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0CAA0C,CAAC;CAG1D;AAED,MAAM,WAAW,0CAA0C;IACzD,IAAI,CAAC,EAAE,KAAK,CAAC,0CAA0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EF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -8,6 +8,8 @@ const MigrationSourcesAPI = tslib_1.__importStar(require("./migration-sources.js
8
8
  const migration_sources_1 = require("./migration-sources.js");
9
9
  const BucketsAPI = tslib_1.__importStar(require("./buckets/buckets.js"));
10
10
  const buckets_1 = require("./buckets/buckets.js");
11
+ const CloudfsAPI = tslib_1.__importStar(require("./cloudfs/cloudfs.js"));
12
+ const cloudfs_1 = require("./cloudfs/cloudfs.js");
11
13
  const KvsAPI = tslib_1.__importStar(require("./kvs/kvs.js"));
12
14
  const kvs_1 = require("./kvs/kvs.js");
13
15
  const MigrationsAPI = tslib_1.__importStar(require("./migrations/migrations.js"));
@@ -22,6 +24,7 @@ class Storage extends resource_1.APIResource {
22
24
  this.migrationSources = new MigrationSourcesAPI.MigrationSources(this._client);
23
25
  this.migrations = new MigrationsAPI.Migrations(this._client);
24
26
  this.kvs = new KvsAPI.Kvs(this._client);
27
+ this.cloudfs = new CloudfsAPI.Cloudfs(this._client);
25
28
  }
26
29
  /**
27
30
  * List Migration Source coverage
@@ -41,4 +44,5 @@ Storage.Buckets = buckets_1.Buckets;
41
44
  Storage.MigrationSources = migration_sources_1.MigrationSources;
42
45
  Storage.Migrations = migrations_1.Migrations;
43
46
  Storage.Kvs = kvs_1.Kvs;
47
+ Storage.Cloudfs = cloudfs_1.Cloudfs;
44
48
  //# sourceMappingURL=storage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"storage.js","sourceRoot":"","sources":["../../src/resources/storage/storage.ts"],"names":[],"mappings":";AAAA,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O,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,qBAAgB,GAAyC,IAAI,mBAAmB,CAAC,gBAAgB,CAC/F,IAAI,CAAC,OAAO,CACb,CAAC;QACF,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgBrE,CAAC;IAdC;;;;;;;;OAQG;IACH,2BAA2B,CACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CACF;AAvBD,0BAuBC;AAsBD,OAAO,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC1B,OAAO,CAAC,gBAAgB,GAAG,oCAAgB,CAAC;AAC5C,OAAO,CAAC,UAAU,GAAG,uBAAU,CAAC;AAChC,OAAO,CAAC,GAAG,GAAG,SAAG,CAAC;AAClB,OAAO,CAAC,OAAO,GAAG,iBAAO,CAAC"}
@@ -4,6 +4,8 @@ import * as MigrationSourcesAPI from "./migration-sources.mjs";
4
4
  import { MigrationSources, } from "./migration-sources.mjs";
5
5
  import * as BucketsAPI from "./buckets/buckets.mjs";
6
6
  import { Buckets } from "./buckets/buckets.mjs";
7
+ import * as CloudfsAPI from "./cloudfs/cloudfs.mjs";
8
+ import { Cloudfs, } from "./cloudfs/cloudfs.mjs";
7
9
  import * as KvsAPI from "./kvs/kvs.mjs";
8
10
  import { Kvs, } from "./kvs/kvs.mjs";
9
11
  import * as MigrationsAPI from "./migrations/migrations.mjs";
@@ -18,6 +20,7 @@ export class Storage extends APIResource {
18
20
  this.migrationSources = new MigrationSourcesAPI.MigrationSources(this._client);
19
21
  this.migrations = new MigrationsAPI.Migrations(this._client);
20
22
  this.kvs = new KvsAPI.Kvs(this._client);
23
+ this.cloudfs = new CloudfsAPI.Cloudfs(this._client);
21
24
  }
22
25
  /**
23
26
  * List Migration Source coverage
@@ -36,4 +39,5 @@ Storage.Buckets = Buckets;
36
39
  Storage.MigrationSources = MigrationSources;
37
40
  Storage.Migrations = Migrations;
38
41
  Storage.Kvs = Kvs;
42
+ Storage.Cloudfs = Cloudfs;
39
43
  //# sourceMappingURL=storage.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"storage.mjs","sourceRoot":"","sources":["../../src/resources/storage/storage.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,mBAAmB,gCAA4B;AAC3D,OAAO,EAOL,gBAAgB,GACjB,gCAA4B;AAC7B,OAAO,KAAK,UAAU,8BAA0B;AAChD,OAAO,EAAoE,OAAO,EAAE,8BAA0B;AAE9G,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAML,GAAG,GACJ,sBAAkB;AACnB,OAAO,KAAK,aAAa,oCAAgC;AACzD,OAAO,EAML,UAAU,GACX,oCAAgC;AAIjC;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,qBAAgB,GAAyC,IAAI,mBAAmB,CAAC,gBAAgB,CAC/F,IAAI,CAAC,OAAO,CACb,CAAC;QACF,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgBjD,CAAC;IAdC;;;;;;;;OAQG;IACH,2BAA2B,CACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,OAAO,CAAC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AI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CACF;AAsBD,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;AAC1B,OAAO,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;AAC5C,OAAO,CAAC,UAAU,GAAG,UAAU,CAAC;AAChC,OAAO,CAAC,GAAG,GAAG,GAAG,CAAC;AAClB,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC"}
@@ -242,7 +242,7 @@ export declare namespace VerifyProfile {
242
242
  */
243
243
  sender_phone_number?: string | null;
244
244
  /**
245
- * Customer pre-approved authentication template name registered on Meta
245
+ * Customer pre-approved authentication template ID registered on Meta
246
246
  */
247
247
  template_id?: string | null;
248
248
  /**
@@ -412,7 +412,7 @@ export declare namespace VerifyProfileCreateParams {
412
412
  */
413
413
  sender_phone_number?: string | null;
414
414
  /**
415
- * Customer pre-approved authentication template name registered on Meta
415
+ * Customer pre-approved authentication template ID registered on Meta
416
416
  */
417
417
  template_id?: string | null;
418
418
  /**
@@ -528,7 +528,7 @@ export declare namespace VerifyProfileUpdateParams {
528
528
  */
529
529
  sender_phone_number?: string | null;
530
530
  /**
531
- * Customer pre-approved authentication template name registered on Meta
531
+ * Customer pre-approved authentication template ID registered on Meta
532
532
  */
533
533
  template_id?: string | null;
534
534
  /**
@@ -242,7 +242,7 @@ export declare namespace VerifyProfile {
242
242
  */
243
243
  sender_phone_number?: string | null;
244
244
  /**
245
- * Customer pre-approved authentication template name registered on Meta
245
+ * Customer pre-approved authentication template ID registered on Meta
246
246
  */
247
247
  template_id?: string | null;
248
248
  /**
@@ -412,7 +412,7 @@ export declare namespace VerifyProfileCreateParams {
412
412
  */
413
413
  sender_phone_number?: string | null;
414
414
  /**
415
- * Customer pre-approved authentication template name registered on Meta
415
+ * Customer pre-approved authentication template ID registered on Meta
416
416
  */
417
417
  template_id?: string | null;
418
418
  /**
@@ -528,7 +528,7 @@ export declare namespace VerifyProfileUpdateParams {
528
528
  */
529
529
  sender_phone_number?: string | null;
530
530
  /**
531
- * Customer pre-approved authentication template name registered on Meta
531
+ * Customer pre-approved authentication template ID registered on Meta
532
532
  */
533
533
  template_id?: string | null;
534
534
  /**
@@ -289,7 +289,7 @@ export declare namespace CallAnswered {
289
289
  /**
290
290
  * User-to-User and Diversion headers from sip invite.
291
291
  */
292
- sip_headers?: Array<CallsAPI.SipHeader>;
292
+ sip_headers?: Array<Payload.SipHeader>;
293
293
  /**
294
294
  * ISO 8601 datetime of when the call started.
295
295
  */
@@ -307,6 +307,18 @@ export declare namespace CallAnswered {
307
307
  */
308
308
  to?: string;
309
309
  }
310
+ namespace Payload {
311
+ interface SipHeader {
312
+ /**
313
+ * The name of the header received from the SIP INVITE.
314
+ */
315
+ name: 'User-to-User' | 'Diversion';
316
+ /**
317
+ * The value of the header.
318
+ */
319
+ value: string;
320
+ }
321
+ }
310
322
  }
311
323
  export interface CallBridged {
312
324
  /**
@@ -876,7 +888,7 @@ export declare namespace CallHangup {
876
888
  /**
877
889
  * User-to-User and Diversion headers from sip invite.
878
890
  */
879
- sip_headers?: Array<CallsAPI.SipHeader>;
891
+ sip_headers?: Array<Payload.SipHeader>;
880
892
  /**
881
893
  * ISO 8601 datetime of when the call started.
882
894
  */
@@ -950,6 +962,16 @@ export declare namespace CallHangup {
950
962
  skip_packet_count?: string;
951
963
  }
952
964
  }
965
+ interface SipHeader {
966
+ /**
967
+ * The name of the header received from the SIP INVITE.
968
+ */
969
+ name: 'User-to-User' | 'Diversion';
970
+ /**
971
+ * The value of the header.
972
+ */
973
+ value: string;
974
+ }
953
975
  }
954
976
  }
955
977
  export interface CallInitiated {
@@ -1034,7 +1056,7 @@ export declare namespace CallInitiated {
1034
1056
  /**
1035
1057
  * User-to-User and Diversion headers from sip invite.
1036
1058
  */
1037
- sip_headers?: Array<CallsAPI.SipHeader>;
1059
+ sip_headers?: Array<Payload.SipHeader>;
1038
1060
  /**
1039
1061
  * ISO 8601 datetime of when the call started.
1040
1062
  */
@@ -1052,6 +1074,18 @@ export declare namespace CallInitiated {
1052
1074
  */
1053
1075
  to?: string;
1054
1076
  }
1077
+ namespace Payload {
1078
+ interface SipHeader {
1079
+ /**
1080
+ * The name of the header received from the SIP INVITE.
1081
+ */
1082
+ name: 'User-to-User' | 'Diversion';
1083
+ /**
1084
+ * The value of the header.
1085
+ */
1086
+ value: string;
1087
+ }
1088
+ }
1055
1089
  }
1056
1090
  export interface CallLeftQueue {
1057
1091
  /**
@@ -3491,23 +3525,87 @@ export declare namespace FaxSendingStarted {
3491
3525
  }
3492
3526
  }
3493
3527
  export interface InboundMessage {
3494
- /**
3495
- * Identifies the type of resource.
3496
- */
3497
- id?: string;
3498
- /**
3499
- * The type of event being delivered.
3500
- */
3501
- event_type?: 'message.received';
3502
- /**
3503
- * ISO 8601 formatted date indicating when the resource was created.
3504
- */
3505
- occurred_at?: string;
3506
- payload?: Shared.InboundMessagePayload;
3507
- /**
3508
- * Identifies the type of the resource.
3509
- */
3510
- record_type?: 'event';
3528
+ id: string;
3529
+ attachments: Array<{
3530
+ [key: string]: unknown;
3531
+ }>;
3532
+ bcc: Array<InboundMessage.Bcc>;
3533
+ cc: Array<InboundMessage.Cc>;
3534
+ created_at: string;
3535
+ direction: 'inbound';
3536
+ from: InboundMessage.From;
3537
+ /**
3538
+ * Whether conservative plain-text extraction detected a quoted tail. False does
3539
+ * not prove that the source contains no quoted content.
3540
+ */
3541
+ has_quoted_text: boolean;
3542
+ headers: {
3543
+ [key: string]: unknown;
3544
+ };
3545
+ /**
3546
+ * URL for an offloaded HTML body. Null means the body is not offloaded to a URL;
3547
+ * an inline HTML body may still exist but is not returned on list reads.
3548
+ * `reply_text` and `has_quoted_text` are computed from the inline plain-text body
3549
+ * when present.
3550
+ */
3551
+ html_body_url: string | null;
3552
+ in_reply_to: string | null;
3553
+ inbox_id: string;
3554
+ inline_files: Array<{
3555
+ [key: string]: unknown;
3556
+ }>;
3557
+ /**
3558
+ * RFC Message-ID header.
3559
+ */
3560
+ message_id: string;
3561
+ read_at: string | null;
3562
+ received_at: string;
3563
+ record_type: 'email_message';
3564
+ /**
3565
+ * Ordered RFC Message-ID values from the References header.
3566
+ */
3567
+ references: Array<string>;
3568
+ /**
3569
+ * Conservatively extracted new-reply content from the available plain-text body.
3570
+ * Null means no plain-text body was available because it was absent or offloaded;
3571
+ * HTML bodies are not parsed.
3572
+ */
3573
+ reply_text: string | null;
3574
+ reply_to: Array<InboundMessage.ReplyTo>;
3575
+ status: 'received';
3576
+ subject: string | null;
3577
+ /**
3578
+ * URL for an offloaded plain-text body. Null means the body is not offloaded to a
3579
+ * URL; an inline plain-text body may still exist but is not returned on list
3580
+ * reads. `reply_text` and `has_quoted_text` are computed from the inline
3581
+ * plain-text body when present.
3582
+ */
3583
+ text_body_url: string | null;
3584
+ thread_id: string;
3585
+ to: Array<InboundMessage.To>;
3586
+ updated_at: string;
3587
+ }
3588
+ export declare namespace InboundMessage {
3589
+ interface Bcc {
3590
+ email: string;
3591
+ name?: string;
3592
+ }
3593
+ interface Cc {
3594
+ email: string;
3595
+ name?: string;
3596
+ }
3597
+ interface From {
3598
+ email: string;
3599
+ name?: string;
3600
+ }
3601
+ interface ReplyTo {
3602
+ email: string;
3603
+ name?: string;
3604
+ }
3605
+ interface To {
3606
+ email: string;
3607
+ name?: string;
3608
+ }
3511
3609
  }
3512
3610
  export interface NumberOrderStatusUpdate {
3513
3611
  data: NumberOrderStatusUpdate.Data;
@@ -4233,7 +4331,28 @@ export declare namespace HostedNumberOrderEventWebhookEvent {
4233
4331
  }
4234
4332
  }
4235
4333
  export interface InboundMessageWebhookEvent {
4236
- data?: InboundMessage;
4334
+ data?: InboundMessageWebhookEvent.Data;
4335
+ }
4336
+ export declare namespace InboundMessageWebhookEvent {
4337
+ interface Data {
4338
+ /**
4339
+ * Identifies the type of resource.
4340
+ */
4341
+ id?: string;
4342
+ /**
4343
+ * The type of event being delivered.
4344
+ */
4345
+ event_type?: 'message.received';
4346
+ /**
4347
+ * ISO 8601 formatted date indicating when the resource was created.
4348
+ */
4349
+ occurred_at?: string;
4350
+ payload?: Shared.InboundMessagePayload;
4351
+ /**
4352
+ * Identifies the type of the resource.
4353
+ */
4354
+ record_type?: 'event';
4355
+ }
4237
4356
  }
4238
4357
  export interface ReplacedLinkClickWebhookEvent {
4239
4358
  data?: ReplacedLinkClick;
@@ -4820,7 +4939,28 @@ export declare namespace HostedNumberOrderEventWebhookEvent {
4820
4939
  }
4821
4940
  }
4822
4941
  export interface InboundMessageWebhookEvent {
4823
- data?: InboundMessage;
4942
+ data?: InboundMessageWebhookEvent.Data;
4943
+ }
4944
+ export declare namespace InboundMessageWebhookEvent {
4945
+ interface Data {
4946
+ /**
4947
+ * Identifies the type of resource.
4948
+ */
4949
+ id?: string;
4950
+ /**
4951
+ * The type of event being delivered.
4952
+ */
4953
+ event_type?: 'message.received';
4954
+ /**
4955
+ * ISO 8601 formatted date indicating when the resource was created.
4956
+ */
4957
+ occurred_at?: string;
4958
+ payload?: Shared.InboundMessagePayload;
4959
+ /**
4960
+ * Identifies the type of the resource.
4961
+ */
4962
+ record_type?: 'event';
4963
+ }
4824
4964
  }
4825
4965
  export interface ReplacedLinkClickWebhookEvent {
4826
4966
  data?: ReplacedLinkClick;