@novu/api 0.6.2 → 0.7.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 (253) hide show
  1. package/FUNCTIONS.md +12 -3
  2. package/README.md +143 -30
  3. package/bin/mcp-server.js +644 -433
  4. package/bin/mcp-server.js.map +53 -48
  5. package/docs/sdks/novu/README.md +142 -24
  6. package/jsr.json +1 -1
  7. package/lib/config.d.ts +4 -4
  8. package/lib/config.js +4 -4
  9. package/lib/config.js.map +1 -1
  10. package/lib/matchers.d.ts +3 -1
  11. package/lib/matchers.d.ts.map +1 -1
  12. package/lib/matchers.js +13 -1
  13. package/lib/matchers.js.map +1 -1
  14. package/lib/sdks.d.ts +3 -1
  15. package/lib/sdks.d.ts.map +1 -1
  16. package/lib/sdks.js +13 -13
  17. package/lib/sdks.js.map +1 -1
  18. package/mcp-server/mcp-server.js +1 -1
  19. package/mcp-server/prompts.d.ts.map +1 -1
  20. package/mcp-server/prompts.js +5 -1
  21. package/mcp-server/prompts.js.map +1 -1
  22. package/mcp-server/resources.d.ts.map +1 -1
  23. package/mcp-server/resources.js +10 -2
  24. package/mcp-server/resources.js.map +1 -1
  25. package/mcp-server/server.d.ts.map +1 -1
  26. package/mcp-server/server.js +2 -3
  27. package/mcp-server/server.js.map +1 -1
  28. package/mcp-server/tools.d.ts.map +1 -1
  29. package/mcp-server/tools.js +4 -3
  30. package/mcp-server/tools.js.map +1 -1
  31. package/models/components/activitynotificationjobresponsedto.d.ts +15 -15
  32. package/models/components/activitynotificationjobresponsedto.d.ts.map +1 -1
  33. package/models/components/activitynotificationjobresponsedto.js +19 -18
  34. package/models/components/activitynotificationjobresponsedto.js.map +1 -1
  35. package/models/components/activitynotificationstepresponsedto.d.ts +15 -15
  36. package/models/components/activitynotificationstepresponsedto.d.ts.map +1 -1
  37. package/models/components/activitynotificationstepresponsedto.js +18 -18
  38. package/models/components/activitynotificationstepresponsedto.js.map +1 -1
  39. package/models/components/channelsettingsdto.d.ts +2 -78
  40. package/models/components/channelsettingsdto.d.ts.map +1 -1
  41. package/models/components/channelsettingsdto.js +4 -41
  42. package/models/components/channelsettingsdto.js.map +1 -1
  43. package/models/components/chatorpushproviderenum.d.ts +79 -0
  44. package/models/components/chatorpushproviderenum.d.ts.map +1 -0
  45. package/models/components/chatorpushproviderenum.js +68 -0
  46. package/models/components/chatorpushproviderenum.js.map +1 -0
  47. package/models/components/constraintvalidation.d.ts +115 -0
  48. package/models/components/constraintvalidation.d.ts.map +1 -0
  49. package/models/components/constraintvalidation.js +157 -0
  50. package/models/components/constraintvalidation.js.map +1 -0
  51. package/models/components/digestmetadatadto.d.ts +8 -8
  52. package/models/components/digestmetadatadto.d.ts.map +1 -1
  53. package/models/components/digestmetadatadto.js +13 -13
  54. package/models/components/digestmetadatadto.js.map +1 -1
  55. package/models/components/digestregularmetadata.d.ts +16 -16
  56. package/models/components/digestregularmetadata.d.ts.map +1 -1
  57. package/models/components/digestregularmetadata.js +25 -25
  58. package/models/components/digestregularmetadata.js.map +1 -1
  59. package/models/components/digesttimedconfigdto.d.ts +8 -8
  60. package/models/components/digesttimedconfigdto.d.ts.map +1 -1
  61. package/models/components/digesttimedconfigdto.js +13 -14
  62. package/models/components/digesttimedconfigdto.js.map +1 -1
  63. package/models/components/getsubscriberpreferencesdto.d.ts +6 -6
  64. package/models/components/getsubscriberpreferencesdto.d.ts.map +1 -1
  65. package/models/components/getsubscriberpreferencesdto.js +6 -6
  66. package/models/components/getsubscriberpreferencesdto.js.map +1 -1
  67. package/models/components/index.d.ts +10 -5
  68. package/models/components/index.d.ts.map +1 -1
  69. package/models/components/index.js +10 -5
  70. package/models/components/index.js.map +1 -1
  71. package/models/components/integrationresponsedto.d.ts +8 -8
  72. package/models/components/integrationresponsedto.d.ts.map +1 -1
  73. package/models/components/integrationresponsedto.js +14 -13
  74. package/models/components/integrationresponsedto.js.map +1 -1
  75. package/models/components/messageactionresult.d.ts +15 -15
  76. package/models/components/messageactionresult.d.ts.map +1 -1
  77. package/models/components/messageactionresult.js +18 -18
  78. package/models/components/messageactionresult.js.map +1 -1
  79. package/models/components/messagecta.d.ts +2 -2
  80. package/models/components/messagecta.d.ts.map +1 -1
  81. package/models/components/messagecta.js +2 -2
  82. package/models/components/messagecta.js.map +1 -1
  83. package/models/components/messageresponsedto.d.ts +14 -4
  84. package/models/components/messageresponsedto.d.ts.map +1 -1
  85. package/models/components/messageresponsedto.js +8 -4
  86. package/models/components/messageresponsedto.js.map +1 -1
  87. package/models/components/messagesresponsedto.d.ts +53 -0
  88. package/models/components/messagesresponsedto.d.ts.map +1 -0
  89. package/models/components/messagesresponsedto.js +68 -0
  90. package/models/components/messagesresponsedto.js.map +1 -0
  91. package/models/components/notificationfeeditemdto.d.ts +0 -5
  92. package/models/components/notificationfeeditemdto.d.ts.map +1 -1
  93. package/models/components/notificationfeeditemdto.js +0 -2
  94. package/models/components/notificationfeeditemdto.js.map +1 -1
  95. package/models/components/notificationstepdto.d.ts +13 -13
  96. package/models/components/notificationstepdto.d.ts.map +1 -1
  97. package/models/components/notificationstepdto.js +16 -16
  98. package/models/components/notificationstepdto.js.map +1 -1
  99. package/models/components/notificationtriggerdto.d.ts +8 -8
  100. package/models/components/notificationtriggerdto.d.ts.map +1 -1
  101. package/models/components/notificationtriggerdto.js +13 -13
  102. package/models/components/notificationtriggerdto.js.map +1 -1
  103. package/models/components/patchsubscriberpreferencesdto.d.ts +1 -1
  104. package/models/components/preferenceoverridesourceenum.d.ts +37 -0
  105. package/models/components/preferenceoverridesourceenum.d.ts.map +1 -0
  106. package/models/components/preferenceoverridesourceenum.js +54 -0
  107. package/models/components/preferenceoverridesourceenum.js.map +1 -0
  108. package/models/components/providersidenum.d.ts +3 -0
  109. package/models/components/providersidenum.d.ts.map +1 -1
  110. package/models/components/providersidenum.js +1 -0
  111. package/models/components/providersidenum.js.map +1 -1
  112. package/models/components/stepfilterdto.d.ts +8 -8
  113. package/models/components/stepfilterdto.d.ts.map +1 -1
  114. package/models/components/stepfilterdto.js +13 -13
  115. package/models/components/stepfilterdto.js.map +1 -1
  116. package/models/components/stepsoverrides.d.ts +40 -0
  117. package/models/components/stepsoverrides.d.ts.map +1 -0
  118. package/models/components/{workflowinfodto.js → stepsoverrides.js} +19 -25
  119. package/models/components/stepsoverrides.js.map +1 -0
  120. package/models/components/steptypeenum.d.ts +2 -2
  121. package/models/components/steptypeenum.js +1 -1
  122. package/models/components/subscriberchanneldto.d.ts +8 -8
  123. package/models/components/subscriberchanneldto.d.ts.map +1 -1
  124. package/models/components/subscriberchanneldto.js +14 -13
  125. package/models/components/subscriberchanneldto.js.map +1 -1
  126. package/models/components/subscriberglobalpreferencedto.d.ts +38 -0
  127. package/models/components/subscriberglobalpreferencedto.d.ts.map +1 -0
  128. package/models/components/subscriberglobalpreferencedto.js +62 -0
  129. package/models/components/subscriberglobalpreferencedto.js.map +1 -0
  130. package/models/components/subscriberpreferencechannels.d.ts +52 -0
  131. package/models/components/subscriberpreferencechannels.d.ts.map +1 -0
  132. package/models/components/{preferencechannels.js → subscriberpreferencechannels.js} +17 -17
  133. package/models/components/subscriberpreferencechannels.js.map +1 -0
  134. package/models/components/subscriberpreferenceoverridedto.d.ts +39 -0
  135. package/models/components/subscriberpreferenceoverridedto.d.ts.map +1 -0
  136. package/models/components/subscriberpreferenceoverridedto.js +63 -0
  137. package/models/components/subscriberpreferenceoverridedto.js.map +1 -0
  138. package/models/components/subscriberpreferencesworkflowinfodto.d.ts +47 -0
  139. package/models/components/subscriberpreferencesworkflowinfodto.d.ts.map +1 -0
  140. package/models/components/subscriberpreferencesworkflowinfodto.js +65 -0
  141. package/models/components/subscriberpreferencesworkflowinfodto.js.map +1 -0
  142. package/models/components/subscriberresponsedto.d.ts +26 -26
  143. package/models/components/subscriberresponsedto.d.ts.map +1 -1
  144. package/models/components/subscriberresponsedto.js +12 -12
  145. package/models/components/subscriberresponsedto.js.map +1 -1
  146. package/models/components/subscriberworkflowpreferencedto.d.ts +50 -0
  147. package/models/components/subscriberworkflowpreferencedto.d.ts.map +1 -0
  148. package/models/components/subscriberworkflowpreferencedto.js +68 -0
  149. package/models/components/subscriberworkflowpreferencedto.js.map +1 -0
  150. package/models/components/timedconfig.d.ts +8 -8
  151. package/models/components/timedconfig.d.ts.map +1 -1
  152. package/models/components/timedconfig.js +14 -13
  153. package/models/components/timedconfig.js.map +1 -1
  154. package/models/components/triggereventrequestdto.d.ts +102 -10
  155. package/models/components/triggereventrequestdto.d.ts.map +1 -1
  156. package/models/components/triggereventrequestdto.js +43 -3
  157. package/models/components/triggereventrequestdto.js.map +1 -1
  158. package/models/components/triggereventtoallrequestdto.d.ts +84 -2
  159. package/models/components/triggereventtoallrequestdto.d.ts.map +1 -1
  160. package/models/components/triggereventtoallrequestdto.js +28 -2
  161. package/models/components/triggereventtoallrequestdto.js.map +1 -1
  162. package/models/components/updatesubscriberchannelrequestdto.d.ts +2 -78
  163. package/models/components/updatesubscriberchannelrequestdto.d.ts.map +1 -1
  164. package/models/components/updatesubscriberchannelrequestdto.js +4 -41
  165. package/models/components/updatesubscriberchannelrequestdto.js.map +1 -1
  166. package/models/components/workflowresponse.d.ts +3 -3
  167. package/models/components/workflowresponse.d.ts.map +1 -1
  168. package/models/components/workflowresponse.js +3 -3
  169. package/models/components/workflowresponse.js.map +1 -1
  170. package/models/errors/errordto.d.ts +83 -3
  171. package/models/errors/errordto.d.ts.map +1 -1
  172. package/models/errors/errordto.js +99 -3
  173. package/models/errors/errordto.js.map +1 -1
  174. package/models/errors/validationerrordto.d.ts +66 -51
  175. package/models/errors/validationerrordto.d.ts.map +1 -1
  176. package/models/errors/validationerrordto.js +83 -67
  177. package/models/errors/validationerrordto.js.map +1 -1
  178. package/models/operations/messagescontrollergetmessages.d.ts +2 -2
  179. package/models/operations/messagescontrollergetmessages.d.ts.map +1 -1
  180. package/models/operations/messagescontrollergetmessages.js +2 -2
  181. package/models/operations/messagescontrollergetmessages.js.map +1 -1
  182. package/package.json +3 -3
  183. package/sources/json-development.json +2037 -305
  184. package/src/lib/config.ts +4 -4
  185. package/src/lib/matchers.ts +20 -0
  186. package/src/lib/sdks.ts +19 -13
  187. package/src/mcp-server/mcp-server.ts +1 -1
  188. package/src/mcp-server/prompts.ts +8 -1
  189. package/src/mcp-server/resources.ts +16 -2
  190. package/src/mcp-server/server.ts +3 -3
  191. package/src/mcp-server/tools.ts +6 -3
  192. package/src/models/components/activitynotificationjobresponsedto.ts +48 -26
  193. package/src/models/components/activitynotificationstepresponsedto.ts +50 -29
  194. package/src/models/components/channelsettingsdto.ts +8 -50
  195. package/src/models/components/chatorpushproviderenum.ts +54 -0
  196. package/src/models/components/constraintvalidation.ts +270 -0
  197. package/src/models/components/digestmetadatadto.ts +16 -15
  198. package/src/models/components/digestregularmetadata.ts +30 -36
  199. package/src/models/components/digesttimedconfigdto.ts +18 -14
  200. package/src/models/components/getsubscriberpreferencesdto.ts +18 -18
  201. package/src/models/components/index.ts +10 -5
  202. package/src/models/components/integrationresponsedto.ts +14 -18
  203. package/src/models/components/messageactionresult.ts +24 -31
  204. package/src/models/components/messagecta.ts +4 -4
  205. package/src/models/components/messageresponsedto.ts +22 -8
  206. package/src/models/components/messagesresponsedto.ts +103 -0
  207. package/src/models/components/notificationfeeditemdto.ts +0 -7
  208. package/src/models/components/notificationstepdto.ts +20 -26
  209. package/src/models/components/notificationtriggerdto.ts +18 -15
  210. package/src/models/components/patchsubscriberpreferencesdto.ts +1 -1
  211. package/src/models/components/preferenceoverridesourceenum.ts +42 -0
  212. package/src/models/components/providersidenum.ts +1 -0
  213. package/src/models/components/stepfilterdto.ts +16 -15
  214. package/src/models/components/stepsoverrides.ts +65 -0
  215. package/src/models/components/steptypeenum.ts +2 -2
  216. package/src/models/components/subscriberchanneldto.ts +14 -18
  217. package/src/models/components/subscriberglobalpreferencedto.ts +84 -0
  218. package/src/models/components/subscriberpreferencechannels.ts +108 -0
  219. package/src/models/components/subscriberpreferenceoverridedto.ts +88 -0
  220. package/src/models/components/subscriberpreferencesworkflowinfodto.ts +95 -0
  221. package/src/models/components/subscriberresponsedto.ts +34 -34
  222. package/src/models/components/subscriberworkflowpreferencedto.ts +110 -0
  223. package/src/models/components/timedconfig.ts +14 -16
  224. package/src/models/components/triggereventrequestdto.ts +122 -4
  225. package/src/models/components/triggereventtoallrequestdto.ts +92 -5
  226. package/src/models/components/updatesubscriberchannelrequestdto.ts +8 -56
  227. package/src/models/components/workflowresponse.ts +9 -9
  228. package/src/models/errors/errordto.ts +202 -5
  229. package/src/models/errors/validationerrordto.ts +178 -110
  230. package/src/models/operations/messagescontrollergetmessages.ts +4 -4
  231. package/models/components/globalpreferencedto.d.ts +0 -38
  232. package/models/components/globalpreferencedto.d.ts.map +0 -1
  233. package/models/components/globalpreferencedto.js +0 -62
  234. package/models/components/globalpreferencedto.js.map +0 -1
  235. package/models/components/overrides.d.ts +0 -112
  236. package/models/components/overrides.d.ts.map +0 -1
  237. package/models/components/overrides.js +0 -111
  238. package/models/components/overrides.js.map +0 -1
  239. package/models/components/preferencechannels.d.ts +0 -37
  240. package/models/components/preferencechannels.d.ts.map +0 -1
  241. package/models/components/preferencechannels.js.map +0 -1
  242. package/models/components/workflowinfodto.d.ts +0 -47
  243. package/models/components/workflowinfodto.d.ts.map +0 -1
  244. package/models/components/workflowinfodto.js.map +0 -1
  245. package/models/components/workflowpreferencedto.d.ts +0 -50
  246. package/models/components/workflowpreferencedto.d.ts.map +0 -1
  247. package/models/components/workflowpreferencedto.js +0 -68
  248. package/models/components/workflowpreferencedto.js.map +0 -1
  249. package/src/models/components/globalpreferencedto.ts +0 -82
  250. package/src/models/components/overrides.ts +0 -139
  251. package/src/models/components/preferencechannels.ts +0 -91
  252. package/src/models/components/workflowinfodto.ts +0 -88
  253. package/src/models/components/workflowpreferencedto.ts +0 -108
