@seamapi/types 1.101.0 → 1.102.1

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,6 +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_acs_credential_id?: string | undefined;
799
800
  display_name: string;
800
801
  code?: (string | undefined) | null;
801
802
  access_method: 'code' | 'card' | 'mobile_key';
@@ -839,6 +840,7 @@ export interface Routes {
839
840
  acs_user_id?: string | undefined;
840
841
  acs_credential_pool_id?: string | undefined;
841
842
  acs_system_id: string;
843
+ parent_acs_credential_id?: string | undefined;
842
844
  display_name: string;
843
845
  code?: (string | undefined) | null;
844
846
  access_method: 'code' | 'card' | 'mobile_key';
@@ -881,6 +883,7 @@ export interface Routes {
881
883
  acs_user_id?: string | undefined;
882
884
  acs_credential_pool_id?: string | undefined;
883
885
  acs_system_id: string;
886
+ parent_acs_credential_id?: string | undefined;
884
887
  display_name: string;
885
888
  code?: (string | undefined) | null;
886
889
  access_method: 'code' | 'card' | 'mobile_key';
@@ -919,6 +922,7 @@ export interface Routes {
919
922
  acs_user_id?: string | undefined;
920
923
  acs_credential_pool_id?: string | undefined;
921
924
  acs_system_id: string;
925
+ parent_acs_credential_id?: string | undefined;
922
926
  display_name: string;
923
927
  code?: (string | undefined) | null;
924
928
  access_method: 'code' | 'card' | 'mobile_key';
@@ -951,6 +955,7 @@ export interface Routes {
951
955
  acs_user_id?: string | undefined;
952
956
  acs_credential_pool_id?: string | undefined;
953
957
  acs_system_id: string;
958
+ parent_acs_credential_id?: string | undefined;
954
959
  display_name: string;
955
960
  code?: (string | undefined) | null;
956
961
  access_method: 'code' | 'card' | 'mobile_key';
@@ -983,6 +988,7 @@ export interface Routes {
983
988
  acs_user_id?: string | undefined;
984
989
  acs_credential_pool_id?: string | undefined;
985
990
  acs_system_id: string;
991
+ parent_acs_credential_id?: string | undefined;
986
992
  display_name: string;
987
993
  code?: (string | undefined) | null;
988
994
  access_method: 'code' | 'card' | 'mobile_key';
@@ -1078,6 +1084,7 @@ export interface Routes {
1078
1084
  acs_user_id?: string | undefined;
1079
1085
  acs_credential_pool_id?: string | undefined;
1080
1086
  acs_system_id: string;
1087
+ parent_acs_credential_id?: string | undefined;
1081
1088
  display_name: string;
1082
1089
  code?: (string | undefined) | null;
1083
1090
  access_method: 'code' | 'card' | 'mobile_key';
@@ -7392,6 +7399,18 @@ export interface Routes {
7392
7399
  }>;
7393
7400
  };
7394
7401
  };
7402
+ '/webhooks/update': {
7403
+ route: '/webhooks/update';
7404
+ method: 'PUT' | 'POST';
7405
+ queryParams: {};
7406
+ jsonBody: {
7407
+ webhook_id: string;
7408
+ event_types: string[];
7409
+ };
7410
+ commonParams: {};
7411
+ formData: {};
7412
+ jsonResponse: {};
7413
+ };
7395
7414
  '/workspaces/create': {
7396
7415
  route: '/workspaces/create';
7397
7416
  method: 'POST';
@@ -15,6 +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_acs_credential_id: z.ZodOptional<z.ZodString>;
18
19
  display_name: z.ZodString;
19
20
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20
21
  access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
@@ -41,6 +42,7 @@ export declare const acs_credential: z.ZodObject<{
41
42
  access_method: "code" | "card" | "mobile_key";
42
43
  acs_user_id?: string | undefined;
43
44
  acs_credential_pool_id?: string | undefined;
45
+ parent_acs_credential_id?: string | undefined;
44
46
  code?: string | null | undefined;
45
47
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
46
48
  external_type_display_name?: string | undefined;
@@ -59,6 +61,7 @@ export declare const acs_credential: z.ZodObject<{
59
61
  access_method: "code" | "card" | "mobile_key";
60
62
  acs_user_id?: string | undefined;
61
63
  acs_credential_pool_id?: string | undefined;
64
+ parent_acs_credential_id?: string | undefined;
62
65
  code?: string | null | undefined;
63
66
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
64
67
  external_type_display_name?: string | undefined;
@@ -19,6 +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_acs_credential_id: z.string().uuid().optional(),
22
23
  display_name: z.string().nonempty(),
23
24
  code: z.string().optional().nullable(),
24
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,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjE,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACzC,sBAAs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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.101.0",
3
+ "version": "1.102.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -3896,6 +3896,10 @@ export default {
3896
3896
  },
3897
3897
  external_type_display_name: { type: 'string' },
3898
3898
  is_multi_phone_sync_credential: { type: 'boolean' },
3899
+ parent_acs_credential_id: {
3900
+ format: 'uuid',
3901
+ type: 'string',
3902
+ },
3899
3903
  starts_at: { type: 'string' },
3900
3904
  visionline_metadata: {
3901
3905
  properties: {
@@ -3989,6 +3993,10 @@ export default {
3989
3993
  },
3990
3994
  external_type_display_name: { type: 'string' },
3991
3995
  is_multi_phone_sync_credential: { type: 'boolean' },
3996
+ parent_acs_credential_id: {
3997
+ format: 'uuid',
3998
+ type: 'string',
3999
+ },
3992
4000
  starts_at: { type: 'string' },
3993
4001
  visionline_metadata: {
3994
4002
  properties: {
@@ -4119,6 +4127,10 @@ export default {
4119
4127
  },
4120
4128
  external_type_display_name: { type: 'string' },
4121
4129
  is_multi_phone_sync_credential: { type: 'boolean' },
4130
+ parent_acs_credential_id: {
4131
+ format: 'uuid',
4132
+ type: 'string',
4133
+ },
4122
4134
  starts_at: { type: 'string' },
4123
4135
  visionline_metadata: {
4124
4136
  properties: {
@@ -4257,6 +4269,10 @@ export default {
4257
4269
  },
4258
4270
  external_type_display_name: { type: 'string' },
4259
4271
  is_multi_phone_sync_credential: { type: 'boolean' },
4272
+ parent_acs_credential_id: {
4273
+ format: 'uuid',
4274
+ type: 'string',
4275
+ },
4260
4276
  starts_at: { type: 'string' },
4261
4277
  visionline_metadata: {
4262
4278
  properties: {
@@ -4379,6 +4395,10 @@ export default {
4379
4395
  },
4380
4396
  external_type_display_name: { type: 'string' },
4381
4397
  is_multi_phone_sync_credential: { type: 'boolean' },
4398
+ parent_acs_credential_id: {
4399
+ format: 'uuid',
4400
+ type: 'string',
4401
+ },
4382
4402
  starts_at: { type: 'string' },
4383
4403
  visionline_metadata: {
4384
4404
  properties: {
@@ -4478,6 +4498,10 @@ export default {
4478
4498
  },
4479
4499
  external_type_display_name: { type: 'string' },
4480
4500
  is_multi_phone_sync_credential: { type: 'boolean' },
4501
+ parent_acs_credential_id: {
4502
+ format: 'uuid',
4503
+ type: 'string',
4504
+ },
4481
4505
  starts_at: { type: 'string' },
4482
4506
  visionline_metadata: {
4483
4507
  properties: {
@@ -4571,6 +4595,10 @@ export default {
4571
4595
  },
4572
4596
  external_type_display_name: { type: 'string' },
4573
4597
  is_multi_phone_sync_credential: { type: 'boolean' },
4598
+ parent_acs_credential_id: {
4599
+ format: 'uuid',
4600
+ type: 'string',
4601
+ },
4574
4602
  starts_at: { type: 'string' },
4575
4603
  visionline_metadata: {
4576
4604
  properties: {
@@ -4667,6 +4695,10 @@ export default {
4667
4695
  },
4668
4696
  external_type_display_name: { type: 'string' },
4669
4697
  is_multi_phone_sync_credential: { type: 'boolean' },
4698
+ parent_acs_credential_id: {
4699
+ format: 'uuid',
4700
+ type: 'string',
4701
+ },
4670
4702
  starts_at: { type: 'string' },
4671
4703
  visionline_metadata: {
4672
4704
  properties: {
@@ -4760,6 +4792,10 @@ export default {
4760
4792
  },
4761
4793
  external_type_display_name: { type: 'string' },
4762
4794
  is_multi_phone_sync_credential: { type: 'boolean' },
4795
+ parent_acs_credential_id: {
4796
+ format: 'uuid',
4797
+ type: 'string',
4798
+ },
4763
4799
  starts_at: { type: 'string' },
4764
4800
  visionline_metadata: {
4765
4801
  properties: {
@@ -5089,6 +5125,10 @@ export default {
5089
5125
  },
5090
5126
  external_type_display_name: { type: 'string' },
5091
5127
  is_multi_phone_sync_credential: { type: 'boolean' },
5128
+ parent_acs_credential_id: {
5129
+ format: 'uuid',
5130
+ type: 'string',
5131
+ },
5092
5132
  starts_at: { type: 'string' },
5093
5133
  visionline_metadata: {
5094
5134
  properties: {
@@ -11516,6 +11556,91 @@ export default {
11516
11556
  'x-fern-sdk-return-value': 'webhooks',
11517
11557
  },
11518
11558
  },
11559
+ '/webhooks/update': {
11560
+ post: {
11561
+ operationId: 'webhooksUpdatePost',
11562
+ requestBody: {
11563
+ content: {
11564
+ 'application/json': {
11565
+ schema: {
11566
+ properties: {
11567
+ event_types: { items: { type: 'string' }, type: 'array' },
11568
+ webhook_id: { type: 'string' },
11569
+ },
11570
+ required: ['webhook_id', 'event_types'],
11571
+ type: 'object',
11572
+ },
11573
+ },
11574
+ },
11575
+ },
11576
+ responses: {
11577
+ 200: {
11578
+ content: {
11579
+ 'application/json': {
11580
+ schema: {
11581
+ properties: { ok: { type: 'boolean' } },
11582
+ required: ['ok'],
11583
+ type: 'object',
11584
+ },
11585
+ },
11586
+ },
11587
+ description: 'OK',
11588
+ },
11589
+ 400: { description: 'Bad Request' },
11590
+ 401: { description: 'Unauthorized' },
11591
+ },
11592
+ security: [
11593
+ { access_token: [], seam_workspace: [] },
11594
+ { seam_client_session_token: [] },
11595
+ { client_session_token: [] },
11596
+ ],
11597
+ summary: '/webhooks/update',
11598
+ tags: ['/webhooks'],
11599
+ 'x-fern-sdk-group-name': ['webhooks'],
11600
+ 'x-fern-sdk-method-name': 'update',
11601
+ },
11602
+ put: {
11603
+ operationId: 'webhooksUpdatePut',
11604
+ requestBody: {
11605
+ content: {
11606
+ 'application/json': {
11607
+ schema: {
11608
+ properties: {
11609
+ event_types: { items: { type: 'string' }, type: 'array' },
11610
+ webhook_id: { type: 'string' },
11611
+ },
11612
+ required: ['webhook_id', 'event_types'],
11613
+ type: 'object',
11614
+ },
11615
+ },
11616
+ },
11617
+ },
11618
+ responses: {
11619
+ 200: {
11620
+ content: {
11621
+ 'application/json': {
11622
+ schema: {
11623
+ properties: { ok: { type: 'boolean' } },
11624
+ required: ['ok'],
11625
+ type: 'object',
11626
+ },
11627
+ },
11628
+ },
11629
+ description: 'OK',
11630
+ },
11631
+ 400: { description: 'Bad Request' },
11632
+ 401: { description: 'Unauthorized' },
11633
+ },
11634
+ security: [
11635
+ { access_token: [], seam_workspace: [] },
11636
+ { seam_client_session_token: [] },
11637
+ { client_session_token: [] },
11638
+ ],
11639
+ summary: '/webhooks/update',
11640
+ tags: ['/webhooks'],
11641
+ 'x-fern-ignore': true,
11642
+ },
11643
+ },
11519
11644
  '/workspaces/create': {
11520
11645
  post: {
11521
11646
  operationId: 'workspacesCreatePost',
@@ -833,6 +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_acs_credential_id?: string | undefined
836
837
  display_name: string
837
838
  code?: (string | undefined) | null
838
839
  access_method: 'code' | 'card' | 'mobile_key'
@@ -896,6 +897,7 @@ export interface Routes {
896
897
  acs_user_id?: string | undefined
897
898
  acs_credential_pool_id?: string | undefined
898
899
  acs_system_id: string
900
+ parent_acs_credential_id?: string | undefined
899
901
  display_name: string
900
902
  code?: (string | undefined) | null
901
903
  access_method: 'code' | 'card' | 'mobile_key'
@@ -947,6 +949,7 @@ export interface Routes {
947
949
  acs_user_id?: string | undefined
948
950
  acs_credential_pool_id?: string | undefined
949
951
  acs_system_id: string
952
+ parent_acs_credential_id?: string | undefined
950
953
  display_name: string
951
954
  code?: (string | undefined) | null
952
955
  access_method: 'code' | 'card' | 'mobile_key'
@@ -998,6 +1001,7 @@ export interface Routes {
998
1001
  acs_user_id?: string | undefined
999
1002
  acs_credential_pool_id?: string | undefined
1000
1003
  acs_system_id: string
1004
+ parent_acs_credential_id?: string | undefined
1001
1005
  display_name: string
1002
1006
  code?: (string | undefined) | null
1003
1007
  access_method: 'code' | 'card' | 'mobile_key'
@@ -1039,6 +1043,7 @@ export interface Routes {
1039
1043
  acs_user_id?: string | undefined
1040
1044
  acs_credential_pool_id?: string | undefined
1041
1045
  acs_system_id: string
1046
+ parent_acs_credential_id?: string | undefined
1042
1047
  display_name: string
1043
1048
  code?: (string | undefined) | null
1044
1049
  access_method: 'code' | 'card' | 'mobile_key'
@@ -1080,6 +1085,7 @@ export interface Routes {
1080
1085
  acs_user_id?: string | undefined
1081
1086
  acs_credential_pool_id?: string | undefined
1082
1087
  acs_system_id: string
1088
+ parent_acs_credential_id?: string | undefined
1083
1089
  display_name: string
1084
1090
  code?: (string | undefined) | null
1085
1091
  access_method: 'code' | 'card' | 'mobile_key'
@@ -1188,6 +1194,7 @@ export interface Routes {
1188
1194
  acs_user_id?: string | undefined
1189
1195
  acs_credential_pool_id?: string | undefined
1190
1196
  acs_system_id: string
1197
+ parent_acs_credential_id?: string | undefined
1191
1198
  display_name: string
1192
1199
  code?: (string | undefined) | null
1193
1200
  access_method: 'code' | 'card' | 'mobile_key'
@@ -10166,6 +10173,18 @@ export interface Routes {
10166
10173
  }>
10167
10174
  }
10168
10175
  }
10176
+ '/webhooks/update': {
10177
+ route: '/webhooks/update'
10178
+ method: 'PUT' | 'POST'
10179
+ queryParams: {}
10180
+ jsonBody: {
10181
+ webhook_id: string
10182
+ event_types: string[]
10183
+ }
10184
+ commonParams: {}
10185
+ formData: {}
10186
+ jsonResponse: {}
10187
+ }
10169
10188
  '/workspaces/create': {
10170
10189
  route: '/workspaces/create'
10171
10190
  method: 'POST'
@@ -31,6 +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_acs_credential_id: z.string().uuid().optional(),
34
35
  display_name: z.string().nonempty(),
35
36
  code: z.string().optional().nullable(),
36
37
  access_method: acs_credential_access_method_type,