dodopayments 2.48.0 → 2.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/bin/migration-config.json +70 -0
  3. package/client.d.mts +7 -4
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +7 -4
  6. package/client.d.ts.map +1 -1
  7. package/client.js +3 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +3 -0
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/balances.d.mts +3 -2
  13. package/resources/balances.d.mts.map +1 -1
  14. package/resources/balances.d.ts +3 -2
  15. package/resources/balances.d.ts.map +1 -1
  16. package/resources/blocklist/blocklist.d.mts +10 -0
  17. package/resources/blocklist/blocklist.d.mts.map +1 -0
  18. package/resources/blocklist/blocklist.d.ts +10 -0
  19. package/resources/blocklist/blocklist.d.ts.map +1 -0
  20. package/resources/blocklist/blocklist.js +17 -0
  21. package/resources/blocklist/blocklist.js.map +1 -0
  22. package/resources/blocklist/blocklist.mjs +12 -0
  23. package/resources/blocklist/blocklist.mjs.map +1 -0
  24. package/resources/blocklist/customers/customers.d.mts +161 -0
  25. package/resources/blocklist/customers/customers.d.mts.map +1 -0
  26. package/resources/blocklist/customers/customers.d.ts +161 -0
  27. package/resources/blocklist/customers/customers.d.ts.map +1 -0
  28. package/resources/blocklist/customers/customers.js +38 -0
  29. package/resources/blocklist/customers/customers.js.map +1 -0
  30. package/resources/blocklist/customers/customers.mjs +33 -0
  31. package/resources/blocklist/customers/customers.mjs.map +1 -0
  32. package/resources/blocklist/customers/index.d.mts +3 -0
  33. package/resources/blocklist/customers/index.d.mts.map +1 -0
  34. package/resources/blocklist/customers/index.d.ts +3 -0
  35. package/resources/blocklist/customers/index.d.ts.map +1 -0
  36. package/resources/blocklist/customers/index.js +9 -0
  37. package/resources/blocklist/customers/index.js.map +1 -0
  38. package/resources/blocklist/customers/index.mjs +4 -0
  39. package/resources/blocklist/customers/index.mjs.map +1 -0
  40. package/resources/blocklist/customers/notes.d.mts +34 -0
  41. package/resources/blocklist/customers/notes.d.mts.map +1 -0
  42. package/resources/blocklist/customers/notes.d.ts +34 -0
  43. package/resources/blocklist/customers/notes.d.ts.map +1 -0
  44. package/resources/blocklist/customers/notes.js +17 -0
  45. package/resources/blocklist/customers/notes.js.map +1 -0
  46. package/resources/blocklist/customers/notes.mjs +13 -0
  47. package/resources/blocklist/customers/notes.mjs.map +1 -0
  48. package/resources/blocklist/customers.d.mts +2 -0
  49. package/resources/blocklist/customers.d.mts.map +1 -0
  50. package/resources/blocklist/customers.d.ts +2 -0
  51. package/resources/blocklist/customers.d.ts.map +1 -0
  52. package/resources/blocklist/customers.js +6 -0
  53. package/resources/blocklist/customers.js.map +1 -0
  54. package/resources/blocklist/customers.mjs +3 -0
  55. package/resources/blocklist/customers.mjs.map +1 -0
  56. package/resources/blocklist/index.d.mts +3 -0
  57. package/resources/blocklist/index.d.mts.map +1 -0
  58. package/resources/blocklist/index.d.ts +3 -0
  59. package/resources/blocklist/index.d.ts.map +1 -0
  60. package/resources/blocklist/index.js +9 -0
  61. package/resources/blocklist/index.js.map +1 -0
  62. package/resources/blocklist/index.mjs +4 -0
  63. package/resources/blocklist/index.mjs.map +1 -0
  64. package/resources/blocklist.d.mts +2 -0
  65. package/resources/blocklist.d.mts.map +1 -0
  66. package/resources/blocklist.d.ts +2 -0
  67. package/resources/blocklist.d.ts.map +1 -0
  68. package/resources/blocklist.js +6 -0
  69. package/resources/blocklist.js.map +1 -0
  70. package/resources/blocklist.mjs +3 -0
  71. package/resources/blocklist.mjs.map +1 -0
  72. package/resources/checkout-sessions.d.mts +5 -0
  73. package/resources/checkout-sessions.d.mts.map +1 -1
  74. package/resources/checkout-sessions.d.ts +5 -0
  75. package/resources/checkout-sessions.d.ts.map +1 -1
  76. package/resources/credit-entitlements/balances.d.mts +7 -4
  77. package/resources/credit-entitlements/balances.d.mts.map +1 -1
  78. package/resources/credit-entitlements/balances.d.ts +7 -4
  79. package/resources/credit-entitlements/balances.d.ts.map +1 -1
  80. package/resources/credit-entitlements/balances.js +1 -0
  81. package/resources/credit-entitlements/balances.js.map +1 -1
  82. package/resources/credit-entitlements/balances.mjs +1 -0
  83. package/resources/credit-entitlements/balances.mjs.map +1 -1
  84. package/resources/customers/customers.d.mts +14 -0
  85. package/resources/customers/customers.d.mts.map +1 -1
  86. package/resources/customers/customers.d.ts +14 -0
  87. package/resources/customers/customers.d.ts.map +1 -1
  88. package/resources/customers/customers.js +4 -0
  89. package/resources/customers/customers.js.map +1 -1
  90. package/resources/customers/customers.mjs +4 -0
  91. package/resources/customers/customers.mjs.map +1 -1
  92. package/resources/customers/emails.d.mts +169 -0
  93. package/resources/customers/emails.d.mts.map +1 -0
  94. package/resources/customers/emails.d.ts +169 -0
  95. package/resources/customers/emails.d.ts.map +1 -0
  96. package/resources/customers/emails.js +48 -0
  97. package/resources/customers/emails.js.map +1 -0
  98. package/resources/customers/emails.mjs +44 -0
  99. package/resources/customers/emails.mjs.map +1 -0
  100. package/resources/customers/index.d.mts +1 -0
  101. package/resources/customers/index.d.mts.map +1 -1
  102. package/resources/customers/index.d.ts +1 -0
  103. package/resources/customers/index.d.ts.map +1 -1
  104. package/resources/customers/index.js +3 -1
  105. package/resources/customers/index.js.map +1 -1
  106. package/resources/customers/index.mjs +1 -0
  107. package/resources/customers/index.mjs.map +1 -1
  108. package/resources/index.d.mts +3 -2
  109. package/resources/index.d.mts.map +1 -1
  110. package/resources/index.d.ts +3 -2
  111. package/resources/index.d.ts.map +1 -1
  112. package/resources/index.js +3 -1
  113. package/resources/index.js.map +1 -1
  114. package/resources/index.mjs +1 -0
  115. package/resources/index.mjs.map +1 -1
  116. package/resources/payments.d.mts +64 -1
  117. package/resources/payments.d.mts.map +1 -1
  118. package/resources/payments.d.ts +64 -1
  119. package/resources/payments.d.ts.map +1 -1
  120. package/resources/payments.js +21 -0
  121. package/resources/payments.js.map +1 -1
  122. package/resources/payments.mjs +21 -0
  123. package/resources/payments.mjs.map +1 -1
  124. package/resources/products/products.d.mts +54 -13
  125. package/resources/products/products.d.mts.map +1 -1
  126. package/resources/products/products.d.ts +54 -13
  127. package/resources/products/products.d.ts.map +1 -1
  128. package/resources/products/products.js +0 -1
  129. package/resources/products/products.js.map +1 -1
  130. package/resources/products/products.mjs +0 -1
  131. package/resources/products/products.mjs.map +1 -1
  132. package/resources/subscriptions.d.mts +18 -3
  133. package/resources/subscriptions.d.mts.map +1 -1
  134. package/resources/subscriptions.d.ts +18 -3
  135. package/resources/subscriptions.d.ts.map +1 -1
  136. package/resources/webhook-events.d.mts +12 -2
  137. package/resources/webhook-events.d.mts.map +1 -1
  138. package/resources/webhook-events.d.ts +12 -2
  139. package/resources/webhook-events.d.ts.map +1 -1
  140. package/resources/webhooks/index.d.mts +1 -1
  141. package/resources/webhooks/index.d.mts.map +1 -1
  142. package/resources/webhooks/index.d.ts +1 -1
  143. package/resources/webhooks/index.d.ts.map +1 -1
  144. package/resources/webhooks/index.js.map +1 -1
  145. package/resources/webhooks/index.mjs.map +1 -1
  146. package/resources/webhooks/webhooks.d.mts +543 -51
  147. package/resources/webhooks/webhooks.d.mts.map +1 -1
  148. package/resources/webhooks/webhooks.d.ts +543 -51
  149. package/resources/webhooks/webhooks.d.ts.map +1 -1
  150. package/resources/webhooks/webhooks.js.map +1 -1
  151. package/resources/webhooks/webhooks.mjs.map +1 -1
  152. package/src/client.ts +11 -0
  153. package/src/resources/balances.ts +8 -2
  154. package/src/resources/blocklist/blocklist.ts +37 -0
  155. package/src/resources/blocklist/customers/customers.ts +254 -0
  156. package/src/resources/blocklist/customers/index.ts +21 -0
  157. package/src/resources/blocklist/customers/notes.ts +62 -0
  158. package/src/resources/blocklist/customers.ts +3 -0
  159. package/src/resources/blocklist/index.ts +15 -0
  160. package/src/resources/blocklist.ts +3 -0
  161. package/src/resources/checkout-sessions.ts +6 -0
  162. package/src/resources/credit-entitlements/balances.ts +8 -4
  163. package/src/resources/customers/customers.ts +38 -0
  164. package/src/resources/customers/emails.ts +238 -0
  165. package/src/resources/customers/index.ts +11 -0
  166. package/src/resources/index.ts +4 -0
  167. package/src/resources/payments.ts +84 -0
  168. package/src/resources/products/products.ts +62 -16
  169. package/src/resources/subscriptions.ts +22 -2
  170. package/src/resources/webhook-events.ts +13 -1
  171. package/src/resources/webhooks/index.ts +1 -0
  172. package/src/resources/webhooks/webhooks.ts +575 -48
  173. package/src/version.ts +1 -1
  174. package/version.d.mts +1 -1
  175. package/version.d.ts +1 -1
  176. package/version.js +1 -1
  177. package/version.mjs +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emails.d.mts","sourceRoot":"","sources":["../../src/resources/customers/emails.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ,kCAA8B;AAC/B,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,UAAU,EAAE,MAAM,EAClB,KAAK,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,wCAAwC,EAAE,YAAY,CAAC;IAQtE;;;;;;;;;;;;;;OAcG;IACH,YAAY,CACV,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,SAAS,CAAC;CAIzB;AAED,MAAM,MAAM,wCAAwC,GAAG,2BAA2B,CAAC,YAAY,CAAC,CAAC;AAEjG,MAAM,WAAW,SAAS;IACxB;;;;;OAKG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,YAAY,CAAC,EAAE,gBAAgB,GAA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AA0B,EAAE,OAAO,CAAC;IAEpC;;OAEG;IACH,cAAc,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,eAAgB,SAAQ,iCAAiC;CAAG;AAE7E,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -0,0 +1,169 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { DefaultPageNumberPagination, type DefaultPageNumberPaginationParams, PagePromise } from "../../core/pagination.js";
