@seamapi/types 1.44.0 → 1.45.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.
@@ -2194,6 +2194,16 @@ declare const _default: {
2194
2194
  scheme: string;
2195
2195
  type: string;
2196
2196
  };
2197
+ api_key: {
2198
+ bearerFormat: string;
2199
+ scheme: string;
2200
+ type: string;
2201
+ };
2202
+ client_session: {
2203
+ bearerFormat: string;
2204
+ scheme: string;
2205
+ type: string;
2206
+ };
2197
2207
  client_session_token: {
2198
2208
  in: string;
2199
2209
  name: string;
@@ -2209,6 +2219,11 @@ declare const _default: {
2209
2219
  name: string;
2210
2220
  type: string;
2211
2221
  };
2222
+ user_session: {
2223
+ bearerFormat: string;
2224
+ scheme: string;
2225
+ type: string;
2226
+ };
2212
2227
  };
2213
2228
  };
2214
2229
  info: {
@@ -2783,20 +2798,25 @@ declare const _default: {
2783
2798
  };
2784
2799
  };
2785
2800
  security: ({
2801
+ api_key: never[];
2802
+ access_token?: never;
2803
+ user_session?: never;
2804
+ client_session?: never;
2805
+ } | {
2786
2806
  access_token: never[];
2787
- seam_workspace: never[];
2788
- seam_client_session_token?: never;
2789
- client_session_token?: never;
2807
+ api_key?: never;
2808
+ user_session?: never;
2809
+ client_session?: never;
2790
2810
  } | {
2791
- seam_client_session_token: never[];
2811
+ user_session: never[];
2812
+ api_key?: never;
2792
2813
  access_token?: never;
2793
- seam_workspace?: never;
2794
- client_session_token?: never;
2814
+ client_session?: never;
2795
2815
  } | {
2796
- client_session_token: never[];
2816
+ client_session: never[];
2817
+ api_key?: never;
2797
2818
  access_token?: never;
2798
- seam_workspace?: never;
2799
- seam_client_session_token?: never;
2819
+ user_session?: never;
2800
2820
  })[];
2801
2821
  summary: string;
2802
2822
  tags: string[];
@@ -4071,142 +4091,6 @@ declare const _default: {
4071
4091
  'x-fern-ignore': boolean;
4072
4092
  };
4073
4093
  };
