@seamapi/types 1.52.0 → 1.53.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 +119 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +224 -12
- package/lib/seam/connect/openapi.d.ts +203 -12
- package/lib/seam/connect/openapi.js +118 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -0
- package/lib/seam/connect/unstable/models/acs/system.d.ts +3 -0
- package/lib/seam/connect/unstable/models/acs/system.js +1 -0
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +118 -3
- package/src/lib/seam/connect/route-types.ts +21 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +1 -0
|
@@ -991,6 +991,7 @@ export interface Routes {
|
|
|
991
991
|
system_type_display_name: string;
|
|
992
992
|
name: string;
|
|
993
993
|
created_at: string;
|
|
994
|
+
workspace_id: string;
|
|
994
995
|
connected_account_ids: string[];
|
|
995
996
|
};
|
|
996
997
|
};
|
|
@@ -1015,6 +1016,7 @@ export interface Routes {
|
|
|
1015
1016
|
system_type_display_name: string;
|
|
1016
1017
|
name: string;
|
|
1017
1018
|
created_at: string;
|
|
1019
|
+
workspace_id: string;
|
|
1018
1020
|
connected_account_ids: string[];
|
|
1019
1021
|
}>;
|
|
1020
1022
|
};
|
|
@@ -5931,6 +5933,25 @@ export interface Routes {
|
|
|
5931
5933
|
formData: {};
|
|
5932
5934
|
jsonResponse: {};
|
|
5933
5935
|
};
|
|
5936
|
+
'/user_identities/list': {
|
|
5937
|
+
route: '/user_identities/list';
|
|
5938
|
+
method: 'GET' | 'POST';
|
|
5939
|
+
queryParams: {};
|
|
5940
|
+
jsonBody: {};
|
|
5941
|
+
commonParams: {};
|
|
5942
|
+
formData: {};
|
|
5943
|
+
jsonResponse: {
|
|
5944
|
+
user_identities: Array<{
|
|
5945
|
+
user_identity_id: string;
|
|
5946
|
+
user_identity_key?: (string | null) | undefined;
|
|
5947
|
+
email_address?: (string | null) | undefined;
|
|
5948
|
+
first_name?: (string | null) | undefined;
|
|
5949
|
+
last_name?: (string | null) | undefined;
|
|
5950
|
+
created_at: string;
|
|
5951
|
+
workspace_id: string;
|
|
5952
|
+
}>;
|
|
5953
|
+
};
|
|
5954
|
+
};
|
|
5934
5955
|
'/user_identities/list_accessible_devices': {
|
|
5935
5956
|
route: '/user_identities/list_accessible_devices';
|
|
5936
5957
|
method: 'GET' | 'POST';
|
|
@@ -9,9 +9,11 @@ export declare const acs_system: z.ZodObject<{
|
|
|
9
9
|
system_type_display_name: z.ZodString;
|
|
10
10
|
name: z.ZodString;
|
|
11
11
|
created_at: z.ZodString;
|
|
12
|
+
workspace_id: z.ZodString;
|
|
12
13
|
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
13
14
|
}, "strip", z.ZodTypeAny, {
|
|
14
15
|
name: string;
|
|
16
|
+
workspace_id: string;
|
|
15
17
|
created_at: string;
|
|
16
18
|
acs_system_id: string;
|
|
17
19
|
external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
|
|
@@ -21,6 +23,7 @@ export declare const acs_system: z.ZodObject<{
|
|
|
21
23
|
connected_account_ids: string[];
|
|
22
24
|
}, {
|
|
23
25
|
name: string;
|
|
26
|
+
workspace_id: string;
|
|
24
27
|
created_at: string;
|
|
25
28
|
acs_system_id: string;
|
|
26
29
|
external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
|
|
@@ -17,6 +17,7 @@ export const acs_system = z.object({
|
|
|
17
17
|
.describe('deprecated: use external_type_display_name'),
|
|
18
18
|
name: z.string(),
|
|
19
19
|
created_at: z.string().datetime(),
|
|
20
|
+
workspace_id: z.string().uuid(),
|
|
20
21
|
connected_account_ids: z.array(z.string()),
|
|
21
22
|
});
|
|
22
23
|
//# sourceMappingURL=system.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,kEAAkE;AAClE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,cAAc;IACd,YAAY;CACb,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3C,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,kEAAkE;AAClE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,cAAc;IACd,YAAY;CACb,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3C,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -214,6 +214,7 @@ export default {
|
|
|
214
214
|
description: 'deprecated: use external_type_display_name',
|
|
215
215
|
type: 'string',
|
|
216
216
|
},
|
|
217
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
217
218
|
},
|
|
218
219
|
required: [
|
|
219
220
|
'acs_system_id',
|
|
@@ -223,6 +224,7 @@ export default {
|
|
|
223
224
|
'system_type_display_name',
|
|
224
225
|
'name',
|
|
225
226
|
'created_at',
|
|
227
|
+
'workspace_id',
|
|
226
228
|
'connected_account_ids',
|
|
227
229
|
],
|
|
228
230
|
type: 'object',
|
|
@@ -3890,9 +3892,10 @@ export default {
|
|
|
3890
3892
|
401: { description: 'Unauthorized' },
|
|
3891
3893
|
},
|
|
3892
3894
|
security: [
|
|
3893
|
-
{
|
|
3894
|
-
{
|
|
3895
|
-
{
|
|
3895
|
+
{ api_key: [] },
|
|
3896
|
+
{ client_session: [] },
|
|
3897
|
+
{ pat_with_workspace: [] },
|
|
3898
|
+
{ console_session: [] },
|
|
3896
3899
|
],
|
|
3897
3900
|
summary: '/acs/credentials/list',
|
|
3898
3901
|
tags: [],
|
|
@@ -9184,6 +9187,118 @@ export default {
|
|
|
9184
9187
|
'x-fern-ignore': true,
|
|
9185
9188
|
},
|
|
9186
9189
|
},
|
|
9190
|
+
'/user_identities/list': {
|
|
9191
|
+
get: {
|
|
9192
|
+
operationId: 'userIdentitiesListGet',
|
|
9193
|
+
responses: {
|
|
9194
|
+
200: {
|
|
9195
|
+
content: {
|
|
9196
|
+
'application/json': {
|
|
9197
|
+
schema: {
|
|
9198
|
+
properties: {
|
|
9199
|
+
ok: { type: 'boolean' },
|
|
9200
|
+
user_identities: {
|
|
9201
|
+
items: {
|
|
9202
|
+
properties: {
|
|
9203
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
9204
|
+
email_address: {
|
|
9205
|
+
format: 'email',
|
|
9206
|
+
nullable: true,
|
|
9207
|
+
type: 'string',
|
|
9208
|
+
},
|
|
9209
|
+
first_name: { nullable: true, type: 'string' },
|
|
9210
|
+
last_name: { nullable: true, type: 'string' },
|
|
9211
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
9212
|
+
user_identity_key: { nullable: true, type: 'string' },
|
|
9213
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
9214
|
+
},
|
|
9215
|
+
required: [
|
|
9216
|
+
'user_identity_id',
|
|
9217
|
+
'created_at',
|
|
9218
|
+
'workspace_id',
|
|
9219
|
+
],
|
|
9220
|
+
type: 'object',
|
|
9221
|
+
},
|
|
9222
|
+
type: 'array',
|
|
9223
|
+
},
|
|
9224
|
+
},
|
|
9225
|
+
required: ['user_identities', 'ok'],
|
|
9226
|
+
type: 'object',
|
|
9227
|
+
},
|
|
9228
|
+
},
|
|
9229
|
+
},
|
|
9230
|
+
description: 'OK',
|
|
9231
|
+
},
|
|
9232
|
+
400: { description: 'Bad Request' },
|
|
9233
|
+
401: { description: 'Unauthorized' },
|
|
9234
|
+
},
|
|
9235
|
+
security: [
|
|
9236
|
+
{ api_key: [] },
|
|
9237
|
+
{ client_session: [] },
|
|
9238
|
+
{ pat_with_workspace: [] },
|
|
9239
|
+
{ console_session: [] },
|
|
9240
|
+
],
|
|
9241
|
+
summary: '/user_identities/list',
|
|
9242
|
+
tags: [],
|
|
9243
|
+
'x-fern-ignore': true,
|
|
9244
|
+
},
|
|
9245
|
+
post: {
|
|
9246
|
+
operationId: 'userIdentitiesListPost',
|
|
9247
|
+
responses: {
|
|
9248
|
+
200: {
|
|
9249
|
+
content: {
|
|
9250
|
+
'application/json': {
|
|
9251
|
+
schema: {
|
|
9252
|
+
properties: {
|
|
9253
|
+
ok: { type: 'boolean' },
|
|
9254
|
+
user_identities: {
|
|
9255
|
+
items: {
|
|
9256
|
+
properties: {
|
|
9257
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
9258
|
+
email_address: {
|
|
9259
|
+
format: 'email',
|
|
9260
|
+
nullable: true,
|
|
9261
|
+
type: 'string',
|
|
9262
|
+
},
|
|
9263
|
+
first_name: { nullable: true, type: 'string' },
|
|
9264
|
+
last_name: { nullable: true, type: 'string' },
|
|
9265
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
9266
|
+
user_identity_key: { nullable: true, type: 'string' },
|
|
9267
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
9268
|
+
},
|
|
9269
|
+
required: [
|
|
9270
|
+
'user_identity_id',
|
|
9271
|
+
'created_at',
|
|
9272
|
+
'workspace_id',
|
|
9273
|
+
],
|
|
9274
|
+
type: 'object',
|
|
9275
|
+
},
|
|
9276
|
+
type: 'array',
|
|
9277
|
+
},
|
|
9278
|
+
},
|
|
9279
|
+
required: ['user_identities', 'ok'],
|
|
9280
|
+
type: 'object',
|
|
9281
|
+
},
|
|
9282
|
+
},
|
|
9283
|
+
},
|
|
9284
|
+
description: 'OK',
|
|
9285
|
+
},
|
|
9286
|
+
400: { description: 'Bad Request' },
|
|
9287
|
+
401: { description: 'Unauthorized' },
|
|
9288
|
+
},
|
|
9289
|
+
security: [
|
|
9290
|
+
{ api_key: [] },
|
|
9291
|
+
{ client_session: [] },
|
|
9292
|
+
{ pat_with_workspace: [] },
|
|
9293
|
+
{ console_session: [] },
|
|
9294
|
+
],
|
|
9295
|
+
summary: '/user_identities/list',
|
|
9296
|
+
tags: [],
|
|
9297
|
+
'x-fern-sdk-group-name': ['user_identities'],
|
|
9298
|
+
'x-fern-sdk-method-name': 'list',
|
|
9299
|
+
'x-fern-sdk-return-value': 'user_identities',
|
|
9300
|
+
},
|
|
9301
|
+
},
|
|
9187
9302
|
'/user_identities/list_accessible_devices': {
|
|
9188
9303
|
post: {
|
|
9189
9304
|
operationId: 'userIdentitiesListAccessibleDevicesPost',
|
|
@@ -1032,6 +1032,7 @@ export interface Routes {
|
|
|
1032
1032
|
system_type_display_name: string
|
|
1033
1033
|
name: string
|
|
1034
1034
|
created_at: string
|
|
1035
|
+
workspace_id: string
|
|
1035
1036
|
connected_account_ids: string[]
|
|
1036
1037
|
}
|
|
1037
1038
|
}
|
|
@@ -1066,6 +1067,7 @@ export interface Routes {
|
|
|
1066
1067
|
system_type_display_name: string
|
|
1067
1068
|
name: string
|
|
1068
1069
|
created_at: string
|
|
1070
|
+
workspace_id: string
|
|
1069
1071
|
connected_account_ids: string[]
|
|
1070
1072
|
}>
|
|
1071
1073
|
}
|
|
@@ -8127,6 +8129,25 @@ export interface Routes {
|
|
|
8127
8129
|
formData: {}
|
|
8128
8130
|
jsonResponse: {}
|
|
8129
8131
|
}
|
|
8132
|
+
'/user_identities/list': {
|
|
8133
|
+
route: '/user_identities/list'
|
|
8134
|
+
method: 'GET' | 'POST'
|
|
8135
|
+
queryParams: {}
|
|
8136
|
+
jsonBody: {}
|
|
8137
|
+
commonParams: {}
|
|
8138
|
+
formData: {}
|
|
8139
|
+
jsonResponse: {
|
|
8140
|
+
user_identities: Array<{
|
|
8141
|
+
user_identity_id: string
|
|
8142
|
+
user_identity_key?: (string | null) | undefined
|
|
8143
|
+
email_address?: (string | null) | undefined
|
|
8144
|
+
first_name?: (string | null) | undefined
|
|
8145
|
+
last_name?: (string | null) | undefined
|
|
8146
|
+
created_at: string
|
|
8147
|
+
workspace_id: string
|
|
8148
|
+
}>
|
|
8149
|
+
}
|
|
8150
|
+
}
|
|
8130
8151
|
'/user_identities/list_accessible_devices': {
|
|
8131
8152
|
route: '/user_identities/list_accessible_devices'
|
|
8132
8153
|
method: 'GET' | 'POST'
|