@payabli/sdk-node 0.0.110 → 0.0.114

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 (193) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +33 -28
  4. package/dist/cjs/api/resources/bill/types/BillResponse.d.ts +1 -1
  5. package/dist/cjs/api/resources/bill/types/EditBillResponse.d.ts +1 -1
  6. package/dist/cjs/api/resources/bill/types/GetBillResponse.d.ts +1 -1
  7. package/dist/cjs/api/{types → resources/chargeBacks/types}/ChargeBackResponse.d.ts +1 -1
  8. package/dist/cjs/api/resources/chargeBacks/types/ChargebackMessage.d.ts +21 -0
  9. package/dist/cjs/api/resources/chargeBacks/types/ChargebackQueryRecords.d.ts +69 -0
  10. package/dist/cjs/api/resources/chargeBacks/types/ChargebackQueryRecords.js +5 -0
  11. package/dist/cjs/api/resources/chargeBacks/types/index.d.ts +3 -0
  12. package/dist/cjs/api/resources/chargeBacks/types/index.js +3 -0
  13. package/dist/cjs/api/resources/index.d.ts +3 -0
  14. package/dist/cjs/api/resources/index.js +4 -1
  15. package/dist/cjs/api/resources/lineItem/types/DeleteItemResponse.d.ts +2 -2
  16. package/dist/cjs/api/resources/moneyIn/types/ReceiptResponse.d.ts +1 -1
  17. package/dist/cjs/api/resources/moneyOutTypes/types/CaptureAllOutResponse.d.ts +1 -1
  18. package/dist/cjs/api/resources/moneyOutTypes/types/VCardGetResponse.d.ts +2 -0
  19. package/dist/cjs/api/resources/notificationlogs/client/Client.d.ts +118 -0
  20. package/dist/cjs/api/resources/notificationlogs/client/Client.js +370 -0
  21. package/dist/cjs/api/resources/notificationlogs/client/index.d.ts +2 -0
  22. package/dist/cjs/api/resources/notificationlogs/client/index.js +17 -0
  23. package/dist/cjs/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.d.ts +23 -0
  24. package/dist/cjs/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.js +5 -0
  25. package/dist/cjs/api/resources/notificationlogs/client/requests/index.d.ts +1 -0
  26. package/dist/cjs/api/resources/notificationlogs/client/requests/index.js +2 -0
  27. package/dist/cjs/api/resources/notificationlogs/index.d.ts +2 -0
  28. package/dist/cjs/api/resources/notificationlogs/index.js +18 -0
  29. package/dist/cjs/api/resources/notificationlogs/types/BulkRetryRequest.d.ts +7 -0
  30. package/dist/cjs/api/resources/notificationlogs/types/BulkRetryRequest.js +5 -0
  31. package/dist/cjs/api/resources/notificationlogs/types/KeyValueArray.d.ts +7 -0
  32. package/dist/cjs/api/resources/notificationlogs/types/KeyValueArray.js +5 -0
  33. package/dist/cjs/api/resources/notificationlogs/types/NotificationLog.d.ts +29 -0
  34. package/dist/cjs/api/resources/notificationlogs/types/NotificationLog.js +5 -0
  35. package/dist/cjs/api/resources/notificationlogs/types/NotificationLogDetail.d.ts +9 -0
  36. package/dist/cjs/api/resources/notificationlogs/types/NotificationLogDetail.js +5 -0
  37. package/dist/cjs/api/resources/notificationlogs/types/NotificationLogSearchRequest.d.ts +17 -0
  38. package/dist/cjs/api/resources/notificationlogs/types/NotificationLogSearchRequest.js +5 -0
  39. package/dist/cjs/api/resources/notificationlogs/types/StringStringKeyValuePair.d.ts +7 -0
  40. package/dist/cjs/api/resources/notificationlogs/types/StringStringKeyValuePair.js +5 -0
  41. package/dist/cjs/api/resources/notificationlogs/types/index.d.ts +6 -0
  42. package/dist/cjs/api/resources/notificationlogs/types/index.js +22 -0
  43. package/dist/cjs/api/resources/ocr/types/PayabliApiResponseOcr.d.ts +3 -3
  44. package/dist/cjs/api/resources/organization/types/AddOrganizationResponse.d.ts +1 -1
  45. package/dist/cjs/api/resources/organization/types/DeleteOrganizationResponse.d.ts +1 -1
  46. package/dist/cjs/api/resources/organization/types/EditOrganizationResponse.d.ts +2 -2
  47. package/dist/cjs/api/resources/paymentLink/types/PayabliApiResponsePaymentLinks.d.ts +2 -2
  48. package/dist/cjs/api/resources/paypoint/types/GetBasicEntryByIdResponse.d.ts +2 -2
  49. package/dist/cjs/api/resources/paypoint/types/GetBasicEntryResponse.d.ts +2 -2
  50. package/dist/cjs/api/resources/paypoint/types/GetEntryConfigResponse.d.ts +2 -2
  51. package/dist/cjs/api/resources/paypoint/types/MigratePaypointResponse.d.ts +2 -2
  52. package/dist/cjs/api/resources/subscription/types/AddSubscriptionResponse.d.ts +1 -1
  53. package/dist/cjs/api/resources/subscription/types/RemoveSubscriptionResponse.d.ts +1 -1
  54. package/dist/cjs/api/resources/subscription/types/UpdateSubscriptionResponse.d.ts +1 -1
  55. package/dist/cjs/api/resources/tokenStorage/types/AddMethodResponse.d.ts +5 -5
  56. package/dist/cjs/api/resources/tokenStorage/types/GetMethodResponse.d.ts +1 -1
  57. package/dist/cjs/api/resources/user/types/AddUserResponse.d.ts +1 -1
  58. package/dist/cjs/api/resources/user/types/AuthResetUserResponse.d.ts +1 -1
  59. package/dist/cjs/api/resources/user/types/ChangePswUserResponse.d.ts +1 -1
  60. package/dist/cjs/api/resources/user/types/DeleteUserResponse.d.ts +1 -1
  61. package/dist/cjs/api/resources/user/types/EditMfaUserResponse.d.ts +1 -1
  62. package/dist/cjs/api/resources/user/types/LogoutUserResponse.d.ts +1 -1
  63. package/dist/cjs/api/types/BoardingLinkApiResponse.d.ts +1 -1
  64. package/dist/cjs/api/types/CloudQueryApiResponse.d.ts +1 -1
  65. package/dist/cjs/api/types/ConfigureApplePayOrganizationApiResponse.d.ts +1 -1
  66. package/dist/cjs/api/types/ConfigureApplePaypointApiResponse.d.ts +1 -1
  67. package/dist/cjs/api/types/NotificationStandardRequest.d.ts +75 -1
  68. package/dist/cjs/api/types/NotificationStandardRequest.js +74 -0
  69. package/dist/cjs/api/types/PayabliApiResponse.d.ts +1 -1
  70. package/dist/cjs/api/types/PayabliApiResponse0.d.ts +1 -1
  71. package/dist/cjs/api/types/PayabliApiResponse00.d.ts +1 -1
  72. package/dist/cjs/api/types/PayabliApiResponse0000.d.ts +1 -1
  73. package/dist/cjs/api/types/PayabliApiResponse00Responsedatanonobject.d.ts +1 -1
  74. package/dist/cjs/api/types/PayabliApiResponse6.d.ts +1 -1
  75. package/dist/cjs/api/types/PayabliApiResponseCustomerQuery.d.ts +1 -1
  76. package/dist/cjs/api/types/PayabliApiResponseGeneric2Part.d.ts +1 -1
  77. package/dist/cjs/api/types/PayabliApiResponseImport.d.ts +1 -1
  78. package/dist/cjs/api/types/PayabliApiResponseMfaBasic.d.ts +1 -1
  79. package/dist/cjs/api/types/PayabliApiResponseNotifications.d.ts +1 -1
  80. package/dist/cjs/api/types/PayabliApiResponsePaymethodDelete.d.ts +1 -1
  81. package/dist/cjs/api/types/PayabliApiResponseTemplateId.d.ts +1 -1
  82. package/dist/cjs/api/types/PayabliApiResponseUserMfa.d.ts +1 -1
  83. package/dist/cjs/api/types/PayabliApiResponseVendors.d.ts +1 -1
  84. package/dist/cjs/api/types/PaymentMethodDomainGeneralResponse.d.ts +1 -1
  85. package/dist/cjs/api/types/Transfer.d.ts +18 -15
  86. package/dist/cjs/api/types/TransferMessage.d.ts +8 -8
  87. package/dist/cjs/api/types/TransferMessageProperties.d.ts +2 -2
  88. package/dist/cjs/api/types/TransferQueryResponse.d.ts +2 -1
  89. package/dist/cjs/api/types/VCardRecord.d.ts +43 -0
  90. package/dist/cjs/api/types/index.d.ts +3 -5
  91. package/dist/cjs/api/types/index.js +3 -5
  92. package/dist/cjs/version.d.ts +1 -1
  93. package/dist/cjs/version.js +1 -1
  94. package/dist/esm/Client.d.mts +3 -0
  95. package/dist/esm/Client.mjs +7 -2
  96. package/dist/esm/api/resources/bill/types/BillResponse.d.mts +1 -1
  97. package/dist/esm/api/resources/bill/types/EditBillResponse.d.mts +1 -1
  98. package/dist/esm/api/resources/bill/types/GetBillResponse.d.mts +1 -1
  99. package/dist/esm/api/{types → resources/chargeBacks/types}/ChargeBackResponse.d.mts +1 -1
  100. package/dist/esm/api/resources/chargeBacks/types/ChargebackMessage.d.mts +21 -0
  101. package/dist/esm/api/resources/chargeBacks/types/ChargebackQueryRecords.d.mts +69 -0
  102. package/dist/esm/api/resources/chargeBacks/types/ChargebackQueryRecords.mjs +4 -0
  103. package/dist/esm/api/resources/chargeBacks/types/index.d.mts +3 -0
  104. package/dist/esm/api/resources/chargeBacks/types/index.mjs +3 -0
  105. package/dist/esm/api/resources/index.d.mts +3 -0
  106. package/dist/esm/api/resources/index.mjs +3 -0
  107. package/dist/esm/api/resources/lineItem/types/DeleteItemResponse.d.mts +2 -2
  108. package/dist/esm/api/resources/moneyIn/types/ReceiptResponse.d.mts +1 -1
  109. package/dist/esm/api/resources/moneyOutTypes/types/CaptureAllOutResponse.d.mts +1 -1
  110. package/dist/esm/api/resources/moneyOutTypes/types/VCardGetResponse.d.mts +2 -0
  111. package/dist/esm/api/resources/notificationlogs/client/Client.d.mts +118 -0
  112. package/dist/esm/api/resources/notificationlogs/client/Client.mjs +333 -0
  113. package/dist/esm/api/resources/notificationlogs/client/index.d.mts +2 -0
  114. package/dist/esm/api/resources/notificationlogs/client/index.mjs +1 -0
  115. package/dist/esm/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.d.mts +23 -0
  116. package/dist/esm/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.mjs +4 -0
  117. package/dist/esm/api/resources/notificationlogs/client/requests/index.d.mts +1 -0
  118. package/dist/esm/api/resources/notificationlogs/client/requests/index.mjs +1 -0
  119. package/dist/esm/api/resources/notificationlogs/index.d.mts +2 -0
  120. package/dist/esm/api/resources/notificationlogs/index.mjs +2 -0
  121. package/dist/esm/api/resources/notificationlogs/types/BulkRetryRequest.d.mts +7 -0
  122. package/dist/esm/api/resources/notificationlogs/types/BulkRetryRequest.mjs +4 -0
  123. package/dist/esm/api/resources/notificationlogs/types/KeyValueArray.d.mts +7 -0
  124. package/dist/esm/api/resources/notificationlogs/types/KeyValueArray.mjs +4 -0
  125. package/dist/esm/api/resources/notificationlogs/types/NotificationLog.d.mts +29 -0
  126. package/dist/esm/api/resources/notificationlogs/types/NotificationLog.mjs +4 -0
  127. package/dist/esm/api/resources/notificationlogs/types/NotificationLogDetail.d.mts +9 -0
  128. package/dist/esm/api/resources/notificationlogs/types/NotificationLogDetail.mjs +4 -0
  129. package/dist/esm/api/resources/notificationlogs/types/NotificationLogSearchRequest.d.mts +17 -0
  130. package/dist/esm/api/resources/notificationlogs/types/NotificationLogSearchRequest.mjs +4 -0
  131. package/dist/esm/api/resources/notificationlogs/types/StringStringKeyValuePair.d.mts +7 -0
  132. package/dist/esm/api/resources/notificationlogs/types/StringStringKeyValuePair.mjs +4 -0
  133. package/dist/esm/api/resources/notificationlogs/types/index.d.mts +6 -0
  134. package/dist/esm/api/resources/notificationlogs/types/index.mjs +6 -0
  135. package/dist/esm/api/resources/ocr/types/PayabliApiResponseOcr.d.mts +3 -3
  136. package/dist/esm/api/resources/organization/types/AddOrganizationResponse.d.mts +1 -1
  137. package/dist/esm/api/resources/organization/types/DeleteOrganizationResponse.d.mts +1 -1
  138. package/dist/esm/api/resources/organization/types/EditOrganizationResponse.d.mts +2 -2
  139. package/dist/esm/api/resources/paymentLink/types/PayabliApiResponsePaymentLinks.d.mts +2 -2
  140. package/dist/esm/api/resources/paypoint/types/GetBasicEntryByIdResponse.d.mts +2 -2
  141. package/dist/esm/api/resources/paypoint/types/GetBasicEntryResponse.d.mts +2 -2
  142. package/dist/esm/api/resources/paypoint/types/GetEntryConfigResponse.d.mts +2 -2
  143. package/dist/esm/api/resources/paypoint/types/MigratePaypointResponse.d.mts +2 -2
  144. package/dist/esm/api/resources/subscription/types/AddSubscriptionResponse.d.mts +1 -1
  145. package/dist/esm/api/resources/subscription/types/RemoveSubscriptionResponse.d.mts +1 -1
  146. package/dist/esm/api/resources/subscription/types/UpdateSubscriptionResponse.d.mts +1 -1
  147. package/dist/esm/api/resources/tokenStorage/types/AddMethodResponse.d.mts +5 -5
  148. package/dist/esm/api/resources/tokenStorage/types/GetMethodResponse.d.mts +1 -1
  149. package/dist/esm/api/resources/user/types/AddUserResponse.d.mts +1 -1
  150. package/dist/esm/api/resources/user/types/AuthResetUserResponse.d.mts +1 -1
  151. package/dist/esm/api/resources/user/types/ChangePswUserResponse.d.mts +1 -1
  152. package/dist/esm/api/resources/user/types/DeleteUserResponse.d.mts +1 -1
  153. package/dist/esm/api/resources/user/types/EditMfaUserResponse.d.mts +1 -1
  154. package/dist/esm/api/resources/user/types/LogoutUserResponse.d.mts +1 -1
  155. package/dist/esm/api/types/BoardingLinkApiResponse.d.mts +1 -1
  156. package/dist/esm/api/types/CloudQueryApiResponse.d.mts +1 -1
  157. package/dist/esm/api/types/ConfigureApplePayOrganizationApiResponse.d.mts +1 -1
  158. package/dist/esm/api/types/ConfigureApplePaypointApiResponse.d.mts +1 -1
  159. package/dist/esm/api/types/NotificationStandardRequest.d.mts +75 -1
  160. package/dist/esm/api/types/NotificationStandardRequest.mjs +74 -0
  161. package/dist/esm/api/types/PayabliApiResponse.d.mts +1 -1
  162. package/dist/esm/api/types/PayabliApiResponse0.d.mts +1 -1
  163. package/dist/esm/api/types/PayabliApiResponse00.d.mts +1 -1
  164. package/dist/esm/api/types/PayabliApiResponse0000.d.mts +1 -1
  165. package/dist/esm/api/types/PayabliApiResponse00Responsedatanonobject.d.mts +1 -1
  166. package/dist/esm/api/types/PayabliApiResponse6.d.mts +1 -1
  167. package/dist/esm/api/types/PayabliApiResponseCustomerQuery.d.mts +1 -1
  168. package/dist/esm/api/types/PayabliApiResponseGeneric2Part.d.mts +1 -1
  169. package/dist/esm/api/types/PayabliApiResponseImport.d.mts +1 -1
  170. package/dist/esm/api/types/PayabliApiResponseMfaBasic.d.mts +1 -1
  171. package/dist/esm/api/types/PayabliApiResponseNotifications.d.mts +1 -1
  172. package/dist/esm/api/types/PayabliApiResponsePaymethodDelete.d.mts +1 -1
  173. package/dist/esm/api/types/PayabliApiResponseTemplateId.d.mts +1 -1
  174. package/dist/esm/api/types/PayabliApiResponseUserMfa.d.mts +1 -1
  175. package/dist/esm/api/types/PayabliApiResponseVendors.d.mts +1 -1
  176. package/dist/esm/api/types/PaymentMethodDomainGeneralResponse.d.mts +1 -1
  177. package/dist/esm/api/types/Transfer.d.mts +18 -15
  178. package/dist/esm/api/types/TransferMessage.d.mts +8 -8
  179. package/dist/esm/api/types/TransferMessageProperties.d.mts +2 -2
  180. package/dist/esm/api/types/TransferQueryResponse.d.mts +2 -1
  181. package/dist/esm/api/types/VCardRecord.d.mts +43 -0
  182. package/dist/esm/api/types/index.d.mts +3 -5
  183. package/dist/esm/api/types/index.mjs +3 -5
  184. package/dist/esm/version.d.mts +1 -1
  185. package/dist/esm/version.mjs +1 -1
  186. package/package.json +1 -1
  187. package/reference.md +278 -0
  188. package/dist/cjs/api/types/ChargebackQueryRecords.d.ts +0 -54
  189. package/dist/esm/api/types/ChargebackQueryRecords.d.mts +0 -54
  190. /package/dist/cjs/api/{types → resources/chargeBacks/types}/ChargeBackResponse.js +0 -0
  191. /package/dist/cjs/api/{types/ChargebackQueryRecords.js → resources/chargeBacks/types/ChargebackMessage.js} +0 -0
  192. /package/dist/esm/api/{types → resources/chargeBacks/types}/ChargeBackResponse.mjs +0 -0
  193. /package/dist/esm/api/{types/ChargebackQueryRecords.mjs → resources/chargeBacks/types/ChargebackMessage.mjs} +0 -0
