@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
@@ -3,12 +3,12 @@
3
3
  */
4
4
  import * as Payabli from "../index.js";
5
5
  export interface TransferMessage {
6
- Id?: number;
7
- RoomId?: number;
8
- UserId?: number;
9
- UserName?: string;
10
- Content?: string;
11
- CreatedAt?: string;
12
- MessageType?: number;
13
- MessageProperties?: Payabli.TransferMessageProperties;
6
+ Id: number | null;
7
+ RoomId: number | null;
8
+ UserId: number | null;
9
+ UserName: string | null;
10
+ Content: string | null;
11
+ CreatedAt: string | null;
12
+ MessageType: number | null;
13
+ MessageProperties: Payabli.TransferMessageProperties | null;
14
14
  }
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface TransferMessageProperties {
5
- originalTransferStatus?: string;
6
- currentTransferStatus?: string;
5
+ originalTransferStatus: string | null;
6
+ currentTransferStatus: string | null;
7
7
  }
@@ -19,8 +19,9 @@ import * as Payabli from "../index.js";
19
19
  * paypointLogo: "https://example.com/logo.png",
20
20
  * parentOrgName: "Pilgrim Planner",
21
21
  * parentOrgId: 12345,
22
+ * parentOrgEntryName: "43aebc000",
22
23
  * parentOrgLogo: "https://example.com/parent-logo.png",
