@seamapi/types 1.639.0 → 1.641.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 (34) hide show
  1. package/dist/connect.cjs +69 -24
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +219 -40
  4. package/dist/index.cjs +69 -24
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -1
  7. package/lib/seam/connect/model-types.d.ts +1 -1
  8. package/lib/seam/connect/models/batch.d.ts +106 -26
  9. package/lib/seam/connect/models/customer/customer-portal.d.ts +14 -0
  10. package/lib/seam/connect/models/customer/customer-portal.js +5 -0
  11. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
  12. package/lib/seam/connect/models/customization-profiles/customization-profile.d.ts +46 -2
  13. package/lib/seam/connect/models/customization-profiles/customization-profile.js +8 -0
  14. package/lib/seam/connect/models/customization-profiles/customization-profile.js.map +1 -1
  15. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +4 -4
  16. package/lib/seam/connect/models/partner/magic-link.d.ts +0 -5
  17. package/lib/seam/connect/models/partner/magic-link.js +0 -4
  18. package/lib/seam/connect/models/partner/magic-link.js.map +1 -1
  19. package/lib/seam/connect/openapi.d.ts +85 -6
  20. package/lib/seam/connect/openapi.js +53 -12
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +48 -10
  23. package/lib/seam/connect/schemas.d.ts +1 -1
  24. package/lib/seam/connect/schemas.js +1 -1
  25. package/lib/seam/connect/schemas.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/lib/seam/connect/internal/schemas.ts +1 -1
  28. package/src/lib/seam/connect/model-types.ts +0 -1
  29. package/src/lib/seam/connect/models/customer/customer-portal.ts +5 -0
  30. package/src/lib/seam/connect/models/customization-profiles/customization-profile.ts +10 -0
  31. package/src/lib/seam/connect/models/partner/magic-link.ts +0 -7
  32. package/src/lib/seam/connect/openapi.ts +56 -12
  33. package/src/lib/seam/connect/route-types.ts +65 -26
  34. package/src/lib/seam/connect/schemas.ts +0 -1
@@ -4415,6 +4415,23 @@ declare const _default: {
4415
4415
  format: string;
4416
4416
  type: string;
4417
4417
  };
