@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.
Files changed (2) hide show
  1. package/dist/index.d.ts +10 -0
  2. 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekapps/billing-fastify",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Geekapps Billing SDK for Fastify",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",