@naturalpay/sdk 1.6.48 → 1.6.50

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 (188) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/cardSessions/client/Client.d.ts +2 -0
  3. package/dist/cjs/api/resources/cardSessions/client/Client.js +2 -0
  4. package/dist/cjs/api/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.ts +7 -1
  5. package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponse.d.ts +3 -1
  6. package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponse.d.ts +3 -1
  7. package/dist/cjs/api/resources/cardSessions/types/ListCardSessionsResponseDataItem.d.ts +3 -1
  8. package/dist/cjs/api/resources/externalAccounts/client/Client.d.ts +28 -0
  9. package/dist/cjs/api/resources/externalAccounts/client/Client.js +102 -0
  10. package/dist/cjs/api/resources/externalAccounts/client/requests/RemoveCardExternalAccountsRequest.d.ts +12 -0
  11. package/dist/cjs/api/resources/externalAccounts/client/requests/RemoveCardExternalAccountsRequest.js +3 -0
  12. package/dist/cjs/api/resources/externalAccounts/client/requests/index.d.ts +1 -0
  13. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.d.ts +5 -0
  14. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.js +3 -0
  15. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.d.ts +8 -0
  16. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.js +3 -0
  17. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.ts +13 -0
  18. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.js +3 -0
  19. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.d.ts +9 -0
  20. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.js +3 -0
  21. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.d.ts +10 -0
  22. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.js +13 -0
  23. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.d.ts +11 -0
  24. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.js +14 -0
  25. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.d.ts +5 -0
  26. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.js +3 -0
  27. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.d.ts +8 -0
  28. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.js +3 -0
  29. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.d.ts +9 -0
  30. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.js +3 -0
  31. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.d.ts +5 -0
  32. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.js +8 -0
  33. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.d.ts +4 -0
  34. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.js +7 -0
  35. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.d.ts +4 -0
  36. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.js +3 -0
  37. package/dist/cjs/api/resources/externalAccounts/types/index.d.ts +12 -0
  38. package/dist/cjs/api/resources/externalAccounts/types/index.js +12 -0
  39. package/dist/cjs/api/types/CardPaymentRelationships.d.ts +2 -0
  40. package/dist/cjs/api/types/CardPaymentRelationshipsTransaction.d.ts +8 -0
  41. package/dist/cjs/api/types/CardPaymentRelationshipsTransaction.js +3 -0
  42. package/dist/cjs/api/types/CardPaymentRelationshipsTransactionData.d.ts +10 -0
  43. package/dist/cjs/api/types/CardPaymentRelationshipsTransactionData.js +3 -0
  44. package/dist/cjs/api/types/CardPaymentRelationshipsTransactionDataType.d.ts +5 -0
  45. package/dist/cjs/api/types/CardPaymentRelationshipsTransactionDataType.js +8 -0
  46. package/dist/cjs/api/types/index.d.ts +3 -0
  47. package/dist/cjs/api/types/index.js +3 -0
  48. package/dist/cjs/serialization/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.ts +2 -0
  49. package/dist/cjs/serialization/resources/cardSessions/client/requests/CreateCardSessionsRequest.js +2 -0
  50. package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponse.d.ts +1 -0
  51. package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponse.js +1 -0
  52. package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponse.d.ts +1 -0
  53. package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponse.js +1 -0
  54. package/dist/cjs/serialization/resources/cardSessions/types/ListCardSessionsResponseDataItem.d.ts +1 -0
  55. package/dist/cjs/serialization/resources/cardSessions/types/ListCardSessionsResponseDataItem.js +1 -0
  56. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.d.ts +12 -0
  57. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.js +44 -0
  58. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.d.ts +15 -0
  59. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.js +47 -0
  60. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.ts +16 -0
  61. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.js +48 -0
  62. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.d.ts +14 -0
  63. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.js +46 -0
  64. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.d.ts +7 -0
  65. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.js +39 -0
  66. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.d.ts +7 -0
  67. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.js +39 -0
  68. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.d.ts +10 -0
  69. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.js +42 -0
  70. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.d.ts +10 -0
  71. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.js +42 -0
  72. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.d.ts +11 -0
  73. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.js +43 -0
  74. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.d.ts +7 -0
  75. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.js +39 -0
  76. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.d.ts +7 -0
  77. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.js +39 -0
  78. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.d.ts +9 -0
  79. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.js +41 -0
  80. package/dist/cjs/serialization/resources/externalAccounts/types/index.d.ts +12 -0
  81. package/dist/cjs/serialization/resources/externalAccounts/types/index.js +12 -0
  82. package/dist/cjs/serialization/types/CardPaymentRelationships.d.ts +2 -0
  83. package/dist/cjs/serialization/types/CardPaymentRelationships.js +2 -0
  84. package/dist/cjs/serialization/types/CardPaymentRelationshipsTransaction.d.ts +10 -0
  85. package/dist/cjs/serialization/types/CardPaymentRelationshipsTransaction.js +42 -0
  86. package/dist/cjs/serialization/types/CardPaymentRelationshipsTransactionData.d.ts +11 -0
  87. package/dist/cjs/serialization/types/CardPaymentRelationshipsTransactionData.js +43 -0
  88. package/dist/cjs/serialization/types/CardPaymentRelationshipsTransactionDataType.d.ts +7 -0
  89. package/dist/cjs/serialization/types/CardPaymentRelationshipsTransactionDataType.js +39 -0
  90. package/dist/cjs/serialization/types/index.d.ts +3 -0
  91. package/dist/cjs/serialization/types/index.js +3 -0
  92. package/dist/cjs/version.d.ts +1 -1
  93. package/dist/cjs/version.js +1 -1
  94. package/dist/esm/BaseClient.mjs +2 -2
  95. package/dist/esm/api/resources/cardSessions/client/Client.d.mts +2 -0
  96. package/dist/esm/api/resources/cardSessions/client/Client.mjs +2 -0
  97. package/dist/esm/api/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.mts +7 -1
  98. package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponse.d.mts +3 -1
  99. package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponse.d.mts +3 -1
  100. package/dist/esm/api/resources/cardSessions/types/ListCardSessionsResponseDataItem.d.mts +3 -1
  101. package/dist/esm/api/resources/externalAccounts/client/Client.d.mts +28 -0
  102. package/dist/esm/api/resources/externalAccounts/client/Client.mjs +102 -0
  103. package/dist/esm/api/resources/externalAccounts/client/requests/RemoveCardExternalAccountsRequest.d.mts +12 -0
  104. package/dist/esm/api/resources/externalAccounts/client/requests/RemoveCardExternalAccountsRequest.mjs +2 -0
  105. package/dist/esm/api/resources/externalAccounts/client/requests/index.d.mts +1 -0
  106. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.d.mts +5 -0
  107. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.mjs +2 -0
  108. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.d.mts +8 -0
  109. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.mjs +2 -0
  110. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.mts +13 -0
  111. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.mjs +2 -0
  112. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.d.mts +9 -0
  113. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.mjs +2 -0
  114. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.d.mts +10 -0
  115. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.mjs +10 -0
  116. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.d.mts +11 -0
  117. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.mjs +11 -0
  118. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.d.mts +5 -0
  119. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.mjs +2 -0
  120. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.d.mts +8 -0
  121. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.mjs +2 -0
  122. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.d.mts +9 -0
  123. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.mjs +2 -0
  124. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.d.mts +5 -0
  125. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.mjs +5 -0
  126. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.d.mts +4 -0
  127. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.mjs +4 -0
  128. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.d.mts +4 -0
  129. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.mjs +2 -0
  130. package/dist/esm/api/resources/externalAccounts/types/index.d.mts +12 -0
  131. package/dist/esm/api/resources/externalAccounts/types/index.mjs +12 -0
  132. package/dist/esm/api/types/CardPaymentRelationships.d.mts +2 -0
  133. package/dist/esm/api/types/CardPaymentRelationshipsTransaction.d.mts +8 -0
  134. package/dist/esm/api/types/CardPaymentRelationshipsTransaction.mjs +2 -0
  135. package/dist/esm/api/types/CardPaymentRelationshipsTransactionData.d.mts +10 -0
  136. package/dist/esm/api/types/CardPaymentRelationshipsTransactionData.mjs +2 -0
  137. package/dist/esm/api/types/CardPaymentRelationshipsTransactionDataType.d.mts +5 -0
  138. package/dist/esm/api/types/CardPaymentRelationshipsTransactionDataType.mjs +5 -0
  139. package/dist/esm/api/types/index.d.mts +3 -0
  140. package/dist/esm/api/types/index.mjs +3 -0
  141. package/dist/esm/serialization/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.mts +2 -0
  142. package/dist/esm/serialization/resources/cardSessions/client/requests/CreateCardSessionsRequest.mjs +2 -0
  143. package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponse.d.mts +1 -0
  144. package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponse.mjs +1 -0
  145. package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponse.d.mts +1 -0
  146. package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponse.mjs +1 -0
  147. package/dist/esm/serialization/resources/cardSessions/types/ListCardSessionsResponseDataItem.d.mts +1 -0
  148. package/dist/esm/serialization/resources/cardSessions/types/ListCardSessionsResponseDataItem.mjs +1 -0
  149. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.d.mts +12 -0
  150. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.mjs +8 -0
  151. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.d.mts +15 -0
  152. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.mjs +11 -0
  153. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.mts +16 -0
  154. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.mjs +12 -0
  155. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.d.mts +14 -0
  156. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.mjs +10 -0
  157. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.d.mts +7 -0
  158. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.mjs +3 -0
  159. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.d.mts +7 -0
  160. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.mjs +3 -0
  161. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.d.mts +10 -0
  162. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.mjs +6 -0
  163. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.d.mts +10 -0
  164. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.mjs +6 -0
  165. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.d.mts +11 -0
  166. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.mjs +7 -0
  167. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.d.mts +7 -0
  168. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.mjs +3 -0
  169. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.d.mts +7 -0
  170. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.mjs +3 -0
  171. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.d.mts +9 -0
  172. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.mjs +5 -0
  173. package/dist/esm/serialization/resources/externalAccounts/types/index.d.mts +12 -0
  174. package/dist/esm/serialization/resources/externalAccounts/types/index.mjs +12 -0
  175. package/dist/esm/serialization/types/CardPaymentRelationships.d.mts +2 -0
  176. package/dist/esm/serialization/types/CardPaymentRelationships.mjs +2 -0
  177. package/dist/esm/serialization/types/CardPaymentRelationshipsTransaction.d.mts +10 -0
  178. package/dist/esm/serialization/types/CardPaymentRelationshipsTransaction.mjs +6 -0
  179. package/dist/esm/serialization/types/CardPaymentRelationshipsTransactionData.d.mts +11 -0
  180. package/dist/esm/serialization/types/CardPaymentRelationshipsTransactionData.mjs +7 -0
  181. package/dist/esm/serialization/types/CardPaymentRelationshipsTransactionDataType.d.mts +7 -0
  182. package/dist/esm/serialization/types/CardPaymentRelationshipsTransactionDataType.mjs +3 -0
  183. package/dist/esm/serialization/types/index.d.mts +3 -0
  184. package/dist/esm/serialization/types/index.mjs +3 -0
  185. package/dist/esm/version.d.mts +1 -1
  186. package/dist/esm/version.mjs +1 -1
  187. package/package.json +1 -1
  188. package/reference.md +67 -0
