@seamapi/types 1.793.0 → 1.794.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.
@@ -1484,6 +1484,160 @@ declare const access_code: z.ZodObject<{
1484
1484
  is_early_checkin_able?: boolean | undefined;
1485
1485
  is_overridable?: boolean | undefined;
1486
1486
  }>>>;
1487
+ pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
1488
+ created_at: z.ZodString;
1489
+ message: z.ZodString;
1490
+ } & {
1491
+ mutation_code: z.ZodLiteral<"creating">;
1492
+ }, "strip", z.ZodTypeAny, {
1493
+ message: string;
1494
+ created_at: string;
1495
+ mutation_code: "creating";
1496
+ }, {
1497
+ message: string;
1498
+ created_at: string;
1499
+ mutation_code: "creating";
1500
+ }>, z.ZodObject<{
1501
+ created_at: z.ZodString;
1502
+ message: z.ZodString;
1503
+ } & {
1504
+ mutation_code: z.ZodLiteral<"deleting">;
1505
+ }, "strip", z.ZodTypeAny, {
1506
+ message: string;
1507
+ created_at: string;
1508
+ mutation_code: "deleting";
1509
+ }, {
1510
+ message: string;
1511
+ created_at: string;
1512
+ mutation_code: "deleting";
1513
+ }>, z.ZodObject<{
1514
+ created_at: z.ZodString;
1515
+ message: z.ZodString;
1516
+ } & {
1517
+ mutation_code: z.ZodLiteral<"updating_code">;
1518
+ from: z.ZodObject<{
1519
+ code: z.ZodNullable<z.ZodString>;
1520
+ }, "strip", z.ZodTypeAny, {
1521
+ code: string | null;
1522
+ }, {
1523
+ code: string | null;
1524
+ }>;
1525
+ to: z.ZodObject<{
1526
+ code: z.ZodNullable<z.ZodString>;
1527
+ }, "strip", z.ZodTypeAny, {
1528
+ code: string | null;
1529
+ }, {
1530
+ code: string | null;
1531
+ }>;
1532
+ }, "strip", z.ZodTypeAny, {
1533
+ message: string;
1534
+ created_at: string;
1535
+ mutation_code: "updating_code";
1536
+ from: {
1537
+ code: string | null;
1538
+ };
1539
+ to: {
1540
+ code: string | null;
1541
+ };
1542
+ }, {
1543
+ message: string;
1544
+ created_at: string;
1545
+ mutation_code: "updating_code";
1546
+ from: {
1547
+ code: string | null;
1548
+ };
1549
+ to: {
1550
+ code: string | null;
1551
+ };
1552
+ }>, z.ZodObject<{
1553
+ created_at: z.ZodString;
1554
+ message: z.ZodString;
1555
+ } & {
1556
+ mutation_code: z.ZodLiteral<"updating_name">;
1557
+ from: z.ZodObject<{
1558
+ name: z.ZodNullable<z.ZodString>;
1559
+ }, "strip", z.ZodTypeAny, {
1560
+ name: string | null;
1561
+ }, {
1562
+ name: string | null;
1563
+ }>;
1564
+ to: z.ZodObject<{
1565
+ name: z.ZodNullable<z.ZodString>;
1566
+ }, "strip", z.ZodTypeAny, {
1567
+ name: string | null;
1568
+ }, {
1569
+ name: string | null;
1570
+ }>;
1571
+ }, "strip", z.ZodTypeAny, {
1572
+ message: string;
1573
+ created_at: string;
1574
+ mutation_code: "updating_name";
1575
+ from: {
1576
+ name: string | null;
1577
+ };
1578
+ to: {
1579
+ name: string | null;
1580
+ };
1581
+ }, {
1582
+ message: string;
1583
+ created_at: string;
1584
+ mutation_code: "updating_name";
1585
+ from: {
1586
+ name: string | null;
1587
+ };
1588
+ to: {
1589
+ name: string | null;
1590
+ };
1591
+ }>, z.ZodObject<{
1592
+ created_at: z.ZodString;
1593
+ message: z.ZodString;
1594
+ } & {
1595
+ mutation_code: z.ZodLiteral<"updating_time_frame">;
1596
+ from: z.ZodObject<{
1597
+ starts_at: z.ZodNullable<z.ZodString>;
1598
+ ends_at: z.ZodNullable<z.ZodString>;
1599
+ }, "strip", z.ZodTypeAny, {
1600
+ starts_at: string | null;
1601
+ ends_at: string | null;
1602
+ }, {
1603
+ starts_at: string | null;
1604
+ ends_at: string | null;
1605
+ }>;
1606
+ to: z.ZodObject<{
1607
+ starts_at: z.ZodNullable<z.ZodString>;
1608
+ ends_at: z.ZodNullable<z.ZodString>;
1609
+ }, "strip", z.ZodTypeAny, {
1610
+ starts_at: string | null;
1611
+ ends_at: string | null;
1612
+ }, {
1613
+ starts_at: string | null;
1614
+ ends_at: string | null;
1615
+ }>;
1616
+ }, "strip", z.ZodTypeAny, {
1617
+ message: string;
1618
+ created_at: string;
1619
+ mutation_code: "updating_time_frame";
1620
+ from: {
1621
+ starts_at: string | null;
1622
+ ends_at: string | null;
1623
+ };
1624
+ to: {
1625
+ starts_at: string | null;
1626
+ ends_at: string | null;
1627
+ };
1628
+ }, {
1629
+ message: string;
1630
+ created_at: string;
1631
+ mutation_code: "updating_time_frame";
1632
+ from: {
1633
+ starts_at: string | null;
1634
+ ends_at: string | null;
1635
+ };
1636
+ to: {
1637
+ starts_at: string | null;
1638
+ ends_at: string | null;
1639
+ };
1640
+ }>]>, "many">;
1487
1641
  }, "strip", z.ZodTypeAny, {
1488
1642
  code: string | null;
1489
1643
  type: "time_bound" | "ongoing";
@@ -1769,6 +1923,47 @@ declare const access_code: z.ZodObject<{
1769
1923
  is_external_modification_allowed: boolean;
1770
1924
  is_one_time_use: boolean;
1771
1925
  is_offline_access_code: boolean;
1926
+ pending_mutations: ({
1927
+ message: string;
1928
+ created_at: string;
1929
+ mutation_code: "creating";
1930
+ } | {
1931
+ message: string;
1932
+ created_at: string;
1933
+ mutation_code: "deleting";
1934
+ } | {
1935
+ message: string;
1936
+ created_at: string;
1937
+ mutation_code: "updating_code";
1938
+ from: {
1939
+ code: string | null;
1940
+ };
1941
+ to: {
1942
+ code: string | null;
1943
+ };
1944
+ } | {
1945
+ message: string;
1946
+ created_at: string;
1947
+ mutation_code: "updating_name";
1948
+ from: {
1949
+ name: string | null;
1950
+ };
1951
+ to: {
1952
+ name: string | null;
1953
+ };
1954
+ } | {
1955
+ message: string;
1956
+ created_at: string;
1957
+ mutation_code: "updating_time_frame";
1958
+ from: {
1959
+ starts_at: string | null;
1960
+ ends_at: string | null;
1961
+ };
1962
+ to: {
1963
+ starts_at: string | null;
1964
+ ends_at: string | null;
1965
+ };
1966
+ })[];
1772
1967
  starts_at?: string | null | undefined;
1773
1968
  ends_at?: string | null | undefined;
1774
1969
  dormakaba_oracode_metadata?: {
@@ -2070,6 +2265,47 @@ declare const access_code: z.ZodObject<{
2070
2265
  is_external_modification_allowed: boolean;
2071
2266
  is_one_time_use: boolean;
2072
2267
  is_offline_access_code: boolean;
2268
+ pending_mutations: ({
2269
+ message: string;
2270
+ created_at: string;
2271
+ mutation_code: "creating";
2272
+ } | {
2273
+ message: string;
2274
+ created_at: string;
2275
+ mutation_code: "deleting";
2276
+ } | {
2277
+ message: string;
2278
+ created_at: string;
2279
+ mutation_code: "updating_code";
2280
+ from: {
2281
+ code: string | null;
2282
+ };
2283
+ to: {
2284
+ code: string | null;
2285
+ };
2286
+ } | {
2287
+ message: string;
2288
+ created_at: string;
2289
+ mutation_code: "updating_name";
2290
+ from: {
2291
+ name: string | null;
2292
+ };
2293
+ to: {
2294
+ name: string | null;
2295
+ };
2296
+ } | {
2297
+ message: string;
2298
+ created_at: string;
2299
+ mutation_code: "updating_time_frame";
2300
+ from: {
2301
+ starts_at: string | null;
2302
+ ends_at: string | null;
2303
+ };
2304
+ to: {
2305
+ starts_at: string | null;
2306
+ ends_at: string | null;
2307
+ };
2308
+ })[];
2073
2309
  starts_at?: string | null | undefined;
2074
2310
  ends_at?: string | null | undefined;
2075
2311
  dormakaba_oracode_metadata?: {
@@ -3888,18 +4124,6 @@ declare const access_grant: z.ZodObject<{
3888
4124
  warning_code: "device_does_not_support_access_codes";
3889
4125
  })[];
3890
4126
  space_ids: string[];
3891
- access_method_ids: string[];
3892
- access_grant_id: string;
3893
- user_identity_id: string;
3894
- location_ids: string[];
3895
- requested_access_methods: {
3896
- display_name: string;
3897
- created_at: string;
3898
- mode: "code" | "card" | "mobile_key" | "cloud_key";
3899
- created_access_method_ids: string[];
3900
- code?: string | undefined;
3901
- instant_key_max_use_count?: number | undefined;
3902
- }[];
3903
4127
  pending_mutations: ({
3904
4128
  message: string;
3905
4129
  created_at: string;
@@ -3925,6 +4149,18 @@ declare const access_grant: z.ZodObject<{
3925
4149
  };
3926
4150
  access_method_ids: string[];
3927
4151
  })[];
4152
+ access_method_ids: string[];
4153
+ access_grant_id: string;
4154
+ user_identity_id: string;
4155
+ location_ids: string[];
4156
+ requested_access_methods: {
4157
+ display_name: string;
4158
+ created_at: string;
4159
+ mode: "code" | "card" | "mobile_key" | "cloud_key";
4160
+ created_access_method_ids: string[];
4161
+ code?: string | undefined;
4162
+ instant_key_max_use_count?: number | undefined;
4163
+ }[];
3928
4164
  access_grant_key?: string | undefined;
3929
4165
  reservation_key?: string | undefined;
3930
4166
  client_session_token?: string | undefined;
@@ -3973,18 +4209,6 @@ declare const access_grant: z.ZodObject<{
3973
4209
  warning_code: "device_does_not_support_access_codes";
3974
4210
  })[];
3975
4211
  space_ids: string[];
3976
- access_method_ids: string[];
3977
- access_grant_id: string;
3978
- user_identity_id: string;
3979
- location_ids: string[];
3980
- requested_access_methods: {
3981
- display_name: string;
3982
- created_at: string;
3983
- mode: "code" | "card" | "mobile_key" | "cloud_key";
3984
- created_access_method_ids: string[];
3985
- code?: string | undefined;
3986
- instant_key_max_use_count?: number | undefined;
3987
- }[];
3988
4212
  pending_mutations: ({
3989
4213
  message: string;
3990
4214
  created_at: string;
@@ -4010,6 +4234,18 @@ declare const access_grant: z.ZodObject<{
4010
4234
  };
4011
4235
  access_method_ids: string[];
4012
4236
  })[];
4237
+ access_method_ids: string[];
4238
+ access_grant_id: string;
4239
+ user_identity_id: string;
4240
+ location_ids: string[];
4241
+ requested_access_methods: {
4242
+ display_name: string;
4243
+ created_at: string;
4244
+ mode: "code" | "card" | "mobile_key" | "cloud_key";
4245
+ created_access_method_ids: string[];
4246
+ code?: string | undefined;
4247
+ instant_key_max_use_count?: number | undefined;
4248
+ }[];
4013
4249
  access_grant_key?: string | undefined;
4014
4250
  reservation_key?: string | undefined;
4015
4251
  client_session_token?: string | undefined;
@@ -4221,7 +4457,6 @@ declare const access_method: z.ZodObject<{
4221
4457
  warning_code: "pulled_backup_access_code";
4222
4458
  original_access_method_id?: string | undefined;
4223
4459
  })[];
4224
- mode: "code" | "card" | "mobile_key" | "cloud_key";
4225
4460
  pending_mutations: ({
4226
4461
  message: string;
4227
4462
  created_at: string;
@@ -4255,6 +4490,7 @@ declare const access_method: z.ZodObject<{
4255
4490
  ends_at: string | null;
4256
4491
  };
4257
4492
  })[];
4493
+ mode: "code" | "card" | "mobile_key" | "cloud_key";
4258
4494
  access_method_id: string;
4259
4495
  issued_at: string | null;
4260
4496
  is_issued: boolean;
@@ -4282,7 +4518,6 @@ declare const access_method: z.ZodObject<{
4282
4518
  warning_code: "pulled_backup_access_code";
4283
4519
  original_access_method_id?: string | undefined;
4284
4520
  })[];
4285
- mode: "code" | "card" | "mobile_key" | "cloud_key";
4286
4521
  pending_mutations: ({
4287
4522
  message: string;
4288
4523
  created_at: string;
@@ -4316,6 +4551,7 @@ declare const access_method: z.ZodObject<{
4316
4551
  ends_at: string | null;
4317
4552
  };
4318
4553
  })[];
4554
+ mode: "code" | "card" | "mobile_key" | "cloud_key";
4319
4555
  access_method_id: string;
4320
4556
  issued_at: string | null;
4321
4557
  is_issued: boolean;
@@ -7041,7 +7277,6 @@ declare const acs_user: z.ZodObject<{
7041
7277
  acs_system_id: string;
7042
7278
  last_successful_sync_at: string | null;
7043
7279
  email?: string | undefined;
7044
- user_identity_id?: string | undefined;
7045
7280
  pending_mutations?: ({
7046
7281
  message: string;
7047
7282
  created_at: string;
@@ -7108,6 +7343,7 @@ declare const acs_user: z.ZodObject<{
7108
7343
  variant: "removing" | "adding";
7109
7344
  acs_access_group_id: string;
7110
7345
  })[] | undefined;
7346
+ user_identity_id?: string | undefined;
7111
7347
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
7112
7348
  external_type_display_name?: string | undefined;
7113
7349
  access_schedule?: {
@@ -7178,7 +7414,6 @@ declare const acs_user: z.ZodObject<{
7178
7414
  acs_system_id: string;
7179
7415
  last_successful_sync_at: string | null;
7180
7416
  email?: string | undefined;
7181
- user_identity_id?: string | undefined;
7182
7417
  pending_mutations?: ({
7183
7418
  message: string;
7184
7419
  created_at: string;
@@ -7245,6 +7480,7 @@ declare const acs_user: z.ZodObject<{
7245
7480
  variant: "removing" | "adding";
7246
7481
  acs_access_group_id: string;
7247
7482
  })[] | undefined;
7483
+ user_identity_id?: string | undefined;
7248
7484
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
7249
7485
  external_type_display_name?: string | undefined;
7250
7486
  access_schedule?: {
@@ -7739,7 +7975,6 @@ declare const unmanaged_acs_user: z.ZodObject<{
7739
7975
  acs_system_id: string;
7740
7976
  last_successful_sync_at: string | null;
7741
7977
  email?: string | undefined;
7742
- user_identity_id?: string | undefined;
7743
7978
  pending_mutations?: ({
7744
7979
  message: string;
7745
7980
  created_at: string;
@@ -7806,6 +8041,7 @@ declare const unmanaged_acs_user: z.ZodObject<{
7806
8041
  variant: "removing" | "adding";
7807
8042
  acs_access_group_id: string;
7808
8043
  })[] | undefined;
8044
+ user_identity_id?: string | undefined;
7809
8045
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
7810
8046
  external_type_display_name?: string | undefined;
7811
8047
  access_schedule?: {
@@ -7876,7 +8112,6 @@ declare const unmanaged_acs_user: z.ZodObject<{
7876
8112
  acs_system_id: string;
7877
8113
  last_successful_sync_at: string | null;
7878
8114
  email?: string | undefined;
7879
- user_identity_id?: string | undefined;
7880
8115
  pending_mutations?: ({
7881
8116
  message: string;
7882
8117
  created_at: string;
@@ -7943,6 +8178,7 @@ declare const unmanaged_acs_user: z.ZodObject<{
7943
8178
  variant: "removing" | "adding";
7944
8179
  acs_access_group_id: string;
7945
8180
  })[] | undefined;
8181
+ user_identity_id?: string | undefined;
7946
8182
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
7947
8183
  external_type_display_name?: string | undefined;
7948
8184
  access_schedule?: {
@@ -18230,7 +18466,6 @@ declare const batch: z.ZodObject<{
18230
18466
  acs_system_id: string;
18231
18467
  last_successful_sync_at: string | null;
18232
18468
  email?: string | undefined;
18233
- user_identity_id?: string | undefined;
18234
18469
  pending_mutations?: ({
18235
18470
  message: string;
18236
18471
  created_at: string;
@@ -18297,6 +18532,7 @@ declare const batch: z.ZodObject<{
18297
18532
  variant: "removing" | "adding";
18298
18533
  acs_access_group_id: string;
18299
18534
  })[] | undefined;
18535
+ user_identity_id?: string | undefined;
18300
18536
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
18301
18537
  external_type_display_name?: string | undefined;
18302
18538
  access_schedule?: {
@@ -18367,7 +18603,6 @@ declare const batch: z.ZodObject<{
18367
18603
  acs_system_id: string;
18368
18604
  last_successful_sync_at: string | null;
18369
18605
  email?: string | undefined;
18370
- user_identity_id?: string | undefined;
18371
18606
  pending_mutations?: ({
18372
18607
  message: string;
18373
18608
  created_at: string;
@@ -18434,6 +18669,7 @@ declare const batch: z.ZodObject<{
18434
18669
  variant: "removing" | "adding";
18435
18670
  acs_access_group_id: string;
18436
18671
  })[] | undefined;
18672
+ user_identity_id?: string | undefined;
18437
18673
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
18438
18674
  external_type_display_name?: string | undefined;
18439
18675
  access_schedule?: {
@@ -24112,7 +24348,6 @@ declare const batch: z.ZodObject<{
24112
24348
  acs_system_id: string;
24113
24349
  last_successful_sync_at: string | null;
24114
24350
  email?: string | undefined;
24115
- user_identity_id?: string | undefined;
24116
24351
  pending_mutations?: ({
24117
24352
  message: string;
24118
24353
  created_at: string;
@@ -24179,6 +24414,7 @@ declare const batch: z.ZodObject<{
24179
24414
  variant: "removing" | "adding";
24180
24415
  acs_access_group_id: string;
24181
24416
  })[] | undefined;
24417
+ user_identity_id?: string | undefined;
24182
24418
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
24183
24419
  external_type_display_name?: string | undefined;
24184
24420
  access_schedule?: {
@@ -24249,7 +24485,6 @@ declare const batch: z.ZodObject<{
24249
24485
  acs_system_id: string;
24250
24486
  last_successful_sync_at: string | null;
24251
24487
  email?: string | undefined;
24252
- user_identity_id?: string | undefined;
24253
24488
  pending_mutations?: ({
24254
24489
  message: string;
24255
24490
  created_at: string;
@@ -24316,6 +24551,7 @@ declare const batch: z.ZodObject<{
24316
24551
  variant: "removing" | "adding";
24317
24552
  acs_access_group_id: string;
24318
24553
  })[] | undefined;
24554
+ user_identity_id?: string | undefined;
24319
24555
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
24320
24556
  external_type_display_name?: string | undefined;
24321
24557
  access_schedule?: {
@@ -28825,7 +29061,6 @@ declare const batch: z.ZodObject<{
28825
29061
  warning_code: "pulled_backup_access_code";
28826
29062
  original_access_method_id?: string | undefined;
28827
29063
  })[];
28828
- mode: "code" | "card" | "mobile_key" | "cloud_key";
28829
29064
  pending_mutations: ({
28830
29065
  message: string;
28831
29066
  created_at: string;
@@ -28859,6 +29094,7 @@ declare const batch: z.ZodObject<{
28859
29094
  ends_at: string | null;
28860
29095
  };
28861
29096
  })[];
29097
+ mode: "code" | "card" | "mobile_key" | "cloud_key";
28862
29098
  access_method_id: string;
28863
29099
  issued_at: string | null;
28864
29100
  is_issued: boolean;
@@ -28886,7 +29122,6 @@ declare const batch: z.ZodObject<{
28886
29122
  warning_code: "pulled_backup_access_code";
28887
29123
  original_access_method_id?: string | undefined;
28888
29124
  })[];
28889
- mode: "code" | "card" | "mobile_key" | "cloud_key";
28890
29125
  pending_mutations: ({
28891
29126
  message: string;
28892
29127
  created_at: string;
@@ -28920,6 +29155,7 @@ declare const batch: z.ZodObject<{
28920
29155
  ends_at: string | null;
28921
29156
  };
28922
29157
  })[];
29158
+ mode: "code" | "card" | "mobile_key" | "cloud_key";
28923
29159
  access_method_id: string;
28924
29160
  issued_at: string | null;
28925
29161
  is_issued: boolean;
@@ -29217,18 +29453,6 @@ declare const batch: z.ZodObject<{
29217
29453
  warning_code: "device_does_not_support_access_codes";
29218
29454
  })[];
29219
29455
  space_ids: string[];
29220
- access_method_ids: string[];
29221
- access_grant_id: string;
29222
- user_identity_id: string;
29223
- location_ids: string[];
29224
- requested_access_methods: {
29225
- display_name: string;
29226
- created_at: string;
29227
- mode: "code" | "card" | "mobile_key" | "cloud_key";
29228
- created_access_method_ids: string[];
29229
- code?: string | undefined;
29230
- instant_key_max_use_count?: number | undefined;
29231
- }[];
29232
29456
  pending_mutations: ({
29233
29457
  message: string;
29234
29458
  created_at: string;
@@ -29254,6 +29478,18 @@ declare const batch: z.ZodObject<{
29254
29478
  };
29255
29479
  access_method_ids: string[];
29256
29480
  })[];
29481
+ access_method_ids: string[];
29482
+ access_grant_id: string;
29483
+ user_identity_id: string;
29484
+ location_ids: string[];
29485
+ requested_access_methods: {
29486
+ display_name: string;
29487
+ created_at: string;
29488
+ mode: "code" | "card" | "mobile_key" | "cloud_key";
29489
+ created_access_method_ids: string[];
29490
+ code?: string | undefined;
29491
+ instant_key_max_use_count?: number | undefined;
29492
+ }[];
29257
29493
  access_grant_key?: string | undefined;
29258
29494
  reservation_key?: string | undefined;
29259
29495
  client_session_token?: string | undefined;
@@ -29302,18 +29538,6 @@ declare const batch: z.ZodObject<{
29302
29538
  warning_code: "device_does_not_support_access_codes";
29303
29539
  })[];
29304
29540
  space_ids: string[];
29305
- access_method_ids: string[];
29306
- access_grant_id: string;
29307
- user_identity_id: string;
29308
- location_ids: string[];
29309
- requested_access_methods: {
29310
- display_name: string;
29311
- created_at: string;
29312
- mode: "code" | "card" | "mobile_key" | "cloud_key";
29313
- created_access_method_ids: string[];
29314
- code?: string | undefined;
29315
- instant_key_max_use_count?: number | undefined;
29316
- }[];
29317
29541
  pending_mutations: ({
29318
29542
  message: string;
29319
29543
  created_at: string;
@@ -29339,6 +29563,18 @@ declare const batch: z.ZodObject<{
29339
29563
  };
29340
29564
  access_method_ids: string[];
29341
29565
  })[];
29566
+ access_method_ids: string[];
29567
+ access_grant_id: string;
29568
+ user_identity_id: string;
29569
+ location_ids: string[];
29570
+ requested_access_methods: {
29571
+ display_name: string;
29572
+ created_at: string;
29573
+ mode: "code" | "card" | "mobile_key" | "cloud_key";
29574
+ created_access_method_ids: string[];
29575
+ code?: string | undefined;
29576
+ instant_key_max_use_count?: number | undefined;
29577
+ }[];
29342
29578
  access_grant_key?: string | undefined;
29343
29579
  reservation_key?: string | undefined;
29344
29580
  client_session_token?: string | undefined;
@@ -35208,6 +35444,160 @@ declare const batch: z.ZodObject<{
35208
35444
  is_early_checkin_able?: boolean | undefined;
35209
35445
  is_overridable?: boolean | undefined;
35210
35446
  }>>>;
35447
+ pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
35448
+ created_at: z.ZodString;
35449
+ message: z.ZodString;
35450
+ } & {
35451
+ mutation_code: z.ZodLiteral<"creating">;
35452
+ }, "strip", z.ZodTypeAny, {
35453
+ message: string;
35454
+ created_at: string;
35455
+ mutation_code: "creating";
35456
+ }, {
35457
+ message: string;
35458
+ created_at: string;
35459
+ mutation_code: "creating";
35460
+ }>, z.ZodObject<{
35461
+ created_at: z.ZodString;
35462
+ message: z.ZodString;
35463
+ } & {
35464
+ mutation_code: z.ZodLiteral<"deleting">;
35465
+ }, "strip", z.ZodTypeAny, {
35466
+ message: string;
35467
+ created_at: string;
35468
+ mutation_code: "deleting";
35469
+ }, {
35470
+ message: string;
35471
+ created_at: string;
35472
+ mutation_code: "deleting";
35473
+ }>, z.ZodObject<{
35474
+ created_at: z.ZodString;
35475
+ message: z.ZodString;
35476
+ } & {
35477
+ mutation_code: z.ZodLiteral<"updating_code">;
35478
+ from: z.ZodObject<{
35479
+ code: z.ZodNullable<z.ZodString>;
35480
+ }, "strip", z.ZodTypeAny, {
35481
+ code: string | null;
35482
+ }, {
35483
+ code: string | null;
35484
+ }>;
35485
+ to: z.ZodObject<{
35486
+ code: z.ZodNullable<z.ZodString>;
35487
+ }, "strip", z.ZodTypeAny, {
35488
+ code: string | null;
35489
+ }, {
35490
+ code: string | null;
35491
+ }>;
35492
+ }, "strip", z.ZodTypeAny, {
35493
+ message: string;
35494
+ created_at: string;
35495
+ mutation_code: "updating_code";
35496
+ from: {
35497
+ code: string | null;
35498
+ };
35499
+ to: {
35500
+ code: string | null;
35501
+ };
35502
+ }, {
35503
+ message: string;
35504
+ created_at: string;
35505
+ mutation_code: "updating_code";
35506
+ from: {
35507
+ code: string | null;
35508
+ };
35509
+ to: {
35510
+ code: string | null;
35511
+ };
35512
+ }>, z.ZodObject<{
35513
+ created_at: z.ZodString;
35514
+ message: z.ZodString;
35515
+ } & {
35516
+ mutation_code: z.ZodLiteral<"updating_name">;
35517
+ from: z.ZodObject<{
35518
+ name: z.ZodNullable<z.ZodString>;
35519
+ }, "strip", z.ZodTypeAny, {
35520
+ name: string | null;
35521
+ }, {
35522
+ name: string | null;
35523
+ }>;
35524
+ to: z.ZodObject<{
35525
+ name: z.ZodNullable<z.ZodString>;
35526
+ }, "strip", z.ZodTypeAny, {
35527
+ name: string | null;
35528
+ }, {
35529
+ name: string | null;
35530
+ }>;
35531
+ }, "strip", z.ZodTypeAny, {
35532
+ message: string;
35533
+ created_at: string;
35534
+ mutation_code: "updating_name";
35535
+ from: {
35536
+ name: string | null;
35537
+ };
35538
+ to: {
35539
+ name: string | null;
35540
+ };
35541
+ }, {
35542
+ message: string;
35543
+ created_at: string;
35544
+ mutation_code: "updating_name";
35545
+ from: {
35546
+ name: string | null;
35547
+ };
35548
+ to: {
35549
+ name: string | null;
35550
+ };
35551
+ }>, z.ZodObject<{
35552
+ created_at: z.ZodString;
35553
+ message: z.ZodString;
35554
+ } & {
35555
+ mutation_code: z.ZodLiteral<"updating_time_frame">;
35556
+ from: z.ZodObject<{
35557
+ starts_at: z.ZodNullable<z.ZodString>;
35558
+ ends_at: z.ZodNullable<z.ZodString>;
35559
+ }, "strip", z.ZodTypeAny, {
35560
+ starts_at: string | null;
35561
+ ends_at: string | null;
35562
+ }, {
35563
+ starts_at: string | null;
35564
+ ends_at: string | null;
35565
+ }>;
35566
+ to: z.ZodObject<{
35567
+ starts_at: z.ZodNullable<z.ZodString>;
35568
+ ends_at: z.ZodNullable<z.ZodString>;
35569
+ }, "strip", z.ZodTypeAny, {
35570
+ starts_at: string | null;
35571
+ ends_at: string | null;
35572
+ }, {
35573
+ starts_at: string | null;
35574
+ ends_at: string | null;
35575
+ }>;
35576
+ }, "strip", z.ZodTypeAny, {
35577
+ message: string;
35578
+ created_at: string;
35579
+ mutation_code: "updating_time_frame";
35580
+ from: {
35581
+ starts_at: string | null;
35582
+ ends_at: string | null;
35583
+ };
35584
+ to: {
35585
+ starts_at: string | null;
35586
+ ends_at: string | null;
35587
+ };
35588
+ }, {
35589
+ message: string;
35590
+ created_at: string;
35591
+ mutation_code: "updating_time_frame";
35592
+ from: {
35593
+ starts_at: string | null;
35594
+ ends_at: string | null;
35595
+ };
35596
+ to: {
35597
+ starts_at: string | null;
35598
+ ends_at: string | null;
35599
+ };
35600
+ }>]>, "many">;
35211
35601
  }, "strip", z.ZodTypeAny, {
35212
35602
  code: string | null;
35213
35603
  type: "time_bound" | "ongoing";
@@ -35493,6 +35883,47 @@ declare const batch: z.ZodObject<{
35493
35883
  is_external_modification_allowed: boolean;
35494
35884
  is_one_time_use: boolean;
35495
35885
  is_offline_access_code: boolean;
35886
+ pending_mutations: ({
35887
+ message: string;
35888
+ created_at: string;
35889
+ mutation_code: "creating";
35890
+ } | {
35891
+ message: string;
35892
+ created_at: string;
35893
+ mutation_code: "deleting";
35894
+ } | {
35895
+ message: string;
35896
+ created_at: string;
35897
+ mutation_code: "updating_code";
35898
+ from: {
35899
+ code: string | null;
35900
+ };
35901
+ to: {
35902
+ code: string | null;
35903
+ };
35904
+ } | {
35905
+ message: string;
35906
+ created_at: string;
35907
+ mutation_code: "updating_name";
35908
+ from: {
35909
+ name: string | null;
35910
+ };
35911
+ to: {
35912
+ name: string | null;
35913
+ };
35914
+ } | {
35915
+ message: string;
35916
+ created_at: string;
35917
+ mutation_code: "updating_time_frame";
35918
+ from: {
35919
+ starts_at: string | null;
35920
+ ends_at: string | null;
35921
+ };
35922
+ to: {
35923
+ starts_at: string | null;
35924
+ ends_at: string | null;
35925
+ };
35926
+ })[];
35496
35927
  starts_at?: string | null | undefined;
35497
35928
  ends_at?: string | null | undefined;
35498
35929
  dormakaba_oracode_metadata?: {
@@ -35794,6 +36225,47 @@ declare const batch: z.ZodObject<{
35794
36225
  is_external_modification_allowed: boolean;
35795
36226
  is_one_time_use: boolean;
35796
36227
  is_offline_access_code: boolean;
36228
+ pending_mutations: ({
36229
+ message: string;
36230
+ created_at: string;
36231
+ mutation_code: "creating";
36232
+ } | {
36233
+ message: string;
36234
+ created_at: string;
36235
+ mutation_code: "deleting";
36236
+ } | {
36237
+ message: string;
36238
+ created_at: string;
36239
+ mutation_code: "updating_code";
36240
+ from: {
36241
+ code: string | null;
36242
+ };
36243
+ to: {
36244
+ code: string | null;
36245
+ };
36246
+ } | {
36247
+ message: string;
36248
+ created_at: string;
36249
+ mutation_code: "updating_name";
36250
+ from: {
36251
+ name: string | null;
36252
+ };
36253
+ to: {
36254
+ name: string | null;
36255
+ };
36256
+ } | {
36257
+ message: string;
36258
+ created_at: string;
36259
+ mutation_code: "updating_time_frame";
36260
+ from: {
36261
+ starts_at: string | null;
36262
+ ends_at: string | null;
36263
+ };
36264
+ to: {
36265
+ starts_at: string | null;
36266
+ ends_at: string | null;
36267
+ };
36268
+ })[];
35797
36269
  starts_at?: string | null | undefined;
35798
36270
  ends_at?: string | null | undefined;
35799
36271
  dormakaba_oracode_metadata?: {
@@ -38546,7 +39018,6 @@ declare const batch: z.ZodObject<{
38546
39018
  acs_system_id: string;
38547
39019
  last_successful_sync_at: string | null;
38548
39020
  email?: string | undefined;
38549
- user_identity_id?: string | undefined;
38550
39021
  pending_mutations?: ({
38551
39022
  message: string;
38552
39023
  created_at: string;
@@ -38613,6 +39084,7 @@ declare const batch: z.ZodObject<{
38613
39084
  variant: "removing" | "adding";
38614
39085
  acs_access_group_id: string;
38615
39086
  })[] | undefined;
39087
+ user_identity_id?: string | undefined;
38616
39088
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
38617
39089
  external_type_display_name?: string | undefined;
38618
39090
  access_schedule?: {
@@ -39719,7 +40191,6 @@ declare const batch: z.ZodObject<{
39719
40191
  acs_system_id: string;
39720
40192
  last_successful_sync_at: string | null;
39721
40193
  email?: string | undefined;
39722
- user_identity_id?: string | undefined;
39723
40194
  pending_mutations?: ({
39724
40195
  message: string;
39725
40196
  created_at: string;
@@ -39786,6 +40257,7 @@ declare const batch: z.ZodObject<{
39786
40257
  variant: "removing" | "adding";
39787
40258
  acs_access_group_id: string;
39788
40259
  })[] | undefined;
40260
+ user_identity_id?: string | undefined;
39789
40261
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
39790
40262
  external_type_display_name?: string | undefined;
39791
40263
  access_schedule?: {
@@ -40197,7 +40669,6 @@ declare const batch: z.ZodObject<{
40197
40669
  warning_code: "pulled_backup_access_code";
40198
40670
  original_access_method_id?: string | undefined;
40199
40671
  })[];
40200
- mode: "code" | "card" | "mobile_key" | "cloud_key";
40201
40672
  pending_mutations: ({
40202
40673
  message: string;
40203
40674
  created_at: string;
@@ -40231,6 +40702,7 @@ declare const batch: z.ZodObject<{
40231
40702
  ends_at: string | null;
40232
40703
  };
40233
40704
  })[];
40705
+ mode: "code" | "card" | "mobile_key" | "cloud_key";
40234
40706
  access_method_id: string;
40235
40707
  issued_at: string | null;
40236
40708
  is_issued: boolean;
@@ -40284,18 +40756,6 @@ declare const batch: z.ZodObject<{
40284
40756
  warning_code: "device_does_not_support_access_codes";
40285
40757
  })[];
40286
40758
  space_ids: string[];
40287
- access_method_ids: string[];
40288
- access_grant_id: string;
40289
- user_identity_id: string;
40290
- location_ids: string[];
40291
- requested_access_methods: {
40292
- display_name: string;
40293
- created_at: string;
40294
- mode: "code" | "card" | "mobile_key" | "cloud_key";
40295
- created_access_method_ids: string[];
40296
- code?: string | undefined;
40297
- instant_key_max_use_count?: number | undefined;
40298
- }[];
40299
40759
  pending_mutations: ({
40300
40760
  message: string;
40301
40761
  created_at: string;
@@ -40321,6 +40781,18 @@ declare const batch: z.ZodObject<{
40321
40781
  };
40322
40782
  access_method_ids: string[];
40323
40783
  })[];
40784
+ access_method_ids: string[];
40785
+ access_grant_id: string;
40786
+ user_identity_id: string;
40787
+ location_ids: string[];
40788
+ requested_access_methods: {
40789
+ display_name: string;
40790
+ created_at: string;
40791
+ mode: "code" | "card" | "mobile_key" | "cloud_key";
40792
+ created_access_method_ids: string[];
40793
+ code?: string | undefined;
40794
+ instant_key_max_use_count?: number | undefined;
40795
+ }[];
40324
40796
  access_grant_key?: string | undefined;
40325
40797
  reservation_key?: string | undefined;
40326
40798
  client_session_token?: string | undefined;
@@ -42016,6 +42488,47 @@ declare const batch: z.ZodObject<{
42016
42488
  is_external_modification_allowed: boolean;
42017
42489
  is_one_time_use: boolean;
42018
42490
  is_offline_access_code: boolean;
42491
+ pending_mutations: ({
42492
+ message: string;
42493
+ created_at: string;
42494
+ mutation_code: "creating";
42495
+ } | {
42496
+ message: string;
42497
+ created_at: string;
42498
+ mutation_code: "deleting";
42499
+ } | {
42500
+ message: string;
42501
+ created_at: string;
42502
+ mutation_code: "updating_code";
42503
+ from: {
42504
+ code: string | null;
42505
+ };
42506
+ to: {
42507
+ code: string | null;
42508
+ };
42509
+ } | {
42510
+ message: string;
42511
+ created_at: string;
42512
+ mutation_code: "updating_name";
42513
+ from: {
42514
+ name: string | null;
42515
+ };
42516
+ to: {
42517
+ name: string | null;
42518
+ };
42519
+ } | {
42520
+ message: string;
42521
+ created_at: string;
42522
+ mutation_code: "updating_time_frame";
42523
+ from: {
42524
+ starts_at: string | null;
42525
+ ends_at: string | null;
42526
+ };
42527
+ to: {
42528
+ starts_at: string | null;
42529
+ ends_at: string | null;
42530
+ };
42531
+ })[];
42019
42532
  starts_at?: string | null | undefined;
42020
42533
  ends_at?: string | null | undefined;
42021
42534
  dormakaba_oracode_metadata?: {
@@ -43424,7 +43937,6 @@ declare const batch: z.ZodObject<{
43424
43937
  acs_system_id: string;
43425
43938
  last_successful_sync_at: string | null;
43426
43939
  email?: string | undefined;
43427
- user_identity_id?: string | undefined;
43428
43940
  pending_mutations?: ({
43429
43941
  message: string;
43430
43942
  created_at: string;
@@ -43491,6 +44003,7 @@ declare const batch: z.ZodObject<{
43491
44003
  variant: "removing" | "adding";
43492
44004
  acs_access_group_id: string;
43493
44005
  })[] | undefined;
44006
+ user_identity_id?: string | undefined;
43494
44007
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
43495
44008
  external_type_display_name?: string | undefined;
43496
44009
  access_schedule?: {
@@ -44597,7 +45110,6 @@ declare const batch: z.ZodObject<{
44597
45110
  acs_system_id: string;
44598
45111
  last_successful_sync_at: string | null;
44599
45112
  email?: string | undefined;
44600
- user_identity_id?: string | undefined;
44601
45113
  pending_mutations?: ({
44602
45114
  message: string;
44603
45115
  created_at: string;
@@ -44664,6 +45176,7 @@ declare const batch: z.ZodObject<{
44664
45176
  variant: "removing" | "adding";
44665
45177
  acs_access_group_id: string;
44666
45178
  })[] | undefined;
45179
+ user_identity_id?: string | undefined;
44667
45180
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
44668
45181
  external_type_display_name?: string | undefined;
44669
45182
  access_schedule?: {
@@ -45075,7 +45588,6 @@ declare const batch: z.ZodObject<{
45075
45588
  warning_code: "pulled_backup_access_code";
45076
45589
  original_access_method_id?: string | undefined;
45077
45590
  })[];
45078
- mode: "code" | "card" | "mobile_key" | "cloud_key";
45079
45591
  pending_mutations: ({
45080
45592
  message: string;
45081
45593
  created_at: string;
@@ -45109,6 +45621,7 @@ declare const batch: z.ZodObject<{
45109
45621
  ends_at: string | null;
45110
45622
  };
45111
45623
  })[];
45624
+ mode: "code" | "card" | "mobile_key" | "cloud_key";
45112
45625
  access_method_id: string;
45113
45626
  issued_at: string | null;
45114
45627
  is_issued: boolean;
@@ -45162,18 +45675,6 @@ declare const batch: z.ZodObject<{
45162
45675
  warning_code: "device_does_not_support_access_codes";
45163
45676
  })[];
45164
45677
  space_ids: string[];
45165
- access_method_ids: string[];
45166
- access_grant_id: string;
45167
- user_identity_id: string;
45168
- location_ids: string[];
45169
- requested_access_methods: {
45170
- display_name: string;
45171
- created_at: string;
45172
- mode: "code" | "card" | "mobile_key" | "cloud_key";
45173
- created_access_method_ids: string[];
45174
- code?: string | undefined;
45175
- instant_key_max_use_count?: number | undefined;
45176
- }[];
45177
45678
  pending_mutations: ({
45178
45679
  message: string;
45179
45680
  created_at: string;
@@ -45199,6 +45700,18 @@ declare const batch: z.ZodObject<{
45199
45700
  };
45200
45701
  access_method_ids: string[];
45201
45702
  })[];
45703
+ access_method_ids: string[];
45704
+ access_grant_id: string;
45705
+ user_identity_id: string;
45706
+ location_ids: string[];
45707
+ requested_access_methods: {
45708
+ display_name: string;
45709
+ created_at: string;
45710
+ mode: "code" | "card" | "mobile_key" | "cloud_key";
45711
+ created_access_method_ids: string[];
45712
+ code?: string | undefined;
45713
+ instant_key_max_use_count?: number | undefined;
45714
+ }[];
45202
45715
  access_grant_key?: string | undefined;
45203
45716
  reservation_key?: string | undefined;
45204
45717
  client_session_token?: string | undefined;
@@ -46894,6 +47407,47 @@ declare const batch: z.ZodObject<{
46894
47407
  is_external_modification_allowed: boolean;
46895
47408
  is_one_time_use: boolean;
46896
47409
  is_offline_access_code: boolean;
47410
+ pending_mutations: ({
47411
+ message: string;
47412
+ created_at: string;
47413
+ mutation_code: "creating";
47414
+ } | {
47415
+ message: string;
47416
+ created_at: string;
47417
+ mutation_code: "deleting";
47418
+ } | {
47419
+ message: string;
47420
+ created_at: string;
47421
+ mutation_code: "updating_code";
47422
+ from: {
47423
+ code: string | null;
47424
+ };
47425
+ to: {
47426
+ code: string | null;
47427
+ };
47428
+ } | {
47429
+ message: string;
47430
+ created_at: string;
47431
+ mutation_code: "updating_name";
47432
+ from: {
47433
+ name: string | null;
47434
+ };
47435
+ to: {
47436
+ name: string | null;
47437
+ };
47438
+ } | {
47439
+ message: string;
47440
+ created_at: string;
47441
+ mutation_code: "updating_time_frame";
47442
+ from: {
47443
+ starts_at: string | null;
47444
+ ends_at: string | null;
47445
+ };
47446
+ to: {
47447
+ starts_at: string | null;
47448
+ ends_at: string | null;
47449
+ };
47450
+ })[];
46897
47451
  starts_at?: string | null | undefined;
46898
47452
  ends_at?: string | null | undefined;
46899
47453
  dormakaba_oracode_metadata?: {
@@ -62955,6 +63509,200 @@ declare const _default: {
62955
63509
  nullable: boolean;
62956
63510
  type: string;
62957
63511
  };
63512
+ pending_mutations: {
63513
+ description: string;
63514
+ items: {
63515
+ discriminator: {
63516
+ propertyName: string;
63517
+ };
63518
+ oneOf: ({
63519
+ description: string;
63520
+ properties: {
63521
+ created_at: {
63522
+ description: string;
63523
+ format: string;
63524
+ type: string;
63525
+ };
63526
+ message: {
63527
+ description: string;
63528
+ type: string;
63529
+ };
63530
+ mutation_code: {
63531
+ description: string;
63532
+ enum: string[];
63533
+ type: string;
63534
+ };
63535
+ from?: never;
63536
+ to?: never;
63537
+ };
63538
+ required: string[];
63539
+ type: string;
63540
+ } | {
63541
+ description: string;
63542
+ properties: {
63543
+ created_at: {
63544
+ description: string;
63545
+ format: string;
63546
+ type: string;
63547
+ };
63548
+ from: {
63549
+ description: string;
63550
+ properties: {
63551
+ code: {
63552
+ description: string;
63553
+ nullable: boolean;
63554
+ type: string;
63555
+ };
63556
+ name?: never;
63557
+ ends_at?: never;
63558
+ starts_at?: never;
63559
+ };
63560
+ required: string[];
63561
+ type: string;
63562
+ };
63563
+ message: {
63564
+ description: string;
63565
+ type: string;
63566
+ };
63567
+ mutation_code: {
63568
+ description: string;
63569
+ enum: string[];
63570
+ type: string;
63571
+ };
63572
+ to: {
63573
+ description: string;
63574
+ properties: {
63575
+ code: {
63576
+ description: string;
63577
+ nullable: boolean;
63578
+ type: string;
63579
+ };
63580
+ name?: never;
63581
+ ends_at?: never;
63582
+ starts_at?: never;
63583
+ };
63584
+ required: string[];
63585
+ type: string;
63586
+ };
63587
+ };
63588
+ required: string[];
63589
+ type: string;
63590
+ } | {
63591
+ description: string;
63592
+ properties: {
63593
+ created_at: {
63594
+ description: string;
63595
+ format: string;
63596
+ type: string;
63597
+ };
63598
+ from: {
63599
+ description: string;
63600
+ properties: {
63601
+ name: {
63602
+ description: string;
63603
+ nullable: boolean;
63604
+ type: string;
63605
+ };
63606
+ code?: never;
63607
+ ends_at?: never;
63608
+ starts_at?: never;
63609
+ };
63610
+ required: string[];
63611
+ type: string;
63612
+ };
63613
+ message: {
63614
+ description: string;
63615
+ type: string;
63616
+ };
63617
+ mutation_code: {
63618
+ description: string;
63619
+ enum: string[];
63620
+ type: string;
63621
+ };
63622
+ to: {
63623
+ description: string;
63624
+ properties: {
63625
+ name: {
63626
+ description: string;
63627
+ nullable: boolean;
63628
+ type: string;
63629
+ };
63630
+ code?: never;
63631
+ ends_at?: never;
63632
+ starts_at?: never;
63633
+ };
63634
+ required: string[];
63635
+ type: string;
63636
+ };
63637
+ };
63638
+ required: string[];
63639
+ type: string;
63640
+ } | {
63641
+ description: string;
63642
+ properties: {
63643
+ created_at: {
63644
+ description: string;
63645
+ format: string;
63646
+ type: string;
63647
+ };
63648
+ from: {
63649
+ description: string;
63650
+ properties: {
63651
+ ends_at: {
63652
+ description: string;
63653
+ format: string;
63654
+ nullable: boolean;
63655
+ type: string;
63656
+ };
63657
+ starts_at: {
63658
+ description: string;
63659
+ format: string;
63660
+ nullable: boolean;
63661
+ type: string;
63662
+ };
63663
+ code?: never;
63664
+ name?: never;
63665
+ };
63666
+ required: string[];
63667
+ type: string;
63668
+ };
63669
+ message: {
63670
+ description: string;
63671
+ type: string;
63672
+ };
63673
+ mutation_code: {
63674
+ description: string;
63675
+ enum: string[];
63676
+ type: string;
63677
+ };
63678
+ to: {
63679
+ description: string;
63680
+ properties: {
63681
+ ends_at: {
63682
+ description: string;
63683
+ format: string;
63684
+ nullable: boolean;
63685
+ type: string;
63686
+ };
63687
+ starts_at: {
63688
+ description: string;
63689
+ format: string;
63690
+ nullable: boolean;
63691
+ type: string;
63692
+ };
63693
+ code?: never;
63694
+ name?: never;
63695
+ };
63696
+ required: string[];
63697
+ type: string;
63698
+ };
63699
+ };
63700
+ required: string[];
63701
+ type: string;
63702
+ })[];
63703
+ };
63704
+ type: string;
63705
+ };
62958
63706
  pulled_backup_access_code_id: {
62959
63707
  description: string;
62960
63708
  format: string;
@@ -137955,6 +138703,77 @@ type Routes = {
137955
138703
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
137956
138704
  is_overridable?: boolean | undefined;
137957
138705
  } | null) | undefined;
138706
+ /** Collection of pending mutations for the access code. Indicates changes that Seam is in the process of pushing to the device. */
138707
+ pending_mutations: ({
138708
+ /** Date and time at which the mutation was created. */
138709
+ created_at: string;
138710
+ /** Detailed description of the mutation. */
138711
+ message: string;
138712
+ /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
138713
+ mutation_code: 'creating';
138714
+ } | {
138715
+ /** Date and time at which the mutation was created. */
138716
+ created_at: string;
138717
+ /** Detailed description of the mutation. */
138718
+ message: string;
138719
+ /** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
138720
+ mutation_code: 'deleting';
138721
+ } | {
138722
+ /** Date and time at which the mutation was created. */
138723
+ created_at: string;
138724
+ /** Detailed description of the mutation. */
138725
+ message: string;
138726
+ /** Mutation code to indicate that Seam is in the process of pushing an updated PIN code to the device. */
138727
+ mutation_code: 'updating_code';
138728
+ /** Previous code configuration. */
138729
+ from: {
138730
+ /** Previous PIN code. */
138731
+ code: string | null;
138732
+ };
138733
+ /** New code configuration. */
138734
+ to: {
138735
+ /** New PIN code. */
138736
+ code: string | null;
138737
+ };
138738
+ } | {
138739
+ /** Date and time at which the mutation was created. */
138740
+ created_at: string;
138741
+ /** Detailed description of the mutation. */
138742
+ message: string;
138743
+ /** Mutation code to indicate that Seam is in the process of pushing an updated access code name to the device. */
138744
+ mutation_code: 'updating_name';
138745
+ /** Previous name configuration. */
138746
+ from: {
138747
+ /** Previous access code name. */
138748
+ name: string | null;
138749
+ };
138750
+ /** New name configuration. */
138751
+ to: {
138752
+ /** New access code name. */
138753
+ name: string | null;
138754
+ };
138755
+ } | {
138756
+ /** Date and time at which the mutation was created. */
138757
+ created_at: string;
138758
+ /** Detailed description of the mutation. */
138759
+ message: string;
138760
+ /** Mutation code to indicate that Seam is in the process of pushing updated access code time frame to the device. */
138761
+ mutation_code: 'updating_time_frame';
138762
+ /** Previous time frame configuration. */
138763
+ from: {
138764
+ /** Previous start time for the access code. */
138765
+ starts_at: string | null;
138766
+ /** Previous end time for the access code. */
138767
+ ends_at: string | null;
138768
+ };
138769
+ /** New time frame configuration. */
138770
+ to: {
138771
+ /** New start time for the access code. */
138772
+ starts_at: string | null;
138773
+ /** New end time for the access code. */
138774
+ ends_at: string | null;
138775
+ };
138776
+ })[];
137958
138777
  };
137959
138778
  };
137960
138779
  maxDuration: undefined;
@@ -138503,6 +139322,77 @@ type Routes = {
138503
139322
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
138504
139323
  is_overridable?: boolean | undefined;
138505
139324
  } | null) | undefined;
139325
+ /** Collection of pending mutations for the access code. Indicates changes that Seam is in the process of pushing to the device. */
139326
+ pending_mutations: ({
139327
+ /** Date and time at which the mutation was created. */
139328
+ created_at: string;
139329
+ /** Detailed description of the mutation. */
139330
+ message: string;
139331
+ /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
139332
+ mutation_code: 'creating';
139333
+ } | {
139334
+ /** Date and time at which the mutation was created. */
139335
+ created_at: string;
139336
+ /** Detailed description of the mutation. */
139337
+ message: string;
139338
+ /** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
139339
+ mutation_code: 'deleting';
139340
+ } | {
139341
+ /** Date and time at which the mutation was created. */
139342
+ created_at: string;
139343
+ /** Detailed description of the mutation. */
139344
+ message: string;
139345
+ /** Mutation code to indicate that Seam is in the process of pushing an updated PIN code to the device. */
139346
+ mutation_code: 'updating_code';
139347
+ /** Previous code configuration. */
139348
+ from: {
139349
+ /** Previous PIN code. */
139350
+ code: string | null;
139351
+ };
139352
+ /** New code configuration. */
139353
+ to: {
139354
+ /** New PIN code. */
139355
+ code: string | null;
139356
+ };
139357
+ } | {
139358
+ /** Date and time at which the mutation was created. */
139359
+ created_at: string;
139360
+ /** Detailed description of the mutation. */
139361
+ message: string;
139362
+ /** Mutation code to indicate that Seam is in the process of pushing an updated access code name to the device. */
139363
+ mutation_code: 'updating_name';
139364
+ /** Previous name configuration. */
139365
+ from: {
139366
+ /** Previous access code name. */
139367
+ name: string | null;
139368
+ };
139369
+ /** New name configuration. */
139370
+ to: {
139371
+ /** New access code name. */
139372
+ name: string | null;
139373
+ };
139374
+ } | {
139375
+ /** Date and time at which the mutation was created. */
139376
+ created_at: string;
139377
+ /** Detailed description of the mutation. */
139378
+ message: string;
139379
+ /** Mutation code to indicate that Seam is in the process of pushing updated access code time frame to the device. */
139380
+ mutation_code: 'updating_time_frame';
139381
+ /** Previous time frame configuration. */
139382
+ from: {
139383
+ /** Previous start time for the access code. */
139384
+ starts_at: string | null;
139385
+ /** Previous end time for the access code. */
139386
+ ends_at: string | null;
139387
+ };
139388
+ /** New time frame configuration. */
139389
+ to: {
139390
+ /** New start time for the access code. */
139391
+ starts_at: string | null;
139392
+ /** New end time for the access code. */
139393
+ ends_at: string | null;
139394
+ };
139395
+ })[];
138506
139396
  }[];
138507
139397
  };
138508
139398
  maxDuration: undefined;
@@ -140399,6 +141289,77 @@ type Routes = {
140399
141289
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
140400
141290
  is_overridable?: boolean | undefined;
140401
141291
  } | null) | undefined;
141292
+ /** Collection of pending mutations for the access code. Indicates changes that Seam is in the process of pushing to the device. */
141293
+ pending_mutations: ({
141294
+ /** Date and time at which the mutation was created. */
141295
+ created_at: string;
141296
+ /** Detailed description of the mutation. */
141297
+ message: string;
141298
+ /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
141299
+ mutation_code: 'creating';
141300
+ } | {
141301
+ /** Date and time at which the mutation was created. */
141302
+ created_at: string;
141303
+ /** Detailed description of the mutation. */
141304
+ message: string;
141305
+ /** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
141306
+ mutation_code: 'deleting';
141307
+ } | {
141308
+ /** Date and time at which the mutation was created. */
141309
+ created_at: string;
141310
+ /** Detailed description of the mutation. */
141311
+ message: string;
141312
+ /** Mutation code to indicate that Seam is in the process of pushing an updated PIN code to the device. */
141313
+ mutation_code: 'updating_code';
141314
+ /** Previous code configuration. */
141315
+ from: {
141316
+ /** Previous PIN code. */
141317
+ code: string | null;
141318
+ };
141319
+ /** New code configuration. */
141320
+ to: {
141321
+ /** New PIN code. */
141322
+ code: string | null;
141323
+ };
141324
+ } | {
141325
+ /** Date and time at which the mutation was created. */
141326
+ created_at: string;
141327
+ /** Detailed description of the mutation. */
141328
+ message: string;
141329
+ /** Mutation code to indicate that Seam is in the process of pushing an updated access code name to the device. */
141330
+ mutation_code: 'updating_name';
141331
+ /** Previous name configuration. */
141332
+ from: {
141333
+ /** Previous access code name. */
141334
+ name: string | null;
141335
+ };
141336
+ /** New name configuration. */
141337
+ to: {
141338
+ /** New access code name. */
141339
+ name: string | null;
141340
+ };
141341
+ } | {
141342
+ /** Date and time at which the mutation was created. */
141343
+ created_at: string;
141344
+ /** Detailed description of the mutation. */
141345
+ message: string;
141346
+ /** Mutation code to indicate that Seam is in the process of pushing updated access code time frame to the device. */
141347
+ mutation_code: 'updating_time_frame';
141348
+ /** Previous time frame configuration. */
141349
+ from: {
141350
+ /** Previous start time for the access code. */
141351
+ starts_at: string | null;
141352
+ /** Previous end time for the access code. */
141353
+ ends_at: string | null;
141354
+ };
141355
+ /** New time frame configuration. */
141356
+ to: {
141357
+ /** New start time for the access code. */
141358
+ starts_at: string | null;
141359
+ /** New end time for the access code. */
141360
+ ends_at: string | null;
141361
+ };
141362
+ })[];
140402
141363
  };
140403
141364
  };
140404
141365
  maxDuration: undefined;
@@ -140995,6 +141956,77 @@ type Routes = {
140995
141956
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
140996
141957
  is_overridable?: boolean | undefined;
140997
141958
  } | null) | undefined;
141959
+ /** Collection of pending mutations for the access code. Indicates changes that Seam is in the process of pushing to the device. */
141960
+ pending_mutations: ({
141961
+ /** Date and time at which the mutation was created. */
141962
+ created_at: string;
141963
+ /** Detailed description of the mutation. */
141964
+ message: string;
141965
+ /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
141966
+ mutation_code: 'creating';
141967
+ } | {
141968
+ /** Date and time at which the mutation was created. */
141969
+ created_at: string;
141970
+ /** Detailed description of the mutation. */
141971
+ message: string;
141972
+ /** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
141973
+ mutation_code: 'deleting';
141974
+ } | {
141975
+ /** Date and time at which the mutation was created. */
141976
+ created_at: string;
141977
+ /** Detailed description of the mutation. */
141978
+ message: string;
141979
+ /** Mutation code to indicate that Seam is in the process of pushing an updated PIN code to the device. */
141980
+ mutation_code: 'updating_code';
141981
+ /** Previous code configuration. */
141982
+ from: {
141983
+ /** Previous PIN code. */
141984
+ code: string | null;
141985
+ };
141986
+ /** New code configuration. */
141987
+ to: {
141988
+ /** New PIN code. */
141989
+ code: string | null;
141990
+ };
141991
+ } | {
141992
+ /** Date and time at which the mutation was created. */
141993
+ created_at: string;
141994
+ /** Detailed description of the mutation. */
141995
+ message: string;
141996
+ /** Mutation code to indicate that Seam is in the process of pushing an updated access code name to the device. */
141997
+ mutation_code: 'updating_name';
141998
+ /** Previous name configuration. */
141999
+ from: {
142000
+ /** Previous access code name. */
142001
+ name: string | null;
142002
+ };
142003
+ /** New name configuration. */
142004
+ to: {
142005
+ /** New access code name. */
142006
+ name: string | null;
142007
+ };
142008
+ } | {
142009
+ /** Date and time at which the mutation was created. */
142010
+ created_at: string;
142011
+ /** Detailed description of the mutation. */
142012
+ message: string;
142013
+ /** Mutation code to indicate that Seam is in the process of pushing updated access code time frame to the device. */
142014
+ mutation_code: 'updating_time_frame';
142015
+ /** Previous time frame configuration. */
142016
+ from: {
142017
+ /** Previous start time for the access code. */
142018
+ starts_at: string | null;
142019
+ /** Previous end time for the access code. */
142020
+ ends_at: string | null;
142021
+ };
142022
+ /** New time frame configuration. */
142023
+ to: {
142024
+ /** New start time for the access code. */
142025
+ starts_at: string | null;
142026
+ /** New end time for the access code. */
142027
+ ends_at: string | null;
142028
+ };
142029
+ })[];
140998
142030
  }[];
140999
142031
  /** Information about the current page of results. */
141000
142032
  pagination: {
@@ -141534,6 +142566,77 @@ type Routes = {
141534
142566
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
141535
142567
  is_overridable?: boolean | undefined;
141536
142568
  } | null) | undefined;
142569
+ /** Collection of pending mutations for the access code. Indicates changes that Seam is in the process of pushing to the device. */
142570
+ pending_mutations: ({
142571
+ /** Date and time at which the mutation was created. */
142572
+ created_at: string;
142573
+ /** Detailed description of the mutation. */
142574
+ message: string;
142575
+ /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
142576
+ mutation_code: 'creating';
142577
+ } | {
142578
+ /** Date and time at which the mutation was created. */
142579
+ created_at: string;
142580
+ /** Detailed description of the mutation. */
142581
+ message: string;
142582
+ /** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
142583
+ mutation_code: 'deleting';
142584
+ } | {
142585
+ /** Date and time at which the mutation was created. */
142586
+ created_at: string;
142587
+ /** Detailed description of the mutation. */
142588
+ message: string;
142589
+ /** Mutation code to indicate that Seam is in the process of pushing an updated PIN code to the device. */
142590
+ mutation_code: 'updating_code';
142591
+ /** Previous code configuration. */
142592
+ from: {
142593
+ /** Previous PIN code. */
142594
+ code: string | null;
142595
+ };
142596
+ /** New code configuration. */
142597
+ to: {
142598
+ /** New PIN code. */
142599
+ code: string | null;
142600
+ };
142601
+ } | {
142602
+ /** Date and time at which the mutation was created. */
142603
+ created_at: string;
142604
+ /** Detailed description of the mutation. */
142605
+ message: string;
142606
+ /** Mutation code to indicate that Seam is in the process of pushing an updated access code name to the device. */
142607
+ mutation_code: 'updating_name';
142608
+ /** Previous name configuration. */
142609
+ from: {
142610
+ /** Previous access code name. */
142611
+ name: string | null;
142612
+ };
142613
+ /** New name configuration. */
142614
+ to: {
142615
+ /** New access code name. */
142616
+ name: string | null;
142617
+ };
142618
+ } | {
142619
+ /** Date and time at which the mutation was created. */
142620
+ created_at: string;
142621
+ /** Detailed description of the mutation. */
142622
+ message: string;
142623
+ /** Mutation code to indicate that Seam is in the process of pushing updated access code time frame to the device. */
142624
+ mutation_code: 'updating_time_frame';
142625
+ /** Previous time frame configuration. */
142626
+ from: {
142627
+ /** Previous start time for the access code. */
142628
+ starts_at: string | null;
142629
+ /** Previous end time for the access code. */
142630
+ ends_at: string | null;
142631
+ };
142632
+ /** New time frame configuration. */
142633
+ to: {
142634
+ /** New start time for the access code. */
142635
+ starts_at: string | null;
142636
+ /** New end time for the access code. */
142637
+ ends_at: string | null;
142638
+ };
142639
+ })[];
141537
142640
  };
141538
142641
  /** Represents a smart lock [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).
141539
142642
 
@@ -142050,6 +143153,77 @@ type Routes = {
142050
143153
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
142051
143154
  is_overridable?: boolean | undefined;
142052
143155
  } | null) | undefined;
143156
+ /** Collection of pending mutations for the access code. Indicates changes that Seam is in the process of pushing to the device. */
143157
+ pending_mutations: ({
143158
+ /** Date and time at which the mutation was created. */
143159
+ created_at: string;
143160
+ /** Detailed description of the mutation. */
143161
+ message: string;
143162
+ /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
143163
+ mutation_code: 'creating';
143164
+ } | {
143165
+ /** Date and time at which the mutation was created. */
143166
+ created_at: string;
143167
+ /** Detailed description of the mutation. */
143168
+ message: string;
143169
+ /** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
143170
+ mutation_code: 'deleting';
143171
+ } | {
143172
+ /** Date and time at which the mutation was created. */
143173
+ created_at: string;
143174
+ /** Detailed description of the mutation. */
143175
+ message: string;
143176
+ /** Mutation code to indicate that Seam is in the process of pushing an updated PIN code to the device. */
143177
+ mutation_code: 'updating_code';
143178
+ /** Previous code configuration. */
143179
+ from: {
143180
+ /** Previous PIN code. */
143181
+ code: string | null;
143182
+ };
143183
+ /** New code configuration. */
143184
+ to: {
143185
+ /** New PIN code. */
143186
+ code: string | null;
143187
+ };
143188
+ } | {
143189
+ /** Date and time at which the mutation was created. */
143190
+ created_at: string;
143191
+ /** Detailed description of the mutation. */
143192
+ message: string;
143193
+ /** Mutation code to indicate that Seam is in the process of pushing an updated access code name to the device. */
143194
+ mutation_code: 'updating_name';
143195
+ /** Previous name configuration. */
143196
+ from: {
143197
+ /** Previous access code name. */
143198
+ name: string | null;
143199
+ };
143200
+ /** New name configuration. */
143201
+ to: {
143202
+ /** New access code name. */
143203
+ name: string | null;
143204
+ };
143205
+ } | {
143206
+ /** Date and time at which the mutation was created. */
143207
+ created_at: string;
143208
+ /** Detailed description of the mutation. */
143209
+ message: string;
143210
+ /** Mutation code to indicate that Seam is in the process of pushing updated access code time frame to the device. */
143211
+ mutation_code: 'updating_time_frame';
143212
+ /** Previous time frame configuration. */
143213
+ from: {
143214
+ /** Previous start time for the access code. */
143215
+ starts_at: string | null;
143216
+ /** Previous end time for the access code. */
143217
+ ends_at: string | null;
143218
+ };
143219
+ /** New time frame configuration. */
143220
+ to: {
143221
+ /** New start time for the access code. */
143222
+ starts_at: string | null;
143223
+ /** New end time for the access code. */
143224
+ ends_at: string | null;
143225
+ };
143226
+ })[];
142053
143227
  };
142054
143228
  };
142055
143229
  maxDuration: undefined;
@@ -235728,6 +236902,77 @@ type Routes = {
235728
236902
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
235729
236903
  is_overridable?: boolean | undefined;
235730
236904
  } | null) | undefined;
236905
+ /** Collection of pending mutations for the access code. Indicates changes that Seam is in the process of pushing to the device. */
236906
+ pending_mutations: ({
236907
+ /** Date and time at which the mutation was created. */
236908
+ created_at: string;
236909
+ /** Detailed description of the mutation. */
236910
+ message: string;
236911
+ /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
236912
+ mutation_code: 'creating';
236913
+ } | {
236914
+ /** Date and time at which the mutation was created. */
236915
+ created_at: string;
236916
+ /** Detailed description of the mutation. */
236917
+ message: string;
236918
+ /** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
236919
+ mutation_code: 'deleting';
236920
+ } | {
236921
+ /** Date and time at which the mutation was created. */
236922
+ created_at: string;
236923
+ /** Detailed description of the mutation. */
236924
+ message: string;
236925
+ /** Mutation code to indicate that Seam is in the process of pushing an updated PIN code to the device. */
236926
+ mutation_code: 'updating_code';
236927
+ /** Previous code configuration. */
236928
+ from: {
236929
+ /** Previous PIN code. */
236930
+ code: string | null;
236931
+ };
236932
+ /** New code configuration. */
236933
+ to: {
236934
+ /** New PIN code. */
236935
+ code: string | null;
236936
+ };
236937
+ } | {
236938
+ /** Date and time at which the mutation was created. */
236939
+ created_at: string;
236940
+ /** Detailed description of the mutation. */
236941
+ message: string;
236942
+ /** Mutation code to indicate that Seam is in the process of pushing an updated access code name to the device. */
236943
+ mutation_code: 'updating_name';
236944
+ /** Previous name configuration. */
236945
+ from: {
236946
+ /** Previous access code name. */
236947
+ name: string | null;
236948
+ };
236949
+ /** New name configuration. */
236950
+ to: {
236951
+ /** New access code name. */
236952
+ name: string | null;
236953
+ };
236954
+ } | {
236955
+ /** Date and time at which the mutation was created. */
236956
+ created_at: string;
236957
+ /** Detailed description of the mutation. */
236958
+ message: string;
236959
+ /** Mutation code to indicate that Seam is in the process of pushing updated access code time frame to the device. */
236960
+ mutation_code: 'updating_time_frame';
236961
+ /** Previous time frame configuration. */
236962
+ from: {
236963
+ /** Previous start time for the access code. */
236964
+ starts_at: string | null;
236965
+ /** Previous end time for the access code. */
236966
+ ends_at: string | null;
236967
+ };
236968
+ /** New time frame configuration. */
236969
+ to: {
236970
+ /** New start time for the access code. */
236971
+ starts_at: string | null;
236972
+ /** New end time for the access code. */
236973
+ ends_at: string | null;
236974
+ };
236975
+ })[];
235731
236976
  }[] | undefined;
235732
236977
  thermostat_daily_programs?: {
235733
236978
  /** ID of the thermostat daily program. */