@seamapi/types 1.510.0 → 1.512.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.
@@ -10000,6 +10000,8 @@ export type Routes = {
10000
10000
  starts_at?: string | undefined;
10001
10001
  /** Date and time at which the validity of the new grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
10002
10002
  ends_at?: (string | undefined) | null;
10003
+ /** ID of the customization profile to apply to the Access Grant and its access methods. */
10004
+ customization_profile_id?: string | undefined;
10003
10005
  };
10004
10006
  formData: {};
10005
10007
  jsonResponse: {
@@ -10045,6 +10047,8 @@ export type Routes = {
10045
10047
  starts_at: string;
10046
10048
  /** Date and time at which the Access Grant ends. */
10047
10049
  ends_at: string | null;
10050
+ /** ID of the customization profile associated with the Access Grant. */
10051
+ customization_profile_id?: string | undefined;
10048
10052
  };
10049
10053
  };
10050
10054
  };
@@ -10116,6 +10120,8 @@ export type Routes = {
10116
10120
  starts_at: string;
10117
10121
  /** Date and time at which the Access Grant ends. */
10118
10122
  ends_at: string | null;
10123
+ /** ID of the customization profile associated with the Access Grant. */
10124
+ customization_profile_id?: string | undefined;
10119
10125
  };
10120
10126
  };
10121
10127
  };
@@ -11825,6 +11831,8 @@ export type Routes = {
11825
11831
  starts_at: string;
11826
11832
  /** Date and time at which the Access Grant ends. */
11827
11833
  ends_at: string | null;
11834
+ /** ID of the customization profile associated with the Access Grant. */
11835
+ customization_profile_id?: string | undefined;
11828
11836
  }[];
11829
11837
  };
11830
11838
  };
@@ -13153,6 +13161,8 @@ export type Routes = {
13153
13161
  is_encoding_required?: boolean | undefined;
13154
13162
  /** The actual PIN code for code access methods. */
13155
13163
  code?: string | undefined;
13164
+ /** ID of the customization profile associated with the access method. */
13165
+ customization_profile_id?: string | undefined;
13156
13166
  };
13157
13167
  };
13158
13168
  };
@@ -17153,6 +17163,8 @@ export type Routes = {
17153
17163
  is_encoding_required?: boolean | undefined;
17154
17164
  /** The actual PIN code for code access methods. */
17155
17165
  code?: string | undefined;
17166
+ /** ID of the customization profile associated with the access method. */
17167
+ customization_profile_id?: string | undefined;
17156
17168
  }[] | undefined;
