@astrada.co/ts-astrada-sdk 1.0.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/.editorconfig +10 -0
- package/.github/workflows/on-push.yml +65 -0
- package/.releaserc +21 -0
- package/CHANGELOG.md +13 -0
- package/README.md +1 -0
- package/dist/astrada.co-ts-astrada-sdk-1.0.0.tgz +0 -0
- package/lib/apis/CardApi.d.ts +57 -0
- package/lib/apis/CardApi.js +109 -0
- package/lib/apis/CardSubscriptionApi.d.ts +61 -0
- package/lib/apis/CardSubscriptionApi.js +133 -0
- package/lib/apis/CardholderApi.d.ts +31 -0
- package/lib/apis/CardholderApi.js +56 -0
- package/lib/apis/EnrollmentMethodsApi.d.ts +31 -0
- package/lib/apis/EnrollmentMethodsApi.js +57 -0
- package/lib/apis/NetworkBulkFeedsApi.d.ts +60 -0
- package/lib/apis/NetworkBulkFeedsApi.js +129 -0
- package/lib/apis/SubaccountsApi.d.ts +72 -0
- package/lib/apis/SubaccountsApi.js +157 -0
- package/lib/apis/TransactionMessagesApi.d.ts +31 -0
- package/lib/apis/TransactionMessagesApi.js +56 -0
- package/lib/apis/TransactionsApi.d.ts +56 -0
- package/lib/apis/TransactionsApi.js +106 -0
- package/lib/apis/WebhooksApi.d.ts +86 -0
- package/lib/apis/WebhooksApi.js +194 -0
- package/lib/apis/index.d.ts +9 -0
- package/lib/apis/index.js +27 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +21 -0
- package/lib/models/Card.d.ts +112 -0
- package/lib/models/Card.js +109 -0
- package/lib/models/CardLinks.d.ts +39 -0
- package/lib/models/CardLinks.js +53 -0
- package/lib/models/CardSubscription.d.ts +118 -0
- package/lib/models/CardSubscription.js +109 -0
- package/lib/models/CardSubscriptionLinks.d.ts +45 -0
- package/lib/models/CardSubscriptionLinks.js +57 -0
- package/lib/models/Cardholder.d.ts +64 -0
- package/lib/models/Cardholder.js +68 -0
- package/lib/models/CardholderCorporate.d.ts +38 -0
- package/lib/models/CardholderCorporate.js +50 -0
- package/lib/models/CardholderLinks.d.ts +33 -0
- package/lib/models/CardholderLinks.js +51 -0
- package/lib/models/Conflict.d.ts +57 -0
- package/lib/models/Conflict.js +67 -0
- package/lib/models/CreateNetworkBulkFeedRequest.d.ts +52 -0
- package/lib/models/CreateNetworkBulkFeedRequest.js +66 -0
- package/lib/models/CreateSubaccountRequest.d.ts +39 -0
- package/lib/models/CreateSubaccountRequest.js +55 -0
- package/lib/models/CreateWebhook201Response.d.ts +98 -0
- package/lib/models/CreateWebhook201Response.js +96 -0
- package/lib/models/CreateWebhookRequest.d.ts +67 -0
- package/lib/models/CreateWebhookRequest.js +73 -0
- package/lib/models/EnrollmentMethods200Response.d.ts +40 -0
- package/lib/models/EnrollmentMethods200Response.js +58 -0
- package/lib/models/EnrollmentMethodsRequest.d.ts +32 -0
- package/lib/models/EnrollmentMethodsRequest.js +50 -0
- package/lib/models/GetSubaccounts200Response.d.ts +40 -0
- package/lib/models/GetSubaccounts200Response.js +56 -0
- package/lib/models/GetSubaccounts200ResponseEmbedded.d.ts +33 -0
- package/lib/models/GetSubaccounts200ResponseEmbedded.js +51 -0
- package/lib/models/GetSubaccounts200ResponseLinks.d.ts +39 -0
- package/lib/models/GetSubaccounts200ResponseLinks.js +53 -0
- package/lib/models/GetTransactions200Response.d.ts +40 -0
- package/lib/models/GetTransactions200Response.js +56 -0
- package/lib/models/GetTransactions200ResponseEmbedded.d.ts +33 -0
- package/lib/models/GetTransactions200ResponseEmbedded.js +51 -0
- package/lib/models/InlineObject.d.ts +52 -0
- package/lib/models/InlineObject.js +64 -0
- package/lib/models/InlineObject1.d.ts +45 -0
- package/lib/models/InlineObject1.js +61 -0
- package/lib/models/InlineObject2.d.ts +45 -0
- package/lib/models/InlineObject2.js +61 -0
- package/lib/models/InlineObject3.d.ts +45 -0
- package/lib/models/InlineObject3.js +61 -0
- package/lib/models/InlineObject4.d.ts +57 -0
- package/lib/models/InlineObject4.js +65 -0
- package/lib/models/InlineObject5.d.ts +45 -0
- package/lib/models/InlineObject5.js +61 -0
- package/lib/models/InlineObjectErrorsInner.d.ts +38 -0
- package/lib/models/InlineObjectErrorsInner.js +54 -0
- package/lib/models/Link.d.ts +74 -0
- package/lib/models/Link.js +64 -0
- package/lib/models/ListCardSubscriptions200Response.d.ts +46 -0
- package/lib/models/ListCardSubscriptions200Response.js +60 -0
- package/lib/models/ListCardSubscriptions200ResponseEmbedded.d.ts +33 -0
- package/lib/models/ListCardSubscriptions200ResponseEmbedded.js +51 -0
- package/lib/models/ListCardSubscriptions200ResponseLinks.d.ts +57 -0
- package/lib/models/ListCardSubscriptions200ResponseLinks.js +59 -0
- package/lib/models/ListCards200Response.d.ts +46 -0
- package/lib/models/ListCards200Response.js +60 -0
- package/lib/models/ListCards200ResponseEmbedded.d.ts +33 -0
- package/lib/models/ListCards200ResponseEmbedded.js +51 -0
- package/lib/models/ListNetworkBulkFeeds200Response.d.ts +46 -0
- package/lib/models/ListNetworkBulkFeeds200Response.js +60 -0
- package/lib/models/ListNetworkBulkFeeds200ResponseEmbedded.d.ts +33 -0
- package/lib/models/ListNetworkBulkFeeds200ResponseEmbedded.js +51 -0
- package/lib/models/ListWebhooks200Response.d.ts +40 -0
- package/lib/models/ListWebhooks200Response.js +56 -0
- package/lib/models/ListWebhooks200ResponseEmbedded.d.ts +33 -0
- package/lib/models/ListWebhooks200ResponseEmbedded.js +49 -0
- package/lib/models/ListWebhooks200ResponseLinks.d.ts +39 -0
- package/lib/models/ListWebhooks200ResponseLinks.js +51 -0
- package/lib/models/NetworkBulkFeeds.d.ts +81 -0
- package/lib/models/NetworkBulkFeeds.js +83 -0
- package/lib/models/Subaccount.d.ts +70 -0
- package/lib/models/Subaccount.js +76 -0
- package/lib/models/SubaccountConfiguration.d.ts +39 -0
- package/lib/models/SubaccountConfiguration.js +51 -0
- package/lib/models/SubaccountConfigurationVISA.d.ts +43 -0
- package/lib/models/SubaccountConfigurationVISA.js +61 -0
- package/lib/models/Transaction.d.ts +140 -0
- package/lib/models/Transaction.js +126 -0
- package/lib/models/TransactionAcceptor.d.ts +50 -0
- package/lib/models/TransactionAcceptor.js +62 -0
- package/lib/models/TransactionLinks.d.ts +51 -0
- package/lib/models/TransactionLinks.js +57 -0
- package/lib/models/TransactionMessage.d.ts +184 -0
- package/lib/models/TransactionMessage.js +159 -0
- package/lib/models/TransactionMessageAcceptor.d.ts +68 -0
- package/lib/models/TransactionMessageAcceptor.js +72 -0
- package/lib/models/UnprocessableEntity.d.ts +45 -0
- package/lib/models/UnprocessableEntity.js +61 -0
- package/lib/models/UpdateCardSubscriptionRequest.d.ts +39 -0
- package/lib/models/UpdateCardSubscriptionRequest.js +55 -0
- package/lib/models/UpdateSubaccountRequest.d.ts +39 -0
- package/lib/models/UpdateSubaccountRequest.js +51 -0
- package/lib/models/UpdateWebhookRequest.d.ts +61 -0
- package/lib/models/UpdateWebhookRequest.js +65 -0
- package/lib/models/Webhook.d.ts +92 -0
- package/lib/models/Webhook.js +92 -0
- package/lib/models/index.d.ts +51 -0
- package/lib/models/index.js +69 -0
- package/lib/runtime.d.ts +215 -0
- package/lib/runtime.js +394 -0
- package/package.json +21 -0
- package/src/apis/CardApi.ts +174 -0
- package/src/apis/CardSubscriptionApi.ts +223 -0
- package/src/apis/CardholderApi.ts +93 -0
- package/src/apis/EnrollmentMethodsApi.ts +98 -0
- package/src/apis/NetworkBulkFeedsApi.ts +211 -0
- package/src/apis/SubaccountsApi.ts +253 -0
- package/src/apis/TransactionMessagesApi.ts +93 -0
- package/src/apis/TransactionsApi.ts +169 -0
- package/src/apis/WebhooksApi.ts +315 -0
- package/src/apis/index.ts +11 -0
- package/src/index.ts +5 -0
- package/src/models/Card.ts +187 -0
- package/src/models/CardLinks.ts +82 -0
- package/src/models/CardSubscription.ts +194 -0
- package/src/models/CardSubscriptionLinks.ts +91 -0
- package/src/models/Cardholder.ts +124 -0
- package/src/models/CardholderCorporate.ts +73 -0
- package/src/models/CardholderLinks.ts +74 -0
- package/src/models/Conflict.ts +102 -0
- package/src/models/CreateNetworkBulkFeedRequest.ts +95 -0
- package/src/models/CreateSubaccountRequest.ts +83 -0
- package/src/models/CreateWebhook201Response.ts +168 -0
- package/src/models/CreateWebhookRequest.ts +114 -0
- package/src/models/EnrollmentMethods200Response.ts +77 -0
- package/src/models/EnrollmentMethodsRequest.ts +66 -0
- package/src/models/GetSubaccounts200Response.ts +90 -0
- package/src/models/GetSubaccounts200ResponseEmbedded.ts +74 -0
- package/src/models/GetSubaccounts200ResponseLinks.ts +82 -0
- package/src/models/GetTransactions200Response.ts +90 -0
- package/src/models/GetTransactions200ResponseEmbedded.ts +74 -0
- package/src/models/InlineObject.ts +101 -0
- package/src/models/InlineObject1.ts +85 -0
- package/src/models/InlineObject2.ts +85 -0
- package/src/models/InlineObject3.ts +85 -0
- package/src/models/InlineObject4.ts +101 -0
- package/src/models/InlineObject5.ts +85 -0
- package/src/models/InlineObjectErrorsInner.ts +75 -0
- package/src/models/Link.ts +122 -0
- package/src/models/ListCardSubscriptions200Response.ts +99 -0
- package/src/models/ListCardSubscriptions200ResponseEmbedded.ts +74 -0
- package/src/models/ListCardSubscriptions200ResponseLinks.ts +106 -0
- package/src/models/ListCards200Response.ts +99 -0
- package/src/models/ListCards200ResponseEmbedded.ts +74 -0
- package/src/models/ListNetworkBulkFeeds200Response.ts +99 -0
- package/src/models/ListNetworkBulkFeeds200ResponseEmbedded.ts +74 -0
- package/src/models/ListWebhooks200Response.ts +90 -0
- package/src/models/ListWebhooks200ResponseEmbedded.ts +73 -0
- package/src/models/ListWebhooks200ResponseLinks.ts +81 -0
- package/src/models/NetworkBulkFeeds.ts +143 -0
- package/src/models/Subaccount.ts +135 -0
- package/src/models/SubaccountConfiguration.ts +81 -0
- package/src/models/SubaccountConfigurationVISA.ts +80 -0
- package/src/models/Transaction.ts +238 -0
- package/src/models/TransactionAcceptor.ts +93 -0
- package/src/models/TransactionLinks.ts +98 -0
- package/src/models/TransactionMessage.ts +289 -0
- package/src/models/TransactionMessageAcceptor.ts +119 -0
- package/src/models/UnprocessableEntity.ts +85 -0
- package/src/models/UpdateCardSubscriptionRequest.ts +75 -0
- package/src/models/UpdateSubaccountRequest.ts +81 -0
- package/src/models/UpdateWebhookRequest.ts +103 -0
- package/src/models/Webhook.ts +159 -0
- package/src/models/index.ts +53 -0
- package/src/runtime.ts +524 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Astrada API
|
|
3
|
+
* Welcome to our API Reference. 👋
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
6
|
+
* Contact: developer@astrada.co
|
|
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
|
+
import type { InlineObjectErrorsInner } from './InlineObjectErrorsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InlineObject
|
|
17
|
+
*/
|
|
18
|
+
export interface InlineObject {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof InlineObject
|
|
23
|
+
*/
|
|
24
|
+
detail: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof InlineObject
|
|
29
|
+
*/
|
|
30
|
+
title: InlineObjectTitleEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<InlineObjectErrorsInner>}
|
|
34
|
+
* @memberof InlineObject
|
|
35
|
+
*/
|
|
36
|
+
errors?: Array<InlineObjectErrorsInner>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export declare const InlineObjectTitleEnum: {
|
|
42
|
+
readonly BadRequest: "Bad Request";
|
|
43
|
+
};
|
|
44
|
+
export type InlineObjectTitleEnum = typeof InlineObjectTitleEnum[keyof typeof InlineObjectTitleEnum];
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the InlineObject interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfInlineObject(value: object): value is InlineObject;
|
|
49
|
+
export declare function InlineObjectFromJSON(json: any): InlineObject;
|
|
50
|
+
export declare function InlineObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject;
|
|
51
|
+
export declare function InlineObjectToJSON(json: any): InlineObject;
|
|
52
|
+
export declare function InlineObjectToJSONTyped(value?: InlineObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Astrada API
|
|
6
|
+
* Welcome to our API Reference. 👋
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
9
|
+
* Contact: developer@astrada.co
|
|
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.InlineObjectTitleEnum = void 0;
|
|
17
|
+
exports.instanceOfInlineObject = instanceOfInlineObject;
|
|
18
|
+
exports.InlineObjectFromJSON = InlineObjectFromJSON;
|
|
19
|
+
exports.InlineObjectFromJSONTyped = InlineObjectFromJSONTyped;
|
|
20
|
+
exports.InlineObjectToJSON = InlineObjectToJSON;
|
|
21
|
+
exports.InlineObjectToJSONTyped = InlineObjectToJSONTyped;
|
|
22
|
+
const InlineObjectErrorsInner_1 = require("./InlineObjectErrorsInner");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.InlineObjectTitleEnum = {
|
|
27
|
+
BadRequest: 'Bad Request'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the InlineObject interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfInlineObject(value) {
|
|
33
|
+
if (!('detail' in value) || value['detail'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function InlineObjectFromJSON(json) {
|
|
40
|
+
return InlineObjectFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function InlineObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'detail': json['detail'],
|
|
48
|
+
'title': json['title'],
|
|
49
|
+
'errors': json['errors'] == null ? undefined : (json['errors'].map(InlineObjectErrorsInner_1.InlineObjectErrorsInnerFromJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function InlineObjectToJSON(json) {
|
|
53
|
+
return InlineObjectToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function InlineObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'detail': value['detail'],
|
|
61
|
+
'title': value['title'],
|
|
62
|
+
'errors': value['errors'] == null ? undefined : (value['errors'].map(InlineObjectErrorsInner_1.InlineObjectErrorsInnerToJSON)),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Astrada API
|
|
3
|
+
* Welcome to our API Reference. 👋
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
6
|
+
* Contact: developer@astrada.co
|
|
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 InlineObject1
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineObject1 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineObject1
|
|
22
|
+
*/
|
|
23
|
+
detail: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InlineObject1
|
|
28
|
+
*/
|
|
29
|
+
title: InlineObject1TitleEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const InlineObject1TitleEnum: {
|
|
35
|
+
readonly Unauthorized: "Unauthorized";
|
|
36
|
+
};
|
|
37
|
+
export type InlineObject1TitleEnum = typeof InlineObject1TitleEnum[keyof typeof InlineObject1TitleEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the InlineObject1 interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfInlineObject1(value: object): value is InlineObject1;
|
|
42
|
+
export declare function InlineObject1FromJSON(json: any): InlineObject1;
|
|
43
|
+
export declare function InlineObject1FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject1;
|
|
44
|
+
export declare function InlineObject1ToJSON(json: any): InlineObject1;
|
|
45
|
+
export declare function InlineObject1ToJSONTyped(value?: InlineObject1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Astrada API
|
|
6
|
+
* Welcome to our API Reference. 👋
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
9
|
+
* Contact: developer@astrada.co
|
|
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.InlineObject1TitleEnum = void 0;
|
|
17
|
+
exports.instanceOfInlineObject1 = instanceOfInlineObject1;
|
|
18
|
+
exports.InlineObject1FromJSON = InlineObject1FromJSON;
|
|
19
|
+
exports.InlineObject1FromJSONTyped = InlineObject1FromJSONTyped;
|
|
20
|
+
exports.InlineObject1ToJSON = InlineObject1ToJSON;
|
|
21
|
+
exports.InlineObject1ToJSONTyped = InlineObject1ToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.InlineObject1TitleEnum = {
|
|
26
|
+
Unauthorized: 'Unauthorized'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the InlineObject1 interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfInlineObject1(value) {
|
|
32
|
+
if (!('detail' in value) || value['detail'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function InlineObject1FromJSON(json) {
|
|
39
|
+
return InlineObject1FromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function InlineObject1FromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'detail': json['detail'],
|
|
47
|
+
'title': json['title'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function InlineObject1ToJSON(json) {
|
|
51
|
+
return InlineObject1ToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function InlineObject1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'detail': value['detail'],
|
|
59
|
+
'title': value['title'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Astrada API
|
|
3
|
+
* Welcome to our API Reference. 👋
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
6
|
+
* Contact: developer@astrada.co
|
|
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 InlineObject2
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineObject2 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineObject2
|
|
22
|
+
*/
|
|
23
|
+
detail: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InlineObject2
|
|
28
|
+
*/
|
|
29
|
+
title: InlineObject2TitleEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const InlineObject2TitleEnum: {
|
|
35
|
+
readonly Forbidden: "Forbidden";
|
|
36
|
+
};
|
|
37
|
+
export type InlineObject2TitleEnum = typeof InlineObject2TitleEnum[keyof typeof InlineObject2TitleEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the InlineObject2 interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfInlineObject2(value: object): value is InlineObject2;
|
|
42
|
+
export declare function InlineObject2FromJSON(json: any): InlineObject2;
|
|
43
|
+
export declare function InlineObject2FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject2;
|
|
44
|
+
export declare function InlineObject2ToJSON(json: any): InlineObject2;
|
|
45
|
+
export declare function InlineObject2ToJSONTyped(value?: InlineObject2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Astrada API
|
|
6
|
+
* Welcome to our API Reference. 👋
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
9
|
+
* Contact: developer@astrada.co
|
|
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.InlineObject2TitleEnum = void 0;
|
|
17
|
+
exports.instanceOfInlineObject2 = instanceOfInlineObject2;
|
|
18
|
+
exports.InlineObject2FromJSON = InlineObject2FromJSON;
|
|
19
|
+
exports.InlineObject2FromJSONTyped = InlineObject2FromJSONTyped;
|
|
20
|
+
exports.InlineObject2ToJSON = InlineObject2ToJSON;
|
|
21
|
+
exports.InlineObject2ToJSONTyped = InlineObject2ToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.InlineObject2TitleEnum = {
|
|
26
|
+
Forbidden: 'Forbidden'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the InlineObject2 interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfInlineObject2(value) {
|
|
32
|
+
if (!('detail' in value) || value['detail'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function InlineObject2FromJSON(json) {
|
|
39
|
+
return InlineObject2FromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function InlineObject2FromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'detail': json['detail'],
|
|
47
|
+
'title': json['title'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function InlineObject2ToJSON(json) {
|
|
51
|
+
return InlineObject2ToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function InlineObject2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'detail': value['detail'],
|
|
59
|
+
'title': value['title'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Astrada API
|
|
3
|
+
* Welcome to our API Reference. 👋
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
6
|
+
* Contact: developer@astrada.co
|
|
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 InlineObject3
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineObject3 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineObject3
|
|
22
|
+
*/
|
|
23
|
+
detail: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InlineObject3
|
|
28
|
+
*/
|
|
29
|
+
title: InlineObject3TitleEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const InlineObject3TitleEnum: {
|
|
35
|
+
readonly InternalServerError: "Internal Server Error";
|
|
36
|
+
};
|
|
37
|
+
export type InlineObject3TitleEnum = typeof InlineObject3TitleEnum[keyof typeof InlineObject3TitleEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the InlineObject3 interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfInlineObject3(value: object): value is InlineObject3;
|
|
42
|
+
export declare function InlineObject3FromJSON(json: any): InlineObject3;
|
|
43
|
+
export declare function InlineObject3FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject3;
|
|
44
|
+
export declare function InlineObject3ToJSON(json: any): InlineObject3;
|
|
45
|
+
export declare function InlineObject3ToJSONTyped(value?: InlineObject3 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Astrada API
|
|
6
|
+
* Welcome to our API Reference. 👋
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
9
|
+
* Contact: developer@astrada.co
|
|
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.InlineObject3TitleEnum = void 0;
|
|
17
|
+
exports.instanceOfInlineObject3 = instanceOfInlineObject3;
|
|
18
|
+
exports.InlineObject3FromJSON = InlineObject3FromJSON;
|
|
19
|
+
exports.InlineObject3FromJSONTyped = InlineObject3FromJSONTyped;
|
|
20
|
+
exports.InlineObject3ToJSON = InlineObject3ToJSON;
|
|
21
|
+
exports.InlineObject3ToJSONTyped = InlineObject3ToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.InlineObject3TitleEnum = {
|
|
26
|
+
InternalServerError: 'Internal Server Error'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the InlineObject3 interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfInlineObject3(value) {
|
|
32
|
+
if (!('detail' in value) || value['detail'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function InlineObject3FromJSON(json) {
|
|
39
|
+
return InlineObject3FromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function InlineObject3FromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'detail': json['detail'],
|
|
47
|
+
'title': json['title'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function InlineObject3ToJSON(json) {
|
|
51
|
+
return InlineObject3ToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function InlineObject3ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'detail': value['detail'],
|
|
59
|
+
'title': value['title'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Astrada API
|
|
3
|
+
* Welcome to our API Reference. 👋
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
6
|
+
* Contact: developer@astrada.co
|
|
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 InlineObject4
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineObject4 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineObject4
|
|
22
|
+
*/
|
|
23
|
+
type?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InlineObject4
|
|
28
|
+
*/
|
|
29
|
+
instance?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InlineObject4
|
|
34
|
+
*/
|
|
35
|
+
detail: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InlineObject4
|
|
40
|
+
*/
|
|
41
|
+
title: InlineObject4TitleEnum;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const InlineObject4TitleEnum: {
|
|
47
|
+
readonly NotFound: "Not Found";
|
|
48
|
+
};
|
|
49
|
+
export type InlineObject4TitleEnum = typeof InlineObject4TitleEnum[keyof typeof InlineObject4TitleEnum];
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the InlineObject4 interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfInlineObject4(value: object): value is InlineObject4;
|
|
54
|
+
export declare function InlineObject4FromJSON(json: any): InlineObject4;
|
|
55
|
+
export declare function InlineObject4FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject4;
|
|
56
|
+
export declare function InlineObject4ToJSON(json: any): InlineObject4;
|
|
57
|
+
export declare function InlineObject4ToJSONTyped(value?: InlineObject4 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Astrada API
|
|
6
|
+
* Welcome to our API Reference. 👋
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
9
|
+
* Contact: developer@astrada.co
|
|
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.InlineObject4TitleEnum = void 0;
|
|
17
|
+
exports.instanceOfInlineObject4 = instanceOfInlineObject4;
|
|
18
|
+
exports.InlineObject4FromJSON = InlineObject4FromJSON;
|
|
19
|
+
exports.InlineObject4FromJSONTyped = InlineObject4FromJSONTyped;
|
|
20
|
+
exports.InlineObject4ToJSON = InlineObject4ToJSON;
|
|
21
|
+
exports.InlineObject4ToJSONTyped = InlineObject4ToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.InlineObject4TitleEnum = {
|
|
26
|
+
NotFound: 'Not Found'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the InlineObject4 interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfInlineObject4(value) {
|
|
32
|
+
if (!('detail' in value) || value['detail'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function InlineObject4FromJSON(json) {
|
|
39
|
+
return InlineObject4FromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function InlineObject4FromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
47
|
+
'instance': json['instance'] == null ? undefined : json['instance'],
|
|
48
|
+
'detail': json['detail'],
|
|
49
|
+
'title': json['title'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function InlineObject4ToJSON(json) {
|
|
53
|
+
return InlineObject4ToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function InlineObject4ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'type': value['type'],
|
|
61
|
+
'instance': value['instance'],
|
|
62
|
+
'detail': value['detail'],
|
|
63
|
+
'title': value['title'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Astrada API
|
|
3
|
+
* Welcome to our API Reference. 👋
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
6
|
+
* Contact: developer@astrada.co
|
|
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 InlineObject5
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineObject5 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineObject5
|
|
22
|
+
*/
|
|
23
|
+
detail: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InlineObject5
|
|
28
|
+
*/
|
|
29
|
+
title: InlineObject5TitleEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const InlineObject5TitleEnum: {
|
|
35
|
+
readonly ContentTooLarge: "Content Too Large";
|
|
36
|
+
};
|
|
37
|
+
export type InlineObject5TitleEnum = typeof InlineObject5TitleEnum[keyof typeof InlineObject5TitleEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the InlineObject5 interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfInlineObject5(value: object): value is InlineObject5;
|
|
42
|
+
export declare function InlineObject5FromJSON(json: any): InlineObject5;
|
|
43
|
+
export declare function InlineObject5FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject5;
|
|
44
|
+
export declare function InlineObject5ToJSON(json: any): InlineObject5;
|
|
45
|
+
export declare function InlineObject5ToJSONTyped(value?: InlineObject5 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Astrada API
|
|
6
|
+
* Welcome to our API Reference. 👋
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
9
|
+
* Contact: developer@astrada.co
|
|
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.InlineObject5TitleEnum = void 0;
|
|
17
|
+
exports.instanceOfInlineObject5 = instanceOfInlineObject5;
|
|
18
|
+
exports.InlineObject5FromJSON = InlineObject5FromJSON;
|
|
19
|
+
exports.InlineObject5FromJSONTyped = InlineObject5FromJSONTyped;
|
|
20
|
+
exports.InlineObject5ToJSON = InlineObject5ToJSON;
|
|
21
|
+
exports.InlineObject5ToJSONTyped = InlineObject5ToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.InlineObject5TitleEnum = {
|
|
26
|
+
ContentTooLarge: 'Content Too Large'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the InlineObject5 interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfInlineObject5(value) {
|
|
32
|
+
if (!('detail' in value) || value['detail'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function InlineObject5FromJSON(json) {
|
|
39
|
+
return InlineObject5FromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function InlineObject5FromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'detail': json['detail'],
|
|
47
|
+
'title': json['title'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function InlineObject5ToJSON(json) {
|
|
51
|
+
return InlineObject5ToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function InlineObject5ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'detail': value['detail'],
|
|
59
|
+
'title': value['title'],
|
|
60
|
+
};
|
|
61
|
+
}
|