@seamapi/types 1.560.0 → 1.562.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 +245 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +502 -10
- package/dist/index.cjs +245 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +71 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +11 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +26 -0
- package/lib/seam/connect/models/batch.d.ts +144 -0
- package/lib/seam/connect/openapi.d.ts +214 -10
- package/lib/seam/connect/openapi.js +237 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +148 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +249 -0
- package/src/lib/seam/connect/route-types.ts +161 -0
package/dist/connect.d.cts
CHANGED
|
@@ -400,6 +400,22 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
400
400
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
401
401
|
is_access_code_error: true;
|
|
402
402
|
created_at?: string | undefined;
|
|
403
|
+
}>, z.ZodObject<{
|
|
404
|
+
message: z.ZodString;
|
|
405
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
406
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
407
|
+
} & {
|
|
408
|
+
error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
message: string;
|
|
411
|
+
error_code: "kwikset_insufficient_permissions";
|
|
412
|
+
is_access_code_error: true;
|
|
413
|
+
created_at?: string | undefined;
|
|
414
|
+
}, {
|
|
415
|
+
message: string;
|
|
416
|
+
error_code: "kwikset_insufficient_permissions";
|
|
417
|
+
is_access_code_error: true;
|
|
418
|
+
created_at?: string | undefined;
|
|
403
419
|
}>]>;
|
|
404
420
|
type AccessCodeError = z.infer<typeof access_code_error>;
|
|
405
421
|
declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
@@ -971,6 +987,22 @@ declare const access_code: z.ZodObject<{
|
|
|
971
987
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
972
988
|
is_access_code_error: true;
|
|
973
989
|
created_at?: string | undefined;
|
|
990
|
+
}>, z.ZodObject<{
|
|
991
|
+
message: z.ZodString;
|
|
992
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
993
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
994
|
+
} & {
|
|
995
|
+
error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
|
|
996
|
+
}, "strip", z.ZodTypeAny, {
|
|
997
|
+
message: string;
|
|
998
|
+
error_code: "kwikset_insufficient_permissions";
|
|
999
|
+
is_access_code_error: true;
|
|
1000
|
+
created_at?: string | undefined;
|
|
1001
|
+
}, {
|
|
1002
|
+
message: string;
|
|
1003
|
+
error_code: "kwikset_insufficient_permissions";
|
|
1004
|
+
is_access_code_error: true;
|
|
1005
|
+
created_at?: string | undefined;
|
|
974
1006
|
}>, ...(z.ZodObject<{
|
|
975
1007
|
created_at: z.ZodString;
|
|
976
1008
|
message: z.ZodString;
|
|
@@ -1640,6 +1672,11 @@ declare const access_code: z.ZodObject<{
|
|
|
1640
1672
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
1641
1673
|
is_access_code_error: true;
|
|
1642
1674
|
created_at?: string | undefined;
|
|
1675
|
+
} | {
|
|
1676
|
+
message: string;
|
|
1677
|
+
error_code: "kwikset_insufficient_permissions";
|
|
1678
|
+
is_access_code_error: true;
|
|
1679
|
+
created_at?: string | undefined;
|
|
1643
1680
|
} | {
|
|
1644
1681
|
message: string;
|
|
1645
1682
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -1934,6 +1971,11 @@ declare const access_code: z.ZodObject<{
|
|
|
1934
1971
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
1935
1972
|
is_access_code_error: true;
|
|
1936
1973
|
created_at?: string | undefined;
|
|
1974
|
+
} | {
|
|
1975
|
+
message: string;
|
|
1976
|
+
error_code: "kwikset_insufficient_permissions";
|
|
1977
|
+
is_access_code_error: true;
|
|
1978
|
+
created_at?: string | undefined;
|
|
1937
1979
|
} | {
|
|
1938
1980
|
message: string;
|
|
1939
1981
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -2474,6 +2516,22 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2474
2516
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
2475
2517
|
is_access_code_error: true;
|
|
2476
2518
|
created_at?: string | undefined;
|
|
2519
|
+
}>, z.ZodObject<{
|
|
2520
|
+
message: z.ZodString;
|
|
2521
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
2522
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2523
|
+
} & {
|
|
2524
|
+
error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
|
|
2525
|
+
}, "strip", z.ZodTypeAny, {
|
|
2526
|
+
message: string;
|
|
2527
|
+
error_code: "kwikset_insufficient_permissions";
|
|
2528
|
+
is_access_code_error: true;
|
|
2529
|
+
created_at?: string | undefined;
|
|
2530
|
+
}, {
|
|
2531
|
+
message: string;
|
|
2532
|
+
error_code: "kwikset_insufficient_permissions";
|
|
2533
|
+
is_access_code_error: true;
|
|
2534
|
+
created_at?: string | undefined;
|
|
2477
2535
|
}>, ...(z.ZodObject<{
|
|
2478
2536
|
created_at: z.ZodString;
|
|
2479
2537
|
message: z.ZodString;
|
|
@@ -3137,6 +3195,11 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3137
3195
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
3138
3196
|
is_access_code_error: true;
|
|
3139
3197
|
created_at?: string | undefined;
|
|
3198
|
+
} | {
|
|
3199
|
+
message: string;
|
|
3200
|
+
error_code: "kwikset_insufficient_permissions";
|
|
3201
|
+
is_access_code_error: true;
|
|
3202
|
+
created_at?: string | undefined;
|
|
3140
3203
|
} | {
|
|
3141
3204
|
message: string;
|
|
3142
3205
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -3422,6 +3485,11 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3422
3485
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
3423
3486
|
is_access_code_error: true;
|
|
3424
3487
|
created_at?: string | undefined;
|
|
3488
|
+
} | {
|
|
3489
|
+
message: string;
|
|
3490
|
+
error_code: "kwikset_insufficient_permissions";
|
|
3491
|
+
is_access_code_error: true;
|
|
3492
|
+
created_at?: string | undefined;
|
|
3425
3493
|
} | {
|
|
3426
3494
|
message: string;
|
|
3427
3495
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -28104,6 +28172,22 @@ declare const batch: z.ZodObject<{
|
|
|
28104
28172
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
28105
28173
|
is_access_code_error: true;
|
|
28106
28174
|
created_at?: string | undefined;
|
|
28175
|
+
}>, z.ZodObject<{
|
|
28176
|
+
message: z.ZodString;
|
|
28177
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
28178
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
28179
|
+
} & {
|
|
28180
|
+
error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
|
|
28181
|
+
}, "strip", z.ZodTypeAny, {
|
|
28182
|
+
message: string;
|
|
28183
|
+
error_code: "kwikset_insufficient_permissions";
|
|
28184
|
+
is_access_code_error: true;
|
|
28185
|
+
created_at?: string | undefined;
|
|
28186
|
+
}, {
|
|
28187
|
+
message: string;
|
|
28188
|
+
error_code: "kwikset_insufficient_permissions";
|
|
28189
|
+
is_access_code_error: true;
|
|
28190
|
+
created_at?: string | undefined;
|
|
28107
28191
|
}>, ...(z.ZodObject<{
|
|
28108
28192
|
created_at: z.ZodString;
|
|
28109
28193
|
message: z.ZodString;
|
|
@@ -28773,6 +28857,11 @@ declare const batch: z.ZodObject<{
|
|
|
28773
28857
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
28774
28858
|
is_access_code_error: true;
|
|
28775
28859
|
created_at?: string | undefined;
|
|
28860
|
+
} | {
|
|
28861
|
+
message: string;
|
|
28862
|
+
error_code: "kwikset_insufficient_permissions";
|
|
28863
|
+
is_access_code_error: true;
|
|
28864
|
+
created_at?: string | undefined;
|
|
28776
28865
|
} | {
|
|
28777
28866
|
message: string;
|
|
28778
28867
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -29067,6 +29156,11 @@ declare const batch: z.ZodObject<{
|
|
|
29067
29156
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
29068
29157
|
is_access_code_error: true;
|
|
29069
29158
|
created_at?: string | undefined;
|
|
29159
|
+
} | {
|
|
29160
|
+
message: string;
|
|
29161
|
+
error_code: "kwikset_insufficient_permissions";
|
|
29162
|
+
is_access_code_error: true;
|
|
29163
|
+
created_at?: string | undefined;
|
|
29070
29164
|
} | {
|
|
29071
29165
|
message: string;
|
|
29072
29166
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -29605,6 +29699,22 @@ declare const batch: z.ZodObject<{
|
|
|
29605
29699
|
error_code: "dormakaba_oracode_no_valid_user_level";
|
|
29606
29700
|
is_access_code_error: true;
|
|
29607
29701
|
created_at?: string | undefined;
|
|
29702
|
+
}>, z.ZodObject<{
|
|
29703
|
+
message: z.ZodString;
|
|
29704
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
29705
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
29706
|
+
} & {
|
|
29707
|
+
error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
|
|
29708
|
+
}, "strip", z.ZodTypeAny, {
|
|
29709
|
+
message: string;
|
|
29710
|
+
error_code: "kwikset_insufficient_permissions";
|
|
29711
|
+
is_access_code_error: true;
|
|
29712
|
+
created_at?: string | undefined;
|
|
29713
|
+
}, {
|
|
29714
|
+
message: string;
|
|
29715
|
+
error_code: "kwikset_insufficient_permissions";
|
|
29716
|
+
is_access_code_error: true;
|
|
29717
|
+
created_at?: string | undefined;
|
|
29608
29718
|
}>, ...(z.ZodObject<{
|
|
29609
29719
|
created_at: z.ZodString;
|
|
29610
29720
|
message: z.ZodString;
|
|
@@ -30268,6 +30378,11 @@ declare const batch: z.ZodObject<{
|
|
|
30268
30378
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
30269
30379
|
is_access_code_error: true;
|
|
30270
30380
|
created_at?: string | undefined;
|
|
30381
|
+
} | {
|
|
30382
|
+
message: string;
|
|
30383
|
+
error_code: "kwikset_insufficient_permissions";
|
|
30384
|
+
is_access_code_error: true;
|
|
30385
|
+
created_at?: string | undefined;
|
|
30271
30386
|
} | {
|
|
30272
30387
|
message: string;
|
|
30273
30388
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -30553,6 +30668,11 @@ declare const batch: z.ZodObject<{
|
|
|
30553
30668
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
30554
30669
|
is_access_code_error: true;
|
|
30555
30670
|
created_at?: string | undefined;
|
|
30671
|
+
} | {
|
|
30672
|
+
message: string;
|
|
30673
|
+
error_code: "kwikset_insufficient_permissions";
|
|
30674
|
+
is_access_code_error: true;
|
|
30675
|
+
created_at?: string | undefined;
|
|
30556
30676
|
} | {
|
|
30557
30677
|
message: string;
|
|
30558
30678
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -34244,6 +34364,11 @@ declare const batch: z.ZodObject<{
|
|
|
34244
34364
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
34245
34365
|
is_access_code_error: true;
|
|
34246
34366
|
created_at?: string | undefined;
|
|
34367
|
+
} | {
|
|
34368
|
+
message: string;
|
|
34369
|
+
error_code: "kwikset_insufficient_permissions";
|
|
34370
|
+
is_access_code_error: true;
|
|
34371
|
+
created_at?: string | undefined;
|
|
34247
34372
|
} | {
|
|
34248
34373
|
message: string;
|
|
34249
34374
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -34539,6 +34664,11 @@ declare const batch: z.ZodObject<{
|
|
|
34539
34664
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
34540
34665
|
is_access_code_error: true;
|
|
34541
34666
|
created_at?: string | undefined;
|
|
34667
|
+
} | {
|
|
34668
|
+
message: string;
|
|
34669
|
+
error_code: "kwikset_insufficient_permissions";
|
|
34670
|
+
is_access_code_error: true;
|
|
34671
|
+
created_at?: string | undefined;
|
|
34542
34672
|
} | {
|
|
34543
34673
|
message: string;
|
|
34544
34674
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -38125,6 +38255,11 @@ declare const batch: z.ZodObject<{
|
|
|
38125
38255
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
38126
38256
|
is_access_code_error: true;
|
|
38127
38257
|
created_at?: string | undefined;
|
|
38258
|
+
} | {
|
|
38259
|
+
message: string;
|
|
38260
|
+
error_code: "kwikset_insufficient_permissions";
|
|
38261
|
+
is_access_code_error: true;
|
|
38262
|
+
created_at?: string | undefined;
|
|
38128
38263
|
} | {
|
|
38129
38264
|
message: string;
|
|
38130
38265
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -38420,6 +38555,11 @@ declare const batch: z.ZodObject<{
|
|
|
38420
38555
|
error_code: "kwikset_unable_to_confirm_deletion";
|
|
38421
38556
|
is_access_code_error: true;
|
|
38422
38557
|
created_at?: string | undefined;
|
|
38558
|
+
} | {
|
|
38559
|
+
message: string;
|
|
38560
|
+
error_code: "kwikset_insufficient_permissions";
|
|
38561
|
+
is_access_code_error: true;
|
|
38562
|
+
created_at?: string | undefined;
|
|
38423
38563
|
} | {
|
|
38424
38564
|
message: string;
|
|
38425
38565
|
error_code: "igloohome_offline_access_code_no_variance_available";
|
|
@@ -91743,7 +91883,7 @@ declare const _default: {
|
|
|
91743
91883
|
'x-undocumented': string;
|
|
91744
91884
|
};
|
|
91745
91885
|
};
|
|
91746
|
-
'/seam/customer/v1/reservations/
|
|
91886
|
+
'/seam/customer/v1/reservations/get': {
|
|
91747
91887
|
get: {
|
|
91748
91888
|
description: string;
|
|
91749
91889
|
operationId: string;
|
|
@@ -91752,23 +91892,210 @@ declare const _default: {
|
|
|
91752
91892
|
name: string;
|
|
91753
91893
|
schema: {
|
|
91754
91894
|
description: string;
|
|
91895
|
+
format: string;
|
|
91755
91896
|
type: string;
|
|
91756
|
-
default?: never;
|
|
91757
|
-
exclusiveMinimum?: never;
|
|
91758
|
-
minimum?: never;
|
|
91759
|
-
format?: never;
|
|
91760
|
-
nullable?: never;
|
|
91761
91897
|
};
|
|
91762
91898
|
} | {
|
|
91763
91899
|
in: string;
|
|
91764
91900
|
name: string;
|
|
91765
91901
|
schema: {
|
|
91766
|
-
default: number;
|
|
91767
91902
|
description: string;
|
|
91768
|
-
exclusiveMinimum: boolean;
|
|
91769
|
-
minimum: number;
|
|
91770
91903
|
type: string;
|
|
91771
91904
|
format?: never;
|
|
91905
|
+
};
|
|
91906
|
+
})[];
|
|
91907
|
+
responses: {
|
|
91908
|
+
200: {
|
|
91909
|
+
content: {
|
|
91910
|
+
'application/json': {
|
|
91911
|
+
schema: {
|
|
91912
|
+
properties: {
|
|
91913
|
+
ok: {
|
|
91914
|
+
type: string;
|
|
91915
|
+
};
|
|
91916
|
+
reservation: {
|
|
91917
|
+
properties: {
|
|
91918
|
+
access_methods: {
|
|
91919
|
+
items: {
|
|
91920
|
+
$ref: string;
|
|
91921
|
+
};
|
|
91922
|
+
type: string;
|
|
91923
|
+
};
|
|
91924
|
+
created_at: {
|
|
91925
|
+
format: string;
|
|
91926
|
+
type: string;
|
|
91927
|
+
};
|
|
91928
|
+
ends_at: {
|
|
91929
|
+
format: string;
|
|
91930
|
+
nullable: boolean;
|
|
91931
|
+
type: string;
|
|
91932
|
+
};
|
|
91933
|
+
guest_name: {
|
|
91934
|
+
nullable: boolean;
|
|
91935
|
+
type: string;
|
|
91936
|
+
};
|
|
91937
|
+
name: {
|
|
91938
|
+
nullable: boolean;
|
|
91939
|
+
type: string;
|
|
91940
|
+
};
|
|
91941
|
+
reservation_id: {
|
|
91942
|
+
format: string;
|
|
91943
|
+
type: string;
|
|
91944
|
+
};
|
|
91945
|
+
reservation_key: {
|
|
91946
|
+
type: string;
|
|
91947
|
+
};
|
|
91948
|
+
starts_at: {
|
|
91949
|
+
format: string;
|
|
91950
|
+
nullable: boolean;
|
|
91951
|
+
type: string;
|
|
91952
|
+
};
|
|
91953
|
+
};
|
|
91954
|
+
required: string[];
|
|
91955
|
+
type: string;
|
|
91956
|
+
};
|
|
91957
|
+
};
|
|
91958
|
+
required: string[];
|
|
91959
|
+
type: string;
|
|
91960
|
+
};
|
|
91961
|
+
};
|
|
91962
|
+
};
|
|
91963
|
+
description: string;
|
|
91964
|
+
};
|
|
91965
|
+
400: {
|
|
91966
|
+
description: string;
|
|
91967
|
+
};
|
|
91968
|
+
401: {
|
|
91969
|
+
description: string;
|
|
91970
|
+
};
|
|
91971
|
+
};
|
|
91972
|
+
security: {
|
|
91973
|
+
client_session_with_customer: never[];
|
|
91974
|
+
}[];
|
|
91975
|
+
summary: string;
|
|
91976
|
+
tags: never[];
|
|
91977
|
+
'x-fern-sdk-group-name': string[];
|
|
91978
|
+
'x-fern-sdk-method-name': string;
|
|
91979
|
+
'x-fern-sdk-return-value': string;
|
|
91980
|
+
'x-response-key': string;
|
|
91981
|
+
'x-title': string;
|
|
91982
|
+
'x-undocumented': string;
|
|
91983
|
+
};
|
|
91984
|
+
post: {
|
|
91985
|
+
description: string;
|
|
91986
|
+
operationId: string;
|
|
91987
|
+
requestBody: {
|
|
91988
|
+
content: {
|
|
91989
|
+
'application/json': {
|
|
91990
|
+
schema: {
|
|
91991
|
+
properties: {
|
|
91992
|
+
reservation_id: {
|
|
91993
|
+
description: string;
|
|
91994
|
+
format: string;
|
|
91995
|
+
type: string;
|
|
91996
|
+
};
|
|
91997
|
+
reservation_key: {
|
|
91998
|
+
description: string;
|
|
91999
|
+
type: string;
|
|
92000
|
+
};
|
|
92001
|
+
};
|
|
92002
|
+
type: string;
|
|
92003
|
+
};
|
|
92004
|
+
};
|
|
92005
|
+
};
|
|
92006
|
+
};
|
|
92007
|
+
responses: {
|
|
92008
|
+
200: {
|
|
92009
|
+
content: {
|
|
92010
|
+
'application/json': {
|
|
92011
|
+
schema: {
|
|
92012
|
+
properties: {
|
|
92013
|
+
ok: {
|
|
92014
|
+
type: string;
|
|
92015
|
+
};
|
|
92016
|
+
reservation: {
|
|
92017
|
+
properties: {
|
|
92018
|
+
access_methods: {
|
|
92019
|
+
items: {
|
|
92020
|
+
$ref: string;
|
|
92021
|
+
};
|
|
92022
|
+
type: string;
|
|
92023
|
+
};
|
|
92024
|
+
created_at: {
|
|
92025
|
+
format: string;
|
|
92026
|
+
type: string;
|
|
92027
|
+
};
|
|
92028
|
+
ends_at: {
|
|
92029
|
+
format: string;
|
|
92030
|
+
nullable: boolean;
|
|
92031
|
+
type: string;
|
|
92032
|
+
};
|
|
92033
|
+
guest_name: {
|
|
92034
|
+
nullable: boolean;
|
|
92035
|
+
type: string;
|
|
92036
|
+
};
|
|
92037
|
+
name: {
|
|
92038
|
+
nullable: boolean;
|
|
92039
|
+
type: string;
|
|
92040
|
+
};
|
|
92041
|
+
reservation_id: {
|
|
92042
|
+
format: string;
|
|
92043
|
+
type: string;
|
|
92044
|
+
};
|
|
92045
|
+
reservation_key: {
|
|
92046
|
+
type: string;
|
|
92047
|
+
};
|
|
92048
|
+
starts_at: {
|
|
92049
|
+
format: string;
|
|
92050
|
+
nullable: boolean;
|
|
92051
|
+
type: string;
|
|
92052
|
+
};
|
|
92053
|
+
};
|
|
92054
|
+
required: string[];
|
|
92055
|
+
type: string;
|
|
92056
|
+
};
|
|
92057
|
+
};
|
|
92058
|
+
required: string[];
|
|
92059
|
+
type: string;
|
|
92060
|
+
};
|
|
92061
|
+
};
|
|
92062
|
+
};
|
|
92063
|
+
description: string;
|
|
92064
|
+
};
|
|
92065
|
+
400: {
|
|
92066
|
+
description: string;
|
|
92067
|
+
};
|
|
92068
|
+
401: {
|
|
92069
|
+
description: string;
|
|
92070
|
+
};
|
|
92071
|
+
};
|
|
92072
|
+
security: {
|
|
92073
|
+
client_session_with_customer: never[];
|
|
92074
|
+
}[];
|
|
92075
|
+
summary: string;
|
|
92076
|
+
tags: never[];
|
|
92077
|
+
'x-fern-sdk-group-name': string[];
|
|
92078
|
+
'x-fern-sdk-method-name': string;
|
|
92079
|
+
'x-fern-sdk-return-value': string;
|
|
92080
|
+
'x-response-key': string;
|
|
92081
|
+
'x-title': string;
|
|
92082
|
+
'x-undocumented': string;
|
|
92083
|
+
};
|
|
92084
|
+
};
|
|
92085
|
+
'/seam/customer/v1/reservations/list': {
|
|
92086
|
+
get: {
|
|
92087
|
+
description: string;
|
|
92088
|
+
operationId: string;
|
|
92089
|
+
parameters: ({
|
|
92090
|
+
in: string;
|
|
92091
|
+
name: string;
|
|
92092
|
+
schema: {
|
|
92093
|
+
description: string;
|
|
92094
|
+
type: string;
|
|
92095
|
+
format?: never;
|
|
92096
|
+
default?: never;
|
|
92097
|
+
exclusiveMinimum?: never;
|
|
92098
|
+
minimum?: never;
|
|
91772
92099
|
nullable?: never;
|
|
91773
92100
|
};
|
|
91774
92101
|
} | {
|
|
@@ -91783,6 +92110,18 @@ declare const _default: {
|
|
|
91783
92110
|
minimum?: never;
|
|
91784
92111
|
nullable?: never;
|
|
91785
92112
|
};
|
|
92113
|
+
} | {
|
|
92114
|
+
in: string;
|
|
92115
|
+
name: string;
|
|
92116
|
+
schema: {
|
|
92117
|
+
default: number;
|
|
92118
|
+
description: string;
|
|
92119
|
+
exclusiveMinimum: boolean;
|
|
92120
|
+
minimum: number;
|
|
92121
|
+
type: string;
|
|
92122
|
+
format?: never;
|
|
92123
|
+
nullable?: never;
|
|
92124
|
+
};
|
|
91786
92125
|
} | {
|
|
91787
92126
|
in: string;
|
|
91788
92127
|
name: string;
|
|
@@ -91790,10 +92129,10 @@ declare const _default: {
|
|
|
91790
92129
|
description: string;
|
|
91791
92130
|
nullable: boolean;
|
|
91792
92131
|
type: string;
|
|
92132
|
+
format?: never;
|
|
91793
92133
|
default?: never;
|
|
91794
92134
|
exclusiveMinimum?: never;
|
|
91795
92135
|
minimum?: never;
|
|
91796
|
-
format?: never;
|
|
91797
92136
|
};
|
|
91798
92137
|
})[];
|
|
91799
92138
|
responses: {
|
|
@@ -91904,6 +92243,11 @@ declare const _default: {
|
|
|
91904
92243
|
nullable: boolean;
|
|
91905
92244
|
type: string;
|
|
91906
92245
|
};
|
|
92246
|
+
space_id: {
|
|
92247
|
+
description: string;
|
|
92248
|
+
format: string;
|
|
92249
|
+
type: string;
|
|
92250
|
+
};
|
|
91907
92251
|
space_key: {
|
|
91908
92252
|
description: string;
|
|
91909
92253
|
type: string;
|
|
@@ -105074,6 +105418,15 @@ type Routes = {
|
|
|
105074
105418
|
created_at?: string | undefined;
|
|
105075
105419
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
105076
105420
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
105421
|
+
} | {
|
|
105422
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
105423
|
+
message: string;
|
|
105424
|
+
/** Indicates that this is an access code error. */
|
|
105425
|
+
is_access_code_error: true;
|
|
105426
|
+
/** Date and time at which Seam created the error. */
|
|
105427
|
+
created_at?: string | undefined;
|
|
105428
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
105429
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
105077
105430
|
} | {
|
|
105078
105431
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
105079
105432
|
message: string;
|
|
@@ -105619,6 +105972,15 @@ type Routes = {
|
|
|
105619
105972
|
created_at?: string | undefined;
|
|
105620
105973
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
105621
105974
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
105975
|
+
} | {
|
|
105976
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
105977
|
+
message: string;
|
|
105978
|
+
/** Indicates that this is an access code error. */
|
|
105979
|
+
is_access_code_error: true;
|
|
105980
|
+
/** Date and time at which Seam created the error. */
|
|
105981
|
+
created_at?: string | undefined;
|
|
105982
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
105983
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
105622
105984
|
} | {
|
|
105623
105985
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
105624
105986
|
message: string;
|
|
@@ -107418,6 +107780,15 @@ type Routes = {
|
|
|
107418
107780
|
created_at?: string | undefined;
|
|
107419
107781
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107420
107782
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
107783
|
+
} | {
|
|
107784
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107785
|
+
message: string;
|
|
107786
|
+
/** Indicates that this is an access code error. */
|
|
107787
|
+
is_access_code_error: true;
|
|
107788
|
+
/** Date and time at which Seam created the error. */
|
|
107789
|
+
created_at?: string | undefined;
|
|
107790
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107791
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
107421
107792
|
} | {
|
|
107422
107793
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107423
107794
|
message: string;
|
|
@@ -107937,6 +108308,15 @@ type Routes = {
|
|
|
107937
108308
|
created_at?: string | undefined;
|
|
107938
108309
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107939
108310
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
108311
|
+
} | {
|
|
108312
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
108313
|
+
message: string;
|
|
108314
|
+
/** Indicates that this is an access code error. */
|
|
108315
|
+
is_access_code_error: true;
|
|
108316
|
+
/** Date and time at which Seam created the error. */
|
|
108317
|
+
created_at?: string | undefined;
|
|
108318
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
108319
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
107940
108320
|
} | {
|
|
107941
108321
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107942
108322
|
message: string;
|
|
@@ -108462,6 +108842,15 @@ type Routes = {
|
|
|
108462
108842
|
created_at?: string | undefined;
|
|
108463
108843
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
108464
108844
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
108845
|
+
} | {
|
|
108846
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
108847
|
+
message: string;
|
|
108848
|
+
/** Indicates that this is an access code error. */
|
|
108849
|
+
is_access_code_error: true;
|
|
108850
|
+
/** Date and time at which Seam created the error. */
|
|
108851
|
+
created_at?: string | undefined;
|
|
108852
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
108853
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
108465
108854
|
} | {
|
|
108466
108855
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
108467
108856
|
message: string;
|
|
@@ -108965,6 +109354,15 @@ type Routes = {
|
|
|
108965
109354
|
created_at?: string | undefined;
|
|
108966
109355
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
108967
109356
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
109357
|
+
} | {
|
|
109358
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
109359
|
+
message: string;
|
|
109360
|
+
/** Indicates that this is an access code error. */
|
|
109361
|
+
is_access_code_error: true;
|
|
109362
|
+
/** Date and time at which Seam created the error. */
|
|
109363
|
+
created_at?: string | undefined;
|
|
109364
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
109365
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
108968
109366
|
} | {
|
|
108969
109367
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
108970
109368
|
message: string;
|
|
@@ -109501,6 +109899,15 @@ type Routes = {
|
|
|
109501
109899
|
created_at?: string | undefined;
|
|
109502
109900
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
109503
109901
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
109902
|
+
} | {
|
|
109903
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
109904
|
+
message: string;
|
|
109905
|
+
/** Indicates that this is an access code error. */
|
|
109906
|
+
is_access_code_error: true;
|
|
109907
|
+
/** Date and time at which Seam created the error. */
|
|
109908
|
+
created_at?: string | undefined;
|
|
109909
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
109910
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
109504
109911
|
} | {
|
|
109505
109912
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
109506
109913
|
message: string;
|
|
@@ -111287,6 +111694,15 @@ type Routes = {
|
|
|
111287
111694
|
created_at?: string | undefined;
|
|
111288
111695
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
111289
111696
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
111697
|
+
} | {
|
|
111698
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
111699
|
+
message: string;
|
|
111700
|
+
/** Indicates that this is an access code error. */
|
|
111701
|
+
is_access_code_error: true;
|
|
111702
|
+
/** Date and time at which Seam created the error. */
|
|
111703
|
+
created_at?: string | undefined;
|
|
111704
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
111705
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
111290
111706
|
} | {
|
|
111291
111707
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
111292
111708
|
message: string;
|
|
@@ -111784,6 +112200,15 @@ type Routes = {
|
|
|
111784
112200
|
created_at?: string | undefined;
|
|
111785
112201
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
111786
112202
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
112203
|
+
} | {
|
|
112204
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
112205
|
+
message: string;
|
|
112206
|
+
/** Indicates that this is an access code error. */
|
|
112207
|
+
is_access_code_error: true;
|
|
112208
|
+
/** Date and time at which Seam created the error. */
|
|
112209
|
+
created_at?: string | undefined;
|
|
112210
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
112211
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
111787
112212
|
} | {
|
|
111788
112213
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
111789
112214
|
message: string;
|
|
@@ -122928,6 +123353,15 @@ type Routes = {
|
|
|
122928
123353
|
created_at?: string | undefined;
|
|
122929
123354
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
122930
123355
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
123356
|
+
} | {
|
|
123357
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
123358
|
+
message: string;
|
|
123359
|
+
/** Indicates that this is an access code error. */
|
|
123360
|
+
is_access_code_error: true;
|
|
123361
|
+
/** Date and time at which Seam created the error. */
|
|
123362
|
+
created_at?: string | undefined;
|
|
123363
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
123364
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
122931
123365
|
} | {
|
|
122932
123366
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
122933
123367
|
message: string;
|
|
@@ -123418,6 +123852,15 @@ type Routes = {
|
|
|
123418
123852
|
created_at?: string | undefined;
|
|
123419
123853
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
123420
123854
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
123855
|
+
} | {
|
|
123856
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
123857
|
+
message: string;
|
|
123858
|
+
/** Indicates that this is an access code error. */
|
|
123859
|
+
is_access_code_error: true;
|
|
123860
|
+
/** Date and time at which Seam created the error. */
|
|
123861
|
+
created_at?: string | undefined;
|
|
123862
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
123863
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
123421
123864
|
} | {
|
|
123422
123865
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
123423
123866
|
message: string;
|
|
@@ -161544,6 +161987,35 @@ type Routes = {
|
|
|
161544
161987
|
};
|
|
161545
161988
|
};
|
|
161546
161989
|
};
|
|
161990
|
+
'/seam/customer/v1/reservations/get': {
|
|
161991
|
+
route: '/seam/customer/v1/reservations/get';
|
|
161992
|
+
method: 'GET' | 'POST';
|
|
161993
|
+
queryParams: {};
|
|
161994
|
+
jsonBody: {};
|
|
161995
|
+
commonParams: {
|
|
161996
|
+
/** ID of the reservation to retrieve. */
|
|
161997
|
+
reservation_id?: string | undefined;
|
|
161998
|
+
/** Key of the reservation to retrieve. */
|
|
161999
|
+
reservation_key?: string | undefined;
|
|
162000
|
+
};
|
|
162001
|
+
formData: {};
|
|
162002
|
+
jsonResponse: {
|
|
162003
|
+
reservation: {
|
|
162004
|
+
reservation_id: string;
|
|
162005
|
+
reservation_key: string;
|
|
162006
|
+
name: string | null;
|
|
162007
|
+
starts_at: string | null;
|
|
162008
|
+
ends_at: string | null;
|
|
162009
|
+
created_at: string;
|
|
162010
|
+
guest_name: string | null;
|
|
162011
|
+
access_methods: {
|
|
162012
|
+
access_method_id: string;
|
|
162013
|
+
mode: string;
|
|
162014
|
+
is_issued: boolean;
|
|
162015
|
+
}[];
|
|
162016
|
+
};
|
|
162017
|
+
};
|
|
162018
|
+
};
|
|
161547
162019
|
'/seam/customer/v1/reservations/list': {
|
|
161548
162020
|
route: '/seam/customer/v1/reservations/list';
|
|
161549
162021
|
method: 'GET' | 'POST';
|
|
@@ -161552,6 +162024,8 @@ type Routes = {
|
|
|
161552
162024
|
commonParams: {
|
|
161553
162025
|
/** Filter reservations by space key. */
|
|
161554
162026
|
space_key?: string | undefined;
|
|
162027
|
+
/** Filter reservations by space ID (UUID). */
|
|
162028
|
+
space_id?: string | undefined;
|
|
161555
162029
|
/** Maximum number of records to return per page. */
|
|
161556
162030
|
limit?: number;
|
|
161557
162031
|
/** Timestamp by which to limit returned reservations. Returns reservations created before this timestamp. */
|
|
@@ -189385,6 +189859,15 @@ type Routes = {
|
|
|
189385
189859
|
created_at?: string | undefined;
|
|
189386
189860
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
189387
189861
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
189862
|
+
} | {
|
|
189863
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
189864
|
+
message: string;
|
|
189865
|
+
/** Indicates that this is an access code error. */
|
|
189866
|
+
is_access_code_error: true;
|
|
189867
|
+
/** Date and time at which Seam created the error. */
|
|
189868
|
+
created_at?: string | undefined;
|
|
189869
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
189870
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
189388
189871
|
} | {
|
|
189389
189872
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
189390
189873
|
message: string;
|
|
@@ -189875,6 +190358,15 @@ type Routes = {
|
|
|
189875
190358
|
created_at?: string | undefined;
|
|
189876
190359
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
189877
190360
|
error_code: 'dormakaba_oracode_no_valid_user_level';
|
|
190361
|
+
} | {
|
|
190362
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
190363
|
+
message: string;
|
|
190364
|
+
/** Indicates that this is an access code error. */
|
|
190365
|
+
is_access_code_error: true;
|
|
190366
|
+
/** Date and time at which Seam created the error. */
|
|
190367
|
+
created_at?: string | undefined;
|
|
190368
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
190369
|
+
error_code: 'kwikset_insufficient_permissions';
|
|
189878
190370
|
} | {
|
|
189879
190371
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
189880
190372
|
message: string;
|