@usehercules/sdk 1.12.2 → 1.13.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 (124) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/commerce/commerce.d.mts +17 -7
  10. package/resources/commerce/commerce.d.mts.map +1 -1
  11. package/resources/commerce/commerce.d.ts +17 -7
  12. package/resources/commerce/commerce.d.ts.map +1 -1
  13. package/resources/commerce/commerce.js +2 -6
  14. package/resources/commerce/commerce.js.map +1 -1
  15. package/resources/commerce/commerce.mjs +2 -6
  16. package/resources/commerce/commerce.mjs.map +1 -1
  17. package/resources/commerce/coupons.d.mts +14 -3
  18. package/resources/commerce/coupons.d.mts.map +1 -1
  19. package/resources/commerce/coupons.d.ts +14 -3
  20. package/resources/commerce/coupons.d.ts.map +1 -1
  21. package/resources/commerce/coupons.js.map +1 -1
  22. package/resources/commerce/coupons.mjs.map +1 -1
  23. package/resources/commerce/customers.d.mts +263 -1
  24. package/resources/commerce/customers.d.mts.map +1 -1
  25. package/resources/commerce/customers.d.ts +263 -1
  26. package/resources/commerce/customers.d.ts.map +1 -1
  27. package/resources/commerce/customers.js +80 -2
  28. package/resources/commerce/customers.js.map +1 -1
  29. package/resources/commerce/customers.mjs +78 -1
  30. package/resources/commerce/customers.mjs.map +1 -1
  31. package/resources/commerce/features.d.mts +3 -7
  32. package/resources/commerce/features.d.mts.map +1 -1
  33. package/resources/commerce/features.d.ts +3 -7
  34. package/resources/commerce/features.d.ts.map +1 -1
  35. package/resources/commerce/index.d.mts +2 -3
  36. package/resources/commerce/index.d.mts.map +1 -1
  37. package/resources/commerce/index.d.ts +2 -3
  38. package/resources/commerce/index.d.ts.map +1 -1
  39. package/resources/commerce/index.js +5 -7
  40. package/resources/commerce/index.js.map +1 -1
  41. package/resources/commerce/index.mjs +1 -2
  42. package/resources/commerce/index.mjs.map +1 -1
  43. package/resources/commerce/products/products.d.mts +22 -11
  44. package/resources/commerce/products/products.d.mts.map +1 -1
  45. package/resources/commerce/products/products.d.ts +22 -11
  46. package/resources/commerce/products/products.d.ts.map +1 -1
  47. package/resources/commerce/products/products.js +2 -2
  48. package/resources/commerce/products/products.js.map +1 -1
  49. package/resources/commerce/products/products.mjs +2 -2
  50. package/resources/commerce/products/products.mjs.map +1 -1
  51. package/resources/commerce/products/resources.d.mts +2 -2
  52. package/resources/commerce/products/resources.d.mts.map +1 -1
  53. package/resources/commerce/products/resources.d.ts +2 -2
  54. package/resources/commerce/products/resources.d.ts.map +1 -1
  55. package/resources/commerce/products/variants.d.mts +31 -10
  56. package/resources/commerce/products/variants.d.mts.map +1 -1
  57. package/resources/commerce/products/variants.d.ts +31 -10
  58. package/resources/commerce/products/variants.d.ts.map +1 -1
  59. package/resources/commerce/products/variants.js +1 -1
  60. package/resources/commerce/products/variants.js.map +1 -1
  61. package/resources/commerce/products/variants.mjs +1 -1
  62. package/resources/commerce/products/variants.mjs.map +1 -1
  63. package/resources/content/assets.d.mts +3 -3
  64. package/resources/content/assets.d.mts.map +1 -1
  65. package/resources/content/assets.d.ts +3 -3
  66. package/resources/content/assets.d.ts.map +1 -1
  67. package/resources/index.d.mts +1 -1
  68. package/resources/index.d.mts.map +1 -1
  69. package/resources/index.d.ts +1 -1
  70. package/resources/index.d.ts.map +1 -1
  71. package/resources/index.js.map +1 -1
  72. package/resources/index.mjs.map +1 -1
  73. package/src/client.ts +2 -0
  74. package/src/resources/commerce/commerce.ts +161 -19
  75. package/src/resources/commerce/coupons.ts +14 -3
  76. package/src/resources/commerce/customers.ts +339 -1
  77. package/src/resources/commerce/features.ts +3 -8
  78. package/src/resources/commerce/index.ts +2 -2
  79. package/src/resources/commerce/products/products.ts +22 -11
  80. package/src/resources/commerce/products/resources.ts +2 -2
  81. package/src/resources/commerce/products/variants.ts +29 -8
  82. package/src/resources/content/assets.ts +3 -3
  83. package/src/resources/index.ts +1 -0
  84. package/src/version.ts +1 -1
  85. package/version.d.mts +1 -1
  86. package/version.d.ts +1 -1
  87. package/version.js +1 -1
  88. package/version.mjs +1 -1
  89. package/resources/commerce/customers/balance-transactions.d.mts +0 -4
  90. package/resources/commerce/customers/balance-transactions.d.mts.map +0 -1
  91. package/resources/commerce/customers/balance-transactions.d.ts +0 -4
  92. package/resources/commerce/customers/balance-transactions.d.ts.map +0 -1
  93. package/resources/commerce/customers/balance-transactions.js +0 -9
  94. package/resources/commerce/customers/balance-transactions.js.map +0 -1
  95. package/resources/commerce/customers/balance-transactions.mjs +0 -5
  96. package/resources/commerce/customers/balance-transactions.mjs.map +0 -1
  97. package/resources/commerce/customers/customers.d.mts +0 -482
  98. package/resources/commerce/customers/customers.d.mts.map +0 -1
  99. package/resources/commerce/customers/customers.d.ts +0 -482
  100. package/resources/commerce/customers/customers.d.ts.map +0 -1
  101. package/resources/commerce/customers/customers.js +0 -93
  102. package/resources/commerce/customers/customers.js.map +0 -1
  103. package/resources/commerce/customers/customers.mjs +0 -88
  104. package/resources/commerce/customers/customers.mjs.map +0 -1
  105. package/resources/commerce/customers/index.d.mts +0 -3
  106. package/resources/commerce/customers/index.d.mts.map +0 -1
  107. package/resources/commerce/customers/index.d.ts +0 -3
  108. package/resources/commerce/customers/index.d.ts.map +0 -1
  109. package/resources/commerce/customers/index.js +0 -9
  110. package/resources/commerce/customers/index.js.map +0 -1
  111. package/resources/commerce/customers/index.mjs +0 -4
  112. package/resources/commerce/customers/index.mjs.map +0 -1
  113. package/resources/commerce/subscription-groups.d.mts +0 -4
  114. package/resources/commerce/subscription-groups.d.mts.map +0 -1
  115. package/resources/commerce/subscription-groups.d.ts +0 -4
  116. package/resources/commerce/subscription-groups.d.ts.map +0 -1
  117. package/resources/commerce/subscription-groups.js +0 -9
  118. package/resources/commerce/subscription-groups.js.map +0 -1
  119. package/resources/commerce/subscription-groups.mjs +0 -5
  120. package/resources/commerce/subscription-groups.mjs.map +0 -1
  121. package/src/resources/commerce/customers/balance-transactions.ts +0 -5
  122. package/src/resources/commerce/customers/customers.ts +0 -616
  123. package/src/resources/commerce/customers/index.ts +0 -15
  124. package/src/resources/commerce/subscription-groups.ts +0 -5
