@seamapi/http 1.23.0 → 1.25.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 (182) hide show
  1. package/README.md +61 -0
  2. package/dist/connect.cjs +398 -170
  3. package/dist/connect.cjs.map +1 -1
  4. package/dist/connect.d.cts +78 -4
  5. package/dist/index.cjs +2 -2
  6. package/dist/index.cjs.map +1 -1
  7. package/lib/seam/connect/index.d.ts +2 -0
  8. package/lib/seam/connect/index.js +2 -0
  9. package/lib/seam/connect/index.js.map +1 -1
  10. package/lib/seam/connect/routes/access-codes-simulate.d.ts +2 -0
  11. package/lib/seam/connect/routes/access-codes-simulate.js +5 -1
  12. package/lib/seam/connect/routes/access-codes-simulate.js.map +1 -1
  13. package/lib/seam/connect/routes/access-codes-unmanaged.d.ts +2 -0
  14. package/lib/seam/connect/routes/access-codes-unmanaged.js +9 -5
  15. package/lib/seam/connect/routes/access-codes-unmanaged.js.map +1 -1
  16. package/lib/seam/connect/routes/access-codes.d.ts +2 -0
  17. package/lib/seam/connect/routes/access-codes.js +13 -9
  18. package/lib/seam/connect/routes/access-codes.js.map +1 -1
  19. package/lib/seam/connect/routes/acs-access-groups-unmanaged.d.ts +2 -0
  20. package/lib/seam/connect/routes/acs-access-groups-unmanaged.js +6 -2
  21. package/lib/seam/connect/routes/acs-access-groups-unmanaged.js.map +1 -1
  22. package/lib/seam/connect/routes/acs-access-groups.d.ts +2 -0
  23. package/lib/seam/connect/routes/acs-access-groups.js +10 -6
  24. package/lib/seam/connect/routes/acs-access-groups.js.map +1 -1
  25. package/lib/seam/connect/routes/acs-credential-pools.d.ts +2 -0
  26. package/lib/seam/connect/routes/acs-credential-pools.js +5 -1
  27. package/lib/seam/connect/routes/acs-credential-pools.js.map +1 -1
  28. package/lib/seam/connect/routes/acs-credential-provisioning-automations.d.ts +2 -0
  29. package/lib/seam/connect/routes/acs-credential-provisioning-automations.js +5 -1
  30. package/lib/seam/connect/routes/acs-credential-provisioning-automations.js.map +1 -1
  31. package/lib/seam/connect/routes/acs-credentials-unmanaged.d.ts +2 -0
  32. package/lib/seam/connect/routes/acs-credentials-unmanaged.js +6 -2
  33. package/lib/seam/connect/routes/acs-credentials-unmanaged.js.map +1 -1
  34. package/lib/seam/connect/routes/acs-credentials.d.ts +2 -0
  35. package/lib/seam/connect/routes/acs-credentials.js +13 -9
  36. package/lib/seam/connect/routes/acs-credentials.js.map +1 -1
  37. package/lib/seam/connect/routes/acs-encoders-simulate.d.ts +2 -0
  38. package/lib/seam/connect/routes/acs-encoders-simulate.js +8 -4
  39. package/lib/seam/connect/routes/acs-encoders-simulate.js.map +1 -1
  40. package/lib/seam/connect/routes/acs-encoders.d.ts +2 -0
  41. package/lib/seam/connect/routes/acs-encoders.js +7 -3
  42. package/lib/seam/connect/routes/acs-encoders.js.map +1 -1
  43. package/lib/seam/connect/routes/acs-entrances.d.ts +2 -0
  44. package/lib/seam/connect/routes/acs-entrances.js +8 -4
  45. package/lib/seam/connect/routes/acs-entrances.js.map +1 -1
  46. package/lib/seam/connect/routes/acs-systems.d.ts +2 -0
  47. package/lib/seam/connect/routes/acs-systems.js +7 -3
  48. package/lib/seam/connect/routes/acs-systems.js.map +1 -1
  49. package/lib/seam/connect/routes/acs-users-unmanaged.d.ts +2 -0
  50. package/lib/seam/connect/routes/acs-users-unmanaged.js +6 -2
  51. package/lib/seam/connect/routes/acs-users-unmanaged.js.map +1 -1
  52. package/lib/seam/connect/routes/acs-users.d.ts +2 -0
  53. package/lib/seam/connect/routes/acs-users.js +15 -11
  54. package/lib/seam/connect/routes/acs-users.js.map +1 -1
  55. package/lib/seam/connect/routes/acs.d.ts +3 -0
  56. package/lib/seam/connect/routes/acs.js +4 -0
  57. package/lib/seam/connect/routes/acs.js.map +1 -1
  58. package/lib/seam/connect/routes/action-attempts.d.ts +2 -0
  59. package/lib/seam/connect/routes/action-attempts.js +6 -2
  60. package/lib/seam/connect/routes/action-attempts.js.map +1 -1
  61. package/lib/seam/connect/routes/bridges.d.ts +2 -0
  62. package/lib/seam/connect/routes/bridges.js +6 -2
  63. package/lib/seam/connect/routes/bridges.js.map +1 -1
  64. package/lib/seam/connect/routes/client-sessions.d.ts +2 -0
  65. package/lib/seam/connect/routes/client-sessions.js +11 -7
  66. package/lib/seam/connect/routes/client-sessions.js.map +1 -1
  67. package/lib/seam/connect/routes/connect-webviews.d.ts +2 -0
  68. package/lib/seam/connect/routes/connect-webviews.js +8 -4
  69. package/lib/seam/connect/routes/connect-webviews.js.map +1 -1
  70. package/lib/seam/connect/routes/connected-accounts.d.ts +2 -0
  71. package/lib/seam/connect/routes/connected-accounts.js +8 -4
  72. package/lib/seam/connect/routes/connected-accounts.js.map +1 -1
  73. package/lib/seam/connect/routes/devices-simulate.d.ts +2 -0
  74. package/lib/seam/connect/routes/devices-simulate.js +7 -3
  75. package/lib/seam/connect/routes/devices-simulate.js.map +1 -1
  76. package/lib/seam/connect/routes/devices-unmanaged.d.ts +2 -0
  77. package/lib/seam/connect/routes/devices-unmanaged.js +7 -3
  78. package/lib/seam/connect/routes/devices-unmanaged.js.map +1 -1
  79. package/lib/seam/connect/routes/devices.d.ts +2 -0
  80. package/lib/seam/connect/routes/devices.js +9 -5
  81. package/lib/seam/connect/routes/devices.js.map +1 -1
  82. package/lib/seam/connect/routes/events.d.ts +2 -0
  83. package/lib/seam/connect/routes/events.js +6 -2
  84. package/lib/seam/connect/routes/events.js.map +1 -1
  85. package/lib/seam/connect/routes/locks.d.ts +2 -0
  86. package/lib/seam/connect/routes/locks.js +8 -4
  87. package/lib/seam/connect/routes/locks.js.map +1 -1
  88. package/lib/seam/connect/routes/networks.d.ts +2 -0
  89. package/lib/seam/connect/routes/networks.js +6 -2
  90. package/lib/seam/connect/routes/networks.js.map +1 -1
  91. package/lib/seam/connect/routes/noise-sensors-noise-thresholds.d.ts +2 -0
  92. package/lib/seam/connect/routes/noise-sensors-noise-thresholds.js +9 -5
  93. package/lib/seam/connect/routes/noise-sensors-noise-thresholds.js.map +1 -1
  94. package/lib/seam/connect/routes/noise-sensors-simulate.d.ts +2 -0
  95. package/lib/seam/connect/routes/noise-sensors-simulate.js +5 -1
  96. package/lib/seam/connect/routes/noise-sensors-simulate.js.map +1 -1
  97. package/lib/seam/connect/routes/noise-sensors.d.ts +2 -0
  98. package/lib/seam/connect/routes/noise-sensors.js +5 -1
  99. package/lib/seam/connect/routes/noise-sensors.js.map +1 -1
  100. package/lib/seam/connect/routes/phones-simulate.d.ts +2 -0
  101. package/lib/seam/connect/routes/phones-simulate.js +5 -1
  102. package/lib/seam/connect/routes/phones-simulate.js.map +1 -1
  103. package/lib/seam/connect/routes/phones.d.ts +6 -0
  104. package/lib/seam/connect/routes/phones.js +14 -2
  105. package/lib/seam/connect/routes/phones.js.map +1 -1
  106. package/lib/seam/connect/routes/thermostats-schedules.d.ts +2 -0
  107. package/lib/seam/connect/routes/thermostats-schedules.js +9 -5
  108. package/lib/seam/connect/routes/thermostats-schedules.js.map +1 -1
  109. package/lib/seam/connect/routes/thermostats-simulate.d.ts +2 -0
  110. package/lib/seam/connect/routes/thermostats-simulate.js +6 -2
  111. package/lib/seam/connect/routes/thermostats-simulate.js.map +1 -1
  112. package/lib/seam/connect/routes/thermostats.d.ts +2 -0
  113. package/lib/seam/connect/routes/thermostats.js +18 -14
  114. package/lib/seam/connect/routes/thermostats.js.map +1 -1
  115. package/lib/seam/connect/routes/user-identities-enrollment-automations.d.ts +2 -0
  116. package/lib/seam/connect/routes/user-identities-enrollment-automations.js +8 -4
  117. package/lib/seam/connect/routes/user-identities-enrollment-automations.js.map +1 -1
  118. package/lib/seam/connect/routes/user-identities.d.ts +2 -0
  119. package/lib/seam/connect/routes/user-identities.js +16 -12
  120. package/lib/seam/connect/routes/user-identities.js.map +1 -1
  121. package/lib/seam/connect/routes/webhooks.d.ts +2 -0
  122. package/lib/seam/connect/routes/webhooks.js +9 -5
  123. package/lib/seam/connect/routes/webhooks.js.map +1 -1
  124. package/lib/seam/connect/routes/workspaces.d.ts +2 -0
  125. package/lib/seam/connect/routes/workspaces.js +8 -4
  126. package/lib/seam/connect/routes/workspaces.js.map +1 -1
  127. package/lib/seam/connect/seam-http-request.d.ts +6 -3
  128. package/lib/seam/connect/seam-http-request.js +25 -14
  129. package/lib/seam/connect/seam-http-request.js.map +1 -1
  130. package/lib/seam/connect/seam-http.d.ts +3 -0
  131. package/lib/seam/connect/seam-http.js +4 -0
  132. package/lib/seam/connect/seam-http.js.map +1 -1
  133. package/lib/seam/connect/seam-paginator.d.ts +30 -0
  134. package/lib/seam/connect/seam-paginator.js +103 -0
  135. package/lib/seam/connect/seam-paginator.js.map +1 -0
  136. package/lib/version.d.ts +1 -1
  137. package/lib/version.js +1 -1
  138. package/package.json +4 -4
  139. package/src/lib/seam/connect/index.ts +2 -0
  140. package/src/lib/seam/connect/routes/access-codes-simulate.ts +8 -1
  141. package/src/lib/seam/connect/routes/access-codes-unmanaged.ts +12 -5
  142. package/src/lib/seam/connect/routes/access-codes.ts +16 -9
  143. package/src/lib/seam/connect/routes/acs-access-groups-unmanaged.ts +9 -2
  144. package/src/lib/seam/connect/routes/acs-access-groups.ts +13 -6
  145. package/src/lib/seam/connect/routes/acs-credential-pools.ts +8 -1
  146. package/src/lib/seam/connect/routes/acs-credential-provisioning-automations.ts +8 -1
  147. package/src/lib/seam/connect/routes/acs-credentials-unmanaged.ts +9 -2
  148. package/src/lib/seam/connect/routes/acs-credentials.ts +16 -9
  149. package/src/lib/seam/connect/routes/acs-encoders-simulate.ts +11 -4
  150. package/src/lib/seam/connect/routes/acs-encoders.ts +10 -3
  151. package/src/lib/seam/connect/routes/acs-entrances.ts +11 -4
  152. package/src/lib/seam/connect/routes/acs-systems.ts +10 -3
  153. package/src/lib/seam/connect/routes/acs-users-unmanaged.ts +9 -2
  154. package/src/lib/seam/connect/routes/acs-users.ts +18 -11
  155. package/src/lib/seam/connect/routes/acs.ts +8 -0
  156. package/src/lib/seam/connect/routes/action-attempts.ts +9 -2
  157. package/src/lib/seam/connect/routes/bridges.ts +9 -2
  158. package/src/lib/seam/connect/routes/client-sessions.ts +14 -7
  159. package/src/lib/seam/connect/routes/connect-webviews.ts +11 -4
  160. package/src/lib/seam/connect/routes/connected-accounts.ts +11 -4
  161. package/src/lib/seam/connect/routes/devices-simulate.ts +10 -3
  162. package/src/lib/seam/connect/routes/devices-unmanaged.ts +10 -3
  163. package/src/lib/seam/connect/routes/devices.ts +12 -5
  164. package/src/lib/seam/connect/routes/events.ts +9 -2
  165. package/src/lib/seam/connect/routes/locks.ts +11 -4
  166. package/src/lib/seam/connect/routes/networks.ts +9 -2
  167. package/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts +12 -5
  168. package/src/lib/seam/connect/routes/noise-sensors-simulate.ts +8 -1
  169. package/src/lib/seam/connect/routes/noise-sensors.ts +8 -1
  170. package/src/lib/seam/connect/routes/phones-simulate.ts +8 -1
  171. package/src/lib/seam/connect/routes/phones.ts +26 -2
  172. package/src/lib/seam/connect/routes/thermostats-schedules.ts +12 -5
  173. package/src/lib/seam/connect/routes/thermostats-simulate.ts +9 -2
  174. package/src/lib/seam/connect/routes/thermostats.ts +21 -14
  175. package/src/lib/seam/connect/routes/user-identities-enrollment-automations.ts +11 -4
  176. package/src/lib/seam/connect/routes/user-identities.ts +19 -12
  177. package/src/lib/seam/connect/routes/webhooks.ts +12 -5
  178. package/src/lib/seam/connect/routes/workspaces.ts +11 -4
  179. package/src/lib/seam/connect/seam-http-request.ts +45 -23
  180. package/src/lib/seam/connect/seam-http.ts +8 -0
  181. package/src/lib/seam/connect/seam-paginator.ts +155 -0
  182. package/src/lib/version.ts +1 -1
