@seamapi/types 1.836.0 → 1.838.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.
Files changed (32) hide show
  1. package/dist/connect.cjs +144 -12
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +661 -232
  4. package/dist/index.cjs +144 -12
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
  7. package/lib/seam/connect/models/acs/acs-credential.js +1 -0
  8. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  9. package/lib/seam/connect/models/acs/acs-credentials/pending-mutations.d.ts +101 -0
  10. package/lib/seam/connect/models/acs/acs-credentials/pending-mutations.js +19 -1
  11. package/lib/seam/connect/models/acs/acs-credentials/pending-mutations.js.map +1 -1
  12. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +125 -7
  13. package/lib/seam/connect/models/acs/acs-users/acs-user.js +1 -0
  14. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  15. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +101 -0
  16. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +30 -0
  17. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
  18. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
  19. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -10
  20. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
  21. package/lib/seam/connect/models/batch.d.ts +210 -52
  22. package/lib/seam/connect/models/phones/phone-session.d.ts +12 -12
  23. package/lib/seam/connect/openapi.js +115 -0
  24. package/lib/seam/connect/openapi.js.map +1 -1
  25. package/lib/seam/connect/route-types.d.ts +297 -144
  26. package/package.json +1 -1
  27. package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -0
  28. package/src/lib/seam/connect/models/acs/acs-credentials/pending-mutations.ts +24 -1
  29. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +1 -0
  30. package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +35 -0
  31. package/src/lib/seam/connect/openapi.ts +121 -0
  32. package/src/lib/seam/connect/route-types.ts +306 -0
