@seamapi/types 1.747.0 → 1.748.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
@@ -2704,15 +2704,25 @@ var updating_access_times_warning = common_access_method_warning.extend({
2704
2704
  }).describe(
2705
2705
  "Indicates that the access times for this [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods) are being updated."
2706
2706
  );
2707
+ var pulled_backup_access_code_warning = common_access_method_warning.extend({
2708
+ warning_code: zod.z.literal("pulled_backup_access_code").describe(warning_code_description5),
2709
+ original_access_method_id: zod.z.string().uuid().optional().describe(
2710
+ "ID of the original access method from which this backup access method was split, if applicable."
2711
+ )
2712
+ }).describe(
2713
+ "Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time."
2714
+ );
2707
2715
  var access_method_warning = zod.z.discriminatedUnion("warning_code", [
2708
2716
  being_deleted4,
2709
- updating_access_times_warning
2717
+ updating_access_times_warning,
2718
+ pulled_backup_access_code_warning
2710
2719
  ]).describe(
2711
2720
  "Warning associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods)."
2712
2721
  );
2713
2722
  zod.z.object({
2714
2723
  being_deleted: being_deleted4.optional().nullable(),
2715
- updating_access_times: updating_access_times_warning.optional().nullable()
2724
+ updating_access_times: updating_access_times_warning.optional().nullable(),
2725
+ pulled_backup_access_code: pulled_backup_access_code_warning.optional().nullable()
2716
2726
  });
2717
2727
  var common_pending_mutation2 = zod.z.object({
2718
2728
  created_at: zod.z.string().datetime().describe("Date and time at which the mutation was created."),
@@ -8860,6 +8870,32 @@ var openapi_default = {
8860
8870
  },
8861
8871
  required: ["created_at", "message", "warning_code"],
8862
8872
  type: "object"
8873
+ },
8874
+ {
8875
+ description: "Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.",
8876
+ properties: {
8877
+ created_at: {
8878
+ description: "Date and time at which Seam created the warning.",
8879
+ format: "date-time",
8880
+ type: "string"
8881
+ },
8882
+ message: {
8883
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
8884
+ type: "string"
8885
+ },
8886
+ original_access_method_id: {
8887
+ description: "ID of the original access method from which this backup access method was split, if applicable.",
8888
+ format: "uuid",
8889
+ type: "string"
8890
+ },
8891
+ warning_code: {
8892
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8893
+ enum: ["pulled_backup_access_code"],
8894
+ type: "string"
8895
+ }
8896
+ },
8897
+ required: ["created_at", "message", "warning_code"],
8898
+ type: "object"
8863
8899
  }
8864
8900
  ]
8865
8901
  },
@@ -41348,6 +41384,36 @@ var openapi_default = {
41348
41384
  "warning_code"
41349
41385
  ],
41350
41386
  type: "object"
41387
+ },
41388
+ {
41389
+ description: "Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.",
41390
+ properties: {
41391
+ created_at: {
41392
+ description: "Date and time at which Seam created the warning.",
41393
+ format: "date-time",
41394
+ type: "string"
41395
+ },
41396
+ message: {
41397
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
41398
+ type: "string"
41399
+ },
41400
+ original_access_method_id: {
41401
+ description: "ID of the original access method from which this backup access method was split, if applicable.",
41402
+ format: "uuid",
41403
+ type: "string"
41404
+ },
41405
+ warning_code: {
41406
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
41407
+ enum: ["pulled_backup_access_code"],
41408
+ type: "string"
41409
+ }
41410
+ },
41411
+ required: [
41412
+ "created_at",
41413
+ "message",
41414
+ "warning_code"
41415
+ ],
41416
+ type: "object"
41351
41417
  }
41352
41418
  ]
41353
41419
  },
@@ -41710,6 +41776,36 @@ var openapi_default = {
41710
41776
  "warning_code"
41711
41777
  ],
41712
41778
  type: "object"
41779
+ },
41780
+ {
41781
+ description: "Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.",
41782
+ properties: {
41783
+ created_at: {
41784
+ description: "Date and time at which Seam created the warning.",
41785
+ format: "date-time",
41786
+ type: "string"
41787
+ },
41788
+ message: {
41789
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
41790
+ type: "string"
41791
+ },
41792
+ original_access_method_id: {
41793
+ description: "ID of the original access method from which this backup access method was split, if applicable.",
41794
+ format: "uuid",
41795
+ type: "string"
41796
+ },
41797
+ warning_code: {
41798
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
41799
+ enum: ["pulled_backup_access_code"],
41800
+ type: "string"
41801
+ }
41802
+ },
41803
+ required: [
41804
+ "created_at",
41805
+ "message",
41806
+ "warning_code"
41807
+ ],
41808
+ type: "object"
41713
41809
  }
41714
41810
  ]
41715
41811
  },
@@ -42100,6 +42196,36 @@ var openapi_default = {
42100
42196
  "warning_code"
42101
42197
  ],
42102
42198
  type: "object"
42199
+ },
42200
+ {
42201
+ description: "Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.",
42202
+ properties: {
42203
+ created_at: {
42204
+ description: "Date and time at which Seam created the warning.",
42205
+ format: "date-time",
42206
+ type: "string"
42207
+ },
42208
+ message: {
42209
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
42210
+ type: "string"
42211
+ },
42212
+ original_access_method_id: {
42213
+ description: "ID of the original access method from which this backup access method was split, if applicable.",
42214
+ format: "uuid",
42215
+ type: "string"
42216
+ },
42217
+ warning_code: {
42218
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
42219
+ enum: ["pulled_backup_access_code"],
42220
+ type: "string"
42221
+ }
42222
+ },
42223
+ required: [
42224
+ "created_at",
42225
+ "message",
42226
+ "warning_code"
42227
+ ],
42228
+ type: "object"
42103
42229
  }
42104
42230
  ]
42105
42231
  },
@@ -42480,6 +42606,36 @@ var openapi_default = {
42480
42606
  "warning_code"
42481
42607
  ],
42482
42608
  type: "object"
42609
+ },
42610
+ {
42611
+ description: "Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.",
42612
+ properties: {
42613
+ created_at: {
42614
+ description: "Date and time at which Seam created the warning.",
42615
+ format: "date-time",
42616
+ type: "string"
42617
+ },
42618
+ message: {
42619
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
42620
+ type: "string"
42621
+ },
42622
+ original_access_method_id: {
42623
+ description: "ID of the original access method from which this backup access method was split, if applicable.",
42624
+ format: "uuid",
42625
+ type: "string"
42626
+ },
42627
+ warning_code: {
42628
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
42629
+ enum: ["pulled_backup_access_code"],
42630
+ type: "string"
42631
+ }
42632
+ },
42633
+ required: [
42634
+ "created_at",
42635
+ "message",
42636
+ "warning_code"
42637
+ ],
42638
+ type: "object"
42483
42639
  }
42484
42640
  ]
42485
42641
  },