@reacon-io/sdk 0.7.0-beta.1 → 2.0.0-beta.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 (52) hide show
  1. package/README.md +4 -4
  2. package/dist/esm/models/ApiError.d.ts +2 -3
  3. package/dist/esm/models/ApiError.js +3 -2
  4. package/dist/esm/models/ApiValidationIssue.d.ts +35 -0
  5. package/dist/esm/models/ApiValidationIssue.js +45 -0
  6. package/dist/esm/models/MailContactRecord.d.ts +3 -1
  7. package/dist/esm/models/MailCrmTimelineEvent.d.ts +3 -1
  8. package/dist/esm/models/MailExperimentDecisionRecord.d.ts +3 -1
  9. package/dist/esm/models/MailExperimentOutcomeRecord.d.ts +3 -1
  10. package/dist/esm/models/MailExperimentReportDecision.d.ts +3 -1
  11. package/dist/esm/models/MailGetPortfolioResponse200AnyOf.d.ts +4 -2
  12. package/dist/esm/models/MailGetPortfolioResponse200AnyOf.js +6 -4
  13. package/dist/esm/models/MailImapCursor.d.ts +38 -0
  14. package/dist/esm/models/MailImapCursor.js +51 -0
  15. package/dist/esm/models/MailMailboxConnectionRecord.d.ts +4 -1
  16. package/dist/esm/models/MailMailboxConnectionRecord.js +4 -2
  17. package/dist/esm/models/MailMessageRecord.d.ts +3 -1
  18. package/dist/esm/models/MailMessageVariantInput.d.ts +3 -1
  19. package/dist/esm/models/MailOperationalAnalyticsOverview.d.ts +9 -3
  20. package/dist/esm/models/MailWebhookEventSnapshot.d.ts +3 -1
  21. package/dist/esm/models/index.d.ts +2 -2
  22. package/dist/esm/models/index.js +2 -2
  23. package/dist/models/ApiError.d.ts +2 -3
  24. package/dist/models/ApiError.js +3 -2
  25. package/dist/models/ApiValidationIssue.d.ts +35 -0
  26. package/dist/models/ApiValidationIssue.js +52 -0
  27. package/dist/models/MailContactRecord.d.ts +3 -1
  28. package/dist/models/MailCrmTimelineEvent.d.ts +3 -1
  29. package/dist/models/MailExperimentDecisionRecord.d.ts +3 -1
  30. package/dist/models/MailExperimentOutcomeRecord.d.ts +3 -1
  31. package/dist/models/MailExperimentReportDecision.d.ts +3 -1
  32. package/dist/models/MailGetPortfolioResponse200AnyOf.d.ts +4 -2
  33. package/dist/models/MailGetPortfolioResponse200AnyOf.js +6 -4
  34. package/dist/models/MailImapCursor.d.ts +38 -0
  35. package/dist/models/MailImapCursor.js +58 -0
  36. package/dist/models/MailMailboxConnectionRecord.d.ts +4 -1
  37. package/dist/models/MailMailboxConnectionRecord.js +4 -2
  38. package/dist/models/MailMessageRecord.d.ts +3 -1
  39. package/dist/models/MailMessageVariantInput.d.ts +3 -1
  40. package/dist/models/MailOperationalAnalyticsOverview.d.ts +9 -3
  41. package/dist/models/MailWebhookEventSnapshot.d.ts +3 -1
  42. package/dist/models/index.d.ts +2 -2
  43. package/dist/models/index.js +2 -2
  44. package/package.json +1 -1
  45. package/dist/esm/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.d.ts +0 -40
  46. package/dist/esm/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.js +0 -53
  47. package/dist/esm/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.d.ts +0 -41
  48. package/dist/esm/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.js +0 -54
  49. package/dist/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.d.ts +0 -40
  50. package/dist/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.js +0 -60
  51. package/dist/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.d.ts +0 -41
  52. package/dist/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.js +0 -61
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @reacon-io/sdk@0.7.0-beta.1
1
+ # @reacon-io/sdk@2.0.0-beta.1
2
2
 
