@seamapi/types 1.449.0 → 1.450.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.
@@ -3624,6 +3624,7 @@ declare const access_grant: z.ZodObject<{
3624
3624
  created_access_method_ids: string[];
3625
3625
  }>, "many">;
3626
3626
  access_method_ids: z.ZodArray<z.ZodString, "many">;
3627
+ client_session_token: z.ZodOptional<z.ZodString>;
3627
3628
  display_name: z.ZodString;
3628
3629
  instant_key_url: z.ZodOptional<z.ZodString>;
3629
3630
  created_at: z.ZodString;
@@ -3647,6 +3648,7 @@ declare const access_grant: z.ZodObject<{
3647
3648
  starts_at?: string | undefined;
3648
3649
  ends_at?: string | undefined;
3649
3650
  access_grant_key?: string | undefined;
3651
+ client_session_token?: string | undefined;
3650
3652
  instant_key_url?: string | undefined;
3651
3653
  }, {
3652
3654
  display_name: string;
@@ -3666,6 +3668,7 @@ declare const access_grant: z.ZodObject<{
3666
3668
  starts_at?: string | undefined;
3667
3669
  ends_at?: string | undefined;
3668
3670
  access_grant_key?: string | undefined;
3671
+ client_session_token?: string | undefined;
3669
3672
  instant_key_url?: string | undefined;
3670
3673
  }>;
3671
3674
  type AccessGrant = z.infer<typeof access_grant>;
@@ -28433,6 +28436,10 @@ declare const _default: {
28433
28436
  };
28434
28437
  type: string;
28435
28438
  };
28439
+ client_session_token: {
28440
+ description: string;
28441
+ type: string;
28442
+ };
28436
28443
  created_at: {
28437
28444
  description: string;
28438
28445
  format: string;
@@ -65101,6 +65108,9 @@ declare const _default: {
65101
65108
  };
65102
65109
  type: string;
65103
65110
  };
65111
+ is_draft: {
65112
+ type: string;
65113
+ };
65104
65114
  name: {
65105
65115
  type: string;
65106
65116
  };
@@ -65207,6 +65217,9 @@ declare const _default: {
65207
65217
  };
65208
65218
  type: string;
65209
65219
  };
65220
+ is_draft: {
65221
+ type: string;
65222
+ };
65210
65223
  name: {
65211
65224
  type: string;
65212
65225
  };
@@ -65308,14 +65321,22 @@ declare const _default: {
65308
65321
  pat_with_workspace: never[];
65309
65322
  console_session_with_workspace?: never;
65310
65323
  api_key?: never;
65324
+ client_session_with_customer?: never;
65311
65325
  } | {
65312
65326
  console_session_with_workspace: never[];
65313
65327
  pat_with_workspace?: never;
65314
65328
  api_key?: never;
65329
+ client_session_with_customer?: never;
65315
65330
  } | {
65316
65331
  api_key: never[];
65317
65332
  pat_with_workspace?: never;
65318
65333
  console_session_with_workspace?: never;
65334
+ client_session_with_customer?: never;
65335
+ } | {
65336
+ client_session_with_customer: never[];
65337
+ pat_with_workspace?: never;
65338
+ console_session_with_workspace?: never;
65339
+ api_key?: never;
65319
65340
  })[];
65320
65341
  summary: string;
65321
65342
  tags: never[];
@@ -65382,14 +65403,22 @@ declare const _default: {
65382
65403
  pat_with_workspace: never[];
65383
65404
  console_session_with_workspace?: never;
65384
65405
  api_key?: never;
65406
+ client_session_with_customer?: never;
65385
65407
  } | {
65386
65408
  console_session_with_workspace: never[];
65387
65409
  pat_with_workspace?: never;
65388
65410
  api_key?: never;
65411
+ client_session_with_customer?: never;
65389
65412
  } | {
65390
65413
  api_key: never[];
65391
65414
  pat_with_workspace?: never;
65392
65415
  console_session_with_workspace?: never;
65416
+ client_session_with_customer?: never;
65417
+ } | {
65418
+ client_session_with_customer: never[];
65419
+ pat_with_workspace?: never;
65420
+ console_session_with_workspace?: never;
65421
+ api_key?: never;
65393
65422
  })[];
65394
65423
  summary: string;
65395
65424
  tags: never[];
@@ -65458,14 +65487,22 @@ declare const _default: {
65458
65487
  pat_with_workspace: never[];
65459
65488
  console_session_with_workspace?: never;
65460
65489
  api_key?: never;
65490
+ client_session_with_customer?: never;
65461
65491
  } | {
65462
65492
  console_session_with_workspace: never[];
65463
65493
  pat_with_workspace?: never;
65464
65494
  api_key?: never;
65495
+ client_session_with_customer?: never;
65465
65496
  } | {
65466
65497
  api_key: never[];
65467
65498
  pat_with_workspace?: never;
65468
65499
  console_session_with_workspace?: never;
65500
+ client_session_with_customer?: never;
65501
+ } | {
65502
+ client_session_with_customer: never[];
65503
+ pat_with_workspace?: never;
65504
+ console_session_with_workspace?: never;
65505
+ api_key?: never;
65469
65506
  })[];
