@seamapi/types 1.738.0 → 1.740.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 +1391 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2600 -532
- package/dist/index.cjs +1391 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +62 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.d.ts +53 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js +19 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +62 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +53 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +19 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +172 -0
- package/lib/seam/connect/openapi.d.ts +1664 -241
- package/lib/seam/connect/openapi.js +1362 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +349 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.ts +26 -0
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +26 -0
- package/src/lib/seam/connect/openapi.ts +1386 -0
- package/src/lib/seam/connect/route-types.ts +429 -0
|
@@ -12356,6 +12356,17 @@ export type Routes = {
|
|
|
12356
12356
|
/** New entrance ID. */
|
|
12357
12357
|
acs_entrance_id: string | null;
|
|
12358
12358
|
};
|
|
12359
|
+
} | {
|
|
12360
|
+
/** Date and time at which the mutation was created. */
|
|
12361
|
+
created_at: string;
|
|
12362
|
+
/** Detailed description of the mutation. */
|
|
12363
|
+
message: string;
|
|
12364
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
12365
|
+
mutation_code: 'deferring_user_membership_update';
|
|
12366
|
+
/** ID of the user involved in the scheduled change. */
|
|
12367
|
+
acs_user_id: string;
|
|
12368
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
12369
|
+
variant: 'adding' | 'removing';
|
|
12359
12370
|
})[];
|
|
12360
12371
|
is_managed: true;
|
|
12361
12372
|
}[] | undefined;
|
|
@@ -17059,6 +17070,17 @@ export type Routes = {
|
|
|
17059
17070
|
/** New entrance ID. */
|
|
17060
17071
|
acs_entrance_id: string | null;
|
|
17061
17072
|
};
|
|
17073
|
+
} | {
|
|
17074
|
+
/** Date and time at which the mutation was created. */
|
|
17075
|
+
created_at: string;
|
|
17076
|
+
/** Detailed description of the mutation. */
|
|
17077
|
+
message: string;
|
|
17078
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
17079
|
+
mutation_code: 'deferring_user_membership_update';
|
|
17080
|
+
/** ID of the user involved in the scheduled change. */
|
|
17081
|
+
acs_user_id: string;
|
|
17082
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
17083
|
+
variant: 'adding' | 'removing';
|
|
17062
17084
|
})[];
|
|
17063
17085
|
is_managed: true;
|
|
17064
17086
|
};
|
|
@@ -17216,6 +17238,17 @@ export type Routes = {
|
|
|
17216
17238
|
/** New entrance ID. */
|
|
17217
17239
|
acs_entrance_id: string | null;
|
|
17218
17240
|
};
|
|
17241
|
+
} | {
|
|
17242
|
+
/** Date and time at which the mutation was created. */
|
|
17243
|
+
created_at: string;
|
|
17244
|
+
/** Detailed description of the mutation. */
|
|
17245
|
+
message: string;
|
|
17246
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
17247
|
+
mutation_code: 'deferring_user_membership_update';
|
|
17248
|
+
/** ID of the user involved in the scheduled change. */
|
|
17249
|
+
acs_user_id: string;
|
|
17250
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
17251
|
+
variant: 'adding' | 'removing';
|
|
17219
17252
|
})[];
|
|
17220
17253
|
is_managed: true;
|
|
17221
17254
|
}[];
|
|
@@ -17575,6 +17608,17 @@ export type Routes = {
|
|
|
17575
17608
|
/** New access group ID. */
|
|
17576
17609
|
acs_access_group_id: string | null;
|
|
17577
17610
|
};
|
|
17611
|
+
} | {
|
|
17612
|
+
/** Date and time at which the mutation was created. */
|
|
17613
|
+
created_at: string;
|
|
17614
|
+
/** Detailed description of the mutation. */
|
|
17615
|
+
message: string;
|
|
17616
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
17617
|
+
mutation_code: 'deferring_group_membership_update';
|
|
17618
|
+
/** ID of the access group involved in the scheduled change. */
|
|
17619
|
+
acs_access_group_id: string;
|
|
17620
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
17621
|
+
variant: 'adding' | 'removing';
|
|
17578
17622
|
})[] | undefined;
|
|
17579
17623
|
/** The last time an internal sync job completed for this access system user. */
|
|
17580
17624
|
last_successful_sync_at: string | null;
|
|
@@ -17766,6 +17810,17 @@ export type Routes = {
|
|
|
17766
17810
|
/** New entrance ID. */
|
|
17767
17811
|
acs_entrance_id: string | null;
|
|
17768
17812
|
};
|
|
17813
|
+
} | {
|
|
17814
|
+
/** Date and time at which the mutation was created. */
|
|
17815
|
+
created_at: string;
|
|
17816
|
+
/** Detailed description of the mutation. */
|
|
17817
|
+
message: string;
|
|
17818
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
17819
|
+
mutation_code: 'deferring_user_membership_update';
|
|
17820
|
+
/** ID of the user involved in the scheduled change. */
|
|
17821
|
+
acs_user_id: string;
|
|
17822
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
17823
|
+
variant: 'adding' | 'removing';
|
|
17769
17824
|
})[];
|
|
17770
17825
|
is_managed: false;
|
|
17771
17826
|
};
|
|
@@ -17921,6 +17976,17 @@ export type Routes = {
|
|
|
17921
17976
|
/** New entrance ID. */
|
|
17922
17977
|
acs_entrance_id: string | null;
|
|
17923
17978
|
};
|
|
17979
|
+
} | {
|
|
17980
|
+
/** Date and time at which the mutation was created. */
|
|
17981
|
+
created_at: string;
|
|
17982
|
+
/** Detailed description of the mutation. */
|
|
17983
|
+
message: string;
|
|
17984
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
17985
|
+
mutation_code: 'deferring_user_membership_update';
|
|
17986
|
+
/** ID of the user involved in the scheduled change. */
|
|
17987
|
+
acs_user_id: string;
|
|
17988
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
17989
|
+
variant: 'adding' | 'removing';
|
|
17924
17990
|
})[];
|
|
17925
17991
|
is_managed: false;
|
|
17926
17992
|
}[];
|
|
@@ -23506,6 +23572,17 @@ export type Routes = {
|
|
|
23506
23572
|
/** New access group ID. */
|
|
23507
23573
|
acs_access_group_id: string | null;
|
|
23508
23574
|
};
|
|
23575
|
+
} | {
|
|
23576
|
+
/** Date and time at which the mutation was created. */
|
|
23577
|
+
created_at: string;
|
|
23578
|
+
/** Detailed description of the mutation. */
|
|
23579
|
+
message: string;
|
|
23580
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
23581
|
+
mutation_code: 'deferring_group_membership_update';
|
|
23582
|
+
/** ID of the access group involved in the scheduled change. */
|
|
23583
|
+
acs_access_group_id: string;
|
|
23584
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
23585
|
+
variant: 'adding' | 'removing';
|
|
23509
23586
|
})[] | undefined;
|
|
23510
23587
|
/** The last time an internal sync job completed for this access system user. */
|
|
23511
23588
|
last_successful_sync_at: string | null;
|
|
@@ -23770,6 +23847,17 @@ export type Routes = {
|
|
|
23770
23847
|
/** New access group ID. */
|
|
23771
23848
|
acs_access_group_id: string | null;
|
|
23772
23849
|
};
|
|
23850
|
+
} | {
|
|
23851
|
+
/** Date and time at which the mutation was created. */
|
|
23852
|
+
created_at: string;
|
|
23853
|
+
/** Detailed description of the mutation. */
|
|
23854
|
+
message: string;
|
|
23855
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
23856
|
+
mutation_code: 'deferring_group_membership_update';
|
|
23857
|
+
/** ID of the access group involved in the scheduled change. */
|
|
23858
|
+
acs_access_group_id: string;
|
|
23859
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
23860
|
+
variant: 'adding' | 'removing';
|
|
23773
23861
|
})[] | undefined;
|
|
23774
23862
|
/** The last time an internal sync job completed for this access system user. */
|
|
23775
23863
|
last_successful_sync_at: string | null;
|
|
@@ -24022,6 +24110,17 @@ export type Routes = {
|
|
|
24022
24110
|
/** New access group ID. */
|
|
24023
24111
|
acs_access_group_id: string | null;
|
|
24024
24112
|
};
|
|
24113
|
+
} | {
|
|
24114
|
+
/** Date and time at which the mutation was created. */
|
|
24115
|
+
created_at: string;
|
|
24116
|
+
/** Detailed description of the mutation. */
|
|
24117
|
+
message: string;
|
|
24118
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
24119
|
+
mutation_code: 'deferring_group_membership_update';
|
|
24120
|
+
/** ID of the access group involved in the scheduled change. */
|
|
24121
|
+
acs_access_group_id: string;
|
|
24122
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
24123
|
+
variant: 'adding' | 'removing';
|
|
24025
24124
|
})[] | undefined;
|
|
24026
24125
|
/** The last time an internal sync job completed for this access system user. */
|
|
24027
24126
|
last_successful_sync_at: string | null;
|
|
@@ -24468,6 +24567,17 @@ export type Routes = {
|
|
|
24468
24567
|
/** New access group ID. */
|
|
24469
24568
|
acs_access_group_id: string | null;
|
|
24470
24569
|
};
|
|
24570
|
+
} | {
|
|
24571
|
+
/** Date and time at which the mutation was created. */
|
|
24572
|
+
created_at: string;
|
|
24573
|
+
/** Detailed description of the mutation. */
|
|
24574
|
+
message: string;
|
|
24575
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
24576
|
+
mutation_code: 'deferring_group_membership_update';
|
|
24577
|
+
/** ID of the access group involved in the scheduled change. */
|
|
24578
|
+
acs_access_group_id: string;
|
|
24579
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
24580
|
+
variant: 'adding' | 'removing';
|
|
24471
24581
|
})[] | undefined;
|
|
24472
24582
|
/** The last time an internal sync job completed for this access system user. */
|
|
24473
24583
|
last_successful_sync_at: string | null;
|
|
@@ -24716,6 +24826,17 @@ export type Routes = {
|
|
|
24716
24826
|
/** New access group ID. */
|
|
24717
24827
|
acs_access_group_id: string | null;
|
|
24718
24828
|
};
|
|
24829
|
+
} | {
|
|
24830
|
+
/** Date and time at which the mutation was created. */
|
|
24831
|
+
created_at: string;
|
|
24832
|
+
/** Detailed description of the mutation. */
|
|
24833
|
+
message: string;
|
|
24834
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
24835
|
+
mutation_code: 'deferring_group_membership_update';
|
|
24836
|
+
/** ID of the access group involved in the scheduled change. */
|
|
24837
|
+
acs_access_group_id: string;
|
|
24838
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
24839
|
+
variant: 'adding' | 'removing';
|
|
24719
24840
|
})[] | undefined;
|
|
24720
24841
|
/** The last time an internal sync job completed for this access system user. */
|
|
24721
24842
|
last_successful_sync_at: string | null;
|
|
@@ -58370,6 +58491,179 @@ export type Routes = {
|
|
|
58370
58491
|
};
|
|
58371
58492
|
maxDuration: undefined;
|
|
58372
58493
|
};
|
|
58494
|
+
'/seam/customer/v1/customers/automations/get': {
|
|
58495
|
+
route: '/seam/customer/v1/customers/automations/get';
|
|
58496
|
+
method: 'GET' | 'POST';
|
|
58497
|
+
queryParams: {};
|
|
58498
|
+
jsonBody: {};
|
|
58499
|
+
commonParams: {
|
|
58500
|
+
/** Key of the customer. */
|
|
58501
|
+
customer_key: string;
|
|
58502
|
+
};
|
|
58503
|
+
formData: {};
|
|
58504
|
+
jsonResponse: {
|
|
58505
|
+
automation: {
|
|
58506
|
+
access_rules?: {
|
|
58507
|
+
reservation_created?: {
|
|
58508
|
+
rule: 'reservation_created';
|
|
58509
|
+
config: {
|
|
58510
|
+
access_methods: ('card' | 'mobile_key' | 'code')[];
|
|
58511
|
+
method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
|
|
58512
|
+
card_count_on_reservation_create?: number | undefined;
|
|
58513
|
+
code_count_on_reservation_create?: number | undefined;
|
|
58514
|
+
instant_key_max_use_count?: number | undefined;
|
|
58515
|
+
};
|
|
58516
|
+
} | undefined;
|
|
58517
|
+
reservation_time_updated?: {
|
|
58518
|
+
rule: 'reservation_time_updated';
|
|
58519
|
+
config?: {} | undefined;
|
|
58520
|
+
} | undefined;
|
|
58521
|
+
reservation_spaces_updated?: {
|
|
58522
|
+
rule: 'reservation_spaces_updated';
|
|
58523
|
+
config?: {} | undefined;
|
|
58524
|
+
} | undefined;
|
|
58525
|
+
reservation_deleted?: {
|
|
58526
|
+
rule: 'reservation_deleted';
|
|
58527
|
+
config?: {} | undefined;
|
|
58528
|
+
} | undefined;
|
|
58529
|
+
space_name_updated?: {
|
|
58530
|
+
rule: 'space_name_updated';
|
|
58531
|
+
config?: {} | undefined;
|
|
58532
|
+
} | undefined;
|
|
58533
|
+
user_identity_name_updated?: {
|
|
58534
|
+
rule: 'user_identity_name_updated';
|
|
58535
|
+
config?: {} | undefined;
|
|
58536
|
+
} | undefined;
|
|
58537
|
+
staff_member_name_updated?: {
|
|
58538
|
+
rule: 'staff_member_name_updated';
|
|
58539
|
+
config?: {} | undefined;
|
|
58540
|
+
} | undefined;
|
|
58541
|
+
staff_member_created?: {
|
|
58542
|
+
rule: 'staff_member_created';
|
|
58543
|
+
config: {};
|
|
58544
|
+
} | undefined;
|
|
58545
|
+
} | undefined;
|
|
58546
|
+
climate_rules?: {
|
|
58547
|
+
rules: {
|
|
58548
|
+
reservation_created?: {
|
|
58549
|
+
occupied_preset_key?: string | undefined;
|
|
58550
|
+
automated_occupied_preset?: {
|
|
58551
|
+
mode: 'heat' | 'cool' | 'auto';
|
|
58552
|
+
heating_set_point_celsius?: number | undefined;
|
|
58553
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
58554
|
+
cooling_set_point_celsius?: number | undefined;
|
|
58555
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
58556
|
+
fan_mode: 'on' | 'auto' | 'circulate';
|
|
58557
|
+
is_override_allowed: boolean;
|
|
58558
|
+
max_override_period_minutes: number;
|
|
58559
|
+
} | undefined;
|
|
58560
|
+
unoccupied_preset_key?: string | undefined;
|
|
58561
|
+
automated_unoccupied_preset?: {
|
|
58562
|
+
mode: 'heat' | 'cool' | 'auto';
|
|
58563
|
+
heating_set_point_celsius?: number | undefined;
|
|
58564
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
58565
|
+
cooling_set_point_celsius?: number | undefined;
|
|
58566
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
58567
|
+
fan_mode: 'on' | 'auto' | 'circulate';
|
|
58568
|
+
is_override_allowed: boolean;
|
|
58569
|
+
max_override_period_minutes: number;
|
|
58570
|
+
} | undefined;
|
|
58571
|
+
precondition_minutes_before_reservation?: number | undefined;
|
|
58572
|
+
} | undefined;
|
|
58573
|
+
reservation_time_updated?: {} | undefined;
|
|
58574
|
+
reservation_deleted?: {} | undefined;
|
|
58575
|
+
};
|
|
58576
|
+
} | undefined;
|
|
58577
|
+
};
|
|
58578
|
+
};
|
|
58579
|
+
maxDuration: undefined;
|
|
58580
|
+
};
|
|
58581
|
+
'/seam/customer/v1/customers/automations/update': {
|
|
58582
|
+
route: '/seam/customer/v1/customers/automations/update';
|
|
58583
|
+
method: 'PATCH' | 'POST';
|
|
58584
|
+
queryParams: {};
|
|
58585
|
+
jsonBody: {
|
|
58586
|
+
/** Key of the customer. */
|
|
58587
|
+
customer_key: string;
|
|
58588
|
+
/** Access automation rules configuration. */
|
|
58589
|
+
access_rules?: {
|
|
58590
|
+
reservation_created?: {
|
|
58591
|
+
rule: 'reservation_created';
|
|
58592
|
+
config: {
|
|
58593
|
+
access_methods: ('card' | 'mobile_key' | 'code')[];
|
|
58594
|
+
method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
|
|
58595
|
+
card_count_on_reservation_create?: number | undefined;
|
|
58596
|
+
code_count_on_reservation_create?: number | undefined;
|
|
58597
|
+
instant_key_max_use_count?: number | undefined;
|
|
58598
|
+
};
|
|
58599
|
+
} | undefined;
|
|
58600
|
+
reservation_time_updated?: {
|
|
58601
|
+
rule: 'reservation_time_updated';
|
|
58602
|
+
config?: {} | undefined;
|
|
58603
|
+
} | undefined;
|
|
58604
|
+
reservation_spaces_updated?: {
|
|
58605
|
+
rule: 'reservation_spaces_updated';
|
|
58606
|
+
config?: {} | undefined;
|
|
58607
|
+
} | undefined;
|
|
58608
|
+
reservation_deleted?: {
|
|
58609
|
+
rule: 'reservation_deleted';
|
|
58610
|
+
config?: {} | undefined;
|
|
58611
|
+
} | undefined;
|
|
58612
|
+
space_name_updated?: {
|
|
58613
|
+
rule: 'space_name_updated';
|
|
58614
|
+
config?: {} | undefined;
|
|
58615
|
+
} | undefined;
|
|
58616
|
+
user_identity_name_updated?: {
|
|
58617
|
+
rule: 'user_identity_name_updated';
|
|
58618
|
+
config?: {} | undefined;
|
|
58619
|
+
} | undefined;
|
|
58620
|
+
staff_member_name_updated?: {
|
|
58621
|
+
rule: 'staff_member_name_updated';
|
|
58622
|
+
config?: {} | undefined;
|
|
58623
|
+
} | undefined;
|
|
58624
|
+
staff_member_created?: {
|
|
58625
|
+
rule: 'staff_member_created';
|
|
58626
|
+
config: {};
|
|
58627
|
+
} | undefined;
|
|
58628
|
+
} | undefined;
|
|
58629
|
+
/** Climate automation rules configuration. */
|
|
58630
|
+
climate_rules?: {
|
|
58631
|
+
rules?: {
|
|
58632
|
+
reservation_created?: {
|
|
58633
|
+
occupied_preset_key?: string | undefined;
|
|
58634
|
+
automated_occupied_preset?: {
|
|
58635
|
+
mode: 'heat' | 'cool' | 'auto';
|
|
58636
|
+
heating_set_point_celsius?: number | undefined;
|
|
58637
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
58638
|
+
cooling_set_point_celsius?: number | undefined;
|
|
58639
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
58640
|
+
fan_mode: 'on' | 'auto' | 'circulate';
|
|
58641
|
+
is_override_allowed: boolean;
|
|
58642
|
+
max_override_period_minutes: number;
|
|
58643
|
+
} | undefined;
|
|
58644
|
+
unoccupied_preset_key?: string | undefined;
|
|
58645
|
+
automated_unoccupied_preset?: {
|
|
58646
|
+
mode: 'heat' | 'cool' | 'auto';
|
|
58647
|
+
heating_set_point_celsius?: number | undefined;
|
|
58648
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
58649
|
+
cooling_set_point_celsius?: number | undefined;
|
|
58650
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
58651
|
+
fan_mode: 'on' | 'auto' | 'circulate';
|
|
58652
|
+
is_override_allowed: boolean;
|
|
58653
|
+
max_override_period_minutes: number;
|
|
58654
|
+
} | undefined;
|
|
58655
|
+
precondition_minutes_before_reservation?: number | undefined;
|
|
58656
|
+
} | undefined;
|
|
58657
|
+
reservation_time_updated?: {} | undefined;
|
|
58658
|
+
reservation_deleted?: {} | undefined;
|
|
58659
|
+
} | undefined;
|
|
58660
|
+
} | undefined;
|
|
58661
|
+
};
|
|
58662
|
+
commonParams: {};
|
|
58663
|
+
formData: {};
|
|
58664
|
+
jsonResponse: {};
|
|
58665
|
+
maxDuration: undefined;
|
|
58666
|
+
};
|
|
58373
58667
|
'/seam/customer/v1/customers/list': {
|
|
58374
58668
|
route: '/seam/customer/v1/customers/list';
|
|
58375
58669
|
method: 'GET' | 'POST';
|
|
@@ -84147,6 +84441,17 @@ export type Routes = {
|
|
|
84147
84441
|
/** New access group ID. */
|
|
84148
84442
|
acs_access_group_id: string | null;
|
|
84149
84443
|
};
|
|
84444
|
+
} | {
|
|
84445
|
+
/** Date and time at which the mutation was created. */
|
|
84446
|
+
created_at: string;
|
|
84447
|
+
/** Detailed description of the mutation. */
|
|
84448
|
+
message: string;
|
|
84449
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
84450
|
+
mutation_code: 'deferring_group_membership_update';
|
|
84451
|
+
/** ID of the access group involved in the scheduled change. */
|
|
84452
|
+
acs_access_group_id: string;
|
|
84453
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
84454
|
+
variant: 'adding' | 'removing';
|
|
84150
84455
|
})[] | undefined;
|
|
84151
84456
|
/** The last time an internal sync job completed for this access system user. */
|
|
84152
84457
|
last_successful_sync_at: string | null;
|
|
@@ -86522,6 +86827,17 @@ export type Routes = {
|
|
|
86522
86827
|
/** New access group ID. */
|
|
86523
86828
|
acs_access_group_id: string | null;
|
|
86524
86829
|
};
|
|
86830
|
+
} | {
|
|
86831
|
+
/** Date and time at which the mutation was created. */
|
|
86832
|
+
created_at: string;
|
|
86833
|
+
/** Detailed description of the mutation. */
|
|
86834
|
+
message: string;
|
|
86835
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
86836
|
+
mutation_code: 'deferring_group_membership_update';
|
|
86837
|
+
/** ID of the access group involved in the scheduled change. */
|
|
86838
|
+
acs_access_group_id: string;
|
|
86839
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
86840
|
+
variant: 'adding' | 'removing';
|
|
86525
86841
|
})[] | undefined;
|
|
86526
86842
|
/** The last time an internal sync job completed for this access system user. */
|
|
86527
86843
|
last_successful_sync_at: string | null;
|
|
@@ -86681,6 +86997,17 @@ export type Routes = {
|
|
|
86681
86997
|
/** New entrance ID. */
|
|
86682
86998
|
acs_entrance_id: string | null;
|
|
86683
86999
|
};
|
|
87000
|
+
} | {
|
|
87001
|
+
/** Date and time at which the mutation was created. */
|
|
87002
|
+
created_at: string;
|
|
87003
|
+
/** Detailed description of the mutation. */
|
|
87004
|
+
message: string;
|
|
87005
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
87006
|
+
mutation_code: 'deferring_user_membership_update';
|
|
87007
|
+
/** ID of the user involved in the scheduled change. */
|
|
87008
|
+
acs_user_id: string;
|
|
87009
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
87010
|
+
variant: 'adding' | 'removing';
|
|
86684
87011
|
})[];
|
|
86685
87012
|
is_managed: true;
|
|
86686
87013
|
}[] | undefined;
|
|
@@ -88189,6 +88516,17 @@ export type Routes = {
|
|
|
88189
88516
|
/** New access group ID. */
|
|
88190
88517
|
acs_access_group_id: string | null;
|
|
88191
88518
|
};
|
|
88519
|
+
} | {
|
|
88520
|
+
/** Date and time at which the mutation was created. */
|
|
88521
|
+
created_at: string;
|
|
88522
|
+
/** Detailed description of the mutation. */
|
|
88523
|
+
message: string;
|
|
88524
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
88525
|
+
mutation_code: 'deferring_group_membership_update';
|
|
88526
|
+
/** ID of the access group involved in the scheduled change. */
|
|
88527
|
+
acs_access_group_id: string;
|
|
88528
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
88529
|
+
variant: 'adding' | 'removing';
|
|
88192
88530
|
})[] | undefined;
|
|
88193
88531
|
/** The last time an internal sync job completed for this access system user. */
|
|
88194
88532
|
last_successful_sync_at: string | null;
|
|
@@ -88348,6 +88686,17 @@ export type Routes = {
|
|
|
88348
88686
|
/** New entrance ID. */
|
|
88349
88687
|
acs_entrance_id: string | null;
|
|
88350
88688
|
};
|
|
88689
|
+
} | {
|
|
88690
|
+
/** Date and time at which the mutation was created. */
|
|
88691
|
+
created_at: string;
|
|
88692
|
+
/** Detailed description of the mutation. */
|
|
88693
|
+
message: string;
|
|
88694
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
88695
|
+
mutation_code: 'deferring_user_membership_update';
|
|
88696
|
+
/** ID of the user involved in the scheduled change. */
|
|
88697
|
+
acs_user_id: string;
|
|
88698
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
88699
|
+
variant: 'adding' | 'removing';
|
|
88351
88700
|
})[];
|
|
88352
88701
|
is_managed: false;
|
|
88353
88702
|
}[] | undefined;
|
package/package.json
CHANGED
|
@@ -135,6 +135,27 @@ const updating_entrance_membership = common_pending_mutation
|
|
|
135
135
|
'Seam is in the process of pushing an entrance membership update to the integrated access system.',
|
|
136
136
|
)
|
|
137
137
|
|
|
138
|
+
const deferring_user_membership_update = common_pending_mutation
|
|
139
|
+
.extend({
|
|
140
|
+
mutation_code: z
|
|
141
|
+
.literal('deferring_user_membership_update')
|
|
142
|
+
.describe(
|
|
143
|
+
'Mutation code to indicate that a scheduled user membership change is pending for this access group.',
|
|
144
|
+
),
|
|
145
|
+
acs_user_id: z
|
|
146
|
+
.string()
|
|
147
|
+
.uuid()
|
|
148
|
+
.describe('ID of the user involved in the scheduled change.'),
|
|
149
|
+
variant: z
|
|
150
|
+
.enum(['adding', 'removing'])
|
|
151
|
+
.describe(
|
|
152
|
+
'Whether the user is scheduled to be added to or removed from this access group.',
|
|
153
|
+
),
|
|
154
|
+
})
|
|
155
|
+
.describe(
|
|
156
|
+
'A scheduled user membership change is pending for this access group.',
|
|
157
|
+
)
|
|
158
|
+
|
|
138
159
|
export const acs_access_group_pending_mutations = z.discriminatedUnion(
|
|
139
160
|
'mutation_code',
|
|
140
161
|
[
|
|
@@ -144,6 +165,7 @@ export const acs_access_group_pending_mutations = z.discriminatedUnion(
|
|
|
144
165
|
updating_access_schedule,
|
|
145
166
|
updating_user_membership,
|
|
146
167
|
updating_entrance_membership,
|
|
168
|
+
deferring_user_membership_update,
|
|
147
169
|
],
|
|
148
170
|
)
|
|
149
171
|
|
|
@@ -164,6 +186,10 @@ const _acs_access_group_pending_mutations_map = z.object({
|
|
|
164
186
|
.record(z.string().uuid(), updating_entrance_membership)
|
|
165
187
|
.optional()
|
|
166
188
|
.nullable(),
|
|
189
|
+
deferring_user_membership_update: z
|
|
190
|
+
.record(z.string().uuid(), deferring_user_membership_update)
|
|
191
|
+
.optional()
|
|
192
|
+
.nullable(),
|
|
167
193
|
})
|
|
168
194
|
|
|
169
195
|
export type AcsAccessGroupPendingMutationsMap = z.infer<
|
|
@@ -158,6 +158,27 @@ const updating_group_membership_mutation = common_pending_mutation
|
|
|
158
158
|
'Seam is in the process of pushing an access group membership update to the integrated access system.',
|
|
159
159
|
)
|
|
160
160
|
|
|
161
|
+
const deferring_group_membership_update_mutation = common_pending_mutation
|
|
162
|
+
.extend({
|
|
163
|
+
mutation_code: z
|
|
164
|
+
.literal('deferring_group_membership_update')
|
|
165
|
+
.describe(
|
|
166
|
+
'Mutation code to indicate that a scheduled access group membership change is pending for this user.',
|
|
167
|
+
),
|
|
168
|
+
acs_access_group_id: z
|
|
169
|
+
.string()
|
|
170
|
+
.uuid()
|
|
171
|
+
.describe('ID of the access group involved in the scheduled change.'),
|
|
172
|
+
variant: z
|
|
173
|
+
.enum(['adding', 'removing'])
|
|
174
|
+
.describe(
|
|
175
|
+
'Whether the user is scheduled to be added to or removed from the access group.',
|
|
176
|
+
),
|
|
177
|
+
})
|
|
178
|
+
.describe(
|
|
179
|
+
'A scheduled access group membership change is pending for this user.',
|
|
180
|
+
)
|
|
181
|
+
|
|
161
182
|
export const acs_user_pending_mutations = z.discriminatedUnion(
|
|
162
183
|
'mutation_code',
|
|
163
184
|
[
|
|
@@ -168,6 +189,7 @@ export const acs_user_pending_mutations = z.discriminatedUnion(
|
|
|
168
189
|
updating_access_schedule_mutation,
|
|
169
190
|
updating_suspension_state_mutation,
|
|
170
191
|
updating_group_membership_mutation,
|
|
192
|
+
deferring_group_membership_update_mutation,
|
|
171
193
|
],
|
|
172
194
|
)
|
|
173
195
|
|
|
@@ -184,6 +206,10 @@ const _acs_user_pending_mutations_map = z.object({
|
|
|
184
206
|
.record(z.string().uuid(), updating_group_membership_mutation)
|
|
185
207
|
.optional()
|
|
186
208
|
.nullable(),
|
|
209
|
+
deferring_group_membership_update: z
|
|
210
|
+
.record(z.string().uuid(), deferring_group_membership_update_mutation)
|
|
211
|
+
.optional()
|
|
212
|
+
.nullable(),
|
|
187
213
|
updating_suspension_state: updating_suspension_state_mutation
|
|
188
214
|
.optional()
|
|
189
215
|
.nullable(),
|