4418
+ customer_portal_theme: {
4419
+ properties: {
4420
+ primary_color: {
4421
+ type: string;
4422
+ };
4423
+ primary_foreground_color: {
4424
+ type: string;
4425
+ };
4426
+ secondary_color: {
4427
+ type: string;
4428
+ };
4429
+ secondary_foreground_color: {
4430
+ type: string;
4431
+ };
4432
+ };
4433
+ type: string;
4434
+ };
4418
4435
  customization_profile_id: {
4419
4436
  format: string;
4420
4437
  type: string;
@@ -11530,11 +11547,6 @@ declare const _default: {
11530
11547
  magic_link: {
11531
11548
  description: string;
11532
11549
  properties: {
11533
- building_block_type: {
11534
- description: string;
11535
- enum: string[];
11536
- type: string;
11537
- };
11538
11550
  created_at: {
11539
11551
  description: string;
11540
11552
  format: string;
@@ -32320,6 +32332,11 @@ declare const _default: {
32320
32332
  description: string;
32321
32333
  type: string;
32322
32334
  };
32335
+ customization_profile_id: {
32336
+ description: string;
32337
+ format: string;
32338
+ type: string;
32339
+ };
32323
32340
  exclude: {
32324
32341
  default: boolean;
32325
32342
  description: string;
@@ -44623,6 +44640,11 @@ declare const _default: {
44623
44640
  description: string;
44624
44641
  type: string;
44625
44642
  };
44643
+ customization_profile_id: {
44644
+ description: string;
44645
+ format: string;
44646
+ type: string;
44647
+ };
44626
44648
  exclude: {
44627
44649
  default: boolean;
44628
44650
  description: string;
@@ -45019,6 +45041,11 @@ declare const _default: {
45019
45041
  description: string;
45020
45042
  type: string;
45021
45043
  };
45044
+ customization_profile_id: {
45045
+ description: string;
45046
+ format: string;
45047
+ type: string;
45048
+ };
45022
45049
  exclude: {
45023
45050
  default: boolean;
45024
45051
  description: string;
@@ -57694,6 +57721,23 @@ declare const _default: {
57694
57721
  'application/json': {
57695
57722
  schema: {
57696
57723
  properties: {
57724
+ customer_portal_theme: {
57725
+ properties: {
57726
+ primary_color: {
57727
+ type: string;
57728
+ };
57729
+ primary_foreground_color: {
57730
+ type: string;
57731
+ };
57732
+ secondary_color: {
57733
+ type: string;
57734
+ };
57735
+ secondary_foreground_color: {
57736
+ type: string;
57737
+ };
57738
+ };
57739
+ type: string;
57740
+ };
57697
57741
  name: {
57698
57742
  default: null;
57699
57743
  nullable: boolean;
@@ -57706,7 +57750,6 @@ declare const _default: {
57706
57750
  type: string;
57707
57751
  };
57708
57752
  };
57709
- required: string[];
57710
57753
  type: string;
57711
57754
  };
57712
57755
  };
@@ -58077,6 +58120,24 @@ declare const _default: {
58077
58120
  'application/json': {
58078
58121
  schema: {
58079
58122
  properties: {
58123
+ customer_portal_theme: {
58124
+ nullable: boolean;
58125
+ properties: {
58126
+ primary_color: {
58127
+ type: string;
58128
+ };
58129
+ primary_foreground_color: {
58130
+ type: string;
58131
+ };
58132
+ secondary_color: {
58133
+ type: string;
58134
+ };
58135
+ secondary_foreground_color: {
58136
+ type: string;
58137
+ };
58138
+ };
58139
+ type: string;
58140
+ };
58080
58141
  customization_profile_id: {
58081
58142
  format: string;
58082
58143
  type: string;
@@ -58159,6 +58220,24 @@ declare const _default: {
58159
58220
  'application/json': {
58160
58221
  schema: {
58161
58222
  properties: {
58223
+ customer_portal_theme: {
58224
+ nullable: boolean;
58225
+ properties: {
58226
+ primary_color: {
58227
+ type: string;
58228
+ };
58229
+ primary_foreground_color: {
58230
+ type: string;
58231
+ };
58232
+ secondary_color: {
58233
+ type: string;
58234
+ };
58235
+ secondary_foreground_color: {
58236
+ type: string;
58237
+ };
58238
+ };
58239
+ type: string;
58240
+ };
58162
58241
  customization_profile_id: {
58163
58242
  format: string;
58164
58243
  type: string;
@@ -8307,6 +8307,15 @@ export default {
8307
8307
  description: 'A customization profile.',
8308
8308
  properties: {
8309
8309
  created_at: { format: 'date-time', type: 'string' },
8310
+ customer_portal_theme: {
8311
+ properties: {
8312
+ primary_color: { type: 'string' },
8313
+ primary_foreground_color: { type: 'string' },
8314
+ secondary_color: { type: 'string' },
8315
+ secondary_foreground_color: { type: 'string' },
8316
+ },
8317
+ type: 'object',
8318
+ },
8310
8319
  customization_profile_id: { format: 'uuid', type: 'string' },
8311
8320
  logo_url: { format: 'uri', type: 'string' },
8312
8321
  name: { nullable: true, type: 'string' },
@@ -17689,16 +17698,6 @@ export default {
17689
17698
  magic_link: {
17690
17699
  description: "Represents a Customer Portal. Customer Portal is a hosted, customizable interface for managing device access. It enables you to embed secure, pre-authenticated access flows into your product—either by sharing a link with users or embedding a view in an iframe.\n\nWith Customer Portal, you no longer need to build out frontend experiences for physical access, thermostats, and sensors. Instead, you can ship enterprise-grade access control experiences in a fraction of the time, while maintaining your product's branding and user experience.\n\nSeam hosts these flows, handling everything from account connection and device mapping to full-featured device control.",
17691
17700
  properties: {
17692
- building_block_type: {
17693
- description: 'Type of partner building block.',
17694
- enum: [
17695
- 'connect_accounts',
17696
- 'manage_devices',
17697
- 'organize_spaces',
17698
- 'console',
17699
- ],
17700
- type: 'string',
17701
- },
17702
17701
  created_at: {
17703
17702
  description: 'Date and time at which the magic link was created.',
17704
17703
  format: 'date-time',
@@ -17726,7 +17725,6 @@ export default {
17726
17725
  },
17727
17726
  required: [
17728
17727
  'url',
17729
- 'building_block_type',
17730
17728
  'customer_key',
17731
17729
  'expires_at',
17732
17730
  'workspace_id',
@@ -37614,6 +37612,11 @@ export default {
37614
37612
  description: 'Indicates whether the customer can customize the Instant Key profile for their properties.',
37615
37613
  type: 'boolean',
37616
37614
  },
37615
+ customization_profile_id: {
37616
+ description: 'The ID of the customization profile to use for the portal.',
37617
+ format: 'uuid',
37618
+ type: 'string',
37619
+ },
37617
37620
  exclude: {
37618
37621
  default: false,
37619
37622
  description: 'Whether to exclude this feature from the portal.',
@@ -49685,6 +49688,11 @@ export default {
49685
49688
  description: 'Indicates whether the customer can customize the Instant Key profile for their properties.',
49686
49689
  type: 'boolean',
49687
49690
  },
49691
+ customization_profile_id: {
49692
+ description: 'The ID of the customization profile to use for the portal.',
49693
+ format: 'uuid',
49694
+ type: 'string',
49695
+ },
49688
49696
  exclude: {
49689
49697
  default: false,
49690
49698
  description: 'Whether to exclude this feature from the portal.',
@@ -49971,6 +49979,11 @@ export default {
49971
49979
  description: 'Indicates whether the customer can customize the Instant Key profile for their properties.',
49972
49980
  type: 'boolean',
49973
49981
  },
49982
+ customization_profile_id: {
49983
+ description: 'The ID of the customization profile to use for the portal.',
49984
+ format: 'uuid',
49985
+ type: 'string',
49986
+ },
49974
49987
  exclude: {
49975
49988
  default: false,
49976
49989
  description: 'Whether to exclude this feature from the portal.',
@@ -60321,11 +60334,19 @@ export default {
60321
60334
  'application/json': {
60322
60335
  schema: {
60323
60336
  properties: {
60337
+ customer_portal_theme: {
60338
+ properties: {
60339
+ primary_color: { type: 'string' },
60340
+ primary_foreground_color: { type: 'string' },
60341
+ secondary_color: { type: 'string' },
60342
+ secondary_foreground_color: { type: 'string' },
60343
+ },
60344
+ type: 'object',
60345
+ },
60324
60346
  name: { default: null, nullable: true, type: 'string' },
60325
60347
  primary_color: { type: 'string' },
60326
60348
  secondary_color: { type: 'string' },
60327
60349
  },
60328
- required: ['primary_color', 'secondary_color'],
60329
60350
  type: 'object',
60330
60351
  },
60331
60352
  },
@@ -60589,6 +60610,16 @@ export default {
60589
60610
  'application/json': {
60590
60611
  schema: {
60591
60612
  properties: {
60613
+ customer_portal_theme: {
60614
+ nullable: true,
60615
+ properties: {
60616
+ primary_color: { type: 'string' },
60617
+ primary_foreground_color: { type: 'string' },
60618
+ secondary_color: { type: 'string' },
60619
+ secondary_foreground_color: { type: 'string' },
60620
+ },
60621
+ type: 'object',
60622
+ },
60592
60623
  customization_profile_id: { format: 'uuid', type: 'string' },
60593
60624
  name: { nullable: true, type: 'string' },
60594
60625
  primary_color: { type: 'string' },
@@ -60638,6 +60669,16 @@ export default {
60638
60669
  'application/json': {
60639
60670
  schema: {
60640
60671
  properties: {
60672
+ customer_portal_theme: {
60673
+ nullable: true,
60674
+ properties: {
60675
+ primary_color: { type: 'string' },
60676
+ primary_foreground_color: { type: 'string' },
60677
+ secondary_color: { type: 'string' },
60678
+ secondary_foreground_color: { type: 'string' },
60679
+ },
60680
+ type: 'object',
60681
+ },
60641
60682
  customization_profile_id: { format: 'uuid', type: 'string' },
60642
60683
  name: { nullable: true, type: 'string' },
60643
60684
  primary_color: { type: 'string' },