@seamapi/types 1.554.0 → 1.556.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 (27) hide show
  1. package/dist/connect.cjs +128 -108
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +376 -403
  4. package/dist/index.cjs +128 -108
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-grants/access-grant.d.ts +54 -0
  7. package/lib/seam/connect/models/access-grants/access-grant.js +24 -0
  8. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  9. package/lib/seam/connect/models/access-grants/access-method.d.ts +54 -0
  10. package/lib/seam/connect/models/access-grants/access-method.js +24 -0
  11. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  12. package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
  13. package/lib/seam/connect/models/batch.d.ts +140 -110
  14. package/lib/seam/connect/models/events/access-methods.d.ts +4 -71
  15. package/lib/seam/connect/models/events/access-methods.js +2 -22
  16. package/lib/seam/connect/models/events/access-methods.js.map +1 -1
  17. package/lib/seam/connect/models/events/seam-event.d.ts +3 -36
  18. package/lib/seam/connect/openapi.d.ts +62 -110
  19. package/lib/seam/connect/openapi.js +65 -69
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/lib/seam/connect/route-types.d.ts +85 -94
  22. package/package.json +1 -1
  23. package/src/lib/seam/connect/models/access-grants/access-grant.ts +40 -0
  24. package/src/lib/seam/connect/models/access-grants/access-method.ts +40 -0
  25. package/src/lib/seam/connect/models/events/access-methods.ts +2 -29
  26. package/src/lib/seam/connect/openapi.ts +77 -74
  27. package/src/lib/seam/connect/route-types.ts +81 -99
@@ -1947,6 +1947,43 @@ export default {
1947
1947
  format: 'uuid',
1948
1948
  type: 'string',
1949
1949
  },
