@seamapi/types 1.378.0 → 1.379.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.
@@ -8370,12 +8370,15 @@ export interface Routes {
8370
8370
  /** */
8371
8371
  pending_mutations?: Array<{
8372
8372
  created_at: string;
8373
+ message: string;
8373
8374
  mutation_code: 'creating';
8374
8375
  } | {
8375
8376
  created_at: string;
8377
+ message: string;
8376
8378
  mutation_code: 'deleting';
8377
8379
  } | {
8378
8380
  created_at: string;
8381
+ message: string;
8379
8382
  mutation_code: 'updating_user_information';
8380
8383
  from: {
8381
8384
  email_address?: (string | null) | undefined;
@@ -8389,6 +8392,7 @@ export interface Routes {
8389
8392
  };
8390
8393
  } | {
8391
8394
  created_at: string;
8395
+ message: string;
8392
8396
  mutation_code: 'updating_access_schedule';
8393
8397
  from: {
8394
8398
  starts_at: string | null;
@@ -8400,6 +8404,7 @@ export interface Routes {
8400
8404
  };
8401
8405
  } | {
8402
8406
  created_at: string;
8407
+ message: string;
8403
8408
  mutation_code: 'updating_suspension_state';
8404
8409
  from: {
8405
8410
  is_suspended: boolean;
@@ -8409,6 +8414,7 @@ export interface Routes {
8409
8414
  };
8410
8415
  } | {
8411
8416
  created_at: string;
8417
+ message: string;
8412
8418
  mutation_code: 'updating_group_membership';
8413
8419
  from: {
8414
8420
  acs_access_group_id: string | null;
@@ -12863,12 +12869,15 @@ export interface Routes {
12863
12869
  /** */
12864
12870
  pending_mutations?: Array<{
12865
12871
  created_at: string;
12872
+ message: string;
12866
12873
  mutation_code: 'creating';
12867
12874
  } | {
12868
12875
  created_at: string;
12876
+ message: string;
12869
12877
  mutation_code: 'deleting';
12870
12878
  } | {
12871
12879
  created_at: string;
12880
+ message: string;
12872
12881
  mutation_code: 'updating_user_information';
12873
12882
  from: {
12874
12883
  email_address?: (string | null) | undefined;
@@ -12882,6 +12891,7 @@ export interface Routes {
12882
12891
  };
12883
12892
  } | {
12884
12893
  created_at: string;
12894
+ message: string;
12885
12895
  mutation_code: 'updating_access_schedule';
12886
12896
  from: {
12887
12897
  starts_at: string | null;
@@ -12893,6 +12903,7 @@ export interface Routes {
12893
12903
  };
12894
12904
  } | {
12895
12905
  created_at: string;
12906
+ message: string;
12896
12907
  mutation_code: 'updating_suspension_state';
12897
12908
  from: {
12898
12909
  is_suspended: boolean;
@@ -12902,6 +12913,7 @@ export interface Routes {
12902
12913
  };
12903
12914
  } | {
12904
12915
  created_at: string;
12916
+ message: string;
12905
12917
  mutation_code: 'updating_group_membership';
12906
12918
  from: {
12907
12919
  acs_access_group_id: string | null;
@@ -13043,12 +13055,15 @@ export interface Routes {
13043
13055
  /** */
13044
13056
  pending_mutations?: Array<{
13045
13057
  created_at: string;
13058
+ message: string;
13046
13059
  mutation_code: 'creating';
13047
13060
  } | {
13048
13061
  created_at: string;
13062
+ message: string;
13049
13063
  mutation_code: 'deleting';
13050
13064
  } | {
13051
13065
  created_at: string;
13066
+ message: string;
13052
13067
  mutation_code: 'updating_user_information';
13053
13068
  from: {
13054
13069
  email_address?: (string | null) | undefined;
@@ -13062,6 +13077,7 @@ export interface Routes {
13062
13077
  };
13063
13078
  } | {
13064
13079
  created_at: string;
13080
+ message: string;
13065
13081
  mutation_code: 'updating_access_schedule';
13066
13082
  from: {
13067
13083
  starts_at: string | null;
@@ -13073,6 +13089,7 @@ export interface Routes {
13073
13089
  };
13074
13090
  } | {
13075
13091
  created_at: string;
13092
+ message: string;
13076
13093
  mutation_code: 'updating_suspension_state';
13077
13094
  from: {
13078
13095
  is_suspended: boolean;
@@ -13082,6 +13099,7 @@ export interface Routes {
13082
13099
  };
13083
13100
  } | {
13084
13101
  created_at: string;
13102
+ message: string;
13085
13103
  mutation_code: 'updating_group_membership';
13086
13104
  from: {
13087
13105
  acs_access_group_id: string | null;
@@ -13219,12 +13237,15 @@ export interface Routes {
13219
13237
  /** */
13220
13238
  pending_mutations?: Array<{
13221
13239
  created_at: string;
13240
+ message: string;
13222
13241
  mutation_code: 'creating';
13223
13242
  } | {
13224
13243
  created_at: string;
13244
+ message: string;
13225
13245
  mutation_code: 'deleting';
13226
13246
  } | {
13227
13247
  created_at: string;
13248
+ message: string;
13228
13249
  mutation_code: 'updating_user_information';
13229
13250
  from: {
13230
13251
  email_address?: (string | null) | undefined;
@@ -13238,6 +13259,7 @@ export interface Routes {
13238
13259
  };
13239
13260
  } | {
13240
13261
  created_at: string;
13262
+ message: string;
13241
13263
  mutation_code: 'updating_access_schedule';
13242
13264
  from: {
13243
13265
  starts_at: string | null;
@@ -13249,6 +13271,7 @@ export interface Routes {
13249
13271
  };
13250
13272
  } | {
13251
13273
  created_at: string;
13274
+ message: string;
13252
13275
  mutation_code: 'updating_suspension_state';
13253
13276
  from: {
13254
13277
  is_suspended: boolean;
@@ -13258,6 +13281,7 @@ export interface Routes {
13258
13281
  };
13259
13282
  } | {
13260
13283
  created_at: string;
13284
+ message: string;
13261
13285
  mutation_code: 'updating_group_membership';
13262
13286
  from: {
13263
13287
  acs_access_group_id: string | null;
@@ -13504,12 +13528,15 @@ export interface Routes {
13504
13528
  /** */
13505
13529
  pending_mutations?: Array<{
13506
13530
  created_at: string;
13531
+ message: string;
13507
13532
  mutation_code: 'creating';
13508
13533
  } | {
13509
13534
  created_at: string;
13535
+ message: string;
13510
13536
  mutation_code: 'deleting';
13511
13537
  } | {
13512
13538
  created_at: string;
13539
+ message: string;
13513
13540
  mutation_code: 'updating_user_information';
13514
13541
  from: {
13515
13542
  email_address?: (string | null) | undefined;
@@ -13523,6 +13550,7 @@ export interface Routes {
13523
13550
  };
13524
13551
  } | {
13525
13552
  created_at: string;
13553
+ message: string;
13526
13554
  mutation_code: 'updating_access_schedule';
13527
13555
  from: {
13528
13556
  starts_at: string | null;
@@ -13534,6 +13562,7 @@ export interface Routes {
13534
13562
  };
13535
13563
  } | {
13536
13564
  created_at: string;
13565
+ message: string;
13537
13566
  mutation_code: 'updating_suspension_state';
13538
13567
  from: {
13539
13568
  is_suspended: boolean;
@@ -13543,6 +13572,7 @@ export interface Routes {
13543
13572
  };
13544
13573
  } | {
13545
13574
  created_at: string;
13575
+ message: string;
13546
13576
  mutation_code: 'updating_group_membership';
13547
13577
  from: {
13548
13578
  acs_access_group_id: string | null;
@@ -13670,12 +13700,15 @@ export interface Routes {
13670
13700
  /** */
13671
13701
  pending_mutations?: Array<{
13672
13702
  created_at: string;
13703
+ message: string;
13673
13704
  mutation_code: 'creating';
13674
13705
  } | {
13675
13706
  created_at: string;
13707
+ message: string;
13676
13708
  mutation_code: 'deleting';
13677
13709
  } | {
13678
13710
  created_at: string;
13711
+ message: string;
13679
13712
  mutation_code: 'updating_user_information';
13680
13713
  from: {
13681
13714
  email_address?: (string | null) | undefined;
@@ -13689,6 +13722,7 @@ export interface Routes {
13689
13722
  };
13690
13723
  } | {
13691
13724
  created_at: string;
13725
+ message: string;
13692
13726
  mutation_code: 'updating_access_schedule';
13693
13727
  from: {
13694
13728
  starts_at: string | null;
@@ -13700,6 +13734,7 @@ export interface Routes {
13700
13734
  };
13701
13735
  } | {
13702
13736
  created_at: string;
13737
+ message: string;
13703
13738
  mutation_code: 'updating_suspension_state';
13704
13739
  from: {
13705
13740
  is_suspended: boolean;
@@ -13709,6 +13744,7 @@ export interface Routes {
13709
13744
  };
13710
13745
  } | {
13711
13746
  created_at: string;
13747
+ message: string;
13712
13748
  mutation_code: 'updating_group_membership';
13713
13749
  from: {
13714
13750
  acs_access_group_id: string | null;
@@ -42091,12 +42127,15 @@ export interface Routes {
42091
42127
  /** */
42092
42128
  pending_mutations?: Array<{
42093
42129
  created_at: string;
42130
+ message: string;
42094
42131
  mutation_code: 'creating';
42095
42132
  } | {
42096
42133
  created_at: string;
42134
+ message: string;
42097
42135
  mutation_code: 'deleting';
42098
42136
  } | {
42099
42137
  created_at: string;
42138
+ message: string;
42100
42139
  mutation_code: 'updating_user_information';
42101
42140
  from: {
42102
42141
  email_address?: (string | null) | undefined;
@@ -42110,6 +42149,7 @@ export interface Routes {
42110
42149
  };
42111
42150
  } | {
42112
42151
  created_at: string;
42152
+ message: string;
42113
42153
  mutation_code: 'updating_access_schedule';
42114
42154
  from: {
42115
42155
  starts_at: string | null;
@@ -42121,6 +42161,7 @@ export interface Routes {
42121
42161
  };
42122
42162
  } | {
42123
42163
  created_at: string;
42164
+ message: string;
42124
42165
  mutation_code: 'updating_suspension_state';
42125
42166
  from: {
42126
42167
  is_suspended: boolean;
@@ -42130,6 +42171,7 @@ export interface Routes {
42130
42171
  };
42131
42172
  } | {
42132
42173
  created_at: string;
42174
+ message: string;
42133
42175
  mutation_code: 'updating_group_membership';
42134
42176
  from: {
42135
42177
  acs_access_group_id: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.378.0",
3
+ "version": "1.379.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -4,6 +4,7 @@ import { phone_number } from '../../phone-number.js'
4
4
 
5
5
  const common_pending_mutation = z.object({
6
6
  created_at: z.string().datetime(),
7
+ message: z.string(),
7
8
  })
8
9
 
9
10
  const creating = common_pending_mutation.extend({
@@ -2941,17 +2941,19 @@ export default {
2941
2941
  {
2942
2942
  properties: {
2943
2943
  created_at: { format: 'date-time', type: 'string' },
2944
+ message: { type: 'string' },
2944
2945
  mutation_code: { enum: ['creating'], type: 'string' },
2945
2946
  },
2946
- required: ['created_at', 'mutation_code'],
2947
+ required: ['created_at', 'message', 'mutation_code'],
2947
2948
  type: 'object',
2948
2949
  },
2949
2950
  {
2950
2951
  properties: {
2951
2952
  created_at: { format: 'date-time', type: 'string' },
2953
+ message: { type: 'string' },
2952
2954
  mutation_code: { enum: ['deleting'], type: 'string' },
2953
2955
  },
2954
- required: ['created_at', 'mutation_code'],
2956
+ required: ['created_at', 'message', 'mutation_code'],
2955
2957
  type: 'object',
2956
2958
  },
2957
2959
  {
@@ -2969,6 +2971,7 @@ export default {
2969
2971
  },
2970
2972
  type: 'object',
2971
2973
  },
2974
+ message: { type: 'string' },
2972
2975
  mutation_code: {
2973
2976
  enum: ['updating_user_information'],
2974
2977
  type: 'string',
@@ -2986,7 +2989,13 @@ export default {
2986
2989
  type: 'object',
2987
2990
  },
2988
2991
  },
2989
- required: ['created_at', 'mutation_code', 'from', 'to'],
2992
+ required: [
2993
+ 'created_at',
2994
+ 'message',
2995
+ 'mutation_code',
2996
+ 'from',
2997
+ 'to',
2998
+ ],
2990
2999
  type: 'object',
2991
3000
  },
2992
3001
  {
@@ -3008,6 +3017,7 @@ export default {
3008
3017
  required: ['starts_at', 'ends_at'],
3009
3018
  type: 'object',
3010
3019
  },
3020
+ message: { type: 'string' },
3011
3021
  mutation_code: {
3012
3022
  enum: ['updating_access_schedule'],
3013
3023
  type: 'string',
@@ -3029,7 +3039,13 @@ export default {
3029
3039
  type: 'object',
3030
3040
  },
3031
3041
  },
3032
- required: ['created_at', 'mutation_code', 'from', 'to'],
3042
+ required: [
3043
+ 'created_at',
3044
+ 'message',
3045
+ 'mutation_code',
3046
+ 'from',
3047
+ 'to',
3048
+ ],
3033
3049
  type: 'object',
3034
3050
  },
3035
3051
  {
@@ -3040,6 +3056,7 @@ export default {
3040
3056
  required: ['is_suspended'],
3041
3057
  type: 'object',
3042
3058
  },
3059
+ message: { type: 'string' },
3043
3060
  mutation_code: {
3044
3061
  enum: ['updating_suspension_state'],
3045
3062
  type: 'string',
@@ -3050,7 +3067,13 @@ export default {
3050
3067
  type: 'object',
3051
3068
  },
3052
3069
  },
3053
- required: ['created_at', 'mutation_code', 'from', 'to'],
3070
+ required: [
3071
+ 'created_at',
3072
+ 'message',
3073
+ 'mutation_code',
3074
+ 'from',
3075
+ 'to',
3076
+ ],
3054
3077
  type: 'object',
3055
3078
  },
3056
3079
  {
@@ -3067,6 +3090,7 @@ export default {
3067
3090
  required: ['acs_access_group_id'],
3068
3091
  type: 'object',
3069
3092
  },
3093
+ message: { type: 'string' },
3070
3094
  mutation_code: {
3071
3095
  enum: ['updating_group_membership'],
3072
3096
  type: 'string',
@@ -3083,7 +3107,13 @@ export default {
3083
3107
  type: 'object',
3084
3108
  },
3085
3109
  },
3086
- required: ['created_at', 'mutation_code', 'from', 'to'],
3110
+ required: [
3111
+ 'created_at',
3112
+ 'message',
3113
+ 'mutation_code',
3114
+ 'from',
3115
+ 'to',
3116
+ ],
3087
3117
  type: 'object',
3088
3118
  },
3089
3119
  ],
@@ -16025,17 +16055,19 @@ export default {
16025
16055
  {
16026
16056
  properties: {
16027
16057
  created_at: { format: 'date-time', type: 'string' },
16058
+ message: { type: 'string' },
16028
16059
  mutation_code: { enum: ['creating'], type: 'string' },
16029
16060
  },
16030
- required: ['created_at', 'mutation_code'],
16061
+ required: ['created_at', 'message', 'mutation_code'],
16031
16062
  type: 'object',
16032
16063
  },
16033
16064
  {
16034
16065
  properties: {
16035
16066
  created_at: { format: 'date-time', type: 'string' },
16067
+ message: { type: 'string' },
16036
16068
  mutation_code: { enum: ['deleting'], type: 'string' },
16037
16069
  },
16038
- required: ['created_at', 'mutation_code'],
16070
+ required: ['created_at', 'message', 'mutation_code'],
16039
16071
  type: 'object',
16040
16072
  },
16041
16073
  {
@@ -16053,6 +16085,7 @@ export default {
16053
16085
  },
16054
16086
  type: 'object',
16055
16087
  },
16088
+ message: { type: 'string' },
16056
16089
  mutation_code: {
16057
16090
  enum: ['updating_user_information'],
16058
16091
  type: 'string',
@@ -16070,7 +16103,13 @@ export default {
16070
16103
  type: 'object',
16071
16104
  },
16072
16105
  },
16073
- required: ['created_at', 'mutation_code', 'from', 'to'],
16106
+ required: [
16107
+ 'created_at',
16108
+ 'message',
16109
+ 'mutation_code',
16110
+ 'from',
16111
+ 'to',
16112
+ ],
16074
16113
  type: 'object',
16075
16114
  },
16076
16115
  {
@@ -16092,6 +16131,7 @@ export default {
16092
16131
  required: ['starts_at', 'ends_at'],
16093
16132
  type: 'object',
16094
16133
  },
16134
+ message: { type: 'string' },
16095
16135
  mutation_code: {
16096
16136
  enum: ['updating_access_schedule'],
16097
16137
  type: 'string',
@@ -16113,7 +16153,13 @@ export default {
16113
16153
  type: 'object',
16114
16154
  },
16115
16155
  },
16116
- required: ['created_at', 'mutation_code', 'from', 'to'],
16156
+ required: [
16157
+ 'created_at',
16158
+ 'message',
16159
+ 'mutation_code',
16160
+ 'from',
16161
+ 'to',
16162
+ ],
16117
16163
  type: 'object',
16118
16164
  },
16119
16165
  {
@@ -16124,6 +16170,7 @@ export default {
16124
16170
  required: ['is_suspended'],
16125
16171
  type: 'object',
16126
16172
  },
16173
+ message: { type: 'string' },
16127
16174
  mutation_code: {
16128
16175
  enum: ['updating_suspension_state'],
16129
16176
  type: 'string',
@@ -16134,7 +16181,13 @@ export default {
16134
16181
  type: 'object',
16135
16182
  },
16136
16183
  },
16137
- required: ['created_at', 'mutation_code', 'from', 'to'],
16184
+ required: [
16185
+ 'created_at',
16186
+ 'message',
16187
+ 'mutation_code',
16188
+ 'from',
16189
+ 'to',
16190
+ ],
16138
16191
  type: 'object',
16139
16192
  },
16140
16193
  {
@@ -16151,6 +16204,7 @@ export default {
16151
16204
  required: ['acs_access_group_id'],
16152
16205
  type: 'object',
16153
16206
  },
16207
+ message: { type: 'string' },
16154
16208
  mutation_code: {
16155
16209
  enum: ['updating_group_membership'],
16156
16210
  type: 'string',
@@ -16167,7 +16221,13 @@ export default {
16167
16221
  type: 'object',
16168
16222
  },
16169
16223
  },
16170
- required: ['created_at', 'mutation_code', 'from', 'to'],
16224
+ required: [
16225
+ 'created_at',
16226
+ 'message',
16227
+ 'mutation_code',
16228
+ 'from',
16229
+ 'to',
16230
+ ],
16171
16231
  type: 'object',
16172
16232
  },
16173
16233
  ],