@posiwise/admin-module 0.0.251 → 0.0.252

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/admin-module",
3
- "version": "0.0.251",
3
+ "version": "0.0.252",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.2.0",
6
6
  "@angular/core": "^22.2.0",
@@ -4,50 +4,50 @@ import { AhoyService, AuthService, CommonService, CustomToastService, FeatureFla
4
4
  import { LazyLoadEvent, MenuItem, SelectItem } from "primeng/api";
5
5
  import { AppBaseComponent } from "@posiwise/app-base-component";
6
6
  import { AdminDataService, AdminService, AmbassadorPayoutDetail, AmbassadorPayoutListResponse, AmbassadorPayoutService, AmbassadorPayoutStatus, McpOauthClient, McpOauthClientService, PayoutProvider } from "@posiwise/admin-module-utils";
7
- import * as i130 from "@posiwise/shared-components";
7
+ import * as i131 from "@posiwise/shared-components";
8
8
  import { CollapsibleSidebarService, ConfirmDialogService, PasswordValidationComponent, PermissionTreeComponent } from "@posiwise/shared-components";
9
- import * as i137 from "@angular/forms";
9
+ import * as i138 from "@angular/forms";
10
10
  import { FormArray, FormBuilder, FormGroup, NgForm, UntypedFormArray, UntypedFormBuilder, UntypedFormGroup } from "@angular/forms";
11
11
  import { FAQ, Paging, Plotly, Product, ResourceInsightResponse, ResourcePost, Role, Subscription, SubscriptionMember, User } from "@posiwise/common-utilities";
12
12
  import { CdkDragDrop } from "@angular/cdk/drag-drop";
13
13
  import { CustomUploaderComponent } from "@posiwise/utils";
14
- import * as i126 from "@ng-bootstrap/ng-bootstrap";
14
+ import * as i127 from "@ng-bootstrap/ng-bootstrap";
15
15
  import { NgbDateParserFormatter, NgbDatepickerConfig, NgbModal } from "@ng-bootstrap/ng-bootstrap";
16
16
  import { Observable } from "rxjs";
17
- import * as i128 from "@angular/common";
17
+ import * as i129 from "@angular/common";
18
18
  import { DatePipe } from "@angular/common";
19
19
  import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
20
- import * as i131 from "@angular-magic/ngx-gp-autocomplete";
20
+ import * as i132 from "@angular-magic/ngx-gp-autocomplete";
21
21
  import { NgxGpAutocompleteDirective } from "@angular-magic/ngx-gp-autocomplete";
22
- import * as i114 from "primeng/autocomplete";
22
+ import * as i115 from "primeng/autocomplete";
23
23
  import { AutoComplete } from "primeng/autocomplete";
24
24
  import moment$1 from "moment";
25
- import * as i111 from "primeng/table";
25
+ import * as i112 from "primeng/table";
26
26
  import { Table } from "primeng/table";
27
- import * as i116 from "primeng/multiselect";
27
+ import * as i117 from "primeng/multiselect";
28
28
  import { MultiSelect } from "primeng/multiselect";
29
- import * as i127 from "ngx-uploader";
29
+ import * as i128 from "ngx-uploader";
30
30
  import { UploadFile, UploadInput, UploadOutput, UploaderOptions, humanizeBytes } from "ngx-uploader";
31
- import * as i112 from "primeng/tooltip";
32
- import * as i113 from "primeng/accordion";
33
- import * as i115 from "primeng/select";
34
- import * as i117 from "primeng/inputtext";
35
- import * as i118 from "primeng/iconfield";
36
- import * as i119 from "primeng/inputicon";
37
- import * as i120 from "@posiwise/app-loader";
38
- import * as i121 from "ngx-daterangepicker-material";
39
- import * as i122 from "ngx-json-viewer";
40
- import * as i123 from "primeng/datepicker";
41
- import * as i124 from "angular-plotly.js";
42
- import * as i125 from "primeng/fileupload";
43
- import * as i129 from "ngx-ui-switch";
44
- import * as i132 from "@posiwise/core-transloco";
45
- import * as i133 from "@posiwise/pipes";
46
- import * as i135 from "@posiwise/directives";
31
+ import * as i113 from "primeng/tooltip";
32
+ import * as i114 from "primeng/accordion";
33
+ import * as i116 from "primeng/select";
34
+ import * as i118 from "primeng/inputtext";
35
+ import * as i119 from "primeng/iconfield";
36
+ import * as i120 from "primeng/inputicon";
37
+ import * as i121 from "@posiwise/app-loader";
38
+ import * as i122 from "ngx-daterangepicker-material";
39
+ import * as i123 from "ngx-json-viewer";
40
+ import * as i124 from "primeng/datepicker";
41
+ import * as i125 from "angular-plotly.js";
42
+ import * as i126 from "primeng/fileupload";
43
+ import * as i130 from "ngx-ui-switch";
44
+ import * as i133 from "@posiwise/core-transloco";
45
+ import * as i134 from "@posiwise/pipes";
46
+ import * as i136 from "@posiwise/directives";
47
47
  import * as i1 from "@angular/router";
48
48
  import { ActivatedRouteSnapshot, Route, Router, RouterStateSnapshot } from "@angular/router";
49
- import * as i138 from "ngx-pagination";
50
- import * as i139 from "ngx-quill";
49
+ import * as i139 from "ngx-pagination";
50
+ import * as i140 from "ngx-quill";
51
51
  declare namespace users_tabs_component_d_exports {
52
52
  export { UserTabComponent };
53
53
  }
@@ -287,6 +287,7 @@ interface Product$1 {
287
287
  currency: string;
288
288
  active: boolean;
289
289
  dependency_products?: string[];
290
+ second_payment_provider?: string | null;
290
291
  }
291
292
  interface SubscriptionProductDetails {
292
293
  id: number;
@@ -2233,6 +2234,36 @@ export declare class ProductDetailsComponent extends AppBaseComponent implements
2233
2234
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDetailsComponent, never>;
2234
2235
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductDetailsComponent, "pw-product-details", never, {}, {}, never, never, false, never>;
2235
2236
  }
2237
+ declare namespace product_backup_card_component_d_exports {
2238
+ export { ProductBackupCardComponent };
2239
+ }
2240
+ declare class ProductBackupCardComponent implements OnInit {
2241
+ form: UntypedFormGroup;
2242
+ provider?: string | null;
2243
+ submitted: boolean;
2244
+ private readonly destroyRef;
2245
+ readonly providers: {
2246
+ label: string;
2247
+ value: string;
2248
+ }[];
2249
+ ngOnInit(): void;
2250
+ get required(): boolean;
2251
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductBackupCardComponent, never>;
2252
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductBackupCardComponent, "pw-product-backup-card", never, {
2253
+ "form": {
2254
+ "alias": "form";
2255
+ "required": true;
2256
+ };
2257
+ "provider": {
2258
+ "alias": "provider";
2259
+ "required": false;
2260
+ };
2261
+ "submitted": {
2262
+ "alias": "submitted";
2263
+ "required": false;
2264
+ };
2265
+ }, {}, never, never, false, never>;
2266
+ }
2236
2267
  declare namespace role_details_component_d_exports {
2237
2268
  export { RoleDetailsComponent };
2238
2269
  }
@@ -5888,7 +5919,7 @@ export declare class AdminRoutingModule {
5888
5919
  }
5889
5920
  export declare class AdminModule {
5890
5921
  static ɵfac: i0.ɵɵFactoryDeclaration<AdminModule, never>;
5891
- 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 i137.FormsModule, typeof i137.ReactiveFormsModule, typeof i138.NgxPaginationModule, typeof i126.NgbNavModule, typeof i126.NgbDatepickerModule, typeof i139.QuillModule], never>;
5922
+ 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 ProductBackupCardComponent, 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 i112.TableModule, typeof i113.TooltipModule, typeof i114.AccordionModule, typeof i115.AutoCompleteModule, typeof i116.SelectModule, typeof i117.MultiSelectModule, typeof i118.InputTextModule, typeof i119.IconFieldModule, typeof i120.InputIconModule, typeof i121.AppLoaderModule, typeof i122.NgxDaterangepickerMd, typeof i123.NgxJsonViewerModule, typeof i124.DatePickerModule, typeof i125.PlotlyViaCDNModule, typeof i126.FileUploadModule, typeof i127.NgbTooltipModule, typeof i128.NgxUploaderModule, typeof i129.CommonModule, typeof i130.UiSwitchModule, typeof i131.SharedComponentsModule, typeof i131.CollapsibleSidebarTriggerDirective, typeof i132.NgxGpAutocompleteModule, typeof i133.CoreTranslocoModule, typeof i134.PipesModule, typeof KpiInsightPipe, typeof i136.DirectivesModule, typeof AdminRoutingModule, typeof i127.NgbModalModule, typeof i138.FormsModule, typeof i138.ReactiveFormsModule, typeof i139.NgxPaginationModule, typeof i127.NgbNavModule, typeof i127.NgbDatepickerModule, typeof i140.QuillModule], never>;
5892
5923
  static ɵinj: i0.ɵɵInjectorDeclaration<AdminModule>;
5893
5924
  }
5894
5925
  export declare class AdminGuardService {