@epilot/sdk 2.4.4-alpha.0 → 2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/dist/access-token.d-CnmUTOlq.d.cts +552 -0
  2. package/dist/access-token.d-CnmUTOlq.d.ts +552 -0
  3. package/dist/address-suggestions.d-_YwTOR-9.d.cts +339 -0
  4. package/dist/address-suggestions.d-_YwTOR-9.d.ts +339 -0
  5. package/dist/address.d-CwAPOVxa.d.cts +437 -0
  6. package/dist/address.d-CwAPOVxa.d.ts +437 -0
  7. package/dist/ai-agents.d-OkXfr2bz.d.cts +1339 -0
  8. package/dist/ai-agents.d-OkXfr2bz.d.ts +1339 -0
  9. package/dist/apis/access-token.d.cts +18 -0
  10. package/dist/apis/access-token.d.ts +12 -9
  11. package/dist/apis/address-suggestions.d.cts +18 -0
  12. package/dist/apis/address-suggestions.d.ts +12 -9
  13. package/dist/apis/address.d.cts +18 -0
  14. package/dist/apis/address.d.ts +12 -9
  15. package/dist/apis/ai-agents.d.cts +18 -0
  16. package/dist/apis/ai-agents.d.ts +12 -9
  17. package/dist/apis/app.d.cts +18 -0
  18. package/dist/apis/app.d.ts +12 -9
  19. package/dist/apis/audit-logs.d.cts +18 -0
  20. package/dist/apis/audit-logs.d.ts +12 -9
  21. package/dist/apis/automation.d.cts +18 -0
  22. package/dist/apis/automation.d.ts +12 -9
  23. package/dist/apis/billing.d.cts +18 -0
  24. package/dist/apis/billing.d.ts +12 -9
  25. package/dist/apis/blueprint-manifest.d.cts +18 -0
  26. package/dist/apis/blueprint-manifest.d.ts +12 -9
  27. package/dist/apis/calendar.d.cts +18 -0
  28. package/dist/apis/calendar.d.ts +12 -9
  29. package/dist/apis/configuration-hub.d.cts +18 -0
  30. package/dist/apis/configuration-hub.d.ts +12 -9
  31. package/dist/apis/consent.d.cts +18 -0
  32. package/dist/apis/consent.d.ts +12 -9
  33. package/dist/apis/customer-portal.d.cts +18 -0
  34. package/dist/apis/customer-portal.d.ts +12 -9
  35. package/dist/apis/dashboard.d.cts +18 -0
  36. package/dist/apis/dashboard.d.ts +12 -9
  37. package/dist/apis/data-governance.d.cts +18 -0
  38. package/dist/apis/data-governance.d.ts +12 -9
  39. package/dist/apis/deduplication.d.cts +18 -0
  40. package/dist/apis/deduplication.d.ts +12 -9
  41. package/dist/apis/design.d.cts +18 -0
  42. package/dist/apis/design.d.ts +12 -9
  43. package/dist/apis/document.d.cts +18 -0
  44. package/dist/apis/document.d.ts +12 -9
  45. package/dist/apis/email-settings.d.cts +18 -0
  46. package/dist/apis/email-settings.d.ts +12 -9
  47. package/dist/apis/email-template.d.cts +18 -0
  48. package/dist/apis/email-template.d.ts +12 -9
  49. package/dist/apis/entity-mapping.d.cts +18 -0
  50. package/dist/apis/entity-mapping.d.ts +12 -9
  51. package/dist/apis/entity.d.cts +18 -0
  52. package/dist/apis/entity.d.ts +12 -9
  53. package/dist/apis/environments.d.cts +18 -0
  54. package/dist/apis/environments.d.ts +12 -9
  55. package/dist/apis/event-catalog.d.cts +18 -0
  56. package/dist/apis/event-catalog.d.ts +12 -9
  57. package/dist/apis/file.d.cts +18 -0
  58. package/dist/apis/file.d.ts +12 -9
  59. package/dist/apis/iban.d.cts +18 -0
  60. package/dist/apis/iban.d.ts +12 -9
  61. package/dist/apis/integration-toolkit.d.cts +18 -0
  62. package/dist/apis/integration-toolkit.d.ts +12 -9
  63. package/dist/apis/journey.d.cts +18 -0
  64. package/dist/apis/journey.d.ts +12 -9
  65. package/dist/apis/kanban.d.cts +18 -0
  66. package/dist/apis/kanban.d.ts +12 -9
  67. package/dist/apis/message.d.cts +18 -0
  68. package/dist/apis/message.d.ts +12 -9
  69. package/dist/apis/metering.d.cts +18 -0
  70. package/dist/apis/metering.d.ts +12 -9
  71. package/dist/apis/notes.d.cts +18 -0
  72. package/dist/apis/notes.d.ts +12 -9
  73. package/dist/apis/notification.d.cts +18 -0
  74. package/dist/apis/notification.d.ts +12 -9
  75. package/dist/apis/organization.d.cts +18 -0
  76. package/dist/apis/organization.d.ts +12 -9
  77. package/dist/apis/partner-directory.d.cts +18 -0
  78. package/dist/apis/partner-directory.d.ts +12 -9
  79. package/dist/apis/permissions.d.cts +18 -0
  80. package/dist/apis/permissions.d.ts +12 -9
  81. package/dist/apis/pricing-tier.d.cts +18 -0
  82. package/dist/apis/pricing-tier.d.ts +12 -9
  83. package/dist/apis/pricing.d.cts +18 -0
  84. package/dist/apis/pricing.d.ts +12 -9
  85. package/dist/apis/purpose.d.cts +18 -0
  86. package/dist/apis/purpose.d.ts +12 -9
  87. package/dist/apis/query.d.cts +18 -0
  88. package/dist/apis/query.d.ts +12 -9
  89. package/dist/apis/sandbox.d.cts +18 -0
  90. package/dist/apis/sandbox.d.ts +12 -9
  91. package/dist/apis/sharing.d.cts +18 -0
  92. package/dist/apis/sharing.d.ts +12 -9
  93. package/dist/apis/submission.d.cts +18 -0
  94. package/dist/apis/submission.d.ts +12 -9
  95. package/dist/apis/target.d.cts +597 -0
  96. package/dist/apis/target.d.ts +591 -9
  97. package/dist/apis/targeting.d.cts +18 -0
  98. package/dist/apis/targeting.d.ts +12 -9
  99. package/dist/apis/template-variables.d.cts +18 -0
  100. package/dist/apis/template-variables.d.ts +12 -9
  101. package/dist/apis/user.d.cts +18 -0
  102. package/dist/apis/user.d.ts +12 -9
  103. package/dist/apis/validation-rules.d.cts +18 -0
  104. package/dist/apis/validation-rules.d.ts +12 -9
  105. package/dist/apis/webhooks.d.cts +18 -0
  106. package/dist/apis/webhooks.d.ts +12 -9
  107. package/dist/apis/workflow-definition.d.cts +18 -0
  108. package/dist/apis/workflow-definition.d.ts +12 -9
  109. package/dist/apis/workflow.d.cts +18 -0
  110. package/dist/apis/workflow.d.ts +12 -9
  111. package/dist/app.d-u7Dq42kU.d.cts +3391 -0
  112. package/dist/app.d-u7Dq42kU.d.ts +3391 -0
  113. package/dist/audit-logs.d-BRToFqeX.d.cts +287 -0
  114. package/dist/audit-logs.d-BRToFqeX.d.ts +287 -0
  115. package/dist/automation.d-Du6-uiz5.d.cts +5283 -0
  116. package/dist/automation.d-Du6-uiz5.d.ts +5283 -0
  117. package/dist/billing.d-Bs8Ku9qE.d.cts +993 -0
  118. package/dist/billing.d-Bs8Ku9qE.d.ts +993 -0
  119. package/dist/blueprint-manifest.d-BPyzoR0X.d.cts +4343 -0
  120. package/dist/blueprint-manifest.d-BPyzoR0X.d.ts +4343 -0
  121. package/dist/calendar.d-BEjLDagH.d.cts +353 -0
  122. package/dist/calendar.d-BEjLDagH.d.ts +353 -0
  123. package/dist/configuration-hub.d-Cqaq2F-W.d.cts +478 -0
  124. package/dist/configuration-hub.d-Cqaq2F-W.d.ts +478 -0
  125. package/dist/consent.d-C2PROHhX.d.cts +265 -0
  126. package/dist/consent.d-C2PROHhX.d.ts +265 -0
  127. package/dist/customer-portal.d-DyZ2n2dW.d.cts +16728 -0
  128. package/dist/customer-portal.d-DyZ2n2dW.d.ts +16728 -0
  129. package/dist/dashboard.d-CsGcA74I.d.cts +440 -0
  130. package/dist/dashboard.d-CsGcA74I.d.ts +440 -0
  131. package/dist/data-governance.d-BbZ466j5.d.cts +1178 -0
  132. package/dist/data-governance.d-BbZ466j5.d.ts +1178 -0
  133. package/dist/deduplication.d-D5GYddVu.d.cts +218 -0
  134. package/dist/deduplication.d-D5GYddVu.d.ts +218 -0
  135. package/dist/design.d-BRre8iLg.d.cts +2346 -0
  136. package/dist/design.d-BRre8iLg.d.ts +2346 -0
  137. package/dist/document.d-DN37pjdx.d.cts +648 -0
  138. package/dist/document.d-DN37pjdx.d.ts +648 -0
  139. package/dist/email-settings.d-B7Q_xT25.d.cts +2417 -0
  140. package/dist/email-settings.d-B7Q_xT25.d.ts +2417 -0
  141. package/dist/email-template.d-gtQkdaXM.d.cts +1188 -0
  142. package/dist/email-template.d-gtQkdaXM.d.ts +1188 -0
  143. package/dist/entity-mapping.d-DKSW3sfy.d.cts +1092 -0
  144. package/dist/entity-mapping.d-DKSW3sfy.d.ts +1092 -0
  145. package/dist/entity.d-BHR9dEon.d.cts +18479 -0
  146. package/dist/entity.d-BHR9dEon.d.ts +18479 -0
  147. package/dist/environments.d-BvqvN-PD.d.cts +382 -0
  148. package/dist/environments.d-BvqvN-PD.d.ts +382 -0
  149. package/dist/event-catalog.d-ENw6HO-w.d.cts +1511 -0
  150. package/dist/event-catalog.d-ENw6HO-w.d.ts +1511 -0
  151. package/dist/file.d-DcTJxjp7.d.cts +2992 -0
  152. package/dist/file.d-DcTJxjp7.d.ts +2992 -0
  153. package/dist/iban.d-BwdiGbxi.d.cts +70 -0
  154. package/dist/iban.d-BwdiGbxi.d.ts +70 -0
  155. package/dist/index.d.cts +182 -0
  156. package/dist/index.d.ts +182 -12
  157. package/dist/integration-toolkit.d-Ry-KC9ow.d.cts +5796 -0
  158. package/dist/integration-toolkit.d-Ry-KC9ow.d.ts +5796 -0
  159. package/dist/journey.d-ClXO0xK8.d.cts +1931 -0
  160. package/dist/journey.d-ClXO0xK8.d.ts +1931 -0
  161. package/dist/kanban.d-BHnSRCYW.d.cts +760 -0
  162. package/dist/kanban.d-BHnSRCYW.d.ts +760 -0
  163. package/dist/message.d-B5UuSqgw.d.cts +3811 -0
  164. package/dist/message.d-B5UuSqgw.d.ts +3811 -0
  165. package/dist/metering.d-DvtPv7wk.d.cts +1841 -0
  166. package/dist/metering.d-DvtPv7wk.d.ts +1841 -0
  167. package/dist/notes.d-BC-scR42.d.cts +1046 -0
  168. package/dist/notes.d-BC-scR42.d.ts +1046 -0
  169. package/dist/notification.d-BfBL3lga.d.cts +1147 -0
  170. package/dist/notification.d-BfBL3lga.d.ts +1147 -0
  171. package/dist/organization.d-DqwnNxMg.d.cts +1271 -0
  172. package/dist/organization.d-DqwnNxMg.d.ts +1271 -0
  173. package/dist/partner-directory.d-BCIjHoGs.d.cts +2337 -0
  174. package/dist/partner-directory.d-BCIjHoGs.d.ts +2337 -0
  175. package/dist/permissions.d-l6AT8SYP.d.cts +1279 -0
  176. package/dist/permissions.d-l6AT8SYP.d.ts +1279 -0
  177. package/dist/pricing-tier.d-Cg0jl6n_.d.cts +81 -0
  178. package/dist/pricing-tier.d-Cg0jl6n_.d.ts +81 -0
  179. package/dist/pricing.d-BHpMU4KU.d.cts +12255 -0
  180. package/dist/pricing.d-BHpMU4KU.d.ts +12255 -0
  181. package/dist/purpose.d-CbIYfTua.d.cts +372 -0
  182. package/dist/purpose.d-CbIYfTua.d.ts +372 -0
  183. package/dist/query.d-Cmp78IhZ.d.cts +2375 -0
  184. package/dist/query.d-Cmp78IhZ.d.ts +2375 -0
  185. package/dist/sandbox.d-BdbOFzDu.d.cts +465 -0
  186. package/dist/sandbox.d-BdbOFzDu.d.ts +465 -0
  187. package/dist/sharing.d-sOXq-gtz.d.cts +571 -0
  188. package/dist/sharing.d-sOXq-gtz.d.ts +571 -0
  189. package/dist/submission.d-BamwfhXw.d.cts +469 -0
  190. package/dist/submission.d-BamwfhXw.d.ts +469 -0
  191. package/dist/targeting.d-BNmcVsNS.d.cts +2057 -0
  192. package/dist/targeting.d-BNmcVsNS.d.ts +2057 -0
  193. package/dist/template-variables.d-Ble9TSBa.d.cts +1320 -0
  194. package/dist/template-variables.d-Ble9TSBa.d.ts +1320 -0
  195. package/dist/types-ChU9Acbv.d.cts +37 -0
  196. package/dist/types-ChU9Acbv.d.ts +37 -0
  197. package/dist/user.d-D18fe97W.d.cts +2270 -0
  198. package/dist/user.d-D18fe97W.d.ts +2270 -0
  199. package/dist/validation-rules.d-Db5c5zTf.d.cts +807 -0
  200. package/dist/validation-rules.d-Db5c5zTf.d.ts +807 -0
  201. package/dist/webhooks.d-pLHIL_io.d.cts +1256 -0
  202. package/dist/webhooks.d-pLHIL_io.d.ts +1256 -0
  203. package/dist/workflow-definition.d-DOeb0KVV.d.cts +1922 -0
  204. package/dist/workflow-definition.d-DOeb0KVV.d.ts +1922 -0
  205. package/dist/workflow.d-CMSKt8oN.d.cts +3151 -0
  206. package/dist/workflow.d-CMSKt8oN.d.ts +3151 -0
  207. package/package.json +1 -1
  208. package/dist/apis/_registry.d.ts +0 -8
  209. package/dist/authorize.d.ts +0 -3
  210. package/dist/bin/cli.d.ts +0 -1
  211. package/dist/client-factory.d.ts +0 -9
  212. package/dist/client-map.d.ts +0 -102
  213. package/dist/compact.d.ts +0 -22
  214. package/dist/help.d.ts +0 -12
  215. package/dist/large-response.d.ts +0 -9
  216. package/dist/openapi.d.ts +0 -12
  217. package/dist/overrides.d.ts +0 -9
  218. package/dist/proxy.d.ts +0 -14
  219. package/dist/registry.d.ts +0 -19
  220. package/dist/retry.d.ts +0 -11
  221. package/dist/sdk.d.ts +0 -29
  222. package/dist/types.d.ts +0 -53