@@ -31,6 +31,7 @@ import {
31
31
  parseOptions,
32
32
  } from 'lib/seam/connect/parse-options.js'
33
33
  import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
34
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
35
  import type { SetNonNullable } from 'lib/types.js'
35
36
 
36
37
  import { SeamHttpAccessCodesSimulate } from './access-codes-simulate.js'
@@ -137,6 +138,12 @@ export class SeamHttpAccessCodes {
137
138
  return new SeamHttpAccessCodes(constructorOptions)
138
139
  }
139
140
 
141
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
142
+ request: SeamHttpRequest<TResponse, TResponseKey>,
143
+ ): SeamPaginator<TResponse, TResponseKey> {
144
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
145
+ }
146
+
140
147
  async updateClientSessionToken(
141
148
  clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
142
149
  ): Promise<void> {
@@ -168,7 +175,7 @@ export class SeamHttpAccessCodes {
168
175
  body?: AccessCodesCreateBody,
169
176
  ): SeamHttpRequest<AccessCodesCreateResponse, 'access_code'> {
170
177
  return new SeamHttpRequest(this, {
171
- path: '/access_codes/create',
178
+ pathname: '/access_codes/create',
172
179
  method: 'post',
173
180
  body,
174
181
  responseKey: 'access_code',
@@ -179,7 +186,7 @@ export class SeamHttpAccessCodes {
179
186
  body?: AccessCodesCreateMultipleBody,
180
187
  ): SeamHttpRequest<AccessCodesCreateMultipleResponse, 'access_codes'> {
181
188
  return new SeamHttpRequest(this, {
182
- path: '/access_codes/create_multiple',
189
+ pathname: '/access_codes/create_multiple',
183
190
  method: 'post',
184
191
  body,
185
192
  responseKey: 'access_codes',
@@ -188,7 +195,7 @@ export class SeamHttpAccessCodes {
188
195
 
189
196
  delete(body?: AccessCodesDeleteParams): SeamHttpRequest<void, undefined> {
190
197
  return new SeamHttpRequest(this, {
191
- path: '/access_codes/delete',
198
+ pathname: '/access_codes/delete',
192
199
  method: 'post',
193
200
  body,
194
201
  responseKey: undefined,
@@ -199,7 +206,7 @@ export class SeamHttpAccessCodes {
199
206
  body?: AccessCodesGenerateCodeBody,
200
207
  ): SeamHttpRequest<AccessCodesGenerateCodeResponse, 'generated_code'> {
201
208
  return new SeamHttpRequest(this, {
202
- path: '/access_codes/generate_code',
209
+ pathname: '/access_codes/generate_code',
203
210
  method: 'post',
204
211
  body,
205
212
  responseKey: 'generated_code',
@@ -210,7 +217,7 @@ export class SeamHttpAccessCodes {
210
217
  body?: AccessCodesGetParams,
211
218
  ): SeamHttpRequest<AccessCodesGetResponse, 'access_code'> {
212
219
  return new SeamHttpRequest(this, {
213
- path: '/access_codes/get',
220
+ pathname: '/access_codes/get',
214
221
  method: 'post',
215
222
  body,
216
223
  responseKey: 'access_code',
@@ -221,7 +228,7 @@ export class SeamHttpAccessCodes {
221
228
  body?: AccessCodesListParams,
222
229
  ): SeamHttpRequest<AccessCodesListResponse, 'access_codes'> {
223
230
  return new SeamHttpRequest(this, {
224
- path: '/access_codes/list',
231
+ pathname: '/access_codes/list',
225
232
  method: 'post',
226
233
  body,
227
234
  responseKey: 'access_codes',
@@ -232,7 +239,7 @@ export class SeamHttpAccessCodes {
232
239
  body?: AccessCodesPullBackupAccessCodeBody,
233
240
  ): SeamHttpRequest<AccessCodesPullBackupAccessCodeResponse, 'access_code'> {
234
241
  return new SeamHttpRequest(this, {
235
- path: '/access_codes/pull_backup_access_code',
242
+ pathname: '/access_codes/pull_backup_access_code',
236
243
  method: 'post',
237
244
  body,
238
245
  responseKey: 'access_code',
@@ -241,7 +248,7 @@ export class SeamHttpAccessCodes {
241
248
 
242
249
  update(body?: AccessCodesUpdateBody): SeamHttpRequest<void, undefined> {
243
250
  return new SeamHttpRequest(this, {
244
- path: '/access_codes/update',
251
+ pathname: '/access_codes/update',
245
252
  method: 'post',
246
253
  body,
247
254
  responseKey: undefined,
@@ -252,7 +259,7 @@ export class SeamHttpAccessCodes {
252
259
  body?: AccessCodesUpdateMultipleBody,
253
260
  ): SeamHttpRequest<void, undefined> {
254
261
  return new SeamHttpRequest(this, {
255
- path: '/access_codes/update_multiple',
262
+ pathname: '/access_codes/update_multiple',
256
263
  method: 'post',
257
264
  body,
258
265
  responseKey: undefined,
@@ -31,6 +31,7 @@ import {
31
31
  parseOptions,
32
32
  } from 'lib/seam/connect/parse-options.js'
33
33
  import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
34
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
35
  import type { SetNonNullable } from 'lib/types.js'
35
36
 
36
37
  import { SeamHttpClientSessions } from './client-sessions.js'
@@ -138,6 +139,12 @@ export class SeamHttpAcsAccessGroupsUnmanaged {
138
139
  return new SeamHttpAcsAccessGroupsUnmanaged(constructorOptions)
139
140
  }
140
141
 
142
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
143
+ request: SeamHttpRequest<TResponse, TResponseKey>,
144
+ ): SeamPaginator<TResponse, TResponseKey> {
145
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
146
+ }
147
+
141
148
  async updateClientSessionToken(
142
149
  clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
143
150
  ): Promise<void> {
@@ -161,7 +168,7 @@ export class SeamHttpAcsAccessGroupsUnmanaged {
161
168
  body?: AcsAccessGroupsUnmanagedGetParams,
162
169
  ): SeamHttpRequest<AcsAccessGroupsUnmanagedGetResponse, 'acs_access_group'> {
163
170
  return new SeamHttpRequest(this, {
164
- path: '/acs/access_groups/unmanaged/get',
171
+ pathname: '/acs/access_groups/unmanaged/get',
165
172
  method: 'post',
166
173
  body,
167
174
  responseKey: 'acs_access_group',
@@ -175,7 +182,7 @@ export class SeamHttpAcsAccessGroupsUnmanaged {
175
182
  'acs_access_groups'
176
183
  > {
177
184
  return new SeamHttpRequest(this, {
178
- path: '/acs/access_groups/unmanaged/list',
185
+ pathname: '/acs/access_groups/unmanaged/list',
179
186
  method: 'post',
180
187
  body,
181
188
  responseKey: 'acs_access_groups',
@@ -31,6 +31,7 @@ import {
31
31
  parseOptions,
32
32
  } from 'lib/seam/connect/parse-options.js'
33
33
  import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
34
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
35
  import type { SetNonNullable } from 'lib/types.js'
35
36
 
36
37
  import { SeamHttpAcsAccessGroupsUnmanaged } from './acs-access-groups-unmanaged.js'
@@ -136,6 +137,12 @@ export class SeamHttpAcsAccessGroups {
136
137
  return new SeamHttpAcsAccessGroups(constructorOptions)
137
138
  }
138
139
 
140
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
141
+ request: SeamHttpRequest<TResponse, TResponseKey>,
142
+ ): SeamPaginator<TResponse, TResponseKey> {
143
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
144
+ }
145
+
139
146
  async updateClientSessionToken(
140
147
  clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
141
148
  ): Promise<void> {
@@ -164,7 +171,7 @@ export class SeamHttpAcsAccessGroups {
164
171
 
165
172
  addUser(body?: AcsAccessGroupsAddUserBody): SeamHttpRequest<void, undefined> {
166
173
  return new SeamHttpRequest(this, {
167
- path: '/acs/access_groups/add_user',
174
+ pathname: '/acs/access_groups/add_user',
168
175
  method: 'post',
169
176
  body,
170
177
  responseKey: undefined,
@@ -175,7 +182,7 @@ export class SeamHttpAcsAccessGroups {
175
182
  body?: AcsAccessGroupsGetParams,
176
183
  ): SeamHttpRequest<AcsAccessGroupsGetResponse, 'acs_access_group'> {
177
184
  return new SeamHttpRequest(this, {
178
- path: '/acs/access_groups/get',
185
+ pathname: '/acs/access_groups/get',
179
186
  method: 'post',
180
187
  body,
181
188
  responseKey: 'acs_access_group',
@@ -186,7 +193,7 @@ export class SeamHttpAcsAccessGroups {
186
193
  body?: AcsAccessGroupsListParams,
187
194
  ): SeamHttpRequest<AcsAccessGroupsListResponse, 'acs_access_groups'> {
188
195
  return new SeamHttpRequest(this, {
189
- path: '/acs/access_groups/list',
196
+ pathname: '/acs/access_groups/list',
190
197
  method: 'post',
191
198
  body,
192
199
  responseKey: 'acs_access_groups',
@@ -200,7 +207,7 @@ export class SeamHttpAcsAccessGroups {
200
207
  'acs_entrances'
201
208
  > {
202
209
  return new SeamHttpRequest(this, {
203
- path: '/acs/access_groups/list_accessible_entrances',
210
+ pathname: '/acs/access_groups/list_accessible_entrances',
204
211
  method: 'post',
205
212
  body,
206
213
  responseKey: 'acs_entrances',
@@ -211,7 +218,7 @@ export class SeamHttpAcsAccessGroups {
211
218
  body?: AcsAccessGroupsListUsersParams,
212
219
  ): SeamHttpRequest<AcsAccessGroupsListUsersResponse, 'acs_users'> {
213
220
  return new SeamHttpRequest(this, {
214
- path: '/acs/access_groups/list_users',
221
+ pathname: '/acs/access_groups/list_users',
215
222
  method: 'post',
216
223
  body,
217
224
  responseKey: 'acs_users',
@@ -222,7 +229,7 @@ export class SeamHttpAcsAccessGroups {
222
229
  body?: AcsAccessGroupsRemoveUserParams,
223
230
  ): SeamHttpRequest<void, undefined> {
224
231
  return new SeamHttpRequest(this, {
225
- path: '/acs/access_groups/remove_user',
232
+ pathname: '/acs/access_groups/remove_user',
226
233
  method: 'post',
227
234
  body,
228
235
  responseKey: undefined,
@@ -31,6 +31,7 @@ import {
31
31
  parseOptions,
32
32
  } from 'lib/seam/connect/parse-options.js'
33
33
  import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
34
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
35
  import type { SetNonNullable } from 'lib/types.js'
35
36
 
36
37
  import { SeamHttpClientSessions } from './client-sessions.js'
@@ -135,6 +136,12 @@ export class SeamHttpAcsCredentialPools {
135
136
  return new SeamHttpAcsCredentialPools(constructorOptions)
136
137
  }
137
138
 
139
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
140
+ request: SeamHttpRequest<TResponse, TResponseKey>,
141
+ ): SeamPaginator<TResponse, TResponseKey> {
142
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
143
+ }
144
+
138
145
  async updateClientSessionToken(
139
146
  clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
140
147
  ): Promise<void> {
@@ -158,7 +165,7 @@ export class SeamHttpAcsCredentialPools {
158
165
  body?: AcsCredentialPoolsListParams,
159
166
  ): SeamHttpRequest<AcsCredentialPoolsListResponse, 'acs_credential_pools'> {
160
167
  return new SeamHttpRequest(this, {
161
- path: '/acs/credential_pools/list',
168
+ pathname: '/acs/credential_pools/list',
162
169
  method: 'post',
163
170
  body,
164
171
  responseKey: 'acs_credential_pools',
@@ -31,6 +31,7 @@ import {
31
31
  parseOptions,
32
32
  } from 'lib/seam/connect/parse-options.js'
33
33
  import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
34
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
35
  import type { SetNonNullable } from 'lib/types.js'
35
36
 
36
37
  import { SeamHttpClientSessions } from './client-sessions.js'
@@ -138,6 +139,12 @@ export class SeamHttpAcsCredentialProvisioningAutomations {
138
139
  return new SeamHttpAcsCredentialProvisioningAutomations(constructorOptions)
139
140
  }
140
141
 
142
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
143
+ request: SeamHttpRequest<TResponse, TResponseKey>,
144
+ ): SeamPaginator<TResponse, TResponseKey> {
145
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
146
+ }
147
+
141
148
  async updateClientSessionToken(
142
149
  clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
143
150
  ): Promise<void> {
@@ -164,7 +171,7 @@ export class SeamHttpAcsCredentialProvisioningAutomations {
164
171
  'acs_credential_provisioning_automation'
165
172
  > {
166
173
  return new SeamHttpRequest(this, {
167
- path: '/acs/credential_provisioning_automations/launch',
174
+ pathname: '/acs/credential_provisioning_automations/launch',
168
175
  method: 'post',
169
176
  body,
170
177
  responseKey: 'acs_credential_provisioning_automation',
@@ -31,6 +31,7 @@ import {
31
31
  parseOptions,
32
32
  } from 'lib/seam/connect/parse-options.js'
33
33
  import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
34
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
35
  import type { SetNonNullable } from 'lib/types.js'
35
36
 
36
37
  import { SeamHttpClientSessions } from './client-sessions.js'
@@ -138,6 +139,12 @@ export class SeamHttpAcsCredentialsUnmanaged {
138
139
  return new SeamHttpAcsCredentialsUnmanaged(constructorOptions)
139
140
  }
140
141
 
142
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
143
+ request: SeamHttpRequest<TResponse, TResponseKey>,
144
+ ): SeamPaginator<TResponse, TResponseKey> {
145
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
146
+ }
147
+
141
148
  async updateClientSessionToken(
142
149
  clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
143
150
  ): Promise<void> {
@@ -161,7 +168,7 @@ export class SeamHttpAcsCredentialsUnmanaged {
161
168
  body?: AcsCredentialsUnmanagedGetParams,
162
169
  ): SeamHttpRequest<AcsCredentialsUnmanagedGetResponse, 'acs_credential'> {
163
170
  return new SeamHttpRequest(this, {
164
- path: '/acs/credentials/unmanaged/get',
171
+ pathname: '/acs/credentials/unmanaged/get',
165
172
  method: 'post',
166
173
  body,
167
174
  responseKey: 'acs_credential',
@@ -172,7 +179,7 @@ export class SeamHttpAcsCredentialsUnmanaged {
172
179
  body?: AcsCredentialsUnmanagedListParams,
173
180
  ): SeamHttpRequest<AcsCredentialsUnmanagedListResponse, 'acs_credentials'> {
174
181
  return new SeamHttpRequest(this, {
175
- path: '/acs/credentials/unmanaged/list',
182
+ pathname: '/acs/credentials/unmanaged/list',
176
183
  method: 'post',
177
184
  body,
178
185
  responseKey: 'acs_credentials',
@@ -31,6 +31,7 @@ import {
31
31
  parseOptions,
32
32
  } from 'lib/seam/connect/parse-options.js'
33
33
  import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
34
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
35
  import type { SetNonNullable } from 'lib/types.js'
35
36
 
36
37
  import { SeamHttpAcsCredentialsUnmanaged } from './acs-credentials-unmanaged.js'
@@ -136,6 +137,12 @@ export class SeamHttpAcsCredentials {
136
137
  return new SeamHttpAcsCredentials(constructorOptions)
137
138
  }
138
139
 
140
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
141
+ request: SeamHttpRequest<TResponse, TResponseKey>,
142
+ ): SeamPaginator<TResponse, TResponseKey> {
143
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
144
+ }
145
+
139
146
  async updateClientSessionToken(
140
147
  clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
141
148
  ): Promise<void> {
@@ -164,7 +171,7 @@ export class SeamHttpAcsCredentials {
164
171
 
165
172
  assign(body?: AcsCredentialsAssignBody): SeamHttpRequest<void, undefined> {
166
173
  return new SeamHttpRequest(this, {
167
- path: '/acs/credentials/assign',
174
+ pathname: '/acs/credentials/assign',
168
175
  method: 'post',
169
176
  body,
170
177
  responseKey: undefined,
@@ -175,7 +182,7 @@ export class SeamHttpAcsCredentials {
175
182
  body?: AcsCredentialsCreateBody,
176
183
  ): SeamHttpRequest<AcsCredentialsCreateResponse, 'acs_credential'> {
177
184
  return new SeamHttpRequest(this, {
178
- path: '/acs/credentials/create',
185
+ pathname: '/acs/credentials/create',
179
186
  method: 'post',
180
187
  body,
181
188
  responseKey: 'acs_credential',
@@ -189,7 +196,7 @@ export class SeamHttpAcsCredentials {
189
196
  'acs_credential'
190
197
  > {
191
198
  return new SeamHttpRequest(this, {
192
- path: '/acs/credentials/create_offline_code',
199
+ pathname: '/acs/credentials/create_offline_code',
193
200
  method: 'post',
194
201
  body,
195
202
  responseKey: 'acs_credential',
@@ -198,7 +205,7 @@ export class SeamHttpAcsCredentials {
198
205
 
199
206
  delete(body?: AcsCredentialsDeleteParams): SeamHttpRequest<void, undefined> {
200
207
  return new SeamHttpRequest(this, {
201
- path: '/acs/credentials/delete',
208
+ pathname: '/acs/credentials/delete',
202
209
  method: 'post',
203
210
  body,
204
211
  responseKey: undefined,
@@ -209,7 +216,7 @@ export class SeamHttpAcsCredentials {
209
216
  body?: AcsCredentialsGetParams,
210
217
  ): SeamHttpRequest<AcsCredentialsGetResponse, 'acs_credential'> {
211
218
  return new SeamHttpRequest(this, {
212
- path: '/acs/credentials/get',
219
+ pathname: '/acs/credentials/get',
213
220
  method: 'post',
214
221
  body,
215
222
  responseKey: 'acs_credential',
@@ -220,7 +227,7 @@ export class SeamHttpAcsCredentials {
220
227
  body?: AcsCredentialsListParams,
221
228
  ): SeamHttpRequest<AcsCredentialsListResponse, 'acs_credentials'> {
222
229
  return new SeamHttpRequest(this, {
223
- path: '/acs/credentials/list',
230
+ pathname: '/acs/credentials/list',
224
231
  method: 'post',
225
232
  body,
226
233
  responseKey: 'acs_credentials',
@@ -234,7 +241,7 @@ export class SeamHttpAcsCredentials {
234
241
  'acs_entrances'
235
242
  > {
236
243
  return new SeamHttpRequest(this, {
237
- path: '/acs/credentials/list_accessible_entrances',
244
+ pathname: '/acs/credentials/list_accessible_entrances',
238
245
  method: 'post',
239
246
  body,
240
247
  responseKey: 'acs_entrances',
@@ -245,7 +252,7 @@ export class SeamHttpAcsCredentials {
245
252
  body?: AcsCredentialsUnassignBody,
246
253
  ): SeamHttpRequest<void, undefined> {
247
254
  return new SeamHttpRequest(this, {
248
- path: '/acs/credentials/unassign',
255
+ pathname: '/acs/credentials/unassign',
249
256
  method: 'post',
250
257
  body,
251
258
  responseKey: undefined,
@@ -254,7 +261,7 @@ export class SeamHttpAcsCredentials {
254
261
 
255
262
  update(body?: AcsCredentialsUpdateBody): SeamHttpRequest<void, undefined> {
256
263
  return new SeamHttpRequest(this, {
257
- path: '/acs/credentials/update',
264
+ pathname: '/acs/credentials/update',
258
265
  method: 'post',
259
266
  body,
260
267
  responseKey: undefined,
@@ -31,6 +31,7 @@ import {
31
31
  parseOptions,
32
32
  } from 'lib/seam/connect/parse-options.js'
33
33
  import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
34
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
35
  import type { SetNonNullable } from 'lib/types.js'
35
36
 
36
37
  import { SeamHttpClientSessions } from './client-sessions.js'
@@ -135,6 +136,12 @@ export class SeamHttpAcsEncodersSimulate {
135
136
  return new SeamHttpAcsEncodersSimulate(constructorOptions)
136
137
  }
137
138
 
139
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
140
+ request: SeamHttpRequest<TResponse, TResponseKey>,
141
+ ): SeamPaginator<TResponse, TResponseKey> {
142
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
143
+ }
144
+
138
145
  async updateClientSessionToken(
139
146
  clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
140
147
  ): Promise<void> {
@@ -158,7 +165,7 @@ export class SeamHttpAcsEncodersSimulate {
158
165
  body?: AcsEncodersSimulateNextCredentialEncodeWillFailBody,
159
166
  ): SeamHttpRequest<void, undefined> {
160
167
  return new SeamHttpRequest(this, {
161
- path: '/acs/encoders/simulate/next_credential_encode_will_fail',
168
+ pathname: '/acs/encoders/simulate/next_credential_encode_will_fail',
162
169
  method: 'post',
163
170
  body,
164
171
  responseKey: undefined,
@@ -169,7 +176,7 @@ export class SeamHttpAcsEncodersSimulate {
169
176
  body?: AcsEncodersSimulateNextCredentialEncodeWillSucceedBody,
170
177
  ): SeamHttpRequest<void, undefined> {
171
178
  return new SeamHttpRequest(this, {
172
- path: '/acs/encoders/simulate/next_credential_encode_will_succeed',
179
+ pathname: '/acs/encoders/simulate/next_credential_encode_will_succeed',
173
180
  method: 'post',
174
181
  body,
175
182
  responseKey: undefined,
@@ -180,7 +187,7 @@ export class SeamHttpAcsEncodersSimulate {
180
187
  body?: AcsEncodersSimulateNextCredentialScanWillFailBody,
181
188
  ): SeamHttpRequest<void, undefined> {
182
189
  return new SeamHttpRequest(this, {
183
- path: '/acs/encoders/simulate/next_credential_scan_will_fail',
190
+ pathname: '/acs/encoders/simulate/next_credential_scan_will_fail',
184
191
  method: 'post',
185
192
  body,
186
193
  responseKey: undefined,
@@ -191,7 +198,7 @@ export class SeamHttpAcsEncodersSimulate {
191
198
  body?: AcsEncodersSimulateNextCredentialScanWillSucceedBody,
192
199
  ): SeamHttpRequest<void, undefined> {
193
200
  return new SeamHttpRequest(this, {
194
- path: '/acs/encoders/simulate/next_credential_scan_will_succeed',
201
+ pathname: '/acs/encoders/simulate/next_credential_scan_will_succeed',
195
202
  method: 'post',
196
203
  body,
197
204
  responseKey: undefined,
@@ -31,6 +31,7 @@ import {
31
31
  parseOptions,
32
32
  } from 'lib/seam/connect/parse-options.js'
33
33
  import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
34
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
35
  import type { SetNonNullable } from 'lib/types.js'
35
36
 
36
37
  import { SeamHttpAcsEncodersSimulate } from './acs-encoders-simulate.js'
@@ -136,6 +137,12 @@ export class SeamHttpAcsEncoders {
136
137
  return new SeamHttpAcsEncoders(constructorOptions)
137
138
  }
138
139
 
140
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
141
+ request: SeamHttpRequest<TResponse, TResponseKey>,
142
+ ): SeamPaginator<TResponse, TResponseKey> {
143
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
144
+ }
145
+
139
146
  async updateClientSessionToken(
140
147
  clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
141
148
  ): Promise<void> {
@@ -164,7 +171,7 @@ export class SeamHttpAcsEncoders {
164
171
  options: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'> = {},
165
172
  ): SeamHttpRequest<AcsEncodersEncodeCredentialResponse, 'action_attempt'> {
166
173
  return new SeamHttpRequest(this, {
167
- path: '/acs/encoders/encode_credential',
174
+ pathname: '/acs/encoders/encode_credential',
168
175
  method: 'post',
169
176
  body,
170
177
  responseKey: 'action_attempt',
@@ -176,7 +183,7 @@ export class SeamHttpAcsEncoders {
176
183
  body?: AcsEncodersListParams,
177
184
  ): SeamHttpRequest<AcsEncodersListResponse, 'acs_encoders'> {
178
185
  return new SeamHttpRequest(this, {
179
- path: '/acs/encoders/list',
186
+ pathname: '/acs/encoders/list',
180
187
  method: 'post',
181
188
  body,
182
189
  responseKey: 'acs_encoders',
@@ -188,7 +195,7 @@ export class SeamHttpAcsEncoders {
188
195
  options: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'> = {},
189
196
  ): SeamHttpRequest<AcsEncodersScanCredentialResponse, 'action_attempt'> {
190
197
  return new SeamHttpRequest(this, {
191
- path: '/acs/encoders/scan_credential',
198
+ pathname: '/acs/encoders/scan_credential',
192
199
  method: 'post',
193
200
  body,
194
201
  responseKey: 'action_attempt',
@@ -31,6 +31,7 @@ import {
31
31
  parseOptions,
32
32
  } from 'lib/seam/connect/parse-options.js'
33
33
  import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
34
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
35
  import type { SetNonNullable } from 'lib/types.js'
35
36
 
36
37
  import { SeamHttpClientSessions } from './client-sessions.js'
@@ -135,6 +136,12 @@ export class SeamHttpAcsEntrances {
135
136
  return new SeamHttpAcsEntrances(constructorOptions)
136
137
  }
137
138
 
139
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
140
+ request: SeamHttpRequest<TResponse, TResponseKey>,
141
+ ): SeamPaginator<TResponse, TResponseKey> {
142
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
143
+ }
144
+
138
145
  async updateClientSessionToken(
139
146
  clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
140
147
  ): Promise<void> {
@@ -158,7 +165,7 @@ export class SeamHttpAcsEntrances {
158
165
  body?: AcsEntrancesGetParams,
159
166
  ): SeamHttpRequest<AcsEntrancesGetResponse, 'acs_entrance'> {
160
167
  return new SeamHttpRequest(this, {
161
- path: '/acs/entrances/get',
168
+ pathname: '/acs/entrances/get',
162
169
  method: 'post',
163
170
  body,
164
171
  responseKey: 'acs_entrance',
@@ -169,7 +176,7 @@ export class SeamHttpAcsEntrances {
169
176
  body?: AcsEntrancesGrantAccessBody,
170
177
  ): SeamHttpRequest<void, undefined> {
171
178
  return new SeamHttpRequest(this, {
172
- path: '/acs/entrances/grant_access',
179
+ pathname: '/acs/entrances/grant_access',
173
180
  method: 'post',
174
181
  body,
175
182
  responseKey: undefined,
@@ -180,7 +187,7 @@ export class SeamHttpAcsEntrances {
180
187
  body?: AcsEntrancesListParams,
181
188
  ): SeamHttpRequest<AcsEntrancesListResponse, 'acs_entrances'> {
182
189
  return new SeamHttpRequest(this, {
183
- path: '/acs/entrances/list',
190
+ pathname: '/acs/entrances/list',
184
191
  method: 'post',
185
192
  body,
186
193
  responseKey: 'acs_entrances',
@@ -194,7 +201,7 @@ export class SeamHttpAcsEntrances {
194
201
  'acs_credentials'
195
202
  > {
196
203
  return new SeamHttpRequest(this, {
197
- path: '/acs/entrances/list_credentials_with_access',
204
+ pathname: '/acs/entrances/list_credentials_with_access',
198
205
  method: 'post',
199
206
  body,
200
207
  responseKey: 'acs_credentials',
@@ -31,6 +31,7 @@ import {
31
31
  parseOptions,
32
32
  } from 'lib/seam/connect/parse-options.js'
33
33
  import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
34
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
35
  import type { SetNonNullable } from 'lib/types.js'
35
36
 
36
37
  import { SeamHttpClientSessions } from './client-sessions.js'
@@ -135,6 +136,12 @@ export class SeamHttpAcsSystems {
135
136
  return new SeamHttpAcsSystems(constructorOptions)
136
137
  }
137
138
 
139
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
140
+ request: SeamHttpRequest<TResponse, TResponseKey>,
141
+ ): SeamPaginator<TResponse, TResponseKey> {
142
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
143
+ }
144
+
138
145
  async updateClientSessionToken(
139
146
  clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
140
147
  ): Promise<void> {
@@ -158,7 +165,7 @@ export class SeamHttpAcsSystems {
158
165
  body?: AcsSystemsGetParams,
159
166
  ): SeamHttpRequest<AcsSystemsGetResponse, 'acs_system'> {
160
167
  return new SeamHttpRequest(this, {
161
- path: '/acs/systems/get',
168
+ pathname: '/acs/systems/get',
162
169
  method: 'post',
163
170
  body,
164
171
  responseKey: 'acs_system',
@@ -169,7 +176,7 @@ export class SeamHttpAcsSystems {
169
176
  body?: AcsSystemsListParams,
170
177
  ): SeamHttpRequest<AcsSystemsListResponse, 'acs_systems'> {
171
178
  return new SeamHttpRequest(this, {
172
- path: '/acs/systems/list',
179
+ pathname: '/acs/systems/list',
173
180
  method: 'post',
174
181
  body,
175
182
  responseKey: 'acs_systems',
@@ -183,7 +190,7 @@ export class SeamHttpAcsSystems {
183
190
  'acs_systems'
184
191
  > {
185
192
  return new SeamHttpRequest(this, {
186
- path: '/acs/systems/list_compatible_credential_manager_acs_systems',
193
+ pathname: '/acs/systems/list_compatible_credential_manager_acs_systems',
187
194
  method: 'post',
188
195
  body,
189
196
  responseKey: 'acs_systems',
@@ -31,6 +31,7 @@ import {
31
31
  parseOptions,
32
32
  } from 'lib/seam/connect/parse-options.js'
33
33
  import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
34
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
34
35
  import type { SetNonNullable } from 'lib/types.js'
35
36
 
36
37
  import { SeamHttpClientSessions } from './client-sessions.js'
@@ -135,6 +136,12 @@ export class SeamHttpAcsUsersUnmanaged {
135
136
  return new SeamHttpAcsUsersUnmanaged(constructorOptions)
136
137
  }
137
138
 
139
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
140
+ request: SeamHttpRequest<TResponse, TResponseKey>,
141
+ ): SeamPaginator<TResponse, TResponseKey> {
142
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
143
+ }
144
+
138
145
  async updateClientSessionToken(
139
146
  clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
140
147
  ): Promise<void> {
@@ -158,7 +165,7 @@ export class SeamHttpAcsUsersUnmanaged {
158
165
  body?: AcsUsersUnmanagedGetParams,
159
166
  ): SeamHttpRequest<AcsUsersUnmanagedGetResponse, 'acs_user'> {
160
167
  return new SeamHttpRequest(this, {
161
- path: '/acs/users/unmanaged/get',
168
+ pathname: '/acs/users/unmanaged/get',
162
169
  method: 'post',
163
170
  body,
164
171
  responseKey: 'acs_user',
@@ -169,7 +176,7 @@ export class SeamHttpAcsUsersUnmanaged {
169
176
  body?: AcsUsersUnmanagedListParams,
170
177
  ): SeamHttpRequest<AcsUsersUnmanagedListResponse, 'acs_users'> {
171
178
  return new SeamHttpRequest(this, {
172
- path: '/acs/users/unmanaged/list',
179
+ pathname: '/acs/users/unmanaged/list',
173
180
  method: 'post',
174
181
  body,
175
182
  responseKey: 'acs_users',