@paid-ai/paid-node 1.1.0 → 1.2.1

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 (205) hide show
  1. package/README.md +2 -0
  2. package/dist/cjs/Client.d.ts +12 -0
  3. package/dist/cjs/Client.js +34 -14
  4. package/dist/cjs/api/resources/checkouts/client/Client.d.ts +84 -0
  5. package/dist/cjs/api/resources/checkouts/client/Client.js +350 -0
  6. package/dist/cjs/api/resources/checkouts/client/index.d.ts +1 -0
  7. package/dist/cjs/api/resources/checkouts/client/index.js +17 -0
  8. package/dist/cjs/api/resources/checkouts/client/requests/ArchiveCheckoutRequest.d.ts +9 -0
  9. package/dist/cjs/api/resources/checkouts/client/requests/ArchiveCheckoutRequest.js +3 -0
  10. package/dist/cjs/api/resources/checkouts/client/requests/CreateCheckoutRequest.d.ts +25 -0
  11. package/dist/cjs/api/resources/checkouts/client/requests/CreateCheckoutRequest.js +3 -0
  12. package/dist/cjs/api/resources/checkouts/client/requests/GetCheckoutRequest.d.ts +9 -0
  13. package/dist/cjs/api/resources/checkouts/client/requests/GetCheckoutRequest.js +3 -0
  14. package/dist/cjs/api/resources/checkouts/client/requests/ListCheckoutsRequest.d.ts +10 -0
  15. package/dist/cjs/api/resources/checkouts/client/requests/ListCheckoutsRequest.js +3 -0
  16. package/dist/cjs/api/resources/checkouts/client/requests/index.d.ts +4 -0
  17. package/dist/cjs/api/resources/checkouts/client/requests/index.js +2 -0
  18. package/dist/cjs/api/resources/checkouts/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/checkouts/index.js +18 -0
  20. package/dist/cjs/api/resources/checkouts/types/ListCheckoutsRequestStatus.d.ts +6 -0
  21. package/dist/cjs/api/resources/checkouts/types/ListCheckoutsRequestStatus.js +9 -0
  22. package/dist/cjs/api/resources/checkouts/types/index.d.ts +1 -0
  23. package/dist/cjs/api/resources/checkouts/types/index.js +17 -0
  24. package/dist/cjs/api/resources/credits/client/Client.d.ts +27 -0
  25. package/dist/cjs/api/resources/credits/client/Client.js +123 -0
  26. package/dist/cjs/api/resources/credits/client/index.d.ts +1 -0
  27. package/dist/cjs/api/resources/credits/client/index.js +2 -0
  28. package/dist/cjs/api/resources/credits/index.d.ts +1 -0
  29. package/dist/cjs/api/resources/credits/index.js +17 -0
  30. package/dist/cjs/api/resources/customerPortals/client/Client.d.ts +30 -0
  31. package/dist/cjs/api/resources/customerPortals/client/Client.js +133 -0
  32. package/dist/cjs/api/resources/customerPortals/client/index.d.ts +1 -0
  33. package/dist/cjs/api/resources/customerPortals/client/index.js +17 -0
  34. package/dist/cjs/api/resources/customerPortals/client/requests/CreateCustomerPortalRequest.d.ts +12 -0
  35. package/dist/cjs/api/resources/customerPortals/client/requests/CreateCustomerPortalRequest.js +3 -0
  36. package/dist/cjs/api/resources/customerPortals/client/requests/index.d.ts +1 -0
  37. package/dist/cjs/api/resources/customerPortals/client/requests/index.js +2 -0
  38. package/dist/cjs/api/resources/customerPortals/index.d.ts +1 -0
  39. package/dist/cjs/api/resources/customerPortals/index.js +17 -0
  40. package/dist/cjs/api/resources/customers/client/Client.d.ts +36 -0
  41. package/dist/cjs/api/resources/customers/client/Client.js +142 -0
  42. package/dist/cjs/api/resources/customers/client/requests/GetCustomerCreditBalancesByExternalIdRequest.d.ts +9 -0
  43. package/dist/cjs/api/resources/customers/client/requests/GetCustomerCreditBalancesByExternalIdRequest.js +3 -0
  44. package/dist/cjs/api/resources/customers/client/requests/GetCustomerCreditBalancesRequest.d.ts +9 -0
  45. package/dist/cjs/api/resources/customers/client/requests/GetCustomerCreditBalancesRequest.js +3 -0
  46. package/dist/cjs/api/resources/customers/client/requests/index.d.ts +2 -0
  47. package/dist/cjs/api/resources/index.d.ts +8 -0
  48. package/dist/cjs/api/resources/index.js +9 -1
  49. package/dist/cjs/api/resources/orders/client/requests/CreateOrderRequest.d.ts +11 -7
  50. package/dist/cjs/api/resources/orders/client/requests/UpdateOrderRequest.d.ts +10 -7
  51. package/dist/cjs/api/resources/valueReceipts/client/Client.d.ts +75 -0
  52. package/dist/cjs/api/resources/valueReceipts/client/Client.js +347 -0
  53. package/dist/cjs/api/resources/valueReceipts/client/index.d.ts +1 -0
  54. package/dist/cjs/api/resources/valueReceipts/client/index.js +17 -0
  55. package/dist/cjs/api/resources/valueReceipts/client/requests/GetValueReceiptByIdRequest.d.ts +9 -0
  56. package/dist/cjs/api/resources/valueReceipts/client/requests/GetValueReceiptByIdRequest.js +3 -0
  57. package/dist/cjs/api/resources/valueReceipts/client/requests/ListValueReceiptsRequest.d.ts +10 -0
  58. package/dist/cjs/api/resources/valueReceipts/client/requests/ListValueReceiptsRequest.js +3 -0
  59. package/dist/cjs/api/resources/valueReceipts/client/requests/PublishValueReceiptBody.d.ts +10 -0
  60. package/dist/cjs/api/resources/valueReceipts/client/requests/PublishValueReceiptBody.js +3 -0
  61. package/dist/cjs/api/resources/valueReceipts/client/requests/UnpublishValueReceiptRequest.d.ts +9 -0
  62. package/dist/cjs/api/resources/valueReceipts/client/requests/UnpublishValueReceiptRequest.js +3 -0
  63. package/dist/cjs/api/resources/valueReceipts/client/requests/index.d.ts +4 -0
  64. package/dist/cjs/api/resources/valueReceipts/client/requests/index.js +2 -0
  65. package/dist/cjs/api/resources/valueReceipts/index.d.ts +1 -0
  66. package/dist/cjs/api/resources/valueReceipts/index.js +17 -0
  67. package/dist/cjs/api/types/Checkout.d.ts +19 -0
  68. package/dist/cjs/api/types/Checkout.js +3 -0
  69. package/dist/cjs/api/types/CheckoutListResponse.d.ts +5 -0
  70. package/dist/cjs/api/types/CheckoutListResponse.js +3 -0
  71. package/dist/cjs/api/types/CheckoutProduct.d.ts +3 -0
  72. package/dist/cjs/api/types/CheckoutProduct.js +3 -0
  73. package/dist/cjs/api/types/CheckoutProductInput.d.ts +3 -0
  74. package/dist/cjs/api/types/CheckoutProductInput.js +3 -0
  75. package/dist/cjs/api/types/CheckoutStatus.d.ts +7 -0
  76. package/dist/cjs/api/types/CheckoutStatus.js +10 -0
  77. package/dist/cjs/api/types/CreateOrderLineAttributeRequest.d.ts +116 -1
  78. package/dist/cjs/api/types/CreateOrderLineAttributeRequest.js +70 -0
  79. package/dist/cjs/api/types/CreateOrderLineRequest.d.ts +3 -3
  80. package/dist/cjs/api/types/CreditBalance.d.ts +19 -0
  81. package/dist/cjs/api/types/CreditBalance.js +11 -0
  82. package/dist/cjs/api/types/CreditBalanceListResponse.d.ts +4 -0
  83. package/dist/cjs/api/types/CreditBalanceListResponse.js +3 -0
  84. package/dist/cjs/api/types/CreditCurrency.d.ts +9 -0
  85. package/dist/cjs/api/types/CreditCurrency.js +3 -0
  86. package/dist/cjs/api/types/CreditCurrencyListResponse.d.ts +4 -0
  87. package/dist/cjs/api/types/CreditCurrencyListResponse.js +3 -0
  88. package/dist/cjs/api/types/CustomerPortal.d.ts +10 -0
  89. package/dist/cjs/api/types/CustomerPortal.js +3 -0
  90. package/dist/cjs/api/types/CustomerPortalStatus.d.ts +5 -0
  91. package/dist/cjs/api/types/CustomerPortalStatus.js +8 -0
  92. package/dist/cjs/api/types/Order.d.ts +3 -0
  93. package/dist/cjs/api/types/ValueReceiptDetail.d.ts +19 -0
  94. package/dist/cjs/api/types/ValueReceiptDetail.js +3 -0
  95. package/dist/cjs/api/types/ValueReceiptListResponse.d.ts +5 -0
  96. package/dist/cjs/api/types/ValueReceiptListResponse.js +3 -0
  97. package/dist/cjs/api/types/ValueReceiptSummary.d.ts +16 -0
  98. package/dist/cjs/api/types/ValueReceiptSummary.js +3 -0
  99. package/dist/cjs/api/types/index.d.ts +14 -0
  100. package/dist/cjs/api/types/index.js +14 -0
  101. package/dist/cjs/version.d.ts +1 -1
  102. package/dist/cjs/version.js +1 -1
  103. package/dist/esm/Client.d.mts +12 -0
  104. package/dist/esm/Client.mjs +22 -2
  105. package/dist/esm/api/resources/checkouts/client/Client.d.mts +84 -0
  106. package/dist/esm/api/resources/checkouts/client/Client.mjs +313 -0
  107. package/dist/esm/api/resources/checkouts/client/index.d.mts +1 -0
  108. package/dist/esm/api/resources/checkouts/client/index.mjs +1 -0
  109. package/dist/esm/api/resources/checkouts/client/requests/ArchiveCheckoutRequest.d.mts +9 -0
  110. package/dist/esm/api/resources/checkouts/client/requests/ArchiveCheckoutRequest.mjs +2 -0
  111. package/dist/esm/api/resources/checkouts/client/requests/CreateCheckoutRequest.d.mts +25 -0
  112. package/dist/esm/api/resources/checkouts/client/requests/CreateCheckoutRequest.mjs +2 -0
  113. package/dist/esm/api/resources/checkouts/client/requests/GetCheckoutRequest.d.mts +9 -0
  114. package/dist/esm/api/resources/checkouts/client/requests/GetCheckoutRequest.mjs +2 -0
  115. package/dist/esm/api/resources/checkouts/client/requests/ListCheckoutsRequest.d.mts +10 -0
  116. package/dist/esm/api/resources/checkouts/client/requests/ListCheckoutsRequest.mjs +2 -0
  117. package/dist/esm/api/resources/checkouts/client/requests/index.d.mts +4 -0
  118. package/dist/esm/api/resources/checkouts/client/requests/index.mjs +1 -0
  119. package/dist/esm/api/resources/checkouts/index.d.mts +2 -0
  120. package/dist/esm/api/resources/checkouts/index.mjs +2 -0
  121. package/dist/esm/api/resources/checkouts/types/ListCheckoutsRequestStatus.d.mts +6 -0
  122. package/dist/esm/api/resources/checkouts/types/ListCheckoutsRequestStatus.mjs +6 -0
  123. package/dist/esm/api/resources/checkouts/types/index.d.mts +1 -0
  124. package/dist/esm/api/resources/checkouts/types/index.mjs +1 -0
  125. package/dist/esm/api/resources/credits/client/Client.d.mts +27 -0
  126. package/dist/esm/api/resources/credits/client/Client.mjs +86 -0
  127. package/dist/esm/api/resources/credits/client/index.d.mts +1 -0
  128. package/dist/esm/api/resources/credits/client/index.mjs +1 -0
  129. package/dist/esm/api/resources/credits/index.d.mts +1 -0
  130. package/dist/esm/api/resources/credits/index.mjs +1 -0
  131. package/dist/esm/api/resources/customerPortals/client/Client.d.mts +30 -0
  132. package/dist/esm/api/resources/customerPortals/client/Client.mjs +96 -0
  133. package/dist/esm/api/resources/customerPortals/client/index.d.mts +1 -0
  134. package/dist/esm/api/resources/customerPortals/client/index.mjs +1 -0
  135. package/dist/esm/api/resources/customerPortals/client/requests/CreateCustomerPortalRequest.d.mts +12 -0
  136. package/dist/esm/api/resources/customerPortals/client/requests/CreateCustomerPortalRequest.mjs +2 -0
  137. package/dist/esm/api/resources/customerPortals/client/requests/index.d.mts +1 -0
  138. package/dist/esm/api/resources/customerPortals/client/requests/index.mjs +1 -0
  139. package/dist/esm/api/resources/customerPortals/index.d.mts +1 -0
  140. package/dist/esm/api/resources/customerPortals/index.mjs +1 -0
  141. package/dist/esm/api/resources/customers/client/Client.d.mts +36 -0
  142. package/dist/esm/api/resources/customers/client/Client.mjs +142 -0
  143. package/dist/esm/api/resources/customers/client/requests/GetCustomerCreditBalancesByExternalIdRequest.d.mts +9 -0
  144. package/dist/esm/api/resources/customers/client/requests/GetCustomerCreditBalancesByExternalIdRequest.mjs +2 -0
  145. package/dist/esm/api/resources/customers/client/requests/GetCustomerCreditBalancesRequest.d.mts +9 -0
  146. package/dist/esm/api/resources/customers/client/requests/GetCustomerCreditBalancesRequest.mjs +2 -0
  147. package/dist/esm/api/resources/customers/client/requests/index.d.mts +2 -0
  148. package/dist/esm/api/resources/index.d.mts +8 -0
  149. package/dist/esm/api/resources/index.mjs +8 -0
  150. package/dist/esm/api/resources/orders/client/requests/CreateOrderRequest.d.mts +11 -7
  151. package/dist/esm/api/resources/orders/client/requests/UpdateOrderRequest.d.mts +10 -7
  152. package/dist/esm/api/resources/valueReceipts/client/Client.d.mts +75 -0
  153. package/dist/esm/api/resources/valueReceipts/client/Client.mjs +310 -0
  154. package/dist/esm/api/resources/valueReceipts/client/index.d.mts +1 -0
  155. package/dist/esm/api/resources/valueReceipts/client/index.mjs +1 -0
  156. package/dist/esm/api/resources/valueReceipts/client/requests/GetValueReceiptByIdRequest.d.mts +9 -0
  157. package/dist/esm/api/resources/valueReceipts/client/requests/GetValueReceiptByIdRequest.mjs +2 -0
  158. package/dist/esm/api/resources/valueReceipts/client/requests/ListValueReceiptsRequest.d.mts +10 -0
  159. package/dist/esm/api/resources/valueReceipts/client/requests/ListValueReceiptsRequest.mjs +2 -0
  160. package/dist/esm/api/resources/valueReceipts/client/requests/PublishValueReceiptBody.d.mts +10 -0
  161. package/dist/esm/api/resources/valueReceipts/client/requests/PublishValueReceiptBody.mjs +2 -0
  162. package/dist/esm/api/resources/valueReceipts/client/requests/UnpublishValueReceiptRequest.d.mts +9 -0
  163. package/dist/esm/api/resources/valueReceipts/client/requests/UnpublishValueReceiptRequest.mjs +2 -0
  164. package/dist/esm/api/resources/valueReceipts/client/requests/index.d.mts +4 -0
  165. package/dist/esm/api/resources/valueReceipts/client/requests/index.mjs +1 -0
  166. package/dist/esm/api/resources/valueReceipts/index.d.mts +1 -0
  167. package/dist/esm/api/resources/valueReceipts/index.mjs +1 -0
  168. package/dist/esm/api/types/Checkout.d.mts +19 -0
  169. package/dist/esm/api/types/Checkout.mjs +2 -0
  170. package/dist/esm/api/types/CheckoutListResponse.d.mts +5 -0
  171. package/dist/esm/api/types/CheckoutListResponse.mjs +2 -0
  172. package/dist/esm/api/types/CheckoutProduct.d.mts +3 -0
  173. package/dist/esm/api/types/CheckoutProduct.mjs +2 -0
  174. package/dist/esm/api/types/CheckoutProductInput.d.mts +3 -0
  175. package/dist/esm/api/types/CheckoutProductInput.mjs +2 -0
  176. package/dist/esm/api/types/CheckoutStatus.d.mts +7 -0
  177. package/dist/esm/api/types/CheckoutStatus.mjs +7 -0
  178. package/dist/esm/api/types/CreateOrderLineAttributeRequest.d.mts +116 -1
  179. package/dist/esm/api/types/CreateOrderLineAttributeRequest.mjs +69 -1
  180. package/dist/esm/api/types/CreateOrderLineRequest.d.mts +3 -3
  181. package/dist/esm/api/types/CreditBalance.d.mts +19 -0
  182. package/dist/esm/api/types/CreditBalance.mjs +8 -0
  183. package/dist/esm/api/types/CreditBalanceListResponse.d.mts +4 -0
  184. package/dist/esm/api/types/CreditBalanceListResponse.mjs +2 -0
  185. package/dist/esm/api/types/CreditCurrency.d.mts +9 -0
  186. package/dist/esm/api/types/CreditCurrency.mjs +2 -0
  187. package/dist/esm/api/types/CreditCurrencyListResponse.d.mts +4 -0
  188. package/dist/esm/api/types/CreditCurrencyListResponse.mjs +2 -0
  189. package/dist/esm/api/types/CustomerPortal.d.mts +10 -0
  190. package/dist/esm/api/types/CustomerPortal.mjs +2 -0
  191. package/dist/esm/api/types/CustomerPortalStatus.d.mts +5 -0
  192. package/dist/esm/api/types/CustomerPortalStatus.mjs +5 -0
  193. package/dist/esm/api/types/Order.d.mts +3 -0
  194. package/dist/esm/api/types/ValueReceiptDetail.d.mts +19 -0
  195. package/dist/esm/api/types/ValueReceiptDetail.mjs +2 -0
  196. package/dist/esm/api/types/ValueReceiptListResponse.d.mts +5 -0
  197. package/dist/esm/api/types/ValueReceiptListResponse.mjs +2 -0
  198. package/dist/esm/api/types/ValueReceiptSummary.d.mts +16 -0
  199. package/dist/esm/api/types/ValueReceiptSummary.mjs +2 -0
  200. package/dist/esm/api/types/index.d.mts +14 -0
  201. package/dist/esm/api/types/index.mjs +14 -0
  202. package/dist/esm/version.d.mts +1 -1
  203. package/dist/esm/version.mjs +1 -1
  204. package/package.json +3 -3
  205. package/reference.md +771 -0