4
+ import { RequestOptions } from "../../internal/request-options.js";
5
+ export declare class Emails extends APIResource {
6
+ /**
7
+ * Returns every transactional email sent to this customer in the last 180 days,
8
+ * newest first, with its delivery outcome. Delivery status comes from the email
9
+ * provider and is as fresh as replication, typically seconds.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * // Automatically fetches more pages as needed.
14
+ * for await (const emailLogItem of client.customers.emails.list(
15
+ * 'customer_id',
16
+ * )) {
17
+ * // ...
18
+ * }
19
+ * ```
20
+ */
21
+ list(customerID: string, query?: EmailListParams | null | undefined, options?: RequestOptions): PagePromise<EmailLogItemsDefaultPageNumberPagination, EmailLogItem>;
22
+ /**
23
+ * Returns the email exactly as it was sent, plus the reason it failed when it did.
24
+ * Some emails have no body to show: an authentication email carries a live login
25
+ * token, a blocked email never reached the provider, and the provider clears
26
+ * bodies at 180 days.
27
+ *
28
+ * @example
29
+ * ```ts
30
+ * const emailBody =
31
+ * await client.customers.emails.retrieveBody(
32
+ * 'email_log_id',
33
+ * { customer_id: 'customer_id' },
34
+ * );
35
+ * ```
36
+ */
37
+ retrieveBody(emailLogID: string, params: EmailRetrieveBodyParams, options?: RequestOptions): APIPromise<EmailBody>;
38
+ }
39
+ export type EmailLogItemsDefaultPageNumberPagination = DefaultPageNumberPagination<EmailLogItem>;
40
+ export interface EmailBody {
41
+ /**
42
+ * Whether the merchant wrote this content. It is true for the recovery and dunning
43
+ * emails, which the merchant writes.
44
+ *
45
+ * The content is email HTML. Render it in a sandbox, whatever this value is.
46
+ */
47
+ merchant_authored: boolean;
48
+ /**
49
+ * Why the email did not arrive. It is null unless the email failed.
50
+ */
51
+ failure_code?: EmailFailureCode | null;
52
+ /**
53
+ * A sentence that explains `failure_code`. It is null unless the email failed.
54
+ */
55
+ failure_reason?: string | null;
56
+ /**
57
+ * The stored HTML. It is null on a text-only email.
58
+ */
59
+ html?: string | null;
60
+ /**
61
+ * The stored plain text.
62
+ */
63
+ text?: string | null;
64
+ }
65
+ /**
66
+ * Why an email did not reach the recipient.
67
+ *
68
+ * The code is stable. `send_failed` is the catch-all: it covers every failure that
69
+ * the other codes do not name.
70
+ */
71
+ export type EmailFailureCode = 'mailbox_not_found' | 'address_rejected' | 'address_suppressed' | 'mailbox_full' | 'temporary_failure' | 'message_too_large' | 'marked_as_spam' | 'send_failed';
72
+ export interface EmailLogItem {
73
+ /**
74
+ * The group this email belongs to: payments, refunds, subscriptions,
75
+ * dunning_recovery, entitlements or auth.
76
+ */
77
+ category: string;
78
+ /**
79
+ * When this email was sent.
80
+ */
81
+ created_at: string;
82
+ /**
83
+ * Identifies this email. Use it to read the body or to send it again.
84
+ */
85
+ email_log_id: string;
86
+ /**
87
+ * What kind of email this is, for example `payment_successful`.
88
+ */
89
+ email_type: string;
90
+ /**
91
+ * Whether this email has content to show. The content endpoint can still refuse,
92
+ * because the content is removed after 180 days.
93
+ */
94
+ has_preview: boolean;
95
+ /**
96
+ * What you may do with this email.
97
+ */
98
+ policies: EmailPolicies;
99
+ /**
100
+ * Where the email got to: sent, delivered, failed, complained or blocked.
101
+ */
102
+ status: EmailLogStatus;
103
+ /**
104
+ * Why the email did not arrive. It is null unless the email failed.
105
+ */
106
+ failure_code?: EmailFailureCode | null;
107
+ /**
108
+ * A sentence that explains `failure_code`. It is null unless the email failed.
109
+ */
110
+ failure_reason?: string | null;
111
+ /**
112
+ * The address the email was sent from.
113
+ */
114
+ from?: string | null;
115
+ /**
116
+ * What the merchant typed, when test mode redirected the send to the business
117
+ * owner.
118
+ */
119
+ intended_recipient?: string | null;
120
+ /**
121
+ * The address the email reached.
122
+ */
123
+ recipient?: string | null;
124
+ /**
125
+ * The subject line as it was sent. Empty until the provider replicates.
126
+ */
127
+ subject?: string | null;
128
+ }
129
+ /**
130
+ * The delivery status of one email.
131
+ *
132
+ * `sent` also covers an email that is still on its way. A status only becomes
133
+ * `delivered`, `failed` or `complained` when the mail server answers.
134
+ */
135
+ export type EmailLogStatus = 'sent' | 'delivered' | 'failed' | 'complained' | 'blocked';
136
+ /**
137
+ * What the merchant may do with one row. The server decides; the client never
138
+ * derives eligibility itself.
139
+ */
140
+ export interface EmailPolicies {
141
+ /**
142
+ * A permanent failure was recorded, so the same address would be a no-op.
143
+ */
144
+ requires_different_address: boolean;
145
+ /**
146
+ * The row was delivered and may be sent again.
147
+ */
148
+ resend_allowed: boolean;
149
+ /**
150
+ * How many sends are left in this email's chain.
151
+ */
152
+ resends_remaining: number;
153
+ /**
154
+ * The row failed and may be sent again.
155
+ */
156
+ retry_allowed: boolean;
157
+ }
158
+ export interface EmailListParams extends DefaultPageNumberPaginationParams {
159
+ }
160
+ export interface EmailRetrieveBodyParams {
161
+ /**
162
+ * The customer's id
163
+ */
164
+ customer_id: string;
165
+ }
166
+ export declare namespace Emails {
167
+ export { type EmailBody as EmailBody, type EmailFailureCode as EmailFailureCode, type EmailLogItem as EmailLogItem, type EmailLogStatus as EmailLogStatus, type EmailPolicies as EmailPolicies, type EmailLogItemsDefaultPageNumberPagination as EmailLogItemsDefaultPageNumberPagination, type EmailListParams as EmailListParams, type EmailRetrieveBodyParams as EmailRetrieveBodyParams, };
168
+ }
169
+ //# sourceMappingURL=emails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emails.d.ts","sourceRoot":"","sources":["../../src/resources/customers/emails.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ,iCAA8B;AAC/B,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,UAAU,EAAE,MAAM,EAClB,KAAK,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,wCAAwC,EAAE,YAAY,CAAC;IAQtE;;;;;;;;;;;;;;OAcG;IACH,YAAY,CACV,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,SAAS,CAAC;CAIzB;AAED,MAAM,MAAM,wCAAwC,GAAG,2BAA2B,CAAC,YAAY,CAAC,CAAC;AAEjG,MAAM,WAAW,SAAS;IACxB;;;;;OAKG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,YAAY,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAEvC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB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,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,eAAgB,SAAQ,iCAAiC;CAAG;AAE7E,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Emails = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const pagination_1 = require("../../core/pagination.js");
7
+ const path_1 = require("../../internal/utils/path.js");
8
+ class Emails extends resource_1.APIResource {
9
+ /**
10
+ * Returns every transactional email sent to this customer in the last 180 days,
11
+ * newest first, with its delivery outcome. Delivery status comes from the email
12
+ * provider and is as fresh as replication, typically seconds.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * // Automatically fetches more pages as needed.
17
+ * for await (const emailLogItem of client.customers.emails.list(
18
+ * 'customer_id',
19
+ * )) {
20
+ * // ...
21
+ * }
22
+ * ```
23
+ */
24
+ list(customerID, query = {}, options) {
25
+ return this._client.getAPIList((0, path_1.path) `/customers/${customerID}/emails`, (pagination_1.DefaultPageNumberPagination), { query, ...options });
26
+ }
27
+ /**
28
+ * Returns the email exactly as it was sent, plus the reason it failed when it did.
29
+ * Some emails have no body to show: an authentication email carries a live login
30
+ * token, a blocked email never reached the provider, and the provider clears
31
+ * bodies at 180 days.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const emailBody =
36
+ * await client.customers.emails.retrieveBody(
37
+ * 'email_log_id',
38
+ * { customer_id: 'customer_id' },
39
+ * );
40
+ * ```
41
+ */
42
+ retrieveBody(emailLogID, params, options) {
43
+ const { customer_id } = params;
44
+ return this._client.get((0, path_1.path) `/customers/${customer_id}/emails/${emailLogID}/body`, options);
45
+ }
46
+ }
47
+ exports.Emails = Emails;
48
+ //# sourceMappingURL=emails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emails.js","sourceRoot":"","sources":["../../src/resources/customers/emails.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAI+B;AAE/B,uDAAiD;AAEjD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,UAAkB,EAClB,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,cAAc,UAAU,SAAS,EACrC,CAAA,wCAAyC,CAAA,EACzC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,YAAY,CACV,UAAkB,EAClB,MAA+B,EAC/B,OAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,cAAc,WAAW,WAAW,UAAU,OAAO,EAAE,OAAO,CAAC,CAAC;IAC9F,CAAC;CACF;AAnDD,wBAmDC"}
@@ -0,0 +1,44 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { DefaultPageNumberPagination, } from "../../core/pagination.mjs";
4
+ import { path } from "../../internal/utils/path.mjs";
5
+ export class Emails extends APIResource {
6
+ /**
7
+ * Returns every transactional email sent to this customer in the last 180 days,
8
+ * newest first, with its delivery outcome. Delivery status comes from the email
9
+ * provider and is as fresh as replication, typically seconds.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * // Automatically fetches more pages as needed.
14
+ * for await (const emailLogItem of client.customers.emails.list(
15
+ * 'customer_id',
16
+ * )) {
17
+ * // ...
18
+ * }
19
+ * ```
20
+ */
21
+ list(customerID, query = {}, options) {
22
+ return this._client.getAPIList(path `/customers/${customerID}/emails`, (DefaultPageNumberPagination), { query, ...options });
23
+ }
24
+ /**
25
+ * Returns the email exactly as it was sent, plus the reason it failed when it did.
26
+ * Some emails have no body to show: an authentication email carries a live login
27
+ * token, a blocked email never reached the provider, and the provider clears
28
+ * bodies at 180 days.
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * const emailBody =
33
+ * await client.customers.emails.retrieveBody(
34
+ * 'email_log_id',
35
+ * { customer_id: 'customer_id' },
36
+ * );
37
+ * ```
38
+ */
39
+ retrieveBody(emailLogID, params, options) {
40
+ const { customer_id } = params;
41
+ return this._client.get(path `/customers/${customer_id}/emails/${emailLogID}/body`, options);
42
+ }
43
+ }
44
+ //# sourceMappingURL=emails.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emails.mjs","sourceRoot":"","sources":["../../src/resources/customers/emails.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EACL,2BAA2B,GAG5B,kCAA8B;AAE/B,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,UAAkB,EAClB,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,cAAc,UAAU,SAAS,EACrC,CAAA,2BAAyC,CAAA,EACzC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,YAAY,CACV,UAAkB,EAClB,MAA+B,EAC/B,OAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,cAAc,WAAW,WAAW,UAAU,OAAO,EAAE,OAAO,CAAC,CAAC;IAC9F,CAAC;CACF"}
@@ -1,4 +1,5 @@
1
1
  export { CustomerPortal, type CustomerPortalCreateParams } from "./customer-portal.mjs";
