@seamapi/types 1.817.0 → 1.819.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.
package/dist/index.cjs CHANGED
@@ -1429,6 +1429,14 @@ var salto_ks_subscription_limit_almost_reached2 = common_device_warning.extend({
1429
1429
  }).describe(
1430
1430
  "Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Increase your subscription limit or delete some users from your site."
1431
1431
  );
1432
+ var salto_ks_lock_access_code_support_removed = common_device_warning.extend({
1433
+ warning_code: zod.z.literal("salto_ks_lock_access_code_support_removed").describe(warning_code_description2)
1434
+ }).describe(`
1435
+ ---
1436
+ variant_group_key: access_codes
1437
+ ---
1438
+ Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.
1439
+ `);
1432
1440
  var wyze_device_missing_gateway = common_device_warning.extend({
1433
1441
  warning_code: zod.z.literal("wyze_device_missing_gateway").describe(warning_code_description2)
1434
1442
  }).describe(`
@@ -1557,6 +1565,7 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
1557
1565
  salto_ks_office_mode,
1558
1566
  salto_ks_privacy_mode,
1559
1567
  salto_ks_subscription_limit_almost_reached2,
1568
+ salto_ks_lock_access_code_support_removed,
1560
1569
  unknown_issue_with_phone,
1561
1570
  lockly_time_zone_not_configured,
1562
1571
  ultraloq_time_zone_unknown,
@@ -1585,6 +1594,7 @@ zod.z.object({
1585
1594
  salto_ks_office_mode: salto_ks_office_mode.optional().nullable(),
1586
1595
  salto_ks_privacy_mode: salto_ks_privacy_mode.optional().nullable(),
1587
1596
  salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached2.optional().nullable(),
1597
+ salto_ks_lock_access_code_support_removed: salto_ks_lock_access_code_support_removed.optional().nullable(),
1588
1598
  unknown_issue_with_phone: unknown_issue_with_phone.optional().nullable(),
1589
1599
  lockly_time_zone_not_configured: lockly_time_zone_not_configured.optional().nullable(),
1590
1600
  ultraloq_time_zone_unknown: ultraloq_time_zone_unknown.optional().nullable(),
@@ -20408,6 +20418,28 @@ var openapi_default = {
20408
20418
  required: ["message", "created_at", "warning_code"],
20409
20419
  type: "object"
20410
20420
  },
20421
+ {
20422
+ description: "Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.",
20423
+ properties: {
20424
+ created_at: {
20425
+ description: "Date and time at which Seam created the warning.",
20426
+ format: "date-time",
20427
+ type: "string"
20428
+ },
20429
+ message: {
20430
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
20431
+ type: "string"
20432
+ },
20433
+ warning_code: {
20434
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
20435
+ enum: ["salto_ks_lock_access_code_support_removed"],
20436
+ type: "string"
20437
+ }
20438
+ },
20439
+ required: ["message", "created_at", "warning_code"],
20440
+ type: "object",
20441
+ "x-variant-group-key": "access_codes"
20442
+ },
20411
20443
  {
20412
20444
  description: "Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.",
20413
20445
  properties: {
@@ -34631,6 +34663,28 @@ var openapi_default = {
34631
34663
  required: ["message", "created_at", "warning_code"],
34632
34664
  type: "object"
34633
34665
  },
34666
+ {
34667
+ description: "Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.",
34668
+ properties: {
34669
+ created_at: {
34670
+ description: "Date and time at which Seam created the warning.",
34671
+ format: "date-time",
34672
+ type: "string"
34673
+ },
34674
+ message: {
34675
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
34676
+ type: "string"
34677
+ },
34678
+ warning_code: {
34679
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
34680
+ enum: ["salto_ks_lock_access_code_support_removed"],
34681
+ type: "string"
34682
+ }
34683
+ },
34684
+ required: ["message", "created_at", "warning_code"],
34685
+ type: "object",
34686
+ "x-variant-group-key": "access_codes"
34687
+ },
34634
34688
  {
34635
34689
  description: "Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.",
34636
34690
  properties: {
@@ -66904,229 +66958,6 @@ var openapi_default = {
66904
66958
  "x-undocumented": "Internal endpoint for Console."
66905
66959
  }
66906
66960
  },
66907
- "/seam/customer/v1/connectors/ical/generate-config": {
66908
- post: {
66909
- description: "Fetches an iCal feed URL and uses AI to generate a parsing config\nbased on the feed's structure and content.",
66910
- operationId: "seamCustomerV1ConnectorsIcalGenerateConfigPost",
66911
- requestBody: {
66912
- content: {
66913
- "application/json": {
66914
- schema: {
66915
- properties: {
66916
- ical_url: {
66917
- description: "iCal feed URL to analyze",
66918
- format: "uri",
66919
- type: "string"
66920
- }
66921
- },
66922
- required: ["ical_url"],
66923
- type: "object"
66924
- }
66925
- }
66926
- }
66927
- },
66928
- responses: {
66929
- 200: {
66930
- content: {
66931
- "application/json": {
66932
- schema: {
66933
- properties: {
66934
- generated_config: {
66935
- properties: {
66936
- ical_config: {
66937
- properties: {
66938
- default_check_in_time: {
66939
- description: "Default check-in time (HH:MM) used when iCal gives date-only values",
66940
- pattern: "^\\d{2}:\\d{2}$",
66941
- type: "string"
66942
- },
66943
- default_check_out_time: {
66944
- description: "Default check-out time (HH:MM) used when iCal gives date-only values",
66945
- pattern: "^\\d{2}:\\d{2}$",
66946
- type: "string"
66947
- },
66948
- fields: {
66949
- properties: {
66950
- ends_at: {
66951
- description: "How to extract check-out date",
66952
- properties: {
66953
- pattern: {
66954
- description: "Regex with capture group to extract value from the property",
66955
- type: "string"
66956
- },
66957
- source: {
66958
- description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
66959
- type: "string"
66960
- },
66961
- type: {
66962
- description: "Special type handling \u2014 'date' parses iCal date formats",
66963
- enum: ["date"],
66964
- type: "string"
66965
- }
66966
- },
66967
- required: ["source"],
66968
- type: "object"
66969
- },
66970
- guest_email: {
66971
- description: "How to extract guest email",
66972
- properties: {
66973
- pattern: {
66974
- description: "Regex with capture group to extract value from the property",
66975
- type: "string"
66976
- },
66977
- source: {
66978
- description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
66979
- type: "string"
66980
- },
66981
- type: {
66982
- description: "Special type handling \u2014 'date' parses iCal date formats",
66983
- enum: ["date"],
66984
- type: "string"
66985
- }
66986
- },
66987
- required: ["source"],
66988
- type: "object"
66989
- },
66990
- guest_name: {
66991
- description: "How to extract guest name",
66992
- properties: {
66993
- pattern: {
66994
- description: "Regex with capture group to extract value from the property",
66995
- type: "string"
66996
- },
66997
- source: {
66998
- description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
66999
- type: "string"
67000
- },
67001
- type: {
67002
- description: "Special type handling \u2014 'date' parses iCal date formats",
67003
- enum: ["date"],
67004
- type: "string"
67005
- }
67006
- },
67007
- required: ["source"],
67008
- type: "object"
67009
- },
67010
- guest_phone: {
67011
- description: "How to extract guest phone",
67012
- properties: {
67013
- pattern: {
67014
- description: "Regex with capture group to extract value from the property",
67015
- type: "string"
67016
- },
67017
- source: {
67018
- description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
67019
- type: "string"
67020
- },
67021
- type: {
67022
- description: "Special type handling \u2014 'date' parses iCal date formats",
67023
- enum: ["date"],
67024
- type: "string"
67025
- }
67026
- },
67027
- required: ["source"],
67028
- type: "object"
67029
- },
67030
- reservation_key: {
67031
- description: "How to extract the reservation key (falls back to UID)",
67032
- properties: {
67033
- pattern: {
67034
- description: "Regex with capture group to extract value from the property",
67035
- type: "string"
67036
- },
67037
- source: {
67038
- description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
67039
- type: "string"
67040
- },
67041
- type: {
67042
- description: "Special type handling \u2014 'date' parses iCal date formats",
67043
- enum: ["date"],
67044
- type: "string"
67045
- }
67046
- },
67047
- required: ["source"],
67048
- type: "object"
67049
- },
67050
- starts_at: {
67051
- description: "How to extract check-in date",
67052
- properties: {
67053
- pattern: {
67054
- description: "Regex with capture group to extract value from the property",
67055
- type: "string"
67056
- },
67057
- source: {
67058
- description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
67059
- type: "string"
67060
- },
67061
- type: {
67062
- description: "Special type handling \u2014 'date' parses iCal date formats",
67063
- enum: ["date"],
67064
- type: "string"
67065
- }
67066
- },
67067
- required: ["source"],
67068
- type: "object"
67069
- }
67070
- },
67071
- required: ["starts_at", "ends_at"],
67072
- type: "object"
67073
- },
67074
- filter: {
67075
- description: "Optional filter to skip non-matching events",
67076
- properties: {
67077
- pattern: {
67078
- description: "Regex pattern \u2014 events not matching are skipped",
67079
- type: "string"
67080
- },
67081
- source: {
67082
- description: "iCal property name to match against",
67083
- type: "string"
67084
- }
67085
- },
67086
- required: ["source", "pattern"],
67087
- type: "object"
67088
- },
67089
- time_zone: {
67090
- description: "IANA time zone (e.g. America/New_York) applied when dates have no time/timezone",
67091
- type: "string"
67092
- }
67093
- },
67094
- required: ["fields"],
67095
- type: "object"
67096
- }
67097
- },
67098
- required: ["ical_config"],
67099
- type: "object"
67100
- },
67101
- ok: { type: "boolean" }
67102
- },
67103
- required: ["generated_config", "ok"],
67104
- type: "object"
67105
- }
67106
- }
67107
- },
67108
- description: "OK"
67109
- },
67110
- 400: { description: "Bad Request" },
67111
- 401: { description: "Unauthorized" }
67112
- },
67113
- security: [{ api_key: [] }, { console_session_with_workspace: [] }],
67114
- summary: "/seam/customer/v1/connectors/ical/generate-config",
67115
- tags: [],
67116
- "x-fern-sdk-group-name": [
67117
- "seam",
67118
- "customer",
67119
- "v1",
67120
- "connectors",
67121
- "ical"
67122
- ],
67123
- "x-fern-sdk-method-name": "generate-config",
67124
- "x-fern-sdk-return-value": "generated_config",
67125
- "x-response-key": "generated_config",
67126
- "x-title": "Generate iCal Config",
67127
- "x-undocumented": "Only used internally."
67128
- }
67129
- },
67130
66961
  "/seam/customer/v1/connectors/ical/validate-config": {
67131
66962
  post: {
67132
66963
  description: "Fetches a sample iCal feed and validates the config against it,\nreturning the parsed reservations so the caller can verify\nextraction is correct.",