@purpleschool/gptbot 0.15.57 → 0.15.59

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 (34) hide show
  1. package/build/commands/product/create-product.command.d.ts +24 -0
  2. package/build/commands/product/find-product.command.d.ts +24 -0
  3. package/build/commands/product/get-my-products.command.d.ts +12 -0
  4. package/build/commands/product/update-product.command.d.ts +24 -0
  5. package/build/commands/subscription/create-subscription.command.d.ts +24 -0
  6. package/build/commands/subscription/find-subscription.command.d.ts +36 -0
  7. package/build/commands/subscription/get-available-upgrades.command.d.ts +24 -0
  8. package/build/commands/subscription/get-free-subscription.command.d.ts +12 -0
  9. package/build/commands/subscription/get-subscriptions-summary.command.d.ts +60 -0
  10. package/build/commands/subscription/update-subscription.command.d.ts +24 -0
  11. package/build/commands/team-account/find-current-team-account-products-by-team-account-id.command.d.ts +12 -0
  12. package/build/commands/team-account/find-current-team-account-products.command.d.ts +12 -0
  13. package/build/commands/team-account/find-current-team-account-subscriptions-by-team-account-id.command.d.ts +12 -0
  14. package/build/commands/team-account/find-current-team-account-subscriptions.command.d.ts +12 -0
  15. package/build/commands/team-account/find-team-account-products.command.d.ts +12 -0
  16. package/build/commands/team-account/find-team-account-subscriptions.command.d.ts +24 -0
  17. package/build/commands/team-account/get-team-account-available-upgrades.command.d.ts +12 -0
  18. package/build/commands/team-to-product/get-team-to-products.command.d.ts +12 -0
  19. package/build/commands/team-to-subscription/get-team-to-subscriptions.command.d.ts +12 -0
  20. package/build/commands/user/get-user-products.command.d.ts +12 -0
  21. package/build/commands/user/get-user-subscriptions.command.d.ts +12 -0
  22. package/build/commands/user-to-subscription/get-user-to-subscriptions.command.d.ts +12 -0
  23. package/build/constants/subscription/enums/subscription-feature-type.enum.d.ts +2 -0
  24. package/build/constants/subscription/enums/subscription-feature-type.enum.js +2 -0
  25. package/build/models/product.schema.d.ts +12 -0
  26. package/build/models/subscription-feature.schema.d.ts +26 -0
  27. package/build/models/subscription-feature.schema.js +13 -1
  28. package/build/models/subscription-upgrade-schema.d.ts +12 -0
  29. package/build/models/subscription.schema.d.ts +60 -0
  30. package/build/models/team-account/team-to-product.schema.d.ts +12 -0
  31. package/build/models/team-account/team-to-subscription.schema.d.ts +12 -0
  32. package/build/models/user-to-product.schema.d.ts +12 -0
  33. package/build/models/user-to-subscription.schema.d.ts +36 -0
  34. package/package.json +1 -1