@@ -1,482 +0,0 @@
1
- import { APIResource } from "../../../core/resource.mjs";
2
- import * as BalanceTransactionsAPI from "./balance-transactions.mjs";
3
- import { BalanceTransactions } from "./balance-transactions.mjs";
4
- import { APIPromise } from "../../../core/api-promise.mjs";
5
- import { CursorIDPage, type CursorIDPageParams, PagePromise } from "../../../core/pagination.mjs";
6
- import { RequestOptions } from "../../../internal/request-options.mjs";
7
- export declare class Customers extends APIResource {
8
- balanceTransactions: BalanceTransactionsAPI.BalanceTransactions;
9
- /**
10
- * Creates a new billable customer. A customer represents the entity in your app
11
- * that will be charged—typically a user, organization, or project. Hercules
12
- * recommends creating a customer immediately after creating the corresponding
13
- * entity in your app.
14
- *
15
- * @example
16
- * ```ts
17
- * const customer = await client.commerce.customers.create();
18
- * ```
19
- */
20
- create(body?: CustomerCreateParams | null | undefined, options?: RequestOptions): APIPromise<Customer>;
21
- /**
22
- * Updates an existing customer. Use this to modify contact information or billing
23
- * address. Only provided fields are updated; omitted fields remain unchanged.
24
- *
25
- * @example
26
- * ```ts
27
- * const customer = await client.commerce.customers.update(
28
- * 'cus_1234567890',
29
- * );
30
- * ```
31
- */
32
- update(customerID: string, body?: CustomerUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Customer>;
33
- /**
34
- * Retrieves a paginated list of all customers. Customers are the billable entities
35
- * in your app—typically users, organizations, or projects.
36
- *
37
- * @example
38
- * ```ts
39
- * // Automatically fetches more pages as needed.
40
- * for await (const customer of client.commerce.customers.list()) {
41
- * // ...
42
- * }
43
- * ```
44
- */
45
- list(query?: CustomerListParams | null | undefined, options?: RequestOptions): PagePromise<CustomersCursorIDPage, Customer>;
46
- /**
47
- * Generates a URL to a hosted billing portal where the customer can view invoices,
48
- * update payment methods, and manage billing details. Redirect the customer to the
49
- * returned URL.
50
- *
51
- * @example
52
- * ```ts
53
- * const response =
54
- * await client.commerce.customers.billingPortal(
55
- * 'cus_1234567890',
56
- * );
57
- * ```
58
- */
59
- billingPortal(customerID: string, body?: CustomerBillingPortalParams | null | undefined, options?: RequestOptions): APIPromise<CustomerBillingPortalResponse>;
60
- /**
61
- * Retrieves a customer by ID. Returns the customer object including contact
62
- * information, billing address, active subscriptions, recent invoices, and saved
63
- * payment methods.
64
- *
65
- * @example
66
- * ```ts
67
- * const customer = await client.commerce.customers.get(
68
- * 'cus_1234567890',
69
- * );
70
- * ```
71
- */
72
- get(customerID: string, options?: RequestOptions): APIPromise<CustomerGetResponse>;
73
- }
74
- export type CustomersCursorIDPage = CursorIDPage<Customer>;
75
- /**
76
- * A billable customer. Represents the entity in your app that will be
77
- * charged—typically a user, organization, or project.
78
- */
79
- export interface Customer {
80
- /**
81
- * Unique identifier for the customer
82
- */
83
- id: string;
84
- /**
85
- * Timestamp when the customer was created
86
- */
87
- created: string;
88
- /**
89
- * The customer's billing address
90
- */
91
- address?: CustomerAddress | null;
92
- /**
93
- * The customer's email address for receipts and notifications
94
- */
95
- email?: string | null;
96
- /**
97
- * The customer's full name
98
- */
99
- name?: string | null;
100
- /**
101
- * The customer's phone number
102
- */
103
- phone?: string | null;
104
- }
105
- /**
106
- * The customer's billing address
107
- */
108
- export interface CustomerAddress {
109
- /**
110
- * City name
111
- */
112
- city?: string | null;
113
- /**
114
- * Two-letter ISO country code
115
- */
116
- country?: string | null;
117
- /**
118
- * Street address line 1
119
- */
120
- line1?: string | null;
121
- /**
122
- * Street address line 2 (apartment, suite, etc.)
123
- */
124
- line2?: string | null;
125
- /**
126
- * Postal or ZIP code
127
- */
128
- postal_code?: string | null;
129
- /**
130
- * State, province, or region
131
- */
132
- state?: string | null;
133
- }
134
- /**
135
- * Response containing the billing portal URL
136
- */
137
- export interface CustomerBillingPortalResponse {
138
- /**
139
- * URL to redirect the customer to for the billing portal
140
- */
141
- url: string;
142
- }
143
- /**
144
- * A billable customer with detailed subscription, invoice, and payment method
145
- * information.
146
- */
147
- export interface CustomerGetResponse {
148
- /**
149
- * Unique identifier for the customer
150
- */
151
- id: string;
152
- /**
153
- * Timestamp when the customer was created
154
- */
155
- created: string;
156
- /**
157
- * The customer's billing address
158
- */
159
- address?: CustomerAddress | null;
160
- /**
161
- * Current customer balance in cents (negative = credit available to apply to
162
- * future invoices)
163
- */
164
- balance?: number;
165
- /**
166
- * The customer's email address for receipts and notifications
167
- */
168
- email?: string | null;
169
- /**
170
- * Customer's recent invoices (up to 10)
171
- */
172
- invoices?: Array<CustomerGetResponse.Invoice>;
173
- /**
174
- * The customer's full name
175
- */
176
- name?: string | null;
177
- /**
178
- * Customer's saved payment methods
179
- */
180
- payment_methods?: Array<CustomerGetResponse.PaymentMethod>;
181
- /**
182
- * The customer's phone number
183
- */
184
- phone?: string | null;
185
- /**
186
- * Customer's active subscriptions
187
- */
188
- subscriptions?: Array<CustomerGetResponse.Subscription>;
189
- }
190
- export declare namespace CustomerGetResponse {
191
- /**
192
- * An invoice for a customer
193
- */
194
- interface Invoice {
195
- /**
196
- * Unique identifier for the invoice
197
- */
198
- id: string;
199
- /**
200
- * Total amount due in cents
201
- */
202
- amount_due: number;
203
- /**
204
- * Amount already paid in cents
205
- */
206
- amount_paid: number;
207
- /**
208
- * Amount remaining to be paid in cents
209
- */
210
- amount_remaining: number;
211
- /**
212
- * Timestamp when the invoice was created
213
- */
214
- created: string;
215
- /**
216
- * Currency code (e.g., 'usd')
217
- */
218
- currency: string;
219
- /**
220
- * Subtotal before tax in cents
221
- */
222
- subtotal: number;
223
- /**
224
- * Total amount in cents
225
- */
226
- total: number;
227
- /**
228
- * When the invoice is due
229
- */
230
- due_date?: string | null;
231
- /**
232
- * URL to view the invoice online
233
- */
234
- hosted_invoice_url?: string | null;
235
- /**
236
- * URL to download the invoice PDF
237
- */
238
- invoice_pdf?: string | null;
239
- /**
240
- * Invoice number for display
241
- */
242
- number?: string | null;
243
- /**
244
- * When the invoice was paid, if applicable
245
- */
246
- paid_at?: string | null;
247
- /**
248
- * End of the billing period
249
- */
250
- period_end?: string | null;
251
- /**
252
- * Start of the billing period
253
- */
254
- period_start?: string | null;
255
- /**
256
- * Current status of the invoice
257
- */
258
- status?: 'draft' | 'open' | 'paid' | 'void' | 'uncollectible' | null;
259
- }
260
- /**
261
- * A saved payment method for a customer
262
- */
263
- interface PaymentMethod {
264
- /**
265
- * Unique identifier for the payment method
266
- */
267
- id: string;
268
- /**
269
- * Timestamp when the payment method was added
270
- */
271
- created: string;
272
- /**
273
- * Whether this is the default payment method
274
- */
275
- is_default: boolean;
276
- /**
277
- * Type of payment method
278
- */
279
- type: 'card' | 'us_bank_account' | 'sepa_debit' | 'link' | 'other';
280
- /**
281
- * Card details, if payment method is a card
282
- */
283
- card?: PaymentMethod.Card | null;
284
- }
285
- namespace PaymentMethod {
286
- /**
287
- * Card details, if payment method is a card
288
- */
289
- interface Card {
290
- /**
291
- * Card brand (e.g., 'visa', 'mastercard')
292
- */
293
- brand: string;
294
- /**
295
- * Expiration month (1-12)
296
- */
297
- exp_month: number;
298
- /**
299
- * Expiration year (4 digits)
300
- */
301
- exp_year: number;
302
- /**
303
- * Last 4 digits of the card number
304
- */
305
- last4: string;
306
- }
307
- }
308
- /**
309
- * A customer subscription to a product
310
- */
311
- interface Subscription {
312
- /**
313
- * Unique identifier for the subscription
314
- */
315
- id: string;
316
- /**
317
- * Whether the subscription will cancel at period end
318
- */
319
- cancel_at_period_end: boolean;
320
- /**
321
- * Timestamp when the subscription was created
322
- */
323
- created: string;
324
- /**
325
- * End of the current billing period
326
- */
327
- current_period_end: string;
328
- /**
329
- * Start of the current billing period
330
- */
331
- current_period_start: string;
332
- /**
333
- * The product this subscription is for
334
- */
335
- product: Subscription.Product;
336
- /**
337
- * Current status of the subscription
338
- */
339
- status: 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid';
340
- /**
341
- * When the subscription was canceled, if applicable
342
- */
343
- canceled_at?: string | null;
344
- /**
345
- * End of trial period, if applicable
346
- */
347
- trial_end?: string | null;
348
- /**
349
- * Start of trial period, if applicable
350
- */
351
- trial_start?: string | null;
352
- /**
353
- * The variant (tier/plan) of this subscription, if applicable
354
- */
355
- variant?: Subscription.Variant | null;
356
- }
357
- namespace Subscription {
358
- /**
359
- * The product this subscription is for
360
- */
361
- interface Product {
362
- /**
363
- * Unique identifier for the product
364
- */
365
- id: string;
366
- /**
367
- * Product name
368
- */
369
- name: string;
370
- }
371
- /**
372
- * The variant (tier/plan) of this subscription, if applicable
373
- */
374
- interface Variant {
375
- /**
376
- * Unique identifier for the variant
377
- */
378
- id: string;
379
- /**
380
- * Variant name
381
- */
382
- name: string;
383
- }
384
- }
385
- }
386
- export interface CustomerCreateParams {
387
- /**
388
- * Optional custom ID for the customer. Must start with 'cus\_'. If not provided,
389
- * one will be generated.
390
- */
391
- id?: string;
392
- /**
393
- * The customer's billing address
394
- */
395
- address?: CustomerAddress;
396
- /**
397
- * The customer's email address for receipts and notifications
398
- */
399
- email?: string;
400
- /**
401
- * The customer's full name
402
- */
403
- name?: string;
404
- /**
405
- * The customer's phone number
406
- */
407
- phone?: string;
408
- }
409
- export interface CustomerUpdateParams {
410
- /**
411
- * The customer's billing address
412
- */
413
- address?: CustomerAddress;
414
- /**
415
- * The customer's email address for receipts and notifications
416
- */
417
- email?: string;
418
- /**
419
- * The customer's full name
420
- */
421
- name?: string;
422
- /**
423
- * The customer's phone number
424
- */
425
- phone?: string;
426
- }
427
- export interface CustomerListParams extends CursorIDPageParams {
428
- /**
429
- * Filter by creation date. Accepts an object with gt, gte, lt, lte operators using
430
- * Unix timestamps.
431
- */
432
- created?: CustomerListParams.Created;
433
- /**
434
- * Filter by exact email address match.
435
- */
436
- email?: string;
437
- /**
438
- * Search query to filter customers. Searches across name, email, and ID fields
439
- * (case-insensitive).
440
- */
441
- query?: string;
442
- /**
443
- * Sort order for customers. Prefix with '-' for descending order. Valid values:
444
- * name, -name, email, -email, created, -created. Default: -created (newest first).
445
- */
446
- sort?: string;
447
- }
448
- export declare namespace CustomerListParams {
449
- /**
450
- * Filter by creation date. Accepts an object with gt, gte, lt, lte operators using
451
- * Unix timestamps.
452
- */
453
- interface Created {
454
- /**
455
- * Greater than (Unix timestamp)
456
- */
457
- gt?: number;
458
- /**
459
- * Greater than or equal to (Unix timestamp)
460
- */
461
- gte?: number;
462
- /**
463
- * Less than (Unix timestamp)
464
- */
465
- lt?: number;
466
- /**
467
- * Less than or equal to (Unix timestamp)
468
- */
469
- lte?: number;
470
- }
471
- }
472
- export interface CustomerBillingPortalParams {
473
- /**
474
- * URL to redirect the customer to after they exit the billing portal
475
- */
476
- return_url?: string;
477
- }
478
- export declare namespace Customers {
479
- export { type Customer as Customer, type CustomerAddress as CustomerAddress, type CustomerBillingPortalResponse as CustomerBillingPortalResponse, type CustomerGetResponse as CustomerGetResponse, type CustomersCursorIDPage as CustomersCursorIDPage, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, type CustomerBillingPortalParams as CustomerBillingPortalParams, };
480
- export { BalanceTransactions as BalanceTransactions };
481
- }
482
- //# sourceMappingURL=customers.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"customers.d.mts","sourceRoot":"","sources":["../../../src/resources/commerce/customers/customers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,sBAAsB;OAC3B,EAAE,mBAAmB,EAAE;OACvB,EAAE,UAAU,EAAE;OACd,EAAE,YAAY,EAAE,KAAK,kBAAkB,EAAE,WAAW,EAAE;OACtD,EAAE,cAAc,EAAE;AAGzB,qBAAa,SAAU,SAAQ,WAAW;IACxC,mBAAmB,EAAE,sBAAsB,CAAC,mBAAmB,CACA;IAE/D;;;;;;;;;;OAUG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