@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,143 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Astrada API
|
|
5
|
+
* Welcome to our API Reference. 👋
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
8
|
+
* Contact: developer@astrada.co
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { CardholderLinks } from './CardholderLinks';
|
|
17
|
+
import {
|
|
18
|
+
CardholderLinksFromJSON,
|
|
19
|
+
CardholderLinksFromJSONTyped,
|
|
20
|
+
CardholderLinksToJSON,
|
|
21
|
+
CardholderLinksToJSONTyped,
|
|
22
|
+
} from './CardholderLinks';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface NetworkBulkFeeds
|
|
28
|
+
*/
|
|
29
|
+
export interface NetworkBulkFeeds {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {CardholderLinks}
|
|
33
|
+
* @memberof NetworkBulkFeeds
|
|
34
|
+
*/
|
|
35
|
+
_links: CardholderLinks;
|
|
36
|
+
/**
|
|
37
|
+
* The unique identifier of this network bulk feed entity.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof NetworkBulkFeeds
|
|
40
|
+
*/
|
|
41
|
+
id: string;
|
|
42
|
+
/**
|
|
43
|
+
* The unique identifier of the subaccount related to this entity.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof NetworkBulkFeeds
|
|
46
|
+
*/
|
|
47
|
+
subaccountId: string;
|
|
48
|
+
/**
|
|
49
|
+
* The network where the feed belongs.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof NetworkBulkFeeds
|
|
52
|
+
*/
|
|
53
|
+
network: NetworkBulkFeedsNetworkEnum;
|
|
54
|
+
/**
|
|
55
|
+
* The identifier linked to the card network’s bulk enrollment feed.
|
|
56
|
+
* For Mastercard, this field should contain the DeliveryID.
|
|
57
|
+
* For Visa, this field should contain the RPIC in the following format 'RegionId_ProcessorId_IssuerId_CompanyId', such as '123_456_789_010'.
|
|
58
|
+
* For more details on our bulk enrollment process, refer to [this guide](https://docs.astrada.co/docs/network-bulk-enrollment).
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof NetworkBulkFeeds
|
|
62
|
+
*/
|
|
63
|
+
networkReference: string;
|
|
64
|
+
/**
|
|
65
|
+
* Date and Time at which this entity was created following ISO 8601 format.
|
|
66
|
+
* @type {Date}
|
|
67
|
+
* @memberof NetworkBulkFeeds
|
|
68
|
+
*/
|
|
69
|
+
createdAt: Date;
|
|
70
|
+
/**
|
|
71
|
+
* Date and Time at which this entity was last updated following ISO 8601 format.
|
|
72
|
+
* @type {Date}
|
|
73
|
+
* @memberof NetworkBulkFeeds
|
|
74
|
+
*/
|
|
75
|
+
updatedAt: Date;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const NetworkBulkFeedsNetworkEnum = {
|
|
83
|
+
Mastercard: 'MASTERCARD',
|
|
84
|
+
Visa: 'VISA'
|
|
85
|
+
} as const;
|
|
86
|
+
export type NetworkBulkFeedsNetworkEnum = typeof NetworkBulkFeedsNetworkEnum[keyof typeof NetworkBulkFeedsNetworkEnum];
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Check if a given object implements the NetworkBulkFeeds interface.
|
|
91
|
+
*/
|
|
92
|
+
export function instanceOfNetworkBulkFeeds(value: object): value is NetworkBulkFeeds {
|
|
93
|
+
if (!('_links' in value) || value['_links'] === undefined) return false;
|
|
94
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
95
|
+
if (!('subaccountId' in value) || value['subaccountId'] === undefined) return false;
|
|
96
|
+
if (!('network' in value) || value['network'] === undefined) return false;
|
|
97
|
+
if (!('networkReference' in value) || value['networkReference'] === undefined) return false;
|
|
98
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
99
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function NetworkBulkFeedsFromJSON(json: any): NetworkBulkFeeds {
|
|
104
|
+
return NetworkBulkFeedsFromJSONTyped(json, false);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function NetworkBulkFeedsFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetworkBulkFeeds {
|
|
108
|
+
if (json == null) {
|
|
109
|
+
return json;
|
|
110
|
+
}
|
|
111
|
+
return {
|
|
112
|
+
|
|
113
|
+
'_links': CardholderLinksFromJSON(json['_links']),
|
|
114
|
+
'id': json['id'],
|
|
115
|
+
'subaccountId': json['subaccountId'],
|
|
116
|
+
'network': json['network'],
|
|
117
|
+
'networkReference': json['networkReference'],
|
|
118
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
119
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function NetworkBulkFeedsToJSON(json: any): NetworkBulkFeeds {
|
|
124
|
+
return NetworkBulkFeedsToJSONTyped(json, false);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function NetworkBulkFeedsToJSONTyped(value?: NetworkBulkFeeds | null, ignoreDiscriminator: boolean = false): any {
|
|
128
|
+
if (value == null) {
|
|
129
|
+
return value;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
return {
|
|
133
|
+
|
|
134
|
+
'_links': CardholderLinksToJSON(value['_links']),
|
|
135
|
+
'id': value['id'],
|
|
136
|
+
'subaccountId': value['subaccountId'],
|
|
137
|
+
'network': value['network'],
|
|
138
|
+
'networkReference': value['networkReference'],
|
|
139
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
140
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Astrada API
|
|
5
|
+
* Welcome to our API Reference. 👋
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
8
|
+
* Contact: developer@astrada.co
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { SubaccountConfiguration } from './SubaccountConfiguration';
|
|
17
|
+
import {
|
|
18
|
+
SubaccountConfigurationFromJSON,
|
|
19
|
+
SubaccountConfigurationFromJSONTyped,
|
|
20
|
+
SubaccountConfigurationToJSON,
|
|
21
|
+
SubaccountConfigurationToJSONTyped,
|
|
22
|
+
} from './SubaccountConfiguration';
|
|
23
|
+
import type { CardholderLinks } from './CardholderLinks';
|
|
24
|
+
import {
|
|
25
|
+
CardholderLinksFromJSON,
|
|
26
|
+
CardholderLinksFromJSONTyped,
|
|
27
|
+
CardholderLinksToJSON,
|
|
28
|
+
CardholderLinksToJSONTyped,
|
|
29
|
+
} from './CardholderLinks';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface Subaccount
|
|
35
|
+
*/
|
|
36
|
+
export interface Subaccount {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {CardholderLinks}
|
|
40
|
+
* @memberof Subaccount
|
|
41
|
+
*/
|
|
42
|
+
_links: CardholderLinks;
|
|
43
|
+
/**
|
|
44
|
+
* The unique identifier of the account related to this entity.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Subaccount
|
|
47
|
+
*/
|
|
48
|
+
accountId: string;
|
|
49
|
+
/**
|
|
50
|
+
* The unique identifier of this subaccount entity.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof Subaccount
|
|
53
|
+
*/
|
|
54
|
+
id: string;
|
|
55
|
+
/**
|
|
56
|
+
* The name of this subaccount entity.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof Subaccount
|
|
59
|
+
*/
|
|
60
|
+
name: string;
|
|
61
|
+
/**
|
|
62
|
+
* Date and Time when this entity was created following ISO 8601 format.
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof Subaccount
|
|
65
|
+
*/
|
|
66
|
+
createdAt: Date;
|
|
67
|
+
/**
|
|
68
|
+
* Date and Time when this entity was last updated following ISO 8601 format.
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof Subaccount
|
|
71
|
+
*/
|
|
72
|
+
updatedAt: Date;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {SubaccountConfiguration}
|
|
76
|
+
* @memberof Subaccount
|
|
77
|
+
*/
|
|
78
|
+
configurations: SubaccountConfiguration;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Check if a given object implements the Subaccount interface.
|
|
83
|
+
*/
|
|
84
|
+
export function instanceOfSubaccount(value: object): value is Subaccount {
|
|
85
|
+
if (!('_links' in value) || value['_links'] === undefined) return false;
|
|
86
|
+
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
87
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
88
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
89
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
90
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
91
|
+
if (!('configurations' in value) || value['configurations'] === undefined) return false;
|
|
92
|
+
return true;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function SubaccountFromJSON(json: any): Subaccount {
|
|
96
|
+
return SubaccountFromJSONTyped(json, false);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function SubaccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): Subaccount {
|
|
100
|
+
if (json == null) {
|
|
101
|
+
return json;
|
|
102
|
+
}
|
|
103
|
+
return {
|
|
104
|
+
|
|
105
|
+
'_links': CardholderLinksFromJSON(json['_links']),
|
|
106
|
+
'accountId': json['accountId'],
|
|
107
|
+
'id': json['id'],
|
|
108
|
+
'name': json['name'],
|
|
109
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
110
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
111
|
+
'configurations': SubaccountConfigurationFromJSON(json['configurations']),
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function SubaccountToJSON(json: any): Subaccount {
|
|
116
|
+
return SubaccountToJSONTyped(json, false);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function SubaccountToJSONTyped(value?: Subaccount | null, ignoreDiscriminator: boolean = false): any {
|
|
120
|
+
if (value == null) {
|
|
121
|
+
return value;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
return {
|
|
125
|
+
|
|
126
|
+
'_links': CardholderLinksToJSON(value['_links']),
|
|
127
|
+
'accountId': value['accountId'],
|
|
128
|
+
'id': value['id'],
|
|
129
|
+
'name': value['name'],
|
|
130
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
131
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
132
|
+
'configurations': SubaccountConfigurationToJSON(value['configurations']),
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Astrada API
|
|
5
|
+
* Welcome to our API Reference. 👋
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
8
|
+
* Contact: developer@astrada.co
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { SubaccountConfigurationVISA } from './SubaccountConfigurationVISA';
|
|
17
|
+
import {
|
|
18
|
+
SubaccountConfigurationVISAFromJSON,
|
|
19
|
+
SubaccountConfigurationVISAFromJSONTyped,
|
|
20
|
+
SubaccountConfigurationVISAToJSON,
|
|
21
|
+
SubaccountConfigurationVISAToJSONTyped,
|
|
22
|
+
} from './SubaccountConfigurationVISA';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Subaccount network and regional configurations which determine the available networks and geographies during card enrollment.
|
|
26
|
+
* @export
|
|
27
|
+
* @interface SubaccountConfiguration
|
|
28
|
+
*/
|
|
29
|
+
export interface SubaccountConfiguration {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SubaccountConfigurationVISA}
|
|
33
|
+
* @memberof SubaccountConfiguration
|
|
34
|
+
*/
|
|
35
|
+
VISA?: SubaccountConfigurationVISA;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {SubaccountConfigurationVISA}
|
|
39
|
+
* @memberof SubaccountConfiguration
|
|
40
|
+
*/
|
|
41
|
+
MASTERCARD?: SubaccountConfigurationVISA;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the SubaccountConfiguration interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfSubaccountConfiguration(value: object): value is SubaccountConfiguration {
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function SubaccountConfigurationFromJSON(json: any): SubaccountConfiguration {
|
|
52
|
+
return SubaccountConfigurationFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function SubaccountConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubaccountConfiguration {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'VISA': json['VISA'] == null ? undefined : SubaccountConfigurationVISAFromJSON(json['VISA']),
|
|
62
|
+
'MASTERCARD': json['MASTERCARD'] == null ? undefined : SubaccountConfigurationVISAFromJSON(json['MASTERCARD']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function SubaccountConfigurationToJSON(json: any): SubaccountConfiguration {
|
|
67
|
+
return SubaccountConfigurationToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function SubaccountConfigurationToJSONTyped(value?: SubaccountConfiguration | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'VISA': SubaccountConfigurationVISAToJSON(value['VISA']),
|
|
78
|
+
'MASTERCARD': SubaccountConfigurationVISAToJSON(value['MASTERCARD']),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Astrada API
|
|
5
|
+
* Welcome to our API Reference. 👋
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
8
|
+
* Contact: developer@astrada.co
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SubaccountConfigurationVISA
|
|
20
|
+
*/
|
|
21
|
+
export interface SubaccountConfigurationVISA {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<string>}
|
|
25
|
+
* @memberof SubaccountConfigurationVISA
|
|
26
|
+
*/
|
|
27
|
+
countries: Array<SubaccountConfigurationVISACountriesEnum>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export const SubaccountConfigurationVISACountriesEnum = {
|
|
35
|
+
Usa: 'USA',
|
|
36
|
+
Can: 'CAN',
|
|
37
|
+
Gbr: 'GBR',
|
|
38
|
+
Ita: 'ITA',
|
|
39
|
+
Swe: 'SWE'
|
|
40
|
+
} as const;
|
|
41
|
+
export type SubaccountConfigurationVISACountriesEnum = typeof SubaccountConfigurationVISACountriesEnum[keyof typeof SubaccountConfigurationVISACountriesEnum];
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the SubaccountConfigurationVISA interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfSubaccountConfigurationVISA(value: object): value is SubaccountConfigurationVISA {
|
|
48
|
+
if (!('countries' in value) || value['countries'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function SubaccountConfigurationVISAFromJSON(json: any): SubaccountConfigurationVISA {
|
|
53
|
+
return SubaccountConfigurationVISAFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function SubaccountConfigurationVISAFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubaccountConfigurationVISA {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'countries': json['countries'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function SubaccountConfigurationVISAToJSON(json: any): SubaccountConfigurationVISA {
|
|
67
|
+
return SubaccountConfigurationVISAToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function SubaccountConfigurationVISAToJSONTyped(value?: SubaccountConfigurationVISA | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'countries': value['countries'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Astrada API
|
|
5
|
+
* Welcome to our API Reference. 👋
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-02-28
|
|
8
|
+
* Contact: developer@astrada.co
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { TransactionLinks } from './TransactionLinks';
|
|
17
|
+
import {
|
|
18
|
+
TransactionLinksFromJSON,
|
|
19
|
+
TransactionLinksFromJSONTyped,
|
|
20
|
+
TransactionLinksToJSON,
|
|
21
|
+
TransactionLinksToJSONTyped,
|
|
22
|
+
} from './TransactionLinks';
|
|
23
|
+
import type { TransactionAcceptor } from './TransactionAcceptor';
|
|
24
|
+
import {
|
|
25
|
+
TransactionAcceptorFromJSON,
|
|
26
|
+
TransactionAcceptorFromJSONTyped,
|
|
27
|
+
TransactionAcceptorToJSON,
|
|
28
|
+
TransactionAcceptorToJSONTyped,
|
|
29
|
+
} from './TransactionAcceptor';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface Transaction
|
|
35
|
+
*/
|
|
36
|
+
export interface Transaction {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {TransactionLinks}
|
|
40
|
+
* @memberof Transaction
|
|
41
|
+
*/
|
|
42
|
+
_links: TransactionLinks;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {TransactionAcceptor}
|
|
46
|
+
* @memberof Transaction
|
|
47
|
+
*/
|
|
48
|
+
acceptor: TransactionAcceptor;
|
|
49
|
+
/**
|
|
50
|
+
* The unique identifier of the card related to this entity.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof Transaction
|
|
53
|
+
*/
|
|
54
|
+
cardId: string;
|
|
55
|
+
/**
|
|
56
|
+
* The currency of the country of issuance following ISO 4217 alpha-3 format.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof Transaction
|
|
59
|
+
*/
|
|
60
|
+
cardholderBillingCurrency: string;
|
|
61
|
+
/**
|
|
62
|
+
* This amount models the hold on the cardholder account, in the card's issued currency, that occurs after an authorization and before a financial message. This amount will change as both authorization and financial messages are added to the Transaction in order to reflect the remaining hold amount.
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof Transaction
|
|
65
|
+
*/
|
|
66
|
+
cardholderBillingHoldAmount: number;
|
|
67
|
+
/**
|
|
68
|
+
* The settled amount models the bottom line impact to the customer's bank statement in the card's issued currency. This amount will change as financial messages are added to the Transaction.
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof Transaction
|
|
71
|
+
*/
|
|
72
|
+
cardholderBillingSettledAmount: number;
|
|
73
|
+
/**
|
|
74
|
+
* Cleansed merchant name.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof Transaction
|
|
77
|
+
*/
|
|
78
|
+
descriptor: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* The unique identifier of this transaction entity.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof Transaction
|
|
83
|
+
*/
|
|
84
|
+
id: string;
|
|
85
|
+
/**
|
|
86
|
+
* The card network that processed this payment.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof Transaction
|
|
89
|
+
*/
|
|
90
|
+
network: string;
|
|
91
|
+
/**
|
|
92
|
+
* The unique identifier of the subaccount related to this entity.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof Transaction
|
|
95
|
+
*/
|
|
96
|
+
subaccountId: string;
|
|
97
|
+
/**
|
|
98
|
+
* A semantic understanding of the state of the transaction within the transaction lifecycle. [Learn More](https://docs.astrada.co/docs/transaction)
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof Transaction
|
|
101
|
+
*/
|
|
102
|
+
status: TransactionStatusEnum;
|
|
103
|
+
/**
|
|
104
|
+
* The currency in which the transaction took place following ISO 4217 alpha-3 format.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof Transaction
|
|
107
|
+
*/
|
|
108
|
+
transactionCurrency: string;
|
|
109
|
+
/**
|
|
110
|
+
* This amount models the hold on the cardholder account, in the currency the transaction was conducted in, that occurs after an authorization and before a financial message. This amount will change as both authorization and financial messages are added to the Transaction in order to reflect the remaining hold amount.
|
|
111
|
+
* @type {number}
|
|
112
|
+
* @memberof Transaction
|
|
113
|
+
*/
|
|
114
|
+
transactionHoldAmount: number;
|
|
115
|
+
/**
|
|
116
|
+
* The date when the transaction took place following ISO 8601 format.
|
|
117
|
+
* @type {Date}
|
|
118
|
+
* @memberof Transaction
|
|
119
|
+
*/
|
|
120
|
+
transactionOccurrenceDate: Date | null;
|
|
121
|
+
/**
|
|
122
|
+
* The settled amount models the bottom line impact to the customer's bank statement in the currency the transaction was conducted in. This amount will change as financial messages are added to the Transaction.
|
|
123
|
+
* @type {number}
|
|
124
|
+
* @memberof Transaction
|
|
125
|
+
*/
|
|
126
|
+
transactionSettledAmount: number;
|
|
127
|
+
/**
|
|
128
|
+
* Date and Time when this entity was created following ISO 8601 format.
|
|
129
|
+
* @type {Date}
|
|
130
|
+
* @memberof Transaction
|
|
131
|
+
*/
|
|
132
|
+
createdAt: Date;
|
|
133
|
+
/**
|
|
134
|
+
* Date and Time when this entity was last updated following ISO 8601 format.
|
|
135
|
+
* @type {Date}
|
|
136
|
+
* @memberof Transaction
|
|
137
|
+
*/
|
|
138
|
+
updatedAt: Date;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @export
|
|
144
|
+
*/
|
|
145
|
+
export const TransactionStatusEnum = {
|
|
146
|
+
Pending: 'PENDING',
|
|
147
|
+
Voided: 'VOIDED',
|
|
148
|
+
Declined: 'DECLINED',
|
|
149
|
+
Settled: 'SETTLED'
|
|
150
|
+
} as const;
|
|
151
|
+
export type TransactionStatusEnum = typeof TransactionStatusEnum[keyof typeof TransactionStatusEnum];
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Check if a given object implements the Transaction interface.
|
|
156
|
+
*/
|
|
157
|
+
export function instanceOfTransaction(value: object): value is Transaction {
|
|
158
|
+
if (!('_links' in value) || value['_links'] === undefined) return false;
|
|
159
|
+
if (!('acceptor' in value) || value['acceptor'] === undefined) return false;
|
|
160
|
+
if (!('cardId' in value) || value['cardId'] === undefined) return false;
|
|
161
|
+
if (!('cardholderBillingCurrency' in value) || value['cardholderBillingCurrency'] === undefined) return false;
|
|
162
|
+
if (!('cardholderBillingHoldAmount' in value) || value['cardholderBillingHoldAmount'] === undefined) return false;
|
|
163
|
+
if (!('cardholderBillingSettledAmount' in value) || value['cardholderBillingSettledAmount'] === undefined) return false;
|
|
164
|
+
if (!('descriptor' in value) || value['descriptor'] === undefined) return false;
|
|
165
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
166
|
+
if (!('network' in value) || value['network'] === undefined) return false;
|
|
167
|
+
if (!('subaccountId' in value) || value['subaccountId'] === undefined) return false;
|
|
168
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
169
|
+
if (!('transactionCurrency' in value) || value['transactionCurrency'] === undefined) return false;
|
|
170
|
+
if (!('transactionHoldAmount' in value) || value['transactionHoldAmount'] === undefined) return false;
|
|
171
|
+
if (!('transactionOccurrenceDate' in value) || value['transactionOccurrenceDate'] === undefined) return false;
|
|
172
|
+
if (!('transactionSettledAmount' in value) || value['transactionSettledAmount'] === undefined) return false;
|
|
173
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
174
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
175
|
+
return true;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export function TransactionFromJSON(json: any): Transaction {
|
|
179
|
+
return TransactionFromJSONTyped(json, false);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export function TransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Transaction {
|
|
183
|
+
if (json == null) {
|
|
184
|
+
return json;
|
|
185
|
+
}
|
|
186
|
+
return {
|
|
187
|
+
|
|
188
|
+
'_links': TransactionLinksFromJSON(json['_links']),
|
|
189
|
+
'acceptor': TransactionAcceptorFromJSON(json['acceptor']),
|
|
190
|
+
'cardId': json['cardId'],
|
|
191
|
+
'cardholderBillingCurrency': json['cardholderBillingCurrency'],
|
|
192
|
+
'cardholderBillingHoldAmount': json['cardholderBillingHoldAmount'],
|
|
193
|
+
'cardholderBillingSettledAmount': json['cardholderBillingSettledAmount'],
|
|
194
|
+
'descriptor': json['descriptor'],
|
|
195
|
+
'id': json['id'],
|
|
196
|
+
'network': json['network'],
|
|
197
|
+
'subaccountId': json['subaccountId'],
|
|
198
|
+
'status': json['status'],
|
|
199
|
+
'transactionCurrency': json['transactionCurrency'],
|
|
200
|
+
'transactionHoldAmount': json['transactionHoldAmount'],
|
|
201
|
+
'transactionOccurrenceDate': (json['transactionOccurrenceDate'] == null ? null : new Date(json['transactionOccurrenceDate'])),
|
|
202
|
+
'transactionSettledAmount': json['transactionSettledAmount'],
|
|
203
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
204
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export function TransactionToJSON(json: any): Transaction {
|
|
209
|
+
return TransactionToJSONTyped(json, false);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export function TransactionToJSONTyped(value?: Transaction | null, ignoreDiscriminator: boolean = false): any {
|
|
213
|
+
if (value == null) {
|
|
214
|
+
return value;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
return {
|
|
218
|
+
|
|
219
|
+
'_links': TransactionLinksToJSON(value['_links']),
|
|
220
|
+
'acceptor': TransactionAcceptorToJSON(value['acceptor']),
|
|
221
|
+
'cardId': value['cardId'],
|
|
222
|
+
'cardholderBillingCurrency': value['cardholderBillingCurrency'],
|
|
223
|
+
'cardholderBillingHoldAmount': value['cardholderBillingHoldAmount'],
|
|
224
|
+
'cardholderBillingSettledAmount': value['cardholderBillingSettledAmount'],
|
|
225
|
+
'descriptor': value['descriptor'],
|
|
226
|
+
'id': value['id'],
|
|
227
|
+
'network': value['network'],
|
|
228
|
+
'subaccountId': value['subaccountId'],
|
|
229
|
+
'status': value['status'],
|
|
230
|
+
'transactionCurrency': value['transactionCurrency'],
|
|
231
|
+
'transactionHoldAmount': value['transactionHoldAmount'],
|
|
232
|
+
'transactionOccurrenceDate': ((value['transactionOccurrenceDate'] as any).toISOString().substring(0,10)),
|
|
233
|
+
'transactionSettledAmount': value['transactionSettledAmount'],
|
|
234
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
235
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
|