@seamapi/types 1.757.0 → 1.759.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 +44 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +82 -0
- package/dist/index.cjs +44 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +65 -0
- package/lib/seam/connect/openapi.js +42 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +17 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +54 -2
- package/src/lib/seam/connect/route-types.ts +25 -0
package/dist/connect.d.cts
CHANGED
|
@@ -86542,6 +86542,8 @@ declare const _default: {
|
|
|
86542
86542
|
description: string;
|
|
86543
86543
|
format: string;
|
|
86544
86544
|
type: string;
|
|
86545
|
+
default?: never;
|
|
86546
|
+
nullable?: never;
|
|
86545
86547
|
};
|
|
86546
86548
|
} | {
|
|
86547
86549
|
in: string;
|
|
@@ -86550,6 +86552,28 @@ declare const _default: {
|
|
|
86550
86552
|
description: string;
|
|
86551
86553
|
type: string;
|
|
86552
86554
|
format?: never;
|
|
86555
|
+
default?: never;
|
|
86556
|
+
nullable?: never;
|
|
86557
|
+
};
|
|
86558
|
+
} | {
|
|
86559
|
+
in: string;
|
|
86560
|
+
name: string;
|
|
86561
|
+
schema: {
|
|
86562
|
+
default: number;
|
|
86563
|
+
description: string;
|
|
86564
|
+
format: string;
|
|
86565
|
+
type: string;
|
|
86566
|
+
nullable?: never;
|
|
86567
|
+
};
|
|
86568
|
+
} | {
|
|
86569
|
+
in: string;
|
|
86570
|
+
name: string;
|
|
86571
|
+
schema: {
|
|
86572
|
+
description: string;
|
|
86573
|
+
nullable: boolean;
|
|
86574
|
+
type: string;
|
|
86575
|
+
format?: never;
|
|
86576
|
+
default?: never;
|
|
86553
86577
|
};
|
|
86554
86578
|
})[];
|
|
86555
86579
|
responses: {
|
|
@@ -86982,6 +87006,9 @@ declare const _default: {
|
|
|
86982
87006
|
ok: {
|
|
86983
87007
|
type: string;
|
|
86984
87008
|
};
|
|
87009
|
+
pagination: {
|
|
87010
|
+
$ref: string;
|
|
87011
|
+
};
|
|
86985
87012
|
};
|
|
86986
87013
|
required: string[];
|
|
86987
87014
|
type: string;
|
|
@@ -87045,6 +87072,17 @@ declare const _default: {
|
|
|
87045
87072
|
format: string;
|
|
87046
87073
|
type: string;
|
|
87047
87074
|
};
|
|
87075
|
+
limit: {
|
|
87076
|
+
default: number;
|
|
87077
|
+
description: string;
|
|
87078
|
+
format: string;
|
|
87079
|
+
type: string;
|
|
87080
|
+
};
|
|
87081
|
+
page_cursor: {
|
|
87082
|
+
description: string;
|
|
87083
|
+
nullable: boolean;
|
|
87084
|
+
type: string;
|
|
87085
|
+
};
|
|
87048
87086
|
reservation_key: {
|
|
87049
87087
|
description: string;
|
|
87050
87088
|
type: string;
|
|
@@ -87490,6 +87528,9 @@ declare const _default: {
|
|
|
87490
87528
|
ok: {
|
|
87491
87529
|
type: string;
|
|
87492
87530
|
};
|
|
87531
|
+
pagination: {
|
|
87532
|
+
$ref: string;
|
|
87533
|
+
};
|
|
87493
87534
|
};
|
|
87494
87535
|
required: string[];
|
|
87495
87536
|
type: string;
|
|
@@ -112136,6 +112177,9 @@ declare const _default: {
|
|
|
112136
112177
|
minItems: number;
|
|
112137
112178
|
type: string;
|
|
112138
112179
|
};
|
|
112180
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
112181
|
+
type: string;
|
|
112182
|
+
};
|
|
112139
112183
|
card_count_on_reservation_create: {
|
|
112140
112184
|
minimum: number;
|
|
112141
112185
|
type: string;
|
|
@@ -112438,6 +112482,9 @@ declare const _default: {
|
|
|
112438
112482
|
minItems: number;
|
|
112439
112483
|
type: string;
|
|
112440
112484
|
};
|
|
112485
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
112486
|
+
type: string;
|
|
112487
|
+
};
|
|
112441
112488
|
card_count_on_reservation_create: {
|
|
112442
112489
|
minimum: number;
|
|
112443
112490
|
type: string;
|
|
@@ -112727,6 +112774,9 @@ declare const _default: {
|
|
|
112727
112774
|
minItems: number;
|
|
112728
112775
|
type: string;
|
|
112729
112776
|
};
|
|
112777
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
112778
|
+
type: string;
|
|
112779
|
+
};
|
|
112730
112780
|
card_count_on_reservation_create: {
|
|
112731
112781
|
minimum: number;
|
|
112732
112782
|
type: string;
|
|
@@ -113039,6 +113089,9 @@ declare const _default: {
|
|
|
113039
113089
|
minItems: number;
|
|
113040
113090
|
type: string;
|
|
113041
113091
|
};
|
|
113092
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
113093
|
+
type: string;
|
|
113094
|
+
};
|
|
113042
113095
|
card_count_on_reservation_create: {
|
|
113043
113096
|
minimum: number;
|
|
113044
113097
|
type: string;
|
|
@@ -114480,6 +114533,9 @@ declare const _default: {
|
|
|
114480
114533
|
minItems: number;
|
|
114481
114534
|
type: string;
|
|
114482
114535
|
};
|
|
114536
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
114537
|
+
type: string;
|
|
114538
|
+
};
|
|
114483
114539
|
card_count_on_reservation_create: {
|
|
114484
114540
|
minimum: number;
|
|
114485
114541
|
type: string;
|
|
@@ -114768,6 +114824,9 @@ declare const _default: {
|
|
|
114768
114824
|
minItems: number;
|
|
114769
114825
|
type: string;
|
|
114770
114826
|
};
|
|
114827
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
114828
|
+
type: string;
|
|
114829
|
+
};
|
|
114771
114830
|
card_count_on_reservation_create: {
|
|
114772
114831
|
minimum: number;
|
|
114773
114832
|
type: string;
|
|
@@ -115056,6 +115115,9 @@ declare const _default: {
|
|
|
115056
115115
|
minItems: number;
|
|
115057
115116
|
type: string;
|
|
115058
115117
|
};
|
|
115118
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
115119
|
+
type: string;
|
|
115120
|
+
};
|
|
115059
115121
|
card_count_on_reservation_create: {
|
|
115060
115122
|
minimum: number;
|
|
115061
115123
|
type: string;
|
|
@@ -115359,6 +115421,9 @@ declare const _default: {
|
|
|
115359
115421
|
minItems: number;
|
|
115360
115422
|
type: string;
|
|
115361
115423
|
};
|
|
115424
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
115425
|
+
type: string;
|
|
115426
|
+
};
|
|
115362
115427
|
card_count_on_reservation_create: {
|
|
115363
115428
|
minimum: number;
|
|
115364
115429
|
type: string;
|
|
@@ -145893,6 +145958,10 @@ type Routes = {
|
|
|
145893
145958
|
acs_entrance_id?: string | undefined;
|
|
145894
145959
|
/** Filter unmanaged Access Grants by reservation_key. */
|
|
145895
145960
|
reservation_key?: string | undefined;
|
|
145961
|
+
/** Numerical limit on the number of unmanaged access grants to return. */
|
|
145962
|
+
limit?: number;
|
|
145963
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
145964
|
+
page_cursor?: (string | undefined) | null;
|
|
145896
145965
|
};
|
|
145897
145966
|
formData: {};
|
|
145898
145967
|
jsonResponse: {
|
|
@@ -146045,6 +146114,15 @@ type Routes = {
|
|
|
146045
146114
|
/** ID of user identity to which the Access Grant gives access. */
|
|
146046
146115
|
user_identity_id?: string | undefined;
|
|
146047
146116
|
}[];
|
|
146117
|
+
/** Information about the current page of results. */
|
|
146118
|
+
pagination: {
|
|
146119
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
146120
|
+
next_page_cursor: string | null;
|
|
146121
|
+
/** Indicates whether there is another page of results after this one. */
|
|
146122
|
+
has_next_page: boolean;
|
|
146123
|
+
/** URL to get the next page of results. */
|
|
146124
|
+
next_page_url: string | null;
|
|
146125
|
+
};
|
|
146048
146126
|
};
|
|
146049
146127
|
maxDuration: undefined;
|
|
146050
146128
|
};
|
|
@@ -192493,6 +192571,7 @@ type Routes = {
|
|
|
192493
192571
|
code_count_on_reservation_create?: number | undefined;
|
|
192494
192572
|
instant_key_max_use_count?: number | undefined;
|
|
192495
192573
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
192574
|
+
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
192496
192575
|
};
|
|
192497
192576
|
} | undefined;
|
|
192498
192577
|
reservation_time_updated?: {
|
|
@@ -192576,6 +192655,7 @@ type Routes = {
|
|
|
192576
192655
|
code_count_on_reservation_create?: number | undefined;
|
|
192577
192656
|
instant_key_max_use_count?: number | undefined;
|
|
192578
192657
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
192658
|
+
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
192579
192659
|
};
|
|
192580
192660
|
} | undefined;
|
|
192581
192661
|
reservation_time_updated?: {
|
|
@@ -192872,6 +192952,7 @@ type Routes = {
|
|
|
192872
192952
|
code_count_on_reservation_create?: number | undefined;
|
|
192873
192953
|
instant_key_max_use_count?: number | undefined;
|
|
192874
192954
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
192955
|
+
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
192875
192956
|
};
|
|
192876
192957
|
} | undefined;
|
|
192877
192958
|
reservation_time_updated?: {
|
|
@@ -192954,6 +193035,7 @@ type Routes = {
|
|
|
192954
193035
|
code_count_on_reservation_create?: number | undefined;
|
|
192955
193036
|
instant_key_max_use_count?: number | undefined;
|
|
192956
193037
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
193038
|
+
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
192957
193039
|
};
|
|
192958
193040
|
} | undefined;
|
|
192959
193041
|
reservation_time_updated?: {
|
package/dist/index.cjs
CHANGED
|
@@ -39044,6 +39044,25 @@ var openapi_default = {
|
|
|
39044
39044
|
description: "Filter unmanaged Access Grants by reservation_key.",
|
|
39045
39045
|
type: "string"
|
|
39046
39046
|
}
|
|
39047
|
+
},
|
|
39048
|
+
{
|
|
39049
|
+
in: "query",
|
|
39050
|
+
name: "limit",
|
|
39051
|
+
schema: {
|
|
39052
|
+
default: 500,
|
|
39053
|
+
description: "Numerical limit on the number of unmanaged access grants to return.",
|
|
39054
|
+
format: "float",
|
|
39055
|
+
type: "number"
|
|
39056
|
+
}
|
|
39057
|
+
},
|
|
39058
|
+
{
|
|
39059
|
+
in: "query",
|
|
39060
|
+
name: "page_cursor",
|
|
39061
|
+
schema: {
|
|
39062
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
39063
|
+
nullable: true,
|
|
39064
|
+
type: "string"
|
|
39065
|
+
}
|
|
39047
39066
|
}
|
|
39048
39067
|
],
|
|
39049
39068
|
responses: {
|
|
@@ -39552,9 +39571,10 @@ var openapi_default = {
|
|
|
39552
39571
|
},
|
|
39553
39572
|
type: "array"
|
|
39554
39573
|
},
|
|
39555
|
-
ok: { type: "boolean" }
|
|
39574
|
+
ok: { type: "boolean" },
|
|
39575
|
+
pagination: { $ref: "#/components/schemas/pagination" }
|
|
39556
39576
|
},
|
|
39557
|
-
required: ["access_grants", "ok"],
|
|
39577
|
+
required: ["access_grants", "pagination", "ok"],
|
|
39558
39578
|
type: "object"
|
|
39559
39579
|
}
|
|
39560
39580
|
}
|
|
@@ -39597,6 +39617,17 @@ var openapi_default = {
|
|
|
39597
39617
|
format: "uuid",
|
|
39598
39618
|
type: "string"
|
|
39599
39619
|
},
|
|
39620
|
+
limit: {
|
|
39621
|
+
default: 500,
|
|
39622
|
+
description: "Numerical limit on the number of unmanaged access grants to return.",
|
|
39623
|
+
format: "float",
|
|
39624
|
+
type: "number"
|
|
39625
|
+
},
|
|
39626
|
+
page_cursor: {
|
|
39627
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
39628
|
+
nullable: true,
|
|
39629
|
+
type: "string"
|
|
39630
|
+
},
|
|
39600
39631
|
reservation_key: {
|
|
39601
39632
|
description: "Filter unmanaged Access Grants by reservation_key.",
|
|
39602
39633
|
type: "string"
|
|
@@ -40118,9 +40149,10 @@ var openapi_default = {
|
|
|
40118
40149
|
},
|
|
40119
40150
|
type: "array"
|
|
40120
40151
|
},
|
|
40121
|
-
ok: { type: "boolean" }
|
|
40152
|
+
ok: { type: "boolean" },
|
|
40153
|
+
pagination: { $ref: "#/components/schemas/pagination" }
|
|
40122
40154
|
},
|
|
40123
|
-
required: ["access_grants", "ok"],
|
|
40155
|
+
required: ["access_grants", "pagination", "ok"],
|
|
40124
40156
|
type: "object"
|
|
40125
40157
|
}
|
|
40126
40158
|
}
|
|
@@ -62822,6 +62854,7 @@ var openapi_default = {
|
|
|
62822
62854
|
minItems: 1,
|
|
62823
62855
|
type: "array"
|
|
62824
62856
|
},
|
|
62857
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
62825
62858
|
card_count_on_reservation_create: {
|
|
62826
62859
|
minimum: 0,
|
|
62827
62860
|
type: "integer"
|
|
@@ -63121,6 +63154,7 @@ var openapi_default = {
|
|
|
63121
63154
|
minItems: 1,
|
|
63122
63155
|
type: "array"
|
|
63123
63156
|
},
|
|
63157
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
63124
63158
|
card_count_on_reservation_create: {
|
|
63125
63159
|
minimum: 0,
|
|
63126
63160
|
type: "integer"
|
|
@@ -63407,6 +63441,7 @@ var openapi_default = {
|
|
|
63407
63441
|
minItems: 1,
|
|
63408
63442
|
type: "array"
|
|
63409
63443
|
},
|
|
63444
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
63410
63445
|
card_count_on_reservation_create: {
|
|
63411
63446
|
minimum: 0,
|
|
63412
63447
|
type: "integer"
|
|
@@ -63693,6 +63728,7 @@ var openapi_default = {
|
|
|
63693
63728
|
minItems: 1,
|
|
63694
63729
|
type: "array"
|
|
63695
63730
|
},
|
|
63731
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
63696
63732
|
card_count_on_reservation_create: {
|
|
63697
63733
|
minimum: 0,
|
|
63698
63734
|
type: "integer"
|
|
@@ -64938,6 +64974,7 @@ var openapi_default = {
|
|
|
64938
64974
|
minItems: 1,
|
|
64939
64975
|
type: "array"
|
|
64940
64976
|
},
|
|
64977
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
64941
64978
|
card_count_on_reservation_create: {
|
|
64942
64979
|
minimum: 0,
|
|
64943
64980
|
type: "integer"
|
|
@@ -65237,6 +65274,7 @@ var openapi_default = {
|
|
|
65237
65274
|
minItems: 1,
|
|
65238
65275
|
type: "array"
|
|
65239
65276
|
},
|
|
65277
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
65240
65278
|
card_count_on_reservation_create: {
|
|
65241
65279
|
minimum: 0,
|
|
65242
65280
|
type: "integer"
|
|
@@ -65536,6 +65574,7 @@ var openapi_default = {
|
|
|
65536
65574
|
minItems: 1,
|
|
65537
65575
|
type: "array"
|
|
65538
65576
|
},
|
|
65577
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
65539
65578
|
card_count_on_reservation_create: {
|
|
65540
65579
|
minimum: 0,
|
|
65541
65580
|
type: "integer"
|
|
@@ -65823,6 +65862,7 @@ var openapi_default = {
|
|
|
65823
65862
|
minItems: 1,
|
|
65824
65863
|
type: "array"
|
|
65825
65864
|
},
|
|
65865
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
65826
65866
|
card_count_on_reservation_create: {
|
|
65827
65867
|
minimum: 0,
|
|
65828
65868
|
type: "integer"
|