@glissandoo/lib 1.0.31 → 1.0.33

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.
@@ -1,7 +1,7 @@
1
1
  import { EventPromoterData } from '../models/Evento/types';
2
2
  import { FederationData } from '../models/Federation/types';
3
3
  export declare namespace FederationFbFunctionsTypes {
4
- type CreateParams = Pick<FederationData, 'displayName' | 'photoURL' | 'email' | 'phone' | 'web' | 'address' | 'adminIds'> & {
4
+ type CreateParams = Pick<FederationData, 'displayName' | 'photoURL' | 'email' | 'phone' | 'web' | 'address'> & {
5
5
  federationId: string;
6
6
  };
7
7
  type CreateResult = void;
@@ -37,7 +37,7 @@ export declare namespace FederationPartnershipFbFunctionsTypes {
37
37
  partnershipId: string;
38
38
  }
39
39
  type SendInvitationToJoinEmailResult = void;
40
- interface FederationPartnershipAddManualParams {
40
+ interface AddManualParams {
41
41
  federationId: string;
42
42
  partnershipId: string;
43
43
  formData: {
@@ -51,13 +51,13 @@ export declare namespace FederationPartnershipFbFunctionsTypes {
51
51
  CIF: string;
52
52
  };
53
53
  }
54
- type FederationPartnershipAddManualResult = void;
55
- interface FederationPartnershipRemoveManualParams {
54
+ type AddManualResult = void;
55
+ interface RemoveManualParams {
56
56
  federationId: string;
57
57
  partnershipId: string;
58
58
  }
59
- type FederationPartnershipRemoveManualResult = void;
60
- interface FederationPartnershipEditManualParams {
59
+ type RemoveManualResult = void;
60
+ interface EditManualParams {
61
61
  federationId: string;
62
62
  partnershipId: string;
63
63
  formData: {
@@ -71,5 +71,5 @@ export declare namespace FederationPartnershipFbFunctionsTypes {
71
71
  CIF: string;
72
72
  };
73
73
  }
74
- type FederationPartnershipEditManualResult = void;
74
+ type EditManualResult = void;
75
75
  }
@@ -10,7 +10,7 @@ export declare namespace MiscFbFunctionsTypes {
10
10
  email: string;
11
11
  name?: string;
12
12
  lastname?: string;
13
- downloadEbook: boolean;
13
+ downloadEbook?: boolean;
14
14
  }
15
15
  type MiscAddSubscriberResult = void;
16
16
  }
package/helpers/auth.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { FbFunctionName } from '../functions';
1
2
  import { LanguagesTypes } from '../lang';
2
3
  import { GroupPlayerRole } from '../models/Group/Player/types';
3
4
  export interface AuthUserClaims {
@@ -17,5 +18,7 @@ export declare enum AuthErrors {
17
18
  export interface AuthURLParams {
18
19
  error?: string;
19
20
  return_to?: string;
21
+ callbackFbName?: FbFunctionName;
22
+ callbackFbParam?: string;
20
23
  }
21
24
  export declare const getAuthURL: (path: string, lang: LanguagesTypes, params?: AuthURLParams | undefined) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",