@@ -31,7 +31,7 @@ declare const phone_provider_session: z.ZodObject<{
31
31
  is_issued: z.ZodOptional<z.ZodBoolean>;
32
32
  issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
33
  access_method: z.ZodEnum<["code", "card", "mobile_key", "cloud_key"]>;
34
- external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access", "dormakaba_ambiance_credential", "hotek_card", "salto_ks_tag"]>>;
34
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access", "dormakaba_ambiance_credential", "hotek_card", "salto_ks_tag", "avigilon_alta_credential"]>>;
35
35
  external_type_display_name: z.ZodOptional<z.ZodString>;
36
36
  created_at: z.ZodString;
37
37
  workspace_id: z.ZodString;
@@ -690,7 +690,7 @@ declare const phone_provider_session: z.ZodObject<{
690
690
  issued_at?: string | null | undefined;
691
691
  is_issued?: boolean | undefined;
692
692
  acs_user_id?: string | undefined;
693
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | undefined;
693
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
694
694
  external_type_display_name?: string | undefined;
695
695
  acs_credential_pool_id?: string | undefined;
696
696
  parent_acs_credential_id?: string | undefined;
@@ -843,7 +843,7 @@ declare const phone_provider_session: z.ZodObject<{
843
843
  issued_at?: string | null | undefined;
844
844
  is_issued?: boolean | undefined;
845
845
  acs_user_id?: string | undefined;
846
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | undefined;
846
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
847
847
  external_type_display_name?: string | undefined;
848
848
  acs_credential_pool_id?: string | undefined;
849
849
  parent_acs_credential_id?: string | undefined;
@@ -998,7 +998,7 @@ declare const phone_provider_session: z.ZodObject<{
998
998
  issued_at?: string | null | undefined;
999
999
  is_issued?: boolean | undefined;
1000
1000
  acs_user_id?: string | undefined;
1001
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | undefined;
1001
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
1002
1002
  external_type_display_name?: string | undefined;
1003
1003
  acs_credential_pool_id?: string | undefined;
1004
1004
  parent_acs_credential_id?: string | undefined;
@@ -1159,7 +1159,7 @@ declare const phone_provider_session: z.ZodObject<{
1159
1159
  issued_at?: string | null | undefined;
1160
1160
  is_issued?: boolean | undefined;
1161
1161
  acs_user_id?: string | undefined;
1162
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | undefined;
1162
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
1163
1163
  external_type_display_name?: string | undefined;
1164
1164
  acs_credential_pool_id?: string | undefined;
1165
1165
  parent_acs_credential_id?: string | undefined;
@@ -1208,7 +1208,7 @@ export declare const phone_session: z.ZodObject<{
1208
1208
  is_issued: z.ZodOptional<z.ZodBoolean>;
1209
1209
  issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1210
1210
  access_method: z.ZodEnum<["code", "card", "mobile_key", "cloud_key"]>;
1211
- external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access", "dormakaba_ambiance_credential", "hotek_card", "salto_ks_tag"]>>;
1211
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access", "dormakaba_ambiance_credential", "hotek_card", "salto_ks_tag", "avigilon_alta_credential"]>>;
1212
1212
  external_type_display_name: z.ZodOptional<z.ZodString>;
1213
1213
  created_at: z.ZodString;
1214
1214
  workspace_id: z.ZodString;
@@ -1867,7 +1867,7 @@ export declare const phone_session: z.ZodObject<{
1867
1867
  issued_at?: string | null | undefined;
1868
1868
  is_issued?: boolean | undefined;
1869
1869
  acs_user_id?: string | undefined;
1870
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | undefined;
1870
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
1871
1871
  external_type_display_name?: string | undefined;
1872
1872
  acs_credential_pool_id?: string | undefined;
1873
1873
  parent_acs_credential_id?: string | undefined;
@@ -2020,7 +2020,7 @@ export declare const phone_session: z.ZodObject<{
2020
2020
  issued_at?: string | null | undefined;
2021
2021
  is_issued?: boolean | undefined;
2022
2022
  acs_user_id?: string | undefined;
2023
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | undefined;
2023
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
2024
2024
  external_type_display_name?: string | undefined;
2025
2025
  acs_credential_pool_id?: string | undefined;
2026
2026
  parent_acs_credential_id?: string | undefined;
@@ -2175,7 +2175,7 @@ export declare const phone_session: z.ZodObject<{
2175
2175
  issued_at?: string | null | undefined;
2176
2176
  is_issued?: boolean | undefined;
2177
2177
  acs_user_id?: string | undefined;
2178
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | undefined;
2178
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
2179
2179
  external_type_display_name?: string | undefined;
2180
2180
  acs_credential_pool_id?: string | undefined;
2181
2181
  parent_acs_credential_id?: string | undefined;
@@ -2336,7 +2336,7 @@ export declare const phone_session: z.ZodObject<{
2336
2336
  issued_at?: string | null | undefined;
2337
2337
  is_issued?: boolean | undefined;
2338
2338
  acs_user_id?: string | undefined;
2339
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | undefined;
2339
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
2340
2340
  external_type_display_name?: string | undefined;
2341
2341
  acs_credential_pool_id?: string | undefined;
2342
2342
  parent_acs_credential_id?: string | undefined;
@@ -2612,7 +2612,7 @@ export declare const phone_session: z.ZodObject<{
2612
2612
  issued_at?: string | null | undefined;
2613
2613
  is_issued?: boolean | undefined;
2614
2614
  acs_user_id?: string | undefined;
2615
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | undefined;
2615
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
2616
2616
  external_type_display_name?: string | undefined;
2617
2617
  acs_credential_pool_id?: string | undefined;
2618
2618
  parent_acs_credential_id?: string | undefined;
@@ -2804,7 +2804,7 @@ export declare const phone_session: z.ZodObject<{
2804
2804
  issued_at?: string | null | undefined;
2805
2805
  is_issued?: boolean | undefined;
2806
2806
  acs_user_id?: string | undefined;
2807
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | undefined;
2807
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | undefined;
2808
2808
  external_type_display_name?: string | undefined;
2809
2809
  acs_credential_pool_id?: string | undefined;
2810
2810
  parent_acs_credential_id?: string | undefined;
@@ -3372,6 +3372,7 @@ const openapi = {
3372
3372
  'dormakaba_ambiance_credential',
3373
3373
  'hotek_card',
3374
3374
  'salto_ks_tag',
3375
+ 'avigilon_alta_credential',
3375
3376
  ],
3376
3377
  type: 'string',
3377
3378
  },
@@ -4671,6 +4672,7 @@ const openapi = {
4671
4672
  'latch_user',
4672
4673
  'dormakaba_community_user',
4673
4674
  'salto_space_user',
4675
+ 'avigilon_alta_user',
4674
4676
  ],
4675
4677
  type: 'string',
4676
4678
  },
@@ -5034,6 +5036,59 @@ const openapi = {
5034
5036
  ],
5035
5037
  type: 'object',
5036
5038
  },
5039
+ {
5040
+ description: 'Seam is in the process of assigning or unassigning a credential to the user on the integrated access system.',
5041
+ properties: {
5042
+ created_at: {
5043
+ description: 'Date and time at which the mutation was created.',
5044
+ format: 'date-time',
5045
+ type: 'string',
5046
+ },
5047
+ from: {
5048
+ description: 'Previous credential assignment.',
5049
+ properties: {
5050
+ acs_credential_id: {
5051
+ description: 'Previous credential ID.',
5052
+ format: 'uuid',
5053
+ nullable: true,
5054
+ type: 'string',
5055
+ },
5056
+ },
5057
+ required: ['acs_credential_id'],
5058
+ type: 'object',
5059
+ },
5060
+ message: {
5061
+ description: 'Detailed description of the mutation.',
5062
+ type: 'string',
5063
+ },
5064
+ mutation_code: {
5065
+ description: 'Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system.',
5066
+ enum: ['updating_credential_assignment'],
5067
+ type: 'string',
5068
+ },
5069
+ to: {
5070
+ description: 'New credential assignment.',
5071
+ properties: {
5072
+ acs_credential_id: {
5073
+ description: 'New credential ID.',
5074
+ format: 'uuid',
5075
+ nullable: true,
5076
+ type: 'string',
5077
+ },
5078
+ },
5079
+ required: ['acs_credential_id'],
5080
+ type: 'object',
5081
+ },
5082
+ },
5083
+ required: [
5084
+ 'created_at',
5085
+ 'message',
5086
+ 'mutation_code',
5087
+ 'from',
5088
+ 'to',
5089
+ ],
5090
+ type: 'object',
5091
+ },
5037
5092
  ],
5038
5093
  },
5039
5094
  type: 'array',
@@ -5682,6 +5737,7 @@ const openapi = {
5682
5737
  'dormakaba_ambiance_credential',
5683
5738
  'hotek_card',
5684
5739
  'salto_ks_tag',
5740
+ 'avigilon_alta_credential',
5685
5741
  ],
5686
5742
  type: 'string',
5687
5743
  },
@@ -6073,6 +6129,7 @@ const openapi = {
6073
6129
  'dormakaba_ambiance_credential',
6074
6130
  'hotek_card',
6075
6131
  'salto_ks_tag',
6132
+ 'avigilon_alta_credential',
6076
6133
  ],
6077
6134
  type: 'string',
6078
6135
  },
@@ -6690,6 +6747,7 @@ const openapi = {
6690
6747
  'dormakaba_ambiance_credential',
6691
6748
  'hotek_card',
6692
6749
  'salto_ks_tag',
6750
+ 'avigilon_alta_credential',
6693
6751
  ],
6694
6752
  type: 'string',
6695
6753
  },
@@ -7079,6 +7137,7 @@ const openapi = {
7079
7137
  'dormakaba_ambiance_credential',
7080
7138
  'hotek_card',
7081
7139
  'salto_ks_tag',
7140
+ 'avigilon_alta_credential',
7082
7141
  ],
7083
7142
  type: 'string',
7084
7143
  },
@@ -22895,6 +22954,7 @@ const openapi = {
22895
22954
  'dormakaba_ambiance_credential',
22896
22955
  'hotek_card',
22897
22956
  'salto_ks_tag',
22957
+ 'avigilon_alta_credential',
22898
22958
  ],
22899
22959
  type: 'string',
22900
22960
  },
@@ -25871,6 +25931,7 @@ const openapi = {
25871
25931
  'dormakaba_ambiance_credential',
25872
25932
  'hotek_card',
25873
25933
  'salto_ks_tag',
25934
+ 'avigilon_alta_credential',
25874
25935
  ],
25875
25936
  type: 'string',
25876
25937
  },
@@ -26319,6 +26380,7 @@ const openapi = {
26319
26380
  'latch_user',
26320
26381
  'dormakaba_community_user',
26321
26382
  'salto_space_user',
26383
+ 'avigilon_alta_user',
26322
26384
  ],
26323
26385
  type: 'string',
26324
26386
  },