2
2
  export { Customers, type Customer, type CustomerPortalSession, type CustomerListCreditEntitlementsResponse, type CustomerListEntitlementsResponse, type CustomerRetrievePaymentMethodsResponse, type CustomerListParams, type CustomerCreateParams, type CustomerUpdateParams, type CustomerDeletePaymentMethodParams, type CustomerListEntitlementGrantsParams, type CustomersDefaultPageNumberPagination, } from "./customers.mjs";
3
+ export { Emails, type EmailBody, type EmailFailureCode, type EmailLogItem, type EmailLogStatus, type EmailPolicies, type EmailListParams, type EmailRetrieveBodyParams, type EmailLogItemsDefaultPageNumberPagination, } from "./emails.mjs";
3
4
  export { Wallets, type CustomerWallet, type WalletListResponse } from "./wallets/index.mjs";
4
5
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,KAAK,0BAA0B,EAAE,8BAA0B;AACpF,OAAO,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,sCAAsC,EAC3C,KAAK,gCAAgC,EACrC,KAAK,sCAAsC,EAC3C,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,GAC1C,wBAAoB;AACrB,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,kBAAkB,EAAE,4BAAwB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,KAAK,0BAA0B,EAAE,8BAA0B;AACpF,OAAO,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,sCAAsC,EAC3C,KAAK,gCAAgC,EACrC,KAAK,sCAAsC,EAC3C,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,GAC1C,wBAAoB;AACrB,OAAO,EACL,MAAM,EACN,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,wCAAwC,GAC9C,qBAAiB;AAClB,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,kBAAkB,EAAE,4BAAwB"}
@@ -1,4 +1,5 @@
1
1
  export { CustomerPortal, type CustomerPortalCreateParams } from "./customer-portal.js";
