@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.
package/dist/connect.cjs CHANGED
@@ -3966,6 +3966,7 @@ var space = zod.z.object({
3966
3966
  workspace_id: zod.z.string().uuid().describe(
3967
3967
  "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space."
3968
3968
  ),
3969
+ space_key: zod.z.string().optional().describe("Unique key for the space within the workspace."),
3969
3970
  name: zod.z.string().describe("Name of the space."),
3970
3971
  display_name: zod.z.string().describe("Display name for the space."),
3971
3972
  created_at: zod.z.string().datetime().describe("Date and time at which the space was created."),
@@ -7101,6 +7102,10 @@ var openapi_default = {
7101
7102
  format: "uuid",
7102
7103
  type: "string"
7103
7104
  },
7105
+ access_grant_key: {
7106
+ description: "Unique key for the access grant within the workspace.",
7107
+ type: "string"
7108
+ },
7104
7109
  access_method_ids: {
7105
7110
  description: "IDs of the access methods created for the Access Grant.",
7106
7111
  items: { format: "uuid", type: "string" },
@@ -23567,6 +23572,10 @@ var openapi_default = {
23567
23572
  format: "uuid",
23568
23573
  type: "string"
23569
23574
  },
23575
+ space_key: {
23576
+ description: "Unique key for the space within the workspace.",
23577
+ type: "string"
23578
+ },
23570
23579
  workspace_id: {
23571
23580
  description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space.",
23572
23581
  format: "uuid",
@@ -30271,6 +30280,10 @@ var openapi_default = {
30271
30280
  },
30272
30281
  {
30273
30282
  properties: {
30283
+ access_grant_key: {
30284
+ description: "Unique key for the access grant within the workspace.",
30285
+ type: "string"
30286
+ },
30274
30287
  acs_entrance_ids: {
30275
30288
  default: [],
30276
30289
  description: "Set of IDs of the [entrances](https://docs.seam.co/latest/api/acs/systems/list) to which access is being granted.",
@@ -30485,18 +30498,6 @@ var openapi_default = {
30485
30498
  get: {
30486
30499
  description: "Get an Access Grant.",
30487
30500
  operationId: "accessGrantsGetGet",
30488
- parameters: [
30489
- {
30490
- in: "query",
30491
- name: "access_grant_id",
30492
- required: true,
30493
- schema: {
30494
- description: "ID of Access Grant to get.",
30495
- format: "uuid",
30496
- type: "string"
30497
- }
30498
- }
30499
- ],
30500
30501
  responses: {
30501
30502
  200: {
30502
30503
  content: {
@@ -30538,15 +30539,29 @@ var openapi_default = {
30538
30539
  content: {
30539
30540
  "application/json": {
30540
30541
  schema: {
30541
- properties: {
30542
- access_grant_id: {
30543
- description: "ID of Access Grant to get.",
30544
- format: "uuid",
30545
- type: "string"
30542
+ oneOf: [
30543
+ {
30544
+ properties: {
30545
+ access_grant_id: {
30546
+ description: "ID of Access Grant to get.",
30547
+ format: "uuid",
30548
+ type: "string"
30549
+ }
30550
+ },
30551
+ required: ["access_grant_id"],
30552
+ type: "object"
30553
+ },
30554
+ {
30555
+ properties: {
30556
+ access_grant_key: {
30557
+ description: "Unique key of Access Grant to get.",
30558
+ type: "string"
30559
+ }
30560
+ },
30561
+ required: ["access_grant_key"],
30562
+ type: "object"
30546
30563
  }
30547
- },
30548
- required: ["access_grant_id"],
30549
- type: "object"
30564
+ ]
30550
30565
  }
30551
30566
  }
30552
30567
  }
@@ -30636,6 +30651,14 @@ var openapi_default = {
30636
30651
  format: "uuid",
30637
30652
  type: "string"
30638
30653
  }
30654
+ },
30655
+ {
30656
+ in: "query",
30657
+ name: "access_grant_key",
30658
+ schema: {
30659
+ description: "Filter Access Grants by access_grant_key.",
30660
+ type: "string"
30661
+ }
30639
30662
  }
30640
30663
  ],
30641
30664
  responses: {
@@ -30683,6 +30706,10 @@ var openapi_default = {
30683
30706
  "application/json": {
30684
30707
  schema: {
30685
30708
  properties: {
30709
+ access_grant_key: {
30710
+ description: "Filter Access Grants by access_grant_key.",
30711
+ type: "string"
30712
+ },
30686
30713
  acs_entrance_id: {
30687
30714
  description: "ID of the entrance by which you want to filter the list of Access Grants.",
30688
30715
  format: "uuid",
@@ -48722,6 +48749,10 @@ var openapi_default = {
48722
48749
  name: {
48723
48750
  description: "Name of the space that you want to create.",
48724
48751
  type: "string"
48752
+ },
48753
+ space_key: {
48754
+ description: "Unique key for the space within the workspace.",
48755
+ type: "string"
48725
48756
  }
48726
48757
  },
48727
48758
  required: ["name"],
@@ -48868,18 +48899,6 @@ var openapi_default = {
48868
48899
  get: {
48869
48900
  description: "Gets a space.",
48870
48901
  operationId: "spacesGetGet",
48871
- parameters: [
48872
- {
48873
- in: "query",
48874
- name: "space_id",
48875
- required: true,
48876
- schema: {
48877
- description: "ID of the space that you want to get.",
48878
- format: "uuid",
48879
- type: "string"
48880
- }
48881
- }
48882
- ],
48883
48902
  responses: {
48884
48903
  200: {
48885
48904
  content: {
@@ -48920,15 +48939,29 @@ var openapi_default = {
48920
48939
  content: {
48921
48940
  "application/json": {
48922
48941
  schema: {
48923
- properties: {
48924
- space_id: {
48925
- description: "ID of the space that you want to get.",
48926
- format: "uuid",
48927
- type: "string"
48942
+ oneOf: [
48943
+ {
48944
+ properties: {
48945
+ space_id: {
48946
+ description: "ID of the space that you want to get.",
48947
+ format: "uuid",
48948
+ type: "string"
48949
+ }
48950
+ },
48951
+ required: ["space_id"],
48952
+ type: "object"
48953
+ },
48954
+ {
48955
+ properties: {
48956
+ space_key: {
48957
+ description: "Unique key of the space that you want to get.",
48958
+ type: "string"
48959
+ }
48960
+ },
48961
+ required: ["space_key"],
48962
+ type: "object"
48928
48963
  }
48929
- },
48930
- required: ["space_id"],
48931
- type: "object"
48964
+ ]
48932
48965
  }
48933
48966
  }
48934
48967
  }
@@ -49163,6 +49196,14 @@ var openapi_default = {
49163
49196
  minLength: 1,
49164
49197
  type: "string"
49165
49198
  }
49199
+ },
49200
+ {
49201
+ in: "query",
49202
+ name: "space_key",
49203
+ schema: {
49204
+ description: "Filter spaces by space_key.",
49205
+ type: "string"
49206
+ }
49166
49207
  }
49167
49208
  ],
49168
49209
  responses: {
@@ -49213,6 +49254,10 @@ var openapi_default = {
49213
49254
  description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
49214
49255
  minLength: 1,
49215
49256
  type: "string"
49257
+ },
49258
+ space_key: {
49259
+ description: "Filter spaces by space_key.",
49260
+ type: "string"
49216
49261
  }
49217
49262
  },
49218
49263
  type: "object"