@trycourier/courier 6.6.1-alpha0 → 6.7.0-alpha10

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 (312) hide show
  1. package/CHANGELOG.md +124 -0
  2. package/README.md +11 -11
  3. package/client.d.mts +48 -20
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +48 -20
  6. package/client.d.ts.map +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -3
  9. package/client.mjs.map +1 -1
  10. package/internal/to-file.d.mts +1 -1
  11. package/internal/to-file.d.ts +1 -1
  12. package/internal/to-file.js +1 -1
  13. package/internal/to-file.mjs +1 -1
  14. package/internal/tslib.js +6 -6
  15. package/package.json +1 -1
  16. package/resources/audiences.d.mts +30 -52
  17. package/resources/audiences.d.mts.map +1 -1
  18. package/resources/audiences.d.ts +30 -52
  19. package/resources/audiences.d.ts.map +1 -1
  20. package/resources/audiences.js.map +1 -1
  21. package/resources/audiences.mjs.map +1 -1
  22. package/resources/audit-events.d.mts +5 -9
  23. package/resources/audit-events.d.mts.map +1 -1
  24. package/resources/audit-events.d.ts +5 -9
  25. package/resources/audit-events.d.ts.map +1 -1
  26. package/resources/auth.d.mts +2 -2
  27. package/resources/auth.d.mts.map +1 -1
  28. package/resources/auth.d.ts +2 -2
  29. package/resources/auth.d.ts.map +1 -1
  30. package/resources/automations/automations.d.mts +5 -252
  31. package/resources/automations/automations.d.mts.map +1 -1
  32. package/resources/automations/automations.d.ts +5 -252
  33. package/resources/automations/automations.d.ts.map +1 -1
  34. package/resources/automations/automations.js +0 -42
  35. package/resources/automations/automations.js.map +1 -1
  36. package/resources/automations/automations.mjs +1 -43
  37. package/resources/automations/automations.mjs.map +1 -1
  38. package/resources/automations/index.d.mts +2 -2
  39. package/resources/automations/index.d.mts.map +1 -1
  40. package/resources/automations/index.d.ts +2 -2
  41. package/resources/automations/index.d.ts.map +1 -1
  42. package/resources/automations/index.js.map +1 -1
  43. package/resources/automations/index.mjs +2 -2
  44. package/resources/automations/index.mjs.map +1 -1
  45. package/resources/automations/invoke.d.mts +122 -9
  46. package/resources/automations/invoke.d.mts.map +1 -1
  47. package/resources/automations/invoke.d.ts +122 -9
  48. package/resources/automations/invoke.d.ts.map +1 -1
  49. package/resources/automations/invoke.js +45 -0
  50. package/resources/automations/invoke.js.map +1 -1
  51. package/resources/automations/invoke.mjs +45 -0
  52. package/resources/automations/invoke.mjs.map +1 -1
  53. package/resources/brands.d.mts +76 -52
  54. package/resources/brands.d.mts.map +1 -1
  55. package/resources/brands.d.ts +76 -52
  56. package/resources/brands.d.ts.map +1 -1
  57. package/resources/brands.js.map +1 -1
  58. package/resources/brands.mjs.map +1 -1
  59. package/resources/bulk.d.mts +36 -127
  60. package/resources/bulk.d.mts.map +1 -1
  61. package/resources/bulk.d.ts +36 -127
  62. package/resources/bulk.d.ts.map +1 -1
  63. package/resources/bulk.js.map +1 -1
  64. package/resources/bulk.mjs.map +1 -1
  65. package/resources/inbound.d.mts +1 -1
  66. package/resources/inbound.d.ts +1 -1
  67. package/resources/index.d.mts +11 -10
  68. package/resources/index.d.mts.map +1 -1
  69. package/resources/index.d.ts +11 -10
  70. package/resources/index.d.ts.map +1 -1
  71. package/resources/index.js +2 -0
  72. package/resources/index.js.map +1 -1
  73. package/resources/index.mjs +3 -2
  74. package/resources/index.mjs.map +1 -1
  75. package/resources/lists/index.d.mts +2 -2
  76. package/resources/lists/index.d.mts.map +1 -1
  77. package/resources/lists/index.d.ts +2 -2
  78. package/resources/lists/index.d.ts.map +1 -1
  79. package/resources/lists/index.js.map +1 -1
  80. package/resources/lists/index.mjs +1 -1
  81. package/resources/lists/index.mjs.map +1 -1
  82. package/resources/lists/lists.d.mts +19 -13
  83. package/resources/lists/lists.d.mts.map +1 -1
  84. package/resources/lists/lists.d.ts +19 -13
  85. package/resources/lists/lists.d.ts.map +1 -1
  86. package/resources/lists/lists.js +7 -2
  87. package/resources/lists/lists.js.map +1 -1
  88. package/resources/lists/lists.mjs +7 -2
  89. package/resources/lists/lists.mjs.map +1 -1
  90. package/resources/lists/subscriptions.d.mts +8 -52
  91. package/resources/lists/subscriptions.d.mts.map +1 -1
  92. package/resources/lists/subscriptions.d.ts +8 -52
  93. package/resources/lists/subscriptions.d.ts.map +1 -1
  94. package/resources/lists/subscriptions.js.map +1 -1
  95. package/resources/lists/subscriptions.mjs.map +1 -1
  96. package/resources/messages.d.mts +8 -8
  97. package/resources/messages.d.mts.map +1 -1
  98. package/resources/messages.d.ts +8 -8
  99. package/resources/messages.d.ts.map +1 -1
  100. package/resources/messages.js +1 -1
  101. package/resources/messages.js.map +1 -1
  102. package/resources/messages.mjs +1 -1
  103. package/resources/messages.mjs.map +1 -1
  104. package/resources/notifications/checks.d.mts +5 -12
  105. package/resources/notifications/checks.d.mts.map +1 -1
  106. package/resources/notifications/checks.d.ts +5 -12
  107. package/resources/notifications/checks.d.ts.map +1 -1
  108. package/resources/notifications/checks.js.map +1 -1
  109. package/resources/notifications/checks.mjs.map +1 -1
  110. package/resources/notifications/index.d.mts +2 -2
  111. package/resources/notifications/index.d.mts.map +1 -1
  112. package/resources/notifications/index.d.ts +2 -2
  113. package/resources/notifications/index.d.ts.map +1 -1
  114. package/resources/notifications/index.js.map +1 -1
  115. package/resources/notifications/index.mjs.map +1 -1
  116. package/resources/notifications/notifications.d.mts +13 -11
  117. package/resources/notifications/notifications.d.mts.map +1 -1
  118. package/resources/notifications/notifications.d.ts +13 -11
  119. package/resources/notifications/notifications.d.ts.map +1 -1
  120. package/resources/notifications/notifications.js.map +1 -1
  121. package/resources/notifications/notifications.mjs.map +1 -1
  122. package/resources/profiles/index.d.mts +1 -1
  123. package/resources/profiles/index.d.mts.map +1 -1
  124. package/resources/profiles/index.d.ts +1 -1
  125. package/resources/profiles/index.d.ts.map +1 -1
  126. package/resources/profiles/index.js.map +1 -1
  127. package/resources/profiles/index.mjs.map +1 -1
  128. package/resources/profiles/lists.d.mts +5 -11
  129. package/resources/profiles/lists.d.mts.map +1 -1
  130. package/resources/profiles/lists.d.ts +5 -11
  131. package/resources/profiles/lists.d.ts.map +1 -1
  132. package/resources/profiles/profiles.d.mts +7 -3
  133. package/resources/profiles/profiles.d.mts.map +1 -1
  134. package/resources/profiles/profiles.d.ts +7 -3
  135. package/resources/profiles/profiles.d.ts.map +1 -1
  136. package/resources/profiles/profiles.js.map +1 -1
  137. package/resources/profiles/profiles.mjs.map +1 -1
  138. package/resources/send.d.mts +127 -745
  139. package/resources/send.d.mts.map +1 -1
  140. package/resources/send.d.ts +127 -745
  141. package/resources/send.d.ts.map +1 -1
  142. package/resources/send.js +12 -1
  143. package/resources/send.js.map +1 -1
  144. package/resources/send.mjs +12 -1
  145. package/resources/send.mjs.map +1 -1
  146. package/resources/shared.d.mts +245 -0
  147. package/resources/shared.d.mts.map +1 -0
  148. package/resources/shared.d.ts +245 -0
  149. package/resources/shared.d.ts.map +1 -0
  150. package/resources/shared.js +4 -0
  151. package/resources/shared.js.map +1 -0
  152. package/{src/resources/tenants/default-preferences.ts → resources/shared.mjs} +2 -2
  153. package/resources/shared.mjs.map +1 -0
  154. package/resources/tenants/index.d.mts +3 -1
  155. package/resources/tenants/index.d.mts.map +1 -1
  156. package/resources/tenants/index.d.ts +3 -1
  157. package/resources/tenants/index.d.ts.map +1 -1
  158. package/resources/tenants/index.js +5 -1
  159. package/resources/tenants/index.js.map +1 -1
  160. package/resources/tenants/index.mjs +2 -0
  161. package/resources/tenants/index.mjs.map +1 -1
  162. package/resources/tenants/templates.d.mts +91 -0
  163. package/resources/tenants/templates.d.mts.map +1 -0
  164. package/resources/tenants/templates.d.ts +91 -0
  165. package/resources/tenants/templates.d.ts.map +1 -0
  166. package/resources/tenants/templates.js +38 -0
  167. package/resources/tenants/templates.js.map +1 -0
  168. package/resources/tenants/templates.mjs +34 -0
  169. package/resources/tenants/templates.mjs.map +1 -0
  170. package/resources/tenants/tenant-default-preferences/index.d.mts +3 -0
  171. package/resources/tenants/tenant-default-preferences/index.d.mts.map +1 -0
  172. package/resources/tenants/tenant-default-preferences/index.d.ts +3 -0
  173. package/resources/tenants/tenant-default-preferences/index.d.ts.map +1 -0
  174. package/resources/tenants/tenant-default-preferences/index.js +9 -0
  175. package/resources/tenants/tenant-default-preferences/index.js.map +1 -0
  176. package/resources/tenants/tenant-default-preferences/index.mjs +4 -0
  177. package/resources/tenants/tenant-default-preferences/index.mjs.map +1 -0
  178. package/resources/tenants/{default-preferences → tenant-default-preferences}/items.d.mts +5 -18
  179. package/resources/tenants/tenant-default-preferences/items.d.mts.map +1 -0
  180. package/resources/tenants/{default-preferences → tenant-default-preferences}/items.d.ts +5 -18
  181. package/resources/tenants/tenant-default-preferences/items.d.ts.map +1 -0
  182. package/resources/tenants/{default-preferences → tenant-default-preferences}/items.js +2 -2
  183. package/resources/tenants/tenant-default-preferences/items.js.map +1 -0
  184. package/resources/tenants/{default-preferences → tenant-default-preferences}/items.mjs +2 -2
  185. package/resources/tenants/tenant-default-preferences/items.mjs.map +1 -0
  186. package/resources/tenants/tenant-default-preferences/tenant-default-preferences.d.mts +10 -0
  187. package/resources/tenants/tenant-default-preferences/tenant-default-preferences.d.mts.map +1 -0
  188. package/resources/tenants/tenant-default-preferences/tenant-default-preferences.d.ts +10 -0
  189. package/resources/tenants/tenant-default-preferences/tenant-default-preferences.d.ts.map +1 -0
  190. package/resources/tenants/{default-preferences/default-preferences.js → tenant-default-preferences/tenant-default-preferences.js} +5 -5
  191. package/resources/tenants/tenant-default-preferences/tenant-default-preferences.js.map +1 -0
  192. package/resources/tenants/{default-preferences/default-preferences.mjs → tenant-default-preferences/tenant-default-preferences.mjs} +4 -4
  193. package/resources/tenants/tenant-default-preferences/tenant-default-preferences.mjs.map +1 -0
  194. package/resources/tenants/tenant-default-preferences.d.mts +2 -0
  195. package/resources/tenants/tenant-default-preferences.d.mts.map +1 -0
  196. package/resources/tenants/tenant-default-preferences.d.ts +2 -0
  197. package/resources/tenants/tenant-default-preferences.d.ts.map +1 -0
  198. package/resources/tenants/{default-preferences.js → tenant-default-preferences.js} +2 -2
  199. package/resources/tenants/tenant-default-preferences.js.map +1 -0
  200. package/resources/tenants/tenant-default-preferences.mjs +3 -0
  201. package/resources/tenants/tenant-default-preferences.mjs.map +1 -0
  202. package/resources/tenants/tenants.d.mts +66 -7
  203. package/resources/tenants/tenants.d.mts.map +1 -1
  204. package/resources/tenants/tenants.d.ts +66 -7
  205. package/resources/tenants/tenants.d.ts.map +1 -1
  206. package/resources/tenants/tenants.js +8 -2
  207. package/resources/tenants/tenants.js.map +1 -1
  208. package/resources/tenants/tenants.mjs +8 -2
  209. package/resources/tenants/tenants.mjs.map +1 -1
  210. package/resources/users/index.d.mts +3 -3
  211. package/resources/users/index.d.mts.map +1 -1
  212. package/resources/users/index.d.ts +3 -3
  213. package/resources/users/index.d.ts.map +1 -1
  214. package/resources/users/index.js.map +1 -1
  215. package/resources/users/index.mjs.map +1 -1
  216. package/resources/users/preferences.d.mts +8 -11
  217. package/resources/users/preferences.d.mts.map +1 -1
  218. package/resources/users/preferences.d.ts +8 -11
  219. package/resources/users/preferences.d.ts.map +1 -1
  220. package/resources/users/preferences.js.map +1 -1
  221. package/resources/users/preferences.mjs.map +1 -1
  222. package/resources/users/tenants.d.mts +4 -21
  223. package/resources/users/tenants.d.mts.map +1 -1
  224. package/resources/users/tenants.d.ts +4 -21
  225. package/resources/users/tenants.d.ts.map +1 -1
  226. package/resources/users/tenants.js.map +1 -1
  227. package/resources/users/tenants.mjs.map +1 -1
  228. package/resources/users/tokens.d.mts +22 -23
  229. package/resources/users/tokens.d.mts.map +1 -1
  230. package/resources/users/tokens.d.ts +22 -23
  231. package/resources/users/tokens.d.ts.map +1 -1
  232. package/resources/users/tokens.js +14 -15
  233. package/resources/users/tokens.js.map +1 -1
  234. package/resources/users/tokens.mjs +14 -15
  235. package/resources/users/tokens.mjs.map +1 -1
  236. package/resources/users/users.d.mts +6 -6
  237. package/resources/users/users.d.mts.map +1 -1
  238. package/resources/users/users.d.ts +6 -6
  239. package/resources/users/users.d.ts.map +1 -1
  240. package/resources/users/users.js.map +1 -1
  241. package/resources/users/users.mjs.map +1 -1
  242. package/src/client.ts +81 -56
  243. package/src/internal/to-file.ts +1 -1
  244. package/src/resources/audiences.ts +45 -90
  245. package/src/resources/audit-events.ts +7 -13
  246. package/src/resources/auth.ts +2 -16
  247. package/src/resources/automations/automations.ts +6 -342
  248. package/src/resources/automations/index.ts +2 -12
  249. package/src/resources/automations/invoke.ts +163 -14
  250. package/src/resources/brands.ts +119 -53
  251. package/src/resources/bulk.ts +28 -148
  252. package/src/resources/inbound.ts +1 -1
  253. package/src/resources/index.ts +24 -30
  254. package/src/resources/lists/index.ts +9 -3
  255. package/src/resources/lists/lists.ts +27 -16
  256. package/src/resources/lists/subscriptions.ts +7 -65
  257. package/src/resources/messages.ts +10 -7
  258. package/src/resources/notifications/checks.ts +4 -17
  259. package/src/resources/notifications/index.ts +2 -4
  260. package/src/resources/notifications/notifications.ts +13 -14
  261. package/src/resources/profiles/index.ts +1 -0
  262. package/src/resources/profiles/lists.ts +5 -13
  263. package/src/resources/profiles/profiles.ts +9 -2
  264. package/src/resources/send.ts +122 -928
  265. package/src/resources/shared.ts +305 -0
  266. package/src/resources/tenants/index.ts +10 -0
  267. package/src/resources/tenants/templates.ts +124 -0
  268. package/src/resources/tenants/tenant-default-preferences/index.ts +4 -0
  269. package/src/resources/tenants/{default-preferences → tenant-default-preferences}/items.ts +5 -27
  270. package/src/resources/tenants/{default-preferences/default-preferences.ts → tenant-default-preferences/tenant-default-preferences.ts} +4 -12
  271. package/src/resources/tenants/tenant-default-preferences.ts +3 -0
  272. package/src/resources/tenants/tenants.ts +89 -8
  273. package/src/resources/users/index.ts +2 -4
  274. package/src/resources/users/preferences.ts +7 -12
  275. package/src/resources/users/tenants.ts +3 -23
  276. package/src/resources/users/tokens.ts +33 -34
  277. package/src/resources/users/users.ts +4 -8
  278. package/src/version.ts +1 -1
  279. package/version.d.mts +1 -1
  280. package/version.d.mts.map +1 -1
  281. package/version.d.ts +1 -1
  282. package/version.d.ts.map +1 -1
  283. package/version.js +1 -1
  284. package/version.js.map +1 -1
  285. package/version.mjs +1 -1
  286. package/version.mjs.map +1 -1
  287. package/resources/tenants/default-preferences/default-preferences.d.mts +0 -10
  288. package/resources/tenants/default-preferences/default-preferences.d.mts.map +0 -1
  289. package/resources/tenants/default-preferences/default-preferences.d.ts +0 -10
  290. package/resources/tenants/default-preferences/default-preferences.d.ts.map +0 -1
  291. package/resources/tenants/default-preferences/default-preferences.js.map +0 -1
  292. package/resources/tenants/default-preferences/default-preferences.mjs.map +0 -1
  293. package/resources/tenants/default-preferences/index.d.mts +0 -3
  294. package/resources/tenants/default-preferences/index.d.mts.map +0 -1
  295. package/resources/tenants/default-preferences/index.d.ts +0 -3
  296. package/resources/tenants/default-preferences/index.d.ts.map +0 -1
  297. package/resources/tenants/default-preferences/index.js +0 -9
  298. package/resources/tenants/default-preferences/index.js.map +0 -1
  299. package/resources/tenants/default-preferences/index.mjs +0 -4
  300. package/resources/tenants/default-preferences/index.mjs.map +0 -1
  301. package/resources/tenants/default-preferences/items.d.mts.map +0 -1
  302. package/resources/tenants/default-preferences/items.d.ts.map +0 -1
  303. package/resources/tenants/default-preferences/items.js.map +0 -1
  304. package/resources/tenants/default-preferences/items.mjs.map +0 -1
  305. package/resources/tenants/default-preferences.d.mts +0 -2
  306. package/resources/tenants/default-preferences.d.mts.map +0 -1
  307. package/resources/tenants/default-preferences.d.ts +0 -2
  308. package/resources/tenants/default-preferences.d.ts.map +0 -1
  309. package/resources/tenants/default-preferences.js.map +0 -1
  310. package/resources/tenants/default-preferences.mjs +0 -3
  311. package/resources/tenants/default-preferences.mjs.map +0 -1
  312. package/src/resources/tenants/default-preferences/index.ts +0 -10