4074
- '/acs/access_groups/create': {
4075
- post: {
4076
- operationId: string;
4077
- requestBody: {
4078
- content: {
4079
- 'application/json': {
4080
- schema: {
4081
- properties: {
4082
- acs_system_id: {
4083
- format: string;
4084
- type: string;
4085
- };
4086
- name: {
4087
- type: string;
4088
- };
4089
- };
4090
- required: string[];
4091
- type: string;
4092
- };
4093
- };
4094
- };
4095
- };
4096
- responses: {
4097
- 200: {
4098
- content: {
4099
- 'application/json': {
4100
- schema: {
4101
- properties: {
4102
- acs_access_group: {
4103
- $ref: string;
4104
- };
4105
- ok: {
4106
- type: string;
4107
- };
4108
- };
4109
- required: string[];
4110
- type: string;
4111
- };
4112
- };
4113
- };
4114
- description: string;
4115
- };
4116
- 400: {
4117
- description: string;
4118
- };
4119
- 401: {
4120
- description: string;
4121
- };
4122
- };
4123
- security: ({
4124
- access_token: never[];
4125
- seam_workspace: never[];
4126
- seam_client_session_token?: never;
4127
- client_session_token?: never;
4128
- } | {
4129
- seam_client_session_token: never[];
4130
- access_token?: never;
4131
- seam_workspace?: never;
4132
- client_session_token?: never;
4133
- } | {
4134
- client_session_token: never[];
4135
- access_token?: never;
4136
- seam_workspace?: never;
4137
- seam_client_session_token?: never;
4138
- })[];
4139
- summary: string;
4140
- tags: never[];
4141
- 'x-fern-sdk-group-name': string[];
4142
- 'x-fern-sdk-method-name': string;
4143
- };
4144
- };
4145
- '/acs/access_groups/delete': {
4146
- post: {
4147
- operationId: string;
4148
- requestBody: {
4149
- content: {
4150
- 'application/json': {
4151
- schema: {
4152
- properties: {
4153
- acs_access_group_id: {
4154
- format: string;
4155
- type: string;
4156
- };
4157
- };
4158
- required: string[];
4159
- type: string;
4160
- };
4161
- };
4162
- };
4163
- };
4164
- responses: {
4165
- 200: {
4166
- content: {
4167
- 'application/json': {
4168
- schema: {
4169
- properties: {
4170
- ok: {
4171
- type: string;
4172
- };
4173
- };
4174
- required: string[];
4175
- type: string;
4176
- };
4177
- };
4178
- };
4179
- description: string;
4180
- };
4181
- 400: {
4182
- description: string;
4183
- };
4184
- 401: {
4185
- description: string;
4186
- };
4187
- };
4188
- security: ({
4189
- access_token: never[];
4190
- seam_workspace: never[];
4191
- seam_client_session_token?: never;
4192
- client_session_token?: never;
4193
- } | {
4194
- seam_client_session_token: never[];
4195
- access_token?: never;
4196
- seam_workspace?: never;
4197
- client_session_token?: never;
4198
- } | {
4199
- client_session_token: never[];
4200
- access_token?: never;
4201
- seam_workspace?: never;
4202
- seam_client_session_token?: never;
4203
- })[];
4204
- summary: string;
4205
- tags: never[];
4206
- 'x-fern-sdk-group-name': string[];
4207
- 'x-fern-sdk-method-name': string;
4208
- };
4209
- };
4210
4094
  '/acs/access_groups/get': {
4211
4095
  post: {
4212
4096
  operationId: string;
@@ -4489,141 +4373,6 @@ declare const _default: {
4489
4373
  'x-fern-sdk-method-name': string;
4490
4374
  };
4491
4375
  };
4492
- '/acs/access_groups/update': {
4493
- patch: {
4494
- operationId: string;
4495
- requestBody: {
4496
- content: {
4497
- 'application/json': {
4498
- schema: {
4499
- properties: {
4500
- acs_access_group_id: {
4501
- format: string;
4502
- type: string;
4503
- };
4504
- name: {
4505
- nullable: boolean;
4506
- type: string;
4507
- };
4508
- };
4509
- required: string[];
4510
- type: string;
4511
- };
4512
- };
4513
- };
4514
- };
4515
- responses: {
4516
- 200: {
4517
- content: {
4518
- 'application/json': {
4519
- schema: {
4520
- properties: {
4521
- ok: {
4522
- type: string;
4523
- };
4524
- };
4525
- required: string[];
4526
- type: string;
4527
- };
4528
- };
4529
- };
4530
- description: string;
4531
- };
4532
- 400: {
4533
- description: string;
4534
- };
4535
- 401: {
4536
- description: string;
4537
- };
4538
- };
4539
- security: ({
4540
- access_token: never[];
4541
- seam_workspace: never[];
4542
- seam_client_session_token?: never;
4543
- client_session_token?: never;
4544
- } | {
4545
- seam_client_session_token: never[];
4546
- access_token?: never;
4547
- seam_workspace?: never;
4548
- client_session_token?: never;
4549
- } | {
4550
- client_session_token: never[];
4551
- access_token?: never;
4552
- seam_workspace?: never;
4553
- seam_client_session_token?: never;
4554
- })[];
4555
- summary: string;
4556
- tags: never[];
4557
- 'x-fern-ignore': boolean;
4558
- };
4559
- post: {
4560
- operationId: string;
4561
- requestBody: {
4562
- content: {
4563
- 'application/json': {
4564
- schema: {
4565
- properties: {
4566
- acs_access_group_id: {
4567
- format: string;
4568
- type: string;
4569
- };
4570
- name: {
4571
- nullable: boolean;
4572
- type: string;
4573
- };
4574
- };
4575
- required: string[];
4576
- type: string;
4577
- };
4578
- };
4579
- };
4580
- };
4581
- responses: {
4582
- 200: {
4583
- content: {
4584
- 'application/json': {
4585
- schema: {
4586
- properties: {
4587
- ok: {
4588
- type: string;
4589
- };
4590
- };
4591
- required: string[];
4592
- type: string;
4593
- };
4594
- };
4595
- };
4596
- description: string;
4597
- };
4598
- 400: {
4599
- description: string;
4600
- };
4601
- 401: {
4602
- description: string;
4603
- };
4604
- };
4605
- security: ({
4606
- access_token: never[];
4607
- seam_workspace: never[];
4608
- seam_client_session_token?: never;
4609
- client_session_token?: never;
4610
- } | {
4611
- seam_client_session_token: never[];
4612
- access_token?: never;
4613
- seam_workspace?: never;
4614
- client_session_token?: never;
4615
- } | {
4616
- client_session_token: never[];
4617
- access_token?: never;
4618
- seam_workspace?: never;
4619
- seam_client_session_token?: never;
4620
- })[];
4621
- summary: string;
4622
- tags: never[];
4623
- 'x-fern-sdk-group-name': string[];
4624
- 'x-fern-sdk-method-name': string;
4625
- };
4626
- };
4627
4376
  '/acs/credentials/assign': {
4628
4377
  patch: {
4629
4378
  operationId: string;
@@ -4810,6 +4559,10 @@ declare const _default: {
4810
4559
  format: string;
4811
4560
  type: string;
4812
4561
  };
4562
+ display_name: {
4563
+ minLength: number;
4564
+ type: string;
4565
+ };
4813
4566
  external_type: {
4814
4567
  enum: string[];
4815
4568
  type: string;
@@ -4977,6 +4730,10 @@ declare const _default: {
4977
4730
  format: string;
4978
4731
  type: string;
4979
4732
  };
4733
+ display_name: {
4734
+ minLength: number;
4735
+ type: string;
4736
+ };
4980
4737
  external_type: {
4981
4738
  enum: string[];
4982
4739
  type: string;
@@ -5106,6 +4863,10 @@ declare const _default: {
5106
4863
  format: string;
5107
4864
  type: string;
5108
4865
  };
4866
+ display_name: {
4867
+ minLength: number;
4868
+ type: string;
4869
+ };
5109
4870
  external_type: {
5110
4871
  enum: string[];
5111
4872
  type: string;
@@ -1579,6 +1579,12 @@ export default {
1579
1579
  scheme: 'bearer',
1580
1580
  type: 'http',
1581
1581
  },
1582
+ api_key: { bearerFormat: 'API Key', scheme: 'bearer', type: 'http' },
1583
+ client_session: {
1584
+ bearerFormat: 'Client Session Token',
1585
+ scheme: 'bearer',
1586
+ type: 'http',
1587
+ },
1582
1588
  client_session_token: {
1583
1589
  in: 'header',
1584
1590
  name: 'client-session-token',
@@ -1590,6 +1596,11 @@ export default {
1590
1596
  type: 'apiKey',
1591
1597
  },
1592
1598
  seam_workspace: { in: 'header', name: 'seam-workspace', type: 'apiKey' },
1599
+ user_session: {
1600
+ bearerFormat: 'User Session Token',
1601
+ scheme: 'bearer',
1602
+ type: 'http',
1603
+ },
1593
1604
  },
1594
1605
  },
1595
1606
  info: { title: 'Seam Connect', version: '1.0.0' },
@@ -1966,9 +1977,10 @@ export default {
1966
1977
  401: { description: 'Unauthorized' },
1967
1978
  },
1968
1979
  security: [
1969
- { access_token: [], seam_workspace: [] },
1970
- { seam_client_session_token: [] },
1971
- { client_session_token: [] },
1980
+ { api_key: [] },
1981
+ { access_token: [] },
1982
+ { user_session: [] },
1983
+ { client_session: [] },
1972
1984
  ],
1973
1985
  summary: '/access_codes/get',
1974
1986
  tags: ['/access_codes'],
@@ -2779,98 +2791,6 @@ export default {
2779
2791
  'x-fern-ignore': true,
2780
2792
  },
2781
2793
  },
2782
- '/acs/access_groups/create': {
2783
- post: {
2784
- operationId: 'acsAccessGroupsCreatePost',
2785
- requestBody: {
2786
- content: {
2787
- 'application/json': {
2788
- schema: {
2789
- properties: {
2790
- acs_system_id: { format: 'uuid', type: 'string' },
2791
- name: { type: 'string' },
2792
- },
2793
- required: ['acs_system_id'],
2794
- type: 'object',
2795
- },
2796
- },
2797
- },
2798
- },
2799
- responses: {
2800
- 200: {
2801
- content: {
2802
- 'application/json': {
2803
- schema: {
2804
- properties: {
2805
- acs_access_group: {
2806
- $ref: '#/components/schemas/acs_access_group',
2807
- },
2808
- ok: { type: 'boolean' },
2809
- },
2810
- required: ['acs_access_group', 'ok'],
2811
- type: 'object',
2812
- },
2813
- },
2814
- },
2815
- description: 'OK',
2816
- },
2817
- 400: { description: 'Bad Request' },
2818
- 401: { description: 'Unauthorized' },
2819
- },
2820
- security: [
2821
- { access_token: [], seam_workspace: [] },
2822
- { seam_client_session_token: [] },
2823
- { client_session_token: [] },
2824
- ],
2825
- summary: '/acs/access_groups/create',
2826
- tags: [],
2827
- 'x-fern-sdk-group-name': ['acs', 'access_groups'],
2828
- 'x-fern-sdk-method-name': 'create',
2829
- },
2830
- },
2831
- '/acs/access_groups/delete': {
2832
- post: {
2833
- operationId: 'acsAccessGroupsDeletePost',
2834
- requestBody: {
2835
- content: {
2836
- 'application/json': {
2837
- schema: {
2838
- properties: {
2839
- acs_access_group_id: { format: 'uuid', type: 'string' },
2840
- },
2841
- required: ['acs_access_group_id'],
2842
- type: 'object',
2843
- },
2844
- },
2845
- },
2846
- },
2847
- responses: {
2848
- 200: {
2849
- content: {
2850
- 'application/json': {
2851
- schema: {
2852
- properties: { ok: { type: 'boolean' } },
2853
- required: ['ok'],
2854
- type: 'object',
2855
- },
2856
- },
2857
- },
2858
- description: 'OK',
2859
- },
2860
- 400: { description: 'Bad Request' },
2861
- 401: { description: 'Unauthorized' },
2862
- },
2863
- security: [
2864
- { access_token: [], seam_workspace: [] },
2865
- { seam_client_session_token: [] },
2866
- { client_session_token: [] },
2867
- ],
2868
- summary: '/acs/access_groups/delete',
2869
- tags: [],
2870
- 'x-fern-sdk-group-name': ['acs', 'access_groups'],
2871
- 'x-fern-sdk-method-name': 'delete',
2872
- },
2873
- },
2874
2794
  '/acs/access_groups/get': {
2875
2795
  post: {
2876
2796
  operationId: 'acsAccessGroupsGetPost',
@@ -3061,91 +2981,6 @@ export default {
3061
2981
  'x-fern-sdk-method-name': 'remove_user',
3062
2982
  },
3063
2983
  },
3064
- '/acs/access_groups/update': {
3065
- patch: {
3066
- operationId: 'acsAccessGroupsUpdatePatch',
3067
- requestBody: {
3068
- content: {
3069
- 'application/json': {
3070
- schema: {
3071
- properties: {
3072
- acs_access_group_id: { format: 'uuid', type: 'string' },
3073
- name: { nullable: true, type: 'string' },
3074
- },
3075
- required: ['acs_access_group_id'],
3076
- type: 'object',
3077
- },
3078
- },
3079
- },
3080
- },
3081
- responses: {
3082
- 200: {
3083
- content: {
3084
- 'application/json': {
3085
- schema: {
3086
- properties: { ok: { type: 'boolean' } },
3087
- required: ['ok'],
3088
- type: 'object',
3089
- },
3090
- },
3091
- },
3092
- description: 'OK',
3093
- },
3094
- 400: { description: 'Bad Request' },
3095
- 401: { description: 'Unauthorized' },
3096
- },
3097
- security: [
3098
- { access_token: [], seam_workspace: [] },
3099
- { seam_client_session_token: [] },
3100
- { client_session_token: [] },
3101
- ],
3102
- summary: '/acs/access_groups/update',
3103
- tags: [],
3104
- 'x-fern-ignore': true,
3105
- },
3106
- post: {
3107
- operationId: 'acsAccessGroupsUpdatePost',
3108
- requestBody: {
3109
- content: {
3110
- 'application/json': {
3111
- schema: {
3112
- properties: {
3113
- acs_access_group_id: { format: 'uuid', type: 'string' },
3114
- name: { nullable: true, type: 'string' },
3115
- },
3116
- required: ['acs_access_group_id'],
3117
- type: 'object',
3118
- },
3119
- },
3120
- },
3121
- },
3122
- responses: {
3123
- 200: {
3124
- content: {
3125
- 'application/json': {
3126
- schema: {
3127
- properties: { ok: { type: 'boolean' } },
3128
- required: ['ok'],
3129
- type: 'object',
3130
- },
3131
- },
3132
- },
3133
- description: 'OK',
3134
- },
3135
- 400: { description: 'Bad Request' },
3136
- 401: { description: 'Unauthorized' },
3137
- },
3138
- security: [
3139
- { access_token: [], seam_workspace: [] },
3140
- { seam_client_session_token: [] },
3141
- { client_session_token: [] },
3142
- ],
3143
- summary: '/acs/access_groups/update',
3144
- tags: [],
3145
- 'x-fern-sdk-group-name': ['acs', 'access_groups'],
3146
- 'x-fern-sdk-method-name': 'update',
3147
- },
3148
- },
3149
2984
  '/acs/credentials/assign': {
3150
2985
  patch: {
3151
2986
  operationId: 'acsCredentialsAssignPatch',
@@ -3261,6 +3096,7 @@ export default {
3261
3096
  acs_user_id: { format: 'uuid', type: 'string' },
3262
3097
  code: { nullable: true, type: 'string' },
3263
3098
  created_at: { format: 'date-time', type: 'string' },
3099
+ display_name: { minLength: 1, type: 'string' },
3264
3100
  external_type: {
3265
3101
  enum: ['pti_card', 'brivo_credential'],
3266
3102
  type: 'string',
@@ -3271,6 +3107,7 @@ export default {
3271
3107
  required: [
3272
3108
  'acs_credential_id',
3273
3109
  'acs_system_id',
3110
+ 'display_name',
3274
3111
  'code',
3275
3112
  'external_type',
3276
3113
  'external_type_display_name',
@@ -3374,6 +3211,7 @@ export default {
3374
3211
  acs_user_id: { format: 'uuid', type: 'string' },
3375
3212
  code: { nullable: true, type: 'string' },
3376
3213
  created_at: { format: 'date-time', type: 'string' },
3214
+ display_name: { minLength: 1, type: 'string' },
3377
3215
  external_type: {
3378
3216
  enum: ['pti_card', 'brivo_credential'],
3379
3217
  type: 'string',
@@ -3384,6 +3222,7 @@ export default {
3384
3222
  required: [
3385
3223
  'acs_credential_id',
3386
3224
  'acs_system_id',
3225
+ 'display_name',
3387
3226
  'code',
3388
3227
  'external_type',
3389
3228
  'external_type_display_name',
@@ -3464,6 +3303,7 @@ export default {
3464
3303
  acs_user_id: { format: 'uuid', type: 'string' },
3465
3304
  code: { nullable: true, type: 'string' },
3466
3305
  created_at: { format: 'date-time', type: 'string' },
3306
+ display_name: { minLength: 1, type: 'string' },
3467
3307
  external_type: {
3468
3308
  enum: ['pti_card', 'brivo_credential'],
3469
3309
  type: 'string',
@@ -3474,6 +3314,7 @@ export default {
3474
3314
  required: [
3475
3315
  'acs_credential_id',
3476
3316
  'acs_system_id',
3317
+ 'display_name',
3477
3318
  'code',
3478
3319
  'external_type',
3479
3320
  'external_type_display_name',
@@ -4837,6 +4678,7 @@ export default {
4837
4678
  'wyze',
4838
4679
  'seam_passport',
4839
4680
  'yale_access',
4681
+ 'hid_cm',
4840
4682
  ],
4841
4683
  type: 'string',
4842
4684
  },