@mj-biz-apps/orders-entities 5.1.0 → 5.2.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.
- package/dist/OrderHeaderEntity.d.ts +15 -0
- package/dist/OrderHeaderEntity.d.ts.map +1 -1
- package/dist/OrderHeaderEntity.js +54 -1
- package/dist/OrderHeaderEntity.js.map +1 -1
- package/dist/OrderLineExtensionCompanion.d.ts.map +1 -1
- package/dist/OrderLineExtensionCompanion.js +8 -0
- package/dist/OrderLineExtensionCompanion.js.map +1 -1
- package/dist/OrderStatusBehavior.d.ts +31 -22
- package/dist/OrderStatusBehavior.d.ts.map +1 -1
- package/dist/OrderStatusBehavior.js +47 -51
- package/dist/OrderStatusBehavior.js.map +1 -1
- package/dist/PartyAffiliationBehavior.d.ts +20 -0
- package/dist/PartyAffiliationBehavior.d.ts.map +1 -0
- package/dist/PartyAffiliationBehavior.js +52 -0
- package/dist/PartyAffiliationBehavior.js.map +1 -0
- package/dist/configuration-types.d.ts +157 -0
- package/dist/configuration-types.d.ts.map +1 -0
- package/dist/configuration-types.js +10 -0
- package/dist/configuration-types.js.map +1 -0
- package/dist/generated/entity_subclasses.d.ts +859 -289
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +1180 -364
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/dist/generated/remote_operations.d.ts +153 -2
- package/dist/generated/remote_operations.d.ts.map +1 -1
- package/dist/generated/remote_operations.js +144 -0
- package/dist/generated/remote_operations.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/pricing/OrderPricingService.d.ts +14 -7
- package/dist/pricing/OrderPricingService.d.ts.map +1 -1
- package/dist/pricing/OrderPricingService.js +2 -0
- package/dist/pricing/OrderPricingService.js.map +1 -1
- package/dist/pricing/PriceResolver.d.ts +11 -6
- package/dist/pricing/PriceResolver.d.ts.map +1 -1
- package/dist/pricing/PriceResolver.js +35 -22
- package/dist/pricing/PriceResolver.js.map +1 -1
- package/package.json +3 -3
|
@@ -43,6 +43,150 @@ export declare const mjBizAppsOrdersChargeTypeSchema: z.ZodObject<{
|
|
|
43
43
|
__mj_UpdatedAt?: Date;
|
|
44
44
|
}>;
|
|
45
45
|
export type mjBizAppsOrdersChargeTypeEntityType = z.infer<typeof mjBizAppsOrdersChargeTypeSchema>;
|
|
46
|
+
/**
|
|
47
|
+
* zod schema definition for the entity MJ_BizApps_Orders: Checkout Sessions
|
|
48
|
+
*/
|
|
49
|
+
export declare const mjBizAppsOrdersCheckoutSessionSchema: z.ZodObject<{
|
|
50
|
+
ID: z.ZodString;
|
|
51
|
+
CheckoutWidgetID: z.ZodString;
|
|
52
|
+
DistributionID: z.ZodNullable<z.ZodString>;
|
|
53
|
+
ClientSessionKey: z.ZodString;
|
|
54
|
+
Email: z.ZodNullable<z.ZodString>;
|
|
55
|
+
PersonID: z.ZodNullable<z.ZodString>;
|
|
56
|
+
DraftOrderID: z.ZodNullable<z.ZodString>;
|
|
57
|
+
PaymentIntentID: z.ZodNullable<z.ZodString>;
|
|
58
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Abandoned">, z.ZodLiteral<"Confirmed">, z.ZodLiteral<"Expired">, z.ZodLiteral<"Open">, z.ZodLiteral<"Processing">]>;
|
|
59
|
+
ExpiresAt: z.ZodDate;
|
|
60
|
+
MetadataJSON: z.ZodNullable<z.ZodString>;
|
|
61
|
+
__mj_CreatedAt: z.ZodDate;
|
|
62
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
63
|
+
CheckoutWidget: z.ZodString;
|
|
64
|
+
Distribution: z.ZodNullable<z.ZodString>;
|
|
65
|
+
Person: z.ZodNullable<z.ZodString>;
|
|
66
|
+
DraftOrder: z.ZodNullable<z.ZodString>;
|
|
67
|
+
PaymentIntent: z.ZodNullable<z.ZodString>;
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
|
+
ID?: string;
|
|
70
|
+
__mj_CreatedAt?: Date;
|
|
71
|
+
__mj_UpdatedAt?: Date;
|
|
72
|
+
CheckoutWidgetID?: string;
|
|
73
|
+
DistributionID?: string;
|
|
74
|
+
ClientSessionKey?: string;
|
|
75
|
+
Email?: string;
|
|
76
|
+
PersonID?: string;
|
|
77
|
+
DraftOrderID?: string;
|
|
78
|
+
PaymentIntentID?: string;
|
|
79
|
+
Status?: "Abandoned" | "Confirmed" | "Expired" | "Open" | "Processing";
|
|
80
|
+
ExpiresAt?: Date;
|
|
81
|
+
MetadataJSON?: string;
|
|
82
|
+
CheckoutWidget?: string;
|
|
83
|
+
Distribution?: string;
|
|
84
|
+
Person?: string;
|
|
85
|
+
DraftOrder?: string;
|
|
86
|
+
PaymentIntent?: string;
|
|
87
|
+
}, {
|
|
88
|
+
ID?: string;
|
|
89
|
+
__mj_CreatedAt?: Date;
|
|
90
|
+
__mj_UpdatedAt?: Date;
|
|
91
|
+
CheckoutWidgetID?: string;
|
|
92
|
+
DistributionID?: string;
|
|
93
|
+
ClientSessionKey?: string;
|
|
94
|
+
Email?: string;
|
|
95
|
+
PersonID?: string;
|
|
96
|
+
DraftOrderID?: string;
|
|
97
|
+
PaymentIntentID?: string;
|
|
98
|
+
Status?: "Abandoned" | "Confirmed" | "Expired" | "Open" | "Processing";
|
|
99
|
+
ExpiresAt?: Date;
|
|
100
|
+
MetadataJSON?: string;
|
|
101
|
+
CheckoutWidget?: string;
|
|
102
|
+
Distribution?: string;
|
|
103
|
+
Person?: string;
|
|
104
|
+
DraftOrder?: string;
|
|
105
|
+
PaymentIntent?: string;
|
|
106
|
+
}>;
|
|
107
|
+
export type mjBizAppsOrdersCheckoutSessionEntityType = z.infer<typeof mjBizAppsOrdersCheckoutSessionSchema>;
|
|
108
|
+
/**
|
|
109
|
+
* zod schema definition for the entity MJ_BizApps_Orders: Checkout Widget Distributions
|
|
110
|
+
*/
|
|
111
|
+
export declare const mjBizAppsOrdersCheckoutWidgetDistributionSchema: z.ZodObject<{
|
|
112
|
+
ID: z.ZodString;
|
|
113
|
+
CheckoutWidgetID: z.ZodString;
|
|
114
|
+
Slug: z.ZodString;
|
|
115
|
+
MagicLinkInviteID: z.ZodNullable<z.ZodString>;
|
|
116
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Revoked">]>;
|
|
117
|
+
RevokedAt: z.ZodNullable<z.ZodDate>;
|
|
118
|
+
RevocationReason: z.ZodNullable<z.ZodString>;
|
|
119
|
+
EmbedSnippet: z.ZodNullable<z.ZodString>;
|
|
120
|
+
__mj_CreatedAt: z.ZodDate;
|
|
121
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
122
|
+
CheckoutWidget: z.ZodString;
|
|
123
|
+
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
ID?: string;
|
|
125
|
+
__mj_CreatedAt?: Date;
|
|
126
|
+
__mj_UpdatedAt?: Date;
|
|
127
|
+
CheckoutWidgetID?: string;
|
|
128
|
+
Status?: "Active" | "Revoked";
|
|
129
|
+
CheckoutWidget?: string;
|
|
130
|
+
Slug?: string;
|
|
131
|
+
MagicLinkInviteID?: string;
|
|
132
|
+
RevokedAt?: Date;
|
|
133
|
+
RevocationReason?: string;
|
|
134
|
+
EmbedSnippet?: string;
|
|
135
|
+
}, {
|
|
136
|
+
ID?: string;
|
|
137
|
+
__mj_CreatedAt?: Date;
|
|
138
|
+
__mj_UpdatedAt?: Date;
|
|
139
|
+
CheckoutWidgetID?: string;
|
|
140
|
+
Status?: "Active" | "Revoked";
|
|
141
|
+
CheckoutWidget?: string;
|
|
142
|
+
Slug?: string;
|
|
143
|
+
MagicLinkInviteID?: string;
|
|
144
|
+
RevokedAt?: Date;
|
|
145
|
+
RevocationReason?: string;
|
|
146
|
+
EmbedSnippet?: string;
|
|
147
|
+
}>;
|
|
148
|
+
export type mjBizAppsOrdersCheckoutWidgetDistributionEntityType = z.infer<typeof mjBizAppsOrdersCheckoutWidgetDistributionSchema>;
|
|
149
|
+
/**
|
|
150
|
+
* zod schema definition for the entity MJ_BizApps_Orders: Checkout Widgets
|
|
151
|
+
*/
|
|
152
|
+
export declare const mjBizAppsOrdersCheckoutWidgetSchema: z.ZodObject<{
|
|
153
|
+
ID: z.ZodString;
|
|
154
|
+
Name: z.ZodString;
|
|
155
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
156
|
+
CompanyID: z.ZodString;
|
|
157
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Draft">]>;
|
|
158
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
159
|
+
CustomCSS: z.ZodNullable<z.ZodString>;
|
|
160
|
+
CustomJS: z.ZodNullable<z.ZodString>;
|
|
161
|
+
__mj_CreatedAt: z.ZodDate;
|
|
162
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
163
|
+
Company: z.ZodString;
|
|
164
|
+
}, "strip", z.ZodTypeAny, {
|
|
165
|
+
ID?: string;
|
|
166
|
+
Name?: string;
|
|
167
|
+
Description?: string;
|
|
168
|
+
__mj_CreatedAt?: Date;
|
|
169
|
+
__mj_UpdatedAt?: Date;
|
|
170
|
+
Status?: "Active" | "Disabled" | "Draft";
|
|
171
|
+
CompanyID?: string;
|
|
172
|
+
Configuration?: string;
|
|
173
|
+
CustomCSS?: string;
|
|
174
|
+
CustomJS?: string;
|
|
175
|
+
Company?: string;
|
|
176
|
+
}, {
|
|
177
|
+
ID?: string;
|
|
178
|
+
Name?: string;
|
|
179
|
+
Description?: string;
|
|
180
|
+
__mj_CreatedAt?: Date;
|
|
181
|
+
__mj_UpdatedAt?: Date;
|
|
182
|
+
Status?: "Active" | "Disabled" | "Draft";
|
|
183
|
+
CompanyID?: string;
|
|
184
|
+
Configuration?: string;
|
|
185
|
+
CustomCSS?: string;
|
|
186
|
+
CustomJS?: string;
|
|
187
|
+
Company?: string;
|
|
188
|
+
}>;
|
|
189
|
+
export type mjBizAppsOrdersCheckoutWidgetEntityType = z.infer<typeof mjBizAppsOrdersCheckoutWidgetSchema>;
|
|
46
190
|
/**
|
|
47
191
|
* zod schema definition for the entity MJ_BizApps_Orders: Customer Payment Methods
|
|
48
192
|
*/
|
|
@@ -107,26 +251,26 @@ export declare const mjBizAppsOrdersCustomerPaymentTermsSchema: z.ZodObject<{
|
|
|
107
251
|
ID?: string;
|
|
108
252
|
__mj_CreatedAt?: Date;
|
|
109
253
|
__mj_UpdatedAt?: Date;
|
|
110
|
-
OrganizationID?: string;
|
|
111
254
|
PersonID?: string;
|
|
112
|
-
|
|
255
|
+
Status?: "Active" | "Inactive";
|
|
113
256
|
CompanyID?: string;
|
|
257
|
+
OrganizationID?: string;
|
|
258
|
+
PaymentTermsTypeID?: string;
|
|
114
259
|
StartedAt?: Date;
|
|
115
260
|
EndedAt?: Date;
|
|
116
|
-
Status?: "Active" | "Inactive";
|
|
117
261
|
Comments?: string;
|
|
118
262
|
PaymentTermsType?: string;
|
|
119
263
|
}, {
|
|
120
264
|
ID?: string;
|
|
121
265
|
__mj_CreatedAt?: Date;
|
|
122
266
|
__mj_UpdatedAt?: Date;
|
|
123
|
-
OrganizationID?: string;
|
|
124
267
|
PersonID?: string;
|
|
125
|
-
|
|
268
|
+
Status?: "Active" | "Inactive";
|
|
126
269
|
CompanyID?: string;
|
|
270
|
+
OrganizationID?: string;
|
|
271
|
+
PaymentTermsTypeID?: string;
|
|
127
272
|
StartedAt?: Date;
|
|
128
273
|
EndedAt?: Date;
|
|
129
|
-
Status?: "Active" | "Inactive";
|
|
130
274
|
Comments?: string;
|
|
131
275
|
PaymentTermsType?: string;
|
|
132
276
|
}>;
|
|
@@ -156,11 +300,12 @@ export declare const mjBizAppsOrdersCustomerTaxExemptionSchema: z.ZodObject<{
|
|
|
156
300
|
ID?: string;
|
|
157
301
|
__mj_CreatedAt?: Date;
|
|
158
302
|
__mj_UpdatedAt?: Date;
|
|
159
|
-
OrganizationID?: string;
|
|
160
303
|
PersonID?: string;
|
|
304
|
+
Status?: "Active" | "Inactive";
|
|
305
|
+
Person?: string;
|
|
306
|
+
OrganizationID?: string;
|
|
161
307
|
StartedAt?: Date;
|
|
162
308
|
EndedAt?: Date;
|
|
163
|
-
Status?: "Active" | "Inactive";
|
|
164
309
|
Comments?: string;
|
|
165
310
|
TaxJurisdictionID?: string;
|
|
166
311
|
TaxCategory?: string;
|
|
@@ -169,16 +314,16 @@ export declare const mjBizAppsOrdersCustomerTaxExemptionSchema: z.ZodObject<{
|
|
|
169
314
|
CertificateIssuedAt?: Date;
|
|
170
315
|
CertificateExpiresAt?: Date;
|
|
171
316
|
Organization?: string;
|
|
172
|
-
Person?: string;
|
|
173
317
|
}, {
|
|
174
318
|
ID?: string;
|
|
175
319
|
__mj_CreatedAt?: Date;
|
|
176
320
|
__mj_UpdatedAt?: Date;
|
|
177
|
-
OrganizationID?: string;
|
|
178
321
|
PersonID?: string;
|
|
322
|
+
Status?: "Active" | "Inactive";
|
|
323
|
+
Person?: string;
|
|
324
|
+
OrganizationID?: string;
|
|
179
325
|
StartedAt?: Date;
|
|
180
326
|
EndedAt?: Date;
|
|
181
|
-
Status?: "Active" | "Inactive";
|
|
182
327
|
Comments?: string;
|
|
183
328
|
TaxJurisdictionID?: string;
|
|
184
329
|
TaxCategory?: string;
|
|
@@ -187,7 +332,6 @@ export declare const mjBizAppsOrdersCustomerTaxExemptionSchema: z.ZodObject<{
|
|
|
187
332
|
CertificateIssuedAt?: Date;
|
|
188
333
|
CertificateExpiresAt?: Date;
|
|
189
334
|
Organization?: string;
|
|
190
|
-
Person?: string;
|
|
191
335
|
}>;
|
|
192
336
|
export type mjBizAppsOrdersCustomerTaxExemptionEntityType = z.infer<typeof mjBizAppsOrdersCustomerTaxExemptionSchema>;
|
|
193
337
|
/**
|
|
@@ -219,7 +363,9 @@ export declare const mjBizAppsOrdersEntitlementGrantSchema: z.ZodObject<{
|
|
|
219
363
|
ID?: string;
|
|
220
364
|
__mj_CreatedAt?: Date;
|
|
221
365
|
__mj_UpdatedAt?: Date;
|
|
222
|
-
Status?: "
|
|
366
|
+
Status?: "Expired" | "Active" | "Revoked" | "Suspended";
|
|
367
|
+
RevokedAt?: Date;
|
|
368
|
+
RevocationReason?: string;
|
|
223
369
|
ProductEntitlementID?: string;
|
|
224
370
|
OrderLineID?: string;
|
|
225
371
|
SubscriptionID?: string;
|
|
@@ -231,8 +377,6 @@ export declare const mjBizAppsOrdersEntitlementGrantSchema: z.ZodObject<{
|
|
|
231
377
|
ProvisionedAt?: Date;
|
|
232
378
|
ValidityModeApplied?: "EventWindow" | "FixedDuration" | "Perpetual" | "SubscriptionTerm";
|
|
233
379
|
SubscriptionTermID?: string;
|
|
234
|
-
RevokedAt?: Date;
|
|
235
|
-
RevocationReason?: string;
|
|
236
380
|
ProductEntitlement?: string;
|
|
237
381
|
Subscription?: string;
|
|
238
382
|
BeneficiaryPerson?: string;
|
|
@@ -241,7 +385,9 @@ export declare const mjBizAppsOrdersEntitlementGrantSchema: z.ZodObject<{
|
|
|
241
385
|
ID?: string;
|
|
242
386
|
__mj_CreatedAt?: Date;
|
|
243
387
|
__mj_UpdatedAt?: Date;
|
|
244
|
-
Status?: "
|
|
388
|
+
Status?: "Expired" | "Active" | "Revoked" | "Suspended";
|
|
389
|
+
RevokedAt?: Date;
|
|
390
|
+
RevocationReason?: string;
|
|
245
391
|
ProductEntitlementID?: string;
|
|
246
392
|
OrderLineID?: string;
|
|
247
393
|
SubscriptionID?: string;
|
|
@@ -253,8 +399,6 @@ export declare const mjBizAppsOrdersEntitlementGrantSchema: z.ZodObject<{
|
|
|
253
399
|
ProvisionedAt?: Date;
|
|
254
400
|
ValidityModeApplied?: "EventWindow" | "FixedDuration" | "Perpetual" | "SubscriptionTerm";
|
|
255
401
|
SubscriptionTermID?: string;
|
|
256
|
-
RevokedAt?: Date;
|
|
257
|
-
RevocationReason?: string;
|
|
258
402
|
ProductEntitlement?: string;
|
|
259
403
|
Subscription?: string;
|
|
260
404
|
BeneficiaryPerson?: string;
|
|
@@ -308,9 +452,9 @@ export declare const mjBizAppsOrdersEventOrderLineSchema: z.ZodObject<{
|
|
|
308
452
|
__mj_CreatedAt?: Date;
|
|
309
453
|
__mj_UpdatedAt?: Date;
|
|
310
454
|
PersonID?: string;
|
|
455
|
+
Person?: string;
|
|
311
456
|
CompanyID?: string;
|
|
312
457
|
Comments?: string;
|
|
313
|
-
Person?: string;
|
|
314
458
|
SubscriptionID?: string;
|
|
315
459
|
Quantity?: number;
|
|
316
460
|
CheckInAt?: Date;
|
|
@@ -346,9 +490,9 @@ export declare const mjBizAppsOrdersEventOrderLineSchema: z.ZodObject<{
|
|
|
346
490
|
__mj_CreatedAt?: Date;
|
|
347
491
|
__mj_UpdatedAt?: Date;
|
|
348
492
|
PersonID?: string;
|
|
493
|
+
Person?: string;
|
|
349
494
|
CompanyID?: string;
|
|
350
495
|
Comments?: string;
|
|
351
|
-
Person?: string;
|
|
352
496
|
SubscriptionID?: string;
|
|
353
497
|
Quantity?: number;
|
|
354
498
|
CheckInAt?: Date;
|
|
@@ -422,8 +566,8 @@ export declare const mjBizAppsOrdersEventProductSchema: z.ZodObject<{
|
|
|
422
566
|
Description?: string;
|
|
423
567
|
__mj_CreatedAt?: Date;
|
|
424
568
|
__mj_UpdatedAt?: Date;
|
|
425
|
-
CompanyID?: string;
|
|
426
569
|
Status?: string;
|
|
570
|
+
CompanyID?: string;
|
|
427
571
|
TaxCategory?: string;
|
|
428
572
|
EventStartsAt?: Date;
|
|
429
573
|
EventEndsAt?: Date;
|
|
@@ -455,8 +599,8 @@ export declare const mjBizAppsOrdersEventProductSchema: z.ZodObject<{
|
|
|
455
599
|
Description?: string;
|
|
456
600
|
__mj_CreatedAt?: Date;
|
|
457
601
|
__mj_UpdatedAt?: Date;
|
|
458
|
-
CompanyID?: string;
|
|
459
602
|
Status?: string;
|
|
603
|
+
CompanyID?: string;
|
|
460
604
|
TaxCategory?: string;
|
|
461
605
|
EventStartsAt?: Date;
|
|
462
606
|
EventEndsAt?: Date;
|
|
@@ -709,7 +853,7 @@ export declare const mjBizAppsOrdersOrderHeaderSchema: z.ZodObject<{
|
|
|
709
853
|
OrderNumber: z.ZodString;
|
|
710
854
|
OrderType: z.ZodUnion<[z.ZodLiteral<"AccountCredit">, z.ZodLiteral<"Amendment">, z.ZodLiteral<"Cancellation">, z.ZodLiteral<"Return">, z.ZodLiteral<"Sale">]>;
|
|
711
855
|
OrderDate: z.ZodDate;
|
|
712
|
-
Status: z.ZodUnion<[z.ZodLiteral<"Confirmed">, z.ZodLiteral<"Draft">, z.ZodLiteral<"
|
|
856
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Confirmed">, z.ZodLiteral<"Draft">, z.ZodLiteral<"Quoted">, z.ZodLiteral<"Voided">]>;
|
|
713
857
|
CompanyID: z.ZodString;
|
|
714
858
|
BillToPersonID: z.ZodNullable<z.ZodString>;
|
|
715
859
|
BillToOrganizationID: z.ZodNullable<z.ZodString>;
|
|
@@ -723,7 +867,6 @@ export declare const mjBizAppsOrdersOrderHeaderSchema: z.ZodObject<{
|
|
|
723
867
|
AmountPaid: z.ZodNumber;
|
|
724
868
|
Balance: z.ZodNullable<z.ZodNumber>;
|
|
725
869
|
DueDate: z.ZodNullable<z.ZodDate>;
|
|
726
|
-
PaymentStatus: z.ZodUnion<[z.ZodLiteral<"Overdue">, z.ZodLiteral<"Paid">, z.ZodLiteral<"PartiallyPaid">, z.ZodLiteral<"Unpaid">, z.ZodLiteral<"WrittenOff">]>;
|
|
727
870
|
ExternalDocumentNumber: z.ZodNullable<z.ZodString>;
|
|
728
871
|
InitialPaymentTypeID: z.ZodNullable<z.ZodString>;
|
|
729
872
|
InitialPaymentAmount: z.ZodNumber;
|
|
@@ -739,6 +882,9 @@ export declare const mjBizAppsOrdersOrderHeaderSchema: z.ZodObject<{
|
|
|
739
882
|
ConfirmedAt: z.ZodNullable<z.ZodDate>;
|
|
740
883
|
__mj_CreatedAt: z.ZodDate;
|
|
741
884
|
__mj_UpdatedAt: z.ZodDate;
|
|
885
|
+
Origin: z.ZodString;
|
|
886
|
+
SourceCheckoutWidgetID: z.ZodNullable<z.ZodString>;
|
|
887
|
+
FulfillmentStatus: z.ZodUnion<[z.ZodLiteral<"Fulfilled">, z.ZodLiteral<"NotApplicable">, z.ZodLiteral<"PartiallyFulfilled">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Returned">]>;
|
|
742
888
|
Company: z.ZodString;
|
|
743
889
|
BillToPerson: z.ZodNullable<z.ZodString>;
|
|
744
890
|
BillToOrganization: z.ZodNullable<z.ZodString>;
|
|
@@ -752,21 +898,25 @@ export declare const mjBizAppsOrdersOrderHeaderSchema: z.ZodObject<{
|
|
|
752
898
|
InitialPaymentDetail: z.ZodNullable<z.ZodString>;
|
|
753
899
|
PostedByUser: z.ZodNullable<z.ZodString>;
|
|
754
900
|
ReversesOrderHeader: z.ZodNullable<z.ZodString>;
|
|
901
|
+
SourceCheckoutWidget: z.ZodNullable<z.ZodString>;
|
|
755
902
|
__mj_Latitude: z.ZodNullable<z.ZodNumber>;
|
|
756
903
|
__mj_Longitude: z.ZodNullable<z.ZodNumber>;
|
|
757
904
|
IsOverdue: z.ZodNumber;
|
|
905
|
+
PaymentStatus: z.ZodUnion<[z.ZodLiteral<"Overdue">, z.ZodLiteral<"Paid">, z.ZodLiteral<"PartiallyPaid">, z.ZodLiteral<"Unpaid">, z.ZodLiteral<"WrittenOff">]>;
|
|
758
906
|
}, "strip", z.ZodTypeAny, {
|
|
759
907
|
ID?: string;
|
|
760
908
|
Description?: string;
|
|
761
909
|
__mj_CreatedAt?: Date;
|
|
762
910
|
__mj_UpdatedAt?: Date;
|
|
763
|
-
|
|
911
|
+
Status?: "Confirmed" | "Draft" | "Quoted" | "Voided";
|
|
764
912
|
CompanyID?: string;
|
|
765
|
-
|
|
913
|
+
Company?: string;
|
|
914
|
+
PaymentTermsTypeID?: string;
|
|
766
915
|
PaymentTermsType?: string;
|
|
767
916
|
ShipToAddressID?: string;
|
|
768
917
|
ShipToOrganizationID?: string;
|
|
769
918
|
ShipToPersonID?: string;
|
|
919
|
+
FulfillmentStatus?: "Fulfilled" | "NotApplicable" | "PartiallyFulfilled" | "Pending" | "Returned";
|
|
770
920
|
__mj_Latitude?: number;
|
|
771
921
|
__mj_Longitude?: number;
|
|
772
922
|
OrderNumber?: string;
|
|
@@ -780,7 +930,6 @@ export declare const mjBizAppsOrdersOrderHeaderSchema: z.ZodObject<{
|
|
|
780
930
|
AmountPaid?: number;
|
|
781
931
|
Balance?: number;
|
|
782
932
|
DueDate?: Date;
|
|
783
|
-
PaymentStatus?: "Overdue" | "Paid" | "PartiallyPaid" | "Unpaid" | "WrittenOff";
|
|
784
933
|
ExternalDocumentNumber?: string;
|
|
785
934
|
InitialPaymentTypeID?: string;
|
|
786
935
|
InitialPaymentAmount?: number;
|
|
@@ -793,7 +942,8 @@ export declare const mjBizAppsOrdersOrderHeaderSchema: z.ZodObject<{
|
|
|
793
942
|
ApprovalTaskID?: string;
|
|
794
943
|
Notes?: string;
|
|
795
944
|
ConfirmedAt?: Date;
|
|
796
|
-
|
|
945
|
+
Origin?: string;
|
|
946
|
+
SourceCheckoutWidgetID?: string;
|
|
797
947
|
BillToPerson?: string;
|
|
798
948
|
BillToOrganization?: string;
|
|
799
949
|
SalesRepUser?: string;
|
|
@@ -805,19 +955,23 @@ export declare const mjBizAppsOrdersOrderHeaderSchema: z.ZodObject<{
|
|
|
805
955
|
InitialPaymentDetail?: string;
|
|
806
956
|
PostedByUser?: string;
|
|
807
957
|
ReversesOrderHeader?: string;
|
|
958
|
+
SourceCheckoutWidget?: string;
|
|
808
959
|
IsOverdue?: number;
|
|
960
|
+
PaymentStatus?: "Overdue" | "Paid" | "PartiallyPaid" | "Unpaid" | "WrittenOff";
|
|
809
961
|
}, {
|
|
810
962
|
ID?: string;
|
|
811
963
|
Description?: string;
|
|
812
964
|
__mj_CreatedAt?: Date;
|
|
813
965
|
__mj_UpdatedAt?: Date;
|
|
814
|
-
|
|
966
|
+
Status?: "Confirmed" | "Draft" | "Quoted" | "Voided";
|
|
815
967
|
CompanyID?: string;
|
|
816
|
-
|
|
968
|
+
Company?: string;
|
|
969
|
+
PaymentTermsTypeID?: string;
|
|
817
970
|
PaymentTermsType?: string;
|
|
818
971
|
ShipToAddressID?: string;
|
|
819
972
|
ShipToOrganizationID?: string;
|
|
820
973
|
ShipToPersonID?: string;
|
|
974
|
+
FulfillmentStatus?: "Fulfilled" | "NotApplicable" | "PartiallyFulfilled" | "Pending" | "Returned";
|
|
821
975
|
__mj_Latitude?: number;
|
|
822
976
|
__mj_Longitude?: number;
|
|
823
977
|
OrderNumber?: string;
|
|
@@ -831,7 +985,6 @@ export declare const mjBizAppsOrdersOrderHeaderSchema: z.ZodObject<{
|
|
|
831
985
|
AmountPaid?: number;
|
|
832
986
|
Balance?: number;
|
|
833
987
|
DueDate?: Date;
|
|
834
|
-
PaymentStatus?: "Overdue" | "Paid" | "PartiallyPaid" | "Unpaid" | "WrittenOff";
|
|
835
988
|
ExternalDocumentNumber?: string;
|
|
836
989
|
InitialPaymentTypeID?: string;
|
|
837
990
|
InitialPaymentAmount?: number;
|
|
@@ -844,7 +997,8 @@ export declare const mjBizAppsOrdersOrderHeaderSchema: z.ZodObject<{
|
|
|
844
997
|
ApprovalTaskID?: string;
|
|
845
998
|
Notes?: string;
|
|
846
999
|
ConfirmedAt?: Date;
|
|
847
|
-
|
|
1000
|
+
Origin?: string;
|
|
1001
|
+
SourceCheckoutWidgetID?: string;
|
|
848
1002
|
BillToPerson?: string;
|
|
849
1003
|
BillToOrganization?: string;
|
|
850
1004
|
SalesRepUser?: string;
|
|
@@ -856,7 +1010,9 @@ export declare const mjBizAppsOrdersOrderHeaderSchema: z.ZodObject<{
|
|
|
856
1010
|
InitialPaymentDetail?: string;
|
|
857
1011
|
PostedByUser?: string;
|
|
858
1012
|
ReversesOrderHeader?: string;
|
|
1013
|
+
SourceCheckoutWidget?: string;
|
|
859
1014
|
IsOverdue?: number;
|
|
1015
|
+
PaymentStatus?: "Overdue" | "Paid" | "PartiallyPaid" | "Unpaid" | "WrittenOff";
|
|
860
1016
|
}>;
|
|
861
1017
|
export type mjBizAppsOrdersOrderHeaderEntityType = z.infer<typeof mjBizAppsOrdersOrderHeaderSchema>;
|
|
862
1018
|
/**
|
|
@@ -991,6 +1147,7 @@ export declare const mjBizAppsOrdersOrderLineSchema: z.ZodObject<{
|
|
|
991
1147
|
__mj_CreatedAt?: Date;
|
|
992
1148
|
__mj_UpdatedAt?: Date;
|
|
993
1149
|
CompanyID?: string;
|
|
1150
|
+
Company?: string;
|
|
994
1151
|
SubscriptionID?: string;
|
|
995
1152
|
Quantity?: number;
|
|
996
1153
|
Subscription?: string;
|
|
@@ -1021,7 +1178,6 @@ export declare const mjBizAppsOrdersOrderLineSchema: z.ZodObject<{
|
|
|
1021
1178
|
__mj_Latitude?: number;
|
|
1022
1179
|
__mj_Longitude?: number;
|
|
1023
1180
|
OrderHeader?: string;
|
|
1024
|
-
Company?: string;
|
|
1025
1181
|
ShipToOrganization?: string;
|
|
1026
1182
|
ShipToPerson?: string;
|
|
1027
1183
|
Product?: string;
|
|
@@ -1038,6 +1194,7 @@ export declare const mjBizAppsOrdersOrderLineSchema: z.ZodObject<{
|
|
|
1038
1194
|
__mj_CreatedAt?: Date;
|
|
1039
1195
|
__mj_UpdatedAt?: Date;
|
|
1040
1196
|
CompanyID?: string;
|
|
1197
|
+
Company?: string;
|
|
1041
1198
|
SubscriptionID?: string;
|
|
1042
1199
|
Quantity?: number;
|
|
1043
1200
|
Subscription?: string;
|
|
@@ -1068,7 +1225,6 @@ export declare const mjBizAppsOrdersOrderLineSchema: z.ZodObject<{
|
|
|
1068
1225
|
__mj_Latitude?: number;
|
|
1069
1226
|
__mj_Longitude?: number;
|
|
1070
1227
|
OrderHeader?: string;
|
|
1071
|
-
Company?: string;
|
|
1072
1228
|
ShipToOrganization?: string;
|
|
1073
1229
|
ShipToPerson?: string;
|
|
1074
1230
|
Product?: string;
|
|
@@ -1139,8 +1295,8 @@ export declare const mjBizAppsOrdersPaymentDetailSchema: z.ZodObject<{
|
|
|
1139
1295
|
__mj_CreatedAt?: Date;
|
|
1140
1296
|
__mj_UpdatedAt?: Date;
|
|
1141
1297
|
CompanyID?: string;
|
|
1142
|
-
Notes?: string;
|
|
1143
1298
|
Company?: string;
|
|
1299
|
+
Notes?: string;
|
|
1144
1300
|
PaymentTypeID?: string;
|
|
1145
1301
|
PaymentProviderID?: string;
|
|
1146
1302
|
SourceCustomerPaymentMethodID?: string;
|
|
@@ -1169,8 +1325,8 @@ export declare const mjBizAppsOrdersPaymentDetailSchema: z.ZodObject<{
|
|
|
1169
1325
|
__mj_CreatedAt?: Date;
|
|
1170
1326
|
__mj_UpdatedAt?: Date;
|
|
1171
1327
|
CompanyID?: string;
|
|
1172
|
-
Notes?: string;
|
|
1173
1328
|
Company?: string;
|
|
1329
|
+
Notes?: string;
|
|
1174
1330
|
PaymentTypeID?: string;
|
|
1175
1331
|
PaymentProviderID?: string;
|
|
1176
1332
|
SourceCustomerPaymentMethodID?: string;
|
|
@@ -1238,9 +1394,11 @@ export declare const mjBizAppsOrdersPaymentHeaderSchema: z.ZodObject<{
|
|
|
1238
1394
|
Description?: string;
|
|
1239
1395
|
__mj_CreatedAt?: Date;
|
|
1240
1396
|
__mj_UpdatedAt?: Date;
|
|
1397
|
+
PaymentIntentID?: string;
|
|
1398
|
+
Status?: "Pending" | "Captured" | "Disputed" | "Failed" | "Refunded";
|
|
1399
|
+
PaymentIntent?: string;
|
|
1241
1400
|
PaymentDetailID?: string;
|
|
1242
1401
|
PaymentDetail?: string;
|
|
1243
|
-
Status?: "Pending" | "Captured" | "Disputed" | "Failed" | "Refunded";
|
|
1244
1402
|
JournalEntryID?: string;
|
|
1245
1403
|
Amount?: number;
|
|
1246
1404
|
BillToPersonID?: string;
|
|
@@ -1259,22 +1417,22 @@ export declare const mjBizAppsOrdersPaymentHeaderSchema: z.ZodObject<{
|
|
|
1259
1417
|
PaymentDate?: Date;
|
|
1260
1418
|
ProcessingFeeAmount?: number;
|
|
1261
1419
|
NetAmount?: number;
|
|
1262
|
-
PaymentIntentID?: string;
|
|
1263
1420
|
ProviderChargeID?: string;
|
|
1264
1421
|
ProviderRefundID?: string;
|
|
1265
1422
|
ReversesPaymentHeaderID?: string;
|
|
1266
1423
|
IdempotencyKey?: string;
|
|
1267
1424
|
ReceivingCompany?: string;
|
|
1268
|
-
PaymentIntent?: string;
|
|
1269
1425
|
ReversesPaymentHeader?: string;
|
|
1270
1426
|
}, {
|
|
1271
1427
|
ID?: string;
|
|
1272
1428
|
Description?: string;
|
|
1273
1429
|
__mj_CreatedAt?: Date;
|
|
1274
1430
|
__mj_UpdatedAt?: Date;
|
|
1431
|
+
PaymentIntentID?: string;
|
|
1432
|
+
Status?: "Pending" | "Captured" | "Disputed" | "Failed" | "Refunded";
|
|
1433
|
+
PaymentIntent?: string;
|
|
1275
1434
|
PaymentDetailID?: string;
|
|
1276
1435
|
PaymentDetail?: string;
|
|
1277
|
-
Status?: "Pending" | "Captured" | "Disputed" | "Failed" | "Refunded";
|
|
1278
1436
|
JournalEntryID?: string;
|
|
1279
1437
|
Amount?: number;
|
|
1280
1438
|
BillToPersonID?: string;
|
|
@@ -1293,13 +1451,11 @@ export declare const mjBizAppsOrdersPaymentHeaderSchema: z.ZodObject<{
|
|
|
1293
1451
|
PaymentDate?: Date;
|
|
1294
1452
|
ProcessingFeeAmount?: number;
|
|
1295
1453
|
NetAmount?: number;
|
|
1296
|
-
PaymentIntentID?: string;
|
|
1297
1454
|
ProviderChargeID?: string;
|
|
1298
1455
|
ProviderRefundID?: string;
|
|
1299
1456
|
ReversesPaymentHeaderID?: string;
|
|
1300
1457
|
IdempotencyKey?: string;
|
|
1301
1458
|
ReceivingCompany?: string;
|
|
1302
|
-
PaymentIntent?: string;
|
|
1303
1459
|
ReversesPaymentHeader?: string;
|
|
1304
1460
|
}>;
|
|
1305
1461
|
export type mjBizAppsOrdersPaymentHeaderEntityType = z.infer<typeof mjBizAppsOrdersPaymentHeaderSchema>;
|
|
@@ -1327,7 +1483,7 @@ export declare const mjBizAppsOrdersPaymentIntentSchema: z.ZodObject<{
|
|
|
1327
1483
|
ID?: string;
|
|
1328
1484
|
__mj_CreatedAt?: Date;
|
|
1329
1485
|
__mj_UpdatedAt?: Date;
|
|
1330
|
-
Status?: "
|
|
1486
|
+
Status?: "Processing" | "Failed" | "Canceled" | "RequiresPayment" | "Succeeded";
|
|
1331
1487
|
OrderHeaderID?: string;
|
|
1332
1488
|
Amount?: number;
|
|
1333
1489
|
OrderHeader?: string;
|
|
@@ -1344,7 +1500,7 @@ export declare const mjBizAppsOrdersPaymentIntentSchema: z.ZodObject<{
|
|
|
1344
1500
|
ID?: string;
|
|
1345
1501
|
__mj_CreatedAt?: Date;
|
|
1346
1502
|
__mj_UpdatedAt?: Date;
|
|
1347
|
-
Status?: "
|
|
1503
|
+
Status?: "Processing" | "Failed" | "Canceled" | "RequiresPayment" | "Succeeded";
|
|
1348
1504
|
OrderHeaderID?: string;
|
|
1349
1505
|
Amount?: number;
|
|
1350
1506
|
OrderHeader?: string;
|
|
@@ -1615,14 +1771,14 @@ export declare const mjBizAppsOrdersPriceListAssignmentSchema: z.ZodObject<{
|
|
|
1615
1771
|
ID?: string;
|
|
1616
1772
|
__mj_CreatedAt?: Date;
|
|
1617
1773
|
__mj_UpdatedAt?: Date;
|
|
1618
|
-
OrganizationID?: string;
|
|
1619
1774
|
PersonID?: string;
|
|
1775
|
+
Status?: "Active" | "Inactive";
|
|
1776
|
+
Person?: string;
|
|
1777
|
+
OrganizationID?: string;
|
|
1620
1778
|
StartedAt?: Date;
|
|
1621
1779
|
EndedAt?: Date;
|
|
1622
|
-
Status?: "Active" | "Inactive";
|
|
1623
1780
|
Comments?: string;
|
|
1624
1781
|
Organization?: string;
|
|
1625
|
-
Person?: string;
|
|
1626
1782
|
PriceListID?: string;
|
|
1627
1783
|
Priority?: number;
|
|
1628
1784
|
PriceList?: string;
|
|
@@ -1630,14 +1786,14 @@ export declare const mjBizAppsOrdersPriceListAssignmentSchema: z.ZodObject<{
|
|
|
1630
1786
|
ID?: string;
|
|
1631
1787
|
__mj_CreatedAt?: Date;
|
|
1632
1788
|
__mj_UpdatedAt?: Date;
|
|
1633
|
-
OrganizationID?: string;
|
|
1634
1789
|
PersonID?: string;
|
|
1790
|
+
Status?: "Active" | "Inactive";
|
|
1791
|
+
Person?: string;
|
|
1792
|
+
OrganizationID?: string;
|
|
1635
1793
|
StartedAt?: Date;
|
|
1636
1794
|
EndedAt?: Date;
|
|
1637
|
-
Status?: "Active" | "Inactive";
|
|
1638
1795
|
Comments?: string;
|
|
1639
1796
|
Organization?: string;
|
|
1640
|
-
Person?: string;
|
|
1641
1797
|
PriceListID?: string;
|
|
1642
1798
|
Priority?: number;
|
|
1643
1799
|
PriceList?: string;
|
|
@@ -1783,8 +1939,8 @@ export declare const mjBizAppsOrdersProductCategorySchema: z.ZodObject<{
|
|
|
1783
1939
|
__mj_CreatedAt?: Date;
|
|
1784
1940
|
__mj_UpdatedAt?: Date;
|
|
1785
1941
|
CompanyID?: string;
|
|
1786
|
-
PricingDriverClass?: string;
|
|
1787
1942
|
Company?: string;
|
|
1943
|
+
PricingDriverClass?: string;
|
|
1788
1944
|
ParentProductCategoryID?: string;
|
|
1789
1945
|
DefaultIsTaxable?: boolean;
|
|
1790
1946
|
DefaultTaxCategory?: string;
|
|
@@ -1806,8 +1962,8 @@ export declare const mjBizAppsOrdersProductCategorySchema: z.ZodObject<{
|
|
|
1806
1962
|
__mj_CreatedAt?: Date;
|
|
1807
1963
|
__mj_UpdatedAt?: Date;
|
|
1808
1964
|
CompanyID?: string;
|
|
1809
|
-
PricingDriverClass?: string;
|
|
1810
1965
|
Company?: string;
|
|
1966
|
+
PricingDriverClass?: string;
|
|
1811
1967
|
ParentProductCategoryID?: string;
|
|
1812
1968
|
DefaultIsTaxable?: boolean;
|
|
1813
1969
|
DefaultTaxCategory?: string;
|
|
@@ -1980,6 +2136,7 @@ export declare const mjBizAppsOrdersProductTypeSchema: z.ZodObject<{
|
|
|
1980
2136
|
__mj_CreatedAt: z.ZodDate;
|
|
1981
2137
|
__mj_UpdatedAt: z.ZodDate;
|
|
1982
2138
|
PricingDriverClass: z.ZodNullable<z.ZodString>;
|
|
2139
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
1983
2140
|
DefaultRevenueRecognitionType: z.ZodNullable<z.ZodString>;
|
|
1984
2141
|
DefaultSubscriptionType: z.ZodNullable<z.ZodString>;
|
|
1985
2142
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1990,6 +2147,7 @@ export declare const mjBizAppsOrdersProductTypeSchema: z.ZodObject<{
|
|
|
1990
2147
|
IsActive?: boolean;
|
|
1991
2148
|
__mj_CreatedAt?: Date;
|
|
1992
2149
|
__mj_UpdatedAt?: Date;
|
|
2150
|
+
Configuration?: string;
|
|
1993
2151
|
PricingDriverClass?: string;
|
|
1994
2152
|
DefaultIsTaxable?: boolean;
|
|
1995
2153
|
DefaultTaxCategory?: string;
|
|
@@ -2011,6 +2169,7 @@ export declare const mjBizAppsOrdersProductTypeSchema: z.ZodObject<{
|
|
|
2011
2169
|
IsActive?: boolean;
|
|
2012
2170
|
__mj_CreatedAt?: Date;
|
|
2013
2171
|
__mj_UpdatedAt?: Date;
|
|
2172
|
+
Configuration?: string;
|
|
2014
2173
|
PricingDriverClass?: string;
|
|
2015
2174
|
DefaultIsTaxable?: boolean;
|
|
2016
2175
|
DefaultTaxCategory?: string;
|
|
@@ -2065,8 +2224,9 @@ export declare const mjBizAppsOrdersProductSchema: z.ZodObject<{
|
|
|
2065
2224
|
Description?: string;
|
|
2066
2225
|
__mj_CreatedAt?: Date;
|
|
2067
2226
|
__mj_UpdatedAt?: Date;
|
|
2068
|
-
CompanyID?: string;
|
|
2069
2227
|
Status?: "Active" | "Draft" | "Discontinued" | "EOL";
|
|
2228
|
+
CompanyID?: string;
|
|
2229
|
+
Company?: string;
|
|
2070
2230
|
TaxCategory?: string;
|
|
2071
2231
|
SKU?: string;
|
|
2072
2232
|
ProductTypeID?: string;
|
|
@@ -2083,7 +2243,6 @@ export declare const mjBizAppsOrdersProductSchema: z.ZodObject<{
|
|
|
2083
2243
|
EntitlementValidityMode?: "EventWindow" | "FixedDuration" | "Perpetual" | "SubscriptionTerm";
|
|
2084
2244
|
PricingDriverClass?: string;
|
|
2085
2245
|
MaxQuantityPerLine?: number;
|
|
2086
|
-
Company?: string;
|
|
2087
2246
|
ProductType?: string;
|
|
2088
2247
|
ProductCategory?: string;
|
|
2089
2248
|
SuccessorProduct?: string;
|
|
@@ -2095,8 +2254,9 @@ export declare const mjBizAppsOrdersProductSchema: z.ZodObject<{
|
|
|
2095
2254
|
Description?: string;
|
|
2096
2255
|
__mj_CreatedAt?: Date;
|
|
2097
2256
|
__mj_UpdatedAt?: Date;
|
|
2098
|
-
CompanyID?: string;
|
|
2099
2257
|
Status?: "Active" | "Draft" | "Discontinued" | "EOL";
|
|
2258
|
+
CompanyID?: string;
|
|
2259
|
+
Company?: string;
|
|
2100
2260
|
TaxCategory?: string;
|
|
2101
2261
|
SKU?: string;
|
|
2102
2262
|
ProductTypeID?: string;
|
|
@@ -2113,7 +2273,6 @@ export declare const mjBizAppsOrdersProductSchema: z.ZodObject<{
|
|
|
2113
2273
|
EntitlementValidityMode?: "EventWindow" | "FixedDuration" | "Perpetual" | "SubscriptionTerm";
|
|
2114
2274
|
PricingDriverClass?: string;
|
|
2115
2275
|
MaxQuantityPerLine?: number;
|
|
2116
|
-
Company?: string;
|
|
2117
2276
|
ProductType?: string;
|
|
2118
2277
|
ProductCategory?: string;
|
|
2119
2278
|
SuccessorProduct?: string;
|
|
@@ -2144,7 +2303,7 @@ export declare const mjBizAppsOrdersPromotionCodeSchema: z.ZodObject<{
|
|
|
2144
2303
|
Code?: string;
|
|
2145
2304
|
__mj_CreatedAt?: Date;
|
|
2146
2305
|
__mj_UpdatedAt?: Date;
|
|
2147
|
-
Status?: "
|
|
2306
|
+
Status?: "Expired" | "Active" | "Inactive";
|
|
2148
2307
|
PromotionID?: string;
|
|
2149
2308
|
Promotion?: string;
|
|
2150
2309
|
EffectiveFrom?: Date;
|
|
@@ -2159,7 +2318,7 @@ export declare const mjBizAppsOrdersPromotionCodeSchema: z.ZodObject<{
|
|
|
2159
2318
|
Code?: string;
|
|
2160
2319
|
__mj_CreatedAt?: Date;
|
|
2161
2320
|
__mj_UpdatedAt?: Date;
|
|
2162
|
-
Status?: "
|
|
2321
|
+
Status?: "Expired" | "Active" | "Inactive";
|
|
2163
2322
|
PromotionID?: string;
|
|
2164
2323
|
Promotion?: string;
|
|
2165
2324
|
EffectiveFrom?: Date;
|
|
@@ -2278,8 +2437,8 @@ export declare const mjBizAppsOrdersPromotionSchema: z.ZodObject<{
|
|
|
2278
2437
|
Description?: string;
|
|
2279
2438
|
__mj_CreatedAt?: Date;
|
|
2280
2439
|
__mj_UpdatedAt?: Date;
|
|
2440
|
+
Status?: "Expired" | "Active" | "Draft" | "Paused";
|
|
2281
2441
|
CompanyID?: string;
|
|
2282
|
-
Status?: "Active" | "Expired" | "Draft" | "Paused";
|
|
2283
2442
|
Company?: string;
|
|
2284
2443
|
EffectiveFrom?: Date;
|
|
2285
2444
|
EffectiveTo?: Date;
|
|
@@ -2305,8 +2464,8 @@ export declare const mjBizAppsOrdersPromotionSchema: z.ZodObject<{
|
|
|
2305
2464
|
Description?: string;
|
|
2306
2465
|
__mj_CreatedAt?: Date;
|
|
2307
2466
|
__mj_UpdatedAt?: Date;
|
|
2467
|
+
Status?: "Expired" | "Active" | "Draft" | "Paused";
|
|
2308
2468
|
CompanyID?: string;
|
|
2309
|
-
Status?: "Active" | "Expired" | "Draft" | "Paused";
|
|
2310
2469
|
Company?: string;
|
|
2311
2470
|
EffectiveFrom?: Date;
|
|
2312
2471
|
EffectiveTo?: Date;
|
|
@@ -2471,7 +2630,8 @@ export declare const mjBizAppsOrdersStoredValueAccountSchema: z.ZodObject<{
|
|
|
2471
2630
|
Code?: string;
|
|
2472
2631
|
__mj_CreatedAt?: Date;
|
|
2473
2632
|
__mj_UpdatedAt?: Date;
|
|
2474
|
-
Status?: "
|
|
2633
|
+
Status?: "Expired" | "Active" | "Suspended" | "Voided" | "Depleted";
|
|
2634
|
+
ExpiresAt?: Date;
|
|
2475
2635
|
BeneficiaryPersonID?: string;
|
|
2476
2636
|
BeneficiaryOrganizationID?: string;
|
|
2477
2637
|
BeneficiaryPerson?: string;
|
|
@@ -2480,14 +2640,14 @@ export declare const mjBizAppsOrdersStoredValueAccountSchema: z.ZodObject<{
|
|
|
2480
2640
|
InitialAmount?: number;
|
|
2481
2641
|
CurrentBalance?: number;
|
|
2482
2642
|
IssuedFromOrderLineID?: string;
|
|
2483
|
-
ExpiresAt?: Date;
|
|
2484
2643
|
IssuingCompany?: string;
|
|
2485
2644
|
}, {
|
|
2486
2645
|
ID?: string;
|
|
2487
2646
|
Code?: string;
|
|
2488
2647
|
__mj_CreatedAt?: Date;
|
|
2489
2648
|
__mj_UpdatedAt?: Date;
|
|
2490
|
-
Status?: "
|
|
2649
|
+
Status?: "Expired" | "Active" | "Suspended" | "Voided" | "Depleted";
|
|
2650
|
+
ExpiresAt?: Date;
|
|
2491
2651
|
BeneficiaryPersonID?: string;
|
|
2492
2652
|
BeneficiaryOrganizationID?: string;
|
|
2493
2653
|
BeneficiaryPerson?: string;
|
|
@@ -2496,7 +2656,6 @@ export declare const mjBizAppsOrdersStoredValueAccountSchema: z.ZodObject<{
|
|
|
2496
2656
|
InitialAmount?: number;
|
|
2497
2657
|
CurrentBalance?: number;
|
|
2498
2658
|
IssuedFromOrderLineID?: string;
|
|
2499
|
-
ExpiresAt?: Date;
|
|
2500
2659
|
IssuingCompany?: string;
|
|
2501
2660
|
}>;
|
|
2502
2661
|
export type mjBizAppsOrdersStoredValueAccountEntityType = z.infer<typeof mjBizAppsOrdersStoredValueAccountSchema>;
|
|
@@ -2717,7 +2876,7 @@ export declare const mjBizAppsOrdersSubscriptionTypeSchema: z.ZodObject<{
|
|
|
2717
2876
|
__mj_CreatedAt?: Date;
|
|
2718
2877
|
__mj_UpdatedAt?: Date;
|
|
2719
2878
|
DriverClass?: string;
|
|
2720
|
-
SubscriberScope?: "
|
|
2879
|
+
SubscriberScope?: "Person" | "Organization" | "Either";
|
|
2721
2880
|
BenefitModel?: "Organization" | "Holder" | "Individual";
|
|
2722
2881
|
StartMode?: "CalendarAnchored" | "Deferred" | "Immediate";
|
|
2723
2882
|
DeferredStartDays?: number;
|
|
@@ -2748,7 +2907,7 @@ export declare const mjBizAppsOrdersSubscriptionTypeSchema: z.ZodObject<{
|
|
|
2748
2907
|
__mj_CreatedAt?: Date;
|
|
2749
2908
|
__mj_UpdatedAt?: Date;
|
|
2750
2909
|
DriverClass?: string;
|
|
2751
|
-
SubscriberScope?: "
|
|
2910
|
+
SubscriberScope?: "Person" | "Organization" | "Either";
|
|
2752
2911
|
BenefitModel?: "Organization" | "Holder" | "Individual";
|
|
2753
2912
|
StartMode?: "CalendarAnchored" | "Deferred" | "Immediate";
|
|
2754
2913
|
DeferredStartDays?: number;
|
|
@@ -2808,14 +2967,14 @@ export declare const mjBizAppsOrdersSubscriptionSchema: z.ZodObject<{
|
|
|
2808
2967
|
ID?: string;
|
|
2809
2968
|
__mj_CreatedAt?: Date;
|
|
2810
2969
|
__mj_UpdatedAt?: Date;
|
|
2811
|
-
CompanyID?: string;
|
|
2812
2970
|
Status?: "Active" | "Canceled" | "Paused" | "Migrated" | "Trialing";
|
|
2971
|
+
CompanyID?: string;
|
|
2972
|
+
Company?: string;
|
|
2813
2973
|
OrderLineID?: string;
|
|
2814
2974
|
BeneficiaryPersonID?: string;
|
|
2815
2975
|
BeneficiaryPerson?: string;
|
|
2816
2976
|
ProductID?: string;
|
|
2817
2977
|
SubscriptionTypeID?: string;
|
|
2818
|
-
Company?: string;
|
|
2819
2978
|
Product?: string;
|
|
2820
2979
|
PaymentProviderID?: string;
|
|
2821
2980
|
PaymentProvider?: string;
|
|
@@ -2838,14 +2997,14 @@ export declare const mjBizAppsOrdersSubscriptionSchema: z.ZodObject<{
|
|
|
2838
2997
|
ID?: string;
|
|
2839
2998
|
__mj_CreatedAt?: Date;
|
|
2840
2999
|
__mj_UpdatedAt?: Date;
|
|
2841
|
-
CompanyID?: string;
|
|
2842
3000
|
Status?: "Active" | "Canceled" | "Paused" | "Migrated" | "Trialing";
|
|
3001
|
+
CompanyID?: string;
|
|
3002
|
+
Company?: string;
|
|
2843
3003
|
OrderLineID?: string;
|
|
2844
3004
|
BeneficiaryPersonID?: string;
|
|
2845
3005
|
BeneficiaryPerson?: string;
|
|
2846
3006
|
ProductID?: string;
|
|
2847
3007
|
SubscriptionTypeID?: string;
|
|
2848
|
-
Company?: string;
|
|
2849
3008
|
Product?: string;
|
|
2850
3009
|
PaymentProviderID?: string;
|
|
2851
3010
|
PaymentProvider?: string;
|
|
@@ -2867,25 +3026,418 @@ export declare const mjBizAppsOrdersSubscriptionSchema: z.ZodObject<{
|
|
|
2867
3026
|
}>;
|
|
2868
3027
|
export type mjBizAppsOrdersSubscriptionEntityType = z.infer<typeof mjBizAppsOrdersSubscriptionSchema>;
|
|
2869
3028
|
/**
|
|
2870
|
-
* MJ_BizApps_Orders: Charge Types - strongly typed entity sub-class
|
|
3029
|
+
* MJ_BizApps_Orders: Charge Types - strongly typed entity sub-class
|
|
3030
|
+
* * Schema: __mj_BizAppsOrders
|
|
3031
|
+
* * Base Table: ChargeType
|
|
3032
|
+
* * Base View: vwChargeTypes
|
|
3033
|
+
* * @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.
|
|
3034
|
+
* * Primary Key: ID
|
|
3035
|
+
* @extends {BaseEntity}
|
|
3036
|
+
* @class
|
|
3037
|
+
* @public
|
|
3038
|
+
*/
|
|
3039
|
+
export declare class mjBizAppsOrdersChargeTypeEntity extends BaseEntity<mjBizAppsOrdersChargeTypeEntityType> {
|
|
3040
|
+
/**
|
|
3041
|
+
* Loads the MJ_BizApps_Orders: Charge Types record from the database
|
|
3042
|
+
* @param ID: string - primary key value to load the MJ_BizApps_Orders: Charge Types record.
|
|
3043
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
3044
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
3045
|
+
* @public
|
|
3046
|
+
* @async
|
|
3047
|
+
* @memberof mjBizAppsOrdersChargeTypeEntity
|
|
3048
|
+
* @method
|
|
3049
|
+
* @override
|
|
3050
|
+
*/
|
|
3051
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
3052
|
+
/**
|
|
3053
|
+
* * Field Name: ID
|
|
3054
|
+
* * Display Name: ID
|
|
3055
|
+
* * SQL Data Type: uniqueidentifier
|
|
3056
|
+
* * Default Value: newsequentialid()
|
|
3057
|
+
*/
|
|
3058
|
+
get ID(): string;
|
|
3059
|
+
set ID(value: string);
|
|
3060
|
+
/**
|
|
3061
|
+
* * Field Name: Code
|
|
3062
|
+
* * Display Name: Code
|
|
3063
|
+
* * SQL Data Type: nvarchar(40)
|
|
3064
|
+
*/
|
|
3065
|
+
get Code(): string;
|
|
3066
|
+
set Code(value: string);
|
|
3067
|
+
/**
|
|
3068
|
+
* * Field Name: Name
|
|
3069
|
+
* * Display Name: Name
|
|
3070
|
+
* * SQL Data Type: nvarchar(200)
|
|
3071
|
+
*/
|
|
3072
|
+
get Name(): string;
|
|
3073
|
+
set Name(value: string);
|
|
3074
|
+
/**
|
|
3075
|
+
* * Field Name: Description
|
|
3076
|
+
* * Display Name: Description
|
|
3077
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
3078
|
+
*/
|
|
3079
|
+
get Description(): string | null;
|
|
3080
|
+
set Description(value: string | null);
|
|
3081
|
+
/**
|
|
3082
|
+
* * Field Name: Category
|
|
3083
|
+
* * Display Name: Category
|
|
3084
|
+
* * SQL Data Type: nvarchar(20)
|
|
3085
|
+
* * Value List Type: List
|
|
3086
|
+
* * Possible Values
|
|
3087
|
+
* * Fee
|
|
3088
|
+
* * Handling
|
|
3089
|
+
* * Shipping
|
|
3090
|
+
* * Surcharge
|
|
3091
|
+
* * Tax
|
|
3092
|
+
* * Description: Shipping | Handling | Tax | Surcharge | Fee.
|
|
3093
|
+
*/
|
|
3094
|
+
get Category(): 'Fee' | 'Handling' | 'Shipping' | 'Surcharge' | 'Tax';
|
|
3095
|
+
set Category(value: 'Fee' | 'Handling' | 'Shipping' | 'Surcharge' | 'Tax');
|
|
3096
|
+
/**
|
|
3097
|
+
* * Field Name: Basis
|
|
3098
|
+
* * Display Name: Basis
|
|
3099
|
+
* * SQL Data Type: nvarchar(30)
|
|
3100
|
+
* * Default Value: LineNet
|
|
3101
|
+
* * Value List Type: List
|
|
3102
|
+
* * Possible Values
|
|
3103
|
+
* * Flat
|
|
3104
|
+
* * LineNet
|
|
3105
|
+
* * LineNetPlusCharges
|
|
3106
|
+
* * OrderNet
|
|
3107
|
+
* * 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.
|
|
3108
|
+
*/
|
|
3109
|
+
get Basis(): 'Flat' | 'LineNet' | 'LineNetPlusCharges' | 'OrderNet';
|
|
3110
|
+
set Basis(value: 'Flat' | 'LineNet' | 'LineNetPlusCharges' | 'OrderNet');
|
|
3111
|
+
/**
|
|
3112
|
+
* * Field Name: Sequence
|
|
3113
|
+
* * Display Name: Sequence
|
|
3114
|
+
* * SQL Data Type: int
|
|
3115
|
+
* * Default Value: 0
|
|
3116
|
+
* * Description: Application order. Charges compute in this order and later ones may build on earlier ones via Basis.
|
|
3117
|
+
*/
|
|
3118
|
+
get Sequence(): number;
|
|
3119
|
+
set Sequence(value: number);
|
|
3120
|
+
/**
|
|
3121
|
+
* * Field Name: AllowsOverride
|
|
3122
|
+
* * Display Name: Allows Override
|
|
3123
|
+
* * SQL Data Type: bit
|
|
3124
|
+
* * Default Value: 1
|
|
3125
|
+
* * Description: Whether a human may override a computed charge of this type.
|
|
3126
|
+
*/
|
|
3127
|
+
get AllowsOverride(): boolean;
|
|
3128
|
+
set AllowsOverride(value: boolean);
|
|
3129
|
+
/**
|
|
3130
|
+
* * Field Name: IsActive
|
|
3131
|
+
* * Display Name: Is Active
|
|
3132
|
+
* * SQL Data Type: bit
|
|
3133
|
+
* * Default Value: 1
|
|
3134
|
+
*/
|
|
3135
|
+
get IsActive(): boolean;
|
|
3136
|
+
set IsActive(value: boolean);
|
|
3137
|
+
/**
|
|
3138
|
+
* * Field Name: __mj_CreatedAt
|
|
3139
|
+
* * Display Name: Created At
|
|
3140
|
+
* * SQL Data Type: datetimeoffset
|
|
3141
|
+
* * Default Value: getutcdate()
|
|
3142
|
+
*/
|
|
3143
|
+
get __mj_CreatedAt(): Date;
|
|
3144
|
+
/**
|
|
3145
|
+
* * Field Name: __mj_UpdatedAt
|
|
3146
|
+
* * Display Name: Updated At
|
|
3147
|
+
* * SQL Data Type: datetimeoffset
|
|
3148
|
+
* * Default Value: getutcdate()
|
|
3149
|
+
*/
|
|
3150
|
+
get __mj_UpdatedAt(): Date;
|
|
3151
|
+
}
|
|
3152
|
+
/**
|
|
3153
|
+
* MJ_BizApps_Orders: Checkout Sessions - strongly typed entity sub-class
|
|
3154
|
+
* * Schema: __mj_BizAppsOrders
|
|
3155
|
+
* * Base Table: CheckoutSession
|
|
3156
|
+
* * Base View: vwCheckoutSessions
|
|
3157
|
+
* * @description Server-side state tracking for an anonymous or authenticated checkout attempt, linking client session key to draft orders and payment intents.
|
|
3158
|
+
* * Primary Key: ID
|
|
3159
|
+
* @extends {BaseEntity}
|
|
3160
|
+
* @class
|
|
3161
|
+
* @public
|
|
3162
|
+
*/
|
|
3163
|
+
export declare class mjBizAppsOrdersCheckoutSessionEntity extends BaseEntity<mjBizAppsOrdersCheckoutSessionEntityType> {
|
|
3164
|
+
/**
|
|
3165
|
+
* Loads the MJ_BizApps_Orders: Checkout Sessions record from the database
|
|
3166
|
+
* @param ID: string - primary key value to load the MJ_BizApps_Orders: Checkout Sessions record.
|
|
3167
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
3168
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
3169
|
+
* @public
|
|
3170
|
+
* @async
|
|
3171
|
+
* @memberof mjBizAppsOrdersCheckoutSessionEntity
|
|
3172
|
+
* @method
|
|
3173
|
+
* @override
|
|
3174
|
+
*/
|
|
3175
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
3176
|
+
/**
|
|
3177
|
+
* * Field Name: ID
|
|
3178
|
+
* * Display Name: ID
|
|
3179
|
+
* * SQL Data Type: uniqueidentifier
|
|
3180
|
+
* * Default Value: newsequentialid()
|
|
3181
|
+
*/
|
|
3182
|
+
get ID(): string;
|
|
3183
|
+
set ID(value: string);
|
|
3184
|
+
/**
|
|
3185
|
+
* * Field Name: CheckoutWidgetID
|
|
3186
|
+
* * Display Name: Checkout Widget ID
|
|
3187
|
+
* * SQL Data Type: uniqueidentifier
|
|
3188
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Checkout Widgets (vwCheckoutWidgets.ID)
|
|
3189
|
+
*/
|
|
3190
|
+
get CheckoutWidgetID(): string;
|
|
3191
|
+
set CheckoutWidgetID(value: string);
|
|
3192
|
+
/**
|
|
3193
|
+
* * Field Name: DistributionID
|
|
3194
|
+
* * Display Name: Distribution ID
|
|
3195
|
+
* * SQL Data Type: uniqueidentifier
|
|
3196
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Checkout Widget Distributions (vwCheckoutWidgetDistributions.ID)
|
|
3197
|
+
*/
|
|
3198
|
+
get DistributionID(): string | null;
|
|
3199
|
+
set DistributionID(value: string | null);
|
|
3200
|
+
/**
|
|
3201
|
+
* * Field Name: ClientSessionKey
|
|
3202
|
+
* * Display Name: Client Session Key
|
|
3203
|
+
* * SQL Data Type: nvarchar(100)
|
|
3204
|
+
*/
|
|
3205
|
+
get ClientSessionKey(): string;
|
|
3206
|
+
set ClientSessionKey(value: string);
|
|
3207
|
+
/**
|
|
3208
|
+
* * Field Name: Email
|
|
3209
|
+
* * Display Name: Email
|
|
3210
|
+
* * SQL Data Type: nvarchar(255)
|
|
3211
|
+
*/
|
|
3212
|
+
get Email(): string | null;
|
|
3213
|
+
set Email(value: string | null);
|
|
3214
|
+
/**
|
|
3215
|
+
* * Field Name: PersonID
|
|
3216
|
+
* * Display Name: Person ID
|
|
3217
|
+
* * SQL Data Type: uniqueidentifier
|
|
3218
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)
|
|
3219
|
+
*/
|
|
3220
|
+
get PersonID(): string | null;
|
|
3221
|
+
set PersonID(value: string | null);
|
|
3222
|
+
/**
|
|
3223
|
+
* * Field Name: DraftOrderID
|
|
3224
|
+
* * Display Name: Draft Order ID
|
|
3225
|
+
* * SQL Data Type: uniqueidentifier
|
|
3226
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Order Headers (vwOrderHeaders.ID)
|
|
3227
|
+
*/
|
|
3228
|
+
get DraftOrderID(): string | null;
|
|
3229
|
+
set DraftOrderID(value: string | null);
|
|
3230
|
+
/**
|
|
3231
|
+
* * Field Name: PaymentIntentID
|
|
3232
|
+
* * Display Name: Payment Intent ID
|
|
3233
|
+
* * SQL Data Type: uniqueidentifier
|
|
3234
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Payment Intents (vwPaymentIntents.ID)
|
|
3235
|
+
*/
|
|
3236
|
+
get PaymentIntentID(): string | null;
|
|
3237
|
+
set PaymentIntentID(value: string | null);
|
|
3238
|
+
/**
|
|
3239
|
+
* * Field Name: Status
|
|
3240
|
+
* * Display Name: Status
|
|
3241
|
+
* * SQL Data Type: nvarchar(20)
|
|
3242
|
+
* * Default Value: Open
|
|
3243
|
+
* * Value List Type: List
|
|
3244
|
+
* * Possible Values
|
|
3245
|
+
* * Abandoned
|
|
3246
|
+
* * Confirmed
|
|
3247
|
+
* * Expired
|
|
3248
|
+
* * Open
|
|
3249
|
+
* * Processing
|
|
3250
|
+
*/
|
|
3251
|
+
get Status(): 'Abandoned' | 'Confirmed' | 'Expired' | 'Open' | 'Processing';
|
|
3252
|
+
set Status(value: 'Abandoned' | 'Confirmed' | 'Expired' | 'Open' | 'Processing');
|
|
3253
|
+
/**
|
|
3254
|
+
* * Field Name: ExpiresAt
|
|
3255
|
+
* * Display Name: Expires At
|
|
3256
|
+
* * SQL Data Type: datetimeoffset
|
|
3257
|
+
*/
|
|
3258
|
+
get ExpiresAt(): Date;
|
|
3259
|
+
set ExpiresAt(value: Date);
|
|
3260
|
+
/**
|
|
3261
|
+
* * Field Name: MetadataJSON
|
|
3262
|
+
* * Display Name: Metadata JSON
|
|
3263
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
3264
|
+
*/
|
|
3265
|
+
get MetadataJSON(): string | null;
|
|
3266
|
+
set MetadataJSON(value: string | null);
|
|
3267
|
+
/**
|
|
3268
|
+
* * Field Name: __mj_CreatedAt
|
|
3269
|
+
* * Display Name: Created At
|
|
3270
|
+
* * SQL Data Type: datetimeoffset
|
|
3271
|
+
* * Default Value: getutcdate()
|
|
3272
|
+
*/
|
|
3273
|
+
get __mj_CreatedAt(): Date;
|
|
3274
|
+
/**
|
|
3275
|
+
* * Field Name: __mj_UpdatedAt
|
|
3276
|
+
* * Display Name: Updated At
|
|
3277
|
+
* * SQL Data Type: datetimeoffset
|
|
3278
|
+
* * Default Value: getutcdate()
|
|
3279
|
+
*/
|
|
3280
|
+
get __mj_UpdatedAt(): Date;
|
|
3281
|
+
/**
|
|
3282
|
+
* * Field Name: CheckoutWidget
|
|
3283
|
+
* * Display Name: Checkout Widget
|
|
3284
|
+
* * SQL Data Type: nvarchar(100)
|
|
3285
|
+
*/
|
|
3286
|
+
get CheckoutWidget(): string;
|
|
3287
|
+
/**
|
|
3288
|
+
* * Field Name: Distribution
|
|
3289
|
+
* * Display Name: Distribution
|
|
3290
|
+
* * SQL Data Type: nvarchar(255)
|
|
3291
|
+
*/
|
|
3292
|
+
get Distribution(): string | null;
|
|
3293
|
+
/**
|
|
3294
|
+
* * Field Name: Person
|
|
3295
|
+
* * Display Name: Person
|
|
3296
|
+
* * SQL Data Type: nvarchar(201)
|
|
3297
|
+
*/
|
|
3298
|
+
get Person(): string | null;
|
|
3299
|
+
/**
|
|
3300
|
+
* * Field Name: DraftOrder
|
|
3301
|
+
* * Display Name: Draft Order
|
|
3302
|
+
* * SQL Data Type: nvarchar(40)
|
|
3303
|
+
*/
|
|
3304
|
+
get DraftOrder(): string | null;
|
|
3305
|
+
/**
|
|
3306
|
+
* * Field Name: PaymentIntent
|
|
3307
|
+
* * Display Name: Payment Intent
|
|
3308
|
+
* * SQL Data Type: nvarchar(100)
|
|
3309
|
+
*/
|
|
3310
|
+
get PaymentIntent(): string | null;
|
|
3311
|
+
}
|
|
3312
|
+
/**
|
|
3313
|
+
* MJ_BizApps_Orders: Checkout Widget Distributions - strongly typed entity sub-class
|
|
3314
|
+
* * Schema: __mj_BizAppsOrders
|
|
3315
|
+
* * Base Table: CheckoutWidgetDistribution
|
|
3316
|
+
* * Base View: vwCheckoutWidgetDistributions
|
|
3317
|
+
* * @description Public distribution endpoint for a CheckoutWidget, wrapping an anonymous scoped magic link invite and vanity slug with instant revocation capability.
|
|
3318
|
+
* * Primary Key: ID
|
|
3319
|
+
* @extends {BaseEntity}
|
|
3320
|
+
* @class
|
|
3321
|
+
* @public
|
|
3322
|
+
*/
|
|
3323
|
+
export declare class mjBizAppsOrdersCheckoutWidgetDistributionEntity extends BaseEntity<mjBizAppsOrdersCheckoutWidgetDistributionEntityType> {
|
|
3324
|
+
/**
|
|
3325
|
+
* Loads the MJ_BizApps_Orders: Checkout Widget Distributions record from the database
|
|
3326
|
+
* @param ID: string - primary key value to load the MJ_BizApps_Orders: Checkout Widget Distributions record.
|
|
3327
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
3328
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
3329
|
+
* @public
|
|
3330
|
+
* @async
|
|
3331
|
+
* @memberof mjBizAppsOrdersCheckoutWidgetDistributionEntity
|
|
3332
|
+
* @method
|
|
3333
|
+
* @override
|
|
3334
|
+
*/
|
|
3335
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
3336
|
+
/**
|
|
3337
|
+
* * Field Name: ID
|
|
3338
|
+
* * Display Name: ID
|
|
3339
|
+
* * SQL Data Type: uniqueidentifier
|
|
3340
|
+
* * Default Value: newsequentialid()
|
|
3341
|
+
*/
|
|
3342
|
+
get ID(): string;
|
|
3343
|
+
set ID(value: string);
|
|
3344
|
+
/**
|
|
3345
|
+
* * Field Name: CheckoutWidgetID
|
|
3346
|
+
* * Display Name: Checkout Widget
|
|
3347
|
+
* * SQL Data Type: uniqueidentifier
|
|
3348
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Checkout Widgets (vwCheckoutWidgets.ID)
|
|
3349
|
+
*/
|
|
3350
|
+
get CheckoutWidgetID(): string;
|
|
3351
|
+
set CheckoutWidgetID(value: string);
|
|
3352
|
+
/**
|
|
3353
|
+
* * Field Name: Slug
|
|
3354
|
+
* * Display Name: Vanity Slug
|
|
3355
|
+
* * SQL Data Type: nvarchar(255)
|
|
3356
|
+
*/
|
|
3357
|
+
get Slug(): string;
|
|
3358
|
+
set Slug(value: string);
|
|
3359
|
+
/**
|
|
3360
|
+
* * Field Name: MagicLinkInviteID
|
|
3361
|
+
* * Display Name: Magic Link Invite
|
|
3362
|
+
* * SQL Data Type: uniqueidentifier
|
|
3363
|
+
* * Related Entity/Foreign Key: MJ: Magic Link Invites (vwMagicLinkInvites.ID)
|
|
3364
|
+
*/
|
|
3365
|
+
get MagicLinkInviteID(): string | null;
|
|
3366
|
+
set MagicLinkInviteID(value: string | null);
|
|
3367
|
+
/**
|
|
3368
|
+
* * Field Name: Status
|
|
3369
|
+
* * Display Name: Status
|
|
3370
|
+
* * SQL Data Type: nvarchar(20)
|
|
3371
|
+
* * Default Value: Active
|
|
3372
|
+
* * Value List Type: List
|
|
3373
|
+
* * Possible Values
|
|
3374
|
+
* * Active
|
|
3375
|
+
* * Revoked
|
|
3376
|
+
*/
|
|
3377
|
+
get Status(): 'Active' | 'Revoked';
|
|
3378
|
+
set Status(value: 'Active' | 'Revoked');
|
|
3379
|
+
/**
|
|
3380
|
+
* * Field Name: RevokedAt
|
|
3381
|
+
* * Display Name: Revoked At
|
|
3382
|
+
* * SQL Data Type: datetimeoffset
|
|
3383
|
+
*/
|
|
3384
|
+
get RevokedAt(): Date | null;
|
|
3385
|
+
set RevokedAt(value: Date | null);
|
|
3386
|
+
/**
|
|
3387
|
+
* * Field Name: RevocationReason
|
|
3388
|
+
* * Display Name: Revocation Reason
|
|
3389
|
+
* * SQL Data Type: nvarchar(500)
|
|
3390
|
+
*/
|
|
3391
|
+
get RevocationReason(): string | null;
|
|
3392
|
+
set RevocationReason(value: string | null);
|
|
3393
|
+
/**
|
|
3394
|
+
* * Field Name: EmbedSnippet
|
|
3395
|
+
* * Display Name: Embed Snippet
|
|
3396
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
3397
|
+
*/
|
|
3398
|
+
get EmbedSnippet(): string | null;
|
|
3399
|
+
set EmbedSnippet(value: string | null);
|
|
3400
|
+
/**
|
|
3401
|
+
* * Field Name: __mj_CreatedAt
|
|
3402
|
+
* * Display Name: Created At
|
|
3403
|
+
* * SQL Data Type: datetimeoffset
|
|
3404
|
+
* * Default Value: getutcdate()
|
|
3405
|
+
*/
|
|
3406
|
+
get __mj_CreatedAt(): Date;
|
|
3407
|
+
/**
|
|
3408
|
+
* * Field Name: __mj_UpdatedAt
|
|
3409
|
+
* * Display Name: Updated At
|
|
3410
|
+
* * SQL Data Type: datetimeoffset
|
|
3411
|
+
* * Default Value: getutcdate()
|
|
3412
|
+
*/
|
|
3413
|
+
get __mj_UpdatedAt(): Date;
|
|
3414
|
+
/**
|
|
3415
|
+
* * Field Name: CheckoutWidget
|
|
3416
|
+
* * Display Name: Checkout Widget Name
|
|
3417
|
+
* * SQL Data Type: nvarchar(100)
|
|
3418
|
+
*/
|
|
3419
|
+
get CheckoutWidget(): string;
|
|
3420
|
+
}
|
|
3421
|
+
/**
|
|
3422
|
+
* MJ_BizApps_Orders: Checkout Widgets - strongly typed entity sub-class
|
|
2871
3423
|
* * Schema: __mj_BizAppsOrders
|
|
2872
|
-
* * Base Table:
|
|
2873
|
-
* * Base View:
|
|
2874
|
-
* * @description
|
|
3424
|
+
* * Base Table: CheckoutWidget
|
|
3425
|
+
* * Base View: vwCheckoutWidgets
|
|
3426
|
+
* * @description Metadata configuration for an embeddable checkout widget instance. Specifies selling company, product lines, layout rules, theme variables, and security policies.
|
|
2875
3427
|
* * Primary Key: ID
|
|
2876
3428
|
* @extends {BaseEntity}
|
|
2877
3429
|
* @class
|
|
2878
3430
|
* @public
|
|
2879
3431
|
*/
|
|
2880
|
-
export declare class
|
|
3432
|
+
export declare class mjBizAppsOrdersCheckoutWidgetEntity extends BaseEntity<mjBizAppsOrdersCheckoutWidgetEntityType> {
|
|
2881
3433
|
/**
|
|
2882
|
-
* Loads the MJ_BizApps_Orders:
|
|
2883
|
-
* @param ID: string - primary key value to load the MJ_BizApps_Orders:
|
|
3434
|
+
* Loads the MJ_BizApps_Orders: Checkout Widgets record from the database
|
|
3435
|
+
* @param ID: string - primary key value to load the MJ_BizApps_Orders: Checkout Widgets record.
|
|
2884
3436
|
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
2885
3437
|
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
2886
3438
|
* @public
|
|
2887
3439
|
* @async
|
|
2888
|
-
* @memberof
|
|
3440
|
+
* @memberof mjBizAppsOrdersCheckoutWidgetEntity
|
|
2889
3441
|
* @method
|
|
2890
3442
|
* @override
|
|
2891
3443
|
*/
|
|
@@ -2899,16 +3451,9 @@ export declare class mjBizAppsOrdersChargeTypeEntity extends BaseEntity<mjBizApp
|
|
|
2899
3451
|
get ID(): string;
|
|
2900
3452
|
set ID(value: string);
|
|
2901
3453
|
/**
|
|
2902
|
-
* * Field Name: Code
|
|
2903
|
-
* * Display Name: Code
|
|
2904
|
-
* * SQL Data Type: nvarchar(40)
|
|
2905
|
-
*/
|
|
2906
|
-
get Code(): string;
|
|
2907
|
-
set Code(value: string);
|
|
2908
|
-
/**
|
|
2909
3454
|
* * Field Name: Name
|
|
2910
3455
|
* * Display Name: Name
|
|
2911
|
-
* * SQL Data Type: nvarchar(
|
|
3456
|
+
* * SQL Data Type: nvarchar(100)
|
|
2912
3457
|
*/
|
|
2913
3458
|
get Name(): string;
|
|
2914
3459
|
set Name(value: string);
|
|
@@ -2920,61 +3465,47 @@ export declare class mjBizAppsOrdersChargeTypeEntity extends BaseEntity<mjBizApp
|
|
|
2920
3465
|
get Description(): string | null;
|
|
2921
3466
|
set Description(value: string | null);
|
|
2922
3467
|
/**
|
|
2923
|
-
* * Field Name:
|
|
2924
|
-
* * Display Name:
|
|
2925
|
-
* * SQL Data Type:
|
|
2926
|
-
* *
|
|
2927
|
-
* * Possible Values
|
|
2928
|
-
* * Fee
|
|
2929
|
-
* * Handling
|
|
2930
|
-
* * Shipping
|
|
2931
|
-
* * Surcharge
|
|
2932
|
-
* * Tax
|
|
2933
|
-
* * Description: Shipping | Handling | Tax | Surcharge | Fee.
|
|
3468
|
+
* * Field Name: CompanyID
|
|
3469
|
+
* * Display Name: Company ID
|
|
3470
|
+
* * SQL Data Type: uniqueidentifier
|
|
3471
|
+
* * Related Entity/Foreign Key: MJ: Companies (vwCompanies.ID)
|
|
2934
3472
|
*/
|
|
2935
|
-
get
|
|
2936
|
-
set
|
|
3473
|
+
get CompanyID(): string;
|
|
3474
|
+
set CompanyID(value: string);
|
|
2937
3475
|
/**
|
|
2938
|
-
* * Field Name:
|
|
2939
|
-
* * Display Name:
|
|
2940
|
-
* * SQL Data Type: nvarchar(
|
|
2941
|
-
* * Default Value:
|
|
3476
|
+
* * Field Name: Status
|
|
3477
|
+
* * Display Name: Status
|
|
3478
|
+
* * SQL Data Type: nvarchar(20)
|
|
3479
|
+
* * Default Value: Draft
|
|
2942
3480
|
* * Value List Type: List
|
|
2943
3481
|
* * Possible Values
|
|
2944
|
-
* *
|
|
2945
|
-
* *
|
|
2946
|
-
* *
|
|
2947
|
-
* * OrderNet
|
|
2948
|
-
* * 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.
|
|
3482
|
+
* * Active
|
|
3483
|
+
* * Disabled
|
|
3484
|
+
* * Draft
|
|
2949
3485
|
*/
|
|
2950
|
-
get
|
|
2951
|
-
set
|
|
3486
|
+
get Status(): 'Active' | 'Disabled' | 'Draft';
|
|
3487
|
+
set Status(value: 'Active' | 'Disabled' | 'Draft');
|
|
2952
3488
|
/**
|
|
2953
|
-
* * Field Name:
|
|
2954
|
-
* * Display Name:
|
|
2955
|
-
* * SQL Data Type:
|
|
2956
|
-
* * Default Value: 0
|
|
2957
|
-
* * Description: Application order. Charges compute in this order and later ones may build on earlier ones via Basis.
|
|
3489
|
+
* * Field Name: Configuration
|
|
3490
|
+
* * Display Name: Configuration
|
|
3491
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
2958
3492
|
*/
|
|
2959
|
-
get
|
|
2960
|
-
set
|
|
3493
|
+
get Configuration(): string | null;
|
|
3494
|
+
set Configuration(value: string | null);
|
|
2961
3495
|
/**
|
|
2962
|
-
* * Field Name:
|
|
2963
|
-
* * Display Name:
|
|
2964
|
-
* * SQL Data Type:
|
|
2965
|
-
* * Default Value: 1
|
|
2966
|
-
* * Description: Whether a human may override a computed charge of this type.
|
|
3496
|
+
* * Field Name: CustomCSS
|
|
3497
|
+
* * Display Name: Custom CSS
|
|
3498
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
2967
3499
|
*/
|
|
2968
|
-
get
|
|
2969
|
-
set
|
|
3500
|
+
get CustomCSS(): string | null;
|
|
3501
|
+
set CustomCSS(value: string | null);
|
|
2970
3502
|
/**
|
|
2971
|
-
* * Field Name:
|
|
2972
|
-
* * Display Name:
|
|
2973
|
-
* * SQL Data Type:
|
|
2974
|
-
* * Default Value: 1
|
|
3503
|
+
* * Field Name: CustomJS
|
|
3504
|
+
* * Display Name: Custom JavaScript
|
|
3505
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
2975
3506
|
*/
|
|
2976
|
-
get
|
|
2977
|
-
set
|
|
3507
|
+
get CustomJS(): string | null;
|
|
3508
|
+
set CustomJS(value: string | null);
|
|
2978
3509
|
/**
|
|
2979
3510
|
* * Field Name: __mj_CreatedAt
|
|
2980
3511
|
* * Display Name: Created At
|
|
@@ -2989,6 +3520,12 @@ export declare class mjBizAppsOrdersChargeTypeEntity extends BaseEntity<mjBizApp
|
|
|
2989
3520
|
* * Default Value: getutcdate()
|
|
2990
3521
|
*/
|
|
2991
3522
|
get __mj_UpdatedAt(): Date;
|
|
3523
|
+
/**
|
|
3524
|
+
* * Field Name: Company
|
|
3525
|
+
* * Display Name: Company
|
|
3526
|
+
* * SQL Data Type: nvarchar(50)
|
|
3527
|
+
*/
|
|
3528
|
+
get Company(): string;
|
|
2992
3529
|
}
|
|
2993
3530
|
/**
|
|
2994
3531
|
* MJ_BizApps_Orders: Customer Payment Methods - strongly typed entity sub-class
|
|
@@ -3027,19 +3564,19 @@ export declare class mjBizAppsOrdersCustomerPaymentMethodEntity extends BaseEnti
|
|
|
3027
3564
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
3028
3565
|
/**
|
|
3029
3566
|
* Validate() method override for MJ_BizApps_Orders: Customer Payment Methods entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
3030
|
-
* * Table-Level:
|
|
3567
|
+
* * Table-Level: An owner must be assigned to this record. You must provide either an Owner Person or an Owner Organization.
|
|
3031
3568
|
* @public
|
|
3032
3569
|
* @method
|
|
3033
3570
|
* @override
|
|
3034
3571
|
*/
|
|
3035
3572
|
Validate(): ValidationResult;
|
|
3036
3573
|
/**
|
|
3037
|
-
*
|
|
3574
|
+
* An owner must be assigned to this record. You must provide either an Owner Person or an Owner Organization.
|
|
3038
3575
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
3039
3576
|
* @public
|
|
3040
3577
|
* @method
|
|
3041
3578
|
*/
|
|
3042
|
-
|
|
3579
|
+
ValidateAtLeastOneOwnerRequired(result: ValidationResult): void;
|
|
3043
3580
|
/**
|
|
3044
3581
|
* * Field Name: ID
|
|
3045
3582
|
* * Display Name: ID
|
|
@@ -3156,7 +3693,7 @@ export declare class mjBizAppsOrdersCustomerPaymentTermsEntity extends BaseEntit
|
|
|
3156
3693
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
3157
3694
|
/**
|
|
3158
3695
|
* Validate() method override for MJ_BizApps_Orders: Customer Payment Terms entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
3159
|
-
* * Table-Level: The end date must be after the start date when both
|
|
3696
|
+
* * Table-Level: The end date and time must be after the start date and time when both are provided.
|
|
3160
3697
|
* * Table-Level: Each record must be associated with either an Organization or a Person, but not both. One of these associations is required to ensure proper ownership.
|
|
3161
3698
|
* @public
|
|
3162
3699
|
* @method
|
|
@@ -3164,7 +3701,7 @@ export declare class mjBizAppsOrdersCustomerPaymentTermsEntity extends BaseEntit
|
|
|
3164
3701
|
*/
|
|
3165
3702
|
Validate(): ValidationResult;
|
|
3166
3703
|
/**
|
|
3167
|
-
* The end date must be after the start date when both
|
|
3704
|
+
* The end date and time must be after the start date and time when both are provided.
|
|
3168
3705
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
3169
3706
|
* @public
|
|
3170
3707
|
* @method
|
|
@@ -3474,7 +4011,7 @@ export declare class mjBizAppsOrdersEntitlementGrantEntity extends BaseEntity<mj
|
|
|
3474
4011
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
3475
4012
|
/**
|
|
3476
4013
|
* Validate() method override for MJ_BizApps_Orders: Entitlement Grants entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
3477
|
-
* * Table-Level:
|
|
4014
|
+
* * Table-Level: If an entitlement's status is 'Revoked', a revocation date must be provided. Conversely, if the status is not 'Revoked', the revocation date must be empty.
|
|
3478
4015
|
* * Table-Level: The validity end date must be on or after the validity start date if both dates are specified.
|
|
3479
4016
|
* @public
|
|
3480
4017
|
* @method
|
|
@@ -3482,12 +4019,12 @@ export declare class mjBizAppsOrdersEntitlementGrantEntity extends BaseEntity<mj
|
|
|
3482
4019
|
*/
|
|
3483
4020
|
Validate(): ValidationResult;
|
|
3484
4021
|
/**
|
|
3485
|
-
*
|
|
4022
|
+
* If an entitlement's status is 'Revoked', a revocation date must be provided. Conversely, if the status is not 'Revoked', the revocation date must be empty.
|
|
3486
4023
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
3487
4024
|
* @public
|
|
3488
4025
|
* @method
|
|
3489
4026
|
*/
|
|
3490
|
-
|
|
4027
|
+
ValidateRevokedAtBasedOnStatus(result: ValidationResult): void;
|
|
3491
4028
|
/**
|
|
3492
4029
|
* The validity end date must be on or after the validity start date if both dates are specified.
|
|
3493
4030
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
@@ -3700,7 +4237,7 @@ export declare class mjBizAppsOrdersEventOrderLineEntity extends BaseEntity<mjBi
|
|
|
3700
4237
|
set ID(value: string);
|
|
3701
4238
|
/**
|
|
3702
4239
|
* * Field Name: CheckInAt
|
|
3703
|
-
* * Display Name: Check-In
|
|
4240
|
+
* * Display Name: Check-In Time
|
|
3704
4241
|
* * SQL Data Type: datetimeoffset
|
|
3705
4242
|
* * Description: UTC timestamp the attendee checked in.
|
|
3706
4243
|
*/
|
|
@@ -3722,7 +4259,7 @@ export declare class mjBizAppsOrdersEventOrderLineEntity extends BaseEntity<mjBi
|
|
|
3722
4259
|
get __mj_UpdatedAt(): Date;
|
|
3723
4260
|
/**
|
|
3724
4261
|
* * Field Name: PersonID
|
|
3725
|
-
* * Display Name:
|
|
4262
|
+
* * Display Name: Person ID
|
|
3726
4263
|
* * SQL Data Type: uniqueidentifier
|
|
3727
4264
|
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)
|
|
3728
4265
|
* * Description: FK to __mj_BizAppsCommon.Person — the attendee. Required for a new event line; check-in is separate and optional.
|
|
@@ -3979,7 +4516,7 @@ export declare class mjBizAppsOrdersEventOrderLineEntity extends BaseEntity<mjBi
|
|
|
3979
4516
|
set JournalEntryID(value: string | null);
|
|
3980
4517
|
/**
|
|
3981
4518
|
* * Field Name: Person
|
|
3982
|
-
* * Display Name:
|
|
4519
|
+
* * Display Name: Person
|
|
3983
4520
|
* * SQL Data Type: nvarchar(201)
|
|
3984
4521
|
*/
|
|
3985
4522
|
get Person(): string;
|
|
@@ -4010,7 +4547,7 @@ export declare class mjBizAppsOrdersEventProductEntity extends BaseEntity<mjBizA
|
|
|
4010
4547
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
4011
4548
|
/**
|
|
4012
4549
|
* Validate() method override for MJ_BizApps_Orders: Event Products entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
4013
|
-
* * Capacity:
|
|
4550
|
+
* * Capacity: Capacity, if specified, must be greater than zero.
|
|
4014
4551
|
* * Table-Level: The event end date and time must be on or after the event start date and time, if an end date is provided.
|
|
4015
4552
|
* @public
|
|
4016
4553
|
* @method
|
|
@@ -4018,7 +4555,7 @@ export declare class mjBizAppsOrdersEventProductEntity extends BaseEntity<mjBizA
|
|
|
4018
4555
|
*/
|
|
4019
4556
|
Validate(): ValidationResult;
|
|
4020
4557
|
/**
|
|
4021
|
-
*
|
|
4558
|
+
* Capacity, if specified, must be greater than zero.
|
|
4022
4559
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
4023
4560
|
* @public
|
|
4024
4561
|
* @method
|
|
@@ -4265,19 +4802,19 @@ export declare class mjBizAppsOrdersEventProductEntity extends BaseEntity<mjBizA
|
|
|
4265
4802
|
set MaxQuantityPerLine(value: number | null);
|
|
4266
4803
|
/**
|
|
4267
4804
|
* * Field Name: VenueAddress
|
|
4268
|
-
* * Display Name: Venue Address
|
|
4805
|
+
* * Display Name: Venue Address Details
|
|
4269
4806
|
* * SQL Data Type: nvarchar(255)
|
|
4270
4807
|
*/
|
|
4271
4808
|
get VenueAddress(): string | null;
|
|
4272
4809
|
/**
|
|
4273
4810
|
* * Field Name: __mj_Latitude
|
|
4274
|
-
* * Display Name: Latitude
|
|
4811
|
+
* * Display Name: Mj Latitude
|
|
4275
4812
|
* * SQL Data Type: decimal(10, 6)
|
|
4276
4813
|
*/
|
|
4277
4814
|
get __mj_Latitude(): number | null;
|
|
4278
4815
|
/**
|
|
4279
4816
|
* * Field Name: __mj_Longitude
|
|
4280
|
-
* * Display Name: Longitude
|
|
4817
|
+
* * Display Name: Mj Longitude
|
|
4281
4818
|
* * SQL Data Type: decimal(10, 6)
|
|
4282
4819
|
*/
|
|
4283
4820
|
get __mj_Longitude(): number | null;
|
|
@@ -4379,7 +4916,7 @@ export declare class mjBizAppsOrdersOrderAdjustmentEntity extends BaseEntity<mjB
|
|
|
4379
4916
|
/**
|
|
4380
4917
|
* Validate() method override for MJ_BizApps_Orders: Order Adjustments entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
4381
4918
|
* * Amount: The amount must be greater than zero to ensure all entries represent a positive financial value.
|
|
4382
|
-
* * Table-Level: Either a
|
|
4919
|
+
* * Table-Level: Either a Promotion must be selected or a Reason must be provided to explain the adjustment.
|
|
4383
4920
|
* @public
|
|
4384
4921
|
* @method
|
|
4385
4922
|
* @override
|
|
@@ -4393,7 +4930,7 @@ export declare class mjBizAppsOrdersOrderAdjustmentEntity extends BaseEntity<mjB
|
|
|
4393
4930
|
*/
|
|
4394
4931
|
ValidateAmountGreaterThanZero(result: ValidationResult): void;
|
|
4395
4932
|
/**
|
|
4396
|
-
* Either a
|
|
4933
|
+
* Either a Promotion must be selected or a Reason must be provided to explain the adjustment.
|
|
4397
4934
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
4398
4935
|
* @public
|
|
4399
4936
|
* @method
|
|
@@ -4435,7 +4972,7 @@ export declare class mjBizAppsOrdersOrderAdjustmentEntity extends BaseEntity<mjB
|
|
|
4435
4972
|
set PromotionID(value: string | null);
|
|
4436
4973
|
/**
|
|
4437
4974
|
* * Field Name: PromotionCodeID
|
|
4438
|
-
* * Display Name: Promotion Code
|
|
4975
|
+
* * Display Name: Promotion Code
|
|
4439
4976
|
* * SQL Data Type: uniqueidentifier
|
|
4440
4977
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Promotion Codes (vwPromotionCodes.ID)
|
|
4441
4978
|
*/
|
|
@@ -4532,7 +5069,7 @@ export declare class mjBizAppsOrdersOrderAdjustmentEntity extends BaseEntity<mjB
|
|
|
4532
5069
|
get Promotion(): string | null;
|
|
4533
5070
|
/**
|
|
4534
5071
|
* * Field Name: PromotionCode
|
|
4535
|
-
* * Display Name: Promotion Code
|
|
5072
|
+
* * Display Name: Promotion Code Name
|
|
4536
5073
|
* * SQL Data Type: nvarchar(60)
|
|
4537
5074
|
*/
|
|
4538
5075
|
get PromotionCode(): string | null;
|
|
@@ -4780,7 +5317,7 @@ export declare class mjBizAppsOrdersOrderChargeEntity extends BaseEntity<mjBizAp
|
|
|
4780
5317
|
get __mj_UpdatedAt(): Date;
|
|
4781
5318
|
/**
|
|
4782
5319
|
* * Field Name: OrderHeader
|
|
4783
|
-
* * Display Name: Order
|
|
5320
|
+
* * Display Name: Order Header Name
|
|
4784
5321
|
* * SQL Data Type: nvarchar(40)
|
|
4785
5322
|
*/
|
|
4786
5323
|
get OrderHeader(): string;
|
|
@@ -4865,7 +5402,7 @@ export declare class mjBizAppsOrdersOrderCompanyPolicyEntity extends BaseEntity<
|
|
|
4865
5402
|
set DefaultPriceListID(value: string | null);
|
|
4866
5403
|
/**
|
|
4867
5404
|
* * Field Name: DefaultPaymentTermsTypeID
|
|
4868
|
-
* * Display Name: Default Payment Terms
|
|
5405
|
+
* * Display Name: Default Payment Terms
|
|
4869
5406
|
* * SQL Data Type: uniqueidentifier
|
|
4870
5407
|
*/
|
|
4871
5408
|
get DefaultPaymentTermsTypeID(): string | null;
|
|
@@ -4985,14 +5522,14 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
4985
5522
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
4986
5523
|
/**
|
|
4987
5524
|
* Validate() method override for MJ_BizApps_Orders: Order Headers entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
4988
|
-
* * InitialPaymentAmount: The initial payment amount must be greater than or equal to zero.
|
|
5525
|
+
* * InitialPaymentAmount: The initial payment amount must be greater than or equal to zero.
|
|
4989
5526
|
* @public
|
|
4990
5527
|
* @method
|
|
4991
5528
|
* @override
|
|
4992
5529
|
*/
|
|
4993
5530
|
Validate(): ValidationResult;
|
|
4994
5531
|
/**
|
|
4995
|
-
* The initial payment amount must be greater than or equal to zero.
|
|
5532
|
+
* The initial payment amount must be greater than or equal to zero.
|
|
4996
5533
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
4997
5534
|
* @public
|
|
4998
5535
|
* @method
|
|
@@ -5047,17 +5584,15 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5047
5584
|
* * Possible Values
|
|
5048
5585
|
* * Confirmed
|
|
5049
5586
|
* * Draft
|
|
5050
|
-
* * Fulfilled
|
|
5051
|
-
* * Posted
|
|
5052
5587
|
* * Quoted
|
|
5053
5588
|
* * Voided
|
|
5054
5589
|
* * Description: Draft | Quoted | Confirmed | Posted | Fulfilled | Voided. Voided is reachable only from Draft/Quoted; the JE fires once on the first Confirmed.
|
|
5055
5590
|
*/
|
|
5056
|
-
get Status(): 'Confirmed' | 'Draft' | '
|
|
5057
|
-
set Status(value: 'Confirmed' | 'Draft' | '
|
|
5591
|
+
get Status(): 'Confirmed' | 'Draft' | 'Quoted' | 'Voided';
|
|
5592
|
+
set Status(value: 'Confirmed' | 'Draft' | 'Quoted' | 'Voided');
|
|
5058
5593
|
/**
|
|
5059
5594
|
* * Field Name: CompanyID
|
|
5060
|
-
* * Display Name: Company
|
|
5595
|
+
* * Display Name: Company ID
|
|
5061
5596
|
* * SQL Data Type: uniqueidentifier
|
|
5062
5597
|
* * Related Entity/Foreign Key: MJ: Companies (vwCompanies.ID)
|
|
5063
5598
|
* * 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.
|
|
@@ -5066,7 +5601,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5066
5601
|
set CompanyID(value: string);
|
|
5067
5602
|
/**
|
|
5068
5603
|
* * Field Name: BillToPersonID
|
|
5069
|
-
* * Display Name: Bill To Person
|
|
5604
|
+
* * Display Name: Bill To Person ID
|
|
5070
5605
|
* * SQL Data Type: uniqueidentifier
|
|
5071
5606
|
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)
|
|
5072
5607
|
*/
|
|
@@ -5074,7 +5609,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5074
5609
|
set BillToPersonID(value: string | null);
|
|
5075
5610
|
/**
|
|
5076
5611
|
* * Field Name: BillToOrganizationID
|
|
5077
|
-
* * Display Name: Bill To Organization
|
|
5612
|
+
* * Display Name: Bill To Organization ID
|
|
5078
5613
|
* * SQL Data Type: uniqueidentifier
|
|
5079
5614
|
* * Related Entity/Foreign Key: MJ_BizApps_Common: Organizations (vwOrganizations.ID)
|
|
5080
5615
|
* * Description: FK to __mj_BizAppsCommon.Organization — the paying organization (D65). Nullable; a personal order names only a person.
|
|
@@ -5083,7 +5618,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5083
5618
|
set BillToOrganizationID(value: string | null);
|
|
5084
5619
|
/**
|
|
5085
5620
|
* * Field Name: SalesRepUserID
|
|
5086
|
-
* * Display Name: Sales Rep
|
|
5621
|
+
* * Display Name: Sales Rep User ID
|
|
5087
5622
|
* * SQL Data Type: uniqueidentifier
|
|
5088
5623
|
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
5089
5624
|
*/
|
|
@@ -5091,7 +5626,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5091
5626
|
set SalesRepUserID(value: string | null);
|
|
5092
5627
|
/**
|
|
5093
5628
|
* * Field Name: BillToAddressID
|
|
5094
|
-
* * Display Name:
|
|
5629
|
+
* * Display Name: Bill To Address
|
|
5095
5630
|
* * SQL Data Type: uniqueidentifier
|
|
5096
5631
|
* * Related Entity/Foreign Key: MJ_BizApps_Common: Addresses (vwAddresses.ID)
|
|
5097
5632
|
* * Description: FK to __mj_BizAppsCommon.Address — the billing address for this order/invoice. Nullable.
|
|
@@ -5100,7 +5635,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5100
5635
|
set BillToAddressID(value: string | null);
|
|
5101
5636
|
/**
|
|
5102
5637
|
* * Field Name: ShipToAddressID
|
|
5103
|
-
* * Display Name:
|
|
5638
|
+
* * Display Name: Ship To Address
|
|
5104
5639
|
* * SQL Data Type: uniqueidentifier
|
|
5105
5640
|
* * Related Entity/Foreign Key: MJ_BizApps_Common: Addresses (vwAddresses.ID)
|
|
5106
5641
|
* * Description: FK to __mj_BizAppsCommon.Address — the shipping/service address; drives tax jurisdiction when tax lands. Nullable.
|
|
@@ -5109,7 +5644,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5109
5644
|
set ShipToAddressID(value: string | null);
|
|
5110
5645
|
/**
|
|
5111
5646
|
* * Field Name: ShipToOrganizationID
|
|
5112
|
-
* * Display Name: Ship To Organization
|
|
5647
|
+
* * Display Name: Ship To Organization ID
|
|
5113
5648
|
* * SQL Data Type: uniqueidentifier
|
|
5114
5649
|
* * Related Entity/Foreign Key: MJ_BizApps_Common: Organizations (vwOrganizations.ID)
|
|
5115
5650
|
*/
|
|
@@ -5117,7 +5652,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5117
5652
|
set ShipToOrganizationID(value: string | null);
|
|
5118
5653
|
/**
|
|
5119
5654
|
* * Field Name: ShipToPersonID
|
|
5120
|
-
* * Display Name: Ship To Person
|
|
5655
|
+
* * Display Name: Ship To Person ID
|
|
5121
5656
|
* * SQL Data Type: uniqueidentifier
|
|
5122
5657
|
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)
|
|
5123
5658
|
*/
|
|
@@ -5125,7 +5660,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5125
5660
|
set ShipToPersonID(value: string | null);
|
|
5126
5661
|
/**
|
|
5127
5662
|
* * Field Name: PaymentTermsTypeID
|
|
5128
|
-
* * Display Name: Payment Terms
|
|
5663
|
+
* * Display Name: Payment Terms Type ID
|
|
5129
5664
|
* * SQL Data Type: uniqueidentifier
|
|
5130
5665
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Payment Terms Types (vwPaymentTermsTypes.ID)
|
|
5131
5666
|
*/
|
|
@@ -5165,22 +5700,6 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5165
5700
|
get DueDate(): Date | null;
|
|
5166
5701
|
set DueDate(value: Date | null);
|
|
5167
5702
|
/**
|
|
5168
|
-
* * Field Name: PaymentStatus
|
|
5169
|
-
* * Display Name: Payment Status
|
|
5170
|
-
* * SQL Data Type: nvarchar(20)
|
|
5171
|
-
* * Default Value: Unpaid
|
|
5172
|
-
* * Value List Type: List
|
|
5173
|
-
* * Possible Values
|
|
5174
|
-
* * Overdue
|
|
5175
|
-
* * Paid
|
|
5176
|
-
* * PartiallyPaid
|
|
5177
|
-
* * Unpaid
|
|
5178
|
-
* * WrittenOff
|
|
5179
|
-
* * Description: Unpaid | PartiallyPaid | Paid | Overdue | WrittenOff. Engine-derived from AmountPaid vs TotalGross; Overdue is time-derived in views/UI, WrittenOff is an explicit action.
|
|
5180
|
-
*/
|
|
5181
|
-
get PaymentStatus(): 'Overdue' | 'Paid' | 'PartiallyPaid' | 'Unpaid' | 'WrittenOff';
|
|
5182
|
-
set PaymentStatus(value: 'Overdue' | 'Paid' | 'PartiallyPaid' | 'Unpaid' | 'WrittenOff');
|
|
5183
|
-
/**
|
|
5184
5703
|
* * Field Name: ExternalDocumentNumber
|
|
5185
5704
|
* * Display Name: External Document Number
|
|
5186
5705
|
* * SQL Data Type: nvarchar(80)
|
|
@@ -5190,7 +5709,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5190
5709
|
set ExternalDocumentNumber(value: string | null);
|
|
5191
5710
|
/**
|
|
5192
5711
|
* * Field Name: InitialPaymentTypeID
|
|
5193
|
-
* * Display Name: Initial Payment Type
|
|
5712
|
+
* * Display Name: Initial Payment Type ID
|
|
5194
5713
|
* * SQL Data Type: uniqueidentifier
|
|
5195
5714
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Payment Types (vwPaymentTypes.ID)
|
|
5196
5715
|
*/
|
|
@@ -5206,7 +5725,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5206
5725
|
set InitialPaymentAmount(value: number);
|
|
5207
5726
|
/**
|
|
5208
5727
|
* * Field Name: InitialPaymentDetailID
|
|
5209
|
-
* * Display Name: Initial Payment Detail
|
|
5728
|
+
* * Display Name: Initial Payment Detail ID
|
|
5210
5729
|
* * SQL Data Type: uniqueidentifier
|
|
5211
5730
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Payment Details (vwPaymentDetails.ID)
|
|
5212
5731
|
*/
|
|
@@ -5230,7 +5749,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5230
5749
|
set PostedByUserID(value: string | null);
|
|
5231
5750
|
/**
|
|
5232
5751
|
* * Field Name: ReversesOrderHeaderID
|
|
5233
|
-
* * Display Name: Reverses Order
|
|
5752
|
+
* * Display Name: Reverses Order Header ID
|
|
5234
5753
|
* * SQL Data Type: uniqueidentifier
|
|
5235
5754
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Order Headers (vwOrderHeaders.ID)
|
|
5236
5755
|
*/
|
|
@@ -5254,7 +5773,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5254
5773
|
set RequestedDeliveryDate(value: Date | null);
|
|
5255
5774
|
/**
|
|
5256
5775
|
* * Field Name: ApprovalTaskID
|
|
5257
|
-
* * Display Name: Approval Task
|
|
5776
|
+
* * Display Name: Approval Task ID
|
|
5258
5777
|
* * SQL Data Type: uniqueidentifier
|
|
5259
5778
|
* * Description: Soft reference (no FK) to the __mj_BizAppsTasks Task raised when a sales rule blocked Confirm (BO-D17). Convenience pointer; Task Links carry the authoritative linkage.
|
|
5260
5779
|
*/
|
|
@@ -5270,7 +5789,7 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5270
5789
|
set Description(value: string | null);
|
|
5271
5790
|
/**
|
|
5272
5791
|
* * Field Name: Notes
|
|
5273
|
-
* * Display Name: Notes
|
|
5792
|
+
* * Display Name: Internal Notes
|
|
5274
5793
|
* * SQL Data Type: nvarchar(MAX)
|
|
5275
5794
|
* * Description: Internal notes on the order (Description is the customer-facing memo).
|
|
5276
5795
|
*/
|
|
@@ -5299,50 +5818,82 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5299
5818
|
*/
|
|
5300
5819
|
get __mj_UpdatedAt(): Date;
|
|
5301
5820
|
/**
|
|
5821
|
+
* * Field Name: Origin
|
|
5822
|
+
* * Display Name: Origin
|
|
5823
|
+
* * SQL Data Type: nvarchar(50)
|
|
5824
|
+
* * Default Value: Direct
|
|
5825
|
+
*/
|
|
5826
|
+
get Origin(): string;
|
|
5827
|
+
set Origin(value: string);
|
|
5828
|
+
/**
|
|
5829
|
+
* * Field Name: SourceCheckoutWidgetID
|
|
5830
|
+
* * Display Name: Source Checkout Widget ID
|
|
5831
|
+
* * SQL Data Type: uniqueidentifier
|
|
5832
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Checkout Widgets (vwCheckoutWidgets.ID)
|
|
5833
|
+
*/
|
|
5834
|
+
get SourceCheckoutWidgetID(): string | null;
|
|
5835
|
+
set SourceCheckoutWidgetID(value: string | null);
|
|
5836
|
+
/**
|
|
5837
|
+
* * Field Name: FulfillmentStatus
|
|
5838
|
+
* * Display Name: Fulfillment Status
|
|
5839
|
+
* * SQL Data Type: nvarchar(20)
|
|
5840
|
+
* * Default Value: Pending
|
|
5841
|
+
* * Value List Type: List
|
|
5842
|
+
* * Possible Values
|
|
5843
|
+
* * Fulfilled
|
|
5844
|
+
* * NotApplicable
|
|
5845
|
+
* * PartiallyFulfilled
|
|
5846
|
+
* * Pending
|
|
5847
|
+
* * Returned
|
|
5848
|
+
* * Description: Operational fulfillment progress rolled up across order lines: Pending, PartiallyFulfilled, Fulfilled, NotApplicable (no physical goods), or Returned.
|
|
5849
|
+
*/
|
|
5850
|
+
get FulfillmentStatus(): 'Fulfilled' | 'NotApplicable' | 'PartiallyFulfilled' | 'Pending' | 'Returned';
|
|
5851
|
+
set FulfillmentStatus(value: 'Fulfilled' | 'NotApplicable' | 'PartiallyFulfilled' | 'Pending' | 'Returned');
|
|
5852
|
+
/**
|
|
5302
5853
|
* * Field Name: Company
|
|
5303
|
-
* * Display Name: Company
|
|
5854
|
+
* * Display Name: Company
|
|
5304
5855
|
* * SQL Data Type: nvarchar(50)
|
|
5305
5856
|
*/
|
|
5306
5857
|
get Company(): string;
|
|
5307
5858
|
/**
|
|
5308
5859
|
* * Field Name: BillToPerson
|
|
5309
|
-
* * Display Name: Bill To Person
|
|
5860
|
+
* * Display Name: Bill To Person
|
|
5310
5861
|
* * SQL Data Type: nvarchar(201)
|
|
5311
5862
|
*/
|
|
5312
5863
|
get BillToPerson(): string | null;
|
|
5313
5864
|
/**
|
|
5314
5865
|
* * Field Name: BillToOrganization
|
|
5315
|
-
* * Display Name: Bill To Organization
|
|
5866
|
+
* * Display Name: Bill To Organization
|
|
5316
5867
|
* * SQL Data Type: nvarchar(255)
|
|
5317
5868
|
*/
|
|
5318
5869
|
get BillToOrganization(): string | null;
|
|
5319
5870
|
/**
|
|
5320
5871
|
* * Field Name: SalesRepUser
|
|
5321
|
-
* * Display Name: Sales Rep
|
|
5872
|
+
* * Display Name: Sales Rep User
|
|
5322
5873
|
* * SQL Data Type: nvarchar(100)
|
|
5323
5874
|
*/
|
|
5324
5875
|
get SalesRepUser(): string | null;
|
|
5325
5876
|
/**
|
|
5326
5877
|
* * Field Name: BillToAddress
|
|
5327
|
-
* * Display Name:
|
|
5878
|
+
* * Display Name: Bill To Address Details
|
|
5328
5879
|
* * SQL Data Type: nvarchar(255)
|
|
5329
5880
|
*/
|
|
5330
5881
|
get BillToAddress(): string | null;
|
|
5331
5882
|
/**
|
|
5332
5883
|
* * Field Name: ShipToAddress
|
|
5333
|
-
* * Display Name:
|
|
5884
|
+
* * Display Name: Ship To Address Details
|
|
5334
5885
|
* * SQL Data Type: nvarchar(255)
|
|
5335
5886
|
*/
|
|
5336
5887
|
get ShipToAddress(): string | null;
|
|
5337
5888
|
/**
|
|
5338
5889
|
* * Field Name: ShipToOrganization
|
|
5339
|
-
* * Display Name: Ship To Organization
|
|
5890
|
+
* * Display Name: Ship To Organization
|
|
5340
5891
|
* * SQL Data Type: nvarchar(255)
|
|
5341
5892
|
*/
|
|
5342
5893
|
get ShipToOrganization(): string | null;
|
|
5343
5894
|
/**
|
|
5344
5895
|
* * Field Name: ShipToPerson
|
|
5345
|
-
* * Display Name: Ship To Person
|
|
5896
|
+
* * Display Name: Ship To Person
|
|
5346
5897
|
* * SQL Data Type: nvarchar(201)
|
|
5347
5898
|
*/
|
|
5348
5899
|
get ShipToPerson(): string | null;
|
|
@@ -5354,37 +5905,43 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5354
5905
|
get PaymentTermsType(): string | null;
|
|
5355
5906
|
/**
|
|
5356
5907
|
* * Field Name: InitialPaymentType
|
|
5357
|
-
* * Display Name: Initial Payment Type
|
|
5908
|
+
* * Display Name: Initial Payment Type
|
|
5358
5909
|
* * SQL Data Type: nvarchar(200)
|
|
5359
5910
|
*/
|
|
5360
5911
|
get InitialPaymentType(): string | null;
|
|
5361
5912
|
/**
|
|
5362
5913
|
* * Field Name: InitialPaymentDetail
|
|
5363
|
-
* * Display Name: Initial Payment Detail
|
|
5914
|
+
* * Display Name: Initial Payment Detail
|
|
5364
5915
|
* * SQL Data Type: char(4)
|
|
5365
5916
|
*/
|
|
5366
5917
|
get InitialPaymentDetail(): string | null;
|
|
5367
5918
|
/**
|
|
5368
5919
|
* * Field Name: PostedByUser
|
|
5369
|
-
* * Display Name: Posted By User
|
|
5920
|
+
* * Display Name: Posted By User Name
|
|
5370
5921
|
* * SQL Data Type: nvarchar(100)
|
|
5371
5922
|
*/
|
|
5372
5923
|
get PostedByUser(): string | null;
|
|
5373
5924
|
/**
|
|
5374
5925
|
* * Field Name: ReversesOrderHeader
|
|
5375
|
-
* * Display Name:
|
|
5926
|
+
* * Display Name: Reversed Order Name
|
|
5376
5927
|
* * SQL Data Type: nvarchar(40)
|
|
5377
5928
|
*/
|
|
5378
5929
|
get ReversesOrderHeader(): string | null;
|
|
5379
5930
|
/**
|
|
5931
|
+
* * Field Name: SourceCheckoutWidget
|
|
5932
|
+
* * Display Name: Source Checkout Widget
|
|
5933
|
+
* * SQL Data Type: nvarchar(100)
|
|
5934
|
+
*/
|
|
5935
|
+
get SourceCheckoutWidget(): string | null;
|
|
5936
|
+
/**
|
|
5380
5937
|
* * Field Name: __mj_Latitude
|
|
5381
|
-
* * Display Name: Latitude
|
|
5938
|
+
* * Display Name: Mj Latitude
|
|
5382
5939
|
* * SQL Data Type: decimal(10, 6)
|
|
5383
5940
|
*/
|
|
5384
5941
|
get __mj_Latitude(): number | null;
|
|
5385
5942
|
/**
|
|
5386
5943
|
* * Field Name: __mj_Longitude
|
|
5387
|
-
* * Display Name: Longitude
|
|
5944
|
+
* * Display Name: Mj Longitude
|
|
5388
5945
|
* * SQL Data Type: decimal(10, 6)
|
|
5389
5946
|
*/
|
|
5390
5947
|
get __mj_Longitude(): number | null;
|
|
@@ -5394,6 +5951,19 @@ export declare class mjBizAppsOrdersOrderHeaderEntity extends BaseEntity<mjBizAp
|
|
|
5394
5951
|
* * SQL Data Type: int
|
|
5395
5952
|
*/
|
|
5396
5953
|
get IsOverdue(): number;
|
|
5954
|
+
/**
|
|
5955
|
+
* * Field Name: PaymentStatus
|
|
5956
|
+
* * Display Name: Payment Status
|
|
5957
|
+
* * SQL Data Type: nvarchar(13)
|
|
5958
|
+
* * Value List Type: List
|
|
5959
|
+
* * Possible Values
|
|
5960
|
+
* * Overdue
|
|
5961
|
+
* * Paid
|
|
5962
|
+
* * PartiallyPaid
|
|
5963
|
+
* * Unpaid
|
|
5964
|
+
* * WrittenOff
|
|
5965
|
+
*/
|
|
5966
|
+
get PaymentStatus(): 'Overdue' | 'Paid' | 'PartiallyPaid' | 'Unpaid' | 'WrittenOff';
|
|
5397
5967
|
}
|
|
5398
5968
|
/**
|
|
5399
5969
|
* MJ_BizApps_Orders: Order Line Dimensions - strongly typed entity sub-class
|
|
@@ -5506,19 +6076,19 @@ export declare class mjBizAppsOrdersOrderLinePriceComponentEntity extends BaseEn
|
|
|
5506
6076
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
5507
6077
|
/**
|
|
5508
6078
|
* Validate() method override for MJ_BizApps_Orders: Order Line Price Components entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
5509
|
-
* * Table-Level: Both Source Entity ID and Source Record ID must
|
|
6079
|
+
* * Table-Level: Both Source Entity ID and Source Record ID must be provided together, or both must be left blank. You cannot specify one without the other.
|
|
5510
6080
|
* @public
|
|
5511
6081
|
* @method
|
|
5512
6082
|
* @override
|
|
5513
6083
|
*/
|
|
5514
6084
|
Validate(): ValidationResult;
|
|
5515
6085
|
/**
|
|
5516
|
-
* Both Source Entity ID and Source Record ID must
|
|
6086
|
+
* Both Source Entity ID and Source Record ID must be provided together, or both must be left blank. You cannot specify one without the other.
|
|
5517
6087
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
5518
6088
|
* @public
|
|
5519
6089
|
* @method
|
|
5520
6090
|
*/
|
|
5521
|
-
|
|
6091
|
+
ValidateSourceEntityAndRecordCoexistence(result: ValidationResult): void;
|
|
5522
6092
|
/**
|
|
5523
6093
|
* * Field Name: ID
|
|
5524
6094
|
* * Display Name: ID
|
|
@@ -5644,14 +6214,13 @@ export declare class mjBizAppsOrdersOrderLineEntity extends BaseEntity<mjBizApps
|
|
|
5644
6214
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
5645
6215
|
/**
|
|
5646
6216
|
* Validate() method override for MJ_BizApps_Orders: Order Lines entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
5647
|
-
* * DiscountAmount:
|
|
6217
|
+
* * DiscountAmount: The discount amount must be greater than or equal to zero to prevent negative discounts from being applied.
|
|
5648
6218
|
* * DiscountPct: Discount percentage must be a value between 0 and 1 (inclusive), representing a range of 0% to 100%.
|
|
5649
6219
|
* * Quantity: The quantity specified for the line item must not be zero.
|
|
5650
6220
|
* * UnitPrice: The unit price for any item must be zero or greater. Negative prices are not allowed.
|
|
5651
6221
|
* * Table-Level: An order line cannot be its own parent. If a parent order line is specified, it must refer to a different order line.
|
|
5652
6222
|
* * Table-Level: If an order line's quantity is marked as overridden, it must be associated with a parent order line.
|
|
5653
|
-
* * Table-Level:
|
|
5654
|
-
* * Table-Level: If an order line is a rollup parent, its discount, charge, and tax amounts must all be zero.
|
|
6223
|
+
* * Table-Level: For rollup parent order lines, the discount amount, charge amount, and line tax must all be zero to ensure proper financial aggregation.
|
|
5655
6224
|
* * Table-Level: If both the service period start and end dates are provided, the end date must be on or after the start date.
|
|
5656
6225
|
* @public
|
|
5657
6226
|
* @method
|
|
@@ -5659,12 +6228,12 @@ export declare class mjBizAppsOrdersOrderLineEntity extends BaseEntity<mjBizApps
|
|
|
5659
6228
|
*/
|
|
5660
6229
|
Validate(): ValidationResult;
|
|
5661
6230
|
/**
|
|
5662
|
-
*
|
|
6231
|
+
* The discount amount must be greater than or equal to zero to prevent negative discounts from being applied.
|
|
5663
6232
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
5664
6233
|
* @public
|
|
5665
6234
|
* @method
|
|
5666
6235
|
*/
|
|
5667
|
-
|
|
6236
|
+
ValidateDiscountAmountGreaterThanOrEqualToZero(result: ValidationResult): void;
|
|
5668
6237
|
/**
|
|
5669
6238
|
* Discount percentage must be a value between 0 and 1 (inclusive), representing a range of 0% to 100%.
|
|
5670
6239
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
@@ -5701,19 +6270,12 @@ export declare class mjBizAppsOrdersOrderLineEntity extends BaseEntity<mjBizApps
|
|
|
5701
6270
|
*/
|
|
5702
6271
|
ValidateParentOrderLineRequiredWhenQuantityOverridden(result: ValidationResult): void;
|
|
5703
6272
|
/**
|
|
5704
|
-
*
|
|
5705
|
-
* @param result - the ValidationResult object to add any errors or warnings to
|
|
5706
|
-
* @public
|
|
5707
|
-
* @method
|
|
5708
|
-
*/
|
|
5709
|
-
ValidateQuantityOverrideRequiresParent(result: ValidationResult): void;
|
|
5710
|
-
/**
|
|
5711
|
-
* If an order line is a rollup parent, its discount, charge, and tax amounts must all be zero.
|
|
6273
|
+
* For rollup parent order lines, the discount amount, charge amount, and line tax must all be zero to ensure proper financial aggregation.
|
|
5712
6274
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
5713
6275
|
* @public
|
|
5714
6276
|
* @method
|
|
5715
6277
|
*/
|
|
5716
|
-
|
|
6278
|
+
ValidateRollupParentAmounts(result: ValidationResult): void;
|
|
5717
6279
|
/**
|
|
5718
6280
|
* If both the service period start and end dates are provided, the end date must be on or after the start date.
|
|
5719
6281
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
@@ -6030,13 +6592,13 @@ export declare class mjBizAppsOrdersOrderLineEntity extends BaseEntity<mjBizApps
|
|
|
6030
6592
|
get JournalEntry(): string | null;
|
|
6031
6593
|
/**
|
|
6032
6594
|
* * Field Name: __mj_Latitude
|
|
6033
|
-
* * Display Name: Latitude
|
|
6595
|
+
* * Display Name: Mj Latitude
|
|
6034
6596
|
* * SQL Data Type: decimal(10, 6)
|
|
6035
6597
|
*/
|
|
6036
6598
|
get __mj_Latitude(): number | null;
|
|
6037
6599
|
/**
|
|
6038
6600
|
* * Field Name: __mj_Longitude
|
|
6039
|
-
* * Display Name: Longitude
|
|
6601
|
+
* * Display Name: Mj Longitude
|
|
6040
6602
|
* * SQL Data Type: decimal(10, 6)
|
|
6041
6603
|
*/
|
|
6042
6604
|
get __mj_Longitude(): number | null;
|
|
@@ -6048,25 +6610,25 @@ export declare class mjBizAppsOrdersOrderLineEntity extends BaseEntity<mjBizApps
|
|
|
6048
6610
|
get RootParentOrderLineID(): string | null;
|
|
6049
6611
|
/**
|
|
6050
6612
|
* * Field Name: ParentOrderLineIDDepth
|
|
6051
|
-
* * Display Name:
|
|
6613
|
+
* * Display Name: Hierarchy Depth
|
|
6052
6614
|
* * SQL Data Type: int
|
|
6053
6615
|
*/
|
|
6054
6616
|
get ParentOrderLineIDDepth(): number | null;
|
|
6055
6617
|
/**
|
|
6056
6618
|
* * Field Name: ParentOrderLineIDPath
|
|
6057
|
-
* * Display Name:
|
|
6619
|
+
* * Display Name: Hierarchy Path
|
|
6058
6620
|
* * SQL Data Type: nvarchar(MAX)
|
|
6059
6621
|
*/
|
|
6060
6622
|
get ParentOrderLineIDPath(): string | null;
|
|
6061
6623
|
/**
|
|
6062
6624
|
* * Field Name: ParentOrderLineIDIsLeaf
|
|
6063
|
-
* * Display Name:
|
|
6625
|
+
* * Display Name: Is Leaf Node
|
|
6064
6626
|
* * SQL Data Type: bit
|
|
6065
6627
|
*/
|
|
6066
6628
|
get ParentOrderLineIDIsLeaf(): boolean | null;
|
|
6067
6629
|
/**
|
|
6068
6630
|
* * Field Name: ParentOrderLineIDChildCount
|
|
6069
|
-
* * Display Name:
|
|
6631
|
+
* * Display Name: Child Count
|
|
6070
6632
|
* * SQL Data Type: int
|
|
6071
6633
|
*/
|
|
6072
6634
|
get ParentOrderLineIDChildCount(): number | null;
|
|
@@ -6098,7 +6660,7 @@ export declare class mjBizAppsOrdersOrderSequenceEntity extends BaseEntity<mjBiz
|
|
|
6098
6660
|
/**
|
|
6099
6661
|
* Validate() method override for MJ_BizApps_Orders: Order Sequences entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
6100
6662
|
* * ID: The ID of the record must be exactly 1, ensuring that only a single system configuration record exists in this table.
|
|
6101
|
-
* * NextSequenceNumber: The next sequence number must be a positive integer greater than zero.
|
|
6663
|
+
* * NextSequenceNumber: The next sequence number must be a positive integer greater than zero to ensure valid sequential ordering.
|
|
6102
6664
|
* @public
|
|
6103
6665
|
* @method
|
|
6104
6666
|
* @override
|
|
@@ -6112,7 +6674,7 @@ export declare class mjBizAppsOrdersOrderSequenceEntity extends BaseEntity<mjBiz
|
|
|
6112
6674
|
*/
|
|
6113
6675
|
ValidateIdEqualsOne(result: ValidationResult): void;
|
|
6114
6676
|
/**
|
|
6115
|
-
* The next sequence number must be a positive integer greater than zero.
|
|
6677
|
+
* The next sequence number must be a positive integer greater than zero to ensure valid sequential ordering.
|
|
6116
6678
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
6117
6679
|
* @public
|
|
6118
6680
|
* @method
|
|
@@ -6175,14 +6737,14 @@ export declare class mjBizAppsOrdersPaymentDetailEntity extends BaseEntity<mjBiz
|
|
|
6175
6737
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
6176
6738
|
/**
|
|
6177
6739
|
* Validate() method override for MJ_BizApps_Orders: Payment Details entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
6178
|
-
* * ExpiryMonth: The expiry month
|
|
6740
|
+
* * ExpiryMonth: The expiry month must be a valid calendar month between 1 and 12, if it is provided.
|
|
6179
6741
|
* @public
|
|
6180
6742
|
* @method
|
|
6181
6743
|
* @override
|
|
6182
6744
|
*/
|
|
6183
6745
|
Validate(): ValidationResult;
|
|
6184
6746
|
/**
|
|
6185
|
-
* The expiry month
|
|
6747
|
+
* The expiry month must be a valid calendar month between 1 and 12, if it is provided.
|
|
6186
6748
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
6187
6749
|
* @public
|
|
6188
6750
|
* @method
|
|
@@ -6333,7 +6895,7 @@ export declare class mjBizAppsOrdersPaymentDetailEntity extends BaseEntity<mjBiz
|
|
|
6333
6895
|
set StoredValueAccountID(value: string | null);
|
|
6334
6896
|
/**
|
|
6335
6897
|
* * Field Name: SourceOrderHeaderID
|
|
6336
|
-
* * Display Name: Source Order
|
|
6898
|
+
* * Display Name: Source Order Header
|
|
6337
6899
|
* * SQL Data Type: uniqueidentifier
|
|
6338
6900
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Order Headers (vwOrderHeaders.ID)
|
|
6339
6901
|
* * Description: ACCOUNT CREDIT tender (D68): the order whose NEGATIVE balance this payment draws down. A customer credit is not its own instrument the way a gift card is — it already lives on the over-paid order — so this points at that order rather than duplicating the balance onto a second record. NULL for every other tender type.
|
|
@@ -6393,7 +6955,7 @@ export declare class mjBizAppsOrdersPaymentDetailEntity extends BaseEntity<mjBiz
|
|
|
6393
6955
|
get StoredValueAccount(): string | null;
|
|
6394
6956
|
/**
|
|
6395
6957
|
* * Field Name: SourceOrderHeader
|
|
6396
|
-
* * Display Name: Source Order Name
|
|
6958
|
+
* * Display Name: Source Order Header Name
|
|
6397
6959
|
* * SQL Data Type: nvarchar(40)
|
|
6398
6960
|
*/
|
|
6399
6961
|
get SourceOrderHeader(): string | null;
|
|
@@ -6509,7 +7071,7 @@ export declare class mjBizAppsOrdersPaymentHeaderEntity extends BaseEntity<mjBiz
|
|
|
6509
7071
|
set Amount(value: number);
|
|
6510
7072
|
/**
|
|
6511
7073
|
* * Field Name: ProcessingFeeAmount
|
|
6512
|
-
* * Display Name: Processing Fee
|
|
7074
|
+
* * Display Name: Processing Fee Amount
|
|
6513
7075
|
* * SQL Data Type: decimal(18, 2)
|
|
6514
7076
|
* * Default Value: 0
|
|
6515
7077
|
* * Description: Processor fee withheld from this payment.
|
|
@@ -6770,7 +7332,7 @@ export declare class mjBizAppsOrdersPaymentIntentEntity extends BaseEntity<mjBiz
|
|
|
6770
7332
|
set Amount(value: number);
|
|
6771
7333
|
/**
|
|
6772
7334
|
* * Field Name: OrderHeaderID
|
|
6773
|
-
* * Display Name: Order
|
|
7335
|
+
* * Display Name: Order Header
|
|
6774
7336
|
* * SQL Data Type: uniqueidentifier
|
|
6775
7337
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Order Headers (vwOrderHeaders.ID)
|
|
6776
7338
|
*/
|
|
@@ -6831,7 +7393,7 @@ export declare class mjBizAppsOrdersPaymentIntentEntity extends BaseEntity<mjBiz
|
|
|
6831
7393
|
get PaymentProvider(): string;
|
|
6832
7394
|
/**
|
|
6833
7395
|
* * Field Name: OrderHeader
|
|
6834
|
-
* * Display Name: Order Header
|
|
7396
|
+
* * Display Name: Order Header Name
|
|
6835
7397
|
* * SQL Data Type: nvarchar(40)
|
|
6836
7398
|
*/
|
|
6837
7399
|
get OrderHeader(): string | null;
|
|
@@ -7234,7 +7796,7 @@ export declare class mjBizAppsOrdersPaymentSequenceEntity extends BaseEntity<mjB
|
|
|
7234
7796
|
/**
|
|
7235
7797
|
* Validate() method override for MJ_BizApps_Orders: Payment Sequences entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
7236
7798
|
* * ID: The ID must be exactly 1 to ensure the table only contains a single configuration or state record.
|
|
7237
|
-
* * NextSequenceNumber: The next sequence number must be a positive integer greater than zero to ensure
|
|
7799
|
+
* * NextSequenceNumber: The next sequence number must be a positive integer greater than zero to ensure valid sequencing.
|
|
7238
7800
|
* @public
|
|
7239
7801
|
* @method
|
|
7240
7802
|
* @override
|
|
@@ -7248,7 +7810,7 @@ export declare class mjBizAppsOrdersPaymentSequenceEntity extends BaseEntity<mjB
|
|
|
7248
7810
|
*/
|
|
7249
7811
|
ValidateIdIsOne(result: ValidationResult): void;
|
|
7250
7812
|
/**
|
|
7251
|
-
* The next sequence number must be a positive integer greater than zero to ensure
|
|
7813
|
+
* The next sequence number must be a positive integer greater than zero to ensure valid sequencing.
|
|
7252
7814
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
7253
7815
|
* @public
|
|
7254
7816
|
* @method
|
|
@@ -7312,14 +7874,14 @@ export declare class mjBizAppsOrdersPaymentTermsTypeEntity extends BaseEntity<mj
|
|
|
7312
7874
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
7313
7875
|
/**
|
|
7314
7876
|
* Validate() method override for MJ_BizApps_Orders: Payment Terms Types entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
7315
|
-
* * NetDays:
|
|
7877
|
+
* * NetDays: Net days must be a non-negative number (0 or greater) to ensure valid payment terms.
|
|
7316
7878
|
* @public
|
|
7317
7879
|
* @method
|
|
7318
7880
|
* @override
|
|
7319
7881
|
*/
|
|
7320
7882
|
Validate(): ValidationResult;
|
|
7321
7883
|
/**
|
|
7322
|
-
*
|
|
7884
|
+
* Net days must be a non-negative number (0 or greater) to ensure valid payment terms.
|
|
7323
7885
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
7324
7886
|
* @public
|
|
7325
7887
|
* @method
|
|
@@ -7548,7 +8110,7 @@ export declare class mjBizAppsOrdersPriceListAssignmentEntity extends BaseEntity
|
|
|
7548
8110
|
/**
|
|
7549
8111
|
* Validate() method override for MJ_BizApps_Orders: Price List Assignments entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
7550
8112
|
* * Table-Level: If both a start date and an end date are specified, the end date must be later than the start date.
|
|
7551
|
-
* * Table-Level:
|
|
8113
|
+
* * Table-Level: Either an Organization or a Person must be specified, but not both. This ensures the record is associated with exactly one entity type.
|
|
7552
8114
|
* @public
|
|
7553
8115
|
* @method
|
|
7554
8116
|
* @override
|
|
@@ -7562,7 +8124,7 @@ export declare class mjBizAppsOrdersPriceListAssignmentEntity extends BaseEntity
|
|
|
7562
8124
|
*/
|
|
7563
8125
|
ValidateEndedAtAfterStartedAt(result: ValidationResult): void;
|
|
7564
8126
|
/**
|
|
7565
|
-
*
|
|
8127
|
+
* Either an Organization or a Person must be specified, but not both. This ensures the record is associated with exactly one entity type.
|
|
7566
8128
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
7567
8129
|
* @public
|
|
7568
8130
|
* @method
|
|
@@ -8070,7 +8632,7 @@ export declare class mjBizAppsOrdersProductCategoryEntity extends BaseEntity<mjB
|
|
|
8070
8632
|
set ID(value: string);
|
|
8071
8633
|
/**
|
|
8072
8634
|
* * Field Name: CompanyID
|
|
8073
|
-
* * Display Name: Company
|
|
8635
|
+
* * Display Name: Company ID
|
|
8074
8636
|
* * SQL Data Type: uniqueidentifier
|
|
8075
8637
|
* * Related Entity/Foreign Key: MJ: Companies (vwCompanies.ID)
|
|
8076
8638
|
* * Description: The company that owns this category tree (D7). No shared/global categories. FK to __mj.Company.
|
|
@@ -8095,7 +8657,7 @@ export declare class mjBizAppsOrdersProductCategoryEntity extends BaseEntity<mjB
|
|
|
8095
8657
|
set Name(value: string);
|
|
8096
8658
|
/**
|
|
8097
8659
|
* * Field Name: ParentProductCategoryID
|
|
8098
|
-
* * Display Name: Parent Category
|
|
8660
|
+
* * Display Name: Parent Category ID
|
|
8099
8661
|
* * SQL Data Type: uniqueidentifier
|
|
8100
8662
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Product Categories (vwProductCategories.ID)
|
|
8101
8663
|
*/
|
|
@@ -8111,7 +8673,7 @@ export declare class mjBizAppsOrdersProductCategoryEntity extends BaseEntity<mjB
|
|
|
8111
8673
|
set Description(value: string | null);
|
|
8112
8674
|
/**
|
|
8113
8675
|
* * Field Name: IsActive
|
|
8114
|
-
* * Display Name:
|
|
8676
|
+
* * Display Name: Active
|
|
8115
8677
|
* * SQL Data Type: bit
|
|
8116
8678
|
* * Default Value: 1
|
|
8117
8679
|
* * Description: Whether this category is active and selectable.
|
|
@@ -8136,7 +8698,7 @@ export declare class mjBizAppsOrdersProductCategoryEntity extends BaseEntity<mjB
|
|
|
8136
8698
|
set DefaultTaxCategory(value: string | null);
|
|
8137
8699
|
/**
|
|
8138
8700
|
* * Field Name: DefaultEntitlementGrantTiming
|
|
8139
|
-
* * Display Name: Entitlement Grant Timing
|
|
8701
|
+
* * Display Name: Default Entitlement Grant Timing
|
|
8140
8702
|
* * SQL Data Type: nvarchar(20)
|
|
8141
8703
|
* * Value List Type: List
|
|
8142
8704
|
* * Possible Values
|
|
@@ -8148,7 +8710,7 @@ export declare class mjBizAppsOrdersProductCategoryEntity extends BaseEntity<mjB
|
|
|
8148
8710
|
set DefaultEntitlementGrantTiming(value: 'OnActivation' | 'OnConfirm' | 'OnPaidInFull' | null);
|
|
8149
8711
|
/**
|
|
8150
8712
|
* * Field Name: DefaultEntitlementQuantityMode
|
|
8151
|
-
* * Display Name: Entitlement Quantity Mode
|
|
8713
|
+
* * Display Name: Default Entitlement Quantity Mode
|
|
8152
8714
|
* * SQL Data Type: nvarchar(20)
|
|
8153
8715
|
* * Value List Type: List
|
|
8154
8716
|
* * Possible Values
|
|
@@ -8159,7 +8721,7 @@ export declare class mjBizAppsOrdersProductCategoryEntity extends BaseEntity<mjB
|
|
|
8159
8721
|
set DefaultEntitlementQuantityMode(value: 'Flat' | 'PerUnit' | null);
|
|
8160
8722
|
/**
|
|
8161
8723
|
* * Field Name: DefaultEntitlementValidityMode
|
|
8162
|
-
* * Display Name: Entitlement Validity Mode
|
|
8724
|
+
* * Display Name: Default Entitlement Validity Mode
|
|
8163
8725
|
* * SQL Data Type: nvarchar(20)
|
|
8164
8726
|
* * Value List Type: List
|
|
8165
8727
|
* * Possible Values
|
|
@@ -8194,43 +8756,43 @@ export declare class mjBizAppsOrdersProductCategoryEntity extends BaseEntity<mjB
|
|
|
8194
8756
|
set PricingDriverClass(value: string | null);
|
|
8195
8757
|
/**
|
|
8196
8758
|
* * Field Name: Company
|
|
8197
|
-
* * Display Name: Company
|
|
8759
|
+
* * Display Name: Company
|
|
8198
8760
|
* * SQL Data Type: nvarchar(50)
|
|
8199
8761
|
*/
|
|
8200
8762
|
get Company(): string;
|
|
8201
8763
|
/**
|
|
8202
8764
|
* * Field Name: ParentProductCategory
|
|
8203
|
-
* * Display Name: Parent Category
|
|
8765
|
+
* * Display Name: Parent Category
|
|
8204
8766
|
* * SQL Data Type: nvarchar(200)
|
|
8205
8767
|
*/
|
|
8206
8768
|
get ParentProductCategory(): string | null;
|
|
8207
8769
|
/**
|
|
8208
8770
|
* * Field Name: RootParentProductCategoryID
|
|
8209
|
-
* * Display Name: Root Category
|
|
8771
|
+
* * Display Name: Root Parent Category ID
|
|
8210
8772
|
* * SQL Data Type: uniqueidentifier
|
|
8211
8773
|
*/
|
|
8212
8774
|
get RootParentProductCategoryID(): string | null;
|
|
8213
8775
|
/**
|
|
8214
8776
|
* * Field Name: ParentProductCategoryIDDepth
|
|
8215
|
-
* * Display Name: Depth
|
|
8777
|
+
* * Display Name: Parent Product Category ID Depth
|
|
8216
8778
|
* * SQL Data Type: int
|
|
8217
8779
|
*/
|
|
8218
8780
|
get ParentProductCategoryIDDepth(): number | null;
|
|
8219
8781
|
/**
|
|
8220
8782
|
* * Field Name: ParentProductCategoryIDPath
|
|
8221
|
-
* * Display Name: Category Path
|
|
8783
|
+
* * Display Name: Parent Product Category ID Path
|
|
8222
8784
|
* * SQL Data Type: nvarchar(MAX)
|
|
8223
8785
|
*/
|
|
8224
8786
|
get ParentProductCategoryIDPath(): string | null;
|
|
8225
8787
|
/**
|
|
8226
8788
|
* * Field Name: ParentProductCategoryIDIsLeaf
|
|
8227
|
-
* * Display Name: Is Leaf
|
|
8789
|
+
* * Display Name: Parent Product Category ID Is Leaf
|
|
8228
8790
|
* * SQL Data Type: bit
|
|
8229
8791
|
*/
|
|
8230
8792
|
get ParentProductCategoryIDIsLeaf(): boolean | null;
|
|
8231
8793
|
/**
|
|
8232
8794
|
* * Field Name: ParentProductCategoryIDChildCount
|
|
8233
|
-
* * Display Name: Child Count
|
|
8795
|
+
* * Display Name: Parent Product Category ID Child Count
|
|
8234
8796
|
* * SQL Data Type: int
|
|
8235
8797
|
*/
|
|
8236
8798
|
get ParentProductCategoryIDChildCount(): number | null;
|
|
@@ -8262,8 +8824,8 @@ export declare class mjBizAppsOrdersProductEntitlementEntity extends BaseEntity<
|
|
|
8262
8824
|
/**
|
|
8263
8825
|
* Validate() method override for MJ_BizApps_Orders: Product Entitlements entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
8264
8826
|
* * AccessLagHours: Access lag hours, if specified, must be a non-negative number (0 or greater).
|
|
8265
|
-
* * AccessLeadHours: Access lead hours, if specified, must be greater than or equal to
|
|
8266
|
-
* * Table-Level:
|
|
8827
|
+
* * AccessLeadHours: Access lead hours, if specified, must be greater than or equal to 0.
|
|
8828
|
+
* * Table-Level: If the validity mode is set to 'FixedDuration', then the validity duration must be greater than 0 days.
|
|
8267
8829
|
* @public
|
|
8268
8830
|
* @method
|
|
8269
8831
|
* @override
|
|
@@ -8277,19 +8839,19 @@ export declare class mjBizAppsOrdersProductEntitlementEntity extends BaseEntity<
|
|
|
8277
8839
|
*/
|
|
8278
8840
|
ValidateAccessLagHoursGreaterThanOrEqualToZero(result: ValidationResult): void;
|
|
8279
8841
|
/**
|
|
8280
|
-
* Access lead hours, if specified, must be greater than or equal to
|
|
8842
|
+
* Access lead hours, if specified, must be greater than or equal to 0.
|
|
8281
8843
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
8282
8844
|
* @public
|
|
8283
8845
|
* @method
|
|
8284
8846
|
*/
|
|
8285
|
-
|
|
8847
|
+
ValidateAccessLeadHoursMinimum(result: ValidationResult): void;
|
|
8286
8848
|
/**
|
|
8287
|
-
*
|
|
8849
|
+
* If the validity mode is set to 'FixedDuration', then the validity duration must be greater than 0 days.
|
|
8288
8850
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
8289
8851
|
* @public
|
|
8290
8852
|
* @method
|
|
8291
8853
|
*/
|
|
8292
|
-
|
|
8854
|
+
ValidateValidityDurationForFixedDurationMode(result: ValidationResult): void;
|
|
8293
8855
|
/**
|
|
8294
8856
|
* * Field Name: ID
|
|
8295
8857
|
* * Display Name: ID
|
|
@@ -8813,7 +9375,7 @@ export declare class mjBizAppsOrdersProductTypeEntity extends BaseEntity<mjBizAp
|
|
|
8813
9375
|
set OrderLineExtensionEntity(value: string | null);
|
|
8814
9376
|
/**
|
|
8815
9377
|
* * Field Name: IsActive
|
|
8816
|
-
* * Display Name: Active
|
|
9378
|
+
* * Display Name: Is Active
|
|
8817
9379
|
* * SQL Data Type: bit
|
|
8818
9380
|
* * Default Value: 1
|
|
8819
9381
|
* * Description: Whether this type is active and selectable.
|
|
@@ -8882,6 +9444,14 @@ export declare class mjBizAppsOrdersProductTypeEntity extends BaseEntity<mjBizAp
|
|
|
8882
9444
|
get PricingDriverClass(): string | null;
|
|
8883
9445
|
set PricingDriverClass(value: string | null);
|
|
8884
9446
|
/**
|
|
9447
|
+
* * Field Name: Configuration
|
|
9448
|
+
* * Display Name: Configuration
|
|
9449
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
9450
|
+
* * Description: Extensible JSON configuration for this product type including customUI (js, css, theme, componentOverrideKey), unitMode, allowQuantity, and fieldOverrides.
|
|
9451
|
+
*/
|
|
9452
|
+
get Configuration(): string | null;
|
|
9453
|
+
set Configuration(value: string | null);
|
|
9454
|
+
/**
|
|
8885
9455
|
* * Field Name: DefaultRevenueRecognitionType
|
|
8886
9456
|
* * Display Name: Default Revenue Recognition Type
|
|
8887
9457
|
* * SQL Data Type: nvarchar(200)
|
|
@@ -8929,7 +9499,7 @@ export declare class mjBizAppsOrdersProductEntity extends BaseEntity<mjBizAppsOr
|
|
|
8929
9499
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
8930
9500
|
/**
|
|
8931
9501
|
* Validate() method override for MJ_BizApps_Orders: Products entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
8932
|
-
* * MaxQuantityPerLine: The maximum quantity per line
|
|
9502
|
+
* * MaxQuantityPerLine: The maximum quantity allowed per line must be 1 or greater, if it is specified.
|
|
8933
9503
|
* * Table-Level: The availability end date must be on or after the availability start date when both dates are provided.
|
|
8934
9504
|
* * Table-Level: A product cannot be its own successor. If a successor product is specified, it must be a different product to prevent circular references.
|
|
8935
9505
|
* @public
|
|
@@ -8938,7 +9508,7 @@ export declare class mjBizAppsOrdersProductEntity extends BaseEntity<mjBizAppsOr
|
|
|
8938
9508
|
*/
|
|
8939
9509
|
Validate(): ValidationResult;
|
|
8940
9510
|
/**
|
|
8941
|
-
* The maximum quantity per line
|
|
9511
|
+
* The maximum quantity allowed per line must be 1 or greater, if it is specified.
|
|
8942
9512
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
8943
9513
|
* @public
|
|
8944
9514
|
* @method
|
|
@@ -9024,7 +9594,7 @@ export declare class mjBizAppsOrdersProductEntity extends BaseEntity<mjBizAppsOr
|
|
|
9024
9594
|
set Status(value: 'Active' | 'Discontinued' | 'Draft' | 'EOL');
|
|
9025
9595
|
/**
|
|
9026
9596
|
* * Field Name: SuccessorProductID
|
|
9027
|
-
* * Display Name: Successor Product
|
|
9597
|
+
* * Display Name: Successor Product
|
|
9028
9598
|
* * SQL Data Type: uniqueidentifier
|
|
9029
9599
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Products (vwProducts.ID)
|
|
9030
9600
|
*/
|
|
@@ -9065,7 +9635,7 @@ export declare class mjBizAppsOrdersProductEntity extends BaseEntity<mjBizAppsOr
|
|
|
9065
9635
|
set StandaloneSellingPrice(value: number | null);
|
|
9066
9636
|
/**
|
|
9067
9637
|
* * Field Name: SubscriptionTypeID
|
|
9068
|
-
* * Display Name: Subscription Type
|
|
9638
|
+
* * Display Name: Subscription Type
|
|
9069
9639
|
* * SQL Data Type: uniqueidentifier
|
|
9070
9640
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Subscription Types (vwSubscriptionTypes.ID)
|
|
9071
9641
|
*/
|
|
@@ -9181,7 +9751,7 @@ export declare class mjBizAppsOrdersProductEntity extends BaseEntity<mjBizAppsOr
|
|
|
9181
9751
|
get Company(): string;
|
|
9182
9752
|
/**
|
|
9183
9753
|
* * Field Name: SuccessorProduct
|
|
9184
|
-
* * Display Name: Successor Product
|
|
9754
|
+
* * Display Name: Successor Product Name
|
|
9185
9755
|
* * SQL Data Type: nvarchar(200)
|
|
9186
9756
|
*/
|
|
9187
9757
|
get SuccessorProduct(): string | null;
|
|
@@ -9193,7 +9763,7 @@ export declare class mjBizAppsOrdersProductEntity extends BaseEntity<mjBizAppsOr
|
|
|
9193
9763
|
get RevenueRecognitionType(): string;
|
|
9194
9764
|
/**
|
|
9195
9765
|
* * Field Name: SubscriptionType
|
|
9196
|
-
* * Display Name: Subscription Type
|
|
9766
|
+
* * Display Name: Subscription Type Name
|
|
9197
9767
|
* * SQL Data Type: nvarchar(200)
|
|
9198
9768
|
*/
|
|
9199
9769
|
get SubscriptionType(): string | null;
|
|
@@ -9357,19 +9927,19 @@ export declare class mjBizAppsOrdersPromotionTargetEntity extends BaseEntity<mjB
|
|
|
9357
9927
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
9358
9928
|
/**
|
|
9359
9929
|
* Validate() method override for MJ_BizApps_Orders: Promotion Targets entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
9360
|
-
* * Table-Level: A promotion must target either a specific product or a product category, but not both, and
|
|
9930
|
+
* * Table-Level: A promotion must target either a specific product or a product category, but not both, and at least one must be selected.
|
|
9361
9931
|
* @public
|
|
9362
9932
|
* @method
|
|
9363
9933
|
* @override
|
|
9364
9934
|
*/
|
|
9365
9935
|
Validate(): ValidationResult;
|
|
9366
9936
|
/**
|
|
9367
|
-
* A promotion must target either a specific product or a product category, but not both, and
|
|
9937
|
+
* A promotion must target either a specific product or a product category, but not both, and at least one must be selected.
|
|
9368
9938
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
9369
9939
|
* @public
|
|
9370
9940
|
* @method
|
|
9371
9941
|
*/
|
|
9372
|
-
|
|
9942
|
+
ValidateProductOrCategorySelection(result: ValidationResult): void;
|
|
9373
9943
|
/**
|
|
9374
9944
|
* * Field Name: ID
|
|
9375
9945
|
* * Display Name: ID
|
|
@@ -10166,14 +10736,14 @@ export declare class mjBizAppsOrdersStoredValueAccountEntity extends BaseEntity<
|
|
|
10166
10736
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
10167
10737
|
/**
|
|
10168
10738
|
* Validate() method override for MJ_BizApps_Orders: Stored Value Accounts entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
10169
|
-
* * InitialAmount: The initial amount must be a positive value
|
|
10739
|
+
* * InitialAmount: The initial amount must be greater than zero to ensure that the record is created with a positive starting value.
|
|
10170
10740
|
* @public
|
|
10171
10741
|
* @method
|
|
10172
10742
|
* @override
|
|
10173
10743
|
*/
|
|
10174
10744
|
Validate(): ValidationResult;
|
|
10175
10745
|
/**
|
|
10176
|
-
* The initial amount must be a positive value
|
|
10746
|
+
* The initial amount must be greater than zero to ensure that the record is created with a positive starting value.
|
|
10177
10747
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10178
10748
|
* @public
|
|
10179
10749
|
* @method
|
|
@@ -10328,14 +10898,14 @@ export declare class mjBizAppsOrdersStoredValueTransactionEntity extends BaseEnt
|
|
|
10328
10898
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
10329
10899
|
/**
|
|
10330
10900
|
* Validate() method override for MJ_BizApps_Orders: Stored Value Transactions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
10331
|
-
* * Amount: The transaction amount cannot be zero. Every transaction must have a positive or negative value.
|
|
10901
|
+
* * Amount: The transaction amount cannot be zero. Every transaction must have a positive or negative value to be valid.
|
|
10332
10902
|
* @public
|
|
10333
10903
|
* @method
|
|
10334
10904
|
* @override
|
|
10335
10905
|
*/
|
|
10336
10906
|
Validate(): ValidationResult;
|
|
10337
10907
|
/**
|
|
10338
|
-
* The transaction amount cannot be zero. Every transaction must have a positive or negative value.
|
|
10908
|
+
* The transaction amount cannot be zero. Every transaction must have a positive or negative value to be valid.
|
|
10339
10909
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10340
10910
|
* @public
|
|
10341
10911
|
* @method
|
|
@@ -10351,7 +10921,7 @@ export declare class mjBizAppsOrdersStoredValueTransactionEntity extends BaseEnt
|
|
|
10351
10921
|
set ID(value: string);
|
|
10352
10922
|
/**
|
|
10353
10923
|
* * Field Name: StoredValueAccountID
|
|
10354
|
-
* * Display Name: Stored Value Account
|
|
10924
|
+
* * Display Name: Stored Value Account
|
|
10355
10925
|
* * SQL Data Type: uniqueidentifier
|
|
10356
10926
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Stored Value Accounts (vwStoredValueAccounts.ID)
|
|
10357
10927
|
*/
|
|
@@ -10390,7 +10960,7 @@ export declare class mjBizAppsOrdersStoredValueTransactionEntity extends BaseEnt
|
|
|
10390
10960
|
set BalanceAfter(value: number);
|
|
10391
10961
|
/**
|
|
10392
10962
|
* * Field Name: RelatedPaymentID
|
|
10393
|
-
* * Display Name: Related Payment
|
|
10963
|
+
* * Display Name: Related Payment
|
|
10394
10964
|
* * SQL Data Type: uniqueidentifier
|
|
10395
10965
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Payment Headers (vwPaymentHeaders.ID)
|
|
10396
10966
|
*/
|
|
@@ -10398,7 +10968,7 @@ export declare class mjBizAppsOrdersStoredValueTransactionEntity extends BaseEnt
|
|
|
10398
10968
|
set RelatedPaymentID(value: string | null);
|
|
10399
10969
|
/**
|
|
10400
10970
|
* * Field Name: RelatedOrderHeaderID
|
|
10401
|
-
* * Display Name: Related Order
|
|
10971
|
+
* * Display Name: Related Order
|
|
10402
10972
|
* * SQL Data Type: uniqueidentifier
|
|
10403
10973
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Order Headers (vwOrderHeaders.ID)
|
|
10404
10974
|
*/
|
|
@@ -10428,19 +10998,19 @@ export declare class mjBizAppsOrdersStoredValueTransactionEntity extends BaseEnt
|
|
|
10428
10998
|
get __mj_UpdatedAt(): Date;
|
|
10429
10999
|
/**
|
|
10430
11000
|
* * Field Name: StoredValueAccount
|
|
10431
|
-
* * Display Name: Stored Value Account
|
|
11001
|
+
* * Display Name: Stored Value Account Name
|
|
10432
11002
|
* * SQL Data Type: nvarchar(60)
|
|
10433
11003
|
*/
|
|
10434
11004
|
get StoredValueAccount(): string;
|
|
10435
11005
|
/**
|
|
10436
11006
|
* * Field Name: RelatedPayment
|
|
10437
|
-
* * Display Name: Related Payment
|
|
11007
|
+
* * Display Name: Related Payment Name
|
|
10438
11008
|
* * SQL Data Type: nvarchar(40)
|
|
10439
11009
|
*/
|
|
10440
11010
|
get RelatedPayment(): string | null;
|
|
10441
11011
|
/**
|
|
10442
11012
|
* * Field Name: RelatedOrderHeader
|
|
10443
|
-
* * Display Name: Related Order
|
|
11013
|
+
* * Display Name: Related Order Name
|
|
10444
11014
|
* * SQL Data Type: nvarchar(40)
|
|
10445
11015
|
*/
|
|
10446
11016
|
get RelatedOrderHeader(): string | null;
|
|
@@ -10479,7 +11049,7 @@ export declare class mjBizAppsOrdersSubscriptionEventEntity extends BaseEntity<m
|
|
|
10479
11049
|
set ID(value: string);
|
|
10480
11050
|
/**
|
|
10481
11051
|
* * Field Name: SubscriptionID
|
|
10482
|
-
* * Display Name: Subscription
|
|
11052
|
+
* * Display Name: Subscription ID
|
|
10483
11053
|
* * SQL Data Type: uniqueidentifier
|
|
10484
11054
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Subscriptions (vwSubscriptions.ID)
|
|
10485
11055
|
*/
|
|
@@ -10542,7 +11112,7 @@ export declare class mjBizAppsOrdersSubscriptionEventEntity extends BaseEntity<m
|
|
|
10542
11112
|
set RelatedPaymentID(value: string | null);
|
|
10543
11113
|
/**
|
|
10544
11114
|
* * Field Name: RelatedOrderHeaderID
|
|
10545
|
-
* * Display Name: Related Order ID
|
|
11115
|
+
* * Display Name: Related Order Header ID
|
|
10546
11116
|
* * SQL Data Type: uniqueidentifier
|
|
10547
11117
|
* * Related Entity/Foreign Key: MJ_BizApps_Orders: Order Headers (vwOrderHeaders.ID)
|
|
10548
11118
|
*/
|
|
@@ -10564,7 +11134,7 @@ export declare class mjBizAppsOrdersSubscriptionEventEntity extends BaseEntity<m
|
|
|
10564
11134
|
get __mj_UpdatedAt(): Date;
|
|
10565
11135
|
/**
|
|
10566
11136
|
* * Field Name: Subscription
|
|
10567
|
-
* * Display Name: Subscription
|
|
11137
|
+
* * Display Name: Subscription
|
|
10568
11138
|
* * SQL Data Type: nvarchar(40)
|
|
10569
11139
|
*/
|
|
10570
11140
|
get Subscription(): string;
|
|
@@ -10576,7 +11146,7 @@ export declare class mjBizAppsOrdersSubscriptionEventEntity extends BaseEntity<m
|
|
|
10576
11146
|
get RelatedPayment(): string | null;
|
|
10577
11147
|
/**
|
|
10578
11148
|
* * Field Name: RelatedOrderHeader
|
|
10579
|
-
* * Display Name: Related Order
|
|
11149
|
+
* * Display Name: Related Order Header
|
|
10580
11150
|
* * SQL Data Type: nvarchar(40)
|
|
10581
11151
|
*/
|
|
10582
11152
|
get RelatedOrderHeader(): string | null;
|
|
@@ -10685,7 +11255,7 @@ export declare class mjBizAppsOrdersSubscriptionTermEntity extends BaseEntity<mj
|
|
|
10685
11255
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
10686
11256
|
/**
|
|
10687
11257
|
* Validate() method override for MJ_BizApps_Orders: Subscription Terms entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
10688
|
-
* * TermNumber: The term number must be a positive
|
|
11258
|
+
* * TermNumber: The term number must be a positive value greater than zero.
|
|
10689
11259
|
* * Table-Level: The subscription term's end date must be on or after its start date to ensure a valid active period.
|
|
10690
11260
|
* * Table-Level: If an item is marked as prorated, a proration factor must be provided to ensure accurate financial calculations.
|
|
10691
11261
|
* @public
|
|
@@ -10694,7 +11264,7 @@ export declare class mjBizAppsOrdersSubscriptionTermEntity extends BaseEntity<mj
|
|
|
10694
11264
|
*/
|
|
10695
11265
|
Validate(): ValidationResult;
|
|
10696
11266
|
/**
|
|
10697
|
-
* The term number must be a positive
|
|
11267
|
+
* The term number must be a positive value greater than zero.
|
|
10698
11268
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10699
11269
|
* @public
|
|
10700
11270
|
* @method
|
|
@@ -11227,8 +11797,8 @@ export declare class mjBizAppsOrdersSubscriptionEntity extends BaseEntity<mjBizA
|
|
|
11227
11797
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
11228
11798
|
/**
|
|
11229
11799
|
* Validate() method override for MJ_BizApps_Orders: Subscriptions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
11230
|
-
* * RenewalLeadDays: Renewal lead days must be
|
|
11231
|
-
* * Table-Level: A subscription cannot migrate from itself. The
|
|
11800
|
+
* * RenewalLeadDays: Renewal lead days must be a non-negative number (0 or greater) if specified.
|
|
11801
|
+
* * Table-Level: A subscription cannot migrate from itself. The 'Migrates From Subscription' field must be different from the subscription's own ID.
|
|
11232
11802
|
* * Table-Level: A subscription cannot migrate to itself. This prevents logical errors where a subscription's migration destination is set as its own record.
|
|
11233
11803
|
* @public
|
|
11234
11804
|
* @method
|
|
@@ -11236,14 +11806,14 @@ export declare class mjBizAppsOrdersSubscriptionEntity extends BaseEntity<mjBizA
|
|
|
11236
11806
|
*/
|
|
11237
11807
|
Validate(): ValidationResult;
|
|
11238
11808
|
/**
|
|
11239
|
-
* Renewal lead days must be
|
|
11809
|
+
* Renewal lead days must be a non-negative number (0 or greater) if specified.
|
|
11240
11810
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
11241
11811
|
* @public
|
|
11242
11812
|
* @method
|
|
11243
11813
|
*/
|
|
11244
11814
|
ValidateRenewalLeadDaysGreaterThanOrEqualToZero(result: ValidationResult): void;
|
|
11245
11815
|
/**
|
|
11246
|
-
* A subscription cannot migrate from itself. The
|
|
11816
|
+
* A subscription cannot migrate from itself. The 'Migrates From Subscription' field must be different from the subscription's own ID.
|
|
11247
11817
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
11248
11818
|
* @public
|
|
11249
11819
|
* @method
|