@seamapi/types 1.32.0 → 1.34.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.
@@ -7894,6 +7894,503 @@ export default {
7894
7894
  'x-fern-sdk-method-name': 'update',
7895
7895
  },
7896
7896
  },
7897
+ '/user_identities/add_acs_user': {
7898
+ post: {
7899
+ operationId: 'userIdentitiesAddAcsUserPost',
7900
+ requestBody: {
7901
+ content: {
7902
+ 'application/json': {
7903
+ schema: {
7904
+ properties: {
7905
+ acs_user_id: { format: 'uuid', type: 'string' },
7906
+ user_identity_id: { format: 'uuid', type: 'string' },
7907
+ },
7908
+ required: ['user_identity_id', 'acs_user_id'],
7909
+ type: 'object',
7910
+ },
7911
+ },
7912
+ },
7913
+ },
7914
+ responses: {
7915
+ 200: {
7916
+ content: {
7917
+ 'application/json': {
7918
+ schema: {
7919
+ properties: { ok: { type: 'boolean' } },
7920
+ required: ['ok'],
7921
+ type: 'object',
7922
+ },
7923
+ },
7924
+ },
7925
+ description: 'OK',
7926
+ },
7927
+ 400: { description: 'Bad Request' },
7928
+ 401: { description: 'Unauthorized' },
7929
+ },
7930
+ security: [
7931
+ { access_token: [], seam_workspace: [] },
7932
+ { seam_client_session_token: [] },
7933
+ { client_session_token: [] },
7934
+ ],
7935
+ summary: '/user_identities/add_acs_user',
7936
+ tags: [],
7937
+ 'x-fern-sdk-group-name': ['user_identities'],
7938
+ 'x-fern-sdk-method-name': 'add_acs_user',
7939
+ },
7940
+ put: {
7941
+ operationId: 'userIdentitiesAddAcsUserPut',
7942
+ requestBody: {
7943
+ content: {
7944
+ 'application/json': {
7945
+ schema: {
7946
+ properties: {
7947
+ acs_user_id: { format: 'uuid', type: 'string' },
7948
+ user_identity_id: { format: 'uuid', type: 'string' },
7949
+ },
7950
+ required: ['user_identity_id', 'acs_user_id'],
7951
+ type: 'object',
7952
+ },
7953
+ },
7954
+ },
7955
+ },
7956
+ responses: {
7957
+ 200: {
7958
+ content: {
7959
+ 'application/json': {
7960
+ schema: {
7961
+ properties: { ok: { type: 'boolean' } },
7962
+ required: ['ok'],
7963
+ type: 'object',
7964
+ },
7965
+ },
7966
+ },
7967
+ description: 'OK',
7968
+ },
7969
+ 400: { description: 'Bad Request' },
7970
+ 401: { description: 'Unauthorized' },
7971
+ },
7972
+ security: [
7973
+ { access_token: [], seam_workspace: [] },
7974
+ { seam_client_session_token: [] },
7975
+ { client_session_token: [] },
7976
+ ],
7977
+ summary: '/user_identities/add_acs_user',
7978
+ tags: [],
7979
+ 'x-fern-ignore': true,
7980
+ },
7981
+ },
7982
+ '/user_identities/create': {
7983
+ post: {
7984
+ operationId: 'userIdentitiesCreatePost',
7985
+ requestBody: {
7986
+ content: {
7987
+ 'application/json': {
7988
+ schema: {
7989
+ properties: {
7990
+ email_address: {
7991
+ format: 'email',
7992
+ nullable: true,
7993
+ type: 'string',
7994
+ },
7995
+ user_identity_key: { nullable: true, type: 'string' },
7996
+ },
7997
+ type: 'object',
7998
+ },
7999
+ },
8000
+ },
8001
+ },
8002
+ responses: {
8003
+ 200: {
8004
+ content: {
8005
+ 'application/json': {
8006
+ schema: {
8007
+ properties: {
8008
+ ok: { type: 'boolean' },
8009
+ user_identity: {
8010
+ properties: {
8011
+ created_at: { format: 'date-time', type: 'string' },
8012
+ email_address: {
8013
+ format: 'email',
8014
+ nullable: true,
8015
+ type: 'string',
8016
+ },
8017
+ user_identity_id: { format: 'uuid', type: 'string' },
8018
+ user_identity_key: { nullable: true, type: 'string' },
8019
+ workspace_id: { format: 'uuid', type: 'string' },
8020
+ },
8021
+ required: [
8022
+ 'user_identity_id',
8023
+ 'created_at',
8024
+ 'workspace_id',
8025
+ ],
8026
+ type: 'object',
8027
+ },
8028
+ },
8029
+ required: ['user_identity', 'ok'],
8030
+ type: 'object',
8031
+ },
8032
+ },
8033
+ },
8034
+ description: 'OK',
8035
+ },
8036
+ 400: { description: 'Bad Request' },
8037
+ 401: { description: 'Unauthorized' },
8038
+ },
8039
+ security: [
8040
+ { access_token: [], seam_workspace: [] },
8041
+ { seam_client_session_token: [] },
8042
+ { client_session_token: [] },
8043
+ ],
8044
+ summary: '/user_identities/create',
8045
+ tags: [],
8046
+ 'x-fern-sdk-group-name': ['user_identities'],
8047
+ 'x-fern-sdk-method-name': 'create',
8048
+ },
8049
+ },
8050
+ '/user_identities/get': {
8051
+ post: {
8052
+ operationId: 'userIdentitiesGetPost',
8053
+ requestBody: {
8054
+ content: {
8055
+ 'application/json': {
8056
+ schema: {
8057
+ oneOf: [
8058
+ {
8059
+ properties: {
8060
+ user_identity_id: { format: 'uuid', type: 'string' },
8061
+ },
8062
+ required: ['user_identity_id'],
8063
+ type: 'object',
8064
+ },
8065
+ {
8066
+ properties: { user_identity_key: { type: 'string' } },
8067
+ required: ['user_identity_key'],
8068
+ type: 'object',
8069
+ },
8070
+ ],
8071
+ },
8072
+ },
8073
+ },
8074
+ },
8075
+ responses: {
8076
+ 200: {
8077
+ content: {
8078
+ 'application/json': {
8079
+ schema: {
8080
+ properties: {
8081
+ ok: { type: 'boolean' },
8082
+ user_identity: {
8083
+ properties: {
8084
+ created_at: { format: 'date-time', type: 'string' },
8085
+ email_address: {
8086
+ format: 'email',
8087
+ nullable: true,
8088
+ type: 'string',
8089
+ },
8090
+ user_identity_id: { format: 'uuid', type: 'string' },
8091
+ user_identity_key: { nullable: true, type: 'string' },
8092
+ workspace_id: { format: 'uuid', type: 'string' },
8093
+ },
8094
+ required: [
8095
+ 'user_identity_id',
8096
+ 'created_at',
8097
+ 'workspace_id',
8098
+ ],
8099
+ type: 'object',
8100
+ },
8101
+ },
8102
+ required: ['user_identity', 'ok'],
8103
+ type: 'object',
8104
+ },
8105
+ },
8106
+ },
8107
+ description: 'OK',
8108
+ },
8109
+ 400: { description: 'Bad Request' },
8110
+ 401: { description: 'Unauthorized' },
8111
+ },
8112
+ security: [
8113
+ { access_token: [], seam_workspace: [] },
8114
+ { seam_client_session_token: [] },
8115
+ { client_session_token: [] },
8116
+ ],
8117
+ summary: '/user_identities/get',
8118
+ tags: [],
8119
+ 'x-fern-sdk-group-name': ['user_identities'],
8120
+ 'x-fern-sdk-method-name': 'get',
8121
+ },
8122
+ },
8123
+ '/user_identities/grant_access_to_device': {
8124
+ post: {
8125
+ operationId: 'userIdentitiesGrantAccessToDevicePost',
8126
+ requestBody: {
8127
+ content: {
8128
+ 'application/json': {
8129
+ schema: {
8130
+ properties: {
8131
+ device_id: { format: 'uuid', type: 'string' },
8132
+ user_identity_id: { format: 'uuid', type: 'string' },
8133
+ },
8134
+ required: ['user_identity_id', 'device_id'],
8135
+ type: 'object',
8136
+ },
8137
+ },
8138
+ },
8139
+ },
8140
+ responses: {
8141
+ 200: {
8142
+ content: {
8143
+ 'application/json': {
8144
+ schema: {
8145
+ properties: { ok: { type: 'boolean' } },
8146
+ required: ['ok'],
8147
+ type: 'object',
8148
+ },
8149
+ },
8150
+ },
8151
+ description: 'OK',
8152
+ },
8153
+ 400: { description: 'Bad Request' },
8154
+ 401: { description: 'Unauthorized' },
8155
+ },
8156
+ security: [
8157
+ { access_token: [], seam_workspace: [] },
8158
+ { seam_client_session_token: [] },
8159
+ { client_session_token: [] },
8160
+ ],
8161
+ summary: '/user_identities/grant_access_to_device',
8162
+ tags: [],
8163
+ 'x-fern-sdk-group-name': ['user_identities'],
8164
+ 'x-fern-sdk-method-name': 'grant_access_to_device',
8165
+ },
8166
+ put: {
8167
+ operationId: 'userIdentitiesGrantAccessToDevicePut',
8168
+ requestBody: {
8169
+ content: {
8170
+ 'application/json': {
8171
+ schema: {
8172
+ properties: {
8173
+ device_id: { format: 'uuid', type: 'string' },
8174
+ user_identity_id: { format: 'uuid', type: 'string' },
8175
+ },
8176
+ required: ['user_identity_id', 'device_id'],
8177
+ type: 'object',
8178
+ },
8179
+ },
8180
+ },
8181
+ },
8182
+ responses: {
8183
+ 200: {
8184
+ content: {
8185
+ 'application/json': {
8186
+ schema: {
8187
+ properties: { ok: { type: 'boolean' } },
8188
+ required: ['ok'],
8189
+ type: 'object',
8190
+ },
8191
+ },
8192
+ },
8193
+ description: 'OK',
8194
+ },
8195
+ 400: { description: 'Bad Request' },
8196
+ 401: { description: 'Unauthorized' },
8197
+ },
8198
+ security: [
8199
+ { access_token: [], seam_workspace: [] },
8200
+ { seam_client_session_token: [] },
8201
+ { client_session_token: [] },
8202
+ ],
8203
+ summary: '/user_identities/grant_access_to_device',
8204
+ tags: [],
8205
+ 'x-fern-ignore': true,
8206
+ },
8207
+ },
8208
+ '/user_identities/list_accessible_devices': {
8209
+ post: {
8210
+ operationId: 'userIdentitiesListAccessibleDevicesPost',
8211
+ requestBody: {
8212
+ content: {
8213
+ 'application/json': {
8214
+ schema: {
8215
+ properties: {
8216
+ user_identity_id: { format: 'uuid', type: 'string' },
8217
+ },
8218
+ required: ['user_identity_id'],
8219
+ type: 'object',
8220
+ },
8221
+ },
8222
+ },
8223
+ },
8224
+ responses: {
8225
+ 200: {
8226
+ content: {
8227
+ 'application/json': {
8228
+ schema: {
8229
+ properties: {
8230
+ accessible_devices: {
8231
+ items: { $ref: '#/components/schemas/device' },
8232
+ type: 'array',
8233
+ },
8234
+ ok: { type: 'boolean' },
8235
+ },
8236
+ required: ['accessible_devices', 'ok'],
8237
+ type: 'object',
8238
+ },
8239
+ },
8240
+ },
8241
+ description: 'OK',
8242
+ },
8243
+ 400: { description: 'Bad Request' },
8244
+ 401: { description: 'Unauthorized' },
8245
+ },
8246
+ security: [
8247
+ { access_token: [], seam_workspace: [] },
8248
+ { seam_client_session_token: [] },
8249
+ { client_session_token: [] },
8250
+ ],
8251
+ summary: '/user_identities/list_accessible_devices',
8252
+ tags: [],
8253
+ 'x-fern-sdk-group-name': ['user_identities'],
8254
+ 'x-fern-sdk-method-name': 'list_accessible_devices',
8255
+ },
8256
+ },
8257
+ '/user_identities/list_acs_users': {
8258
+ post: {
8259
+ operationId: 'userIdentitiesListAcsUsersPost',
8260
+ requestBody: {
8261
+ content: {
8262
+ 'application/json': {
8263
+ schema: {
8264
+ properties: {
8265
+ user_identity_id: { format: 'uuid', type: 'string' },
8266
+ },
8267
+ required: ['user_identity_id'],
8268
+ type: 'object',
8269
+ },
8270
+ },
8271
+ },
8272
+ },
8273
+ responses: {
8274
+ 200: {
8275
+ content: {
8276
+ 'application/json': {
8277
+ schema: {
8278
+ properties: {
8279
+ acs_users: {
8280
+ items: { $ref: '#/components/schemas/acs_user' },
8281
+ type: 'array',
8282
+ },
8283
+ ok: { type: 'boolean' },
8284
+ },
8285
+ required: ['acs_users', 'ok'],
8286
+ type: 'object',
8287
+ },
8288
+ },
8289
+ },
8290
+ description: 'OK',
8291
+ },
8292
+ 400: { description: 'Bad Request' },
8293
+ 401: { description: 'Unauthorized' },
8294
+ },
8295
+ security: [
8296
+ { access_token: [], seam_workspace: [] },
8297
+ { seam_client_session_token: [] },
8298
+ { client_session_token: [] },
8299
+ ],
8300
+ summary: '/user_identities/list_acs_users',
8301
+ tags: [],
8302
+ 'x-fern-sdk-group-name': ['user_identities'],
8303
+ 'x-fern-sdk-method-name': 'list_acs_users',
8304
+ },
8305
+ },
8306
+ '/user_identities/remove_acs_user': {
8307
+ post: {
8308
+ operationId: 'userIdentitiesRemoveAcsUserPost',
8309
+ requestBody: {
8310
+ content: {
8311
+ 'application/json': {
8312
+ schema: {
8313
+ properties: {
8314
+ acs_user_id: { format: 'uuid', type: 'string' },
8315
+ user_identity_id: { format: 'uuid', type: 'string' },
8316
+ },
8317
+ required: ['user_identity_id', 'acs_user_id'],
8318
+ type: 'object',
8319
+ },
8320
+ },
8321
+ },
8322
+ },
8323
+ responses: {
8324
+ 200: {
8325
+ content: {
8326
+ 'application/json': {
8327
+ schema: {
8328
+ properties: { ok: { type: 'boolean' } },
8329
+ required: ['ok'],
8330
+ type: 'object',
8331
+ },
8332
+ },
8333
+ },
8334
+ description: 'OK',
8335
+ },
8336
+ 400: { description: 'Bad Request' },
8337
+ 401: { description: 'Unauthorized' },
8338
+ },
8339
+ security: [
8340
+ { access_token: [], seam_workspace: [] },
8341
+ { seam_client_session_token: [] },
8342
+ { client_session_token: [] },
8343
+ ],
8344
+ summary: '/user_identities/remove_acs_user',
8345
+ tags: [],
8346
+ 'x-fern-sdk-group-name': ['user_identities'],
8347
+ 'x-fern-sdk-method-name': 'remove_acs_user',
8348
+ },
8349
+ },
8350
+ '/user_identities/revoke_access_to_device': {
8351
+ post: {
8352
+ operationId: 'userIdentitiesRevokeAccessToDevicePost',
8353
+ requestBody: {
8354
+ content: {
8355
+ 'application/json': {
8356
+ schema: {
8357
+ properties: {
8358
+ device_id: { format: 'uuid', type: 'string' },
8359
+ user_identity_id: { format: 'uuid', type: 'string' },
8360
+ },
8361
+ required: ['user_identity_id', 'device_id'],
8362
+ type: 'object',
8363
+ },
8364
+ },
8365
+ },
8366
+ },
8367
+ responses: {
8368
+ 200: {
8369
+ content: {
8370
+ 'application/json': {
8371
+ schema: {
8372
+ properties: { ok: { type: 'boolean' } },
8373
+ required: ['ok'],
8374
+ type: 'object',
8375
+ },
8376
+ },
8377
+ },
8378
+ description: 'OK',
8379
+ },
8380
+ 400: { description: 'Bad Request' },
8381
+ 401: { description: 'Unauthorized' },
8382
+ },
8383
+ security: [
8384
+ { access_token: [], seam_workspace: [] },
8385
+ { seam_client_session_token: [] },
8386
+ { client_session_token: [] },
8387
+ ],
8388
+ summary: '/user_identities/revoke_access_to_device',
8389
+ tags: [],
8390
+ 'x-fern-sdk-group-name': ['user_identities'],
8391
+ 'x-fern-sdk-method-name': 'revoke_access_to_device',
8392
+ },
8393
+ },
7897
8394
  '/webhooks/create': {
7898
8395
  post: {
7899
8396
  operationId: 'webhooksCreatePost',