@seamapi/types 1.368.0 → 1.369.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.
@@ -1,34 +1,51 @@
1
1
  import { z } from 'zod';
2
2
  export const common_action_attempt = z.object({
3
- action_attempt_id: z.string().uuid().describe(`
4
- ---
5
- title: Action Attempt ID
6
- ---
7
- The ID of the action attempt.
8
- `),
9
- status: z.enum(['pending', 'success', 'error']),
3
+ action_attempt_id: z.string().uuid().describe('ID of the action attempt.'),
4
+ status: z
5
+ .enum(['pending', 'success', 'error'])
6
+ .describe('Status of the action attempt.'),
10
7
  });
11
8
  export const common_pending_action_attempt = common_action_attempt.extend({
12
9
  status: z.literal('pending'),
13
- result: z.null(),
14
- error: z.null(),
10
+ result: z
11
+ .null()
12
+ .describe('Result of the action attempt. Null for pending action attempts.'),
13
+ error: z
14
+ .null()
15
+ .describe('Errors associated with the action attempt. Null for pending action attempts.'),
15
16
  });
16
17
  export const common_succeeded_action_attempt = common_action_attempt.extend({
17
18
  status: z.literal('success'),
18
- error: z.null(),
19
+ error: z
20
+ .null()
21
+ .describe('Errors associated with the action attempt. Null for successful action attempts.'),
19
22
  });
20
23
  export const common_failed_action_attempt = common_action_attempt.extend({
21
24
  status: z.literal('error'),
22
- result: z.null(),
25
+ result: z
26
+ .null()
27
+ .describe('Result of the action attempt. Null for failed action attempts.'),
23
28
  });
24
29
  export const common_action_attempt_errors = [
25
- z.object({
26
- type: z.literal('uncategorized_error'),
27
- message: z.string(),
28
- }),
29
- z.object({
30
- type: z.literal('action_attempt_expired'),
31
- message: z.string(),
32
- }),
30
+ z
31
+ .object({
32
+ type: z
33
+ .literal('uncategorized_error')
34
+ .describe('Type of the error associated with the action attempt.'),
35
+ message: z
36
+ .string()
37
+ .describe('Message for the error associated with the action attempt.'),
38
+ })
39
+ .describe("Error that doesn't fit into other specific error categories."),
40
+ z
41
+ .object({
42
+ type: z
43
+ .literal('action_attempt_expired')
44
+ .describe('Type of the error associated with the action attempt.'),
45
+ message: z
46
+ .string()
47
+ .describe('Message for the error associated with the action attempt.'),
48
+ })
49
+ .describe('Error to indicate an expired action attempt.'),
33
50
  ];