3
3
  A TypeScript SDK client for the api.reacon.io API.
4
4
 
@@ -295,6 +295,7 @@ All URIs are relative to *https://api.reacon.io*
295
295
  - [AirtableMappingOptionsResponseOptionsTablesInnerFieldsInner](docs/AirtableMappingOptionsResponseOptionsTablesInnerFieldsInner.md)
296
296
  - [ApiError](docs/ApiError.md)
297
297
  - [ApiKeyIdentity](docs/ApiKeyIdentity.md)
298
+ - [ApiValidationIssue](docs/ApiValidationIssue.md)
298
299
  - [AutomationHookCreated](docs/AutomationHookCreated.md)
299
300
  - [BatchVerificationError](docs/BatchVerificationError.md)
300
301
  - [BatchVerificationItem](docs/BatchVerificationItem.md)
@@ -537,6 +538,7 @@ All URIs are relative to *https://api.reacon.io*
537
538
  - [MailGetTrackingDomainResponse200Domain](docs/MailGetTrackingDomainResponse200Domain.md)
538
539
  - [MailGetWebhooksResponse200](docs/MailGetWebhooksResponse200.md)
539
540
  - [MailGetWebhooksResponse200SubscriptionsInner](docs/MailGetWebhooksResponse200SubscriptionsInner.md)
541
+ - [MailImapCursor](docs/MailImapCursor.md)
540
542
  - [MailInboxMessageRecord](docs/MailInboxMessageRecord.md)
541
543
  - [MailMailAddress](docs/MailMailAddress.md)
542
544
  - [MailMailPortfolio](docs/MailMailPortfolio.md)
@@ -607,8 +609,6 @@ All URIs are relative to *https://api.reacon.io*
607
609
  - [MailPostCampaignsByCampaignIdDuplicateResponse201](docs/MailPostCampaignsByCampaignIdDuplicateResponse201.md)
608
610
  - [MailPostCampaignsByCampaignIdLaunchRequest](docs/MailPostCampaignsByCampaignIdLaunchRequest.md)
609
611
  - [MailPostCampaignsByCampaignIdLaunchResponse200](docs/MailPostCampaignsByCampaignIdLaunchResponse200.md)
610
- - [MailPostCampaignsByCampaignIdLaunchResponse200AnyOf](docs/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.md)
611
- - [MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1](docs/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.md)
612
612
  - [MailPostCampaignsByCampaignIdLaunchResponse200Campaign](docs/MailPostCampaignsByCampaignIdLaunchResponse200Campaign.md)
613
613
  - [MailPostCampaignsByCampaignIdStateRequest](docs/MailPostCampaignsByCampaignIdStateRequest.md)
614
614
  - [MailPostCampaignsByCampaignIdStateResponse200](docs/MailPostCampaignsByCampaignIdStateResponse200.md)
