@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
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
|
|
2
|
+
# CardholderCorporate
|
|
3
|
+
|
|
4
|
+
The corporate entity that this cardholder is associated with
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`employeeId` | string
|
|
11
|
+
`id` | string
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { CardholderCorporate } from '@astrada.co/ts-astrada-sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"employeeId": null,
|
|
21
|
+
"id": null,
|
|
22
|
+
} satisfies CardholderCorporate
|
|
23
|
+
|
|
24
|
+
console.log(example)
|
|
25
|
+
|
|
26
|
+
// Convert the instance to a JSON string
|
|
27
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
28
|
+
console.log(exampleJSON)
|
|
29
|
+
|
|
30
|
+
// Parse the JSON string back to an object
|
|
31
|
+
const exampleParsed = JSON.parse(exampleJSON) as CardholderCorporate
|
|
32
|
+
console.log(exampleParsed)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
36
|
+
|
|
37
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# CardholderLinks
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`self` | [Link](Link.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { CardholderLinks } from '@astrada.co/ts-astrada-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"self": null,
|
|
19
|
+
} satisfies CardholderLinks
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as CardholderLinks
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
package/docs/Conflict.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# Conflict
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`detail` | string
|
|
10
|
+
`title` | string
|
|
11
|
+
`currentValue` | string
|
|
12
|
+
`requestedValue` | string
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { Conflict } from '@astrada.co/ts-astrada-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"detail": null,
|
|
22
|
+
"title": null,
|
|
23
|
+
"currentValue": null,
|
|
24
|
+
"requestedValue": null,
|
|
25
|
+
} satisfies Conflict
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as Conflict
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# CreateNetworkBulkFeedRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`networkReference` | string
|
|
10
|
+
`network` | string
|
|
11
|
+
`subaccountId` | string
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { CreateNetworkBulkFeedRequest } from '@astrada.co/ts-astrada-sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"networkReference": null,
|
|
21
|
+
"network": null,
|
|
22
|
+
"subaccountId": null,
|
|
23
|
+
} satisfies CreateNetworkBulkFeedRequest
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as CreateNetworkBulkFeedRequest
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# CreateSubaccountRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`name` | string
|
|
10
|
+
`configurations` | [SubaccountConfiguration](SubaccountConfiguration.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { CreateSubaccountRequest } from '@astrada.co/ts-astrada-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"name": null,
|
|
20
|
+
"configurations": null,
|
|
21
|
+
} satisfies CreateSubaccountRequest
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as CreateSubaccountRequest
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
|
|
2
|
+
# CreateWebhook201Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`_links` | [CardholderLinks](CardholderLinks.md)
|
|
10
|
+
`id` | string
|
|
11
|
+
`url` | string
|
|
12
|
+
`description` | string
|
|
13
|
+
`eventTypes` | Array<string>
|
|
14
|
+
`subaccountId` | string
|
|
15
|
+
`createdAt` | Date
|
|
16
|
+
`updatedAt` | Date
|
|
17
|
+
`enabled` | boolean
|
|
18
|
+
`secret` | string
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import type { CreateWebhook201Response } from '@astrada.co/ts-astrada-sdk'
|
|
24
|
+
|
|
25
|
+
// TODO: Update the object below with actual values
|
|
26
|
+
const example = {
|
|
27
|
+
"_links": null,
|
|
28
|
+
"id": null,
|
|
29
|
+
"url": null,
|
|
30
|
+
"description": null,
|
|
31
|
+
"eventTypes": null,
|
|
32
|
+
"subaccountId": null,
|
|
33
|
+
"createdAt": null,
|
|
34
|
+
"updatedAt": null,
|
|
35
|
+
"enabled": null,
|
|
36
|
+
"secret": null,
|
|
37
|
+
} satisfies CreateWebhook201Response
|
|
38
|
+
|
|
39
|
+
console.log(example)
|
|
40
|
+
|
|
41
|
+
// Convert the instance to a JSON string
|
|
42
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
43
|
+
console.log(exampleJSON)
|
|
44
|
+
|
|
45
|
+
// Parse the JSON string back to an object
|
|
46
|
+
const exampleParsed = JSON.parse(exampleJSON) as CreateWebhook201Response
|
|
47
|
+
console.log(exampleParsed)
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
51
|
+
|
|
52
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# CreateWebhookRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`url` | string
|
|
10
|
+
`description` | string
|
|
11
|
+
`eventTypes` | Array<string>
|
|
12
|
+
`subaccountId` | string
|
|
13
|
+
`enabled` | boolean
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { CreateWebhookRequest } from '@astrada.co/ts-astrada-sdk'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"url": null,
|
|
23
|
+
"description": null,
|
|
24
|
+
"eventTypes": null,
|
|
25
|
+
"subaccountId": null,
|
|
26
|
+
"enabled": null,
|
|
27
|
+
} satisfies CreateWebhookRequest
|
|
28
|
+
|
|
29
|
+
console.log(example)
|
|
30
|
+
|
|
31
|
+
// Convert the instance to a JSON string
|
|
32
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
+
console.log(exampleJSON)
|
|
34
|
+
|
|
35
|
+
// Parse the JSON string back to an object
|
|
36
|
+
const exampleParsed = JSON.parse(exampleJSON) as CreateWebhookRequest
|
|
37
|
+
console.log(exampleParsed)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# EnrollmentMethods200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`availableEnrollmentMethods` | Array<string>
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { EnrollmentMethods200Response } from '@astrada.co/ts-astrada-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"availableEnrollmentMethods": null,
|
|
19
|
+
} satisfies EnrollmentMethods200Response
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as EnrollmentMethods200Response
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# EnrollmentMethods413Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`detail` | string
|
|
10
|
+
`title` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { EnrollmentMethods413Response } from '@astrada.co/ts-astrada-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"detail": null,
|
|
20
|
+
"title": null,
|
|
21
|
+
} satisfies EnrollmentMethods413Response
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as EnrollmentMethods413Response
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# EnrollmentMethodsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.astrada.co*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**enrollmentMethods**](EnrollmentMethodsApi.md#enrollmentmethodsoperation) | **POST** /enrollment-methods | List the available enrollment methods given a card BIN |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## enrollmentMethods
|
|
12
|
+
|
|
13
|
+
> EnrollmentMethods200Response enrollmentMethods(enrollmentMethodsRequest)
|
|
14
|
+
|
|
15
|
+
List the available enrollment methods given a card BIN
|
|
16
|
+
|
|
17
|
+
List the available enrollment methods given a card BIN
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
import {
|
|
23
|
+
Configuration,
|
|
24
|
+
EnrollmentMethodsApi,
|
|
25
|
+
} from '@astrada.co/ts-astrada-sdk';
|
|
26
|
+
import type { EnrollmentMethodsOperationRequest } from '@astrada.co/ts-astrada-sdk';
|
|
27
|
+
|
|
28
|
+
async function example() {
|
|
29
|
+
console.log("🚀 Testing @astrada.co/ts-astrada-sdk SDK...");
|
|
30
|
+
const config = new Configuration({
|
|
31
|
+
// To configure OAuth2 access token for authorization: main-auth implicit
|
|
32
|
+
accessToken: "YOUR ACCESS TOKEN",
|
|
33
|
+
});
|
|
34
|
+
const api = new EnrollmentMethodsApi(config);
|
|
35
|
+
|
|
36
|
+
const body = {
|
|
37
|
+
// EnrollmentMethodsRequest | Enrollment methods payload
|
|
38
|
+
enrollmentMethodsRequest: {"bin":"42424242424"},
|
|
39
|
+
} satisfies EnrollmentMethodsOperationRequest;
|
|
40
|
+
|
|
41
|
+
try {
|
|
42
|
+
const data = await api.enrollmentMethods(body);
|
|
43
|
+
console.log(data);
|
|
44
|
+
} catch (error) {
|
|
45
|
+
console.error(error);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Run the test
|
|
50
|
+
example().catch(console.error);
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Parameters
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
| Name | Type | Description | Notes |
|
|
57
|
+
|------------- | ------------- | ------------- | -------------|
|
|
58
|
+
| **enrollmentMethodsRequest** | [EnrollmentMethodsRequest](EnrollmentMethodsRequest.md) | Enrollment methods payload | |
|
|
59
|
+
|
|
60
|
+
### Return type
|
|
61
|
+
|
|
62
|
+
[**EnrollmentMethods200Response**](EnrollmentMethods200Response.md)
|
|
63
|
+
|
|
64
|
+
### Authorization
|
|
65
|
+
|
|
66
|
+
[main-auth implicit](../README.md#main-auth-implicit)
|
|
67
|
+
|
|
68
|
+
### HTTP request headers
|
|
69
|
+
|
|
70
|
+
- **Content-Type**: `application/json`
|
|
71
|
+
- **Accept**: `application/hal+json`, `application/problem+json`
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### HTTP response details
|
|
75
|
+
| Status code | Description | Response headers |
|
|
76
|
+
|-------------|-------------|------------------|
|
|
77
|
+
| **200** | Successful operation | - |
|
|
78
|
+
| **400** | The server cannot or will not process the request due to something that is perceived to be a client error | - |
|
|
79
|
+
| **401** | Authentication credentials were either missing or incorrect | - |
|
|
80
|
+
| **403** | Authentication credentials used do not have have permissions to perform the request | - |
|
|
81
|
+
| **413** | Content Too Large | - |
|
|
82
|
+
| **500** | The server encountered an unexpected condition that prevented it from fulfilling the request | - |
|
|
83
|
+
|
|
84
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
85
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# EnrollmentMethodsRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`bin` | string
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { EnrollmentMethodsRequest } from '@astrada.co/ts-astrada-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"bin": null,
|
|
19
|
+
} satisfies EnrollmentMethodsRequest
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as EnrollmentMethodsRequest
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# GetCardSubscription404Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`type` | string
|
|
10
|
+
`instance` | string
|
|
11
|
+
`detail` | string
|
|
12
|
+
`title` | string
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { GetCardSubscription404Response } from '@astrada.co/ts-astrada-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"type": null,
|
|
22
|
+
"instance": null,
|
|
23
|
+
"detail": null,
|
|
24
|
+
"title": null,
|
|
25
|
+
} satisfies GetCardSubscription404Response
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetCardSubscription404Response
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# GetSubaccounts200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`_embedded` | [GetSubaccounts200ResponseEmbedded](GetSubaccounts200ResponseEmbedded.md)
|
|
10
|
+
`_links` | [GetSubaccounts200ResponseLinks](GetSubaccounts200ResponseLinks.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { GetSubaccounts200Response } from '@astrada.co/ts-astrada-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"_embedded": null,
|
|
20
|
+
"_links": null,
|
|
21
|
+
} satisfies GetSubaccounts200Response
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetSubaccounts200Response
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# GetSubaccounts200ResponseEmbedded
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`subaccounts` | [Array<Subaccount>](Subaccount.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { GetSubaccounts200ResponseEmbedded } from '@astrada.co/ts-astrada-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"subaccounts": null,
|
|
19
|
+
} satisfies GetSubaccounts200ResponseEmbedded
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetSubaccounts200ResponseEmbedded
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# GetSubaccounts200ResponseLinks
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`self` | [Link](Link.md)
|
|
10
|
+
`next` | [Link](Link.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { GetSubaccounts200ResponseLinks } from '@astrada.co/ts-astrada-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"self": null,
|
|
20
|
+
"next": null,
|
|
21
|
+
} satisfies GetSubaccounts200ResponseLinks
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetSubaccounts200ResponseLinks
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# GetTransactions200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`_links` | [GetSubaccounts200ResponseLinks](GetSubaccounts200ResponseLinks.md)
|
|
10
|
+
`_embedded` | [GetTransactions200ResponseEmbedded](GetTransactions200ResponseEmbedded.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { GetTransactions200Response } from '@astrada.co/ts-astrada-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"_links": null,
|
|
20
|
+
"_embedded": null,
|
|
21
|
+
} satisfies GetTransactions200Response
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetTransactions200Response
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# GetTransactions200ResponseEmbedded
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`transactions` | [Array<Transaction>](Transaction.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { GetTransactions200ResponseEmbedded } from '@astrada.co/ts-astrada-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"transactions": null,
|
|
19
|
+
} satisfies GetTransactions200ResponseEmbedded
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetTransactions200ResponseEmbedded
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|