@gbg/go-core 0.1.3 → 0.2.0-alpha.1

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 (918) hide show
  1. package/FUNCTIONS.md +6 -4
  2. package/README.md +159 -59
  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 +8 -3
  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 +9 -5
  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 +8 -3
  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 +18 -6
  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 +14 -3
  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 +12 -6
  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 +8 -3
  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/tasks-get-schema.d.ts +8 -3
  64. package/dist/commonjs/funcs/tasks-get-schema.d.ts.map +1 -1
  65. package/dist/commonjs/funcs/tasks-get-schema.js +9 -3
  66. package/dist/commonjs/funcs/tasks-get-schema.js.map +1 -1
  67. package/dist/commonjs/funcs/test-scenarios-create.d.ts +21 -0
  68. package/dist/commonjs/funcs/test-scenarios-create.d.ts.map +1 -0
  69. package/dist/commonjs/funcs/test-scenarios-create.js +129 -0
  70. package/dist/commonjs/funcs/test-scenarios-create.js.map +1 -0
  71. package/dist/commonjs/funcs/test-scenarios-delete.d.ts +20 -0
  72. package/dist/commonjs/funcs/test-scenarios-delete.d.ts.map +1 -0
  73. package/dist/commonjs/funcs/test-scenarios-delete.js +131 -0
  74. package/dist/commonjs/funcs/test-scenarios-delete.js.map +1 -0
  75. package/dist/commonjs/funcs/test-scenarios-get.d.ts +21 -0
  76. package/dist/commonjs/funcs/test-scenarios-get.d.ts.map +1 -0
  77. package/dist/commonjs/funcs/test-scenarios-get.js +136 -0
  78. package/dist/commonjs/funcs/test-scenarios-get.js.map +1 -0
  79. package/dist/commonjs/funcs/test-scenarios-list.d.ts +21 -0
  80. package/dist/commonjs/funcs/test-scenarios-list.d.ts.map +1 -0
  81. package/dist/commonjs/funcs/test-scenarios-list.js +132 -0
  82. package/dist/commonjs/funcs/test-scenarios-list.js.map +1 -0
  83. package/dist/commonjs/funcs/test-scenarios-put.d.ts +21 -0
  84. package/dist/commonjs/funcs/test-scenarios-put.d.ts.map +1 -0
  85. package/dist/commonjs/funcs/test-scenarios-put.js +133 -0
  86. package/dist/commonjs/funcs/test-scenarios-put.js.map +1 -0
  87. package/dist/commonjs/funcs/tokens-generate.d.ts +2 -1
  88. package/dist/commonjs/funcs/tokens-generate.d.ts.map +1 -1
  89. package/dist/commonjs/funcs/tokens-generate.js +6 -2
  90. package/dist/commonjs/funcs/tokens-generate.js.map +1 -1
  91. package/dist/commonjs/lib/config.d.ts +4 -4
  92. package/dist/commonjs/lib/config.d.ts.map +1 -1
  93. package/dist/commonjs/lib/config.js +13 -4
  94. package/dist/commonjs/lib/config.js.map +1 -1
  95. package/dist/commonjs/models/create-test-scenario-request.d.ts +29 -0
  96. package/dist/commonjs/models/create-test-scenario-request.d.ts.map +1 -0
  97. package/dist/commonjs/models/create-test-scenario-request.js +56 -0
  98. package/dist/commonjs/models/create-test-scenario-request.js.map +1 -0
  99. package/dist/commonjs/models/delete-response.d.ts +19 -0
  100. package/dist/commonjs/models/delete-response.d.ts.map +1 -0
  101. package/dist/commonjs/models/delete-response.js +57 -0
  102. package/dist/commonjs/models/delete-response.js.map +1 -0
  103. package/dist/commonjs/models/device-connect-request.d.ts +29 -0
  104. package/dist/commonjs/models/device-connect-request.d.ts.map +1 -0
  105. package/dist/commonjs/models/device-connect-request.js +59 -0
  106. package/dist/commonjs/models/device-connect-request.js.map +1 -0
  107. package/dist/commonjs/models/device-connect-response.d.ts +25 -0
  108. package/dist/commonjs/models/device-connect-response.d.ts.map +1 -0
  109. package/dist/commonjs/models/device-connect-response.js +63 -0
  110. package/dist/commonjs/models/device-connect-response.js.map +1 -0
  111. package/dist/commonjs/models/device-refresh-response.d.ts +16 -0
  112. package/dist/commonjs/models/device-refresh-response.d.ts.map +1 -0
  113. package/dist/commonjs/models/device-refresh-response.js +56 -0
  114. package/dist/commonjs/models/device-refresh-response.js.map +1 -0
  115. package/dist/commonjs/models/device-start-response.d.ts +20 -0
  116. package/dist/commonjs/models/device-start-response.d.ts.map +1 -0
  117. package/dist/commonjs/models/device-start-response.js +58 -0
  118. package/dist/commonjs/models/device-start-response.js.map +1 -0
  119. package/dist/commonjs/models/device-validate-response.d.ts +14 -0
  120. package/dist/commonjs/models/device-validate-response.d.ts.map +1 -0
  121. package/dist/commonjs/models/device-validate-response.js +54 -0
  122. package/dist/commonjs/models/device-validate-response.js.map +1 -0
  123. package/dist/commonjs/models/errors/error-response.d.ts +19 -0
  124. package/dist/commonjs/models/errors/error-response.d.ts.map +1 -0
  125. package/dist/commonjs/models/errors/error-response.js +68 -0
  126. package/dist/commonjs/models/errors/error-response.js.map +1 -0
  127. package/dist/commonjs/models/errors/index.d.ts +2 -0
  128. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  129. package/dist/commonjs/models/errors/index.js +2 -0
  130. package/dist/commonjs/models/errors/index.js.map +1 -1
  131. package/dist/commonjs/models/errors/o-auth-error-response.d.ts +32 -0
  132. package/dist/commonjs/models/errors/o-auth-error-response.d.ts.map +1 -0
  133. package/dist/commonjs/models/errors/o-auth-error-response.js +75 -0
  134. package/dist/commonjs/models/errors/o-auth-error-response.js.map +1 -0
  135. package/dist/commonjs/models/gbg-error.d.ts +28 -0
  136. package/dist/commonjs/models/gbg-error.d.ts.map +1 -0
  137. package/dist/commonjs/models/gbg-error.js +68 -0
  138. package/dist/commonjs/models/gbg-error.js.map +1 -0
  139. package/dist/commonjs/models/handoff-token-response.d.ts +20 -0
  140. package/dist/commonjs/models/handoff-token-response.d.ts.map +1 -0
  141. package/dist/commonjs/models/handoff-token-response.js +59 -0
  142. package/dist/commonjs/models/handoff-token-response.js.map +1 -0
  143. package/dist/commonjs/models/index.d.ts +33 -0
  144. package/dist/commonjs/models/index.d.ts.map +1 -1
  145. package/dist/commonjs/models/index.js +33 -0
  146. package/dist/commonjs/models/index.js.map +1 -1
  147. package/dist/commonjs/models/interaction-fetch-response.d.ts +40 -0
  148. package/dist/commonjs/models/interaction-fetch-response.d.ts.map +1 -0
  149. package/dist/commonjs/models/interaction-fetch-response.js +78 -0
  150. package/dist/commonjs/models/interaction-fetch-response.js.map +1 -0
  151. package/dist/commonjs/models/interaction-submit-response.d.ts +17 -0
  152. package/dist/commonjs/models/interaction-submit-response.d.ts.map +1 -0
  153. package/dist/commonjs/models/interaction-submit-response.js +55 -0
  154. package/dist/commonjs/models/interaction-submit-response.js.map +1 -0
  155. package/dist/commonjs/models/journey-start-response.d.ts +34 -0
  156. package/dist/commonjs/models/journey-start-response.d.ts.map +1 -0
  157. package/dist/commonjs/models/journey-start-response.js +67 -0
  158. package/dist/commonjs/models/journey-start-response.js.map +1 -0
  159. package/dist/commonjs/models/loqate-retrieve-response.d.ts +12 -0
  160. package/dist/commonjs/models/loqate-retrieve-response.d.ts.map +1 -0
  161. package/dist/commonjs/models/loqate-retrieve-response.js +55 -0
  162. package/dist/commonjs/models/loqate-retrieve-response.js.map +1 -0
  163. package/dist/commonjs/models/loqate-search-response.d.ts +12 -0
  164. package/dist/commonjs/models/loqate-search-response.d.ts.map +1 -0
  165. package/dist/commonjs/models/loqate-search-response.js +55 -0
  166. package/dist/commonjs/models/loqate-search-response.js.map +1 -0
  167. package/dist/commonjs/models/operations/add-device.d.ts +8 -92
  168. package/dist/commonjs/models/operations/add-device.d.ts.map +1 -1
  169. package/dist/commonjs/models/operations/add-device.js +6 -76
  170. package/dist/commonjs/models/operations/add-device.js.map +1 -1
  171. package/dist/commonjs/models/operations/create-handoff-token.d.ts +22 -0
  172. package/dist/commonjs/models/operations/create-handoff-token.d.ts.map +1 -0
  173. package/dist/commonjs/models/operations/create-handoff-token.js +62 -0
  174. package/dist/commonjs/models/operations/create-handoff-token.js.map +1 -0
  175. package/dist/commonjs/models/operations/create-test-scenario.d.ts +18 -0
  176. package/dist/commonjs/models/operations/create-test-scenario.d.ts.map +1 -0
  177. package/dist/commonjs/models/operations/create-test-scenario.js +51 -0
  178. package/dist/commonjs/models/operations/create-test-scenario.js.map +1 -0
  179. package/dist/commonjs/models/operations/delete-instance.d.ts +1 -14
  180. package/dist/commonjs/models/operations/delete-instance.d.ts.map +1 -1
  181. package/dist/commonjs/models/operations/delete-instance.js +3 -13
  182. package/dist/commonjs/models/operations/delete-instance.js.map +1 -1
  183. package/dist/commonjs/models/operations/delete-test-scenario.d.ts +20 -0
  184. package/dist/commonjs/models/operations/delete-test-scenario.d.ts.map +1 -0
  185. package/dist/commonjs/models/operations/delete-test-scenario.js +50 -0
  186. package/dist/commonjs/models/operations/delete-test-scenario.js.map +1 -0
  187. package/dist/commonjs/models/operations/device-connect.d.ts +0 -91
  188. package/dist/commonjs/models/operations/device-connect.d.ts.map +1 -1
  189. package/dist/commonjs/models/operations/device-connect.js +1 -69
  190. package/dist/commonjs/models/operations/device-connect.js.map +1 -1
  191. package/dist/commonjs/models/operations/device-validate.d.ts +12 -0
  192. package/dist/commonjs/models/operations/device-validate.d.ts.map +1 -0
  193. package/dist/commonjs/models/operations/device-validate.js +54 -0
  194. package/dist/commonjs/models/operations/device-validate.js.map +1 -0
  195. package/dist/commonjs/models/operations/fetch-interaction.d.ts +35 -1621
  196. package/dist/commonjs/models/operations/fetch-interaction.d.ts.map +1 -1
  197. package/dist/commonjs/models/operations/fetch-interaction.js +24 -1336
  198. package/dist/commonjs/models/operations/fetch-interaction.js.map +1 -1
  199. package/dist/commonjs/models/operations/get-journey-schemas.d.ts +16 -0
  200. package/dist/commonjs/models/operations/get-journey-schemas.d.ts.map +1 -0
  201. package/dist/commonjs/models/operations/get-journey-schemas.js +51 -0
  202. package/dist/commonjs/models/operations/get-journey-schemas.js.map +1 -0
  203. package/dist/commonjs/models/operations/get-journey-state.d.ts +19 -1383
  204. package/dist/commonjs/models/operations/get-journey-state.d.ts.map +1 -1
  205. package/dist/commonjs/models/operations/get-journey-state.js +15 -1068
  206. package/dist/commonjs/models/operations/get-journey-state.js.map +1 -1
  207. package/dist/commonjs/models/operations/get-task-schema.d.ts +1 -17
  208. package/dist/commonjs/models/operations/get-task-schema.d.ts.map +1 -1
  209. package/dist/commonjs/models/operations/get-task-schema.js +1 -19
  210. package/dist/commonjs/models/operations/get-task-schema.js.map +1 -1
  211. package/dist/commonjs/models/operations/get-test-scenario.d.ts +39 -0
  212. package/dist/commonjs/models/operations/get-test-scenario.d.ts.map +1 -0
  213. package/dist/commonjs/models/operations/get-test-scenario.js +60 -0
  214. package/dist/commonjs/models/operations/get-test-scenario.js.map +1 -0
  215. package/dist/commonjs/models/operations/index.d.ts +12 -4
  216. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  217. package/dist/commonjs/models/operations/index.js +12 -4
  218. package/dist/commonjs/models/operations/index.js.map +1 -1
  219. package/dist/commonjs/models/operations/list-test-scenarios.d.ts +34 -0
  220. package/dist/commonjs/models/operations/list-test-scenarios.d.ts.map +1 -0
  221. package/dist/commonjs/models/operations/list-test-scenarios.js +59 -0
  222. package/dist/commonjs/models/operations/list-test-scenarios.js.map +1 -0
  223. package/dist/commonjs/models/operations/post-as-token-oauth2.d.ts +2 -2
  224. package/dist/commonjs/models/operations/post-as-token-oauth2.d.ts.map +1 -1
  225. package/dist/commonjs/models/operations/post-as-token-oauth2.js +4 -5
  226. package/dist/commonjs/models/operations/post-as-token-oauth2.js.map +1 -1
  227. package/dist/commonjs/models/operations/put-test-scenario.d.ts +23 -0
  228. package/dist/commonjs/models/operations/put-test-scenario.d.ts.map +1 -0
  229. package/dist/commonjs/models/operations/put-test-scenario.js +52 -0
  230. package/dist/commonjs/models/operations/put-test-scenario.js.map +1 -0
  231. package/dist/commonjs/models/operations/retrieve-address.d.ts +29 -0
  232. package/dist/commonjs/models/operations/retrieve-address.d.ts.map +1 -0
  233. package/dist/commonjs/models/operations/retrieve-address.js +65 -0
  234. package/dist/commonjs/models/operations/retrieve-address.js.map +1 -0
  235. package/dist/commonjs/models/operations/search-addresses.d.ts +33 -0
  236. package/dist/commonjs/models/operations/search-addresses.d.ts.map +1 -0
  237. package/dist/commonjs/models/operations/search-addresses.js +67 -0
  238. package/dist/commonjs/models/operations/search-addresses.js.map +1 -0
  239. package/dist/commonjs/models/operations/start-journey.d.ts +1214 -112
  240. package/dist/commonjs/models/operations/start-journey.d.ts.map +1 -1
  241. package/dist/commonjs/models/operations/start-journey.js +602 -66
  242. package/dist/commonjs/models/operations/start-journey.js.map +1 -1
  243. package/dist/commonjs/models/operations/submit-interaction.d.ts +1074 -92
  244. package/dist/commonjs/models/operations/submit-interaction.d.ts.map +1 -1
  245. package/dist/commonjs/models/operations/submit-interaction.js +535 -51
  246. package/dist/commonjs/models/operations/submit-interaction.js.map +1 -1
  247. package/dist/commonjs/models/operations/terminate-journey.d.ts +19 -0
  248. package/dist/commonjs/models/operations/terminate-journey.d.ts.map +1 -0
  249. package/dist/commonjs/models/operations/terminate-journey.js +50 -0
  250. package/dist/commonjs/models/operations/terminate-journey.js.map +1 -0
  251. package/dist/commonjs/models/operations/upload-interaction-asset.d.ts +26 -0
  252. package/dist/commonjs/models/operations/upload-interaction-asset.d.ts.map +1 -0
  253. package/dist/commonjs/models/operations/upload-interaction-asset.js +66 -0
  254. package/dist/commonjs/models/operations/upload-interaction-asset.js.map +1 -0
  255. package/dist/commonjs/models/outstanding-group.d.ts +15 -0
  256. package/dist/commonjs/models/outstanding-group.d.ts.map +1 -0
  257. package/dist/commonjs/models/{operations/health.js → outstanding-group.js} +11 -10
  258. package/dist/commonjs/models/outstanding-group.js.map +1 -0
  259. package/dist/commonjs/models/schema-fetch-response.d.ts +22 -0
  260. package/dist/commonjs/models/schema-fetch-response.d.ts.map +1 -0
  261. package/dist/commonjs/models/schema-fetch-response.js +62 -0
  262. package/dist/commonjs/models/schema-fetch-response.js.map +1 -0
  263. package/dist/commonjs/models/slim-document.d.ts +57 -0
  264. package/dist/commonjs/models/slim-document.d.ts.map +1 -0
  265. package/dist/commonjs/models/slim-document.js +92 -0
  266. package/dist/commonjs/models/slim-document.js.map +1 -0
  267. package/dist/commonjs/models/slim-extraction.d.ts +74 -0
  268. package/dist/commonjs/models/slim-extraction.d.ts.map +1 -0
  269. package/dist/commonjs/models/slim-extraction.js +128 -0
  270. package/dist/commonjs/models/slim-extraction.js.map +1 -0
  271. package/dist/commonjs/models/slim-identity.d.ts +202 -0
  272. package/dist/commonjs/models/slim-identity.d.ts.map +1 -0
  273. package/dist/commonjs/models/slim-identity.js +142 -0
  274. package/dist/commonjs/models/slim-identity.js.map +1 -0
  275. package/dist/commonjs/models/slim-interaction-fetch-response.d.ts +46 -0
  276. package/dist/commonjs/models/slim-interaction-fetch-response.d.ts.map +1 -0
  277. package/dist/commonjs/models/slim-interaction-fetch-response.js +87 -0
  278. package/dist/commonjs/models/slim-interaction-fetch-response.js.map +1 -0
  279. package/dist/commonjs/models/slim-journey.d.ts +14 -0
  280. package/dist/commonjs/models/slim-journey.d.ts.map +1 -0
  281. package/dist/commonjs/models/slim-journey.js +55 -0
  282. package/dist/commonjs/models/slim-journey.js.map +1 -0
  283. package/dist/commonjs/models/slim-module-step-error.d.ts +50 -0
  284. package/dist/commonjs/models/slim-module-step-error.d.ts.map +1 -0
  285. package/dist/commonjs/models/slim-module-step-error.js +79 -0
  286. package/dist/commonjs/models/slim-module-step-error.js.map +1 -0
  287. package/dist/commonjs/models/slim-result.d.ts +49 -0
  288. package/dist/commonjs/models/slim-result.d.ts.map +1 -0
  289. package/dist/commonjs/models/slim-result.js +76 -0
  290. package/dist/commonjs/models/slim-result.js.map +1 -0
  291. package/dist/commonjs/models/slim-state-fetch-response.d.ts +27 -0
  292. package/dist/commonjs/models/slim-state-fetch-response.d.ts.map +1 -0
  293. package/dist/commonjs/models/slim-state-fetch-response.js +66 -0
  294. package/dist/commonjs/models/slim-state-fetch-response.js.map +1 -0
  295. package/dist/commonjs/models/slim-step.d.ts +40 -0
  296. package/dist/commonjs/models/slim-step.d.ts.map +1 -0
  297. package/dist/commonjs/models/slim-step.js +73 -0
  298. package/dist/commonjs/models/slim-step.js.map +1 -0
  299. package/dist/commonjs/models/slim-validation.d.ts +69 -0
  300. package/dist/commonjs/models/slim-validation.d.ts.map +1 -0
  301. package/dist/commonjs/models/slim-validation.js +121 -0
  302. package/dist/commonjs/models/slim-validation.js.map +1 -0
  303. package/dist/commonjs/models/slim-verified-data.d.ts +16 -0
  304. package/dist/commonjs/models/slim-verified-data.d.ts.map +1 -0
  305. package/dist/commonjs/models/slim-verified-data.js +53 -0
  306. package/dist/commonjs/models/slim-verified-data.js.map +1 -0
  307. package/dist/commonjs/models/state-fetch-response.d.ts +25 -0
  308. package/dist/commonjs/models/state-fetch-response.d.ts.map +1 -0
  309. package/dist/commonjs/models/state-fetch-response.js +59 -0
  310. package/dist/commonjs/models/state-fetch-response.js.map +1 -0
  311. package/dist/commonjs/models/terminate-response.d.ts +10 -0
  312. package/dist/commonjs/models/terminate-response.d.ts.map +1 -0
  313. package/dist/commonjs/models/terminate-response.js +50 -0
  314. package/dist/commonjs/models/terminate-response.js.map +1 -0
  315. package/dist/commonjs/models/test-scenario-summary.d.ts +29 -0
  316. package/dist/commonjs/models/test-scenario-summary.d.ts.map +1 -0
  317. package/dist/commonjs/models/test-scenario-summary.js +62 -0
  318. package/dist/commonjs/models/test-scenario-summary.js.map +1 -0
  319. package/dist/commonjs/models/test-scenario-written.d.ts +19 -0
  320. package/dist/commonjs/models/test-scenario-written.d.ts.map +1 -0
  321. package/dist/commonjs/models/test-scenario-written.js +57 -0
  322. package/dist/commonjs/models/test-scenario-written.js.map +1 -0
  323. package/dist/commonjs/models/test-scenario.d.ts +31 -0
  324. package/dist/commonjs/models/test-scenario.d.ts.map +1 -0
  325. package/dist/commonjs/models/test-scenario.js +62 -0
  326. package/dist/commonjs/models/test-scenario.js.map +1 -0
  327. package/dist/commonjs/models/update-test-scenario-request.d.ts +24 -0
  328. package/dist/commonjs/models/update-test-scenario-request.d.ts.map +1 -0
  329. package/dist/commonjs/models/update-test-scenario-request.js +55 -0
  330. package/dist/commonjs/models/update-test-scenario-request.js.map +1 -0
  331. package/dist/commonjs/sdk/addresses.d.ts +20 -0
  332. package/dist/commonjs/sdk/addresses.d.ts.map +1 -0
  333. package/dist/commonjs/sdk/addresses.js +32 -0
  334. package/dist/commonjs/sdk/addresses.js.map +1 -0
  335. package/dist/commonjs/sdk/devices.d.ts +21 -6
  336. package/dist/commonjs/sdk/devices.d.ts.map +1 -1
  337. package/dist/commonjs/sdk/devices.js +26 -6
  338. package/dist/commonjs/sdk/devices.js.map +1 -1
  339. package/dist/commonjs/sdk/instances.d.ts +11 -3
  340. package/dist/commonjs/sdk/instances.d.ts.map +1 -1
  341. package/dist/commonjs/sdk/instances.js +12 -2
  342. package/dist/commonjs/sdk/instances.js.map +1 -1
  343. package/dist/commonjs/sdk/interactions.d.ts +14 -6
  344. package/dist/commonjs/sdk/interactions.d.ts.map +1 -1
  345. package/dist/commonjs/sdk/interactions.js +16 -6
  346. package/dist/commonjs/sdk/interactions.js.map +1 -1
  347. package/dist/commonjs/sdk/journeys.d.ts +45 -5
  348. package/dist/commonjs/sdk/journeys.d.ts.map +1 -1
  349. package/dist/commonjs/sdk/journeys.js +49 -4
  350. package/dist/commonjs/sdk/journeys.js.map +1 -1
  351. package/dist/commonjs/sdk/sdk.d.ts +14 -11
  352. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  353. package/dist/commonjs/sdk/sdk.js +17 -13
  354. package/dist/commonjs/sdk/sdk.js.map +1 -1
  355. package/dist/commonjs/sdk/tasks.d.ts +6 -23
  356. package/dist/commonjs/sdk/tasks.d.ts.map +1 -1
  357. package/dist/commonjs/sdk/tasks.js +3 -31
  358. package/dist/commonjs/sdk/tasks.js.map +1 -1
  359. package/dist/commonjs/sdk/test-scenarios.d.ts +41 -0
  360. package/dist/commonjs/sdk/test-scenarios.d.ts.map +1 -0
  361. package/dist/commonjs/sdk/test-scenarios.js +62 -0
  362. package/dist/commonjs/sdk/test-scenarios.js.map +1 -0
  363. package/dist/commonjs/types/discriminated-union.d.ts.map +1 -1
  364. package/dist/commonjs/types/discriminated-union.js +0 -4
  365. package/dist/commonjs/types/discriminated-union.js.map +1 -1
  366. package/dist/commonjs/types/index.d.ts +0 -2
  367. package/dist/commonjs/types/index.d.ts.map +1 -1
  368. package/dist/commonjs/types/index.js +0 -2
  369. package/dist/commonjs/types/index.js.map +1 -1
  370. package/dist/commonjs/types/smart-union.d.ts.map +1 -1
  371. package/dist/commonjs/types/smart-union.js +14 -14
  372. package/dist/commonjs/types/smart-union.js.map +1 -1
  373. package/dist/esm/funcs/addresses-retrieve.d.ts +19 -0
  374. package/dist/esm/funcs/addresses-retrieve.d.ts.map +1 -0
  375. package/dist/esm/funcs/{tasks-update.js → addresses-retrieve.js} +20 -9
  376. package/dist/esm/funcs/addresses-retrieve.js.map +1 -0
  377. package/dist/{commonjs/funcs/tasks-list-schema.d.ts → esm/funcs/addresses-search.d.ts} +6 -6
  378. package/dist/esm/funcs/addresses-search.d.ts.map +1 -0
  379. package/dist/esm/funcs/{tasks-list.js → addresses-search.js} +20 -9
  380. package/dist/esm/funcs/addresses-search.js.map +1 -0
  381. package/dist/esm/funcs/devices-add.d.ts +5 -3
  382. package/dist/esm/funcs/devices-add.d.ts.map +1 -1
  383. package/dist/esm/funcs/devices-add.js +8 -3
  384. package/dist/esm/funcs/devices-add.js.map +1 -1
  385. package/dist/esm/funcs/devices-connect.d.ts +5 -3
  386. package/dist/esm/funcs/devices-connect.d.ts.map +1 -1
  387. package/dist/esm/funcs/devices-connect.js +9 -5
  388. package/dist/esm/funcs/devices-connect.js.map +1 -1
  389. package/dist/{commonjs/funcs/tasks-update.d.ts → esm/funcs/devices-refresh.d.ts} +6 -5
  390. package/dist/esm/funcs/devices-refresh.d.ts.map +1 -0
  391. package/dist/esm/funcs/{health-get.js → devices-refresh.js} +15 -16
  392. package/dist/esm/funcs/devices-refresh.js.map +1 -0
  393. package/dist/{commonjs/funcs/tasks-list.d.ts → esm/funcs/devices-validate.d.ts} +6 -4
  394. package/dist/esm/funcs/devices-validate.d.ts.map +1 -0
  395. package/dist/esm/funcs/devices-validate.js +77 -0
  396. package/dist/esm/funcs/devices-validate.js.map +1 -0
  397. package/dist/esm/funcs/instances-delete.d.ts +5 -3
  398. package/dist/esm/funcs/instances-delete.d.ts.map +1 -1
  399. package/dist/esm/funcs/instances-delete.js +8 -3
  400. package/dist/esm/funcs/instances-delete.js.map +1 -1
  401. package/dist/esm/funcs/instances-handoff-token.d.ts +19 -0
  402. package/dist/esm/funcs/instances-handoff-token.d.ts.map +1 -0
  403. package/dist/esm/funcs/instances-handoff-token.js +94 -0
  404. package/dist/esm/funcs/instances-handoff-token.js.map +1 -0
  405. package/dist/esm/funcs/interactions-fetch.d.ts +4 -3
  406. package/dist/esm/funcs/interactions-fetch.d.ts.map +1 -1
  407. package/dist/esm/funcs/interactions-fetch.js +19 -7
  408. package/dist/esm/funcs/interactions-fetch.js.map +1 -1
  409. package/dist/esm/funcs/interactions-submit.d.ts +5 -3
  410. package/dist/esm/funcs/interactions-submit.d.ts.map +1 -1
  411. package/dist/esm/funcs/interactions-submit.js +14 -3
  412. package/dist/esm/funcs/interactions-submit.js.map +1 -1
  413. package/dist/esm/funcs/interactions-upload-asset.d.ts +18 -0
  414. package/dist/esm/funcs/interactions-upload-asset.d.ts.map +1 -0
  415. package/dist/esm/funcs/interactions-upload-asset.js +83 -0
  416. package/dist/esm/funcs/interactions-upload-asset.js.map +1 -0
  417. package/dist/esm/funcs/journeys-get-schemas.d.ts +46 -0
  418. package/dist/esm/funcs/journeys-get-schemas.d.ts.map +1 -0
  419. package/dist/esm/funcs/journeys-get-schemas.js +114 -0
  420. package/dist/esm/funcs/journeys-get-schemas.js.map +1 -0
  421. package/dist/esm/funcs/journeys-get-state.d.ts +4 -3
  422. package/dist/esm/funcs/journeys-get-state.d.ts.map +1 -1
  423. package/dist/esm/funcs/journeys-get-state.js +13 -7
  424. package/dist/esm/funcs/journeys-get-state.js.map +1 -1
  425. package/dist/esm/funcs/journeys-start.d.ts +5 -3
  426. package/dist/esm/funcs/journeys-start.d.ts.map +1 -1
  427. package/dist/esm/funcs/journeys-start.js +8 -3
  428. package/dist/esm/funcs/journeys-start.js.map +1 -1
  429. package/dist/esm/funcs/journeys-terminate.d.ts +21 -0
  430. package/dist/esm/funcs/journeys-terminate.d.ts.map +1 -0
  431. package/dist/esm/funcs/{tasks-list-schema.js → journeys-terminate.js} +13 -8
  432. package/dist/esm/funcs/journeys-terminate.js.map +1 -0
  433. package/dist/esm/funcs/tasks-get-schema.d.ts +8 -3
  434. package/dist/esm/funcs/tasks-get-schema.d.ts.map +1 -1
  435. package/dist/esm/funcs/tasks-get-schema.js +9 -3
  436. package/dist/esm/funcs/tasks-get-schema.js.map +1 -1
  437. package/dist/esm/funcs/test-scenarios-create.d.ts +21 -0
  438. package/dist/esm/funcs/test-scenarios-create.d.ts.map +1 -0
  439. package/dist/esm/funcs/test-scenarios-create.js +93 -0
  440. package/dist/esm/funcs/test-scenarios-create.js.map +1 -0
  441. package/dist/esm/funcs/test-scenarios-delete.d.ts +20 -0
  442. package/dist/esm/funcs/test-scenarios-delete.d.ts.map +1 -0
  443. package/dist/esm/funcs/test-scenarios-delete.js +95 -0
  444. package/dist/esm/funcs/test-scenarios-delete.js.map +1 -0
  445. package/dist/esm/funcs/test-scenarios-get.d.ts +21 -0
  446. package/dist/esm/funcs/test-scenarios-get.d.ts.map +1 -0
  447. package/dist/esm/funcs/test-scenarios-get.js +100 -0
  448. package/dist/esm/funcs/test-scenarios-get.js.map +1 -0
  449. package/dist/esm/funcs/test-scenarios-list.d.ts +21 -0
  450. package/dist/esm/funcs/test-scenarios-list.d.ts.map +1 -0
  451. package/dist/esm/funcs/test-scenarios-list.js +96 -0
  452. package/dist/esm/funcs/test-scenarios-list.js.map +1 -0
  453. package/dist/esm/funcs/test-scenarios-put.d.ts +21 -0
  454. package/dist/esm/funcs/test-scenarios-put.d.ts.map +1 -0
  455. package/dist/esm/funcs/test-scenarios-put.js +97 -0
  456. package/dist/esm/funcs/test-scenarios-put.js.map +1 -0
  457. package/dist/esm/funcs/tokens-generate.d.ts +2 -1
  458. package/dist/esm/funcs/tokens-generate.d.ts.map +1 -1
  459. package/dist/esm/funcs/tokens-generate.js +6 -2
  460. package/dist/esm/funcs/tokens-generate.js.map +1 -1
  461. package/dist/esm/lib/config.d.ts +4 -4
  462. package/dist/esm/lib/config.d.ts.map +1 -1
  463. package/dist/esm/lib/config.js +13 -4
  464. package/dist/esm/lib/config.js.map +1 -1
  465. package/dist/esm/models/create-test-scenario-request.d.ts +29 -0
  466. package/dist/esm/models/create-test-scenario-request.d.ts.map +1 -0
  467. package/dist/esm/models/create-test-scenario-request.js +18 -0
  468. package/dist/esm/models/create-test-scenario-request.js.map +1 -0
  469. package/dist/esm/models/delete-response.d.ts +19 -0
  470. package/dist/esm/models/delete-response.d.ts.map +1 -0
  471. package/dist/esm/models/delete-response.js +20 -0
  472. package/dist/esm/models/delete-response.js.map +1 -0
  473. package/dist/esm/models/device-connect-request.d.ts +29 -0
  474. package/dist/esm/models/device-connect-request.d.ts.map +1 -0
  475. package/dist/esm/models/device-connect-request.js +21 -0
  476. package/dist/esm/models/device-connect-request.js.map +1 -0
  477. package/dist/esm/models/device-connect-response.d.ts +25 -0
  478. package/dist/esm/models/device-connect-response.d.ts.map +1 -0
  479. package/dist/esm/models/device-connect-response.js +26 -0
  480. package/dist/esm/models/device-connect-response.js.map +1 -0
  481. package/dist/esm/models/device-refresh-response.d.ts +16 -0
  482. package/dist/esm/models/device-refresh-response.d.ts.map +1 -0
  483. package/dist/esm/models/device-refresh-response.js +19 -0
  484. package/dist/esm/models/device-refresh-response.js.map +1 -0
  485. package/dist/esm/models/device-start-response.d.ts +20 -0
  486. package/dist/esm/models/device-start-response.d.ts.map +1 -0
  487. package/dist/esm/models/device-start-response.js +21 -0
  488. package/dist/esm/models/device-start-response.js.map +1 -0
  489. package/dist/esm/models/device-validate-response.d.ts +14 -0
  490. package/dist/esm/models/device-validate-response.d.ts.map +1 -0
  491. package/dist/esm/models/device-validate-response.js +17 -0
  492. package/dist/esm/models/device-validate-response.js.map +1 -0
  493. package/dist/esm/models/errors/error-response.d.ts +19 -0
  494. package/dist/esm/models/errors/error-response.d.ts.map +1 -0
  495. package/dist/esm/models/errors/error-response.js +31 -0
  496. package/dist/esm/models/errors/error-response.js.map +1 -0
  497. package/dist/esm/models/errors/index.d.ts +2 -0
  498. package/dist/esm/models/errors/index.d.ts.map +1 -1
  499. package/dist/esm/models/errors/index.js +2 -0
  500. package/dist/esm/models/errors/index.js.map +1 -1
  501. package/dist/esm/models/errors/o-auth-error-response.d.ts +32 -0
  502. package/dist/esm/models/errors/o-auth-error-response.d.ts.map +1 -0
  503. package/dist/esm/models/errors/o-auth-error-response.js +38 -0
  504. package/dist/esm/models/errors/o-auth-error-response.js.map +1 -0
  505. package/dist/esm/models/gbg-error.d.ts +28 -0
  506. package/dist/esm/models/gbg-error.d.ts.map +1 -0
  507. package/dist/esm/models/gbg-error.js +31 -0
  508. package/dist/esm/models/gbg-error.js.map +1 -0
  509. package/dist/esm/models/handoff-token-response.d.ts +20 -0
  510. package/dist/esm/models/handoff-token-response.d.ts.map +1 -0
  511. package/dist/esm/models/handoff-token-response.js +22 -0
  512. package/dist/esm/models/handoff-token-response.js.map +1 -0
  513. package/dist/esm/models/index.d.ts +33 -0
  514. package/dist/esm/models/index.d.ts.map +1 -1
  515. package/dist/esm/models/index.js +33 -0
  516. package/dist/esm/models/index.js.map +1 -1
  517. package/dist/esm/models/interaction-fetch-response.d.ts +40 -0
  518. package/dist/esm/models/interaction-fetch-response.d.ts.map +1 -0
  519. package/dist/esm/models/interaction-fetch-response.js +39 -0
  520. package/dist/esm/models/interaction-fetch-response.js.map +1 -0
  521. package/dist/esm/models/interaction-submit-response.d.ts +17 -0
  522. package/dist/esm/models/interaction-submit-response.d.ts.map +1 -0
  523. package/dist/esm/models/interaction-submit-response.js +18 -0
  524. package/dist/esm/models/interaction-submit-response.js.map +1 -0
  525. package/dist/esm/models/journey-start-response.d.ts +34 -0
  526. package/dist/esm/models/journey-start-response.d.ts.map +1 -0
  527. package/dist/esm/models/journey-start-response.js +30 -0
  528. package/dist/esm/models/journey-start-response.js.map +1 -0
  529. package/dist/esm/models/loqate-retrieve-response.d.ts +12 -0
  530. package/dist/esm/models/loqate-retrieve-response.d.ts.map +1 -0
  531. package/dist/esm/models/loqate-retrieve-response.js +18 -0
  532. package/dist/esm/models/loqate-retrieve-response.js.map +1 -0
  533. package/dist/esm/models/loqate-search-response.d.ts +12 -0
  534. package/dist/esm/models/loqate-search-response.d.ts.map +1 -0
  535. package/dist/esm/models/loqate-search-response.js +18 -0
  536. package/dist/esm/models/loqate-search-response.js.map +1 -0
  537. package/dist/esm/models/operations/add-device.d.ts +8 -92
  538. package/dist/esm/models/operations/add-device.d.ts.map +1 -1
  539. package/dist/esm/models/operations/add-device.js +5 -72
  540. package/dist/esm/models/operations/add-device.js.map +1 -1
  541. package/dist/esm/models/operations/create-handoff-token.d.ts +22 -0
  542. package/dist/esm/models/operations/create-handoff-token.d.ts.map +1 -0
  543. package/dist/esm/models/operations/create-handoff-token.js +24 -0
  544. package/dist/esm/models/operations/create-handoff-token.js.map +1 -0
  545. package/dist/esm/models/operations/create-test-scenario.d.ts +18 -0
  546. package/dist/esm/models/operations/create-test-scenario.d.ts.map +1 -0
  547. package/dist/esm/models/operations/create-test-scenario.js +14 -0
  548. package/dist/esm/models/operations/create-test-scenario.js.map +1 -0
  549. package/dist/esm/models/operations/delete-instance.d.ts +1 -14
  550. package/dist/esm/models/operations/delete-instance.d.ts.map +1 -1
  551. package/dist/esm/models/operations/delete-instance.js +2 -11
  552. package/dist/esm/models/operations/delete-instance.js.map +1 -1
  553. package/dist/esm/models/operations/delete-test-scenario.d.ts +20 -0
  554. package/dist/esm/models/operations/delete-test-scenario.d.ts.map +1 -0
  555. package/dist/esm/models/operations/delete-test-scenario.js +13 -0
  556. package/dist/esm/models/operations/delete-test-scenario.js.map +1 -0
  557. package/dist/esm/models/operations/device-connect.d.ts +0 -91
  558. package/dist/esm/models/operations/device-connect.d.ts.map +1 -1
  559. package/dist/esm/models/operations/device-connect.js +0 -63
  560. package/dist/esm/models/operations/device-connect.js.map +1 -1
  561. package/dist/esm/models/operations/device-validate.d.ts +12 -0
  562. package/dist/esm/models/operations/device-validate.d.ts.map +1 -0
  563. package/dist/esm/models/operations/device-validate.js +17 -0
  564. package/dist/esm/models/operations/device-validate.js.map +1 -0
  565. package/dist/esm/models/operations/fetch-interaction.d.ts +35 -1621
  566. package/dist/esm/models/operations/fetch-interaction.d.ts.map +1 -1
  567. package/dist/esm/models/operations/fetch-interaction.js +22 -1247
  568. package/dist/esm/models/operations/fetch-interaction.js.map +1 -1
  569. package/dist/esm/models/operations/get-journey-schemas.d.ts +16 -0
  570. package/dist/esm/models/operations/get-journey-schemas.d.ts.map +1 -0
  571. package/dist/esm/models/operations/get-journey-schemas.js +14 -0
  572. package/dist/esm/models/operations/get-journey-schemas.js.map +1 -0
  573. package/dist/esm/models/operations/get-journey-state.d.ts +19 -1383
  574. package/dist/esm/models/operations/get-journey-state.d.ts.map +1 -1
  575. package/dist/esm/models/operations/get-journey-state.js +13 -997
  576. package/dist/esm/models/operations/get-journey-state.js.map +1 -1
  577. package/dist/esm/models/operations/get-task-schema.d.ts +1 -17
  578. package/dist/esm/models/operations/get-task-schema.d.ts.map +1 -1
  579. package/dist/esm/models/operations/get-task-schema.js +0 -17
  580. package/dist/esm/models/operations/get-task-schema.js.map +1 -1
  581. package/dist/esm/models/operations/get-test-scenario.d.ts +39 -0
  582. package/dist/esm/models/operations/get-test-scenario.d.ts.map +1 -0
  583. package/dist/esm/models/operations/get-test-scenario.js +23 -0
  584. package/dist/esm/models/operations/get-test-scenario.js.map +1 -0
  585. package/dist/esm/models/operations/index.d.ts +12 -4
  586. package/dist/esm/models/operations/index.d.ts.map +1 -1
  587. package/dist/esm/models/operations/index.js +12 -4
  588. package/dist/esm/models/operations/index.js.map +1 -1
  589. package/dist/esm/models/operations/list-test-scenarios.d.ts +34 -0
  590. package/dist/esm/models/operations/list-test-scenarios.d.ts.map +1 -0
  591. package/dist/esm/models/operations/list-test-scenarios.js +22 -0
  592. package/dist/esm/models/operations/list-test-scenarios.js.map +1 -0
  593. package/dist/esm/models/operations/post-as-token-oauth2.d.ts +2 -2
  594. package/dist/esm/models/operations/post-as-token-oauth2.d.ts.map +1 -1
  595. package/dist/esm/models/operations/post-as-token-oauth2.js +4 -5
  596. package/dist/esm/models/operations/post-as-token-oauth2.js.map +1 -1
  597. package/dist/esm/models/operations/put-test-scenario.d.ts +23 -0
  598. package/dist/esm/models/operations/put-test-scenario.d.ts.map +1 -0
  599. package/dist/esm/models/operations/put-test-scenario.js +15 -0
  600. package/dist/esm/models/operations/put-test-scenario.js.map +1 -0
  601. package/dist/esm/models/operations/retrieve-address.d.ts +29 -0
  602. package/dist/esm/models/operations/retrieve-address.d.ts.map +1 -0
  603. package/dist/esm/models/operations/retrieve-address.js +27 -0
  604. package/dist/esm/models/operations/retrieve-address.js.map +1 -0
  605. package/dist/esm/models/operations/search-addresses.d.ts +33 -0
  606. package/dist/esm/models/operations/search-addresses.d.ts.map +1 -0
  607. package/dist/esm/models/operations/search-addresses.js +29 -0
  608. package/dist/esm/models/operations/search-addresses.js.map +1 -0
  609. package/dist/esm/models/operations/start-journey.d.ts +1214 -112
  610. package/dist/esm/models/operations/start-journey.d.ts.map +1 -1
  611. package/dist/esm/models/operations/start-journey.js +565 -58
  612. package/dist/esm/models/operations/start-journey.js.map +1 -1
  613. package/dist/esm/models/operations/submit-interaction.d.ts +1074 -92
  614. package/dist/esm/models/operations/submit-interaction.d.ts.map +1 -1
  615. package/dist/esm/models/operations/submit-interaction.js +505 -45
  616. package/dist/esm/models/operations/submit-interaction.js.map +1 -1
  617. package/dist/esm/models/operations/terminate-journey.d.ts +19 -0
  618. package/dist/esm/models/operations/terminate-journey.d.ts.map +1 -0
  619. package/dist/esm/models/operations/terminate-journey.js +13 -0
  620. package/dist/esm/models/operations/terminate-journey.js.map +1 -0
  621. package/dist/esm/models/operations/upload-interaction-asset.d.ts +26 -0
  622. package/dist/esm/models/operations/upload-interaction-asset.d.ts.map +1 -0
  623. package/dist/esm/models/operations/upload-interaction-asset.js +28 -0
  624. package/dist/esm/models/operations/upload-interaction-asset.js.map +1 -0
  625. package/dist/esm/models/outstanding-group.d.ts +15 -0
  626. package/dist/esm/models/outstanding-group.d.ts.map +1 -0
  627. package/dist/esm/models/outstanding-group.js +15 -0
  628. package/dist/esm/models/outstanding-group.js.map +1 -0
  629. package/dist/esm/models/schema-fetch-response.d.ts +22 -0
  630. package/dist/esm/models/schema-fetch-response.d.ts.map +1 -0
  631. package/dist/esm/models/schema-fetch-response.js +24 -0
  632. package/dist/esm/models/schema-fetch-response.js.map +1 -0
  633. package/dist/esm/models/slim-document.d.ts +57 -0
  634. package/dist/esm/models/slim-document.d.ts.map +1 -0
  635. package/dist/esm/models/slim-document.js +53 -0
  636. package/dist/esm/models/slim-document.js.map +1 -0
  637. package/dist/esm/models/slim-extraction.d.ts +74 -0
  638. package/dist/esm/models/slim-extraction.d.ts.map +1 -0
  639. package/dist/esm/models/slim-extraction.js +84 -0
  640. package/dist/esm/models/slim-extraction.js.map +1 -0
  641. package/dist/esm/models/slim-identity.d.ts +202 -0
  642. package/dist/esm/models/slim-identity.d.ts.map +1 -0
  643. package/dist/esm/models/slim-identity.js +100 -0
  644. package/dist/esm/models/slim-identity.js.map +1 -0
  645. package/dist/esm/models/slim-interaction-fetch-response.d.ts +46 -0
  646. package/dist/esm/models/slim-interaction-fetch-response.d.ts.map +1 -0
  647. package/dist/esm/models/slim-interaction-fetch-response.js +48 -0
  648. package/dist/esm/models/slim-interaction-fetch-response.js.map +1 -0
  649. package/dist/esm/models/slim-journey.d.ts +14 -0
  650. package/dist/esm/models/slim-journey.d.ts.map +1 -0
  651. package/dist/esm/models/slim-journey.js +18 -0
  652. package/dist/esm/models/slim-journey.js.map +1 -0
  653. package/dist/esm/models/slim-module-step-error.d.ts +50 -0
  654. package/dist/esm/models/slim-module-step-error.d.ts.map +1 -0
  655. package/dist/esm/models/slim-module-step-error.js +41 -0
  656. package/dist/esm/models/slim-module-step-error.js.map +1 -0
  657. package/dist/esm/models/slim-result.d.ts +49 -0
  658. package/dist/esm/models/slim-result.d.ts.map +1 -0
  659. package/dist/esm/models/slim-result.js +39 -0
  660. package/dist/esm/models/slim-result.js.map +1 -0
  661. package/dist/esm/models/slim-state-fetch-response.d.ts +27 -0
  662. package/dist/esm/models/slim-state-fetch-response.d.ts.map +1 -0
  663. package/dist/esm/models/slim-state-fetch-response.js +29 -0
  664. package/dist/esm/models/slim-state-fetch-response.js.map +1 -0
  665. package/dist/esm/models/slim-step.d.ts +40 -0
  666. package/dist/esm/models/slim-step.d.ts.map +1 -0
  667. package/dist/esm/models/slim-step.js +36 -0
  668. package/dist/esm/models/slim-step.js.map +1 -0
  669. package/dist/esm/models/slim-validation.d.ts +69 -0
  670. package/dist/esm/models/slim-validation.d.ts.map +1 -0
  671. package/dist/esm/models/slim-validation.js +78 -0
  672. package/dist/esm/models/slim-validation.js.map +1 -0
  673. package/dist/esm/models/slim-verified-data.d.ts +16 -0
  674. package/dist/esm/models/slim-verified-data.d.ts.map +1 -0
  675. package/dist/esm/models/slim-verified-data.js +16 -0
  676. package/dist/esm/models/slim-verified-data.js.map +1 -0
  677. package/dist/esm/models/state-fetch-response.d.ts +25 -0
  678. package/dist/esm/models/state-fetch-response.d.ts.map +1 -0
  679. package/dist/esm/models/state-fetch-response.js +22 -0
  680. package/dist/esm/models/state-fetch-response.js.map +1 -0
  681. package/dist/esm/models/terminate-response.d.ts +10 -0
  682. package/dist/esm/models/terminate-response.d.ts.map +1 -0
  683. package/dist/esm/models/terminate-response.js +13 -0
  684. package/dist/esm/models/terminate-response.js.map +1 -0
  685. package/dist/esm/models/test-scenario-summary.d.ts +29 -0
  686. package/dist/esm/models/test-scenario-summary.d.ts.map +1 -0
  687. package/dist/esm/models/test-scenario-summary.js +25 -0
  688. package/dist/esm/models/test-scenario-summary.js.map +1 -0
  689. package/dist/esm/models/test-scenario-written.d.ts +19 -0
  690. package/dist/esm/models/test-scenario-written.d.ts.map +1 -0
  691. package/dist/esm/models/test-scenario-written.js +20 -0
  692. package/dist/esm/models/test-scenario-written.js.map +1 -0
  693. package/dist/esm/models/test-scenario.d.ts +31 -0
  694. package/dist/esm/models/test-scenario.d.ts.map +1 -0
  695. package/dist/esm/models/test-scenario.js +25 -0
  696. package/dist/esm/models/test-scenario.js.map +1 -0
  697. package/dist/esm/models/update-test-scenario-request.d.ts +24 -0
  698. package/dist/esm/models/update-test-scenario-request.d.ts.map +1 -0
  699. package/dist/esm/models/update-test-scenario-request.js +17 -0
  700. package/dist/esm/models/update-test-scenario-request.js.map +1 -0
  701. package/dist/esm/sdk/addresses.d.ts +20 -0
  702. package/dist/esm/sdk/addresses.d.ts.map +1 -0
  703. package/dist/esm/sdk/addresses.js +28 -0
  704. package/dist/esm/sdk/addresses.js.map +1 -0
  705. package/dist/esm/sdk/devices.d.ts +21 -6
  706. package/dist/esm/sdk/devices.d.ts.map +1 -1
  707. package/dist/esm/sdk/devices.js +26 -6
  708. package/dist/esm/sdk/devices.js.map +1 -1
  709. package/dist/esm/sdk/instances.d.ts +11 -3
  710. package/dist/esm/sdk/instances.d.ts.map +1 -1
  711. package/dist/esm/sdk/instances.js +12 -2
  712. package/dist/esm/sdk/instances.js.map +1 -1
  713. package/dist/esm/sdk/interactions.d.ts +14 -6
  714. package/dist/esm/sdk/interactions.d.ts.map +1 -1
  715. package/dist/esm/sdk/interactions.js +16 -6
  716. package/dist/esm/sdk/interactions.js.map +1 -1
  717. package/dist/esm/sdk/journeys.d.ts +45 -5
  718. package/dist/esm/sdk/journeys.d.ts.map +1 -1
  719. package/dist/esm/sdk/journeys.js +49 -4
  720. package/dist/esm/sdk/journeys.js.map +1 -1
  721. package/dist/esm/sdk/sdk.d.ts +14 -11
  722. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  723. package/dist/esm/sdk/sdk.js +17 -13
  724. package/dist/esm/sdk/sdk.js.map +1 -1
  725. package/dist/esm/sdk/tasks.d.ts +6 -23
  726. package/dist/esm/sdk/tasks.d.ts.map +1 -1
  727. package/dist/esm/sdk/tasks.js +3 -31
  728. package/dist/esm/sdk/tasks.js.map +1 -1
  729. package/dist/esm/sdk/test-scenarios.d.ts +41 -0
  730. package/dist/esm/sdk/test-scenarios.d.ts.map +1 -0
  731. package/dist/esm/sdk/test-scenarios.js +58 -0
  732. package/dist/esm/sdk/test-scenarios.js.map +1 -0
  733. package/dist/esm/types/discriminated-union.d.ts.map +1 -1
  734. package/dist/esm/types/discriminated-union.js +0 -4
  735. package/dist/esm/types/discriminated-union.js.map +1 -1
  736. package/dist/esm/types/index.d.ts +0 -2
  737. package/dist/esm/types/index.d.ts.map +1 -1
  738. package/dist/esm/types/index.js +0 -2
  739. package/dist/esm/types/index.js.map +1 -1
  740. package/dist/esm/types/smart-union.d.ts.map +1 -1
  741. package/dist/esm/types/smart-union.js +14 -14
  742. package/dist/esm/types/smart-union.js.map +1 -1
  743. package/examples/{tokensGenerate.example.ts → journeysStart.example.ts} +5 -3
  744. package/jsr.json +1 -1
  745. package/package.json +1 -1
  746. package/src/funcs/{tasks-update.ts → addresses-retrieve.ts} +39 -18
  747. package/src/funcs/addresses-search.ts +196 -0
  748. package/src/funcs/devices-add.ts +20 -10
  749. package/src/funcs/devices-connect.ts +23 -16
  750. package/src/funcs/{health-get.ts → devices-refresh.ts} +26 -22
  751. package/src/funcs/{tasks-list.ts → devices-validate.ts} +26 -37
  752. package/src/funcs/instances-delete.ts +20 -9
  753. package/src/funcs/instances-handoff-token.ts +191 -0
  754. package/src/funcs/interactions-fetch.ts +29 -9
  755. package/src/funcs/interactions-submit.ts +27 -9
  756. package/src/funcs/interactions-upload-asset.ts +173 -0
  757. package/src/funcs/journeys-get-schemas.ts +207 -0
  758. package/src/funcs/journeys-get-state.ts +22 -9
  759. package/src/funcs/journeys-start.ts +23 -10
  760. package/src/funcs/{tasks-list-schema.ts → journeys-terminate.ts} +26 -15
  761. package/src/funcs/tasks-get-schema.ts +21 -9
  762. package/src/funcs/test-scenarios-create.ts +183 -0
  763. package/src/funcs/test-scenarios-delete.ts +187 -0
  764. package/src/funcs/test-scenarios-get.ts +192 -0
  765. package/src/funcs/test-scenarios-list.ts +187 -0
  766. package/src/funcs/test-scenarios-put.ts +188 -0
  767. package/src/funcs/tokens-generate.ts +12 -3
  768. package/src/lib/config.ts +13 -4
  769. package/src/models/create-test-scenario-request.ts +63 -0
  770. package/src/models/delete-response.ts +45 -0
  771. package/src/models/device-connect-request.ts +60 -0
  772. package/src/models/device-connect-response.ts +59 -0
  773. package/src/models/device-refresh-response.ts +42 -0
  774. package/src/models/device-start-response.ts +49 -0
  775. package/src/models/device-validate-response.ts +38 -0
  776. package/src/models/errors/error-response.ts +52 -0
  777. package/src/models/errors/index.ts +2 -0
  778. package/src/models/errors/o-auth-error-response.ts +74 -0
  779. package/src/models/gbg-error.ts +56 -0
  780. package/src/models/handoff-token-response.ts +48 -0
  781. package/src/models/index.ts +33 -0
  782. package/src/models/interaction-fetch-response.ts +103 -0
  783. package/src/models/interaction-submit-response.ts +43 -0
  784. package/src/models/journey-start-response.ts +71 -0
  785. package/src/models/loqate-retrieve-response.ts +38 -0
  786. package/src/models/loqate-search-response.ts +38 -0
  787. package/src/models/operations/add-device.ts +17 -176
  788. package/src/models/operations/create-handoff-token.ts +63 -0
  789. package/src/models/operations/create-test-scenario.ts +37 -0
  790. package/src/models/operations/delete-instance.ts +7 -38
  791. package/src/models/operations/delete-test-scenario.ts +39 -0
  792. package/src/models/operations/device-connect.ts +0 -189
  793. package/src/models/operations/device-validate.ts +38 -0
  794. package/src/models/operations/fetch-interaction.ts +100 -3798
  795. package/src/models/operations/get-journey-schemas.ts +36 -0
  796. package/src/models/operations/get-journey-state.ts +62 -3183
  797. package/src/models/operations/get-task-schema.ts +1 -44
  798. package/src/models/operations/get-test-scenario.ts +65 -0
  799. package/src/models/operations/index.ts +12 -4
  800. package/src/models/operations/list-test-scenarios.ts +59 -0
  801. package/src/models/operations/post-as-token-oauth2.ts +8 -9
  802. package/src/models/operations/put-test-scenario.ts +43 -0
  803. package/src/models/operations/retrieve-address.ts +73 -0
  804. package/src/models/operations/search-addresses.ts +79 -0
  805. package/src/models/operations/start-journey.ts +2838 -1025
  806. package/src/models/operations/submit-interaction.ts +2787 -1092
  807. package/src/models/operations/terminate-journey.ts +41 -0
  808. package/src/models/operations/upload-interaction-asset.ts +74 -0
  809. package/src/models/outstanding-group.ts +37 -0
  810. package/src/models/schema-fetch-response.ts +57 -0
  811. package/src/models/slim-document.ts +134 -0
  812. package/src/models/slim-extraction.ts +235 -0
  813. package/src/models/slim-identity.ts +347 -0
  814. package/src/models/slim-interaction-fetch-response.ts +124 -0
  815. package/src/models/slim-journey.ts +36 -0
  816. package/src/models/slim-module-step-error.ts +99 -0
  817. package/src/models/slim-result.ts +92 -0
  818. package/src/models/slim-state-fetch-response.ts +60 -0
  819. package/src/models/slim-step.ts +80 -0
  820. package/src/models/slim-validation.ts +229 -0
  821. package/src/models/slim-verified-data.ts +37 -0
  822. package/src/models/state-fetch-response.ts +49 -0
  823. package/src/models/terminate-response.ts +30 -0
  824. package/src/models/test-scenario-summary.ts +62 -0
  825. package/src/models/test-scenario-written.ts +47 -0
  826. package/src/models/test-scenario.ts +60 -0
  827. package/src/models/update-test-scenario-request.ts +57 -0
  828. package/src/sdk/addresses.ts +50 -0
  829. package/src/sdk/devices.ts +46 -11
  830. package/src/sdk/instances.ts +24 -3
  831. package/src/sdk/interactions.ts +30 -11
  832. package/src/sdk/journeys.ts +67 -5
  833. package/src/sdk/sdk.ts +25 -19
  834. package/src/sdk/tasks.ts +4 -60
  835. package/src/sdk/test-scenarios.ts +100 -0
  836. package/src/types/discriminated-union.ts +1 -4
  837. package/src/types/index.ts +0 -2
  838. package/src/types/smart-union.ts +19 -14
  839. package/dist/commonjs/funcs/health-get.d.ts.map +0 -1
  840. package/dist/commonjs/funcs/health-get.js.map +0 -1
  841. package/dist/commonjs/funcs/tasks-list-schema.d.ts.map +0 -1
  842. package/dist/commonjs/funcs/tasks-list-schema.js.map +0 -1
  843. package/dist/commonjs/funcs/tasks-list.d.ts.map +0 -1
  844. package/dist/commonjs/funcs/tasks-list.js.map +0 -1
  845. package/dist/commonjs/funcs/tasks-update.d.ts.map +0 -1
  846. package/dist/commonjs/funcs/tasks-update.js.map +0 -1
  847. package/dist/commonjs/models/operations/get-tasks-schema.d.ts +0 -71
  848. package/dist/commonjs/models/operations/get-tasks-schema.d.ts.map +0 -1
  849. package/dist/commonjs/models/operations/get-tasks-schema.js +0 -108
  850. package/dist/commonjs/models/operations/get-tasks-schema.js.map +0 -1
  851. package/dist/commonjs/models/operations/get-tasks.d.ts +0 -62
  852. package/dist/commonjs/models/operations/get-tasks.d.ts.map +0 -1
  853. package/dist/commonjs/models/operations/get-tasks.js +0 -91
  854. package/dist/commonjs/models/operations/get-tasks.js.map +0 -1
  855. package/dist/commonjs/models/operations/health.d.ts +0 -14
  856. package/dist/commonjs/models/operations/health.d.ts.map +0 -1
  857. package/dist/commonjs/models/operations/health.js.map +0 -1
  858. package/dist/commonjs/models/operations/update-task.d.ts +0 -2105
  859. package/dist/commonjs/models/operations/update-task.d.ts.map +0 -1
  860. package/dist/commonjs/models/operations/update-task.js +0 -1115
  861. package/dist/commonjs/models/operations/update-task.js.map +0 -1
  862. package/dist/commonjs/sdk/health.d.ts +0 -12
  863. package/dist/commonjs/sdk/health.d.ts.map +0 -1
  864. package/dist/commonjs/sdk/health.js +0 -22
  865. package/dist/commonjs/sdk/health.js.map +0 -1
  866. package/dist/commonjs/types/default-to-zero-value.d.ts +0 -12
  867. package/dist/commonjs/types/default-to-zero-value.d.ts.map +0 -1
  868. package/dist/commonjs/types/default-to-zero-value.js +0 -35
  869. package/dist/commonjs/types/default-to-zero-value.js.map +0 -1
  870. package/dist/commonjs/types/primitives.d.ts +0 -9
  871. package/dist/commonjs/types/primitives.d.ts.map +0 -1
  872. package/dist/commonjs/types/primitives.js +0 -151
  873. package/dist/commonjs/types/primitives.js.map +0 -1
  874. package/dist/esm/funcs/health-get.d.ts.map +0 -1
  875. package/dist/esm/funcs/health-get.js.map +0 -1
  876. package/dist/esm/funcs/tasks-list-schema.d.ts.map +0 -1
  877. package/dist/esm/funcs/tasks-list-schema.js.map +0 -1
  878. package/dist/esm/funcs/tasks-list.d.ts +0 -17
  879. package/dist/esm/funcs/tasks-list.d.ts.map +0 -1
  880. package/dist/esm/funcs/tasks-list.js.map +0 -1
  881. package/dist/esm/funcs/tasks-update.d.ts +0 -17
  882. package/dist/esm/funcs/tasks-update.d.ts.map +0 -1
  883. package/dist/esm/funcs/tasks-update.js.map +0 -1
  884. package/dist/esm/models/operations/get-tasks-schema.d.ts +0 -71
  885. package/dist/esm/models/operations/get-tasks-schema.d.ts.map +0 -1
  886. package/dist/esm/models/operations/get-tasks-schema.js +0 -67
  887. package/dist/esm/models/operations/get-tasks-schema.js.map +0 -1
  888. package/dist/esm/models/operations/get-tasks.d.ts +0 -62
  889. package/dist/esm/models/operations/get-tasks.d.ts.map +0 -1
  890. package/dist/esm/models/operations/get-tasks.js +0 -51
  891. package/dist/esm/models/operations/get-tasks.js.map +0 -1
  892. package/dist/esm/models/operations/health.d.ts +0 -14
  893. package/dist/esm/models/operations/health.d.ts.map +0 -1
  894. package/dist/esm/models/operations/health.js +0 -14
  895. package/dist/esm/models/operations/health.js.map +0 -1
  896. package/dist/esm/models/operations/update-task.d.ts +0 -2105
  897. package/dist/esm/models/operations/update-task.d.ts.map +0 -1
  898. package/dist/esm/models/operations/update-task.js +0 -1007
  899. package/dist/esm/models/operations/update-task.js.map +0 -1
  900. package/dist/esm/sdk/health.d.ts +0 -12
  901. package/dist/esm/sdk/health.d.ts.map +0 -1
  902. package/dist/esm/sdk/health.js +0 -18
  903. package/dist/esm/sdk/health.js.map +0 -1
  904. package/dist/esm/types/default-to-zero-value.d.ts +0 -12
  905. package/dist/esm/types/default-to-zero-value.d.ts.map +0 -1
  906. package/dist/esm/types/default-to-zero-value.js +0 -31
  907. package/dist/esm/types/default-to-zero-value.js.map +0 -1
  908. package/dist/esm/types/primitives.d.ts +0 -9
  909. package/dist/esm/types/primitives.d.ts.map +0 -1
  910. package/dist/esm/types/primitives.js +0 -109
  911. package/dist/esm/types/primitives.js.map +0 -1
  912. package/src/models/operations/get-tasks-schema.ts +0 -173
  913. package/src/models/operations/get-tasks.ts +0 -144
  914. package/src/models/operations/health.ts +0 -38
  915. package/src/models/operations/update-task.ts +0 -3818
  916. package/src/sdk/health.ts +0 -25
  917. package/src/types/default-to-zero-value.ts +0 -33
  918. package/src/types/primitives.ts +0 -140
