ANDROIDDEVICEPROVISIONING

androiddeviceprovisioning.customers.configurations.create

valid {
    input.Body.companyName == STRING
    input.Body.configurationName == STRING
    input.Body.contactEmail == STRING
    input.Body.contactPhone == STRING
    input.Body.customMessage == STRING
    input.Body.dpcExtras == STRING
    input.Body.dpcResourcePath == STRING
    input.Body.forcedResetTime == STRING
    input.Body.isDefault == BOOLEAN
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.customers.configurations.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.customers.configurations.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.customers.configurations.list

valid {
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.customers.configurations.patch

valid {
    input.Body.companyName == STRING
    input.Body.configurationName == STRING
    input.Body.contactEmail == STRING
    input.Body.contactPhone == STRING
    input.Body.customMessage == STRING
    input.Body.dpcExtras == STRING
    input.Body.dpcResourcePath == STRING
    input.Body.forcedResetTime == STRING
    input.Body.isDefault == BOOLEAN
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.customers.devices.applyConfiguration

enum_DeviceIdentifierDeviceType := [ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_ANDROID", "DEVICE_TYPE_CHROME_OS" ]

valid {
    input.Body.configuration == STRING
    input.Body.device.deviceId == STRING
    input.Body.device.deviceIdentifier.chromeOsAttestedDeviceId == STRING
    input.Body.device.deviceIdentifier.deviceType == enum_DeviceIdentifierDeviceType[_]
    input.Body.device.deviceIdentifier.imei == STRING
    input.Body.device.deviceIdentifier.imei2 == STRING
    input.Body.device.deviceIdentifier.manufacturer == STRING
    input.Body.device.deviceIdentifier.meid == STRING
    input.Body.device.deviceIdentifier.meid2 == STRING
    input.Body.device.deviceIdentifier.model == STRING
    input.Body.device.deviceIdentifier.serialNumber == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.customers.devices.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.customers.devices.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == STRING
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.customers.devices.removeConfiguration

enum_DeviceIdentifierDeviceType := [ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_ANDROID", "DEVICE_TYPE_CHROME_OS" ]

valid {
    input.Body.device.deviceId == STRING
    input.Body.device.deviceIdentifier.chromeOsAttestedDeviceId == STRING
    input.Body.device.deviceIdentifier.deviceType == enum_DeviceIdentifierDeviceType[_]
    input.Body.device.deviceIdentifier.imei == STRING
    input.Body.device.deviceIdentifier.imei2 == STRING
    input.Body.device.deviceIdentifier.manufacturer == STRING
    input.Body.device.deviceIdentifier.meid == STRING
    input.Body.device.deviceIdentifier.meid2 == STRING
    input.Body.device.deviceIdentifier.model == STRING
    input.Body.device.deviceIdentifier.serialNumber == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.customers.devices.unclaim

enum_DeviceIdentifierDeviceType := [ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_ANDROID", "DEVICE_TYPE_CHROME_OS" ]

valid {
    input.Body.device.deviceId == STRING
    input.Body.device.deviceIdentifier.chromeOsAttestedDeviceId == STRING
    input.Body.device.deviceIdentifier.deviceType == enum_DeviceIdentifierDeviceType[_]
    input.Body.device.deviceIdentifier.imei == STRING
    input.Body.device.deviceIdentifier.imei2 == STRING
    input.Body.device.deviceIdentifier.manufacturer == STRING
    input.Body.device.deviceIdentifier.meid == STRING
    input.Body.device.deviceIdentifier.meid2 == STRING
    input.Body.device.deviceIdentifier.model == STRING
    input.Body.device.deviceIdentifier.serialNumber == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.customers.dpcs.list

valid {
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.customers.list

valid {
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.operations.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.customers.create

valid {
    input.Body.customer.adminEmails[_] == STRING
    input.Body.customer.companyName == STRING
    input.Body.customer.languageCode == STRING
    input.Body.customer.ownerEmails[_] == STRING
    input.Body.customer.skipWelcomeEmail == BOOLEAN
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.customers.list

valid {
    input.ReqMap.partnerId == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.devices.claim

enum_ClaimDeviceRequestSectionType := [ "SECTION_TYPE_UNSPECIFIED", "SECTION_TYPE_SIM_LOCK", "SECTION_TYPE_ZERO_TOUCH" ]
enum_DeviceIdentifierDeviceType := [ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_ANDROID", "DEVICE_TYPE_CHROME_OS" ]

valid {
    input.Body.configurationId == STRING
    input.Body.customerId == STRING
    input.Body.deviceIdentifier.chromeOsAttestedDeviceId == STRING
    input.Body.deviceIdentifier.deviceType == enum_DeviceIdentifierDeviceType[_]
    input.Body.deviceIdentifier.imei == STRING
    input.Body.deviceIdentifier.imei2 == STRING
    input.Body.deviceIdentifier.manufacturer == STRING
    input.Body.deviceIdentifier.meid == STRING
    input.Body.deviceIdentifier.meid2 == STRING
    input.Body.deviceIdentifier.model == STRING
    input.Body.deviceIdentifier.serialNumber == STRING
    input.Body.deviceMetadata.entries.STRING == STRING
    input.Body.googleWorkspaceCustomerId == STRING
    input.Body.preProvisioningToken == STRING
    input.Body.sectionType == enum_ClaimDeviceRequestSectionType[_]
    input.Body.simlockProfileId == STRING
    input.ReqMap.partnerId == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.devices.claimAsync

enum_DeviceIdentifierDeviceType := [ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_ANDROID", "DEVICE_TYPE_CHROME_OS" ]
enum_PartnerClaimSectionType := [ "SECTION_TYPE_UNSPECIFIED", "SECTION_TYPE_SIM_LOCK", "SECTION_TYPE_ZERO_TOUCH" ]

valid {
    input.Body.claims[_].configurationId == STRING
    input.Body.claims[_].customerId == STRING
    input.Body.claims[_].deviceIdentifier.chromeOsAttestedDeviceId == STRING
    input.Body.claims[_].deviceIdentifier.deviceType == enum_DeviceIdentifierDeviceType[_]
    input.Body.claims[_].deviceIdentifier.imei == STRING
    input.Body.claims[_].deviceIdentifier.imei2 == STRING
    input.Body.claims[_].deviceIdentifier.manufacturer == STRING
    input.Body.claims[_].deviceIdentifier.meid == STRING
    input.Body.claims[_].deviceIdentifier.meid2 == STRING
    input.Body.claims[_].deviceIdentifier.model == STRING
    input.Body.claims[_].deviceIdentifier.serialNumber == STRING
    input.Body.claims[_].deviceMetadata.entries.STRING == STRING
    input.Body.claims[_].googleWorkspaceCustomerId == STRING
    input.Body.claims[_].preProvisioningToken == STRING
    input.Body.claims[_].sectionType == enum_PartnerClaimSectionType[_]
    input.Body.claims[_].simlockProfileId == STRING
    input.ReqMap.partnerId == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.devices.findByIdentifier

enum_DeviceIdentifierDeviceType := [ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_ANDROID", "DEVICE_TYPE_CHROME_OS" ]

valid {
    input.Body.deviceIdentifier.chromeOsAttestedDeviceId == STRING
    input.Body.deviceIdentifier.deviceType == enum_DeviceIdentifierDeviceType[_]
    input.Body.deviceIdentifier.imei == STRING
    input.Body.deviceIdentifier.imei2 == STRING
    input.Body.deviceIdentifier.manufacturer == STRING
    input.Body.deviceIdentifier.meid == STRING
    input.Body.deviceIdentifier.meid2 == STRING
    input.Body.deviceIdentifier.model == STRING
    input.Body.deviceIdentifier.serialNumber == STRING
    input.Body.limit == STRING
    input.Body.pageToken == STRING
    input.ReqMap.partnerId == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.devices.findByOwner

enum_FindDevicesByOwnerRequestSectionType := [ "SECTION_TYPE_UNSPECIFIED", "SECTION_TYPE_SIM_LOCK", "SECTION_TYPE_ZERO_TOUCH" ]

valid {
    input.Body.customerId[_] == STRING
    input.Body.googleWorkspaceCustomerId[_] == STRING
    input.Body.limit == STRING
    input.Body.pageToken == STRING
    input.Body.sectionType == enum_FindDevicesByOwnerRequestSectionType[_]
    input.ReqMap.partnerId == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.devices.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.devices.getSimLockState

enum_DeviceIdentifierDeviceType := [ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_ANDROID", "DEVICE_TYPE_CHROME_OS" ]

valid {
    input.Body.deviceIdentifier.chromeOsAttestedDeviceId == STRING
    input.Body.deviceIdentifier.deviceType == enum_DeviceIdentifierDeviceType[_]
    input.Body.deviceIdentifier.imei == STRING
    input.Body.deviceIdentifier.imei2 == STRING
    input.Body.deviceIdentifier.manufacturer == STRING
    input.Body.deviceIdentifier.meid == STRING
    input.Body.deviceIdentifier.meid2 == STRING
    input.Body.deviceIdentifier.model == STRING
    input.Body.deviceIdentifier.serialNumber == STRING
    input.ReqMap.partnerId == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.devices.metadata

valid {
    input.Body.deviceMetadata.entries.STRING == STRING
    input.ReqMap.deviceId == STRING
    input.ReqMap.metadataOwnerId == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.devices.unclaim

enum_DeviceIdentifierDeviceType := [ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_ANDROID", "DEVICE_TYPE_CHROME_OS" ]
enum_UnclaimDeviceRequestSectionType := [ "SECTION_TYPE_UNSPECIFIED", "SECTION_TYPE_SIM_LOCK", "SECTION_TYPE_ZERO_TOUCH" ]

valid {
    input.Body.deviceId == STRING
    input.Body.deviceIdentifier.chromeOsAttestedDeviceId == STRING
    input.Body.deviceIdentifier.deviceType == enum_DeviceIdentifierDeviceType[_]
    input.Body.deviceIdentifier.imei == STRING
    input.Body.deviceIdentifier.imei2 == STRING
    input.Body.deviceIdentifier.manufacturer == STRING
    input.Body.deviceIdentifier.meid == STRING
    input.Body.deviceIdentifier.meid2 == STRING
    input.Body.deviceIdentifier.model == STRING
    input.Body.deviceIdentifier.serialNumber == STRING
    input.Body.sectionType == enum_UnclaimDeviceRequestSectionType[_]
    input.Body.vacationModeDays == INTEGER
    input.Body.vacationModeExpireTime == STRING
    input.ReqMap.partnerId == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.devices.unclaimAsync

enum_DeviceIdentifierDeviceType := [ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_ANDROID", "DEVICE_TYPE_CHROME_OS" ]
enum_PartnerUnclaimSectionType := [ "SECTION_TYPE_UNSPECIFIED", "SECTION_TYPE_SIM_LOCK", "SECTION_TYPE_ZERO_TOUCH" ]

valid {
    input.Body.unclaims[_].deviceId == STRING
    input.Body.unclaims[_].deviceIdentifier.chromeOsAttestedDeviceId == STRING
    input.Body.unclaims[_].deviceIdentifier.deviceType == enum_DeviceIdentifierDeviceType[_]
    input.Body.unclaims[_].deviceIdentifier.imei == STRING
    input.Body.unclaims[_].deviceIdentifier.imei2 == STRING
    input.Body.unclaims[_].deviceIdentifier.manufacturer == STRING
    input.Body.unclaims[_].deviceIdentifier.meid == STRING
    input.Body.unclaims[_].deviceIdentifier.meid2 == STRING
    input.Body.unclaims[_].deviceIdentifier.model == STRING
    input.Body.unclaims[_].deviceIdentifier.serialNumber == STRING
    input.Body.unclaims[_].sectionType == enum_PartnerUnclaimSectionType[_]
    input.Body.unclaims[_].vacationModeDays == INTEGER
    input.Body.unclaims[_].vacationModeExpireTime == STRING
    input.ReqMap.partnerId == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.devices.updateMetadataAsync

enum_DeviceIdentifierDeviceType := [ "DEVICE_TYPE_UNSPECIFIED", "DEVICE_TYPE_ANDROID", "DEVICE_TYPE_CHROME_OS" ]

valid {
    input.Body.updates[_].deviceId == STRING
    input.Body.updates[_].deviceIdentifier.chromeOsAttestedDeviceId == STRING
    input.Body.updates[_].deviceIdentifier.deviceType == enum_DeviceIdentifierDeviceType[_]
    input.Body.updates[_].deviceIdentifier.imei == STRING
    input.Body.updates[_].deviceIdentifier.imei2 == STRING
    input.Body.updates[_].deviceIdentifier.manufacturer == STRING
    input.Body.updates[_].deviceIdentifier.meid == STRING
    input.Body.updates[_].deviceIdentifier.meid2 == STRING
    input.Body.updates[_].deviceIdentifier.model == STRING
    input.Body.updates[_].deviceIdentifier.serialNumber == STRING
    input.Body.updates[_].deviceMetadata.entries.STRING == STRING
    input.ReqMap.partnerId == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.vendors.customers.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

androiddeviceprovisioning.partners.vendors.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}