@seamapi/types 1.753.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 +2 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +48 -48
- package/dist/index.cjs +2 -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/batch.d.ts +26 -26
- package/lib/seam/connect/openapi.js +0 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -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/openapi.ts +0 -1
- package/src/lib/seam/connect/route-types.ts +80 -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
|
|
|
@@ -36087,7 +36087,7 @@ declare const batch: z.ZodObject<{
|
|
|
36087
36087
|
} & {
|
|
36088
36088
|
is_managed: z.ZodLiteral<false>;
|
|
36089
36089
|
status: z.ZodEnum<["set"]>;
|
|
36090
|
-
dormakaba_oracode_metadata: z.ZodNullable<z.ZodObject<{
|
|
36090
|
+
dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36091
36091
|
stay_id: z.ZodNumber;
|
|
36092
36092
|
user_level_id: z.ZodOptional<z.ZodString>;
|
|
36093
36093
|
user_level_name: z.ZodNullable<z.ZodString>;
|
|
@@ -36114,7 +36114,7 @@ declare const batch: z.ZodObject<{
|
|
|
36114
36114
|
is_extendable?: boolean | undefined;
|
|
36115
36115
|
is_early_checkin_able?: boolean | undefined;
|
|
36116
36116
|
is_overridable?: boolean | undefined;
|
|
36117
|
-
}
|
|
36117
|
+
}>>>;
|
|
36118
36118
|
}, "strip", z.ZodTypeAny, {
|
|
36119
36119
|
code: string | null;
|
|
36120
36120
|
type: "time_bound" | "ongoing";
|
|
@@ -36389,7 +36389,11 @@ declare const batch: z.ZodObject<{
|
|
|
36389
36389
|
warning_code: "being_deleted";
|
|
36390
36390
|
created_at?: string | undefined;
|
|
36391
36391
|
})[];
|
|
36392
|
-
|
|
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?: {
|
|
36393
36397
|
stay_id: number;
|
|
36394
36398
|
user_level_name: string | null;
|
|
36395
36399
|
site_name?: string | undefined;
|
|
@@ -36398,11 +36402,7 @@ declare const batch: z.ZodObject<{
|
|
|
36398
36402
|
is_extendable?: boolean | undefined;
|
|
36399
36403
|
is_early_checkin_able?: boolean | undefined;
|
|
36400
36404
|
is_overridable?: boolean | undefined;
|
|
36401
|
-
} | null;
|
|
36402
|
-
is_managed: false;
|
|
36403
|
-
access_code_id: string;
|
|
36404
|
-
starts_at?: string | null | undefined;
|
|
36405
|
-
ends_at?: string | null | undefined;
|
|
36405
|
+
} | null | undefined;
|
|
36406
36406
|
}, {
|
|
36407
36407
|
code: string | null;
|
|
36408
36408
|
type: "time_bound" | "ongoing";
|
|
@@ -36677,7 +36677,11 @@ declare const batch: z.ZodObject<{
|
|
|
36677
36677
|
warning_code: "being_deleted";
|
|
36678
36678
|
created_at?: string | undefined;
|
|
36679
36679
|
})[];
|
|
36680
|
-
|
|
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?: {
|
|
36681
36685
|
stay_id: number;
|
|
36682
36686
|
user_level_name: string | null;
|
|
36683
36687
|
site_name?: string | undefined;
|
|
@@ -36686,11 +36690,7 @@ declare const batch: z.ZodObject<{
|
|
|
36686
36690
|
is_extendable?: boolean | undefined;
|
|
36687
36691
|
is_early_checkin_able?: boolean | undefined;
|
|
36688
36692
|
is_overridable?: boolean | undefined;
|
|
36689
|
-
} | null;
|
|
36690
|
-
is_managed: false;
|
|
36691
|
-
access_code_id: string;
|
|
36692
|
-
starts_at?: string | null | undefined;
|
|
36693
|
-
ends_at?: string | null | undefined;
|
|
36693
|
+
} | null | undefined;
|
|
36694
36694
|
}>, "many">>;
|
|
36695
36695
|
thermostat_daily_programs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36696
36696
|
thermostat_daily_program_id: z.ZodString;
|
|
@@ -41608,7 +41608,11 @@ declare const batch: z.ZodObject<{
|
|
|
41608
41608
|
warning_code: "being_deleted";
|
|
41609
41609
|
created_at?: string | undefined;
|
|
41610
41610
|
})[];
|
|
41611
|
-
|
|
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?: {
|
|
41612
41616
|
stay_id: number;
|
|
41613
41617
|
user_level_name: string | null;
|
|
41614
41618
|
site_name?: string | undefined;
|
|
@@ -41617,11 +41621,7 @@ declare const batch: z.ZodObject<{
|
|
|
41617
41621
|
is_extendable?: boolean | undefined;
|
|
41618
41622
|
is_early_checkin_able?: boolean | undefined;
|
|
41619
41623
|
is_overridable?: boolean | undefined;
|
|
41620
|
-
} | null;
|
|
41621
|
-
is_managed: false;
|
|
41622
|
-
access_code_id: string;
|
|
41623
|
-
starts_at?: string | null | undefined;
|
|
41624
|
-
ends_at?: string | null | undefined;
|
|
41624
|
+
} | null | undefined;
|
|
41625
41625
|
}[] | undefined;
|
|
41626
41626
|
thermostat_schedules?: {
|
|
41627
41627
|
climate_preset_key: string;
|
|
@@ -46412,7 +46412,11 @@ declare const batch: z.ZodObject<{
|
|
|
46412
46412
|
warning_code: "being_deleted";
|
|
46413
46413
|
created_at?: string | undefined;
|
|
46414
46414
|
})[];
|
|
46415
|
-
|
|
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?: {
|
|
46416
46420
|
stay_id: number;
|
|
46417
46421
|
user_level_name: string | null;
|
|
46418
46422
|
site_name?: string | undefined;
|
|
@@ -46421,11 +46425,7 @@ declare const batch: z.ZodObject<{
|
|
|
46421
46425
|
is_extendable?: boolean | undefined;
|
|
46422
46426
|
is_early_checkin_able?: boolean | undefined;
|
|
46423
46427
|
is_overridable?: boolean | undefined;
|
|
46424
|
-
} | null;
|
|
46425
|
-
is_managed: false;
|
|
46426
|
-
access_code_id: string;
|
|
46427
|
-
starts_at?: string | null | undefined;
|
|
46428
|
-
ends_at?: string | null | undefined;
|
|
46428
|
+
} | null | undefined;
|
|
46429
46429
|
}[] | undefined;
|
|
46430
46430
|
thermostat_schedules?: {
|
|
46431
46431
|
climate_preset_key: string;
|
|
@@ -139118,7 +139118,7 @@ type Routes = {
|
|
|
139118
139118
|
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
139119
139119
|
status: 'set';
|
|
139120
139120
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
139121
|
-
dormakaba_oracode_metadata
|
|
139121
|
+
dormakaba_oracode_metadata?: ({
|
|
139122
139122
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
139123
139123
|
stay_id: number;
|
|
139124
139124
|
/** Dormakaba Oracode user level ID associated with this access code. */
|
|
@@ -139135,7 +139135,7 @@ type Routes = {
|
|
|
139135
139135
|
is_early_checkin_able?: boolean | undefined;
|
|
139136
139136
|
/** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
|
|
139137
139137
|
is_overridable?: boolean | undefined;
|
|
139138
|
-
} | null;
|
|
139138
|
+
} | null) | undefined;
|
|
139139
139139
|
};
|
|
139140
139140
|
};
|
|
139141
139141
|
maxDuration: undefined;
|
|
@@ -140929,7 +140929,7 @@ type Routes = {
|
|
|
140929
140929
|
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
140930
140930
|
status: 'set';
|
|
140931
140931
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
140932
|
-
dormakaba_oracode_metadata
|
|
140932
|
+
dormakaba_oracode_metadata?: ({
|
|
140933
140933
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
140934
140934
|
stay_id: number;
|
|
140935
140935
|
/** Dormakaba Oracode user level ID associated with this access code. */
|
|
@@ -140946,7 +140946,7 @@ type Routes = {
|
|
|
140946
140946
|
is_early_checkin_able?: boolean | undefined;
|
|
140947
140947
|
/** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
|
|
140948
140948
|
is_overridable?: boolean | undefined;
|
|
140949
|
-
} | null;
|
|
140949
|
+
} | null) | undefined;
|
|
140950
140950
|
};
|
|
140951
140951
|
};
|
|
140952
140952
|
maxDuration: undefined;
|
|
@@ -141435,7 +141435,7 @@ type Routes = {
|
|
|
141435
141435
|
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
141436
141436
|
status: 'set';
|
|
141437
141437
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
141438
|
-
dormakaba_oracode_metadata
|
|
141438
|
+
dormakaba_oracode_metadata?: ({
|
|
141439
141439
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
141440
141440
|
stay_id: number;
|
|
141441
141441
|
/** Dormakaba Oracode user level ID associated with this access code. */
|
|
@@ -141452,7 +141452,7 @@ type Routes = {
|
|
|
141452
141452
|
is_early_checkin_able?: boolean | undefined;
|
|
141453
141453
|
/** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
|
|
141454
141454
|
is_overridable?: boolean | undefined;
|
|
141455
|
-
} | null;
|
|
141455
|
+
} | null) | undefined;
|
|
141456
141456
|
}[];
|
|
141457
141457
|
/** Information about the current page of results. */
|
|
141458
141458
|
pagination: {
|
|
@@ -227551,7 +227551,7 @@ type Routes = {
|
|
|
227551
227551
|
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
227552
227552
|
status: 'set';
|
|
227553
227553
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
227554
|
-
dormakaba_oracode_metadata
|
|
227554
|
+
dormakaba_oracode_metadata?: ({
|
|
227555
227555
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
227556
227556
|
stay_id: number;
|
|
227557
227557
|
/** Dormakaba Oracode user level ID associated with this access code. */
|
|
@@ -227568,7 +227568,7 @@ type Routes = {
|
|
|
227568
227568
|
is_early_checkin_able?: boolean | undefined;
|
|
227569
227569
|
/** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
|
|
227570
227570
|
is_overridable?: boolean | undefined;
|
|
227571
|
-
} | null;
|
|
227571
|
+
} | null) | undefined;
|
|
227572
227572
|
}[] | undefined;
|
|
227573
227573
|
access_codes?: {
|
|
227574
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(`
|
|
@@ -30864,8 +30864,7 @@ var openapi_default = {
|
|
|
30864
30864
|
"errors",
|
|
30865
30865
|
"warnings",
|
|
30866
30866
|
"is_managed",
|
|
30867
|
-
"status"
|
|
30868
|
-
"dormakaba_oracode_metadata"
|
|
30867
|
+
"status"
|
|
30869
30868
|
],
|
|
30870
30869
|
type: "object",
|
|
30871
30870
|
"x-route-path": "/access_codes/unmanaged"
|