@seamapi/types 1.459.0 → 1.460.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.
Files changed (41) hide show
  1. package/dist/connect.cjs +489 -127
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2612 -713
  4. package/dist/index.cjs +489 -127
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +8 -8
  7. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +2 -2
  8. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +28 -28
  9. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +12 -12
  10. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +16 -16
  11. package/lib/seam/connect/models/batch.d.ts +3279 -237
  12. package/lib/seam/connect/models/batch.js +7 -0
  13. package/lib/seam/connect/models/batch.js.map +1 -1
  14. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +18 -18
  15. package/lib/seam/connect/models/customer/access-grant-resources.js +2 -1
  16. package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
  17. package/lib/seam/connect/models/customer/customer-data.d.ts +15 -15
  18. package/lib/seam/connect/models/devices/device-metadata.d.ts +108 -0
  19. package/lib/seam/connect/models/devices/device-metadata.js +67 -0
  20. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  21. package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
  22. package/lib/seam/connect/models/devices/device-provider.js +1 -0
  23. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  24. package/lib/seam/connect/models/devices/device.d.ts +152 -0
  25. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +108 -0
  26. package/lib/seam/connect/models/phones/phone-session.d.ts +181 -14
  27. package/lib/seam/connect/models/phones/phone-session.js +3 -0
  28. package/lib/seam/connect/models/phones/phone-session.js.map +1 -1
  29. package/lib/seam/connect/openapi.d.ts +300 -33
  30. package/lib/seam/connect/openapi.js +447 -113
  31. package/lib/seam/connect/openapi.js.map +1 -1
  32. package/lib/seam/connect/route-types.d.ts +1354 -179
  33. package/package.json +1 -1
  34. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  35. package/src/lib/seam/connect/models/batch.ts +7 -0
  36. package/src/lib/seam/connect/models/customer/access-grant-resources.ts +2 -1
  37. package/src/lib/seam/connect/models/devices/device-metadata.ts +68 -0
  38. package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
  39. package/src/lib/seam/connect/models/phones/phone-session.ts +5 -0
  40. package/src/lib/seam/connect/openapi.ts +481 -113
  41. package/src/lib/seam/connect/route-types.ts +1558 -189
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { acs_credential } from '../acs/acs-credential.js';
3
3
  import { acs_entrance } from '../acs/acs-entrance.js';
4
+ import { user_identity } from '../user-identities/user-identity.js';
4
5
  import { phone_registration } from './phone-registration.js';
5
6
  const phone_provider_session = z