@@ -1 +1 @@
1
- {"version":3,"file":"send.d.ts","sourceRoot":"","sources":["../src/resources/send.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,OAAO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AC1B;QAED,UAAiB,OAAO;YACtB,OAAO,CAAC,EAAE;gBAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;aAAE,GAAG,IAAI,CAAC;YAE3C,QAAQ,CAAC,EAAE,eAAe,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC;YAEvE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAE3B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAExB,QAAQ,CAAC,EAAE;gBAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;aAAE,GAAG,IAAI,CAAC;SAC7C;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACzG"}
package/resources/send.js CHANGED
@@ -6,8 +6,19 @@ const resource_1 = require("../core/resource.js");
6
6
  class Send extends resource_1.APIResource {
7
7
  /**
8
8
  * Use the send API to send a message to one or more recipients.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const response = await client.send.message({
13
+ * message: {
14
+ * to: { user_id: 'example_user' },
15
+ * template: 'template_id',
16
+ * data: { foo: 'bar' },
17
+ * },
18
+ * });
19
+ * ```
9
20
  */
10
- sendMessage(body, options) {
21
+ message(body, options) {
11
22
  return this._client.post('/send', { body, ...options });
12
23
  }
13
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"send.js","sourceRoot":"","sources":["../src/resources/send.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAM/C,MAAa,IAAK,SAAQ,sBAAW;IACnC;;OAEG;IACH,WAAW,CAAC,IAA2B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1D,CAAC;CACF;AAPD,oBAOC"}
1
+ {"version":3,"file":"send.js","sourceRoot":"","sources":["../src/resources/send.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,IAAuB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1D,CAAC;CACF;AAlBD,oBAkBC"}
@@ -3,8 +3,19 @@ import { APIResource } from "../core/resource.mjs";
3
3
  export class Send extends APIResource {
4
4
  /**
5
5
  * Use the send API to send a message to one or more recipients.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * const response = await client.send.message({
10
+ * message: {
11
+ * to: { user_id: 'example_user' },
12
+ * template: 'template_id',
13
+ * data: { foo: 'bar' },
14
+ * },
15
+ * });
16
+ * ```
6
17
  */
7
- sendMessage(body, options) {
18
+ message(body, options) {
8
19
  return this._client.post('/send', { body, ...options });
9
20
  }
10
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"send.mjs","sourceRoot":"","sources":["../src/resources/send.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAMtB,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,WAAW,CAAC,IAA2B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1D,CAAC;CACF"}
1
+ {"version":3,"file":"send.mjs","sourceRoot":"","sources":["../src/resources/send.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,IAAuB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1D,CAAC;CACF"}
@@ -0,0 +1,245 @@
1
+ import * as Shared from "./shared.mjs";
2
+ export type Alignment = 'center' | 'left' | 'right' | 'full';
3
+ export type ChannelClassification = 'direct_message' | 'email' | 'push' | 'sms' | 'webhook' | 'inbox';
4
+ export interface ChannelPreference {
5
+ channel: ChannelClassification;
6
+ }
7
+ export interface ElementalActionNodeWithType extends ElementalBaseNode {
8
+ type?: 'action';
9
+ }
10
+ export interface ElementalBaseNode {
11
+ channels?: Array<string> | null;
12
+ if?: string | null;
13
+ loop?: string | null;
14
+ ref?: string | null;
15
+ }
16
+ /**
17
+ * The channel element allows a notification to be customized based on which
18
+ * channel it is sent through. For example, you may want to display a detailed
19
+ * message when the notification is sent through email, and a more concise message
20
+ * in a push notification. Channel elements are only valid as top-level elements;
21
+ * you cannot nest channel elements. If there is a channel element specified at the
22
+ * top-level of the document, all sibling elements must be channel elements. Note:
23
+ * As an alternative, most elements support a `channel` property. Which allows you
24
+ * to selectively display an individual element on a per channel basis. See the
25
+ * [control flow docs](https://www.courier.com/docs/platform/content/elemental/control-flow/)
26
+ * for more details.
27
+ */
28
+ export interface ElementalChannelNode extends ElementalBaseNode {
29
+ /**
30
+ * The channel the contents of this element should be applied to. Can be `email`,
31
+ * `push`, `direct_message`, `sms` or a provider such as slack
32
+ */
33
+ channel: string;
34
+ /**
35
+ * Raw data to apply to the channel. If `elements` has not been specified, `raw` is
36
+ * `required`.
37
+ */
38
+ raw?: {
39
+ [key: string]: unknown;
40
+ } | null;
41
+ }
42
+ /**
43
+ * The channel element allows a notification to be customized based on which
44
+ * channel it is sent through. For example, you may want to display a detailed
45
+ * message when the notification is sent through email, and a more concise message
46
+ * in a push notification. Channel elements are only valid as top-level elements;
47
+ * you cannot nest channel elements. If there is a channel element specified at the
48
+ * top-level of the document, all sibling elements must be channel elements. Note:
49
+ * As an alternative, most elements support a `channel` property. Which allows you
50
+ * to selectively display an individual element on a per channel basis. See the
51
+ * [control flow docs](https://www.courier.com/docs/platform/content/elemental/control-flow/)
52
+ * for more details.
53
+ */
54
+ export interface ElementalChannelNodeWithType extends ElementalChannelNode {
55
+ type?: 'channel';
56
+ }
57
+ export interface ElementalContent {
58
+ elements: Array<ElementalNode>;
59
+ /**
60
+ * For example, "2022-01-01"
61
+ */
62
+ version: string;
63
+ brand?: string | null;
64
+ }
65
+ /**
66
+ * Syntactic sugar to provide a fast shorthand for Courier Elemental Blocks.
67
+ */
68
+ export interface ElementalContentSugar {
69
+ /**
70
+ * The text content displayed in the notification.
71
+ */
72
+ body: string;
73
+ /**
74
+ * Title/subject displayed by supported channels.
75
+ */
76
+ title: string;
77
+ }
78
+ export interface ElementalDividerNodeWithType extends ElementalBaseNode {
79
+ type?: 'divider';
80
+ }
81
+ export interface ElementalImageNodeWithType extends ElementalBaseNode {
82
+ type?: 'image';
83
+ }
84
+ export interface ElementalMetaNodeWithType extends ElementalBaseNode {
85
+ type?: 'meta';
86
+ }
87
+ /**
88
+ * The channel element allows a notification to be customized based on which
89
+ * channel it is sent through. For example, you may want to display a detailed
90
+ * message when the notification is sent through email, and a more concise message
91
+ * in a push notification. Channel elements are only valid as top-level elements;
92
+ * you cannot nest channel elements. If there is a channel element specified at the
93
+ * top-level of the document, all sibling elements must be channel elements. Note:
94
+ * As an alternative, most elements support a `channel` property. Which allows you
95
+ * to selectively display an individual element on a per channel basis. See the
96
+ * [control flow docs](https://www.courier.com/docs/platform/content/elemental/control-flow/)
97
+ * for more details.
98
+ */
99
+ export type ElementalNode = ElementalTextNodeWithType | ElementalMetaNodeWithType | ElementalChannelNodeWithType | ElementalImageNodeWithType | ElementalActionNodeWithType | ElementalDividerNodeWithType | ElementalQuoteNodeWithType;
100
+ export interface ElementalQuoteNodeWithType extends ElementalBaseNode {
101
+ type?: 'quote';
102
+ }
103
+ export interface ElementalTextNodeWithType extends ElementalBaseNode {
104
+ type?: 'text';
105
+ }
106
+ export interface MessageContext {
107
+ /**
108
+ * Tenant id used to load brand/default preferences/context.
109
+ */
110
+ tenant_id?: string | null;
111
+ }
112
+ export interface MessageRouting {
113
+ channels: Array<MessageRoutingChannel>;
114
+ method: 'all' | 'single';
115
+ }
116
+ export type MessageRoutingChannel = string | MessageRouting;
117
+ export interface NotificationPreferenceDetails {
118
+ status: PreferenceStatus;
119
+ channel_preferences?: Array<ChannelPreference> | null;
120
+ rules?: Array<Rule> | null;
121
+ }
122
+ export interface Paging {
123
+ more: boolean;
124
+ cursor?: string | null;
125
+ }
126
+ export interface Preference {
127
+ status: PreferenceStatus;
128
+ channel_preferences?: Array<ChannelPreference> | null;
129
+ rules?: Array<Rule> | null;
130
+ source?: 'subscription' | 'list' | 'recipient' | null;
131
+ }
132
+ export type PreferenceStatus = 'OPTED_IN' | 'OPTED_OUT' | 'REQUIRED';
133
+ export interface Recipient {
134
+ /**
135
+ * Deprecated - Use `tenant_id` instead.
136
+ */
137
+ account_id?: string | null;
138
+ /**
139
+ * Context such as tenant_id to send the notification with.
140
+ */
141
+ context?: MessageContext | null;
142
+ data?: {
143
+ [key: string]: unknown;
144
+ } | null;
145
+ /**
146
+ * The user's email address.
147
+ */
148
+ email?: string | null;
149
+ /**
150
+ * The user's preferred ISO 639-1 language code.
151
+ */
152
+ locale?: string | null;
153
+ /**
154
+ * The user's phone number.
155
+ */
156
+ phone_number?: string | null;
157
+ preferences?: Recipient.Preferences | null;
158
+ /**
159
+ * The id of the tenant the user is associated with.
160
+ */
161
+ tenant_id?: string | null;
162
+ /**
163
+ * The user's unique identifier. Typically, this will match the user id of a user
164
+ * in your system.
165
+ */
166
+ user_id?: string | null;
167
+ }
168
+ export declare namespace Recipient {
169
+ interface Preferences {
170
+ notifications: {
171
+ [key: string]: Shared.Preference;
172
+ };
173
+ categories?: {
174
+ [key: string]: Shared.Preference;
175
+ } | null;
176
+ templateId?: string | null;
177
+ }
178
+ }
179
+ export interface RecipientPreferences {
180
+ categories?: {
181
+ [key: string]: NotificationPreferenceDetails;
182
+ } | null;
183
+ notifications?: {
184
+ [key: string]: NotificationPreferenceDetails;
185
+ } | null;
186
+ }
187
+ export interface Rule {
188
+ until: string;
189
+ start?: string | null;
190
+ }
191
+ export type TextStyle = 'text' | 'h1' | 'h2' | 'subtext';
192
+ export interface UserRecipient {
193
+ /**
194
+ * Deprecated - Use `tenant_id` instead.
195
+ */
196
+ account_id?: string | null;
197
+ /**
198
+ * Context such as tenant_id to send the notification with.
199
+ */
200
+ context?: MessageContext | null;
201
+ data?: {
202
+ [key: string]: unknown;
203
+ } | null;
204
+ /**
205
+ * The user's email address.
206
+ */
207
+ email?: string | null;
208
+ /**
209
+ * The user's preferred ISO 639-1 language code.
210
+ */
211
+ locale?: string | null;
212
+ /**
213
+ * The user's phone number.
214
+ */
215
+ phone_number?: string | null;
216
+ preferences?: UserRecipient.Preferences | null;
217
+ /**
218
+ * The id of the tenant the user is associated with.
219
+ */
220
+ tenant_id?: string | null;
221
+ /**
222
+ * The user's unique identifier. Typically, this will match the user id of a user
223
+ * in your system.
224
+ */
225
+ user_id?: string | null;
226
+ }
227
+ export declare namespace UserRecipient {
228
+ interface Preferences {
229
+ notifications: {
230
+ [key: string]: Shared.Preference;
231
+ };
232
+ categories?: {
233
+ [key: string]: Shared.Preference;
234
+ } | null;
235
+ templateId?: string | null;
236
+ }
237
+ }
238
+ export interface Utm {
239
+ campaign?: string | null;
240
+ content?: string | null;
241
+ medium?: string | null;
242
+ source?: string | null;
243
+ term?: string | null;
244
+ }
245
+ //# sourceMappingURL=shared.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.d.mts","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"OAEO,KAAK,MAAM;AAElB,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAE7D,MAA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Q,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB"}
@@ -0,0 +1,245 @@
1
+ import * as Shared from "./shared.js";
2
+ export type Alignment = 'center' | 'left' | 'right' | 'full';
3
+ export type ChannelClassification = 'direct_message' | 'email' | 'push' | 'sms' | 'webhook' | 'inbox';
4
+ export interface ChannelPreference {
5
+ channel: ChannelClassification;
6
+ }
7
+ export interface ElementalActionNodeWithType extends ElementalBaseNode {
8
+ type?: 'action';
9
+ }
10
+ export interface ElementalBaseNode {
11
+ channels?: Array<string> | null;
12
+ if?: string | null;
13
+ loop?: string | null;
14
+ ref?: string | null;
15
+ }
16
+ /**
17
+ * The channel element allows a notification to be customized based on which
18
+ * channel it is sent through. For example, you may want to display a detailed
19
+ * message when the notification is sent through email, and a more concise message
20
+ * in a push notification. Channel elements are only valid as top-level elements;
21
+ * you cannot nest channel elements. If there is a channel element specified at the
22
+ * top-level of the document, all sibling elements must be channel elements. Note:
23
+ * As an alternative, most elements support a `channel` property. Which allows you
24
+ * to selectively display an individual element on a per channel basis. See the
25
+ * [control flow docs](https://www.courier.com/docs/platform/content/elemental/control-flow/)
26
+ * for more details.
27
+ */
28
+ export interface ElementalChannelNode extends ElementalBaseNode {
29
+ /**
30
+ * The channel the contents of this element should be applied to. Can be `email`,
31
+ * `push`, `direct_message`, `sms` or a provider such as slack
32
+ */
33
+ channel: string;
34
+ /**
35
+ * Raw data to apply to the channel. If `elements` has not been specified, `raw` is
36
+ * `required`.
37
+ */
38
+ raw?: {
39
+ [key: string]: unknown;
40
+ } | null;
41
+ }
42
+ /**
43
+ * The channel element allows a notification to be customized based on which
44
+ * channel it is sent through. For example, you may want to display a detailed
45
+ * message when the notification is sent through email, and a more concise message
46
+ * in a push notification. Channel elements are only valid as top-level elements;
47
+ * you cannot nest channel elements. If there is a channel element specified at the
48
+ * top-level of the document, all sibling elements must be channel elements. Note:
49
+ * As an alternative, most elements support a `channel` property. Which allows you
50
+ * to selectively display an individual element on a per channel basis. See the
51
+ * [control flow docs](https://www.courier.com/docs/platform/content/elemental/control-flow/)
52
+ * for more details.
53
+ */
54
+ export interface ElementalChannelNodeWithType extends ElementalChannelNode {
55
+ type?: 'channel';
56
+ }
57
+ export interface ElementalContent {
58
+ elements: Array<ElementalNode>;
59
+ /**
60
+ * For example, "2022-01-01"
61
+ */
62
+ version: string;
63
+ brand?: string | null;
64
+ }
65
+ /**
66
+ * Syntactic sugar to provide a fast shorthand for Courier Elemental Blocks.
67
+ */
68
+ export interface ElementalContentSugar {
69
+ /**
70
+ * The text content displayed in the notification.
71
+ */
72
+ body: string;
73
+ /**
74
+ * Title/subject displayed by supported channels.
75
+ */
76
+ title: string;
77
+ }
78
+ export interface ElementalDividerNodeWithType extends ElementalBaseNode {
79
+ type?: 'divider';
80
+ }
81
+ export interface ElementalImageNodeWithType extends ElementalBaseNode {
82
+ type?: 'image';
83
+ }
84
+ export interface ElementalMetaNodeWithType extends ElementalBaseNode {
85
+ type?: 'meta';
86
+ }
87
+ /**
88
+ * The channel element allows a notification to be customized based on which
89
+ * channel it is sent through. For example, you may want to display a detailed
90
+ * message when the notification is sent through email, and a more concise message
91
+ * in a push notification. Channel elements are only valid as top-level elements;
92
+ * you cannot nest channel elements. If there is a channel element specified at the
93
+ * top-level of the document, all sibling elements must be channel elements. Note:
94
+ * As an alternative, most elements support a `channel` property. Which allows you
95
+ * to selectively display an individual element on a per channel basis. See the
96
+ * [control flow docs](https://www.courier.com/docs/platform/content/elemental/control-flow/)
97
+ * for more details.
98
+ */
99
+ export type ElementalNode = ElementalTextNodeWithType | ElementalMetaNodeWithType | ElementalChannelNodeWithType | ElementalImageNodeWithType | ElementalActionNodeWithType | ElementalDividerNodeWithType | ElementalQuoteNodeWithType;
100
+ export interface ElementalQuoteNodeWithType extends ElementalBaseNode {
101
+ type?: 'quote';
102
+ }
103
+ export interface ElementalTextNodeWithType extends ElementalBaseNode {
104
+ type?: 'text';
105
+ }
106
+ export interface MessageContext {
107
+ /**
108
+ * Tenant id used to load brand/default preferences/context.
109
+ */
110
+ tenant_id?: string | null;
111
+ }
112
+ export interface MessageRouting {
113
+ channels: Array<MessageRoutingChannel>;
114
+ method: 'all' | 'single';
115
+ }
116
+ export type MessageRoutingChannel = string | MessageRouting;
117
+ export interface NotificationPreferenceDetails {
118
+ status: PreferenceStatus;
119
+ channel_preferences?: Array<ChannelPreference> | null;
120
+ rules?: Array<Rule> | null;
121
+ }
122
+ export interface Paging {
123
+ more: boolean;
124
+ cursor?: string | null;
125
+ }
126
+ export interface Preference {
127
+ status: PreferenceStatus;
128
+ channel_preferences?: Array<ChannelPreference> | null;
129
+ rules?: Array<Rule> | null;
130
+ source?: 'subscription' | 'list' | 'recipient' | null;
131
+ }
132
+ export type PreferenceStatus = 'OPTED_IN' | 'OPTED_OUT' | 'REQUIRED';
133
+ export interface Recipient {
134
+ /**
135
+ * Deprecated - Use `tenant_id` instead.
136
+ */
137
+ account_id?: string | null;
138
+ /**
139
+ * Context such as tenant_id to send the notification with.
140
+ */
141
+ context?: MessageContext | null;
142
+ data?: {
143
+ [key: string]: unknown;
144
+ } | null;
145
+ /**
146
+ * The user's email address.
147
+ */
148
+ email?: string | null;
149
+ /**
150
+ * The user's preferred ISO 639-1 language code.
151
+ */
152
+ locale?: string | null;
153
+ /**
154
+ * The user's phone number.
155
+ */
156
+ phone_number?: string | null;
157
+ preferences?: Recipient.Preferences | null;
158
+ /**
159
+ * The id of the tenant the user is associated with.
160
+ */
161
+ tenant_id?: string | null;
162
+ /**
163
+ * The user's unique identifier. Typically, this will match the user id of a user
164
+ * in your system.
165
+ */
166
+ user_id?: string | null;
167
+ }
168
+ export declare namespace Recipient {
169
+ interface Preferences {
170
+ notifications: {
171
+ [key: string]: Shared.Preference;
172
+ };
173
+ categories?: {
174
+ [key: string]: Shared.Preference;
175
+ } | null;
176
+ templateId?: string | null;
177
+ }
178
+ }
179
+ export interface RecipientPreferences {
180
+ categories?: {
181
+ [key: string]: NotificationPreferenceDetails;
182
+ } | null;
183
+ notifications?: {
184
+ [key: string]: NotificationPreferenceDetails;
185
+ } | null;
186
+ }
187
+ export interface Rule {
188
+ until: string;
189
+ start?: string | null;
190
+ }
191
+ export type TextStyle = 'text' | 'h1' | 'h2' | 'subtext';
192
+ export interface UserRecipient {
193
+ /**
194
+ * Deprecated - Use `tenant_id` instead.
195
+ */
196
+ account_id?: string | null;
197
+ /**
198
+ * Context such as tenant_id to send the notification with.
199
+ */
200
+ context?: MessageContext | null;
201
+ data?: {
202
+ [key: string]: unknown;
203
+ } | null;
204
+ /**
205
+ * The user's email address.
206
+ */
207
+ email?: string | null;
208
+ /**
209
+ * The user's preferred ISO 639-1 language code.
210
+ */
211
+ locale?: string | null;
212
+ /**
213
+ * The user's phone number.
214
+ */
215
+ phone_number?: string | null;
216
+ preferences?: UserRecipient.Preferences | null;
217
+ /**
218
+ * The id of the tenant the user is associated with.
219
+ */
220
+ tenant_id?: string | null;
221
+ /**
222
+ * The user's unique identifier. Typically, this will match the user id of a user
223
+ * in your system.
224
+ */
225
+ user_id?: string | null;
226
+ }
227
+ export declare namespace UserRecipient {
228
+ interface Preferences {
229
+ notifications: {
230
+ [key: string]: Shared.Preference;
231
+ };
232
+ categories?: {
233
+ [key: string]: Shared.Preference;
234
+ } | null;
235
+ templateId?: string | null;
236
+ }
237
+ }
238
+ export interface Utm {
239
+ campaign?: string | null;
240
+ content?: string | null;
241
+ medium?: string | null;
242
+ source?: string | null;
243
+ term?: string | null;
244
+ }
245
+ //# sourceMappingURL=shared.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"OAEO,KAAK,MAA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AEzD,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC5B;CACF;AAED,MAAM,WAAW,GAAG;IAClB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=shared.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.js","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":";AAAA,sFAAsF"}
@@ -1,3 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- export * from './default-preferences/index';
2
+ export {};
3
+ //# sourceMappingURL=shared.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.mjs","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -1,2 +1,4 @@
1
- export { Tenants, type DefaultPreferences, type Tenant, type TenantListResponse, type TenantListUsersResponse, type TenantUpdateParams, type TenantListParams, type TenantListUsersParams, } from "./tenants.mjs";
1
+ export { Templates, type TemplateListResponse, type TemplateRetrieveParams, type TemplateListParams, } from "./templates.mjs";
2
+ export { TenantDefaultPreferences } from "./tenant-default-preferences/index.mjs";
3
+ export { Tenants, type BaseTemplateTenantAssociation, type DefaultPreferences, type SubscriptionTopicNew, type Tenant, type TenantAssociation, type TenantListResponse, type TenantListUsersResponse, type TenantUpdateParams, type TenantListParams, type TenantListUsersParams, } from "./tenants.mjs";
2
4
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/tenants/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/tenants/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,GACxB;OACM,EAAE,wBAAwB,EAAE;OAC5B,EACL,OAAO,EACP,KAAK,6BAA6B,EAClC,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,MAAM,EACX,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B"}
@@ -1,2 +1,4 @@
1
- export { Tenants, type DefaultPreferences, type Tenant, type TenantListResponse, type TenantListUsersResponse, type TenantUpdateParams, type TenantListParams, type TenantListUsersParams, } from "./tenants.js";
1
+ export { Templates, type TemplateListResponse, type TemplateRetrieveParams, type TemplateListParams, } from "./templates.js";
2
+ export { TenantDefaultPreferences } from "./tenant-default-preferences/index.js";
3
+ export { Tenants, type BaseTemplateTenantAssociation, type DefaultPreferences, type SubscriptionTopicNew, type Tenant, type TenantAssociation, type TenantListResponse, type TenantListUsersResponse, type TenantUpdateParams, type TenantListParams, type TenantListUsersParams, } from "./tenants.js";
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/tenants/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/tenants/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,GACxB;OACM,EAAE,wBAAwB,EAAE;OAC5B,EACL,OAAO,EACP,KAAK,6BAA6B,EAClC,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,MAAM,EACX,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B"}