@seamapi/types 1.358.0 → 1.359.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 +467 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2286 -812
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +100 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +100 -0
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +14 -14
- package/lib/seam/connect/models/acs/acs-credential.d.ts +74 -74
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +8 -8
- package/lib/seam/connect/models/acs/acs-system.d.ts +72 -72
- package/lib/seam/connect/models/acs/acs-user.d.ts +104 -104
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +168 -168
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +72 -72
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +96 -96
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +634 -21
- package/lib/seam/connect/models/connected-accounts/connected-account.js +56 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +24 -24
- package/lib/seam/connect/models/devices/device.d.ts +146 -46
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +127 -27
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/connect-webviews.d.ts +4 -4
- package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
- package/lib/seam/connect/models/events/devices.d.ts +128 -128
- package/lib/seam/connect/models/events/seam-event.d.ts +114 -114
- package/lib/seam/connect/openapi.d.ts +366 -4
- package/lib/seam/connect/openapi.js +415 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +567 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/model-types.ts +0 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +77 -2
- package/src/lib/seam/connect/openapi.ts +445 -2
- package/src/lib/seam/connect/route-types.ts +597 -0
|
@@ -56,7 +56,9 @@ declare const _default: {
|
|
|
56
56
|
type: string;
|
|
57
57
|
};
|
|
58
58
|
is_device_error?: never;
|
|
59
|
+
created_at?: never;
|
|
59
60
|
is_connected_account_error?: never;
|
|
61
|
+
salto_ks_metadata?: never;
|
|
60
62
|
};
|
|
61
63
|
required: string[];
|
|
62
64
|
type: string;
|
|
@@ -76,13 +78,20 @@ declare const _default: {
|
|
|
76
78
|
type: string;
|
|
77
79
|
};
|
|
78
80
|
is_access_code_error?: never;
|
|
81
|
+
created_at?: never;
|
|
79
82
|
is_connected_account_error?: never;
|
|
83
|
+
salto_ks_metadata?: never;
|
|
80
84
|
};
|
|
81
85
|
required: string[];
|
|
82
86
|
type: string;
|
|
83
87
|
} | {
|
|
84
88
|
description: string;
|
|
85
89
|
properties: {
|
|
90
|
+
created_at: {
|
|
91
|
+
description: string;
|
|
92
|
+
format: string;
|
|
93
|
+
type: string;
|
|
94
|
+
};
|
|
86
95
|
error_code: {
|
|
87
96
|
description: string;
|
|
88
97
|
enum: string[];
|
|
@@ -97,6 +106,61 @@ declare const _default: {
|
|
|
97
106
|
};
|
|
98
107
|
is_access_code_error?: never;
|
|
99
108
|
is_device_error?: never;
|
|
109
|
+
salto_ks_metadata?: never;
|
|
110
|
+
};
|
|
111
|
+
required: string[];
|
|
112
|
+
type: string;
|
|
113
|
+
} | {
|
|
114
|
+
description: string;
|
|
115
|
+
properties: {
|
|
116
|
+
created_at: {
|
|
117
|
+
description: string;
|
|
118
|
+
format: string;
|
|
119
|
+
type: string;
|
|
120
|
+
};
|
|
121
|
+
error_code: {
|
|
122
|
+
description: string;
|
|
123
|
+
enum: string[];
|
|
124
|
+
type: string;
|
|
125
|
+
};
|
|
126
|
+
is_connected_account_error: {
|
|
127
|
+
enum: boolean[];
|
|
128
|
+
type: string;
|
|
129
|
+
};
|
|
130
|
+
message: {
|
|
131
|
+
type: string;
|
|
132
|
+
};
|
|
133
|
+
salto_ks_metadata: {
|
|
134
|
+
properties: {
|
|
135
|
+
sites: {
|
|
136
|
+
items: {
|
|
137
|
+
properties: {
|
|
138
|
+
site_id: {
|
|
139
|
+
type: string;
|
|
140
|
+
};
|
|
141
|
+
site_name: {
|
|
142
|
+
type: string;
|
|
143
|
+
};
|
|
144
|
+
site_user_subscription_limit: {
|
|
145
|
+
minimum: number;
|
|
146
|
+
type: string;
|
|
147
|
+
};
|
|
148
|
+
subscribed_site_user_count: {
|
|
149
|
+
minimum: number;
|
|
150
|
+
type: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
required: string[];
|
|
154
|
+
type: string;
|
|
155
|
+
};
|
|
156
|
+
type: string;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
required: string[];
|
|
160
|
+
type: string;
|
|
161
|
+
};
|
|
162
|
+
is_access_code_error?: never;
|
|
163
|
+
is_device_error?: never;
|
|
100
164
|
};
|
|
101
165
|
required: string[];
|
|
102
166
|
type: string;
|
|
@@ -2396,9 +2460,14 @@ declare const _default: {
|
|
|
2396
2460
|
discriminator: {
|
|
2397
2461
|
propertyName: string;
|
|
2398
2462
|
};
|
|
2399
|
-
oneOf: {
|
|
2463
|
+
oneOf: ({
|
|
2400
2464
|
description: string;
|
|
2401
2465
|
properties: {
|
|
2466
|
+
created_at: {
|
|
2467
|
+
description: string;
|
|
2468
|
+
format: string;
|
|
2469
|
+
type: string;
|
|
2470
|
+
};
|
|
2402
2471
|
error_code: {
|
|
2403
2472
|
description: string;
|
|
2404
2473
|
enum: string[];
|
|
@@ -2411,10 +2480,63 @@ declare const _default: {
|
|
|
2411
2480
|
message: {
|
|
2412
2481
|
type: string;
|
|
2413
2482
|
};
|
|
2483
|
+
salto_ks_metadata?: never;
|
|
2414
2484
|
};
|
|
2415
2485
|
required: string[];
|
|
2416
2486
|
type: string;
|
|
2417
|
-
}
|
|
2487
|
+
} | {
|
|
2488
|
+
description: string;
|
|
2489
|
+
properties: {
|
|
2490
|
+
created_at: {
|
|
2491
|
+
description: string;
|
|
2492
|
+
format: string;
|
|
2493
|
+
type: string;
|
|
2494
|
+
};
|
|
2495
|
+
error_code: {
|
|
2496
|
+
description: string;
|
|
2497
|
+
enum: string[];
|
|
2498
|
+
type: string;
|
|
2499
|
+
};
|
|
2500
|
+
is_connected_account_error: {
|
|
2501
|
+
enum: boolean[];
|
|
2502
|
+
type: string;
|
|
2503
|
+
};
|
|
2504
|
+
message: {
|
|
2505
|
+
type: string;
|
|
2506
|
+
};
|
|
2507
|
+
salto_ks_metadata: {
|
|
2508
|
+
properties: {
|
|
2509
|
+
sites: {
|
|
2510
|
+
items: {
|
|
2511
|
+
properties: {
|
|
2512
|
+
site_id: {
|
|
2513
|
+
type: string;
|
|
2514
|
+
};
|
|
2515
|
+
site_name: {
|
|
2516
|
+
type: string;
|
|
2517
|
+
};
|
|
2518
|
+
site_user_subscription_limit: {
|
|
2519
|
+
minimum: number;
|
|
2520
|
+
type: string;
|
|
2521
|
+
};
|
|
2522
|
+
subscribed_site_user_count: {
|
|
2523
|
+
minimum: number;
|
|
2524
|
+
type: string;
|
|
2525
|
+
};
|
|
2526
|
+
};
|
|
2527
|
+
required: string[];
|
|
2528
|
+
type: string;
|
|
2529
|
+
};
|
|
2530
|
+
type: string;
|
|
2531
|
+
};
|
|
2532
|
+
};
|
|
2533
|
+
required: string[];
|
|
2534
|
+
type: string;
|
|
2535
|
+
};
|
|
2536
|
+
};
|
|
2537
|
+
required: string[];
|
|
2538
|
+
type: string;
|
|
2539
|
+
})[];
|
|
2418
2540
|
};
|
|
2419
2541
|
type: string;
|
|
2420
2542
|
};
|
|
@@ -2444,9 +2566,14 @@ declare const _default: {
|
|
|
2444
2566
|
discriminator: {
|
|
2445
2567
|
propertyName: string;
|
|
2446
2568
|
};
|
|
2447
|
-
oneOf: {
|
|
2569
|
+
oneOf: ({
|
|
2448
2570
|
description: string;
|
|
2449
2571
|
properties: {
|
|
2572
|
+
created_at: {
|
|
2573
|
+
description: string;
|
|
2574
|
+
format: string;
|
|
2575
|
+
type: string;
|
|
2576
|
+
};
|
|
2450
2577
|
message: {
|
|
2451
2578
|
type: string;
|
|
2452
2579
|
};
|
|
@@ -2455,10 +2582,59 @@ declare const _default: {
|
|
|
2455
2582
|
enum: string[];
|
|
2456
2583
|
type: string;
|
|
2457
2584
|
};
|
|
2585
|
+
salto_ks_metadata?: never;
|
|
2458
2586
|
};
|
|
2459
2587
|
required: string[];
|
|
2460
2588
|
type: string;
|
|
2461
|
-
}
|
|
2589
|
+
} | {
|
|
2590
|
+
description: string;
|
|
2591
|
+
properties: {
|
|
2592
|
+
created_at: {
|
|
2593
|
+
description: string;
|
|
2594
|
+
format: string;
|
|
2595
|
+
type: string;
|
|
2596
|
+
};
|
|
2597
|
+
message: {
|
|
2598
|
+
type: string;
|
|
2599
|
+
};
|
|
2600
|
+
salto_ks_metadata: {
|
|
2601
|
+
properties: {
|
|
2602
|
+
sites: {
|
|
2603
|
+
items: {
|
|
2604
|
+
properties: {
|
|
2605
|
+
site_id: {
|
|
2606
|
+
type: string;
|
|
2607
|
+
};
|
|
2608
|
+
site_name: {
|
|
2609
|
+
type: string;
|
|
2610
|
+
};
|
|
2611
|
+
site_user_subscription_limit: {
|
|
2612
|
+
minimum: number;
|
|
2613
|
+
type: string;
|
|
2614
|
+
};
|
|
2615
|
+
subscribed_site_user_count: {
|
|
2616
|
+
minimum: number;
|
|
2617
|
+
type: string;
|
|
2618
|
+
};
|
|
2619
|
+
};
|
|
2620
|
+
required: string[];
|
|
2621
|
+
type: string;
|
|
2622
|
+
};
|
|
2623
|
+
type: string;
|
|
2624
|
+
};
|
|
2625
|
+
};
|
|
2626
|
+
required: string[];
|
|
2627
|
+
type: string;
|
|
2628
|
+
};
|
|
2629
|
+
warning_code: {
|
|
2630
|
+
description: string;
|
|
2631
|
+
enum: string[];
|
|
2632
|
+
type: string;
|
|
2633
|
+
};
|
|
2634
|
+
};
|
|
2635
|
+
required: string[];
|
|
2636
|
+
type: string;
|
|
2637
|
+
})[];
|
|
2462
2638
|
};
|
|
2463
2639
|
type: string;
|
|
2464
2640
|
};
|
|
@@ -2570,13 +2746,20 @@ declare const _default: {
|
|
|
2570
2746
|
message: {
|
|
2571
2747
|
type: string;
|
|
2572
2748
|
};
|
|
2749
|
+
created_at?: never;
|
|
2573
2750
|
is_connected_account_error?: never;
|
|
2751
|
+
salto_ks_metadata?: never;
|
|
2574
2752
|
};
|
|
2575
2753
|
required: string[];
|
|
2576
2754
|
type: string;
|
|
2577
2755
|
} | {
|
|
2578
2756
|
description: string;
|
|
2579
2757
|
properties: {
|
|
2758
|
+
created_at: {
|
|
2759
|
+
description: string;
|
|
2760
|
+
format: string;
|
|
2761
|
+
type: string;
|
|
2762
|
+
};
|
|
2580
2763
|
error_code: {
|
|
2581
2764
|
description: string;
|
|
2582
2765
|
enum: string[];
|
|
@@ -2590,6 +2773,60 @@ declare const _default: {
|
|
|
2590
2773
|
type: string;
|
|
2591
2774
|
};
|
|
2592
2775
|
is_device_error?: never;
|
|
2776
|
+
salto_ks_metadata?: never;
|
|
2777
|
+
};
|
|
2778
|
+
required: string[];
|
|
2779
|
+
type: string;
|
|
2780
|
+
} | {
|
|
2781
|
+
description: string;
|
|
2782
|
+
properties: {
|
|
2783
|
+
created_at: {
|
|
2784
|
+
description: string;
|
|
2785
|
+
format: string;
|
|
2786
|
+
type: string;
|
|
2787
|
+
};
|
|
2788
|
+
error_code: {
|
|
2789
|
+
description: string;
|
|
2790
|
+
enum: string[];
|
|
2791
|
+
type: string;
|
|
2792
|
+
};
|
|
2793
|
+
is_connected_account_error: {
|
|
2794
|
+
enum: boolean[];
|
|
2795
|
+
type: string;
|
|
2796
|
+
};
|
|
2797
|
+
message: {
|
|
2798
|
+
type: string;
|
|
2799
|
+
};
|
|
2800
|
+
salto_ks_metadata: {
|
|
2801
|
+
properties: {
|
|
2802
|
+
sites: {
|
|
2803
|
+
items: {
|
|
2804
|
+
properties: {
|
|
2805
|
+
site_id: {
|
|
2806
|
+
type: string;
|
|
2807
|
+
};
|
|
2808
|
+
site_name: {
|
|
2809
|
+
type: string;
|
|
2810
|
+
};
|
|
2811
|
+
site_user_subscription_limit: {
|
|
2812
|
+
minimum: number;
|
|
2813
|
+
type: string;
|
|
2814
|
+
};
|
|
2815
|
+
subscribed_site_user_count: {
|
|
2816
|
+
minimum: number;
|
|
2817
|
+
type: string;
|
|
2818
|
+
};
|
|
2819
|
+
};
|
|
2820
|
+
required: string[];
|
|
2821
|
+
type: string;
|
|
2822
|
+
};
|
|
2823
|
+
type: string;
|
|
2824
|
+
};
|
|
2825
|
+
};
|
|
2826
|
+
required: string[];
|
|
2827
|
+
type: string;
|
|
2828
|
+
};
|
|
2829
|
+
is_device_error?: never;
|
|
2593
2830
|
};
|
|
2594
2831
|
required: string[];
|
|
2595
2832
|
type: string;
|
|
@@ -7052,7 +7289,9 @@ declare const _default: {
|
|
|
7052
7289
|
type: string;
|
|
7053
7290
|
};
|
|
7054
7291
|
is_device_error?: never;
|
|
7292
|
+
created_at?: never;
|
|
7055
7293
|
is_connected_account_error?: never;
|
|
7294
|
+
salto_ks_metadata?: never;
|
|
7056
7295
|
};
|
|
7057
7296
|
required: string[];
|
|
7058
7297
|
type: string;
|
|
@@ -7072,13 +7311,20 @@ declare const _default: {
|
|
|
7072
7311
|
type: string;
|
|
7073
7312
|
};
|
|
7074
7313
|
is_access_code_error?: never;
|
|
7314
|
+
created_at?: never;
|
|
7075
7315
|
is_connected_account_error?: never;
|
|
7316
|
+
salto_ks_metadata?: never;
|
|
7076
7317
|
};
|
|
7077
7318
|
required: string[];
|
|
7078
7319
|
type: string;
|
|
7079
7320
|
} | {
|
|
7080
7321
|
description: string;
|
|
7081
7322
|
properties: {
|
|
7323
|
+
created_at: {
|
|
7324
|
+
description: string;
|
|
7325
|
+
format: string;
|
|
7326
|
+
type: string;
|
|
7327
|
+
};
|
|
7082
7328
|
error_code: {
|
|
7083
7329
|
description: string;
|
|
7084
7330
|
enum: string[];
|
|
@@ -7093,6 +7339,61 @@ declare const _default: {
|
|
|
7093
7339
|
};
|
|
7094
7340
|
is_access_code_error?: never;
|
|
7095
7341
|
is_device_error?: never;
|
|
7342
|
+
salto_ks_metadata?: never;
|
|
7343
|
+
};
|
|
7344
|
+
required: string[];
|
|
7345
|
+
type: string;
|
|
7346
|
+
} | {
|
|
7347
|
+
description: string;
|
|
7348
|
+
properties: {
|
|
7349
|
+
created_at: {
|
|
7350
|
+
description: string;
|
|
7351
|
+
format: string;
|
|
7352
|
+
type: string;
|
|
7353
|
+
};
|
|
7354
|
+
error_code: {
|
|
7355
|
+
description: string;
|
|
7356
|
+
enum: string[];
|
|
7357
|
+
type: string;
|
|
7358
|
+
};
|
|
7359
|
+
is_connected_account_error: {
|
|
7360
|
+
enum: boolean[];
|
|
7361
|
+
type: string;
|
|
7362
|
+
};
|
|
7363
|
+
message: {
|
|
7364
|
+
type: string;
|
|
7365
|
+
};
|
|
7366
|
+
salto_ks_metadata: {
|
|
7367
|
+
properties: {
|
|
7368
|
+
sites: {
|
|
7369
|
+
items: {
|
|
7370
|
+
properties: {
|
|
7371
|
+
site_id: {
|
|
7372
|
+
type: string;
|
|
7373
|
+
};
|
|
7374
|
+
site_name: {
|
|
7375
|
+
type: string;
|
|
7376
|
+
};
|
|
7377
|
+
site_user_subscription_limit: {
|
|
7378
|
+
minimum: number;
|
|
7379
|
+
type: string;
|
|
7380
|
+
};
|
|
7381
|
+
subscribed_site_user_count: {
|
|
7382
|
+
minimum: number;
|
|
7383
|
+
type: string;
|
|
7384
|
+
};
|
|
7385
|
+
};
|
|
7386
|
+
required: string[];
|
|
7387
|
+
type: string;
|
|
7388
|
+
};
|
|
7389
|
+
type: string;
|
|
7390
|
+
};
|
|
7391
|
+
};
|
|
7392
|
+
required: string[];
|
|
7393
|
+
type: string;
|
|
7394
|
+
};
|
|
7395
|
+
is_access_code_error?: never;
|
|
7396
|
+
is_device_error?: never;
|
|
7096
7397
|
};
|
|
7097
7398
|
required: string[];
|
|
7098
7399
|
type: string;
|
|
@@ -7732,13 +8033,45 @@ declare const _default: {
|
|
|
7732
8033
|
message: {
|
|
7733
8034
|
type: string;
|
|
7734
8035
|
};
|
|
8036
|
+
created_at?: never;
|
|
7735
8037
|
is_connected_account_error?: never;
|
|
8038
|
+
salto_ks_metadata?: never;
|
|
8039
|
+
};
|
|
8040
|
+
required: string[];
|
|
8041
|
+
type: string;
|
|
8042
|
+
} | {
|
|
8043
|
+
description: string;
|
|
8044
|
+
properties: {
|
|
8045
|
+
created_at: {
|
|
8046
|
+
description: string;
|
|
8047
|
+
format: string;
|
|
8048
|
+
type: string;
|
|
8049
|
+
};
|
|
8050
|
+
error_code: {
|
|
8051
|
+
description: string;
|
|
8052
|
+
enum: string[];
|
|
8053
|
+
type: string;
|
|
8054
|
+
};
|
|
8055
|
+
is_connected_account_error: {
|
|
8056
|
+
enum: boolean[];
|
|
8057
|
+
type: string;
|
|
8058
|
+
};
|
|
8059
|
+
message: {
|
|
8060
|
+
type: string;
|
|
8061
|
+
};
|
|
8062
|
+
is_device_error?: never;
|
|
8063
|
+
salto_ks_metadata?: never;
|
|
7736
8064
|
};
|
|
7737
8065
|
required: string[];
|
|
7738
8066
|
type: string;
|
|
7739
8067
|
} | {
|
|
7740
8068
|
description: string;
|
|
7741
8069
|
properties: {
|
|
8070
|
+
created_at: {
|
|
8071
|
+
description: string;
|
|
8072
|
+
format: string;
|
|
8073
|
+
type: string;
|
|
8074
|
+
};
|
|
7742
8075
|
error_code: {
|
|
7743
8076
|
description: string;
|
|
7744
8077
|
enum: string[];
|
|
@@ -7751,6 +8084,35 @@ declare const _default: {
|
|
|
7751
8084
|
message: {
|
|
7752
8085
|
type: string;
|
|
7753
8086
|
};
|
|
8087
|
+
salto_ks_metadata: {
|
|
8088
|
+
properties: {
|
|
8089
|
+
sites: {
|
|
8090
|
+
items: {
|
|
8091
|
+
properties: {
|
|
8092
|
+
site_id: {
|
|
8093
|
+
type: string;
|
|
8094
|
+
};
|
|
8095
|
+
site_name: {
|
|
8096
|
+
type: string;
|
|
8097
|
+
};
|
|
8098
|
+
site_user_subscription_limit: {
|
|
8099
|
+
minimum: number;
|
|
8100
|
+
type: string;
|
|
8101
|
+
};
|
|
8102
|
+
subscribed_site_user_count: {
|
|
8103
|
+
minimum: number;
|
|
8104
|
+
type: string;
|
|
8105
|
+
};
|
|
8106
|
+
};
|
|
8107
|
+
required: string[];
|
|
8108
|
+
type: string;
|
|
8109
|
+
};
|
|
8110
|
+
type: string;
|
|
8111
|
+
};
|
|
8112
|
+
};
|
|
8113
|
+
required: string[];
|
|
8114
|
+
type: string;
|
|
8115
|
+
};
|
|
7754
8116
|
is_device_error?: never;
|
|
7755
8117
|
};
|
|
7756
8118
|
required: string[];
|