@seamapi/http 1.128.0 → 2.1.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 (631) hide show
  1. package/README.md +0 -43
  2. package/lib/seam/connect/api-error-types.js +0 -1
  3. package/lib/seam/connect/api-error-types.js.map +1 -1
  4. package/lib/seam/connect/index.d.ts +1 -0
  5. package/lib/seam/connect/index.js +1 -0
  6. package/lib/seam/connect/index.js.map +1 -1
  7. package/lib/seam/connect/openapi.d.ts +1 -2
  8. package/lib/seam/connect/openapi.js.map +1 -1
  9. package/lib/seam/connect/options.d.ts +0 -1
  10. package/lib/seam/connect/options.js.map +1 -1
  11. package/lib/seam/connect/parse-options.js +0 -2
  12. package/lib/seam/connect/parse-options.js.map +1 -1
  13. package/lib/seam/connect/resolve-action-attempt.d.ts +5 -5
  14. package/lib/seam/connect/resolve-action-attempt.js.map +1 -1
  15. package/lib/seam/connect/resources/access-code.d.ts +1 -1
  16. package/lib/seam/connect/resources/access-grant.d.ts +1 -1
  17. package/lib/seam/connect/resources/access-method.d.ts +1 -1
  18. package/lib/seam/connect/resources/acs-access-group.d.ts +1 -1
  19. package/lib/seam/connect/resources/acs-credential.d.ts +1 -1
  20. package/lib/seam/connect/resources/acs-encoder.d.ts +1 -1
  21. package/lib/seam/connect/resources/acs-entrance.d.ts +1 -1
  22. package/lib/seam/connect/resources/acs-system.d.ts +1 -1
  23. package/lib/seam/connect/resources/acs-user.d.ts +1 -2
  24. package/lib/seam/connect/resources/action-attempt.d.ts +1 -1
  25. package/lib/seam/connect/resources/batch.d.ts +53 -29
  26. package/lib/seam/connect/resources/client-session.d.ts +1 -1
  27. package/lib/seam/connect/resources/connect-webview.d.ts +1 -3
  28. package/lib/seam/connect/resources/connected-account.d.ts +1 -1
  29. package/lib/seam/connect/resources/customer-portal.d.ts +1 -1
  30. package/lib/seam/connect/resources/device-provider.d.ts +1 -1
  31. package/lib/seam/connect/resources/device.d.ts +1 -2
  32. package/lib/seam/connect/resources/event.d.ts +1 -9
  33. package/lib/seam/connect/resources/index.d.ts +32 -43
  34. package/lib/seam/connect/resources/instant-key.d.ts +1 -1
  35. package/lib/seam/connect/resources/noise-threshold.d.ts +1 -1
  36. package/lib/seam/connect/resources/phone.d.ts +1 -1
  37. package/lib/seam/connect/resources/space.d.ts +1 -3
  38. package/lib/seam/connect/resources/thermostat-daily-program.d.ts +1 -1
  39. package/lib/seam/connect/resources/thermostat-schedule.d.ts +1 -1
  40. package/lib/seam/connect/resources/unmanaged-access-code.d.ts +1 -1
  41. package/lib/seam/connect/resources/unmanaged-access-grant.d.ts +94 -0
  42. package/lib/seam/connect/resources/{customer.js → unmanaged-access-grant.js} +1 -1
  43. package/lib/seam/connect/resources/unmanaged-access-grant.js.map +1 -0
  44. package/lib/seam/connect/resources/unmanaged-access-method.d.ts +70 -0
  45. package/lib/seam/connect/resources/{acs-credential-pool.js → unmanaged-access-method.js} +1 -1
  46. package/lib/seam/connect/resources/unmanaged-access-method.js.map +1 -0
  47. package/lib/seam/connect/resources/unmanaged-device.d.ts +1 -1
  48. package/lib/seam/connect/resources/unmanaged-user-identity.d.ts +26 -0
  49. package/lib/seam/connect/resources/{bridge-client-session.js → unmanaged-user-identity.js} +1 -1
  50. package/lib/seam/connect/resources/unmanaged-user-identity.js.map +1 -0
  51. package/lib/seam/connect/resources/user-identity.d.ts +1 -1
  52. package/lib/seam/connect/resources/webhook.d.ts +1 -1
  53. package/lib/seam/connect/resources/workspace.d.ts +1 -1
  54. package/lib/seam/connect/routes/access-codes/access-codes.d.ts +7 -64
  55. package/lib/seam/connect/routes/access-codes/access-codes.js +0 -12
  56. package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
  57. package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +2 -6
  58. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +3 -25
  59. package/lib/seam/connect/routes/access-grants/access-grants.d.ts +7 -35
  60. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +3 -15
  61. package/lib/seam/connect/routes/access-methods/access-methods.d.ts +15 -37
  62. package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
  63. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +3 -11
  64. package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +7 -37
  65. package/lib/seam/connect/routes/acs/access-groups/access-groups.js +0 -4
  66. package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
  67. package/lib/seam/connect/routes/acs/access-groups/index.d.ts +0 -1
  68. package/lib/seam/connect/routes/acs/access-groups/index.js +0 -1
  69. package/lib/seam/connect/routes/acs/access-groups/index.js.map +1 -1
  70. package/lib/seam/connect/routes/acs/acs.d.ts +0 -4
  71. package/lib/seam/connect/routes/acs/acs.js +0 -8
  72. package/lib/seam/connect/routes/acs/acs.js.map +1 -1
  73. package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +6 -61
  74. package/lib/seam/connect/routes/acs/credentials/credentials.js +0 -16
  75. package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
  76. package/lib/seam/connect/routes/acs/credentials/index.d.ts +0 -1
  77. package/lib/seam/connect/routes/acs/credentials/index.js +0 -1
  78. package/lib/seam/connect/routes/acs/credentials/index.js.map +1 -1
  79. package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +13 -27
  80. package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
  81. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +0 -16
  82. package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +9 -27
  83. package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
  84. package/lib/seam/connect/routes/acs/index.d.ts +0 -2
  85. package/lib/seam/connect/routes/acs/index.js +0 -2
  86. package/lib/seam/connect/routes/acs/index.js.map +1 -1
  87. package/lib/seam/connect/routes/acs/systems/systems.d.ts +4 -20
  88. package/lib/seam/connect/routes/acs/users/index.d.ts +0 -1
  89. package/lib/seam/connect/routes/acs/users/index.js +0 -1
  90. package/lib/seam/connect/routes/acs/users/index.js.map +1 -1
  91. package/lib/seam/connect/routes/acs/users/users.d.ts +6 -52
  92. package/lib/seam/connect/routes/acs/users/users.js +0 -4
  93. package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
  94. package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +5 -12
  95. package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
  96. package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +5 -33
  97. package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +4 -21
  98. package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +3 -24
  99. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.d.ts +0 -4
  100. package/lib/seam/connect/routes/customers/customers.d.ts +2 -17
  101. package/lib/seam/connect/routes/customers/customers.js +0 -4
  102. package/lib/seam/connect/routes/customers/customers.js.map +1 -1
  103. package/lib/seam/connect/routes/customers/index.d.ts +0 -1
  104. package/lib/seam/connect/routes/customers/index.js +0 -1
  105. package/lib/seam/connect/routes/customers/index.js.map +1 -1
  106. package/lib/seam/connect/routes/devices/devices.d.ts +5 -41
  107. package/lib/seam/connect/routes/devices/devices.js +0 -12
  108. package/lib/seam/connect/routes/devices/devices.js.map +1 -1
  109. package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +0 -24
  110. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +3 -17
  111. package/lib/seam/connect/routes/events/events.d.ts +3 -11
  112. package/lib/seam/connect/routes/index.d.ts +0 -3
  113. package/lib/seam/connect/routes/index.js +0 -3
  114. package/lib/seam/connect/routes/index.js.map +1 -1
  115. package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +3 -15
  116. package/lib/seam/connect/routes/locks/locks.d.ts +13 -31
  117. package/lib/seam/connect/routes/locks/locks.js.map +1 -1
  118. package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +7 -11
  119. package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
  120. package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +2 -8
  121. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +4 -28
  122. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +0 -4
  123. package/lib/seam/connect/routes/phones/phones.d.ts +3 -15
  124. package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +2 -6
  125. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +1 -5
  126. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +0 -22
  127. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +1 -1
  128. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +8 -122
  129. package/lib/seam/connect/routes/seam-http-endpoints.js +0 -834
  130. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  131. package/lib/seam/connect/routes/seam-http.d.ts +0 -4
  132. package/lib/seam/connect/routes/seam-http.js +0 -8
  133. package/lib/seam/connect/routes/seam-http.js.map +1 -1
  134. package/lib/seam/connect/routes/spaces/spaces.d.ts +7 -60
  135. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +6 -16
  136. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
  137. package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +4 -24
  138. package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +0 -8
  139. package/lib/seam/connect/routes/thermostats/thermostats.d.ts +27 -87
  140. package/lib/seam/connect/routes/thermostats/thermostats.js +0 -12
  141. package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
  142. package/lib/seam/connect/routes/user-identities/index.d.ts +0 -1
  143. package/lib/seam/connect/routes/user-identities/index.js +0 -1
  144. package/lib/seam/connect/routes/user-identities/index.js.map +1 -1
  145. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +3 -15
  146. package/lib/seam/connect/routes/user-identities/user-identities.d.ts +14 -72
  147. package/lib/seam/connect/routes/user-identities/user-identities.js +0 -4
  148. package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
  149. package/lib/seam/connect/routes/webhooks/webhooks.d.ts +4 -24
  150. package/lib/seam/connect/routes/workspaces/index.d.ts +0 -1
  151. package/lib/seam/connect/routes/workspaces/index.js +0 -1
  152. package/lib/seam/connect/routes/workspaces/index.js.map +1 -1
  153. package/lib/seam/connect/routes/workspaces/workspaces.d.ts +8 -41
  154. package/lib/seam/connect/routes/workspaces/workspaces.js +0 -16
  155. package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
  156. package/lib/seam/connect/seam-http-request.js.map +1 -1
  157. package/lib/version.d.ts +1 -1
  158. package/lib/version.js +1 -1
  159. package/lib/version.js.map +1 -1
  160. package/package.json +3 -11
  161. package/src/lib/seam/connect/api-error-types.ts +0 -2
  162. package/src/lib/seam/connect/index.ts +1 -0
  163. package/src/lib/seam/connect/openapi.ts +2 -4
  164. package/src/lib/seam/connect/options.ts +0 -1
  165. package/src/lib/seam/connect/parse-options.ts +0 -2
  166. package/src/lib/seam/connect/resolve-action-attempt.ts +7 -10
  167. package/src/lib/seam/connect/resources/access-code.ts +1 -1
  168. package/src/lib/seam/connect/resources/access-grant.ts +1 -1
  169. package/src/lib/seam/connect/resources/access-method.ts +1 -1
  170. package/src/lib/seam/connect/resources/acs-access-group.ts +1 -1
  171. package/src/lib/seam/connect/resources/acs-credential.ts +1 -1
  172. package/src/lib/seam/connect/resources/acs-encoder.ts +1 -1
  173. package/src/lib/seam/connect/resources/acs-entrance.ts +1 -1
  174. package/src/lib/seam/connect/resources/acs-system.ts +1 -1
  175. package/src/lib/seam/connect/resources/acs-user.ts +1 -2
  176. package/src/lib/seam/connect/resources/action-attempt.ts +1 -1
  177. package/src/lib/seam/connect/resources/batch.ts +56 -29
  178. package/src/lib/seam/connect/resources/client-session.ts +1 -1
  179. package/src/lib/seam/connect/resources/connect-webview.ts +1 -5
  180. package/src/lib/seam/connect/resources/connected-account.ts +1 -1
  181. package/src/lib/seam/connect/resources/customer-portal.ts +1 -1
  182. package/src/lib/seam/connect/resources/device-provider.ts +1 -1
  183. package/src/lib/seam/connect/resources/device.ts +1 -3
  184. package/src/lib/seam/connect/resources/event.ts +1 -15
  185. package/src/lib/seam/connect/resources/index.ts +32 -43
  186. package/src/lib/seam/connect/resources/instant-key.ts +1 -1
  187. package/src/lib/seam/connect/resources/noise-threshold.ts +1 -1
  188. package/src/lib/seam/connect/resources/phone.ts +1 -1
  189. package/src/lib/seam/connect/resources/space.ts +1 -3
  190. package/src/lib/seam/connect/resources/thermostat-daily-program.ts +1 -1
  191. package/src/lib/seam/connect/resources/thermostat-schedule.ts +1 -1
  192. package/src/lib/seam/connect/resources/unmanaged-access-code.ts +1 -1
  193. package/src/lib/seam/connect/resources/unmanaged-access-grant.ts +164 -0
  194. package/src/lib/seam/connect/resources/unmanaged-access-method.ts +114 -0
  195. package/src/lib/seam/connect/resources/unmanaged-device.ts +1 -1
  196. package/src/lib/seam/connect/resources/unmanaged-user-identity.ts +48 -0
  197. package/src/lib/seam/connect/resources/user-identity.ts +1 -1
  198. package/src/lib/seam/connect/resources/webhook.ts +1 -1
  199. package/src/lib/seam/connect/resources/workspace.ts +1 -1
  200. package/src/lib/seam/connect/routes/access-codes/access-codes.ts +7 -107
  201. package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +2 -8
  202. package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +3 -34
  203. package/src/lib/seam/connect/routes/access-grants/access-grants.ts +18 -45
  204. package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +5 -20
  205. package/src/lib/seam/connect/routes/access-methods/access-methods.ts +20 -50
  206. package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +3 -15
  207. package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +7 -57
  208. package/src/lib/seam/connect/routes/acs/access-groups/index.ts +0 -1
  209. package/src/lib/seam/connect/routes/acs/acs.ts +0 -13
  210. package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +6 -111
  211. package/src/lib/seam/connect/routes/acs/credentials/index.ts +0 -1
  212. package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +13 -40
  213. package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +0 -24
  214. package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +7 -36
  215. package/src/lib/seam/connect/routes/acs/index.ts +0 -2
  216. package/src/lib/seam/connect/routes/acs/systems/systems.ts +4 -25
  217. package/src/lib/seam/connect/routes/acs/users/index.ts +0 -1
  218. package/src/lib/seam/connect/routes/acs/users/users.ts +6 -70
  219. package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +3 -15
  220. package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +5 -44
  221. package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +4 -29
  222. package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +3 -30
  223. package/src/lib/seam/connect/routes/connected-accounts/simulate/simulate.ts +0 -6
  224. package/src/lib/seam/connect/routes/customers/customers.ts +2 -26
  225. package/src/lib/seam/connect/routes/customers/index.ts +0 -1
  226. package/src/lib/seam/connect/routes/devices/devices.ts +5 -116
  227. package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +0 -33
  228. package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +3 -68
  229. package/src/lib/seam/connect/routes/events/events.ts +3 -13
  230. package/src/lib/seam/connect/routes/index.ts +0 -3
  231. package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +3 -20
  232. package/src/lib/seam/connect/routes/locks/locks.ts +7 -86
  233. package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +7 -18
  234. package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +2 -55
  235. package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +4 -41
  236. package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +0 -6
  237. package/src/lib/seam/connect/routes/phones/phones.ts +3 -18
  238. package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +2 -8
  239. package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +1 -55
  240. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +75 -2091
  241. package/src/lib/seam/connect/routes/seam-http.ts +0 -10
  242. package/src/lib/seam/connect/routes/spaces/spaces.ts +16 -73
  243. package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +6 -24
  244. package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +4 -32
  245. package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +0 -12
  246. package/src/lib/seam/connect/routes/thermostats/thermostats.ts +15 -186
  247. package/src/lib/seam/connect/routes/user-identities/index.ts +0 -1
  248. package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +3 -21
  249. package/src/lib/seam/connect/routes/user-identities/user-identities.ts +14 -104
  250. package/src/lib/seam/connect/routes/webhooks/webhooks.ts +4 -29
  251. package/src/lib/seam/connect/routes/workspaces/index.ts +0 -1
  252. package/src/lib/seam/connect/routes/workspaces/workspaces.ts +6 -81
  253. package/src/lib/seam/connect/seam-http-request.ts +1 -1
  254. package/src/lib/version.ts +1 -1
  255. package/lib/seam/connect/resources/acs-credential-pool.d.ts +0 -9
  256. package/lib/seam/connect/resources/acs-credential-pool.js.map +0 -1
  257. package/lib/seam/connect/resources/acs-credential-provisioning-automation.d.ts +0 -7
  258. package/lib/seam/connect/resources/acs-credential-provisioning-automation.js +0 -6
  259. package/lib/seam/connect/resources/acs-credential-provisioning-automation.js.map +0 -1
  260. package/lib/seam/connect/resources/bridge-client-session.d.ts +0 -29
  261. package/lib/seam/connect/resources/bridge-client-session.js.map +0 -1
  262. package/lib/seam/connect/resources/bridge-connected-systems.d.ts +0 -10
  263. package/lib/seam/connect/resources/bridge-connected-systems.js +0 -6
  264. package/lib/seam/connect/resources/bridge-connected-systems.js.map +0 -1
  265. package/lib/seam/connect/resources/customer.d.ts +0 -5
  266. package/lib/seam/connect/resources/customer.js.map +0 -1
  267. package/lib/seam/connect/resources/customization-profile.d.ts +0 -18
  268. package/lib/seam/connect/resources/customization-profile.js +0 -6
  269. package/lib/seam/connect/resources/customization-profile.js.map +0 -1
  270. package/lib/seam/connect/resources/enrollment-automation.d.ts +0 -7
  271. package/lib/seam/connect/resources/enrollment-automation.js +0 -6
  272. package/lib/seam/connect/resources/enrollment-automation.js.map +0 -1
  273. package/lib/seam/connect/resources/magic-link.d.ts +0 -7
  274. package/lib/seam/connect/resources/magic-link.js +0 -6
  275. package/lib/seam/connect/resources/magic-link.js.map +0 -1
  276. package/lib/seam/connect/resources/phone-session.d.ts +0 -185
  277. package/lib/seam/connect/resources/phone-session.js +0 -6
  278. package/lib/seam/connect/resources/phone-session.js.map +0 -1
  279. package/lib/seam/connect/resources/staff-member.d.ts +0 -16
  280. package/lib/seam/connect/resources/staff-member.js +0 -6
  281. package/lib/seam/connect/resources/staff-member.js.map +0 -1
  282. package/lib/seam/connect/resources/unknown.d.ts +0 -1
  283. package/lib/seam/connect/resources/unknown.js +0 -6
  284. package/lib/seam/connect/resources/unknown.js.map +0 -1
  285. package/lib/seam/connect/resources/unmanaged-acs-access-group.d.ts +0 -89
  286. package/lib/seam/connect/resources/unmanaged-acs-access-group.js +0 -6
  287. package/lib/seam/connect/resources/unmanaged-acs-access-group.js.map +0 -1
  288. package/lib/seam/connect/resources/unmanaged-acs-credential.d.ts +0 -74
  289. package/lib/seam/connect/resources/unmanaged-acs-credential.js +0 -6
  290. package/lib/seam/connect/resources/unmanaged-acs-credential.js.map +0 -1
  291. package/lib/seam/connect/resources/unmanaged-acs-user.d.ts +0 -155
  292. package/lib/seam/connect/resources/unmanaged-acs-user.js +0 -6
  293. package/lib/seam/connect/resources/unmanaged-acs-user.js.map +0 -1
  294. package/lib/seam/connect/routes/acs/access-groups/unmanaged/index.d.ts +0 -1
  295. package/lib/seam/connect/routes/acs/access-groups/unmanaged/index.js +0 -6
  296. package/lib/seam/connect/routes/acs/access-groups/unmanaged/index.js.map +0 -1
  297. package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.d.ts +0 -46
  298. package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.js +0 -116
  299. package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.js.map +0 -1
  300. package/lib/seam/connect/routes/acs/credential-pools/credential-pools.d.ts +0 -33
  301. package/lib/seam/connect/routes/acs/credential-pools/credential-pools.js +0 -104
  302. package/lib/seam/connect/routes/acs/credential-pools/credential-pools.js.map +0 -1
  303. package/lib/seam/connect/routes/acs/credential-pools/index.d.ts +0 -1
  304. package/lib/seam/connect/routes/acs/credential-pools/index.js +0 -6
  305. package/lib/seam/connect/routes/acs/credential-pools/index.js.map +0 -1
  306. package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.d.ts +0 -33
  307. package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.js +0 -104
  308. package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.js.map +0 -1
  309. package/lib/seam/connect/routes/acs/credential-provisioning-automations/index.d.ts +0 -1
  310. package/lib/seam/connect/routes/acs/credential-provisioning-automations/index.js +0 -6
  311. package/lib/seam/connect/routes/acs/credential-provisioning-automations/index.js.map +0 -1
  312. package/lib/seam/connect/routes/acs/credentials/unmanaged/index.d.ts +0 -1
  313. package/lib/seam/connect/routes/acs/credentials/unmanaged/index.js +0 -6
  314. package/lib/seam/connect/routes/acs/credentials/unmanaged/index.js.map +0 -1
  315. package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.d.ts +0 -46
  316. package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.js +0 -116
  317. package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.js.map +0 -1
  318. package/lib/seam/connect/routes/acs/users/unmanaged/index.d.ts +0 -1
  319. package/lib/seam/connect/routes/acs/users/unmanaged/index.js +0 -6
  320. package/lib/seam/connect/routes/acs/users/unmanaged/index.js.map +0 -1
  321. package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.d.ts +0 -46
  322. package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.js +0 -116
  323. package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.js.map +0 -1
  324. package/lib/seam/connect/routes/bridges/bridges.d.ts +0 -46
  325. package/lib/seam/connect/routes/bridges/bridges.js +0 -116
  326. package/lib/seam/connect/routes/bridges/bridges.js.map +0 -1
  327. package/lib/seam/connect/routes/bridges/index.d.ts +0 -1
  328. package/lib/seam/connect/routes/bridges/index.js +0 -6
  329. package/lib/seam/connect/routes/bridges/index.js.map +0 -1
  330. package/lib/seam/connect/routes/customers/reservations/index.d.ts +0 -1
  331. package/lib/seam/connect/routes/customers/reservations/index.js +0 -6
  332. package/lib/seam/connect/routes/customers/reservations/index.js.map +0 -1
  333. package/lib/seam/connect/routes/customers/reservations/reservations.d.ts +0 -33
  334. package/lib/seam/connect/routes/customers/reservations/reservations.js +0 -104
  335. package/lib/seam/connect/routes/customers/reservations/reservations.js.map +0 -1
  336. package/lib/seam/connect/routes/seam/console/console.d.ts +0 -21
  337. package/lib/seam/connect/routes/seam/console/console.js +0 -95
  338. package/lib/seam/connect/routes/seam/console/console.js.map +0 -1
  339. package/lib/seam/connect/routes/seam/console/index.d.ts +0 -2
  340. package/lib/seam/connect/routes/seam/console/index.js +0 -7
  341. package/lib/seam/connect/routes/seam/console/index.js.map +0 -1
  342. package/lib/seam/connect/routes/seam/console/v1/index.d.ts +0 -5
  343. package/lib/seam/connect/routes/seam/console/v1/index.js +0 -10
  344. package/lib/seam/connect/routes/seam/console/v1/index.js.map +0 -1
  345. package/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.d.ts +0 -1
  346. package/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.js +0 -6
  347. package/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.js.map +0 -1
  348. package/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.d.ts +0 -72
  349. package/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.js +0 -140
  350. package/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.js.map +0 -1
  351. package/lib/seam/connect/routes/seam/console/v1/sites/index.d.ts +0 -1
  352. package/lib/seam/connect/routes/seam/console/v1/sites/index.js +0 -6
  353. package/lib/seam/connect/routes/seam/console/v1/sites/index.js.map +0 -1
  354. package/lib/seam/connect/routes/seam/console/v1/sites/sites.d.ts +0 -72
  355. package/lib/seam/connect/routes/seam/console/v1/sites/sites.js +0 -140
  356. package/lib/seam/connect/routes/seam/console/v1/sites/sites.js.map +0 -1
  357. package/lib/seam/connect/routes/seam/console/v1/timelines/index.d.ts +0 -1
  358. package/lib/seam/connect/routes/seam/console/v1/timelines/index.js +0 -6
  359. package/lib/seam/connect/routes/seam/console/v1/timelines/index.js.map +0 -1
  360. package/lib/seam/connect/routes/seam/console/v1/timelines/timelines.d.ts +0 -33
  361. package/lib/seam/connect/routes/seam/console/v1/timelines/timelines.js +0 -104
  362. package/lib/seam/connect/routes/seam/console/v1/timelines/timelines.js.map +0 -1
  363. package/lib/seam/connect/routes/seam/console/v1/v1.d.ts +0 -39
  364. package/lib/seam/connect/routes/seam/console/v1/v1.js +0 -116
  365. package/lib/seam/connect/routes/seam/console/v1/v1.js.map +0 -1
  366. package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.d.ts +0 -46
  367. package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.js +0 -116
  368. package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.js.map +0 -1
  369. package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.d.ts +0 -1
  370. package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.js +0 -6
  371. package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.js.map +0 -1
  372. package/lib/seam/connect/routes/seam/console/v1/workspace/index.d.ts +0 -1
  373. package/lib/seam/connect/routes/seam/console/v1/workspace/index.js +0 -6
  374. package/lib/seam/connect/routes/seam/console/v1/workspace/index.js.map +0 -1
  375. package/lib/seam/connect/routes/seam/customer/index.d.ts +0 -1
  376. package/lib/seam/connect/routes/seam/customer/index.js +0 -6
  377. package/lib/seam/connect/routes/seam/customer/index.js.map +0 -1
  378. package/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.d.ts +0 -46
  379. package/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.js +0 -116
  380. package/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.js.map +0 -1
  381. package/lib/seam/connect/routes/seam/customer/v1/access-grants/index.d.ts +0 -1
  382. package/lib/seam/connect/routes/seam/customer/v1/access-grants/index.js +0 -6
  383. package/lib/seam/connect/routes/seam/customer/v1/access-grants/index.js.map +0 -1
  384. package/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.d.ts +0 -32
  385. package/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.js +0 -104
  386. package/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.js.map +0 -1
  387. package/lib/seam/connect/routes/seam/customer/v1/access-methods/index.d.ts +0 -1
  388. package/lib/seam/connect/routes/seam/customer/v1/access-methods/index.js +0 -6
  389. package/lib/seam/connect/routes/seam/customer/v1/access-methods/index.js.map +0 -1
  390. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.d.ts +0 -33
  391. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js +0 -104
  392. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js.map +0 -1
  393. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.d.ts +0 -1
  394. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.js +0 -6
  395. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.js.map +0 -1
  396. package/lib/seam/connect/routes/seam/customer/v1/automations/automations.d.ts +0 -59
  397. package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js +0 -128
  398. package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js.map +0 -1
  399. package/lib/seam/connect/routes/seam/customer/v1/automations/index.d.ts +0 -1
  400. package/lib/seam/connect/routes/seam/customer/v1/automations/index.js +0 -6
  401. package/lib/seam/connect/routes/seam/customer/v1/automations/index.js.map +0 -1
  402. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.d.ts +0 -33
  403. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.js +0 -104
  404. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.js.map +0 -1
  405. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.d.ts +0 -1
  406. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.js +0 -6
  407. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.js.map +0 -1
  408. package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.d.ts +0 -115
  409. package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.js +0 -184
  410. package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.js.map +0 -1
  411. package/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/external-sites.d.ts +0 -33
  412. package/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/external-sites.js +0 -104
  413. package/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/external-sites.js.map +0 -1
  414. package/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/index.d.ts +0 -1
  415. package/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/index.js +0 -6
  416. package/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/index.js.map +0 -1
  417. package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/ical.d.ts +0 -33
  418. package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/ical.js +0 -104
  419. package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/ical.js.map +0 -1
  420. package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/index.d.ts +0 -1
  421. package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/index.js +0 -6
  422. package/lib/seam/connect/routes/seam/customer/v1/connectors/ical/index.js.map +0 -1
  423. package/lib/seam/connect/routes/seam/customer/v1/connectors/index.d.ts +0 -3
  424. package/lib/seam/connect/routes/seam/customer/v1/connectors/index.js +0 -8
  425. package/lib/seam/connect/routes/seam/customer/v1/connectors/index.js.map +0 -1
  426. package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.d.ts +0 -46
  427. package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.js +0 -116
  428. package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.js.map +0 -1
  429. package/lib/seam/connect/routes/seam/customer/v1/customers/automations/index.d.ts +0 -1
  430. package/lib/seam/connect/routes/seam/customer/v1/customers/automations/index.js +0 -6
  431. package/lib/seam/connect/routes/seam/customer/v1/customers/automations/index.js.map +0 -1
  432. package/lib/seam/connect/routes/seam/customer/v1/customers/customers.d.ts +0 -61
  433. package/lib/seam/connect/routes/seam/customer/v1/customers/customers.js +0 -132
  434. package/lib/seam/connect/routes/seam/customer/v1/customers/customers.js.map +0 -1
  435. package/lib/seam/connect/routes/seam/customer/v1/customers/index.d.ts +0 -2
  436. package/lib/seam/connect/routes/seam/customer/v1/customers/index.js +0 -7
  437. package/lib/seam/connect/routes/seam/customer/v1/customers/index.js.map +0 -1
  438. package/lib/seam/connect/routes/seam/customer/v1/encoders/encoders.d.ts +0 -33
  439. package/lib/seam/connect/routes/seam/customer/v1/encoders/encoders.js +0 -104
  440. package/lib/seam/connect/routes/seam/customer/v1/encoders/encoders.js.map +0 -1
  441. package/lib/seam/connect/routes/seam/customer/v1/encoders/index.d.ts +0 -1
  442. package/lib/seam/connect/routes/seam/customer/v1/encoders/index.js +0 -6
  443. package/lib/seam/connect/routes/seam/customer/v1/encoders/index.js.map +0 -1
  444. package/lib/seam/connect/routes/seam/customer/v1/events/events.d.ts +0 -33
  445. package/lib/seam/connect/routes/seam/customer/v1/events/events.js +0 -104
  446. package/lib/seam/connect/routes/seam/customer/v1/events/events.js.map +0 -1
  447. package/lib/seam/connect/routes/seam/customer/v1/events/index.d.ts +0 -1
  448. package/lib/seam/connect/routes/seam/customer/v1/events/index.js +0 -6
  449. package/lib/seam/connect/routes/seam/customer/v1/events/index.js.map +0 -1
  450. package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +0 -15
  451. package/lib/seam/connect/routes/seam/customer/v1/index.js +0 -20
  452. package/lib/seam/connect/routes/seam/customer/v1/index.js.map +0 -1
  453. package/lib/seam/connect/routes/seam/customer/v1/portals/index.d.ts +0 -1
  454. package/lib/seam/connect/routes/seam/customer/v1/portals/index.js +0 -6
  455. package/lib/seam/connect/routes/seam/customer/v1/portals/index.js.map +0 -1
  456. package/lib/seam/connect/routes/seam/customer/v1/portals/portals.d.ts +0 -46
  457. package/lib/seam/connect/routes/seam/customer/v1/portals/portals.js +0 -116
  458. package/lib/seam/connect/routes/seam/customer/v1/portals/portals.js.map +0 -1
  459. package/lib/seam/connect/routes/seam/customer/v1/reservations/index.d.ts +0 -1
  460. package/lib/seam/connect/routes/seam/customer/v1/reservations/index.js +0 -6
  461. package/lib/seam/connect/routes/seam/customer/v1/reservations/index.js.map +0 -1
  462. package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.d.ts +0 -59
  463. package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.js +0 -128
  464. package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.js.map +0 -1
  465. package/lib/seam/connect/routes/seam/customer/v1/settings/index.d.ts +0 -2
  466. package/lib/seam/connect/routes/seam/customer/v1/settings/index.js +0 -7
  467. package/lib/seam/connect/routes/seam/customer/v1/settings/index.js.map +0 -1
  468. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.d.ts +0 -48
  469. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js +0 -120
  470. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js.map +0 -1
  471. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.d.ts +0 -1
  472. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.js +0 -6
  473. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.js.map +0 -1
  474. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.d.ts +0 -33
  475. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.js +0 -104
  476. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.js.map +0 -1
  477. package/lib/seam/connect/routes/seam/customer/v1/spaces/index.d.ts +0 -1
  478. package/lib/seam/connect/routes/seam/customer/v1/spaces/index.js +0 -6
  479. package/lib/seam/connect/routes/seam/customer/v1/spaces/index.js.map +0 -1
  480. package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.d.ts +0 -72
  481. package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js +0 -140
  482. package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js.map +0 -1
  483. package/lib/seam/connect/routes/seam/customer/v1/staff-members/index.d.ts +0 -1
  484. package/lib/seam/connect/routes/seam/customer/v1/staff-members/index.js +0 -6
  485. package/lib/seam/connect/routes/seam/customer/v1/staff-members/index.js.map +0 -1
  486. package/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.d.ts +0 -46
  487. package/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.js +0 -116
  488. package/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.js.map +0 -1
  489. package/lib/seam/connect/routes/seam/customer/v1/v1.d.ts +0 -47
  490. package/lib/seam/connect/routes/seam/customer/v1/v1.js +0 -147
  491. package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +0 -1
  492. package/lib/seam/connect/routes/seam/index.d.ts +0 -3
  493. package/lib/seam/connect/routes/seam/index.js +0 -8
  494. package/lib/seam/connect/routes/seam/index.js.map +0 -1
  495. package/lib/seam/connect/routes/seam/partner/index.d.ts +0 -1
  496. package/lib/seam/connect/routes/seam/partner/index.js +0 -6
  497. package/lib/seam/connect/routes/seam/partner/index.js.map +0 -1
  498. package/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.d.ts +0 -21
  499. package/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.js +0 -95
  500. package/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.js.map +0 -1
  501. package/lib/seam/connect/routes/seam/partner/v1/building-blocks/index.d.ts +0 -2
  502. package/lib/seam/connect/routes/seam/partner/v1/building-blocks/index.js +0 -7
  503. package/lib/seam/connect/routes/seam/partner/v1/building-blocks/index.js.map +0 -1
  504. package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/index.d.ts +0 -1
  505. package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/index.js +0 -6
  506. package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/index.js.map +0 -1
  507. package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.d.ts +0 -33
  508. package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.js +0 -104
  509. package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.js.map +0 -1
  510. package/lib/seam/connect/routes/seam/partner/v1/index.d.ts +0 -1
  511. package/lib/seam/connect/routes/seam/partner/v1/index.js +0 -6
  512. package/lib/seam/connect/routes/seam/partner/v1/index.js.map +0 -1
  513. package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.d.ts +0 -72
  514. package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.js +0 -140
  515. package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.js.map +0 -1
  516. package/lib/seam/connect/routes/unstable-partner/building-blocks/index.d.ts +0 -1
  517. package/lib/seam/connect/routes/unstable-partner/building-blocks/index.js +0 -6
  518. package/lib/seam/connect/routes/unstable-partner/building-blocks/index.js.map +0 -1
  519. package/lib/seam/connect/routes/unstable-partner/index.d.ts +0 -2
  520. package/lib/seam/connect/routes/unstable-partner/index.js +0 -7
  521. package/lib/seam/connect/routes/unstable-partner/index.js.map +0 -1
  522. package/lib/seam/connect/routes/unstable-partner/unstable-partner.d.ts +0 -21
  523. package/lib/seam/connect/routes/unstable-partner/unstable-partner.js +0 -95
  524. package/lib/seam/connect/routes/unstable-partner/unstable-partner.js.map +0 -1
  525. package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.d.ts +0 -72
  526. package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js +0 -140
  527. package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js.map +0 -1
  528. package/lib/seam/connect/routes/user-identities/enrollment-automations/index.d.ts +0 -1
  529. package/lib/seam/connect/routes/user-identities/enrollment-automations/index.js +0 -6
  530. package/lib/seam/connect/routes/user-identities/enrollment-automations/index.js.map +0 -1
  531. package/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.d.ts +0 -85
  532. package/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.js +0 -152
  533. package/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.js.map +0 -1
  534. package/lib/seam/connect/routes/workspaces/customization-profiles/index.d.ts +0 -1
  535. package/lib/seam/connect/routes/workspaces/customization-profiles/index.js +0 -6
  536. package/lib/seam/connect/routes/workspaces/customization-profiles/index.js.map +0 -1
  537. package/src/lib/seam/connect/resources/acs-credential-pool.ts +0 -20
  538. package/src/lib/seam/connect/resources/acs-credential-provisioning-automation.ts +0 -16
  539. package/src/lib/seam/connect/resources/bridge-client-session.ts +0 -51
  540. package/src/lib/seam/connect/resources/bridge-connected-systems.ts +0 -22
  541. package/src/lib/seam/connect/resources/customer.ts +0 -12
  542. package/src/lib/seam/connect/resources/customization-profile.ts +0 -27
  543. package/src/lib/seam/connect/resources/enrollment-automation.ts +0 -16
  544. package/src/lib/seam/connect/resources/magic-link.ts +0 -16
  545. package/src/lib/seam/connect/resources/phone-session.ts +0 -300
  546. package/src/lib/seam/connect/resources/staff-member.ts +0 -23
  547. package/src/lib/seam/connect/resources/unknown.ts +0 -6
  548. package/src/lib/seam/connect/resources/unmanaged-acs-access-group.ts +0 -169
  549. package/src/lib/seam/connect/resources/unmanaged-acs-credential.ts +0 -127
  550. package/src/lib/seam/connect/resources/unmanaged-acs-user.ts +0 -262
  551. package/src/lib/seam/connect/routes/acs/access-groups/unmanaged/index.ts +0 -6
  552. package/src/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.ts +0 -252
  553. package/src/lib/seam/connect/routes/acs/credential-pools/credential-pools.ts +0 -208
  554. package/src/lib/seam/connect/routes/acs/credential-pools/index.ts +0 -6
  555. package/src/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.ts +0 -212
  556. package/src/lib/seam/connect/routes/acs/credential-provisioning-automations/index.ts +0 -6
  557. package/src/lib/seam/connect/routes/acs/credentials/unmanaged/index.ts +0 -6
  558. package/src/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.ts +0 -256
  559. package/src/lib/seam/connect/routes/acs/users/unmanaged/index.ts +0 -6
  560. package/src/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.ts +0 -247
  561. package/src/lib/seam/connect/routes/bridges/bridges.ts +0 -237
  562. package/src/lib/seam/connect/routes/bridges/index.ts +0 -6
  563. package/src/lib/seam/connect/routes/customers/reservations/index.ts +0 -6
  564. package/src/lib/seam/connect/routes/customers/reservations/reservations.ts +0 -209
  565. package/src/lib/seam/connect/routes/seam/console/console.ts +0 -173
  566. package/src/lib/seam/connect/routes/seam/console/index.ts +0 -7
  567. package/src/lib/seam/connect/routes/seam/console/v1/index.ts +0 -10
  568. package/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.ts +0 -6
  569. package/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.ts +0 -336
  570. package/src/lib/seam/connect/routes/seam/console/v1/sites/index.ts +0 -6
  571. package/src/lib/seam/connect/routes/seam/console/v1/sites/sites.ts +0 -322
  572. package/src/lib/seam/connect/routes/seam/console/v1/timelines/index.ts +0 -6
  573. package/src/lib/seam/connect/routes/seam/console/v1/timelines/timelines.ts +0 -209
  574. package/src/lib/seam/connect/routes/seam/console/v1/v1.ts +0 -228
  575. package/src/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.ts +0 -256
  576. package/src/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.ts +0 -6
  577. package/src/lib/seam/connect/routes/seam/console/v1/workspace/index.ts +0 -6
  578. package/src/lib/seam/connect/routes/seam/customer/index.ts +0 -6
  579. package/src/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.ts +0 -252
  580. package/src/lib/seam/connect/routes/seam/customer/v1/access-grants/index.ts +0 -6
  581. package/src/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.ts +0 -215
  582. package/src/lib/seam/connect/routes/seam/customer/v1/access-methods/index.ts +0 -6
  583. package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.ts +0 -212
  584. package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.ts +0 -6
  585. package/src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts +0 -292
  586. package/src/lib/seam/connect/routes/seam/customer/v1/automations/index.ts +0 -6
  587. package/src/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.ts +0 -212
  588. package/src/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.ts +0 -6
  589. package/src/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.ts +0 -473
  590. package/src/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/external-sites.ts +0 -212
  591. package/src/lib/seam/connect/routes/seam/customer/v1/connectors/external-sites/index.ts +0 -6
  592. package/src/lib/seam/connect/routes/seam/customer/v1/connectors/ical/ical.ts +0 -212
  593. package/src/lib/seam/connect/routes/seam/customer/v1/connectors/ical/index.ts +0 -6
  594. package/src/lib/seam/connect/routes/seam/customer/v1/connectors/index.ts +0 -8
  595. package/src/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.ts +0 -256
  596. package/src/lib/seam/connect/routes/seam/customer/v1/customers/automations/index.ts +0 -6
  597. package/src/lib/seam/connect/routes/seam/customer/v1/customers/customers.ts +0 -302
  598. package/src/lib/seam/connect/routes/seam/customer/v1/customers/index.ts +0 -7
  599. package/src/lib/seam/connect/routes/seam/customer/v1/encoders/encoders.ts +0 -209
  600. package/src/lib/seam/connect/routes/seam/customer/v1/encoders/index.ts +0 -6
  601. package/src/lib/seam/connect/routes/seam/customer/v1/events/events.ts +0 -208
  602. package/src/lib/seam/connect/routes/seam/customer/v1/events/index.ts +0 -6
  603. package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +0 -20
  604. package/src/lib/seam/connect/routes/seam/customer/v1/portals/index.ts +0 -6
  605. package/src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts +0 -248
  606. package/src/lib/seam/connect/routes/seam/customer/v1/reservations/index.ts +0 -6
  607. package/src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts +0 -292
  608. package/src/lib/seam/connect/routes/seam/customer/v1/settings/index.ts +0 -7
  609. package/src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts +0 -262
  610. package/src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.ts +0 -6
  611. package/src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.ts +0 -223
  612. package/src/lib/seam/connect/routes/seam/customer/v1/spaces/index.ts +0 -6
  613. package/src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts +0 -328
  614. package/src/lib/seam/connect/routes/seam/customer/v1/staff-members/index.ts +0 -6
  615. package/src/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.ts +0 -252
  616. package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +0 -265
  617. package/src/lib/seam/connect/routes/seam/index.ts +0 -8
  618. package/src/lib/seam/connect/routes/seam/partner/index.ts +0 -6
  619. package/src/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.ts +0 -179
  620. package/src/lib/seam/connect/routes/seam/partner/v1/building-blocks/index.ts +0 -7
  621. package/src/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/index.ts +0 -6
  622. package/src/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.ts +0 -212
  623. package/src/lib/seam/connect/routes/seam/partner/v1/index.ts +0 -6
  624. package/src/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.ts +0 -335
  625. package/src/lib/seam/connect/routes/unstable-partner/building-blocks/index.ts +0 -6
  626. package/src/lib/seam/connect/routes/unstable-partner/index.ts +0 -7
  627. package/src/lib/seam/connect/routes/unstable-partner/unstable-partner.ts +0 -176
  628. package/src/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.ts +0 -332
  629. package/src/lib/seam/connect/routes/user-identities/enrollment-automations/index.ts +0 -6
  630. package/src/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.ts +0 -370
  631. package/src/lib/seam/connect/routes/workspaces/customization-profiles/index.ts +0 -6