65470
65507
  summary: string;
65471
65508
  tags: never[];
@@ -65532,14 +65569,22 @@ declare const _default: {
65532
65569
  pat_with_workspace: never[];
65533
65570
  console_session_with_workspace?: never;
65534
65571
  api_key?: never;
65572
+ client_session_with_customer?: never;
65535
65573
  } | {
65536
65574
  console_session_with_workspace: never[];
65537
65575
  pat_with_workspace?: never;
65538
65576
  api_key?: never;
65577
+ client_session_with_customer?: never;
65539
65578
  } | {
65540
65579
  api_key: never[];
65541
65580
  pat_with_workspace?: never;
65542
65581
  console_session_with_workspace?: never;
65582
+ client_session_with_customer?: never;
65583
+ } | {
65584
+ client_session_with_customer: never[];
65585
+ pat_with_workspace?: never;
65586
+ console_session_with_workspace?: never;
65587
+ api_key?: never;
65543
65588
  })[];
65544
65589
  summary: string;
65545
65590
  tags: never[];
@@ -66150,6 +66195,20 @@ declare const _default: {
66150
66195
  description: string;
66151
66196
  minLength: number;
66152
66197
  type: string;
66198
+ format?: never;
66199
+ 'x-draft'?: never;
66200
+ 'x-undocumented'?: never;
66201
+ };
66202
+ } | {
66203
+ in: string;
66204
+ name: string;
66205
+ schema: {
66206
+ description: string;
66207
+ format: string;
66208
+ type: string;
66209
+ 'x-draft': string;
66210
+ 'x-undocumented': string;
66211
+ minLength?: never;
66153
66212
  };
66154
66213
  } | {
66155
66214
  in: string;
@@ -66158,6 +66217,9 @@ declare const _default: {
66158
66217
  description: string;
66159
66218
  type: string;
66160
66219
  minLength?: never;
66220
+ format?: never;
66221
+ 'x-draft'?: never;
66222
+ 'x-undocumented'?: never;
66161
66223
  };
66162
66224
  })[];