@@ -26682,6 +26744,59 @@ const openapi = {
26682
26744
  ],
26683
26745
  type: 'object',
26684
26746
  },
26747
+ {
26748
+ description: 'Seam is in the process of assigning or unassigning a credential to the user on the integrated access system.',
26749
+ properties: {
26750
+ created_at: {
26751
+ description: 'Date and time at which the mutation was created.',
26752
+ format: 'date-time',
26753
+ type: 'string',
26754
+ },
26755
+ from: {
26756
+ description: 'Previous credential assignment.',
26757
+ properties: {
26758
+ acs_credential_id: {
26759
+ description: 'Previous credential ID.',
26760
+ format: 'uuid',
26761
+ nullable: true,
26762
+ type: 'string',
26763
+ },
26764
+ },
26765
+ required: ['acs_credential_id'],
26766
+ type: 'object',
26767
+ },
26768
+ message: {
26769
+ description: 'Detailed description of the mutation.',
26770
+ type: 'string',
26771
+ },
26772
+ mutation_code: {
26773
+ description: 'Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system.',
26774
+ enum: ['updating_credential_assignment'],
26775
+ type: 'string',
26776
+ },
26777
+ to: {
26778
+ description: 'New credential assignment.',
26779
+ properties: {
26780
+ acs_credential_id: {
26781
+ description: 'New credential ID.',
26782
+ format: 'uuid',
26783
+ nullable: true,
26784
+ type: 'string',
26785
+ },
26786
+ },
26787
+ required: ['acs_credential_id'],
26788
+ type: 'object',
26789
+ },
26790
+ },
26791
+ required: [
26792
+ 'created_at',
26793
+ 'message',
26794
+ 'mutation_code',
26795
+ 'from',
26796
+ 'to',
26797
+ ],
26798
+ type: 'object',
26799
+ },
26685
26800
  ],
26686
26801
  },
26687
26802
  type: 'array',