2
2
  export { Customers, type Customer, type CustomerPortalSession, type CustomerListCreditEntitlementsResponse, type CustomerListEntitlementsResponse, type CustomerRetrievePaymentMethodsResponse, type CustomerListParams, type CustomerCreateParams, type CustomerUpdateParams, type CustomerDeletePaymentMethodParams, type CustomerListEntitlementGrantsParams, type CustomersDefaultPageNumberPagination, } from "./customers.js";
3
+ export { Emails, type EmailBody, type EmailFailureCode, type EmailLogItem, type EmailLogStatus, type EmailPolicies, type EmailListParams, type EmailRetrieveBodyParams, type EmailLogItemsDefaultPageNumberPagination, } from "./emails.js";
3
4
  export { Wallets, type CustomerWallet, type WalletListResponse } from "./wallets/index.js";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,KAAK,0BAA0B,EAAE,6BAA0B;AACpF,OAAO,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,sCAAsC,EAC3C,KAAK,gCAAgC,EACrC,KAAK,sCAAsC,EAC3C,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,GAC1C,uBAAoB;AACrB,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,kBAAkB,EAAE,2BAAwB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,KAAK,0BAA0B,EAAE,6BAA0B;AACpF,OAAO,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,sCAAsC,EAC3C,KAAK,gCAAgC,EACrC,KAAK,sCAAsC,EAC3C,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,GAC1C,uBAAoB;AACrB,OAAO,EACL,MAAM,EACN,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,wCAAwC,GAC9C,oBAAiB;AAClB,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,kBAAkB,EAAE,2BAAwB"}
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Wallets = exports.Customers = exports.CustomerPortal = void 0;
4
+ exports.Wallets = exports.Emails = exports.Customers = exports.CustomerPortal = void 0;
5
5
  var customer_portal_1 = require("./customer-portal.js");
6
6
  Object.defineProperty(exports, "CustomerPortal", { enumerable: true, get: function () { return customer_portal_1.CustomerPortal; } });
7
7
  var customers_1 = require("./customers.js");
8
8
  Object.defineProperty(exports, "Customers", { enumerable: true, get: function () { return customers_1.Customers; } });
9
+ var emails_1 = require("./emails.js");
10
+ Object.defineProperty(exports, "Emails", { enumerable: true, get: function () { return emails_1.Emails; } });
9
11
  var index_1 = require("./wallets/index.js");
10
12
  Object.defineProperty(exports, "Wallets", { enumerable: true, get: function () { return index_1.Wallets; } });
11
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAoF;AAA3E,iHAAA,cAAc,OAAA;AACvB,4CAaqB;AAZnB,sGAAA,SAAS,OAAA;AAaX,4CAAwF;AAA/E,gGAAA,OAAO,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAoF;AAA3E,iHAAA,cAAc,OAAA;AACvB,4CAaqB;AAZnB,sGAAA,SAAS,OAAA;AAaX,sCAUkB;AAThB,gGAAA,MAAM,OAAA;AAUR,4CAAwF;AAA/E,gGAAA,OAAO,OAAA"}
@@ -1,5 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { CustomerPortal } from "./customer-portal.mjs";
3
3
  export { Customers, } from "./customers.mjs";
4
+ export { Emails, } from "./emails.mjs";
4
5
  export { Wallets } from "./wallets/index.mjs";
5
6
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,cAAc,EAAmC,8BAA0B;AACpF,OAAO,EACL,SAAS,GAYV,wBAAoB;AACrB,OAAO,EAAE,OAAO,EAAgD,4BAAwB"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,cAAc,EAAmC,8BAA0B;AACpF,OAAO,EACL,SAAS,GAYV,wBAAoB;AACrB,OAAO,EACL,MAAM,GASP,qBAAiB;AAClB,OAAO,EAAE,OAAO,EAAgD,4BAAwB"}
@@ -1,5 +1,6 @@
1
1
  export { Addons, type AddonResponse, type AddonUpdateImagesResponse, type AddonListParams, type AddonCreateParams, type AddonUpdateParams, type AddonResponsesDefaultPageNumberPagination, } from "./addons.mjs";
2
2
  export { Balances, type BalanceLedgerEntry, type BalanceRetrieveLedgerParams, type BalanceLedgerEntriesDefaultPageNumberPagination, } from "./balances.mjs";
3
+ export { Blocklist } from "./blocklist/blocklist.mjs";
3
4
  export { Brands, type Brand, type BrandListResponse, type BrandArchiveResponse, type BrandUpdateImagesResponse, type BrandListParams, type BrandCreateParams, type BrandUpdateParams, type BrandArchiveParams, } from "./brands.mjs";
4
5
  export { CheckoutSessions, type CheckoutSessionBillingAddress, type CheckoutSessionCustomization, type CheckoutSessionFlags, type CheckoutSessionRequest, type CheckoutSessionResponse, type CheckoutSessionStatus, type CustomField, type ProductItemReq, type SubscriptionData, type ThemeConfig, type ThemeModeConfig, type CheckoutSessionPreviewResponse, type CheckoutSessionCreateParams, type CheckoutSessionPreviewParams, } from "./checkout-sessions.mjs";
5
6
  export { CreditEntitlements, type CbbOverageBehavior, type CreditEntitlement, type CreditEntitlementListParams, type CreditEntitlementCreateParams, type CreditEntitlementUpdateParams, type CreditEntitlementsDefaultPageNumberPagination, } from "./credit-entitlements/credit-entitlements.mjs";
