sendblue 3.14.0 → 3.16.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 (222) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +1 -1
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +1 -1
  5. package/client.d.ts.map +1 -1
  6. package/client.js +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +1 -1
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/groups.d.mts +1 -1
  12. package/resources/groups.d.mts.map +1 -1
  13. package/resources/groups.d.ts +1 -1
  14. package/resources/groups.d.ts.map +1 -1
  15. package/resources/index.d.mts +1 -1
  16. package/resources/index.d.mts.map +1 -1
  17. package/resources/index.d.ts +1 -1
  18. package/resources/index.d.ts.map +1 -1
  19. package/resources/index.js +1 -1
  20. package/resources/index.js.map +1 -1
  21. package/resources/index.mjs +1 -1
  22. package/resources/index.mjs.map +1 -1
  23. package/resources/messages/index.d.mts +3 -0
  24. package/resources/messages/index.d.mts.map +1 -0
  25. package/resources/messages/index.d.ts +3 -0
  26. package/resources/messages/index.d.ts.map +1 -0
  27. package/resources/messages/index.js +9 -0
  28. package/resources/messages/index.js.map +1 -0
  29. package/resources/messages/index.mjs +4 -0
  30. package/resources/messages/index.mjs.map +1 -0
  31. package/resources/messages/messages.d.mts +1071 -0
  32. package/resources/messages/messages.d.mts.map +1 -0
  33. package/resources/messages/messages.d.ts +1071 -0
  34. package/resources/messages/messages.d.ts.map +1 -0
  35. package/resources/messages/messages.js +105 -0
  36. package/resources/messages/messages.js.map +1 -0
  37. package/resources/messages/messages.mjs +100 -0
  38. package/resources/messages/messages.mjs.map +1 -0
  39. package/resources/messages/v2/index.d.mts +3 -0
  40. package/resources/messages/v2/index.d.mts.map +1 -0
  41. package/resources/messages/v2/index.d.ts +3 -0
  42. package/resources/messages/v2/index.d.ts.map +1 -0
  43. package/resources/{v2/groups → messages/v2}/index.js +3 -3
  44. package/resources/messages/v2/index.js.map +1 -0
  45. package/resources/{v2/groups → messages/v2}/index.mjs +1 -1
  46. package/resources/messages/v2/index.mjs.map +1 -0
  47. package/resources/messages/v2/v2.d.mts +10 -0
  48. package/resources/messages/v2/v2.d.mts.map +1 -0
  49. package/resources/messages/v2/v2.d.ts +10 -0
  50. package/resources/messages/v2/v2.d.ts.map +1 -0
  51. package/resources/messages/v2/v2.js +17 -0
  52. package/resources/messages/v2/v2.js.map +1 -0
  53. package/resources/messages/v2/v2.mjs +12 -0
  54. package/resources/messages/v2/v2.mjs.map +1 -0
  55. package/resources/messages/v2/verify/index.d.mts.map +1 -0
  56. package/resources/messages/v2/verify/index.d.ts.map +1 -0
  57. package/resources/messages/v2/verify/index.js.map +1 -0
  58. package/resources/messages/v2/verify/index.mjs.map +1 -0
  59. package/resources/messages/v2/verify/services/index.d.mts.map +1 -0
  60. package/resources/messages/v2/verify/services/index.d.ts.map +1 -0
  61. package/resources/messages/v2/verify/services/index.js.map +1 -0
  62. package/resources/messages/v2/verify/services/index.mjs.map +1 -0
  63. package/resources/messages/v2/verify/services/services.d.mts.map +1 -0
  64. package/resources/messages/v2/verify/services/services.d.ts.map +1 -0
  65. package/resources/messages/v2/verify/services/services.js.map +1 -0
  66. package/resources/messages/v2/verify/services/services.mjs.map +1 -0
  67. package/resources/{v2/groups → messages/v2}/verify/services/verifications.d.mts +2 -2
  68. package/resources/messages/v2/verify/services/verifications.d.mts.map +1 -0
  69. package/resources/{v2/groups → messages/v2}/verify/services/verifications.d.ts +2 -2
  70. package/resources/messages/v2/verify/services/verifications.d.ts.map +1 -0
  71. package/resources/{v2/groups → messages/v2}/verify/services/verifications.js +2 -2
  72. package/resources/messages/v2/verify/services/verifications.js.map +1 -0
  73. package/resources/{v2/groups → messages/v2}/verify/services/verifications.mjs +2 -2
  74. package/resources/messages/v2/verify/services/verifications.mjs.map +1 -0
  75. package/resources/messages/v2/verify/services.d.mts.map +1 -0
  76. package/resources/messages/v2/verify/services.d.ts.map +1 -0
  77. package/resources/messages/v2/verify/services.js.map +1 -0
  78. package/resources/messages/v2/verify/services.mjs.map +1 -0
  79. package/resources/messages/v2/verify/verify.d.mts.map +1 -0
  80. package/resources/messages/v2/verify/verify.d.ts.map +1 -0
  81. package/resources/messages/v2/verify/verify.js.map +1 -0
  82. package/resources/messages/v2/verify/verify.mjs.map +1 -0
  83. package/resources/messages/v2/verify.d.mts.map +1 -0
  84. package/resources/messages/v2/verify.d.ts.map +1 -0
  85. package/resources/messages/v2/verify.js.map +1 -0
  86. package/resources/messages/v2/verify.mjs.map +1 -0
  87. package/resources/messages/v2.d.mts +2 -0
  88. package/resources/messages/v2.d.mts.map +1 -0
  89. package/resources/messages/v2.d.ts +2 -0
  90. package/resources/messages/v2.d.ts.map +1 -0
  91. package/resources/messages/v2.js +6 -0
  92. package/resources/messages/v2.js.map +1 -0
  93. package/resources/messages/v2.mjs +3 -0
  94. package/resources/messages/v2.mjs.map +1 -0
  95. package/resources/messages.d.mts +1 -1066
  96. package/resources/messages.d.mts.map +1 -1
  97. package/resources/messages.d.ts +1 -1066
  98. package/resources/messages.d.ts.map +1 -1
  99. package/resources/messages.js +2 -93
  100. package/resources/messages.js.map +1 -1
  101. package/resources/messages.mjs +1 -91
  102. package/resources/messages.mjs.map +1 -1
  103. package/resources/v2/groups.d.mts +119 -1
  104. package/resources/v2/groups.d.mts.map +1 -1
  105. package/resources/v2/groups.d.ts +119 -1
  106. package/resources/v2/groups.d.ts.map +1 -1
  107. package/resources/v2/groups.js +43 -2
  108. package/resources/v2/groups.js.map +1 -1
  109. package/resources/v2/groups.mjs +41 -1
  110. package/resources/v2/groups.mjs.map +1 -1
  111. package/resources/v2/index.d.mts +1 -1
  112. package/resources/v2/index.d.mts.map +1 -1
  113. package/resources/v2/index.d.ts +1 -1
  114. package/resources/v2/index.d.ts.map +1 -1
  115. package/resources/v2/index.js +4 -4
  116. package/resources/v2/index.js.map +1 -1
  117. package/resources/v2/index.mjs +1 -1
  118. package/resources/v2/index.mjs.map +1 -1
  119. package/resources/v2/v2.d.mts +3 -3
  120. package/resources/v2/v2.d.mts.map +1 -1
  121. package/resources/v2/v2.d.ts +3 -3
  122. package/resources/v2/v2.d.ts.map +1 -1
  123. package/resources/v2/v2.js +2 -2
  124. package/resources/v2/v2.js.map +1 -1
  125. package/resources/v2/v2.mjs +2 -2
  126. package/resources/v2/v2.mjs.map +1 -1
  127. package/resources/webhooks.d.mts +34 -2
  128. package/resources/webhooks.d.mts.map +1 -1
  129. package/resources/webhooks.d.ts +34 -2
  130. package/resources/webhooks.d.ts.map +1 -1
  131. package/src/client.ts +11 -11
  132. package/src/resources/groups.ts +1 -1
  133. package/src/resources/index.ts +1 -1
  134. package/src/resources/messages/index.ts +14 -0
  135. package/src/resources/messages/messages.ts +1444 -0
  136. package/src/resources/{v2/groups → messages/v2}/index.ts +1 -1
  137. package/src/resources/messages/v2/v2.ts +15 -0
  138. package/src/resources/{v2/groups → messages/v2}/verify/services/verifications.ts +2 -2
  139. package/src/resources/messages/v2.ts +3 -0
  140. package/src/resources/messages.ts +1 -1434
  141. package/src/resources/v2/groups.ts +159 -1
  142. package/src/resources/v2/index.ts +6 -1
  143. package/src/resources/v2/v2.ts +8 -3
  144. package/src/resources/webhooks.ts +44 -0
  145. package/src/version.ts +1 -1
  146. package/version.d.mts +1 -1
  147. package/version.d.ts +1 -1
  148. package/version.js +1 -1
  149. package/version.mjs +1 -1
  150. package/resources/v2/groups/groups.d.mts +0 -86
  151. package/resources/v2/groups/groups.d.mts.map +0 -1
  152. package/resources/v2/groups/groups.d.ts +0 -86
  153. package/resources/v2/groups/groups.d.ts.map +0 -1
  154. package/resources/v2/groups/groups.js +0 -35
  155. package/resources/v2/groups/groups.js.map +0 -1
  156. package/resources/v2/groups/groups.mjs +0 -30
  157. package/resources/v2/groups/groups.mjs.map +0 -1
  158. package/resources/v2/groups/index.d.mts +0 -3
  159. package/resources/v2/groups/index.d.mts.map +0 -1
  160. package/resources/v2/groups/index.d.ts +0 -3
  161. package/resources/v2/groups/index.d.ts.map +0 -1
  162. package/resources/v2/groups/index.js.map +0 -1
  163. package/resources/v2/groups/index.mjs.map +0 -1
  164. package/resources/v2/groups/verify/index.d.mts.map +0 -1
  165. package/resources/v2/groups/verify/index.d.ts.map +0 -1
  166. package/resources/v2/groups/verify/index.js.map +0 -1
  167. package/resources/v2/groups/verify/index.mjs.map +0 -1
  168. package/resources/v2/groups/verify/services/index.d.mts.map +0 -1
  169. package/resources/v2/groups/verify/services/index.d.ts.map +0 -1
  170. package/resources/v2/groups/verify/services/index.js.map +0 -1
  171. package/resources/v2/groups/verify/services/index.mjs.map +0 -1
  172. package/resources/v2/groups/verify/services/services.d.mts.map +0 -1
  173. package/resources/v2/groups/verify/services/services.d.ts.map +0 -1
  174. package/resources/v2/groups/verify/services/services.js.map +0 -1
  175. package/resources/v2/groups/verify/services/services.mjs.map +0 -1
  176. package/resources/v2/groups/verify/services/verifications.d.mts.map +0 -1
  177. package/resources/v2/groups/verify/services/verifications.d.ts.map +0 -1
  178. package/resources/v2/groups/verify/services/verifications.js.map +0 -1
  179. package/resources/v2/groups/verify/services/verifications.mjs.map +0 -1
  180. package/resources/v2/groups/verify/services.d.mts.map +0 -1
  181. package/resources/v2/groups/verify/services.d.ts.map +0 -1
  182. package/resources/v2/groups/verify/services.js.map +0 -1
  183. package/resources/v2/groups/verify/services.mjs.map +0 -1
  184. package/resources/v2/groups/verify/verify.d.mts.map +0 -1
  185. package/resources/v2/groups/verify/verify.d.ts.map +0 -1
  186. package/resources/v2/groups/verify/verify.js.map +0 -1
  187. package/resources/v2/groups/verify/verify.mjs.map +0 -1
  188. package/resources/v2/groups/verify.d.mts.map +0 -1
  189. package/resources/v2/groups/verify.d.ts.map +0 -1
  190. package/resources/v2/groups/verify.js.map +0 -1
  191. package/resources/v2/groups/verify.mjs.map +0 -1
  192. package/src/resources/v2/groups/groups.ts +0 -114
  193. /package/resources/{v2/groups → messages/v2}/verify/index.d.mts +0 -0
  194. /package/resources/{v2/groups → messages/v2}/verify/index.d.ts +0 -0
  195. /package/resources/{v2/groups → messages/v2}/verify/index.js +0 -0
  196. /package/resources/{v2/groups → messages/v2}/verify/index.mjs +0 -0
  197. /package/resources/{v2/groups → messages/v2}/verify/services/index.d.mts +0 -0
  198. /package/resources/{v2/groups → messages/v2}/verify/services/index.d.ts +0 -0
  199. /package/resources/{v2/groups → messages/v2}/verify/services/index.js +0 -0
  200. /package/resources/{v2/groups → messages/v2}/verify/services/index.mjs +0 -0
  201. /package/resources/{v2/groups → messages/v2}/verify/services/services.d.mts +0 -0
  202. /package/resources/{v2/groups → messages/v2}/verify/services/services.d.ts +0 -0
  203. /package/resources/{v2/groups → messages/v2}/verify/services/services.js +0 -0
  204. /package/resources/{v2/groups → messages/v2}/verify/services/services.mjs +0 -0
  205. /package/resources/{v2/groups → messages/v2}/verify/services.d.mts +0 -0
  206. /package/resources/{v2/groups → messages/v2}/verify/services.d.ts +0 -0
  207. /package/resources/{v2/groups → messages/v2}/verify/services.js +0 -0
  208. /package/resources/{v2/groups → messages/v2}/verify/services.mjs +0 -0
  209. /package/resources/{v2/groups → messages/v2}/verify/verify.d.mts +0 -0
  210. /package/resources/{v2/groups → messages/v2}/verify/verify.d.ts +0 -0
  211. /package/resources/{v2/groups → messages/v2}/verify/verify.js +0 -0
  212. /package/resources/{v2/groups → messages/v2}/verify/verify.mjs +0 -0
  213. /package/resources/{v2/groups → messages/v2}/verify.d.mts +0 -0
  214. /package/resources/{v2/groups → messages/v2}/verify.d.ts +0 -0
  215. /package/resources/{v2/groups → messages/v2}/verify.js +0 -0
  216. /package/resources/{v2/groups → messages/v2}/verify.mjs +0 -0
  217. /package/src/resources/{v2/groups → messages/v2}/verify/index.ts +0 -0
  218. /package/src/resources/{v2/groups → messages/v2}/verify/services/index.ts +0 -0
  219. /package/src/resources/{v2/groups → messages/v2}/verify/services/services.ts +0 -0
  220. /package/src/resources/{v2/groups → messages/v2}/verify/services.ts +0 -0
  221. /package/src/resources/{v2/groups → messages/v2}/verify/verify.ts +0 -0
  222. /package/src/resources/{v2/groups → messages/v2}/verify.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { Groups } from "./groups/index.mjs";