package/README.md CHANGED
@@ -3,11 +3,11 @@
3
3
  [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fpayabli%2Fsdk-node)
4
4
  [![npm shield](https://img.shields.io/npm/v/@payabli/sdk-node)](https://www.npmjs.com/package/@payabli/sdk-node)
5
5
 
6
- If you’re a software company, you’re a payments company™
6
+ The Payabli TypeScript library provides convenient access to the Payabli APIs from TypeScript.
7
7
 
8
8
  ## Documentation
9
9
 
10
- API reference documentation is available [here](https://docs.payabli.com/).
10
+ API reference documentation is available [here](https://docs.payabli.com).
11
11
 
12
12
  ## Installation
13
13
 
@@ -17,6 +17,7 @@ import { LineItem } from "./api/resources/lineItem/client/Client.js";
17
17
  import { MoneyIn } from "./api/resources/moneyIn/client/Client.js";
18
18
  import { MoneyOut } from "./api/resources/moneyOut/client/Client.js";
19
19
  import { Notification } from "./api/resources/notification/client/Client.js";
20
+ import { Notificationlogs } from "./api/resources/notificationlogs/client/Client.js";
20
21
  import { Ocr } from "./api/resources/ocr/client/Client.js";
21
22
  import { Organization } from "./api/resources/organization/client/Client.js";
22
23
  import { PaymentLink } from "./api/resources/paymentLink/client/Client.js";
@@ -68,6 +69,7 @@ export declare class PayabliClient {
68
69
  protected _moneyIn: MoneyIn | undefined;
69
70
  protected _moneyOut: MoneyOut | undefined;
70
71
  protected _notification: Notification | undefined;
72
+ protected _notificationlogs: Notificationlogs | undefined;
71
73
  protected _ocr: Ocr | undefined;
72
74
  protected _organization: Organization | undefined;
73
75
  protected _paymentLink: PaymentLink | undefined;
@@ -96,6 +98,7 @@ export declare class PayabliClient {
96
98
  get moneyIn(): MoneyIn;
97
99
  get moneyOut(): MoneyOut;
98
100
  get notification(): Notification;
101
+ get notificationlogs(): Notificationlogs;
99
102
  get ocr(): Ocr;
100
103
  get organization(): Organization;
101
104
  get paymentLink(): PaymentLink;
@@ -53,26 +53,27 @@ const Client_js_11 = require("./api/resources/lineItem/client/Client.js");
53
53
  const Client_js_12 = require("./api/resources/moneyIn/client/Client.js");
54
54
  const Client_js_13 = require("./api/resources/moneyOut/client/Client.js");
55
55
  const Client_js_14 = require("./api/resources/notification/client/Client.js");
56
- const Client_js_15 = require("./api/resources/ocr/client/Client.js");
57
- const Client_js_16 = require("./api/resources/organization/client/Client.js");
58
- const Client_js_17 = require("./api/resources/paymentLink/client/Client.js");
59
- const Client_js_18 = require("./api/resources/paymentMethodDomain/client/Client.js");
60
- const Client_js_19 = require("./api/resources/paypoint/client/Client.js");
61
- const Client_js_20 = require("./api/resources/query/client/Client.js");
62
- const Client_js_21 = require("./api/resources/statistic/client/Client.js");
63
- const Client_js_22 = require("./api/resources/subscription/client/Client.js");
64
- const Client_js_23 = require("./api/resources/templates/client/Client.js");
65
- const Client_js_24 = require("./api/resources/tokenStorage/client/Client.js");
66
- const Client_js_25 = require("./api/resources/user/client/Client.js");
67
- const Client_js_26 = require("./api/resources/vendor/client/Client.js");
68
- const Client_js_27 = require("./api/resources/wallet/client/Client.js");
56
+ const Client_js_15 = require("./api/resources/notificationlogs/client/Client.js");
57
+ const Client_js_16 = require("./api/resources/ocr/client/Client.js");
58
+ const Client_js_17 = require("./api/resources/organization/client/Client.js");
59
+ const Client_js_18 = require("./api/resources/paymentLink/client/Client.js");
60
+ const Client_js_19 = require("./api/resources/paymentMethodDomain/client/Client.js");
61
+ const Client_js_20 = require("./api/resources/paypoint/client/Client.js");
62
+ const Client_js_21 = require("./api/resources/query/client/Client.js");
63
+ const Client_js_22 = require("./api/resources/statistic/client/Client.js");
64
+ const Client_js_23 = require("./api/resources/subscription/client/Client.js");
65
+ const Client_js_24 = require("./api/resources/templates/client/Client.js");
66
+ const Client_js_25 = require("./api/resources/tokenStorage/client/Client.js");
67
+ const Client_js_26 = require("./api/resources/user/client/Client.js");
68
+ const Client_js_27 = require("./api/resources/vendor/client/Client.js");
69
+ const Client_js_28 = require("./api/resources/wallet/client/Client.js");
69
70
  class PayabliClient {
70
71
  constructor(_options = {}) {
71
72
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
72
73
  "X-Fern-Language": "JavaScript",
73
74
  "X-Fern-SDK-Name": "@payabli/sdk-node",
74
- "X-Fern-SDK-Version": "0.0.110",
75
- "User-Agent": "@payabli/sdk-node/0.0.110",
75
+ "X-Fern-SDK-Version": "0.0.114",
76
+ "User-Agent": "@payabli/sdk-node/0.0.114",
76
77
  "X-Fern-Runtime": core.RUNTIME.type,
77
78
  "X-Fern-Runtime-Version": core.RUNTIME.version,
78
79
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -133,57 +134,61 @@ class PayabliClient {
133
134
  var _a;
134
135
  return ((_a = this._notification) !== null && _a !== void 0 ? _a : (this._notification = new Client_js_14.Notification(this._options)));
135
136
  }
137
+ get notificationlogs() {
138
+ var _a;
139
+ return ((_a = this._notificationlogs) !== null && _a !== void 0 ? _a : (this._notificationlogs = new Client_js_15.Notificationlogs(this._options)));
140
+ }
136
141
  get ocr() {
137
142
  var _a;
138
- return ((_a = this._ocr) !== null && _a !== void 0 ? _a : (this._ocr = new Client_js_15.Ocr(this._options)));
143
+ return ((_a = this._ocr) !== null && _a !== void 0 ? _a : (this._ocr = new Client_js_16.Ocr(this._options)));
139
144
  }
140
145
  get organization() {
141
146
  var _a;
142
- return ((_a = this._organization) !== null && _a !== void 0 ? _a : (this._organization = new Client_js_16.Organization(this._options)));
147
+ return ((_a = this._organization) !== null && _a !== void 0 ? _a : (this._organization = new Client_js_17.Organization(this._options)));
143
148
  }
144
149
  get paymentLink() {
145
150
  var _a;
146
- return ((_a = this._paymentLink) !== null && _a !== void 0 ? _a : (this._paymentLink = new Client_js_17.PaymentLink(this._options)));
151
+ return ((_a = this._paymentLink) !== null && _a !== void 0 ? _a : (this._paymentLink = new Client_js_18.PaymentLink(this._options)));
147
152
  }
148
153
  get paymentMethodDomain() {
149
154
  var _a;
150
- return ((_a = this._paymentMethodDomain) !== null && _a !== void 0 ? _a : (this._paymentMethodDomain = new Client_js_18.PaymentMethodDomain(this._options)));
155
+ return ((_a = this._paymentMethodDomain) !== null && _a !== void 0 ? _a : (this._paymentMethodDomain = new Client_js_19.PaymentMethodDomain(this._options)));
151
156
  }
152
157
  get paypoint() {
153
158
  var _a;
154
- return ((_a = this._paypoint) !== null && _a !== void 0 ? _a : (this._paypoint = new Client_js_19.Paypoint(this._options)));
159
+ return ((_a = this._paypoint) !== null && _a !== void 0 ? _a : (this._paypoint = new Client_js_20.Paypoint(this._options)));
155
160
  }
156
161
  get query() {
157
162
  var _a;
158
- return ((_a = this._query) !== null && _a !== void 0 ? _a : (this._query = new Client_js_20.Query(this._options)));
163
+ return ((_a = this._query) !== null && _a !== void 0 ? _a : (this._query = new Client_js_21.Query(this._options)));
159
164
  }
160
165
  get statistic() {
161
166
  var _a;
162
- return ((_a = this._statistic) !== null && _a !== void 0 ? _a : (this._statistic = new Client_js_21.Statistic(this._options)));
167
+ return ((_a = this._statistic) !== null && _a !== void 0 ? _a : (this._statistic = new Client_js_22.Statistic(this._options)));
163
168
  }
164
169
  get subscription() {
165
170
  var _a;
166
- return ((_a = this._subscription) !== null && _a !== void 0 ? _a : (this._subscription = new Client_js_22.Subscription(this._options)));
171
+ return ((_a = this._subscription) !== null && _a !== void 0 ? _a : (this._subscription = new Client_js_23.Subscription(this._options)));
167
172
  }
168
173
  get templates() {
169
174
  var _a;
170
- return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new Client_js_23.Templates(this._options)));
175
+ return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new Client_js_24.Templates(this._options)));
171
176
  }
172
177
  get tokenStorage() {
173
178
  var _a;
174
- return ((_a = this._tokenStorage) !== null && _a !== void 0 ? _a : (this._tokenStorage = new Client_js_24.TokenStorage(this._options)));
179
+ return ((_a = this._tokenStorage) !== null && _a !== void 0 ? _a : (this._tokenStorage = new Client_js_25.TokenStorage(this._options)));
175
180
  }
176
181
  get user() {
177
182
  var _a;
178
- return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_js_25.User(this._options)));
183
+ return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_js_26.User(this._options)));
179
184
  }