@@ -13,7 +14,7 @@ export { LicenseKeys, type LicenseKey, type LicenseKeyStatus, type LicenseKeyLis
13
14
  export { Licenses, type LicenseActivateResponse, type LicenseValidateResponse, type LicenseActivateParams, type LicenseDeactivateParams, type LicenseValidateParams, } from "./licenses.mjs";
14
15
  export { Meters, type Conjunction, type FilterOperator, type FilterType, type Meter, type MeterAggregation, type MeterFilter, type MeterListParams, type MeterCreateParams, type MetersDefaultPageNumberPagination, } from "./meters.mjs";
15
16
  export { Misc, type CountryCode, type Currency, type Metadata, type TaxCategory, type MiscListSupportedCountriesResponse, } from "./misc.mjs";
16
- export { Payments, type AttachExistingCustomer, type BillingAddress, type CreateNewCustomer, type CustomFieldResponse, type CustomerLimitedDetails, type CustomerRequest, type IntentStatus, type NewCustomer, type OneTimeProductCartItem, type Payment, type PaymentMethodTypes, type PaymentRefundStatus, type RefundListItem, type PaymentCreateResponse, type PaymentListResponse, type PaymentRetrieveLineItemsResponse, type PaymentListParams, type PaymentCreateParams, type RefundListItemsDefaultPageNumberPagination, type PaymentListResponsesDefaultPageNumberPagination, } from "./payments.mjs";
17
+ export { Payments, type AttachExistingCustomer, type BillingAddress, type CreateNewCustomer, type CustomFieldResponse, type CustomerLimitedDetails, type CustomerRequest, type IntentStatus, type ManualRetry, type ManualRetryState, type NewCustomer, type OneTimeProductCartItem, type Payment, type PaymentMethodTypes, type PaymentRefundStatus, type RefundListItem, type PaymentCreateResponse, type PaymentListResponse, type PaymentRetrieveLineItemsResponse, type PaymentListParams, type PaymentCreateParams, type RefundListItemsDefaultPageNumberPagination, type PaymentListResponsesDefaultPageNumberPagination, } from "./payments.mjs";
17
18
  export { Payouts, type PayoutListResponse, type PayoutListParams, type PayoutListResponsesDefaultPageNumberPagination, } from "./payouts/payouts.mjs";
18
19
  export { ProductCollections, type ProductCollection, type ProductCollectionListResponse, type ProductCollectionUnarchiveResponse, type ProductCollectionUpdateImagesResponse, type ProductCollectionListParams, type ProductCollectionCreateParams, type ProductCollectionUpdateParams, type ProductCollectionUpdateImagesParams, type ProductCollectionListResponsesDefaultPageNumberPagination, } from "./product-collections/product-collections.mjs";
19
20
  export { Products, type AddMeterToPrice, type AttachCreditEntitlement, type AttachProductEntitlement, type CbbProrationBehavior, type CreditEntitlementMappingResponse, type DigitalProductDelivery, type DigitalProductDeliveryFile, type LicenseKeyDuration, type Price, type Product, type ProductEntitlementSummary, type ProductListResponse, type ProductUpdateFilesResponse, type ProductListParams, type ProductCreateParams, type ProductUpdateParams, type ProductUpdateFilesParams, type ProductListResponsesDefaultPageNumberPagination, } from "./products/products.mjs";
@@ -21,5 +22,5 @@ export { Refunds, type Refund, type RefundStatus, type RefundListParams, type Re
21
22
  export { Subscriptions, type AddonCartResponseItem, type AttachAddon, type CancellationFeedback, type CreditEntitlementCartResponse, type MeterCartResponseItem, type MeterCreditEntitlementCartResponse, type OnDemandSubscription, type ScheduledPlanChange, type Subscription, type SubscriptionStatus, type TimeInterval, type UpdateSubscriptionPlanReq, type SubscriptionCreateResponse, type SubscriptionListResponse, type SubscriptionChangePlanResponse, type SubscriptionChargeResponse, type SubscriptionPreviewChangePlanResponse, type SubscriptionRetrieveCreditUsageResponse, type SubscriptionRetrieveUsageHistoryResponse, type SubscriptionUpdatePaymentMethodResponse, type SubscriptionListParams, type SubscriptionCreateParams, type SubscriptionUpdateParams, type SubscriptionChargeParams, type SubscriptionChangePlanParams, type SubscriptionRetrieveUsageHistoryParams, type SubscriptionUpdatePaymentMethodParams, type SubscriptionPreviewChangePlanParams, type SubscriptionListResponsesDefaultPageNumberPagination, type SubscriptionRetrieveUsageHistoryResponsesDefaultPageNumberPagination, } from "./subscriptions.mjs";
22
23
  export { UsageEvents, type Event, type EventInput, type UsageEventIngestResponse, type UsageEventIngestParams, type UsageEventListParams, type EventsDefaultPageNumberPagination, } from "./usage-events.mjs";
23
24
  export { WebhookEvents, type WebhookEventType, type WebhookPayload } from "./webhook-events.mjs";
24
- export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditOverageResetWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, type EntitlementGrantCreatedWebhookEvent, type EntitlementGrantDeliveredWebhookEvent, type EntitlementGrantFailedWebhookEvent, type EntitlementGrantRevokedWebhookEvent, type LicenseKeyCreatedWebhookEvent, type PaymentCancelledWebhookEvent, type PaymentFailedWebhookEvent, type PaymentProcessingWebhookEvent, type PaymentSucceededWebhookEvent, type PayoutCreatedWebhookEvent, type PayoutFailedWebhookEvent, type PayoutInProgressWebhookEvent, type PayoutOnHoldWebhookEvent, type PayoutSuccessWebhookEvent, type RefundFailedWebhookEvent, type RefundSucceededWebhookEvent, type SubscriptionActiveWebhookEvent, type SubscriptionCancelledWebhookEvent, type SubscriptionExpiredWebhookEvent, type SubscriptionFailedWebhookEvent, type SubscriptionOnHoldWebhookEvent, type SubscriptionPausedWebhookEvent, type SubscriptionPlanChangedWebhookEvent, type SubscriptionRenewedWebhookEvent, type SubscriptionUnpausedWebhookEvent, type SubscriptionUpdatePaymentMethodWebhookEvent, type SubscriptionUpdatedWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type WebhookListParams, type WebhookCreateParams, type WebhookUpdateParams, type WebhookDetailsCursorPagePagination, } from "./webhooks/webhooks.mjs";
25
+ export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditOverageResetWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, type EntitlementGrantCreatedWebhookEvent, type EntitlementGrantDeliveredWebhookEvent, type EntitlementGrantFailedWebhookEvent, type EntitlementGrantRevokedWebhookEvent, type LicenseKeyCreatedWebhookEvent, type PaymentCancelledWebhookEvent, type PaymentFailedWebhookEvent, type PaymentProcessingWebhookEvent, type PaymentSucceededWebhookEvent, type PayoutCreatedWebhookEvent, type PayoutFailedWebhookEvent, type PayoutInProgressWebhookEvent, type PayoutOnHoldWebhookEvent, type PayoutSuccessWebhookEvent, type RefundFailedWebhookEvent, type RefundSucceededWebhookEvent, type SubscriptionActiveWebhookEvent, type SubscriptionCancelledWebhookEvent, type SubscriptionExpiredWebhookEvent, type SubscriptionFailedWebhookEvent, type SubscriptionOnHoldWebhookEvent, type SubscriptionPastDueWebhookEvent, type SubscriptionPausedWebhookEvent, type SubscriptionPlanChangedWebhookEvent, type SubscriptionRenewedWebhookEvent, type SubscriptionUnpausedWebhookEvent, type SubscriptionUpdatePaymentMethodWebhookEvent, type SubscriptionUpdatedWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type WebhookListParams, type WebhookCreateParams, type WebhookUpdateParams, type WebhookDetailsCursorPagePagination, } from "./webhooks/webhooks.mjs";
25
26
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM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gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,2CAA2C,EAChD,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,kCAAkC,GACxC,gCAA4B"}
@@ -1,5 +1,6 @@
1
1
  export { Addons, type AddonResponse, type AddonUpdateImagesResponse, type AddonListParams, type AddonCreateParams, type AddonUpdateParams, type AddonResponsesDefaultPageNumberPagination, } from "./addons.js";
2
2
  export { Balances, type BalanceLedgerEntry, type BalanceRetrieveLedgerParams, type BalanceLedgerEntriesDefaultPageNumberPagination, } from "./balances.js";
3
+ export { Blocklist } from "./blocklist/blocklist.js";
3
4
  export { Brands, type Brand, type BrandListResponse, type BrandArchiveResponse, type BrandUpdateImagesResponse, type BrandListParams, type BrandCreateParams, type BrandUpdateParams, type BrandArchiveParams, } from "./brands.js";
4
5
  export { CheckoutSessions, type CheckoutSessionBillingAddress, type CheckoutSessionCustomization, type CheckoutSessionFlags, type CheckoutSessionRequest, type CheckoutSessionResponse, type CheckoutSessionStatus, type CustomField, type ProductItemReq, type SubscriptionData, type ThemeConfig, type ThemeModeConfig, type CheckoutSessionPreviewResponse, type CheckoutSessionCreateParams, type CheckoutSessionPreviewParams, } from "./checkout-sessions.js";
5
6
  export { CreditEntitlements, type CbbOverageBehavior, type CreditEntitlement, type CreditEntitlementListParams, type CreditEntitlementCreateParams, type CreditEntitlementUpdateParams, type CreditEntitlementsDefaultPageNumberPagination, } from "./credit-entitlements/credit-entitlements.js";
