@seamapi/types 1.602.0 → 1.604.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.
@@ -9912,6 +9912,8 @@ export type Routes = {
9912
9912
  name?: (string | undefined) | null;
9913
9913
  /** Unique key for the access grant within the workspace. */
9914
9914
  access_grant_key?: string | undefined;
9915
+ /** Reservation key for the access grant. */
9916
+ reservation_key?: string | undefined;
9915
9917
  /**
9916
9918
  * @deprecated Use `space_ids`.*/
9917
9919
  location_ids?: string[] | undefined;
@@ -9957,6 +9959,8 @@ export type Routes = {
9957
9959
  access_grant_id: string;
9958
9960
  /** Unique key for the access grant within the workspace. */
9959
9961
  access_grant_key?: string | undefined;
9962
+ /** Reservation key for the access grant. */
9963
+ reservation_key?: string | undefined;
9960
9964
  /** ID of user identity to which the Access Grant gives access. */
9961
9965
  user_identity_id: string;
9962
9966
  /**
@@ -10041,6 +10045,8 @@ export type Routes = {
10041
10045
  access_grant_id: string;
10042
10046
  /** Unique key for the access grant within the workspace. */
10043
10047
  access_grant_key?: string | undefined;
10048
+ /** Reservation key for the access grant. */
10049
+ reservation_key?: string | undefined;
10044
10050
  /** ID of user identity to which the Access Grant gives access. */
10045
10051
  user_identity_id: string;
10046
10052
  /**
@@ -11820,6 +11826,8 @@ export type Routes = {
11820
11826
  access_grant_id: string;
11821
11827
  /** Unique key for the access grant within the workspace. */
11822
11828
  access_grant_key?: string | undefined;
11829
+ /** Reservation key for the access grant. */
11830
+ reservation_key?: string | undefined;
11823
11831
  /** ID of user identity to which the Access Grant gives access. */
11824
11832
  user_identity_id: string;
11825
11833
  /**
@@ -11896,6 +11904,8 @@ export type Routes = {
11896
11904
  access_grant_id: string;
11897
11905
  /** Unique key for the access grant within the workspace. */
11898
11906
  access_grant_key?: string | undefined;
11907
+ /** Reservation key for the access grant. */
11908
+ reservation_key?: string | undefined;
11899
11909
  /** ID of user identity to which the Access Grant gives access. */
11900
11910
  user_identity_id: string;
11901
11911
  /**
@@ -11963,6 +11973,8 @@ export type Routes = {
11963
11973
  workspace_id: string;
11964
11974
  /** ID of the Access Grant. */
11965
11975
  access_grant_id: string;
11976
+ /** Reservation key for the access grant. */
11977
+ reservation_key?: string | undefined;
11966
11978
  /** ID of user identity to which the Access Grant gives access. */
11967
11979
  user_identity_id: string;
11968
11980
  /**
@@ -12027,6 +12039,8 @@ export type Routes = {
12027
12039
  workspace_id: string;
12028
12040
  /** ID of the Access Grant. */
12029
12041
  access_grant_id: string;
12042
+ /** Reservation key for the access grant. */
12043
+ reservation_key?: string | undefined;
12030
12044
  /** ID of user identity to which the Access Grant gives access. */
12031
12045
  user_identity_id: string;
12032
12046
  /**
@@ -17522,6 +17536,8 @@ export type Routes = {
17522
17536
  access_grant_id: string;
17523
17537
  /** Unique key for the access grant within the workspace. */
17524
17538
  access_grant_key?: string | undefined;
17539
+ /** Reservation key for the access grant. */
17540
+ reservation_key?: string | undefined;
17525
17541
  /** ID of user identity to which the Access Grant gives access. */
17526
17542
  user_identity_id: string;
17527
17543
  /**
@@ -77692,6 +77708,12 @@ export type Routes = {
77692
77708
  search?: string | undefined;
77693
77709
  /** `acs_system_id` of the credential manager by which you want to filter the list of user identities. */
77694
77710
  credential_manager_acs_system_id?: string | undefined;
77711
+ /** Maximum number of records to return per page. */
77712
+ limit?: number;
77713
+ /** Timestamp by which to limit returned user identities. Returns user identities created before this timestamp. */
77714
+ created_before?: Date | undefined;
77715
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
77716
+ page_cursor?: (string | undefined) | null;
77695
77717
  };
77696
77718
  formData: {};
77697
77719
  jsonResponse: {
@@ -77742,6 +77764,15 @@ export type Routes = {
77742
77764
  /** Array of access system user IDs associated with the user identity. */
77743
77765
  acs_user_ids: string[];
77744
77766
  }[];
77767
+ /** Information about the current page of results. */
77768
+ pagination: {
77769
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
77770
+ next_page_cursor: string | null;
77771
+ /** Indicates whether there is another page of results after this one. */
77772
+ has_next_page: boolean;
77773
+ /** URL to get the next page of results. */
77774
+ next_page_url: string | null;
77775
+ };
77745
77776
  };
77746
77777
  };