@@ -1,116 +0,0 @@
1
- /*
2
- * Automatically generated by codegen/smith.ts.
3
- * Do not edit this file or add other files to this directory.
4
- */
5
- import { seamApiLtsVersion } from '../../../../../../../lts-version.js';
6
- import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../../../../seam/connect/auth.js';
7
- import { createClient } from '../../../../../../../seam/connect/client.js';
8
- import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../../../../seam/connect/options.js';
9
- import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../../../seam/connect/parse-options.js';
10
- import { SeamHttpClientSessions } from '../../../../../../../seam/connect/routes/client-sessions/index.js';
11
- import { SeamHttpRequest } from '../../../../../../../seam/connect/seam-http-request.js';
12
- import { SeamPaginator } from '../../../../../../../seam/connect/seam-paginator.js';
13
- export class SeamHttpSeamCustomerV1Portals {
14
- client;
15
- defaults;
16
- ltsVersion = seamApiLtsVersion;
17
- static ltsVersion = seamApiLtsVersion;
18
- constructor(apiKeyOrOptions = {}) {
19
- const options = parseOptions(apiKeyOrOptions);
20
- if (!options.isUndocumentedApiEnabled) {
21
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
22
- }
23
- this.client = 'client' in options ? options.client : createClient(options);
24
- this.defaults = limitToSeamHttpRequestOptions(options);
25
- }
26
- static fromClient(client, options = {}) {
27
- const constructorOptions = { ...options, client };
28
- if (!isSeamHttpOptionsWithClient(constructorOptions)) {
29
- throw new SeamHttpInvalidOptionsError('Missing client');
30
- }
31
- return new SeamHttpSeamCustomerV1Portals(constructorOptions);
32
- }
33
- static fromApiKey(apiKey, options = {}) {
34
- const constructorOptions = { ...options, apiKey };
35
- if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
36
- throw new SeamHttpInvalidOptionsError('Missing apiKey');
37
- }
38
- return new SeamHttpSeamCustomerV1Portals(constructorOptions);
39
- }
40
- static fromClientSessionToken(clientSessionToken, options = {}) {
41
- const constructorOptions = { ...options, clientSessionToken };
42
- if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
43
- throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
44
- }
45
- return new SeamHttpSeamCustomerV1Portals(constructorOptions);
46
- }
47
- static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
48
- warnOnInsecureuserIdentifierKey(userIdentifierKey);
49
- const clientOptions = parseOptions({ ...options, publishableKey });
50
- if (isSeamHttpOptionsWithClient(clientOptions)) {
51
- throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpSeamCustomerV1Portals.fromPublishableKey');
52
- }
53
- const client = createClient(clientOptions);
54
- const clientSessions = SeamHttpClientSessions.fromClient(client);
55
- const { token } = await clientSessions.getOrCreate({
56
- user_identifier_key: userIdentifierKey,
57
- });
58
- return SeamHttpSeamCustomerV1Portals.fromClientSessionToken(token, options);
59
- }
60
- static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
61
- const constructorOptions = { ...options, consoleSessionToken, workspaceId };
62
- if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
63
- throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
64
- }
65
- return new SeamHttpSeamCustomerV1Portals(constructorOptions);
66
- }
67
- static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
68
- const constructorOptions = { ...options, personalAccessToken, workspaceId };
69
- if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
70
- throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
71
- }
72
- return new SeamHttpSeamCustomerV1Portals(constructorOptions);
73
- }
74
- createPaginator(request) {
75
- return new SeamPaginator(this, request);
76
- }
77
- async updateClientSessionToken(clientSessionToken) {
78
- const { headers } = this.client.defaults;
79
- const authHeaders = getAuthHeadersForClientSessionToken({
80
- clientSessionToken,
81
- });
82
- for (const key of Object.keys(authHeaders)) {
83
- if (headers[key] == null) {
84
- throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
85
- }
86
- }
87
- this.client.defaults.headers = { ...headers, ...authHeaders };
88
- const clientSessions = SeamHttpClientSessions.fromClient(this.client);
89
- await clientSessions.get();
90
- }
91
- get(parameters, options = {}) {
92
- if (!this.defaults.isUndocumentedApiEnabled) {
93
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
94
- }
95
- return new SeamHttpRequest(this, {
96
- pathname: '/seam/customer/v1/portals/get',
97
- method: 'POST',
98
- body: parameters,
99
- responseKey: 'customer_portal',
100
- options,
101
- });
102
- }
103
- update(parameters, options = {}) {
104
- if (!this.defaults.isUndocumentedApiEnabled) {
105
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
106
- }
107
- return new SeamHttpRequest(this, {
108
- pathname: '/seam/customer/v1/portals/update',
109
- method: 'PATCH',
110
- body: parameters,
111
- responseKey: undefined,
112
- options,
113
- });
114
- }
115
- }
116
- //# sourceMappingURL=portals.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"portals.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GAQ5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,6BAA6B,EAC7B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAElE,MAAM,OAAO,6BAA6B;IACxC,MAAM,CAAQ;IACL,QAAQ,CAAkC;IAC1C,UAAU,GAAG,iBAAiB,CAAA;IACvC,MAAM,CAAC,UAAU,GAAG,iBAAiB,CAAA;IAErC,YAAY,kBAA4C,EAAE;QACxD,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE,CAAC;YACtC,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAA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YAC5C,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,kCAAkC;YAC5C,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC"}
@@ -1 +0,0 @@
1
- export * from './reservations.js';
@@ -1,6 +0,0 @@
1
- /*
2
- * Automatically generated by codegen/smith.ts.
3
- * Do not edit this file or add other files to this directory.
4
- */
5
- export * from './reservations.js';
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/reservations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,mBAAmB,CAAA"}
@@ -1,59 +0,0 @@
1
- import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
2
- import { type Client } from '../../../../../../../seam/connect/client.js';
3
- import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../../../seam/connect/options.js';
4
- import { SeamHttpRequest } from '../../../../../../../seam/connect/seam-http-request.js';
5
- import { SeamPaginator } from '../../../../../../../seam/connect/seam-paginator.js';
6
- export declare class SeamHttpSeamCustomerV1Reservations {
7
- client: Client;
8
- readonly defaults: Required<SeamHttpRequestOptions>;
9
- readonly ltsVersion = "1.0.0";
10
- static ltsVersion: string;
11
- constructor(apiKeyOrOptions?: string | SeamHttpOptions);
12
- static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpSeamCustomerV1Reservations;
13
- static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamCustomerV1Reservations;
14
- static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamCustomerV1Reservations;
15
- static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamCustomerV1Reservations>;
16
- static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Reservations;
17
- static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Reservations;
18
- createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
19
- updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
20
- get(parameters?: SeamCustomerV1ReservationsGetParameters, options?: SeamCustomerV1ReservationsGetOptions): SeamCustomerV1ReservationsGetRequest;
21
- list(parameters?: SeamCustomerV1ReservationsListParameters, options?: SeamCustomerV1ReservationsListOptions): SeamCustomerV1ReservationsListRequest;
22
- listAccessGrants(parameters: SeamCustomerV1ReservationsListAccessGrantsParameters, options?: SeamCustomerV1ReservationsListAccessGrantsOptions): SeamCustomerV1ReservationsListAccessGrantsRequest;
23
- }
24
- export type SeamCustomerV1ReservationsGetParameters = RouteRequestBody<'/seam/customer/v1/reservations/get'>;
25
- /**
26
- * @deprecated Use SeamCustomerV1ReservationsGetParameters instead.
27
- */
28
- export type SeamCustomerV1ReservationsGetParams = SeamCustomerV1ReservationsGetParameters;
29
- /**
30
- * @deprecated Use SeamCustomerV1ReservationsGetRequest instead.
31
- */
32
- export type SeamCustomerV1ReservationsGetResponse = RouteResponse<'/seam/customer/v1/reservations/get'>;
33
- export type SeamCustomerV1ReservationsGetRequest = SeamHttpRequest<SeamCustomerV1ReservationsGetResponse, 'reservation'>;
34
- export interface SeamCustomerV1ReservationsGetOptions {
35
- }
36
- export type SeamCustomerV1ReservationsListParameters = RouteRequestBody<'/seam/customer/v1/reservations/list'>;
37
- /**
38
- * @deprecated Use SeamCustomerV1ReservationsListParameters instead.
39
- */
40
- export type SeamCustomerV1ReservationsListParams = SeamCustomerV1ReservationsListParameters;
41
- /**
42
- * @deprecated Use SeamCustomerV1ReservationsListRequest instead.
43
- */
44
- export type SeamCustomerV1ReservationsListResponse = RouteResponse<'/seam/customer/v1/reservations/list'>;
45
- export type SeamCustomerV1ReservationsListRequest = SeamHttpRequest<SeamCustomerV1ReservationsListResponse, 'reservations'>;
46
- export interface SeamCustomerV1ReservationsListOptions {
47
- }
48
- export type SeamCustomerV1ReservationsListAccessGrantsParameters = RouteRequestBody<'/seam/customer/v1/reservations/list_access_grants'>;
49
- /**
50
- * @deprecated Use SeamCustomerV1ReservationsListAccessGrantsParameters instead.
51
- */
52
- export type SeamCustomerV1ReservationsListAccessGrantsParams = SeamCustomerV1ReservationsListAccessGrantsParameters;
53
- /**
54
- * @deprecated Use SeamCustomerV1ReservationsListAccessGrantsRequest instead.
55
- */
56
- export type SeamCustomerV1ReservationsListAccessGrantsResponse = RouteResponse<'/seam/customer/v1/reservations/list_access_grants'>;
57
- export type SeamCustomerV1ReservationsListAccessGrantsRequest = SeamHttpRequest<SeamCustomerV1ReservationsListAccessGrantsResponse, 'access_grants'>;
58
- export interface SeamCustomerV1ReservationsListAccessGrantsOptions {
59
- }
@@ -1,128 +0,0 @@
1
- /*
2
- * Automatically generated by codegen/smith.ts.
3
- * Do not edit this file or add other files to this directory.
4
- */
5
- import { seamApiLtsVersion } from '../../../../../../../lts-version.js';
6
- import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../../../../seam/connect/auth.js';
7
- import { createClient } from '../../../../../../../seam/connect/client.js';
8
- import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../../../../seam/connect/options.js';
9
- import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../../../seam/connect/parse-options.js';
10
- import { SeamHttpClientSessions } from '../../../../../../../seam/connect/routes/client-sessions/index.js';
11
- import { SeamHttpRequest } from '../../../../../../../seam/connect/seam-http-request.js';
12
- import { SeamPaginator } from '../../../../../../../seam/connect/seam-paginator.js';
13
- export class SeamHttpSeamCustomerV1Reservations {
14
- client;
15
- defaults;
16
- ltsVersion = seamApiLtsVersion;
17
- static ltsVersion = seamApiLtsVersion;
18
- constructor(apiKeyOrOptions = {}) {
19
- const options = parseOptions(apiKeyOrOptions);
20
- if (!options.isUndocumentedApiEnabled) {
21
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
22
- }
23
- this.client = 'client' in options ? options.client : createClient(options);
24
- this.defaults = limitToSeamHttpRequestOptions(options);
25
- }
26
- static fromClient(client, options = {}) {
27
- const constructorOptions = { ...options, client };
28
- if (!isSeamHttpOptionsWithClient(constructorOptions)) {
29
- throw new SeamHttpInvalidOptionsError('Missing client');
30
- }
31
- return new SeamHttpSeamCustomerV1Reservations(constructorOptions);
32
- }
33
- static fromApiKey(apiKey, options = {}) {
34
- const constructorOptions = { ...options, apiKey };
35
- if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
36
- throw new SeamHttpInvalidOptionsError('Missing apiKey');
37
- }
38
- return new SeamHttpSeamCustomerV1Reservations(constructorOptions);
39
- }
40
- static fromClientSessionToken(clientSessionToken, options = {}) {
41
- const constructorOptions = { ...options, clientSessionToken };
42
- if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
43
- throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
44
- }
45
- return new SeamHttpSeamCustomerV1Reservations(constructorOptions);
46
- }
47
- static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
48
- warnOnInsecureuserIdentifierKey(userIdentifierKey);
49
- const clientOptions = parseOptions({ ...options, publishableKey });
50
- if (isSeamHttpOptionsWithClient(clientOptions)) {
51
- throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpSeamCustomerV1Reservations.fromPublishableKey');
52
- }
53
- const client = createClient(clientOptions);
54
- const clientSessions = SeamHttpClientSessions.fromClient(client);
55
- const { token } = await clientSessions.getOrCreate({
56
- user_identifier_key: userIdentifierKey,
57
- });
58
- return SeamHttpSeamCustomerV1Reservations.fromClientSessionToken(token, options);
59
- }
60
- static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
61
- const constructorOptions = { ...options, consoleSessionToken, workspaceId };
62
- if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
63
- throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
64
- }
65
- return new SeamHttpSeamCustomerV1Reservations(constructorOptions);
66
- }
67
- static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
68
- const constructorOptions = { ...options, personalAccessToken, workspaceId };
69
- if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
70
- throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
71
- }
72
- return new SeamHttpSeamCustomerV1Reservations(constructorOptions);
73
- }
74
- createPaginator(request) {
75
- return new SeamPaginator(this, request);
76
- }
77
- async updateClientSessionToken(clientSessionToken) {
78
- const { headers } = this.client.defaults;
79
- const authHeaders = getAuthHeadersForClientSessionToken({
80
- clientSessionToken,
81
- });
82
- for (const key of Object.keys(authHeaders)) {
83
- if (headers[key] == null) {
84
- throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
85
- }
86
- }
87
- this.client.defaults.headers = { ...headers, ...authHeaders };
88
- const clientSessions = SeamHttpClientSessions.fromClient(this.client);
89
- await clientSessions.get();
90
- }
91
- get(parameters, options = {}) {
92
- if (!this.defaults.isUndocumentedApiEnabled) {
93
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
94
- }
95
- return new SeamHttpRequest(this, {
96
- pathname: '/seam/customer/v1/reservations/get',
97
- method: 'POST',
98
- body: parameters,
99
- responseKey: 'reservation',
100
- options,
101
- });
102
- }
103
- list(parameters, options = {}) {
104
- if (!this.defaults.isUndocumentedApiEnabled) {
105
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
106
- }
107
- return new SeamHttpRequest(this, {
108
- pathname: '/seam/customer/v1/reservations/list',
109
- method: 'POST',
110
- body: parameters,
111
- responseKey: 'reservations',
112
- options,
113
- });
114
- }
115
- listAccessGrants(parameters, options = {}) {
116
- if (!this.defaults.isUndocumentedApiEnabled) {
117
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
118
- }
119
- return new SeamHttpRequest(this, {
120
- pathname: '/seam/customer/v1/reservations/list_access_grants',
121
- method: 'POST',
122
- body: parameters,
123
- responseKey: 'access_grants',
124
- options,
125
- });
126
- }
127
- }
128
- //# sourceMappingURL=reservations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reservations.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EAC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R,CAAC,CAAA;IACJ,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './settings.js';
2
- export * from './vertical-resource-aliases/index.js';
@@ -1,7 +0,0 @@
1
- /*
2
- * Automatically generated by codegen/smith.ts.
3
- * Do not edit this file or add other files to this directory.
4
- */
5
- export * from './settings.js';
6
- export * from './vertical-resource-aliases/index.js';
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/settings/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,eAAe,CAAA;AAC7B,cAAc,sCAAsC,CAAA"}
@@ -1,48 +0,0 @@
1
- import type { RouteRequestBody, RouteRequestParams, RouteResponse } from '@seamapi/types/connect';
2
- import { type Client } from '../../../../../../../seam/connect/client.js';
3
- import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../../../seam/connect/options.js';
4
- import { SeamHttpRequest } from '../../../../../../../seam/connect/seam-http-request.js';
5
- import { SeamPaginator } from '../../../../../../../seam/connect/seam-paginator.js';
6
- import { SeamHttpSeamCustomerV1SettingsVerticalResourceAliases } from './vertical-resource-aliases/index.js';
7
- export declare class SeamHttpSeamCustomerV1Settings {
8
- client: Client;
9
- readonly defaults: Required<SeamHttpRequestOptions>;
10
- readonly ltsVersion = "1.0.0";
11
- static ltsVersion: string;
12
- constructor(apiKeyOrOptions?: string | SeamHttpOptions);
13
- static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpSeamCustomerV1Settings;
14
- static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamCustomerV1Settings;
15
- static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamCustomerV1Settings;
16
- static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamCustomerV1Settings>;
17
- static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Settings;
18
- static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Settings;
19
- createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
20
- updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
21
- get verticalResourceAliases(): SeamHttpSeamCustomerV1SettingsVerticalResourceAliases;
22
- get(parameters?: SeamCustomerV1SettingsGetParameters, options?: SeamCustomerV1SettingsGetOptions): SeamCustomerV1SettingsGetRequest;
23
- update(parameters?: SeamCustomerV1SettingsUpdateParameters, options?: SeamCustomerV1SettingsUpdateOptions): SeamCustomerV1SettingsUpdateRequest;
24
- }
25
- export type SeamCustomerV1SettingsGetParameters = RouteRequestParams<'/seam/customer/v1/settings/get'>;
26
- /**
27
- * @deprecated Use SeamCustomerV1SettingsGetParameters instead.
28
- */
29
- export type SeamCustomerV1SettingsGetParams = SeamCustomerV1SettingsGetParameters;
30
- /**
31
- * @deprecated Use SeamCustomerV1SettingsGetRequest instead.
32
- */
33
- export type SeamCustomerV1SettingsGetResponse = RouteResponse<'/seam/customer/v1/settings/get'>;
34
- export type SeamCustomerV1SettingsGetRequest = SeamHttpRequest<SeamCustomerV1SettingsGetResponse, 'business_vertical'>;
35
- export interface SeamCustomerV1SettingsGetOptions {
36
- }
37
- export type SeamCustomerV1SettingsUpdateParameters = RouteRequestBody<'/seam/customer/v1/settings/update'>;
38
- /**
39
- * @deprecated Use SeamCustomerV1SettingsUpdateParameters instead.
40
- */
41
- export type SeamCustomerV1SettingsUpdateBody = SeamCustomerV1SettingsUpdateParameters;
42
- /**
43
- * @deprecated Use SeamCustomerV1SettingsUpdateRequest instead.
44
- */
45
- export type SeamCustomerV1SettingsUpdateResponse = RouteResponse<'/seam/customer/v1/settings/update'>;
46
- export type SeamCustomerV1SettingsUpdateRequest = SeamHttpRequest<void, undefined>;
47
- export interface SeamCustomerV1SettingsUpdateOptions {
48
- }
@@ -1,120 +0,0 @@
1
- /*
2
- * Automatically generated by codegen/smith.ts.
3
- * Do not edit this file or add other files to this directory.
4
- */
5
- import { seamApiLtsVersion } from '../../../../../../../lts-version.js';
6
- import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../../../../seam/connect/auth.js';
7
- import { createClient } from '../../../../../../../seam/connect/client.js';
8
- import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../../../../seam/connect/options.js';
9
- import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../../../seam/connect/parse-options.js';
10
- import { SeamHttpClientSessions } from '../../../../../../../seam/connect/routes/client-sessions/index.js';
11
- import { SeamHttpRequest } from '../../../../../../../seam/connect/seam-http-request.js';
12
- import { SeamPaginator } from '../../../../../../../seam/connect/seam-paginator.js';
13
- import { SeamHttpSeamCustomerV1SettingsVerticalResourceAliases } from './vertical-resource-aliases/index.js';
14
- export class SeamHttpSeamCustomerV1Settings {
15
- client;
16
- defaults;
17
- ltsVersion = seamApiLtsVersion;
18
- static ltsVersion = seamApiLtsVersion;
19
- constructor(apiKeyOrOptions = {}) {
20
- const options = parseOptions(apiKeyOrOptions);
21
- if (!options.isUndocumentedApiEnabled) {
22
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
23
- }
24
- this.client = 'client' in options ? options.client : createClient(options);
25
- this.defaults = limitToSeamHttpRequestOptions(options);
26
- }
27
- static fromClient(client, options = {}) {
28
- const constructorOptions = { ...options, client };
29
- if (!isSeamHttpOptionsWithClient(constructorOptions)) {
30
- throw new SeamHttpInvalidOptionsError('Missing client');
31
- }
32
- return new SeamHttpSeamCustomerV1Settings(constructorOptions);
33
- }
34
- static fromApiKey(apiKey, options = {}) {
35
- const constructorOptions = { ...options, apiKey };
36
- if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
37
- throw new SeamHttpInvalidOptionsError('Missing apiKey');
38
- }
39
- return new SeamHttpSeamCustomerV1Settings(constructorOptions);
40
- }
41
- static fromClientSessionToken(clientSessionToken, options = {}) {
42
- const constructorOptions = { ...options, clientSessionToken };
43
- if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
44
- throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
45
- }
46
- return new SeamHttpSeamCustomerV1Settings(constructorOptions);
47
- }
48
- static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
49
- warnOnInsecureuserIdentifierKey(userIdentifierKey);
50
- const clientOptions = parseOptions({ ...options, publishableKey });
51
- if (isSeamHttpOptionsWithClient(clientOptions)) {
52
- throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpSeamCustomerV1Settings.fromPublishableKey');
53
- }
54
- const client = createClient(clientOptions);
55
- const clientSessions = SeamHttpClientSessions.fromClient(client);
56
- const { token } = await clientSessions.getOrCreate({
57
- user_identifier_key: userIdentifierKey,
58
- });
59
- return SeamHttpSeamCustomerV1Settings.fromClientSessionToken(token, options);
60
- }
61
- static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
62
- const constructorOptions = { ...options, consoleSessionToken, workspaceId };
63
- if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
64
- throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
65
- }
66
- return new SeamHttpSeamCustomerV1Settings(constructorOptions);
67
- }
68
- static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
69
- const constructorOptions = { ...options, personalAccessToken, workspaceId };
70
- if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
71
- throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
72
- }
73
- return new SeamHttpSeamCustomerV1Settings(constructorOptions);
74
- }
75
- createPaginator(request) {
76
- return new SeamPaginator(this, request);
77
- }
78
- async updateClientSessionToken(clientSessionToken) {
79
- const { headers } = this.client.defaults;
80
- const authHeaders = getAuthHeadersForClientSessionToken({
81
- clientSessionToken,
82
- });
83
- for (const key of Object.keys(authHeaders)) {
84
- if (headers[key] == null) {
85
- throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
86
- }
87
- }
88
- this.client.defaults.headers = { ...headers, ...authHeaders };
89
- const clientSessions = SeamHttpClientSessions.fromClient(this.client);
90
- await clientSessions.get();
91
- }
92
- get verticalResourceAliases() {
93
- return SeamHttpSeamCustomerV1SettingsVerticalResourceAliases.fromClient(this.client, this.defaults);
94
- }
95
- get(parameters, options = {}) {
96
- if (!this.defaults.isUndocumentedApiEnabled) {
97
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
98
- }
99
- return new SeamHttpRequest(this, {
100
- pathname: '/seam/customer/v1/settings/get',
101
- method: 'GET',
102
- params: parameters,
103
- responseKey: 'business_vertical',
104
- options,
105
- });
106
- }
107
- update(parameters, options = {}) {
108
- if (!this.defaults.isUndocumentedApiEnabled) {
109
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
110
- }
111
- return new SeamHttpRequest(this, {
112
- pathname: '/seam/customer/v1/settings/update',
113
- method: 'PATCH',
114
- body: parameters,
115
- responseKey: undefined,
116
- options,
117
- });
118
- }
119
- }
120
- //# sourceMappingURL=settings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GAQ5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,6BAA6B,EAC7B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAElE,OAAO,EAAE,qDAAqD,EAAE,MAAM,sCAAsC,CAAA;AAE5G,MAAM,OAAO,8BAA8B;IACzC,MAAM,CAAQ;IACL,QAAQ,CAAkC;IAC1C,UAAU,GAAG,iBAAiB,CAAA;IACvC,MAAM,CAAC,UAAU,GAAG,iBAAiB,CAAA;IAErC,YAAY,kBAA4C,EAAE;QACxD,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE,CAAC;YACtC,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,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CAAC;IAED,MAAM,CACJ,UAAmD,EACnD,UAA+C,EAAE;QAEjD,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC5C,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,mCAAmC;YAC7C,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC"}
@@ -1 +0,0 @@
1
- export * from './vertical-resource-aliases.js';
@@ -1,6 +0,0 @@
1
- /*
2
- * Automatically generated by codegen/smith.ts.
3
- * Do not edit this file or add other files to this directory.
4
- */
5
- export * from './vertical-resource-aliases.js';
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,gCAAgC,CAAA"}
@@ -1,33 +0,0 @@
1
- import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
2
- import { type Client } from '../../../../../../../../seam/connect/client.js';
3
- import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../../../../seam/connect/options.js';
4
- import { SeamHttpRequest } from '../../../../../../../../seam/connect/seam-http-request.js';
5
- import { SeamPaginator } from '../../../../../../../../seam/connect/seam-paginator.js';
6
- export declare class SeamHttpSeamCustomerV1SettingsVerticalResourceAliases {
7
- client: Client;
8
- readonly defaults: Required<SeamHttpRequestOptions>;
9
- readonly ltsVersion = "1.0.0";
10
- static ltsVersion: string;
11
- constructor(apiKeyOrOptions?: string | SeamHttpOptions);
12
- static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpSeamCustomerV1SettingsVerticalResourceAliases;
13
- static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamCustomerV1SettingsVerticalResourceAliases;
14
- static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamCustomerV1SettingsVerticalResourceAliases;
15
- static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamCustomerV1SettingsVerticalResourceAliases>;
16
- static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamCustomerV1SettingsVerticalResourceAliases;
17
- static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1SettingsVerticalResourceAliases;
18
- createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
19
- updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
20
- get(parameters?: SeamCustomerV1SettingsVerticalResourceAliasesGetParameters, options?: SeamCustomerV1SettingsVerticalResourceAliasesGetOptions): SeamCustomerV1SettingsVerticalResourceAliasesGetRequest;
21
- }
22
- export type SeamCustomerV1SettingsVerticalResourceAliasesGetParameters = RouteRequestBody<'/seam/customer/v1/settings/vertical_resource_aliases/get'>;
23
- /**
24
- * @deprecated Use SeamCustomerV1SettingsVerticalResourceAliasesGetParameters instead.
25
- */
26
- export type SeamCustomerV1SettingsVerticalResourceAliasesGetParams = SeamCustomerV1SettingsVerticalResourceAliasesGetParameters;
27
- /**
28
- * @deprecated Use SeamCustomerV1SettingsVerticalResourceAliasesGetRequest instead.
29
- */
30
- export type SeamCustomerV1SettingsVerticalResourceAliasesGetResponse = RouteResponse<'/seam/customer/v1/settings/vertical_resource_aliases/get'>;
31
- export type SeamCustomerV1SettingsVerticalResourceAliasesGetRequest = SeamHttpRequest<SeamCustomerV1SettingsVerticalResourceAliasesGetResponse, 'vertical_resource_aliases'>;
32
- export interface SeamCustomerV1SettingsVerticalResourceAliasesGetOptions {
33
- }