@seamapi/types 1.445.1 → 1.446.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.
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  export declare const access_grant: z.ZodObject<{
3
3
  workspace_id: z.ZodString;
4
4
  access_grant_id: z.ZodString;
5
+ access_grant_key: z.ZodOptional<z.ZodString>;
5
6
  user_identity_id: z.ZodString;
6
7
  location_ids: z.ZodArray<z.ZodString, "many">;
7
8
  space_ids: z.ZodArray<z.ZodString, "many">;
@@ -44,6 +45,7 @@ export declare const access_grant: z.ZodObject<{
44
45
  access_method_ids: string[];
45
46
  starts_at?: string | undefined;
46
47
  ends_at?: string | undefined;
48
+ access_grant_key?: string | undefined;
47
49
  instant_key_url?: string | undefined;
48
50
  }, {
49
51
  display_name: string;
@@ -62,6 +64,7 @@ export declare const access_grant: z.ZodObject<{
62
64
  access_method_ids: string[];
63
65
  starts_at?: string | undefined;
64
66
  ends_at?: string | undefined;
67
+ access_grant_key?: string | undefined;
65
68
  instant_key_url?: string | undefined;
66
69
  }>;
67
70
  export type AccessGrant = z.infer<typeof access_grant>;
@@ -6,6 +6,10 @@ export const access_grant = z.object({
6
6
  .uuid()
7
7
  .describe('ID of the Seam workspace associated with the Access Grant.'),
8
8
  access_grant_id: z.string().uuid().describe('ID of the Access Grant.'),
9
+ access_grant_key: z
10
+ .string()
11
+ .optional()
12
+ .describe('Unique key for the access grant within the workspace.'),
9
13
  user_identity_id: z
10
14
  .string()
11
15
  .uuid()
@@ -1 +1 @@
1
- {"version":3,"file":"access-grant.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-grant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAEtE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IAC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CAAmC,CAAC;IACtE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,4FAA4F,CAC7F;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;CAC7D,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -4,6 +4,7 @@ export declare const batch: z.ZodObject<{
4
4
  spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
5
5
  space_id: z.ZodString;
6
6
  workspace_id: z.ZodString;
7
+ space_key: z.ZodOptional<z.ZodString>;
7
8
  name: z.ZodString;
8
9
  display_name: z.ZodString;
9
10
  created_at: z.ZodString;
@@ -17,6 +18,7 @@ export declare const batch: z.ZodObject<{
17
18
  space_id: string;
18
19
  device_count: number;
19
20
  acs_entrance_count: number;
21
+ space_key?: string | undefined;
20
22
  }, {
21
23
  name: string;
22
24
  display_name: string;
@@ -25,6 +27,7 @@ export declare const batch: z.ZodObject<{
25
27
  space_id: string;
26
28
  device_count: number;
27
29
  acs_entrance_count: number;
30
+ space_key?: string | undefined;
28
31
  }>, "many">>;
29
32
  devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
30
33
  device_id: z.ZodString;
@@ -4283,6 +4286,7 @@ export declare const batch: z.ZodObject<{
4283
4286
  space_id: string;
4284
4287
  device_count: number;
4285
4288
  acs_entrance_count: number;
4289
+ space_key?: string | undefined;
4286
4290
  }[] | undefined;
4287
4291
  devices?: {
4288
4292
  location: {
@@ -4983,6 +4987,7 @@ export declare const batch: z.ZodObject<{
4983
4987
  space_id: string;
4984
4988
  device_count: number;
4985
4989
  acs_entrance_count: number;
4990
+ space_key?: string | undefined;
4986
4991
  }[] | undefined;
4987
4992
  devices?: {
4988
4993
  location: {
@@ -4,6 +4,7 @@ export declare const spaces_batch: z.ZodObject<{
4
4
  spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
5
5
  space_id: z.ZodString;
6
6
  workspace_id: z.ZodString;
7
+ space_key: z.ZodOptional<z.ZodString>;
7
8
  name: z.ZodString;
8
9
  display_name: z.ZodString;
9
10
  created_at: z.ZodString;
@@ -17,6 +18,7 @@ export declare const spaces_batch: z.ZodObject<{
17
18
  space_id: string;
18
19
  device_count: number;
19
20
  acs_entrance_count: number;
21
+ space_key?: string | undefined;
20
22
  }, {
21
23
  name: string;
22
24
  display_name: string;
@@ -25,6 +27,7 @@ export declare const spaces_batch: z.ZodObject<{
25
27
  space_id: string;
26
28
  device_count: number;
27
29
  acs_entrance_count: number;
30
+ space_key?: string | undefined;
28
31
  }>, "many">>;
29
32
  devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
30
33
  device_id: z.ZodString;
@@ -4283,6 +4286,7 @@ export declare const spaces_batch: z.ZodObject<{
4283
4286
  space_id: string;
4284
4287
  device_count: number;
4285
4288
  acs_entrance_count: number;
4289
+ space_key?: string | undefined;
4286
4290
  }[] | undefined;
4287
4291
  devices?: {
4288
4292
  location: {
@@ -4983,6 +4987,7 @@ export declare const spaces_batch: z.ZodObject<{
4983
4987
  space_id: string;
4984
4988
  device_count: number;
4985
4989
  acs_entrance_count: number;
4990
+ space_key?: string | undefined;
4986
4991
  }[] | undefined;
4987
4992
  devices?: {
4988
4993
  location: {
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  export declare const space: z.ZodObject<{
3
3
  space_id: z.ZodString;
4
4
  workspace_id: z.ZodString;
5
+ space_key: z.ZodOptional<z.ZodString>;
5
6
  name: z.ZodString;
6
7
  display_name: z.ZodString;
7
8
  created_at: z.ZodString;
@@ -15,6 +16,7 @@ export declare const space: z.ZodObject<{
15
16
  space_id: string;
16
17
  device_count: number;
17
18
  acs_entrance_count: number;
19
+ space_key?: string | undefined;
18
20
  }, {
19
21
  name: string;
20
22
  display_name: string;
@@ -23,5 +25,6 @@ export declare const space: z.ZodObject<{
23
25
  space_id: string;
24
26
  device_count: number;
25
27
  acs_entrance_count: number;
28
+ space_key?: string | undefined;
26
29
  }>;
27
30
  export type Space = z.infer<typeof space>;
@@ -5,6 +5,10 @@ export const space = z.object({
5
5
  .string()
6
6
  .uuid()
7
7
  .describe('ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space.'),
8
+ space_key: z
9
+ .string()
10
+ .optional()
11
+ .describe('Unique key for the space within the workspace.'),
8
12
  name: z.string().describe('Name of the space.'),
9
13
  display_name: z.string().describe('Display name for the space.'),
10
14
  created_at: z
@@ -1 +1 @@
1
- {"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACpE,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;CAC7E,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
1
+ {"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACpE,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;CAC7E,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -380,6 +380,10 @@ declare const _default: {
380
380
  format: string;
381
381
  type: string;
382
382
  };
383
+ access_grant_key: {
384
+ description: string;
385
+ type: string;
386
+ };
383
387
  access_method_ids: {
384
388
  description: string;
385
389
  items: {
@@ -11077,6 +11081,10 @@ declare const _default: {
11077
11081
  format: string;
11078
11082
  type: string;
11079
11083
  };
11084
+ space_key: {
11085
+ description: string;
11086
+ type: string;
11087
+ };
11080
11088
  workspace_id: {
11081
11089
  description: string;
11082
11090
  format: string;
@@ -16303,6 +16311,10 @@ declare const _default: {
16303
16311
  type?: never;
16304
16312
  } | {
16305
16313
  properties: {
16314
+ access_grant_key: {
16315
+ description: string;
16316
+ type: string;
16317
+ };
16306
16318
  acs_entrance_ids: {
16307
16319
  default: never[];
16308
16320
  description: string;
@@ -16602,16 +16614,6 @@ declare const _default: {
16602
16614
  get: {
16603
16615
  description: string;
16604
16616
  operationId: string;
16605
- parameters: {
16606
- in: string;
16607
- name: string;
16608
- required: boolean;
16609
- schema: {
16610
- description: string;
16611
- format: string;
16612
- type: string;
16613
- };
16614
- }[];
16615
16617
  responses: {
16616
16618
  200: {
16617
16619
  content: {
@@ -16676,15 +16678,28 @@ declare const _default: {
16676
16678
  content: {
16677
16679
  'application/json': {
16678
16680
  schema: {
16679
- properties: {
16680
- access_grant_id: {
16681
- description: string;
16682
- format: string;
16683
- type: string;
16681
+ oneOf: ({
16682
+ properties: {
16683
+ access_grant_id: {
16684
+ description: string;
16685
+ format: string;
16686
+ type: string;
16687
+ };
16688
+ access_grant_key?: never;
16684
16689
  };
16685
- };
16686
- required: string[];
16687
- type: string;
16690
+ required: string[];
16691
+ type: string;
16692
+ } | {
16693
+ properties: {
16694
+ access_grant_key: {
16695
+ description: string;
16696
+ type: string;
16697
+ };
16698
+ access_grant_id?: never;
16699
+ };
16700
+ required: string[];
16701
+ type: string;
16702
+ })[];
16688
16703
  };
16689
16704
  };
16690
16705
  };
@@ -16771,6 +16786,16 @@ declare const _default: {
16771
16786
  'x-deprecated': string;
16772
16787
  description?: never;
16773
16788
  };
16789
+ } | {
16790
+ in: string;
16791
+ name: string;
16792
+ schema: {
16793
+ description: string;
16794
+ type: string;
16795
+ format?: never;
16796
+ deprecated?: never;
16797
+ 'x-deprecated'?: never;
16798
+ };
16774
16799
  })[];
16775
16800
  responses: {
16776
16801
  200: {
@@ -16840,6 +16865,10 @@ declare const _default: {
16840
16865
  'application/json': {
16841
16866
  schema: {
16842
16867
  properties: {
16868
+ access_grant_key: {
16869
+ description: string;
16870
+ type: string;
16871
+ };
16843
16872
  acs_entrance_id: {
16844
16873
  description: string;
16845
16874
  format: string;
@@ -37525,6 +37554,10 @@ declare const _default: {
37525
37554
  description: string;
37526
37555
  type: string;
37527
37556
  };
37557
+ space_key: {
37558
+ description: string;
37559
+ type: string;
37560
+ };
37528
37561
  };
37529
37562
  required: string[];
37530
37563
  type: string;
@@ -37718,16 +37751,6 @@ declare const _default: {
37718
37751
  get: {
37719
37752
  description: string;
37720
37753
  operationId: string;
37721
- parameters: {
37722
- in: string;
37723
- name: string;
37724
- required: boolean;
37725
- schema: {
37726
- description: string;
37727
- format: string;
37728
- type: string;
37729
- };
37730
- }[];
37731
37754
  responses: {
37732
37755
  200: {
37733
37756
  content: {
@@ -37784,15 +37807,28 @@ declare const _default: {
37784
37807
  content: {
37785
37808
  'application/json': {
37786
37809
  schema: {
37787
- properties: {
37788
- space_id: {
37789
- description: string;
37790
- format: string;
37791
- type: string;
37810
+ oneOf: ({
37811
+ properties: {
37812
+ space_id: {
37813
+ description: string;
37814
+ format: string;
37815
+ type: string;
37816
+ };
37817
+ space_key?: never;
37792
37818
  };
37793
- };
37794
- required: string[];
37795
- type: string;
37819
+ required: string[];
37820
+ type: string;
37821
+ } | {
37822
+ properties: {
37823
+ space_key: {
37824
+ description: string;
37825
+ type: string;
37826
+ };
37827
+ space_id?: never;
37828
+ };
37829
+ required: string[];
37830
+ type: string;
37831
+ })[];
37796
37832
  };
37797
37833
  };
37798
37834
  };
@@ -38074,7 +38110,7 @@ declare const _default: {
38074
38110
  get: {
38075
38111
  description: string;
38076
38112
  operationId: string;
38077
- parameters: {
38113
+ parameters: ({
38078
38114
  in: string;
38079
38115
  name: string;
38080
38116
  schema: {
@@ -38082,7 +38118,15 @@ declare const _default: {
38082
38118
  minLength: number;
38083
38119
  type: string;
38084
38120
  };
38085
- }[];
38121
+ } | {
38122
+ in: string;
38123
+ name: string;
38124
+ schema: {
38125
+ description: string;
38126
+ type: string;
38127
+ minLength?: never;
38128
+ };
38129
+ })[];
38086
38130
  responses: {
38087
38131
  200: {
38088
38132
  content: {
@@ -38148,6 +38192,10 @@ declare const _default: {
38148
38192
  minLength: number;
38149
38193
  type: string;
38150
38194
  };
38195
+ space_key: {
38196
+ description: string;
38197
+ type: string;
38198
+ };
38151
38199
  };
38152
38200
  type: string;
38153
38201
  };
@@ -1576,6 +1576,10 @@ export default {
1576
1576
  format: 'uuid',
1577
1577
  type: 'string',
1578
1578
  },
1579
+ access_grant_key: {
1580
+ description: 'Unique key for the access grant within the workspace.',
1581
+ type: 'string',
1582
+ },
1579
1583
  access_method_ids: {
1580
1584
  description: 'IDs of the access methods created for the Access Grant.',
1581
1585
  items: { format: 'uuid', type: 'string' },
@@ -18042,6 +18046,10 @@ export default {
18042
18046
  format: 'uuid',
18043
18047
  type: 'string',
18044
18048
  },
18049
+ space_key: {
18050
+ description: 'Unique key for the space within the workspace.',
18051
+ type: 'string',
18052
+ },
18045
18053
  workspace_id: {
18046
18054
  description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space.',
18047
18055
  format: 'uuid',
@@ -24746,6 +24754,10 @@ export default {
24746
24754
  },
24747
24755
  {
24748
24756
  properties: {
24757
+ access_grant_key: {
24758
+ description: 'Unique key for the access grant within the workspace.',
24759
+ type: 'string',
24760
+ },
24749
24761
  acs_entrance_ids: {
24750
24762
  default: [],
24751
24763
  description: 'Set of IDs of the [entrances](https://docs.seam.co/latest/api/acs/systems/list) to which access is being granted.',
@@ -24960,18 +24972,6 @@ export default {
24960
24972
  get: {
24961
24973
  description: 'Get an Access Grant.',
24962
24974
  operationId: 'accessGrantsGetGet',
24963
- parameters: [
24964
- {
24965
- in: 'query',
24966
- name: 'access_grant_id',
24967
- required: true,
24968
- schema: {
24969
- description: 'ID of Access Grant to get.',
24970
- format: 'uuid',
24971
- type: 'string',
24972
- },
24973
- },
24974
- ],
24975
24975
  responses: {
24976
24976
  200: {
24977
24977
  content: {
@@ -25013,15 +25013,29 @@ export default {
25013
25013
  content: {
25014
25014
  'application/json': {
25015
25015
  schema: {
25016
- properties: {
25017
- access_grant_id: {
25018
- description: 'ID of Access Grant to get.',
25019
- format: 'uuid',
25020
- type: 'string',
25016
+ oneOf: [
25017
+ {
25018
+ properties: {
25019
+ access_grant_id: {
25020
+ description: 'ID of Access Grant to get.',
25021
+ format: 'uuid',
25022
+ type: 'string',
25023
+ },
25024
+ },
25025
+ required: ['access_grant_id'],
25026
+ type: 'object',
25021
25027
  },
25022
- },
25023
- required: ['access_grant_id'],
25024
- type: 'object',
25028
+ {
25029
+ properties: {
25030
+ access_grant_key: {
25031
+ description: 'Unique key of Access Grant to get.',
25032
+ type: 'string',
25033
+ },
25034
+ },
25035
+ required: ['access_grant_key'],
25036
+ type: 'object',
25037
+ },
25038
+ ],
25025
25039
  },
25026
25040
  },
25027
25041
  },
@@ -25112,6 +25126,14 @@ export default {
25112
25126
  type: 'string',
25113
25127
  },
25114
25128
  },
25129
+ {
25130
+ in: 'query',
25131
+ name: 'access_grant_key',
25132
+ schema: {
25133
+ description: 'Filter Access Grants by access_grant_key.',
25134
+ type: 'string',
25135
+ },
25136
+ },
25115
25137
  ],
25116
25138
  responses: {
25117
25139
  200: {
@@ -25158,6 +25180,10 @@ export default {
25158
25180
  'application/json': {
25159
25181
  schema: {
25160
25182
  properties: {
25183
+ access_grant_key: {
25184
+ description: 'Filter Access Grants by access_grant_key.',
25185
+ type: 'string',
25186
+ },
25161
25187
  acs_entrance_id: {
25162
25188
  description: 'ID of the entrance by which you want to filter the list of Access Grants.',
25163
25189
  format: 'uuid',
@@ -43198,6 +43224,10 @@ export default {
43198
43224
  description: 'Name of the space that you want to create.',
43199
43225
  type: 'string',
43200
43226
  },
43227
+ space_key: {
43228
+ description: 'Unique key for the space within the workspace.',
43229
+ type: 'string',
43230
+ },
43201
43231
  },
43202
43232
  required: ['name'],
43203
43233
  type: 'object',
@@ -43343,18 +43373,6 @@ export default {
43343
43373
  get: {
43344
43374
  description: 'Gets a space.',
43345
43375
  operationId: 'spacesGetGet',
43346
- parameters: [
43347
- {
43348
- in: 'query',
43349
- name: 'space_id',
43350
- required: true,
43351
- schema: {
43352
- description: 'ID of the space that you want to get.',
43353
- format: 'uuid',
43354
- type: 'string',
43355
- },
43356
- },
43357
- ],
43358
43376
  responses: {
43359
43377
  200: {
43360
43378
  content: {
@@ -43395,15 +43413,29 @@ export default {
43395
43413
  content: {
43396
43414
  'application/json': {
43397
43415
  schema: {
43398
- properties: {
43399
- space_id: {
43400
- description: 'ID of the space that you want to get.',
43401
- format: 'uuid',
43402
- type: 'string',
43416
+ oneOf: [
43417
+ {
43418
+ properties: {
43419
+ space_id: {
43420
+ description: 'ID of the space that you want to get.',
43421
+ format: 'uuid',
43422
+ type: 'string',
43423
+ },
43424
+ },
43425
+ required: ['space_id'],
43426
+ type: 'object',
43403
43427
  },
43404
- },
43405
- required: ['space_id'],
43406
- type: 'object',
43428
+ {
43429
+ properties: {
43430
+ space_key: {
43431
+ description: 'Unique key of the space that you want to get.',
43432
+ type: 'string',
43433
+ },
43434
+ },
43435
+ required: ['space_key'],
43436
+ type: 'object',
43437
+ },
43438
+ ],
43407
43439
  },
43408
43440
  },
43409
43441
  },
@@ -43639,6 +43671,14 @@ export default {
43639
43671
  type: 'string',
43640
43672
  },
43641
43673
  },
43674
+ {
43675
+ in: 'query',
43676
+ name: 'space_key',
43677
+ schema: {
43678
+ description: 'Filter spaces by space_key.',
43679
+ type: 'string',
43680
+ },
43681
+ },
43642
43682
  ],
43643
43683
  responses: {
43644
43684
  200: {
@@ -43689,6 +43729,10 @@ export default {
43689
43729
  minLength: 1,
43690
43730
  type: 'string',
43691
43731
  },
43732
+ space_key: {
43733
+ description: 'Filter spaces by space_key.',
43734
+ type: 'string',
43735
+ },
43692
43736
  },
43693
43737
  type: 'object',
43694
43738
  },