@@ -13,7 +14,7 @@ export { LicenseKeys, type LicenseKey, type LicenseKeyStatus, type LicenseKeyLis
13
14
  export { Licenses, type LicenseActivateResponse, type LicenseValidateResponse, type LicenseActivateParams, type LicenseDeactivateParams, type LicenseValidateParams, } from "./licenses.js";
14
15
  export { Meters, type Conjunction, type FilterOperator, type FilterType, type Meter, type MeterAggregation, type MeterFilter, type MeterListParams, type MeterCreateParams, type MetersDefaultPageNumberPagination, } from "./meters.js";
15
16
  export { Misc, type CountryCode, type Currency, type Metadata, type TaxCategory, type MiscListSupportedCountriesResponse, } from "./misc.js";
16
- export { Payments, type AttachExistingCustomer, type BillingAddress, type CreateNewCustomer, type CustomFieldResponse, type CustomerLimitedDetails, type CustomerRequest, type IntentStatus, type NewCustomer, type OneTimeProductCartItem, type Payment, type PaymentMethodTypes, type PaymentRefundStatus, type RefundListItem, type PaymentCreateResponse, type PaymentListResponse, type PaymentRetrieveLineItemsResponse, type PaymentListParams, type PaymentCreateParams, type RefundListItemsDefaultPageNumberPagination, type PaymentListResponsesDefaultPageNumberPagination, } from "./payments.js";
17
+ export { Payments, type AttachExistingCustomer, type BillingAddress, type CreateNewCustomer, type CustomFieldResponse, type CustomerLimitedDetails, type CustomerRequest, type IntentStatus, type ManualRetry, type ManualRetryState, type NewCustomer, type OneTimeProductCartItem, type Payment, type PaymentMethodTypes, type PaymentRefundStatus, type RefundListItem, type PaymentCreateResponse, type PaymentListResponse, type PaymentRetrieveLineItemsResponse, type PaymentListParams, type PaymentCreateParams, type RefundListItemsDefaultPageNumberPagination, type PaymentListResponsesDefaultPageNumberPagination, } from "./payments.js";
17
18
  export { Payouts, type PayoutListResponse, type PayoutListParams, type PayoutListResponsesDefaultPageNumberPagination, } from "./payouts/payouts.js";
18
19
  export { ProductCollections, type ProductCollection, type ProductCollectionListResponse, type ProductCollectionUnarchiveResponse, type ProductCollectionUpdateImagesResponse, type ProductCollectionListParams, type ProductCollectionCreateParams, type ProductCollectionUpdateParams, type ProductCollectionUpdateImagesParams, type ProductCollectionListResponsesDefaultPageNumberPagination, } from "./product-collections/product-collections.js";
19
20
  export { Products, type AddMeterToPrice, type AttachCreditEntitlement, type AttachProductEntitlement, type CbbProrationBehavior, type CreditEntitlementMappingResponse, type DigitalProductDelivery, type DigitalProductDeliveryFile, type LicenseKeyDuration, type Price, type Product, type ProductEntitlementSummary, type ProductListResponse, type ProductUpdateFilesResponse, type ProductListParams, type ProductCreateParams, type ProductUpdateParams, type ProductUpdateFilesParams, type ProductListResponsesDefaultPageNumberPagination, } from "./products/products.js";
@@ -21,5 +22,5 @@ export { Refunds, type Refund, type RefundStatus, type RefundListParams, type Re
21
22
  export { Subscriptions, type AddonCartResponseItem, type AttachAddon, type CancellationFeedback, type CreditEntitlementCartResponse, type MeterCartResponseItem, type MeterCreditEntitlementCartResponse, type OnDemandSubscription, type ScheduledPlanChange, type Subscription, type SubscriptionStatus, type TimeInterval, type UpdateSubscriptionPlanReq, type SubscriptionCreateResponse, type SubscriptionListResponse, type SubscriptionChangePlanResponse, type SubscriptionChargeResponse, type SubscriptionPreviewChangePlanResponse, type SubscriptionRetrieveCreditUsageResponse, type SubscriptionRetrieveUsageHistoryResponse, type SubscriptionUpdatePaymentMethodResponse, type SubscriptionListParams, type SubscriptionCreateParams, type SubscriptionUpdateParams, type SubscriptionChargeParams, type SubscriptionChangePlanParams, type SubscriptionRetrieveUsageHistoryParams, type SubscriptionUpdatePaymentMethodParams, type SubscriptionPreviewChangePlanParams, type SubscriptionListResponsesDefaultPageNumberPagination, type SubscriptionRetrieveUsageHistoryResponsesDefaultPageNumberPagination, } from "./subscriptions.js";
22
23
  export { UsageEvents, type Event, type EventInput, type UsageEventIngestResponse, type UsageEventIngestParams, type UsageEventListParams, type EventsDefaultPageNumberPagination, } from "./usage-events.js";
23
24
  export { WebhookEvents, type WebhookEventType, type WebhookPayload } from "./webhook-events.js";
24
- export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditOverageResetWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, type EntitlementGrantCreatedWebhookEvent, type EntitlementGrantDeliveredWebhookEvent, type EntitlementGrantFailedWebhookEvent, type EntitlementGrantRevokedWebhookEvent, type LicenseKeyCreatedWebhookEvent, type PaymentCancelledWebhookEvent, type PaymentFailedWebhookEvent, type PaymentProcessingWebhookEvent, type PaymentSucceededWebhookEvent, type PayoutCreatedWebhookEvent, type PayoutFailedWebhookEvent, type PayoutInProgressWebhookEvent, type PayoutOnHoldWebhookEvent, type PayoutSuccessWebhookEvent, type RefundFailedWebhookEvent, type RefundSucceededWebhookEvent, type SubscriptionActiveWebhookEvent, type SubscriptionCancelledWebhookEvent, type SubscriptionExpiredWebhookEvent, type SubscriptionFailedWebhookEvent, type SubscriptionOnHoldWebhookEvent, type SubscriptionPausedWebhookEvent, type SubscriptionPlanChangedWebhookEvent, type SubscriptionRenewedWebhookEvent, type SubscriptionUnpausedWebhookEvent, type SubscriptionUpdatePaymentMethodWebhookEvent, type SubscriptionUpdatedWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type WebhookListParams, type WebhookCreateParams, type WebhookUpdateParams, type WebhookDetailsCursorPagePagination, } from "./webhooks/webhooks.js";
25
+ export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditOverageResetWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, type EntitlementGrantCreatedWebhookEvent, type EntitlementGrantDeliveredWebhookEvent, type EntitlementGrantFailedWebhookEvent, type EntitlementGrantRevokedWebhookEvent, type LicenseKeyCreatedWebhookEvent, type PaymentCancelledWebhookEvent, type PaymentFailedWebhookEvent, type PaymentProcessingWebhookEvent, type PaymentSucceededWebhookEvent, type PayoutCreatedWebhookEvent, type PayoutFailedWebhookEvent, type PayoutInProgressWebhookEvent, type PayoutOnHoldWebhookEvent, type PayoutSuccessWebhookEvent, type RefundFailedWebhookEvent, type RefundSucceededWebhookEvent, type SubscriptionActiveWebhookEvent, type SubscriptionCancelledWebhookEvent, type SubscriptionExpiredWebhookEvent, type SubscriptionFailedWebhookEvent, type SubscriptionOnHoldWebhookEvent, type SubscriptionPastDueWebhookEvent, type SubscriptionPausedWebhookEvent, type SubscriptionPlanChangedWebhookEvent, type SubscriptionRenewedWebhookEvent, type SubscriptionUnpausedWebhookEvent, type SubscriptionUpdatePaymentMethodWebhookEvent, type SubscriptionUpdatedWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type WebhookListParams, type WebhookCreateParams, type WebhookUpdateParams, type WebhookDetailsCursorPagePagination, } from "./webhooks/webhooks.js";
25
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,yCAAyC,GAC/C,oBAAiB;AAClB,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,+CAA+C,GACrD,sBAAmB;AACpB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,oBAAiB;AAClB,OAAO,EACL,gBAAgB,EAChB,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,8BA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EACtC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,2CAA2C,EAChD,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,kCAAkC,GACxC,+BAA4B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,yCAAyC,GAC/C,oBAAiB;AAClB,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,+CAA+C,GACrD,sBAAmB;AACpB,OAAO,EAAE,SAAS,EAAE,iCAA8B;AAClD,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,oBAAiB;AAClB,OAAO,EACL,gBAAgB,EAChB,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,8BAA8B,EACnC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,GAClC,+BAA4B;AAC7B,OAAO,EACL,kBAAkB,EACl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,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,2CAA2C,EAChD,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,kCAAkC,GACxC,+BAA4B"}
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Webhooks = exports.WebhookEvents = exports.UsageEvents = exports.Subscriptions = exports.Refunds = exports.Products = exports.ProductCollections = exports.Payouts = exports.Payments = exports.Misc = exports.Meters = exports.Licenses = exports.LicenseKeys = exports.LicenseKeyInstances = exports.Invoices = exports.Entitlements = exports.Disputes = exports.Discounts = exports.Customers = exports.CreditEntitlements = exports.CheckoutSessions = exports.Brands = exports.Balances = exports.Addons = void 0;
4
+ exports.Webhooks = exports.WebhookEvents = exports.UsageEvents = exports.Subscriptions = exports.Refunds = exports.Products = exports.ProductCollections = exports.Payouts = exports.Payments = exports.Misc = exports.Meters = exports.Licenses = exports.LicenseKeys = exports.LicenseKeyInstances = exports.Invoices = exports.Entitlements = exports.Disputes = exports.Discounts = exports.Customers = exports.CreditEntitlements = exports.CheckoutSessions = exports.Brands = exports.Blocklist = exports.Balances = exports.Addons = void 0;
5
5
  var addons_1 = require("./addons.js");
