@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
@@ -2486,23 +2486,30 @@ export default {
2486
2486
  type: 'string',
2487
2487
  'x-undocumented': 'Only used internally.',
2488
2488
  },
2489
- pending_modifications: {
2489
+ pending_mutations: {
2490
2490
  items: {
2491
- discriminator: { propertyName: 'modification_code' },
2491
+ discriminator: { propertyName: 'mutation_code' },
2492
2492
  oneOf: [
2493
2493
  {
2494
2494
  properties: {
2495
2495
  created_at: { format: 'date-time', type: 'string' },
2496
- modification_code: { enum: ['create'], type: 'string' },
2496
+ mutation_code: { enum: ['creating'], type: 'string' },
2497
2497
  },
2498
- required: ['created_at', 'modification_code'],
2498
+ required: ['created_at', 'mutation_code'],
2499
2499
  type: 'object',
2500
2500
  },
2501
2501
  {
2502
2502
  properties: {
2503
2503
  created_at: { format: 'date-time', type: 'string' },
2504
- modification_code: { enum: ['profile'], type: 'string' },
2505
- modified_from: {
2504
+ mutation_code: { enum: ['deleting'], type: 'string' },
2505
+ },
2506
+ required: ['created_at', 'mutation_code'],
2507
+ type: 'object',
2508
+ },
2509
+ {
2510
+ properties: {
2511
+ created_at: { format: 'date-time', type: 'string' },
2512
+ from: {
2506
2513
  properties: {
2507
2514
  email_address: {
2508
2515
  format: 'email',
@@ -2514,7 +2521,11 @@ export default {
2514
2521
  },
2515
2522
  type: 'object',
2516
2523
  },
2517
- modified_to: {
2524
+ mutation_code: {
2525
+ enum: ['updating_user_information'],
2526
+ type: 'string',
2527
+ },
2528
+ to: {
2518
2529
  properties: {
2519
2530
  email_address: {
2520
2531
  format: 'email',
@@ -2527,22 +2538,13 @@ export default {
2527
2538
  type: 'object',
2528
2539
  },
2529
2540
  },
2530
- required: [
2531
- 'created_at',
2532
- 'modification_code',
2533
- 'modified_from',
2534
- 'modified_to',
2535
- ],
2541
+ required: ['created_at', 'mutation_code', 'from', 'to'],
2536
2542
  type: 'object',
2537
2543
  },
2538
2544
  {
2539
2545
  properties: {
2540
2546
  created_at: { format: 'date-time', type: 'string' },
2541
- modification_code: {
2542
- enum: ['access_schedule'],
2543
- type: 'string',
2544
- },
2545
- modified_from: {
2547
+ from: {
2546
2548
  properties: {
2547
2549
  ends_at: {
2548
2550
  description:
@@ -2561,7 +2563,11 @@ export default {
2561
2563
  required: ['starts_at', 'ends_at'],
2562
2564
  type: 'object',
2563
2565
  },
2564
- modified_to: {
2566
+ mutation_code: {
2567
+ enum: ['updating_access_schedule'],
2568
+ type: 'string',
2569
+ },
2570
+ to: {
2565
2571
  properties: {
2566
2572
  ends_at: {
2567
2573
  description:
@@ -2581,48 +2587,34 @@ export default {
2581
2587
  type: 'object',
2582
2588
  },
2583
2589
  },
2584
- required: [
2585
- 'created_at',
2586
- 'modification_code',
2587
- 'modified_from',
2588
- 'modified_to',
2589
- ],
2590
+ required: ['created_at', 'mutation_code', 'from', 'to'],
2590
2591
  type: 'object',
2591
2592
  },
2592
2593
  {
2593
2594
  properties: {
2594
2595
  created_at: { format: 'date-time', type: 'string' },
2595
- modification_code: {
2596
- enum: ['suspension_state'],
2597
- type: 'string',
2598
- },
2599
- modified_from: {
2596
+ from: {
2600
2597
  properties: { is_suspended: { type: 'boolean' } },
2601
2598
  required: ['is_suspended'],
2602
2599
  type: 'object',
2603
2600
  },
2604
- modified_to: {
2601
+ mutation_code: {
2602
+ enum: ['updating_suspension_state'],
2603
+ type: 'string',
2604
+ },
2605
+ to: {
2605
2606
  properties: { is_suspended: { type: 'boolean' } },
2606
2607
  required: ['is_suspended'],
2607
2608
  type: 'object',
2608
2609
  },
2609
2610
  },
2610
- required: [
2611
- 'created_at',
2612
- 'modification_code',
2613
- 'modified_from',
2614
- 'modified_to',
2615
- ],
2611
+ required: ['created_at', 'mutation_code', 'from', 'to'],
2616
2612
  type: 'object',
2617
2613
  },
2618
2614
  {
2619
2615
  properties: {
2620
2616
  created_at: { format: 'date-time', type: 'string' },
2621
- modification_code: {
2622
- enum: ['acs_access_group_membership'],
2623
- type: 'string',
2624
- },
2625
- modified_from: {
2617
+ from: {
2626
2618
  properties: {
2627
2619
  acs_access_group_id: {
2628
2620
  format: 'uuid',
@@ -2633,7 +2625,11 @@ export default {
2633
2625
  required: ['acs_access_group_id'],
2634
2626
  type: 'object',
2635
2627
  },
2636
- modified_to: {
2628
+ mutation_code: {
2629
+ enum: ['updating_group_membership'],
2630
+ type: 'string',
2631
+ },
2632
+ to: {
2637
2633
  properties: {
2638
2634
  acs_access_group_id: {
2639
2635
  format: 'uuid',
@@ -2645,12 +2641,7 @@ export default {
2645
2641
  type: 'object',
2646
2642
  },
2647
2643
  },
2648
- required: [
2649
- 'created_at',
2650
- 'modification_code',
2651
- 'modified_from',
2652
- 'modified_to',
2653
- ],
2644
+ required: ['created_at', 'mutation_code', 'from', 'to'],
2654
2645
  type: 'object',
2655
2646
  },
2656
2647
  ],
@@ -15128,23 +15119,30 @@ export default {
15128
15119
  type: 'string',
15129
15120
  'x-undocumented': 'Only used internally.',
15130
15121
  },
15131
- pending_modifications: {
15122
+ pending_mutations: {
15132
15123
  items: {
15133
- discriminator: { propertyName: 'modification_code' },
15124
+ discriminator: { propertyName: 'mutation_code' },
15134
15125
  oneOf: [
15135
15126
  {
15136
15127
  properties: {
15137
15128
  created_at: { format: 'date-time', type: 'string' },
15138
- modification_code: { enum: ['create'], type: 'string' },
15129
+ mutation_code: { enum: ['creating'], type: 'string' },
15139
15130
  },
15140
- required: ['created_at', 'modification_code'],
15131
+ required: ['created_at', 'mutation_code'],
15141
15132
  type: 'object',
15142
15133
  },
15143
15134
  {
15144
15135
  properties: {
15145
15136
  created_at: { format: 'date-time', type: 'string' },
15146
- modification_code: { enum: ['profile'], type: 'string' },
15147
- modified_from: {
15137
+ mutation_code: { enum: ['deleting'], type: 'string' },
15138
+ },
15139
+ required: ['created_at', 'mutation_code'],
15140
+ type: 'object',
15141
+ },
15142
+ {
15143
+ properties: {
15144
+ created_at: { format: 'date-time', type: 'string' },
15145
+ from: {
15148
15146
  properties: {
15149
15147
  email_address: {
15150
15148
  format: 'email',
@@ -15156,7 +15154,11 @@ export default {
15156
15154
  },
15157
15155
  type: 'object',
15158
15156
  },
15159
- modified_to: {
15157
+ mutation_code: {
15158
+ enum: ['updating_user_information'],
15159
+ type: 'string',
15160
+ },
15161
+ to: {
15160
15162
  properties: {
15161
15163
  email_address: {
15162
15164
  format: 'email',
@@ -15169,22 +15171,13 @@ export default {
15169
15171
  type: 'object',
15170
15172
  },
15171
15173
  },
15172
- required: [
15173
- 'created_at',
15174
- 'modification_code',
15175
- 'modified_from',
15176
- 'modified_to',
15177
- ],
15174
+ required: ['created_at', 'mutation_code', 'from', 'to'],
15178
15175
  type: 'object',
15179
15176
  },
15180
15177
  {
15181
15178
  properties: {
15182
15179
  created_at: { format: 'date-time', type: 'string' },
15183
- modification_code: {
15184
- enum: ['access_schedule'],
15185
- type: 'string',
15186
- },
15187
- modified_from: {
15180
+ from: {
15188
15181
  properties: {
15189
15182
  ends_at: {
15190
15183
  description:
@@ -15203,7 +15196,11 @@ export default {
15203
15196
  required: ['starts_at', 'ends_at'],
15204
15197
  type: 'object',
15205
15198
  },
15206
- modified_to: {
15199
+ mutation_code: {
15200
+ enum: ['updating_access_schedule'],
15201
+ type: 'string',
15202
+ },
15203
+ to: {
15207
15204
  properties: {
15208
15205
  ends_at: {
15209
15206
  description:
@@ -15223,48 +15220,34 @@ export default {
15223
15220
  type: 'object',
15224
15221
  },
15225
15222
  },
15226
- required: [
15227
- 'created_at',
15228
- 'modification_code',
15229
- 'modified_from',
15230
- 'modified_to',
15231
- ],
15223
+ required: ['created_at', 'mutation_code', 'from', 'to'],
15232
15224
  type: 'object',
15233
15225
  },
15234
15226
  {
15235
15227
  properties: {
15236
15228
  created_at: { format: 'date-time', type: 'string' },
15237
- modification_code: {
15238
- enum: ['suspension_state'],
15239
- type: 'string',
15240
- },
15241
- modified_from: {
15229
+ from: {
15242
15230
  properties: { is_suspended: { type: 'boolean' } },
15243
15231
  required: ['is_suspended'],
15244
15232
  type: 'object',
15245
15233
  },
15246
- modified_to: {
15234
+ mutation_code: {
15235
+ enum: ['updating_suspension_state'],
15236
+ type: 'string',
15237
+ },
15238
+ to: {
15247
15239
  properties: { is_suspended: { type: 'boolean' } },
15248
15240
  required: ['is_suspended'],
15249
15241
  type: 'object',
15250
15242
  },
15251
15243
  },
15252
- required: [
15253
- 'created_at',
15254
- 'modification_code',
15255
- 'modified_from',
15256
- 'modified_to',
15257
- ],
15244
+ required: ['created_at', 'mutation_code', 'from', 'to'],
15258
15245
  type: 'object',
15259
15246
  },
15260
15247
  {
15261
15248
  properties: {
15262
15249
  created_at: { format: 'date-time', type: 'string' },
15263
- modification_code: {
15264
- enum: ['acs_access_group_membership'],
15265
- type: 'string',
15266
- },
15267
- modified_from: {
15250
+ from: {
15268
15251
  properties: {
15269
15252
  acs_access_group_id: {
15270
15253
  format: 'uuid',
@@ -15275,7 +15258,11 @@ export default {
15275
15258
  required: ['acs_access_group_id'],
15276
15259
  type: 'object',
15277
15260
  },
15278
- modified_to: {
15261
+ mutation_code: {
15262
+ enum: ['updating_group_membership'],
15263
+ type: 'string',
15264
+ },
15265
+ to: {
15279
15266
  properties: {
15280
15267
  acs_access_group_id: {
15281
15268
  format: 'uuid',
@@ -15287,12 +15274,7 @@ export default {
15287
15274
  type: 'object',
15288
15275
  },
15289
15276
  },
15290
- required: [
15291
- 'created_at',
15292
- 'modification_code',
15293
- 'modified_from',
15294
- 'modified_to',
15295
- ],
15277
+ required: ['created_at', 'mutation_code', 'from', 'to'],
15296
15278
  type: 'object',
15297
15279
  },
15298
15280
  ],