@seamapi/http 1.78.0 → 1.80.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 +279 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +105 -2
- package/dist/index.cjs +283 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +13 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +9 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.d.ts +47 -0
- package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.js +107 -0
- package/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/connectors/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/connectors/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/connectors/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +2 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js +2 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/v1.d.ts +2 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.js +4 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/webhooks/connectors/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/webhooks/connectors/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/webhooks/connectors/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/webhooks/connectors/workspace-id/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/webhooks/connectors/workspace-id/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/webhooks/connectors/workspace-id/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/webhooks/connectors/workspace-id/workspace-id.d.ts +34 -0
- package/lib/seam/connect/routes/seam/customer/v1/webhooks/connectors/workspace-id/workspace-id.js +98 -0
- package/lib/seam/connect/routes/seam/customer/v1/webhooks/connectors/workspace-id/workspace-id.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/webhooks/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/webhooks/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/webhooks/index.js.map +1 -0
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +10 -3
- package/lib/seam/connect/routes/seam-http-endpoints.js +37 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +13 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +9 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +36 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.ts +240 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/connectors/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +2 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +8 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/webhooks/connectors/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/webhooks/connectors/workspace-id/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/webhooks/connectors/workspace-id/workspace-id.ts +216 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/webhooks/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +99 -0
- package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +36 -0
- package/src/lib/version.ts +1 -1
|
@@ -120,6 +120,9 @@ import {
|
|
|
120
120
|
type AccessGrantsUnmanagedListOptions,
|
|
121
121
|
type AccessGrantsUnmanagedListParameters,
|
|
122
122
|
type AccessGrantsUnmanagedListRequest,
|
|
123
|
+
type AccessGrantsUnmanagedUpdateOptions,
|
|
124
|
+
type AccessGrantsUnmanagedUpdateParameters,
|
|
125
|
+
type AccessGrantsUnmanagedUpdateRequest,
|
|
123
126
|
SeamHttpAccessGrantsUnmanaged,
|
|
124
127
|
} from './access-grants/unmanaged/index.js'
|
|
125
128
|
import {
|
|
@@ -593,6 +596,15 @@ import {
|
|
|
593
596
|
type SeamCustomerV1AutomationsUpdateRequest,
|
|
594
597
|
SeamHttpSeamCustomerV1Automations,
|
|
595
598
|
} from './seam/customer/v1/automations/index.js'
|
|
599
|
+
import {
|
|
600
|
+
type SeamCustomerV1ConnectorsCreateOptions,
|
|
601
|
+
type SeamCustomerV1ConnectorsCreateParameters,
|
|
602
|
+
type SeamCustomerV1ConnectorsCreateRequest,
|
|
603
|
+
type SeamCustomerV1ConnectorsSyncOptions,
|
|
604
|
+
type SeamCustomerV1ConnectorsSyncParameters,
|
|
605
|
+
type SeamCustomerV1ConnectorsSyncRequest,
|
|
606
|
+
SeamHttpSeamCustomerV1Connectors,
|
|
607
|
+
} from './seam/customer/v1/connectors/index.js'
|
|
596
608
|
import {
|
|
597
609
|
type SeamCustomerV1EventsListOptions,
|
|
598
610
|
type SeamCustomerV1EventsListParameters,
|
|
@@ -632,6 +644,12 @@ import {
|
|
|
632
644
|
type SeamCustomerV1SpacesListRequest,
|
|
633
645
|
SeamHttpSeamCustomerV1Spaces,
|
|
634
646
|
} from './seam/customer/v1/spaces/index.js'
|
|
647
|
+
import {
|
|
648
|
+
type SeamCustomerV1WebhooksConnectorsWorkspaceIdConnectorIdOptions,
|
|
649
|
+
type SeamCustomerV1WebhooksConnectorsWorkspaceIdConnectorIdParameters,
|
|
650
|
+
type SeamCustomerV1WebhooksConnectorsWorkspaceIdConnectorIdRequest,
|
|
651
|
+
SeamHttpSeamCustomerV1WebhooksConnectorsWorkspaceId,
|
|
652
|
+
} from './seam/customer/v1/webhooks/connectors/workspace-id/index.js'
|
|
635
653
|
import {
|
|
636
654
|
SeamHttpSeamPartnerV1BuildingBlocksSpaces,
|
|
637
655
|
type SeamPartnerV1BuildingBlocksSpacesAutoMapOptions,
|
|
@@ -838,6 +856,9 @@ import {
|
|
|
838
856
|
type UserIdentitiesUnmanagedListOptions,
|
|
839
857
|
type UserIdentitiesUnmanagedListParameters,
|
|
840
858
|
type UserIdentitiesUnmanagedListRequest,
|
|
859
|
+
type UserIdentitiesUnmanagedUpdateOptions,
|
|
860
|
+
type UserIdentitiesUnmanagedUpdateParameters,
|
|
861
|
+
type UserIdentitiesUnmanagedUpdateRequest,
|
|
841
862
|
} from './user-identities/unmanaged/index.js'
|
|
842
863
|
import {
|
|
843
864
|
SeamHttpWebhooks,
|
|
@@ -1351,6 +1372,19 @@ export class SeamHttpEndpoints {
|
|
|
1351
1372
|
}
|
|
1352
1373
|
}
|
|
1353
1374
|
|
|
1375
|
+
get '/access_grants/unmanaged/update'(): (
|
|
1376
|
+
parameters?: AccessGrantsUnmanagedUpdateParameters,
|
|
1377
|
+
options?: AccessGrantsUnmanagedUpdateOptions,
|
|
1378
|
+
) => AccessGrantsUnmanagedUpdateRequest {
|
|
1379
|
+
const { client, defaults } = this
|
|
1380
|
+
return function accessGrantsUnmanagedUpdate(
|
|
1381
|
+
...args: Parameters<SeamHttpAccessGrantsUnmanaged['update']>
|
|
1382
|
+
): ReturnType<SeamHttpAccessGrantsUnmanaged['update']> {
|
|
1383
|
+
const seam = SeamHttpAccessGrantsUnmanaged.fromClient(client, defaults)
|
|
1384
|
+
return seam.update(...args)
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1354
1388
|
get '/access_methods/delete'(): (
|
|
1355
1389
|
parameters?: AccessMethodsDeleteParameters,
|
|
1356
1390
|
options?: AccessMethodsDeleteOptions,
|
|
@@ -3062,6 +3096,32 @@ export class SeamHttpEndpoints {
|
|
|
3062
3096
|
}
|
|
3063
3097
|
}
|
|
3064
3098
|
|
|
3099
|
+
get '/seam/customer/v1/connectors/create'(): (
|
|
3100
|
+
parameters?: SeamCustomerV1ConnectorsCreateParameters,
|
|
3101
|
+
options?: SeamCustomerV1ConnectorsCreateOptions,
|
|
3102
|
+
) => SeamCustomerV1ConnectorsCreateRequest {
|
|
3103
|
+
const { client, defaults } = this
|
|
3104
|
+
return function seamCustomerV1ConnectorsCreate(
|
|
3105
|
+
...args: Parameters<SeamHttpSeamCustomerV1Connectors['create']>
|
|
3106
|
+
): ReturnType<SeamHttpSeamCustomerV1Connectors['create']> {
|
|
3107
|
+
const seam = SeamHttpSeamCustomerV1Connectors.fromClient(client, defaults)
|
|
3108
|
+
return seam.create(...args)
|
|
3109
|
+
}
|
|
3110
|
+
}
|
|
3111
|
+
|
|
3112
|
+
get '/seam/customer/v1/connectors/sync'(): (
|
|
3113
|
+
parameters?: SeamCustomerV1ConnectorsSyncParameters,
|
|
3114
|
+
options?: SeamCustomerV1ConnectorsSyncOptions,
|
|
3115
|
+
) => SeamCustomerV1ConnectorsSyncRequest {
|
|
3116
|
+
const { client, defaults } = this
|
|
3117
|
+
return function seamCustomerV1ConnectorsSync(
|
|
3118
|
+
...args: Parameters<SeamHttpSeamCustomerV1Connectors['sync']>
|
|
3119
|
+
): ReturnType<SeamHttpSeamCustomerV1Connectors['sync']> {
|
|
3120
|
+
const seam = SeamHttpSeamCustomerV1Connectors.fromClient(client, defaults)
|
|
3121
|
+
return seam.sync(...args)
|
|
3122
|
+
}
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3065
3125
|
get '/seam/customer/v1/events/list'(): (
|
|
3066
3126
|
parameters?: SeamCustomerV1EventsListParameters,
|
|
3067
3127
|
options?: SeamCustomerV1EventsListOptions,
|
|
@@ -3202,6 +3262,27 @@ export class SeamHttpEndpoints {
|
|
|
3202
3262
|
}
|
|
3203
3263
|
}
|
|
3204
3264
|
|
|
3265
|
+
get '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]'(): (
|
|
3266
|
+
parameters?: SeamCustomerV1WebhooksConnectorsWorkspaceIdConnectorIdParameters,
|
|
3267
|
+
options?: SeamCustomerV1WebhooksConnectorsWorkspaceIdConnectorIdOptions,
|
|
3268
|
+
) => SeamCustomerV1WebhooksConnectorsWorkspaceIdConnectorIdRequest {
|
|
3269
|
+
const { client, defaults } = this
|
|
3270
|
+
return function seamCustomerV1WebhooksConnectorsWorkspaceIdConnectorId(
|
|
3271
|
+
...args: Parameters<
|
|
3272
|
+
SeamHttpSeamCustomerV1WebhooksConnectorsWorkspaceId['connectorId']
|
|
3273
|
+
>
|
|
3274
|
+
): ReturnType<
|
|
3275
|
+
SeamHttpSeamCustomerV1WebhooksConnectorsWorkspaceId['connectorId']
|
|
3276
|
+
> {
|
|
3277
|
+
const seam =
|
|
3278
|
+
SeamHttpSeamCustomerV1WebhooksConnectorsWorkspaceId.fromClient(
|
|
3279
|
+
client,
|
|
3280
|
+
defaults,
|
|
3281
|
+
)
|
|
3282
|
+
return seam.connectorId(...args)
|
|
3283
|
+
}
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3205
3286
|
get '/seam/partner/v1/building_blocks/spaces/auto_map'(): (
|
|
3206
3287
|
parameters?: SeamPartnerV1BuildingBlocksSpacesAutoMapParameters,
|
|
3207
3288
|
options?: SeamPartnerV1BuildingBlocksSpacesAutoMapOptions,
|
|
@@ -4054,6 +4135,19 @@ export class SeamHttpEndpoints {
|
|
|
4054
4135
|
}
|
|
4055
4136
|
}
|
|
4056
4137
|
|
|
4138
|
+
get '/user_identities/unmanaged/update'(): (
|
|
4139
|
+
parameters?: UserIdentitiesUnmanagedUpdateParameters,
|
|
4140
|
+
options?: UserIdentitiesUnmanagedUpdateOptions,
|
|
4141
|
+
) => UserIdentitiesUnmanagedUpdateRequest {
|
|
4142
|
+
const { client, defaults } = this
|
|
4143
|
+
return function userIdentitiesUnmanagedUpdate(
|
|
4144
|
+
...args: Parameters<SeamHttpUserIdentitiesUnmanaged['update']>
|
|
4145
|
+
): ReturnType<SeamHttpUserIdentitiesUnmanaged['update']> {
|
|
4146
|
+
const seam = SeamHttpUserIdentitiesUnmanaged.fromClient(client, defaults)
|
|
4147
|
+
return seam.update(...args)
|
|
4148
|
+
}
|
|
4149
|
+
}
|
|
4150
|
+
|
|
4057
4151
|
get '/webhooks/create'(): (
|
|
4058
4152
|
parameters?: WebhooksCreateParameters,
|
|
4059
4153
|
options?: WebhooksCreateOptions,
|
|
@@ -4444,6 +4538,7 @@ export type SeamHttpEndpointMutationPaths =
|
|
|
4444
4538
|
| '/access_grants/delete'
|
|
4445
4539
|
| '/access_grants/request_access_methods'
|
|
4446
4540
|
| '/access_grants/update'
|
|
4541
|
+
| '/access_grants/unmanaged/update'
|
|
4447
4542
|
| '/access_methods/delete'
|
|
4448
4543
|
| '/access_methods/encode'
|
|
4449
4544
|
| '/acs/access_groups/add_user'
|
|
@@ -4505,8 +4600,11 @@ export type SeamHttpEndpointMutationPaths =
|
|
|
4505
4600
|
| '/phones/simulate/create_sandbox_phone'
|
|
4506
4601
|
| '/seam/customer/v1/automations/delete'
|
|
4507
4602
|
| '/seam/customer/v1/automations/update'
|
|
4603
|
+
| '/seam/customer/v1/connectors/create'
|
|
4604
|
+
| '/seam/customer/v1/connectors/sync'
|
|
4508
4605
|
| '/seam/customer/v1/settings/update'
|
|
4509
4606
|
| '/seam/customer/v1/spaces/create'
|
|
4607
|
+
| '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]'
|
|
4510
4608
|
| '/spaces/add_acs_entrances'
|
|
4511
4609
|
| '/spaces/add_devices'
|
|
4512
4610
|
| '/spaces/create'
|
|
@@ -4548,6 +4646,7 @@ export type SeamHttpEndpointMutationPaths =
|
|
|
4548
4646
|
| '/user_identities/update'
|
|
4549
4647
|
| '/user_identities/enrollment_automations/delete'
|
|
4550
4648
|
| '/user_identities/enrollment_automations/launch'
|
|
4649
|
+
| '/user_identities/unmanaged/update'
|
|
4551
4650
|
| '/webhooks/create'
|
|
4552
4651
|
| '/webhooks/delete'
|
|
4553
4652
|
| '/webhooks/update'
|
|
@@ -191,6 +191,19 @@ export class SeamHttpUserIdentitiesUnmanaged {
|
|
|
191
191
|
options,
|
|
192
192
|
})
|
|
193
193
|
}
|
|
194
|
+
|
|
195
|
+
update(
|
|
196
|
+
parameters?: UserIdentitiesUnmanagedUpdateParameters,
|
|
197
|
+
options: UserIdentitiesUnmanagedUpdateOptions = {},
|
|
198
|
+
): UserIdentitiesUnmanagedUpdateRequest {
|
|
199
|
+
return new SeamHttpRequest(this, {
|
|
200
|
+
pathname: '/user_identities/unmanaged/update',
|
|
201
|
+
method: 'PATCH',
|
|
202
|
+
body: parameters,
|
|
203
|
+
responseKey: undefined,
|
|
204
|
+
options,
|
|
205
|
+
})
|
|
206
|
+
}
|
|
194
207
|
}
|
|
195
208
|
|
|
196
209
|
export type UserIdentitiesUnmanagedGetParameters =
|
|
@@ -238,3 +251,26 @@ export type UserIdentitiesUnmanagedListRequest = SeamHttpRequest<
|
|
|
238
251
|
>
|
|
239
252
|
|
|
240
253
|
export interface UserIdentitiesUnmanagedListOptions {}
|
|
254
|
+
|
|
255
|
+
export type UserIdentitiesUnmanagedUpdateParameters =
|
|
256
|
+
RouteRequestBody<'/user_identities/unmanaged/update'>
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @deprecated Use UserIdentitiesUnmanagedUpdateParameters instead.
|
|
260
|
+
*/
|
|
261
|
+
export type UserIdentitiesUnmanagedUpdateBody =
|
|
262
|
+
UserIdentitiesUnmanagedUpdateParameters
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @deprecated Use UserIdentitiesUnmanagedUpdateRequest instead.
|
|
266
|
+
*/
|
|
267
|
+
export type UserIdentitiesUnmanagedUpdateResponse = SetNonNullable<
|
|
268
|
+
Required<RouteResponse<'/user_identities/unmanaged/update'>>
|
|
269
|
+
>
|
|
270
|
+
|
|
271
|
+
export type UserIdentitiesUnmanagedUpdateRequest = SeamHttpRequest<
|
|
272
|
+
void,
|
|
273
|
+
undefined
|
|
274
|
+
>
|
|
275
|
+
|
|
276
|
+
export interface UserIdentitiesUnmanagedUpdateOptions {}
|
package/src/lib/version.ts
CHANGED