@@ -55,6 +55,7 @@ export declare const ProvidersIdEnum: {
55
55
  readonly BrevoSms: "brevo-sms";
56
56
  readonly EazySms: "eazy-sms";
57
57
  readonly Mobishastra: "mobishastra";
58
+ readonly AfroMessage: "afro-message";
58
59
  readonly Fcm: "fcm";
59
60
  readonly Apns: "apns";
60
61
  readonly Expo: "expo";
@@ -140,6 +141,7 @@ export declare namespace ProvidersIdEnum$ {
140
141
  readonly BrevoSms: "brevo-sms";
141
142
  readonly EazySms: "eazy-sms";
142
143
  readonly Mobishastra: "mobishastra";
144
+ readonly AfroMessage: "afro-message";
143
145
  readonly Fcm: "fcm";
144
146
  readonly Apns: "apns";
145
147
  readonly Expo: "expo";
@@ -212,6 +214,7 @@ export declare namespace ProvidersIdEnum$ {
212
214
  readonly BrevoSms: "brevo-sms";
213
215
  readonly EazySms: "eazy-sms";
214
216
  readonly Mobishastra: "mobishastra";
217
+ readonly AfroMessage: "afro-message";
215
218
  readonly Fcm: "fcm";
216
219
  readonly Apns: "apns";
217
220
  readonly Expo: "expo";
@@ -1 +1 @@
1
- {"version":3,"file":"providersidenum.d.ts","sourceRoot":"","sources":["../../src/models/components/providersidenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsElB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,eAAe,CACS,CAAC;AAElC,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,eAAe,CACS,CAAC;AAElC;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAChC,+DAA+D;IACxD,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAgC,CAAC;IAC3D,gEAAgE;IACzD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAiC,CAAC;CAC9D"}
1
+ {"version":3,"file":"providersidenum.d.ts","sourceRoot":"","sources":["../../src/models/components/providersidenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuElB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,eAAe,CACS,CAAC;AAElC,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,eAAe,CACS,CAAC;AAElC;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAChC,+DAA+D;IACxD,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAgC,CAAC;IAC3D,gEAAgE;IACzD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAiC,CAAC;CAC9D"}
@@ -83,6 +83,7 @@ exports.ProvidersIdEnum = {
83
83
  BrevoSms: "brevo-sms",
84
84
  EazySms: "eazy-sms",
85
85
  Mobishastra: "mobishastra",
86
+ AfroMessage: "afro-message",
86
87
  Fcm: "fcm",
87
88
  Apns: "apns",
88
89
  Expo: "expo",
@@ -1 +1 @@
1
- {"version":3,"file":"providersidenum.js","sourceRoot":"","sources":["../../src/models/components/providersidenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,eAAe;IAC7B,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,eAAe;IAC7B,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,aAAa;IACzB,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,WAAW;IACrB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,YAAY,EAAE,gBAAgB;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,cAAc,EAAE,iBAAiB;IACjC,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,aAAa;IACzB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;IAC1B,aAAa,EAAE,eAAe;IAC9B,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,cAAc;IAC3B,QAAQ,EAAE,WAAW;IACrB,OAAO,EAAE,UAAU;IACnB,WAAW,EAAE,aAAa;IAC1B,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;IAC3B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,iBAAiB;IAChC,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,aAAa;IACzB,gBAAgB,EAAE,mBAAmB;CAC7B,CAAC;AAMX,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,CAAC,CAAC,UAAU,CAAC,uBAAe,CAAC,CAAC;AAElC,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,qCAA6B,CAAC;AAElC;;;GAGG;AACH,IAAiB,gBAAgB,CAKhC;AALD,WAAiB,gBAAgB;IAC/B,+DAA+D;IAClD,8BAAa,GAAG,qCAA6B,CAAC;IAC3D,gEAAgE;IACnD,+BAAc,GAAG,sCAA8B,CAAC;AAC/D,CAAC,EALgB,gBAAgB,gCAAhB,gBAAgB,QAKhC"}
1
+ {"version":3,"file":"providersidenum.js","sourceRoot":"","sources":["../../src/models/components/providersidenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,OAAO,EAAE,SAAS;IAClB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,EAAE,cAAc;IAC3B,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;IAC3B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,iBAAiB;IAChC,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,aAAa;IACzB,gBAAgB,EAAE,mBAAmB;CAC7B,CAAC;AAMX,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,CAAC,CAAC,UAAU,CAAC,uBAAe,CAAC,CAAC;AAElC,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,qCAA6B,CAAC;AAElC;;;GAGG;AACH,IAAiB,gBAAgB,CAKhC;AALD,WAAiB,gBAAgB;IAC/B,+DAA+D;IAClD,8BAAa,GAAG,qCAA6B,CAAC;IAC3D,gEAAgE;IACnD,+BAAc,GAAG,sCAA8B,CAAC;AAC/D,CAAC,EALgB,gBAAgB,gCAAhB,gBAAgB,QAKhC"}
@@ -4,32 +4,32 @@ import { Result as SafeParseResult } from "../../types/fp.js";
4
4
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
5
  import { BuilderFieldTypeEnum } from "./builderfieldtypeenum.js";
6
6
  import { FieldFilterPartDto, FieldFilterPartDto$Outbound } from "./fieldfilterpartdto.js";
7
- export declare const Value: {
7
+ export declare const StepFilterDtoValue: {
8
8
  readonly And: "AND";
9
9
  readonly Or: "OR";
10
10
  };
11
- export type Value = ClosedEnum<typeof Value>;
11
+ export type StepFilterDtoValue = ClosedEnum<typeof StepFilterDtoValue>;
12
12
  export type StepFilterDto = {
13
13
  isNegated: boolean;
14
14
  type: BuilderFieldTypeEnum;
15
- value: Value;
15
+ value: StepFilterDtoValue;
16
16
  children: Array<FieldFilterPartDto>;
17
17
  };
18
18
  /** @internal */
19
- export declare const Value$inboundSchema: z.ZodNativeEnum<typeof Value>;
19
+ export declare const StepFilterDtoValue$inboundSchema: z.ZodNativeEnum<typeof StepFilterDtoValue>;
20
20
  /** @internal */
21
- export declare const Value$outboundSchema: z.ZodNativeEnum<typeof Value>;
21
+ export declare const StepFilterDtoValue$outboundSchema: z.ZodNativeEnum<typeof StepFilterDtoValue>;
22
22
  /**
23
23
  * @internal
24
24
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
25
25
  */
26
- export declare namespace Value$ {
27
- /** @deprecated use `Value$inboundSchema` instead. */
26
+ export declare namespace StepFilterDtoValue$ {
27
+ /** @deprecated use `StepFilterDtoValue$inboundSchema` instead. */
28
28
  const inboundSchema: z.ZodNativeEnum<{
29
29
  readonly And: "AND";
30
30
  readonly Or: "OR";
31
31
  }>;
32
- /** @deprecated use `Value$outboundSchema` instead. */
32
+ /** @deprecated use `StepFilterDtoValue$outboundSchema` instead. */
33
33
  const outboundSchema: z.ZodNativeEnum<{
34
34
  readonly And: "AND";
35
35
  readonly Or: "OR";
@@ -1 +1 @@
1
- {"version":3,"file":"stepfilterdto.d.ts","sourceRoot":"","sources":["../../src/models/components/stepfilterdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,oBAAoB,EAGrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,KAAK;;;CAGR,CAAC;AAC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E;AAED,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,aAAa,CAMb,CAAC;AAEH;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa,iDAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc,gEAA+B,CAAC;IAC3D,wDAAwD;IACxD,KAAY,QAAQ,GAAG,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AAED,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
@@ -26,42 +26,42 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.stepFilterDtoFromJSON = exports.stepFilterDtoToJSON = exports.StepFilterDto$ = exports.StepFilterDto$outboundSchema = exports.StepFilterDto$inboundSchema = exports.Value$ = exports.Value$outboundSchema = exports.Value$inboundSchema = exports.Value = void 0;
29
+ exports.stepFilterDtoFromJSON = exports.stepFilterDtoToJSON = exports.StepFilterDto$ = exports.StepFilterDto$outboundSchema = exports.StepFilterDto$inboundSchema = exports.StepFilterDtoValue$ = exports.StepFilterDtoValue$outboundSchema = exports.StepFilterDtoValue$inboundSchema = exports.StepFilterDtoValue = void 0;
30
30
  const z = __importStar(require("zod"));
31
31
  const schemas_js_1 = require("../../lib/schemas.js");
32
32
  const builderfieldtypeenum_js_1 = require("./builderfieldtypeenum.js");
33
33
  const fieldfilterpartdto_js_1 = require("./fieldfilterpartdto.js");
34
- exports.Value = {
34
+ exports.StepFilterDtoValue = {
35
35
  And: "AND",
36
36
  Or: "OR",
37
37
  };
38
38
  /** @internal */
39
- exports.Value$inboundSchema = z.nativeEnum(exports.Value);
39
+ exports.StepFilterDtoValue$inboundSchema = z.nativeEnum(exports.StepFilterDtoValue);
40
40
  /** @internal */
41
- exports.Value$outboundSchema = exports.Value$inboundSchema;
41
+ exports.StepFilterDtoValue$outboundSchema = exports.StepFilterDtoValue$inboundSchema;
42
42
  /**
43
43
  * @internal
44
44
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
45
45
  */
46
- var Value$;
47
- (function (Value$) {
48
- /** @deprecated use `Value$inboundSchema` instead. */
49
- Value$.inboundSchema = exports.Value$inboundSchema;
50
- /** @deprecated use `Value$outboundSchema` instead. */
51
- Value$.outboundSchema = exports.Value$outboundSchema;
52
- })(Value$ || (exports.Value$ = Value$ = {}));
46
+ var StepFilterDtoValue$;
47
+ (function (StepFilterDtoValue$) {
48
+ /** @deprecated use `StepFilterDtoValue$inboundSchema` instead. */
49
+ StepFilterDtoValue$.inboundSchema = exports.StepFilterDtoValue$inboundSchema;
50
+ /** @deprecated use `StepFilterDtoValue$outboundSchema` instead. */
51
+ StepFilterDtoValue$.outboundSchema = exports.StepFilterDtoValue$outboundSchema;
52
+ })(StepFilterDtoValue$ || (exports.StepFilterDtoValue$ = StepFilterDtoValue$ = {}));
53
53
  /** @internal */
54
54
  exports.StepFilterDto$inboundSchema = z.object({
55
55
  isNegated: z.boolean(),
56
56
  type: builderfieldtypeenum_js_1.BuilderFieldTypeEnum$inboundSchema,
57
- value: exports.Value$inboundSchema,
57
+ value: exports.StepFilterDtoValue$inboundSchema,
58
58
  children: z.array(fieldfilterpartdto_js_1.FieldFilterPartDto$inboundSchema),
59
59
  });
60
60
  /** @internal */
61
61
  exports.StepFilterDto$outboundSchema = z.object({
62
62
  isNegated: z.boolean(),
63
63
  type: builderfieldtypeenum_js_1.BuilderFieldTypeEnum$outboundSchema,
64
- value: exports.Value$outboundSchema,
64
+ value: exports.StepFilterDtoValue$outboundSchema,
65
65
  children: z.array(fieldfilterpartdto_js_1.FieldFilterPartDto$outboundSchema),
66
66
  });
67
67
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"stepfilterdto.js","sourceRoot":"","sources":["../../src/models/components/stepfilterdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAIjD,uEAImC;AACnC,mEAKiC;AAEpB,QAAA,KAAK,GAAG;IACnB,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;CACA,CAAC;AAUX,gBAAgB;AACH,QAAA,mBAAmB,GAAkC,CAAC,CAAC,UAAU,CAC5E,aAAK,CACN,CAAC;AAEF,gBAAgB;AACH,QAAA,oBAAoB,GAC/B,2BAAmB,CAAC;AAEtB;;;GAGG;AACH,IAAiB,MAAM,CAKtB;AALD,WAAiB,MAAM;IACrB,qDAAqD;IACxC,oBAAa,GAAG,2BAAmB,CAAC;IACjD,sDAAsD;IACzC,qBAAc,GAAG,4BAAoB,CAAC;AACrD,CAAC,EALgB,MAAM,sBAAN,MAAM,QAKtB;AAED,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;IACtB,IAAI,EAAE,4DAAkC;IACxC,KAAK,EAAE,2BAAmB;IAC1B,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,wDAAgC,CAAC;CACpD,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM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import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ export type StepsOverrides = {
5
+ /**
6
+ * Passing the provider id and the provider specific configurations
7
+ */
8
+ providers: {
9
+ [k: string]: {
10
+ [k: string]: any;
11
+ };
12
+ };
13
+ };
14
+ /** @internal */
15
+ export declare const StepsOverrides$inboundSchema: z.ZodType<StepsOverrides, z.ZodTypeDef, unknown>;
16
+ /** @internal */
17
+ export type StepsOverrides$Outbound = {
18
+ providers: {
19
+ [k: string]: {
20
+ [k: string]: any;
21
+ };
22
+ };
23
+ };
24
+ /** @internal */
25
+ export declare const StepsOverrides$outboundSchema: z.ZodType<StepsOverrides$Outbound, z.ZodTypeDef, StepsOverrides>;
26
+ /**
27
+ * @internal
28
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
29
+ */
30
+ export declare namespace StepsOverrides$ {
31
+ /** @deprecated use `StepsOverrides$inboundSchema` instead. */
32
+ const inboundSchema: z.ZodType<StepsOverrides, z.ZodTypeDef, unknown>;
33
+ /** @deprecated use `StepsOverrides$outboundSchema` instead. */
34
+ const outboundSchema: z.ZodType<StepsOverrides$Outbound, z.ZodTypeDef, StepsOverrides>;
35
+ /** @deprecated use `StepsOverrides$Outbound` instead. */
36
+ type Outbound = StepsOverrides$Outbound;
37
+ }
38
+ export declare function stepsOverridesToJSON(stepsOverrides: StepsOverrides): string;
39
+ export declare function stepsOverridesFromJSON(jsonString: string): SafeParseResult<StepsOverrides, SDKValidationError>;
40
+ //# sourceMappingURL=stepsoverrides.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepsoverrides.d.ts","sourceRoot":"","sources":["../../src/models/components/stepsoverrides.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,SAAS,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAA;KAAE,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAA;KAAE,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CAGd,CAAC;AAEH;;;GAGG;AACH,yBAAiB,eAAe,CAAC;IAC/B,8DAA8D;IACvD,MAAM,aAAa,kDAA+B,CAAC;IAC1D,+DAA+D;IACxD,MAAM,cAAc,kEAAgC,CAAC;IAC5D,yDAAyD;IACzD,KAAY,QAAQ,GAAG,uBAAuB,CAAC;CAChD;AAED,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E;AAED,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
@@ -26,40 +26,34 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.workflowInfoDtoFromJSON = exports.workflowInfoDtoToJSON = exports.WorkflowInfoDto$ = exports.WorkflowInfoDto$outboundSchema = exports.WorkflowInfoDto$inboundSchema = void 0;
29
+ exports.stepsOverridesFromJSON = exports.stepsOverridesToJSON = exports.StepsOverrides$ = exports.StepsOverrides$outboundSchema = exports.StepsOverrides$inboundSchema = void 0;
30
30
  const z = __importStar(require("zod"));
31
31
  const schemas_js_1 = require("../../lib/schemas.js");
32
32
  /** @internal */
33
- exports.WorkflowInfoDto$inboundSchema = z.object({
34
- slug: z.string(),
35
- identifier: z.string(),
36
- name: z.string(),
37
- updatedAt: z.string().optional(),
33
+ exports.StepsOverrides$inboundSchema = z.object({
34
+ providers: z.record(z.record(z.any())),
38
35
  });
39
36
  /** @internal */
40
- exports.WorkflowInfoDto$outboundSchema = z.object({
41
- slug: z.string(),
42
- identifier: z.string(),
43
- name: z.string(),
44
- updatedAt: z.string().optional(),
37
+ exports.StepsOverrides$outboundSchema = z.object({
38
+ providers: z.record(z.record(z.any())),
45
39
  });
46
40
  /**
47
41
  * @internal
48
42
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
43
  */
50
- var WorkflowInfoDto$;
51
- (function (WorkflowInfoDto$) {
52
- /** @deprecated use `WorkflowInfoDto$inboundSchema` instead. */
53
- WorkflowInfoDto$.inboundSchema = exports.WorkflowInfoDto$inboundSchema;
54
- /** @deprecated use `WorkflowInfoDto$outboundSchema` instead. */
55
- WorkflowInfoDto$.outboundSchema = exports.WorkflowInfoDto$outboundSchema;
56
- })(WorkflowInfoDto$ || (exports.WorkflowInfoDto$ = WorkflowInfoDto$ = {}));
57
- function workflowInfoDtoToJSON(workflowInfoDto) {
58
- return JSON.stringify(exports.WorkflowInfoDto$outboundSchema.parse(workflowInfoDto));
44
+ var StepsOverrides$;
45
+ (function (StepsOverrides$) {
46
+ /** @deprecated use `StepsOverrides$inboundSchema` instead. */
47
+ StepsOverrides$.inboundSchema = exports.StepsOverrides$inboundSchema;
48
+ /** @deprecated use `StepsOverrides$outboundSchema` instead. */
49
+ StepsOverrides$.outboundSchema = exports.StepsOverrides$outboundSchema;
50
+ })(StepsOverrides$ || (exports.StepsOverrides$ = StepsOverrides$ = {}));
51
+ function stepsOverridesToJSON(stepsOverrides) {
52
+ return JSON.stringify(exports.StepsOverrides$outboundSchema.parse(stepsOverrides));
59
53
  }
60
- exports.workflowInfoDtoToJSON = workflowInfoDtoToJSON;
61
- function workflowInfoDtoFromJSON(jsonString) {
62
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.WorkflowInfoDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WorkflowInfoDto' from JSON`);
54
+ exports.stepsOverridesToJSON = stepsOverridesToJSON;
55
+ function stepsOverridesFromJSON(jsonString) {
56
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.StepsOverrides$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StepsOverrides' from JSON`);
63
57
  }
64
- exports.workflowInfoDtoFromJSON = workflowInfoDtoFromJSON;
65
- //# sourceMappingURL=workflowinfodto.js.map
58
+ exports.stepsOverridesFromJSON = stepsOverridesFromJSON;
59
+ //# sourceMappingURL=stepsoverrides.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepsoverrides.js","sourceRoot":"","sources":["../../src/models/components/stepsoverrides.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAWjD,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;CACvC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;CACvC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,eAAe,CAO/B;AAPD,WAAiB,eAAe;IAC9B,8DAA8D;IACjD,6BAAa,GAAG,oCAA4B,CAAC;IAC1D,+DAA+D;IAClD,8BAAc,GAAG,qCAA6B,CAAC;AAG9D,CAAC,EAPgB,eAAe,+BAAf,eAAe,QAO/B;AAED,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AAFD,oDAEC;AAED,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC;AARD,wDAQC"}
@@ -1,7 +1,7 @@
1
1
  import * as z from "zod";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
3
  /**
4
- * Channels of the notification
4
+ * Type of the step
5
5
  */
6
6
  export declare const StepTypeEnum: {
7
7
  readonly InApp: "in_app";
@@ -15,7 +15,7 @@ export declare const StepTypeEnum: {
15
15
  readonly Custom: "custom";
16
16
  };
17
17
  /**
18
- * Channels of the notification
18
+ * Type of the step
19
19
  */
20
20
  export type StepTypeEnum = ClosedEnum<typeof StepTypeEnum>;
21
21
  /** @internal */
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.StepTypeEnum$ = exports.StepTypeEnum$outboundSchema = exports.StepTypeEnum$inboundSchema = exports.StepTypeEnum = void 0;
30
30
  const z = __importStar(require("zod"));
31
31
  /**
32
- * Channels of the notification
32
+ * Type of the step
33
33
  */
34
34
  exports.StepTypeEnum = {
35
35
  InApp: "in_app",
@@ -6,7 +6,7 @@ import { ChannelCredentialsDto, ChannelCredentialsDto$Outbound } from "./channel
6
6
  /**
7
7
  * The ID of the chat or push provider.
8
8
  */
9
- export declare const SubscriberChannelDtoProviderId: {
9
+ export declare const ProviderId: {
10
10
  readonly Slack: "slack";
11
11
  readonly Discord: "discord";
12
12
  readonly Msteams: "msteams";
@@ -28,12 +28,12 @@ export declare const SubscriberChannelDtoProviderId: {
28
28
  /**
29
29
  * The ID of the chat or push provider.
30
30
  */
31
- export type SubscriberChannelDtoProviderId = ClosedEnum<typeof SubscriberChannelDtoProviderId>;
31
+ export type ProviderId = ClosedEnum<typeof ProviderId>;
32
32
  export type SubscriberChannelDto = {
33
33
  /**
34
34
  * The ID of the chat or push provider.
35
35
  */
36
- providerId: SubscriberChannelDtoProviderId;
36
+ providerId: ProviderId;
37
37
  /**
38
38
  * An optional identifier for the integration.
39
39
  */
@@ -44,15 +44,15 @@ export type SubscriberChannelDto = {
44
44
  credentials: ChannelCredentialsDto;
45
45
  };
46
46
  /** @internal */
47
- export declare const SubscriberChannelDtoProviderId$inboundSchema: z.ZodNativeEnum<typeof SubscriberChannelDtoProviderId>;
47
+ export declare const ProviderId$inboundSchema: z.ZodNativeEnum<typeof ProviderId>;
48
48
  /** @internal */
49
- export declare const SubscriberChannelDtoProviderId$outboundSchema: z.ZodNativeEnum<typeof SubscriberChannelDtoProviderId>;
49
+ export declare const ProviderId$outboundSchema: z.ZodNativeEnum<typeof ProviderId>;
50
50
  /**
51
51
  * @internal
52
52
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
53
53
  */
54
- export declare namespace SubscriberChannelDtoProviderId$ {
55
- /** @deprecated use `SubscriberChannelDtoProviderId$inboundSchema` instead. */
54
+ export declare namespace ProviderId$ {
55
+ /** @deprecated use `ProviderId$inboundSchema` instead. */
56
56
  const inboundSchema: z.ZodNativeEnum<{
57
57
  readonly Slack: "slack";
58
58
  readonly Discord: "discord";
@@ -72,7 +72,7 @@ export declare namespace SubscriberChannelDtoProviderId$ {
72
72
  readonly PushWebhook: "push-webhook";
73
73
  readonly PusherBeams: "pusher-beams";
74
74
  }>;
75
- /** @deprecated use `SubscriberChannelDtoProviderId$outboundSchema` instead. */
75
+ /** @deprecated use `ProviderId$outboundSchema` instead. */
76
76
  const outboundSchema: z.ZodNativeEnum<{
77
77
  readonly Slack: "slack";
78
78
  readonly Discord: "discord";
@@ -1 +1 @@
1
- {"version":3,"file":"subscriberchanneldto.d.ts","sourceRoot":"","sources":["../../src/models/components/subscriberchanneldto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;CAkBjC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,UAAU,EAAE,8BAA8B,CAAC;IAC3C;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,WAAW,EAAE,qBAAqB,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,aAAa,CACxE,OAAO,8BAA8B,CACS,CAAC;AAEjD,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,aAAa,CACzE,OAAO,8BAA8B,CACS,CAAC;AAEjD;;;GAGG;AACH,yBAAiB,+BAA+B,CAAC;IAC/C,8EAA8E;IACvE,MAAM,aAAa;;;;;;;;;;;;;;;;;;MAA+C,CAAC;IAC1E,+EAA+E;IACxE,MAAM,cAAc;;;;;;;;;;;;;;;;;;MAAgD,CAAC;CAC7E;AAED,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,WAAW,EAAE,8BAA8B,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAKpB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC,oEAAoE;IAC7D,MAAM,aAAa,wDAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc,8EAAsC,CAAC;IAClE,+DAA+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
1
+ {"version":3,"file":"subscriberchanneldto.d.ts","sourceRoot":"","sources":["../../src/models/components/subscriberchanneldto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;CAkBb,CAA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A+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
@@ -26,14 +26,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.subscriberChannelDtoFromJSON = exports.subscriberChannelDtoToJSON = exports.SubscriberChannelDto$ = exports.SubscriberChannelDto$outboundSchema = exports.SubscriberChannelDto$inboundSchema = exports.SubscriberChannelDtoProviderId$ = exports.SubscriberChannelDtoProviderId$outboundSchema = exports.SubscriberChannelDtoProviderId$inboundSchema = exports.SubscriberChannelDtoProviderId = void 0;
29
+ exports.subscriberChannelDtoFromJSON = exports.subscriberChannelDtoToJSON = exports.SubscriberChannelDto$ = exports.SubscriberChannelDto$outboundSchema = exports.SubscriberChannelDto$inboundSchema = exports.ProviderId$ = exports.ProviderId$outboundSchema = exports.ProviderId$inboundSchema = exports.ProviderId = void 0;
30
30
  const z = __importStar(require("zod"));
31
31
  const schemas_js_1 = require("../../lib/schemas.js");
32
32
  const channelcredentialsdto_js_1 = require("./channelcredentialsdto.js");
33
33
  /**
34
34
  * The ID of the chat or push provider.
35
35
  */
36
- exports.SubscriberChannelDtoProviderId = {
36
+ exports.ProviderId = {
37
37
  Slack: "slack",
38
38
  Discord: "discord",
39
39
  Msteams: "msteams",
@@ -53,29 +53,30 @@ exports.SubscriberChannelDtoProviderId = {
53
53
  PusherBeams: "pusher-beams",
54
54
  };
55
55
  /** @internal */
56
- exports.SubscriberChannelDtoProviderId$inboundSchema = z.nativeEnum(exports.SubscriberChannelDtoProviderId);
56
+ exports.ProviderId$inboundSchema = z
57
+ .nativeEnum(exports.ProviderId);
57
58
  /** @internal */
58
- exports.SubscriberChannelDtoProviderId$outboundSchema = exports.SubscriberChannelDtoProviderId$inboundSchema;
59
+ exports.ProviderId$outboundSchema = exports.ProviderId$inboundSchema;
59
60
  /**
60
61
  * @internal
61
62
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
62
63
  */
63
- var SubscriberChannelDtoProviderId$;
64
- (function (SubscriberChannelDtoProviderId$) {
65
- /** @deprecated use `SubscriberChannelDtoProviderId$inboundSchema` instead. */
66
- SubscriberChannelDtoProviderId$.inboundSchema = exports.SubscriberChannelDtoProviderId$inboundSchema;
67
- /** @deprecated use `SubscriberChannelDtoProviderId$outboundSchema` instead. */
68
- SubscriberChannelDtoProviderId$.outboundSchema = exports.SubscriberChannelDtoProviderId$outboundSchema;
69
- })(SubscriberChannelDtoProviderId$ || (exports.SubscriberChannelDtoProviderId$ = SubscriberChannelDtoProviderId$ = {}));
64
+ var ProviderId$;
65
+ (function (ProviderId$) {
66
+ /** @deprecated use `ProviderId$inboundSchema` instead. */
67
+ ProviderId$.inboundSchema = exports.ProviderId$inboundSchema;
68
+ /** @deprecated use `ProviderId$outboundSchema` instead. */
69
+ ProviderId$.outboundSchema = exports.ProviderId$outboundSchema;
70
+ })(ProviderId$ || (exports.ProviderId$ = ProviderId$ = {}));
70
71
  /** @internal */
71
72
  exports.SubscriberChannelDto$inboundSchema = z.object({
72
- providerId: exports.SubscriberChannelDtoProviderId$inboundSchema,
73
+ providerId: exports.ProviderId$inboundSchema,
73
74
  integrationIdentifier: z.string().optional(),
74
75
  credentials: channelcredentialsdto_js_1.ChannelCredentialsDto$inboundSchema,
75
76
  });
76
77
  /** @internal */
77
78
  exports.SubscriberChannelDto$outboundSchema = z.object({
78
- providerId: exports.SubscriberChannelDtoProviderId$outboundSchema,
79
+ providerId: exports.ProviderId$outboundSchema,
79
80
  integrationIdentifier: z.string().optional(),
80
81
  credentials: channelcredentialsdto_js_1.ChannelCredentialsDto$outboundSchema,
81
82
  });
@@ -1 +1 @@
1
- {"version":3,"file":"subscriberchanneldto.js","sourceRoot":"","sources":["../../src/models/components/subscriberchanneldto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAIjD,yEAKoC;AAEpC;;GAEG;AACU,QAAA,8BAA8B,GAAG;IAC5C,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,iBAAiB;IAChC,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,aAAa;IACzB,gBAAgB,EAAE,mBAAmB;IACrC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;CACnB,CAAC;AAuBX,gBAAgB;AACH,QAAA,4CAA4C,GAErD,CAAC,CAAC,UAAU,CAAC,sCAA8B,CAAC,CAAC;AAEjD,gBAAgB;AACH,QAAA,6CAA6C,GAEtD,oDAA4C,CAAC;AAEjD;;;GAGG;AACH,IAAiB,+BAA+B,CAK/C;AALD,WAAiB,+BAA+B;IAC9C,8EAA8E;IACjE,6CAAa,GAAG,oDAA4C,CAAC;IAC1E,+EAA+E;IAClE,8CAAc,GAAG,qDAA6C,CAAC;AAC9E,CAAC,EALgB,+BAA+B,+CAA/B,+BAA+B,QAK/C;AAED,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,oDAA4C;IACxD,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5C,WAAW,EAAE,8DAAmC;CACjD,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,qDAA6C;IACzD,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5C,WAAW,EAAE,+DAAoC;CAClD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,0CAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,2CAAmC,CAAC;AAGpE,CAAC,EAPgB,qBAAqB,qCAArB,qBAAqB,QAOrC;AAED,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAND,gEAMC;AAED,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC;AARD,oEAQC"}
1
+ {"version":3,"file":"subscriberchanneldto.js","sourceRoot":"","sources":["../../src/models/components/subscriberchanneldto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAIjD,yEAKoC;AAEpC;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,iBAAiB;IAChC,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,aAAa;IACzB,gBAAgB,EAAE,mBAAmB;IACrC,GAAG,EAAE,KAAK;IACV,IAAI,EA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AC;AAND,gEAMC;AAED,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC;AARD,oEAQC"}
@@ -0,0 +1,38 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { SubscriberPreferenceChannels, SubscriberPreferenceChannels$Outbound } from "./subscriberpreferencechannels.js";
5
+ export type SubscriberGlobalPreferenceDto = {
6
+ /**
7
+ * Whether notifications are enabled globally
8
+ */
9
+ enabled: boolean;
10
+ /**
11
+ * Channel-specific preference settings
12
+ */
13
+ channels: SubscriberPreferenceChannels;
14
+ };
15
+ /** @internal */
16
+ export declare const SubscriberGlobalPreferenceDto$inboundSchema: z.ZodType<SubscriberGlobalPreferenceDto, z.ZodTypeDef, unknown>;
17
+ /** @internal */
18
+ export type SubscriberGlobalPreferenceDto$Outbound = {
19
+ enabled: boolean;
20
+ channels: SubscriberPreferenceChannels$Outbound;
21
+ };
22
+ /** @internal */
23
+ export declare const SubscriberGlobalPreferenceDto$outboundSchema: z.ZodType<SubscriberGlobalPreferenceDto$Outbound, z.ZodTypeDef, SubscriberGlobalPreferenceDto>;
24
+ /**
25
+ * @internal
26
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
27
+ */
28
+ export declare namespace SubscriberGlobalPreferenceDto$ {
29
+ /** @deprecated use `SubscriberGlobalPreferenceDto$inboundSchema` instead. */
30
+ const inboundSchema: z.ZodType<SubscriberGlobalPreferenceDto, z.ZodTypeDef, unknown>;
31
+ /** @deprecated use `SubscriberGlobalPreferenceDto$outboundSchema` instead. */
32
+ const outboundSchema: z.ZodType<SubscriberGlobalPreferenceDto$Outbound, z.ZodTypeDef, SubscriberGlobalPreferenceDto>;
33
+ /** @deprecated use `SubscriberGlobalPreferenceDto$Outbound` instead. */
34
+ type Outbound = SubscriberGlobalPreferenceDto$Outbound;
35
+ }
36
+ export declare function subscriberGlobalPreferenceDtoToJSON(subscriberGlobalPreferenceDto: SubscriberGlobalPreferenceDto): string;
37
+ export declare function subscriberGlobalPreferenceDtoFromJSON(jsonString: string): SafeParseResult<SubscriberGlobalPreferenceDto, SDKValidationError>;
38
+ //# sourceMappingURL=subscriberglobalpreferencedto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriberglobalpreferencedto.d.ts","sourceRoot":"","sources":["../../src/models/components/subscriberglobalpreferencedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,4BAA4B,EAE5B,qCAAqC,EAEtC,MAAM,mCAAmC,CAAC;AAE3C,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,4BAA4B,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,qCAAqC,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAI7B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,8BAA8B,CAAC;IAC9C,6EAA6E;IACtE,MAAM,aAAa,iEAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc,gGAA+C,CAAC;IAC3E,wEAAwE;IACxE,KAAY,QAAQ,GAAG,sCAAsC,CAAC;CAC/D;AAED,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR;AAED,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.subscriberGlobalPreferenceDtoFromJSON = exports.subscriberGlobalPreferenceDtoToJSON = exports.SubscriberGlobalPreferenceDto$ = exports.SubscriberGlobalPreferenceDto$outboundSchema = exports.SubscriberGlobalPreferenceDto$inboundSchema = void 0;
30
+ const z = __importStar(require("zod"));
31
+ const schemas_js_1 = require("../../lib/schemas.js");
32
+ const subscriberpreferencechannels_js_1 = require("./subscriberpreferencechannels.js");
33
+ /** @internal */
34
+ exports.SubscriberGlobalPreferenceDto$inboundSchema = z.object({
35
+ enabled: z.boolean(),
36
+ channels: subscriberpreferencechannels_js_1.SubscriberPreferenceChannels$inboundSchema,
37
+ });
38
+ /** @internal */
39
+ exports.SubscriberGlobalPreferenceDto$outboundSchema = z.object({
40
+ enabled: z.boolean(),
41
+ channels: subscriberpreferencechannels_js_1.SubscriberPreferenceChannels$outboundSchema,
42
+ });
43
+ /**
44
+ * @internal
45
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
46
+ */
47
+ var SubscriberGlobalPreferenceDto$;
48
+ (function (SubscriberGlobalPreferenceDto$) {
49
+ /** @deprecated use `SubscriberGlobalPreferenceDto$inboundSchema` instead. */
50
+ SubscriberGlobalPreferenceDto$.inboundSchema = exports.SubscriberGlobalPreferenceDto$inboundSchema;
51
+ /** @deprecated use `SubscriberGlobalPreferenceDto$outboundSchema` instead. */
52
+ SubscriberGlobalPreferenceDto$.outboundSchema = exports.SubscriberGlobalPreferenceDto$outboundSchema;
53
+ })(SubscriberGlobalPreferenceDto$ || (exports.SubscriberGlobalPreferenceDto$ = SubscriberGlobalPreferenceDto$ = {}));
54
+ function subscriberGlobalPreferenceDtoToJSON(subscriberGlobalPreferenceDto) {
55
+ return JSON.stringify(exports.SubscriberGlobalPreferenceDto$outboundSchema.parse(subscriberGlobalPreferenceDto));
56
+ }
57
+ exports.subscriberGlobalPreferenceDtoToJSON = subscriberGlobalPreferenceDtoToJSON;
58
+ function subscriberGlobalPreferenceDtoFromJSON(jsonString) {
59
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscriberGlobalPreferenceDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SubscriberGlobalPreferenceDto' from JSON`);
60
+ }
61
+ exports.subscriberGlobalPreferenceDtoFromJSON = subscriberGlobalPreferenceDtoFromJSON;
62
+ //# sourceMappingURL=subscriberglobalpreferencedto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriberglobalpreferencedto.js","sourceRoot":"","sources":["../../src/models/components/subscriberglobalpreferencedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,uFAK2C;AAa3C,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,QAAQ,EAAE,4EAA0C;CACrD,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,QAAQ,EAAE,6EAA2C;CACtD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C;AAED,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AARD,kFAQC;AAED,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC;AARD,sFAQC"}
@@ -0,0 +1,52 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ export type SubscriberPreferenceChannels = {
5
+ /**
6
+ * Email channel preference
7
+ */
8
+ email?: boolean | undefined;
9
+ /**
10
+ * SMS channel preference
11
+ */
12
+ sms?: boolean | undefined;
13
+ /**
14
+ * In-app channel preference
15
+ */
16
+ inApp?: boolean | undefined;
17
+ /**
18
+ * Chat channel preference
19
+ */
20
+ chat?: boolean | undefined;
21
+ /**
22
+ * Push notification channel preference
23
+ */
24
+ push?: boolean | undefined;
25
+ };
26
+ /** @internal */
27
+ export declare const SubscriberPreferenceChannels$inboundSchema: z.ZodType<SubscriberPreferenceChannels, z.ZodTypeDef, unknown>;
28
+ /** @internal */
29
+ export type SubscriberPreferenceChannels$Outbound = {
30
+ email?: boolean | undefined;
31
+ sms?: boolean | undefined;
32
+ in_app?: boolean | undefined;
33
+ chat?: boolean | undefined;
34
+ push?: boolean | undefined;
35
+ };
36
+ /** @internal */
37
+ export declare const SubscriberPreferenceChannels$outboundSchema: z.ZodType<SubscriberPreferenceChannels$Outbound, z.ZodTypeDef, SubscriberPreferenceChannels>;
38
+ /**
39
+ * @internal
40
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
41
+ */
42
+ export declare namespace SubscriberPreferenceChannels$ {
43
+ /** @deprecated use `SubscriberPreferenceChannels$inboundSchema` instead. */
44
+ const inboundSchema: z.ZodType<SubscriberPreferenceChannels, z.ZodTypeDef, unknown>;
45
+ /** @deprecated use `SubscriberPreferenceChannels$outboundSchema` instead. */
46
+ const outboundSchema: z.ZodType<SubscriberPreferenceChannels$Outbound, z.ZodTypeDef, SubscriberPreferenceChannels>;
47
+ /** @deprecated use `SubscriberPreferenceChannels$Outbound` instead. */
48
+ type Outbound = SubscriberPreferenceChannels$Outbound;
49
+ }
50
+ export declare function subscriberPreferenceChannelsToJSON(subscriberPreferenceChannels: SubscriberPreferenceChannels): string;
51
+ export declare function subscriberPreferenceChannelsFromJSON(jsonString: string): SafeParseResult<SubscriberPreferenceChannels, SDKValidationError>;
52
+ //# sourceMappingURL=subscriberpreferencechannels.d.ts.map