@seamapi/types 1.414.1 → 1.415.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 +9 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +20 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +12 -12
- package/lib/seam/connect/models/phones/phone-session.js +1 -1
- package/lib/seam/connect/models/phones/phone-session.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +8 -0
- package/lib/seam/connect/openapi.js +8 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/phones/phone-session.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +9 -1
- package/src/lib/seam/connect/route-types.ts +12 -1
package/dist/connect.d.cts
CHANGED
|
@@ -42649,6 +42649,11 @@ declare const _default: {
|
|
|
42649
42649
|
format: string;
|
|
42650
42650
|
type: string;
|
|
42651
42651
|
};
|
|
42652
|
+
page_cursor: {
|
|
42653
|
+
description: string;
|
|
42654
|
+
nullable: boolean;
|
|
42655
|
+
type: string;
|
|
42656
|
+
};
|
|
42652
42657
|
user_identifier_key: {
|
|
42653
42658
|
description: string;
|
|
42654
42659
|
type: string;
|
|
@@ -42674,6 +42679,9 @@ declare const _default: {
|
|
|
42674
42679
|
ok: {
|
|
42675
42680
|
type: string;
|
|
42676
42681
|
};
|
|
42682
|
+
pagination: {
|
|
42683
|
+
$ref: string;
|
|
42684
|
+
};
|
|
42677
42685
|
};
|
|
42678
42686
|
required: string[];
|
|
42679
42687
|
type: string;
|
|
@@ -75587,6 +75595,8 @@ interface Routes {
|
|
|
75587
75595
|
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
75588
75596
|
/** Maximum number of records to return per page. */
|
|
75589
75597
|
limit?: number;
|
|
75598
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
75599
|
+
page_cursor?: (string | undefined) | null;
|
|
75590
75600
|
};
|
|
75591
75601
|
formData: {};
|
|
75592
75602
|
jsonResponse: {
|
|
@@ -75633,6 +75643,15 @@ interface Routes {
|
|
|
75633
75643
|
/** Selected provider of the Connect Webview, one of the [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
75634
75644
|
selected_provider: string | null;
|
|
75635
75645
|
}>;
|
|
75646
|
+
/** Information about the current page of results. */
|
|
75647
|
+
pagination: {
|
|
75648
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
75649
|
+
next_page_cursor: string | null;
|
|
75650
|
+
/** Indicates whether there is another page of results after this one. */
|
|
75651
|
+
has_next_page: boolean;
|
|
75652
|
+
/** URL to get the next page of results. */
|
|
75653
|
+
next_page_url: string | null;
|
|
75654
|
+
};
|
|
75636
75655
|
};
|
|
75637
75656
|
};
|
|
75638
75657
|
'/connected_accounts/delete': {
|
|
@@ -98294,7 +98313,7 @@ interface Routes {
|
|
|
98294
98313
|
endpoint_id?: string | undefined;
|
|
98295
98314
|
} | undefined;
|
|
98296
98315
|
is_managed: true;
|
|
98297
|
-
acs_credential_id
|
|
98316
|
+
acs_credential_id: string | null;
|
|
98298
98317
|
acs_entrances: Array<{
|
|
98299
98318
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
98300
98319
|
acs_system_id: string;
|
|
@@ -180,7 +180,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
180
180
|
}, {
|
|
181
181
|
is_managed: z.ZodLiteral<true>;
|
|
182
182
|
}>, "acs_credential_id">, {
|
|
183
|
-
acs_credential_id: z.ZodNullable<z.
|
|
183
|
+
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
184
184
|
acs_entrances: z.ZodArray<z.ZodObject<{
|
|
185
185
|
acs_system_id: z.ZodString;
|
|
186
186
|
acs_entrance_id: z.ZodString;
|
|
@@ -439,6 +439,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
439
439
|
})[];
|
|
440
440
|
is_managed: true;
|
|
441
441
|
acs_system_id: string;
|
|
442
|
+
acs_credential_id: string | null;
|
|
442
443
|
access_method: "code" | "card" | "mobile_key";
|
|
443
444
|
acs_entrances: {
|
|
444
445
|
display_name: string;
|
|
@@ -514,7 +515,6 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
514
515
|
issued_at?: string | null | undefined;
|
|
515
516
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
516
517
|
external_type_display_name?: string | undefined;
|
|
517
|
-
acs_credential_id?: string | null | undefined;
|
|
518
518
|
acs_user_id?: string | undefined;
|
|
519
519
|
acs_credential_pool_id?: string | undefined;
|
|
520
520
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -558,6 +558,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
558
558
|
})[];
|
|
559
559
|
is_managed: true;
|
|
560
560
|
acs_system_id: string;
|
|
561
|
+
acs_credential_id: string | null;
|
|
561
562
|
access_method: "code" | "card" | "mobile_key";
|
|
562
563
|
acs_entrances: {
|
|
563
564
|
display_name: string;
|
|
@@ -633,7 +634,6 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
633
634
|
issued_at?: string | null | undefined;
|
|
634
635
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
635
636
|
external_type_display_name?: string | undefined;
|
|
636
|
-
acs_credential_id?: string | null | undefined;
|
|
637
637
|
acs_user_id?: string | undefined;
|
|
638
638
|
acs_credential_pool_id?: string | undefined;
|
|
639
639
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -685,6 +685,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
685
685
|
})[];
|
|
686
686
|
is_managed: true;
|
|
687
687
|
acs_system_id: string;
|
|
688
|
+
acs_credential_id: string | null;
|
|
688
689
|
access_method: "code" | "card" | "mobile_key";
|
|
689
690
|
acs_entrances: {
|
|
690
691
|
display_name: string;
|
|
@@ -760,7 +761,6 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
760
761
|
issued_at?: string | null | undefined;
|
|
761
762
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
762
763
|
external_type_display_name?: string | undefined;
|
|
763
|
-
acs_credential_id?: string | null | undefined;
|
|
764
764
|
acs_user_id?: string | undefined;
|
|
765
765
|
acs_credential_pool_id?: string | undefined;
|
|
766
766
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -812,6 +812,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
812
812
|
})[];
|
|
813
813
|
is_managed: true;
|
|
814
814
|
acs_system_id: string;
|
|
815
|
+
acs_credential_id: string | null;
|
|
815
816
|
access_method: "code" | "card" | "mobile_key";
|
|
816
817
|
acs_entrances: {
|
|
817
818
|
display_name: string;
|
|
@@ -887,7 +888,6 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
887
888
|
issued_at?: string | null | undefined;
|
|
888
889
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
889
890
|
external_type_display_name?: string | undefined;
|
|
890
|
-
acs_credential_id?: string | null | undefined;
|
|
891
891
|
acs_user_id?: string | undefined;
|
|
892
892
|
acs_credential_pool_id?: string | undefined;
|
|
893
893
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -1080,7 +1080,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1080
1080
|
}, {
|
|
1081
1081
|
is_managed: z.ZodLiteral<true>;
|
|
1082
1082
|
}>, "acs_credential_id">, {
|
|
1083
|
-
acs_credential_id: z.ZodNullable<z.
|
|
1083
|
+
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
1084
1084
|
acs_entrances: z.ZodArray<z.ZodObject<{
|
|
1085
1085
|
acs_system_id: z.ZodString;
|
|
1086
1086
|
acs_entrance_id: z.ZodString;
|
|
@@ -1339,6 +1339,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1339
1339
|
})[];
|
|
1340
1340
|
is_managed: true;
|
|
1341
1341
|
acs_system_id: string;
|
|
1342
|
+
acs_credential_id: string | null;
|
|
1342
1343
|
access_method: "code" | "card" | "mobile_key";
|
|
1343
1344
|
acs_entrances: {
|
|
1344
1345
|
display_name: string;
|
|
@@ -1414,7 +1415,6 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1414
1415
|
issued_at?: string | null | undefined;
|
|
1415
1416
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1416
1417
|
external_type_display_name?: string | undefined;
|
|
1417
|
-
acs_credential_id?: string | null | undefined;
|
|
1418
1418
|
acs_user_id?: string | undefined;
|
|
1419
1419
|
acs_credential_pool_id?: string | undefined;
|
|
1420
1420
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -1458,6 +1458,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1458
1458
|
})[];
|
|
1459
1459
|
is_managed: true;
|
|
1460
1460
|
acs_system_id: string;
|
|
1461
|
+
acs_credential_id: string | null;
|
|
1461
1462
|
access_method: "code" | "card" | "mobile_key";
|
|
1462
1463
|
acs_entrances: {
|
|
1463
1464
|
display_name: string;
|
|
@@ -1533,7 +1534,6 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1533
1534
|
issued_at?: string | null | undefined;
|
|
1534
1535
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1535
1536
|
external_type_display_name?: string | undefined;
|
|
1536
|
-
acs_credential_id?: string | null | undefined;
|
|
1537
1537
|
acs_user_id?: string | undefined;
|
|
1538
1538
|
acs_credential_pool_id?: string | undefined;
|
|
1539
1539
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -1585,6 +1585,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1585
1585
|
})[];
|
|
1586
1586
|
is_managed: true;
|
|
1587
1587
|
acs_system_id: string;
|
|
1588
|
+
acs_credential_id: string | null;
|
|
1588
1589
|
access_method: "code" | "card" | "mobile_key";
|
|
1589
1590
|
acs_entrances: {
|
|
1590
1591
|
display_name: string;
|
|
@@ -1660,7 +1661,6 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1660
1661
|
issued_at?: string | null | undefined;
|
|
1661
1662
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1662
1663
|
external_type_display_name?: string | undefined;
|
|
1663
|
-
acs_credential_id?: string | null | undefined;
|
|
1664
1664
|
acs_user_id?: string | undefined;
|
|
1665
1665
|
acs_credential_pool_id?: string | undefined;
|
|
1666
1666
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -1712,6 +1712,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1712
1712
|
})[];
|
|
1713
1713
|
is_managed: true;
|
|
1714
1714
|
acs_system_id: string;
|
|
1715
|
+
acs_credential_id: string | null;
|
|
1715
1716
|
access_method: "code" | "card" | "mobile_key";
|
|
1716
1717
|
acs_entrances: {
|
|
1717
1718
|
display_name: string;
|
|
@@ -1787,7 +1788,6 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1787
1788
|
issued_at?: string | null | undefined;
|
|
1788
1789
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1789
1790
|
external_type_display_name?: string | undefined;
|
|
1790
|
-
acs_credential_id?: string | null | undefined;
|
|
1791
1791
|
acs_user_id?: string | undefined;
|
|
1792
1792
|
acs_credential_pool_id?: string | undefined;
|
|
1793
1793
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -1841,6 +1841,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1841
1841
|
})[];
|
|
1842
1842
|
is_managed: true;
|
|
1843
1843
|
acs_system_id: string;
|
|
1844
|
+
acs_credential_id: string | null;
|
|
1844
1845
|
access_method: "code" | "card" | "mobile_key";
|
|
1845
1846
|
acs_entrances: {
|
|
1846
1847
|
display_name: string;
|
|
@@ -1916,7 +1917,6 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1916
1917
|
issued_at?: string | null | undefined;
|
|
1917
1918
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1918
1919
|
external_type_display_name?: string | undefined;
|
|
1919
|
-
acs_credential_id?: string | null | undefined;
|
|
1920
1920
|
acs_user_id?: string | undefined;
|
|
1921
1921
|
acs_credential_pool_id?: string | undefined;
|
|
1922
1922
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -1970,6 +1970,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1970
1970
|
})[];
|
|
1971
1971
|
is_managed: true;
|
|
1972
1972
|
acs_system_id: string;
|
|
1973
|
+
acs_credential_id: string | null;
|
|
1973
1974
|
access_method: "code" | "card" | "mobile_key";
|
|
1974
1975
|
acs_entrances: {
|
|
1975
1976
|
display_name: string;
|
|
@@ -2045,7 +2046,6 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2045
2046
|
issued_at?: string | null | undefined;
|
|
2046
2047
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
2047
2048
|
external_type_display_name?: string | undefined;
|
|
2048
|
-
acs_credential_id?: string | null | undefined;
|
|
2049
2049
|
acs_user_id?: string | undefined;
|
|
2050
2050
|
acs_credential_pool_id?: string | undefined;
|
|
2051
2051
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/phones/phone-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,kBAAkB;IAClB,eAAe,EAAE,cAAc;SAC5B,IAAI,CAAC;QACJ,iBAAiB,EAAE,IAAI;KACxB,CAAC;SACD,MAAM,CAAC;QACN,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE
|
|
1
|
+
{"version":3,"file":"phone-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/phones/phone-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,kBAAkB;IAClB,eAAe,EAAE,cAAc;SAC5B,IAAI,CAAC;QACJ,iBAAiB,EAAE,IAAI;KACxB,CAAC;SACD,MAAM,CAAC;QACN,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACxC,aAAa,EAAE,YAAY,CAAC,KAAK,EAAE;KACpC,CAAC;SACD,KAAK,EAAE;CACX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,iBAAiB,EAAE,sBAAsB,CAAC,KAAK,EAAE;CAClD,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
@@ -20970,6 +20970,11 @@ declare const _default: {
|
|
|
20970
20970
|
format: string;
|
|
20971
20971
|
type: string;
|
|
20972
20972
|
};
|
|
20973
|
+
page_cursor: {
|
|
20974
|
+
description: string;
|
|
20975
|
+
nullable: boolean;
|
|
20976
|
+
type: string;
|
|
20977
|
+
};
|
|
20973
20978
|
user_identifier_key: {
|
|
20974
20979
|
description: string;
|
|
20975
20980
|
type: string;
|
|
@@ -20995,6 +21000,9 @@ declare const _default: {
|
|
|
20995
21000
|
ok: {
|
|
20996
21001
|
type: string;
|
|
20997
21002
|
};
|
|
21003
|
+
pagination: {
|
|
21004
|
+
$ref: string;
|
|
21005
|
+
};
|
|
20998
21006
|
};
|
|
20999
21007
|
required: string[];
|
|
21000
21008
|
type: string;
|
|
@@ -15722,6 +15722,7 @@ export default {
|
|
|
15722
15722
|
'errors',
|
|
15723
15723
|
'warnings',
|
|
15724
15724
|
'is_managed',
|
|
15725
|
+
'acs_credential_id',
|
|
15725
15726
|
'acs_entrances',
|
|
15726
15727
|
],
|
|
15727
15728
|
type: 'object',
|
|
@@ -26817,6 +26818,11 @@ export default {
|
|
|
26817
26818
|
format: 'float',
|
|
26818
26819
|
type: 'number',
|
|
26819
26820
|
},
|
|
26821
|
+
page_cursor: {
|
|
26822
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
26823
|
+
nullable: true,
|
|
26824
|
+
type: 'string',
|
|
26825
|
+
},
|
|
26820
26826
|
user_identifier_key: {
|
|
26821
26827
|
description: 'Your user ID for the user by which you want to filter Connect Webviews.',
|
|
26822
26828
|
type: 'string',
|
|
@@ -26838,8 +26844,9 @@ export default {
|
|
|
26838
26844
|
type: 'array',
|
|
26839
26845
|
},
|
|
26840
26846
|
ok: { type: 'boolean' },
|
|
26847
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
26841
26848
|
},
|
|
26842
|
-
required: ['connect_webviews', 'ok'],
|
|
26849
|
+
required: ['connect_webviews', 'pagination', 'ok'],
|
|
26843
26850
|
type: 'object',
|
|
26844
26851
|
},
|
|
26845
26852
|
},
|