@seamapi/types 1.781.0 → 1.783.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.
@@ -12181,6 +12181,7 @@ declare const batch: z.ZodObject<{
12181
12181
  created_at: z.ZodString;
12182
12182
  device_count: z.ZodNumber;
12183
12183
  acs_entrance_count: z.ZodNumber;
12184
+ customer_key: z.ZodOptional<z.ZodString>;
12184
12185
  parent_space_id: z.ZodOptional<z.ZodString>;
12185
12186
  parent_space_key: z.ZodOptional<z.ZodString>;
12186
12187
  }, "strip", z.ZodTypeAny, {
@@ -12191,6 +12192,7 @@ declare const batch: z.ZodObject<{
12191
12192
  device_count: number;
12192
12193
  space_id: string;
12193
12194
  acs_entrance_count: number;
12195
+ customer_key?: string | undefined;
12194
12196
  space_key?: string | undefined;
12195
12197
  parent_space_id?: string | undefined;
12196
12198
  parent_space_key?: string | undefined;
@@ -12202,6 +12204,7 @@ declare const batch: z.ZodObject<{
12202
12204
  device_count: number;
12203
12205
  space_id: string;
12204
12206
  acs_entrance_count: number;
12207
+ customer_key?: string | undefined;
12205
12208
  space_key?: string | undefined;
12206
12209
  parent_space_id?: string | undefined;
12207
12210
  parent_space_key?: string | undefined;
@@ -37507,6 +37510,7 @@ declare const batch: z.ZodObject<{
37507
37510
  device_count: number;
37508
37511
  space_id: string;
37509
37512
  acs_entrance_count: number;
37513
+ customer_key?: string | undefined;
37510
37514
  space_key?: string | undefined;
37511
37515
  parent_space_id?: string | undefined;
37512
37516
  parent_space_key?: string | undefined;
@@ -42380,6 +42384,7 @@ declare const batch: z.ZodObject<{
42380
42384
  device_count: number;
42381
42385
  space_id: string;
42382
42386
  acs_entrance_count: number;
42387
+ customer_key?: string | undefined;
42383
42388
  space_key?: string | undefined;
42384
42389
  parent_space_id?: string | undefined;
42385
42390
  parent_space_key?: string | undefined;
@@ -62095,6 +62100,7 @@ declare const space: z.ZodObject<{
62095
62100
  created_at: z.ZodString;
62096
62101
  device_count: z.ZodNumber;
62097
62102
  acs_entrance_count: z.ZodNumber;
62103
+ customer_key: z.ZodOptional<z.ZodString>;
62098
62104
  parent_space_id: z.ZodOptional<z.ZodString>;
62099
62105
  parent_space_key: z.ZodOptional<z.ZodString>;
62100
62106
  }, "strip", z.ZodTypeAny, {
@@ -62105,6 +62111,7 @@ declare const space: z.ZodObject<{
62105
62111
  device_count: number;
62106
62112
  space_id: string;
62107
62113
  acs_entrance_count: number;
62114
+ customer_key?: string | undefined;
62108
62115
  space_key?: string | undefined;
62109
62116
  parent_space_id?: string | undefined;
62110
62117
  parent_space_key?: string | undefined;
@@ -62116,6 +62123,7 @@ declare const space: z.ZodObject<{
62116
62123
  device_count: number;
62117
62124
  space_id: string;
62118
62125
  acs_entrance_count: number;
62126
+ customer_key?: string | undefined;
62119
62127
  space_key?: string | undefined;
62120
62128
  parent_space_id?: string | undefined;
62121
62129
  parent_space_key?: string | undefined;
@@ -78876,6 +78884,10 @@ declare const _default: {
78876
78884
  format: string;
78877
78885
  type: string;
78878
78886
  };
78887
+ customer_key: {
78888
+ description: string;
78889
+ type: string;
78890
+ };
78879
78891
  device_count: {
78880
78892
  description: string;
78881
78893
  format: string;
@@ -124960,6 +124972,8 @@ declare const _default: {
124960
124972
  format?: never;
124961
124973
  'x-draft'?: never;
124962
124974
  'x-undocumented'?: never;
124975
+ default?: never;
124976
+ nullable?: never;
124963
124977
  };
124964
124978
  } | {
124965
124979
  in: string;
@@ -124971,6 +124985,8 @@ declare const _default: {
124971
124985
  format?: never;
124972
124986
  'x-draft'?: never;
124973
124987
  'x-undocumented'?: never;
124988
+ default?: never;
124989
+ nullable?: never;
124974
124990
  };
124975
124991
  } | {
124976
124992
  in: string;
@@ -124982,6 +124998,34 @@ declare const _default: {
124982
124998
  'x-draft': string;
124983
124999
  'x-undocumented': string;
124984
125000
  minLength?: never;
125001
+ default?: never;
125002
+ nullable?: never;
125003
+ };
125004
+ } | {
125005
+ in: string;
125006
+ name: string;
125007
+ schema: {
125008
+ default: number;
125009
+ description: string;
125010
+ format: string;
125011
+ type: string;
125012
+ minLength?: never;
125013
+ 'x-draft'?: never;
125014
+ 'x-undocumented'?: never;
125015
+ nullable?: never;
125016
+ };
125017
+ } | {
125018
+ in: string;
125019
+ name: string;
125020
+ schema: {
125021
+ description: string;
125022
+ nullable: boolean;
125023
+ type: string;
125024
+ minLength?: never;
125025
+ format?: never;
125026
+ 'x-draft'?: never;
125027
+ 'x-undocumented'?: never;
125028
+ default?: never;
124985
125029
  };
124986
125030
  })[];
124987
125031
  responses: {
@@ -124993,6 +125037,9 @@ declare const _default: {
124993
125037
  ok: {
124994
125038
  type: string;
124995
125039
  };
125040
+ pagination: {
125041
+ $ref: string;
125042
+ };
124996
125043
  spaces: {
124997
125044
  items: {
124998
125045
  $ref: string;
@@ -125063,6 +125110,17 @@ declare const _default: {
125063
125110
  description: string;
125064
125111
  type: string;
125065
125112
  };
125113
+ limit: {
125114
+ default: number;
125115
+ description: string;
125116
+ format: string;
125117
+ type: string;
125118
+ };
125119
+ page_cursor: {
125120
+ description: string;
125121
+ nullable: boolean;
125122
+ type: string;
125123
+ };
125066
125124
  search: {
125067
125125
  description: string;
125068
125126
  minLength: number;
@@ -125087,6 +125145,9 @@ declare const _default: {
125087
125145
  ok: {
125088
125146
  type: string;
125089
125147
  };
125148
+ pagination: {
125149
+ $ref: string;
125150
+ };
125090
125151
  spaces: {
125091
125152
  items: {
125092
125153
  $ref: string;
@@ -146635,6 +146696,8 @@ type Routes = {
146635
146696
  device_count: number;
146636
146697
  /** Number of entrances in the space. */
146637
146698
  acs_entrance_count: number;
146699
+ /** Customer key associated with the space. */
146700
+ customer_key?: string | undefined;
146638
146701
  /** */
146639
146702
  parent_space_id?: string | undefined;
146640
146703
  /** */
@@ -150951,6 +151014,8 @@ type Routes = {
150951
151014
  device_count: number;
150952
151015
  /** Number of entrances in the space. */
150953
151016
  acs_entrance_count: number;
151017
+ /** Customer key associated with the space. */
151018
+ customer_key?: string | undefined;
150954
151019
  /** */
150955
151020
  parent_space_id?: string | undefined;
150956
151021
  /** */
@@ -202580,6 +202645,8 @@ type Routes = {
202580
202645
  device_count: number;
202581
202646
  /** Number of entrances in the space. */
202582
202647
  acs_entrance_count: number;
202648
+ /** Customer key associated with the space. */
202649
+ customer_key?: string | undefined;
202583
202650
  /** */
202584
202651
  parent_space_id?: string | undefined;
202585
202652
  /** */
@@ -202620,6 +202687,8 @@ type Routes = {
202620
202687
  device_count: number;
202621
202688
  /** Number of entrances in the space. */
202622
202689
  acs_entrance_count: number;
202690
+ /** Customer key associated with the space. */
202691
+ customer_key?: string | undefined;
202623
202692
  /** */
202624
202693
  parent_space_id?: string | undefined;
202625
202694
  /** */
@@ -203641,6 +203710,8 @@ type Routes = {
203641
203710
  device_count: number;
203642
203711
  /** Number of entrances in the space. */
203643
203712
  acs_entrance_count: number;
203713
+ /** Customer key associated with the space. */
203714
+ customer_key?: string | undefined;
203644
203715
  /** */
203645
203716
  parent_space_id?: string | undefined;
203646
203717
  /** */
@@ -203694,6 +203765,8 @@ type Routes = {
203694
203765
  device_count: number;
203695
203766
  /** Number of entrances in the space. */
203696
203767
  acs_entrance_count: number;
203768
+ /** Customer key associated with the space. */
203769
+ customer_key?: string | undefined;
203697
203770
  /** */
203698
203771
  parent_space_id?: string | undefined;
203699
203772
  /** */
@@ -203736,6 +203809,8 @@ type Routes = {
203736
203809
  device_count: number;
203737
203810
  /** Number of entrances in the space. */
203738
203811
  acs_entrance_count: number;
203812
+ /** Customer key associated with the space. */
203813
+ customer_key?: string | undefined;
203739
203814
  /** */
203740
203815
  parent_space_id?: string | undefined;
203741
203816
  /** */
@@ -205572,12 +205647,16 @@ type Routes = {
205572
205647
  commonParams: {
205573
205648
  /** Customer key for which you want to list spaces. */
205574
205649
  customer_key?: string | undefined;
205575
- /** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
205650
+ /** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`. */
205576
205651
  search?: string | undefined;
205577
205652
  /** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
205578
205653
  connected_account_id?: string | undefined;
205579
205654
  /** Filter spaces by space_key. */
205580
205655
  space_key?: string | undefined;
205656
+ /** Maximum number of records to return per page. */
205657
+ limit?: number;
205658
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
205659
+ page_cursor?: (string | undefined) | null;
205581
205660
  };
205582
205661
  formData: {};
205583
205662
  jsonResponse: {
@@ -205598,11 +205677,22 @@ type Routes = {
205598
205677
  device_count: number;
205599
205678
  /** Number of entrances in the space. */
205600
205679
  acs_entrance_count: number;
205680
+ /** Customer key associated with the space. */
205681
+ customer_key?: string | undefined;
205601
205682
  /** */
205602
205683
  parent_space_id?: string | undefined;
205603
205684
  /** */
205604
205685
  parent_space_key?: string | undefined;
205605
205686
  }[];
205687
+ /** Information about the current page of results. */
205688
+ pagination: {
205689
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
205690
+ next_page_cursor: string | null;
205691
+ /** Indicates whether there is another page of results after this one. */
205692
+ has_next_page: boolean;
205693
+ /** URL to get the next page of results. */
205694
+ next_page_url: string | null;
205695
+ };
205606
205696
  };
205607
205697
  maxDuration: undefined;
205608
205698
  };
@@ -205675,6 +205765,8 @@ type Routes = {
205675
205765
  device_count: number;
205676
205766
  /** Number of entrances in the space. */
205677
205767
  acs_entrance_count: number;
205768
+ /** Customer key associated with the space. */
205769
+ customer_key?: string | undefined;
205678
205770
  /** */
205679
205771
  parent_space_id?: string | undefined;
205680
205772
  /** */
@@ -230833,6 +230925,8 @@ type Routes = {
230833
230925
  device_count: number;
230834
230926
  /** Number of entrances in the space. */
230835
230927
  acs_entrance_count: number;
230928
+ /** Customer key associated with the space. */
230929
+ customer_key?: string | undefined;
230836
230930
  /** */
230837
230931
  parent_space_id?: string | undefined;
230838
230932
  /** */
package/dist/index.cjs CHANGED
@@ -6291,6 +6291,7 @@ var space = zod.z.object({
6291
6291
  created_at: zod.z.string().datetime().describe("Date and time at which the space was created."),
6292
6292
  device_count: zod.z.number().describe("Number of devices in the space."),
6293
6293
  acs_entrance_count: zod.z.number().describe("Number of entrances in the space."),
6294
+ customer_key: zod.z.string().optional().describe("Customer key associated with the space."),
6294
6295
  parent_space_id: zod.z.string().uuid().optional().describe(`
6295
6296
  ---
6296
6297
  undocumented: Only used internally.
@@ -29514,6 +29515,10 @@ var openapi_default = {
29514
29515
  format: "date-time",
29515
29516
  type: "string"
29516
29517
  },
29518
+ customer_key: {
29519
+ description: "Customer key associated with the space.",
29520
+ type: "string"
29521
+ },
29517
29522
  device_count: {
29518
29523
  description: "Number of devices in the space.",
29519
29524
  format: "float",
@@ -74043,7 +74048,7 @@ var openapi_default = {
74043
74048
  in: "query",
74044
74049
  name: "search",
74045
74050
  schema: {
74046
- description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
74051
+ description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.",
74047
74052
  minLength: 1,
74048
74053
  type: "string"
74049
74054
  }
@@ -74066,6 +74071,25 @@ var openapi_default = {
74066
74071
  description: "Filter spaces by space_key.",
74067
74072
  type: "string"
74068
74073
  }
74074
+ },
74075
+ {
74076
+ in: "query",
74077
+ name: "limit",
74078
+ schema: {
74079
+ default: 500,
74080
+ description: "Maximum number of records to return per page.",
74081
+ format: "float",
74082
+ type: "number"
74083
+ }
74084
+ },
74085
+ {
74086
+ in: "query",
74087
+ name: "page_cursor",
74088
+ schema: {
74089
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
74090
+ nullable: true,
74091
+ type: "string"
74092
+ }
74069
74093
  }
74070
74094
  ],
74071
74095
  responses: {
@@ -74075,12 +74099,13 @@ var openapi_default = {
74075
74099
  schema: {
74076
74100
  properties: {
74077
74101
  ok: { type: "boolean" },
74102
+ pagination: { $ref: "#/components/schemas/pagination" },
74078
74103
  spaces: {
74079
74104
  items: { $ref: "#/components/schemas/space" },
74080
74105
  type: "array"
74081
74106
  }
74082
74107
  },
74083
- required: ["spaces", "ok"],
74108
+ required: ["spaces", "pagination", "ok"],
74084
74109
  type: "object"
74085
74110
  }
74086
74111
  }
@@ -74124,8 +74149,19 @@ var openapi_default = {
74124
74149
  description: "Customer key for which you want to list spaces.",
74125
74150
  type: "string"
74126
74151
  },
74152
+ limit: {
74153
+ default: 500,
74154
+ description: "Maximum number of records to return per page.",
74155
+ format: "float",
74156
+ type: "number"
74157
+ },
74158
+ page_cursor: {
74159
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
74160
+ nullable: true,
74161
+ type: "string"
74162
+ },
74127
74163
  search: {
74128
- description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
74164
+ description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.",
74129
74165
  minLength: 1,
74130
74166
  type: "string"
74131
74167
  },
@@ -74146,12 +74182,13 @@ var openapi_default = {
74146
74182
  schema: {
74147
74183
  properties: {
74148
74184
  ok: { type: "boolean" },
74185
+ pagination: { $ref: "#/components/schemas/pagination" },
74149
74186
  spaces: {
74150
74187
  items: { $ref: "#/components/schemas/space" },
74151
74188
  type: "array"
74152
74189
  }
74153
74190
  },
74154
- required: ["spaces", "ok"],
74191
+ required: ["spaces", "pagination", "ok"],
74155
74192
  type: "object"
74156
74193
  }
74157
74194
  }