@gbg/go-core 0.1.2 → 0.2.0-alpha.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 (853) hide show
  1. package/FUNCTIONS.md +6 -4
  2. package/README.md +92 -61
  3. package/dist/commonjs/funcs/addresses-retrieve.d.ts +19 -0
  4. package/dist/commonjs/funcs/addresses-retrieve.d.ts.map +1 -0
  5. package/dist/commonjs/funcs/{tasks-list.js → addresses-retrieve.js} +21 -10
  6. package/dist/commonjs/funcs/addresses-retrieve.js.map +1 -0
  7. package/dist/{esm/funcs/tasks-list-schema.d.ts → commonjs/funcs/addresses-search.d.ts} +6 -6
  8. package/dist/commonjs/funcs/addresses-search.d.ts.map +1 -0
  9. package/dist/commonjs/funcs/{tasks-update.js → addresses-search.js} +21 -10
  10. package/dist/commonjs/funcs/addresses-search.js.map +1 -0
  11. package/dist/commonjs/funcs/devices-add.d.ts +5 -3
  12. package/dist/commonjs/funcs/devices-add.d.ts.map +1 -1
  13. package/dist/commonjs/funcs/devices-add.js +9 -4
  14. package/dist/commonjs/funcs/devices-add.js.map +1 -1
  15. package/dist/commonjs/funcs/devices-connect.d.ts +5 -3
  16. package/dist/commonjs/funcs/devices-connect.d.ts.map +1 -1
  17. package/dist/commonjs/funcs/devices-connect.js +11 -8
  18. package/dist/commonjs/funcs/devices-connect.js.map +1 -1
  19. package/dist/{esm/funcs/health-get.d.ts → commonjs/funcs/devices-refresh.d.ts} +6 -5
  20. package/dist/commonjs/funcs/devices-refresh.d.ts.map +1 -0
  21. package/dist/commonjs/funcs/{health-get.js → devices-refresh.js} +16 -17
  22. package/dist/commonjs/funcs/devices-refresh.js.map +1 -0
  23. package/dist/commonjs/funcs/{health-get.d.ts → devices-validate.d.ts} +6 -4
  24. package/dist/commonjs/funcs/devices-validate.d.ts.map +1 -0
  25. package/dist/commonjs/funcs/devices-validate.js +113 -0
  26. package/dist/commonjs/funcs/devices-validate.js.map +1 -0
  27. package/dist/commonjs/funcs/instances-delete.d.ts +5 -3
  28. package/dist/commonjs/funcs/instances-delete.d.ts.map +1 -1
  29. package/dist/commonjs/funcs/instances-delete.js +9 -4
  30. package/dist/commonjs/funcs/instances-delete.js.map +1 -1
  31. package/dist/commonjs/funcs/instances-handoff-token.d.ts +19 -0
  32. package/dist/commonjs/funcs/instances-handoff-token.d.ts.map +1 -0
  33. package/dist/commonjs/funcs/instances-handoff-token.js +130 -0
  34. package/dist/commonjs/funcs/instances-handoff-token.js.map +1 -0
  35. package/dist/commonjs/funcs/interactions-fetch.d.ts +4 -3
  36. package/dist/commonjs/funcs/interactions-fetch.d.ts.map +1 -1
  37. package/dist/commonjs/funcs/interactions-fetch.js +19 -7
  38. package/dist/commonjs/funcs/interactions-fetch.js.map +1 -1
  39. package/dist/commonjs/funcs/interactions-submit.d.ts +5 -3
  40. package/dist/commonjs/funcs/interactions-submit.d.ts.map +1 -1
  41. package/dist/commonjs/funcs/interactions-submit.js +15 -4
  42. package/dist/commonjs/funcs/interactions-submit.js.map +1 -1
  43. package/dist/commonjs/funcs/interactions-upload-asset.d.ts +18 -0
  44. package/dist/commonjs/funcs/interactions-upload-asset.d.ts.map +1 -0
  45. package/dist/commonjs/funcs/interactions-upload-asset.js +119 -0
  46. package/dist/commonjs/funcs/interactions-upload-asset.js.map +1 -0
  47. package/dist/commonjs/funcs/journeys-get-schemas.d.ts +46 -0
  48. package/dist/commonjs/funcs/journeys-get-schemas.d.ts.map +1 -0
  49. package/dist/commonjs/funcs/journeys-get-schemas.js +150 -0
  50. package/dist/commonjs/funcs/journeys-get-schemas.js.map +1 -0
  51. package/dist/commonjs/funcs/journeys-get-state.d.ts +4 -3
  52. package/dist/commonjs/funcs/journeys-get-state.d.ts.map +1 -1
  53. package/dist/commonjs/funcs/journeys-get-state.js +13 -7
  54. package/dist/commonjs/funcs/journeys-get-state.js.map +1 -1
  55. package/dist/commonjs/funcs/journeys-start.d.ts +5 -3
  56. package/dist/commonjs/funcs/journeys-start.d.ts.map +1 -1
  57. package/dist/commonjs/funcs/journeys-start.js +9 -4
  58. package/dist/commonjs/funcs/journeys-start.js.map +1 -1
  59. package/dist/commonjs/funcs/journeys-terminate.d.ts +21 -0
  60. package/dist/commonjs/funcs/journeys-terminate.d.ts.map +1 -0
  61. package/dist/commonjs/funcs/{tasks-list-schema.js → journeys-terminate.js} +14 -9
  62. package/dist/commonjs/funcs/journeys-terminate.js.map +1 -0
  63. package/dist/commonjs/funcs/sandbox-create-scenario.d.ts +21 -0
  64. package/dist/commonjs/funcs/sandbox-create-scenario.d.ts.map +1 -0
  65. package/dist/commonjs/funcs/sandbox-create-scenario.js +129 -0
  66. package/dist/commonjs/funcs/sandbox-create-scenario.js.map +1 -0
  67. package/dist/commonjs/funcs/sandbox-delete-scenario.d.ts +20 -0
  68. package/dist/commonjs/funcs/sandbox-delete-scenario.d.ts.map +1 -0
  69. package/dist/commonjs/funcs/sandbox-delete-scenario.js +131 -0
  70. package/dist/commonjs/funcs/sandbox-delete-scenario.js.map +1 -0
  71. package/dist/commonjs/funcs/sandbox-get-scenario.d.ts +21 -0
  72. package/dist/commonjs/funcs/sandbox-get-scenario.d.ts.map +1 -0
  73. package/dist/commonjs/funcs/sandbox-get-scenario.js +136 -0
  74. package/dist/commonjs/funcs/sandbox-get-scenario.js.map +1 -0
  75. package/dist/commonjs/funcs/sandbox-list-scenarios.d.ts +21 -0
  76. package/dist/commonjs/funcs/sandbox-list-scenarios.d.ts.map +1 -0
  77. package/dist/commonjs/funcs/sandbox-list-scenarios.js +132 -0
  78. package/dist/commonjs/funcs/sandbox-list-scenarios.js.map +1 -0
  79. package/dist/commonjs/funcs/sandbox-put-scenario.d.ts +21 -0
  80. package/dist/commonjs/funcs/sandbox-put-scenario.d.ts.map +1 -0
  81. package/dist/commonjs/funcs/sandbox-put-scenario.js +133 -0
  82. package/dist/commonjs/funcs/sandbox-put-scenario.js.map +1 -0
  83. package/dist/commonjs/funcs/tasks-get-schema.d.ts +8 -3
  84. package/dist/commonjs/funcs/tasks-get-schema.d.ts.map +1 -1
  85. package/dist/commonjs/funcs/tasks-get-schema.js +10 -4
  86. package/dist/commonjs/funcs/tasks-get-schema.js.map +1 -1
  87. package/dist/commonjs/funcs/tokens-generate.js +1 -1
  88. package/dist/commonjs/funcs/tokens-generate.js.map +1 -1
  89. package/dist/commonjs/lib/config.d.ts +5 -5
  90. package/dist/commonjs/lib/config.d.ts.map +1 -1
  91. package/dist/commonjs/lib/config.js +16 -7
  92. package/dist/commonjs/lib/config.js.map +1 -1
  93. package/dist/commonjs/models/create-sandbox-scenario-request.d.ts +29 -0
  94. package/dist/commonjs/models/create-sandbox-scenario-request.d.ts.map +1 -0
  95. package/dist/commonjs/models/create-sandbox-scenario-request.js +56 -0
  96. package/dist/commonjs/models/create-sandbox-scenario-request.js.map +1 -0
  97. package/dist/commonjs/models/delete-response.d.ts +19 -0
  98. package/dist/commonjs/models/delete-response.d.ts.map +1 -0
  99. package/dist/commonjs/models/delete-response.js +58 -0
  100. package/dist/commonjs/models/delete-response.js.map +1 -0
  101. package/dist/commonjs/models/device-connect-response.d.ts +23 -0
  102. package/dist/commonjs/models/device-connect-response.d.ts.map +1 -0
  103. package/dist/commonjs/models/device-connect-response.js +62 -0
  104. package/dist/commonjs/models/device-connect-response.js.map +1 -0
  105. package/dist/commonjs/models/device-refresh-response.d.ts +16 -0
  106. package/dist/commonjs/models/device-refresh-response.d.ts.map +1 -0
  107. package/dist/commonjs/models/device-refresh-response.js +57 -0
  108. package/dist/commonjs/models/device-refresh-response.js.map +1 -0
  109. package/dist/commonjs/models/device-start-response.d.ts +20 -0
  110. package/dist/commonjs/models/device-start-response.d.ts.map +1 -0
  111. package/dist/commonjs/models/device-start-response.js +59 -0
  112. package/dist/commonjs/models/device-start-response.js.map +1 -0
  113. package/dist/commonjs/models/device-validate-response.d.ts +14 -0
  114. package/dist/commonjs/models/device-validate-response.d.ts.map +1 -0
  115. package/dist/commonjs/models/device-validate-response.js +55 -0
  116. package/dist/commonjs/models/device-validate-response.js.map +1 -0
  117. package/dist/commonjs/models/errors/error-response.d.ts +19 -0
  118. package/dist/commonjs/models/errors/error-response.d.ts.map +1 -0
  119. package/dist/commonjs/models/errors/error-response.js +68 -0
  120. package/dist/commonjs/models/errors/error-response.js.map +1 -0
  121. package/dist/commonjs/models/errors/index.d.ts +1 -0
  122. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  123. package/dist/commonjs/models/errors/index.js +1 -0
  124. package/dist/commonjs/models/errors/index.js.map +1 -1
  125. package/dist/commonjs/models/gbg-error.d.ts +28 -0
  126. package/dist/commonjs/models/gbg-error.d.ts.map +1 -0
  127. package/dist/commonjs/models/gbg-error.js +69 -0
  128. package/dist/commonjs/models/gbg-error.js.map +1 -0
  129. package/dist/commonjs/models/handoff-token-response.d.ts +20 -0
  130. package/dist/commonjs/models/handoff-token-response.d.ts.map +1 -0
  131. package/dist/commonjs/models/handoff-token-response.js +60 -0
  132. package/dist/commonjs/models/handoff-token-response.js.map +1 -0
  133. package/dist/commonjs/models/index.d.ts +30 -0
  134. package/dist/commonjs/models/index.d.ts.map +1 -1
  135. package/dist/commonjs/models/index.js +30 -0
  136. package/dist/commonjs/models/index.js.map +1 -1
  137. package/dist/commonjs/models/interaction-fetch-response.d.ts +53 -0
  138. package/dist/commonjs/models/interaction-fetch-response.d.ts.map +1 -0
  139. package/dist/commonjs/models/interaction-fetch-response.js +92 -0
  140. package/dist/commonjs/models/interaction-fetch-response.js.map +1 -0
  141. package/dist/commonjs/models/interaction-submit-response.d.ts +17 -0
  142. package/dist/commonjs/models/interaction-submit-response.d.ts.map +1 -0
  143. package/dist/commonjs/models/interaction-submit-response.js +55 -0
  144. package/dist/commonjs/models/interaction-submit-response.js.map +1 -0
  145. package/dist/commonjs/models/journey-start-response.d.ts +27 -0
  146. package/dist/commonjs/models/journey-start-response.d.ts.map +1 -0
  147. package/dist/commonjs/models/journey-start-response.js +67 -0
  148. package/dist/commonjs/models/journey-start-response.js.map +1 -0
  149. package/dist/commonjs/models/loqate-retrieve-response.d.ts +12 -0
  150. package/dist/commonjs/models/loqate-retrieve-response.d.ts.map +1 -0
  151. package/dist/commonjs/models/loqate-retrieve-response.js +55 -0
  152. package/dist/commonjs/models/loqate-retrieve-response.js.map +1 -0
  153. package/dist/commonjs/models/loqate-search-response.d.ts +12 -0
  154. package/dist/commonjs/models/loqate-search-response.d.ts.map +1 -0
  155. package/dist/commonjs/models/loqate-search-response.js +55 -0
  156. package/dist/commonjs/models/loqate-search-response.js.map +1 -0
  157. package/dist/commonjs/models/operations/add-device.d.ts +8 -92
  158. package/dist/commonjs/models/operations/add-device.d.ts.map +1 -1
  159. package/dist/commonjs/models/operations/add-device.js +6 -76
  160. package/dist/commonjs/models/operations/add-device.js.map +1 -1
  161. package/dist/commonjs/models/operations/create-handoff-token.d.ts +22 -0
  162. package/dist/commonjs/models/operations/create-handoff-token.d.ts.map +1 -0
  163. package/dist/commonjs/models/operations/create-handoff-token.js +62 -0
  164. package/dist/commonjs/models/operations/create-handoff-token.js.map +1 -0
  165. package/dist/commonjs/models/operations/create-sandbox-scenario.d.ts +18 -0
  166. package/dist/commonjs/models/operations/create-sandbox-scenario.d.ts.map +1 -0
  167. package/dist/commonjs/models/operations/create-sandbox-scenario.js +51 -0
  168. package/dist/commonjs/models/operations/create-sandbox-scenario.js.map +1 -0
  169. package/dist/commonjs/models/operations/delete-instance.d.ts +1 -14
  170. package/dist/commonjs/models/operations/delete-instance.d.ts.map +1 -1
  171. package/dist/commonjs/models/operations/delete-instance.js +3 -13
  172. package/dist/commonjs/models/operations/delete-instance.js.map +1 -1
  173. package/dist/commonjs/models/operations/delete-sandbox-scenario.d.ts +20 -0
  174. package/dist/commonjs/models/operations/delete-sandbox-scenario.d.ts.map +1 -0
  175. package/dist/commonjs/models/operations/delete-sandbox-scenario.js +50 -0
  176. package/dist/commonjs/models/operations/delete-sandbox-scenario.js.map +1 -0
  177. package/dist/commonjs/models/operations/device-connect.d.ts +0 -59
  178. package/dist/commonjs/models/operations/device-connect.d.ts.map +1 -1
  179. package/dist/commonjs/models/operations/device-connect.js +1 -50
  180. package/dist/commonjs/models/operations/device-connect.js.map +1 -1
  181. package/dist/commonjs/models/operations/device-validate.d.ts +12 -0
  182. package/dist/commonjs/models/operations/device-validate.d.ts.map +1 -0
  183. package/dist/commonjs/models/operations/device-validate.js +54 -0
  184. package/dist/commonjs/models/operations/device-validate.js.map +1 -0
  185. package/dist/commonjs/models/operations/fetch-interaction.d.ts +34 -1621
  186. package/dist/commonjs/models/operations/fetch-interaction.d.ts.map +1 -1
  187. package/dist/commonjs/models/operations/fetch-interaction.js +22 -1334
  188. package/dist/commonjs/models/operations/fetch-interaction.js.map +1 -1
  189. package/dist/commonjs/models/operations/get-journey-schemas.d.ts +16 -0
  190. package/dist/commonjs/models/operations/get-journey-schemas.d.ts.map +1 -0
  191. package/dist/commonjs/models/operations/get-journey-schemas.js +51 -0
  192. package/dist/commonjs/models/operations/get-journey-schemas.js.map +1 -0
  193. package/dist/commonjs/models/operations/get-journey-state.d.ts +16 -1383
  194. package/dist/commonjs/models/operations/get-journey-state.d.ts.map +1 -1
  195. package/dist/commonjs/models/operations/get-journey-state.js +14 -1067
  196. package/dist/commonjs/models/operations/get-journey-state.js.map +1 -1
  197. package/dist/commonjs/models/operations/get-sandbox-scenario.d.ts +39 -0
  198. package/dist/commonjs/models/operations/get-sandbox-scenario.d.ts.map +1 -0
  199. package/dist/commonjs/models/operations/get-sandbox-scenario.js +60 -0
  200. package/dist/commonjs/models/operations/get-sandbox-scenario.js.map +1 -0
  201. package/dist/commonjs/models/operations/get-task-schema.d.ts +1 -17
  202. package/dist/commonjs/models/operations/get-task-schema.d.ts.map +1 -1
  203. package/dist/commonjs/models/operations/get-task-schema.js +1 -19
  204. package/dist/commonjs/models/operations/get-task-schema.js.map +1 -1
  205. package/dist/commonjs/models/operations/index.d.ts +12 -4
  206. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  207. package/dist/commonjs/models/operations/index.js +12 -4
  208. package/dist/commonjs/models/operations/index.js.map +1 -1
  209. package/dist/commonjs/models/operations/list-sandbox-scenarios.d.ts +34 -0
  210. package/dist/commonjs/models/operations/list-sandbox-scenarios.d.ts.map +1 -0
  211. package/dist/commonjs/models/operations/list-sandbox-scenarios.js +59 -0
  212. package/dist/commonjs/models/operations/list-sandbox-scenarios.js.map +1 -0
  213. package/dist/commonjs/models/operations/post-as-token-oauth2.d.ts +2 -2
  214. package/dist/commonjs/models/operations/post-as-token-oauth2.d.ts.map +1 -1
  215. package/dist/commonjs/models/operations/post-as-token-oauth2.js +1 -1
  216. package/dist/commonjs/models/operations/post-as-token-oauth2.js.map +1 -1
  217. package/dist/commonjs/models/operations/put-sandbox-scenario.d.ts +23 -0
  218. package/dist/commonjs/models/operations/put-sandbox-scenario.d.ts.map +1 -0
  219. package/dist/commonjs/models/operations/put-sandbox-scenario.js +52 -0
  220. package/dist/commonjs/models/operations/put-sandbox-scenario.js.map +1 -0
  221. package/dist/commonjs/models/operations/retrieve-address.d.ts +29 -0
  222. package/dist/commonjs/models/operations/retrieve-address.d.ts.map +1 -0
  223. package/dist/commonjs/models/operations/retrieve-address.js +65 -0
  224. package/dist/commonjs/models/operations/retrieve-address.js.map +1 -0
  225. package/dist/commonjs/models/operations/search-addresses.d.ts +33 -0
  226. package/dist/commonjs/models/operations/search-addresses.d.ts.map +1 -0
  227. package/dist/commonjs/models/operations/search-addresses.js +67 -0
  228. package/dist/commonjs/models/operations/search-addresses.js.map +1 -0
  229. package/dist/commonjs/models/operations/start-journey.d.ts +1071 -108
  230. package/dist/commonjs/models/operations/start-journey.d.ts.map +1 -1
  231. package/dist/commonjs/models/operations/start-journey.js +504 -62
  232. package/dist/commonjs/models/operations/start-journey.js.map +1 -1
  233. package/dist/commonjs/models/operations/submit-interaction.d.ts +989 -92
  234. package/dist/commonjs/models/operations/submit-interaction.d.ts.map +1 -1
  235. package/dist/commonjs/models/operations/submit-interaction.js +464 -50
  236. package/dist/commonjs/models/operations/submit-interaction.js.map +1 -1
  237. package/dist/commonjs/models/operations/terminate-journey.d.ts +19 -0
  238. package/dist/commonjs/models/operations/terminate-journey.d.ts.map +1 -0
  239. package/dist/commonjs/models/operations/terminate-journey.js +50 -0
  240. package/dist/commonjs/models/operations/terminate-journey.js.map +1 -0
  241. package/dist/commonjs/models/operations/upload-interaction-asset.d.ts +26 -0
  242. package/dist/commonjs/models/operations/upload-interaction-asset.d.ts.map +1 -0
  243. package/dist/commonjs/models/operations/upload-interaction-asset.js +67 -0
  244. package/dist/commonjs/models/operations/upload-interaction-asset.js.map +1 -0
  245. package/dist/commonjs/models/sandbox-scenario-summary.d.ts +29 -0
  246. package/dist/commonjs/models/sandbox-scenario-summary.d.ts.map +1 -0
  247. package/dist/commonjs/models/sandbox-scenario-summary.js +63 -0
  248. package/dist/commonjs/models/sandbox-scenario-summary.js.map +1 -0
  249. package/dist/commonjs/models/sandbox-scenario-written.d.ts +19 -0
  250. package/dist/commonjs/models/sandbox-scenario-written.d.ts.map +1 -0
  251. package/dist/commonjs/models/sandbox-scenario-written.js +58 -0
  252. package/dist/commonjs/models/sandbox-scenario-written.js.map +1 -0
  253. package/dist/commonjs/models/sandbox-scenario.d.ts +31 -0
  254. package/dist/commonjs/models/sandbox-scenario.d.ts.map +1 -0
  255. package/dist/commonjs/models/sandbox-scenario.js +63 -0
  256. package/dist/commonjs/models/sandbox-scenario.js.map +1 -0
  257. package/dist/commonjs/models/schema-fetch-response.d.ts +22 -0
  258. package/dist/commonjs/models/schema-fetch-response.d.ts.map +1 -0
  259. package/dist/commonjs/models/schema-fetch-response.js +63 -0
  260. package/dist/commonjs/models/schema-fetch-response.js.map +1 -0
  261. package/dist/commonjs/models/slim-document.d.ts +57 -0
  262. package/dist/commonjs/models/slim-document.d.ts.map +1 -0
  263. package/dist/commonjs/models/slim-document.js +93 -0
  264. package/dist/commonjs/models/slim-document.js.map +1 -0
  265. package/dist/commonjs/models/slim-extraction.d.ts +74 -0
  266. package/dist/commonjs/models/slim-extraction.d.ts.map +1 -0
  267. package/dist/commonjs/models/slim-extraction.js +129 -0
  268. package/dist/commonjs/models/slim-extraction.js.map +1 -0
  269. package/dist/commonjs/models/slim-identity.d.ts +202 -0
  270. package/dist/commonjs/models/slim-identity.d.ts.map +1 -0
  271. package/dist/commonjs/models/slim-identity.js +143 -0
  272. package/dist/commonjs/models/slim-identity.js.map +1 -0
  273. package/dist/commonjs/models/slim-interaction-fetch-response.d.ts +58 -0
  274. package/dist/commonjs/models/slim-interaction-fetch-response.d.ts.map +1 -0
  275. package/dist/commonjs/models/slim-interaction-fetch-response.js +102 -0
  276. package/dist/commonjs/models/slim-interaction-fetch-response.js.map +1 -0
  277. package/dist/commonjs/models/slim-journey.d.ts +14 -0
  278. package/dist/commonjs/models/slim-journey.d.ts.map +1 -0
  279. package/dist/commonjs/models/slim-journey.js +56 -0
  280. package/dist/commonjs/models/slim-journey.js.map +1 -0
  281. package/dist/commonjs/models/slim-result.d.ts +46 -0
  282. package/dist/commonjs/models/slim-result.d.ts.map +1 -0
  283. package/dist/commonjs/models/slim-result.js +77 -0
  284. package/dist/commonjs/models/slim-result.js.map +1 -0
  285. package/dist/commonjs/models/slim-state-fetch-response.d.ts +26 -0
  286. package/dist/commonjs/models/slim-state-fetch-response.d.ts.map +1 -0
  287. package/dist/commonjs/models/slim-state-fetch-response.js +66 -0
  288. package/dist/commonjs/models/slim-state-fetch-response.js.map +1 -0
  289. package/dist/commonjs/models/slim-step.d.ts +22 -0
  290. package/dist/commonjs/models/slim-step.d.ts.map +1 -0
  291. package/dist/commonjs/models/slim-step.js +63 -0
  292. package/dist/commonjs/models/slim-step.js.map +1 -0
  293. package/dist/commonjs/models/slim-validation.d.ts +69 -0
  294. package/dist/commonjs/models/slim-validation.d.ts.map +1 -0
  295. package/dist/commonjs/models/slim-validation.js +122 -0
  296. package/dist/commonjs/models/slim-validation.js.map +1 -0
  297. package/dist/commonjs/models/slim-verified-data.d.ts +16 -0
  298. package/dist/commonjs/models/slim-verified-data.d.ts.map +1 -0
  299. package/dist/commonjs/models/slim-verified-data.js +54 -0
  300. package/dist/commonjs/models/slim-verified-data.js.map +1 -0
  301. package/dist/commonjs/models/state-fetch-response.d.ts +17 -0
  302. package/dist/commonjs/models/state-fetch-response.d.ts.map +1 -0
  303. package/dist/commonjs/models/state-fetch-response.js +54 -0
  304. package/dist/commonjs/models/state-fetch-response.js.map +1 -0
  305. package/dist/commonjs/models/terminate-response.d.ts +10 -0
  306. package/dist/commonjs/models/terminate-response.d.ts.map +1 -0
  307. package/dist/commonjs/models/{operations/health.js → terminate-response.js} +10 -10
  308. package/dist/commonjs/models/terminate-response.js.map +1 -0
  309. package/dist/commonjs/models/update-sandbox-scenario-request.d.ts +24 -0
  310. package/dist/commonjs/models/update-sandbox-scenario-request.d.ts.map +1 -0
  311. package/dist/commonjs/models/update-sandbox-scenario-request.js +55 -0
  312. package/dist/commonjs/models/update-sandbox-scenario-request.js.map +1 -0
  313. package/dist/commonjs/sdk/addresses.d.ts +20 -0
  314. package/dist/commonjs/sdk/addresses.d.ts.map +1 -0
  315. package/dist/commonjs/sdk/addresses.js +32 -0
  316. package/dist/commonjs/sdk/addresses.js.map +1 -0
  317. package/dist/commonjs/sdk/devices.d.ts +21 -6
  318. package/dist/commonjs/sdk/devices.d.ts.map +1 -1
  319. package/dist/commonjs/sdk/devices.js +26 -6
  320. package/dist/commonjs/sdk/devices.js.map +1 -1
  321. package/dist/commonjs/sdk/instances.d.ts +11 -3
  322. package/dist/commonjs/sdk/instances.d.ts.map +1 -1
  323. package/dist/commonjs/sdk/instances.js +12 -2
  324. package/dist/commonjs/sdk/instances.js.map +1 -1
  325. package/dist/commonjs/sdk/interactions.d.ts +14 -6
  326. package/dist/commonjs/sdk/interactions.d.ts.map +1 -1
  327. package/dist/commonjs/sdk/interactions.js +16 -6
  328. package/dist/commonjs/sdk/interactions.js.map +1 -1
  329. package/dist/commonjs/sdk/journeys.d.ts +45 -5
  330. package/dist/commonjs/sdk/journeys.d.ts.map +1 -1
  331. package/dist/commonjs/sdk/journeys.js +49 -4
  332. package/dist/commonjs/sdk/journeys.js.map +1 -1
  333. package/dist/commonjs/sdk/sandbox.d.ts +41 -0
  334. package/dist/commonjs/sdk/sandbox.d.ts.map +1 -0
  335. package/dist/commonjs/sdk/sandbox.js +62 -0
  336. package/dist/commonjs/sdk/sandbox.js.map +1 -0
  337. package/dist/commonjs/sdk/sdk.d.ts +14 -11
  338. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  339. package/dist/commonjs/sdk/sdk.js +17 -13
  340. package/dist/commonjs/sdk/sdk.js.map +1 -1
  341. package/dist/commonjs/sdk/tasks.d.ts +6 -23
  342. package/dist/commonjs/sdk/tasks.d.ts.map +1 -1
  343. package/dist/commonjs/sdk/tasks.js +3 -31
  344. package/dist/commonjs/sdk/tasks.js.map +1 -1
  345. package/dist/commonjs/types/smart-union.d.ts.map +1 -1
  346. package/dist/commonjs/types/smart-union.js +14 -10
  347. package/dist/commonjs/types/smart-union.js.map +1 -1
  348. package/dist/esm/funcs/addresses-retrieve.d.ts +19 -0
  349. package/dist/esm/funcs/addresses-retrieve.d.ts.map +1 -0
  350. package/dist/esm/funcs/{tasks-update.js → addresses-retrieve.js} +20 -9
  351. package/dist/esm/funcs/addresses-retrieve.js.map +1 -0
  352. package/dist/{commonjs/funcs/tasks-list-schema.d.ts → esm/funcs/addresses-search.d.ts} +6 -6
  353. package/dist/esm/funcs/addresses-search.d.ts.map +1 -0
  354. package/dist/esm/funcs/{tasks-list.js → addresses-search.js} +20 -9
  355. package/dist/esm/funcs/addresses-search.js.map +1 -0
  356. package/dist/esm/funcs/devices-add.d.ts +5 -3
  357. package/dist/esm/funcs/devices-add.d.ts.map +1 -1
  358. package/dist/esm/funcs/devices-add.js +9 -4
  359. package/dist/esm/funcs/devices-add.js.map +1 -1
  360. package/dist/esm/funcs/devices-connect.d.ts +5 -3
  361. package/dist/esm/funcs/devices-connect.d.ts.map +1 -1
  362. package/dist/esm/funcs/devices-connect.js +11 -8
  363. package/dist/esm/funcs/devices-connect.js.map +1 -1
  364. package/dist/{commonjs/funcs/tasks-update.d.ts → esm/funcs/devices-refresh.d.ts} +6 -5
  365. package/dist/esm/funcs/devices-refresh.d.ts.map +1 -0
  366. package/dist/esm/funcs/{health-get.js → devices-refresh.js} +15 -16
  367. package/dist/esm/funcs/devices-refresh.js.map +1 -0
  368. package/dist/{commonjs/funcs/tasks-list.d.ts → esm/funcs/devices-validate.d.ts} +6 -4
  369. package/dist/esm/funcs/devices-validate.d.ts.map +1 -0
  370. package/dist/esm/funcs/devices-validate.js +77 -0
  371. package/dist/esm/funcs/devices-validate.js.map +1 -0
  372. package/dist/esm/funcs/instances-delete.d.ts +5 -3
  373. package/dist/esm/funcs/instances-delete.d.ts.map +1 -1
  374. package/dist/esm/funcs/instances-delete.js +9 -4
  375. package/dist/esm/funcs/instances-delete.js.map +1 -1
  376. package/dist/esm/funcs/instances-handoff-token.d.ts +19 -0
  377. package/dist/esm/funcs/instances-handoff-token.d.ts.map +1 -0
  378. package/dist/esm/funcs/instances-handoff-token.js +94 -0
  379. package/dist/esm/funcs/instances-handoff-token.js.map +1 -0
  380. package/dist/esm/funcs/interactions-fetch.d.ts +4 -3
  381. package/dist/esm/funcs/interactions-fetch.d.ts.map +1 -1
  382. package/dist/esm/funcs/interactions-fetch.js +20 -8
  383. package/dist/esm/funcs/interactions-fetch.js.map +1 -1
  384. package/dist/esm/funcs/interactions-submit.d.ts +5 -3
  385. package/dist/esm/funcs/interactions-submit.d.ts.map +1 -1
  386. package/dist/esm/funcs/interactions-submit.js +15 -4
  387. package/dist/esm/funcs/interactions-submit.js.map +1 -1
  388. package/dist/esm/funcs/interactions-upload-asset.d.ts +18 -0
  389. package/dist/esm/funcs/interactions-upload-asset.d.ts.map +1 -0
  390. package/dist/esm/funcs/interactions-upload-asset.js +83 -0
  391. package/dist/esm/funcs/interactions-upload-asset.js.map +1 -0
  392. package/dist/esm/funcs/journeys-get-schemas.d.ts +46 -0
  393. package/dist/esm/funcs/journeys-get-schemas.d.ts.map +1 -0
  394. package/dist/esm/funcs/journeys-get-schemas.js +114 -0
  395. package/dist/esm/funcs/journeys-get-schemas.js.map +1 -0
  396. package/dist/esm/funcs/journeys-get-state.d.ts +4 -3
  397. package/dist/esm/funcs/journeys-get-state.d.ts.map +1 -1
  398. package/dist/esm/funcs/journeys-get-state.js +14 -8
  399. package/dist/esm/funcs/journeys-get-state.js.map +1 -1
  400. package/dist/esm/funcs/journeys-start.d.ts +5 -3
  401. package/dist/esm/funcs/journeys-start.d.ts.map +1 -1
  402. package/dist/esm/funcs/journeys-start.js +9 -4
  403. package/dist/esm/funcs/journeys-start.js.map +1 -1
  404. package/dist/esm/funcs/journeys-terminate.d.ts +21 -0
  405. package/dist/esm/funcs/journeys-terminate.d.ts.map +1 -0
  406. package/dist/esm/funcs/{tasks-list-schema.js → journeys-terminate.js} +13 -8
  407. package/dist/esm/funcs/journeys-terminate.js.map +1 -0
  408. package/dist/esm/funcs/sandbox-create-scenario.d.ts +21 -0
  409. package/dist/esm/funcs/sandbox-create-scenario.d.ts.map +1 -0
  410. package/dist/esm/funcs/sandbox-create-scenario.js +93 -0
  411. package/dist/esm/funcs/sandbox-create-scenario.js.map +1 -0
  412. package/dist/esm/funcs/sandbox-delete-scenario.d.ts +20 -0
  413. package/dist/esm/funcs/sandbox-delete-scenario.d.ts.map +1 -0
  414. package/dist/esm/funcs/sandbox-delete-scenario.js +95 -0
  415. package/dist/esm/funcs/sandbox-delete-scenario.js.map +1 -0
  416. package/dist/esm/funcs/sandbox-get-scenario.d.ts +21 -0
  417. package/dist/esm/funcs/sandbox-get-scenario.d.ts.map +1 -0
  418. package/dist/esm/funcs/sandbox-get-scenario.js +100 -0
  419. package/dist/esm/funcs/sandbox-get-scenario.js.map +1 -0
  420. package/dist/esm/funcs/sandbox-list-scenarios.d.ts +21 -0
  421. package/dist/esm/funcs/sandbox-list-scenarios.d.ts.map +1 -0
  422. package/dist/esm/funcs/sandbox-list-scenarios.js +96 -0
  423. package/dist/esm/funcs/sandbox-list-scenarios.js.map +1 -0
  424. package/dist/esm/funcs/sandbox-put-scenario.d.ts +21 -0
  425. package/dist/esm/funcs/sandbox-put-scenario.d.ts.map +1 -0
  426. package/dist/esm/funcs/sandbox-put-scenario.js +97 -0
  427. package/dist/esm/funcs/sandbox-put-scenario.js.map +1 -0
  428. package/dist/esm/funcs/tasks-get-schema.d.ts +8 -3
  429. package/dist/esm/funcs/tasks-get-schema.d.ts.map +1 -1
  430. package/dist/esm/funcs/tasks-get-schema.js +10 -4
  431. package/dist/esm/funcs/tasks-get-schema.js.map +1 -1
  432. package/dist/esm/funcs/tokens-generate.js +1 -1
  433. package/dist/esm/funcs/tokens-generate.js.map +1 -1
  434. package/dist/esm/lib/config.d.ts +5 -5
  435. package/dist/esm/lib/config.d.ts.map +1 -1
  436. package/dist/esm/lib/config.js +16 -7
  437. package/dist/esm/lib/config.js.map +1 -1
  438. package/dist/esm/models/create-sandbox-scenario-request.d.ts +29 -0
  439. package/dist/esm/models/create-sandbox-scenario-request.d.ts.map +1 -0
  440. package/dist/esm/models/create-sandbox-scenario-request.js +18 -0
  441. package/dist/esm/models/create-sandbox-scenario-request.js.map +1 -0
  442. package/dist/esm/models/delete-response.d.ts +19 -0
  443. package/dist/esm/models/delete-response.d.ts.map +1 -0
  444. package/dist/esm/models/delete-response.js +21 -0
  445. package/dist/esm/models/delete-response.js.map +1 -0
  446. package/dist/esm/models/device-connect-response.d.ts +23 -0
  447. package/dist/esm/models/device-connect-response.d.ts.map +1 -0
  448. package/dist/esm/models/device-connect-response.js +25 -0
  449. package/dist/esm/models/device-connect-response.js.map +1 -0
  450. package/dist/esm/models/device-refresh-response.d.ts +16 -0
  451. package/dist/esm/models/device-refresh-response.d.ts.map +1 -0
  452. package/dist/esm/models/device-refresh-response.js +20 -0
  453. package/dist/esm/models/device-refresh-response.js.map +1 -0
  454. package/dist/esm/models/device-start-response.d.ts +20 -0
  455. package/dist/esm/models/device-start-response.d.ts.map +1 -0
  456. package/dist/esm/models/device-start-response.js +22 -0
  457. package/dist/esm/models/device-start-response.js.map +1 -0
  458. package/dist/esm/models/device-validate-response.d.ts +14 -0
  459. package/dist/esm/models/device-validate-response.d.ts.map +1 -0
  460. package/dist/esm/models/device-validate-response.js +18 -0
  461. package/dist/esm/models/device-validate-response.js.map +1 -0
  462. package/dist/esm/models/errors/error-response.d.ts +19 -0
  463. package/dist/esm/models/errors/error-response.d.ts.map +1 -0
  464. package/dist/esm/models/errors/error-response.js +31 -0
  465. package/dist/esm/models/errors/error-response.js.map +1 -0
  466. package/dist/esm/models/errors/index.d.ts +1 -0
  467. package/dist/esm/models/errors/index.d.ts.map +1 -1
  468. package/dist/esm/models/errors/index.js +1 -0
  469. package/dist/esm/models/errors/index.js.map +1 -1
  470. package/dist/esm/models/gbg-error.d.ts +28 -0
  471. package/dist/esm/models/gbg-error.d.ts.map +1 -0
  472. package/dist/esm/models/gbg-error.js +32 -0
  473. package/dist/esm/models/gbg-error.js.map +1 -0
  474. package/dist/esm/models/handoff-token-response.d.ts +20 -0
  475. package/dist/esm/models/handoff-token-response.d.ts.map +1 -0
  476. package/dist/esm/models/handoff-token-response.js +23 -0
  477. package/dist/esm/models/handoff-token-response.js.map +1 -0
  478. package/dist/esm/models/index.d.ts +30 -0
  479. package/dist/esm/models/index.d.ts.map +1 -1
  480. package/dist/esm/models/index.js +30 -0
  481. package/dist/esm/models/index.js.map +1 -1
  482. package/dist/esm/models/interaction-fetch-response.d.ts +53 -0
  483. package/dist/esm/models/interaction-fetch-response.d.ts.map +1 -0
  484. package/dist/esm/models/interaction-fetch-response.js +52 -0
  485. package/dist/esm/models/interaction-fetch-response.js.map +1 -0
  486. package/dist/esm/models/interaction-submit-response.d.ts +17 -0
  487. package/dist/esm/models/interaction-submit-response.d.ts.map +1 -0
  488. package/dist/esm/models/interaction-submit-response.js +18 -0
  489. package/dist/esm/models/interaction-submit-response.js.map +1 -0
  490. package/dist/esm/models/journey-start-response.d.ts +27 -0
  491. package/dist/esm/models/journey-start-response.d.ts.map +1 -0
  492. package/dist/esm/models/journey-start-response.js +30 -0
  493. package/dist/esm/models/journey-start-response.js.map +1 -0
  494. package/dist/esm/models/loqate-retrieve-response.d.ts +12 -0
  495. package/dist/esm/models/loqate-retrieve-response.d.ts.map +1 -0
  496. package/dist/esm/models/loqate-retrieve-response.js +18 -0
  497. package/dist/esm/models/loqate-retrieve-response.js.map +1 -0
  498. package/dist/esm/models/loqate-search-response.d.ts +12 -0
  499. package/dist/esm/models/loqate-search-response.d.ts.map +1 -0
  500. package/dist/esm/models/loqate-search-response.js +18 -0
  501. package/dist/esm/models/loqate-search-response.js.map +1 -0
  502. package/dist/esm/models/operations/add-device.d.ts +8 -92
  503. package/dist/esm/models/operations/add-device.d.ts.map +1 -1
  504. package/dist/esm/models/operations/add-device.js +5 -72
  505. package/dist/esm/models/operations/add-device.js.map +1 -1
  506. package/dist/esm/models/operations/create-handoff-token.d.ts +22 -0
  507. package/dist/esm/models/operations/create-handoff-token.d.ts.map +1 -0
  508. package/dist/esm/models/operations/create-handoff-token.js +24 -0
  509. package/dist/esm/models/operations/create-handoff-token.js.map +1 -0
  510. package/dist/esm/models/operations/create-sandbox-scenario.d.ts +18 -0
  511. package/dist/esm/models/operations/create-sandbox-scenario.d.ts.map +1 -0
  512. package/dist/esm/models/operations/create-sandbox-scenario.js +14 -0
  513. package/dist/esm/models/operations/create-sandbox-scenario.js.map +1 -0
  514. package/dist/esm/models/operations/delete-instance.d.ts +1 -14
  515. package/dist/esm/models/operations/delete-instance.d.ts.map +1 -1
  516. package/dist/esm/models/operations/delete-instance.js +2 -11
  517. package/dist/esm/models/operations/delete-instance.js.map +1 -1
  518. package/dist/esm/models/operations/delete-sandbox-scenario.d.ts +20 -0
  519. package/dist/esm/models/operations/delete-sandbox-scenario.d.ts.map +1 -0
  520. package/dist/esm/models/operations/delete-sandbox-scenario.js +13 -0
  521. package/dist/esm/models/operations/delete-sandbox-scenario.js.map +1 -0
  522. package/dist/esm/models/operations/device-connect.d.ts +0 -59
  523. package/dist/esm/models/operations/device-connect.d.ts.map +1 -1
  524. package/dist/esm/models/operations/device-connect.js +0 -46
  525. package/dist/esm/models/operations/device-connect.js.map +1 -1
  526. package/dist/esm/models/operations/device-validate.d.ts +12 -0
  527. package/dist/esm/models/operations/device-validate.d.ts.map +1 -0
  528. package/dist/esm/models/operations/device-validate.js +17 -0
  529. package/dist/esm/models/operations/device-validate.js.map +1 -0
  530. package/dist/esm/models/operations/fetch-interaction.d.ts +34 -1621
  531. package/dist/esm/models/operations/fetch-interaction.d.ts.map +1 -1
  532. package/dist/esm/models/operations/fetch-interaction.js +20 -1245
  533. package/dist/esm/models/operations/fetch-interaction.js.map +1 -1
  534. package/dist/esm/models/operations/get-journey-schemas.d.ts +16 -0
  535. package/dist/esm/models/operations/get-journey-schemas.d.ts.map +1 -0
  536. package/dist/esm/models/operations/get-journey-schemas.js +14 -0
  537. package/dist/esm/models/operations/get-journey-schemas.js.map +1 -0
  538. package/dist/esm/models/operations/get-journey-state.d.ts +16 -1383
  539. package/dist/esm/models/operations/get-journey-state.d.ts.map +1 -1
  540. package/dist/esm/models/operations/get-journey-state.js +12 -996
  541. package/dist/esm/models/operations/get-journey-state.js.map +1 -1
  542. package/dist/esm/models/operations/get-sandbox-scenario.d.ts +39 -0
  543. package/dist/esm/models/operations/get-sandbox-scenario.d.ts.map +1 -0
  544. package/dist/esm/models/operations/get-sandbox-scenario.js +23 -0
  545. package/dist/esm/models/operations/get-sandbox-scenario.js.map +1 -0
  546. package/dist/esm/models/operations/get-task-schema.d.ts +1 -17
  547. package/dist/esm/models/operations/get-task-schema.d.ts.map +1 -1
  548. package/dist/esm/models/operations/get-task-schema.js +0 -17
  549. package/dist/esm/models/operations/get-task-schema.js.map +1 -1
  550. package/dist/esm/models/operations/index.d.ts +12 -4
  551. package/dist/esm/models/operations/index.d.ts.map +1 -1
  552. package/dist/esm/models/operations/index.js +12 -4
  553. package/dist/esm/models/operations/index.js.map +1 -1
  554. package/dist/esm/models/operations/list-sandbox-scenarios.d.ts +34 -0
  555. package/dist/esm/models/operations/list-sandbox-scenarios.d.ts.map +1 -0
  556. package/dist/esm/models/operations/list-sandbox-scenarios.js +22 -0
  557. package/dist/esm/models/operations/list-sandbox-scenarios.js.map +1 -0
  558. package/dist/esm/models/operations/post-as-token-oauth2.d.ts +2 -2
  559. package/dist/esm/models/operations/post-as-token-oauth2.d.ts.map +1 -1
  560. package/dist/esm/models/operations/post-as-token-oauth2.js +1 -1
  561. package/dist/esm/models/operations/post-as-token-oauth2.js.map +1 -1
  562. package/dist/esm/models/operations/put-sandbox-scenario.d.ts +23 -0
  563. package/dist/esm/models/operations/put-sandbox-scenario.d.ts.map +1 -0
  564. package/dist/esm/models/operations/put-sandbox-scenario.js +15 -0
  565. package/dist/esm/models/operations/put-sandbox-scenario.js.map +1 -0
  566. package/dist/esm/models/operations/retrieve-address.d.ts +29 -0
  567. package/dist/esm/models/operations/retrieve-address.d.ts.map +1 -0
  568. package/dist/esm/models/operations/retrieve-address.js +27 -0
  569. package/dist/esm/models/operations/retrieve-address.js.map +1 -0
  570. package/dist/esm/models/operations/search-addresses.d.ts +33 -0
  571. package/dist/esm/models/operations/search-addresses.d.ts.map +1 -0
  572. package/dist/esm/models/operations/search-addresses.js +29 -0
  573. package/dist/esm/models/operations/search-addresses.js.map +1 -0
  574. package/dist/esm/models/operations/start-journey.d.ts +1071 -108
  575. package/dist/esm/models/operations/start-journey.d.ts.map +1 -1
  576. package/dist/esm/models/operations/start-journey.js +473 -55
  577. package/dist/esm/models/operations/start-journey.js.map +1 -1
  578. package/dist/esm/models/operations/submit-interaction.d.ts +989 -92
  579. package/dist/esm/models/operations/submit-interaction.d.ts.map +1 -1
  580. package/dist/esm/models/operations/submit-interaction.js +436 -44
  581. package/dist/esm/models/operations/submit-interaction.js.map +1 -1
  582. package/dist/esm/models/operations/terminate-journey.d.ts +19 -0
  583. package/dist/esm/models/operations/terminate-journey.d.ts.map +1 -0
  584. package/dist/esm/models/operations/terminate-journey.js +13 -0
  585. package/dist/esm/models/operations/terminate-journey.js.map +1 -0
  586. package/dist/esm/models/operations/upload-interaction-asset.d.ts +26 -0
  587. package/dist/esm/models/operations/upload-interaction-asset.d.ts.map +1 -0
  588. package/dist/esm/models/operations/upload-interaction-asset.js +29 -0
  589. package/dist/esm/models/operations/upload-interaction-asset.js.map +1 -0
  590. package/dist/esm/models/sandbox-scenario-summary.d.ts +29 -0
  591. package/dist/esm/models/sandbox-scenario-summary.d.ts.map +1 -0
  592. package/dist/esm/models/sandbox-scenario-summary.js +26 -0
  593. package/dist/esm/models/sandbox-scenario-summary.js.map +1 -0
  594. package/dist/esm/models/sandbox-scenario-written.d.ts +19 -0
  595. package/dist/esm/models/sandbox-scenario-written.d.ts.map +1 -0
  596. package/dist/esm/models/sandbox-scenario-written.js +21 -0
  597. package/dist/esm/models/sandbox-scenario-written.js.map +1 -0
  598. package/dist/esm/models/sandbox-scenario.d.ts +31 -0
  599. package/dist/esm/models/sandbox-scenario.d.ts.map +1 -0
  600. package/dist/esm/models/sandbox-scenario.js +26 -0
  601. package/dist/esm/models/sandbox-scenario.js.map +1 -0
  602. package/dist/esm/models/schema-fetch-response.d.ts +22 -0
  603. package/dist/esm/models/schema-fetch-response.d.ts.map +1 -0
  604. package/dist/esm/models/schema-fetch-response.js +25 -0
  605. package/dist/esm/models/schema-fetch-response.js.map +1 -0
  606. package/dist/esm/models/slim-document.d.ts +57 -0
  607. package/dist/esm/models/slim-document.d.ts.map +1 -0
  608. package/dist/esm/models/slim-document.js +54 -0
  609. package/dist/esm/models/slim-document.js.map +1 -0
  610. package/dist/esm/models/slim-extraction.d.ts +74 -0
  611. package/dist/esm/models/slim-extraction.d.ts.map +1 -0
  612. package/dist/esm/models/slim-extraction.js +85 -0
  613. package/dist/esm/models/slim-extraction.js.map +1 -0
  614. package/dist/esm/models/slim-identity.d.ts +202 -0
  615. package/dist/esm/models/slim-identity.d.ts.map +1 -0
  616. package/dist/esm/models/slim-identity.js +101 -0
  617. package/dist/esm/models/slim-identity.js.map +1 -0
  618. package/dist/esm/models/slim-interaction-fetch-response.d.ts +58 -0
  619. package/dist/esm/models/slim-interaction-fetch-response.d.ts.map +1 -0
  620. package/dist/esm/models/slim-interaction-fetch-response.js +62 -0
  621. package/dist/esm/models/slim-interaction-fetch-response.js.map +1 -0
  622. package/dist/esm/models/slim-journey.d.ts +14 -0
  623. package/dist/esm/models/slim-journey.d.ts.map +1 -0
  624. package/dist/esm/models/slim-journey.js +19 -0
  625. package/dist/esm/models/slim-journey.js.map +1 -0
  626. package/dist/esm/models/slim-result.d.ts +46 -0
  627. package/dist/esm/models/slim-result.d.ts.map +1 -0
  628. package/dist/esm/models/slim-result.js +40 -0
  629. package/dist/esm/models/slim-result.js.map +1 -0
  630. package/dist/esm/models/slim-state-fetch-response.d.ts +26 -0
  631. package/dist/esm/models/slim-state-fetch-response.d.ts.map +1 -0
  632. package/dist/esm/models/slim-state-fetch-response.js +29 -0
  633. package/dist/esm/models/slim-state-fetch-response.js.map +1 -0
  634. package/dist/esm/models/slim-step.d.ts +22 -0
  635. package/dist/esm/models/slim-step.d.ts.map +1 -0
  636. package/dist/esm/models/slim-step.js +26 -0
  637. package/dist/esm/models/slim-step.js.map +1 -0
  638. package/dist/esm/models/slim-validation.d.ts +69 -0
  639. package/dist/esm/models/slim-validation.d.ts.map +1 -0
  640. package/dist/esm/models/slim-validation.js +79 -0
  641. package/dist/esm/models/slim-validation.js.map +1 -0
  642. package/dist/esm/models/slim-verified-data.d.ts +16 -0
  643. package/dist/esm/models/slim-verified-data.d.ts.map +1 -0
  644. package/dist/esm/models/slim-verified-data.js +17 -0
  645. package/dist/esm/models/slim-verified-data.js.map +1 -0
  646. package/dist/esm/models/state-fetch-response.d.ts +17 -0
  647. package/dist/esm/models/state-fetch-response.d.ts.map +1 -0
  648. package/dist/esm/models/state-fetch-response.js +17 -0
  649. package/dist/esm/models/state-fetch-response.js.map +1 -0
  650. package/dist/esm/models/terminate-response.d.ts +10 -0
  651. package/dist/esm/models/terminate-response.d.ts.map +1 -0
  652. package/dist/esm/models/terminate-response.js +14 -0
  653. package/dist/esm/models/terminate-response.js.map +1 -0
  654. package/dist/esm/models/update-sandbox-scenario-request.d.ts +24 -0
  655. package/dist/esm/models/update-sandbox-scenario-request.d.ts.map +1 -0
  656. package/dist/esm/models/update-sandbox-scenario-request.js +17 -0
  657. package/dist/esm/models/update-sandbox-scenario-request.js.map +1 -0
  658. package/dist/esm/sdk/addresses.d.ts +20 -0
  659. package/dist/esm/sdk/addresses.d.ts.map +1 -0
  660. package/dist/esm/sdk/addresses.js +28 -0
  661. package/dist/esm/sdk/addresses.js.map +1 -0
  662. package/dist/esm/sdk/devices.d.ts +21 -6
  663. package/dist/esm/sdk/devices.d.ts.map +1 -1
  664. package/dist/esm/sdk/devices.js +26 -6
  665. package/dist/esm/sdk/devices.js.map +1 -1
  666. package/dist/esm/sdk/instances.d.ts +11 -3
  667. package/dist/esm/sdk/instances.d.ts.map +1 -1
  668. package/dist/esm/sdk/instances.js +12 -2
  669. package/dist/esm/sdk/instances.js.map +1 -1
  670. package/dist/esm/sdk/interactions.d.ts +14 -6
  671. package/dist/esm/sdk/interactions.d.ts.map +1 -1
  672. package/dist/esm/sdk/interactions.js +16 -6
  673. package/dist/esm/sdk/interactions.js.map +1 -1
  674. package/dist/esm/sdk/journeys.d.ts +45 -5
  675. package/dist/esm/sdk/journeys.d.ts.map +1 -1
  676. package/dist/esm/sdk/journeys.js +49 -4
  677. package/dist/esm/sdk/journeys.js.map +1 -1
  678. package/dist/esm/sdk/sandbox.d.ts +41 -0
  679. package/dist/esm/sdk/sandbox.d.ts.map +1 -0
  680. package/dist/esm/sdk/sandbox.js +58 -0
  681. package/dist/esm/sdk/sandbox.js.map +1 -0
  682. package/dist/esm/sdk/sdk.d.ts +14 -11
  683. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  684. package/dist/esm/sdk/sdk.js +17 -13
  685. package/dist/esm/sdk/sdk.js.map +1 -1
  686. package/dist/esm/sdk/tasks.d.ts +6 -23
  687. package/dist/esm/sdk/tasks.d.ts.map +1 -1
  688. package/dist/esm/sdk/tasks.js +3 -31
  689. package/dist/esm/sdk/tasks.js.map +1 -1
  690. package/dist/esm/types/smart-union.d.ts.map +1 -1
  691. package/dist/esm/types/smart-union.js +14 -10
  692. package/dist/esm/types/smart-union.js.map +1 -1
  693. package/examples/{tokensGenerate.example.ts → journeysStart.example.ts} +5 -3
  694. package/jsr.json +1 -1
  695. package/package.json +1 -1
  696. package/src/funcs/{tasks-update.ts → addresses-retrieve.ts} +39 -18
  697. package/src/funcs/addresses-search.ts +196 -0
  698. package/src/funcs/devices-add.ts +21 -11
  699. package/src/funcs/devices-connect.ts +25 -21
  700. package/src/funcs/{health-get.ts → devices-refresh.ts} +26 -22
  701. package/src/funcs/{tasks-list.ts → devices-validate.ts} +26 -37
  702. package/src/funcs/instances-delete.ts +21 -10
  703. package/src/funcs/instances-handoff-token.ts +191 -0
  704. package/src/funcs/interactions-fetch.ts +30 -10
  705. package/src/funcs/interactions-submit.ts +28 -10
  706. package/src/funcs/interactions-upload-asset.ts +173 -0
  707. package/src/funcs/journeys-get-schemas.ts +207 -0
  708. package/src/funcs/journeys-get-state.ts +23 -10
  709. package/src/funcs/journeys-start.ts +21 -11
  710. package/src/funcs/{tasks-list-schema.ts → journeys-terminate.ts} +26 -15
  711. package/src/funcs/sandbox-create-scenario.ts +185 -0
  712. package/src/funcs/sandbox-delete-scenario.ts +187 -0
  713. package/src/funcs/sandbox-get-scenario.ts +193 -0
  714. package/src/funcs/sandbox-list-scenarios.ts +189 -0
  715. package/src/funcs/sandbox-put-scenario.ts +189 -0
  716. package/src/funcs/tasks-get-schema.ts +22 -10
  717. package/src/funcs/tokens-generate.ts +1 -1
  718. package/src/lib/config.ts +16 -7
  719. package/src/models/create-sandbox-scenario-request.ts +65 -0
  720. package/src/models/delete-response.ts +46 -0
  721. package/src/models/device-connect-response.ts +56 -0
  722. package/src/models/device-refresh-response.ts +43 -0
  723. package/src/models/device-start-response.ts +50 -0
  724. package/src/models/device-validate-response.ts +39 -0
  725. package/src/models/errors/error-response.ts +52 -0
  726. package/src/models/errors/index.ts +1 -0
  727. package/src/models/gbg-error.ts +55 -0
  728. package/src/models/handoff-token-response.ts +49 -0
  729. package/src/models/index.ts +30 -0
  730. package/src/models/interaction-fetch-response.ts +147 -0
  731. package/src/models/interaction-submit-response.ts +43 -0
  732. package/src/models/journey-start-response.ts +64 -0
  733. package/src/models/loqate-retrieve-response.ts +38 -0
  734. package/src/models/loqate-search-response.ts +38 -0
  735. package/src/models/operations/add-device.ts +17 -176
  736. package/src/models/operations/create-handoff-token.ts +63 -0
  737. package/src/models/operations/create-sandbox-scenario.ts +39 -0
  738. package/src/models/operations/delete-instance.ts +7 -38
  739. package/src/models/operations/delete-sandbox-scenario.ts +41 -0
  740. package/src/models/operations/device-connect.ts +0 -128
  741. package/src/models/operations/device-validate.ts +38 -0
  742. package/src/models/operations/fetch-interaction.ts +95 -3795
  743. package/src/models/operations/get-journey-schemas.ts +36 -0
  744. package/src/models/operations/get-journey-state.ts +57 -3183
  745. package/src/models/operations/get-sandbox-scenario.ts +65 -0
  746. package/src/models/operations/get-task-schema.ts +1 -44
  747. package/src/models/operations/index.ts +12 -4
  748. package/src/models/operations/list-sandbox-scenarios.ts +63 -0
  749. package/src/models/operations/post-as-token-oauth2.ts +5 -5
  750. package/src/models/operations/put-sandbox-scenario.ts +43 -0
  751. package/src/models/operations/retrieve-address.ts +73 -0
  752. package/src/models/operations/search-addresses.ts +79 -0
  753. package/src/models/operations/start-journey.ts +2624 -1052
  754. package/src/models/operations/submit-interaction.ts +2648 -1114
  755. package/src/models/operations/terminate-journey.ts +41 -0
  756. package/src/models/operations/upload-interaction-asset.ts +75 -0
  757. package/src/models/sandbox-scenario-summary.ts +63 -0
  758. package/src/models/sandbox-scenario-written.ts +48 -0
  759. package/src/models/sandbox-scenario.ts +61 -0
  760. package/src/models/schema-fetch-response.ts +58 -0
  761. package/src/models/slim-document.ts +135 -0
  762. package/src/models/slim-extraction.ts +236 -0
  763. package/src/models/slim-identity.ts +348 -0
  764. package/src/models/slim-interaction-fetch-response.ts +169 -0
  765. package/src/models/slim-journey.ts +37 -0
  766. package/src/models/slim-result.ts +87 -0
  767. package/src/models/slim-state-fetch-response.ts +59 -0
  768. package/src/models/slim-step.ts +54 -0
  769. package/src/models/slim-validation.ts +230 -0
  770. package/src/models/slim-verified-data.ts +38 -0
  771. package/src/models/state-fetch-response.ts +37 -0
  772. package/src/models/terminate-response.ts +31 -0
  773. package/src/models/update-sandbox-scenario-request.ts +59 -0
  774. package/src/sdk/addresses.ts +50 -0
  775. package/src/sdk/devices.ts +46 -11
  776. package/src/sdk/instances.ts +24 -3
  777. package/src/sdk/interactions.ts +30 -11
  778. package/src/sdk/journeys.ts +67 -5
  779. package/src/sdk/sandbox.ts +100 -0
  780. package/src/sdk/sdk.ts +25 -19
  781. package/src/sdk/tasks.ts +4 -60
  782. package/src/types/smart-union.ts +18 -10
  783. package/dist/commonjs/funcs/health-get.d.ts.map +0 -1
  784. package/dist/commonjs/funcs/health-get.js.map +0 -1
  785. package/dist/commonjs/funcs/tasks-list-schema.d.ts.map +0 -1
  786. package/dist/commonjs/funcs/tasks-list-schema.js.map +0 -1
  787. package/dist/commonjs/funcs/tasks-list.d.ts.map +0 -1
  788. package/dist/commonjs/funcs/tasks-list.js.map +0 -1
  789. package/dist/commonjs/funcs/tasks-update.d.ts.map +0 -1
  790. package/dist/commonjs/funcs/tasks-update.js.map +0 -1
  791. package/dist/commonjs/models/operations/get-tasks-schema.d.ts +0 -71
  792. package/dist/commonjs/models/operations/get-tasks-schema.d.ts.map +0 -1
  793. package/dist/commonjs/models/operations/get-tasks-schema.js +0 -108
  794. package/dist/commonjs/models/operations/get-tasks-schema.js.map +0 -1
  795. package/dist/commonjs/models/operations/get-tasks.d.ts +0 -62
  796. package/dist/commonjs/models/operations/get-tasks.d.ts.map +0 -1
  797. package/dist/commonjs/models/operations/get-tasks.js +0 -91
  798. package/dist/commonjs/models/operations/get-tasks.js.map +0 -1
  799. package/dist/commonjs/models/operations/health.d.ts +0 -14
  800. package/dist/commonjs/models/operations/health.d.ts.map +0 -1
  801. package/dist/commonjs/models/operations/health.js.map +0 -1
  802. package/dist/commonjs/models/operations/update-task.d.ts +0 -2105
  803. package/dist/commonjs/models/operations/update-task.d.ts.map +0 -1
  804. package/dist/commonjs/models/operations/update-task.js +0 -1115
  805. package/dist/commonjs/models/operations/update-task.js.map +0 -1
  806. package/dist/commonjs/sdk/health.d.ts +0 -12
  807. package/dist/commonjs/sdk/health.d.ts.map +0 -1
  808. package/dist/commonjs/sdk/health.js +0 -22
  809. package/dist/commonjs/sdk/health.js.map +0 -1
  810. package/dist/commonjs/types/discriminated-union.d.ts +0 -25
  811. package/dist/commonjs/types/discriminated-union.d.ts.map +0 -1
  812. package/dist/commonjs/types/discriminated-union.js +0 -98
  813. package/dist/commonjs/types/discriminated-union.js.map +0 -1
  814. package/dist/esm/funcs/health-get.d.ts.map +0 -1
  815. package/dist/esm/funcs/health-get.js.map +0 -1
  816. package/dist/esm/funcs/tasks-list-schema.d.ts.map +0 -1
  817. package/dist/esm/funcs/tasks-list-schema.js.map +0 -1
  818. package/dist/esm/funcs/tasks-list.d.ts +0 -17
  819. package/dist/esm/funcs/tasks-list.d.ts.map +0 -1
  820. package/dist/esm/funcs/tasks-list.js.map +0 -1
  821. package/dist/esm/funcs/tasks-update.d.ts +0 -17
  822. package/dist/esm/funcs/tasks-update.d.ts.map +0 -1
  823. package/dist/esm/funcs/tasks-update.js.map +0 -1
  824. package/dist/esm/models/operations/get-tasks-schema.d.ts +0 -71
  825. package/dist/esm/models/operations/get-tasks-schema.d.ts.map +0 -1
  826. package/dist/esm/models/operations/get-tasks-schema.js +0 -67
  827. package/dist/esm/models/operations/get-tasks-schema.js.map +0 -1
  828. package/dist/esm/models/operations/get-tasks.d.ts +0 -62
  829. package/dist/esm/models/operations/get-tasks.d.ts.map +0 -1
  830. package/dist/esm/models/operations/get-tasks.js +0 -51
  831. package/dist/esm/models/operations/get-tasks.js.map +0 -1
  832. package/dist/esm/models/operations/health.d.ts +0 -14
  833. package/dist/esm/models/operations/health.d.ts.map +0 -1
  834. package/dist/esm/models/operations/health.js +0 -14
  835. package/dist/esm/models/operations/health.js.map +0 -1
  836. package/dist/esm/models/operations/update-task.d.ts +0 -2105
  837. package/dist/esm/models/operations/update-task.d.ts.map +0 -1
  838. package/dist/esm/models/operations/update-task.js +0 -1007
  839. package/dist/esm/models/operations/update-task.js.map +0 -1
  840. package/dist/esm/sdk/health.d.ts +0 -12
  841. package/dist/esm/sdk/health.d.ts.map +0 -1
  842. package/dist/esm/sdk/health.js +0 -18
  843. package/dist/esm/sdk/health.js.map +0 -1
  844. package/dist/esm/types/discriminated-union.d.ts +0 -25
  845. package/dist/esm/types/discriminated-union.d.ts.map +0 -1
  846. package/dist/esm/types/discriminated-union.js +0 -61
  847. package/dist/esm/types/discriminated-union.js.map +0 -1
  848. package/src/models/operations/get-tasks-schema.ts +0 -173
  849. package/src/models/operations/get-tasks.ts +0 -144
  850. package/src/models/operations/health.ts +0 -38
  851. package/src/models/operations/update-task.ts +0 -3818
  852. package/src/sdk/health.ts +0 -25
  853. package/src/types/discriminated-union.ts +0 -101
