@khester/create-dynamics-app 2.1.0 → 2.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/artifacts/registry.d.ts +4 -3
- package/dist/artifacts/registry.d.ts.map +1 -1
- package/dist/artifacts/registry.js +121 -11
- package/dist/artifacts/registry.js.map +1 -1
- package/dist/artifacts/types.d.ts +1 -1
- package/dist/artifacts/types.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/injectDevTools.d.ts.map +1 -1
- package/dist/injectDevTools.js +4 -2
- package/dist/injectDevTools.js.map +1 -1
- package/dist/scaffold.d.ts +1 -0
- package/dist/scaffold.d.ts.map +1 -1
- package/dist/scaffold.js +3 -1
- package/dist/scaffold.js.map +1 -1
- package/package.json +3 -2
- package/templates/grid-starter/ARCHITECTURE.md +66 -0
- package/templates/grid-starter/README.md +122 -0
- package/templates/grid-starter/env.example +16 -0
- package/templates/grid-starter/gitignore +6 -0
- package/templates/grid-starter/index.html +16 -0
- package/templates/grid-starter/package.json +39 -0
- package/templates/grid-starter/src/App.tsx +23 -0
- package/templates/grid-starter/src/core/services/FetchApiService.ts +117 -0
- package/templates/grid-starter/src/core/services/IApiService.ts +37 -0
- package/templates/grid-starter/src/core/services/MockApiService.ts +72 -0
- package/templates/grid-starter/src/core/services/ServiceFactory.ts +58 -0
- package/templates/grid-starter/src/core/services/XrmApiService.ts +135 -0
- package/templates/grid-starter/src/core/services/crudLogging.ts +52 -0
- package/templates/grid-starter/src/dev-tools/DevPanel.tsx +239 -0
- package/templates/grid-starter/src/grid/GridPage.tsx +119 -0
- package/templates/grid-starter/src/index.tsx +18 -0
- package/templates/grid-starter/src/vite-env.d.ts +15 -0
- package/templates/grid-starter/tools/deploy/deploy-webresource.cjs +117 -0
- package/templates/grid-starter/tsconfig.json +19 -0
- package/templates/grid-starter/vite.config.ts +76 -0
- package/templates/pcf-field/_variants/ValueInput.boolean.tsx +2 -0
- package/templates/pcf-field/_variants/ValueInput.date.tsx +2 -0
- package/templates/pcf-field/_variants/ValueInput.number.tsx +2 -0
- package/templates/pcf-field/_variants/ValueInput.optionset.tsx +77 -0
- package/templates/pcf-field/_variants/ValueInput.text.tsx +2 -0
- package/templates/pcf-field/index.ts +1 -1
- package/templates/pcf-field/package.json +3 -1
- package/templates/pcf-field/{{componentName}}Component.tsx +2 -0
- package/templates/react-custom-page/ARCHITECTURE.md +75 -0
- package/templates/react-custom-page/README.md +74 -568
- package/templates/react-custom-page/env.example +16 -0
- package/templates/react-custom-page/gitignore +1 -0
- package/templates/react-custom-page/index.html +16 -0
- package/templates/react-custom-page/package.json +21 -49
- package/templates/react-custom-page/src/App.tsx +26 -0
- package/templates/react-custom-page/src/core/recordContext.test.ts +30 -0
- package/templates/react-custom-page/src/core/recordContext.ts +51 -0
- package/templates/react-custom-page/src/core/services/FetchApiService.ts +117 -0
- package/templates/react-custom-page/src/core/services/IApiService.ts +37 -0
- package/templates/react-custom-page/src/core/services/MockApiService.ts +73 -0
- package/templates/react-custom-page/src/core/services/ServiceFactory.ts +58 -0
- package/templates/react-custom-page/src/core/services/XrmApiService.ts +135 -0
- package/templates/react-custom-page/src/core/services/crudLogging.ts +52 -0
- package/templates/react-custom-page/src/dev-tools/DevPanel.tsx +238 -0
- package/templates/react-custom-page/src/domain/diff.test.ts +87 -0
- package/templates/react-custom-page/src/domain/diff.ts +38 -0
- package/templates/react-custom-page/src/example/ExamplePage.tsx +140 -0
- package/templates/react-custom-page/src/example/exampleError.ts +36 -0
- package/templates/react-custom-page/src/example/hooks/useExampleData.ts +40 -0
- package/templates/react-custom-page/src/example/hooks/useExampleForm.ts +99 -0
- package/templates/react-custom-page/src/example/mappers/accountMapper.test.ts +38 -0
- package/templates/react-custom-page/src/example/mappers/accountMapper.ts +55 -0
- package/templates/react-custom-page/src/example/models/Account.ts +74 -0
- package/templates/react-custom-page/src/index.tsx +18 -128
- package/templates/react-custom-page/src/vite-env.d.ts +15 -0
- package/templates/react-custom-page/tools/deploy/deploy-webresource.cjs +117 -0
- package/templates/react-custom-page/tsconfig.json +12 -22
- package/templates/react-custom-page/vite.config.ts +76 -0
- package/templates/starter-page/README.md +38 -0
- package/templates/starter-page/_variants/App.dashboard.v8.tsx +46 -0
- package/templates/starter-page/_variants/App.form.v8.tsx +59 -0
- package/templates/starter-page/_variants/App.master-detail.v8.tsx +61 -0
- package/templates/starter-page/_variants/App.panel.v8.tsx +99 -0
- package/templates/starter-page/gitignore +5 -0
- package/templates/starter-page/package.json +27 -0
- package/templates/starter-page/public/index.html +11 -0
- package/templates/starter-page/src/index.tsx +10 -0
- package/templates/starter-page/src/services/dataverse.ts +30 -0
- package/templates/starter-page/tsconfig.json +15 -0
- package/templates/starter-page/webpack.config.js +17 -0
- package/templates/react-custom-page/deployment/README.md +0 -484
- package/templates/react-custom-page/docs/ARCHITECTURE_OVERVIEW.md +0 -506
- package/templates/react-custom-page/docs/BEST_PRACTICES.md +0 -723
- package/templates/react-custom-page/docs/MIGRATION_GUIDE.md +0 -447
- package/templates/react-custom-page/public/index.html +0 -15
- package/templates/react-custom-page/scripts/custom-build.js +0 -255
- package/templates/react-custom-page/src/components/AccountForm.css +0 -71
- package/templates/react-custom-page/src/components/AccountForm.tsx +0 -541
- package/templates/react-custom-page/src/components/AccountManagement.css +0 -86
- package/templates/react-custom-page/src/components/AccountManagement.tsx +0 -370
- package/templates/react-custom-page/src/components/ContactForm.css +0 -48
- package/templates/react-custom-page/src/components/ContactForm.tsx +0 -327
- package/templates/react-custom-page/src/components/ContactManagement.css +0 -86
- package/templates/react-custom-page/src/components/ContactManagement.tsx +0 -357
- package/templates/react-custom-page/src/components/Logging/LogDialog.tsx +0 -291
- package/templates/react-custom-page/src/components/Logging/LoggingContext.tsx +0 -166
- package/templates/react-custom-page/src/components/Logging/LoggingDebugPanel.css +0 -192
- package/templates/react-custom-page/src/components/Logging/LoggingDebugPanel.tsx +0 -177
- package/templates/react-custom-page/src/components/Logging/LoggingProvider.tsx +0 -3
- package/templates/react-custom-page/src/components/Logging/logger.ts +0 -193
- package/templates/react-custom-page/src/constants/account.ts +0 -410
- package/templates/react-custom-page/src/constants/contact.ts +0 -362
- package/templates/react-custom-page/src/models/Account.ts +0 -480
- package/templates/react-custom-page/src/models/BaseEntity.ts +0 -204
- package/templates/react-custom-page/src/models/Contact.ts +0 -580
- package/templates/react-custom-page/src/pcf/ContactControlWrapper.tsx +0 -107
- package/templates/react-custom-page/src/pcf/MultiEntityControlWrapper.tsx +0 -205
- package/templates/react-custom-page/src/providers/DynamicsProvider.tsx +0 -353
- package/templates/react-custom-page/src/services/MockApiService.ts +0 -260
- package/templates/react-custom-page/src/services/ServiceFactory.ts +0 -65
- package/templates/react-custom-page/src/services/XrmApiService.ts +0 -213
- package/templates/react-custom-page/src/styles/index.css +0 -171
- package/templates/react-custom-page/tools/metadata-sync/index.js +0 -152
- package/templates/react-custom-page/webpack.config.js +0 -57
- /package/templates/_shared/dev-tools/auth/{get-token.js → get-token.cjs} +0 -0
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Contact entity constants for Dynamics 365.
|
|
3
|
-
* Contains entity names and field definitions with metadata.
|
|
4
|
-
*/
|
|
5
|
-
export class ContactConstants {
|
|
6
|
-
/** Entity name for single contact */
|
|
7
|
-
public static readonly EntityName: string = 'contact';
|
|
8
|
-
|
|
9
|
-
/** Entity collection name for multiple contacts */
|
|
10
|
-
public static readonly EntityCollectionName: string = 'contacts';
|
|
11
|
-
|
|
12
|
-
/** Type: Guid, Primary key for Contact records */
|
|
13
|
-
public static readonly PrimaryKey: string = 'contactid';
|
|
14
|
-
|
|
15
|
-
/** Type: String, RequiredLevel: SystemRequired, MaxLength: 160, Format: Text */
|
|
16
|
-
public static readonly PrimaryName: string = 'fullname';
|
|
17
|
-
|
|
18
|
-
/** Type: String, RequiredLevel: ApplicationRequired, MaxLength: 50, Format: Text */
|
|
19
|
-
public static readonly FirstName: string = 'firstname';
|
|
20
|
-
|
|
21
|
-
/** Type: String, RequiredLevel: ApplicationRequired, MaxLength: 50, Format: Text */
|
|
22
|
-
public static readonly LastName: string = 'lastname';
|
|
23
|
-
|
|
24
|
-
/** Type: String, RequiredLevel: None, MaxLength: 100, Format: Text */
|
|
25
|
-
public static readonly MiddleName: string = 'middlename';
|
|
26
|
-
|
|
27
|
-
/** Type: String, RequiredLevel: None, MaxLength: 10, Format: Text */
|
|
28
|
-
public static readonly Salutation: string = 'salutation';
|
|
29
|
-
|
|
30
|
-
/** Type: String, RequiredLevel: None, MaxLength: 10, Format: Text */
|
|
31
|
-
public static readonly Suffix: string = 'suffix';
|
|
32
|
-
|
|
33
|
-
/** Type: String, RequiredLevel: None, MaxLength: 100, Format: Text */
|
|
34
|
-
public static readonly JobTitle: string = 'jobtitle';
|
|
35
|
-
|
|
36
|
-
/** Type: String, RequiredLevel: None, MaxLength: 100, Format: Email */
|
|
37
|
-
public static readonly EMailAddress1: string = 'emailaddress1';
|
|
38
|
-
|
|
39
|
-
/** Type: String, RequiredLevel: None, MaxLength: 100, Format: Email */
|
|
40
|
-
public static readonly EMailAddress2: string = 'emailaddress2';
|
|
41
|
-
|
|
42
|
-
/** Type: String, RequiredLevel: None, MaxLength: 100, Format: Email */
|
|
43
|
-
public static readonly EMailAddress3: string = 'emailaddress3';
|
|
44
|
-
|
|
45
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
46
|
-
public static readonly BusinessPhone: string = 'telephone1';
|
|
47
|
-
|
|
48
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
49
|
-
public static readonly HomePhone: string = 'telephone2';
|
|
50
|
-
|
|
51
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
52
|
-
public static readonly MobilePhone: string = 'mobilephone';
|
|
53
|
-
|
|
54
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
55
|
-
public static readonly Fax: string = 'fax';
|
|
56
|
-
|
|
57
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
58
|
-
public static readonly Pager: string = 'pager';
|
|
59
|
-
|
|
60
|
-
/** Type: String, RequiredLevel: None, MaxLength: 100, Format: Text */
|
|
61
|
-
public static readonly CompanyName: string = 'parentcustomerid_name';
|
|
62
|
-
|
|
63
|
-
/** Type: Lookup, RequiredLevel: None */
|
|
64
|
-
public static readonly ParentCustomerId: string = 'parentcustomerid';
|
|
65
|
-
|
|
66
|
-
/** Type: String, RequiredLevel: None, MaxLength: 100, Format: Text */
|
|
67
|
-
public static readonly Department: string = 'department';
|
|
68
|
-
|
|
69
|
-
/** Type: Lookup, RequiredLevel: None */
|
|
70
|
-
public static readonly ManagerId: string = 'managerid';
|
|
71
|
-
|
|
72
|
-
/** Type: String, RequiredLevel: None, MaxLength: 100, Format: Text */
|
|
73
|
-
public static readonly AssistantName: string = 'assistantname';
|
|
74
|
-
|
|
75
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
76
|
-
public static readonly AssistantPhone: string = 'assistantphone';
|
|
77
|
-
|
|
78
|
-
/** Type: DateTime, RequiredLevel: None, Format: DateOnly */
|
|
79
|
-
public static readonly BirthDate: string = 'birthdate';
|
|
80
|
-
|
|
81
|
-
/** Type: DateTime, RequiredLevel: None, Format: DateOnly */
|
|
82
|
-
public static readonly Anniversary: string = 'anniversary';
|
|
83
|
-
|
|
84
|
-
/** Type: Integer, RequiredLevel: None, MinValue: 0, MaxValue: 1000000000 */
|
|
85
|
-
public static readonly GenderCode: string = 'gendercode';
|
|
86
|
-
|
|
87
|
-
/** Type: Integer, RequiredLevel: None, MinValue: 0, MaxValue: 1000000000 */
|
|
88
|
-
public static readonly FamilyStatusCode: string = 'familystatuscode';
|
|
89
|
-
|
|
90
|
-
/** Type: Boolean, RequiredLevel: None */
|
|
91
|
-
public static readonly HasChildrenCode: string = 'haschildrencode';
|
|
92
|
-
|
|
93
|
-
/** Type: String, RequiredLevel: None, MaxLength: 255, Format: Text */
|
|
94
|
-
public static readonly ChildrensNames: string = 'childrensnames';
|
|
95
|
-
|
|
96
|
-
/** Type: String, RequiredLevel: None, MaxLength: 2000, Format: TextArea */
|
|
97
|
-
public static readonly Description: string = 'description';
|
|
98
|
-
|
|
99
|
-
/** Type: Boolean, RequiredLevel: None */
|
|
100
|
-
public static readonly DoNotBulkEMail: string = 'donotbulkemail';
|
|
101
|
-
|
|
102
|
-
/** Type: Boolean, RequiredLevel: None */
|
|
103
|
-
public static readonly DoNotEMail: string = 'donotemail';
|
|
104
|
-
|
|
105
|
-
/** Type: Boolean, RequiredLevel: None */
|
|
106
|
-
public static readonly DoNotFax: string = 'donotfax';
|
|
107
|
-
|
|
108
|
-
/** Type: Boolean, RequiredLevel: None */
|
|
109
|
-
public static readonly DoNotPhone: string = 'donotphone';
|
|
110
|
-
|
|
111
|
-
/** Type: Boolean, RequiredLevel: None */
|
|
112
|
-
public static readonly DoNotPostalMail: string = 'donotpostalmail';
|
|
113
|
-
|
|
114
|
-
/** Type: Boolean, RequiredLevel: None */
|
|
115
|
-
public static readonly DoNotSendMM: string = 'donotsendmm';
|
|
116
|
-
|
|
117
|
-
/** Type: Integer, RequiredLevel: None, MinValue: 0, MaxValue: 1000000000 */
|
|
118
|
-
public static readonly PreferredContactMethodCode: string =
|
|
119
|
-
'preferredcontactmethodcode';
|
|
120
|
-
|
|
121
|
-
/** Type: Integer, RequiredLevel: None, MinValue: 0, MaxValue: 1000000000 */
|
|
122
|
-
public static readonly PreferredAppointmentDayCode: string =
|
|
123
|
-
'preferredappointmentdaycode';
|
|
124
|
-
|
|
125
|
-
/** Type: Integer, RequiredLevel: None, MinValue: 0, MaxValue: 1000000000 */
|
|
126
|
-
public static readonly PreferredAppointmentTimeCode: string =
|
|
127
|
-
'preferredappointmenttimecode';
|
|
128
|
-
|
|
129
|
-
/** Type: String, RequiredLevel: None, MaxLength: 250, Format: Text */
|
|
130
|
-
public static readonly Address1_AddressTypeCode: string =
|
|
131
|
-
'address1_addresstypecode';
|
|
132
|
-
|
|
133
|
-
/** Type: String, RequiredLevel: None, MaxLength: 80, Format: Text */
|
|
134
|
-
public static readonly Address1_City: string = 'address1_city';
|
|
135
|
-
|
|
136
|
-
/** Type: String, RequiredLevel: None, MaxLength: 80, Format: Text */
|
|
137
|
-
public static readonly Address1_Country: string = 'address1_country';
|
|
138
|
-
|
|
139
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
140
|
-
public static readonly Address1_County: string = 'address1_county';
|
|
141
|
-
|
|
142
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
143
|
-
public static readonly Address1_Fax: string = 'address1_fax';
|
|
144
|
-
|
|
145
|
-
/** Type: Double, RequiredLevel: None, MinValue: -90, MaxValue: 90 */
|
|
146
|
-
public static readonly Address1_Latitude: string = 'address1_latitude';
|
|
147
|
-
|
|
148
|
-
/** Type: String, RequiredLevel: None, MaxLength: 250, Format: Text */
|
|
149
|
-
public static readonly Address1_Line1: string = 'address1_line1';
|
|
150
|
-
|
|
151
|
-
/** Type: String, RequiredLevel: None, MaxLength: 250, Format: Text */
|
|
152
|
-
public static readonly Address1_Line2: string = 'address1_line2';
|
|
153
|
-
|
|
154
|
-
/** Type: String, RequiredLevel: None, MaxLength: 250, Format: Text */
|
|
155
|
-
public static readonly Address1_Line3: string = 'address1_line3';
|
|
156
|
-
|
|
157
|
-
/** Type: Double, RequiredLevel: None, MinValue: -180, MaxValue: 180 */
|
|
158
|
-
public static readonly Address1_Longitude: string = 'address1_longitude';
|
|
159
|
-
|
|
160
|
-
/** Type: String, RequiredLevel: None, MaxLength: 200, Format: Text */
|
|
161
|
-
public static readonly Address1_Name: string = 'address1_name';
|
|
162
|
-
|
|
163
|
-
/** Type: String, RequiredLevel: None, MaxLength: 20, Format: Text */
|
|
164
|
-
public static readonly Address1_PostalCode: string = 'address1_postalcode';
|
|
165
|
-
|
|
166
|
-
/** Type: String, RequiredLevel: None, MaxLength: 100, Format: Text */
|
|
167
|
-
public static readonly Address1_PostOfficeBox: string =
|
|
168
|
-
'address1_postofficebox';
|
|
169
|
-
|
|
170
|
-
/** Type: String, RequiredLevel: None, MaxLength: 100, Format: Text */
|
|
171
|
-
public static readonly Address1_PrimaryContactName: string =
|
|
172
|
-
'address1_primarycontactname';
|
|
173
|
-
|
|
174
|
-
/** Type: Integer, RequiredLevel: None, MinValue: 0, MaxValue: 1000000000 */
|
|
175
|
-
public static readonly Address1_ShippingMethodCode: string =
|
|
176
|
-
'address1_shippingmethodcode';
|
|
177
|
-
|
|
178
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
179
|
-
public static readonly Address1_StateOrProvince: string =
|
|
180
|
-
'address1_stateorprovince';
|
|
181
|
-
|
|
182
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
183
|
-
public static readonly Address1_Telephone1: string = 'address1_telephone1';
|
|
184
|
-
|
|
185
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
186
|
-
public static readonly Address1_Telephone2: string = 'address1_telephone2';
|
|
187
|
-
|
|
188
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
189
|
-
public static readonly Address1_Telephone3: string = 'address1_telephone3';
|
|
190
|
-
|
|
191
|
-
/** Type: String, RequiredLevel: None, MaxLength: 4, Format: Text */
|
|
192
|
-
public static readonly Address1_UPSZone: string = 'address1_upszone';
|
|
193
|
-
|
|
194
|
-
/** Type: Integer, RequiredLevel: None, MinValue: -2147483648, MaxValue: 2147483647 */
|
|
195
|
-
public static readonly Address1_UTCOffset: string = 'address1_utcoffset';
|
|
196
|
-
|
|
197
|
-
/** Type: Money, RequiredLevel: None, MinValue: 0, MaxValue: 1000000000000 */
|
|
198
|
-
public static readonly CreditLimit: string = 'creditlimit';
|
|
199
|
-
|
|
200
|
-
/** Type: Boolean, RequiredLevel: None */
|
|
201
|
-
public static readonly CreditOnHold: string = 'creditonhold';
|
|
202
|
-
|
|
203
|
-
/** Type: Integer, RequiredLevel: None, MinValue: 0, MaxValue: 5 */
|
|
204
|
-
public static readonly PaymentTermsCode: string = 'paymenttermscode';
|
|
205
|
-
|
|
206
|
-
/** Type: Integer, RequiredLevel: None, MinValue: 0, MaxValue: 1000000000 */
|
|
207
|
-
public static readonly CustomerSizeCode: string = 'customersizecode';
|
|
208
|
-
|
|
209
|
-
/** Type: Integer, RequiredLevel: None, MinValue: 0, MaxValue: 1000000000 */
|
|
210
|
-
public static readonly LeadSourceCode: string = 'leadsourcecode';
|
|
211
|
-
|
|
212
|
-
/** Type: String, RequiredLevel: None, MaxLength: 2083, Format: Url */
|
|
213
|
-
public static readonly WebSiteUrl: string = 'websiteurl';
|
|
214
|
-
|
|
215
|
-
/** Type: String, RequiredLevel: None, MaxLength: 50, Format: Text */
|
|
216
|
-
public static readonly GovernmentId: string = 'governmentid';
|
|
217
|
-
|
|
218
|
-
/** Type: String, RequiredLevel: None, MaxLength: 200, Format: Text */
|
|
219
|
-
public static readonly YomiFirstName: string = 'yomifirstname';
|
|
220
|
-
|
|
221
|
-
/** Type: String, RequiredLevel: None, MaxLength: 200, Format: Text */
|
|
222
|
-
public static readonly YomiLastName: string = 'yomilastname';
|
|
223
|
-
|
|
224
|
-
/** Type: String, RequiredLevel: None, MaxLength: 200, Format: Text */
|
|
225
|
-
public static readonly YomiMiddleName: string = 'yomimiddlename';
|
|
226
|
-
|
|
227
|
-
/** Type: String, RequiredLevel: None, MaxLength: 450, Format: Text */
|
|
228
|
-
public static readonly YomiFullName: string = 'yomifullname';
|
|
229
|
-
|
|
230
|
-
/** Type: State, RequiredLevel: SystemRequired */
|
|
231
|
-
public static readonly StateCode: string = 'statecode';
|
|
232
|
-
|
|
233
|
-
/** Type: Status, RequiredLevel: None */
|
|
234
|
-
public static readonly StatusCode: string = 'statuscode';
|
|
235
|
-
|
|
236
|
-
/** Type: Guid, RequiredLevel: SystemRequired */
|
|
237
|
-
public static readonly CreatedBy: string = 'createdby';
|
|
238
|
-
|
|
239
|
-
/** Type: DateTime, RequiredLevel: None, Format: DateAndTime */
|
|
240
|
-
public static readonly CreatedOn: string = 'createdon';
|
|
241
|
-
|
|
242
|
-
/** Type: Guid, RequiredLevel: SystemRequired */
|
|
243
|
-
public static readonly ModifiedBy: string = 'modifiedby';
|
|
244
|
-
|
|
245
|
-
/** Type: DateTime, RequiredLevel: None, Format: DateAndTime */
|
|
246
|
-
public static readonly ModifiedOn: string = 'modifiedon';
|
|
247
|
-
|
|
248
|
-
/** Type: Guid, RequiredLevel: ApplicationRequired */
|
|
249
|
-
public static readonly OwnerId: string = 'ownerid';
|
|
250
|
-
|
|
251
|
-
/** Type: Guid, RequiredLevel: None */
|
|
252
|
-
public static readonly TransactionCurrencyId: string =
|
|
253
|
-
'transactioncurrencyid';
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* Gender Code OptionSet
|
|
258
|
-
*/
|
|
259
|
-
export enum GenderCode_OptionSet {
|
|
260
|
-
Male = 1,
|
|
261
|
-
Female = 2,
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Family Status Code OptionSet (Marital Status)
|
|
266
|
-
*/
|
|
267
|
-
export enum FamilyStatusCode_OptionSet {
|
|
268
|
-
Single = 1,
|
|
269
|
-
Married = 2,
|
|
270
|
-
Divorced = 3,
|
|
271
|
-
Widowed = 4,
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Has Children Code OptionSet
|
|
276
|
-
*/
|
|
277
|
-
export enum HasChildrenCode_OptionSet {
|
|
278
|
-
Yes = 1,
|
|
279
|
-
No = 0,
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* Preferred Contact Method Code OptionSet
|
|
284
|
-
*/
|
|
285
|
-
export enum PreferredContactMethodCode_OptionSet {
|
|
286
|
-
Any = 1,
|
|
287
|
-
Email = 2,
|
|
288
|
-
Phone = 3,
|
|
289
|
-
Fax = 4,
|
|
290
|
-
Mail = 5,
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* Preferred Appointment Day Code OptionSet
|
|
295
|
-
*/
|
|
296
|
-
export enum PreferredAppointmentDayCode_OptionSet {
|
|
297
|
-
Sunday = 0,
|
|
298
|
-
Monday = 1,
|
|
299
|
-
Tuesday = 2,
|
|
300
|
-
Wednesday = 3,
|
|
301
|
-
Thursday = 4,
|
|
302
|
-
Friday = 5,
|
|
303
|
-
Saturday = 6,
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* Preferred Appointment Time Code OptionSet
|
|
308
|
-
*/
|
|
309
|
-
export enum PreferredAppointmentTimeCode_OptionSet {
|
|
310
|
-
Morning = 1,
|
|
311
|
-
Afternoon = 2,
|
|
312
|
-
Evening = 3,
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* Payment Terms Code OptionSet
|
|
317
|
-
*/
|
|
318
|
-
export enum PaymentTermsCode_OptionSet {
|
|
319
|
-
Net30 = 1,
|
|
320
|
-
TwoTenNet30 = 2,
|
|
321
|
-
Net45 = 3,
|
|
322
|
-
Net60 = 4,
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Customer Size Code OptionSet
|
|
327
|
-
*/
|
|
328
|
-
export enum CustomerSizeCode_OptionSet {
|
|
329
|
-
DefaultValue = 1,
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* Lead Source Code OptionSet
|
|
334
|
-
*/
|
|
335
|
-
export enum LeadSourceCode_OptionSet {
|
|
336
|
-
Advertisement = 1,
|
|
337
|
-
EmployeeReferral = 2,
|
|
338
|
-
ExternalReferral = 3,
|
|
339
|
-
Partner = 4,
|
|
340
|
-
PublicRelations = 5,
|
|
341
|
-
Seminar = 6,
|
|
342
|
-
TradeShow = 7,
|
|
343
|
-
Web = 8,
|
|
344
|
-
WordOfMouth = 9,
|
|
345
|
-
Other = 10,
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* State Code OptionSet
|
|
350
|
-
*/
|
|
351
|
-
export enum StateCode_OptionSet {
|
|
352
|
-
Active = 0,
|
|
353
|
-
Inactive = 1,
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* Status Code OptionSet
|
|
358
|
-
*/
|
|
359
|
-
export enum StatusCode_OptionSet {
|
|
360
|
-
Active = 1,
|
|
361
|
-
Inactive = 2,
|
|
362
|
-
}
|