6
6
  Object.defineProperty(exports, "Addons", { enumerable: true, get: function () { return addons_1.Addons; } });
7
7
  var balances_1 = require("./balances.js");
8
8
  Object.defineProperty(exports, "Balances", { enumerable: true, get: function () { return balances_1.Balances; } });
9
+ var blocklist_1 = require("./blocklist/blocklist.js");
10
+ Object.defineProperty(exports, "Blocklist", { enumerable: true, get: function () { return blocklist_1.Blocklist; } });
9
11
  var brands_1 = require("./brands.js");
10
12
  Object.defineProperty(exports, "Brands", { enumerable: true, get: function () { return brands_1.Brands; } });
11
13
  var checkout_sessions_1 = require("./checkout-sessions.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAQkB;AAPhB,gGAAA,MAAM,OAAA;AAQR,0CAKoB;AAJlB,oGAAA,QAAQ,OAAA;AAKV,sCAUkB;AAThB,gGAAA,MAAM,OAAA;AAUR,4DAgB6B;AAf3B,qHAAA,gBAAgB,OAAA;AAgBlB,oFAQmD;AAPjD,yHAAA,kBAAkB,OAAA;AAQpB,sDAa+B;AAZ7B,sGAAA,SAAS,OAAA;AAaX,4CASqB;AARnB,sGAAA,SAAS,OAAA;AASX,0CASoB;AARlB,oGAAA,QAAQ,OAAA;AASV,+DAaqC;AAZnC,4GAAA,YAAY,OAAA;AAad,mDAA+C;AAAtC,oGAAA,QAAQ,OAAA;AACjB,oEAMiC;AAL/B,4HAAA,mBAAmB,OAAA;AAMrB,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,0CAOoB;AANlB,oGAAA,QAAQ,OAAA;AAOV,sCAWkB;AAVhB,gGAAA,MAAM,OAAA;AAWR,kCAOgB;AANd,4FAAA,IAAI,OAAA;AAON,0CAsBoB;AArBlB,oGAAA,QAAQ,OAAA;AAsBV,gDAK2B;AAJzB,kGAAA,OAAO,OAAA;AAKT,oFAWmD;AAVjD,yHAAA,kBAAkB,OAAA;AAWpB,mDAoB6B;AAnB3B,oGAAA,QAAQ,OAAA;AAoBV,wCAMmB;AALjB,kGAAA,OAAO,OAAA;AAMT,oDAgCyB;AA/BvB,8GAAA,aAAa,OAAA;AAgCf,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,sDAA6F;AAApF,+GAAA,aAAa,OAAA;AACtB,mDAyD6B;AAxD3B,oGAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAQkB;AAPhB,gGAAA,MAAM,OAAA;AAQR,0CAKoB;AAJlB,oGAAA,QAAQ,OAAA;AAKV,sDAAkD;AAAzC,sGAAA,SAAS,OAAA;AAClB,sCAUkB;AAThB,gGAAA,MAAM,OAAA;AAUR,4DAgB6B;AAf3B,qHAAA,gBAAgB,OAAA;AAgBlB,oFAQmD;AAPjD,yHAAA,kBAAkB,OAAA;AAQpB,sDAa+B;AAZ7B,sGAAA,SAAS,OAAA;AAaX,4CASqB;AARnB,sGAAA,SAAS,OAAA;AASX,0CASoB;AARlB,oGAAA,QAAQ,OAAA;AASV,+DAaqC;AAZnC,4GAAA,YAAY,OAAA;AAad,mDAA+C;AAAtC,oGAAA,QAAQ,OAAA;AACjB,oEAMiC;AAL/B,4HAAA,mBAAmB,OAAA;AAMrB,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,0CAOoB;AANlB,oGAAA,QAAQ,OAAA;AAOV,sCAWkB;AAVhB,gGAAA,MAAM,OAAA;AAWR,kCAOgB;AANd,4FAAA,IAAI,OAAA;AAON,0CAwBoB;AAvBlB,oGAAA,QAAQ,OAAA;AAwBV,gDAK2B;AAJzB,kGAAA,OAAO,OAAA;AAKT,oFAWmD;AAVjD,yHAAA,kBAAkB,OAAA;AAWpB,mDAoB6B;AAnB3B,oGAAA,QAAQ,OAAA;AAoBV,wCAMmB;AALjB,kGAAA,OAAO,OAAA;AAMT,oDAgCyB;AA/BvB,8GAAA,aAAa,OAAA;AAgCf,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,sDAA6F;AAApF,+GAAA,aAAa,OAAA;AACtB,mDA0D6B;AAzD3B,oGAAA,QAAQ,OAAA"}
@@ -1,6 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Addons, } from "./addons.mjs";
3
3
  export { Balances, } from "./balances.mjs";
4
+ export { Blocklist } from "./blocklist/blocklist.mjs";
4
5
  export { Brands, } from "./brands.mjs";
5
6
  export { CheckoutSessions, } from "./checkout-sessions.mjs";
6
7
  export { CreditEntitlements, } from "./credit-entitlements/credit-entitlements.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,MAAM,GAOP,qBAAiB;AAClB,OAAO,EACL,QAAQ,GAIT,uBAAmB;AACpB,OAAO,EACL,MAAM,GASP,qBAAiB;AAClB,OAAO,EACL,gBAAgB,GAejB,gCAA4B;AAC7B,OAAO,EACL,kBAAkB,GAOnB,sDAAkD;AACnD,OAAO,EACL,SAAS,GAYV,kCAA8B;AAC/B,OAAO,EACL,SAAS,GAQV,wBAAoB;AACrB,OAAO,EACL,QAAQ,GAQT,uBAAmB;AACpB,OAAO,EACL,YAAY,GAYb,wCAAoC;AACrC,OAAO,EAAE,QAAQ,EAAE,gCAA4B;AAC/C,OAAO,EACL,mBAAmB,GAKpB,oCAAgC;AACjC,OAAO,EACL,WAAW,GAOZ,2BAAuB;AACxB,OAAO,EACL,QAAQ,GAMT,uBAAmB;AACpB,OAAO,EACL,MAAM,GAUP,qBAAiB;AAClB,OAAO,EACL,IAAI,GAML,mBAAe;AAChB,OAAO,EACL,QAAQ,GAqBT,uBAAmB;AACpB,OAAO,EACL,OAAO,GAIR,8BAA0B;AAC3B,OAAO,EACL,kBAAkB,GAUnB,sDAAkD;AACnD,OAAO,EACL,QAAQ,GAmBT,gCAA4B;AAC7B,OAAO,EACL,OAAO,GAKR,sBAAkB;AACnB,OAAO,EACL,aAAa,GA+Bd,4BAAwB;AACzB,OAAO,EACL,WAAW,GAOZ,2BAAuB;AACxB,OAAO,EAAE,aAAa,EAA8C,6BAAyB;AAC7F,OAAO,EACL,QAAQ,GAwDT,gCAA4B"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,MAAM,GAOP,qBAAiB;AAClB,OAAO,EACL,QAAQ,GAIT,uBAAmB;AACpB,OAAO,EAAE,SAAS,EAAE,kCAA8B;AAClD,OAAO,EACL,MAAM,GASP,qBAAiB;AAClB,OAAO,EACL,gBAAgB,GAejB,gCAA4B;AAC7B,OAAO,EACL,kBAAkB,GAOnB,sDAAkD;AACnD,OAAO,EACL,SAAS,GAYV,kCAA8B;AAC/B,OAAO,EACL,SAAS,GAQV,wBAAoB;AACrB,OAAO,EACL,QAAQ,GAQT,uBAAmB;AACpB,OAAO,EACL,YAAY,GAYb,wCAAoC;AACrC,OAAO,EAAE,QAAQ,EAAE,gCAA4B;AAC/C,OAAO,EACL,mBAAmB,GAKpB,oCAAgC;AACjC,OAAO,EACL,WAAW,GAOZ,2BAAuB;AACxB,OAAO,EACL,QAAQ,GAMT,uBAAmB;AACpB,OAAO,EACL,MAAM,GAUP,qBAAiB;AAClB,OAAO,EACL,IAAI,GAML,mBAAe;AAChB,OAAO,EACL,QAAQ,GAuBT,uBAAmB;AACpB,OAAO,EACL,OAAO,GAIR,8BAA0B;AAC3B,OAAO,EACL,kBAAkB,GAUnB,sDAAkD;AACnD,OAAO,EACL,QAAQ,GAmBT,gCAA4B;AAC7B,OAAO,EACL,OAAO,GAKR,sBAAkB;AACnB,OAAO,EACL,aAAa,GA+Bd,4BAAwB;AACzB,OAAO,EACL,WAAW,GAOZ,2BAAuB;AACxB,OAAO,EAAE,aAAa,EAA8C,6BAAyB;AAC7F,OAAO,EACL,QAAQ,GAyDT,gCAA4B"}
@@ -39,6 +39,23 @@ export declare class Payments extends APIResource {
39
39
  * ```
40
40
  */
41
41
  retrieveLineItems(paymentID: string, options?: RequestOptions): APIPromise<PaymentRetrieveLineItemsResponse>;
42
+ /**
43
+ * @example
44
+ * ```ts
45
+ * const manualRetry = await client.payments.retry(
46
+ * 'payment_id',
47
+ * );
48
+ * ```
49
+ */
50
+ retry(paymentID: string, options?: RequestOptions): APIPromise<ManualRetry>;
51
+ /**
52
+ * @example
53
+ * ```ts
54
+ * const manualRetryState =
55
+ * await client.payments.retrieveRetryState('payment_id');
56
+ * ```
57
+ */
58
+ retrieveRetryState(paymentID: string, options?: RequestOptions): APIPromise<ManualRetryState>;
42
59
  }
43
60
  export type PaymentListResponsesDefaultPageNumberPagination = DefaultPageNumberPagination<PaymentListResponse>;
44
61
  export type RefundListItemsDefaultPageNumberPagination = DefaultPageNumberPagination<RefundListItem>;
@@ -115,6 +132,52 @@ export interface CustomerLimitedDetails {
115
132
  }
116
133
  export type CustomerRequest = AttachExistingCustomer | NewCustomer;
117
134
  export type IntentStatus = 'succeeded' | 'failed' | 'cancelled' | 'processing' | 'requires_customer_action' | 'requires_merchant_action' | 'requires_payment_method' | 'requires_confirmation' | 'requires_capture' | 'partially_captured' | 'partially_captured_and_capturable';
135
+ export interface ManualRetry {
136
+ /**
137
+ * The invoice the send charged.
138
+ */
139
+ invoice_id: string;
140
+ /**
141
+ * Always true on this route. Tells the row apart from an automatic attempt.
142
+ */
143
+ is_manual_retry: boolean;
144
+ /**
145
+ * The payment row this send created.
146
+ */
147
+ payment_id: string;
148
+ /**
149
+ * Which attempt this send is, counting manual sends on the invoice.
150
+ */
151
+ retry_attempt: number;
152
+ sends_allowed: number;
153
+ /**
154
+ * Manual sends spent on this invoice, including this one.
155
+ */
156
+ sends_used: number;
157
+ /**
158
+ * When the next send becomes available. Null when no send is left.
159
+ */
160
+ retry_available_at?: string | null;
161
+ /**
162
+ * Outcome of the charge. `processing` means the processor has not settled it yet,
163
+ * and the payment webhooks report the result.
164
+ */
165
+ status?: IntentStatus | null;
166
+ }
167
+ export interface ManualRetryState {
168
+ can_retry: boolean;
169
+ sends_allowed: number;
170
+ sends_used: number;
171
+ /**
172
+ * The code `POST` would fail with. Null when `can_retry` is true.
173
+ */
174
+ reason?: string | null;
175
+ /**
176
+ * When the next send becomes available. Null when no send is left, or when the
177
+ * block has nothing to do with the cooldown.
178
+ */
179
+ retry_available_at?: string | null;
180
+ }
118
181
  export interface NewCustomer {
119
182
  /**
120
183
  * Email is required for creating a new customer
@@ -609,6 +672,6 @@ export interface PaymentCreateParams {
609
672
  tax_id?: string | null;
610
673
  }
611
674
  export declare namespace Payments {
612
- export { type AttachExistingCustomer as AttachExistingCustomer, type BillingAddress as BillingAddress, type CreateNewCustomer as CreateNewCustomer, type CustomFieldResponse as CustomFieldResponse, type CustomerLimitedDetails as CustomerLimitedDetails, type CustomerRequest as CustomerRequest, type IntentStatus as IntentStatus, type NewCustomer as NewCustomer, type OneTimeProductCartItem as OneTimeProductCartItem, type Payment as Payment, type PaymentMethodTypes as PaymentMethodTypes, type PaymentRefundStatus as PaymentRefundStatus, type RefundListItem as RefundListItem, type PaymentCreateResponse as PaymentCreateResponse, type PaymentListResponse as PaymentListResponse, type PaymentRetrieveLineItemsResponse as PaymentRetrieveLineItemsResponse, type PaymentListResponsesDefaultPageNumberPagination as PaymentListResponsesDefaultPageNumberPagination, type PaymentListParams as PaymentListParams, type PaymentCreateParams as PaymentCreateParams, };
675
+ export { type AttachExistingCustomer as AttachExistingCustomer, type BillingAddress as BillingAddress, type CreateNewCustomer as CreateNewCustomer, type CustomFieldResponse as CustomFieldResponse, type CustomerLimitedDetails as CustomerLimitedDetails, type CustomerRequest as CustomerRequest, type IntentStatus as IntentStatus, type ManualRetry as ManualRetry, type ManualRetryState as ManualRetryState, type NewCustomer as NewCustomer, type OneTimeProductCartItem as OneTimeProductCartItem, type Payment as Payment, type PaymentMethodTypes as PaymentMethodTypes, type PaymentRefundStatus as PaymentRefundStatus, type RefundListItem as RefundListItem, type PaymentCreateResponse as PaymentCreateResponse, type PaymentListResponse as PaymentListResponse, type PaymentRetrieveLineItemsResponse as PaymentRetrieveLineItemsResponse, type PaymentListResponsesDefaultPageNumberPagination as PaymentListResponsesDefaultPageNumberPagination, type PaymentListParams as PaymentListParams, type PaymentCreateParams as PaymentCreateParams, };
613
676
  }
614
677
  //# sourceMappingURL=payments.d.mts.map