2
+ export { Groups, } from "./groups.mjs";
3
3
  export { Seats, } from "./seats.mjs";
4
4
  export { Totp } from "./totp/index.mjs";
5
5
  export { V2 } from "./v2.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v2/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,MAAM,EAA8B,2BAAuB;AACpE,OAAO,EACL,KAAK,GAMN,oBAAgB;AACjB,OAAO,EAAE,IAAI,EAA4B,yBAAqB;AAC9D,OAAO,EAAE,EAAE,EAAE,iBAAa"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v2/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,MAAM,GAIP,qBAAiB;AAClB,OAAO,EACL,KAAK,GAMN,oBAAgB;AACjB,OAAO,EAAE,IAAI,EAA4B,yBAAqB;AAC9D,OAAO,EAAE,EAAE,EAAE,iBAAa"}
@@ -1,8 +1,8 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
+ import * as GroupsAPI from "./groups.mjs";
3
+ import { GroupRenameParams, GroupRenameResponse, GroupRetrieveResponse, Groups } from "./groups.mjs";
2
4
  import * as SeatsAPI from "./seats.mjs";
3
5
  import { SeatCountParams, SeatCountResponse, SeatListParams, SeatListResponse, SeatRetrieveResponse, Seats } from "./seats.mjs";
4
- import * as GroupsAPI from "./groups/groups.mjs";
5
- import { GroupRetrieveResponse, Groups } from "./groups/groups.mjs";
6
6
  import * as TotpAPI from "./totp/totp.mjs";