34
51
  //# sourceMappingURL=common.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAK7C,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;CAChD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,qBAAqB,CAAC,MAAM,CAAC;IACxE,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC5B,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,IAAI,EAAE;CAChB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,qBAAqB,CAAC,MAAM,CAAC;IAC1E,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC5B,KAAK,EAAE,CAAC,CAAC,IAAI,EAAE;CAChB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,qBAAqB,CAAC,MAAM,CAAC;IACvE,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IAC1B,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE;CACjB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;QACtC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC;IACF,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;QACzC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC;CACM,CAAA"}
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAC1E,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;SACrC,QAAQ,CAAC,+BAA+B,CAAC;CAC7C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,qBAAqB,CAAC,MAAM,CAAC;IACxE,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC5B,MAAM,EAAE,CAAC;SACN,IAAI,EAAE;SACN,QAAQ,CACP,iEAAiE,CAClE;IACH,KAAK,EAAE,CAAC;SACL,IAAI,EAAE;SACN,QAAQ,CACP,8EAA8E,CAC/E;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,qBAAqB,CAAC,MAAM,CAAC;IAC1E,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC5B,KAAK,EAAE,CAAC;SACL,IAAI,EAAE;SACN,QAAQ,CACP,iFAAiF,CAClF;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,qBAAqB,CAAC,MAAM,CAAC;IACvE,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IAC1B,MAAM,EAAE,CAAC;SACN,IAAI,EAAE;SACN,QAAQ,CAAC,gEAAgE,CAAC;CAC9E,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,CAAC;SACE,MAAM,CAAC;QACN,IAAI,EAAE,CAAC;aACJ,OAAO,CAAC,qBAAqB,CAAC;aAC9B,QAAQ,CAAC,uDAAuD,CAAC;QACpE,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,CAAC,2DAA2D,CAAC;KACzE,CAAC;SACD,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,CAAC;SACE,MAAM,CAAC;QACN,IAAI,EAAE,CAAC;aACJ,OAAO,CAAC,wBAAwB,CAAC;aACjC,QAAQ,CAAC,uDAAuD,CAAC;QACpE,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,CAAC,2DAA2D,CAAC;KACzE,CAAC;SACD,QAAQ,CAAC,8CAA8C,CAAC;CACnD,CAAA"}
@@ -1,7 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  import { acs_credential, unmanaged_acs_credential, } from '../acs/acs-credential.js';
3
3
  import { common_action_attempt_errors, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
4
- const action_type = z.literal('ENCODE_CREDENTIAL');
4
+ const action_type = z
5
+ .literal('ENCODE_CREDENTIAL')
6
+ .describe('Type of action that the action attempt tracks.');
5
7
  const no_credential_on_encoder_error = z.object({
6
8
  type: z.literal('no_credential_on_encoder'),
7
9
  message: z.string(),
@@ -20,21 +22,23 @@ const error = z.union([
20
22
  incompatible_card_format_error,
21
23
  credential_cannot_be_reissued,
22
24
  ]);
23
- const result = acs_credential.or(unmanaged_acs_credential);
25
+ const result = acs_credential
26
+ .or(unmanaged_acs_credential)
27
+ .describe('If an encoding attempt was successful, includes the `acs_credential` data that was encoded onto the card.');
24
28
  export const encode_credential_action_attempt = z.discriminatedUnion('status', [
25
29
  common_pending_action_attempt
26
30
  .extend({
27
31
  action_type,
28
32
  })
29
- .describe('Encoding credential data from physical encoder.'),
33
+ .describe('Action attempt to track encoding credential data from the physical encoder onto a card.'),
30
34
  common_succeeded_action_attempt
31
35
  .extend({
32
36
  action_type,
33
37
  result,
34
38
  })
35
- .describe('Encoding credential data from physical encoder succeeded.'),
39
+ .describe('Action attempt to indicate that encoding credential data from the physical encoder onto a card succeeded.'),
36
40
  common_failed_action_attempt
37
41
  .extend({ action_type, error })
38
- .describe('Encoding credential data from physical encoder failed.'),
42
+ .describe('Action attempt to indicate that encoding credential data from the physical encoder onto a card failed.'),
39
43
  ]);
40
44
  //# sourceMappingURL=encode-credential.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"encode-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAA;AAElD,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,+BAA+B,CAAC;IAChD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IACpB,GAAG,4BAA4B;IAC/B,8BAA8B;IAC9B,8BAA8B;IAC9B,6BAA6B;CAC9B,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,cAAc,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAA;AAE1D,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC7E,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,2DAA2D,CAAC;IACxE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,wDAAwD,CAAC;CACtE,CAAC,CAAA"}
1
+ {"version":3,"file":"encode-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,mBAAmB,CAAC;KAC5B,QAAQ,CAAC,gDAAgD,CAAC,CAAA;AAE7D,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,+BAA+B,CAAC;IAChD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IACpB,GAAG,4BAA4B;IAC/B,8BAA8B;IAC9B,8BAA8B;IAC9B,6BAA6B;CAC9B,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,cAAc;KAC1B,EAAE,CAAC,wBAAwB,CAAC;KAC5B,QAAQ,CACP,2GAA2G,CAC5G,CAAA;AAEH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC7E,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CACP,yFAAyF,CAC1F;IACH,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CACP,2GAA2G,CAC5G;IACH,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC,CAAA"}
@@ -1468,13 +1468,14 @@ declare const _default: {
1468
1468
  description: string;
1469
1469
  format: string;
1470
1470
  type: string;
1471
- 'x-title': string;
1472
1471
  };
1473
1472
  action_type: {
1474
1473
  enum: string[];
1475
1474
  type: string;
1475
+ description?: never;
1476
1476
  };
1477
1477
  error: {
1478
+ description: string;
1478
1479
  nullable: boolean;
1479
1480
  properties?: never;
1480
1481
  required?: never;
@@ -1482,13 +1483,12 @@ declare const _default: {
1482
1483
  oneOf?: never;
1483
1484
  };
1484
1485
  result: {
1486
+ description: string;
1485
1487
  nullable: boolean;
1486
1488
  properties?: never;
1487
1489
  type?: never;
1488
1490
  required?: never;
1489
- description?: never;
1490
1491
  oneOf?: never;
1491
- 'x-route-path'?: never;
1492
1492
  };
1493
1493
  status: {
1494
1494
  enum: string[];
@@ -1504,13 +1504,14 @@ declare const _default: {
1504
1504
  description: string;
1505
1505
  format: string;
1506
1506
  type: string;
1507
- 'x-title': string;
1508
1507
  };
1509
1508
  action_type: {
1510
1509
  enum: string[];
1511
1510
  type: string;
1511
+ description?: never;
1512
1512
  };
1513
1513
  error: {
1514
+ description: string;
1514
1515
  nullable: boolean;
1515
1516
  properties?: never;
1516
1517
  required?: never;
@@ -1526,11 +1527,10 @@ declare const _default: {
1526
1527
  noise_threshold?: never;
1527
1528
  };
1528
1529
  type: string;
1530
+ description?: never;
1529
1531
  nullable?: never;
1530
1532
  required?: never;
1531
- description?: never;
1532
1533
  oneOf?: never;
1533
- 'x-route-path'?: never;
1534
1534
  };
1535
1535
  status: {
1536
1536
  enum: string[];
@@ -1546,11 +1546,11 @@ declare const _default: {
1546
1546
  description: string;
1547
1547
  format: string;
1548
1548
  type: string;
1549
- 'x-title': string;
1550
1549
  };
1551
1550
  action_type: {
1552
1551
  enum: string[];
1553
1552
  type: string;
1553
+ description?: never;
1554
1554
  };
1555
1555
  error: {
1556
1556
  properties: {
@@ -1563,17 +1563,17 @@ declare const _default: {
1563
1563
  };
1564
1564
  required: string[];
1565
1565
  type: string;
1566
+ description?: never;
1566
1567
  nullable?: never;
1567
1568
  oneOf?: never;
1568
1569
  };
1569
1570
  result: {
1571
+ description: string;
1570
1572
  nullable: boolean;
1571
1573
  properties?: never;
1572
1574
  type?: never;
1573
1575
  required?: never;
1574
- description?: never;
1575
1576
  oneOf?: never;
1576
- 'x-route-path'?: never;
1577
1577
  };
1578
1578
  status: {
1579
1579
  enum: string[];
@@ -1589,13 +1589,14 @@ declare const _default: {
1589
1589
  description: string;
1590
1590
  format: string;
1591
1591
  type: string;
1592
- 'x-title': string;
1593
1592
  };
1594
1593
  action_type: {
1595
1594
  enum: string[];
1596
1595
  type: string;
1596
+ description?: never;
1597
1597
  };
1598
1598
  error: {
1599
+ description: string;
1599
1600
  nullable: boolean;
1600
1601
  properties?: never;
1601
1602
  required?: never;
@@ -1960,10 +1961,9 @@ declare const _default: {
1960
1961
  };
1961
1962
  required: string[];
1962
1963
  type: string;
1963
- nullable?: never;
1964
1964
  description?: never;
1965
+ nullable?: never;
1965
1966
  oneOf?: never;
1966
- 'x-route-path'?: never;
1967
1967
  };
1968
1968
  status: {
1969
1969
  enum: string[];
@@ -1979,39 +1979,57 @@ declare const _default: {
1979
1979
  description: string;
1980
1980
  format: string;
1981
1981
  type: string;
1982
- 'x-title': string;
1983
1982
  };
1984
1983
  action_type: {
1985
1984
  enum: string[];
1986
1985
  type: string;
1986
+ description?: never;
1987
1987
  };
1988
1988
  error: {
1989
- oneOf: {
1989
+ oneOf: ({
1990
+ description: string;
1990
1991
  properties: {
1991
1992
  message: {
1993
+ description: string;
1992
1994
  type: string;
1993
1995
  };
1994
1996
  type: {
1997
+ description: string;
1995
1998
  enum: string[];
1996
1999
  type: string;
1997
2000
  };
1998
2001
  };
1999
2002
  required: string[];
2000
2003
  type: string;
2001
- }[];
2004
+ } | {
2005
+ properties: {
2006
+ message: {
2007
+ type: string;
2008
+ description?: never;
2009
+ };
2010
+ type: {
2011
+ enum: string[];
2012
+ type: string;
2013
+ description?: never;
2014
+ };
2015
+ };
2016
+ required: string[];
2017
+ type: string;
2018
+ description?: never;
2019
+ })[];
2020
+ description?: never;
2002
2021
  nullable?: never;
2003
2022
  properties?: never;
2004
2023
  required?: never;
2005
2024
  type?: never;
2006
2025
  };
2007
2026
  result: {
2027
+ description: string;
2008
2028
  nullable: boolean;
2009
2029
  properties?: never;
2010
2030
  type?: never;
2011
2031
  required?: never;
2012
- description?: never;
2013
2032
  oneOf?: never;
2014
- 'x-route-path'?: never;
2015
2033
  };
2016
2034
  status: {
2017
2035
  enum: string[];
@@ -2027,13 +2045,50 @@ declare const _default: {
2027
2045
  description: string;
2028
2046
  format: string;
2029
2047
  type: string;
2030
- 'x-title': string;
2031
2048
  };
2032
2049
  action_type: {
2050
+ description: string;
2033
2051
  enum: string[];
2034
2052
  type: string;
2035
2053
  };
2036
2054
  error: {
2055
+ description: string;
2056
+ nullable: boolean;
2057
+ properties?: never;
2058
+ required?: never;
2059
+ type?: never;
2060
+ oneOf?: never;
2061
+ };
2062
+ result: {
2063
+ description: string;
2064
+ nullable: boolean;
2065
+ properties?: never;
2066
+ type?: never;
2067
+ required?: never;
2068
+ oneOf?: never;
2069
+ };
2070
+ status: {
2071
+ enum: string[];
2072
+ type: string;
2073
+ };
2074
+ };
2075
+ required: string[];
2076
+ type: string;
2077
+ } | {
2078
+ description: string;
2079
+ properties: {
2080
+ action_attempt_id: {
2081
+ description: string;
2082
+ format: string;
2083
+ type: string;
2084
+ };
2085
+ action_type: {
2086
+ description: string;
2087
+ enum: string[];
2088
+ type: string;
2089
+ };
2090
+ error: {
2091
+ description: string;
2037
2092
  nullable: boolean;
2038
2093
  properties?: never;
2039
2094
  required?: never;
@@ -2272,7 +2327,6 @@ declare const _default: {
2272
2327
  type: string;
2273
2328
  'x-route-path': string;
2274
2329
  }[];
2275
- 'x-route-path': string;
2276
2330
  nullable?: never;
2277
2331
  properties?: never;
2278
2332
  type?: never;
@@ -2285,19 +2339,86 @@ declare const _default: {
2285
2339
  };
2286
2340
  required: string[];
2287
2341
  type: string;
2342
+ } | {
2343
+ description: string;
2344
+ properties: {
2345
+ action_attempt_id: {
2346
+ description: string;
2347
+ format: string;
2348
+ type: string;
2349
+ };
2350
+ action_type: {
2351
+ description: string;
2352
+ enum: string[];
2353
+ type: string;
2354
+ };
2355
+ error: {
2356
+ oneOf: ({
2357
+ description: string;
2358
+ properties: {
2359
+ message: {
2360
+ description: string;
2361
+ type: string;
2362
+ };
2363
+ type: {
2364
+ description: string;
2365
+ enum: string[];
2366
+ type: string;
2367
+ };
2368
+ };
2369
+ required: string[];
2370
+ type: string;
2371
+ } | {
2372
+ properties: {
2373
+ message: {
2374
+ type: string;
2375
+ description?: never;
2376
+ };
2377
+ type: {
2378
+ enum: string[];
2379
+ type: string;
2380
+ description?: never;
2381
+ };
2382
+ };
2383
+ required: string[];
2384
+ type: string;
2385
+ description?: never;
2386
+ })[];
2387
+ description?: never;
2388
+ nullable?: never;
2389
+ properties?: never;
2390
+ required?: never;
2391
+ type?: never;
2392
+ };
2393
+ result: {
2394
+ description: string;
2395
+ nullable: boolean;
2396
+ properties?: never;
2397
+ type?: never;
2398
+ required?: never;
2399
+ oneOf?: never;
2400
+ };
2401
+ status: {
2402
+ enum: string[];
2403
+ type: string;
2404
+ };
2405
+ };
2406
+ required: string[];
2407
+ type: string;
2288
2408
  } | {
2289
2409
  properties: {
2290
2410
  action_attempt_id: {
2291
2411
  description: string;
2292
2412
  format: string;
2293
2413
  type: string;
2294
- 'x-title': string;
2295
2414
  };
2296
2415
  action_type: {
2297
2416
  enum: string[];
2298
2417
  type: string;
2418
+ description?: never;
2299
2419
  };
2300
2420
  error: {
2421
+ description: string;
2301
2422
  nullable: boolean;
2302
2423
  properties?: never;
2303
2424
  required?: never;
@@ -2305,13 +2426,12 @@ declare const _default: {
2305
2426
  oneOf?: never;
2306
2427
  };
2307
2428
  result: {
2429
+ description: string;
2308
2430
  nullable: boolean;
2309
2431
  properties?: never;
2310
2432
  type?: never;
2311
2433
  required?: never;
2312
- description?: never;
2313
2434
  oneOf?: never;
2314
- 'x-route-path'?: never;
2315
2435
  };
2316
2436
  status: {
2317
2437
  enum: string[];
@@ -2327,13 +2447,14 @@ declare const _default: {
2327
2447
  description: string;
2328
2448
  format: string;
2329
2449
  type: string;
2330
- 'x-title': string;
2331
2450
  };
2332
2451
  action_type: {
2333
2452
  enum: string[];
2334
2453
  type: string;
2454
+ description?: never;
2335
2455
  };
2336
2456
  error: {
2457
+ description: string;
2337
2458
  nullable: boolean;
2338
2459
  properties?: never;
2339
2460
  required?: never;
@@ -2349,11 +2470,10 @@ declare const _default: {
2349
2470
  noise_threshold?: never;
2350
2471
  };
2351
2472
  type: string;
2473
+ description?: never;
2352
2474
  nullable?: never;
2353
2475
  required?: never;
2354
- description?: never;
2355
2476
  oneOf?: never;
2356
- 'x-route-path'?: never;
2357
2477
  };
2358
2478
  status: {
2359
2479
  enum: string[];
@@ -2369,11 +2489,11 @@ declare const _default: {
2369
2489
  description: string;
2370
2490
  format: string;
2371
2491
  type: string;
2372
- 'x-title': string;
2373
2492
  };
2374
2493
  action_type: {
2375
2494
  enum: string[];
2376
2495
  type: string;
2496
+ description?: never;
2377
2497
  };
2378
2498
  error: {
2379
2499
  properties: {
@@ -2386,17 +2506,17 @@ declare const _default: {
2386
2506
  };
2387
2507
  required: string[];
2388
2508
  type: string;
2509
+ description?: never;
2389
2510
  nullable?: never;
2390
2511
  oneOf?: never;
2391
2512
  };
2392
2513
  result: {
2514
+ description: string;
2393
2515
  nullable: boolean;
2394
2516
  properties?: never;
2395
2517
  type?: never;
2396
2518
  required?: never;
2397
- description?: never;
2398
2519
  oneOf?: never;
2399
- 'x-route-path'?: never;
2400
2520
  };
2401
2521
  status: {
2402
2522
  enum: string[];
@@ -2412,13 +2532,14 @@ declare const _default: {
2412
2532
  description: string;
2413
2533
  format: string;
2414
2534
  type: string;
2415
- 'x-title': string;
2416
2535
  };
2417
2536
  action_type: {
2418
2537
  enum: string[];
2419
2538
  type: string;
2539
+ description?: never;
2420
2540
  };
2421
2541
  error: {
2542
+ description: string;
2422
2543
  nullable: boolean;
2423
2544
  properties?: never;
2424
2545
  required?: never;
@@ -2434,11 +2555,10 @@ declare const _default: {
2434
2555
  noise_threshold?: never;
2435
2556
  };
2436
2557
  type: string;
2558
+ description?: never;
2437
2559
  nullable?: never;
2438
2560
  required?: never;
2439
- description?: never;
2440
2561
  oneOf?: never;
2441
- 'x-route-path'?: never;
2442
2562
  };
2443
2563
  status: {
2444
2564
  enum: string[];
@@ -2454,13 +2574,14 @@ declare const _default: {
2454
2574
  description: string;
2455
2575
  format: string;
2456
2576
  type: string;
2457
- 'x-title': string;
2458
2577
  };
2459
2578
  action_type: {
2460
2579
  enum: string[];
2461
2580
  type: string;
2581
+ description?: never;
2462
2582
  };
2463
2583
  error: {
2584
+ description: string;
2464
2585
  nullable: boolean;
2465
2586
  properties?: never;
2466
2587
  required?: never;
@@ -2476,11 +2597,10 @@ declare const _default: {
2476
2597
  access_code?: never;
2477
2598
  };
2478
2599
  type: string;
2600
+ description?: never;
2479
2601
  nullable?: never;
2480
2602
  required?: never;
2481
- description?: never;
2482
2603
  oneOf?: never;
2483
- 'x-route-path'?: never;
2484
2604
  };
2485
2605
  status: {
2486
2606
  enum: string[];