@@ -1,1650 +1,64 @@
1
1
  import * as z from "zod/v4-mini";
2
- import { ClosedEnum, OpenEnum } from "../../types/enums.js";
2
+ import * as discriminatedUnionTypes from "../../types/discriminated-union.js";
3
+ import { ClosedEnum } from "../../types/enums.js";
3
4
  import { Result as SafeParseResult } from "../../types/fp.js";
4
5
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
6
+ import * as models from "../index.js";
5
7
  export type FetchInteractionSecurity = {
6
- interactionAccess: string;
8
+ customerAccess?: string | undefined;
9
+ interactionAccess?: string | undefined;
7
10
  };
8
- export type FetchInteractionRequest = {
9
- /**
10
- * Journey instance identifier
11
- */
12
- instanceId: string;
13
- };
14
- export declare const JourneyStatus2: {
15
- readonly Completed: "Completed";
16
- readonly InProgress: "InProgress";
17
- readonly Failed: "Failed";
18
- readonly Paused: "Paused";
19
- };
20
- export type JourneyStatus2 = OpenEnum<typeof JourneyStatus2>;
21
- export type Journey2 = {
22
- status: JourneyStatus2;
23
- };
24
- export type ResponseBody2 = {
25
- /**
26
- * Journey instance identifier
27
- */
28
- instanceId: string;
29
- journey: Journey2;
30
- /**
31
- * True when the journey is still working and no interaction is available yet. Clients should poll /journey/interaction/fetch until this is absent/false and an `interaction` is returned.
32
- */
33
- processing?: boolean | undefined;
34
- };
35
- export declare const FetchInteractionStatusError: {
36
- readonly Error: "error";
37
- };
38
- export type FetchInteractionStatusError = ClosedEnum<typeof FetchInteractionStatusError>;
39
- export type FetchInteractionError = {
40
- status: FetchInteractionStatusError;
41
- /**
42
- * Error code indicating the type of error
43
- */
44
- code: number;
45
- /**
46
- * Error message detailing the issue
47
- */
48
- message: string;
49
- };
50
- export declare const JourneyStatus1: {
51
- readonly Completed: "Completed";
52
- readonly InProgress: "InProgress";
53
- readonly Failed: "Failed";
54
- readonly Paused: "Paused";
55
- };
56
- export type JourneyStatus1 = OpenEnum<typeof JourneyStatus1>;
57
- export type Journey1 = {
58
- status: JourneyStatus1;
59
- };
60
- export declare const ResourceType: {
61
- readonly Brand: "brand";
62
- readonly Delivery: "delivery";
63
- readonly Flow: "flow";
64
- readonly Form: "form";
65
- readonly I18n: "i18n";
66
- readonly Journey: "journey";
67
- readonly License: "license";
68
- readonly Model: "model";
69
- readonly Organization: "organization";
70
- readonly Template: "template";
71
- readonly Interaction: "interaction";
72
- };
73
- export type ResourceType = OpenEnum<typeof ResourceType>;
74
- export type Card = {
75
- id: string;
76
- version?: string | undefined;
77
- config?: any | undefined;
78
- };
79
- export type Page = {
80
- id: string;
81
- label?: string | undefined;
82
- cards: Array<Card>;
83
- };
84
- export type Data = {
85
- pages: Array<Page>;
86
- };
87
- export type Resource = {
88
- id: string;
89
- name: string;
90
- hash?: string | undefined;
91
- version?: string | undefined;
92
- type?: ResourceType | undefined;
93
- data?: Data | undefined;
94
- };
95
- export declare const CollectSpec2: {
96
- readonly Required: "required";
97
- readonly Optional: "optional";
98
- readonly Conditional: "conditional";
99
- };
100
- export type CollectSpec2 = OpenEnum<typeof CollectSpec2>;
101
- export declare const CollectCombinator: {
102
- readonly OneOf: "oneOf";
103
- readonly AllOf: "allOf";
104
- };
105
- export type CollectCombinator = OpenEnum<typeof CollectCombinator>;
106
- export declare const CollectInputSpec: {
107
- readonly Required: "required";
108
- readonly Optional: "optional";
109
- readonly Conditional: "conditional";
110
- };
111
- export type CollectInputSpec = OpenEnum<typeof CollectInputSpec>;
112
- export type CollectInput = {
113
- ref: string;
114
- spec: CollectInputSpec;
115
- recommended?: boolean | undefined;
116
- };
117
- export type Collect2 = {
118
- ref: string;
119
- spec: CollectSpec2;
120
- recommended?: boolean | undefined;
121
- combinator: CollectCombinator;
122
- inputs: Array<CollectInput>;
123
- };
124
- export declare const CollectSpec1: {
125
- readonly Required: "required";
126
- readonly Optional: "optional";
127
- readonly Conditional: "conditional";
128
- };
129
- export type CollectSpec1 = OpenEnum<typeof CollectSpec1>;
130
- export type Collect1 = {
131
- ref: string;
132
- spec: CollectSpec1;
133
- recommended?: boolean | undefined;
134
- };
135
- export type CollectUnion = Collect2 | Collect1;
136
- export declare const ConsumeSpec2: {
137
- readonly Required: "required";
138
- readonly Optional: "optional";
139
- readonly Conditional: "conditional";
140
- };
141
- export type ConsumeSpec2 = OpenEnum<typeof ConsumeSpec2>;
142
- export declare const ConsumeCombinator: {
143
- readonly OneOf: "oneOf";
144
- readonly AllOf: "allOf";
145
- };
146
- export type ConsumeCombinator = OpenEnum<typeof ConsumeCombinator>;
147
- export declare const ConsumeInputSpec: {
148
- readonly Required: "required";
149
- readonly Optional: "optional";
150
- readonly Conditional: "conditional";
151
- };
152
- export type ConsumeInputSpec = OpenEnum<typeof ConsumeInputSpec>;
153
- export type ConsumeInput = {
154
- ref: string;
155
- spec: ConsumeInputSpec;
156
- recommended?: boolean | undefined;
157
- };
158
- export type Consume2 = {
159
- ref: string;
160
- spec: ConsumeSpec2;
161
- recommended?: boolean | undefined;
162
- combinator: ConsumeCombinator;
163
- inputs: Array<ConsumeInput>;
164
- };
165
- export declare const ConsumeSpec1: {
166
- readonly Required: "required";
167
- readonly Optional: "optional";
168
- readonly Conditional: "conditional";
169
- };
170
- export type ConsumeSpec1 = OpenEnum<typeof ConsumeSpec1>;
171
- export type Consume1 = {
172
- ref: string;
173
- spec: ConsumeSpec1;
174
- recommended?: boolean | undefined;
175
- };
176
- export type ConsumeUnion = Consume2 | Consume1;
177
- export type Interaction = {
178
- resource?: Resource | undefined;
179
- collects: Array<Collect2 | Collect1>;
180
- consumes: Array<Consume2 | Consume1>;
181
- grId: string;
182
- };
183
- export type FetchInteractionIdentityAlias = {
184
- /**
185
- * Title of an individual such as Mr, Mrs, Dr, Sir
186
- */
187
- title?: string | undefined;
188
- /**
189
- * A person's name used by their collegues and friends to address them
190
- */
191
- firstName?: string | undefined;
192
- /**
193
- * Any other registered names used by the individual, not aliases
194
- */
195
- middleNames?: Array<string> | undefined;
196
- /**
197
- * Any family names for the individual
198
- */
199
- lastNames?: Array<string> | undefined;
200
- /**
201
- * Any family names for the individual
202
- */
203
- lastNamesAtBirth?: Array<string> | undefined;
204
- };
205
- export declare const FetchInteractionIdentityRelationship: {
206
- readonly Mother: "mother";
207
- readonly Father: "father";
208
- readonly MaternalGrandFather: "maternalGrandFather";
209
- readonly MaternalGrandMother: "maternalGrandMother";
210
- readonly PaternalGrandFather: "paternalGrandFather";
211
- readonly PaternalGrandMother: "paternalGrandMother";
212
- };
213
- export type FetchInteractionIdentityRelationship = OpenEnum<typeof FetchInteractionIdentityRelationship>;
214
- export type FetchInteractionIdentityRelatedPerson = {
215
- /**
216
- * Title of an individual such as Mr, Mrs, Dr, Sir
217
- */
218
- title?: string | undefined;
219
- /**
220
- * A person's name used by their collegues and friends to address them
221
- */
222
- firstName?: string | undefined;
223
- /**
224
- * Any other registered names used by the individual, not aliases
225
- */
226
- middleNames?: Array<string> | undefined;
227
- /**
228
- * Any family names for the individual
229
- */
230
- lastNames?: Array<string> | undefined;
231
- /**
232
- * Any family names for the individual
233
- */
234
- lastNamesAtBirth?: Array<string> | undefined;
235
- relationship: FetchInteractionIdentityRelationship;
236
- };
237
- export type FetchInteractionIdentityCurrentAddressLocation = {
238
- latitude?: string | undefined;
239
- longitude?: string | undefined;
240
- geoAccuracy?: string | undefined;
241
- /**
242
- * A What3words designation associated with this location with '.' separator.
243
- */
244
- what3words?: string | undefined;
245
- };
246
- export type FetchInteractionIdentityCurrentAddress = {
247
- /**
248
- * Unformatted line based address
249
- */
250
- lines?: Array<string> | undefined;
251
- /**
252
- * The address as a single line
253
- */
254
- addressString?: string | undefined;
255
- /**
256
- * The primary delivery point for a premise or building. This could be a house number, a building name, etc.
257
- */
258
- premise?: string | undefined;
259
- /**
260
- * The name of a building or a building complex. In the US, this is the street number.
261
- */
262
- building?: string | undefined;
263
- /**
264
- * The name of a sub-building, such as a flat or apartment number.
265
- */
266
- subBuilding?: string | undefined;
267
- /**
268
- * This field holds the most common street or block data element within a country. For instance, USA Street
269
- */
270
- thoroughfare?: string | undefined;
271
- /**
272
- * The name of a dependent street or block, such as a street within a complex.
273
- */
274
- dependentThoroughfare?: string | undefined;
275
- /**
276
- * This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
277
- */
278
- locality?: string | undefined;
279
- /**
280
- * This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
281
- */
282
- dependentLocality?: string | undefined;
283
- /**
284
- * This is an even smaller area within a dependent locality, often used in very detailed addresses.
285
- */
286
- doubleDependentLocality?: string | undefined;
287
- /**
288
- * 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
289
- */
290
- postalCode?: string | undefined;
291
- /**
292
- * This field contains the post box number associated with a particular delivery point, should one exist.
293
- */
294
- postBox?: string | undefined;
295
- /**
296
- * Country the address is in. It must be a valid ISO2 or ISO3 country code
297
- */
298
- country?: string | undefined;
299
- superAdministrativeArea?: string | undefined;
300
- administrativeArea?: string | undefined;
301
- subAdministrativeArea?: string | undefined;
302
- organization?: string | undefined;
303
- location?: FetchInteractionIdentityCurrentAddressLocation | undefined;
304
- };
305
- export type FetchInteractionIdentityPreviousAddressLocation = {
306
- latitude?: string | undefined;
307
- longitude?: string | undefined;
308
- geoAccuracy?: string | undefined;
309
- /**
310
- * A What3words designation associated with this location with '.' separator.
311
- */
312
- what3words?: string | undefined;
313
- };
314
- export type FetchInteractionIdentityPreviousAddress = {
315
- /**
316
- * Unformatted line based address
317
- */
318
- lines?: Array<string> | undefined;
319
- /**
320
- * The address as a single line
321
- */
322
- addressString?: string | undefined;
323
- /**
324
- * The primary delivery point for a premise or building. This could be a house number, a building name, etc.
325
- */
326
- premise?: string | undefined;
327
- /**
328
- * The name of a building or a building complex. In the US, this is the street number.
329
- */
330
- building?: string | undefined;
331
- /**
332
- * The name of a sub-building, such as a flat or apartment number.
333
- */
334
- subBuilding?: string | undefined;
335
- /**
336
- * This field holds the most common street or block data element within a country. For instance, USA Street
337
- */
338
- thoroughfare?: string | undefined;
339
- /**
340
- * The name of a dependent street or block, such as a street within a complex.
341
- */
342
- dependentThoroughfare?: string | undefined;
343
- /**
344
- * This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
345
- */
346
- locality?: string | undefined;
347
- /**
348
- * This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
349
- */
350
- dependentLocality?: string | undefined;
351
- /**
352
- * This is an even smaller area within a dependent locality, often used in very detailed addresses.
353
- */
354
- doubleDependentLocality?: string | undefined;
355
- /**
356
- * 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
357
- */
358
- postalCode?: string | undefined;
359
- /**
360
- * This field contains the post box number associated with a particular delivery point, should one exist.
361
- */
362
- postBox?: string | undefined;
363
- /**
364
- * Country the address is in. It must be a valid ISO2 or ISO3 country code
365
- */
366
- country?: string | undefined;
367
- superAdministrativeArea?: string | undefined;
368
- administrativeArea?: string | undefined;
369
- subAdministrativeArea?: string | undefined;
370
- organization?: string | undefined;
371
- location?: FetchInteractionIdentityPreviousAddressLocation | undefined;
372
- /**
373
- * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
374
- */
375
- fromDate: string;
376
- /**
377
- * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
378
- */
379
- toDate: string;
380
- };
381
- export type FetchInteractionIdentityPlaceOfBirthLocation = {
382
- latitude?: string | undefined;
383
- longitude?: string | undefined;
384
- geoAccuracy?: string | undefined;
385
- /**
386
- * A What3words designation associated with this location with '.' separator.
387
- */
388
- what3words?: string | undefined;
389
- };
390
- export type FetchInteractionIdentityPlaceOfBirth = {
391
- /**
392
- * Unformatted line based address
393
- */
394
- lines?: Array<string> | undefined;
395
- /**
396
- * The address as a single line
397
- */
398
- addressString?: string | undefined;
399
- /**
400
- * The primary delivery point for a premise or building. This could be a house number, a building name, etc.
401
- */
402
- premise?: string | undefined;
403
- /**
404
- * The name of a building or a building complex. In the US, this is the street number.
405
- */
406
- building?: string | undefined;
407
- /**
408
- * The name of a sub-building, such as a flat or apartment number.
409
- */
410
- subBuilding?: string | undefined;
411
- /**
412
- * This field holds the most common street or block data element within a country. For instance, USA Street
413
- */
414
- thoroughfare?: string | undefined;
415
- /**
416
- * The name of a dependent street or block, such as a street within a complex.
417
- */
418
- dependentThoroughfare?: string | undefined;
419
- /**
420
- * This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
421
- */
422
- locality?: string | undefined;
423
- /**
424
- * This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
425
- */
426
- dependentLocality?: string | undefined;
427
- /**
428
- * This is an even smaller area within a dependent locality, often used in very detailed addresses.
429
- */
430
- doubleDependentLocality?: string | undefined;
431
- /**
432
- * 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
433
- */
434
- postalCode?: string | undefined;
435
- /**
436
- * This field contains the post box number associated with a particular delivery point, should one exist.
437
- */
438
- postBox?: string | undefined;
439
- /**
440
- * Country the address is in. It must be a valid ISO2 or ISO3 country code
441
- */
442
- country?: string | undefined;
443
- superAdministrativeArea?: string | undefined;
444
- administrativeArea?: string | undefined;
445
- subAdministrativeArea?: string | undefined;
446
- organization?: string | undefined;
447
- location?: FetchInteractionIdentityPlaceOfBirthLocation | undefined;
448
- };
449
- export type FetchInteractionIdentityIdNumber = {
450
- /**
451
- * The type of phone number, such as landline, mobile, fax, unknown etc
452
- */
453
- type: string;
454
- /**
455
- * ID number eg, National Insurance Number in UK, Social Securtiy Number in US
456
- */
457
- idNumber: string;
458
- /**
459
- * Country the address is in. It must be a valid ISO2 or ISO3 country code
460
- */
461
- country?: string | undefined;
462
- };
463
- export type FetchInteractionIdentityPhone = {
464
- /**
465
- * The type of phone number, such as landline, mobile, fax, unknown etc
466
- */
467
- type: string;
468
- /**
469
- * Phone number, ideally in international format with +(Country Code)
470
- */
471
- number: string;
472
- };
473
- export type FetchInteractionIdentityEmail = {
474
- /**
475
- * The type of email, such as home, work, unknown etc
476
- */
477
- type: string;
478
- /**
479
- * Email address
480
- */
481
- email: string;
482
- };
483
- export type FetchInteractionIdentitySocial = {
484
- /**
485
- * An agreed standardised name for the social media platform this identity relates to such as Facebook, Twitter, unknown etc
486
- */
487
- type: string;
488
- /**
489
- * the identity used on this platform
490
- */
491
- identity: string;
492
- };
493
- export type FetchInteractionIdentity = {
494
- /**
495
- * Title of an individual such as Mr, Mrs, Dr, Sir
496
- */
497
- title?: string | undefined;
498
- /**
499
- * A person's name used by their collegues and friends to address them
500
- */
501
- firstName?: string | undefined;
502
- /**
503
- * Any other registered names used by the individual, not aliases
504
- */
505
- middleNames?: Array<string> | undefined;
506
- /**
507
- * Any family names for the individual
508
- */
509
- lastNames?: Array<string> | undefined;
510
- /**
511
- * Any family names for the individual
512
- */
513
- lastNamesAtBirth?: Array<string> | undefined;
514
- aliases?: Array<FetchInteractionIdentityAlias> | undefined;
515
- relatedPersons?: Array<FetchInteractionIdentityRelatedPerson> | undefined;
516
- /**
517
- * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
518
- */
519
- dateOfBirth?: string | undefined;
520
- gender?: string | undefined;
521
- currentAddress?: FetchInteractionIdentityCurrentAddress | undefined;
522
- previousAddresses?: Array<FetchInteractionIdentityPreviousAddress> | undefined;
523
- placeOfBirth?: FetchInteractionIdentityPlaceOfBirth | undefined;
524
- idNumbers?: Array<FetchInteractionIdentityIdNumber> | undefined;
525
- phones?: Array<FetchInteractionIdentityPhone> | undefined;
526
- emails?: Array<FetchInteractionIdentityEmail> | undefined;
527
- socials?: Array<FetchInteractionIdentitySocial> | undefined;
528
- /**
529
- * The subject's mother's maiden name, used for identity verification
530
- */
531
- mothersMaidenName?: string | undefined;
532
- };
533
- export type FetchInteractionAddress = {
534
- addressString?: string | undefined;
535
- extractedAddressString?: string | undefined;
536
- addressLine1?: string | undefined;
537
- addressLine2?: string | undefined;
538
- locality?: string | undefined;
539
- administrativeArea?: string | undefined;
540
- postalCode?: string | undefined;
541
- };
542
- export type FetchInteractionDocumentDevice = {
543
- type?: string | undefined;
544
- model?: string | undefined;
545
- hasContactlessReader?: boolean | undefined;
546
- hasMagneticStripeReader?: boolean | undefined;
547
- hasCamera?: boolean | undefined;
548
- serialNumber?: string | undefined;
549
- manufacturer?: string | undefined;
550
- };
551
- export declare const FetchInteractionName: {
552
- readonly Com: "COM";
553
- readonly Sod: "SOD";
554
- readonly Dg1: "DG1";
555
- readonly Dg2: "DG2";
556
- readonly Dg3: "DG3";
557
- readonly Dg4: "DG4";
558
- readonly Dg5: "DG5";
559
- readonly Dg6: "DG6";
560
- readonly Dg7: "DG7";
561
- readonly Dg8: "DG8";
562
- readonly Dg9: "DG9";
563
- readonly Dg10: "DG10";
564
- readonly Dg11: "DG11";
565
- readonly Dg12: "DG12";
566
- readonly Dg13: "DG13";
567
- readonly Dg14: "DG14";
568
- readonly Dg15: "DG15";
569
- };
570
- export type FetchInteractionName = OpenEnum<typeof FetchInteractionName>;
571
- export type FetchInteractionLd = {
572
- name: FetchInteractionName;
573
- data: string;
574
- [additionalProperties: string]: unknown;
575
- };
576
- export declare const FetchInteractionAuthType: {
577
- readonly ActiveAuthentication: "ActiveAuthentication";
578
- readonly BasicAccessControl: "BasicAccessControl";
579
- readonly ChipAuthentication: "ChipAuthentication";
580
- readonly PassiveAuthentication: "PassiveAuthentication";
581
- readonly SupplementalAccessControl: "SupplementalAccessControl";
582
- readonly ExtendedAccessControl: "ExtendedAccessControl";
583
- readonly TerminalAuthentication: "TerminalAuthentication";
584
- };
585
- export type FetchInteractionAuthType = OpenEnum<typeof FetchInteractionAuthType>;
586
- export declare const FetchInteractionResult: {
587
- readonly Success: "Success";
588
- readonly Failure: "Failure";
589
- readonly Skipped: "Skipped";
590
- };
591
- export type FetchInteractionResult = OpenEnum<typeof FetchInteractionResult>;
592
- export type FetchInteractionChipAuth = {
593
- type: FetchInteractionAuthType;
594
- result: FetchInteractionResult;
595
- [additionalProperties: string]: unknown;
596
- };
597
- export type FetchInteractionChip = {
598
- lds: Array<FetchInteractionLd>;
599
- auth: Array<FetchInteractionChipAuth>;
600
- [additionalProperties: string]: unknown;
601
- };
602
- export type FetchInteractionSide = {
603
- side: string;
604
- id: string;
605
- documentQuality: string;
606
- documentQualityScore: number;
607
- };
608
- export type FetchInteractionClassification = {
609
- ids?: Array<string> | undefined;
610
- category?: string | undefined;
611
- type?: string | undefined;
612
- subtype?: string | undefined;
613
- isDoubleSided?: boolean | undefined;
614
- hasNFC?: boolean | undefined;
615
- year?: string | undefined;
616
- countryCode?: string | undefined;
617
- countryName?: string | undefined;
618
- stateCode?: string | undefined;
619
- stateName?: string | undefined;
620
- sides?: Array<FetchInteractionSide> | undefined;
621
- };
622
- export type FetchInteractionAggregatedFieldBoundingBox = {
623
- x: number;
624
- y: number;
625
- width: number;
626
- height: number;
627
- };
628
- export type FetchInteractionAggregatedFieldRegionOfInterest = {
629
- boundingBox?: FetchInteractionAggregatedFieldBoundingBox | undefined;
630
- side: string;
631
- spectrum?: string | undefined;
632
- imageId?: string | undefined;
633
- };
634
- export type FetchInteractionAggregatedField = {
635
- label: string;
636
- value: string;
637
- source: string;
638
- isNonLatin: boolean;
639
- regionOfInterest?: FetchInteractionAggregatedFieldRegionOfInterest | undefined;
640
- };
641
- export type FetchInteractionDetailBoundingBox = {
642
- x: number;
643
- y: number;
644
- width: number;
645
- height: number;
646
- };
647
- export type FetchInteractionDetailRegionOfInterest = {
648
- boundingBox?: FetchInteractionDetailBoundingBox | undefined;
649
- side: string;
650
- spectrum?: string | undefined;
651
- imageId?: string | undefined;
652
- };
653
- export type FetchInteractionDetail = {
654
- label: string;
655
- value: string;
656
- source: string;
657
- isNonLatin: boolean;
658
- regionOfInterest?: FetchInteractionDetailRegionOfInterest | undefined;
659
- };
660
- export type FetchInteractionExtractedField = {
661
- label: string;
662
- details: Array<FetchInteractionDetail>;
663
- };
664
- export type FetchInteractionExtractedImage = {
665
- label: string;
666
- side: string;
667
- imageID: string;
668
- };
669
- export type FetchInteractionExtraction = {
670
- aggregatedFields?: Array<FetchInteractionAggregatedField> | undefined;
671
- extractedFields?: Array<FetchInteractionExtractedField> | undefined;
672
- extractedImages?: Array<FetchInteractionExtractedImage> | undefined;
673
- };
674
- export type FetchInteractionValidationCheckBoundingBox = {
675
- x: number;
676
- y: number;
677
- width: number;
678
- height: number;
679
- };
680
- export type FetchInteractionValidationCheckRegionOfInterest = {
681
- boundingBox?: FetchInteractionValidationCheckBoundingBox | undefined;
682
- side: string;
683
- spectrum?: string | undefined;
684
- imageId?: string | undefined;
685
- };
686
- export type FetchInteractionValidationCheck = {
687
- name: string;
688
- title: string;
689
- info: string;
690
- validationResult: string;
691
- resultInfo: string;
692
- weight: string;
693
- regionOfInterests?: Array<FetchInteractionValidationCheckRegionOfInterest> | undefined;
694
- type: string;
695
- };
696
- export type FetchInteractionAggregatedValidationCheckBoundingBox = {
697
- x: number;
698
- y: number;
699
- width: number;
700
- height: number;
701
- };
702
- export type FetchInteractionAggregatedValidationCheckRegionOfInterest = {
703
- boundingBox?: FetchInteractionAggregatedValidationCheckBoundingBox | undefined;
704
- side: string;
705
- spectrum?: string | undefined;
706
- imageId?: string | undefined;
707
- };
708
- export type FetchInteractionAggregatedValidationCheck = {
709
- name: string;
710
- title: string;
711
- info: string;
712
- validationResult: string;
713
- resultInfo: string;
714
- weight: string;
715
- regionOfInterests?: Array<FetchInteractionAggregatedValidationCheckRegionOfInterest> | undefined;
716
- type: string;
717
- };
718
- export type FetchInteractionValidation = {
719
- validationChecks?: Array<FetchInteractionValidationCheck> | undefined;
720
- aggregatedValidationChecks?: Array<FetchInteractionAggregatedValidationCheck> | undefined;
721
- };
722
- export type FetchInteractionDocumentAlias = {
723
- /**
724
- * Title of an individual such as Mr, Mrs, Dr, Sir
725
- */
726
- title?: string | undefined;
727
- /**
728
- * A person's name used by their collegues and friends to address them
729
- */
730
- firstName?: string | undefined;
731
- /**
732
- * Any other registered names used by the individual, not aliases
733
- */
734
- middleNames?: Array<string> | undefined;
735
- /**
736
- * Any family names for the individual
737
- */
738
- lastNames?: Array<string> | undefined;
739
- /**
740
- * Any family names for the individual
741
- */
742
- lastNamesAtBirth?: Array<string> | undefined;
743
- };
744
- export declare const FetchInteractionDocumentRelationship: {
745
- readonly Mother: "mother";
746
- readonly Father: "father";
747
- readonly MaternalGrandFather: "maternalGrandFather";
748
- readonly MaternalGrandMother: "maternalGrandMother";
749
- readonly PaternalGrandFather: "paternalGrandFather";
750
- readonly PaternalGrandMother: "paternalGrandMother";
751
- };
752
- export type FetchInteractionDocumentRelationship = OpenEnum<typeof FetchInteractionDocumentRelationship>;
753
- export type FetchInteractionDocumentRelatedPerson = {
754
- /**
755
- * Title of an individual such as Mr, Mrs, Dr, Sir
756
- */
757
- title?: string | undefined;
758
- /**
759
- * A person's name used by their collegues and friends to address them
760
- */
761
- firstName?: string | undefined;
762
- /**
763
- * Any other registered names used by the individual, not aliases
764
- */
765
- middleNames?: Array<string> | undefined;
766
- /**
767
- * Any family names for the individual
768
- */
769
- lastNames?: Array<string> | undefined;
770
- /**
771
- * Any family names for the individual
772
- */
773
- lastNamesAtBirth?: Array<string> | undefined;
774
- relationship: FetchInteractionDocumentRelationship;
775
- };
776
- export type FetchInteractionDocumentCurrentAddressLocation = {
777
- latitude?: string | undefined;
778
- longitude?: string | undefined;
779
- geoAccuracy?: string | undefined;
780
- /**
781
- * A What3words designation associated with this location with '.' separator.
782
- */
783
- what3words?: string | undefined;
784
- };
785
- export type FetchInteractionDocumentCurrentAddress = {
786
- /**
787
- * Unformatted line based address
788
- */
789
- lines?: Array<string> | undefined;
790
- /**
791
- * The address as a single line
792
- */
793
- addressString?: string | undefined;
794
- /**
795
- * The primary delivery point for a premise or building. This could be a house number, a building name, etc.
796
- */
797
- premise?: string | undefined;
798
- /**
799
- * The name of a building or a building complex. In the US, this is the street number.
800
- */
801
- building?: string | undefined;
802
- /**
803
- * The name of a sub-building, such as a flat or apartment number.
804
- */
805
- subBuilding?: string | undefined;
806
- /**
807
- * This field holds the most common street or block data element within a country. For instance, USA Street
808
- */
809
- thoroughfare?: string | undefined;
810
- /**
811
- * The name of a dependent street or block, such as a street within a complex.
812
- */
813
- dependentThoroughfare?: string | undefined;
814
- /**
815
- * This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
816
- */
817
- locality?: string | undefined;
818
- /**
819
- * This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
820
- */
821
- dependentLocality?: string | undefined;
822
- /**
823
- * This is an even smaller area within a dependent locality, often used in very detailed addresses.
824
- */
825
- doubleDependentLocality?: string | undefined;
826
- /**
827
- * 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
828
- */
829
- postalCode?: string | undefined;
830
- /**
831
- * This field contains the post box number associated with a particular delivery point, should one exist.
832
- */
833
- postBox?: string | undefined;
834
- /**
835
- * Country the address is in. It must be a valid ISO2 or ISO3 country code
836
- */
837
- country?: string | undefined;
838
- superAdministrativeArea?: string | undefined;
839
- administrativeArea?: string | undefined;
840
- subAdministrativeArea?: string | undefined;
841
- organization?: string | undefined;
842
- location?: FetchInteractionDocumentCurrentAddressLocation | undefined;
843
- };
844
- export type FetchInteractionDocumentPreviousAddressLocation = {
845
- latitude?: string | undefined;
846
- longitude?: string | undefined;
847
- geoAccuracy?: string | undefined;
848
- /**
849
- * A What3words designation associated with this location with '.' separator.
850
- */
851
- what3words?: string | undefined;
852
- };
853
- export type FetchInteractionDocumentPreviousAddress = {
854
- /**
855
- * Unformatted line based address
856
- */
857
- lines?: Array<string> | undefined;
858
- /**
859
- * The address as a single line
860
- */
861
- addressString?: string | undefined;
862
- /**
863
- * The primary delivery point for a premise or building. This could be a house number, a building name, etc.
864
- */
865
- premise?: string | undefined;
866
- /**
867
- * The name of a building or a building complex. In the US, this is the street number.
868
- */
869
- building?: string | undefined;
870
- /**
871
- * The name of a sub-building, such as a flat or apartment number.
872
- */
873
- subBuilding?: string | undefined;
874
- /**
875
- * This field holds the most common street or block data element within a country. For instance, USA Street
876
- */
877
- thoroughfare?: string | undefined;
878
- /**
879
- * The name of a dependent street or block, such as a street within a complex.
880
- */
881
- dependentThoroughfare?: string | undefined;
882
- /**
883
- * This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
884
- */
885
- locality?: string | undefined;
886
- /**
887
- * This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
888
- */
889
- dependentLocality?: string | undefined;
890
- /**
891
- * This is an even smaller area within a dependent locality, often used in very detailed addresses.
892
- */
893
- doubleDependentLocality?: string | undefined;
894
- /**
895
- * 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
896
- */
897
- postalCode?: string | undefined;
898
- /**
899
- * This field contains the post box number associated with a particular delivery point, should one exist.
900
- */
901
- postBox?: string | undefined;
902
- /**
903
- * Country the address is in. It must be a valid ISO2 or ISO3 country code
904
- */
905
- country?: string | undefined;
906
- superAdministrativeArea?: string | undefined;
907
- administrativeArea?: string | undefined;
908
- subAdministrativeArea?: string | undefined;
909
- organization?: string | undefined;
910
- location?: FetchInteractionDocumentPreviousAddressLocation | undefined;
911
- /**
912
- * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
913
- */
914
- fromDate: string;
915
- /**
916
- * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
917
- */
918
- toDate: string;
919
- };
920
- export type FetchInteractionDocumentPlaceOfBirthLocation = {
921
- latitude?: string | undefined;
922
- longitude?: string | undefined;
923
- geoAccuracy?: string | undefined;
924
- /**
925
- * A What3words designation associated with this location with '.' separator.
926
- */
927
- what3words?: string | undefined;
928
- };
929
- export type FetchInteractionDocumentPlaceOfBirth = {
930
- /**
931
- * Unformatted line based address
932
- */
933
- lines?: Array<string> | undefined;
934
- /**
935
- * The address as a single line
936
- */
937
- addressString?: string | undefined;
938
- /**
939
- * The primary delivery point for a premise or building. This could be a house number, a building name, etc.
940
- */
941
- premise?: string | undefined;
942
- /**
943
- * The name of a building or a building complex. In the US, this is the street number.
944
- */
945
- building?: string | undefined;
946
- /**
947
- * The name of a sub-building, such as a flat or apartment number.
948
- */
949
- subBuilding?: string | undefined;
950
- /**
951
- * This field holds the most common street or block data element within a country. For instance, USA Street
952
- */
953
- thoroughfare?: string | undefined;
954
- /**
955
- * The name of a dependent street or block, such as a street within a complex.
956
- */
957
- dependentThoroughfare?: string | undefined;
958
- /**
959
- * This field holds the most common population center data element within a country. For instance, USA City, Canadian Municipality
960
- */
961
- locality?: string | undefined;
962
- /**
963
- * This is a smaller area within a locality, such as a neighborhood or district. Like Manhattan in New York City, or Soho in London.
964
- */
965
- dependentLocality?: string | undefined;
966
- /**
967
- * This is an even smaller area within a dependent locality, often used in very detailed addresses.
968
- */
969
- doubleDependentLocality?: string | undefined;
970
- /**
971
- * 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
972
- */
973
- postalCode?: string | undefined;
974
- /**
975
- * This field contains the post box number associated with a particular delivery point, should one exist.
976
- */
977
- postBox?: string | undefined;
978
- /**
979
- * Country the address is in. It must be a valid ISO2 or ISO3 country code
980
- */
981
- country?: string | undefined;
982
- superAdministrativeArea?: string | undefined;
983
- administrativeArea?: string | undefined;
984
- subAdministrativeArea?: string | undefined;
985
- organization?: string | undefined;
986
- location?: FetchInteractionDocumentPlaceOfBirthLocation | undefined;
987
- };
988
- export type FetchInteractionDocumentIdNumber = {
989
- /**
990
- * The type of phone number, such as landline, mobile, fax, unknown etc
991
- */
992
- type: string;
993
- /**
994
- * ID number eg, National Insurance Number in UK, Social Securtiy Number in US
995
- */
996
- idNumber: string;
997
- /**
998
- * Country the address is in. It must be a valid ISO2 or ISO3 country code
999
- */
1000
- country?: string | undefined;
1001
- };
1002
- export type FetchInteractionDocumentPhone = {
1003
- /**
1004
- * The type of phone number, such as landline, mobile, fax, unknown etc
1005
- */
1006
- type: string;
1007
- /**
1008
- * Phone number, ideally in international format with +(Country Code)
1009
- */
1010
- number: string;
1011
- };
1012
- export type FetchInteractionDocumentEmail = {
1013
- /**
1014
- * The type of email, such as home, work, unknown etc
1015
- */
1016
- type: string;
1017
- /**
1018
- * Email address
1019
- */
1020
- email: string;
1021
- };
1022
- export type FetchInteractionDocumentSocial = {
1023
- /**
1024
- * An agreed standardised name for the social media platform this identity relates to such as Facebook, Twitter, unknown etc
1025
- */
1026
- type: string;
1027
- /**
1028
- * the identity used on this platform
1029
- */
1030
- identity: string;
1031
- };
1032
- export type FetchInteractionDocumentSubject = {
1033
- /**
1034
- * Title of an individual such as Mr, Mrs, Dr, Sir
1035
- */
1036
- title?: string | undefined;
1037
- /**
1038
- * A person's name used by their collegues and friends to address them
1039
- */
1040
- firstName?: string | undefined;
1041
- /**
1042
- * Any other registered names used by the individual, not aliases
1043
- */
1044
- middleNames?: Array<string> | undefined;
1045
- /**
1046
- * Any family names for the individual
1047
- */
1048
- lastNames?: Array<string> | undefined;
1049
- /**
1050
- * Any family names for the individual
1051
- */
1052
- lastNamesAtBirth?: Array<string> | undefined;
1053
- aliases?: Array<FetchInteractionDocumentAlias> | undefined;
1054
- relatedPersons?: Array<FetchInteractionDocumentRelatedPerson> | undefined;
1055
- /**
1056
- * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
1057
- */
1058
- dateOfBirth?: string | undefined;
1059
- gender?: string | undefined;
1060
- currentAddress?: FetchInteractionDocumentCurrentAddress | undefined;
1061
- previousAddresses?: Array<FetchInteractionDocumentPreviousAddress> | undefined;
1062
- placeOfBirth?: FetchInteractionDocumentPlaceOfBirth | undefined;
1063
- idNumbers?: Array<FetchInteractionDocumentIdNumber> | undefined;
1064
- phones?: Array<FetchInteractionDocumentPhone> | undefined;
1065
- emails?: Array<FetchInteractionDocumentEmail> | undefined;
1066
- socials?: Array<FetchInteractionDocumentSocial> | undefined;
1067
- /**
1068
- * The subject's mother's maiden name, used for identity verification
1069
- */
1070
- mothersMaidenName?: string | undefined;
1071
- };
1072
- export type FetchInteractionDocument = {
1073
- oneDBarcode?: string | undefined;
1074
- address?: FetchInteractionAddress | undefined;
1075
- applicationDate?: string | undefined;
1076
- applicationNumber?: string | undefined;
1077
- dateOfBirth?: string | undefined;
1078
- placeOfBirth?: string | undefined;
1079
- placeOfBirthNative?: string | undefined;
1080
- bloodType?: string | undefined;
1081
- controlNumber?: string | undefined;
1082
- countryCode?: string | undefined;
1083
- countryName?: string | undefined;
1084
- documentClassCode?: string | undefined;
1085
- documentClassName?: string | undefined;
1086
- documentNumber?: string | undefined;
1087
- documentSignerCertificate?: string | undefined;
1088
- employer?: string | undefined;
1089
- employerAddress?: string | undefined;
1090
- entries?: string | undefined;
1091
- expirationDate?: string | undefined;
1092
- eyeColor?: string | undefined;
1093
- fathersName?: string | undefined;
1094
- fathersNameNative?: string | undefined;
1095
- fathersSurname?: string | undefined;
1096
- firstName?: string | undefined;
1097
- fullName?: string | undefined;
1098
- fullNameNative?: string | undefined;
1099
- givenName?: string | undefined;
1100
- givenNameNative?: string | undefined;
1101
- hairColor?: string | undefined;
1102
- height?: string | undefined;
1103
- /**
1104
- * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
1105
- */
1106
- issueDate?: string | undefined;
1107
- issuingAuthority?: string | undefined;
1108
- issuingAuthorityNative?: string | undefined;
1109
- issuingStateCode?: string | undefined;
1110
- issuingStateName?: string | undefined;
1111
- licenseClass?: string | undefined;
1112
- licenseEndorsements?: string | undefined;
1113
- licenseRestrictions?: string | undefined;
1114
- mrz?: string | undefined;
1115
- mrz1?: string | undefined;
1116
- mrz2?: string | undefined;
1117
- mrz3?: string | undefined;
1118
- middleName?: string | undefined;
1119
- mothersName?: string | undefined;
1120
- mothersNameNative?: string | undefined;
1121
- mothersSurname?: string | undefined;
1122
- nameSuffix?: string | undefined;
1123
- nationalityCode?: string | undefined;
1124
- nationalityName?: string | undefined;
1125
- nationalityNameNative?: string | undefined;
1126
- occupation?: string | undefined;
1127
- organDonor?: boolean | undefined;
1128
- passportNumber?: string | undefined;
1129
- permitNumber?: string | undefined;
1130
- personalNumber?: string | undefined;
1131
- photo?: string | undefined;
1132
- photoCompressed?: string | undefined;
1133
- photoEncoding?: string | undefined;
1134
- sex?: string | undefined;
1135
- sexNative?: string | undefined;
1136
- signature?: string | undefined;
1137
- signatureCompressed?: string | undefined;
1138
- signatureEncoding?: string | undefined;
1139
- socialSecurityNumber?: string | undefined;
1140
- startDate?: string | undefined;
1141
- surname?: string | undefined;
1142
- surnameNative?: string | undefined;
1143
- visaClass?: string | undefined;
1144
- visaNumber?: string | undefined;
1145
- weight?: string | undefined;
1146
- cardNumber?: string | undefined;
1147
- /**
1148
- * Country the address is in. It must be a valid ISO2 or ISO3 country code
1149
- */
1150
- issuerCountryCode?: string | undefined;
1151
- id?: string | undefined;
1152
- type?: string | undefined;
1153
- category?: string | undefined;
1154
- subtype?: string | undefined;
1155
- format?: string | undefined;
1156
- device?: FetchInteractionDocumentDevice | undefined;
1157
- side1Image?: string | undefined;
1158
- side2Image?: string | undefined;
1159
- chip?: FetchInteractionChip | undefined;
1160
- classification?: FetchInteractionClassification | undefined;
1161
- extraction?: FetchInteractionExtraction | undefined;
1162
- validation?: FetchInteractionValidation | undefined;
1163
- subType?: string | undefined;
1164
- number?: string | undefined;
1165
- /**
1166
- * Specified in year, month and day separated by -. For example 2017-1-1 or 2017-01-01 which conforms to ISO 8601
1167
- */
1168
- expiryDate?: string | undefined;
1169
- subject?: FetchInteractionDocumentSubject | undefined;
1170
- /**
1171
- * Country the address is in. It must be a valid ISO2 or ISO3 country code
1172
- */
1173
- country?: string | undefined;
1174
- };
1175
- export type FetchInteractionBiometric4 = {
1176
- id?: string | undefined;
1177
- type?: string | undefined;
1178
- selfieImage: string;
1179
- selfieImageEncryption?: boolean | undefined;
1180
- };
1181
- export type FetchInteractionBiometric3 = {
1182
- id?: string | undefined;
1183
- type?: string | undefined;
1184
- faceImage: string;
1185
- };
1186
- export type FetchInteractionBiometric2 = {
1187
- id?: string | undefined;
1188
- type?: string | undefined;
1189
- selfieImage: string;
1190
- anchorImage: string;
1191
- };
1192
- export type FetchInteractionBiometric1 = {
1193
- id?: string | undefined;
1194
- type?: string | undefined;
1195
- face1Image: string;
1196
- face2Image: string;
1197
- };
1198
- export type FetchInteractionBiometricUnion = FetchInteractionBiometric1 | FetchInteractionBiometric2 | FetchInteractionBiometric3 | FetchInteractionBiometric4;
1199
- export type FetchInteractionUser = {
1200
- id: string;
1201
- email: string;
1202
- domain: string;
1203
- };
1204
- export type FetchInteractionClient = {
1205
- id: string;
1206
- ip: string;
1207
- address: string;
1208
- };
1209
- export type FetchInteractionModel = {
1210
- identifier: string;
1211
- name: string;
1212
- };
1213
- export type FetchInteractionSessionDevice = {
1214
- id: string;
1215
- manufacturer: string;
1216
- model: FetchInteractionModel;
1217
- };
1218
- export type FetchInteractionTrace = {
1219
- id: string;
1220
- };
1221
- export type FetchInteractionSpan = {
1222
- id: string;
1223
- };
1224
- export type FetchInteractionTransaction = {
1225
- id: string;
1226
- };
1227
- export type FetchInteractionSessionAuth = {
1228
- id: string;
1229
- scope?: string | undefined;
1230
- codeVerifier?: string | undefined;
1231
- code?: string | undefined;
1232
- state?: string | undefined;
1233
- redirectUri?: string | undefined;
1234
- responseType?: string | undefined;
1235
- clientId?: string | undefined;
1236
- clientSecret?: string | undefined;
1237
- };
1238
- export type FetchInteractionSession = {
1239
- user?: FetchInteractionUser | undefined;
1240
- client?: FetchInteractionClient | undefined;
1241
- device?: FetchInteractionSessionDevice | undefined;
1242
- trace?: FetchInteractionTrace | undefined;
1243
- span?: FetchInteractionSpan | undefined;
1244
- transaction?: FetchInteractionTransaction | undefined;
1245
- auth?: Array<FetchInteractionSessionAuth> | undefined;
1246
- };
1247
- export declare const FetchInteractionConsentType: {
1248
- readonly Rollup: "rollup";
1249
- readonly Explicit: "explicit";
1250
- readonly Implicit: "implicit";
1251
- };
1252
- export type FetchInteractionConsentType = OpenEnum<typeof FetchInteractionConsentType>;
1253
- export type FetchInteractionConsent = {
1254
- type?: FetchInteractionConsentType | undefined;
1255
- id?: string | undefined;
1256
- version?: string | undefined;
1257
- url: string;
1258
- effectiveDate?: string | undefined;
1259
- expiryDate?: string | undefined;
1260
- terms?: string | undefined;
1261
- purpose?: string | undefined;
1262
- legalBasis?: string | undefined;
1263
- jurisdiction?: string | undefined;
1264
- subject?: string | undefined;
1265
- signatory?: string | undefined;
1266
- };
1267
- export type FetchInteractionAccount = {
1268
- /**
1269
- * The type of account, e.g. Bank Account, Building Society
1270
- */
1271
- type: string;
1272
- /**
1273
- * Account number
1274
- */
1275
- accountNumber: string;
1276
- /**
1277
- * UK sort code
1278
- */
1279
- sortCode?: string | undefined;
1280
- /**
1281
- * US ABA routing number
1282
- */
1283
- routingNumber?: string | undefined;
1284
- /**
1285
- * International Bank Account Number
1286
- */
1287
- iban?: string | undefined;
1288
- /**
1289
- * BIC/SWIFT code
1290
- */
1291
- bic?: string | undefined;
1292
- /**
1293
- * Name on the account
1294
- */
1295
- accountHolderName?: string | undefined;
1296
- /**
1297
- * Name of the financial institution
1298
- */
1299
- bankName?: string | undefined;
1300
- /**
1301
- * Country the address is in. It must be a valid ISO2 or ISO3 country code
1302
- */
1303
- country?: string | undefined;
1304
- /**
1305
- * Account classification, e.g. current, savings
1306
- */
1307
- accountType?: string | undefined;
1308
- };
1309
- export type FetchInteractionSubject = {
1310
- identity?: FetchInteractionIdentity | undefined;
1311
- documents?: Array<FetchInteractionDocument> | undefined;
1312
- biometrics?: Array<FetchInteractionBiometric1 | FetchInteractionBiometric2 | FetchInteractionBiometric3 | FetchInteractionBiometric4> | undefined;
1313
- sessions?: Array<FetchInteractionSession> | undefined;
1314
- consent?: Array<FetchInteractionConsent> | undefined;
1315
- accounts?: Array<FetchInteractionAccount> | undefined;
1316
- uid?: string | undefined;
11
+ export declare const FetchInteractionScope: {
12
+ readonly Subject: "subject";
13
+ readonly Reviewer: "reviewer";
1317
14
  };
1318
- export type FetchInteractionContext = {
1319
- subject?: FetchInteractionSubject | undefined;
1320
- };
1321
- export type ResponseBody1 = {
15
+ export type FetchInteractionScope = ClosedEnum<typeof FetchInteractionScope>;
16
+ export type FetchInteractionRequestBody = {
1322
17
  /**
1323
- * Journey instance identifier
18
+ * Journey Instance Id, a unique identifier for a started journey instance.
1324
19
  */
1325
20
  instanceId: string;
21
+ scope?: FetchInteractionScope | undefined;
22
+ [additionalProperties: string]: unknown;
23
+ };
24
+ export type FetchInteractionRequest = {
1326
25
  /**
1327
- * Interaction identifier
26
+ * Response profile. Omit or 'full' for the full response (default, unchanged). 'slim' returns the compact, typed customer-facing shape. Any other value returns 400.
1328
27
  */
1329
- interactionId: string;
1330
- journey: Journey1;
1331
- interaction: Interaction;
1332
- context?: FetchInteractionContext | undefined;
1333
- instructions?: Array<string> | undefined;
1334
- outstanding?: Array<string> | undefined;
28
+ view?: string | undefined;
29
+ body?: FetchInteractionRequestBody | undefined;
1335
30
  };
1336
31
  /**
1337
- * Success
32
+ * Interaction state (full by default; slim with ?view=slim)
1338
33
  */
1339
- export type FetchInteractionResponse = ResponseBody1 | FetchInteractionError | ResponseBody2;
34
+ export type FetchInteractionResponse = models.InteractionFetchResponse | models.SlimInteractionFetchResponse | discriminatedUnionTypes.Unknown<"view">;
1340
35
  /** @internal */
1341
36
  export type FetchInteractionSecurity$Outbound = {
1342
- InteractionAccess: string;
37
+ CustomerAccess?: string | undefined;
38
+ InteractionAccess?: string | undefined;
1343
39
  };
1344
40
  /** @internal */
1345
41
  export declare const FetchInteractionSecurity$outboundSchema: z.ZodMiniType<FetchInteractionSecurity$Outbound, FetchInteractionSecurity>;
1346
42
  export declare function fetchInteractionSecurityToJSON(fetchInteractionSecurity: FetchInteractionSecurity): string;
1347
43
  /** @internal */
1348
- export type FetchInteractionRequest$Outbound = {
44
+ export declare const FetchInteractionScope$outboundSchema: z.ZodMiniEnum<typeof FetchInteractionScope>;
45
+ /** @internal */
46
+ export type FetchInteractionRequestBody$Outbound = {
1349
47
  instanceId: string;
48
+ scope?: string | undefined;
49
+ [additionalProperties: string]: unknown;
1350
50
  };
1351
51
  /** @internal */
1352
- export declare const FetchInteractionRequest$outboundSchema: z.ZodMiniType<FetchInteractionRequest$Outbound, FetchInteractionRequest>;
1353
- export declare function fetchInteractionRequestToJSON(fetchInteractionRequest: FetchInteractionRequest): string;
1354
- /** @internal */
1355
- export declare const JourneyStatus2$inboundSchema: z.ZodMiniType<JourneyStatus2, unknown>;
1356
- /** @internal */
1357
- export declare const Journey2$inboundSchema: z.ZodMiniType<Journey2, unknown>;
1358
- export declare function journey2FromJSON(jsonString: string): SafeParseResult<Journey2, SDKValidationError>;
1359
- /** @internal */
1360
- export declare const ResponseBody2$inboundSchema: z.ZodMiniType<ResponseBody2, unknown>;
1361
- export declare function responseBody2FromJSON(jsonString: string): SafeParseResult<ResponseBody2, SDKValidationError>;
1362
- /** @internal */
1363
- export declare const FetchInteractionStatusError$inboundSchema: z.ZodMiniEnum<typeof FetchInteractionStatusError>;
1364
- /** @internal */
1365
- export declare const FetchInteractionError$inboundSchema: z.ZodMiniType<FetchInteractionError, unknown>;
1366
- export declare function fetchInteractionErrorFromJSON(jsonString: string): SafeParseResult<FetchInteractionError, SDKValidationError>;
1367
- /** @internal */
1368
- export declare const JourneyStatus1$inboundSchema: z.ZodMiniType<JourneyStatus1, unknown>;
1369
- /** @internal */
1370
- export declare const Journey1$inboundSchema: z.ZodMiniType<Journey1, unknown>;
1371
- export declare function journey1FromJSON(jsonString: string): SafeParseResult<Journey1, SDKValidationError>;
1372
- /** @internal */
1373
- export declare const ResourceType$inboundSchema: z.ZodMiniType<ResourceType, unknown>;
1374
- /** @internal */
1375
- export declare const Card$inboundSchema: z.ZodMiniType<Card, unknown>;
1376
- export declare function cardFromJSON(jsonString: string): SafeParseResult<Card, SDKValidationError>;
1377
- /** @internal */
1378
- export declare const Page$inboundSchema: z.ZodMiniType<Page, unknown>;
1379
- export declare function pageFromJSON(jsonString: string): SafeParseResult<Page, SDKValidationError>;
1380
- /** @internal */
1381
- export declare const Data$inboundSchema: z.ZodMiniType<Data, unknown>;
1382
- export declare function dataFromJSON(jsonString: string): SafeParseResult<Data, SDKValidationError>;
1383
- /** @internal */
1384
- export declare const Resource$inboundSchema: z.ZodMiniType<Resource, unknown>;
1385
- export declare function resourceFromJSON(jsonString: string): SafeParseResult<Resource, SDKValidationError>;
1386
- /** @internal */
1387
- export declare const CollectSpec2$inboundSchema: z.ZodMiniType<CollectSpec2, unknown>;
1388
- /** @internal */
1389
- export declare const CollectCombinator$inboundSchema: z.ZodMiniType<CollectCombinator, unknown>;
1390
- /** @internal */
1391
- export declare const CollectInputSpec$inboundSchema: z.ZodMiniType<CollectInputSpec, unknown>;
1392
- /** @internal */
1393
- export declare const CollectInput$inboundSchema: z.ZodMiniType<CollectInput, unknown>;
1394
- export declare function collectInputFromJSON(jsonString: string): SafeParseResult<CollectInput, SDKValidationError>;
1395
- /** @internal */
1396
- export declare const Collect2$inboundSchema: z.ZodMiniType<Collect2, unknown>;
1397
- export declare function collect2FromJSON(jsonString: string): SafeParseResult<Collect2, SDKValidationError>;
1398
- /** @internal */
1399
- export declare const CollectSpec1$inboundSchema: z.ZodMiniType<CollectSpec1, unknown>;
1400
- /** @internal */
1401
- export declare const Collect1$inboundSchema: z.ZodMiniType<Collect1, unknown>;
1402
- export declare function collect1FromJSON(jsonString: string): SafeParseResult<Collect1, SDKValidationError>;
1403
- /** @internal */
1404
- export declare const CollectUnion$inboundSchema: z.ZodMiniType<CollectUnion, unknown>;
1405
- export declare function collectUnionFromJSON(jsonString: string): SafeParseResult<CollectUnion, SDKValidationError>;
1406
- /** @internal */
1407
- export declare const ConsumeSpec2$inboundSchema: z.ZodMiniType<ConsumeSpec2, unknown>;
1408
- /** @internal */
1409
- export declare const ConsumeCombinator$inboundSchema: z.ZodMiniType<ConsumeCombinator, unknown>;
1410
- /** @internal */
1411
- export declare const ConsumeInputSpec$inboundSchema: z.ZodMiniType<ConsumeInputSpec, unknown>;
1412
- /** @internal */
1413
- export declare const ConsumeInput$inboundSchema: z.ZodMiniType<ConsumeInput, unknown>;
1414
- export declare function consumeInputFromJSON(jsonString: string): SafeParseResult<ConsumeInput, SDKValidationError>;
1415
- /** @internal */
1416
- export declare const Consume2$inboundSchema: z.ZodMiniType<Consume2, unknown>;
1417
- export declare function consume2FromJSON(jsonString: string): SafeParseResult<Consume2, SDKValidationError>;
1418
- /** @internal */
1419
- export declare const ConsumeSpec1$inboundSchema: z.ZodMiniType<ConsumeSpec1, unknown>;
1420
- /** @internal */
1421
- export declare const Consume1$inboundSchema: z.ZodMiniType<Consume1, unknown>;
1422
- export declare function consume1FromJSON(jsonString: string): SafeParseResult<Consume1, SDKValidationError>;
1423
- /** @internal */
1424
- export declare const ConsumeUnion$inboundSchema: z.ZodMiniType<ConsumeUnion, unknown>;
1425
- export declare function consumeUnionFromJSON(jsonString: string): SafeParseResult<ConsumeUnion, SDKValidationError>;
1426
- /** @internal */
1427
- export declare const Interaction$inboundSchema: z.ZodMiniType<Interaction, unknown>;
1428
- export declare function interactionFromJSON(jsonString: string): SafeParseResult<Interaction, SDKValidationError>;
1429
- /** @internal */
1430
- export declare const FetchInteractionIdentityAlias$inboundSchema: z.ZodMiniType<FetchInteractionIdentityAlias, unknown>;
1431
- export declare function fetchInteractionIdentityAliasFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentityAlias, SDKValidationError>;
1432
- /** @internal */
1433
- export declare const FetchInteractionIdentityRelationship$inboundSchema: z.ZodMiniType<FetchInteractionIdentityRelationship, unknown>;
1434
- /** @internal */
1435
- export declare const FetchInteractionIdentityRelatedPerson$inboundSchema: z.ZodMiniType<FetchInteractionIdentityRelatedPerson, unknown>;
1436
- export declare function fetchInteractionIdentityRelatedPersonFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentityRelatedPerson, SDKValidationError>;
1437
- /** @internal */
1438
- export declare const FetchInteractionIdentityCurrentAddressLocation$inboundSchema: z.ZodMiniType<FetchInteractionIdentityCurrentAddressLocation, unknown>;
1439
- export declare function fetchInteractionIdentityCurrentAddressLocationFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentityCurrentAddressLocation, SDKValidationError>;
1440
- /** @internal */
1441
- export declare const FetchInteractionIdentityCurrentAddress$inboundSchema: z.ZodMiniType<FetchInteractionIdentityCurrentAddress, unknown>;
1442
- export declare function fetchInteractionIdentityCurrentAddressFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentityCurrentAddress, SDKValidationError>;
1443
- /** @internal */
1444
- export declare const FetchInteractionIdentityPreviousAddressLocation$inboundSchema: z.ZodMiniType<FetchInteractionIdentityPreviousAddressLocation, unknown>;
1445
- export declare function fetchInteractionIdentityPreviousAddressLocationFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentityPreviousAddressLocation, SDKValidationError>;
1446
- /** @internal */
1447
- export declare const FetchInteractionIdentityPreviousAddress$inboundSchema: z.ZodMiniType<FetchInteractionIdentityPreviousAddress, unknown>;
1448
- export declare function fetchInteractionIdentityPreviousAddressFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentityPreviousAddress, SDKValidationError>;
1449
- /** @internal */
1450
- export declare const FetchInteractionIdentityPlaceOfBirthLocation$inboundSchema: z.ZodMiniType<FetchInteractionIdentityPlaceOfBirthLocation, unknown>;
1451
- export declare function fetchInteractionIdentityPlaceOfBirthLocationFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentityPlaceOfBirthLocation, SDKValidationError>;
1452
- /** @internal */
1453
- export declare const FetchInteractionIdentityPlaceOfBirth$inboundSchema: z.ZodMiniType<FetchInteractionIdentityPlaceOfBirth, unknown>;
1454
- export declare function fetchInteractionIdentityPlaceOfBirthFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentityPlaceOfBirth, SDKValidationError>;
1455
- /** @internal */
1456
- export declare const FetchInteractionIdentityIdNumber$inboundSchema: z.ZodMiniType<FetchInteractionIdentityIdNumber, unknown>;
1457
- export declare function fetchInteractionIdentityIdNumberFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentityIdNumber, SDKValidationError>;
1458
- /** @internal */
1459
- export declare const FetchInteractionIdentityPhone$inboundSchema: z.ZodMiniType<FetchInteractionIdentityPhone, unknown>;
1460
- export declare function fetchInteractionIdentityPhoneFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentityPhone, SDKValidationError>;
1461
- /** @internal */
1462
- export declare const FetchInteractionIdentityEmail$inboundSchema: z.ZodMiniType<FetchInteractionIdentityEmail, unknown>;
1463
- export declare function fetchInteractionIdentityEmailFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentityEmail, SDKValidationError>;
1464
- /** @internal */
1465
- export declare const FetchInteractionIdentitySocial$inboundSchema: z.ZodMiniType<FetchInteractionIdentitySocial, unknown>;
1466
- export declare function fetchInteractionIdentitySocialFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentitySocial, SDKValidationError>;
52
+ export declare const FetchInteractionRequestBody$outboundSchema: z.ZodMiniType<FetchInteractionRequestBody$Outbound, FetchInteractionRequestBody>;
53
+ export declare function fetchInteractionRequestBodyToJSON(fetchInteractionRequestBody: FetchInteractionRequestBody): string;
1467
54
  /** @internal */
1468
- export declare const FetchInteractionIdentity$inboundSchema: z.ZodMiniType<FetchInteractionIdentity, unknown>;
1469
- export declare function fetchInteractionIdentityFromJSON(jsonString: string): SafeParseResult<FetchInteractionIdentity, SDKValidationError>;
1470
- /** @internal */
1471
- export declare const FetchInteractionAddress$inboundSchema: z.ZodMiniType<FetchInteractionAddress, unknown>;
1472
- export declare function fetchInteractionAddressFromJSON(jsonString: string): SafeParseResult<FetchInteractionAddress, SDKValidationError>;
1473
- /** @internal */
1474
- export declare const FetchInteractionDocumentDevice$inboundSchema: z.ZodMiniType<FetchInteractionDocumentDevice, unknown>;
1475
- export declare function fetchInteractionDocumentDeviceFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentDevice, SDKValidationError>;
1476
- /** @internal */
1477
- export declare const FetchInteractionName$inboundSchema: z.ZodMiniType<FetchInteractionName, unknown>;
1478
- /** @internal */
1479
- export declare const FetchInteractionLd$inboundSchema: z.ZodMiniType<FetchInteractionLd, unknown>;
1480
- export declare function fetchInteractionLdFromJSON(jsonString: string): SafeParseResult<FetchInteractionLd, SDKValidationError>;
1481
- /** @internal */
1482
- export declare const FetchInteractionAuthType$inboundSchema: z.ZodMiniType<FetchInteractionAuthType, unknown>;
1483
- /** @internal */
1484
- export declare const FetchInteractionResult$inboundSchema: z.ZodMiniType<FetchInteractionResult, unknown>;
1485
- /** @internal */
1486
- export declare const FetchInteractionChipAuth$inboundSchema: z.ZodMiniType<FetchInteractionChipAuth, unknown>;
1487
- export declare function fetchInteractionChipAuthFromJSON(jsonString: string): SafeParseResult<FetchInteractionChipAuth, SDKValidationError>;
1488
- /** @internal */
1489
- export declare const FetchInteractionChip$inboundSchema: z.ZodMiniType<FetchInteractionChip, unknown>;
1490
- export declare function fetchInteractionChipFromJSON(jsonString: string): SafeParseResult<FetchInteractionChip, SDKValidationError>;
1491
- /** @internal */
1492
- export declare const FetchInteractionSide$inboundSchema: z.ZodMiniType<FetchInteractionSide, unknown>;
1493
- export declare function fetchInteractionSideFromJSON(jsonString: string): SafeParseResult<FetchInteractionSide, SDKValidationError>;
1494
- /** @internal */
1495
- export declare const FetchInteractionClassification$inboundSchema: z.ZodMiniType<FetchInteractionClassification, unknown>;
1496
- export declare function fetchInteractionClassificationFromJSON(jsonString: string): SafeParseResult<FetchInteractionClassification, SDKValidationError>;
1497
- /** @internal */
1498
- export declare const FetchInteractionAggregatedFieldBoundingBox$inboundSchema: z.ZodMiniType<FetchInteractionAggregatedFieldBoundingBox, unknown>;
1499
- export declare function fetchInteractionAggregatedFieldBoundingBoxFromJSON(jsonString: string): SafeParseResult<FetchInteractionAggregatedFieldBoundingBox, SDKValidationError>;
1500
- /** @internal */
1501
- export declare const FetchInteractionAggregatedFieldRegionOfInterest$inboundSchema: z.ZodMiniType<FetchInteractionAggregatedFieldRegionOfInterest, unknown>;
1502
- export declare function fetchInteractionAggregatedFieldRegionOfInterestFromJSON(jsonString: string): SafeParseResult<FetchInteractionAggregatedFieldRegionOfInterest, SDKValidationError>;
1503
- /** @internal */
1504
- export declare const FetchInteractionAggregatedField$inboundSchema: z.ZodMiniType<FetchInteractionAggregatedField, unknown>;
1505
- export declare function fetchInteractionAggregatedFieldFromJSON(jsonString: string): SafeParseResult<FetchInteractionAggregatedField, SDKValidationError>;
1506
- /** @internal */
1507
- export declare const FetchInteractionDetailBoundingBox$inboundSchema: z.ZodMiniType<FetchInteractionDetailBoundingBox, unknown>;
1508
- export declare function fetchInteractionDetailBoundingBoxFromJSON(jsonString: string): SafeParseResult<FetchInteractionDetailBoundingBox, SDKValidationError>;
1509
- /** @internal */
1510
- export declare const FetchInteractionDetailRegionOfInterest$inboundSchema: z.ZodMiniType<FetchInteractionDetailRegionOfInterest, unknown>;
1511
- export declare function fetchInteractionDetailRegionOfInterestFromJSON(jsonString: string): SafeParseResult<FetchInteractionDetailRegionOfInterest, SDKValidationError>;
1512
- /** @internal */
1513
- export declare const FetchInteractionDetail$inboundSchema: z.ZodMiniType<FetchInteractionDetail, unknown>;
1514
- export declare function fetchInteractionDetailFromJSON(jsonString: string): SafeParseResult<FetchInteractionDetail, SDKValidationError>;
1515
- /** @internal */
1516
- export declare const FetchInteractionExtractedField$inboundSchema: z.ZodMiniType<FetchInteractionExtractedField, unknown>;
1517
- export declare function fetchInteractionExtractedFieldFromJSON(jsonString: string): SafeParseResult<FetchInteractionExtractedField, SDKValidationError>;
1518
- /** @internal */
1519
- export declare const FetchInteractionExtractedImage$inboundSchema: z.ZodMiniType<FetchInteractionExtractedImage, unknown>;
1520
- export declare function fetchInteractionExtractedImageFromJSON(jsonString: string): SafeParseResult<FetchInteractionExtractedImage, SDKValidationError>;
1521
- /** @internal */
1522
- export declare const FetchInteractionExtraction$inboundSchema: z.ZodMiniType<FetchInteractionExtraction, unknown>;
1523
- export declare function fetchInteractionExtractionFromJSON(jsonString: string): SafeParseResult<FetchInteractionExtraction, SDKValidationError>;
1524
- /** @internal */
1525
- export declare const FetchInteractionValidationCheckBoundingBox$inboundSchema: z.ZodMiniType<FetchInteractionValidationCheckBoundingBox, unknown>;
1526
- export declare function fetchInteractionValidationCheckBoundingBoxFromJSON(jsonString: string): SafeParseResult<FetchInteractionValidationCheckBoundingBox, SDKValidationError>;
1527
- /** @internal */
1528
- export declare const FetchInteractionValidationCheckRegionOfInterest$inboundSchema: z.ZodMiniType<FetchInteractionValidationCheckRegionOfInterest, unknown>;
1529
- export declare function fetchInteractionValidationCheckRegionOfInterestFromJSON(jsonString: string): SafeParseResult<FetchInteractionValidationCheckRegionOfInterest, SDKValidationError>;
1530
- /** @internal */
1531
- export declare const FetchInteractionValidationCheck$inboundSchema: z.ZodMiniType<FetchInteractionValidationCheck, unknown>;
1532
- export declare function fetchInteractionValidationCheckFromJSON(jsonString: string): SafeParseResult<FetchInteractionValidationCheck, SDKValidationError>;
1533
- /** @internal */
1534
- export declare const FetchInteractionAggregatedValidationCheckBoundingBox$inboundSchema: z.ZodMiniType<FetchInteractionAggregatedValidationCheckBoundingBox, unknown>;
1535
- export declare function fetchInteractionAggregatedValidationCheckBoundingBoxFromJSON(jsonString: string): SafeParseResult<FetchInteractionAggregatedValidationCheckBoundingBox, SDKValidationError>;
1536
- /** @internal */
1537
- export declare const FetchInteractionAggregatedValidationCheckRegionOfInterest$inboundSchema: z.ZodMiniType<FetchInteractionAggregatedValidationCheckRegionOfInterest, unknown>;
1538
- export declare function fetchInteractionAggregatedValidationCheckRegionOfInterestFromJSON(jsonString: string): SafeParseResult<FetchInteractionAggregatedValidationCheckRegionOfInterest, SDKValidationError>;
1539
- /** @internal */
1540
- export declare const FetchInteractionAggregatedValidationCheck$inboundSchema: z.ZodMiniType<FetchInteractionAggregatedValidationCheck, unknown>;
1541
- export declare function fetchInteractionAggregatedValidationCheckFromJSON(jsonString: string): SafeParseResult<FetchInteractionAggregatedValidationCheck, SDKValidationError>;
1542
- /** @internal */
1543
- export declare const FetchInteractionValidation$inboundSchema: z.ZodMiniType<FetchInteractionValidation, unknown>;
1544
- export declare function fetchInteractionValidationFromJSON(jsonString: string): SafeParseResult<FetchInteractionValidation, SDKValidationError>;
1545
- /** @internal */
1546
- export declare const FetchInteractionDocumentAlias$inboundSchema: z.ZodMiniType<FetchInteractionDocumentAlias, unknown>;
1547
- export declare function fetchInteractionDocumentAliasFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentAlias, SDKValidationError>;
1548
- /** @internal */
1549
- export declare const FetchInteractionDocumentRelationship$inboundSchema: z.ZodMiniType<FetchInteractionDocumentRelationship, unknown>;
1550
- /** @internal */
1551
- export declare const FetchInteractionDocumentRelatedPerson$inboundSchema: z.ZodMiniType<FetchInteractionDocumentRelatedPerson, unknown>;
1552
- export declare function fetchInteractionDocumentRelatedPersonFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentRelatedPerson, SDKValidationError>;
1553
- /** @internal */
1554
- export declare const FetchInteractionDocumentCurrentAddressLocation$inboundSchema: z.ZodMiniType<FetchInteractionDocumentCurrentAddressLocation, unknown>;
1555
- export declare function fetchInteractionDocumentCurrentAddressLocationFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentCurrentAddressLocation, SDKValidationError>;
1556
- /** @internal */
1557
- export declare const FetchInteractionDocumentCurrentAddress$inboundSchema: z.ZodMiniType<FetchInteractionDocumentCurrentAddress, unknown>;
1558
- export declare function fetchInteractionDocumentCurrentAddressFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentCurrentAddress, SDKValidationError>;
1559
- /** @internal */
1560
- export declare const FetchInteractionDocumentPreviousAddressLocation$inboundSchema: z.ZodMiniType<FetchInteractionDocumentPreviousAddressLocation, unknown>;
1561
- export declare function fetchInteractionDocumentPreviousAddressLocationFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentPreviousAddressLocation, SDKValidationError>;
1562
- /** @internal */
1563
- export declare const FetchInteractionDocumentPreviousAddress$inboundSchema: z.ZodMiniType<FetchInteractionDocumentPreviousAddress, unknown>;
1564
- export declare function fetchInteractionDocumentPreviousAddressFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentPreviousAddress, SDKValidationError>;
1565
- /** @internal */
1566
- export declare const FetchInteractionDocumentPlaceOfBirthLocation$inboundSchema: z.ZodMiniType<FetchInteractionDocumentPlaceOfBirthLocation, unknown>;
1567
- export declare function fetchInteractionDocumentPlaceOfBirthLocationFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentPlaceOfBirthLocation, SDKValidationError>;
1568
- /** @internal */
1569
- export declare const FetchInteractionDocumentPlaceOfBirth$inboundSchema: z.ZodMiniType<FetchInteractionDocumentPlaceOfBirth, unknown>;
1570
- export declare function fetchInteractionDocumentPlaceOfBirthFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentPlaceOfBirth, SDKValidationError>;
1571
- /** @internal */
1572
- export declare const FetchInteractionDocumentIdNumber$inboundSchema: z.ZodMiniType<FetchInteractionDocumentIdNumber, unknown>;
1573
- export declare function fetchInteractionDocumentIdNumberFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentIdNumber, SDKValidationError>;
1574
- /** @internal */
1575
- export declare const FetchInteractionDocumentPhone$inboundSchema: z.ZodMiniType<FetchInteractionDocumentPhone, unknown>;
1576
- export declare function fetchInteractionDocumentPhoneFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentPhone, SDKValidationError>;
1577
- /** @internal */
1578
- export declare const FetchInteractionDocumentEmail$inboundSchema: z.ZodMiniType<FetchInteractionDocumentEmail, unknown>;
1579
- export declare function fetchInteractionDocumentEmailFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentEmail, SDKValidationError>;
1580
- /** @internal */
1581
- export declare const FetchInteractionDocumentSocial$inboundSchema: z.ZodMiniType<FetchInteractionDocumentSocial, unknown>;
1582
- export declare function fetchInteractionDocumentSocialFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentSocial, SDKValidationError>;
1583
- /** @internal */
1584
- export declare const FetchInteractionDocumentSubject$inboundSchema: z.ZodMiniType<FetchInteractionDocumentSubject, unknown>;
1585
- export declare function fetchInteractionDocumentSubjectFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocumentSubject, SDKValidationError>;
1586
- /** @internal */
1587
- export declare const FetchInteractionDocument$inboundSchema: z.ZodMiniType<FetchInteractionDocument, unknown>;
1588
- export declare function fetchInteractionDocumentFromJSON(jsonString: string): SafeParseResult<FetchInteractionDocument, SDKValidationError>;
1589
- /** @internal */
1590
- export declare const FetchInteractionBiometric4$inboundSchema: z.ZodMiniType<FetchInteractionBiometric4, unknown>;
1591
- export declare function fetchInteractionBiometric4FromJSON(jsonString: string): SafeParseResult<FetchInteractionBiometric4, SDKValidationError>;
1592
- /** @internal */
1593
- export declare const FetchInteractionBiometric3$inboundSchema: z.ZodMiniType<FetchInteractionBiometric3, unknown>;
1594
- export declare function fetchInteractionBiometric3FromJSON(jsonString: string): SafeParseResult<FetchInteractionBiometric3, SDKValidationError>;
1595
- /** @internal */
1596
- export declare const FetchInteractionBiometric2$inboundSchema: z.ZodMiniType<FetchInteractionBiometric2, unknown>;
1597
- export declare function fetchInteractionBiometric2FromJSON(jsonString: string): SafeParseResult<FetchInteractionBiometric2, SDKValidationError>;
1598
- /** @internal */
1599
- export declare const FetchInteractionBiometric1$inboundSchema: z.ZodMiniType<FetchInteractionBiometric1, unknown>;
1600
- export declare function fetchInteractionBiometric1FromJSON(jsonString: string): SafeParseResult<FetchInteractionBiometric1, SDKValidationError>;
1601
- /** @internal */
1602
- export declare const FetchInteractionBiometricUnion$inboundSchema: z.ZodMiniType<FetchInteractionBiometricUnion, unknown>;
1603
- export declare function fetchInteractionBiometricUnionFromJSON(jsonString: string): SafeParseResult<FetchInteractionBiometricUnion, SDKValidationError>;
1604
- /** @internal */
1605
- export declare const FetchInteractionUser$inboundSchema: z.ZodMiniType<FetchInteractionUser, unknown>;
1606
- export declare function fetchInteractionUserFromJSON(jsonString: string): SafeParseResult<FetchInteractionUser, SDKValidationError>;
1607
- /** @internal */
1608
- export declare const FetchInteractionClient$inboundSchema: z.ZodMiniType<FetchInteractionClient, unknown>;
1609
- export declare function fetchInteractionClientFromJSON(jsonString: string): SafeParseResult<FetchInteractionClient, SDKValidationError>;
1610
- /** @internal */
1611
- export declare const FetchInteractionModel$inboundSchema: z.ZodMiniType<FetchInteractionModel, unknown>;
1612
- export declare function fetchInteractionModelFromJSON(jsonString: string): SafeParseResult<FetchInteractionModel, SDKValidationError>;
1613
- /** @internal */
1614
- export declare const FetchInteractionSessionDevice$inboundSchema: z.ZodMiniType<FetchInteractionSessionDevice, unknown>;
1615
- export declare function fetchInteractionSessionDeviceFromJSON(jsonString: string): SafeParseResult<FetchInteractionSessionDevice, SDKValidationError>;
1616
- /** @internal */
1617
- export declare const FetchInteractionTrace$inboundSchema: z.ZodMiniType<FetchInteractionTrace, unknown>;
1618
- export declare function fetchInteractionTraceFromJSON(jsonString: string): SafeParseResult<FetchInteractionTrace, SDKValidationError>;
1619
- /** @internal */
1620
- export declare const FetchInteractionSpan$inboundSchema: z.ZodMiniType<FetchInteractionSpan, unknown>;
1621
- export declare function fetchInteractionSpanFromJSON(jsonString: string): SafeParseResult<FetchInteractionSpan, SDKValidationError>;
1622
- /** @internal */
1623
- export declare const FetchInteractionTransaction$inboundSchema: z.ZodMiniType<FetchInteractionTransaction, unknown>;
1624
- export declare function fetchInteractionTransactionFromJSON(jsonString: string): SafeParseResult<FetchInteractionTransaction, SDKValidationError>;
1625
- /** @internal */
1626
- export declare const FetchInteractionSessionAuth$inboundSchema: z.ZodMiniType<FetchInteractionSessionAuth, unknown>;
1627
- export declare function fetchInteractionSessionAuthFromJSON(jsonString: string): SafeParseResult<FetchInteractionSessionAuth, SDKValidationError>;
1628
- /** @internal */
1629
- export declare const FetchInteractionSession$inboundSchema: z.ZodMiniType<FetchInteractionSession, unknown>;
1630
- export declare function fetchInteractionSessionFromJSON(jsonString: string): SafeParseResult<FetchInteractionSession, SDKValidationError>;
1631
- /** @internal */
1632
- export declare const FetchInteractionConsentType$inboundSchema: z.ZodMiniType<FetchInteractionConsentType, unknown>;
1633
- /** @internal */
1634
- export declare const FetchInteractionConsent$inboundSchema: z.ZodMiniType<FetchInteractionConsent, unknown>;
1635
- export declare function fetchInteractionConsentFromJSON(jsonString: string): SafeParseResult<FetchInteractionConsent, SDKValidationError>;
1636
- /** @internal */
1637
- export declare const FetchInteractionAccount$inboundSchema: z.ZodMiniType<FetchInteractionAccount, unknown>;
1638
- export declare function fetchInteractionAccountFromJSON(jsonString: string): SafeParseResult<FetchInteractionAccount, SDKValidationError>;
1639
- /** @internal */
1640
- export declare const FetchInteractionSubject$inboundSchema: z.ZodMiniType<FetchInteractionSubject, unknown>;
1641
- export declare function fetchInteractionSubjectFromJSON(jsonString: string): SafeParseResult<FetchInteractionSubject, SDKValidationError>;
1642
- /** @internal */
1643
- export declare const FetchInteractionContext$inboundSchema: z.ZodMiniType<FetchInteractionContext, unknown>;
1644
- export declare function fetchInteractionContextFromJSON(jsonString: string): SafeParseResult<FetchInteractionContext, SDKValidationError>;
55
+ export type FetchInteractionRequest$Outbound = {
56
+ view?: string | undefined;
57
+ body?: FetchInteractionRequestBody$Outbound | undefined;
58
+ };
1645
59
  /** @internal */
1646
- export declare const ResponseBody1$inboundSchema: z.ZodMiniType<ResponseBody1, unknown>;
1647
- export declare function responseBody1FromJSON(jsonString: string): SafeParseResult<ResponseBody1, SDKValidationError>;
60
+ export declare const FetchInteractionRequest$outboundSchema: z.ZodMiniType<FetchInteractionRequest$Outbound, FetchInteractionRequest>;
61
+ export declare function fetchInteractionRequestToJSON(fetchInteractionRequest: FetchInteractionRequest): string;
1648
62
  /** @internal */
1649
63
  export declare const FetchInteractionResponse$inboundSchema: z.ZodMiniType<FetchInteractionResponse, unknown>;
1650
64
  export declare function fetchInteractionResponseFromJSON(jsonString: string): SafeParseResult<FetchInteractionResponse, SDKValidationError>;