@seamapi/types 1.449.0 → 1.451.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>;
@@ -3678,6 +3681,7 @@ declare const access_method: z.ZodObject<{
3678
3681
  created_at: z.ZodString;
3679
3682
  issued_at: z.ZodOptional<z.ZodString>;
3680
3683
  instant_key_url: z.ZodOptional<z.ZodString>;
3684
+ client_session_token: z.ZodOptional<z.ZodString>;
3681
3685
  is_encoding_required: z.ZodOptional<z.ZodBoolean>;
3682
3686
  code: z.ZodOptional<z.ZodString>;
3683
3687
  }, "strip", z.ZodTypeAny, {
@@ -3687,6 +3691,7 @@ declare const access_method: z.ZodObject<{
3687
3691
  mode: "code" | "card" | "mobile_key";
3688
3692
  access_method_id: string;
3689
3693
  code?: string | undefined;
3694
+ client_session_token?: string | undefined;
3690
3695
  instant_key_url?: string | undefined;
3691
3696
  issued_at?: string | undefined;
3692
3697
  is_encoding_required?: boolean | undefined;
@@ -3697,6 +3702,7 @@ declare const access_method: z.ZodObject<{
3697
3702
  mode: "code" | "card" | "mobile_key";
3698
3703
  access_method_id: string;
3699
3704
  code?: string | undefined;
3705
+ client_session_token?: string | undefined;
3700
3706
  instant_key_url?: string | undefined;
3701
3707
  issued_at?: string | undefined;
3702
3708
  is_encoding_required?: boolean | undefined;
@@ -28433,6 +28439,10 @@ declare const _default: {
28433
28439
  };
28434
28440
  type: string;
28435
28441
  };
28442
+ client_session_token: {
28443
+ description: string;
28444
+ type: string;
28445
+ };
28436
28446
  created_at: {
28437
28447
  description: string;
28438
28448
  format: string;
@@ -28530,6 +28540,10 @@ declare const _default: {
28530
28540
  format: string;
28531
28541
  type: string;
28532
28542
  };
28543
+ client_session_token: {
28544
+ description: string;
28545
+ type: string;
28546
+ };
28533
28547
  code: {
28534
28548
  description: string;
28535
28549
  type: string;
@@ -65101,6 +65115,9 @@ declare const _default: {
65101
65115
  };
65102
65116
  type: string;
65103
65117
  };
65118
+ is_draft: {
65119
+ type: string;
65120
+ };
65104
65121
  name: {
65105
65122
  type: string;
65106
65123
  };
@@ -65207,6 +65224,9 @@ declare const _default: {
65207
65224
  };
65208
65225
  type: string;
65209
65226
  };
65227
+ is_draft: {
65228
+ type: string;
65229
+ };
65210
65230
  name: {
65211
65231
  type: string;
65212
65232
  };
@@ -65308,14 +65328,22 @@ declare const _default: {
65308
65328
  pat_with_workspace: never[];
65309
65329
  console_session_with_workspace?: never;
65310
65330
  api_key?: never;
65331
+ client_session_with_customer?: never;
65311
65332
  } | {
65312
65333
  console_session_with_workspace: never[];
65313
65334
  pat_with_workspace?: never;
65314
65335
  api_key?: never;
65336
+ client_session_with_customer?: never;
65315
65337
  } | {
65316
65338
  api_key: never[];
65317
65339
  pat_with_workspace?: never;
65318
65340
  console_session_with_workspace?: never;
65341
+ client_session_with_customer?: never;
65342
+ } | {
65343
+ client_session_with_customer: never[];
65344
+ pat_with_workspace?: never;
65345
+ console_session_with_workspace?: never;
65346
+ api_key?: never;
65319
65347
  })[];
65320
65348
  summary: string;
65321
65349
  tags: never[];
@@ -65382,14 +65410,22 @@ declare const _default: {
65382
65410
  pat_with_workspace: never[];
65383
65411
  console_session_with_workspace?: never;
65384
65412
  api_key?: never;
65413
+ client_session_with_customer?: never;
65385
65414
  } | {
65386
65415
  console_session_with_workspace: never[];
65387
65416
  pat_with_workspace?: never;
65388
65417
  api_key?: never;
65418
+ client_session_with_customer?: never;
65389
65419
  } | {
65390
65420
  api_key: never[];
65391
65421
  pat_with_workspace?: never;
65392
65422
  console_session_with_workspace?: never;
65423
+ client_session_with_customer?: never;
65424
+ } | {
65425
+ client_session_with_customer: never[];
65426
+ pat_with_workspace?: never;
65427
+ console_session_with_workspace?: never;
65428
+ api_key?: never;
65393
65429
  })[];
65394
65430
  summary: string;
65395
65431
  tags: never[];
@@ -65458,14 +65494,22 @@ declare const _default: {
65458
65494
  pat_with_workspace: never[];
65459
65495
  console_session_with_workspace?: never;
65460
65496
  api_key?: never;
65497
+ client_session_with_customer?: never;
65461
65498
  } | {
65462
65499
  console_session_with_workspace: never[];
65463
65500
  pat_with_workspace?: never;
65464
65501
  api_key?: never;
65502
+ client_session_with_customer?: never;
65465
65503
  } | {
65466
65504
  api_key: never[];
65467
65505
  pat_with_workspace?: never;
65468
65506
  console_session_with_workspace?: never;
65507
+ client_session_with_customer?: never;
65508
+ } | {
65509
+ client_session_with_customer: never[];
65510
+ pat_with_workspace?: never;
65511
+ console_session_with_workspace?: never;
65512
+ api_key?: never;
65469
65513
  })[];
65470
65514
  summary: string;
65471
65515
  tags: never[];
@@ -65532,14 +65576,22 @@ declare const _default: {
65532
65576
  pat_with_workspace: never[];
65533
65577
  console_session_with_workspace?: never;
65534
65578
  api_key?: never;
65579
+ client_session_with_customer?: never;
65535
65580
  } | {
65536
65581
  console_session_with_workspace: never[];
65537
65582
  pat_with_workspace?: never;
65538
65583
  api_key?: never;
65584
+ client_session_with_customer?: never;
65539
65585
  } | {
65540
65586
  api_key: never[];
65541
65587
  pat_with_workspace?: never;
65542
65588
  console_session_with_workspace?: never;
65589
+ client_session_with_customer?: never;
65590
+ } | {
65591
+ client_session_with_customer: never[];
65592
+ pat_with_workspace?: never;
65593
+ console_session_with_workspace?: never;
65594
+ api_key?: never;
65543
65595
  })[];
65544
65596
  summary: string;
65545
65597
  tags: never[];
@@ -66150,6 +66202,20 @@ declare const _default: {
66150
66202
  description: string;
66151
66203
  minLength: number;
66152
66204
  type: string;
66205
+ format?: never;
66206
+ 'x-draft'?: never;
66207
+ 'x-undocumented'?: never;
66208
+ };
66209
+ } | {
66210
+ in: string;
66211
+ name: string;
66212
+ schema: {
66213
+ description: string;
66214
+ format: string;
66215
+ type: string;
66216
+ 'x-draft': string;
66217
+ 'x-undocumented': string;
66218
+ minLength?: never;
66153
66219
  };
66154
66220
  } | {
66155
66221
  in: string;
@@ -66158,6 +66224,9 @@ declare const _default: {
66158
66224
  description: string;
66159
66225
  type: string;
66160
66226
  minLength?: never;
66227
+ format?: never;
66228
+ 'x-draft'?: never;
66229
+ 'x-undocumented'?: never;
66161
66230
  };
66162
66231
  })[];
66163
66232
  responses: {
@@ -66228,6 +66297,13 @@ declare const _default: {
66228
66297
  'application/json': {
66229
66298
  schema: {
66230
66299
  properties: {
66300
+ connected_account_id: {
66301
+ description: string;
66302
+ format: string;
66303
+ type: string;
66304
+ 'x-draft': string;
66305
+ 'x-undocumented': string;
66306
+ };
66231
66307
  search: {
66232
66308
  description: string;
66233
66309
  minLength: number;
@@ -86818,6 +86894,8 @@ interface Routes {
86818
86894
  }>;
86819
86895
  /** IDs of the access methods created for the Access Grant. */
86820
86896
  access_method_ids: string[];
86897
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
86898
+ client_session_token?: string | undefined;
86821
86899
  /** Display name of the Access Grant. */
86822
86900
  display_name: string;
86823
86901
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -86885,6 +86963,8 @@ interface Routes {
86885
86963
  }>;
86886
86964
  /** IDs of the access methods created for the Access Grant. */
86887
86965
  access_method_ids: string[];
86966
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
86967
+ client_session_token?: string | undefined;
86888
86968
  /** Display name of the Access Grant. */
86889
86969
  display_name: string;
86890
86970
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -86947,6 +87027,8 @@ interface Routes {
86947
87027
  }>;
86948
87028
  /** IDs of the access methods created for the Access Grant. */
86949
87029
  access_method_ids: string[];
87030
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
87031
+ client_session_token?: string | undefined;
86950
87032
  /** Display name of the Access Grant. */
86951
87033
  display_name: string;
86952
87034
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -88275,6 +88357,8 @@ interface Routes {
88275
88357
  issued_at?: string | undefined;
88276
88358
  /** URL of the Instant Key for mobile key access methods. */
88277
88359
  instant_key_url?: string | undefined;
88360
+ /** Token of the client session associated with the access method. */
88361
+ client_session_token?: string | undefined;
88278
88362
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
88279
88363
  is_encoding_required?: boolean | undefined;
88280
88364
  /** The actual PIN code for code access methods. */
@@ -88314,6 +88398,8 @@ interface Routes {
88314
88398
  issued_at?: string | undefined;
88315
88399
  /** URL of the Instant Key for mobile key access methods. */
88316
88400
  instant_key_url?: string | undefined;
88401
+ /** Token of the client session associated with the access method. */
88402
+ client_session_token?: string | undefined;
88317
88403
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
88318
88404
  is_encoding_required?: boolean | undefined;
88319
88405
  /** The actual PIN code for code access methods. */
@@ -123376,6 +123462,7 @@ interface Routes {
123376
123462
  name: string;
123377
123463
  }>;
123378
123464
  needs_review?: boolean | undefined;
123465
+ is_draft?: boolean | undefined;
123379
123466
  }>;
123380
123467
  };
123381
123468
  };
@@ -124793,6 +124880,8 @@ interface Routes {
124793
124880
  commonParams: {
124794
124881
  /** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
124795
124882
  search?: string | undefined;
124883
+ /** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
124884
+ connected_account_id?: string | undefined;
124796
124885
  /** Filter spaces by space_key. */
124797
124886
  space_key?: string | undefined;
124798
124887
  };
@@ -140342,6 +140431,8 @@ interface Routes {
140342
140431
  }>;
140343
140432
  /** IDs of the access methods created for the Access Grant. */
140344
140433
  access_method_ids: string[];
140434
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
140435
+ client_session_token?: string | undefined;
140345
140436
  /** Display name of the Access Grant. */
140346
140437
  display_name: string;
140347
140438
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -140406,6 +140497,8 @@ interface Routes {
140406
140497
  }>;
140407
140498
  /** IDs of the access methods created for the Access Grant. */
140408
140499
  access_method_ids: string[];
140500
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
140501
+ client_session_token?: string | undefined;
140409
140502
  /** Display name of the Access Grant. */
140410
140503
  display_name: string;
140411
140504
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -140466,6 +140559,8 @@ interface Routes {
140466
140559
  }>;
140467
140560
  /** IDs of the access methods created for the Access Grant. */
140468
140561
  access_method_ids: string[];
140562
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
140563
+ client_session_token?: string | undefined;
140469
140564
  /** Display name of the Access Grant. */
140470
140565
  display_name: string;
140471
140566
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -140518,6 +140613,8 @@ interface Routes {
140518
140613
  issued_at?: string | undefined;
140519
140614
  /** URL of the Instant Key for mobile key access methods. */
140520
140615
  instant_key_url?: string | undefined;
140616
+ /** Token of the client session associated with the access method. */
140617
+ client_session_token?: string | undefined;
140521
140618
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
140522
140619
  is_encoding_required?: boolean | undefined;
140523
140620
  /** The actual PIN code for code access methods. */
@@ -140551,6 +140648,8 @@ interface Routes {
140551
140648
  issued_at?: string | undefined;
140552
140649
  /** URL of the Instant Key for mobile key access methods. */
140553
140650
  instant_key_url?: string | undefined;
140651
+ /** Token of the client session associated with the access method. */
140652
+ client_session_token?: string | undefined;
140554
140653
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
140555
140654
  is_encoding_required?: boolean | undefined;
140556
140655
  /** The actual PIN code for code access methods. */
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",
@@ -7220,6 +7224,10 @@ var openapi_default = {
7220
7224
  format: "uuid",
7221
7225
  type: "string"
7222
7226
  },
7227
+ client_session_token: {
7228
+ description: "Token of the client session associated with the access method.",
7229
+ type: "string"
7230
+ },
7223
7231
  code: {
7224
7232
  description: "The actual PIN code for code access methods.",
7225
7233
  type: "string"
@@ -48386,6 +48394,7 @@ var openapi_default = {
48386
48394
  },
48387
48395
  type: "array"
48388
48396
  },
48397
+ is_draft: { type: "boolean" },
48389
48398
  name: { type: "string" },
48390
48399
  needs_review: { type: "boolean" },
48391
48400
  partner_resource_key: { type: "string" }
@@ -48481,6 +48490,7 @@ var openapi_default = {
48481
48490
  },
48482
48491
  type: "array"
48483
48492
  },
48493
+ is_draft: { type: "boolean" },
48484
48494
  name: { type: "string" },
48485
48495
  needs_review: { type: "boolean" },
48486
48496
  partner_resource_key: { type: "string" }
@@ -48569,7 +48579,8 @@ var openapi_default = {
48569
48579
  security: [
48570
48580
  { pat_with_workspace: [] },
48571
48581
  { console_session_with_workspace: [] },
48572
- { api_key: [] }
48582
+ { api_key: [] },
48583
+ { client_session_with_customer: [] }
48573
48584
  ],
48574
48585
  summary: "/spaces/add_acs_entrances",
48575
48586
  tags: [],
@@ -48624,7 +48635,8 @@ var openapi_default = {
48624
48635
  security: [
48625
48636
  { pat_with_workspace: [] },
48626
48637
  { console_session_with_workspace: [] },
48627
- { api_key: [] }
48638
+ { api_key: [] },
48639
+ { client_session_with_customer: [] }
48628
48640
  ],
48629
48641
  summary: "/spaces/add_acs_entrances",
48630
48642
  tags: [],
@@ -48681,7 +48693,8 @@ var openapi_default = {
48681
48693
  security: [
48682
48694
  { pat_with_workspace: [] },
48683
48695
  { console_session_with_workspace: [] },
48684
- { api_key: [] }
48696
+ { api_key: [] },
48697
+ { client_session_with_customer: [] }
48685
48698
  ],
48686
48699
  summary: "/spaces/add_devices",
48687
48700
  tags: [],
@@ -48736,7 +48749,8 @@ var openapi_default = {
48736
48749
  security: [
48737
48750
  { pat_with_workspace: [] },
48738
48751
  { console_session_with_workspace: [] },
48739
- { api_key: [] }
48752
+ { api_key: [] },
48753
+ { client_session_with_customer: [] }
48740
48754
  ],
48741
48755
  summary: "/spaces/add_devices",
48742
48756
  tags: [],
@@ -49218,6 +49232,17 @@ var openapi_default = {
49218
49232
  type: "string"
49219
49233
  }
49220
49234
  },
49235
+ {
49236
+ in: "query",
49237
+ name: "connected_account_id",
49238
+ schema: {
49239
+ description: "Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.",
49240
+ format: "uuid",
49241
+ type: "string",
49242
+ "x-draft": "Needs review.",
49243
+ "x-undocumented": "Only used internally."
49244
+ }
49245
+ },
49221
49246
  {
49222
49247
  in: "query",
49223
49248
  name: "space_key",
@@ -49272,6 +49297,13 @@ var openapi_default = {
49272
49297
  "application/json": {
49273
49298
  schema: {
49274
49299
  properties: {
49300
+ connected_account_id: {
49301
+ description: "Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.",
49302
+ format: "uuid",
49303
+ type: "string",
49304
+ "x-draft": "Needs review.",
49305
+ "x-undocumented": "Only used internally."
49306
+ },
49275
49307
  search: {
49276
49308
  description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
49277
49309
  minLength: 1,