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