@posiwise/admin-module 0.0.239 → 0.0.241
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.
|
@@ -4,51 +4,51 @@ import { PermissionService, AuthService, CommonService, ProductService, Subscrip
|
|
|
4
4
|
import { MenuItem, LazyLoadEvent, SelectItem } from 'primeng/api';
|
|
5
5
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
6
|
import * as _posiwise_admin_module_utils from '@posiwise/admin-module-utils';
|
|
7
|
-
import { AdminService, PayoutProvider, McpOauthClient, McpOauthClientService, AdminDataService } from '@posiwise/admin-module-utils';
|
|
8
|
-
import * as
|
|
7
|
+
import { AdminService, PayoutProvider, AmbassadorPayoutListResponse, AmbassadorPayoutStatus, AmbassadorPayoutService, AmbassadorPayoutDetail, McpOauthClient, McpOauthClientService, AdminDataService } from '@posiwise/admin-module-utils';
|
|
8
|
+
import * as i130 from '@posiwise/shared-components';
|
|
9
9
|
import { ConfirmDialogService, PermissionTreeComponent, CollapsibleSidebarService, PasswordValidationComponent } from '@posiwise/shared-components';
|
|
10
10
|
import * as _angular_forms from '@angular/forms';
|
|
11
11
|
import { UntypedFormGroup, NgForm, FormBuilder, FormGroup, FormArray, UntypedFormBuilder, UntypedFormArray } from '@angular/forms';
|
|
12
12
|
import { FAQ, Product, User, Subscription as Subscription$1, Role, Paging, Plotly, ResourcePost, ResourceInsightResponse, SubscriptionMember } from '@posiwise/common-utilities';
|
|
13
13
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
14
14
|
import { CustomUploaderComponent } from '@posiwise/utils';
|
|
15
|
-
import * as
|
|
15
|
+
import * as i126 from '@ng-bootstrap/ng-bootstrap';
|
|
16
16
|
import { NgbModal, NgbDatepickerConfig, NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
|
|
17
17
|
import { Observable } from 'rxjs';
|
|
18
|
-
import * as
|
|
18
|
+
import * as i128 from '@angular/common';
|
|
19
19
|
import { DatePipe } from '@angular/common';
|
|
20
20
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
21
|
-
import * as
|
|
21
|
+
import * as i131 from '@angular-magic/ngx-gp-autocomplete';
|
|
22
22
|
import { NgxGpAutocompleteDirective } from '@angular-magic/ngx-gp-autocomplete';
|
|
23
|
-
import * as
|
|
23
|
+
import * as i114 from 'primeng/autocomplete';
|
|
24
24
|
import { AutoComplete } from 'primeng/autocomplete';
|
|
25
25
|
import moment$1 from 'moment';
|
|
26
|
-
import * as
|
|
26
|
+
import * as i111 from 'primeng/table';
|
|
27
27
|
import { Table } from 'primeng/table';
|
|
28
|
-
import * as
|
|
28
|
+
import * as i116 from 'primeng/multiselect';
|
|
29
29
|
import { MultiSelect } from 'primeng/multiselect';
|
|
30
|
-
import * as
|
|
30
|
+
import * as i127 from 'ngx-uploader';
|
|
31
31
|
import { UploadFile, UploadInput, UploaderOptions, humanizeBytes, UploadOutput } from 'ngx-uploader';
|
|
32
|
-
import * as
|
|
33
|
-
import * as
|
|
34
|
-
import * as
|
|
35
|
-
import * as
|
|
36
|
-
import * as
|
|
37
|
-
import * as
|
|
38
|
-
import * as
|
|
39
|
-
import * as
|
|
40
|
-
import * as
|
|
41
|
-
import * as
|
|
42
|
-
import * as
|
|
43
|
-
import * as
|
|
44
|
-
import * as
|
|
45
|
-
import * as
|
|
46
|
-
import * as
|
|
47
|
-
import * as
|
|
32
|
+
import * as i112 from 'primeng/tooltip';
|
|
33
|
+
import * as i113 from 'primeng/accordion';
|
|
34
|
+
import * as i115 from 'primeng/select';
|
|
35
|
+
import * as i117 from 'primeng/inputtext';
|
|
36
|
+
import * as i118 from 'primeng/iconfield';
|
|
37
|
+
import * as i119 from 'primeng/inputicon';
|
|
38
|
+
import * as i120 from '@posiwise/app-loader';
|
|
39
|
+
import * as i121 from 'ngx-daterangepicker-material';
|
|
40
|
+
import * as i122 from 'ngx-json-viewer';
|
|
41
|
+
import * as i123 from 'primeng/datepicker';
|
|
42
|
+
import * as i124 from 'angular-plotly.js';
|
|
43
|
+
import * as i125 from 'primeng/fileupload';
|
|
44
|
+
import * as i129 from 'ngx-ui-switch';
|
|
45
|
+
import * as i132 from '@posiwise/core-transloco';
|
|
46
|
+
import * as i133 from '@posiwise/pipes';
|
|
47
|
+
import * as i135 from '@posiwise/directives';
|
|
48
48
|
import * as i1 from '@angular/router';
|
|
49
49
|
import { Router, Route, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
|
|
50
|
-
import * as
|
|
51
|
-
import * as
|
|
50
|
+
import * as i138 from 'ngx-pagination';
|
|
51
|
+
import * as i139 from 'ngx-quill';
|
|
52
52
|
|
|
53
53
|
declare class UserTabComponent {
|
|
54
54
|
private readonly permission;
|
|
@@ -93,6 +93,8 @@ declare class MailerListComponent extends AppBaseComponent implements OnInit, On
|
|
|
93
93
|
globalConfigDetails: string;
|
|
94
94
|
adminCredentialsDetails: string;
|
|
95
95
|
adminOauthClients: string;
|
|
96
|
+
ambassadorPayouts: string;
|
|
97
|
+
ambassadorPayoutDetails: string;
|
|
96
98
|
adminOauthClientsDetails: string;
|
|
97
99
|
subscriptionCredentialDetails: string;
|
|
98
100
|
newsletter: string;
|
|
@@ -160,6 +162,8 @@ declare class MailerDetailsComponent extends AppBaseComponent implements OnInit,
|
|
|
160
162
|
globalConfigDetails: string;
|
|
161
163
|
adminCredentialsDetails: string;
|
|
162
164
|
adminOauthClients: string;
|
|
165
|
+
ambassadorPayouts: string;
|
|
166
|
+
ambassadorPayoutDetails: string;
|
|
163
167
|
adminOauthClientsDetails: string;
|
|
164
168
|
subscriptionCredentialDetails: string;
|
|
165
169
|
newsletter: string;
|
|
@@ -305,6 +309,8 @@ declare class FaqListComponent extends AppBaseComponent implements OnInit, OnDes
|
|
|
305
309
|
globalConfigDetails: string;
|
|
306
310
|
adminCredentialsDetails: string;
|
|
307
311
|
adminOauthClients: string;
|
|
312
|
+
ambassadorPayouts: string;
|
|
313
|
+
ambassadorPayoutDetails: string;
|
|
308
314
|
adminOauthClientsDetails: string;
|
|
309
315
|
subscriptionCredentialDetails: string;
|
|
310
316
|
newsletter: string;
|
|
@@ -560,6 +566,8 @@ declare class DomainConfigListComponent extends AppBaseComponent implements OnIn
|
|
|
560
566
|
globalConfigDetails: string;
|
|
561
567
|
adminCredentialsDetails: string;
|
|
562
568
|
adminOauthClients: string;
|
|
569
|
+
ambassadorPayouts: string;
|
|
570
|
+
ambassadorPayoutDetails: string;
|
|
563
571
|
adminOauthClientsDetails: string;
|
|
564
572
|
subscriptionCredentialDetails: string;
|
|
565
573
|
newsletter: string;
|
|
@@ -621,6 +629,8 @@ declare class DomainConfigDetailsComponent extends AppBaseComponent implements O
|
|
|
621
629
|
globalConfigDetails: string;
|
|
622
630
|
adminCredentialsDetails: string;
|
|
623
631
|
adminOauthClients: string;
|
|
632
|
+
ambassadorPayouts: string;
|
|
633
|
+
ambassadorPayoutDetails: string;
|
|
624
634
|
adminOauthClientsDetails: string;
|
|
625
635
|
subscriptionCredentialDetails: string;
|
|
626
636
|
newsletter: string;
|
|
@@ -692,6 +702,8 @@ declare class DomainConfigBuildComponent extends AppBaseComponent implements OnI
|
|
|
692
702
|
globalConfigDetails: string;
|
|
693
703
|
adminCredentialsDetails: string;
|
|
694
704
|
adminOauthClients: string;
|
|
705
|
+
ambassadorPayouts: string;
|
|
706
|
+
ambassadorPayoutDetails: string;
|
|
695
707
|
adminOauthClientsDetails: string;
|
|
696
708
|
subscriptionCredentialDetails: string;
|
|
697
709
|
newsletter: string;
|
|
@@ -836,6 +848,8 @@ declare class DomainConfigCoreComponent extends AppBaseComponent implements OnIn
|
|
|
836
848
|
globalConfigDetails: string;
|
|
837
849
|
adminCredentialsDetails: string;
|
|
838
850
|
adminOauthClients: string;
|
|
851
|
+
ambassadorPayouts: string;
|
|
852
|
+
ambassadorPayoutDetails: string;
|
|
839
853
|
adminOauthClientsDetails: string;
|
|
840
854
|
subscriptionCredentialDetails: string;
|
|
841
855
|
newsletter: string;
|
|
@@ -906,6 +920,8 @@ declare abstract class BaseDomainConfigComponent extends AppBaseComponent implem
|
|
|
906
920
|
globalConfigDetails: string;
|
|
907
921
|
adminCredentialsDetails: string;
|
|
908
922
|
adminOauthClients: string;
|
|
923
|
+
ambassadorPayouts: string;
|
|
924
|
+
ambassadorPayoutDetails: string;
|
|
909
925
|
adminOauthClientsDetails: string;
|
|
910
926
|
subscriptionCredentialDetails: string;
|
|
911
927
|
newsletter: string;
|
|
@@ -1000,6 +1016,8 @@ declare class DomainConfigIntegrationsComponent extends AppBaseComponent impleme
|
|
|
1000
1016
|
globalConfigDetails: string;
|
|
1001
1017
|
adminCredentialsDetails: string;
|
|
1002
1018
|
adminOauthClients: string;
|
|
1019
|
+
ambassadorPayouts: string;
|
|
1020
|
+
ambassadorPayoutDetails: string;
|
|
1003
1021
|
adminOauthClientsDetails: string;
|
|
1004
1022
|
subscriptionCredentialDetails: string;
|
|
1005
1023
|
newsletter: string;
|
|
@@ -1074,6 +1092,8 @@ declare class DomainConfigInterfaceComponent extends AppBaseComponent implements
|
|
|
1074
1092
|
globalConfigDetails: string;
|
|
1075
1093
|
adminCredentialsDetails: string;
|
|
1076
1094
|
adminOauthClients: string;
|
|
1095
|
+
ambassadorPayouts: string;
|
|
1096
|
+
ambassadorPayoutDetails: string;
|
|
1077
1097
|
adminOauthClientsDetails: string;
|
|
1078
1098
|
subscriptionCredentialDetails: string;
|
|
1079
1099
|
newsletter: string;
|
|
@@ -1173,6 +1193,8 @@ declare class LoginNotificationsListComponent extends AppBaseComponent implement
|
|
|
1173
1193
|
globalConfigDetails: string;
|
|
1174
1194
|
adminCredentialsDetails: string;
|
|
1175
1195
|
adminOauthClients: string;
|
|
1196
|
+
ambassadorPayouts: string;
|
|
1197
|
+
ambassadorPayoutDetails: string;
|
|
1176
1198
|
adminOauthClientsDetails: string;
|
|
1177
1199
|
subscriptionCredentialDetails: string;
|
|
1178
1200
|
newsletter: string;
|
|
@@ -1238,6 +1260,8 @@ declare class LoginNotificationDetailsComponent extends AppBaseComponent impleme
|
|
|
1238
1260
|
globalConfigDetails: string;
|
|
1239
1261
|
adminCredentialsDetails: string;
|
|
1240
1262
|
adminOauthClients: string;
|
|
1263
|
+
ambassadorPayouts: string;
|
|
1264
|
+
ambassadorPayoutDetails: string;
|
|
1241
1265
|
adminOauthClientsDetails: string;
|
|
1242
1266
|
subscriptionCredentialDetails: string;
|
|
1243
1267
|
newsletter: string;
|
|
@@ -1318,6 +1342,8 @@ declare class FeedbackQuestionsListComponent extends AppBaseComponent implements
|
|
|
1318
1342
|
globalConfigDetails: string;
|
|
1319
1343
|
adminCredentialsDetails: string;
|
|
1320
1344
|
adminOauthClients: string;
|
|
1345
|
+
ambassadorPayouts: string;
|
|
1346
|
+
ambassadorPayoutDetails: string;
|
|
1321
1347
|
adminOauthClientsDetails: string;
|
|
1322
1348
|
subscriptionCredentialDetails: string;
|
|
1323
1349
|
newsletter: string;
|
|
@@ -1386,6 +1412,8 @@ declare class FeedbackQuestionsDetailsComponent extends AppBaseComponent impleme
|
|
|
1386
1412
|
globalConfigDetails: string;
|
|
1387
1413
|
adminCredentialsDetails: string;
|
|
1388
1414
|
adminOauthClients: string;
|
|
1415
|
+
ambassadorPayouts: string;
|
|
1416
|
+
ambassadorPayoutDetails: string;
|
|
1389
1417
|
adminOauthClientsDetails: string;
|
|
1390
1418
|
subscriptionCredentialDetails: string;
|
|
1391
1419
|
newsletter: string;
|
|
@@ -1443,6 +1471,8 @@ declare class FeatureFlagsListComponent extends AppBaseComponent {
|
|
|
1443
1471
|
globalConfigDetails: string;
|
|
1444
1472
|
adminCredentialsDetails: string;
|
|
1445
1473
|
adminOauthClients: string;
|
|
1474
|
+
ambassadorPayouts: string;
|
|
1475
|
+
ambassadorPayoutDetails: string;
|
|
1446
1476
|
adminOauthClientsDetails: string;
|
|
1447
1477
|
subscriptionCredentialDetails: string;
|
|
1448
1478
|
newsletter: string;
|
|
@@ -1507,6 +1537,8 @@ declare class FeatureFlagDetailsComponent extends AppBaseComponent implements On
|
|
|
1507
1537
|
globalConfigDetails: string;
|
|
1508
1538
|
adminCredentialsDetails: string;
|
|
1509
1539
|
adminOauthClients: string;
|
|
1540
|
+
ambassadorPayouts: string;
|
|
1541
|
+
ambassadorPayoutDetails: string;
|
|
1510
1542
|
adminOauthClientsDetails: string;
|
|
1511
1543
|
subscriptionCredentialDetails: string;
|
|
1512
1544
|
newsletter: string;
|
|
@@ -1578,6 +1610,8 @@ declare class FeatureFlagRulesComponent extends AppBaseComponent implements OnIn
|
|
|
1578
1610
|
globalConfigDetails: string;
|
|
1579
1611
|
adminCredentialsDetails: string;
|
|
1580
1612
|
adminOauthClients: string;
|
|
1613
|
+
ambassadorPayouts: string;
|
|
1614
|
+
ambassadorPayoutDetails: string;
|
|
1581
1615
|
adminOauthClientsDetails: string;
|
|
1582
1616
|
subscriptionCredentialDetails: string;
|
|
1583
1617
|
newsletter: string;
|
|
@@ -1652,6 +1686,17 @@ declare class FeatureFlagsTabsComponent {
|
|
|
1652
1686
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeatureFlagsTabsComponent, "feature-flags-tabs", never, {}, {}, never, never, false, never>;
|
|
1653
1687
|
}
|
|
1654
1688
|
|
|
1689
|
+
interface Ambassadorship {
|
|
1690
|
+
subscription_id: number;
|
|
1691
|
+
subscription_name: string;
|
|
1692
|
+
percentage: number;
|
|
1693
|
+
end_date: string;
|
|
1694
|
+
payout_provider: string;
|
|
1695
|
+
payout_destination_ready: boolean;
|
|
1696
|
+
active: boolean;
|
|
1697
|
+
subscription_mrr_usd: number;
|
|
1698
|
+
commission_mrr_usd: number;
|
|
1699
|
+
}
|
|
1655
1700
|
declare class UserDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1656
1701
|
private readonly adminService;
|
|
1657
1702
|
private readonly cdr;
|
|
@@ -1663,12 +1708,16 @@ declare class UserDetailsComponent extends AppBaseComponent implements OnInit, O
|
|
|
1663
1708
|
isLoading: boolean;
|
|
1664
1709
|
allRoles: SelectItem[];
|
|
1665
1710
|
subscriptionId: number;
|
|
1711
|
+
readonly subscriptionRoute: string;
|
|
1712
|
+
ambassadorships: Ambassadorship[];
|
|
1713
|
+
ambassadorshipsLoading: boolean;
|
|
1666
1714
|
constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef);
|
|
1667
1715
|
ngOnInit(): void;
|
|
1668
1716
|
get f(): {
|
|
1669
1717
|
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
1670
1718
|
};
|
|
1671
1719
|
private getUserDetails;
|
|
1720
|
+
private getUserAmbassadorships;
|
|
1672
1721
|
private getUserRole;
|
|
1673
1722
|
onSave(): void;
|
|
1674
1723
|
createUser(): void;
|
|
@@ -1710,9 +1759,16 @@ declare class SubscriptionDetailsComponent extends AppBaseComponent implements O
|
|
|
1710
1759
|
allRoles: any[];
|
|
1711
1760
|
subscriptionsRolesData: SubscriptionRolesSubscribeData;
|
|
1712
1761
|
subscriptionId: number;
|
|
1762
|
+
activeTabId: number;
|
|
1763
|
+
private readonly tabSlugs;
|
|
1764
|
+
private static readonly commaSeparatedEmailsPatternStr;
|
|
1713
1765
|
private readonly commaSeparatedEmails;
|
|
1766
|
+
private commaSeparatedEmailsError;
|
|
1714
1767
|
constructor(subscriptionService: SubscriptionService, adminService: AdminService, datePipe: DatePipe, commonService: CommonService, dateFormatService: NgbDateCustomParserFormatter, injector: Injector, cdr: ChangeDetectorRef);
|
|
1715
1768
|
ngOnInit(): void;
|
|
1769
|
+
onTabChange(event: {
|
|
1770
|
+
nextId: number;
|
|
1771
|
+
}): void;
|
|
1716
1772
|
onSkillsSave(): void;
|
|
1717
1773
|
onSaveProject(_event: any): void;
|
|
1718
1774
|
private getSubscriptionRole;
|
|
@@ -1794,6 +1850,8 @@ declare class NewsletterDetailsComponent extends AppBaseComponent implements OnI
|
|
|
1794
1850
|
globalConfigDetails: string;
|
|
1795
1851
|
adminCredentialsDetails: string;
|
|
1796
1852
|
adminOauthClients: string;
|
|
1853
|
+
ambassadorPayouts: string;
|
|
1854
|
+
ambassadorPayoutDetails: string;
|
|
1797
1855
|
adminOauthClientsDetails: string;
|
|
1798
1856
|
subscriptionCredentialDetails: string;
|
|
1799
1857
|
newsletter: string;
|
|
@@ -1874,6 +1932,8 @@ declare class NewsletterItemDetailsComponent extends AppBaseComponent implements
|
|
|
1874
1932
|
globalConfigDetails: string;
|
|
1875
1933
|
adminCredentialsDetails: string;
|
|
1876
1934
|
adminOauthClients: string;
|
|
1935
|
+
ambassadorPayouts: string;
|
|
1936
|
+
ambassadorPayoutDetails: string;
|
|
1877
1937
|
adminOauthClientsDetails: string;
|
|
1878
1938
|
subscriptionCredentialDetails: string;
|
|
1879
1939
|
newsletter: string;
|
|
@@ -1950,6 +2010,8 @@ declare class NewsLetterItemViewComponent extends AppBaseComponent implements On
|
|
|
1950
2010
|
globalConfigDetails: string;
|
|
1951
2011
|
adminCredentialsDetails: string;
|
|
1952
2012
|
adminOauthClients: string;
|
|
2013
|
+
ambassadorPayouts: string;
|
|
2014
|
+
ambassadorPayoutDetails: string;
|
|
1953
2015
|
adminOauthClientsDetails: string;
|
|
1954
2016
|
subscriptionCredentialDetails: string;
|
|
1955
2017
|
newsletter: string;
|
|
@@ -2168,6 +2230,8 @@ declare class TipsComponent extends AppBaseComponent implements OnInit, OnDestro
|
|
|
2168
2230
|
globalConfigDetails: string;
|
|
2169
2231
|
adminCredentialsDetails: string;
|
|
2170
2232
|
adminOauthClients: string;
|
|
2233
|
+
ambassadorPayouts: string;
|
|
2234
|
+
ambassadorPayoutDetails: string;
|
|
2171
2235
|
adminOauthClientsDetails: string;
|
|
2172
2236
|
subscriptionCredentialDetails: string;
|
|
2173
2237
|
newsletter: string;
|
|
@@ -2255,6 +2319,8 @@ declare class AgentDetailsComponent extends AppBaseComponent implements OnInit,
|
|
|
2255
2319
|
* hidden provider's inputs can never block submission. */
|
|
2256
2320
|
onPayoutProviderChange(provider: PayoutProvider): void;
|
|
2257
2321
|
get payoutFields(): _posiwise_admin_module_utils.PayoutFieldDefinition[];
|
|
2322
|
+
/** Transloco key for the selected provider's caveat, or null if it has none. */
|
|
2323
|
+
get payoutNoticeKey(): string | null;
|
|
2258
2324
|
updateDetails(): void;
|
|
2259
2325
|
private getUsers;
|
|
2260
2326
|
search(event: any): void;
|
|
@@ -2273,6 +2339,7 @@ declare abstract class UsersListBaseComponent extends AppBaseComponent {
|
|
|
2273
2339
|
protected filterByRoles: number[];
|
|
2274
2340
|
protected filterByFeatureKeys: string[];
|
|
2275
2341
|
protected filterByAlphaBeta: string[];
|
|
2342
|
+
showAmbassadorsOnly: boolean;
|
|
2276
2343
|
totalRecords: number;
|
|
2277
2344
|
users: User[];
|
|
2278
2345
|
allUsers: User[];
|
|
@@ -2325,6 +2392,8 @@ declare class UserListComponent extends UsersListBaseComponent implements OnInit
|
|
|
2325
2392
|
globalConfigDetails: string;
|
|
2326
2393
|
adminCredentialsDetails: string;
|
|
2327
2394
|
adminOauthClients: string;
|
|
2395
|
+
ambassadorPayouts: string;
|
|
2396
|
+
ambassadorPayoutDetails: string;
|
|
2328
2397
|
adminOauthClientsDetails: string;
|
|
2329
2398
|
subscriptionCredentialDetails: string;
|
|
2330
2399
|
newsletter: string;
|
|
@@ -2374,6 +2443,7 @@ declare class UserListComponent extends UsersListBaseComponent implements OnInit
|
|
|
2374
2443
|
onProductChange(event: any): void;
|
|
2375
2444
|
private onFeatureKeyChange;
|
|
2376
2445
|
private onAlphaBetaChange;
|
|
2446
|
+
onAmbassadorsOnlyToggle(): void;
|
|
2377
2447
|
onDelete(user: User): void;
|
|
2378
2448
|
deleteUser(_event: any): void;
|
|
2379
2449
|
onImpersonate(user: User): void;
|
|
@@ -2400,6 +2470,8 @@ declare class RolesListComponent extends AppBaseComponent implements OnInit, OnD
|
|
|
2400
2470
|
globalConfigDetails: string;
|
|
2401
2471
|
adminCredentialsDetails: string;
|
|
2402
2472
|
adminOauthClients: string;
|
|
2473
|
+
ambassadorPayouts: string;
|
|
2474
|
+
ambassadorPayoutDetails: string;
|
|
2403
2475
|
adminOauthClientsDetails: string;
|
|
2404
2476
|
subscriptionCredentialDetails: string;
|
|
2405
2477
|
newsletter: string;
|
|
@@ -2482,6 +2554,8 @@ declare class SubscriptionsListComponent extends AppBaseComponent implements OnI
|
|
|
2482
2554
|
globalConfigDetails: string;
|
|
2483
2555
|
adminCredentialsDetails: string;
|
|
2484
2556
|
adminOauthClients: string;
|
|
2557
|
+
ambassadorPayouts: string;
|
|
2558
|
+
ambassadorPayoutDetails: string;
|
|
2485
2559
|
adminOauthClientsDetails: string;
|
|
2486
2560
|
subscriptionCredentialDetails: string;
|
|
2487
2561
|
newsletter: string;
|
|
@@ -2594,6 +2668,8 @@ declare class InviteUsersComponent extends AppBaseComponent implements OnInit, O
|
|
|
2594
2668
|
globalConfigDetails: string;
|
|
2595
2669
|
adminCredentialsDetails: string;
|
|
2596
2670
|
adminOauthClients: string;
|
|
2671
|
+
ambassadorPayouts: string;
|
|
2672
|
+
ambassadorPayoutDetails: string;
|
|
2597
2673
|
adminOauthClientsDetails: string;
|
|
2598
2674
|
subscriptionCredentialDetails: string;
|
|
2599
2675
|
newsletter: string;
|
|
@@ -2683,6 +2759,8 @@ declare class SubscriptionProductDetailsComponent extends AppBaseComponent imple
|
|
|
2683
2759
|
globalConfigDetails: string;
|
|
2684
2760
|
adminCredentialsDetails: string;
|
|
2685
2761
|
adminOauthClients: string;
|
|
2762
|
+
ambassadorPayouts: string;
|
|
2763
|
+
ambassadorPayoutDetails: string;
|
|
2686
2764
|
adminOauthClientsDetails: string;
|
|
2687
2765
|
subscriptionCredentialDetails: string;
|
|
2688
2766
|
newsletter: string;
|
|
@@ -2925,6 +3003,8 @@ declare class ProductsListComponent extends AppBaseComponent implements OnInit,
|
|
|
2925
3003
|
globalConfigDetails: string;
|
|
2926
3004
|
adminCredentialsDetails: string;
|
|
2927
3005
|
adminOauthClients: string;
|
|
3006
|
+
ambassadorPayouts: string;
|
|
3007
|
+
ambassadorPayoutDetails: string;
|
|
2928
3008
|
adminOauthClientsDetails: string;
|
|
2929
3009
|
subscriptionCredentialDetails: string;
|
|
2930
3010
|
newsletter: string;
|
|
@@ -3196,6 +3276,8 @@ declare class ResourcesIndexComponent extends AppBaseComponent implements OnInit
|
|
|
3196
3276
|
globalConfigDetails: string;
|
|
3197
3277
|
adminCredentialsDetails: string;
|
|
3198
3278
|
adminOauthClients: string;
|
|
3279
|
+
ambassadorPayouts: string;
|
|
3280
|
+
ambassadorPayoutDetails: string;
|
|
3199
3281
|
adminOauthClientsDetails: string;
|
|
3200
3282
|
subscriptionCredentialDetails: string;
|
|
3201
3283
|
newsletter: string;
|
|
@@ -3303,6 +3385,8 @@ declare class NewslettersListComponent extends AppBaseComponent implements OnIni
|
|
|
3303
3385
|
globalConfigDetails: string;
|
|
3304
3386
|
adminCredentialsDetails: string;
|
|
3305
3387
|
adminOauthClients: string;
|
|
3388
|
+
ambassadorPayouts: string;
|
|
3389
|
+
ambassadorPayoutDetails: string;
|
|
3306
3390
|
adminOauthClientsDetails: string;
|
|
3307
3391
|
subscriptionCredentialDetails: string;
|
|
3308
3392
|
newsletter: string;
|
|
@@ -3382,6 +3466,8 @@ declare class NewslettersItemsComponent extends AppBaseComponent implements OnIn
|
|
|
3382
3466
|
globalConfigDetails: string;
|
|
3383
3467
|
adminCredentialsDetails: string;
|
|
3384
3468
|
adminOauthClients: string;
|
|
3469
|
+
ambassadorPayouts: string;
|
|
3470
|
+
ambassadorPayoutDetails: string;
|
|
3385
3471
|
adminOauthClientsDetails: string;
|
|
3386
3472
|
subscriptionCredentialDetails: string;
|
|
3387
3473
|
newsletter: string;
|
|
@@ -3536,6 +3622,8 @@ declare class TagsListComponent extends AppBaseComponent implements OnDestroy, O
|
|
|
3536
3622
|
globalConfigDetails: string;
|
|
3537
3623
|
adminCredentialsDetails: string;
|
|
3538
3624
|
adminOauthClients: string;
|
|
3625
|
+
ambassadorPayouts: string;
|
|
3626
|
+
ambassadorPayoutDetails: string;
|
|
3539
3627
|
adminOauthClientsDetails: string;
|
|
3540
3628
|
subscriptionCredentialDetails: string;
|
|
3541
3629
|
newsletter: string;
|
|
@@ -3675,6 +3763,8 @@ declare class PermissionsListComponent extends AppBaseComponent implements OnDes
|
|
|
3675
3763
|
globalConfigDetails: string;
|
|
3676
3764
|
adminCredentialsDetails: string;
|
|
3677
3765
|
adminOauthClients: string;
|
|
3766
|
+
ambassadorPayouts: string;
|
|
3767
|
+
ambassadorPayoutDetails: string;
|
|
3678
3768
|
adminOauthClientsDetails: string;
|
|
3679
3769
|
subscriptionCredentialDetails: string;
|
|
3680
3770
|
newsletter: string;
|
|
@@ -3740,6 +3830,8 @@ declare class PermissionsDetailsComponent extends AppBaseComponent implements On
|
|
|
3740
3830
|
globalConfigDetails: string;
|
|
3741
3831
|
adminCredentialsDetails: string;
|
|
3742
3832
|
adminOauthClients: string;
|
|
3833
|
+
ambassadorPayouts: string;
|
|
3834
|
+
ambassadorPayoutDetails: string;
|
|
3743
3835
|
adminOauthClientsDetails: string;
|
|
3744
3836
|
subscriptionCredentialDetails: string;
|
|
3745
3837
|
newsletter: string;
|
|
@@ -3809,6 +3901,8 @@ declare class TermsOfServiceComponent extends AppBaseComponent implements OnInit
|
|
|
3809
3901
|
globalConfigDetails: string;
|
|
3810
3902
|
adminCredentialsDetails: string;
|
|
3811
3903
|
adminOauthClients: string;
|
|
3904
|
+
ambassadorPayouts: string;
|
|
3905
|
+
ambassadorPayoutDetails: string;
|
|
3812
3906
|
adminOauthClientsDetails: string;
|
|
3813
3907
|
subscriptionCredentialDetails: string;
|
|
3814
3908
|
newsletter: string;
|
|
@@ -3950,6 +4044,8 @@ declare class CredentialsComponent extends AppBaseComponent implements OnDestroy
|
|
|
3950
4044
|
globalConfigDetails: string;
|
|
3951
4045
|
adminCredentialsDetails: string;
|
|
3952
4046
|
adminOauthClients: string;
|
|
4047
|
+
ambassadorPayouts: string;
|
|
4048
|
+
ambassadorPayoutDetails: string;
|
|
3953
4049
|
adminOauthClientsDetails: string;
|
|
3954
4050
|
subscriptionCredentialDetails: string;
|
|
3955
4051
|
newsletter: string;
|
|
@@ -4020,6 +4116,8 @@ declare class SubscriptionCredentialsComponent extends AppBaseComponent implemen
|
|
|
4020
4116
|
globalConfigDetails: string;
|
|
4021
4117
|
adminCredentialsDetails: string;
|
|
4022
4118
|
adminOauthClients: string;
|
|
4119
|
+
ambassadorPayouts: string;
|
|
4120
|
+
ambassadorPayoutDetails: string;
|
|
4023
4121
|
adminOauthClientsDetails: string;
|
|
4024
4122
|
subscriptionCredentialDetails: string;
|
|
4025
4123
|
newsletter: string;
|
|
@@ -4133,6 +4231,218 @@ declare class CredentialsTabComponent {
|
|
|
4133
4231
|
static ɵcmp: i0.ɵɵComponentDeclaration<CredentialsTabComponent, "pw-credentials-tab", never, {}, {}, never, never, false, never>;
|
|
4134
4232
|
}
|
|
4135
4233
|
|
|
4234
|
+
declare class AmbassadorPayoutsTabsComponent {
|
|
4235
|
+
items: MenuItem[];
|
|
4236
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmbassadorPayoutsTabsComponent, never>;
|
|
4237
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmbassadorPayoutsTabsComponent, "pw-ambassador-payouts-tabs", never, {}, {}, never, never, false, never>;
|
|
4238
|
+
}
|
|
4239
|
+
|
|
4240
|
+
/**
|
|
4241
|
+
* Read-only visibility over the ambassador payout audit trail
|
|
4242
|
+
* (ticket posiwise-frontend#4194).
|
|
4243
|
+
*
|
|
4244
|
+
* The monthly AmbassadorPayoutWorker pays ambassadors across PayPal, Airwallex
|
|
4245
|
+
* and Wise and records every attempt; until this view there was no way to see
|
|
4246
|
+
* what had actually been paid and what had failed. There are deliberately no
|
|
4247
|
+
* mutating actions here — 'pending' rows are retried by the next monthly run.
|
|
4248
|
+
*/
|
|
4249
|
+
declare class AmbassadorPayoutsListComponent extends AppBaseComponent {
|
|
4250
|
+
private readonly ambassadorPayoutService;
|
|
4251
|
+
private readonly cdr;
|
|
4252
|
+
routers: {
|
|
4253
|
+
globalConfigDetails: string;
|
|
4254
|
+
adminCredentialsDetails: string;
|
|
4255
|
+
adminOauthClients: string;
|
|
4256
|
+
ambassadorPayouts: string;
|
|
4257
|
+
ambassadorPayoutDetails: string;
|
|
4258
|
+
adminOauthClientsDetails: string;
|
|
4259
|
+
subscriptionCredentialDetails: string;
|
|
4260
|
+
newsletter: string;
|
|
4261
|
+
mailerDetails: string;
|
|
4262
|
+
newsletterItemDetails: string;
|
|
4263
|
+
newsletterItemView: string;
|
|
4264
|
+
newslettersUserList: string;
|
|
4265
|
+
newsletterDetails: string;
|
|
4266
|
+
permissionsList: string;
|
|
4267
|
+
permissionsDetails: string;
|
|
4268
|
+
rolesDetails: string;
|
|
4269
|
+
productDetails: string;
|
|
4270
|
+
productsUserList: string;
|
|
4271
|
+
feedbackQuestions: string;
|
|
4272
|
+
feedbackQuestionsDetails: string;
|
|
4273
|
+
subscriptionDetails: string;
|
|
4274
|
+
subscriptionProductDetails: string;
|
|
4275
|
+
tipsDetails: string;
|
|
4276
|
+
tosAndPrivacyDetails: string;
|
|
4277
|
+
tosAndPrivacyView: string;
|
|
4278
|
+
usersDetails: string;
|
|
4279
|
+
domainConfig: string;
|
|
4280
|
+
domainConfigDetails: string;
|
|
4281
|
+
loginNotifications: string;
|
|
4282
|
+
incidentConfig: string;
|
|
4283
|
+
incidentDetails: string;
|
|
4284
|
+
featureFlagsConfig: string;
|
|
4285
|
+
featureFlagsDetails: string;
|
|
4286
|
+
featureFlagRules: string;
|
|
4287
|
+
faqConfig: string;
|
|
4288
|
+
faqDetails: string;
|
|
4289
|
+
inviteUsers: string;
|
|
4290
|
+
subscriptionList: string;
|
|
4291
|
+
createResource: string;
|
|
4292
|
+
createTag: string;
|
|
4293
|
+
tags: string;
|
|
4294
|
+
posts: string;
|
|
4295
|
+
resourcesList: string;
|
|
4296
|
+
};
|
|
4297
|
+
isLoaded: boolean;
|
|
4298
|
+
loading: boolean;
|
|
4299
|
+
searchText: string;
|
|
4300
|
+
selectedStatuses: string[];
|
|
4301
|
+
selectedProviders: string[];
|
|
4302
|
+
periodFrom: Date;
|
|
4303
|
+
periodTo: Date;
|
|
4304
|
+
protected page: number;
|
|
4305
|
+
protected sortField: string;
|
|
4306
|
+
protected sortOrder: string;
|
|
4307
|
+
data: AmbassadorPayoutListResponse;
|
|
4308
|
+
/**
|
|
4309
|
+
* Status options are served by main-api rather than hardcoded here, so they
|
|
4310
|
+
* can never drift from AmbassadorPayout::STATUSES. The labels stay
|
|
4311
|
+
* translatable because the value is only ever used as an i18n key suffix.
|
|
4312
|
+
*/
|
|
4313
|
+
get statusOptions(): {
|
|
4314
|
+
value: AmbassadorPayoutStatus;
|
|
4315
|
+
label: string;
|
|
4316
|
+
}[];
|
|
4317
|
+
get providerOptions(): {
|
|
4318
|
+
value: string;
|
|
4319
|
+
label: string;
|
|
4320
|
+
}[];
|
|
4321
|
+
/** Ordered so the two states an operator acts on (failed, pending) read first. */
|
|
4322
|
+
get summaryTiles(): {
|
|
4323
|
+
count: number;
|
|
4324
|
+
payout_in_cents: number;
|
|
4325
|
+
status: AmbassadorPayoutStatus;
|
|
4326
|
+
labelKey: string;
|
|
4327
|
+
}[];
|
|
4328
|
+
get totals(): {
|
|
4329
|
+
count: number;
|
|
4330
|
+
payout_in_cents: number;
|
|
4331
|
+
};
|
|
4332
|
+
/**
|
|
4333
|
+
* Tiles total the rows, so their currency comes from the rows, not a
|
|
4334
|
+
* literal. The worker writes USD today; the fallback covers first render.
|
|
4335
|
+
*/
|
|
4336
|
+
get summaryCurrency(): string;
|
|
4337
|
+
constructor(ambassadorPayoutService: AmbassadorPayoutService, injector: Injector, cdr: ChangeDetectorRef);
|
|
4338
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
4339
|
+
/**
|
|
4340
|
+
* Every filter widget — both dropdowns and both month pickers — routes its
|
|
4341
|
+
* change AND its built-in clear (`[showClear]`) here, so clearing is the
|
|
4342
|
+
* same gesture as selecting and needs no separate control.
|
|
4343
|
+
*
|
|
4344
|
+
* Re-queries from page 1: staying on page 4 of a narrower result set shows
|
|
4345
|
+
* nothing. A half-open month range is deliberately allowed — main-api
|
|
4346
|
+
* applies period_from and period_to independently.
|
|
4347
|
+
*/
|
|
4348
|
+
onFilterChange(): void;
|
|
4349
|
+
/** Bootstrap badge class per status — paid reads green, failed red, skipped muted. */
|
|
4350
|
+
statusBadgeClass(status: AmbassadorPayoutStatus): string;
|
|
4351
|
+
private statusTotal;
|
|
4352
|
+
private getAmbassadorPayouts;
|
|
4353
|
+
/**
|
|
4354
|
+
* The multiselects are capped at one selection each, so the first entry is
|
|
4355
|
+
* the filter — main-api takes a single status/provider, not a list.
|
|
4356
|
+
*/
|
|
4357
|
+
private buildFilters;
|
|
4358
|
+
/**
|
|
4359
|
+
* Payout periods are month buckets whose period_start is always the 1st, so
|
|
4360
|
+
* the month pickers are normalised to that day before they are sent.
|
|
4361
|
+
* Built from local date parts rather than toISOString() — the latter shifts
|
|
4362
|
+
* to UTC and would turn a 1 Apr selection east of Greenwich into 31 Mar.
|
|
4363
|
+
*/
|
|
4364
|
+
private toPeriodStart;
|
|
4365
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmbassadorPayoutsListComponent, never>;
|
|
4366
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmbassadorPayoutsListComponent, "pw-ambassador-payouts-list", never, {}, {}, never, never, false, never>;
|
|
4367
|
+
}
|
|
4368
|
+
|
|
4369
|
+
/**
|
|
4370
|
+
* One ambassador payout with the invoices that made up its gross
|
|
4371
|
+
* (ticket posiwise-frontend#4194).
|
|
4372
|
+
*
|
|
4373
|
+
* The invoice breakdown is the audit answer to "why is it this amount" — the
|
|
4374
|
+
* list view deliberately carries only the count, because loading each row's
|
|
4375
|
+
* invoices there would be one query per row.
|
|
4376
|
+
*
|
|
4377
|
+
* Read-only: a settled payout's provider, destination and idempotency key are
|
|
4378
|
+
* an immutable audit record (AmbassadorPayout#snapshot_is_immutable_once_paid).
|
|
4379
|
+
*/
|
|
4380
|
+
declare class AmbassadorPayoutDetailsComponent extends AppBaseComponent implements OnInit {
|
|
4381
|
+
private readonly ambassadorPayoutService;
|
|
4382
|
+
private readonly cdr;
|
|
4383
|
+
routers: {
|
|
4384
|
+
globalConfigDetails: string;
|
|
4385
|
+
adminCredentialsDetails: string;
|
|
4386
|
+
adminOauthClients: string;
|
|
4387
|
+
ambassadorPayouts: string;
|
|
4388
|
+
ambassadorPayoutDetails: string;
|
|
4389
|
+
adminOauthClientsDetails: string;
|
|
4390
|
+
subscriptionCredentialDetails: string;
|
|
4391
|
+
newsletter: string;
|
|
4392
|
+
mailerDetails: string;
|
|
4393
|
+
newsletterItemDetails: string;
|
|
4394
|
+
newsletterItemView: string;
|
|
4395
|
+
newslettersUserList: string;
|
|
4396
|
+
newsletterDetails: string;
|
|
4397
|
+
permissionsList: string;
|
|
4398
|
+
permissionsDetails: string;
|
|
4399
|
+
rolesDetails: string;
|
|
4400
|
+
productDetails: string;
|
|
4401
|
+
productsUserList: string;
|
|
4402
|
+
feedbackQuestions: string;
|
|
4403
|
+
feedbackQuestionsDetails: string;
|
|
4404
|
+
subscriptionDetails: string;
|
|
4405
|
+
subscriptionProductDetails: string;
|
|
4406
|
+
tipsDetails: string;
|
|
4407
|
+
tosAndPrivacyDetails: string;
|
|
4408
|
+
tosAndPrivacyView: string;
|
|
4409
|
+
usersDetails: string;
|
|
4410
|
+
domainConfig: string;
|
|
4411
|
+
domainConfigDetails: string;
|
|
4412
|
+
loginNotifications: string;
|
|
4413
|
+
incidentConfig: string;
|
|
4414
|
+
incidentDetails: string;
|
|
4415
|
+
featureFlagsConfig: string;
|
|
4416
|
+
featureFlagsDetails: string;
|
|
4417
|
+
featureFlagRules: string;
|
|
4418
|
+
faqConfig: string;
|
|
4419
|
+
faqDetails: string;
|
|
4420
|
+
inviteUsers: string;
|
|
4421
|
+
subscriptionList: string;
|
|
4422
|
+
createResource: string;
|
|
4423
|
+
createTag: string;
|
|
4424
|
+
tags: string;
|
|
4425
|
+
posts: string;
|
|
4426
|
+
resourcesList: string;
|
|
4427
|
+
};
|
|
4428
|
+
loading: boolean;
|
|
4429
|
+
isLoaded: boolean;
|
|
4430
|
+
payout: AmbassadorPayoutDetail;
|
|
4431
|
+
constructor(ambassadorPayoutService: AmbassadorPayoutService, injector: Injector, cdr: ChangeDetectorRef);
|
|
4432
|
+
ngOnInit(): void;
|
|
4433
|
+
/** Mirrors the list's mapping so a status reads identically in both views. */
|
|
4434
|
+
statusBadgeClass(status: string): string;
|
|
4435
|
+
/**
|
|
4436
|
+
* The contributions are what the commission was actually calculated from,
|
|
4437
|
+
* so their sum is shown next to the payout's own gross — a mismatch means
|
|
4438
|
+
* invoices changed after the row was prepared and is worth seeing.
|
|
4439
|
+
*/
|
|
4440
|
+
get contributionTotalInCents(): number;
|
|
4441
|
+
private getPayout;
|
|
4442
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmbassadorPayoutDetailsComponent, never>;
|
|
4443
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmbassadorPayoutDetailsComponent, "pw-ambassador-payout-details", never, {}, {}, never, never, false, never>;
|
|
4444
|
+
}
|
|
4445
|
+
|
|
4136
4446
|
declare class OauthClientsTabsComponent {
|
|
4137
4447
|
items: MenuItem[];
|
|
4138
4448
|
static ɵfac: i0.ɵɵFactoryDeclaration<OauthClientsTabsComponent, never>;
|
|
@@ -4150,6 +4460,8 @@ declare class OauthClientsComponent extends AppBaseComponent implements OnInit {
|
|
|
4150
4460
|
globalConfigDetails: string;
|
|
4151
4461
|
adminCredentialsDetails: string;
|
|
4152
4462
|
adminOauthClients: string;
|
|
4463
|
+
ambassadorPayouts: string;
|
|
4464
|
+
ambassadorPayoutDetails: string;
|
|
4153
4465
|
adminOauthClientsDetails: string;
|
|
4154
4466
|
subscriptionCredentialDetails: string;
|
|
4155
4467
|
newsletter: string;
|
|
@@ -4213,6 +4525,8 @@ declare class OauthClientsDetailsComponent extends AppBaseComponent implements O
|
|
|
4213
4525
|
globalConfigDetails: string;
|
|
4214
4526
|
adminCredentialsDetails: string;
|
|
4215
4527
|
adminOauthClients: string;
|
|
4528
|
+
ambassadorPayouts: string;
|
|
4529
|
+
ambassadorPayoutDetails: string;
|
|
4216
4530
|
adminOauthClientsDetails: string;
|
|
4217
4531
|
subscriptionCredentialDetails: string;
|
|
4218
4532
|
newsletter: string;
|
|
@@ -4657,6 +4971,8 @@ declare class GlobalConfigListComponent extends AppBaseComponent implements OnIn
|
|
|
4657
4971
|
globalConfigDetails: string;
|
|
4658
4972
|
adminCredentialsDetails: string;
|
|
4659
4973
|
adminOauthClients: string;
|
|
4974
|
+
ambassadorPayouts: string;
|
|
4975
|
+
ambassadorPayoutDetails: string;
|
|
4660
4976
|
adminOauthClientsDetails: string;
|
|
4661
4977
|
subscriptionCredentialDetails: string;
|
|
4662
4978
|
newsletter: string;
|
|
@@ -4755,6 +5071,8 @@ declare class SubscriptionProductsComponent extends AppBaseComponent implements
|
|
|
4755
5071
|
globalConfigDetails: string;
|
|
4756
5072
|
adminCredentialsDetails: string;
|
|
4757
5073
|
adminOauthClients: string;
|
|
5074
|
+
ambassadorPayouts: string;
|
|
5075
|
+
ambassadorPayoutDetails: string;
|
|
4758
5076
|
adminOauthClientsDetails: string;
|
|
4759
5077
|
subscriptionCredentialDetails: string;
|
|
4760
5078
|
newsletter: string;
|
|
@@ -4833,6 +5151,8 @@ declare class SubscriptionUsersComponent extends AppBaseComponent implements OnI
|
|
|
4833
5151
|
globalConfigDetails: string;
|
|
4834
5152
|
adminCredentialsDetails: string;
|
|
4835
5153
|
adminOauthClients: string;
|
|
5154
|
+
ambassadorPayouts: string;
|
|
5155
|
+
ambassadorPayoutDetails: string;
|
|
4836
5156
|
adminOauthClientsDetails: string;
|
|
4837
5157
|
subscriptionCredentialDetails: string;
|
|
4838
5158
|
newsletter: string;
|
|
@@ -4960,23 +5280,14 @@ declare class SubscriptionAgentsListComponent extends AppBaseComponent implement
|
|
|
4960
5280
|
search(event: any): void;
|
|
4961
5281
|
readonly payoutProviders: _posiwise_admin_module_utils.PayoutProviderDefinition[];
|
|
4962
5282
|
get payoutFields(): _posiwise_admin_module_utils.PayoutFieldDefinition[];
|
|
5283
|
+
/** Transloco key for the selected provider's caveat, or null if it has none. */
|
|
5284
|
+
get payoutNoticeKey(): string | null;
|
|
4963
5285
|
/**
|
|
4964
|
-
*
|
|
4965
|
-
*
|
|
4966
|
-
* person
|
|
4967
|
-
* commission to the same account. So the destination fields only appear for
|
|
4968
|
-
* a single selection; bulk-added ambassadors get the provider and fill in
|
|
4969
|
-
* their destination on the edit screen.
|
|
5286
|
+
* The ambassador autocomplete is single-select, so an agent is being added
|
|
5287
|
+
* once the control holds a user. A payout destination belongs to exactly one
|
|
5288
|
+
* person, so the destination fields render as soon as that user is picked.
|
|
4970
5289
|
*/
|
|
4971
5290
|
get isSingleAmbassadorSelected(): boolean;
|
|
4972
|
-
/**
|
|
4973
|
-
* Only a genuine MULTI-selection gets the bulk hint. Gating it on
|
|
4974
|
-
* `!isSingleAmbassadorSelected` also caught the zero-selected case, so a
|
|
4975
|
-
* blank form explained bulk-add behaviour before anything had been picked —
|
|
4976
|
-
* and the message then vanished the moment one ambassador was chosen.
|
|
4977
|
-
*/
|
|
4978
|
-
get isBulkAmbassadorSelection(): boolean;
|
|
4979
|
-
private get selectedAmbassadorCount();
|
|
4980
5291
|
onPayoutProviderChange(_provider: PayoutProvider): void;
|
|
4981
5292
|
/**
|
|
4982
5293
|
* Validator state depends on BOTH the provider and how many ambassadors are
|
|
@@ -5044,6 +5355,8 @@ declare class IncidentListComponent extends AppBaseComponent implements OnInit,
|
|
|
5044
5355
|
globalConfigDetails: string;
|
|
5045
5356
|
adminCredentialsDetails: string;
|
|
5046
5357
|
adminOauthClients: string;
|
|
5358
|
+
ambassadorPayouts: string;
|
|
5359
|
+
ambassadorPayoutDetails: string;
|
|
5047
5360
|
adminOauthClientsDetails: string;
|
|
5048
5361
|
subscriptionCredentialDetails: string;
|
|
5049
5362
|
newsletter: string;
|
|
@@ -5124,6 +5437,8 @@ declare class AddEditIncidentComponent extends AppBaseComponent implements OnIni
|
|
|
5124
5437
|
globalConfigDetails: string;
|
|
5125
5438
|
adminCredentialsDetails: string;
|
|
5126
5439
|
adminOauthClients: string;
|
|
5440
|
+
ambassadorPayouts: string;
|
|
5441
|
+
ambassadorPayoutDetails: string;
|
|
5127
5442
|
adminOauthClientsDetails: string;
|
|
5128
5443
|
subscriptionCredentialDetails: string;
|
|
5129
5444
|
newsletter: string;
|
|
@@ -5204,6 +5519,8 @@ declare class AddEditFaqComponent extends AppBaseComponent implements OnInit, On
|
|
|
5204
5519
|
globalConfigDetails: string;
|
|
5205
5520
|
adminCredentialsDetails: string;
|
|
5206
5521
|
adminOauthClients: string;
|
|
5522
|
+
ambassadorPayouts: string;
|
|
5523
|
+
ambassadorPayoutDetails: string;
|
|
5207
5524
|
adminOauthClientsDetails: string;
|
|
5208
5525
|
subscriptionCredentialDetails: string;
|
|
5209
5526
|
newsletter: string;
|
|
@@ -5315,7 +5632,7 @@ declare class AdminRoutingModule {
|
|
|
5315
5632
|
|
|
5316
5633
|
declare class AdminModule {
|
|
5317
5634
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminModule, never>;
|
|
5318
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdminModule, [typeof UserTabComponent, typeof SubscriptionComponent, typeof MailerComponent, typeof MailerListComponent, typeof MailerDetailsComponent, typeof NewsletterComponent, typeof FaqListComponent, typeof DomainConfigListComponent, typeof DomainConfigDetailsComponent, typeof DomainConfigBuildComponent, typeof DomainConfigCoreComponent, typeof DomainConfigOrganizationComponent, typeof DomainConfigSecurityComponent, typeof DomainConfigSocialComponent, typeof DomainConfigIntegrationsComponent, typeof DomainConfigInterfaceComponent, typeof DomainConfigTabsComponent, typeof LoginNotificationTabsComponent, typeof LoginNotificationsListComponent, typeof LoginNotificationDetailsComponent, typeof FeedbackQuestionsListComponent, typeof FeedbackQuestionsDetailsComponent, typeof FeatureFlagsListComponent, typeof FeatureFlagDetailsComponent, typeof FeatureFlagRulesComponent, typeof FeatureFlagsTabsComponent, typeof UserDetailsComponent, typeof ProductsTabComponent, typeof SubscriptionDetailsComponent, typeof NewsletterDetailsComponent, typeof NewsletterItemDetailsComponent, typeof NewsLetterItemViewComponent, typeof ProductDetailsComponent, typeof RoleDetailsComponent, typeof TagsTabsComponent, typeof TipComponent, typeof TipsComponent, typeof AgentDetailsComponent, typeof UserListComponent, typeof RolesListComponent, typeof SubscriptionsListComponent, typeof InviteUsersComponent, typeof SubscriptionProductDetailsComponent, typeof InsightComponent, typeof SubscriptionInsightNpsComponent, typeof SubscriptionInsightAveragePriceComponent, typeof SubscriptionInsightProcuctSessionComponent, typeof SubscriptionInsightUserSessionComponent, typeof SubscriptionInsightAverageUserComponent, typeof SubscriptionInsightRevenueComponent, typeof SubscriptionInsightChurnComponent, typeof ProductsListComponent, typeof ProductInsightComponent, typeof ResourcesAdminIndexComponent, typeof ResourceAdminDetailsComponent, typeof TagDetailsComponent, typeof ResourcesIndexComponent, typeof ResourcesInsightComponent, typeof ResourcesListsInsightComponent, typeof NewslettersListComponent, typeof NewslettersItemsComponent, typeof NewsletterInsightComponent, typeof UserInsightComponent, typeof TagsCategoryComponent, typeof TagsListComponent, typeof TipsTabsComponent, typeof GenericMiscComponent, typeof GenericInsightComponent, typeof FaqTabsComponent, typeof ContactUsTabsComponent, typeof GeneralTabsComponent, typeof PermissionsListComponent, typeof PermissionsDetailsComponent, typeof PermissionsTabsComponent, typeof TermsOfServiceComponent, typeof TermsOfServiceTabsComponent, typeof TermsOfServiceDetailsComponent, typeof CredentialsComponent, typeof SubscriptionCredentialsComponent, typeof SubscriptionCredentialsDetailsComponent, typeof CredentialsDetailsComponent, typeof CredentialsTabComponent, typeof OauthClientsTabsComponent, typeof OauthClientsComponent, typeof OauthClientsDetailsComponent, typeof AhoyEventsComponent, typeof TrackingComponent, typeof AhoyMessagesComponent, typeof AhoyVisitsComponent, typeof EventsComponent, typeof VersionsComponent, typeof UsersListForProductComponent, typeof NewsletterUsersListComponent, typeof GlobalConfigListComponent, typeof GlobalConfigDetailsComponent, typeof GlobalConfigTabsComponent, typeof SubscriptionProductsComponent, typeof SubscriptionUsersComponent, typeof AddMembersComponent, typeof SubscriptionAgentsListComponent, typeof SubscriptionInsightTabsComponent, typeof ContactUsListComponent, typeof IncidentListComponent, typeof IncidentTabsComponent, typeof AddEditIncidentComponent, typeof AddEditFaqComponent, typeof UsersInformationSidebarComponent], [typeof
|
|
5635
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdminModule, [typeof UserTabComponent, typeof SubscriptionComponent, typeof MailerComponent, typeof MailerListComponent, typeof MailerDetailsComponent, typeof NewsletterComponent, typeof FaqListComponent, typeof DomainConfigListComponent, typeof DomainConfigDetailsComponent, typeof DomainConfigBuildComponent, typeof DomainConfigCoreComponent, typeof DomainConfigOrganizationComponent, typeof DomainConfigSecurityComponent, typeof DomainConfigSocialComponent, typeof DomainConfigIntegrationsComponent, typeof DomainConfigInterfaceComponent, typeof DomainConfigTabsComponent, typeof LoginNotificationTabsComponent, typeof LoginNotificationsListComponent, typeof LoginNotificationDetailsComponent, typeof FeedbackQuestionsListComponent, typeof FeedbackQuestionsDetailsComponent, typeof FeatureFlagsListComponent, typeof FeatureFlagDetailsComponent, typeof FeatureFlagRulesComponent, typeof FeatureFlagsTabsComponent, typeof UserDetailsComponent, typeof ProductsTabComponent, typeof SubscriptionDetailsComponent, typeof NewsletterDetailsComponent, typeof NewsletterItemDetailsComponent, typeof NewsLetterItemViewComponent, typeof ProductDetailsComponent, typeof RoleDetailsComponent, typeof TagsTabsComponent, typeof TipComponent, typeof TipsComponent, typeof AgentDetailsComponent, typeof UserListComponent, typeof RolesListComponent, typeof SubscriptionsListComponent, typeof InviteUsersComponent, typeof SubscriptionProductDetailsComponent, typeof InsightComponent, typeof SubscriptionInsightNpsComponent, typeof SubscriptionInsightAveragePriceComponent, typeof SubscriptionInsightProcuctSessionComponent, typeof SubscriptionInsightUserSessionComponent, typeof SubscriptionInsightAverageUserComponent, typeof SubscriptionInsightRevenueComponent, typeof SubscriptionInsightChurnComponent, typeof ProductsListComponent, typeof ProductInsightComponent, typeof ResourcesAdminIndexComponent, typeof ResourceAdminDetailsComponent, typeof TagDetailsComponent, typeof ResourcesIndexComponent, typeof ResourcesInsightComponent, typeof ResourcesListsInsightComponent, typeof NewslettersListComponent, typeof NewslettersItemsComponent, typeof NewsletterInsightComponent, typeof UserInsightComponent, typeof TagsCategoryComponent, typeof TagsListComponent, typeof TipsTabsComponent, typeof GenericMiscComponent, typeof GenericInsightComponent, typeof FaqTabsComponent, typeof ContactUsTabsComponent, typeof GeneralTabsComponent, typeof PermissionsListComponent, typeof PermissionsDetailsComponent, typeof PermissionsTabsComponent, typeof TermsOfServiceComponent, typeof TermsOfServiceTabsComponent, typeof TermsOfServiceDetailsComponent, typeof CredentialsComponent, typeof SubscriptionCredentialsComponent, typeof SubscriptionCredentialsDetailsComponent, typeof CredentialsDetailsComponent, typeof CredentialsTabComponent, typeof AmbassadorPayoutsTabsComponent, typeof AmbassadorPayoutsListComponent, typeof AmbassadorPayoutDetailsComponent, typeof OauthClientsTabsComponent, typeof OauthClientsComponent, typeof OauthClientsDetailsComponent, typeof AhoyEventsComponent, typeof TrackingComponent, typeof AhoyMessagesComponent, typeof AhoyVisitsComponent, typeof EventsComponent, typeof VersionsComponent, typeof UsersListForProductComponent, typeof NewsletterUsersListComponent, typeof GlobalConfigListComponent, typeof GlobalConfigDetailsComponent, typeof GlobalConfigTabsComponent, typeof SubscriptionProductsComponent, typeof SubscriptionUsersComponent, typeof AddMembersComponent, typeof SubscriptionAgentsListComponent, typeof SubscriptionInsightTabsComponent, typeof ContactUsListComponent, typeof IncidentListComponent, typeof IncidentTabsComponent, typeof AddEditIncidentComponent, typeof AddEditFaqComponent, typeof UsersInformationSidebarComponent], [typeof i111.TableModule, typeof i112.TooltipModule, typeof i113.AccordionModule, typeof i114.AutoCompleteModule, typeof i115.SelectModule, typeof i116.MultiSelectModule, typeof i117.InputTextModule, typeof i118.IconFieldModule, typeof i119.InputIconModule, typeof i120.AppLoaderModule, typeof i121.NgxDaterangepickerMd, typeof i122.NgxJsonViewerModule, typeof i123.DatePickerModule, typeof i124.PlotlyViaCDNModule, typeof i125.FileUploadModule, typeof i126.NgbTooltipModule, typeof i127.NgxUploaderModule, typeof i128.CommonModule, typeof i129.UiSwitchModule, typeof i130.SharedComponentsModule, typeof i130.CollapsibleSidebarTriggerDirective, typeof i131.NgxGpAutocompleteModule, typeof i132.CoreTranslocoModule, typeof i133.PipesModule, typeof KpiInsightPipe, typeof i135.DirectivesModule, typeof AdminRoutingModule, typeof i126.NgbModalModule, typeof _angular_forms.FormsModule, typeof _angular_forms.ReactiveFormsModule, typeof i138.NgxPaginationModule, typeof i126.NgbNavModule, typeof i126.NgbDatepickerModule, typeof i139.QuillModule], never>;
|
|
5319
5636
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdminModule>;
|
|
5320
5637
|
}
|
|
5321
5638
|
|
|
@@ -5335,6 +5652,8 @@ declare const ROUTERS: {
|
|
|
5335
5652
|
globalConfigDetails: string;
|
|
5336
5653
|
adminCredentialsDetails: string;
|
|
5337
5654
|
adminOauthClients: string;
|
|
5655
|
+
ambassadorPayouts: string;
|
|
5656
|
+
ambassadorPayoutDetails: string;
|
|
5338
5657
|
adminOauthClientsDetails: string;
|
|
5339
5658
|
subscriptionCredentialDetails: string;
|
|
5340
5659
|
newsletter: string;
|
|
@@ -5376,3 +5695,4 @@ declare const ROUTERS: {
|
|
|
5376
5695
|
};
|
|
5377
5696
|
|
|
5378
5697
|
export { AddEditFaqComponent, AdminGuardService, AdminModule, AdminRoutingModule, AgentDetailsComponent, AhoyEventsComponent, AhoyMessagesComponent, AhoyVisitsComponent, ContactUsListComponent, ContactUsTabsComponent, CredentialsComponent, CredentialsDetailsComponent, CredentialsTabComponent, DomainConfigBuildComponent, DomainConfigCoreComponent, DomainConfigDetailsComponent, DomainConfigIntegrationsComponent, DomainConfigInterfaceComponent, DomainConfigListComponent, DomainConfigOrganizationComponent, DomainConfigSecurityComponent, DomainConfigSocialComponent, DomainConfigTabsComponent, EventsComponent, FaqListComponent, FaqTabsComponent, FeedbackQuestionsDetailsComponent, FeedbackQuestionsListComponent, GeneralTabsComponent, GenericInsightComponent, GenericMiscComponent, GlobalConfigDetailsComponent, GlobalConfigListComponent, GlobalConfigTabsComponent, InsightComponent, LoginNotificationDetailsComponent, LoginNotificationTabsComponent, LoginNotificationsListComponent, NewsletterComponent, NewsletterDetailsComponent, NewsletterInsightComponent, NewsletterItemDetailsComponent, NewsletterUsersListComponent, NewslettersItemsComponent, NewslettersListComponent, PermissionsDetailsComponent, PermissionsListComponent, PermissionsTabsComponent, ProductDetailsComponent, ProductInsightComponent, ProductsListComponent, ProductsTabComponent, ROUTERS, RoleDetailsComponent, RolesListComponent, SubscriptionAgentsListComponent, SubscriptionComponent, SubscriptionCredentialsComponent, SubscriptionCredentialsDetailsComponent, SubscriptionDetailsComponent, SubscriptionInsightNpsComponent, SubscriptionInsightRevenueComponent, SubscriptionInsightTabsComponent, SubscriptionProductDetailsComponent, SubscriptionProductsComponent, SubscriptionUsersComponent, SubscriptionsListComponent, TagsCategoryComponent, TagsListComponent, TagsTabsComponent, TermsOfServiceComponent, TermsOfServiceDetailsComponent, TermsOfServiceTabsComponent, TipComponent, TipsComponent, TipsTabsComponent, TrackingComponent, UserDetailsComponent, UserInsightComponent, UserListComponent, UserTabComponent, UsersListForProductComponent, VersionsComponent };
|
|
5698
|
+
export type { Ambassadorship };
|