17157
17169
  access_grants?: {
17158
17170
  /** ID of the Seam workspace associated with the Access Grant. */
@@ -17195,6 +17207,8 @@ export type Routes = {
17195
17207
  starts_at: string;
17196
17208
  /** Date and time at which the Access Grant ends. */
17197
17209
  ends_at: string | null;
17210
+ /** ID of the customization profile associated with the Access Grant. */
17211
+ customization_profile_id?: string | undefined;
17198
17212
  }[] | undefined;
17199
17213
  events?: ({
17200
17214
  /** ID of the event. */
@@ -20165,6 +20179,8 @@ export type Routes = {
20165
20179
  is_encoding_required?: boolean | undefined;
20166
20180
  /** The actual PIN code for code access methods. */
20167
20181
  code?: string | undefined;
20182
+ /** ID of the customization profile associated with the access method. */
20183
+ customization_profile_id?: string | undefined;
20168
20184
  }[];
20169
20185
  };
20170
20186
  };
@@ -38642,7 +38658,9 @@ export type Routes = {
38642
38658
  jsonBody: {};
38643
38659
  commonParams: {
38644
38660
  /** ID of the instant key to get. */
38645
- instant_key_id: string;
38661
+ instant_key_id?: string | undefined;
38662
+ /** URL of the instant key to get. */
38663
+ instant_key_url?: string | undefined;
38646
38664
  };
38647
38665
  formData: {};
38648
38666
  jsonResponse: {
@@ -82660,6 +82678,8 @@ export type Routes = {
82660
82678
  is_encoding_required?: boolean | undefined;
82661
82679
  /** The actual PIN code for code access methods. */
82662
82680
  code?: string | undefined;
82681
+ /** ID of the customization profile associated with the access method. */
82682
+ customization_profile_id?: string | undefined;
82663
82683
  }[] | undefined;
82664
82684
  access_grants?: {
82665
82685
  /** ID of the Seam workspace associated with the Access Grant. */
@@ -82702,6 +82722,8 @@ export type Routes = {
82702
82722
  starts_at: string;
82703
82723
  /** Date and time at which the Access Grant ends. */
82704
82724
  ends_at: string | null;
82725
+ /** ID of the customization profile associated with the Access Grant. */
82726
+ customization_profile_id?: string | undefined;
82705
82727
  }[] | undefined;
82706
82728
  events?: ({
82707
82729
  /** ID of the event. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.510.0",
3
+ "version": "1.512.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -63,6 +63,13 @@ export const access_grant = z.object({
63
63
  .datetime()
64
64
  .nullable()
65
65
  .describe('Date and time at which the Access Grant ends.'),
66
+ customization_profile_id: z
67
+ .string()
68
+ .uuid()
69
+ .optional()
70
+ .describe(
71
+ 'ID of the customization profile associated with the Access Grant.',
72
+ ),
66
73
  }).describe(`
67
74
  ---
68
75
  draft: Early access.
@@ -43,6 +43,13 @@ export const access_method = z.object({
43
43
  .string()
44
44
  .optional()
45
45
  .describe('The actual PIN code for code access methods.'),
46
+ customization_profile_id: z
47
+ .string()
48
+ .uuid()
49
+ .optional()
50
+ .describe(
51
+ 'ID of the customization profile associated with the access method.',
52
+ ),
46
53
  }).describe(`
47
54
  ---
48
55
  draft: Early access.
@@ -1850,6 +1850,12 @@ export default {
1850
1850
  format: 'date-time',
1851
1851
  type: 'string',
1852
1852
  },
1853
+ customization_profile_id: {
1854
+ description:
1855
+ 'ID of the customization profile associated with the Access Grant.',
1856
+ format: 'uuid',
1857
+ type: 'string',
1858
+ },
1853
1859
  display_name: {
1854
1860
  description: 'Display name of the Access Grant.',
1855
1861
  type: 'string',
@@ -1982,6 +1988,12 @@ export default {
1982
1988
  format: 'date-time',
1983
1989
  type: 'string',
1984
1990
  },
1991
+ customization_profile_id: {
1992
+ description:
1993
+ 'ID of the customization profile associated with the access method.',
1994
+ format: 'uuid',
1995
+ type: 'string',
1996
+ },
1985
1997
  display_name: {
1986
1998
  description: 'Display name of the access method.',
1987
1999
  type: 'string',
@@ -27894,6 +27906,12 @@ export default {
27894
27906
  items: { format: 'uuid', type: 'string' },
27895
27907
  type: 'array',
27896
27908
  },
27909
+ customization_profile_id: {
27910
+ description:
27911
+ 'ID of the customization profile to apply to the Access Grant and its access methods.',
27912
+ format: 'uuid',
27913
+ type: 'string',
27914
+ },
27897
27915
  device_ids: {
27898
27916
  default: [],
27899
27917
  description:
@@ -43566,13 +43584,21 @@ export default {
43566
43584
  {
43567
43585
  in: 'query',
43568
43586
  name: 'instant_key_id',
43569
- required: true,
43570
43587
  schema: {
43571
43588
  description: 'ID of the instant key to get.',
43572
43589
  format: 'uuid',
43573
43590
  type: 'string',
43574
43591
  },
43575
43592
  },
43593
+ {
43594
+ in: 'query',
43595
+ name: 'instant_key_url',
43596
+ schema: {
43597
+ description: 'URL of the instant key to get.',
43598
+ format: 'uri',
43599
+ type: 'string',
43600
+ },
43601
+ },
43576
43602
  ],
43577
43603
  responses: {
43578
43604
  200: {
@@ -43620,8 +43646,12 @@ export default {
43620
43646
  format: 'uuid',
43621
43647
  type: 'string',
43622
43648
  },
43649
+ instant_key_url: {
43650
+ description: 'URL of the instant key to get.',
43651
+ format: 'uri',
43652
+ type: 'string',
43653
+ },
43623
43654
  },
43624
- required: ['instant_key_id'],
43625
43655
  type: 'object',
43626
43656
  },
43627
43657
  },
@@ -11224,6 +11224,8 @@ export type Routes = {
11224
11224
  starts_at?: string | undefined
11225
11225
  /** Date and time at which the validity of the new grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
11226
11226
  ends_at?: (string | undefined) | null
11227
+ /** ID of the customization profile to apply to the Access Grant and its access methods. */
11228
+ customization_profile_id?: string | undefined
11227
11229
  }
11228
11230
  formData: {}
11229
11231
  jsonResponse: {
@@ -11269,6 +11271,8 @@ export type Routes = {
11269
11271
  starts_at: string
11270
11272
  /** Date and time at which the Access Grant ends. */
11271
11273
  ends_at: string | null
11274
+ /** ID of the customization profile associated with the Access Grant. */
11275
+ customization_profile_id?: string | undefined
11272
11276
  }
11273
11277
  }
11274
11278
  }
@@ -11342,6 +11346,8 @@ export type Routes = {
11342
11346
  starts_at: string
11343
11347
  /** Date and time at which the Access Grant ends. */
11344
11348
  ends_at: string | null
11349
+ /** ID of the customization profile associated with the Access Grant. */
11350
+ customization_profile_id?: string | undefined
11345
11351
  }
11346
11352
  }
11347
11353
  }
@@ -13514,6 +13520,8 @@ export type Routes = {
13514
13520
  starts_at: string
13515
13521
  /** Date and time at which the Access Grant ends. */
13516
13522
  ends_at: string | null
13523
+ /** ID of the customization profile associated with the Access Grant. */
13524
+ customization_profile_id?: string | undefined
13517
13525
  }[]
13518
13526
  }
13519
13527
  }