180
185
  get vendor() {
181
186
  var _a;
182
- return ((_a = this._vendor) !== null && _a !== void 0 ? _a : (this._vendor = new Client_js_26.Vendor(this._options)));
187
+ return ((_a = this._vendor) !== null && _a !== void 0 ? _a : (this._vendor = new Client_js_27.Vendor(this._options)));
183
188
  }
184
189
  get wallet() {
185
190
  var _a;
186
- return ((_a = this._wallet) !== null && _a !== void 0 ? _a : (this._wallet = new Client_js_27.Wallet(this._options)));
191
+ return ((_a = this._wallet) !== null && _a !== void 0 ? _a : (this._wallet = new Client_js_28.Wallet(this._options)));
187
192
  }
188
193
  }
189
194
  exports.PayabliClient = PayabliClient;
@@ -7,7 +7,7 @@ export interface BillResponse {
7
7
  pageIdentifier?: Payabli.PageIdentifier;
8
8
  roomId?: Payabli.RoomIdNotInUse;
9
9
  isSuccess?: Payabli.IsSuccess;
10
- responseText?: Payabli.ResponseText;
10
+ responseText: Payabli.ResponseText;
11
11
  /** If `isSuccess` = true, this contains the bill identifier. If `isSuccess` = false, this contains the reason for the error. */
12
12
  responseData?: Payabli.Responsedatanonobject;
13
13
  }
