@seamapi/types 1.365.0 → 1.366.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 +370 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1304 -14
- package/lib/seam/connect/models/acs/{acs-user.d.ts → acs-users/acs-user.d.ts} +540 -18
- package/lib/seam/connect/models/acs/{acs-user.js → acs-users/acs-user.js} +9 -2
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -0
- package/lib/seam/connect/models/acs/acs-users/index.d.ts +2 -0
- package/lib/seam/connect/models/acs/acs-users/index.js +3 -0
- package/lib/seam/connect/models/acs/acs-users/index.js.map +1 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.d.ts +176 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js +42 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js.map +1 -0
- package/lib/seam/connect/models/acs/index.d.ts +1 -1
- package/lib/seam/connect/models/acs/index.js +1 -1
- package/lib/seam/connect/models/acs/index.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +432 -0
- package/lib/seam/connect/openapi.js +320 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +336 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/{acs-user.ts → acs-users/acs-user.ts} +9 -2
- package/src/lib/seam/connect/models/acs/acs-users/index.ts +2 -0
- package/src/lib/seam/connect/models/acs/acs-users/pending-modifications.ts +56 -0
- package/src/lib/seam/connect/models/acs/index.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +328 -0
- package/src/lib/seam/connect/route-types.ts +385 -0
- package/lib/seam/connect/models/acs/acs-user.js.map +0 -1
|
@@ -2189,6 +2189,166 @@ export default {
|
|
|
2189
2189
|
type: 'string',
|
|
2190
2190
|
'x-undocumented': 'Only used internally.',
|
|
2191
2191
|
},
|
|
2192
|
+
pending_modifications: {
|
|
2193
|
+
items: {
|
|
2194
|
+
discriminator: { propertyName: 'modification_code' },
|
|
2195
|
+
oneOf: [
|
|
2196
|
+
{
|
|
2197
|
+
properties: {
|
|
2198
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
2199
|
+
modification_code: { enum: ['profile'], type: 'string' },
|
|
2200
|
+
modified_from: {
|
|
2201
|
+
properties: {
|
|
2202
|
+
email_address: {
|
|
2203
|
+
format: 'email',
|
|
2204
|
+
nullable: true,
|
|
2205
|
+
type: 'string',
|
|
2206
|
+
},
|
|
2207
|
+
full_name: { nullable: true, type: 'string' },
|
|
2208
|
+
phone_number: { nullable: true, type: 'string' },
|
|
2209
|
+
},
|
|
2210
|
+
type: 'object',
|
|
2211
|
+
},
|
|
2212
|
+
modified_to: {
|
|
2213
|
+
properties: {
|
|
2214
|
+
email_address: {
|
|
2215
|
+
format: 'email',
|
|
2216
|
+
nullable: true,
|
|
2217
|
+
type: 'string',
|
|
2218
|
+
},
|
|
2219
|
+
full_name: { nullable: true, type: 'string' },
|
|
2220
|
+
phone_number: { nullable: true, type: 'string' },
|
|
2221
|
+
},
|
|
2222
|
+
type: 'object',
|
|
2223
|
+
},
|
|
2224
|
+
},
|
|
2225
|
+
required: [
|
|
2226
|
+
'created_at',
|
|
2227
|
+
'modification_code',
|
|
2228
|
+
'modified_from',
|
|
2229
|
+
'modified_to',
|
|
2230
|
+
],
|
|
2231
|
+
type: 'object',
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
properties: {
|
|
2235
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
2236
|
+
modification_code: {
|
|
2237
|
+
enum: ['access_schedule'],
|
|
2238
|
+
type: 'string',
|
|
2239
|
+
},
|
|
2240
|
+
modified_from: {
|
|
2241
|
+
properties: {
|
|
2242
|
+
ends_at: {
|
|
2243
|
+
description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
2244
|
+
format: 'date-time',
|
|
2245
|
+
nullable: true,
|
|
2246
|
+
type: 'string',
|
|
2247
|
+
},
|
|
2248
|
+
starts_at: {
|
|
2249
|
+
description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
2250
|
+
format: 'date-time',
|
|
2251
|
+
type: 'string',
|
|
2252
|
+
},
|
|
2253
|
+
},
|
|
2254
|
+
required: ['starts_at', 'ends_at'],
|
|
2255
|
+
type: 'object',
|
|
2256
|
+
},
|
|
2257
|
+
modified_to: {
|
|
2258
|
+
properties: {
|
|
2259
|
+
ends_at: {
|
|
2260
|
+
description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
2261
|
+
format: 'date-time',
|
|
2262
|
+
nullable: true,
|
|
2263
|
+
type: 'string',
|
|
2264
|
+
},
|
|
2265
|
+
starts_at: {
|
|
2266
|
+
description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
2267
|
+
format: 'date-time',
|
|
2268
|
+
type: 'string',
|
|
2269
|
+
},
|
|
2270
|
+
},
|
|
2271
|
+
required: ['starts_at', 'ends_at'],
|
|
2272
|
+
type: 'object',
|
|
2273
|
+
},
|
|
2274
|
+
},
|
|
2275
|
+
required: [
|
|
2276
|
+
'created_at',
|
|
2277
|
+
'modification_code',
|
|
2278
|
+
'modified_from',
|
|
2279
|
+
'modified_to',
|
|
2280
|
+
],
|
|
2281
|
+
type: 'object',
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
properties: {
|
|
2285
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
2286
|
+
modification_code: {
|
|
2287
|
+
enum: ['suspension_state'],
|
|
2288
|
+
type: 'string',
|
|
2289
|
+
},
|
|
2290
|
+
modified_from: {
|
|
2291
|
+
properties: { is_suspended: { type: 'boolean' } },
|
|
2292
|
+
required: ['is_suspended'],
|
|
2293
|
+
type: 'object',
|
|
2294
|
+
},
|
|
2295
|
+
modified_to: {
|
|
2296
|
+
properties: { is_suspended: { type: 'boolean' } },
|
|
2297
|
+
required: ['is_suspended'],
|
|
2298
|
+
type: 'object',
|
|
2299
|
+
},
|
|
2300
|
+
},
|
|
2301
|
+
required: [
|
|
2302
|
+
'created_at',
|
|
2303
|
+
'modification_code',
|
|
2304
|
+
'modified_from',
|
|
2305
|
+
'modified_to',
|
|
2306
|
+
],
|
|
2307
|
+
type: 'object',
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
properties: {
|
|
2311
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
2312
|
+
modification_code: {
|
|
2313
|
+
enum: ['acs_access_group_membership'],
|
|
2314
|
+
type: 'string',
|
|
2315
|
+
},
|
|
2316
|
+
modified_from: {
|
|
2317
|
+
properties: {
|
|
2318
|
+
acs_access_group_id: {
|
|
2319
|
+
format: 'uuid',
|
|
2320
|
+
nullable: true,
|
|
2321
|
+
type: 'string',
|
|
2322
|
+
},
|
|
2323
|
+
},
|
|
2324
|
+
required: ['acs_access_group_id'],
|
|
2325
|
+
type: 'object',
|
|
2326
|
+
},
|
|
2327
|
+
modified_to: {
|
|
2328
|
+
properties: {
|
|
2329
|
+
acs_access_group_id: {
|
|
2330
|
+
format: 'uuid',
|
|
2331
|
+
nullable: true,
|
|
2332
|
+
type: 'string',
|
|
2333
|
+
},
|
|
2334
|
+
},
|
|
2335
|
+
required: ['acs_access_group_id'],
|
|
2336
|
+
type: 'object',
|
|
2337
|
+
},
|
|
2338
|
+
},
|
|
2339
|
+
required: [
|
|
2340
|
+
'created_at',
|
|
2341
|
+
'modification_code',
|
|
2342
|
+
'modified_from',
|
|
2343
|
+
'modified_to',
|
|
2344
|
+
],
|
|
2345
|
+
type: 'object',
|
|
2346
|
+
},
|
|
2347
|
+
],
|
|
2348
|
+
},
|
|
2349
|
+
type: 'array',
|
|
2350
|
+
'x-undocumented': 'Experimental.',
|
|
2351
|
+
},
|
|
2192
2352
|
phone_number: {
|
|
2193
2353
|
description: 'Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
|
|
2194
2354
|
type: 'string',
|
|
@@ -13409,6 +13569,166 @@ export default {
|
|
|
13409
13569
|
type: 'string',
|
|
13410
13570
|
'x-undocumented': 'Only used internally.',
|
|
13411
13571
|
},
|
|
13572
|
+
pending_modifications: {
|
|
13573
|
+
items: {
|
|
13574
|
+
discriminator: { propertyName: 'modification_code' },
|
|
13575
|
+
oneOf: [
|
|
13576
|
+
{
|
|
13577
|
+
properties: {
|
|
13578
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
13579
|
+
modification_code: { enum: ['profile'], type: 'string' },
|
|
13580
|
+
modified_from: {
|
|
13581
|
+
properties: {
|
|
13582
|
+
email_address: {
|
|
13583
|
+
format: 'email',
|
|
13584
|
+
nullable: true,
|
|
13585
|
+
type: 'string',
|
|
13586
|
+
},
|
|
13587
|
+
full_name: { nullable: true, type: 'string' },
|
|
13588
|
+
phone_number: { nullable: true, type: 'string' },
|
|
13589
|
+
},
|
|
13590
|
+
type: 'object',
|
|
13591
|
+
},
|
|
13592
|
+
modified_to: {
|
|
13593
|
+
properties: {
|
|
13594
|
+
email_address: {
|
|
13595
|
+
format: 'email',
|
|
13596
|
+
nullable: true,
|
|
13597
|
+
type: 'string',
|
|
13598
|
+
},
|
|
13599
|
+
full_name: { nullable: true, type: 'string' },
|
|
13600
|
+
phone_number: { nullable: true, type: 'string' },
|
|
13601
|
+
},
|
|
13602
|
+
type: 'object',
|
|
13603
|
+
},
|
|
13604
|
+
},
|
|
13605
|
+
required: [
|
|
13606
|
+
'created_at',
|
|
13607
|
+
'modification_code',
|
|
13608
|
+
'modified_from',
|
|
13609
|
+
'modified_to',
|
|
13610
|
+
],
|
|
13611
|
+
type: 'object',
|
|
13612
|
+
},
|
|
13613
|
+
{
|
|
13614
|
+
properties: {
|
|
13615
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
13616
|
+
modification_code: {
|
|
13617
|
+
enum: ['access_schedule'],
|
|
13618
|
+
type: 'string',
|
|
13619
|
+
},
|
|
13620
|
+
modified_from: {
|
|
13621
|
+
properties: {
|
|
13622
|
+
ends_at: {
|
|
13623
|
+
description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
13624
|
+
format: 'date-time',
|
|
13625
|
+
nullable: true,
|
|
13626
|
+
type: 'string',
|
|
13627
|
+
},
|
|
13628
|
+
starts_at: {
|
|
13629
|
+
description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
13630
|
+
format: 'date-time',
|
|
13631
|
+
type: 'string',
|
|
13632
|
+
},
|
|
13633
|
+
},
|
|
13634
|
+
required: ['starts_at', 'ends_at'],
|
|
13635
|
+
type: 'object',
|
|
13636
|
+
},
|
|
13637
|
+
modified_to: {
|
|
13638
|
+
properties: {
|
|
13639
|
+
ends_at: {
|
|
13640
|
+
description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
13641
|
+
format: 'date-time',
|
|
13642
|
+
nullable: true,
|
|
13643
|
+
type: 'string',
|
|
13644
|
+
},
|
|
13645
|
+
starts_at: {
|
|
13646
|
+
description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
13647
|
+
format: 'date-time',
|
|
13648
|
+
type: 'string',
|
|
13649
|
+
},
|
|
13650
|
+
},
|
|
13651
|
+
required: ['starts_at', 'ends_at'],
|
|
13652
|
+
type: 'object',
|
|
13653
|
+
},
|
|
13654
|
+
},
|
|
13655
|
+
required: [
|
|
13656
|
+
'created_at',
|
|
13657
|
+
'modification_code',
|
|
13658
|
+
'modified_from',
|
|
13659
|
+
'modified_to',
|
|
13660
|
+
],
|
|
13661
|
+
type: 'object',
|
|
13662
|
+
},
|
|
13663
|
+
{
|
|
13664
|
+
properties: {
|
|
13665
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
13666
|
+
modification_code: {
|
|
13667
|
+
enum: ['suspension_state'],
|
|
13668
|
+
type: 'string',
|
|
13669
|
+
},
|
|
13670
|
+
modified_from: {
|
|
13671
|
+
properties: { is_suspended: { type: 'boolean' } },
|
|
13672
|
+
required: ['is_suspended'],
|
|
13673
|
+
type: 'object',
|
|
13674
|
+
},
|
|
13675
|
+
modified_to: {
|
|
13676
|
+
properties: { is_suspended: { type: 'boolean' } },
|
|
13677
|
+
required: ['is_suspended'],
|
|
13678
|
+
type: 'object',
|
|
13679
|
+
},
|
|
13680
|
+
},
|
|
13681
|
+
required: [
|
|
13682
|
+
'created_at',
|
|
13683
|
+
'modification_code',
|
|
13684
|
+
'modified_from',
|
|
13685
|
+
'modified_to',
|
|
13686
|
+
],
|
|
13687
|
+
type: 'object',
|
|
13688
|
+
},
|
|
13689
|
+
{
|
|
13690
|
+
properties: {
|
|
13691
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
13692
|
+
modification_code: {
|
|
13693
|
+
enum: ['acs_access_group_membership'],
|
|
13694
|
+
type: 'string',
|
|
13695
|
+
},
|
|
13696
|
+
modified_from: {
|
|
13697
|
+
properties: {
|
|
13698
|
+
acs_access_group_id: {
|
|
13699
|
+
format: 'uuid',
|
|
13700
|
+
nullable: true,
|
|
13701
|
+
type: 'string',
|
|
13702
|
+
},
|
|
13703
|
+
},
|
|
13704
|
+
required: ['acs_access_group_id'],
|
|
13705
|
+
type: 'object',
|
|
13706
|
+
},
|
|
13707
|
+
modified_to: {
|
|
13708
|
+
properties: {
|
|
13709
|
+
acs_access_group_id: {
|
|
13710
|
+
format: 'uuid',
|
|
13711
|
+
nullable: true,
|
|
13712
|
+
type: 'string',
|
|
13713
|
+
},
|
|
13714
|
+
},
|
|
13715
|
+
required: ['acs_access_group_id'],
|
|
13716
|
+
type: 'object',
|
|
13717
|
+
},
|
|
13718
|
+
},
|
|
13719
|
+
required: [
|
|
13720
|
+
'created_at',
|
|
13721
|
+
'modification_code',
|
|
13722
|
+
'modified_from',
|
|
13723
|
+
'modified_to',
|
|
13724
|
+
],
|
|
13725
|
+
type: 'object',
|
|
13726
|
+
},
|
|
13727
|
+
],
|
|
13728
|
+
},
|
|
13729
|
+
type: 'array',
|
|
13730
|
+
'x-undocumented': 'Experimental.',
|
|
13731
|
+
},
|
|
13412
13732
|
phone_number: {
|
|
13413
13733
|
description: 'Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
|
|
13414
13734
|
type: 'string',
|