@openmeter/sdk 1.0.0-beta-7b2d9ed372e3 → 1.0.0-beta-bbb2af6bf3b0

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 (90) hide show
  1. package/dist/cjs/{tsconfig.3bd7bdb7.tsbuildinfo → tsconfig.7b29505b.tsbuildinfo} +1 -1
  2. package/dist/cjs/{tsconfig.769a7751.tsbuildinfo → tsconfig.e592f80c.tsbuildinfo} +1 -1
  3. package/dist/tsconfig.tsbuildinfo +1 -1
  4. package/package.json +1 -1
  5. package/dist/cjs/src/apps.cjs +0 -176
  6. package/dist/cjs/src/apps.d.cts +0 -338
  7. package/dist/cjs/src/apps.js.map +0 -1
  8. package/dist/cjs/src/billing.cjs +0 -309
  9. package/dist/cjs/src/billing.d.cts +0 -645
  10. package/dist/cjs/src/billing.js.map +0 -1
  11. package/dist/cjs/src/customers.cjs +0 -185
  12. package/dist/cjs/src/customers.d.cts +0 -231
  13. package/dist/cjs/src/customers.js.map +0 -1
  14. package/dist/cjs/src/entitlements.cjs +0 -244
  15. package/dist/cjs/src/entitlements.d.cts +0 -505
  16. package/dist/cjs/src/entitlements.js.map +0 -1
  17. package/dist/cjs/src/events.cjs +0 -65
  18. package/dist/cjs/src/events.d.cts +0 -101
  19. package/dist/cjs/src/events.js.map +0 -1
  20. package/dist/cjs/src/features.cjs +0 -78
  21. package/dist/cjs/src/features.d.cts +0 -153
  22. package/dist/cjs/src/features.js.map +0 -1
  23. package/dist/cjs/src/meters.cjs +0 -93
  24. package/dist/cjs/src/meters.d.cts +0 -184
  25. package/dist/cjs/src/meters.js.map +0 -1
  26. package/dist/cjs/src/notifications.cjs +0 -249
  27. package/dist/cjs/src/notifications.d.cts +0 -314
  28. package/dist/cjs/src/notifications.js.map +0 -1
  29. package/dist/cjs/src/plans.cjs +0 -127
  30. package/dist/cjs/src/plans.d.cts +0 -192
  31. package/dist/cjs/src/plans.js.map +0 -1
  32. package/dist/cjs/src/subjects.cjs +0 -76
  33. package/dist/cjs/src/subjects.d.cts +0 -101
  34. package/dist/cjs/src/subjects.js.map +0 -1
  35. package/dist/cjs/src/subscriptions.cjs +0 -116
  36. package/dist/cjs/src/subscriptions.d.cts +0 -197
  37. package/dist/cjs/src/subscriptions.js.map +0 -1
  38. package/dist/cjs/src/utils.cjs +0 -93
  39. package/dist/cjs/src/utils.d.cts +0 -29
  40. package/dist/cjs/src/utils.js.map +0 -1
  41. package/dist/cjs/tsconfig.01ab6c6b.tsbuildinfo +0 -1
  42. package/dist/cjs/tsconfig.1e12acbb.tsbuildinfo +0 -1
  43. package/dist/cjs/tsconfig.38849cd1.tsbuildinfo +0 -1
  44. package/dist/cjs/tsconfig.3db00db7.tsbuildinfo +0 -1
  45. package/dist/cjs/tsconfig.5cd8af0a.tsbuildinfo +0 -1
  46. package/dist/cjs/tsconfig.64c40770.tsbuildinfo +0 -1
  47. package/dist/cjs/tsconfig.8fd1c6cd.tsbuildinfo +0 -1
  48. package/dist/cjs/tsconfig.c9e83bdd.tsbuildinfo +0 -1
  49. package/dist/cjs/tsconfig.d3cb3b9e.tsbuildinfo +0 -1
  50. package/dist/cjs/tsconfig.db7aa141.tsbuildinfo +0 -1
  51. package/dist/cjs/tsconfig.edd7b7ed.tsbuildinfo +0 -1
  52. package/dist/cjs/tsconfig.f343a141.tsbuildinfo +0 -1
  53. package/dist/cjs/tsconfig.f36f8639.tsbuildinfo +0 -1
  54. package/dist/cjs/tsconfig.fc8d5fa4.tsbuildinfo +0 -1
  55. package/dist/src/apps.d.ts +0 -338
  56. package/dist/src/apps.js +0 -170
  57. package/dist/src/apps.js.map +0 -1
  58. package/dist/src/billing.d.ts +0 -645
  59. package/dist/src/billing.js +0 -302
  60. package/dist/src/billing.js.map +0 -1
  61. package/dist/src/customers.d.ts +0 -231
  62. package/dist/src/customers.js +0 -179
  63. package/dist/src/customers.js.map +0 -1
  64. package/dist/src/entitlements.d.ts +0 -505
  65. package/dist/src/entitlements.js +0 -239
  66. package/dist/src/entitlements.js.map +0 -1
  67. package/dist/src/events.d.ts +0 -101
  68. package/dist/src/events.js +0 -58
  69. package/dist/src/events.js.map +0 -1
  70. package/dist/src/features.d.ts +0 -153
  71. package/dist/src/features.js +0 -74
  72. package/dist/src/features.js.map +0 -1
  73. package/dist/src/meters.d.ts +0 -184
  74. package/dist/src/meters.js +0 -89
  75. package/dist/src/meters.js.map +0 -1
  76. package/dist/src/notifications.d.ts +0 -314
  77. package/dist/src/notifications.js +0 -242
  78. package/dist/src/notifications.js.map +0 -1
  79. package/dist/src/plans.d.ts +0 -192
  80. package/dist/src/plans.js +0 -123
  81. package/dist/src/plans.js.map +0 -1
  82. package/dist/src/subjects.d.ts +0 -101
  83. package/dist/src/subjects.js +0 -72
  84. package/dist/src/subjects.js.map +0 -1
  85. package/dist/src/subscriptions.d.ts +0 -197
  86. package/dist/src/subscriptions.js +0 -112
  87. package/dist/src/subscriptions.js.map +0 -1
  88. package/dist/src/utils.d.ts +0 -29
  89. package/dist/src/utils.js +0 -85
  90. package/dist/src/utils.js.map +0 -1