@@ -9,8 +9,10 @@ export declare namespace CreateCardSessionsRequest {
9
9
  customerPartyId?: string | null;
10
10
  allowedHosts: string[];
11
11
  ttlSeconds?: number | null;
12
+ claimWindowSeconds?: number | null;
12
13
  purchase?: CreateCardSessionsRequestPurchase.Raw | null;
13
14
  reference?: string | null;
15
+ returnUrl?: string | null;
14
16
  requestAgentToken?: boolean | null;
15
17
  }
16
18
  }
@@ -42,7 +42,9 @@ exports.CreateCardSessionsRequest = core.serialization.object({
42
42
  customerPartyId: core.serialization.string().optional(),
43
43
  allowedHosts: core.serialization.list(core.serialization.string()),
44
44
  ttlSeconds: core.serialization.number().optional(),
45
+ claimWindowSeconds: core.serialization.number().optional(),
45
46
  purchase: CreateCardSessionsRequestPurchase_js_1.CreateCardSessionsRequestPurchase.optional(),
46
47
  reference: core.serialization.string().optional(),
48
+ returnUrl: core.serialization.string().optional(),
47
49
  requestAgentToken: core.serialization.boolean().optional(),
48
50
  });
@@ -14,6 +14,7 @@ export declare namespace CreateCardSessionsResponse {
14
14
  status: CreateCardSessionsResponseStatus.Raw;
15
15
  allowedHosts: string[];
16
16
  reference?: string | null;
17
+ approvalExpiresAt: string;
17
18
  claimExpiresAt: string;
18
19
  claimedAt?: string | null;
19
20
  credentialExpiresAt?: string | null;
@@ -47,6 +47,7 @@ exports.CreateCardSessionsResponse = core.serialization.object({
47
47
  status: CreateCardSessionsResponseStatus_js_1.CreateCardSessionsResponseStatus,
48
48
  allowedHosts: core.serialization.list(core.serialization.string()),
49
49
  reference: core.serialization.string().nullable(),
50
+ approvalExpiresAt: core.serialization.string(),
50
51
  claimExpiresAt: core.serialization.string(),
51
52
  claimedAt: core.serialization.string().nullable(),
52
53
  credentialExpiresAt: core.serialization.string().nullable(),
@@ -14,6 +14,7 @@ export declare namespace GetCardSessionsResponse {
14
14
  status: GetCardSessionsResponseStatus.Raw;
15
15
  allowedHosts: string[];
16
16
  reference?: string | null;
17
+ approvalExpiresAt: string;
17
18
  claimExpiresAt: string;
18
19
  claimedAt?: string | null;
19
20
  credentialExpiresAt?: string | null;
@@ -47,6 +47,7 @@ exports.GetCardSessionsResponse = core.serialization.object({
47
47
  status: GetCardSessionsResponseStatus_js_1.GetCardSessionsResponseStatus,
48
48
  allowedHosts: core.serialization.list(core.serialization.string()),
49
49
  reference: core.serialization.string().nullable(),
50
+ approvalExpiresAt: core.serialization.string(),
50
51
  claimExpiresAt: core.serialization.string(),
51
52
  claimedAt: core.serialization.string().nullable(),
52
53
  credentialExpiresAt: core.serialization.string().nullable(),
@@ -14,6 +14,7 @@ export declare namespace ListCardSessionsResponseDataItem {
14
14
  status: ListCardSessionsResponseDataItemStatus.Raw;
15
15
  allowedHosts: string[];
16
16
  reference?: string | null;
17
+ approvalExpiresAt: string;
17
18
  claimExpiresAt: string;
18
19
  claimedAt?: string | null;
19
20
  credentialExpiresAt?: string | null;
@@ -47,6 +47,7 @@ exports.ListCardSessionsResponseDataItem = core.serialization.object({
47
47
  status: ListCardSessionsResponseDataItemStatus_js_1.ListCardSessionsResponseDataItemStatus,
48
48
  allowedHosts: core.serialization.list(core.serialization.string()),
49
49
  reference: core.serialization.string().nullable(),
50
+ approvalExpiresAt: core.serialization.string(),
50
51
  claimExpiresAt: core.serialization.string(),
51
52
  claimedAt: core.serialization.string().nullable(),
52
53
  credentialExpiresAt: core.serialization.string().nullable(),
@@ -0,0 +1,12 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { RemoveCardExternalAccountsResponseData } from "./RemoveCardExternalAccountsResponseData.js";
5
+ import { RemoveCardExternalAccountsResponseMeta } from "./RemoveCardExternalAccountsResponseMeta.js";
6
+ export declare const RemoveCardExternalAccountsResponse: core.serialization.ObjectSchema<serializers.RemoveCardExternalAccountsResponse.Raw, Natural.RemoveCardExternalAccountsResponse>;
7
+ export declare namespace RemoveCardExternalAccountsResponse {
8
+ interface Raw {
9
+ data: RemoveCardExternalAccountsResponseData.Raw;
10
+ meta: RemoveCardExternalAccountsResponseMeta.Raw;
11
+ }
12
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.RemoveCardExternalAccountsResponse = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const RemoveCardExternalAccountsResponseData_js_1 = require("./RemoveCardExternalAccountsResponseData.js");
40
+ const RemoveCardExternalAccountsResponseMeta_js_1 = require("./RemoveCardExternalAccountsResponseMeta.js");
41
+ exports.RemoveCardExternalAccountsResponse = core.serialization.object({
42
+ data: RemoveCardExternalAccountsResponseData_js_1.RemoveCardExternalAccountsResponseData,
43
+ meta: RemoveCardExternalAccountsResponseMeta_js_1.RemoveCardExternalAccountsResponseMeta,
44
+ });
@@ -0,0 +1,15 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { RemoveCardExternalAccountsResponseDataAttributes } from "./RemoveCardExternalAccountsResponseDataAttributes.js";
5
+ import { RemoveCardExternalAccountsResponseDataRelationships } from "./RemoveCardExternalAccountsResponseDataRelationships.js";
6
+ import { RemoveCardExternalAccountsResponseDataType } from "./RemoveCardExternalAccountsResponseDataType.js";
7
+ export declare const RemoveCardExternalAccountsResponseData: core.serialization.ObjectSchema<serializers.RemoveCardExternalAccountsResponseData.Raw, Natural.RemoveCardExternalAccountsResponseData>;
8
+ export declare namespace RemoveCardExternalAccountsResponseData {
9
+ interface Raw {
10
+ type: RemoveCardExternalAccountsResponseDataType.Raw;
11
+ id: string;
12
+ attributes: RemoveCardExternalAccountsResponseDataAttributes.Raw;
13
+ relationships: RemoveCardExternalAccountsResponseDataRelationships.Raw;
14
+ }
15
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.RemoveCardExternalAccountsResponseData = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const RemoveCardExternalAccountsResponseDataAttributes_js_1 = require("./RemoveCardExternalAccountsResponseDataAttributes.js");
40
+ const RemoveCardExternalAccountsResponseDataRelationships_js_1 = require("./RemoveCardExternalAccountsResponseDataRelationships.js");
41
+ const RemoveCardExternalAccountsResponseDataType_js_1 = require("./RemoveCardExternalAccountsResponseDataType.js");
42
+ exports.RemoveCardExternalAccountsResponseData = core.serialization.object({
43
+ type: RemoveCardExternalAccountsResponseDataType_js_1.RemoveCardExternalAccountsResponseDataType,
44
+ id: core.serialization.string(),
45
+ attributes: RemoveCardExternalAccountsResponseDataAttributes_js_1.RemoveCardExternalAccountsResponseDataAttributes,
46
+ relationships: RemoveCardExternalAccountsResponseDataRelationships_js_1.RemoveCardExternalAccountsResponseDataRelationships,
47
+ });
@@ -0,0 +1,16 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { RemoveCardExternalAccountsResponseDataAttributesBillingAddress } from "./RemoveCardExternalAccountsResponseDataAttributesBillingAddress.js";
5
+ import { RemoveCardExternalAccountsResponseDataAttributesBrand } from "./RemoveCardExternalAccountsResponseDataAttributesBrand.js";
6
+ import { RemoveCardExternalAccountsResponseDataAttributesStatus } from "./RemoveCardExternalAccountsResponseDataAttributesStatus.js";
7
+ export declare const RemoveCardExternalAccountsResponseDataAttributes: core.serialization.ObjectSchema<serializers.RemoveCardExternalAccountsResponseDataAttributes.Raw, Natural.RemoveCardExternalAccountsResponseDataAttributes>;
8
+ export declare namespace RemoveCardExternalAccountsResponseDataAttributes {
9
+ interface Raw {
10
+ brand: RemoveCardExternalAccountsResponseDataAttributesBrand.Raw;
11
+ lastFour: string;
12
+ billingAddress?: RemoveCardExternalAccountsResponseDataAttributesBillingAddress.Raw | null;
13
+ status: RemoveCardExternalAccountsResponseDataAttributesStatus.Raw;
14
+ createdAt: string;
15
+ }
16
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.RemoveCardExternalAccountsResponseDataAttributes = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const RemoveCardExternalAccountsResponseDataAttributesBillingAddress_js_1 = require("./RemoveCardExternalAccountsResponseDataAttributesBillingAddress.js");
40
+ const RemoveCardExternalAccountsResponseDataAttributesBrand_js_1 = require("./RemoveCardExternalAccountsResponseDataAttributesBrand.js");
41
+ const RemoveCardExternalAccountsResponseDataAttributesStatus_js_1 = require("./RemoveCardExternalAccountsResponseDataAttributesStatus.js");
42
+ exports.RemoveCardExternalAccountsResponseDataAttributes = core.serialization.object({
43
+ brand: RemoveCardExternalAccountsResponseDataAttributesBrand_js_1.RemoveCardExternalAccountsResponseDataAttributesBrand,
44
+ lastFour: core.serialization.string(),
45
+ billingAddress: RemoveCardExternalAccountsResponseDataAttributesBillingAddress_js_1.RemoveCardExternalAccountsResponseDataAttributesBillingAddress.nullable(),
46
+ status: RemoveCardExternalAccountsResponseDataAttributesStatus_js_1.RemoveCardExternalAccountsResponseDataAttributesStatus,
47
+ createdAt: core.serialization.date(),
48
+ });
@@ -0,0 +1,14 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const RemoveCardExternalAccountsResponseDataAttributesBillingAddress: core.serialization.ObjectSchema<serializers.RemoveCardExternalAccountsResponseDataAttributesBillingAddress.Raw, Natural.RemoveCardExternalAccountsResponseDataAttributesBillingAddress>;
5
+ export declare namespace RemoveCardExternalAccountsResponseDataAttributesBillingAddress {
6
+ interface Raw {
7
+ line1?: string | null;
8
+ line2?: string | null;
9
+ city?: string | null;
10
+ state?: string | null;
11
+ postalCode?: string | null;
12
+ country?: string | null;
13
+ }
14
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.RemoveCardExternalAccountsResponseDataAttributesBillingAddress = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.RemoveCardExternalAccountsResponseDataAttributesBillingAddress = core.serialization.object({
40
+ line1: core.serialization.string().nullable(),
41
+ line2: core.serialization.string().nullable(),
42
+ city: core.serialization.string().nullable(),
43
+ state: core.serialization.string().nullable(),
44
+ postalCode: core.serialization.string().nullable(),
45
+ country: core.serialization.string().nullable(),
46
+ });
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const RemoveCardExternalAccountsResponseDataAttributesBrand: core.serialization.Schema<serializers.RemoveCardExternalAccountsResponseDataAttributesBrand.Raw, Natural.RemoveCardExternalAccountsResponseDataAttributesBrand>;
5
+ export declare namespace RemoveCardExternalAccountsResponseDataAttributesBrand {
6
+ type Raw = "visa" | "mastercard" | "amex" | "discover" | "other" | "unknown";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.RemoveCardExternalAccountsResponseDataAttributesBrand = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.RemoveCardExternalAccountsResponseDataAttributesBrand = core.serialization.enum_(["visa", "mastercard", "amex", "discover", "other", "unknown"]);
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const RemoveCardExternalAccountsResponseDataAttributesStatus: core.serialization.Schema<serializers.RemoveCardExternalAccountsResponseDataAttributesStatus.Raw, Natural.RemoveCardExternalAccountsResponseDataAttributesStatus>;
5
+ export declare namespace RemoveCardExternalAccountsResponseDataAttributesStatus {
6
+ type Raw = "pending" | "new" | "active" | "disabled" | "deleted" | "unknown" | "verification_failed";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.RemoveCardExternalAccountsResponseDataAttributesStatus = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.RemoveCardExternalAccountsResponseDataAttributesStatus = core.serialization.enum_(["pending", "new", "active", "disabled", "deleted", "unknown", "verification_failed"]);
@@ -0,0 +1,10 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { RemoveCardExternalAccountsResponseDataRelationshipsParty } from "./RemoveCardExternalAccountsResponseDataRelationshipsParty.js";
5
+ export declare const RemoveCardExternalAccountsResponseDataRelationships: core.serialization.ObjectSchema<serializers.RemoveCardExternalAccountsResponseDataRelationships.Raw, Natural.RemoveCardExternalAccountsResponseDataRelationships>;
6
+ export declare namespace RemoveCardExternalAccountsResponseDataRelationships {
7
+ interface Raw {
8
+ party: RemoveCardExternalAccountsResponseDataRelationshipsParty.Raw;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.RemoveCardExternalAccountsResponseDataRelationships = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const RemoveCardExternalAccountsResponseDataRelationshipsParty_js_1 = require("./RemoveCardExternalAccountsResponseDataRelationshipsParty.js");
40
+ exports.RemoveCardExternalAccountsResponseDataRelationships = core.serialization.object({
41
+ party: RemoveCardExternalAccountsResponseDataRelationshipsParty_js_1.RemoveCardExternalAccountsResponseDataRelationshipsParty,
42
+ });
@@ -0,0 +1,10 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { RemoveCardExternalAccountsResponseDataRelationshipsPartyData } from "./RemoveCardExternalAccountsResponseDataRelationshipsPartyData.js";
5
+ export declare const RemoveCardExternalAccountsResponseDataRelationshipsParty: core.serialization.ObjectSchema<serializers.RemoveCardExternalAccountsResponseDataRelationshipsParty.Raw, Natural.RemoveCardExternalAccountsResponseDataRelationshipsParty>;
6
+ export declare namespace RemoveCardExternalAccountsResponseDataRelationshipsParty {
7
+ interface Raw {
8
+ data: RemoveCardExternalAccountsResponseDataRelationshipsPartyData.Raw;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.RemoveCardExternalAccountsResponseDataRelationshipsParty = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const RemoveCardExternalAccountsResponseDataRelationshipsPartyData_js_1 = require("./RemoveCardExternalAccountsResponseDataRelationshipsPartyData.js");
40
+ exports.RemoveCardExternalAccountsResponseDataRelationshipsParty = core.serialization.object({
41
+ data: RemoveCardExternalAccountsResponseDataRelationshipsPartyData_js_1.RemoveCardExternalAccountsResponseDataRelationshipsPartyData,
42
+ });
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType } from "./RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.js";
5
+ export declare const RemoveCardExternalAccountsResponseDataRelationshipsPartyData: core.serialization.ObjectSchema<serializers.RemoveCardExternalAccountsResponseDataRelationshipsPartyData.Raw, Natural.RemoveCardExternalAccountsResponseDataRelationshipsPartyData>;
6
+ export declare namespace RemoveCardExternalAccountsResponseDataRelationshipsPartyData {
7
+ interface Raw {
8
+ type: RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.Raw;
9
+ id: string;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.RemoveCardExternalAccountsResponseDataRelationshipsPartyData = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType_js_1 = require("./RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.js");
40
+ exports.RemoveCardExternalAccountsResponseDataRelationshipsPartyData = core.serialization.object({
41
+ type: RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType_js_1.RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType,
42
+ id: core.serialization.string(),
43
+ });
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType: core.serialization.Schema<serializers.RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.Raw, Natural.RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType>;
5
+ export declare namespace RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType {
6
+ type Raw = "party";
7
+ }