@@ -289,6 +289,12 @@ export declare const UserToProductWithProductSchema: z.ZodObject<{
289
289
  type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
290
290
  isAvailable: z.ZodBoolean;
291
291
  modelId: z.ZodString;
292
+ }, z.core.$strip>, z.ZodObject<{
293
+ title: z.ZodString;
294
+ icon: z.ZodOptional<z.ZodString>;
295
+ kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
296
+ type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_QUOTA>;
297
+ value: z.ZodNumber;
292
298
  }, z.core.$strip>, z.ZodObject<{
293
299
  title: z.ZodString;
294
300
  icon: z.ZodOptional<z.ZodString>;
@@ -296,6 +302,12 @@ export declare const UserToProductWithProductSchema: z.ZodObject<{
296
302
  type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
297
303
  isAvailable: z.ZodBoolean;
298
304
  modelId: z.ZodString;
305
+ }, z.core.$strip>, z.ZodObject<{
306
+ title: z.ZodString;
307
+ icon: z.ZodOptional<z.ZodString>;
308
+ kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
309
+ type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_QUOTA>;
310
+ value: z.ZodNumber;
299
311
  }, z.core.$strip>, z.ZodObject<{
300
312
  title: z.ZodString;
301
313
  icon: z.ZodOptional<z.ZodString>;
@@ -308,6 +308,12 @@ export declare const UserToSubscriptionWithSubscriptionSchema: z.ZodIntersection
308
308
  type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
309
309
  isAvailable: z.ZodBoolean;
310
310
  modelId: z.ZodString;
311
+ }, z.core.$strip>, z.ZodObject<{
312
+ title: z.ZodString;
313
+ icon: z.ZodOptional<z.ZodString>;
314
+ kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
315
+ type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_QUOTA>;
316
+ value: z.ZodNumber;
311
317
  }, z.core.$strip>, z.ZodObject<{
312
318
  title: z.ZodString;
313
319
  icon: z.ZodOptional<z.ZodString>;
@@ -315,6 +321,12 @@ export declare const UserToSubscriptionWithSubscriptionSchema: z.ZodIntersection
315
321
  type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
316
322
  isAvailable: z.ZodBoolean;
317
323
  modelId: z.ZodString;
324
+ }, z.core.$strip>, z.ZodObject<{
325
+ title: z.ZodString;
326
+ icon: z.ZodOptional<z.ZodString>;
327
+ kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
328
+ type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_QUOTA>;
329
+ value: z.ZodNumber;
318
330
  }, z.core.$strip>, z.ZodObject<{
319
331
  title: z.ZodString;
320
332
  icon: z.ZodOptional<z.ZodString>;
@@ -645,6 +657,12 @@ export declare const UserToSubscriptionWithDowngradeSubscriptionSchema: z.ZodInt
645
657
  type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
646
658
  isAvailable: z.ZodBoolean;
647
659
  modelId: z.ZodString;
660
+ }, z.core.$strip>, z.ZodObject<{
661
+ title: z.ZodString;
662
+ icon: z.ZodOptional<z.ZodString>;
663
+ kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
664
+ type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_QUOTA>;
665
+ value: z.ZodNumber;
648
666
  }, z.core.$strip>, z.ZodObject<{
649
667
  title: z.ZodString;
650
668
  icon: z.ZodOptional<z.ZodString>;
@@ -652,6 +670,12 @@ export declare const UserToSubscriptionWithDowngradeSubscriptionSchema: z.ZodInt
652
670
  type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
653
671
  isAvailable: z.ZodBoolean;
654
672
  modelId: z.ZodString;
673
+ }, z.core.$strip>, z.ZodObject<{
674
+ title: z.ZodString;
675
+ icon: z.ZodOptional<z.ZodString>;
676
+ kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
677
+ type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_QUOTA>;
678
+ value: z.ZodNumber;
655
679
  }, z.core.$strip>, z.ZodObject<{
656
680
  title: z.ZodString;
657
681
  icon: z.ZodOptional<z.ZodString>;
@@ -965,6 +989,12 @@ export declare const UserToSubscriptionWithDowngradeSubscriptionSchema: z.ZodInt
965
989
  type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
966
990
  isAvailable: z.ZodBoolean;
967
991
  modelId: z.ZodString;
992
+ }, z.core.$strip>, z.ZodObject<{
993
+ title: z.ZodString;
994
+ icon: z.ZodOptional<z.ZodString>;
995
+ kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
996
+ type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_QUOTA>;
997
+ value: z.ZodNumber;
968
998
  }, z.core.$strip>, z.ZodObject<{
969
999
  title: z.ZodString;
970
1000
  icon: z.ZodOptional<z.ZodString>;
@@ -972,6 +1002,12 @@ export declare const UserToSubscriptionWithDowngradeSubscriptionSchema: z.ZodInt
972
1002
  type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
973
1003
  isAvailable: z.ZodBoolean;
974
1004
  modelId: z.ZodString;
1005
+ }, z.core.$strip>, z.ZodObject<{
1006
+ title: z.ZodString;
1007
+ icon: z.ZodOptional<z.ZodString>;
1008
+ kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
1009
+ type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_QUOTA>;
1010
+ value: z.ZodNumber;
975
1011
  }, z.core.$strip>, z.ZodObject<{
976
1012
  title: z.ZodString;
977
1013
  icon: z.ZodOptional<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.15.57",
3
+ "version": "0.15.59",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",