@epilot/sdk 2.4.3 → 2.4.4-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/README.md +1 -0
  2. package/definitions/app-runtime.json +1 -1
  3. package/definitions/app.json +346 -10
  4. package/definitions/calendar-runtime.json +1 -0
  5. package/definitions/calendar.json +675 -0
  6. package/definitions/customer-portal.json +29 -0
  7. package/definitions/notes.json +175 -130
  8. package/definitions/pricing.json +5 -1
  9. package/dist/README-46VYEGGW.js +7 -0
  10. package/dist/README-IVBISSWB.cjs +7 -0
  11. package/dist/{_index-HE4B6FOA.js → _index-5FB6F5YY.js} +3 -0
  12. package/dist/{_index-55HAH24D.cjs → _index-DB2VV4PQ.cjs} +4 -1
  13. package/dist/apis/_registry.d.ts +8 -0
  14. package/dist/apis/access-token.cjs +6 -6
  15. package/dist/apis/access-token.d.ts +9 -12
  16. package/dist/apis/access-token.js +1 -1
  17. package/dist/apis/address-suggestions.cjs +6 -6
  18. package/dist/apis/address-suggestions.d.ts +9 -12
  19. package/dist/apis/address-suggestions.js +1 -1
  20. package/dist/apis/address.cjs +6 -6
  21. package/dist/apis/address.d.ts +9 -12
  22. package/dist/apis/address.js +1 -1
  23. package/dist/apis/ai-agents.cjs +6 -6
  24. package/dist/apis/ai-agents.d.ts +9 -12
  25. package/dist/apis/ai-agents.js +1 -1
  26. package/dist/apis/app.cjs +6 -6
  27. package/dist/apis/app.d.ts +9 -12
  28. package/dist/apis/app.js +1 -1
  29. package/dist/apis/audit-logs.cjs +6 -6
  30. package/dist/apis/audit-logs.d.ts +9 -12
  31. package/dist/apis/audit-logs.js +1 -1
  32. package/dist/apis/automation.cjs +6 -6
  33. package/dist/apis/automation.d.ts +9 -12
  34. package/dist/apis/automation.js +1 -1
  35. package/dist/apis/billing.cjs +6 -6
  36. package/dist/apis/billing.d.ts +9 -12
  37. package/dist/apis/billing.js +1 -1
  38. package/dist/apis/blueprint-manifest.cjs +6 -6
  39. package/dist/apis/blueprint-manifest.d.ts +9 -12
  40. package/dist/apis/blueprint-manifest.js +1 -1
  41. package/dist/apis/calendar.cjs +38 -0
  42. package/dist/apis/calendar.d.ts +15 -0
  43. package/dist/apis/calendar.js +38 -0
  44. package/dist/apis/configuration-hub.cjs +6 -6
  45. package/dist/apis/configuration-hub.d.ts +9 -12
  46. package/dist/apis/configuration-hub.js +1 -1
  47. package/dist/apis/consent.cjs +6 -6
  48. package/dist/apis/consent.d.ts +9 -12
  49. package/dist/apis/consent.js +1 -1
  50. package/dist/apis/customer-portal.cjs +6 -6
  51. package/dist/apis/customer-portal.d.ts +9 -12
  52. package/dist/apis/customer-portal.js +1 -1
  53. package/dist/apis/dashboard.cjs +6 -6
  54. package/dist/apis/dashboard.d.ts +9 -12
  55. package/dist/apis/dashboard.js +1 -1
  56. package/dist/apis/data-governance.cjs +6 -6
  57. package/dist/apis/data-governance.d.ts +9 -12
  58. package/dist/apis/data-governance.js +1 -1
  59. package/dist/apis/deduplication.cjs +6 -6
  60. package/dist/apis/deduplication.d.ts +9 -12
  61. package/dist/apis/deduplication.js +1 -1
  62. package/dist/apis/design.cjs +6 -6
  63. package/dist/apis/design.d.ts +9 -12
  64. package/dist/apis/design.js +1 -1
  65. package/dist/apis/document.cjs +6 -6
  66. package/dist/apis/document.d.ts +9 -12
  67. package/dist/apis/document.js +1 -1
  68. package/dist/apis/email-settings.cjs +6 -6
  69. package/dist/apis/email-settings.d.ts +9 -12
  70. package/dist/apis/email-settings.js +1 -1
  71. package/dist/apis/email-template.cjs +6 -6
  72. package/dist/apis/email-template.d.ts +9 -12
  73. package/dist/apis/email-template.js +1 -1
  74. package/dist/apis/entity-mapping.cjs +6 -6
  75. package/dist/apis/entity-mapping.d.ts +9 -12
  76. package/dist/apis/entity-mapping.js +1 -1
  77. package/dist/apis/entity.cjs +6 -6
  78. package/dist/apis/entity.d.ts +9 -12
  79. package/dist/apis/entity.js +1 -1
  80. package/dist/apis/environments.cjs +6 -6
  81. package/dist/apis/environments.d.ts +9 -12
  82. package/dist/apis/environments.js +1 -1
  83. package/dist/apis/event-catalog.cjs +6 -6
  84. package/dist/apis/event-catalog.d.ts +9 -12
  85. package/dist/apis/event-catalog.js +1 -1
  86. package/dist/apis/file.cjs +6 -6
  87. package/dist/apis/file.d.ts +9 -12
  88. package/dist/apis/file.js +1 -1
  89. package/dist/apis/iban.cjs +6 -6
  90. package/dist/apis/iban.d.ts +9 -12
  91. package/dist/apis/iban.js +1 -1
  92. package/dist/apis/integration-toolkit.cjs +6 -6
  93. package/dist/apis/integration-toolkit.d.ts +9 -12
  94. package/dist/apis/integration-toolkit.js +1 -1
  95. package/dist/apis/journey.cjs +6 -6
  96. package/dist/apis/journey.d.ts +9 -12
  97. package/dist/apis/journey.js +1 -1
  98. package/dist/apis/kanban.cjs +6 -6
  99. package/dist/apis/kanban.d.ts +9 -12
  100. package/dist/apis/kanban.js +1 -1
  101. package/dist/apis/message.cjs +6 -6
  102. package/dist/apis/message.d.ts +9 -12
  103. package/dist/apis/message.js +1 -1
  104. package/dist/apis/metering.cjs +6 -6
  105. package/dist/apis/metering.d.ts +9 -12
  106. package/dist/apis/metering.js +1 -1
  107. package/dist/apis/notes.cjs +6 -6
  108. package/dist/apis/notes.d.ts +9 -12
  109. package/dist/apis/notes.js +1 -1
  110. package/dist/apis/notification.cjs +6 -6
  111. package/dist/apis/notification.d.ts +9 -12
  112. package/dist/apis/notification.js +1 -1
  113. package/dist/apis/organization.cjs +6 -6
  114. package/dist/apis/organization.d.ts +9 -12
  115. package/dist/apis/organization.js +1 -1
  116. package/dist/apis/partner-directory.cjs +6 -6
  117. package/dist/apis/partner-directory.d.ts +9 -12
  118. package/dist/apis/partner-directory.js +1 -1
  119. package/dist/apis/permissions.cjs +6 -6
  120. package/dist/apis/permissions.d.ts +9 -12
  121. package/dist/apis/permissions.js +1 -1
  122. package/dist/apis/pricing-tier.cjs +6 -6
  123. package/dist/apis/pricing-tier.d.ts +9 -12
  124. package/dist/apis/pricing-tier.js +1 -1
  125. package/dist/apis/pricing.cjs +6 -6
  126. package/dist/apis/pricing.d.ts +9 -12
  127. package/dist/apis/pricing.js +1 -1
  128. package/dist/apis/purpose.cjs +6 -6
  129. package/dist/apis/purpose.d.ts +9 -12
  130. package/dist/apis/purpose.js +1 -1
  131. package/dist/apis/query.cjs +6 -6
  132. package/dist/apis/query.d.ts +9 -12
  133. package/dist/apis/query.js +1 -1
  134. package/dist/apis/sandbox.cjs +6 -6
  135. package/dist/apis/sandbox.d.ts +9 -12
  136. package/dist/apis/sandbox.js +1 -1
  137. package/dist/apis/sharing.cjs +6 -6
  138. package/dist/apis/sharing.d.ts +9 -12
  139. package/dist/apis/sharing.js +1 -1
  140. package/dist/apis/submission.cjs +6 -6
  141. package/dist/apis/submission.d.ts +9 -12
  142. package/dist/apis/submission.js +1 -1
  143. package/dist/apis/target.cjs +6 -6
  144. package/dist/apis/target.d.ts +9 -591
  145. package/dist/apis/target.js +1 -1
  146. package/dist/apis/targeting.cjs +6 -6
  147. package/dist/apis/targeting.d.ts +9 -12
  148. package/dist/apis/targeting.js +1 -1
  149. package/dist/apis/template-variables.cjs +6 -6
  150. package/dist/apis/template-variables.d.ts +9 -12
  151. package/dist/apis/template-variables.js +1 -1
  152. package/dist/apis/user.cjs +6 -6
  153. package/dist/apis/user.d.ts +9 -12
  154. package/dist/apis/user.js +1 -1
  155. package/dist/apis/validation-rules.cjs +6 -6
  156. package/dist/apis/validation-rules.d.ts +9 -12
  157. package/dist/apis/validation-rules.js +1 -1
  158. package/dist/apis/webhooks.cjs +6 -6
  159. package/dist/apis/webhooks.d.ts +9 -12
  160. package/dist/apis/webhooks.js +1 -1
  161. package/dist/apis/workflow-definition.cjs +6 -6
  162. package/dist/apis/workflow-definition.d.ts +9 -12
  163. package/dist/apis/workflow-definition.js +1 -1
  164. package/dist/apis/workflow.cjs +6 -6
  165. package/dist/apis/workflow.d.ts +9 -12
  166. package/dist/apis/workflow.js +1 -1
  167. package/dist/authorize.d.ts +3 -0
  168. package/dist/bin/cli.d.ts +1 -0
  169. package/dist/bin/cli.js +1 -1
  170. package/dist/calendar-2YDAYG7S.cjs +7 -0
  171. package/dist/calendar-ACFIHQ2N.js +7 -0
  172. package/dist/calendar-runtime-6CMMEQMG.js +5 -0
  173. package/dist/calendar-runtime-G4SN5PDY.cjs +5 -0
  174. package/dist/{chunk-AM5TSEMU.cjs → chunk-CD4OX2U6.cjs} +4 -2
  175. package/dist/chunk-CKLEBO4K.cjs +14 -0
  176. package/dist/chunk-JNH37UUH.js +14 -0
  177. package/dist/{chunk-M25MI6ZX.js → chunk-TSV242UN.js} +4 -2
  178. package/dist/client-factory.d.ts +9 -0
  179. package/dist/client-map.d.ts +102 -0
  180. package/dist/compact.d.ts +22 -0
  181. package/dist/help.d.ts +12 -0
  182. package/dist/index.cjs +25 -17
  183. package/dist/index.d.ts +12 -180
  184. package/dist/index.js +21 -13
  185. package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
  186. package/dist/large-response.d.ts +9 -0
  187. package/dist/openapi.d.ts +12 -0
  188. package/dist/overrides.d.ts +9 -0
  189. package/dist/proxy.d.ts +14 -0
  190. package/dist/registry.d.ts +19 -0
  191. package/dist/retry.d.ts +11 -0
  192. package/dist/sdk.d.ts +29 -0
  193. package/dist/types.d.ts +53 -0
  194. package/docs/calendar.md +441 -0
  195. package/package.json +10 -1
  196. package/dist/README-6MG272KM.cjs +0 -7
  197. package/dist/README-7N542PBL.js +0 -7
  198. package/dist/access-token.d-CnmUTOlq.d.cts +0 -552
  199. package/dist/access-token.d-CnmUTOlq.d.ts +0 -552
  200. package/dist/address-suggestions.d-_YwTOR-9.d.cts +0 -339
  201. package/dist/address-suggestions.d-_YwTOR-9.d.ts +0 -339
  202. package/dist/address.d-CwAPOVxa.d.cts +0 -437
  203. package/dist/address.d-CwAPOVxa.d.ts +0 -437
  204. package/dist/ai-agents.d-OkXfr2bz.d.cts +0 -1339
  205. package/dist/ai-agents.d-OkXfr2bz.d.ts +0 -1339
  206. package/dist/apis/access-token.d.cts +0 -18
  207. package/dist/apis/address-suggestions.d.cts +0 -18
  208. package/dist/apis/address.d.cts +0 -18
  209. package/dist/apis/ai-agents.d.cts +0 -18
  210. package/dist/apis/app.d.cts +0 -18
  211. package/dist/apis/audit-logs.d.cts +0 -18
  212. package/dist/apis/automation.d.cts +0 -18
  213. package/dist/apis/billing.d.cts +0 -18
  214. package/dist/apis/blueprint-manifest.d.cts +0 -18
  215. package/dist/apis/configuration-hub.d.cts +0 -18
  216. package/dist/apis/consent.d.cts +0 -18
  217. package/dist/apis/customer-portal.d.cts +0 -18
  218. package/dist/apis/dashboard.d.cts +0 -18
  219. package/dist/apis/data-governance.d.cts +0 -18
  220. package/dist/apis/deduplication.d.cts +0 -18
  221. package/dist/apis/design.d.cts +0 -18
  222. package/dist/apis/document.d.cts +0 -18
  223. package/dist/apis/email-settings.d.cts +0 -18
  224. package/dist/apis/email-template.d.cts +0 -18
  225. package/dist/apis/entity-mapping.d.cts +0 -18
  226. package/dist/apis/entity.d.cts +0 -18
  227. package/dist/apis/environments.d.cts +0 -18
  228. package/dist/apis/event-catalog.d.cts +0 -18
  229. package/dist/apis/file.d.cts +0 -18
  230. package/dist/apis/iban.d.cts +0 -18
  231. package/dist/apis/integration-toolkit.d.cts +0 -18
  232. package/dist/apis/journey.d.cts +0 -18
  233. package/dist/apis/kanban.d.cts +0 -18
  234. package/dist/apis/message.d.cts +0 -18
  235. package/dist/apis/metering.d.cts +0 -18
  236. package/dist/apis/notes.d.cts +0 -18
  237. package/dist/apis/notification.d.cts +0 -18
  238. package/dist/apis/organization.d.cts +0 -18
  239. package/dist/apis/partner-directory.d.cts +0 -18
  240. package/dist/apis/permissions.d.cts +0 -18
  241. package/dist/apis/pricing-tier.d.cts +0 -18
  242. package/dist/apis/pricing.d.cts +0 -18
  243. package/dist/apis/purpose.d.cts +0 -18
  244. package/dist/apis/query.d.cts +0 -18
  245. package/dist/apis/sandbox.d.cts +0 -18
  246. package/dist/apis/sharing.d.cts +0 -18
  247. package/dist/apis/submission.d.cts +0 -18
  248. package/dist/apis/target.d.cts +0 -597
  249. package/dist/apis/targeting.d.cts +0 -18
  250. package/dist/apis/template-variables.d.cts +0 -18
  251. package/dist/apis/user.d.cts +0 -18
  252. package/dist/apis/validation-rules.d.cts +0 -18
  253. package/dist/apis/webhooks.d.cts +0 -18
  254. package/dist/apis/workflow-definition.d.cts +0 -18
  255. package/dist/apis/workflow.d.cts +0 -18
  256. package/dist/app.d-u7Dq42kU.d.cts +0 -3391
  257. package/dist/app.d-u7Dq42kU.d.ts +0 -3391
  258. package/dist/audit-logs.d-BRToFqeX.d.cts +0 -287
  259. package/dist/audit-logs.d-BRToFqeX.d.ts +0 -287
  260. package/dist/automation.d-Du6-uiz5.d.cts +0 -5283
  261. package/dist/automation.d-Du6-uiz5.d.ts +0 -5283
  262. package/dist/billing.d-Bs8Ku9qE.d.cts +0 -993
  263. package/dist/billing.d-Bs8Ku9qE.d.ts +0 -993
  264. package/dist/blueprint-manifest.d-BPyzoR0X.d.cts +0 -4343
  265. package/dist/blueprint-manifest.d-BPyzoR0X.d.ts +0 -4343
  266. package/dist/configuration-hub.d-Cqaq2F-W.d.cts +0 -478
  267. package/dist/configuration-hub.d-Cqaq2F-W.d.ts +0 -478
  268. package/dist/consent.d-C2PROHhX.d.cts +0 -265
  269. package/dist/consent.d-C2PROHhX.d.ts +0 -265
  270. package/dist/customer-portal.d-DyZ2n2dW.d.cts +0 -16728
  271. package/dist/customer-portal.d-DyZ2n2dW.d.ts +0 -16728
  272. package/dist/dashboard.d-CsGcA74I.d.cts +0 -440
  273. package/dist/dashboard.d-CsGcA74I.d.ts +0 -440
  274. package/dist/data-governance.d-BbZ466j5.d.cts +0 -1178
  275. package/dist/data-governance.d-BbZ466j5.d.ts +0 -1178
  276. package/dist/deduplication.d-D5GYddVu.d.cts +0 -218
  277. package/dist/deduplication.d-D5GYddVu.d.ts +0 -218
  278. package/dist/design.d-BRre8iLg.d.cts +0 -2346
  279. package/dist/design.d-BRre8iLg.d.ts +0 -2346
  280. package/dist/document.d-DN37pjdx.d.cts +0 -648
  281. package/dist/document.d-DN37pjdx.d.ts +0 -648
  282. package/dist/email-settings.d-B7Q_xT25.d.cts +0 -2417
  283. package/dist/email-settings.d-B7Q_xT25.d.ts +0 -2417
  284. package/dist/email-template.d-gtQkdaXM.d.cts +0 -1188
  285. package/dist/email-template.d-gtQkdaXM.d.ts +0 -1188
  286. package/dist/entity-mapping.d-DKSW3sfy.d.cts +0 -1092
  287. package/dist/entity-mapping.d-DKSW3sfy.d.ts +0 -1092
  288. package/dist/entity.d-BHR9dEon.d.cts +0 -18479
  289. package/dist/entity.d-BHR9dEon.d.ts +0 -18479
  290. package/dist/environments.d-BvqvN-PD.d.cts +0 -382
  291. package/dist/environments.d-BvqvN-PD.d.ts +0 -382
  292. package/dist/event-catalog.d-ENw6HO-w.d.cts +0 -1511
  293. package/dist/event-catalog.d-ENw6HO-w.d.ts +0 -1511
  294. package/dist/file.d-DcTJxjp7.d.cts +0 -2992
  295. package/dist/file.d-DcTJxjp7.d.ts +0 -2992
  296. package/dist/iban.d-BwdiGbxi.d.cts +0 -70
  297. package/dist/iban.d-BwdiGbxi.d.ts +0 -70
  298. package/dist/index.d.cts +0 -180
  299. package/dist/integration-toolkit.d-Ry-KC9ow.d.cts +0 -5796
  300. package/dist/integration-toolkit.d-Ry-KC9ow.d.ts +0 -5796
  301. package/dist/journey.d-ClXO0xK8.d.cts +0 -1931
  302. package/dist/journey.d-ClXO0xK8.d.ts +0 -1931
  303. package/dist/kanban.d-BHnSRCYW.d.cts +0 -760
  304. package/dist/kanban.d-BHnSRCYW.d.ts +0 -760
  305. package/dist/message.d-B5UuSqgw.d.cts +0 -3811
  306. package/dist/message.d-B5UuSqgw.d.ts +0 -3811
  307. package/dist/metering.d-DvtPv7wk.d.cts +0 -1841
  308. package/dist/metering.d-DvtPv7wk.d.ts +0 -1841
  309. package/dist/notes.d-BC-scR42.d.cts +0 -1046
  310. package/dist/notes.d-BC-scR42.d.ts +0 -1046
  311. package/dist/notification.d-BfBL3lga.d.cts +0 -1147
  312. package/dist/notification.d-BfBL3lga.d.ts +0 -1147
  313. package/dist/organization.d-DqwnNxMg.d.cts +0 -1271
  314. package/dist/organization.d-DqwnNxMg.d.ts +0 -1271
  315. package/dist/partner-directory.d-BCIjHoGs.d.cts +0 -2337
  316. package/dist/partner-directory.d-BCIjHoGs.d.ts +0 -2337
  317. package/dist/permissions.d-l6AT8SYP.d.cts +0 -1279
  318. package/dist/permissions.d-l6AT8SYP.d.ts +0 -1279
  319. package/dist/pricing-tier.d-Cg0jl6n_.d.cts +0 -81
  320. package/dist/pricing-tier.d-Cg0jl6n_.d.ts +0 -81
  321. package/dist/pricing.d-BHpMU4KU.d.cts +0 -12255
  322. package/dist/pricing.d-BHpMU4KU.d.ts +0 -12255
  323. package/dist/purpose.d-CbIYfTua.d.cts +0 -372
  324. package/dist/purpose.d-CbIYfTua.d.ts +0 -372
  325. package/dist/query.d-Cmp78IhZ.d.cts +0 -2375
  326. package/dist/query.d-Cmp78IhZ.d.ts +0 -2375
  327. package/dist/sandbox.d-BdbOFzDu.d.cts +0 -465
  328. package/dist/sandbox.d-BdbOFzDu.d.ts +0 -465
  329. package/dist/sharing.d-sOXq-gtz.d.cts +0 -571
  330. package/dist/sharing.d-sOXq-gtz.d.ts +0 -571
  331. package/dist/submission.d-BamwfhXw.d.cts +0 -469
  332. package/dist/submission.d-BamwfhXw.d.ts +0 -469
  333. package/dist/targeting.d-BNmcVsNS.d.cts +0 -2057
  334. package/dist/targeting.d-BNmcVsNS.d.ts +0 -2057
  335. package/dist/template-variables.d-Ble9TSBa.d.cts +0 -1320
  336. package/dist/template-variables.d-Ble9TSBa.d.ts +0 -1320
  337. package/dist/types-ChU9Acbv.d.cts +0 -37
  338. package/dist/types-ChU9Acbv.d.ts +0 -37
  339. package/dist/user.d-D18fe97W.d.cts +0 -2270
  340. package/dist/user.d-D18fe97W.d.ts +0 -2270
  341. package/dist/validation-rules.d-Db5c5zTf.d.cts +0 -807
  342. package/dist/validation-rules.d-Db5c5zTf.d.ts +0 -807
  343. package/dist/webhooks.d-pLHIL_io.d.cts +0 -1256
  344. package/dist/webhooks.d-pLHIL_io.d.ts +0 -1256
  345. package/dist/workflow-definition.d-DOeb0KVV.d.cts +0 -1922
  346. package/dist/workflow-definition.d-DOeb0KVV.d.ts +0 -1922
  347. package/dist/workflow.d-CMSKt8oN.d.cts +0 -3151
  348. package/dist/workflow.d-CMSKt8oN.d.ts +0 -3151
