@seamapi/http 1.37.0 → 1.38.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.
- package/dist/connect.cjs +840 -639
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2612 -859
- package/lib/seam/connect/routes/access-codes/access-codes.d.ts +110 -30
- package/lib/seam/connect/routes/access-codes/access-codes.js +30 -20
- package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +11 -3
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js +3 -2
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +55 -15
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +15 -10
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-grants/access-grants.d.ts +55 -15
- package/lib/seam/connect/routes/access-grants/access-grants.js +15 -10
- package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +33 -9
- package/lib/seam/connect/routes/access-methods/access-methods.js +9 -6
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +66 -18
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js +18 -12
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.d.ts +22 -6
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.js +6 -4
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.d.ts +11 -3
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.js +3 -2
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.js.map +1 -1
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.d.ts +11 -3
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.js +3 -2
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.js.map +1 -1
- package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +99 -27
- package/lib/seam/connect/routes/acs/credentials/credentials.js +27 -18
- package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.d.ts +22 -6
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.js +6 -4
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +52 -12
- package/lib/seam/connect/routes/acs/encoders/encoders.js +12 -10
- package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +44 -12
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +12 -8
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +44 -12
- package/lib/seam/connect/routes/acs/entrances/entrances.js +12 -8
- package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
- package/lib/seam/connect/routes/acs/systems/systems.d.ts +33 -9
- package/lib/seam/connect/routes/acs/systems/systems.js +9 -6
- package/lib/seam/connect/routes/acs/systems/systems.js.map +1 -1
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.d.ts +22 -6
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.js +6 -4
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/users/users.d.ts +121 -33
- package/lib/seam/connect/routes/acs/users/users.js +33 -22
- package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
- package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +21 -5
- package/lib/seam/connect/routes/action-attempts/action-attempts.js +5 -4
- package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
- package/lib/seam/connect/routes/bridges/bridges.d.ts +22 -6
- package/lib/seam/connect/routes/bridges/bridges.js +6 -4
- package/lib/seam/connect/routes/bridges/bridges.js.map +1 -1
- package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +77 -21
- package/lib/seam/connect/routes/client-sessions/client-sessions.js +21 -14
- package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +44 -12
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +12 -8
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +55 -15
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +15 -10
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +1 -1
- package/lib/seam/connect/routes/devices/devices.d.ts +55 -15
- package/lib/seam/connect/routes/devices/devices.js +15 -10
- package/lib/seam/connect/routes/devices/devices.js.map +1 -1
- package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +33 -9
- package/lib/seam/connect/routes/devices/simulate/simulate.js +9 -6
- package/lib/seam/connect/routes/devices/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +33 -9
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +9 -6
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/events/events.d.ts +22 -6
- package/lib/seam/connect/routes/events/events.js +6 -4
- package/lib/seam/connect/routes/events/events.js.map +1 -1
- package/lib/seam/connect/routes/locks/locks.d.ts +42 -10
- package/lib/seam/connect/routes/locks/locks.js +10 -8
- package/lib/seam/connect/routes/locks/locks.js.map +1 -1
- package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +20 -4
- package/lib/seam/connect/routes/locks/simulate/simulate.js +4 -4
- package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/networks/networks.d.ts +22 -6
- package/lib/seam/connect/routes/networks/networks.js +6 -4
- package/lib/seam/connect/routes/networks/networks.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +11 -3
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +3 -2
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +55 -15
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +15 -10
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +11 -3
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +3 -2
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/phones/phones.d.ts +33 -9
- package/lib/seam/connect/routes/phones/phones.js +9 -6
- package/lib/seam/connect/routes/phones/phones.js.map +1 -1
- package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +11 -3
- package/lib/seam/connect/routes/phones/simulate/simulate.js +3 -2
- package/lib/seam/connect/routes/phones/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-client-sessions/bridge-client-sessions.d.ts +55 -15
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-client-sessions/bridge-client-sessions.js +15 -10
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-client-sessions/bridge-client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-connected-systems/bridge-connected-systems.d.ts +11 -3
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-connected-systems/bridge-connected-systems.js +3 -2
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-connected-systems/bridge-connected-systems.js.map +1 -1
- package/lib/seam/connect/routes/seam/instant-key/v1/client-sessions/client-sessions.d.ts +11 -3
- package/lib/seam/connect/routes/seam/instant-key/v1/client-sessions/client-sessions.js +3 -2
- package/lib/seam/connect/routes/seam/instant-key/v1/client-sessions/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/credentials/credentials.d.ts +11 -3
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/credentials/credentials.js +3 -2
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/credentials/credentials.js.map +1 -1
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/phone-sessions/phone-sessions.d.ts +11 -3
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/phone-sessions/phone-sessions.js +3 -2
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/phone-sessions/phone-sessions.js.map +1 -1
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.d.ts +11 -3
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.js +3 -2
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/seam/partner/v1/resources/resources.d.ts +11 -3
- package/lib/seam/connect/routes/seam/partner/v1/resources/resources.js +3 -2
- package/lib/seam/connect/routes/seam/partner/v1/resources/resources.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +275 -274
- package/lib/seam/connect/routes/seam-http-endpoints.js +55 -55
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/spaces/spaces.d.ts +99 -27
- package/lib/seam/connect/routes/spaces/spaces.js +27 -18
- package/lib/seam/connect/routes/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +32 -8
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +8 -6
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +55 -15
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js +15 -10
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +22 -6
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js +6 -4
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/thermostats.d.ts +157 -37
- package/lib/seam/connect/routes/thermostats/thermostats.js +37 -30
- package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
- package/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.d.ts +44 -12
- package/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.js +12 -8
- package/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.js.map +1 -1
- package/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.d.ts +33 -9
- package/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.js +9 -6
- package/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.js.map +1 -1
- package/lib/seam/connect/routes/unstable-locations/unstable-locations.d.ts +99 -27
- package/lib/seam/connect/routes/unstable-locations/unstable-locations.js +27 -18
- package/lib/seam/connect/routes/unstable-locations/unstable-locations.js.map +1 -1
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.d.ts +44 -12
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.js +12 -8
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.js.map +1 -1
- package/lib/seam/connect/routes/unstable-partner/resources/resources.d.ts +11 -3
- package/lib/seam/connect/routes/unstable-partner/resources/resources.js +3 -2
- package/lib/seam/connect/routes/unstable-partner/resources/resources.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.d.ts +44 -12
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js +12 -8
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/user-identities.d.ts +143 -39
- package/lib/seam/connect/routes/user-identities/user-identities.js +39 -26
- package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
- package/lib/seam/connect/routes/webhooks/webhooks.d.ts +55 -15
- package/lib/seam/connect/routes/webhooks/webhooks.js +15 -10
- package/lib/seam/connect/routes/webhooks/webhooks.js.map +1 -1
- package/lib/seam/connect/routes/workspaces/workspaces.d.ts +54 -14
- package/lib/seam/connect/routes/workspaces/workspaces.js +14 -10
- package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/routes/access-codes/access-codes.ts +198 -48
- package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +25 -8
- package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +97 -25
- package/src/lib/seam/connect/routes/access-grants/access-grants.ts +99 -23
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +59 -14
- package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +120 -32
- package/src/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.ts +42 -13
- package/src/lib/seam/connect/routes/acs/credential-pools/credential-pools.ts +20 -5
- package/src/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.ts +24 -8
- package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +173 -49
- package/src/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.ts +42 -10
- package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +93 -22
- package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +88 -20
- package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +78 -23
- package/src/lib/seam/connect/routes/acs/systems/systems.ts +65 -18
- package/src/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.ts +40 -10
- package/src/lib/seam/connect/routes/acs/users/users.ts +213 -51
- package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +39 -9
- package/src/lib/seam/connect/routes/bridges/bridges.ts +34 -10
- package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +134 -34
- package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +78 -20
- package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +93 -23
- package/src/lib/seam/connect/routes/devices/devices.ts +91 -23
- package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +52 -14
- package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +58 -14
- package/src/lib/seam/connect/routes/events/events.ts +35 -9
- package/src/lib/seam/connect/routes/locks/locks.ts +69 -17
- package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +36 -11
- package/src/lib/seam/connect/routes/networks/networks.ts +37 -10
- package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +20 -5
- package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +105 -34
- package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +24 -5
- package/src/lib/seam/connect/routes/phones/phones.ts +52 -14
- package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +21 -5
- package/src/lib/seam/connect/routes/seam/bridge/v1/bridge-client-sessions/bridge-client-sessions.ts +113 -37
- package/src/lib/seam/connect/routes/seam/bridge/v1/bridge-connected-systems/bridge-connected-systems.ts +24 -8
- package/src/lib/seam/connect/routes/seam/instant-key/v1/client-sessions/client-sessions.ts +25 -8
- package/src/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/credentials/credentials.ts +21 -8
- package/src/lib/seam/connect/routes/seam/mobile-sdk/v1/phone-sessions/phone-sessions.ts +24 -8
- package/src/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.ts +24 -8
- package/src/lib/seam/connect/routes/seam/partner/v1/resources/resources.ts +21 -5
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +1919 -274
- package/src/lib/seam/connect/routes/spaces/spaces.ts +156 -42
- package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +60 -17
- package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +97 -28
- package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +42 -10
- package/src/lib/seam/connect/routes/thermostats/thermostats.ts +284 -70
- package/src/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.ts +79 -20
- package/src/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.ts +62 -15
- package/src/lib/seam/connect/routes/unstable-locations/unstable-locations.ts +181 -45
- package/src/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.ts +99 -32
- package/src/lib/seam/connect/routes/unstable-partner/resources/resources.ts +21 -5
- package/src/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.ts +96 -29
- package/src/lib/seam/connect/routes/user-identities/user-identities.ts +261 -64
- package/src/lib/seam/connect/routes/webhooks/webhooks.ts +93 -23
- package/src/lib/seam/connect/routes/workspaces/workspaces.ts +95 -23
- package/src/lib/version.ts +1 -1
|
@@ -173,8 +173,9 @@ export class SeamHttpUnstableLocations {
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
addAcsEntrances(
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
parameters?: UnstableLocationsAddAcsEntrancesParameters,
|
|
177
|
+
options: UnstableLocationsAddAcsEntrancesOptions = {},
|
|
178
|
+
): UnstableLocationsAddAcsEntrancesRequest {
|
|
178
179
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
179
180
|
throw new Error(
|
|
180
181
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -183,14 +184,16 @@ export class SeamHttpUnstableLocations {
|
|
|
183
184
|
return new SeamHttpRequest(this, {
|
|
184
185
|
pathname: '/unstable_locations/add_acs_entrances',
|
|
185
186
|
method: 'PUT',
|
|
186
|
-
body,
|
|
187
|
+
body: parameters,
|
|
187
188
|
responseKey: undefined,
|
|
189
|
+
options,
|
|
188
190
|
})
|
|
189
191
|
}
|
|
190
192
|
|
|
191
193
|
addDevices(
|
|
192
|
-
|
|
193
|
-
|
|
194
|
+
parameters?: UnstableLocationsAddDevicesParameters,
|
|
195
|
+
options: UnstableLocationsAddDevicesOptions = {},
|
|
196
|
+
): UnstableLocationsAddDevicesRequest {
|
|
194
197
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
195
198
|
throw new Error(
|
|
196
199
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -199,14 +202,16 @@ export class SeamHttpUnstableLocations {
|
|
|
199
202
|
return new SeamHttpRequest(this, {
|
|
200
203
|
pathname: '/unstable_locations/add_devices',
|
|
201
204
|
method: 'PUT',
|
|
202
|
-
body,
|
|
205
|
+
body: parameters,
|
|
203
206
|
responseKey: undefined,
|
|
207
|
+
options,
|
|
204
208
|
})
|
|
205
209
|
}
|
|
206
210
|
|
|
207
211
|
create(
|
|
208
|
-
|
|
209
|
-
|
|
212
|
+
parameters?: UnstableLocationsCreateParameters,
|
|
213
|
+
options: UnstableLocationsCreateOptions = {},
|
|
214
|
+
): UnstableLocationsCreateRequest {
|
|
210
215
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
211
216
|
throw new Error(
|
|
212
217
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -215,14 +220,16 @@ export class SeamHttpUnstableLocations {
|
|
|
215
220
|
return new SeamHttpRequest(this, {
|
|
216
221
|
pathname: '/unstable_locations/create',
|
|
217
222
|
method: 'POST',
|
|
218
|
-
body,
|
|
223
|
+
body: parameters,
|
|
219
224
|
responseKey: 'location',
|
|
225
|
+
options,
|
|
220
226
|
})
|
|
221
227
|
}
|
|
222
228
|
|
|
223
229
|
delete(
|
|
224
|
-
|
|
225
|
-
|
|
230
|
+
parameters?: UnstableLocationsDeleteParameters,
|
|
231
|
+
options: UnstableLocationsDeleteOptions = {},
|
|
232
|
+
): UnstableLocationsDeleteRequest {
|
|
226
233
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
227
234
|
throw new Error(
|
|
228
235
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -231,14 +238,16 @@ export class SeamHttpUnstableLocations {
|
|
|
231
238
|
return new SeamHttpRequest(this, {
|
|
232
239
|
pathname: '/unstable_locations/delete',
|
|
233
240
|
method: 'POST',
|
|
234
|
-
body:
|
|
241
|
+
body: parameters,
|
|
235
242
|
responseKey: undefined,
|
|
243
|
+
options,
|
|
236
244
|
})
|
|
237
245
|
}
|
|
238
246
|
|
|
239
247
|
get(
|
|
240
|
-
|
|
241
|
-
|
|
248
|
+
parameters?: UnstableLocationsGetParameters,
|
|
249
|
+
options: UnstableLocationsGetOptions = {},
|
|
250
|
+
): UnstableLocationsGetRequest {
|
|
242
251
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
243
252
|
throw new Error(
|
|
244
253
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -247,14 +256,16 @@ export class SeamHttpUnstableLocations {
|
|
|
247
256
|
return new SeamHttpRequest(this, {
|
|
248
257
|
pathname: '/unstable_locations/get',
|
|
249
258
|
method: 'POST',
|
|
250
|
-
body:
|
|
259
|
+
body: parameters,
|
|
251
260
|
responseKey: 'location',
|
|
261
|
+
options,
|
|
252
262
|
})
|
|
253
263
|
}
|
|
254
264
|
|
|
255
265
|
list(
|
|
256
|
-
|
|
257
|
-
|
|
266
|
+
parameters?: UnstableLocationsListParameters,
|
|
267
|
+
options: UnstableLocationsListOptions = {},
|
|
268
|
+
): UnstableLocationsListRequest {
|
|
258
269
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
259
270
|
throw new Error(
|
|
260
271
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -263,14 +274,16 @@ export class SeamHttpUnstableLocations {
|
|
|
263
274
|
return new SeamHttpRequest(this, {
|
|
264
275
|
pathname: '/unstable_locations/list',
|
|
265
276
|
method: 'GET',
|
|
266
|
-
params,
|
|
277
|
+
params: parameters,
|
|
267
278
|
responseKey: 'locations',
|
|
279
|
+
options,
|
|
268
280
|
})
|
|
269
281
|
}
|
|
270
282
|
|
|
271
283
|
removeAcsEntrances(
|
|
272
|
-
|
|
273
|
-
|
|
284
|
+
parameters?: UnstableLocationsRemoveAcsEntrancesParameters,
|
|
285
|
+
options: UnstableLocationsRemoveAcsEntrancesOptions = {},
|
|
286
|
+
): UnstableLocationsRemoveAcsEntrancesRequest {
|
|
274
287
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
275
288
|
throw new Error(
|
|
276
289
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -279,14 +292,16 @@ export class SeamHttpUnstableLocations {
|
|
|
279
292
|
return new SeamHttpRequest(this, {
|
|
280
293
|
pathname: '/unstable_locations/remove_acs_entrances',
|
|
281
294
|
method: 'POST',
|
|
282
|
-
body:
|
|
295
|
+
body: parameters,
|
|
283
296
|
responseKey: undefined,
|
|
297
|
+
options,
|
|
284
298
|
})
|
|
285
299
|
}
|
|
286
300
|
|
|
287
301
|
removeDevices(
|
|
288
|
-
|
|
289
|
-
|
|
302
|
+
parameters?: UnstableLocationsRemoveDevicesParameters,
|
|
303
|
+
options: UnstableLocationsRemoveDevicesOptions = {},
|
|
304
|
+
): UnstableLocationsRemoveDevicesRequest {
|
|
290
305
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
291
306
|
throw new Error(
|
|
292
307
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -295,14 +310,16 @@ export class SeamHttpUnstableLocations {
|
|
|
295
310
|
return new SeamHttpRequest(this, {
|
|
296
311
|
pathname: '/unstable_locations/remove_devices',
|
|
297
312
|
method: 'POST',
|
|
298
|
-
body:
|
|
313
|
+
body: parameters,
|
|
299
314
|
responseKey: undefined,
|
|
315
|
+
options,
|
|
300
316
|
})
|
|
301
317
|
}
|
|
302
318
|
|
|
303
319
|
update(
|
|
304
|
-
|
|
305
|
-
|
|
320
|
+
parameters?: UnstableLocationsUpdateParameters,
|
|
321
|
+
options: UnstableLocationsUpdateOptions = {},
|
|
322
|
+
): UnstableLocationsUpdateRequest {
|
|
306
323
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
307
324
|
throw new Error(
|
|
308
325
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -311,89 +328,208 @@ export class SeamHttpUnstableLocations {
|
|
|
311
328
|
return new SeamHttpRequest(this, {
|
|
312
329
|
pathname: '/unstable_locations/update',
|
|
313
330
|
method: 'PATCH',
|
|
314
|
-
body,
|
|
331
|
+
body: parameters,
|
|
315
332
|
responseKey: 'location',
|
|
333
|
+
options,
|
|
316
334
|
})
|
|
317
335
|
}
|
|
318
336
|
}
|
|
319
337
|
|
|
320
|
-
export type
|
|
338
|
+
export type UnstableLocationsAddAcsEntrancesParameters =
|
|
321
339
|
RouteRequestBody<'/unstable_locations/add_acs_entrances'>
|
|
322
340
|
|
|
341
|
+
/**
|
|
342
|
+
* @deprecated Use UnstableLocationsAddAcsEntrancesParameters instead.
|
|
343
|
+
*/
|
|
344
|
+
export type UnstableLocationsAddAcsEntrancesBody =
|
|
345
|
+
UnstableLocationsAddAcsEntrancesParameters
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* @deprecated Use UnstableLocationsAddAcsEntrancesRequest instead.
|
|
349
|
+
*/
|
|
323
350
|
export type UnstableLocationsAddAcsEntrancesResponse = SetNonNullable<
|
|
324
351
|
Required<RouteResponse<'/unstable_locations/add_acs_entrances'>>
|
|
325
352
|
>
|
|
326
353
|
|
|
327
|
-
export type
|
|
354
|
+
export type UnstableLocationsAddAcsEntrancesRequest = SeamHttpRequest<
|
|
355
|
+
void,
|
|
356
|
+
undefined
|
|
357
|
+
>
|
|
328
358
|
|
|
329
|
-
export type
|
|
359
|
+
export type UnstableLocationsAddAcsEntrancesOptions = Record<string, never>
|
|
360
|
+
|
|
361
|
+
export type UnstableLocationsAddDevicesParameters =
|
|
330
362
|
RouteRequestBody<'/unstable_locations/add_devices'>
|
|
331
363
|
|
|
364
|
+
/**
|
|
365
|
+
* @deprecated Use UnstableLocationsAddDevicesParameters instead.
|
|
366
|
+
*/
|
|
367
|
+
export type UnstableLocationsAddDevicesBody =
|
|
368
|
+
UnstableLocationsAddDevicesParameters
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* @deprecated Use UnstableLocationsAddDevicesRequest instead.
|
|
372
|
+
*/
|
|
332
373
|
export type UnstableLocationsAddDevicesResponse = SetNonNullable<
|
|
333
374
|
Required<RouteResponse<'/unstable_locations/add_devices'>>
|
|
334
375
|
>
|
|
335
376
|
|
|
336
|
-
export type
|
|
377
|
+
export type UnstableLocationsAddDevicesRequest = SeamHttpRequest<
|
|
378
|
+
void,
|
|
379
|
+
undefined
|
|
380
|
+
>
|
|
381
|
+
|
|
382
|
+
export type UnstableLocationsAddDevicesOptions = Record<string, never>
|
|
337
383
|
|
|
338
|
-
export type
|
|
384
|
+
export type UnstableLocationsCreateParameters =
|
|
339
385
|
RouteRequestBody<'/unstable_locations/create'>
|
|
340
386
|
|
|
387
|
+
/**
|
|
388
|
+
* @deprecated Use UnstableLocationsCreateParameters instead.
|
|
389
|
+
*/
|
|
390
|
+
export type UnstableLocationsCreateBody = UnstableLocationsCreateParameters
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* @deprecated Use UnstableLocationsCreateRequest instead.
|
|
394
|
+
*/
|
|
341
395
|
export type UnstableLocationsCreateResponse = SetNonNullable<
|
|
342
396
|
Required<RouteResponse<'/unstable_locations/create'>>
|
|
343
397
|
>
|
|
344
398
|
|
|
345
|
-
export type
|
|
399
|
+
export type UnstableLocationsCreateRequest = SeamHttpRequest<
|
|
400
|
+
UnstableLocationsCreateResponse,
|
|
401
|
+
'location'
|
|
402
|
+
>
|
|
403
|
+
|
|
404
|
+
export type UnstableLocationsCreateOptions = Record<string, never>
|
|
346
405
|
|
|
347
|
-
export type
|
|
406
|
+
export type UnstableLocationsDeleteParameters =
|
|
348
407
|
RouteRequestBody<'/unstable_locations/delete'>
|
|
349
408
|
|
|
409
|
+
/**
|
|
410
|
+
* @deprecated Use UnstableLocationsDeleteParameters instead.
|
|
411
|
+
*/
|
|
412
|
+
export type UnstableLocationsDeleteParams = UnstableLocationsDeleteParameters
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* @deprecated Use UnstableLocationsDeleteRequest instead.
|
|
416
|
+
*/
|
|
350
417
|
export type UnstableLocationsDeleteResponse = SetNonNullable<
|
|
351
418
|
Required<RouteResponse<'/unstable_locations/delete'>>
|
|
352
419
|
>
|
|
353
420
|
|
|
354
|
-
export type
|
|
421
|
+
export type UnstableLocationsDeleteRequest = SeamHttpRequest<void, undefined>
|
|
422
|
+
|
|
423
|
+
export type UnstableLocationsDeleteOptions = Record<string, never>
|
|
355
424
|
|
|
356
|
-
export type
|
|
425
|
+
export type UnstableLocationsGetParameters =
|
|
357
426
|
RouteRequestBody<'/unstable_locations/get'>
|
|
358
427
|
|
|
428
|
+
/**
|
|
429
|
+
* @deprecated Use UnstableLocationsGetParameters instead.
|
|
430
|
+
*/
|
|
431
|
+
export type UnstableLocationsGetParams = UnstableLocationsGetParameters
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* @deprecated Use UnstableLocationsGetRequest instead.
|
|
435
|
+
*/
|
|
359
436
|
export type UnstableLocationsGetResponse = SetNonNullable<
|
|
360
437
|
Required<RouteResponse<'/unstable_locations/get'>>
|
|
361
438
|
>
|
|
362
439
|
|
|
363
|
-
export type
|
|
440
|
+
export type UnstableLocationsGetRequest = SeamHttpRequest<
|
|
441
|
+
UnstableLocationsGetResponse,
|
|
442
|
+
'location'
|
|
443
|
+
>
|
|
444
|
+
|
|
445
|
+
export type UnstableLocationsGetOptions = Record<string, never>
|
|
364
446
|
|
|
365
|
-
export type
|
|
447
|
+
export type UnstableLocationsListParameters =
|
|
366
448
|
RouteRequestParams<'/unstable_locations/list'>
|
|
367
449
|
|
|
450
|
+
/**
|
|
451
|
+
* @deprecated Use UnstableLocationsListParameters instead.
|
|
452
|
+
*/
|
|
453
|
+
export type UnstableLocationsListParams = UnstableLocationsListParameters
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* @deprecated Use UnstableLocationsListRequest instead.
|
|
457
|
+
*/
|
|
368
458
|
export type UnstableLocationsListResponse = SetNonNullable<
|
|
369
459
|
Required<RouteResponse<'/unstable_locations/list'>>
|
|
370
460
|
>
|
|
371
461
|
|
|
372
|
-
export type
|
|
462
|
+
export type UnstableLocationsListRequest = SeamHttpRequest<
|
|
463
|
+
UnstableLocationsListResponse,
|
|
464
|
+
'locations'
|
|
465
|
+
>
|
|
373
466
|
|
|
374
|
-
export type
|
|
467
|
+
export type UnstableLocationsListOptions = Record<string, never>
|
|
468
|
+
|
|
469
|
+
export type UnstableLocationsRemoveAcsEntrancesParameters =
|
|
375
470
|
RouteRequestBody<'/unstable_locations/remove_acs_entrances'>
|
|
376
471
|
|
|
472
|
+
/**
|
|
473
|
+
* @deprecated Use UnstableLocationsRemoveAcsEntrancesParameters instead.
|
|
474
|
+
*/
|
|
475
|
+
export type UnstableLocationsRemoveAcsEntrancesParams =
|
|
476
|
+
UnstableLocationsRemoveAcsEntrancesParameters
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* @deprecated Use UnstableLocationsRemoveAcsEntrancesRequest instead.
|
|
480
|
+
*/
|
|
377
481
|
export type UnstableLocationsRemoveAcsEntrancesResponse = SetNonNullable<
|
|
378
482
|
Required<RouteResponse<'/unstable_locations/remove_acs_entrances'>>
|
|
379
483
|
>
|
|
380
484
|
|
|
381
|
-
export type
|
|
485
|
+
export type UnstableLocationsRemoveAcsEntrancesRequest = SeamHttpRequest<
|
|
486
|
+
void,
|
|
487
|
+
undefined
|
|
488
|
+
>
|
|
489
|
+
|
|
490
|
+
export type UnstableLocationsRemoveAcsEntrancesOptions = Record<string, never>
|
|
382
491
|
|
|
383
|
-
export type
|
|
492
|
+
export type UnstableLocationsRemoveDevicesParameters =
|
|
384
493
|
RouteRequestBody<'/unstable_locations/remove_devices'>
|
|
385
494
|
|
|
495
|
+
/**
|
|
496
|
+
* @deprecated Use UnstableLocationsRemoveDevicesParameters instead.
|
|
497
|
+
*/
|
|
498
|
+
export type UnstableLocationsRemoveDevicesParams =
|
|
499
|
+
UnstableLocationsRemoveDevicesParameters
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @deprecated Use UnstableLocationsRemoveDevicesRequest instead.
|
|
503
|
+
*/
|
|
386
504
|
export type UnstableLocationsRemoveDevicesResponse = SetNonNullable<
|
|
387
505
|
Required<RouteResponse<'/unstable_locations/remove_devices'>>
|
|
388
506
|
>
|
|
389
507
|
|
|
390
|
-
export type
|
|
508
|
+
export type UnstableLocationsRemoveDevicesRequest = SeamHttpRequest<
|
|
509
|
+
void,
|
|
510
|
+
undefined
|
|
511
|
+
>
|
|
391
512
|
|
|
392
|
-
export type
|
|
513
|
+
export type UnstableLocationsRemoveDevicesOptions = Record<string, never>
|
|
514
|
+
|
|
515
|
+
export type UnstableLocationsUpdateParameters =
|
|
393
516
|
RouteRequestBody<'/unstable_locations/update'>
|
|
394
517
|
|
|
518
|
+
/**
|
|
519
|
+
* @deprecated Use UnstableLocationsUpdateParameters instead.
|
|
520
|
+
*/
|
|
521
|
+
export type UnstableLocationsUpdateBody = UnstableLocationsUpdateParameters
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* @deprecated Use UnstableLocationsUpdateRequest instead.
|
|
525
|
+
*/
|
|
395
526
|
export type UnstableLocationsUpdateResponse = SetNonNullable<
|
|
396
527
|
Required<RouteResponse<'/unstable_locations/update'>>
|
|
397
528
|
>
|
|
398
529
|
|
|
399
|
-
export type
|
|
530
|
+
export type UnstableLocationsUpdateRequest = SeamHttpRequest<
|
|
531
|
+
UnstableLocationsUpdateResponse,
|
|
532
|
+
'location'
|
|
533
|
+
>
|
|
534
|
+
|
|
535
|
+
export type UnstableLocationsUpdateOptions = Record<string, never>
|
|
@@ -172,11 +172,9 @@ export class SeamHttpUnstablePartnerBuildingBlocks {
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
connectAccounts(
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
'magic_link'
|
|
179
|
-
> {
|
|
175
|
+
parameters?: UnstablePartnerBuildingBlocksConnectAccountsParameters,
|
|
176
|
+
options: UnstablePartnerBuildingBlocksConnectAccountsOptions = {},
|
|
177
|
+
): UnstablePartnerBuildingBlocksConnectAccountsRequest {
|
|
180
178
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
181
179
|
throw new Error(
|
|
182
180
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -185,17 +183,16 @@ export class SeamHttpUnstablePartnerBuildingBlocks {
|
|
|
185
183
|
return new SeamHttpRequest(this, {
|
|
186
184
|
pathname: '/unstable_partner/building_blocks/connect_accounts',
|
|
187
185
|
method: 'POST',
|
|
188
|
-
body,
|
|
186
|
+
body: parameters,
|
|
189
187
|
responseKey: 'magic_link',
|
|
188
|
+
options,
|
|
190
189
|
})
|
|
191
190
|
}
|
|
192
191
|
|
|
193
192
|
generateMagicLink(
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
'magic_link'
|
|
198
|
-
> {
|
|
193
|
+
parameters?: UnstablePartnerBuildingBlocksGenerateMagicLinkParameters,
|
|
194
|
+
options: UnstablePartnerBuildingBlocksGenerateMagicLinkOptions = {},
|
|
195
|
+
): UnstablePartnerBuildingBlocksGenerateMagicLinkRequest {
|
|
199
196
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
200
197
|
throw new Error(
|
|
201
198
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -204,17 +201,16 @@ export class SeamHttpUnstablePartnerBuildingBlocks {
|
|
|
204
201
|
return new SeamHttpRequest(this, {
|
|
205
202
|
pathname: '/unstable_partner/building_blocks/generate_magic_link',
|
|
206
203
|
method: 'POST',
|
|
207
|
-
body:
|
|
204
|
+
body: parameters,
|
|
208
205
|
responseKey: 'magic_link',
|
|
206
|
+
options,
|
|
209
207
|
})
|
|
210
208
|
}
|
|
211
209
|
|
|
212
210
|
manageDevices(
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
'magic_link'
|
|
217
|
-
> {
|
|
211
|
+
parameters?: UnstablePartnerBuildingBlocksManageDevicesParameters,
|
|
212
|
+
options: UnstablePartnerBuildingBlocksManageDevicesOptions = {},
|
|
213
|
+
): UnstablePartnerBuildingBlocksManageDevicesRequest {
|
|
218
214
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
219
215
|
throw new Error(
|
|
220
216
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -223,17 +219,16 @@ export class SeamHttpUnstablePartnerBuildingBlocks {
|
|
|
223
219
|
return new SeamHttpRequest(this, {
|
|
224
220
|
pathname: '/unstable_partner/building_blocks/manage_devices',
|
|
225
221
|
method: 'POST',
|
|
226
|
-
body,
|
|
222
|
+
body: parameters,
|
|
227
223
|
responseKey: 'magic_link',
|
|
224
|
+
options,
|
|
228
225
|
})
|
|
229
226
|
}
|
|
230
227
|
|
|
231
228
|
organizeSpaces(
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
'magic_link'
|
|
236
|
-
> {
|
|
229
|
+
parameters?: UnstablePartnerBuildingBlocksOrganizeSpacesParameters,
|
|
230
|
+
options: UnstablePartnerBuildingBlocksOrganizeSpacesOptions = {},
|
|
231
|
+
): UnstablePartnerBuildingBlocksOrganizeSpacesRequest {
|
|
237
232
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
238
233
|
throw new Error(
|
|
239
234
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -242,15 +237,25 @@ export class SeamHttpUnstablePartnerBuildingBlocks {
|
|
|
242
237
|
return new SeamHttpRequest(this, {
|
|
243
238
|
pathname: '/unstable_partner/building_blocks/organize_spaces',
|
|
244
239
|
method: 'POST',
|
|
245
|
-
body,
|
|
240
|
+
body: parameters,
|
|
246
241
|
responseKey: 'magic_link',
|
|
242
|
+
options,
|
|
247
243
|
})
|
|
248
244
|
}
|
|
249
245
|
}
|
|
250
246
|
|
|
251
|
-
export type
|
|
247
|
+
export type UnstablePartnerBuildingBlocksConnectAccountsParameters =
|
|
252
248
|
RouteRequestBody<'/unstable_partner/building_blocks/connect_accounts'>
|
|
253
249
|
|
|
250
|
+
/**
|
|
251
|
+
* @deprecated Use UnstablePartnerBuildingBlocksConnectAccountsParameters instead.
|
|
252
|
+
*/
|
|
253
|
+
export type UnstablePartnerBuildingBlocksConnectAccountsBody =
|
|
254
|
+
UnstablePartnerBuildingBlocksConnectAccountsParameters
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @deprecated Use UnstablePartnerBuildingBlocksConnectAccountsRequest instead.
|
|
258
|
+
*/
|
|
254
259
|
export type UnstablePartnerBuildingBlocksConnectAccountsResponse =
|
|
255
260
|
SetNonNullable<
|
|
256
261
|
Required<
|
|
@@ -258,11 +263,29 @@ export type UnstablePartnerBuildingBlocksConnectAccountsResponse =
|
|
|
258
263
|
>
|
|
259
264
|
>
|
|
260
265
|
|
|
261
|
-
export type
|
|
266
|
+
export type UnstablePartnerBuildingBlocksConnectAccountsRequest =
|
|
267
|
+
SeamHttpRequest<
|
|
268
|
+
UnstablePartnerBuildingBlocksConnectAccountsResponse,
|
|
269
|
+
'magic_link'
|
|
270
|
+
>
|
|
271
|
+
|
|
272
|
+
export type UnstablePartnerBuildingBlocksConnectAccountsOptions = Record<
|
|
273
|
+
string,
|
|
274
|
+
never
|
|
275
|
+
>
|
|
262
276
|
|
|
263
|
-
export type
|
|
277
|
+
export type UnstablePartnerBuildingBlocksGenerateMagicLinkParameters =
|
|
264
278
|
RouteRequestBody<'/unstable_partner/building_blocks/generate_magic_link'>
|
|
265
279
|
|
|
280
|
+
/**
|
|
281
|
+
* @deprecated Use UnstablePartnerBuildingBlocksGenerateMagicLinkParameters instead.
|
|
282
|
+
*/
|
|
283
|
+
export type UnstablePartnerBuildingBlocksGenerateMagicLinkParams =
|
|
284
|
+
UnstablePartnerBuildingBlocksGenerateMagicLinkParameters
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @deprecated Use UnstablePartnerBuildingBlocksGenerateMagicLinkRequest instead.
|
|
288
|
+
*/
|
|
266
289
|
export type UnstablePartnerBuildingBlocksGenerateMagicLinkResponse =
|
|
267
290
|
SetNonNullable<
|
|
268
291
|
Required<
|
|
@@ -270,23 +293,67 @@ export type UnstablePartnerBuildingBlocksGenerateMagicLinkResponse =
|
|
|
270
293
|
>
|
|
271
294
|
>
|
|
272
295
|
|
|
273
|
-
export type
|
|
296
|
+
export type UnstablePartnerBuildingBlocksGenerateMagicLinkRequest =
|
|
297
|
+
SeamHttpRequest<
|
|
298
|
+
UnstablePartnerBuildingBlocksGenerateMagicLinkResponse,
|
|
299
|
+
'magic_link'
|
|
300
|
+
>
|
|
274
301
|
|
|
275
|
-
export type
|
|
302
|
+
export type UnstablePartnerBuildingBlocksGenerateMagicLinkOptions = Record<
|
|
303
|
+
string,
|
|
304
|
+
never
|
|
305
|
+
>
|
|
306
|
+
|
|
307
|
+
export type UnstablePartnerBuildingBlocksManageDevicesParameters =
|
|
276
308
|
RouteRequestBody<'/unstable_partner/building_blocks/manage_devices'>
|
|
277
309
|
|
|
310
|
+
/**
|
|
311
|
+
* @deprecated Use UnstablePartnerBuildingBlocksManageDevicesParameters instead.
|
|
312
|
+
*/
|
|
313
|
+
export type UnstablePartnerBuildingBlocksManageDevicesBody =
|
|
314
|
+
UnstablePartnerBuildingBlocksManageDevicesParameters
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* @deprecated Use UnstablePartnerBuildingBlocksManageDevicesRequest instead.
|
|
318
|
+
*/
|
|
278
319
|
export type UnstablePartnerBuildingBlocksManageDevicesResponse = SetNonNullable<
|
|
279
320
|
Required<RouteResponse<'/unstable_partner/building_blocks/manage_devices'>>
|
|
280
321
|
>
|
|
281
322
|
|
|
282
|
-
export type
|
|
323
|
+
export type UnstablePartnerBuildingBlocksManageDevicesRequest = SeamHttpRequest<
|
|
324
|
+
UnstablePartnerBuildingBlocksManageDevicesResponse,
|
|
325
|
+
'magic_link'
|
|
326
|
+
>
|
|
327
|
+
|
|
328
|
+
export type UnstablePartnerBuildingBlocksManageDevicesOptions = Record<
|
|
329
|
+
string,
|
|
330
|
+
never
|
|
331
|
+
>
|
|
283
332
|
|
|
284
|
-
export type
|
|
333
|
+
export type UnstablePartnerBuildingBlocksOrganizeSpacesParameters =
|
|
285
334
|
RouteRequestBody<'/unstable_partner/building_blocks/organize_spaces'>
|
|
286
335
|
|
|
336
|
+
/**
|
|
337
|
+
* @deprecated Use UnstablePartnerBuildingBlocksOrganizeSpacesParameters instead.
|
|
338
|
+
*/
|
|
339
|
+
export type UnstablePartnerBuildingBlocksOrganizeSpacesBody =
|
|
340
|
+
UnstablePartnerBuildingBlocksOrganizeSpacesParameters
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* @deprecated Use UnstablePartnerBuildingBlocksOrganizeSpacesRequest instead.
|
|
344
|
+
*/
|
|
287
345
|
export type UnstablePartnerBuildingBlocksOrganizeSpacesResponse =
|
|
288
346
|
SetNonNullable<
|
|
289
347
|
Required<RouteResponse<'/unstable_partner/building_blocks/organize_spaces'>>
|
|
290
348
|
>
|
|
291
349
|
|
|
292
|
-
export type
|
|
350
|
+
export type UnstablePartnerBuildingBlocksOrganizeSpacesRequest =
|
|
351
|
+
SeamHttpRequest<
|
|
352
|
+
UnstablePartnerBuildingBlocksOrganizeSpacesResponse,
|
|
353
|
+
'magic_link'
|
|
354
|
+
>
|
|
355
|
+
|
|
356
|
+
export type UnstablePartnerBuildingBlocksOrganizeSpacesOptions = Record<
|
|
357
|
+
string,
|
|
358
|
+
never
|
|
359
|
+
>
|
|
@@ -172,8 +172,9 @@ export class SeamHttpUnstablePartnerResources {
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
push(
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
parameters?: UnstablePartnerResourcesPushParameters,
|
|
176
|
+
options: UnstablePartnerResourcesPushOptions = {},
|
|
177
|
+
): UnstablePartnerResourcesPushRequest {
|
|
177
178
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
178
179
|
throw new Error(
|
|
179
180
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -182,17 +183,32 @@ export class SeamHttpUnstablePartnerResources {
|
|
|
182
183
|
return new SeamHttpRequest(this, {
|
|
183
184
|
pathname: '/unstable_partner/resources/push',
|
|
184
185
|
method: 'POST',
|
|
185
|
-
body,
|
|
186
|
+
body: parameters,
|
|
186
187
|
responseKey: undefined,
|
|
188
|
+
options,
|
|
187
189
|
})
|
|
188
190
|
}
|
|
189
191
|
}
|
|
190
192
|
|
|
191
|
-
export type
|
|
193
|
+
export type UnstablePartnerResourcesPushParameters =
|
|
192
194
|
RouteRequestBody<'/unstable_partner/resources/push'>
|
|
193
195
|
|
|
196
|
+
/**
|
|
197
|
+
* @deprecated Use UnstablePartnerResourcesPushParameters instead.
|
|
198
|
+
*/
|
|
199
|
+
export type UnstablePartnerResourcesPushBody =
|
|
200
|
+
UnstablePartnerResourcesPushParameters
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @deprecated Use UnstablePartnerResourcesPushRequest instead.
|
|
204
|
+
*/
|
|
194
205
|
export type UnstablePartnerResourcesPushResponse = SetNonNullable<
|
|
195
206
|
Required<RouteResponse<'/unstable_partner/resources/push'>>
|
|
196
207
|
>
|
|
197
208
|
|
|
198
|
-
export type
|
|
209
|
+
export type UnstablePartnerResourcesPushRequest = SeamHttpRequest<
|
|
210
|
+
void,
|
|
211
|
+
undefined
|
|
212
|
+
>
|
|
213
|
+
|
|
214
|
+
export type UnstablePartnerResourcesPushOptions = Record<string, never>
|