@pushwoosh/session-store 2.3.6 → 2.4.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.
- package/dist/entities/account.d.ts +0 -5
- package/dist/entities/account.d.ts.map +1 -1
- package/dist/entities/counters.d.ts +18 -18
- package/dist/entities/counters.d.ts.map +1 -1
- package/dist/entities/permissions.d.ts +22 -22
- package/dist/entities/permissions.d.ts.map +1 -1
- package/dist/entities/platforms.d.ts +13 -13
- package/dist/entities/restrictions.d.ts +80 -80
- package/dist/entities/restrictions.d.ts.map +1 -1
- package/dist/entities/user.d.ts +10 -10
- package/dist/entities/user.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/session-store.d.ts +9 -9
- package/package.json +3 -3
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';
|
|
2
|
-
import { type NonNullableReturnType } from '../types';
|
|
3
2
|
type AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;
|
|
4
|
-
type CurrentOrderRes = NonNullableReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['getCurrentOrder']>;
|
|
5
|
-
type CurrentOrderAsObject = ReturnType<CurrentOrderRes['toObject']>;
|
|
6
3
|
export declare enum ProductType {
|
|
7
4
|
FREE = "Free",
|
|
8
5
|
DEVELOPER = "Developer",
|
|
@@ -23,8 +20,6 @@ export declare class Account {
|
|
|
23
20
|
readonly registrationDate: string;
|
|
24
21
|
/** Наличие активной подписки */
|
|
25
22
|
readonly hasActiveOrder: boolean;
|
|
26
|
-
/** Текущая подписка */
|
|
27
|
-
readonly currentOrder?: CurrentOrderAsObject;
|
|
28
23
|
/** Данные для выставления счетов */
|
|
29
24
|
readonly billing: {
|
|
30
25
|
/** Название компании */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/entities/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/entities/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAIxE,KAAK,uBAAuB,GAAG,UAAU,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC,iBAAiB,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;AAEhH,oBAAY,WAAW;IACrB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,UAAU,eAAe;CAC1B;AAED;;GAEG;AACH,qBAAa,OAAO;IAClB,kBAAkB;IAClB,SAAgB,EAAE,EAAE,MAAM,CAAC;IAE3B,wBAAwB;IACxB,SAAgB,IAAI,EAAE,MAAM,CAAC;IAE7B,qBAAqB;IACrB,SAAgB,MAAM,EAAE,MAAM,CAAC;IAE/B,gCAAgC;IAChC,SAAgB,gBAAgB,EAAE,MAAM,CAAC;IAEzC,gCAAgC;IAChC,SAAgB,cAAc,EAAE,OAAO,CAAC;IAExC,oCAAoC;IACpC,SAAgB,OAAO,EAAE;QACvB,wBAAwB;QACxB,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;QAEzC,wBAAwB;QACxB,QAAQ,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;QAEhD,aAAa;QACb,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;QAE5C,iBAAiB;QACjB,QAAQ,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;QAEhD,4BAA4B;QAC5B,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;QAE1C,iCAAiC;QACjC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;QAE9C,YAAY;QACZ,QA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C,8BAA8B;IAC9B,SAAgB,UAAU,EAAE,MAAM,CAAC;IAEnC,2BAA2B;IAC3B,SAAgB,QAAQ,EAAE,OAAO,CAAC;IAElC,iDAAiD;IACjD,SAAgB,oBAAoB,EAAE,OAAO,CAAC;IAE9C,6BAA6B;IAC7B,SAAgB,UAAU,EAAE;QAC1B,6BAA6B;QAC7B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;QAElC,gFAAgF;QAChF,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAC;QAE1C,sEAAsE;QACtE,QAAQ,CAAC,2BAA2B,EAAE,MAAM,CAAC;QAE7C,6CAA6C;QAC7C,QAAQ,CAAC,yBAAyB,EAAE,MAAM,GAAG,SAAS,CAAC;QAEvD,oDAAoD;QACpD,QAAQ,CAAC,yBAAyB,EAAE,MAAM,GAAG,SAAS,CAAC;KACxD,CAAC;gBAEU,WAAW,EAAE,uBAAuB;CAmDjD"}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';
|
|
2
2
|
type AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Account owner's counters
|
|
5
5
|
*/
|
|
6
6
|
export declare class Counters {
|
|
7
|
-
/**
|
|
7
|
+
/** Number of existing "Applications" */
|
|
8
8
|
readonly totalApplicationsCount: number;
|
|
9
|
-
/**
|
|
9
|
+
/** Number of existing "Application Groups" */
|
|
10
10
|
readonly totalApplicationGroupsCount: number;
|
|
11
|
-
/**
|
|
11
|
+
/** Number of existing "Campaigns" */
|
|
12
12
|
readonly totalCampaignsCount: number;
|
|
13
|
-
/**
|
|
13
|
+
/** Number of existing "Tags" */
|
|
14
14
|
readonly totalTagsCount: number;
|
|
15
|
-
/**
|
|
15
|
+
/** Number of existing "Filters" */
|
|
16
16
|
readonly totalFiltersCount: number;
|
|
17
|
-
/**
|
|
17
|
+
/** Number of existing "Events" */
|
|
18
18
|
readonly totalEventsCount: number;
|
|
19
|
-
/**
|
|
19
|
+
/** Number of existing "Rich Media" */
|
|
20
20
|
readonly totalRichMediaCount: number;
|
|
21
|
-
/**
|
|
21
|
+
/** Number of existing "In Apps" */
|
|
22
22
|
readonly totalInAppsCount: number;
|
|
23
|
-
/**
|
|
23
|
+
/** Number of existing configured domains */
|
|
24
24
|
readonly totalDomainsCount: number;
|
|
25
|
-
/**
|
|
25
|
+
/** Number of existing configured email addresses */
|
|
26
26
|
readonly totalMailsCount: number;
|
|
27
|
-
/**
|
|
27
|
+
/** Number of existing email templates */
|
|
28
28
|
readonly totalEmailTemplatesCount: number;
|
|
29
|
-
/**
|
|
29
|
+
/** Number of existing "Presets" */
|
|
30
30
|
readonly totalPresetsCount: number;
|
|
31
|
-
/**
|
|
31
|
+
/** Number of existing "Auto Pushes" */
|
|
32
32
|
readonly totalAutoPushesCount: number;
|
|
33
|
-
/**
|
|
33
|
+
/** Number of existing "Geozones" */
|
|
34
34
|
readonly totalGeozonesCount: number;
|
|
35
|
-
/**
|
|
35
|
+
/** Number of existing "Deep Links" */
|
|
36
36
|
readonly totalDeepLinksCount: number;
|
|
37
|
-
/**
|
|
37
|
+
/** Number of existing "Rss Feeds" */
|
|
38
38
|
readonly totalRssFeedsCount: number;
|
|
39
|
-
/**
|
|
39
|
+
/** Number of existing "Test Devices" */
|
|
40
40
|
readonly totalTestDevicesCount: number;
|
|
41
41
|
constructor(accountData: AuthInfoAccountAsObject);
|
|
42
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"counters.d.ts","sourceRoot":"","sources":["../../src/entities/counters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAExE,KAAK,uBAAuB,GAAG,UAAU,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC,iBAAiB,CAAC,CAAC,UAAU,CAAC,CAA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;IACxC,SAAgB,qBAAqB,EAAE,MAAM,CAAC;gBAElC,WAAW,EAAE,uBAAuB;CAmBjD"}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';
|
|
2
2
|
type AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Permissions for using the functionality from the account owner's side
|
|
5
5
|
*/
|
|
6
6
|
export declare class Permissions {
|
|
7
|
-
/**
|
|
7
|
+
/** Does the user have super rights */
|
|
8
8
|
readonly hasSuperRights: boolean;
|
|
9
|
-
/**
|
|
9
|
+
/** Can the user manage the subscription */
|
|
10
10
|
readonly canManageSubscription: boolean;
|
|
11
|
-
/**
|
|
11
|
+
/** Can the user manage access tokens */
|
|
12
12
|
readonly canManageAccessTokens: boolean;
|
|
13
|
-
/**
|
|
13
|
+
/** Can the user manage domains and email addresses */
|
|
14
14
|
readonly canManageDomainsAndEmails: boolean;
|
|
15
|
-
/**
|
|
15
|
+
/** Can the user manage other users' rights */
|
|
16
16
|
readonly canManageSubUsers: boolean;
|
|
17
|
-
/**
|
|
17
|
+
/** Can the user view applications */
|
|
18
18
|
readonly canSeeApplications: boolean;
|
|
19
|
-
/**
|
|
19
|
+
/** Can the user edit applications */
|
|
20
20
|
readonly canModifyApplications: boolean;
|
|
21
|
-
/**
|
|
21
|
+
/** Can the user view application groups */
|
|
22
22
|
readonly canSeeApplicationGroups: boolean;
|
|
23
|
-
/**
|
|
23
|
+
/** Can the user edit application groups */
|
|
24
24
|
readonly canModifyApplicationGroups: boolean;
|
|
25
|
-
/**
|
|
25
|
+
/** Can the user view sent messages */
|
|
26
26
|
readonly canSeeMessages: boolean;
|
|
27
|
-
/**
|
|
27
|
+
/** Can the user edit (cancel) sent messages */
|
|
28
28
|
readonly canModifyMessages: boolean;
|
|
29
|
-
/**
|
|
29
|
+
/** Can the user send messages */
|
|
30
30
|
readonly canSendMessages: boolean;
|
|
31
|
-
/**
|
|
31
|
+
/** Can the user view tags */
|
|
32
32
|
readonly canSeeTags: boolean;
|
|
33
|
-
/**
|
|
33
|
+
/** Can the user edit tags */
|
|
34
34
|
readonly canModifyTags: boolean;
|
|
35
|
-
/**
|
|
35
|
+
/** Can the user view segments */
|
|
36
36
|
readonly canSeeSegments: boolean;
|
|
37
|
-
/**
|
|
37
|
+
/** Can the user edit segments */
|
|
38
38
|
readonly canModifySegments: boolean;
|
|
39
|
-
/**
|
|
39
|
+
/** Can the user view rich media */
|
|
40
40
|
readonly canSeeRichMedia: boolean;
|
|
41
|
-
/**
|
|
41
|
+
/** Can the user edit rich media */
|
|
42
42
|
readonly canModifyRichMedia: boolean;
|
|
43
|
-
/**
|
|
43
|
+
/** Can the user view in-apps */
|
|
44
44
|
readonly canSeeInApps: boolean;
|
|
45
|
-
/**
|
|
45
|
+
/** Can the user view email templates */
|
|
46
46
|
readonly canSeeEmailTemplates: boolean;
|
|
47
|
-
/**
|
|
47
|
+
/** Can the user edit email templates */
|
|
48
48
|
readonly canModifyEmailTemplates: boolean;
|
|
49
49
|
constructor(account: AuthInfoAccountAsObject);
|
|
50
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../src/entities/permissions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAExE,KAAK,uBAAuB,GAAG,UAAU,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC,iBAAiB,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;AAEhH;;GAEG;AACH,qBAAa,WAAW;IACtB,
|
|
1
|
+
{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../src/entities/permissions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAExE,KAAK,uBAA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AAwC;IACxC,SAAgB,uBAAuB,EAAE,OAAO,CAAC;gBAErC,OAAO,EAAE,uBAAuB;CAqC7C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';
|
|
2
2
|
type AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Platform identifier.
|
|
5
5
|
*/
|
|
6
6
|
export declare enum Platform {
|
|
7
7
|
IOS = 1,
|
|
@@ -21,7 +21,7 @@ export declare enum Platform {
|
|
|
21
21
|
WHATSAPP = 21
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Platform name.
|
|
25
25
|
*/
|
|
26
26
|
export declare enum PlatformName {
|
|
27
27
|
IOS = "iOS",
|
|
@@ -41,33 +41,33 @@ export declare enum PlatformName {
|
|
|
41
41
|
WHATSAPP = "WhatsApp"
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Helper class for working with platforms.
|
|
45
45
|
*/
|
|
46
46
|
export declare class Platforms {
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Filter out unknown values.
|
|
49
49
|
*
|
|
50
|
-
* @param { Array<number> } platforms -
|
|
51
|
-
* @return { Array<Platform> } platforms -
|
|
50
|
+
* @param { Array<number> } platforms - array of available platforms.
|
|
51
|
+
* @return { Array<Platform> } platforms - safe array of available platforms.
|
|
52
52
|
*/
|
|
53
53
|
private static filterAllowPlatforms;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Get the platform name by its identifier.
|
|
56
56
|
*
|
|
57
|
-
* @param { Platform } platform -
|
|
58
|
-
* @return { string }
|
|
57
|
+
* @param { Platform } platform - platform identifier.
|
|
58
|
+
* @return { string } platform identifier.
|
|
59
59
|
*/
|
|
60
60
|
static getPlatformName: (platform: Platform) => string;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Array of available platforms.
|
|
63
63
|
*/
|
|
64
64
|
readonly available: Array<Platform>;
|
|
65
65
|
constructor(accountData: AuthInfoAccountAsObject);
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Check if the platform is available for use.
|
|
68
68
|
*
|
|
69
|
-
* @param { Platform } platform -
|
|
70
|
-
* @return { boolean } -
|
|
69
|
+
* @param { Platform } platform - platform identifier.
|
|
70
|
+
* @return { boolean } - is the platform available for use.
|
|
71
71
|
*/
|
|
72
72
|
checkIsAvailablePlatform: (platform: Platform) => boolean;
|
|
73
73
|
}
|
|
@@ -1,165 +1,165 @@
|
|
|
1
1
|
import type { RestrictionsData } from '../session-store.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Restrictions on the use of functionality from the PW side
|
|
4
4
|
*/
|
|
5
5
|
export declare class Restrictions {
|
|
6
|
-
/**
|
|
6
|
+
/** Is the use of sub-users allowed */
|
|
7
7
|
readonly allowUseSubUsers: boolean;
|
|
8
|
-
/**
|
|
8
|
+
/** The number of users available (including the account owner) */
|
|
9
9
|
readonly maxUsersCount: number;
|
|
10
|
-
/**
|
|
10
|
+
/** Is the use of Baidu Android allowed */
|
|
11
11
|
readonly allowUseBaiduAndroid: boolean;
|
|
12
|
-
/**
|
|
12
|
+
/** The number of devices available */
|
|
13
13
|
readonly maxDevicesCount: number;
|
|
14
|
-
/**
|
|
14
|
+
/** The number of "Applications" available */
|
|
15
15
|
readonly maxApplicationsCount: number;
|
|
16
|
-
/**
|
|
16
|
+
/** The number of "Application Groups" available */
|
|
17
17
|
readonly maxApplicationGroupsCount: number;
|
|
18
|
-
/**
|
|
18
|
+
/** Is the use of "Application Groups" allowed */
|
|
19
19
|
readonly allowUseApplicationGroups: boolean;
|
|
20
|
-
/**
|
|
20
|
+
/** The number of "Campaigns" available */
|
|
21
21
|
readonly maxCampaignsCount: number;
|
|
22
|
-
/**
|
|
22
|
+
/** Is the use of "Campaigns" allowed */
|
|
23
23
|
readonly allowUseCampaigns: boolean;
|
|
24
|
-
/**
|
|
24
|
+
/** The number of "Tags" available */
|
|
25
25
|
readonly maxTagsCount: number;
|
|
26
|
-
/**
|
|
26
|
+
/** Is the use of "Tags" allowed */
|
|
27
27
|
readonly allowUseTags: boolean;
|
|
28
|
-
/**
|
|
28
|
+
/** Is the use of "User Specific Tags" allowed */
|
|
29
29
|
readonly allowUseUserSpecificTags: boolean;
|
|
30
|
-
/**
|
|
30
|
+
/** The number of "Filters" available */
|
|
31
31
|
readonly maxFiltersCount: number;
|
|
32
|
-
/**
|
|
32
|
+
/** The number of "Fast Filters" available */
|
|
33
33
|
readonly maxFastFiltersCount: number;
|
|
34
|
-
/**
|
|
34
|
+
/** Is the use of "Filters" allowed */
|
|
35
35
|
readonly allowUseFilters: boolean;
|
|
36
|
-
/**
|
|
36
|
+
/** Is the use of "Filters Compiling" allowed */
|
|
37
37
|
readonly allowUseFiltersCompiling: boolean;
|
|
38
|
-
/**
|
|
38
|
+
/** Is the use of "Filter With Tag Not Set" allowed */
|
|
39
39
|
readonly allowUseFiltersWithTagNotSet: boolean;
|
|
40
|
-
/**
|
|
40
|
+
/** The number of "Events" available */
|
|
41
41
|
readonly maxEventsCount: number;
|
|
42
|
-
/**
|
|
42
|
+
/** Is the use of "Events" allowed */
|
|
43
43
|
readonly allowUseEvents: boolean;
|
|
44
|
-
/**
|
|
44
|
+
/** The number of "Rich Media" available */
|
|
45
45
|
readonly maxRichMediaCount: number;
|
|
46
|
-
/**
|
|
46
|
+
/** Is the use of "Rich Media" allowed */
|
|
47
47
|
readonly allowUseRichMedia: boolean;
|
|
48
|
-
/**
|
|
48
|
+
/** The number of "In Apps" available */
|
|
49
49
|
readonly maxInAppsCount: number;
|
|
50
|
-
/**
|
|
50
|
+
/** Is the use of "InApps" allowed */
|
|
51
51
|
readonly allowUseInApps: boolean;
|
|
52
|
-
/**
|
|
52
|
+
/** The number of configured email addresses available */
|
|
53
53
|
readonly maxMailsCount: number;
|
|
54
|
-
/**
|
|
54
|
+
/** The number of configured domains available */
|
|
55
55
|
readonly maxDomainsCount: number;
|
|
56
|
-
/**
|
|
56
|
+
/** The number of email templates available */
|
|
57
57
|
readonly maxEmailTemplatesCount: number;
|
|
58
|
-
/**
|
|
58
|
+
/** Is the use of Email allowed */
|
|
59
59
|
readonly allowUseEmailPlatform: boolean;
|
|
60
|
-
/**
|
|
60
|
+
/** The number of "Presets" available */
|
|
61
61
|
readonly maxPresetsCount: number;
|
|
62
|
-
/**
|
|
62
|
+
/** Is the use of "Presets" allowed */
|
|
63
63
|
readonly allowUsePresets: boolean;
|
|
64
|
-
/**
|
|
64
|
+
/** The number of "Auto Pushes" available */
|
|
65
65
|
readonly maxAutoPushesCount: number;
|
|
66
|
-
/**
|
|
66
|
+
/** Is the use of "Auto Pushes" allowed */
|
|
67
67
|
readonly allowUseAutoPushes: boolean;
|
|
68
|
-
/**
|
|
68
|
+
/** Is the use of "Geozones" allowed */
|
|
69
69
|
readonly allowUseGeozones: boolean;
|
|
70
|
-
/**
|
|
70
|
+
/** Is sending messages using "Geozones" allowed */
|
|
71
71
|
readonly allowUseSendToGeozones: boolean;
|
|
72
|
-
/**
|
|
72
|
+
/** The number of "Geozones" available */
|
|
73
73
|
readonly maxGeozonesCount: number;
|
|
74
|
-
/**
|
|
74
|
+
/** The maximum range of "Geozone" */
|
|
75
75
|
readonly maxGeozoneRange: number;
|
|
76
|
-
/**
|
|
76
|
+
/** The minimum range of "Geozone" */
|
|
77
77
|
readonly minGeozoneRange: number;
|
|
78
|
-
/**
|
|
78
|
+
/** The number of "Deep Links" available */
|
|
79
79
|
readonly maxDeepLinksCount: number;
|
|
80
|
-
/**
|
|
80
|
+
/** Is the use of "Deep Links" allowed */
|
|
81
81
|
readonly allowUseDeepLinks: boolean;
|
|
82
|
-
/**
|
|
82
|
+
/** The number of "Twitter Feeds" available */
|
|
83
83
|
readonly maxTwitterFeedsCount: number;
|
|
84
|
-
/**
|
|
84
|
+
/** Is the use of "Twitter Feeds" allowed */
|
|
85
85
|
readonly allowUseTwitterFeeds: boolean;
|
|
86
|
-
/**
|
|
86
|
+
/** The number of "Rss Feeds" available */
|
|
87
87
|
readonly maxRssFeedsCount: number;
|
|
88
|
-
/**
|
|
88
|
+
/** Is the use of "Rss Feeds" allowed */
|
|
89
89
|
readonly allowUseRssFeeds: boolean;
|
|
90
|
-
/**
|
|
90
|
+
/** Is the use of "Rss Feeds Custom Polling Interval" allowed */
|
|
91
91
|
readonly allowUseRssFeedsCustomPollingInterval: boolean;
|
|
92
|
-
/**
|
|
92
|
+
/** The number of "Test Devices" available */
|
|
93
93
|
readonly maxTestDevicesCount: number;
|
|
94
|
-
/**
|
|
94
|
+
/** Is the use of "Test Devices" allowed */
|
|
95
95
|
readonly allowUseTestDevices: boolean;
|
|
96
|
-
/**
|
|
96
|
+
/** Is the use of "Access Tokens" allowed */
|
|
97
97
|
readonly allowUseAccessTokens: boolean;
|
|
98
|
-
/**
|
|
98
|
+
/** Is the use of "Data Keys" allowed */
|
|
99
99
|
readonly allowUseDataKeys: boolean;
|
|
100
|
-
/**
|
|
100
|
+
/** Is the use of various statistics allowed */
|
|
101
101
|
readonly allowUseStatistics: boolean;
|
|
102
|
-
/**
|
|
102
|
+
/** Is sending messages on schedule allowed */
|
|
103
103
|
readonly allowUseScheduling: boolean;
|
|
104
|
-
/**
|
|
104
|
+
/** Is the use of iOS platform auto-configuration allowed */
|
|
105
105
|
readonly allowUseIOSAutoConfig: boolean;
|
|
106
|
-
/**
|
|
106
|
+
/** Is the use of two-factor authentication allowed */
|
|
107
107
|
readonly allowUseTwoFactorAuth: boolean;
|
|
108
|
-
/**
|
|
108
|
+
/** Is sending messages via CSV allowed */
|
|
109
109
|
readonly allowUseSendMessageByCsv: boolean;
|
|
110
|
-
/**
|
|
110
|
+
/** Is the use of "AB Tests" allowed */
|
|
111
111
|
readonly allowUseAbTests: boolean;
|
|
112
|
-
/**
|
|
112
|
+
/** Is the use of "Html Pages" allowed */
|
|
113
113
|
readonly allowUseHtmlPages: boolean;
|
|
114
|
-
/**
|
|
114
|
+
/** Is the use of "Remote Pages" allowed */
|
|
115
115
|
readonly allowUseRemotePage: boolean;
|
|
116
|
-
/**
|
|
116
|
+
/** Is the use of "iOS Categories" allowed */
|
|
117
117
|
readonly allowUseIOSCategories: boolean;
|
|
118
|
-
/**
|
|
118
|
+
/** Is the use of "Goal Tracking" allowed */
|
|
119
119
|
readonly allowUseGoalTracking: boolean;
|
|
120
|
-
/**
|
|
120
|
+
/** Is the use of "API GetMessageLog" allowed */
|
|
121
121
|
readonly allowUseGetMessageLog: boolean;
|
|
122
|
-
/**
|
|
122
|
+
/** Is the use of "IE" allowed */
|
|
123
123
|
readonly allowUseIEPlatform: boolean;
|
|
124
|
-
/**
|
|
124
|
+
/** Is the use of "Debug Mode" allowed */
|
|
125
125
|
readonly allowUseDebugMode: boolean;
|
|
126
|
-
/**
|
|
126
|
+
/** Is the use of "Tracking Uninstall" allowed */
|
|
127
127
|
readonly allowUseUninstallTracking: boolean;
|
|
128
|
-
/**
|
|
128
|
+
/** Is the use of "Frequency Capping" allowed */
|
|
129
129
|
readonly allowUseFrequencyCapping: boolean;
|
|
130
|
-
/**
|
|
130
|
+
/** Is the use of "Inbox" allowed */
|
|
131
131
|
readonly allowUseInbox: boolean;
|
|
132
|
-
/**
|
|
132
|
+
/** The message storage time in "Inbox" */
|
|
133
133
|
readonly maxInboxTtlDays: number;
|
|
134
|
-
/**
|
|
134
|
+
/** Is sending additional statistics for Android applications allowed */
|
|
135
135
|
readonly allowUseSendExternalAndroidStatistics: boolean;
|
|
136
|
-
/**
|
|
136
|
+
/** Is the use of "GDPR" allowed */
|
|
137
137
|
readonly allowUseGDPR: boolean;
|
|
138
|
-
/**
|
|
138
|
+
/** The minimum message sending rate */
|
|
139
139
|
readonly sendRateMin: number;
|
|
140
|
-
/**
|
|
140
|
+
/** The maximum message sending rate */
|
|
141
141
|
readonly sendRateMax: number;
|
|
142
|
-
/**
|
|
142
|
+
/** The period of message history storage in days */
|
|
143
143
|
readonly messageHistoryStoriedPeriodInDays: number;
|
|
144
|
-
/**
|
|
144
|
+
/** Show delivered rate on statistics pages */
|
|
145
145
|
readonly allowShowDeliveryStatistics: boolean;
|
|
146
|
-
/**
|
|
146
|
+
/** Show optimal send time */
|
|
147
147
|
readonly allowBestTimeToSend: boolean;
|
|
148
|
-
/**
|
|
148
|
+
/** Allow the creation of segment groups */
|
|
149
149
|
readonly allowSegmentsGroups: boolean;
|
|
150
|
-
/**
|
|
150
|
+
/** Allow segmentation by events */
|
|
151
151
|
readonly allowEventSegmentation: boolean;
|
|
152
|
-
/**
|
|
152
|
+
/** Allow Customer Journey */
|
|
153
153
|
readonly allowCustomerJourney: boolean;
|
|
154
|
-
/**
|
|
154
|
+
/** Allow Events Funnel */
|
|
155
155
|
readonly allowEventsFunnel: boolean;
|
|
156
|
-
/**
|
|
156
|
+
/** Is backup creation enabled */
|
|
157
157
|
readonly isEnabledBackup: boolean;
|
|
158
|
-
/**
|
|
158
|
+
/** Does the user have the Channels tab and access to one-time forms */
|
|
159
159
|
readonly allowChannelsSection: boolean;
|
|
160
|
-
/**
|
|
160
|
+
/** Can use SMS platform */
|
|
161
161
|
readonly allowUseSMSPlatform: boolean;
|
|
162
|
-
/**
|
|
162
|
+
/** Can use WhatsApp platform */
|
|
163
163
|
readonly allowUseWhatsAppPlatform: boolean;
|
|
164
164
|
constructor({ restrictions }: RestrictionsData);
|
|
165
165
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restrictions.d.ts","sourceRoot":"","sources":["../../src/entities/restrictions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D;;GAEG;AACH,qBAAa,YAAY;IACvB,
|
|
1
|
+
{"version":3,"file":"restrictions.d.ts","sourceRoot":"","sources":["../../src/entities/restrictions.ts"],"names":[],"mappings":"AA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CAAC;IAEtC,uCAAuC;IACvC,SAAgB,WAAW,EAAE,MAAM,CAAC;IAEpC,uCAAuC;IACvC,SAAgB,WAAW,EAAE,MAAM,CAAC;IAEpC,oDAAoD;IACpD,SAAgB,iCAAiC,EAAE,MAAM,CAAC;IAE1D,8CAA8C;IAC9C,SAAgB,2BAA2B,EAAE,OAAO,CAAC;IAErD,6BAA6B;IAC7B,SAAgB,mBAAmB,EAAE,OAAO,CAAC;IAE7C,2CAA2C;IAC3C,SAAgB,mBAAmB,EAAE,OAAO,CAAC;IAE7C,mCAAmC;IACnC,SAAgB,sBAAsB,EAAE,OAAO,CAAC;IAEhD,6BAA6B;IAC7B,SAAgB,oBAAoB,EAAE,OAAO,CAAC;IAE9C,0BAA0B;IAC1B,SAAgB,iBAAiB,EAAE,OAAO,CAAC;IAE3C,iCAAiC;IACjC,SAAgB,eAAe,EAAE,OAAO,CAAC;IAEzC,uEAAuE;IACvE,SAAgB,oBAAoB,EAAE,OAAO,CAAC;IAE9C,2BAA2B;IAC3B,SAAgB,mBAAmB,EAAE,OAAO,CAAC;IAE7C,gCAAgC;IAChC,SAAgB,wBAAwB,EAAE,OAAO,CAAC;gBAEtC,EAAE,YAAY,EAAE,EAAE,gBAAgB;CAoI/C"}
|
package/dist/entities/user.d.ts
CHANGED
|
@@ -2,26 +2,26 @@ import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';
|
|
|
2
2
|
type AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;
|
|
3
3
|
type AuthInfoUserAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoUser']['toObject']>;
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* User information
|
|
6
6
|
*/
|
|
7
7
|
export declare class User {
|
|
8
|
-
/**
|
|
8
|
+
/** User name */
|
|
9
9
|
readonly name: string;
|
|
10
|
-
/**
|
|
10
|
+
/** User email */
|
|
11
11
|
readonly email: string;
|
|
12
|
-
/**
|
|
12
|
+
/** Is the user active */
|
|
13
13
|
readonly isActive: boolean;
|
|
14
|
-
/**
|
|
14
|
+
/** Is the user the workspace owner */
|
|
15
15
|
readonly isOwner: boolean;
|
|
16
|
-
/**
|
|
16
|
+
/** User timezone */
|
|
17
17
|
readonly timezone: string;
|
|
18
|
-
/**
|
|
18
|
+
/** User timezone offset */
|
|
19
19
|
readonly timezoneOffset: number;
|
|
20
|
-
/**
|
|
20
|
+
/** Available number of accounts for login */
|
|
21
21
|
readonly accountCount: number;
|
|
22
|
-
/**
|
|
22
|
+
/** Hash for user authentication in Intercom */
|
|
23
23
|
readonly intercomUserHash: string;
|
|
24
|
-
/**
|
|
24
|
+
/** Is the user subscribed to newsletters */
|
|
25
25
|
readonly isSubscribedForNewsletters: boolean;
|
|
26
26
|
constructor(accountData: AuthInfoAccountAsObject, userData: AuthInfoUserAsObject);
|
|
27
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/entities/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAExE,KAAK,uBAAuB,GAAG,UAAU,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC,iBAAiB,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;AAChH,KAAK,oBAAoB,GAAG,UAAU,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;AAE1G;;GAEG;AACH,qBAAa,IAAI;IACf,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/entities/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAExE,KAAK,uBAAuB,GAAG,UAAU,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC,iBAAiB,CAAC,CAAC,UAAU,CAAC,CAAC,C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