@brandwave/ts 0.3.5 → 0.3.9

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 CHANGED
@@ -57,7 +57,7 @@ export { Conversion, ConversionCreateResult, ConversionInList, ConversionUpdateR
57
57
  export { ConversionSource, ConversionSourceCreateResult, ConversionSourceInList, ConversionSourceUpdateResult } from '@brandwave/database/queries/conversion-sources/types';
58
58
  export { CostInList } from '@brandwave/database/queries/costs/types';
59
59
  export { LimitedResource, buildPlanLimitExceededMessage, getEnforcedLimit, limitedResources } from '@brandwave/database/queries/billing/plan-limits';
60
- export { billingPlanCatalog, billingPlans, stripePriceEnvKeys, stripeProductEnvKeys } from '@brandwave/database/queries/billing/catalog';
60
+ export { billingPlanCatalog, billingPlans, getBillingPlanRank, getNextBillingPlanKey, isHighestBillingPlan, stripePriceEnvKeys, stripeProductEnvKeys } from '@brandwave/database/queries/billing/catalog';
61
61
  export { isValidContentUrl } from '@brandwave/database/social-media/content-url';
62
62
  export { isValidSocialInput } from '@brandwave/database/social-media/extract';
63
63
 
@@ -1269,18 +1269,26 @@ declare const createBillingResource: (http: HttpClient) => {
1269
1269
  creators: {
1270
1270
  used: number;
1271
1271
  limit: number;
1272
+ netAddedLast30Days: number;
1273
+ projectedDaysToLimit: number | null;
1272
1274
  };
1273
1275
  linkedSocialAccounts: {
1274
1276
  used: number;
1275
1277
  limit: number;
1278
+ netAddedLast30Days: number;
1279
+ projectedDaysToLimit: number | null;
1276
1280
  };
1277
1281
  activities: {
1278
1282
  used: number;
1279
1283
  limit: number;
1284
+ netAddedLast30Days: number;
1285
+ projectedDaysToLimit: number | null;
1280
1286
  };
1281
1287
  campaigns: {
1282
1288
  used: number;
1283
1289
  limit: number;
1290
+ netAddedLast30Days: number;
1291
+ projectedDaysToLimit: number | null;
1284
1292
  };
1285
1293
  };
1286
1294
  }>>;
@@ -3894,18 +3902,26 @@ declare const createBrandwave: (options: BrandwaveOptions) => {
3894
3902
  creators: {
3895
3903
  used: number;
3896
3904
  limit: number;
3905
+ netAddedLast30Days: number;
3906
+ projectedDaysToLimit: number | null;
3897
3907
  };
3898
3908
  linkedSocialAccounts: {
3899
3909
  used: number;
3900
3910
  limit: number;
3911
+ netAddedLast30Days: number;
3912
+ projectedDaysToLimit: number | null;
3901
3913
  };
3902
3914
  activities: {
3903
3915
  used: number;
3904
3916
  limit: number;
3917
+ netAddedLast30Days: number;
3918
+ projectedDaysToLimit: number | null;
3905
3919
  };
3906
3920
  campaigns: {
3907
3921
  used: number;
3908
3922
  limit: number;
3923
+ netAddedLast30Days: number;
3924
+ projectedDaysToLimit: number | null;
3909
3925
  };
3910
3926
  };
3911
3927
  }>>;