@@ -1,645 +0,0 @@
1
- import type { BillingProfileCreate, BillingProfileCustomerOverrideCreate, BillingProfileReplaceUpdateWithWorkflow, InvoicePendingLineCreate, InvoiceReplaceUpdate, InvoiceSimulationInput, operations, paths, VoidInvoiceActionInput } from './schemas.cjs';
2
- import type { Client } from 'openapi-fetch';
3
- /**
4
- * Billing
5
- */
6
- export declare class Billing {
7
- private client;
8
- profiles: BillingProfiles;
9
- invoices: BillingInvoices;
10
- customers: BillingCustomers;
11
- constructor(client: Client<paths, `${string}/${string}`>);
12
- }
13
- /**
14
- * Billing Profiles
15
- */
16
- export declare class BillingProfiles {
17
- private client;
18
- constructor(client: Client<paths, `${string}/${string}`>);
19
- /**
20
- * Create a billing profile
21
- * @param billingProfile - The billing profile to create
22
- * @param signal - An optional abort signal
23
- * @returns The created billing profile
24
- */
25
- create(billingProfile: BillingProfileCreate, signal?: AbortSignal): Promise<{
26
- data?: never;
27
- error: import("./utils.cjs").Problem;
28
- response: Response;
29
- } | {
30
- data: {
31
- readonly id: string;
32
- name: string;
33
- description?: string;
34
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
35
- readonly createdAt: Date;
36
- readonly updatedAt: Date;
37
- readonly deletedAt?: Date;
38
- supplier: import("./schemas.cjs").components["schemas"]["BillingParty"];
39
- readonly workflow: import("./schemas.cjs").components["schemas"]["BillingWorkflow"];
40
- readonly apps: import("./schemas.cjs").components["schemas"]["BillingProfileAppsOrReference"];
41
- default: boolean;
42
- };
43
- error?: never;
44
- response: Response;
45
- }>;
46
- /**
47
- * Get a billing profile by ID
48
- * @param id - The ID of the billing profile to get
49
- * @param signal - An optional abort signal
50
- * @returns The billing profile
51
- */
52
- get(id: operations['getBillingProfile']['parameters']['path']['id'], signal?: AbortSignal): Promise<{
53
- data?: never;
54
- error: import("./utils.cjs").Problem;
55
- response: Response;
56
- } | {
57
- data: {
58
- readonly id: string;
59
- name: string;
60
- description?: string;
61
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
62
- readonly createdAt: Date;
63
- readonly updatedAt: Date;
64
- readonly deletedAt?: Date;
65
- supplier: import("./schemas.cjs").components["schemas"]["BillingParty"];
66
- readonly workflow: import("./schemas.cjs").components["schemas"]["BillingWorkflow"];
67
- readonly apps: import("./schemas.cjs").components["schemas"]["BillingProfileAppsOrReference"];
68
- default: boolean;
69
- };
70
- error?: never;
71
- response: Response;
72
- }>;
73
- /**
74
- * List billing profiles
75
- * @param query - The query parameters
76
- * @param signal - An optional abort signal
77
- * @returns The billing profiles
78
- */
79
- list(query?: operations['listBillingProfiles']['parameters']['query'], signal?: AbortSignal): Promise<{
80
- data?: never;
81
- error: import("./utils.cjs").Problem;
82
- response: Response;
83
- } | {
84
- data: {
85
- totalCount: number;
86
- page: number;
87
- pageSize: number;
88
- items: import("./schemas.cjs").components["schemas"]["BillingProfile"][];
89
- };
90
- error?: never;
91
- response: Response;
92
- }>;
93
- /**
94
- * Update a billing profile
95
- * @param id - The ID of the billing profile to update
96
- * @param billingProfile - The billing profile to update
97
- * @param signal - An optional abort signal
98
- * @returns The updated billing profile
99
- */
100
- update(id: operations['updateBillingProfile']['parameters']['path']['id'], billingProfile: BillingProfileReplaceUpdateWithWorkflow, signal?: AbortSignal): Promise<{
101
- data?: never;
102
- error: import("./utils.cjs").Problem;
103
- response: Response;
104
- } | {
105
- data: {
106
- readonly id: string;
107
- name: string;
108
- description?: string;
109
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
110
- readonly createdAt: Date;
111
- readonly updatedAt: Date;
112
- readonly deletedAt?: Date;
113
- supplier: import("./schemas.cjs").components["schemas"]["BillingParty"];
114
- readonly workflow: import("./schemas.cjs").components["schemas"]["BillingWorkflow"];
115
- readonly apps: import("./schemas.cjs").components["schemas"]["BillingProfileAppsOrReference"];
116
- default: boolean;
117
- };
118
- error?: never;
119
- response: Response;
120
- }>;
121
- }
122
- /**
123
- * Billing Invoices
124
- */
125
- export declare class BillingInvoices {
126
- private client;
127
- constructor(client: Client<paths, `${string}/${string}`>);
128
- /**
129
- * List invoices
130
- * @param query - The query parameters
131
- * @param signal - An optional abort signal
132
- * @returns The invoices
133
- */
134
- list(query?: operations['listInvoices']['parameters']['query'], signal?: AbortSignal): Promise<{
135
- data?: never;
136
- error: import("./utils.cjs").Problem;
137
- response: Response;
138
- } | {
139
- data: {
140
- totalCount: number;
141
- page: number;
142
- pageSize: number;
143
- items: import("./schemas.cjs").components["schemas"]["Invoice"][];
144
- };
145
- error?: never;
146
- response: Response;
147
- }>;
148
- /**
149
- * Get an invoice by ID
150
- * @param id - The ID of the invoice to get
151
- * @param signal - An optional abort signal
152
- * @returns The invoice
153
- */
154
- get(id: operations['getInvoice']['parameters']['path']['invoiceId'], signal?: AbortSignal): Promise<{
155
- data?: never;
156
- error: import("./utils.cjs").Problem;
157
- response: Response;
158
- } | {
159
- data: {
160
- readonly id: string;
161
- description?: string;
162
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
163
- readonly createdAt: Date;
164
- readonly updatedAt: Date;
165
- readonly deletedAt?: Date;
166
- readonly type: import("./schemas.cjs").components["schemas"]["InvoiceType"];
167
- supplier: import("./schemas.cjs").components["schemas"]["BillingParty"];
168
- customer: import("./schemas.cjs").components["schemas"]["BillingParty"];
169
- readonly number: import("./schemas.cjs").components["schemas"]["InvoiceNumber"];
170
- currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
171
- readonly preceding?: import("./schemas.cjs").components["schemas"]["InvoiceDocumentRef"][];
172
- readonly totals: import("./schemas.cjs").components["schemas"]["InvoiceTotals"];
173
- readonly status: import("./schemas.cjs").components["schemas"]["InvoiceStatus"];
174
- readonly statusDetails: import("./schemas.cjs").components["schemas"]["InvoiceStatusDetails"];
175
- readonly issuedAt?: Date;
176
- draftUntil?: Date;
177
- readonly dueAt?: Date;
178
- period?: import("./schemas.cjs").components["schemas"]["Period"];
179
- readonly voidedAt?: Date;
180
- workflow: import("./schemas.cjs").components["schemas"]["InvoiceWorkflowSettings"];
181
- lines?: import("./schemas.cjs").components["schemas"]["InvoiceLine"][];
182
- discounts?: import("./schemas.cjs").components["schemas"]["Discount"][];
183
- readonly payment?: import("./schemas.cjs").components["schemas"]["InvoicePaymentTerms"];
184
- readonly validationIssues?: import("./schemas.cjs").components["schemas"]["ValidationIssue"][];
185
- readonly externalIDs?: import("./schemas.cjs").components["schemas"]["InvoiceAppExternalIDs"];
186
- };
187
- error?: never;
188
- response: Response;
189
- }>;
190
- /**
191
- * Update an invoice
192
- * @description Only invoices in draft or earlier status can be updated.
193
- * @param id - The ID of the invoice to update
194
- * @param invoice - The invoice to update
195
- * @param signal - An optional abort signal
196
- * @returns The updated invoice
197
- */
198
- update(id: operations['updateInvoice']['parameters']['path']['invoiceId'], invoice: InvoiceReplaceUpdate, signal?: AbortSignal): Promise<{
199
- data?: never;
200
- error: import("./utils.cjs").Problem;
201
- response: Response;
202
- } | {
203
- data: {
204
- readonly id: string;
205
- description?: string;
206
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
207
- readonly createdAt: Date;
208
- readonly updatedAt: Date;
209
- readonly deletedAt?: Date;
210
- readonly type: import("./schemas.cjs").components["schemas"]["InvoiceType"];
211
- supplier: import("./schemas.cjs").components["schemas"]["BillingParty"];
212
- customer: import("./schemas.cjs").components["schemas"]["BillingParty"];
213
- readonly number: import("./schemas.cjs").components["schemas"]["InvoiceNumber"];
214
- currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
215
- readonly preceding?: import("./schemas.cjs").components["schemas"]["InvoiceDocumentRef"][];
216
- readonly totals: import("./schemas.cjs").components["schemas"]["InvoiceTotals"];
217
- readonly status: import("./schemas.cjs").components["schemas"]["InvoiceStatus"];
218
- readonly statusDetails: import("./schemas.cjs").components["schemas"]["InvoiceStatusDetails"];
219
- readonly issuedAt?: Date;
220
- draftUntil?: Date;
221
- readonly dueAt?: Date;
222
- period?: import("./schemas.cjs").components["schemas"]["Period"];
223
- readonly voidedAt?: Date;
224
- workflow: import("./schemas.cjs").components["schemas"]["InvoiceWorkflowSettings"];
225
- lines?: import("./schemas.cjs").components["schemas"]["InvoiceLine"][];
226
- discounts?: import("./schemas.cjs").components["schemas"]["Discount"][];
227
- readonly payment?: import("./schemas.cjs").components["schemas"]["InvoicePaymentTerms"];
228
- readonly validationIssues?: import("./schemas.cjs").components["schemas"]["ValidationIssue"][];
229
- readonly externalIDs?: import("./schemas.cjs").components["schemas"]["InvoiceAppExternalIDs"];
230
- };
231
- error?: never;
232
- response: Response;
233
- }>;
234
- /**
235
- * Advance the invoice to the next status
236
- * @description The call doesn't "approve the invoice", it only advances the invoice to the next status if the transition would be automatic. The action can be called when the invoice's statusDetails' actions field contain the "advance" action.
237
- * @param id - The ID of the invoice to advance
238
- * @param signal - An optional abort signal
239
- * @returns The advanced invoice
240
- */
241
- advance(id: operations['advanceInvoiceAction']['parameters']['path']['invoiceId'], signal?: AbortSignal): Promise<{
242
- data?: never;
243
- error: import("./utils.cjs").Problem;
244
- response: Response;
245
- } | {
246
- data: {
247
- readonly id: string;
248
- description?: string;
249
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
250
- readonly createdAt: Date;
251
- readonly updatedAt: Date;
252
- readonly deletedAt?: Date;
253
- readonly type: import("./schemas.cjs").components["schemas"]["InvoiceType"];
254
- supplier: import("./schemas.cjs").components["schemas"]["BillingParty"];
255
- customer: import("./schemas.cjs").components["schemas"]["BillingParty"];
256
- readonly number: import("./schemas.cjs").components["schemas"]["InvoiceNumber"];
257
- currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
258
- readonly preceding?: import("./schemas.cjs").components["schemas"]["InvoiceDocumentRef"][];
259
- readonly totals: import("./schemas.cjs").components["schemas"]["InvoiceTotals"];
260
- readonly status: import("./schemas.cjs").components["schemas"]["InvoiceStatus"];
261
- readonly statusDetails: import("./schemas.cjs").components["schemas"]["InvoiceStatusDetails"];
262
- readonly issuedAt?: Date;
263
- draftUntil?: Date;
264
- readonly dueAt?: Date;
265
- period?: import("./schemas.cjs").components["schemas"]["Period"];
266
- readonly voidedAt?: Date;
267
- workflow: import("./schemas.cjs").components["schemas"]["InvoiceWorkflowSettings"];
268
- lines?: import("./schemas.cjs").components["schemas"]["InvoiceLine"][];
269
- discounts?: import("./schemas.cjs").components["schemas"]["Discount"][];
270
- readonly payment?: import("./schemas.cjs").components["schemas"]["InvoicePaymentTerms"];
271
- readonly validationIssues?: import("./schemas.cjs").components["schemas"]["ValidationIssue"][];
272
- readonly externalIDs?: import("./schemas.cjs").components["schemas"]["InvoiceAppExternalIDs"];
273
- };
274
- error?: never;
275
- response: Response;
276
- }>;
277
- /**
278
- * Approve an invoice
279
- * @description This call instantly sends the invoice to the customer using the configured billing profile app.
280
- * @param id - The ID of the invoice to approve
281
- * @param signal - An optional abort signal
282
- * @returns The approved invoice
283
- */
284
- approve(id: operations['approveInvoiceAction']['parameters']['path']['invoiceId'], signal?: AbortSignal): Promise<{
285
- data?: never;
286
- error: import("./utils.cjs").Problem;
287
- response: Response;
288
- } | {
289
- data: {
290
- readonly id: string;
291
- description?: string;
292
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
293
- readonly createdAt: Date;
294
- readonly updatedAt: Date;
295
- readonly deletedAt?: Date;
296
- readonly type: import("./schemas.cjs").components["schemas"]["InvoiceType"];
297
- supplier: import("./schemas.cjs").components["schemas"]["BillingParty"];
298
- customer: import("./schemas.cjs").components["schemas"]["BillingParty"];
299
- readonly number: import("./schemas.cjs").components["schemas"]["InvoiceNumber"];
300
- currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
301
- readonly preceding?: import("./schemas.cjs").components["schemas"]["InvoiceDocumentRef"][];
302
- readonly totals: import("./schemas.cjs").components["schemas"]["InvoiceTotals"];
303
- readonly status: import("./schemas.cjs").components["schemas"]["InvoiceStatus"];
304
- readonly statusDetails: import("./schemas.cjs").components["schemas"]["InvoiceStatusDetails"];
305
- readonly issuedAt?: Date;
306
- draftUntil?: Date;
307
- readonly dueAt?: Date;
308
- period?: import("./schemas.cjs").components["schemas"]["Period"];
309
- readonly voidedAt?: Date;
310
- workflow: import("./schemas.cjs").components["schemas"]["InvoiceWorkflowSettings"];
311
- lines?: import("./schemas.cjs").components["schemas"]["InvoiceLine"][];
312
- discounts?: import("./schemas.cjs").components["schemas"]["Discount"][];
313
- readonly payment?: import("./schemas.cjs").components["schemas"]["InvoicePaymentTerms"];
314
- readonly validationIssues?: import("./schemas.cjs").components["schemas"]["ValidationIssue"][];
315
- readonly externalIDs?: import("./schemas.cjs").components["schemas"]["InvoiceAppExternalIDs"];
316
- };
317
- error?: never;
318
- response: Response;
319
- }>;
320
- /**
321
- * Retry advancing the invoice after a failed attempt.
322
- * @param id - The ID of the invoice to retry
323
- * @param signal - An optional abort signal
324
- * @returns The retried invoice
325
- */
326
- retry(id: operations['retryInvoiceAction']['parameters']['path']['invoiceId'], signal?: AbortSignal): Promise<{
327
- data?: never;
328
- error: import("./utils.cjs").Problem;
329
- response: Response;
330
- } | {
331
- data: {
332
- readonly id: string;
333
- description?: string;
334
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
335
- readonly createdAt: Date;
336
- readonly updatedAt: Date;
337
- readonly deletedAt?: Date;
338
- readonly type: import("./schemas.cjs").components["schemas"]["InvoiceType"];
339
- supplier: import("./schemas.cjs").components["schemas"]["BillingParty"];
340
- customer: import("./schemas.cjs").components["schemas"]["BillingParty"];
341
- readonly number: import("./schemas.cjs").components["schemas"]["InvoiceNumber"];
342
- currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
343
- readonly preceding?: import("./schemas.cjs").components["schemas"]["InvoiceDocumentRef"][];
344
- readonly totals: import("./schemas.cjs").components["schemas"]["InvoiceTotals"];
345
- readonly status: import("./schemas.cjs").components["schemas"]["InvoiceStatus"];
346
- readonly statusDetails: import("./schemas.cjs").components["schemas"]["InvoiceStatusDetails"];
347
- readonly issuedAt?: Date;
348
- draftUntil?: Date;
349
- readonly dueAt?: Date;
350
- period?: import("./schemas.cjs").components["schemas"]["Period"];
351
- readonly voidedAt?: Date;
352
- workflow: import("./schemas.cjs").components["schemas"]["InvoiceWorkflowSettings"];
353
- lines?: import("./schemas.cjs").components["schemas"]["InvoiceLine"][];
354
- discounts?: import("./schemas.cjs").components["schemas"]["Discount"][];
355
- readonly payment?: import("./schemas.cjs").components["schemas"]["InvoicePaymentTerms"];
356
- readonly validationIssues?: import("./schemas.cjs").components["schemas"]["ValidationIssue"][];
357
- readonly externalIDs?: import("./schemas.cjs").components["schemas"]["InvoiceAppExternalIDs"];
358
- };
359
- error?: never;
360
- response: Response;
361
- }>;
362
- /**
363
- * Void an invoice
364
- * @description Void an invoice
365
- *
366
- * Only invoices that have been alread issued can be voided.
367
- * @param id - The ID of the invoice to void
368
- * @param signal - An optional abort signal
369
- * @returns The voided invoice
370
- */
371
- void(id: operations['voidInvoiceAction']['parameters']['path']['invoiceId'], body: VoidInvoiceActionInput, signal?: AbortSignal): Promise<{
372
- data?: never;
373
- error: import("./utils.cjs").Problem;
374
- response: Response;
375
- } | {
376
- data: {
377
- readonly id: string;
378
- description?: string;
379
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
380
- readonly createdAt: Date;
381
- readonly updatedAt: Date;
382
- readonly deletedAt?: Date;
383
- readonly type: import("./schemas.cjs").components["schemas"]["InvoiceType"];
384
- supplier: import("./schemas.cjs").components["schemas"]["BillingParty"];
385
- customer: import("./schemas.cjs").components["schemas"]["BillingParty"];
386
- readonly number: import("./schemas.cjs").components["schemas"]["InvoiceNumber"];
387
- currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
388
- readonly preceding?: import("./schemas.cjs").components["schemas"]["InvoiceDocumentRef"][];
389
- readonly totals: import("./schemas.cjs").components["schemas"]["InvoiceTotals"];
390
- readonly status: import("./schemas.cjs").components["schemas"]["InvoiceStatus"];
391
- readonly statusDetails: import("./schemas.cjs").components["schemas"]["InvoiceStatusDetails"];
392
- readonly issuedAt?: Date;
393
- draftUntil?: Date;
394
- readonly dueAt?: Date;
395
- period?: import("./schemas.cjs").components["schemas"]["Period"];
396
- readonly voidedAt?: Date;
397
- workflow: import("./schemas.cjs").components["schemas"]["InvoiceWorkflowSettings"];
398
- lines?: import("./schemas.cjs").components["schemas"]["InvoiceLine"][];
399
- discounts?: import("./schemas.cjs").components["schemas"]["Discount"][];
400
- readonly payment?: import("./schemas.cjs").components["schemas"]["InvoicePaymentTerms"];
401
- readonly validationIssues?: import("./schemas.cjs").components["schemas"]["ValidationIssue"][];
402
- readonly externalIDs?: import("./schemas.cjs").components["schemas"]["InvoiceAppExternalIDs"];
403
- };
404
- error?: never;
405
- response: Response;
406
- }>;
407
- /**
408
- * Recalculate an invoice's tax amounts
409
- * @param id - The ID of the invoice to recalculate
410
- * @param signal - An optional abort signal
411
- * @returns The recalculated invoice
412
- */
413
- recalculateTax(id: operations['recalculateInvoiceTaxAction']['parameters']['path']['invoiceId'], signal?: AbortSignal): Promise<{
414
- data?: never;
415
- error: import("./utils.cjs").Problem;
416
- response: Response;
417
- } | {
418
- data: {
419
- readonly id: string;
420
- description?: string;
421
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
422
- readonly createdAt: Date;
423
- readonly updatedAt: Date;
424
- readonly deletedAt?: Date;
425
- readonly type: import("./schemas.cjs").components["schemas"]["InvoiceType"];
426
- supplier: import("./schemas.cjs").components["schemas"]["BillingParty"];
427
- customer: import("./schemas.cjs").components["schemas"]["BillingParty"];
428
- readonly number: import("./schemas.cjs").components["schemas"]["InvoiceNumber"];
429
- currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
430
- readonly preceding?: import("./schemas.cjs").components["schemas"]["InvoiceDocumentRef"][];
431
- readonly totals: import("./schemas.cjs").components["schemas"]["InvoiceTotals"];
432
- readonly status: import("./schemas.cjs").components["schemas"]["InvoiceStatus"];
433
- readonly statusDetails: import("./schemas.cjs").components["schemas"]["InvoiceStatusDetails"];
434
- readonly issuedAt?: Date;
435
- draftUntil?: Date;
436
- readonly dueAt?: Date;
437
- period?: import("./schemas.cjs").components["schemas"]["Period"];
438
- readonly voidedAt?: Date;
439
- workflow: import("./schemas.cjs").components["schemas"]["InvoiceWorkflowSettings"];
440
- lines?: import("./schemas.cjs").components["schemas"]["InvoiceLine"][];
441
- discounts?: import("./schemas.cjs").components["schemas"]["Discount"][];
442
- readonly payment?: import("./schemas.cjs").components["schemas"]["InvoicePaymentTerms"];
443
- readonly validationIssues?: import("./schemas.cjs").components["schemas"]["ValidationIssue"][];
444
- readonly externalIDs?: import("./schemas.cjs").components["schemas"]["InvoiceAppExternalIDs"];
445
- };
446
- error?: never;
447
- response: Response;
448
- }>;
449
- /**
450
- * Simulate an invoice for a customer
451
- * @param id - The ID of the customer to simulate the invoice for
452
- * @param signal - An optional abort signal
453
- * @returns The simulated invoice
454
- */
455
- simulate(id: operations['simulateInvoice']['parameters']['path']['customerId'], body: InvoiceSimulationInput, signal?: AbortSignal): Promise<{
456
- data?: never;
457
- error: import("./utils.cjs").Problem;
458
- response: Response;
459
- } | {
460
- data: {
461
- readonly id: string;
462
- description?: string;
463
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
464
- readonly createdAt: Date;
465
- readonly updatedAt: Date;
466
- readonly deletedAt?: Date;
467
- readonly type: import("./schemas.cjs").components["schemas"]["InvoiceType"];
468
- supplier: import("./schemas.cjs").components["schemas"]["BillingParty"];
469
- customer: import("./schemas.cjs").components["schemas"]["BillingParty"];
470
- readonly number: import("./schemas.cjs").components["schemas"]["InvoiceNumber"];
471
- currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
472
- readonly preceding?: import("./schemas.cjs").components["schemas"]["InvoiceDocumentRef"][];
473
- readonly totals: import("./schemas.cjs").components["schemas"]["InvoiceTotals"];
474
- readonly status: import("./schemas.cjs").components["schemas"]["InvoiceStatus"];
475
- readonly statusDetails: import("./schemas.cjs").components["schemas"]["InvoiceStatusDetails"];
476
- readonly issuedAt?: Date;
477
- draftUntil?: Date;
478
- readonly dueAt?: Date;
479
- period?: import("./schemas.cjs").components["schemas"]["Period"];
480
- readonly voidedAt?: Date;
481
- workflow: import("./schemas.cjs").components["schemas"]["InvoiceWorkflowSettings"];
482
- lines?: import("./schemas.cjs").components["schemas"]["InvoiceLine"][];
483
- discounts?: import("./schemas.cjs").components["schemas"]["Discount"][];
484
- readonly payment?: import("./schemas.cjs").components["schemas"]["InvoicePaymentTerms"];
485
- readonly validationIssues?: import("./schemas.cjs").components["schemas"]["ValidationIssue"][];
486
- readonly externalIDs?: import("./schemas.cjs").components["schemas"]["InvoiceAppExternalIDs"];
487
- };
488
- error?: never;
489
- response: Response;
490
- }>;
491
- /**
492
- * Create pending invoice line items
493
- * @param body - The pending invoice line items to create
494
- * @param signal - An optional abort signal
495
- * @returns The created pending invoice line items
496
- */
497
- createLineItems(body: InvoicePendingLineCreate[], signal?: AbortSignal): Promise<{
498
- data?: never;
499
- error: import("./utils.cjs").Problem;
500
- response: Response;
501
- } | {
502
- data: ({
503
- name: string;
504
- description?: string;
505
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
506
- readonly createdAt: Date;
507
- readonly updatedAt: Date;
508
- readonly deletedAt?: Date;
509
- id: string;
510
- readonly managedBy: import("./schemas.cjs").components["schemas"]["InvoiceLineManagedBy"];
511
- readonly status: import("./schemas.cjs").components["schemas"]["InvoiceLineStatus"];
512
- readonly discounts?: import("./schemas.cjs").components["schemas"]["InvoiceLineDiscount"][];
513
- readonly charges?: import("./schemas.cjs").components["schemas"]["BillingLineCharge"][];
514
- invoice?: import("./schemas.cjs").components["schemas"]["InvoiceReference"];
515
- currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
516
- readonly taxes?: import("./schemas.cjs").components["schemas"]["InvoiceLineTaxItem"][];
517
- taxConfig?: import("./schemas.cjs").components["schemas"]["TaxConfig"];
518
- readonly children?: import("./schemas.cjs").components["schemas"]["InvoiceLine"][];
519
- readonly totals: import("./schemas.cjs").components["schemas"]["InvoiceTotals"];
520
- period: import("./schemas.cjs").components["schemas"]["Period"];
521
- invoiceAt: Date;
522
- readonly externalIDs?: import("./schemas.cjs").components["schemas"]["InvoiceLineAppExternalIDs"];
523
- readonly subscriptions?: import("./schemas.cjs").components["schemas"]["InvoiceLineSubscriptionReference"];
524
- type: "usage_based";
525
- price: import("./schemas.cjs").components["schemas"]["RateCardUsageBasedPrice"];
526
- featureKey: string;
527
- readonly quantity?: import("./schemas.cjs").components["schemas"]["Numeric"];
528
- readonly preLinePeriodQuantity?: import("./schemas.cjs").components["schemas"]["Numeric"];
529
- } | {
530
- name: string;
531
- description?: string;
532
- metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
533
- readonly createdAt: Date;
534
- readonly updatedAt: Date;
535
- readonly deletedAt?: Date;
536
- id: string;
537
- readonly managedBy: import("./schemas.cjs").components["schemas"]["InvoiceLineManagedBy"];
538
- readonly status: import("./schemas.cjs").components["schemas"]["InvoiceLineStatus"];
539
- readonly discounts?: import("./schemas.cjs").components["schemas"]["InvoiceLineDiscount"][];
540
- readonly charges?: import("./schemas.cjs").components["schemas"]["BillingLineCharge"][];
541
- invoice?: import("./schemas.cjs").components["schemas"]["InvoiceReference"];
542
- currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
543
- readonly taxes?: import("./schemas.cjs").components["schemas"]["InvoiceLineTaxItem"][];
544
- taxConfig?: import("./schemas.cjs").components["schemas"]["TaxConfig"];
545
- readonly children?: import("./schemas.cjs").components["schemas"]["InvoiceLine"][];
546
- readonly totals: import("./schemas.cjs").components["schemas"]["InvoiceTotals"];
547
- period: import("./schemas.cjs").components["schemas"]["Period"];
548
- invoiceAt: Date;
549
- readonly externalIDs?: import("./schemas.cjs").components["schemas"]["InvoiceLineAppExternalIDs"];
550
- readonly subscriptions?: import("./schemas.cjs").components["schemas"]["InvoiceLineSubscriptionReference"];
551
- type: "flat_fee";
552
- perUnitAmount: import("./schemas.cjs").components["schemas"]["Numeric"];
553
- paymentTerm?: import("./schemas.cjs").components["schemas"]["PricePaymentTerm"];
554
- quantity: import("./schemas.cjs").components["schemas"]["Numeric"];
555
- category?: import("./schemas.cjs").components["schemas"]["InvoiceFlatFeeCategory"];
556
- })[];
557
- error?: never;
558
- response: Response;
559
- }>;
560
- }
561
- /**
562
- * Billing Customer Invoices and Overrides
563
- */
564
- export declare class BillingCustomers {
565
- private client;
566
- constructor(client: Client<paths, `${string}/${string}`>);
567
- /**
568
- * Create or update a customer override
569
- * @param id - The ID of the customer to create the override for
570
- * @param body - The customer override to create
571
- * @param signal - An optional abort signal
572
- * @returns The created customer override
573
- */
574
- createOverride(id: operations['upsertBillingProfileCustomerOverride']['parameters']['path']['customerId'], body: BillingProfileCustomerOverrideCreate, signal?: AbortSignal): Promise<{
575
- data?: never;
576
- error: import("./utils.cjs").Problem;
577
- response: Response;
578
- } | {
579
- data: {
580
- readonly createdAt: Date;
581
- readonly updatedAt: Date;
582
- readonly deletedAt?: Date;
583
- workflow?: import("./schemas.cjs").components["schemas"]["BillingProfileCustomerWorkflowOverride"];
584
- billingProfile?: string;
585
- };
586
- error?: never;
587
- response: Response;
588
- }>;
589
- /**
590
- * Get a customer override
591
- * @param id - The ID of the customer to get the override for
592
- * @param signal - An optional abort signal
593
- * @returns The customer override
594
- */
595
- getOverride(id: operations['getBillingProfileCustomerOverride']['parameters']['path']['customerId'], signal?: AbortSignal): Promise<{
596
- data?: never;
597
- error: import("./utils.cjs").Problem;
598
- response: Response;
599
- } | {
600
- data: {
601
- readonly createdAt: Date;
602
- readonly updatedAt: Date;
603
- readonly deletedAt?: Date;
604
- workflow?: import("./schemas.cjs").components["schemas"]["BillingProfileCustomerWorkflowOverride"];
605
- billingProfile?: string;
606
- };
607
- error?: never;
608
- response: Response;
609
- }>;
610
- /**
611
- * List customer overrides
612
- * @param query - The query parameters
613
- * @param signal - An optional abort signal
614
- * @returns The customer overrides
615
- */
616
- listOverrides(query?: operations['listBillingProfileCustomerOverrides']['parameters']['query'], signal?: AbortSignal): Promise<{
617
- data?: never;
618
- error: import("./utils.cjs").Problem;
619
- response: Response;
620
- } | {
621
- data: {
622
- totalCount: number;
623
- page: number;
624
- pageSize: number;
625
- items: import("./schemas.cjs").components["schemas"]["BillingProfileCustomerOverride"][];
626
- };
627
- error?: never;
628
- response: Response;
629
- }>;
630
- /**
631
- * Delete a customer override
632
- * @param id - The ID of the customer to delete the override for
633
- * @param signal - An optional abort signal
634
- * @returns The deleted customer override
635
- */
636
- deleteOverride(id: operations['deleteBillingProfileCustomerOverride']['parameters']['path']['customerId'], signal?: AbortSignal): Promise<{
637
- data?: never;
638
- error: import("./utils.cjs").Problem;
639
- response: Response;
640
- } | {
641
- data: undefined;
642
- error?: never;
643
- response: Response;
644
- }>;
645
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"billing.js","sourceRoot":"","sources":["../../../src/billing.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAc9C;;GAEG;AACH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