@seamapi/types 1.375.2 → 1.376.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.
Files changed (25) hide show
  1. package/dist/connect.cjs +127 -142
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +351 -298
  4. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +182 -150
  5. package/lib/seam/connect/models/acs/acs-users/acs-user.js +2 -3
  6. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-users/index.d.ts +1 -1
  8. package/lib/seam/connect/models/acs/acs-users/index.js +1 -1
  9. package/lib/seam/connect/models/acs/acs-users/index.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-users/{pending-modifications.d.ts → pending-mutations.d.ts} +191 -106
  11. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +90 -0
  12. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -0
  13. package/lib/seam/connect/openapi.d.ts +56 -56
  14. package/lib/seam/connect/openapi.js +80 -98
  15. package/lib/seam/connect/openapi.js.map +1 -1
  16. package/lib/seam/connect/route-types.d.ts +119 -98
  17. package/package.json +1 -1
  18. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +2 -3
  19. package/src/lib/seam/connect/models/acs/acs-users/index.ts +1 -1
  20. package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +110 -0
  21. package/src/lib/seam/connect/openapi.ts +80 -98
  22. package/src/lib/seam/connect/route-types.ts +126 -98
  23. package/lib/seam/connect/models/acs/acs-users/pending-modifications.js +0 -85
  24. package/lib/seam/connect/models/acs/acs-users/pending-modifications.js.map +0 -1
  25. package/src/lib/seam/connect/models/acs/acs-users/pending-modifications.ts +0 -109
@@ -2229,23 +2229,30 @@ export default {
2229
2229
  type: 'string',
2230
2230
  'x-undocumented': 'Only used internally.',
2231
2231
  },
