@seamapi/types 1.995.0 → 1.996.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.
@@ -13691,6 +13691,13 @@ export type Routes = {
13691
13691
  message: string;
13692
13692
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13693
13693
  warning_code: 'setup_required';
13694
+ } | {
13695
+ /** Date and time at which Seam created the warning. */
13696
+ created_at: string;
13697
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13698
+ message: string;
13699
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13700
+ warning_code: 'unknown_issue_with_acs_system';
13694
13701
  })[];
13695
13702
  }[] | undefined;
13696
13703
  user_identities?: {
@@ -34062,6 +34069,13 @@ export type Routes = {
34062
34069
  message: string;
34063
34070
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34064
34071
  warning_code: 'setup_required';
34072
+ } | {
34073
+ /** Date and time at which Seam created the warning. */
34074
+ created_at: string;
34075
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34076
+ message: string;
34077
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34078
+ warning_code: 'unknown_issue_with_acs_system';
34065
34079
  })[];
34066
34080
  };
34067
34081
  };
@@ -34224,6 +34238,13 @@ export type Routes = {
34224
34238
  message: string;
34225
34239
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34226
34240
  warning_code: 'setup_required';
34241
+ } | {
34242
+ /** Date and time at which Seam created the warning. */
34243
+ created_at: string;
34244
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34245
+ message: string;
34246
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34247
+ warning_code: 'unknown_issue_with_acs_system';
34227
34248
  })[];
34228
34249
  }[];
34229
34250
  };
@@ -34382,6 +34403,13 @@ export type Routes = {
34382
34403
  message: string;
34383
34404
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34384
34405
  warning_code: 'setup_required';
34406
+ } | {
34407
+ /** Date and time at which Seam created the warning. */
34408
+ created_at: string;
34409
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34410
+ message: string;
34411
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34412
+ warning_code: 'unknown_issue_with_acs_system';
34385
34413
  })[];
34386
34414
  }[];
34387
34415
  };
@@ -87699,6 +87727,13 @@ export type Routes = {
87699
87727
  message: string;
87700
87728
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
87701
87729
  warning_code: 'setup_required';
87730
+ } | {
87731
+ /** Date and time at which Seam created the warning. */
87732
+ created_at: string;
87733
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
87734
+ message: string;
87735
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
87736
+ warning_code: 'unknown_issue_with_acs_system';
87702
87737
  })[];
87703
87738
  }[] | undefined;
87704
87739
  access_methods?: {
@@ -112653,6 +112688,13 @@ export type Routes = {
112653
112688
  message: string;
112654
112689
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
112655
112690
  warning_code: 'setup_required';
112691
+ } | {
112692
+ /** Date and time at which Seam created the warning. */
112693
+ created_at: string;
112694
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
112695
+ message: string;
112696
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
112697
+ warning_code: 'unknown_issue_with_acs_system';
112656
112698
  })[];
112657
112699
  }[];
112658
112700
  };
@@ -115404,6 +115446,13 @@ export type Routes = {
115404
115446
  message: string;
115405
115447
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
115406
115448
  warning_code: 'setup_required';
115449
+ } | {
115450
+ /** Date and time at which Seam created the warning. */
115451
+ created_at: string;
115452
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
115453
+ message: string;
115454
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
115455
+ warning_code: 'unknown_issue_with_acs_system';
115407
115456
  })[];
115408
115457
  }[] | undefined;
115409
115458
  acs_users?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.995.0",
3
+ "version": "1.996.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -251,11 +251,23 @@ const setup_required = common_acs_system_warning
251
251
  'Indicates that the access control system requires additional setup before it can be fully operational. Follow the instructions in the warning message to complete the setup.',
252
252
  )
253
253
 
254
+ const unknown_issue_with_acs_system = common_acs_system_warning.extend({
255
+ warning_code: z
256
+ .literal('unknown_issue_with_acs_system')
257
+ .describe(warning_code_description),
258
+ }).describe(`
259
+ ---
260
+ resource_type: acs_system
261
+ ---
262
+ Indicates that Seam encountered an unexpected error while syncing this [access control system](https://docs.seam.co/low-level-apis/access-systems), so its users, credentials, and access groups may be out of date. Seam retries on every sync cycle and clears this warning once a sync succeeds; if it persists, contact [support](mailto:support@seam.co).
263
+ `)
264
+
254
265
  const acs_system_warning = z
255
266
  .discriminatedUnion('warning_code', [
256
267
  salto_ks_subscription_limit_almost_reached,
257
268
  time_zone_does_not_match_location,
258
269
  setup_required,
270
+ unknown_issue_with_acs_system,
259
271
  ])
