@seamapi/types 1.441.1 → 1.442.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.
@@ -3691,12 +3691,14 @@ declare const access_method: z.ZodObject<{
3691
3691
  issued_at: z.ZodOptional<z.ZodString>;
3692
3692
  instant_key_url: z.ZodOptional<z.ZodString>;
3693
3693
  is_encoding_required: z.ZodOptional<z.ZodBoolean>;
3694
+ code: z.ZodOptional<z.ZodString>;
3694
3695
  }, "strip", z.ZodTypeAny, {
3695
3696
  display_name: string;
3696
3697
  workspace_id: string;
3697
3698
  created_at: string;
3698
3699
  mode: "code" | "card" | "mobile_key";
3699
3700
  access_method_id: string;
3701
+ code?: string | undefined;
3700
3702
  instant_key_url?: string | undefined;
3701
3703
  issued_at?: string | undefined;
3702
3704
  is_encoding_required?: boolean | undefined;
@@ -3706,6 +3708,7 @@ declare const access_method: z.ZodObject<{
3706
3708
  created_at: string;
3707
3709
  mode: "code" | "card" | "mobile_key";
3708
3710
  access_method_id: string;
3711
+ code?: string | undefined;
3709
3712
  instant_key_url?: string | undefined;
3710
3713
  issued_at?: string | undefined;
3711
3714
  is_encoding_required?: boolean | undefined;
@@ -28500,6 +28503,10 @@ declare const _default: {
28500
28503
  format: string;
28501
28504
  type: string;
28502
28505
  };
28506
+ code: {
28507
+ description: string;
28508
+ type: string;
28509
+ };
28503
28510
  created_at: {
28504
28511
  description: string;
28505
28512
  format: string;
@@ -49653,6 +49660,7 @@ declare const _default: {
49653
49660
  nullable?: never;
49654
49661
  'x-deprecated'?: never;
49655
49662
  items?: never;
49663
+ minLength?: never;
49656
49664
  };
49657
49665
  } | {
49658
49666
  in: string;
@@ -49665,6 +49673,7 @@ declare const _default: {
49665
49673
  'x-deprecated': string;
49666
49674
  description?: never;
49667
49675
  items?: never;
49676
+ minLength?: never;
49668
49677
  };
49669
49678
  } | {
49670
49679
  in: string;
@@ -49680,6 +49689,20 @@ declare const _default: {
49680
49689
  deprecated?: never;
49681
49690
  nullable?: never;
49682
49691
  'x-deprecated'?: never;
49692
+ minLength?: never;
49693
+ };
49694
+ } | {
49695
+ in: string;
49696
+ name: string;
49697
+ schema: {
49698
+ description: string;
49699
+ minLength: number;
49700
+ type: string;
49701
+ format?: never;
49702
+ deprecated?: never;
49703
+ nullable?: never;
49704
+ 'x-deprecated'?: never;
49705
+ items?: never;
49683
49706
  };
49684
49707
  })[];
49685
49708
  responses: {
@@ -49789,6 +49812,11 @@ declare const _default: {
49789
49812
  type: string;
49790
49813
  'x-deprecated': string;
49791
49814
  };
49815
+ search: {
49816
+ description: string;
49817
+ minLength: number;
49818
+ type: string;
49819
+ };
49792
49820
  space_id: {
49793
49821
  description: string;
49794
49822
  format: string;
@@ -66039,6 +66067,15 @@ declare const _default: {
66039
66067
  get: {
66040
66068
  description: string;
66041
66069
  operationId: string;
66070
+ parameters: {
66071
+ in: string;
66072
+ name: string;
66073
+ schema: {
66074
+ description: string;
66075
+ minLength: number;
66076
+ type: string;
66077
+ };
66078
+ }[];
66042
66079
  responses: {
66043
66080
  200: {
66044
66081
  content: {
@@ -66094,6 +66131,22 @@ declare const _default: {
66094
66131
  post: {
66095
66132
  description: string;
66096
66133
  operationId: string;
66134
+ requestBody: {
66135
+ content: {
66136
+ 'application/json': {
66137
+ schema: {
66138
+ properties: {
66139
+ search: {
66140
+ description: string;
66141
+ minLength: number;
66142
+ type: string;
66143
+ };
66144
+ };
66145
+ type: string;
66146
+ };
66147
+ };
66148
+ };
66149
+ };
66097
66150
  responses: {
66098
66151
  200: {
66099
66152
  content: {
@@ -88102,6 +88155,8 @@ interface Routes {
88102
88155
  instant_key_url?: string | undefined;
88103
88156
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
88104
88157
  is_encoding_required?: boolean | undefined;
88158
+ /** The actual PIN code for code access methods. */
88159
+ code?: string | undefined;
88105
88160
  };
88106
88161
  };
88107
88162
  };
@@ -88133,6 +88188,8 @@ interface Routes {
88133
88188
  instant_key_url?: string | undefined;
88134
88189
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
88135
88190
  is_encoding_required?: boolean | undefined;
88191
+ /** The actual PIN code for code access methods. */
88192
+ code?: string | undefined;
88136
88193
  }>;
88137
88194
  };
88138
88195
  };
@@ -93145,6 +93202,8 @@ interface Routes {
93145
93202
  connected_account_id?: string | undefined;
93146
93203
  /** IDs of the entrances for which you want to retrieve all entrances. */
93147
93204
  acs_entrance_ids?: string[] | undefined;
93205
+ /** String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`. */
93206
+ search?: string | undefined;
93148
93207
  };
93149
93208
  formData: {};
93150
93209
  jsonResponse: {
@@ -124563,7 +124622,10 @@ interface Routes {
124563
124622
  method: 'GET' | 'POST';
124564
124623
  queryParams: {};
124565
124624
  jsonBody: {};
124566
- commonParams: {};
124625
+ commonParams: {
124626
+ /** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
124627
+ search?: string | undefined;
124628
+ };
124567
124629
  formData: {};
124568
124630
  jsonResponse: {
124569
124631
  spaces: Array<{
@@ -140268,6 +140330,8 @@ interface Routes {
140268
140330
  instant_key_url?: string | undefined;
140269
140331
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
140270
140332
  is_encoding_required?: boolean | undefined;
140333
+ /** The actual PIN code for code access methods. */
140334
+ code?: string | undefined;
140271
140335
  };
140272
140336
  };
140273
140337
  };
@@ -140299,6 +140363,8 @@ interface Routes {
140299
140363
  instant_key_url?: string | undefined;
140300
140364
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
140301
140365
  is_encoding_required?: boolean | undefined;
140366
+ /** The actual PIN code for code access methods. */
140367
+ code?: string | undefined;
140302
140368
  }>;
140303
140369
  };
140304
140370
  };
package/dist/index.cjs CHANGED
@@ -7206,6 +7206,10 @@ var openapi_default = {
7206
7206
  format: "uuid",
7207
7207
  type: "string"
7208
7208
  },
7209
+ code: {
7210
+ description: "The actual PIN code for code access methods.",
7211
+ type: "string"
7212
+ },
7209
7213
  created_at: {
7210
7214
  description: "Date and time at which the access method was created.",
7211
7215
  format: "date-time",
@@ -34623,6 +34627,15 @@ var openapi_default = {
34623
34627
  items: { format: "uuid", type: "string" },
34624
34628
  type: "array"
34625
34629
  }
34630
+ },
34631
+ {
34632
+ in: "query",
34633
+ name: "search",
34634
+ schema: {
34635
+ description: "String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.",
34636
+ minLength: 1,
34637
+ type: "string"
34638
+ }
34626
34639
  }
34627
34640
  ],
34628
34641
  responses: {
@@ -34706,6 +34719,11 @@ var openapi_default = {
34706
34719
  type: "string",
34707
34720
  "x-deprecated": "Use `space_id`."
34708
34721
  },
34722
+ search: {
34723
+ description: "String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.",
34724
+ minLength: 1,
34725
+ type: "string"
34726
+ },
34709
34727
  space_id: {
34710
34728
  description: "ID of the space for which you want to list entrances.",
34711
34729
  format: "uuid",
@@ -49019,6 +49037,17 @@ var openapi_default = {
49019
49037
  get: {
49020
49038
  description: "Returns a list of all spaces.",
49021
49039
  operationId: "spacesListGet",
49040
+ parameters: [
49041
+ {
49042
+ in: "query",
49043
+ name: "search",
49044
+ schema: {
49045
+ description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
49046
+ minLength: 1,
49047
+ type: "string"
49048
+ }
49049
+ }
49050
+ ],
49022
49051
  responses: {
49023
49052
  200: {
49024
49053
  content: {
@@ -49058,6 +49087,22 @@ var openapi_default = {
49058
49087
  post: {
49059
49088
  description: "Returns a list of all spaces.",
49060
49089
  operationId: "spacesListPost",
49090
+ requestBody: {
49091
+ content: {
49092
+ "application/json": {
49093
+ schema: {
49094
+ properties: {
49095
+ search: {
49096
+ description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
49097
+ minLength: 1,
49098
+ type: "string"
49099
+ }
49100
+ },
49101
+ type: "object"
49102
+ }
49103
+ }
49104
+ }
49105
+ },
49061
49106
  responses: {
49062
49107
  200: {
49063
49108
  content: {