23
- * externalPaypointId: "ext-12345",
24
+ * externalPaypointID: "ext-12345",
24
25
  * bankAccount: {
25
26
  * accountNumber: "****1234",
26
27
  * routingNumber: "123456789"
@@ -2,6 +2,47 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Payabli from "../index.js";
5
+ /**
6
+ * @example
7
+ * {
8
+ * vcardSent: true,
9
+ * cardToken: "vcrd_5Ty8NrBzXjKuqHm9DwElfP",
10
+ * cardNumber: "44XX XXXX XXXX 1234",
11
+ * cvc: "XXX",
12
+ * expirationDate: "2025-12",
13
+ * status: "Active",
14
+ * amount: 500,
15
+ * currentBalance: 375.25,
16
+ * expenseLimit: 100,
17
+ * expenseLimitPeriod: "monthly",
18
+ * maxNumberOfUses: 10,
19
+ * currentNumberOfUses: 3,
20
+ * exactAmount: false,
21
+ * mcc: "5812",
22
+ * tcc: "T01",
23
+ * misc1: "Invoice #12345",
24
+ * misc2: "Project: Office Supplies",
25
+ * dateCreated: "2023-01-15T09:30:00Z",
26
+ * dateModified: "2023-02-20T14:15:22Z",
27
+ * associatedVendor: {
28
+ * VendorNumber: "V-12345",
29
+ * Name1: "Office Supply Co.",
30
+ * EIN: "XXXXX6789",
31
+ * Email: "billing@officesupply.example.com",
32
+ * VendorId: 1542
33
+ * },
34
+ * associatedCustomer: {
35
+ * firstname: "Acme",
36
+ * lastname: "Corporation"
37
+ * },
38
+ * PaypointDbaname: "Global Factory LLC",
39
+ * PaypointLegalname: "Global Factory LLC",
40
+ * PaypointEntryname: "4872acb376a",
41
+ * externalPaypointID: "pay-10",
42
+ * ParentOrgName: "SupplyPro",
43
+ * paypointId: 236
44
+ * }
45
+ */
5
46
  export interface VCardRecord {
6
47
  /** When `true`, the vCard has been sent. */
7
48
  vcardSent?: boolean;
@@ -42,4 +83,6 @@ export interface VCardRecord {
42
83
  /** The paypoint's entry name (entrypoint). */
43
84
  PaypointEntryname?: Payabli.Entrypointfield;
44
85
  externalPaypointID?: Payabli.ExternalPaypointId;
86
+ /** The paypoint's unique identifier. */
87
+ paypointId?: number;
45
88
  }
@@ -151,8 +151,6 @@ export * from "./CascadeJobDetails.js";
151
151
  export * from "./Cash.js";
152
152
  export * from "./Category.js";
153
153
  export * from "./ChargebackId.js";
154
- export * from "./ChargebackQueryRecords.js";
155
- export * from "./ChargeBackResponse.js";
156
154
  export * from "./Check.js";
157
155
  export * from "./CityNullable.js";
158
156
  export * from "./CList.js";
@@ -532,11 +530,11 @@ export * from "./TransactionQueryRecords.js";
532
530
  export * from "./TransactionTime.js";
533
531
  export * from "./TransferIdentifier.js";
534
532
  export * from "./Transfer.js";
535
- export * from "./TransferSummary.js";
536
- export * from "./TransferQueryResponse.js";
537
533
  export * from "./TransferBankAccount.js";
538
- export * from "./TransferMessageProperties.js";
539
534
  export * from "./TransferMessage.js";
535
+ export * from "./TransferMessageProperties.js";
536
+ export * from "./TransferSummary.js";
537
+ export * from "./TransferQueryResponse.js";
540
538
  export * from "./TransStatus.js";
541
539
  export * from "./PaymentTransStatusDescription.js";
542
540
  export * from "./TypeAccount.js";
@@ -167,8 +167,6 @@ __exportStar(require("./CascadeJobDetails.js"), exports);
167
167
  __exportStar(require("./Cash.js"), exports);
168
168
  __exportStar(require("./Category.js"), exports);
169
169
  __exportStar(require("./ChargebackId.js"), exports);
170
- __exportStar(require("./ChargebackQueryRecords.js"), exports);
171
- __exportStar(require("./ChargeBackResponse.js"), exports);
172
170
  __exportStar(require("./Check.js"), exports);
173
171
  __exportStar(require("./CityNullable.js"), exports);
174
172
  __exportStar(require("./CList.js"), exports);
@@ -548,11 +546,11 @@ __exportStar(require("./TransactionQueryRecords.js"), exports);
548
546
  __exportStar(require("./TransactionTime.js"), exports);
549
547
  __exportStar(require("./TransferIdentifier.js"), exports);
550
548
  __exportStar(require("./Transfer.js"), exports);
551
- __exportStar(require("./TransferSummary.js"), exports);
552
- __exportStar(require("./TransferQueryResponse.js"), exports);
553
549
  __exportStar(require("./TransferBankAccount.js"), exports);
554
- __exportStar(require("./TransferMessageProperties.js"), exports);
555
550
  __exportStar(require("./TransferMessage.js"), exports);
551
+ __exportStar(require("./TransferMessageProperties.js"), exports);
552
+ __exportStar(require("./TransferSummary.js"), exports);
553
+ __exportStar(require("./TransferQueryResponse.js"), exports);
556
554
  __exportStar(require("./TransStatus.js"), exports);
557
555
  __exportStar(require("./PaymentTransStatusDescription.js"), exports);
558
556
  __exportStar(require("./TypeAccount.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.110";
1
+ export declare const SDK_VERSION = "0.0.114";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.110";
4
+ exports.SDK_VERSION = "0.0.114";
@@ -17,6 +17,7 @@ import { LineItem } from "./api/resources/lineItem/client/Client.mjs";
17
17
  import { MoneyIn } from "./api/resources/moneyIn/client/Client.mjs";
18
18
  import { MoneyOut } from "./api/resources/moneyOut/client/Client.mjs";
19
19
  import { Notification } from "./api/resources/notification/client/Client.mjs";
20
+ import { Notificationlogs } from "./api/resources/notificationlogs/client/Client.mjs";
20
21
  import { Ocr } from "./api/resources/ocr/client/Client.mjs";
21
22
  import { Organization } from "./api/resources/organization/client/Client.mjs";
22
23
  import { PaymentLink } from "./api/resources/paymentLink/client/Client.mjs";
@@ -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;
@@ -17,6 +17,7 @@ import { LineItem } from "./api/resources/lineItem/client/Client.mjs";
17
17
  import { MoneyIn } from "./api/resources/moneyIn/client/Client.mjs";
18
18
  import { MoneyOut } from "./api/resources/moneyOut/client/Client.mjs";
19
19
  import { Notification } from "./api/resources/notification/client/Client.mjs";
20
+ import { Notificationlogs } from "./api/resources/notificationlogs/client/Client.mjs";
20
21
  import { Ocr } from "./api/resources/ocr/client/Client.mjs";
21
22
  import { Organization } from "./api/resources/organization/client/Client.mjs";
22
23
  import { PaymentLink } from "./api/resources/paymentLink/client/Client.mjs";
@@ -35,8 +36,8 @@ export class PayabliClient {
35
36
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
36
37
  "X-Fern-Language": "JavaScript",
37
38
  "X-Fern-SDK-Name": "@payabli/sdk-node",
38
- "X-Fern-SDK-Version": "0.0.110",
39
- "User-Agent": "@payabli/sdk-node/0.0.110",
39
+ "X-Fern-SDK-Version": "0.0.114",
40
+ "User-Agent": "@payabli/sdk-node/0.0.114",
40
41
  "X-Fern-Runtime": core.RUNTIME.type,
41
42
  "X-Fern-Runtime-Version": core.RUNTIME.version,
42
43
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -97,6 +98,10 @@ export class PayabliClient {
97
98
  var _a;
98
99
  return ((_a = this._notification) !== null && _a !== void 0 ? _a : (this._notification = new Notification(this._options)));
99
100
  }
101
+ get notificationlogs() {
102
+ var _a;
103
+ return ((_a = this._notificationlogs) !== null && _a !== void 0 ? _a : (this._notificationlogs = new Notificationlogs(this._options)));
104
+ }
100
105
  get ocr() {
101
106
  var _a;
102
107
  return ((_a = this._ocr) !== null && _a !== void 0 ? _a : (this._ocr = new Ocr(this._options)));
@@ -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.mjs";
4
+ import * as Payabli from "../../../index.mjs";
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.mjs";
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,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -1 +1,4 @@
1
1
  export * from "./AddResponseResponse.mjs";
2
+ export * from "./ChargebackQueryRecords.mjs";
3
+ export * from "./ChargebackMessage.mjs";
4
+ export * from "./ChargeBackResponse.mjs";
@@ -1 +1,4 @@
1
1
  export * from "./AddResponseResponse.mjs";
2
+ export * from "./ChargebackQueryRecords.mjs";
3
+ export * from "./ChargebackMessage.mjs";
4
+ export * from "./ChargeBackResponse.mjs";
@@ -22,6 +22,8 @@ export * as moneyIn from "./moneyIn/index.mjs";
22
22
  export * from "./moneyIn/types/index.mjs";
23
23
  export * as notification from "./notification/index.mjs";
24
24
  export * from "./notification/types/index.mjs";
25
+ export * as notificationlogs from "./notificationlogs/index.mjs";
26
+ export * from "./notificationlogs/types/index.mjs";
25
27
  export * as ocr from "./ocr/index.mjs";
26
28
  export * from "./ocr/types/index.mjs";
27
29
  export * as organization from "./organization/index.mjs";
@@ -62,6 +64,7 @@ export * from "./invoice/client/requests/index.mjs";
62
64
  export * from "./lineItem/client/requests/index.mjs";
63
65
  export * from "./moneyIn/client/requests/index.mjs";
64
66
  export * from "./moneyOut/client/requests/index.mjs";
67
+ export * from "./notificationlogs/client/requests/index.mjs";
65
68
  export * from "./organization/client/requests/index.mjs";
66
69
  export * from "./paymentLink/client/requests/index.mjs";
67
70
  export * from "./paymentMethodDomain/client/requests/index.mjs";
@@ -22,6 +22,8 @@ export * as moneyIn from "./moneyIn/index.mjs";
22
22
  export * from "./moneyIn/types/index.mjs";
23
23
  export * as notification from "./notification/index.mjs";
24
24
  export * from "./notification/types/index.mjs";
25
+ export * as notificationlogs from "./notificationlogs/index.mjs";
26
+ export * from "./notificationlogs/types/index.mjs";
25
27
  export * as ocr from "./ocr/index.mjs";
26
28
  export * from "./ocr/types/index.mjs";
27
29
  export * as organization from "./organization/index.mjs";
@@ -62,6 +64,7 @@ export * from "./invoice/client/requests/index.mjs";
62
64
  export * from "./lineItem/client/requests/index.mjs";
63
65
  export * from "./moneyIn/client/requests/index.mjs";
64
66
  export * from "./moneyOut/client/requests/index.mjs";
67
+ export * from "./notificationlogs/client/requests/index.mjs";
65
68
  export * from "./organization/client/requests/index.mjs";
66
69
  export * from "./paymentLink/client/requests/index.mjs";
67
70
  export * from "./paymentMethodDomain/client/requests/index.mjs";
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as Payabli from "../../../index.mjs";
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.mjs";
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.mjs";
5
+ import * as core from "../../../../core/index.mjs";
6
+ import * as Payabli from "../../../index.mjs";
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
+ }