@mj-biz-apps/orders-server 5.17.0 → 5.18.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.
@@ -2658,6 +2658,20 @@ __decorate([
2658
2658
  Field(),
2659
2659
  __metadata("design:type", Date)
2660
2660
  ], mjBizAppsOrdersEntitlementGrant_.prototype, "_mj__UpdatedAt", void 0);
2661
+ __decorate([
2662
+ Field({ nullable: true, description: `The grant timing that produced this grant (OnConfirm, OnPaidInFull, OnFirstPayment, OnActivation), resolved at confirm from product, category and product type. Access is re-decided from this when the order's payments change. NULL on grants written before the column existed.` }),
2663
+ MaxLength(20),
2664
+ __metadata("design:type", String)
2665
+ ], mjBizAppsOrdersEntitlementGrant_.prototype, "GrantTimingApplied", void 0);
2666
+ __decorate([
2667
+ Field({ nullable: true, description: `When the grant was last suspended. Set together with SuspensionReason and cleared when the grant becomes Active again.` }),
2668
+ __metadata("design:type", Date)
2669
+ ], mjBizAppsOrdersEntitlementGrant_.prototype, "SuspendedAt", void 0);
2670
+ __decorate([
2671
+ Field({ nullable: true, description: `Why the grant is suspended: AwaitingPayment (a new purchase whose first payment has not been received), PastDue (a renewal past the configured cutoff), or AwaitingActivation. AwaitingPayment and PastDue are lifted automatically when payment arrives.` }),
2672
+ MaxLength(20),
2673
+ __metadata("design:type", String)
2674
+ ], mjBizAppsOrdersEntitlementGrant_.prototype, "SuspensionReason", void 0);
2661
2675
  __decorate([
2662
2676
  Field({ nullable: true }),
2663
2677
  MaxLength(200),
@@ -2751,6 +2765,18 @@ __decorate([
2751
2765
  Field({ nullable: true }),
2752
2766
  __metadata("design:type", String)
2753
2767
  ], CreatemjBizAppsOrdersEntitlementGrantInput.prototype, "RevocationReason", void 0);
2768
+ __decorate([
2769
+ Field({ nullable: true }),
2770
+ __metadata("design:type", String)
2771
+ ], CreatemjBizAppsOrdersEntitlementGrantInput.prototype, "GrantTimingApplied", void 0);
2772
+ __decorate([
2773
+ Field({ nullable: true }),
2774
+ __metadata("design:type", Date)
2775
+ ], CreatemjBizAppsOrdersEntitlementGrantInput.prototype, "SuspendedAt", void 0);
2776
+ __decorate([
2777
+ Field({ nullable: true }),
2778
+ __metadata("design:type", String)
2779
+ ], CreatemjBizAppsOrdersEntitlementGrantInput.prototype, "SuspensionReason", void 0);
2754
2780
  __decorate([
2755
2781
  Field(() => RestoreContextInput, { nullable: true }),
2756
2782
  __metadata("design:type", RestoreContextInput)
@@ -2824,6 +2850,18 @@ __decorate([
2824
2850
  Field({ nullable: true }),
2825
2851
  __metadata("design:type", String)
2826
2852
  ], UpdatemjBizAppsOrdersEntitlementGrantInput.prototype, "RevocationReason", void 0);
2853
+ __decorate([
2854
+ Field({ nullable: true }),
2855
+ __metadata("design:type", String)
2856
+ ], UpdatemjBizAppsOrdersEntitlementGrantInput.prototype, "GrantTimingApplied", void 0);
2857
+ __decorate([
2858
+ Field({ nullable: true }),
2859
+ __metadata("design:type", Date)
2860
+ ], UpdatemjBizAppsOrdersEntitlementGrantInput.prototype, "SuspendedAt", void 0);
2861
+ __decorate([
2862
+ Field({ nullable: true }),
2863
+ __metadata("design:type", String)
2864
+ ], UpdatemjBizAppsOrdersEntitlementGrantInput.prototype, "SuspensionReason", void 0);
2827
2865
  __decorate([
2828
2866
  Field(() => [KeyValuePairInput], { nullable: true }),
2829
2867
  __metadata("design:type", Array)
@@ -9127,6 +9165,11 @@ __decorate([
9127
9165
  Field(),
9128
9166
  __metadata("design:type", Date)
9129
9167
  ], mjBizAppsOrdersPaymentHeader_.prototype, "_mj__UpdatedAt", void 0);
9168
+ __decorate([
9169
+ Field({ nullable: true, description: `Who took the money back on a reversal: Refund (the seller chose to, via Orders.RefundPayment) or BankReturn (the bank reversed a debit). Set on every reversal and on nothing else. A bank return removes payment-gated access; a refund does not.` }),
9170
+ MaxLength(20),
9171
+ __metadata("design:type", String)
9172
+ ], mjBizAppsOrdersPaymentHeader_.prototype, "ReversalSource", void 0);
9130
9173
  __decorate([
9131
9174
  Field({ nullable: true }),
9132
9175
  MaxLength(50),
@@ -9273,6 +9316,10 @@ __decorate([
9273
9316
  Field({ nullable: true }),
9274
9317
  __metadata("design:type", String)
9275
9318
  ], CreatemjBizAppsOrdersPaymentHeaderInput.prototype, "IdempotencyKey", void 0);
9319
+ __decorate([
9320
+ Field({ nullable: true }),
9321
+ __metadata("design:type", String)
9322
+ ], CreatemjBizAppsOrdersPaymentHeaderInput.prototype, "ReversalSource", void 0);
9276
9323
  __decorate([
9277
9324
  Field(() => RestoreContextInput, { nullable: true }),
9278
9325
  __metadata("design:type", RestoreContextInput)
@@ -9374,6 +9421,10 @@ __decorate([
9374
9421
  Field({ nullable: true }),
9375
9422
  __metadata("design:type", String)
9376
9423
  ], UpdatemjBizAppsOrdersPaymentHeaderInput.prototype, "IdempotencyKey", void 0);
9424
+ __decorate([
9425
+ Field({ nullable: true }),
9426
+ __metadata("design:type", String)
9427
+ ], UpdatemjBizAppsOrdersPaymentHeaderInput.prototype, "ReversalSource", void 0);
9377
9428
  __decorate([
9378
9429
  Field(() => [KeyValuePairInput], { nullable: true }),
9379
9430
  __metadata("design:type", Array)