@seamapi/types 1.633.0 → 1.635.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 +24 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +58 -6
- package/dist/index.cjs +24 -15
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +5 -3
- package/lib/seam/connect/models/access-grants/access-grant.js +6 -1
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +52 -0
- package/lib/seam/connect/openapi.js +10 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +6 -6
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +11 -6
- package/src/lib/seam/connect/openapi.ts +10 -4
- package/src/lib/seam/connect/route-types.ts +6 -4
package/dist/connect.d.cts
CHANGED
|
@@ -77081,14 +77081,22 @@ declare const _default: {
|
|
|
77081
77081
|
pat_with_workspace: never[];
|
|
77082
77082
|
console_session_with_workspace?: never;
|
|
77083
77083
|
api_key?: never;
|
|
77084
|
+
client_session_with_customer?: never;
|
|
77084
77085
|
} | {
|
|
77085
77086
|
console_session_with_workspace: never[];
|
|
77086
77087
|
pat_with_workspace?: never;
|
|
77087
77088
|
api_key?: never;
|
|
77089
|
+
client_session_with_customer?: never;
|
|
77088
77090
|
} | {
|
|
77089
77091
|
api_key: never[];
|
|
77090
77092
|
pat_with_workspace?: never;
|
|
77091
77093
|
console_session_with_workspace?: never;
|
|
77094
|
+
client_session_with_customer?: never;
|
|
77095
|
+
} | {
|
|
77096
|
+
client_session_with_customer: never[];
|
|
77097
|
+
pat_with_workspace?: never;
|
|
77098
|
+
console_session_with_workspace?: never;
|
|
77099
|
+
api_key?: never;
|
|
77092
77100
|
})[];
|
|
77093
77101
|
summary: string;
|
|
77094
77102
|
tags: string[];
|
|
@@ -77272,14 +77280,22 @@ declare const _default: {
|
|
|
77272
77280
|
pat_with_workspace: never[];
|
|
77273
77281
|
console_session_with_workspace?: never;
|
|
77274
77282
|
api_key?: never;
|
|
77283
|
+
client_session_with_customer?: never;
|
|
77275
77284
|
} | {
|
|
77276
77285
|
console_session_with_workspace: never[];
|
|
77277
77286
|
pat_with_workspace?: never;
|
|
77278
77287
|
api_key?: never;
|
|
77288
|
+
client_session_with_customer?: never;
|
|
77279
77289
|
} | {
|
|
77280
77290
|
api_key: never[];
|
|
77281
77291
|
pat_with_workspace?: never;
|
|
77282
77292
|
console_session_with_workspace?: never;
|
|
77293
|
+
client_session_with_customer?: never;
|
|
77294
|
+
} | {
|
|
77295
|
+
client_session_with_customer: never[];
|
|
77296
|
+
pat_with_workspace?: never;
|
|
77297
|
+
console_session_with_workspace?: never;
|
|
77298
|
+
api_key?: never;
|
|
77283
77299
|
})[];
|
|
77284
77300
|
summary: string;
|
|
77285
77301
|
tags: string[];
|
|
@@ -77400,14 +77416,22 @@ declare const _default: {
|
|
|
77400
77416
|
pat_with_workspace: never[];
|
|
77401
77417
|
console_session_with_workspace?: never;
|
|
77402
77418
|
api_key?: never;
|
|
77419
|
+
client_session_with_customer?: never;
|
|
77403
77420
|
} | {
|
|
77404
77421
|
console_session_with_workspace: never[];
|
|
77405
77422
|
pat_with_workspace?: never;
|
|
77406
77423
|
api_key?: never;
|
|
77424
|
+
client_session_with_customer?: never;
|
|
77407
77425
|
} | {
|
|
77408
77426
|
api_key: never[];
|
|
77409
77427
|
pat_with_workspace?: never;
|
|
77410
77428
|
console_session_with_workspace?: never;
|
|
77429
|
+
client_session_with_customer?: never;
|
|
77430
|
+
} | {
|
|
77431
|
+
client_session_with_customer: never[];
|
|
77432
|
+
pat_with_workspace?: never;
|
|
77433
|
+
console_session_with_workspace?: never;
|
|
77434
|
+
api_key?: never;
|
|
77411
77435
|
})[];
|
|
77412
77436
|
summary: string;
|
|
77413
77437
|
tags: string[];
|
|
@@ -77643,14 +77667,22 @@ declare const _default: {
|
|
|
77643
77667
|
api_key: never[];
|
|
77644
77668
|
pat_with_workspace?: never;
|
|
77645
77669
|
console_session_with_workspace?: never;
|
|
77670
|
+
client_session_with_customer?: never;
|
|
77646
77671
|
} | {
|
|
77647
77672
|
pat_with_workspace: never[];
|
|
77648
77673
|
api_key?: never;
|
|
77649
77674
|
console_session_with_workspace?: never;
|
|
77675
|
+
client_session_with_customer?: never;
|
|
77650
77676
|
} | {
|
|
77651
77677
|
console_session_with_workspace: never[];
|
|
77652
77678
|
api_key?: never;
|
|
77653
77679
|
pat_with_workspace?: never;
|
|
77680
|
+
client_session_with_customer?: never;
|
|
77681
|
+
} | {
|
|
77682
|
+
client_session_with_customer: never[];
|
|
77683
|
+
api_key?: never;
|
|
77684
|
+
pat_with_workspace?: never;
|
|
77685
|
+
console_session_with_workspace?: never;
|
|
77654
77686
|
})[];
|
|
77655
77687
|
summary: string;
|
|
77656
77688
|
tags: string[];
|
|
@@ -81067,21 +81099,31 @@ declare const _default: {
|
|
|
81067
81099
|
pat_with_workspace?: never;
|
|
81068
81100
|
console_session_with_workspace?: never;
|
|
81069
81101
|
api_key?: never;
|
|
81102
|
+
client_session_with_customer?: never;
|
|
81070
81103
|
} | {
|
|
81071
81104
|
pat_with_workspace: never[];
|
|
81072
81105
|
client_session?: never;
|
|
81073
81106
|
console_session_with_workspace?: never;
|
|
81074
81107
|
api_key?: never;
|
|
81108
|
+
client_session_with_customer?: never;
|
|
81075
81109
|
} | {
|
|
81076
81110
|
console_session_with_workspace: never[];
|
|
81077
81111
|
client_session?: never;
|
|
81078
81112
|
pat_with_workspace?: never;
|
|
81079
81113
|
api_key?: never;
|
|
81114
|
+
client_session_with_customer?: never;
|
|
81080
81115
|
} | {
|
|
81081
81116
|
api_key: never[];
|
|
81082
81117
|
client_session?: never;
|
|
81083
81118
|
pat_with_workspace?: never;
|
|
81084
81119
|
console_session_with_workspace?: never;
|
|
81120
|
+
client_session_with_customer?: never;
|
|
81121
|
+
} | {
|
|
81122
|
+
client_session_with_customer: never[];
|
|
81123
|
+
client_session?: never;
|
|
81124
|
+
pat_with_workspace?: never;
|
|
81125
|
+
console_session_with_workspace?: never;
|
|
81126
|
+
api_key?: never;
|
|
81085
81127
|
})[];
|
|
81086
81128
|
summary: string;
|
|
81087
81129
|
tags: string[];
|
|
@@ -81143,21 +81185,31 @@ declare const _default: {
|
|
|
81143
81185
|
pat_with_workspace?: never;
|
|
81144
81186
|
console_session_with_workspace?: never;
|
|
81145
81187
|
api_key?: never;
|
|
81188
|
+
client_session_with_customer?: never;
|
|
81146
81189
|
} | {
|
|
81147
81190
|
pat_with_workspace: never[];
|
|
81148
81191
|
client_session?: never;
|
|
81149
81192
|
console_session_with_workspace?: never;
|
|
81150
81193
|
api_key?: never;
|
|
81194
|
+
client_session_with_customer?: never;
|
|
81151
81195
|
} | {
|
|
81152
81196
|
console_session_with_workspace: never[];
|
|
81153
81197
|
client_session?: never;
|
|
81154
81198
|
pat_with_workspace?: never;
|
|
81155
81199
|
api_key?: never;
|
|
81200
|
+
client_session_with_customer?: never;
|
|
81156
81201
|
} | {
|
|
81157
81202
|
api_key: never[];
|
|
81158
81203
|
client_session?: never;
|
|
81159
81204
|
pat_with_workspace?: never;
|
|
81160
81205
|
console_session_with_workspace?: never;
|
|
81206
|
+
client_session_with_customer?: never;
|
|
81207
|
+
} | {
|
|
81208
|
+
client_session_with_customer: never[];
|
|
81209
|
+
client_session?: never;
|
|
81210
|
+
pat_with_workspace?: never;
|
|
81211
|
+
console_session_with_workspace?: never;
|
|
81212
|
+
api_key?: never;
|
|
81161
81213
|
})[];
|
|
81162
81214
|
summary: string;
|
|
81163
81215
|
tags: string[];
|
|
@@ -123155,8 +123207,6 @@ type Routes = {
|
|
|
123155
123207
|
access_grant_id: string;
|
|
123156
123208
|
/** Reservation key for the access grant. */
|
|
123157
123209
|
reservation_key?: string | undefined;
|
|
123158
|
-
/** ID of user identity to which the Access Grant gives access. */
|
|
123159
|
-
user_identity_id: string;
|
|
123160
123210
|
/**
|
|
123161
123211
|
* @deprecated Use `space_ids`.*/
|
|
123162
123212
|
location_ids: string[];
|
|
@@ -123196,6 +123246,8 @@ type Routes = {
|
|
|
123196
123246
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
123197
123247
|
warning_code: 'being_deleted';
|
|
123198
123248
|
}[];
|
|
123249
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
123250
|
+
user_identity_id?: string | undefined;
|
|
123199
123251
|
};
|
|
123200
123252
|
};
|
|
123201
123253
|
};
|
|
@@ -123223,8 +123275,6 @@ type Routes = {
|
|
|
123223
123275
|
access_grant_id: string;
|
|
123224
123276
|
/** Reservation key for the access grant. */
|
|
123225
123277
|
reservation_key?: string | undefined;
|
|
123226
|
-
/** ID of user identity to which the Access Grant gives access. */
|
|
123227
|
-
user_identity_id: string;
|
|
123228
123278
|
/**
|
|
123229
123279
|
* @deprecated Use `space_ids`.*/
|
|
123230
123280
|
location_ids: string[];
|
|
@@ -123264,6 +123314,8 @@ type Routes = {
|
|
|
123264
123314
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
123265
123315
|
warning_code: 'being_deleted';
|
|
123266
123316
|
}[];
|
|
123317
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
123318
|
+
user_identity_id?: string | undefined;
|
|
123267
123319
|
}[];
|
|
123268
123320
|
};
|
|
123269
123321
|
};
|
|
@@ -124640,8 +124692,8 @@ type Routes = {
|
|
|
124640
124692
|
commonParams: {
|
|
124641
124693
|
/** IDs of the access methods that you want to get along with their related resources. */
|
|
124642
124694
|
access_method_ids: string[];
|
|
124643
|
-
include?: ('spaces' | 'devices' | 'acs_entrances' | 'access_grants' | 'access_methods' | 'instant_keys' | 'client_sessions')[] | undefined;
|
|
124644
|
-
exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'access_grants' | 'access_methods' | 'instant_keys' | 'client_sessions')[] | undefined;
|
|
124695
|
+
include?: ('spaces' | 'devices' | 'acs_entrances' | 'access_grants' | 'access_methods' | 'instant_keys' | 'client_sessions' | 'acs_credentials')[] | undefined;
|
|
124696
|
+
exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'access_grants' | 'access_methods' | 'instant_keys' | 'client_sessions' | 'acs_credentials')[] | undefined;
|
|
124645
124697
|
};
|
|
124646
124698
|
formData: {};
|
|
124647
124699
|
jsonResponse: {
|
package/dist/index.cjs
CHANGED
|
@@ -2409,7 +2409,10 @@ access_grant.omit({
|
|
|
2409
2409
|
client_session_token: true,
|
|
2410
2410
|
instant_key_url: true,
|
|
2411
2411
|
customization_profile_id: true,
|
|
2412
|
-
access_grant_key: true
|
|
2412
|
+
access_grant_key: true,
|
|
2413
|
+
user_identity_id: true
|
|
2414
|
+
}).extend({
|
|
2415
|
+
user_identity_id: access_grant.shape.user_identity_id.optional()
|
|
2413
2416
|
}).describe(`
|
|
2414
2417
|
---
|
|
2415
2418
|
draft: Early access.
|
|
@@ -32696,7 +32699,6 @@ var openapi_default = {
|
|
|
32696
32699
|
required: [
|
|
32697
32700
|
"workspace_id",
|
|
32698
32701
|
"access_grant_id",
|
|
32699
|
-
"user_identity_id",
|
|
32700
32702
|
"location_ids",
|
|
32701
32703
|
"space_ids",
|
|
32702
32704
|
"requested_access_methods",
|
|
@@ -32908,7 +32910,6 @@ var openapi_default = {
|
|
|
32908
32910
|
required: [
|
|
32909
32911
|
"workspace_id",
|
|
32910
32912
|
"access_grant_id",
|
|
32911
|
-
"user_identity_id",
|
|
32912
32913
|
"location_ids",
|
|
32913
32914
|
"space_ids",
|
|
32914
32915
|
"requested_access_methods",
|
|
@@ -33143,7 +33144,6 @@ var openapi_default = {
|
|
|
33143
33144
|
required: [
|
|
33144
33145
|
"workspace_id",
|
|
33145
33146
|
"access_grant_id",
|
|
33146
|
-
"user_identity_id",
|
|
33147
33147
|
"location_ids",
|
|
33148
33148
|
"space_ids",
|
|
33149
33149
|
"requested_access_methods",
|
|
@@ -33371,7 +33371,6 @@ var openapi_default = {
|
|
|
33371
33371
|
required: [
|
|
33372
33372
|
"workspace_id",
|
|
33373
33373
|
"access_grant_id",
|
|
33374
|
-
"user_identity_id",
|
|
33375
33374
|
"location_ids",
|
|
33376
33375
|
"space_ids",
|
|
33377
33376
|
"requested_access_methods",
|
|
@@ -33963,7 +33962,8 @@ var openapi_default = {
|
|
|
33963
33962
|
"access_grants",
|
|
33964
33963
|
"access_methods",
|
|
33965
33964
|
"instant_keys",
|
|
33966
|
-
"client_sessions"
|
|
33965
|
+
"client_sessions",
|
|
33966
|
+
"acs_credentials"
|
|
33967
33967
|
],
|
|
33968
33968
|
type: "string"
|
|
33969
33969
|
},
|
|
@@ -33983,7 +33983,8 @@ var openapi_default = {
|
|
|
33983
33983
|
"access_grants",
|
|
33984
33984
|
"access_methods",
|
|
33985
33985
|
"instant_keys",
|
|
33986
|
-
"client_sessions"
|
|
33986
|
+
"client_sessions",
|
|
33987
|
+
"acs_credentials"
|
|
33987
33988
|
],
|
|
33988
33989
|
type: "string"
|
|
33989
33990
|
},
|
|
@@ -34199,7 +34200,8 @@ var openapi_default = {
|
|
|
34199
34200
|
"access_grants",
|
|
34200
34201
|
"access_methods",
|
|
34201
34202
|
"instant_keys",
|
|
34202
|
-
"client_sessions"
|
|
34203
|
+
"client_sessions",
|
|
34204
|
+
"acs_credentials"
|
|
34203
34205
|
],
|
|
34204
34206
|
type: "string"
|
|
34205
34207
|
},
|
|
@@ -34214,7 +34216,8 @@ var openapi_default = {
|
|
|
34214
34216
|
"access_grants",
|
|
34215
34217
|
"access_methods",
|
|
34216
34218
|
"instant_keys",
|
|
34217
|
-
"client_sessions"
|
|
34219
|
+
"client_sessions",
|
|
34220
|
+
"acs_credentials"
|
|
34218
34221
|
],
|
|
34219
34222
|
type: "string"
|
|
34220
34223
|
},
|
|
@@ -37748,7 +37751,8 @@ var openapi_default = {
|
|
|
37748
37751
|
security: [
|
|
37749
37752
|
{ pat_with_workspace: [] },
|
|
37750
37753
|
{ console_session_with_workspace: [] },
|
|
37751
|
-
{ api_key: [] }
|
|
37754
|
+
{ api_key: [] },
|
|
37755
|
+
{ client_session_with_customer: [] }
|
|
37752
37756
|
],
|
|
37753
37757
|
summary: "/acs/encoders/encode_credential",
|
|
37754
37758
|
tags: ["/acs"],
|
|
@@ -37891,7 +37895,8 @@ var openapi_default = {
|
|
|
37891
37895
|
security: [
|
|
37892
37896
|
{ pat_with_workspace: [] },
|
|
37893
37897
|
{ console_session_with_workspace: [] },
|
|
37894
|
-
{ api_key: [] }
|
|
37898
|
+
{ api_key: [] },
|
|
37899
|
+
{ client_session_with_customer: [] }
|
|
37895
37900
|
],
|
|
37896
37901
|
summary: "/acs/encoders/list",
|
|
37897
37902
|
tags: ["/acs"],
|
|
@@ -37993,7 +37998,8 @@ var openapi_default = {
|
|
|
37993
37998
|
security: [
|
|
37994
37999
|
{ pat_with_workspace: [] },
|
|
37995
38000
|
{ console_session_with_workspace: [] },
|
|
37996
|
-
{ api_key: [] }
|
|
38001
|
+
{ api_key: [] },
|
|
38002
|
+
{ client_session_with_customer: [] }
|
|
37997
38003
|
],
|
|
37998
38004
|
summary: "/acs/encoders/list",
|
|
37999
38005
|
tags: ["/acs"],
|
|
@@ -38191,7 +38197,8 @@ var openapi_default = {
|
|
|
38191
38197
|
security: [
|
|
38192
38198
|
{ api_key: [] },
|
|
38193
38199
|
{ pat_with_workspace: [] },
|
|
38194
|
-
{ console_session_with_workspace: [] }
|
|
38200
|
+
{ console_session_with_workspace: [] },
|
|
38201
|
+
{ client_session_with_customer: [] }
|
|
38195
38202
|
],
|
|
38196
38203
|
summary: "/acs/encoders/simulate/next_credential_encode_will_succeed",
|
|
38197
38204
|
tags: ["/acs"],
|
|
@@ -40962,7 +40969,8 @@ var openapi_default = {
|
|
|
40962
40969
|
{ client_session: [] },
|
|
40963
40970
|
{ pat_with_workspace: [] },
|
|
40964
40971
|
{ console_session_with_workspace: [] },
|
|
40965
|
-
{ api_key: [] }
|
|
40972
|
+
{ api_key: [] },
|
|
40973
|
+
{ client_session_with_customer: [] }
|
|
40966
40974
|
],
|
|
40967
40975
|
summary: "/action_attempts/get",
|
|
40968
40976
|
tags: ["/action_attempts"],
|
|
@@ -41017,7 +41025,8 @@ var openapi_default = {
|
|
|
41017
41025
|
{ client_session: [] },
|
|
41018
41026
|
{ pat_with_workspace: [] },
|
|
41019
41027
|
{ console_session_with_workspace: [] },
|
|
41020
|
-
{ api_key: [] }
|
|
41028
|
+
{ api_key: [] },
|
|
41029
|
+
{ client_session_with_customer: [] }
|
|
41021
41030
|
],
|
|
41022
41031
|
summary: "/action_attempts/get",
|
|
41023
41032
|
tags: ["/action_attempts"],
|