@mj-biz-apps/orders-server 5.18.0 → 5.20.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/BillComWebhookExtension.d.ts +46 -0
- package/dist/BillComWebhookExtension.d.ts.map +1 -0
- package/dist/BillComWebhookExtension.js +220 -0
- package/dist/BillComWebhookExtension.js.map +1 -0
- package/dist/CheckoutServerExtension.d.ts +9 -1
- package/dist/CheckoutServerExtension.d.ts.map +1 -1
- package/dist/CheckoutServerExtension.js +15 -0
- package/dist/CheckoutServerExtension.js.map +1 -1
- package/dist/__tests__/BillComWebhookExtension.test.d.ts +2 -0
- package/dist/__tests__/BillComWebhookExtension.test.d.ts.map +1 -0
- package/dist/__tests__/BillComWebhookExtension.test.js +166 -0
- package/dist/__tests__/BillComWebhookExtension.test.js.map +1 -0
- package/dist/__tests__/CheckoutServerExtension.test.js +19 -0
- package/dist/__tests__/CheckoutServerExtension.test.js.map +1 -1
- package/dist/__tests__/billcom-actions.test.d.ts +2 -0
- package/dist/__tests__/billcom-actions.test.d.ts.map +1 -0
- package/dist/__tests__/billcom-actions.test.js +89 -0
- package/dist/__tests__/billcom-actions.test.js.map +1 -0
- package/dist/__tests__/server-extensions-manifest.test.js +6 -0
- package/dist/__tests__/server-extensions-manifest.test.js.map +1 -1
- package/dist/custom/action-params.d.ts +31 -0
- package/dist/custom/action-params.d.ts.map +1 -0
- package/dist/custom/action-params.js +69 -0
- package/dist/custom/action-params.js.map +1 -0
- package/dist/custom/poll-external-payments.action.d.ts +25 -0
- package/dist/custom/poll-external-payments.action.d.ts.map +1 -0
- package/dist/custom/poll-external-payments.action.js +98 -0
- package/dist/custom/poll-external-payments.action.js.map +1 -0
- package/dist/custom/send-document.action.d.ts.map +1 -1
- package/dist/custom/send-document.action.js +3 -1
- package/dist/custom/send-document.action.js.map +1 -1
- package/dist/custom/send-external-invoices.action.d.ts +27 -0
- package/dist/custom/send-external-invoices.action.d.ts.map +1 -0
- package/dist/custom/send-external-invoices.action.js +92 -0
- package/dist/custom/send-external-invoices.action.js.map +1 -0
- package/dist/generated/graphql-schemas/__mj_BizAppsOrders.d.ts +373 -0
- package/dist/generated/graphql-schemas/__mj_BizAppsOrders.d.ts.map +1 -1
- package/dist/generated/graphql-schemas/__mj_BizAppsOrders.js +2953 -1046
- package/dist/generated/graphql-schemas/__mj_BizAppsOrders.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -1
- package/dist/index.js.map +1 -1
- package/dist/server-extensions-manifest.d.ts.map +1 -1
- package/dist/server-extensions-manifest.js +6 -0
- package/dist/server-extensions-manifest.js.map +1 -1
- package/package.json +10 -4
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* @fileoverview `Orders: Send External Invoices` — the scheduling surface for `Orders.SendExternalInvoices`.
|
|
9
|
+
*
|
|
10
|
+
* MJ's scheduler dispatches Actions and Agents; no driver takes an operation key. This Action is the
|
|
11
|
+
* adapter between the two and is deliberately the thinnest thing that can be: read params, route to
|
|
12
|
+
* the operation through the provider (so its `Authorize` hook runs), report what came back. Every
|
|
13
|
+
* rule about WHAT gets sent lives in the operation and in `IssueOneUnit`, where the order form's
|
|
14
|
+
* button exercises the same code.
|
|
15
|
+
*
|
|
16
|
+
* PREVIEW IS A PARAMETER, NOT A SEPARATE ACTION. The go-live gate is one preview run whose list a
|
|
17
|
+
* person confirms before the same job is allowed to send anything.
|
|
18
|
+
*
|
|
19
|
+
* @module @mj-biz-apps/orders-server
|
|
20
|
+
*/
|
|
21
|
+
import { BaseAction } from '@memberjunction/actions';
|
|
22
|
+
import { Metadata } from '@memberjunction/core';
|
|
23
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
24
|
+
import { OrdersSendExternalInvoicesOperation } from '@mj-biz-apps/orders-entities';
|
|
25
|
+
import { boolParam, listParam, numParam, param, setOutput, supplied, UUID } from './action-params.js';
|
|
26
|
+
/**
|
|
27
|
+
* Inputs: `CompanyIDs`, `MaxCount`, `Preview`, `RetryTransientFailures` — all optional.
|
|
28
|
+
* Outputs: `Sent`, `Failed`, `Skipped`, `Results`, `PreviewedOnly`.
|
|
29
|
+
*/
|
|
30
|
+
let SendExternalInvoicesAction = class SendExternalInvoicesAction extends BaseAction {
|
|
31
|
+
async InternalRunAction(params) {
|
|
32
|
+
try {
|
|
33
|
+
return await this.send(params);
|
|
34
|
+
}
|
|
35
|
+
catch (error) {
|
|
36
|
+
return { Success: false, ResultCode: 'ERROR', Message: `The external invoice sweep failed: ${error instanceof Error ? error.message : String(error)}` };
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
async send(params) {
|
|
40
|
+
const user = params.ContextUser;
|
|
41
|
+
if (!user) {
|
|
42
|
+
return { Success: false, ResultCode: 'NO_CONTEXT_USER', Message: 'ContextUser is required: a rail invoice has to be attributable to somebody.' };
|
|
43
|
+
}
|
|
44
|
+
const input = {};
|
|
45
|
+
const companies = listParam(params, 'CompanyIDs');
|
|
46
|
+
if (companies !== null) {
|
|
47
|
+
const bad = companies.filter((c) => !UUID.test(c));
|
|
48
|
+
if (bad.length)
|
|
49
|
+
return { Success: false, ResultCode: 'INVALID_COMPANY_IDS', Message: `CompanyIDs must be company IDs, comma-separated — got '${bad.join(', ')}'.` };
|
|
50
|
+
input.CompanyIDs = companies;
|
|
51
|
+
}
|
|
52
|
+
const maxCount = numParam(params, 'MaxCount');
|
|
53
|
+
if (maxCount !== null) {
|
|
54
|
+
if (!Number.isInteger(maxCount) || maxCount < 1) {
|
|
55
|
+
return { Success: false, ResultCode: 'INVALID_MAX_COUNT', Message: `MaxCount is a cap on units sent in one pass, so it must be a whole number of at least 1 — got '${String(param(params, 'MaxCount'))}'.` };
|
|
56
|
+
}
|
|
57
|
+
input.MaxCount = maxCount;
|
|
58
|
+
}
|
|
59
|
+
for (const name of ['Preview', 'RetryTransientFailures']) {
|
|
60
|
+
const value = boolParam(params, name);
|
|
61
|
+
if (value === null && supplied(params, name)) {
|
|
62
|
+
return { Success: false, ResultCode: `INVALID_${name.toUpperCase()}`, Message: `${name} takes true or false — got '${String(param(params, name))}'. Refused rather than guessed, because the wrong guess sends customers invoices.` };
|
|
63
|
+
}
|
|
64
|
+
if (value !== null)
|
|
65
|
+
input[name] = value;
|
|
66
|
+
}
|
|
67
|
+
const provider = params.Provider ?? Metadata.Provider;
|
|
68
|
+
const result = await new OrdersSendExternalInvoicesOperation().Execute(input, { provider, user });
|
|
69
|
+
if (!result.Success || !result.Output) {
|
|
70
|
+
return { Success: false, ResultCode: result.ResultCode ?? 'OPERATION_FAILED', Params: params.Params, Message: result.ErrorMessage ?? 'Orders.SendExternalInvoices returned no result.' };
|
|
71
|
+
}
|
|
72
|
+
const out = result.Output;
|
|
73
|
+
setOutput(params, 'Sent', out.Sent);
|
|
74
|
+
setOutput(params, 'Failed', out.Failed);
|
|
75
|
+
setOutput(params, 'Skipped', out.Skipped);
|
|
76
|
+
setOutput(params, 'Results', out.Results);
|
|
77
|
+
setOutput(params, 'PreviewedOnly', input.Preview === true);
|
|
78
|
+
if (!out.Success) {
|
|
79
|
+
return { Success: false, ResultCode: 'PARTIAL', Params: params.Params, Message: out.Message ?? `${out.Failed} unit(s) were not sent.` };
|
|
80
|
+
}
|
|
81
|
+
return { Success: true, ResultCode: input.Preview === true ? 'PREVIEWED' : 'COMPLETED', Params: params.Params, Message: out.Message ?? `${out.Sent} unit(s) sent.` };
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
SendExternalInvoicesAction = __decorate([
|
|
85
|
+
RegisterClass(BaseAction, 'Orders.SendExternalInvoices')
|
|
86
|
+
], SendExternalInvoicesAction);
|
|
87
|
+
export { SendExternalInvoicesAction };
|
|
88
|
+
/** Tree-shaking anchor — without it the decorator never runs and the action has nothing behind it. */
|
|
89
|
+
export function LoadSendExternalInvoicesAction() {
|
|
90
|
+
void SendExternalInvoicesAction;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=send-external-invoices.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-external-invoices.action.js","sourceRoot":"","sources":["../../src/custom/send-external-invoices.action.ts"],"names":[],"mappings":"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"}
|
|
@@ -624,6 +624,7 @@ export declare class mjBizAppsOrdersEventOrderLine_ {
|
|
|
624
624
|
PriceOverrideReason?: string;
|
|
625
625
|
DimensionID?: string;
|
|
626
626
|
DimensionValueID?: string;
|
|
627
|
+
ShipToAddressSnapshot?: string;
|
|
627
628
|
Person?: string;
|
|
628
629
|
BilledToDate: number;
|
|
629
630
|
ReadableFields___?: string[];
|
|
@@ -679,6 +680,7 @@ export declare class CreatemjBizAppsOrdersEventOrderLineInput {
|
|
|
679
680
|
DimensionValueID: string | null;
|
|
680
681
|
BilledToDate?: number;
|
|
681
682
|
RecognizedToDate?: number;
|
|
683
|
+
ShipToAddressSnapshot: string | null;
|
|
682
684
|
RestoreContext___?: RestoreContextInput;
|
|
683
685
|
}
|
|
684
686
|
export declare class UpdatemjBizAppsOrdersEventOrderLineInput {
|
|
@@ -731,6 +733,7 @@ export declare class UpdatemjBizAppsOrdersEventOrderLineInput {
|
|
|
731
733
|
DimensionValueID?: string | null;
|
|
732
734
|
BilledToDate?: number;
|
|
733
735
|
RecognizedToDate?: number;
|
|
736
|
+
ShipToAddressSnapshot?: string | null;
|
|
734
737
|
OldValues___?: KeyValuePairInput[];
|
|
735
738
|
RestoreContext___?: RestoreContextInput;
|
|
736
739
|
}
|
|
@@ -870,6 +873,226 @@ export declare class mjBizAppsOrdersEventProductResolver extends ResolverBase {
|
|
|
870
873
|
UpdatemjBizAppsOrdersEventProduct(input: UpdatemjBizAppsOrdersEventProductInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
871
874
|
DeletemjBizAppsOrdersEventProduct(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
872
875
|
}
|
|
876
|
+
export declare class mjBizAppsOrdersExternalCustomer_ {
|
|
877
|
+
ID: string;
|
|
878
|
+
PaymentProviderID: string;
|
|
879
|
+
BillToOrganizationID?: string;
|
|
880
|
+
BillToPersonID?: string;
|
|
881
|
+
ExternalCustomerRef: string;
|
|
882
|
+
LastSyncedAt?: Date;
|
|
883
|
+
_mj__CreatedAt: Date;
|
|
884
|
+
_mj__UpdatedAt: Date;
|
|
885
|
+
PaymentProvider: string;
|
|
886
|
+
BillToOrganization?: string;
|
|
887
|
+
BillToPerson?: string;
|
|
888
|
+
}
|
|
889
|
+
export declare class CreatemjBizAppsOrdersExternalCustomerInput {
|
|
890
|
+
ID?: string;
|
|
891
|
+
PaymentProviderID?: string;
|
|
892
|
+
BillToOrganizationID: string | null;
|
|
893
|
+
BillToPersonID: string | null;
|
|
894
|
+
ExternalCustomerRef?: string;
|
|
895
|
+
LastSyncedAt: Date | null;
|
|
896
|
+
RestoreContext___?: RestoreContextInput;
|
|
897
|
+
}
|
|
898
|
+
export declare class UpdatemjBizAppsOrdersExternalCustomerInput {
|
|
899
|
+
ID: string;
|
|
900
|
+
PaymentProviderID?: string;
|
|
901
|
+
BillToOrganizationID?: string | null;
|
|
902
|
+
BillToPersonID?: string | null;
|
|
903
|
+
ExternalCustomerRef?: string;
|
|
904
|
+
LastSyncedAt?: Date | null;
|
|
905
|
+
OldValues___?: KeyValuePairInput[];
|
|
906
|
+
RestoreContext___?: RestoreContextInput;
|
|
907
|
+
}
|
|
908
|
+
export declare class RunmjBizAppsOrdersExternalCustomerViewResult {
|
|
909
|
+
Results: mjBizAppsOrdersExternalCustomer_[];
|
|
910
|
+
UserViewRunID?: string;
|
|
911
|
+
RowCount: number;
|
|
912
|
+
TotalRowCount: number;
|
|
913
|
+
ExecutionTime: number;
|
|
914
|
+
ErrorMessage?: string;
|
|
915
|
+
Success: boolean;
|
|
916
|
+
}
|
|
917
|
+
export declare class mjBizAppsOrdersExternalCustomerResolver extends ResolverBase {
|
|
918
|
+
RunmjBizAppsOrdersExternalCustomerViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
919
|
+
RunmjBizAppsOrdersExternalCustomerViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
920
|
+
RunmjBizAppsOrdersExternalCustomerDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
921
|
+
mjBizAppsOrdersExternalCustomer(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<mjBizAppsOrdersExternalCustomer_ | null>;
|
|
922
|
+
CreatemjBizAppsOrdersExternalCustomer(input: CreatemjBizAppsOrdersExternalCustomerInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
923
|
+
UpdatemjBizAppsOrdersExternalCustomer(input: UpdatemjBizAppsOrdersExternalCustomerInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
924
|
+
DeletemjBizAppsOrdersExternalCustomer(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
925
|
+
}
|
|
926
|
+
export declare class mjBizAppsOrdersExternalInvoice_ {
|
|
927
|
+
ID: string;
|
|
928
|
+
PaymentProviderID: string;
|
|
929
|
+
OrderHeaderID: string;
|
|
930
|
+
CompanyID: string;
|
|
931
|
+
OrderHeaderPaymentScheduleID?: string;
|
|
932
|
+
DocumentNumber: string;
|
|
933
|
+
Amount: number;
|
|
934
|
+
DueDate?: Date;
|
|
935
|
+
Status: string;
|
|
936
|
+
ExternalCustomerRef?: string;
|
|
937
|
+
ExternalInvoiceRef?: string;
|
|
938
|
+
ExternalTotal?: number;
|
|
939
|
+
ExternalDueAmount?: number;
|
|
940
|
+
ExternalStatus?: string;
|
|
941
|
+
SentAt?: Date;
|
|
942
|
+
CanceledAt?: Date;
|
|
943
|
+
CancelReason?: string;
|
|
944
|
+
LastSyncedAt?: Date;
|
|
945
|
+
LastError?: string;
|
|
946
|
+
IssuedByUserID?: string;
|
|
947
|
+
UnitScheduleKey: string;
|
|
948
|
+
_mj__CreatedAt: Date;
|
|
949
|
+
_mj__UpdatedAt: Date;
|
|
950
|
+
PaymentProvider: string;
|
|
951
|
+
OrderHeader: string;
|
|
952
|
+
Company: string;
|
|
953
|
+
IssuedByUser?: string;
|
|
954
|
+
}
|
|
955
|
+
export declare class CreatemjBizAppsOrdersExternalInvoiceInput {
|
|
956
|
+
ID?: string;
|
|
957
|
+
PaymentProviderID?: string;
|
|
958
|
+
OrderHeaderID?: string;
|
|
959
|
+
CompanyID?: string;
|
|
960
|
+
OrderHeaderPaymentScheduleID: string | null;
|
|
961
|
+
DocumentNumber?: string;
|
|
962
|
+
Amount?: number;
|
|
963
|
+
DueDate: Date | null;
|
|
964
|
+
Status?: string;
|
|
965
|
+
ExternalCustomerRef: string | null;
|
|
966
|
+
ExternalInvoiceRef: string | null;
|
|
967
|
+
ExternalTotal: number | null;
|
|
968
|
+
ExternalDueAmount: number | null;
|
|
969
|
+
ExternalStatus: string | null;
|
|
970
|
+
SentAt: Date | null;
|
|
971
|
+
CanceledAt: Date | null;
|
|
972
|
+
CancelReason: string | null;
|
|
973
|
+
LastSyncedAt: Date | null;
|
|
974
|
+
LastError: string | null;
|
|
975
|
+
IssuedByUserID: string | null;
|
|
976
|
+
RestoreContext___?: RestoreContextInput;
|
|
977
|
+
}
|
|
978
|
+
export declare class UpdatemjBizAppsOrdersExternalInvoiceInput {
|
|
979
|
+
ID: string;
|
|
980
|
+
PaymentProviderID?: string;
|
|
981
|
+
OrderHeaderID?: string;
|
|
982
|
+
CompanyID?: string;
|
|
983
|
+
OrderHeaderPaymentScheduleID?: string | null;
|
|
984
|
+
DocumentNumber?: string;
|
|
985
|
+
Amount?: number;
|
|
986
|
+
DueDate?: Date | null;
|
|
987
|
+
Status?: string;
|
|
988
|
+
ExternalCustomerRef?: string | null;
|
|
989
|
+
ExternalInvoiceRef?: string | null;
|
|
990
|
+
ExternalTotal?: number | null;
|
|
991
|
+
ExternalDueAmount?: number | null;
|
|
992
|
+
ExternalStatus?: string | null;
|
|
993
|
+
SentAt?: Date | null;
|
|
994
|
+
CanceledAt?: Date | null;
|
|
995
|
+
CancelReason?: string | null;
|
|
996
|
+
LastSyncedAt?: Date | null;
|
|
997
|
+
LastError?: string | null;
|
|
998
|
+
IssuedByUserID?: string | null;
|
|
999
|
+
OldValues___?: KeyValuePairInput[];
|
|
1000
|
+
RestoreContext___?: RestoreContextInput;
|
|
1001
|
+
}
|
|
1002
|
+
export declare class RunmjBizAppsOrdersExternalInvoiceViewResult {
|
|
1003
|
+
Results: mjBizAppsOrdersExternalInvoice_[];
|
|
1004
|
+
UserViewRunID?: string;
|
|
1005
|
+
RowCount: number;
|
|
1006
|
+
TotalRowCount: number;
|
|
1007
|
+
ExecutionTime: number;
|
|
1008
|
+
ErrorMessage?: string;
|
|
1009
|
+
Success: boolean;
|
|
1010
|
+
}
|
|
1011
|
+
export declare class mjBizAppsOrdersExternalInvoiceResolver extends ResolverBase {
|
|
1012
|
+
RunmjBizAppsOrdersExternalInvoiceViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
1013
|
+
RunmjBizAppsOrdersExternalInvoiceViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
1014
|
+
RunmjBizAppsOrdersExternalInvoiceDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
1015
|
+
mjBizAppsOrdersExternalInvoice(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<mjBizAppsOrdersExternalInvoice_ | null>;
|
|
1016
|
+
CreatemjBizAppsOrdersExternalInvoice(input: CreatemjBizAppsOrdersExternalInvoiceInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1017
|
+
UpdatemjBizAppsOrdersExternalInvoice(input: UpdatemjBizAppsOrdersExternalInvoiceInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1018
|
+
DeletemjBizAppsOrdersExternalInvoice(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1019
|
+
}
|
|
1020
|
+
export declare class mjBizAppsOrdersExternalPayment_ {
|
|
1021
|
+
ID: string;
|
|
1022
|
+
PaymentProviderID: string;
|
|
1023
|
+
ExternalPaymentRef: string;
|
|
1024
|
+
ExternalCustomerRef?: string;
|
|
1025
|
+
Amount: number;
|
|
1026
|
+
UnappliedAmount: number;
|
|
1027
|
+
PaymentDate?: Date;
|
|
1028
|
+
ExternalStatus?: string;
|
|
1029
|
+
ExternalUpdatedAt?: Date;
|
|
1030
|
+
Disposition: string;
|
|
1031
|
+
DispositionReason?: string;
|
|
1032
|
+
PaymentHeaderID?: string;
|
|
1033
|
+
Payload?: string;
|
|
1034
|
+
FirstSeenAt: Date;
|
|
1035
|
+
LastSeenAt: Date;
|
|
1036
|
+
_mj__CreatedAt: Date;
|
|
1037
|
+
_mj__UpdatedAt: Date;
|
|
1038
|
+
PaymentProvider: string;
|
|
1039
|
+
PaymentHeader?: string;
|
|
1040
|
+
}
|
|
1041
|
+
export declare class CreatemjBizAppsOrdersExternalPaymentInput {
|
|
1042
|
+
ID?: string;
|
|
1043
|
+
PaymentProviderID?: string;
|
|
1044
|
+
ExternalPaymentRef?: string;
|
|
1045
|
+
ExternalCustomerRef: string | null;
|
|
1046
|
+
Amount?: number;
|
|
1047
|
+
UnappliedAmount?: number;
|
|
1048
|
+
PaymentDate: Date | null;
|
|
1049
|
+
ExternalStatus: string | null;
|
|
1050
|
+
ExternalUpdatedAt: Date | null;
|
|
1051
|
+
Disposition?: string;
|
|
1052
|
+
DispositionReason: string | null;
|
|
1053
|
+
PaymentHeaderID: string | null;
|
|
1054
|
+
Payload: string | null;
|
|
1055
|
+
FirstSeenAt?: Date;
|
|
1056
|
+
LastSeenAt?: Date;
|
|
1057
|
+
RestoreContext___?: RestoreContextInput;
|
|
1058
|
+
}
|
|
1059
|
+
export declare class UpdatemjBizAppsOrdersExternalPaymentInput {
|
|
1060
|
+
ID: string;
|
|
1061
|
+
PaymentProviderID?: string;
|
|
1062
|
+
ExternalPaymentRef?: string;
|
|
1063
|
+
ExternalCustomerRef?: string | null;
|
|
1064
|
+
Amount?: number;
|
|
1065
|
+
UnappliedAmount?: number;
|
|
1066
|
+
PaymentDate?: Date | null;
|
|
1067
|
+
ExternalStatus?: string | null;
|
|
1068
|
+
ExternalUpdatedAt?: Date | null;
|
|
1069
|
+
Disposition?: string;
|
|
1070
|
+
DispositionReason?: string | null;
|
|
1071
|
+
PaymentHeaderID?: string | null;
|
|
1072
|
+
Payload?: string | null;
|
|
1073
|
+
FirstSeenAt?: Date;
|
|
1074
|
+
LastSeenAt?: Date;
|
|
1075
|
+
OldValues___?: KeyValuePairInput[];
|
|
1076
|
+
RestoreContext___?: RestoreContextInput;
|
|
1077
|
+
}
|
|
1078
|
+
export declare class RunmjBizAppsOrdersExternalPaymentViewResult {
|
|
1079
|
+
Results: mjBizAppsOrdersExternalPayment_[];
|
|
1080
|
+
UserViewRunID?: string;
|
|
1081
|
+
RowCount: number;
|
|
1082
|
+
TotalRowCount: number;
|
|
1083
|
+
ExecutionTime: number;
|
|
1084
|
+
ErrorMessage?: string;
|
|
1085
|
+
Success: boolean;
|
|
1086
|
+
}
|
|
1087
|
+
export declare class mjBizAppsOrdersExternalPaymentResolver extends ResolverBase {
|
|
1088
|
+
RunmjBizAppsOrdersExternalPaymentViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
1089
|
+
RunmjBizAppsOrdersExternalPaymentViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
1090
|
+
RunmjBizAppsOrdersExternalPaymentDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
1091
|
+
mjBizAppsOrdersExternalPayment(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<mjBizAppsOrdersExternalPayment_ | null>;
|
|
1092
|
+
CreatemjBizAppsOrdersExternalPayment(input: CreatemjBizAppsOrdersExternalPaymentInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1093
|
+
UpdatemjBizAppsOrdersExternalPayment(input: UpdatemjBizAppsOrdersExternalPaymentInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1094
|
+
DeletemjBizAppsOrdersExternalPayment(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1095
|
+
}
|
|
873
1096
|
export declare class mjBizAppsOrdersOrderAdjustmentAllocation_ {
|
|
874
1097
|
ID: string;
|
|
875
1098
|
OrderAdjustmentID?: string;
|
|
@@ -1278,6 +1501,9 @@ export declare class mjBizAppsOrdersOrderHeader_ {
|
|
|
1278
1501
|
Origin?: string;
|
|
1279
1502
|
SourceCheckoutWidgetID?: string;
|
|
1280
1503
|
FulfillmentStatus?: string;
|
|
1504
|
+
BillToAddressSnapshot?: string;
|
|
1505
|
+
ShipToAddressSnapshot?: string;
|
|
1506
|
+
ConfirmedByUserID?: string;
|
|
1281
1507
|
Company?: string;
|
|
1282
1508
|
BillToPerson?: string;
|
|
1283
1509
|
BillToOrganization?: string;
|
|
@@ -1292,6 +1518,7 @@ export declare class mjBizAppsOrdersOrderHeader_ {
|
|
|
1292
1518
|
PostedByUser?: string;
|
|
1293
1519
|
ReversesOrderHeader?: string;
|
|
1294
1520
|
SourceCheckoutWidget?: string;
|
|
1521
|
+
ConfirmedByUser?: string;
|
|
1295
1522
|
_mj__Latitude_BillToAddressID?: number;
|
|
1296
1523
|
_mj__Longitude_BillToAddressID?: number;
|
|
1297
1524
|
_mj__Latitude_ShipToAddressID?: number;
|
|
@@ -1335,6 +1562,9 @@ export declare class CreatemjBizAppsOrdersOrderHeaderInput {
|
|
|
1335
1562
|
Origin?: string;
|
|
1336
1563
|
SourceCheckoutWidgetID: string | null;
|
|
1337
1564
|
FulfillmentStatus?: string;
|
|
1565
|
+
BillToAddressSnapshot: string | null;
|
|
1566
|
+
ShipToAddressSnapshot: string | null;
|
|
1567
|
+
ConfirmedByUserID: string | null;
|
|
1338
1568
|
RestoreContext___?: RestoreContextInput;
|
|
1339
1569
|
}
|
|
1340
1570
|
export declare class UpdatemjBizAppsOrdersOrderHeaderInput {
|
|
@@ -1372,6 +1602,9 @@ export declare class UpdatemjBizAppsOrdersOrderHeaderInput {
|
|
|
1372
1602
|
Origin?: string;
|
|
1373
1603
|
SourceCheckoutWidgetID?: string | null;
|
|
1374
1604
|
FulfillmentStatus?: string;
|
|
1605
|
+
BillToAddressSnapshot?: string | null;
|
|
1606
|
+
ShipToAddressSnapshot?: string | null;
|
|
1607
|
+
ConfirmedByUserID?: string | null;
|
|
1375
1608
|
OldValues___?: KeyValuePairInput[];
|
|
1376
1609
|
RestoreContext___?: RestoreContextInput;
|
|
1377
1610
|
}
|
|
@@ -1495,6 +1728,85 @@ export declare class mjBizAppsOrdersOrderLinePriceComponentResolver extends Reso
|
|
|
1495
1728
|
UpdatemjBizAppsOrdersOrderLinePriceComponent(input: UpdatemjBizAppsOrdersOrderLinePriceComponentInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1496
1729
|
DeletemjBizAppsOrdersOrderLinePriceComponent(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1497
1730
|
}
|
|
1731
|
+
export declare class mjBizAppsOrdersOrderLineProgressMeasurement_ {
|
|
1732
|
+
ID: string;
|
|
1733
|
+
OrderLineID: string;
|
|
1734
|
+
MeasurementDate: Date;
|
|
1735
|
+
PercentComplete: number;
|
|
1736
|
+
MethodCode: string;
|
|
1737
|
+
MeasureNumerator?: number;
|
|
1738
|
+
MeasureDenominator?: number;
|
|
1739
|
+
AttestedByUserID?: string;
|
|
1740
|
+
SourceEntityID?: string;
|
|
1741
|
+
SourceRecordID?: string;
|
|
1742
|
+
Notes?: string;
|
|
1743
|
+
RecognizedToDateBefore?: number;
|
|
1744
|
+
RecognizedToDateAfter?: number;
|
|
1745
|
+
RecognitionAmount?: number;
|
|
1746
|
+
JournalEntryID?: string;
|
|
1747
|
+
Status: string;
|
|
1748
|
+
_mj__CreatedAt: Date;
|
|
1749
|
+
_mj__UpdatedAt: Date;
|
|
1750
|
+
AttestedByUser?: string;
|
|
1751
|
+
SourceEntity?: string;
|
|
1752
|
+
}
|
|
1753
|
+
export declare class CreatemjBizAppsOrdersOrderLineProgressMeasurementInput {
|
|
1754
|
+
ID?: string;
|
|
1755
|
+
OrderLineID?: string;
|
|
1756
|
+
MeasurementDate?: Date;
|
|
1757
|
+
PercentComplete?: number;
|
|
1758
|
+
MethodCode?: string;
|
|
1759
|
+
MeasureNumerator: number | null;
|
|
1760
|
+
MeasureDenominator: number | null;
|
|
1761
|
+
AttestedByUserID: string | null;
|
|
1762
|
+
SourceEntityID: string | null;
|
|
1763
|
+
SourceRecordID: string | null;
|
|
1764
|
+
Notes: string | null;
|
|
1765
|
+
RecognizedToDateBefore: number | null;
|
|
1766
|
+
RecognizedToDateAfter: number | null;
|
|
1767
|
+
RecognitionAmount: number | null;
|
|
1768
|
+
JournalEntryID: string | null;
|
|
1769
|
+
Status?: string;
|
|
1770
|
+
RestoreContext___?: RestoreContextInput;
|
|
1771
|
+
}
|
|
1772
|
+
export declare class UpdatemjBizAppsOrdersOrderLineProgressMeasurementInput {
|
|
1773
|
+
ID: string;
|
|
1774
|
+
OrderLineID?: string;
|
|
1775
|
+
MeasurementDate?: Date;
|
|
1776
|
+
PercentComplete?: number;
|
|
1777
|
+
MethodCode?: string;
|
|
1778
|
+
MeasureNumerator?: number | null;
|
|
1779
|
+
MeasureDenominator?: number | null;
|
|
1780
|
+
AttestedByUserID?: string | null;
|
|
1781
|
+
SourceEntityID?: string | null;
|
|
1782
|
+
SourceRecordID?: string | null;
|
|
1783
|
+
Notes?: string | null;
|
|
1784
|
+
RecognizedToDateBefore?: number | null;
|
|
1785
|
+
RecognizedToDateAfter?: number | null;
|
|
1786
|
+
RecognitionAmount?: number | null;
|
|
1787
|
+
JournalEntryID?: string | null;
|
|
1788
|
+
Status?: string;
|
|
1789
|
+
OldValues___?: KeyValuePairInput[];
|
|
1790
|
+
RestoreContext___?: RestoreContextInput;
|
|
1791
|
+
}
|
|
1792
|
+
export declare class RunmjBizAppsOrdersOrderLineProgressMeasurementViewResult {
|
|
1793
|
+
Results: mjBizAppsOrdersOrderLineProgressMeasurement_[];
|
|
1794
|
+
UserViewRunID?: string;
|
|
1795
|
+
RowCount: number;
|
|
1796
|
+
TotalRowCount: number;
|
|
1797
|
+
ExecutionTime: number;
|
|
1798
|
+
ErrorMessage?: string;
|
|
1799
|
+
Success: boolean;
|
|
1800
|
+
}
|
|
1801
|
+
export declare class mjBizAppsOrdersOrderLineProgressMeasurementResolver extends ResolverBase {
|
|
1802
|
+
RunmjBizAppsOrdersOrderLineProgressMeasurementViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
1803
|
+
RunmjBizAppsOrdersOrderLineProgressMeasurementViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
1804
|
+
RunmjBizAppsOrdersOrderLineProgressMeasurementDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
1805
|
+
mjBizAppsOrdersOrderLineProgressMeasurement(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<mjBizAppsOrdersOrderLineProgressMeasurement_ | null>;
|
|
1806
|
+
CreatemjBizAppsOrdersOrderLineProgressMeasurement(input: CreatemjBizAppsOrdersOrderLineProgressMeasurementInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1807
|
+
UpdatemjBizAppsOrdersOrderLineProgressMeasurement(input: UpdatemjBizAppsOrdersOrderLineProgressMeasurementInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1808
|
+
DeletemjBizAppsOrdersOrderLineProgressMeasurement(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1809
|
+
}
|
|
1498
1810
|
export declare class mjBizAppsOrdersOrderLine_ {
|
|
1499
1811
|
ID: string;
|
|
1500
1812
|
OrderHeaderID?: string;
|
|
@@ -1531,6 +1843,7 @@ export declare class mjBizAppsOrdersOrderLine_ {
|
|
|
1531
1843
|
PriceOverrideReason?: string;
|
|
1532
1844
|
DimensionID?: string;
|
|
1533
1845
|
DimensionValueID?: string;
|
|
1846
|
+
ShipToAddressSnapshot?: string;
|
|
1534
1847
|
BilledToDate: number;
|
|
1535
1848
|
RecognizedToDate: number;
|
|
1536
1849
|
OrderHeader?: string;
|
|
@@ -1587,6 +1900,7 @@ export declare class CreatemjBizAppsOrdersOrderLineInput {
|
|
|
1587
1900
|
DimensionValueID: string | null;
|
|
1588
1901
|
BilledToDate?: number;
|
|
1589
1902
|
RecognizedToDate?: number;
|
|
1903
|
+
ShipToAddressSnapshot: string | null;
|
|
1590
1904
|
RestoreContext___?: RestoreContextInput;
|
|
1591
1905
|
}
|
|
1592
1906
|
export declare class UpdatemjBizAppsOrdersOrderLineInput {
|
|
@@ -1625,6 +1939,7 @@ export declare class UpdatemjBizAppsOrdersOrderLineInput {
|
|
|
1625
1939
|
DimensionValueID?: string | null;
|
|
1626
1940
|
BilledToDate?: number;
|
|
1627
1941
|
RecognizedToDate?: number;
|
|
1942
|
+
ShipToAddressSnapshot?: string | null;
|
|
1628
1943
|
OldValues___?: KeyValuePairInput[];
|
|
1629
1944
|
RestoreContext___?: RestoreContextInput;
|
|
1630
1945
|
}
|
|
@@ -2013,6 +2328,57 @@ export declare class mjBizAppsOrdersPaymentLineResolver extends ResolverBase {
|
|
|
2013
2328
|
UpdatemjBizAppsOrdersPaymentLine(input: UpdatemjBizAppsOrdersPaymentLineInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
2014
2329
|
DeletemjBizAppsOrdersPaymentLine(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
2015
2330
|
}
|
|
2331
|
+
export declare class mjBizAppsOrdersPaymentProviderSyncState_ {
|
|
2332
|
+
ID: string;
|
|
2333
|
+
PaymentProviderID: string;
|
|
2334
|
+
ObjectName: string;
|
|
2335
|
+
Watermark?: string;
|
|
2336
|
+
LastPolledAt?: Date;
|
|
2337
|
+
LastSucceededAt?: Date;
|
|
2338
|
+
LastError?: string;
|
|
2339
|
+
_mj__CreatedAt: Date;
|
|
2340
|
+
_mj__UpdatedAt: Date;
|
|
2341
|
+
PaymentProvider: string;
|
|
2342
|
+
}
|
|
2343
|
+
export declare class CreatemjBizAppsOrdersPaymentProviderSyncStateInput {
|
|
2344
|
+
ID?: string;
|
|
2345
|
+
PaymentProviderID?: string;
|
|
2346
|
+
ObjectName?: string;
|
|
2347
|
+
Watermark: string | null;
|
|
2348
|
+
LastPolledAt: Date | null;
|
|
2349
|
+
LastSucceededAt: Date | null;
|
|
2350
|
+
LastError: string | null;
|
|
2351
|
+
RestoreContext___?: RestoreContextInput;
|
|
2352
|
+
}
|
|
2353
|
+
export declare class UpdatemjBizAppsOrdersPaymentProviderSyncStateInput {
|
|
2354
|
+
ID: string;
|
|
2355
|
+
PaymentProviderID?: string;
|
|
2356
|
+
ObjectName?: string;
|
|
2357
|
+
Watermark?: string | null;
|
|
2358
|
+
LastPolledAt?: Date | null;
|
|
2359
|
+
LastSucceededAt?: Date | null;
|
|
2360
|
+
LastError?: string | null;
|
|
2361
|
+
OldValues___?: KeyValuePairInput[];
|
|
2362
|
+
RestoreContext___?: RestoreContextInput;
|
|
2363
|
+
}
|
|
2364
|
+
export declare class RunmjBizAppsOrdersPaymentProviderSyncStateViewResult {
|
|
2365
|
+
Results: mjBizAppsOrdersPaymentProviderSyncState_[];
|
|
2366
|
+
UserViewRunID?: string;
|
|
2367
|
+
RowCount: number;
|
|
2368
|
+
TotalRowCount: number;
|
|
2369
|
+
ExecutionTime: number;
|
|
2370
|
+
ErrorMessage?: string;
|
|
2371
|
+
Success: boolean;
|
|
2372
|
+
}
|
|
2373
|
+
export declare class mjBizAppsOrdersPaymentProviderSyncStateResolver extends ResolverBase {
|
|
2374
|
+
RunmjBizAppsOrdersPaymentProviderSyncStateViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
2375
|
+
RunmjBizAppsOrdersPaymentProviderSyncStateViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
2376
|
+
RunmjBizAppsOrdersPaymentProviderSyncStateDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
2377
|
+
mjBizAppsOrdersPaymentProviderSyncState(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<mjBizAppsOrdersPaymentProviderSyncState_ | null>;
|
|
2378
|
+
CreatemjBizAppsOrdersPaymentProviderSyncState(input: CreatemjBizAppsOrdersPaymentProviderSyncStateInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
2379
|
+
UpdatemjBizAppsOrdersPaymentProviderSyncState(input: UpdatemjBizAppsOrdersPaymentProviderSyncStateInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
2380
|
+
DeletemjBizAppsOrdersPaymentProviderSyncState(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
2381
|
+
}
|
|
2016
2382
|
export declare class mjBizAppsOrdersPaymentProviderType_ {
|
|
2017
2383
|
ID: string;
|
|
2018
2384
|
Code?: string;
|
|
@@ -2081,10 +2447,12 @@ export declare class mjBizAppsOrdersPaymentProvider_ {
|
|
|
2081
2447
|
CredentialsRef?: string;
|
|
2082
2448
|
IsLiveMode?: boolean;
|
|
2083
2449
|
IsActive?: boolean;
|
|
2450
|
+
CompanyIntegrationID?: string;
|
|
2084
2451
|
_mj__CreatedAt: Date;
|
|
2085
2452
|
_mj__UpdatedAt: Date;
|
|
2086
2453
|
PaymentProviderType?: string;
|
|
2087
2454
|
Company?: string;
|
|
2455
|
+
CompanyIntegration?: string;
|
|
2088
2456
|
ReadableFields___?: string[];
|
|
2089
2457
|
}
|
|
2090
2458
|
export declare class CreatemjBizAppsOrdersPaymentProviderInput {
|
|
@@ -2095,6 +2463,7 @@ export declare class CreatemjBizAppsOrdersPaymentProviderInput {
|
|
|
2095
2463
|
CredentialsRef: string | null;
|
|
2096
2464
|
IsLiveMode?: boolean;
|
|
2097
2465
|
IsActive?: boolean;
|
|
2466
|
+
CompanyIntegrationID?: string | null;
|
|
2098
2467
|
RestoreContext___?: RestoreContextInput;
|
|
2099
2468
|
}
|
|
2100
2469
|
export declare class UpdatemjBizAppsOrdersPaymentProviderInput {
|
|
@@ -2105,6 +2474,7 @@ export declare class UpdatemjBizAppsOrdersPaymentProviderInput {
|
|
|
2105
2474
|
CredentialsRef?: string | null;
|
|
2106
2475
|
IsLiveMode?: boolean;
|
|
2107
2476
|
IsActive?: boolean;
|
|
2477
|
+
CompanyIntegrationID?: string | null;
|
|
2108
2478
|
OldValues___?: KeyValuePairInput[];
|
|
2109
2479
|
RestoreContext___?: RestoreContextInput;
|
|
2110
2480
|
}
|
|
@@ -3183,6 +3553,7 @@ export declare class mjBizAppsOrdersRevenueRecognitionType_ {
|
|
|
3183
3553
|
_mj__CreatedAt: Date;
|
|
3184
3554
|
_mj__UpdatedAt: Date;
|
|
3185
3555
|
ReadableFields___?: string[];
|
|
3556
|
+
ScheduleBasis: string;
|
|
3186
3557
|
}
|
|
3187
3558
|
export declare class CreatemjBizAppsOrdersRevenueRecognitionTypeInput {
|
|
3188
3559
|
ID?: string;
|
|
@@ -3194,6 +3565,7 @@ export declare class CreatemjBizAppsOrdersRevenueRecognitionTypeInput {
|
|
|
3194
3565
|
RequiresServicePeriod?: boolean;
|
|
3195
3566
|
Sequence?: number;
|
|
3196
3567
|
IsActive?: boolean;
|
|
3568
|
+
ScheduleBasis?: string;
|
|
3197
3569
|
RestoreContext___?: RestoreContextInput;
|
|
3198
3570
|
}
|
|
3199
3571
|
export declare class UpdatemjBizAppsOrdersRevenueRecognitionTypeInput {
|
|
@@ -3206,6 +3578,7 @@ export declare class UpdatemjBizAppsOrdersRevenueRecognitionTypeInput {
|
|
|
3206
3578
|
RequiresServicePeriod?: boolean;
|
|
3207
3579
|
Sequence?: number;
|
|
3208
3580
|
IsActive?: boolean;
|
|
3581
|
+
ScheduleBasis?: string;
|
|
3209
3582
|
OldValues___?: KeyValuePairInput[];
|
|
3210
3583
|
RestoreContext___?: RestoreContextInput;
|
|
3211
3584
|
}
|