@glissandoo/lib 1.129.0 → 1.130.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.
@@ -16,8 +16,8 @@ export declare namespace CommunicationFbFunctionsTypes {
16
16
  recipients: string[];
17
17
  templateId: string | null;
18
18
  type: CommunicationType;
19
- format: CommunicationFormat;
20
- survey: SurveyParams | null;
19
+ format?: CommunicationFormat;
20
+ survey?: SurveyParams | null;
21
21
  imagesPath: string[];
22
22
  attachmentsPath: string[];
23
23
  blockAnswers: boolean;
@@ -32,8 +32,8 @@ export declare namespace CommunicationFbFunctionsTypes {
32
32
  recipients: string[];
33
33
  templateId: string | null;
34
34
  type: CommunicationType;
35
- format: CommunicationFormat;
36
- survey: SurveyParams | null;
35
+ format?: CommunicationFormat;
36
+ survey?: SurveyParams | null;
37
37
  imagesPath: string[];
38
38
  attachmentsPath: string[];
39
39
  blockAnswers: boolean;
@@ -31,6 +31,7 @@ export declare namespace UserFbFunctionsTypes {
31
31
  type JoinEventResult = void;
32
32
  interface RecoveryPasswordParams {
33
33
  email: string;
34
+ captchaToken?: string;
34
35
  }
35
36
  type RecoveryPasswordResult = void;
36
37
  }
@@ -86,7 +86,8 @@ export declare enum HttpsErrorMessages {
86
86
  GroupModuleAlreadyDisabled = "error.groupModule.alreadyDisabled",
87
87
  GroupModuleAlreadyEnabled = "error.groupModule.alreadyEnabled",
88
88
  GroupModuleNotEnabled = "error.groupModule.notEnabled",
89
- EventPayoutNotInitialized = "error.eventPayout.notInitialized"
89
+ EventPayoutNotInitialized = "error.eventPayout.notInitialized",
90
+ InvalidCaptcha = "error.captcha.noValid"
90
91
  }
91
92
  export interface HttpsErrorDetails extends Record<HttpsErrorMessages, unknown> {
92
93
  [HttpsErrorMessages.ThemesWithCustomInstrumentsToBeDeleted]: {
package/helpers/errors.js CHANGED
@@ -88,4 +88,5 @@ var HttpsErrorMessages;
88
88
  HttpsErrorMessages["GroupModuleAlreadyEnabled"] = "error.groupModule.alreadyEnabled";
89
89
  HttpsErrorMessages["GroupModuleNotEnabled"] = "error.groupModule.notEnabled";
90
90
  HttpsErrorMessages["EventPayoutNotInitialized"] = "error.eventPayout.notInitialized";
91
+ HttpsErrorMessages["InvalidCaptcha"] = "error.captcha.noValid";
91
92
  })(HttpsErrorMessages = exports.HttpsErrorMessages || (exports.HttpsErrorMessages = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.129.0",
3
+ "version": "1.130.0",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",