6
7
  .object({
@@ -21,6 +22,8 @@ export const phone_session = z.object({
21
22
  provider_sessions: phone_provider_session
22
23
  .array()
23
24
  .describe('Phone provider sessions.'),
25
+ user_identity: user_identity.describe('User identity.'),
26
+ workspace_id: z.string().describe('Workspace ID.'),
24
27
  }).describe(`
25
28
  ---
26
29
  route_path: /seam/mobile_sdk/v1/phone_sessions
@@ -1 +1 @@
1
- {"version":3,"file":"phone-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/phones/phone-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,sBAAsB,GAAG,CAAC;KAC7B,MAAM,CAAC;IACN,kBAAkB;IAClB,eAAe,EAAE,cAAc;SAC5B,IAAI,CAAC;QACJ,iBAAiB,EAAE,IAAI;KACxB,CAAC;SACD,MAAM,CAAC;QACN,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACxC,aAAa,EAAE,YAAY,CAAC,KAAK,EAAE;KACpC,CAAC;SACD,KAAK,EAAE;SACP,QAAQ,CACP,uEAAuE,CACxE;CACJ,CAAC;KACD,QAAQ,CAAC,yBAAyB,CAAC,CAAA;AAEtC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,iBAAiB,EAAE,sBAAsB;SACtC,KAAK,EAAE;SACP,QAAQ,CAAC,0BAA0B,CAAC;CACxC,CAAC,CAAC,QAAQ,CAAC;;;;;;CAMX,CAAC,CAAA"}
1
+ {"version":3,"file":"phone-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/phones/phone-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAA;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,sBAAsB,GAAG,CAAC;KAC7B,MAAM,CAAC;IACN,kBAAkB;IAClB,eAAe,EAAE,cAAc;SAC5B,IAAI,CAAC;QACJ,iBAAiB,EAAE,IAAI;KACxB,CAAC;SACD,MAAM,CAAC;QACN,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACxC,aAAa,EAAE,YAAY,CAAC,KAAK,EAAE;KACpC,CAAC;SACD,KAAK,EAAE;SACP,QAAQ,CACP,uEAAuE,CACxE;CACJ,CAAC;KACD,QAAQ,CAAC,yBAAyB,CAAC,CAAA;AAEtC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,iBAAiB,EAAE,sBAAsB;SACtC,KAAK,EAAE;SACP,QAAQ,CAAC,0BAA0B,CAAC;IAEvC,aAAa,EAAE,aAAa,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IAEvD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC;CACnD,CAAC,CAAC,QAAQ,CAAC;;;;;;CAMX,CAAC,CAAA"}
@@ -5169,6 +5169,107 @@ declare const _default: {
5169
5169
  required: string[];
5170
5170
  type: string;
5171
5171
  };
5172
+ keynest_metadata: {
5173
+ description: string;
5174
+ properties: {
5175
+ address: {
5176
+ description: string;
5177
+ nullable: boolean;
5178
+ type: string;
5179
+ };
5180
+ current_or_last_store_id: {
5181
+ description: string;
5182
+ format: string;
5183
+ type: string;
5184
+ };
5185
+ current_status: {
5186
+ description: string;
5187
+ nullable: boolean;
5188
+ type: string;
5189
+ };
5190
+ current_user_company: {
5191
+ description: string;
5192
+ nullable: boolean;
5193
+ type: string;
5194
+ };
5195
+ current_user_email: {
5196
+ description: string;
5197
+ nullable: boolean;
5198
+ type: string;
5199
+ };
5200
+ current_user_name: {
5201
+ description: string;
5202
+ nullable: boolean;
5203
+ type: string;
5204
+ };
5205
+ current_user_phone_number: {
5206
+ description: string;
5207
+ nullable: boolean;
5208
+ type: string;
5209
+ };
5210
+ default_office_id: {
5211
+ description: string;
5212
+ format: string;
5213
+ type: string;
5214
+ };
5215
+ device_name: {
5216
+ description: string;
5217
+ type: string;
5218
+ };
5219
+ fob_id: {
5220
+ description: string;
5221
+ format: string;
5222
+ type: string;
5223
+ };
5224
+ handover_method: {
5225
+ description: string;
5226
+ nullable: boolean;
5227
+ type: string;
5228
+ };
5229
+ has_photo: {
5230
+ description: string;
5231
+ type: string;
5232
+ };
5233
+ key_id: {
5234
+ description: string;
5235
+ type: string;
5236
+ };
5237
+ key_notes: {
5238
+ description: string;
5239
+ nullable: boolean;
5240
+ type: string;
5241
+ };
5242
+ keynest_app_user: {
5243
+ description: string;
5244
+ nullable: boolean;
5245
+ type: string;
5246
+ };
5247
+ last_movement: {
5248
+ description: string;
5249
+ type: string;
5250
+ };
5251
+ property_id: {
5252
+ description: string;
5253
+ nullable: boolean;
5254
+ type: string;
5255
+ };
5256
+ property_postcode: {
5257
+ description: string;
5258
+ nullable: boolean;
5259
+ type: string;
5260
+ };
5261
+ status_type: {
5262
+ description: string;
5263
+ type: string;
5264
+ };
5265
+ subscription_plan: {
5266
+ description: string;
5267
+ type: string;
5268
+ };
5269
+ };
5270
+ required: string[];
5271
+ type: string;
5272
+ };
5172
5273
  kwikset_metadata: {
5173
5274
  description: string;
5174
5275
  properties: {
@@ -11086,6 +11187,138 @@ declare const _default: {
11086
11187
  };
11087
11188
  type: string;
11088
11189
  };
11190
+ user_identity: {
11191
+ description: string;
11192
+ properties: {
11193
+ acs_user_ids: {
11194
+ description: string;
11195
+ items: {
11196
+ format: string;
11197
+ type: string;
11198
+ };
11199
+ type: string;
11200
+ };
11201
+ created_at: {
11202
+ description: string;
11203
+ format: string;
11204
+ type: string;
11205
+ };
11206
+ display_name: {
11207
+ minLength: number;
11208
+ type: string;
11209
+ };
11210
+ email_address: {
11211
+ description: string;
11212
+ format: string;
11213
+ nullable: boolean;
11214
+ type: string;
11215
+ };
11216
+ errors: {
11217
+ description: string;
11218
+ items: {
11219
+ description: string;
11220
+ discriminator: {
11221
+ propertyName: string;
11222
+ };
11223
+ oneOf: {
11224
+ description: string;
11225
+ properties: {
11226
+ acs_system_id: {
11227
+ description: string;
11228
+ format: string;
11229
+ type: string;
11230
+ };
11231
+ acs_user_id: {
11232
+ description: string;
11233
+ format: string;
11234
+ type: string;
11235
+ };
11236
+ created_at: {
11237
+ description: string;
11238
+ format: string;
11239
+ type: string;
11240
+ };
11241
+ error_code: {
11242
+ description: string;
11243
+ enum: string[];
11244
+ type: string;
11245
+ };
11246
+ message: {
11247
+ description: string;
11248
+ type: string;
11249
+ };
11250
+ };
11251
+ required: string[];
11252
+ type: string;
11253
+ }[];
11254
+ };
11255
+ type: string;
11256
+ };
11257
+ full_name: {
11258
+ minLength: number;
11259
+ nullable: boolean;
11260
+ type: string;
11261
+ };
11262
+ phone_number: {
11263
+ description: string;
11264
+ nullable: boolean;
11265
+ type: string;
11266
+ };
11267
+ user_identity_id: {
11268
+ description: string;
11269
+ format: string;
11270
+ type: string;
11271
+ };
11272
+ user_identity_key: {
11273
+ description: string;
11274
+ minLength: number;
11275
+ nullable: boolean;
11276
+ type: string;
11277
+ };
11278
+ warnings: {
11279
+ description: string;
11280
+ items: {
11281
+ description: string;
11282
+ discriminator: {
11283
+ propertyName: string;
11284
+ };
11285
+ oneOf: {
11286
+ description: string;
11287
+ properties: {
11288
+ created_at: {
11289
+ description: string;
11290
+ format: string;
11291
+ type: string;
11292
+ };
11293
+ message: {
11294
+ description: string;
11295
+ type: string;
11296
+ };
11297
+ warning_code: {
11298
+ description: string;
11299
+ enum: string[];
11300
+ type: string;
11301
+ };
11302
+ };
11303
+ required: string[];
11304
+ type: string;
11305
+ }[];
11306
+ };
11307
+ type: string;
11308
+ };
11309
+ workspace_id: {
11310
+ description: string;
11311
+ format: string;
11312
+ type: string;
11313
+ };
11314
+ };
11315
+ required: string[];
11316
+ type: string;
11317
+ };
11318
+ workspace_id: {
11319
+ description: string;
11320
+ type: string;
11321
+ };
11089
11322
  };
11090
11323
  required: string[];
11091
11324
  type: string;
@@ -16890,7 +17123,6 @@ declare const _default: {
16890
17123
  schema: {
16891
17124
  properties: {
16892
17125
  batch: {
16893
- description: string;
16894
17126
  properties: {
16895
17127
  acs_entrances: {
16896
17128
  items: {
@@ -16898,29 +17130,35 @@ declare const _default: {
16898
17130
  };
16899
17131
  type: string;
16900
17132
  };
17133
+ acs_systems: {
17134
+ items: {
17135
+ $ref: string;
17136
+ };
17137
+ type: string;
17138
+ };
16901
17139
  batch_type: {
16902
17140
  enum: string[];
16903
17141
  type: string;
16904
17142
  };
16905
- devices: {
17143
+ connected_accounts: {
16906
17144
  items: {
16907
17145
  $ref: string;
16908
17146
  };
16909
17147
  type: string;
16910
17148
  };
16911
- spaces: {
17149
+ devices: {
16912
17150
  items: {
16913
17151
  $ref: string;
16914
17152
  };
16915
17153
  type: string;
16916
17154
  };
16917
- user_identities: {
17155
+ spaces: {
16918
17156
  items: {
16919
17157
  $ref: string;
16920
17158
  };
16921
17159
  type: string;
16922
17160
  };
16923
- workspaces: {
17161
+ user_identities: {
16924
17162
  items: {
16925
17163
  $ref: string;
16926
17164
  };
@@ -16929,7 +17167,6 @@ declare const _default: {
16929
17167
  };
16930
17168
  required: string[];
16931
17169
  type: string;
16932
- 'x-route-path': string;
16933
17170
  };
16934
17171
  ok: {
16935
17172
  type: string;
@@ -17016,7 +17253,6 @@ declare const _default: {
17016
17253
  schema: {
17017
17254
  properties: {
17018
17255
  batch: {
17019
- description: string;
17020
17256
  properties: {
17021
17257
  acs_entrances: {
17022
17258
  items: {
@@ -17024,29 +17260,35 @@ declare const _default: {
17024
17260
  };
17025
17261
  type: string;
17026
17262
  };
17263
+ acs_systems: {
17264
+ items: {
17265
+ $ref: string;
17266
+ };
17267
+ type: string;
17268
+ };
17027
17269
  batch_type: {
17028
17270
  enum: string[];
17029
17271
  type: string;
17030
17272
  };
17031
- devices: {
17273
+ connected_accounts: {
17032
17274
  items: {
17033
17275
  $ref: string;
17034
17276
  };
17035
17277
  type: string;
17036
17278
  };
17037
- spaces: {
17279
+ devices: {
17038
17280
  items: {
17039
17281
  $ref: string;
17040
17282
  };
17041
17283
  type: string;
17042
17284
  };
17043
- user_identities: {
17285
+ spaces: {
17044
17286
  items: {
17045
17287
  $ref: string;
17046
17288
  };
17047
17289
  type: string;
17048
17290
  };
17049
- workspaces: {
17291
+ user_identities: {
17050
17292
  items: {
17051
17293
  $ref: string;
17052
17294
  };
@@ -17055,7 +17297,6 @@ declare const _default: {
17055
17297
  };
17056
17298
  required: string[];
17057
17299
  type: string;
17058
- 'x-route-path': string;
17059
17300
  };
17060
17301
  ok: {
17061
17302
  type: string;
@@ -35815,7 +36056,7 @@ declare const _default: {
35815
36056
  'x-undocumented': string;
35816
36057
  };
35817
36058
  };
35818
- '/seam/console/v1/get_resource_type': {
36059
+ '/seam/console/v1/get_resource_locator': {
35819
36060
  get: {
35820
36061
  description: string;
35821
36062
  operationId: string;
@@ -35837,7 +36078,21 @@ declare const _default: {
35837
36078
  ok: {
35838
36079
  type: string;
35839
36080
  };
35840
- resource_type: {
36081
+ resource_locator: {
36082
+ properties: {
36083
+ acs_system_id: {
36084
+ format: string;
36085
+ type: string;
36086
+ };
36087
+ device_id: {
36088
+ format: string;
36089
+ type: string;
36090
+ };
36091
+ resource_type: {
36092
+ type: string;
36093
+ };
36094
+ };
36095
+ required: string[];
35841
36096
  type: string;
35842
36097
  };
35843
36098
  };
@@ -35906,7 +36161,21 @@ declare const _default: {
35906
36161
  ok: {
35907
36162
  type: string;
35908
36163
  };
35909
- resource_type: {
36164
+ resource_locator: {
36165
+ properties: {
36166
+ acs_system_id: {
36167
+ format: string;
36168
+ type: string;
36169
+ };
36170
+ device_id: {
36171
+ format: string;
36172
+ type: string;
36173
+ };
36174
+ resource_type: {
36175
+ type: string;
36176
+ };
36177
+ };
36178
+ required: string[];
35910
36179
  type: string;
35911
36180
  };
35912
36181
  };
@@ -38403,29 +38672,29 @@ declare const _default: {
38403
38672
  };
38404
38673
  type: string;
38405
38674
  };
38406
- batch_type: {
38407
- enum: string[];
38408
- type: string;
38409
- };
38410
- devices: {
38675
+ acs_systems: {
38411
38676
  items: {
38412
38677
  $ref: string;
38413
38678
  };
38414
38679
  type: string;
38415
38680
  };
38416
- spaces: {
38681
+ batch_type: {
38682
+ enum: string[];
38683
+ type: string;
38684
+ };
38685
+ connected_accounts: {
38417
38686
  items: {
38418
38687
  $ref: string;
38419
38688
  };
38420
38689
  type: string;
38421
38690
  };
38422
- user_identities: {
38691
+ devices: {
38423
38692
  items: {
38424
38693
  $ref: string;
38425
38694
  };
38426
38695
  type: string;
38427
38696
  };
38428
- workspaces: {
38697
+ spaces: {
38429
38698
  items: {
38430
38699
  $ref: string;
38431
38700
  };
@@ -38434,7 +38703,6 @@ declare const _default: {
38434
38703
  };
38435
38704
  required: string[];
38436
38705
  type: string;
38437
- 'x-route-path': string;
38438
38706
  };
38439
38707
  ok: {
38440
38708
  type: string;
@@ -38529,29 +38797,29 @@ declare const _default: {
38529
38797
  };
38530
38798
  type: string;
38531
38799
  };
38532
- batch_type: {
38533
- enum: string[];
38534
- type: string;
38535
- };
38536
- devices: {
38800
+ acs_systems: {
38537
38801
  items: {
38538
38802
  $ref: string;
38539
38803
  };
38540
38804
  type: string;
38541
38805
  };
38542
- spaces: {
38806
+ batch_type: {
38807
+ enum: string[];
38808
+ type: string;
38809
+ };
38810
+ connected_accounts: {
38543
38811
  items: {
38544
38812
  $ref: string;
38545
38813
  };
38546
38814
  type: string;
38547
38815
  };
38548
- user_identities: {
38816
+ devices: {
38549
38817
  items: {
38550
38818
  $ref: string;
38551
38819
  };
38552
38820
  type: string;
38553
38821
  };
38554
- workspaces: {
38822
+ spaces: {
38555
38823
  items: {
38556
38824
  $ref: string;
38557
38825
  };
@@ -38560,7 +38828,6 @@ declare const _default: {
38560
38828
  };
38561
38829
  required: string[];
38562
38830
  type: string;
38563
- 'x-route-path': string;
38564
38831
  };
38565
38832
  ok: {
38566
38833
  type: string;