@reacon-io/sdk 1.0.0-beta.1 → 2.0.1-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.
- package/README.md +7 -2
- package/dist/esm/models/ApiError.d.ts +2 -3
- package/dist/esm/models/ApiError.js +3 -2
- package/dist/esm/models/ApiValidationIssue.d.ts +35 -0
- package/dist/esm/models/ApiValidationIssue.js +45 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/ApiError.d.ts +2 -3
- package/dist/models/ApiError.js +3 -2
- package/dist/models/ApiValidationIssue.d.ts +35 -0
- package/dist/models/ApiValidationIssue.js +52 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @reacon-io/sdk@
|
|
1
|
+
# @reacon-io/sdk@2.0.1-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)
|
|
@@ -929,7 +930,7 @@ and is automatically generated by the
|
|
|
929
930
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
930
931
|
|
|
931
932
|
- API version: `0.1.0`
|
|
932
|
-
- Package version: `
|
|
933
|
+
- Package version: `2.0.1-beta.1`
|
|
933
934
|
- Generator version: `7.25.0`
|
|
934
935
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
935
936
|
|
|
@@ -972,3 +973,7 @@ npm publish
|
|
|
972
973
|
[Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0.html)
|
|
973
974
|
|
|
974
975
|
The service URL is fixed to https://api.reacon.io. SDKs do not accept a service URL override.
|
|
976
|
+
|
|
977
|
+
## Retrying requests
|
|
978
|
+
|
|
979
|
+
A timeout or dropped connection does not prove that the server rejected a request. Before retrying a write or credit-consuming operation, check its outcome. Only retry when the operation is safe to repeat; when present, respect the Retry-After response header.
|
|
@@ -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
|
+
}
|
|
@@ -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';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -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';
|
|
@@ -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
|
*/
|
package/dist/models/ApiError.js
CHANGED
|
@@ -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;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Reacon API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiValidationIssue = instanceOfApiValidationIssue;
|
|
17
|
+
exports.ApiValidationIssueFromJSON = ApiValidationIssueFromJSON;
|
|
18
|
+
exports.ApiValidationIssueFromJSONTyped = ApiValidationIssueFromJSONTyped;
|
|
19
|
+
exports.ApiValidationIssueToJSON = ApiValidationIssueToJSON;
|
|
20
|
+
exports.ApiValidationIssueToJSONTyped = ApiValidationIssueToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiValidationIssue interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiValidationIssue(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ApiValidationIssueFromJSON(json) {
|
|
28
|
+
return ApiValidationIssueFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ApiValidationIssueFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
...json,
|
|
36
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
37
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ApiValidationIssueToJSON(json) {
|
|
41
|
+
return ApiValidationIssueToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ApiValidationIssueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
...value,
|
|
49
|
+
'code': value['code'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
};
|
|
52
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/models/index.js
CHANGED
|
@@ -23,6 +23,7 @@ __exportStar(require("./AirtableMappingOptionsResponseOptionsTablesInner.js"), e
|
|
|
23
23
|
__exportStar(require("./AirtableMappingOptionsResponseOptionsTablesInnerFieldsInner.js"), exports);
|
|
24
24
|
__exportStar(require("./ApiError.js"), exports);
|
|
25
25
|
__exportStar(require("./ApiKeyIdentity.js"), exports);
|
|
26
|
+
__exportStar(require("./ApiValidationIssue.js"), exports);
|
|
26
27
|
__exportStar(require("./AutomationHookCreated.js"), exports);
|
|
27
28
|
__exportStar(require("./BatchVerificationError.js"), exports);
|
|
28
29
|
__exportStar(require("./BatchVerificationItem.js"), exports);
|