@seamapi/types 1.102.0 → 1.103.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.
@@ -796,7 +796,7 @@ export interface Routes {
796
796
  acs_user_id?: string | undefined;
797
797
  acs_credential_pool_id?: string | undefined;
798
798
  acs_system_id: string;
799
- parent_credential_id?: string | undefined;
799
+ parent_acs_credential_id?: string | undefined;
800
800
  display_name: string;
801
801
  code?: (string | undefined) | null;
802
802
  access_method: 'code' | 'card' | 'mobile_key';
@@ -840,7 +840,7 @@ export interface Routes {
840
840
  acs_user_id?: string | undefined;
841
841
  acs_credential_pool_id?: string | undefined;
842
842
  acs_system_id: string;
843
- parent_credential_id?: string | undefined;
843
+ parent_acs_credential_id?: string | undefined;
844
844
  display_name: string;
845
845
  code?: (string | undefined) | null;
846
846
  access_method: 'code' | 'card' | 'mobile_key';
@@ -883,7 +883,7 @@ export interface Routes {
883
883
  acs_user_id?: string | undefined;
884
884
  acs_credential_pool_id?: string | undefined;
885
885
  acs_system_id: string;
886
- parent_credential_id?: string | undefined;
886
+ parent_acs_credential_id?: string | undefined;
887
887
  display_name: string;
888
888
  code?: (string | undefined) | null;
889
889
  access_method: 'code' | 'card' | 'mobile_key';
@@ -922,7 +922,7 @@ export interface Routes {
922
922
  acs_user_id?: string | undefined;
923
923
  acs_credential_pool_id?: string | undefined;
924
924
  acs_system_id: string;
925
- parent_credential_id?: string | undefined;
925
+ parent_acs_credential_id?: string | undefined;
926
926
  display_name: string;
927
927
  code?: (string | undefined) | null;
928
928
  access_method: 'code' | 'card' | 'mobile_key';
@@ -955,7 +955,7 @@ export interface Routes {
955
955
  acs_user_id?: string | undefined;
956
956
  acs_credential_pool_id?: string | undefined;
957
957
  acs_system_id: string;
958
- parent_credential_id?: string | undefined;
958
+ parent_acs_credential_id?: string | undefined;
959
959
  display_name: string;
960
960
  code?: (string | undefined) | null;
961
961
  access_method: 'code' | 'card' | 'mobile_key';
@@ -988,7 +988,7 @@ export interface Routes {
988
988
  acs_user_id?: string | undefined;
989
989
  acs_credential_pool_id?: string | undefined;
990
990
  acs_system_id: string;
991
- parent_credential_id?: string | undefined;
991
+ parent_acs_credential_id?: string | undefined;
992
992
  display_name: string;
993
993
  code?: (string | undefined) | null;
994
994
  access_method: 'code' | 'card' | 'mobile_key';
@@ -1084,7 +1084,7 @@ export interface Routes {
1084
1084
  acs_user_id?: string | undefined;
1085
1085
  acs_credential_pool_id?: string | undefined;
1086
1086
  acs_system_id: string;
1087
- parent_credential_id?: string | undefined;
1087
+ parent_acs_credential_id?: string | undefined;
1088
1088
  display_name: string;
1089
1089
  code?: (string | undefined) | null;
1090
1090
  access_method: 'code' | 'card' | 'mobile_key';
@@ -1330,6 +1330,17 @@ export interface Routes {
1330
1330
  formData: {};
1331
1331
  jsonResponse: {};
1332
1332
  };
1333
+ '/acs/users/revoke_access_to_all_entrances': {
1334
+ route: '/acs/users/revoke_access_to_all_entrances';
1335
+ method: 'POST';
1336
+ queryParams: {};
1337
+ jsonBody: {
1338
+ acs_user_id: string;
1339
+ };
1340
+ commonParams: {};
1341
+ formData: {};
1342
+ jsonResponse: {};
1343
+ };
1333
1344
  '/acs/users/suspend': {
1334
1345
  route: '/acs/users/suspend';
1335
1346
  method: 'POST';
@@ -15,7 +15,7 @@ export declare const acs_credential: z.ZodObject<{
15
15
  acs_user_id: z.ZodOptional<z.ZodString>;
16
16
  acs_credential_pool_id: z.ZodOptional<z.ZodString>;
17
17
  acs_system_id: z.ZodString;
18
- parent_credential_id: z.ZodOptional<z.ZodString>;
18
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
19
19
  display_name: z.ZodString;
20
20
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21
21
  access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
@@ -42,7 +42,7 @@ export declare const acs_credential: z.ZodObject<{
42
42
  access_method: "code" | "card" | "mobile_key";
43
43
  acs_user_id?: string | undefined;
44
44
  acs_credential_pool_id?: string | undefined;
45
- parent_credential_id?: string | undefined;
45
+ parent_acs_credential_id?: string | undefined;
46
46
  code?: string | null | undefined;
47
47
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
48
48
  external_type_display_name?: string | undefined;
@@ -61,7 +61,7 @@ export declare const acs_credential: z.ZodObject<{
61
61
  access_method: "code" | "card" | "mobile_key";
62
62
  acs_user_id?: string | undefined;
63
63
  acs_credential_pool_id?: string | undefined;
64
- parent_credential_id?: string | undefined;
64
+ parent_acs_credential_id?: string | undefined;
65
65
  code?: string | null | undefined;
66
66
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
67
67
  external_type_display_name?: string | undefined;
@@ -19,7 +19,7 @@ export const acs_credential = z.object({
19
19
  acs_user_id: z.string().uuid().optional(),
20
20
  acs_credential_pool_id: z.string().uuid().optional(),
21
21
  acs_system_id: z.string().uuid(),
22
- parent_credential_id: z.string().uuid().optional(),
22
+ parent_acs_credential_id: z.string().uuid().optional(),
23
23
  display_name: z.string().nonempty(),
24
24
  code: z.string().optional().nullable(),
25
25
  access_method: acs_credential_access_method_type,
@@ -1 +1 @@
1
- {"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,wEAAwE;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;CAClB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,MAAM;IACN,MAAM;IACN,YAAY;CACb,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,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jD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,8BAA8B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtD,mBAAmB,EAAE,kCAAkC,CAAC,QAAQ,EAAE;CACnE,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.102.0",
3
+ "version": "1.103.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -3896,7 +3896,7 @@ export default {
3896
3896
  },
3897
3897
  external_type_display_name: { type: 'string' },
3898
3898
  is_multi_phone_sync_credential: { type: 'boolean' },
3899
- parent_credential_id: {
3899
+ parent_acs_credential_id: {
3900
3900
  format: 'uuid',
3901
3901
  type: 'string',
3902
3902
  },
@@ -3993,7 +3993,7 @@ export default {
3993
3993
  },
3994
3994
  external_type_display_name: { type: 'string' },
3995
3995
  is_multi_phone_sync_credential: { type: 'boolean' },
3996
- parent_credential_id: {
3996
+ parent_acs_credential_id: {
3997
3997
  format: 'uuid',
3998
3998
  type: 'string',
3999
3999
  },
@@ -4127,7 +4127,7 @@ export default {
4127
4127
  },
4128
4128
  external_type_display_name: { type: 'string' },
4129
4129
  is_multi_phone_sync_credential: { type: 'boolean' },
4130
- parent_credential_id: {
4130
+ parent_acs_credential_id: {
4131
4131
  format: 'uuid',
4132
4132
  type: 'string',
4133
4133
  },
@@ -4269,7 +4269,7 @@ export default {
4269
4269
  },
4270
4270
  external_type_display_name: { type: 'string' },
4271
4271
  is_multi_phone_sync_credential: { type: 'boolean' },
4272
- parent_credential_id: {
4272
+ parent_acs_credential_id: {
4273
4273
  format: 'uuid',
4274
4274
  type: 'string',
4275
4275
  },
@@ -4395,7 +4395,7 @@ export default {
4395
4395
  },
4396
4396
  external_type_display_name: { type: 'string' },
4397
4397
  is_multi_phone_sync_credential: { type: 'boolean' },
4398
- parent_credential_id: {
4398
+ parent_acs_credential_id: {
4399
4399
  format: 'uuid',
4400
4400
  type: 'string',
4401
4401
  },
@@ -4498,7 +4498,7 @@ export default {
4498
4498
  },
4499
4499
  external_type_display_name: { type: 'string' },
4500
4500
  is_multi_phone_sync_credential: { type: 'boolean' },
4501
- parent_credential_id: {
4501
+ parent_acs_credential_id: {
4502
4502
  format: 'uuid',
4503
4503
  type: 'string',
4504
4504
  },
@@ -4595,7 +4595,7 @@ export default {
4595
4595
  },
4596
4596
  external_type_display_name: { type: 'string' },
4597
4597
  is_multi_phone_sync_credential: { type: 'boolean' },
4598
- parent_credential_id: {
4598
+ parent_acs_credential_id: {
4599
4599
  format: 'uuid',
4600
4600
  type: 'string',
4601
4601
  },
@@ -4695,7 +4695,7 @@ export default {
4695
4695
  },
4696
4696
  external_type_display_name: { type: 'string' },
4697
4697
  is_multi_phone_sync_credential: { type: 'boolean' },
4698
- parent_credential_id: {
4698
+ parent_acs_credential_id: {
4699
4699
  format: 'uuid',
4700
4700
  type: 'string',
4701
4701
  },
@@ -4792,7 +4792,7 @@ export default {
4792
4792
  },
4793
4793
  external_type_display_name: { type: 'string' },
4794
4794
  is_multi_phone_sync_credential: { type: 'boolean' },
4795
- parent_credential_id: {
4795
+ parent_acs_credential_id: {
4796
4796
  format: 'uuid',
4797
4797
  type: 'string',
4798
4798
  },
@@ -5125,7 +5125,7 @@ export default {
5125
5125
  },
5126
5126
  external_type_display_name: { type: 'string' },
5127
5127
  is_multi_phone_sync_credential: { type: 'boolean' },
5128
- parent_credential_id: {
5128
+ parent_acs_credential_id: {
5129
5129
  format: 'uuid',
5130
5130
  type: 'string',
5131
5131
  },
@@ -5666,6 +5666,47 @@ export default {
5666
5666
  'x-fern-sdk-method-name': 'remove_from_access_group',
5667
5667
  },
5668
5668
  },
5669
+ '/acs/users/revoke_access_to_all_entrances': {
5670
+ post: {
5671
+ operationId: 'acsUsersRevokeAccessToAllEntrancesPost',
5672
+ requestBody: {
5673
+ content: {
5674
+ 'application/json': {
5675
+ schema: {
5676
+ properties: { acs_user_id: { format: 'uuid', type: 'string' } },
5677
+ required: ['acs_user_id'],
5678
+ type: 'object',
5679
+ },
5680
+ },
5681
+ },
5682
+ },
5683
+ responses: {
5684
+ 200: {
5685
+ content: {
5686
+ 'application/json': {
5687
+ schema: {
5688
+ properties: { ok: { type: 'boolean' } },
5689
+ required: ['ok'],
5690
+ type: 'object',
5691
+ },
5692
+ },
5693
+ },
5694
+ description: 'OK',
5695
+ },
5696
+ 400: { description: 'Bad Request' },
5697
+ 401: { description: 'Unauthorized' },
5698
+ },
5699
+ security: [
5700
+ { api_key: [] },
5701
+ { pat_with_workspace: [] },
5702
+ { console_session: [] },
5703
+ ],
5704
+ summary: '/acs/users/revoke_access_to_all_entrances',
5705
+ tags: ['/acs'],
5706
+ 'x-fern-sdk-group-name': ['acs', 'users'],
5707
+ 'x-fern-sdk-method-name': 'revoke_access_to_all_entrances',
5708
+ },
5709
+ },
5669
5710
  '/acs/users/suspend': {
5670
5711
  post: {
5671
5712
  operationId: 'acsUsersSuspendPost',
@@ -833,7 +833,7 @@ export interface Routes {
833
833
  acs_user_id?: string | undefined
834
834
  acs_credential_pool_id?: string | undefined
835
835
  acs_system_id: string
836
- parent_credential_id?: string | undefined
836
+ parent_acs_credential_id?: string | undefined
837
837
  display_name: string
838
838
  code?: (string | undefined) | null
839
839
  access_method: 'code' | 'card' | 'mobile_key'
@@ -897,7 +897,7 @@ export interface Routes {
897
897
  acs_user_id?: string | undefined
898
898
  acs_credential_pool_id?: string | undefined
899
899
  acs_system_id: string
900
- parent_credential_id?: string | undefined
900
+ parent_acs_credential_id?: string | undefined
901
901
  display_name: string
902
902
  code?: (string | undefined) | null
903
903
  access_method: 'code' | 'card' | 'mobile_key'
@@ -949,7 +949,7 @@ export interface Routes {
949
949
  acs_user_id?: string | undefined
950
950
  acs_credential_pool_id?: string | undefined
951
951
  acs_system_id: string
952
- parent_credential_id?: string | undefined
952
+ parent_acs_credential_id?: string | undefined
953
953
  display_name: string
954
954
  code?: (string | undefined) | null
955
955
  access_method: 'code' | 'card' | 'mobile_key'
@@ -1001,7 +1001,7 @@ export interface Routes {
1001
1001
  acs_user_id?: string | undefined
1002
1002
  acs_credential_pool_id?: string | undefined
1003
1003
  acs_system_id: string
1004
- parent_credential_id?: string | undefined
1004
+ parent_acs_credential_id?: string | undefined
1005
1005
  display_name: string
1006
1006
  code?: (string | undefined) | null
1007
1007
  access_method: 'code' | 'card' | 'mobile_key'
@@ -1043,7 +1043,7 @@ export interface Routes {
1043
1043
  acs_user_id?: string | undefined
1044
1044
  acs_credential_pool_id?: string | undefined
1045
1045
  acs_system_id: string
1046
- parent_credential_id?: string | undefined
1046
+ parent_acs_credential_id?: string | undefined
1047
1047
  display_name: string
1048
1048
  code?: (string | undefined) | null
1049
1049
  access_method: 'code' | 'card' | 'mobile_key'
@@ -1085,7 +1085,7 @@ export interface Routes {
1085
1085
  acs_user_id?: string | undefined
1086
1086
  acs_credential_pool_id?: string | undefined
1087
1087
  acs_system_id: string
1088
- parent_credential_id?: string | undefined
1088
+ parent_acs_credential_id?: string | undefined
1089
1089
  display_name: string
1090
1090
  code?: (string | undefined) | null
1091
1091
  access_method: 'code' | 'card' | 'mobile_key'
@@ -1194,7 +1194,7 @@ export interface Routes {
1194
1194
  acs_user_id?: string | undefined
1195
1195
  acs_credential_pool_id?: string | undefined
1196
1196
  acs_system_id: string
1197
- parent_credential_id?: string | undefined
1197
+ parent_acs_credential_id?: string | undefined
1198
1198
  display_name: string
1199
1199
  code?: (string | undefined) | null
1200
1200
  access_method: 'code' | 'card' | 'mobile_key'
@@ -1508,6 +1508,17 @@ export interface Routes {
1508
1508
  formData: {}
1509
1509
  jsonResponse: {}
1510
1510
  }
1511
+ '/acs/users/revoke_access_to_all_entrances': {
1512
+ route: '/acs/users/revoke_access_to_all_entrances'
1513
+ method: 'POST'
1514
+ queryParams: {}
1515
+ jsonBody: {
1516
+ acs_user_id: string
1517
+ }
1518
+ commonParams: {}
1519
+ formData: {}
1520
+ jsonResponse: {}
1521
+ }
1511
1522
  '/acs/users/suspend': {
1512
1523
  route: '/acs/users/suspend'
1513
1524
  method: 'POST'
@@ -31,7 +31,7 @@ export const acs_credential = z.object({
31
31
  acs_user_id: z.string().uuid().optional(),
32
32
  acs_credential_pool_id: z.string().uuid().optional(),
33
33
  acs_system_id: z.string().uuid(),
34
- parent_credential_id: z.string().uuid().optional(),
34
+ parent_acs_credential_id: z.string().uuid().optional(),
35
35
  display_name: z.string().nonempty(),
36
36
  code: z.string().optional().nullable(),
37
37
  access_method: acs_credential_access_method_type,