@novu/api 0.1.6 → 0.2.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 (216) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/README.md +14 -31
  3. package/docs/sdks/authentication/README.md +4 -4
  4. package/docs/sdks/credentials/README.md +6 -6
  5. package/docs/sdks/integrations/README.md +12 -12
  6. package/docs/sdks/messages/README.md +6 -6
  7. package/docs/sdks/notifications/README.md +4 -4
  8. package/docs/sdks/novu/README.md +8 -8
  9. package/docs/sdks/novumessages/README.md +6 -6
  10. package/docs/sdks/novunotifications/README.md +4 -4
  11. package/docs/sdks/novusubscribers/README.md +6 -6
  12. package/docs/sdks/preferences/README.md +9 -260
  13. package/docs/sdks/properties/README.md +2 -2
  14. package/docs/sdks/stats/README.md +4 -4
  15. package/docs/sdks/subscribers/README.md +50 -322
  16. package/docs/sdks/topics/README.md +10 -10
  17. package/docs/sdks/webhooks/README.md +2 -2
  18. package/funcs/subscribersCreate.d.ts +2 -2
  19. package/funcs/subscribersCreate.d.ts.map +1 -1
  20. package/funcs/subscribersCreate.js +5 -5
  21. package/funcs/subscribersCreate.js.map +1 -1
  22. package/funcs/{subscribersPreferencesRetrieve.d.ts → subscribersPreferencesList.d.ts} +2 -2
  23. package/funcs/subscribersPreferencesList.d.ts.map +1 -0
  24. package/funcs/{subscribersPreferencesRetrieve.js → subscribersPreferencesList.js} +4 -4
  25. package/funcs/subscribersPreferencesList.js.map +1 -0
  26. package/jsr.json +1 -1
  27. package/lib/config.d.ts +3 -3
  28. package/lib/config.js +3 -3
  29. package/models/components/index.d.ts +0 -14
  30. package/models/components/index.d.ts.map +1 -1
  31. package/models/components/index.js +0 -14
  32. package/models/components/index.js.map +1 -1
  33. package/models/components/subscriberresponsedto.d.ts +5 -0
  34. package/models/components/subscriberresponsedto.d.ts.map +1 -1
  35. package/models/components/subscriberresponsedto.js +2 -0
  36. package/models/components/subscriberresponsedto.js.map +1 -1
  37. package/models/operations/index.d.ts +1 -8
  38. package/models/operations/index.d.ts.map +1 -1
  39. package/models/operations/index.js +1 -8
  40. package/models/operations/index.js.map +1 -1
  41. package/models/operations/subscriberscontrollercreatesubscriber.d.ts +66 -0
  42. package/models/operations/subscriberscontrollercreatesubscriber.d.ts.map +1 -0
  43. package/models/operations/subscriberscontrollercreatesubscriber.js +112 -0
  44. package/models/operations/subscriberscontrollercreatesubscriber.js.map +1 -0
  45. package/package.json +1 -1
  46. package/sdk/preferences.d.ts +1 -20
  47. package/sdk/preferences.d.ts.map +1 -1
  48. package/sdk/preferences.js +3 -32
  49. package/sdk/preferences.js.map +1 -1
  50. package/sdk/subscribers.d.ts +9 -32
  51. package/sdk/subscribers.d.ts.map +1 -1
  52. package/sdk/subscribers.js +12 -44
  53. package/sdk/subscribers.js.map +1 -1
  54. package/sources/json-development.json +2313 -6112
  55. package/src/funcs/subscribersCreate.ts +9 -9
  56. package/src/funcs/{subscribersPreferencesRetrieve.ts → subscribersPreferencesList.ts} +1 -1
  57. package/src/lib/config.ts +3 -3
  58. package/src/models/components/index.ts +0 -14
  59. package/src/models/components/subscriberresponsedto.ts +7 -0
  60. package/src/models/operations/index.ts +1 -8
  61. package/src/models/operations/subscriberscontrollercreatesubscriber.ts +185 -0
  62. package/src/sdk/preferences.ts +3 -70
  63. package/src/sdk/subscribers.ts +24 -90
  64. package/docs/sdks/legacy/README.md +0 -86
  65. package/funcs/subscribersDeleteLegacy.d.ts +0 -18
  66. package/funcs/subscribersDeleteLegacy.d.ts.map +0 -1
  67. package/funcs/subscribersDeleteLegacy.js +0 -141
  68. package/funcs/subscribersDeleteLegacy.js.map +0 -1
  69. package/funcs/subscribersPreferencesLegacyUpdateGlobal.d.ts +0 -14
  70. package/funcs/subscribersPreferencesLegacyUpdateGlobal.d.ts.map +0 -1
  71. package/funcs/subscribersPreferencesLegacyUpdateGlobal.js +0 -140
  72. package/funcs/subscribersPreferencesLegacyUpdateGlobal.js.map +0 -1
  73. package/funcs/subscribersPreferencesListLegacy.d.ts +0 -15
  74. package/funcs/subscribersPreferencesListLegacy.d.ts.map +0 -1
  75. package/funcs/subscribersPreferencesListLegacy.js +0 -145
  76. package/funcs/subscribersPreferencesListLegacy.js.map +0 -1
  77. package/funcs/subscribersPreferencesRetrieve.d.ts.map +0 -1
  78. package/funcs/subscribersPreferencesRetrieve.js.map +0 -1
  79. package/funcs/subscribersPreferencesRetrieveByLevelLegacy.d.ts +0 -15
  80. package/funcs/subscribersPreferencesRetrieveByLevelLegacy.d.ts.map +0 -1
  81. package/funcs/subscribersPreferencesRetrieveByLevelLegacy.js +0 -144
  82. package/funcs/subscribersPreferencesRetrieveByLevelLegacy.js.map +0 -1
  83. package/funcs/subscribersPreferencesUpdateLegacy.d.ts +0 -13
  84. package/funcs/subscribersPreferencesUpdateLegacy.d.ts.map +0 -1
  85. package/funcs/subscribersPreferencesUpdateLegacy.js +0 -139
  86. package/funcs/subscribersPreferencesUpdateLegacy.js.map +0 -1
  87. package/funcs/subscribersRetrieveLegacy.d.ts +0 -16
  88. package/funcs/subscribersRetrieveLegacy.d.ts.map +0 -1
  89. package/funcs/subscribersRetrieveLegacy.js +0 -144
  90. package/funcs/subscribersRetrieveLegacy.js.map +0 -1
  91. package/funcs/subscribersUpdateLegacy.d.ts +0 -17
  92. package/funcs/subscribersUpdateLegacy.d.ts.map +0 -1
  93. package/funcs/subscribersUpdateLegacy.js +0 -143
  94. package/funcs/subscribersUpdateLegacy.js.map +0 -1
  95. package/models/components/channelpreference.d.ts +0 -38
  96. package/models/components/channelpreference.d.ts.map +0 -1
  97. package/models/components/channelpreference.js +0 -62
  98. package/models/components/channelpreference.js.map +0 -1
  99. package/models/components/deletesubscriberresponsedto.d.ts +0 -66
  100. package/models/components/deletesubscriberresponsedto.d.ts.map +0 -1
  101. package/models/components/deletesubscriberresponsedto.js +0 -82
  102. package/models/components/deletesubscriberresponsedto.js.map +0 -1
  103. package/models/components/getsubscriberpreferencesresponsedto.d.ts +0 -39
  104. package/models/components/getsubscriberpreferencesresponsedto.d.ts.map +0 -1
  105. package/models/components/getsubscriberpreferencesresponsedto.js +0 -63
  106. package/models/components/getsubscriberpreferencesresponsedto.js.map +0 -1
  107. package/models/components/notificationtriggerresponse.d.ts +0 -55
  108. package/models/components/notificationtriggerresponse.d.ts.map +0 -1
  109. package/models/components/notificationtriggerresponse.js +0 -72
  110. package/models/components/notificationtriggerresponse.js.map +0 -1
  111. package/models/components/notificationtriggervariableresponse.d.ts +0 -101
  112. package/models/components/notificationtriggervariableresponse.d.ts.map +0 -1
  113. package/models/components/notificationtriggervariableresponse.js +0 -112
  114. package/models/components/notificationtriggervariableresponse.js.map +0 -1
  115. package/models/components/preference.d.ts +0 -38
  116. package/models/components/preference.d.ts.map +0 -1
  117. package/models/components/preference.js +0 -62
  118. package/models/components/preference.js.map +0 -1
  119. package/models/components/templateresponse.d.ts +0 -48
  120. package/models/components/templateresponse.d.ts.map +0 -1
  121. package/models/components/templateresponse.js +0 -75
  122. package/models/components/templateresponse.js.map +0 -1
  123. package/models/components/triggerreservedvariableresponse.d.ts +0 -69
  124. package/models/components/triggerreservedvariableresponse.d.ts.map +0 -1
  125. package/models/components/triggerreservedvariableresponse.js +0 -83
  126. package/models/components/triggerreservedvariableresponse.js.map +0 -1
  127. package/models/components/triggertypeenum.d.ts +0 -31
  128. package/models/components/triggertypeenum.d.ts.map +0 -1
  129. package/models/components/triggertypeenum.js +0 -52
  130. package/models/components/triggertypeenum.js.map +0 -1
  131. package/models/components/updatesubscriberglobalpreferencesrequestdto.d.ts +0 -38
  132. package/models/components/updatesubscriberglobalpreferencesrequestdto.d.ts.map +0 -1
  133. package/models/components/updatesubscriberglobalpreferencesrequestdto.js +0 -62
  134. package/models/components/updatesubscriberglobalpreferencesrequestdto.js.map +0 -1
  135. package/models/components/updatesubscriberpreferenceglobalresponsedto.d.ts +0 -33
  136. package/models/components/updatesubscriberpreferenceglobalresponsedto.d.ts.map +0 -1
  137. package/models/components/updatesubscriberpreferenceglobalresponsedto.js +0 -60
  138. package/models/components/updatesubscriberpreferenceglobalresponsedto.js.map +0 -1
  139. package/models/components/updatesubscriberpreferencerequestdto.d.ts +0 -38
  140. package/models/components/updatesubscriberpreferencerequestdto.d.ts.map +0 -1
  141. package/models/components/updatesubscriberpreferencerequestdto.js +0 -62
  142. package/models/components/updatesubscriberpreferencerequestdto.js.map +0 -1
  143. package/models/components/updatesubscriberpreferenceresponsedto.d.ts +0 -39
  144. package/models/components/updatesubscriberpreferenceresponsedto.d.ts.map +0 -1
  145. package/models/components/updatesubscriberpreferenceresponsedto.js +0 -63
  146. package/models/components/updatesubscriberpreferenceresponsedto.js.map +0 -1
  147. package/models/components/updatesubscriberrequestdto.d.ts +0 -72
  148. package/models/components/updatesubscriberrequestdto.d.ts.map +0 -1
  149. package/models/components/updatesubscriberrequestdto.js +0 -74
  150. package/models/components/updatesubscriberrequestdto.js.map +0 -1
  151. package/models/operations/subscribersv1controllercreatesubscriber.d.ts +0 -66
  152. package/models/operations/subscribersv1controllercreatesubscriber.d.ts.map +0 -1
  153. package/models/operations/subscribersv1controllercreatesubscriber.js +0 -112
  154. package/models/operations/subscribersv1controllercreatesubscriber.js.map +0 -1
  155. package/models/operations/subscribersv1controllergetsubscriber.d.ts +0 -71
  156. package/models/operations/subscribersv1controllergetsubscriber.d.ts.map +0 -1
  157. package/models/operations/subscribersv1controllergetsubscriber.js +0 -112
  158. package/models/operations/subscribersv1controllergetsubscriber.js.map +0 -1
  159. package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.d.ts +0 -108
  160. package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.d.ts.map +0 -1
  161. package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.js +0 -141
  162. package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.js.map +0 -1
  163. package/models/operations/subscribersv1controllerlistsubscriberpreferences.d.ts +0 -71
  164. package/models/operations/subscribersv1controllerlistsubscriberpreferences.d.ts.map +0 -1
  165. package/models/operations/subscribersv1controllerlistsubscriberpreferences.js +0 -116
  166. package/models/operations/subscribersv1controllerlistsubscriberpreferences.js.map +0 -1
  167. package/models/operations/subscribersv1controllerremovesubscriber.d.ts +0 -66
  168. package/models/operations/subscribersv1controllerremovesubscriber.d.ts.map +0 -1
  169. package/models/operations/subscribersv1controllerremovesubscriber.js +0 -110
  170. package/models/operations/subscribersv1controllerremovesubscriber.js.map +0 -1
  171. package/models/operations/subscribersv1controllerupdatesubscriber.d.ts +0 -68
  172. package/models/operations/subscribersv1controllerupdatesubscriber.d.ts.map +0 -1
  173. package/models/operations/subscribersv1controllerupdatesubscriber.js +0 -114
  174. package/models/operations/subscribersv1controllerupdatesubscriber.js.map +0 -1
  175. package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.d.ts +0 -68
  176. package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.d.ts.map +0 -1
  177. package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.js +0 -118
  178. package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.js.map +0 -1
  179. package/models/operations/subscribersv1controllerupdatesubscriberpreference.d.ts +0 -70
  180. package/models/operations/subscribersv1controllerupdatesubscriberpreference.d.ts.map +0 -1
  181. package/models/operations/subscribersv1controllerupdatesubscriberpreference.js +0 -120
  182. package/models/operations/subscribersv1controllerupdatesubscriberpreference.js.map +0 -1
  183. package/sdk/legacy.d.ts +0 -10
  184. package/sdk/legacy.d.ts.map +0 -1
  185. package/sdk/legacy.js +0 -19
  186. package/sdk/legacy.js.map +0 -1
  187. package/src/funcs/subscribersDeleteLegacy.ts +0 -200
  188. package/src/funcs/subscribersPreferencesLegacyUpdateGlobal.ts +0 -211
  189. package/src/funcs/subscribersPreferencesListLegacy.ts +0 -209
  190. package/src/funcs/subscribersPreferencesRetrieveByLevelLegacy.ts +0 -205
  191. package/src/funcs/subscribersPreferencesUpdateLegacy.ts +0 -202
  192. package/src/funcs/subscribersRetrieveLegacy.ts +0 -205
  193. package/src/funcs/subscribersUpdateLegacy.ts +0 -204
  194. package/src/models/components/channelpreference.ts +0 -81
  195. package/src/models/components/deletesubscriberresponsedto.ts +0 -114
  196. package/src/models/components/getsubscriberpreferencesresponsedto.ts +0 -93
  197. package/src/models/components/notificationtriggerresponse.ts +0 -126
  198. package/src/models/components/notificationtriggervariableresponse.ts +0 -193
  199. package/src/models/components/preference.ts +0 -78
  200. package/src/models/components/templateresponse.ts +0 -105
  201. package/src/models/components/triggerreservedvariableresponse.ts +0 -116
  202. package/src/models/components/triggertypeenum.ts +0 -38
  203. package/src/models/components/updatesubscriberglobalpreferencesrequestdto.ts +0 -95
  204. package/src/models/components/updatesubscriberpreferenceglobalresponsedto.ts +0 -88
  205. package/src/models/components/updatesubscriberpreferencerequestdto.ts +0 -87
  206. package/src/models/components/updatesubscriberpreferenceresponsedto.ts +0 -93
  207. package/src/models/components/updatesubscriberrequestdto.ts +0 -124
  208. package/src/models/operations/subscribersv1controllercreatesubscriber.ts +0 -187
  209. package/src/models/operations/subscribersv1controllergetsubscriber.ts +0 -188
  210. package/src/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.ts +0 -231
  211. package/src/models/operations/subscribersv1controllerlistsubscriberpreferences.ts +0 -191
  212. package/src/models/operations/subscribersv1controllerremovesubscriber.ts +0 -183
  213. package/src/models/operations/subscribersv1controllerupdatesubscriber.ts +0 -191
  214. package/src/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.ts +0 -195
  215. package/src/models/operations/subscribersv1controllerupdatesubscriberpreference.ts +0 -197
  216. package/src/sdk/legacy.ts +0 -32
