@purpleschool/gptbot 0.15.87-stage-2 → 0.15.89-stage-2

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.
@@ -22,12 +22,14 @@ export declare const REST_API: {
22
22
  readonly FIND_BY_CRITERIA: "/api/users/criteria";
23
23
  readonly FIND_BY_UUID: (uuid: string) => string;
24
24
  readonly GET_BALANCE: (uuid: string) => string;
25
+ readonly ADJUST_BONUS_BALANCE: (uuid: string) => string;
25
26
  readonly GET_ORDERS: (uuid: string) => string;
26
27
  readonly GET_PAYMENTS: (uuid: string) => string;
27
28
  readonly GET_SUBSCRIPTIONS: (uuid: string) => string;
28
29
  readonly CANCEL_SUBSCRIPTION: (uuid: string) => string;
29
30
  readonly GET_PRODUCTS: (uuid: string) => string;
30
31
  readonly CANCEL_PRODUCT: (uuid: string) => string;
32
+ readonly GRANT_PRODUCT: (uuid: string) => string;
31
33
  readonly GET_COUNT_NOTIFICATION: "/api/users/broadcast/count";
32
34
  readonly SEND_NOTIFICATION: "/api/users/broadcast";
33
35
  readonly DELETE_ACCOUNT: "/api/users/delete-account";
@@ -60,12 +60,14 @@ exports.REST_API = {
60
60
  FIND_BY_CRITERIA: `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.FIND_BY_CRITERIA}`,
61
61
  FIND_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.FIND_BY_UUID(uuid)}`,
62
62
  GET_BALANCE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.GET_BALANCE(uuid)}`,
63
+ ADJUST_BONUS_BALANCE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.ADJUST_BONUS_BALANCE(uuid)}`,
63
64
  GET_ORDERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.GET_ORDERS(uuid)}`,
64
65
  GET_PAYMENTS: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.GET_PAYMENTS(uuid)}`,
65
66
  GET_SUBSCRIPTIONS: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.GET_SUBSCRIPTIONS(uuid)}`,
66
67
  CANCEL_SUBSCRIPTION: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.CANCEL_SUBSCRIPTION(uuid)}`,
67
68
  GET_PRODUCTS: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.GET_PRODUCTS(uuid)}`,
68
69
  CANCEL_PRODUCT: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.CANCEL_PRODUCT(uuid)}`,
70
+ GRANT_PRODUCT: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.GRANT_PRODUCT(uuid)}`,
69
71
  GET_COUNT_NOTIFICATION: `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.GET_COUNT_NOTIFICATION}`,
70
72
  SEND_NOTIFICATION: `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.SEND_NOTIFICATION}`,
71
73
  DELETE_ACCOUNT: `${exports.ROOT}/${CONTROLLERS.USER_CONTROLLER}/${CONTROLLERS.USER_ROUTES.DELETE_ACCOUNT}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.15.87-stage-2",
3
+ "version": "0.15.89-stage-2",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",