@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 +85 -40
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +133 -38
- package/dist/index.cjs +85 -40
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/batches/batch.d.ts +5 -0
- package/lib/seam/connect/models/batches/spaces.d.ts +5 -0
- package/lib/seam/connect/models/spaces/space.d.ts +3 -0
- package/lib/seam/connect/models/spaces/space.js +4 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +86 -38
- package/lib/seam/connect/openapi.js +84 -40
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +4 -0
- package/src/lib/seam/connect/models/spaces/space.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +88 -40
- package/src/lib/seam/connect/route-types.ts +48 -8
package/dist/connect.d.cts
CHANGED
|
@@ -3603,6 +3603,7 @@ type UnmanagedAccessCode = z.infer<typeof unmanaged_access_code>;
|
|
|
3603
3603
|
declare const access_grant: z.ZodObject<{
|
|
3604
3604
|
workspace_id: z.ZodString;
|
|
3605
3605
|
access_grant_id: z.ZodString;
|
|
3606
|
+
access_grant_key: z.ZodOptional<z.ZodString>;
|
|
3606
3607
|
user_identity_id: z.ZodString;
|
|
3607
3608
|
location_ids: z.ZodArray<z.ZodString, "many">;
|
|
3608
3609
|
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -3645,6 +3646,7 @@ declare const access_grant: z.ZodObject<{
|
|
|
3645
3646
|
access_method_ids: string[];
|
|
3646
3647
|
starts_at?: string | undefined;
|
|
3647
3648
|
ends_at?: string | undefined;
|
|
3649
|
+
access_grant_key?: string | undefined;
|
|
3648
3650
|
instant_key_url?: string | undefined;
|
|
3649
3651
|
}, {
|
|
3650
3652
|
display_name: string;
|
|
@@ -3663,6 +3665,7 @@ declare const access_grant: z.ZodObject<{
|
|
|
3663
3665
|
access_method_ids: string[];
|
|
3664
3666
|
starts_at?: string | undefined;
|
|
3665
3667
|
ends_at?: string | undefined;
|
|
3668
|
+
access_grant_key?: string | undefined;
|
|
3666
3669
|
instant_key_url?: string | undefined;
|
|
3667
3670
|
}>;
|
|
3668
3671
|
type AccessGrant = z.infer<typeof access_grant>;
|
|
@@ -10124,6 +10127,7 @@ declare const batch: z.ZodObject<{
|
|
|
10124
10127
|
spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10125
10128
|
space_id: z.ZodString;
|
|
10126
10129
|
workspace_id: z.ZodString;
|
|
10130
|
+
space_key: z.ZodOptional<z.ZodString>;
|
|
10127
10131
|
name: z.ZodString;
|
|
10128
10132
|
display_name: z.ZodString;
|
|
10129
10133
|
created_at: z.ZodString;
|
|
@@ -10137,6 +10141,7 @@ declare const batch: z.ZodObject<{
|
|
|
10137
10141
|
space_id: string;
|
|
10138
10142
|
device_count: number;
|
|
10139
10143
|
acs_entrance_count: number;
|
|
10144
|
+
space_key?: string | undefined;
|
|
10140
10145
|
}, {
|
|
10141
10146
|
name: string;
|
|
10142
10147
|
display_name: string;
|
|
@@ -10145,6 +10150,7 @@ declare const batch: z.ZodObject<{
|
|
|
10145
10150
|
space_id: string;
|
|
10146
10151
|
device_count: number;
|
|
10147
10152
|
acs_entrance_count: number;
|
|
10153
|
+
space_key?: string | undefined;
|
|
10148
10154
|
}>, "many">>;
|
|
10149
10155
|
devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10150
10156
|
device_id: z.ZodString;
|
|
@@ -14403,6 +14409,7 @@ declare const batch: z.ZodObject<{
|
|
|
14403
14409
|
space_id: string;
|
|
14404
14410
|
device_count: number;
|
|
14405
14411
|
acs_entrance_count: number;
|
|
14412
|
+
space_key?: string | undefined;
|
|
14406
14413
|
}[] | undefined;
|
|
14407
14414
|
devices?: {
|
|
14408
14415
|
display_name: string;
|
|
@@ -15103,6 +15110,7 @@ declare const batch: z.ZodObject<{
|
|
|
15103
15110
|
space_id: string;
|
|
15104
15111
|
device_count: number;
|
|
15105
15112
|
acs_entrance_count: number;
|
|
15113
|
+
space_key?: string | undefined;
|
|
15106
15114
|
}[] | undefined;
|
|
15107
15115
|
devices?: {
|
|
15108
15116
|
display_name: string;
|
|
@@ -27583,6 +27591,7 @@ type MagicLink = z.infer<typeof magic_link>;
|
|
|
27583
27591
|
declare const space: z.ZodObject<{
|
|
27584
27592
|
space_id: z.ZodString;
|
|
27585
27593
|
workspace_id: z.ZodString;
|
|
27594
|
+
space_key: z.ZodOptional<z.ZodString>;
|
|
27586
27595
|
name: z.ZodString;
|
|
27587
27596
|
display_name: z.ZodString;
|
|
27588
27597
|
created_at: z.ZodString;
|
|
@@ -27596,6 +27605,7 @@ declare const space: z.ZodObject<{
|
|
|
27596
27605
|
space_id: string;
|
|
27597
27606
|
device_count: number;
|
|
27598
27607
|
acs_entrance_count: number;
|
|
27608
|
+
space_key?: string | undefined;
|
|
27599
27609
|
}, {
|
|
27600
27610
|
name: string;
|
|
27601
27611
|
display_name: string;
|
|
@@ -27604,6 +27614,7 @@ declare const space: z.ZodObject<{
|
|
|
27604
27614
|
space_id: string;
|
|
27605
27615
|
device_count: number;
|
|
27606
27616
|
acs_entrance_count: number;
|
|
27617
|
+
space_key?: string | undefined;
|
|
27607
27618
|
}>;
|
|
27608
27619
|
type Space = z.infer<typeof space>;
|
|
27609
27620
|
|
|
@@ -28410,6 +28421,10 @@ declare const _default: {
|
|
|
28410
28421
|
format: string;
|
|
28411
28422
|
type: string;
|
|
28412
28423
|
};
|
|
28424
|
+
access_grant_key: {
|
|
28425
|
+
description: string;
|
|
28426
|
+
type: string;
|
|
28427
|
+
};
|
|
28413
28428
|
access_method_ids: {
|
|
28414
28429
|
description: string;
|
|
28415
28430
|
items: {
|
|
@@ -39107,6 +39122,10 @@ declare const _default: {
|
|
|
39107
39122
|
format: string;
|
|
39108
39123
|
type: string;
|
|
39109
39124
|
};
|
|
39125
|
+
space_key: {
|
|
39126
|
+
description: string;
|
|
39127
|
+
type: string;
|
|
39128
|
+
};
|
|
39110
39129
|
workspace_id: {
|
|
39111
39130
|
description: string;
|
|
39112
39131
|
format: string;
|
|
@@ -44333,6 +44352,10 @@ declare const _default: {
|
|
|
44333
44352
|
type?: never;
|
|
44334
44353
|
} | {
|
|
44335
44354
|
properties: {
|
|
44355
|
+
access_grant_key: {
|
|
44356
|
+
description: string;
|
|
44357
|
+
type: string;
|
|
44358
|
+
};
|
|
44336
44359
|
acs_entrance_ids: {
|
|
44337
44360
|
default: never[];
|
|
44338
44361
|
description: string;
|
|
@@ -44632,16 +44655,6 @@ declare const _default: {
|
|
|
44632
44655
|
get: {
|
|
44633
44656
|
description: string;
|
|
44634
44657
|
operationId: string;
|
|
44635
|
-
parameters: {
|
|
44636
|
-
in: string;
|
|
44637
|
-
name: string;
|
|
44638
|
-
required: boolean;
|
|
44639
|
-
schema: {
|
|
44640
|
-
description: string;
|
|
44641
|
-
format: string;
|
|
44642
|
-
type: string;
|
|
44643
|
-
};
|
|
44644
|
-
}[];
|
|
44645
44658
|
responses: {
|
|
44646
44659
|
200: {
|
|
44647
44660
|
content: {
|
|
@@ -44706,15 +44719,28 @@ declare const _default: {
|
|
|
44706
44719
|
content: {
|
|
44707
44720
|
'application/json': {
|
|
44708
44721
|
schema: {
|
|
44709
|
-
|
|
44710
|
-
|
|
44711
|
-
|
|
44712
|
-
|
|
44713
|
-
|
|
44722
|
+
oneOf: ({
|
|
44723
|
+
properties: {
|
|
44724
|
+
access_grant_id: {
|
|
44725
|
+
description: string;
|
|
44726
|
+
format: string;
|
|
44727
|
+
type: string;
|
|
44728
|
+
};
|
|
44729
|
+
access_grant_key?: never;
|
|
44714
44730
|
};
|
|
44715
|
-
|
|
44716
|
-
|
|
44717
|
-
|
|
44731
|
+
required: string[];
|
|
44732
|
+
type: string;
|
|
44733
|
+
} | {
|
|
44734
|
+
properties: {
|
|
44735
|
+
access_grant_key: {
|
|
44736
|
+
description: string;
|
|
44737
|
+
type: string;
|
|
44738
|
+
};
|
|
44739
|
+
access_grant_id?: never;
|
|
44740
|
+
};
|
|
44741
|
+
required: string[];
|
|
44742
|
+
type: string;
|
|
44743
|
+
})[];
|
|
44718
44744
|
};
|
|
44719
44745
|
};
|
|
44720
44746
|
};
|
|
@@ -44801,6 +44827,16 @@ declare const _default: {
|
|
|
44801
44827
|
'x-deprecated': string;
|
|
44802
44828
|
description?: never;
|
|
44803
44829
|
};
|
|
44830
|
+
} | {
|
|
44831
|
+
in: string;
|
|
44832
|
+
name: string;
|
|
44833
|
+
schema: {
|
|
44834
|
+
description: string;
|
|
44835
|
+
type: string;
|
|
44836
|
+
format?: never;
|
|
44837
|
+
deprecated?: never;
|
|
44838
|
+
'x-deprecated'?: never;
|
|
44839
|
+
};
|
|
44804
44840
|
})[];
|
|
44805
44841
|
responses: {
|
|
44806
44842
|
200: {
|
|
@@ -44870,6 +44906,10 @@ declare const _default: {
|
|
|
44870
44906
|
'application/json': {
|
|
44871
44907
|
schema: {
|
|
44872
44908
|
properties: {
|
|
44909
|
+
access_grant_key: {
|
|
44910
|
+
description: string;
|
|
44911
|
+
type: string;
|
|
44912
|
+
};
|
|
44873
44913
|
acs_entrance_id: {
|
|
44874
44914
|
description: string;
|
|
44875
44915
|
format: string;
|
|
@@ -65555,6 +65595,10 @@ declare const _default: {
|
|
|
65555
65595
|
description: string;
|
|
65556
65596
|
type: string;
|
|
65557
65597
|
};
|
|
65598
|
+
space_key: {
|
|
65599
|
+
description: string;
|
|
65600
|
+
type: string;
|
|
65601
|
+
};
|
|
65558
65602
|
};
|
|
65559
65603
|
required: string[];
|
|
65560
65604
|
type: string;
|
|
@@ -65748,16 +65792,6 @@ declare const _default: {
|
|
|
65748
65792
|
get: {
|
|
65749
65793
|
description: string;
|
|
65750
65794
|
operationId: string;
|
|
65751
|
-
parameters: {
|
|
65752
|
-
in: string;
|
|
65753
|
-
name: string;
|
|
65754
|
-
required: boolean;
|
|
65755
|
-
schema: {
|
|
65756
|
-
description: string;
|
|
65757
|
-
format: string;
|
|
65758
|
-
type: string;
|
|
65759
|
-
};
|
|
65760
|
-
}[];
|
|
65761
65795
|
responses: {
|
|
65762
65796
|
200: {
|
|
65763
65797
|
content: {
|
|
@@ -65814,15 +65848,28 @@ declare const _default: {
|
|
|
65814
65848
|
content: {
|
|
65815
65849
|
'application/json': {
|
|
65816
65850
|
schema: {
|
|
65817
|
-
|
|
65818
|
-
|
|
65819
|
-
|
|
65820
|
-
|
|
65821
|
-
|
|
65851
|
+
oneOf: ({
|
|
65852
|
+
properties: {
|
|
65853
|
+
space_id: {
|
|
65854
|
+
description: string;
|
|
65855
|
+
format: string;
|
|
65856
|
+
type: string;
|
|
65857
|
+
};
|
|
65858
|
+
space_key?: never;
|
|
65822
65859
|
};
|
|
65823
|
-
|
|
65824
|
-
|
|
65825
|
-
|
|
65860
|
+
required: string[];
|
|
65861
|
+
type: string;
|
|
65862
|
+
} | {
|
|
65863
|
+
properties: {
|
|
65864
|
+
space_key: {
|
|
65865
|
+
description: string;
|
|
65866
|
+
type: string;
|
|
65867
|
+
};
|
|
65868
|
+
space_id?: never;
|
|
65869
|
+
};
|
|
65870
|
+
required: string[];
|
|
65871
|
+
type: string;
|
|
65872
|
+
})[];
|
|
65826
65873
|
};
|
|
65827
65874
|
};
|
|
65828
65875
|
};
|
|
@@ -66104,7 +66151,7 @@ declare const _default: {
|
|
|
66104
66151
|
get: {
|
|
66105
66152
|
description: string;
|
|
66106
66153
|
operationId: string;
|
|
66107
|
-
parameters: {
|
|
66154
|
+
parameters: ({
|
|
66108
66155
|
in: string;
|
|
66109
66156
|
name: string;
|
|
66110
66157
|
schema: {
|
|
@@ -66112,7 +66159,15 @@ declare const _default: {
|
|
|
66112
66159
|
minLength: number;
|
|
66113
66160
|
type: string;
|
|
66114
66161
|
};
|
|
66115
|
-
}
|
|
66162
|
+
} | {
|
|
66163
|
+
in: string;
|
|
66164
|
+
name: string;
|
|
66165
|
+
schema: {
|
|
66166
|
+
description: string;
|
|
66167
|
+
type: string;
|
|
66168
|
+
minLength?: never;
|
|
66169
|
+
};
|
|
66170
|
+
})[];
|
|
66116
66171
|
responses: {
|
|
66117
66172
|
200: {
|
|
66118
66173
|
content: {
|
|
@@ -66178,6 +66233,10 @@ declare const _default: {
|
|
|
66178
66233
|
minLength: number;
|
|
66179
66234
|
type: string;
|
|
66180
66235
|
};
|
|
66236
|
+
space_key: {
|
|
66237
|
+
description: string;
|
|
66238
|
+
type: string;
|
|
66239
|
+
};
|
|
66181
66240
|
};
|
|
66182
66241
|
type: string;
|
|
66183
66242
|
};
|
|
@@ -86690,6 +86749,8 @@ interface Routes {
|
|
|
86690
86749
|
full_name?: (string | null) | undefined;
|
|
86691
86750
|
};
|
|
86692
86751
|
}) & {
|
|
86752
|
+
/** Unique key for the access grant within the workspace. */
|
|
86753
|
+
access_grant_key?: string | undefined;
|
|
86693
86754
|
/**
|
|
86694
86755
|
* @deprecated Use `space_ids`. */
|
|
86695
86756
|
location_ids?: string[] | undefined;
|
|
@@ -86727,6 +86788,8 @@ interface Routes {
|
|
|
86727
86788
|
workspace_id: string;
|
|
86728
86789
|
/** ID of the Access Grant. */
|
|
86729
86790
|
access_grant_id: string;
|
|
86791
|
+
/** Unique key for the access grant within the workspace. */
|
|
86792
|
+
access_grant_key?: string | undefined;
|
|
86730
86793
|
/** ID of user identity to which the Access Grant gives access. */
|
|
86731
86794
|
user_identity_id: string;
|
|
86732
86795
|
/**
|
|
@@ -86780,6 +86843,9 @@ interface Routes {
|
|
|
86780
86843
|
commonParams: {
|
|
86781
86844
|
/** ID of Access Grant to get. */
|
|
86782
86845
|
access_grant_id: string;
|
|
86846
|
+
} | {
|
|
86847
|
+
/** Unique key of Access Grant to get. */
|
|
86848
|
+
access_grant_key: string;
|
|
86783
86849
|
};
|
|
86784
86850
|
formData: {};
|
|
86785
86851
|
jsonResponse: {
|
|
@@ -86789,6 +86855,8 @@ interface Routes {
|
|
|
86789
86855
|
workspace_id: string;
|
|
86790
86856
|
/** ID of the Access Grant. */
|
|
86791
86857
|
access_grant_id: string;
|
|
86858
|
+
/** Unique key for the access grant within the workspace. */
|
|
86859
|
+
access_grant_key?: string | undefined;
|
|
86792
86860
|
/** ID of user identity to which the Access Grant gives access. */
|
|
86793
86861
|
user_identity_id: string;
|
|
86794
86862
|
/**
|
|
@@ -86839,6 +86907,8 @@ interface Routes {
|
|
|
86839
86907
|
location_id?: string | undefined;
|
|
86840
86908
|
/** ID of the space by which you want to filter the list of Access Grants. */
|
|
86841
86909
|
space_id?: string | undefined;
|
|
86910
|
+
/** Filter Access Grants by access_grant_key. */
|
|
86911
|
+
access_grant_key?: string | undefined;
|
|
86842
86912
|
};
|
|
86843
86913
|
formData: {};
|
|
86844
86914
|
jsonResponse: {
|
|
@@ -86847,6 +86917,8 @@ interface Routes {
|
|
|
86847
86917
|
workspace_id: string;
|
|
86848
86918
|
/** ID of the Access Grant. */
|
|
86849
86919
|
access_grant_id: string;
|
|
86920
|
+
/** Unique key for the access grant within the workspace. */
|
|
86921
|
+
access_grant_key?: string | undefined;
|
|
86850
86922
|
/** ID of user identity to which the Access Grant gives access. */
|
|
86851
86923
|
user_identity_id: string;
|
|
86852
86924
|
/**
|
|
@@ -123331,6 +123403,8 @@ interface Routes {
|
|
|
123331
123403
|
jsonBody: {
|
|
123332
123404
|
/** Name of the space that you want to create. */
|
|
123333
123405
|
name: string;
|
|
123406
|
+
/** Unique key for the space within the workspace. */
|
|
123407
|
+
space_key?: string | undefined;
|
|
123334
123408
|
/** IDs of the devices that you want to add to the new space. */
|
|
123335
123409
|
device_ids?: string[] | undefined;
|
|
123336
123410
|
/** IDs of the entrances that you want to add to the new space. */
|
|
@@ -123345,6 +123419,8 @@ interface Routes {
|
|
|
123345
123419
|
space_id: string;
|
|
123346
123420
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space. */
|
|
123347
123421
|
workspace_id: string;
|
|
123422
|
+
/** Unique key for the space within the workspace. */
|
|
123423
|
+
space_key?: string | undefined;
|
|
123348
123424
|
/** Name of the space. */
|
|
123349
123425
|
name: string;
|
|
123350
123426
|
/** Display name for the space. */
|
|
@@ -123378,6 +123454,9 @@ interface Routes {
|
|
|
123378
123454
|
commonParams: {
|
|
123379
123455
|
/** ID of the space that you want to get. */
|
|
123380
123456
|
space_id: string;
|
|
123457
|
+
} | {
|
|
123458
|
+
/** Unique key of the space that you want to get. */
|
|
123459
|
+
space_key: string;
|
|
123381
123460
|
};
|
|
123382
123461
|
formData: {};
|
|
123383
123462
|
jsonResponse: {
|
|
@@ -123387,6 +123466,8 @@ interface Routes {
|
|
|
123387
123466
|
space_id: string;
|
|
123388
123467
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space. */
|
|
123389
123468
|
workspace_id: string;
|
|
123469
|
+
/** Unique key for the space within the workspace. */
|
|
123470
|
+
space_key?: string | undefined;
|
|
123390
123471
|
/** Name of the space. */
|
|
123391
123472
|
name: string;
|
|
123392
123473
|
/** Display name for the space. */
|
|
@@ -123421,6 +123502,8 @@ interface Routes {
|
|
|
123421
123502
|
space_id: string;
|
|
123422
123503
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space. */
|
|
123423
123504
|
workspace_id: string;
|
|
123505
|
+
/** Unique key for the space within the workspace. */
|
|
123506
|
+
space_key?: string | undefined;
|
|
123424
123507
|
/** Name of the space. */
|
|
123425
123508
|
name: string;
|
|
123426
123509
|
/** Display name for the space. */
|
|
@@ -124699,6 +124782,8 @@ interface Routes {
|
|
|
124699
124782
|
commonParams: {
|
|
124700
124783
|
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
|
|
124701
124784
|
search?: string | undefined;
|
|
124785
|
+
/** Filter spaces by space_key. */
|
|
124786
|
+
space_key?: string | undefined;
|
|
124702
124787
|
};
|
|
124703
124788
|
formData: {};
|
|
124704
124789
|
jsonResponse: {
|
|
@@ -124707,6 +124792,8 @@ interface Routes {
|
|
|
124707
124792
|
space_id: string;
|
|
124708
124793
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space. */
|
|
124709
124794
|
workspace_id: string;
|
|
124795
|
+
/** Unique key for the space within the workspace. */
|
|
124796
|
+
space_key?: string | undefined;
|
|
124710
124797
|
/** Name of the space. */
|
|
124711
124798
|
name: string;
|
|
124712
124799
|
/** Display name for the space. */
|
|
@@ -124767,6 +124854,8 @@ interface Routes {
|
|
|
124767
124854
|
space_id: string;
|
|
124768
124855
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space. */
|
|
124769
124856
|
workspace_id: string;
|
|
124857
|
+
/** Unique key for the space within the workspace. */
|
|
124858
|
+
space_key?: string | undefined;
|
|
124770
124859
|
/** Name of the space. */
|
|
124771
124860
|
name: string;
|
|
124772
124861
|
/** Display name for the space. */
|
|
@@ -140220,6 +140309,8 @@ interface Routes {
|
|
|
140220
140309
|
workspace_id: string;
|
|
140221
140310
|
/** ID of the Access Grant. */
|
|
140222
140311
|
access_grant_id: string;
|
|
140312
|
+
/** Unique key for the access grant within the workspace. */
|
|
140313
|
+
access_grant_key?: string | undefined;
|
|
140223
140314
|
/** ID of user identity to which the Access Grant gives access. */
|
|
140224
140315
|
user_identity_id: string;
|
|
140225
140316
|
/**
|
|
@@ -140282,6 +140373,8 @@ interface Routes {
|
|
|
140282
140373
|
workspace_id: string;
|
|
140283
140374
|
/** ID of the Access Grant. */
|
|
140284
140375
|
access_grant_id: string;
|
|
140376
|
+
/** Unique key for the access grant within the workspace. */
|
|
140377
|
+
access_grant_key?: string | undefined;
|
|
140285
140378
|
/** ID of user identity to which the Access Grant gives access. */
|
|
140286
140379
|
user_identity_id: string;
|
|
140287
140380
|
/**
|
|
@@ -140340,6 +140433,8 @@ interface Routes {
|
|
|
140340
140433
|
workspace_id: string;
|
|
140341
140434
|
/** ID of the Access Grant. */
|
|
140342
140435
|
access_grant_id: string;
|
|
140436
|
+
/** Unique key for the access grant within the workspace. */
|
|
140437
|
+
access_grant_key?: string | undefined;
|
|
140343
140438
|
/** ID of user identity to which the Access Grant gives access. */
|
|
140344
140439
|
user_identity_id: string;
|
|
140345
140440
|
/**
|
package/dist/index.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
|
-
|
|
30542
|
-
|
|
30543
|
-
|
|
30544
|
-
|
|
30545
|
-
|
|
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
|
-
|
|
48924
|
-
|
|
48925
|
-
|
|
48926
|
-
|
|
48927
|
-
|
|
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"
|