7
7
  import { Totp, TotpGetCodeResponse } from "./totp/totp.mjs";
8
8
  export declare class V2 extends APIResource {
@@ -13,6 +13,6 @@ export declare class V2 extends APIResource {
13
13
  export declare namespace V2 {
14
14
  export { Totp as Totp, type TotpGetCodeResponse as TotpGetCodeResponse };
15
15
  export { Seats as Seats, type SeatRetrieveResponse as SeatRetrieveResponse, type SeatListResponse as SeatListResponse, type SeatCountResponse as SeatCountResponse, type SeatListParams as SeatListParams, type SeatCountParams as SeatCountParams, };
16
- export { Groups as Groups, type GroupRetrieveResponse as GroupRetrieveResponse };
16
+ export { Groups as Groups, type GroupRetrieveResponse as GroupRetrieveResponse, type GroupRenameResponse as GroupRenameResponse, type GroupRenameParams as GroupRenameParams, };
17
17
  }
18
18
  //# sourceMappingURL=v2.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"v2.d.mts","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,EACN,oBAAgB;AACjB,OAAO,KAAK,SAAS,4BAAwB;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAE,4BAAwB;AAChE,OAAO,KAAK,OAAO,wBAAoB;AACvC,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,wBAAoB;AAExD,qBAAa,EAAG,SAAQ,WAAW;IACjC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAMD,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;IAEzE,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,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AqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -1,8 +1,8 @@
1
1
  import { APIResource } from "../../core/resource.js";
2
+ import * as GroupsAPI from "./groups.js";
3
+ import { GroupRenameParams, GroupRenameResponse, GroupRetrieveResponse, Groups } from "./groups.js";
2
4
  import * as SeatsAPI from "./seats.js";
3
5
  import { SeatCountParams, SeatCountResponse, SeatListParams, SeatListResponse, SeatRetrieveResponse, Seats } from "./seats.js";
4
- import * as GroupsAPI from "./groups/groups.js";
5
- import { GroupRetrieveResponse, Groups } from "./groups/groups.js";
6
6
  import * as TotpAPI from "./totp/totp.js";
7
7
  import { Totp, TotpGetCodeResponse } from "./totp/totp.js";
8
8
  export declare class V2 extends APIResource {
@@ -13,6 +13,6 @@ export declare class V2 extends APIResource {
13
13
  export declare namespace V2 {
14
14
  export { Totp as Totp, type TotpGetCodeResponse as TotpGetCodeResponse };
15
15
  export { Seats as Seats, type SeatRetrieveResponse as SeatRetrieveResponse, type SeatListResponse as SeatListResponse, type SeatCountResponse as SeatCountResponse, type SeatListParams as SeatListParams, type SeatCountParams as SeatCountParams, };
16
- export { Groups as Groups, type GroupRetrieveResponse as GroupRetrieveResponse };
16
+ export { Groups as Groups, type GroupRetrieveResponse as GroupRetrieveResponse, type GroupRenameResponse as GroupRenameResponse, type GroupRenameParams as GroupRenameParams, };
17
17
  }
18
18
  //# sourceMappingURL=v2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,EACN,mBAAgB;AACjB,OAAO,KAAK,SAAS,2BA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,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAMD,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;IAEzE,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.V2 = void 0;
5
5
  const tslib_1 = require("../../internal/tslib.js");
6
6
  const resource_1 = require("../../core/resource.js");
7
+ const GroupsAPI = tslib_1.__importStar(require("./groups.js"));
8
+ const groups_1 = require("./groups.js");
7
9
  const SeatsAPI = tslib_1.__importStar(require("./seats.js"));
8
10
  const seats_1 = require("./seats.js");
9
- const GroupsAPI = tslib_1.__importStar(require("./groups/groups.js"));
10
- const groups_1 = require("./groups/groups.js");
11
11
  const TotpAPI = tslib_1.__importStar(require("./totp/totp.js"));
12
12
  const totp_1 = require("./totp/totp.js");
13
13
  class V2 extends resource_1.APIResource {
@@ -1 +1 @@
1
- {"version":3,"file":"v2.js","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,6DAAoC;AACpC,sCAOiB;AACjB,sEAA6C;AAC7C,+CAAgE;AAChE,gEAAuC;AACvC,yCAAwD;AAExD,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAJD,gBAIC;AAED,EAAE,CAAC,IAAI,GAAG,WAAI,CAAC;AACf,EAAE,CAAC,KAAK,GAAG,aAAK,CAAC;AACjB,EAAE,CAAC,MAAM,GAAG,eAAM,CAAC"}
1
+ {"version":3,"file":"v2.js","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAiG;AACjG,6DAAoC;AACpC,sCAOiB;AACjB,gEAAuC;AACvC,yCAAwD;AAExD,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAJD,gBAIC;AAED,EAAE,CAAC,IAAI,GAAG,WAAI,CAAC;AACf,EAAE,CAAC,KAAK,GAAG,aAAK,CAAC;AACjB,EAAE,CAAC,MAAM,GAAG,eAAM,CAAC"}
@@ -1,9 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../../core/resource.mjs";
3
+ import * as GroupsAPI from "./groups.mjs";
4
+ import { Groups } from "./groups.mjs";
3
5
  import * as SeatsAPI from "./seats.mjs";
4
6
  import { Seats, } from "./seats.mjs";
5
- import * as GroupsAPI from "./groups/groups.mjs";
6
- import { Groups } from "./groups/groups.mjs";
7
7
  import * as TotpAPI from "./totp/totp.mjs";
8
8
  import { Totp } from "./totp/totp.mjs";
9
9
  export class V2 extends APIResource {
@@ -1 +1 @@
1
- {"version":3,"file":"v2.mjs","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAML,KAAK,GACN,oBAAgB;AACjB,OAAO,KAAK,SAAS,4BAAwB;AAC7C,OAAO,EAAyB,MAAM,EAAE,4BAAwB;AAChE,OAAO,KAAK,OAAO,wBAAoB;AACvC,OAAO,EAAE,IAAI,EAAuB,wBAAoB;AAExD,MAAM,OAAO,EAAG,SAAQ,WAAW;IAAnC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAED,EAAE,CAAC,IAAI,GAAG,IAAI,CAAC;AACf,EAAE,CAAC,KAAK,GAAG,KAAK,CAAC;AACjB,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"v2.mjs","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAiE,MAAM,EAAE,qBAAiB;AACjG,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAML,KAAK,GACN,oBAAgB;AACjB,OAAO,KAAK,OAAO,wBAAoB;AACvC,OAAO,EAAE,IAAI,EAAuB,wBAAoB;AAExD,MAAM,OAAO,EAAG,SAAQ,WAAW;IAAnC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAED,EAAE,CAAC,IAAI,GAAG,IAAI,CAAC;AACf,EAAE,CAAC,KAAK,GAAG,KAAK,CAAC;AACjB,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC"}
@@ -64,10 +64,18 @@ export declare namespace WebhookCreateResponse {
64
64
  * Webhooks for contact created events
65
65
  */
66
66
  contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
67
+ /**
68
+ * Webhooks for durable contact-profile publication completion and failure events
69
+ */
70
+ contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
67
71
  /**
68
72
  * Global secret applied to all webhooks
69
73
  */
70
74
  globalSecret?: string;
75
+ /**
76
+ * Webhooks for inbound call events
77
+ */
78
+ inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
71
79
  /**
72
80
  * Webhooks for line assigned events
73
81
  */
@@ -105,10 +113,18 @@ export declare namespace WebhookUpdateResponse {
105
113
  * Webhooks for contact created events
106
114
  */
107
115
  contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
116
+ /**
117
+ * Webhooks for durable contact-profile publication completion and failure events
118
+ */
119
+ contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
108
120
  /**
109
121
  * Global secret applied to all webhooks
110
122
  */
111
123
  globalSecret?: string;
124
+ /**
125
+ * Webhooks for inbound call events
126
+ */
127
+ inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
112
128
  /**
113
129
  * Webhooks for line assigned events
114
130
  */
@@ -145,10 +161,18 @@ export declare namespace WebhookListResponse {
145
161
  * Webhooks for contact created events
146
162
  */
147
163
  contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
164
+ /**
165
+ * Webhooks for durable contact-profile publication completion and failure events
166
+ */
167
+ contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
148
168
  /**
149
169
  * Global secret applied to all webhooks
150
170
  */
151
171
  globalSecret?: string;
172
+ /**
173
+ * Webhooks for inbound call events
174
+ */
175
+ inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
152
176
  /**
153
177
  * Webhooks for line assigned events
154
178
  */
@@ -187,7 +211,7 @@ export interface WebhookCreateParams {
187
211
  /**
188
212
  * Type of webhook to add
189
213
  */
190
- type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'contact_created';
214
+ type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'inbound_call' | 'contact_profile' | 'contact_created';
191
215
  }
192
216
  export interface WebhookUpdateParams {
193
217
  webhooks: WebhookUpdateParams.Webhooks;
@@ -202,10 +226,18 @@ export declare namespace WebhookUpdateParams {
202
226
  * Webhooks for contact created events
203
227
  */
204
228
  contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
229
+ /**
230
+ * Webhooks for durable contact-profile publication completion and failure events
231
+ */
232
+ contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
205
233
  /**
206
234
  * Global secret applied to all webhooks
207
235
  */
208
236
  globalSecret?: string;
237
+ /**
238
+ * Webhooks for inbound call events
239
+ */
240
+ inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
209
241
  /**
210
242
  * Webhooks for line assigned events
211
243
  */
@@ -236,7 +268,7 @@ export interface WebhookDeleteParams {
236
268
  /**
237
269
  * Type of webhook to delete from
238
270
  */
239
- type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'contact_created';
271
+ type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'inbound_call' | 'contact_profile' | 'contact_created';
240
272
  }
241
273
  export declare namespace Webhooks {
242
274
  export { type WebhookConfiguration as WebhookConfiguration, type WebhookCreateResponse as WebhookCreateResponse, type WebhookUpdateResponse as WebhookUpdateResponse, type WebhookListResponse as WebhookListResponse, type WebhookDeleteResponse as WebhookDeleteResponse, type WebhookCreateParams as WebhookCreateParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookDeleteParams as WebhookDeleteParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"webhooks.d.mts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;;;OAKG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI/D;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAG/F;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH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BAAoB,CAAC,CAAC;QAEhE;;WAEG;QACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,WAAW,CAAC,oBAAoB,CAAC,CAAC;QAEjE;;WAEG;QACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,WAAW,CAAC,oBAAoB,CAAC,CAAC;QAEhE;;WAEG;QACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,WAAW,CAAC,oBAAoB,CAAC,CAAC;QAE5D;;WAEG;QACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,WAAW,CAAC,oBAAoB,CAAC,CAAC;QAE3D;;WAEG;QACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,WAAW,CAAC,oBAAoB,CAAC,CAAC;KACrE;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EACD,SAAS,GACT,cAAc,GACd,eAAe,GACf,UAAU,GACV,kBAAkB,GAClB,UAAU,GACV,cAAc,GACd,iBAAiB,GACjB,iBAAiB,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -64,10 +64,18 @@ export declare namespace WebhookCreateResponse {
64
64
  * Webhooks for contact created events
65
65
  */
66
66
  contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
67
+ /**
68
+ * Webhooks for durable contact-profile publication completion and failure events
69
+ */
70
+ contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
67
71
  /**
68
72
  * Global secret applied to all webhooks
69
73
  */
70
74
  globalSecret?: string;
75
+ /**
76
+ * Webhooks for inbound call events
77
+ */
78
+ inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
71
79
  /**
72
80
  * Webhooks for line assigned events
73
81
  */
@@ -105,10 +113,18 @@ export declare namespace WebhookUpdateResponse {
105
113
  * Webhooks for contact created events
106
114
  */
107
115
  contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
116
+ /**
117
+ * Webhooks for durable contact-profile publication completion and failure events
118
+ */
119
+ contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
108
120
  /**
109
121
  * Global secret applied to all webhooks
110
122
  */
111
123
  globalSecret?: string;
124
+ /**
125
+ * Webhooks for inbound call events
126
+ */
127
+ inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
112
128
  /**
113
129
  * Webhooks for line assigned events
114
130
  */
@@ -145,10 +161,18 @@ export declare namespace WebhookListResponse {
145
161
  * Webhooks for contact created events
146
162
  */
147
163
  contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
164
+ /**
165
+ * Webhooks for durable contact-profile publication completion and failure events
166
+ */
167
+ contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
148
168
  /**
149
169
  * Global secret applied to all webhooks
150
170
  */
151
171
  globalSecret?: string;
172
+ /**
173
+ * Webhooks for inbound call events
174
+ */
175
+ inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
152
176
  /**
153
177
  * Webhooks for line assigned events
154
178
  */
@@ -187,7 +211,7 @@ export interface WebhookCreateParams {
187
211
  /**
188
212
  * Type of webhook to add
189
213
  */
190
- type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'contact_created';
214
+ type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'inbound_call' | 'contact_profile' | 'contact_created';
191
215
  }
192
216
  export interface WebhookUpdateParams {
193
217
  webhooks: WebhookUpdateParams.Webhooks;
@@ -202,10 +226,18 @@ export declare namespace WebhookUpdateParams {
202
226
  * Webhooks for contact created events
203
227
  */
204
228
  contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
229
+ /**
230
+ * Webhooks for durable contact-profile publication completion and failure events
231
+ */
232
+ contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
205
233
  /**
206
234
  * Global secret applied to all webhooks
207
235
  */
208
236
  globalSecret?: string;
237
+ /**
238
+ * Webhooks for inbound call events
239
+ */
240
+ inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
209
241
  /**
210
242
  * Webhooks for line assigned events
211
243
  */
@@ -236,7 +268,7 @@ export interface WebhookDeleteParams {
236
268
  /**
237
269
  * Type of webhook to delete from
238
270
  */
239
- type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'contact_created';
271
+ type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'inbound_call' | 'contact_profile' | 'contact_created';
240
272
  }
241
273
  export declare namespace Webhooks {
242
274
  export { type WebhookConfiguration as WebhookConfiguration, type WebhookCreateResponse as WebhookCreateResponse, type WebhookUpdateResponse as WebhookUpdateResponse, type WebhookListResponse as WebhookListResponse, type WebhookDeleteResponse as WebhookDeleteResponse, type WebhookCreateParams as WebhookCreateParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookDeleteParams as WebhookDeleteParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE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,GACd,iBAAiB,GACjB,iBAAiB,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
package/src/client.ts CHANGED
@@ -30,17 +30,6 @@ import {
30
30
  } from './resources/location';
31
31
  import { LookupLookupNumberParams, LookupLookupNumberResponse, Lookups } from './resources/lookups';
32
32
  import { MediaObjectUploadParams, MediaObjectUploadResponse, MediaObjects } from './resources/media-objects';
33
- import {
34
- MessageContent,
35
- MessageGetStatusParams,
36
- MessageListParams,
37
- MessageListResponse,
38
- MessageResponse,
39
- MessageRetrieveResponse,
40
- MessageSendParams,
41
- MessageUpdateAppCardParams,
42
- Messages,
43
- } from './resources/messages';
44
33
  import {
45
34
  RequestLocation,
46
35
  RequestLocationCreateParams,
@@ -89,6 +78,17 @@ import {
89
78
  Contacts,
90
79
  } from './resources/contacts/contacts';
91
80
  import { LineGetStateResponse, LineState, Lines } from './resources/lines/lines';
81
+ import {
82
+ MessageContent,
83
+ MessageGetStatusParams,
84
+ MessageListParams,
85
+ MessageListResponse,
86
+ MessageResponse,
87
+ MessageRetrieveResponse,
88
+ MessageSendParams,
89
+ MessageUpdateAppCardParams,
90
+ Messages,
91
+ } from './resources/messages/messages';
92
92
  import { V2 } from './resources/v2/v2';
93
93
  import { Verify } from './resources/verify/verify';
94
94
  import { type Fetch } from './internal/builtin-types';
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../core/resource';
4
- import * as MessagesAPI from './messages';
4
+ import * as MessagesAPI from './messages/messages';
5
5
  import { APIPromise } from '../core/api-promise';
6
6
  import { RequestOptions } from '../internal/request-options';
7
7
 
@@ -47,7 +47,7 @@ export {
47
47
  type MessageGetStatusParams,
48
48
  type MessageSendParams,
49
49
  type MessageUpdateAppCardParams,
50
- } from './messages';
50
+ } from './messages/messages';
51
51
  export {
52
52
  RequestLocation,
53
53
  type RequestLocationCreateResponse,
@@ -0,0 +1,14 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export {
4
+ Messages,
5
+ type MessageContent,
6
+ type MessageResponse,
7
+ type MessageRetrieveResponse,
8
+ type MessageListResponse,
9
+ type MessageListParams,
10
+ type MessageGetStatusParams,
11
+ type MessageSendParams,
12
+ type MessageUpdateAppCardParams,
13
+ } from './messages';
14
+ export { V2 } from './v2/index';