@mj-biz-apps/orders-server 5.12.2 → 5.14.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.
@@ -33,12 +33,12 @@ __decorate([
33
33
  __metadata("design:type", String)
34
34
  ], mjBizAppsOrdersChargeType_.prototype, "ID", void 0);
35
35
  __decorate([
36
- Field(),
36
+ Field({ nullable: true }),
37
37
  MaxLength(40),
38
38
  __metadata("design:type", String)
39
39
  ], mjBizAppsOrdersChargeType_.prototype, "Code", void 0);
40
40
  __decorate([
41
- Field(),
41
+ Field({ nullable: true }),
42
42
  MaxLength(200),
43
43
  __metadata("design:type", String)
44
44
  ], mjBizAppsOrdersChargeType_.prototype, "Name", void 0);
@@ -47,25 +47,25 @@ __decorate([
47
47
  __metadata("design:type", String)
48
48
  ], mjBizAppsOrdersChargeType_.prototype, "Description", void 0);
49
49
  __decorate([
50
- Field({ description: `Shipping | Handling | Tax | Surcharge | Fee.` }),
50
+ Field({ nullable: true, description: `Shipping | Handling | Tax | Surcharge | Fee.` }),
51
51
  MaxLength(20),
52
52
  __metadata("design:type", String)
53
53
  ], mjBizAppsOrdersChargeType_.prototype, "Category", void 0);
54
54
  __decorate([
55
- Field({ description: `What the charge computes on: LineNet (the discounted line), LineNetPlusCharges (after earlier charges in sequence), OrderNet, or Flat. This is the field that makes tax-on-shipping work, which is jurisdiction-dependent and therefore configuration rather than code.` }),
55
+ Field({ nullable: true, description: `What the charge computes on: LineNet (the discounted line), LineNetPlusCharges (after earlier charges in sequence), OrderNet, or Flat. This is the field that makes tax-on-shipping work, which is jurisdiction-dependent and therefore configuration rather than code.` }),
56
56
  MaxLength(30),
57
57
  __metadata("design:type", String)
58
58
  ], mjBizAppsOrdersChargeType_.prototype, "Basis", void 0);
59
59
  __decorate([
60
- Field(() => Int, { description: `Application order. Charges compute in this order and later ones may build on earlier ones via Basis.` }),
60
+ Field(() => Int, { nullable: true, description: `Application order. Charges compute in this order and later ones may build on earlier ones via Basis.` }),
61
61
  __metadata("design:type", Number)
62
62
  ], mjBizAppsOrdersChargeType_.prototype, "Sequence", void 0);
63
63
  __decorate([
64
- Field(() => Boolean, { description: `Whether a human may override a computed charge of this type.` }),
64
+ Field(() => Boolean, { nullable: true, description: `Whether a human may override a computed charge of this type.` }),
65
65
  __metadata("design:type", Boolean)
66
66
  ], mjBizAppsOrdersChargeType_.prototype, "AllowsOverride", void 0);
67
67
  __decorate([
68
- Field(() => Boolean),
68
+ Field(() => Boolean, { nullable: true }),
69
69
  __metadata("design:type", Boolean)
70
70
  ], mjBizAppsOrdersChargeType_.prototype, "IsActive", void 0);