@@ -1,72 +0,0 @@
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.notificationTriggerResponseFromJSON = exports.notificationTriggerResponseToJSON = exports.NotificationTriggerResponse$ = exports.NotificationTriggerResponse$outboundSchema = exports.NotificationTriggerResponse$inboundSchema = void 0;
30
- const z = __importStar(require("zod"));
31
- const schemas_js_1 = require("../../lib/schemas.js");
32
- const notificationtriggervariableresponse_js_1 = require("./notificationtriggervariableresponse.js");
33
- const triggerreservedvariableresponse_js_1 = require("./triggerreservedvariableresponse.js");
34
- const triggertypeenum_js_1 = require("./triggertypeenum.js");
35
- /** @internal */
36
- exports.NotificationTriggerResponse$inboundSchema = z.object({
37
- type: triggertypeenum_js_1.TriggerTypeEnum$inboundSchema,
38
- identifier: z.string(),
39
- variables: z.array(notificationtriggervariableresponse_js_1.NotificationTriggerVariableResponse$inboundSchema),
40
- subscriberVariables: z.array(notificationtriggervariableresponse_js_1.NotificationTriggerVariableResponse$inboundSchema).optional(),
41
- reservedVariables: z.array(triggerreservedvariableresponse_js_1.TriggerReservedVariableResponse$inboundSchema)
42
- .optional(),
43
- });
44
- /** @internal */
45
- exports.NotificationTriggerResponse$outboundSchema = z.object({
46
- type: triggertypeenum_js_1.TriggerTypeEnum$outboundSchema,
47
- identifier: z.string(),
48
- variables: z.array(notificationtriggervariableresponse_js_1.NotificationTriggerVariableResponse$outboundSchema),
49
- subscriberVariables: z.array(notificationtriggervariableresponse_js_1.NotificationTriggerVariableResponse$outboundSchema).optional(),
50
- reservedVariables: z.array(triggerreservedvariableresponse_js_1.TriggerReservedVariableResponse$outboundSchema)
51
- .optional(),
52
- });
53
- /**
54
- * @internal
55
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
56
- */
57
- var NotificationTriggerResponse$;
58
- (function (NotificationTriggerResponse$) {
59
- /** @deprecated use `NotificationTriggerResponse$inboundSchema` instead. */
60
- NotificationTriggerResponse$.inboundSchema = exports.NotificationTriggerResponse$inboundSchema;
61
- /** @deprecated use `NotificationTriggerResponse$outboundSchema` instead. */
62
- NotificationTriggerResponse$.outboundSchema = exports.NotificationTriggerResponse$outboundSchema;
63
- })(NotificationTriggerResponse$ || (exports.NotificationTriggerResponse$ = NotificationTriggerResponse$ = {}));
64
- function notificationTriggerResponseToJSON(notificationTriggerResponse) {
65
- return JSON.stringify(exports.NotificationTriggerResponse$outboundSchema.parse(notificationTriggerResponse));
66
- }
67
- exports.notificationTriggerResponseToJSON = notificationTriggerResponseToJSON;
68
- function notificationTriggerResponseFromJSON(jsonString) {
69
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.NotificationTriggerResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NotificationTriggerResponse' from JSON`);
70
- }
71
- exports.notificationTriggerResponseFromJSON = notificationTriggerResponseFromJSON;
72
- //# sourceMappingURL=notificationtriggerresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notificationtriggerresponse.js","sourceRoot":"","sources":["../../src/models/components/notificationtriggerresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,qGAKkD;AAClD,6FAK8C;AAC9C,6DAI8B;AAyB9B,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAA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yD,CAC1D,CAAC;AACJ,CAAC;AARD,kFAQC"}
@@ -1,101 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- /**
6
- * The value of the variable
7
- */
8
- export type NotificationTriggerVariableResponseValue = {};
9
- /**
10
- * The type of the variable
11
- */
12
- export declare const NotificationTriggerVariableResponseType: {
13
- readonly String: "String";
14
- readonly Array: "Array";
15
- readonly Boolean: "Boolean";
16
- };
17
- /**
18
- * The type of the variable
19
- */
20
- export type NotificationTriggerVariableResponseType = ClosedEnum<typeof NotificationTriggerVariableResponseType>;
21
- export type NotificationTriggerVariableResponse = {
22
- /**
23
- * The name of the variable
24
- */
25
- name: string;
26
- /**
27
- * The value of the variable
28
- */
29
- value?: NotificationTriggerVariableResponseValue | undefined;
30
- /**
31
- * The type of the variable
32
- */
33
- type?: NotificationTriggerVariableResponseType | undefined;
34
- };
35
- /** @internal */
36
- export declare const NotificationTriggerVariableResponseValue$inboundSchema: z.ZodType<NotificationTriggerVariableResponseValue, z.ZodTypeDef, unknown>;
37
- /** @internal */
38
- export type NotificationTriggerVariableResponseValue$Outbound = {};
39
- /** @internal */
40
- export declare const NotificationTriggerVariableResponseValue$outboundSchema: z.ZodType<NotificationTriggerVariableResponseValue$Outbound, z.ZodTypeDef, NotificationTriggerVariableResponseValue>;
41
- /**
42
- * @internal
43
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
44
- */
45
- export declare namespace NotificationTriggerVariableResponseValue$ {
46
- /** @deprecated use `NotificationTriggerVariableResponseValue$inboundSchema` instead. */
47
- const inboundSchema: z.ZodType<NotificationTriggerVariableResponseValue, z.ZodTypeDef, unknown>;
48
- /** @deprecated use `NotificationTriggerVariableResponseValue$outboundSchema` instead. */
49
- const outboundSchema: z.ZodType<NotificationTriggerVariableResponseValue$Outbound, z.ZodTypeDef, NotificationTriggerVariableResponseValue>;
50
- /** @deprecated use `NotificationTriggerVariableResponseValue$Outbound` instead. */
51
- type Outbound = NotificationTriggerVariableResponseValue$Outbound;
52
- }
53
- export declare function notificationTriggerVariableResponseValueToJSON(notificationTriggerVariableResponseValue: NotificationTriggerVariableResponseValue): string;
54
- export declare function notificationTriggerVariableResponseValueFromJSON(jsonString: string): SafeParseResult<NotificationTriggerVariableResponseValue, SDKValidationError>;
55
- /** @internal */
56
- export declare const NotificationTriggerVariableResponseType$inboundSchema: z.ZodNativeEnum<typeof NotificationTriggerVariableResponseType>;
57
- /** @internal */
58
- export declare const NotificationTriggerVariableResponseType$outboundSchema: z.ZodNativeEnum<typeof NotificationTriggerVariableResponseType>;
59
- /**
60
- * @internal
61
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
62
- */
63
- export declare namespace NotificationTriggerVariableResponseType$ {
64
- /** @deprecated use `NotificationTriggerVariableResponseType$inboundSchema` instead. */
65
- const inboundSchema: z.ZodNativeEnum<{
66
- readonly String: "String";
67
- readonly Array: "Array";
68
- readonly Boolean: "Boolean";
69
- }>;
70
- /** @deprecated use `NotificationTriggerVariableResponseType$outboundSchema` instead. */
71
- const outboundSchema: z.ZodNativeEnum<{
72
- readonly String: "String";
73
- readonly Array: "Array";
74
- readonly Boolean: "Boolean";
75
- }>;
76
- }
77
- /** @internal */
78
- export declare const NotificationTriggerVariableResponse$inboundSchema: z.ZodType<NotificationTriggerVariableResponse, z.ZodTypeDef, unknown>;
79
- /** @internal */
80
- export type NotificationTriggerVariableResponse$Outbound = {
81
- name: string;
82
- value?: NotificationTriggerVariableResponseValue$Outbound | undefined;
83
- type?: string | undefined;
84
- };
85
- /** @internal */
86
- export declare const NotificationTriggerVariableResponse$outboundSchema: z.ZodType<NotificationTriggerVariableResponse$Outbound, z.ZodTypeDef, NotificationTriggerVariableResponse>;
87
- /**
88
- * @internal
89
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
90
- */
91
- export declare namespace NotificationTriggerVariableResponse$ {
92
- /** @deprecated use `NotificationTriggerVariableResponse$inboundSchema` instead. */
93
- const inboundSchema: z.ZodType<NotificationTriggerVariableResponse, z.ZodTypeDef, unknown>;
94
- /** @deprecated use `NotificationTriggerVariableResponse$outboundSchema` instead. */
95
- const outboundSchema: z.ZodType<NotificationTriggerVariableResponse$Outbound, z.ZodTypeDef, NotificationTriggerVariableResponse>;
96
- /** @deprecated use `NotificationTriggerVariableResponse$Outbound` instead. */
97
- type Outbound = NotificationTriggerVariableResponse$Outbound;
98
- }
99
- export declare function notificationTriggerVariableResponseToJSON(notificationTriggerVariableResponse: NotificationTriggerVariableResponse): string;
100
- export declare function notificationTriggerVariableResponseFromJSON(jsonString: string): SafeParseResult<NotificationTriggerVariableResponse, SDKValidationError>;
101
- //# sourceMappingURL=notificationtriggervariableresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notificationtriggervariableresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/notificationtriggervariableresponse.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;AAErE;;GAEG;AACH,MAAM,MAAM,wCAAwC,GAAG,EAAE,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,uCAAuC;;;;CAI1C,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAAG,UAAU,CAC9D,OAAO,uCAAuC,CAC/C,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,wCAAwC,GAAG,SAAS,CAAC;IAC7D;;OAEG;IACH,IAAI,CAAC,EAAE,uCAA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,GAAG;IACzD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,iDAAiD,GAAG,SAAS,CAAC;IACtE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CAMnC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oCAAoC,CAAC;IACpD,mFAAmF;IAC5E,MAAM,aAAa,uEACyB,CAAC;IACpD,oFAAoF;IAC7E,MAAM,cAAc,4GACyB,CAAC;IACrD,8EAA8E;IAC9E,KAAY,QAAQ,GAAG,4CAA4C,CAAC;CACrE;AAED,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AAED,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
@@ -1,112 +0,0 @@
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.notificationTriggerVariableResponseFromJSON = exports.notificationTriggerVariableResponseToJSON = exports.NotificationTriggerVariableResponse$ = exports.NotificationTriggerVariableResponse$outboundSchema = exports.NotificationTriggerVariableResponse$inboundSchema = exports.NotificationTriggerVariableResponseType$ = exports.NotificationTriggerVariableResponseType$outboundSchema = exports.NotificationTriggerVariableResponseType$inboundSchema = exports.notificationTriggerVariableResponseValueFromJSON = exports.notificationTriggerVariableResponseValueToJSON = exports.NotificationTriggerVariableResponseValue$ = exports.NotificationTriggerVariableResponseValue$outboundSchema = exports.NotificationTriggerVariableResponseValue$inboundSchema = exports.NotificationTriggerVariableResponseType = void 0;
30
- const z = __importStar(require("zod"));
31
- const schemas_js_1 = require("../../lib/schemas.js");
32
- /**
33
- * The type of the variable
34
- */
35
- exports.NotificationTriggerVariableResponseType = {
36
- String: "String",
37
- Array: "Array",
38
- Boolean: "Boolean",
39
- };
40
- /** @internal */
41
- exports.NotificationTriggerVariableResponseValue$inboundSchema = z.object({});
42
- /** @internal */
43
- exports.NotificationTriggerVariableResponseValue$outboundSchema = z.object({});
44
- /**
45
- * @internal
46
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
- */
48
- var NotificationTriggerVariableResponseValue$;
49
- (function (NotificationTriggerVariableResponseValue$) {
50
- /** @deprecated use `NotificationTriggerVariableResponseValue$inboundSchema` instead. */
51
- NotificationTriggerVariableResponseValue$.inboundSchema = exports.NotificationTriggerVariableResponseValue$inboundSchema;
52
- /** @deprecated use `NotificationTriggerVariableResponseValue$outboundSchema` instead. */
53
- NotificationTriggerVariableResponseValue$.outboundSchema = exports.NotificationTriggerVariableResponseValue$outboundSchema;
54
- })(NotificationTriggerVariableResponseValue$ || (exports.NotificationTriggerVariableResponseValue$ = NotificationTriggerVariableResponseValue$ = {}));
55
- function notificationTriggerVariableResponseValueToJSON(notificationTriggerVariableResponseValue) {
56
- return JSON.stringify(exports.NotificationTriggerVariableResponseValue$outboundSchema.parse(notificationTriggerVariableResponseValue));
57
- }
58
- exports.notificationTriggerVariableResponseValueToJSON = notificationTriggerVariableResponseValueToJSON;
59
- function notificationTriggerVariableResponseValueFromJSON(jsonString) {
60
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.NotificationTriggerVariableResponseValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NotificationTriggerVariableResponseValue' from JSON`);
61
- }
62
- exports.notificationTriggerVariableResponseValueFromJSON = notificationTriggerVariableResponseValueFromJSON;
63
- /** @internal */
64
- exports.NotificationTriggerVariableResponseType$inboundSchema = z
65
- .nativeEnum(exports.NotificationTriggerVariableResponseType);
66
- /** @internal */
67
- exports.NotificationTriggerVariableResponseType$outboundSchema = exports.NotificationTriggerVariableResponseType$inboundSchema;
68
- /**
69
- * @internal
70
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
71
- */
72
- var NotificationTriggerVariableResponseType$;
73
- (function (NotificationTriggerVariableResponseType$) {
74
- /** @deprecated use `NotificationTriggerVariableResponseType$inboundSchema` instead. */
75
- NotificationTriggerVariableResponseType$.inboundSchema = exports.NotificationTriggerVariableResponseType$inboundSchema;
76
- /** @deprecated use `NotificationTriggerVariableResponseType$outboundSchema` instead. */
77
- NotificationTriggerVariableResponseType$.outboundSchema = exports.NotificationTriggerVariableResponseType$outboundSchema;
78
- })(NotificationTriggerVariableResponseType$ || (exports.NotificationTriggerVariableResponseType$ = NotificationTriggerVariableResponseType$ = {}));
79
- /** @internal */
80
- exports.NotificationTriggerVariableResponse$inboundSchema = z.object({
81
- name: z.string(),
82
- value: z.lazy(() => exports.NotificationTriggerVariableResponseValue$inboundSchema)
83
- .optional(),
84
- type: exports.NotificationTriggerVariableResponseType$inboundSchema.optional(),
85
- });
86
- /** @internal */
87
- exports.NotificationTriggerVariableResponse$outboundSchema = z.object({
88
- name: z.string(),
89
- value: z.lazy(() => exports.NotificationTriggerVariableResponseValue$outboundSchema)
90
- .optional(),
91
- type: exports.NotificationTriggerVariableResponseType$outboundSchema.optional(),
92
- });
93
- /**
94
- * @internal
95
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
96
- */
97
- var NotificationTriggerVariableResponse$;
98
- (function (NotificationTriggerVariableResponse$) {
99
- /** @deprecated use `NotificationTriggerVariableResponse$inboundSchema` instead. */
100
- NotificationTriggerVariableResponse$.inboundSchema = exports.NotificationTriggerVariableResponse$inboundSchema;
101
- /** @deprecated use `NotificationTriggerVariableResponse$outboundSchema` instead. */
102
- NotificationTriggerVariableResponse$.outboundSchema = exports.NotificationTriggerVariableResponse$outboundSchema;
103
- })(NotificationTriggerVariableResponse$ || (exports.NotificationTriggerVariableResponse$ = NotificationTriggerVariableResponse$ = {}));
104
- function notificationTriggerVariableResponseToJSON(notificationTriggerVariableResponse) {
105
- return JSON.stringify(exports.NotificationTriggerVariableResponse$outboundSchema.parse(notificationTriggerVariableResponse));
106
- }
107
- exports.notificationTriggerVariableResponseToJSON = notificationTriggerVariableResponseToJSON;
108
- function notificationTriggerVariableResponseFromJSON(jsonString) {
109
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.NotificationTriggerVariableResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NotificationTriggerVariableResponse' from JSON`);
110
- }
111
- exports.notificationTriggerVariableResponseFromJSON = notificationTriggerVariableResponseFromJSON;
112
- //# sourceMappingURL=notificationtriggervariableresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notificationtriggervariableresponse.js","sourceRoot":"","sources":["../../src/models/components/notificationtriggervariableresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAUjD;;GAEG;AACU,QAAA,uCAAuC,GAAG;IACrD,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,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8DAAsD,CAAC;SACxE,QAAQ,EAAE;IACb,IAAI,EAAE,6DAAqD,CAAC,QAAQ,EAAE;CACvE,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,kDAAkD,GAI3D,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,+DAAuD,CAAC;SACzE,QAAQ,EAAE;IACb,IAAI,EAAE,8DAAsD,CAAC,QAAQ,EAAE;CACxE,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oCAAoC,CASpD;AATD,WAAiB,oCAAoC;IACnD,mFAAmF;IACtE,kDAAa,GACxB,yDAAiD,CAAC;IACpD,oFAAoF;IACvE,mDAAc,GACzB,0DAAkD,CAAC;AAGvD,CAAC,EATgB,oCAAoC,oDAApC,oCAAoC,QASpD;AAED,SAAgB,yCAAyC,CACvD,mCAAwE;IAExE,OAAO,IAAI,CAAC,SAAS,CACnB,0DAAkD,CAAC,KAAK,CACtD,mCAAmC,CACpC,CACF,CAAC;AACJ,CAAC;AARD,8FAQC;AAED,SAAgB,2CAA2C,CACzD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC;AATD,kGASC"}
@@ -1,38 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { PreferenceChannels, PreferenceChannels$Outbound } from "./preferencechannels.js";
5
- export type Preference = {
6
- /**
7
- * Sets if the workflow is fully enabled for all channels or not for the subscriber.
8
- */
9
- enabled: boolean;
10
- /**
11
- * Subscriber preferences for the different channels regarding this workflow
12
- */
13
- channels: PreferenceChannels;
14
- };
15
- /** @internal */
16
- export declare const Preference$inboundSchema: z.ZodType<Preference, z.ZodTypeDef, unknown>;
17
- /** @internal */
18
- export type Preference$Outbound = {
19
- enabled: boolean;
20
- channels: PreferenceChannels$Outbound;
21
- };
22
- /** @internal */
23
- export declare const Preference$outboundSchema: z.ZodType<Preference$Outbound, z.ZodTypeDef, Preference>;
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 Preference$ {
29
- /** @deprecated use `Preference$inboundSchema` instead. */
30
- const inboundSchema: z.ZodType<Preference, z.ZodTypeDef, unknown>;
31
- /** @deprecated use `Preference$outboundSchema` instead. */
32
- const outboundSchema: z.ZodType<Preference$Outbound, z.ZodTypeDef, Preference>;
33
- /** @deprecated use `Preference$Outbound` instead. */
34
- type Outbound = Preference$Outbound;
35
- }
36
- export declare function preferenceToJSON(preference: Preference): string;
37
- export declare function preferenceFromJSON(jsonString: string): SafeParseResult<Preference, SDKValidationError>;
38
- //# sourceMappingURL=preference.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preference.d.ts","sourceRoot":"","sources":["../../src/models/components/preference.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,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,kBAAkB,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,2BAA2B,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,UAAU,CAIV,CAAC;AAEH;;;GAGG;AACH,yBAAiB,WAAW,CAAC;IAC3B,0DAA0D;IACnD,MAAM,aAAa,8CAA2B,CAAC;IACtD,2DAA2D;IACpD,MAAM,cAAc,0DAA4B,CAAC;IACxD,qDAAqD;IACrD,KAAY,QAAQ,GAAG,mBAAmB,CAAC;CAC5C;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAE/D;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
@@ -1,62 +0,0 @@
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.preferenceFromJSON = exports.preferenceToJSON = exports.Preference$ = exports.Preference$outboundSchema = exports.Preference$inboundSchema = void 0;
30
- const z = __importStar(require("zod"));
31
- const schemas_js_1 = require("../../lib/schemas.js");
32
- const preferencechannels_js_1 = require("./preferencechannels.js");
33
- /** @internal */
34
- exports.Preference$inboundSchema = z.object({
35
- enabled: z.boolean(),
36
- channels: preferencechannels_js_1.PreferenceChannels$inboundSchema,
37
- });
38
- /** @internal */
39
- exports.Preference$outboundSchema = z.object({
40
- enabled: z.boolean(),
41
- channels: preferencechannels_js_1.PreferenceChannels$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 Preference$;
48
- (function (Preference$) {
49
- /** @deprecated use `Preference$inboundSchema` instead. */
50
- Preference$.inboundSchema = exports.Preference$inboundSchema;
51
- /** @deprecated use `Preference$outboundSchema` instead. */
52
- Preference$.outboundSchema = exports.Preference$outboundSchema;
53
- })(Preference$ || (exports.Preference$ = Preference$ = {}));
54
- function preferenceToJSON(preference) {
55
- return JSON.stringify(exports.Preference$outboundSchema.parse(preference));
56
- }
57
- exports.preferenceToJSON = preferenceToJSON;
58
- function preferenceFromJSON(jsonString) {
59
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Preference$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Preference' from JSON`);
60
- }
61
- exports.preferenceFromJSON = preferenceFromJSON;
62
- //# sourceMappingURL=preference.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preference.js","sourceRoot":"","sources":["../../src/models/components/preference.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,mEAKiC;AAajC,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,QAAQ,EAAE,wDAAgC;CAC3C,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,QAAQ,EAAE,yDAAiC;CAC5C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,WAAW,CAO3B;AAPD,WAAiB,WAAW;IAC1B,0DAA0D;IAC7C,yBAAa,GAAG,gCAAwB,CAAC;IACtD,2DAA2D;IAC9C,0BAAc,GAAG,iCAAyB,CAAC;AAG1D,CAAC,EAPgB,WAAW,2BAAX,WAAW,QAO3B;AAED,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,IAAI,CAAC,SAAS,CAAC,iCAAyB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;AACrE,CAAC;AAFD,4CAEC;AAED,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC;AARD,gDAQC"}
@@ -1,48 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { NotificationTriggerResponse, NotificationTriggerResponse$Outbound } from "./notificationtriggerresponse.js";
5
- export type TemplateResponse = {
6
- /**
7
- * Unique identifier of the workflow
8
- */
9
- id: string;
10
- /**
11
- * Name of the workflow
12
- */
13
- name: string;
14
- /**
15
- * Critical templates will always be delivered to the end user and should be hidden from the subscriber preferences screen
16
- */
17
- critical: boolean;
18
- /**
19
- * Triggers are the events that will trigger the workflow.
20
- */
21
- triggers: Array<NotificationTriggerResponse>;
22
- };
23
- /** @internal */
24
- export declare const TemplateResponse$inboundSchema: z.ZodType<TemplateResponse, z.ZodTypeDef, unknown>;
25
- /** @internal */
26
- export type TemplateResponse$Outbound = {
27
- _id: string;
28
- name: string;
29
- critical: boolean;
30
- triggers: Array<NotificationTriggerResponse$Outbound>;
31
- };
32
- /** @internal */
33
- export declare const TemplateResponse$outboundSchema: z.ZodType<TemplateResponse$Outbound, z.ZodTypeDef, TemplateResponse>;
34
- /**
35
- * @internal
36
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
37
- */
38
- export declare namespace TemplateResponse$ {
39
- /** @deprecated use `TemplateResponse$inboundSchema` instead. */
40
- const inboundSchema: z.ZodType<TemplateResponse, z.ZodTypeDef, unknown>;
41
- /** @deprecated use `TemplateResponse$outboundSchema` instead. */
42
- const outboundSchema: z.ZodType<TemplateResponse$Outbound, z.ZodTypeDef, TemplateResponse>;
43
- /** @deprecated use `TemplateResponse$Outbound` instead. */
44
- type Outbound = TemplateResponse$Outbound;
45
- }
46
- export declare function templateResponseToJSON(templateResponse: TemplateResponse): string;
47
- export declare function templateResponseFromJSON(jsonString: string): SafeParseResult<TemplateResponse, SDKValidationError>;
48
- //# sourceMappingURL=templateresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templateresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/templateresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,oCAAoC,CAAC,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAUhB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa,oDAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc,sEAAkC,CAAC;IAC9D,2DAA2D;IAC3D,KAAY,QAAQ,GAAG,yBAAyB,CAAC;CAClD;AAED,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
@@ -1,75 +0,0 @@
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.templateResponseFromJSON = exports.templateResponseToJSON = exports.TemplateResponse$ = exports.TemplateResponse$outboundSchema = exports.TemplateResponse$inboundSchema = void 0;
30
- const z = __importStar(require("zod"));
31
- const primitives_js_1 = require("../../lib/primitives.js");
32
- const schemas_js_1 = require("../../lib/schemas.js");
33
- const notificationtriggerresponse_js_1 = require("./notificationtriggerresponse.js");
34
- /** @internal */
35
- exports.TemplateResponse$inboundSchema = z.object({
36
- _id: z.string(),
37
- name: z.string(),
38
- critical: z.boolean(),
39
- triggers: z.array(notificationtriggerresponse_js_1.NotificationTriggerResponse$inboundSchema),
40
- }).transform((v) => {
41
- return (0, primitives_js_1.remap)(v, {
42
- "_id": "id",
43
- });
44
- });
45
- /** @internal */
46
- exports.TemplateResponse$outboundSchema = z.object({
47
- id: z.string(),
48
- name: z.string(),
49
- critical: z.boolean(),
50
- triggers: z.array(notificationtriggerresponse_js_1.NotificationTriggerResponse$outboundSchema),
51
- }).transform((v) => {
52
- return (0, primitives_js_1.remap)(v, {
53
- id: "_id",
54
- });
55
- });
56
- /**
57
- * @internal
58
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
59
- */
60
- var TemplateResponse$;
61
- (function (TemplateResponse$) {
62
- /** @deprecated use `TemplateResponse$inboundSchema` instead. */
63
- TemplateResponse$.inboundSchema = exports.TemplateResponse$inboundSchema;
64
- /** @deprecated use `TemplateResponse$outboundSchema` instead. */
65
- TemplateResponse$.outboundSchema = exports.TemplateResponse$outboundSchema;
66
- })(TemplateResponse$ || (exports.TemplateResponse$ = TemplateResponse$ = {}));
67
- function templateResponseToJSON(templateResponse) {
68
- return JSON.stringify(exports.TemplateResponse$outboundSchema.parse(templateResponse));
69
- }
70
- exports.templateResponseToJSON = templateResponseToJSON;
71
- function templateResponseFromJSON(jsonString) {
72
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateResponse' from JSON`);
73
- }
74
- exports.templateResponseFromJSON = templateResponseFromJSON;
75
- //# sourceMappingURL=templateresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templateresponse.js","sourceRoot":"","sources":["../../src/models/components/templateresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,qFAK0C;AAqB1C,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,0EAAyC,CAAC;CAC7D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,2EAA0C,CAAC;CAC9D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,EAAE,EAAE,KAAK;KACV,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,iBAAiB,CAOjC;AAPD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAGhE,CAAC,EAPgB,iBAAiB,iCAAjB,iBAAiB,QAOjC;AAED,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC;AAND,wDAMC;AAED,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC;AARD,4DAQC"}
@@ -1,69 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- /**
6
- * The type of the reserved variable
7
- */
8
- export declare const TriggerReservedVariableResponseType: {
9
- readonly Tenant: "tenant";
10
- readonly Actor: "actor";
11
- };
12
- /**
13
- * The type of the reserved variable
14
- */
15
- export type TriggerReservedVariableResponseType = ClosedEnum<typeof TriggerReservedVariableResponseType>;
16
- export type TriggerReservedVariableResponse = {
17
- /**
18
- * The type of the reserved variable
19
- */
20
- type: TriggerReservedVariableResponseType;
21
- /**
22
- * The reserved variables of the trigger
23
- */
24
- variables: Array<string>;
25
- };
26
- /** @internal */
27
- export declare const TriggerReservedVariableResponseType$inboundSchema: z.ZodNativeEnum<typeof TriggerReservedVariableResponseType>;
28
- /** @internal */
29
- export declare const TriggerReservedVariableResponseType$outboundSchema: z.ZodNativeEnum<typeof TriggerReservedVariableResponseType>;
30
- /**
31
- * @internal
32
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
33
- */
34
- export declare namespace TriggerReservedVariableResponseType$ {
35
- /** @deprecated use `TriggerReservedVariableResponseType$inboundSchema` instead. */
36
- const inboundSchema: z.ZodNativeEnum<{
37
- readonly Tenant: "tenant";
38
- readonly Actor: "actor";
39
- }>;
40
- /** @deprecated use `TriggerReservedVariableResponseType$outboundSchema` instead. */
41
- const outboundSchema: z.ZodNativeEnum<{
42
- readonly Tenant: "tenant";
43
- readonly Actor: "actor";
44
- }>;
45
- }
46
- /** @internal */
47
- export declare const TriggerReservedVariableResponse$inboundSchema: z.ZodType<TriggerReservedVariableResponse, z.ZodTypeDef, unknown>;
48
- /** @internal */
49
- export type TriggerReservedVariableResponse$Outbound = {
50
- type: string;
51
- variables: Array<string>;
52
- };
53
- /** @internal */
54
- export declare const TriggerReservedVariableResponse$outboundSchema: z.ZodType<TriggerReservedVariableResponse$Outbound, z.ZodTypeDef, TriggerReservedVariableResponse>;
55
- /**
56
- * @internal
57
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
58
- */
59
- export declare namespace TriggerReservedVariableResponse$ {
60
- /** @deprecated use `TriggerReservedVariableResponse$inboundSchema` instead. */
61
- const inboundSchema: z.ZodType<TriggerReservedVariableResponse, z.ZodTypeDef, unknown>;
62
- /** @deprecated use `TriggerReservedVariableResponse$outboundSchema` instead. */
63
- const outboundSchema: z.ZodType<TriggerReservedVariableResponse$Outbound, z.ZodTypeDef, TriggerReservedVariableResponse>;
64
- /** @deprecated use `TriggerReservedVariableResponse$Outbound` instead. */
65
- type Outbound = TriggerReservedVariableResponse$Outbound;
66
- }
67
- export declare function triggerReservedVariableResponseToJSON(triggerReservedVariableResponse: TriggerReservedVariableResponse): string;
68
- export declare function triggerReservedVariableResponseFromJSON(jsonString: string): SafeParseResult<TriggerReservedVariableResponse, SDKValidationError>;
69
- //# sourceMappingURL=triggerreservedvariableresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"triggerreservedvariableresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/triggerreservedvariableresponse.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;AAErE;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;CAGtC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAC1D,OAAO,mCAAmC,CAC3C,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,IAAI,EAAE,mCAAmC,CAAC;IAC1C;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,aAAa,CAC7E,OAAO,mCAAmC,CACS,CAAC;AAEtD,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAC7D,CAAC,CAAC,aAAa,CAAC,OAAO,mCAAmC,CACP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