66163
66225
  responses: {
@@ -66228,6 +66290,13 @@ declare const _default: {
66228
66290
  'application/json': {
66229
66291
  schema: {
66230
66292
  properties: {
66293
+ connected_account_id: {
66294
+ description: string;
66295
+ format: string;
66296
+ type: string;
66297
+ 'x-draft': string;
66298
+ 'x-undocumented': string;
66299
+ };
66231
66300
  search: {
66232
66301
  description: string;
66233
66302
  minLength: number;
@@ -86818,6 +86887,8 @@ interface Routes {
86818
86887
  }>;
86819
86888
  /** IDs of the access methods created for the Access Grant. */
86820
86889
  access_method_ids: string[];
86890
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
86891
+ client_session_token?: string | undefined;
86821
86892
  /** Display name of the Access Grant. */
86822
86893
  display_name: string;
86823
86894
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -86885,6 +86956,8 @@ interface Routes {
86885
86956
  }>;
86886
86957
  /** IDs of the access methods created for the Access Grant. */
86887
86958
  access_method_ids: string[];
86959
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
86960
+ client_session_token?: string | undefined;
86888
86961
  /** Display name of the Access Grant. */
86889
86962
  display_name: string;
86890
86963
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -86947,6 +87020,8 @@ interface Routes {
86947
87020
  }>;
86948
87021
  /** IDs of the access methods created for the Access Grant. */
86949
87022
  access_method_ids: string[];
87023
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
87024
+ client_session_token?: string | undefined;
86950
87025
  /** Display name of the Access Grant. */
86951
87026
  display_name: string;
86952
87027
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -123376,6 +123451,7 @@ interface Routes {
123376
123451
  name: string;
123377
123452
  }>;
123378
123453
  needs_review?: boolean | undefined;
123454
+ is_draft?: boolean | undefined;
123379
123455
  }>;
123380
123456
  };
123381
123457
  };
@@ -124793,6 +124869,8 @@ interface Routes {
124793
124869
  commonParams: {
124794
124870
  /** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
124795
124871
  search?: string | undefined;
124872
+ /** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
124873
+ connected_account_id?: string | undefined;
124796
124874
  /** Filter spaces by space_key. */
124797
124875
  space_key?: string | undefined;
124798
124876
  };
@@ -140342,6 +140420,8 @@ interface Routes {
140342
140420
  }>;
140343
140421
  /** IDs of the access methods created for the Access Grant. */
140344
140422
  access_method_ids: string[];
140423
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
140424
+ client_session_token?: string | undefined;
140345
140425
  /** Display name of the Access Grant. */
140346
140426
  display_name: string;
140347
140427
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -140406,6 +140486,8 @@ interface Routes {
140406
140486
  }>;
140407
140487
  /** IDs of the access methods created for the Access Grant. */
140408
140488
  access_method_ids: string[];
140489
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
140490
+ client_session_token?: string | undefined;
140409
140491
  /** Display name of the Access Grant. */
140410
140492
  display_name: string;
140411
140493
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -140466,6 +140548,8 @@ interface Routes {
140466
140548
  }>;
140467
140549
  /** IDs of the access methods created for the Access Grant. */
140468
140550
  access_method_ids: string[];
140551
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
140552
+ client_session_token?: string | undefined;
140469
140553
  /** Display name of the Access Grant. */
140470
140554
  display_name: string;
140471
140555
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
package/dist/index.cjs CHANGED
@@ -7117,6 +7117,10 @@ var openapi_default = {
7117
7117
  items: { format: "uuid", type: "string" },
7118
7118
  type: "array"
7119
7119
  },
7120
+ client_session_token: {
7121
+ description: "Client Session Token. Only returned if the Access Grant has a mobile_key access method.",
7122
+ type: "string"
7123
+ },
7120
7124
  created_at: {
7121
7125
  description: "Date and time at which the Access Grant was created.",
7122
7126
  format: "date-time",
@@ -48386,6 +48390,7 @@ var openapi_default = {
48386
48390
  },
48387
48391
  type: "array"
48388
48392
  },
48393
+ is_draft: { type: "boolean" },
48389
48394
  name: { type: "string" },
48390
48395
  needs_review: { type: "boolean" },
48391
48396
  partner_resource_key: { type: "string" }
@@ -48481,6 +48486,7 @@ var openapi_default = {
48481
48486
  },
48482
48487
  type: "array"
48483
48488
  },
48489
+ is_draft: { type: "boolean" },
48484
48490
  name: { type: "string" },
48485
48491
  needs_review: { type: "boolean" },
48486
48492
  partner_resource_key: { type: "string" }
@@ -48569,7 +48575,8 @@ var openapi_default = {
48569
48575
  security: [
48570
48576
  { pat_with_workspace: [] },
48571
48577
  { console_session_with_workspace: [] },
48572
- { api_key: [] }
48578
+ { api_key: [] },
48579
+ { client_session_with_customer: [] }
48573
48580
  ],
48574
48581
  summary: "/spaces/add_acs_entrances",
48575
48582
  tags: [],
@@ -48624,7 +48631,8 @@ var openapi_default = {
48624
48631
  security: [
48625
48632
  { pat_with_workspace: [] },
48626
48633
  { console_session_with_workspace: [] },
48627
- { api_key: [] }
48634
+ { api_key: [] },
48635
+ { client_session_with_customer: [] }
48628
48636
  ],
48629
48637
  summary: "/spaces/add_acs_entrances",
48630
48638
  tags: [],
@@ -48681,7 +48689,8 @@ var openapi_default = {
48681
48689
  security: [
48682
48690
  { pat_with_workspace: [] },
48683
48691
  { console_session_with_workspace: [] },
48684
- { api_key: [] }
48692
+ { api_key: [] },
48693
+ { client_session_with_customer: [] }
48685
48694
  ],
48686
48695
  summary: "/spaces/add_devices",
48687
48696
  tags: [],
@@ -48736,7 +48745,8 @@ var openapi_default = {
48736
48745
  security: [
48737
48746
  { pat_with_workspace: [] },
48738
48747
  { console_session_with_workspace: [] },
48739
- { api_key: [] }
48748
+ { api_key: [] },
48749
+ { client_session_with_customer: [] }
48740
48750
  ],
48741
48751
  summary: "/spaces/add_devices",
48742
48752
  tags: [],
@@ -49218,6 +49228,17 @@ var openapi_default = {
49218
49228
  type: "string"
49219
49229
  }
49220
49230
  },
49231
+ {
49232
+ in: "query",
49233
+ name: "connected_account_id",
49234
+ schema: {
49235
+ description: "Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.",
49236
+ format: "uuid",
49237
+ type: "string",
49238
+ "x-draft": "Needs review.",
49239
+ "x-undocumented": "Only used internally."
49240
+ }
49241
+ },
49221
49242
  {
49222
49243
  in: "query",
49223
49244
  name: "space_key",
@@ -49272,6 +49293,13 @@ var openapi_default = {
49272
49293
  "application/json": {
49273
49294
  schema: {
49274
49295
  properties: {
49296
+ connected_account_id: {
49297
+ description: "Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.",
49298
+ format: "uuid",
49299
+ type: "string",
49300
+ "x-draft": "Needs review.",
49301
+ "x-undocumented": "Only used internally."
49302
+ },
49275
49303
  search: {
49276
49304
  description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
49277
49305
  minLength: 1,