71
71
  __decorate([
@@ -76,6 +76,10 @@ __decorate([
76
76
  Field(),
77
77
  __metadata("design:type", Date)
78
78
  ], mjBizAppsOrdersChargeType_.prototype, "_mj__UpdatedAt", void 0);
79
+ __decorate([
80
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
81
+ __metadata("design:type", Array)
82
+ ], mjBizAppsOrdersChargeType_.prototype, "ReadableFields___", void 0);
79
83
  mjBizAppsOrdersChargeType_ = __decorate([
80
84
  ObjectType({ description: `A kind of charge and how it computes. Shipping, handling, surcharges AND TAX are all charges - modelling tax this way means multi-layer tax (state, county, city) is several charges rather than a special case, so ordering, allocation, GL treatment and overrides are written once and apply to all of them.` })
81
85
  ], mjBizAppsOrdersChargeType_);
@@ -334,7 +338,7 @@ __decorate([
334
338
  __metadata("design:type", String)
335
339
  ], mjBizAppsOrdersCheckoutSession_.prototype, "ID", void 0);
336
340
  __decorate([
337
- Field(),
341
+ Field({ nullable: true }),
338
342
  MaxLength(36),
339
343
  __metadata("design:type", String)
340
344
  ], mjBizAppsOrdersCheckoutSession_.prototype, "CheckoutWidgetID", void 0);
@@ -344,7 +348,7 @@ __decorate([
344
348
  __metadata("design:type", String)
345
349
  ], mjBizAppsOrdersCheckoutSession_.prototype, "DistributionID", void 0);
346
350
  __decorate([
347
- Field(),
351
+ Field({ nullable: true }),
348
352
  MaxLength(100),
349
353
  __metadata("design:type", String)
350
354
  ], mjBizAppsOrdersCheckoutSession_.prototype, "ClientSessionKey", void 0);
@@ -369,12 +373,12 @@ __decorate([
369
373
  __metadata("design:type", String)
370
374
  ], mjBizAppsOrdersCheckoutSession_.prototype, "PaymentIntentID", void 0);
371
375
  __decorate([
372
- Field(),
376
+ Field({ nullable: true }),
373
377
  MaxLength(20),
374
378
  __metadata("design:type", String)
375
379
  ], mjBizAppsOrdersCheckoutSession_.prototype, "Status", void 0);
376
380
  __decorate([
377
- Field(),
381
+ Field({ nullable: true }),
378
382
  __metadata("design:type", Date)
379
383
  ], mjBizAppsOrdersCheckoutSession_.prototype, "ExpiresAt", void 0);
380
384
  __decorate([
@@ -390,7 +394,7 @@ __decorate([
390
394
  __metadata("design:type", Date)
391
395
  ], mjBizAppsOrdersCheckoutSession_.prototype, "_mj__UpdatedAt", void 0);
392
396
  __decorate([
393
- Field(),
397
+ Field({ nullable: true }),
394
398
  MaxLength(100),
395
399
  __metadata("design:type", String)
396
400
  ], mjBizAppsOrdersCheckoutSession_.prototype, "CheckoutWidget", void 0);
@@ -414,6 +418,10 @@ __decorate([
414
418
  MaxLength(100),
415
419
  __metadata("design:type", String)
416
420
  ], mjBizAppsOrdersCheckoutSession_.prototype, "PaymentIntent", void 0);
421
+ __decorate([
422
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
423
+ __metadata("design:type", Array)
424
+ ], mjBizAppsOrdersCheckoutSession_.prototype, "ReadableFields___", void 0);
417
425
  mjBizAppsOrdersCheckoutSession_ = __decorate([
418
426
  ObjectType({ description: `Server-side state tracking for an anonymous or authenticated checkout attempt, linking client session key to draft orders and payment intents.` })
419
427
  ], mjBizAppsOrdersCheckoutSession_);
@@ -688,12 +696,12 @@ __decorate([
688
696
  __metadata("design:type", String)
689
697
  ], mjBizAppsOrdersCheckoutWidgetDistribution_.prototype, "ID", void 0);
690
698
  __decorate([
691
- Field(),
699
+ Field({ nullable: true }),
692
700
  MaxLength(36),
693
701
  __metadata("design:type", String)
694
702
  ], mjBizAppsOrdersCheckoutWidgetDistribution_.prototype, "CheckoutWidgetID", void 0);
695
703
  __decorate([
696
- Field(),
704
+ Field({ nullable: true }),
697
705
  MaxLength(255),
698
706
  __metadata("design:type", String)
699
707
  ], mjBizAppsOrdersCheckoutWidgetDistribution_.prototype, "Slug", void 0);
@@ -703,7 +711,7 @@ __decorate([
703
711
  __metadata("design:type", String)
704
712
  ], mjBizAppsOrdersCheckoutWidgetDistribution_.prototype, "MagicLinkInviteID", void 0);
705
713
  __decorate([
706
- Field(),
714
+ Field({ nullable: true }),
707
715
  MaxLength(20),
708
716
  __metadata("design:type", String)
709
717
  ], mjBizAppsOrdersCheckoutWidgetDistribution_.prototype, "Status", void 0);
@@ -729,10 +737,14 @@ __decorate([
729
737
  __metadata("design:type", Date)
730
738
  ], mjBizAppsOrdersCheckoutWidgetDistribution_.prototype, "_mj__UpdatedAt", void 0);
731
739
  __decorate([
732
- Field(),
740
+ Field({ nullable: true }),
733
741
  MaxLength(100),
734
742
  __metadata("design:type", String)
735
743
  ], mjBizAppsOrdersCheckoutWidgetDistribution_.prototype, "CheckoutWidget", void 0);
744
+ __decorate([
745
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
746
+ __metadata("design:type", Array)
747
+ ], mjBizAppsOrdersCheckoutWidgetDistribution_.prototype, "ReadableFields___", void 0);
736
748
  mjBizAppsOrdersCheckoutWidgetDistribution_ = __decorate([
737
749
  ObjectType({ description: `Public distribution endpoint for a CheckoutWidget, wrapping an anonymous scoped magic link invite and vanity slug with instant revocation capability.` })
738
750
  ], mjBizAppsOrdersCheckoutWidgetDistribution_);
@@ -983,7 +995,7 @@ __decorate([
983
995
  __metadata("design:type", String)
984
996
  ], mjBizAppsOrdersCheckoutWidget_.prototype, "ID", void 0);
985
997
  __decorate([
986
- Field(),
998
+ Field({ nullable: true }),
987
999
  MaxLength(100),
988
1000
  __metadata("design:type", String)
989
1001
  ], mjBizAppsOrdersCheckoutWidget_.prototype, "Name", void 0);
@@ -992,12 +1004,12 @@ __decorate([
992
1004
  __metadata("design:type", String)
993
1005
  ], mjBizAppsOrdersCheckoutWidget_.prototype, "Description", void 0);
994
1006
  __decorate([
995
- Field(),
1007
+ Field({ nullable: true }),
996
1008
  MaxLength(36),
997
1009
  __metadata("design:type", String)
998
1010
  ], mjBizAppsOrdersCheckoutWidget_.prototype, "CompanyID", void 0);
999
1011
  __decorate([
1000
- Field(),
1012
+ Field({ nullable: true }),
1001
1013
  MaxLength(20),
1002
1014
  __metadata("design:type", String)
1003
1015
  ], mjBizAppsOrdersCheckoutWidget_.prototype, "Status", void 0);
@@ -1022,10 +1034,14 @@ __decorate([
1022
1034
  __metadata("design:type", Date)
1023
1035
  ], mjBizAppsOrdersCheckoutWidget_.prototype, "_mj__UpdatedAt", void 0);
1024
1036
  __decorate([
1025
- Field(),
1037
+ Field({ nullable: true }),
1026
1038
  MaxLength(50),
1027
1039
  __metadata("design:type", String)
1028
1040
  ], mjBizAppsOrdersCheckoutWidget_.prototype, "Company", void 0);
1041
+ __decorate([
1042
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
1043
+ __metadata("design:type", Array)
1044
+ ], mjBizAppsOrdersCheckoutWidget_.prototype, "ReadableFields___", void 0);
1029
1045
  mjBizAppsOrdersCheckoutWidget_ = __decorate([
1030
1046
  ObjectType({ description: `Metadata configuration for an embeddable checkout widget instance. Specifies selling company, product lines, layout rules, theme variables, and security policies.` })
1031
1047
  ], mjBizAppsOrdersCheckoutWidget_);
@@ -1286,7 +1302,7 @@ __decorate([
1286
1302
  __metadata("design:type", String)
1287
1303
  ], mjBizAppsOrdersCustomerPaymentMethod_.prototype, "OwnerOrganizationID", void 0);
1288
1304
  __decorate([
1289
- Field(),
1305
+ Field({ nullable: true }),
1290
1306
  MaxLength(36),
1291
1307
  __metadata("design:type", String)
1292
1308
  ], mjBizAppsOrdersCustomerPaymentMethod_.prototype, "PaymentDetailID", void 0);
@@ -1296,11 +1312,11 @@ __decorate([
1296
1312
  __metadata("design:type", String)
1297
1313
  ], mjBizAppsOrdersCustomerPaymentMethod_.prototype, "Nickname", void 0);
1298
1314
  __decorate([
1299
- Field(() => Boolean, { description: `Whether this is the customer's default method for charge-on-file.` }),
1315
+ Field(() => Boolean, { nullable: true, description: `Whether this is the customer's default method for charge-on-file.` }),
1300
1316
  __metadata("design:type", Boolean)
1301
1317
  ], mjBizAppsOrdersCustomerPaymentMethod_.prototype, "IsDefault", void 0);
1302
1318
  __decorate([
1303
- Field(() => Boolean, { description: `Whether this method is active/usable.` }),
1319
+ Field(() => Boolean, { nullable: true, description: `Whether this method is active/usable.` }),
1304
1320
  __metadata("design:type", Boolean)
1305
1321
  ], mjBizAppsOrdersCustomerPaymentMethod_.prototype, "IsActive", void 0);
1306
1322
  __decorate([
@@ -1326,6 +1342,10 @@ __decorate([
1326
1342
  MaxLength(4),
1327
1343
  __metadata("design:type", String)
1328
1344
  ], mjBizAppsOrdersCustomerPaymentMethod_.prototype, "PaymentDetail", void 0);
1345
+ __decorate([
1346
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
1347
+ __metadata("design:type", Array)
1348
+ ], mjBizAppsOrdersCustomerPaymentMethod_.prototype, "ReadableFields___", void 0);
1329
1349
  mjBizAppsOrdersCustomerPaymentMethod_ = __decorate([
1330
1350
  ObjectType({ description: `A stored payment method token for a customer (BO-D46). Provider token references only — never card data.` })
1331
1351
  ], mjBizAppsOrdersCustomerPaymentMethod_);
@@ -1578,7 +1598,7 @@ __decorate([
1578
1598
  __metadata("design:type", String)
1579
1599
  ], mjBizAppsOrdersCustomerPaymentTerms_.prototype, "PersonID", void 0);
1580
1600
  __decorate([
1581
- Field(),
1601
+ Field({ nullable: true }),
1582
1602
  MaxLength(36),
1583
1603
  __metadata("design:type", String)
1584
1604
  ], mjBizAppsOrdersCustomerPaymentTerms_.prototype, "PaymentTermsTypeID", void 0);
@@ -1596,7 +1616,7 @@ __decorate([
1596
1616
  __metadata("design:type", Date)
1597
1617
  ], mjBizAppsOrdersCustomerPaymentTerms_.prototype, "EndedAt", void 0);
1598
1618
  __decorate([
1599
- Field(),
1619
+ Field({ nullable: true }),
1600
1620
  MaxLength(10),
1601
1621
  __metadata("design:type", String)
1602
1622
  ], mjBizAppsOrdersCustomerPaymentTerms_.prototype, "Status", void 0);
@@ -1613,10 +1633,14 @@ __decorate([
1613
1633
  __metadata("design:type", Date)
1614
1634
  ], mjBizAppsOrdersCustomerPaymentTerms_.prototype, "_mj__UpdatedAt", void 0);
1615
1635
  __decorate([
1616
- Field(),
1636
+ Field({ nullable: true }),
1617
1637
  MaxLength(200),
1618
1638
  __metadata("design:type", String)
1619
1639
  ], mjBizAppsOrdersCustomerPaymentTerms_.prototype, "PaymentTermsType", void 0);
1640
+ __decorate([
1641
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
1642
+ __metadata("design:type", Array)
1643
+ ], mjBizAppsOrdersCustomerPaymentTerms_.prototype, "ReadableFields___", void 0);
1620
1644
  mjBizAppsOrdersCustomerPaymentTerms_ = __decorate([
1621
1645
  ObjectType()
1622
1646
  ], mjBizAppsOrdersCustomerPaymentTerms_);
@@ -1895,7 +1919,7 @@ __decorate([
1895
1919
  __metadata("design:type", String)
1896
1920
  ], mjBizAppsOrdersCustomerTaxExemption_.prototype, "TaxCategory", void 0);
1897
1921
  __decorate([
1898
- Field(),
1922
+ Field({ nullable: true }),
1899
1923
  MaxLength(30),
1900
1924
  __metadata("design:type", String)
1901
1925
  ], mjBizAppsOrdersCustomerTaxExemption_.prototype, "ExemptionType", void 0);
@@ -1921,7 +1945,7 @@ __decorate([
1921
1945
  __metadata("design:type", Date)
1922
1946
  ], mjBizAppsOrdersCustomerTaxExemption_.prototype, "EndedAt", void 0);
1923
1947
  __decorate([
1924
- Field(),
1948
+ Field({ nullable: true }),
1925
1949
  MaxLength(10),
1926
1950
  __metadata("design:type", String)
1927
1951
  ], mjBizAppsOrdersCustomerTaxExemption_.prototype, "Status", void 0);
@@ -1947,6 +1971,10 @@ __decorate([
1947
1971
  MaxLength(201),
1948
1972
  __metadata("design:type", String)
1949
1973
  ], mjBizAppsOrdersCustomerTaxExemption_.prototype, "Person", void 0);
1974
+ __decorate([
1975
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
1976
+ __metadata("design:type", Array)
1977
+ ], mjBizAppsOrdersCustomerTaxExemption_.prototype, "ReadableFields___", void 0);
1950
1978
  mjBizAppsOrdersCustomerTaxExemption_ = __decorate([
1951
1979
  ObjectType()
1952
1980
  ], mjBizAppsOrdersCustomerTaxExemption_);
@@ -2237,7 +2265,7 @@ __decorate([
2237
2265
  __metadata("design:type", String)
2238
2266
  ], mjBizAppsOrdersEntitlementGrant_.prototype, "ID", void 0);
2239
2267
  __decorate([
2240
- Field(),
2268
+ Field({ nullable: true }),
2241
2269
  MaxLength(36),
2242
2270
  __metadata("design:type", String)
2243
2271
  ], mjBizAppsOrdersEntitlementGrant_.prototype, "ProductEntitlementID", void 0);
@@ -2274,7 +2302,7 @@ __decorate([
2274
2302
  __metadata("design:type", Date)
2275
2303
  ], mjBizAppsOrdersEntitlementGrant_.prototype, "ValidTo", void 0);
2276
2304
  __decorate([
2277
- Field({ description: `Active | Suspended | Revoked | Expired.` }),
2305
+ Field({ nullable: true, description: `Active | Suspended | Revoked | Expired.` }),
2278
2306
  MaxLength(20),
2279
2307
  __metadata("design:type", String)
2280
2308
  ], mjBizAppsOrdersEntitlementGrant_.prototype, "Status", void 0);
@@ -2329,6 +2357,10 @@ __decorate([
2329
2357
  MaxLength(255),
2330
2358
  __metadata("design:type", String)
2331
2359
  ], mjBizAppsOrdersEntitlementGrant_.prototype, "BeneficiaryOrganization", void 0);
2360
+ __decorate([
2361
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
2362
+ __metadata("design:type", Array)
2363
+ ], mjBizAppsOrdersEntitlementGrant_.prototype, "ReadableFields___", void 0);
2332
2364
  mjBizAppsOrdersEntitlementGrant_ = __decorate([
2333
2365
  ObjectType({ description: `A granted entitlement instance created at Post / subscription activation (BO-D39), carrying the beneficiary (defaults to the buyer; a line may designate another). Downstream apps read grants to provision access.` })
2334
2366
  ], mjBizAppsOrdersEntitlementGrant_);
@@ -2647,7 +2679,7 @@ __decorate([
2647
2679
  __metadata("design:type", Date)
2648
2680
  ], mjBizAppsOrdersEventOrderLine_.prototype, "_mj__UpdatedAt", void 0);
2649
2681
  __decorate([
2650
- Field({ description: `FK to __mj_BizAppsCommon.Person — the attendee. Required for a new event line; check-in is separate and optional.` }),
2682
+ Field({ nullable: true, description: `FK to __mj_BizAppsCommon.Person — the attendee. Required for a new event line; check-in is separate and optional.` }),
2651
2683
  MaxLength(36),
2652
2684
  __metadata("design:type", String)
2653
2685
  ], mjBizAppsOrdersEventOrderLine_.prototype, "PersonID", void 0);
@@ -2667,30 +2699,74 @@ __decorate([
2667
2699
  __metadata("design:type", String)
2668
2700
  ], mjBizAppsOrdersEventOrderLine_.prototype, "Comments", void 0);
2669
2701
  __decorate([
2670
- Field(),
2702
+ Field({ nullable: true, description: `Attendee operational lifecycle status: Registered, Attended, No Show, or Cancelled.` }),
2703
+ MaxLength(20),
2704
+ __metadata("design:type", String)
2705
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "AttendanceStatus", void 0);
2706
+ __decorate([
2707
+ Field({ nullable: true, description: `Timestamp when the attendee credential badge was printed at registration desk or kiosk.` }),
2708
+ __metadata("design:type", Date)
2709
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "BadgePrintedAt", void 0);
2710
+ __decorate([
2711
+ Field({ nullable: true, description: `Preferred attendee name override for badge printing (e.g. nickname or chosen name).` }),
2712
+ MaxLength(200),
2713
+ __metadata("design:type", String)
2714
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "BadgeName", void 0);
2715
+ __decorate([
2716
+ Field({ nullable: true, description: `Organization or company name to display on the badge if different from primary organization.` }),
2717
+ MaxLength(200),
2718
+ __metadata("design:type", String)
2719
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "BadgeCompany", void 0);
2720
+ __decorate([
2721
+ Field({ nullable: true, description: `Job title to display on attendee credential badge.` }),
2722
+ MaxLength(200),
2723
+ __metadata("design:type", String)
2724
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "BadgeTitle", void 0);
2725
+ __decorate([
2726
+ Field({ nullable: true, description: `Ticket or registration tier: General, VIP, Speaker, Sponsor, Exhibitor, Staff, Student.` }),
2727
+ MaxLength(50),
2728
+ __metadata("design:type", String)
2729
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "TicketTier", void 0);
2730
+ __decorate([
2731
+ Field({ nullable: true, description: `Table or seating assignment for seated meals, banquets, or breakout tracks.` }),
2732
+ MaxLength(100),
2733
+ __metadata("design:type", String)
2734
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "TableAssignment", void 0);
2735
+ __decorate([
2736
+ Field({ nullable: true, description: `Accessibility and accommodation requests (wheelchair seating, ASL interpretation, etc.).` }),
2737
+ MaxLength(2000),
2738
+ __metadata("design:type", String)
2739
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "SpecialRequests", void 0);
2740
+ __decorate([
2741
+ Field({ nullable: true, description: `Staff notes taken during check-in or on-site event operations.` }),
2742
+ MaxLength(2000),
2743
+ __metadata("design:type", String)
2744
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "CheckInNotes", void 0);
2745
+ __decorate([
2746
+ Field({ nullable: true }),
2671
2747
  MaxLength(36),
2672
2748
  __metadata("design:type", String)
2673
2749
  ], mjBizAppsOrdersEventOrderLine_.prototype, "OrderHeaderID", void 0);
2674
2750
  __decorate([
2675
- Field(),
2751
+ Field({ nullable: true }),
2676
2752
  MaxLength(36),
2677
2753
  __metadata("design:type", String)
2678
2754
  ], mjBizAppsOrdersEventOrderLine_.prototype, "ProductID", void 0);
2679
2755
  __decorate([
2680
- Field(),
2756
+ Field({ nullable: true }),
2681
2757
  MaxLength(36),
2682
2758
  __metadata("design:type", String)
2683
2759
  ], mjBizAppsOrdersEventOrderLine_.prototype, "CompanyID", void 0);
2684
2760
  __decorate([
2685
- Field(() => Int),
2761
+ Field(() => Int, { nullable: true }),
2686
2762
  __metadata("design:type", Number)
2687
2763
  ], mjBizAppsOrdersEventOrderLine_.prototype, "LineNumber", void 0);
2688
2764
  __decorate([
2689
- Field(() => Float),
2765
+ Field(() => Float, { nullable: true }),
2690
2766
  __metadata("design:type", Number)
2691
2767
  ], mjBizAppsOrdersEventOrderLine_.prototype, "Quantity", void 0);
2692
2768
  __decorate([
2693
- Field(() => Float),
2769
+ Field(() => Float, { nullable: true }),
2694
2770
  __metadata("design:type", Number)
2695
2771
  ], mjBizAppsOrdersEventOrderLine_.prototype, "UnitPrice", void 0);
2696
2772
  __decorate([
@@ -2699,11 +2775,11 @@ __decorate([
2699
2775
  __metadata("design:type", String)
2700
2776
  ], mjBizAppsOrdersEventOrderLine_.prototype, "ProductPriceID", void 0);
2701
2777
  __decorate([
2702
- Field(() => Float),
2778
+ Field(() => Float, { nullable: true }),
2703
2779
  __metadata("design:type", Number)
2704
2780
  ], mjBizAppsOrdersEventOrderLine_.prototype, "DiscountPct", void 0);
2705
2781
  __decorate([
2706
- Field(() => Float),
2782
+ Field(() => Float, { nullable: true }),
2707
2783
  __metadata("design:type", Number)
2708
2784
  ], mjBizAppsOrdersEventOrderLine_.prototype, "DiscountAmount", void 0);
2709
2785
  __decorate([
@@ -2711,11 +2787,11 @@ __decorate([
2711
2787
  __metadata("design:type", Number)
2712
2788
  ], mjBizAppsOrdersEventOrderLine_.prototype, "LineTotalNet", void 0);
2713
2789
  __decorate([
2714
- Field(() => Float),
2790
+ Field(() => Float, { nullable: true }),
2715
2791
  __metadata("design:type", Number)
2716
2792
  ], mjBizAppsOrdersEventOrderLine_.prototype, "ChargeAmount", void 0);
2717
2793
  __decorate([
2718
- Field(() => Float),
2794
+ Field(() => Float, { nullable: true }),
2719
2795
  __metadata("design:type", Number)
2720
2796
  ], mjBizAppsOrdersEventOrderLine_.prototype, "LineTax", void 0);
2721
2797
  __decorate([
@@ -2771,11 +2847,11 @@ __decorate([
2771
2847
  __metadata("design:type", String)
2772
2848
  ], mjBizAppsOrdersEventOrderLine_.prototype, "ParentOrderLineID", void 0);
2773
2849
  __decorate([
2774
- Field(() => Boolean),
2850
+ Field(() => Boolean, { nullable: true }),
2775
2851
  __metadata("design:type", Boolean)
2776
2852
  ], mjBizAppsOrdersEventOrderLine_.prototype, "IsRollupParent", void 0);
2777
2853
  __decorate([
2778
- Field(() => Boolean),
2854
+ Field(() => Boolean, { nullable: true }),
2779
2855
  __metadata("design:type", Boolean)
2780
2856
  ], mjBizAppsOrdersEventOrderLine_.prototype, "IsQuantityOverridden", void 0);
2781
2857
  __decorate([
@@ -2794,7 +2870,7 @@ __decorate([
2794
2870
  __metadata("design:type", String)
2795
2871
  ], mjBizAppsOrdersEventOrderLine_.prototype, "JournalEntryID", void 0);
2796
2872
  __decorate([
2797
- Field(() => Boolean),
2873
+ Field(() => Boolean, { nullable: true }),
2798
2874
  __metadata("design:type", Boolean)
2799
2875
  ], mjBizAppsOrdersEventOrderLine_.prototype, "PriceOverridden", void 0);
2800
2876
  __decorate([
@@ -2802,10 +2878,24 @@ __decorate([
2802
2878
  __metadata("design:type", String)
2803
2879
  ], mjBizAppsOrdersEventOrderLine_.prototype, "PriceOverrideReason", void 0);
2804
2880
  __decorate([
2805
- Field(),
2881
+ Field({ nullable: true }),
2882
+ MaxLength(36),
2883
+ __metadata("design:type", String)
2884
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "DimensionID", void 0);
2885
+ __decorate([
2886
+ Field({ nullable: true }),
2887
+ MaxLength(36),
2888
+ __metadata("design:type", String)
2889
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "DimensionValueID", void 0);
2890
+ __decorate([
2891
+ Field({ nullable: true }),
2806
2892
  MaxLength(201),
2807
2893
  __metadata("design:type", String)
2808
2894
  ], mjBizAppsOrdersEventOrderLine_.prototype, "Person", void 0);
2895
+ __decorate([
2896
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
2897
+ __metadata("design:type", Array)
2898
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "ReadableFields___", void 0);
2809
2899
  mjBizAppsOrdersEventOrderLine_ = __decorate([
2810
2900
  ObjectType({ description: `IsA Disjoint child of OrderLine (same UUID): per-line attendee detail; the attendee is typically the EntitlementGrant beneficiary (BO-D39).` })
2811
2901
  ], mjBizAppsOrdersEventOrderLine_);
@@ -2839,6 +2929,42 @@ __decorate([
2839
2929
  Field({ nullable: true }),
2840
2930
  __metadata("design:type", String)
2841
2931
  ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "Comments", void 0);
2932
+ __decorate([
2933
+ Field({ nullable: true }),
2934
+ __metadata("design:type", String)
2935
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "AttendanceStatus", void 0);
2936
+ __decorate([
2937
+ Field({ nullable: true }),
2938
+ __metadata("design:type", Date)
2939
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "BadgePrintedAt", void 0);
2940
+ __decorate([
2941
+ Field({ nullable: true }),
2942
+ __metadata("design:type", String)
2943
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "BadgeName", void 0);
2944
+ __decorate([
2945
+ Field({ nullable: true }),
2946
+ __metadata("design:type", String)
2947
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "BadgeCompany", void 0);
2948
+ __decorate([
2949
+ Field({ nullable: true }),
2950
+ __metadata("design:type", String)
2951
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "BadgeTitle", void 0);
2952
+ __decorate([
2953
+ Field({ nullable: true }),
2954
+ __metadata("design:type", String)
2955
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "TicketTier", void 0);
2956
+ __decorate([
2957
+ Field({ nullable: true }),
2958
+ __metadata("design:type", String)
2959
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "TableAssignment", void 0);
2960
+ __decorate([
2961
+ Field({ nullable: true }),
2962
+ __metadata("design:type", String)
2963
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "SpecialRequests", void 0);
2964
+ __decorate([
2965
+ Field({ nullable: true }),
2966
+ __metadata("design:type", String)
2967
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "CheckInNotes", void 0);
2842
2968
  __decorate([
2843
2969
  Field({ nullable: true }),
2844
2970
  __metadata("design:type", String)
@@ -2959,6 +3085,14 @@ __decorate([
2959
3085
  Field({ nullable: true }),
2960
3086
  __metadata("design:type", String)
2961
3087
  ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "PriceOverrideReason", void 0);
3088
+ __decorate([
3089
+ Field({ nullable: true }),
3090
+ __metadata("design:type", String)
3091
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "DimensionID", void 0);
3092
+ __decorate([
3093
+ Field({ nullable: true }),
3094
+ __metadata("design:type", String)
3095
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "DimensionValueID", void 0);
2962
3096
  __decorate([
2963
3097
  Field(() => RestoreContextInput, { nullable: true }),
2964
3098
  __metadata("design:type", RestoreContextInput)
@@ -2996,6 +3130,42 @@ __decorate([
2996
3130
  Field({ nullable: true }),
2997
3131
  __metadata("design:type", String)
2998
3132
  ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "Comments", void 0);
3133
+ __decorate([
3134
+ Field({ nullable: true }),
3135
+ __metadata("design:type", String)
3136
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "AttendanceStatus", void 0);
3137
+ __decorate([
3138
+ Field({ nullable: true }),
3139
+ __metadata("design:type", Date)
3140
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "BadgePrintedAt", void 0);
3141
+ __decorate([
3142
+ Field({ nullable: true }),
3143
+ __metadata("design:type", String)
3144
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "BadgeName", void 0);
3145
+ __decorate([
3146
+ Field({ nullable: true }),
3147
+ __metadata("design:type", String)
3148
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "BadgeCompany", void 0);
3149
+ __decorate([
3150
+ Field({ nullable: true }),
3151
+ __metadata("design:type", String)
3152
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "BadgeTitle", void 0);
3153
+ __decorate([
3154
+ Field({ nullable: true }),
3155
+ __metadata("design:type", String)
3156
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "TicketTier", void 0);
3157
+ __decorate([
3158
+ Field({ nullable: true }),
3159
+ __metadata("design:type", String)
3160
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "TableAssignment", void 0);
3161
+ __decorate([
3162
+ Field({ nullable: true }),
3163
+ __metadata("design:type", String)
3164
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "SpecialRequests", void 0);
3165
+ __decorate([
3166
+ Field({ nullable: true }),
3167
+ __metadata("design:type", String)
3168
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "CheckInNotes", void 0);
2999
3169
  __decorate([
3000
3170
  Field({ nullable: true }),
3001
3171
  __metadata("design:type", String)
@@ -3116,6 +3286,14 @@ __decorate([
3116
3286
  Field({ nullable: true }),
3117
3287
  __metadata("design:type", String)
3118
3288
  ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "PriceOverrideReason", void 0);
3289
+ __decorate([
3290
+ Field({ nullable: true }),
3291
+ __metadata("design:type", String)
3292
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "DimensionID", void 0);
3293
+ __decorate([
3294
+ Field({ nullable: true }),
3295
+ __metadata("design:type", String)
3296
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "DimensionValueID", void 0);
3119
3297
  __decorate([
3120
3298
  Field(() => [KeyValuePairInput], { nullable: true }),
3121
3299
  __metadata("design:type", Array)
@@ -3280,7 +3458,7 @@ __decorate([
3280
3458
  __metadata("design:type", String)
3281
3459
  ], mjBizAppsOrdersEventProduct_.prototype, "ID", void 0);
3282
3460
  __decorate([
3283
- Field({ description: `UTC start of the event (also the SingleDate recognition date for Deferred event products).` }),
3461
+ Field({ nullable: true, description: `UTC start of the event (also the SingleDate recognition date for Deferred event products).` }),
3284
3462
  __metadata("design:type", Date)
3285
3463
  ], mjBizAppsOrdersEventProduct_.prototype, "EventStartsAt", void 0);
3286
3464
  __decorate([
@@ -3302,7 +3480,7 @@ __decorate([
3302
3480
  __metadata("design:type", Number)
3303
3481
  ], mjBizAppsOrdersEventProduct_.prototype, "Capacity", void 0);
3304
3482
  __decorate([
3305
- Field(() => Boolean, { description: `Whether order lines for this event require attendee info (EventOrderLine).` }),
3483
+ Field(() => Boolean, { nullable: true, description: `Whether order lines for this event require attendee info (EventOrderLine).` }),
3306
3484
  __metadata("design:type", Boolean)
3307
3485
  ], mjBizAppsOrdersEventProduct_.prototype, "RequiresAttendeeInfo", void 0);
3308
3486
  __decorate([
@@ -3314,7 +3492,17 @@ __decorate([
3314
3492
  __metadata("design:type", Date)
3315
3493
  ], mjBizAppsOrdersEventProduct_.prototype, "_mj__UpdatedAt", void 0);
3316
3494
  __decorate([
3317
- Field(),
3495
+ Field({ nullable: true, description: `Event delivery format: In-Person, Virtual, or Hybrid.` }),
3496
+ MaxLength(20),
3497
+ __metadata("design:type", String)
3498
+ ], mjBizAppsOrdersEventProduct_.prototype, "EventFormat", void 0);
3499
+ __decorate([
3500
+ Field({ nullable: true, description: `Meeting/broadcast URL for virtual or hybrid event sessions (Zoom, Teams, etc.).` }),
3501
+ MaxLength(1000),
3502
+ __metadata("design:type", String)
3503
+ ], mjBizAppsOrdersEventProduct_.prototype, "VirtualMeetingUrl", void 0);
3504
+ __decorate([
3505
+ Field({ nullable: true }),
3318
3506
  MaxLength(200),
3319
3507
  __metadata("design:type", String)
3320
3508
  ], mjBizAppsOrdersEventProduct_.prototype, "Name", void 0);
@@ -3324,22 +3512,22 @@ __decorate([
3324
3512
  __metadata("design:type", String)
3325
3513
  ], mjBizAppsOrdersEventProduct_.prototype, "SKU", void 0);
3326
3514
  __decorate([
3327
- Field(),
3515
+ Field({ nullable: true }),
3328
3516
  MaxLength(36),
3329
3517
  __metadata("design:type", String)
3330
3518
  ], mjBizAppsOrdersEventProduct_.prototype, "ProductTypeID", void 0);
3331
3519
  __decorate([
3332
- Field(),
3520
+ Field({ nullable: true }),
3333
3521
  MaxLength(36),
3334
3522
  __metadata("design:type", String)
3335
3523
  ], mjBizAppsOrdersEventProduct_.prototype, "ProductCategoryID", void 0);
3336
3524
  __decorate([
3337
- Field(),
3525
+ Field({ nullable: true }),
3338
3526
  MaxLength(36),
3339
3527
  __metadata("design:type", String)
3340
3528
  ], mjBizAppsOrdersEventProduct_.prototype, "CompanyID", void 0);
3341
3529
  __decorate([
3342
- Field(),
3530
+ Field({ nullable: true }),
3343
3531
  MaxLength(20),
3344
3532
  __metadata("design:type", String)
3345
3533
  ], mjBizAppsOrdersEventProduct_.prototype, "Status", void 0);
@@ -3357,7 +3545,7 @@ __decorate([
3357
3545
  __metadata("design:type", Date)
3358
3546
  ], mjBizAppsOrdersEventProduct_.prototype, "AvailableTo", void 0);
3359
3547
  __decorate([
3360
- Field(),
3548
+ Field({ nullable: true }),
3361
3549
  MaxLength(36),
3362
3550
  __metadata("design:type", String)
3363
3551
  ], mjBizAppsOrdersEventProduct_.prototype, "RevenueRecognitionTypeID", void 0);
@@ -3413,13 +3601,9 @@ __decorate([
3413
3601
  __metadata("design:type", String)
3414
3602
  ], mjBizAppsOrdersEventProduct_.prototype, "VenueAddress", void 0);
3415
3603
  __decorate([
3416
- Field(() => Float, { nullable: true }),
3417
- __metadata("design:type", Number)
3418
- ], mjBizAppsOrdersEventProduct_.prototype, "_mj__Latitude", void 0);
3419
- __decorate([
3420
- Field(() => Float, { nullable: true }),
3421
- __metadata("design:type", Number)
3422
- ], mjBizAppsOrdersEventProduct_.prototype, "_mj__Longitude", void 0);
3604
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
3605
+ __metadata("design:type", Array)
3606
+ ], mjBizAppsOrdersEventProduct_.prototype, "ReadableFields___", void 0);
3423
3607
  mjBizAppsOrdersEventProduct_ = __decorate([
3424
3608
  ObjectType({ description: `IsA Disjoint child of Product (same UUID): event-specific catalog fields (BO-D37). A product is at most one subtype.` })
3425
3609
  ], mjBizAppsOrdersEventProduct_);
@@ -3457,6 +3641,14 @@ __decorate([
3457
3641
  Field(() => Boolean, { nullable: true }),
3458
3642
  __metadata("design:type", Boolean)
3459
3643
  ], CreatemjBizAppsOrdersEventProductInput.prototype, "RequiresAttendeeInfo", void 0);
3644
+ __decorate([
3645
+ Field({ nullable: true }),
3646
+ __metadata("design:type", String)
3647
+ ], CreatemjBizAppsOrdersEventProductInput.prototype, "EventFormat", void 0);
3648
+ __decorate([
3649
+ Field({ nullable: true }),
3650
+ __metadata("design:type", String)
3651
+ ], CreatemjBizAppsOrdersEventProductInput.prototype, "VirtualMeetingUrl", void 0);
3460
3652
  __decorate([
3461
3653
  Field({ nullable: true }),
3462
3654
  __metadata("design:type", String)
@@ -3578,6 +3770,14 @@ __decorate([
3578
3770
  Field(() => Boolean, { nullable: true }),
3579
3771
  __metadata("design:type", Boolean)
3580
3772
  ], UpdatemjBizAppsOrdersEventProductInput.prototype, "RequiresAttendeeInfo", void 0);
3773
+ __decorate([
3774
+ Field({ nullable: true }),
3775
+ __metadata("design:type", String)
3776
+ ], UpdatemjBizAppsOrdersEventProductInput.prototype, "EventFormat", void 0);
3777
+ __decorate([
3778
+ Field({ nullable: true }),
3779
+ __metadata("design:type", String)
3780
+ ], UpdatemjBizAppsOrdersEventProductInput.prototype, "VirtualMeetingUrl", void 0);
3581
3781
  __decorate([
3582
3782
  Field({ nullable: true }),
3583
3783
  __metadata("design:type", String)
@@ -3822,17 +4022,17 @@ __decorate([
3822
4022
  __metadata("design:type", String)
3823
4023
  ], mjBizAppsOrdersOrderAdjustmentAllocation_.prototype, "ID", void 0);
3824
4024
  __decorate([
3825
- Field(),
4025
+ Field({ nullable: true }),
3826
4026
  MaxLength(36),
3827
4027
  __metadata("design:type", String)
3828
4028
  ], mjBizAppsOrdersOrderAdjustmentAllocation_.prototype, "OrderAdjustmentID", void 0);
3829
4029
  __decorate([
3830
- Field(),
4030
+ Field({ nullable: true }),
3831
4031
  MaxLength(36),
3832
4032
  __metadata("design:type", String)
3833
4033
  ], mjBizAppsOrdersOrderAdjustmentAllocation_.prototype, "OrderLineID", void 0);
3834
4034
  __decorate([
3835
- Field(() => Float),
4035
+ Field(() => Float, { nullable: true }),
3836
4036
  __metadata("design:type", Number)
3837
4037
  ], mjBizAppsOrdersOrderAdjustmentAllocation_.prototype, "Amount", void 0);
3838
4038
  __decorate([
@@ -3843,6 +4043,10 @@ __decorate([
3843
4043
  Field(),
3844
4044
  __metadata("design:type", Date)
3845
4045
  ], mjBizAppsOrdersOrderAdjustmentAllocation_.prototype, "_mj__UpdatedAt", void 0);
4046
+ __decorate([
4047
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
4048
+ __metadata("design:type", Array)
4049
+ ], mjBizAppsOrdersOrderAdjustmentAllocation_.prototype, "ReadableFields___", void 0);
3846
4050
  mjBizAppsOrdersOrderAdjustmentAllocation_ = __decorate([
3847
4051
  ObjectType({ description: `Which lines an adjustment reduces, and by how much. Mandatory rather than optional: tax and GL are per line, and on a multi-company order this split decides WHOSE revenue is reduced. A line-level adjustment gets one row; an order-level one gets several, pro-rata by line value with the largest line absorbing the rounding remainder.` })
3848
4052
  ], mjBizAppsOrdersOrderAdjustmentAllocation_);
@@ -4061,7 +4265,7 @@ __decorate([
4061
4265
  __metadata("design:type", String)
4062
4266
  ], mjBizAppsOrdersOrderAdjustment_.prototype, "ID", void 0);
4063
4267
  __decorate([
4064
- Field(),
4268
+ Field({ nullable: true }),
4065
4269
  MaxLength(36),
4066
4270
  __metadata("design:type", String)
4067
4271
  ], mjBizAppsOrdersOrderAdjustment_.prototype, "OrderHeaderID", void 0);
@@ -4081,11 +4285,11 @@ __decorate([
4081
4285
  __metadata("design:type", String)
4082
4286
  ], mjBizAppsOrdersOrderAdjustment_.prototype, "PromotionCodeID", void 0);
4083
4287
  __decorate([
4084
- Field(() => Float, { description: `Always POSITIVE - it is a reduction, and the direction is carried by what the pipeline does with it rather than by the stored sign.` }),
4288
+ Field(() => Float, { nullable: true, description: `Always POSITIVE - it is a reduction, and the direction is carried by what the pipeline does with it rather than by the stored sign.` }),
4085
4289
  __metadata("design:type", Number)
4086
4290
  ], mjBizAppsOrdersOrderAdjustment_.prototype, "Amount", void 0);
4087
4291
  __decorate([
4088
- Field(() => Int),
4292
+ Field(() => Int, { nullable: true }),
4089
4293
  __metadata("design:type", Number)
4090
4294
  ], mjBizAppsOrdersOrderAdjustment_.prototype, "Sequence", void 0);
4091
4295
  __decorate([
@@ -4098,7 +4302,7 @@ __decorate([
4098
4302
  __metadata("design:type", String)
4099
4303
  ], mjBizAppsOrdersOrderAdjustment_.prototype, "AppliedByUserID", void 0);
4100
4304
  __decorate([
4101
- Field(),
4305
+ Field({ nullable: true }),
4102
4306
  __metadata("design:type", Date)
4103
4307
  ], mjBizAppsOrdersOrderAdjustment_.prototype, "AppliedAt", void 0);
4104
4308
  __decorate([
@@ -4124,7 +4328,7 @@ __decorate([
4124
4328
  __metadata("design:type", Date)
4125
4329
  ], mjBizAppsOrdersOrderAdjustment_.prototype, "_mj__UpdatedAt", void 0);
4126
4330
  __decorate([
4127
- Field(),
4331
+ Field({ nullable: true }),
4128
4332
  MaxLength(40),
4129
4333
  __metadata("design:type", String)
4130
4334
  ], mjBizAppsOrdersOrderAdjustment_.prototype, "OrderHeader", void 0);
@@ -4138,6 +4342,10 @@ __decorate([
4138
4342
  MaxLength(60),
4139
4343
  __metadata("design:type", String)
4140
4344
  ], mjBizAppsOrdersOrderAdjustment_.prototype, "PromotionCode", void 0);
4345
+ __decorate([
4346
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
4347
+ __metadata("design:type", Array)
4348
+ ], mjBizAppsOrdersOrderAdjustment_.prototype, "ReadableFields___", void 0);
4141
4349
  mjBizAppsOrdersOrderAdjustment_ = __decorate([
4142
4350
  ObjectType({ description: `An applied reduction. Serves as BOTH the applied discount and the redemption ledger - one concept, not two. Manual discounts (no promotion) ride the same table and must carry a Reason, enforced by CHECK, so an unexplained discount is unstorable rather than merely discouraged.` })
4143
4351
  ], mjBizAppsOrdersOrderAdjustment_);
@@ -4428,17 +4636,17 @@ __decorate([
4428
4636
  __metadata("design:type", String)
4429
4637
  ], mjBizAppsOrdersOrderChargeAllocation_.prototype, "ID", void 0);
4430
4638
  __decorate([
4431
- Field(),
4639
+ Field({ nullable: true }),
4432
4640
  MaxLength(36),
4433
4641
  __metadata("design:type", String)
4434
4642
  ], mjBizAppsOrdersOrderChargeAllocation_.prototype, "OrderChargeID", void 0);
4435
4643
  __decorate([
4436
- Field(),
4644
+ Field({ nullable: true }),
4437
4645
  MaxLength(36),
4438
4646
  __metadata("design:type", String)
4439
4647
  ], mjBizAppsOrdersOrderChargeAllocation_.prototype, "OrderLineID", void 0);
4440
4648
  __decorate([
4441
- Field(() => Float),
4649
+ Field(() => Float, { nullable: true }),
4442
4650
  __metadata("design:type", Number)
4443
4651
  ], mjBizAppsOrdersOrderChargeAllocation_.prototype, "Amount", void 0);
4444
4652
  __decorate([
@@ -4449,6 +4657,10 @@ __decorate([
4449
4657
  Field(),
4450
4658
  __metadata("design:type", Date)
4451
4659
  ], mjBizAppsOrdersOrderChargeAllocation_.prototype, "_mj__UpdatedAt", void 0);
4660
+ __decorate([
4661
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
4662
+ __metadata("design:type", Array)
4663
+ ], mjBizAppsOrdersOrderChargeAllocation_.prototype, "ReadableFields___", void 0);
4452
4664
  mjBizAppsOrdersOrderChargeAllocation_ = __decorate([
4453
4665
  ObjectType({ description: `Which lines a charge belongs to. Needed for tax (per line), GL (per line\'s company) and returns (refunding a line refunds its share of the charge). The same shape as OrderAdjustmentAllocation, deliberately.` })
4454
4666
  ], mjBizAppsOrdersOrderChargeAllocation_);
@@ -4667,17 +4879,17 @@ __decorate([
4667
4879
  __metadata("design:type", String)
4668
4880
  ], mjBizAppsOrdersOrderCharge_.prototype, "ID", void 0);
4669
4881
  __decorate([
4670
- Field(),
4882
+ Field({ nullable: true }),
4671
4883
  MaxLength(36),
4672
4884
  __metadata("design:type", String)
4673
4885
  ], mjBizAppsOrdersOrderCharge_.prototype, "OrderHeaderID", void 0);
4674
4886
  __decorate([
4675
- Field(),
4887
+ Field({ nullable: true }),
4676
4888
  MaxLength(36),
4677
4889
  __metadata("design:type", String)
4678
4890
  ], mjBizAppsOrdersOrderCharge_.prototype, "ChargeTypeID", void 0);
4679
4891
  __decorate([
4680
- Field(() => Float),
4892
+ Field(() => Float, { nullable: true }),
4681
4893
  __metadata("design:type", Number)
4682
4894
  ], mjBizAppsOrdersOrderCharge_.prototype, "Amount", void 0);
4683
4895
  __decorate([
@@ -4689,7 +4901,7 @@ __decorate([
4689
4901
  __metadata("design:type", Number)
4690
4902
  ], mjBizAppsOrdersOrderCharge_.prototype, "Rate", void 0);
4691
4903
  __decorate([
4692
- Field(() => Int),
4904
+ Field(() => Int, { nullable: true }),
4693
4905
  __metadata("design:type", Number)
4694
4906
  ], mjBizAppsOrdersOrderCharge_.prototype, "Sequence", void 0);
4695
4907
  __decorate([
@@ -4703,12 +4915,12 @@ __decorate([
4703
4915
  __metadata("design:type", String)
4704
4916
  ], mjBizAppsOrdersOrderCharge_.prototype, "TaxRateID", void 0);
4705
4917
  __decorate([
4706
- Field({ description: `Internal, or the name of the external provider that returned this amount.` }),
4918
+ Field({ nullable: true, description: `Internal, or the name of the external provider that returned this amount.` }),
4707
4919
  MaxLength(50),
4708
4920
  __metadata("design:type", String)
4709
4921
  ], mjBizAppsOrdersOrderCharge_.prototype, "CalculationSource", void 0);
4710
4922
  __decorate([
4711
- Field(() => Boolean, { description: `Whether a human replaced the computed amount. Requires a reason and preserves the computed value.` }),
4923
+ Field(() => Boolean, { nullable: true, description: `Whether a human replaced the computed amount. Requires a reason and preserves the computed value.` }),
4712
4924
  __metadata("design:type", Boolean)
4713
4925
  ], mjBizAppsOrdersOrderCharge_.prototype, "IsOverridden", void 0);
4714
4926
  __decorate([
@@ -4737,15 +4949,19 @@ __decorate([
4737
4949
  __metadata("design:type", Date)
4738
4950
  ], mjBizAppsOrdersOrderCharge_.prototype, "_mj__UpdatedAt", void 0);
4739
4951
  __decorate([
4740
- Field(),
4952
+ Field({ nullable: true }),
4741
4953
  MaxLength(40),
4742
4954
  __metadata("design:type", String)
4743
4955
  ], mjBizAppsOrdersOrderCharge_.prototype, "OrderHeader", void 0);
4744
4956
  __decorate([
4745
- Field(),
4957
+ Field({ nullable: true }),
4746
4958
  MaxLength(200),
4747
4959
  __metadata("design:type", String)
4748
4960
  ], mjBizAppsOrdersOrderCharge_.prototype, "ChargeType", void 0);
4961
+ __decorate([
4962
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
4963
+ __metadata("design:type", Array)
4964
+ ], mjBizAppsOrdersOrderCharge_.prototype, "ReadableFields___", void 0);
4749
4965
  mjBizAppsOrdersOrderCharge_ = __decorate([
4750
4966
  ObjectType({ description: `An amount added to an order - shipping, handling, a tax layer. Computed, never hand-typed, but overridable ON THE RECORD: forbidding overrides outright is what gets worked around with a fake discount line, which is worse than the thing it prevents. A CHECK makes \'waived without saying why\' unstorable.` })
4751
4967
  ], mjBizAppsOrdersOrderCharge_);
@@ -5052,16 +5268,16 @@ __decorate([
5052
5268
  __metadata("design:type", String)
5053
5269
  ], mjBizAppsOrdersOrderCompanyPolicy_.prototype, "ID", void 0);
5054
5270
  __decorate([
5055
- Field(() => Boolean, { description: `Company-level flip permitting promotions to combine at all. A promotion must ALSO opt in via its own AllowsStacking.` }),
5271
+ Field(() => Boolean, { nullable: true, description: `Company-level flip permitting promotions to combine at all. A promotion must ALSO opt in via its own AllowsStacking.` }),
5056
5272
  __metadata("design:type", Boolean)
5057
5273
  ], mjBizAppsOrdersOrderCompanyPolicy_.prototype, "AllowPromotionStacking", void 0);
5058
5274
  __decorate([
5059
- Field({ description: `Sequential (each promotion applies to the running total: ten percent then ten percent is nineteen) or Additive (percentages sum: twenty). Per company rather than per promotion, because the mode describes how a SET combines and two promotions disagreeing has no coherent answer. Sequential is the default because it discounts less, so a misconfiguration costs nothing.` }),
5275
+ Field({ nullable: true, description: `Sequential (each promotion applies to the running total: ten percent then ten percent is nineteen) or Additive (percentages sum: twenty). Per company rather than per promotion, because the mode describes how a SET combines and two promotions disagreeing has no coherent answer. Sequential is the default because it discounts less, so a misconfiguration costs nothing.` }),
5060
5276
  MaxLength(20),
5061
5277
  __metadata("design:type", String)
5062
5278
  ], mjBizAppsOrdersOrderCompanyPolicy_.prototype, "StackingMode", void 0);
5063
5279
  __decorate([
5064
- Field(() => Boolean, { description: `When nothing prices a line and no UnitPrice was supplied, refuse it rather than booking zero. A silently-zero price is an invoice for nothing that looks deliberate.` }),
5280
+ Field(() => Boolean, { nullable: true, description: `When nothing prices a line and no UnitPrice was supplied, refuse it rather than booking zero. A silently-zero price is an invoice for nothing that looks deliberate.` }),
5065
5281
  __metadata("design:type", Boolean)
5066
5282
  ], mjBizAppsOrdersOrderCompanyPolicy_.prototype, "RefuseUnpricedLines", void 0);
5067
5283
  __decorate([
@@ -5092,6 +5308,10 @@ __decorate([
5092
5308
  MaxLength(200),
5093
5309
  __metadata("design:type", String)
5094
5310
  ], mjBizAppsOrdersOrderCompanyPolicy_.prototype, "DefaultPriceList", void 0);
5311
+ __decorate([
5312
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
5313
+ __metadata("design:type", Array)
5314
+ ], mjBizAppsOrdersOrderCompanyPolicy_.prototype, "ReadableFields___", void 0);
5095
5315
  mjBizAppsOrdersOrderCompanyPolicy_ = __decorate([
5096
5316
  ObjectType({ description: `Per-company pricing policy. IS-A __mj.Company: ID is the Company ID, mirroring accounting\'s AccountingCompanyProfile. A company with no row takes the defaults, so this never needs backfilling.` })
5097
5317
  ], mjBizAppsOrdersOrderCompanyPolicy_);
@@ -5334,26 +5554,26 @@ __decorate([
5334
5554
  __metadata("design:type", String)
5335
5555
  ], mjBizAppsOrdersOrderHeader_.prototype, "ID", void 0);
5336
5556
  __decorate([
5337
- Field({ description: `Human-readable order identifier. Unique.` }),
5557
+ Field({ nullable: true, description: `Human-readable order identifier. Unique.` }),
5338
5558
  MaxLength(40),
5339
5559
  __metadata("design:type", String)
5340
5560
  ], mjBizAppsOrdersOrderHeader_.prototype, "OrderNumber", void 0);
5341
5561
  __decorate([
5342
- Field({ description: `Sale | Return | Cancellation | Amendment | AccountCredit. Non-Sale types are the correction/reversal document family (BO-D9/D15). AccountCredit is a DELIBERATELY ISSUED credit document; an ordinary Sale order can also carry a credit balance simply by being over-paid, and both are spendable through the Account Credit payment type (D68).` }),
5562
+ Field({ nullable: true, description: `Sale | Return | Cancellation | Amendment | AccountCredit. Non-Sale types are the correction/reversal document family (BO-D9/D15). AccountCredit is a DELIBERATELY ISSUED credit document; an ordinary Sale order can also carry a credit balance simply by being over-paid, and both are spendable through the Account Credit payment type (D68).` }),
5343
5563
  MaxLength(20),
5344
5564
  __metadata("design:type", String)
5345
5565
  ], mjBizAppsOrdersOrderHeader_.prototype, "OrderType", void 0);
5346
5566
  __decorate([
5347
- Field({ description: `Effective date of the order; used as the journal entry EffectiveDate and the as-of date for GL-account link resolution.` }),
5567
+ Field({ nullable: true, description: `Effective date of the order; used as the journal entry EffectiveDate and the as-of date for GL-account link resolution.` }),
5348
5568
  __metadata("design:type", Date)
5349
5569
  ], mjBizAppsOrdersOrderHeader_.prototype, "OrderDate", void 0);
5350
5570
  __decorate([
5351
- Field({ description: `Draft | Quoted | Confirmed | Posted | Fulfilled | Voided. Voided is reachable only from Draft/Quoted; the JE fires once on the first Confirmed.` }),
5571
+ Field({ nullable: true, description: `Draft | Quoted | Confirmed | Posted | Fulfilled | Voided. Voided is reachable only from Draft/Quoted; the JE fires once on the first Confirmed.` }),
5352
5572
  MaxLength(20),
5353
5573
  __metadata("design:type", String)
5354
5574
  ], mjBizAppsOrdersOrderHeader_.prototype, "Status", void 0);
5355
5575
  __decorate([
5356
- Field({ description: `The ORIGINATING/owning company (D6): document, visibility, and sales-attribution anchor (pairs with SalesRepUserID). NEVER used for GL resolution — revenue company is per line via the product's company. FK to __mj.Company.` }),
5576
+ Field({ nullable: true, description: `The ORIGINATING/owning company (D6): document, visibility, and sales-attribution anchor (pairs with SalesRepUserID). NEVER used for GL resolution — revenue company is per line via the product's company. FK to __mj.Company.` }),
5357
5577
  MaxLength(36),
5358
5578
  __metadata("design:type", String)
5359
5579
  ], mjBizAppsOrdersOrderHeader_.prototype, "CompanyID", void 0);
@@ -5402,7 +5622,7 @@ __decorate([
5402
5622
  __metadata("design:type", Number)
5403
5623
  ], mjBizAppsOrdersOrderHeader_.prototype, "TotalGross", void 0);
5404
5624
  __decorate([
5405
- Field(() => Float, { description: `Engine-materialized total cash applied to this order = SUM(posted PaymentLine.Amount). Never user-entered.` }),
5625
+ Field(() => Float, { nullable: true, description: `Engine-materialized total cash applied to this order = SUM(posted PaymentLine.Amount). Never user-entered.` }),
5406
5626
  __metadata("design:type", Number)
5407
5627
  ], mjBizAppsOrdersOrderHeader_.prototype, "AmountPaid", void 0);
5408
5628
  __decorate([
@@ -5424,7 +5644,7 @@ __decorate([
5424
5644
  __metadata("design:type", String)
5425
5645
  ], mjBizAppsOrdersOrderHeader_.prototype, "InitialPaymentTypeID", void 0);
5426
5646
  __decorate([
5427
- Field(() => Float),
5647
+ Field(() => Float, { nullable: true }),
5428
5648
  __metadata("design:type", Number)
5429
5649
  ], mjBizAppsOrdersOrderHeader_.prototype, "InitialPaymentAmount", void 0);
5430
5650
  __decorate([
@@ -5480,7 +5700,7 @@ __decorate([
5480
5700
  __metadata("design:type", Date)
5481
5701
  ], mjBizAppsOrdersOrderHeader_.prototype, "_mj__UpdatedAt", void 0);
5482
5702
  __decorate([
5483
- Field(),
5703
+ Field({ nullable: true }),
5484
5704
  MaxLength(50),
5485
5705
  __metadata("design:type", String)
5486
5706
  ], mjBizAppsOrdersOrderHeader_.prototype, "Origin", void 0);
@@ -5490,12 +5710,12 @@ __decorate([
5490
5710
  __metadata("design:type", String)
5491
5711
  ], mjBizAppsOrdersOrderHeader_.prototype, "SourceCheckoutWidgetID", void 0);
5492
5712
  __decorate([
5493
- Field({ description: `Operational fulfillment progress rolled up across order lines: Pending, PartiallyFulfilled, Fulfilled, NotApplicable (no physical goods), or Returned.` }),
5713
+ Field({ nullable: true, description: `Operational fulfillment progress rolled up across order lines: Pending, PartiallyFulfilled, Fulfilled, NotApplicable (no physical goods), or Returned.` }),
5494
5714
  MaxLength(20),
5495
5715
  __metadata("design:type", String)
5496
5716
  ], mjBizAppsOrdersOrderHeader_.prototype, "FulfillmentStatus", void 0);
5497
5717
  __decorate([
5498
- Field(),
5718
+ Field({ nullable: true }),
5499
5719
  MaxLength(50),
5500
5720
  __metadata("design:type", String)
5501
5721
  ], mjBizAppsOrdersOrderHeader_.prototype, "Company", void 0);
@@ -5564,14 +5784,6 @@ __decorate([
5564
5784
  MaxLength(100),
5565
5785
  __metadata("design:type", String)
5566
5786
  ], mjBizAppsOrdersOrderHeader_.prototype, "SourceCheckoutWidget", void 0);
5567
- __decorate([
5568
- Field(() => Float, { nullable: true }),
5569
- __metadata("design:type", Number)
5570
- ], mjBizAppsOrdersOrderHeader_.prototype, "_mj__Latitude", void 0);
5571
- __decorate([
5572
- Field(() => Float, { nullable: true }),
5573
- __metadata("design:type", Number)
5574
- ], mjBizAppsOrdersOrderHeader_.prototype, "_mj__Longitude", void 0);
5575
5787
  __decorate([
5576
5788
  Field(() => Float, { nullable: true }),
5577
5789
  __metadata("design:type", Number)
@@ -5589,9 +5801,13 @@ __decorate([
5589
5801
  __metadata("design:type", Number)
5590
5802
  ], mjBizAppsOrdersOrderHeader_.prototype, "_mj__Longitude_ShipToAddressID", void 0);
5591
5803
  __decorate([
5592
- Field(() => Int),
5804
+ Field(() => Int, { nullable: true }),
5593
5805
  __metadata("design:type", Number)
5594
5806
  ], mjBizAppsOrdersOrderHeader_.prototype, "IsOverdue", void 0);
5807
+ __decorate([
5808
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
5809
+ __metadata("design:type", Array)
5810
+ ], mjBizAppsOrdersOrderHeader_.prototype, "ReadableFields___", void 0);
5595
5811
  mjBizAppsOrdersOrderHeader_ = __decorate([
5596
5812
  ObjectType({ description: `An order header — the customer\'s commitment AND the receivable (D2). On the FIRST transition to Confirmed, one balanced journal entry per line is booked into BizApps Accounting (D10). CompanyID is the originating/owning company — a document/visibility anchor, never GL resolution. No currency columns (FX deferred, D24).` })
5597
5813
  ], mjBizAppsOrdersOrderHeader_);
@@ -6050,17 +6266,17 @@ __decorate([
6050
6266
  __metadata("design:type", String)
6051
6267
  ], mjBizAppsOrdersOrderLineDimension_.prototype, "ID", void 0);
6052
6268
  __decorate([
6053
- Field(),
6269
+ Field({ nullable: true }),
6054
6270
  MaxLength(36),
6055
6271
  __metadata("design:type", String)
6056
6272
  ], mjBizAppsOrdersOrderLineDimension_.prototype, "OrderLineID", void 0);
6057
6273
  __decorate([
6058
- Field({ description: `FK to __mj_BizAppsAccounting.Dimension.` }),
6274
+ Field({ nullable: true, description: `FK to __mj_BizAppsAccounting.Dimension.` }),
6059
6275
  MaxLength(36),
6060
6276
  __metadata("design:type", String)
6061
6277
  ], mjBizAppsOrdersOrderLineDimension_.prototype, "DimensionID", void 0);
6062
6278
  __decorate([
6063
- Field({ description: `FK to __mj_BizAppsAccounting.DimensionValue.` }),
6279
+ Field({ nullable: true, description: `FK to __mj_BizAppsAccounting.DimensionValue.` }),
6064
6280
  MaxLength(36),
6065
6281
  __metadata("design:type", String)
6066
6282
  ], mjBizAppsOrdersOrderLineDimension_.prototype, "DimensionValueID", void 0);
@@ -6073,15 +6289,19 @@ __decorate([
6073
6289
  __metadata("design:type", Date)
6074
6290
  ], mjBizAppsOrdersOrderLineDimension_.prototype, "_mj__UpdatedAt", void 0);
6075
6291
  __decorate([
6076
- Field(),
6292
+ Field({ nullable: true }),
6077
6293
  MaxLength(100),
6078
6294
  __metadata("design:type", String)
6079
6295
  ], mjBizAppsOrdersOrderLineDimension_.prototype, "Dimension", void 0);
6080
6296
  __decorate([
6081
- Field(),
6297
+ Field({ nullable: true }),
6082
6298
  MaxLength(200),
6083
6299
  __metadata("design:type", String)
6084
6300
  ], mjBizAppsOrdersOrderLineDimension_.prototype, "DimensionValue", void 0);
6301
+ __decorate([
6302
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
6303
+ __metadata("design:type", Array)
6304
+ ], mjBizAppsOrdersOrderLineDimension_.prototype, "ReadableFields___", void 0);
6085
6305
  mjBizAppsOrdersOrderLineDimension_ = __decorate([
6086
6306
  ObjectType({ description: `Analytical dimension tag on an order line (one value per dimension). Soft refs to __mj_BizAppsAccounting Dimension/DimensionValue; the booking draft propagates tags onto JE lines for batch-dimension detail.` })
6087
6307
  ], mjBizAppsOrdersOrderLineDimension_);
@@ -6300,30 +6520,30 @@ __decorate([
6300
6520
  __metadata("design:type", String)
6301
6521
  ], mjBizAppsOrdersOrderLinePriceComponent_.prototype, "ID", void 0);
6302
6522
  __decorate([
6303
- Field(),
6523
+ Field({ nullable: true }),
6304
6524
  MaxLength(36),
6305
6525
  __metadata("design:type", String)
6306
6526
  ], mjBizAppsOrdersOrderLinePriceComponent_.prototype, "OrderLineID", void 0);
6307
6527
  __decorate([
6308
- Field(() => Int),
6528
+ Field(() => Int, { nullable: true }),
6309
6529
  __metadata("design:type", Number)
6310
6530
  ], mjBizAppsOrdersOrderLinePriceComponent_.prototype, "Sequence", void 0);
6311
6531
  __decorate([
6312
- Field({ description: `Base | Rule | Adjustment | Charge | Tax - which pipeline stage produced this component.` }),
6532
+ Field({ nullable: true, description: `Base | Rule | Adjustment | Charge | Tax - which pipeline stage produced this component.` }),
6313
6533
  MaxLength(20),
6314
6534
  __metadata("design:type", String)
6315
6535
  ], mjBizAppsOrdersOrderLinePriceComponent_.prototype, "ComponentType", void 0);
6316
6536
  __decorate([
6317
- Field(),
6537
+ Field({ nullable: true }),
6318
6538
  MaxLength(200),
6319
6539
  __metadata("design:type", String)
6320
6540
  ], mjBizAppsOrdersOrderLinePriceComponent_.prototype, "Label", void 0);
6321
6541
  __decorate([
6322
- Field(() => Float, { description: `SIGNED: negative for a discount, positive for a charge.` }),
6542
+ Field(() => Float, { nullable: true, description: `SIGNED: negative for a discount, positive for a charge.` }),
6323
6543
  __metadata("design:type", Number)
6324
6544
  ], mjBizAppsOrdersOrderLinePriceComponent_.prototype, "Amount", void 0);
6325
6545
  __decorate([
6326
- Field(() => Float, { description: `The line total after this component, so the decomposition reads top to bottom.` }),
6546
+ Field(() => Float, { nullable: true, description: `The line total after this component, so the decomposition reads top to bottom.` }),
6327
6547
  __metadata("design:type", Number)
6328
6548
  ], mjBizAppsOrdersOrderLinePriceComponent_.prototype, "RunningTotal", void 0);
6329
6549
  __decorate([
@@ -6349,6 +6569,10 @@ __decorate([
6349
6569
  MaxLength(255),
6350
6570
  __metadata("design:type", String)
6351
6571
  ], mjBizAppsOrdersOrderLinePriceComponent_.prototype, "SourceEntity", void 0);
6572
+ __decorate([
6573
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
6574
+ __metadata("design:type", Array)
6575
+ ], mjBizAppsOrdersOrderLinePriceComponent_.prototype, "ReadableFields___", void 0);
6352
6576
  mjBizAppsOrdersOrderLinePriceComponent_ = __decorate([
6353
6577
  ObjectType({ description: `How a line\'s total was arrived at, one row per pipeline stage with a running total. Pricing disputes are inevitable and \'the system computed it\' is not an answer to a customer or an auditor. Provenance uses the polymorphic origin pair so a component can point at a ProductPrice, a Promotion, an OrderCharge or a TaxRate without a column per source type.` })
6354
6578
  ], mjBizAppsOrdersOrderLinePriceComponent_);
@@ -6607,30 +6831,30 @@ __decorate([
6607
6831
  __metadata("design:type", String)
6608
6832
  ], mjBizAppsOrdersOrderLine_.prototype, "ID", void 0);
6609
6833
  __decorate([
6610
- Field(),
6834
+ Field({ nullable: true }),
6611
6835
  MaxLength(36),
6612
6836
  __metadata("design:type", String)
6613
6837
  ], mjBizAppsOrdersOrderLine_.prototype, "OrderHeaderID", void 0);
6614
6838
  __decorate([
6615
- Field(),
6839
+ Field({ nullable: true }),
6616
6840
  MaxLength(36),
6617
6841
  __metadata("design:type", String)
6618
6842
  ], mjBizAppsOrdersOrderLine_.prototype, "ProductID", void 0);
6619
6843
  __decorate([
6620
- Field({ description: `Denormalized stamp of the product's company at line save (D6): perf/reporting + temporal integrity — records who owned the product at transaction time. Derived from Product.CompanyID, never authored. FK to __mj.Company.` }),
6844
+ Field({ nullable: true, description: `Denormalized stamp of the product's company at line save (D6): perf/reporting + temporal integrity — records who owned the product at transaction time. Derived from Product.CompanyID, never authored. FK to __mj.Company.` }),
6621
6845
  MaxLength(36),
6622
6846
  __metadata("design:type", String)
6623
6847
  ], mjBizAppsOrdersOrderLine_.prototype, "CompanyID", void 0);
6624
6848
  __decorate([
6625
- Field(() => Int, { description: `Order-scoped line sequence (1..n), unique within the order.` }),
6849
+ Field(() => Int, { nullable: true, description: `Order-scoped line sequence (1..n), unique within the order.` }),
6626
6850
  __metadata("design:type", Number)
6627
6851
  ], mjBizAppsOrdersOrderLine_.prototype, "LineNumber", void 0);
6628
6852
  __decorate([
6629
- Field(() => Float, { description: `Quantity ordered (> 0).` }),
6853
+ Field(() => Float, { nullable: true, description: `Quantity ordered (> 0).` }),
6630
6854
  __metadata("design:type", Number)
6631
6855
  ], mjBizAppsOrdersOrderLine_.prototype, "Quantity", void 0);
6632
6856
  __decorate([
6633
- Field(() => Float, { description: `Unit price (>= 0). Multiplied by Quantity to get the line amount booked to revenue.` }),
6857
+ Field(() => Float, { nullable: true, description: `Unit price (>= 0). Multiplied by Quantity to get the line amount booked to revenue.` }),
6634
6858
  __metadata("design:type", Number)
6635
6859
  ], mjBizAppsOrdersOrderLine_.prototype, "UnitPrice", void 0);
6636
6860
  __decorate([
@@ -6639,11 +6863,11 @@ __decorate([
6639
6863
  __metadata("design:type", String)
6640
6864
  ], mjBizAppsOrdersOrderLine_.prototype, "ProductPriceID", void 0);
6641
6865
  __decorate([
6642
- Field(() => Float, { description: `Line discount as a fraction (0 to 1; e.g. 0.10 = ten percent off). Applied in LineTotalNet = Quantity * UnitPrice * (1 - DiscountPct).` }),
6866
+ Field(() => Float, { nullable: true, description: `Line discount as a fraction (0 to 1; e.g. 0.10 = ten percent off). Applied in LineTotalNet = Quantity * UnitPrice * (1 - DiscountPct).` }),
6643
6867
  __metadata("design:type", Number)
6644
6868
  ], mjBizAppsOrdersOrderLine_.prototype, "DiscountPct", void 0);
6645
6869
  __decorate([
6646
- Field(() => Float, { description: `Absolute discount on this line, in currency. Separate from DiscountPct because a percentage cannot express an ALLOCATED share exactly - a 50.00 order-level promotion split across a 333.33 line is 0.15000015 as a fraction, and DiscountPct's 4dp scale would round it into a total that no longer sums to the promotion. Promotions and manual discounts land here; DiscountPct stays for a negotiated percentage concession, and a line may carry both.` }),
6870
+ Field(() => Float, { nullable: true, description: `Absolute discount on this line, in currency. Separate from DiscountPct because a percentage cannot express an ALLOCATED share exactly - a 50.00 order-level promotion split across a 333.33 line is 0.15000015 as a fraction, and DiscountPct's 4dp scale would round it into a total that no longer sums to the promotion. Promotions and manual discounts land here; DiscountPct stays for a negotiated percentage concession, and a line may carry both.` }),
6647
6871
  __metadata("design:type", Number)
6648
6872
  ], mjBizAppsOrdersOrderLine_.prototype, "DiscountAmount", void 0);
6649
6873
  __decorate([
@@ -6651,11 +6875,11 @@ __decorate([
6651
6875
  __metadata("design:type", Number)
6652
6876
  ], mjBizAppsOrdersOrderLine_.prototype, "LineTotalNet", void 0);
6653
6877
  __decorate([
6654
- Field(() => Float, { description: `Non-tax charges allocated to this line - shipping, handling, surcharges (D71). Tax keeps its own LineTax column because tax is reported, remitted and audited separately everywhere, even though both are charges to the engine that computes them.` }),
6878
+ Field(() => Float, { nullable: true, description: `Non-tax charges allocated to this line - shipping, handling, surcharges (D71). Tax keeps its own LineTax column because tax is reported, remitted and audited separately everywhere, even though both are charges to the engine that computes them.` }),
6655
6879
  __metadata("design:type", Number)
6656
6880
  ], mjBizAppsOrdersOrderLine_.prototype, "ChargeAmount", void 0);
6657
6881
  __decorate([
6658
- Field(() => Float, { description: `Tax amount for this line. 0 until the tax subsystem lands (O4).` }),
6882
+ Field(() => Float, { nullable: true, description: `Tax amount for this line. 0 until the tax subsystem lands (O4).` }),
6659
6883
  __metadata("design:type", Number)
6660
6884
  ], mjBizAppsOrdersOrderLine_.prototype, "LineTax", void 0);
6661
6885
  __decorate([
@@ -6711,11 +6935,11 @@ __decorate([
6711
6935
  __metadata("design:type", String)
6712
6936
  ], mjBizAppsOrdersOrderLine_.prototype, "ParentOrderLineID", void 0);
6713
6937
  __decorate([
6714
- Field(() => Boolean, { description: `TRUE on an expanded bundle's parent line. The parent is customer-facing and contributes ZERO to every rollup - subtotal, tax base, charge base, discount base, GL - because the bundle price is allocated down to its children. Set by the expansion path, never authored.` }),
6938
+ Field(() => Boolean, { nullable: true, description: `TRUE on an expanded bundle's parent line. The parent is customer-facing and contributes ZERO to every rollup - subtotal, tax base, charge base, discount base, GL - because the bundle price is allocated down to its children. Set by the expansion path, never authored.` }),
6715
6939
  __metadata("design:type", Boolean)
6716
6940
  ], mjBizAppsOrdersOrderLine_.prototype, "IsRollupParent", void 0);
6717
6941
  __decorate([
6718
- Field(() => Boolean, { description: `TRUE when a child's quantity was hand-edited, detaching it from the parent quantity ripple. Without it, bumping the bundle quantity would silently overwrite a deliberate correction.` }),
6942
+ Field(() => Boolean, { nullable: true, description: `TRUE when a child's quantity was hand-edited, detaching it from the parent quantity ripple. Without it, bumping the bundle quantity would silently overwrite a deliberate correction.` }),
6719
6943
  __metadata("design:type", Boolean)
6720
6944
  ], mjBizAppsOrdersOrderLine_.prototype, "IsQuantityOverridden", void 0);
6721
6945
  __decorate([
@@ -6742,7 +6966,7 @@ __decorate([
6742
6966
  __metadata("design:type", Date)
6743
6967
  ], mjBizAppsOrdersOrderLine_.prototype, "_mj__UpdatedAt", void 0);
6744
6968
  __decorate([
6745
- Field(() => Boolean, { description: `1 when UnitPrice was set by a staff override (named list pick or typed amount) rather than the pricing engine. 0 is the engine price.` }),
6969
+ Field(() => Boolean, { nullable: true, description: `1 when UnitPrice was set by a staff override (named list pick or typed amount) rather than the pricing engine. 0 is the engine price.` }),
6746
6970
  __metadata("design:type", Boolean)
6747
6971
  ], mjBizAppsOrdersOrderLine_.prototype, "PriceOverridden", void 0);
6748
6972
  __decorate([
@@ -6750,17 +6974,27 @@ __decorate([
6750
6974
  __metadata("design:type", String)
6751
6975
  ], mjBizAppsOrdersOrderLine_.prototype, "PriceOverrideReason", void 0);
6752
6976
  __decorate([
6753
- Field(),
6977
+ Field({ nullable: true, description: `The GL dimension this line is tagged on — the analysis axis, from __mj_BizAppsAccounting.Dimension. NULL leaves the line untagged, which books a valid entry that simply cannot be reported on by dimension. Set together with DimensionValueID (CK_OrderLine_DimensionPair).` }),
6978
+ MaxLength(36),
6979
+ __metadata("design:type", String)
6980
+ ], mjBizAppsOrdersOrderLine_.prototype, "DimensionID", void 0);
6981
+ __decorate([
6982
+ Field({ nullable: true, description: `The value of DimensionID this line is tagged with, from __mj_BizAppsAccounting.DimensionValue. Carried with DimensionID onto every journal entry line the order line produces. Set together with DimensionID (CK_OrderLine_DimensionPair).` }),
6983
+ MaxLength(36),
6984
+ __metadata("design:type", String)
6985
+ ], mjBizAppsOrdersOrderLine_.prototype, "DimensionValueID", void 0);
6986
+ __decorate([
6987
+ Field({ nullable: true }),
6754
6988
  MaxLength(40),
6755
6989
  __metadata("design:type", String)
6756
6990
  ], mjBizAppsOrdersOrderLine_.prototype, "OrderHeader", void 0);
6757
6991
  __decorate([
6758
- Field(),
6992
+ Field({ nullable: true }),
6759
6993
  MaxLength(200),
6760
6994
  __metadata("design:type", String)
6761
6995
  ], mjBizAppsOrdersOrderLine_.prototype, "Product", void 0);
6762
6996
  __decorate([
6763
- Field(),
6997
+ Field({ nullable: true }),
6764
6998
  MaxLength(50),
6765
6999
  __metadata("design:type", String)
6766
7000
  ], mjBizAppsOrdersOrderLine_.prototype, "Company", void 0);
@@ -6794,6 +7028,16 @@ __decorate([
6794
7028
  MaxLength(40),
6795
7029
  __metadata("design:type", String)
6796
7030
  ], mjBizAppsOrdersOrderLine_.prototype, "JournalEntry", void 0);
7031
+ __decorate([
7032
+ Field({ nullable: true }),
7033
+ MaxLength(100),
7034
+ __metadata("design:type", String)
7035
+ ], mjBizAppsOrdersOrderLine_.prototype, "Dimension", void 0);
7036
+ __decorate([
7037
+ Field({ nullable: true }),
7038
+ MaxLength(200),
7039
+ __metadata("design:type", String)
7040
+ ], mjBizAppsOrdersOrderLine_.prototype, "DimensionValue", void 0);
6797
7041
  __decorate([
6798
7042
  Field({ nullable: true }),
6799
7043
  MaxLength(36),
@@ -6815,6 +7059,10 @@ __decorate([
6815
7059
  Field(() => Int, { nullable: true }),
6816
7060
  __metadata("design:type", Number)
6817
7061
  ], mjBizAppsOrdersOrderLine_.prototype, "ParentOrderLineIDChildCount", void 0);
7062
+ __decorate([
7063
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
7064
+ __metadata("design:type", Array)
7065
+ ], mjBizAppsOrdersOrderLine_.prototype, "ReadableFields___", void 0);
6818
7066
  mjBizAppsOrdersOrderLine_ = __decorate([
6819
7067
  ObjectType({ description: `A line item on an order. Line amount = Quantity * UnitPrice. Each line books its OWN journal entry at Confirm (D10) in the line\'s company.` })
6820
7068
  ], mjBizAppsOrdersOrderLine_);
@@ -6948,6 +7196,14 @@ __decorate([
6948
7196
  Field({ nullable: true }),
6949
7197
  __metadata("design:type", String)
6950
7198
  ], CreatemjBizAppsOrdersOrderLineInput.prototype, "PriceOverrideReason", void 0);
7199
+ __decorate([
7200
+ Field({ nullable: true }),
7201
+ __metadata("design:type", String)
7202
+ ], CreatemjBizAppsOrdersOrderLineInput.prototype, "DimensionID", void 0);
7203
+ __decorate([
7204
+ Field({ nullable: true }),
7205
+ __metadata("design:type", String)
7206
+ ], CreatemjBizAppsOrdersOrderLineInput.prototype, "DimensionValueID", void 0);
6951
7207
  __decorate([
6952
7208
  Field(() => RestoreContextInput, { nullable: true }),
6953
7209
  __metadata("design:type", RestoreContextInput)
@@ -7085,6 +7341,14 @@ __decorate([
7085
7341
  Field({ nullable: true }),
7086
7342
  __metadata("design:type", String)
7087
7343
  ], UpdatemjBizAppsOrdersOrderLineInput.prototype, "PriceOverrideReason", void 0);
7344
+ __decorate([
7345
+ Field({ nullable: true }),
7346
+ __metadata("design:type", String)
7347
+ ], UpdatemjBizAppsOrdersOrderLineInput.prototype, "DimensionID", void 0);
7348
+ __decorate([
7349
+ Field({ nullable: true }),
7350
+ __metadata("design:type", String)
7351
+ ], UpdatemjBizAppsOrdersOrderLineInput.prototype, "DimensionValueID", void 0);
7088
7352
  __decorate([
7089
7353
  Field(() => [KeyValuePairInput], { nullable: true }),
7090
7354
  __metadata("design:type", Array)
@@ -7248,7 +7512,7 @@ __decorate([
7248
7512
  __metadata("design:type", Number)
7249
7513
  ], mjBizAppsOrdersOrderSequence_.prototype, "ID", void 0);
7250
7514
  __decorate([
7251
- Field(() => Int, { description: `The next order sequence number to assign.` }),
7515
+ Field(() => Int, { nullable: true, description: `The next order sequence number to assign.` }),
7252
7516
  __metadata("design:type", Number)
7253
7517
  ], mjBizAppsOrdersOrderSequence_.prototype, "NextSequenceNumber", void 0);
7254
7518
  __decorate([
@@ -7259,6 +7523,10 @@ __decorate([
7259
7523
  Field(),
7260
7524
  __metadata("design:type", Date)
7261
7525
  ], mjBizAppsOrdersOrderSequence_.prototype, "_mj__UpdatedAt", void 0);
7526
+ __decorate([
7527
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
7528
+ __metadata("design:type", Array)
7529
+ ], mjBizAppsOrdersOrderSequence_.prototype, "ReadableFields___", void 0);
7262
7530
  mjBizAppsOrdersOrderSequence_ = __decorate([
7263
7531
  ObjectType({ description: `Global singleton counter (ID=1) minting gap-conscious ORD-{seq} order numbers. Consumed only by the entity server.` })
7264
7532
  ], mjBizAppsOrdersOrderSequence_);
@@ -7461,12 +7729,12 @@ __decorate([
7461
7729
  __metadata("design:type", String)
7462
7730
  ], mjBizAppsOrdersPaymentDetail_.prototype, "ID", void 0);
7463
7731
  __decorate([
7464
- Field(),
7732
+ Field({ nullable: true }),
7465
7733
  MaxLength(36),
7466
7734
  __metadata("design:type", String)
7467
7735
  ], mjBizAppsOrdersPaymentDetail_.prototype, "CompanyID", void 0);
7468
7736
  __decorate([
7469
- Field(),
7737
+ Field({ nullable: true }),
7470
7738
  MaxLength(36),
7471
7739
  __metadata("design:type", String)
7472
7740
  ], mjBizAppsOrdersPaymentDetail_.prototype, "PaymentTypeID", void 0);
@@ -7565,12 +7833,12 @@ __decorate([
7565
7833
  __metadata("design:type", Date)
7566
7834
  ], mjBizAppsOrdersPaymentDetail_.prototype, "_mj__UpdatedAt", void 0);
7567
7835
  __decorate([
7568
- Field(),
7836
+ Field({ nullable: true }),
7569
7837
  MaxLength(50),
7570
7838
  __metadata("design:type", String)
7571
7839
  ], mjBizAppsOrdersPaymentDetail_.prototype, "Company", void 0);
7572
7840
  __decorate([
7573
- Field(),
7841
+ Field({ nullable: true }),
7574
7842
  MaxLength(200),
7575
7843
  __metadata("design:type", String)
7576
7844
  ], mjBizAppsOrdersPaymentDetail_.prototype, "PaymentType", void 0);
@@ -7594,6 +7862,10 @@ __decorate([
7594
7862
  MaxLength(40),
7595
7863
  __metadata("design:type", String)
7596
7864
  ], mjBizAppsOrdersPaymentDetail_.prototype, "SourceOrderHeader", void 0);
7865
+ __decorate([
7866
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
7867
+ __metadata("design:type", Array)
7868
+ ], mjBizAppsOrdersPaymentDetail_.prototype, "ReadableFields___", void 0);
7597
7869
  mjBizAppsOrdersPaymentDetail_ = __decorate([
7598
7870
  ObjectType()
7599
7871
  ], mjBizAppsOrdersPaymentDetail_);
@@ -7948,12 +8220,12 @@ __decorate([
7948
8220
  __metadata("design:type", String)
7949
8221
  ], mjBizAppsOrdersPaymentHeader_.prototype, "ID", void 0);
7950
8222
  __decorate([
7951
- Field({ description: `Human-readable payment identifier (PAY-{seq}). Unique.` }),
8223
+ Field({ nullable: true, description: `Human-readable payment identifier (PAY-{seq}). Unique.` }),
7952
8224
  MaxLength(40),
7953
8225
  __metadata("design:type", String)
7954
8226
  ], mjBizAppsOrdersPaymentHeader_.prototype, "PaymentNumber", void 0);
7955
8227
  __decorate([
7956
- Field(),
8228
+ Field({ nullable: true }),
7957
8229
  MaxLength(36),
7958
8230
  __metadata("design:type", String)
7959
8231
  ], mjBizAppsOrdersPaymentHeader_.prototype, "ReceivingCompanyID", void 0);
@@ -7968,20 +8240,20 @@ __decorate([
7968
8240
  __metadata("design:type", String)
7969
8241
  ], mjBizAppsOrdersPaymentHeader_.prototype, "BillToOrganizationID", void 0);
7970
8242
  __decorate([
7971
- Field({ description: `Date the money moved (bank date, not entry date).` }),
8243
+ Field({ nullable: true, description: `Date the money moved (bank date, not entry date).` }),
7972
8244
  __metadata("design:type", Date)
7973
8245
  ], mjBizAppsOrdersPaymentHeader_.prototype, "PaymentDate", void 0);
7974
8246
  __decorate([
7975
- Field(),
8247
+ Field({ nullable: true }),
7976
8248
  MaxLength(36),
7977
8249
  __metadata("design:type", String)
7978
8250
  ], mjBizAppsOrdersPaymentHeader_.prototype, "PaymentTypeID", void 0);
7979
8251
  __decorate([
7980
- Field(() => Float, { description: `Gross amount received (negative for reversal methods).` }),
8252
+ Field(() => Float, { nullable: true, description: `Gross amount received (negative for reversal methods).` }),
7981
8253
  __metadata("design:type", Number)
7982
8254
  ], mjBizAppsOrdersPaymentHeader_.prototype, "Amount", void 0);
7983
8255
  __decorate([
7984
- Field(() => Float, { description: `Processor fee withheld from this payment.` }),
8256
+ Field(() => Float, { nullable: true, description: `Processor fee withheld from this payment.` }),
7985
8257
  __metadata("design:type", Number)
7986
8258
  ], mjBizAppsOrdersPaymentHeader_.prototype, "ProcessingFeeAmount", void 0);
7987
8259
  __decorate([
@@ -8023,7 +8295,7 @@ __decorate([
8023
8295
  __metadata("design:type", String)
8024
8296
  ], mjBizAppsOrdersPaymentHeader_.prototype, "ReversalReason", void 0);
8025
8297
  __decorate([
8026
- Field({ description: `Pending | Captured | Failed | Refunded | Disputed. Financial fields freeze at Captured (DB trigger); corrections via reversal payments.` }),
8298
+ Field({ nullable: true, description: `Pending | Captured | Failed | Refunded | Disputed. Financial fields freeze at Captured (DB trigger); corrections via reversal payments.` }),
8027
8299
  MaxLength(20),
8028
8300
  __metadata("design:type", String)
8029
8301
  ], mjBizAppsOrdersPaymentHeader_.prototype, "Status", void 0);
@@ -8054,7 +8326,7 @@ __decorate([
8054
8326
  __metadata("design:type", Date)
8055
8327
  ], mjBizAppsOrdersPaymentHeader_.prototype, "_mj__UpdatedAt", void 0);
8056
8328
  __decorate([
8057
- Field(),
8329
+ Field({ nullable: true }),
8058
8330
  MaxLength(50),
8059
8331
  __metadata("design:type", String)
8060
8332
  ], mjBizAppsOrdersPaymentHeader_.prototype, "ReceivingCompany", void 0);
@@ -8069,7 +8341,7 @@ __decorate([
8069
8341
  __metadata("design:type", String)
8070
8342
  ], mjBizAppsOrdersPaymentHeader_.prototype, "BillToOrganization", void 0);
8071
8343
  __decorate([
8072
- Field(),
8344
+ Field({ nullable: true }),
8073
8345
  MaxLength(200),
8074
8346
  __metadata("design:type", String)
8075
8347
  ], mjBizAppsOrdersPaymentHeader_.prototype, "PaymentType", void 0);
@@ -8098,6 +8370,10 @@ __decorate([
8098
8370
  MaxLength(40),
8099
8371
  __metadata("design:type", String)
8100
8372
  ], mjBizAppsOrdersPaymentHeader_.prototype, "JournalEntry", void 0);
8373
+ __decorate([
8374
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
8375
+ __metadata("design:type", Array)
8376
+ ], mjBizAppsOrdersPaymentHeader_.prototype, "ReadableFields___", void 0);
8101
8377
  mjBizAppsOrdersPaymentHeader_ = __decorate([
8102
8378
  ObjectType({ description: `A money movement: a customer receipt or a reversal (refund/chargeback/bank return). Booked to accounting at capture; applied to orders via PaymentLine.` })
8103
8379
  ], mjBizAppsOrdersPaymentHeader_);
@@ -8460,22 +8736,22 @@ __decorate([
8460
8736
  __metadata("design:type", String)
8461
8737
  ], mjBizAppsOrdersPaymentIntent_.prototype, "ID", void 0);
8462
8738
  __decorate([
8463
- Field(),
8739
+ Field({ nullable: true }),
8464
8740
  MaxLength(36),
8465
8741
  __metadata("design:type", String)
8466
8742
  ], mjBizAppsOrdersPaymentIntent_.prototype, "PaymentProviderID", void 0);
8467
8743
  __decorate([
8468
- Field({ description: `Provider-side intent identifier (e.g. Stripe pi_...). Unique.` }),
8744
+ Field({ nullable: true, description: `Provider-side intent identifier (e.g. Stripe pi_...). Unique.` }),
8469
8745
  MaxLength(100),
8470
8746
  __metadata("design:type", String)
8471
8747
  ], mjBizAppsOrdersPaymentIntent_.prototype, "ProviderIntentID", void 0);
8472
8748
  __decorate([
8473
- Field({ description: `RequiresPayment | Processing | Succeeded | Canceled | Failed. Mirrors the provider lifecycle.` }),
8749
+ Field({ nullable: true, description: `RequiresPayment | Processing | Succeeded | Canceled | Failed. Mirrors the provider lifecycle.` }),
8474
8750
  MaxLength(30),
8475
8751
  __metadata("design:type", String)
8476
8752
  ], mjBizAppsOrdersPaymentIntent_.prototype, "Status", void 0);
8477
8753
  __decorate([
8478
- Field(() => Float, { description: `Amount being collected.` }),
8754
+ Field(() => Float, { nullable: true, description: `Amount being collected.` }),
8479
8755
  __metadata("design:type", Number)
8480
8756
  ], mjBizAppsOrdersPaymentIntent_.prototype, "Amount", void 0);
8481
8757
  __decorate([
@@ -8511,7 +8787,7 @@ __decorate([
8511
8787
  __metadata("design:type", Date)
8512
8788
  ], mjBizAppsOrdersPaymentIntent_.prototype, "_mj__UpdatedAt", void 0);
8513
8789
  __decorate([
8514
- Field(),
8790
+ Field({ nullable: true }),
8515
8791
  MaxLength(200),
8516
8792
  __metadata("design:type", String)
8517
8793
  ], mjBizAppsOrdersPaymentIntent_.prototype, "PaymentProvider", void 0);
@@ -8530,6 +8806,10 @@ __decorate([
8530
8806
  MaxLength(255),
8531
8807
  __metadata("design:type", String)
8532
8808
  ], mjBizAppsOrdersPaymentIntent_.prototype, "BillToOrganization", void 0);
8809
+ __decorate([
8810
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
8811
+ __metadata("design:type", Array)
8812
+ ], mjBizAppsOrdersPaymentIntent_.prototype, "ReadableFields___", void 0);
8533
8813
  mjBizAppsOrdersPaymentIntent_ = __decorate([
8534
8814
  ObjectType({ description: `Provider-side collection state (BO-D26; Stripe-shaped). The Manual provider skips intents entirely.` })
8535
8815
  ], mjBizAppsOrdersPaymentIntent_);
@@ -8796,12 +9076,12 @@ __decorate([
8796
9076
  __metadata("design:type", String)
8797
9077
  ], mjBizAppsOrdersPaymentLine_.prototype, "ID", void 0);
8798
9078
  __decorate([
8799
- Field(),
9079
+ Field({ nullable: true }),
8800
9080
  MaxLength(36),
8801
9081
  __metadata("design:type", String)
8802
9082
  ], mjBizAppsOrdersPaymentLine_.prototype, "PaymentHeaderID", void 0);
8803
9083
  __decorate([
8804
- Field(),
9084
+ Field({ nullable: true }),
8805
9085
  MaxLength(36),
8806
9086
  __metadata("design:type", String)
8807
9087
  ], mjBizAppsOrdersPaymentLine_.prototype, "OrderHeaderID", void 0);
@@ -8811,11 +9091,11 @@ __decorate([
8811
9091
  __metadata("design:type", String)
8812
9092
  ], mjBizAppsOrdersPaymentLine_.prototype, "OrderLineID", void 0);
8813
9093
  __decorate([
8814
- Field(() => Float, { description: `Amount of the payment applied to this order (<> 0; negative when applying a credit memo).` }),
9094
+ Field(() => Float, { nullable: true, description: `Amount of the payment applied to this order (<> 0; negative when applying a credit memo).` }),
8815
9095
  __metadata("design:type", Number)
8816
9096
  ], mjBizAppsOrdersPaymentLine_.prototype, "Amount", void 0);
8817
9097
  __decorate([
8818
- Field({ description: `UTC timestamp when this application was made.` }),
9098
+ Field({ nullable: true, description: `UTC timestamp when this application was made.` }),
8819
9099
  __metadata("design:type", Date)
8820
9100
  ], mjBizAppsOrdersPaymentLine_.prototype, "AllocatedAt", void 0);
8821
9101
  __decorate([
@@ -8836,12 +9116,12 @@ __decorate([
8836
9116
  __metadata("design:type", Date)
8837
9117
  ], mjBizAppsOrdersPaymentLine_.prototype, "_mj__UpdatedAt", void 0);
8838
9118
  __decorate([
8839
- Field(),
9119
+ Field({ nullable: true }),
8840
9120
  MaxLength(40),
8841
9121
  __metadata("design:type", String)
8842
9122
  ], mjBizAppsOrdersPaymentLine_.prototype, "PaymentHeader", void 0);
8843
9123
  __decorate([
8844
- Field(),
9124
+ Field({ nullable: true }),
8845
9125
  MaxLength(40),
8846
9126
  __metadata("design:type", String)
8847
9127
  ], mjBizAppsOrdersPaymentLine_.prototype, "OrderHeader", void 0);
@@ -8850,6 +9130,10 @@ __decorate([
8850
9130
  MaxLength(100),
8851
9131
  __metadata("design:type", String)
8852
9132
  ], mjBizAppsOrdersPaymentLine_.prototype, "AllocatedByUser", void 0);
9133
+ __decorate([
9134
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
9135
+ __metadata("design:type", Array)
9136
+ ], mjBizAppsOrdersPaymentLine_.prototype, "ReadableFields___", void 0);
8853
9137
  mjBizAppsOrdersPaymentLine_ = __decorate([
8854
9138
  ObjectType({ description: `Cash application junction (BO-D16/D45): how much of a payment settles which order (optionally which line). Negative Amount applies a credit memo.` })
8855
9139
  ], mjBizAppsOrdersPaymentLine_);
@@ -9100,12 +9384,12 @@ __decorate([
9100
9384
  __metadata("design:type", String)
9101
9385
  ], mjBizAppsOrdersPaymentProviderType_.prototype, "ID", void 0);
9102
9386
  __decorate([
9103
- Field(),
9387
+ Field({ nullable: true }),
9104
9388
  MaxLength(40),
9105
9389
  __metadata("design:type", String)
9106
9390
  ], mjBizAppsOrdersPaymentProviderType_.prototype, "Code", void 0);
9107
9391
  __decorate([
9108
- Field(),
9392
+ Field({ nullable: true }),
9109
9393
  MaxLength(200),
9110
9394
  __metadata("design:type", String)
9111
9395
  ], mjBizAppsOrdersPaymentProviderType_.prototype, "Name", void 0);
@@ -9119,23 +9403,23 @@ __decorate([
9119
9403
  __metadata("design:type", String)
9120
9404
  ], mjBizAppsOrdersPaymentProviderType_.prototype, "DriverClass", void 0);
9121
9405
  __decorate([
9122
- Field(() => Boolean),
9406
+ Field(() => Boolean, { nullable: true }),
9123
9407
  __metadata("design:type", Boolean)
9124
9408
  ], mjBizAppsOrdersPaymentProviderType_.prototype, "SupportsTokenization", void 0);
9125
9409
  __decorate([
9126
- Field(() => Boolean),
9410
+ Field(() => Boolean, { nullable: true }),
9127
9411
  __metadata("design:type", Boolean)
9128
9412
  ], mjBizAppsOrdersPaymentProviderType_.prototype, "SupportsRefund", void 0);
9129
9413
  __decorate([
9130
- Field(() => Boolean),
9414
+ Field(() => Boolean, { nullable: true }),
9131
9415
  __metadata("design:type", Boolean)
9132
9416
  ], mjBizAppsOrdersPaymentProviderType_.prototype, "SupportsWebhooks", void 0);
9133
9417
  __decorate([
9134
- Field(() => Int),
9418
+ Field(() => Int, { nullable: true }),
9135
9419
  __metadata("design:type", Number)
9136
9420
  ], mjBizAppsOrdersPaymentProviderType_.prototype, "Sequence", void 0);
9137
9421
  __decorate([
9138
- Field(() => Boolean),
9422
+ Field(() => Boolean, { nullable: true }),
9139
9423
  __metadata("design:type", Boolean)
9140
9424
  ], mjBizAppsOrdersPaymentProviderType_.prototype, "IsActive", void 0);
9141
9425
  __decorate([
@@ -9146,6 +9430,10 @@ __decorate([
9146
9430
  Field(),
9147
9431
  __metadata("design:type", Date)
9148
9432
  ], mjBizAppsOrdersPaymentProviderType_.prototype, "_mj__UpdatedAt", void 0);
9433
+ __decorate([
9434
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
9435
+ __metadata("design:type", Array)
9436
+ ], mjBizAppsOrdersPaymentProviderType_.prototype, "ReadableFields___", void 0);
9149
9437
  mjBizAppsOrdersPaymentProviderType_ = __decorate([
9150
9438
  ObjectType()
9151
9439
  ], mjBizAppsOrdersPaymentProviderType_);
@@ -9412,17 +9700,17 @@ __decorate([
9412
9700
  __metadata("design:type", String)
9413
9701
  ], mjBizAppsOrdersPaymentProvider_.prototype, "ID", void 0);
9414
9702
  __decorate([
9415
- Field(),
9703
+ Field({ nullable: true }),
9416
9704
  MaxLength(36),
9417
9705
  __metadata("design:type", String)
9418
9706
  ], mjBizAppsOrdersPaymentProvider_.prototype, "PaymentProviderTypeID", void 0);
9419
9707
  __decorate([
9420
- Field(),
9708
+ Field({ nullable: true }),
9421
9709
  MaxLength(36),
9422
9710
  __metadata("design:type", String)
9423
9711
  ], mjBizAppsOrdersPaymentProvider_.prototype, "CompanyID", void 0);
9424
9712
  __decorate([
9425
- Field({ description: `Display name of this provider account.` }),
9713
+ Field({ nullable: true, description: `Display name of this provider account.` }),
9426
9714
  MaxLength(200),
9427
9715
  __metadata("design:type", String)
9428
9716
  ], mjBizAppsOrdersPaymentProvider_.prototype, "Name", void 0);
@@ -9432,11 +9720,11 @@ __decorate([
9432
9720
  __metadata("design:type", String)
9433
9721
  ], mjBizAppsOrdersPaymentProvider_.prototype, "CredentialsRef", void 0);
9434
9722
  __decorate([
9435
- Field(() => Boolean, { description: `Whether this account points at the provider's live environment (vs test/sandbox).` }),
9723
+ Field(() => Boolean, { nullable: true, description: `Whether this account points at the provider's live environment (vs test/sandbox).` }),
9436
9724
  __metadata("design:type", Boolean)
9437
9725
  ], mjBizAppsOrdersPaymentProvider_.prototype, "IsLiveMode", void 0);
9438
9726
  __decorate([
9439
- Field(() => Boolean, { description: `Whether this provider account is active.` }),
9727
+ Field(() => Boolean, { nullable: true, description: `Whether this provider account is active.` }),
9440
9728
  __metadata("design:type", Boolean)
9441
9729
  ], mjBizAppsOrdersPaymentProvider_.prototype, "IsActive", void 0);
9442
9730
  __decorate([
@@ -9448,15 +9736,19 @@ __decorate([
9448
9736
  __metadata("design:type", Date)
9449
9737
  ], mjBizAppsOrdersPaymentProvider_.prototype, "_mj__UpdatedAt", void 0);
9450
9738
  __decorate([
9451
- Field(),
9739
+ Field({ nullable: true }),
9452
9740
  MaxLength(200),
9453
9741
  __metadata("design:type", String)
9454
9742
  ], mjBizAppsOrdersPaymentProvider_.prototype, "PaymentProviderType", void 0);
9455
9743
  __decorate([
9456
- Field(),
9744
+ Field({ nullable: true }),
9457
9745
  MaxLength(50),
9458
9746
  __metadata("design:type", String)
9459
9747
  ], mjBizAppsOrdersPaymentProvider_.prototype, "Company", void 0);
9748
+ __decorate([
9749
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
9750
+ __metadata("design:type", Array)
9751
+ ], mjBizAppsOrdersPaymentProvider_.prototype, "ReadableFields___", void 0);
9460
9752
  mjBizAppsOrdersPaymentProvider_ = __decorate([
9461
9753
  ObjectType({ description: `A configured payment-processing account (Stripe account, or the built-in Manual provider) owned by one company.` })
9462
9754
  ], mjBizAppsOrdersPaymentProvider_);
@@ -9698,7 +9990,7 @@ __decorate([
9698
9990
  __metadata("design:type", Number)
9699
9991
  ], mjBizAppsOrdersPaymentSequence_.prototype, "ID", void 0);
9700
9992
  __decorate([
9701
- Field(() => Int, { description: `The next payment sequence number to assign.` }),
9993
+ Field(() => Int, { nullable: true, description: `The next payment sequence number to assign.` }),
9702
9994
  __metadata("design:type", Number)
9703
9995
  ], mjBizAppsOrdersPaymentSequence_.prototype, "NextSequenceNumber", void 0);
9704
9996
  __decorate([
@@ -9709,6 +10001,10 @@ __decorate([
9709
10001
  Field(),
9710
10002
  __metadata("design:type", Date)
9711
10003
  ], mjBizAppsOrdersPaymentSequence_.prototype, "_mj__UpdatedAt", void 0);
10004
+ __decorate([
10005
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
10006
+ __metadata("design:type", Array)
10007
+ ], mjBizAppsOrdersPaymentSequence_.prototype, "ReadableFields___", void 0);
9712
10008
  mjBizAppsOrdersPaymentSequence_ = __decorate([
9713
10009
  ObjectType({ description: `Global singleton counter (ID=1) minting gap-conscious PAY-{seq} payment numbers. Consumed only by the entity server.` })
9714
10010
  ], mjBizAppsOrdersPaymentSequence_);
@@ -9911,17 +10207,17 @@ __decorate([
9911
10207
  __metadata("design:type", String)
9912
10208
  ], mjBizAppsOrdersPaymentTermsType_.prototype, "ID", void 0);
9913
10209
  __decorate([
9914
- Field({ description: `Stable machine code (Net30, DueOnReceipt, Prepaid, ...). Unique.` }),
10210
+ Field({ nullable: true, description: `Stable machine code (Net30, DueOnReceipt, Prepaid, ...). Unique.` }),
9915
10211
  MaxLength(40),
9916
10212
  __metadata("design:type", String)
9917
10213
  ], mjBizAppsOrdersPaymentTermsType_.prototype, "Code", void 0);
9918
10214
  __decorate([
9919
- Field({ description: `Display name of the payment terms.` }),
10215
+ Field({ nullable: true, description: `Display name of the payment terms.` }),
9920
10216
  MaxLength(200),
9921
10217
  __metadata("design:type", String)
9922
10218
  ], mjBizAppsOrdersPaymentTermsType_.prototype, "Name", void 0);
9923
10219
  __decorate([
9924
- Field(() => Int, { description: `Days from the posting date to DueDate (0 = due on receipt).` }),
10220
+ Field(() => Int, { nullable: true, description: `Days from the posting date to DueDate (0 = due on receipt).` }),
9925
10221
  __metadata("design:type", Number)
9926
10222
  ], mjBizAppsOrdersPaymentTermsType_.prototype, "NetDays", void 0);
9927
10223
  __decorate([
@@ -9929,7 +10225,7 @@ __decorate([
9929
10225
  __metadata("design:type", String)
9930
10226
  ], mjBizAppsOrdersPaymentTermsType_.prototype, "Description", void 0);
9931
10227
  __decorate([
9932
- Field(() => Boolean, { description: `Whether these terms are active and selectable.` }),
10228
+ Field(() => Boolean, { nullable: true, description: `Whether these terms are active and selectable.` }),
9933
10229
  __metadata("design:type", Boolean)
9934
10230
  ], mjBizAppsOrdersPaymentTermsType_.prototype, "IsActive", void 0);
9935
10231
  __decorate([
@@ -9940,6 +10236,10 @@ __decorate([
9940
10236
  Field(),
9941
10237
  __metadata("design:type", Date)
9942
10238
  ], mjBizAppsOrdersPaymentTermsType_.prototype, "_mj__UpdatedAt", void 0);
10239
+ __decorate([
10240
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
10241
+ __metadata("design:type", Array)
10242
+ ], mjBizAppsOrdersPaymentTermsType_.prototype, "ReadableFields___", void 0);
9943
10243
  mjBizAppsOrdersPaymentTermsType_ = __decorate([
9944
10244
  ObjectType({ description: `Payment terms lookup (Net 30, Due on Receipt, ...). Owned by Orders; NetDays derives Order.DueDate from the posting date. Seed rows via metadata sync.` })
9945
10245
  ], mjBizAppsOrdersPaymentTermsType_);
@@ -10174,12 +10474,12 @@ __decorate([
10174
10474
  __metadata("design:type", String)
10175
10475
  ], mjBizAppsOrdersPaymentType_.prototype, "ID", void 0);
10176
10476
  __decorate([
10177
- Field(),
10477
+ Field({ nullable: true }),
10178
10478
  MaxLength(40),
10179
10479
  __metadata("design:type", String)
10180
10480
  ], mjBizAppsOrdersPaymentType_.prototype, "Code", void 0);
10181
10481
  __decorate([
10182
- Field(),
10482
+ Field({ nullable: true }),
10183
10483
  MaxLength(200),
10184
10484
  __metadata("design:type", String)
10185
10485
  ], mjBizAppsOrdersPaymentType_.prototype, "Name", void 0);
@@ -10188,19 +10488,19 @@ __decorate([
10188
10488
  __metadata("design:type", String)
10189
10489
  ], mjBizAppsOrdersPaymentType_.prototype, "Description", void 0);
10190
10490
  __decorate([
10191
- Field(() => Boolean),
10491
+ Field(() => Boolean, { nullable: true }),
10192
10492
  __metadata("design:type", Boolean)
10193
10493
  ], mjBizAppsOrdersPaymentType_.prototype, "IsReversal", void 0);
10194
10494
  __decorate([
10195
- Field(() => Boolean),
10495
+ Field(() => Boolean, { nullable: true }),
10196
10496
  __metadata("design:type", Boolean)
10197
10497
  ], mjBizAppsOrdersPaymentType_.prototype, "RequiresProvider", void 0);
10198
10498
  __decorate([
10199
- Field(() => Boolean),
10499
+ Field(() => Boolean, { nullable: true }),
10200
10500
  __metadata("design:type", Boolean)
10201
10501
  ], mjBizAppsOrdersPaymentType_.prototype, "RequiresInstrument", void 0);
10202
10502
  __decorate([
10203
- Field(() => Boolean),
10503
+ Field(() => Boolean, { nullable: true }),
10204
10504
  __metadata("design:type", Boolean)
10205
10505
  ], mjBizAppsOrdersPaymentType_.prototype, "RequiresReference", void 0);
10206
10506
  __decorate([
@@ -10209,15 +10509,15 @@ __decorate([
10209
10509
  __metadata("design:type", String)
10210
10510
  ], mjBizAppsOrdersPaymentType_.prototype, "DetailExtensionEntity", void 0);
10211
10511
  __decorate([
10212
- Field(() => Boolean, { description: `When 1, a capture with a processor fee books it as its own journal entry (Dr Processing Fee / Cr Cash). DEFAULT 0: a per-payment fee leg cannot reconcile to a bank statement, because the processor batches into payouts and deducts costs that never attach to any payment - a failed-debit charge, a dispute fee, a monthly platform charge - so the whole processor cost is accrued in the accounting system at month end instead (D82). The fee is still READ from the gateway and still stored on PaymentHeader.ProcessingFeeAmount and NetAmount regardless; this flag decides only whether it becomes a ledger entry. Turn it on only for a tender whose per-payment fee attribution is genuinely needed, and expect to reconcile the difference.` }),
10512
+ Field(() => Boolean, { nullable: true, description: `When 1, a capture with a processor fee books it as its own journal entry (Dr Processing Fee / Cr Cash). DEFAULT 0: a per-payment fee leg cannot reconcile to a bank statement, because the processor batches into payouts and deducts costs that never attach to any payment - a failed-debit charge, a dispute fee, a monthly platform charge - so the whole processor cost is accrued in the accounting system at month end instead (D82). The fee is still READ from the gateway and still stored on PaymentHeader.ProcessingFeeAmount and NetAmount regardless; this flag decides only whether it becomes a ledger entry. Turn it on only for a tender whose per-payment fee attribution is genuinely needed, and expect to reconcile the difference.` }),
10213
10513
  __metadata("design:type", Boolean)
10214
10514
  ], mjBizAppsOrdersPaymentType_.prototype, "BookProcessingFeeInline", void 0);
10215
10515
  __decorate([
10216
- Field(() => Int),
10516
+ Field(() => Int, { nullable: true }),
10217
10517
  __metadata("design:type", Number)
10218
10518
  ], mjBizAppsOrdersPaymentType_.prototype, "Sequence", void 0);
10219
10519
  __decorate([
10220
- Field(() => Boolean),
10520
+ Field(() => Boolean, { nullable: true }),
10221
10521
  __metadata("design:type", Boolean)
10222
10522
  ], mjBizAppsOrdersPaymentType_.prototype, "IsActive", void 0);
10223
10523
  __decorate([
@@ -10228,6 +10528,10 @@ __decorate([
10228
10528
  Field(),
10229
10529
  __metadata("design:type", Date)
10230
10530
  ], mjBizAppsOrdersPaymentType_.prototype, "_mj__UpdatedAt", void 0);
10531
+ __decorate([
10532
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
10533
+ __metadata("design:type", Array)
10534
+ ], mjBizAppsOrdersPaymentType_.prototype, "ReadableFields___", void 0);
10231
10535
  mjBizAppsOrdersPaymentType_ = __decorate([
10232
10536
  ObjectType()
10233
10537
  ], mjBizAppsOrdersPaymentType_);
@@ -10510,7 +10814,7 @@ __decorate([
10510
10814
  __metadata("design:type", String)
10511
10815
  ], mjBizAppsOrdersPriceListAssignment_.prototype, "ID", void 0);
10512
10816
  __decorate([
10513
- Field(),
10817
+ Field({ nullable: true }),
10514
10818
  MaxLength(36),
10515
10819
  __metadata("design:type", String)
10516
10820
  ], mjBizAppsOrdersPriceListAssignment_.prototype, "PriceListID", void 0);
@@ -10525,7 +10829,7 @@ __decorate([
10525
10829
  __metadata("design:type", String)
10526
10830
  ], mjBizAppsOrdersPriceListAssignment_.prototype, "PersonID", void 0);
10527
10831
  __decorate([
10528
- Field(() => Int, { description: `Breaks the tie when a person's own assignment and their organization's both apply. Higher wins.` }),
10832
+ Field(() => Int, { nullable: true, description: `Breaks the tie when a person's own assignment and their organization's both apply. Higher wins.` }),
10529
10833
  __metadata("design:type", Number)
10530
10834
  ], mjBizAppsOrdersPriceListAssignment_.prototype, "Priority", void 0);
10531
10835
  __decorate([
@@ -10537,7 +10841,7 @@ __decorate([
10537
10841
  __metadata("design:type", Date)
10538
10842
  ], mjBizAppsOrdersPriceListAssignment_.prototype, "EndedAt", void 0);
10539
10843
  __decorate([
10540
- Field(),
10844
+ Field({ nullable: true }),
10541
10845
  MaxLength(10),
10542
10846
  __metadata("design:type", String)
10543
10847
  ], mjBizAppsOrdersPriceListAssignment_.prototype, "Status", void 0);
@@ -10554,7 +10858,7 @@ __decorate([
10554
10858
  __metadata("design:type", Date)
10555
10859
  ], mjBizAppsOrdersPriceListAssignment_.prototype, "_mj__UpdatedAt", void 0);
10556
10860
  __decorate([
10557
- Field(),
10861
+ Field({ nullable: true }),
10558
10862
  MaxLength(200),
10559
10863
  __metadata("design:type", String)
10560
10864
  ], mjBizAppsOrdersPriceListAssignment_.prototype, "PriceList", void 0);
@@ -10568,6 +10872,10 @@ __decorate([
10568
10872
  MaxLength(201),
10569
10873
  __metadata("design:type", String)
10570
10874
  ], mjBizAppsOrdersPriceListAssignment_.prototype, "Person", void 0);
10875
+ __decorate([
10876
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
10877
+ __metadata("design:type", Array)
10878
+ ], mjBizAppsOrdersPriceListAssignment_.prototype, "ReadableFields___", void 0);
10571
10879
  mjBizAppsOrdersPriceListAssignment_ = __decorate([
10572
10880
  ObjectType({ description: `Which price list a customer gets - the link nothing in the schema previously provided. PriceListID existed only on ProductPrice, so the schema could say what a product cost ON a list but never WHICH list applied to an order. A customer with no assignment resolves to the product base price, so no default-assignment row is needed.` })
10573
10881
  ], mjBizAppsOrdersPriceListAssignment_);
@@ -10826,12 +11134,12 @@ __decorate([
10826
11134
  __metadata("design:type", String)
10827
11135
  ], mjBizAppsOrdersPriceList_.prototype, "ID", void 0);
10828
11136
  __decorate([
10829
- Field({ description: `Stable machine code. Unique.` }),
11137
+ Field({ nullable: true, description: `Stable machine code. Unique.` }),
10830
11138
  MaxLength(40),
10831
11139
  __metadata("design:type", String)
10832
11140
  ], mjBizAppsOrdersPriceList_.prototype, "Code", void 0);
10833
11141
  __decorate([
10834
- Field({ description: `Display name.` }),
11142
+ Field({ nullable: true, description: `Display name.` }),
10835
11143
  MaxLength(200),
10836
11144
  __metadata("design:type", String)
10837
11145
  ], mjBizAppsOrdersPriceList_.prototype, "Name", void 0);
@@ -10848,7 +11156,7 @@ __decorate([
10848
11156
  __metadata("design:type", Date)
10849
11157
  ], mjBizAppsOrdersPriceList_.prototype, "EffectiveTo", void 0);
10850
11158
  __decorate([
10851
- Field({ description: `Active | Inactive. Deliberately NO CompanyID on this table: every price in a list points at a Product that already carries its company, so a column here would only be an administrative guardrail - and it would force a group-wide member rate to be duplicated per company.` }),
11159
+ Field({ nullable: true, description: `Active | Inactive. Deliberately NO CompanyID on this table: every price in a list points at a Product that already carries its company, so a column here would only be an administrative guardrail - and it would force a group-wide member rate to be duplicated per company.` }),
10852
11160
  MaxLength(10),
10853
11161
  __metadata("design:type", String)
10854
11162
  ], mjBizAppsOrdersPriceList_.prototype, "Status", void 0);
@@ -10860,6 +11168,10 @@ __decorate([
10860
11168
  Field(),
10861
11169
  __metadata("design:type", Date)
10862
11170
  ], mjBizAppsOrdersPriceList_.prototype, "_mj__UpdatedAt", void 0);
11171
+ __decorate([
11172
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
11173
+ __metadata("design:type", Array)
11174
+ ], mjBizAppsOrdersPriceList_.prototype, "ReadableFields___", void 0);
10863
11175
  mjBizAppsOrdersPriceList_ = __decorate([
10864
11176
  ObjectType({ description: `Pricing segmentation container (BO-D33): region/channel/customer-tier scope, effective-dated. Currency column deferred with FX (MOD-4).` })
10865
11177
  ], mjBizAppsOrdersPriceList_);
@@ -11102,12 +11414,12 @@ __decorate([
11102
11414
  __metadata("design:type", String)
11103
11415
  ], mjBizAppsOrdersPriceTier_.prototype, "ID", void 0);
11104
11416
  __decorate([
11105
- Field(),
11417
+ Field({ nullable: true }),
11106
11418
  MaxLength(36),
11107
11419
  __metadata("design:type", String)
11108
11420
  ], mjBizAppsOrdersPriceTier_.prototype, "ProductPriceID", void 0);
11109
11421
  __decorate([
11110
- Field(() => Float, { description: `Tier lower bound (inclusive).` }),
11422
+ Field(() => Float, { nullable: true, description: `Tier lower bound (inclusive).` }),
11111
11423
  __metadata("design:type", Number)
11112
11424
  ], mjBizAppsOrdersPriceTier_.prototype, "MinQuantity", void 0);
11113
11425
  __decorate([
@@ -11115,11 +11427,11 @@ __decorate([
11115
11427
  __metadata("design:type", Number)
11116
11428
  ], mjBizAppsOrdersPriceTier_.prototype, "MaxQuantity", void 0);
11117
11429
  __decorate([
11118
- Field(() => Float, { description: `Per-unit (or flat) price within this tier.` }),
11430
+ Field(() => Float, { nullable: true, description: `Per-unit (or flat) price within this tier.` }),
11119
11431
  __metadata("design:type", Number)
11120
11432
  ], mjBizAppsOrdersPriceTier_.prototype, "Amount", void 0);
11121
11433
  __decorate([
11122
- Field(() => Int, { description: `Display order of tiers.` }),
11434
+ Field(() => Int, { nullable: true, description: `Display order of tiers.` }),
11123
11435
  __metadata("design:type", Number)
11124
11436
  ], mjBizAppsOrdersPriceTier_.prototype, "SortOrder", void 0);
11125
11437
  __decorate([
@@ -11131,10 +11443,14 @@ __decorate([
11131
11443
  __metadata("design:type", Date)
11132
11444
  ], mjBizAppsOrdersPriceTier_.prototype, "_mj__UpdatedAt", void 0);
11133
11445
  __decorate([
11134
- Field(),
11446
+ Field({ nullable: true }),
11135
11447
  MaxLength(100),
11136
11448
  __metadata("design:type", String)
11137
11449
  ], mjBizAppsOrdersPriceTier_.prototype, "ProductPrice", void 0);
11450
+ __decorate([
11451
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
11452
+ __metadata("design:type", Array)
11453
+ ], mjBizAppsOrdersPriceTier_.prototype, "ReadableFields___", void 0);
11138
11454
  mjBizAppsOrdersPriceTier_ = __decorate([
11139
11455
  ObjectType({ description: `Volume/quantity break under a Tiered or Volume ProductPrice (BO-D33).` })
11140
11456
  ], mjBizAppsOrdersPriceTier_);
@@ -11369,26 +11685,26 @@ __decorate([
11369
11685
  __metadata("design:type", String)
11370
11686
  ], mjBizAppsOrdersProductBundleItem_.prototype, "ID", void 0);
11371
11687
  __decorate([
11372
- Field(),
11688
+ Field({ nullable: true }),
11373
11689
  MaxLength(36),
11374
11690
  __metadata("design:type", String)
11375
11691
  ], mjBizAppsOrdersProductBundleItem_.prototype, "BundleProductID", void 0);
11376
11692
  __decorate([
11377
- Field(),
11693
+ Field({ nullable: true }),
11378
11694
  MaxLength(36),
11379
11695
  __metadata("design:type", String)
11380
11696
  ], mjBizAppsOrdersProductBundleItem_.prototype, "ComponentProductID", void 0);
11381
11697
  __decorate([
11382
- Field(() => Float, { description: `Quantity of the component per one bundle.` }),
11698
+ Field(() => Float, { nullable: true, description: `Quantity of the component per one bundle.` }),
11383
11699
  __metadata("design:type", Number)
11384
11700
  ], mjBizAppsOrdersProductBundleItem_.prototype, "Quantity", void 0);
11385
11701
  __decorate([
11386
- Field({ description: `Bundled (fixed bundle price, SSP-allocated) | SumOfParts (components price individually).` }),
11702
+ Field({ nullable: true, description: `Bundled (fixed bundle price, SSP-allocated) | SumOfParts (components price individually).` }),
11387
11703
  MaxLength(20),
11388
11704
  __metadata("design:type", String)
11389
11705
  ], mjBizAppsOrdersProductBundleItem_.prototype, "PricingMode", void 0);
11390
11706
  __decorate([
11391
- Field(() => Int, { description: `Display order of components within the bundle.` }),
11707
+ Field(() => Int, { nullable: true, description: `Display order of components within the bundle.` }),
11392
11708
  __metadata("design:type", Number)
11393
11709
  ], mjBizAppsOrdersProductBundleItem_.prototype, "SortOrder", void 0);
11394
11710
  __decorate([
@@ -11400,15 +11716,19 @@ __decorate([
11400
11716
  __metadata("design:type", Date)
11401
11717
  ], mjBizAppsOrdersProductBundleItem_.prototype, "_mj__UpdatedAt", void 0);
11402
11718
  __decorate([
11403
- Field(),
11719
+ Field({ nullable: true }),
11404
11720
  MaxLength(200),
11405
11721
  __metadata("design:type", String)
11406
11722
  ], mjBizAppsOrdersProductBundleItem_.prototype, "BundleProduct", void 0);
11407
11723
  __decorate([
11408
- Field(),
11724
+ Field({ nullable: true }),
11409
11725
  MaxLength(200),
11410
11726
  __metadata("design:type", String)
11411
11727
  ], mjBizAppsOrdersProductBundleItem_.prototype, "ComponentProduct", void 0);
11728
+ __decorate([
11729
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
11730
+ __metadata("design:type", Array)
11731
+ ], mjBizAppsOrdersProductBundleItem_.prototype, "ReadableFields___", void 0);
11412
11732
  mjBizAppsOrdersProductBundleItem_ = __decorate([
11413
11733
  ObjectType({ description: `Component membership of a bundle product (BO-D32/D41): one structure powering bundle-line ordering and fast-path expansion.` })
11414
11734
  ], mjBizAppsOrdersProductBundleItem_);
@@ -11643,7 +11963,7 @@ __decorate([
11643
11963
  __metadata("design:type", String)
11644
11964
  ], mjBizAppsOrdersProductCategory_.prototype, "ID", void 0);
11645
11965
  __decorate([
11646
- Field({ description: `The company that owns this category tree (D7). No shared/global categories. FK to __mj.Company.` }),
11966
+ Field({ nullable: true, description: `The company that owns this category tree (D7). No shared/global categories. FK to __mj.Company.` }),
11647
11967
  MaxLength(36),
11648
11968
  __metadata("design:type", String)
11649
11969
  ], mjBizAppsOrdersProductCategory_.prototype, "CompanyID", void 0);
@@ -11653,7 +11973,7 @@ __decorate([
11653
11973
  __metadata("design:type", String)
11654
11974
  ], mjBizAppsOrdersProductCategory_.prototype, "Code", void 0);
11655
11975
  __decorate([
11656
- Field({ description: `Display name of the category.` }),
11976
+ Field({ nullable: true, description: `Display name of the category.` }),
11657
11977
  MaxLength(200),
11658
11978
  __metadata("design:type", String)
11659
11979
  ], mjBizAppsOrdersProductCategory_.prototype, "Name", void 0);
@@ -11667,7 +11987,7 @@ __decorate([
11667
11987
  __metadata("design:type", String)
11668
11988
  ], mjBizAppsOrdersProductCategory_.prototype, "Description", void 0);
11669
11989
  __decorate([
11670
- Field(() => Boolean, { description: `Whether this category is active and selectable.` }),
11990
+ Field(() => Boolean, { nullable: true, description: `Whether this category is active and selectable.` }),
11671
11991
  __metadata("design:type", Boolean)
11672
11992
  ], mjBizAppsOrdersProductCategory_.prototype, "IsActive", void 0);
11673
11993
  __decorate([
@@ -11708,7 +12028,7 @@ __decorate([
11708
12028
  __metadata("design:type", String)
11709
12029
  ], mjBizAppsOrdersProductCategory_.prototype, "PricingDriverClass", void 0);
11710
12030
  __decorate([
11711
- Field(),
12031
+ Field({ nullable: true }),
11712
12032
  MaxLength(50),
11713
12033
  __metadata("design:type", String)
11714
12034
  ], mjBizAppsOrdersProductCategory_.prototype, "Company", void 0);
@@ -11738,6 +12058,10 @@ __decorate([
11738
12058
  Field(() => Int, { nullable: true }),
11739
12059
  __metadata("design:type", Number)
11740
12060
  ], mjBizAppsOrdersProductCategory_.prototype, "ParentProductCategoryIDChildCount", void 0);
12061
+ __decorate([
12062
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
12063
+ __metadata("design:type", Array)
12064
+ ], mjBizAppsOrdersProductCategory_.prototype, "ReadableFields___", void 0);
11741
12065
  mjBizAppsOrdersProductCategory_ = __decorate([
11742
12066
  ObjectType({ description: `PER-COMPANY hierarchical grouping of products (D7): each company owns its own category tree; identical names across companies display-collapse in the UI. The account resolver walks the ParentProductCategoryID tree upward within the company.` })
11743
12067
  ], mjBizAppsOrdersProductCategory_);
@@ -12028,17 +12352,17 @@ __decorate([
12028
12352
  __metadata("design:type", String)
12029
12353
  ], mjBizAppsOrdersProductEntitlement_.prototype, "ID", void 0);
12030
12354
  __decorate([
12031
- Field(),
12355
+ Field({ nullable: true }),
12032
12356
  MaxLength(36),
12033
12357
  __metadata("design:type", String)
12034
12358
  ], mjBizAppsOrdersProductEntitlement_.prototype, "ProductID", void 0);
12035
12359
  __decorate([
12036
- Field({ description: `Feature | AccessLevel | ResourceQuantity | Custom.` }),
12360
+ Field({ nullable: true, description: `Feature | AccessLevel | ResourceQuantity | Custom.` }),
12037
12361
  MaxLength(40),
12038
12362
  __metadata("design:type", String)
12039
12363
  ], mjBizAppsOrdersProductEntitlement_.prototype, "EntitlementType", void 0);
12040
12364
  __decorate([
12041
- Field({ description: `Machine key consumed by downstream apps (unique per product).` }),
12365
+ Field({ nullable: true, description: `Machine key consumed by downstream apps (unique per product).` }),
12042
12366
  MaxLength(80),
12043
12367
  __metadata("design:type", String)
12044
12368
  ], mjBizAppsOrdersProductEntitlement_.prototype, "Code", void 0);
@@ -12057,7 +12381,7 @@ __decorate([
12057
12381
  __metadata("design:type", String)
12058
12382
  ], mjBizAppsOrdersProductEntitlement_.prototype, "UnitOfMeasure", void 0);
12059
12383
  __decorate([
12060
- Field(() => Boolean, { description: `Whether this entitlement is currently granted by new purchases.` }),
12384
+ Field(() => Boolean, { nullable: true, description: `Whether this entitlement is currently granted by new purchases.` }),
12061
12385
  __metadata("design:type", Boolean)
12062
12386
  ], mjBizAppsOrdersProductEntitlement_.prototype, "IsActive", void 0);
12063
12387
  __decorate([
@@ -12086,10 +12410,14 @@ __decorate([
12086
12410
  __metadata("design:type", Date)
12087
12411
  ], mjBizAppsOrdersProductEntitlement_.prototype, "_mj__UpdatedAt", void 0);
12088
12412
  __decorate([
12089
- Field(),
12413
+ Field({ nullable: true }),
12090
12414
  MaxLength(200),
12091
12415
  __metadata("design:type", String)
12092
12416
  ], mjBizAppsOrdersProductEntitlement_.prototype, "Product", void 0);
12417
+ __decorate([
12418
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
12419
+ __metadata("design:type", Array)
12420
+ ], mjBizAppsOrdersProductEntitlement_.prototype, "ReadableFields___", void 0);
12093
12421
  mjBizAppsOrdersProductEntitlement_ = __decorate([
12094
12422
  ObjectType({ description: `The DEFINITION of what purchasing a product grants (BO-D34): feature, access level, or resource quantity. EntitlementGrant is the per-purchase instance.` })
12095
12423
  ], mjBizAppsOrdersProductEntitlement_);
@@ -12382,17 +12710,17 @@ __decorate([
12382
12710
  __metadata("design:type", String)
12383
12711
  ], mjBizAppsOrdersProductPrice_.prototype, "PriceListID", void 0);
12384
12712
  __decorate([
12385
- Field({ description: `Flat | PerUnit | Tiered | Volume | Package | Usage.` }),
12713
+ Field({ nullable: true, description: `Flat | PerUnit | Tiered | Volume | Package | Usage.` }),
12386
12714
  MaxLength(20),
12387
12715
  __metadata("design:type", String)
12388
12716
  ], mjBizAppsOrdersProductPrice_.prototype, "PricingModel", void 0);
12389
12717
  __decorate([
12390
- Field({ description: `Standard | Setup | Recurring | Overage.` }),
12718
+ Field({ nullable: true, description: `Standard | Setup | Recurring | Overage.` }),
12391
12719
  MaxLength(20),
12392
12720
  __metadata("design:type", String)
12393
12721
  ], mjBizAppsOrdersProductPrice_.prototype, "FeeType", void 0);
12394
12722
  __decorate([
12395
- Field(() => Float, { description: `Base/flat amount; tier detail lives in PriceTier.` }),
12723
+ Field(() => Float, { nullable: true, description: `Base/flat amount; tier detail lives in PriceTier.` }),
12396
12724
  __metadata("design:type", Number)
12397
12725
  ], mjBizAppsOrdersProductPrice_.prototype, "Amount", void 0);
12398
12726
  __decorate([
@@ -12413,7 +12741,7 @@ __decorate([
12413
12741
  __metadata("design:type", Number)
12414
12742
  ], mjBizAppsOrdersProductPrice_.prototype, "MaxQuantity", void 0);
12415
12743
  __decorate([
12416
- Field({ description: `Price validity start.` }),
12744
+ Field({ nullable: true, description: `Price validity start.` }),
12417
12745
  __metadata("design:type", Date)
12418
12746
  ], mjBizAppsOrdersProductPrice_.prototype, "EffectiveFrom", void 0);
12419
12747
  __decorate([
@@ -12447,11 +12775,11 @@ __decorate([
12447
12775
  __metadata("design:type", Date)
12448
12776
  ], mjBizAppsOrdersProductPrice_.prototype, "TimeOfDayEnd", void 0);
12449
12777
  __decorate([
12450
- Field(() => Int, { description: `Disambiguates overlapping rules; highest wins. Two applicable rules sharing a priority are refused at write time.` }),
12778
+ Field(() => Int, { nullable: true, description: `Disambiguates overlapping rules; highest wins. Two applicable rules sharing a priority are refused at write time.` }),
12451
12779
  __metadata("design:type", Number)
12452
12780
  ], mjBizAppsOrdersProductPrice_.prototype, "Priority", void 0);
12453
12781
  __decorate([
12454
- Field({ description: `Active | Inactive. Only Active rules resolve.` }),
12782
+ Field({ nullable: true, description: `Active | Inactive. Only Active rules resolve.` }),
12455
12783
  MaxLength(10),
12456
12784
  __metadata("design:type", String)
12457
12785
  ], mjBizAppsOrdersProductPrice_.prototype, "Status", void 0);
@@ -12468,7 +12796,7 @@ __decorate([
12468
12796
  __metadata("design:type", Date)
12469
12797
  ], mjBizAppsOrdersProductPrice_.prototype, "_mj__UpdatedAt", void 0);
12470
12798
  __decorate([
12471
- Field({ description: `Staff-facing name of this price (Member, Non-member, Early bird). Unique per product or per category.` }),
12799
+ Field({ nullable: true, description: `Staff-facing name of this price (Member, Non-member, Early bird). Unique per product or per category.` }),
12472
12800
  MaxLength(100),
12473
12801
  __metadata("design:type", String)
12474
12802
  ], mjBizAppsOrdersProductPrice_.prototype, "Name", void 0);
@@ -12496,6 +12824,10 @@ __decorate([
12496
12824
  MaxLength(200),
12497
12825
  __metadata("design:type", String)
12498
12826
  ], mjBizAppsOrdersProductPrice_.prototype, "ProductCategory", void 0);
12827
+ __decorate([
12828
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
12829
+ __metadata("design:type", Array)
12830
+ ], mjBizAppsOrdersProductPrice_.prototype, "ReadableFields___", void 0);
12499
12831
  mjBizAppsOrdersProductPrice_ = __decorate([
12500
12832
  ObjectType({ description: `ONE ROW IS ONE PRICE RULE. Several rows per product and list express quantity bands, seasons, promotional windows and time-of-day rates; Priority disambiguates. The row carries both the applicability predicates and the outcome, so there is no separate rule table to keep in step. Ties on Priority are refused when WRITTEN, not resolved when read - an arbitrary winner between two applicable rules is stable in test and liable to flip in production.` })
12501
12833
  ], mjBizAppsOrdersProductPrice_);
@@ -12879,7 +13211,7 @@ __decorate([
12879
13211
  __metadata("design:type", String)
12880
13212
  ], mjBizAppsOrdersProductType_.prototype, "Code", void 0);
12881
13213
  __decorate([
12882
- Field({ description: `Display name of the product type. Unique.` }),
13214
+ Field({ nullable: true, description: `Display name of the product type. Unique.` }),
12883
13215
  MaxLength(100),
12884
13216
  __metadata("design:type", String)
12885
13217
  ], mjBizAppsOrdersProductType_.prototype, "Name", void 0);
@@ -12888,7 +13220,7 @@ __decorate([
12888
13220
  __metadata("design:type", String)
12889
13221
  ], mjBizAppsOrdersProductType_.prototype, "Description", void 0);
12890
13222
  __decorate([
12891
- Field(() => Boolean, { description: `When 1, orders containing products of this type hold at Posted until a fulfiller marks every such line Fulfilled; when no line requires fulfillment the order auto-advances to Fulfilled.` }),
13223
+ Field(() => Boolean, { nullable: true, description: `When 1, orders containing products of this type hold at Posted until a fulfiller marks every such line Fulfilled; when no line requires fulfillment the order auto-advances to Fulfilled.` }),
12892
13224
  __metadata("design:type", Boolean)
12893
13225
  ], mjBizAppsOrdersProductType_.prototype, "RequiresFulfillment", void 0);
12894
13226
  __decorate([
@@ -12897,7 +13229,7 @@ __decorate([
12897
13229
  __metadata("design:type", String)
12898
13230
  ], mjBizAppsOrdersProductType_.prototype, "DefaultRevenueRecognitionTypeID", void 0);
12899
13231
  __decorate([
12900
- Field(() => Boolean, { description: `Default taxability stamped onto new products of this type.` }),
13232
+ Field(() => Boolean, { nullable: true, description: `Default taxability stamped onto new products of this type.` }),
12901
13233
  __metadata("design:type", Boolean)
12902
13234
  ], mjBizAppsOrdersProductType_.prototype, "DefaultIsTaxable", void 0);
12903
13235
  __decorate([
@@ -12921,21 +13253,21 @@ __decorate([
12921
13253
  __metadata("design:type", String)
12922
13254
  ], mjBizAppsOrdersProductType_.prototype, "OrderLineExtensionEntity", void 0);
12923
13255
  __decorate([
12924
- Field(() => Boolean, { description: `Whether this type is active and selectable.` }),
13256
+ Field(() => Boolean, { nullable: true, description: `Whether this type is active and selectable.` }),
12925
13257
  __metadata("design:type", Boolean)
12926
13258
  ], mjBizAppsOrdersProductType_.prototype, "IsActive", void 0);
12927
13259
  __decorate([
12928
- Field(),
13260
+ Field({ nullable: true }),
12929
13261
  MaxLength(20),
12930
13262
  __metadata("design:type", String)
12931
13263
  ], mjBizAppsOrdersProductType_.prototype, "DefaultEntitlementGrantTiming", void 0);
12932
13264
  __decorate([
12933
- Field(),
13265
+ Field({ nullable: true }),
12934
13266
  MaxLength(20),
12935
13267
  __metadata("design:type", String)
12936
13268
  ], mjBizAppsOrdersProductType_.prototype, "DefaultEntitlementQuantityMode", void 0);
12937
13269
  __decorate([
12938
- Field(),
13270
+ Field({ nullable: true }),
12939
13271
  MaxLength(20),
12940
13272
  __metadata("design:type", String)
12941
13273
  ], mjBizAppsOrdersProductType_.prototype, "DefaultEntitlementValidityMode", void 0);
@@ -12966,6 +13298,10 @@ __decorate([
12966
13298
  MaxLength(200),
12967
13299
  __metadata("design:type", String)
12968
13300
  ], mjBizAppsOrdersProductType_.prototype, "DefaultSubscriptionType", void 0);
13301
+ __decorate([
13302
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
13303
+ __metadata("design:type", Array)
13304
+ ], mjBizAppsOrdersProductType_.prototype, "ReadableFields___", void 0);
12969
13305
  mjBizAppsOrdersProductType_ = __decorate([
12970
13306
  ObjectType({ description: `Classifies products (e.g. Physical Good, Service, Subscription).` })
12971
13307
  ], mjBizAppsOrdersProductType_);
@@ -13288,7 +13624,7 @@ __decorate([
13288
13624
  __metadata("design:type", String)
13289
13625
  ], mjBizAppsOrdersProduct_.prototype, "ID", void 0);
13290
13626
  __decorate([
13291
- Field({ description: `Display name of the product.` }),
13627
+ Field({ nullable: true, description: `Display name of the product.` }),
13292
13628
  MaxLength(200),
13293
13629
  __metadata("design:type", String)
13294
13630
  ], mjBizAppsOrdersProduct_.prototype, "Name", void 0);
@@ -13298,22 +13634,22 @@ __decorate([
13298
13634
  __metadata("design:type", String)
13299
13635
  ], mjBizAppsOrdersProduct_.prototype, "SKU", void 0);
13300
13636
  __decorate([
13301
- Field(),
13637
+ Field({ nullable: true }),
13302
13638
  MaxLength(36),
13303
13639
  __metadata("design:type", String)
13304
13640
  ], mjBizAppsOrdersProduct_.prototype, "ProductTypeID", void 0);
13305
13641
  __decorate([
13306
- Field(),
13642
+ Field({ nullable: true }),
13307
13643
  MaxLength(36),
13308
13644
  __metadata("design:type", String)
13309
13645
  ], mjBizAppsOrdersProduct_.prototype, "ProductCategoryID", void 0);
13310
13646
  __decorate([
13311
- Field({ description: `The company whose revenue this product accrues to — the SOURCE OF TRUTH for order-line ownership (D6). Stamped onto OrderLine.CompanyID at line save. GL routing is via accounting's GLAccountLink, anchored at this company (D5).` }),
13647
+ Field({ nullable: true, description: `The company whose revenue this product accrues to — the SOURCE OF TRUTH for order-line ownership (D6). Stamped onto OrderLine.CompanyID at line save. GL routing is via accounting's GLAccountLink, anchored at this company (D5).` }),
13312
13648
  MaxLength(36),
13313
13649
  __metadata("design:type", String)
13314
13650
  ], mjBizAppsOrdersProduct_.prototype, "CompanyID", void 0);
13315
13651
  __decorate([
13316
- Field({ description: `Draft | Active | Discontinued | EOL — catalog lifecycle. Data-only until the catalog engine gates ordering on it.` }),
13652
+ Field({ nullable: true, description: `Draft | Active | Discontinued | EOL — catalog lifecycle. Data-only until the catalog engine gates ordering on it.` }),
13317
13653
  MaxLength(20),
13318
13654
  __metadata("design:type", String)
13319
13655
  ], mjBizAppsOrdersProduct_.prototype, "Status", void 0);
@@ -13331,7 +13667,7 @@ __decorate([
13331
13667
  __metadata("design:type", Date)
13332
13668
  ], mjBizAppsOrdersProduct_.prototype, "AvailableTo", void 0);
13333
13669
  __decorate([
13334
- Field({ description: `HOW revenue for this product is earned (plan D43). Resolves to a pluggable driver via RevenueRecognitionType.DriverClass; the driver returns a schedule and the order entity turns it into forward-dated journal entries.` }),
13670
+ Field({ nullable: true, description: `HOW revenue for this product is earned (plan D43). Resolves to a pluggable driver via RevenueRecognitionType.DriverClass; the driver returns a schedule and the order entity turns it into forward-dated journal entries.` }),
13335
13671
  MaxLength(36),
13336
13672
  __metadata("design:type", String)
13337
13673
  ], mjBizAppsOrdersProduct_.prototype, "RevenueRecognitionTypeID", void 0);
@@ -13390,17 +13726,17 @@ __decorate([
13390
13726
  __metadata("design:type", Number)
13391
13727
  ], mjBizAppsOrdersProduct_.prototype, "MaxQuantityPerLine", void 0);
13392
13728
  __decorate([
13393
- Field(),
13729
+ Field({ nullable: true }),
13394
13730
  MaxLength(100),
13395
13731
  __metadata("design:type", String)
13396
13732
  ], mjBizAppsOrdersProduct_.prototype, "ProductType", void 0);
13397
13733
  __decorate([
13398
- Field(),
13734
+ Field({ nullable: true }),
13399
13735
  MaxLength(200),
13400
13736
  __metadata("design:type", String)
13401
13737
  ], mjBizAppsOrdersProduct_.prototype, "ProductCategory", void 0);
13402
13738
  __decorate([
13403
- Field(),
13739
+ Field({ nullable: true }),
13404
13740
  MaxLength(50),
13405
13741
  __metadata("design:type", String)
13406
13742
  ], mjBizAppsOrdersProduct_.prototype, "Company", void 0);
@@ -13410,7 +13746,7 @@ __decorate([
13410
13746
  __metadata("design:type", String)
13411
13747
  ], mjBizAppsOrdersProduct_.prototype, "SuccessorProduct", void 0);
13412
13748
  __decorate([
13413
- Field(),
13749
+ Field({ nullable: true }),
13414
13750
  MaxLength(200),
13415
13751
  __metadata("design:type", String)
13416
13752
  ], mjBizAppsOrdersProduct_.prototype, "RevenueRecognitionType", void 0);
@@ -13419,6 +13755,10 @@ __decorate([
13419
13755
  MaxLength(200),
13420
13756
  __metadata("design:type", String)
13421
13757
  ], mjBizAppsOrdersProduct_.prototype, "SubscriptionType", void 0);
13758
+ __decorate([
13759
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
13760
+ __metadata("design:type", Array)
13761
+ ], mjBizAppsOrdersProduct_.prototype, "ReadableFields___", void 0);
13422
13762
  mjBizAppsOrdersProduct_ = __decorate([
13423
13763
  ObjectType({ description: `A catalog item that can be ordered. GL accounts are NOT stored here — accounting\'s GLAccountLink points at Product rows (role-mapped, date-effective).` })
13424
13764
  ], mjBizAppsOrdersProduct_);
@@ -13773,12 +14113,12 @@ __decorate([
13773
14113
  __metadata("design:type", String)
13774
14114
  ], mjBizAppsOrdersPromotionCode_.prototype, "ID", void 0);
13775
14115
  __decorate([
13776
- Field(),
14116
+ Field({ nullable: true }),
13777
14117
  MaxLength(36),
13778
14118
  __metadata("design:type", String)
13779
14119
  ], mjBizAppsOrdersPromotionCode_.prototype, "PromotionID", void 0);
13780
14120
  __decorate([
13781
- Field(),
14121
+ Field({ nullable: true }),
13782
14122
  MaxLength(60),
13783
14123
  __metadata("design:type", String)
13784
14124
  ], mjBizAppsOrdersPromotionCode_.prototype, "Code", void 0);
@@ -13805,7 +14145,7 @@ __decorate([
13805
14145
  __metadata("design:type", Date)
13806
14146
  ], mjBizAppsOrdersPromotionCode_.prototype, "EffectiveTo", void 0);
13807
14147
  __decorate([
13808
- Field(),
14148
+ Field({ nullable: true }),
13809
14149
  MaxLength(10),
13810
14150
  __metadata("design:type", String)
13811
14151
  ], mjBizAppsOrdersPromotionCode_.prototype, "Status", void 0);
@@ -13818,7 +14158,7 @@ __decorate([
13818
14158
  __metadata("design:type", Date)
13819
14159
  ], mjBizAppsOrdersPromotionCode_.prototype, "_mj__UpdatedAt", void 0);
13820
14160
  __decorate([
13821
- Field(),
14161
+ Field({ nullable: true }),
13822
14162
  MaxLength(200),
13823
14163
  __metadata("design:type", String)
13824
14164
  ], mjBizAppsOrdersPromotionCode_.prototype, "Promotion", void 0);
@@ -13832,6 +14172,10 @@ __decorate([
13832
14172
  MaxLength(201),
13833
14173
  __metadata("design:type", String)
13834
14174
  ], mjBizAppsOrdersPromotionCode_.prototype, "AssignedPerson", void 0);
14175
+ __decorate([
14176
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
14177
+ __metadata("design:type", Array)
14178
+ ], mjBizAppsOrdersPromotionCode_.prototype, "ReadableFields___", void 0);
13835
14179
  mjBizAppsOrdersPromotionCode_ = __decorate([
13836
14180
  ObjectType({ description: `A redeemable string pointing at a Promotion. Deliberately carries NO redemption counter: a stored count drifts the first time anything is voided, so redemptions are counted from OrderAdjustment - the record of what actually happened.` })
13837
14181
  ], mjBizAppsOrdersPromotionCode_);
@@ -14090,7 +14434,7 @@ __decorate([
14090
14434
  __metadata("design:type", String)
14091
14435
  ], mjBizAppsOrdersPromotionTarget_.prototype, "ID", void 0);
14092
14436
  __decorate([
14093
- Field(),
14437
+ Field({ nullable: true }),
14094
14438
  MaxLength(36),
14095
14439
  __metadata("design:type", String)
14096
14440
  ], mjBizAppsOrdersPromotionTarget_.prototype, "PromotionID", void 0);
@@ -14105,7 +14449,7 @@ __decorate([
14105
14449
  __metadata("design:type", String)
14106
14450
  ], mjBizAppsOrdersPromotionTarget_.prototype, "ProductCategoryID", void 0);
14107
14451
  __decorate([
14108
- Field(() => Boolean, { description: `For a category target, whether child categories are included.` }),
14452
+ Field(() => Boolean, { nullable: true, description: `For a category target, whether child categories are included.` }),
14109
14453
  __metadata("design:type", Boolean)
14110
14454
  ], mjBizAppsOrdersPromotionTarget_.prototype, "IncludeDescendants", void 0);
14111
14455
  __decorate([
@@ -14117,7 +14461,7 @@ __decorate([
14117
14461
  __metadata("design:type", Date)
14118
14462
  ], mjBizAppsOrdersPromotionTarget_.prototype, "_mj__UpdatedAt", void 0);
14119
14463
  __decorate([
14120
- Field(),
14464
+ Field({ nullable: true }),
14121
14465
  MaxLength(200),
14122
14466
  __metadata("design:type", String)
14123
14467
  ], mjBizAppsOrdersPromotionTarget_.prototype, "Promotion", void 0);
@@ -14131,6 +14475,10 @@ __decorate([
14131
14475
  MaxLength(200),
14132
14476
  __metadata("design:type", String)
14133
14477
  ], mjBizAppsOrdersPromotionTarget_.prototype, "ProductCategory", void 0);
14478
+ __decorate([
14479
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
14480
+ __metadata("design:type", Array)
14481
+ ], mjBizAppsOrdersPromotionTarget_.prototype, "ReadableFields___", void 0);
14134
14482
  mjBizAppsOrdersPromotionTarget_ = __decorate([
14135
14483
  ObjectType({ description: `What a promotion applies to. NO ROWS MEANS IT APPLIES TO EVERYTHING - absence as \'global\' avoids a Scope enum whose values would have to stay in sync with which columns are populated, two facts that drift apart.` })
14136
14484
  ], mjBizAppsOrdersPromotionTarget_);
@@ -14357,12 +14705,12 @@ __decorate([
14357
14705
  __metadata("design:type", String)
14358
14706
  ], mjBizAppsOrdersPromotionType_.prototype, "ID", void 0);
14359
14707
  __decorate([
14360
- Field(),
14708
+ Field({ nullable: true }),
14361
14709
  MaxLength(40),
14362
14710
  __metadata("design:type", String)
14363
14711
  ], mjBizAppsOrdersPromotionType_.prototype, "Code", void 0);
14364
14712
  __decorate([
14365
- Field(),
14713
+ Field({ nullable: true }),
14366
14714
  MaxLength(200),
14367
14715
  __metadata("design:type", String)
14368
14716
  ], mjBizAppsOrdersPromotionType_.prototype, "Name", void 0);
@@ -14371,11 +14719,11 @@ __decorate([
14371
14719
  __metadata("design:type", String)
14372
14720
  ], mjBizAppsOrdersPromotionType_.prototype, "Description", void 0);
14373
14721
  __decorate([
14374
- Field(() => Int),
14722
+ Field(() => Int, { nullable: true }),
14375
14723
  __metadata("design:type", Number)
14376
14724
  ], mjBizAppsOrdersPromotionType_.prototype, "Sequence", void 0);
14377
14725
  __decorate([
14378
- Field(() => Boolean),
14726
+ Field(() => Boolean, { nullable: true }),
14379
14727
  __metadata("design:type", Boolean)
14380
14728
  ], mjBizAppsOrdersPromotionType_.prototype, "IsActive", void 0);
14381
14729
  __decorate([
@@ -14386,6 +14734,10 @@ __decorate([
14386
14734
  Field(),
14387
14735
  __metadata("design:type", Date)
14388
14736
  ], mjBizAppsOrdersPromotionType_.prototype, "_mj__UpdatedAt", void 0);
14737
+ __decorate([
14738
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
14739
+ __metadata("design:type", Array)
14740
+ ], mjBizAppsOrdersPromotionType_.prototype, "ReadableFields___", void 0);
14389
14741
  mjBizAppsOrdersPromotionType_ = __decorate([
14390
14742
  ObjectType({ description: `The discount shape a promotion takes: percent off, amount off, override price, free shipping. A lookup rather than a CHECK so types are additive at runtime, and so Code can key a ClassFactory registration for custom behaviour.` })
14391
14743
  ], mjBizAppsOrdersPromotionType_);
@@ -14620,12 +14972,12 @@ __decorate([
14620
14972
  __metadata("design:type", String)
14621
14973
  ], mjBizAppsOrdersPromotion_.prototype, "ID", void 0);
14622
14974
  __decorate([
14623
- Field({ description: `Internal handle for this offer. NOT the redeemable code - those live on PromotionCode.` }),
14975
+ Field({ nullable: true, description: `Internal handle for this offer. NOT the redeemable code - those live on PromotionCode.` }),
14624
14976
  MaxLength(40),
14625
14977
  __metadata("design:type", String)
14626
14978
  ], mjBizAppsOrdersPromotion_.prototype, "Code", void 0);
14627
14979
  __decorate([
14628
- Field(),
14980
+ Field({ nullable: true }),
14629
14981
  MaxLength(200),
14630
14982
  __metadata("design:type", String)
14631
14983
  ], mjBizAppsOrdersPromotion_.prototype, "Name", void 0);
@@ -14634,7 +14986,7 @@ __decorate([
14634
14986
  __metadata("design:type", String)
14635
14987
  ], mjBizAppsOrdersPromotion_.prototype, "Description", void 0);
14636
14988
  __decorate([
14637
- Field(),
14989
+ Field({ nullable: true }),
14638
14990
  MaxLength(36),
14639
14991
  __metadata("design:type", String)
14640
14992
  ], mjBizAppsOrdersPromotion_.prototype, "PromotionTypeID", void 0);
@@ -14644,20 +14996,20 @@ __decorate([
14644
14996
  __metadata("design:type", String)
14645
14997
  ], mjBizAppsOrdersPromotion_.prototype, "CompanyID", void 0);
14646
14998
  __decorate([
14647
- Field(() => Float, { description: `Magnitude, interpreted by the type: 0.10 for ten percent off, or a currency amount.` }),
14999
+ Field(() => Float, { nullable: true, description: `Magnitude, interpreted by the type: 0.10 for ten percent off, or a currency amount.` }),
14648
15000
  __metadata("design:type", Number)
14649
15001
  ], mjBizAppsOrdersPromotion_.prototype, "Value", void 0);
14650
15002
  __decorate([
14651
- Field({ description: `Line | Order | Either. An order-level promotion is always allocated down to lines, because tax and GL are per line.` }),
15003
+ Field({ nullable: true, description: `Line | Order | Either. An order-level promotion is always allocated down to lines, because tax and GL are per line.` }),
14652
15004
  MaxLength(10),
14653
15005
  __metadata("design:type", String)
14654
15006
  ], mjBizAppsOrdersPromotion_.prototype, "AppliesAt", void 0);
14655
15007
  __decorate([
14656
- Field(() => Boolean, { description: `Whether this may combine with others. Defaults OFF - a promotion must opt in. When two non-stacking promotions collide the HIGHER VALUE wins, and the loser is recorded as offered-not-applied so 'why didn''t my code work?' has an answer.` }),
15008
+ Field(() => Boolean, { nullable: true, description: `Whether this may combine with others. Defaults OFF - a promotion must opt in. When two non-stacking promotions collide the HIGHER VALUE wins, and the loser is recorded as offered-not-applied so 'why didn''t my code work?' has an answer.` }),
14657
15009
  __metadata("design:type", Boolean)
14658
15010
  ], mjBizAppsOrdersPromotion_.prototype, "AllowsStacking", void 0);
14659
15011
  __decorate([
14660
- Field(() => Int, { description: `Order of application when several stack.` }),
15012
+ Field(() => Int, { nullable: true, description: `Order of application when several stack.` }),
14661
15013
  __metadata("design:type", Number)
14662
15014
  ], mjBizAppsOrdersPromotion_.prototype, "StackSequence", void 0);
14663
15015
  __decorate([
@@ -14708,7 +15060,7 @@ __decorate([
14708
15060
  __metadata("design:type", String)
14709
15061
  ], mjBizAppsOrdersPromotion_.prototype, "QualifierKey", void 0);
14710
15062
  __decorate([
14711
- Field({ description: `Draft | Active | Paused | Expired. Only Active promotions resolve.` }),
15063
+ Field({ nullable: true, description: `Draft | Active | Paused | Expired. Only Active promotions resolve.` }),
14712
15064
  MaxLength(10),
14713
15065
  __metadata("design:type", String)
14714
15066
  ], mjBizAppsOrdersPromotion_.prototype, "Status", void 0);
@@ -14721,7 +15073,7 @@ __decorate([
14721
15073
  __metadata("design:type", Date)
14722
15074
  ], mjBizAppsOrdersPromotion_.prototype, "_mj__UpdatedAt", void 0);
14723
15075
  __decorate([
14724
- Field(),
15076
+ Field({ nullable: true }),
14725
15077
  MaxLength(200),
14726
15078
  __metadata("design:type", String)
14727
15079
  ], mjBizAppsOrdersPromotion_.prototype, "PromotionType", void 0);
@@ -14730,6 +15082,10 @@ __decorate([
14730
15082
  MaxLength(50),
14731
15083
  __metadata("design:type", String)
14732
15084
  ], mjBizAppsOrdersPromotion_.prototype, "Company", void 0);
15085
+ __decorate([
15086
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
15087
+ __metadata("design:type", Array)
15088
+ ], mjBizAppsOrdersPromotion_.prototype, "ReadableFields___", void 0);
14733
15089
  mjBizAppsOrdersPromotion_ = __decorate([
14734
15090
  ObjectType({ description: `A promotional OFFER and its rules. Distinct from PromotionCode, which is a redeemable string pointing here - one promotion can have many codes (public, per-campaign, per-customer) without duplicating the offer. Follows Stripe\'s Coupon / Promotion Code split, which is the launch provider, so the mapping is one-to-one.` })
14735
15091
  ], mjBizAppsOrdersPromotion_);
@@ -15092,12 +15448,12 @@ __decorate([
15092
15448
  __metadata("design:type", String)
15093
15449
  ], mjBizAppsOrdersRevenueRecognitionType_.prototype, "ID", void 0);
15094
15450
  __decorate([
15095
- Field(),
15451
+ Field({ nullable: true }),
15096
15452
  MaxLength(40),
15097
15453
  __metadata("design:type", String)
15098
15454
  ], mjBizAppsOrdersRevenueRecognitionType_.prototype, "Code", void 0);
15099
15455
  __decorate([
15100
- Field(),
15456
+ Field({ nullable: true }),
15101
15457
  MaxLength(200),
15102
15458
  __metadata("design:type", String)
15103
15459
  ], mjBizAppsOrdersRevenueRecognitionType_.prototype, "Name", void 0);
@@ -15106,24 +15462,24 @@ __decorate([
15106
15462
  __metadata("design:type", String)
15107
15463
  ], mjBizAppsOrdersRevenueRecognitionType_.prototype, "Description", void 0);
15108
15464
  __decorate([
15109
- Field(),
15465
+ Field({ nullable: true }),
15110
15466
  MaxLength(200),
15111
15467
  __metadata("design:type", String)
15112
15468
  ], mjBizAppsOrdersRevenueRecognitionType_.prototype, "DriverClass", void 0);
15113
15469
  __decorate([
15114
- Field(() => Boolean),
15470
+ Field(() => Boolean, { nullable: true }),
15115
15471
  __metadata("design:type", Boolean)
15116
15472
  ], mjBizAppsOrdersRevenueRecognitionType_.prototype, "IsDeferred", void 0);
15117
15473
  __decorate([
15118
- Field(() => Boolean),
15474
+ Field(() => Boolean, { nullable: true }),
15119
15475
  __metadata("design:type", Boolean)
15120
15476
  ], mjBizAppsOrdersRevenueRecognitionType_.prototype, "RequiresServicePeriod", void 0);
15121
15477
  __decorate([
15122
- Field(() => Int),
15478
+ Field(() => Int, { nullable: true }),
15123
15479
  __metadata("design:type", Number)
15124
15480
  ], mjBizAppsOrdersRevenueRecognitionType_.prototype, "Sequence", void 0);
15125
15481
  __decorate([
15126
- Field(() => Boolean),
15482
+ Field(() => Boolean, { nullable: true }),
15127
15483
  __metadata("design:type", Boolean)
15128
15484
  ], mjBizAppsOrdersRevenueRecognitionType_.prototype, "IsActive", void 0);
15129
15485
  __decorate([
@@ -15134,6 +15490,10 @@ __decorate([
15134
15490
  Field(),
15135
15491
  __metadata("design:type", Date)
15136
15492
  ], mjBizAppsOrdersRevenueRecognitionType_.prototype, "_mj__UpdatedAt", void 0);
15493
+ __decorate([
15494
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
15495
+ __metadata("design:type", Array)
15496
+ ], mjBizAppsOrdersRevenueRecognitionType_.prototype, "ReadableFields___", void 0);
15137
15497
  mjBizAppsOrdersRevenueRecognitionType_ = __decorate([
15138
15498
  ObjectType()
15139
15499
  ], mjBizAppsOrdersRevenueRecognitionType_);
@@ -15392,7 +15752,7 @@ __decorate([
15392
15752
  __metadata("design:type", String)
15393
15753
  ], mjBizAppsOrdersSalesAuthority_.prototype, "ID", void 0);
15394
15754
  __decorate([
15395
- Field(),
15755
+ Field({ nullable: true }),
15396
15756
  MaxLength(36),
15397
15757
  __metadata("design:type", String)
15398
15758
  ], mjBizAppsOrdersSalesAuthority_.prototype, "SalesRepUserID", void 0);
@@ -15413,7 +15773,7 @@ __decorate([
15413
15773
  __metadata("design:type", String)
15414
15774
  ], mjBizAppsOrdersSalesAuthority_.prototype, "AllowedProductCategoryIDs", void 0);
15415
15775
  __decorate([
15416
- Field(() => Boolean, { description: `Whether this authority row is in force.` }),
15776
+ Field(() => Boolean, { nullable: true, description: `Whether this authority row is in force.` }),
15417
15777
  __metadata("design:type", Boolean)
15418
15778
  ], mjBizAppsOrdersSalesAuthority_.prototype, "IsActive", void 0);
15419
15779
  __decorate([
@@ -15425,10 +15785,14 @@ __decorate([
15425
15785
  __metadata("design:type", Date)
15426
15786
  ], mjBizAppsOrdersSalesAuthority_.prototype, "_mj__UpdatedAt", void 0);
15427
15787
  __decorate([
15428
- Field(),
15788
+ Field({ nullable: true }),
15429
15789
  MaxLength(100),
15430
15790
  __metadata("design:type", String)
15431
15791
  ], mjBizAppsOrdersSalesAuthority_.prototype, "SalesRepUser", void 0);
15792
+ __decorate([
15793
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
15794
+ __metadata("design:type", Array)
15795
+ ], mjBizAppsOrdersSalesAuthority_.prototype, "ReadableFields___", void 0);
15432
15796
  mjBizAppsOrdersSalesAuthority_ = __decorate([
15433
15797
  ObjectType({ description: `Per-rep authority limits (§4.8): the caps within which a sales rep confirms without approval.` })
15434
15798
  ], mjBizAppsOrdersSalesAuthority_);
@@ -15671,17 +16035,17 @@ __decorate([
15671
16035
  __metadata("design:type", String)
15672
16036
  ], mjBizAppsOrdersSalesRule_.prototype, "ID", void 0);
15673
16037
  __decorate([
15674
- Field({ description: `Display name of the rule.` }),
16038
+ Field({ nullable: true, description: `Display name of the rule.` }),
15675
16039
  MaxLength(200),
15676
16040
  __metadata("design:type", String)
15677
16041
  ], mjBizAppsOrdersSalesRule_.prototype, "Name", void 0);
15678
16042
  __decorate([
15679
- Field({ description: `DiscountLimit | PaymentTermsRequired | ProductAuthorization | CreditLimit | Custom.` }),
16043
+ Field({ nullable: true, description: `DiscountLimit | PaymentTermsRequired | ProductAuthorization | CreditLimit | Custom.` }),
15680
16044
  MaxLength(40),
15681
16045
  __metadata("design:type", String)
15682
16046
  ], mjBizAppsOrdersSalesRule_.prototype, "RuleType", void 0);
15683
16047
  __decorate([
15684
- Field({ description: `Global | PerProduct | PerCustomer | PerSalesRep — what ScopeReferenceID points at.` }),
16048
+ Field({ nullable: true, description: `Global | PerProduct | PerCustomer | PerSalesRep — what ScopeReferenceID points at.` }),
15685
16049
  MaxLength(40),
15686
16050
  __metadata("design:type", String)
15687
16051
  ], mjBizAppsOrdersSalesRule_.prototype, "Scope", void 0);
@@ -15700,7 +16064,7 @@ __decorate([
15700
16064
  __metadata("design:type", String)
15701
16065
  ], mjBizAppsOrdersSalesRule_.prototype, "ApprovalRequiredRoleID", void 0);
15702
16066
  __decorate([
15703
- Field(() => Boolean, { description: `Whether this rule participates in Confirm evaluation.` }),
16067
+ Field(() => Boolean, { nullable: true, description: `Whether this rule participates in Confirm evaluation.` }),
15704
16068
  __metadata("design:type", Boolean)
15705
16069
  ], mjBizAppsOrdersSalesRule_.prototype, "IsActive", void 0);
15706
16070
  __decorate([
@@ -15716,6 +16080,10 @@ __decorate([
15716
16080
  MaxLength(50),
15717
16081
  __metadata("design:type", String)
15718
16082
  ], mjBizAppsOrdersSalesRule_.prototype, "ApprovalRequiredRole", void 0);
16083
+ __decorate([
16084
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
16085
+ __metadata("design:type", Array)
16086
+ ], mjBizAppsOrdersSalesRule_.prototype, "ReadableFields___", void 0);
15719
16087
  mjBizAppsOrdersSalesRule_ = __decorate([
15720
16088
  ObjectType({ description: `Metadata-driven sales constraint evaluated at Confirm (BO-D17/D18). Violations raise an Approval Request Task routed to ApprovalRequiredRoleID; golden path confirms instantly.` })
15721
16089
  ], mjBizAppsOrdersSalesRule_);
@@ -15966,25 +16334,25 @@ __decorate([
15966
16334
  __metadata("design:type", String)
15967
16335
  ], mjBizAppsOrdersStoredValueAccount_.prototype, "ID", void 0);
15968
16336
  __decorate([
15969
- Field({ description: `The gift-card number / instrument code. Unique.` }),
16337
+ Field({ nullable: true, description: `The gift-card number / instrument code. Unique.` }),
15970
16338
  MaxLength(60),
15971
16339
  __metadata("design:type", String)
15972
16340
  ], mjBizAppsOrdersStoredValueAccount_.prototype, "Code", void 0);
15973
16341
  __decorate([
15974
- Field(),
16342
+ Field({ nullable: true }),
15975
16343
  MaxLength(36),
15976
16344
  __metadata("design:type", String)
15977
16345
  ], mjBizAppsOrdersStoredValueAccount_.prototype, "IssuingCompanyID", void 0);
15978
16346
  __decorate([
15979
- Field(() => Float, { description: `Face value at issuance.` }),
16347
+ Field(() => Float, { nullable: true, description: `Face value at issuance.` }),
15980
16348
  __metadata("design:type", Number)
15981
16349
  ], mjBizAppsOrdersStoredValueAccount_.prototype, "InitialAmount", void 0);
15982
16350
  __decorate([
15983
- Field(() => Float, { description: `Current remaining balance (ledger-maintained via StoredValueTransaction).` }),
16351
+ Field(() => Float, { nullable: true, description: `Current remaining balance (ledger-maintained via StoredValueTransaction).` }),
15984
16352
  __metadata("design:type", Number)
15985
16353
  ], mjBizAppsOrdersStoredValueAccount_.prototype, "CurrentBalance", void 0);
15986
16354
  __decorate([
15987
- Field({ description: `Active | Depleted | Expired | Suspended | Voided.` }),
16355
+ Field({ nullable: true, description: `Active | Depleted | Expired | Suspended | Voided.` }),
15988
16356
  MaxLength(20),
15989
16357
  __metadata("design:type", String)
15990
16358
  ], mjBizAppsOrdersStoredValueAccount_.prototype, "Status", void 0);
@@ -16016,7 +16384,7 @@ __decorate([
16016
16384
  __metadata("design:type", Date)
16017
16385
  ], mjBizAppsOrdersStoredValueAccount_.prototype, "_mj__UpdatedAt", void 0);
16018
16386
  __decorate([
16019
- Field(),
16387
+ Field({ nullable: true }),
16020
16388
  MaxLength(50),
16021
16389
  __metadata("design:type", String)
16022
16390
  ], mjBizAppsOrdersStoredValueAccount_.prototype, "IssuingCompany", void 0);
@@ -16030,6 +16398,10 @@ __decorate([
16030
16398
  MaxLength(255),
16031
16399
  __metadata("design:type", String)
16032
16400
  ], mjBizAppsOrdersStoredValueAccount_.prototype, "BeneficiaryOrganization", void 0);
16401
+ __decorate([
16402
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
16403
+ __metadata("design:type", Array)
16404
+ ], mjBizAppsOrdersStoredValueAccount_.prototype, "ReadableFields___", void 0);
16033
16405
  mjBizAppsOrdersStoredValueAccount_ = __decorate([
16034
16406
  ObjectType({ description: `Gift-card / stored-value instrument (BO-D44). Selling one books a LIABILITY (not revenue); redemption is a Payment with Method=GiftCard relieving the liability.` })
16035
16407
  ], mjBizAppsOrdersStoredValueAccount_);
@@ -16296,21 +16668,21 @@ __decorate([
16296
16668
  __metadata("design:type", String)
16297
16669
  ], mjBizAppsOrdersStoredValueTransaction_.prototype, "ID", void 0);
16298
16670
  __decorate([
16299
- Field(),
16671
+ Field({ nullable: true }),
16300
16672
  MaxLength(36),
16301
16673
  __metadata("design:type", String)
16302
16674
  ], mjBizAppsOrdersStoredValueTransaction_.prototype, "StoredValueAccountID", void 0);
16303
16675
  __decorate([
16304
- Field({ description: `Issue | Redeem | Refund | Adjust | Expire.` }),
16676
+ Field({ nullable: true, description: `Issue | Redeem | Refund | Adjust | Expire.` }),
16305
16677
  MaxLength(20),
16306
16678
  __metadata("design:type", String)
16307
16679
  ], mjBizAppsOrdersStoredValueTransaction_.prototype, "TransactionType", void 0);
16308
16680
  __decorate([
16309
- Field(() => Float, { description: `Signed amount (+issue/refund, -redeem/expire).` }),
16681
+ Field(() => Float, { nullable: true, description: `Signed amount (+issue/refund, -redeem/expire).` }),
16310
16682
  __metadata("design:type", Number)
16311
16683
  ], mjBizAppsOrdersStoredValueTransaction_.prototype, "Amount", void 0);
16312
16684
  __decorate([
16313
- Field(() => Float, { description: `Account balance after applying this transaction.` }),
16685
+ Field(() => Float, { nullable: true, description: `Account balance after applying this transaction.` }),
16314
16686
  __metadata("design:type", Number)
16315
16687
  ], mjBizAppsOrdersStoredValueTransaction_.prototype, "BalanceAfter", void 0);
16316
16688
  __decorate([
@@ -16324,7 +16696,7 @@ __decorate([
16324
16696
  __metadata("design:type", String)
16325
16697
  ], mjBizAppsOrdersStoredValueTransaction_.prototype, "RelatedOrderHeaderID", void 0);
16326
16698
  __decorate([
16327
- Field({ description: `UTC timestamp of the transaction.` }),
16699
+ Field({ nullable: true, description: `UTC timestamp of the transaction.` }),
16328
16700
  __metadata("design:type", Date)
16329
16701
  ], mjBizAppsOrdersStoredValueTransaction_.prototype, "OccurredAt", void 0);
16330
16702
  __decorate([
@@ -16336,7 +16708,7 @@ __decorate([
16336
16708
  __metadata("design:type", Date)
16337
16709
  ], mjBizAppsOrdersStoredValueTransaction_.prototype, "_mj__UpdatedAt", void 0);
16338
16710
  __decorate([
16339
- Field(),
16711
+ Field({ nullable: true }),
16340
16712
  MaxLength(60),
16341
16713
  __metadata("design:type", String)
16342
16714
  ], mjBizAppsOrdersStoredValueTransaction_.prototype, "StoredValueAccount", void 0);
@@ -16350,6 +16722,10 @@ __decorate([
16350
16722
  MaxLength(40),
16351
16723
  __metadata("design:type", String)
16352
16724
  ], mjBizAppsOrdersStoredValueTransaction_.prototype, "RelatedOrderHeader", void 0);
16725
+ __decorate([
16726
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
16727
+ __metadata("design:type", Array)
16728
+ ], mjBizAppsOrdersStoredValueTransaction_.prototype, "ReadableFields___", void 0);
16353
16729
  mjBizAppsOrdersStoredValueTransaction_ = __decorate([
16354
16730
  ObjectType({ description: `Stored-value balance ledger (BO-D44): every issue/redeem/refund/adjust/expire with the running balance.` })
16355
16731
  ], mjBizAppsOrdersStoredValueTransaction_);
@@ -16600,17 +16976,17 @@ __decorate([
16600
16976
  __metadata("design:type", String)
16601
16977
  ], mjBizAppsOrdersSubscriptionEvent_.prototype, "ID", void 0);
16602
16978
  __decorate([
16603
- Field(),
16979
+ Field({ nullable: true }),
16604
16980
  MaxLength(36),
16605
16981
  __metadata("design:type", String)
16606
16982
  ], mjBizAppsOrdersSubscriptionEvent_.prototype, "SubscriptionID", void 0);
16607
16983
  __decorate([
16608
- Field({ description: `The lifecycle event kind (Created ... RenewalOrderSpawned).` }),
16984
+ Field({ nullable: true, description: `The lifecycle event kind (Created ... RenewalOrderSpawned).` }),
16609
16985
  MaxLength(40),
16610
16986
  __metadata("design:type", String)
16611
16987
  ], mjBizAppsOrdersSubscriptionEvent_.prototype, "EventType", void 0);
16612
16988
  __decorate([
16613
- Field({ description: `UTC timestamp the event occurred.` }),
16989
+ Field({ nullable: true, description: `UTC timestamp the event occurred.` }),
16614
16990
  __metadata("design:type", Date)
16615
16991
  ], mjBizAppsOrdersSubscriptionEvent_.prototype, "OccurredAt", void 0);
16616
16992
  __decorate([
@@ -16641,7 +17017,7 @@ __decorate([
16641
17017
  __metadata("design:type", Date)
16642
17018
  ], mjBizAppsOrdersSubscriptionEvent_.prototype, "_mj__UpdatedAt", void 0);
16643
17019
  __decorate([
16644
- Field(),
17020
+ Field({ nullable: true }),
16645
17021
  MaxLength(40),
16646
17022
  __metadata("design:type", String)
16647
17023
  ], mjBizAppsOrdersSubscriptionEvent_.prototype, "Subscription", void 0);
@@ -16655,6 +17031,10 @@ __decorate([
16655
17031
  MaxLength(40),
16656
17032
  __metadata("design:type", String)
16657
17033
  ], mjBizAppsOrdersSubscriptionEvent_.prototype, "RelatedOrderHeader", void 0);
17034
+ __decorate([
17035
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
17036
+ __metadata("design:type", Array)
17037
+ ], mjBizAppsOrdersSubscriptionEvent_.prototype, "ReadableFields___", void 0);
16658
17038
  mjBizAppsOrdersSubscriptionEvent_ = __decorate([
16659
17039
  ObjectType({ description: `Immutable subscription lifecycle log (§4.4). One row per event; EventData carries the JSON payload.` })
16660
17040
  ], mjBizAppsOrdersSubscriptionEvent_);
@@ -16904,7 +17284,7 @@ __decorate([
16904
17284
  __metadata("design:type", Number)
16905
17285
  ], mjBizAppsOrdersSubscriptionSequence_.prototype, "ID", void 0);
16906
17286
  __decorate([
16907
- Field(() => Int, { description: `The next subscription sequence number to assign.` }),
17287
+ Field(() => Int, { nullable: true, description: `The next subscription sequence number to assign.` }),
16908
17288
  __metadata("design:type", Number)
16909
17289
  ], mjBizAppsOrdersSubscriptionSequence_.prototype, "NextSequenceNumber", void 0);
16910
17290
  __decorate([
@@ -16915,6 +17295,10 @@ __decorate([
16915
17295
  Field(),
16916
17296
  __metadata("design:type", Date)
16917
17297
  ], mjBizAppsOrdersSubscriptionSequence_.prototype, "_mj__UpdatedAt", void 0);
17298
+ __decorate([
17299
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
17300
+ __metadata("design:type", Array)
17301
+ ], mjBizAppsOrdersSubscriptionSequence_.prototype, "ReadableFields___", void 0);
16918
17302
  mjBizAppsOrdersSubscriptionSequence_ = __decorate([
16919
17303
  ObjectType({ description: `Global singleton counter (ID=1) minting gap-conscious SUB-{seq} subscription numbers. Consumed only by the entity server.` })
16920
17304
  ], mjBizAppsOrdersSubscriptionSequence_);
@@ -17117,33 +17501,33 @@ __decorate([
17117
17501
  __metadata("design:type", String)
17118
17502
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "ID", void 0);
17119
17503
  __decorate([
17120
- Field(),
17504
+ Field({ nullable: true }),
17121
17505
  MaxLength(36),
17122
17506
  __metadata("design:type", String)
17123
17507
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "SubscriptionID", void 0);
17124
17508
  __decorate([
17125
- Field(() => Int),
17509
+ Field(() => Int, { nullable: true }),
17126
17510
  __metadata("design:type", Number)
17127
17511
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "TermNumber", void 0);
17128
17512
  __decorate([
17129
- Field(),
17513
+ Field({ nullable: true }),
17130
17514
  MaxLength(36),
17131
17515
  __metadata("design:type", String)
17132
17516
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "OrderLineID", void 0);
17133
17517
  __decorate([
17134
- Field(),
17518
+ Field({ nullable: true }),
17135
17519
  __metadata("design:type", Date)
17136
17520
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "StartDate", void 0);
17137
17521
  __decorate([
17138
- Field(),
17522
+ Field({ nullable: true }),
17139
17523
  __metadata("design:type", Date)
17140
17524
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "EndDate", void 0);
17141
17525
  __decorate([
17142
- Field(() => Float),
17526
+ Field(() => Float, { nullable: true }),
17143
17527
  __metadata("design:type", Number)
17144
17528
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "Amount", void 0);
17145
17529
  __decorate([
17146
- Field(() => Boolean),
17530
+ Field(() => Boolean, { nullable: true }),
17147
17531
  __metadata("design:type", Boolean)
17148
17532
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "IsProrated", void 0);
17149
17533
  __decorate([
@@ -17151,12 +17535,12 @@ __decorate([
17151
17535
  __metadata("design:type", Number)
17152
17536
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "ProrationFactor", void 0);
17153
17537
  __decorate([
17154
- Field(),
17538
+ Field({ nullable: true }),
17155
17539
  MaxLength(36),
17156
17540
  __metadata("design:type", String)
17157
17541
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "RevenueRecognitionTypeID", void 0);
17158
17542
  __decorate([
17159
- Field(),
17543
+ Field({ nullable: true }),
17160
17544
  MaxLength(20),
17161
17545
  __metadata("design:type", String)
17162
17546
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "Status", void 0);
@@ -17177,15 +17561,19 @@ __decorate([
17177
17561
  __metadata("design:type", Date)
17178
17562
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "_mj__UpdatedAt", void 0);
17179
17563
  __decorate([
17180
- Field(),
17564
+ Field({ nullable: true }),
17181
17565
  MaxLength(40),
17182
17566
  __metadata("design:type", String)
17183
17567
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "Subscription", void 0);
17184
17568
  __decorate([
17185
- Field(),
17569
+ Field({ nullable: true }),
17186
17570
  MaxLength(200),
17187
17571
  __metadata("design:type", String)
17188
17572
  ], mjBizAppsOrdersSubscriptionTerm_.prototype, "RevenueRecognitionType", void 0);
17573
+ __decorate([
17574
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
17575
+ __metadata("design:type", Array)
17576
+ ], mjBizAppsOrdersSubscriptionTerm_.prototype, "ReadableFields___", void 0);
17189
17577
  mjBizAppsOrdersSubscriptionTerm_ = __decorate([
17190
17578
  ObjectType()
17191
17579
  ], mjBizAppsOrdersSubscriptionTerm_);
@@ -17476,12 +17864,12 @@ __decorate([
17476
17864
  __metadata("design:type", String)
17477
17865
  ], mjBizAppsOrdersSubscriptionType_.prototype, "ID", void 0);
17478
17866
  __decorate([
17479
- Field(),
17867
+ Field({ nullable: true }),
17480
17868
  MaxLength(40),
17481
17869
  __metadata("design:type", String)
17482
17870
  ], mjBizAppsOrdersSubscriptionType_.prototype, "Code", void 0);
17483
17871
  __decorate([
17484
- Field(),
17872
+ Field({ nullable: true }),
17485
17873
  MaxLength(200),
17486
17874
  __metadata("design:type", String)
17487
17875
  ], mjBizAppsOrdersSubscriptionType_.prototype, "Name", void 0);
@@ -17495,17 +17883,17 @@ __decorate([
17495
17883
  __metadata("design:type", String)
17496
17884
  ], mjBizAppsOrdersSubscriptionType_.prototype, "DriverClass", void 0);
17497
17885
  __decorate([
17498
- Field(),
17886
+ Field({ nullable: true }),
17499
17887
  MaxLength(20),
17500
17888
  __metadata("design:type", String)
17501
17889
  ], mjBizAppsOrdersSubscriptionType_.prototype, "SubscriberScope", void 0);
17502
17890
  __decorate([
17503
- Field(),
17891
+ Field({ nullable: true }),
17504
17892
  MaxLength(30),
17505
17893
  __metadata("design:type", String)
17506
17894
  ], mjBizAppsOrdersSubscriptionType_.prototype, "BenefitModel", void 0);
17507
17895
  __decorate([
17508
- Field(),
17896
+ Field({ nullable: true }),
17509
17897
  MaxLength(20),
17510
17898
  __metadata("design:type", String)
17511
17899
  ], mjBizAppsOrdersSubscriptionType_.prototype, "StartMode", void 0);
@@ -17531,12 +17919,12 @@ __decorate([
17531
17919
  __metadata("design:type", Number)
17532
17920
  ], mjBizAppsOrdersSubscriptionType_.prototype, "DefaultTermMonths", void 0);
17533
17921
  __decorate([
17534
- Field(),
17922
+ Field({ nullable: true }),
17535
17923
  MaxLength(20),
17536
17924
  __metadata("design:type", String)
17537
17925
  ], mjBizAppsOrdersSubscriptionType_.prototype, "BillingCadence", void 0);
17538
17926
  __decorate([
17539
- Field(),
17927
+ Field({ nullable: true }),
17540
17928
  MaxLength(20),
17541
17929
  __metadata("design:type", String)
17542
17930
  ], mjBizAppsOrdersSubscriptionType_.prototype, "RecognitionCadence", void 0);
@@ -17545,16 +17933,16 @@ __decorate([
17545
17933
  __metadata("design:type", Number)
17546
17934
  ], mjBizAppsOrdersSubscriptionType_.prototype, "CustomCycleDays", void 0);
17547
17935
  __decorate([
17548
- Field(() => Int),
17936
+ Field(() => Int, { nullable: true }),
17549
17937
  __metadata("design:type", Number)
17550
17938
  ], mjBizAppsOrdersSubscriptionType_.prototype, "TrialDays", void 0);
17551
17939
  __decorate([
17552
- Field(),
17940
+ Field({ nullable: true }),
17553
17941
  MaxLength(20),
17554
17942
  __metadata("design:type", String)
17555
17943
  ], mjBizAppsOrdersSubscriptionType_.prototype, "ConcurrencyMode", void 0);
17556
17944
  __decorate([
17557
- Field(),
17945
+ Field({ nullable: true }),
17558
17946
  MaxLength(30),
17559
17947
  __metadata("design:type", String)
17560
17948
  ], mjBizAppsOrdersSubscriptionType_.prototype, "ReactivationMode", void 0);
@@ -17563,7 +17951,7 @@ __decorate([
17563
17951
  __metadata("design:type", Number)
17564
17952
  ], mjBizAppsOrdersSubscriptionType_.prototype, "ReactivationWindowDays", void 0);
17565
17953
  __decorate([
17566
- Field(() => Boolean),
17954
+ Field(() => Boolean, { nullable: true }),
17567
17955
  __metadata("design:type", Boolean)
17568
17956
  ], mjBizAppsOrdersSubscriptionType_.prototype, "AutoRenewDefault", void 0);
17569
17957
  __decorate([
@@ -17571,12 +17959,12 @@ __decorate([
17571
17959
  __metadata("design:type", Number)
17572
17960
  ], mjBizAppsOrdersSubscriptionType_.prototype, "RenewalLeadDays", void 0);
17573
17961
  __decorate([
17574
- Field(),
17962
+ Field({ nullable: true }),
17575
17963
  MaxLength(20),
17576
17964
  __metadata("design:type", String)
17577
17965
  ], mjBizAppsOrdersSubscriptionType_.prototype, "CancellationMode", void 0);
17578
17966
  __decorate([
17579
- Field(),
17967
+ Field({ nullable: true }),
17580
17968
  MaxLength(30),
17581
17969
  __metadata("design:type", String)
17582
17970
  ], mjBizAppsOrdersSubscriptionType_.prototype, "CancellationRefundMode", void 0);
@@ -17585,15 +17973,15 @@ __decorate([
17585
17973
  __metadata("design:type", Number)
17586
17974
  ], mjBizAppsOrdersSubscriptionType_.prototype, "CancellationWindowDays", void 0);
17587
17975
  __decorate([
17588
- Field(() => Int),
17976
+ Field(() => Int, { nullable: true }),
17589
17977
  __metadata("design:type", Number)
17590
17978
  ], mjBizAppsOrdersSubscriptionType_.prototype, "GracePeriodDays", void 0);
17591
17979
  __decorate([
17592
- Field(() => Int),
17980
+ Field(() => Int, { nullable: true }),
17593
17981
  __metadata("design:type", Number)
17594
17982
  ], mjBizAppsOrdersSubscriptionType_.prototype, "Sequence", void 0);
17595
17983
  __decorate([
17596
- Field(() => Boolean),
17984
+ Field(() => Boolean, { nullable: true }),
17597
17985
  __metadata("design:type", Boolean)
17598
17986
  ], mjBizAppsOrdersSubscriptionType_.prototype, "IsActive", void 0);
17599
17987
  __decorate([
@@ -17604,6 +17992,10 @@ __decorate([
17604
17992
  Field(),
17605
17993
  __metadata("design:type", Date)
17606
17994
  ], mjBizAppsOrdersSubscriptionType_.prototype, "_mj__UpdatedAt", void 0);
17995
+ __decorate([
17996
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
17997
+ __metadata("design:type", Array)
17998
+ ], mjBizAppsOrdersSubscriptionType_.prototype, "ReadableFields___", void 0);
17607
17999
  mjBizAppsOrdersSubscriptionType_ = __decorate([
17608
18000
  ObjectType()
17609
18001
  ], mjBizAppsOrdersSubscriptionType_);
@@ -18014,27 +18406,27 @@ __decorate([
18014
18406
  __metadata("design:type", String)
18015
18407
  ], mjBizAppsOrdersSubscription_.prototype, "ID", void 0);
18016
18408
  __decorate([
18017
- Field({ description: `Human-readable subscription identifier. Unique.` }),
18409
+ Field({ nullable: true, description: `Human-readable subscription identifier. Unique.` }),
18018
18410
  MaxLength(40),
18019
18411
  __metadata("design:type", String)
18020
18412
  ], mjBizAppsOrdersSubscription_.prototype, "SubscriptionNumber", void 0);
18021
18413
  __decorate([
18022
- Field({ description: `The company whose product this subscription continues — stamped from Product.CompanyID at creation (D6). FK to __mj.Company.` }),
18414
+ Field({ nullable: true, description: `The company whose product this subscription continues — stamped from Product.CompanyID at creation (D6). FK to __mj.Company.` }),
18023
18415
  MaxLength(36),
18024
18416
  __metadata("design:type", String)
18025
18417
  ], mjBizAppsOrdersSubscription_.prototype, "CompanyID", void 0);
18026
18418
  __decorate([
18027
- Field(),
18419
+ Field({ nullable: true }),
18028
18420
  MaxLength(36),
18029
18421
  __metadata("design:type", String)
18030
18422
  ], mjBizAppsOrdersSubscription_.prototype, "OrderLineID", void 0);
18031
18423
  __decorate([
18032
- Field(),
18424
+ Field({ nullable: true }),
18033
18425
  MaxLength(36),
18034
18426
  __metadata("design:type", String)
18035
18427
  ], mjBizAppsOrdersSubscription_.prototype, "SubscriptionTypeID", void 0);
18036
18428
  __decorate([
18037
- Field(),
18429
+ Field({ nullable: true }),
18038
18430
  MaxLength(36),
18039
18431
  __metadata("design:type", String)
18040
18432
  ], mjBizAppsOrdersSubscription_.prototype, "ProductID", void 0);
@@ -18049,12 +18441,12 @@ __decorate([
18049
18441
  __metadata("design:type", String)
18050
18442
  ], mjBizAppsOrdersSubscription_.prototype, "BeneficiaryPersonID", void 0);
18051
18443
  __decorate([
18052
- Field({ description: `Active | Paused | Canceled | Migrated | Trialing.` }),
18444
+ Field({ nullable: true, description: `Active | Paused | Canceled | Migrated | Trialing.` }),
18053
18445
  MaxLength(20),
18054
18446
  __metadata("design:type", String)
18055
18447
  ], mjBizAppsOrdersSubscription_.prototype, "Status", void 0);
18056
18448
  __decorate([
18057
- Field({ description: `Date the subscription began.` }),
18449
+ Field({ nullable: true, description: `Date the subscription began.` }),
18058
18450
  __metadata("design:type", Date)
18059
18451
  ], mjBizAppsOrdersSubscription_.prototype, "StartDate", void 0);
18060
18452
  __decorate([
@@ -18070,7 +18462,7 @@ __decorate([
18070
18462
  __metadata("design:type", Date)
18071
18463
  ], mjBizAppsOrdersSubscription_.prototype, "EndDate", void 0);
18072
18464
  __decorate([
18073
- Field(() => Boolean, { description: `Whether renewal orders spawn automatically (Jeremy: auto-renew flag).` }),
18465
+ Field(() => Boolean, { nullable: true, description: `Whether renewal orders spawn automatically (Jeremy: auto-renew flag).` }),
18074
18466
  __metadata("design:type", Boolean)
18075
18467
  ], mjBizAppsOrdersSubscription_.prototype, "AutoRenew", void 0);
18076
18468
  __decorate([
@@ -18106,17 +18498,17 @@ __decorate([
18106
18498
  __metadata("design:type", Date)
18107
18499
  ], mjBizAppsOrdersSubscription_.prototype, "_mj__UpdatedAt", void 0);
18108
18500
  __decorate([
18109
- Field(),
18501
+ Field({ nullable: true }),
18110
18502
  MaxLength(50),
18111
18503
  __metadata("design:type", String)
18112
18504
  ], mjBizAppsOrdersSubscription_.prototype, "Company", void 0);
18113
18505
  __decorate([
18114
- Field(),
18506
+ Field({ nullable: true }),
18115
18507
  MaxLength(200),
18116
18508
  __metadata("design:type", String)
18117
18509
  ], mjBizAppsOrdersSubscription_.prototype, "SubscriptionType", void 0);
18118
18510
  __decorate([
18119
- Field(),
18511
+ Field({ nullable: true }),
18120
18512
  MaxLength(200),
18121
18513
  __metadata("design:type", String)
18122
18514
  ], mjBizAppsOrdersSubscription_.prototype, "Product", void 0);
@@ -18145,6 +18537,10 @@ __decorate([
18145
18537
  MaxLength(40),
18146
18538
  __metadata("design:type", String)
18147
18539
  ], mjBizAppsOrdersSubscription_.prototype, "MigratesToSubscription", void 0);
18540
+ __decorate([
18541
+ Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
18542
+ __metadata("design:type", Array)
18543
+ ], mjBizAppsOrdersSubscription_.prototype, "ReadableFields___", void 0);
18148
18544
  mjBizAppsOrdersSubscription_ = __decorate([
18149
18545
  ObjectType({ description: `A recurring (Product, Customer, Beneficiary) relationship born from an order line (D20/D27). Renewal cycles spawn new Orders under it (Draft at launch, D20); schedules hang off order lines, not here.` })
18150
18546
  ], mjBizAppsOrdersSubscription_);