@seamapi/types 1.44.0 → 1.45.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 -182
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +45 -330
- package/lib/seam/connect/openapi.d.ts +41 -280
- package/lib/seam/connect/openapi.js +22 -180
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -50
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +3 -0
- package/lib/seam/connect/unstable/models/acs/credential.js +1 -1
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +22 -180
- package/src/lib/seam/connect/route-types.ts +4 -57
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -1626,6 +1626,12 @@ var openapi_default = {
|
|
|
1626
1626
|
scheme: "bearer",
|
|
1627
1627
|
type: "http"
|
|
1628
1628
|
},
|
|
1629
|
+
api_key: { bearerFormat: "API Key", scheme: "bearer", type: "http" },
|
|
1630
|
+
client_session: {
|
|
1631
|
+
bearerFormat: "Client Session Token",
|
|
1632
|
+
scheme: "bearer",
|
|
1633
|
+
type: "http"
|
|
1634
|
+
},
|
|
1629
1635
|
client_session_token: {
|
|
1630
1636
|
in: "header",
|
|
1631
1637
|
name: "client-session-token",
|
|
@@ -1636,7 +1642,12 @@ var openapi_default = {
|
|
|
1636
1642
|
name: "seam-client-session-token",
|
|
1637
1643
|
type: "apiKey"
|
|
1638
1644
|
},
|
|
1639
|
-
seam_workspace: { in: "header", name: "seam-workspace", type: "apiKey" }
|
|
1645
|
+
seam_workspace: { in: "header", name: "seam-workspace", type: "apiKey" },
|
|
1646
|
+
user_session: {
|
|
1647
|
+
bearerFormat: "User Session Token",
|
|
1648
|
+
scheme: "bearer",
|
|
1649
|
+
type: "http"
|
|
1650
|
+
}
|
|
1640
1651
|
}
|
|
1641
1652
|
},
|
|
1642
1653
|
info: { title: "Seam Connect", version: "1.0.0" },
|
|
@@ -2013,9 +2024,10 @@ var openapi_default = {
|
|
|
2013
2024
|
401: { description: "Unauthorized" }
|
|
2014
2025
|
},
|
|
2015
2026
|
security: [
|
|
2016
|
-
{
|
|
2017
|
-
{
|
|
2018
|
-
{
|
|
2027
|
+
{ api_key: [] },
|
|
2028
|
+
{ access_token: [] },
|
|
2029
|
+
{ user_session: [] },
|
|
2030
|
+
{ client_session: [] }
|
|
2019
2031
|
],
|
|
2020
2032
|
summary: "/access_codes/get",
|
|
2021
2033
|
tags: ["/access_codes"],
|
|
@@ -2826,98 +2838,6 @@ var openapi_default = {
|
|
|
2826
2838
|
"x-fern-ignore": true
|
|
2827
2839
|
}
|
|
2828
2840
|
},
|
|
2829
|
-
"/acs/access_groups/create": {
|
|
2830
|
-
post: {
|
|
2831
|
-
operationId: "acsAccessGroupsCreatePost",
|
|
2832
|
-
requestBody: {
|
|
2833
|
-
content: {
|
|
2834
|
-
"application/json": {
|
|
2835
|
-
schema: {
|
|
2836
|
-
properties: {
|
|
2837
|
-
acs_system_id: { format: "uuid", type: "string" },
|
|
2838
|
-
name: { type: "string" }
|
|
2839
|
-
},
|
|
2840
|
-
required: ["acs_system_id"],
|
|
2841
|
-
type: "object"
|
|
2842
|
-
}
|
|
2843
|
-
}
|
|
2844
|
-
}
|
|
2845
|
-
},
|
|
2846
|
-
responses: {
|
|
2847
|
-
200: {
|
|
2848
|
-
content: {
|
|
2849
|
-
"application/json": {
|
|
2850
|
-
schema: {
|
|
2851
|
-
properties: {
|
|
2852
|
-
acs_access_group: {
|
|
2853
|
-
$ref: "#/components/schemas/acs_access_group"
|
|
2854
|
-
},
|
|
2855
|
-
ok: { type: "boolean" }
|
|
2856
|
-
},
|
|
2857
|
-
required: ["acs_access_group", "ok"],
|
|
2858
|
-
type: "object"
|
|
2859
|
-
}
|
|
2860
|
-
}
|
|
2861
|
-
},
|
|
2862
|
-
description: "OK"
|
|
2863
|
-
},
|
|
2864
|
-
400: { description: "Bad Request" },
|
|
2865
|
-
401: { description: "Unauthorized" }
|
|
2866
|
-
},
|
|
2867
|
-
security: [
|
|
2868
|
-
{ access_token: [], seam_workspace: [] },
|
|
2869
|
-
{ seam_client_session_token: [] },
|
|
2870
|
-
{ client_session_token: [] }
|
|
2871
|
-
],
|
|
2872
|
-
summary: "/acs/access_groups/create",
|
|
2873
|
-
tags: [],
|
|
2874
|
-
"x-fern-sdk-group-name": ["acs", "access_groups"],
|
|
2875
|
-
"x-fern-sdk-method-name": "create"
|
|
2876
|
-
}
|
|
2877
|
-
},
|
|
2878
|
-
"/acs/access_groups/delete": {
|
|
2879
|
-
post: {
|
|
2880
|
-
operationId: "acsAccessGroupsDeletePost",
|
|
2881
|
-
requestBody: {
|
|
2882
|
-
content: {
|
|
2883
|
-
"application/json": {
|
|
2884
|
-
schema: {
|
|
2885
|
-
properties: {
|
|
2886
|
-
acs_access_group_id: { format: "uuid", type: "string" }
|
|
2887
|
-
},
|
|
2888
|
-
required: ["acs_access_group_id"],
|
|
2889
|
-
type: "object"
|
|
2890
|
-
}
|
|
2891
|
-
}
|
|
2892
|
-
}
|
|
2893
|
-
},
|
|
2894
|
-
responses: {
|
|
2895
|
-
200: {
|
|
2896
|
-
content: {
|
|
2897
|
-
"application/json": {
|
|
2898
|
-
schema: {
|
|
2899
|
-
properties: { ok: { type: "boolean" } },
|
|
2900
|
-
required: ["ok"],
|
|
2901
|
-
type: "object"
|
|
2902
|
-
}
|
|
2903
|
-
}
|
|
2904
|
-
},
|
|
2905
|
-
description: "OK"
|
|
2906
|
-
},
|
|
2907
|
-
400: { description: "Bad Request" },
|
|
2908
|
-
401: { description: "Unauthorized" }
|
|
2909
|
-
},
|
|
2910
|
-
security: [
|
|
2911
|
-
{ access_token: [], seam_workspace: [] },
|
|
2912
|
-
{ seam_client_session_token: [] },
|
|
2913
|
-
{ client_session_token: [] }
|
|
2914
|
-
],
|
|
2915
|
-
summary: "/acs/access_groups/delete",
|
|
2916
|
-
tags: [],
|
|
2917
|
-
"x-fern-sdk-group-name": ["acs", "access_groups"],
|
|
2918
|
-
"x-fern-sdk-method-name": "delete"
|
|
2919
|
-
}
|
|
2920
|
-
},
|
|
2921
2841
|
"/acs/access_groups/get": {
|
|
2922
2842
|
post: {
|
|
2923
2843
|
operationId: "acsAccessGroupsGetPost",
|
|
@@ -3108,91 +3028,6 @@ var openapi_default = {
|
|
|
3108
3028
|
"x-fern-sdk-method-name": "remove_user"
|
|
3109
3029
|
}
|
|
3110
3030
|
},
|
|
3111
|
-
"/acs/access_groups/update": {
|
|
3112
|
-
patch: {
|
|
3113
|
-
operationId: "acsAccessGroupsUpdatePatch",
|
|
3114
|
-
requestBody: {
|
|
3115
|
-
content: {
|
|
3116
|
-
"application/json": {
|
|
3117
|
-
schema: {
|
|
3118
|
-
properties: {
|
|
3119
|
-
acs_access_group_id: { format: "uuid", type: "string" },
|
|
3120
|
-
name: { nullable: true, type: "string" }
|
|
3121
|
-
},
|
|
3122
|
-
required: ["acs_access_group_id"],
|
|
3123
|
-
type: "object"
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
}
|
|
3127
|
-
},
|
|
3128
|
-
responses: {
|
|
3129
|
-
200: {
|
|
3130
|
-
content: {
|
|
3131
|
-
"application/json": {
|
|
3132
|
-
schema: {
|
|
3133
|
-
properties: { ok: { type: "boolean" } },
|
|
3134
|
-
required: ["ok"],
|
|
3135
|
-
type: "object"
|
|
3136
|
-
}
|
|
3137
|
-
}
|
|
3138
|
-
},
|
|
3139
|
-
description: "OK"
|
|
3140
|
-
},
|
|
3141
|
-
400: { description: "Bad Request" },
|
|
3142
|
-
401: { description: "Unauthorized" }
|
|
3143
|
-
},
|
|
3144
|
-
security: [
|
|
3145
|
-
{ access_token: [], seam_workspace: [] },
|
|
3146
|
-
{ seam_client_session_token: [] },
|
|
3147
|
-
{ client_session_token: [] }
|
|
3148
|
-
],
|
|
3149
|
-
summary: "/acs/access_groups/update",
|
|
3150
|
-
tags: [],
|
|
3151
|
-
"x-fern-ignore": true
|
|
3152
|
-
},
|
|
3153
|
-
post: {
|
|
3154
|
-
operationId: "acsAccessGroupsUpdatePost",
|
|
3155
|
-
requestBody: {
|
|
3156
|
-
content: {
|
|
3157
|
-
"application/json": {
|
|
3158
|
-
schema: {
|
|
3159
|
-
properties: {
|
|
3160
|
-
acs_access_group_id: { format: "uuid", type: "string" },
|
|
3161
|
-
name: { nullable: true, type: "string" }
|
|
3162
|
-
},
|
|
3163
|
-
required: ["acs_access_group_id"],
|
|
3164
|
-
type: "object"
|
|
3165
|
-
}
|
|
3166
|
-
}
|
|
3167
|
-
}
|
|
3168
|
-
},
|
|
3169
|
-
responses: {
|
|
3170
|
-
200: {
|
|
3171
|
-
content: {
|
|
3172
|
-
"application/json": {
|
|
3173
|
-
schema: {
|
|
3174
|
-
properties: { ok: { type: "boolean" } },
|
|
3175
|
-
required: ["ok"],
|
|
3176
|
-
type: "object"
|
|
3177
|
-
}
|
|
3178
|
-
}
|
|
3179
|
-
},
|
|
3180
|
-
description: "OK"
|
|
3181
|
-
},
|
|
3182
|
-
400: { description: "Bad Request" },
|
|
3183
|
-
401: { description: "Unauthorized" }
|
|
3184
|
-
},
|
|
3185
|
-
security: [
|
|
3186
|
-
{ access_token: [], seam_workspace: [] },
|
|
3187
|
-
{ seam_client_session_token: [] },
|
|
3188
|
-
{ client_session_token: [] }
|
|
3189
|
-
],
|
|
3190
|
-
summary: "/acs/access_groups/update",
|
|
3191
|
-
tags: [],
|
|
3192
|
-
"x-fern-sdk-group-name": ["acs", "access_groups"],
|
|
3193
|
-
"x-fern-sdk-method-name": "update"
|
|
3194
|
-
}
|
|
3195
|
-
},
|
|
3196
3031
|
"/acs/credentials/assign": {
|
|
3197
3032
|
patch: {
|
|
3198
3033
|
operationId: "acsCredentialsAssignPatch",
|
|
@@ -3308,6 +3143,7 @@ var openapi_default = {
|
|
|
3308
3143
|
acs_user_id: { format: "uuid", type: "string" },
|
|
3309
3144
|
code: { nullable: true, type: "string" },
|
|
3310
3145
|
created_at: { format: "date-time", type: "string" },
|
|
3146
|
+
display_name: { minLength: 1, type: "string" },
|
|
3311
3147
|
external_type: {
|
|
3312
3148
|
enum: ["pti_card", "brivo_credential"],
|
|
3313
3149
|
type: "string"
|
|
@@ -3318,6 +3154,7 @@ var openapi_default = {
|
|
|
3318
3154
|
required: [
|
|
3319
3155
|
"acs_credential_id",
|
|
3320
3156
|
"acs_system_id",
|
|
3157
|
+
"display_name",
|
|
3321
3158
|
"code",
|
|
3322
3159
|
"external_type",
|
|
3323
3160
|
"external_type_display_name",
|
|
@@ -3421,6 +3258,7 @@ var openapi_default = {
|
|
|
3421
3258
|
acs_user_id: { format: "uuid", type: "string" },
|
|
3422
3259
|
code: { nullable: true, type: "string" },
|
|
3423
3260
|
created_at: { format: "date-time", type: "string" },
|
|
3261
|
+
display_name: { minLength: 1, type: "string" },
|
|
3424
3262
|
external_type: {
|
|
3425
3263
|
enum: ["pti_card", "brivo_credential"],
|
|
3426
3264
|
type: "string"
|
|
@@ -3431,6 +3269,7 @@ var openapi_default = {
|
|
|
3431
3269
|
required: [
|
|
3432
3270
|
"acs_credential_id",
|
|
3433
3271
|
"acs_system_id",
|
|
3272
|
+
"display_name",
|
|
3434
3273
|
"code",
|
|
3435
3274
|
"external_type",
|
|
3436
3275
|
"external_type_display_name",
|
|
@@ -3511,6 +3350,7 @@ var openapi_default = {
|
|
|
3511
3350
|
acs_user_id: { format: "uuid", type: "string" },
|
|
3512
3351
|
code: { nullable: true, type: "string" },
|
|
3513
3352
|
created_at: { format: "date-time", type: "string" },
|
|
3353
|
+
display_name: { minLength: 1, type: "string" },
|
|
3514
3354
|
external_type: {
|
|
3515
3355
|
enum: ["pti_card", "brivo_credential"],
|
|
3516
3356
|
type: "string"
|
|
@@ -3521,6 +3361,7 @@ var openapi_default = {
|
|
|
3521
3361
|
required: [
|
|
3522
3362
|
"acs_credential_id",
|
|
3523
3363
|
"acs_system_id",
|
|
3364
|
+
"display_name",
|
|
3524
3365
|
"code",
|
|
3525
3366
|
"external_type",
|
|
3526
3367
|
"external_type_display_name",
|
|
@@ -4883,7 +4724,8 @@ var openapi_default = {
|
|
|
4883
4724
|
"pti",
|
|
4884
4725
|
"wyze",
|
|
4885
4726
|
"seam_passport",
|
|
4886
|
-
"yale_access"
|
|
4727
|
+
"yale_access",
|
|
4728
|
+
"hid_cm"
|
|
4887
4729
|
],
|
|
4888
4730
|
type: "string"
|
|
4889
4731
|
},
|