{"version":3,"sources":["node_modules/@vendasta/partner/fesm2020/vendasta-partner.mjs","libs/partner/src/lib/feature-flag.service.ts","libs/partner/src/lib/constants.ts","libs/partner/src/lib/interfaces.ts","libs/partner/src/lib/partner.service.ts","libs/partner/src/lib/whitelabel.service.ts","libs/partner/src/lib/branding-v2.service.ts","libs/partner/src/lib/partner-health.service.ts","libs/partner/src/lib/subscription-tiers.service.ts","libs/partner/src/lib/index.ts","libs/partner/src/index.ts"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Injectable } from '@angular/core';\nimport * as i1 from '@angular/common/http';\nimport { HttpHeaders } from '@angular/common/http';\nimport { map } from 'rxjs/operators';\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar SubscriptionLevel = /*#__PURE__*/function (SubscriptionLevel) {\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_BASIC\"] = 0] = \"SUBSCRIPTION_LEVEL_BASIC\";\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_PROFESSIONAL\"] = 1] = \"SUBSCRIPTION_LEVEL_PROFESSIONAL\";\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_ENTERPRISE\"] = 2] = \"SUBSCRIPTION_LEVEL_ENTERPRISE\";\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_LITE\"] = 3] = \"SUBSCRIPTION_LEVEL_LITE\";\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_PREMIUM\"] = 4] = \"SUBSCRIPTION_LEVEL_PREMIUM\";\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_ELITE\"] = 5] = \"SUBSCRIPTION_LEVEL_ELITE\";\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_FREE\"] = 6] = \"SUBSCRIPTION_LEVEL_FREE\";\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_STARTER\"] = 7] = \"SUBSCRIPTION_LEVEL_STARTER\";\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_BASIC_PLUS\"] = 8] = \"SUBSCRIPTION_LEVEL_BASIC_PLUS\";\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_PROFESSIONAL_PLUS\"] = 9] = \"SUBSCRIPTION_LEVEL_PROFESSIONAL_PLUS\";\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_ENTERPRISE_PLUS\"] = 10] = \"SUBSCRIPTION_LEVEL_ENTERPRISE_PLUS\";\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_REPLACED_BY_SUBSCRIPTION_TIERS\"] = 11] = \"SUBSCRIPTION_LEVEL_REPLACED_BY_SUBSCRIPTION_TIERS\";\n SubscriptionLevel[SubscriptionLevel[\"SUBSCRIPTION_LEVEL_ENTERPRISE_PLUS_PILOT\"] = 12] = \"SUBSCRIPTION_LEVEL_ENTERPRISE_PLUS_PILOT\";\n return SubscriptionLevel;\n}(SubscriptionLevel || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar AddonActivationStatus = /*#__PURE__*/function (AddonActivationStatus) {\n AddonActivationStatus[AddonActivationStatus[\"ADDON_ACTIVATION_STATUS_PENDING\"] = 0] = \"ADDON_ACTIVATION_STATUS_PENDING\";\n AddonActivationStatus[AddonActivationStatus[\"ADDON_ACTIVATION_STATUS_FAILURE\"] = 1] = \"ADDON_ACTIVATION_STATUS_FAILURE\";\n AddonActivationStatus[AddonActivationStatus[\"ADDON_ACTIVATION_STATUS_SUCCESS\"] = 2] = \"ADDON_ACTIVATION_STATUS_SUCCESS\";\n return AddonActivationStatus;\n}(AddonActivationStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar PartnerType = /*#__PURE__*/function (PartnerType) {\n PartnerType[PartnerType[\"PARTNER_TYPE_UNSPECIFIED\"] = 0] = \"PARTNER_TYPE_UNSPECIFIED\";\n PartnerType[PartnerType[\"PARTNER_TYPE_AGENCY\"] = 1] = \"PARTNER_TYPE_AGENCY\";\n PartnerType[PartnerType[\"PARTNER_TYPE_ENTERPRISE\"] = 2] = \"PARTNER_TYPE_ENTERPRISE\";\n return PartnerType;\n}(PartnerType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar Action = /*#__PURE__*/function (Action) {\n Action[Action[\"ACTION_UNSPECIFIED\"] = 0] = \"ACTION_UNSPECIFIED\";\n Action[Action[\"ACTION_CREATE_SNAPSHOT_REPORT\"] = 1] = \"ACTION_CREATE_SNAPSHOT_REPORT\";\n Action[Action[\"ACTION_CREATE_SNAPSHOT_REPORT_BULK\"] = 2] = \"ACTION_CREATE_SNAPSHOT_REPORT_BULK\";\n Action[Action[\"ACTION_ACTIVATE_RM\"] = 3] = \"ACTION_ACTIVATE_RM\";\n Action[Action[\"ACTION_ACTIVATE_DEMO_RM\"] = 4] = \"ACTION_ACTIVATE_DEMO_RM\";\n Action[Action[\"ACTION_ACTIVATE_SM\"] = 5] = \"ACTION_ACTIVATE_SM\";\n Action[Action[\"ACTION_ACTIVATE_MS\"] = 6] = \"ACTION_ACTIVATE_MS\";\n Action[Action[\"ACTION_CONVERT_DEMO_RM\"] = 7] = \"ACTION_CONVERT_DEMO_RM\";\n Action[Action[\"ACTION_ACTIVATE_MARKETPLACE_PRODUCT\"] = 8] = \"ACTION_ACTIVATE_MARKETPLACE_PRODUCT\";\n Action[Action[\"ACTION_REFRESH_SNAPSHOT_REPORT\"] = 9] = \"ACTION_REFRESH_SNAPSHOT_REPORT\";\n Action[Action[\"ACTION_ACTIVATE_LISTING_DISTRIBUTION\"] = 10] = \"ACTION_ACTIVATE_LISTING_DISTRIBUTION\";\n Action[Action[\"ACTION_ACTIVATE_LISTING_SYNC_PRO\"] = 11] = \"ACTION_ACTIVATE_LISTING_SYNC_PRO\";\n Action[Action[\"ACTION_ACTIVATE_CUSTOM_PRODUCT\"] = 12] = \"ACTION_ACTIVATE_CUSTOM_PRODUCT\";\n Action[Action[\"ACTION_ACCESS_SNAPSHOT_WIDGET\"] = 13] = \"ACTION_ACCESS_SNAPSHOT_WIDGET\";\n Action[Action[\"ACTION_ACTIVATE_ADDON\"] = 14] = \"ACTION_ACTIVATE_ADDON\";\n return Action;\n}(Action || {});\nvar BillingFrequency = /*#__PURE__*/function (BillingFrequency) {\n BillingFrequency[BillingFrequency[\"BILLING_FREQUENCY_INVALID\"] = 0] = \"BILLING_FREQUENCY_INVALID\";\n BillingFrequency[BillingFrequency[\"BILLING_FREQUENCY_MONTHLY\"] = 1] = \"BILLING_FREQUENCY_MONTHLY\";\n BillingFrequency[BillingFrequency[\"BILLING_FREQUENCY_YEARLY\"] = 2] = \"BILLING_FREQUENCY_YEARLY\";\n return BillingFrequency;\n}(BillingFrequency || {});\nvar SubscriptionTierUpdateType = /*#__PURE__*/function (SubscriptionTierUpdateType) {\n SubscriptionTierUpdateType[SubscriptionTierUpdateType[\"SUBSCRIPTION_TIER_UPDATE_TYPE_INVALID\"] = 0] = \"SUBSCRIPTION_TIER_UPDATE_TYPE_INVALID\";\n SubscriptionTierUpdateType[SubscriptionTierUpdateType[\"SUBSCRIPTION_TIER_UPDATE_TYPE_FREE_TO_PAID\"] = 1] = \"SUBSCRIPTION_TIER_UPDATE_TYPE_FREE_TO_PAID\";\n SubscriptionTierUpdateType[SubscriptionTierUpdateType[\"SUBSCRIPTION_TIER_UPDATE_TYPE_SWITCH_FREE_TRIAL\"] = 2] = \"SUBSCRIPTION_TIER_UPDATE_TYPE_SWITCH_FREE_TRIAL\";\n SubscriptionTierUpdateType[SubscriptionTierUpdateType[\"SUBSCRIPTION_TIER_UPDATE_TYPE_CANCEL_FREE_TRIAL\"] = 3] = \"SUBSCRIPTION_TIER_UPDATE_TYPE_CANCEL_FREE_TRIAL\";\n SubscriptionTierUpdateType[SubscriptionTierUpdateType[\"SUBSCRIPTION_TIER_UPDATE_TYPE_CANCEL_FREE_TRIAL_FAILED_PAYMENT\"] = 4] = \"SUBSCRIPTION_TIER_UPDATE_TYPE_CANCEL_FREE_TRIAL_FAILED_PAYMENT\";\n SubscriptionTierUpdateType[SubscriptionTierUpdateType[\"SUBSCRIPTION_TIER_UPDATE_TYPE_FREE_TO_FREE_TRIAL\"] = 5] = \"SUBSCRIPTION_TIER_UPDATE_TYPE_FREE_TO_FREE_TRIAL\";\n SubscriptionTierUpdateType[SubscriptionTierUpdateType[\"SUBSCRIPTION_TIER_UPDATE_TYPE_PAID_TO_PAID\"] = 6] = \"SUBSCRIPTION_TIER_UPDATE_TYPE_PAID_TO_PAID\";\n return SubscriptionTierUpdateType;\n}(SubscriptionTierUpdateType || {});\nvar UpdateSubscriptionTierStatus = /*#__PURE__*/function (UpdateSubscriptionTierStatus) {\n UpdateSubscriptionTierStatus[UpdateSubscriptionTierStatus[\"UPDATE_SUBSCRIPTION_TIER_STATUS_INVALID\"] = 0] = \"UPDATE_SUBSCRIPTION_TIER_STATUS_INVALID\";\n UpdateSubscriptionTierStatus[UpdateSubscriptionTierStatus[\"UPDATE_SUBSCRIPTION_TIER_STATUS_UNSET\"] = 1] = \"UPDATE_SUBSCRIPTION_TIER_STATUS_UNSET\";\n UpdateSubscriptionTierStatus[UpdateSubscriptionTierStatus[\"UPDATE_SUBSCRIPTION_TIER_STATUS_PROCESSING\"] = 2] = \"UPDATE_SUBSCRIPTION_TIER_STATUS_PROCESSING\";\n UpdateSubscriptionTierStatus[UpdateSubscriptionTierStatus[\"UPDATE_SUBSCRIPTION_TIER_STATUS_SUCCESS\"] = 3] = \"UPDATE_SUBSCRIPTION_TIER_STATUS_SUCCESS\";\n UpdateSubscriptionTierStatus[UpdateSubscriptionTierStatus[\"UPDATE_SUBSCRIPTION_TIER_STATUS_FAILURE\"] = 4] = \"UPDATE_SUBSCRIPTION_TIER_STATUS_FAILURE\";\n return UpdateSubscriptionTierStatus;\n}(UpdateSubscriptionTierStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar AccessLevel = /*#__PURE__*/function (AccessLevel) {\n AccessLevel[AccessLevel[\"ACCESS_LEVEL_ALPHA\"] = 0] = \"ACCESS_LEVEL_ALPHA\";\n AccessLevel[AccessLevel[\"ACCESS_LEVEL_BETA\"] = 1] = \"ACCESS_LEVEL_BETA\";\n AccessLevel[AccessLevel[\"ACCESS_LEVEL_ALL\"] = 2] = \"ACCESS_LEVEL_ALL\";\n AccessLevel[AccessLevel[\"ACCESS_LEVEL_EXPERIMENT\"] = 3] = \"ACCESS_LEVEL_EXPERIMENT\";\n return AccessLevel;\n}(AccessLevel || {});\nvar Expiration = /*#__PURE__*/function (Expiration) {\n Expiration[Expiration[\"EXPIRATION_INVALID\"] = 0] = \"EXPIRATION_INVALID\";\n Expiration[Expiration[\"EXPIRATION_UNSET\"] = 1] = \"EXPIRATION_UNSET\";\n Expiration[Expiration[\"EXPIRATION_TWO_WEEKS\"] = 2] = \"EXPIRATION_TWO_WEEKS\";\n Expiration[Expiration[\"EXPIRATION_FOUR_WEEKS\"] = 3] = \"EXPIRATION_FOUR_WEEKS\";\n Expiration[Expiration[\"EXPIRATION_TWELVE_WEEKS\"] = 4] = \"EXPIRATION_TWELVE_WEEKS\";\n Expiration[Expiration[\"EXPIRATION_TWENTY_FOUR_WEEKS\"] = 5] = \"EXPIRATION_TWENTY_FOUR_WEEKS\";\n Expiration[Expiration[\"EXPIRATION_ONE_MINUTE\"] = 6] = \"EXPIRATION_ONE_MINUTE\";\n return Expiration;\n}(Expiration || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ReportAccessIDType = /*#__PURE__*/function (ReportAccessIDType) {\n ReportAccessIDType[ReportAccessIDType[\"REPORT_ACCESS_ID_TYPE_UNSET\"] = 0] = \"REPORT_ACCESS_ID_TYPE_UNSET\";\n ReportAccessIDType[ReportAccessIDType[\"REPORT_ACCESS_ID_TYPE_REPORT\"] = 1] = \"REPORT_ACCESS_ID_TYPE_REPORT\";\n ReportAccessIDType[ReportAccessIDType[\"REPORT_ACCESS_ID_TYPE_REPORT_CATEGORY\"] = 2] = \"REPORT_ACCESS_ID_TYPE_REPORT_CATEGORY\";\n return ReportAccessIDType;\n}(ReportAccessIDType || {});\nvar ReportAccessScope = /*#__PURE__*/function (ReportAccessScope) {\n ReportAccessScope[ReportAccessScope[\"REPORT_ACCESS_SCOPE_UNSET\"] = 0] = \"REPORT_ACCESS_SCOPE_UNSET\";\n ReportAccessScope[ReportAccessScope[\"REPORT_ACCESS_SCOPE_NO_ACCESS\"] = 1] = \"REPORT_ACCESS_SCOPE_NO_ACCESS\";\n ReportAccessScope[ReportAccessScope[\"REPORT_ACCESS_SCOPE_VIEW\"] = 2] = \"REPORT_ACCESS_SCOPE_VIEW\";\n ReportAccessScope[ReportAccessScope[\"REPORT_ACCESS_SCOPE_EDIT\"] = 3] = \"REPORT_ACCESS_SCOPE_EDIT\";\n return ReportAccessScope;\n}(ReportAccessScope || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar PartnerHealthState = /*#__PURE__*/function (PartnerHealthState) {\n PartnerHealthState[PartnerHealthState[\"PARTNER_HEALTH_STATE_HEALTHY\"] = 0] = \"PARTNER_HEALTH_STATE_HEALTHY\";\n PartnerHealthState[PartnerHealthState[\"PARTNER_HEALTH_STATE_AT_RISK\"] = 1] = \"PARTNER_HEALTH_STATE_AT_RISK\";\n PartnerHealthState[PartnerHealthState[\"PARTNER_HEALTH_STATE_RESTRICTED\"] = 2] = \"PARTNER_HEALTH_STATE_RESTRICTED\";\n return PartnerHealthState;\n}(PartnerHealthState || {});\nvar PartnerHealthSubState = /*#__PURE__*/function (PartnerHealthSubState) {\n PartnerHealthSubState[PartnerHealthSubState[\"PARTNER_HEALTH_SUB_STATE_UNSPECIFIED\"] = 0] = \"PARTNER_HEALTH_SUB_STATE_UNSPECIFIED\";\n PartnerHealthSubState[PartnerHealthSubState[\"PARTNER_HEALTH_SUB_STATE_ACTIVE\"] = 1] = \"PARTNER_HEALTH_SUB_STATE_ACTIVE\";\n PartnerHealthSubState[PartnerHealthSubState[\"PARTNER_HEALTH_SUB_STATE_SUBSCRIPTION_OVERDUE\"] = 2] = \"PARTNER_HEALTH_SUB_STATE_SUBSCRIPTION_OVERDUE\";\n PartnerHealthSubState[PartnerHealthSubState[\"PARTNER_HEALTH_SUB_STATE_SUBSCRIPTION_SUSPENDED\"] = 3] = \"PARTNER_HEALTH_SUB_STATE_SUBSCRIPTION_SUSPENDED\";\n PartnerHealthSubState[PartnerHealthSubState[\"PARTNER_HEALTH_SUB_STATE_PAYMENT_PLAN\"] = 4] = \"PARTNER_HEALTH_SUB_STATE_PAYMENT_PLAN\";\n return PartnerHealthSubState;\n}(PartnerHealthSubState || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar PartnerOrigin = /*#__PURE__*/function (PartnerOrigin) {\n PartnerOrigin[PartnerOrigin[\"PARTNER_ORIGIN_INVALID\"] = 0] = \"PARTNER_ORIGIN_INVALID\";\n PartnerOrigin[PartnerOrigin[\"PARTNER_ORIGIN_UNSET\"] = 1] = \"PARTNER_ORIGIN_UNSET\";\n PartnerOrigin[PartnerOrigin[\"PARTNER_ORIGIN_INTERNAL\"] = 2] = \"PARTNER_ORIGIN_INTERNAL\";\n PartnerOrigin[PartnerOrigin[\"PARTNER_ORIGIN_SELF_SIGN_UP\"] = 3] = \"PARTNER_ORIGIN_SELF_SIGN_UP\";\n return PartnerOrigin;\n}(PartnerOrigin || {});\nvar GetSignUpAddPaymentCardResultResponseStatus = /*#__PURE__*/function (GetSignUpAddPaymentCardResultResponseStatus) {\n GetSignUpAddPaymentCardResultResponseStatus[GetSignUpAddPaymentCardResultResponseStatus[\"GET_SIGN_UP_ADD_PAYMENT_CARD_RESULT_RESPONSE_STATUS_INVALID\"] = 0] = \"GET_SIGN_UP_ADD_PAYMENT_CARD_RESULT_RESPONSE_STATUS_INVALID\";\n GetSignUpAddPaymentCardResultResponseStatus[GetSignUpAddPaymentCardResultResponseStatus[\"GET_SIGN_UP_ADD_PAYMENT_CARD_RESULT_RESPONSE_STATUS_OK\"] = 1] = \"GET_SIGN_UP_ADD_PAYMENT_CARD_RESULT_RESPONSE_STATUS_OK\";\n GetSignUpAddPaymentCardResultResponseStatus[GetSignUpAddPaymentCardResultResponseStatus[\"GET_SIGN_UP_ADD_PAYMENT_CARD_RESULT_RESPONSE_STATUS_HAS_ERROR\"] = 2] = \"GET_SIGN_UP_ADD_PAYMENT_CARD_RESULT_RESPONSE_STATUS_HAS_ERROR\";\n return GetSignUpAddPaymentCardResultResponseStatus;\n}(GetSignUpAddPaymentCardResultResponseStatus || {});\nvar Status = /*#__PURE__*/function (Status) {\n Status[Status[\"STATUS_INVALID\"] = 0] = \"STATUS_INVALID\";\n Status[Status[\"STATUS_IN_PROGRESS\"] = 1] = \"STATUS_IN_PROGRESS\";\n Status[Status[\"STATUS_COMPLETE\"] = 2] = \"STATUS_COMPLETE\";\n Status[Status[\"STATUS_ERROR\"] = 3] = \"STATUS_ERROR\";\n return Status;\n}(Status || {});\nvar SupportFlag = /*#__PURE__*/function (SupportFlag) {\n SupportFlag[SupportFlag[\"SUPPORT_FLAG_INVALID\"] = 0] = \"SUPPORT_FLAG_INVALID\";\n SupportFlag[SupportFlag[\"SUPPORT_FLAG_UNSET\"] = 1] = \"SUPPORT_FLAG_UNSET\";\n SupportFlag[SupportFlag[\"SUPPORT_FLAG_TRUE\"] = 2] = \"SUPPORT_FLAG_TRUE\";\n SupportFlag[SupportFlag[\"SUPPORT_FLAG_FALSE\"] = 3] = \"SUPPORT_FLAG_FALSE\";\n return SupportFlag;\n}(SupportFlag || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar RewardStatus = /*#__PURE__*/function (RewardStatus) {\n RewardStatus[RewardStatus[\"REWARD_STATUS_INVALID\"] = 0] = \"REWARD_STATUS_INVALID\";\n RewardStatus[RewardStatus[\"REWARD_STATUS_UNSET\"] = 1] = \"REWARD_STATUS_UNSET\";\n RewardStatus[RewardStatus[\"REWARD_STATUS_INELIGIBLE\"] = 2] = \"REWARD_STATUS_INELIGIBLE\";\n RewardStatus[RewardStatus[\"REWARD_STATUS_ELIGIBLE\"] = 3] = \"REWARD_STATUS_ELIGIBLE\";\n RewardStatus[RewardStatus[\"REWARD_STATUS_PROCESSING_CLAIM\"] = 4] = \"REWARD_STATUS_PROCESSING_CLAIM\";\n RewardStatus[RewardStatus[\"REWARD_STATUS_CLAIMED\"] = 5] = \"REWARD_STATUS_CLAIMED\";\n return RewardStatus;\n}(RewardStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar SubscriptionFailure = /*#__PURE__*/function (SubscriptionFailure) {\n SubscriptionFailure[SubscriptionFailure[\"SUBSCRIPTION_FAILURE_NONE\"] = 0] = \"SUBSCRIPTION_FAILURE_NONE\";\n SubscriptionFailure[SubscriptionFailure[\"SUBSCRIPTION_FAILURE_OVERDUE\"] = 1] = \"SUBSCRIPTION_FAILURE_OVERDUE\";\n return SubscriptionFailure;\n}(SubscriptionFailure || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar SalesSetting = /*#__PURE__*/function (SalesSetting) {\n SalesSetting[SalesSetting[\"SALES_SETTING_INVALID\"] = 0] = \"SALES_SETTING_INVALID\";\n SalesSetting[SalesSetting[\"SALES_SETTING_ENABLED\"] = 1] = \"SALES_SETTING_ENABLED\";\n SalesSetting[SalesSetting[\"SALES_SETTING_DISABLED\"] = 2] = \"SALES_SETTING_DISABLED\";\n SalesSetting[SalesSetting[\"SALES_SETTING_UNSET\"] = 3] = \"SALES_SETTING_UNSET\";\n return SalesSetting;\n}(SalesSetting || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar EditUserProfileLocation = /*#__PURE__*/function (EditUserProfileLocation) {\n EditUserProfileLocation[EditUserProfileLocation[\"EDIT_USER_PROFILE_LOCATION_UNSPECIFIED\"] = 0] = \"EDIT_USER_PROFILE_LOCATION_UNSPECIFIED\";\n EditUserProfileLocation[EditUserProfileLocation[\"EDIT_USER_PROFILE_LOCATION_IN_APP\"] = 1] = \"EDIT_USER_PROFILE_LOCATION_IN_APP\";\n EditUserProfileLocation[EditUserProfileLocation[\"EDIT_USER_PROFILE_LOCATION_CUSTOM\"] = 2] = \"EDIT_USER_PROFILE_LOCATION_CUSTOM\";\n EditUserProfileLocation[EditUserProfileLocation[\"EDIT_USER_PROFILE_LOCATION_NONE\"] = 3] = \"EDIT_USER_PROFILE_LOCATION_NONE\";\n return EditUserProfileLocation;\n}(EditUserProfileLocation || {});\nvar TimeRange = /*#__PURE__*/function (TimeRange) {\n TimeRange[TimeRange[\"TIME_RANGE_SEVEN_DAYS\"] = 0] = \"TIME_RANGE_SEVEN_DAYS\";\n TimeRange[TimeRange[\"TIME_RANGE_THIRTY_DAYS\"] = 1] = \"TIME_RANGE_THIRTY_DAYS\";\n TimeRange[TimeRange[\"TIME_RANGE_NINETY_DAYS\"] = 2] = \"TIME_RANGE_NINETY_DAYS\";\n TimeRange[TimeRange[\"TIME_RANGE_SIX_MONTHS\"] = 3] = \"TIME_RANGE_SIX_MONTHS\";\n TimeRange[TimeRange[\"TIME_RANGE_TWELVE_MONTHS\"] = 4] = \"TIME_RANGE_TWELVE_MONTHS\";\n TimeRange[TimeRange[\"TIME_RANGE_UNSPECIFIED\"] = 5] = \"TIME_RANGE_UNSPECIFIED\";\n return TimeRange;\n}(TimeRange || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar TaskStatus = /*#__PURE__*/function (TaskStatus) {\n TaskStatus[TaskStatus[\"TASK_STATUS_INVALID\"] = 0] = \"TASK_STATUS_INVALID\";\n TaskStatus[TaskStatus[\"TASK_STATUS_UNSET\"] = 1] = \"TASK_STATUS_UNSET\";\n TaskStatus[TaskStatus[\"TASK_STATUS_INCOMPLETE\"] = 2] = \"TASK_STATUS_INCOMPLETE\";\n TaskStatus[TaskStatus[\"TASK_STATUS_COMPLETE\"] = 3] = \"TASK_STATUS_COMPLETE\";\n return TaskStatus;\n}(TaskStatus || {});\nvar Usage = /*#__PURE__*/function (Usage) {\n Usage[Usage[\"USAGE_INVALID\"] = 0] = \"USAGE_INVALID\";\n Usage[Usage[\"USAGE_REQUIRED\"] = 1] = \"USAGE_REQUIRED\";\n Usage[Usage[\"USAGE_OPTIONAL\"] = 2] = \"USAGE_OPTIONAL\";\n Usage[Usage[\"USAGE_DISABLED\"] = 3] = \"USAGE_DISABLED\";\n return Usage;\n}(Usage || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar Field = /*#__PURE__*/function (Field) {\n Field[Field[\"FIELD_INVALID\"] = 0] = \"FIELD_INVALID\";\n Field[Field[\"FIELD_LOGO_URL\"] = 1] = \"FIELD_LOGO_URL\";\n Field[Field[\"FIELD_FAVICON_URL\"] = 2] = \"FIELD_FAVICON_URL\";\n Field[Field[\"FIELD_SHORTCUT_ICON_URL\"] = 3] = \"FIELD_SHORTCUT_ICON_URL\";\n Field[Field[\"FIELD_UI_THEME\"] = 4] = \"FIELD_UI_THEME\";\n Field[Field[\"FIELD_PRIMARY_COLOR\"] = 5] = \"FIELD_PRIMARY_COLOR\";\n Field[Field[\"FIELD_NAME\"] = 6] = \"FIELD_NAME\";\n return Field;\n}(Field || {});\nvar UITheme = /*#__PURE__*/function (UITheme) {\n UITheme[UITheme[\"UI_THEME_INVALID\"] = 0] = \"UI_THEME_INVALID\";\n UITheme[UITheme[\"UI_THEME_DARK\"] = 1] = \"UI_THEME_DARK\";\n UITheme[UITheme[\"UI_THEME_LIGHT\"] = 2] = \"UI_THEME_LIGHT\";\n return UITheme;\n}(UITheme || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar NavigationItemBadge = /*#__PURE__*/function (NavigationItemBadge) {\n NavigationItemBadge[NavigationItemBadge[\"NAVIGATION_ITEM_BADGE_NONE\"] = 0] = \"NAVIGATION_ITEM_BADGE_NONE\";\n NavigationItemBadge[NavigationItemBadge[\"NAVIGATION_ITEM_BADGE_NEW\"] = 1] = \"NAVIGATION_ITEM_BADGE_NEW\";\n NavigationItemBadge[NavigationItemBadge[\"NAVIGATION_ITEM_BADGE_BETA\"] = 2] = \"NAVIGATION_ITEM_BADGE_BETA\";\n return NavigationItemBadge;\n}(NavigationItemBadge || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar SegmentedOnboardingConfiguration = /*#__PURE__*/function (SegmentedOnboardingConfiguration) {\n SegmentedOnboardingConfiguration[SegmentedOnboardingConfiguration[\"SEGMENTED_ONBOARDING_UNSET\"] = 0] = \"SEGMENTED_ONBOARDING_UNSET\";\n SegmentedOnboardingConfiguration[SegmentedOnboardingConfiguration[\"SEGMENTED_ONBOARDING_OPTIONAL\"] = 1] = \"SEGMENTED_ONBOARDING_OPTIONAL\";\n SegmentedOnboardingConfiguration[SegmentedOnboardingConfiguration[\"SEGMENTED_ONBOARDING_REQUIRED\"] = 2] = \"SEGMENTED_ONBOARDING_REQUIRED\";\n SegmentedOnboardingConfiguration[SegmentedOnboardingConfiguration[\"SEGMENTED_ONBOARDING_DISABLED\"] = 3] = \"SEGMENTED_ONBOARDING_DISABLED\";\n return SegmentedOnboardingConfiguration;\n}(SegmentedOnboardingConfiguration || {});\nvar BrandingUITheme = /*#__PURE__*/function (BrandingUITheme) {\n BrandingUITheme[BrandingUITheme[\"Dark\"] = 0] = \"Dark\";\n BrandingUITheme[BrandingUITheme[\"Light\"] = 1] = \"Light\";\n return BrandingUITheme;\n}(BrandingUITheme || {});\n// *********************************\n\nfunction enumStringToValue$p(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Access {\n static fromProto(proto) {\n let m = new Access();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scope !== 'undefined') {\n toReturn['scope'] = this.scope;\n }\n if (typeof this.public !== 'undefined') {\n toReturn['public'] = this.public;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$o(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass FieldMask {\n static fromProto(proto) {\n let m = new FieldMask();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.paths !== 'undefined') {\n toReturn['paths'] = this.paths;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$n(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Trial {\n static fromProto(proto) {\n let m = new Trial();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.subscriptionLevel) {\n m.subscriptionLevel = enumStringToValue$n(SubscriptionLevel, proto.subscriptionLevel);\n }\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n if (proto.cancel) {\n m.cancel = new Date(proto.cancel);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.trialId !== 'undefined') {\n toReturn['trialId'] = this.trialId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.subscriptionLevel !== 'undefined') {\n toReturn['subscriptionLevel'] = this.subscriptionLevel;\n }\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n if (typeof this.cancel !== 'undefined' && this.cancel !== null) {\n toReturn['cancel'] = 'toApiJson' in this.cancel ? this.cancel.toApiJson() : this.cancel;\n }\n if (typeof this.createdBy !== 'undefined') {\n toReturn['createdBy'] = this.createdBy;\n }\n if (typeof this.modifiedBy !== 'undefined') {\n toReturn['modifiedBy'] = this.modifiedBy;\n }\n if (typeof this.subscriptionTierId !== 'undefined') {\n toReturn['subscriptionTierId'] = this.subscriptionTierId;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$m(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AddonActivation {\n static fromProto(proto) {\n let m = new AddonActivation();\n m = Object.assign(m, proto);\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n if (proto.status) {\n m.status = enumStringToValue$m(AddonActivationStatus, proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.activationFailureReason !== 'undefined') {\n toReturn['activationFailureReason'] = this.activationFailureReason;\n }\n return toReturn;\n }\n}\nclass PartnerAddon {\n static fromProto(proto) {\n let m = new PartnerAddon();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.supportsBulkActivation !== 'undefined') {\n toReturn['supportsBulkActivation'] = this.supportsBulkActivation;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$l(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ListTopRequest {\n static fromProto(proto) {\n let m = new ListTopRequest();\n m = Object.assign(m, proto);\n if (proto.partnerType) {\n m.partnerType = enumStringToValue$l(PartnerType, proto.partnerType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerType !== 'undefined') {\n toReturn['partnerType'] = this.partnerType;\n }\n return toReturn;\n }\n}\nclass ListTopResponse {\n static fromProto(proto) {\n let m = new ListTopResponse();\n m = Object.assign(m, proto);\n if (proto.partnerStats) {\n m.partnerStats = proto.partnerStats.map(PartnerStats.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerStats !== 'undefined' && this.partnerStats !== null) {\n toReturn['partnerStats'] = 'toApiJson' in this.partnerStats ? this.partnerStats.toApiJson() : this.partnerStats;\n }\n return toReturn;\n }\n}\nclass PartnerStats {\n static fromProto(proto) {\n let m = new PartnerStats();\n m = Object.assign(m, proto);\n if (proto.notPayedTerms) {\n m.notPayedTerms = parseInt(proto.notPayedTerms, 10);\n }\n if (proto.uniqueBilledProductsLast6Months) {\n m.uniqueBilledProductsLast6Months = parseInt(proto.uniqueBilledProductsLast6Months, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.companyName !== 'undefined') {\n toReturn['companyName'] = this.companyName;\n }\n if (typeof this.accountingStatus !== 'undefined') {\n toReturn['accountingStatus'] = this.accountingStatus;\n }\n if (typeof this.notPayedTerms !== 'undefined') {\n toReturn['notPayedTerms'] = this.notPayedTerms;\n }\n if (typeof this.outstandingBalance !== 'undefined') {\n toReturn['outstandingBalance'] = this.outstandingBalance;\n }\n if (typeof this.currentlyAssignedSalesPerson !== 'undefined') {\n toReturn['currentlyAssignedSalesPerson'] = this.currentlyAssignedSalesPerson;\n }\n if (typeof this.additionalSalesPerson !== 'undefined') {\n toReturn['additionalSalesPerson'] = this.additionalSalesPerson;\n }\n if (typeof this.recurringMeetingTime !== 'undefined') {\n toReturn['recurringMeetingTime'] = this.recurringMeetingTime;\n }\n if (typeof this.recurringMeetingDay !== 'undefined') {\n toReturn['recurringMeetingDay'] = this.recurringMeetingDay;\n }\n if (typeof this.recurringMeetingFrequency !== 'undefined') {\n toReturn['recurringMeetingFrequency'] = this.recurringMeetingFrequency;\n }\n if (typeof this.subscriptionLevel !== 'undefined') {\n toReturn['subscriptionLevel'] = this.subscriptionLevel;\n }\n if (typeof this.partnerCohortSize !== 'undefined') {\n toReturn['partnerCohortSize'] = this.partnerCohortSize;\n }\n if (typeof this.isMultiLocation !== 'undefined') {\n toReturn['isMultiLocation'] = this.isMultiLocation;\n }\n if (typeof this.latestMonthRevenue !== 'undefined') {\n toReturn['latestMonthRevenue'] = this.latestMonthRevenue;\n }\n if (typeof this.oneMonthEarlierRevenue !== 'undefined') {\n toReturn['oneMonthEarlierRevenue'] = this.oneMonthEarlierRevenue;\n }\n if (typeof this.twoMonthEarlierRevenue !== 'undefined') {\n toReturn['twoMonthEarlierRevenue'] = this.twoMonthEarlierRevenue;\n }\n if (typeof this.ytdRevenue !== 'undefined') {\n toReturn['ytdRevenue'] = this.ytdRevenue;\n }\n if (typeof this.revGrowthSinceLastMonth !== 'undefined') {\n toReturn['revGrowthSinceLastMonth'] = this.revGrowthSinceLastMonth;\n }\n if (typeof this.percentageRevGrowthFromLastMonth !== 'undefined') {\n toReturn['percentageRevGrowthFromLastMonth'] = this.percentageRevGrowthFromLastMonth;\n }\n if (typeof this.uniqueBilledProductsLast6Months !== 'undefined') {\n toReturn['uniqueBilledProductsLast6Months'] = this.uniqueBilledProductsLast6Months;\n }\n if (typeof this.logoUrl !== 'undefined') {\n toReturn['logoUrl'] = this.logoUrl;\n }\n if (typeof this.associatedPid !== 'undefined') {\n toReturn['associatedPid'] = this.associatedPid;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$k(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass GetUpdateSubscriptionTierStatusRequest {\n static fromProto(proto) {\n let m = new GetUpdateSubscriptionTierStatusRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetUpdateSubscriptionTierStatusResponse {\n static fromProto(proto) {\n let m = new GetUpdateSubscriptionTierStatusResponse();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$k(UpdateSubscriptionTierStatus, proto.status);\n }\n if (proto.modified) {\n m.modified = new Date(proto.modified);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n if (typeof this.modified !== 'undefined' && this.modified !== null) {\n toReturn['modified'] = 'toApiJson' in this.modified ? this.modified.toApiJson() : this.modified;\n }\n return toReturn;\n }\n}\nclass InitiateSubscriptionTierUpdateRequest {\n static fromProto(proto) {\n let m = new InitiateSubscriptionTierUpdateRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.tierId !== 'undefined') {\n toReturn['tierId'] = this.tierId;\n }\n return toReturn;\n }\n}\nclass UpdateSubscriptionTierRequest {\n static fromProto(proto) {\n let m = new UpdateSubscriptionTierRequest();\n m = Object.assign(m, proto);\n if (proto.frequency) {\n m.frequency = enumStringToValue$k(BillingFrequency, proto.frequency);\n }\n if (proto.updateType) {\n m.updateType = enumStringToValue$k(SubscriptionTierUpdateType, proto.updateType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.tierId !== 'undefined') {\n toReturn['tierId'] = this.tierId;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.updateType !== 'undefined') {\n toReturn['updateType'] = this.updateType;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$j(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ExperimentSetting {\n static fromProto(proto) {\n let m = new ExperimentSetting();\n m = Object.assign(m, proto);\n if (proto.selectionCriteria) {\n m.selectionCriteria = SelectionCriteria.fromProto(proto.selectionCriteria);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.variantRatio !== 'undefined') {\n toReturn['variantRatio'] = this.variantRatio;\n }\n if (typeof this.selectionCriteria !== 'undefined' && this.selectionCriteria !== null) {\n toReturn['selectionCriteria'] = 'toApiJson' in this.selectionCriteria ? this.selectionCriteria.toApiJson() : this.selectionCriteria;\n }\n if (typeof this.metricsDashboardUrl !== 'undefined') {\n toReturn['metricsDashboardUrl'] = this.metricsDashboardUrl;\n }\n return toReturn;\n }\n}\nclass FeatureFlag {\n static fromProto(proto) {\n let m = new FeatureFlag();\n m = Object.assign(m, proto);\n if (proto.accessLevel) {\n m.accessLevel = enumStringToValue$j(AccessLevel, proto.accessLevel);\n }\n if (proto.accessLevelChangedDate) {\n m.accessLevelChangedDate = new Date(proto.accessLevelChangedDate);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.whitelist) {\n m.whitelist = proto.whitelist.map(PartnerAccess.fromProto);\n }\n if (proto.blacklist) {\n m.blacklist = proto.blacklist.map(PartnerAccess.fromProto);\n }\n if (proto.experimentSettings) {\n m.experimentSettings = ExperimentSetting.fromProto(proto.experimentSettings);\n }\n if (proto.expiration) {\n m.expiration = enumStringToValue$j(Expiration, proto.expiration);\n }\n if (proto.expiryStart) {\n m.expiryStart = new Date(proto.expiryStart);\n }\n if (proto.expiryFinish) {\n m.expiryFinish = new Date(proto.expiryFinish);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.accessLevel !== 'undefined') {\n toReturn['accessLevel'] = this.accessLevel;\n }\n if (typeof this.accessLevelChangedDate !== 'undefined' && this.accessLevelChangedDate !== null) {\n toReturn['accessLevelChangedDate'] = 'toApiJson' in this.accessLevelChangedDate ? this.accessLevelChangedDate.toApiJson() : this.accessLevelChangedDate;\n }\n if (typeof this.accessLevelChangedByEmail !== 'undefined') {\n toReturn['accessLevelChangedByEmail'] = this.accessLevelChangedByEmail;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.createdByEmail !== 'undefined') {\n toReturn['createdByEmail'] = this.createdByEmail;\n }\n if (typeof this.moreInfoUrl !== 'undefined') {\n toReturn['moreInfoUrl'] = this.moreInfoUrl;\n }\n if (typeof this.archived !== 'undefined') {\n toReturn['archived'] = this.archived;\n }\n if (typeof this.whitelist !== 'undefined' && this.whitelist !== null) {\n toReturn['whitelist'] = 'toApiJson' in this.whitelist ? this.whitelist.toApiJson() : this.whitelist;\n }\n if (typeof this.blacklist !== 'undefined' && this.blacklist !== null) {\n toReturn['blacklist'] = 'toApiJson' in this.blacklist ? this.blacklist.toApiJson() : this.blacklist;\n }\n if (typeof this.experimentSettings !== 'undefined' && this.experimentSettings !== null) {\n toReturn['experimentSettings'] = 'toApiJson' in this.experimentSettings ? this.experimentSettings.toApiJson() : this.experimentSettings;\n }\n if (typeof this.ownerName !== 'undefined') {\n toReturn['ownerName'] = this.ownerName;\n }\n if (typeof this.expiration !== 'undefined') {\n toReturn['expiration'] = this.expiration;\n }\n if (typeof this.expiryStart !== 'undefined' && this.expiryStart !== null) {\n toReturn['expiryStart'] = 'toApiJson' in this.expiryStart ? this.expiryStart.toApiJson() : this.expiryStart;\n }\n if (typeof this.expiryFinish !== 'undefined' && this.expiryFinish !== null) {\n toReturn['expiryFinish'] = 'toApiJson' in this.expiryFinish ? this.expiryFinish.toApiJson() : this.expiryFinish;\n }\n if (typeof this.isExpired !== 'undefined') {\n toReturn['isExpired'] = this.isExpired;\n }\n return toReturn;\n }\n}\nclass PartnerAccess {\n static fromProto(proto) {\n let m = new PartnerAccess();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n return toReturn;\n }\n}\nclass SelectionCriteria {\n static fromProto(proto) {\n let m = new SelectionCriteria();\n m = Object.assign(m, proto);\n if (proto.partnerCreatedAfterDate) {\n m.partnerCreatedAfterDate = new Date(proto.partnerCreatedAfterDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionTierIds !== 'undefined') {\n toReturn['subscriptionTierIds'] = this.subscriptionTierIds;\n }\n if (typeof this.partnerCreatedAfterDate !== 'undefined' && this.partnerCreatedAfterDate !== null) {\n toReturn['partnerCreatedAfterDate'] = 'toApiJson' in this.partnerCreatedAfterDate ? this.partnerCreatedAfterDate.toApiJson() : this.partnerCreatedAfterDate;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$i(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass PartnerAdminPermissions {\n static fromProto(proto) {\n let m = new PartnerAdminPermissions();\n m = Object.assign(m, proto);\n if (proto.defaultReportAccessScope) {\n m.defaultReportAccessScope = enumStringToValue$i(ReportAccessScope, proto.defaultReportAccessScope);\n }\n if (proto.reportAccess) {\n m.reportAccess = proto.reportAccess.map(ReportAccess.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.canAccessBilling !== 'undefined') {\n toReturn['canAccessBilling'] = this.canAccessBilling;\n }\n if (typeof this.canAccessRetailBilling !== 'undefined') {\n toReturn['canAccessRetailBilling'] = this.canAccessRetailBilling;\n }\n if (typeof this.canAccessAccounts !== 'undefined') {\n toReturn['canAccessAccounts'] = this.canAccessAccounts;\n }\n if (typeof this.canAccessMarketing !== 'undefined') {\n toReturn['canAccessMarketing'] = this.canAccessMarketing;\n }\n if (typeof this.canAccessSales !== 'undefined') {\n toReturn['canAccessSales'] = this.canAccessSales;\n }\n if (typeof this.canAccessConcierge !== 'undefined') {\n toReturn['canAccessConcierge'] = this.canAccessConcierge;\n }\n if (typeof this.canAccessBrands !== 'undefined') {\n toReturn['canAccessBrands'] = this.canAccessBrands;\n }\n if (typeof this.canAccessDashboard !== 'undefined') {\n toReturn['canAccessDashboard'] = this.canAccessDashboard;\n }\n if (typeof this.canAccessOrders !== 'undefined') {\n toReturn['canAccessOrders'] = this.canAccessOrders;\n }\n if (typeof this.canAccessMarketplace !== 'undefined') {\n toReturn['canAccessMarketplace'] = this.canAccessMarketplace;\n }\n if (typeof this.canAccessCompanyProfile !== 'undefined') {\n toReturn['canAccessCompanyProfile'] = this.canAccessCompanyProfile;\n }\n if (typeof this.canAccessAutomations !== 'undefined') {\n toReturn['canAccessAutomations'] = this.canAccessAutomations;\n }\n if (typeof this.defaultReportAccessScope !== 'undefined') {\n toReturn['defaultReportAccessScope'] = this.defaultReportAccessScope;\n }\n if (typeof this.reportAccess !== 'undefined' && this.reportAccess !== null) {\n toReturn['reportAccess'] = 'toApiJson' in this.reportAccess ? this.reportAccess.toApiJson() : this.reportAccess;\n }\n return toReturn;\n }\n}\nclass ReportAccess {\n static fromProto(proto) {\n let m = new ReportAccess();\n m = Object.assign(m, proto);\n if (proto.idType) {\n m.idType = enumStringToValue$i(ReportAccessIDType, proto.idType);\n }\n if (proto.scope) {\n m.scope = enumStringToValue$i(ReportAccessScope, proto.scope);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.idType !== 'undefined') {\n toReturn['idType'] = this.idType;\n }\n if (typeof this.scope !== 'undefined') {\n toReturn['scope'] = this.scope;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$h(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass PartnerHealth {\n static fromProto(proto) {\n let m = new PartnerHealth();\n m = Object.assign(m, proto);\n if (proto.state) {\n m.state = enumStringToValue$h(PartnerHealthState, proto.state);\n }\n if (proto.subState) {\n m.subState = enumStringToValue$h(PartnerHealthSubState, proto.subState);\n }\n if (proto.changedOn) {\n m.changedOn = new Date(proto.changedOn);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.subState !== 'undefined') {\n toReturn['subState'] = this.subState;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n if (typeof this.changedOn !== 'undefined' && this.changedOn !== null) {\n toReturn['changedOn'] = 'toApiJson' in this.changedOn ? this.changedOn.toApiJson() : this.changedOn;\n }\n if (typeof this.changedBy !== 'undefined') {\n toReturn['changedBy'] = this.changedBy;\n }\n if (typeof this.inRetention !== 'undefined') {\n toReturn['inRetention'] = this.inRetention;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$g(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CompanyProfile {\n static fromProto(proto) {\n let m = new CompanyProfile();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.address !== 'undefined') {\n toReturn['address'] = this.address;\n }\n if (typeof this.address2 !== 'undefined') {\n toReturn['address2'] = this.address2;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.postalCode !== 'undefined') {\n toReturn['postalCode'] = this.postalCode;\n }\n if (typeof this.phoneNumber !== 'undefined') {\n toReturn['phoneNumber'] = this.phoneNumber;\n }\n if (typeof this.websiteAddress !== 'undefined') {\n toReturn['websiteAddress'] = this.websiteAddress;\n }\n if (typeof this.emailAddress !== 'undefined') {\n toReturn['emailAddress'] = this.emailAddress;\n }\n return toReturn;\n }\n}\nclass CreatePartnerRequest {\n static fromProto(proto) {\n let m = new CreatePartnerRequest();\n m = Object.assign(m, proto);\n if (proto.companyProfile) {\n m.companyProfile = CompanyProfile.fromProto(proto.companyProfile);\n }\n if (proto.initialUser) {\n m.initialUser = PartnerUser.fromProto(proto.initialUser);\n }\n if (proto.termsOfService) {\n m.termsOfService = TermOfService.fromProto(proto.termsOfService);\n }\n if (proto.acquisitionData) {\n m.acquisitionData = PartnerAcquisitionData.fromProto(proto.acquisitionData);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.idempotentKey !== 'undefined') {\n toReturn['idempotentKey'] = this.idempotentKey;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.companyProfile !== 'undefined' && this.companyProfile !== null) {\n toReturn['companyProfile'] = 'toApiJson' in this.companyProfile ? this.companyProfile.toApiJson() : this.companyProfile;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.initialUser !== 'undefined' && this.initialUser !== null) {\n toReturn['initialUser'] = 'toApiJson' in this.initialUser ? this.initialUser.toApiJson() : this.initialUser;\n }\n if (typeof this.billingCurrencyCode !== 'undefined') {\n toReturn['billingCurrencyCode'] = this.billingCurrencyCode;\n }\n if (typeof this.termsOfService !== 'undefined' && this.termsOfService !== null) {\n toReturn['termsOfService'] = 'toApiJson' in this.termsOfService ? this.termsOfService.toApiJson() : this.termsOfService;\n }\n if (typeof this.startOnTutorialCampaign !== 'undefined') {\n toReturn['startOnTutorialCampaign'] = this.startOnTutorialCampaign;\n }\n if (typeof this.acquisitionData !== 'undefined' && this.acquisitionData !== null) {\n toReturn['acquisitionData'] = 'toApiJson' in this.acquisitionData ? this.acquisitionData.toApiJson() : this.acquisitionData;\n }\n if (typeof this.subdomain !== 'undefined') {\n toReturn['subdomain'] = this.subdomain;\n }\n if (typeof this.subscriptionTierId !== 'undefined') {\n toReturn['subscriptionTierId'] = this.subscriptionTierId;\n }\n if (typeof this.stripeToken !== 'undefined') {\n toReturn['stripeToken'] = this.stripeToken;\n }\n return toReturn;\n }\n}\nclass GetCreatePartnerStatusRequest {\n static fromProto(proto) {\n let m = new GetCreatePartnerStatusRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.idempotentKey !== 'undefined') {\n toReturn['idempotentKey'] = this.idempotentKey;\n }\n return toReturn;\n }\n}\nclass GetCreatePartnerStatusResponse {\n static fromProto(proto) {\n let m = new GetCreatePartnerStatusResponse();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$g(Status, proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.errorMessage !== 'undefined') {\n toReturn['errorMessage'] = this.errorMessage;\n }\n return toReturn;\n }\n}\nclass GetSignUpAddPaymentCardResultRequest {\n static fromProto(proto) {\n let m = new GetSignUpAddPaymentCardResultRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetSignUpAddPaymentCardResultResponse {\n static fromProto(proto) {\n let m = new GetSignUpAddPaymentCardResultResponse();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$g(GetSignUpAddPaymentCardResultResponseStatus, proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.error !== 'undefined') {\n toReturn['error'] = this.error;\n }\n return toReturn;\n }\n}\nclass GetUpdatePartnerStatusRequest {\n static fromProto(proto) {\n let m = new GetUpdatePartnerStatusRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.idempotentKey !== 'undefined') {\n toReturn['idempotentKey'] = this.idempotentKey;\n }\n return toReturn;\n }\n}\nclass GetUpdatePartnerStatusResponse {\n static fromProto(proto) {\n let m = new GetUpdatePartnerStatusResponse();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$g(Status, proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.errorMessage !== 'undefined') {\n toReturn['errorMessage'] = this.errorMessage;\n }\n return toReturn;\n }\n}\nclass PartnerAcquisitionData {\n static fromProto(proto) {\n let m = new PartnerAcquisitionData();\n m = Object.assign(m, proto);\n if (proto.origin) {\n m.origin = enumStringToValue$g(PartnerOrigin, proto.origin);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.origin !== 'undefined') {\n toReturn['origin'] = this.origin;\n }\n if (typeof this.visitorIdCookie !== 'undefined') {\n toReturn['visitorIdCookie'] = this.visitorIdCookie;\n }\n if (typeof this.conquerLocalAcademyVisitorId !== 'undefined') {\n toReturn['conquerLocalAcademyVisitorId'] = this.conquerLocalAcademyVisitorId;\n }\n if (typeof this.conversionPoint !== 'undefined') {\n toReturn['conversionPoint'] = this.conversionPoint;\n }\n if (typeof this.affiliateId !== 'undefined') {\n toReturn['affiliateId'] = this.affiliateId;\n }\n if (typeof this.numberOfEmployees !== 'undefined') {\n toReturn['numberOfEmployees'] = this.numberOfEmployees;\n }\n if (typeof this.referrerId !== 'undefined') {\n toReturn['referrerId'] = this.referrerId;\n }\n if (typeof this.clearbitCollectedSignupDataId !== 'undefined') {\n toReturn['clearbitCollectedSignupDataId'] = this.clearbitCollectedSignupDataId;\n }\n return toReturn;\n }\n}\nclass PartnerInfo {\n static fromProto(proto) {\n let m = new PartnerInfo();\n m = Object.assign(m, proto);\n if (proto.premiumSupportFlag) {\n m.premiumSupportFlag = enumStringToValue$g(SupportFlag, proto.premiumSupportFlag);\n }\n if (proto.standardPrioritySupportFlag) {\n m.standardPrioritySupportFlag = enumStringToValue$g(SupportFlag, proto.standardPrioritySupportFlag);\n }\n if (proto.priorityChatSupportFlag) {\n m.priorityChatSupportFlag = enumStringToValue$g(SupportFlag, proto.priorityChatSupportFlag);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerName !== 'undefined') {\n toReturn['partnerName'] = this.partnerName;\n }\n if (typeof this.partnerApiKey !== 'undefined') {\n toReturn['partnerApiKey'] = this.partnerApiKey;\n }\n if (typeof this.partnerType !== 'undefined') {\n toReturn['partnerType'] = this.partnerType;\n }\n if (typeof this.serviceLevel !== 'undefined') {\n toReturn['serviceLevel'] = this.serviceLevel;\n }\n if (typeof this.accountExecutive !== 'undefined') {\n toReturn['accountExecutive'] = this.accountExecutive;\n }\n if (typeof this.stripeBillingFlag !== 'undefined') {\n toReturn['stripeBillingFlag'] = this.stripeBillingFlag;\n }\n if (typeof this.excludeFromKpisFlag !== 'undefined') {\n toReturn['excludeFromKpisFlag'] = this.excludeFromKpisFlag;\n }\n if (typeof this.vbcFlag !== 'undefined') {\n toReturn['vbcFlag'] = this.vbcFlag;\n }\n if (typeof this.campaignSubscriptionEnabledFlag !== 'undefined') {\n toReturn['campaignSubscriptionEnabledFlag'] = this.campaignSubscriptionEnabledFlag;\n }\n if (typeof this.vbcKey !== 'undefined') {\n toReturn['vbcKey'] = this.vbcKey;\n }\n if (typeof this.rmPid !== 'undefined') {\n toReturn['rmPid'] = this.rmPid;\n }\n if (typeof this.rmKey !== 'undefined') {\n toReturn['rmKey'] = this.rmKey;\n }\n if (typeof this.msPid !== 'undefined') {\n toReturn['msPid'] = this.msPid;\n }\n if (typeof this.msKey !== 'undefined') {\n toReturn['msKey'] = this.msKey;\n }\n if (typeof this.smPid !== 'undefined') {\n toReturn['smPid'] = this.smPid;\n }\n if (typeof this.smKey !== 'undefined') {\n toReturn['smKey'] = this.smKey;\n }\n if (typeof this.nbPid !== 'undefined') {\n toReturn['nbPid'] = this.nbPid;\n }\n if (typeof this.nbKey !== 'undefined') {\n toReturn['nbKey'] = this.nbKey;\n }\n if (typeof this.armPid !== 'undefined') {\n toReturn['armPid'] = this.armPid;\n }\n if (typeof this.armKey !== 'undefined') {\n toReturn['armKey'] = this.armKey;\n }\n if (typeof this.enableProductMarketplaceFlag !== 'undefined') {\n toReturn['enableProductMarketplaceFlag'] = this.enableProductMarketplaceFlag;\n }\n if (typeof this.hidePricingFlag !== 'undefined') {\n toReturn['hidePricingFlag'] = this.hidePricingFlag;\n }\n if (typeof this.stDefaultCampaignId !== 'undefined') {\n toReturn['stDefaultCampaignId'] = this.stDefaultCampaignId;\n }\n if (typeof this.oauthKey !== 'undefined') {\n toReturn['oauthKey'] = this.oauthKey;\n }\n if (typeof this.oauthSecret !== 'undefined') {\n toReturn['oauthSecret'] = this.oauthSecret;\n }\n if (typeof this.rmMaxCompetitors !== 'undefined') {\n toReturn['rmMaxCompetitors'] = this.rmMaxCompetitors;\n }\n if (typeof this.rmMaxServices !== 'undefined') {\n toReturn['rmMaxServices'] = this.rmMaxServices;\n }\n if (typeof this.enableListingDistributionFlag !== 'undefined') {\n toReturn['enableListingDistributionFlag'] = this.enableListingDistributionFlag;\n }\n if (typeof this.showExpiryFlag !== 'undefined') {\n toReturn['showExpiryFlag'] = this.showExpiryFlag;\n }\n if (typeof this.wholesalePrice !== 'undefined') {\n toReturn['wholesalePrice'] = this.wholesalePrice;\n }\n if (typeof this.enableForAdminFlag !== 'undefined') {\n toReturn['enableForAdminFlag'] = this.enableForAdminFlag;\n }\n if (typeof this.enableListingSyncProFlag !== 'undefined') {\n toReturn['enableListingSyncProFlag'] = this.enableListingSyncProFlag;\n }\n if (typeof this.listingSyncProServiceProvider !== 'undefined') {\n toReturn['listingSyncProServiceProvider'] = this.listingSyncProServiceProvider;\n }\n if (typeof this.enableListingSyncProDiscountFlag !== 'undefined') {\n toReturn['enableListingSyncProDiscountFlag'] = this.enableListingSyncProDiscountFlag;\n }\n if (typeof this.pausedFlag !== 'undefined') {\n toReturn['pausedFlag'] = this.pausedFlag;\n }\n if (typeof this.cancelledFlag !== 'undefined') {\n toReturn['cancelledFlag'] = this.cancelledFlag;\n }\n if (typeof this.premiumSupportFlag !== 'undefined') {\n toReturn['premiumSupportFlag'] = this.premiumSupportFlag;\n }\n if (typeof this.standardPrioritySupportFlag !== 'undefined') {\n toReturn['standardPrioritySupportFlag'] = this.standardPrioritySupportFlag;\n }\n if (typeof this.priorityChatSupportFlag !== 'undefined') {\n toReturn['priorityChatSupportFlag'] = this.priorityChatSupportFlag;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n return toReturn;\n }\n}\nclass PartnerUser {\n static fromProto(proto) {\n let m = new PartnerUser();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.firstName !== 'undefined') {\n toReturn['firstName'] = this.firstName;\n }\n if (typeof this.lastName !== 'undefined') {\n toReturn['lastName'] = this.lastName;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n return toReturn;\n }\n}\nclass TermOfService {\n static fromProto(proto) {\n let m = new TermOfService();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accepted !== 'undefined') {\n toReturn['accepted'] = this.accepted;\n }\n if (typeof this.browserIpAddress !== 'undefined') {\n toReturn['browserIpAddress'] = this.browserIpAddress;\n }\n return toReturn;\n }\n}\nclass UpdateCompanyProfileRequest {\n static fromProto(proto) {\n let m = new UpdateCompanyProfileRequest();\n m = Object.assign(m, proto);\n if (proto.companyProfileInfo) {\n m.companyProfileInfo = CompanyProfile.fromProto(proto.companyProfileInfo);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.companyProfileInfo !== 'undefined' && this.companyProfileInfo !== null) {\n toReturn['companyProfileInfo'] = 'toApiJson' in this.companyProfileInfo ? this.companyProfileInfo.toApiJson() : this.companyProfileInfo;\n }\n return toReturn;\n }\n}\nclass UpdatePartnerRequest {\n static fromProto(proto) {\n let m = new UpdatePartnerRequest();\n m = Object.assign(m, proto);\n if (proto.partnerInfo) {\n m.partnerInfo = PartnerInfo.fromProto(proto.partnerInfo);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.idempotentKey !== 'undefined') {\n toReturn['idempotentKey'] = this.idempotentKey;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.partnerInfo !== 'undefined' && this.partnerInfo !== null) {\n toReturn['partnerInfo'] = 'toApiJson' in this.partnerInfo ? this.partnerInfo.toApiJson() : this.partnerInfo;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$f(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass EmailPasswordCredential {\n static fromProto(proto) {\n let m = new EmailPasswordCredential();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.password !== 'undefined') {\n toReturn['password'] = this.password;\n }\n return toReturn;\n }\n}\nclass ExistingAccount {\n static fromProto(proto) {\n let m = new ExistingAccount();\n m = Object.assign(m, proto);\n if (proto.credential) {\n m.credential = SignUpCredential.fromProto(proto.credential);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.credential !== 'undefined' && this.credential !== null) {\n toReturn['credential'] = 'toApiJson' in this.credential ? this.credential.toApiJson() : this.credential;\n }\n return toReturn;\n }\n}\nclass GetGoogleProfileRequest {\n static fromProto(proto) {\n let m = new GetGoogleProfileRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.googleCode !== 'undefined') {\n toReturn['googleCode'] = this.googleCode;\n }\n if (typeof this.redirectUrl !== 'undefined') {\n toReturn['redirectUrl'] = this.redirectUrl;\n }\n return toReturn;\n }\n}\nclass GetGoogleProfileResponse {\n static fromProto(proto) {\n let m = new GetGoogleProfileResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.emailVerified !== 'undefined') {\n toReturn['emailVerified'] = this.emailVerified;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.picture !== 'undefined') {\n toReturn['picture'] = this.picture;\n }\n if (typeof this.givenName !== 'undefined') {\n toReturn['givenName'] = this.givenName;\n }\n if (typeof this.familyName !== 'undefined') {\n toReturn['familyName'] = this.familyName;\n }\n if (typeof this.locale !== 'undefined') {\n toReturn['locale'] = this.locale;\n }\n if (typeof this.token !== 'undefined') {\n toReturn['token'] = this.token;\n }\n return toReturn;\n }\n}\nclass GetLinkedinProfileRequest {\n static fromProto(proto) {\n let m = new GetLinkedinProfileRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.authorizationCode !== 'undefined') {\n toReturn['authorizationCode'] = this.authorizationCode;\n }\n if (typeof this.redirectUrl !== 'undefined') {\n toReturn['redirectUrl'] = this.redirectUrl;\n }\n return toReturn;\n }\n}\nclass GetLinkedinProfileResponse {\n static fromProto(proto) {\n let m = new GetLinkedinProfileResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.firstName !== 'undefined') {\n toReturn['firstName'] = this.firstName;\n }\n if (typeof this.lastName !== 'undefined') {\n toReturn['lastName'] = this.lastName;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.profilePictureUrn !== 'undefined') {\n toReturn['profilePictureUrn'] = this.profilePictureUrn;\n }\n if (typeof this.token !== 'undefined') {\n toReturn['token'] = this.token;\n }\n return toReturn;\n }\n}\nclass GetSelfSignUpStatusRequest {\n static fromProto(proto) {\n let m = new GetSelfSignUpStatusRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.idempotentKey !== 'undefined') {\n toReturn['idempotentKey'] = this.idempotentKey;\n }\n return toReturn;\n }\n}\nclass GetSelfSignUpStatusResponse {\n static fromProto(proto) {\n let m = new GetSelfSignUpStatusResponse();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$f(Status, proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.errorMessage !== 'undefined') {\n toReturn['errorMessage'] = this.errorMessage;\n }\n return toReturn;\n }\n}\nclass GoogleTokenCredential {\n static fromProto(proto) {\n let m = new GoogleTokenCredential();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.googleToken !== 'undefined') {\n toReturn['googleToken'] = this.googleToken;\n }\n return toReturn;\n }\n}\nclass IsEmailInUseRequest {\n static fromProto(proto) {\n let m = new IsEmailInUseRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.recaptchaV2Token !== 'undefined') {\n toReturn['recaptchaV2Token'] = this.recaptchaV2Token;\n }\n if (typeof this.recaptchaV3Token !== 'undefined') {\n toReturn['recaptchaV3Token'] = this.recaptchaV3Token;\n }\n return toReturn;\n }\n}\nclass IsEmailInUseResponse {\n static fromProto(proto) {\n let m = new IsEmailInUseResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subjects !== 'undefined') {\n toReturn['subjects'] = this.subjects;\n }\n return toReturn;\n }\n}\nclass LinkedInTokenCredential {\n static fromProto(proto) {\n let m = new LinkedInTokenCredential();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.linkedinAccessToken !== 'undefined') {\n toReturn['linkedinAccessToken'] = this.linkedinAccessToken;\n }\n return toReturn;\n }\n}\nclass LoginRequest {\n static fromProto(proto) {\n let m = new LoginRequest();\n m = Object.assign(m, proto);\n if (proto.emailPasswordCredential) {\n m.emailPasswordCredential = EmailPasswordCredential.fromProto(proto.emailPasswordCredential);\n }\n if (proto.tokenCredential) {\n m.tokenCredential = GoogleTokenCredential.fromProto(proto.tokenCredential);\n }\n if (proto.linkedinCredential) {\n m.linkedinCredential = LinkedInTokenCredential.fromProto(proto.linkedinCredential);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.emailPasswordCredential !== 'undefined' && this.emailPasswordCredential !== null) {\n toReturn['emailPasswordCredential'] = 'toApiJson' in this.emailPasswordCredential ? this.emailPasswordCredential.toApiJson() : this.emailPasswordCredential;\n }\n if (typeof this.tokenCredential !== 'undefined' && this.tokenCredential !== null) {\n toReturn['tokenCredential'] = 'toApiJson' in this.tokenCredential ? this.tokenCredential.toApiJson() : this.tokenCredential;\n }\n if (typeof this.linkedinCredential !== 'undefined' && this.linkedinCredential !== null) {\n toReturn['linkedinCredential'] = 'toApiJson' in this.linkedinCredential ? this.linkedinCredential.toApiJson() : this.linkedinCredential;\n }\n if (typeof this.nextUrl !== 'undefined') {\n toReturn['nextUrl'] = this.nextUrl;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass LoginResponse {\n static fromProto(proto) {\n let m = new LoginResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.nextUrl !== 'undefined') {\n toReturn['nextUrl'] = this.nextUrl;\n }\n return toReturn;\n }\n}\nclass NewAccount {\n static fromProto(proto) {\n let m = new NewAccount();\n m = Object.assign(m, proto);\n if (proto.credential) {\n m.credential = SignUpCredential.fromProto(proto.credential);\n }\n if (proto.companyProfile) {\n m.companyProfile = CompanyProfile.fromProto(proto.companyProfile);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.credential !== 'undefined' && this.credential !== null) {\n toReturn['credential'] = 'toApiJson' in this.credential ? this.credential.toApiJson() : this.credential;\n }\n if (typeof this.companyProfile !== 'undefined' && this.companyProfile !== null) {\n toReturn['companyProfile'] = 'toApiJson' in this.companyProfile ? this.companyProfile.toApiJson() : this.companyProfile;\n }\n return toReturn;\n }\n}\nclass SelfSignUpExistingAccountGroupRequest {\n static fromProto(proto) {\n let m = new SelfSignUpExistingAccountGroupRequest();\n m = Object.assign(m, proto);\n if (proto.termsOfService) {\n m.termsOfService = TermOfService.fromProto(proto.termsOfService);\n }\n if (proto.acquisitionData) {\n m.acquisitionData = PartnerAcquisitionData.fromProto(proto.acquisitionData);\n }\n if (proto.googleToken) {\n m.googleToken = GoogleTokenCredential.fromProto(proto.googleToken);\n }\n if (proto.initialUser) {\n m.initialUser = EmailPasswordCredential.fromProto(proto.initialUser);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.idempotentKey !== 'undefined') {\n toReturn['idempotentKey'] = this.idempotentKey;\n }\n if (typeof this.recaptchaResponse !== 'undefined') {\n toReturn['recaptchaResponse'] = this.recaptchaResponse;\n }\n if (typeof this.recaptchaV3Token !== 'undefined') {\n toReturn['recaptchaV3Token'] = this.recaptchaV3Token;\n }\n if (typeof this.termsOfService !== 'undefined' && this.termsOfService !== null) {\n toReturn['termsOfService'] = 'toApiJson' in this.termsOfService ? this.termsOfService.toApiJson() : this.termsOfService;\n }\n if (typeof this.acquisitionData !== 'undefined' && this.acquisitionData !== null) {\n toReturn['acquisitionData'] = 'toApiJson' in this.acquisitionData ? this.acquisitionData.toApiJson() : this.acquisitionData;\n }\n if (typeof this.googleToken !== 'undefined' && this.googleToken !== null) {\n toReturn['googleToken'] = 'toApiJson' in this.googleToken ? this.googleToken.toApiJson() : this.googleToken;\n }\n if (typeof this.initialUser !== 'undefined' && this.initialUser !== null) {\n toReturn['initialUser'] = 'toApiJson' in this.initialUser ? this.initialUser.toApiJson() : this.initialUser;\n }\n return toReturn;\n }\n}\nclass SelfSignUpRequest {\n static fromProto(proto) {\n let m = new SelfSignUpRequest();\n m = Object.assign(m, proto);\n if (proto.initialUser) {\n m.initialUser = PartnerUser.fromProto(proto.initialUser);\n }\n if (proto.companyProfile) {\n m.companyProfile = CompanyProfile.fromProto(proto.companyProfile);\n }\n if (proto.acquisitionData) {\n m.acquisitionData = PartnerAcquisitionData.fromProto(proto.acquisitionData);\n }\n if (proto.termsOfService) {\n m.termsOfService = TermOfService.fromProto(proto.termsOfService);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.idempotentKey !== 'undefined') {\n toReturn['idempotentKey'] = this.idempotentKey;\n }\n if (typeof this.initialUser !== 'undefined' && this.initialUser !== null) {\n toReturn['initialUser'] = 'toApiJson' in this.initialUser ? this.initialUser.toApiJson() : this.initialUser;\n }\n if (typeof this.websiteOptOutFlag !== 'undefined') {\n toReturn['websiteOptOutFlag'] = this.websiteOptOutFlag;\n }\n if (typeof this.billingCurrencyCode !== 'undefined') {\n toReturn['billingCurrencyCode'] = this.billingCurrencyCode;\n }\n if (typeof this.companyProfile !== 'undefined' && this.companyProfile !== null) {\n toReturn['companyProfile'] = 'toApiJson' in this.companyProfile ? this.companyProfile.toApiJson() : this.companyProfile;\n }\n if (typeof this.acquisitionData !== 'undefined' && this.acquisitionData !== null) {\n toReturn['acquisitionData'] = 'toApiJson' in this.acquisitionData ? this.acquisitionData.toApiJson() : this.acquisitionData;\n }\n if (typeof this.recaptchaResponse !== 'undefined') {\n toReturn['recaptchaResponse'] = this.recaptchaResponse;\n }\n if (typeof this.recaptchaV3Token !== 'undefined') {\n toReturn['recaptchaV3Token'] = this.recaptchaV3Token;\n }\n if (typeof this.termsOfService !== 'undefined' && this.termsOfService !== null) {\n toReturn['termsOfService'] = 'toApiJson' in this.termsOfService ? this.termsOfService.toApiJson() : this.termsOfService;\n }\n if (typeof this.userPassword !== 'undefined') {\n toReturn['userPassword'] = this.userPassword;\n }\n return toReturn;\n }\n}\nclass SelfSignUpWithGoogleRequest {\n static fromProto(proto) {\n let m = new SelfSignUpWithGoogleRequest();\n m = Object.assign(m, proto);\n if (proto.acquisitionData) {\n m.acquisitionData = PartnerAcquisitionData.fromProto(proto.acquisitionData);\n }\n if (proto.companyProfile) {\n m.companyProfile = CompanyProfile.fromProto(proto.companyProfile);\n }\n if (proto.termsOfService) {\n m.termsOfService = TermOfService.fromProto(proto.termsOfService);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.idempotentKey !== 'undefined') {\n toReturn['idempotentKey'] = this.idempotentKey;\n }\n if (typeof this.googleToken !== 'undefined') {\n toReturn['googleToken'] = this.googleToken;\n }\n if (typeof this.acquisitionData !== 'undefined' && this.acquisitionData !== null) {\n toReturn['acquisitionData'] = 'toApiJson' in this.acquisitionData ? this.acquisitionData.toApiJson() : this.acquisitionData;\n }\n if (typeof this.companyProfile !== 'undefined' && this.companyProfile !== null) {\n toReturn['companyProfile'] = 'toApiJson' in this.companyProfile ? this.companyProfile.toApiJson() : this.companyProfile;\n }\n if (typeof this.websiteOptOutFlag !== 'undefined') {\n toReturn['websiteOptOutFlag'] = this.websiteOptOutFlag;\n }\n if (typeof this.recaptchaResponse !== 'undefined') {\n toReturn['recaptchaResponse'] = this.recaptchaResponse;\n }\n if (typeof this.recaptchaV3Token !== 'undefined') {\n toReturn['recaptchaV3Token'] = this.recaptchaV3Token;\n }\n if (typeof this.billingCurrencyCode !== 'undefined') {\n toReturn['billingCurrencyCode'] = this.billingCurrencyCode;\n }\n if (typeof this.termsOfService !== 'undefined' && this.termsOfService !== null) {\n toReturn['termsOfService'] = 'toApiJson' in this.termsOfService ? this.termsOfService.toApiJson() : this.termsOfService;\n }\n return toReturn;\n }\n}\nclass SelfSignUpWithLinkedRequest {\n static fromProto(proto) {\n let m = new SelfSignUpWithLinkedRequest();\n m = Object.assign(m, proto);\n if (proto.acquisitionData) {\n m.acquisitionData = PartnerAcquisitionData.fromProto(proto.acquisitionData);\n }\n if (proto.companyProfile) {\n m.companyProfile = CompanyProfile.fromProto(proto.companyProfile);\n }\n if (proto.termsOfService) {\n m.termsOfService = TermOfService.fromProto(proto.termsOfService);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.idempotentKey !== 'undefined') {\n toReturn['idempotentKey'] = this.idempotentKey;\n }\n if (typeof this.linkedinToken !== 'undefined') {\n toReturn['linkedinToken'] = this.linkedinToken;\n }\n if (typeof this.acquisitionData !== 'undefined' && this.acquisitionData !== null) {\n toReturn['acquisitionData'] = 'toApiJson' in this.acquisitionData ? this.acquisitionData.toApiJson() : this.acquisitionData;\n }\n if (typeof this.companyProfile !== 'undefined' && this.companyProfile !== null) {\n toReturn['companyProfile'] = 'toApiJson' in this.companyProfile ? this.companyProfile.toApiJson() : this.companyProfile;\n }\n if (typeof this.websiteOptOutFlag !== 'undefined') {\n toReturn['websiteOptOutFlag'] = this.websiteOptOutFlag;\n }\n if (typeof this.recaptchaResponse !== 'undefined') {\n toReturn['recaptchaResponse'] = this.recaptchaResponse;\n }\n if (typeof this.recaptchaV3Token !== 'undefined') {\n toReturn['recaptchaV3Token'] = this.recaptchaV3Token;\n }\n if (typeof this.billingCurrencyCode !== 'undefined') {\n toReturn['billingCurrencyCode'] = this.billingCurrencyCode;\n }\n if (typeof this.termsOfService !== 'undefined' && this.termsOfService !== null) {\n toReturn['termsOfService'] = 'toApiJson' in this.termsOfService ? this.termsOfService.toApiJson() : this.termsOfService;\n }\n return toReturn;\n }\n}\nclass SignUpCredential {\n static fromProto(proto) {\n let m = new SignUpCredential();\n m = Object.assign(m, proto);\n if (proto.googleToken) {\n m.googleToken = GoogleTokenCredential.fromProto(proto.googleToken);\n }\n if (proto.user) {\n m.user = UserCredential.fromProto(proto.user);\n }\n if (proto.linkedinToken) {\n m.linkedinToken = LinkedInTokenCredential.fromProto(proto.linkedinToken);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.googleToken !== 'undefined' && this.googleToken !== null) {\n toReturn['googleToken'] = 'toApiJson' in this.googleToken ? this.googleToken.toApiJson() : this.googleToken;\n }\n if (typeof this.user !== 'undefined' && this.user !== null) {\n toReturn['user'] = 'toApiJson' in this.user ? this.user.toApiJson() : this.user;\n }\n if (typeof this.linkedinToken !== 'undefined' && this.linkedinToken !== null) {\n toReturn['linkedinToken'] = 'toApiJson' in this.linkedinToken ? this.linkedinToken.toApiJson() : this.linkedinToken;\n }\n return toReturn;\n }\n}\nclass SignUpRequest {\n static fromProto(proto) {\n let m = new SignUpRequest();\n m = Object.assign(m, proto);\n if (proto.newAccount) {\n m.newAccount = NewAccount.fromProto(proto.newAccount);\n }\n if (proto.existingAccount) {\n m.existingAccount = ExistingAccount.fromProto(proto.existingAccount);\n }\n if (proto.acquisitionData) {\n m.acquisitionData = PartnerAcquisitionData.fromProto(proto.acquisitionData);\n }\n if (proto.termsOfService) {\n m.termsOfService = TermOfService.fromProto(proto.termsOfService);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.idempotentKey !== 'undefined') {\n toReturn['idempotentKey'] = this.idempotentKey;\n }\n if (typeof this.newAccount !== 'undefined' && this.newAccount !== null) {\n toReturn['newAccount'] = 'toApiJson' in this.newAccount ? this.newAccount.toApiJson() : this.newAccount;\n }\n if (typeof this.existingAccount !== 'undefined' && this.existingAccount !== null) {\n toReturn['existingAccount'] = 'toApiJson' in this.existingAccount ? this.existingAccount.toApiJson() : this.existingAccount;\n }\n if (typeof this.acquisitionData !== 'undefined' && this.acquisitionData !== null) {\n toReturn['acquisitionData'] = 'toApiJson' in this.acquisitionData ? this.acquisitionData.toApiJson() : this.acquisitionData;\n }\n if (typeof this.termsOfService !== 'undefined' && this.termsOfService !== null) {\n toReturn['termsOfService'] = 'toApiJson' in this.termsOfService ? this.termsOfService.toApiJson() : this.termsOfService;\n }\n if (typeof this.recaptchaV2Token !== 'undefined') {\n toReturn['recaptchaV2Token'] = this.recaptchaV2Token;\n }\n if (typeof this.recaptchaV3Token !== 'undefined') {\n toReturn['recaptchaV3Token'] = this.recaptchaV3Token;\n }\n if (typeof this.billingCurrencyCode !== 'undefined') {\n toReturn['billingCurrencyCode'] = this.billingCurrencyCode;\n }\n if (typeof this.websiteOptOutFlag !== 'undefined') {\n toReturn['websiteOptOutFlag'] = this.websiteOptOutFlag;\n }\n if (typeof this.subscriptionTierId !== 'undefined') {\n toReturn['subscriptionTierId'] = this.subscriptionTierId;\n }\n if (typeof this.stripeToken !== 'undefined') {\n toReturn['stripeToken'] = this.stripeToken;\n }\n if (typeof this.nextUrl !== 'undefined') {\n toReturn['nextUrl'] = this.nextUrl;\n }\n return toReturn;\n }\n}\nclass UserCredential {\n static fromProto(proto) {\n let m = new UserCredential();\n m = Object.assign(m, proto);\n if (proto.user) {\n m.user = PartnerUser.fromProto(proto.user);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.user !== 'undefined' && this.user !== null) {\n toReturn['user'] = 'toApiJson' in this.user ? this.user.toApiJson() : this.user;\n }\n if (typeof this.password !== 'undefined') {\n toReturn['password'] = this.password;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$e(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AddRewardToPartnerRequest {\n static fromProto(proto) {\n let m = new AddRewardToPartnerRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.rewardId !== 'undefined') {\n toReturn['rewardId'] = this.rewardId;\n }\n return toReturn;\n }\n}\nclass AttemptRewardClaimRequest {\n static fromProto(proto) {\n let m = new AttemptRewardClaimRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.rewardId !== 'undefined') {\n toReturn['rewardId'] = this.rewardId;\n }\n return toReturn;\n }\n}\nclass Claimed {\n static fromProto(proto) {\n let m = new Claimed();\n m = Object.assign(m, proto);\n if (proto.date) {\n m.date = new Date(proto.date);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.date !== 'undefined' && this.date !== null) {\n toReturn['date'] = 'toApiJson' in this.date ? this.date.toApiJson() : this.date;\n }\n return toReturn;\n }\n}\nclass GetRewardRequest {\n static fromProto(proto) {\n let m = new GetRewardRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.rewardId !== 'undefined') {\n toReturn['rewardId'] = this.rewardId;\n }\n return toReturn;\n }\n}\nclass GetRewardResponse {\n static fromProto(proto) {\n let m = new GetRewardResponse();\n m = Object.assign(m, proto);\n if (proto.reward) {\n m.reward = Reward.fromProto(proto.reward);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.reward !== 'undefined' && this.reward !== null) {\n toReturn['reward'] = 'toApiJson' in this.reward ? this.reward.toApiJson() : this.reward;\n }\n return toReturn;\n }\n}\nclass IsRewardConditionMetForPartnerRequest {\n static fromProto(proto) {\n let m = new IsRewardConditionMetForPartnerRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.rewardId !== 'undefined') {\n toReturn['rewardId'] = this.rewardId;\n }\n return toReturn;\n }\n}\nclass IsRewardConditionMetForPartnerResponse {\n static fromProto(proto) {\n let m = new IsRewardConditionMetForPartnerResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.rewardConditionsMet !== 'undefined') {\n toReturn['rewardConditionsMet'] = this.rewardConditionsMet;\n }\n return toReturn;\n }\n}\nclass Money {\n static fromProto(proto) {\n let m = new Money();\n m = Object.assign(m, proto);\n if (proto.valueInCents) {\n m.valueInCents = parseInt(proto.valueInCents, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.valueInCents !== 'undefined') {\n toReturn['valueInCents'] = this.valueInCents;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n return toReturn;\n }\n}\nclass Reward {\n static fromProto(proto) {\n let m = new Reward();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = Money.fromProto(proto.amount);\n }\n if (proto.status) {\n m.status = enumStringToValue$e(RewardStatus, proto.status);\n }\n if (proto.claimed) {\n m.claimed = Claimed.fromProto(proto.claimed);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.rewardId !== 'undefined') {\n toReturn['rewardId'] = this.rewardId;\n }\n if (typeof this.amount !== 'undefined' && this.amount !== null) {\n toReturn['amount'] = 'toApiJson' in this.amount ? this.amount.toApiJson() : this.amount;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.claimed !== 'undefined' && this.claimed !== null) {\n toReturn['claimed'] = 'toApiJson' in this.claimed ? this.claimed.toApiJson() : this.claimed;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$d(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass GetSalesConfigRequest {\n static fromProto(proto) {\n let m = new GetSalesConfigRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n return toReturn;\n }\n}\nclass GetSalesConfigResponse {\n static fromProto(proto) {\n let m = new GetSalesConfigResponse();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = SalesConfiguration.fromProto(proto.config);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.config !== 'undefined' && this.config !== null) {\n toReturn['config'] = 'toApiJson' in this.config ? this.config.toApiJson() : this.config;\n }\n return toReturn;\n }\n}\nclass SalesConfigInputs {\n static fromProto(proto) {\n let m = new SalesConfigInputs();\n m = Object.assign(m, proto);\n if (proto.hideProducts) {\n m.hideProducts = enumStringToValue$d(SalesSetting, proto.hideProducts);\n }\n if (proto.hideRmDemo) {\n m.hideRmDemo = enumStringToValue$d(SalesSetting, proto.hideRmDemo);\n }\n if (proto.hideOrders) {\n m.hideOrders = enumStringToValue$d(SalesSetting, proto.hideOrders);\n }\n if (proto.stTeamActivity) {\n m.stTeamActivity = enumStringToValue$d(SalesSetting, proto.stTeamActivity);\n }\n if (proto.stAllowSalespersonCampaignAdd) {\n m.stAllowSalespersonCampaignAdd = enumStringToValue$d(SalesSetting, proto.stAllowSalespersonCampaignAdd);\n }\n if (proto.stShowProductsWholesalePrice) {\n m.stShowProductsWholesalePrice = enumStringToValue$d(SalesSetting, proto.stShowProductsWholesalePrice);\n }\n if (proto.stShowTrainingResourcesField) {\n m.stShowTrainingResourcesField = enumStringToValue$d(SalesSetting, proto.stShowTrainingResourcesField);\n }\n if (proto.stSalespersonSharedAccountAccess) {\n m.stSalespersonSharedAccountAccess = enumStringToValue$d(SalesSetting, proto.stSalespersonSharedAccountAccess);\n }\n if (proto.stEnableSnapshotsPerSalespersonLimit) {\n m.stEnableSnapshotsPerSalespersonLimit = enumStringToValue$d(SalesSetting, proto.stEnableSnapshotsPerSalespersonLimit);\n }\n if (proto.stSnapshotsPerSalespersonLimit) {\n m.stSnapshotsPerSalespersonLimit = parseInt(proto.stSnapshotsPerSalespersonLimit, 10);\n }\n if (proto.stBusinessCenterAccess) {\n m.stBusinessCenterAccess = enumStringToValue$d(SalesSetting, proto.stBusinessCenterAccess);\n }\n if (proto.stShowInbox) {\n m.stShowInbox = enumStringToValue$d(SalesSetting, proto.stShowInbox);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.hideProducts !== 'undefined') {\n toReturn['hideProducts'] = this.hideProducts;\n }\n if (typeof this.hideRmDemo !== 'undefined') {\n toReturn['hideRmDemo'] = this.hideRmDemo;\n }\n if (typeof this.hideOrders !== 'undefined') {\n toReturn['hideOrders'] = this.hideOrders;\n }\n if (typeof this.stTeamActivity !== 'undefined') {\n toReturn['stTeamActivity'] = this.stTeamActivity;\n }\n if (typeof this.stAllowSalespersonCampaignAdd !== 'undefined') {\n toReturn['stAllowSalespersonCampaignAdd'] = this.stAllowSalespersonCampaignAdd;\n }\n if (typeof this.stShowProductsWholesalePrice !== 'undefined') {\n toReturn['stShowProductsWholesalePrice'] = this.stShowProductsWholesalePrice;\n }\n if (typeof this.stShowTrainingResourcesField !== 'undefined') {\n toReturn['stShowTrainingResourcesField'] = this.stShowTrainingResourcesField;\n }\n if (typeof this.stSalespersonSharedAccountAccess !== 'undefined') {\n toReturn['stSalespersonSharedAccountAccess'] = this.stSalespersonSharedAccountAccess;\n }\n if (typeof this.stDefaultDisplayCurrency !== 'undefined') {\n toReturn['stDefaultDisplayCurrency'] = this.stDefaultDisplayCurrency;\n }\n if (typeof this.stEnableSnapshotsPerSalespersonLimit !== 'undefined') {\n toReturn['stEnableSnapshotsPerSalespersonLimit'] = this.stEnableSnapshotsPerSalespersonLimit;\n }\n if (typeof this.stSnapshotsPerSalespersonLimit !== 'undefined') {\n toReturn['stSnapshotsPerSalespersonLimit'] = this.stSnapshotsPerSalespersonLimit;\n }\n if (typeof this.stBusinessCenterAccess !== 'undefined') {\n toReturn['stBusinessCenterAccess'] = this.stBusinessCenterAccess;\n }\n if (typeof this.stShowInbox !== 'undefined') {\n toReturn['stShowInbox'] = this.stShowInbox;\n }\n return toReturn;\n }\n}\nclass SalesConfiguration {\n static fromProto(proto) {\n let m = new SalesConfiguration();\n m = Object.assign(m, proto);\n if (proto.stSnapshotsPerSalespersonLimit) {\n m.stSnapshotsPerSalespersonLimit = parseInt(proto.stSnapshotsPerSalespersonLimit, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.hideProducts !== 'undefined') {\n toReturn['hideProducts'] = this.hideProducts;\n }\n if (typeof this.hideRmDemo !== 'undefined') {\n toReturn['hideRmDemo'] = this.hideRmDemo;\n }\n if (typeof this.stTeamActivity !== 'undefined') {\n toReturn['stTeamActivity'] = this.stTeamActivity;\n }\n if (typeof this.stAllowSalespersonCampaignAdd !== 'undefined') {\n toReturn['stAllowSalespersonCampaignAdd'] = this.stAllowSalespersonCampaignAdd;\n }\n if (typeof this.stShowProductsWholesalePrice !== 'undefined') {\n toReturn['stShowProductsWholesalePrice'] = this.stShowProductsWholesalePrice;\n }\n if (typeof this.stShowTrainingResourcesField !== 'undefined') {\n toReturn['stShowTrainingResourcesField'] = this.stShowTrainingResourcesField;\n }\n if (typeof this.stSalespersonSharedAccountAccess !== 'undefined') {\n toReturn['stSalespersonSharedAccountAccess'] = this.stSalespersonSharedAccountAccess;\n }\n if (typeof this.stDefaultDisplayCurrency !== 'undefined') {\n toReturn['stDefaultDisplayCurrency'] = this.stDefaultDisplayCurrency;\n }\n if (typeof this.stEnableSnapshotsPerSalespersonLimit !== 'undefined') {\n toReturn['stEnableSnapshotsPerSalespersonLimit'] = this.stEnableSnapshotsPerSalespersonLimit;\n }\n if (typeof this.stSnapshotsPerSalespersonLimit !== 'undefined') {\n toReturn['stSnapshotsPerSalespersonLimit'] = this.stSnapshotsPerSalespersonLimit;\n }\n if (typeof this.stBusinessCenterAccess !== 'undefined') {\n toReturn['stBusinessCenterAccess'] = this.stBusinessCenterAccess;\n }\n if (typeof this.hideOrders !== 'undefined') {\n toReturn['hideOrders'] = this.hideOrders;\n }\n if (typeof this.sscWhitelabeled !== 'undefined') {\n toReturn['sscWhitelabeled'] = this.sscWhitelabeled;\n }\n if (typeof this.stShowInbox !== 'undefined') {\n toReturn['stShowInbox'] = this.stShowInbox;\n }\n return toReturn;\n }\n}\nclass SetSalesConfigRequest {\n static fromProto(proto) {\n let m = new SetSalesConfigRequest();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = SalesConfigInputs.fromProto(proto.config);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.config !== 'undefined' && this.config !== null) {\n toReturn['config'] = 'toApiJson' in this.config ? this.config.toApiJson() : this.config;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass SetSalesConfigResponse {\n static fromProto(proto) {\n let m = new SetSalesConfigResponse();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = SalesConfigInputs.fromProto(proto.config);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.config !== 'undefined' && this.config !== null) {\n toReturn['config'] = 'toApiJson' in this.config ? this.config.toApiJson() : this.config;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$c(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass BusinessCenterConfiguration {\n static fromProto(proto) {\n let m = new BusinessCenterConfiguration();\n m = Object.assign(m, proto);\n if (proto.referralLink) {\n m.referralLink = ReferralLink.fromProto(proto.referralLink);\n }\n if (proto.singleLocationDefaultTimeRange) {\n m.singleLocationDefaultTimeRange = enumStringToValue$c(TimeRange, proto.singleLocationDefaultTimeRange);\n }\n if (proto.globalNotificationExpiryTime) {\n m.globalNotificationExpiryTime = new Date(proto.globalNotificationExpiryTime);\n }\n if (proto.multiLocationDefaultTimeRange) {\n m.multiLocationDefaultTimeRange = enumStringToValue$c(TimeRange, proto.multiLocationDefaultTimeRange);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.showContentLibrary !== 'undefined') {\n toReturn['showContentLibrary'] = this.showContentLibrary;\n }\n if (typeof this.showLmiDashboard !== 'undefined') {\n toReturn['showLmiDashboard'] = this.showLmiDashboard;\n }\n if (typeof this.showExecutiveReport !== 'undefined') {\n toReturn['showExecutiveReport'] = this.showExecutiveReport;\n }\n if (typeof this.showStore !== 'undefined') {\n toReturn['showStore'] = this.showStore;\n }\n if (typeof this.cancellationNotificationEmail !== 'undefined') {\n toReturn['cancellationNotificationEmail'] = this.cancellationNotificationEmail;\n }\n if (typeof this.globalNotification !== 'undefined') {\n toReturn['globalNotification'] = this.globalNotification;\n }\n if (typeof this.businessAppBranding !== 'undefined') {\n toReturn['businessAppBranding'] = this.businessAppBranding;\n }\n if (typeof this.referralLink !== 'undefined' && this.referralLink !== null) {\n toReturn['referralLink'] = 'toApiJson' in this.referralLink ? this.referralLink.toApiJson() : this.referralLink;\n }\n if (typeof this.accessTrialProducts !== 'undefined') {\n toReturn['accessTrialProducts'] = this.accessTrialProducts;\n }\n if (typeof this.hideQuickbooksConnector !== 'undefined') {\n toReturn['hideQuickbooksConnector'] = this.hideQuickbooksConnector;\n }\n if (typeof this.hideSmbAcademy !== 'undefined') {\n toReturn['hideSmbAcademy'] = this.hideSmbAcademy;\n }\n if (typeof this.showReviewGradeForSmbExecReport !== 'undefined') {\n toReturn['showReviewGradeForSmbExecReport'] = this.showReviewGradeForSmbExecReport;\n }\n if (typeof this.showGetStarted !== 'undefined') {\n toReturn['showGetStarted'] = this.showGetStarted;\n }\n if (typeof this.meetingSchedulerBusinessApp !== 'undefined') {\n toReturn['meetingSchedulerBusinessApp'] = this.meetingSchedulerBusinessApp;\n }\n if (typeof this.showSocialGradeForSmbExecReport !== 'undefined') {\n toReturn['showSocialGradeForSmbExecReport'] = this.showSocialGradeForSmbExecReport;\n }\n if (typeof this.showMyListingInBusinessCenter !== 'undefined') {\n toReturn['showMyListingInBusinessCenter'] = this.showMyListingInBusinessCenter;\n }\n if (typeof this.showInviteTeam !== 'undefined') {\n toReturn['showInviteTeam'] = this.showInviteTeam;\n }\n if (typeof this.disableBusinessNav !== 'undefined') {\n toReturn['disableBusinessNav'] = this.disableBusinessNav;\n }\n if (typeof this.showFulfillment !== 'undefined') {\n toReturn['showFulfillment'] = this.showFulfillment;\n }\n if (typeof this.showOrderPage !== 'undefined') {\n toReturn['showOrderPage'] = this.showOrderPage;\n }\n if (typeof this.showInvoices !== 'undefined') {\n toReturn['showInvoices'] = this.showInvoices;\n }\n if (typeof this.showDashboard !== 'undefined') {\n toReturn['showDashboard'] = this.showDashboard;\n }\n if (typeof this.showFiles !== 'undefined') {\n toReturn['showFiles'] = this.showFiles;\n }\n if (typeof this.showMyProducts !== 'undefined') {\n toReturn['showMyProducts'] = this.showMyProducts;\n }\n if (typeof this.showCustomers !== 'undefined') {\n toReturn['showCustomers'] = this.showCustomers;\n }\n if (typeof this.showRecentActivity !== 'undefined') {\n toReturn['showRecentActivity'] = this.showRecentActivity;\n }\n if (typeof this.showInboxMessage !== 'undefined') {\n toReturn['showInboxMessage'] = this.showInboxMessage;\n }\n if (typeof this.showCustomerJourney !== 'undefined') {\n toReturn['showCustomerJourney'] = this.showCustomerJourney;\n }\n if (typeof this.showOnboardingVideo !== 'undefined') {\n toReturn['showOnboardingVideo'] = this.showOnboardingVideo;\n }\n if (typeof this.onboardingVideoUrl !== 'undefined') {\n toReturn['onboardingVideoUrl'] = this.onboardingVideoUrl;\n }\n if (typeof this.showMarketingFunnel !== 'undefined') {\n toReturn['showMarketingFunnel'] = this.showMarketingFunnel;\n }\n if (typeof this.showCustomGuides !== 'undefined') {\n toReturn['showCustomGuides'] = this.showCustomGuides;\n }\n if (typeof this.customGuidesTags !== 'undefined') {\n toReturn['customGuidesTags'] = this.customGuidesTags;\n }\n if (typeof this.customGuidesUrl !== 'undefined') {\n toReturn['customGuidesUrl'] = this.customGuidesUrl;\n }\n if (typeof this.sendOnboardingCampaign !== 'undefined') {\n toReturn['sendOnboardingCampaign'] = this.sendOnboardingCampaign;\n }\n if (typeof this.onboardingCampaignId !== 'undefined') {\n toReturn['onboardingCampaignId'] = this.onboardingCampaignId;\n }\n if (typeof this.showRecommendationsBanner !== 'undefined') {\n toReturn['showRecommendationsBanner'] = this.showRecommendationsBanner;\n }\n if (typeof this.singleLocationDefaultTimeRange !== 'undefined') {\n toReturn['singleLocationDefaultTimeRange'] = this.singleLocationDefaultTimeRange;\n }\n if (typeof this.showGoogleSearchConsoleCta !== 'undefined') {\n toReturn['showGoogleSearchConsoleCta'] = this.showGoogleSearchConsoleCta;\n }\n if (typeof this.isBusinessProfileEditable !== 'undefined') {\n toReturn['isBusinessProfileEditable'] = this.isBusinessProfileEditable;\n }\n if (typeof this.allowSmbChatWithPartner !== 'undefined') {\n toReturn['allowSmbChatWithPartner'] = this.allowSmbChatWithPartner;\n }\n if (typeof this.showWordPressSalesOrders !== 'undefined') {\n toReturn['showWordPressSalesOrders'] = this.showWordPressSalesOrders;\n }\n if (typeof this.globalNotificationExpiryTime !== 'undefined' && this.globalNotificationExpiryTime !== null) {\n toReturn['globalNotificationExpiryTime'] = 'toApiJson' in this.globalNotificationExpiryTime ? this.globalNotificationExpiryTime.toApiJson() : this.globalNotificationExpiryTime;\n }\n if (typeof this.showListingScore !== 'undefined') {\n toReturn['showListingScore'] = this.showListingScore;\n }\n if (typeof this.multiLocationDefaultTimeRange !== 'undefined') {\n toReturn['multiLocationDefaultTimeRange'] = this.multiLocationDefaultTimeRange;\n }\n if (typeof this.hideCreateAccount !== 'undefined') {\n toReturn['hideCreateAccount'] = this.hideCreateAccount;\n }\n if (typeof this.notificationsEnabled !== 'undefined') {\n toReturn['notificationsEnabled'] = this.notificationsEnabled;\n }\n if (typeof this.showListingScoreAsPercent !== 'undefined') {\n toReturn['showListingScoreAsPercent'] = this.showListingScoreAsPercent;\n }\n if (typeof this.customGuidesInlineTitle !== 'undefined') {\n toReturn['customGuidesInlineTitle'] = this.customGuidesInlineTitle;\n }\n if (typeof this.allowExportReviews !== 'undefined') {\n toReturn['allowExportReviews'] = this.allowExportReviews;\n }\n if (typeof this.decoupleProductAndReportAccess !== 'undefined') {\n toReturn['decoupleProductAndReportAccess'] = this.decoupleProductAndReportAccess;\n }\n if (typeof this.showCrmCompanies !== 'undefined') {\n toReturn['showCrmCompanies'] = this.showCrmCompanies;\n }\n if (typeof this.showCrmTasks !== 'undefined') {\n toReturn['showCrmTasks'] = this.showCrmTasks;\n }\n if (typeof this.showCustomForms !== 'undefined') {\n toReturn['showCustomForms'] = this.showCustomForms;\n }\n return toReturn;\n }\n}\nclass BusinessCenterMarketConfiguration {\n static fromProto(proto) {\n let m = new BusinessCenterMarketConfiguration();\n m = Object.assign(m, proto);\n if (proto.referralLink) {\n m.referralLink = ReferralLink.fromProto(proto.referralLink);\n }\n if (proto.singleLocationDefaultTimeRange) {\n m.singleLocationDefaultTimeRange = enumStringToValue$c(TimeRange, proto.singleLocationDefaultTimeRange);\n }\n if (proto.globalNotificationExpiryTime) {\n m.globalNotificationExpiryTime = new Date(proto.globalNotificationExpiryTime);\n }\n if (proto.multiLocationDefaultTimeRange) {\n m.multiLocationDefaultTimeRange = enumStringToValue$c(TimeRange, proto.multiLocationDefaultTimeRange);\n }\n if (proto.editUserProfileLocation) {\n m.editUserProfileLocation = enumStringToValue$c(EditUserProfileLocation, proto.editUserProfileLocation);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.showContentLibrary !== 'undefined') {\n toReturn['showContentLibrary'] = this.showContentLibrary;\n }\n if (typeof this.showLmiDashboard !== 'undefined') {\n toReturn['showLmiDashboard'] = this.showLmiDashboard;\n }\n if (typeof this.showExecutiveReport !== 'undefined') {\n toReturn['showExecutiveReport'] = this.showExecutiveReport;\n }\n if (typeof this.showStore !== 'undefined') {\n toReturn['showStore'] = this.showStore;\n }\n if (typeof this.cancellationNotificationEmail !== 'undefined') {\n toReturn['cancellationNotificationEmail'] = this.cancellationNotificationEmail;\n }\n if (typeof this.globalNotification !== 'undefined') {\n toReturn['globalNotification'] = this.globalNotification;\n }\n if (typeof this.businessAppBranding !== 'undefined') {\n toReturn['businessAppBranding'] = this.businessAppBranding;\n }\n if (typeof this.accessTrialProducts !== 'undefined') {\n toReturn['accessTrialProducts'] = this.accessTrialProducts;\n }\n if (typeof this.hideQuickbooksConnector !== 'undefined') {\n toReturn['hideQuickbooksConnector'] = this.hideQuickbooksConnector;\n }\n if (typeof this.hideSmbAcademy !== 'undefined') {\n toReturn['hideSmbAcademy'] = this.hideSmbAcademy;\n }\n if (typeof this.showReviewGradeForSmbExecReport !== 'undefined') {\n toReturn['showReviewGradeForSmbExecReport'] = this.showReviewGradeForSmbExecReport;\n }\n if (typeof this.showGetStarted !== 'undefined') {\n toReturn['showGetStarted'] = this.showGetStarted;\n }\n if (typeof this.meetingSchedulerBusinessApp !== 'undefined') {\n toReturn['meetingSchedulerBusinessApp'] = this.meetingSchedulerBusinessApp;\n }\n if (typeof this.showSocialGradeForSmbExecReport !== 'undefined') {\n toReturn['showSocialGradeForSmbExecReport'] = this.showSocialGradeForSmbExecReport;\n }\n if (typeof this.showInviteTeam !== 'undefined') {\n toReturn['showInviteTeam'] = this.showInviteTeam;\n }\n if (typeof this.showFulfillment !== 'undefined') {\n toReturn['showFulfillment'] = this.showFulfillment;\n }\n if (typeof this.showOrderPage !== 'undefined') {\n toReturn['showOrderPage'] = this.showOrderPage;\n }\n if (typeof this.showInvoices !== 'undefined') {\n toReturn['showInvoices'] = this.showInvoices;\n }\n if (typeof this.showDashboard !== 'undefined') {\n toReturn['showDashboard'] = this.showDashboard;\n }\n if (typeof this.showFiles !== 'undefined') {\n toReturn['showFiles'] = this.showFiles;\n }\n if (typeof this.showMyProducts !== 'undefined') {\n toReturn['showMyProducts'] = this.showMyProducts;\n }\n if (typeof this.showCustomers !== 'undefined') {\n toReturn['showCustomers'] = this.showCustomers;\n }\n if (typeof this.showRecentActivity !== 'undefined') {\n toReturn['showRecentActivity'] = this.showRecentActivity;\n }\n if (typeof this.showInboxMessage !== 'undefined') {\n toReturn['showInboxMessage'] = this.showInboxMessage;\n }\n if (typeof this.referralLink !== 'undefined' && this.referralLink !== null) {\n toReturn['referralLink'] = 'toApiJson' in this.referralLink ? this.referralLink.toApiJson() : this.referralLink;\n }\n if (typeof this.showCustomerJourney !== 'undefined') {\n toReturn['showCustomerJourney'] = this.showCustomerJourney;\n }\n if (typeof this.showOnboardingVideo !== 'undefined') {\n toReturn['showOnboardingVideo'] = this.showOnboardingVideo;\n }\n if (typeof this.onboardingVideoUrl !== 'undefined') {\n toReturn['onboardingVideoUrl'] = this.onboardingVideoUrl;\n }\n if (typeof this.showMarketingFunnel !== 'undefined') {\n toReturn['showMarketingFunnel'] = this.showMarketingFunnel;\n }\n if (typeof this.showCustomGuides !== 'undefined') {\n toReturn['showCustomGuides'] = this.showCustomGuides;\n }\n if (typeof this.customGuidesTags !== 'undefined') {\n toReturn['customGuidesTags'] = this.customGuidesTags;\n }\n if (typeof this.customGuidesUrl !== 'undefined') {\n toReturn['customGuidesUrl'] = this.customGuidesUrl;\n }\n if (typeof this.sendOnboardingCampaign !== 'undefined') {\n toReturn['sendOnboardingCampaign'] = this.sendOnboardingCampaign;\n }\n if (typeof this.onboardingCampaignId !== 'undefined') {\n toReturn['onboardingCampaignId'] = this.onboardingCampaignId;\n }\n if (typeof this.showRecommendationsBanner !== 'undefined') {\n toReturn['showRecommendationsBanner'] = this.showRecommendationsBanner;\n }\n if (typeof this.singleLocationDefaultTimeRange !== 'undefined') {\n toReturn['singleLocationDefaultTimeRange'] = this.singleLocationDefaultTimeRange;\n }\n if (typeof this.showGoogleSearchConsoleCta !== 'undefined') {\n toReturn['showGoogleSearchConsoleCta'] = this.showGoogleSearchConsoleCta;\n }\n if (typeof this.isBusinessProfileEditable !== 'undefined') {\n toReturn['isBusinessProfileEditable'] = this.isBusinessProfileEditable;\n }\n if (typeof this.allowSmbChatWithPartner !== 'undefined') {\n toReturn['allowSmbChatWithPartner'] = this.allowSmbChatWithPartner;\n }\n if (typeof this.showWordPressSalesOrders !== 'undefined') {\n toReturn['showWordPressSalesOrders'] = this.showWordPressSalesOrders;\n }\n if (typeof this.globalNotificationExpiryTime !== 'undefined' && this.globalNotificationExpiryTime !== null) {\n toReturn['globalNotificationExpiryTime'] = 'toApiJson' in this.globalNotificationExpiryTime ? this.globalNotificationExpiryTime.toApiJson() : this.globalNotificationExpiryTime;\n }\n if (typeof this.showListingScore !== 'undefined') {\n toReturn['showListingScore'] = this.showListingScore;\n }\n if (typeof this.multiLocationDefaultTimeRange !== 'undefined') {\n toReturn['multiLocationDefaultTimeRange'] = this.multiLocationDefaultTimeRange;\n }\n if (typeof this.businessAppName !== 'undefined') {\n toReturn['businessAppName'] = this.businessAppName;\n }\n if (typeof this.hideCreateAccount !== 'undefined') {\n toReturn['hideCreateAccount'] = this.hideCreateAccount;\n }\n if (typeof this.notificationsEnabled !== 'undefined') {\n toReturn['notificationsEnabled'] = this.notificationsEnabled;\n }\n if (typeof this.editUserProfileLocation !== 'undefined') {\n toReturn['editUserProfileLocation'] = this.editUserProfileLocation;\n }\n if (typeof this.editUserProfileCustomLink !== 'undefined') {\n toReturn['editUserProfileCustomLink'] = this.editUserProfileCustomLink;\n }\n if (typeof this.editUserProfileName !== 'undefined') {\n toReturn['editUserProfileName'] = this.editUserProfileName;\n }\n if (typeof this.showListingScoreAsPercent !== 'undefined') {\n toReturn['showListingScoreAsPercent'] = this.showListingScoreAsPercent;\n }\n if (typeof this.customGuidesInlineTitle !== 'undefined') {\n toReturn['customGuidesInlineTitle'] = this.customGuidesInlineTitle;\n }\n if (typeof this.allowExportReviews !== 'undefined') {\n toReturn['allowExportReviews'] = this.allowExportReviews;\n }\n if (typeof this.decoupleProductAndReportAccess !== 'undefined') {\n toReturn['decoupleProductAndReportAccess'] = this.decoupleProductAndReportAccess;\n }\n if (typeof this.showCrmCompanies !== 'undefined') {\n toReturn['showCrmCompanies'] = this.showCrmCompanies;\n }\n if (typeof this.showCrmTasks !== 'undefined') {\n toReturn['showCrmTasks'] = this.showCrmTasks;\n }\n if (typeof this.showCustomForms !== 'undefined') {\n toReturn['showCustomForms'] = this.showCustomForms;\n }\n return toReturn;\n }\n}\nclass GetBusinessCenterMarketConfigurationRequest {\n static fromProto(proto) {\n let m = new GetBusinessCenterMarketConfigurationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n return toReturn;\n }\n}\nclass GetBusinessCenterMarketConfigurationResponse {\n static fromProto(proto) {\n let m = new GetBusinessCenterMarketConfigurationResponse();\n m = Object.assign(m, proto);\n if (proto.marketConfiguration) {\n m.marketConfiguration = BusinessCenterMarketConfiguration.fromProto(proto.marketConfiguration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.marketConfiguration !== 'undefined' && this.marketConfiguration !== null) {\n toReturn['marketConfiguration'] = 'toApiJson' in this.marketConfiguration ? this.marketConfiguration.toApiJson() : this.marketConfiguration;\n }\n return toReturn;\n }\n}\nclass ReferralLink {\n static fromProto(proto) {\n let m = new ReferralLink();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.longUrl !== 'undefined') {\n toReturn['longUrl'] = this.longUrl;\n }\n if (typeof this.shortenedUrl !== 'undefined') {\n toReturn['shortenedUrl'] = this.shortenedUrl;\n }\n return toReturn;\n }\n}\nclass SetBusinessCenterConfigRequest {\n static fromProto(proto) {\n let m = new SetBusinessCenterConfigRequest();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = BusinessCenterConfiguration.fromProto(proto.config);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.config !== 'undefined' && this.config !== null) {\n toReturn['config'] = 'toApiJson' in this.config ? this.config.toApiJson() : this.config;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass SetBusinessCenterConfigResponse {\n static fromProto(proto) {\n let m = new SetBusinessCenterConfigResponse();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = BusinessCenterConfiguration.fromProto(proto.config);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.config !== 'undefined' && this.config !== null) {\n toReturn['config'] = 'toApiJson' in this.config ? this.config.toApiJson() : this.config;\n }\n return toReturn;\n }\n}\nclass UpdateBusinessCenterMarketConfigurationRequest {\n static fromProto(proto) {\n let m = new UpdateBusinessCenterMarketConfigurationRequest();\n m = Object.assign(m, proto);\n if (proto.marketConfiguration) {\n m.marketConfiguration = BusinessCenterMarketConfiguration.fromProto(proto.marketConfiguration);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.marketConfiguration !== 'undefined' && this.marketConfiguration !== null) {\n toReturn['marketConfiguration'] = 'toApiJson' in this.marketConfiguration ? this.marketConfiguration.toApiJson() : this.marketConfiguration;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass UpdateBusinessCenterMarketConfigurationResponse {\n static fromProto(proto) {\n let m = new UpdateBusinessCenterMarketConfigurationResponse();\n m = Object.assign(m, proto);\n if (proto.marketConfiguration) {\n m.marketConfiguration = BusinessCenterMarketConfiguration.fromProto(proto.marketConfiguration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.marketConfiguration !== 'undefined' && this.marketConfiguration !== null) {\n toReturn['marketConfiguration'] = 'toApiJson' in this.marketConfiguration ? this.marketConfiguration.toApiJson() : this.marketConfiguration;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$b(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AppIdentifier {\n static fromProto(proto) {\n let m = new AppIdentifier();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.editionId !== 'undefined') {\n toReturn['editionId'] = this.editionId;\n }\n return toReturn;\n }\n}\nclass CompareSubscriptionTiersRequest {\n static fromProto(proto) {\n let m = new CompareSubscriptionTiersRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionTierIds !== 'undefined') {\n toReturn['subscriptionTierIds'] = this.subscriptionTierIds;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass CompareSubscriptionTiersResponse {\n static fromProto(proto) {\n let m = new CompareSubscriptionTiersResponse();\n m = Object.assign(m, proto);\n if (proto.rows) {\n m.rows = proto.rows.map(ComparisonRow.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.rows !== 'undefined' && this.rows !== null) {\n toReturn['rows'] = 'toApiJson' in this.rows ? this.rows.toApiJson() : this.rows;\n }\n return toReturn;\n }\n}\nclass ComparisonCell {\n static fromProto(proto) {\n let m = new ComparisonCell();\n m = Object.assign(m, proto);\n if (proto.count) {\n m.count = CountConstraint.fromProto(proto.count);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.count !== 'undefined' && this.count !== null) {\n toReturn['count'] = 'toApiJson' in this.count ? this.count.toApiJson() : this.count;\n }\n if (typeof this.isIncluded !== 'undefined') {\n toReturn['isIncluded'] = this.isIncluded;\n }\n if (typeof this.isLimited !== 'undefined') {\n toReturn['isLimited'] = this.isLimited;\n }\n return toReturn;\n }\n}\nclass ComparisonRow {\n static fromProto(proto) {\n let m = new ComparisonRow();\n m = Object.assign(m, proto);\n if (proto.cells) {\n m.cells = proto.cells.map(ComparisonCell.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.rowId !== 'undefined') {\n toReturn['rowId'] = this.rowId;\n }\n if (typeof this.sectionId !== 'undefined') {\n toReturn['sectionId'] = this.sectionId;\n }\n if (typeof this.cells !== 'undefined' && this.cells !== null) {\n toReturn['cells'] = 'toApiJson' in this.cells ? this.cells.toApiJson() : this.cells;\n }\n return toReturn;\n }\n}\nclass CountConstraint {\n static fromProto(proto) {\n let m = new CountConstraint();\n m = Object.assign(m, proto);\n if (proto.included) {\n m.included = parseInt(proto.included, 10);\n }\n if (proto.additionalCost) {\n m.additionalCost = TierCostConstraint.fromProto(proto.additionalCost);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.included !== 'undefined') {\n toReturn['included'] = this.included;\n }\n if (typeof this.additionalCost !== 'undefined' && this.additionalCost !== null) {\n toReturn['additionalCost'] = 'toApiJson' in this.additionalCost ? this.additionalCost.toApiJson() : this.additionalCost;\n }\n return toReturn;\n }\n}\nclass GetSubscriptionTierRequest {\n static fromProto(proto) {\n let m = new GetSubscriptionTierRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetSubscriptionTierResponse {\n static fromProto(proto) {\n let m = new GetSubscriptionTierResponse();\n m = Object.assign(m, proto);\n if (proto.subscriptionTier) {\n m.subscriptionTier = SubscriptionTier.fromProto(proto.subscriptionTier);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionTier !== 'undefined' && this.subscriptionTier !== null) {\n toReturn['subscriptionTier'] = 'toApiJson' in this.subscriptionTier ? this.subscriptionTier.toApiJson() : this.subscriptionTier;\n }\n return toReturn;\n }\n}\nclass ListSubscriptionTiersRequest {\n static fromProto(proto) {\n let m = new ListSubscriptionTiersRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n if (proto.cursor) {\n m.cursor = parseInt(proto.cursor, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass ListSubscriptionTiersResponse {\n static fromProto(proto) {\n let m = new ListSubscriptionTiersResponse();\n m = Object.assign(m, proto);\n if (proto.subscriptionTier) {\n m.subscriptionTier = proto.subscriptionTier.map(SubscriptionTier.fromProto);\n }\n if (proto.cursor) {\n m.cursor = parseInt(proto.cursor, 10);\n }\n if (proto.totalResults) {\n m.totalResults = parseInt(proto.totalResults, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionTier !== 'undefined' && this.subscriptionTier !== null) {\n toReturn['subscriptionTier'] = 'toApiJson' in this.subscriptionTier ? this.subscriptionTier.toApiJson() : this.subscriptionTier;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.totalResults !== 'undefined') {\n toReturn['totalResults'] = this.totalResults;\n }\n return toReturn;\n }\n}\nclass SubscriptionTier {\n static fromProto(proto) {\n let m = new SubscriptionTier();\n m = Object.assign(m, proto);\n if (proto.rank) {\n m.rank = parseInt(proto.rank, 10);\n }\n if (proto.usageLimits) {\n m.usageLimits = TierUsageLimits.fromProto(proto.usageLimits);\n }\n if (proto.subscriptionUpdate) {\n m.subscriptionUpdate = SubscriptionUpdate.fromProto(proto.subscriptionUpdate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.partnerModelLevel !== 'undefined') {\n toReturn['partnerModelLevel'] = this.partnerModelLevel;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n if (typeof this.tierVersion !== 'undefined') {\n toReturn['tierVersion'] = this.tierVersion;\n }\n if (typeof this.archived !== 'undefined') {\n toReturn['archived'] = this.archived;\n }\n if (typeof this.enabledFeatures !== 'undefined') {\n toReturn['enabledFeatures'] = this.enabledFeatures;\n }\n if (typeof this.allowTrials !== 'undefined') {\n toReturn['allowTrials'] = this.allowTrials;\n }\n if (typeof this.rank !== 'undefined') {\n toReturn['rank'] = this.rank;\n }\n if (typeof this.usageLimits !== 'undefined' && this.usageLimits !== null) {\n toReturn['usageLimits'] = 'toApiJson' in this.usageLimits ? this.usageLimits.toApiJson() : this.usageLimits;\n }\n if (typeof this.subscriptionUpdate !== 'undefined' && this.subscriptionUpdate !== null) {\n toReturn['subscriptionUpdate'] = 'toApiJson' in this.subscriptionUpdate ? this.subscriptionUpdate.toApiJson() : this.subscriptionUpdate;\n }\n if (typeof this.allowSelfUpgrade !== 'undefined') {\n toReturn['allowSelfUpgrade'] = this.allowSelfUpgrade;\n }\n if (typeof this.allowFreeTrials !== 'undefined') {\n toReturn['allowFreeTrials'] = this.allowFreeTrials;\n }\n return toReturn;\n }\n}\nclass SubscriptionUpdate {\n static fromProto(proto) {\n let m = new SubscriptionUpdate();\n m = Object.assign(m, proto);\n if (proto.salesOrderAppId) {\n m.salesOrderAppId = AppIdentifier.fromProto(proto.salesOrderAppId);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.salesOrderAppId !== 'undefined' && this.salesOrderAppId !== null) {\n toReturn['salesOrderAppId'] = 'toApiJson' in this.salesOrderAppId ? this.salesOrderAppId.toApiJson() : this.salesOrderAppId;\n }\n if (typeof this.subscriptionSkus !== 'undefined') {\n toReturn['subscriptionSkus'] = this.subscriptionSkus;\n }\n if (typeof this.oneTimeSubscriptionSkus !== 'undefined') {\n toReturn['oneTimeSubscriptionSkus'] = this.oneTimeSubscriptionSkus;\n }\n if (typeof this.monthlySubscriptionSkus !== 'undefined') {\n toReturn['monthlySubscriptionSkus'] = this.monthlySubscriptionSkus;\n }\n return toReturn;\n }\n}\nclass TierCostConstraint {\n static fromProto(proto) {\n let m = new TierCostConstraint();\n m = Object.assign(m, proto);\n if (proto.cost) {\n m.cost = parseInt(proto.cost, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cost !== 'undefined') {\n toReturn['cost'] = this.cost;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.isFree !== 'undefined') {\n toReturn['isFree'] = this.isFree;\n }\n return toReturn;\n }\n}\nclass TierUsageLimits {\n static fromProto(proto) {\n let m = new TierUsageLimits();\n m = Object.assign(m, proto);\n if (proto.teamMembers) {\n m.teamMembers = parseInt(proto.teamMembers, 10);\n }\n if (proto.emailsPerMonth) {\n m.emailsPerMonth = parseInt(proto.emailsPerMonth, 10);\n }\n if (proto.annualFee) {\n m.annualFee = parseInt(proto.annualFee, 10);\n }\n if (proto.newSeatCost) {\n m.newSeatCost = parseInt(proto.newSeatCost, 10);\n }\n if (proto.wholesaleDiscount) {\n m.wholesaleDiscount = parseInt(proto.wholesaleDiscount, 10);\n }\n if (proto.snapshots) {\n m.snapshots = parseInt(proto.snapshots, 10);\n }\n if (proto.toolkits) {\n m.toolkits = parseInt(proto.toolkits, 10);\n }\n if (proto.toolkitData) {\n m.toolkitData = proto.toolkitData.map(ToolkitData.fromProto);\n }\n if (proto.monthlyFee) {\n m.monthlyFee = parseInt(proto.monthlyFee, 10);\n }\n if (proto.onboardingFee) {\n m.onboardingFee = parseInt(proto.onboardingFee, 10);\n }\n if (proto.automationsPerMonth) {\n m.automationsPerMonth = parseInt(proto.automationsPerMonth, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.teamMembers !== 'undefined') {\n toReturn['teamMembers'] = this.teamMembers;\n }\n if (typeof this.emailsPerMonth !== 'undefined') {\n toReturn['emailsPerMonth'] = this.emailsPerMonth;\n }\n if (typeof this.annualFee !== 'undefined') {\n toReturn['annualFee'] = this.annualFee;\n }\n if (typeof this.newSeatCost !== 'undefined') {\n toReturn['newSeatCost'] = this.newSeatCost;\n }\n if (typeof this.wholesaleDiscount !== 'undefined') {\n toReturn['wholesaleDiscount'] = this.wholesaleDiscount;\n }\n if (typeof this.snapshots !== 'undefined') {\n toReturn['snapshots'] = this.snapshots;\n }\n if (typeof this.toolkits !== 'undefined') {\n toReturn['toolkits'] = this.toolkits;\n }\n if (typeof this.toolkitData !== 'undefined' && this.toolkitData !== null) {\n toReturn['toolkitData'] = 'toApiJson' in this.toolkitData ? this.toolkitData.toApiJson() : this.toolkitData;\n }\n if (typeof this.monthlyFee !== 'undefined') {\n toReturn['monthlyFee'] = this.monthlyFee;\n }\n if (typeof this.onboardingFee !== 'undefined') {\n toReturn['onboardingFee'] = this.onboardingFee;\n }\n if (typeof this.automationsPerMonth !== 'undefined') {\n toReturn['automationsPerMonth'] = this.automationsPerMonth;\n }\n return toReturn;\n }\n}\nclass ToolkitData {\n static fromProto(proto) {\n let m = new ToolkitData();\n m = Object.assign(m, proto);\n if (proto.limit) {\n m.limit = parseInt(proto.limit, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.limit !== 'undefined') {\n toReturn['limit'] = this.limit;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$a(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CreateTermsOfServiceRequest {\n static fromProto(proto) {\n let m = new CreateTermsOfServiceRequest();\n m = Object.assign(m, proto);\n if (proto.termsOfService) {\n m.termsOfService = TermsOfService.fromProto(proto.termsOfService);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.termsOfService !== 'undefined' && this.termsOfService !== null) {\n toReturn['termsOfService'] = 'toApiJson' in this.termsOfService ? this.termsOfService.toApiJson() : this.termsOfService;\n }\n return toReturn;\n }\n}\nclass GetTermsOfServiceRequest {\n static fromProto(proto) {\n let m = new GetTermsOfServiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.feature !== 'undefined') {\n toReturn['feature'] = this.feature;\n }\n return toReturn;\n }\n}\nclass GetTermsOfServiceResponse {\n static fromProto(proto) {\n let m = new GetTermsOfServiceResponse();\n m = Object.assign(m, proto);\n if (proto.termsOfService) {\n m.termsOfService = TermsOfService.fromProto(proto.termsOfService);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.termsOfService !== 'undefined' && this.termsOfService !== null) {\n toReturn['termsOfService'] = 'toApiJson' in this.termsOfService ? this.termsOfService.toApiJson() : this.termsOfService;\n }\n return toReturn;\n }\n}\nclass TermsOfService {\n static fromProto(proto) {\n let m = new TermsOfService();\n m = Object.assign(m, proto);\n if (proto.createdOn) {\n m.createdOn = new Date(proto.createdOn);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.termsOfService !== 'undefined') {\n toReturn['termsOfService'] = this.termsOfService;\n }\n if (typeof this.product !== 'undefined') {\n toReturn['product'] = this.product;\n }\n if (typeof this.language !== 'undefined') {\n toReturn['language'] = this.language;\n }\n if (typeof this.createdOn !== 'undefined' && this.createdOn !== null) {\n toReturn['createdOn'] = 'toApiJson' in this.createdOn ? this.createdOn.toApiJson() : this.createdOn;\n }\n if (typeof this.feature !== 'undefined') {\n toReturn['feature'] = this.feature;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$9(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass GetUserAgreementTermsOfServiceRequest {\n static fromProto(proto) {\n let m = new GetUserAgreementTermsOfServiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.feature !== 'undefined') {\n toReturn['feature'] = this.feature;\n }\n return toReturn;\n }\n}\nclass GetUserAgreementTermsOfServiceResponse {\n static fromProto(proto) {\n let m = new GetUserAgreementTermsOfServiceResponse();\n m = Object.assign(m, proto);\n if (proto.userAgreementTermsOfService) {\n m.userAgreementTermsOfService = UserAgreementTermsOfService.fromProto(proto.userAgreementTermsOfService);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userAgreementTermsOfService !== 'undefined' && this.userAgreementTermsOfService !== null) {\n toReturn['userAgreementTermsOfService'] = 'toApiJson' in this.userAgreementTermsOfService ? this.userAgreementTermsOfService.toApiJson() : this.userAgreementTermsOfService;\n }\n return toReturn;\n }\n}\nclass SetUserAgreementTermsOfServiceRequest {\n static fromProto(proto) {\n let m = new SetUserAgreementTermsOfServiceRequest();\n m = Object.assign(m, proto);\n if (proto.userAgreementTermsOfService) {\n m.userAgreementTermsOfService = UserAgreementTermsOfService.fromProto(proto.userAgreementTermsOfService);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userAgreementTermsOfService !== 'undefined' && this.userAgreementTermsOfService !== null) {\n toReturn['userAgreementTermsOfService'] = 'toApiJson' in this.userAgreementTermsOfService ? this.userAgreementTermsOfService.toApiJson() : this.userAgreementTermsOfService;\n }\n return toReturn;\n }\n}\nclass UserAgreementTermsOfService {\n static fromProto(proto) {\n let m = new UserAgreementTermsOfService();\n m = Object.assign(m, proto);\n if (proto.acceptedAt) {\n m.acceptedAt = new Date(proto.acceptedAt);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.accepted !== 'undefined') {\n toReturn['accepted'] = this.accepted;\n }\n if (typeof this.acceptedAt !== 'undefined' && this.acceptedAt !== null) {\n toReturn['acceptedAt'] = 'toApiJson' in this.acceptedAt ? this.acceptedAt.toApiJson() : this.acceptedAt;\n }\n if (typeof this.feature !== 'undefined') {\n toReturn['feature'] = this.feature;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$8(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass DeleteWizardStatusRequest {\n static fromProto(proto) {\n let m = new DeleteWizardStatusRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n return toReturn;\n }\n}\nclass GetWizardStatusRequest {\n static fromProto(proto) {\n let m = new GetWizardStatusRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n return toReturn;\n }\n}\nclass GetWizardStatusResponse {\n static fromProto(proto) {\n let m = new GetWizardStatusResponse();\n m = Object.assign(m, proto);\n if (proto.wizardStatus) {\n m.wizardStatus = WizardStatus.fromProto(proto.wizardStatus);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.wizardStatus !== 'undefined' && this.wizardStatus !== null) {\n toReturn['wizardStatus'] = 'toApiJson' in this.wizardStatus ? this.wizardStatus.toApiJson() : this.wizardStatus;\n }\n return toReturn;\n }\n}\nclass ListWizardStatusRequest {\n static fromProto(proto) {\n let m = new ListWizardStatusRequest();\n m = Object.assign(m, proto);\n if (proto.paging) {\n m.paging = PagingRequestMetadata.fromProto(proto.paging);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.paging !== 'undefined' && this.paging !== null) {\n toReturn['paging'] = 'toApiJson' in this.paging ? this.paging.toApiJson() : this.paging;\n }\n return toReturn;\n }\n}\nclass ListWizardStatusResponse {\n static fromProto(proto) {\n let m = new ListWizardStatusResponse();\n m = Object.assign(m, proto);\n if (proto.wizardStatuses) {\n m.wizardStatuses = proto.wizardStatuses.map(WizardStatus.fromProto);\n }\n if (proto.paging) {\n m.paging = PagedResponseData.fromProto(proto.paging);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.wizardStatuses !== 'undefined' && this.wizardStatuses !== null) {\n toReturn['wizardStatuses'] = 'toApiJson' in this.wizardStatuses ? this.wizardStatuses.toApiJson() : this.wizardStatuses;\n }\n if (typeof this.paging !== 'undefined' && this.paging !== null) {\n toReturn['paging'] = 'toApiJson' in this.paging ? this.paging.toApiJson() : this.paging;\n }\n return toReturn;\n }\n}\nclass PagedResponseData {\n static fromProto(proto) {\n let m = new PagedResponseData();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass PagingRequestMetadata {\n static fromProto(proto) {\n let m = new PagingRequestMetadata();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass PagingResponseMetadata {\n static fromProto(proto) {\n let m = new PagingResponseMetadata();\n m = Object.assign(m, proto);\n if (proto.pageNumber) {\n m.pageNumber = parseInt(proto.pageNumber, 10);\n }\n if (proto.totalResults) {\n m.totalResults = parseInt(proto.totalResults, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.pageNumber !== 'undefined') {\n toReturn['pageNumber'] = this.pageNumber;\n }\n if (typeof this.totalResults !== 'undefined') {\n toReturn['totalResults'] = this.totalResults;\n }\n return toReturn;\n }\n}\nclass ReplaceWizardStatusRequest {\n static fromProto(proto) {\n let m = new ReplaceWizardStatusRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.activeStep !== 'undefined') {\n toReturn['activeStep'] = this.activeStep;\n }\n return toReturn;\n }\n}\nclass WizardStatus {\n static fromProto(proto) {\n let m = new WizardStatus();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.activeStep !== 'undefined') {\n toReturn['activeStep'] = this.activeStep;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$7(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CustomerSurveyAddFeedbackRequest {\n static fromProto(proto) {\n let m = new CustomerSurveyAddFeedbackRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.customerSurveyResponseId !== 'undefined') {\n toReturn['customerSurveyResponseId'] = this.customerSurveyResponseId;\n }\n if (typeof this.feedback !== 'undefined') {\n toReturn['feedback'] = this.feedback;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n return toReturn;\n }\n}\nclass CustomerSurveyListResponsesRequest {\n static fromProto(proto) {\n let m = new CustomerSurveyListResponsesRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = CustomerSurveyPagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass CustomerSurveyListResponsesResponse {\n static fromProto(proto) {\n let m = new CustomerSurveyListResponsesResponse();\n m = Object.assign(m, proto);\n if (proto.responses) {\n m.responses = proto.responses.map(CustomerSurveyResponse.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = CustomerSurveyPagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.responses !== 'undefined' && this.responses !== null) {\n toReturn['responses'] = 'toApiJson' in this.responses ? this.responses.toApiJson() : this.responses;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass CustomerSurveyPagedRequestOptions {\n static fromProto(proto) {\n let m = new CustomerSurveyPagedRequestOptions();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass CustomerSurveyPagedResponseMetadata {\n static fromProto(proto) {\n let m = new CustomerSurveyPagedResponseMetadata();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass CustomerSurveyRespondRequest {\n static fromProto(proto) {\n let m = new CustomerSurveyRespondRequest();\n m = Object.assign(m, proto);\n if (proto.rating) {\n m.rating = parseInt(proto.rating, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.rating !== 'undefined') {\n toReturn['rating'] = this.rating;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n return toReturn;\n }\n}\nclass CustomerSurveyRespondResponse {\n static fromProto(proto) {\n let m = new CustomerSurveyRespondResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.customerSurveyResponseId !== 'undefined') {\n toReturn['customerSurveyResponseId'] = this.customerSurveyResponseId;\n }\n return toReturn;\n }\n}\nclass CustomerSurveyResponse {\n static fromProto(proto) {\n let m = new CustomerSurveyResponse();\n m = Object.assign(m, proto);\n if (proto.rating) {\n m.rating = parseInt(proto.rating, 10);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.customerSurveyResponseId !== 'undefined') {\n toReturn['customerSurveyResponseId'] = this.customerSurveyResponseId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.rating !== 'undefined') {\n toReturn['rating'] = this.rating;\n }\n if (typeof this.feedback !== 'undefined') {\n toReturn['feedback'] = this.feedback;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$6(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass BrandingV2 {\n static fromProto(proto) {\n let m = new BrandingV2();\n m = Object.assign(m, proto);\n if (proto.uiTheme) {\n m.uiTheme = enumStringToValue$6(UITheme, proto.uiTheme);\n }\n if (proto.marketOverrides) {\n m.marketOverrides = proto.marketOverrides.map(v => enumStringToValue$6(Field, v));\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.faviconUrl !== 'undefined') {\n toReturn['faviconUrl'] = this.faviconUrl;\n }\n if (typeof this.shortcutIconUrl !== 'undefined') {\n toReturn['shortcutIconUrl'] = this.shortcutIconUrl;\n }\n if (typeof this.logoUrl !== 'undefined') {\n toReturn['logoUrl'] = this.logoUrl;\n }\n if (typeof this.uiTheme !== 'undefined') {\n toReturn['uiTheme'] = this.uiTheme;\n }\n if (typeof this.primaryColor !== 'undefined') {\n toReturn['primaryColor'] = this.primaryColor;\n }\n if (typeof this.marketOverrides !== 'undefined') {\n toReturn['marketOverrides'] = this.marketOverrides;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$5(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AcquisitionData {\n static fromProto(proto) {\n let m = new AcquisitionData();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.origin !== 'undefined') {\n toReturn['origin'] = this.origin;\n }\n if (typeof this.visitorIdCookie !== 'undefined') {\n toReturn['visitorIdCookie'] = this.visitorIdCookie;\n }\n if (typeof this.conquerLocalAcademyVisitorId !== 'undefined') {\n toReturn['conquerLocalAcademyVisitorId'] = this.conquerLocalAcademyVisitorId;\n }\n if (typeof this.conversionPoint !== 'undefined') {\n toReturn['conversionPoint'] = this.conversionPoint;\n }\n if (typeof this.numberOfEmployees !== 'undefined') {\n toReturn['numberOfEmployees'] = this.numberOfEmployees;\n }\n if (typeof this.affiliateId !== 'undefined') {\n toReturn['affiliateId'] = this.affiliateId;\n }\n if (typeof this.referrerId !== 'undefined') {\n toReturn['referrerId'] = this.referrerId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n if (typeof this.clearbitCollectedSignupDataId !== 'undefined') {\n toReturn['clearbitCollectedSignupDataId'] = this.clearbitCollectedSignupDataId;\n }\n return toReturn;\n }\n}\nclass GetAcquisitionDataRequest {\n static fromProto(proto) {\n let m = new GetAcquisitionDataRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetAcquisitionDataResponse {\n static fromProto(proto) {\n let m = new GetAcquisitionDataResponse();\n m = Object.assign(m, proto);\n if (proto.acquisitionData) {\n m.acquisitionData = AcquisitionData.fromProto(proto.acquisitionData);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.acquisitionData !== 'undefined' && this.acquisitionData !== null) {\n toReturn['acquisitionData'] = 'toApiJson' in this.acquisitionData ? this.acquisitionData.toApiJson() : this.acquisitionData;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$4(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass GetFreeTrialRequest {\n static fromProto(proto) {\n let m = new GetFreeTrialRequest();\n m = Object.assign(m, proto);\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass GetFreeTrialResponse {\n static fromProto(proto) {\n let m = new GetFreeTrialResponse();\n m = Object.assign(m, proto);\n if (proto.trialStart) {\n m.trialStart = new Date(proto.trialStart);\n }\n if (proto.trialEnd) {\n m.trialEnd = new Date(proto.trialEnd);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.trialStart !== 'undefined' && this.trialStart !== null) {\n toReturn['trialStart'] = 'toApiJson' in this.trialStart ? this.trialStart.toApiJson() : this.trialStart;\n }\n if (typeof this.trialEnd !== 'undefined' && this.trialEnd !== null) {\n toReturn['trialEnd'] = 'toApiJson' in this.trialEnd ? this.trialEnd.toApiJson() : this.trialEnd;\n }\n if (typeof this.onFreeTrial !== 'undefined') {\n toReturn['onFreeTrial'] = this.onFreeTrial;\n }\n if (typeof this.actionRequiredStatus !== 'undefined') {\n toReturn['actionRequiredStatus'] = this.actionRequiredStatus;\n }\n return toReturn;\n }\n}\nclass GetFreeTrialStatusRequest {\n static fromProto(proto) {\n let m = new GetFreeTrialStatusRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetFreeTrialStatusResponse {\n static fromProto(proto) {\n let m = new GetFreeTrialStatusResponse();\n m = Object.assign(m, proto);\n if (proto.freeTrialEnd) {\n m.freeTrialEnd = new Date(proto.freeTrialEnd);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.onFreeTrial !== 'undefined') {\n toReturn['onFreeTrial'] = this.onFreeTrial;\n }\n if (typeof this.freeTrialEnd !== 'undefined' && this.freeTrialEnd !== null) {\n toReturn['freeTrialEnd'] = 'toApiJson' in this.freeTrialEnd ? this.freeTrialEnd.toApiJson() : this.freeTrialEnd;\n }\n return toReturn;\n }\n}\nclass UpdateCancelFreeTrialReasonMutation {\n static fromProto(proto) {\n let m = new UpdateCancelFreeTrialReasonMutation();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.cancelReason !== 'undefined') {\n toReturn['cancelReason'] = this.cancelReason;\n }\n if (typeof this.additionalComment !== 'undefined') {\n toReturn['additionalComment'] = this.additionalComment;\n }\n return toReturn;\n }\n}\nclass UpdateFreeTrialActionRequiredStatusMutation {\n static fromProto(proto) {\n let m = new UpdateFreeTrialActionRequiredStatusMutation();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.actionRequiredStatus !== 'undefined') {\n toReturn['actionRequiredStatus'] = this.actionRequiredStatus;\n }\n return toReturn;\n }\n}\nclass UpdateFreeTrialMutation {\n static fromProto(proto) {\n let m = new UpdateFreeTrialMutation();\n m = Object.assign(m, proto);\n if (proto.cancelFreeTrialReason) {\n m.cancelFreeTrialReason = UpdateCancelFreeTrialReasonMutation.fromProto(proto.cancelFreeTrialReason);\n }\n if (proto.actionRequiredStatus) {\n m.actionRequiredStatus = UpdateFreeTrialActionRequiredStatusMutation.fromProto(proto.actionRequiredStatus);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cancelFreeTrialReason !== 'undefined' && this.cancelFreeTrialReason !== null) {\n toReturn['cancelFreeTrialReason'] = 'toApiJson' in this.cancelFreeTrialReason ? this.cancelFreeTrialReason.toApiJson() : this.cancelFreeTrialReason;\n }\n if (typeof this.actionRequiredStatus !== 'undefined' && this.actionRequiredStatus !== null) {\n toReturn['actionRequiredStatus'] = 'toApiJson' in this.actionRequiredStatus ? this.actionRequiredStatus.toApiJson() : this.actionRequiredStatus;\n }\n return toReturn;\n }\n}\nclass UpdateFreeTrialRequest {\n static fromProto(proto) {\n let m = new UpdateFreeTrialRequest();\n m = Object.assign(m, proto);\n if (proto.mutations) {\n m.mutations = proto.mutations.map(UpdateFreeTrialMutation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.mutations !== 'undefined' && this.mutations !== null) {\n toReturn['mutations'] = 'toApiJson' in this.mutations ? this.mutations.toApiJson() : this.mutations;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$3(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass PartnerModel {\n static fromProto(proto) {\n let m = new PartnerModel();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.subscriptionTierId !== 'undefined') {\n toReturn['subscriptionTierId'] = this.subscriptionTierId;\n }\n if (typeof this.premiumSupport !== 'undefined') {\n toReturn['premiumSupport'] = this.premiumSupport;\n }\n if (typeof this.standardPrioritySupport !== 'undefined') {\n toReturn['standardPrioritySupport'] = this.standardPrioritySupport;\n }\n if (typeof this.priorityChatSupport !== 'undefined') {\n toReturn['priorityChatSupport'] = this.priorityChatSupport;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.addressLineOne !== 'undefined') {\n toReturn['addressLineOne'] = this.addressLineOne;\n }\n if (typeof this.addressLineTwo !== 'undefined') {\n toReturn['addressLineTwo'] = this.addressLineTwo;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.stateCode !== 'undefined') {\n toReturn['stateCode'] = this.stateCode;\n }\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.postalCode !== 'undefined') {\n toReturn['postalCode'] = this.postalCode;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.phoneNumber !== 'undefined') {\n toReturn['phoneNumber'] = this.phoneNumber;\n }\n if (typeof this.website !== 'undefined') {\n toReturn['website'] = this.website;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$2(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass NavigationItem {\n static fromProto(proto) {\n let m = new NavigationItem();\n m = Object.assign(m, proto);\n if (proto.nestedTabs) {\n m.nestedTabs = proto.nestedTabs.map(NavigationItemChild.fromProto);\n }\n if (proto.badge) {\n m.badge = enumStringToValue$2(NavigationItemBadge, proto.badge);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.locked !== 'undefined') {\n toReturn['locked'] = this.locked;\n }\n if (typeof this.nestedTabs !== 'undefined' && this.nestedTabs !== null) {\n toReturn['nestedTabs'] = 'toApiJson' in this.nestedTabs ? this.nestedTabs.toApiJson() : this.nestedTabs;\n }\n if (typeof this.link !== 'undefined') {\n toReturn['link'] = this.link;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.tabId !== 'undefined') {\n toReturn['tabId'] = this.tabId;\n }\n if (typeof this.popOut !== 'undefined') {\n toReturn['popOut'] = this.popOut;\n }\n if (typeof this.ngRoute !== 'undefined') {\n toReturn['ngRoute'] = this.ngRoute;\n }\n if (typeof this.subsectionHeader !== 'undefined') {\n toReturn['subsectionHeader'] = this.subsectionHeader;\n }\n if (typeof this.svgIcon !== 'undefined') {\n toReturn['svgIcon'] = this.svgIcon;\n }\n if (typeof this.icon !== 'undefined') {\n toReturn['icon'] = this.icon;\n }\n if (typeof this.badge !== 'undefined') {\n toReturn['badge'] = this.badge;\n }\n return toReturn;\n }\n}\nclass NavigationItemChild {\n static fromProto(proto) {\n let m = new NavigationItemChild();\n m = Object.assign(m, proto);\n if (proto.badge) {\n m.badge = enumStringToValue$2(NavigationItemBadge, proto.badge);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.locked !== 'undefined') {\n toReturn['locked'] = this.locked;\n }\n if (typeof this.link !== 'undefined') {\n toReturn['link'] = this.link;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.tabId !== 'undefined') {\n toReturn['tabId'] = this.tabId;\n }\n if (typeof this.popOut !== 'undefined') {\n toReturn['popOut'] = this.popOut;\n }\n if (typeof this.ngRoute !== 'undefined') {\n toReturn['ngRoute'] = this.ngRoute;\n }\n if (typeof this.subsectionHeader !== 'undefined') {\n toReturn['subsectionHeader'] = this.subsectionHeader;\n }\n if (typeof this.svgIcon !== 'undefined') {\n toReturn['svgIcon'] = this.svgIcon;\n }\n if (typeof this.icon !== 'undefined') {\n toReturn['icon'] = this.icon;\n }\n if (typeof this.badge !== 'undefined') {\n toReturn['badge'] = this.badge;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$1(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass GetTaskManagerConfigRequest {\n static fromProto(proto) {\n let m = new GetTaskManagerConfigRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetTaskManagerConfigResponse {\n static fromProto(proto) {\n let m = new GetTaskManagerConfigResponse();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = TaskManagerConfiguration.fromProto(proto.config);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.config !== 'undefined' && this.config !== null) {\n toReturn['config'] = 'toApiJson' in this.config ? this.config.toApiJson() : this.config;\n }\n return toReturn;\n }\n}\nclass SetTaskManagerConfigRequest {\n static fromProto(proto) {\n let m = new SetTaskManagerConfigRequest();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = TaskManagerConfiguration.fromProto(proto.config);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.config !== 'undefined' && this.config !== null) {\n toReturn['config'] = 'toApiJson' in this.config ? this.config.toApiJson() : this.config;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass SetTaskManagerConfigResponse {\n static fromProto(proto) {\n let m = new SetTaskManagerConfigResponse();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = TaskManagerConfiguration.fromProto(proto.config);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.config !== 'undefined' && this.config !== null) {\n toReturn['config'] = 'toApiJson' in this.config ? this.config.toApiJson() : this.config;\n }\n return toReturn;\n }\n}\nclass TaskManagerConfiguration {\n static fromProto(proto) {\n let m = new TaskManagerConfiguration();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.tmShowInbox !== 'undefined') {\n toReturn['tmShowInbox'] = this.tmShowInbox;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ActivateAddonRequest {\n static fromProto(proto) {\n let m = new ActivateAddonRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n return toReturn;\n }\n}\nclass ActivateAddonResponse {\n static fromProto(proto) {\n let m = new ActivateAddonResponse();\n m = Object.assign(m, proto);\n if (proto.activation) {\n m.activation = AddonActivation.fromProto(proto.activation);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.activation !== 'undefined' && this.activation !== null) {\n toReturn['activation'] = 'toApiJson' in this.activation ? this.activation.toApiJson() : this.activation;\n }\n return toReturn;\n }\n}\nclass AddPartnerToWhitelistRequest {\n static fromProto(proto) {\n let m = new AddPartnerToWhitelistRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.featureFlagId !== 'undefined') {\n toReturn['featureFlagId'] = this.featureFlagId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass BrandingApp {\n static fromProto(proto) {\n let m = new BrandingApp();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n return toReturn;\n }\n}\nclass BrandingAppsEntry {\n static fromProto(proto) {\n let m = new BrandingAppsEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = BrandingApp.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass BrandingAssets {\n static fromProto(proto) {\n let m = new BrandingAssets();\n m = Object.assign(m, proto);\n if (proto.faviconUrl) {\n m.faviconUrl = URL.fromProto(proto.faviconUrl);\n }\n if (proto.shortcutIconUrl) {\n m.shortcutIconUrl = URL.fromProto(proto.shortcutIconUrl);\n }\n if (proto.logoUrl) {\n m.logoUrl = URL.fromProto(proto.logoUrl);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.faviconUrl !== 'undefined' && this.faviconUrl !== null) {\n toReturn['faviconUrl'] = 'toApiJson' in this.faviconUrl ? this.faviconUrl.toApiJson() : this.faviconUrl;\n }\n if (typeof this.shortcutIconUrl !== 'undefined' && this.shortcutIconUrl !== null) {\n toReturn['shortcutIconUrl'] = 'toApiJson' in this.shortcutIconUrl ? this.shortcutIconUrl.toApiJson() : this.shortcutIconUrl;\n }\n if (typeof this.logoUrl !== 'undefined' && this.logoUrl !== null) {\n toReturn['logoUrl'] = 'toApiJson' in this.logoUrl ? this.logoUrl.toApiJson() : this.logoUrl;\n }\n return toReturn;\n }\n}\nclass BatchGetFeatureFlagRequest {\n static fromProto(proto) {\n let m = new BatchGetFeatureFlagRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.ids !== 'undefined') {\n toReturn['ids'] = this.ids;\n }\n return toReturn;\n }\n}\nclass BatchGetFeatureFlagResponse {\n static fromProto(proto) {\n let m = new BatchGetFeatureFlagResponse();\n m = Object.assign(m, proto);\n if (proto.flags) {\n m.flags = proto.flags.map(FeatureFlag.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.flags !== 'undefined' && this.flags !== null) {\n toReturn['flags'] = 'toApiJson' in this.flags ? this.flags.toApiJson() : this.flags;\n }\n return toReturn;\n }\n}\nclass BatchGetStatusFeatureFlagRequest {\n static fromProto(proto) {\n let m = new BatchGetStatusFeatureFlagRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.featureIds !== 'undefined') {\n toReturn['featureIds'] = this.featureIds;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n return toReturn;\n }\n}\nclass BatchGetStatusFeatureFlagResponse {\n static fromProto(proto) {\n let m = new BatchGetStatusFeatureFlagResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.hasAccess !== 'undefined') {\n toReturn['hasAccess'] = this.hasAccess;\n }\n return toReturn;\n }\n}\nclass Branding {\n static fromProto(proto) {\n let m = new Branding();\n m = Object.assign(m, proto);\n if (proto.uiTheme) {\n m.uiTheme = enumStringToValue(BrandingUITheme, proto.uiTheme);\n }\n if (proto.assets) {\n m.assets = BrandingAssets.fromProto(proto.assets);\n }\n if (proto.apps) {\n m.apps = Object.keys(proto.apps).reduce((obj, k) => {\n obj[k] = BrandingApp.fromProto(proto.apps[k]);\n return obj;\n }, {});\n }\n if (proto.theme) {\n m.theme = Theme.fromProto(proto.theme);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.uiTheme !== 'undefined') {\n toReturn['uiTheme'] = this.uiTheme;\n }\n if (typeof this.primaryColor !== 'undefined') {\n toReturn['primaryColor'] = this.primaryColor;\n }\n if (typeof this.assets !== 'undefined' && this.assets !== null) {\n toReturn['assets'] = 'toApiJson' in this.assets ? this.assets.toApiJson() : this.assets;\n }\n if (typeof this.apps !== 'undefined' && this.apps !== null) {\n toReturn['apps'] = 'toApiJson' in this.apps ? this.apps.toApiJson() : this.apps;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.partnerName !== 'undefined') {\n toReturn['partnerName'] = this.partnerName;\n }\n if (typeof this.theme !== 'undefined' && this.theme !== null) {\n toReturn['theme'] = 'toApiJson' in this.theme ? this.theme.toApiJson() : this.theme;\n }\n return toReturn;\n }\n}\nclass CanSendPreviewEmailRequest {\n static fromProto(proto) {\n let m = new CanSendPreviewEmailRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass CanSendPreviewEmailResponse {\n static fromProto(proto) {\n let m = new CanSendPreviewEmailResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.canSendPreviewEmails !== 'undefined') {\n toReturn['canSendPreviewEmails'] = this.canSendPreviewEmails;\n }\n return toReturn;\n }\n}\nclass CancelTrialRequest {\n static fromProto(proto) {\n let m = new CancelTrialRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.trialId !== 'undefined') {\n toReturn['trialId'] = this.trialId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass Configuration {\n static fromProto(proto) {\n let m = new Configuration();\n m = Object.assign(m, proto);\n if (proto.snapshotConfiguration) {\n m.snapshotConfiguration = SnapshotConfiguration.fromProto(proto.snapshotConfiguration);\n }\n if (proto.subscriptionLevel) {\n m.subscriptionLevel = enumStringToValue(SubscriptionLevel, proto.subscriptionLevel);\n }\n if (proto.reputationConfiguration) {\n m.reputationConfiguration = ReputationConfiguration.fromProto(proto.reputationConfiguration);\n }\n if (proto.salesConfiguration) {\n m.salesConfiguration = SalesConfiguration.fromProto(proto.salesConfiguration);\n }\n if (proto.businessCenterConfiguration) {\n m.businessCenterConfiguration = BusinessCenterConfiguration.fromProto(proto.businessCenterConfiguration);\n }\n if (proto.subscriptionFailure) {\n m.subscriptionFailure = enumStringToValue(SubscriptionFailure, proto.subscriptionFailure);\n }\n if (proto.emailConfiguration) {\n m.emailConfiguration = EmailConfiguration.fromProto(proto.emailConfiguration);\n }\n if (proto.mailingConfiguration) {\n m.mailingConfiguration = MailingConfiguration.fromProto(proto.mailingConfiguration);\n }\n if (proto.segmentedOnboardingConfiguration) {\n m.segmentedOnboardingConfiguration = enumStringToValue(SegmentedOnboardingConfiguration, proto.segmentedOnboardingConfiguration);\n }\n if (proto.taskManagerConfiguration) {\n m.taskManagerConfiguration = TaskManagerConfiguration.fromProto(proto.taskManagerConfiguration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.geoRegionForPerformanceMetrics !== 'undefined') {\n toReturn['geoRegionForPerformanceMetrics'] = this.geoRegionForPerformanceMetrics;\n }\n if (typeof this.snapshotConfiguration !== 'undefined' && this.snapshotConfiguration !== null) {\n toReturn['snapshotConfiguration'] = 'toApiJson' in this.snapshotConfiguration ? this.snapshotConfiguration.toApiJson() : this.snapshotConfiguration;\n }\n if (typeof this.enabledFeatures !== 'undefined') {\n toReturn['enabledFeatures'] = this.enabledFeatures;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.subscriptionLevel !== 'undefined') {\n toReturn['subscriptionLevel'] = this.subscriptionLevel;\n }\n if (typeof this.socialProfileGroupId !== 'undefined') {\n toReturn['socialProfileGroupId'] = this.socialProfileGroupId;\n }\n if (typeof this.reputationConfiguration !== 'undefined' && this.reputationConfiguration !== null) {\n toReturn['reputationConfiguration'] = 'toApiJson' in this.reputationConfiguration ? this.reputationConfiguration.toApiJson() : this.reputationConfiguration;\n }\n if (typeof this.salesConfiguration !== 'undefined' && this.salesConfiguration !== null) {\n toReturn['salesConfiguration'] = 'toApiJson' in this.salesConfiguration ? this.salesConfiguration.toApiJson() : this.salesConfiguration;\n }\n if (typeof this.businessCenterConfiguration !== 'undefined' && this.businessCenterConfiguration !== null) {\n toReturn['businessCenterConfiguration'] = 'toApiJson' in this.businessCenterConfiguration ? this.businessCenterConfiguration.toApiJson() : this.businessCenterConfiguration;\n }\n if (typeof this.hasBrandsEnabled !== 'undefined') {\n toReturn['hasBrandsEnabled'] = this.hasBrandsEnabled;\n }\n if (typeof this.hasProductMarketplace !== 'undefined') {\n toReturn['hasProductMarketplace'] = this.hasProductMarketplace;\n }\n if (typeof this.adintelIsEnabled !== 'undefined') {\n toReturn['adintelIsEnabled'] = this.adintelIsEnabled;\n }\n if (typeof this.msAlwaysEnabled !== 'undefined') {\n toReturn['msAlwaysEnabled'] = this.msAlwaysEnabled;\n }\n if (typeof this.subscriptionFailure !== 'undefined') {\n toReturn['subscriptionFailure'] = this.subscriptionFailure;\n }\n if (typeof this.emailConfiguration !== 'undefined' && this.emailConfiguration !== null) {\n toReturn['emailConfiguration'] = 'toApiJson' in this.emailConfiguration ? this.emailConfiguration.toApiJson() : this.emailConfiguration;\n }\n if (typeof this.mailingConfiguration !== 'undefined' && this.mailingConfiguration !== null) {\n toReturn['mailingConfiguration'] = 'toApiJson' in this.mailingConfiguration ? this.mailingConfiguration.toApiJson() : this.mailingConfiguration;\n }\n if (typeof this.subscriptionTierId !== 'undefined') {\n toReturn['subscriptionTierId'] = this.subscriptionTierId;\n }\n if (typeof this.segmentedOnboardingConfiguration !== 'undefined') {\n toReturn['segmentedOnboardingConfiguration'] = this.segmentedOnboardingConfiguration;\n }\n if (typeof this.taskManagerConfiguration !== 'undefined' && this.taskManagerConfiguration !== null) {\n toReturn['taskManagerConfiguration'] = 'toApiJson' in this.taskManagerConfiguration ? this.taskManagerConfiguration.toApiJson() : this.taskManagerConfiguration;\n }\n return toReturn;\n }\n}\nclass UpdatePartnerModelMutationCountryState {\n static fromProto(proto) {\n let m = new UpdatePartnerModelMutationCountryState();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.stateCode !== 'undefined') {\n toReturn['stateCode'] = this.stateCode;\n }\n return toReturn;\n }\n}\nclass CreateAnalyticsDashboardRequest {\n static fromProto(proto) {\n let m = new CreateAnalyticsDashboardRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.featureFlagId !== 'undefined') {\n toReturn['featureFlagId'] = this.featureFlagId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n return toReturn;\n }\n}\nclass CreateFeatureFlagRequest {\n static fromProto(proto) {\n let m = new CreateFeatureFlagRequest();\n m = Object.assign(m, proto);\n if (proto.accessLevel) {\n m.accessLevel = enumStringToValue(AccessLevel, proto.accessLevel);\n }\n if (proto.whitelist) {\n m.whitelist = proto.whitelist.map(PartnerAccess.fromProto);\n }\n if (proto.blacklist) {\n m.blacklist = proto.blacklist.map(PartnerAccess.fromProto);\n }\n if (proto.experimentSettings) {\n m.experimentSettings = ExperimentSetting.fromProto(proto.experimentSettings);\n }\n if (proto.expiration) {\n m.expiration = enumStringToValue(Expiration, proto.expiration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.accessLevel !== 'undefined') {\n toReturn['accessLevel'] = this.accessLevel;\n }\n if (typeof this.moreInfoUrl !== 'undefined') {\n toReturn['moreInfoUrl'] = this.moreInfoUrl;\n }\n if (typeof this.whitelist !== 'undefined' && this.whitelist !== null) {\n toReturn['whitelist'] = 'toApiJson' in this.whitelist ? this.whitelist.toApiJson() : this.whitelist;\n }\n if (typeof this.blacklist !== 'undefined' && this.blacklist !== null) {\n toReturn['blacklist'] = 'toApiJson' in this.blacklist ? this.blacklist.toApiJson() : this.blacklist;\n }\n if (typeof this.experimentSettings !== 'undefined' && this.experimentSettings !== null) {\n toReturn['experimentSettings'] = 'toApiJson' in this.experimentSettings ? this.experimentSettings.toApiJson() : this.experimentSettings;\n }\n if (typeof this.ownerName !== 'undefined') {\n toReturn['ownerName'] = this.ownerName;\n }\n if (typeof this.expiration !== 'undefined') {\n toReturn['expiration'] = this.expiration;\n }\n return toReturn;\n }\n}\nclass CreatePartnerAccountGroupRequest {\n static fromProto(proto) {\n let m = new CreatePartnerAccountGroupRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n return toReturn;\n }\n}\nclass CreatePreviewEmailRequest {\n static fromProto(proto) {\n let m = new CreatePreviewEmailRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.templateId !== 'undefined') {\n toReturn['templateId'] = this.templateId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n return toReturn;\n }\n}\nclass CreateTrialRequest {\n static fromProto(proto) {\n let m = new CreateTrialRequest();\n m = Object.assign(m, proto);\n if (proto.subscriptionLevel) {\n m.subscriptionLevel = enumStringToValue(SubscriptionLevel, proto.subscriptionLevel);\n }\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.subscriptionLevel !== 'undefined') {\n toReturn['subscriptionLevel'] = this.subscriptionLevel;\n }\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n if (typeof this.subscriptionTierId !== 'undefined') {\n toReturn['subscriptionTierId'] = this.subscriptionTierId;\n }\n return toReturn;\n }\n}\nclass DeactivateAddonRequest {\n static fromProto(proto) {\n let m = new DeactivateAddonRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n return toReturn;\n }\n}\nclass DeletePartnerAccountGroupRequest {\n static fromProto(proto) {\n let m = new DeletePartnerAccountGroupRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass EmailConfiguration {\n static fromProto(proto) {\n let m = new EmailConfiguration();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.senderName !== 'undefined') {\n toReturn['senderName'] = this.senderName;\n }\n if (typeof this.senderEmail !== 'undefined') {\n toReturn['senderEmail'] = this.senderEmail;\n }\n if (typeof this.replyEmail !== 'undefined') {\n toReturn['replyEmail'] = this.replyEmail;\n }\n return toReturn;\n }\n}\nclass GenerateAccountGroupSessionRequest {\n static fromProto(proto) {\n let m = new GenerateAccountGroupSessionRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.writeAccess !== 'undefined') {\n toReturn['writeAccess'] = this.writeAccess;\n }\n if (typeof this.deleteAccess !== 'undefined') {\n toReturn['deleteAccess'] = this.deleteAccess;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n return toReturn;\n }\n}\nclass GenerateAccountGroupSessionResponse {\n static fromProto(proto) {\n let m = new GenerateAccountGroupSessionResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.idToken !== 'undefined') {\n toReturn['idToken'] = this.idToken;\n }\n return toReturn;\n }\n}\nclass GetAddonActivationRequest {\n static fromProto(proto) {\n let m = new GetAddonActivationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n return toReturn;\n }\n}\nclass GetAddonActivationResponse {\n static fromProto(proto) {\n let m = new GetAddonActivationResponse();\n m = Object.assign(m, proto);\n if (proto.activation) {\n m.activation = AddonActivation.fromProto(proto.activation);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.activation !== 'undefined' && this.activation !== null) {\n toReturn['activation'] = 'toApiJson' in this.activation ? this.activation.toApiJson() : this.activation;\n }\n return toReturn;\n }\n}\nclass GetBrandingRequest {\n static fromProto(proto) {\n let m = new GetBrandingRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n return toReturn;\n }\n}\nclass GetBrandingResponse {\n static fromProto(proto) {\n let m = new GetBrandingResponse();\n m = Object.assign(m, proto);\n if (proto.branding) {\n m.branding = Branding.fromProto(proto.branding);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.branding !== 'undefined' && this.branding !== null) {\n toReturn['branding'] = 'toApiJson' in this.branding ? this.branding.toApiJson() : this.branding;\n }\n return toReturn;\n }\n}\nclass GetBrandingV2Request {\n static fromProto(proto) {\n let m = new GetBrandingV2Request();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n return toReturn;\n }\n}\nclass GetBrandingV2Response {\n static fromProto(proto) {\n let m = new GetBrandingV2Response();\n m = Object.assign(m, proto);\n if (proto.branding) {\n m.branding = BrandingV2.fromProto(proto.branding);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.branding !== 'undefined' && this.branding !== null) {\n toReturn['branding'] = 'toApiJson' in this.branding ? this.branding.toApiJson() : this.branding;\n }\n return toReturn;\n }\n}\nclass GetConfigurationRequest {\n static fromProto(proto) {\n let m = new GetConfigurationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n return toReturn;\n }\n}\nclass GetConfigurationResponse {\n static fromProto(proto) {\n let m = new GetConfigurationResponse();\n m = Object.assign(m, proto);\n if (proto.configuration) {\n m.configuration = Configuration.fromProto(proto.configuration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.configuration !== 'undefined' && this.configuration !== null) {\n toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;\n }\n return toReturn;\n }\n}\nclass GetMultiBrandingRequest {\n static fromProto(proto) {\n let m = new GetMultiBrandingRequest();\n m = Object.assign(m, proto);\n if (proto.requests) {\n m.requests = proto.requests.map(GetBrandingRequest.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.requests !== 'undefined' && this.requests !== null) {\n toReturn['requests'] = 'toApiJson' in this.requests ? this.requests.toApiJson() : this.requests;\n }\n return toReturn;\n }\n}\nclass GetMultiBrandingResponse {\n static fromProto(proto) {\n let m = new GetMultiBrandingResponse();\n m = Object.assign(m, proto);\n if (proto.brandings) {\n m.brandings = proto.brandings.map(SinglePartnerMarketBranding.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.brandings !== 'undefined' && this.brandings !== null) {\n toReturn['brandings'] = 'toApiJson' in this.brandings ? this.brandings.toApiJson() : this.brandings;\n }\n return toReturn;\n }\n}\nclass GetMultiBrandingV2Request {\n static fromProto(proto) {\n let m = new GetMultiBrandingV2Request();\n m = Object.assign(m, proto);\n if (proto.requests) {\n m.requests = proto.requests.map(GetBrandingV2Request.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.requests !== 'undefined' && this.requests !== null) {\n toReturn['requests'] = 'toApiJson' in this.requests ? this.requests.toApiJson() : this.requests;\n }\n return toReturn;\n }\n}\nclass GetMultiBrandingV2Response {\n static fromProto(proto) {\n let m = new GetMultiBrandingV2Response();\n m = Object.assign(m, proto);\n if (proto.branding) {\n m.branding = proto.branding.map(BrandingV2.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.branding !== 'undefined' && this.branding !== null) {\n toReturn['branding'] = 'toApiJson' in this.branding ? this.branding.toApiJson() : this.branding;\n }\n return toReturn;\n }\n}\nclass GetMultiPartnerHealthRequest {\n static fromProto(proto) {\n let m = new GetMultiPartnerHealthRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerIds !== 'undefined') {\n toReturn['partnerIds'] = this.partnerIds;\n }\n return toReturn;\n }\n}\nclass GetMultiPartnerHealthResponse {\n static fromProto(proto) {\n let m = new GetMultiPartnerHealthResponse();\n m = Object.assign(m, proto);\n if (proto.healths) {\n m.healths = proto.healths.map(PartnerHealth.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.healths !== 'undefined' && this.healths !== null) {\n toReturn['healths'] = 'toApiJson' in this.healths ? this.healths.toApiJson() : this.healths;\n }\n return toReturn;\n }\n}\nclass GetMultiPartnerModelRequest {\n static fromProto(proto) {\n let m = new GetMultiPartnerModelRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerIds !== 'undefined') {\n toReturn['partnerIds'] = this.partnerIds;\n }\n return toReturn;\n }\n}\nclass GetMultiPartnerModelResponse {\n static fromProto(proto) {\n let m = new GetMultiPartnerModelResponse();\n m = Object.assign(m, proto);\n if (proto.partners) {\n m.partners = proto.partners.map(PartnerModel.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partners !== 'undefined' && this.partners !== null) {\n toReturn['partners'] = 'toApiJson' in this.partners ? this.partners.toApiJson() : this.partners;\n }\n return toReturn;\n }\n}\nclass GetPartnerAccountGroupMappingRequest {\n static fromProto(proto) {\n let m = new GetPartnerAccountGroupMappingRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.accountGroupPartnerId !== 'undefined') {\n toReturn['accountGroupPartnerId'] = this.accountGroupPartnerId;\n }\n return toReturn;\n }\n}\nclass GetPartnerAccountGroupMappingResponse {\n static fromProto(proto) {\n let m = new GetPartnerAccountGroupMappingResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.accountGroupPartnerId !== 'undefined') {\n toReturn['accountGroupPartnerId'] = this.accountGroupPartnerId;\n }\n return toReturn;\n }\n}\nclass GetPartnerCenterNavigationRequest {\n static fromProto(proto) {\n let m = new GetPartnerCenterNavigationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetPartnerCenterNavigationResponse {\n static fromProto(proto) {\n let m = new GetPartnerCenterNavigationResponse();\n m = Object.assign(m, proto);\n if (proto.navigation) {\n m.navigation = proto.navigation.map(NavigationItem.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.navigation !== 'undefined' && this.navigation !== null) {\n toReturn['navigation'] = 'toApiJson' in this.navigation ? this.navigation.toApiJson() : this.navigation;\n }\n return toReturn;\n }\n}\nclass GetPartnerHealthRequest {\n static fromProto(proto) {\n let m = new GetPartnerHealthRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetPartnerHealthResponse {\n static fromProto(proto) {\n let m = new GetPartnerHealthResponse();\n m = Object.assign(m, proto);\n if (proto.health) {\n m.health = PartnerHealth.fromProto(proto.health);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.health !== 'undefined' && this.health !== null) {\n toReturn['health'] = 'toApiJson' in this.health ? this.health.toApiJson() : this.health;\n }\n return toReturn;\n }\n}\nclass GetPartnerModelRequest {\n static fromProto(proto) {\n let m = new GetPartnerModelRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetPartnerModelResponse {\n static fromProto(proto) {\n let m = new GetPartnerModelResponse();\n m = Object.assign(m, proto);\n if (proto.partner) {\n m.partner = PartnerModel.fromProto(proto.partner);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partner !== 'undefined' && this.partner !== null) {\n toReturn['partner'] = 'toApiJson' in this.partner ? this.partner.toApiJson() : this.partner;\n }\n return toReturn;\n }\n}\nclass GetSingleSignOnRequest {\n static fromProto(proto) {\n let m = new GetSingleSignOnRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n return toReturn;\n }\n}\nclass GetSingleSignOnResponse {\n static fromProto(proto) {\n let m = new GetSingleSignOnResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.token !== 'undefined') {\n toReturn['token'] = this.token;\n }\n if (typeof this.companyId !== 'undefined') {\n toReturn['companyId'] = this.companyId;\n }\n if (typeof this.roadmapDomain !== 'undefined') {\n toReturn['roadmapDomain'] = this.roadmapDomain;\n }\n return toReturn;\n }\n}\nclass GetTrialRequest {\n static fromProto(proto) {\n let m = new GetTrialRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetTrialResponse {\n static fromProto(proto) {\n let m = new GetTrialResponse();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.subscriptionLevel) {\n m.subscriptionLevel = enumStringToValue(SubscriptionLevel, proto.subscriptionLevel);\n }\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n if (proto.cancel) {\n m.cancel = new Date(proto.cancel);\n }\n if (proto.trial) {\n m.trial = Trial.fromProto(proto.trial);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.trialId !== 'undefined') {\n toReturn['trialId'] = this.trialId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.subscriptionLevel !== 'undefined') {\n toReturn['subscriptionLevel'] = this.subscriptionLevel;\n }\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n if (typeof this.cancel !== 'undefined' && this.cancel !== null) {\n toReturn['cancel'] = 'toApiJson' in this.cancel ? this.cancel.toApiJson() : this.cancel;\n }\n if (typeof this.trial !== 'undefined' && this.trial !== null) {\n toReturn['trial'] = 'toApiJson' in this.trial ? this.trial.toApiJson() : this.trial;\n }\n return toReturn;\n }\n}\nclass ListAddonActivationsRequest {\n static fromProto(proto) {\n let m = new ListAddonActivationsRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListAddonActivationsResponse {\n static fromProto(proto) {\n let m = new ListAddonActivationsResponse();\n m = Object.assign(m, proto);\n if (proto.activations) {\n m.activations = proto.activations.map(AddonActivation.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.activations !== 'undefined' && this.activations !== null) {\n toReturn['activations'] = 'toApiJson' in this.activations ? this.activations.toApiJson() : this.activations;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass ListBrandingV2Request {\n static fromProto(proto) {\n let m = new ListBrandingV2Request();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListBrandingV2Response {\n static fromProto(proto) {\n let m = new ListBrandingV2Response();\n m = Object.assign(m, proto);\n if (proto.brandings) {\n m.brandings = proto.brandings.map(BrandingV2.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.brandings !== 'undefined' && this.brandings !== null) {\n toReturn['brandings'] = 'toApiJson' in this.brandings ? this.brandings.toApiJson() : this.brandings;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass ListFeatureFlagFilters {\n static fromProto(proto) {\n let m = new ListFeatureFlagFilters();\n m = Object.assign(m, proto);\n if (proto.accessLevel) {\n m.accessLevel = proto.accessLevel.map(v => enumStringToValue(AccessLevel, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n if (typeof this.accessLevel !== 'undefined') {\n toReturn['accessLevel'] = this.accessLevel;\n }\n return toReturn;\n }\n}\nclass ListFeatureFlagRequest {\n static fromProto(proto) {\n let m = new ListFeatureFlagRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n if (proto.filters) {\n m.filters = ListFeatureFlagFilters.fromProto(proto.filters);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.archivedOnly !== 'undefined') {\n toReturn['archivedOnly'] = this.archivedOnly;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\nclass ListFeatureFlagResponse {\n static fromProto(proto) {\n let m = new ListFeatureFlagResponse();\n m = Object.assign(m, proto);\n if (proto.flags) {\n m.flags = proto.flags.map(FeatureFlag.fromProto);\n }\n if (proto.totalResults) {\n m.totalResults = parseInt(proto.totalResults, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.flags !== 'undefined' && this.flags !== null) {\n toReturn['flags'] = 'toApiJson' in this.flags ? this.flags.toApiJson() : this.flags;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.totalResults !== 'undefined') {\n toReturn['totalResults'] = this.totalResults;\n }\n return toReturn;\n }\n}\nclass ListPartnerAddonsRequest {\n static fromProto(proto) {\n let m = new ListPartnerAddonsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n return toReturn;\n }\n}\nclass ListPartnerAddonsResponse {\n static fromProto(proto) {\n let m = new ListPartnerAddonsResponse();\n m = Object.assign(m, proto);\n if (proto.addons) {\n m.addons = proto.addons.map(PartnerAddon.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.addons !== 'undefined' && this.addons !== null) {\n toReturn['addons'] = 'toApiJson' in this.addons ? this.addons.toApiJson() : this.addons;\n }\n return toReturn;\n }\n}\nclass ListPartnerHealthRequest {\n static fromProto(proto) {\n let m = new ListPartnerHealthRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n return toReturn;\n }\n}\nclass ListPartnerHealthResponse {\n static fromProto(proto) {\n let m = new ListPartnerHealthResponse();\n m = Object.assign(m, proto);\n if (proto.healths) {\n m.healths = proto.healths.map(PartnerHealth.fromProto);\n }\n if (proto.hits) {\n m.hits = parseInt(proto.hits, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.healths !== 'undefined' && this.healths !== null) {\n toReturn['healths'] = 'toApiJson' in this.healths ? this.healths.toApiJson() : this.healths;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.hits !== 'undefined') {\n toReturn['hits'] = this.hits;\n }\n return toReturn;\n }\n}\nclass ListTrialRequest {\n static fromProto(proto) {\n let m = new ListTrialRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n return toReturn;\n }\n}\nclass ListTrialResponse {\n static fromProto(proto) {\n let m = new ListTrialResponse();\n m = Object.assign(m, proto);\n if (proto.trials) {\n m.trials = proto.trials.map(Trial.fromProto);\n }\n if (proto.hits) {\n m.hits = parseInt(proto.hits, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.trials !== 'undefined' && this.trials !== null) {\n toReturn['trials'] = 'toApiJson' in this.trials ? this.trials.toApiJson() : this.trials;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.hits !== 'undefined') {\n toReturn['hits'] = this.hits;\n }\n return toReturn;\n }\n}\nclass MailingConfiguration {\n static fromProto(proto) {\n let m = new MailingConfiguration();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.mailingCompanyName !== 'undefined') {\n toReturn['mailingCompanyName'] = this.mailingCompanyName;\n }\n if (typeof this.mailingAddress !== 'undefined') {\n toReturn['mailingAddress'] = this.mailingAddress;\n }\n if (typeof this.mailingAddress2 !== 'undefined') {\n toReturn['mailingAddress2'] = this.mailingAddress2;\n }\n if (typeof this.mailingCity !== 'undefined') {\n toReturn['mailingCity'] = this.mailingCity;\n }\n if (typeof this.mailingState !== 'undefined') {\n toReturn['mailingState'] = this.mailingState;\n }\n if (typeof this.mailingCountry !== 'undefined') {\n toReturn['mailingCountry'] = this.mailingCountry;\n }\n if (typeof this.mailingPostalCode !== 'undefined') {\n toReturn['mailingPostalCode'] = this.mailingPostalCode;\n }\n if (typeof this.mailingPhoneNumber !== 'undefined') {\n toReturn['mailingPhoneNumber'] = this.mailingPhoneNumber;\n }\n if (typeof this.mailingWebsiteAddress !== 'undefined') {\n toReturn['mailingWebsiteAddress'] = this.mailingWebsiteAddress;\n }\n if (typeof this.mailingEmailAddress !== 'undefined') {\n toReturn['mailingEmailAddress'] = this.mailingEmailAddress;\n }\n return toReturn;\n }\n}\nclass UpsertMutationMarketOverridesMutation {\n static fromProto(proto) {\n let m = new UpsertMutationMarketOverridesMutation();\n m = Object.assign(m, proto);\n if (proto.fields) {\n m.fields = proto.fields.map(v => enumStringToValue(Field, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.fields !== 'undefined') {\n toReturn['fields'] = this.fields;\n }\n return toReturn;\n }\n}\nclass UpdateFeatureFlagRequestMutation {\n static fromProto(proto) {\n let m = new UpdateFeatureFlagRequestMutation();\n m = Object.assign(m, proto);\n if (proto.accessLevel) {\n m.accessLevel = enumStringToValue(AccessLevel, proto.accessLevel);\n }\n if (proto.whitelist) {\n m.whitelist = UpdateFeatureFlagRequestMutationPartnerAccessMutation.fromProto(proto.whitelist);\n }\n if (proto.blacklist) {\n m.blacklist = UpdateFeatureFlagRequestMutationPartnerAccessMutation.fromProto(proto.blacklist);\n }\n if (proto.experimentSettings) {\n m.experimentSettings = ExperimentSetting.fromProto(proto.experimentSettings);\n }\n if (proto.expiration) {\n m.expiration = enumStringToValue(Expiration, proto.expiration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.accessLevel !== 'undefined') {\n toReturn['accessLevel'] = this.accessLevel;\n }\n if (typeof this.moreInfoUrl !== 'undefined') {\n toReturn['moreInfoUrl'] = this.moreInfoUrl;\n }\n if (typeof this.archived !== 'undefined') {\n toReturn['archived'] = this.archived;\n }\n if (typeof this.whitelist !== 'undefined' && this.whitelist !== null) {\n toReturn['whitelist'] = 'toApiJson' in this.whitelist ? this.whitelist.toApiJson() : this.whitelist;\n }\n if (typeof this.blacklist !== 'undefined' && this.blacklist !== null) {\n toReturn['blacklist'] = 'toApiJson' in this.blacklist ? this.blacklist.toApiJson() : this.blacklist;\n }\n if (typeof this.experimentSettings !== 'undefined' && this.experimentSettings !== null) {\n toReturn['experimentSettings'] = 'toApiJson' in this.experimentSettings ? this.experimentSettings.toApiJson() : this.experimentSettings;\n }\n if (typeof this.ownerName !== 'undefined') {\n toReturn['ownerName'] = this.ownerName;\n }\n if (typeof this.expiration !== 'undefined') {\n toReturn['expiration'] = this.expiration;\n }\n if (typeof this.restartExpiry !== 'undefined') {\n toReturn['restartExpiry'] = this.restartExpiry;\n }\n return toReturn;\n }\n}\nclass PagedRequestOptions {\n static fromProto(proto) {\n let m = new PagedRequestOptions();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass PagedResponseMetadata {\n static fromProto(proto) {\n let m = new PagedResponseMetadata();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass UpdateFeatureFlagRequestMutationPartnerAccessMutation {\n static fromProto(proto) {\n let m = new UpdateFeatureFlagRequestMutationPartnerAccessMutation();\n m = Object.assign(m, proto);\n if (proto.accessList) {\n m.accessList = proto.accessList.map(PartnerAccess.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accessList !== 'undefined' && this.accessList !== null) {\n toReturn['accessList'] = 'toApiJson' in this.accessList ? this.accessList.toApiJson() : this.accessList;\n }\n return toReturn;\n }\n}\nclass PartnerCanDoActionRequest {\n static fromProto(proto) {\n let m = new PartnerCanDoActionRequest();\n m = Object.assign(m, proto);\n if (proto.actionId) {\n m.actionId = enumStringToValue(Action, proto.actionId);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.actionId !== 'undefined') {\n toReturn['actionId'] = this.actionId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass PartnerCanDoActionResponse {\n static fromProto(proto) {\n let m = new PartnerCanDoActionResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.result !== 'undefined') {\n toReturn['result'] = this.result;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n return toReturn;\n }\n}\nclass ReputationConfiguration {\n static fromProto(proto) {\n let m = new ReputationConfiguration();\n m = Object.assign(m, proto);\n if (proto.maxCompetitors) {\n m.maxCompetitors = parseInt(proto.maxCompetitors, 10);\n }\n if (proto.maxServices) {\n m.maxServices = parseInt(proto.maxServices, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.maxCompetitors !== 'undefined') {\n toReturn['maxCompetitors'] = this.maxCompetitors;\n }\n if (typeof this.maxServices !== 'undefined') {\n toReturn['maxServices'] = this.maxServices;\n }\n if (typeof this.addressMatchStrictness !== 'undefined') {\n toReturn['addressMatchStrictness'] = this.addressMatchStrictness;\n }\n if (typeof this.companyNameMatchStrictness !== 'undefined') {\n toReturn['companyNameMatchStrictness'] = this.companyNameMatchStrictness;\n }\n if (typeof this.websiteMatchStrictness !== 'undefined') {\n toReturn['websiteMatchStrictness'] = this.websiteMatchStrictness;\n }\n return toReturn;\n }\n}\nclass ResendPartnerAdminWelcomeEmailRequest {\n static fromProto(proto) {\n let m = new ResendPartnerAdminWelcomeEmailRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.usePlatformDefaultDomain !== 'undefined') {\n toReturn['usePlatformDefaultDomain'] = this.usePlatformDefaultDomain;\n }\n return toReturn;\n }\n}\nclass ResetPartnerRequest {\n static fromProto(proto) {\n let m = new ResetPartnerRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass SearchPartnerModelsFilters {\n static fromProto(proto) {\n let m = new SearchPartnerModelsFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n return toReturn;\n }\n}\nclass SearchPartnerModelsRequest {\n static fromProto(proto) {\n let m = new SearchPartnerModelsRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n if (proto.filters) {\n m.filters = SearchPartnerModelsFilters.fromProto(proto.filters);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\nclass SearchPartnerModelsResponse {\n static fromProto(proto) {\n let m = new SearchPartnerModelsResponse();\n m = Object.assign(m, proto);\n if (proto.partners) {\n m.partners = proto.partners.map(PartnerModel.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partners !== 'undefined' && this.partners !== null) {\n toReturn['partners'] = 'toApiJson' in this.partners ? this.partners.toApiJson() : this.partners;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass SetPartnerHealthRequest {\n static fromProto(proto) {\n let m = new SetPartnerHealthRequest();\n m = Object.assign(m, proto);\n if (proto.state) {\n m.state = enumStringToValue(PartnerHealthState, proto.state);\n }\n if (proto.subState) {\n m.subState = enumStringToValue(PartnerHealthSubState, proto.subState);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.subState !== 'undefined') {\n toReturn['subState'] = this.subState;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n if (typeof this.inRetention !== 'undefined') {\n toReturn['inRetention'] = this.inRetention;\n }\n return toReturn;\n }\n}\nclass SinglePartnerMarketBranding {\n static fromProto(proto) {\n let m = new SinglePartnerMarketBranding();\n m = Object.assign(m, proto);\n if (proto.branding) {\n m.branding = Branding.fromProto(proto.branding);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.branding !== 'undefined' && this.branding !== null) {\n toReturn['branding'] = 'toApiJson' in this.branding ? this.branding.toApiJson() : this.branding;\n }\n return toReturn;\n }\n}\nclass SnapshotConfiguration {\n static fromProto(proto) {\n let m = new SnapshotConfiguration();\n m = Object.assign(m, proto);\n if (proto.seoAdvertisingDataProvider) {\n m.seoAdvertisingDataProvider = parseInt(proto.seoAdvertisingDataProvider, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.ppc !== 'undefined') {\n toReturn['ppc'] = this.ppc;\n }\n if (typeof this.remarketing !== 'undefined') {\n toReturn['remarketing'] = this.remarketing;\n }\n if (typeof this.useCustomSnapshotHeader !== 'undefined') {\n toReturn['useCustomSnapshotHeader'] = this.useCustomSnapshotHeader;\n }\n if (typeof this.customSnapshotHeader !== 'undefined') {\n toReturn['customSnapshotHeader'] = this.customSnapshotHeader;\n }\n if (typeof this.useCustomSnapshotFooter !== 'undefined') {\n toReturn['useCustomSnapshotFooter'] = this.useCustomSnapshotFooter;\n }\n if (typeof this.customSnapshotFooter !== 'undefined') {\n toReturn['customSnapshotFooter'] = this.customSnapshotFooter;\n }\n if (typeof this.useCustomSnapshotPopupMessage !== 'undefined') {\n toReturn['useCustomSnapshotPopupMessage'] = this.useCustomSnapshotPopupMessage;\n }\n if (typeof this.customSnapshotPopupMessage !== 'undefined') {\n toReturn['customSnapshotPopupMessage'] = this.customSnapshotPopupMessage;\n }\n if (typeof this.allowClaimUser !== 'undefined') {\n toReturn['allowClaimUser'] = this.allowClaimUser;\n }\n if (typeof this.seoAdvertisingDataProvider !== 'undefined') {\n toReturn['seoAdvertisingDataProvider'] = this.seoAdvertisingDataProvider;\n }\n if (typeof this.snapshotReportName !== 'undefined') {\n toReturn['snapshotReportName'] = this.snapshotReportName;\n }\n return toReturn;\n }\n}\nclass SwapPartnerAccountGroupRequest {\n static fromProto(proto) {\n let m = new SwapPartnerAccountGroupRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.withPartnerId !== 'undefined') {\n toReturn['withPartnerId'] = this.withPartnerId;\n }\n if (typeof this.withAccountGroupId !== 'undefined') {\n toReturn['withAccountGroupId'] = this.withAccountGroupId;\n }\n return toReturn;\n }\n}\nclass Theme {\n static fromProto(proto) {\n let m = new Theme();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.primaryColor !== 'undefined') {\n toReturn['primaryColor'] = this.primaryColor;\n }\n if (typeof this.primaryHoverColor !== 'undefined') {\n toReturn['primaryHoverColor'] = this.primaryHoverColor;\n }\n if (typeof this.primaryActiveColor !== 'undefined') {\n toReturn['primaryActiveColor'] = this.primaryActiveColor;\n }\n if (typeof this.secondaryColor !== 'undefined') {\n toReturn['secondaryColor'] = this.secondaryColor;\n }\n if (typeof this.secondaryHoverColor !== 'undefined') {\n toReturn['secondaryHoverColor'] = this.secondaryHoverColor;\n }\n if (typeof this.secondaryActiveColor !== 'undefined') {\n toReturn['secondaryActiveColor'] = this.secondaryActiveColor;\n }\n if (typeof this.focusColor !== 'undefined') {\n toReturn['focusColor'] = this.focusColor;\n }\n if (typeof this.fontColor !== 'undefined') {\n toReturn['fontColor'] = this.fontColor;\n }\n if (typeof this.fontDisabledColor !== 'undefined') {\n toReturn['fontDisabledColor'] = this.fontDisabledColor;\n }\n if (typeof this.accentsColor !== 'undefined') {\n toReturn['accentsColor'] = this.accentsColor;\n }\n if (typeof this.accentsActiveColor !== 'undefined') {\n toReturn['accentsActiveColor'] = this.accentsActiveColor;\n }\n if (typeof this.borderColor !== 'undefined') {\n toReturn['borderColor'] = this.borderColor;\n }\n return toReturn;\n }\n}\nclass URL {\n static fromProto(proto) {\n let m = new URL();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.secure !== 'undefined') {\n toReturn['secure'] = this.secure;\n }\n if (typeof this.insecure !== 'undefined') {\n toReturn['insecure'] = this.insecure;\n }\n return toReturn;\n }\n}\nclass UpdateFeatureFlagRequest {\n static fromProto(proto) {\n let m = new UpdateFeatureFlagRequest();\n m = Object.assign(m, proto);\n if (proto.mutations) {\n m.mutations = proto.mutations.map(UpdateFeatureFlagRequestMutation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.mutations !== 'undefined' && this.mutations !== null) {\n toReturn['mutations'] = 'toApiJson' in this.mutations ? this.mutations.toApiJson() : this.mutations;\n }\n return toReturn;\n }\n}\nclass UpdatePartnerAccountGroupRequest {\n static fromProto(proto) {\n let m = new UpdatePartnerAccountGroupRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n return toReturn;\n }\n}\nclass UpdatePartnerAdminRequest {\n static fromProto(proto) {\n let m = new UpdatePartnerAdminRequest();\n m = Object.assign(m, proto);\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n if (proto.permissions) {\n m.permissions = PartnerAdminPermissions.fromProto(proto.permissions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n if (typeof this.permissions !== 'undefined' && this.permissions !== null) {\n toReturn['permissions'] = 'toApiJson' in this.permissions ? this.permissions.toApiJson() : this.permissions;\n }\n return toReturn;\n }\n}\nclass UpdatePartnerModelMutation {\n static fromProto(proto) {\n let m = new UpdatePartnerModelMutation();\n m = Object.assign(m, proto);\n if (proto.countryAndState) {\n m.countryAndState = UpdatePartnerModelMutationCountryState.fromProto(proto.countryAndState);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.premiumSupport !== 'undefined') {\n toReturn['premiumSupport'] = this.premiumSupport;\n }\n if (typeof this.standardPrioritySupport !== 'undefined') {\n toReturn['standardPrioritySupport'] = this.standardPrioritySupport;\n }\n if (typeof this.priorityChatSupport !== 'undefined') {\n toReturn['priorityChatSupport'] = this.priorityChatSupport;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.addressLineOne !== 'undefined') {\n toReturn['addressLineOne'] = this.addressLineOne;\n }\n if (typeof this.addressLineTwo !== 'undefined') {\n toReturn['addressLineTwo'] = this.addressLineTwo;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.countryAndState !== 'undefined' && this.countryAndState !== null) {\n toReturn['countryAndState'] = 'toApiJson' in this.countryAndState ? this.countryAndState.toApiJson() : this.countryAndState;\n }\n if (typeof this.postalCode !== 'undefined') {\n toReturn['postalCode'] = this.postalCode;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.phoneNumber !== 'undefined') {\n toReturn['phoneNumber'] = this.phoneNumber;\n }\n if (typeof this.website !== 'undefined') {\n toReturn['website'] = this.website;\n }\n return toReturn;\n }\n}\nclass UpdatePartnerModelRequest {\n static fromProto(proto) {\n let m = new UpdatePartnerModelRequest();\n m = Object.assign(m, proto);\n if (proto.mutations) {\n m.mutations = proto.mutations.map(UpdatePartnerModelMutation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.mutations !== 'undefined' && this.mutations !== null) {\n toReturn['mutations'] = 'toApiJson' in this.mutations ? this.mutations.toApiJson() : this.mutations;\n }\n return toReturn;\n }\n}\nclass UpsertBrandingV2Request {\n static fromProto(proto) {\n let m = new UpsertBrandingV2Request();\n m = Object.assign(m, proto);\n if (proto.mutations) {\n m.mutations = proto.mutations.map(UpsertMutation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.mutations !== 'undefined' && this.mutations !== null) {\n toReturn['mutations'] = 'toApiJson' in this.mutations ? this.mutations.toApiJson() : this.mutations;\n }\n return toReturn;\n }\n}\nclass UpsertMutation {\n static fromProto(proto) {\n let m = new UpsertMutation();\n m = Object.assign(m, proto);\n if (proto.uiTheme) {\n m.uiTheme = enumStringToValue(UITheme, proto.uiTheme);\n }\n if (proto.marketOverrides) {\n m.marketOverrides = UpsertMutationMarketOverridesMutation.fromProto(proto.marketOverrides);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.faviconUrl !== 'undefined') {\n toReturn['faviconUrl'] = this.faviconUrl;\n }\n if (typeof this.shortcutIconUrl !== 'undefined') {\n toReturn['shortcutIconUrl'] = this.shortcutIconUrl;\n }\n if (typeof this.logoUrl !== 'undefined') {\n toReturn['logoUrl'] = this.logoUrl;\n }\n if (typeof this.uiTheme !== 'undefined') {\n toReturn['uiTheme'] = this.uiTheme;\n }\n if (typeof this.primaryColor !== 'undefined') {\n toReturn['primaryColor'] = this.primaryColor;\n }\n if (typeof this.marketOverrides !== 'undefined' && this.marketOverrides !== null) {\n toReturn['marketOverrides'] = 'toApiJson' in this.marketOverrides ? this.marketOverrides.toApiJson() : this.marketOverrides;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n return toReturn;\n }\n}\n\n// *********************************\n\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'partner.vendasta-local.com',\n 'test': '',\n 'demo': 'partner-api-demo.apigateway.co',\n 'prod': 'partner-api-prod.apigateway.co',\n 'production': 'partner-api-prod.apigateway.co'\n};\nlet HostService = /*#__PURE__*/(() => {\n class HostService {\n get host() {\n return hostMap[environment.toLowerCase()];\n }\n get hostWithScheme() {\n return 'https://' + this.host;\n }\n }\n HostService.ɵfac = function HostService_Factory(t) {\n return new (t || HostService)();\n };\n HostService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HostService,\n factory: HostService.ɵfac,\n providedIn: 'root'\n });\n return HostService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet AcquisitionDataApiService = /*#__PURE__*/(() => {\n class AcquisitionDataApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getAcquisitionData(r) {\n const request = r.toApiJson ? r : new GetAcquisitionDataRequest(r);\n return this.http.post(this._host + \"/partner.v1.AcquisitionDataService/GetAcquisitionData\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAcquisitionDataResponse.fromProto(resp)));\n }\n }\n AcquisitionDataApiService.ɵfac = function AcquisitionDataApiService_Factory(t) {\n return new (t || AcquisitionDataApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n AcquisitionDataApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AcquisitionDataApiService,\n factory: AcquisitionDataApiService.ɵfac,\n providedIn: 'root'\n });\n return AcquisitionDataApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet AddonApiService = /*#__PURE__*/(() => {\n class AddonApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n activate(r) {\n const request = r.toApiJson ? r : new ActivateAddonRequest(r);\n return this.http.post(this._host + \"/partner.v1.Addon/Activate\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ActivateAddonResponse.fromProto(resp)));\n }\n deactivate(r) {\n const request = r.toApiJson ? r : new DeactivateAddonRequest(r);\n return this.http.post(this._host + \"/partner.v1.Addon/Deactivate\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listActivations(r) {\n const request = r.toApiJson ? r : new ListAddonActivationsRequest(r);\n return this.http.post(this._host + \"/partner.v1.Addon/ListActivations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAddonActivationsResponse.fromProto(resp)));\n }\n getActivation(r) {\n const request = r.toApiJson ? r : new GetAddonActivationRequest(r);\n return this.http.post(this._host + \"/partner.v1.Addon/GetActivation\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAddonActivationResponse.fromProto(resp)));\n }\n listPartnerAddons(r) {\n const request = r.toApiJson ? r : new ListPartnerAddonsRequest(r);\n return this.http.post(this._host + \"/partner.v1.Addon/ListPartnerAddons\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPartnerAddonsResponse.fromProto(resp)));\n }\n }\n AddonApiService.ɵfac = function AddonApiService_Factory(t) {\n return new (t || AddonApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n AddonApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AddonApiService,\n factory: AddonApiService.ɵfac,\n providedIn: 'root'\n });\n return AddonApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet BrandingV2ApiService = /*#__PURE__*/(() => {\n class BrandingV2ApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getBranding(r) {\n const request = r.toApiJson ? r : new GetBrandingV2Request(r);\n return this.http.post(this._host + \"/partner.v1.BrandingV2Service/GetBranding\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetBrandingV2Response.fromProto(resp)));\n }\n getMultiBranding(r) {\n const request = r.toApiJson ? r : new GetMultiBrandingV2Request(r);\n return this.http.post(this._host + \"/partner.v1.BrandingV2Service/GetMultiBranding\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiBrandingV2Response.fromProto(resp)));\n }\n listBranding(r) {\n const request = r.toApiJson ? r : new ListBrandingV2Request(r);\n return this.http.post(this._host + \"/partner.v1.BrandingV2Service/ListBranding\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListBrandingV2Response.fromProto(resp)));\n }\n upsertBranding(r) {\n const request = r.toApiJson ? r : new UpsertBrandingV2Request(r);\n return this.http.post(this._host + \"/partner.v1.BrandingV2Service/UpsertBranding\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n BrandingV2ApiService.ɵfac = function BrandingV2ApiService_Factory(t) {\n return new (t || BrandingV2ApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n BrandingV2ApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: BrandingV2ApiService,\n factory: BrandingV2ApiService.ɵfac,\n providedIn: 'root'\n });\n return BrandingV2ApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet BusinessCenterApiService = /*#__PURE__*/(() => {\n class BusinessCenterApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n setConfiguration(r) {\n const request = r.toApiJson ? r : new SetBusinessCenterConfigRequest(r);\n return this.http.post(this._host + \"/partner.v1.BusinessCenter/SetConfiguration\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SetBusinessCenterConfigResponse.fromProto(resp)));\n }\n getMarketConfiguration(r) {\n const request = r.toApiJson ? r : new GetBusinessCenterMarketConfigurationRequest(r);\n return this.http.post(this._host + \"/partner.v1.BusinessCenter/GetMarketConfiguration\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetBusinessCenterMarketConfigurationResponse.fromProto(resp)));\n }\n updateMarketConfiguration(r) {\n const request = r.toApiJson ? r : new UpdateBusinessCenterMarketConfigurationRequest(r);\n return this.http.post(this._host + \"/partner.v1.BusinessCenter/UpdateMarketConfiguration\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateBusinessCenterMarketConfigurationResponse.fromProto(resp)));\n }\n }\n BusinessCenterApiService.ɵfac = function BusinessCenterApiService_Factory(t) {\n return new (t || BusinessCenterApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n BusinessCenterApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: BusinessCenterApiService,\n factory: BusinessCenterApiService.ɵfac,\n providedIn: 'root'\n });\n return BusinessCenterApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet CannyApiService = /*#__PURE__*/(() => {\n class CannyApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getSingleSignOn(r) {\n const request = r.toApiJson ? r : new GetSingleSignOnRequest(r);\n return this.http.post(this._host + \"/partner.v1.CannyService/GetSingleSignOn\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSingleSignOnResponse.fromProto(resp)));\n }\n }\n CannyApiService.ɵfac = function CannyApiService_Factory(t) {\n return new (t || CannyApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n CannyApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: CannyApiService,\n factory: CannyApiService.ɵfac,\n providedIn: 'root'\n });\n return CannyApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet CustomerSurveyApiService = /*#__PURE__*/(() => {\n class CustomerSurveyApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n respond(r) {\n const request = r.toApiJson ? r : new CustomerSurveyRespondRequest(r);\n return this.http.post(this._host + \"/partner.v1.CustomerSurveyService/Respond\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CustomerSurveyRespondResponse.fromProto(resp)));\n }\n addFeedback(r) {\n const request = r.toApiJson ? r : new CustomerSurveyAddFeedbackRequest(r);\n return this.http.post(this._host + \"/partner.v1.CustomerSurveyService/AddFeedback\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listResponses(r) {\n const request = r.toApiJson ? r : new CustomerSurveyListResponsesRequest(r);\n return this.http.post(this._host + \"/partner.v1.CustomerSurveyService/ListResponses\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CustomerSurveyListResponsesResponse.fromProto(resp)));\n }\n }\n CustomerSurveyApiService.ɵfac = function CustomerSurveyApiService_Factory(t) {\n return new (t || CustomerSurveyApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n CustomerSurveyApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: CustomerSurveyApiService,\n factory: CustomerSurveyApiService.ɵfac,\n providedIn: 'root'\n });\n return CustomerSurveyApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet FeatureFlagsApiService = /*#__PURE__*/(() => {\n class FeatureFlagsApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateFeatureFlagRequest(r);\n return this.http.post(this._host + \"/partner.v1.FeatureFlags/Create\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n update(r) {\n const request = r.toApiJson ? r : new UpdateFeatureFlagRequest(r);\n return this.http.post(this._host + \"/partner.v1.FeatureFlags/Update\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n batchGetStatus(r) {\n const request = r.toApiJson ? r : new BatchGetStatusFeatureFlagRequest(r);\n return this.http.post(this._host + \"/partner.v1.FeatureFlags/BatchGetStatus\", request.toApiJson(), this.apiOptions()).pipe(map(resp => BatchGetStatusFeatureFlagResponse.fromProto(resp)));\n }\n batchGet(r) {\n const request = r.toApiJson ? r : new BatchGetFeatureFlagRequest(r);\n return this.http.post(this._host + \"/partner.v1.FeatureFlags/BatchGet\", request.toApiJson(), this.apiOptions()).pipe(map(resp => BatchGetFeatureFlagResponse.fromProto(resp)));\n }\n list(r) {\n const request = r.toApiJson ? r : new ListFeatureFlagRequest(r);\n return this.http.post(this._host + \"/partner.v1.FeatureFlags/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListFeatureFlagResponse.fromProto(resp)));\n }\n createAnalyticsDashboard(r) {\n const request = r.toApiJson ? r : new CreateAnalyticsDashboardRequest(r);\n return this.http.post(this._host + \"/partner.v1.FeatureFlags/CreateAnalyticsDashboard\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n addPartnerToWhitelist(r) {\n const request = r.toApiJson ? r : new AddPartnerToWhitelistRequest(r);\n return this.http.post(this._host + \"/partner.v1.FeatureFlags/AddPartnerToWhitelist\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n FeatureFlagsApiService.ɵfac = function FeatureFlagsApiService_Factory(t) {\n return new (t || FeatureFlagsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n FeatureFlagsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FeatureFlagsApiService,\n factory: FeatureFlagsApiService.ɵfac,\n providedIn: 'root'\n });\n return FeatureFlagsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet FreeTrialApiService = /*#__PURE__*/(() => {\n class FreeTrialApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getFreeTrialStatus(r) {\n const request = r.toApiJson ? r : new GetFreeTrialStatusRequest(r);\n return this.http.post(this._host + \"/partner.v1.FreeTrialService/GetFreeTrialStatus\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetFreeTrialStatusResponse.fromProto(resp)));\n }\n getFreeTrial(r) {\n const request = r.toApiJson ? r : new GetFreeTrialRequest(r);\n return this.http.post(this._host + \"/partner.v1.FreeTrialService/GetFreeTrial\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetFreeTrialResponse.fromProto(resp)));\n }\n updateFreeTrial(r) {\n const request = r.toApiJson ? r : new UpdateFreeTrialRequest(r);\n return this.http.post(this._host + \"/partner.v1.FreeTrialService/UpdateFreeTrial\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n FreeTrialApiService.ɵfac = function FreeTrialApiService_Factory(t) {\n return new (t || FreeTrialApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n FreeTrialApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FreeTrialApiService,\n factory: FreeTrialApiService.ɵfac,\n providedIn: 'root'\n });\n return FreeTrialApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet IAMApiService = /*#__PURE__*/(() => {\n class IAMApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n generateAccountGroupSession(r) {\n const request = r.toApiJson ? r : new GenerateAccountGroupSessionRequest(r);\n return this.http.post(this._host + \"/partner.v1.IAM/GenerateAccountGroupSession\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GenerateAccountGroupSessionResponse.fromProto(resp)));\n }\n resendPartnerAdminWelcomeEmail(r) {\n const request = r.toApiJson ? r : new ResendPartnerAdminWelcomeEmailRequest(r);\n return this.http.post(this._host + \"/partner.v1.IAM/ResendPartnerAdminWelcomeEmail\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updatePartnerAdmin(r) {\n const request = r.toApiJson ? r : new UpdatePartnerAdminRequest(r);\n return this.http.post(this._host + \"/partner.v1.IAM/UpdatePartnerAdmin\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n IAMApiService.ɵfac = function IAMApiService_Factory(t) {\n return new (t || IAMApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n IAMApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: IAMApiService,\n factory: IAMApiService.ɵfac,\n providedIn: 'root'\n });\n return IAMApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet PartnerApiService = /*#__PURE__*/(() => {\n class PartnerApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n reset(r) {\n const request = r.toApiJson ? r : new ResetPartnerRequest(r);\n return this.http.post(this._host + \"/partner.v1.Partner/Reset\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateSubscriptionTier(r) {\n const request = r.toApiJson ? r : new UpdateSubscriptionTierRequest(r);\n return this.http.post(this._host + \"/partner.v1.Partner/UpdateSubscriptionTier\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getUpdateSubscriptionTierStatus(r) {\n const request = r.toApiJson ? r : new GetUpdateSubscriptionTierStatusRequest(r);\n return this.http.post(this._host + \"/partner.v1.Partner/GetUpdateSubscriptionTierStatus\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetUpdateSubscriptionTierStatusResponse.fromProto(resp)));\n }\n canDoAction(r) {\n const request = r.toApiJson ? r : new PartnerCanDoActionRequest(r);\n return this.http.post(this._host + \"/partner.v1.Partner/CanDoAction\", request.toApiJson(), this.apiOptions()).pipe(map(resp => PartnerCanDoActionResponse.fromProto(resp)));\n }\n deletePartnerAccountGroup(r) {\n const request = r.toApiJson ? r : new DeletePartnerAccountGroupRequest(r);\n return this.http.post(this._host + \"/partner.v1.Partner/DeletePartnerAccountGroup\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getPartnerAccountGroupMapping(r) {\n const request = r.toApiJson ? r : new GetPartnerAccountGroupMappingRequest(r);\n return this.http.post(this._host + \"/partner.v1.Partner/GetPartnerAccountGroupMapping\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetPartnerAccountGroupMappingResponse.fromProto(resp)));\n }\n createPartnerAccountGroup(r) {\n const request = r.toApiJson ? r : new CreatePartnerAccountGroupRequest(r);\n return this.http.post(this._host + \"/partner.v1.Partner/CreatePartnerAccountGroup\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updatePartnerAccountGroup(r) {\n const request = r.toApiJson ? r : new UpdatePartnerAccountGroupRequest(r);\n return this.http.post(this._host + \"/partner.v1.Partner/UpdatePartnerAccountGroup\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n swapPartnerAccountGroup(r) {\n const request = r.toApiJson ? r : new SwapPartnerAccountGroupRequest(r);\n return this.http.post(this._host + \"/partner.v1.Partner/SwapPartnerAccountGroup\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n initiateSubscriptionTierUpdate(r) {\n const request = r.toApiJson ? r : new InitiateSubscriptionTierUpdateRequest(r);\n return this.http.post(this._host + \"/partner.v1.Partner/InitiateSubscriptionTierUpdate\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n PartnerApiService.ɵfac = function PartnerApiService_Factory(t) {\n return new (t || PartnerApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n PartnerApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PartnerApiService,\n factory: PartnerApiService.ɵfac,\n providedIn: 'root'\n });\n return PartnerApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet PartnerHealthsApiService = /*#__PURE__*/(() => {\n class PartnerHealthsApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n set(r) {\n const request = r.toApiJson ? r : new SetPartnerHealthRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerHealths/Set\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n get(r) {\n const request = r.toApiJson ? r : new GetPartnerHealthRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerHealths/Get\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetPartnerHealthResponse.fromProto(resp)));\n }\n list(r) {\n const request = r.toApiJson ? r : new ListPartnerHealthRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerHealths/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPartnerHealthResponse.fromProto(resp)));\n }\n getMulti(r) {\n const request = r.toApiJson ? r : new GetMultiPartnerHealthRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerHealths/GetMulti\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiPartnerHealthResponse.fromProto(resp)));\n }\n }\n PartnerHealthsApiService.ɵfac = function PartnerHealthsApiService_Factory(t) {\n return new (t || PartnerHealthsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n PartnerHealthsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PartnerHealthsApiService,\n factory: PartnerHealthsApiService.ɵfac,\n providedIn: 'root'\n });\n return PartnerHealthsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet PartnerLegacyApiService = /*#__PURE__*/(() => {\n class PartnerLegacyApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n createPartner(r) {\n const request = r.toApiJson ? r : new CreatePartnerRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerLegacy/CreatePartner\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getCreatePartnerStatus(r) {\n const request = r.toApiJson ? r : new GetCreatePartnerStatusRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerLegacy/GetCreatePartnerStatus\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetCreatePartnerStatusResponse.fromProto(resp)));\n }\n getSignUpAddPaymentCardResult(r) {\n const request = r.toApiJson ? r : new GetSignUpAddPaymentCardResultRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerLegacy/GetSignUpAddPaymentCardResult\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSignUpAddPaymentCardResultResponse.fromProto(resp)));\n }\n updatePartnerCompanyProfile(r) {\n const request = r.toApiJson ? r : new UpdateCompanyProfileRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerLegacy/UpdatePartnerCompanyProfile\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updatePartner(r) {\n const request = r.toApiJson ? r : new UpdatePartnerRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerLegacy/UpdatePartner\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getUpdatePartnerStatus(r) {\n const request = r.toApiJson ? r : new GetUpdatePartnerStatusRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerLegacy/GetUpdatePartnerStatus\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetUpdatePartnerStatusResponse.fromProto(resp)));\n }\n getPartnerCenterNavigation(r) {\n const request = r.toApiJson ? r : new GetPartnerCenterNavigationRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerLegacy/GetPartnerCenterNavigation\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetPartnerCenterNavigationResponse.fromProto(resp)));\n }\n }\n PartnerLegacyApiService.ɵfac = function PartnerLegacyApiService_Factory(t) {\n return new (t || PartnerLegacyApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n PartnerLegacyApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PartnerLegacyApiService,\n factory: PartnerLegacyApiService.ɵfac,\n providedIn: 'root'\n });\n return PartnerLegacyApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet PartnerModelApiService = /*#__PURE__*/(() => {\n class PartnerModelApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getPartnerModel(r) {\n const request = r.toApiJson ? r : new GetPartnerModelRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerModelService/GetPartnerModel\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetPartnerModelResponse.fromProto(resp)));\n }\n getMultiPartnerModel(r) {\n const request = r.toApiJson ? r : new GetMultiPartnerModelRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerModelService/GetMultiPartnerModel\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiPartnerModelResponse.fromProto(resp)));\n }\n updatePartnerModel(r) {\n const request = r.toApiJson ? r : new UpdatePartnerModelRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerModelService/UpdatePartnerModel\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n searchPartnerModels(r) {\n const request = r.toApiJson ? r : new SearchPartnerModelsRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerModelService/SearchPartnerModels\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SearchPartnerModelsResponse.fromProto(resp)));\n }\n }\n PartnerModelApiService.ɵfac = function PartnerModelApiService_Factory(t) {\n return new (t || PartnerModelApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n PartnerModelApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PartnerModelApiService,\n factory: PartnerModelApiService.ɵfac,\n providedIn: 'root'\n });\n return PartnerModelApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet PartnerSignupApiService = /*#__PURE__*/(() => {\n class PartnerSignupApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n selfSignUp(r) {\n const request = r.toApiJson ? r : new SelfSignUpRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerSignup/SelfSignUp\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n selfSignUpWithGoogle(r) {\n const request = r.toApiJson ? r : new SelfSignUpWithGoogleRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerSignup/SelfSignUpWithGoogle\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n selfSignUpWithLinkedIn(r) {\n const request = r.toApiJson ? r : new SelfSignUpWithLinkedRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerSignup/SelfSignUpWithLinkedIn\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n selfSignUpExistingAccountGroup(r) {\n const request = r.toApiJson ? r : new SelfSignUpExistingAccountGroupRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerSignup/SelfSignUpExistingAccountGroup\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n isEmailInUse(r) {\n const request = r.toApiJson ? r : new IsEmailInUseRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerSignup/IsEmailInUse\", request.toApiJson(), this.apiOptions()).pipe(map(resp => IsEmailInUseResponse.fromProto(resp)));\n }\n getSelfSignUpStatus(r) {\n const request = r.toApiJson ? r : new GetSelfSignUpStatusRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerSignup/GetSelfSignUpStatus\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSelfSignUpStatusResponse.fromProto(resp)));\n }\n login(r) {\n const request = r.toApiJson ? r : new LoginRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerSignup/Login\", request.toApiJson(), this.apiOptions()).pipe(map(resp => LoginResponse.fromProto(resp)));\n }\n signUp(r) {\n const request = r.toApiJson ? r : new SignUpRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerSignup/SignUp\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getGoogleProfile(r) {\n const request = r.toApiJson ? r : new GetGoogleProfileRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerSignup/GetGoogleProfile\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetGoogleProfileResponse.fromProto(resp)));\n }\n getLinkedInProfile(r) {\n const request = r.toApiJson ? r : new GetLinkedinProfileRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerSignup/GetLinkedInProfile\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetLinkedinProfileResponse.fromProto(resp)));\n }\n }\n PartnerSignupApiService.ɵfac = function PartnerSignupApiService_Factory(t) {\n return new (t || PartnerSignupApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n PartnerSignupApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PartnerSignupApiService,\n factory: PartnerSignupApiService.ɵfac,\n providedIn: 'root'\n });\n return PartnerSignupApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet PartnerTermsOfApiService = /*#__PURE__*/(() => {\n class PartnerTermsOfApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getTermsOfService(r) {\n const request = r.toApiJson ? r : new GetTermsOfServiceRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerTermsOfService/GetTermsOfService\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetTermsOfServiceResponse.fromProto(resp)));\n }\n createTermsOfService(r) {\n const request = r.toApiJson ? r : new CreateTermsOfServiceRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerTermsOfService/CreateTermsOfService\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n PartnerTermsOfApiService.ɵfac = function PartnerTermsOfApiService_Factory(t) {\n return new (t || PartnerTermsOfApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n PartnerTermsOfApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PartnerTermsOfApiService,\n factory: PartnerTermsOfApiService.ɵfac,\n providedIn: 'root'\n });\n return PartnerTermsOfApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet PartnerTrialApiService = /*#__PURE__*/(() => {\n class PartnerTrialApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getTrial(r) {\n const request = r.toApiJson ? r : new GetTrialRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerTrial/GetTrial\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetTrialResponse.fromProto(resp)));\n }\n createTrial(r) {\n const request = r.toApiJson ? r : new CreateTrialRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerTrial/CreateTrial\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n cancelTrial(r) {\n const request = r.toApiJson ? r : new CancelTrialRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerTrial/CancelTrial\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listTrial(r) {\n const request = r.toApiJson ? r : new ListTrialRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerTrial/ListTrial\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListTrialResponse.fromProto(resp)));\n }\n }\n PartnerTrialApiService.ɵfac = function PartnerTrialApiService_Factory(t) {\n return new (t || PartnerTrialApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n PartnerTrialApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PartnerTrialApiService,\n factory: PartnerTrialApiService.ɵfac,\n providedIn: 'root'\n });\n return PartnerTrialApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet PartnerUserAgreementTermsOfApiService = /*#__PURE__*/(() => {\n class PartnerUserAgreementTermsOfApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getUserAgreementTermsOfService(r) {\n const request = r.toApiJson ? r : new GetUserAgreementTermsOfServiceRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerUserAgreementTermsOfService/GetUserAgreementTermsOfService\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetUserAgreementTermsOfServiceResponse.fromProto(resp)));\n }\n setUserAgreementTermsOfService(r) {\n const request = r.toApiJson ? r : new SetUserAgreementTermsOfServiceRequest(r);\n return this.http.post(this._host + \"/partner.v1.PartnerUserAgreementTermsOfService/SetUserAgreementTermsOfService\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n PartnerUserAgreementTermsOfApiService.ɵfac = function PartnerUserAgreementTermsOfApiService_Factory(t) {\n return new (t || PartnerUserAgreementTermsOfApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n PartnerUserAgreementTermsOfApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PartnerUserAgreementTermsOfApiService,\n factory: PartnerUserAgreementTermsOfApiService.ɵfac,\n providedIn: 'root'\n });\n return PartnerUserAgreementTermsOfApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet PreviewEmailApiService = /*#__PURE__*/(() => {\n class PreviewEmailApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n createPreviewEmail(r) {\n const request = r.toApiJson ? r : new CreatePreviewEmailRequest(r);\n return this.http.post(this._host + \"/partner.v1.PreviewEmailService/CreatePreviewEmail\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n canSendPreviewEmail(r) {\n const request = r.toApiJson ? r : new CanSendPreviewEmailRequest(r);\n return this.http.post(this._host + \"/partner.v1.PreviewEmailService/CanSendPreviewEmail\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CanSendPreviewEmailResponse.fromProto(resp)));\n }\n }\n PreviewEmailApiService.ɵfac = function PreviewEmailApiService_Factory(t) {\n return new (t || PreviewEmailApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n PreviewEmailApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PreviewEmailApiService,\n factory: PreviewEmailApiService.ɵfac,\n providedIn: 'root'\n });\n return PreviewEmailApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet RewardsApiService = /*#__PURE__*/(() => {\n class RewardsApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n addRewardToPartner(r) {\n const request = r.toApiJson ? r : new AddRewardToPartnerRequest(r);\n return this.http.post(this._host + \"/partner.v1.Rewards/AddRewardToPartner\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n attemptRewardClaim(r) {\n const request = r.toApiJson ? r : new AttemptRewardClaimRequest(r);\n return this.http.post(this._host + \"/partner.v1.Rewards/AttemptRewardClaim\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getReward(r) {\n const request = r.toApiJson ? r : new GetRewardRequest(r);\n return this.http.post(this._host + \"/partner.v1.Rewards/GetReward\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetRewardResponse.fromProto(resp)));\n }\n isRewardConditionMetForPartner(r) {\n const request = r.toApiJson ? r : new IsRewardConditionMetForPartnerRequest(r);\n return this.http.post(this._host + \"/partner.v1.Rewards/IsRewardConditionMetForPartner\", request.toApiJson(), this.apiOptions()).pipe(map(resp => IsRewardConditionMetForPartnerResponse.fromProto(resp)));\n }\n }\n RewardsApiService.ɵfac = function RewardsApiService_Factory(t) {\n return new (t || RewardsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n RewardsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: RewardsApiService,\n factory: RewardsApiService.ɵfac,\n providedIn: 'root'\n });\n return RewardsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet SalesApiService = /*#__PURE__*/(() => {\n class SalesApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n setConfiguration(r) {\n const request = r.toApiJson ? r : new SetSalesConfigRequest(r);\n return this.http.post(this._host + \"/partner.v1.Sales/SetConfiguration\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SetSalesConfigResponse.fromProto(resp)));\n }\n getConfiguration(r) {\n const request = r.toApiJson ? r : new GetSalesConfigRequest(r);\n return this.http.post(this._host + \"/partner.v1.Sales/GetConfiguration\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSalesConfigResponse.fromProto(resp)));\n }\n }\n SalesApiService.ɵfac = function SalesApiService_Factory(t) {\n return new (t || SalesApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n SalesApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SalesApiService,\n factory: SalesApiService.ɵfac,\n providedIn: 'root'\n });\n return SalesApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet StatsApiService = /*#__PURE__*/(() => {\n class StatsApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n listTop(r) {\n const request = r.toApiJson ? r : new ListTopRequest(r);\n return this.http.post(this._host + \"/partner.v1.Stats/ListTop\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListTopResponse.fromProto(resp)));\n }\n }\n StatsApiService.ɵfac = function StatsApiService_Factory(t) {\n return new (t || StatsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n StatsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: StatsApiService,\n factory: StatsApiService.ɵfac,\n providedIn: 'root'\n });\n return StatsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet SubscriptionTiersApiService = /*#__PURE__*/(() => {\n class SubscriptionTiersApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getSubscriptionTier(r) {\n const request = r.toApiJson ? r : new GetSubscriptionTierRequest(r);\n return this.http.post(this._host + \"/partner.v1.SubscriptionTiers/GetSubscriptionTier\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSubscriptionTierResponse.fromProto(resp)));\n }\n listSubscriptionTiers(r) {\n const request = r.toApiJson ? r : new ListSubscriptionTiersRequest(r);\n return this.http.post(this._host + \"/partner.v1.SubscriptionTiers/ListSubscriptionTiers\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSubscriptionTiersResponse.fromProto(resp)));\n }\n compareSubscriptionTiers(r) {\n const request = r.toApiJson ? r : new CompareSubscriptionTiersRequest(r);\n return this.http.post(this._host + \"/partner.v1.SubscriptionTiers/CompareSubscriptionTiers\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CompareSubscriptionTiersResponse.fromProto(resp)));\n }\n }\n SubscriptionTiersApiService.ɵfac = function SubscriptionTiersApiService_Factory(t) {\n return new (t || SubscriptionTiersApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n SubscriptionTiersApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SubscriptionTiersApiService,\n factory: SubscriptionTiersApiService.ɵfac,\n providedIn: 'root'\n });\n return SubscriptionTiersApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet TaskManagerApiService = /*#__PURE__*/(() => {\n class TaskManagerApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n setConfiguration(r) {\n const request = r.toApiJson ? r : new SetTaskManagerConfigRequest(r);\n return this.http.post(this._host + \"/partner.v1.TaskManager/SetConfiguration\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SetTaskManagerConfigResponse.fromProto(resp)));\n }\n getConfiguration(r) {\n const request = r.toApiJson ? r : new GetTaskManagerConfigRequest(r);\n return this.http.post(this._host + \"/partner.v1.TaskManager/GetConfiguration\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetTaskManagerConfigResponse.fromProto(resp)));\n }\n }\n TaskManagerApiService.ɵfac = function TaskManagerApiService_Factory(t) {\n return new (t || TaskManagerApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n TaskManagerApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: TaskManagerApiService,\n factory: TaskManagerApiService.ɵfac,\n providedIn: 'root'\n });\n return TaskManagerApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet UserOnboardingApiService = /*#__PURE__*/(() => {\n class UserOnboardingApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n replaceWizardStatus(r) {\n const request = r.toApiJson ? r : new ReplaceWizardStatusRequest(r);\n return this.http.post(this._host + \"/partner.v1.UserOnboarding/ReplaceWizardStatus\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getWizardStatus(r) {\n const request = r.toApiJson ? r : new GetWizardStatusRequest(r);\n return this.http.post(this._host + \"/partner.v1.UserOnboarding/GetWizardStatus\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetWizardStatusResponse.fromProto(resp)));\n }\n listWizardStatus(r) {\n const request = r.toApiJson ? r : new ListWizardStatusRequest(r);\n return this.http.post(this._host + \"/partner.v1.UserOnboarding/ListWizardStatus\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListWizardStatusResponse.fromProto(resp)));\n }\n deleteWizardStatus(r) {\n const request = r.toApiJson ? r : new DeleteWizardStatusRequest(r);\n return this.http.post(this._host + \"/partner.v1.UserOnboarding/DeleteWizardStatus\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n UserOnboardingApiService.ɵfac = function UserOnboardingApiService_Factory(t) {\n return new (t || UserOnboardingApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n UserOnboardingApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: UserOnboardingApiService,\n factory: UserOnboardingApiService.ɵfac,\n providedIn: 'root'\n });\n return UserOnboardingApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet WhitelabelApiService = /*#__PURE__*/(() => {\n class WhitelabelApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getBranding(r) {\n const request = r.toApiJson ? r : new GetBrandingRequest(r);\n return this.http.post(this._host + \"/partner.v1.Whitelabel/GetBranding\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetBrandingResponse.fromProto(resp)));\n }\n getMultiBranding(r) {\n const request = r.toApiJson ? r : new GetMultiBrandingRequest(r);\n return this.http.post(this._host + \"/partner.v1.Whitelabel/GetMultiBranding\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiBrandingResponse.fromProto(resp)));\n }\n getConfiguration(r) {\n const request = r.toApiJson ? r : new GetConfigurationRequest(r);\n return this.http.post(this._host + \"/partner.v1.Whitelabel/GetConfiguration\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetConfigurationResponse.fromProto(resp)));\n }\n }\n WhitelabelApiService.ɵfac = function WhitelabelApiService_Factory(t) {\n return new (t || WhitelabelApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n WhitelabelApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: WhitelabelApiService,\n factory: WhitelabelApiService.ɵfac,\n providedIn: 'root'\n });\n return WhitelabelApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Access, AccessLevel, AcquisitionData, AcquisitionDataApiService, Action, ActivateAddonRequest, ActivateAddonResponse, AddPartnerToWhitelistRequest, AddRewardToPartnerRequest, AddonActivation, AddonActivationStatus, AddonApiService, AppIdentifier, AttemptRewardClaimRequest, BatchGetFeatureFlagRequest, BatchGetFeatureFlagResponse, BatchGetStatusFeatureFlagRequest, BatchGetStatusFeatureFlagResponse, BillingFrequency, Branding, BrandingApp, BrandingAppsEntry, BrandingAssets, BrandingUITheme, BrandingV2, BrandingV2ApiService, BusinessCenterApiService, BusinessCenterConfiguration, BusinessCenterMarketConfiguration, CanSendPreviewEmailRequest, CanSendPreviewEmailResponse, CancelTrialRequest, CannyApiService, Claimed, CompanyProfile, CompareSubscriptionTiersRequest, CompareSubscriptionTiersResponse, ComparisonCell, ComparisonRow, Configuration, CountConstraint, CreateAnalyticsDashboardRequest, CreateFeatureFlagRequest, CreatePartnerAccountGroupRequest, CreatePartnerRequest, CreatePreviewEmailRequest, CreateTermsOfServiceRequest, CreateTrialRequest, CustomerSurveyAddFeedbackRequest, CustomerSurveyApiService, CustomerSurveyListResponsesRequest, CustomerSurveyListResponsesResponse, CustomerSurveyPagedRequestOptions, CustomerSurveyPagedResponseMetadata, CustomerSurveyRespondRequest, CustomerSurveyRespondResponse, CustomerSurveyResponse, DeactivateAddonRequest, DeletePartnerAccountGroupRequest, DeleteWizardStatusRequest, EditUserProfileLocation, EmailConfiguration, EmailPasswordCredential, ExistingAccount, ExperimentSetting, Expiration, FeatureFlag, FeatureFlagsApiService, Field, FieldMask, FreeTrialApiService, GenerateAccountGroupSessionRequest, GenerateAccountGroupSessionResponse, GetAcquisitionDataRequest, GetAcquisitionDataResponse, GetAddonActivationRequest, GetAddonActivationResponse, GetBrandingRequest, GetBrandingResponse, GetBrandingV2Request, GetBrandingV2Response, GetBusinessCenterMarketConfigurationRequest, GetBusinessCenterMarketConfigurationResponse, GetConfigurationRequest, GetConfigurationResponse, GetCreatePartnerStatusRequest, GetCreatePartnerStatusResponse, GetFreeTrialRequest, GetFreeTrialResponse, GetFreeTrialStatusRequest, GetFreeTrialStatusResponse, GetGoogleProfileRequest, GetGoogleProfileResponse, GetLinkedinProfileRequest, GetLinkedinProfileResponse, GetMultiBrandingRequest, GetMultiBrandingResponse, GetMultiBrandingV2Request, GetMultiBrandingV2Response, GetMultiPartnerHealthRequest, GetMultiPartnerHealthResponse, GetMultiPartnerModelRequest, GetMultiPartnerModelResponse, GetPartnerAccountGroupMappingRequest, GetPartnerAccountGroupMappingResponse, GetPartnerCenterNavigationRequest, GetPartnerCenterNavigationResponse, GetPartnerHealthRequest, GetPartnerHealthResponse, GetPartnerModelRequest, GetPartnerModelResponse, GetRewardRequest, GetRewardResponse, GetSalesConfigRequest, GetSalesConfigResponse, GetSelfSignUpStatusRequest, GetSelfSignUpStatusResponse, GetSignUpAddPaymentCardResultRequest, GetSignUpAddPaymentCardResultResponse, GetSignUpAddPaymentCardResultResponseStatus, GetSingleSignOnRequest, GetSingleSignOnResponse, GetSubscriptionTierRequest, GetSubscriptionTierResponse, GetTaskManagerConfigRequest, GetTaskManagerConfigResponse, GetTermsOfServiceRequest, GetTermsOfServiceResponse, GetTrialRequest, GetTrialResponse, GetUpdatePartnerStatusRequest, GetUpdatePartnerStatusResponse, GetUpdateSubscriptionTierStatusRequest, GetUpdateSubscriptionTierStatusResponse, GetUserAgreementTermsOfServiceRequest, GetUserAgreementTermsOfServiceResponse, GetWizardStatusRequest, GetWizardStatusResponse, GoogleTokenCredential, IAMApiService, InitiateSubscriptionTierUpdateRequest, IsEmailInUseRequest, IsEmailInUseResponse, IsRewardConditionMetForPartnerRequest, IsRewardConditionMetForPartnerResponse, LinkedInTokenCredential, ListAddonActivationsRequest, ListAddonActivationsResponse, ListBrandingV2Request, ListBrandingV2Response, ListFeatureFlagFilters, ListFeatureFlagRequest, ListFeatureFlagResponse, ListPartnerAddonsRequest, ListPartnerAddonsResponse, ListPartnerHealthRequest, ListPartnerHealthResponse, ListSubscriptionTiersRequest, ListSubscriptionTiersResponse, ListTopRequest, ListTopResponse, ListTrialRequest, ListTrialResponse, ListWizardStatusRequest, ListWizardStatusResponse, LoginRequest, LoginResponse, MailingConfiguration, Money, NavigationItem, NavigationItemBadge, NavigationItemChild, NewAccount, PagedRequestOptions, PagedResponseData, PagedResponseMetadata, PagingRequestMetadata, PagingResponseMetadata, PartnerAccess, PartnerAcquisitionData, PartnerAddon, PartnerAdminPermissions, PartnerApiService, PartnerCanDoActionRequest, PartnerCanDoActionResponse, PartnerHealth, PartnerHealthState, PartnerHealthSubState, PartnerHealthsApiService, PartnerInfo, PartnerLegacyApiService, PartnerModel, PartnerModelApiService, PartnerOrigin, PartnerSignupApiService, PartnerStats, PartnerTermsOfApiService, PartnerTrialApiService, PartnerType, PartnerUser, PartnerUserAgreementTermsOfApiService, PreviewEmailApiService, ReferralLink, ReplaceWizardStatusRequest, ReportAccess, ReportAccessIDType, ReportAccessScope, ReputationConfiguration, ResendPartnerAdminWelcomeEmailRequest, ResetPartnerRequest, Reward, RewardStatus, RewardsApiService, SalesApiService, SalesConfigInputs, SalesConfiguration, SalesSetting, SearchPartnerModelsFilters, SearchPartnerModelsRequest, SearchPartnerModelsResponse, SegmentedOnboardingConfiguration, SelectionCriteria, SelfSignUpExistingAccountGroupRequest, SelfSignUpRequest, SelfSignUpWithGoogleRequest, SelfSignUpWithLinkedRequest, SetBusinessCenterConfigRequest, SetBusinessCenterConfigResponse, SetPartnerHealthRequest, SetSalesConfigRequest, SetSalesConfigResponse, SetTaskManagerConfigRequest, SetTaskManagerConfigResponse, SetUserAgreementTermsOfServiceRequest, SignUpCredential, SignUpRequest, SinglePartnerMarketBranding, SnapshotConfiguration, StatsApiService, Status, SubscriptionFailure, SubscriptionLevel, SubscriptionTier, SubscriptionTierUpdateType, SubscriptionTiersApiService, SubscriptionUpdate, SupportFlag, SwapPartnerAccountGroupRequest, TaskManagerApiService, TaskManagerConfiguration, TaskStatus, TermOfService, TermsOfService, Theme, TierCostConstraint, TierUsageLimits, TimeRange, ToolkitData, Trial, UITheme, URL, UpdateBusinessCenterMarketConfigurationRequest, UpdateBusinessCenterMarketConfigurationResponse, UpdateCancelFreeTrialReasonMutation, UpdateCompanyProfileRequest, UpdateFeatureFlagRequest, UpdateFeatureFlagRequestMutation, UpdateFeatureFlagRequestMutationPartnerAccessMutation, UpdateFreeTrialActionRequiredStatusMutation, UpdateFreeTrialMutation, UpdateFreeTrialRequest, UpdatePartnerAccountGroupRequest, UpdatePartnerAdminRequest, UpdatePartnerModelMutation, UpdatePartnerModelMutationCountryState, UpdatePartnerModelRequest, UpdatePartnerRequest, UpdateSubscriptionTierRequest, UpdateSubscriptionTierStatus, UpsertBrandingV2Request, UpsertMutation, UpsertMutationMarketOverridesMutation, Usage, UserAgreementTermsOfService, UserCredential, UserOnboardingApiService, WhitelabelApiService, WizardStatus };\n","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { FeatureFlagsApiService } from '@vendasta/partner';\nimport {\n BatchGetFeatureFlagRequest,\n BatchGetFeatureFlagResponse,\n BatchGetStatusFeatureFlagRequest,\n BatchGetStatusFeatureFlagResponse,\n ListFeatureFlagRequest,\n UpdateFeatureFlagRequest,\n CreateFeatureFlagRequest,\n CreateAnalyticsDashboardRequest,\n} from '@vendasta/partner';\nimport { FeatureFlag } from '@vendasta/partner';\nimport {\n ListFeatureFlagFiltersInterface,\n ListFeatureFlagResponseInterface,\n UpdateFeatureFlagRequestMutationInterface,\n CreateFeatureFlagRequestInterface,\n} from '@vendasta/partner';\n\nexport interface FeatureFlagStatusInterface {\n [status: string]: boolean;\n}\n\nexport interface ListFeatureFlagFilters extends ListFeatureFlagFiltersInterface {\n archivedOnly?: boolean;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class FeatureFlagService {\n constructor(private api: FeatureFlagsApiService) {}\n\n batchGetStatus(partnerId: string, marketId: string, featureIds: string[]): Observable {\n const req = new BatchGetStatusFeatureFlagRequest({\n featureIds: featureIds,\n partnerId: partnerId,\n marketId: marketId,\n });\n return this.api.batchGetStatus(req).pipe(\n map((resp: BatchGetStatusFeatureFlagResponse): FeatureFlagStatusInterface => {\n const statuses: FeatureFlagStatusInterface = {};\n resp.hasAccess.forEach((status, i) => {\n statuses[featureIds[i]] = status;\n });\n return statuses;\n }),\n );\n }\n\n batchGet(featureFlagIds: string[]): Observable {\n return this.api\n .batchGet(new BatchGetFeatureFlagRequest({ ids: featureFlagIds }))\n .pipe(map((resp: BatchGetFeatureFlagResponse) => resp.flags));\n }\n\n update(id: string, mutations: UpdateFeatureFlagRequestMutationInterface[]): Observable {\n return this.api.update(new UpdateFeatureFlagRequest({ id: id, mutations: mutations })).pipe(map(() => true));\n }\n\n create(featureFlag: CreateFeatureFlagRequestInterface): Observable {\n return this.api.create(new CreateFeatureFlagRequest(featureFlag)).pipe(map(() => true));\n }\n\n list(\n cursor: string,\n pageSize: number,\n filters: ListFeatureFlagFilters,\n ): Observable {\n return this.api.list(\n new ListFeatureFlagRequest({\n archivedOnly: filters.archivedOnly,\n cursor: cursor,\n pageSize: pageSize,\n filters: { searchTerm: filters.searchTerm, accessLevel: filters.accessLevel },\n }),\n );\n }\n\n createAnalyticsDashboard(featureFlagID: string, userID: string): Observable {\n const request = { featureFlagId: featureFlagID, userId: userID };\n return this.api.createAnalyticsDashboard(new CreateAnalyticsDashboardRequest(request)).pipe(map(() => true));\n }\n}\n","export const FREE_SUBSCRIPTION_ID = 'free_subscription',\n // deprecated tiers (do not use)\n BASIC = 'BASIC',\n PROFESSIONAL = 'PROFESSIONAL',\n ENTERPRISE = 'ENTERPRISE',\n PREMIUM = 'PREMIUM',\n ELITE = 'ELITE',\n PROFESSIONAL_PLUS = 'PROFESSIONAL_PLUS',\n ENTERPRISE_PLUS = 'ENTERPRISE_PLUS',\n // legacy tiers\n LITE_SUBSCRIPTION_ID = 'lite_subscription',\n BASIC_SUBSCRIPTION_ID = 'basic_subscription',\n PROFESSIONAL_SUBSCRIPTION_ID = 'professional_subscription',\n ENTERPRISE_SUBSCRIPTION_ID = 'enterprise_subscription',\n PREMIUM_SUBSCRIPTION_ID = 'premium_subscription',\n ELITE_SUBSCRIPTION_ID = 'elite_subscription',\n // Value based pricing tiers\n VBP_STARTER_SUBSCRIPTION_ID = 'starter_subscription',\n VBP_BASIC_SUBSCRIPTION_ID = 'vbp_basic_subscription',\n VBP_PROFESSIONAL_SUBSCRIPTION_ID = 'vbp_professional_subscription',\n VBP_ENTERPRISE_SUBSCRIPTION_ID = 'vbp_enterprise_subscription',\n VBP_ENTERPRISE_PILOT_SUBSCRIPTION_ID = 'vbp_enterprise_pilot_subscription',\n // Value based pricing 2.0 tiers\n VBP2_STARTUP_SUBSCRIPTION_ID = 'vbp2_startup_subscription',\n VBP2_ESSENTIALS_SUBSCRIPTION_ID = 'vbp2_essentials_subscription',\n VBP2_GROWTH_SUBSCRIPTION_ID = 'vbp2_growth_subscription',\n VBP2_SCALE_SUBSCRIPTION_ID = 'vbp2_scale_subscription',\n VBP2_PREMIUM_SUBSCRIPTION_ID = 'vbp2_premium_subscription',\n // Monetization tiers\n INDIVIDUAL_SUBSCRIPTION_ID = 'm3_solo_subscription',\n TEAM_SUBSCRIPTION_ID = 'm3_small_subscription',\n ADVANCE_SUBSCRIPTION_ID = 'm3_medium_subscription',\n CUSTOM_SUBSCRIPTION_ID = 'm3_large_subscription',\n // Current pricing tiers\n VBP2023_STARTER_SUBSCRIPTION_ID = 'vbp_2023_starter_subscription',\n VBP2022_PROFESSIONAL_SUBSCRIPTION_ID = 'vbp_2022_professional_subscription',\n VBP2022_PREMIUM_SUBSCRIPTION_ID = 'vbp_2022_premium_subscription',\n VBP2022_CUSTOM_SUBSCRIPTION_ID = 'vbp_2022_custom_subscription';\n\nexport const VBP2022_VERSION = 'VBP2022';\nexport const VBP2023_VERSION = 'VBP2023';\nexport const M3_TIER_VERSION = 'M3';\n\nexport const STANDARD_SUPPORT_TIERS = [\n BASIC,\n BASIC_SUBSCRIPTION_ID,\n VBP_BASIC_SUBSCRIPTION_ID,\n VBP2_ESSENTIALS_SUBSCRIPTION_ID,\n PROFESSIONAL,\n PROFESSIONAL_PLUS,\n PROFESSIONAL_SUBSCRIPTION_ID,\n VBP_PROFESSIONAL_SUBSCRIPTION_ID,\n VBP2_GROWTH_SUBSCRIPTION_ID,\n VBP2_SCALE_SUBSCRIPTION_ID,\n TEAM_SUBSCRIPTION_ID,\n ADVANCE_SUBSCRIPTION_ID,\n VBP2022_PROFESSIONAL_SUBSCRIPTION_ID,\n VBP2022_PREMIUM_SUBSCRIPTION_ID,\n];\n\nexport const PREMIUM_SUPPORT_SUBSCRIPTION_TIERS = [\n ENTERPRISE,\n PREMIUM,\n ELITE,\n ENTERPRISE_PLUS,\n ENTERPRISE_SUBSCRIPTION_ID,\n PREMIUM_SUBSCRIPTION_ID,\n ELITE_SUBSCRIPTION_ID,\n VBP_ENTERPRISE_SUBSCRIPTION_ID,\n VBP2_PREMIUM_SUBSCRIPTION_ID,\n CUSTOM_SUBSCRIPTION_ID,\n VBP2022_CUSTOM_SUBSCRIPTION_ID,\n];\n\nexport const CHAT_SUPPORT_TIERS = [\n INDIVIDUAL_SUBSCRIPTION_ID,\n ...STANDARD_SUPPORT_TIERS,\n ...PREMIUM_SUPPORT_SUBSCRIPTION_TIERS,\n];\n","import { InjectionToken } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nimport {\n GetMultiPartnerHealthResponseInterface,\n GetSalesConfigResponseInterface,\n ListPartnerHealthResponseInterface,\n ListTrialResponse,\n PartnerHealthInterface,\n PartnerHealthState,\n PartnerHealthSubState,\n SalesConfigInputsInterface,\n SetSalesConfigResponseInterface,\n TrialInterface,\n} from '@vendasta/partner';\n\nexport const PartnerServiceInterfaceToken: InjectionToken =\n new InjectionToken('PartnerServiceInterface');\n\nexport interface PartnerServiceInterface {\n getPartnerId(): Observable;\n}\n\nexport interface PartnerTrialServiceInterface {\n createTrial(partnerId: string, subscriptionId: string, start: Date, end: Date): Observable;\n getTrial(partnerId: string): Observable;\n cancelTrial(partnerId: string, trialId: string): Observable;\n listTrial(partnerId: string, pageSize: number, cursor: string): Observable;\n}\n\nexport interface PartnerHealthsServiceInterface {\n set(\n partnerId: string,\n state: PartnerHealthState,\n subState: PartnerHealthSubState,\n reason: string,\n inRetention: boolean,\n ): Observable;\n get(partnerId: string): Observable;\n list(partnerId: string, pageSize: number, cursor: string): Observable;\n getMulti(partnerIds: string[]): Observable;\n}\n\nexport interface PartnerSalesServiceInterface {\n setConfiguration(\n partnerId: string,\n marketId: string,\n config: SalesConfigInputsInterface,\n ): Observable;\n getConfiguration(partnerId: string, marketId: string): Observable;\n}\n","import { Inject, Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nimport { PartnerServiceInterface, PartnerServiceInterfaceToken } from './interfaces';\n\n@Injectable({ providedIn: 'root' })\nexport class PartnerService implements PartnerServiceInterface {\n constructor(@Inject(PartnerServiceInterfaceToken) private innerService: PartnerServiceInterface) {}\n getPartnerId(): Observable {\n return this.innerService.getPartnerId();\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { BrandingInterface, ConfigurationInterface } from '@vendasta/partner';\nimport { GetBrandingRequest, GetConfigurationRequest } from '@vendasta/partner';\nimport { WhitelabelApiService } from '@vendasta/partner';\n\n@Injectable({ providedIn: 'root' })\nexport class WhitelabelService {\n constructor(private api: WhitelabelApiService) {}\n\n /**\n * @deprecated Use BrandingV2Service to get partner branding instead\n */\n getBranding(partnerId: string, marketId?: string): Observable {\n const req = new GetBrandingRequest({ partnerId: partnerId, marketId: marketId });\n return this.api.getBranding(req).pipe(map((resp) => resp.branding));\n }\n\n getConfiguration(partnerId: string, marketId?: string): Observable {\n const req = new GetConfigurationRequest({ partnerId: partnerId, marketId: marketId });\n return this.api.getConfiguration(req).pipe(map((resp) => resp.configuration));\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport {\n BrandingV2ApiService,\n BrandingV2Interface,\n GetBrandingV2Request,\n GetBrandingV2RequestInterface,\n GetBrandingV2Response,\n GetMultiBrandingV2Request,\n GetMultiBrandingV2Response,\n ListBrandingV2Request,\n ListBrandingV2Response,\n UpsertBrandingV2Request,\n UpsertMutationInterface,\n} from '@vendasta/partner';\n\n@Injectable({ providedIn: 'root' })\nexport class BrandingV2Service {\n constructor(private api: BrandingV2ApiService) {}\n\n getBranding(partnerId: string, marketId?: string): Observable {\n const req = new GetBrandingV2Request({ partnerId: partnerId, marketId: marketId });\n return this.api.getBranding(req).pipe(map((resp: GetBrandingV2Response) => resp.branding));\n }\n\n getMultiBranding(requests: GetBrandingV2RequestInterface[]): Observable {\n const req = new GetMultiBrandingV2Request({ requests: requests });\n return this.api.getMultiBranding(req).pipe(map((resp: GetMultiBrandingV2Response) => resp.branding));\n }\n\n listBranding(partnerId: string, pageSize: number, cursor: string): Observable {\n const req = new ListBrandingV2Request({\n partnerId: partnerId,\n pagingOptions: { pageSize: pageSize, cursor: cursor },\n });\n return this.api.listBranding(req).pipe(map((resp: ListBrandingV2Response) => resp?.brandings));\n }\n\n upsertBranding(partnerId: string, marketId?: string, mutations?: UpsertMutationInterface[]): Observable {\n const req = new UpsertBrandingV2Request({ partnerId: partnerId, marketId: marketId, mutations: mutations });\n return this.api.upsertBranding(req).pipe(map(() => true));\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport {\n GetMultiPartnerHealthRequest,\n GetPartnerHealthRequest,\n ListPartnerHealthRequest,\n SetPartnerHealthRequest,\n} from '@vendasta/partner';\nimport { PartnerHealthsApiService } from '@vendasta/partner';\nimport { PartnerHealthsServiceInterface } from './interfaces';\nimport { PartnerHealthState, PartnerHealthSubState } from '@vendasta/partner';\nimport {\n GetMultiPartnerHealthResponseInterface,\n ListPartnerHealthResponseInterface,\n PartnerHealthInterface,\n} from '@vendasta/partner';\n\n@Injectable({ providedIn: 'root' })\nexport class PartnerHealthsService implements PartnerHealthsServiceInterface {\n constructor(private api: PartnerHealthsApiService) {}\n\n set(\n partnerId: string,\n state: PartnerHealthState,\n subState: PartnerHealthSubState,\n reason: string,\n inRetention: boolean,\n ): Observable {\n const req = new SetPartnerHealthRequest({\n partnerId: partnerId,\n state: state,\n subState: subState,\n reason: reason,\n inRetention: inRetention,\n });\n return this.api.set(req).pipe(map((res) => res.status === 200));\n }\n\n get(partnerId: string): Observable {\n const req = new GetPartnerHealthRequest({ partnerId: partnerId });\n return this.api.get(req).pipe(map((res) => res.health || {}));\n }\n\n list(partnerId: string, pageSize: number, cursor: string): Observable {\n const req = new ListPartnerHealthRequest({ partnerId: partnerId, pageSize: pageSize, cursor: cursor });\n return this.api.list(req);\n }\n\n getMulti(partnerIds: string[]): Observable {\n const req = new GetMultiPartnerHealthRequest({ partnerIds: partnerIds });\n return this.api.getMulti(req);\n }\n}\n","import { Inject, Injectable } from '@angular/core';\nimport { map, publishReplay, refCount, switchMap } from 'rxjs/operators';\nimport { Observable } from 'rxjs';\nimport {\n GetSubscriptionTierRequest,\n ListSubscriptionTiersRequest,\n SubscriptionTierInterface,\n SubscriptionTiersApiService,\n} from '@vendasta/partner';\nimport { FREE_SUBSCRIPTION_ID } from './constants';\nimport { ListSubscriptionTiersResponse } from '@vendasta/partner/lib/_internal/objects';\n\n@Injectable({ providedIn: 'root' })\nexport class SubscriptionTiersService {\n public subscriptionTierList$: Observable;\n\n constructor(\n private api: SubscriptionTiersApiService,\n @Inject('PARTNER_ID') private readonly partnerId$: Observable,\n ) {\n this.subscriptionTierList$ = partnerId$.pipe(\n switchMap((partnerId) => {\n return this.listSubscriptionTiers(partnerId);\n }),\n map((response) => response?.subscriptionTier),\n publishReplay(1),\n refCount(),\n );\n }\n\n // Returns a string like 'SUBSCRIPTION_TIERS.basic_subscription.NAME' to be used with frontend translate pipe.\n public static getI18NName(id: string): string {\n return `SUBSCRIPTION_TIERS.${id}.NAME`;\n }\n\n public static isFree(s: SubscriptionTierInterface): boolean {\n return s.id === FREE_SUBSCRIPTION_ID;\n }\n\n public static isClassicSubscription(s: SubscriptionTierInterface): boolean {\n return s.tierVersion === 'Classic';\n }\n\n public static isVBP2Subscription(s: SubscriptionTierInterface): boolean {\n return s.tierVersion === 'VBP 2.0';\n }\n\n public static isVBP2022Subscription(s: SubscriptionTierInterface): boolean {\n return s.tierVersion === 'VBP2022';\n }\n\n public static isM3Subscription(s: SubscriptionTierInterface): boolean {\n return s.tierVersion === 'M3';\n }\n\n public getSubscriptionTier(subscriptionId: string, partnerId: string): Observable {\n return this.api\n .getSubscriptionTier(new GetSubscriptionTierRequest({ id: subscriptionId, partnerId: partnerId }))\n .pipe(map((response) => response.subscriptionTier));\n }\n\n // use public subscriptionTierList$ to get list of subscriptions\n private listSubscriptionTiers(partnerId: string): Observable {\n const request = new ListSubscriptionTiersRequest({ partnerId: partnerId });\n return this.api.listSubscriptionTiers(request);\n }\n}\n","export * from '@vendasta/partner';\n\nexport * from './constants';\nexport { AddonService } from './addon.service';\nexport { ListResponse } from './addon.service';\nexport { PartnerService } from './partner.service';\nexport { PartnerSalesService } from './partner-sales.service';\nexport { FeatureFlagService, FeatureFlagStatusInterface, ListFeatureFlagFilters } from './feature-flag.service';\nexport { WhitelabelService } from './whitelabel.service';\nexport { AcquisitionDataService } from './acquisition-data.service';\nexport { BrandingV2Service } from './branding-v2.service';\nexport { CannyService } from './canny.service';\nexport { BusinessCenterService } from './business-center.service';\nexport { PartnerHealthsService } from './partner-health.service';\nexport { SubscriptionTiersService } from './subscription-tiers.service';\nexport { PartnerTrialService } from './partner-trial.service';\nexport { UserOnboardingService } from './user-onboarding.service';\nexport { RewardsService } from './rewards.service';\nexport { PartnerSubscriptionService } from './partner-subscription.service';\nexport { PartnerServiceInterfaceToken, PartnerServiceInterface, PartnerTrialServiceInterface } from './interfaces';\nexport { PartnerAccountGroupService } from './partner-account-group.service';\nexport {\n PartnerFreeTrialService,\n FAILED_PAYMENT_ACTION_REQUIRED_STATUS_ACTION_TAKEN,\n FAILED_PAYMENT_ACTION_REQUIRED_STATUS_ACTION_REQUIRED,\n GET_FREE_TRIAL_FIELD_MASK_ACTION_REQUIRED_STATUS,\n} from './partner-free-trial.service';\nexport { WelcomeEmailService } from './welcome-email.service';\n","export * from './lib';\n"],"mappings":"wNA0qBA,SAASA,GAAoBC,EAASC,EAAO,CAC3C,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CAkHA,SAASC,GAAoBF,EAASC,EAAO,CAC3C,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CAwRA,SAASE,GAAoBH,EAASC,EAAO,CAC3C,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CAyyDA,SAASG,EAAoBJ,EAASC,EAAO,CAC3C,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CA8yDA,SAASI,GAAoBL,EAASC,EAAO,CAC3C,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CAmsBA,SAASK,EAAkBN,EAASC,EAAO,CACzC,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CA52KA,IAYIM,GA8CAC,GAkBAC,GAMAC,GAUAC,GAcAC,EAOAC,GAmCAC,GAMAC,GA8DAC,GAwBAC,GAOAC,EAmCAC,GAUAC,GAwBAC,GAOAC,GA0CEC,EAmUAC,GAoBAC,GAmCAC,GAuBAC,GAyCAC,EA6BAC,EAkGAC,EAuBAC,GAuIAC,EAgrDAC,GA8HAC,EA+LAC,EA8MAC,GAuBAC,GAuBAC,GAuBAC,GAmCAC,GAuBAC,GA6BAC,GA6BAC,GAuBAC,GAuBAC,GAuBAC,GA6BAC,GA6BAC,GA6BAC,EAuBAC,GAuBAC,EAgCAC,GAsCAC,GAiEAC,GAgCAC,GA6BAC,GAmFAC,GAgCAC,GAuBAC,GA0BAC,GAuBAC,GA+CAC,GA0BAC,GAu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AGO,OAAOC,YAAYC,EAAU,CAClC,MAAO,sBAAsBA,CAAE,OACjC,CAEO,OAAOC,OAAOC,EAA4B,CAC/C,OAAOA,EAAEF,KAAOG,EAClB,CAEO,OAAOC,sBAAsBF,EAA4B,CAC9D,OAAOA,EAAEG,cAAgB,SAC3B,CAEO,OAAOC,mBAAmBJ,EAA4B,CAC3D,OAAOA,EAAEG,cAAgB,SAC3B,CAEO,OAAOE,sBAAsBL,EAA4B,CAC9D,OAAOA,EAAEG,cAAgB,SAC3B,CAEO,OAAOG,iBAAiBN,EAA4B,CACzD,OAAOA,EAAEG,cAAgB,IAC3B,CAEOI,oBAAoBC,EAAwBlB,EAAiB,CAClE,OAAO,KAAKL,IACTsB,oBAAoB,IAAIE,EAA2B,CAAEX,GAAIU,EAAgBlB,UAAWA,CAAS,CAAE,CAAC,EAChGF,KAAKI,EAAKC,GAAaA,EAASC,gBAAgB,CAAC,CACtD,CAGQH,sBAAsBD,EAAiB,CAC7C,IAAMoB,EAAU,IAAIC,EAA6B,CAAErB,UAAWA,CAAS,CAAE,EACzE,OAAO,KAAKL,IAAIM,sBAAsBmB,CAAO,CAC/C,yCApDWhC,GAAwBkC,EAAAC,EAAA,EAAAD,EAKzB,YAAY,CAAA,CAAA,wBALXlC,EAAwBoC,QAAxBpC,EAAwBqC,UAAAC,WADX,MAAM,CAAA,EAC1B,IAAOtC,EAAPuC,SAAOvC,CAAwB,GAAA,ICbrC,IAAAwC,GAAAC,EAAA,KAAAC,IAEAC,KAGAC,KAEAC,KACAC,KAEAC,KAGAC,KACAC,KAKAC,OCnBA,IAAAC,GAAAC,EAAA,KAAAC","names":["enumStringToValue$k","enumRef","value","enumStringToValue$j","enumStringToValue$h","enumStringToValue$c","enumStringToValue$6","enumStringToValue","SubscriptionLevel","Action","BillingFrequency","SubscriptionTierUpdateType","UpdateSubscriptionTierStatus","AccessLevel","Expiration","PartnerHealthState","PartnerHealthSubState","SubscriptionFailure","EditUserProfileLocation","TimeRange","Field","UITheme","SegmentedOnboardingConfiguration","BrandingUITheme","FieldMask","GetUpdateSubscriptionTierStatusRequest","GetUpdateSubscriptionTierStatusResponse","InitiateSubscriptionTierUpdateRequest","UpdateSubscriptionTierRequest","ExperimentSetting","FeatureFlag","PartnerAccess","SelectionCriteria","PartnerHealth","SalesConfiguration","BusinessCenterConfiguration","BusinessCenterMarketConfiguration","GetBusinessCenterMarketConfigurationRequest","GetBusinessCenterMarketConfigurationResponse","ReferralLink","SetBusinessCenterConfigRequest","SetBusinessCenterConfigResponse","UpdateBusinessCenterMarketConfigurationRequest","UpdateBusinessCenterMarketConfigurationResponse","AppIdentifier","CompareSubscriptionTiersRequest","CompareSubscriptionTiersResponse","ComparisonCell","ComparisonRow","CountConstraint","GetSubscriptionTierRequest","GetSubscriptionTierResponse","ListSubscriptionTiersRequest","ListSubscriptionTiersResponse","SubscriptionTier","SubscriptionUpdate","TierCostConstraint","TierUsageLimits","ToolkitData","CreateTermsOfServiceRequest","GetTermsOfServiceRequest","GetTermsOfServiceResponse","TermsOfService","GetUserAgreementTermsOfServiceRequest","GetUserAgreementTermsOfServiceResponse","SetUserAgreementTermsOfServiceRequest","UserAgreementTermsOfService","BrandingV2","TaskManagerConfiguration","AddPartnerToWhitelistRequest","BrandingApp","BrandingAssets","BatchGetFeatureFlagRequest","BatchGetFeatureFlagResponse","BatchGetStatusFeatureFlagRequest","BatchGetStatusFeatureFlagResponse","Branding","Configuration","CreateAnalyticsDashboardRequest","CreateFeatureFlagRequest","CreatePartnerAccountGroupRequest","DeletePartnerAccountGroupRequest","EmailConfiguration","GetBrandingRequest","GetBrandingResponse","GetBrandingV2Request","GetBrandingV2Response","GetConfigurationRequest","GetConfigurationResponse","GetMultiBrandingRequest","GetMultiBrandingResponse","GetMultiBrandingV2Request","GetMultiBrandingV2Response","GetMultiPartnerHealthRequest","GetMultiPartnerHealthResponse","GetPartnerAccountGroupMappingRequest","GetPartnerAccountGroupMappingResponse","GetPartnerHealthRequest","GetPartnerHealthResponse","ListBrandingV2Request","ListBrandingV2Response","ListFeatureFlagFilters","ListFeatureFlagRequest","ListFeatureFlagResponse","ListPartnerHealthRequest","ListPartnerHealthResponse","MailingConfiguration","UpsertMutationMarketOverridesMutation","UpdateFeatureFlagRequestMutation","PagedRequestOptions","PagedResponseMetadata","UpdateFeatureFlagRequestMutationPartnerAccessMutation","PartnerCanDoActionRequest","PartnerCanDoActionResponse","ReputationConfiguration","ResetPartnerRequest","SetPartnerHealthRequest","SinglePartnerMarketBranding","SnapshotConfiguration","SwapPartnerAccountGroupRequest","Theme","URL","UpdateFeatureFlagRequest","UpdatePartnerAccountGroupRequest","UpsertBrandingV2Request","UpsertMutation","environment","hostMap","HostService","BrandingV2ApiService","BusinessCenterApiService","FeatureFlagsApiService","PartnerApiService","PartnerHealthsApiService","PartnerTermsOfApiService","PartnerUserAgreementTermsOfApiService","SubscriptionTiersApiService","WhitelabelApiService","init_vendasta_partner","__esmMin","init_core","init_http","init_operators","_FieldMask","proto","m","kwargs","toReturn","_GetUpdateSubscriptionTierStatusRequest","_GetUpdateSubscriptionTierStatusResponse","_InitiateSubscriptionTierUpdateRequest","_UpdateSubscriptionTierRequest","_ExperimentSetting","_FeatureFlag","_PartnerAccess","_SelectionCriteria","_PartnerHealth","_SalesConfiguration","_BusinessCenterConfiguration","_BusinessCenterMarketConfiguration","_GetBusinessCenterMarketConfigurationRequest","_GetBusinessCenterMarketConfigurationResponse","_ReferralLink","_SetBusinessCenterConfigRequest","_SetBusinessCenterConfigResponse","_UpdateBusinessCenterMarketConfigurationRequest","_UpdateBusinessCenterMarketConfigurationResponse","_AppIdentifier","_CompareSubscriptionTiersRequest","_CompareSubscriptionTiersResponse","_ComparisonCell","_ComparisonRow","_CountConstraint","_GetSubscriptionTierRequest","_GetSubscriptionTierResponse","_ListSubscriptionTiersRequest","_ListSubscriptionTiersResponse","_SubscriptionTier","_SubscriptionUpdate","_TierCostConstraint","_TierUsageLimits","_ToolkitData","_CreateTermsOfServiceRequest","_GetTermsOfServiceRequest","_GetTermsOfServiceResponse","_TermsOfService","_GetUserAgreementTermsOfServiceRequest","_GetUserAgreementTermsOfServiceResponse","_SetUserAgreementTermsOfServiceRequest","_UserAgreementTermsOfService","_BrandingV2","v","_TaskManagerConfiguration","_AddPartnerToWhitelistRequest","_BrandingApp","_BrandingAssets","_BatchGetFeatureFlagRequest","_BatchGetFeatureFlagResponse","_BatchGetStatusFeatureFlagRequest","_BatchGetStatusFeatureFlagResponse","_Branding","obj","k","_Configuration","_CreateAnalyticsDashboardRequest","_CreateFeatureFlagRequest","_CreatePartnerAccountGroupRequest","_DeletePartnerAccountGroupRequest","_EmailConfiguration","_GetBrandingRequest","_GetBrandingResponse","_GetBrandingV2Request","_GetBrandingV2Response","_GetConfigurationRequest","_GetConfigurationResponse","_GetMultiBrandingRequest","_GetMultiBrandingResponse","_GetMultiBrandingV2Request","_GetMultiBrandingV2Response","_GetMultiPartnerHealthRequest","_GetMultiPartnerHealthResponse","_GetPartnerAccountGroupMappingRequest","_GetPartnerAccountGroupMappingResponse","_GetPartnerHealthRequest","_GetPartnerHealthResponse","_ListBrandingV2Request","_ListBrandingV2Response","_ListFeatureFlagFilters","_ListFeatureFlagRequest","_ListFeatureFlagResponse","_ListPartnerHealthRequest","_ListPartnerHealthResponse","_MailingConfiguration","_UpsertMutationMarketOverridesMutation","_UpdateFeatureFlagRequestMutation","_PagedRequestOptions","_PagedResponseMetadata","_UpdateFeatureFlagRequestMutationPartnerAccessMutation","_PartnerCanDoActionRequest","_PartnerCanDoActionResponse","_ReputationConfiguration","_ResetPartnerRequest","_SetPartnerHealthRequest","_SinglePartnerMarketBranding","_SnapshotConfiguration","_SwapPartnerAccountGroupRequest","_Theme","_URL","_UpdateFeatureFlagRequest","_UpdatePartnerAccountGroupRequest","_UpsertBrandingV2Request","_UpsertMutation","t","ɵɵdefineInjectable","http","hostService","HttpHeaders","r","request","map","resp","__spreadProps","__spreadValues","ɵɵinject","HttpClient","FeatureFlagService","init_feature_flag_service","__esmMin","init_operators","init_vendasta_partner","constructor","api","batchGetStatus","partnerId","marketId","featureIds","req","BatchGetStatusFeatureFlagRequest","pipe","map","resp","statuses","hasAccess","forEach","status","i","batchGet","featureFlagIds","BatchGetFeatureFlagRequest","ids","flags","update","id","mutations","UpdateFeatureFlagRequest","create","featureFlag","CreateFeatureFlagRequest","list","cursor","pageSize","filters","ListFeatureFlagRequest","archivedOnly","searchTerm","accessLevel","createAnalyticsDashboard","featureFlagID","userID","request","featureFlagId","userId","CreateAnalyticsDashboardRequest","ɵɵinject","FeatureFlagsApiService","factory","ɵfac","providedIn","_FeatureFlagService","FREE_SUBSCRIPTION_ID","BASIC","PROFESSIONAL","ENTERPRISE","PREMIUM","ELITE","PROFESSIONAL_PLUS","ENTERPRISE_PLUS","BASIC_SUBSCRIPTION_ID","PROFESSIONAL_SUBSCRIPTION_ID","ENTERPRISE_SUBSCRIPTION_ID","PREMIUM_SUBSCRIPTION_ID","ELITE_SUBSCRIPTION_ID","VBP_BASIC_SUBSCRIPTION_ID","VBP_PROFESSIONAL_SUBSCRIPTION_ID","VBP_ENTERPRISE_SUBSCRIPTION_ID","VBP2_ESSENTIALS_SUBSCRIPTION_ID","VBP2_GROWTH_SUBSCRIPTION_ID","VBP2_SCALE_SUBSCRIPTION_ID","VBP2_PREMIUM_SUBSCRIPTION_ID","INDIVIDUAL_SUBSCRIPTION_ID","TEAM_SUBSCRIPTION_ID","ADVANCE_SUBSCRIPTION_ID","CUSTOM_SUBSCRIPTION_ID","VBP2022_PROFESSIONAL_SUBSCRIPTION_ID","VBP2022_PREMIUM_SUBSCRIPTION_ID","VBP2022_CUSTOM_SUBSCRIPTION_ID","STANDARD_SUPPORT_TIERS","PREMIUM_SUPPORT_SUBSCRIPTION_TIERS","CHAT_SUPPORT_TIERS","init_constants","__esmMin","PartnerServiceInterfaceToken","init_interfaces","__esmMin","init_core","InjectionToken","PartnerService","init_partner_service","__esmMin","init_interfaces","constructor","innerService","getPartnerId","ɵɵinject","PartnerServiceInterfaceToken","factory","ɵfac","providedIn","_PartnerService","WhitelabelService","init_whitelabel_service","__esmMin","init_operators","init_vendasta_partner","constructor","api","getBranding","partnerId","marketId","req","GetBrandingRequest","pipe","map","resp","branding","getConfiguration","GetConfigurationRequest","configuration","ɵɵinject","WhitelabelApiService","factory","ɵfac","providedIn","_WhitelabelService","BrandingV2Service","init_branding_v2_service","__esmMin","init_operators","init_vendasta_partner","constructor","api","getBranding","partnerId","marketId","req","GetBrandingV2Request","pipe","map","resp","branding","getMultiBranding","requests","GetMultiBrandingV2Request","listBranding","pageSize","cursor","ListBrandingV2Request","pagingOptions","brandings","upsertBranding","mutations","UpsertBrandingV2Request","ɵɵinject","BrandingV2ApiService","factory","ɵfac","providedIn","_BrandingV2Service","PartnerHealthsService","init_partner_health_service","__esmMin","init_operators","init_vendasta_partner","constructor","api","set","partnerId","state","subState","reason","inRetention","req","SetPartnerHealthRequest","pipe","map","res","status","get","GetPartnerHealthRequest","health","list","pageSize","cursor","ListPartnerHealthRequest","getMulti","partnerIds","GetMultiPartnerHealthRequest","ɵɵinject","PartnerHealthsApiService","factory","ɵfac","providedIn","_PartnerHealthsService","SubscriptionTiersService","init_subscription_tiers_service","__esmMin","init_operators","init_vendasta_partner","init_constants","constructor","api","partnerId$","subscriptionTierList$","pipe","switchMap","partnerId","listSubscriptionTiers","map","response","subscriptionTier","publishReplay","refCount","getI18NName","id","isFree","s","FREE_SUBSCRIPTION_ID","isClassicSubscription","tierVersion","isVBP2Subscription","isVBP2022Subscription","isM3Subscription","getSubscriptionTier","subscriptionId","GetSubscriptionTierRequest","request","ListSubscriptionTiersRequest","ɵɵinject","SubscriptionTiersApiService","factory","ɵfac","providedIn","_SubscriptionTiersService","init_lib","__esmMin","init_vendasta_partner","init_constants","init_partner_service","init_feature_flag_service","init_whitelabel_service","init_branding_v2_service","init_partner_health_service","init_subscription_tiers_service","init_interfaces","init_src","__esmMin","init_lib"],"x_google_ignoreList":[0]}