@@ -1,24 +1,5 @@
1
1
  import * as z from "zod/v4-mini";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdk-validation-error.js";
5
- /**
6
- * The method by which the End User will consume the journey.
7
- */
8
- export declare const Delivery: {
9
- readonly Page: "page";
10
- readonly Api: "api";
11
- };
12
- /**
13
- * The method by which the End User will consume the journey.
14
- */
15
- export type Delivery = ClosedEnum<typeof Delivery>;
16
- export type Config = {
17
- /**
18
- * The method by which the End User will consume the journey.
19
- */
20
- delivery: Delivery;
21
- };
22
3
  export type StartJourneyIdentityAlias = {
23
4
  /**
24
5
  * Title of an individual such as Mr, Mrs, Dr, Sir
@@ -40,10 +21,15 @@ export type StartJourneyIdentityAlias = {
40
21
  * Any family names for the individual
41
22
  */
42
23
  lastNamesAtBirth?: Array<string> | undefined;
24
+ /**
25
+ * The whole name as stated, unsplit into parts — used when the alias has no meaningful name parts
26
+ */
27
+ fullName?: string | undefined;
43
28
  };
44
29
  export declare const StartJourneyIdentityRelationship: {
45
30
  readonly Mother: "mother";
46
31
  readonly Father: "father";
32
+ readonly Spouse: "spouse";
47
33
  readonly MaternalGrandFather: "maternalGrandFather";
48
34
  readonly MaternalGrandMother: "maternalGrandMother";
49
35
  readonly PaternalGrandFather: "paternalGrandFather";
@@ -92,15 +78,15 @@ export type StartJourneyIdentityCurrentAddress = {
92
78
  */
93
79
  addressString?: string | undefined;
94
80
  /**
95
- * The primary delivery point for a premise or building. This could be a house number, a building name, etc.
81
+ * The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
96
82
  */
97
83
  premise?: string | undefined;
98
84
  /**
99
- * The name of a building or a building complex. In the US, this is the street number.
85
+ * The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
100
86
  */
101
87
  building?: string | undefined;
102
88
  /**
103
- * The name of a sub-building, such as a flat or apartment number.
89
+ * The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
104
90
  */
105
91
  subBuilding?: string | undefined;
106
92
  /**
@@ -160,15 +146,15 @@ export type StartJourneyIdentityPreviousAddress = {
160
146
  */
161
147
  addressString?: string | undefined;
162
148
  /**
163
- * The primary delivery point for a premise or building. This could be a house number, a building name, etc.
149
+ * The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
164
150
  */
165
151
  premise?: string | undefined;
166
152
  /**
167
- * The name of a building or a building complex. In the US, this is the street number.
153
+ * The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
168
154
  */
169
155
  building?: string | undefined;
170
156
  /**
171
- * The name of a sub-building, such as a flat or apartment number.
157
+ * The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
172
158
  */
173
159
  subBuilding?: string | undefined;
174
160
  /**
@@ -211,11 +197,11 @@ export type StartJourneyIdentityPreviousAddress = {
211
197
  /**
212
198
  * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
213
199
  */
214
- fromDate: string;
200
+ fromDate?: string | undefined;
215
201
  /**
216
202
  * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
217
203
  */
218
- toDate: string;
204
+ toDate?: string | undefined;
219
205
  };
220
206
  export type StartJourneyIdentityPlaceOfBirthLocation = {
221
207
  latitude?: string | undefined;
@@ -236,15 +222,15 @@ export type StartJourneyIdentityPlaceOfBirth = {
236
222
  */
237
223
  addressString?: string | undefined;
238
224
  /**
239
- * The primary delivery point for a premise or building. This could be a house number, a building name, etc.
225
+ * The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
240
226
  */
241
227
  premise?: string | undefined;
242
228
  /**
243
- * The name of a building or a building complex. In the US, this is the street number.
229
+ * The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
244
230
  */
245
231
  building?: string | undefined;
246
232
  /**
247
- * The name of a sub-building, such as a flat or apartment number.
233
+ * The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
248
234
  */
249
235
  subBuilding?: string | undefined;
250
236
  /**
@@ -311,7 +297,7 @@ export type StartJourneyIdentityPhone = {
311
297
  };
312
298
  export type StartJourneyIdentityEmail = {
313
299
  /**
314
- * The type of email, such as home, work, unknown etc
300
+ * Email type discriminator. Canonical values: 'personal', 'work', 'home', 'other'. Three map to a domain element by exact match: 'personal' -> PersonalEmail, 'work' -> WorkEmail, 'other' -> OtherEmails (the domainElementId used to collect them). 'home' is the only canonical value with no domain element: a 'home' email is accepted and stored but cannot be retrieved through any v2 read (it matches no getter); use 'personal', 'work' or 'other' to have the email surfaced. Legacy inputs normalize at the API boundary (e.g. 'email' -> 'personal').
315
301
  */
316
302
  type: string;
317
303
  /**
@@ -350,6 +336,9 @@ export type StartJourneyIdentity = {
350
336
  * Any family names for the individual
351
337
  */
352
338
  lastNamesAtBirth?: Array<string> | undefined;
339
+ /**
340
+ * Names the subject is otherwise or was previously known by — applicant-declared, unordered, duplicates permitted
341
+ */
353
342
  aliases?: Array<StartJourneyIdentityAlias> | undefined;
354
343
  relatedPersons?: Array<StartJourneyIdentityRelatedPerson> | undefined;
355
344
  /**
@@ -368,8 +357,441 @@ export type StartJourneyIdentity = {
368
357
  * The subject's mother's maiden name, used for identity verification
369
358
  */
370
359
  mothersMaidenName?: string | undefined;
360
+ /**
361
+ * Country the address is in. It must be a valid ISO2 or ISO3 country code
362
+ */
363
+ nationality?: string | undefined;
364
+ };
365
+ export declare const StartJourneyTypePrimary1: {
366
+ readonly Primary: "primary";
367
+ };
368
+ export type StartJourneyTypePrimary1 = ClosedEnum<typeof StartJourneyTypePrimary1>;
369
+ export declare const StartJourneyStatus: {
370
+ readonly Active: "active";
371
+ readonly Suspended: "suspended";
372
+ readonly Dormant: "dormant";
373
+ readonly Dissolved: "dissolved";
374
+ readonly StruckOff: "struckOff";
375
+ readonly Unknown: "unknown";
376
+ };
377
+ export type StartJourneyStatus = ClosedEnum<typeof StartJourneyStatus>;
378
+ export type StartJourneyAddressLocation = {
379
+ latitude?: string | undefined;
380
+ longitude?: string | undefined;
381
+ geoAccuracy?: string | undefined;
382
+ /**
383
+ * A What3words designation associated with this location with '.' separator.
384
+ */
385
+ what3words?: string | undefined;
386
+ };
387
+ export declare const StartJourneyPurpose: {
388
+ readonly Registered: "registered";
389
+ readonly Mailing: "mailing";
390
+ readonly Site: "site";
391
+ readonly Agent: "agent";
392
+ readonly Headquarters: "headquarters";
393
+ };
394
+ export type StartJourneyPurpose = ClosedEnum<typeof StartJourneyPurpose>;
395
+ export type StartJourneyAddressPrimary = {
396
+ /**
397
+ * Unformatted line based address
398
+ */
399
+ lines?: Array<string> | undefined;
400
+ /**
401
+ * The address as a single line
402
+ */
403
+ addressString?: string | undefined;
404
+ /**
405
+ * The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
406
+ */
407
+ premise?: string | undefined;
408
+ /**
409
+ * The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
410
+ */
411
+ building?: string | undefined;
412
+ /**
413
+ * The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
414
+ */
415
+ subBuilding?: string | undefined;
416
+ /**
417
+ * This field holds the most common street or block data element within a country. For instance, USA Street
418
+ */
419
+ thoroughfare?: string | undefined;
420
+ /**
421
+ * The name of a dependent street or block, such as a street within a complex.
422
+ */
423
+ dependentThoroughfare?: string | undefined;
424
+ /**
425
+ * This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
426
+ */
427
+ locality?: string | undefined;
428
+ /**
429
+ * This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
430
+ */
431
+ dependentLocality?: string | undefined;
432
+ /**
433
+ * This is an even smaller area within a dependent locality, often used in very detailed addresses.
434
+ */
435
+ doubleDependentLocality?: string | undefined;
436
+ /**
437
+ * This field contains the complete postal code for a particular delivery point, should such detail be able to be determined. For example ZIP code in the US
438
+ */
439
+ postalCode?: string | undefined;
440
+ /**
441
+ * This field contains the post box number associated with a particular delivery point, should one exist.
442
+ */
443
+ postBox?: string | undefined;
444
+ /**
445
+ * Country the address is in. It must be a valid ISO2 or ISO3 country code
446
+ */
447
+ country?: string | undefined;
448
+ superAdministrativeArea?: string | undefined;
449
+ administrativeArea?: string | undefined;
450
+ subAdministrativeArea?: string | undefined;
451
+ organization?: string | undefined;
452
+ location?: StartJourneyAddressLocation | undefined;
453
+ purpose?: StartJourneyPurpose | undefined;
454
+ };
455
+ export declare const StartJourneyTaxIdentifierType: {
456
+ readonly Tin: "TIN";
457
+ readonly Ein: "EIN";
458
+ };
459
+ export type StartJourneyTaxIdentifierType = ClosedEnum<typeof StartJourneyTaxIdentifierType>;
460
+ export type StartJourneyTaxIdentifier = {
461
+ type: StartJourneyTaxIdentifierType;
462
+ value: string;
463
+ /**
464
+ * Country the address is in. It must be a valid ISO2 or ISO3 country code
465
+ */
466
+ country?: string | undefined;
467
+ };
468
+ export declare const StartJourneySystem: {
469
+ readonly Naics2017: "naics2017";
470
+ readonly Naics2022: "naics2022";
471
+ readonly Sic: "sic";
472
+ readonly Mcc: "mcc";
473
+ };
474
+ export type StartJourneySystem = ClosedEnum<typeof StartJourneySystem>;
475
+ export type StartJourneyIndustryClassification = {
476
+ system: StartJourneySystem;
477
+ code: string;
478
+ description?: string | undefined;
479
+ };
480
+ export declare const StartJourneyRegistrationType: {
481
+ readonly Domestic: "domestic";
482
+ readonly Foreign: "foreign";
483
+ readonly Unknown: "unknown";
484
+ };
485
+ export type StartJourneyRegistrationType = ClosedEnum<typeof StartJourneyRegistrationType>;
486
+ export type StartJourneyRegisteredAddressLocation = {
487
+ latitude?: string | undefined;
488
+ longitude?: string | undefined;
489
+ geoAccuracy?: string | undefined;
490
+ /**
491
+ * A What3words designation associated with this location with '.' separator.
492
+ */
493
+ what3words?: string | undefined;
494
+ };
495
+ export type StartJourneyRegisteredAddress = {
496
+ /**
497
+ * Unformatted line based address
498
+ */
499
+ lines?: Array<string> | undefined;
500
+ /**
501
+ * The address as a single line
502
+ */
503
+ addressString?: string | undefined;
504
+ /**
505
+ * The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
506
+ */
507
+ premise?: string | undefined;
508
+ /**
509
+ * The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
510
+ */
511
+ building?: string | undefined;
512
+ /**
513
+ * The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
514
+ */
515
+ subBuilding?: string | undefined;
516
+ /**
517
+ * This field holds the most common street or block data element within a country. For instance, USA Street
518
+ */
519
+ thoroughfare?: string | undefined;
520
+ /**
521
+ * The name of a dependent street or block, such as a street within a complex.
522
+ */
523
+ dependentThoroughfare?: string | undefined;
524
+ /**
525
+ * This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
526
+ */
527
+ locality?: string | undefined;
528
+ /**
529
+ * This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
530
+ */
531
+ dependentLocality?: string | undefined;
532
+ /**
533
+ * This is an even smaller area within a dependent locality, often used in very detailed addresses.
534
+ */
535
+ doubleDependentLocality?: string | undefined;
536
+ /**
537
+ * This field contains the complete postal code for a particular delivery point, should such detail be able to be determined. For example ZIP code in the US
538
+ */
539
+ postalCode?: string | undefined;
540
+ /**
541
+ * This field contains the post box number associated with a particular delivery point, should one exist.
542
+ */
543
+ postBox?: string | undefined;
544
+ /**
545
+ * Country the address is in. It must be a valid ISO2 or ISO3 country code
546
+ */
547
+ country?: string | undefined;
548
+ superAdministrativeArea?: string | undefined;
549
+ administrativeArea?: string | undefined;
550
+ subAdministrativeArea?: string | undefined;
551
+ organization?: string | undefined;
552
+ location?: StartJourneyRegisteredAddressLocation | undefined;
553
+ };
554
+ export type StartJourneyAgentAddressLocation = {
555
+ latitude?: string | undefined;
556
+ longitude?: string | undefined;
557
+ geoAccuracy?: string | undefined;
558
+ /**
559
+ * A What3words designation associated with this location with '.' separator.
560
+ */
561
+ what3words?: string | undefined;
562
+ };
563
+ export type StartJourneyAgentAddress = {
564
+ /**
565
+ * Unformatted line based address
566
+ */
567
+ lines?: Array<string> | undefined;
568
+ /**
569
+ * The address as a single line
570
+ */
571
+ addressString?: string | undefined;
572
+ /**
573
+ * The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
574
+ */
575
+ premise?: string | undefined;
576
+ /**
577
+ * The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
578
+ */
579
+ building?: string | undefined;
580
+ /**
581
+ * The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
582
+ */
583
+ subBuilding?: string | undefined;
584
+ /**
585
+ * This field holds the most common street or block data element within a country. For instance, USA Street
586
+ */
587
+ thoroughfare?: string | undefined;
588
+ /**
589
+ * The name of a dependent street or block, such as a street within a complex.
590
+ */
591
+ dependentThoroughfare?: string | undefined;
592
+ /**
593
+ * This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
594
+ */
595
+ locality?: string | undefined;
596
+ /**
597
+ * This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
598
+ */
599
+ dependentLocality?: string | undefined;
600
+ /**
601
+ * This is an even smaller area within a dependent locality, often used in very detailed addresses.
602
+ */
603
+ doubleDependentLocality?: string | undefined;
604
+ /**
605
+ * This field contains the complete postal code for a particular delivery point, should such detail be able to be determined. For example ZIP code in the US
606
+ */
607
+ postalCode?: string | undefined;
608
+ /**
609
+ * This field contains the post box number associated with a particular delivery point, should one exist.
610
+ */
611
+ postBox?: string | undefined;
612
+ /**
613
+ * Country the address is in. It must be a valid ISO2 or ISO3 country code
614
+ */
615
+ country?: string | undefined;
616
+ superAdministrativeArea?: string | undefined;
617
+ administrativeArea?: string | undefined;
618
+ subAdministrativeArea?: string | undefined;
619
+ organization?: string | undefined;
620
+ location?: StartJourneyAgentAddressLocation | undefined;
621
+ };
622
+ export type StartJourneyRegistration = {
623
+ jurisdiction?: string | undefined;
624
+ registrationType?: StartJourneyRegistrationType | undefined;
625
+ fileNumber?: string | undefined;
626
+ /**
627
+ * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
628
+ */
629
+ issueDate?: string | undefined;
630
+ registeredAddress?: StartJourneyRegisteredAddress | undefined;
631
+ agentName?: string | undefined;
632
+ agentAddress?: StartJourneyAgentAddress | undefined;
633
+ };
634
+ export declare const StartJourneyTypePrimary2: {
635
+ readonly Primary: "primary";
636
+ };
637
+ export type StartJourneyTypePrimary2 = ClosedEnum<typeof StartJourneyTypePrimary2>;
638
+ export declare const StartJourneyRole: {
639
+ readonly UltimateBeneficialOwner: "ultimateBeneficialOwner";
640
+ readonly Director: "director";
641
+ readonly Officer: "officer";
642
+ readonly Secretary: "secretary";
643
+ readonly Shareholder: "shareholder";
644
+ readonly Partner: "partner";
645
+ };
646
+ export type StartJourneyRole = ClosedEnum<typeof StartJourneyRole>;
647
+ export type StartJourneyCurrentAddressLocationPrimary = {
648
+ latitude?: string | undefined;
649
+ longitude?: string | undefined;
650
+ geoAccuracy?: string | undefined;
651
+ /**
652
+ * A What3words designation associated with this location with '.' separator.
653
+ */
654
+ what3words?: string | undefined;
655
+ };
656
+ export type StartJourneyCurrentAddressPrimary = {
657
+ /**
658
+ * Unformatted line based address
659
+ */
660
+ lines?: Array<string> | undefined;
661
+ /**
662
+ * The address as a single line
663
+ */
664
+ addressString?: string | undefined;
665
+ /**
666
+ * The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
667
+ */
668
+ premise?: string | undefined;
669
+ /**
670
+ * The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
671
+ */
672
+ building?: string | undefined;
673
+ /**
674
+ * The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
675
+ */
676
+ subBuilding?: string | undefined;
677
+ /**
678
+ * This field holds the most common street or block data element within a country. For instance, USA Street
679
+ */
680
+ thoroughfare?: string | undefined;
681
+ /**
682
+ * The name of a dependent street or block, such as a street within a complex.
683
+ */
684
+ dependentThoroughfare?: string | undefined;
685
+ /**
686
+ * This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
687
+ */
688
+ locality?: string | undefined;
689
+ /**
690
+ * This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
691
+ */
692
+ dependentLocality?: string | undefined;
693
+ /**
694
+ * This is an even smaller area within a dependent locality, often used in very detailed addresses.
695
+ */
696
+ doubleDependentLocality?: string | undefined;
697
+ /**
698
+ * This field contains the complete postal code for a particular delivery point, should such detail be able to be determined. For example ZIP code in the US
699
+ */
700
+ postalCode?: string | undefined;
701
+ /**
702
+ * This field contains the post box number associated with a particular delivery point, should one exist.
703
+ */
704
+ postBox?: string | undefined;
705
+ /**
706
+ * Country the address is in. It must be a valid ISO2 or ISO3 country code
707
+ */
708
+ country?: string | undefined;
709
+ superAdministrativeArea?: string | undefined;
710
+ administrativeArea?: string | undefined;
711
+ subAdministrativeArea?: string | undefined;
712
+ organization?: string | undefined;
713
+ location?: StartJourneyCurrentAddressLocationPrimary | undefined;
714
+ };
715
+ export type StartJourneyPerson = {
716
+ /**
717
+ * Title of an individual such as Mr, Mrs, Dr, Sir
718
+ */
719
+ title?: string | undefined;
720
+ /**
721
+ * A person's name used by their collegues and friends to address them
722
+ */
723
+ firstName?: string | undefined;
724
+ /**
725
+ * Any other registered names used by the individual, not aliases
726
+ */
727
+ middleNames?: Array<string> | undefined;
728
+ /**
729
+ * Any family names for the individual
730
+ */
731
+ lastNames?: Array<string> | undefined;
732
+ /**
733
+ * Any family names for the individual
734
+ */
735
+ lastNamesAtBirth?: Array<string> | undefined;
736
+ id?: string | undefined;
737
+ type?: StartJourneyTypePrimary2 | undefined;
738
+ role?: StartJourneyRole | undefined;
739
+ position?: string | undefined;
740
+ ownershipPercentage?: number | undefined;
741
+ /**
742
+ * Country the address is in. It must be a valid ISO2 or ISO3 country code
743
+ */
744
+ nationality?: string | undefined;
745
+ dateOfBirth?: string | undefined;
746
+ /**
747
+ * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
748
+ */
749
+ startDate?: string | undefined;
750
+ /**
751
+ * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
752
+ */
753
+ endDate?: string | undefined;
754
+ currentAddress?: StartJourneyCurrentAddressPrimary | undefined;
755
+ };
756
+ export type StartJourneyPhonePrimary = {
757
+ /**
758
+ * The type of phone number, such as landline, mobile, fax, unknown etc
759
+ */
760
+ type: string;
761
+ /**
762
+ * Phone number, ideally in international format with +(Country Code)
763
+ */
764
+ number: string;
371
765
  };
372
- export type StartJourneyAddress = {
766
+ export type StartJourneyEntity = {
767
+ id?: string | undefined;
768
+ type?: StartJourneyTypePrimary1 | undefined;
769
+ name?: string | undefined;
770
+ aliases?: Array<string> | undefined;
771
+ businessType?: string | undefined;
772
+ status?: StartJourneyStatus | undefined;
773
+ description?: string | undefined;
774
+ addresses?: Array<StartJourneyAddressPrimary> | undefined;
775
+ taxIdentifiers?: Array<StartJourneyTaxIdentifier> | undefined;
776
+ companyNumber?: string | undefined;
777
+ industryClassifications?: Array<StartJourneyIndustryClassification> | undefined;
778
+ registrations?: Array<StartJourneyRegistration> | undefined;
779
+ corporateStructure?: string | undefined;
780
+ persons?: Array<StartJourneyPerson> | undefined;
781
+ /**
782
+ * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
783
+ */
784
+ incorporationDate?: string | undefined;
785
+ /**
786
+ * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
787
+ */
788
+ dissolutionDate?: string | undefined;
789
+ phones?: Array<StartJourneyPhonePrimary> | undefined;
790
+ websites?: Array<string> | undefined;
791
+ headcount?: number | undefined;
792
+ isNonProfit?: boolean | undefined;
793
+ };
794
+ export type StartJourneyDocumentAddress = {
373
795
  addressString?: string | undefined;
374
796
  extractedAddressString?: string | undefined;
375
797
  addressLine1?: string | undefined;
@@ -387,6 +809,24 @@ export type StartJourneyDocumentDevice = {
387
809
  serialNumber?: string | undefined;
388
810
  manufacturer?: string | undefined;
389
811
  };
812
+ export type StartJourneySide1Device = {
813
+ type?: string | undefined;
814
+ model?: string | undefined;
815
+ hasContactlessReader?: boolean | undefined;
816
+ hasMagneticStripeReader?: boolean | undefined;
817
+ hasCamera?: boolean | undefined;
818
+ serialNumber?: string | undefined;
819
+ manufacturer?: string | undefined;
820
+ };
821
+ export type StartJourneySide2Device = {
822
+ type?: string | undefined;
823
+ model?: string | undefined;
824
+ hasContactlessReader?: boolean | undefined;
825
+ hasMagneticStripeReader?: boolean | undefined;
826
+ hasCamera?: boolean | undefined;
827
+ serialNumber?: string | undefined;
828
+ manufacturer?: string | undefined;
829
+ };
390
830
  export declare const StartJourneyName: {
391
831
  readonly Com: "COM";
392
832
  readonly Sod: "SOD";
@@ -579,10 +1019,15 @@ export type StartJourneyDocumentAlias = {
579
1019
  * Any family names for the individual
580
1020
  */
581
1021
  lastNamesAtBirth?: Array<string> | undefined;
1022
+ /**
1023
+ * The whole name as stated, unsplit into parts — used when the alias has no meaningful name parts
1024
+ */
1025
+ fullName?: string | undefined;
582
1026
  };
583
1027
  export declare const StartJourneyDocumentRelationship: {
584
1028
  readonly Mother: "mother";
585
1029
  readonly Father: "father";
1030
+ readonly Spouse: "spouse";
586
1031
  readonly MaternalGrandFather: "maternalGrandFather";
587
1032
  readonly MaternalGrandMother: "maternalGrandMother";
588
1033
  readonly PaternalGrandFather: "paternalGrandFather";
@@ -631,15 +1076,15 @@ export type StartJourneyDocumentCurrentAddress = {
631
1076
  */
632
1077
  addressString?: string | undefined;
633
1078
  /**
634
- * The primary delivery point for a premise or building. This could be a house number, a building name, etc.
1079
+ * The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
635
1080
  */
636
1081
  premise?: string | undefined;
637
1082
  /**
638
- * The name of a building or a building complex. In the US, this is the street number.
1083
+ * The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
639
1084
  */
640
1085
  building?: string | undefined;
641
1086
  /**
642
- * The name of a sub-building, such as a flat or apartment number.
1087
+ * The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
643
1088
  */
644
1089
  subBuilding?: string | undefined;
645
1090
  /**
@@ -699,15 +1144,15 @@ export type StartJourneyDocumentPreviousAddress = {
699
1144
  */
700
1145
  addressString?: string | undefined;
701
1146
  /**
702
- * The primary delivery point for a premise or building. This could be a house number, a building name, etc.
1147
+ * The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
703
1148
  */
704
1149
  premise?: string | undefined;
705
1150
  /**
706
- * The name of a building or a building complex. In the US, this is the street number.
1151
+ * The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
707
1152
  */
708
1153
  building?: string | undefined;
709
1154
  /**
710
- * The name of a sub-building, such as a flat or apartment number.
1155
+ * The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
711
1156
  */
712
1157
  subBuilding?: string | undefined;
713
1158
  /**
@@ -750,11 +1195,11 @@ export type StartJourneyDocumentPreviousAddress = {
750
1195
  /**
751
1196
  * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
752
1197
  */
753
- fromDate: string;
1198
+ fromDate?: string | undefined;
754
1199
  /**
755
1200
  * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
756
1201
  */
757
- toDate: string;
1202
+ toDate?: string | undefined;
758
1203
  };
759
1204
  export type StartJourneyDocumentPlaceOfBirthLocation = {
760
1205
  latitude?: string | undefined;
@@ -775,15 +1220,15 @@ export type StartJourneyDocumentPlaceOfBirth = {
775
1220
  */
776
1221
  addressString?: string | undefined;
777
1222
  /**
778
- * The primary delivery point for a premise or building. This could be a house number, a building name, etc.
1223
+ * The number identifying the property's delivery point on its street — "128", "30A", "8-12". Not the street name (thoroughfare), the unit (subBuilding), or a building or property name (building). Empty for a property identified only by a name.
779
1224
  */
780
1225
  premise?: string | undefined;
781
1226
  /**
782
- * The name of a building or a building complex. In the US, this is the street number.
1227
+ * The name of the building, complex, or named property — "Landmark House", "The Shard". Never the street number, in any country; that is premise. A property identified only by a name populates this field with premise left empty.
783
1228
  */
784
1229
  building?: string | undefined;
785
1230
  /**
786
- * The name of a sub-building, such as a flat or apartment number.
1231
+ * The unit within the property, such as a flat, apartment or suite number — "FLAT 1", "SUITE 212".
787
1232
  */
788
1233
  subBuilding?: string | undefined;
789
1234
  /**
@@ -850,7 +1295,7 @@ export type StartJourneyDocumentPhone = {
850
1295
  };
851
1296
  export type StartJourneyDocumentEmail = {
852
1297
  /**
853
- * The type of email, such as home, work, unknown etc
1298
+ * Email type discriminator. Canonical values: 'personal', 'work', 'home', 'other'. Three map to a domain element by exact match: 'personal' -> PersonalEmail, 'work' -> WorkEmail, 'other' -> OtherEmails (the domainElementId used to collect them). 'home' is the only canonical value with no domain element: a 'home' email is accepted and stored but cannot be retrieved through any v2 read (it matches no getter); use 'personal', 'work' or 'other' to have the email surfaced. Legacy inputs normalize at the API boundary (e.g. 'email' -> 'personal').
854
1299
  */
855
1300
  type: string;
856
1301
  /**
@@ -889,6 +1334,9 @@ export type StartJourneyDocumentSubject = {
889
1334
  * Any family names for the individual
890
1335
  */
891
1336
  lastNamesAtBirth?: Array<string> | undefined;
1337
+ /**
1338
+ * Names the subject is otherwise or was previously known by — applicant-declared, unordered, duplicates permitted
1339
+ */
892
1340
  aliases?: Array<StartJourneyDocumentAlias> | undefined;
893
1341
  relatedPersons?: Array<StartJourneyDocumentRelatedPerson> | undefined;
894
1342
  /**
@@ -907,10 +1355,14 @@ export type StartJourneyDocumentSubject = {
907
1355
  * The subject's mother's maiden name, used for identity verification
908
1356
  */
909
1357
  mothersMaidenName?: string | undefined;
1358
+ /**
1359
+ * Country the address is in. It must be a valid ISO2 or ISO3 country code
1360
+ */
1361
+ nationality?: string | undefined;
910
1362
  };
911
1363
  export type StartJourneyDocument = {
912
1364
  oneDBarcode?: string | undefined;
913
- address?: StartJourneyAddress | undefined;
1365
+ address?: StartJourneyDocumentAddress | undefined;
914
1366
  applicationDate?: string | undefined;
915
1367
  applicationNumber?: string | undefined;
916
1368
  dateOfBirth?: string | undefined;
@@ -988,13 +1440,15 @@ export type StartJourneyDocument = {
988
1440
  */
989
1441
  issuerCountryCode?: string | undefined;
990
1442
  id?: string | undefined;
991
- type?: string | undefined;
1443
+ type: string;
992
1444
  category?: string | undefined;
993
1445
  subtype?: string | undefined;
994
1446
  format?: string | undefined;
995
1447
  device?: StartJourneyDocumentDevice | undefined;
996
1448
  side1Image?: string | undefined;
997
1449
  side2Image?: string | undefined;
1450
+ side1Device?: StartJourneySide1Device | undefined;
1451
+ side2Device?: StartJourneySide2Device | undefined;
998
1452
  chip?: StartJourneyChip | undefined;
999
1453
  classification?: StartJourneyClassification | undefined;
1000
1454
  extraction?: StartJourneyExtraction | undefined;
@@ -1005,11 +1459,55 @@ export type StartJourneyDocument = {
1005
1459
  * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
1006
1460
  */
1007
1461
  expiryDate?: string | undefined;
1462
+ cardType?: string | undefined;
1463
+ /**
1464
+ * Year and month in ISO 8601 format: YYYY-MM
1465
+ */
1466
+ expiryMonth?: string | undefined;
1467
+ cardColour?: string | undefined;
1468
+ cardStatus?: string | undefined;
1008
1469
  subject?: StartJourneyDocumentSubject | undefined;
1009
1470
  /**
1010
1471
  * Country the address is in. It must be a valid ISO2 or ISO3 country code
1011
1472
  */
1012
1473
  country?: string | undefined;
1474
+ certificateFormat?: string | undefined;
1475
+ registrationNumber?: string | undefined;
1476
+ /**
1477
+ * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
1478
+ */
1479
+ registrationDate?: string | undefined;
1480
+ /**
1481
+ * Four-digit calendar year in ISO 8601 format: YYYY
1482
+ */
1483
+ registrationYear?: string | undefined;
1484
+ partyRole?: string | undefined;
1485
+ /**
1486
+ * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
1487
+ */
1488
+ dateOfEvent?: string | undefined;
1489
+ previousFirstName?: string | undefined;
1490
+ previousMiddleName?: string | undefined;
1491
+ previousSurname?: string | undefined;
1492
+ individualReferenceNumber?: string | undefined;
1493
+ nameLine1?: string | undefined;
1494
+ nameLine2?: string | undefined;
1495
+ nameLine3?: string | undefined;
1496
+ nameLine4?: string | undefined;
1497
+ };
1498
+ export declare const StartJourneyBiometricType: {
1499
+ readonly StoredFace: "storedFace";
1500
+ };
1501
+ export type StartJourneyBiometricType = ClosedEnum<typeof StartJourneyBiometricType>;
1502
+ export type StartJourneyBiometricStoredFace = {
1503
+ id?: string | undefined;
1504
+ type: StartJourneyBiometricType;
1505
+ templateReference: string;
1506
+ };
1507
+ export type StartJourneyBiometric5 = {
1508
+ id?: string | undefined;
1509
+ type?: string | undefined;
1510
+ anchorImage: string;
1013
1511
  };
1014
1512
  export type StartJourneyBiometric4 = {
1015
1513
  id?: string | undefined;
@@ -1034,11 +1532,11 @@ export type StartJourneyBiometric1 = {
1034
1532
  face1Image: string;
1035
1533
  face2Image: string;
1036
1534
  };
1037
- export type StartJourneyBiometricUnion = StartJourneyBiometric1 | StartJourneyBiometric2 | StartJourneyBiometric3 | StartJourneyBiometric4;
1535
+ export type StartJourneyBiometricUnion = StartJourneyBiometric1 | StartJourneyBiometric2 | StartJourneyBiometricStoredFace | StartJourneyBiometric3 | StartJourneyBiometric4 | StartJourneyBiometric5;
1038
1536
  export type StartJourneyUser = {
1039
1537
  id: string;
1040
- email: string;
1041
- domain: string;
1538
+ email?: string | undefined;
1539
+ domain?: string | undefined;
1042
1540
  };
1043
1541
  export type StartJourneyClient = {
1044
1542
  id: string;
@@ -1075,6 +1573,9 @@ export type StartJourneySessionAuth = {
1075
1573
  clientSecret?: string | undefined;
1076
1574
  };
1077
1575
  export type StartJourneySession = {
1576
+ id?: string | undefined;
1577
+ type?: string | undefined;
1578
+ provider?: string | undefined;
1078
1579
  user?: StartJourneyUser | undefined;
1079
1580
  client?: StartJourneyClient | undefined;
1080
1581
  device?: StartJourneySessionDevice | undefined;
@@ -1105,7 +1606,7 @@ export type StartJourneyConsent = {
1105
1606
  };
1106
1607
  export type StartJourneyAccount = {
1107
1608
  /**
1108
- * The type of account, e.g. Bank Account, Building Society
1609
+ * The type of account (canonical camelCase, e.g. "bankAccount"). Legacy value "Bank Account" is still read but new writes emit the canonical form.
1109
1610
  */
1110
1611
  type: string;
1111
1612
  /**
@@ -1145,59 +1646,125 @@ export type StartJourneyAccount = {
1145
1646
  */
1146
1647
  accountType?: string | undefined;
1147
1648
  };
1649
+ export type StartJourneyChoice = {
1650
+ label: string;
1651
+ text: string;
1652
+ };
1653
+ export type StartJourneyQuestion = {
1654
+ id: number;
1655
+ questionText: string;
1656
+ helpText?: string | undefined;
1657
+ choices: Array<StartJourneyChoice>;
1658
+ };
1659
+ export type StartJourneyAnswer = {
1660
+ id: number;
1661
+ choices: Array<string>;
1662
+ };
1663
+ export type StartJourneyKba = {
1664
+ questions: Array<StartJourneyQuestion>;
1665
+ answers: Array<StartJourneyAnswer>;
1666
+ };
1148
1667
  export type StartJourneySubject = {
1149
1668
  identity?: StartJourneyIdentity | undefined;
1669
+ entities?: Array<StartJourneyEntity> | undefined;
1150
1670
  documents?: Array<StartJourneyDocument> | undefined;
1151
- biometrics?: Array<StartJourneyBiometric1 | StartJourneyBiometric2 | StartJourneyBiometric3 | StartJourneyBiometric4> | undefined;
1671
+ biometrics?: Array<StartJourneyBiometric1 | StartJourneyBiometric2 | StartJourneyBiometricStoredFace | StartJourneyBiometric3 | StartJourneyBiometric4 | StartJourneyBiometric5> | undefined;
1152
1672
  sessions?: Array<StartJourneySession> | undefined;
1153
1673
  consent?: Array<StartJourneyConsent> | undefined;
1154
1674
  accounts?: Array<StartJourneyAccount> | undefined;
1675
+ kba?: StartJourneyKba | undefined;
1155
1676
  uid?: string | undefined;
1156
1677
  };
1157
- export type StartJourneyContext = {
1158
- config: Config;
1159
- subject: StartJourneySubject;
1678
+ /**
1679
+ * How resume behaves for this delivery: off (no credential minted — pre-resume behavior) or resume (the applicant may return until an absolute deadline). There is no park setting and no park behavior; what park expressed is the window resume already grants. resume uses resumeExpiryMinutes and off uses no lifetime member at all — supplying one under off is rejected. An operator bound can only cap this DOWN, never raise it.
1680
+ */
1681
+ export declare const ResumeMode: {
1682
+ readonly Off: "off";
1683
+ readonly Resume: "resume";
1160
1684
  };
1161
- export type StartJourneyRequest = {
1685
+ /**
1686
+ * How resume behaves for this delivery: off (no credential minted — pre-resume behavior) or resume (the applicant may return until an absolute deadline). There is no park setting and no park behavior; what park expressed is the window resume already grants. resume uses resumeExpiryMinutes and off uses no lifetime member at all — supplying one under off is rejected. An operator bound can only cap this DOWN, never raise it.
1687
+ */
1688
+ export type ResumeMode = ClosedEnum<typeof ResumeMode>;
1689
+ /**
1690
+ * Per-journey link lifetime and resume behavior. Every member is optional, and each is resolved independently across the per-journey, delivery, organization and system-default tiers, then clamped down to the operator bounds. All three members reach runtime behavior: ttlMinutes bounds how long the link stays startable, and the resolved resumeMode and resumeExpiryMinutes are frozen onto the delivery-token and connect-secret records, read at connect, and enforced when a resume credential is minted and exchanged. None of the resolved values is echoed on any response — the journey-start log line is where the resolved mode, its tier and any clamp are reported. An absent ttlMinutes falls back to the delivery resource's linkConfig, then to the organization's value, then to the deprecated flat deliveryUrlTtlMinutes, then to the system default.
1691
+ */
1692
+ export type LinkConfig = {
1162
1693
  /**
1163
- * Resource Id, a unique identifier for a resource, such as a journey or instance.
1694
+ * Lifetime of the delivery link in minutes: the deadline for STARTING a journey, governing the connect secret and therefore how long an unopened link stays usable. It no longer bounds how long an applicant may come BACK — that is resumeExpiryMinutes, which is anchored at first connect and may outlast this. Replaces the deprecated flat deliveryUrlTtlMinutes. Bounded by the operator ceiling at runtime, not here: a value above the ceiling is clamped down to it. A shorter lifetime is always honored exactly as supplied — there is no lower bound, and nothing lengthens a link beyond what was requested.
1164
1695
  */
1165
- resourceId: string;
1166
- context?: StartJourneyContext | undefined;
1167
- data?: {
1168
- [k: string]: any;
1169
- } | undefined;
1696
+ ttlMinutes?: number | undefined;
1697
+ /**
1698
+ * How resume behaves for this delivery: off (no credential minted — pre-resume behavior) or resume (the applicant may return until an absolute deadline). There is no park setting and no park behavior; what park expressed is the window resume already grants. resume uses resumeExpiryMinutes and off uses no lifetime member at all — supplying one under off is rejected. An operator bound can only cap this DOWN, never raise it.
1699
+ */
1700
+ resumeMode?: ResumeMode | undefined;
1701
+ /**
1702
+ * Resume-credential lifetime in minutes, ABSOLUTE from the applicant first connecting — not from link issue, and not sliding from last use. Nothing renews it: returning many times neither extends nor shortens it. Valid only when resumeMode is resume; supplying it alongside off is rejected. Clamped downward only. It may fall AFTER the link expires, which is deliberate — the link bounds starting, this bounds coming back. Because nothing renews it, a small value is a total journey budget rather than an idle timeout, and will cut off an applicant who never stopped working.
1703
+ */
1704
+ resumeExpiryMinutes?: number | undefined;
1170
1705
  };
1171
1706
  /**
1172
- * Start Response contains the Journey Instance Id
1707
+ * Selects which revision of this organisation configuration overlay this execution runs against. It participates in the delivery cache key, so naming a version guarantees the start is served a graph built from that exact overlay instead of a cached one. Omitting it is a no-op: the latest overlay applies and the request behaves as it did before this member existed.
1173
1708
  */
1174
- export type StartJourneyResponseBody2 = {
1709
+ export type Overlay = {
1710
+ /**
1711
+ * The overlay revision to apply for this execution. Supply the version returned when the overlay was saved to have the change take effect on this start rather than after the delivery cache expires. Omit it to run the latest overlay, which is the behavior when this member is absent.
1712
+ */
1713
+ version: string;
1714
+ };
1715
+ export type Config = {
1716
+ delivery: string;
1717
+ branding?: any | undefined;
1718
+ /**
1719
+ * Marks this start as operator-completed (assisted) rather than customer-completed, so the two populations can be told apart in downstream telemetry. Accepted and logged but not yet enforced: supplying it does not change validation, routing, execution or the response, and omitting it leaves the request byte-identical to an ordinary start. It is an attribution signal only, and whether anything ever reads it to change behavior is a separate decision that has not been taken.
1720
+ */
1721
+ assisted?: boolean | undefined;
1722
+ /**
1723
+ * Opt-in synchronous execution: when true, the start call waits for the journey and returns its outcome inline (completed, failed, awaiting-input or pending) instead of returning immediately with just an instanceId. Requires delivery "api" and a durable engine; otherwise the request is rejected with 400 before any journey is created. false is accepted and means the same as omitting it. Same name as Captain V1, but the response shape differs: the journey state is nested under "state".
1724
+ */
1725
+ inlineResult?: boolean | undefined;
1726
+ /**
1727
+ * How many seconds the caller is willing to wait; requires inlineResult: true. Optional: absent means wait up to the platform ceiling, which is the load balancer's idle timeout minus 5 seconds (55 today). Send a smaller value if your own HTTP client gives up sooner. A value above the ceiling is clamped, not rejected, and the clamp is logged; waitedSeconds in the response says how long the call waited.
1728
+ */
1729
+ syncWaitSeconds?: number | undefined;
1730
+ /**
1731
+ * Per-journey link lifetime and resume behavior. Every member is optional, and each is resolved independently across the per-journey, delivery, organization and system-default tiers, then clamped down to the operator bounds. All three members reach runtime behavior: ttlMinutes bounds how long the link stays startable, and the resolved resumeMode and resumeExpiryMinutes are frozen onto the delivery-token and connect-secret records, read at connect, and enforced when a resume credential is minted and exchanged. None of the resolved values is echoed on any response — the journey-start log line is where the resolved mode, its tier and any clamp are reported. An absent ttlMinutes falls back to the delivery resource's linkConfig, then to the organization's value, then to the deprecated flat deliveryUrlTtlMinutes, then to the system default.
1732
+ */
1733
+ linkConfig?: LinkConfig | undefined;
1175
1734
  /**
1176
- * Journey Instance Id, a unique identifier for a started journey instance.
1735
+ * Selects which revision of this organisation configuration overlay this execution runs against. It participates in the delivery cache key, so naming a version guarantees the start is served a graph built from that exact overlay instead of a cached one. Omitting it is a no-op: the latest overlay applies and the request behaves as it did before this member existed.
1177
1736
  */
1178
- instanceId: string;
1737
+ overlay?: Overlay | undefined;
1179
1738
  [additionalProperties: string]: unknown;
1180
1739
  };
1181
- /**
1182
- * Start Response contains the Journey Instance Id
1183
- */
1184
- export type StartJourneyResponseBody1 = {
1185
- /**
1186
- * Journey Instance Id, a unique identifier for a started journey instance.
1187
- */
1188
- instanceId: string;
1740
+ export type StartJourneyContext = {
1741
+ subject?: StartJourneySubject | undefined;
1742
+ config: Config;
1189
1743
  [additionalProperties: string]: unknown;
1190
1744
  };
1191
- export type StartJourneyResponse = StartJourneyResponseBody1 | StartJourneyResponseBody2;
1192
- /** @internal */
1193
- export declare const Delivery$outboundSchema: z.ZodMiniEnum<typeof Delivery>;
1194
- /** @internal */
1195
- export type Config$Outbound = {
1196
- delivery: string;
1745
+ export type Modules = {
1746
+ outcome: string;
1747
+ advice?: {
1748
+ [k: string]: any;
1749
+ } | undefined;
1750
+ [additionalProperties: string]: unknown;
1751
+ };
1752
+ export type Scenario = {
1753
+ modules: {
1754
+ [k: string]: Modules;
1755
+ };
1756
+ defaultOutcome?: string | undefined;
1757
+ defaultAdvice?: {
1758
+ [k: string]: any;
1759
+ } | undefined;
1760
+ description?: string | undefined;
1761
+ [additionalProperties: string]: unknown;
1762
+ };
1763
+ export type StartJourneyRequest = {
1764
+ resourceId: string;
1765
+ context: StartJourneyContext;
1766
+ scenario?: Scenario | undefined;
1197
1767
  };
1198
- /** @internal */
1199
- export declare const Config$outboundSchema: z.ZodMiniType<Config$Outbound, Config>;
1200
- export declare function configToJSON(config: Config): string;
1201
1768
  /** @internal */
1202
1769
  export type StartJourneyIdentityAlias$Outbound = {
1203
1770
  title?: string | undefined;
@@ -1205,6 +1772,7 @@ export type StartJourneyIdentityAlias$Outbound = {
1205
1772
  middleNames?: Array<string> | undefined;
1206
1773
  lastNames?: Array<string> | undefined;
1207
1774
  lastNamesAtBirth?: Array<string> | undefined;
1775
+ fullName?: string | undefined;
1208
1776
  };
1209
1777
  /** @internal */
1210
1778
  export declare const StartJourneyIdentityAlias$outboundSchema: z.ZodMiniType<StartJourneyIdentityAlias$Outbound, StartJourneyIdentityAlias>;
@@ -1287,8 +1855,8 @@ export type StartJourneyIdentityPreviousAddress$Outbound = {
1287
1855
  subAdministrativeArea?: string | undefined;
1288
1856
  organization?: string | undefined;
1289
1857
  location?: StartJourneyIdentityPreviousAddressLocation$Outbound | undefined;
1290
- fromDate: string;
1291
- toDate: string;
1858
+ fromDate?: string | undefined;
1859
+ toDate?: string | undefined;
1292
1860
  };
1293
1861
  /** @internal */
1294
1862
  export declare const StartJourneyIdentityPreviousAddress$outboundSchema: z.ZodMiniType<StartJourneyIdentityPreviousAddress$Outbound, StartJourneyIdentityPreviousAddress>;
@@ -1379,12 +1947,252 @@ export type StartJourneyIdentity$Outbound = {
1379
1947
  emails?: Array<StartJourneyIdentityEmail$Outbound> | undefined;
1380
1948
  socials?: Array<StartJourneyIdentitySocial$Outbound> | undefined;
1381
1949
  mothersMaidenName?: string | undefined;
1950
+ nationality?: string | undefined;
1382
1951
  };
1383
1952
  /** @internal */
1384
1953
  export declare const StartJourneyIdentity$outboundSchema: z.ZodMiniType<StartJourneyIdentity$Outbound, StartJourneyIdentity>;
1385
1954
  export declare function startJourneyIdentityToJSON(startJourneyIdentity: StartJourneyIdentity): string;
1386
1955
  /** @internal */
1387
- export type StartJourneyAddress$Outbound = {
1956
+ export declare const StartJourneyTypePrimary1$outboundSchema: z.ZodMiniEnum<typeof StartJourneyTypePrimary1>;
1957
+ /** @internal */
1958
+ export declare const StartJourneyStatus$outboundSchema: z.ZodMiniEnum<typeof StartJourneyStatus>;
1959
+ /** @internal */
1960
+ export type StartJourneyAddressLocation$Outbound = {
1961
+ latitude?: string | undefined;
1962
+ longitude?: string | undefined;
1963
+ geoAccuracy?: string | undefined;
1964
+ what3words?: string | undefined;
1965
+ };
1966
+ /** @internal */
1967
+ export declare const StartJourneyAddressLocation$outboundSchema: z.ZodMiniType<StartJourneyAddressLocation$Outbound, StartJourneyAddressLocation>;
1968
+ export declare function startJourneyAddressLocationToJSON(startJourneyAddressLocation: StartJourneyAddressLocation): string;
1969
+ /** @internal */
1970
+ export declare const StartJourneyPurpose$outboundSchema: z.ZodMiniEnum<typeof StartJourneyPurpose>;
1971
+ /** @internal */
1972
+ export type StartJourneyAddressPrimary$Outbound = {
1973
+ lines?: Array<string> | undefined;
1974
+ addressString?: string | undefined;
1975
+ premise?: string | undefined;
1976
+ building?: string | undefined;
1977
+ subBuilding?: string | undefined;
1978
+ thoroughfare?: string | undefined;
1979
+ dependentThoroughfare?: string | undefined;
1980
+ locality?: string | undefined;
1981
+ dependentLocality?: string | undefined;
1982
+ doubleDependentLocality?: string | undefined;
1983
+ postalCode?: string | undefined;
1984
+ postBox?: string | undefined;
1985
+ country?: string | undefined;
1986
+ superAdministrativeArea?: string | undefined;
1987
+ administrativeArea?: string | undefined;
1988
+ subAdministrativeArea?: string | undefined;
1989
+ organization?: string | undefined;
1990
+ location?: StartJourneyAddressLocation$Outbound | undefined;
1991
+ purpose?: string | undefined;
1992
+ };
1993
+ /** @internal */
1994
+ export declare const StartJourneyAddressPrimary$outboundSchema: z.ZodMiniType<StartJourneyAddressPrimary$Outbound, StartJourneyAddressPrimary>;
1995
+ export declare function startJourneyAddressPrimaryToJSON(startJourneyAddressPrimary: StartJourneyAddressPrimary): string;
1996
+ /** @internal */
1997
+ export declare const StartJourneyTaxIdentifierType$outboundSchema: z.ZodMiniEnum<typeof StartJourneyTaxIdentifierType>;
1998
+ /** @internal */
1999
+ export type StartJourneyTaxIdentifier$Outbound = {
2000
+ type: string;
2001
+ value: string;
2002
+ country?: string | undefined;
2003
+ };
2004
+ /** @internal */
2005
+ export declare const StartJourneyTaxIdentifier$outboundSchema: z.ZodMiniType<StartJourneyTaxIdentifier$Outbound, StartJourneyTaxIdentifier>;
2006
+ export declare function startJourneyTaxIdentifierToJSON(startJourneyTaxIdentifier: StartJourneyTaxIdentifier): string;
2007
+ /** @internal */
2008
+ export declare const StartJourneySystem$outboundSchema: z.ZodMiniEnum<typeof StartJourneySystem>;
2009
+ /** @internal */
2010
+ export type StartJourneyIndustryClassification$Outbound = {
2011
+ system: string;
2012
+ code: string;
2013
+ description?: string | undefined;
2014
+ };
2015
+ /** @internal */
2016
+ export declare const StartJourneyIndustryClassification$outboundSchema: z.ZodMiniType<StartJourneyIndustryClassification$Outbound, StartJourneyIndustryClassification>;
2017
+ export declare function startJourneyIndustryClassificationToJSON(startJourneyIndustryClassification: StartJourneyIndustryClassification): string;
2018
+ /** @internal */
2019
+ export declare const StartJourneyRegistrationType$outboundSchema: z.ZodMiniEnum<typeof StartJourneyRegistrationType>;
2020
+ /** @internal */
2021
+ export type StartJourneyRegisteredAddressLocation$Outbound = {
2022
+ latitude?: string | undefined;
2023
+ longitude?: string | undefined;
2024
+ geoAccuracy?: string | undefined;
2025
+ what3words?: string | undefined;
2026
+ };
2027
+ /** @internal */
2028
+ export declare const StartJourneyRegisteredAddressLocation$outboundSchema: z.ZodMiniType<StartJourneyRegisteredAddressLocation$Outbound, StartJourneyRegisteredAddressLocation>;
2029
+ export declare function startJourneyRegisteredAddressLocationToJSON(startJourneyRegisteredAddressLocation: StartJourneyRegisteredAddressLocation): string;
2030
+ /** @internal */
2031
+ export type StartJourneyRegisteredAddress$Outbound = {
2032
+ lines?: Array<string> | undefined;
2033
+ addressString?: string | undefined;
2034
+ premise?: string | undefined;
2035
+ building?: string | undefined;
2036
+ subBuilding?: string | undefined;
2037
+ thoroughfare?: string | undefined;
2038
+ dependentThoroughfare?: string | undefined;
2039
+ locality?: string | undefined;
2040
+ dependentLocality?: string | undefined;
2041
+ doubleDependentLocality?: string | undefined;
2042
+ postalCode?: string | undefined;
2043
+ postBox?: string | undefined;
2044
+ country?: string | undefined;
2045
+ superAdministrativeArea?: string | undefined;
2046
+ administrativeArea?: string | undefined;
2047
+ subAdministrativeArea?: string | undefined;
2048
+ organization?: string | undefined;
2049
+ location?: StartJourneyRegisteredAddressLocation$Outbound | undefined;
2050
+ };
2051
+ /** @internal */
2052
+ export declare const StartJourneyRegisteredAddress$outboundSchema: z.ZodMiniType<StartJourneyRegisteredAddress$Outbound, StartJourneyRegisteredAddress>;
2053
+ export declare function startJourneyRegisteredAddressToJSON(startJourneyRegisteredAddress: StartJourneyRegisteredAddress): string;
2054
+ /** @internal */
2055
+ export type StartJourneyAgentAddressLocation$Outbound = {
2056
+ latitude?: string | undefined;
2057
+ longitude?: string | undefined;
2058
+ geoAccuracy?: string | undefined;
2059
+ what3words?: string | undefined;
2060
+ };
2061
+ /** @internal */
2062
+ export declare const StartJourneyAgentAddressLocation$outboundSchema: z.ZodMiniType<StartJourneyAgentAddressLocation$Outbound, StartJourneyAgentAddressLocation>;
2063
+ export declare function startJourneyAgentAddressLocationToJSON(startJourneyAgentAddressLocation: StartJourneyAgentAddressLocation): string;
2064
+ /** @internal */
2065
+ export type StartJourneyAgentAddress$Outbound = {
2066
+ lines?: Array<string> | undefined;
2067
+ addressString?: string | undefined;
2068
+ premise?: string | undefined;
2069
+ building?: string | undefined;
2070
+ subBuilding?: string | undefined;
2071
+ thoroughfare?: string | undefined;
2072
+ dependentThoroughfare?: string | undefined;
2073
+ locality?: string | undefined;
2074
+ dependentLocality?: string | undefined;
2075
+ doubleDependentLocality?: string | undefined;
2076
+ postalCode?: string | undefined;
2077
+ postBox?: string | undefined;
2078
+ country?: string | undefined;
2079
+ superAdministrativeArea?: string | undefined;
2080
+ administrativeArea?: string | undefined;
2081
+ subAdministrativeArea?: string | undefined;
2082
+ organization?: string | undefined;
2083
+ location?: StartJourneyAgentAddressLocation$Outbound | undefined;
2084
+ };
2085
+ /** @internal */
2086
+ export declare const StartJourneyAgentAddress$outboundSchema: z.ZodMiniType<StartJourneyAgentAddress$Outbound, StartJourneyAgentAddress>;
2087
+ export declare function startJourneyAgentAddressToJSON(startJourneyAgentAddress: StartJourneyAgentAddress): string;
2088
+ /** @internal */
2089
+ export type StartJourneyRegistration$Outbound = {
2090
+ jurisdiction?: string | undefined;
2091
+ registrationType?: string | undefined;
2092
+ fileNumber?: string | undefined;
2093
+ issueDate?: string | undefined;
2094
+ registeredAddress?: StartJourneyRegisteredAddress$Outbound | undefined;
2095
+ agentName?: string | undefined;
2096
+ agentAddress?: StartJourneyAgentAddress$Outbound | undefined;
2097
+ };
2098
+ /** @internal */
2099
+ export declare const StartJourneyRegistration$outboundSchema: z.ZodMiniType<StartJourneyRegistration$Outbound, StartJourneyRegistration>;
2100
+ export declare function startJourneyRegistrationToJSON(startJourneyRegistration: StartJourneyRegistration): string;
2101
+ /** @internal */
2102
+ export declare const StartJourneyTypePrimary2$outboundSchema: z.ZodMiniEnum<typeof StartJourneyTypePrimary2>;
2103
+ /** @internal */
2104
+ export declare const StartJourneyRole$outboundSchema: z.ZodMiniEnum<typeof StartJourneyRole>;
2105
+ /** @internal */
2106
+ export type StartJourneyCurrentAddressLocationPrimary$Outbound = {
2107
+ latitude?: string | undefined;
2108
+ longitude?: string | undefined;
2109
+ geoAccuracy?: string | undefined;
2110
+ what3words?: string | undefined;
2111
+ };
2112
+ /** @internal */
2113
+ export declare const StartJourneyCurrentAddressLocationPrimary$outboundSchema: z.ZodMiniType<StartJourneyCurrentAddressLocationPrimary$Outbound, StartJourneyCurrentAddressLocationPrimary>;
2114
+ export declare function startJourneyCurrentAddressLocationPrimaryToJSON(startJourneyCurrentAddressLocationPrimary: StartJourneyCurrentAddressLocationPrimary): string;
2115
+ /** @internal */
2116
+ export type StartJourneyCurrentAddressPrimary$Outbound = {
2117
+ lines?: Array<string> | undefined;
2118
+ addressString?: string | undefined;
2119
+ premise?: string | undefined;
2120
+ building?: string | undefined;
2121
+ subBuilding?: string | undefined;
2122
+ thoroughfare?: string | undefined;
2123
+ dependentThoroughfare?: string | undefined;
2124
+ locality?: string | undefined;
2125
+ dependentLocality?: string | undefined;
2126
+ doubleDependentLocality?: string | undefined;
2127
+ postalCode?: string | undefined;
2128
+ postBox?: string | undefined;
2129
+ country?: string | undefined;
2130
+ superAdministrativeArea?: string | undefined;
2131
+ administrativeArea?: string | undefined;
2132
+ subAdministrativeArea?: string | undefined;
2133
+ organization?: string | undefined;
2134
+ location?: StartJourneyCurrentAddressLocationPrimary$Outbound | undefined;
2135
+ };
2136
+ /** @internal */
2137
+ export declare const StartJourneyCurrentAddressPrimary$outboundSchema: z.ZodMiniType<StartJourneyCurrentAddressPrimary$Outbound, StartJourneyCurrentAddressPrimary>;
2138
+ export declare function startJourneyCurrentAddressPrimaryToJSON(startJourneyCurrentAddressPrimary: StartJourneyCurrentAddressPrimary): string;
2139
+ /** @internal */
2140
+ export type StartJourneyPerson$Outbound = {
2141
+ title?: string | undefined;
2142
+ firstName?: string | undefined;
2143
+ middleNames?: Array<string> | undefined;
2144
+ lastNames?: Array<string> | undefined;
2145
+ lastNamesAtBirth?: Array<string> | undefined;
2146
+ id?: string | undefined;
2147
+ type?: string | undefined;
2148
+ role?: string | undefined;
2149
+ position?: string | undefined;
2150
+ ownershipPercentage?: number | undefined;
2151
+ nationality?: string | undefined;
2152
+ dateOfBirth?: string | undefined;
2153
+ startDate?: string | undefined;
2154
+ endDate?: string | undefined;
2155
+ currentAddress?: StartJourneyCurrentAddressPrimary$Outbound | undefined;
2156
+ };
2157
+ /** @internal */
2158
+ export declare const StartJourneyPerson$outboundSchema: z.ZodMiniType<StartJourneyPerson$Outbound, StartJourneyPerson>;
2159
+ export declare function startJourneyPersonToJSON(startJourneyPerson: StartJourneyPerson): string;
2160
+ /** @internal */
2161
+ export type StartJourneyPhonePrimary$Outbound = {
2162
+ type: string;
2163
+ number: string;
2164
+ };
2165
+ /** @internal */
2166
+ export declare const StartJourneyPhonePrimary$outboundSchema: z.ZodMiniType<StartJourneyPhonePrimary$Outbound, StartJourneyPhonePrimary>;
2167
+ export declare function startJourneyPhonePrimaryToJSON(startJourneyPhonePrimary: StartJourneyPhonePrimary): string;
2168
+ /** @internal */
2169
+ export type StartJourneyEntity$Outbound = {
2170
+ id?: string | undefined;
2171
+ type?: string | undefined;
2172
+ name?: string | undefined;
2173
+ aliases?: Array<string> | undefined;
2174
+ businessType?: string | undefined;
2175
+ status?: string | undefined;
2176
+ description?: string | undefined;
2177
+ addresses?: Array<StartJourneyAddressPrimary$Outbound> | undefined;
2178
+ taxIdentifiers?: Array<StartJourneyTaxIdentifier$Outbound> | undefined;
2179
+ companyNumber?: string | undefined;
2180
+ industryClassifications?: Array<StartJourneyIndustryClassification$Outbound> | undefined;
2181
+ registrations?: Array<StartJourneyRegistration$Outbound> | undefined;
2182
+ corporateStructure?: string | undefined;
2183
+ persons?: Array<StartJourneyPerson$Outbound> | undefined;
2184
+ incorporationDate?: string | undefined;
2185
+ dissolutionDate?: string | undefined;
2186
+ phones?: Array<StartJourneyPhonePrimary$Outbound> | undefined;
2187
+ websites?: Array<string> | undefined;
2188
+ headcount?: number | undefined;
2189
+ isNonProfit?: boolean | undefined;
2190
+ };
2191
+ /** @internal */
2192
+ export declare const StartJourneyEntity$outboundSchema: z.ZodMiniType<StartJourneyEntity$Outbound, StartJourneyEntity>;
2193
+ export declare function startJourneyEntityToJSON(startJourneyEntity: StartJourneyEntity): string;
2194
+ /** @internal */
2195
+ export type StartJourneyDocumentAddress$Outbound = {
1388
2196
  addressString?: string | undefined;
1389
2197
  extractedAddressString?: string | undefined;
1390
2198
  addressLine1?: string | undefined;
@@ -1394,8 +2202,8 @@ export type StartJourneyAddress$Outbound = {
1394
2202
  postalCode?: string | undefined;
1395
2203
  };
1396
2204
  /** @internal */
1397
- export declare const StartJourneyAddress$outboundSchema: z.ZodMiniType<StartJourneyAddress$Outbound, StartJourneyAddress>;
1398
- export declare function startJourneyAddressToJSON(startJourneyAddress: StartJourneyAddress): string;
2205
+ export declare const StartJourneyDocumentAddress$outboundSchema: z.ZodMiniType<StartJourneyDocumentAddress$Outbound, StartJourneyDocumentAddress>;
2206
+ export declare function startJourneyDocumentAddressToJSON(startJourneyDocumentAddress: StartJourneyDocumentAddress): string;
1399
2207
  /** @internal */
1400
2208
  export type StartJourneyDocumentDevice$Outbound = {
1401
2209
  type?: string | undefined;
@@ -1410,6 +2218,32 @@ export type StartJourneyDocumentDevice$Outbound = {
1410
2218
  export declare const StartJourneyDocumentDevice$outboundSchema: z.ZodMiniType<StartJourneyDocumentDevice$Outbound, StartJourneyDocumentDevice>;
1411
2219
  export declare function startJourneyDocumentDeviceToJSON(startJourneyDocumentDevice: StartJourneyDocumentDevice): string;
1412
2220
  /** @internal */
2221
+ export type StartJourneySide1Device$Outbound = {
2222
+ type?: string | undefined;
2223
+ model?: string | undefined;
2224
+ hasContactlessReader?: boolean | undefined;
2225
+ hasMagneticStripeReader?: boolean | undefined;
2226
+ hasCamera?: boolean | undefined;
2227
+ serialNumber?: string | undefined;
2228
+ manufacturer?: string | undefined;
2229
+ };
2230
+ /** @internal */
2231
+ export declare const StartJourneySide1Device$outboundSchema: z.ZodMiniType<StartJourneySide1Device$Outbound, StartJourneySide1Device>;
2232
+ export declare function startJourneySide1DeviceToJSON(startJourneySide1Device: StartJourneySide1Device): string;
2233
+ /** @internal */
2234
+ export type StartJourneySide2Device$Outbound = {
2235
+ type?: string | undefined;
2236
+ model?: string | undefined;
2237
+ hasContactlessReader?: boolean | undefined;
2238
+ hasMagneticStripeReader?: boolean | undefined;
2239
+ hasCamera?: boolean | undefined;
2240
+ serialNumber?: string | undefined;
2241
+ manufacturer?: string | undefined;
2242
+ };
2243
+ /** @internal */
2244
+ export declare const StartJourneySide2Device$outboundSchema: z.ZodMiniType<StartJourneySide2Device$Outbound, StartJourneySide2Device>;
2245
+ export declare function startJourneySide2DeviceToJSON(startJourneySide2Device: StartJourneySide2Device): string;
2246
+ /** @internal */
1413
2247
  export declare const StartJourneyName$outboundSchema: z.ZodMiniEnum<typeof StartJourneyName>;
1414
2248
  /** @internal */
1415
2249
  export type StartJourneyLd$Outbound = {
@@ -1641,6 +2475,7 @@ export type StartJourneyDocumentAlias$Outbound = {
1641
2475
  middleNames?: Array<string> | undefined;
1642
2476
  lastNames?: Array<string> | undefined;
1643
2477
  lastNamesAtBirth?: Array<string> | undefined;
2478
+ fullName?: string | undefined;
1644
2479
  };
1645
2480
  /** @internal */
1646
2481
  export declare const StartJourneyDocumentAlias$outboundSchema: z.ZodMiniType<StartJourneyDocumentAlias$Outbound, StartJourneyDocumentAlias>;
@@ -1723,8 +2558,8 @@ export type StartJourneyDocumentPreviousAddress$Outbound = {
1723
2558
  subAdministrativeArea?: string | undefined;
1724
2559
  organization?: string | undefined;
1725
2560
  location?: StartJourneyDocumentPreviousAddressLocation$Outbound | undefined;
1726
- fromDate: string;
1727
- toDate: string;
2561
+ fromDate?: string | undefined;
2562
+ toDate?: string | undefined;
1728
2563
  };
1729
2564
  /** @internal */
1730
2565
  export declare const StartJourneyDocumentPreviousAddress$outboundSchema: z.ZodMiniType<StartJourneyDocumentPreviousAddress$Outbound, StartJourneyDocumentPreviousAddress>;
@@ -1815,6 +2650,7 @@ export type StartJourneyDocumentSubject$Outbound = {
1815
2650
  emails?: Array<StartJourneyDocumentEmail$Outbound> | undefined;
1816
2651
  socials?: Array<StartJourneyDocumentSocial$Outbound> | undefined;
1817
2652
  mothersMaidenName?: string | undefined;
2653
+ nationality?: string | undefined;
1818
2654
  };
1819
2655
  /** @internal */
1820
2656
  export declare const StartJourneyDocumentSubject$outboundSchema: z.ZodMiniType<StartJourneyDocumentSubject$Outbound, StartJourneyDocumentSubject>;
@@ -1822,7 +2658,7 @@ export declare function startJourneyDocumentSubjectToJSON(startJourneyDocumentSu
1822
2658
  /** @internal */
1823
2659
  export type StartJourneyDocument$Outbound = {
1824
2660
  oneDBarcode?: string | undefined;
1825
- address?: StartJourneyAddress$Outbound | undefined;
2661
+ address?: StartJourneyDocumentAddress$Outbound | undefined;
1826
2662
  applicationDate?: string | undefined;
1827
2663
  applicationNumber?: string | undefined;
1828
2664
  dateOfBirth?: string | undefined;
@@ -1894,13 +2730,15 @@ export type StartJourneyDocument$Outbound = {
1894
2730
  cardNumber?: string | undefined;
1895
2731
  issuerCountryCode?: string | undefined;
1896
2732
  id?: string | undefined;
1897
- type?: string | undefined;
2733
+ type: string;
1898
2734
  category?: string | undefined;
1899
2735
  subtype?: string | undefined;
1900
2736
  format?: string | undefined;
1901
2737
  device?: StartJourneyDocumentDevice$Outbound | undefined;
1902
2738
  side1Image?: string | undefined;
1903
2739
  side2Image?: string | undefined;
2740
+ side1Device?: StartJourneySide1Device$Outbound | undefined;
2741
+ side2Device?: StartJourneySide2Device$Outbound | undefined;
1904
2742
  chip?: StartJourneyChip$Outbound | undefined;
1905
2743
  classification?: StartJourneyClassification$Outbound | undefined;
1906
2744
  extraction?: StartJourneyExtraction$Outbound | undefined;
@@ -1908,13 +2746,51 @@ export type StartJourneyDocument$Outbound = {
1908
2746
  subType?: string | undefined;
1909
2747
  number?: string | undefined;
1910
2748
  expiryDate?: string | undefined;
2749
+ cardType?: string | undefined;
2750
+ expiryMonth?: string | undefined;
2751
+ cardColour?: string | undefined;
2752
+ cardStatus?: string | undefined;
1911
2753
  subject?: StartJourneyDocumentSubject$Outbound | undefined;
1912
2754
  country?: string | undefined;
2755
+ certificateFormat?: string | undefined;
2756
+ registrationNumber?: string | undefined;
2757
+ registrationDate?: string | undefined;
2758
+ registrationYear?: string | undefined;
2759
+ partyRole?: string | undefined;
2760
+ dateOfEvent?: string | undefined;
2761
+ previousFirstName?: string | undefined;
2762
+ previousMiddleName?: string | undefined;
2763
+ previousSurname?: string | undefined;
2764
+ individualReferenceNumber?: string | undefined;
2765
+ nameLine1?: string | undefined;
2766
+ nameLine2?: string | undefined;
2767
+ nameLine3?: string | undefined;
2768
+ nameLine4?: string | undefined;
1913
2769
  };
1914
2770
  /** @internal */
1915
2771
  export declare const StartJourneyDocument$outboundSchema: z.ZodMiniType<StartJourneyDocument$Outbound, StartJourneyDocument>;
1916
2772
  export declare function startJourneyDocumentToJSON(startJourneyDocument: StartJourneyDocument): string;
1917
2773
  /** @internal */
2774
+ export declare const StartJourneyBiometricType$outboundSchema: z.ZodMiniEnum<typeof StartJourneyBiometricType>;
2775
+ /** @internal */
2776
+ export type StartJourneyBiometricStoredFace$Outbound = {
2777
+ id?: string | undefined;
2778
+ type: string;
2779
+ templateReference: string;
2780
+ };
2781
+ /** @internal */
2782
+ export declare const StartJourneyBiometricStoredFace$outboundSchema: z.ZodMiniType<StartJourneyBiometricStoredFace$Outbound, StartJourneyBiometricStoredFace>;
2783
+ export declare function startJourneyBiometricStoredFaceToJSON(startJourneyBiometricStoredFace: StartJourneyBiometricStoredFace): string;
2784
+ /** @internal */
2785
+ export type StartJourneyBiometric5$Outbound = {
2786
+ id?: string | undefined;
2787
+ type?: string | undefined;
2788
+ anchorImage: string;
2789
+ };
2790
+ /** @internal */
2791
+ export declare const StartJourneyBiometric5$outboundSchema: z.ZodMiniType<StartJourneyBiometric5$Outbound, StartJourneyBiometric5>;
2792
+ export declare function startJourneyBiometric5ToJSON(startJourneyBiometric5: StartJourneyBiometric5): string;
2793
+ /** @internal */
1918
2794
  export type StartJourneyBiometric4$Outbound = {
1919
2795
  id?: string | undefined;
1920
2796
  type?: string | undefined;
@@ -1954,15 +2830,15 @@ export type StartJourneyBiometric1$Outbound = {
1954
2830
  export declare const StartJourneyBiometric1$outboundSchema: z.ZodMiniType<StartJourneyBiometric1$Outbound, StartJourneyBiometric1>;
1955
2831
  export declare function startJourneyBiometric1ToJSON(startJourneyBiometric1: StartJourneyBiometric1): string;
1956
2832
  /** @internal */
1957
- export type StartJourneyBiometricUnion$Outbound = StartJourneyBiometric1$Outbound | StartJourneyBiometric2$Outbound | StartJourneyBiometric3$Outbound | StartJourneyBiometric4$Outbound;
2833
+ export type StartJourneyBiometricUnion$Outbound = StartJourneyBiometric1$Outbound | StartJourneyBiometric2$Outbound | StartJourneyBiometricStoredFace$Outbound | StartJourneyBiometric3$Outbound | StartJourneyBiometric4$Outbound | StartJourneyBiometric5$Outbound;
1958
2834
  /** @internal */
1959
2835
  export declare const StartJourneyBiometricUnion$outboundSchema: z.ZodMiniType<StartJourneyBiometricUnion$Outbound, StartJourneyBiometricUnion>;
1960
2836
  export declare function startJourneyBiometricUnionToJSON(startJourneyBiometricUnion: StartJourneyBiometricUnion): string;
1961
2837
  /** @internal */
1962
2838
  export type StartJourneyUser$Outbound = {
1963
2839
  id: string;
1964
- email: string;
1965
- domain: string;
2840
+ email?: string | undefined;
2841
+ domain?: string | undefined;
1966
2842
  };
1967
2843
  /** @internal */
1968
2844
  export declare const StartJourneyUser$outboundSchema: z.ZodMiniType<StartJourneyUser$Outbound, StartJourneyUser>;
@@ -2031,6 +2907,9 @@ export declare const StartJourneySessionAuth$outboundSchema: z.ZodMiniType<Start
2031
2907
  export declare function startJourneySessionAuthToJSON(startJourneySessionAuth: StartJourneySessionAuth): string;
2032
2908
  /** @internal */
2033
2909
  export type StartJourneySession$Outbound = {
2910
+ id?: string | undefined;
2911
+ type?: string | undefined;
2912
+ provider?: string | undefined;
2034
2913
  user?: StartJourneyUser$Outbound | undefined;
2035
2914
  client?: StartJourneyClient$Outbound | undefined;
2036
2915
  device?: StartJourneySessionDevice$Outbound | undefined;
@@ -2079,44 +2958,128 @@ export type StartJourneyAccount$Outbound = {
2079
2958
  export declare const StartJourneyAccount$outboundSchema: z.ZodMiniType<StartJourneyAccount$Outbound, StartJourneyAccount>;
2080
2959
  export declare function startJourneyAccountToJSON(startJourneyAccount: StartJourneyAccount): string;
2081
2960
  /** @internal */
2961
+ export type StartJourneyChoice$Outbound = {
2962
+ label: string;
2963
+ text: string;
2964
+ };
2965
+ /** @internal */
2966
+ export declare const StartJourneyChoice$outboundSchema: z.ZodMiniType<StartJourneyChoice$Outbound, StartJourneyChoice>;
2967
+ export declare function startJourneyChoiceToJSON(startJourneyChoice: StartJourneyChoice): string;
2968
+ /** @internal */
2969
+ export type StartJourneyQuestion$Outbound = {
2970
+ id: number;
2971
+ questionText: string;
2972
+ helpText?: string | undefined;
2973
+ choices: Array<StartJourneyChoice$Outbound>;
2974
+ };
2975
+ /** @internal */
2976
+ export declare const StartJourneyQuestion$outboundSchema: z.ZodMiniType<StartJourneyQuestion$Outbound, StartJourneyQuestion>;
2977
+ export declare function startJourneyQuestionToJSON(startJourneyQuestion: StartJourneyQuestion): string;
2978
+ /** @internal */
2979
+ export type StartJourneyAnswer$Outbound = {
2980
+ id: number;
2981
+ choices: Array<string>;
2982
+ };
2983
+ /** @internal */
2984
+ export declare const StartJourneyAnswer$outboundSchema: z.ZodMiniType<StartJourneyAnswer$Outbound, StartJourneyAnswer>;
2985
+ export declare function startJourneyAnswerToJSON(startJourneyAnswer: StartJourneyAnswer): string;
2986
+ /** @internal */
2987
+ export type StartJourneyKba$Outbound = {
2988
+ questions: Array<StartJourneyQuestion$Outbound>;
2989
+ answers: Array<StartJourneyAnswer$Outbound>;
2990
+ };
2991
+ /** @internal */
2992
+ export declare const StartJourneyKba$outboundSchema: z.ZodMiniType<StartJourneyKba$Outbound, StartJourneyKba>;
2993
+ export declare function startJourneyKbaToJSON(startJourneyKba: StartJourneyKba): string;
2994
+ /** @internal */
2082
2995
  export type StartJourneySubject$Outbound = {
2083
2996
  identity?: StartJourneyIdentity$Outbound | undefined;
2997
+ entities?: Array<StartJourneyEntity$Outbound> | undefined;
2084
2998
  documents?: Array<StartJourneyDocument$Outbound> | undefined;
2085
- biometrics?: Array<StartJourneyBiometric1$Outbound | StartJourneyBiometric2$Outbound | StartJourneyBiometric3$Outbound | StartJourneyBiometric4$Outbound> | undefined;
2999
+ biometrics?: Array<StartJourneyBiometric1$Outbound | StartJourneyBiometric2$Outbound | StartJourneyBiometricStoredFace$Outbound | StartJourneyBiometric3$Outbound | StartJourneyBiometric4$Outbound | StartJourneyBiometric5$Outbound> | undefined;
2086
3000
  sessions?: Array<StartJourneySession$Outbound> | undefined;
2087
3001
  consent?: Array<StartJourneyConsent$Outbound> | undefined;
2088
3002
  accounts?: Array<StartJourneyAccount$Outbound> | undefined;
3003
+ kba?: StartJourneyKba$Outbound | undefined;
2089
3004
  uid?: string | undefined;
2090
3005
  };
2091
3006
  /** @internal */
2092
3007
  export declare const StartJourneySubject$outboundSchema: z.ZodMiniType<StartJourneySubject$Outbound, StartJourneySubject>;
2093
3008
  export declare function startJourneySubjectToJSON(startJourneySubject: StartJourneySubject): string;
2094
3009
  /** @internal */
3010
+ export declare const ResumeMode$outboundSchema: z.ZodMiniEnum<typeof ResumeMode>;
3011
+ /** @internal */
3012
+ export type LinkConfig$Outbound = {
3013
+ ttlMinutes?: number | undefined;
3014
+ resumeMode?: string | undefined;
3015
+ resumeExpiryMinutes?: number | undefined;
3016
+ };
3017
+ /** @internal */
3018
+ export declare const LinkConfig$outboundSchema: z.ZodMiniType<LinkConfig$Outbound, LinkConfig>;
3019
+ export declare function linkConfigToJSON(linkConfig: LinkConfig): string;
3020
+ /** @internal */
3021
+ export type Overlay$Outbound = {
3022
+ version: string;
3023
+ };
3024
+ /** @internal */
3025
+ export declare const Overlay$outboundSchema: z.ZodMiniType<Overlay$Outbound, Overlay>;
3026
+ export declare function overlayToJSON(overlay: Overlay): string;
3027
+ /** @internal */
3028
+ export type Config$Outbound = {
3029
+ delivery: string;
3030
+ branding?: any | undefined;
3031
+ assisted?: boolean | undefined;
3032
+ inlineResult?: boolean | undefined;
3033
+ syncWaitSeconds?: number | undefined;
3034
+ linkConfig?: LinkConfig$Outbound | undefined;
3035
+ overlay?: Overlay$Outbound | undefined;
3036
+ [additionalProperties: string]: unknown;
3037
+ };
3038
+ /** @internal */
3039
+ export declare const Config$outboundSchema: z.ZodMiniType<Config$Outbound, Config>;
3040
+ export declare function configToJSON(config: Config): string;
3041
+ /** @internal */
2095
3042
  export type StartJourneyContext$Outbound = {
3043
+ subject?: StartJourneySubject$Outbound | undefined;
2096
3044
  config: Config$Outbound;
2097
- subject: StartJourneySubject$Outbound;
3045
+ [additionalProperties: string]: unknown;
2098
3046
  };
2099
3047
  /** @internal */
2100
3048
  export declare const StartJourneyContext$outboundSchema: z.ZodMiniType<StartJourneyContext$Outbound, StartJourneyContext>;
2101
3049
  export declare function startJourneyContextToJSON(startJourneyContext: StartJourneyContext): string;
2102
3050
  /** @internal */
2103
- export type StartJourneyRequest$Outbound = {
2104
- resourceId: string;
2105
- context?: StartJourneyContext$Outbound | undefined;
2106
- data?: {
3051
+ export type Modules$Outbound = {
3052
+ outcome: string;
3053
+ advice?: {
2107
3054
  [k: string]: any;
2108
3055
  } | undefined;
3056
+ [additionalProperties: string]: unknown;
2109
3057
  };
2110
3058
  /** @internal */
2111
- export declare const StartJourneyRequest$outboundSchema: z.ZodMiniType<StartJourneyRequest$Outbound, StartJourneyRequest>;
2112
- export declare function startJourneyRequestToJSON(startJourneyRequest: StartJourneyRequest): string;
3059
+ export declare const Modules$outboundSchema: z.ZodMiniType<Modules$Outbound, Modules>;
3060
+ export declare function modulesToJSON(modules: Modules): string;
3061
+ /** @internal */
3062
+ export type Scenario$Outbound = {
3063
+ modules: {
3064
+ [k: string]: Modules$Outbound;
3065
+ };
3066
+ defaultOutcome?: string | undefined;
3067
+ defaultAdvice?: {
3068
+ [k: string]: any;
3069
+ } | undefined;
3070
+ description?: string | undefined;
3071
+ [additionalProperties: string]: unknown;
3072
+ };
2113
3073
  /** @internal */
2114
- export declare const StartJourneyResponseBody2$inboundSchema: z.ZodMiniType<StartJourneyResponseBody2, unknown>;
2115
- export declare function startJourneyResponseBody2FromJSON(jsonString: string): SafeParseResult<StartJourneyResponseBody2, SDKValidationError>;
3074
+ export declare const Scenario$outboundSchema: z.ZodMiniType<Scenario$Outbound, Scenario>;
3075
+ export declare function scenarioToJSON(scenario: Scenario): string;
2116
3076
  /** @internal */
2117
- export declare const StartJourneyResponseBody1$inboundSchema: z.ZodMiniType<StartJourneyResponseBody1, unknown>;
2118
- export declare function startJourneyResponseBody1FromJSON(jsonString: string): SafeParseResult<StartJourneyResponseBody1, SDKValidationError>;
3077
+ export type StartJourneyRequest$Outbound = {
3078
+ resourceId: string;
3079
+ context: StartJourneyContext$Outbound;
3080
+ scenario?: Scenario$Outbound | undefined;
3081
+ };
2119
3082
  /** @internal */
2120
- export declare const StartJourneyResponse$inboundSchema: z.ZodMiniType<StartJourneyResponse, unknown>;
2121
- export declare function startJourneyResponseFromJSON(jsonString: string): SafeParseResult<StartJourneyResponse, SDKValidationError>;
3083
+ export declare const StartJourneyRequest$outboundSchema: z.ZodMiniType<StartJourneyRequest$Outbound, StartJourneyRequest>;
3084
+ export declare function startJourneyRequestToJSON(startJourneyRequest: StartJourneyRequest): string;
2122
3085
  //# sourceMappingURL=start-journey.d.ts.map