@geekapps/billing-fastify 0.12.0 → 0.13.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.
- package/dist/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -49,6 +49,11 @@ interface CreateChargeInput {
|
|
|
49
49
|
interface Charge {
|
|
50
50
|
id: string;
|
|
51
51
|
org_id: string;
|
|
52
|
+
/**
|
|
53
|
+
* Aplicação (client_id do token) que criou o registro. As listagens feitas pelo SDK já
|
|
54
|
+
* vêm filtradas pelo app do token — só o dashboard do billing vê o histórico geral.
|
|
55
|
+
*/
|
|
56
|
+
application_id?: string | null;
|
|
52
57
|
checkout_token: string;
|
|
53
58
|
amount: number;
|
|
54
59
|
currency: string;
|
|
@@ -454,6 +459,11 @@ interface CreateSubscriptionResult {
|
|
|
454
459
|
interface Subscription {
|
|
455
460
|
id: string;
|
|
456
461
|
org_id: string;
|
|
462
|
+
/**
|
|
463
|
+
* Aplicação (client_id do token) que criou o registro. As listagens feitas pelo SDK já
|
|
464
|
+
* vêm filtradas pelo app do token — só o dashboard do billing vê o histórico geral.
|
|
465
|
+
*/
|
|
466
|
+
application_id?: string | null;
|
|
457
467
|
customer_id: string;
|
|
458
468
|
item_id: string;
|
|
459
469
|
plan_id: string | null;
|