@@ -930,7 +930,7 @@ and is automatically generated by the
930
930
  [OpenAPI Generator](https://openapi-generator.tech) project:
931
931
 
932
932
  - API version: `0.1.0`
933
- - Package version: `0.7.0-beta.1`
933
+ - Package version: `2.0.0-beta.1`
934
934
  - Generator version: `7.25.0`
935
935
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
936
936
 
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ApiValidationIssue } from './ApiValidationIssue.js';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -31,9 +32,7 @@ export interface ApiError {
31
32
  /**
32
33
  *
33
34
  */
34
- issues?: Array<{
35
- [key: string]: any;
36
- }>;
35
+ issues?: Array<ApiValidationIssue>;
37
36
  /**
38
37
  *
39
38
  */
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { ApiValidationIssueFromJSON, ApiValidationIssueToJSON, } from './ApiValidationIssue.js';
14
15
  /**
15
16
  * Check if a given object implements the ApiError interface.
16
17
  */
@@ -31,7 +32,7 @@ export function ApiErrorFromJSONTyped(json, ignoreDiscriminator) {
31
32
  'code': json['code'] == null ? undefined : json['code'],
32
33
  'details': json['details'] == null ? undefined : json['details'],
33
34
  'error': json['error'],
34
- 'issues': json['issues'] == null ? undefined : json['issues'],
35
+ 'issues': json['issues'] == null ? undefined : (json['issues'].map(ApiValidationIssueFromJSON)),
35
36
  'message': json['message'] == null ? undefined : json['message'],
36
37
  'remainingCredits': json['remainingCredits'] == null ? undefined : json['remainingCredits'],
37
38
  'requestId': json['requestId'] == null ? undefined : json['requestId'],
@@ -51,7 +52,7 @@ export function ApiErrorToJSONTyped(value, ignoreDiscriminator = false) {
51
52
  'code': value['code'],
52
53
  'details': value['details'],
53
54
  'error': value['error'],
54
- 'issues': value['issues'],
55
+ 'issues': value['issues'] == null ? undefined : (value['issues'].map(ApiValidationIssueToJSON)),
55
56
  'message': value['message'],
56
57
  'remainingCredits': value['remainingCredits'],
57
58
  'requestId': value['requestId'],
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Reacon API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Validation issue details. code identifies the validation rule and message explains the failure. Additional rule-specific properties, including the field path, are preserved.
14
+ * @export
15
+ * @interface ApiValidationIssue
16
+ */
17
+ export interface ApiValidationIssue {
18
+ [key: string]: any | any;
19
+ /**
20
+ *
21
+ */
22
+ code?: string;
23
+ /**
24
+ *
25
+ */
26
+ message?: string;
27
+ }
28
+ /**
29
+ * Check if a given object implements the ApiValidationIssue interface.
30
+ */
31
+ export declare function instanceOfApiValidationIssue(value: object): value is ApiValidationIssue;
32
+ export declare function ApiValidationIssueFromJSON(json: any): ApiValidationIssue;
33
+ export declare function ApiValidationIssueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiValidationIssue;
34
+ export declare function ApiValidationIssueToJSON(json: any): ApiValidationIssue;
35
+ export declare function ApiValidationIssueToJSONTyped(value?: ApiValidationIssue | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Reacon API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ApiValidationIssue interface.
16
+ */
17
+ export function instanceOfApiValidationIssue(value) {
18
+ return true;
19
+ }
20
+ export function ApiValidationIssueFromJSON(json) {
21
+ return ApiValidationIssueFromJSONTyped(json, false);
22
+ }
23
+ export function ApiValidationIssueFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ ...json,
29
+ 'code': json['code'] == null ? undefined : json['code'],
30
+ 'message': json['message'] == null ? undefined : json['message'],
31
+ };
32
+ }
33
+ export function ApiValidationIssueToJSON(json) {
34
+ return ApiValidationIssueToJSONTyped(json, false);
35
+ }
36
+ export function ApiValidationIssueToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ ...value,
42
+ 'code': value['code'],
43
+ 'message': value['message'],
44
+ };
45
+ }
@@ -22,7 +22,9 @@ export interface MailContactRecord {
22
22
  /**
23
23
  *
24
24
  */
25
- customFields: object;
25
+ customFields: {
26
+ [key: string]: string;
27
+ };
26
28
  /**
27
29
  *
28
30
  */
@@ -34,7 +34,9 @@ export interface MailCrmTimelineEvent {
34
34
  /**
35
35
  *
36
36
  */
37
- payload: object;
37
+ payload: {
38
+ [key: string]: any;
39
+ };
38
40
  /**
39
41
  *
40
42
  */
@@ -42,7 +42,9 @@ export interface MailExperimentDecisionRecord {
42
42
  /**
43
43
  *
44
44
  */
45
- resultSnapshot: object;
45
+ resultSnapshot: {
46
+ [key: string]: any;
47
+ };
46
48
  /**
47
49
  *
48
50
  */
@@ -22,7 +22,9 @@ export interface MailExperimentOutcomeRecord {
22
22
  /**
23
23
  *
24
24
  */
25
- metadata: object;
25
+ metadata: {
26
+ [key: string]: any;
27
+ };
26
28
  /**
27
29
  *
28
30
  */
@@ -42,7 +42,9 @@ export interface MailExperimentReportDecision {
42
42
  /**
43
43
  *
44
44
  */
45
- resultSnapshot: object;
45
+ resultSnapshot: {
46
+ [key: string]: any;
47
+ };
46
48
  /**
47
49
  *
48
50
  */
@@ -9,6 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { MailMailPortfolioSuppression } from './MailMailPortfolioSuppression.js';
13
+ import type { MailMailPortfolioTeam } from './MailMailPortfolioTeam.js';
12
14
  /**
13
15
  *
14
16
  * @export
@@ -22,11 +24,11 @@ export interface MailGetPortfolioResponse200AnyOf {
22
24
  /**
23
25
  *
24
26
  */
25
- suppressions: Array<object>;
27
+ suppressions: Array<MailMailPortfolioSuppression>;
26
28
  /**
27
29
  *
28
30
  */
29
- teams: Array<object>;
31
+ teams: Array<MailMailPortfolioTeam>;
30
32
  }
31
33
  /**
32
34
  * Check if a given object implements the MailGetPortfolioResponse200AnyOf interface.
@@ -11,6 +11,8 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { MailMailPortfolioSuppressionFromJSON, MailMailPortfolioSuppressionToJSON, } from './MailMailPortfolioSuppression.js';
15
+ import { MailMailPortfolioTeamFromJSON, MailMailPortfolioTeamToJSON, } from './MailMailPortfolioTeam.js';
14
16
  /**
15
17
  * Check if a given object implements the MailGetPortfolioResponse200AnyOf interface.
16
18
  */
@@ -32,8 +34,8 @@ export function MailGetPortfolioResponse200AnyOfFromJSONTyped(json, ignoreDiscri
32
34
  }
33
35
  return {
34
36
  'portfolio': json['portfolio'],
35
- 'suppressions': json['suppressions'],
36
- 'teams': json['teams'],
37
+ 'suppressions': (json['suppressions'].map(MailMailPortfolioSuppressionFromJSON)),
38
+ 'teams': (json['teams'].map(MailMailPortfolioTeamFromJSON)),
37
39
  };
38
40
  }
39
41
  export function MailGetPortfolioResponse200AnyOfToJSON(json) {
@@ -45,7 +47,7 @@ export function MailGetPortfolioResponse200AnyOfToJSONTyped(value, ignoreDiscrim
45
47
  }
46
48
  return {
47
49
  'portfolio': value['portfolio'],
48
- 'suppressions': value['suppressions'],
49
- 'teams': value['teams'],
50
+ 'suppressions': (value['suppressions'].map(MailMailPortfolioSuppressionToJSON)),
51
+ 'teams': (value['teams'].map(MailMailPortfolioTeamToJSON)),
50
52
  };
51
53
  }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Reacon API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface MailImapCursor
16
+ */
17
+ export interface MailImapCursor {
18
+ /**
19
+ *
20
+ */
21
+ lastUid: number;
22
+ /**
23
+ *
24
+ */
25
+ mailboxPath: string;
26
+ /**
27
+ *
28
+ */
29
+ uidValidity: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the MailImapCursor interface.
33
+ */
34
+ export declare function instanceOfMailImapCursor(value: object): value is MailImapCursor;
35
+ export declare function MailImapCursorFromJSON(json: any): MailImapCursor;
36
+ export declare function MailImapCursorFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailImapCursor;
37
+ export declare function MailImapCursorToJSON(json: any): MailImapCursor;
38
+ export declare function MailImapCursorToJSONTyped(value?: MailImapCursor | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Reacon API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the MailImapCursor interface.
16
+ */
17
+ export function instanceOfMailImapCursor(value) {
18
+ if (!('lastUid' in value) || value['lastUid'] === undefined)
19
+ return false;
20
+ if (!('mailboxPath' in value) || value['mailboxPath'] === undefined)
21
+ return false;
22
+ if (!('uidValidity' in value) || value['uidValidity'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function MailImapCursorFromJSON(json) {
27
+ return MailImapCursorFromJSONTyped(json, false);
28
+ }
29
+ export function MailImapCursorFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'lastUid': json['lastUid'],
35
+ 'mailboxPath': json['mailboxPath'],
36
+ 'uidValidity': json['uidValidity'],
37
+ };
38
+ }
39
+ export function MailImapCursorToJSON(json) {
40
+ return MailImapCursorToJSONTyped(json, false);
41
+ }
42
+ export function MailImapCursorToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'lastUid': value['lastUid'],
48
+ 'mailboxPath': value['mailboxPath'],
49
+ 'uidValidity': value['uidValidity'],
50
+ };
51
+ }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { MailStoredImapSettings } from './MailStoredImapSettings.js';
13
13
  import type { MailStoredSmtpSettings } from './MailStoredSmtpSettings.js';
14
+ import type { MailImapCursor } from './MailImapCursor.js';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -28,7 +29,9 @@ export interface MailMailboxConnectionRecord {
28
29
  /**
29
30
  *
30
31
  */
31
- cursors: object;
32
+ cursors: {
33
+ [key: string]: MailImapCursor;
34
+ };
32
35
  /**
33
36
  *
34
37
  */
@@ -11,8 +11,10 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { mapValues } from '../runtime.js';
14
15
  import { MailStoredImapSettingsFromJSON, MailStoredImapSettingsToJSON, } from './MailStoredImapSettings.js';
15
16
  import { MailStoredSmtpSettingsFromJSON, MailStoredSmtpSettingsToJSON, } from './MailStoredSmtpSettings.js';
17
+ import { MailImapCursorFromJSON, MailImapCursorToJSON, } from './MailImapCursor.js';
16
18
  /**
17
19
  * Check if a given object implements the MailMailboxConnectionRecord interface.
18
20
  */
@@ -49,7 +51,7 @@ export function MailMailboxConnectionRecordFromJSONTyped(json, ignoreDiscriminat
49
51
  return {
50
52
  'createdAt': json['createdAt'],
51
53
  'credentialId': json['credentialId'] == null ? undefined : json['credentialId'],
52
- 'cursors': json['cursors'],
54
+ 'cursors': (mapValues(json['cursors'], MailImapCursorFromJSON)),
53
55
  'imap': json['imap'] == null ? undefined : MailStoredImapSettingsFromJSON(json['imap']),
54
56
  'integrationConnectionId': json['integrationConnectionId'],
55
57
  'lastErrorCode': json['lastErrorCode'] == null ? undefined : json['lastErrorCode'],
@@ -75,7 +77,7 @@ export function MailMailboxConnectionRecordToJSONTyped(value, ignoreDiscriminato
75
77
  return {
76
78
  'createdAt': value['createdAt'],
77
79
  'credentialId': value['credentialId'],
78
- 'cursors': value['cursors'],
80
+ 'cursors': (mapValues(value['cursors'], MailImapCursorToJSON)),
79
81
  'imap': MailStoredImapSettingsToJSON(value['imap']),
80
82
  'integrationConnectionId': value['integrationConnectionId'],
81
83
  'lastErrorCode': value['lastErrorCode'],
@@ -70,7 +70,9 @@ export interface MailMessageRecord {
70
70
  /**
71
71
  *
72
72
  */
73
- metadata: object;
73
+ metadata: {
74
+ [key: string]: string;
75
+ };
74
76
  /**
75
77
  *
76
78
  */
@@ -34,7 +34,9 @@ export interface MailMessageVariantInput {
34
34
  /**
35
35
  *
36
36
  */
37
- variables?: object;
37
+ variables?: {
38
+ [key: string]: any;
39
+ };
38
40
  /**
39
41
  *
40
42
  */
@@ -23,7 +23,9 @@ export interface MailOperationalAnalyticsOverview {
23
23
  /**
24
24
  *
25
25
  */
26
- replyLabels: object;
26
+ replyLabels: {
27
+ [key: string]: number;
28
+ };
27
29
  /**
28
30
  *
29
31
  */
@@ -31,11 +33,15 @@ export interface MailOperationalAnalyticsOverview {
31
33
  /**
32
34
  *
33
35
  */
34
- stages: object;
36
+ stages: {
37
+ [key: string]: number;
38
+ };
35
39
  /**
36
40
  *
37
41
  */
38
- taskOutcomes: object;
42
+ taskOutcomes: {
43
+ [key: string]: number;
44
+ };
39
45
  }
40
46
  /**
41
47
  * Check if a given object implements the MailOperationalAnalyticsOverview interface.
@@ -30,7 +30,9 @@ export interface MailWebhookEventSnapshot {
30
30
  /**
31
31
  *
32
32
  */
33
- payload: object;
33
+ payload: {
34
+ [key: string]: any;
35
+ };
34
36
  /**
35
37
  *
36
38
  */
@@ -5,6 +5,7 @@ export * from './AirtableMappingOptionsResponseOptionsTablesInner.js';
5
5
  export * from './AirtableMappingOptionsResponseOptionsTablesInnerFieldsInner.js';
6
6
  export * from './ApiError.js';
7
7
  export * from './ApiKeyIdentity.js';
8
+ export * from './ApiValidationIssue.js';
8
9
  export * from './AutomationHookCreated.js';
9
10
  export * from './BatchVerificationError.js';
10
11
  export * from './BatchVerificationItem.js';
@@ -247,6 +248,7 @@ export * from './MailGetTrackingDomainResponse200.js';
247
248
  export * from './MailGetTrackingDomainResponse200Domain.js';
248
249
  export * from './MailGetWebhooksResponse200.js';
249
250
  export * from './MailGetWebhooksResponse200SubscriptionsInner.js';
251
+ export * from './MailImapCursor.js';
250
252
  export * from './MailInboxMessageRecord.js';
251
253
  export * from './MailMailAddress.js';
252
254
  export * from './MailMailPortfolio.js';
@@ -317,8 +319,6 @@ export * from './MailPostCadencesResponse200.js';
317
319
  export * from './MailPostCampaignsByCampaignIdDuplicateResponse201.js';
318
320
  export * from './MailPostCampaignsByCampaignIdLaunchRequest.js';
319
321
  export * from './MailPostCampaignsByCampaignIdLaunchResponse200.js';
320
- export * from './MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.js';
321
- export * from './MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.js';
322
322
  export * from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
323
323
  export * from './MailPostCampaignsByCampaignIdStateRequest.js';
324
324
  export * from './MailPostCampaignsByCampaignIdStateResponse200.js';
@@ -7,6 +7,7 @@ export * from './AirtableMappingOptionsResponseOptionsTablesInner.js';
7
7
  export * from './AirtableMappingOptionsResponseOptionsTablesInnerFieldsInner.js';
8
8
  export * from './ApiError.js';
9
9
  export * from './ApiKeyIdentity.js';
10
+ export * from './ApiValidationIssue.js';
10
11
  export * from './AutomationHookCreated.js';
11
12
  export * from './BatchVerificationError.js';
12
13
  export * from './BatchVerificationItem.js';
@@ -249,6 +250,7 @@ export * from './MailGetTrackingDomainResponse200.js';
249
250
  export * from './MailGetTrackingDomainResponse200Domain.js';
250
251
  export * from './MailGetWebhooksResponse200.js';
251
252
  export * from './MailGetWebhooksResponse200SubscriptionsInner.js';
253
+ export * from './MailImapCursor.js';
252
254
  export * from './MailInboxMessageRecord.js';
253
255
  export * from './MailMailAddress.js';
254
256
  export * from './MailMailPortfolio.js';
@@ -319,8 +321,6 @@ export * from './MailPostCadencesResponse200.js';
319
321
  export * from './MailPostCampaignsByCampaignIdDuplicateResponse201.js';
320
322
  export * from './MailPostCampaignsByCampaignIdLaunchRequest.js';
321
323
  export * from './MailPostCampaignsByCampaignIdLaunchResponse200.js';
322
- export * from './MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.js';
323
- export * from './MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.js';
324
324
  export * from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
325
325
  export * from './MailPostCampaignsByCampaignIdStateRequest.js';
326
326
  export * from './MailPostCampaignsByCampaignIdStateResponse200.js';
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ApiValidationIssue } from './ApiValidationIssue.js';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -31,9 +32,7 @@ export interface ApiError {
31
32
  /**
32
33
  *
33
34
  */
34
- issues?: Array<{
35
- [key: string]: any;
36
- }>;
35
+ issues?: Array<ApiValidationIssue>;
37
36
  /**
38
37
  *
39
38
  */
@@ -18,6 +18,7 @@ exports.ApiErrorFromJSON = ApiErrorFromJSON;
18
18
  exports.ApiErrorFromJSONTyped = ApiErrorFromJSONTyped;
19
19
  exports.ApiErrorToJSON = ApiErrorToJSON;
20
20
  exports.ApiErrorToJSONTyped = ApiErrorToJSONTyped;
21
+ const ApiValidationIssue_js_1 = require("./ApiValidationIssue.js");
21
22
  /**
22
23
  * Check if a given object implements the ApiError interface.
23
24
  */
@@ -38,7 +39,7 @@ function ApiErrorFromJSONTyped(json, ignoreDiscriminator) {
38
39
  'code': json['code'] == null ? undefined : json['code'],
39
40
  'details': json['details'] == null ? undefined : json['details'],
40
41
  'error': json['error'],
41
- 'issues': json['issues'] == null ? undefined : json['issues'],
42
+ 'issues': json['issues'] == null ? undefined : (json['issues'].map(ApiValidationIssue_js_1.ApiValidationIssueFromJSON)),
42
43
  'message': json['message'] == null ? undefined : json['message'],
43
44
  'remainingCredits': json['remainingCredits'] == null ? undefined : json['remainingCredits'],
44
45
  'requestId': json['requestId'] == null ? undefined : json['requestId'],
@@ -58,7 +59,7 @@ function ApiErrorToJSONTyped(value, ignoreDiscriminator = false) {
58
59
  'code': value['code'],
59
60
  'details': value['details'],
60
61
  'error': value['error'],
61
- 'issues': value['issues'],
62
+ 'issues': value['issues'] == null ? undefined : (value['issues'].map(ApiValidationIssue_js_1.ApiValidationIssueToJSON)),
62
63
  'message': value['message'],
63
64
  'remainingCredits': value['remainingCredits'],
64
65
  'requestId': value['requestId'],
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Reacon API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Validation issue details. code identifies the validation rule and message explains the failure. Additional rule-specific properties, including the field path, are preserved.
14
+ * @export
15
+ * @interface ApiValidationIssue
16
+ */
17
+ export interface ApiValidationIssue {
18
+ [key: string]: any | any;
19
+ /**
20
+ *
21
+ */
22
+ code?: string;
23
+ /**
24
+ *
25
+ */
26
+ message?: string;
27
+ }
28
+ /**
29
+ * Check if a given object implements the ApiValidationIssue interface.
30
+ */
31
+ export declare function instanceOfApiValidationIssue(value: object): value is ApiValidationIssue;
32
+ export declare function ApiValidationIssueFromJSON(json: any): ApiValidationIssue;
33
+ export declare function ApiValidationIssueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiValidationIssue;
34
+ export declare function ApiValidationIssueToJSON(json: any): ApiValidationIssue;
35
+ export declare function ApiValidationIssueToJSONTyped(value?: ApiValidationIssue | null, ignoreDiscriminator?: boolean): any;