77747
77778
  '/user_identities/list_accessible_devices': {
@@ -80632,6 +80663,12 @@ export type Routes = {
80632
80663
  commonParams: {
80633
80664
  /** String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`. */
80634
80665
  search?: string | undefined;
80666
+ /** Maximum number of records to return per page. */
80667
+ limit?: number;
80668
+ /** Timestamp by which to limit returned unmanaged user identities. Returns user identities created before this timestamp. */
80669
+ created_before?: Date | undefined;
80670
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
80671
+ page_cursor?: (string | undefined) | null;
80635
80672
  };
80636
80673
  formData: {};
80637
80674
  jsonResponse: {
@@ -80680,6 +80717,15 @@ export type Routes = {
80680
80717
  /** Array of access system user IDs associated with the user identity. */
80681
80718
  acs_user_ids: string[];
80682
80719
  }[];
80720
+ /** Information about the current page of results. */
80721
+ pagination: {
80722
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
80723
+ next_page_cursor: string | null;
80724
+ /** Indicates whether there is another page of results after this one. */
80725
+ has_next_page: boolean;
80726
+ /** URL to get the next page of results. */
80727
+ next_page_url: string | null;
80728
+ };
80683
80729
  };
80684
80730
  };
80685
80731
  '/user_identities/unmanaged/update': {
@@ -85062,6 +85108,8 @@ export type Routes = {
85062
85108
  access_grant_id: string;
85063
85109
  /** Unique key for the access grant within the workspace. */
85064
85110
  access_grant_key?: string | undefined;
85111
+ /** Reservation key for the access grant. */
85112
+ reservation_key?: string | undefined;
85065
85113
  /** ID of user identity to which the Access Grant gives access. */
85066
85114
  user_identity_id: string;
85067
85115
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.602.0",
3
+ "version": "1.604.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -47,6 +47,10 @@ export const access_grant = z.object({
47
47
  .string()
48
48
  .optional()
49
49
  .describe('Unique key for the access grant within the workspace.'),
50
+ reservation_key: z
51
+ .string()
52
+ .optional()
53
+ .describe('Reservation key for the access grant.'),
50
54
  user_identity_id: z
51
55
  .string()
52
56
  .uuid()
@@ -1896,6 +1896,10 @@ export default {
1896
1896
  },
1897
1897
  type: 'array',
1898
1898
  },
1899
+ reservation_key: {
1900
+ description: 'Reservation key for the access grant.',
1901
+ type: 'string',
1902
+ },
1899
1903
  space_ids: {
1900
1904
  description:
1901
1905
  'IDs of the spaces to which the Access Grant gives access.',
@@ -28450,6 +28454,10 @@ export default {
28450
28454
  },
28451
28455
  type: 'array',
28452
28456
  },
28457
+ reservation_key: {
28458
+ description: 'Reservation key for the access grant.',
28459
+ type: 'string',
28460
+ },
28453
28461
  space_ids: {
28454
28462
  description:
28455
28463
  'Set of IDs of existing spaces to which access is being granted.',
@@ -29369,6 +29377,10 @@ export default {
29369
29377
  },
29370
29378
  type: 'array',
29371
29379
  },
29380
+ reservation_key: {
29381
+ description: 'Reservation key for the access grant.',
29382
+ type: 'string',
29383
+ },
29372
29384
  space_ids: {
29373
29385
  description:
29374
29386
  'IDs of the spaces to which the Access Grant gives access.',
@@ -29599,6 +29611,10 @@ export default {
29599
29611
  },
29600
29612
  type: 'array',
29601
29613
  },
29614
+ reservation_key: {
29615
+ description: 'Reservation key for the access grant.',
29616
+ type: 'string',
29617
+ },
29602
29618
  space_ids: {
29603
29619
  description:
29604
29620
  'IDs of the spaces to which the Access Grant gives access.',
@@ -29846,6 +29862,11 @@ export default {
29846
29862
  },
29847
29863
  type: 'array',
29848
29864
  },
29865
+ reservation_key: {
29866
+ description:
29867
+ 'Reservation key for the access grant.',
29868
+ type: 'string',
29869
+ },
29849
29870
  space_ids: {
29850
29871
  description:
29851
29872
  'IDs of the spaces to which the Access Grant gives access.',
@@ -30090,6 +30111,11 @@ export default {
30090
30111
  },
30091
30112
  type: 'array',
30092
30113
  },
30114
+ reservation_key: {
30115
+ description:
30116
+ 'Reservation key for the access grant.',
30117
+ type: 'string',
30118
+ },
30093
30119
  space_ids: {
30094
30120
  description:
30095
30121
  'IDs of the spaces to which the Access Grant gives access.',
@@ -60442,6 +60468,37 @@ export default {
60442
60468
  type: 'string',
60443
60469
  },
60444
60470
  },
60471
+ {
60472
+ in: 'query',
60473
+ name: 'limit',
60474
+ schema: {
60475
+ default: 500,
60476
+ description: 'Maximum number of records to return per page.',
60477
+ exclusiveMinimum: true,
60478
+ minimum: 0,
60479
+ type: 'integer',
60480
+ },
60481
+ },
60482
+ {
60483
+ in: 'query',
60484
+ name: 'created_before',
60485
+ schema: {
60486
+ description:
60487
+ 'Timestamp by which to limit returned user identities. Returns user identities created before this timestamp.',
60488
+ format: 'date-time',
60489
+ type: 'string',
60490
+ },
60491
+ },
60492
+ {
60493
+ in: 'query',
60494
+ name: 'page_cursor',
60495
+ schema: {
60496
+ description:
60497
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
60498
+ nullable: true,
60499
+ type: 'string',
60500
+ },
60501
+ },
60445
60502
  ],
60446
60503
  responses: {
60447
60504
  200: {
@@ -60450,12 +60507,13 @@ export default {
60450
60507
  schema: {
60451
60508
  properties: {
60452
60509
  ok: { type: 'boolean' },
60510
+ pagination: { $ref: '#/components/schemas/pagination' },
60453
60511
  user_identities: {
60454
60512
  items: { $ref: '#/components/schemas/user_identity' },
60455
60513
  type: 'array',
60456
60514
  },
60457
60515
  },
60458
- required: ['user_identities', 'ok'],
60516
+ required: ['user_identities', 'pagination', 'ok'],
60459
60517
  type: 'object',
60460
60518
  },
60461
60519
  },
@@ -60488,12 +60546,32 @@ export default {
60488
60546
  'application/json': {
60489
60547
  schema: {
60490
60548
  properties: {
60549
+ created_before: {
60550
+ description:
60551
+ 'Timestamp by which to limit returned user identities. Returns user identities created before this timestamp.',
60552
+ format: 'date-time',
60553
+ type: 'string',
60554
+ },
60491
60555
  credential_manager_acs_system_id: {
60492
60556
  description:
60493
60557
  '`acs_system_id` of the credential manager by which you want to filter the list of user identities.',
60494
60558
  format: 'uuid',
60495
60559
  type: 'string',
60496
60560
  },
60561
+ limit: {
60562
+ default: 500,
60563
+ description:
60564
+ 'Maximum number of records to return per page.',
60565
+ exclusiveMinimum: true,
60566
+ minimum: 0,
60567
+ type: 'integer',
60568
+ },
60569
+ page_cursor: {
60570
+ description:
60571
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
60572
+ nullable: true,
60573
+ type: 'string',
60574
+ },
60497
60575
  search: {
60498
60576
  description:
60499
60577
  'String for which to search. Filters returned user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`.',
@@ -60512,12 +60590,13 @@ export default {
60512
60590
  schema: {
60513
60591
  properties: {
60514
60592
  ok: { type: 'boolean' },
60593
+ pagination: { $ref: '#/components/schemas/pagination' },
60515
60594
  user_identities: {
60516
60595
  items: { $ref: '#/components/schemas/user_identity' },
60517
60596
  type: 'array',
60518
60597
  },
60519
60598
  },
60520
- required: ['user_identities', 'ok'],
60599
+ required: ['user_identities', 'pagination', 'ok'],
60521
60600
  type: 'object',
60522
60601
  },
60523
60602
  },
@@ -61615,6 +61694,37 @@ export default {
61615
61694
  type: 'string',
61616
61695
  },
61617
61696
  },
61697
+ {
61698
+ in: 'query',
61699
+ name: 'limit',
61700
+ schema: {
61701
+ default: 500,
61702
+ description: 'Maximum number of records to return per page.',
61703
+ exclusiveMinimum: true,
61704
+ minimum: 0,
61705
+ type: 'integer',
61706
+ },
61707
+ },
61708
+ {
61709
+ in: 'query',
61710
+ name: 'created_before',
61711
+ schema: {
61712
+ description:
61713
+ 'Timestamp by which to limit returned unmanaged user identities. Returns user identities created before this timestamp.',
61714
+ format: 'date-time',
61715
+ type: 'string',
61716
+ },
61717
+ },
61718
+ {
61719
+ in: 'query',
61720
+ name: 'page_cursor',
61721
+ schema: {
61722
+ description:
61723
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
61724
+ nullable: true,
61725
+ type: 'string',
61726
+ },
61727
+ },
61618
61728
  ],
61619
61729
  responses: {
61620
61730
  200: {
@@ -61623,6 +61733,7 @@ export default {
61623
61733
  schema: {
61624
61734
  properties: {
61625
61735
  ok: { type: 'boolean' },
61736
+ pagination: { $ref: '#/components/schemas/pagination' },
61626
61737
  user_identities: {
61627
61738
  items: {
61628
61739
  description:
@@ -61817,7 +61928,7 @@ export default {
61817
61928
  type: 'array',
61818
61929
  },
61819
61930
  },
61820
- required: ['user_identities', 'ok'],
61931
+ required: ['user_identities', 'pagination', 'ok'],
61821
61932
  type: 'object',
61822
61933
  },
61823
61934
  },
@@ -61850,6 +61961,26 @@ export default {
61850
61961
  'application/json': {
61851
61962
  schema: {
61852
61963
  properties: {
61964
+ created_before: {
61965
+ description:
61966
+ 'Timestamp by which to limit returned unmanaged user identities. Returns user identities created before this timestamp.',
61967
+ format: 'date-time',
61968
+ type: 'string',
61969
+ },
61970
+ limit: {
61971
+ default: 500,
61972
+ description:
61973
+ 'Maximum number of records to return per page.',
61974
+ exclusiveMinimum: true,
61975
+ minimum: 0,
61976
+ type: 'integer',
61977
+ },
61978
+ page_cursor: {
61979
+ description:
61980
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
61981
+ nullable: true,
61982
+ type: 'string',
61983
+ },
61853
61984
  search: {
61854
61985
  description:
61855
61986
  'String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`.',
@@ -61868,6 +61999,7 @@ export default {
61868
61999
  schema: {
61869
62000
  properties: {
61870
62001
  ok: { type: 'boolean' },
62002
+ pagination: { $ref: '#/components/schemas/pagination' },
61871
62003
  user_identities: {
61872
62004
  items: {
61873
62005
  description:
@@ -62062,7 +62194,7 @@ export default {
62062
62194
  type: 'array',
62063
62195
  },
62064
62196
  },
62065
- required: ['user_identities', 'ok'],
62197
+ required: ['user_identities', 'pagination', 'ok'],
62066
62198
  type: 'object',
62067
62199
  },
62068
62200
  },
@@ -11165,6 +11165,8 @@ export type Routes = {
11165
11165
  name?: (string | undefined) | null
11166
11166
  /** Unique key for the access grant within the workspace. */
11167
11167
  access_grant_key?: string | undefined
11168
+ /** Reservation key for the access grant. */
11169
+ reservation_key?: string | undefined
11168
11170
  /**
11169
11171
  * @deprecated Use `space_ids`.*/
11170
11172
  location_ids?: string[] | undefined
@@ -11212,6 +11214,8 @@ export type Routes = {
11212
11214
  access_grant_id: string
11213
11215
  /** Unique key for the access grant within the workspace. */
11214
11216
  access_grant_key?: string | undefined
11217
+ /** Reservation key for the access grant. */
11218
+ reservation_key?: string | undefined
11215
11219
  /** ID of user identity to which the Access Grant gives access. */
11216
11220
  user_identity_id: string
11217
11221
  /**
@@ -11298,6 +11302,8 @@ export type Routes = {
11298
11302
  access_grant_id: string
11299
11303
  /** Unique key for the access grant within the workspace. */
11300
11304
  access_grant_key?: string | undefined
11305
+ /** Reservation key for the access grant. */
11306
+ reservation_key?: string | undefined
11301
11307
  /** ID of user identity to which the Access Grant gives access. */
11302
11308
  user_identity_id: string
11303
11309
  /**
@@ -13559,6 +13565,8 @@ export type Routes = {
13559
13565
  access_grant_id: string
13560
13566
  /** Unique key for the access grant within the workspace. */
13561
13567
  access_grant_key?: string | undefined
13568
+ /** Reservation key for the access grant. */
13569
+ reservation_key?: string | undefined
13562
13570
  /** ID of user identity to which the Access Grant gives access. */
13563
13571
  user_identity_id: string
13564
13572
  /**
@@ -13635,6 +13643,8 @@ export type Routes = {
13635
13643
  access_grant_id: string
13636
13644
  /** Unique key for the access grant within the workspace. */
13637
13645
  access_grant_key?: string | undefined
13646
+ /** Reservation key for the access grant. */
13647
+ reservation_key?: string | undefined
13638
13648
  /** ID of user identity to which the Access Grant gives access. */
13639
13649
  user_identity_id: string
13640
13650
  /**
@@ -13702,6 +13712,8 @@ export type Routes = {
13702
13712
  workspace_id: string
13703
13713
  /** ID of the Access Grant. */
13704
13714
  access_grant_id: string
13715
+ /** Reservation key for the access grant. */
13716
+ reservation_key?: string | undefined
13705
13717
  /** ID of user identity to which the Access Grant gives access. */
13706
13718
  user_identity_id: string
13707
13719
  /**
@@ -13766,6 +13778,8 @@ export type Routes = {
13766
13778
  workspace_id: string
13767
13779
  /** ID of the Access Grant. */
13768
13780
  access_grant_id: string
13781
+ /** Reservation key for the access grant. */
13782
+ reservation_key?: string | undefined
13769
13783
  /** ID of user identity to which the Access Grant gives access. */
13770
13784
  user_identity_id: string
13771
13785
  /**
@@ -20396,6 +20410,8 @@ export type Routes = {
20396
20410
  access_grant_id: string
20397
20411
  /** Unique key for the access grant within the workspace. */
20398
20412
  access_grant_key?: string | undefined
20413
+ /** Reservation key for the access grant. */
20414
+ reservation_key?: string | undefined
20399
20415
  /** ID of user identity to which the Access Grant gives access. */
20400
20416
  user_identity_id: string
20401
20417
  /**
@@ -92338,6 +92354,12 @@ export type Routes = {
92338
92354
  search?: string | undefined
92339
92355
  /** `acs_system_id` of the credential manager by which you want to filter the list of user identities. */
92340
92356
  credential_manager_acs_system_id?: string | undefined
92357
+ /** Maximum number of records to return per page. */
92358
+ limit?: number
92359
+ /** Timestamp by which to limit returned user identities. Returns user identities created before this timestamp. */
92360
+ created_before?: Date | undefined
92361
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
92362
+ page_cursor?: (string | undefined) | null
92341
92363
  }
92342
92364
  formData: {}
92343
92365
  jsonResponse: {
@@ -92391,6 +92413,15 @@ export type Routes = {
92391
92413
  /** Array of access system user IDs associated with the user identity. */
92392
92414
  acs_user_ids: string[]
92393
92415
  }[]
92416
+ /** Information about the current page of results. */
92417
+ pagination: {
92418
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
92419
+ next_page_cursor: string | null
92420
+ /** Indicates whether there is another page of results after this one. */
92421
+ has_next_page: boolean
92422
+ /** URL to get the next page of results. */
92423
+ next_page_url: string | null
92424
+ }
92394
92425
  }
92395
92426
  }
92396
92427
  '/user_identities/list_accessible_devices': {
@@ -95986,6 +96017,12 @@ export type Routes = {
95986
96017
  commonParams: {
95987
96018
  /** String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`. */
95988
96019
  search?: string | undefined
96020
+ /** Maximum number of records to return per page. */
96021
+ limit?: number
96022
+ /** Timestamp by which to limit returned unmanaged user identities. Returns user identities created before this timestamp. */
96023
+ created_before?: Date | undefined
96024
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
96025
+ page_cursor?: (string | undefined) | null
95989
96026
  }
95990
96027
  formData: {}
95991
96028
  jsonResponse: {
@@ -96037,6 +96074,15 @@ export type Routes = {
96037
96074
  /** Array of access system user IDs associated with the user identity. */
96038
96075
  acs_user_ids: string[]
96039
96076
  }[]
96077
+ /** Information about the current page of results. */
96078
+ pagination: {
96079
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
96080
+ next_page_cursor: string | null
96081
+ /** Indicates whether there is another page of results after this one. */
96082
+ has_next_page: boolean
96083
+ /** URL to get the next page of results. */
96084
+ next_page_url: string | null
96085
+ }
96040
96086
  }
96041
96087
  }
96042
96088
  '/user_identities/unmanaged/update': {
@@ -101345,6 +101391,8 @@ export type Routes = {
101345
101391
  access_grant_id: string
101346
101392
  /** Unique key for the access grant within the workspace. */
101347
101393
  access_grant_key?: string | undefined
101394
+ /** Reservation key for the access grant. */
101395
+ reservation_key?: string | undefined
101348
101396
  /** ID of user identity to which the Access Grant gives access. */
101349
101397
  user_identity_id: string
101350
101398
  /**