@@ -1,339 +0,0 @@
1
- import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
-
3
- /* Auto-copied from address-suggestions-client */
4
- /* eslint-disable */
5
-
6
-
7
-
8
- declare namespace Components {
9
- namespace Schemas {
10
- /**
11
- * The address suggestions entity
12
- */
13
- export interface AddressSuggestion {
14
- /**
15
- * The country code
16
- */
17
- country?: string;
18
- /**
19
- * The postal code
20
- */
21
- postal_code?: string;
22
- /**
23
- * The city
24
- */
25
- city?: string;
26
- /**
27
- * The street
28
- */
29
- street?: string;
30
- /**
31
- * The street number
32
- */
33
- street_number?: string;
34
- }
35
- /**
36
- * The availability rule error
37
- */
38
- export interface AddressSuggestionError {
39
- /**
40
- * The line number where the error was found
41
- */
42
- line?: number;
43
- /**
44
- * The error message
45
- */
46
- msg: string;
47
- /**
48
- * Data related to the error
49
- */
50
- data?: string;
51
- }
52
- /**
53
- * The address suggestions entity array
54
- */
55
- export type AddressSuggestions = /* The address suggestions entity */ AddressSuggestion[];
56
- export interface AvailabilityLocation {
57
- /**
58
- * The first line of the address. Typically the street address or PO Box number.
59
- */
60
- street?: string;
61
- /**
62
- * The second line of the address. Typically the number of the apartment, suite, or unit.
63
- */
64
- street_number?: string;
65
- /**
66
- * The postal code for the address.
67
- */
68
- postal_code?: string;
69
- /**
70
- * The name of the city, district, village, or town.
71
- */
72
- city?: string;
73
- /**
74
- * The name of the country.
75
- */
76
- country?: string;
77
- }
78
- export interface AvailabilityResult {
79
- /**
80
- * The id of the file where the address was found
81
- * example:
82
- * 4e7b7d95-ced6-4f5f-9326-0c61f30dcadb
83
- */
84
- fileId?: string;
85
- }
86
- export interface Error {
87
- /**
88
- * Error message
89
- */
90
- message: string;
91
- /**
92
- * The HTTP status code
93
- */
94
- status?: number;
95
- /**
96
- * The cause of the error (visible for bad requests - http 400)
97
- */
98
- cause?: string;
99
- }
100
- /**
101
- * The address rule error
102
- */
103
- export interface ValidateAddressFileError {
104
- /**
105
- * The line number where the error was found
106
- */
107
- line?: number;
108
- /**
109
- * The error message
110
- */
111
- msg: string;
112
- /**
113
- * Data related to the error
114
- */
115
- data?: string;
116
- }
117
- /**
118
- * The address file validation result payload
119
- */
120
- export interface ValidateAddressFileResult {
121
- /**
122
- * The status of the validation
123
- */
124
- status?: "success" | "error";
125
- /**
126
- * The number of rules successfully parsed
127
- */
128
- rules_parsed_count?: number;
129
- /**
130
- * The errors found on the file
131
- */
132
- errors?: /* The address rule error */ ValidateAddressFileError[];
133
- }
134
- /**
135
- * The availability map file result payload
136
- */
137
- export interface ValidateAddressSuggestionsFileResult {
138
- /**
139
- * The status of the validation
140
- */
141
- status?: "success" | "error";
142
- /**
143
- * The number of rules successfully parsed
144
- */
145
- rules_parsed_count?: number;
146
- /**
147
- * The errors found on the file
148
- */
149
- errors?: /* The availability rule error */ AddressSuggestionError[];
150
- }
151
- }
152
- }
153
- declare namespace Paths {
154
- namespace CheckAvailability {
155
- export interface HeaderParameters {
156
- "X-Epilot-Org-ID": Parameters.XEpilotOrgID;
157
- }
158
- namespace Parameters {
159
- export type CountryCode = string;
160
- export type Files = string;
161
- export type PostalCode = string;
162
- export type Street = string;
163
- export type StreetNumber = string;
164
- export type XEpilotOrgID = string;
165
- }
166
- export interface QueryParameters {
167
- files: Parameters.Files;
168
- countryCode: Parameters.CountryCode;
169
- postalCode: Parameters.PostalCode;
170
- street?: Parameters.Street;
171
- streetNumber?: Parameters.StreetNumber;
172
- }
173
- namespace Responses {
174
- export type $200 = Components.Schemas.AvailabilityResult;
175
- export type $400 = Components.Schemas.Error;
176
- export type $404 = Components.Schemas.Error;
177
- }
178
- }
179
- namespace GetAddresses {
180
- export interface HeaderParameters {
181
- "X-Epilot-Org-ID": Parameters.XEpilotOrgID;
182
- }
183
- namespace Parameters {
184
- export type CountryCodeSearchTerm = string;
185
- export type FileId = string;
186
- export type PostalCodeSearchTerm = string;
187
- export type S3FileUrl = string;
188
- export type StreetSearchTerm = string;
189
- export type XEpilotOrgID = string;
190
- }
191
- export interface QueryParameters {
192
- s3FileUrl?: Parameters.S3FileUrl;
193
- fileId?: Parameters.FileId;
194
- countryCodeSearchTerm?: Parameters.CountryCodeSearchTerm;
195
- postalCodeSearchTerm?: Parameters.PostalCodeSearchTerm;
196
- streetSearchTerm?: Parameters.StreetSearchTerm;
197
- }
198
- namespace Responses {
199
- export type $200 = /* The address suggestions entity array */ Components.Schemas.AddressSuggestions;
200
- export type $404 = Components.Schemas.Error;
201
- }
202
- }
203
- namespace ValidateAddresses {
204
- namespace Parameters {
205
- export type FileId = string;
206
- export type S3FileUrl = string;
207
- }
208
- export interface QueryParameters {
209
- s3FileUrl?: Parameters.S3FileUrl;
210
- fileId?: Parameters.FileId;
211
- }
212
- namespace Responses {
213
- export type $200 = /* The availability map file result payload */ Components.Schemas.ValidateAddressSuggestionsFileResult;
214
- export type $400 = Components.Schemas.Error;
215
- }
216
- }
217
- namespace ValidateAddressesFile {
218
- namespace Parameters {
219
- export type FileId = string;
220
- }
221
- export interface QueryParameters {
222
- fileId?: Parameters.FileId;
223
- }
224
- namespace Responses {
225
- export type $200 = /* The address file validation result payload */ Components.Schemas.ValidateAddressFileResult;
226
- export type $400 = Components.Schemas.Error;
227
- }
228
- }
229
- }
230
-
231
-
232
- interface OperationMethods {
233
- /**
234
- * getAddresses - get addresses from file
235
- *
236
- * Get address suggestions for the given file id
237
- */
238
- 'getAddresses'(
239
- parameters?: Parameters<Paths.GetAddresses.QueryParameters & Paths.GetAddresses.HeaderParameters> | null,
240
- data?: any,
241
- config?: AxiosRequestConfig
242
- ): OperationResponse<Paths.GetAddresses.Responses.$200>
243
- /**
244
- * validateAddresses - validate addresses file
245
- *
246
- * Validates an addresses file, it returns an array of errors if the file is invalid
247
- */
248
- 'validateAddresses'(
249
- parameters?: Parameters<Paths.ValidateAddresses.QueryParameters> | null,
250
- data?: any,
251
- config?: AxiosRequestConfig
252
- ): OperationResponse<Paths.ValidateAddresses.Responses.$200>
253
- /**
254
- * checkAvailability - Check address availability
255
- *
256
- * Check the availability of a given address within multiple files
257
- */
258
- 'checkAvailability'(
259
- parameters?: Parameters<Paths.CheckAvailability.QueryParameters & Paths.CheckAvailability.HeaderParameters> | null,
260
- data?: any,
261
- config?: AxiosRequestConfig
262
- ): OperationResponse<Paths.CheckAvailability.Responses.$200>
263
- /**
264
- * validateAddressesFile - validate addresses file
265
- *
266
- * Validates an addresses file, it returns an array of errors if the file is invalid
267
- */
268
- 'validateAddressesFile'(
269
- parameters?: Parameters<Paths.ValidateAddressesFile.QueryParameters> | null,
270
- data?: any,
271
- config?: AxiosRequestConfig
272
- ): OperationResponse<Paths.ValidateAddressesFile.Responses.$200>
273
- }
274
-
275
- interface PathsDictionary {
276
- ['/v1/public/suggestions']: {
277
- /**
278
- * getAddresses - get addresses from file
279
- *
280
- * Get address suggestions for the given file id
281
- */
282
- 'get'(
283
- parameters?: Parameters<Paths.GetAddresses.QueryParameters & Paths.GetAddresses.HeaderParameters> | null,
284
- data?: any,
285
- config?: AxiosRequestConfig
286
- ): OperationResponse<Paths.GetAddresses.Responses.$200>
287
- }
288
- ['/v1/suggestions:validate']: {
289
- /**
290
- * validateAddresses - validate addresses file
291
- *
292
- * Validates an addresses file, it returns an array of errors if the file is invalid
293
- */
294
- 'get'(
295
- parameters?: Parameters<Paths.ValidateAddresses.QueryParameters> | null,
296
- data?: any,
297
- config?: AxiosRequestConfig
298
- ): OperationResponse<Paths.ValidateAddresses.Responses.$200>
299
- }
300
- ['/v1/public/availability:check']: {
301
- /**
302
- * checkAvailability - Check address availability
303
- *
304
- * Check the availability of a given address within multiple files
305
- */
306
- 'get'(
307
- parameters?: Parameters<Paths.CheckAvailability.QueryParameters & Paths.CheckAvailability.HeaderParameters> | null,
308
- data?: any,
309
- config?: AxiosRequestConfig
310
- ): OperationResponse<Paths.CheckAvailability.Responses.$200>
311
- }
312
- ['/v1/addresses-files:validate']: {
313
- /**
314
- * validateAddressesFile - validate addresses file
315
- *
316
- * Validates an addresses file, it returns an array of errors if the file is invalid
317
- */
318
- 'get'(
319
- parameters?: Parameters<Paths.ValidateAddressesFile.QueryParameters> | null,
320
- data?: any,
321
- config?: AxiosRequestConfig
322
- ): OperationResponse<Paths.ValidateAddressesFile.Responses.$200>
323
- }
324
- }
325
-
326
- type Client = OpenAPIClient<OperationMethods, PathsDictionary>
327
-
328
-
329
- type AddressSuggestion = Components.Schemas.AddressSuggestion;
330
- type AddressSuggestionError = Components.Schemas.AddressSuggestionError;
331
- type AddressSuggestions = Components.Schemas.AddressSuggestions;
332
- type AvailabilityLocation = Components.Schemas.AvailabilityLocation;
333
- type AvailabilityResult = Components.Schemas.AvailabilityResult;
334
- type Error = Components.Schemas.Error;
335
- type ValidateAddressFileError = Components.Schemas.ValidateAddressFileError;
336
- type ValidateAddressFileResult = Components.Schemas.ValidateAddressFileResult;
337
- type ValidateAddressSuggestionsFileResult = Components.Schemas.ValidateAddressSuggestionsFileResult;
338
-
339
- export { type AddressSuggestion as A, type Client as C, type Error as E, type OperationMethods as O, Paths as P, type ValidateAddressFileError as V, Components as a, type PathsDictionary as b, type AddressSuggestionError as c, type AddressSuggestions as d, type AvailabilityLocation as e, type AvailabilityResult as f, type ValidateAddressFileResult as g, type ValidateAddressSuggestionsFileResult as h };
@@ -1,339 +0,0 @@
1
- import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
-
3
- /* Auto-copied from address-suggestions-client */
4
- /* eslint-disable */
5
-
6
-
7
-
8
- declare namespace Components {
9
- namespace Schemas {
10
- /**
11
- * The address suggestions entity
12
- */
13
- export interface AddressSuggestion {
14
- /**
15
- * The country code
16
- */
17
- country?: string;
18
- /**
19
- * The postal code
20
- */
21
- postal_code?: string;
22
- /**
23
- * The city
24
- */
25
- city?: string;
26
- /**
27
- * The street
28
- */
29
- street?: string;
30
- /**
31
- * The street number
32
- */
33
- street_number?: string;
34
- }
35
- /**
36
- * The availability rule error
37
- */
38
- export interface AddressSuggestionError {
39
- /**
40
- * The line number where the error was found
41
- */
42
- line?: number;
43
- /**
44
- * The error message
45
- */
46
- msg: string;
47
- /**
48
- * Data related to the error
49
- */
50
- data?: string;
51
- }
52
- /**
53
- * The address suggestions entity array
54
- */
55
- export type AddressSuggestions = /* The address suggestions entity */ AddressSuggestion[];
56
- export interface AvailabilityLocation {
57
- /**
58
- * The first line of the address. Typically the street address or PO Box number.
59
- */
60
- street?: string;
61
- /**
62
- * The second line of the address. Typically the number of the apartment, suite, or unit.
63
- */
64
- street_number?: string;
65
- /**
66
- * The postal code for the address.
67
- */
68
- postal_code?: string;
69
- /**
70
- * The name of the city, district, village, or town.
71
- */
72
- city?: string;
73
- /**
74
- * The name of the country.
75
- */
76
- country?: string;
77
- }
78
- export interface AvailabilityResult {
79
- /**
80
- * The id of the file where the address was found
81
- * example:
82
- * 4e7b7d95-ced6-4f5f-9326-0c61f30dcadb
83
- */
84
- fileId?: string;
85
- }
86
- export interface Error {
87
- /**
88
- * Error message
89
- */
90
- message: string;
91
- /**
92
- * The HTTP status code
93
- */
94
- status?: number;
95
- /**
96
- * The cause of the error (visible for bad requests - http 400)
97
- */
98
- cause?: string;
99
- }
100
- /**
101
- * The address rule error
102
- */
103
- export interface ValidateAddressFileError {
104
- /**
105
- * The line number where the error was found
106
- */
107
- line?: number;
108
- /**
109
- * The error message
110
- */
111
- msg: string;
112
- /**
113
- * Data related to the error
114
- */
115
- data?: string;
116
- }
117
- /**
118
- * The address file validation result payload
119
- */
120
- export interface ValidateAddressFileResult {
121
- /**
122
- * The status of the validation
123
- */
124
- status?: "success" | "error";
125
- /**
126
- * The number of rules successfully parsed
127
- */
128
- rules_parsed_count?: number;
129
- /**
130
- * The errors found on the file
131
- */
132
- errors?: /* The address rule error */ ValidateAddressFileError[];
133
- }
134
- /**
135
- * The availability map file result payload
136
- */
137
- export interface ValidateAddressSuggestionsFileResult {
138
- /**
139
- * The status of the validation
140
- */
141
- status?: "success" | "error";
142
- /**
143
- * The number of rules successfully parsed
144
- */
145
- rules_parsed_count?: number;
146
- /**
147
- * The errors found on the file
148
- */
149
- errors?: /* The availability rule error */ AddressSuggestionError[];
150
- }
151
- }
152
- }
153
- declare namespace Paths {
154
- namespace CheckAvailability {
155
- export interface HeaderParameters {
156
- "X-Epilot-Org-ID": Parameters.XEpilotOrgID;
157
- }
158
- namespace Parameters {
159
- export type CountryCode = string;
160
- export type Files = string;
161
- export type PostalCode = string;
162
- export type Street = string;
163
- export type StreetNumber = string;
164
- export type XEpilotOrgID = string;
165
- }
166
- export interface QueryParameters {
167
- files: Parameters.Files;
168
- countryCode: Parameters.CountryCode;
169
- postalCode: Parameters.PostalCode;
170
- street?: Parameters.Street;
171
- streetNumber?: Parameters.StreetNumber;
172
- }
173
- namespace Responses {
174
- export type $200 = Components.Schemas.AvailabilityResult;
175
- export type $400 = Components.Schemas.Error;
176
- export type $404 = Components.Schemas.Error;
177
- }
178
- }
179
- namespace GetAddresses {
180
- export interface HeaderParameters {
181
- "X-Epilot-Org-ID": Parameters.XEpilotOrgID;
182
- }
183
- namespace Parameters {
184
- export type CountryCodeSearchTerm = string;
185
- export type FileId = string;
186
- export type PostalCodeSearchTerm = string;
187
- export type S3FileUrl = string;
188
- export type StreetSearchTerm = string;
189
- export type XEpilotOrgID = string;
190
- }
191
- export interface QueryParameters {
192
- s3FileUrl?: Parameters.S3FileUrl;
193
- fileId?: Parameters.FileId;
194
- countryCodeSearchTerm?: Parameters.CountryCodeSearchTerm;
195
- postalCodeSearchTerm?: Parameters.PostalCodeSearchTerm;
196
- streetSearchTerm?: Parameters.StreetSearchTerm;
197
- }
198
- namespace Responses {
199
- export type $200 = /* The address suggestions entity array */ Components.Schemas.AddressSuggestions;
200
- export type $404 = Components.Schemas.Error;
201
- }
202
- }
203
- namespace ValidateAddresses {
204
- namespace Parameters {
205
- export type FileId = string;
206
- export type S3FileUrl = string;
207
- }
208
- export interface QueryParameters {
209
- s3FileUrl?: Parameters.S3FileUrl;
210
- fileId?: Parameters.FileId;
211
- }
212
- namespace Responses {
213
- export type $200 = /* The availability map file result payload */ Components.Schemas.ValidateAddressSuggestionsFileResult;
214
- export type $400 = Components.Schemas.Error;
215
- }
216
- }
217
- namespace ValidateAddressesFile {
218
- namespace Parameters {
219
- export type FileId = string;
220
- }
221
- export interface QueryParameters {
222
- fileId?: Parameters.FileId;
223
- }
224
- namespace Responses {
225
- export type $200 = /* The address file validation result payload */ Components.Schemas.ValidateAddressFileResult;
226
- export type $400 = Components.Schemas.Error;
227
- }
228
- }
229
- }
230
-
231
-
232
- interface OperationMethods {
233
- /**
234
- * getAddresses - get addresses from file
235
- *
236
- * Get address suggestions for the given file id
237
- */
238
- 'getAddresses'(
239
- parameters?: Parameters<Paths.GetAddresses.QueryParameters & Paths.GetAddresses.HeaderParameters> | null,
240
- data?: any,
241
- config?: AxiosRequestConfig
242
- ): OperationResponse<Paths.GetAddresses.Responses.$200>
243
- /**
244
- * validateAddresses - validate addresses file
245
- *
246
- * Validates an addresses file, it returns an array of errors if the file is invalid
247
- */
248
- 'validateAddresses'(
249
- parameters?: Parameters<Paths.ValidateAddresses.QueryParameters> | null,
250
- data?: any,
251
- config?: AxiosRequestConfig
252
- ): OperationResponse<Paths.ValidateAddresses.Responses.$200>
253
- /**
254
- * checkAvailability - Check address availability
255
- *
256
- * Check the availability of a given address within multiple files
257
- */
258
- 'checkAvailability'(
259
- parameters?: Parameters<Paths.CheckAvailability.QueryParameters & Paths.CheckAvailability.HeaderParameters> | null,
260
- data?: any,
261
- config?: AxiosRequestConfig
262
- ): OperationResponse<Paths.CheckAvailability.Responses.$200>
263
- /**
264
- * validateAddressesFile - validate addresses file
265
- *
266
- * Validates an addresses file, it returns an array of errors if the file is invalid
267
- */
268
- 'validateAddressesFile'(
269
- parameters?: Parameters<Paths.ValidateAddressesFile.QueryParameters> | null,
270
- data?: any,
271
- config?: AxiosRequestConfig
272
- ): OperationResponse<Paths.ValidateAddressesFile.Responses.$200>
273
- }
274
-
275
- interface PathsDictionary {
276
- ['/v1/public/suggestions']: {
277
- /**
278
- * getAddresses - get addresses from file
279
- *
280
- * Get address suggestions for the given file id
281
- */
282
- 'get'(
283
- parameters?: Parameters<Paths.GetAddresses.QueryParameters & Paths.GetAddresses.HeaderParameters> | null,
284
- data?: any,
285
- config?: AxiosRequestConfig
286
- ): OperationResponse<Paths.GetAddresses.Responses.$200>
287
- }
288
- ['/v1/suggestions:validate']: {
289
- /**
290
- * validateAddresses - validate addresses file
291
- *
292
- * Validates an addresses file, it returns an array of errors if the file is invalid
293
- */
294
- 'get'(
295
- parameters?: Parameters<Paths.ValidateAddresses.QueryParameters> | null,
296
- data?: any,
297
- config?: AxiosRequestConfig
298
- ): OperationResponse<Paths.ValidateAddresses.Responses.$200>
299
- }
300
- ['/v1/public/availability:check']: {
301
- /**
302
- * checkAvailability - Check address availability
303
- *
304
- * Check the availability of a given address within multiple files
305
- */
306
- 'get'(
307
- parameters?: Parameters<Paths.CheckAvailability.QueryParameters & Paths.CheckAvailability.HeaderParameters> | null,
308
- data?: any,
309
- config?: AxiosRequestConfig
310
- ): OperationResponse<Paths.CheckAvailability.Responses.$200>
311
- }
312
- ['/v1/addresses-files:validate']: {
313
- /**
314
- * validateAddressesFile - validate addresses file
315
- *
316
- * Validates an addresses file, it returns an array of errors if the file is invalid
317
- */
318
- 'get'(
319
- parameters?: Parameters<Paths.ValidateAddressesFile.QueryParameters> | null,
320
- data?: any,
321
- config?: AxiosRequestConfig
322
- ): OperationResponse<Paths.ValidateAddressesFile.Responses.$200>
323
- }
324
- }
325
-
326
- type Client = OpenAPIClient<OperationMethods, PathsDictionary>
327
-
328
-
329
- type AddressSuggestion = Components.Schemas.AddressSuggestion;
330
- type AddressSuggestionError = Components.Schemas.AddressSuggestionError;
331
- type AddressSuggestions = Components.Schemas.AddressSuggestions;
332
- type AvailabilityLocation = Components.Schemas.AvailabilityLocation;
333
- type AvailabilityResult = Components.Schemas.AvailabilityResult;
334
- type Error = Components.Schemas.Error;
335
- type ValidateAddressFileError = Components.Schemas.ValidateAddressFileError;
336
- type ValidateAddressFileResult = Components.Schemas.ValidateAddressFileResult;
337
- type ValidateAddressSuggestionsFileResult = Components.Schemas.ValidateAddressSuggestionsFileResult;
338
-
339
- export { type AddressSuggestion as A, type Client as C, type Error as E, type OperationMethods as O, Paths as P, type ValidateAddressFileError as V, Components as a, type PathsDictionary as b, type AddressSuggestionError as c, type AddressSuggestions as d, type AvailabilityLocation as e, type AvailabilityResult as f, type ValidateAddressFileResult as g, type ValidateAddressSuggestionsFileResult as h };