@salesforce/webapp-template-app-react-sample-b2e-experimental 1.63.0 → 1.65.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/.a4drules/skills/feature-graphql-graphql-data-access/SKILL.md +1 -1
- package/dist/.a4drules/skills/feature-micro-frontend-micro-frontend/SKILL.md +1 -1
- package/dist/.a4drules/skills/feature-react-agentforce-conversation-client-embedded-agent/SKILL.md +1 -1
- package/dist/.a4drules/skills/feature-react-chart-analytics-charts/SKILL.md +1 -1
- package/dist/CHANGELOG.md +16 -0
- package/dist/force-app/main/default/data/Agent__c.json +79 -0
- package/dist/force-app/main/default/data/Application__c.json +10 -10
- package/dist/force-app/main/default/data/Contact.json +44 -0
- package/dist/force-app/main/default/data/Maintenance_Request__c.json +30 -30
- package/dist/force-app/main/default/data/Property__c.json +25 -25
- package/dist/force-app/main/default/data/data-plan.json +13 -1
- package/dist/force-app/main/default/objects/Agent__c/Agent__c.object-meta.xml +66 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/Agent_Type__c.field-meta.xml +37 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/Availability__c.field-meta.xml +37 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/Emergency_Alt__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/Language__c.field-meta.xml +42 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/License_Expiry__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/License_Number__c.field-meta.xml +14 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/Office_Location__c.field-meta.xml +42 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/Territory__c.field-meta.xml +42 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/User__c.field-meta.xml +1 -1
- package/dist/force-app/main/default/objects/Property__c/fields/Agent__c.field-meta.xml +1 -1
- package/dist/force-app/main/default/permissionsets/Property_Management_Access.permissionset-meta.xml +53 -25
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/package-lock.json +18337 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/package.json +9 -7
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/api/applications.ts +142 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/api/dashboard.ts +1 -2
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/api/maintenance.ts +63 -6
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/api/properties.ts +1 -2
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/appLayout.tsx +4 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/components/AgentforceConversationClient.tsx +127 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/components/ApplicationDetailsModal.tsx +150 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/components/ApplicationsTable.tsx +105 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/components/MaintenanceDetailsModal.tsx +191 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/components/PropertyDetailsModal.tsx +274 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/components/StatusBadge.tsx +17 -17
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/components/TopBar.tsx +37 -7
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/components/VerticalNav.tsx +1 -5
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/index.ts +6 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/lib/types.ts +6 -2
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/pages/Applications.tsx +129 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/pages/Home.tsx +28 -13
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/pages/Maintenance.tsx +95 -62
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/pages/Properties.tsx +22 -2
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/pages/TestAccPage.tsx +19 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/routes.tsx +12 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/types/conversation.ts +21 -0
- package/dist/package.json +1 -1
- package/package.json +2 -4
- package/dist/force-app/main/default/applications/Property_Management.app-meta.xml +0 -26
- package/dist/force-app/main/default/tabs/Application__c.tab-meta.xml +0 -6
- package/dist/force-app/main/default/tabs/Maintenance_Request__c.tab-meta.xml +0 -7
- package/dist/force-app/main/default/tabs/Maintenance_Worker__c.tab-meta.xml +0 -6
- package/dist/force-app/main/default/tabs/Notification__c.tab-meta.xml +0 -6
- package/dist/force-app/main/default/tabs/Property__c.tab-meta.xml +0 -7
- package/dist/force-app/main/default/tabs/Tenant__c.tab-meta.xml +0 -7
- package/dist/force-app/main/default/webapplications/appreactsampleb2e/src/api/utils.ts +0 -4
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"Description__c": "Modern 2-bedroom apartment with stunning city views. Features include balcony, in-unit washer/dryer, and central AC. Great location near restaurants and shopping.",
|
|
25
25
|
"Tour_URL__c": "https://example.com/tour/sunset-4b",
|
|
26
26
|
"Hero_Image__c": "https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?w=800",
|
|
27
|
-
"Agent__c":
|
|
27
|
+
"Agent__c": "@AgentRef2"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"attributes": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"Description__c": "Spacious downtown loft with high ceilings and modern finishes. Building amenities include gym, pool, and secured parking.",
|
|
51
51
|
"Tour_URL__c": "https://example.com/tour/downtown-loft",
|
|
52
52
|
"Hero_Image__c": "https://images.unsplash.com/photo-1502672260066-6bc04e62c4ba?w=800",
|
|
53
|
-
"Agent__c":
|
|
53
|
+
"Agent__c": "@AgentRef2"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"attributes": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"Description__c": "Cozy garden studio in quiet neighborhood. Features private balcony and additional storage unit. No pets allowed.",
|
|
77
77
|
"Tour_URL__c": null,
|
|
78
78
|
"Hero_Image__c": "https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=800",
|
|
79
|
-
"Agent__c":
|
|
79
|
+
"Agent__c": "@AgentRef3"
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"attributes": {
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"Description__c": "Elegant 3-bedroom penthouse in gated community with luxury amenities. Currently under maintenance, available mid-December.",
|
|
103
103
|
"Tour_URL__c": "https://example.com/tour/luxury-penthouse",
|
|
104
104
|
"Hero_Image__c": "https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=800",
|
|
105
|
-
"Agent__c":
|
|
105
|
+
"Agent__c": "@AgentRef4"
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
"attributes": {
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"Description__c": "Modern high-rise apartment with floor-to-ceiling windows and stunning sunset views. Building features 24/7 doorman.",
|
|
129
129
|
"Tour_URL__c": "https://example.com/tour/sunset-towers",
|
|
130
130
|
"Hero_Image__c": "https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=800",
|
|
131
|
-
"Agent__c":
|
|
131
|
+
"Agent__c": "@AgentRef5"
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
"attributes": {
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"Description__c": "Stunning beachfront home with direct ocean access, modern kitchen, panoramic views, and private pool. Premium property.",
|
|
155
155
|
"Tour_URL__c": "https://example.com/tour/ocean-villa",
|
|
156
156
|
"Hero_Image__c": "https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=800",
|
|
157
|
-
"Agent__c":
|
|
157
|
+
"Agent__c": "@AgentRef3"
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
"attributes": {
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
"Description__c": "Modern condo in Silicon Valley with smart home features, rooftop deck, and premium amenities. Perfect for tech professionals.",
|
|
181
181
|
"Tour_URL__c": "https://example.com/tour/tech-hub",
|
|
182
182
|
"Hero_Image__c": "https://images.unsplash.com/photo-1580587771525-78b9dba3b914?w=800",
|
|
183
|
-
"Agent__c":
|
|
183
|
+
"Agent__c": "@AgentRef2"
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
186
|
"attributes": {
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"Description__c": "Charming historic brownstone with original hardwood floors, exposed brick, and modern updates. Rare Telegraph Hill location.",
|
|
207
207
|
"Tour_URL__c": "https://example.com/tour/brownstone",
|
|
208
208
|
"Hero_Image__c": "https://images.unsplash.com/photo-1568605114967-8130f3a36994?w=800",
|
|
209
|
-
"Agent__c":
|
|
209
|
+
"Agent__c": "@AgentRef3"
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
"attributes": {
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
"Description__c": "Bright studio in trendy Marina District with city views and modern amenities. Walking distance to shops and restaurants.",
|
|
233
233
|
"Tour_URL__c": null,
|
|
234
234
|
"Hero_Image__c": "https://images.unsplash.com/photo-1502672023488-70e25813eb80?w=800",
|
|
235
|
-
"Agent__c":
|
|
235
|
+
"Agent__c": "@AgentRef4"
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
"attributes": {
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"Description__c": "Magnificent estate with pool, tennis court, wine cellar, and breathtaking city views. Ultimate luxury living.",
|
|
259
259
|
"Tour_URL__c": "https://example.com/tour/beverly-estate",
|
|
260
260
|
"Hero_Image__c": "https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=800",
|
|
261
|
-
"Agent__c":
|
|
261
|
+
"Agent__c": "@AgentRef5"
|
|
262
262
|
},
|
|
263
263
|
{
|
|
264
264
|
"attributes": {
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
"Description__c": "Modern office space with open floor plan, conference rooms, and panoramic bay views. Premium downtown location.",
|
|
285
285
|
"Tour_URL__c": "https://example.com/tour/market-office",
|
|
286
286
|
"Hero_Image__c": "https://images.unsplash.com/photo-1497366216548-37526070297c?w=800",
|
|
287
|
-
"Agent__c":
|
|
287
|
+
"Agent__c": "@AgentRef2"
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
290
|
"attributes": {
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
"Description__c": "Beautiful wine country home with vineyard views, gourmet kitchen, and outdoor entertainment area. Perfect for wine enthusiasts.",
|
|
311
311
|
"Tour_URL__c": "https://example.com/tour/napa-retreat",
|
|
312
312
|
"Hero_Image__c": "https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=800",
|
|
313
|
-
"Agent__c":
|
|
313
|
+
"Agent__c": "@AgentRef4"
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
316
|
"attributes": {
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
"Description__c": "Contemporary townhome near tech companies with private garage and community amenities. Ideal for families.",
|
|
337
337
|
"Tour_URL__c": null,
|
|
338
338
|
"Hero_Image__c": "https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800",
|
|
339
|
-
"Agent__c":
|
|
339
|
+
"Agent__c": "@AgentRef5"
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
342
|
"attributes": {
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
"Description__c": "Converted warehouse loft with soaring ceilings, exposed beams, and artistic neighborhood vibe.",
|
|
363
363
|
"Tour_URL__c": "https://example.com/tour/artistic-loft",
|
|
364
364
|
"Hero_Image__c": "https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=800",
|
|
365
|
-
"Agent__c":
|
|
365
|
+
"Agent__c": "@AgentRef1"
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
"attributes": {
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
"Description__c": "Ultra-luxury penthouse with concierge service, gym, and incredible bay and city views. Currently under maintenance.",
|
|
389
389
|
"Tour_URL__c": "https://example.com/tour/luxury-highrise",
|
|
390
390
|
"Hero_Image__c": "https://images.unsplash.com/photo-1737898378296-94dc316cd443?w=800",
|
|
391
|
-
"Agent__c":
|
|
391
|
+
"Agent__c": "@AgentRef2"
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
394
|
"attributes": {
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
"Description__c": "Charming family home with large backyard, updated kitchen, and excellent school district. Perfect for families.",
|
|
415
415
|
"Tour_URL__c": null,
|
|
416
416
|
"Hero_Image__c": "https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?w=800",
|
|
417
|
-
"Agent__c":
|
|
417
|
+
"Agent__c": "@AgentRef3"
|
|
418
418
|
},
|
|
419
419
|
{
|
|
420
420
|
"attributes": {
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
"Description__c": "Brand new studio with smart home features, in-unit laundry, and rooftop terrace access. Modern living at its best.",
|
|
441
441
|
"Tour_URL__c": "https://example.com/tour/modern-studio",
|
|
442
442
|
"Hero_Image__c": "https://images.unsplash.com/photo-1600585154084-4e5fe7c39198?w=800",
|
|
443
|
-
"Agent__c":
|
|
443
|
+
"Agent__c": "@AgentRef4"
|
|
444
444
|
},
|
|
445
445
|
{
|
|
446
446
|
"attributes": {
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
"Description__c": "Sophisticated executive condo with marble finishes, city views, and luxury building amenities. Premium Nob Hill location.",
|
|
467
467
|
"Tour_URL__c": "https://example.com/tour/executive-suite",
|
|
468
468
|
"Hero_Image__c": "https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?w=800",
|
|
469
|
-
"Agent__c":
|
|
469
|
+
"Agent__c": "@AgentRef5"
|
|
470
470
|
},
|
|
471
471
|
{
|
|
472
472
|
"attributes": {
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
"Description__c": "Fully restored Victorian mansion with period details, modern conveniences, and beautiful garden. Rare Pacific Heights gem.",
|
|
493
493
|
"Tour_URL__c": "https://example.com/tour/victorian",
|
|
494
494
|
"Hero_Image__c": "https://images.unsplash.com/photo-1600566753151-384129cf4e3e?w=800",
|
|
495
|
-
"Agent__c":
|
|
495
|
+
"Agent__c": "@AgentRef1"
|
|
496
496
|
},
|
|
497
497
|
{
|
|
498
498
|
"attributes": {
|
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
"Description__c": "Bright apartment with bay views, hardwood floors, and walking distance to Marina Green. Great neighborhood.",
|
|
519
519
|
"Tour_URL__c": null,
|
|
520
520
|
"Hero_Image__c": "https://images.unsplash.com/photo-1600585154526-990dced4db0d?w=800",
|
|
521
|
-
"Agent__c":
|
|
521
|
+
"Agent__c": "@AgentRef2"
|
|
522
522
|
},
|
|
523
523
|
{
|
|
524
524
|
"attributes": {
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
"Description__c": "Comfortable townhouse with private patio, attached garage, and close to UC Berkeley. Great for students or faculty.",
|
|
545
545
|
"Tour_URL__c": null,
|
|
546
546
|
"Hero_Image__c": "https://images.unsplash.com/photo-1603661764782-a3c9812afada?w=800",
|
|
547
|
-
"Agent__c":
|
|
547
|
+
"Agent__c": "@AgentRef3"
|
|
548
548
|
},
|
|
549
549
|
{
|
|
550
550
|
"attributes": {
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
"Description__c": "Modern open office space perfect for tech startups with high-speed internet and flexible layout. Prime SOMA location.",
|
|
571
571
|
"Tour_URL__c": "https://example.com/tour/startup-hub",
|
|
572
572
|
"Hero_Image__c": "https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=800",
|
|
573
|
-
"Agent__c":
|
|
573
|
+
"Agent__c": "@AgentRef4"
|
|
574
574
|
},
|
|
575
575
|
{
|
|
576
576
|
"attributes": {
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
"Description__c": "Spacious family home with modern kitchen, large basement, and proximity to Golden Gate Park. Perfect for families.",
|
|
597
597
|
"Tour_URL__c": null,
|
|
598
598
|
"Hero_Image__c": "https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?w=800",
|
|
599
|
-
"Agent__c":
|
|
599
|
+
"Agent__c": "@AgentRef5"
|
|
600
600
|
},
|
|
601
601
|
{
|
|
602
602
|
"attributes": {
|
|
@@ -622,7 +622,7 @@
|
|
|
622
622
|
"Description__c": "Contemporary loft in vibrant Mission Bay with waterfront access and modern amenities. Great location near ballpark.",
|
|
623
623
|
"Tour_URL__c": "https://example.com/tour/mission-loft",
|
|
624
624
|
"Hero_Image__c": "https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?w=800",
|
|
625
|
-
"Agent__c":
|
|
625
|
+
"Agent__c": "@AgentRef1"
|
|
626
626
|
},
|
|
627
627
|
{
|
|
628
628
|
"attributes": {
|
|
@@ -648,7 +648,7 @@
|
|
|
648
648
|
"Description__c": "Elegant apartment in prestigious Pacific Heights with hardwood floors, in-unit laundry, and 24/7 doorman service.",
|
|
649
649
|
"Tour_URL__c": "https://example.com/tour/pac-heights",
|
|
650
650
|
"Hero_Image__c": "https://images.unsplash.com/photo-1600585152220-90363fe7e115?w=800",
|
|
651
|
-
"Agent__c":
|
|
651
|
+
"Agent__c": "@AgentRef2"
|
|
652
652
|
}
|
|
653
653
|
]
|
|
654
654
|
}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"sobject": "Contact",
|
|
4
|
+
"saveRefs": true,
|
|
5
|
+
"resolveRefs": false,
|
|
6
|
+
"files": ["Contact.json"]
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"sobject": "Maintenance_Worker__c",
|
|
4
10
|
"saveRefs": true,
|
|
@@ -6,9 +12,15 @@
|
|
|
6
12
|
"files": ["Maintenance_Worker__c.json"]
|
|
7
13
|
},
|
|
8
14
|
{
|
|
9
|
-
"sobject": "
|
|
15
|
+
"sobject": "Agent__c",
|
|
10
16
|
"saveRefs": true,
|
|
11
17
|
"resolveRefs": false,
|
|
18
|
+
"files": ["Agent__c.json"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"sobject": "Property__c",
|
|
22
|
+
"saveRefs": true,
|
|
23
|
+
"resolveRefs": true,
|
|
12
24
|
"files": ["Property__c.json"]
|
|
13
25
|
},
|
|
14
26
|
{
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
3
|
+
<actionOverrides>
|
|
4
|
+
<actionName>Accept</actionName>
|
|
5
|
+
<type>Default</type>
|
|
6
|
+
</actionOverrides>
|
|
7
|
+
<actionOverrides>
|
|
8
|
+
<actionName>CancelEdit</actionName>
|
|
9
|
+
<type>Default</type>
|
|
10
|
+
</actionOverrides>
|
|
11
|
+
<actionOverrides>
|
|
12
|
+
<actionName>Clone</actionName>
|
|
13
|
+
<type>Default</type>
|
|
14
|
+
</actionOverrides>
|
|
15
|
+
<actionOverrides>
|
|
16
|
+
<actionName>Delete</actionName>
|
|
17
|
+
<type>Default</type>
|
|
18
|
+
</actionOverrides>
|
|
19
|
+
<actionOverrides>
|
|
20
|
+
<actionName>Edit</actionName>
|
|
21
|
+
<type>Default</type>
|
|
22
|
+
</actionOverrides>
|
|
23
|
+
<actionOverrides>
|
|
24
|
+
<actionName>List</actionName>
|
|
25
|
+
<type>Default</type>
|
|
26
|
+
</actionOverrides>
|
|
27
|
+
<actionOverrides>
|
|
28
|
+
<actionName>New</actionName>
|
|
29
|
+
<type>Default</type>
|
|
30
|
+
</actionOverrides>
|
|
31
|
+
<actionOverrides>
|
|
32
|
+
<actionName>SaveEdit</actionName>
|
|
33
|
+
<type>Default</type>
|
|
34
|
+
</actionOverrides>
|
|
35
|
+
<actionOverrides>
|
|
36
|
+
<actionName>Tab</actionName>
|
|
37
|
+
<type>Default</type>
|
|
38
|
+
</actionOverrides>
|
|
39
|
+
<actionOverrides>
|
|
40
|
+
<actionName>View</actionName>
|
|
41
|
+
<type>Default</type>
|
|
42
|
+
</actionOverrides>
|
|
43
|
+
<allowInChatterGroups>false</allowInChatterGroups>
|
|
44
|
+
<compactLayoutAssignment>SYSTEM</compactLayoutAssignment>
|
|
45
|
+
<deploymentStatus>Deployed</deploymentStatus>
|
|
46
|
+
<description>Real estate and property management agents</description>
|
|
47
|
+
<enableActivities>true</enableActivities>
|
|
48
|
+
<enableBulkApi>true</enableBulkApi>
|
|
49
|
+
<enableFeeds>false</enableFeeds>
|
|
50
|
+
<enableHistory>true</enableHistory>
|
|
51
|
+
<enableLicensing>false</enableLicensing>
|
|
52
|
+
<enableReports>true</enableReports>
|
|
53
|
+
<enableSearch>true</enableSearch>
|
|
54
|
+
<enableSharing>true</enableSharing>
|
|
55
|
+
<enableStreamingApi>true</enableStreamingApi>
|
|
56
|
+
<externalSharingModel>Private</externalSharingModel>
|
|
57
|
+
<label>Agent</label>
|
|
58
|
+
<nameField>
|
|
59
|
+
<label>Agent Name</label>
|
|
60
|
+
<type>Text</type>
|
|
61
|
+
</nameField>
|
|
62
|
+
<pluralLabel>Agents</pluralLabel>
|
|
63
|
+
<searchLayouts/>
|
|
64
|
+
<sharingModel>ReadWrite</sharingModel>
|
|
65
|
+
<visibility>Public</visibility>
|
|
66
|
+
</CustomObject>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
3
|
+
<fullName>Agent_Type__c</fullName>
|
|
4
|
+
<description>Type of properties the agent manages</description>
|
|
5
|
+
<externalId>false</externalId>
|
|
6
|
+
<label>Agent Type</label>
|
|
7
|
+
<required>false</required>
|
|
8
|
+
<trackHistory>false</trackHistory>
|
|
9
|
+
<trackTrending>false</trackTrending>
|
|
10
|
+
<type>Picklist</type>
|
|
11
|
+
<valueSet>
|
|
12
|
+
<restricted>true</restricted>
|
|
13
|
+
<valueSetDefinition>
|
|
14
|
+
<sorted>false</sorted>
|
|
15
|
+
<value>
|
|
16
|
+
<fullName>Residential</fullName>
|
|
17
|
+
<default>false</default>
|
|
18
|
+
<label>Residential</label>
|
|
19
|
+
</value>
|
|
20
|
+
<value>
|
|
21
|
+
<fullName>Commercial</fullName>
|
|
22
|
+
<default>false</default>
|
|
23
|
+
<label>Commercial</label>
|
|
24
|
+
</value>
|
|
25
|
+
<value>
|
|
26
|
+
<fullName>Industrial</fullName>
|
|
27
|
+
<default>false</default>
|
|
28
|
+
<label>Industrial</label>
|
|
29
|
+
</value>
|
|
30
|
+
<value>
|
|
31
|
+
<fullName>Short-term</fullName>
|
|
32
|
+
<default>false</default>
|
|
33
|
+
<label>Short-term</label>
|
|
34
|
+
</value>
|
|
35
|
+
</valueSetDefinition>
|
|
36
|
+
</valueSet>
|
|
37
|
+
</CustomField>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
3
|
+
<fullName>Availability__c</fullName>
|
|
4
|
+
<description>Current availability status of the agent</description>
|
|
5
|
+
<externalId>false</externalId>
|
|
6
|
+
<label>Availability Status</label>
|
|
7
|
+
<required>false</required>
|
|
8
|
+
<trackHistory>false</trackHistory>
|
|
9
|
+
<trackTrending>false</trackTrending>
|
|
10
|
+
<type>Picklist</type>
|
|
11
|
+
<valueSet>
|
|
12
|
+
<restricted>true</restricted>
|
|
13
|
+
<valueSetDefinition>
|
|
14
|
+
<sorted>false</sorted>
|
|
15
|
+
<value>
|
|
16
|
+
<fullName>On-Duty</fullName>
|
|
17
|
+
<default>true</default>
|
|
18
|
+
<label>On-Duty</label>
|
|
19
|
+
</value>
|
|
20
|
+
<value>
|
|
21
|
+
<fullName>Off-Duty</fullName>
|
|
22
|
+
<default>false</default>
|
|
23
|
+
<label>Off-Duty</label>
|
|
24
|
+
</value>
|
|
25
|
+
<value>
|
|
26
|
+
<fullName>On Vacation</fullName>
|
|
27
|
+
<default>false</default>
|
|
28
|
+
<label>On Vacation</label>
|
|
29
|
+
</value>
|
|
30
|
+
<value>
|
|
31
|
+
<fullName>On-Call</fullName>
|
|
32
|
+
<default>false</default>
|
|
33
|
+
<label>On-Call</label>
|
|
34
|
+
</value>
|
|
35
|
+
</valueSetDefinition>
|
|
36
|
+
</valueSet>
|
|
37
|
+
</CustomField>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
3
|
+
<fullName>Emergency_Alt__c</fullName>
|
|
4
|
+
<description>Backup number for after-hours issues.</description>
|
|
5
|
+
<externalId>false</externalId>
|
|
6
|
+
<label>Emergency Contact</label>
|
|
7
|
+
<required>false</required>
|
|
8
|
+
<trackHistory>false</trackHistory>
|
|
9
|
+
<trackTrending>false</trackTrending>
|
|
10
|
+
<type>Phone</type>
|
|
11
|
+
</CustomField>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
3
|
+
<fullName>Language__c</fullName>
|
|
4
|
+
<description>Critical for matching agents to diverse tenant bases.</description>
|
|
5
|
+
<externalId>false</externalId>
|
|
6
|
+
<label>Preferred Language</label>
|
|
7
|
+
<required>false</required>
|
|
8
|
+
<trackHistory>false</trackHistory>
|
|
9
|
+
<trackTrending>false</trackTrending>
|
|
10
|
+
<type>Picklist</type>
|
|
11
|
+
<valueSet>
|
|
12
|
+
<restricted>true</restricted>
|
|
13
|
+
<valueSetDefinition>
|
|
14
|
+
<sorted>false</sorted>
|
|
15
|
+
<value>
|
|
16
|
+
<fullName>English</fullName>
|
|
17
|
+
<default>true</default>
|
|
18
|
+
<label>English</label>
|
|
19
|
+
</value>
|
|
20
|
+
<value>
|
|
21
|
+
<fullName>Spanish</fullName>
|
|
22
|
+
<default>false</default>
|
|
23
|
+
<label>Spanish</label>
|
|
24
|
+
</value>
|
|
25
|
+
<value>
|
|
26
|
+
<fullName>French</fullName>
|
|
27
|
+
<default>false</default>
|
|
28
|
+
<label>French</label>
|
|
29
|
+
</value>
|
|
30
|
+
<value>
|
|
31
|
+
<fullName>Mandarin</fullName>
|
|
32
|
+
<default>false</default>
|
|
33
|
+
<label>Mandarin</label>
|
|
34
|
+
</value>
|
|
35
|
+
<value>
|
|
36
|
+
<fullName>Other</fullName>
|
|
37
|
+
<default>false</default>
|
|
38
|
+
<label>Other</label>
|
|
39
|
+
</value>
|
|
40
|
+
</valueSetDefinition>
|
|
41
|
+
</valueSet>
|
|
42
|
+
</CustomField>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
3
|
+
<fullName>License_Expiry__c</fullName>
|
|
4
|
+
<description>Used for automated compliance alerts.</description>
|
|
5
|
+
<externalId>false</externalId>
|
|
6
|
+
<label>License Expiry</label>
|
|
7
|
+
<required>false</required>
|
|
8
|
+
<trackHistory>false</trackHistory>
|
|
9
|
+
<trackTrending>false</trackTrending>
|
|
10
|
+
<type>Date</type>
|
|
11
|
+
</CustomField>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
3
|
+
<fullName>License_Number__c</fullName>
|
|
4
|
+
<description>Real estate or property management license ID.</description>
|
|
5
|
+
<externalId>false</externalId>
|
|
6
|
+
<label>License Number</label>
|
|
7
|
+
<length>50</length>
|
|
8
|
+
<required>false</required>
|
|
9
|
+
<trackHistory>false</trackHistory>
|
|
10
|
+
<trackTrending>false</trackTrending>
|
|
11
|
+
<type>Text</type>
|
|
12
|
+
<unique>true</unique>
|
|
13
|
+
<caseSensitive>false</caseSensitive>
|
|
14
|
+
</CustomField>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
3
|
+
<fullName>Office_Location__c</fullName>
|
|
4
|
+
<description>What office is the agent assigned to</description>
|
|
5
|
+
<externalId>false</externalId>
|
|
6
|
+
<label>Office Location</label>
|
|
7
|
+
<required>false</required>
|
|
8
|
+
<trackHistory>false</trackHistory>
|
|
9
|
+
<trackTrending>false</trackTrending>
|
|
10
|
+
<type>Picklist</type>
|
|
11
|
+
<valueSet>
|
|
12
|
+
<restricted>true</restricted>
|
|
13
|
+
<valueSetDefinition>
|
|
14
|
+
<sorted>false</sorted>
|
|
15
|
+
<value>
|
|
16
|
+
<fullName>Main Office</fullName>
|
|
17
|
+
<default>false</default>
|
|
18
|
+
<label>Main Office</label>
|
|
19
|
+
</value>
|
|
20
|
+
<value>
|
|
21
|
+
<fullName>Downtown Branch</fullName>
|
|
22
|
+
<default>false</default>
|
|
23
|
+
<label>Downtown Branch</label>
|
|
24
|
+
</value>
|
|
25
|
+
<value>
|
|
26
|
+
<fullName>North Branch</fullName>
|
|
27
|
+
<default>false</default>
|
|
28
|
+
<label>North Branch</label>
|
|
29
|
+
</value>
|
|
30
|
+
<value>
|
|
31
|
+
<fullName>South Branch</fullName>
|
|
32
|
+
<default>false</default>
|
|
33
|
+
<label>South Branch</label>
|
|
34
|
+
</value>
|
|
35
|
+
<value>
|
|
36
|
+
<fullName>Remote</fullName>
|
|
37
|
+
<default>false</default>
|
|
38
|
+
<label>Remote</label>
|
|
39
|
+
</value>
|
|
40
|
+
</valueSetDefinition>
|
|
41
|
+
</valueSet>
|
|
42
|
+
</CustomField>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
3
|
+
<fullName>Territory__c</fullName>
|
|
4
|
+
<description>The geographic region they manage.</description>
|
|
5
|
+
<externalId>false</externalId>
|
|
6
|
+
<label>Assigned Territory</label>
|
|
7
|
+
<required>false</required>
|
|
8
|
+
<trackHistory>false</trackHistory>
|
|
9
|
+
<trackTrending>false</trackTrending>
|
|
10
|
+
<type>Picklist</type>
|
|
11
|
+
<valueSet>
|
|
12
|
+
<restricted>true</restricted>
|
|
13
|
+
<valueSetDefinition>
|
|
14
|
+
<sorted>false</sorted>
|
|
15
|
+
<value>
|
|
16
|
+
<fullName>Downtown</fullName>
|
|
17
|
+
<default>false</default>
|
|
18
|
+
<label>Downtown</label>
|
|
19
|
+
</value>
|
|
20
|
+
<value>
|
|
21
|
+
<fullName>North District</fullName>
|
|
22
|
+
<default>false</default>
|
|
23
|
+
<label>North District</label>
|
|
24
|
+
</value>
|
|
25
|
+
<value>
|
|
26
|
+
<fullName>South District</fullName>
|
|
27
|
+
<default>false</default>
|
|
28
|
+
<label>South District</label>
|
|
29
|
+
</value>
|
|
30
|
+
<value>
|
|
31
|
+
<fullName>East District</fullName>
|
|
32
|
+
<default>false</default>
|
|
33
|
+
<label>East District</label>
|
|
34
|
+
</value>
|
|
35
|
+
<value>
|
|
36
|
+
<fullName>West District</fullName>
|
|
37
|
+
<default>false</default>
|
|
38
|
+
<label>West District</label>
|
|
39
|
+
</value>
|
|
40
|
+
</valueSetDefinition>
|
|
41
|
+
</valueSet>
|
|
42
|
+
</CustomField>
|
package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/User__c.field-meta.xml
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<description>Tenant who submitted the maintenance request</description>
|
|
6
6
|
<externalId>false</externalId>
|
|
7
7
|
<label>Tenant</label>
|
|
8
|
-
<referenceTo>
|
|
8
|
+
<referenceTo>Tenant__c</referenceTo>
|
|
9
9
|
<relationshipLabel>Maintenance Requests</relationshipLabel>
|
|
10
10
|
<relationshipName>Maintenance_Requests</relationshipName>
|
|
11
11
|
<required>false</required>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<description>Responsible agent for this property</description>
|
|
6
6
|
<externalId>false</externalId>
|
|
7
7
|
<label>Agent</label>
|
|
8
|
-
<referenceTo>
|
|
8
|
+
<referenceTo>Agent__c</referenceTo>
|
|
9
9
|
<relationshipLabel>Properties</relationshipLabel>
|
|
10
10
|
<relationshipName>Properties</relationshipName>
|
|
11
11
|
<required>false</required>
|