@carlonicora/nextjs-jsonapi 6.1.0 → 6.3.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 (127) hide show
  1. package/dist/{AssistantMessageInterface-S7oyERTT.d.mts → AssistantMessageInterface-0ZQ1EJKO.d.mts} +1 -1
  2. package/dist/{AssistantMessageInterface-DHJJO_Z_.d.ts → AssistantMessageInterface-CA-hZ5Wj.d.ts} +1 -1
  3. package/dist/{BlockNoteEditor-SAU3G6H7.js → BlockNoteEditor-CT4XUXPC.js} +19 -19
  4. package/dist/{BlockNoteEditor-SAU3G6H7.js.map → BlockNoteEditor-CT4XUXPC.js.map} +1 -1
  5. package/dist/{BlockNoteEditor-FZNU4YQT.mjs → BlockNoteEditor-M6UQRVRK.mjs} +4 -4
  6. package/dist/{BlockNoteViewer-7BTV7QQA.js → BlockNoteViewer-MFLWF3Y2.js} +3 -3
  7. package/dist/{BlockNoteViewer-7BTV7QQA.js.map → BlockNoteViewer-MFLWF3Y2.js.map} +1 -1
  8. package/dist/{BlockNoteViewer-6XDDVTN6.mjs → BlockNoteViewer-XZJ5Y7WN.mjs} +2 -2
  9. package/dist/{BlogPostInterface-BB_4wcDR.d.mts → BlogPostInterface-BN2mXc46.d.mts} +1 -1
  10. package/dist/{BlogPostInterface-bWAT1rfR.d.ts → BlogPostInterface-CTGfsR1I.d.ts} +1 -1
  11. package/dist/{auth.interface-CSzJ1oP1.d.ts → auth.interface-D5606g19.d.ts} +1 -1
  12. package/dist/{auth.interface-DD4uQv2K.d.mts → auth.interface-tsOuc0Fi.d.mts} +1 -1
  13. package/dist/billing/index.d.mts +3 -3
  14. package/dist/billing/index.d.ts +3 -3
  15. package/dist/billing/index.js +501 -493
  16. package/dist/billing/index.js.map +1 -1
  17. package/dist/billing/index.mjs +13 -5
  18. package/dist/billing/index.mjs.map +1 -1
  19. package/dist/{chunk-USYZNWKS.mjs → chunk-3FD6Y734.mjs} +74 -15
  20. package/dist/chunk-3FD6Y734.mjs.map +1 -0
  21. package/dist/{chunk-F4JB7YAP.js → chunk-DSGP6GC3.js} +8 -8
  22. package/dist/{chunk-F4JB7YAP.js.map → chunk-DSGP6GC3.js.map} +1 -1
  23. package/dist/{chunk-GFGKMUPZ.mjs → chunk-O2TEUH5S.mjs} +2 -2
  24. package/dist/{chunk-MTI2UXDA.js → chunk-QJIDORHM.js} +4 -4
  25. package/dist/{chunk-MTI2UXDA.js.map → chunk-QJIDORHM.js.map} +1 -1
  26. package/dist/{chunk-JVJS5RHB.mjs → chunk-RUJCWOJE.mjs} +2 -2
  27. package/dist/{chunk-U7DR5VDT.mjs → chunk-TIT4CJYQ.mjs} +1233 -1181
  28. package/dist/chunk-TIT4CJYQ.mjs.map +1 -0
  29. package/dist/{chunk-TPZS46IM.js → chunk-V4I3XKOM.js} +3 -3
  30. package/dist/{chunk-TPZS46IM.js.map → chunk-V4I3XKOM.js.map} +1 -1
  31. package/dist/{chunk-T3YQ47EF.js → chunk-XZCCIKX3.js} +152 -93
  32. package/dist/chunk-XZCCIKX3.js.map +1 -0
  33. package/dist/{chunk-IPYXT7MH.js → chunk-Y7JIQNM6.js} +922 -870
  34. package/dist/chunk-Y7JIQNM6.js.map +1 -0
  35. package/dist/{chunk-RYZYKG6W.mjs → chunk-ZDUT5JPT.mjs} +2 -2
  36. package/dist/client/index.d.mts +4 -4
  37. package/dist/client/index.d.ts +4 -4
  38. package/dist/client/index.js +4 -4
  39. package/dist/client/index.mjs +3 -3
  40. package/dist/components/index.d.mts +22 -6
  41. package/dist/components/index.d.ts +22 -6
  42. package/dist/components/index.js +10 -4
  43. package/dist/components/index.js.map +1 -1
  44. package/dist/components/index.mjs +10 -4
  45. package/dist/contexts/index.d.mts +5 -5
  46. package/dist/contexts/index.d.ts +5 -5
  47. package/dist/contexts/index.js +4 -4
  48. package/dist/contexts/index.mjs +3 -3
  49. package/dist/core/index.d.mts +23 -13
  50. package/dist/core/index.d.ts +23 -13
  51. package/dist/core/index.js +8 -2
  52. package/dist/core/index.js.map +1 -1
  53. package/dist/core/index.mjs +7 -1
  54. package/dist/{currency-DrEVd_Xs.d.mts → currency-BhuEoBOn.d.mts} +2 -115
  55. package/dist/{currency-8ErEC39n.d.ts → currency-CBgZkS0u.d.ts} +2 -115
  56. package/dist/email-automations/index.js +92 -92
  57. package/dist/email-automations/index.mjs +3 -3
  58. package/dist/features/analytics/index.d.mts +11 -3
  59. package/dist/features/analytics/index.d.ts +11 -3
  60. package/dist/features/analytics/index.js +129 -127
  61. package/dist/features/analytics/index.js.map +1 -1
  62. package/dist/features/analytics/index.mjs +12 -10
  63. package/dist/features/analytics/index.mjs.map +1 -1
  64. package/dist/features/analytics/server.js +4 -4
  65. package/dist/features/analytics/server.mjs +2 -2
  66. package/dist/features/blog/index.d.mts +4 -4
  67. package/dist/features/blog/index.d.ts +4 -4
  68. package/dist/features/blog/index.js +150 -150
  69. package/dist/features/blog/index.mjs +3 -3
  70. package/dist/features/blog/server.d.mts +4 -4
  71. package/dist/features/blog/server.d.ts +4 -4
  72. package/dist/features/blog/server.js +16 -16
  73. package/dist/features/blog/server.mjs +1 -1
  74. package/dist/features/help/index.js +37 -37
  75. package/dist/features/help/index.mjs +3 -3
  76. package/dist/features/tokenusage/index.js +127 -127
  77. package/dist/features/tokenusage/index.mjs +4 -4
  78. package/dist/index.d.mts +8 -8
  79. package/dist/index.d.ts +8 -8
  80. package/dist/index.js +9 -3
  81. package/dist/index.js.map +1 -1
  82. package/dist/index.mjs +8 -2
  83. package/dist/{notification.interface-BB6GPpZY.d.mts → notification.interface-CF5h90U2.d.mts} +1 -1
  84. package/dist/{notification.interface-CmAGrijJ.d.ts → notification.interface-DQReXAD7.d.ts} +1 -1
  85. package/dist/{s3.service-Bz_K-tjz.d.ts → s3.service-BTCpmp5g.d.ts} +11 -4
  86. package/dist/{s3.service-D5zNCEW3.d.mts → s3.service-CzFBDEuQ.d.mts} +11 -4
  87. package/dist/server/index.d.mts +5 -5
  88. package/dist/server/index.d.ts +5 -5
  89. package/dist/server/index.js +3 -3
  90. package/dist/server/index.mjs +2 -2
  91. package/dist/stripe-price.interface-D6mKjAdr.d.mts +132 -0
  92. package/dist/stripe-price.interface-DGqcklFJ.d.ts +132 -0
  93. package/dist/{useSocket-B0H9pmmH.d.ts → useSocket-BM3q9A0C.d.ts} +1 -1
  94. package/dist/{useSocket-B5RQb6v2.d.mts → useSocket-CwSoq6VS.d.mts} +1 -1
  95. package/dist/{user.interface-CIWGlbqM.d.mts → user.interface-BYnGJ7ss.d.mts} +37 -2
  96. package/dist/{user.interface-C0ZdsBZj.d.ts → user.interface-BqPjVyJI.d.ts} +37 -2
  97. package/messages/en.json +8 -0
  98. package/messages/it.json +8 -0
  99. package/package.json +1 -1
  100. package/src/components/containers/RoundPageContainer.tsx +7 -2
  101. package/src/components/index.ts +5 -0
  102. package/src/features/analytics/components/AnalyticsTracker.tsx +22 -9
  103. package/src/features/analytics/components/__tests__/AnalyticsTracker.spec.tsx +67 -0
  104. package/src/features/analytics/data/__tests__/models.spec.ts +13 -0
  105. package/src/features/analytics/data/analytics-event.ts +1 -0
  106. package/src/features/analytics/data/analytics.types.ts +2 -0
  107. package/src/features/billing/components/containers/BillingDashboardContainer.tsx +20 -3
  108. package/src/features/billing/components/widgets/CreditWarningBanner.tsx +93 -0
  109. package/src/features/billing/data/credit-warning.spec.ts +96 -0
  110. package/src/features/billing/data/credit-warning.ts +57 -0
  111. package/src/features/billing/data/index.ts +3 -0
  112. package/src/features/billing/i18n-keys.ts +6 -0
  113. package/src/features/company/data/company.interface.ts +11 -0
  114. package/src/features/company/data/company.service.ts +17 -0
  115. package/src/features/company/data/company.spec.ts +29 -0
  116. package/src/features/company/data/company.ts +31 -0
  117. package/dist/chunk-IPYXT7MH.js.map +0 -1
  118. package/dist/chunk-T3YQ47EF.js.map +0 -1
  119. package/dist/chunk-U7DR5VDT.mjs.map +0 -1
  120. package/dist/chunk-USYZNWKS.mjs.map +0 -1
  121. package/dist/feature.interface-BO25VLlx.d.ts +0 -19
  122. package/dist/feature.interface-CXb1-vNq.d.mts +0 -19
  123. /package/dist/{BlockNoteEditor-FZNU4YQT.mjs.map → BlockNoteEditor-M6UQRVRK.mjs.map} +0 -0
  124. /package/dist/{BlockNoteViewer-6XDDVTN6.mjs.map → BlockNoteViewer-XZJ5Y7WN.mjs.map} +0 -0
  125. /package/dist/{chunk-GFGKMUPZ.mjs.map → chunk-O2TEUH5S.mjs.map} +0 -0
  126. /package/dist/{chunk-JVJS5RHB.mjs.map → chunk-RUJCWOJE.mjs.map} +0 -0
  127. /package/dist/{chunk-RYZYKG6W.mjs.map → chunk-ZDUT5JPT.mjs.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { A as ApiDataInterface } from './ApiDataInterface-BcZeXy5X.mjs';
2
- import { F as FeatureInterface } from './feature.interface-CXb1-vNq.mjs';
2
+ import { S as StripeSubscriptionInterface, a as StripePriceInterface } from './stripe-price.interface-D6mKjAdr.mjs';
3
3
 
4
4
  interface StripeUsageInterface extends ApiDataInterface {
5
5
  get subscriptionId(): string;
@@ -122,119 +122,6 @@ interface ProrationLineItem {
122
122
  };
123
123
  }
124
124
 
125
- interface StripeProductInterface extends ApiDataInterface {
126
- get stripeProductId(): string;
127
- get name(): string;
128
- get description(): string | undefined;
129
- get active(): boolean;
130
- get metadata(): Record<string, any> | undefined;
131
- get stripePrices(): StripePriceInterface[];
132
- }
133
- type StripeProductInput = {
134
- id: string;
135
- name?: string;
136
- description?: string;
137
- active?: boolean;
138
- metadata?: Record<string, any>;
139
- };
140
-
141
- interface StripePriceInterface extends ApiDataInterface {
142
- get stripePriceId(): string;
143
- get productId(): string;
144
- get product(): StripeProductInterface | undefined;
145
- get active(): boolean;
146
- get currency(): string;
147
- get unitAmount(): number | undefined;
148
- get recurring(): PriceRecurring | undefined;
149
- get priceType(): "one_time" | "recurring";
150
- get nickname(): string | undefined;
151
- get lookupKey(): string | undefined;
152
- get metadata(): Record<string, any> | undefined;
153
- get description(): string | undefined;
154
- get features(): string[] | undefined;
155
- get token(): number | undefined;
156
- get isTrial(): boolean | undefined;
157
- get priceFeatures(): FeatureInterface[];
158
- }
159
- interface PriceRecurring {
160
- interval: "day" | "week" | "month" | "year";
161
- intervalCount: number;
162
- usageType?: "metered" | "licensed";
163
- }
164
- type StripePriceInput = {
165
- id: string;
166
- productId?: string;
167
- currency?: string;
168
- unitAmount?: number;
169
- nickname?: string;
170
- recurring?: {
171
- interval: "day" | "week" | "month" | "year";
172
- intervalCount?: number;
173
- usageType?: "metered" | "licensed";
174
- };
175
- metadata?: Record<string, any>;
176
- description?: string;
177
- features?: string[];
178
- token?: number;
179
- isTrial?: boolean;
180
- featureIds?: string[];
181
- };
182
-
183
- declare enum SubscriptionStatus {
184
- ACTIVE = "active",
185
- PAST_DUE = "past_due",
186
- UNPAID = "unpaid",
187
- CANCELED = "canceled",
188
- INCOMPLETE = "incomplete",
189
- INCOMPLETE_EXPIRED = "incomplete_expired",
190
- TRIALING = "trialing",
191
- PAUSED = "paused"
192
- }
193
- /**
194
- * The discount Stripe applies to the subscription (read-only, synced from Stripe).
195
- * Exactly one of percentOff / amountOff is set.
196
- */
197
- type StripeSubscriptionDiscount = {
198
- percentOff?: number;
199
- amountOff?: number;
200
- currency?: string;
201
- duration: "forever" | "once" | "repeating";
202
- durationInMonths?: number;
203
- end?: Date;
204
- };
205
- interface StripeSubscriptionInterface extends ApiDataInterface {
206
- get stripeSubscriptionId(): string;
207
- get status(): SubscriptionStatus;
208
- get currentPeriodStart(): Date;
209
- get currentPeriodEnd(): Date;
210
- get cancelAtPeriodEnd(): boolean;
211
- get canceledAt(): Date | undefined;
212
- get trialStart(): Date | undefined;
213
- get trialEnd(): Date | undefined;
214
- get price(): StripePriceInterface | undefined;
215
- get discount(): StripeSubscriptionDiscount | undefined;
216
- }
217
- type StripeSubscriptionInput = {
218
- id: string;
219
- priceId?: string;
220
- newPriceId?: string;
221
- cancelImmediately?: boolean;
222
- quantity?: number;
223
- trialPeriodDays?: number;
224
- paymentMethodId?: string;
225
- metadata?: Record<string, any>;
226
- promotionCode?: string;
227
- };
228
- interface StripeSubscriptionCreateMeta {
229
- clientSecret: string | null;
230
- paymentIntentId: string | null;
231
- requiresAction: boolean;
232
- }
233
- interface StripeSubscriptionCreateResponse {
234
- subscription: StripeSubscriptionInterface;
235
- meta: StripeSubscriptionCreateMeta;
236
- }
237
-
238
125
  /**
239
126
  * Promotion code validation result from the backend
240
127
  */
@@ -374,4 +261,4 @@ declare function formatCurrency(amount: number | undefined, currency: string, op
374
261
  */
375
262
  declare function formatFixed(value: number, locale: string | undefined, digits: number): string;
376
263
 
377
- export { type StripeCouponCodeInput as A, type StripeCouponCodeFlagsInput as B, formatInterval as C, formatCurrency as D, formatFixed as E, type BillingFormatOptions as F, type BillingTranslator as G, InvoiceStatus as I, type MeterInterface as M, type PaymentMethodInterface as P, type ReportUsageInput as R, type StripeCustomerInterface as S, type UsageSummaryInterface as U, type StripeInvoiceInterface as a, type ProrationPreviewInterface as b, type ProrationLineItem as c, type StripePriceInterface as d, type PriceRecurring as e, type StripePriceInput as f, type StripeProductInterface as g, type StripeProductInput as h, SubscriptionStatus as i, type StripeSubscriptionDiscount as j, type StripeSubscriptionInterface as k, type StripeSubscriptionInput as l, type StripeSubscriptionCreateMeta as m, type StripeSubscriptionCreateResponse as n, type StripeUsageInterface as o, type MeterSummaryInterface as p, type UsageRecordInterface as q, type PromotionCodeValidationResult as r, type StripeCouponDiscountType as s, type StripeCouponDurationType as t, type StripeCouponInterface as u, type StripeCouponDiscountInput as v, type StripeCouponDurationInput as w, type StripeCouponInput as x, type StripeCouponRenameInput as y, type StripeCouponCodeInterface as z };
264
+ export { type BillingFormatOptions as B, InvoiceStatus as I, type MeterInterface as M, type PaymentMethodInterface as P, type ReportUsageInput as R, type StripeCustomerInterface as S, type UsageSummaryInterface as U, type StripeInvoiceInterface as a, type ProrationPreviewInterface as b, type ProrationLineItem as c, type StripeUsageInterface as d, type MeterSummaryInterface as e, type UsageRecordInterface as f, type PromotionCodeValidationResult as g, type StripeCouponDiscountType as h, type StripeCouponDurationType as i, type StripeCouponInterface as j, type StripeCouponDiscountInput as k, type StripeCouponDurationInput as l, type StripeCouponInput as m, type StripeCouponRenameInput as n, type StripeCouponCodeInterface as o, type StripeCouponCodeInput as p, type StripeCouponCodeFlagsInput as q, formatInterval as r, formatCurrency as s, formatFixed as t, type BillingTranslator as u };
@@ -1,5 +1,5 @@
1
1
  import { A as ApiDataInterface } from './ApiDataInterface-BcZeXy5X.js';
2
- import { F as FeatureInterface } from './feature.interface-BO25VLlx.js';
2
+ import { S as StripeSubscriptionInterface, a as StripePriceInterface } from './stripe-price.interface-DGqcklFJ.js';
3
3
 
4
4
  interface StripeUsageInterface extends ApiDataInterface {
5
5
  get subscriptionId(): string;
@@ -122,119 +122,6 @@ interface ProrationLineItem {
122
122
  };
123
123
  }
124
124
 
125
- interface StripeProductInterface extends ApiDataInterface {
126
- get stripeProductId(): string;
127
- get name(): string;
128
- get description(): string | undefined;
129
- get active(): boolean;
130
- get metadata(): Record<string, any> | undefined;
131
- get stripePrices(): StripePriceInterface[];
132
- }
133
- type StripeProductInput = {
134
- id: string;
135
- name?: string;
136
- description?: string;
137
- active?: boolean;
138
- metadata?: Record<string, any>;
139
- };
140
-
141
- interface StripePriceInterface extends ApiDataInterface {
142
- get stripePriceId(): string;
143
- get productId(): string;
144
- get product(): StripeProductInterface | undefined;
145
- get active(): boolean;
146
- get currency(): string;
147
- get unitAmount(): number | undefined;
148
- get recurring(): PriceRecurring | undefined;
149
- get priceType(): "one_time" | "recurring";
150
- get nickname(): string | undefined;
151
- get lookupKey(): string | undefined;
152
- get metadata(): Record<string, any> | undefined;
153
- get description(): string | undefined;
154
- get features(): string[] | undefined;
155
- get token(): number | undefined;
156
- get isTrial(): boolean | undefined;
157
- get priceFeatures(): FeatureInterface[];
158
- }
159
- interface PriceRecurring {
160
- interval: "day" | "week" | "month" | "year";
161
- intervalCount: number;
162
- usageType?: "metered" | "licensed";
163
- }
164
- type StripePriceInput = {
165
- id: string;
166
- productId?: string;
167
- currency?: string;
168
- unitAmount?: number;
169
- nickname?: string;
170
- recurring?: {
171
- interval: "day" | "week" | "month" | "year";
172
- intervalCount?: number;
173
- usageType?: "metered" | "licensed";
174
- };
175
- metadata?: Record<string, any>;
176
- description?: string;
177
- features?: string[];
178
- token?: number;
179
- isTrial?: boolean;
180
- featureIds?: string[];
181
- };
182
-
183
- declare enum SubscriptionStatus {
184
- ACTIVE = "active",
185
- PAST_DUE = "past_due",
186
- UNPAID = "unpaid",
187
- CANCELED = "canceled",
188
- INCOMPLETE = "incomplete",
189
- INCOMPLETE_EXPIRED = "incomplete_expired",
190
- TRIALING = "trialing",
191
- PAUSED = "paused"
192
- }
193
- /**
194
- * The discount Stripe applies to the subscription (read-only, synced from Stripe).
195
- * Exactly one of percentOff / amountOff is set.
196
- */
197
- type StripeSubscriptionDiscount = {
198
- percentOff?: number;
199
- amountOff?: number;
200
- currency?: string;
201
- duration: "forever" | "once" | "repeating";
202
- durationInMonths?: number;
203
- end?: Date;
204
- };
205
- interface StripeSubscriptionInterface extends ApiDataInterface {
206
- get stripeSubscriptionId(): string;
207
- get status(): SubscriptionStatus;
208
- get currentPeriodStart(): Date;
209
- get currentPeriodEnd(): Date;
210
- get cancelAtPeriodEnd(): boolean;
211
- get canceledAt(): Date | undefined;
212
- get trialStart(): Date | undefined;
213
- get trialEnd(): Date | undefined;
214
- get price(): StripePriceInterface | undefined;
215
- get discount(): StripeSubscriptionDiscount | undefined;
216
- }
217
- type StripeSubscriptionInput = {
218
- id: string;
219
- priceId?: string;
220
- newPriceId?: string;
221
- cancelImmediately?: boolean;
222
- quantity?: number;
223
- trialPeriodDays?: number;
224
- paymentMethodId?: string;
225
- metadata?: Record<string, any>;
226
- promotionCode?: string;
227
- };
228
- interface StripeSubscriptionCreateMeta {
229
- clientSecret: string | null;
230
- paymentIntentId: string | null;
231
- requiresAction: boolean;
232
- }
233
- interface StripeSubscriptionCreateResponse {
234
- subscription: StripeSubscriptionInterface;
235
- meta: StripeSubscriptionCreateMeta;
236
- }
237
-
238
125
  /**
239
126
  * Promotion code validation result from the backend
240
127
  */
@@ -374,4 +261,4 @@ declare function formatCurrency(amount: number | undefined, currency: string, op
374
261
  */
375
262
  declare function formatFixed(value: number, locale: string | undefined, digits: number): string;
376
263
 
377
- export { type StripeCouponCodeInput as A, type StripeCouponCodeFlagsInput as B, formatInterval as C, formatCurrency as D, formatFixed as E, type BillingFormatOptions as F, type BillingTranslator as G, InvoiceStatus as I, type MeterInterface as M, type PaymentMethodInterface as P, type ReportUsageInput as R, type StripeCustomerInterface as S, type UsageSummaryInterface as U, type StripeInvoiceInterface as a, type ProrationPreviewInterface as b, type ProrationLineItem as c, type StripePriceInterface as d, type PriceRecurring as e, type StripePriceInput as f, type StripeProductInterface as g, type StripeProductInput as h, SubscriptionStatus as i, type StripeSubscriptionDiscount as j, type StripeSubscriptionInterface as k, type StripeSubscriptionInput as l, type StripeSubscriptionCreateMeta as m, type StripeSubscriptionCreateResponse as n, type StripeUsageInterface as o, type MeterSummaryInterface as p, type UsageRecordInterface as q, type PromotionCodeValidationResult as r, type StripeCouponDiscountType as s, type StripeCouponDurationType as t, type StripeCouponInterface as u, type StripeCouponDiscountInput as v, type StripeCouponDurationInput as w, type StripeCouponInput as x, type StripeCouponRenameInput as y, type StripeCouponCodeInterface as z };
264
+ export { type BillingFormatOptions as B, InvoiceStatus as I, type MeterInterface as M, type PaymentMethodInterface as P, type ReportUsageInput as R, type StripeCustomerInterface as S, type UsageSummaryInterface as U, type StripeInvoiceInterface as a, type ProrationPreviewInterface as b, type ProrationLineItem as c, type StripeUsageInterface as d, type MeterSummaryInterface as e, type UsageRecordInterface as f, type PromotionCodeValidationResult as g, type StripeCouponDiscountType as h, type StripeCouponDurationType as i, type StripeCouponInterface as j, type StripeCouponDiscountInput as k, type StripeCouponDurationInput as l, type StripeCouponInput as m, type StripeCouponRenameInput as n, type StripeCouponCodeInterface as o, type StripeCouponCodeInput as p, type StripeCouponCodeFlagsInput as q, formatInterval as r, formatCurrency as s, formatFixed as t, type BillingTranslator as u };