@seamapi/types 1.60.1 → 1.61.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 +100 -35
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +296 -137
- package/lib/seam/connect/openapi.d.ts +259 -132
- package/lib/seam/connect/openapi.js +100 -35
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +37 -5
- package/lib/seam/connect/unstable/models/acs/user.d.ts +4 -4
- package/lib/seam/connect/unstable/models/acs/user.js +1 -0
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +100 -35
- package/src/lib/seam/connect/route-types.ts +61 -5
- package/src/lib/seam/connect/unstable/models/acs/user.ts +1 -0
package/dist/connect.cjs
CHANGED
|
@@ -276,7 +276,7 @@ var openapi_default = {
|
|
|
276
276
|
},
|
|
277
277
|
email_address: { format: "email", type: "string" },
|
|
278
278
|
external_type: {
|
|
279
|
-
enum: ["pti_user", "brivo_user", "hid_cm_user"],
|
|
279
|
+
enum: ["pti_user", "brivo_user", "hid_cm_user", "salto_site_user"],
|
|
280
280
|
type: "string"
|
|
281
281
|
},
|
|
282
282
|
external_type_display_name: { type: "string" },
|
|
@@ -498,6 +498,7 @@ var openapi_default = {
|
|
|
498
498
|
properties: {
|
|
499
499
|
account_type: { type: "string" },
|
|
500
500
|
account_type_display_name: { type: "string" },
|
|
501
|
+
automatically_manage_new_devices: { type: "boolean" },
|
|
501
502
|
connected_account_id: { format: "uuid", type: "string" },
|
|
502
503
|
created_at: { format: "date-time", type: "string" },
|
|
503
504
|
custom_metadata: {
|
|
@@ -525,7 +526,10 @@ var openapi_default = {
|
|
|
525
526
|
},
|
|
526
527
|
warnings: { nullable: true }
|
|
527
528
|
},
|
|
528
|
-
required: [
|
|
529
|
+
required: [
|
|
530
|
+
"account_type_display_name",
|
|
531
|
+
"automatically_manage_new_devices"
|
|
532
|
+
],
|
|
529
533
|
type: "object"
|
|
530
534
|
},
|
|
531
535
|
device: {
|
|
@@ -2563,9 +2567,10 @@ var openapi_default = {
|
|
|
2563
2567
|
401: { description: "Unauthorized" }
|
|
2564
2568
|
},
|
|
2565
2569
|
security: [
|
|
2566
|
-
{
|
|
2567
|
-
{
|
|
2568
|
-
{
|
|
2570
|
+
{ client_session: [] },
|
|
2571
|
+
{ pat_with_workspace: [] },
|
|
2572
|
+
{ console_session: [] },
|
|
2573
|
+
{ api_key: [] }
|
|
2569
2574
|
],
|
|
2570
2575
|
summary: "/access_codes/unmanaged/convert_to_managed",
|
|
2571
2576
|
tags: ["/access_codes"],
|
|
@@ -2607,9 +2612,10 @@ var openapi_default = {
|
|
|
2607
2612
|
401: { description: "Unauthorized" }
|
|
2608
2613
|
},
|
|
2609
2614
|
security: [
|
|
2610
|
-
{
|
|
2611
|
-
{
|
|
2612
|
-
{
|
|
2615
|
+
{ client_session: [] },
|
|
2616
|
+
{ pat_with_workspace: [] },
|
|
2617
|
+
{ console_session: [] },
|
|
2618
|
+
{ api_key: [] }
|
|
2613
2619
|
],
|
|
2614
2620
|
summary: "/access_codes/unmanaged/convert_to_managed",
|
|
2615
2621
|
tags: ["/access_codes"],
|
|
@@ -2656,9 +2662,10 @@ var openapi_default = {
|
|
|
2656
2662
|
401: { description: "Unauthorized" }
|
|
2657
2663
|
},
|
|
2658
2664
|
security: [
|
|
2659
|
-
{
|
|
2660
|
-
{
|
|
2661
|
-
{
|
|
2665
|
+
{ client_session: [] },
|
|
2666
|
+
{ pat_with_workspace: [] },
|
|
2667
|
+
{ console_session: [] },
|
|
2668
|
+
{ api_key: [] }
|
|
2662
2669
|
],
|
|
2663
2670
|
summary: "/access_codes/unmanaged/delete",
|
|
2664
2671
|
tags: ["/access_codes"],
|
|
@@ -2706,9 +2713,10 @@ var openapi_default = {
|
|
|
2706
2713
|
401: { description: "Unauthorized" }
|
|
2707
2714
|
},
|
|
2708
2715
|
security: [
|
|
2709
|
-
{
|
|
2710
|
-
{
|
|
2711
|
-
{
|
|
2716
|
+
{ client_session: [] },
|
|
2717
|
+
{ pat_with_workspace: [] },
|
|
2718
|
+
{ console_session: [] },
|
|
2719
|
+
{ api_key: [] }
|
|
2712
2720
|
],
|
|
2713
2721
|
summary: "/access_codes/unmanaged/get",
|
|
2714
2722
|
tags: ["/access_codes"],
|
|
@@ -2759,9 +2767,10 @@ var openapi_default = {
|
|
|
2759
2767
|
401: { description: "Unauthorized" }
|
|
2760
2768
|
},
|
|
2761
2769
|
security: [
|
|
2762
|
-
{
|
|
2763
|
-
{
|
|
2764
|
-
{
|
|
2770
|
+
{ client_session: [] },
|
|
2771
|
+
{ pat_with_workspace: [] },
|
|
2772
|
+
{ console_session: [] },
|
|
2773
|
+
{ api_key: [] }
|
|
2765
2774
|
],
|
|
2766
2775
|
summary: "/access_codes/unmanaged/list",
|
|
2767
2776
|
tags: ["/access_codes"],
|
|
@@ -2807,9 +2816,10 @@ var openapi_default = {
|
|
|
2807
2816
|
401: { description: "Unauthorized" }
|
|
2808
2817
|
},
|
|
2809
2818
|
security: [
|
|
2810
|
-
{
|
|
2811
|
-
{
|
|
2812
|
-
{
|
|
2819
|
+
{ client_session: [] },
|
|
2820
|
+
{ pat_with_workspace: [] },
|
|
2821
|
+
{ console_session: [] },
|
|
2822
|
+
{ api_key: [] }
|
|
2813
2823
|
],
|
|
2814
2824
|
summary: "/access_codes/unmanaged/update",
|
|
2815
2825
|
tags: ["/access_codes"],
|
|
@@ -2851,9 +2861,10 @@ var openapi_default = {
|
|
|
2851
2861
|
401: { description: "Unauthorized" }
|
|
2852
2862
|
},
|
|
2853
2863
|
security: [
|
|
2854
|
-
{
|
|
2855
|
-
{
|
|
2856
|
-
{
|
|
2864
|
+
{ client_session: [] },
|
|
2865
|
+
{ pat_with_workspace: [] },
|
|
2866
|
+
{ console_session: [] },
|
|
2867
|
+
{ api_key: [] }
|
|
2857
2868
|
],
|
|
2858
2869
|
summary: "/access_codes/unmanaged/update",
|
|
2859
2870
|
tags: ["/access_codes"],
|
|
@@ -3121,9 +3132,10 @@ var openapi_default = {
|
|
|
3121
3132
|
401: { description: "Unauthorized" }
|
|
3122
3133
|
},
|
|
3123
3134
|
security: [
|
|
3124
|
-
{
|
|
3125
|
-
{
|
|
3126
|
-
{
|
|
3135
|
+
{ client_session: [] },
|
|
3136
|
+
{ pat_with_workspace: [] },
|
|
3137
|
+
{ console_session: [] },
|
|
3138
|
+
{ api_key: [] }
|
|
3127
3139
|
],
|
|
3128
3140
|
summary: "/acs/access_groups/add_user",
|
|
3129
3141
|
tags: [],
|
|
@@ -3163,9 +3175,10 @@ var openapi_default = {
|
|
|
3163
3175
|
401: { description: "Unauthorized" }
|
|
3164
3176
|
},
|
|
3165
3177
|
security: [
|
|
3166
|
-
{
|
|
3167
|
-
{
|
|
3168
|
-
{
|
|
3178
|
+
{ client_session: [] },
|
|
3179
|
+
{ pat_with_workspace: [] },
|
|
3180
|
+
{ console_session: [] },
|
|
3181
|
+
{ api_key: [] }
|
|
3169
3182
|
],
|
|
3170
3183
|
summary: "/acs/access_groups/add_user",
|
|
3171
3184
|
tags: [],
|
|
@@ -3210,9 +3223,10 @@ var openapi_default = {
|
|
|
3210
3223
|
401: { description: "Unauthorized" }
|
|
3211
3224
|
},
|
|
3212
3225
|
security: [
|
|
3213
|
-
{
|
|
3214
|
-
{
|
|
3215
|
-
{
|
|
3226
|
+
{ client_session: [] },
|
|
3227
|
+
{ pat_with_workspace: [] },
|
|
3228
|
+
{ console_session: [] },
|
|
3229
|
+
{ api_key: [] }
|
|
3216
3230
|
],
|
|
3217
3231
|
summary: "/acs/access_groups/get",
|
|
3218
3232
|
tags: [],
|
|
@@ -3308,9 +3322,10 @@ var openapi_default = {
|
|
|
3308
3322
|
401: { description: "Unauthorized" }
|
|
3309
3323
|
},
|
|
3310
3324
|
security: [
|
|
3311
|
-
{
|
|
3312
|
-
{
|
|
3313
|
-
{
|
|
3325
|
+
{ client_session: [] },
|
|
3326
|
+
{ pat_with_workspace: [] },
|
|
3327
|
+
{ console_session: [] },
|
|
3328
|
+
{ api_key: [] }
|
|
3314
3329
|
],
|
|
3315
3330
|
summary: "/acs/access_groups/list_users",
|
|
3316
3331
|
tags: [],
|
|
@@ -6124,6 +6139,56 @@ var openapi_default = {
|
|
|
6124
6139
|
"x-fern-sdk-return-value": "connected_accounts"
|
|
6125
6140
|
}
|
|
6126
6141
|
},
|
|
6142
|
+
"/connected_accounts/update": {
|
|
6143
|
+
post: {
|
|
6144
|
+
operationId: "connectedAccountsUpdatePost",
|
|
6145
|
+
requestBody: {
|
|
6146
|
+
content: {
|
|
6147
|
+
"application/json": {
|
|
6148
|
+
schema: {
|
|
6149
|
+
properties: {
|
|
6150
|
+
automatically_manage_new_devices: { type: "boolean" },
|
|
6151
|
+
connected_account_id: { format: "uuid", type: "string" }
|
|
6152
|
+
},
|
|
6153
|
+
required: ["connected_account_id"],
|
|
6154
|
+
type: "object"
|
|
6155
|
+
}
|
|
6156
|
+
}
|
|
6157
|
+
}
|
|
6158
|
+
},
|
|
6159
|
+
responses: {
|
|
6160
|
+
200: {
|
|
6161
|
+
content: {
|
|
6162
|
+
"application/json": {
|
|
6163
|
+
schema: {
|
|
6164
|
+
properties: {
|
|
6165
|
+
connected_account: {
|
|
6166
|
+
$ref: "#/components/schemas/connected_account"
|
|
6167
|
+
},
|
|
6168
|
+
ok: { type: "boolean" }
|
|
6169
|
+
},
|
|
6170
|
+
required: ["connected_account", "ok"],
|
|
6171
|
+
type: "object"
|
|
6172
|
+
}
|
|
6173
|
+
}
|
|
6174
|
+
},
|
|
6175
|
+
description: "OK"
|
|
6176
|
+
},
|
|
6177
|
+
400: { description: "Bad Request" },
|
|
6178
|
+
401: { description: "Unauthorized" }
|
|
6179
|
+
},
|
|
6180
|
+
security: [
|
|
6181
|
+
{ pat_with_workspace: [] },
|
|
6182
|
+
{ console_session: [] },
|
|
6183
|
+
{ api_key: [] }
|
|
6184
|
+
],
|
|
6185
|
+
summary: "/connected_accounts/update",
|
|
6186
|
+
tags: ["/connected_accounts"],
|
|
6187
|
+
"x-fern-sdk-group-name": ["connected_accounts"],
|
|
6188
|
+
"x-fern-sdk-method-name": "update",
|
|
6189
|
+
"x-fern-sdk-return-value": "connected_account"
|
|
6190
|
+
}
|
|
6191
|
+
},
|
|
6127
6192
|
"/devices/delete": {
|
|
6128
6193
|
post: {
|
|
6129
6194
|
operationId: "devicesDeletePost",
|