@glissandoo/lib 1.0.24 → 1.0.25

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.
@@ -70,5 +70,6 @@ export declare enum FbFunctionName {
70
70
  PartnershipPlanRemove = "partnershipPlan-remove",
71
71
  PartnershipPlanOnUpdate = "partnershipPlan-onUpdate",
72
72
  PartnershipGroupAdd = "partnershipGroup-add",
73
- PartnershipGroupRemove = "partnershipGroup-remove"
73
+ PartnershipGroupRemove = "partnershipGroup-remove",
74
+ MiscAddSubscriber = "misc-addSubscriber"
74
75
  }
@@ -75,4 +75,5 @@ var FbFunctionName;
75
75
  FbFunctionName["PartnershipPlanOnUpdate"] = "partnershipPlan-onUpdate";
76
76
  FbFunctionName["PartnershipGroupAdd"] = "partnershipGroup-add";
77
77
  FbFunctionName["PartnershipGroupRemove"] = "partnershipGroup-remove";
78
+ FbFunctionName["MiscAddSubscriber"] = "misc-addSubscriber";
78
79
  })(FbFunctionName = exports.FbFunctionName || (exports.FbFunctionName = {}));
@@ -6,4 +6,8 @@ export declare namespace MiscFbFunctionsTypes {
6
6
  valid: boolean;
7
7
  message: string;
8
8
  }
9
+ interface MiscAddSubscriberParams {
10
+ email: string;
11
+ }
12
+ type MiscAddSubscriberResult = void;
9
13
  }
@@ -81,6 +81,7 @@ const regionByFunctions = {
81
81
  [index_1.FbFunctionName.PartnershipPlanOnUpdate]: GCloudRegions.EuropeWest6,
82
82
  [index_1.FbFunctionName.PartnershipGroupAdd]: GCloudRegions.EuropeWest6,
83
83
  [index_1.FbFunctionName.PartnershipGroupRemove]: GCloudRegions.EuropeWest6,
84
+ [index_1.FbFunctionName.MiscAddSubscriber]: GCloudRegions.EuropeWest6,
84
85
  };
85
86
  const getFunctionRegion = (fn) => regionByFunctions[fn] || defaultRegion;
86
87
  exports.getFunctionRegion = getFunctionRegion;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",