Skip to content

Commit 4b66f79

Browse files
authored
feat: add new 11.16 fields for mobile device prestages and webhooks (#787)
* fix: refactor Jamf Protect functions * feat: add RTS and Safety and Handling fields to mobile device prestage structures * feat: add Header field to ResourceWebhook struct for webhook configuration
1 parent cdec709 commit 4b66f79

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

sdk/jamfpro/classicapi_webhooks.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ type ResourceWebhook struct {
4747
Password string `xml:"password,omitempty"`
4848
EnableDisplayFieldsForGroup bool `xml:"enable_display_fields_for_group_object,omitempty"`
4949
DisplayFields []DisplayField `xml:"display_fields>display_field,omitempty"`
50+
Header string `xml:"header,omitempty"`
5051
SmartGroupID int `xml:"smart_group_id,omitempty"`
5152
}
5253

sdk/jamfpro/jamfproapi_mobile_device_prestages.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ type ResourceMobileDevicePrestage struct {
9292
MinimumOsSpecificVersionIos string `json:"minimumOsSpecificVersionIos,omitempty"`
9393
PrestageMinimumOsTargetVersionTypeIpad string `json:"prestageMinimumOsTargetVersionTypeIpad,omitempty"`
9494
MinimumOsSpecificVersionIpad string `json:"minimumOsSpecificVersionIpad,omitempty"`
95+
RTSEnabled *bool `json:"rtsEnabled"`
9596
RTSConfigProfileId *string `json:"rtsConfigProfileId"`
9697
}
9798

@@ -137,6 +138,7 @@ type MobileDevicePrestageSubsetSkipSetupItems struct {
137138
OnBoarding *bool `json:"OnBoarding"`
138139
TOS *bool `json:"TOS"`
139140
Welcome *bool `json:"Welcome"`
141+
SafetyAndHandling *bool `json:"SafetyAndHandling"`
140142
TapToSetup *bool `json:"TapToSetup"`
141143
}
142144

0 commit comments

Comments
 (0)