@pipedream/salesforce_rest_api 1.2.1 → 1.3.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/README.md +92 -0
- package/actions/add-contact-to-campaign/add-contact-to-campaign.mjs +25 -25
- package/actions/add-lead-to-campaign/add-lead-to-campaign.mjs +25 -24
- package/actions/common/base-create-update.mjs +108 -0
- package/actions/convert-soap-xml-to-json/convert-soap-xml-to-json.mjs +11 -3
- package/actions/create-account/create-account.mjs +33 -36
- package/actions/create-attachment/create-attachment.mjs +36 -50
- package/actions/create-campaign/create-campaign.mjs +41 -37
- package/actions/create-case/create-case.mjs +41 -37
- package/actions/create-casecomment/create-casecomment.mjs +26 -38
- package/actions/create-contact/create-contact.mjs +38 -35
- package/actions/create-event/create-event.mjs +57 -66
- package/actions/create-lead/create-lead.mjs +34 -42
- package/actions/create-note/create-note.mjs +24 -43
- package/actions/create-opportunity/create-opportunity.mjs +38 -47
- package/actions/create-record/create-record.mjs +49 -15
- package/actions/create-task/create-task.mjs +50 -42
- package/actions/create-user/create-user.mjs +33 -196
- package/actions/delete-opportunity/delete-opportunity.mjs +17 -13
- package/actions/delete-record/delete-record.mjs +18 -16
- package/actions/find-records/find-records.mjs +41 -26
- package/actions/insert-blob-data/insert-blob-data.mjs +3 -7
- package/actions/post-feed-to-chatter/post-feed-to-chatter.mjs +45 -20
- package/actions/search-string/search-string.mjs +22 -20
- package/actions/soql-search/soql-search.mjs +13 -8
- package/actions/sosl-search/sosl-search.mjs +19 -9
- package/actions/update-account/update-account.mjs +54 -41
- package/actions/update-contact/update-contact.mjs +59 -40
- package/actions/update-opportunity/update-opportunity.mjs +56 -54
- package/actions/update-record/update-record.mjs +67 -20
- package/common/all-sobjects.mjs +3812 -0
- package/common/constants-props.mjs +1539 -0
- package/common/props-async-options.mjs +154 -0
- package/common/props-utils.mjs +88 -31
- package/common/sobjects/account.mjs +349 -22
- package/common/sobjects/attachment.mjs +56 -17
- package/common/sobjects/campaign.mjs +125 -23
- package/common/sobjects/case.mjs +193 -13
- package/common/sobjects/caseComment.mjs +28 -4
- package/common/sobjects/contact.mjs +207 -43
- package/common/sobjects/event.mjs +218 -18
- package/common/sobjects/lead.mjs +245 -22
- package/common/sobjects/note.mjs +37 -14
- package/common/sobjects/opportunity.mjs +148 -22
- package/common/sobjects/task.mjs +240 -19
- package/common/sobjects/user.mjs +965 -0
- package/package.json +2 -2
- package/salesforce_rest_api.app.mjs +72 -249
- package/sources/common-webhook-methods.mjs +71 -0
- package/sources/common.mjs +85 -22
- package/sources/new-outbound-message/new-outbound-message.mjs +11 -3
- package/sources/new-record-instant/new-record-instant.mjs +77 -6
- package/sources/record-deleted-instant/record-deleted-instant.mjs +40 -5
- package/sources/record-updated-instant/record-updated-instant.mjs +137 -5
- package/actions/common/base.mjs +0 -18
- package/actions/find-create-record/find-create-record.mjs +0 -89
- package/actions/get-sobject-fields-values/get-sobject-fields-values.mjs +0 -57
- package/common/utils.mjs +0 -51
- package/sources/common-instant.mjs +0 -146
- package/sources/new-record/new-record.mjs +0 -91
- package/sources/record-deleted/record-deleted.mjs +0 -51
- package/sources/record-updated/record-updated.mjs +0 -94
- package/sources/updated-field-on-record/updated-field-on-record.mjs +0 -161
- package/sources/updated-field-on-record-instant/updated-field-on-record-instant.mjs +0 -76
|
@@ -1,47 +1,211 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CLEAN_STATUS_OPTIONS, GEOCODE_ACCURACY_OPTIONS, RECORD_SOURCE_OPTIONS,
|
|
3
|
+
} from "../constants-props.mjs";
|
|
4
|
+
import commonProps from "../props-async-options.mjs";
|
|
5
|
+
|
|
1
6
|
export default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
7
|
+
initialProps: {
|
|
8
|
+
Description: {
|
|
9
|
+
type: "string",
|
|
10
|
+
label: "Contact Description",
|
|
11
|
+
description: "A description of the contact, up to 32 KB.",
|
|
12
|
+
optional: true,
|
|
13
|
+
},
|
|
14
|
+
Email: {
|
|
15
|
+
type: "string",
|
|
16
|
+
label: "Email",
|
|
17
|
+
description: "The contact's email address.",
|
|
18
|
+
optional: true,
|
|
19
|
+
},
|
|
20
|
+
FirstName: {
|
|
21
|
+
type: "string",
|
|
22
|
+
label: "First Name",
|
|
23
|
+
description: "The contact's first name, up to 40 characters.",
|
|
24
|
+
optional: true,
|
|
25
|
+
},
|
|
26
|
+
LastName: {
|
|
27
|
+
type: "string",
|
|
28
|
+
label: "Last Name",
|
|
29
|
+
description: "The contact's last name, up to 80 characters.",
|
|
30
|
+
},
|
|
31
|
+
Phone: {
|
|
32
|
+
type: "string",
|
|
33
|
+
label: "Business Phone",
|
|
34
|
+
description: "Phone number for the contact.",
|
|
35
|
+
optional: true,
|
|
36
|
+
},
|
|
6
37
|
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
extraProps: {
|
|
39
|
+
AccountId: {
|
|
40
|
+
...commonProps.AccountId,
|
|
41
|
+
description: "ID of the account that's the parent of this contact.",
|
|
42
|
+
optional: true,
|
|
43
|
+
},
|
|
44
|
+
IndividualId: {
|
|
45
|
+
...commonProps.IndividualId,
|
|
46
|
+
optional: true,
|
|
47
|
+
},
|
|
48
|
+
OwnerId: {
|
|
49
|
+
...commonProps.UserId,
|
|
50
|
+
description:
|
|
51
|
+
"The ID of the owner of the account associated with this contact.",
|
|
52
|
+
optional: true,
|
|
53
|
+
},
|
|
54
|
+
RecordTypeId: {
|
|
55
|
+
...commonProps.RecordTypeId,
|
|
56
|
+
optional: true,
|
|
57
|
+
},
|
|
58
|
+
ReportsToId: {
|
|
59
|
+
...commonProps.ContactId,
|
|
60
|
+
label: "Reports To ID",
|
|
61
|
+
optional: true,
|
|
62
|
+
},
|
|
63
|
+
AssistantName: {
|
|
64
|
+
type: "string",
|
|
65
|
+
label: "Assistant's Name",
|
|
66
|
+
description: "The assistant's name.",
|
|
67
|
+
optional: true,
|
|
68
|
+
},
|
|
69
|
+
AssistantPhone: {
|
|
70
|
+
type: "string",
|
|
71
|
+
label: "Assistant's Phone",
|
|
72
|
+
description: "The assistant's phone number.",
|
|
73
|
+
optional: true,
|
|
74
|
+
},
|
|
75
|
+
Birthdate: {
|
|
76
|
+
type: "string",
|
|
77
|
+
label: "Birthdate",
|
|
78
|
+
description: "The contact's birthdate.",
|
|
79
|
+
optional: true,
|
|
80
|
+
},
|
|
81
|
+
CleanStatus: {
|
|
82
|
+
type: "string",
|
|
83
|
+
label: "Clean Status",
|
|
84
|
+
description:
|
|
85
|
+
"Indicates the record's clean status as compared with Data.com.",
|
|
86
|
+
optional: true,
|
|
87
|
+
options: CLEAN_STATUS_OPTIONS,
|
|
88
|
+
},
|
|
89
|
+
Department: {
|
|
90
|
+
type: "string",
|
|
91
|
+
label: "Department",
|
|
92
|
+
description: "The contact's department.",
|
|
93
|
+
optional: true,
|
|
94
|
+
},
|
|
95
|
+
Fax: {
|
|
96
|
+
type: "string",
|
|
97
|
+
label: "Business Fax",
|
|
98
|
+
description: "The contact's fax number.",
|
|
99
|
+
optional: true,
|
|
100
|
+
},
|
|
101
|
+
HasOptedOutOfEmail: {
|
|
102
|
+
type: "boolean",
|
|
103
|
+
label: "Email Opt Out",
|
|
104
|
+
description:
|
|
105
|
+
"Indicates whether the contact doesn't want to receive email from Salesforce (`true`) or does (`false`).",
|
|
106
|
+
optional: true,
|
|
107
|
+
},
|
|
108
|
+
HasOptedOutOfFax: {
|
|
109
|
+
type: "boolean",
|
|
110
|
+
label: "Fax Opt Out",
|
|
111
|
+
description: "Indicates whether the contact prohibits receiving faxes.",
|
|
112
|
+
optional: true,
|
|
113
|
+
},
|
|
114
|
+
HomePhone: {
|
|
115
|
+
type: "string",
|
|
116
|
+
label: "Home Phone",
|
|
117
|
+
description: "The contact's home phone number.",
|
|
118
|
+
optional: true,
|
|
119
|
+
},
|
|
120
|
+
LeadSource: {
|
|
121
|
+
type: "string",
|
|
122
|
+
label: "Lead Source",
|
|
123
|
+
description: "The source of the lead that was converted to this contact.",
|
|
124
|
+
optional: true,
|
|
125
|
+
options: RECORD_SOURCE_OPTIONS,
|
|
126
|
+
},
|
|
127
|
+
MailingCity: {
|
|
128
|
+
type: "string",
|
|
129
|
+
label: "Mailing City",
|
|
130
|
+
description: "The city of the contact's mailing address.",
|
|
131
|
+
optional: true,
|
|
132
|
+
},
|
|
133
|
+
MailingCountry: {
|
|
134
|
+
type: "string",
|
|
135
|
+
label: "Mailing Country",
|
|
136
|
+
description: "The country of the contact's mailing address.",
|
|
137
|
+
optional: true,
|
|
138
|
+
},
|
|
139
|
+
MailingGeocodeAccuracy: {
|
|
140
|
+
type: "string",
|
|
141
|
+
label: "Mailing Geocode Accuracy",
|
|
142
|
+
description: "Accuracy level of the geocode for the mailing address.",
|
|
143
|
+
optional: true,
|
|
144
|
+
options: GEOCODE_ACCURACY_OPTIONS,
|
|
145
|
+
},
|
|
146
|
+
MailingLatitude: {
|
|
147
|
+
type: "string",
|
|
148
|
+
label: "Mailing Latitude",
|
|
149
|
+
description:
|
|
150
|
+
"A number between -90 and 90 with up to 15 decimal places. Use with `Mailing Longitude` to specify the precise geolocation of a mailing address.",
|
|
151
|
+
optional: true,
|
|
152
|
+
},
|
|
153
|
+
MailingLongitude: {
|
|
154
|
+
type: "string",
|
|
155
|
+
label: "Mailing Longitude",
|
|
156
|
+
description:
|
|
157
|
+
"A number between -180 and 180 with up to 15 decimal places. Use with `Mailing Latitude` to specify the precise geolocation of a mailing address.",
|
|
158
|
+
optional: true,
|
|
159
|
+
},
|
|
160
|
+
MailingPostalCode: {
|
|
161
|
+
type: "string",
|
|
162
|
+
label: "Mailing Postal Code",
|
|
163
|
+
description: "The postal code of the contact's mailing address.",
|
|
164
|
+
optional: true,
|
|
165
|
+
},
|
|
166
|
+
MailingState: {
|
|
167
|
+
type: "string",
|
|
168
|
+
label: "Mailing State",
|
|
169
|
+
description: "The state of the contact's mailing address.",
|
|
170
|
+
optional: true,
|
|
171
|
+
},
|
|
172
|
+
MiddleName: {
|
|
173
|
+
type: "string",
|
|
174
|
+
label: "Middle Name",
|
|
175
|
+
description: "The contact's middle name, up to 40 characters.",
|
|
176
|
+
optional: true,
|
|
177
|
+
},
|
|
178
|
+
MobilePhone: {
|
|
179
|
+
type: "string",
|
|
180
|
+
label: "Mobile Phone",
|
|
181
|
+
description: "The contact's mobile phone number.",
|
|
182
|
+
optional: true,
|
|
183
|
+
},
|
|
184
|
+
Salutation: {
|
|
185
|
+
type: "string",
|
|
186
|
+
label: "Salutation",
|
|
187
|
+
description: "The contact's salutation.",
|
|
188
|
+
optional: true,
|
|
189
|
+
options: [
|
|
190
|
+
"Mr.",
|
|
191
|
+
"Ms.",
|
|
192
|
+
"Mrs.",
|
|
193
|
+
"Dr.",
|
|
194
|
+
"Prof.",
|
|
195
|
+
"Mx.",
|
|
196
|
+
],
|
|
197
|
+
},
|
|
198
|
+
Suffix: {
|
|
199
|
+
type: "string",
|
|
200
|
+
label: "Suffix",
|
|
201
|
+
description: "Name suffix of the contact up to 40 characters.",
|
|
202
|
+
optional: true,
|
|
203
|
+
},
|
|
204
|
+
Title: {
|
|
205
|
+
type: "string",
|
|
206
|
+
label: "Title",
|
|
207
|
+
description: "Title of the contact, such as CEO or Vice President.",
|
|
208
|
+
optional: true,
|
|
209
|
+
},
|
|
46
210
|
},
|
|
47
211
|
};
|
|
@@ -1,22 +1,222 @@
|
|
|
1
|
+
import { // eslint-disable-next-line max-len
|
|
2
|
+
RECURRENCE_INSTANCE_OPTIONS, RECURRENCE_MONTH_OPTIONS, TIMEZONE_OPTIONS, RECURRENCE_TYPE_OPTIONS, WEEKDAY_MASK_OPTIONS,
|
|
3
|
+
} from "../constants-props.mjs";
|
|
4
|
+
import commonProps from "../props-async-options.mjs";
|
|
5
|
+
|
|
1
6
|
export default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
7
|
+
initialProps: {
|
|
8
|
+
AcceptedEventInviteeIds: {
|
|
9
|
+
...commonProps.ContactOrLeadIds,
|
|
10
|
+
label: "Accepted Event Invitee IDs",
|
|
11
|
+
description: "One or more Contact or Lead IDs who accepted this event.",
|
|
12
|
+
optional: true,
|
|
13
|
+
async options() {
|
|
14
|
+
const contacts = await this.salesforce.listRecordOptions({
|
|
15
|
+
objType: "Contact",
|
|
16
|
+
nameField: "Name",
|
|
17
|
+
});
|
|
18
|
+
const leads = await this.salesforce.listRecordOptions({
|
|
19
|
+
objType: "Lead",
|
|
20
|
+
nameField: "Name",
|
|
21
|
+
});
|
|
22
|
+
return [
|
|
23
|
+
...(contacts ?? []),
|
|
24
|
+
...(leads ?? []),
|
|
25
|
+
];
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
ActivityDate: {
|
|
29
|
+
type: "string",
|
|
30
|
+
label: "Due Date / Time",
|
|
31
|
+
description:
|
|
32
|
+
"The date/time (`ActivityDateTime`) of the event, or only the date (`ActivityDate`) if it is an all-day event.",
|
|
33
|
+
},
|
|
34
|
+
Description: {
|
|
35
|
+
type: "string",
|
|
36
|
+
label: "Description",
|
|
37
|
+
description: "A text description of the event. Limit: 32,000 characters.",
|
|
38
|
+
optional: true,
|
|
39
|
+
},
|
|
40
|
+
DurationInMinutes: {
|
|
41
|
+
type: "integer",
|
|
42
|
+
label: "Duration (in minutes)",
|
|
43
|
+
description: "The event length in minutes.",
|
|
44
|
+
optional: true,
|
|
45
|
+
},
|
|
46
|
+
EndDateTime: {
|
|
47
|
+
type: "string",
|
|
48
|
+
label: "End Date / Time",
|
|
49
|
+
description: "The date/time when the event ends.",
|
|
50
|
+
optional: true,
|
|
51
|
+
},
|
|
52
|
+
IsAllDayEvent: {
|
|
53
|
+
type: "boolean",
|
|
54
|
+
label: "All-Day Event",
|
|
55
|
+
description: "Whether the event is an all-day event.",
|
|
56
|
+
optional: true,
|
|
57
|
+
},
|
|
58
|
+
Location: {
|
|
59
|
+
type: "string",
|
|
60
|
+
label: "Location",
|
|
61
|
+
description: "The location of the event.",
|
|
62
|
+
optional: true,
|
|
63
|
+
},
|
|
6
64
|
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
65
|
+
extraProps: {
|
|
66
|
+
DeclinedEventInviteeIds: {
|
|
67
|
+
...commonProps.ContactOrLeadIds,
|
|
68
|
+
label: "Declined Event Invitee IDs",
|
|
69
|
+
description: "One or more Contact or Lead IDs who declined this event.",
|
|
70
|
+
optional: true,
|
|
71
|
+
},
|
|
72
|
+
UndecidedEventInviteeIds: {
|
|
73
|
+
...commonProps.ContactOrLeadIds,
|
|
74
|
+
label: "Undecided Event Invitee IDs",
|
|
75
|
+
description: "One or more Contact or Lead IDs who are undecided about this event.",
|
|
76
|
+
optional: true,
|
|
77
|
+
},
|
|
78
|
+
OwnerId: {
|
|
79
|
+
...commonProps.UserId,
|
|
80
|
+
label: "Assigned to ID",
|
|
81
|
+
description: "ID of the user or public calendar who owns the event.",
|
|
82
|
+
optional: true,
|
|
83
|
+
},
|
|
84
|
+
IsPrivate: {
|
|
85
|
+
type: "boolean",
|
|
86
|
+
label: "Private",
|
|
87
|
+
description:
|
|
88
|
+
"If true, users other than the creator of the event can't see the event details when viewing the event user's calendar.",
|
|
89
|
+
optional: true,
|
|
90
|
+
},
|
|
91
|
+
IsRecurrence: {
|
|
92
|
+
type: "boolean",
|
|
93
|
+
label: "Recurring Event",
|
|
94
|
+
description:
|
|
95
|
+
"Indicates whether a Salesforce Classic event is scheduled to repeat itself.",
|
|
96
|
+
optional: true,
|
|
97
|
+
},
|
|
98
|
+
IsReminderSet: {
|
|
99
|
+
type: "boolean",
|
|
100
|
+
label: "Reminder Set",
|
|
101
|
+
description: "Indicates whether the activity is a reminder.",
|
|
102
|
+
optional: true,
|
|
103
|
+
},
|
|
104
|
+
IsVisibleInSelfService: {
|
|
105
|
+
type: "boolean",
|
|
106
|
+
label: "Visible in Self-Service",
|
|
107
|
+
description:
|
|
108
|
+
"Indicates whether an event associated with an object can be viewed in the Customer Portal.",
|
|
109
|
+
optional: true,
|
|
110
|
+
},
|
|
111
|
+
RecurrenceDayOfMonth: {
|
|
112
|
+
type: "integer",
|
|
113
|
+
label: "Recurrence Day of Month",
|
|
114
|
+
description: "The day of the month on which the event repeats.",
|
|
115
|
+
optional: true,
|
|
116
|
+
},
|
|
117
|
+
RecurrenceDayOfWeekMask: {
|
|
118
|
+
type: "integer[]",
|
|
119
|
+
label: "Recurrence Day of Week",
|
|
120
|
+
description: "The day(s) of the week on which the event repeats.",
|
|
121
|
+
optional: true,
|
|
122
|
+
options: WEEKDAY_MASK_OPTIONS,
|
|
123
|
+
},
|
|
124
|
+
RecurrenceEndDateOnly: {
|
|
125
|
+
type: "string",
|
|
126
|
+
label: "Recurrence End Date",
|
|
127
|
+
description: "Indicates the last date on which the event repeats.",
|
|
128
|
+
optional: true,
|
|
129
|
+
},
|
|
130
|
+
RecurrenceInstance: {
|
|
131
|
+
type: "string",
|
|
132
|
+
label: "Recurrence Instance",
|
|
133
|
+
description:
|
|
134
|
+
"Indicates the frequency of the Salesforce Classic event's recurrence.",
|
|
135
|
+
optional: true,
|
|
136
|
+
options: RECURRENCE_INSTANCE_OPTIONS,
|
|
137
|
+
},
|
|
138
|
+
RecurrenceInterval: {
|
|
139
|
+
type: "integer",
|
|
140
|
+
label: "Recurrence Interval",
|
|
141
|
+
description:
|
|
142
|
+
"Indicates the interval between Salesforce Classic recurring events.",
|
|
143
|
+
optional: true,
|
|
144
|
+
},
|
|
145
|
+
RecurrenceMonthOfYear: {
|
|
146
|
+
type: "string",
|
|
147
|
+
label: "Recurrence Month of Year",
|
|
148
|
+
description:
|
|
149
|
+
"Indicates the month in which the Salesforce Classic recurring event repeats.",
|
|
150
|
+
optional: true,
|
|
151
|
+
options: RECURRENCE_MONTH_OPTIONS,
|
|
152
|
+
},
|
|
153
|
+
RecurrenceStartDateTime: {
|
|
154
|
+
type: "string",
|
|
155
|
+
label: "Recurrence Start Date / Time",
|
|
156
|
+
description:
|
|
157
|
+
"Indicates the date and time when the Salesforce Classic recurring event begins.",
|
|
158
|
+
optional: true,
|
|
159
|
+
},
|
|
160
|
+
RecurrenceTimeZoneSidKey: {
|
|
161
|
+
type: "string",
|
|
162
|
+
label: "Recurrence Time Zone",
|
|
163
|
+
description:
|
|
164
|
+
"Indicates the time zone associated with a Salesforce Classic recurring event.",
|
|
165
|
+
optional: true,
|
|
166
|
+
options: TIMEZONE_OPTIONS,
|
|
167
|
+
},
|
|
168
|
+
RecurrenceType: {
|
|
169
|
+
type: "string",
|
|
170
|
+
label: "Recurrence Type",
|
|
171
|
+
description: "Indicates how often the Salesforce Classic event repeats.",
|
|
172
|
+
optional: true,
|
|
173
|
+
options: RECURRENCE_TYPE_OPTIONS,
|
|
174
|
+
},
|
|
175
|
+
ReminderDateTime: {
|
|
176
|
+
type: "string",
|
|
177
|
+
label: "Reminder Date / Time",
|
|
178
|
+
description: "Represents the time when the reminder is scheduled to fire",
|
|
179
|
+
optional: true,
|
|
180
|
+
},
|
|
181
|
+
ShowAs: {
|
|
182
|
+
type: "string",
|
|
183
|
+
label: "Show As",
|
|
184
|
+
description:
|
|
185
|
+
"Indicates how this event appears when another user views the calendar.",
|
|
186
|
+
optional: true,
|
|
187
|
+
options: [
|
|
188
|
+
{
|
|
189
|
+
label: "Busy",
|
|
190
|
+
value: "Busy",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
label: "Out of Office",
|
|
194
|
+
value: "OutOfOffice",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
label: "Free",
|
|
198
|
+
value: "Free",
|
|
199
|
+
},
|
|
200
|
+
],
|
|
201
|
+
},
|
|
202
|
+
StartDateTime: {
|
|
203
|
+
type: "string",
|
|
204
|
+
label: "Start Date / Time",
|
|
205
|
+
description: "Indicates the start date and time of the event.",
|
|
206
|
+
optional: true,
|
|
207
|
+
},
|
|
208
|
+
Subject: {
|
|
209
|
+
type: "string",
|
|
210
|
+
label: "Subject",
|
|
211
|
+
description: "The subject line of the event. Limit: 255 characters.",
|
|
212
|
+
optional: true,
|
|
213
|
+
options: [
|
|
214
|
+
"Call",
|
|
215
|
+
"Email",
|
|
216
|
+
"Meeting",
|
|
217
|
+
"Send Letter/Quote",
|
|
218
|
+
"Other",
|
|
219
|
+
],
|
|
220
|
+
},
|
|
21
221
|
},
|
|
22
222
|
};
|