@@ -7,7 +7,7 @@ export interface EditBillResponse {
7
7
  pageIdentifier?: Payabli.PageIdentifier;
8
8
  roomId?: Payabli.RoomIdNotInUse;
9
9
  isSuccess?: Payabli.IsSuccess;
10
- responseText?: Payabli.ResponseText;
10
+ responseText: Payabli.ResponseText;
11
11
  /** If `isSuccess` = true, this contains the bill identifier. If `isSuccess` = false, this contains the reason for the error. */
12
12
  responseData?: number;
13
13
  }
@@ -10,6 +10,6 @@ export interface GetBillResponse {
10
10
  pageIdentifier?: Payabli.PageIdentifier;
11
11
  roomId?: Payabli.RoomIdNotInUse;
12
12
  isSuccess?: Payabli.IsSuccess;
13
- responseText?: Payabli.ResponseText;
13
+ responseText: Payabli.ResponseText;
14
14
  responseData?: Payabli.BillResponseData;
15
15
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Payabli from "../index.js";
4
+ import * as Payabli from "../../../index.js";
5
5
  export interface ChargeBackResponse {
6
6
  /** Object with attached files to response */
7
7
  attachments?: Payabli.BoardingApplicationAttachments;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ChargebackMessage {
5
+ /** Message identifier. */
6
+ Id: number;
7
+ /** Room identifier for the message. */
8
+ RoomId: number;
9
+ /** User identifier who sent the message. */
10
+ UserId: number;
11
+ /** Name of the user who sent the message. */
12
+ UserName: string;
13
+ /** Content of the message. */
14
+ Content: string;
15
+ /** Timestamp when the message was created. */
16
+ CreatedAt: string;
17
+ /** Type of message. */
18
+ MessageType: number;
19
+ /** Additional properties of the message. */
20
+ MessageProperties?: Record<string, string>;
21
+ }
@@ -0,0 +1,69 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Payabli from "../../../index.js";
5
+ export interface ChargebackQueryRecords {
6
+ /** Identifier of chargeback or return. */
7
+ Id: number;
8
+ /** Date of chargeback in format YYYY-MM-DD or MM/DD/YYYY. */
9
+ ChargebackDate: string;
10
+ /** Number of case assigned to the chargeback. */
11
+ CaseNumber: string;
12
+ /** R code for returned ACH or custom code identifying the reason. */
13
+ ReasonCode: string;
14
+ /** Text describing the chargeback or ACH return reason. */
15
+ Reason: string;
16
+ /** Processor reference number to the chargeback. */
17
+ ReferenceNumber: string;
18
+ /** Last 4 digits of card or bank account involved in chargeback or return. */
19
+ LastFour: string;
20
+ AccountType: Payabli.Accounttype;
21
+ /**
22
+ * Status for chargeback or ACH return
23
+ *
24
+ * - 0: Open (chargebacks only)
25
+ * - 1: Pending (chargebacks only)
26
+ * - 2: Closed-Won (chargebacks only)
27
+ * - 3: Closed-Lost (chargebacks only)
28
+ * - 4: ACH Return (ACH only)
29
+ * - 5: ACH Dispute, Not Authorized (ACH only)
30
+ */
31
+ Status: number;
32
+ /** Type of payment vehicle: **ach** or **card**. */
33
+ Method: string;
34
+ /** Timestamp when the register was created, in UTC. */
35
+ CreatedAt: Payabli.CreatedAt;
36
+ ReplyBy: Payabli.Replyby;
37
+ /** ReferenceId of the transaction in Payabli. */
38
+ PaymentTransId: string;
39
+ /** Reference to the subscription originating the transaction. */
40
+ ScheduleReference?: number;
41
+ OrderId: Payabli.OrderId;
42
+ /** Net amount in chargeback or ACH return. */
43
+ NetAmount?: Payabli.Netamountnullable;
44
+ TransactionTime: Payabli.TransactionTime;
45
+ Customer: Payabli.QueryTransactionPayorData;
46
+ PaymentData: Payabli.QueryPaymentData;
47
+ /** The paypoint's legal name. */
48
+ PaypointLegalname: Payabli.Legalname;
49
+ /** The paypoint's DBA name. */
50
+ PaypointDbaname: Payabli.Dbaname;
51
+ ParentOrgName: Payabli.OrgParentName;
52
+ /** The ID of the parent organization. */
53
+ ParentOrgId: number;
54
+ /** The paypoint's entryname. */
55
+ PaypointEntryname: Payabli.Entrypointfield;
56
+ /** Chargeback response records. */
57
+ Responses: Payabli.ChargeBackResponse[];
58
+ Transaction: Payabli.TransactionQueryRecords;
59
+ externalPaypointID?: Payabli.ExternalPaypointId;
60
+ pageidentifier?: Payabli.PageIdentifier;
61
+ /** Messages related to the chargeback. */
62
+ messages: Payabli.ChargebackMessage[];
63
+ /** Service group classification. */
64
+ ServiceGroup: string;
65
+ /** Type of dispute classification. */
66
+ DisputeType: string;
67
+ /** Name of the payment processor. */
68
+ ProcessorName: string;
69
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,4 @@
1
1
  export * from "./AddResponseResponse.js";
2
+ export * from "./ChargebackQueryRecords.js";
3
+ export * from "./ChargebackMessage.js";
4
+ export * from "./ChargeBackResponse.js";
@@ -15,3 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AddResponseResponse.js"), exports);
18
+ __exportStar(require("./ChargebackQueryRecords.js"), exports);
19
+ __exportStar(require("./ChargebackMessage.js"), exports);
20
+ __exportStar(require("./ChargeBackResponse.js"), exports);
@@ -22,6 +22,8 @@ export * as moneyIn from "./moneyIn/index.js";
22
22
  export * from "./moneyIn/types/index.js";
23
23
  export * as notification from "./notification/index.js";
24
24
  export * from "./notification/types/index.js";
25
+ export * as notificationlogs from "./notificationlogs/index.js";
26
+ export * from "./notificationlogs/types/index.js";
25
27
  export * as ocr from "./ocr/index.js";
26
28
  export * from "./ocr/types/index.js";
27
29
  export * as organization from "./organization/index.js";
@@ -62,6 +64,7 @@ export * from "./invoice/client/requests/index.js";
62
64
  export * from "./lineItem/client/requests/index.js";
63
65
  export * from "./moneyIn/client/requests/index.js";
64
66
  export * from "./moneyOut/client/requests/index.js";
67
+ export * from "./notificationlogs/client/requests/index.js";
65
68
  export * from "./organization/client/requests/index.js";
66
69
  export * from "./paymentLink/client/requests/index.js";
67
70
  export * from "./paymentMethodDomain/client/requests/index.js";
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.wallet = exports.vendor = exports.templates = exports.query = exports.moneyOut = exports.import_ = exports.hostedPaymentPages = exports.customer = exports.user = exports.tokenStorage = exports.subscription = exports.statistic = exports.paypoint = exports.paymentMethodDomain = exports.paymentLink = exports.organization = exports.ocr = exports.notification = exports.moneyIn = exports.lineItem = exports.invoice = exports.export_ = exports.cloud = exports.checkCapture = exports.chargeBacks = exports.boarding = exports.bill = exports.queryTypes = exports.moneyOutTypes = void 0;
39
+ exports.wallet = exports.vendor = exports.templates = exports.query = exports.moneyOut = exports.import_ = exports.hostedPaymentPages = exports.customer = exports.user = exports.tokenStorage = exports.subscription = exports.statistic = exports.paypoint = exports.paymentMethodDomain = exports.paymentLink = exports.organization = exports.ocr = exports.notificationlogs = exports.notification = exports.moneyIn = exports.lineItem = exports.invoice = exports.export_ = exports.cloud = exports.checkCapture = exports.chargeBacks = exports.boarding = exports.bill = exports.queryTypes = exports.moneyOutTypes = void 0;
40
40
  exports.moneyOutTypes = __importStar(require("./moneyOutTypes/index.js"));
41
41
  __exportStar(require("./moneyOutTypes/types/index.js"), exports);
42
42
  exports.queryTypes = __importStar(require("./queryTypes/index.js"));
@@ -61,6 +61,8 @@ exports.moneyIn = __importStar(require("./moneyIn/index.js"));
61
61
  __exportStar(require("./moneyIn/types/index.js"), exports);
62
62
  exports.notification = __importStar(require("./notification/index.js"));
63
63
  __exportStar(require("./notification/types/index.js"), exports);
64
+ exports.notificationlogs = __importStar(require("./notificationlogs/index.js"));
65
+ __exportStar(require("./notificationlogs/types/index.js"), exports);
64
66
  exports.ocr = __importStar(require("./ocr/index.js"));
65
67
  __exportStar(require("./ocr/types/index.js"), exports);
66
68
  exports.organization = __importStar(require("./organization/index.js"));
@@ -101,6 +103,7 @@ __exportStar(require("./invoice/client/requests/index.js"), exports);
101
103
  __exportStar(require("./lineItem/client/requests/index.js"), exports);
102
104
  __exportStar(require("./moneyIn/client/requests/index.js"), exports);
103
105
  __exportStar(require("./moneyOut/client/requests/index.js"), exports);
106
+ __exportStar(require("./notificationlogs/client/requests/index.js"), exports);
104
107
  __exportStar(require("./organization/client/requests/index.js"), exports);
105
108
  __exportStar(require("./paymentLink/client/requests/index.js"), exports);
106
109
  __exportStar(require("./paymentMethodDomain/client/requests/index.js"), exports);
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as Payabli from "../../../index.js";
5
5
  export interface DeleteItemResponse {
6
- isSuccess?: Payabli.IsSuccess;
7
- responseText?: Payabli.ResponseText;
6
+ isSuccess: Payabli.IsSuccess;
7
+ responseText: Payabli.ResponseText;
8
8
  }
@@ -8,5 +8,5 @@ import * as Payabli from "../../../index.js";
8
8
  export interface ReceiptResponse {
9
9
  isSuccess?: Payabli.IsSuccess;
10
10
  pageIdentifier?: Payabli.PageIdentifier;
11
- responseText?: Payabli.ResponseText;
11
+ responseText: Payabli.ResponseText;
12
12
  }
@@ -8,7 +8,7 @@ export interface CaptureAllOutResponse {
8
8
  responseCode?: Payabli.Responsecode;
9
9
  /** Array of objects describing the transactions. */
10
10
  responseData?: CaptureAllOutResponse.ResponseData.Item[];
11
- responseText?: Payabli.ResponseText;
11
+ responseText: Payabli.ResponseText;
12
12
  }
13
13
  export declare namespace CaptureAllOutResponse {
14
14
  type ResponseData = ResponseData.Item[];
@@ -54,6 +54,8 @@ export interface VCardGetResponse {
54
54
  /** Entry name for the Paypoint, if applicable. */
55
55
  PaypointEntryname?: string;
56
56
  externalPaypointID?: Payabli.ExternalPaypointId;
57
+ /** The unique identifier for the paypoint. */
58
+ paypointId?: number;
57
59
  }
58
60
  export declare namespace VCardGetResponse {
59
61
  /**
@@ -0,0 +1,118 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments.js";
5
+ import * as core from "../../../../core/index.js";
6
+ import * as Payabli from "../../../index.js";
7
+ export declare namespace Notificationlogs {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.PayabliEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ apiKey?: core.Supplier<string | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
+ }
16
+ interface RequestOptions {
17
+ /** The maximum time to wait for a response in seconds. */
18
+ timeoutInSeconds?: number;
19
+ /** The number of times to retry the request. Defaults to 2. */
20
+ maxRetries?: number;
21
+ /** A hook to abort the request. */
22
+ abortSignal?: AbortSignal;
23
+ /** Additional query string parameters to include in the request. */
24
+ queryParams?: Record<string, unknown>;
25
+ /** Additional headers to include in the request. */
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
+ }
28
+ }
29
+ export declare class Notificationlogs {
30
+ protected readonly _options: Notificationlogs.Options;
31
+ constructor(_options?: Notificationlogs.Options);
32
+ /**
33
+ * Search notification logs with filtering and pagination.
34
+ * - Start date and end date cannot be more than 30 days apart
35
+ * - Either `orgId` or `paypointId` must be provided
36
+ *
37
+ * This endpoint requires the `notifications_create` OR `notifications_read` permission.
38
+ *
39
+ * @param {Payabli.SearchNotificationLogsRequest} request
40
+ * @param {Notificationlogs.RequestOptions} requestOptions - Request-specific configuration.
41
+ *
42
+ * @throws {@link Payabli.BadRequestError}
43
+ * @throws {@link Payabli.UnauthorizedError}
44
+ * @throws {@link Payabli.InternalServerError}
45
+ * @throws {@link Payabli.ServiceUnavailableError}
46
+ *
47
+ * @example
48
+ * await client.notificationlogs.searchNotificationLogs({
49
+ * PageSize: 20,
50
+ * body: {
51
+ * startDate: "2024-01-01T00:00:00Z",
52
+ * endDate: "2024-01-31T23:59:59Z",
53
+ * orgId: 12345,
54
+ * notificationEvent: "ActivatedMerchant",
55
+ * succeeded: true
56
+ * }
57
+ * })
58
+ */
59
+ searchNotificationLogs(request: Payabli.SearchNotificationLogsRequest, requestOptions?: Notificationlogs.RequestOptions): core.HttpResponsePromise<Payabli.NotificationLog[]>;
60
+ private __searchNotificationLogs;
61
+ /**
62
+ * Get detailed information for a specific notification log entry.
63
+ * This endpoint requires the `notifications_create` OR `notifications_read` permission.
64
+ *
65
+ * @param {string} uuid - The notification log entry.
66
+ * @param {Notificationlogs.RequestOptions} requestOptions - Request-specific configuration.
67
+ *
68
+ * @throws {@link Payabli.BadRequestError}
69
+ * @throws {@link Payabli.UnauthorizedError}
70
+ * @throws {@link Payabli.InternalServerError}
71
+ * @throws {@link Payabli.ServiceUnavailableError}
72
+ *
73
+ * @example
74
+ * await client.notificationlogs.getNotificationLog("550e8400-e29b-41d4-a716-446655440000")
75
+ */
76
+ getNotificationLog(uuid: string, requestOptions?: Notificationlogs.RequestOptions): core.HttpResponsePromise<Payabli.NotificationLogDetail>;
77
+ private __getNotificationLog;
78
+ /**
79
+ * Retry sending a specific notification.
80
+ *
81
+ * **Permissions:** notifications_create
82
+ *
83
+ * @param {string} uuid - Unique id
84
+ * @param {Notificationlogs.RequestOptions} requestOptions - Request-specific configuration.
85
+ *
86
+ * @throws {@link Payabli.BadRequestError}
87
+ * @throws {@link Payabli.UnauthorizedError}
88
+ * @throws {@link Payabli.InternalServerError}
89
+ * @throws {@link Payabli.ServiceUnavailableError}
90
+ *
91
+ * @example
92
+ * await client.notificationlogs.retryNotificationLog("550e8400-e29b-41d4-a716-446655440000")
93
+ */
94
+ retryNotificationLog(uuid: string, requestOptions?: Notificationlogs.RequestOptions): core.HttpResponsePromise<Payabli.NotificationLogDetail>;
95
+ private __retryNotificationLog;
96
+ /**
97
+ * Retry sending multiple notifications (maximum 50 IDs).
98
+ * This is an async process, so use the search endpoint again to check the notification status.
99
+ *
100
+ * This endpoint requires the `notifications_create` permission.
101
+ *
102
+ * @param {Payabli.BulkRetryRequest} request
103
+ * @param {Notificationlogs.RequestOptions} requestOptions - Request-specific configuration.
104
+ *
105
+ * @throws {@link Payabli.BadRequestError}
106
+ * @throws {@link Payabli.UnauthorizedError}
107
+ * @throws {@link Payabli.InternalServerError}
108
+ * @throws {@link Payabli.ServiceUnavailableError}
109
+ *
110
+ * @example
111
+ * await client.notificationlogs.bulkRetryNotificationLogs(["550e8400-e29b-41d4-a716-446655440000", "550e8400-e29b-41d4-a716-446655440001", "550e8400-e29b-41d4-a716-446655440002"])
112
+ */
113
+ bulkRetryNotificationLogs(request: Payabli.BulkRetryRequest, requestOptions?: Notificationlogs.RequestOptions): core.HttpResponsePromise<void>;
114
+ private __bulkRetryNotificationLogs;
115
+ protected _getCustomAuthorizationHeaders(): Promise<{
116
+ requestToken: string | undefined;
117
+ }>;
118
+ }