@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,33 @@
|
|
|
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 { Card } from './Card';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListCards200ResponseEmbedded
|
|
17
|
+
*/
|
|
18
|
+
export interface ListCards200ResponseEmbedded {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Card>}
|
|
22
|
+
* @memberof ListCards200ResponseEmbedded
|
|
23
|
+
*/
|
|
24
|
+
cards: Array<Card>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ListCards200ResponseEmbedded interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfListCards200ResponseEmbedded(value: object): value is ListCards200ResponseEmbedded;
|
|
30
|
+
export declare function ListCards200ResponseEmbeddedFromJSON(json: any): ListCards200ResponseEmbedded;
|
|
31
|
+
export declare function ListCards200ResponseEmbeddedFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListCards200ResponseEmbedded;
|
|
32
|
+
export declare function ListCards200ResponseEmbeddedToJSON(json: any): ListCards200ResponseEmbedded;
|
|
33
|
+
export declare function ListCards200ResponseEmbeddedToJSONTyped(value?: ListCards200ResponseEmbedded | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfListCards200ResponseEmbedded = instanceOfListCards200ResponseEmbedded;
|
|
17
|
+
exports.ListCards200ResponseEmbeddedFromJSON = ListCards200ResponseEmbeddedFromJSON;
|
|
18
|
+
exports.ListCards200ResponseEmbeddedFromJSONTyped = ListCards200ResponseEmbeddedFromJSONTyped;
|
|
19
|
+
exports.ListCards200ResponseEmbeddedToJSON = ListCards200ResponseEmbeddedToJSON;
|
|
20
|
+
exports.ListCards200ResponseEmbeddedToJSONTyped = ListCards200ResponseEmbeddedToJSONTyped;
|
|
21
|
+
const Card_1 = require("./Card");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListCards200ResponseEmbedded interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListCards200ResponseEmbedded(value) {
|
|
26
|
+
if (!('cards' in value) || value['cards'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ListCards200ResponseEmbeddedFromJSON(json) {
|
|
31
|
+
return ListCards200ResponseEmbeddedFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ListCards200ResponseEmbeddedFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'cards': (json['cards'].map(Card_1.CardFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ListCards200ResponseEmbeddedToJSON(json) {
|
|
42
|
+
return ListCards200ResponseEmbeddedToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ListCards200ResponseEmbeddedToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'cards': (value['cards'].map(Card_1.CardToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { ListCardSubscriptions200ResponseLinks } from './ListCardSubscriptions200ResponseLinks';
|
|
13
|
+
import type { ListNetworkBulkFeeds200ResponseEmbedded } from './ListNetworkBulkFeeds200ResponseEmbedded';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ListNetworkBulkFeeds200Response
|
|
18
|
+
*/
|
|
19
|
+
export interface ListNetworkBulkFeeds200Response {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ListCardSubscriptions200ResponseLinks}
|
|
23
|
+
* @memberof ListNetworkBulkFeeds200Response
|
|
24
|
+
*/
|
|
25
|
+
_links: ListCardSubscriptions200ResponseLinks;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ListNetworkBulkFeeds200ResponseEmbedded}
|
|
29
|
+
* @memberof ListNetworkBulkFeeds200Response
|
|
30
|
+
*/
|
|
31
|
+
_embedded: ListNetworkBulkFeeds200ResponseEmbedded;
|
|
32
|
+
/**
|
|
33
|
+
* Total number of network bulk feeds
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof ListNetworkBulkFeeds200Response
|
|
36
|
+
*/
|
|
37
|
+
totalItems: number;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the ListNetworkBulkFeeds200Response interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfListNetworkBulkFeeds200Response(value: object): value is ListNetworkBulkFeeds200Response;
|
|
43
|
+
export declare function ListNetworkBulkFeeds200ResponseFromJSON(json: any): ListNetworkBulkFeeds200Response;
|
|
44
|
+
export declare function ListNetworkBulkFeeds200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListNetworkBulkFeeds200Response;
|
|
45
|
+
export declare function ListNetworkBulkFeeds200ResponseToJSON(json: any): ListNetworkBulkFeeds200Response;
|
|
46
|
+
export declare function ListNetworkBulkFeeds200ResponseToJSONTyped(value?: ListNetworkBulkFeeds200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfListNetworkBulkFeeds200Response = instanceOfListNetworkBulkFeeds200Response;
|
|
17
|
+
exports.ListNetworkBulkFeeds200ResponseFromJSON = ListNetworkBulkFeeds200ResponseFromJSON;
|
|
18
|
+
exports.ListNetworkBulkFeeds200ResponseFromJSONTyped = ListNetworkBulkFeeds200ResponseFromJSONTyped;
|
|
19
|
+
exports.ListNetworkBulkFeeds200ResponseToJSON = ListNetworkBulkFeeds200ResponseToJSON;
|
|
20
|
+
exports.ListNetworkBulkFeeds200ResponseToJSONTyped = ListNetworkBulkFeeds200ResponseToJSONTyped;
|
|
21
|
+
const ListCardSubscriptions200ResponseLinks_1 = require("./ListCardSubscriptions200ResponseLinks");
|
|
22
|
+
const ListNetworkBulkFeeds200ResponseEmbedded_1 = require("./ListNetworkBulkFeeds200ResponseEmbedded");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ListNetworkBulkFeeds200Response interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfListNetworkBulkFeeds200Response(value) {
|
|
27
|
+
if (!('_links' in value) || value['_links'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('_embedded' in value) || value['_embedded'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ListNetworkBulkFeeds200ResponseFromJSON(json) {
|
|
36
|
+
return ListNetworkBulkFeeds200ResponseFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ListNetworkBulkFeeds200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'_links': (0, ListCardSubscriptions200ResponseLinks_1.ListCardSubscriptions200ResponseLinksFromJSON)(json['_links']),
|
|
44
|
+
'_embedded': (0, ListNetworkBulkFeeds200ResponseEmbedded_1.ListNetworkBulkFeeds200ResponseEmbeddedFromJSON)(json['_embedded']),
|
|
45
|
+
'totalItems': json['totalItems'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function ListNetworkBulkFeeds200ResponseToJSON(json) {
|
|
49
|
+
return ListNetworkBulkFeeds200ResponseToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function ListNetworkBulkFeeds200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'_links': (0, ListCardSubscriptions200ResponseLinks_1.ListCardSubscriptions200ResponseLinksToJSON)(value['_links']),
|
|
57
|
+
'_embedded': (0, ListNetworkBulkFeeds200ResponseEmbedded_1.ListNetworkBulkFeeds200ResponseEmbeddedToJSON)(value['_embedded']),
|
|
58
|
+
'totalItems': value['totalItems'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { NetworkBulkFeeds } from './NetworkBulkFeeds';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListNetworkBulkFeeds200ResponseEmbedded
|
|
17
|
+
*/
|
|
18
|
+
export interface ListNetworkBulkFeeds200ResponseEmbedded {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<NetworkBulkFeeds>}
|
|
22
|
+
* @memberof ListNetworkBulkFeeds200ResponseEmbedded
|
|
23
|
+
*/
|
|
24
|
+
networkBulkFeeds: Array<NetworkBulkFeeds>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ListNetworkBulkFeeds200ResponseEmbedded interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfListNetworkBulkFeeds200ResponseEmbedded(value: object): value is ListNetworkBulkFeeds200ResponseEmbedded;
|
|
30
|
+
export declare function ListNetworkBulkFeeds200ResponseEmbeddedFromJSON(json: any): ListNetworkBulkFeeds200ResponseEmbedded;
|
|
31
|
+
export declare function ListNetworkBulkFeeds200ResponseEmbeddedFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListNetworkBulkFeeds200ResponseEmbedded;
|
|
32
|
+
export declare function ListNetworkBulkFeeds200ResponseEmbeddedToJSON(json: any): ListNetworkBulkFeeds200ResponseEmbedded;
|
|
33
|
+
export declare function ListNetworkBulkFeeds200ResponseEmbeddedToJSONTyped(value?: ListNetworkBulkFeeds200ResponseEmbedded | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfListNetworkBulkFeeds200ResponseEmbedded = instanceOfListNetworkBulkFeeds200ResponseEmbedded;
|
|
17
|
+
exports.ListNetworkBulkFeeds200ResponseEmbeddedFromJSON = ListNetworkBulkFeeds200ResponseEmbeddedFromJSON;
|
|
18
|
+
exports.ListNetworkBulkFeeds200ResponseEmbeddedFromJSONTyped = ListNetworkBulkFeeds200ResponseEmbeddedFromJSONTyped;
|
|
19
|
+
exports.ListNetworkBulkFeeds200ResponseEmbeddedToJSON = ListNetworkBulkFeeds200ResponseEmbeddedToJSON;
|
|
20
|
+
exports.ListNetworkBulkFeeds200ResponseEmbeddedToJSONTyped = ListNetworkBulkFeeds200ResponseEmbeddedToJSONTyped;
|
|
21
|
+
const NetworkBulkFeeds_1 = require("./NetworkBulkFeeds");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListNetworkBulkFeeds200ResponseEmbedded interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListNetworkBulkFeeds200ResponseEmbedded(value) {
|
|
26
|
+
if (!('networkBulkFeeds' in value) || value['networkBulkFeeds'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ListNetworkBulkFeeds200ResponseEmbeddedFromJSON(json) {
|
|
31
|
+
return ListNetworkBulkFeeds200ResponseEmbeddedFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ListNetworkBulkFeeds200ResponseEmbeddedFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'networkBulkFeeds': (json['networkBulkFeeds'].map(NetworkBulkFeeds_1.NetworkBulkFeedsFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ListNetworkBulkFeeds200ResponseEmbeddedToJSON(json) {
|
|
42
|
+
return ListNetworkBulkFeeds200ResponseEmbeddedToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ListNetworkBulkFeeds200ResponseEmbeddedToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'networkBulkFeeds': (value['networkBulkFeeds'].map(NetworkBulkFeeds_1.NetworkBulkFeedsToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { ListWebhooks200ResponseEmbedded } from './ListWebhooks200ResponseEmbedded';
|
|
13
|
+
import type { ListWebhooks200ResponseLinks } from './ListWebhooks200ResponseLinks';
|
|
14
|
+
/**
|
|
15
|
+
* Astrada's Webhook resources.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ListWebhooks200Response
|
|
18
|
+
*/
|
|
19
|
+
export interface ListWebhooks200Response {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ListWebhooks200ResponseLinks}
|
|
23
|
+
* @memberof ListWebhooks200Response
|
|
24
|
+
*/
|
|
25
|
+
_links: ListWebhooks200ResponseLinks;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ListWebhooks200ResponseEmbedded}
|
|
29
|
+
* @memberof ListWebhooks200Response
|
|
30
|
+
*/
|
|
31
|
+
_embedded: ListWebhooks200ResponseEmbedded;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ListWebhooks200Response interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfListWebhooks200Response(value: object): value is ListWebhooks200Response;
|
|
37
|
+
export declare function ListWebhooks200ResponseFromJSON(json: any): ListWebhooks200Response;
|
|
38
|
+
export declare function ListWebhooks200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListWebhooks200Response;
|
|
39
|
+
export declare function ListWebhooks200ResponseToJSON(json: any): ListWebhooks200Response;
|
|
40
|
+
export declare function ListWebhooks200ResponseToJSONTyped(value?: ListWebhooks200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfListWebhooks200Response = instanceOfListWebhooks200Response;
|
|
17
|
+
exports.ListWebhooks200ResponseFromJSON = ListWebhooks200ResponseFromJSON;
|
|
18
|
+
exports.ListWebhooks200ResponseFromJSONTyped = ListWebhooks200ResponseFromJSONTyped;
|
|
19
|
+
exports.ListWebhooks200ResponseToJSON = ListWebhooks200ResponseToJSON;
|
|
20
|
+
exports.ListWebhooks200ResponseToJSONTyped = ListWebhooks200ResponseToJSONTyped;
|
|
21
|
+
const ListWebhooks200ResponseEmbedded_1 = require("./ListWebhooks200ResponseEmbedded");
|
|
22
|
+
const ListWebhooks200ResponseLinks_1 = require("./ListWebhooks200ResponseLinks");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ListWebhooks200Response interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfListWebhooks200Response(value) {
|
|
27
|
+
if (!('_links' in value) || value['_links'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('_embedded' in value) || value['_embedded'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ListWebhooks200ResponseFromJSON(json) {
|
|
34
|
+
return ListWebhooks200ResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ListWebhooks200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'_links': (0, ListWebhooks200ResponseLinks_1.ListWebhooks200ResponseLinksFromJSON)(json['_links']),
|
|
42
|
+
'_embedded': (0, ListWebhooks200ResponseEmbedded_1.ListWebhooks200ResponseEmbeddedFromJSON)(json['_embedded']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function ListWebhooks200ResponseToJSON(json) {
|
|
46
|
+
return ListWebhooks200ResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function ListWebhooks200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'_links': (0, ListWebhooks200ResponseLinks_1.ListWebhooks200ResponseLinksToJSON)(value['_links']),
|
|
54
|
+
'_embedded': (0, ListWebhooks200ResponseEmbedded_1.ListWebhooks200ResponseEmbeddedToJSON)(value['_embedded']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { Webhook } from './Webhook';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListWebhooks200ResponseEmbedded
|
|
17
|
+
*/
|
|
18
|
+
export interface ListWebhooks200ResponseEmbedded {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Webhook>}
|
|
22
|
+
* @memberof ListWebhooks200ResponseEmbedded
|
|
23
|
+
*/
|
|
24
|
+
items?: Array<Webhook>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ListWebhooks200ResponseEmbedded interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfListWebhooks200ResponseEmbedded(value: object): value is ListWebhooks200ResponseEmbedded;
|
|
30
|
+
export declare function ListWebhooks200ResponseEmbeddedFromJSON(json: any): ListWebhooks200ResponseEmbedded;
|
|
31
|
+
export declare function ListWebhooks200ResponseEmbeddedFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListWebhooks200ResponseEmbedded;
|
|
32
|
+
export declare function ListWebhooks200ResponseEmbeddedToJSON(json: any): ListWebhooks200ResponseEmbedded;
|
|
33
|
+
export declare function ListWebhooks200ResponseEmbeddedToJSONTyped(value?: ListWebhooks200ResponseEmbedded | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.instanceOfListWebhooks200ResponseEmbedded = instanceOfListWebhooks200ResponseEmbedded;
|
|
17
|
+
exports.ListWebhooks200ResponseEmbeddedFromJSON = ListWebhooks200ResponseEmbeddedFromJSON;
|
|
18
|
+
exports.ListWebhooks200ResponseEmbeddedFromJSONTyped = ListWebhooks200ResponseEmbeddedFromJSONTyped;
|
|
19
|
+
exports.ListWebhooks200ResponseEmbeddedToJSON = ListWebhooks200ResponseEmbeddedToJSON;
|
|
20
|
+
exports.ListWebhooks200ResponseEmbeddedToJSONTyped = ListWebhooks200ResponseEmbeddedToJSONTyped;
|
|
21
|
+
const Webhook_1 = require("./Webhook");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListWebhooks200ResponseEmbedded interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListWebhooks200ResponseEmbedded(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ListWebhooks200ResponseEmbeddedFromJSON(json) {
|
|
29
|
+
return ListWebhooks200ResponseEmbeddedFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ListWebhooks200ResponseEmbeddedFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'items': json['items'] == null ? undefined : (json['items'].map(Webhook_1.WebhookFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ListWebhooks200ResponseEmbeddedToJSON(json) {
|
|
40
|
+
return ListWebhooks200ResponseEmbeddedToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ListWebhooks200ResponseEmbeddedToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'items': value['items'] == null ? undefined : (value['items'].map(Webhook_1.WebhookToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { Link } from './Link';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListWebhooks200ResponseLinks
|
|
17
|
+
*/
|
|
18
|
+
export interface ListWebhooks200ResponseLinks {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Link}
|
|
22
|
+
* @memberof ListWebhooks200ResponseLinks
|
|
23
|
+
*/
|
|
24
|
+
self?: Link;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Link}
|
|
28
|
+
* @memberof ListWebhooks200ResponseLinks
|
|
29
|
+
*/
|
|
30
|
+
next?: Link;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ListWebhooks200ResponseLinks interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfListWebhooks200ResponseLinks(value: object): value is ListWebhooks200ResponseLinks;
|
|
36
|
+
export declare function ListWebhooks200ResponseLinksFromJSON(json: any): ListWebhooks200ResponseLinks;
|
|
37
|
+
export declare function ListWebhooks200ResponseLinksFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListWebhooks200ResponseLinks;
|
|
38
|
+
export declare function ListWebhooks200ResponseLinksToJSON(json: any): ListWebhooks200ResponseLinks;
|
|
39
|
+
export declare function ListWebhooks200ResponseLinksToJSONTyped(value?: ListWebhooks200ResponseLinks | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfListWebhooks200ResponseLinks = instanceOfListWebhooks200ResponseLinks;
|
|
17
|
+
exports.ListWebhooks200ResponseLinksFromJSON = ListWebhooks200ResponseLinksFromJSON;
|
|
18
|
+
exports.ListWebhooks200ResponseLinksFromJSONTyped = ListWebhooks200ResponseLinksFromJSONTyped;
|
|
19
|
+
exports.ListWebhooks200ResponseLinksToJSON = ListWebhooks200ResponseLinksToJSON;
|
|
20
|
+
exports.ListWebhooks200ResponseLinksToJSONTyped = ListWebhooks200ResponseLinksToJSONTyped;
|
|
21
|
+
const Link_1 = require("./Link");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListWebhooks200ResponseLinks interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListWebhooks200ResponseLinks(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ListWebhooks200ResponseLinksFromJSON(json) {
|
|
29
|
+
return ListWebhooks200ResponseLinksFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ListWebhooks200ResponseLinksFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'self': json['self'] == null ? undefined : (0, Link_1.LinkFromJSON)(json['self']),
|
|
37
|
+
'next': json['next'] == null ? undefined : (0, Link_1.LinkFromJSON)(json['next']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ListWebhooks200ResponseLinksToJSON(json) {
|
|
41
|
+
return ListWebhooks200ResponseLinksToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ListWebhooks200ResponseLinksToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'self': (0, Link_1.LinkToJSON)(value['self']),
|
|
49
|
+
'next': (0, Link_1.LinkToJSON)(value['next']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { CardholderLinks } from './CardholderLinks';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface NetworkBulkFeeds
|
|
17
|
+
*/
|
|
18
|
+
export interface NetworkBulkFeeds {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CardholderLinks}
|
|
22
|
+
* @memberof NetworkBulkFeeds
|
|
23
|
+
*/
|
|
24
|
+
_links: CardholderLinks;
|
|
25
|
+
/**
|
|
26
|
+
* The unique identifier of this network bulk feed entity.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof NetworkBulkFeeds
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
/**
|
|
32
|
+
* The unique identifier of the subaccount related to this entity.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof NetworkBulkFeeds
|
|
35
|
+
*/
|
|
36
|
+
subaccountId: string;
|
|
37
|
+
/**
|
|
38
|
+
* The network where the feed belongs.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof NetworkBulkFeeds
|
|
41
|
+
*/
|
|
42
|
+
network: NetworkBulkFeedsNetworkEnum;
|
|
43
|
+
/**
|
|
44
|
+
* The identifier linked to the card network’s bulk enrollment feed.
|
|
45
|
+
* For Mastercard, this field should contain the DeliveryID.
|
|
46
|
+
* For Visa, this field should contain the RPIC in the following format 'RegionId_ProcessorId_IssuerId_CompanyId', such as '123_456_789_010'.
|
|
47
|
+
* For more details on our bulk enrollment process, refer to [this guide](https://docs.astrada.co/docs/network-bulk-enrollment).
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof NetworkBulkFeeds
|
|
51
|
+
*/
|
|
52
|
+
networkReference: string;
|
|
53
|
+
/**
|
|
54
|
+
* Date and Time at which this entity was created following ISO 8601 format.
|
|
55
|
+
* @type {Date}
|
|
56
|
+
* @memberof NetworkBulkFeeds
|
|
57
|
+
*/
|
|
58
|
+
createdAt: Date;
|
|
59
|
+
/**
|
|
60
|
+
* Date and Time at which this entity was last updated following ISO 8601 format.
|
|
61
|
+
* @type {Date}
|
|
62
|
+
* @memberof NetworkBulkFeeds
|
|
63
|
+
*/
|
|
64
|
+
updatedAt: Date;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @export
|
|
68
|
+
*/
|
|
69
|
+
export declare const NetworkBulkFeedsNetworkEnum: {
|
|
70
|
+
readonly Mastercard: "MASTERCARD";
|
|
71
|
+
readonly Visa: "VISA";
|
|
72
|
+
};
|
|
73
|
+
export type NetworkBulkFeedsNetworkEnum = typeof NetworkBulkFeedsNetworkEnum[keyof typeof NetworkBulkFeedsNetworkEnum];
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the NetworkBulkFeeds interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfNetworkBulkFeeds(value: object): value is NetworkBulkFeeds;
|
|
78
|
+
export declare function NetworkBulkFeedsFromJSON(json: any): NetworkBulkFeeds;
|
|
79
|
+
export declare function NetworkBulkFeedsFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetworkBulkFeeds;
|
|
80
|
+
export declare function NetworkBulkFeedsToJSON(json: any): NetworkBulkFeeds;
|
|
81
|
+
export declare function NetworkBulkFeedsToJSONTyped(value?: NetworkBulkFeeds | null, ignoreDiscriminator?: boolean): any;
|