@seamapi/types 1.18.6 → 1.19.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 +128 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +236 -0
- package/dist/devicedb.cjs +1 -1
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +18 -18
- package/lib/seam/connect/openapi.d.ts +179 -0
- package/lib/seam/connect/openapi.js +128 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +57 -0
- package/lib/seam/connect/unstable/model-types.d.ts +1 -1
- package/lib/seam/connect/unstable/models/acs/access_group.d.ts +8 -2
- package/lib/seam/connect/unstable/models/acs/access_group.js +7 -3
- package/lib/seam/connect/unstable/models/acs/access_group.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +8 -0
- package/lib/seam/connect/unstable/models/acs/credential.js +3 -0
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/system.d.ts +8 -2
- package/lib/seam/connect/unstable/models/acs/system.js +7 -3
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/user.d.ts +8 -0
- package/lib/seam/connect/unstable/models/acs/user.js +3 -0
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/lib/seam/connect/unstable/schemas.d.ts +1 -1
- package/lib/seam/connect/unstable/schemas.js +1 -1
- package/lib/seam/connect/unstable/schemas.js.map +1 -1
- package/lib/seam/devicedb/public-models/device-model-v1.d.ts +10 -10
- package/lib/seam/devicedb/public-models/manufacturer.d.ts +3 -3
- package/lib/seam/devicedb/public-models/manufacturer.js +1 -1
- package/lib/seam/devicedb/public-models/manufacturer.js.map +1 -1
- package/lib/seam/devicedb/route-types.d.ts +5 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +128 -5
- package/src/lib/seam/connect/route-types.ts +57 -0
- package/src/lib/seam/connect/unstable/model-types.ts +5 -2
- package/src/lib/seam/connect/unstable/models/acs/access_group.ts +12 -4
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +8 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +10 -4
- package/src/lib/seam/connect/unstable/models/acs/user.ts +6 -0
- package/src/lib/seam/connect/unstable/schemas.ts +4 -2
- package/src/lib/seam/devicedb/public-models/manufacturer.ts +1 -1
- package/src/lib/seam/devicedb/route-types.ts +10 -5
package/dist/connect.cjs
CHANGED
|
@@ -78,11 +78,20 @@ var openapi_default = {
|
|
|
78
78
|
},
|
|
79
79
|
acs_access_group: {
|
|
80
80
|
properties: {
|
|
81
|
-
access_group_type: {
|
|
82
|
-
|
|
81
|
+
access_group_type: {
|
|
82
|
+
description: "deprecated: use external_type",
|
|
83
|
+
enum: ["pti_unit"],
|
|
84
|
+
type: "string"
|
|
85
|
+
},
|
|
86
|
+
access_group_type_display_name: {
|
|
87
|
+
description: "deprecated: use external_type_display_name",
|
|
88
|
+
type: "string"
|
|
89
|
+
},
|
|
83
90
|
acs_access_group_id: { format: "uuid", type: "string" },
|
|
84
91
|
acs_system_id: { format: "uuid", type: "string" },
|
|
85
92
|
created_at: { format: "date-time", type: "string" },
|
|
93
|
+
external_type: { enum: ["pti_unit"], type: "string" },
|
|
94
|
+
external_type_display_name: { type: "string" },
|
|
86
95
|
name: { type: "string" },
|
|
87
96
|
workspace_id: { format: "uuid", type: "string" }
|
|
88
97
|
},
|
|
@@ -93,6 +102,8 @@ var openapi_default = {
|
|
|
93
102
|
"name",
|
|
94
103
|
"access_group_type",
|
|
95
104
|
"access_group_type_display_name",
|
|
105
|
+
"external_type",
|
|
106
|
+
"external_type_display_name",
|
|
96
107
|
"created_at"
|
|
97
108
|
],
|
|
98
109
|
type: "object"
|
|
@@ -101,12 +112,23 @@ var openapi_default = {
|
|
|
101
112
|
properties: {
|
|
102
113
|
acs_system_id: { format: "uuid", type: "string" },
|
|
103
114
|
created_at: { format: "date-time", type: "string" },
|
|
115
|
+
external_type: { enum: ["pti_site", "alta_org"], type: "string" },
|
|
116
|
+
external_type_display_name: { type: "string" },
|
|
104
117
|
name: { type: "string" },
|
|
105
|
-
system_type: {
|
|
106
|
-
|
|
118
|
+
system_type: {
|
|
119
|
+
description: "deprecated: use external_type",
|
|
120
|
+
enum: ["pti_site", "alta_org"],
|
|
121
|
+
type: "string"
|
|
122
|
+
},
|
|
123
|
+
system_type_display_name: {
|
|
124
|
+
description: "deprecated: use external_type_display_name",
|
|
125
|
+
type: "string"
|
|
126
|
+
}
|
|
107
127
|
},
|
|
108
128
|
required: [
|
|
109
129
|
"acs_system_id",
|
|
130
|
+
"external_type",
|
|
131
|
+
"external_type_display_name",
|
|
110
132
|
"system_type",
|
|
111
133
|
"system_type_display_name",
|
|
112
134
|
"name",
|
|
@@ -121,6 +143,8 @@ var openapi_default = {
|
|
|
121
143
|
created_at: { format: "date-time", type: "string" },
|
|
122
144
|
display_name: { type: "string" },
|
|
123
145
|
email: { format: "email", type: "string" },
|
|
146
|
+
external_type: { enum: ["pti_user"], type: "string" },
|
|
147
|
+
external_type_display_name: { type: "string" },
|
|
124
148
|
full_name: { type: "string" },
|
|
125
149
|
is_being_deleted: { type: "boolean" },
|
|
126
150
|
phone_number: { nullable: true, type: "string" },
|
|
@@ -132,6 +156,8 @@ var openapi_default = {
|
|
|
132
156
|
"workspace_id",
|
|
133
157
|
"created_at",
|
|
134
158
|
"display_name",
|
|
159
|
+
"external_type",
|
|
160
|
+
"external_type_display_name",
|
|
135
161
|
"is_being_deleted"
|
|
136
162
|
],
|
|
137
163
|
type: "object"
|
|
@@ -2300,7 +2326,10 @@ var openapi_default = {
|
|
|
2300
2326
|
content: {
|
|
2301
2327
|
"application/json": {
|
|
2302
2328
|
schema: {
|
|
2303
|
-
properties: {
|
|
2329
|
+
properties: {
|
|
2330
|
+
device_id: { format: "uuid", type: "string" },
|
|
2331
|
+
user_identifier_key: { type: "string" }
|
|
2332
|
+
},
|
|
2304
2333
|
required: ["device_id"],
|
|
2305
2334
|
type: "object"
|
|
2306
2335
|
}
|
|
@@ -3085,6 +3114,8 @@ var openapi_default = {
|
|
|
3085
3114
|
acs_user_id: { format: "uuid", type: "string" },
|
|
3086
3115
|
code: { nullable: true, type: "string" },
|
|
3087
3116
|
created_at: { format: "date-time", type: "string" },
|
|
3117
|
+
external_type: { enum: ["pti_card"], type: "string" },
|
|
3118
|
+
external_type_display_name: { type: "string" },
|
|
3088
3119
|
workspace_id: { format: "uuid", type: "string" }
|
|
3089
3120
|
},
|
|
3090
3121
|
required: [
|
|
@@ -3092,6 +3123,8 @@ var openapi_default = {
|
|
|
3092
3123
|
"acs_user_id",
|
|
3093
3124
|
"acs_system_id",
|
|
3094
3125
|
"code",
|
|
3126
|
+
"external_type",
|
|
3127
|
+
"external_type_display_name",
|
|
3095
3128
|
"created_at",
|
|
3096
3129
|
"workspace_id"
|
|
3097
3130
|
],
|
|
@@ -3192,6 +3225,8 @@ var openapi_default = {
|
|
|
3192
3225
|
acs_user_id: { format: "uuid", type: "string" },
|
|
3193
3226
|
code: { nullable: true, type: "string" },
|
|
3194
3227
|
created_at: { format: "date-time", type: "string" },
|
|
3228
|
+
external_type: { enum: ["pti_card"], type: "string" },
|
|
3229
|
+
external_type_display_name: { type: "string" },
|
|
3195
3230
|
workspace_id: { format: "uuid", type: "string" }
|
|
3196
3231
|
},
|
|
3197
3232
|
required: [
|
|
@@ -3199,6 +3234,8 @@ var openapi_default = {
|
|
|
3199
3234
|
"acs_user_id",
|
|
3200
3235
|
"acs_system_id",
|
|
3201
3236
|
"code",
|
|
3237
|
+
"external_type",
|
|
3238
|
+
"external_type_display_name",
|
|
3202
3239
|
"created_at",
|
|
3203
3240
|
"workspace_id"
|
|
3204
3241
|
],
|
|
@@ -3255,6 +3292,8 @@ var openapi_default = {
|
|
|
3255
3292
|
acs_user_id: { format: "uuid", type: "string" },
|
|
3256
3293
|
code: { nullable: true, type: "string" },
|
|
3257
3294
|
created_at: { format: "date-time", type: "string" },
|
|
3295
|
+
external_type: { enum: ["pti_card"], type: "string" },
|
|
3296
|
+
external_type_display_name: { type: "string" },
|
|
3258
3297
|
workspace_id: { format: "uuid", type: "string" }
|
|
3259
3298
|
},
|
|
3260
3299
|
required: [
|
|
@@ -3262,6 +3301,8 @@ var openapi_default = {
|
|
|
3262
3301
|
"acs_user_id",
|
|
3263
3302
|
"acs_system_id",
|
|
3264
3303
|
"code",
|
|
3304
|
+
"external_type",
|
|
3305
|
+
"external_type_display_name",
|
|
3265
3306
|
"created_at",
|
|
3266
3307
|
"workspace_id"
|
|
3267
3308
|
],
|
|
@@ -3670,6 +3711,88 @@ var openapi_default = {
|
|
|
3670
3711
|
"x-fern-sdk-method-name": "remove_from_access_group"
|
|
3671
3712
|
}
|
|
3672
3713
|
},
|
|
3714
|
+
"/acs/users/suspend": {
|
|
3715
|
+
post: {
|
|
3716
|
+
operationId: "acsUsersSuspendPost",
|
|
3717
|
+
requestBody: {
|
|
3718
|
+
content: {
|
|
3719
|
+
"application/json": {
|
|
3720
|
+
schema: {
|
|
3721
|
+
properties: { acs_user_id: { format: "uuid", type: "string" } },
|
|
3722
|
+
required: ["acs_user_id"],
|
|
3723
|
+
type: "object"
|
|
3724
|
+
}
|
|
3725
|
+
}
|
|
3726
|
+
}
|
|
3727
|
+
},
|
|
3728
|
+
responses: {
|
|
3729
|
+
200: {
|
|
3730
|
+
content: {
|
|
3731
|
+
"application/json": {
|
|
3732
|
+
schema: {
|
|
3733
|
+
properties: { ok: { type: "boolean" } },
|
|
3734
|
+
required: ["ok"],
|
|
3735
|
+
type: "object"
|
|
3736
|
+
}
|
|
3737
|
+
}
|
|
3738
|
+
},
|
|
3739
|
+
description: "OK"
|
|
3740
|
+
},
|
|
3741
|
+
400: { description: "Bad Request" },
|
|
3742
|
+
401: { description: "Unauthorized" }
|
|
3743
|
+
},
|
|
3744
|
+
security: [
|
|
3745
|
+
{ access_token: [], seam_workspace: [] },
|
|
3746
|
+
{ seam_client_session_token: [] },
|
|
3747
|
+
{ client_session_token: [] }
|
|
3748
|
+
],
|
|
3749
|
+
summary: "/acs/users/suspend",
|
|
3750
|
+
tags: [],
|
|
3751
|
+
"x-fern-sdk-group-name": ["acs", "users"],
|
|
3752
|
+
"x-fern-sdk-method-name": "suspend"
|
|
3753
|
+
}
|
|
3754
|
+
},
|
|
3755
|
+
"/acs/users/unsuspend": {
|
|
3756
|
+
post: {
|
|
3757
|
+
operationId: "acsUsersUnsuspendPost",
|
|
3758
|
+
requestBody: {
|
|
3759
|
+
content: {
|
|
3760
|
+
"application/json": {
|
|
3761
|
+
schema: {
|
|
3762
|
+
properties: { acs_user_id: { format: "uuid", type: "string" } },
|
|
3763
|
+
required: ["acs_user_id"],
|
|
3764
|
+
type: "object"
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3767
|
+
}
|
|
3768
|
+
},
|
|
3769
|
+
responses: {
|
|
3770
|
+
200: {
|
|
3771
|
+
content: {
|
|
3772
|
+
"application/json": {
|
|
3773
|
+
schema: {
|
|
3774
|
+
properties: { ok: { type: "boolean" } },
|
|
3775
|
+
required: ["ok"],
|
|
3776
|
+
type: "object"
|
|
3777
|
+
}
|
|
3778
|
+
}
|
|
3779
|
+
},
|
|
3780
|
+
description: "OK"
|
|
3781
|
+
},
|
|
3782
|
+
400: { description: "Bad Request" },
|
|
3783
|
+
401: { description: "Unauthorized" }
|
|
3784
|
+
},
|
|
3785
|
+
security: [
|
|
3786
|
+
{ access_token: [], seam_workspace: [] },
|
|
3787
|
+
{ seam_client_session_token: [] },
|
|
3788
|
+
{ client_session_token: [] }
|
|
3789
|
+
],
|
|
3790
|
+
summary: "/acs/users/unsuspend",
|
|
3791
|
+
tags: [],
|
|
3792
|
+
"x-fern-sdk-group-name": ["acs", "users"],
|
|
3793
|
+
"x-fern-sdk-method-name": "unsuspend"
|
|
3794
|
+
}
|
|
3795
|
+
},
|
|
3673
3796
|
"/acs/users/update": {
|
|
3674
3797
|
patch: {
|
|
3675
3798
|
operationId: "acsUsersUpdatePatch",
|