@astrada.co/ts-astrada-sdk 1.2.0 → 1.3.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/CHANGELOG.md +2 -2
- package/README.md +0 -2
- package/dist/apis/CardApi.js +218 -0
- package/dist/apis/CardSubscriptionApi.js +268 -0
- package/dist/apis/CardholderApi.js +138 -0
- package/dist/apis/EnrollmentMethodsApi.js +139 -0
- package/dist/apis/NetworkBulkFeedsApi.js +264 -0
- package/dist/apis/SubaccountsApi.js +319 -0
- package/dist/apis/TransactionMessagesApi.js +138 -0
- package/dist/apis/TransactionsApi.js +215 -0
- package/dist/apis/WebhooksApi.js +380 -0
- package/{lib → dist}/models/Card.js +5 -4
- package/{lib → dist}/models/CardLinks.js +3 -2
- package/{lib → dist}/models/CardSubscription.js +7 -6
- package/{lib → dist}/models/CardSubscriptionLinks.js +3 -2
- package/{lib → dist}/models/Cardholder.js +6 -5
- package/{lib → dist}/models/CardholderCorporate.js +2 -1
- package/{lib → dist}/models/CardholderLinks.js +3 -2
- package/{lib → dist}/models/Conflict.js +2 -1
- package/{lib → dist}/models/CreateNetworkBulkFeedRequest.js +2 -1
- package/{lib → dist}/models/CreateSubaccountRequest.js +3 -2
- package/{lib → dist}/models/CreateWebhook201Response.d.ts +2 -0
- package/{lib → dist}/models/CreateWebhook201Response.js +8 -5
- package/{lib → dist}/models/CreateWebhookRequest.d.ts +2 -0
- package/{lib → dist}/models/CreateWebhookRequest.js +5 -2
- package/{lib → dist}/models/EnrollmentMethods200Response.js +2 -1
- package/dist/models/EnrollmentMethods413Response.d.ts +45 -0
- package/dist/models/EnrollmentMethods413Response.js +62 -0
- package/{lib → dist}/models/EnrollmentMethodsRequest.js +2 -1
- package/dist/models/GetCardSubscription404Response.d.ts +57 -0
- package/dist/models/GetCardSubscription404Response.js +66 -0
- package/{lib → dist}/models/GetSubaccounts200Response.js +4 -3
- package/{lib → dist}/models/GetSubaccounts200ResponseEmbedded.js +3 -2
- package/{lib → dist}/models/GetSubaccounts200ResponseLinks.js +3 -2
- package/{lib → dist}/models/GetTransactions200Response.js +4 -3
- package/{lib → dist}/models/GetTransactions200ResponseEmbedded.js +3 -2
- package/{lib → dist}/models/InlineObject.js +3 -2
- package/{lib → dist}/models/InlineObject1.js +2 -1
- package/{lib → dist}/models/InlineObject2.js +2 -1
- package/{lib → dist}/models/InlineObject3.js +2 -1
- package/{lib → dist}/models/InlineObject4.js +2 -1
- package/{lib → dist}/models/InlineObject5.js +2 -1
- package/{lib → dist}/models/InlineObjectErrorsInner.js +2 -1
- package/{lib → dist}/models/Link.js +2 -1
- package/{lib → dist}/models/ListCardSubscriptions200Response.js +4 -3
- package/{lib → dist}/models/ListCardSubscriptions200ResponseEmbedded.js +3 -2
- package/{lib → dist}/models/ListCardSubscriptions200ResponseLinks.js +3 -2
- package/dist/models/ListCardSubscriptions400Response.d.ts +52 -0
- package/dist/models/ListCardSubscriptions400Response.js +65 -0
- package/dist/models/ListCardSubscriptions400ResponseErrorsInner.d.ts +38 -0
- package/dist/models/ListCardSubscriptions400ResponseErrorsInner.js +55 -0
- package/dist/models/ListCardSubscriptions401Response.d.ts +45 -0
- package/dist/models/ListCardSubscriptions401Response.js +62 -0
- package/dist/models/ListCardSubscriptions403Response.d.ts +45 -0
- package/dist/models/ListCardSubscriptions403Response.js +62 -0
- package/dist/models/ListCardSubscriptions500Response.d.ts +45 -0
- package/dist/models/ListCardSubscriptions500Response.js +62 -0
- package/{lib → dist}/models/ListCards200Response.js +4 -3
- package/{lib → dist}/models/ListCards200ResponseEmbedded.js +3 -2
- package/{lib → dist}/models/ListNetworkBulkFeeds200Response.js +4 -3
- package/{lib → dist}/models/ListNetworkBulkFeeds200ResponseEmbedded.js +3 -2
- package/{lib → dist}/models/ListWebhooks200Response.js +4 -3
- package/{lib → dist}/models/ListWebhooks200ResponseEmbedded.js +3 -2
- package/{lib → dist}/models/ListWebhooks200ResponseLinks.js +3 -2
- package/{lib → dist}/models/NetworkBulkFeeds.d.ts +16 -1
- package/{lib → dist}/models/NetworkBulkFeeds.js +18 -5
- package/{lib → dist}/models/Subaccount.js +6 -5
- package/{lib → dist}/models/SubaccountConfiguration.js +3 -2
- package/{lib → dist}/models/SubaccountConfigurationVISA.js +2 -1
- package/{lib → dist}/models/Transaction.js +7 -6
- package/{lib → dist}/models/TransactionAcceptor.js +2 -1
- package/{lib → dist}/models/TransactionLinks.js +3 -2
- package/{lib → dist}/models/TransactionMessage.js +7 -6
- package/{lib → dist}/models/TransactionMessageAcceptor.js +2 -1
- package/{lib → dist}/models/UnprocessableEntity.js +2 -1
- package/{lib → dist}/models/UpdateCardSubscriptionRequest.js +2 -1
- package/{lib → dist}/models/UpdateSubaccountRequest.js +3 -2
- package/{lib → dist}/models/UpdateWebhookRequest.d.ts +2 -0
- package/{lib → dist}/models/UpdateWebhookRequest.js +5 -2
- package/{lib → dist}/models/Webhook.d.ts +2 -0
- package/{lib → dist}/models/Webhook.js +8 -5
- package/{lib → dist}/models/index.d.ts +7 -7
- package/{lib → dist}/models/index.js +7 -7
- package/dist/runtime.js +638 -0
- package/docs/Card.md +54 -0
- package/docs/CardApi.md +176 -0
- package/docs/CardLinks.md +36 -0
- package/docs/CardSubscription.md +56 -0
- package/docs/CardSubscriptionApi.md +252 -0
- package/docs/CardSubscriptionLinks.md +38 -0
- package/docs/Cardholder.md +44 -0
- package/docs/CardholderApi.md +85 -0
- package/docs/CardholderCorporate.md +37 -0
- package/docs/CardholderLinks.md +34 -0
- package/docs/Conflict.md +40 -0
- package/docs/CreateNetworkBulkFeedRequest.md +38 -0
- package/docs/CreateSubaccountRequest.md +36 -0
- package/docs/CreateWebhook201Response.md +52 -0
- package/docs/CreateWebhookRequest.md +42 -0
- package/docs/EnrollmentMethods200Response.md +34 -0
- package/docs/EnrollmentMethods413Response.md +36 -0
- package/docs/EnrollmentMethodsApi.md +85 -0
- package/docs/EnrollmentMethodsRequest.md +34 -0
- package/docs/GetCardSubscription404Response.md +40 -0
- package/docs/GetSubaccounts200Response.md +36 -0
- package/docs/GetSubaccounts200ResponseEmbedded.md +34 -0
- package/docs/GetSubaccounts200ResponseLinks.md +36 -0
- package/docs/GetTransactions200Response.md +36 -0
- package/docs/GetTransactions200ResponseEmbedded.md +34 -0
- package/docs/Link.md +48 -0
- package/docs/ListCardSubscriptions200Response.md +38 -0
- package/docs/ListCardSubscriptions200ResponseEmbedded.md +34 -0
- package/docs/ListCardSubscriptions200ResponseLinks.md +42 -0
- package/docs/ListCardSubscriptions400Response.md +38 -0
- package/docs/ListCardSubscriptions400ResponseErrorsInner.md +36 -0
- package/docs/ListCardSubscriptions401Response.md +36 -0
- package/docs/ListCardSubscriptions403Response.md +36 -0
- package/docs/ListCardSubscriptions500Response.md +36 -0
- package/docs/ListCards200Response.md +38 -0
- package/docs/ListCards200ResponseEmbedded.md +34 -0
- package/docs/ListNetworkBulkFeeds200Response.md +38 -0
- package/docs/ListNetworkBulkFeeds200ResponseEmbedded.md +34 -0
- package/docs/ListWebhooks200Response.md +37 -0
- package/docs/ListWebhooks200ResponseEmbedded.md +34 -0
- package/docs/ListWebhooks200ResponseLinks.md +36 -0
- package/docs/NetworkBulkFeeds.md +48 -0
- package/docs/NetworkBulkFeedsApi.md +247 -0
- package/docs/Subaccount.md +46 -0
- package/docs/SubaccountConfiguration.md +37 -0
- package/docs/SubaccountConfigurationVISA.md +34 -0
- package/docs/SubaccountsApi.md +321 -0
- package/docs/Transaction.md +66 -0
- package/docs/TransactionAcceptor.md +41 -0
- package/docs/TransactionLinks.md +40 -0
- package/docs/TransactionMessage.md +70 -0
- package/docs/TransactionMessageAcceptor.md +47 -0
- package/docs/TransactionMessagesApi.md +85 -0
- package/docs/TransactionsApi.md +174 -0
- package/docs/UnprocessableEntity.md +36 -0
- package/docs/UpdateCardSubscriptionRequest.md +34 -0
- package/docs/UpdateSubaccountRequest.md +36 -0
- package/docs/UpdateWebhookRequest.md +40 -0
- package/docs/Webhook.md +51 -0
- package/docs/WebhooksApi.md +401 -0
- package/openapitools.json +7 -0
- package/package.json +10 -10
- package/src/apis/CardApi.ts +15 -15
- package/src/apis/CardSubscriptionApi.ts +15 -15
- package/src/apis/CardholderApi.ts +15 -15
- package/src/apis/EnrollmentMethodsApi.ts +15 -15
- package/src/apis/NetworkBulkFeedsApi.ts +15 -15
- package/src/apis/SubaccountsApi.ts +15 -15
- package/src/apis/TransactionMessagesApi.ts +15 -15
- package/src/apis/TransactionsApi.ts +15 -15
- package/src/apis/WebhooksApi.ts +15 -15
- package/src/models/Card.ts +2 -2
- package/src/models/CardSubscription.ts +4 -4
- package/src/models/Cardholder.ts +2 -2
- package/src/models/CreateWebhook201Response.ts +5 -3
- package/src/models/CreateWebhookRequest.ts +3 -1
- package/src/models/EnrollmentMethods413Response.ts +85 -0
- package/src/models/GetCardSubscription404Response.ts +101 -0
- package/src/models/ListCardSubscriptions400Response.ts +101 -0
- package/src/models/ListCardSubscriptions400ResponseErrorsInner.ts +75 -0
- package/src/models/ListCardSubscriptions401Response.ts +85 -0
- package/src/models/ListCardSubscriptions403Response.ts +85 -0
- package/src/models/ListCardSubscriptions500Response.ts +85 -0
- package/src/models/NetworkBulkFeeds.ts +22 -3
- package/src/models/Subaccount.ts +2 -2
- package/src/models/Transaction.ts +3 -3
- package/src/models/TransactionMessage.ts +3 -3
- package/src/models/UpdateWebhookRequest.ts +3 -1
- package/src/models/Webhook.ts +5 -3
- package/src/models/index.ts +7 -7
- package/src/runtime.ts +0 -1
- package/tsconfig.json +14 -7
- package/dist/astrada.co-ts-astrada-sdk-1.2.0.tgz +0 -0
- package/lib/apis/CardApi.js +0 -109
- package/lib/apis/CardSubscriptionApi.js +0 -133
- package/lib/apis/CardholderApi.js +0 -56
- package/lib/apis/EnrollmentMethodsApi.js +0 -57
- package/lib/apis/NetworkBulkFeedsApi.js +0 -129
- package/lib/apis/SubaccountsApi.js +0 -157
- package/lib/apis/TransactionMessagesApi.js +0 -56
- package/lib/apis/TransactionsApi.js +0 -106
- package/lib/apis/WebhooksApi.js +0 -194
- package/lib/runtime.js +0 -394
- package/openapi-generator/templates/README.mustache +0 -274
- package/openapi-generator/templates/npmignore.mustache +0 -2
- package/openapi-generator/templates/package.mustache +0 -44
- package/openapi-generator/templates/runtime.mustache +0 -515
- /package/{lib → dist}/apis/CardApi.d.ts +0 -0
- /package/{lib → dist}/apis/CardSubscriptionApi.d.ts +0 -0
- /package/{lib → dist}/apis/CardholderApi.d.ts +0 -0
- /package/{lib → dist}/apis/EnrollmentMethodsApi.d.ts +0 -0
- /package/{lib → dist}/apis/NetworkBulkFeedsApi.d.ts +0 -0
- /package/{lib → dist}/apis/SubaccountsApi.d.ts +0 -0
- /package/{lib → dist}/apis/TransactionMessagesApi.d.ts +0 -0
- /package/{lib → dist}/apis/TransactionsApi.d.ts +0 -0
- /package/{lib → dist}/apis/WebhooksApi.d.ts +0 -0
- /package/{lib → dist}/apis/index.d.ts +0 -0
- /package/{lib → dist}/apis/index.js +0 -0
- /package/{lib → dist}/index.d.ts +0 -0
- /package/{lib → dist}/index.js +0 -0
- /package/{lib → dist}/models/Card.d.ts +0 -0
- /package/{lib → dist}/models/CardLinks.d.ts +0 -0
- /package/{lib → dist}/models/CardSubscription.d.ts +0 -0
- /package/{lib → dist}/models/CardSubscriptionLinks.d.ts +0 -0
- /package/{lib → dist}/models/Cardholder.d.ts +0 -0
- /package/{lib → dist}/models/CardholderCorporate.d.ts +0 -0
- /package/{lib → dist}/models/CardholderLinks.d.ts +0 -0
- /package/{lib → dist}/models/Conflict.d.ts +0 -0
- /package/{lib → dist}/models/CreateNetworkBulkFeedRequest.d.ts +0 -0
- /package/{lib → dist}/models/CreateSubaccountRequest.d.ts +0 -0
- /package/{lib → dist}/models/EnrollmentMethods200Response.d.ts +0 -0
- /package/{lib → dist}/models/EnrollmentMethodsRequest.d.ts +0 -0
- /package/{lib → dist}/models/GetSubaccounts200Response.d.ts +0 -0
- /package/{lib → dist}/models/GetSubaccounts200ResponseEmbedded.d.ts +0 -0
- /package/{lib → dist}/models/GetSubaccounts200ResponseLinks.d.ts +0 -0
- /package/{lib → dist}/models/GetTransactions200Response.d.ts +0 -0
- /package/{lib → dist}/models/GetTransactions200ResponseEmbedded.d.ts +0 -0
- /package/{lib → dist}/models/InlineObject.d.ts +0 -0
- /package/{lib → dist}/models/InlineObject1.d.ts +0 -0
- /package/{lib → dist}/models/InlineObject2.d.ts +0 -0
- /package/{lib → dist}/models/InlineObject3.d.ts +0 -0
- /package/{lib → dist}/models/InlineObject4.d.ts +0 -0
- /package/{lib → dist}/models/InlineObject5.d.ts +0 -0
- /package/{lib → dist}/models/InlineObjectErrorsInner.d.ts +0 -0
- /package/{lib → dist}/models/Link.d.ts +0 -0
- /package/{lib → dist}/models/ListCardSubscriptions200Response.d.ts +0 -0
- /package/{lib → dist}/models/ListCardSubscriptions200ResponseEmbedded.d.ts +0 -0
- /package/{lib → dist}/models/ListCardSubscriptions200ResponseLinks.d.ts +0 -0
- /package/{lib → dist}/models/ListCards200Response.d.ts +0 -0
- /package/{lib → dist}/models/ListCards200ResponseEmbedded.d.ts +0 -0
- /package/{lib → dist}/models/ListNetworkBulkFeeds200Response.d.ts +0 -0
- /package/{lib → dist}/models/ListNetworkBulkFeeds200ResponseEmbedded.d.ts +0 -0
- /package/{lib → dist}/models/ListWebhooks200Response.d.ts +0 -0
- /package/{lib → dist}/models/ListWebhooks200ResponseEmbedded.d.ts +0 -0
- /package/{lib → dist}/models/ListWebhooks200ResponseLinks.d.ts +0 -0
- /package/{lib → dist}/models/Subaccount.d.ts +0 -0
- /package/{lib → dist}/models/SubaccountConfiguration.d.ts +0 -0
- /package/{lib → dist}/models/SubaccountConfigurationVISA.d.ts +0 -0
- /package/{lib → dist}/models/Transaction.d.ts +0 -0
- /package/{lib → dist}/models/TransactionAcceptor.d.ts +0 -0
- /package/{lib → dist}/models/TransactionLinks.d.ts +0 -0
- /package/{lib → dist}/models/TransactionMessage.d.ts +0 -0
- /package/{lib → dist}/models/TransactionMessageAcceptor.d.ts +0 -0
- /package/{lib → dist}/models/UnprocessableEntity.d.ts +0 -0
- /package/{lib → dist}/models/UpdateCardSubscriptionRequest.d.ts +0 -0
- /package/{lib → dist}/models/UpdateSubaccountRequest.d.ts +0 -0
- /package/{lib → dist}/runtime.d.ts +0 -0
|
@@ -19,7 +19,7 @@ exports.CardSubscriptionFromJSON = CardSubscriptionFromJSON;
|
|
|
19
19
|
exports.CardSubscriptionFromJSONTyped = CardSubscriptionFromJSONTyped;
|
|
20
20
|
exports.CardSubscriptionToJSON = CardSubscriptionToJSON;
|
|
21
21
|
exports.CardSubscriptionToJSONTyped = CardSubscriptionToJSONTyped;
|
|
22
|
-
|
|
22
|
+
var CardSubscriptionLinks_1 = require("./CardSubscriptionLinks");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -88,7 +88,8 @@ function CardSubscriptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
88
88
|
function CardSubscriptionToJSON(json) {
|
|
89
89
|
return CardSubscriptionToJSONTyped(json, false);
|
|
90
90
|
}
|
|
91
|
-
function CardSubscriptionToJSONTyped(value, ignoreDiscriminator
|
|
91
|
+
function CardSubscriptionToJSONTyped(value, ignoreDiscriminator) {
|
|
92
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
92
93
|
if (value == null) {
|
|
93
94
|
return value;
|
|
94
95
|
}
|
|
@@ -100,10 +101,10 @@ function CardSubscriptionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
100
101
|
'cardId': value['cardId'],
|
|
101
102
|
'customerReferenceId': value['customerReferenceId'],
|
|
102
103
|
'state': value['state'],
|
|
103
|
-
'effectiveDate':
|
|
104
|
-
'expirationDate':
|
|
104
|
+
'effectiveDate': value['effectiveDate'].toISOString(),
|
|
105
|
+
'expirationDate': value['expirationDate'].toISOString(),
|
|
105
106
|
'enrollmentType': value['enrollmentType'],
|
|
106
|
-
'createdAt':
|
|
107
|
-
'updatedAt':
|
|
107
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
108
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
108
109
|
};
|
|
109
110
|
}
|
|
@@ -18,7 +18,7 @@ exports.CardSubscriptionLinksFromJSON = CardSubscriptionLinksFromJSON;
|
|
|
18
18
|
exports.CardSubscriptionLinksFromJSONTyped = CardSubscriptionLinksFromJSONTyped;
|
|
19
19
|
exports.CardSubscriptionLinksToJSON = CardSubscriptionLinksToJSON;
|
|
20
20
|
exports.CardSubscriptionLinksToJSONTyped = CardSubscriptionLinksToJSONTyped;
|
|
21
|
-
|
|
21
|
+
var Link_1 = require("./Link");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the CardSubscriptionLinks interface.
|
|
24
24
|
*/
|
|
@@ -45,7 +45,8 @@ function CardSubscriptionLinksFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
function CardSubscriptionLinksToJSON(json) {
|
|
46
46
|
return CardSubscriptionLinksToJSONTyped(json, false);
|
|
47
47
|
}
|
|
48
|
-
function CardSubscriptionLinksToJSONTyped(value, ignoreDiscriminator
|
|
48
|
+
function CardSubscriptionLinksToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
50
|
if (value == null) {
|
|
50
51
|
return value;
|
|
51
52
|
}
|
|
@@ -18,8 +18,8 @@ exports.CardholderFromJSON = CardholderFromJSON;
|
|
|
18
18
|
exports.CardholderFromJSONTyped = CardholderFromJSONTyped;
|
|
19
19
|
exports.CardholderToJSON = CardholderToJSON;
|
|
20
20
|
exports.CardholderToJSONTyped = CardholderToJSONTyped;
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
var CardholderLinks_1 = require("./CardholderLinks");
|
|
22
|
+
var CardholderCorporate_1 = require("./CardholderCorporate");
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the Cardholder interface.
|
|
25
25
|
*/
|
|
@@ -53,7 +53,8 @@ function CardholderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
function CardholderToJSON(json) {
|
|
54
54
|
return CardholderToJSONTyped(json, false);
|
|
55
55
|
}
|
|
56
|
-
function CardholderToJSONTyped(value, ignoreDiscriminator
|
|
56
|
+
function CardholderToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
58
|
if (value == null) {
|
|
58
59
|
return value;
|
|
59
60
|
}
|
|
@@ -62,7 +63,7 @@ function CardholderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
63
|
'corporate': (0, CardholderCorporate_1.CardholderCorporateToJSON)(value['corporate']),
|
|
63
64
|
'firstName': value['firstName'],
|
|
64
65
|
'lastName': value['lastName'],
|
|
65
|
-
'createdAt':
|
|
66
|
-
'updatedAt':
|
|
66
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
67
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
67
68
|
};
|
|
68
69
|
}
|
|
@@ -39,7 +39,8 @@ function CardholderCorporateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
function CardholderCorporateToJSON(json) {
|
|
40
40
|
return CardholderCorporateToJSONTyped(json, false);
|
|
41
41
|
}
|
|
42
|
-
function CardholderCorporateToJSONTyped(value, ignoreDiscriminator
|
|
42
|
+
function CardholderCorporateToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
43
44
|
if (value == null) {
|
|
44
45
|
return value;
|
|
45
46
|
}
|
|
@@ -18,7 +18,7 @@ exports.CardholderLinksFromJSON = CardholderLinksFromJSON;
|
|
|
18
18
|
exports.CardholderLinksFromJSONTyped = CardholderLinksFromJSONTyped;
|
|
19
19
|
exports.CardholderLinksToJSON = CardholderLinksToJSON;
|
|
20
20
|
exports.CardholderLinksToJSONTyped = CardholderLinksToJSONTyped;
|
|
21
|
-
|
|
21
|
+
var Link_1 = require("./Link");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the CardholderLinks interface.
|
|
24
24
|
*/
|
|
@@ -41,7 +41,8 @@ function CardholderLinksFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
function CardholderLinksToJSON(json) {
|
|
42
42
|
return CardholderLinksToJSONTyped(json, false);
|
|
43
43
|
}
|
|
44
|
-
function CardholderLinksToJSONTyped(value, ignoreDiscriminator
|
|
44
|
+
function CardholderLinksToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
46
|
if (value == null) {
|
|
46
47
|
return value;
|
|
47
48
|
}
|
|
@@ -54,7 +54,8 @@ function ConflictFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
function ConflictToJSON(json) {
|
|
55
55
|
return ConflictToJSONTyped(json, false);
|
|
56
56
|
}
|
|
57
|
-
function ConflictToJSONTyped(value, ignoreDiscriminator
|
|
57
|
+
function ConflictToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
59
|
if (value == null) {
|
|
59
60
|
return value;
|
|
60
61
|
}
|
|
@@ -54,7 +54,8 @@ function CreateNetworkBulkFeedRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
function CreateNetworkBulkFeedRequestToJSON(json) {
|
|
55
55
|
return CreateNetworkBulkFeedRequestToJSONTyped(json, false);
|
|
56
56
|
}
|
|
57
|
-
function CreateNetworkBulkFeedRequestToJSONTyped(value, ignoreDiscriminator
|
|
57
|
+
function CreateNetworkBulkFeedRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
59
|
if (value == null) {
|
|
59
60
|
return value;
|
|
60
61
|
}
|
|
@@ -18,7 +18,7 @@ exports.CreateSubaccountRequestFromJSON = CreateSubaccountRequestFromJSON;
|
|
|
18
18
|
exports.CreateSubaccountRequestFromJSONTyped = CreateSubaccountRequestFromJSONTyped;
|
|
19
19
|
exports.CreateSubaccountRequestToJSON = CreateSubaccountRequestToJSON;
|
|
20
20
|
exports.CreateSubaccountRequestToJSONTyped = CreateSubaccountRequestToJSONTyped;
|
|
21
|
-
|
|
21
|
+
var SubaccountConfiguration_1 = require("./SubaccountConfiguration");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the CreateSubaccountRequest interface.
|
|
24
24
|
*/
|
|
@@ -44,7 +44,8 @@ function CreateSubaccountRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
function CreateSubaccountRequestToJSON(json) {
|
|
45
45
|
return CreateSubaccountRequestToJSONTyped(json, false);
|
|
46
46
|
}
|
|
47
|
-
function CreateSubaccountRequestToJSONTyped(value, ignoreDiscriminator
|
|
47
|
+
function CreateSubaccountRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
49
|
if (value == null) {
|
|
49
50
|
return value;
|
|
50
51
|
}
|
|
@@ -86,6 +86,8 @@ export declare const CreateWebhook201ResponseEventTypesEnum: {
|
|
|
86
86
|
readonly TransactionCreated: "transaction.created";
|
|
87
87
|
readonly TransactionUpdated: "transaction.updated";
|
|
88
88
|
readonly TransactionmessageCreated: "transactionmessage.created";
|
|
89
|
+
readonly NetworkbulkfeedStatechanged: "networkbulkfeed.statechanged";
|
|
90
|
+
readonly EnrichmentMerchantCreated: "enrichment.merchant.created";
|
|
89
91
|
};
|
|
90
92
|
export type CreateWebhook201ResponseEventTypesEnum = typeof CreateWebhook201ResponseEventTypesEnum[keyof typeof CreateWebhook201ResponseEventTypesEnum];
|
|
91
93
|
/**
|
|
@@ -19,7 +19,7 @@ exports.CreateWebhook201ResponseFromJSON = CreateWebhook201ResponseFromJSON;
|
|
|
19
19
|
exports.CreateWebhook201ResponseFromJSONTyped = CreateWebhook201ResponseFromJSONTyped;
|
|
20
20
|
exports.CreateWebhook201ResponseToJSON = CreateWebhook201ResponseToJSON;
|
|
21
21
|
exports.CreateWebhook201ResponseToJSONTyped = CreateWebhook201ResponseToJSONTyped;
|
|
22
|
-
|
|
22
|
+
var CardholderLinks_1 = require("./CardholderLinks");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -28,7 +28,9 @@ exports.CreateWebhook201ResponseEventTypesEnum = {
|
|
|
28
28
|
CardsubscriptionUpdated: 'cardsubscription.updated',
|
|
29
29
|
TransactionCreated: 'transaction.created',
|
|
30
30
|
TransactionUpdated: 'transaction.updated',
|
|
31
|
-
TransactionmessageCreated: 'transactionmessage.created'
|
|
31
|
+
TransactionmessageCreated: 'transactionmessage.created',
|
|
32
|
+
NetworkbulkfeedStatechanged: 'networkbulkfeed.statechanged',
|
|
33
|
+
EnrichmentMerchantCreated: 'enrichment.merchant.created'
|
|
32
34
|
};
|
|
33
35
|
/**
|
|
34
36
|
* Check if a given object implements the CreateWebhook201Response interface.
|
|
@@ -77,7 +79,8 @@ function CreateWebhook201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
77
79
|
function CreateWebhook201ResponseToJSON(json) {
|
|
78
80
|
return CreateWebhook201ResponseToJSONTyped(json, false);
|
|
79
81
|
}
|
|
80
|
-
function CreateWebhook201ResponseToJSONTyped(value, ignoreDiscriminator
|
|
82
|
+
function CreateWebhook201ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
83
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
81
84
|
if (value == null) {
|
|
82
85
|
return value;
|
|
83
86
|
}
|
|
@@ -88,8 +91,8 @@ function CreateWebhook201ResponseToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
88
91
|
'description': value['description'],
|
|
89
92
|
'eventTypes': value['eventTypes'],
|
|
90
93
|
'subaccountId': value['subaccountId'],
|
|
91
|
-
'createdAt':
|
|
92
|
-
'updatedAt':
|
|
94
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
95
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
93
96
|
'enabled': value['enabled'],
|
|
94
97
|
'secret': value['secret'],
|
|
95
98
|
};
|
|
@@ -55,6 +55,8 @@ export declare const CreateWebhookRequestEventTypesEnum: {
|
|
|
55
55
|
readonly TransactionCreated: "transaction.created";
|
|
56
56
|
readonly TransactionUpdated: "transaction.updated";
|
|
57
57
|
readonly TransactionmessageCreated: "transactionmessage.created";
|
|
58
|
+
readonly NetworkbulkfeedStatechanged: "networkbulkfeed.statechanged";
|
|
59
|
+
readonly EnrichmentMerchantCreated: "enrichment.merchant.created";
|
|
58
60
|
};
|
|
59
61
|
export type CreateWebhookRequestEventTypesEnum = typeof CreateWebhookRequestEventTypesEnum[keyof typeof CreateWebhookRequestEventTypesEnum];
|
|
60
62
|
/**
|
|
@@ -27,7 +27,9 @@ exports.CreateWebhookRequestEventTypesEnum = {
|
|
|
27
27
|
CardsubscriptionUpdated: 'cardsubscription.updated',
|
|
28
28
|
TransactionCreated: 'transaction.created',
|
|
29
29
|
TransactionUpdated: 'transaction.updated',
|
|
30
|
-
TransactionmessageCreated: 'transactionmessage.created'
|
|
30
|
+
TransactionmessageCreated: 'transactionmessage.created',
|
|
31
|
+
NetworkbulkfeedStatechanged: 'networkbulkfeed.statechanged',
|
|
32
|
+
EnrichmentMerchantCreated: 'enrichment.merchant.created'
|
|
31
33
|
};
|
|
32
34
|
/**
|
|
33
35
|
* Check if a given object implements the CreateWebhookRequest interface.
|
|
@@ -59,7 +61,8 @@ function CreateWebhookRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
61
|
function CreateWebhookRequestToJSON(json) {
|
|
60
62
|
return CreateWebhookRequestToJSONTyped(json, false);
|
|
61
63
|
}
|
|
62
|
-
function CreateWebhookRequestToJSONTyped(value, ignoreDiscriminator
|
|
64
|
+
function CreateWebhookRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
65
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
66
|
if (value == null) {
|
|
64
67
|
return value;
|
|
65
68
|
}
|
|
@@ -48,7 +48,8 @@ function EnrollmentMethods200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
function EnrollmentMethods200ResponseToJSON(json) {
|
|
49
49
|
return EnrollmentMethods200ResponseToJSONTyped(json, false);
|
|
50
50
|
}
|
|
51
|
-
function EnrollmentMethods200ResponseToJSONTyped(value, ignoreDiscriminator
|
|
51
|
+
function EnrollmentMethods200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
53
|
if (value == null) {
|
|
53
54
|
return value;
|
|
54
55
|
}
|
|
@@ -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 EnrollmentMethods413Response
|
|
16
|
+
*/
|
|
17
|
+
export interface EnrollmentMethods413Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EnrollmentMethods413Response
|
|
22
|
+
*/
|
|
23
|
+
detail: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EnrollmentMethods413Response
|
|
28
|
+
*/
|
|
29
|
+
title: EnrollmentMethods413ResponseTitleEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const EnrollmentMethods413ResponseTitleEnum: {
|
|
35
|
+
readonly ContentTooLarge: "Content Too Large";
|
|
36
|
+
};
|
|
37
|
+
export type EnrollmentMethods413ResponseTitleEnum = typeof EnrollmentMethods413ResponseTitleEnum[keyof typeof EnrollmentMethods413ResponseTitleEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the EnrollmentMethods413Response interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfEnrollmentMethods413Response(value: object): value is EnrollmentMethods413Response;
|
|
42
|
+
export declare function EnrollmentMethods413ResponseFromJSON(json: any): EnrollmentMethods413Response;
|
|
43
|
+
export declare function EnrollmentMethods413ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnrollmentMethods413Response;
|
|
44
|
+
export declare function EnrollmentMethods413ResponseToJSON(json: any): EnrollmentMethods413Response;
|
|
45
|
+
export declare function EnrollmentMethods413ResponseToJSONTyped(value?: EnrollmentMethods413Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.EnrollmentMethods413ResponseTitleEnum = void 0;
|
|
17
|
+
exports.instanceOfEnrollmentMethods413Response = instanceOfEnrollmentMethods413Response;
|
|
18
|
+
exports.EnrollmentMethods413ResponseFromJSON = EnrollmentMethods413ResponseFromJSON;
|
|
19
|
+
exports.EnrollmentMethods413ResponseFromJSONTyped = EnrollmentMethods413ResponseFromJSONTyped;
|
|
20
|
+
exports.EnrollmentMethods413ResponseToJSON = EnrollmentMethods413ResponseToJSON;
|
|
21
|
+
exports.EnrollmentMethods413ResponseToJSONTyped = EnrollmentMethods413ResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.EnrollmentMethods413ResponseTitleEnum = {
|
|
26
|
+
ContentTooLarge: 'Content Too Large'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the EnrollmentMethods413Response interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfEnrollmentMethods413Response(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 EnrollmentMethods413ResponseFromJSON(json) {
|
|
39
|
+
return EnrollmentMethods413ResponseFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function EnrollmentMethods413ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'detail': json['detail'],
|
|
47
|
+
'title': json['title'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function EnrollmentMethods413ResponseToJSON(json) {
|
|
51
|
+
return EnrollmentMethods413ResponseToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function EnrollmentMethods413ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'detail': value['detail'],
|
|
60
|
+
'title': value['title'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -40,7 +40,8 @@ function EnrollmentMethodsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
function EnrollmentMethodsRequestToJSON(json) {
|
|
41
41
|
return EnrollmentMethodsRequestToJSONTyped(json, false);
|
|
42
42
|
}
|
|
43
|
-
function EnrollmentMethodsRequestToJSONTyped(value, ignoreDiscriminator
|
|
43
|
+
function EnrollmentMethodsRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
45
|
if (value == null) {
|
|
45
46
|
return value;
|
|
46
47
|
}
|
|
@@ -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 GetCardSubscription404Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetCardSubscription404Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetCardSubscription404Response
|
|
22
|
+
*/
|
|
23
|
+
type?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetCardSubscription404Response
|
|
28
|
+
*/
|
|
29
|
+
instance?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GetCardSubscription404Response
|
|
34
|
+
*/
|
|
35
|
+
detail: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GetCardSubscription404Response
|
|
40
|
+
*/
|
|
41
|
+
title: GetCardSubscription404ResponseTitleEnum;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const GetCardSubscription404ResponseTitleEnum: {
|
|
47
|
+
readonly NotFound: "Not Found";
|
|
48
|
+
};
|
|
49
|
+
export type GetCardSubscription404ResponseTitleEnum = typeof GetCardSubscription404ResponseTitleEnum[keyof typeof GetCardSubscription404ResponseTitleEnum];
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the GetCardSubscription404Response interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfGetCardSubscription404Response(value: object): value is GetCardSubscription404Response;
|
|
54
|
+
export declare function GetCardSubscription404ResponseFromJSON(json: any): GetCardSubscription404Response;
|
|
55
|
+
export declare function GetCardSubscription404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCardSubscription404Response;
|
|
56
|
+
export declare function GetCardSubscription404ResponseToJSON(json: any): GetCardSubscription404Response;
|
|
57
|
+
export declare function GetCardSubscription404ResponseToJSONTyped(value?: GetCardSubscription404Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.GetCardSubscription404ResponseTitleEnum = void 0;
|
|
17
|
+
exports.instanceOfGetCardSubscription404Response = instanceOfGetCardSubscription404Response;
|
|
18
|
+
exports.GetCardSubscription404ResponseFromJSON = GetCardSubscription404ResponseFromJSON;
|
|
19
|
+
exports.GetCardSubscription404ResponseFromJSONTyped = GetCardSubscription404ResponseFromJSONTyped;
|
|
20
|
+
exports.GetCardSubscription404ResponseToJSON = GetCardSubscription404ResponseToJSON;
|
|
21
|
+
exports.GetCardSubscription404ResponseToJSONTyped = GetCardSubscription404ResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GetCardSubscription404ResponseTitleEnum = {
|
|
26
|
+
NotFound: 'Not Found'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the GetCardSubscription404Response interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfGetCardSubscription404Response(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 GetCardSubscription404ResponseFromJSON(json) {
|
|
39
|
+
return GetCardSubscription404ResponseFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function GetCardSubscription404ResponseFromJSONTyped(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 GetCardSubscription404ResponseToJSON(json) {
|
|
53
|
+
return GetCardSubscription404ResponseToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function GetCardSubscription404ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'type': value['type'],
|
|
62
|
+
'instance': value['instance'],
|
|
63
|
+
'detail': value['detail'],
|
|
64
|
+
'title': value['title'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -18,8 +18,8 @@ exports.GetSubaccounts200ResponseFromJSON = GetSubaccounts200ResponseFromJSON;
|
|
|
18
18
|
exports.GetSubaccounts200ResponseFromJSONTyped = GetSubaccounts200ResponseFromJSONTyped;
|
|
19
19
|
exports.GetSubaccounts200ResponseToJSON = GetSubaccounts200ResponseToJSON;
|
|
20
20
|
exports.GetSubaccounts200ResponseToJSONTyped = GetSubaccounts200ResponseToJSONTyped;
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
var GetSubaccounts200ResponseLinks_1 = require("./GetSubaccounts200ResponseLinks");
|
|
22
|
+
var GetSubaccounts200ResponseEmbedded_1 = require("./GetSubaccounts200ResponseEmbedded");
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the GetSubaccounts200Response interface.
|
|
25
25
|
*/
|
|
@@ -45,7 +45,8 @@ function GetSubaccounts200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
function GetSubaccounts200ResponseToJSON(json) {
|
|
46
46
|
return GetSubaccounts200ResponseToJSONTyped(json, false);
|
|
47
47
|
}
|
|
48
|
-
function GetSubaccounts200ResponseToJSONTyped(value, ignoreDiscriminator
|
|
48
|
+
function GetSubaccounts200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
50
|
if (value == null) {
|
|
50
51
|
return value;
|
|
51
52
|
}
|
|
@@ -18,7 +18,7 @@ exports.GetSubaccounts200ResponseEmbeddedFromJSON = GetSubaccounts200ResponseEmb
|
|
|
18
18
|
exports.GetSubaccounts200ResponseEmbeddedFromJSONTyped = GetSubaccounts200ResponseEmbeddedFromJSONTyped;
|
|
19
19
|
exports.GetSubaccounts200ResponseEmbeddedToJSON = GetSubaccounts200ResponseEmbeddedToJSON;
|
|
20
20
|
exports.GetSubaccounts200ResponseEmbeddedToJSONTyped = GetSubaccounts200ResponseEmbeddedToJSONTyped;
|
|
21
|
-
|
|
21
|
+
var Subaccount_1 = require("./Subaccount");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the GetSubaccounts200ResponseEmbedded interface.
|
|
24
24
|
*/
|
|
@@ -41,7 +41,8 @@ function GetSubaccounts200ResponseEmbeddedFromJSONTyped(json, ignoreDiscriminato
|
|
|
41
41
|
function GetSubaccounts200ResponseEmbeddedToJSON(json) {
|
|
42
42
|
return GetSubaccounts200ResponseEmbeddedToJSONTyped(json, false);
|
|
43
43
|
}
|
|
44
|
-
function GetSubaccounts200ResponseEmbeddedToJSONTyped(value, ignoreDiscriminator
|
|
44
|
+
function GetSubaccounts200ResponseEmbeddedToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
46
|
if (value == null) {
|
|
46
47
|
return value;
|
|
47
48
|
}
|
|
@@ -18,7 +18,7 @@ exports.GetSubaccounts200ResponseLinksFromJSON = GetSubaccounts200ResponseLinksF
|
|
|
18
18
|
exports.GetSubaccounts200ResponseLinksFromJSONTyped = GetSubaccounts200ResponseLinksFromJSONTyped;
|
|
19
19
|
exports.GetSubaccounts200ResponseLinksToJSON = GetSubaccounts200ResponseLinksToJSON;
|
|
20
20
|
exports.GetSubaccounts200ResponseLinksToJSONTyped = GetSubaccounts200ResponseLinksToJSONTyped;
|
|
21
|
-
|
|
21
|
+
var Link_1 = require("./Link");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the GetSubaccounts200ResponseLinks interface.
|
|
24
24
|
*/
|
|
@@ -42,7 +42,8 @@ function GetSubaccounts200ResponseLinksFromJSONTyped(json, ignoreDiscriminator)
|
|
|
42
42
|
function GetSubaccounts200ResponseLinksToJSON(json) {
|
|
43
43
|
return GetSubaccounts200ResponseLinksToJSONTyped(json, false);
|
|
44
44
|
}
|
|
45
|
-
function GetSubaccounts200ResponseLinksToJSONTyped(value, ignoreDiscriminator
|
|
45
|
+
function GetSubaccounts200ResponseLinksToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
47
|
if (value == null) {
|
|
47
48
|
return value;
|
|
48
49
|
}
|
|
@@ -18,8 +18,8 @@ exports.GetTransactions200ResponseFromJSON = GetTransactions200ResponseFromJSON;
|
|
|
18
18
|
exports.GetTransactions200ResponseFromJSONTyped = GetTransactions200ResponseFromJSONTyped;
|
|
19
19
|
exports.GetTransactions200ResponseToJSON = GetTransactions200ResponseToJSON;
|
|
20
20
|
exports.GetTransactions200ResponseToJSONTyped = GetTransactions200ResponseToJSONTyped;
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
var GetTransactions200ResponseEmbedded_1 = require("./GetTransactions200ResponseEmbedded");
|
|
22
|
+
var GetSubaccounts200ResponseLinks_1 = require("./GetSubaccounts200ResponseLinks");
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the GetTransactions200Response interface.
|
|
25
25
|
*/
|
|
@@ -45,7 +45,8 @@ function GetTransactions200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
function GetTransactions200ResponseToJSON(json) {
|
|
46
46
|
return GetTransactions200ResponseToJSONTyped(json, false);
|
|
47
47
|
}
|
|
48
|
-
function GetTransactions200ResponseToJSONTyped(value, ignoreDiscriminator
|
|
48
|
+
function GetTransactions200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
50
|
if (value == null) {
|
|
50
51
|
return value;
|
|
51
52
|
}
|
|
@@ -18,7 +18,7 @@ exports.GetTransactions200ResponseEmbeddedFromJSON = GetTransactions200ResponseE
|
|
|
18
18
|
exports.GetTransactions200ResponseEmbeddedFromJSONTyped = GetTransactions200ResponseEmbeddedFromJSONTyped;
|
|
19
19
|
exports.GetTransactions200ResponseEmbeddedToJSON = GetTransactions200ResponseEmbeddedToJSON;
|
|
20
20
|
exports.GetTransactions200ResponseEmbeddedToJSONTyped = GetTransactions200ResponseEmbeddedToJSONTyped;
|
|
21
|
-
|
|
21
|
+
var Transaction_1 = require("./Transaction");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the GetTransactions200ResponseEmbedded interface.
|
|
24
24
|
*/
|
|
@@ -41,7 +41,8 @@ function GetTransactions200ResponseEmbeddedFromJSONTyped(json, ignoreDiscriminat
|
|
|
41
41
|
function GetTransactions200ResponseEmbeddedToJSON(json) {
|
|
42
42
|
return GetTransactions200ResponseEmbeddedToJSONTyped(json, false);
|
|
43
43
|
}
|
|
44
|
-
function GetTransactions200ResponseEmbeddedToJSONTyped(value, ignoreDiscriminator
|
|
44
|
+
function GetTransactions200ResponseEmbeddedToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
46
|
if (value == null) {
|
|
46
47
|
return value;
|
|
47
48
|
}
|
|
@@ -19,7 +19,7 @@ exports.InlineObjectFromJSON = InlineObjectFromJSON;
|
|
|
19
19
|
exports.InlineObjectFromJSONTyped = InlineObjectFromJSONTyped;
|
|
20
20
|
exports.InlineObjectToJSON = InlineObjectToJSON;
|
|
21
21
|
exports.InlineObjectToJSONTyped = InlineObjectToJSONTyped;
|
|
22
|
-
|
|
22
|
+
var InlineObjectErrorsInner_1 = require("./InlineObjectErrorsInner");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -52,7 +52,8 @@ function InlineObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
function InlineObjectToJSON(json) {
|
|
53
53
|
return InlineObjectToJSONTyped(json, false);
|
|
54
54
|
}
|
|
55
|
-
function InlineObjectToJSONTyped(value, ignoreDiscriminator
|
|
55
|
+
function InlineObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
57
|
if (value == null) {
|
|
57
58
|
return value;
|
|
58
59
|
}
|
|
@@ -50,7 +50,8 @@ function InlineObject1FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
function InlineObject1ToJSON(json) {
|
|
51
51
|
return InlineObject1ToJSONTyped(json, false);
|
|
52
52
|
}
|
|
53
|
-
function InlineObject1ToJSONTyped(value, ignoreDiscriminator
|
|
53
|
+
function InlineObject1ToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
55
|
if (value == null) {
|
|
55
56
|
return value;
|
|
56
57
|
}
|
|
@@ -50,7 +50,8 @@ function InlineObject2FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
function InlineObject2ToJSON(json) {
|
|
51
51
|
return InlineObject2ToJSONTyped(json, false);
|
|
52
52
|
}
|
|
53
|
-
function InlineObject2ToJSONTyped(value, ignoreDiscriminator
|
|
53
|
+
function InlineObject2ToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
55
|
if (value == null) {
|
|
55
56
|
return value;
|
|
56
57
|
}
|
|
@@ -50,7 +50,8 @@ function InlineObject3FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
function InlineObject3ToJSON(json) {
|
|
51
51
|
return InlineObject3ToJSONTyped(json, false);
|
|
52
52
|
}
|
|
53
|
-
function InlineObject3ToJSONTyped(value, ignoreDiscriminator
|
|
53
|
+
function InlineObject3ToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
55
|
if (value == null) {
|
|
55
56
|
return value;
|
|
56
57
|
}
|