@seamapi/types 1.593.0 → 1.595.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 +317 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +639 -99
- package/dist/index.cjs +317 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +432 -0
- package/lib/seam/connect/openapi.js +317 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +108 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +336 -0
- package/src/lib/seam/connect/route-types.ts +108 -0
package/dist/connect.d.cts
CHANGED
|
@@ -69806,6 +69806,108 @@ declare const _default: {
|
|
|
69806
69806
|
'x-title': string;
|
|
69807
69807
|
};
|
|
69808
69808
|
};
|
|
69809
|
+
'/access_grants/request_access_methods': {
|
|
69810
|
+
post: {
|
|
69811
|
+
description: string;
|
|
69812
|
+
operationId: string;
|
|
69813
|
+
requestBody: {
|
|
69814
|
+
content: {
|
|
69815
|
+
'application/json': {
|
|
69816
|
+
schema: {
|
|
69817
|
+
properties: {
|
|
69818
|
+
access_grant_id: {
|
|
69819
|
+
description: string;
|
|
69820
|
+
format: string;
|
|
69821
|
+
type: string;
|
|
69822
|
+
};
|
|
69823
|
+
requested_access_methods: {
|
|
69824
|
+
description: string;
|
|
69825
|
+
items: {
|
|
69826
|
+
properties: {
|
|
69827
|
+
code: {
|
|
69828
|
+
description: string;
|
|
69829
|
+
maxLength: number;
|
|
69830
|
+
minLength: number;
|
|
69831
|
+
pattern: string;
|
|
69832
|
+
type: string;
|
|
69833
|
+
};
|
|
69834
|
+
mode: {
|
|
69835
|
+
description: string;
|
|
69836
|
+
enum: string[];
|
|
69837
|
+
type: string;
|
|
69838
|
+
};
|
|
69839
|
+
};
|
|
69840
|
+
required: string[];
|
|
69841
|
+
type: string;
|
|
69842
|
+
};
|
|
69843
|
+
minItems: number;
|
|
69844
|
+
type: string;
|
|
69845
|
+
};
|
|
69846
|
+
};
|
|
69847
|
+
required: string[];
|
|
69848
|
+
type: string;
|
|
69849
|
+
};
|
|
69850
|
+
};
|
|
69851
|
+
};
|
|
69852
|
+
};
|
|
69853
|
+
responses: {
|
|
69854
|
+
200: {
|
|
69855
|
+
content: {
|
|
69856
|
+
'application/json': {
|
|
69857
|
+
schema: {
|
|
69858
|
+
properties: {
|
|
69859
|
+
access_grant: {
|
|
69860
|
+
$ref: string;
|
|
69861
|
+
};
|
|
69862
|
+
ok: {
|
|
69863
|
+
type: string;
|
|
69864
|
+
};
|
|
69865
|
+
};
|
|
69866
|
+
required: string[];
|
|
69867
|
+
type: string;
|
|
69868
|
+
};
|
|
69869
|
+
};
|
|
69870
|
+
};
|
|
69871
|
+
description: string;
|
|
69872
|
+
};
|
|
69873
|
+
400: {
|
|
69874
|
+
description: string;
|
|
69875
|
+
};
|
|
69876
|
+
401: {
|
|
69877
|
+
description: string;
|
|
69878
|
+
};
|
|
69879
|
+
};
|
|
69880
|
+
security: ({
|
|
69881
|
+
pat_with_workspace: never[];
|
|
69882
|
+
console_session_with_workspace?: never;
|
|
69883
|
+
api_key?: never;
|
|
69884
|
+
client_session_with_customer?: never;
|
|
69885
|
+
} | {
|
|
69886
|
+
console_session_with_workspace: never[];
|
|
69887
|
+
pat_with_workspace?: never;
|
|
69888
|
+
api_key?: never;
|
|
69889
|
+
client_session_with_customer?: never;
|
|
69890
|
+
} | {
|
|
69891
|
+
api_key: never[];
|
|
69892
|
+
pat_with_workspace?: never;
|
|
69893
|
+
console_session_with_workspace?: never;
|
|
69894
|
+
client_session_with_customer?: never;
|
|
69895
|
+
} | {
|
|
69896
|
+
client_session_with_customer: never[];
|
|
69897
|
+
pat_with_workspace?: never;
|
|
69898
|
+
console_session_with_workspace?: never;
|
|
69899
|
+
api_key?: never;
|
|
69900
|
+
})[];
|
|
69901
|
+
summary: string;
|
|
69902
|
+
tags: never[];
|
|
69903
|
+
'x-draft': string;
|
|
69904
|
+
'x-fern-sdk-group-name': string[];
|
|
69905
|
+
'x-fern-sdk-method-name': string;
|
|
69906
|
+
'x-fern-sdk-return-value': string;
|
|
69907
|
+
'x-response-key': string;
|
|
69908
|
+
'x-title': string;
|
|
69909
|
+
};
|
|
69910
|
+
};
|
|
69809
69911
|
'/access_grants/unmanaged/get': {
|
|
69810
69912
|
get: {
|
|
69811
69913
|
description: string;
|
|
@@ -70682,7 +70784,7 @@ declare const _default: {
|
|
|
70682
70784
|
'x-title': string;
|
|
70683
70785
|
};
|
|
70684
70786
|
};
|
|
70685
|
-
'/access_grants/update': {
|
|
70787
|
+
'/access_grants/unmanaged/update': {
|
|
70686
70788
|
patch: {
|
|
70687
70789
|
description: string;
|
|
70688
70790
|
operationId: string;
|
|
@@ -70696,20 +70798,13 @@ declare const _default: {
|
|
|
70696
70798
|
format: string;
|
|
70697
70799
|
type: string;
|
|
70698
70800
|
};
|
|
70699
|
-
|
|
70700
|
-
description: string;
|
|
70701
|
-
format: string;
|
|
70702
|
-
nullable: boolean;
|
|
70703
|
-
type: string;
|
|
70704
|
-
};
|
|
70705
|
-
name: {
|
|
70801
|
+
access_grant_key: {
|
|
70706
70802
|
description: string;
|
|
70707
|
-
nullable: boolean;
|
|
70708
70803
|
type: string;
|
|
70709
70804
|
};
|
|
70710
|
-
|
|
70805
|
+
is_managed: {
|
|
70711
70806
|
description: string;
|
|
70712
|
-
|
|
70807
|
+
enum: boolean[];
|
|
70713
70808
|
type: string;
|
|
70714
70809
|
};
|
|
70715
70810
|
};
|
|
@@ -70785,20 +70880,13 @@ declare const _default: {
|
|
|
70785
70880
|
format: string;
|
|
70786
70881
|
type: string;
|
|
70787
70882
|
};
|
|
70788
|
-
|
|
70789
|
-
description: string;
|
|
70790
|
-
format: string;
|
|
70791
|
-
nullable: boolean;
|
|
70792
|
-
type: string;
|
|
70793
|
-
};
|
|
70794
|
-
name: {
|
|
70883
|
+
access_grant_key: {
|
|
70795
70884
|
description: string;
|
|
70796
|
-
nullable: boolean;
|
|
70797
70885
|
type: string;
|
|
70798
70886
|
};
|
|
70799
|
-
|
|
70887
|
+
is_managed: {
|
|
70800
70888
|
description: string;
|
|
70801
|
-
|
|
70889
|
+
enum: boolean[];
|
|
70802
70890
|
type: string;
|
|
70803
70891
|
};
|
|
70804
70892
|
};
|
|
@@ -70862,66 +70950,8 @@ declare const _default: {
|
|
|
70862
70950
|
'x-title': string;
|
|
70863
70951
|
};
|
|
70864
70952
|
};
|
|
70865
|
-
'/
|
|
70866
|
-
|
|
70867
|
-
description: string;
|
|
70868
|
-
operationId: string;
|
|
70869
|
-
parameters: {
|
|
70870
|
-
in: string;
|
|
70871
|
-
name: string;
|
|
70872
|
-
required: boolean;
|
|
70873
|
-
schema: {
|
|
70874
|
-
description: string;
|
|
70875
|
-
format: string;
|
|
70876
|
-
type: string;
|
|
70877
|
-
};
|
|
70878
|
-
}[];
|
|
70879
|
-
responses: {
|
|
70880
|
-
200: {
|
|
70881
|
-
content: {
|
|
70882
|
-
'application/json': {
|
|
70883
|
-
schema: {
|
|
70884
|
-
properties: {
|
|
70885
|
-
ok: {
|
|
70886
|
-
type: string;
|
|
70887
|
-
};
|
|
70888
|
-
};
|
|
70889
|
-
required: string[];
|
|
70890
|
-
type: string;
|
|
70891
|
-
};
|
|
70892
|
-
};
|
|
70893
|
-
};
|
|
70894
|
-
description: string;
|
|
70895
|
-
};
|
|
70896
|
-
400: {
|
|
70897
|
-
description: string;
|
|
70898
|
-
};
|
|
70899
|
-
401: {
|
|
70900
|
-
description: string;
|
|
70901
|
-
};
|
|
70902
|
-
};
|
|
70903
|
-
security: ({
|
|
70904
|
-
pat_with_workspace: never[];
|
|
70905
|
-
console_session_with_workspace?: never;
|
|
70906
|
-
api_key?: never;
|
|
70907
|
-
} | {
|
|
70908
|
-
console_session_with_workspace: never[];
|
|
70909
|
-
pat_with_workspace?: never;
|
|
70910
|
-
api_key?: never;
|
|
70911
|
-
} | {
|
|
70912
|
-
api_key: never[];
|
|
70913
|
-
pat_with_workspace?: never;
|
|
70914
|
-
console_session_with_workspace?: never;
|
|
70915
|
-
})[];
|
|
70916
|
-
summary: string;
|
|
70917
|
-
tags: never[];
|
|
70918
|
-
'x-draft': string;
|
|
70919
|
-
'x-fern-sdk-group-name': string[];
|
|
70920
|
-
'x-fern-sdk-method-name': string;
|
|
70921
|
-
'x-response-key': null;
|
|
70922
|
-
'x-title': string;
|
|
70923
|
-
};
|
|
70924
|
-
post: {
|
|
70953
|
+
'/access_grants/update': {
|
|
70954
|
+
patch: {
|
|
70925
70955
|
description: string;
|
|
70926
70956
|
operationId: string;
|
|
70927
70957
|
requestBody: {
|
|
@@ -70929,7 +70959,23 @@ declare const _default: {
|
|
|
70929
70959
|
'application/json': {
|
|
70930
70960
|
schema: {
|
|
70931
70961
|
properties: {
|
|
70932
|
-
|
|
70962
|
+
access_grant_id: {
|
|
70963
|
+
description: string;
|
|
70964
|
+
format: string;
|
|
70965
|
+
type: string;
|
|
70966
|
+
};
|
|
70967
|
+
ends_at: {
|
|
70968
|
+
description: string;
|
|
70969
|
+
format: string;
|
|
70970
|
+
nullable: boolean;
|
|
70971
|
+
type: string;
|
|
70972
|
+
};
|
|
70973
|
+
name: {
|
|
70974
|
+
description: string;
|
|
70975
|
+
nullable: boolean;
|
|
70976
|
+
type: string;
|
|
70977
|
+
};
|
|
70978
|
+
starts_at: {
|
|
70933
70979
|
description: string;
|
|
70934
70980
|
format: string;
|
|
70935
70981
|
type: string;
|
|
@@ -70969,14 +71015,22 @@ declare const _default: {
|
|
|
70969
71015
|
pat_with_workspace: never[];
|
|
70970
71016
|
console_session_with_workspace?: never;
|
|
70971
71017
|
api_key?: never;
|
|
71018
|
+
client_session_with_customer?: never;
|
|
70972
71019
|
} | {
|
|
70973
71020
|
console_session_with_workspace: never[];
|
|
70974
71021
|
pat_with_workspace?: never;
|
|
70975
71022
|
api_key?: never;
|
|
71023
|
+
client_session_with_customer?: never;
|
|
70976
71024
|
} | {
|
|
70977
71025
|
api_key: never[];
|
|
70978
71026
|
pat_with_workspace?: never;
|
|
70979
71027
|
console_session_with_workspace?: never;
|
|
71028
|
+
client_session_with_customer?: never;
|
|
71029
|
+
} | {
|
|
71030
|
+
client_session_with_customer: never[];
|
|
71031
|
+
pat_with_workspace?: never;
|
|
71032
|
+
console_session_with_workspace?: never;
|
|
71033
|
+
api_key?: never;
|
|
70980
71034
|
})[];
|
|
70981
71035
|
summary: string;
|
|
70982
71036
|
tags: never[];
|
|
@@ -70986,8 +71040,6 @@ declare const _default: {
|
|
|
70986
71040
|
'x-response-key': null;
|
|
70987
71041
|
'x-title': string;
|
|
70988
71042
|
};
|
|
70989
|
-
};
|
|
70990
|
-
'/access_methods/encode': {
|
|
70991
71043
|
post: {
|
|
70992
71044
|
description: string;
|
|
70993
71045
|
operationId: string;
|
|
@@ -70996,12 +71048,23 @@ declare const _default: {
|
|
|
70996
71048
|
'application/json': {
|
|
70997
71049
|
schema: {
|
|
70998
71050
|
properties: {
|
|
70999
|
-
|
|
71051
|
+
access_grant_id: {
|
|
71000
71052
|
description: string;
|
|
71001
71053
|
format: string;
|
|
71002
71054
|
type: string;
|
|
71003
71055
|
};
|
|
71004
|
-
|
|
71056
|
+
ends_at: {
|
|
71057
|
+
description: string;
|
|
71058
|
+
format: string;
|
|
71059
|
+
nullable: boolean;
|
|
71060
|
+
type: string;
|
|
71061
|
+
};
|
|
71062
|
+
name: {
|
|
71063
|
+
description: string;
|
|
71064
|
+
nullable: boolean;
|
|
71065
|
+
type: string;
|
|
71066
|
+
};
|
|
71067
|
+
starts_at: {
|
|
71005
71068
|
description: string;
|
|
71006
71069
|
format: string;
|
|
71007
71070
|
type: string;
|
|
@@ -71019,9 +71082,6 @@ declare const _default: {
|
|
|
71019
71082
|
'application/json': {
|
|
71020
71083
|
schema: {
|
|
71021
71084
|
properties: {
|
|
71022
|
-
action_attempt: {
|
|
71023
|
-
$ref: string;
|
|
71024
|
-
};
|
|
71025
71085
|
ok: {
|
|
71026
71086
|
type: string;
|
|
71027
71087
|
};
|
|
@@ -71044,27 +71104,34 @@ declare const _default: {
|
|
|
71044
71104
|
pat_with_workspace: never[];
|
|
71045
71105
|
console_session_with_workspace?: never;
|
|
71046
71106
|
api_key?: never;
|
|
71107
|
+
client_session_with_customer?: never;
|
|
71047
71108
|
} | {
|
|
71048
71109
|
console_session_with_workspace: never[];
|
|
71049
71110
|
pat_with_workspace?: never;
|
|
71050
71111
|
api_key?: never;
|
|
71112
|
+
client_session_with_customer?: never;
|
|
71051
71113
|
} | {
|
|
71052
71114
|
api_key: never[];
|
|
71053
71115
|
pat_with_workspace?: never;
|
|
71054
71116
|
console_session_with_workspace?: never;
|
|
71117
|
+
client_session_with_customer?: never;
|
|
71118
|
+
} | {
|
|
71119
|
+
client_session_with_customer: never[];
|
|
71120
|
+
pat_with_workspace?: never;
|
|
71121
|
+
console_session_with_workspace?: never;
|
|
71122
|
+
api_key?: never;
|
|
71055
71123
|
})[];
|
|
71056
71124
|
summary: string;
|
|
71057
71125
|
tags: never[];
|
|
71058
|
-
'x-
|
|
71126
|
+
'x-draft': string;
|
|
71059
71127
|
'x-fern-sdk-group-name': string[];
|
|
71060
71128
|
'x-fern-sdk-method-name': string;
|
|
71061
|
-
'x-
|
|
71062
|
-
'x-response-key': string;
|
|
71129
|
+
'x-response-key': null;
|
|
71063
71130
|
'x-title': string;
|
|
71064
71131
|
};
|
|
71065
71132
|
};
|
|
71066
|
-
'/access_methods/
|
|
71067
|
-
|
|
71133
|
+
'/access_methods/delete': {
|
|
71134
|
+
delete: {
|
|
71068
71135
|
description: string;
|
|
71069
71136
|
operationId: string;
|
|
71070
71137
|
parameters: {
|
|
@@ -71083,9 +71150,6 @@ declare const _default: {
|
|
|
71083
71150
|
'application/json': {
|
|
71084
71151
|
schema: {
|
|
71085
71152
|
properties: {
|
|
71086
|
-
access_method: {
|
|
71087
|
-
$ref: string;
|
|
71088
|
-
};
|
|
71089
71153
|
ok: {
|
|
71090
71154
|
type: string;
|
|
71091
71155
|
};
|
|
@@ -71122,8 +71186,212 @@ declare const _default: {
|
|
|
71122
71186
|
'x-draft': string;
|
|
71123
71187
|
'x-fern-sdk-group-name': string[];
|
|
71124
71188
|
'x-fern-sdk-method-name': string;
|
|
71125
|
-
'x-
|
|
71126
|
-
'x-
|
|
71189
|
+
'x-response-key': null;
|
|
71190
|
+
'x-title': string;
|
|
71191
|
+
};
|
|
71192
|
+
post: {
|
|
71193
|
+
description: string;
|
|
71194
|
+
operationId: string;
|
|
71195
|
+
requestBody: {
|
|
71196
|
+
content: {
|
|
71197
|
+
'application/json': {
|
|
71198
|
+
schema: {
|
|
71199
|
+
properties: {
|
|
71200
|
+
access_method_id: {
|
|
71201
|
+
description: string;
|
|
71202
|
+
format: string;
|
|
71203
|
+
type: string;
|
|
71204
|
+
};
|
|
71205
|
+
};
|
|
71206
|
+
required: string[];
|
|
71207
|
+
type: string;
|
|
71208
|
+
};
|
|
71209
|
+
};
|
|
71210
|
+
};
|
|
71211
|
+
};
|
|
71212
|
+
responses: {
|
|
71213
|
+
200: {
|
|
71214
|
+
content: {
|
|
71215
|
+
'application/json': {
|
|
71216
|
+
schema: {
|
|
71217
|
+
properties: {
|
|
71218
|
+
ok: {
|
|
71219
|
+
type: string;
|
|
71220
|
+
};
|
|
71221
|
+
};
|
|
71222
|
+
required: string[];
|
|
71223
|
+
type: string;
|
|
71224
|
+
};
|
|
71225
|
+
};
|
|
71226
|
+
};
|
|
71227
|
+
description: string;
|
|
71228
|
+
};
|
|
71229
|
+
400: {
|
|
71230
|
+
description: string;
|
|
71231
|
+
};
|
|
71232
|
+
401: {
|
|
71233
|
+
description: string;
|
|
71234
|
+
};
|
|
71235
|
+
};
|
|
71236
|
+
security: ({
|
|
71237
|
+
pat_with_workspace: never[];
|
|
71238
|
+
console_session_with_workspace?: never;
|
|
71239
|
+
api_key?: never;
|
|
71240
|
+
} | {
|
|
71241
|
+
console_session_with_workspace: never[];
|
|
71242
|
+
pat_with_workspace?: never;
|
|
71243
|
+
api_key?: never;
|
|
71244
|
+
} | {
|
|
71245
|
+
api_key: never[];
|
|
71246
|
+
pat_with_workspace?: never;
|
|
71247
|
+
console_session_with_workspace?: never;
|
|
71248
|
+
})[];
|
|
71249
|
+
summary: string;
|
|
71250
|
+
tags: never[];
|
|
71251
|
+
'x-draft': string;
|
|
71252
|
+
'x-fern-sdk-group-name': string[];
|
|
71253
|
+
'x-fern-sdk-method-name': string;
|
|
71254
|
+
'x-response-key': null;
|
|
71255
|
+
'x-title': string;
|
|
71256
|
+
};
|
|
71257
|
+
};
|
|
71258
|
+
'/access_methods/encode': {
|
|
71259
|
+
post: {
|
|
71260
|
+
description: string;
|
|
71261
|
+
operationId: string;
|
|
71262
|
+
requestBody: {
|
|
71263
|
+
content: {
|
|
71264
|
+
'application/json': {
|
|
71265
|
+
schema: {
|
|
71266
|
+
properties: {
|
|
71267
|
+
access_method_id: {
|
|
71268
|
+
description: string;
|
|
71269
|
+
format: string;
|
|
71270
|
+
type: string;
|
|
71271
|
+
};
|
|
71272
|
+
acs_encoder_id: {
|
|
71273
|
+
description: string;
|
|
71274
|
+
format: string;
|
|
71275
|
+
type: string;
|
|
71276
|
+
};
|
|
71277
|
+
};
|
|
71278
|
+
required: string[];
|
|
71279
|
+
type: string;
|
|
71280
|
+
};
|
|
71281
|
+
};
|
|
71282
|
+
};
|
|
71283
|
+
};
|
|
71284
|
+
responses: {
|
|
71285
|
+
200: {
|
|
71286
|
+
content: {
|
|
71287
|
+
'application/json': {
|
|
71288
|
+
schema: {
|
|
71289
|
+
properties: {
|
|
71290
|
+
action_attempt: {
|
|
71291
|
+
$ref: string;
|
|
71292
|
+
};
|
|
71293
|
+
ok: {
|
|
71294
|
+
type: string;
|
|
71295
|
+
};
|
|
71296
|
+
};
|
|
71297
|
+
required: string[];
|
|
71298
|
+
type: string;
|
|
71299
|
+
};
|
|
71300
|
+
};
|
|
71301
|
+
};
|
|
71302
|
+
description: string;
|
|
71303
|
+
};
|
|
71304
|
+
400: {
|
|
71305
|
+
description: string;
|
|
71306
|
+
};
|
|
71307
|
+
401: {
|
|
71308
|
+
description: string;
|
|
71309
|
+
};
|
|
71310
|
+
};
|
|
71311
|
+
security: ({
|
|
71312
|
+
pat_with_workspace: never[];
|
|
71313
|
+
console_session_with_workspace?: never;
|
|
71314
|
+
api_key?: never;
|
|
71315
|
+
} | {
|
|
71316
|
+
console_session_with_workspace: never[];
|
|
71317
|
+
pat_with_workspace?: never;
|
|
71318
|
+
api_key?: never;
|
|
71319
|
+
} | {
|
|
71320
|
+
api_key: never[];
|
|
71321
|
+
pat_with_workspace?: never;
|
|
71322
|
+
console_session_with_workspace?: never;
|
|
71323
|
+
})[];
|
|
71324
|
+
summary: string;
|
|
71325
|
+
tags: never[];
|
|
71326
|
+
'x-action-attempt-type': string;
|
|
71327
|
+
'x-fern-sdk-group-name': string[];
|
|
71328
|
+
'x-fern-sdk-method-name': string;
|
|
71329
|
+
'x-fern-sdk-return-value': string;
|
|
71330
|
+
'x-response-key': string;
|
|
71331
|
+
'x-title': string;
|
|
71332
|
+
};
|
|
71333
|
+
};
|
|
71334
|
+
'/access_methods/get': {
|
|
71335
|
+
get: {
|
|
71336
|
+
description: string;
|
|
71337
|
+
operationId: string;
|
|
71338
|
+
parameters: {
|
|
71339
|
+
in: string;
|
|
71340
|
+
name: string;
|
|
71341
|
+
required: boolean;
|
|
71342
|
+
schema: {
|
|
71343
|
+
description: string;
|
|
71344
|
+
format: string;
|
|
71345
|
+
type: string;
|
|
71346
|
+
};
|
|
71347
|
+
}[];
|
|
71348
|
+
responses: {
|
|
71349
|
+
200: {
|
|
71350
|
+
content: {
|
|
71351
|
+
'application/json': {
|
|
71352
|
+
schema: {
|
|
71353
|
+
properties: {
|
|
71354
|
+
access_method: {
|
|
71355
|
+
$ref: string;
|
|
71356
|
+
};
|
|
71357
|
+
ok: {
|
|
71358
|
+
type: string;
|
|
71359
|
+
};
|
|
71360
|
+
};
|
|
71361
|
+
required: string[];
|
|
71362
|
+
type: string;
|
|
71363
|
+
};
|
|
71364
|
+
};
|
|
71365
|
+
};
|
|
71366
|
+
description: string;
|
|
71367
|
+
};
|
|
71368
|
+
400: {
|
|
71369
|
+
description: string;
|
|
71370
|
+
};
|
|
71371
|
+
401: {
|
|
71372
|
+
description: string;
|
|
71373
|
+
};
|
|
71374
|
+
};
|
|
71375
|
+
security: ({
|
|
71376
|
+
pat_with_workspace: never[];
|
|
71377
|
+
console_session_with_workspace?: never;
|
|
71378
|
+
api_key?: never;
|
|
71379
|
+
} | {
|
|
71380
|
+
console_session_with_workspace: never[];
|
|
71381
|
+
pat_with_workspace?: never;
|
|
71382
|
+
api_key?: never;
|
|
71383
|
+
} | {
|
|
71384
|
+
api_key: never[];
|
|
71385
|
+
pat_with_workspace?: never;
|
|
71386
|
+
console_session_with_workspace?: never;
|
|
71387
|
+
})[];
|
|
71388
|
+
summary: string;
|
|
71389
|
+
tags: never[];
|
|
71390
|
+
'x-draft': string;
|
|
71391
|
+
'x-fern-sdk-group-name': string[];
|
|
71392
|
+
'x-fern-sdk-method-name': string;
|
|
71393
|
+
'x-fern-sdk-return-value': string;
|
|
71394
|
+
'x-response-key': string;
|
|
71127
71395
|
'x-title': string;
|
|
71128
71396
|
};
|
|
71129
71397
|
post: {
|
|
@@ -104655,6 +104923,170 @@ declare const _default: {
|
|
|
104655
104923
|
'x-title': string;
|
|
104656
104924
|
};
|
|
104657
104925
|
};
|
|
104926
|
+
'/user_identities/unmanaged/update': {
|
|
104927
|
+
patch: {
|
|
104928
|
+
description: string;
|
|
104929
|
+
operationId: string;
|
|
104930
|
+
requestBody: {
|
|
104931
|
+
content: {
|
|
104932
|
+
'application/json': {
|
|
104933
|
+
schema: {
|
|
104934
|
+
properties: {
|
|
104935
|
+
is_managed: {
|
|
104936
|
+
description: string;
|
|
104937
|
+
enum: boolean[];
|
|
104938
|
+
type: string;
|
|
104939
|
+
};
|
|
104940
|
+
user_identity_id: {
|
|
104941
|
+
description: string;
|
|
104942
|
+
format: string;
|
|
104943
|
+
type: string;
|
|
104944
|
+
};
|
|
104945
|
+
user_identity_key: {
|
|
104946
|
+
description: string;
|
|
104947
|
+
type: string;
|
|
104948
|
+
};
|
|
104949
|
+
};
|
|
104950
|
+
required: string[];
|
|
104951
|
+
type: string;
|
|
104952
|
+
};
|
|
104953
|
+
};
|
|
104954
|
+
};
|
|
104955
|
+
};
|
|
104956
|
+
responses: {
|
|
104957
|
+
200: {
|
|
104958
|
+
content: {
|
|
104959
|
+
'application/json': {
|
|
104960
|
+
schema: {
|
|
104961
|
+
properties: {
|
|
104962
|
+
ok: {
|
|
104963
|
+
type: string;
|
|
104964
|
+
};
|
|
104965
|
+
};
|
|
104966
|
+
required: string[];
|
|
104967
|
+
type: string;
|
|
104968
|
+
};
|
|
104969
|
+
};
|
|
104970
|
+
};
|
|
104971
|
+
description: string;
|
|
104972
|
+
};
|
|
104973
|
+
400: {
|
|
104974
|
+
description: string;
|
|
104975
|
+
};
|
|
104976
|
+
401: {
|
|
104977
|
+
description: string;
|
|
104978
|
+
};
|
|
104979
|
+
};
|
|
104980
|
+
security: ({
|
|
104981
|
+
api_key: never[];
|
|
104982
|
+
client_session?: never;
|
|
104983
|
+
pat_with_workspace?: never;
|
|
104984
|
+
console_session_with_workspace?: never;
|
|
104985
|
+
} | {
|
|
104986
|
+
client_session: never[];
|
|
104987
|
+
api_key?: never;
|
|
104988
|
+
pat_with_workspace?: never;
|
|
104989
|
+
console_session_with_workspace?: never;
|
|
104990
|
+
} | {
|
|
104991
|
+
pat_with_workspace: never[];
|
|
104992
|
+
api_key?: never;
|
|
104993
|
+
client_session?: never;
|
|
104994
|
+
console_session_with_workspace?: never;
|
|
104995
|
+
} | {
|
|
104996
|
+
console_session_with_workspace: never[];
|
|
104997
|
+
api_key?: never;
|
|
104998
|
+
client_session?: never;
|
|
104999
|
+
pat_with_workspace?: never;
|
|
105000
|
+
})[];
|
|
105001
|
+
summary: string;
|
|
105002
|
+
tags: string[];
|
|
105003
|
+
'x-fern-sdk-group-name': string[];
|
|
105004
|
+
'x-fern-sdk-method-name': string;
|
|
105005
|
+
'x-response-key': null;
|
|
105006
|
+
'x-title': string;
|
|
105007
|
+
};
|
|
105008
|
+
post: {
|
|
105009
|
+
description: string;
|
|
105010
|
+
operationId: string;
|
|
105011
|
+
requestBody: {
|
|
105012
|
+
content: {
|
|
105013
|
+
'application/json': {
|
|
105014
|
+
schema: {
|
|
105015
|
+
properties: {
|
|
105016
|
+
is_managed: {
|
|
105017
|
+
description: string;
|
|
105018
|
+
enum: boolean[];
|
|
105019
|
+
type: string;
|
|
105020
|
+
};
|
|
105021
|
+
user_identity_id: {
|
|
105022
|
+
description: string;
|
|
105023
|
+
format: string;
|
|
105024
|
+
type: string;
|
|
105025
|
+
};
|
|
105026
|
+
user_identity_key: {
|
|
105027
|
+
description: string;
|
|
105028
|
+
type: string;
|
|
105029
|
+
};
|
|
105030
|
+
};
|
|
105031
|
+
required: string[];
|
|
105032
|
+
type: string;
|
|
105033
|
+
};
|
|
105034
|
+
};
|
|
105035
|
+
};
|
|
105036
|
+
};
|
|
105037
|
+
responses: {
|
|
105038
|
+
200: {
|
|
105039
|
+
content: {
|
|
105040
|
+
'application/json': {
|
|
105041
|
+
schema: {
|
|
105042
|
+
properties: {
|
|
105043
|
+
ok: {
|
|
105044
|
+
type: string;
|
|
105045
|
+
};
|
|
105046
|
+
};
|
|
105047
|
+
required: string[];
|
|
105048
|
+
type: string;
|
|
105049
|
+
};
|
|
105050
|
+
};
|
|
105051
|
+
};
|
|
105052
|
+
description: string;
|
|
105053
|
+
};
|
|
105054
|
+
400: {
|
|
105055
|
+
description: string;
|
|
105056
|
+
};
|
|
105057
|
+
401: {
|
|
105058
|
+
description: string;
|
|
105059
|
+
};
|
|
105060
|
+
};
|
|
105061
|
+
security: ({
|
|
105062
|
+
api_key: never[];
|
|
105063
|
+
client_session?: never;
|
|
105064
|
+
pat_with_workspace?: never;
|
|
105065
|
+
console_session_with_workspace?: never;
|
|
105066
|
+
} | {
|
|
105067
|
+
client_session: never[];
|
|
105068
|
+
api_key?: never;
|
|
105069
|
+
pat_with_workspace?: never;
|
|
105070
|
+
console_session_with_workspace?: never;
|
|
105071
|
+
} | {
|
|
105072
|
+
pat_with_workspace: never[];
|
|
105073
|
+
api_key?: never;
|
|
105074
|
+
client_session?: never;
|
|
105075
|
+
console_session_with_workspace?: never;
|
|
105076
|
+
} | {
|
|
105077
|
+
console_session_with_workspace: never[];
|
|
105078
|
+
api_key?: never;
|
|
105079
|
+
client_session?: never;
|
|
105080
|
+
pat_with_workspace?: never;
|
|
105081
|
+
})[];
|
|
105082
|
+
summary: string;
|
|
105083
|
+
tags: string[];
|
|
105084
|
+
'x-fern-sdk-group-name': string[];
|
|
105085
|
+
'x-fern-sdk-method-name': string;
|
|
105086
|
+
'x-response-key': null;
|
|
105087
|
+
'x-title': string;
|
|
105088
|
+
};
|
|
105089
|
+
};
|
|
104658
105090
|
'/user_identities/update': {
|
|
104659
105091
|
patch: {
|
|
104660
105092
|
description: string;
|
|
@@ -119001,6 +119433,82 @@ type Routes = {
|
|
|
119001
119433
|
}[];
|
|
119002
119434
|
};
|
|
119003
119435
|
};
|
|
119436
|
+
'/access_grants/request_access_methods': {
|
|
119437
|
+
route: '/access_grants/request_access_methods';
|
|
119438
|
+
method: 'POST';
|
|
119439
|
+
queryParams: {};
|
|
119440
|
+
jsonBody: {};
|
|
119441
|
+
commonParams: {
|
|
119442
|
+
/** ID of the Access Grant to add access methods to. */
|
|
119443
|
+
access_grant_id: string;
|
|
119444
|
+
/** Array of requested access methods to add to the access grant. */
|
|
119445
|
+
requested_access_methods: {
|
|
119446
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
119447
|
+
mode: 'code' | 'card' | 'mobile_key';
|
|
119448
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
119449
|
+
code?: string | undefined;
|
|
119450
|
+
}[];
|
|
119451
|
+
};
|
|
119452
|
+
formData: {};
|
|
119453
|
+
jsonResponse: {
|
|
119454
|
+
/** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
|
|
119455
|
+
access_grant: {
|
|
119456
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
119457
|
+
workspace_id: string;
|
|
119458
|
+
/** ID of the Access Grant. */
|
|
119459
|
+
access_grant_id: string;
|
|
119460
|
+
/** Unique key for the access grant within the workspace. */
|
|
119461
|
+
access_grant_key?: string | undefined;
|
|
119462
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
119463
|
+
user_identity_id: string;
|
|
119464
|
+
/**
|
|
119465
|
+
* @deprecated Use `space_ids`.*/
|
|
119466
|
+
location_ids: string[];
|
|
119467
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
119468
|
+
space_ids: string[];
|
|
119469
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
119470
|
+
requested_access_methods: {
|
|
119471
|
+
/** Display name of the access method. */
|
|
119472
|
+
display_name: string;
|
|
119473
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
119474
|
+
mode: 'code' | 'card' | 'mobile_key';
|
|
119475
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
119476
|
+
code?: string | undefined;
|
|
119477
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
119478
|
+
created_at: string;
|
|
119479
|
+
/** IDs of the access methods created for the requested access method. */
|
|
119480
|
+
created_access_method_ids: string[];
|
|
119481
|
+
}[];
|
|
119482
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
119483
|
+
access_method_ids: string[];
|
|
119484
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
119485
|
+
client_session_token?: string | undefined;
|
|
119486
|
+
/** Name of the Access Grant. If not provided, the display name will be computed. */
|
|
119487
|
+
name: string | null;
|
|
119488
|
+
/** Display name of the Access Grant. */
|
|
119489
|
+
display_name: string;
|
|
119490
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
119491
|
+
instant_key_url?: string | undefined;
|
|
119492
|
+
/** Date and time at which the Access Grant was created. */
|
|
119493
|
+
created_at: string;
|
|
119494
|
+
/** Date and time at which the Access Grant starts. */
|
|
119495
|
+
starts_at: string;
|
|
119496
|
+
/** Date and time at which the Access Grant ends. */
|
|
119497
|
+
ends_at: string | null;
|
|
119498
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
119499
|
+
warnings: {
|
|
119500
|
+
/** Date and time at which Seam created the warning. */
|
|
119501
|
+
created_at: string;
|
|
119502
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
119503
|
+
message: string;
|
|
119504
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
119505
|
+
warning_code: 'being_deleted';
|
|
119506
|
+
}[];
|
|
119507
|
+
/** ID of the customization profile associated with the Access Grant. */
|
|
119508
|
+
customization_profile_id?: string | undefined;
|
|
119509
|
+
};
|
|
119510
|
+
};
|
|
119511
|
+
};
|
|
119004
119512
|
'/access_grants/unmanaged/get': {
|
|
119005
119513
|
route: '/access_grants/unmanaged/get';
|
|
119006
119514
|
method: 'GET' | 'POST';
|
|
@@ -119126,6 +119634,22 @@ type Routes = {
|
|
|
119126
119634
|
}[];
|
|
119127
119635
|
};
|
|
119128
119636
|
};
|
|
119637
|
+
'/access_grants/unmanaged/update': {
|
|
119638
|
+
route: '/access_grants/unmanaged/update';
|
|
119639
|
+
method: 'PATCH' | 'POST';
|
|
119640
|
+
queryParams: {};
|
|
119641
|
+
jsonBody: {
|
|
119642
|
+
/** ID of the unmanaged Access Grant to update. */
|
|
119643
|
+
access_grant_id: string;
|
|
119644
|
+
/** Must be set to true to convert the unmanaged access grant to managed. */
|
|
119645
|
+
is_managed: true;
|
|
119646
|
+
/** Unique key for the access grant. If not provided, the existing key will be preserved. */
|
|
119647
|
+
access_grant_key?: string | undefined;
|
|
119648
|
+
};
|
|
119649
|
+
commonParams: {};
|
|
119650
|
+
formData: {};
|
|
119651
|
+
jsonResponse: {};
|
|
119652
|
+
};
|
|
119129
119653
|
'/access_grants/update': {
|
|
119130
119654
|
route: '/access_grants/update';
|
|
119131
119655
|
method: 'POST' | 'PATCH';
|
|
@@ -187296,6 +187820,22 @@ type Routes = {
|
|
|
187296
187820
|
}[];
|
|
187297
187821
|
};
|
|
187298
187822
|
};
|
|
187823
|
+
'/user_identities/unmanaged/update': {
|
|
187824
|
+
route: '/user_identities/unmanaged/update';
|
|
187825
|
+
method: 'PATCH' | 'POST';
|
|
187826
|
+
queryParams: {};
|
|
187827
|
+
jsonBody: {
|
|
187828
|
+
/** ID of the unmanaged user identity that you want to update. */
|
|
187829
|
+
user_identity_id: string;
|
|
187830
|
+
/** Must be set to true to convert the unmanaged user identity to managed. */
|
|
187831
|
+
is_managed: true;
|
|
187832
|
+
/** Unique key for the user identity. If not provided, the existing key will be preserved. */
|
|
187833
|
+
user_identity_key?: string | undefined;
|
|
187834
|
+
};
|
|
187835
|
+
commonParams: {};
|
|
187836
|
+
formData: {};
|
|
187837
|
+
jsonResponse: {};
|
|
187838
|
+
};
|
|
187299
187839
|
'/user_identities/update': {
|
|
187300
187840
|
route: '/user_identities/update';
|
|
187301
187841
|
method: 'PATCH' | 'POST';
|