@posiwise/admin-module 0.0.242 → 0.0.243

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.242",
3
+ "version": "0.0.243",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.19",
6
6
  "@angular/core": "^21.2.19",
@@ -4238,17 +4238,13 @@ declare class AmbassadorPayoutsTabsComponent {
4238
4238
  }
4239
4239
 
4240
4240
  /**
4241
- * Read-only visibility over the ambassador payout audit trail
4242
- * (ticket posiwise-frontend#4194).
4241
+ * Read-only view over the ambassador payout audit trail (ticket #4194).
4243
4242
  *
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.
4243
+ * No mutating actions by design — 'pending' rows are retried by the next
4244
+ * monthly AmbassadorPayoutWorker run.
4248
4245
  *
4249
- * Open to super admins and master-subscription admins. main-api does the
4250
- * scoping: a master-subscription admin sees only their own master subscription
4251
- * and its children, a super admin the whole shard (review of #4194).
4246
+ * Open to super admins and master-subscription admins; main-api scopes a
4247
+ * master-subscription admin to their own master subscription and its children.
4252
4248
  */
4253
4249
  declare class AmbassadorPayoutsListComponent extends AppBaseComponent {
4254
4250
  private readonly ambassadorPayoutService;
@@ -4303,20 +4299,15 @@ declare class AmbassadorPayoutsListComponent extends AppBaseComponent {
4303
4299
  searchText: string;
4304
4300
  selectedStatuses: string[];
4305
4301
  selectedProviders: string[];
4306
- /**
4307
- * Single-valued, unlike the two multiselects beside it: main-api's
4308
- * subscription_id filter takes one id, and this mirrors the existing
4309
- * "Filter by subscription" control on the admin credentials list.
4310
- */
4311
- selectedSubscriptionId: number | null;
4312
4302
  periodFrom: Date;
4313
4303
  periodTo: Date;
4314
4304
  protected page: number;
4315
4305
  protected sortField: string;
4316
4306
  protected sortOrder: string;
4317
4307
  /**
4318
- * The tenancy sent to main-api. Inside /admin the selected subscription IS
4319
- * the caller's master subscription — the Admin menu only renders once the
4308
+ * The tenancy sent to main-api as `subscription_id` — the param every
4309
+ * PosiWise admin view uses for it. Inside /admin the selected subscription
4310
+ * IS the caller's master subscription — the Admin menu only renders once the
4320
4311
  * current product grants SubscriptionSuperAdmin/SuperOwner — which is the
4321
4312
  * same source the admin Users and Subscriptions lists read.
4322
4313
  *
@@ -4341,16 +4332,6 @@ declare class AmbassadorPayoutsListComponent extends AppBaseComponent {
4341
4332
  value: string;
4342
4333
  label: string;
4343
4334
  }[];
4344
- /**
4345
- * Served by main-api from the caller's own payout scope, so a master
4346
- * subscription admin only ever sees their master and its children here
4347
- * (review of #4194). Empty for a tenancy with a single subscription, which
4348
- * is why the control hides itself in that case — see the template.
4349
- */
4350
- get subscriptionOptions(): {
4351
- value: number;
4352
- label: string;
4353
- }[];
4354
4335
  /** Ordered so the two states an operator acts on (failed, pending) read first. */
4355
4336
  get summaryTiles(): {
4356
4337
  count: number;