@seamapi/types 1.608.0 → 1.610.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 +38 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +46 -2
- package/dist/index.cjs +38 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +40 -2
- package/lib/seam/connect/openapi.js +38 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +6 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +41 -0
- package/src/lib/seam/connect/route-types.ts +6 -0
package/dist/connect.d.cts
CHANGED
|
@@ -69994,6 +69994,10 @@ declare const _default: {
|
|
|
69994
69994
|
type: string;
|
|
69995
69995
|
'x-deprecated': string;
|
|
69996
69996
|
};
|
|
69997
|
+
reservation_key: {
|
|
69998
|
+
description: string;
|
|
69999
|
+
type: string;
|
|
70000
|
+
};
|
|
69997
70001
|
space_id: {
|
|
69998
70002
|
description: string;
|
|
69999
70003
|
format: string;
|
|
@@ -70616,7 +70620,7 @@ declare const _default: {
|
|
|
70616
70620
|
get: {
|
|
70617
70621
|
description: string;
|
|
70618
70622
|
operationId: string;
|
|
70619
|
-
parameters: {
|
|
70623
|
+
parameters: ({
|
|
70620
70624
|
in: string;
|
|
70621
70625
|
name: string;
|
|
70622
70626
|
schema: {
|
|
@@ -70624,7 +70628,15 @@ declare const _default: {
|
|
|
70624
70628
|
format: string;
|
|
70625
70629
|
type: string;
|
|
70626
70630
|
};
|
|
70627
|
-
}
|
|
70631
|
+
} | {
|
|
70632
|
+
in: string;
|
|
70633
|
+
name: string;
|
|
70634
|
+
schema: {
|
|
70635
|
+
description: string;
|
|
70636
|
+
type: string;
|
|
70637
|
+
format?: never;
|
|
70638
|
+
};
|
|
70639
|
+
})[];
|
|
70628
70640
|
responses: {
|
|
70629
70641
|
200: {
|
|
70630
70642
|
content: {
|
|
@@ -70848,6 +70860,10 @@ declare const _default: {
|
|
|
70848
70860
|
format: string;
|
|
70849
70861
|
type: string;
|
|
70850
70862
|
};
|
|
70863
|
+
reservation_key: {
|
|
70864
|
+
description: string;
|
|
70865
|
+
type: string;
|
|
70866
|
+
};
|
|
70851
70867
|
user_identity_id: {
|
|
70852
70868
|
description: string;
|
|
70853
70869
|
format: string;
|
|
@@ -95416,6 +95432,7 @@ declare const _default: {
|
|
|
95416
95432
|
default?: never;
|
|
95417
95433
|
exclusiveMinimum?: never;
|
|
95418
95434
|
minimum?: never;
|
|
95435
|
+
minLength?: never;
|
|
95419
95436
|
nullable?: never;
|
|
95420
95437
|
};
|
|
95421
95438
|
} | {
|
|
@@ -95428,6 +95445,7 @@ declare const _default: {
|
|
|
95428
95445
|
default?: never;
|
|
95429
95446
|
exclusiveMinimum?: never;
|
|
95430
95447
|
minimum?: never;
|
|
95448
|
+
minLength?: never;
|
|
95431
95449
|
nullable?: never;
|
|
95432
95450
|
};
|
|
95433
95451
|
} | {
|
|
@@ -95440,6 +95458,20 @@ declare const _default: {
|
|
|
95440
95458
|
minimum: number;
|
|
95441
95459
|
type: string;
|
|
95442
95460
|
format?: never;
|
|
95461
|
+
minLength?: never;
|
|
95462
|
+
nullable?: never;
|
|
95463
|
+
};
|
|
95464
|
+
} | {
|
|
95465
|
+
in: string;
|
|
95466
|
+
name: string;
|
|
95467
|
+
schema: {
|
|
95468
|
+
description: string;
|
|
95469
|
+
minLength: number;
|
|
95470
|
+
type: string;
|
|
95471
|
+
format?: never;
|
|
95472
|
+
default?: never;
|
|
95473
|
+
exclusiveMinimum?: never;
|
|
95474
|
+
minimum?: never;
|
|
95443
95475
|
nullable?: never;
|
|
95444
95476
|
};
|
|
95445
95477
|
} | {
|
|
@@ -95453,6 +95485,7 @@ declare const _default: {
|
|
|
95453
95485
|
default?: never;
|
|
95454
95486
|
exclusiveMinimum?: never;
|
|
95455
95487
|
minimum?: never;
|
|
95488
|
+
minLength?: never;
|
|
95456
95489
|
};
|
|
95457
95490
|
})[];
|
|
95458
95491
|
responses: {
|
|
@@ -95583,6 +95616,11 @@ declare const _default: {
|
|
|
95583
95616
|
nullable: boolean;
|
|
95584
95617
|
type: string;
|
|
95585
95618
|
};
|
|
95619
|
+
search: {
|
|
95620
|
+
description: string;
|
|
95621
|
+
minLength: number;
|
|
95622
|
+
type: string;
|
|
95623
|
+
};
|
|
95586
95624
|
space_id: {
|
|
95587
95625
|
description: string;
|
|
95588
95626
|
format: string;
|
|
@@ -120632,6 +120670,8 @@ type Routes = {
|
|
|
120632
120670
|
space_id?: string | undefined;
|
|
120633
120671
|
/** Filter Access Grants by access_grant_key. */
|
|
120634
120672
|
access_grant_key?: string | undefined;
|
|
120673
|
+
/** Filter Access Grants by reservation_key. */
|
|
120674
|
+
reservation_key?: string | undefined;
|
|
120635
120675
|
};
|
|
120636
120676
|
formData: {};
|
|
120637
120677
|
jsonResponse: {
|
|
@@ -120847,6 +120887,8 @@ type Routes = {
|
|
|
120847
120887
|
acs_system_id?: string | undefined;
|
|
120848
120888
|
/** ID of the entrance by which you want to filter the list of unmanaged Access Grants. */
|
|
120849
120889
|
acs_entrance_id?: string | undefined;
|
|
120890
|
+
/** Filter unmanaged Access Grants by reservation_key. */
|
|
120891
|
+
reservation_key?: string | undefined;
|
|
120850
120892
|
};
|
|
120851
120893
|
formData: {};
|
|
120852
120894
|
jsonResponse: {
|
|
@@ -167864,6 +167906,8 @@ type Routes = {
|
|
|
167864
167906
|
limit?: number;
|
|
167865
167907
|
/** Timestamp by which to limit returned reservations. Returns reservations created before this timestamp. */
|
|
167866
167908
|
created_before?: Date | undefined;
|
|
167909
|
+
/** String for which to search. Filters returned reservations to include all records that satisfy a partial match using `reservation_id`, `reservation_key`, `name`, `guest_name`, or space names. */
|
|
167910
|
+
search?: string | undefined;
|
|
167867
167911
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
167868
167912
|
page_cursor?: ((string | undefined) | null) | undefined;
|
|
167869
167913
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -31979,6 +31979,14 @@ var openapi_default = {
|
|
|
31979
31979
|
description: "Filter Access Grants by access_grant_key.",
|
|
31980
31980
|
type: "string"
|
|
31981
31981
|
}
|
|
31982
|
+
},
|
|
31983
|
+
{
|
|
31984
|
+
in: "query",
|
|
31985
|
+
name: "reservation_key",
|
|
31986
|
+
schema: {
|
|
31987
|
+
description: "Filter Access Grants by reservation_key.",
|
|
31988
|
+
type: "string"
|
|
31989
|
+
}
|
|
31982
31990
|
}
|
|
31983
31991
|
],
|
|
31984
31992
|
responses: {
|
|
@@ -32050,6 +32058,10 @@ var openapi_default = {
|
|
|
32050
32058
|
type: "string",
|
|
32051
32059
|
"x-deprecated": "Use `space_id`."
|
|
32052
32060
|
},
|
|
32061
|
+
reservation_key: {
|
|
32062
|
+
description: "Filter Access Grants by reservation_key.",
|
|
32063
|
+
type: "string"
|
|
32064
|
+
},
|
|
32053
32065
|
space_id: {
|
|
32054
32066
|
description: "ID of the space by which you want to filter the list of Access Grants.",
|
|
32055
32067
|
format: "uuid",
|
|
@@ -32635,6 +32647,14 @@ var openapi_default = {
|
|
|
32635
32647
|
format: "uuid",
|
|
32636
32648
|
type: "string"
|
|
32637
32649
|
}
|
|
32650
|
+
},
|
|
32651
|
+
{
|
|
32652
|
+
in: "query",
|
|
32653
|
+
name: "reservation_key",
|
|
32654
|
+
schema: {
|
|
32655
|
+
description: "Filter unmanaged Access Grants by reservation_key.",
|
|
32656
|
+
type: "string"
|
|
32657
|
+
}
|
|
32638
32658
|
}
|
|
32639
32659
|
],
|
|
32640
32660
|
responses: {
|
|
@@ -32850,6 +32870,10 @@ var openapi_default = {
|
|
|
32850
32870
|
format: "uuid",
|
|
32851
32871
|
type: "string"
|
|
32852
32872
|
},
|
|
32873
|
+
reservation_key: {
|
|
32874
|
+
description: "Filter unmanaged Access Grants by reservation_key.",
|
|
32875
|
+
type: "string"
|
|
32876
|
+
},
|
|
32853
32877
|
user_identity_id: {
|
|
32854
32878
|
description: "ID of user identity by which you want to filter the list of unmanaged Access Grants.",
|
|
32855
32879
|
format: "uuid",
|
|
@@ -54903,6 +54927,15 @@ var openapi_default = {
|
|
|
54903
54927
|
type: "string"
|
|
54904
54928
|
}
|
|
54905
54929
|
},
|
|
54930
|
+
{
|
|
54931
|
+
in: "query",
|
|
54932
|
+
name: "search",
|
|
54933
|
+
schema: {
|
|
54934
|
+
description: "String for which to search. Filters returned reservations to include all records that satisfy a partial match using `reservation_id`, `reservation_key`, `name`, `guest_name`, or space names.",
|
|
54935
|
+
minLength: 1,
|
|
54936
|
+
type: "string"
|
|
54937
|
+
}
|
|
54938
|
+
},
|
|
54906
54939
|
{
|
|
54907
54940
|
in: "query",
|
|
54908
54941
|
name: "page_cursor",
|
|
@@ -55019,6 +55052,11 @@ var openapi_default = {
|
|
|
55019
55052
|
nullable: true,
|
|
55020
55053
|
type: "string"
|
|
55021
55054
|
},
|
|
55055
|
+
search: {
|
|
55056
|
+
description: "String for which to search. Filters returned reservations to include all records that satisfy a partial match using `reservation_id`, `reservation_key`, `name`, `guest_name`, or space names.",
|
|
55057
|
+
minLength: 1,
|
|
55058
|
+
type: "string"
|
|
55059
|
+
},
|
|
55022
55060
|
space_id: {
|
|
55023
55061
|
description: "Filter reservations by space ID (UUID).",
|
|
55024
55062
|
format: "uuid",
|