@astrada.co/ts-astrada-sdk 1.1.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.
Files changed (251) hide show
  1. package/.github/workflows/api-sdk-release.yml +33 -20
  2. package/CHANGELOG.md +2 -2
  3. package/LICENSE +21 -0
  4. package/README.md +0 -2
  5. package/dist/apis/CardApi.js +218 -0
  6. package/dist/apis/CardSubscriptionApi.js +268 -0
  7. package/dist/apis/CardholderApi.js +138 -0
  8. package/dist/apis/EnrollmentMethodsApi.js +139 -0
  9. package/dist/apis/NetworkBulkFeedsApi.js +264 -0
  10. package/dist/apis/SubaccountsApi.js +319 -0
  11. package/dist/apis/TransactionMessagesApi.js +138 -0
  12. package/dist/apis/TransactionsApi.js +215 -0
  13. package/dist/apis/WebhooksApi.js +380 -0
  14. package/{lib → dist}/models/Card.js +5 -4
  15. package/{lib → dist}/models/CardLinks.js +3 -2
  16. package/{lib → dist}/models/CardSubscription.js +7 -6
  17. package/{lib → dist}/models/CardSubscriptionLinks.js +3 -2
  18. package/{lib → dist}/models/Cardholder.js +6 -5
  19. package/{lib → dist}/models/CardholderCorporate.js +2 -1
  20. package/{lib → dist}/models/CardholderLinks.js +3 -2
  21. package/{lib → dist}/models/Conflict.js +2 -1
  22. package/{lib → dist}/models/CreateNetworkBulkFeedRequest.js +2 -1
  23. package/{lib → dist}/models/CreateSubaccountRequest.js +3 -2
  24. package/{lib → dist}/models/CreateWebhook201Response.d.ts +2 -0
  25. package/{lib → dist}/models/CreateWebhook201Response.js +8 -5
  26. package/{lib → dist}/models/CreateWebhookRequest.d.ts +2 -0
  27. package/{lib → dist}/models/CreateWebhookRequest.js +5 -2
  28. package/{lib → dist}/models/EnrollmentMethods200Response.js +2 -1
  29. package/dist/models/EnrollmentMethods413Response.d.ts +45 -0
  30. package/dist/models/EnrollmentMethods413Response.js +62 -0
  31. package/{lib → dist}/models/EnrollmentMethodsRequest.js +2 -1
  32. package/dist/models/GetCardSubscription404Response.d.ts +57 -0
  33. package/dist/models/GetCardSubscription404Response.js +66 -0
  34. package/{lib → dist}/models/GetSubaccounts200Response.js +4 -3
  35. package/{lib → dist}/models/GetSubaccounts200ResponseEmbedded.js +3 -2
  36. package/{lib → dist}/models/GetSubaccounts200ResponseLinks.js +3 -2
  37. package/{lib → dist}/models/GetTransactions200Response.js +4 -3
  38. package/{lib → dist}/models/GetTransactions200ResponseEmbedded.js +3 -2
  39. package/{lib → dist}/models/InlineObject.js +3 -2
  40. package/{lib → dist}/models/InlineObject1.js +2 -1
  41. package/{lib → dist}/models/InlineObject2.js +2 -1
  42. package/{lib → dist}/models/InlineObject3.js +2 -1
  43. package/{lib → dist}/models/InlineObject4.js +2 -1
  44. package/{lib → dist}/models/InlineObject5.js +2 -1
  45. package/{lib → dist}/models/InlineObjectErrorsInner.js +2 -1
  46. package/{lib → dist}/models/Link.js +2 -1
  47. package/{lib → dist}/models/ListCardSubscriptions200Response.js +4 -3
  48. package/{lib → dist}/models/ListCardSubscriptions200ResponseEmbedded.js +3 -2
  49. package/{lib → dist}/models/ListCardSubscriptions200ResponseLinks.js +3 -2
  50. package/dist/models/ListCardSubscriptions400Response.d.ts +52 -0
  51. package/dist/models/ListCardSubscriptions400Response.js +65 -0
  52. package/dist/models/ListCardSubscriptions400ResponseErrorsInner.d.ts +38 -0
  53. package/dist/models/ListCardSubscriptions400ResponseErrorsInner.js +55 -0
  54. package/dist/models/ListCardSubscriptions401Response.d.ts +45 -0
  55. package/dist/models/ListCardSubscriptions401Response.js +62 -0
  56. package/dist/models/ListCardSubscriptions403Response.d.ts +45 -0
  57. package/dist/models/ListCardSubscriptions403Response.js +62 -0
  58. package/dist/models/ListCardSubscriptions500Response.d.ts +45 -0
  59. package/dist/models/ListCardSubscriptions500Response.js +62 -0
  60. package/{lib → dist}/models/ListCards200Response.js +4 -3
  61. package/{lib → dist}/models/ListCards200ResponseEmbedded.js +3 -2
  62. package/{lib → dist}/models/ListNetworkBulkFeeds200Response.js +4 -3
  63. package/{lib → dist}/models/ListNetworkBulkFeeds200ResponseEmbedded.js +3 -2
  64. package/{lib → dist}/models/ListWebhooks200Response.js +4 -3
  65. package/{lib → dist}/models/ListWebhooks200ResponseEmbedded.js +3 -2
  66. package/{lib → dist}/models/ListWebhooks200ResponseLinks.js +3 -2
  67. package/{lib → dist}/models/NetworkBulkFeeds.d.ts +16 -1
  68. package/{lib → dist}/models/NetworkBulkFeeds.js +18 -5
  69. package/{lib → dist}/models/Subaccount.js +6 -5
  70. package/{lib → dist}/models/SubaccountConfiguration.js +3 -2
  71. package/{lib → dist}/models/SubaccountConfigurationVISA.js +2 -1
  72. package/{lib → dist}/models/Transaction.js +7 -6
  73. package/{lib → dist}/models/TransactionAcceptor.js +2 -1
  74. package/{lib → dist}/models/TransactionLinks.js +3 -2
  75. package/{lib → dist}/models/TransactionMessage.js +7 -6
  76. package/{lib → dist}/models/TransactionMessageAcceptor.js +2 -1
  77. package/{lib → dist}/models/UnprocessableEntity.js +2 -1
  78. package/{lib → dist}/models/UpdateCardSubscriptionRequest.js +2 -1
  79. package/{lib → dist}/models/UpdateSubaccountRequest.js +3 -2
  80. package/{lib → dist}/models/UpdateWebhookRequest.d.ts +2 -0
  81. package/{lib → dist}/models/UpdateWebhookRequest.js +5 -2
  82. package/{lib → dist}/models/Webhook.d.ts +2 -0
  83. package/{lib → dist}/models/Webhook.js +8 -5
  84. package/{lib → dist}/models/index.d.ts +7 -7
  85. package/{lib → dist}/models/index.js +7 -7
  86. package/dist/runtime.js +638 -0
  87. package/docs/Card.md +54 -0
  88. package/docs/CardApi.md +176 -0
  89. package/docs/CardLinks.md +36 -0
  90. package/docs/CardSubscription.md +56 -0
  91. package/docs/CardSubscriptionApi.md +252 -0
  92. package/docs/CardSubscriptionLinks.md +38 -0
  93. package/docs/Cardholder.md +44 -0
  94. package/docs/CardholderApi.md +85 -0
  95. package/docs/CardholderCorporate.md +37 -0
  96. package/docs/CardholderLinks.md +34 -0
  97. package/docs/Conflict.md +40 -0
  98. package/docs/CreateNetworkBulkFeedRequest.md +38 -0
  99. package/docs/CreateSubaccountRequest.md +36 -0
  100. package/docs/CreateWebhook201Response.md +52 -0
  101. package/docs/CreateWebhookRequest.md +42 -0
  102. package/docs/EnrollmentMethods200Response.md +34 -0
  103. package/docs/EnrollmentMethods413Response.md +36 -0
  104. package/docs/EnrollmentMethodsApi.md +85 -0
  105. package/docs/EnrollmentMethodsRequest.md +34 -0
  106. package/docs/GetCardSubscription404Response.md +40 -0
  107. package/docs/GetSubaccounts200Response.md +36 -0
  108. package/docs/GetSubaccounts200ResponseEmbedded.md +34 -0
  109. package/docs/GetSubaccounts200ResponseLinks.md +36 -0
  110. package/docs/GetTransactions200Response.md +36 -0
  111. package/docs/GetTransactions200ResponseEmbedded.md +34 -0
  112. package/docs/Link.md +48 -0
  113. package/docs/ListCardSubscriptions200Response.md +38 -0
  114. package/docs/ListCardSubscriptions200ResponseEmbedded.md +34 -0
  115. package/docs/ListCardSubscriptions200ResponseLinks.md +42 -0
  116. package/docs/ListCardSubscriptions400Response.md +38 -0
  117. package/docs/ListCardSubscriptions400ResponseErrorsInner.md +36 -0
  118. package/docs/ListCardSubscriptions401Response.md +36 -0
  119. package/docs/ListCardSubscriptions403Response.md +36 -0
  120. package/docs/ListCardSubscriptions500Response.md +36 -0
  121. package/docs/ListCards200Response.md +38 -0
  122. package/docs/ListCards200ResponseEmbedded.md +34 -0
  123. package/docs/ListNetworkBulkFeeds200Response.md +38 -0
  124. package/docs/ListNetworkBulkFeeds200ResponseEmbedded.md +34 -0
  125. package/docs/ListWebhooks200Response.md +37 -0
  126. package/docs/ListWebhooks200ResponseEmbedded.md +34 -0
  127. package/docs/ListWebhooks200ResponseLinks.md +36 -0
  128. package/docs/NetworkBulkFeeds.md +48 -0
  129. package/docs/NetworkBulkFeedsApi.md +247 -0
  130. package/docs/Subaccount.md +46 -0
  131. package/docs/SubaccountConfiguration.md +37 -0
  132. package/docs/SubaccountConfigurationVISA.md +34 -0
  133. package/docs/SubaccountsApi.md +321 -0
  134. package/docs/Transaction.md +66 -0
  135. package/docs/TransactionAcceptor.md +41 -0
  136. package/docs/TransactionLinks.md +40 -0
  137. package/docs/TransactionMessage.md +70 -0
  138. package/docs/TransactionMessageAcceptor.md +47 -0
  139. package/docs/TransactionMessagesApi.md +85 -0
  140. package/docs/TransactionsApi.md +174 -0
  141. package/docs/UnprocessableEntity.md +36 -0
  142. package/docs/UpdateCardSubscriptionRequest.md +34 -0
  143. package/docs/UpdateSubaccountRequest.md +36 -0
  144. package/docs/UpdateWebhookRequest.md +40 -0
  145. package/docs/Webhook.md +51 -0
  146. package/docs/WebhooksApi.md +401 -0
  147. package/openapitools.json +7 -0
  148. package/package.json +11 -11
  149. package/src/apis/CardApi.ts +15 -15
  150. package/src/apis/CardSubscriptionApi.ts +15 -15
  151. package/src/apis/CardholderApi.ts +15 -15
  152. package/src/apis/EnrollmentMethodsApi.ts +15 -15
  153. package/src/apis/NetworkBulkFeedsApi.ts +15 -15
  154. package/src/apis/SubaccountsApi.ts +15 -15
  155. package/src/apis/TransactionMessagesApi.ts +15 -15
  156. package/src/apis/TransactionsApi.ts +15 -15
  157. package/src/apis/WebhooksApi.ts +15 -15
  158. package/src/models/Card.ts +2 -2
  159. package/src/models/CardSubscription.ts +4 -4
  160. package/src/models/Cardholder.ts +2 -2
  161. package/src/models/CreateWebhook201Response.ts +5 -3
  162. package/src/models/CreateWebhookRequest.ts +3 -1
  163. package/src/models/EnrollmentMethods413Response.ts +85 -0
  164. package/src/models/GetCardSubscription404Response.ts +101 -0
  165. package/src/models/ListCardSubscriptions400Response.ts +101 -0
  166. package/src/models/ListCardSubscriptions400ResponseErrorsInner.ts +75 -0
  167. package/src/models/ListCardSubscriptions401Response.ts +85 -0
  168. package/src/models/ListCardSubscriptions403Response.ts +85 -0
  169. package/src/models/ListCardSubscriptions500Response.ts +85 -0
  170. package/src/models/NetworkBulkFeeds.ts +22 -3
  171. package/src/models/Subaccount.ts +2 -2
  172. package/src/models/Transaction.ts +3 -3
  173. package/src/models/TransactionMessage.ts +3 -3
  174. package/src/models/UpdateWebhookRequest.ts +3 -1
  175. package/src/models/Webhook.ts +5 -3
  176. package/src/models/index.ts +7 -7
  177. package/src/runtime.ts +0 -1
  178. package/tsconfig.json +14 -7
  179. package/dist/astrada.co-ts-astrada-sdk-1.1.0.tgz +0 -0
  180. package/lib/apis/CardApi.js +0 -109
  181. package/lib/apis/CardSubscriptionApi.js +0 -133
  182. package/lib/apis/CardholderApi.js +0 -56
  183. package/lib/apis/EnrollmentMethodsApi.js +0 -57
  184. package/lib/apis/NetworkBulkFeedsApi.js +0 -129
  185. package/lib/apis/SubaccountsApi.js +0 -157
  186. package/lib/apis/TransactionMessagesApi.js +0 -56
  187. package/lib/apis/TransactionsApi.js +0 -106
  188. package/lib/apis/WebhooksApi.js +0 -194
  189. package/lib/runtime.js +0 -394
  190. package/openapi-generator/templates/README.mustache +0 -274
  191. package/openapi-generator/templates/runtime.mustache +0 -515
  192. /package/{lib → dist}/apis/CardApi.d.ts +0 -0
  193. /package/{lib → dist}/apis/CardSubscriptionApi.d.ts +0 -0
  194. /package/{lib → dist}/apis/CardholderApi.d.ts +0 -0
  195. /package/{lib → dist}/apis/EnrollmentMethodsApi.d.ts +0 -0
  196. /package/{lib → dist}/apis/NetworkBulkFeedsApi.d.ts +0 -0
  197. /package/{lib → dist}/apis/SubaccountsApi.d.ts +0 -0
  198. /package/{lib → dist}/apis/TransactionMessagesApi.d.ts +0 -0
  199. /package/{lib → dist}/apis/TransactionsApi.d.ts +0 -0
  200. /package/{lib → dist}/apis/WebhooksApi.d.ts +0 -0
  201. /package/{lib → dist}/apis/index.d.ts +0 -0
  202. /package/{lib → dist}/apis/index.js +0 -0
  203. /package/{lib → dist}/index.d.ts +0 -0
  204. /package/{lib → dist}/index.js +0 -0
  205. /package/{lib → dist}/models/Card.d.ts +0 -0
  206. /package/{lib → dist}/models/CardLinks.d.ts +0 -0
  207. /package/{lib → dist}/models/CardSubscription.d.ts +0 -0
  208. /package/{lib → dist}/models/CardSubscriptionLinks.d.ts +0 -0
  209. /package/{lib → dist}/models/Cardholder.d.ts +0 -0
  210. /package/{lib → dist}/models/CardholderCorporate.d.ts +0 -0
  211. /package/{lib → dist}/models/CardholderLinks.d.ts +0 -0
  212. /package/{lib → dist}/models/Conflict.d.ts +0 -0
  213. /package/{lib → dist}/models/CreateNetworkBulkFeedRequest.d.ts +0 -0
  214. /package/{lib → dist}/models/CreateSubaccountRequest.d.ts +0 -0
  215. /package/{lib → dist}/models/EnrollmentMethods200Response.d.ts +0 -0
  216. /package/{lib → dist}/models/EnrollmentMethodsRequest.d.ts +0 -0
  217. /package/{lib → dist}/models/GetSubaccounts200Response.d.ts +0 -0
  218. /package/{lib → dist}/models/GetSubaccounts200ResponseEmbedded.d.ts +0 -0
  219. /package/{lib → dist}/models/GetSubaccounts200ResponseLinks.d.ts +0 -0
  220. /package/{lib → dist}/models/GetTransactions200Response.d.ts +0 -0
  221. /package/{lib → dist}/models/GetTransactions200ResponseEmbedded.d.ts +0 -0
  222. /package/{lib → dist}/models/InlineObject.d.ts +0 -0
  223. /package/{lib → dist}/models/InlineObject1.d.ts +0 -0
  224. /package/{lib → dist}/models/InlineObject2.d.ts +0 -0
  225. /package/{lib → dist}/models/InlineObject3.d.ts +0 -0
  226. /package/{lib → dist}/models/InlineObject4.d.ts +0 -0
  227. /package/{lib → dist}/models/InlineObject5.d.ts +0 -0
  228. /package/{lib → dist}/models/InlineObjectErrorsInner.d.ts +0 -0
  229. /package/{lib → dist}/models/Link.d.ts +0 -0
  230. /package/{lib → dist}/models/ListCardSubscriptions200Response.d.ts +0 -0
  231. /package/{lib → dist}/models/ListCardSubscriptions200ResponseEmbedded.d.ts +0 -0
  232. /package/{lib → dist}/models/ListCardSubscriptions200ResponseLinks.d.ts +0 -0
  233. /package/{lib → dist}/models/ListCards200Response.d.ts +0 -0
  234. /package/{lib → dist}/models/ListCards200ResponseEmbedded.d.ts +0 -0
  235. /package/{lib → dist}/models/ListNetworkBulkFeeds200Response.d.ts +0 -0
  236. /package/{lib → dist}/models/ListNetworkBulkFeeds200ResponseEmbedded.d.ts +0 -0
  237. /package/{lib → dist}/models/ListWebhooks200Response.d.ts +0 -0
  238. /package/{lib → dist}/models/ListWebhooks200ResponseEmbedded.d.ts +0 -0
  239. /package/{lib → dist}/models/ListWebhooks200ResponseLinks.d.ts +0 -0
  240. /package/{lib → dist}/models/Subaccount.d.ts +0 -0
  241. /package/{lib → dist}/models/SubaccountConfiguration.d.ts +0 -0
  242. /package/{lib → dist}/models/SubaccountConfigurationVISA.d.ts +0 -0
  243. /package/{lib → dist}/models/Transaction.d.ts +0 -0
  244. /package/{lib → dist}/models/TransactionAcceptor.d.ts +0 -0
  245. /package/{lib → dist}/models/TransactionLinks.d.ts +0 -0
  246. /package/{lib → dist}/models/TransactionMessage.d.ts +0 -0
  247. /package/{lib → dist}/models/TransactionMessageAcceptor.d.ts +0 -0
  248. /package/{lib → dist}/models/UnprocessableEntity.d.ts +0 -0
  249. /package/{lib → dist}/models/UpdateCardSubscriptionRequest.d.ts +0 -0
  250. /package/{lib → dist}/models/UpdateSubaccountRequest.d.ts +0 -0
  251. /package/{lib → dist}/runtime.d.ts +0 -0