@@ -15023,6 +15031,8 @@ export type Routes = {
15023
15031
  is_encoding_required?: boolean | undefined
15024
15032
  /** The actual PIN code for code access methods. */
15025
15033
  code?: string | undefined
15034
+ /** ID of the customization profile associated with the access method. */
15035
+ customization_profile_id?: string | undefined
15026
15036
  }
15027
15037
  }
15028
15038
  }
@@ -19905,6 +19915,8 @@ export type Routes = {
19905
19915
  is_encoding_required?: boolean | undefined
19906
19916
  /** The actual PIN code for code access methods. */
19907
19917
  code?: string | undefined
19918
+ /** ID of the customization profile associated with the access method. */
19919
+ customization_profile_id?: string | undefined
19908
19920
  }[]
19909
19921
  | undefined
19910
19922
  access_grants?:
@@ -19949,6 +19961,8 @@ export type Routes = {
19949
19961
  starts_at: string
19950
19962
  /** Date and time at which the Access Grant ends. */
19951
19963
  ends_at: string | null
19964
+ /** ID of the customization profile associated with the Access Grant. */
19965
+ customization_profile_id?: string | undefined
19952
19966
  }[]
19953
19967
  | undefined
19954
19968
  events?:
@@ -23388,6 +23402,8 @@ export type Routes = {
23388
23402
  is_encoding_required?: boolean | undefined
23389
23403
  /** The actual PIN code for code access methods. */
23390
23404
  code?: string | undefined
23405
+ /** ID of the customization profile associated with the access method. */
23406
+ customization_profile_id?: string | undefined
23391
23407
  }[]
23392
23408
  }
23393
23409
  }
@@ -45637,7 +45653,9 @@ export type Routes = {
45637
45653
  jsonBody: {}
45638
45654
  commonParams: {
45639
45655
  /** ID of the instant key to get. */
45640
- instant_key_id: string
45656
+ instant_key_id?: string | undefined
45657
+ /** URL of the instant key to get. */
45658
+ instant_key_url?: string | undefined
45641
45659
  }
45642
45660
  formData: {}
45643
45661
  jsonResponse: {
@@ -98269,6 +98287,8 @@ export type Routes = {
98269
98287
  is_encoding_required?: boolean | undefined
98270
98288
  /** The actual PIN code for code access methods. */
98271
98289
  code?: string | undefined
98290
+ /** ID of the customization profile associated with the access method. */
98291
+ customization_profile_id?: string | undefined
98272
98292
  }[]
98273
98293
  | undefined
98274
98294
  access_grants?:
@@ -98313,6 +98333,8 @@ export type Routes = {
98313
98333
  starts_at: string
98314
98334
  /** Date and time at which the Access Grant ends. */
98315
98335
  ends_at: string | null
98336
+ /** ID of the customization profile associated with the Access Grant. */
98337
+ customization_profile_id?: string | undefined
98316
98338
  }[]
98317
98339
  | undefined
98318
98340
  events?: