@seamapi/types 1.533.0 → 1.535.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.
@@ -3701,7 +3701,7 @@ declare const access_method: z.ZodObject<{
3701
3701
  instant_key_url: z.ZodOptional<z.ZodString>;
3702
3702
  client_session_token: z.ZodOptional<z.ZodString>;
3703
3703
  is_encoding_required: z.ZodOptional<z.ZodBoolean>;
3704
- code: z.ZodOptional<z.ZodString>;
3704
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3705
3705
  customization_profile_id: z.ZodOptional<z.ZodString>;
3706
3706
  }, "strip", z.ZodTypeAny, {
3707
3707
  display_name: string;
@@ -3711,7 +3711,7 @@ declare const access_method: z.ZodObject<{
3711
3711
  access_method_id: string;
3712
3712
  issued_at: string | null;
3713
3713
  is_issued: boolean;
3714
- code?: string | undefined;
3714
+ code?: string | null | undefined;
3715
3715
  client_session_token?: string | undefined;
3716
3716
  instant_key_url?: string | undefined;
3717
3717
  customization_profile_id?: string | undefined;
@@ -3724,7 +3724,7 @@ declare const access_method: z.ZodObject<{
3724
3724
  access_method_id: string;
3725
3725
  issued_at: string | null;
3726
3726
  is_issued: boolean;
3727
- code?: string | undefined;
3727
+ code?: string | null | undefined;
3728
3728
  client_session_token?: string | undefined;
3729
3729
  instant_key_url?: string | undefined;
3730
3730
  customization_profile_id?: string | undefined;
@@ -24314,7 +24314,7 @@ declare const batch: z.ZodObject<{
24314
24314
  instant_key_url: z.ZodOptional<z.ZodString>;
24315
24315
  client_session_token: z.ZodOptional<z.ZodString>;
24316
24316
  is_encoding_required: z.ZodOptional<z.ZodBoolean>;
24317
- code: z.ZodOptional<z.ZodString>;
24317
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24318
24318
  customization_profile_id: z.ZodOptional<z.ZodString>;
24319
24319
  }, "strip", z.ZodTypeAny, {
24320
24320
  display_name: string;
@@ -24324,7 +24324,7 @@ declare const batch: z.ZodObject<{
24324
24324
  access_method_id: string;
24325
24325
  issued_at: string | null;
24326
24326
  is_issued: boolean;
24327
- code?: string | undefined;
24327
+ code?: string | null | undefined;
24328
24328
  client_session_token?: string | undefined;
24329
24329
  instant_key_url?: string | undefined;
24330
24330
  customization_profile_id?: string | undefined;
@@ -24337,7 +24337,7 @@ declare const batch: z.ZodObject<{
24337
24337
  access_method_id: string;
24338
24338
  issued_at: string | null;
24339
24339
  is_issued: boolean;
24340
- code?: string | undefined;
24340
+ code?: string | null | undefined;
24341
24341
  client_session_token?: string | undefined;
24342
24342
  instant_key_url?: string | undefined;
24343
24343
  customization_profile_id?: string | undefined;
@@ -31466,7 +31466,7 @@ declare const batch: z.ZodObject<{
31466
31466
  access_method_id: string;
31467
31467
  issued_at: string | null;
31468
31468
  is_issued: boolean;
31469
- code?: string | undefined;
31469
+ code?: string | null | undefined;
31470
31470
  client_session_token?: string | undefined;
31471
31471
  instant_key_url?: string | undefined;
31472
31472
  customization_profile_id?: string | undefined;
@@ -35323,7 +35323,7 @@ declare const batch: z.ZodObject<{
35323
35323
  access_method_id: string;
35324
35324
  issued_at: string | null;
35325
35325
  is_issued: boolean;
35326
- code?: string | undefined;
35326
+ code?: string | null | undefined;
35327
35327
  client_session_token?: string | undefined;
35328
35328
  instant_key_url?: string | undefined;
35329
35329
  customization_profile_id?: string | undefined;
@@ -51206,6 +51206,7 @@ declare const _default: {
51206
51206
  };
51207
51207
  code: {
51208
51208
  description: string;
51209
+ nullable: boolean;
51209
51210
  type: string;
51210
51211
  };
51211
51212
  created_at: {
@@ -73994,16 +73995,6 @@ declare const _default: {
73994
73995
  'application/json': {
73995
73996
  schema: {
73996
73997
  properties: {
73997
- access_grant_id: {
73998
- description: string;
73999
- format: string;
74000
- type: string;
74001
- };
74002
- access_method_id: {
74003
- description: string;
74004
- format: string;
74005
- type: string;
74006
- };
74007
73998
  acs_credential_id: {
74008
73999
  description: string;
74009
74000
  format: string;
@@ -82032,11 +82023,6 @@ declare const _default: {
82032
82023
  'application/json': {
82033
82024
  schema: {
82034
82025
  properties: {
82035
- access_method_id: {
82036
- description: string;
82037
- format: string;
82038
- type: string;
82039
- };
82040
82026
  connect_webview_id: {
82041
82027
  description: string;
82042
82028
  format: string;
@@ -83293,11 +83279,6 @@ declare const _default: {
83293
83279
  'application/json': {
83294
83280
  schema: {
83295
83281
  properties: {
83296
- access_method_id: {
83297
- description: string;
83298
- format: string;
83299
- type: string;
83300
- };
83301
83282
  connect_webview_id: {
83302
83283
  description: string;
83303
83284
  format: string;
@@ -85277,11 +85258,6 @@ declare const _default: {
85277
85258
  'application/json': {
85278
85259
  schema: {
85279
85260
  properties: {
85280
- access_method_id: {
85281
- description: string;
85282
- format: string;
85283
- type: string;
85284
- };
85285
85261
  connect_webview_id: {
85286
85262
  description: string;
85287
85263
  format: string;
@@ -86083,11 +86059,6 @@ declare const _default: {
86083
86059
  'application/json': {
86084
86060
  schema: {
86085
86061
  properties: {
86086
- access_method_id: {
86087
- description: string;
86088
- format: string;
86089
- type: string;
86090
- };
86091
86062
  connect_webview_id: {
86092
86063
  description: string;
86093
86064
  format: string;
@@ -94192,11 +94163,6 @@ declare const _default: {
94192
94163
  'application/json': {
94193
94164
  schema: {
94194
94165
  properties: {
94195
- access_method_id: {
94196
- description: string;
94197
- format: string;
94198
- type: string;
94199
- };
94200
94166
  connect_webview_id: {
94201
94167
  description: string;
94202
94168
  format: string;
@@ -114605,7 +114571,7 @@ type Routes = {
114605
114571
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
114606
114572
  is_encoding_required?: boolean | undefined;
114607
114573
  /** The actual PIN code for code access methods. */
114608
- code?: string | undefined;
114574
+ code?: (string | null) | undefined;
114609
114575
  /** ID of the customization profile associated with the access method. */
114610
114576
  customization_profile_id?: string | undefined;
114611
114577
  };
@@ -118620,7 +118586,7 @@ type Routes = {
118620
118586
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
118621
118587
  is_encoding_required?: boolean | undefined;
118622
118588
  /** The actual PIN code for code access methods. */
118623
- code?: string | undefined;
118589
+ code?: (string | null) | undefined;
118624
118590
  /** ID of the customization profile associated with the access method. */
118625
118591
  customization_profile_id?: string | undefined;
118626
118592
  }[] | undefined;
@@ -121662,7 +121628,7 @@ type Routes = {
121662
121628
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
121663
121629
  is_encoding_required?: boolean | undefined;
121664
121630
  /** The actual PIN code for code access methods. */
121665
- code?: string | undefined;
121631
+ code?: (string | null) | undefined;
121666
121632
  /** ID of the customization profile associated with the access method. */
121667
121633
  customization_profile_id?: string | undefined;
121668
121634
  }[];
@@ -126743,10 +126709,6 @@ type Routes = {
126743
126709
  location_id?: (string | null) | undefined;
126744
126710
  /** ID of the space for which you want to list entrances. */
126745
126711
  space_id?: string | undefined;
126746
- /** ID of the access grant for which you want to retrieve all entrances. */
126747
- access_grant_id?: string | undefined;
126748
- /** ID of the access method for which you want to retrieve all entrances. */
126749
- access_method_id?: string | undefined;
126750
126712
  /** ID of the connected account for which you want to retrieve all entrances. */
126751
126713
  connected_account_id?: string | undefined;
126752
126714
  /** IDs of the entrances for which you want to retrieve all entrances. */
@@ -134292,8 +134254,6 @@ type Routes = {
134292
134254
  space_id?: string | undefined;
134293
134255
  /** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
134294
134256
  search?: string | undefined;
134295
- /** ID of the access method for which you want to retrieve all devices. */
134296
- access_method_id?: string | undefined;
134297
134257
  };
134298
134258
  formData: {};
134299
134259
  jsonResponse: {
@@ -136039,8 +135999,6 @@ type Routes = {
136039
135999
  space_id?: string | undefined;
136040
136000
  /** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
136041
136001
  search?: string | undefined;
136042
- /** ID of the access method for which you want to retrieve all devices. */
136043
- access_method_id?: string | undefined;
136044
136002
  };
136045
136003
  formData: {};
136046
136004
  jsonResponse: {
@@ -142754,8 +142712,6 @@ type Routes = {
142754
142712
  space_id?: string | undefined;
142755
142713
  /** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
142756
142714
  search?: string | undefined;
142757
- /** ID of the access method for which you want to retrieve all devices. */
142758
- access_method_id?: string | undefined;
142759
142715
  };
142760
142716
  formData: {};
142761
142717
  jsonResponse: {
@@ -150188,8 +150144,6 @@ type Routes = {
150188
150144
  space_id?: string | undefined;
150189
150145
  /** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
150190
150146
  search?: string | undefined;
150191
- /** ID of the access method for which you want to retrieve all devices. */
150192
- access_method_id?: string | undefined;
150193
150147
  };
150194
150148
  formData: {};
150195
150149
  jsonResponse: {
@@ -169149,8 +169103,6 @@ type Routes = {
169149
169103
  space_id?: string | undefined;
169150
169104
  /** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
169151
169105
  search?: string | undefined;
169152
- /** ID of the access method for which you want to retrieve all devices. */
169153
- access_method_id?: string | undefined;
169154
169106
  };
169155
169107
  formData: {};
169156
169108
  jsonResponse: {
@@ -184450,7 +184402,7 @@ type Routes = {
184450
184402
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
184451
184403
  is_encoding_required?: boolean | undefined;
184452
184404
  /** The actual PIN code for code access methods. */
184453
- code?: string | undefined;
184405
+ code?: (string | null) | undefined;
184454
184406
  /** ID of the customization profile associated with the access method. */
184455
184407
  customization_profile_id?: string | undefined;
184456
184408
  }[] | undefined;
package/dist/index.cjs CHANGED
@@ -2334,7 +2334,7 @@ var access_method = zod.z.object({
2334
2334
  is_encoding_required: zod.z.boolean().optional().describe(
2335
2335
  "Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method."
2336
2336
  ),
2337
- code: zod.z.string().optional().describe("The actual PIN code for code access methods."),
2337
+ code: zod.z.string().nullable().optional().describe("The actual PIN code for code access methods."),
2338
2338
  customization_profile_id: zod.z.string().uuid().optional().describe(
2339
2339
  "ID of the customization profile associated with the access method."
2340
2340
  )
@@ -7295,6 +7295,7 @@ var openapi_default = {
7295
7295
  },
7296
7296
  code: {
7297
7297
  description: "The actual PIN code for code access methods.",
7298
+ nullable: true,
7298
7299
  type: "string"
7299
7300
  },
7300
7301
  created_at: {
@@ -35900,24 +35901,6 @@ var openapi_default = {
35900
35901
  type: "string"
35901
35902
  }
35902
35903
  },
35903
- {
35904
- in: "query",
35905
- name: "access_grant_id",
35906
- schema: {
35907
- description: "ID of the access grant for which you want to retrieve all entrances.",
35908
- format: "uuid",
35909
- type: "string"
35910
- }
35911
- },
35912
- {
35913
- in: "query",
35914
- name: "access_method_id",
35915
- schema: {
35916
- description: "ID of the access method for which you want to retrieve all entrances.",
35917
- format: "uuid",
35918
- type: "string"
35919
- }
35920
- },
35921
35904
  {
35922
35905
  in: "query",
35923
35906
  name: "connected_account_id",
@@ -36012,16 +35995,6 @@ var openapi_default = {
36012
35995
  "application/json": {
36013
35996
  schema: {
36014
35997
  properties: {
36015
- access_grant_id: {
36016
- description: "ID of the access grant for which you want to retrieve all entrances.",
36017
- format: "uuid",
36018
- type: "string"
36019
- },
36020
- access_method_id: {
36021
- description: "ID of the access method for which you want to retrieve all entrances.",
36022
- format: "uuid",
36023
- type: "string"
36024
- },
36025
35998
  acs_credential_id: {
36026
35999
  description: "ID of the credential for which you want to retrieve all entrances.",
36027
36000
  format: "uuid",
@@ -42791,15 +42764,6 @@ var openapi_default = {
42791
42764
  minLength: 1,
42792
42765
  type: "string"
42793
42766
  }
42794
- },
42795
- {
42796
- in: "query",
42797
- name: "access_method_id",
42798
- schema: {
42799
- description: "ID of the access method for which you want to retrieve all devices.",
42800
- format: "uuid",
42801
- type: "string"
42802
- }
42803
42767
  }
42804
42768
  ],
42805
42769
  responses: {
@@ -42848,11 +42812,6 @@ var openapi_default = {
42848
42812
  "application/json": {
42849
42813
  schema: {
42850
42814
  properties: {
42851
- access_method_id: {
42852
- description: "ID of the access method for which you want to retrieve all devices.",
42853
- format: "uuid",
42854
- type: "string"
42855
- },
42856
42815
  connect_webview_id: {
42857
42816
  description: "ID of the Connect Webview for which you want to list devices.",
42858
42817
  format: "uuid",
@@ -44083,15 +44042,6 @@ var openapi_default = {
44083
44042
  minLength: 1,
44084
44043
  type: "string"
44085
44044
  }
44086
- },
44087
- {
44088
- in: "query",
44089
- name: "access_method_id",
44090
- schema: {
44091
- description: "ID of the access method for which you want to retrieve all devices.",
44092
- format: "uuid",
44093
- type: "string"
44094
- }
44095
44045
  }
44096
44046
  ],
44097
44047
  responses: {
@@ -44137,11 +44087,6 @@ var openapi_default = {
44137
44087
  "application/json": {
44138
44088
  schema: {
44139
44089
  properties: {
44140
- access_method_id: {
44141
- description: "ID of the access method for which you want to retrieve all devices.",
44142
- format: "uuid",
44143
- type: "string"
44144
- },
44145
44090
  connect_webview_id: {
44146
44091
  description: "ID of the Connect Webview for which you want to list devices.",
44147
44092
  format: "uuid",
@@ -46323,15 +46268,6 @@ var openapi_default = {
46323
46268
  minLength: 1,
46324
46269
  type: "string"
46325
46270
  }
46326
- },
46327
- {
46328
- in: "query",
46329
- name: "access_method_id",
46330
- schema: {
46331
- description: "ID of the access method for which you want to retrieve all devices.",
46332
- format: "uuid",
46333
- type: "string"
46334
- }
46335
46271
  }
46336
46272
  ],
46337
46273
  responses: {
@@ -46382,11 +46318,6 @@ var openapi_default = {
46382
46318
  "application/json": {
46383
46319
  schema: {
46384
46320
  properties: {
46385
- access_method_id: {
46386
- description: "ID of the access method for which you want to retrieve all devices.",
46387
- format: "uuid",
46388
- type: "string"
46389
- },
46390
46321
  connect_webview_id: {
46391
46322
  description: "ID of the Connect Webview for which you want to list devices.",
46392
46323
  format: "uuid",
@@ -47115,15 +47046,6 @@ var openapi_default = {
47115
47046
  minLength: 1,
47116
47047
  type: "string"
47117
47048
  }
47118
- },
47119
- {
47120
- in: "query",
47121
- name: "access_method_id",
47122
- schema: {
47123
- description: "ID of the access method for which you want to retrieve all devices.",
47124
- format: "uuid",
47125
- type: "string"
47126
- }
47127
47049
  }
47128
47050
  ],
47129
47051
  responses: {
@@ -47174,11 +47096,6 @@ var openapi_default = {
47174
47096
  "application/json": {
47175
47097
  schema: {
47176
47098
  properties: {
47177
- access_method_id: {
47178
- description: "ID of the access method for which you want to retrieve all devices.",
47179
- format: "uuid",
47180
- type: "string"
47181
- },
47182
47099
  connect_webview_id: {
47183
47100
  description: "ID of the Connect Webview for which you want to list devices.",
47184
47101
  format: "uuid",
@@ -54149,15 +54066,6 @@ var openapi_default = {
54149
54066
  minLength: 1,
54150
54067
  type: "string"
54151
54068
  }
54152
- },
54153
- {
54154
- in: "query",
54155
- name: "access_method_id",
54156
- schema: {
54157
- description: "ID of the access method for which you want to retrieve all devices.",
54158
- format: "uuid",
54159
- type: "string"
54160
- }
54161
54069
  }
54162
54070
  ],
54163
54071
  responses: {
@@ -54208,11 +54116,6 @@ var openapi_default = {
54208
54116
  "application/json": {
54209
54117
  schema: {
54210
54118
  properties: {
54211
- access_method_id: {
54212
- description: "ID of the access method for which you want to retrieve all devices.",
54213
- format: "uuid",
54214
- type: "string"
54215
- },
54216
54119
  connect_webview_id: {
54217
54120
  description: "ID of the Connect Webview for which you want to list devices.",
54218
54121
  format: "uuid",