1950
+ warnings: {
1951
+ description:
1952
+ 'Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
1953
+ items: {
1954
+ description:
1955
+ 'Warning associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
1956
+ discriminator: { propertyName: 'warning_code' },
1957
+ oneOf: [
1958
+ {
1959
+ description:
1960
+ 'Indicates that the [access grant](https://docs.seam.co/latest/capability-guides/access-grants) is being deleted.',
1961
+ properties: {
1962
+ created_at: {
1963
+ description:
1964
+ 'Date and time at which Seam created the warning.',
1965
+ format: 'date-time',
1966
+ type: 'string',
1967
+ },
1968
+ message: {
1969
+ description:
1970
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1971
+ type: 'string',
1972
+ },
1973
+ warning_code: {
1974
+ description:
1975
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1976
+ enum: ['being_deleted'],
1977
+ type: 'string',
1978
+ },
1979
+ },
1980
+ required: ['created_at', 'message', 'warning_code'],
1981
+ type: 'object',
1982
+ },
1983
+ ],
1984
+ },
1985
+ type: 'array',
1986
+ },
1950
1987
  workspace_id: {
1951
1988
  description:
1952
1989
  'ID of the Seam workspace associated with the Access Grant.',
@@ -1967,6 +2004,7 @@ export default {
1967
2004
  'created_at',
1968
2005
  'starts_at',
1969
2006
  'ends_at',
2007
+ 'warnings',
1970
2008
  ],
1971
2009
  type: 'object',
1972
2010
  'x-draft': 'Early access.',
@@ -2034,6 +2072,43 @@ export default {
2034
2072
  enum: ['code', 'card', 'mobile_key'],
2035
2073
  type: 'string',
2036
2074
  },
2075
+ warnings: {
2076
+ description:
2077
+ 'Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods).',
2078
+ items: {
2079
+ description:
2080
+ 'Warning associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods).',
2081
+ discriminator: { propertyName: 'warning_code' },
2082
+ oneOf: [
2083
+ {
2084
+ description:
2085
+ 'Indicates that the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods) is being deleted.',
2086
+ properties: {
2087
+ created_at: {
2088
+ description:
2089
+ 'Date and time at which Seam created the warning.',
2090
+ format: 'date-time',
2091
+ type: 'string',
2092
+ },
2093
+ message: {
2094
+ description:
2095
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2096
+ type: 'string',
2097
+ },
2098
+ warning_code: {
2099
+ description:
2100
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2101
+ enum: ['being_deleted'],
2102
+ type: 'string',
2103
+ },
2104
+ },
2105
+ required: ['created_at', 'message', 'warning_code'],
2106
+ type: 'object',
2107
+ },
2108
+ ],
2109
+ },
2110
+ type: 'array',
2111
+ },
2037
2112
  workspace_id: {
2038
2113
  description:
2039
2114
  'ID of the Seam workspace associated with the access method.',
@@ -2049,6 +2124,7 @@ export default {
2049
2124
  'created_at',
2050
2125
  'issued_at',
2051
2126
  'is_issued',
2127
+ 'warnings',
2052
2128
  ],
2053
2129
  type: 'object',
2054
2130
  'x-draft': 'Early access.',
@@ -15028,8 +15104,7 @@ export default {
15028
15104
  'x-route-path': '/access_methods',
15029
15105
  },
15030
15106
  {
15031
- description:
15032
- 'An access method was reissued due to an Access Grant update.',
15107
+ description: 'An access method was reissued.',
15033
15108
  properties: {
15034
15109
  access_grant_ids: {
15035
15110
  description:
@@ -15093,70 +15168,6 @@ export default {
15093
15168
  type: 'object',
15094
15169
  'x-route-path': '/access_methods',
15095
15170
  },
15096
- {
15097
- description: "An access method's PIN code was changed.",
15098
- properties: {
15099
- access_grant_ids: {
15100
- description:
15101
- 'IDs of the access grants associated with this access method.',
15102
- items: { format: 'uuid', type: 'string' },
15103
- type: 'array',
15104
- },
15105
- access_grant_keys: {
15106
- description:
15107
- 'Keys of the access grants associated with this access method (if present).',
15108
- items: { type: 'string' },
15109
- type: 'array',
15110
- },
15111
- access_method_id: {
15112
- description: 'ID of the affected access method.',
15113
- format: 'uuid',
15114
- type: 'string',
15115
- },
15116
- code: {
15117
- description:
15118
- "The new PIN code for code access methods (only present when mode is 'code').",
15119
- type: 'string',
15120
- },
15121
- created_at: {
15122
- description: 'Date and time at which the event was created.',
15123
- format: 'date-time',
15124
- type: 'string',
15125
- },
15126
- event_id: {
15127
- description: 'ID of the event.',
15128
- format: 'uuid',
15129
- type: 'string',
15130
- },
15131
- event_type: {
15132
- enum: ['access_method.code_changed'],
15133
- type: 'string',
15134
- },
15135
- occurred_at: {
15136
- description: 'Date and time at which the event occurred.',
15137
- format: 'date-time',
15138
- type: 'string',
15139
- },
15140
- workspace_id: {
15141
- description:
15142
- 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
15143
- format: 'uuid',
15144
- type: 'string',
15145
- },
15146
- },
15147
- required: [
15148
- 'event_id',
15149
- 'workspace_id',
15150
- 'created_at',
15151
- 'occurred_at',
15152
- 'access_method_id',
15153
- 'access_grant_ids',
15154
- 'event_type',
15155
- 'code',
15156
- ],
15157
- type: 'object',
15158
- 'x-route-path': '/access_methods',
15159
- },
15160
15171
  {
15161
15172
  description:
15162
15173
  'An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.',
@@ -43545,7 +43556,6 @@ export default {
43545
43556
  'access_method.card_encoding_required',
43546
43557
  'access_method.deleted',
43547
43558
  'access_method.reissued',
43548
- 'access_method.code_changed',
43549
43559
  'acs_system.connected',
43550
43560
  'acs_system.added',
43551
43561
  'acs_system.disconnected',
@@ -43648,7 +43658,6 @@ export default {
43648
43658
  'access_method.card_encoding_required',
43649
43659
  'access_method.deleted',
43650
43660
  'access_method.reissued',
43651
- 'access_method.code_changed',
43652
43661
  'acs_system.connected',
43653
43662
  'acs_system.added',
43654
43663
  'acs_system.disconnected',
@@ -43906,7 +43915,6 @@ export default {
43906
43915
  'access_method.card_encoding_required',
43907
43916
  'access_method.deleted',
43908
43917
  'access_method.reissued',
43909
- 'access_method.code_changed',
43910
43918
  'acs_system.connected',
43911
43919
  'acs_system.added',
43912
43920
  'acs_system.disconnected',
@@ -44005,7 +44013,6 @@ export default {
44005
44013
  'access_method.card_encoding_required',
44006
44014
  'access_method.deleted',
44007
44015
  'access_method.reissued',
44008
- 'access_method.code_changed',
44009
44016
  'acs_system.connected',
44010
44017
  'acs_system.added',
44011
44018
  'acs_system.disconnected',
@@ -49181,7 +49188,6 @@ export default {
49181
49188
  'access_method.card_encoding_required',
49182
49189
  'access_method.deleted',
49183
49190
  'access_method.reissued',
49184
- 'access_method.code_changed',
49185
49191
  'acs_system.connected',
49186
49192
  'acs_system.added',
49187
49193
  'acs_system.disconnected',
@@ -49285,7 +49291,6 @@ export default {
49285
49291
  'access_method.card_encoding_required',
49286
49292
  'access_method.deleted',
49287
49293
  'access_method.reissued',
49288
- 'access_method.code_changed',
49289
49294
  'acs_system.connected',
49290
49295
  'acs_system.added',
49291
49296
  'acs_system.disconnected',
@@ -49452,7 +49457,6 @@ export default {
49452
49457
  'access_method.card_encoding_required',
49453
49458
  'access_method.deleted',
49454
49459
  'access_method.reissued',
49455
- 'access_method.code_changed',
49456
49460
  'acs_system.connected',
49457
49461
  'acs_system.added',
49458
49462
  'acs_system.disconnected',
@@ -49551,7 +49555,6 @@ export default {
49551
49555
  'access_method.card_encoding_required',
49552
49556
  'access_method.deleted',
49553
49557
  'access_method.reissued',
49554
- 'access_method.code_changed',
49555
49558
  'acs_system.connected',
49556
49559
  'acs_system.added',
49557
49560
  'acs_system.disconnected',
@@ -11308,6 +11308,15 @@ export type Routes = {
11308
11308
  starts_at: string
11309
11309
  /** Date and time at which the Access Grant ends. */
11310
11310
  ends_at: string | null
11311
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
11312
+ warnings: {
11313
+ /** Date and time at which Seam created the warning. */
11314
+ created_at: string
11315
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11316
+ message: string
11317
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11318
+ warning_code: 'being_deleted'
11319
+ }[]
11311
11320
  /** ID of the customization profile associated with the Access Grant. */
11312
11321
  customization_profile_id?: string | undefined
11313
11322
  }
@@ -11385,6 +11394,15 @@ export type Routes = {
11385
11394
  starts_at: string
11386
11395
  /** Date and time at which the Access Grant ends. */
11387
11396
  ends_at: string | null
11397
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
11398
+ warnings: {
11399
+ /** Date and time at which Seam created the warning. */
11400
+ created_at: string
11401
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11402
+ message: string
11403
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11404
+ warning_code: 'being_deleted'
11405
+ }[]
11388
11406
  /** ID of the customization profile associated with the Access Grant. */
11389
11407
  customization_profile_id?: string | undefined
11390
11408
  }
@@ -13620,6 +13638,15 @@ export type Routes = {
13620
13638
  starts_at: string
13621
13639
  /** Date and time at which the Access Grant ends. */
13622
13640
  ends_at: string | null
13641
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
13642
+ warnings: {
13643
+ /** Date and time at which Seam created the warning. */
13644
+ created_at: string
13645
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13646
+ message: string
13647
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13648
+ warning_code: 'being_deleted'
13649
+ }[]
13623
13650
  /** ID of the customization profile associated with the Access Grant. */
13624
13651
  customization_profile_id?: string | undefined
13625
13652
  }[]
@@ -15139,6 +15166,15 @@ export type Routes = {
15139
15166
  is_encoding_required?: boolean | undefined
15140
15167
  /** The actual PIN code for code access methods. */
15141
15168
  code?: (string | null) | undefined
15169
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
15170
+ warnings: {
15171
+ /** Date and time at which Seam created the warning. */
15172
+ created_at: string
15173
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15174
+ message: string
15175
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15176
+ warning_code: 'being_deleted'
15177
+ }[]
15142
15178
  /** ID of the customization profile associated with the access method. */
15143
15179
  customization_profile_id?: string | undefined
15144
15180
  }
@@ -20118,6 +20154,15 @@ export type Routes = {
20118
20154
  is_encoding_required?: boolean | undefined
20119
20155
  /** The actual PIN code for code access methods. */
20120
20156
  code?: (string | null) | undefined
20157
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
20158
+ warnings: {
20159
+ /** Date and time at which Seam created the warning. */
20160
+ created_at: string
20161
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
20162
+ message: string
20163
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20164
+ warning_code: 'being_deleted'
20165
+ }[]
20121
20166
  /** ID of the customization profile associated with the access method. */
20122
20167
  customization_profile_id?: string | undefined
20123
20168
  }[]
@@ -20166,6 +20211,15 @@ export type Routes = {
20166
20211
  starts_at: string
20167
20212
  /** Date and time at which the Access Grant ends. */
20168
20213
  ends_at: string | null
20214
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
20215
+ warnings: {
20216
+ /** Date and time at which Seam created the warning. */
20217
+ created_at: string
20218
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
20219
+ message: string
20220
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20221
+ warning_code: 'being_deleted'
20222
+ }[]
20169
20223
  /** ID of the customization profile associated with the Access Grant. */
20170
20224
  customization_profile_id?: string | undefined
20171
20225
  }[]
@@ -20853,25 +20907,6 @@ export type Routes = {
20853
20907
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
20854
20908
  is_backup_code?: boolean | undefined
20855
20909
  }
20856
- | {
20857
- /** ID of the event. */
20858
- event_id: string
20859
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
20860
- workspace_id: string
20861
- /** Date and time at which the event was created. */
20862
- created_at: string
20863
- /** Date and time at which the event occurred. */
20864
- occurred_at: string
20865
- /** ID of the affected access method. */
20866
- access_method_id: string
20867
- /** IDs of the access grants associated with this access method. */
20868
- access_grant_ids: string[]
20869
- /** Keys of the access grants associated with this access method (if present). */
20870
- access_grant_keys?: string[] | undefined
20871
- event_type: 'access_method.code_changed'
20872
- /** The new PIN code for code access methods (only present when mode is 'code'). */
20873
- code: string
20874
- }
20875
20910
  | {
20876
20911
  /** ID of the event. */
20877
20912
  event_id: string
@@ -23677,6 +23712,15 @@ export type Routes = {
23677
23712
  is_encoding_required?: boolean | undefined
23678
23713
  /** The actual PIN code for code access methods. */
23679
23714
  code?: (string | null) | undefined
23715
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
23716
+ warnings: {
23717
+ /** Date and time at which Seam created the warning. */
23718
+ created_at: string
23719
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
23720
+ message: string
23721
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23722
+ warning_code: 'being_deleted'
23723
+ }[]
23680
23724
  /** ID of the customization profile associated with the access method. */
23681
23725
  customization_profile_id?: string | undefined
23682
23726
  }[]
@@ -42345,25 +42389,6 @@ export type Routes = {
42345
42389
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
42346
42390
  is_backup_code?: boolean | undefined
42347
42391
  }
42348
- | {
42349
- /** ID of the event. */
42350
- event_id: string
42351
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
42352
- workspace_id: string
42353
- /** Date and time at which the event was created. */
42354
- created_at: string
42355
- /** Date and time at which the event occurred. */
42356
- occurred_at: string
42357
- /** ID of the affected access method. */
42358
- access_method_id: string
42359
- /** IDs of the access grants associated with this access method. */
42360
- access_grant_ids: string[]
42361
- /** Keys of the access grants associated with this access method (if present). */
42362
- access_grant_keys?: string[] | undefined
42363
- event_type: 'access_method.code_changed'
42364
- /** The new PIN code for code access methods (only present when mode is 'code'). */
42365
- code: string
42366
- }
42367
42392
  | {
42368
42393
  /** ID of the event. */
42369
42394
  event_id: string
@@ -43960,7 +43985,6 @@ export type Routes = {
43960
43985
  | 'access_method.card_encoding_required'
43961
43986
  | 'access_method.deleted'
43962
43987
  | 'access_method.reissued'
43963
- | 'access_method.code_changed'
43964
43988
  | 'acs_system.connected'
43965
43989
  | 'acs_system.added'
43966
43990
  | 'acs_system.disconnected'
@@ -44057,7 +44081,6 @@ export type Routes = {
44057
44081
  | 'access_method.card_encoding_required'
44058
44082
  | 'access_method.deleted'
44059
44083
  | 'access_method.reissued'
44060
- | 'access_method.code_changed'
44061
44084
  | 'acs_system.connected'
44062
44085
  | 'acs_system.added'
44063
44086
  | 'acs_system.disconnected'
@@ -44816,25 +44839,6 @@ export type Routes = {
44816
44839
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
44817
44840
  is_backup_code?: boolean | undefined
44818
44841
  }
44819
- | {
44820
- /** ID of the event. */
44821
- event_id: string
44822
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
44823
- workspace_id: string
44824
- /** Date and time at which the event was created. */
44825
- created_at: string
44826
- /** Date and time at which the event occurred. */
44827
- occurred_at: string
44828
- /** ID of the affected access method. */
44829
- access_method_id: string
44830
- /** IDs of the access grants associated with this access method. */
44831
- access_grant_ids: string[]
44832
- /** Keys of the access grants associated with this access method (if present). */
44833
- access_grant_keys?: string[] | undefined
44834
- event_type: 'access_method.code_changed'
44835
- /** The new PIN code for code access methods (only present when mode is 'code'). */
44836
- code: string
44837
- }
44838
44842
  | {
44839
44843
  /** ID of the event. */
44840
44844
  event_id: string
@@ -66976,7 +66980,6 @@ export type Routes = {
66976
66980
  | 'access_method.card_encoding_required'
66977
66981
  | 'access_method.deleted'
66978
66982
  | 'access_method.reissued'
66979
- | 'access_method.code_changed'
66980
66983
  | 'acs_system.connected'
66981
66984
  | 'acs_system.added'
66982
66985
  | 'acs_system.disconnected'
@@ -67073,7 +67076,6 @@ export type Routes = {
67073
67076
  | 'access_method.card_encoding_required'
67074
67077
  | 'access_method.deleted'
67075
67078
  | 'access_method.reissued'
67076
- | 'access_method.code_changed'
67077
67079
  | 'acs_system.connected'
67078
67080
  | 'acs_system.added'
67079
67081
  | 'acs_system.disconnected'
@@ -67826,25 +67828,6 @@ export type Routes = {
67826
67828
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
67827
67829
  is_backup_code?: boolean | undefined
67828
67830
  }
67829
- | {
67830
- /** ID of the event. */
67831
- event_id: string
67832
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
67833
- workspace_id: string
67834
- /** Date and time at which the event was created. */
67835
- created_at: string
67836
- /** Date and time at which the event occurred. */
67837
- occurred_at: string
67838
- /** ID of the affected access method. */
67839
- access_method_id: string
67840
- /** IDs of the access grants associated with this access method. */
67841
- access_grant_ids: string[]
67842
- /** Keys of the access grants associated with this access method (if present). */
67843
- access_grant_keys?: string[] | undefined
67844
- event_type: 'access_method.code_changed'
67845
- /** The new PIN code for code access methods (only present when mode is 'code'). */
67846
- code: string
67847
- }
67848
67831
  | {
67849
67832
  /** ID of the event. */
67850
67833
  event_id: string
@@ -100009,6 +99992,15 @@ export type Routes = {
100009
99992
  is_encoding_required?: boolean | undefined
100010
99993
  /** The actual PIN code for code access methods. */
100011
99994
  code?: (string | null) | undefined
99995
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
99996
+ warnings: {
99997
+ /** Date and time at which Seam created the warning. */
99998
+ created_at: string
99999
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100000
+ message: string
100001
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100002
+ warning_code: 'being_deleted'
100003
+ }[]
100012
100004
  /** ID of the customization profile associated with the access method. */
100013
100005
  customization_profile_id?: string | undefined
100014
100006
  }[]
@@ -100057,6 +100049,15 @@ export type Routes = {
100057
100049
  starts_at: string
100058
100050
  /** Date and time at which the Access Grant ends. */
100059
100051
  ends_at: string | null
100052
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
100053
+ warnings: {
100054
+ /** Date and time at which Seam created the warning. */
100055
+ created_at: string
100056
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100057
+ message: string
100058
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100059
+ warning_code: 'being_deleted'
100060
+ }[]
100060
100061
  /** ID of the customization profile associated with the Access Grant. */
100061
100062
  customization_profile_id?: string | undefined
100062
100063
  }[]
@@ -100744,25 +100745,6 @@ export type Routes = {
100744
100745
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
100745
100746
  is_backup_code?: boolean | undefined
100746
100747
  }
100747
- | {
100748
- /** ID of the event. */
100749
- event_id: string
100750
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
100751
- workspace_id: string
100752
- /** Date and time at which the event was created. */
100753
- created_at: string
100754
- /** Date and time at which the event occurred. */
100755
- occurred_at: string
100756
- /** ID of the affected access method. */
100757
- access_method_id: string
100758
- /** IDs of the access grants associated with this access method. */
100759
- access_grant_ids: string[]
100760
- /** Keys of the access grants associated with this access method (if present). */
100761
- access_grant_keys?: string[] | undefined
100762
- event_type: 'access_method.code_changed'
100763
- /** The new PIN code for code access methods (only present when mode is 'code'). */
100764
- code: string
100765
- }
100766
100748
  | {
100767
100749
  /** ID of the event. */
100768
100750
  event_id: string