UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

65 lines 2.19 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * Ocra (REST API for Sinch RTC clients) * REST API for Sinch RTC clients. * * The version of the OpenAPI document: 0.11.0 * Contact: rtc@sinch.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ApnPushProfileEnvironmentEnum = exports.ApnPushProfileTokenTypeEnum = void 0; exports.ApnPushProfileFromJSON = ApnPushProfileFromJSON; exports.ApnPushProfileFromJSONTyped = ApnPushProfileFromJSONTyped; exports.ApnPushProfileToJSON = ApnPushProfileToJSON; /** * @export * @enum {string} */ var ApnPushProfileTokenTypeEnum; (function (ApnPushProfileTokenTypeEnum) { ApnPushProfileTokenTypeEnum["Voip"] = "voip"; ApnPushProfileTokenTypeEnum["Default"] = "default"; })(ApnPushProfileTokenTypeEnum || (exports.ApnPushProfileTokenTypeEnum = ApnPushProfileTokenTypeEnum = {})); /** * @export * @enum {string} */ var ApnPushProfileEnvironmentEnum; (function (ApnPushProfileEnvironmentEnum) { ApnPushProfileEnvironmentEnum["Development"] = "development"; ApnPushProfileEnvironmentEnum["Production"] = "production"; })(ApnPushProfileEnvironmentEnum || (exports.ApnPushProfileEnvironmentEnum = ApnPushProfileEnvironmentEnum = {})); function ApnPushProfileFromJSON(json) { return ApnPushProfileFromJSONTyped(json, false); } function ApnPushProfileFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'tokenType': json['tokenType'], 'deviceToken': json['deviceToken'], 'environment': json['environment'], 'bundleId': json['bundleId'], }; } function ApnPushProfileToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'tokenType': value.tokenType, 'deviceToken': value.deviceToken, 'environment': value.environment, 'bundleId': value.bundleId, }; } //# sourceMappingURL=ApnPushProfile.js.map