@@ -0,0 +1,1320 @@
1
+ import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
2
+
3
+ /* Auto-copied from template-variables-client */
4
+
5
+
6
+ declare namespace Components {
7
+ namespace Schemas {
8
+ export interface CategoryResult {
9
+ /**
10
+ * example:
11
+ * contact
12
+ */
13
+ category?: string;
14
+ /**
15
+ * example:
16
+ * Contact
17
+ */
18
+ description?: string;
19
+ }
20
+ export interface CustomVariable {
21
+ /**
22
+ * ID
23
+ * example:
24
+ * rbse777b-3cf8-4bff-bb0c-253fd1123250
25
+ */
26
+ id?: string;
27
+ /**
28
+ * Custom variable type
29
+ */
30
+ type?: "order_table" | "custom" | "journey_link" | "snippet";
31
+ /**
32
+ * Custom variable name
33
+ * example:
34
+ * My Custom table
35
+ */
36
+ name?: string;
37
+ /**
38
+ * The key which is used for Handlebar variable syntax {{key}}
39
+ * example:
40
+ * my_custom_table
41
+ */
42
+ key: string;
43
+ /**
44
+ * The tags of custom variable
45
+ */
46
+ _tags?: string[];
47
+ /**
48
+ * The manifest IDs associated with this custom variable
49
+ */
50
+ _manifest?: string[];
51
+ /**
52
+ * The helper function parameter's names
53
+ * example:
54
+ * [
55
+ * "param1",
56
+ * "param2"
57
+ * ]
58
+ */
59
+ helper_params?: string[];
60
+ /**
61
+ * The helper function logic
62
+ * example:
63
+ * return param1 * param2;
64
+ */
65
+ helper_logic?: string;
66
+ /**
67
+ * Variable configuration
68
+ * example:
69
+ * {
70
+ * "header": null,
71
+ * "style": {
72
+ * "color": "#222",
73
+ * "background": "#fff",
74
+ * "font-size": "16px",
75
+ * "font-family": "",
76
+ * "padding-bottom": "4px",
77
+ * "font-weight": "bold",
78
+ * "border": "none !important",
79
+ * "text-align": "left"
80
+ * },
81
+ * "columns": [
82
+ * {
83
+ * "id": "item",
84
+ * "index": 0,
85
+ * "label": {
86
+ * "en": "Item",
87
+ * "de": "Produkt"
88
+ * },
89
+ * "enable": true,
90
+ * "draggable": true,
91
+ * "style": {
92
+ * "padding-left": "10px",
93
+ * "max-width": "30%"
94
+ * }
95
+ * },
96
+ * {
97
+ * "id": "quantity",
98
+ * "index": 1,
99
+ * "label": {
100
+ * "en": "Quanity",
101
+ * "de": "Menge"
102
+ * },
103
+ * "enable": true,
104
+ * "draggable": true,
105
+ * "style": {
106
+ * "min-width": "60px",
107
+ * "width": "30%"
108
+ * }
109
+ * },
110
+ * {
111
+ * "id": "tax",
112
+ * "index": 2,
113
+ * "label": {
114
+ * "en": "Tax Rate",
115
+ * "de": "Steuerrate"
116
+ * },
117
+ * "enable": true,
118
+ * "draggable": true,
119
+ * "style": {
120
+ * "min-width": "60px",
121
+ * "width": "30%"
122
+ * }
123
+ * },
124
+ * {
125
+ * "id": "unit_amount",
126
+ * "index": 3,
127
+ * "label": {
128
+ * "en": "Unit Net Price",
129
+ * "de": "Nettopreis"
130
+ * },
131
+ * "enable": true,
132
+ * "draggable": true,
133
+ * "style": {
134
+ * "min-width": "60px",
135
+ * "width": "30%"
136
+ * }
137
+ * },
138
+ * {
139
+ * "id": "net_total",
140
+ * "index": 4,
141
+ * "label": {
142
+ * "en": "Net total",
143
+ * "de": "Nettosumme"
144
+ * },
145
+ * "enable": "true,",
146
+ * "draggable": true,
147
+ * "style": {
148
+ * "min-width": "60px",
149
+ * "width": "30%"
150
+ * }
151
+ * },
152
+ * {
153
+ * "id": "gross_total",
154
+ * "index": 5,
155
+ * "label": {
156
+ * "en": "Total",
157
+ * "de": "Gesamt"
158
+ * },
159
+ * "enable": true,
160
+ * "draggable": true,
161
+ * "style": {
162
+ * "min-width": "60px",
163
+ * "width": "30%"
164
+ * }
165
+ * }
166
+ * ],
167
+ * "body": {
168
+ * "product_name": {
169
+ * "parent_column": "item",
170
+ * "enable": true,
171
+ * "style": {
172
+ * "color": "#222",
173
+ * "background": "#fff",
174
+ * "font-size": "14px",
175
+ * "font-family": "",
176
+ * "font-weight": "bold",
177
+ * "font-style": "normal",
178
+ * "padding-top": "16px",
179
+ * "padding-bottom": "8px",
180
+ * "border": "none !important",
181
+ * "vertical-align": "top",
182
+ * "text-align": "left",
183
+ * "max-width": "30%",
184
+ * "padding-left": "10px"
185
+ * }
186
+ * },
187
+ * "price_description": {
188
+ * "parent_column": "item",
189
+ * "enable": true,
190
+ * "style": {
191
+ * "color": "#222",
192
+ * "background": "#fff",
193
+ * "font-size": "12px",
194
+ * "font-family": "",
195
+ * "font-weight": "normal",
196
+ * "font-style": "normal",
197
+ * "text-align": "left",
198
+ * "max-width": "30%"
199
+ * }
200
+ * },
201
+ * "product_description": {
202
+ * "parent_column": "item",
203
+ * "enable": true,
204
+ * "style": {
205
+ * "color": "#222",
206
+ * "background": "#fff",
207
+ * "font-size": "12px",
208
+ * "font-family": "",
209
+ * "font-weight": "normal",
210
+ * "font-style": "normal",
211
+ * "text-align": "left",
212
+ * "max-width": "30%"
213
+ * }
214
+ * },
215
+ * "quantity": {
216
+ * "enable": true,
217
+ * "style": {
218
+ * "color": "#222",
219
+ * "background": "#fff",
220
+ * "font-size": "12px",
221
+ * "font-family": "",
222
+ * "font-weight": "normal",
223
+ * "font-style": "normal",
224
+ * "text-align": "left",
225
+ * "max-width": "30%"
226
+ * }
227
+ * },
228
+ * "tax": {
229
+ * "enable": true,
230
+ * "style": {
231
+ * "color": "#222",
232
+ * "background": "#fff",
233
+ * "font-size": "12px",
234
+ * "font-family": "",
235
+ * "font-weight": "normal",
236
+ * "font-style": "normal",
237
+ * "text-align": "left",
238
+ * "max-width": "30%"
239
+ * }
240
+ * },
241
+ * "unit_amount": {
242
+ * "enable": true,
243
+ * "style": {
244
+ * "color": "#222",
245
+ * "background": "#fff",
246
+ * "font-size": "12px",
247
+ * "font-family": "",
248
+ * "font-weight": "normal",
249
+ * "font-style": "normal",
250
+ * "text-align": "left",
251
+ * "max-width": "30%"
252
+ * }
253
+ * },
254
+ * "net_total": {
255
+ * "enable": true,
256
+ * "style": {
257
+ * "color": "#222",
258
+ * "background": "#fff",
259
+ * "font-size": "12px",
260
+ * "font-family": "",
261
+ * "font-weight": "normal",
262
+ * "font-style": "normal",
263
+ * "text-align": "left",
264
+ * "max-width": "30%"
265
+ * }
266
+ * },
267
+ * "gross_total": {
268
+ * "enable": true,
269
+ * "style": {
270
+ * "color": "#222",
271
+ * "background": "#fff",
272
+ * "font-size": "12px",
273
+ * "font-family": "",
274
+ * "font-weight": "normal",
275
+ * "font-style": "normal",
276
+ * "text-align": "left",
277
+ * "max-width": "30%"
278
+ * }
279
+ * }
280
+ * },
281
+ * "footer": {
282
+ * "payment_type": {
283
+ * "enable": true,
284
+ * "style": {
285
+ * "color": "#222",
286
+ * "background": "#fff",
287
+ * "font-size": "12px",
288
+ * "font-family": "",
289
+ * "font-weight": "normal",
290
+ * "font-style": "normal",
291
+ * "text-align": "left",
292
+ * "max-width": "30%"
293
+ * }
294
+ * },
295
+ * "net_total": {
296
+ * "enable": true,
297
+ * "style": {
298
+ * "color": "#222",
299
+ * "background": "#fff",
300
+ * "font-size": "12px",
301
+ * "font-family": "",
302
+ * "font-weight": "normal",
303
+ * "font-style": "normal",
304
+ * "text-align": "left",
305
+ * "max-width": "30%"
306
+ * }
307
+ * },
308
+ * "amount_tax": {
309
+ * "enable": true,
310
+ * "style": {
311
+ * "color": "#222",
312
+ * "background": "#fff",
313
+ * "font-size": "12px",
314
+ * "font-family": "",
315
+ * "font-weight": "normal",
316
+ * "font-style": "normal",
317
+ * "text-align": "left",
318
+ * "max-width": "30%"
319
+ * }
320
+ * },
321
+ * "gross_total": {
322
+ * "enable": true,
323
+ * "style": {
324
+ * "color": "#222",
325
+ * "background": "#fff",
326
+ * "font-size": "12px",
327
+ * "font-family": "",
328
+ * "font-weight": "normal",
329
+ * "font-style": "normal",
330
+ * "text-align": "left",
331
+ * "max-width": "30%"
332
+ * }
333
+ * }
334
+ * }
335
+ * }
336
+ */
337
+ config?: {
338
+ [key: string]: any;
339
+ };
340
+ /**
341
+ * Handlebar template that used to generate the variable content
342
+ * example:
343
+ * <table style="table-layout: fixed;width: 100%;max-width: 1000px;border-collapse: collapse;">
344
+ * <thead>
345
+ * <tr style="height: 48px;border-bottom: 1px solid #D5E1ED;">
346
+ * {{#each table_config.header.columns as |column|}}
347
+ * {{#if column.enable}}
348
+ * <th style="{{makeStyle @root.table_config.header.style}};{{makeStyle column.style}};">{{column._label}}</th>
349
+ * {{/if}}
350
+ * {{/each}}
351
+ * </tr>
352
+ * </thead>
353
+ * <tbody style="vertical-align: baseline !important;font-weight: 400;font-size: 12px;position: relative;">
354
+ * <!-- Start rendering products -->
355
+ * {{#each order.products as |product|}}
356
+ * {{#if @last}}
357
+ * <tr style="height: 48px;;font-size:14px;border-bottom: 1px solid #D5E1ED;">
358
+ * {{else}}
359
+ * <tr style="height: 48px;;font-size:14px;">
360
+ * {{/if}}
361
+ * {{#each @root.table_config.header.columns as |column|}}
362
+ * {{#if column.enable}}
363
+ * {{#if (eq column.id 'item')}}
364
+ * <!-- Item -->
365
+ * <td style="{{makeStyle @root.table_config.body.product_name.style}}">
366
+ * {{#if @root.table_config.body.product_name.enable}}
367
+ * {{product.name}}
368
+ * {{/if}}
369
+ * {{#if @root.table_config.body.price_description.enable}}
370
+ * <br>
371
+ * <span style="{{makeStyle @root.table_config.body.price_description.style}}">{{product.price.description}}</span>
372
+ * {{/if}}
373
+ * {{#if @root.table_config.body.product_description.enable}}
374
+ * <br>
375
+ * <span style="{{makeStyle @root.table_config.body.product_description.style}}">{{product.description}}</span>
376
+ * {{/if}}
377
+ * </td>
378
+ * {{/if}}
379
+ * {{#if (eq column.id 'quantity')}}
380
+ * <!-- Quantity -->
381
+ * <td style="{{makeStyle @root.table_config.body.quantity.style}}">{{product.price.quantity}}
382
+ * </td>
383
+ * {{/if}}
384
+ * {{#if (eq column.id 'tax')}}
385
+ * <!-- Tax -->
386
+ * <td style="{{makeStyle @root.table_config.body.tax.style}}">
387
+ * {{product.price.tax_rate}}
388
+ * </td>
389
+ * {{/if}}
390
+ * {{#if (eq column.id 'unit_amount')}}
391
+ * <!-- Unit amount -->
392
+ * <td style="{{makeStyle @root.table_config.body.unit_amount.style}}">
393
+ * {{product.price.unit_amount_net}}
394
+ * </td>
395
+ * {{/if}}
396
+ * {{#if (eq column.id 'net_total')}}
397
+ * <!-- Amount Subtotal -->
398
+ * <td style="{{makeStyle @root.table_config.body.net_total.style}}">
399
+ * {{product.price.amount_subtotal}}
400
+ * </td>
401
+ * {{/if}}
402
+ * {{#if (eq column.id 'amount_tax')}}
403
+ * <!-- Tax amount-->
404
+ * <td style="{{makeStyle @root.table_config.body.amount_tax.style}}">
405
+ * {{product.price.amount_tax}}
406
+ * </td>
407
+ * {{/if}}
408
+ * {{#if (eq column.id 'gross_total')}}
409
+ * <!-- Gross total -->
410
+ * <td style="{{makeStyle @root.table_config.body.gross_total.style}}">
411
+ * {{product.price.amount_total}}
412
+ * {{#if @root.table_config.body.payment_type.enable}}
413
+ * {{#if (eq product.price.type 'recurring')}}
414
+ * <br>
415
+ * <span style="{{makeStyle @root.table_config.body.payment_type.style}}">{{product.price.billing_period}}</span>
416
+ * {{/if}}
417
+ * {{/if}}
418
+ * </td>
419
+ * {{/if}}
420
+ * {{/if}}
421
+ * {{/each}}
422
+ * </tr>
423
+ * {{/each}}
424
+ * <!-- Finish rendering products -->
425
+ * {{#if table_config.footer.gross_total.enable}}
426
+ * {{#each order.total_details.recurrences as |item|}}
427
+ * <tr style="height: 48px;font-size: 14px;">
428
+ * <td style="padding-top: 16px; padding-bottom: 8px; border: none !important; vertical-align: top;" colspan="{{calculate_colspan @root.table_config}}"></td>
429
+ * {{#if @root.table_config.footer.payment_type.enable}}
430
+ * <td style="{{makeStyle @root.table_config.footer.payment_type.style}}" colspan="2">{{item.billing_period}}</td>
431
+ * {{/if}}
432
+ * {{#if (isColumnEnabled @root.table_config 'net_total')}}
433
+ * {{#if @root.table_config.footer.net_total.enable}}
434
+ * <td style="{{makeStyle @root.table_config.footer.net_total.style}}">{{item.amount_subtotal}}</td>
435
+ * {{/if}}
436
+ * {{/if}}
437
+ * <td style="{{makeStyle @root.table_config.footer.gross_total.style}}">{{item.amount_total}}
438
+ * {{#if @root.table_config.footer.amount_tax.enable}}
439
+ * <br>
440
+ * <span style="{{makeStyle @root.table_config.footer.amount_tax.style}}">{{item.full_amount_tax}}</span>
441
+ * {{/if}}
442
+ * </td>
443
+ * </tr>
444
+ * {{/each}}
445
+ * {{/if}}
446
+ * <tr style="height:16px !important;"></tr>
447
+ * </tbody>
448
+ * </table>
449
+ *
450
+ */
451
+ template: string;
452
+ /**
453
+ * Creation time
454
+ * example:
455
+ * 2022-04-19T12:41:43.662Z
456
+ */
457
+ created_at?: string;
458
+ /**
459
+ * Created by
460
+ * example:
461
+ * 100042
462
+ */
463
+ created_by?: string;
464
+ /**
465
+ * Last update time
466
+ * example:
467
+ * 2022-04-20T12:41:43.662Z
468
+ */
469
+ updated_at?: string;
470
+ /**
471
+ * Updated by
472
+ * example:
473
+ * 100042
474
+ */
475
+ updated_by?: string;
476
+ }
477
+ export interface CustomVariablesSearchParams {
478
+ /**
479
+ * Variable type
480
+ */
481
+ type?: "order_table" | "custom" | "journey_link" | "snippet";
482
+ /**
483
+ * The tags of custom variable
484
+ */
485
+ tags?: string[];
486
+ /**
487
+ * Search string
488
+ * example:
489
+ * logo
490
+ */
491
+ query?: string;
492
+ from?: number;
493
+ size?: number;
494
+ /**
495
+ * Sort by field
496
+ * example:
497
+ * created_at, name, key
498
+ */
499
+ sort_by?: string;
500
+ /**
501
+ * Fields to return
502
+ */
503
+ fields?: string[];
504
+ }
505
+ export interface ExternalCustomVariable {
506
+ /**
507
+ * example:
508
+ * {{craftsmen.invitation_link}}
509
+ */
510
+ variable?: string;
511
+ /**
512
+ * example:
513
+ * https://partner.epilot.cloud/activate-account?user_name=htny.pct%2Btet%40gmail.com&confirmation_code=EdXPRW19
514
+ */
515
+ value?: string;
516
+ }
517
+ /**
518
+ * 2-letter language code (ISO 639-1)
519
+ */
520
+ export type Language = string;
521
+ export interface ReplacementOutput {
522
+ /**
523
+ * example:
524
+ * [
525
+ * "[Brand Name GmbH] Order confirmation\nHello Customer Name\n\n<span color=\"#ccc\">Brand Name GmbH</span>\n<img src=\"https://logobucket.s3.amazonaws.com/brandlogo.png\" alt=\"Brand Name\"/>\n<a href=\"https://company.com/imprint\">imprint</a>\n"
526
+ * ]
527
+ */
528
+ outputs?: string[];
529
+ }
530
+ export interface ReplacementOutputV2 {
531
+ /**
532
+ * Dictionary mapping input templates and variable names to their resolved output values.
533
+ * Values preserve their original types (string, array, object) instead of being stringified.
534
+ *
535
+ * Keys include:
536
+ * - Original input templates (e.g., "Hello {{name}}")
537
+ * - Individual variables found in templates (e.g., "{{name}}", "{{product_images[*].public_url}}")
538
+ *
539
+ * example:
540
+ * {
541
+ * "Hello {{first_name}}": "Hello John",
542
+ * "{{first_name}}": "John",
543
+ * "{{product_images[*].public_url}}": [
544
+ * "http://myimage.server.com/img1.png",
545
+ * "http://myimage.server.com/img2.png"
546
+ * ]
547
+ * }
548
+ */
549
+ outputs?: {
550
+ [name: string]: string | number | boolean | any[] | {
551
+ [name: string]: any;
552
+ };
553
+ };
554
+ }
555
+ export type TemplateType = "email" | "document";
556
+ export interface VariableContext {
557
+ /**
558
+ * example:
559
+ * https://consent.sls.epilot.io/v1/unsubscribe?token=abc123
560
+ */
561
+ unsubscribe_url?: string;
562
+ /**
563
+ * example:
564
+ * {
565
+ * "_id": "03be777b-3cf8-4bff-bb0c-253fd1128479",
566
+ * "_title": "Example Customer",
567
+ * "customer_number": 123,
568
+ * "first_name": "Example",
569
+ * "last_name": "Customer",
570
+ * "title": "Prof.",
571
+ * "salutation": "Ms. / Mrs.",
572
+ * "birthdate": "2018-03-03",
573
+ * "email": [
574
+ * {
575
+ * "email": "contact.primary@domain.com",
576
+ * "_tags": [
577
+ * "primary"
578
+ * ]
579
+ * },
580
+ * {
581
+ * "email": "sale@domain.com"
582
+ * }
583
+ * ],
584
+ * "phone": [
585
+ * {
586
+ * "phone": "+49123456789",
587
+ * "_tags": [
588
+ * "primary",
589
+ * "support"
590
+ * ]
591
+ * },
592
+ * {
593
+ * "phone": "+49504305025"
594
+ * }
595
+ * ],
596
+ * "address": [
597
+ * {
598
+ * "_tags": [
599
+ * "primary",
600
+ * "delivery"
601
+ * ],
602
+ * "country": "Germany",
603
+ * "city": "Köln",
604
+ * "postal_code": "50825",
605
+ * "street": "Im Mediapark",
606
+ * "street_number": "8a",
607
+ * "additional_info": "11th floor"
608
+ * },
609
+ * {
610
+ * "_tags": [
611
+ * "billing"
612
+ * ],
613
+ * "country": "Finland",
614
+ * "city": "Köln",
615
+ * "postal_code": "50670",
616
+ * "street": "Im Mediapark",
617
+ * "street_number": "8a",
618
+ * "additional_info": ""
619
+ * }
620
+ * ],
621
+ * "account": [
622
+ * {
623
+ * "status": "Active",
624
+ * "_id": "c8d20ff6-df7a-465a-a26e-e5d28c2a3f79",
625
+ * "tax_id": "123abc",
626
+ * "name": "name",
627
+ * "email": [
628
+ * {
629
+ * "email": "account.primary@domain.com",
630
+ * "_tags": [
631
+ * "primary"
632
+ * ]
633
+ * },
634
+ * {
635
+ * "email": "account.sale@domain.com"
636
+ * }
637
+ * ],
638
+ * "phone": [
639
+ * {
640
+ * "phone": "+49123456789",
641
+ * "_tags": [
642
+ * "primary",
643
+ * "support"
644
+ * ]
645
+ * },
646
+ * {
647
+ * "phone": "+49504305025"
648
+ * }
649
+ * ],
650
+ * "address": [
651
+ * {
652
+ * "_tags": [
653
+ * "primary",
654
+ * "delivery"
655
+ * ],
656
+ * "country": "Germany",
657
+ * "city": "Köln",
658
+ * "postal_code": "50825",
659
+ * "street": "Im Mediapark",
660
+ * "street_number": "8a",
661
+ * "additional_info": "11th floor"
662
+ * }
663
+ * ]
664
+ * }
665
+ * ]
666
+ * }
667
+ */
668
+ main?: {
669
+ [name: string]: any;
670
+ };
671
+ /**
672
+ * example:
673
+ * {
674
+ * "_id": "03be777b-3cf8-4bff-bb0c-253fd1128479",
675
+ * "_title": "Example Customer",
676
+ * "customer_number": 123,
677
+ * "first_name": "Example",
678
+ * "last_name": "Customer",
679
+ * "title": "Prof.",
680
+ * "salutation": "Ms. / Mrs.",
681
+ * "birthdate": "2018-03-03",
682
+ * "email": [
683
+ * {
684
+ * "email": "contact.primary@domain.com",
685
+ * "_tags": [
686
+ * "primary"
687
+ * ]
688
+ * },
689
+ * {
690
+ * "email": "sale@domain.com"
691
+ * }
692
+ * ],
693
+ * "phone": [
694
+ * {
695
+ * "phone": "+49123456789",
696
+ * "_tags": [
697
+ * "primary",
698
+ * "support"
699
+ * ]
700
+ * },
701
+ * {
702
+ * "phone": "+49504305025"
703
+ * }
704
+ * ],
705
+ * "address": [
706
+ * {
707
+ * "_tags": [
708
+ * "primary",
709
+ * "delivery"
710
+ * ],
711
+ * "country": "Germany",
712
+ * "city": "Köln",
713
+ * "postal_code": "50825",
714
+ * "street": "Im Mediapark",
715
+ * "street_number": "8a",
716
+ * "additional_info": "11th floor"
717
+ * },
718
+ * {
719
+ * "_tags": [
720
+ * "billing"
721
+ * ],
722
+ * "country": "Finland",
723
+ * "city": "Köln",
724
+ * "postal_code": "50670",
725
+ * "street": "Im Mediapark",
726
+ * "street_number": "8a",
727
+ * "additional_info": ""
728
+ * }
729
+ * ],
730
+ * "account": [
731
+ * {
732
+ * "status": "Active",
733
+ * "_id": "c8d20ff6-df7a-465a-a26e-e5d28c2a3f79",
734
+ * "tax_id": "123abc",
735
+ * "name": "name",
736
+ * "email": [
737
+ * {
738
+ * "email": "account.primary@domain.com",
739
+ * "_tags": [
740
+ * "primary"
741
+ * ]
742
+ * },
743
+ * {
744
+ * "email": "account.sale@domain.com"
745
+ * }
746
+ * ],
747
+ * "phone": [
748
+ * {
749
+ * "phone": "+49123456789",
750
+ * "_tags": [
751
+ * "primary",
752
+ * "support"
753
+ * ]
754
+ * },
755
+ * {
756
+ * "phone": "+49504305025"
757
+ * }
758
+ * ],
759
+ * "address": [
760
+ * {
761
+ * "_tags": [
762
+ * "primary",
763
+ * "delivery"
764
+ * ],
765
+ * "country": "Germany",
766
+ * "city": "KölnSS",
767
+ * "postal_code": "50825",
768
+ * "street": "Im Mediapark",
769
+ * "street_number": "8a",
770
+ * "additional_info": "11th floor"
771
+ * }
772
+ * ]
773
+ * }
774
+ * ]
775
+ * }
776
+ */
777
+ contact?: {
778
+ [name: string]: any;
779
+ };
780
+ /**
781
+ * example:
782
+ * {
783
+ * "id": 123453,
784
+ * "name": "Brand name",
785
+ * "signature": "Signature"
786
+ * }
787
+ */
788
+ brand?: {
789
+ [name: string]: any;
790
+ };
791
+ }
792
+ export interface VariableParameters {
793
+ template_type: TemplateType;
794
+ language?: /* 2-letter language code (ISO 639-1) */ Language;
795
+ /**
796
+ * The main entity ID. Use main entity in order to use the variable without schema slug prefix - or just pass directly to other object ID.
797
+ * example:
798
+ * 63753437-c9e2-4e83-82bb-b1c666514561
799
+ */
800
+ main_entity_id?: string; // uuid
801
+ /**
802
+ * Brand ID
803
+ * example:
804
+ * 123451
805
+ */
806
+ brand_id?: number | null;
807
+ /**
808
+ * User ID
809
+ * example:
810
+ * 50001
811
+ */
812
+ user_id?: string | null;
813
+ /**
814
+ * Organization ID of the user
815
+ * example:
816
+ * 729224
817
+ */
818
+ user_org_id?: string | null;
819
+ /**
820
+ * Custom variables with specified values form other services.
821
+ */
822
+ custom_variables?: ExternalCustomVariable[];
823
+ /**
824
+ * If context data is available, this data will be used for variable replace.
825
+ */
826
+ context_data?: {
827
+ [key: string]: any;
828
+ };
829
+ /**
830
+ * The name of email template
831
+ */
832
+ template_name?: string;
833
+ /**
834
+ * The tags of email template
835
+ */
836
+ template_tags?: string[];
837
+ /**
838
+ * The Id of email template
839
+ */
840
+ template_id?: string;
841
+ /**
842
+ * The version of the variables syntax supported. Default is 1.0
843
+ * example:
844
+ * 2
845
+ */
846
+ variables_version?: string;
847
+ }
848
+ export interface VariableResult {
849
+ type?: "simple" | "partial";
850
+ /**
851
+ * Payload for the QR data
852
+ */
853
+ qrdata?: string;
854
+ /**
855
+ * Variable group
856
+ */
857
+ group?: string;
858
+ /**
859
+ * The value which is used to insert to template
860
+ */
861
+ insert?: string;
862
+ /**
863
+ * Variable description
864
+ */
865
+ description?: string;
866
+ }
867
+ }
868
+ }
869
+ declare namespace Paths {
870
+ namespace CreateCustomVariable {
871
+ export type RequestBody = Components.Schemas.CustomVariable;
872
+ namespace Responses {
873
+ export type $201 = Components.Schemas.CustomVariable;
874
+ export interface $403 {
875
+ }
876
+ export interface $409 {
877
+ }
878
+ }
879
+ }
880
+ namespace DeleteCustomVariable {
881
+ namespace Parameters {
882
+ export type Id = string;
883
+ }
884
+ export interface PathParameters {
885
+ id: Parameters.Id;
886
+ }
887
+ namespace Responses {
888
+ export interface $204 {
889
+ }
890
+ export interface $403 {
891
+ }
892
+ }
893
+ }
894
+ namespace GetBluePrintTableConfig {
895
+ namespace Responses {
896
+ export type $200 = Components.Schemas.CustomVariable;
897
+ export interface $403 {
898
+ }
899
+ }
900
+ }
901
+ namespace GetCategories {
902
+ namespace Parameters {
903
+ export type Lang = /* 2-letter language code (ISO 639-1) */ Components.Schemas.Language;
904
+ }
905
+ export interface QueryParameters {
906
+ lang?: Parameters.Lang;
907
+ }
908
+ namespace Responses {
909
+ export type $200 = Components.Schemas.CategoryResult[];
910
+ }
911
+ }
912
+ namespace GetCustomVariable {
913
+ namespace Parameters {
914
+ export type Id = string;
915
+ }
916
+ export interface PathParameters {
917
+ id: Parameters.Id;
918
+ }
919
+ namespace Responses {
920
+ export type $200 = Components.Schemas.CustomVariable;
921
+ export interface $403 {
922
+ }
923
+ export interface $404 {
924
+ }
925
+ }
926
+ }
927
+ namespace GetCustomVariables {
928
+ namespace Responses {
929
+ export type $200 = Components.Schemas.CustomVariable[];
930
+ export interface $403 {
931
+ }
932
+ }
933
+ }
934
+ namespace GetVariableContext {
935
+ export interface RequestBody {
936
+ parameters?: Components.Schemas.VariableParameters;
937
+ }
938
+ namespace Responses {
939
+ export type $200 = Components.Schemas.VariableContext;
940
+ }
941
+ }
942
+ namespace ReplaceTemplates {
943
+ export interface RequestBody {
944
+ inputs?: string[];
945
+ parameters?: Components.Schemas.VariableParameters;
946
+ }
947
+ namespace Responses {
948
+ export type $200 = Components.Schemas.ReplacementOutput;
949
+ }
950
+ }
951
+ namespace ReplaceTemplatesV2 {
952
+ export interface RequestBody {
953
+ inputs?: string[];
954
+ parameters?: Components.Schemas.VariableParameters;
955
+ }
956
+ namespace Responses {
957
+ export type $200 = Components.Schemas.ReplacementOutputV2;
958
+ }
959
+ }
960
+ namespace SearchCustomVariables {
961
+ export type RequestBody = Components.Schemas.CustomVariablesSearchParams;
962
+ namespace Responses {
963
+ export interface $200 {
964
+ results?: Components.Schemas.CustomVariable[];
965
+ /**
966
+ * Total number of results
967
+ * example:
968
+ * 100
969
+ */
970
+ hits?: number;
971
+ }
972
+ export interface $403 {
973
+ }
974
+ }
975
+ }
976
+ namespace SearchVariables {
977
+ export interface RequestBody {
978
+ template_type: Components.Schemas.TemplateType;
979
+ /**
980
+ * Search string
981
+ * example:
982
+ * logo
983
+ */
984
+ query: string;
985
+ from?: number;
986
+ size?: number;
987
+ lang?: /* 2-letter language code (ISO 639-1) */ Components.Schemas.Language;
988
+ entity_schemas?: string[];
989
+ }
990
+ namespace Responses {
991
+ export type $200 = Components.Schemas.VariableResult[];
992
+ }
993
+ }
994
+ namespace UpdateCustomVariable {
995
+ namespace Parameters {
996
+ export type Id = string;
997
+ }
998
+ export interface PathParameters {
999
+ id: Parameters.Id;
1000
+ }
1001
+ export type RequestBody = Components.Schemas.CustomVariable;
1002
+ namespace Responses {
1003
+ export type $200 = Components.Schemas.CustomVariable;
1004
+ export interface $403 {
1005
+ }
1006
+ export interface $409 {
1007
+ }
1008
+ }
1009
+ }
1010
+ }
1011
+
1012
+
1013
+ interface OperationMethods {
1014
+ /**
1015
+ * getCategories - getCategories
1016
+ *
1017
+ * Get all template variable categories
1018
+ */
1019
+ 'getCategories'(
1020
+ parameters?: Parameters<Paths.GetCategories.QueryParameters> | null,
1021
+ data?: any,
1022
+ config?: AxiosRequestConfig
1023
+ ): OperationResponse<Paths.GetCategories.Responses.$200>
1024
+ /**
1025
+ * searchVariables - searchVariables
1026
+ *
1027
+ * Search variables
1028
+ */
1029
+ 'searchVariables'(
1030
+ parameters?: Parameters<UnknownParamsObject> | null,
1031
+ data?: Paths.SearchVariables.RequestBody,
1032
+ config?: AxiosRequestConfig
1033
+ ): OperationResponse<Paths.SearchVariables.Responses.$200>
1034
+ /**
1035
+ * getVariableContext - getVariableContext
1036
+ *
1037
+ * Get full variable context
1038
+ *
1039
+ * Calls Entity API, User API, Brand API and others to construct full context object used for template variable replace
1040
+ *
1041
+ */
1042
+ 'getVariableContext'(
1043
+ parameters?: Parameters<UnknownParamsObject> | null,
1044
+ data?: Paths.GetVariableContext.RequestBody,
1045
+ config?: AxiosRequestConfig
1046
+ ): OperationResponse<Paths.GetVariableContext.Responses.$200>
1047
+ /**
1048
+ * replaceTemplates - replaceTemplates
1049
+ *
1050
+ * Replace variables in handlebars templates
1051
+ *
1052
+ * Takes in an array of input templates and outputs the output text with replaced variables
1053
+ *
1054
+ */
1055
+ 'replaceTemplates'(
1056
+ parameters?: Parameters<UnknownParamsObject> | null,
1057
+ data?: Paths.ReplaceTemplates.RequestBody,
1058
+ config?: AxiosRequestConfig
1059
+ ): OperationResponse<Paths.ReplaceTemplates.Responses.$200>
1060
+ /**
1061
+ * replaceTemplatesV2 - Replace variables in templates (V2)
1062
+ *
1063
+ * Replace variables in handlebars templates with raw value preservation
1064
+ *
1065
+ * V2 returns parsed outputs that preserve the original data types (arrays, objects, strings)
1066
+ * instead of stringifying always. Variables with strings mixed with other variables will be returned in the stringified format.
1067
+ * Alongside the parsed outputs for every single variable.
1068
+ *
1069
+ * Takes in an array of input templates and outputs an object mapping each input and variable
1070
+ * to their rendered values with type preservation.
1071
+ *
1072
+ */
1073
+ 'replaceTemplatesV2'(
1074
+ parameters?: Parameters<UnknownParamsObject> | null,
1075
+ data?: Paths.ReplaceTemplatesV2.RequestBody,
1076
+ config?: AxiosRequestConfig
1077
+ ): OperationResponse<Paths.ReplaceTemplatesV2.Responses.$200>
1078
+ /**
1079
+ * getCustomVariables - Get custom variables
1080
+ *
1081
+ * Get all custom variables of organization
1082
+ */
1083
+ 'getCustomVariables'(
1084
+ parameters?: Parameters<UnknownParamsObject> | null,
1085
+ data?: any,
1086
+ config?: AxiosRequestConfig
1087
+ ): OperationResponse<Paths.GetCustomVariables.Responses.$200>
1088
+ /**
1089
+ * createCustomVariable - Create custom variable
1090
+ *
1091
+ * Create custom variable
1092
+ */
1093
+ 'createCustomVariable'(
1094
+ parameters?: Parameters<UnknownParamsObject> | null,
1095
+ data?: Paths.CreateCustomVariable.RequestBody,
1096
+ config?: AxiosRequestConfig
1097
+ ): OperationResponse<Paths.CreateCustomVariable.Responses.$201>
1098
+ /**
1099
+ * searchCustomVariables - searchCustomVariables
1100
+ *
1101
+ * Search custom variables
1102
+ */
1103
+ 'searchCustomVariables'(
1104
+ parameters?: Parameters<UnknownParamsObject> | null,
1105
+ data?: Paths.SearchCustomVariables.RequestBody,
1106
+ config?: AxiosRequestConfig
1107
+ ): OperationResponse<Paths.SearchCustomVariables.Responses.$200>
1108
+ /**
1109
+ * getCustomVariable - Get custom variable
1110
+ *
1111
+ * Get custom variable
1112
+ */
1113
+ 'getCustomVariable'(
1114
+ parameters?: Parameters<Paths.GetCustomVariable.PathParameters> | null,
1115
+ data?: any,
1116
+ config?: AxiosRequestConfig
1117
+ ): OperationResponse<Paths.GetCustomVariable.Responses.$200>
1118
+ /**
1119
+ * updateCustomVariable - Update custom variable
1120
+ *
1121
+ * Update custom variable
1122
+ */
1123
+ 'updateCustomVariable'(
1124
+ parameters?: Parameters<Paths.UpdateCustomVariable.PathParameters> | null,
1125
+ data?: Paths.UpdateCustomVariable.RequestBody,
1126
+ config?: AxiosRequestConfig
1127
+ ): OperationResponse<Paths.UpdateCustomVariable.Responses.$200>
1128
+ /**
1129
+ * deleteCustomVariable - Delete custom variable
1130
+ *
1131
+ * Immediately and permanently deletes a custom variable
1132
+ */
1133
+ 'deleteCustomVariable'(
1134
+ parameters?: Parameters<Paths.DeleteCustomVariable.PathParameters> | null,
1135
+ data?: any,
1136
+ config?: AxiosRequestConfig
1137
+ ): OperationResponse<Paths.DeleteCustomVariable.Responses.$204>
1138
+ /**
1139
+ * getBluePrintTableConfig - Get default table config
1140
+ *
1141
+ * Get default table config
1142
+ */
1143
+ 'getBluePrintTableConfig'(
1144
+ parameters?: Parameters<UnknownParamsObject> | null,
1145
+ data?: any,
1146
+ config?: AxiosRequestConfig
1147
+ ): OperationResponse<Paths.GetBluePrintTableConfig.Responses.$200>
1148
+ }
1149
+
1150
+ interface PathsDictionary {
1151
+ ['/v1/template-variables/categories']: {
1152
+ /**
1153
+ * getCategories - getCategories
1154
+ *
1155
+ * Get all template variable categories
1156
+ */
1157
+ 'get'(
1158
+ parameters?: Parameters<Paths.GetCategories.QueryParameters> | null,
1159
+ data?: any,
1160
+ config?: AxiosRequestConfig
1161
+ ): OperationResponse<Paths.GetCategories.Responses.$200>
1162
+ }
1163
+ ['/v1/template-variables:search']: {
1164
+ /**
1165
+ * searchVariables - searchVariables
1166
+ *
1167
+ * Search variables
1168
+ */
1169
+ 'post'(
1170
+ parameters?: Parameters<UnknownParamsObject> | null,
1171
+ data?: Paths.SearchVariables.RequestBody,
1172
+ config?: AxiosRequestConfig
1173
+ ): OperationResponse<Paths.SearchVariables.Responses.$200>
1174
+ }
1175
+ ['/v1/template-variables:context']: {
1176
+ /**
1177
+ * getVariableContext - getVariableContext
1178
+ *
1179
+ * Get full variable context
1180
+ *
1181
+ * Calls Entity API, User API, Brand API and others to construct full context object used for template variable replace
1182
+ *
1183
+ */
1184
+ 'post'(
1185
+ parameters?: Parameters<UnknownParamsObject> | null,
1186
+ data?: Paths.GetVariableContext.RequestBody,
1187
+ config?: AxiosRequestConfig
1188
+ ): OperationResponse<Paths.GetVariableContext.Responses.$200>
1189
+ }
1190
+ ['/v1/template-variables:replace']: {
1191
+ /**
1192
+ * replaceTemplates - replaceTemplates
1193
+ *
1194
+ * Replace variables in handlebars templates
1195
+ *
1196
+ * Takes in an array of input templates and outputs the output text with replaced variables
1197
+ *
1198
+ */
1199
+ 'post'(
1200
+ parameters?: Parameters<UnknownParamsObject> | null,
1201
+ data?: Paths.ReplaceTemplates.RequestBody,
1202
+ config?: AxiosRequestConfig
1203
+ ): OperationResponse<Paths.ReplaceTemplates.Responses.$200>
1204
+ }
1205
+ ['/v2/template:replace']: {
1206
+ /**
1207
+ * replaceTemplatesV2 - Replace variables in templates (V2)
1208
+ *
1209
+ * Replace variables in handlebars templates with raw value preservation
1210
+ *
1211
+ * V2 returns parsed outputs that preserve the original data types (arrays, objects, strings)
1212
+ * instead of stringifying always. Variables with strings mixed with other variables will be returned in the stringified format.
1213
+ * Alongside the parsed outputs for every single variable.
1214
+ *
1215
+ * Takes in an array of input templates and outputs an object mapping each input and variable
1216
+ * to their rendered values with type preservation.
1217
+ *
1218
+ */
1219
+ 'post'(
1220
+ parameters?: Parameters<UnknownParamsObject> | null,
1221
+ data?: Paths.ReplaceTemplatesV2.RequestBody,
1222
+ config?: AxiosRequestConfig
1223
+ ): OperationResponse<Paths.ReplaceTemplatesV2.Responses.$200>
1224
+ }
1225
+ ['/v1/custom-variables']: {
1226
+ /**
1227
+ * getCustomVariables - Get custom variables
1228
+ *
1229
+ * Get all custom variables of organization
1230
+ */
1231
+ 'get'(
1232
+ parameters?: Parameters<UnknownParamsObject> | null,
1233
+ data?: any,
1234
+ config?: AxiosRequestConfig
1235
+ ): OperationResponse<Paths.GetCustomVariables.Responses.$200>
1236
+ /**
1237
+ * createCustomVariable - Create custom variable
1238
+ *
1239
+ * Create custom variable
1240
+ */
1241
+ 'post'(
1242
+ parameters?: Parameters<UnknownParamsObject> | null,
1243
+ data?: Paths.CreateCustomVariable.RequestBody,
1244
+ config?: AxiosRequestConfig
1245
+ ): OperationResponse<Paths.CreateCustomVariable.Responses.$201>
1246
+ }
1247
+ ['/v1/custom-variables:search']: {
1248
+ /**
1249
+ * searchCustomVariables - searchCustomVariables
1250
+ *
1251
+ * Search custom variables
1252
+ */
1253
+ 'post'(
1254
+ parameters?: Parameters<UnknownParamsObject> | null,
1255
+ data?: Paths.SearchCustomVariables.RequestBody,
1256
+ config?: AxiosRequestConfig
1257
+ ): OperationResponse<Paths.SearchCustomVariables.Responses.$200>
1258
+ }
1259
+ ['/v1/custom-variables/{id}']: {
1260
+ /**
1261
+ * updateCustomVariable - Update custom variable
1262
+ *
1263
+ * Update custom variable
1264
+ */
1265
+ 'put'(
1266
+ parameters?: Parameters<Paths.UpdateCustomVariable.PathParameters> | null,
1267
+ data?: Paths.UpdateCustomVariable.RequestBody,
1268
+ config?: AxiosRequestConfig
1269
+ ): OperationResponse<Paths.UpdateCustomVariable.Responses.$200>
1270
+ /**
1271
+ * getCustomVariable - Get custom variable
1272
+ *
1273
+ * Get custom variable
1274
+ */
1275
+ 'get'(
1276
+ parameters?: Parameters<Paths.GetCustomVariable.PathParameters> | null,
1277
+ data?: any,
1278
+ config?: AxiosRequestConfig
1279
+ ): OperationResponse<Paths.GetCustomVariable.Responses.$200>
1280
+ /**
1281
+ * deleteCustomVariable - Delete custom variable
1282
+ *
1283
+ * Immediately and permanently deletes a custom variable
1284
+ */
1285
+ 'delete'(
1286
+ parameters?: Parameters<Paths.DeleteCustomVariable.PathParameters> | null,
1287
+ data?: any,
1288
+ config?: AxiosRequestConfig
1289
+ ): OperationResponse<Paths.DeleteCustomVariable.Responses.$204>
1290
+ }
1291
+ ['/v1/custom-variables/order-table-blueprint']: {
1292
+ /**
1293
+ * getBluePrintTableConfig - Get default table config
1294
+ *
1295
+ * Get default table config
1296
+ */
1297
+ 'get'(
1298
+ parameters?: Parameters<UnknownParamsObject> | null,
1299
+ data?: any,
1300
+ config?: AxiosRequestConfig
1301
+ ): OperationResponse<Paths.GetBluePrintTableConfig.Responses.$200>
1302
+ }
1303
+ }
1304
+
1305
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1306
+
1307
+
1308
+ type CategoryResult = Components.Schemas.CategoryResult;
1309
+ type CustomVariable = Components.Schemas.CustomVariable;
1310
+ type CustomVariablesSearchParams = Components.Schemas.CustomVariablesSearchParams;
1311
+ type ExternalCustomVariable = Components.Schemas.ExternalCustomVariable;
1312
+ type Language = Components.Schemas.Language;
1313
+ type ReplacementOutput = Components.Schemas.ReplacementOutput;
1314
+ type ReplacementOutputV2 = Components.Schemas.ReplacementOutputV2;
1315
+ type TemplateType = Components.Schemas.TemplateType;
1316
+ type VariableContext = Components.Schemas.VariableContext;
1317
+ type VariableParameters = Components.Schemas.VariableParameters;
1318
+ type VariableResult = Components.Schemas.VariableResult;
1319
+
1320
+ export { type Client as C, type ExternalCustomVariable as E, type Language as L, type OperationMethods as O, Paths as P, type ReplacementOutput as R, type TemplateType as T, type VariableContext as V, Components as a, type PathsDictionary as b, type CategoryResult as c, type CustomVariable as d, type CustomVariablesSearchParams as e, type ReplacementOutputV2 as f, type VariableParameters as g, type VariableResult as h };