@@ -2,8 +2,8 @@ import type * as Paid from "../index.mjs";
2
2
  export interface CreateOrderLineRequest {
3
3
  productId: string;
4
4
  name?: string;
5
- description?: string | null;
6
- startDate?: string | null;
7
- endDate?: string | null;
5
+ description?: string;
6
+ startDate?: string;
7
+ endDate?: string;
8
8
  attributes?: Paid.CreateOrderLineAttributeRequest[];
9
9
  }
@@ -0,0 +1,19 @@
1
+ export interface CreditBalance {
2
+ creditsCurrencyId: string;
3
+ currencyName: string;
4
+ currencyKey: string;
5
+ available: number;
6
+ used: number;
7
+ total: number;
8
+ periodStart: string | null;
9
+ periodEnd: string | null;
10
+ rolloverEndDate: string | null;
11
+ recipient: CreditBalance.Recipient;
12
+ }
13
+ export declare namespace CreditBalance {
14
+ const Recipient: {
15
+ readonly Organization: "organization";
16
+ readonly Seat: "seat";
17
+ };
18
+ type Recipient = (typeof Recipient)[keyof typeof Recipient];
19
+ }
@@ -0,0 +1,8 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export var CreditBalance;
3
+ (function (CreditBalance) {
4
+ CreditBalance.Recipient = {
5
+ Organization: "organization",
6
+ Seat: "seat",
7
+ };
8
+ })(CreditBalance || (CreditBalance = {}));
@@ -0,0 +1,4 @@
1
+ import type * as Paid from "../index.mjs";
2
+ export interface CreditBalanceListResponse {
3
+ data: Paid.CreditBalance[];
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ export interface CreditCurrency {
2
+ id: string;
3
+ name: string;
4
+ key: string;
5
+ description: string | null;
6
+ archivedAt: string | null;
7
+ createdAt: string;
8
+ updatedAt: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as Paid from "../index.mjs";
2
+ export interface CreditCurrencyListResponse {
3
+ data: Paid.CreditCurrency[];
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ import type * as Paid from "../index.mjs";
2
+ export interface CustomerPortal {
3
+ id: string;
4
+ customerId: string;
5
+ url: string;
6
+ status: Paid.CustomerPortalStatus;
7
+ returnUrl: string | null;
8
+ expiresAt: string;
9
+ createdAt: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare const CustomerPortalStatus: {
2
+ readonly Active: "active";
3
+ readonly Expired: "expired";
4
+ };
5
+ export type CustomerPortalStatus = (typeof CustomerPortalStatus)[keyof typeof CustomerPortalStatus];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const CustomerPortalStatus = {
3
+ Active: "active",
4
+ Expired: "expired",
5
+ };
@@ -23,5 +23,8 @@ export interface Order {
23
23
  metadata: Record<string, unknown> | null;
24
24
  showPaymentLink: boolean | null;
25
25
  showBankDetails: boolean | null;
26
+ autoPostInvoices: boolean | null;
27
+ autoSendBillingEmails: boolean | null;
28
+ autoSendPaymentEmails: boolean | null;
26
29
  version: number;
27
30
  }
@@ -0,0 +1,19 @@
1
+ export interface ValueReceiptDetail {
2
+ id: string;
3
+ status: string;
4
+ publicUrlToken: string;
5
+ publicUrl: string;
6
+ isPublished: boolean;
7
+ customerId: string | null;
8
+ customerName: string | null;
9
+ customerExternalId: string | null;
10
+ orderId: string | null;
11
+ currency: string;
12
+ startDate: string | null;
13
+ endDate: string | null;
14
+ totalDeliveredValue: number | null;
15
+ createdAt: string;
16
+ publishedAt: string | null;
17
+ publishExpiresAt: string | null;
18
+ allowEmbed: boolean;
19
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ import type * as Paid from "../index.mjs";
2
+ export interface ValueReceiptListResponse {
3
+ data: Paid.ValueReceiptSummary[];
4
+ total: number;
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,16 @@
1
+ export interface ValueReceiptSummary {
2
+ id: string;
3
+ status: string;
4
+ publicUrlToken: string;
5
+ publicUrl: string;
6
+ isPublished: boolean;
7
+ customerId: string | null;
8
+ customerName: string | null;
9
+ customerExternalId: string | null;
10
+ orderId: string | null;
11
+ currency: string;
12
+ startDate: string | null;
13
+ endDate: string | null;
14
+ totalDeliveredValue: number | null;
15
+ createdAt: string;
16
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1,10 +1,19 @@
1
1
  export * from "./Attribution.mjs";
2
2
  export * from "./BulkSignalsResponse.mjs";
3
+ export * from "./Checkout.mjs";
4
+ export * from "./CheckoutListResponse.mjs";
5
+ export * from "./CheckoutProduct.mjs";
6
+ export * from "./CheckoutProductInput.mjs";
7
+ export * from "./CheckoutStatus.mjs";
3
8
  export * from "./Contact.mjs";
4
9
  export * from "./ContactBillingAddress.mjs";
5
10
  export * from "./ContactListResponse.mjs";
6
11
  export * from "./CreateOrderLineAttributeRequest.mjs";
7
12
  export * from "./CreateOrderLineRequest.mjs";
13
+ export * from "./CreditBalance.mjs";
14
+ export * from "./CreditBalanceListResponse.mjs";
15
+ export * from "./CreditCurrency.mjs";
16
+ export * from "./CreditCurrencyListResponse.mjs";
8
17
  export * from "./Customer.mjs";
9
18
  export * from "./CustomerAttribution.mjs";
10
19
  export * from "./CustomerBillingAddress.mjs";
@@ -12,6 +21,8 @@ export * from "./CustomerByExternalId.mjs";
12
21
  export * from "./CustomerById.mjs";
13
22
  export * from "./CustomerCreationState.mjs";
14
23
  export * from "./CustomerListResponse.mjs";
24
+ export * from "./CustomerPortal.mjs";
25
+ export * from "./CustomerPortalStatus.mjs";
15
26
  export * from "./EmptyResponse.mjs";
16
27
  export * from "./ErrorResponse.mjs";
17
28
  export * from "./Invoice.mjs";
@@ -32,3 +43,6 @@ export * from "./Signal.mjs";
32
43
  export * from "./UpdateContactRequest.mjs";
33
44
  export * from "./UpdateCustomerRequest.mjs";
34
45
  export * from "./UpdateProductRequest.mjs";
46
+ export * from "./ValueReceiptDetail.mjs";
47
+ export * from "./ValueReceiptListResponse.mjs";
48
+ export * from "./ValueReceiptSummary.mjs";
@@ -1,10 +1,19 @@
1
1
  export * from "./Attribution.mjs";
2
2
  export * from "./BulkSignalsResponse.mjs";
3
+ export * from "./Checkout.mjs";
4
+ export * from "./CheckoutListResponse.mjs";
5
+ export * from "./CheckoutProduct.mjs";
6
+ export * from "./CheckoutProductInput.mjs";
7
+ export * from "./CheckoutStatus.mjs";
3
8
  export * from "./Contact.mjs";
4
9
  export * from "./ContactBillingAddress.mjs";
5
10
  export * from "./ContactListResponse.mjs";
6
11
  export * from "./CreateOrderLineAttributeRequest.mjs";
7
12
  export * from "./CreateOrderLineRequest.mjs";
13
+ export * from "./CreditBalance.mjs";
14
+ export * from "./CreditBalanceListResponse.mjs";
15
+ export * from "./CreditCurrency.mjs";
16
+ export * from "./CreditCurrencyListResponse.mjs";
8
17
  export * from "./Customer.mjs";
9
18
  export * from "./CustomerAttribution.mjs";
10
19
  export * from "./CustomerBillingAddress.mjs";
@@ -12,6 +21,8 @@ export * from "./CustomerByExternalId.mjs";
12
21
  export * from "./CustomerById.mjs";
13
22
  export * from "./CustomerCreationState.mjs";
14
23
  export * from "./CustomerListResponse.mjs";
24
+ export * from "./CustomerPortal.mjs";
25
+ export * from "./CustomerPortalStatus.mjs";
15
26
  export * from "./EmptyResponse.mjs";
16
27
  export * from "./ErrorResponse.mjs";
17
28
  export * from "./Invoice.mjs";
@@ -32,3 +43,6 @@ export * from "./Signal.mjs";
32
43
  export * from "./UpdateContactRequest.mjs";
33
44
  export * from "./UpdateCustomerRequest.mjs";
34
45
  export * from "./UpdateProductRequest.mjs";
46
+ export * from "./ValueReceiptDetail.mjs";
47
+ export * from "./ValueReceiptListResponse.mjs";
48
+ export * from "./ValueReceiptSummary.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.0";
1
+ export declare const SDK_VERSION = "1.2.1";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.1.0";
1
+ export const SDK_VERSION = "1.2.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paid-ai/paid-node",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
4
4
  "private": false,
5
5
  "repository": "github:paid-ai/paid-node",
6
6
  "type": "commonjs",
@@ -146,7 +146,7 @@
146
146
  "@ai-sdk/openai": ">=1.0.0",
147
147
  "@anthropic-ai/sdk": ">=0.36.3",
148
148
  "@langchain/core": ">=0.3.0",
149
- "@mistralai/mistralai": ">=1.0.0",
149
+ "@mistralai/mistralai": ">=1.0.0 <2.0.0",
150
150
  "ai": ">=5.0.0",
151
151
  "openai": ">=4.85.4"
152
152
  },
@@ -181,7 +181,7 @@
181
181
  "@ai-sdk/openai": ">=1.0.0",
182
182
  "@anthropic-ai/sdk": ">=0.36.3",
183
183
  "@langchain/core": ">=0.3.0",
184
- "@mistralai/mistralai": ">=1.0.0",
184
+ "@mistralai/mistralai": ">=1.0.0 <2.0.0",
185
185
  "ai": ">=5.0.0",
186
186
  "openai": ">=4.85.4",
187
187
  "nock": ">=14.0.0",