@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
|
@@ -705,7 +705,7 @@ export interface Routes {
|
|
|
705
705
|
workspace_id: string;
|
|
706
706
|
created_at: string;
|
|
707
707
|
display_name: string;
|
|
708
|
-
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
|
|
708
|
+
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user';
|
|
709
709
|
external_type_display_name: string;
|
|
710
710
|
is_suspended: boolean;
|
|
711
711
|
full_name?: string | undefined;
|
|
@@ -1064,7 +1064,7 @@ export interface Routes {
|
|
|
1064
1064
|
workspace_id: string;
|
|
1065
1065
|
created_at: string;
|
|
1066
1066
|
display_name: string;
|
|
1067
|
-
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
|
|
1067
|
+
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user';
|
|
1068
1068
|
external_type_display_name: string;
|
|
1069
1069
|
is_suspended: boolean;
|
|
1070
1070
|
full_name?: string | undefined;
|
|
@@ -1103,7 +1103,7 @@ export interface Routes {
|
|
|
1103
1103
|
workspace_id: string;
|
|
1104
1104
|
created_at: string;
|
|
1105
1105
|
display_name: string;
|
|
1106
|
-
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
|
|
1106
|
+
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user';
|
|
1107
1107
|
external_type_display_name: string;
|
|
1108
1108
|
is_suspended: boolean;
|
|
1109
1109
|
full_name?: string | undefined;
|
|
@@ -1131,7 +1131,7 @@ export interface Routes {
|
|
|
1131
1131
|
workspace_id: string;
|
|
1132
1132
|
created_at: string;
|
|
1133
1133
|
display_name: string;
|
|
1134
|
-
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
|
|
1134
|
+
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user';
|
|
1135
1135
|
external_type_display_name: string;
|
|
1136
1136
|
is_suspended: boolean;
|
|
1137
1137
|
full_name?: string | undefined;
|
|
@@ -1573,6 +1573,7 @@ export interface Routes {
|
|
|
1573
1573
|
errors?: any;
|
|
1574
1574
|
warnings?: any;
|
|
1575
1575
|
custom_metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
1576
|
+
automatically_manage_new_devices: boolean;
|
|
1576
1577
|
};
|
|
1577
1578
|
};
|
|
1578
1579
|
};
|
|
@@ -1599,9 +1600,40 @@ export interface Routes {
|
|
|
1599
1600
|
errors?: any;
|
|
1600
1601
|
warnings?: any;
|
|
1601
1602
|
custom_metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
1603
|
+
automatically_manage_new_devices: boolean;
|
|
1602
1604
|
}>;
|
|
1603
1605
|
};
|
|
1604
1606
|
};
|
|
1607
|
+
'/connected_accounts/update': {
|
|
1608
|
+
route: '/connected_accounts/update';
|
|
1609
|
+
method: 'POST';
|
|
1610
|
+
queryParams: {};
|
|
1611
|
+
jsonBody: {
|
|
1612
|
+
connected_account_id: string;
|
|
1613
|
+
automatically_manage_new_devices?: boolean | undefined;
|
|
1614
|
+
};
|
|
1615
|
+
commonParams: {};
|
|
1616
|
+
formData: {};
|
|
1617
|
+
jsonResponse: {
|
|
1618
|
+
connected_account: {
|
|
1619
|
+
connected_account_id?: string | undefined;
|
|
1620
|
+
created_at?: string | undefined;
|
|
1621
|
+
user_identifier?: {
|
|
1622
|
+
username?: string | undefined;
|
|
1623
|
+
api_url?: string | undefined;
|
|
1624
|
+
email?: string | undefined;
|
|
1625
|
+
phone?: string | undefined;
|
|
1626
|
+
exclusive?: boolean | undefined;
|
|
1627
|
+
} | undefined;
|
|
1628
|
+
account_type?: string | undefined;
|
|
1629
|
+
account_type_display_name: string;
|
|
1630
|
+
errors?: any;
|
|
1631
|
+
warnings?: any;
|
|
1632
|
+
custom_metadata?: Record<string, string | number | boolean | null> | undefined;
|
|
1633
|
+
automatically_manage_new_devices: boolean;
|
|
1634
|
+
};
|
|
1635
|
+
};
|
|
1636
|
+
};
|
|
1605
1637
|
'/devices/delete': {
|
|
1606
1638
|
route: '/devices/delete';
|
|
1607
1639
|
method: 'DELETE' | 'POST';
|
|
@@ -6614,7 +6646,7 @@ export interface Routes {
|
|
|
6614
6646
|
workspace_id: string;
|
|
6615
6647
|
created_at: string;
|
|
6616
6648
|
display_name: string;
|
|
6617
|
-
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
|
|
6649
|
+
external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user';
|
|
6618
6650
|
external_type_display_name: string;
|
|
6619
6651
|
is_suspended: boolean;
|
|
6620
6652
|
full_name?: string | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const acs_user_external_type: z.ZodEnum<["pti_user", "brivo_user", "hid_cm_user"]>;
|
|
2
|
+
export declare const acs_user_external_type: z.ZodEnum<["pti_user", "brivo_user", "hid_cm_user", "salto_site_user"]>;
|
|
3
3
|
export type AcsUserExternalType = z.infer<typeof acs_user_external_type>;
|
|
4
4
|
export declare const acs_user: z.ZodObject<{
|
|
5
5
|
workspace_id: z.ZodString;
|
|
6
6
|
created_at: z.ZodString;
|
|
7
7
|
acs_system_id: z.ZodString;
|
|
8
|
-
external_type: z.ZodEnum<["pti_user", "brivo_user", "hid_cm_user"]>;
|
|
8
|
+
external_type: z.ZodEnum<["pti_user", "brivo_user", "hid_cm_user", "salto_site_user"]>;
|
|
9
9
|
external_type_display_name: z.ZodString;
|
|
10
10
|
acs_user_id: z.ZodString;
|
|
11
11
|
display_name: z.ZodString;
|
|
@@ -19,7 +19,7 @@ export declare const acs_user: z.ZodObject<{
|
|
|
19
19
|
workspace_id: string;
|
|
20
20
|
created_at: string;
|
|
21
21
|
acs_system_id: string;
|
|
22
|
-
external_type: "pti_user" | "brivo_user" | "hid_cm_user";
|
|
22
|
+
external_type: "pti_user" | "brivo_user" | "hid_cm_user" | "salto_site_user";
|
|
23
23
|
external_type_display_name: string;
|
|
24
24
|
acs_user_id: string;
|
|
25
25
|
display_name: string;
|
|
@@ -33,7 +33,7 @@ export declare const acs_user: z.ZodObject<{
|
|
|
33
33
|
workspace_id: string;
|
|
34
34
|
created_at: string;
|
|
35
35
|
acs_system_id: string;
|
|
36
|
-
external_type: "pti_user" | "brivo_user" | "hid_cm_user";
|
|
36
|
+
external_type: "pti_user" | "brivo_user" | "hid_cm_user" | "salto_site_user";
|
|
37
37
|
external_type_display_name: string;
|
|
38
38
|
acs_user_id: string;
|
|
39
39
|
display_name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,aAAa;
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,aAAa;IACb,iBAAiB;CAClB,CAAC,CAAA;AAIF,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;KAC1B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;IACN,iDAAiD;IACjD,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtC,CAAC,EACD;IACE,OAAO,EAAE,oDAAoD;CAC9D,CACF,CAAA;AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,KAAK,EAAE;SACP,QAAQ,EAAE;SACV,QAAQ,CAAC,gCAAgC,CAAC;IAC7C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,sBAAsB;IACrC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;CAC1B,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -246,7 +246,7 @@ export default {
|
|
|
246
246
|
},
|
|
247
247
|
email_address: { format: 'email', type: 'string' },
|
|
248
248
|
external_type: {
|
|
249
|
-
enum: ['pti_user', 'brivo_user', 'hid_cm_user'],
|
|
249
|
+
enum: ['pti_user', 'brivo_user', 'hid_cm_user', 'salto_site_user'],
|
|
250
250
|
type: 'string',
|
|
251
251
|
},
|
|
252
252
|
external_type_display_name: { type: 'string' },
|
|
@@ -469,6 +469,7 @@ export default {
|
|
|
469
469
|
properties: {
|
|
470
470
|
account_type: { type: 'string' },
|
|
471
471
|
account_type_display_name: { type: 'string' },
|
|
472
|
+
automatically_manage_new_devices: { type: 'boolean' },
|
|
472
473
|
connected_account_id: { format: 'uuid', type: 'string' },
|
|
473
474
|
created_at: { format: 'date-time', type: 'string' },
|
|
474
475
|
custom_metadata: {
|
|
@@ -496,7 +497,10 @@ export default {
|
|
|
496
497
|
},
|
|
497
498
|
warnings: { nullable: true },
|
|
498
499
|
},
|
|
499
|
-
required: [
|
|
500
|
+
required: [
|
|
501
|
+
'account_type_display_name',
|
|
502
|
+
'automatically_manage_new_devices',
|
|
503
|
+
],
|
|
500
504
|
type: 'object',
|
|
501
505
|
},
|
|
502
506
|
device: {
|
|
@@ -2571,9 +2575,10 @@ export default {
|
|
|
2571
2575
|
401: { description: 'Unauthorized' },
|
|
2572
2576
|
},
|
|
2573
2577
|
security: [
|
|
2574
|
-
{
|
|
2575
|
-
{
|
|
2576
|
-
{
|
|
2578
|
+
{ client_session: [] },
|
|
2579
|
+
{ pat_with_workspace: [] },
|
|
2580
|
+
{ console_session: [] },
|
|
2581
|
+
{ api_key: [] },
|
|
2577
2582
|
],
|
|
2578
2583
|
summary: '/access_codes/unmanaged/convert_to_managed',
|
|
2579
2584
|
tags: ['/access_codes'],
|
|
@@ -2615,9 +2620,10 @@ export default {
|
|
|
2615
2620
|
401: { description: 'Unauthorized' },
|
|
2616
2621
|
},
|
|
2617
2622
|
security: [
|
|
2618
|
-
{
|
|
2619
|
-
{
|
|
2620
|
-
{
|
|
2623
|
+
{ client_session: [] },
|
|
2624
|
+
{ pat_with_workspace: [] },
|
|
2625
|
+
{ console_session: [] },
|
|
2626
|
+
{ api_key: [] },
|
|
2621
2627
|
],
|
|
2622
2628
|
summary: '/access_codes/unmanaged/convert_to_managed',
|
|
2623
2629
|
tags: ['/access_codes'],
|
|
@@ -2664,9 +2670,10 @@ export default {
|
|
|
2664
2670
|
401: { description: 'Unauthorized' },
|
|
2665
2671
|
},
|
|
2666
2672
|
security: [
|
|
2667
|
-
{
|
|
2668
|
-
{
|
|
2669
|
-
{
|
|
2673
|
+
{ client_session: [] },
|
|
2674
|
+
{ pat_with_workspace: [] },
|
|
2675
|
+
{ console_session: [] },
|
|
2676
|
+
{ api_key: [] },
|
|
2670
2677
|
],
|
|
2671
2678
|
summary: '/access_codes/unmanaged/delete',
|
|
2672
2679
|
tags: ['/access_codes'],
|
|
@@ -2714,9 +2721,10 @@ export default {
|
|
|
2714
2721
|
401: { description: 'Unauthorized' },
|
|
2715
2722
|
},
|
|
2716
2723
|
security: [
|
|
2717
|
-
{
|
|
2718
|
-
{
|
|
2719
|
-
{
|
|
2724
|
+
{ client_session: [] },
|
|
2725
|
+
{ pat_with_workspace: [] },
|
|
2726
|
+
{ console_session: [] },
|
|
2727
|
+
{ api_key: [] },
|
|
2720
2728
|
],
|
|
2721
2729
|
summary: '/access_codes/unmanaged/get',
|
|
2722
2730
|
tags: ['/access_codes'],
|
|
@@ -2767,9 +2775,10 @@ export default {
|
|
|
2767
2775
|
401: { description: 'Unauthorized' },
|
|
2768
2776
|
},
|
|
2769
2777
|
security: [
|
|
2770
|
-
{
|
|
2771
|
-
{
|
|
2772
|
-
{
|
|
2778
|
+
{ client_session: [] },
|
|
2779
|
+
{ pat_with_workspace: [] },
|
|
2780
|
+
{ console_session: [] },
|
|
2781
|
+
{ api_key: [] },
|
|
2773
2782
|
],
|
|
2774
2783
|
summary: '/access_codes/unmanaged/list',
|
|
2775
2784
|
tags: ['/access_codes'],
|
|
@@ -2815,9 +2824,10 @@ export default {
|
|
|
2815
2824
|
401: { description: 'Unauthorized' },
|
|
2816
2825
|
},
|
|
2817
2826
|
security: [
|
|
2818
|
-
{
|
|
2819
|
-
{
|
|
2820
|
-
{
|
|
2827
|
+
{ client_session: [] },
|
|
2828
|
+
{ pat_with_workspace: [] },
|
|
2829
|
+
{ console_session: [] },
|
|
2830
|
+
{ api_key: [] },
|
|
2821
2831
|
],
|
|
2822
2832
|
summary: '/access_codes/unmanaged/update',
|
|
2823
2833
|
tags: ['/access_codes'],
|
|
@@ -2859,9 +2869,10 @@ export default {
|
|
|
2859
2869
|
401: { description: 'Unauthorized' },
|
|
2860
2870
|
},
|
|
2861
2871
|
security: [
|
|
2862
|
-
{
|
|
2863
|
-
{
|
|
2864
|
-
{
|
|
2872
|
+
{ client_session: [] },
|
|
2873
|
+
{ pat_with_workspace: [] },
|
|
2874
|
+
{ console_session: [] },
|
|
2875
|
+
{ api_key: [] },
|
|
2865
2876
|
],
|
|
2866
2877
|
summary: '/access_codes/unmanaged/update',
|
|
2867
2878
|
tags: ['/access_codes'],
|
|
@@ -3129,9 +3140,10 @@ export default {
|
|
|
3129
3140
|
401: { description: 'Unauthorized' },
|
|
3130
3141
|
},
|
|
3131
3142
|
security: [
|
|
3132
|
-
{
|
|
3133
|
-
{
|
|
3134
|
-
{
|
|
3143
|
+
{ client_session: [] },
|
|
3144
|
+
{ pat_with_workspace: [] },
|
|
3145
|
+
{ console_session: [] },
|
|
3146
|
+
{ api_key: [] },
|
|
3135
3147
|
],
|
|
3136
3148
|
summary: '/acs/access_groups/add_user',
|
|
3137
3149
|
tags: [],
|
|
@@ -3171,9 +3183,10 @@ export default {
|
|
|
3171
3183
|
401: { description: 'Unauthorized' },
|
|
3172
3184
|
},
|
|
3173
3185
|
security: [
|
|
3174
|
-
{
|
|
3175
|
-
{
|
|
3176
|
-
{
|
|
3186
|
+
{ client_session: [] },
|
|
3187
|
+
{ pat_with_workspace: [] },
|
|
3188
|
+
{ console_session: [] },
|
|
3189
|
+
{ api_key: [] },
|
|
3177
3190
|
],
|
|
3178
3191
|
summary: '/acs/access_groups/add_user',
|
|
3179
3192
|
tags: [],
|
|
@@ -3218,9 +3231,10 @@ export default {
|
|
|
3218
3231
|
401: { description: 'Unauthorized' },
|
|
3219
3232
|
},
|
|
3220
3233
|
security: [
|
|
3221
|
-
{
|
|
3222
|
-
{
|
|
3223
|
-
{
|
|
3234
|
+
{ client_session: [] },
|
|
3235
|
+
{ pat_with_workspace: [] },
|
|
3236
|
+
{ console_session: [] },
|
|
3237
|
+
{ api_key: [] },
|
|
3224
3238
|
],
|
|
3225
3239
|
summary: '/acs/access_groups/get',
|
|
3226
3240
|
tags: [],
|
|
@@ -3316,9 +3330,10 @@ export default {
|
|
|
3316
3330
|
401: { description: 'Unauthorized' },
|
|
3317
3331
|
},
|
|
3318
3332
|
security: [
|
|
3319
|
-
{
|
|
3320
|
-
{
|
|
3321
|
-
{
|
|
3333
|
+
{ client_session: [] },
|
|
3334
|
+
{ pat_with_workspace: [] },
|
|
3335
|
+
{ console_session: [] },
|
|
3336
|
+
{ api_key: [] },
|
|
3322
3337
|
],
|
|
3323
3338
|
summary: '/acs/access_groups/list_users',
|
|
3324
3339
|
tags: [],
|
|
@@ -6132,6 +6147,56 @@ export default {
|
|
|
6132
6147
|
'x-fern-sdk-return-value': 'connected_accounts',
|
|
6133
6148
|
},
|
|
6134
6149
|
},
|
|
6150
|
+
'/connected_accounts/update': {
|
|
6151
|
+
post: {
|
|
6152
|
+
operationId: 'connectedAccountsUpdatePost',
|
|
6153
|
+
requestBody: {
|
|
6154
|
+
content: {
|
|
6155
|
+
'application/json': {
|
|
6156
|
+
schema: {
|
|
6157
|
+
properties: {
|
|
6158
|
+
automatically_manage_new_devices: { type: 'boolean' },
|
|
6159
|
+
connected_account_id: { format: 'uuid', type: 'string' },
|
|
6160
|
+
},
|
|
6161
|
+
required: ['connected_account_id'],
|
|
6162
|
+
type: 'object',
|
|
6163
|
+
},
|
|
6164
|
+
},
|
|
6165
|
+
},
|
|
6166
|
+
},
|
|
6167
|
+
responses: {
|
|
6168
|
+
200: {
|
|
6169
|
+
content: {
|
|
6170
|
+
'application/json': {
|
|
6171
|
+
schema: {
|
|
6172
|
+
properties: {
|
|
6173
|
+
connected_account: {
|
|
6174
|
+
$ref: '#/components/schemas/connected_account',
|
|
6175
|
+
},
|
|
6176
|
+
ok: { type: 'boolean' },
|
|
6177
|
+
},
|
|
6178
|
+
required: ['connected_account', 'ok'],
|
|
6179
|
+
type: 'object',
|
|
6180
|
+
},
|
|
6181
|
+
},
|
|
6182
|
+
},
|
|
6183
|
+
description: 'OK',
|
|
6184
|
+
},
|
|
6185
|
+
400: { description: 'Bad Request' },
|
|
6186
|
+
401: { description: 'Unauthorized' },
|
|
6187
|
+
},
|
|
6188
|
+
security: [
|
|
6189
|
+
{ pat_with_workspace: [] },
|
|
6190
|
+
{ console_session: [] },
|
|
6191
|
+
{ api_key: [] },
|
|
6192
|
+
],
|
|
6193
|
+
summary: '/connected_accounts/update',
|
|
6194
|
+
tags: ['/connected_accounts'],
|
|
6195
|
+
'x-fern-sdk-group-name': ['connected_accounts'],
|
|
6196
|
+
'x-fern-sdk-method-name': 'update',
|
|
6197
|
+
'x-fern-sdk-return-value': 'connected_account',
|
|
6198
|
+
},
|
|
6199
|
+
},
|
|
6135
6200
|
'/devices/delete': {
|
|
6136
6201
|
post: {
|
|
6137
6202
|
operationId: 'devicesDeletePost',
|
|
@@ -733,7 +733,11 @@ export interface Routes {
|
|
|
733
733
|
workspace_id: string
|
|
734
734
|
created_at: string
|
|
735
735
|
display_name: string
|
|
736
|
-
external_type:
|
|
736
|
+
external_type:
|
|
737
|
+
| 'pti_user'
|
|
738
|
+
| 'brivo_user'
|
|
739
|
+
| 'hid_cm_user'
|
|
740
|
+
| 'salto_site_user'
|
|
737
741
|
external_type_display_name: string
|
|
738
742
|
is_suspended: boolean
|
|
739
743
|
full_name?: string | undefined
|
|
@@ -1123,7 +1127,11 @@ export interface Routes {
|
|
|
1123
1127
|
workspace_id: string
|
|
1124
1128
|
created_at: string
|
|
1125
1129
|
display_name: string
|
|
1126
|
-
external_type:
|
|
1130
|
+
external_type:
|
|
1131
|
+
| 'pti_user'
|
|
1132
|
+
| 'brivo_user'
|
|
1133
|
+
| 'hid_cm_user'
|
|
1134
|
+
| 'salto_site_user'
|
|
1127
1135
|
external_type_display_name: string
|
|
1128
1136
|
is_suspended: boolean
|
|
1129
1137
|
full_name?: string | undefined
|
|
@@ -1162,7 +1170,11 @@ export interface Routes {
|
|
|
1162
1170
|
workspace_id: string
|
|
1163
1171
|
created_at: string
|
|
1164
1172
|
display_name: string
|
|
1165
|
-
external_type:
|
|
1173
|
+
external_type:
|
|
1174
|
+
| 'pti_user'
|
|
1175
|
+
| 'brivo_user'
|
|
1176
|
+
| 'hid_cm_user'
|
|
1177
|
+
| 'salto_site_user'
|
|
1166
1178
|
external_type_display_name: string
|
|
1167
1179
|
is_suspended: boolean
|
|
1168
1180
|
full_name?: string | undefined
|
|
@@ -1190,7 +1202,11 @@ export interface Routes {
|
|
|
1190
1202
|
workspace_id: string
|
|
1191
1203
|
created_at: string
|
|
1192
1204
|
display_name: string
|
|
1193
|
-
external_type:
|
|
1205
|
+
external_type:
|
|
1206
|
+
| 'pti_user'
|
|
1207
|
+
| 'brivo_user'
|
|
1208
|
+
| 'hid_cm_user'
|
|
1209
|
+
| 'salto_site_user'
|
|
1194
1210
|
external_type_display_name: string
|
|
1195
1211
|
is_suspended: boolean
|
|
1196
1212
|
full_name?: string | undefined
|
|
@@ -1687,6 +1703,7 @@ export interface Routes {
|
|
|
1687
1703
|
custom_metadata?:
|
|
1688
1704
|
| Record<string, string | number | boolean | null>
|
|
1689
1705
|
| undefined
|
|
1706
|
+
automatically_manage_new_devices: boolean
|
|
1690
1707
|
}
|
|
1691
1708
|
}
|
|
1692
1709
|
}
|
|
@@ -1717,9 +1734,44 @@ export interface Routes {
|
|
|
1717
1734
|
custom_metadata?:
|
|
1718
1735
|
| Record<string, string | number | boolean | null>
|
|
1719
1736
|
| undefined
|
|
1737
|
+
automatically_manage_new_devices: boolean
|
|
1720
1738
|
}>
|
|
1721
1739
|
}
|
|
1722
1740
|
}
|
|
1741
|
+
'/connected_accounts/update': {
|
|
1742
|
+
route: '/connected_accounts/update'
|
|
1743
|
+
method: 'POST'
|
|
1744
|
+
queryParams: {}
|
|
1745
|
+
jsonBody: {
|
|
1746
|
+
connected_account_id: string
|
|
1747
|
+
automatically_manage_new_devices?: boolean | undefined
|
|
1748
|
+
}
|
|
1749
|
+
commonParams: {}
|
|
1750
|
+
formData: {}
|
|
1751
|
+
jsonResponse: {
|
|
1752
|
+
connected_account: {
|
|
1753
|
+
connected_account_id?: string | undefined
|
|
1754
|
+
created_at?: string | undefined
|
|
1755
|
+
user_identifier?:
|
|
1756
|
+
| {
|
|
1757
|
+
username?: string | undefined
|
|
1758
|
+
api_url?: string | undefined
|
|
1759
|
+
email?: string | undefined
|
|
1760
|
+
phone?: string | undefined
|
|
1761
|
+
exclusive?: boolean | undefined
|
|
1762
|
+
}
|
|
1763
|
+
| undefined
|
|
1764
|
+
account_type?: string | undefined
|
|
1765
|
+
account_type_display_name: string
|
|
1766
|
+
errors?: any
|
|
1767
|
+
warnings?: any
|
|
1768
|
+
custom_metadata?:
|
|
1769
|
+
| Record<string, string | number | boolean | null>
|
|
1770
|
+
| undefined
|
|
1771
|
+
automatically_manage_new_devices: boolean
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1723
1775
|
'/devices/delete': {
|
|
1724
1776
|
route: '/devices/delete'
|
|
1725
1777
|
method: 'DELETE' | 'POST'
|
|
@@ -9026,7 +9078,11 @@ export interface Routes {
|
|
|
9026
9078
|
workspace_id: string
|
|
9027
9079
|
created_at: string
|
|
9028
9080
|
display_name: string
|
|
9029
|
-
external_type:
|
|
9081
|
+
external_type:
|
|
9082
|
+
| 'pti_user'
|
|
9083
|
+
| 'brivo_user'
|
|
9084
|
+
| 'hid_cm_user'
|
|
9085
|
+
| 'salto_site_user'
|
|
9030
9086
|
external_type_display_name: string
|
|
9031
9087
|
is_suspended: boolean
|
|
9032
9088
|
full_name?: string | undefined
|