@@ -18,7 +18,7 @@ exports.ListCards200ResponseEmbeddedFromJSON = ListCards200ResponseEmbeddedFromJ
18
18
  exports.ListCards200ResponseEmbeddedFromJSONTyped = ListCards200ResponseEmbeddedFromJSONTyped;
19
19
  exports.ListCards200ResponseEmbeddedToJSON = ListCards200ResponseEmbeddedToJSON;
20
20
  exports.ListCards200ResponseEmbeddedToJSONTyped = ListCards200ResponseEmbeddedToJSONTyped;
21
- const Card_1 = require("./Card");
21
+ var Card_1 = require("./Card");
22
22
  /**
23
23
  * Check if a given object implements the ListCards200ResponseEmbedded interface.
24
24
  */
@@ -41,7 +41,8 @@ function ListCards200ResponseEmbeddedFromJSONTyped(json, ignoreDiscriminator) {
41
41
  function ListCards200ResponseEmbeddedToJSON(json) {
42
42
  return ListCards200ResponseEmbeddedToJSONTyped(json, false);
43
43
  }
44
- function ListCards200ResponseEmbeddedToJSONTyped(value, ignoreDiscriminator = false) {
44
+ function ListCards200ResponseEmbeddedToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
46
  if (value == null) {
46
47
  return value;
47
48
  }
@@ -18,8 +18,8 @@ exports.ListNetworkBulkFeeds200ResponseFromJSON = ListNetworkBulkFeeds200Respons
18
18
  exports.ListNetworkBulkFeeds200ResponseFromJSONTyped = ListNetworkBulkFeeds200ResponseFromJSONTyped;
19
19
  exports.ListNetworkBulkFeeds200ResponseToJSON = ListNetworkBulkFeeds200ResponseToJSON;
20
20
  exports.ListNetworkBulkFeeds200ResponseToJSONTyped = ListNetworkBulkFeeds200ResponseToJSONTyped;
21
- const ListCardSubscriptions200ResponseLinks_1 = require("./ListCardSubscriptions200ResponseLinks");
22
- const ListNetworkBulkFeeds200ResponseEmbedded_1 = require("./ListNetworkBulkFeeds200ResponseEmbedded");
21
+ var ListCardSubscriptions200ResponseLinks_1 = require("./ListCardSubscriptions200ResponseLinks");
22
+ var ListNetworkBulkFeeds200ResponseEmbedded_1 = require("./ListNetworkBulkFeeds200ResponseEmbedded");
23
23
  /**
24
24
  * Check if a given object implements the ListNetworkBulkFeeds200Response interface.
25
25
  */
@@ -48,7 +48,8 @@ function ListNetworkBulkFeeds200ResponseFromJSONTyped(json, ignoreDiscriminator)
48
48
  function ListNetworkBulkFeeds200ResponseToJSON(json) {
49
49
  return ListNetworkBulkFeeds200ResponseToJSONTyped(json, false);
50
50
  }
51
- function ListNetworkBulkFeeds200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
51
+ function ListNetworkBulkFeeds200ResponseToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
53
  if (value == null) {
53
54
  return value;
54
55
  }
@@ -18,7 +18,7 @@ exports.ListNetworkBulkFeeds200ResponseEmbeddedFromJSON = ListNetworkBulkFeeds20
18
18
  exports.ListNetworkBulkFeeds200ResponseEmbeddedFromJSONTyped = ListNetworkBulkFeeds200ResponseEmbeddedFromJSONTyped;
19
19
  exports.ListNetworkBulkFeeds200ResponseEmbeddedToJSON = ListNetworkBulkFeeds200ResponseEmbeddedToJSON;
20
20
  exports.ListNetworkBulkFeeds200ResponseEmbeddedToJSONTyped = ListNetworkBulkFeeds200ResponseEmbeddedToJSONTyped;
21
- const NetworkBulkFeeds_1 = require("./NetworkBulkFeeds");
21
+ var NetworkBulkFeeds_1 = require("./NetworkBulkFeeds");
22
22
  /**
23
23
  * Check if a given object implements the ListNetworkBulkFeeds200ResponseEmbedded interface.
24
24
  */
@@ -41,7 +41,8 @@ function ListNetworkBulkFeeds200ResponseEmbeddedFromJSONTyped(json, ignoreDiscri
41
41
  function ListNetworkBulkFeeds200ResponseEmbeddedToJSON(json) {
42
42
  return ListNetworkBulkFeeds200ResponseEmbeddedToJSONTyped(json, false);
43
43
  }
44
- function ListNetworkBulkFeeds200ResponseEmbeddedToJSONTyped(value, ignoreDiscriminator = false) {
44
+ function ListNetworkBulkFeeds200ResponseEmbeddedToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
46
  if (value == null) {
46
47
  return value;
47
48
  }
@@ -18,8 +18,8 @@ exports.ListWebhooks200ResponseFromJSON = ListWebhooks200ResponseFromJSON;
18
18
  exports.ListWebhooks200ResponseFromJSONTyped = ListWebhooks200ResponseFromJSONTyped;
19
19
  exports.ListWebhooks200ResponseToJSON = ListWebhooks200ResponseToJSON;
20
20
  exports.ListWebhooks200ResponseToJSONTyped = ListWebhooks200ResponseToJSONTyped;
21
- const ListWebhooks200ResponseEmbedded_1 = require("./ListWebhooks200ResponseEmbedded");
22
- const ListWebhooks200ResponseLinks_1 = require("./ListWebhooks200ResponseLinks");
21
+ var ListWebhooks200ResponseEmbedded_1 = require("./ListWebhooks200ResponseEmbedded");
22
+ var ListWebhooks200ResponseLinks_1 = require("./ListWebhooks200ResponseLinks");
23
23
  /**
24
24
  * Check if a given object implements the ListWebhooks200Response interface.
25
25
  */
@@ -45,7 +45,8 @@ function ListWebhooks200ResponseFromJSONTyped(json, ignoreDiscriminator) {
45
45
  function ListWebhooks200ResponseToJSON(json) {
46
46
  return ListWebhooks200ResponseToJSONTyped(json, false);
47
47
  }
48
- function ListWebhooks200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
48
+ function ListWebhooks200ResponseToJSONTyped(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.ListWebhooks200ResponseEmbeddedFromJSON = ListWebhooks200ResponseEmbedde
18
18
  exports.ListWebhooks200ResponseEmbeddedFromJSONTyped = ListWebhooks200ResponseEmbeddedFromJSONTyped;
19
19
  exports.ListWebhooks200ResponseEmbeddedToJSON = ListWebhooks200ResponseEmbeddedToJSON;
20
20
  exports.ListWebhooks200ResponseEmbeddedToJSONTyped = ListWebhooks200ResponseEmbeddedToJSONTyped;
21
- const Webhook_1 = require("./Webhook");
21
+ var Webhook_1 = require("./Webhook");
22
22
  /**
23
23
  * Check if a given object implements the ListWebhooks200ResponseEmbedded interface.
24
24
  */
@@ -39,7 +39,8 @@ function ListWebhooks200ResponseEmbeddedFromJSONTyped(json, ignoreDiscriminator)
39
39
  function ListWebhooks200ResponseEmbeddedToJSON(json) {
40
40
  return ListWebhooks200ResponseEmbeddedToJSONTyped(json, false);
41
41
  }
42
- function ListWebhooks200ResponseEmbeddedToJSONTyped(value, ignoreDiscriminator = false) {
42
+ function ListWebhooks200ResponseEmbeddedToJSONTyped(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.ListWebhooks200ResponseLinksFromJSON = ListWebhooks200ResponseLinksFromJ
18
18
  exports.ListWebhooks200ResponseLinksFromJSONTyped = ListWebhooks200ResponseLinksFromJSONTyped;
19
19
  exports.ListWebhooks200ResponseLinksToJSON = ListWebhooks200ResponseLinksToJSON;
20
20
  exports.ListWebhooks200ResponseLinksToJSONTyped = ListWebhooks200ResponseLinksToJSONTyped;
21
- const Link_1 = require("./Link");
21
+ var Link_1 = require("./Link");
22
22
  /**
23
23
  * Check if a given object implements the ListWebhooks200ResponseLinks interface.
24
24
  */
@@ -40,7 +40,8 @@ function ListWebhooks200ResponseLinksFromJSONTyped(json, ignoreDiscriminator) {
40
40
  function ListWebhooks200ResponseLinksToJSON(json) {
41
41
  return ListWebhooks200ResponseLinksToJSONTyped(json, false);
42
42
  }
43
- function ListWebhooks200ResponseLinksToJSONTyped(value, ignoreDiscriminator = false) {
43
+ function ListWebhooks200ResponseLinksToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
45
  if (value == null) {
45
46
  return value;
46
47
  }
@@ -41,7 +41,7 @@ export interface NetworkBulkFeeds {
41
41
  */
42
42
  network: NetworkBulkFeedsNetworkEnum;
43
43
  /**
44
- * The identifier linked to the card network’s bulk enrollment feed.
44
+ * The identifier linked to the card network's bulk enrollment feed.
45
45
  * For Mastercard, this field should contain the DeliveryID.
46
46
  * For Visa, this field should contain the RPIC in the following format 'RegionId_ProcessorId_IssuerId_CompanyId', such as '123_456_789_010'.
47
47
  * For more details on our bulk enrollment process, refer to [this guide](https://docs.astrada.co/docs/network-bulk-enrollment).
@@ -50,6 +50,12 @@ export interface NetworkBulkFeeds {
50
50
  * @memberof NetworkBulkFeeds
51
51
  */
52
52
  networkReference: string;
53
+ /**
54
+ * The state of the network bulk feed entity.
55
+ * @type {string}
56
+ * @memberof NetworkBulkFeeds
57
+ */
58
+ state: NetworkBulkFeedsStateEnum;
53
59
  /**
54
60
  * Date and Time at which this entity was created following ISO 8601 format.
55
61
  * @type {Date}
@@ -71,6 +77,15 @@ export declare const NetworkBulkFeedsNetworkEnum: {
71
77
  readonly Visa: "VISA";
72
78
  };
73
79
  export type NetworkBulkFeedsNetworkEnum = typeof NetworkBulkFeedsNetworkEnum[keyof typeof NetworkBulkFeedsNetworkEnum];
80
+ /**
81
+ * @export
82
+ */
83
+ export declare const NetworkBulkFeedsStateEnum: {
84
+ readonly Submitted: "submitted";
85
+ readonly Active: "active";
86
+ readonly Deactivated: "deactivated";
87
+ };
88
+ export type NetworkBulkFeedsStateEnum = typeof NetworkBulkFeedsStateEnum[keyof typeof NetworkBulkFeedsStateEnum];
74
89
  /**
75
90
  * Check if a given object implements the NetworkBulkFeeds interface.
76
91
  */
@@ -13,13 +13,13 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.NetworkBulkFeedsNetworkEnum = void 0;
16
+ exports.NetworkBulkFeedsStateEnum = exports.NetworkBulkFeedsNetworkEnum = void 0;
17
17
  exports.instanceOfNetworkBulkFeeds = instanceOfNetworkBulkFeeds;
18
18
  exports.NetworkBulkFeedsFromJSON = NetworkBulkFeedsFromJSON;
19
19
  exports.NetworkBulkFeedsFromJSONTyped = NetworkBulkFeedsFromJSONTyped;
20
20
  exports.NetworkBulkFeedsToJSON = NetworkBulkFeedsToJSON;
21
21
  exports.NetworkBulkFeedsToJSONTyped = NetworkBulkFeedsToJSONTyped;
22
- const CardholderLinks_1 = require("./CardholderLinks");
22
+ var CardholderLinks_1 = require("./CardholderLinks");
23
23
  /**
24
24
  * @export
25
25
  */
@@ -27,6 +27,14 @@ exports.NetworkBulkFeedsNetworkEnum = {
27
27
  Mastercard: 'MASTERCARD',
28
28
  Visa: 'VISA'
29
29
  };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.NetworkBulkFeedsStateEnum = {
34
+ Submitted: 'submitted',
35
+ Active: 'active',
36
+ Deactivated: 'deactivated'
37
+ };
30
38
  /**
31
39
  * Check if a given object implements the NetworkBulkFeeds interface.
32
40
  */
@@ -41,6 +49,8 @@ function instanceOfNetworkBulkFeeds(value) {
41
49
  return false;
42
50
  if (!('networkReference' in value) || value['networkReference'] === undefined)
43
51
  return false;
52
+ if (!('state' in value) || value['state'] === undefined)
53
+ return false;
44
54
  if (!('createdAt' in value) || value['createdAt'] === undefined)
45
55
  return false;
46
56
  if (!('updatedAt' in value) || value['updatedAt'] === undefined)
@@ -60,6 +70,7 @@ function NetworkBulkFeedsFromJSONTyped(json, ignoreDiscriminator) {
60
70
  'subaccountId': json['subaccountId'],
61
71
  'network': json['network'],
62
72
  'networkReference': json['networkReference'],
73
+ 'state': json['state'],
63
74
  'createdAt': (new Date(json['createdAt'])),
64
75
  'updatedAt': (new Date(json['updatedAt'])),
65
76
  };
@@ -67,7 +78,8 @@ function NetworkBulkFeedsFromJSONTyped(json, ignoreDiscriminator) {
67
78
  function NetworkBulkFeedsToJSON(json) {
68
79
  return NetworkBulkFeedsToJSONTyped(json, false);
69
80
  }
70
- function NetworkBulkFeedsToJSONTyped(value, ignoreDiscriminator = false) {
81
+ function NetworkBulkFeedsToJSONTyped(value, ignoreDiscriminator) {
82
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
71
83
  if (value == null) {
72
84
  return value;
73
85
  }
@@ -77,7 +89,8 @@ function NetworkBulkFeedsToJSONTyped(value, ignoreDiscriminator = false) {
77
89
  'subaccountId': value['subaccountId'],
78
90
  'network': value['network'],
79
91
  'networkReference': value['networkReference'],
80
- 'createdAt': ((value['createdAt']).toISOString()),
81
- 'updatedAt': ((value['updatedAt']).toISOString()),
92
+ 'state': value['state'],
93
+ 'createdAt': value['createdAt'].toISOString(),
94
+ 'updatedAt': value['updatedAt'].toISOString(),
82
95
  };
83
96
  }
@@ -18,8 +18,8 @@ exports.SubaccountFromJSON = SubaccountFromJSON;
18
18
  exports.SubaccountFromJSONTyped = SubaccountFromJSONTyped;
19
19
  exports.SubaccountToJSON = SubaccountToJSON;
20
20
  exports.SubaccountToJSONTyped = SubaccountToJSONTyped;
21
- const SubaccountConfiguration_1 = require("./SubaccountConfiguration");
22
- const CardholderLinks_1 = require("./CardholderLinks");
21
+ var SubaccountConfiguration_1 = require("./SubaccountConfiguration");
22
+ var CardholderLinks_1 = require("./CardholderLinks");
23
23
  /**
24
24
  * Check if a given object implements the Subaccount interface.
25
25
  */
@@ -60,7 +60,8 @@ function SubaccountFromJSONTyped(json, ignoreDiscriminator) {
60
60
  function SubaccountToJSON(json) {
61
61
  return SubaccountToJSONTyped(json, false);
62
62
  }
63
- function SubaccountToJSONTyped(value, ignoreDiscriminator = false) {
63
+ function SubaccountToJSONTyped(value, ignoreDiscriminator) {
64
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
64
65
  if (value == null) {
65
66
  return value;
66
67
  }
@@ -69,8 +70,8 @@ function SubaccountToJSONTyped(value, ignoreDiscriminator = false) {
69
70
  'accountId': value['accountId'],
70
71
  'id': value['id'],
71
72
  'name': value['name'],
72
- 'createdAt': ((value['createdAt']).toISOString()),
73
- 'updatedAt': ((value['updatedAt']).toISOString()),
73
+ 'createdAt': value['createdAt'].toISOString(),
74
+ 'updatedAt': value['updatedAt'].toISOString(),
74
75
  'configurations': (0, SubaccountConfiguration_1.SubaccountConfigurationToJSON)(value['configurations']),
75
76
  };
76
77
  }
@@ -18,7 +18,7 @@ exports.SubaccountConfigurationFromJSON = SubaccountConfigurationFromJSON;
18
18
  exports.SubaccountConfigurationFromJSONTyped = SubaccountConfigurationFromJSONTyped;
19
19
  exports.SubaccountConfigurationToJSON = SubaccountConfigurationToJSON;
20
20
  exports.SubaccountConfigurationToJSONTyped = SubaccountConfigurationToJSONTyped;
21
- const SubaccountConfigurationVISA_1 = require("./SubaccountConfigurationVISA");
21
+ var SubaccountConfigurationVISA_1 = require("./SubaccountConfigurationVISA");
22
22
  /**
23
23
  * Check if a given object implements the SubaccountConfiguration interface.
24
24
  */
@@ -40,7 +40,8 @@ function SubaccountConfigurationFromJSONTyped(json, ignoreDiscriminator) {
40
40
  function SubaccountConfigurationToJSON(json) {
41
41
  return SubaccountConfigurationToJSONTyped(json, false);
42
42
  }
43
- function SubaccountConfigurationToJSONTyped(value, ignoreDiscriminator = false) {
43
+ function SubaccountConfigurationToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
45
  if (value == null) {
45
46
  return value;
46
47
  }
@@ -51,7 +51,8 @@ function SubaccountConfigurationVISAFromJSONTyped(json, ignoreDiscriminator) {
51
51
  function SubaccountConfigurationVISAToJSON(json) {
52
52
  return SubaccountConfigurationVISAToJSONTyped(json, false);
53
53
  }
54
- function SubaccountConfigurationVISAToJSONTyped(value, ignoreDiscriminator = false) {
54
+ function SubaccountConfigurationVISAToJSONTyped(value, ignoreDiscriminator) {
55
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
55
56
  if (value == null) {
56
57
  return value;
57
58
  }
@@ -19,8 +19,8 @@ exports.TransactionFromJSON = TransactionFromJSON;
19
19
  exports.TransactionFromJSONTyped = TransactionFromJSONTyped;
20
20
  exports.TransactionToJSON = TransactionToJSON;
21
21
  exports.TransactionToJSONTyped = TransactionToJSONTyped;
22
- const TransactionLinks_1 = require("./TransactionLinks");
23
- const TransactionAcceptor_1 = require("./TransactionAcceptor");
22
+ var TransactionLinks_1 = require("./TransactionLinks");
23
+ var TransactionAcceptor_1 = require("./TransactionAcceptor");
24
24
  /**
25
25
  * @export
26
26
  */
@@ -100,7 +100,8 @@ function TransactionFromJSONTyped(json, ignoreDiscriminator) {
100
100
  function TransactionToJSON(json) {
101
101
  return TransactionToJSONTyped(json, false);
102
102
  }
103
- function TransactionToJSONTyped(value, ignoreDiscriminator = false) {
103
+ function TransactionToJSONTyped(value, ignoreDiscriminator) {
104
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
104
105
  if (value == null) {
105
106
  return value;
106
107
  }
@@ -118,9 +119,9 @@ function TransactionToJSONTyped(value, ignoreDiscriminator = false) {
118
119
  'status': value['status'],
119
120
  'transactionCurrency': value['transactionCurrency'],
120
121
  'transactionHoldAmount': value['transactionHoldAmount'],
121
- 'transactionOccurrenceDate': (value['transactionOccurrenceDate'].toISOString().substring(0, 10)),
122
+ 'transactionOccurrenceDate': value['transactionOccurrenceDate'] == null ? value['transactionOccurrenceDate'] : value['transactionOccurrenceDate'].toISOString().substring(0, 10),
122
123
  'transactionSettledAmount': value['transactionSettledAmount'],
123
- 'createdAt': ((value['createdAt']).toISOString()),
124
- 'updatedAt': ((value['updatedAt']).toISOString()),
124
+ 'createdAt': value['createdAt'].toISOString(),
125
+ 'updatedAt': value['updatedAt'].toISOString(),
125
126
  };
126
127
  }
@@ -49,7 +49,8 @@ function TransactionAcceptorFromJSONTyped(json, ignoreDiscriminator) {
49
49
  function TransactionAcceptorToJSON(json) {
50
50
  return TransactionAcceptorToJSONTyped(json, false);
51
51
  }
52
- function TransactionAcceptorToJSONTyped(value, ignoreDiscriminator = false) {
52
+ function TransactionAcceptorToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
54
  if (value == null) {
54
55
  return value;
55
56
  }
@@ -18,7 +18,7 @@ exports.TransactionLinksFromJSON = TransactionLinksFromJSON;
18
18
  exports.TransactionLinksFromJSONTyped = TransactionLinksFromJSONTyped;
19
19
  exports.TransactionLinksToJSON = TransactionLinksToJSON;
20
20
  exports.TransactionLinksToJSONTyped = TransactionLinksToJSONTyped;
21
- const Link_1 = require("./Link");
21
+ var Link_1 = require("./Link");
22
22
  /**
23
23
  * Check if a given object implements the TransactionLinks interface.
24
24
  */
@@ -44,7 +44,8 @@ function TransactionLinksFromJSONTyped(json, ignoreDiscriminator) {
44
44
  function TransactionLinksToJSON(json) {
45
45
  return TransactionLinksToJSONTyped(json, false);
46
46
  }
47
- function TransactionLinksToJSONTyped(value, ignoreDiscriminator = false) {
47
+ function TransactionLinksToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
49
  if (value == null) {
49
50
  return value;
50
51
  }
@@ -19,8 +19,8 @@ exports.TransactionMessageFromJSON = TransactionMessageFromJSON;
19
19
  exports.TransactionMessageFromJSONTyped = TransactionMessageFromJSONTyped;
20
20
  exports.TransactionMessageToJSON = TransactionMessageToJSON;
21
21
  exports.TransactionMessageToJSONTyped = TransactionMessageToJSONTyped;
22
- const CardholderLinks_1 = require("./CardholderLinks");
23
- const TransactionMessageAcceptor_1 = require("./TransactionMessageAcceptor");
22
+ var CardholderLinks_1 = require("./CardholderLinks");
23
+ var TransactionMessageAcceptor_1 = require("./TransactionMessageAcceptor");
24
24
  /**
25
25
  * @export
26
26
  */
@@ -131,7 +131,8 @@ function TransactionMessageFromJSONTyped(json, ignoreDiscriminator) {
131
131
  function TransactionMessageToJSON(json) {
132
132
  return TransactionMessageToJSONTyped(json, false);
133
133
  }
134
- function TransactionMessageToJSONTyped(value, ignoreDiscriminator = false) {
134
+ function TransactionMessageToJSONTyped(value, ignoreDiscriminator) {
135
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
135
136
  if (value == null) {
136
137
  return value;
137
138
  }
@@ -144,8 +145,8 @@ function TransactionMessageToJSONTyped(value, ignoreDiscriminator = false) {
144
145
  'cardType': value['cardType'],
145
146
  'cardholderBillingAmount': value['cardholderBillingAmount'],
146
147
  'cardholderBillingCurrency': value['cardholderBillingCurrency'],
147
- 'createdDateTime': ((value['createdDateTime']).toISOString()),
148
- 'dateTime': ((value['dateTime']).toISOString()),
148
+ 'createdDateTime': value['createdDateTime'].toISOString(),
149
+ 'dateTime': value['dateTime'].toISOString(),
149
150
  'messageType': value['messageType'],
150
151
  'network': value['network'],
151
152
  'subaccountId': value['subaccountId'],
@@ -154,6 +155,6 @@ function TransactionMessageToJSONTyped(value, ignoreDiscriminator = false) {
154
155
  'transactionCurrency': value['transactionCurrency'],
155
156
  'transactionReference': value['transactionReference'],
156
157
  'transactionType': value['transactionType'],
157
- 'transmissionDateTime': (value['transmissionDateTime'].toISOString()),
158
+ 'transmissionDateTime': value['transmissionDateTime'] == null ? value['transmissionDateTime'] : value['transmissionDateTime'].toISOString(),
158
159
  };
159
160
  }
@@ -56,7 +56,8 @@ function TransactionMessageAcceptorFromJSONTyped(json, ignoreDiscriminator) {
56
56
  function TransactionMessageAcceptorToJSON(json) {
57
57
  return TransactionMessageAcceptorToJSONTyped(json, false);
58
58
  }
59
- function TransactionMessageAcceptorToJSONTyped(value, ignoreDiscriminator = false) {
59
+ function TransactionMessageAcceptorToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
60
61
  if (value == null) {
61
62
  return value;
62
63
  }
@@ -50,7 +50,8 @@ function UnprocessableEntityFromJSONTyped(json, ignoreDiscriminator) {
50
50
  function UnprocessableEntityToJSON(json) {
51
51
  return UnprocessableEntityToJSONTyped(json, false);
52
52
  }
53
- function UnprocessableEntityToJSONTyped(value, ignoreDiscriminator = false) {
53
+ function UnprocessableEntityToJSONTyped(value, ignoreDiscriminator) {
54
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
55
  if (value == null) {
55
56
  return value;
56
57
  }
@@ -45,7 +45,8 @@ function UpdateCardSubscriptionRequestFromJSONTyped(json, ignoreDiscriminator) {
45
45
  function UpdateCardSubscriptionRequestToJSON(json) {
46
46
  return UpdateCardSubscriptionRequestToJSONTyped(json, false);
47
47
  }
48
- function UpdateCardSubscriptionRequestToJSONTyped(value, ignoreDiscriminator = false) {
48
+ function UpdateCardSubscriptionRequestToJSONTyped(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.UpdateSubaccountRequestFromJSON = UpdateSubaccountRequestFromJSON;
18
18
  exports.UpdateSubaccountRequestFromJSONTyped = UpdateSubaccountRequestFromJSONTyped;
19
19
  exports.UpdateSubaccountRequestToJSON = UpdateSubaccountRequestToJSON;
20
20
  exports.UpdateSubaccountRequestToJSONTyped = UpdateSubaccountRequestToJSONTyped;
21
- const SubaccountConfiguration_1 = require("./SubaccountConfiguration");
21
+ var SubaccountConfiguration_1 = require("./SubaccountConfiguration");
22
22
  /**
23
23
  * Check if a given object implements the UpdateSubaccountRequest interface.
24
24
  */
@@ -40,7 +40,8 @@ function UpdateSubaccountRequestFromJSONTyped(json, ignoreDiscriminator) {
40
40
  function UpdateSubaccountRequestToJSON(json) {
41
41
  return UpdateSubaccountRequestToJSONTyped(json, false);
42
42
  }
43
- function UpdateSubaccountRequestToJSONTyped(value, ignoreDiscriminator = false) {
43
+ function UpdateSubaccountRequestToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
45
  if (value == null) {
45
46
  return value;
46
47
  }
@@ -49,6 +49,8 @@ export declare const UpdateWebhookRequestEventTypesEnum: {
49
49
  readonly TransactionCreated: "transaction.created";
50
50
  readonly TransactionUpdated: "transaction.updated";
51
51
  readonly TransactionmessageCreated: "transactionmessage.created";
52
+ readonly NetworkbulkfeedStatechanged: "networkbulkfeed.statechanged";
53
+ readonly EnrichmentMerchantCreated: "enrichment.merchant.created";
52
54
  };
53
55
  export type UpdateWebhookRequestEventTypesEnum = typeof UpdateWebhookRequestEventTypesEnum[keyof typeof UpdateWebhookRequestEventTypesEnum];
54
56
  /**
@@ -27,7 +27,9 @@ exports.UpdateWebhookRequestEventTypesEnum = {
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 UpdateWebhookRequest interface.
@@ -52,7 +54,8 @@ function UpdateWebhookRequestFromJSONTyped(json, ignoreDiscriminator) {
52
54
  function UpdateWebhookRequestToJSON(json) {
53
55
  return UpdateWebhookRequestToJSONTyped(json, false);
54
56
  }
55
- function UpdateWebhookRequestToJSONTyped(value, ignoreDiscriminator = false) {
57
+ function UpdateWebhookRequestToJSONTyped(value, ignoreDiscriminator) {
58
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
56
59
  if (value == null) {
57
60
  return value;
58
61
  }
@@ -80,6 +80,8 @@ export declare const WebhookEventTypesEnum: {
80
80
  readonly TransactionCreated: "transaction.created";
81
81
  readonly TransactionUpdated: "transaction.updated";
82
82
  readonly TransactionmessageCreated: "transactionmessage.created";
83
+ readonly NetworkbulkfeedStatechanged: "networkbulkfeed.statechanged";
84
+ readonly EnrichmentMerchantCreated: "enrichment.merchant.created";
83
85
  };
84
86
  export type WebhookEventTypesEnum = typeof WebhookEventTypesEnum[keyof typeof WebhookEventTypesEnum];
85
87
  /**
@@ -19,7 +19,7 @@ exports.WebhookFromJSON = WebhookFromJSON;
19
19
  exports.WebhookFromJSONTyped = WebhookFromJSONTyped;
20
20
  exports.WebhookToJSON = WebhookToJSON;
21
21
  exports.WebhookToJSONTyped = WebhookToJSONTyped;
22
- const CardholderLinks_1 = require("./CardholderLinks");
22
+ var CardholderLinks_1 = require("./CardholderLinks");
23
23
  /**
24
24
  * @export
25
25
  */
@@ -28,7 +28,9 @@ exports.WebhookEventTypesEnum = {
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 Webhook interface.
@@ -74,7 +76,8 @@ function WebhookFromJSONTyped(json, ignoreDiscriminator) {
74
76
  function WebhookToJSON(json) {
75
77
  return WebhookToJSONTyped(json, false);
76
78
  }
77
- function WebhookToJSONTyped(value, ignoreDiscriminator = false) {
79
+ function WebhookToJSONTyped(value, ignoreDiscriminator) {
80
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
78
81
  if (value == null) {
79
82
  return value;
80
83
  }
@@ -85,8 +88,8 @@ function WebhookToJSONTyped(value, ignoreDiscriminator = false) {
85
88
  'description': value['description'],
86
89
  'eventTypes': value['eventTypes'],
87
90
  'subaccountId': value['subaccountId'],
88
- 'createdAt': ((value['createdAt']).toISOString()),
89
- 'updatedAt': ((value['updatedAt']).toISOString()),
91
+ 'createdAt': value['createdAt'].toISOString(),
92
+ 'updatedAt': value['updatedAt'].toISOString(),
90
93
  'enabled': value['enabled'],
91
94
  };
92
95
  }
@@ -11,23 +11,23 @@ export * from './CreateSubaccountRequest';
11
11
  export * from './CreateWebhook201Response';
12
12
  export * from './CreateWebhookRequest';
13
13
  export * from './EnrollmentMethods200Response';
14
+ export * from './EnrollmentMethods413Response';
14
15
  export * from './EnrollmentMethodsRequest';
16
+ export * from './GetCardSubscription404Response';
15
17
  export * from './GetSubaccounts200Response';
16
18
  export * from './GetSubaccounts200ResponseEmbedded';
17
19
  export * from './GetSubaccounts200ResponseLinks';
18
20
  export * from './GetTransactions200Response';
19
21
  export * from './GetTransactions200ResponseEmbedded';
20
- export * from './InlineObject';
21
- export * from './InlineObject1';
22
- export * from './InlineObject2';
23
- export * from './InlineObject3';
24
- export * from './InlineObject4';
25
- export * from './InlineObject5';
26
- export * from './InlineObjectErrorsInner';
27
22
  export * from './Link';
28
23
  export * from './ListCardSubscriptions200Response';
29
24
  export * from './ListCardSubscriptions200ResponseEmbedded';
30
25
  export * from './ListCardSubscriptions200ResponseLinks';
26
+ export * from './ListCardSubscriptions400Response';
27
+ export * from './ListCardSubscriptions400ResponseErrorsInner';
28
+ export * from './ListCardSubscriptions401Response';
29
+ export * from './ListCardSubscriptions403Response';
30
+ export * from './ListCardSubscriptions500Response';
31
31
  export * from './ListCards200Response';
32
32
  export * from './ListCards200ResponseEmbedded';
33
33
  export * from './ListNetworkBulkFeeds200Response';
@@ -29,23 +29,23 @@ __exportStar(require("./CreateSubaccountRequest"), exports);
29
29
  __exportStar(require("./CreateWebhook201Response"), exports);
30
30
  __exportStar(require("./CreateWebhookRequest"), exports);
31
31
  __exportStar(require("./EnrollmentMethods200Response"), exports);
32
+ __exportStar(require("./EnrollmentMethods413Response"), exports);
32
33
  __exportStar(require("./EnrollmentMethodsRequest"), exports);
34
+ __exportStar(require("./GetCardSubscription404Response"), exports);
33
35
  __exportStar(require("./GetSubaccounts200Response"), exports);
34
36
  __exportStar(require("./GetSubaccounts200ResponseEmbedded"), exports);
35
37
  __exportStar(require("./GetSubaccounts200ResponseLinks"), exports);
36
38
  __exportStar(require("./GetTransactions200Response"), exports);
37
39
  __exportStar(require("./GetTransactions200ResponseEmbedded"), exports);
38
- __exportStar(require("./InlineObject"), exports);
39
- __exportStar(require("./InlineObject1"), exports);
40
- __exportStar(require("./InlineObject2"), exports);
41
- __exportStar(require("./InlineObject3"), exports);
42
- __exportStar(require("./InlineObject4"), exports);
43
- __exportStar(require("./InlineObject5"), exports);
44
- __exportStar(require("./InlineObjectErrorsInner"), exports);
45
40
  __exportStar(require("./Link"), exports);
46
41
  __exportStar(require("./ListCardSubscriptions200Response"), exports);
47
42
  __exportStar(require("./ListCardSubscriptions200ResponseEmbedded"), exports);
48
43
  __exportStar(require("./ListCardSubscriptions200ResponseLinks"), exports);
44
+ __exportStar(require("./ListCardSubscriptions400Response"), exports);
45
+ __exportStar(require("./ListCardSubscriptions400ResponseErrorsInner"), exports);
46
+ __exportStar(require("./ListCardSubscriptions401Response"), exports);
47
+ __exportStar(require("./ListCardSubscriptions403Response"), exports);
48
+ __exportStar(require("./ListCardSubscriptions500Response"), exports);
49
49
  __exportStar(require("./ListCards200Response"), exports);
50
50
  __exportStar(require("./ListCards200ResponseEmbedded"), exports);
51
51
  __exportStar(require("./ListNetworkBulkFeeds200Response"), exports);