@seamapi/types 1.752.0 → 1.754.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 +25 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +92 -48
- package/dist/index.cjs +25 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +14 -14
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +1 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +6 -0
- package/lib/seam/connect/models/access-grants/access-method.js +4 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +31 -26
- package/lib/seam/connect/openapi.d.ts +20 -0
- package/lib/seam/connect/openapi.js +20 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +24 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +1 -0
- package/src/lib/seam/connect/models/access-grants/access-method.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +25 -1
- package/src/lib/seam/connect/route-types.ts +96 -72
package/dist/connect.d.cts
CHANGED
|
@@ -2939,7 +2939,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2939
2939
|
} & {
|
|
2940
2940
|
is_managed: z.ZodLiteral<false>;
|
|
2941
2941
|
status: z.ZodEnum<["set"]>;
|
|
2942
|
-
dormakaba_oracode_metadata: z.ZodNullable<z.ZodObject<{
|
|
2942
|
+
dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2943
2943
|
stay_id: z.ZodNumber;
|
|
2944
2944
|
user_level_id: z.ZodOptional<z.ZodString>;
|
|
2945
2945
|
user_level_name: z.ZodNullable<z.ZodString>;
|
|
@@ -2966,7 +2966,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2966
2966
|
is_extendable?: boolean | undefined;
|
|
2967
2967
|
is_early_checkin_able?: boolean | undefined;
|
|
2968
2968
|
is_overridable?: boolean | undefined;
|
|
2969
|
-
}
|
|
2969
|
+
}>>>;
|
|
2970
2970
|
}, "strip", z.ZodTypeAny, {
|
|
2971
2971
|
code: string | null;
|
|
2972
2972
|
type: "time_bound" | "ongoing";
|
|
@@ -3241,7 +3241,11 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3241
3241
|
warning_code: "being_deleted";
|
|
3242
3242
|
created_at?: string | undefined;
|
|
3243
3243
|
})[];
|
|
3244
|
-
|
|
3244
|
+
is_managed: false;
|
|
3245
|
+
access_code_id: string;
|
|
3246
|
+
starts_at?: string | null | undefined;
|
|
3247
|
+
ends_at?: string | null | undefined;
|
|
3248
|
+
dormakaba_oracode_metadata?: {
|
|
3245
3249
|
stay_id: number;
|
|
3246
3250
|
user_level_name: string | null;
|
|
3247
3251
|
site_name?: string | undefined;
|
|
@@ -3250,11 +3254,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3250
3254
|
is_extendable?: boolean | undefined;
|
|
3251
3255
|
is_early_checkin_able?: boolean | undefined;
|
|
3252
3256
|
is_overridable?: boolean | undefined;
|
|
3253
|
-
} | null;
|
|
3254
|
-
is_managed: false;
|
|
3255
|
-
access_code_id: string;
|
|
3256
|
-
starts_at?: string | null | undefined;
|
|
3257
|
-
ends_at?: string | null | undefined;
|
|
3257
|
+
} | null | undefined;
|
|
3258
3258
|
}, {
|
|
3259
3259
|
code: string | null;
|
|
3260
3260
|
type: "time_bound" | "ongoing";
|
|
@@ -3529,7 +3529,11 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3529
3529
|
warning_code: "being_deleted";
|
|
3530
3530
|
created_at?: string | undefined;
|
|
3531
3531
|
})[];
|
|
3532
|
-
|
|
3532
|
+
is_managed: false;
|
|
3533
|
+
access_code_id: string;
|
|
3534
|
+
starts_at?: string | null | undefined;
|
|
3535
|
+
ends_at?: string | null | undefined;
|
|
3536
|
+
dormakaba_oracode_metadata?: {
|
|
3533
3537
|
stay_id: number;
|
|
3534
3538
|
user_level_name: string | null;
|
|
3535
3539
|
site_name?: string | undefined;
|
|
@@ -3538,11 +3542,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3538
3542
|
is_extendable?: boolean | undefined;
|
|
3539
3543
|
is_early_checkin_able?: boolean | undefined;
|
|
3540
3544
|
is_overridable?: boolean | undefined;
|
|
3541
|
-
} | null;
|
|
3542
|
-
is_managed: false;
|
|
3543
|
-
access_code_id: string;
|
|
3544
|
-
starts_at?: string | null | undefined;
|
|
3545
|
-
ends_at?: string | null | undefined;
|
|
3545
|
+
} | null | undefined;
|
|
3546
3546
|
}>;
|
|
3547
3547
|
type UnmanagedAccessCode = z.infer<typeof unmanaged_access_code>;
|
|
3548
3548
|
|
|
@@ -3974,6 +3974,7 @@ declare const access_method: z.ZodObject<{
|
|
|
3974
3974
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
3975
3975
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
3976
3976
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
3977
|
+
is_ready_for_encoding: z.ZodOptional<z.ZodBoolean>;
|
|
3977
3978
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3978
3979
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
3979
3980
|
created_at: z.ZodString;
|
|
@@ -4207,6 +4208,7 @@ declare const access_method: z.ZodObject<{
|
|
|
4207
4208
|
instant_key_url?: string | undefined;
|
|
4208
4209
|
customization_profile_id?: string | undefined;
|
|
4209
4210
|
is_encoding_required?: boolean | undefined;
|
|
4211
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
4210
4212
|
}, {
|
|
4211
4213
|
display_name: string;
|
|
4212
4214
|
workspace_id: string;
|
|
@@ -4267,6 +4269,7 @@ declare const access_method: z.ZodObject<{
|
|
|
4267
4269
|
instant_key_url?: string | undefined;
|
|
4268
4270
|
customization_profile_id?: string | undefined;
|
|
4269
4271
|
is_encoding_required?: boolean | undefined;
|
|
4272
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
4270
4273
|
}>;
|
|
4271
4274
|
type AccessMethod = z.infer<typeof access_method>;
|
|
4272
4275
|
|
|
@@ -28043,6 +28046,7 @@ declare const batch: z.ZodObject<{
|
|
|
28043
28046
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
28044
28047
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
28045
28048
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
28049
|
+
is_ready_for_encoding: z.ZodOptional<z.ZodBoolean>;
|
|
28046
28050
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28047
28051
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
28048
28052
|
created_at: z.ZodString;
|
|
@@ -28276,6 +28280,7 @@ declare const batch: z.ZodObject<{
|
|
|
28276
28280
|
instant_key_url?: string | undefined;
|
|
28277
28281
|
customization_profile_id?: string | undefined;
|
|
28278
28282
|
is_encoding_required?: boolean | undefined;
|
|
28283
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
28279
28284
|
}, {
|
|
28280
28285
|
display_name: string;
|
|
28281
28286
|
workspace_id: string;
|
|
@@ -28336,6 +28341,7 @@ declare const batch: z.ZodObject<{
|
|
|
28336
28341
|
instant_key_url?: string | undefined;
|
|
28337
28342
|
customization_profile_id?: string | undefined;
|
|
28338
28343
|
is_encoding_required?: boolean | undefined;
|
|
28344
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
28339
28345
|
}>, "many">>;
|
|
28340
28346
|
access_grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28341
28347
|
workspace_id: z.ZodString;
|
|
@@ -36081,7 +36087,7 @@ declare const batch: z.ZodObject<{
|
|
|
36081
36087
|
} & {
|
|
36082
36088
|
is_managed: z.ZodLiteral<false>;
|
|
36083
36089
|
status: z.ZodEnum<["set"]>;
|
|
36084
|
-
dormakaba_oracode_metadata: z.ZodNullable<z.ZodObject<{
|
|
36090
|
+
dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36085
36091
|
stay_id: z.ZodNumber;
|
|
36086
36092
|
user_level_id: z.ZodOptional<z.ZodString>;
|
|
36087
36093
|
user_level_name: z.ZodNullable<z.ZodString>;
|
|
@@ -36108,7 +36114,7 @@ declare const batch: z.ZodObject<{
|
|
|
36108
36114
|
is_extendable?: boolean | undefined;
|
|
36109
36115
|
is_early_checkin_able?: boolean | undefined;
|
|
36110
36116
|
is_overridable?: boolean | undefined;
|
|
36111
|
-
}
|
|
36117
|
+
}>>>;
|
|
36112
36118
|
}, "strip", z.ZodTypeAny, {
|
|
36113
36119
|
code: string | null;
|
|
36114
36120
|
type: "time_bound" | "ongoing";
|
|
@@ -36383,7 +36389,11 @@ declare const batch: z.ZodObject<{
|
|
|
36383
36389
|
warning_code: "being_deleted";
|
|
36384
36390
|
created_at?: string | undefined;
|
|
36385
36391
|
})[];
|
|
36386
|
-
|
|
36392
|
+
is_managed: false;
|
|
36393
|
+
access_code_id: string;
|
|
36394
|
+
starts_at?: string | null | undefined;
|
|
36395
|
+
ends_at?: string | null | undefined;
|
|
36396
|
+
dormakaba_oracode_metadata?: {
|
|
36387
36397
|
stay_id: number;
|
|
36388
36398
|
user_level_name: string | null;
|
|
36389
36399
|
site_name?: string | undefined;
|
|
@@ -36392,11 +36402,7 @@ declare const batch: z.ZodObject<{
|
|
|
36392
36402
|
is_extendable?: boolean | undefined;
|
|
36393
36403
|
is_early_checkin_able?: boolean | undefined;
|
|
36394
36404
|
is_overridable?: boolean | undefined;
|
|
36395
|
-
} | null;
|
|
36396
|
-
is_managed: false;
|
|
36397
|
-
access_code_id: string;
|
|
36398
|
-
starts_at?: string | null | undefined;
|
|
36399
|
-
ends_at?: string | null | undefined;
|
|
36405
|
+
} | null | undefined;
|
|
36400
36406
|
}, {
|
|
36401
36407
|
code: string | null;
|
|
36402
36408
|
type: "time_bound" | "ongoing";
|
|
@@ -36671,7 +36677,11 @@ declare const batch: z.ZodObject<{
|
|
|
36671
36677
|
warning_code: "being_deleted";
|
|
36672
36678
|
created_at?: string | undefined;
|
|
36673
36679
|
})[];
|
|
36674
|
-
|
|
36680
|
+
is_managed: false;
|
|
36681
|
+
access_code_id: string;
|
|
36682
|
+
starts_at?: string | null | undefined;
|
|
36683
|
+
ends_at?: string | null | undefined;
|
|
36684
|
+
dormakaba_oracode_metadata?: {
|
|
36675
36685
|
stay_id: number;
|
|
36676
36686
|
user_level_name: string | null;
|
|
36677
36687
|
site_name?: string | undefined;
|
|
@@ -36680,11 +36690,7 @@ declare const batch: z.ZodObject<{
|
|
|
36680
36690
|
is_extendable?: boolean | undefined;
|
|
36681
36691
|
is_early_checkin_able?: boolean | undefined;
|
|
36682
36692
|
is_overridable?: boolean | undefined;
|
|
36683
|
-
} | null;
|
|
36684
|
-
is_managed: false;
|
|
36685
|
-
access_code_id: string;
|
|
36686
|
-
starts_at?: string | null | undefined;
|
|
36687
|
-
ends_at?: string | null | undefined;
|
|
36693
|
+
} | null | undefined;
|
|
36688
36694
|
}>, "many">>;
|
|
36689
36695
|
thermostat_daily_programs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36690
36696
|
thermostat_daily_program_id: z.ZodString;
|
|
@@ -39538,6 +39544,7 @@ declare const batch: z.ZodObject<{
|
|
|
39538
39544
|
instant_key_url?: string | undefined;
|
|
39539
39545
|
customization_profile_id?: string | undefined;
|
|
39540
39546
|
is_encoding_required?: boolean | undefined;
|
|
39547
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
39541
39548
|
}[] | undefined;
|
|
39542
39549
|
access_grants?: {
|
|
39543
39550
|
name: string | null;
|
|
@@ -41601,7 +41608,11 @@ declare const batch: z.ZodObject<{
|
|
|
41601
41608
|
warning_code: "being_deleted";
|
|
41602
41609
|
created_at?: string | undefined;
|
|
41603
41610
|
})[];
|
|
41604
|
-
|
|
41611
|
+
is_managed: false;
|
|
41612
|
+
access_code_id: string;
|
|
41613
|
+
starts_at?: string | null | undefined;
|
|
41614
|
+
ends_at?: string | null | undefined;
|
|
41615
|
+
dormakaba_oracode_metadata?: {
|
|
41605
41616
|
stay_id: number;
|
|
41606
41617
|
user_level_name: string | null;
|
|
41607
41618
|
site_name?: string | undefined;
|
|
@@ -41610,11 +41621,7 @@ declare const batch: z.ZodObject<{
|
|
|
41610
41621
|
is_extendable?: boolean | undefined;
|
|
41611
41622
|
is_early_checkin_able?: boolean | undefined;
|
|
41612
41623
|
is_overridable?: boolean | undefined;
|
|
41613
|
-
} | null;
|
|
41614
|
-
is_managed: false;
|
|
41615
|
-
access_code_id: string;
|
|
41616
|
-
starts_at?: string | null | undefined;
|
|
41617
|
-
ends_at?: string | null | undefined;
|
|
41624
|
+
} | null | undefined;
|
|
41618
41625
|
}[] | undefined;
|
|
41619
41626
|
thermostat_schedules?: {
|
|
41620
41627
|
climate_preset_key: string;
|
|
@@ -44341,6 +44348,7 @@ declare const batch: z.ZodObject<{
|
|
|
44341
44348
|
instant_key_url?: string | undefined;
|
|
44342
44349
|
customization_profile_id?: string | undefined;
|
|
44343
44350
|
is_encoding_required?: boolean | undefined;
|
|
44351
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
44344
44352
|
}[] | undefined;
|
|
44345
44353
|
access_grants?: {
|
|
44346
44354
|
name: string | null;
|
|
@@ -46404,7 +46412,11 @@ declare const batch: z.ZodObject<{
|
|
|
46404
46412
|
warning_code: "being_deleted";
|
|
46405
46413
|
created_at?: string | undefined;
|
|
46406
46414
|
})[];
|
|
46407
|
-
|
|
46415
|
+
is_managed: false;
|
|
46416
|
+
access_code_id: string;
|
|
46417
|
+
starts_at?: string | null | undefined;
|
|
46418
|
+
ends_at?: string | null | undefined;
|
|
46419
|
+
dormakaba_oracode_metadata?: {
|
|
46408
46420
|
stay_id: number;
|
|
46409
46421
|
user_level_name: string | null;
|
|
46410
46422
|
site_name?: string | undefined;
|
|
@@ -46413,11 +46425,7 @@ declare const batch: z.ZodObject<{
|
|
|
46413
46425
|
is_extendable?: boolean | undefined;
|
|
46414
46426
|
is_early_checkin_able?: boolean | undefined;
|
|
46415
46427
|
is_overridable?: boolean | undefined;
|
|
46416
|
-
} | null;
|
|
46417
|
-
is_managed: false;
|
|
46418
|
-
access_code_id: string;
|
|
46419
|
-
starts_at?: string | null | undefined;
|
|
46420
|
-
ends_at?: string | null | undefined;
|
|
46428
|
+
} | null | undefined;
|
|
46421
46429
|
}[] | undefined;
|
|
46422
46430
|
thermostat_schedules?: {
|
|
46423
46431
|
climate_preset_key: string;
|
|
@@ -62614,6 +62622,10 @@ declare const _default: {
|
|
|
62614
62622
|
description: string;
|
|
62615
62623
|
type: string;
|
|
62616
62624
|
};
|
|
62625
|
+
is_ready_for_encoding: {
|
|
62626
|
+
description: string;
|
|
62627
|
+
type: string;
|
|
62628
|
+
};
|
|
62617
62629
|
issued_at: {
|
|
62618
62630
|
description: string;
|
|
62619
62631
|
format: string;
|
|
@@ -88741,6 +88753,10 @@ declare const _default: {
|
|
|
88741
88753
|
description: string;
|
|
88742
88754
|
type: string;
|
|
88743
88755
|
};
|
|
88756
|
+
is_ready_for_encoding: {
|
|
88757
|
+
description: string;
|
|
88758
|
+
type: string;
|
|
88759
|
+
};
|
|
88744
88760
|
issued_at: {
|
|
88745
88761
|
description: string;
|
|
88746
88762
|
format: string;
|
|
@@ -89040,6 +89056,10 @@ declare const _default: {
|
|
|
89040
89056
|
description: string;
|
|
89041
89057
|
type: string;
|
|
89042
89058
|
};
|
|
89059
|
+
is_ready_for_encoding: {
|
|
89060
|
+
description: string;
|
|
89061
|
+
type: string;
|
|
89062
|
+
};
|
|
89043
89063
|
issued_at: {
|
|
89044
89064
|
description: string;
|
|
89045
89065
|
format: string;
|
|
@@ -89335,6 +89355,10 @@ declare const _default: {
|
|
|
89335
89355
|
description: string;
|
|
89336
89356
|
type: string;
|
|
89337
89357
|
};
|
|
89358
|
+
is_ready_for_encoding: {
|
|
89359
|
+
description: string;
|
|
89360
|
+
type: string;
|
|
89361
|
+
};
|
|
89338
89362
|
issued_at: {
|
|
89339
89363
|
description: string;
|
|
89340
89364
|
format: string;
|
|
@@ -89652,6 +89676,10 @@ declare const _default: {
|
|
|
89652
89676
|
description: string;
|
|
89653
89677
|
type: string;
|
|
89654
89678
|
};
|
|
89679
|
+
is_ready_for_encoding: {
|
|
89680
|
+
description: string;
|
|
89681
|
+
type: string;
|
|
89682
|
+
};
|
|
89655
89683
|
issued_at: {
|
|
89656
89684
|
description: string;
|
|
89657
89685
|
format: string;
|
|
@@ -139090,7 +139118,7 @@ type Routes = {
|
|
|
139090
139118
|
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
139091
139119
|
status: 'set';
|
|
139092
139120
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
139093
|
-
dormakaba_oracode_metadata
|
|
139121
|
+
dormakaba_oracode_metadata?: ({
|
|
139094
139122
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
139095
139123
|
stay_id: number;
|
|
139096
139124
|
/** Dormakaba Oracode user level ID associated with this access code. */
|
|
@@ -139107,7 +139135,7 @@ type Routes = {
|
|
|
139107
139135
|
is_early_checkin_able?: boolean | undefined;
|
|
139108
139136
|
/** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
|
|
139109
139137
|
is_overridable?: boolean | undefined;
|
|
139110
|
-
} | null;
|
|
139138
|
+
} | null) | undefined;
|
|
139111
139139
|
};
|
|
139112
139140
|
};
|
|
139113
139141
|
maxDuration: undefined;
|
|
@@ -140901,7 +140929,7 @@ type Routes = {
|
|
|
140901
140929
|
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
140902
140930
|
status: 'set';
|
|
140903
140931
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
140904
|
-
dormakaba_oracode_metadata
|
|
140932
|
+
dormakaba_oracode_metadata?: ({
|
|
140905
140933
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
140906
140934
|
stay_id: number;
|
|
140907
140935
|
/** Dormakaba Oracode user level ID associated with this access code. */
|
|
@@ -140918,7 +140946,7 @@ type Routes = {
|
|
|
140918
140946
|
is_early_checkin_able?: boolean | undefined;
|
|
140919
140947
|
/** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
|
|
140920
140948
|
is_overridable?: boolean | undefined;
|
|
140921
|
-
} | null;
|
|
140949
|
+
} | null) | undefined;
|
|
140922
140950
|
};
|
|
140923
140951
|
};
|
|
140924
140952
|
maxDuration: undefined;
|
|
@@ -141407,7 +141435,7 @@ type Routes = {
|
|
|
141407
141435
|
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
141408
141436
|
status: 'set';
|
|
141409
141437
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
141410
|
-
dormakaba_oracode_metadata
|
|
141438
|
+
dormakaba_oracode_metadata?: ({
|
|
141411
141439
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
141412
141440
|
stay_id: number;
|
|
141413
141441
|
/** Dormakaba Oracode user level ID associated with this access code. */
|
|
@@ -141424,7 +141452,7 @@ type Routes = {
|
|
|
141424
141452
|
is_early_checkin_able?: boolean | undefined;
|
|
141425
141453
|
/** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
|
|
141426
141454
|
is_overridable?: boolean | undefined;
|
|
141427
|
-
} | null;
|
|
141455
|
+
} | null) | undefined;
|
|
141428
141456
|
}[];
|
|
141429
141457
|
/** Information about the current page of results. */
|
|
141430
141458
|
pagination: {
|
|
@@ -145168,6 +145196,8 @@ type Routes = {
|
|
|
145168
145196
|
client_session_token?: string | undefined;
|
|
145169
145197
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
145170
145198
|
is_encoding_required?: boolean | undefined;
|
|
145199
|
+
/** Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued. */
|
|
145200
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
145171
145201
|
/** The actual PIN code for code access methods. */
|
|
145172
145202
|
code?: (string | null) | undefined;
|
|
145173
145203
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -147339,6 +147369,8 @@ type Routes = {
|
|
|
147339
147369
|
client_session_token?: string | undefined;
|
|
147340
147370
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
147341
147371
|
is_encoding_required?: boolean | undefined;
|
|
147372
|
+
/** Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued. */
|
|
147373
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
147342
147374
|
/** The actual PIN code for code access methods. */
|
|
147343
147375
|
code?: (string | null) | undefined;
|
|
147344
147376
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -149080,6 +149112,8 @@ type Routes = {
|
|
|
149080
149112
|
client_session_token?: string | undefined;
|
|
149081
149113
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
149082
149114
|
is_encoding_required?: boolean | undefined;
|
|
149115
|
+
/** Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued. */
|
|
149116
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
149083
149117
|
/** The actual PIN code for code access methods. */
|
|
149084
149118
|
code?: (string | null) | undefined;
|
|
149085
149119
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -149394,6 +149428,8 @@ type Routes = {
|
|
|
149394
149428
|
client_session_token?: string | undefined;
|
|
149395
149429
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
149396
149430
|
is_encoding_required?: boolean | undefined;
|
|
149431
|
+
/** Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued. */
|
|
149432
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
149397
149433
|
/** The actual PIN code for code access methods. */
|
|
149398
149434
|
code?: (string | null) | undefined;
|
|
149399
149435
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -149513,6 +149549,8 @@ type Routes = {
|
|
|
149513
149549
|
is_issued: boolean;
|
|
149514
149550
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
149515
149551
|
is_encoding_required?: boolean | undefined;
|
|
149552
|
+
/** Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued. */
|
|
149553
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
149516
149554
|
/** The actual PIN code for code access methods. */
|
|
149517
149555
|
code?: (string | null) | undefined;
|
|
149518
149556
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -149635,6 +149673,8 @@ type Routes = {
|
|
|
149635
149673
|
is_issued: boolean;
|
|
149636
149674
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
149637
149675
|
is_encoding_required?: boolean | undefined;
|
|
149676
|
+
/** Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued. */
|
|
149677
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
149638
149678
|
/** The actual PIN code for code access methods. */
|
|
149639
149679
|
code?: (string | null) | undefined;
|
|
149640
149680
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -199106,6 +199146,8 @@ type Routes = {
|
|
|
199106
199146
|
client_session_token?: string | undefined;
|
|
199107
199147
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
199108
199148
|
is_encoding_required?: boolean | undefined;
|
|
199149
|
+
/** Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued. */
|
|
199150
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
199109
199151
|
/** The actual PIN code for code access methods. */
|
|
199110
199152
|
code?: (string | null) | undefined;
|
|
199111
199153
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -223612,6 +223654,8 @@ type Routes = {
|
|
|
223612
223654
|
client_session_token?: string | undefined;
|
|
223613
223655
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
223614
223656
|
is_encoding_required?: boolean | undefined;
|
|
223657
|
+
/** Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued. */
|
|
223658
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
223615
223659
|
/** The actual PIN code for code access methods. */
|
|
223616
223660
|
code?: (string | null) | undefined;
|
|
223617
223661
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -227507,7 +227551,7 @@ type Routes = {
|
|
|
227507
227551
|
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
227508
227552
|
status: 'set';
|
|
227509
227553
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
227510
|
-
dormakaba_oracode_metadata
|
|
227554
|
+
dormakaba_oracode_metadata?: ({
|
|
227511
227555
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
227512
227556
|
stay_id: number;
|
|
227513
227557
|
/** Dormakaba Oracode user level ID associated with this access code. */
|
|
@@ -227524,7 +227568,7 @@ type Routes = {
|
|
|
227524
227568
|
is_early_checkin_able?: boolean | undefined;
|
|
227525
227569
|
/** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
|
|
227526
227570
|
is_overridable?: boolean | undefined;
|
|
227527
|
-
} | null;
|
|
227571
|
+
} | null) | undefined;
|
|
227528
227572
|
}[] | undefined;
|
|
227529
227573
|
access_codes?: {
|
|
227530
227574
|
/** Unique identifier for the Seam workspace associated with the access code. */
|
package/dist/index.cjs
CHANGED
|
@@ -2469,7 +2469,7 @@ var unmanaged_access_code = access_code.pick({
|
|
|
2469
2469
|
status: zod.z.enum(["set"]).describe(
|
|
2470
2470
|
"Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational."
|
|
2471
2471
|
),
|
|
2472
|
-
dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata.nullable().describe(
|
|
2472
|
+
dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata.nullable().optional().describe(
|
|
2473
2473
|
"Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices."
|
|
2474
2474
|
)
|
|
2475
2475
|
}).describe(`
|
|
@@ -2808,6 +2808,9 @@ var access_method = zod.z.object({
|
|
|
2808
2808
|
is_encoding_required: zod.z.boolean().optional().describe(
|
|
2809
2809
|
"Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method."
|
|
2810
2810
|
),
|
|
2811
|
+
is_ready_for_encoding: zod.z.boolean().optional().describe(
|
|
2812
|
+
"Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued."
|
|
2813
|
+
),
|
|
2811
2814
|
code: zod.z.string().nullable().optional().describe("The actual PIN code for code access methods."),
|
|
2812
2815
|
warnings: zod.z.array(access_method_warning).describe(
|
|
2813
2816
|
"Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods)."
|
|
@@ -8641,6 +8644,10 @@ var openapi_default = {
|
|
|
8641
8644
|
description: "Indicates whether the access method has been issued.",
|
|
8642
8645
|
type: "boolean"
|
|
8643
8646
|
},
|
|
8647
|
+
is_ready_for_encoding: {
|
|
8648
|
+
description: "Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.",
|
|
8649
|
+
type: "boolean"
|
|
8650
|
+
},
|
|
8644
8651
|
issued_at: {
|
|
8645
8652
|
description: "Date and time at which the access method was issued.",
|
|
8646
8653
|
format: "date-time",
|
|
@@ -30857,8 +30864,7 @@ var openapi_default = {
|
|
|
30857
30864
|
"errors",
|
|
30858
30865
|
"warnings",
|
|
30859
30866
|
"is_managed",
|
|
30860
|
-
"status"
|
|
30861
|
-
"dormakaba_oracode_metadata"
|
|
30867
|
+
"status"
|
|
30862
30868
|
],
|
|
30863
30869
|
type: "object",
|
|
30864
30870
|
"x-route-path": "/access_codes/unmanaged"
|
|
@@ -41150,6 +41156,10 @@ var openapi_default = {
|
|
|
41150
41156
|
description: "Indicates whether the access method has been issued.",
|
|
41151
41157
|
type: "boolean"
|
|
41152
41158
|
},
|
|
41159
|
+
is_ready_for_encoding: {
|
|
41160
|
+
description: "Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.",
|
|
41161
|
+
type: "boolean"
|
|
41162
|
+
},
|
|
41153
41163
|
issued_at: {
|
|
41154
41164
|
description: "Date and time at which the access method was issued.",
|
|
41155
41165
|
format: "date-time",
|
|
@@ -41542,6 +41552,10 @@ var openapi_default = {
|
|
|
41542
41552
|
description: "Indicates whether the access method has been issued.",
|
|
41543
41553
|
type: "boolean"
|
|
41544
41554
|
},
|
|
41555
|
+
is_ready_for_encoding: {
|
|
41556
|
+
description: "Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.",
|
|
41557
|
+
type: "boolean"
|
|
41558
|
+
},
|
|
41545
41559
|
issued_at: {
|
|
41546
41560
|
description: "Date and time at which the access method was issued.",
|
|
41547
41561
|
format: "date-time",
|
|
@@ -41962,6 +41976,10 @@ var openapi_default = {
|
|
|
41962
41976
|
description: "Indicates whether the access method has been issued.",
|
|
41963
41977
|
type: "boolean"
|
|
41964
41978
|
},
|
|
41979
|
+
is_ready_for_encoding: {
|
|
41980
|
+
description: "Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.",
|
|
41981
|
+
type: "boolean"
|
|
41982
|
+
},
|
|
41965
41983
|
issued_at: {
|
|
41966
41984
|
description: "Date and time at which the access method was issued.",
|
|
41967
41985
|
format: "date-time",
|
|
@@ -42372,6 +42390,10 @@ var openapi_default = {
|
|
|
42372
42390
|
description: "Indicates whether the access method has been issued.",
|
|
42373
42391
|
type: "boolean"
|
|
42374
42392
|
},
|
|
42393
|
+
is_ready_for_encoding: {
|
|
42394
|
+
description: "Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.",
|
|
42395
|
+
type: "boolean"
|
|
42396
|
+
},
|
|
42375
42397
|
issued_at: {
|
|
42376
42398
|
description: "Date and time at which the access method was issued.",
|
|
42377
42399
|
format: "date-time",
|