@seamapi/types 1.975.0 → 1.977.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 +371 -65
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +33 -9
- package/dist/index.cjs +371 -65
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +80 -14
- package/lib/seam/connect/models/customer/customer-portal.js +23 -4
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/openapi.js +364 -58
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +33 -9
- package/package.json +3 -2
- package/src/lib/seam/connect/models/customer/customer-portal.ts +25 -4
- package/src/lib/seam/connect/openapi.ts +369 -58
- package/src/lib/seam/connect/route-types.ts +48 -12
package/dist/connect.d.cts
CHANGED
|
@@ -70584,6 +70584,8 @@ type Routes = {
|
|
|
70584
70584
|
};
|
|
70585
70585
|
/** Whether the portal is embedded in another application. */
|
|
70586
70586
|
is_embedded?: boolean;
|
|
70587
|
+
/** Whether the portal is read-only. When true, the customer can browse the portal but cannot perform any mutating action; write requests made with the portal's client session are rejected. */
|
|
70588
|
+
read_only?: boolean;
|
|
70587
70589
|
/** Configuration for the landing page when the portal loads. */
|
|
70588
70590
|
landing_page?: {
|
|
70589
70591
|
manage?: (({
|
|
@@ -70632,10 +70634,16 @@ type Routes = {
|
|
|
70632
70634
|
/** Navigation mode for the portal. 'restricted' tells frontend to hide navigation UI, typically used for embedded deep links. */
|
|
70633
70635
|
navigation_mode?: 'full' | 'restricted';
|
|
70634
70636
|
/** Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource. */
|
|
70635
|
-
deep_link?: {
|
|
70636
|
-
resource_type: 'reservation'
|
|
70637
|
+
deep_link?: ({
|
|
70638
|
+
resource_type: 'reservation';
|
|
70637
70639
|
resource_key: string;
|
|
70638
|
-
} |
|
|
70640
|
+
} | {
|
|
70641
|
+
resource_type: 'space';
|
|
70642
|
+
resource_key: string;
|
|
70643
|
+
} | {
|
|
70644
|
+
resource_type: 'device';
|
|
70645
|
+
resource_id: string;
|
|
70646
|
+
}) | undefined;
|
|
70639
70647
|
/** Whether the portal is in developer mode. Only available for Seam employees. */
|
|
70640
70648
|
_dev?: boolean;
|
|
70641
70649
|
} & {
|
|
@@ -112659,6 +112667,8 @@ type Routes = {
|
|
|
112659
112667
|
};
|
|
112660
112668
|
/** Whether the portal is embedded in another application. */
|
|
112661
112669
|
is_embedded?: boolean;
|
|
112670
|
+
/** Whether the portal is read-only. When true, the customer can browse the portal but cannot perform any mutating action; write requests made with the portal's client session are rejected. */
|
|
112671
|
+
read_only?: boolean;
|
|
112662
112672
|
/** Configuration for the landing page when the portal loads. */
|
|
112663
112673
|
landing_page?: {
|
|
112664
112674
|
manage?: (({
|
|
@@ -112707,10 +112717,16 @@ type Routes = {
|
|
|
112707
112717
|
/** Navigation mode for the portal. 'restricted' tells frontend to hide navigation UI, typically used for embedded deep links. */
|
|
112708
112718
|
navigation_mode?: 'full' | 'restricted';
|
|
112709
112719
|
/** Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource. */
|
|
112710
|
-
deep_link?: {
|
|
112711
|
-
resource_type: 'reservation'
|
|
112720
|
+
deep_link?: ({
|
|
112721
|
+
resource_type: 'reservation';
|
|
112712
112722
|
resource_key: string;
|
|
112713
|
-
} |
|
|
112723
|
+
} | {
|
|
112724
|
+
resource_type: 'space';
|
|
112725
|
+
resource_key: string;
|
|
112726
|
+
} | {
|
|
112727
|
+
resource_type: 'device';
|
|
112728
|
+
resource_id: string;
|
|
112729
|
+
}) | undefined;
|
|
112714
112730
|
/** Business vertical of the customer portal. */
|
|
112715
112731
|
business_vertical?: ('neutral' | 'short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
|
|
112716
112732
|
feature_flags?: {
|
|
@@ -112799,6 +112815,8 @@ type Routes = {
|
|
|
112799
112815
|
} | undefined;
|
|
112800
112816
|
/** Whether the portal is embedded in another application. */
|
|
112801
112817
|
is_embedded?: boolean | undefined;
|
|
112818
|
+
/** Whether the portal is read-only. When true, the customer can browse the portal but cannot perform any mutating action; write requests made with the portal's client session are rejected. */
|
|
112819
|
+
read_only?: boolean | undefined;
|
|
112802
112820
|
/** Configuration for the landing page when the portal loads. */
|
|
112803
112821
|
landing_page?: ({
|
|
112804
112822
|
manage?: (({
|
|
@@ -112847,10 +112865,16 @@ type Routes = {
|
|
|
112847
112865
|
/** Navigation mode for the portal. 'restricted' tells frontend to hide navigation UI, typically used for embedded deep links. */
|
|
112848
112866
|
navigation_mode?: ('full' | 'restricted') | undefined;
|
|
112849
112867
|
/** Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource. */
|
|
112850
|
-
deep_link?: ({
|
|
112851
|
-
resource_type: 'reservation'
|
|
112868
|
+
deep_link?: (({
|
|
112869
|
+
resource_type: 'reservation';
|
|
112852
112870
|
resource_key: string;
|
|
112853
|
-
} |
|
|
112871
|
+
} | {
|
|
112872
|
+
resource_type: 'space';
|
|
112873
|
+
resource_key: string;
|
|
112874
|
+
} | {
|
|
112875
|
+
resource_type: 'device';
|
|
112876
|
+
resource_id: string;
|
|
112877
|
+
}) | undefined) | undefined;
|
|
112854
112878
|
};
|
|
112855
112879
|
};
|
|
112856
112880
|
commonParams: {};
|