260
272
  .describe(
261
273
  'Warning associated with the [access control system](https://docs.seam.co/low-level-apis/access-systems).',
@@ -268,6 +280,9 @@ const _acs_system_warning_map = z.object({
268
280
  .optional()
269
281
  .nullable(),
270
282
  setup_required: setup_required.optional().nullable(),
283
+ unknown_issue_with_acs_system: unknown_issue_with_acs_system
284
+ .optional()
285
+ .nullable(),
271
286
  })
272
287
 
273
288
  export type AcsSystemWarningMap = z.infer<typeof _acs_system_warning_map>
@@ -4925,6 +4925,32 @@ const openapi: OpenAPISpec = {
4925
4925
  required: ['created_at', 'message', 'warning_code'],
4926
4926
  type: 'object',
4927
4927
  },
4928
+ {
4929
+ description:
4930
+ 'Indicates that Seam encountered an unexpected error while syncing this [access control system](https://docs.seam.co/low-level-apis/access-systems), so its users, credentials, and access groups may be out of date. Seam retries on every sync cycle and clears this warning once a sync succeeds; if it persists, contact [support](mailto:support@seam.co).',
4931
+ properties: {
4932
+ created_at: {
4933
+ description:
4934
+ 'Date and time at which Seam created the warning.',
4935
+ format: 'date-time',
4936
+ type: 'string',
4937
+ },
4938
+ message: {
4939
+ description:
4940
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
4941
+ type: 'string',
4942
+ },
4943
+ warning_code: {
4944
+ description:
4945
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
4946
+ enum: ['unknown_issue_with_acs_system'],
4947
+ type: 'string',
4948
+ },
4949
+ },
4950
+ required: ['created_at', 'message', 'warning_code'],
4951
+ type: 'object',
4952
+ 'x-resource-type': 'acs_system',
4953
+ },
4928
4954
  ],
4929
4955
  },
4930
4956
  type: 'array',
@@ -16239,6 +16239,14 @@ export type Routes = {
16239
16239
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16240
16240
  warning_code: 'setup_required'
16241
16241
  }
16242
+ | {
16243
+ /** Date and time at which Seam created the warning. */
16244
+ created_at: string
16245
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
16246
+ message: string
16247
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16248
+ warning_code: 'unknown_issue_with_acs_system'
16249
+ }
16242
16250
  )[]
16243
16251
  }[]
16244
16252
  | undefined
@@ -40696,6 +40704,14 @@ export type Routes = {
40696
40704
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40697
40705
  warning_code: 'setup_required'
40698
40706
  }
40707
+ | {
40708
+ /** Date and time at which Seam created the warning. */
40709
+ created_at: string
40710
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
40711
+ message: string
40712
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40713
+ warning_code: 'unknown_issue_with_acs_system'
40714
+ }
40699
40715
  )[]
40700
40716
  }
40701
40717
  }
@@ -40914,6 +40930,14 @@ export type Routes = {
40914
40930
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40915
40931
  warning_code: 'setup_required'
40916
40932
  }
40933
+ | {
40934
+ /** Date and time at which Seam created the warning. */
40935
+ created_at: string
40936
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
40937
+ message: string
40938
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40939
+ warning_code: 'unknown_issue_with_acs_system'
40940
+ }
40917
40941
  )[]
40918
40942
  }[]
40919
40943
  }
@@ -41128,6 +41152,14 @@ export type Routes = {
41128
41152
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41129
41153
  warning_code: 'setup_required'
41130
41154
  }
41155
+ | {
41156
+ /** Date and time at which Seam created the warning. */
41157
+ created_at: string
41158
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
41159
+ message: string
41160
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41161
+ warning_code: 'unknown_issue_with_acs_system'
41162
+ }
41131
41163
  )[]
41132
41164
  }[]
41133
41165
  }
@@ -107169,6 +107201,14 @@ export type Routes = {
107169
107201
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
107170
107202
  warning_code: 'setup_required'
107171
107203
  }
107204
+ | {
107205
+ /** Date and time at which Seam created the warning. */
107206
+ created_at: string
107207
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
107208
+ message: string
107209
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
107210
+ warning_code: 'unknown_issue_with_acs_system'
107211
+ }
107172
107212
  )[]
107173
107213
  }[]
107174
107214
  | undefined
@@ -137431,6 +137471,14 @@ export type Routes = {
137431
137471
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
137432
137472
  warning_code: 'setup_required'
137433
137473
  }
137474
+ | {
137475
+ /** Date and time at which Seam created the warning. */
137476
+ created_at: string
137477
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
137478
+ message: string
137479
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
137480
+ warning_code: 'unknown_issue_with_acs_system'
137481
+ }
137434
137482
  )[]
137435
137483
  }[]
137436
137484
  }
@@ -140870,6 +140918,14 @@ export type Routes = {
140870
140918
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
140871
140919
  warning_code: 'setup_required'
140872
140920
  }
140921
+ | {
140922
+ /** Date and time at which Seam created the warning. */
140923
+ created_at: string
140924
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
140925
+ message: string
140926
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
140927
+ warning_code: 'unknown_issue_with_acs_system'
140928
+ }
140873
140929
  )[]
140874
140930
  }[]
140875
140931
  | undefined