2232
- pending_modifications: {
2232
+ pending_mutations: {
2233
2233
  items: {
2234
- discriminator: { propertyName: 'modification_code' },
2234
+ discriminator: { propertyName: 'mutation_code' },
2235
2235
  oneOf: [
2236
2236
  {
2237
2237
  properties: {
2238
2238
  created_at: { format: 'date-time', type: 'string' },
2239
- modification_code: { enum: ['create'], type: 'string' },
2239
+ mutation_code: { enum: ['creating'], type: 'string' },
2240
2240
  },
2241
- required: ['created_at', 'modification_code'],
2241
+ required: ['created_at', 'mutation_code'],
2242
2242
  type: 'object',
2243
2243
  },
2244
2244
  {
2245
2245
  properties: {
2246
2246
  created_at: { format: 'date-time', type: 'string' },
2247
- modification_code: { enum: ['profile'], type: 'string' },
2248
- modified_from: {
2247
+ mutation_code: { enum: ['deleting'], type: 'string' },
2248
+ },
2249
+ required: ['created_at', 'mutation_code'],
2250
+ type: 'object',
2251
+ },
2252
+ {
2253
+ properties: {
2254
+ created_at: { format: 'date-time', type: 'string' },
2255
+ from: {
2249
2256
  properties: {
2250
2257
  email_address: {
2251
2258
  format: 'email',
@@ -2257,7 +2264,11 @@ export default {
2257
2264
  },
2258
2265
  type: 'object',
2259
2266
  },
2260
- modified_to: {
2267
+ mutation_code: {
2268
+ enum: ['updating_user_information'],
2269
+ type: 'string',
2270
+ },
2271
+ to: {
2261
2272
  properties: {
2262
2273
  email_address: {
2263
2274
  format: 'email',
@@ -2270,22 +2281,13 @@ export default {
2270
2281
  type: 'object',
2271
2282
  },
2272
2283
  },
2273
- required: [
2274
- 'created_at',
2275
- 'modification_code',
2276
- 'modified_from',
2277
- 'modified_to',
2278
- ],
2284
+ required: ['created_at', 'mutation_code', 'from', 'to'],
2279
2285
  type: 'object',
2280
2286
  },
2281
2287
  {
2282
2288
  properties: {
2283
2289
  created_at: { format: 'date-time', type: 'string' },
2284
- modification_code: {
2285
- enum: ['access_schedule'],
2286
- type: 'string',
2287
- },
2288
- modified_from: {
2290
+ from: {
2289
2291
  properties: {
2290
2292
  ends_at: {
2291
2293
  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.",
@@ -2302,7 +2304,11 @@ export default {
2302
2304
  required: ['starts_at', 'ends_at'],
2303
2305
  type: 'object',
2304
2306
  },
2305
- modified_to: {
2307
+ mutation_code: {
2308
+ enum: ['updating_access_schedule'],
2309
+ type: 'string',
2310
+ },
2311
+ to: {
2306
2312
  properties: {
2307
2313
  ends_at: {
2308
2314
  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.",
@@ -2320,48 +2326,34 @@ export default {
2320
2326
  type: 'object',
2321
2327
  },
2322
2328
  },
2323
- required: [
2324
- 'created_at',
2325
- 'modification_code',
2326
- 'modified_from',
2327
- 'modified_to',
2328
- ],
2329
+ required: ['created_at', 'mutation_code', 'from', 'to'],
2329
2330
  type: 'object',
2330
2331
  },
2331
2332
  {
2332
2333
  properties: {
2333
2334
  created_at: { format: 'date-time', type: 'string' },
2334
- modification_code: {
2335
- enum: ['suspension_state'],
2336
- type: 'string',
2337
- },
2338
- modified_from: {
2335
+ from: {
2339
2336
  properties: { is_suspended: { type: 'boolean' } },
2340
2337
  required: ['is_suspended'],
2341
2338
  type: 'object',
2342
2339
  },
2343
- modified_to: {
2340
+ mutation_code: {
2341
+ enum: ['updating_suspension_state'],
2342
+ type: 'string',
2343
+ },
2344
+ to: {
2344
2345
  properties: { is_suspended: { type: 'boolean' } },
2345
2346
  required: ['is_suspended'],
2346
2347
  type: 'object',
2347
2348
  },
2348
2349
  },
2349
- required: [
2350
- 'created_at',
2351
- 'modification_code',
2352
- 'modified_from',
2353
- 'modified_to',
2354
- ],
2350
+ required: ['created_at', 'mutation_code', 'from', 'to'],
2355
2351
  type: 'object',
2356
2352
  },
2357
2353
  {
2358
2354
  properties: {
2359
2355
  created_at: { format: 'date-time', type: 'string' },
2360
- modification_code: {
2361
- enum: ['acs_access_group_membership'],
2362
- type: 'string',
2363
- },
2364
- modified_from: {
2356
+ from: {
2365
2357
  properties: {
2366
2358
  acs_access_group_id: {
2367
2359
  format: 'uuid',
@@ -2372,7 +2364,11 @@ export default {
2372
2364
  required: ['acs_access_group_id'],
2373
2365
  type: 'object',
2374
2366
  },
2375
- modified_to: {
2367
+ mutation_code: {
2368
+ enum: ['updating_group_membership'],
2369
+ type: 'string',
2370
+ },
2371
+ to: {
2376
2372
  properties: {
2377
2373
  acs_access_group_id: {
2378
2374
  format: 'uuid',
@@ -2384,12 +2380,7 @@ export default {
2384
2380
  type: 'object',
2385
2381
  },
2386
2382
  },
2387
- required: [
2388
- 'created_at',
2389
- 'modification_code',
2390
- 'modified_from',
2391
- 'modified_to',
2392
- ],
2383
+ required: ['created_at', 'mutation_code', 'from', 'to'],
2393
2384
  type: 'object',
2394
2385
  },
2395
2386
  ],
@@ -13883,23 +13874,30 @@ export default {
13883
13874
  type: 'string',
13884
13875
  'x-undocumented': 'Only used internally.',
13885
13876
  },
13886
- pending_modifications: {
13877
+ pending_mutations: {
13887
13878
  items: {
13888
- discriminator: { propertyName: 'modification_code' },
13879
+ discriminator: { propertyName: 'mutation_code' },
13889
13880
  oneOf: [
13890
13881
  {
13891
13882
  properties: {
13892
13883
  created_at: { format: 'date-time', type: 'string' },
13893
- modification_code: { enum: ['create'], type: 'string' },
13884
+ mutation_code: { enum: ['creating'], type: 'string' },
13894
13885
  },
13895
- required: ['created_at', 'modification_code'],
13886
+ required: ['created_at', 'mutation_code'],
13896
13887
  type: 'object',
13897
13888
  },
13898
13889
  {
13899
13890
  properties: {
13900
13891
  created_at: { format: 'date-time', type: 'string' },
13901
- modification_code: { enum: ['profile'], type: 'string' },
13902
- modified_from: {
13892
+ mutation_code: { enum: ['deleting'], type: 'string' },
13893
+ },
13894
+ required: ['created_at', 'mutation_code'],
13895
+ type: 'object',
13896
+ },
13897
+ {
13898
+ properties: {
13899
+ created_at: { format: 'date-time', type: 'string' },
13900
+ from: {
13903
13901
  properties: {
13904
13902
  email_address: {
13905
13903
  format: 'email',
@@ -13911,7 +13909,11 @@ export default {
13911
13909
  },
13912
13910
  type: 'object',
13913
13911
  },
13914
- modified_to: {
13912
+ mutation_code: {
13913
+ enum: ['updating_user_information'],
13914
+ type: 'string',
13915
+ },
13916
+ to: {
13915
13917
  properties: {
13916
13918
  email_address: {
13917
13919
  format: 'email',
@@ -13924,22 +13926,13 @@ export default {
13924
13926
  type: 'object',
13925
13927
  },
13926
13928
  },
13927
- required: [
13928
- 'created_at',
13929
- 'modification_code',
13930
- 'modified_from',
13931
- 'modified_to',
13932
- ],
13929
+ required: ['created_at', 'mutation_code', 'from', 'to'],
13933
13930
  type: 'object',
13934
13931
  },
13935
13932
  {
13936
13933
  properties: {
13937
13934
  created_at: { format: 'date-time', type: 'string' },
13938
- modification_code: {
13939
- enum: ['access_schedule'],
13940
- type: 'string',
13941
- },
13942
- modified_from: {
13935
+ from: {
13943
13936
  properties: {
13944
13937
  ends_at: {
13945
13938
  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.",
@@ -13956,7 +13949,11 @@ export default {
13956
13949
  required: ['starts_at', 'ends_at'],
13957
13950
  type: 'object',
13958
13951
  },
13959
- modified_to: {
13952
+ mutation_code: {
13953
+ enum: ['updating_access_schedule'],
13954
+ type: 'string',
13955
+ },
13956
+ to: {
13960
13957
  properties: {
13961
13958
  ends_at: {
13962
13959
  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.",
@@ -13974,48 +13971,34 @@ export default {
13974
13971
  type: 'object',
13975
13972
  },
13976
13973
  },
13977
- required: [
13978
- 'created_at',
13979
- 'modification_code',
13980
- 'modified_from',
13981
- 'modified_to',
13982
- ],
13974
+ required: ['created_at', 'mutation_code', 'from', 'to'],
13983
13975
  type: 'object',
13984
13976
  },
13985
13977
  {
13986
13978
  properties: {
13987
13979
  created_at: { format: 'date-time', type: 'string' },
13988
- modification_code: {
13989
- enum: ['suspension_state'],
13990
- type: 'string',
13991
- },
13992
- modified_from: {
13980
+ from: {
13993
13981
  properties: { is_suspended: { type: 'boolean' } },
13994
13982
  required: ['is_suspended'],
13995
13983
  type: 'object',
13996
13984
  },
13997
- modified_to: {
13985
+ mutation_code: {
13986
+ enum: ['updating_suspension_state'],
13987
+ type: 'string',
13988
+ },
13989
+ to: {
13998
13990
  properties: { is_suspended: { type: 'boolean' } },
13999
13991
  required: ['is_suspended'],
14000
13992
  type: 'object',
14001
13993
  },
14002
13994
  },
14003
- required: [
14004
- 'created_at',
14005
- 'modification_code',
14006
- 'modified_from',
14007
- 'modified_to',
14008
- ],
13995
+ required: ['created_at', 'mutation_code', 'from', 'to'],
14009
13996
  type: 'object',
14010
13997
  },
14011
13998
  {
14012
13999
  properties: {
14013
14000
  created_at: { format: 'date-time', type: 'string' },
14014
- modification_code: {
14015
- enum: ['acs_access_group_membership'],
14016
- type: 'string',
14017
- },
14018
- modified_from: {
14001
+ from: {
14019
14002
  properties: {
14020
14003
  acs_access_group_id: {
14021
14004
  format: 'uuid',
@@ -14026,7 +14009,11 @@ export default {
14026
14009
  required: ['acs_access_group_id'],
14027
14010
  type: 'object',
14028
14011
  },
14029
- modified_to: {
14012
+ mutation_code: {
14013
+ enum: ['updating_group_membership'],
14014
+ type: 'string',
14015
+ },
14016
+ to: {
14030
14017
  properties: {
14031
14018
  acs_access_group_id: {
14032
14019
  format: 'uuid',
@@ -14038,12 +14025,7 @@ export default {
14038
14025
  type: 'object',
14039
14026
  },
14040
14027
  },
14041
- required: [
14042
- 'created_at',
14043
- 'modification_code',
14044
- 'modified_from',
14045
- 'modified_to',
14046
- ],
14028
+ required: ['created_at', 'mutation_code', 'from', 'to'],
14047
14029
  type: 'object',
14048
14030
  },
14049
14031
  ],