{"version":3,"sources":["node_modules/@vendasta/prospect/fesm2020/vendasta-prospect.mjs"],"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 ArchivedFilter = /*#__PURE__*/function (ArchivedFilter) {\n ArchivedFilter[ArchivedFilter[\"ARCHIVED_FILTER_NOT_ARCHIVED\"] = 0] = \"ARCHIVED_FILTER_NOT_ARCHIVED\";\n ArchivedFilter[ArchivedFilter[\"ARCHIVED_FILTER_IS_ARCHIVED\"] = 1] = \"ARCHIVED_FILTER_IS_ARCHIVED\";\n ArchivedFilter[ArchivedFilter[\"ARCHIVED_FILTER_ANY\"] = 2] = \"ARCHIVED_FILTER_ANY\";\n return ArchivedFilter;\n}(ArchivedFilter || {});\nvar DateRange = /*#__PURE__*/function (DateRange) {\n DateRange[DateRange[\"DATE_RANGE_INVALID\"] = 0] = \"DATE_RANGE_INVALID\";\n DateRange[DateRange[\"DATE_RANGE_7DAYS\"] = 1] = \"DATE_RANGE_7DAYS\";\n DateRange[DateRange[\"DATE_RANGE_30DAYS\"] = 2] = \"DATE_RANGE_30DAYS\";\n DateRange[DateRange[\"DATE_RANGE_60DAYS\"] = 3] = \"DATE_RANGE_60DAYS\";\n DateRange[DateRange[\"DATE_RANGE_ALL_TIME\"] = 4] = \"DATE_RANGE_ALL_TIME\";\n return DateRange;\n}(DateRange || {});\nvar LatestSalesActivityOption = /*#__PURE__*/function (LatestSalesActivityOption) {\n LatestSalesActivityOption[LatestSalesActivityOption[\"LATEST_SALES_ACTIVITY_OPTION_ALL_TIME\"] = 0] = \"LATEST_SALES_ACTIVITY_OPTION_ALL_TIME\";\n LatestSalesActivityOption[LatestSalesActivityOption[\"LATEST_SALES_ACTIVITY_OPTION_WITHIN_THE_LAST_30_DAYS\"] = 1] = \"LATEST_SALES_ACTIVITY_OPTION_WITHIN_THE_LAST_30_DAYS\";\n LatestSalesActivityOption[LatestSalesActivityOption[\"LATEST_SALES_ACTIVITY_OPTION_OLDER_THAN_30_DAYS\"] = 2] = \"LATEST_SALES_ACTIVITY_OPTION_OLDER_THAN_30_DAYS\";\n return LatestSalesActivityOption;\n}(LatestSalesActivityOption || {});\nvar SortDirection = /*#__PURE__*/function (SortDirection) {\n SortDirection[SortDirection[\"SORT_DIRECTION_INVALID\"] = 0] = \"SORT_DIRECTION_INVALID\";\n SortDirection[SortDirection[\"SORT_DIRECTION_ASCENDING\"] = 1] = \"SORT_DIRECTION_ASCENDING\";\n SortDirection[SortDirection[\"SORT_DIRECTION_DESCENDING\"] = 2] = \"SORT_DIRECTION_DESCENDING\";\n return SortDirection;\n}(SortDirection || {});\nvar Status = /*#__PURE__*/function (Status) {\n Status[Status[\"STATUS_INVALID\"] = 0] = \"STATUS_INVALID\";\n Status[Status[\"STATUS_UNREAD_ACTIVITY\"] = 1] = \"STATUS_UNREAD_ACTIVITY\";\n Status[Status[\"STATUS_ACCOUNT_CREATED\"] = 2] = \"STATUS_ACCOUNT_CREATED\";\n Status[Status[\"STATUS_READY_TO_SELL\"] = 3] = \"STATUS_READY_TO_SELL\";\n Status[Status[\"STATUS_IN_PROGRESS\"] = 4] = \"STATUS_IN_PROGRESS\";\n Status[Status[\"STATUS_FOLLOW_UP_NEEDED\"] = 5] = \"STATUS_FOLLOW_UP_NEEDED\";\n Status[Status[\"STATUS_CLOSED_WON\"] = 6] = \"STATUS_CLOSED_WON\";\n Status[Status[\"STATUS_CLOSED_LOST\"] = 7] = \"STATUS_CLOSED_LOST\";\n return Status;\n}(Status || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar AccountsCreatedRange = /*#__PURE__*/function (AccountsCreatedRange) {\n AccountsCreatedRange[AccountsCreatedRange[\"ACCOUNTS_CREATED_RANGE_UNKNOWN\"] = 0] = \"ACCOUNTS_CREATED_RANGE_UNKNOWN\";\n AccountsCreatedRange[AccountsCreatedRange[\"ACCOUNTS_CREATED_RANGE_1\"] = 1] = \"ACCOUNTS_CREATED_RANGE_1\";\n AccountsCreatedRange[AccountsCreatedRange[\"ACCOUNTS_CREATED_RANGE_1_2\"] = 2] = \"ACCOUNTS_CREATED_RANGE_1_2\";\n AccountsCreatedRange[AccountsCreatedRange[\"ACCOUNTS_CREATED_RANGE_3_49\"] = 3] = \"ACCOUNTS_CREATED_RANGE_3_49\";\n AccountsCreatedRange[AccountsCreatedRange[\"ACCOUNTS_CREATED_RANGE_50_99\"] = 4] = \"ACCOUNTS_CREATED_RANGE_50_99\";\n AccountsCreatedRange[AccountsCreatedRange[\"ACCOUNTS_CREATED_RANGE_100_249\"] = 5] = \"ACCOUNTS_CREATED_RANGE_100_249\";\n AccountsCreatedRange[AccountsCreatedRange[\"ACCOUNTS_CREATED_RANGE_250_499\"] = 6] = \"ACCOUNTS_CREATED_RANGE_250_499\";\n AccountsCreatedRange[AccountsCreatedRange[\"ACCOUNTS_CREATED_RANGE_500PLUS\"] = 7] = \"ACCOUNTS_CREATED_RANGE_500PLUS\";\n return AccountsCreatedRange;\n}(AccountsCreatedRange || {});\nvar BilledClientsRange = /*#__PURE__*/function (BilledClientsRange) {\n BilledClientsRange[BilledClientsRange[\"BILLED_CLIENTS_RANGE_UNKNOWN\"] = 0] = \"BILLED_CLIENTS_RANGE_UNKNOWN\";\n BilledClientsRange[BilledClientsRange[\"BILLED_CLIENTS_RANGE_0\"] = 1] = \"BILLED_CLIENTS_RANGE_0\";\n BilledClientsRange[BilledClientsRange[\"BILLED_CLIENTS_RANGE_1_4\"] = 2] = \"BILLED_CLIENTS_RANGE_1_4\";\n BilledClientsRange[BilledClientsRange[\"BILLED_CLIENTS_RANGE_5_19\"] = 3] = \"BILLED_CLIENTS_RANGE_5_19\";\n BilledClientsRange[BilledClientsRange[\"BILLED_CLIENTS_RANGE_20_99\"] = 4] = \"BILLED_CLIENTS_RANGE_20_99\";\n BilledClientsRange[BilledClientsRange[\"BILLED_CLIENTS_RANGE_100_249\"] = 5] = \"BILLED_CLIENTS_RANGE_100_249\";\n BilledClientsRange[BilledClientsRange[\"BILLED_CLIENTS_RANGE_250_999\"] = 6] = \"BILLED_CLIENTS_RANGE_250_999\";\n BilledClientsRange[BilledClientsRange[\"BILLED_CLIENTS_RANGE_1000_4999\"] = 7] = \"BILLED_CLIENTS_RANGE_1000_4999\";\n BilledClientsRange[BilledClientsRange[\"BILLED_CLIENTS_RANGE_5000PLUS\"] = 8] = \"BILLED_CLIENTS_RANGE_5000PLUS\";\n return BilledClientsRange;\n}(BilledClientsRange || {});\nvar BooleanFilter = /*#__PURE__*/function (BooleanFilter) {\n BooleanFilter[BooleanFilter[\"BOOLEAN_FILTER_UNSET\"] = 0] = \"BOOLEAN_FILTER_UNSET\";\n BooleanFilter[BooleanFilter[\"BOOLEAN_FILTER_FALSE\"] = 1] = \"BOOLEAN_FILTER_FALSE\";\n BooleanFilter[BooleanFilter[\"BOOLEAN_FILTER_TRUE\"] = 2] = \"BOOLEAN_FILTER_TRUE\";\n return BooleanFilter;\n}(BooleanFilter || {});\nvar ContractStatus = /*#__PURE__*/function (ContractStatus) {\n ContractStatus[ContractStatus[\"CONTRACT_STATUS_UNKNOWN\"] = 0] = \"CONTRACT_STATUS_UNKNOWN\";\n ContractStatus[ContractStatus[\"CONTRACT_STATUS_ACTIVE\"] = 1] = \"CONTRACT_STATUS_ACTIVE\";\n ContractStatus[ContractStatus[\"CONTRACT_STATUS_CANCELLED\"] = 2] = \"CONTRACT_STATUS_CANCELLED\";\n ContractStatus[ContractStatus[\"CONTRACT_STATUS_DRAFT\"] = 3] = \"CONTRACT_STATUS_DRAFT\";\n ContractStatus[ContractStatus[\"CONTRACT_STATUS_HOLD\"] = 4] = \"CONTRACT_STATUS_HOLD\";\n ContractStatus[ContractStatus[\"CONTRACT_STATUS_SUSPENDED\"] = 5] = \"CONTRACT_STATUS_SUSPENDED\";\n return ContractStatus;\n}(ContractStatus || {});\nvar EmailType = /*#__PURE__*/function (EmailType) {\n EmailType[EmailType[\"EMAIL_TYPE_INVALID\"] = 0] = \"EMAIL_TYPE_INVALID\";\n EmailType[EmailType[\"EMAIL_TYPE_UNKNOWN\"] = 1] = \"EMAIL_TYPE_UNKNOWN\";\n EmailType[EmailType[\"EMAIL_TYPE_GENERIC_PROVIDER\"] = 2] = \"EMAIL_TYPE_GENERIC_PROVIDER\";\n EmailType[EmailType[\"EMAIL_TYPE_BRANDED_TO_THEIR_DOMAIN\"] = 3] = \"EMAIL_TYPE_BRANDED_TO_THEIR_DOMAIN\";\n return EmailType;\n}(EmailType || {});\nvar HasPidFilter = /*#__PURE__*/function (HasPidFilter) {\n HasPidFilter[HasPidFilter[\"HAS_PID_FILTER_UNKNOWN\"] = 0] = \"HAS_PID_FILTER_UNKNOWN\";\n HasPidFilter[HasPidFilter[\"HAS_PID_FILTER_NO_PID\"] = 1] = \"HAS_PID_FILTER_NO_PID\";\n HasPidFilter[HasPidFilter[\"HAS_PID_FILTER_WITH_PID\"] = 2] = \"HAS_PID_FILTER_WITH_PID\";\n return HasPidFilter;\n}(HasPidFilter || {});\nvar PaidProductsRange = /*#__PURE__*/function (PaidProductsRange) {\n PaidProductsRange[PaidProductsRange[\"PAID_PRODUCTS_RANGE_UNKNOWN\"] = 0] = \"PAID_PRODUCTS_RANGE_UNKNOWN\";\n PaidProductsRange[PaidProductsRange[\"PAID_PRODUCTS_RANGE_1_2\"] = 1] = \"PAID_PRODUCTS_RANGE_1_2\";\n PaidProductsRange[PaidProductsRange[\"PAID_PRODUCTS_RANGE_3\"] = 2] = \"PAID_PRODUCTS_RANGE_3\";\n PaidProductsRange[PaidProductsRange[\"PAID_PRODUCTS_RANGE_4_5\"] = 3] = \"PAID_PRODUCTS_RANGE_4_5\";\n PaidProductsRange[PaidProductsRange[\"PAID_PRODUCTS_RANGE_6_10\"] = 4] = \"PAID_PRODUCTS_RANGE_6_10\";\n PaidProductsRange[PaidProductsRange[\"PAID_PRODUCTS_RANGE_11_20\"] = 5] = \"PAID_PRODUCTS_RANGE_11_20\";\n PaidProductsRange[PaidProductsRange[\"PAID_PRODUCTS_RANGE_21_50\"] = 6] = \"PAID_PRODUCTS_RANGE_21_50\";\n PaidProductsRange[PaidProductsRange[\"PAID_PRODUCTS_RANGE_51_100\"] = 7] = \"PAID_PRODUCTS_RANGE_51_100\";\n PaidProductsRange[PaidProductsRange[\"PAID_PRODUCTS_RANGE_100PLUS\"] = 8] = \"PAID_PRODUCTS_RANGE_100PLUS\";\n return PaidProductsRange;\n}(PaidProductsRange || {});\nvar SubscriptionChangeFilter = /*#__PURE__*/function (SubscriptionChangeFilter) {\n SubscriptionChangeFilter[SubscriptionChangeFilter[\"SUBSCRIPTION_CHANGE_FILTER_UNSET\"] = 0] = \"SUBSCRIPTION_CHANGE_FILTER_UNSET\";\n SubscriptionChangeFilter[SubscriptionChangeFilter[\"SUBSCRIPTION_CHANGE_FILTER_UPGRADED\"] = 1] = \"SUBSCRIPTION_CHANGE_FILTER_UPGRADED\";\n SubscriptionChangeFilter[SubscriptionChangeFilter[\"SUBSCRIPTION_CHANGE_FILTER_DOWNGRADED\"] = 2] = \"SUBSCRIPTION_CHANGE_FILTER_DOWNGRADED\";\n return SubscriptionChangeFilter;\n}(SubscriptionChangeFilter || {});\nvar SubscriptionTier = /*#__PURE__*/function (SubscriptionTier) {\n SubscriptionTier[SubscriptionTier[\"SUBSCRIPTION_TIER_BASIC\"] = 0] = \"SUBSCRIPTION_TIER_BASIC\";\n SubscriptionTier[SubscriptionTier[\"SUBSCRIPTION_TIER_PROFESSIONAL\"] = 1] = \"SUBSCRIPTION_TIER_PROFESSIONAL\";\n SubscriptionTier[SubscriptionTier[\"SUBSCRIPTION_TIER_ENTERPRISE\"] = 2] = \"SUBSCRIPTION_TIER_ENTERPRISE\";\n SubscriptionTier[SubscriptionTier[\"SUBSCRIPTION_TIER_LITE\"] = 3] = \"SUBSCRIPTION_TIER_LITE\";\n SubscriptionTier[SubscriptionTier[\"SUBSCRIPTION_TIER_PREMIUM\"] = 4] = \"SUBSCRIPTION_TIER_PREMIUM\";\n SubscriptionTier[SubscriptionTier[\"SUBSCRIPTION_TIER_ELITE\"] = 5] = \"SUBSCRIPTION_TIER_ELITE\";\n SubscriptionTier[SubscriptionTier[\"SUBSCRIPTION_TIER_FREE\"] = 6] = \"SUBSCRIPTION_TIER_FREE\";\n SubscriptionTier[SubscriptionTier[\"SUBSCRIPTION_TIER_STARTER\"] = 7] = \"SUBSCRIPTION_TIER_STARTER\";\n SubscriptionTier[SubscriptionTier[\"SUBSCRIPTION_TIER_BASIC_PLUS\"] = 8] = \"SUBSCRIPTION_TIER_BASIC_PLUS\";\n SubscriptionTier[SubscriptionTier[\"SUBSCRIPTION_TIER_PROFESSIONAL_PLUS\"] = 9] = \"SUBSCRIPTION_TIER_PROFESSIONAL_PLUS\";\n SubscriptionTier[SubscriptionTier[\"SUBSCRIPTION_TIER_ENTERPRISE_PLUS\"] = 10] = \"SUBSCRIPTION_TIER_ENTERPRISE_PLUS\";\n SubscriptionTier[SubscriptionTier[\"SUBSCRIPTION_TIER_REPLACED_BY_SUBSCRIPTION_TIERS\"] = 11] = \"SUBSCRIPTION_TIER_REPLACED_BY_SUBSCRIPTION_TIERS\";\n return SubscriptionTier;\n}(SubscriptionTier || {});\nvar WebsiteFilter = /*#__PURE__*/function (WebsiteFilter) {\n WebsiteFilter[WebsiteFilter[\"WEBSITE_FILTER_UNSET\"] = 0] = \"WEBSITE_FILTER_UNSET\";\n WebsiteFilter[WebsiteFilter[\"WEBSITE_FILTER_NO_WEBSITE\"] = 1] = \"WEBSITE_FILTER_NO_WEBSITE\";\n WebsiteFilter[WebsiteFilter[\"WEBSITE_FILTER_HAS_WEBSITE\"] = 2] = \"WEBSITE_FILTER_HAS_WEBSITE\";\n return WebsiteFilter;\n}(WebsiteFilter || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar StatusType = /*#__PURE__*/function (StatusType) {\n StatusType[StatusType[\"STATUS_TYPE_UNKNOWN\"] = 0] = \"STATUS_TYPE_UNKNOWN\";\n StatusType[StatusType[\"STATUS_TYPE_PENDING\"] = 1] = \"STATUS_TYPE_PENDING\";\n StatusType[StatusType[\"STATUS_TYPE_APPROVED\"] = 2] = \"STATUS_TYPE_APPROVED\";\n StatusType[StatusType[\"STATUS_TYPE_REJECTED\"] = 3] = \"STATUS_TYPE_REJECTED\";\n return StatusType;\n}(StatusType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar CampaignEventType = /*#__PURE__*/function (CampaignEventType) {\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_INVALID\"] = 0] = \"CAMPAIGN_EVENT_TYPE_INVALID\";\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_PROCESSED\"] = 1] = \"CAMPAIGN_EVENT_TYPE_PROCESSED\";\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_DROPPED\"] = 2] = \"CAMPAIGN_EVENT_TYPE_DROPPED\";\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_DELIVERED\"] = 3] = \"CAMPAIGN_EVENT_TYPE_DELIVERED\";\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_DEFERRED\"] = 4] = \"CAMPAIGN_EVENT_TYPE_DEFERRED\";\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_BOUNCE\"] = 5] = \"CAMPAIGN_EVENT_TYPE_BOUNCE\";\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_OPEN\"] = 6] = \"CAMPAIGN_EVENT_TYPE_OPEN\";\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_CLICK\"] = 7] = \"CAMPAIGN_EVENT_TYPE_CLICK\";\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_SPAM_REPORT\"] = 8] = \"CAMPAIGN_EVENT_TYPE_SPAM_REPORT\";\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_UNSUBSCRIBE\"] = 9] = \"CAMPAIGN_EVENT_TYPE_UNSUBSCRIBE\";\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_CREATED\"] = 10] = \"CAMPAIGN_EVENT_TYPE_CREATED\";\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_NOT_REQUIRED\"] = 11] = \"CAMPAIGN_EVENT_TYPE_NOT_REQUIRED\";\n CampaignEventType[CampaignEventType[\"CAMPAIGN_EVENT_TYPE_REFRESHED\"] = 12] = \"CAMPAIGN_EVENT_TYPE_REFRESHED\";\n return CampaignEventType;\n}(CampaignEventType || {});\nvar InitiateCampaignHistoryExportRequestOrderBy = /*#__PURE__*/function (InitiateCampaignHistoryExportRequestOrderBy) {\n InitiateCampaignHistoryExportRequestOrderBy[InitiateCampaignHistoryExportRequestOrderBy[\"INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_ORDER_BY_INVALID\"] = 0] = \"INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_ORDER_BY_INVALID\";\n InitiateCampaignHistoryExportRequestOrderBy[InitiateCampaignHistoryExportRequestOrderBy[\"INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_ORDER_BY_ASC\"] = 1] = \"INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_ORDER_BY_ASC\";\n InitiateCampaignHistoryExportRequestOrderBy[InitiateCampaignHistoryExportRequestOrderBy[\"INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_ORDER_BY_DESC\"] = 2] = \"INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_ORDER_BY_DESC\";\n return InitiateCampaignHistoryExportRequestOrderBy;\n}(InitiateCampaignHistoryExportRequestOrderBy || {});\nvar InitiateCampaignHistoryExportRequestSortBy = /*#__PURE__*/function (InitiateCampaignHistoryExportRequestSortBy) {\n InitiateCampaignHistoryExportRequestSortBy[InitiateCampaignHistoryExportRequestSortBy[\"INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_SORT_BY_INVALID\"] = 0] = \"INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_SORT_BY_INVALID\";\n InitiateCampaignHistoryExportRequestSortBy[InitiateCampaignHistoryExportRequestSortBy[\"INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_SORT_BY_EVENT_DATE\"] = 1] = \"INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_SORT_BY_EVENT_DATE\";\n return InitiateCampaignHistoryExportRequestSortBy;\n}(InitiateCampaignHistoryExportRequestSortBy || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar LeadQualificationType = /*#__PURE__*/function (LeadQualificationType) {\n LeadQualificationType[LeadQualificationType[\"LEAD_QUALIFICATION_TYPE_UNKNOWN\"] = 0] = \"LEAD_QUALIFICATION_TYPE_UNKNOWN\";\n LeadQualificationType[LeadQualificationType[\"LEAD_QUALIFICATION_TYPE_QUALIFIED\"] = 1] = \"LEAD_QUALIFICATION_TYPE_QUALIFIED\";\n LeadQualificationType[LeadQualificationType[\"LEAD_QUALIFICATION_TYPE_UNQUALIFIED\"] = 2] = \"LEAD_QUALIFICATION_TYPE_UNQUALIFIED\";\n return LeadQualificationType;\n}(LeadQualificationType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar LeadSource = /*#__PURE__*/function (LeadSource) {\n LeadSource[LeadSource[\"LEAD_SOURCE_NOT_SET\"] = 0] = \"LEAD_SOURCE_NOT_SET\";\n LeadSource[LeadSource[\"LEAD_SOURCE_FACEBOOK\"] = 1] = \"LEAD_SOURCE_FACEBOOK\";\n return LeadSource;\n}(LeadSource || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar CriteriaMatchType = /*#__PURE__*/function (CriteriaMatchType) {\n CriteriaMatchType[CriteriaMatchType[\"CRITERIA_MATCH_TYPE_UNKNOWN\"] = 0] = \"CRITERIA_MATCH_TYPE_UNKNOWN\";\n CriteriaMatchType[CriteriaMatchType[\"CRITERIA_MATCH_TYPE_ALL\"] = 1] = \"CRITERIA_MATCH_TYPE_ALL\";\n CriteriaMatchType[CriteriaMatchType[\"CRITERIA_MATCH_TYPE_ANY\"] = 2] = \"CRITERIA_MATCH_TYPE_ANY\";\n return CriteriaMatchType;\n}(CriteriaMatchType || {});\n// *********************************\n\nfunction enumStringToValue$g(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\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 MultiSortingOptions {\n static fromProto(proto) {\n let m = new MultiSortingOptions();\n m = Object.assign(m, proto);\n if (proto.sortingOptions) {\n m.sortingOptions = proto.sortingOptions.map(SortingOptions.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.sortingOptions !== 'undefined' && this.sortingOptions !== null) {\n toReturn['sortingOptions'] = 'toApiJson' in this.sortingOptions ? this.sortingOptions.toApiJson() : this.sortingOptions;\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.pageIndex) {\n m.pageIndex = parseInt(proto.pageIndex, 10);\n }\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.pageIndex !== 'undefined') {\n toReturn['pageIndex'] = this.pageIndex;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.allRows !== 'undefined') {\n toReturn['allRows'] = this.allRows;\n }\n return toReturn;\n }\n}\nclass PagedResponseMetadata {\n static fromProto(proto) {\n let m = new PagedResponseMetadata();\n m = Object.assign(m, proto);\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.totalResults !== 'undefined') {\n toReturn['totalResults'] = this.totalResults;\n }\n return toReturn;\n }\n}\nclass SortingOptions {\n static fromProto(proto) {\n let m = new SortingOptions();\n m = Object.assign(m, proto);\n if (proto.direction) {\n m.direction = enumStringToValue$g(SortDirection, proto.direction);\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.fieldName !== 'undefined') {\n toReturn['fieldName'] = this.fieldName;\n }\n if (typeof this.direction !== 'undefined') {\n toReturn['direction'] = this.direction;\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 AttributeFilters {\n static fromProto(proto) {\n let m = new AttributeFilters();\n m = Object.assign(m, proto);\n if (proto.emailType) {\n m.emailType = enumStringToValue$f(EmailType, proto.emailType);\n }\n if (proto.hasWebsite) {\n m.hasWebsite = enumStringToValue$f(WebsiteFilter, proto.hasWebsite);\n }\n if (proto.isAmountOwing) {\n m.isAmountOwing = enumStringToValue$f(BooleanFilter, proto.isAmountOwing);\n }\n if (proto.subscriptionTier) {\n m.subscriptionTier = proto.subscriptionTier.map(v => enumStringToValue$f(SubscriptionTier, v));\n }\n if (proto.subscriptionChanged) {\n m.subscriptionChanged = proto.subscriptionChanged.map(v => enumStringToValue$f(SubscriptionChangeFilter, v));\n }\n if (proto.contractStatus) {\n m.contractStatus = proto.contractStatus.map(v => enumStringToValue$f(ContractStatus, v));\n }\n if (proto.utmInfo) {\n m.utmInfo = UtmFilters.fromProto(proto.utmInfo);\n }\n if (proto.archivedFilter) {\n m.archivedFilter = enumStringToValue$f(ArchivedFilter, proto.archivedFilter);\n }\n if (proto.billedClients) {\n m.billedClients = proto.billedClients.map(v => enumStringToValue$f(BilledClientsRange, v));\n }\n if (proto.accountsCreated) {\n m.accountsCreated = proto.accountsCreated.map(v => enumStringToValue$f(AccountsCreatedRange, v));\n }\n if (proto.paidProducts) {\n m.paidProducts = proto.paidProducts.map(v => enumStringToValue$f(PaidProductsRange, v));\n }\n if (proto.hasPidFilter) {\n m.hasPidFilter = enumStringToValue$f(HasPidFilter, proto.hasPidFilter);\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.qualifications !== 'undefined') {\n toReturn['qualifications'] = this.qualifications;\n }\n if (typeof this.goals !== 'undefined') {\n toReturn['goals'] = this.goals;\n }\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.emailType !== 'undefined') {\n toReturn['emailType'] = this.emailType;\n }\n if (typeof this.hasWebsite !== 'undefined') {\n toReturn['hasWebsite'] = this.hasWebsite;\n }\n if (typeof this.isSelfSignup !== 'undefined') {\n toReturn['isSelfSignup'] = this.isSelfSignup;\n }\n if (typeof this.tagFilter !== 'undefined') {\n toReturn['tagFilter'] = this.tagFilter;\n }\n if (typeof this.isAmountOwing !== 'undefined') {\n toReturn['isAmountOwing'] = this.isAmountOwing;\n }\n if (typeof this.subscriptionTier !== 'undefined') {\n toReturn['subscriptionTier'] = this.subscriptionTier;\n }\n if (typeof this.subscriptionChanged !== 'undefined') {\n toReturn['subscriptionChanged'] = this.subscriptionChanged;\n }\n if (typeof this.conversionPoints !== 'undefined') {\n toReturn['conversionPoints'] = this.conversionPoints;\n }\n if (typeof this.leadSources !== 'undefined') {\n toReturn['leadSources'] = this.leadSources;\n }\n if (typeof this.contractStatus !== 'undefined') {\n toReturn['contractStatus'] = this.contractStatus;\n }\n if (typeof this.isReengagingAccount !== 'undefined') {\n toReturn['isReengagingAccount'] = this.isReengagingAccount;\n }\n if (typeof this.anySnapshotsGenerated !== 'undefined') {\n toReturn['anySnapshotsGenerated'] = this.anySnapshotsGenerated;\n }\n if (typeof this.anyPaidProductsActivated !== 'undefined') {\n toReturn['anyPaidProductsActivated'] = this.anyPaidProductsActivated;\n }\n if (typeof this.anyAccountsCreated !== 'undefined') {\n toReturn['anyAccountsCreated'] = this.anyAccountsCreated;\n }\n if (typeof this.anyPaymentCard !== 'undefined') {\n toReturn['anyPaymentCard'] = this.anyPaymentCard;\n }\n if (typeof this.marketingClassifications !== 'undefined') {\n toReturn['marketingClassifications'] = this.marketingClassifications;\n }\n if (typeof this.leadProgramDescriptions !== 'undefined') {\n toReturn['leadProgramDescriptions'] = this.leadProgramDescriptions;\n }\n if (typeof this.emptyMarketingClassification !== 'undefined') {\n toReturn['emptyMarketingClassification'] = this.emptyMarketingClassification;\n }\n if (typeof this.subscriptionTierId !== 'undefined') {\n toReturn['subscriptionTierId'] = this.subscriptionTierId;\n }\n if (typeof this.numberOfEmployees !== 'undefined') {\n toReturn['numberOfEmployees'] = this.numberOfEmployees;\n }\n if (typeof this.leadTier !== 'undefined') {\n toReturn['leadTier'] = this.leadTier;\n }\n if (typeof this.companySizeCohort !== 'undefined') {\n toReturn['companySizeCohort'] = this.companySizeCohort;\n }\n if (typeof this.utmInfo !== 'undefined' && this.utmInfo !== null) {\n toReturn['utmInfo'] = 'toApiJson' in this.utmInfo ? this.utmInfo.toApiJson() : this.utmInfo;\n }\n if (typeof this.adName !== 'undefined') {\n toReturn['adName'] = this.adName;\n }\n if (typeof this.segment !== 'undefined') {\n toReturn['segment'] = this.segment;\n }\n if (typeof this.mainVertical !== 'undefined') {\n toReturn['mainVertical'] = this.mainVertical;\n }\n if (typeof this.partnerServiceLevel !== 'undefined') {\n toReturn['partnerServiceLevel'] = this.partnerServiceLevel;\n }\n if (typeof this.inboundOutbound !== 'undefined') {\n toReturn['inboundOutbound'] = this.inboundOutbound;\n }\n if (typeof this.isMultiLocation !== 'undefined') {\n toReturn['isMultiLocation'] = this.isMultiLocation;\n }\n if (typeof this.numberOfDigitalSalespeople !== 'undefined') {\n toReturn['numberOfDigitalSalespeople'] = this.numberOfDigitalSalespeople;\n }\n if (typeof this.numberOfSalespeople !== 'undefined') {\n toReturn['numberOfSalespeople'] = this.numberOfSalespeople;\n }\n if (typeof this.archivedFilter !== 'undefined') {\n toReturn['archivedFilter'] = this.archivedFilter;\n }\n if (typeof this.billedClients !== 'undefined') {\n toReturn['billedClients'] = this.billedClients;\n }\n if (typeof this.accountsCreated !== 'undefined') {\n toReturn['accountsCreated'] = this.accountsCreated;\n }\n if (typeof this.paidProducts !== 'undefined') {\n toReturn['paidProducts'] = this.paidProducts;\n }\n if (typeof this.hasPid !== 'undefined') {\n toReturn['hasPid'] = this.hasPid;\n }\n if (typeof this.hasPidFilter !== 'undefined') {\n toReturn['hasPidFilter'] = this.hasPidFilter;\n }\n return toReturn;\n }\n}\nclass Attributes {\n static fromProto(proto) {\n let m = new Attributes();\n m = Object.assign(m, proto);\n if (proto.emailType) {\n m.emailType = enumStringToValue$f(EmailType, proto.emailType);\n }\n if (proto.lastVisit) {\n m.lastVisit = new Date(proto.lastVisit);\n }\n if (proto.lastSalesActivityDate) {\n m.lastSalesActivityDate = new Date(proto.lastSalesActivityDate);\n }\n if (proto.paymentInfo) {\n m.paymentInfo = PaymentInfo.fromProto(proto.paymentInfo);\n }\n if (proto.subscriptionTier) {\n m.subscriptionTier = enumStringToValue$f(SubscriptionTier, proto.subscriptionTier);\n }\n if (proto.contractSignedDate) {\n m.contractSignedDate = new Date(proto.contractSignedDate);\n }\n if (proto.previousSubscriptionTier) {\n m.previousSubscriptionTier = enumStringToValue$f(SubscriptionTier, proto.previousSubscriptionTier);\n }\n if (proto.dunningAttempts) {\n m.dunningAttempts = parseInt(proto.dunningAttempts, 10);\n }\n if (proto.createdAt) {\n m.createdAt = new Date(proto.createdAt);\n }\n if (proto.contractStatus) {\n m.contractStatus = enumStringToValue$f(ContractStatus, proto.contractStatus);\n }\n if (proto.lastMonthRecognizedRevenue) {\n m.lastMonthRecognizedRevenue = Money.fromProto(proto.lastMonthRecognizedRevenue);\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.numberOfEmployees !== 'undefined') {\n toReturn['numberOfEmployees'] = this.numberOfEmployees;\n }\n if (typeof this.website !== 'undefined') {\n toReturn['website'] = this.website;\n }\n if (typeof this.emailType !== 'undefined') {\n toReturn['emailType'] = this.emailType;\n }\n if (typeof this.qualification !== 'undefined') {\n toReturn['qualification'] = this.qualification;\n }\n if (typeof this.goal !== 'undefined') {\n toReturn['goal'] = this.goal;\n }\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.lastVisit !== 'undefined' && this.lastVisit !== null) {\n toReturn['lastVisit'] = 'toApiJson' in this.lastVisit ? this.lastVisit.toApiJson() : this.lastVisit;\n }\n if (typeof this.lastSalesActivityDate !== 'undefined' && this.lastSalesActivityDate !== null) {\n toReturn['lastSalesActivityDate'] = 'toApiJson' in this.lastSalesActivityDate ? this.lastSalesActivityDate.toApiJson() : this.lastSalesActivityDate;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.paymentInfo !== 'undefined' && this.paymentInfo !== null) {\n toReturn['paymentInfo'] = 'toApiJson' in this.paymentInfo ? this.paymentInfo.toApiJson() : this.paymentInfo;\n }\n if (typeof this.subscriptionTier !== 'undefined') {\n toReturn['subscriptionTier'] = this.subscriptionTier;\n }\n if (typeof this.contractSignedDate !== 'undefined' && this.contractSignedDate !== null) {\n toReturn['contractSignedDate'] = 'toApiJson' in this.contractSignedDate ? this.contractSignedDate.toApiJson() : this.contractSignedDate;\n }\n if (typeof this.previousSubscriptionTier !== 'undefined') {\n toReturn['previousSubscriptionTier'] = this.previousSubscriptionTier;\n }\n if (typeof this.dunningAttempts !== 'undefined') {\n toReturn['dunningAttempts'] = this.dunningAttempts;\n }\n if (typeof this.conversionPoint !== 'undefined') {\n toReturn['conversionPoint'] = this.conversionPoint;\n }\n if (typeof this.leadSource !== 'undefined') {\n toReturn['leadSource'] = this.leadSource;\n }\n if (typeof this.createdAt !== 'undefined' && this.createdAt !== null) {\n toReturn['createdAt'] = 'toApiJson' in this.createdAt ? this.createdAt.toApiJson() : this.createdAt;\n }\n if (typeof this.contractStatus !== 'undefined') {\n toReturn['contractStatus'] = this.contractStatus;\n }\n if (typeof this.hasPaymentCard !== 'undefined') {\n toReturn['hasPaymentCard'] = this.hasPaymentCard;\n }\n if (typeof this.marketingClassification !== 'undefined') {\n toReturn['marketingClassification'] = this.marketingClassification;\n }\n if (typeof this.leadProgramDescription !== 'undefined') {\n toReturn['leadProgramDescription'] = this.leadProgramDescription;\n }\n if (typeof this.subscriptionTierId !== 'undefined') {\n toReturn['subscriptionTierId'] = this.subscriptionTierId;\n }\n if (typeof this.previousSubscriptionTierId !== 'undefined') {\n toReturn['previousSubscriptionTierId'] = this.previousSubscriptionTierId;\n }\n if (typeof this.lastMonthRecognizedRevenue !== 'undefined' && this.lastMonthRecognizedRevenue !== null) {\n toReturn['lastMonthRecognizedRevenue'] = 'toApiJson' in this.lastMonthRecognizedRevenue ? this.lastMonthRecognizedRevenue.toApiJson() : this.lastMonthRecognizedRevenue;\n }\n if (typeof this.isArchived !== 'undefined') {\n toReturn['isArchived'] = this.isArchived;\n }\n return toReturn;\n }\n}\nclass BackfillLeadAttributionForBusinessRequest {\n static fromProto(proto) {\n let m = new BackfillLeadAttributionForBusinessRequest();\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.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.marketingFormId !== 'undefined') {\n toReturn['marketingFormId'] = this.marketingFormId;\n }\n return toReturn;\n }\n}\nclass ExportToCSVRequest {\n static fromProto(proto) {\n let m = new ExportToCSVRequest();\n m = Object.assign(m, proto);\n if (proto.listProspectsRequest) {\n m.listProspectsRequest = ListPartnerProspectsRequestInternal.fromProto(proto.listProspectsRequest);\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.listProspectsRequest !== 'undefined' && this.listProspectsRequest !== null) {\n toReturn['listProspectsRequest'] = 'toApiJson' in this.listProspectsRequest ? this.listProspectsRequest.toApiJson() : this.listProspectsRequest;\n }\n if (typeof this.displayedColumns !== 'undefined') {\n toReturn['displayedColumns'] = this.displayedColumns;\n }\n return toReturn;\n }\n}\nclass Filters {\n static fromProto(proto) {\n let m = new Filters();\n m = Object.assign(m, proto);\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue$f(Status, v));\n }\n if (proto.attributeFilters) {\n m.attributeFilters = AttributeFilters.fromProto(proto.attributeFilters);\n }\n if (proto.latestSalesActivityFilter) {\n m.latestSalesActivityFilter = enumStringToValue$f(LatestSalesActivityOption, proto.latestSalesActivityFilter);\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.salesTeam !== 'undefined') {\n toReturn['salesTeam'] = this.salesTeam;\n }\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n if (typeof this.searchText !== 'undefined') {\n toReturn['searchText'] = this.searchText;\n }\n if (typeof this.attributeFilters !== 'undefined' && this.attributeFilters !== null) {\n toReturn['attributeFilters'] = 'toApiJson' in this.attributeFilters ? this.attributeFilters.toApiJson() : this.attributeFilters;\n }\n if (typeof this.assignedSalesperson !== 'undefined') {\n toReturn['assignedSalesperson'] = this.assignedSalesperson;\n }\n if (typeof this.latestSalesActivityFilter !== 'undefined') {\n toReturn['latestSalesActivityFilter'] = this.latestSalesActivityFilter;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass FindDuplicatePartnerProspectsRequest {\n static fromProto(proto) {\n let m = new FindDuplicatePartnerProspectsRequest();\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.contactEmail !== 'undefined') {\n toReturn['contactEmail'] = this.contactEmail;\n }\n return toReturn;\n }\n}\nclass FindDuplicatePartnerProspectsResponse {\n static fromProto(proto) {\n let m = new FindDuplicatePartnerProspectsResponse();\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.prospectBusinessIds !== 'undefined') {\n toReturn['prospectBusinessIds'] = this.prospectBusinessIds;\n }\n return toReturn;\n }\n}\nclass ListPartnerProspectsRequestInternal {\n static fromProto(proto) {\n let m = new ListPartnerProspectsRequestInternal();\n m = Object.assign(m, proto);\n if (proto.paging) {\n m.paging = PagedRequestOptions.fromProto(proto.paging);\n }\n if (proto.dateRange) {\n m.dateRange = enumStringToValue$f(DateRange, proto.dateRange);\n }\n if (proto.filters) {\n m.filters = Filters.fromProto(proto.filters);\n }\n if (proto.multiSortingOptions) {\n m.multiSortingOptions = MultiSortingOptions.fromProto(proto.multiSortingOptions);\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.paging !== 'undefined' && this.paging !== null) {\n toReturn['paging'] = 'toApiJson' in this.paging ? this.paging.toApiJson() : this.paging;\n }\n if (typeof this.dateRange !== 'undefined') {\n toReturn['dateRange'] = this.dateRange;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.multiSortingOptions !== 'undefined' && this.multiSortingOptions !== null) {\n toReturn['multiSortingOptions'] = 'toApiJson' in this.multiSortingOptions ? this.multiSortingOptions.toApiJson() : this.multiSortingOptions;\n }\n return toReturn;\n }\n}\nclass ListPartnerProspectsResponse {\n static fromProto(proto) {\n let m = new ListPartnerProspectsResponse();\n m = Object.assign(m, proto);\n if (proto.paging) {\n m.paging = PagedResponseMetadata.fromProto(proto.paging);\n }\n if (proto.partnerProspects) {\n m.partnerProspects = proto.partnerProspects.map(PartnerProspect.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.paging !== 'undefined' && this.paging !== null) {\n toReturn['paging'] = 'toApiJson' in this.paging ? this.paging.toApiJson() : this.paging;\n }\n if (typeof this.partnerProspects !== 'undefined' && this.partnerProspects !== null) {\n toReturn['partnerProspects'] = 'toApiJson' in this.partnerProspects ? this.partnerProspects.toApiJson() : this.partnerProspects;\n }\n return toReturn;\n }\n}\nclass Metrics {\n static fromProto(proto) {\n let m = new Metrics();\n m = Object.assign(m, proto);\n if (proto.daysActiveInPlatform) {\n m.daysActiveInPlatform = parseInt(proto.daysActiveInPlatform, 10);\n }\n if (proto.activePaidProductsDelta) {\n m.activePaidProductsDelta = parseInt(proto.activePaidProductsDelta, 10);\n }\n if (proto.accountsDelta) {\n m.accountsDelta = parseInt(proto.accountsDelta, 10);\n }\n if (proto.generatedSnapshotsDelta) {\n m.generatedSnapshotsDelta = parseInt(proto.generatedSnapshotsDelta, 10);\n }\n if (proto.openOpportunities) {\n m.openOpportunities = parseInt(proto.openOpportunities, 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.daysActiveInPlatform !== 'undefined') {\n toReturn['daysActiveInPlatform'] = this.daysActiveInPlatform;\n }\n if (typeof this.activePaidProductsDelta !== 'undefined') {\n toReturn['activePaidProductsDelta'] = this.activePaidProductsDelta;\n }\n if (typeof this.accountsDelta !== 'undefined') {\n toReturn['accountsDelta'] = this.accountsDelta;\n }\n if (typeof this.generatedSnapshotsDelta !== 'undefined') {\n toReturn['generatedSnapshotsDelta'] = this.generatedSnapshotsDelta;\n }\n if (typeof this.openOpportunities !== 'undefined') {\n toReturn['openOpportunities'] = this.openOpportunities;\n }\n return toReturn;\n }\n}\nclass PartnerProspect {\n static fromProto(proto) {\n let m = new PartnerProspect();\n m = Object.assign(m, proto);\n if (proto.hotness) {\n m.hotness = parseInt(proto.hotness, 10);\n }\n if (proto.status) {\n m.status = enumStringToValue$f(Status, proto.status);\n }\n if (proto.metrics) {\n m.metrics = Metrics.fromProto(proto.metrics);\n }\n if (proto.attributes) {\n m.attributes = Attributes.fromProto(proto.attributes);\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.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.hotness !== 'undefined') {\n toReturn['hotness'] = this.hotness;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.unreadActivity !== 'undefined') {\n toReturn['unreadActivity'] = this.unreadActivity;\n }\n if (typeof this.assignee !== 'undefined') {\n toReturn['assignee'] = this.assignee;\n }\n if (typeof this.metrics !== 'undefined' && this.metrics !== null) {\n toReturn['metrics'] = 'toApiJson' in this.metrics ? this.metrics.toApiJson() : this.metrics;\n }\n if (typeof this.attributes !== 'undefined' && this.attributes !== null) {\n toReturn['attributes'] = 'toApiJson' in this.attributes ? this.attributes.toApiJson() : this.attributes;\n }\n return toReturn;\n }\n}\nclass PaymentInfo {\n static fromProto(proto) {\n let m = new PaymentInfo();\n m = Object.assign(m, proto);\n if (proto.lastFailedPaymentDate) {\n m.lastFailedPaymentDate = new Date(proto.lastFailedPaymentDate);\n }\n if (proto.firstFailedPaymentDate) {\n m.firstFailedPaymentDate = new Date(proto.firstFailedPaymentDate);\n }\n if (proto.totalAmountOwing) {\n m.totalAmountOwing = Money.fromProto(proto.totalAmountOwing);\n }\n if (proto.lastSuccessfulPaymentDate) {\n m.lastSuccessfulPaymentDate = new Date(proto.lastSuccessfulPaymentDate);\n }\n if (proto.firstSuccessfulPaymentDate) {\n m.firstSuccessfulPaymentDate = new Date(proto.firstSuccessfulPaymentDate);\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.lastFailedPaymentDate !== 'undefined' && this.lastFailedPaymentDate !== null) {\n toReturn['lastFailedPaymentDate'] = 'toApiJson' in this.lastFailedPaymentDate ? this.lastFailedPaymentDate.toApiJson() : this.lastFailedPaymentDate;\n }\n if (typeof this.firstFailedPaymentDate !== 'undefined' && this.firstFailedPaymentDate !== null) {\n toReturn['firstFailedPaymentDate'] = 'toApiJson' in this.firstFailedPaymentDate ? this.firstFailedPaymentDate.toApiJson() : this.firstFailedPaymentDate;\n }\n if (typeof this.totalAmountOwing !== 'undefined' && this.totalAmountOwing !== null) {\n toReturn['totalAmountOwing'] = 'toApiJson' in this.totalAmountOwing ? this.totalAmountOwing.toApiJson() : this.totalAmountOwing;\n }\n if (typeof this.lastSuccessfulPaymentDate !== 'undefined' && this.lastSuccessfulPaymentDate !== null) {\n toReturn['lastSuccessfulPaymentDate'] = 'toApiJson' in this.lastSuccessfulPaymentDate ? this.lastSuccessfulPaymentDate.toApiJson() : this.lastSuccessfulPaymentDate;\n }\n if (typeof this.firstSuccessfulPaymentDate !== 'undefined' && this.firstSuccessfulPaymentDate !== null) {\n toReturn['firstSuccessfulPaymentDate'] = 'toApiJson' in this.firstSuccessfulPaymentDate ? this.firstSuccessfulPaymentDate.toApiJson() : this.firstSuccessfulPaymentDate;\n }\n return toReturn;\n }\n}\nclass UtmFilters {\n static fromProto(proto) {\n let m = new UtmFilters();\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.campaign !== 'undefined') {\n toReturn['campaign'] = this.campaign;\n }\n if (typeof this.medium !== 'undefined') {\n toReturn['medium'] = this.medium;\n }\n if (typeof this.source !== 'undefined') {\n toReturn['source'] = this.source;\n }\n if (typeof this.content !== 'undefined') {\n toReturn['content'] = this.content;\n }\n if (typeof this.term !== 'undefined') {\n toReturn['term'] = this.term;\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 Account {\n static fromProto(proto) {\n let m = new Account();\n m = Object.assign(m, proto);\n if (proto.attributes) {\n m.attributes = AccountAttributes.fromProto(proto.attributes);\n }\n if (proto.metrics) {\n m.metrics = AccountMetrics.fromProto(proto.metrics);\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.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.assignees !== 'undefined') {\n toReturn['assignees'] = this.assignees;\n }\n if (typeof this.attributes !== 'undefined' && this.attributes !== null) {\n toReturn['attributes'] = 'toApiJson' in this.attributes ? this.attributes.toApiJson() : this.attributes;\n }\n if (typeof this.metrics !== 'undefined' && this.metrics !== null) {\n toReturn['metrics'] = 'toApiJson' in this.metrics ? this.metrics.toApiJson() : this.metrics;\n }\n return toReturn;\n }\n}\nclass AccountAttributeFilters {\n static fromProto(proto) {\n let m = new AccountAttributeFilters();\n m = Object.assign(m, proto);\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue$e(Status, v));\n }\n if (proto.archivedFilter) {\n m.archivedFilter = enumStringToValue$e(ArchivedFilter, proto.archivedFilter);\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.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.archivedFilter !== 'undefined') {\n toReturn['archivedFilter'] = this.archivedFilter;\n }\n return toReturn;\n }\n}\nclass AccountAttributes {\n static fromProto(proto) {\n let m = new AccountAttributes();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$e(Status, proto.status);\n }\n if (proto.lastSalesActivityDate) {\n m.lastSalesActivityDate = new Date(proto.lastSalesActivityDate);\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.unreadActivity !== 'undefined') {\n toReturn['unreadActivity'] = this.unreadActivity;\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.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.lastSalesActivityDate !== 'undefined' && this.lastSalesActivityDate !== null) {\n toReturn['lastSalesActivityDate'] = 'toApiJson' in this.lastSalesActivityDate ? this.lastSalesActivityDate.toApiJson() : this.lastSalesActivityDate;\n }\n if (typeof this.facebookPageId !== 'undefined') {\n toReturn['facebookPageId'] = this.facebookPageId;\n }\n if (typeof this.googleMyBusinessPlaceId !== 'undefined') {\n toReturn['googleMyBusinessPlaceId'] = this.googleMyBusinessPlaceId;\n }\n if (typeof this.isArchived !== 'undefined') {\n toReturn['isArchived'] = this.isArchived;\n }\n return toReturn;\n }\n}\nclass AccountFilters {\n static fromProto(proto) {\n let m = new AccountFilters();\n m = Object.assign(m, proto);\n if (proto.attributeFilters) {\n m.attributeFilters = AccountAttributeFilters.fromProto(proto.attributeFilters);\n }\n if (proto.latestSalesActivityFilter) {\n m.latestSalesActivityFilter = enumStringToValue$e(LatestSalesActivityOption, proto.latestSalesActivityFilter);\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.searchText !== 'undefined') {\n toReturn['searchText'] = this.searchText;\n }\n if (typeof this.attributeFilters !== 'undefined' && this.attributeFilters !== null) {\n toReturn['attributeFilters'] = 'toApiJson' in this.attributeFilters ? this.attributeFilters.toApiJson() : this.attributeFilters;\n }\n if (typeof this.assignee !== 'undefined') {\n toReturn['assignee'] = this.assignee;\n }\n if (typeof this.latestSalesActivityFilter !== 'undefined') {\n toReturn['latestSalesActivityFilter'] = this.latestSalesActivityFilter;\n }\n return toReturn;\n }\n}\nclass AccountMetrics {\n static fromProto(proto) {\n let m = new AccountMetrics();\n m = Object.assign(m, proto);\n if (proto.lockHitCount) {\n m.lockHitCount = parseInt(proto.lockHitCount, 10);\n }\n if (proto.contactSalesCount) {\n m.contactSalesCount = parseInt(proto.contactSalesCount, 10);\n }\n if (proto.updateBusinessProfileCount) {\n m.updateBusinessProfileCount = parseInt(proto.updateBusinessProfileCount, 10);\n }\n if (proto.viewExecReportCount) {\n m.viewExecReportCount = parseInt(proto.viewExecReportCount, 10);\n }\n if (proto.createSingleCustomerCount) {\n m.createSingleCustomerCount = parseInt(proto.createSingleCustomerCount, 10);\n }\n if (proto.createBulkCustomerCount) {\n m.createBulkCustomerCount = parseInt(proto.createBulkCustomerCount, 10);\n }\n if (proto.viewStoreCount) {\n m.viewStoreCount = parseInt(proto.viewStoreCount, 10);\n }\n if (proto.interestInPackageOrProduct) {\n m.interestInPackageOrProduct = parseInt(proto.interestInPackageOrProduct, 10);\n }\n if (proto.numberOfDaysUserWasActive) {\n m.numberOfDaysUserWasActive = parseInt(proto.numberOfDaysUserWasActive, 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.lockHitCount !== 'undefined') {\n toReturn['lockHitCount'] = this.lockHitCount;\n }\n if (typeof this.contactSalesCount !== 'undefined') {\n toReturn['contactSalesCount'] = this.contactSalesCount;\n }\n if (typeof this.updateBusinessProfileCount !== 'undefined') {\n toReturn['updateBusinessProfileCount'] = this.updateBusinessProfileCount;\n }\n if (typeof this.viewExecReportCount !== 'undefined') {\n toReturn['viewExecReportCount'] = this.viewExecReportCount;\n }\n if (typeof this.createSingleCustomerCount !== 'undefined') {\n toReturn['createSingleCustomerCount'] = this.createSingleCustomerCount;\n }\n if (typeof this.createBulkCustomerCount !== 'undefined') {\n toReturn['createBulkCustomerCount'] = this.createBulkCustomerCount;\n }\n if (typeof this.viewStoreCount !== 'undefined') {\n toReturn['viewStoreCount'] = this.viewStoreCount;\n }\n if (typeof this.interestInPackageOrProduct !== 'undefined') {\n toReturn['interestInPackageOrProduct'] = this.interestInPackageOrProduct;\n }\n if (typeof this.numberOfDaysUserWasActive !== 'undefined') {\n toReturn['numberOfDaysUserWasActive'] = this.numberOfDaysUserWasActive;\n }\n return toReturn;\n }\n}\nclass ListAccountAnalyticsRequest {\n static fromProto(proto) {\n let m = new ListAccountAnalyticsRequest();\n m = Object.assign(m, proto);\n if (proto.paging) {\n m.paging = PagedRequestOptions.fromProto(proto.paging);\n }\n if (proto.filters) {\n m.filters = AccountFilters.fromProto(proto.filters);\n }\n if (proto.sorting) {\n m.sorting = MultiSortingOptions.fromProto(proto.sorting);\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.paging !== 'undefined' && this.paging !== null) {\n toReturn['paging'] = 'toApiJson' in this.paging ? this.paging.toApiJson() : this.paging;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.sorting !== 'undefined' && this.sorting !== null) {\n toReturn['sorting'] = 'toApiJson' in this.sorting ? this.sorting.toApiJson() : this.sorting;\n }\n return toReturn;\n }\n}\nclass ListAccountAnalyticsResponse {\n static fromProto(proto) {\n let m = new ListAccountAnalyticsResponse();\n m = Object.assign(m, proto);\n if (proto.paging) {\n m.paging = PagedResponseMetadata.fromProto(proto.paging);\n }\n if (proto.accounts) {\n m.accounts = proto.accounts.map(Account.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.paging !== 'undefined' && this.paging !== null) {\n toReturn['paging'] = 'toApiJson' in this.paging ? this.paging.toApiJson() : this.paging;\n }\n if (typeof this.accounts !== 'undefined' && this.accounts !== null) {\n toReturn['accounts'] = 'toApiJson' in this.accounts ? this.accounts.toApiJson() : this.accounts;\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 AnalyticsPresetView {\n static fromProto(proto) {\n let m = new AnalyticsPresetView();\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.viewId !== 'undefined') {\n toReturn['viewId'] = this.viewId;\n }\n if (typeof this.viewName !== 'undefined') {\n toReturn['viewName'] = this.viewName;\n }\n if (typeof this.viewDescription !== 'undefined') {\n toReturn['viewDescription'] = this.viewDescription;\n }\n if (typeof this.attributeFiltersJson !== 'undefined') {\n toReturn['attributeFiltersJson'] = this.attributeFiltersJson;\n }\n if (typeof this.sortingJson !== 'undefined') {\n toReturn['sortingJson'] = this.sortingJson;\n }\n return toReturn;\n }\n}\nclass ListAnalyticsPresetViewRequest {\n static fromProto(proto) {\n let m = new ListAnalyticsPresetViewRequest();\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 ListAnalyticsPresetViewResponse {\n static fromProto(proto) {\n let m = new ListAnalyticsPresetViewResponse();\n m = Object.assign(m, proto);\n if (proto.analyticsPresetView) {\n m.analyticsPresetView = proto.analyticsPresetView.map(AnalyticsPresetView.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.analyticsPresetView !== 'undefined' && this.analyticsPresetView !== null) {\n toReturn['analyticsPresetView'] = 'toApiJson' in this.analyticsPresetView ? this.analyticsPresetView.toApiJson() : this.analyticsPresetView;\n }\n return toReturn;\n }\n}\nclass PutAnalyticsPresetViewResponse {\n static fromProto(proto) {\n let m = new PutAnalyticsPresetViewResponse();\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}\nfunction enumStringToValue$c(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Affiliate {\n static fromProto(proto) {\n let m = new Affiliate();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$c(StatusType, 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.affiliateId !== 'undefined') {\n toReturn['affiliateId'] = this.affiliateId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.paypalEmail !== 'undefined') {\n toReturn['paypalEmail'] = this.paypalEmail;\n }\n if (typeof this.jobTitle !== 'undefined') {\n toReturn['jobTitle'] = this.jobTitle;\n }\n if (typeof this.websiteUrl !== 'undefined') {\n toReturn['websiteUrl'] = this.websiteUrl;\n }\n if (typeof this.howWillYouPromoteVendasta !== 'undefined') {\n toReturn['howWillYouPromoteVendasta'] = this.howWillYouPromoteVendasta;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.userHasSigningAuthority !== 'undefined') {\n toReturn['userHasSigningAuthority'] = this.userHasSigningAuthority;\n }\n if (typeof this.acceptedTermsOfServiceVersion !== 'undefined') {\n toReturn['acceptedTermsOfServiceVersion'] = this.acceptedTermsOfServiceVersion;\n }\n if (typeof this.acceptedTermsOfService !== 'undefined') {\n toReturn['acceptedTermsOfService'] = this.acceptedTermsOfService;\n }\n return toReturn;\n }\n}\nclass AffiliatePaymentAmounts {\n static fromProto(proto) {\n let m = new AffiliatePaymentAmounts();\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.affiliateId !== 'undefined') {\n toReturn['affiliateId'] = this.affiliateId;\n }\n if (typeof this.freeMonthlyUsdCents !== 'undefined') {\n toReturn['freeMonthlyUsdCents'] = this.freeMonthlyUsdCents;\n }\n if (typeof this.freeYearlyUsdCents !== 'undefined') {\n toReturn['freeYearlyUsdCents'] = this.freeYearlyUsdCents;\n }\n if (typeof this.startupMonthlyUsdCents !== 'undefined') {\n toReturn['startupMonthlyUsdCents'] = this.startupMonthlyUsdCents;\n }\n if (typeof this.startupYearlyUsdCents !== 'undefined') {\n toReturn['startupYearlyUsdCents'] = this.startupYearlyUsdCents;\n }\n if (typeof this.essentialsMonthlyUsdCents !== 'undefined') {\n toReturn['essentialsMonthlyUsdCents'] = this.essentialsMonthlyUsdCents;\n }\n if (typeof this.essentialsYearlyUsdCents !== 'undefined') {\n toReturn['essentialsYearlyUsdCents'] = this.essentialsYearlyUsdCents;\n }\n if (typeof this.growthMonthlyUsdCents !== 'undefined') {\n toReturn['growthMonthlyUsdCents'] = this.growthMonthlyUsdCents;\n }\n if (typeof this.growthYearlyUsdCents !== 'undefined') {\n toReturn['growthYearlyUsdCents'] = this.growthYearlyUsdCents;\n }\n if (typeof this.scaleMonthlyUsdCents !== 'undefined') {\n toReturn['scaleMonthlyUsdCents'] = this.scaleMonthlyUsdCents;\n }\n if (typeof this.scaleYearlyUsdCents !== 'undefined') {\n toReturn['scaleYearlyUsdCents'] = this.scaleYearlyUsdCents;\n }\n return toReturn;\n }\n}\nclass AffiliatePaymentReportLineItem {\n static fromProto(proto) {\n let m = new AffiliatePaymentReportLineItem();\n m = Object.assign(m, proto);\n if (proto.subscriptionStartDate) {\n m.subscriptionStartDate = new Date(proto.subscriptionStartDate);\n }\n if (proto.paymentAmount) {\n m.paymentAmount = Money.fromProto(proto.paymentAmount);\n }\n if (proto.firstPayByDate) {\n m.firstPayByDate = new Date(proto.firstPayByDate);\n }\n if (proto.secondPayByDate) {\n m.secondPayByDate = new Date(proto.secondPayByDate);\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') {\n toReturn['subscriptionTier'] = this.subscriptionTier;\n }\n if (typeof this.subscriptionStartDate !== 'undefined' && this.subscriptionStartDate !== null) {\n toReturn['subscriptionStartDate'] = 'toApiJson' in this.subscriptionStartDate ? this.subscriptionStartDate.toApiJson() : this.subscriptionStartDate;\n }\n if (typeof this.paymentAmount !== 'undefined' && this.paymentAmount !== null) {\n toReturn['paymentAmount'] = 'toApiJson' in this.paymentAmount ? this.paymentAmount.toApiJson() : this.paymentAmount;\n }\n if (typeof this.firstPayByDate !== 'undefined' && this.firstPayByDate !== null) {\n toReturn['firstPayByDate'] = 'toApiJson' in this.firstPayByDate ? this.firstPayByDate.toApiJson() : this.firstPayByDate;\n }\n if (typeof this.secondPayByDate !== 'undefined' && this.secondPayByDate !== null) {\n toReturn['secondPayByDate'] = 'toApiJson' in this.secondPayByDate ? this.secondPayByDate.toApiJson() : this.secondPayByDate;\n }\n if (typeof this.subscriptionContractLength !== 'undefined') {\n toReturn['subscriptionContractLength'] = this.subscriptionContractLength;\n }\n return toReturn;\n }\n}\nclass CreateAffiliateRequest {\n static fromProto(proto) {\n let m = new CreateAffiliateRequest();\n m = Object.assign(m, proto);\n if (proto.affiliate) {\n m.affiliate = Affiliate.fromProto(proto.affiliate);\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.affiliate !== 'undefined' && this.affiliate !== null) {\n toReturn['affiliate'] = 'toApiJson' in this.affiliate ? this.affiliate.toApiJson() : this.affiliate;\n }\n if (typeof this.isPaidPartner !== 'undefined') {\n toReturn['isPaidPartner'] = this.isPaidPartner;\n }\n return toReturn;\n }\n}\nclass CreateAffiliateResponse {\n static fromProto(proto) {\n let m = new CreateAffiliateResponse();\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 CreateTermsOfServiceRequest {\n static fromProto(proto) {\n let m = new CreateTermsOfServiceRequest();\n m = Object.assign(m, proto);\n if (proto.termOfService) {\n m.termOfService = TermsOfService.fromProto(proto.termOfService);\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.termOfService !== 'undefined' && this.termOfService !== null) {\n toReturn['termOfService'] = 'toApiJson' in this.termOfService ? this.termOfService.toApiJson() : this.termOfService;\n }\n return toReturn;\n }\n}\nclass CreateTermsOfServiceResponse {\n static fromProto(proto) {\n let m = new CreateTermsOfServiceResponse();\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 GetAffiliatePaymentAmountsRequest {\n static fromProto(proto) {\n let m = new GetAffiliatePaymentAmountsRequest();\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.affiliateId !== 'undefined') {\n toReturn['affiliateId'] = this.affiliateId;\n }\n return toReturn;\n }\n}\nclass GetAffiliatePaymentAmountsResponse {\n static fromProto(proto) {\n let m = new GetAffiliatePaymentAmountsResponse();\n m = Object.assign(m, proto);\n if (proto.affiliatePaymentAmmounts) {\n m.affiliatePaymentAmmounts = AffiliatePaymentAmounts.fromProto(proto.affiliatePaymentAmmounts);\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.affiliatePaymentAmmounts !== 'undefined' && this.affiliatePaymentAmmounts !== null) {\n toReturn['affiliatePaymentAmmounts'] = 'toApiJson' in this.affiliatePaymentAmmounts ? this.affiliatePaymentAmmounts.toApiJson() : this.affiliatePaymentAmmounts;\n }\n return toReturn;\n }\n}\nclass GetAffiliatePaymentReportRequest {\n static fromProto(proto) {\n let m = new GetAffiliatePaymentReportRequest();\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.affiliateId !== 'undefined') {\n toReturn['affiliateId'] = this.affiliateId;\n }\n return toReturn;\n }\n}\nclass GetAffiliatePaymentReportResponse {\n static fromProto(proto) {\n let m = new GetAffiliatePaymentReportResponse();\n m = Object.assign(m, proto);\n if (proto.paymentReport) {\n m.paymentReport = proto.paymentReport.map(AffiliatePaymentReportLineItem.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.paymentReport !== 'undefined' && this.paymentReport !== null) {\n toReturn['paymentReport'] = 'toApiJson' in this.paymentReport ? this.paymentReport.toApiJson() : this.paymentReport;\n }\n return toReturn;\n }\n}\nclass GetAffiliateRequest {\n static fromProto(proto) {\n let m = new GetAffiliateRequest();\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.affiliateId !== 'undefined') {\n toReturn['affiliateId'] = this.affiliateId;\n }\n return toReturn;\n }\n}\nclass GetAffiliateResponse {\n static fromProto(proto) {\n let m = new GetAffiliateResponse();\n m = Object.assign(m, proto);\n if (proto.affiliate) {\n m.affiliate = Affiliate.fromProto(proto.affiliate);\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.affiliate !== 'undefined' && this.affiliate !== null) {\n toReturn['affiliate'] = 'toApiJson' in this.affiliate ? this.affiliate.toApiJson() : this.affiliate;\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 return toReturn;\n }\n}\nclass GetTermsOfServiceResponse {\n static fromProto(proto) {\n let m = new GetTermsOfServiceResponse();\n m = Object.assign(m, proto);\n if (proto.termOfService) {\n m.termOfService = TermsOfService.fromProto(proto.termOfService);\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.termOfService !== 'undefined' && this.termOfService !== null) {\n toReturn['termOfService'] = 'toApiJson' in this.termOfService ? this.termOfService.toApiJson() : this.termOfService;\n }\n return toReturn;\n }\n}\nclass ListAffiliatesRequest {\n static fromProto(proto) {\n let m = new ListAffiliatesRequest();\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.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageIndex !== 'undefined') {\n toReturn['pageIndex'] = this.pageIndex;\n }\n return toReturn;\n }\n}\nclass ListAffiliatesResponse {\n static fromProto(proto) {\n let m = new ListAffiliatesResponse();\n m = Object.assign(m, proto);\n if (proto.affiliates) {\n m.affiliates = proto.affiliates.map(Affiliate.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.affiliates !== 'undefined' && this.affiliates !== null) {\n toReturn['affiliates'] = 'toApiJson' in this.affiliates ? this.affiliates.toApiJson() : this.affiliates;\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 PutAffiliatePaymentAmountsRequest {\n static fromProto(proto) {\n let m = new PutAffiliatePaymentAmountsRequest();\n m = Object.assign(m, proto);\n if (proto.affiliatePaymentAmmounts) {\n m.affiliatePaymentAmmounts = AffiliatePaymentAmounts.fromProto(proto.affiliatePaymentAmmounts);\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.affiliatePaymentAmmounts !== 'undefined' && this.affiliatePaymentAmmounts !== null) {\n toReturn['affiliatePaymentAmmounts'] = 'toApiJson' in this.affiliatePaymentAmmounts ? this.affiliatePaymentAmmounts.toApiJson() : this.affiliatePaymentAmmounts;\n }\n return toReturn;\n }\n}\nclass PutAffiliatePaymentAmountsResponse {\n static fromProto(proto) {\n let m = new PutAffiliatePaymentAmountsResponse();\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 TermsOfService {\n static fromProto(proto) {\n let m = new TermsOfService();\n m = Object.assign(m, proto);\n if (proto.createDate) {\n m.createDate = new Date(proto.createDate);\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.version !== 'undefined') {\n toReturn['version'] = this.version;\n }\n if (typeof this.terms !== 'undefined') {\n toReturn['terms'] = this.terms;\n }\n if (typeof this.createDate !== 'undefined' && this.createDate !== null) {\n toReturn['createDate'] = 'toApiJson' in this.createDate ? this.createDate.toApiJson() : this.createDate;\n }\n return toReturn;\n }\n}\nclass UpdateAffiliateStatusRequest {\n static fromProto(proto) {\n let m = new UpdateAffiliateStatusRequest();\n m = Object.assign(m, proto);\n if (proto.approveStatus) {\n m.approveStatus = enumStringToValue$c(StatusType, proto.approveStatus);\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.affiliateId !== 'undefined') {\n toReturn['affiliateId'] = this.affiliateId;\n }\n if (typeof this.approveStatus !== 'undefined') {\n toReturn['approveStatus'] = this.approveStatus;\n }\n return toReturn;\n }\n}\nclass UpdateAffiliateStatusResponse {\n static fromProto(proto) {\n let m = new UpdateAffiliateStatusResponse();\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}\nfunction enumStringToValue$b(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass InitiateCampaignHistoryExportRequest {\n static fromProto(proto) {\n let m = new InitiateCampaignHistoryExportRequest();\n m = Object.assign(m, proto);\n if (proto.eventTypes) {\n m.eventTypes = proto.eventTypes.map(v => enumStringToValue$b(CampaignEventType, v));\n }\n if (proto.sortBy) {\n m.sortBy = enumStringToValue$b(InitiateCampaignHistoryExportRequestSortBy, proto.sortBy);\n }\n if (proto.orderBy) {\n m.orderBy = enumStringToValue$b(InitiateCampaignHistoryExportRequestOrderBy, proto.orderBy);\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.campaignId !== 'undefined') {\n toReturn['campaignId'] = this.campaignId;\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.campaignStepIds !== 'undefined') {\n toReturn['campaignStepIds'] = this.campaignStepIds;\n }\n if (typeof this.eventTypes !== 'undefined') {\n toReturn['eventTypes'] = this.eventTypes;\n }\n if (typeof this.sortBy !== 'undefined') {\n toReturn['sortBy'] = this.sortBy;\n }\n if (typeof this.orderBy !== 'undefined') {\n toReturn['orderBy'] = this.orderBy;\n }\n if (typeof this.uniqueEngagementOnly !== 'undefined') {\n toReturn['uniqueEngagementOnly'] = this.uniqueEngagementOnly;\n }\n return toReturn;\n }\n}\nclass InitiateCampaignHistoryExportResponse {\n static fromProto(proto) {\n let m = new InitiateCampaignHistoryExportResponse();\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.exportId !== 'undefined') {\n toReturn['exportId'] = this.exportId;\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 AddPriorityToProspectRequest {\n static fromProto(proto) {\n let m = new AddPriorityToProspectRequest();\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.prospectId !== 'undefined') {\n toReturn['prospectId'] = this.prospectId;\n }\n if (typeof this.priorityId !== 'undefined') {\n toReturn['priorityId'] = this.priorityId;\n }\n return toReturn;\n }\n}\nclass DeleteGoalsFromPartnerRequest {\n static fromProto(proto) {\n let m = new DeleteGoalsFromPartnerRequest();\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.goalIds !== 'undefined') {\n toReturn['goalIds'] = this.goalIds;\n }\n return toReturn;\n }\n}\nclass DeletePrioritiesFromPartnerRequest {\n static fromProto(proto) {\n let m = new DeletePrioritiesFromPartnerRequest();\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.priorityIds !== 'undefined') {\n toReturn['priorityIds'] = this.priorityIds;\n }\n return toReturn;\n }\n}\nclass EarlyWin {\n static fromProto(proto) {\n let m = new EarlyWin();\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.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n return toReturn;\n }\n}\nclass GetEarlyWinForProspectRequest {\n static fromProto(proto) {\n let m = new GetEarlyWinForProspectRequest();\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.prospectId !== 'undefined') {\n toReturn['prospectId'] = this.prospectId;\n }\n return toReturn;\n }\n}\nclass GetEarlyWinForProspectResponse {\n static fromProto(proto) {\n let m = new GetEarlyWinForProspectResponse();\n m = Object.assign(m, proto);\n if (proto.earlyWin) {\n m.earlyWin = EarlyWin.fromProto(proto.earlyWin);\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.earlyWin !== 'undefined' && this.earlyWin !== null) {\n toReturn['earlyWin'] = 'toApiJson' in this.earlyWin ? this.earlyWin.toApiJson() : this.earlyWin;\n }\n return toReturn;\n }\n}\nclass GetGoalForProspectRequest {\n static fromProto(proto) {\n let m = new GetGoalForProspectRequest();\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.prospectId !== 'undefined') {\n toReturn['prospectId'] = this.prospectId;\n }\n return toReturn;\n }\n}\nclass GetGoalForProspectResponse {\n static fromProto(proto) {\n let m = new GetGoalForProspectResponse();\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.goalId !== 'undefined') {\n toReturn['goalId'] = this.goalId;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n return toReturn;\n }\n}\nclass GetPriorityRequest {\n static fromProto(proto) {\n let m = new GetPriorityRequest();\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.prospectId !== 'undefined') {\n toReturn['prospectId'] = this.prospectId;\n }\n return toReturn;\n }\n}\nclass GetPriorityResponse {\n static fromProto(proto) {\n let m = new GetPriorityResponse();\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.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n return toReturn;\n }\n}\nclass Goal {\n static fromProto(proto) {\n let m = new Goal();\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.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass ListGoalsForPartnerRequest {\n static fromProto(proto) {\n let m = new ListGoalsForPartnerRequest();\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 ListGoalsForPartnerResponse {\n static fromProto(proto) {\n let m = new ListGoalsForPartnerResponse();\n m = Object.assign(m, proto);\n if (proto.goals) {\n m.goals = proto.goals.map(Goal.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.goals !== 'undefined' && this.goals !== null) {\n toReturn['goals'] = 'toApiJson' in this.goals ? this.goals.toApiJson() : this.goals;\n }\n return toReturn;\n }\n}\nclass ListPrioritiesForPartnerRequest {\n static fromProto(proto) {\n let m = new ListPrioritiesForPartnerRequest();\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 ListPrioritiesForPartnerResponse {\n static fromProto(proto) {\n let m = new ListPrioritiesForPartnerResponse();\n m = Object.assign(m, proto);\n if (proto.priorities) {\n m.priorities = proto.priorities.map(Priority.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.priorities !== 'undefined' && this.priorities !== null) {\n toReturn['priorities'] = 'toApiJson' in this.priorities ? this.priorities.toApiJson() : this.priorities;\n }\n return toReturn;\n }\n}\nclass ListPrioritiesForProspectRequest {\n static fromProto(proto) {\n let m = new ListPrioritiesForProspectRequest();\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.prospectId !== 'undefined') {\n toReturn['prospectId'] = this.prospectId;\n }\n return toReturn;\n }\n}\nclass ListPrioritiesForProspectResponse {\n static fromProto(proto) {\n let m = new ListPrioritiesForProspectResponse();\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.priorityIds !== 'undefined') {\n toReturn['priorityIds'] = this.priorityIds;\n }\n return toReturn;\n }\n}\nclass Priority {\n static fromProto(proto) {\n let m = new Priority();\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.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass RemoveGoalFromProspectRequest {\n static fromProto(proto) {\n let m = new RemoveGoalFromProspectRequest();\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.prospectId !== 'undefined') {\n toReturn['prospectId'] = this.prospectId;\n }\n if (typeof this.goalId !== 'undefined') {\n toReturn['goalId'] = this.goalId;\n }\n return toReturn;\n }\n}\nclass RemovePriorityFromProspectRequest {\n static fromProto(proto) {\n let m = new RemovePriorityFromProspectRequest();\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.prospectId !== 'undefined') {\n toReturn['prospectId'] = this.prospectId;\n }\n if (typeof this.priorityId !== 'undefined') {\n toReturn['priorityId'] = this.priorityId;\n }\n return toReturn;\n }\n}\nclass ReplaceEarlyWinForProspectRequest {\n static fromProto(proto) {\n let m = new ReplaceEarlyWinForProspectRequest();\n m = Object.assign(m, proto);\n if (proto.earlyWin) {\n m.earlyWin = EarlyWin.fromProto(proto.earlyWin);\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.prospectId !== 'undefined') {\n toReturn['prospectId'] = this.prospectId;\n }\n if (typeof this.earlyWin !== 'undefined' && this.earlyWin !== null) {\n toReturn['earlyWin'] = 'toApiJson' in this.earlyWin ? this.earlyWin.toApiJson() : this.earlyWin;\n }\n return toReturn;\n }\n}\nclass ReplaceGoalForProspectRequest {\n static fromProto(proto) {\n let m = new ReplaceGoalForProspectRequest();\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.prospectId !== 'undefined') {\n toReturn['prospectId'] = this.prospectId;\n }\n if (typeof this.goalId !== 'undefined') {\n toReturn['goalId'] = this.goalId;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n return toReturn;\n }\n}\nclass ReplacePrioritiesForProspectRequest {\n static fromProto(proto) {\n let m = new ReplacePrioritiesForProspectRequest();\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.prospectId !== 'undefined') {\n toReturn['prospectId'] = this.prospectId;\n }\n if (typeof this.priorityIds !== 'undefined') {\n toReturn['priorityIds'] = this.priorityIds;\n }\n return toReturn;\n }\n}\nclass SetPriorityRequest {\n static fromProto(proto) {\n let m = new SetPriorityRequest();\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.prospectId !== 'undefined') {\n toReturn['prospectId'] = this.prospectId;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n return toReturn;\n }\n}\nclass UpsertGoalsForPartnerRequest {\n static fromProto(proto) {\n let m = new UpsertGoalsForPartnerRequest();\n m = Object.assign(m, proto);\n if (proto.goals) {\n m.goals = proto.goals.map(Goal.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.goals !== 'undefined' && this.goals !== null) {\n toReturn['goals'] = 'toApiJson' in this.goals ? this.goals.toApiJson() : this.goals;\n }\n return toReturn;\n }\n}\nclass UpsertPrioritiesForPartnerRequest {\n static fromProto(proto) {\n let m = new UpsertPrioritiesForPartnerRequest();\n m = Object.assign(m, proto);\n if (proto.priorities) {\n m.priorities = proto.priorities.map(Priority.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.priorities !== 'undefined' && this.priorities !== null) {\n toReturn['priorities'] = 'toApiJson' in this.priorities ? this.priorities.toApiJson() : this.priorities;\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 CreateTrackerRequest {\n static fromProto(proto) {\n let m = new CreateTrackerRequest();\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.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n return toReturn;\n }\n}\nclass CreateTrackerResponse {\n static fromProto(proto) {\n let m = new CreateTrackerResponse();\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 return toReturn;\n }\n}\nclass GetAutomationRequest {\n static fromProto(proto) {\n let m = new GetAutomationRequest();\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.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n return toReturn;\n }\n}\nclass GetAutomationResponse {\n static fromProto(proto) {\n let m = new GetAutomationResponse();\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.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.enabled !== 'undefined') {\n toReturn['enabled'] = this.enabled;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass Tracker {\n static fromProto(proto) {\n let m = new Tracker();\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.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n return toReturn;\n }\n}\nclass UpdateAutomationRequest {\n static fromProto(proto) {\n let m = new UpdateAutomationRequest();\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.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.enabled !== 'undefined') {\n toReturn['enabled'] = this.enabled;\n }\n return toReturn;\n }\n}\nclass UpdateAutomationResponse {\n static fromProto(proto) {\n let m = new UpdateAutomationResponse();\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}\nfunction enumStringToValue$8(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Address {\n static fromProto(proto) {\n let m = new Address();\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.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.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.zip !== 'undefined') {\n toReturn['zip'] = this.zip;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n return toReturn;\n }\n}\nclass CreatePartnerAccountRequest {\n static fromProto(proto) {\n let m = new CreatePartnerAccountRequest();\n m = Object.assign(m, proto);\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomField.fromProto);\n }\n if (proto.address) {\n m.address = Address.fromProto(proto.address);\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.firstName !== 'undefined') {\n toReturn['firstName'] = this.firstName;\n }\n if (typeof this.lastName !== 'undefined') {\n toReturn['lastName'] = this.lastName;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.businessName !== 'undefined') {\n toReturn['businessName'] = this.businessName;\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.numberOfEmployees !== 'undefined') {\n toReturn['numberOfEmployees'] = this.numberOfEmployees;\n }\n if (typeof this.website !== 'undefined') {\n toReturn['website'] = this.website;\n }\n if (typeof this.conversionPoint !== 'undefined') {\n toReturn['conversionPoint'] = this.conversionPoint;\n }\n if (typeof this.prospectPartnerId !== 'undefined') {\n toReturn['prospectPartnerId'] = this.prospectPartnerId;\n }\n if (typeof this.customFields !== 'undefined' && this.customFields !== null) {\n toReturn['customFields'] = 'toApiJson' in this.customFields ? this.customFields.toApiJson() : this.customFields;\n }\n if (typeof this.visitorId !== 'undefined') {\n toReturn['visitorId'] = this.visitorId;\n }\n if (typeof this.otherVisitorIds !== 'undefined') {\n toReturn['otherVisitorIds'] = this.otherVisitorIds;\n }\n if (typeof this.affiliateId !== 'undefined') {\n toReturn['affiliateId'] = this.affiliateId;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.address !== 'undefined' && this.address !== null) {\n toReturn['address'] = 'toApiJson' in this.address ? this.address.toApiJson() : this.address;\n }\n return toReturn;\n }\n}\nclass CreatePartnerAccountResponse {\n static fromProto(proto) {\n let m = new CreatePartnerAccountResponse();\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.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n return toReturn;\n }\n}\nclass CustomField {\n static fromProto(proto) {\n let m = new CustomField();\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.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass HandleMarketingFormRequest {\n static fromProto(proto) {\n let m = new HandleMarketingFormRequest();\n m = Object.assign(m, proto);\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomField.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.firstName !== 'undefined') {\n toReturn['firstName'] = this.firstName;\n }\n if (typeof this.lastName !== 'undefined') {\n toReturn['lastName'] = this.lastName;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.businessName !== 'undefined') {\n toReturn['businessName'] = this.businessName;\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.numberOfEmployees !== 'undefined') {\n toReturn['numberOfEmployees'] = this.numberOfEmployees;\n }\n if (typeof this.website !== 'undefined') {\n toReturn['website'] = this.website;\n }\n if (typeof this.localTimeZone !== 'undefined') {\n toReturn['localTimeZone'] = this.localTimeZone;\n }\n if (typeof this.conversionPoint !== 'undefined') {\n toReturn['conversionPoint'] = this.conversionPoint;\n }\n if (typeof this.leadProgram !== 'undefined') {\n toReturn['leadProgram'] = this.leadProgram;\n }\n if (typeof this.leadProgramDescription !== 'undefined') {\n toReturn['leadProgramDescription'] = this.leadProgramDescription;\n }\n if (typeof this.adName !== 'undefined') {\n toReturn['adName'] = this.adName;\n }\n if (typeof this.prospectPartnerId !== 'undefined') {\n toReturn['prospectPartnerId'] = this.prospectPartnerId;\n }\n if (typeof this.customFields !== 'undefined' && this.customFields !== null) {\n toReturn['customFields'] = 'toApiJson' in this.customFields ? this.customFields.toApiJson() : this.customFields;\n }\n if (typeof this.visitorId !== 'undefined') {\n toReturn['visitorId'] = this.visitorId;\n }\n if (typeof this.otherVisitorIds !== 'undefined') {\n toReturn['otherVisitorIds'] = this.otherVisitorIds;\n }\n if (typeof this.affiliateId !== 'undefined') {\n toReturn['affiliateId'] = this.affiliateId;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n return toReturn;\n }\n}\nclass ReIgniteOldAccountsRequest {\n static fromProto(proto) {\n let m = new ReIgniteOldAccountsRequest();\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.accountGroupIds !== 'undefined') {\n toReturn['accountGroupIds'] = this.accountGroupIds;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\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 GetUTMAttributesResponse {\n static fromProto(proto) {\n let m = new GetUTMAttributesResponse();\n m = Object.assign(m, proto);\n if (proto.utmAttributes) {\n m.utmAttributes = UTMAttributes.fromProto(proto.utmAttributes);\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.utmAttributes !== 'undefined' && this.utmAttributes !== null) {\n toReturn['utmAttributes'] = 'toApiJson' in this.utmAttributes ? this.utmAttributes.toApiJson() : this.utmAttributes;\n }\n return toReturn;\n }\n}\nclass UTMAttributes {\n static fromProto(proto) {\n let m = new UTMAttributes();\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.utmCampaign !== 'undefined') {\n toReturn['utmCampaign'] = this.utmCampaign;\n }\n if (typeof this.utmMedium !== 'undefined') {\n toReturn['utmMedium'] = this.utmMedium;\n }\n if (typeof this.utmSource !== 'undefined') {\n toReturn['utmSource'] = this.utmSource;\n }\n if (typeof this.utmContent !== 'undefined') {\n toReturn['utmContent'] = this.utmContent;\n }\n if (typeof this.utmTerm !== 'undefined') {\n toReturn['utmTerm'] = this.utmTerm;\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 AssociateLeadAndAccountGroupRequest {\n static fromProto(proto) {\n let m = new AssociateLeadAndAccountGroupRequest();\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.leadId !== 'undefined') {\n toReturn['leadId'] = this.leadId;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass Business {\n static fromProto(proto) {\n let m = new Business();\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.companyName !== 'undefined') {\n toReturn['companyName'] = this.companyName;\n }\n if (typeof this.website !== 'undefined') {\n toReturn['website'] = this.website;\n }\n return toReturn;\n }\n}\nclass CreateAccountGroupFromLeadRequest {\n static fromProto(proto) {\n let m = new CreateAccountGroupFromLeadRequest();\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.leadId !== 'undefined') {\n toReturn['leadId'] = this.leadId;\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 CreateAccountGroupFromLeadResponse {\n static fromProto(proto) {\n let m = new CreateAccountGroupFromLeadResponse();\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.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n return toReturn;\n }\n}\nclass GetLeadQualificationSettingsRequest {\n static fromProto(proto) {\n let m = new GetLeadQualificationSettingsRequest();\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 GetLeadQualificationSettingsResponse {\n static fromProto(proto) {\n let m = new GetLeadQualificationSettingsResponse();\n m = Object.assign(m, proto);\n if (proto.leadQualificationSettings) {\n m.leadQualificationSettings = LeadQualificationSettings.fromProto(proto.leadQualificationSettings);\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.leadQualificationSettings !== 'undefined' && this.leadQualificationSettings !== null) {\n toReturn['leadQualificationSettings'] = 'toApiJson' in this.leadQualificationSettings ? this.leadQualificationSettings.toApiJson() : this.leadQualificationSettings;\n }\n return toReturn;\n }\n}\nclass GetLeadRequest {\n static fromProto(proto) {\n let m = new GetLeadRequest();\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.leadId !== 'undefined') {\n toReturn['leadId'] = this.leadId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetLeadResponse {\n static fromProto(proto) {\n let m = new GetLeadResponse();\n m = Object.assign(m, proto);\n if (proto.lead) {\n m.lead = Lead.fromProto(proto.lead);\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.lead !== 'undefined' && this.lead !== null) {\n toReturn['lead'] = 'toApiJson' in this.lead ? this.lead.toApiJson() : this.lead;\n }\n return toReturn;\n }\n}\nclass Lead {\n static fromProto(proto) {\n let m = new Lead();\n m = Object.assign(m, proto);\n if (proto.person) {\n m.person = Person.fromProto(proto.person);\n }\n if (proto.business) {\n m.business = Business.fromProto(proto.business);\n }\n if (proto.opportunity) {\n m.opportunity = Opportunity.fromProto(proto.opportunity);\n }\n if (proto.createdTime) {\n m.createdTime = new Date(proto.createdTime);\n }\n if (proto.deletedTime) {\n m.deletedTime = new Date(proto.deletedTime);\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.leadId !== 'undefined') {\n toReturn['leadId'] = this.leadId;\n }\n if (typeof this.person !== 'undefined' && this.person !== null) {\n toReturn['person'] = 'toApiJson' in this.person ? this.person.toApiJson() : this.person;\n }\n if (typeof this.business !== 'undefined' && this.business !== null) {\n toReturn['business'] = 'toApiJson' in this.business ? this.business.toApiJson() : this.business;\n }\n if (typeof this.opportunity !== 'undefined' && this.opportunity !== null) {\n toReturn['opportunity'] = 'toApiJson' in this.opportunity ? this.opportunity.toApiJson() : this.opportunity;\n }\n if (typeof this.createdTime !== 'undefined' && this.createdTime !== null) {\n toReturn['createdTime'] = 'toApiJson' in this.createdTime ? this.createdTime.toApiJson() : this.createdTime;\n }\n if (typeof this.deletedTime !== 'undefined' && this.deletedTime !== null) {\n toReturn['deletedTime'] = 'toApiJson' in this.deletedTime ? this.deletedTime.toApiJson() : this.deletedTime;\n }\n if (typeof this.campaignName !== 'undefined') {\n toReturn['campaignName'] = this.campaignName;\n }\n if (typeof this.adName !== 'undefined') {\n toReturn['adName'] = this.adName;\n }\n return toReturn;\n }\n}\nclass LeadQualificationSettings {\n static fromProto(proto) {\n let m = new LeadQualificationSettings();\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.createAccountGroup !== 'undefined') {\n toReturn['createAccountGroup'] = this.createAccountGroup;\n }\n if (typeof this.logActivityAndReassign !== 'undefined') {\n toReturn['logActivityAndReassign'] = this.logActivityAndReassign;\n }\n return toReturn;\n }\n}\nclass ListAccountGroupsAssociatedToLeadRequest {\n static fromProto(proto) {\n let m = new ListAccountGroupsAssociatedToLeadRequest();\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.leadId !== 'undefined') {\n toReturn['leadId'] = this.leadId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass ListAccountGroupsAssociatedToLeadResponse {\n static fromProto(proto) {\n let m = new ListAccountGroupsAssociatedToLeadResponse();\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.accountGroupIds !== 'undefined') {\n toReturn['accountGroupIds'] = this.accountGroupIds;\n }\n return toReturn;\n }\n}\nclass ListLeadsAssociatedToAccountGroupRequest {\n static fromProto(proto) {\n let m = new ListLeadsAssociatedToAccountGroupRequest();\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.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass ListLeadsAssociatedToAccountGroupResponse {\n static fromProto(proto) {\n let m = new ListLeadsAssociatedToAccountGroupResponse();\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.leadIds !== 'undefined') {\n toReturn['leadIds'] = this.leadIds;\n }\n return toReturn;\n }\n}\nclass ListLeadsForPartnerRequest {\n static fromProto(proto) {\n let m = new ListLeadsForPartnerRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n if (proto.leadQualificationType) {\n m.leadQualificationType = enumStringToValue$6(LeadQualificationType, proto.leadQualificationType);\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 if (typeof this.leadQualificationType !== 'undefined') {\n toReturn['leadQualificationType'] = this.leadQualificationType;\n }\n return toReturn;\n }\n}\nclass ListLeadsForPartnerResponse {\n static fromProto(proto) {\n let m = new ListLeadsForPartnerResponse();\n m = Object.assign(m, proto);\n if (proto.leads) {\n m.leads = proto.leads.map(Lead.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.leads !== 'undefined' && this.leads !== null) {\n toReturn['leads'] = 'toApiJson' in this.leads ? this.leads.toApiJson() : this.leads;\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 Opportunity {\n static fromProto(proto) {\n let m = new Opportunity();\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.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n return toReturn;\n }\n}\nclass Person {\n static fromProto(proto) {\n let m = new Person();\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.phoneNumber !== 'undefined') {\n toReturn['phoneNumber'] = this.phoneNumber;\n }\n return toReturn;\n }\n}\nclass ReplaceLeadQualificationSettingsRequest {\n static fromProto(proto) {\n let m = new ReplaceLeadQualificationSettingsRequest();\n m = Object.assign(m, proto);\n if (proto.leadQualificationSettings) {\n m.leadQualificationSettings = LeadQualificationSettings.fromProto(proto.leadQualificationSettings);\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.leadQualificationSettings !== 'undefined' && this.leadQualificationSettings !== null) {\n toReturn['leadQualificationSettings'] = 'toApiJson' in this.leadQualificationSettings ? this.leadQualificationSettings.toApiJson() : this.leadQualificationSettings;\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 ConnectLeadsForPageRequest {\n static fromProto(proto) {\n let m = new ConnectLeadsForPageRequest();\n m = Object.assign(m, proto);\n if (proto.source) {\n m.source = enumStringToValue$5(LeadSource, proto.source);\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.pageId !== 'undefined') {\n toReturn['pageId'] = this.pageId;\n }\n if (typeof this.source !== 'undefined') {\n toReturn['source'] = this.source;\n }\n if (typeof this.pageName !== 'undefined') {\n toReturn['pageName'] = this.pageName;\n }\n return toReturn;\n }\n}\nclass DisconnectLeadsForPageRequest {\n static fromProto(proto) {\n let m = new DisconnectLeadsForPageRequest();\n m = Object.assign(m, proto);\n if (proto.source) {\n m.source = enumStringToValue$5(LeadSource, proto.source);\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.pageId !== 'undefined') {\n toReturn['pageId'] = this.pageId;\n }\n if (typeof this.source !== 'undefined') {\n toReturn['source'] = this.source;\n }\n return toReturn;\n }\n}\nclass LeadAdsAutomation {\n static fromProto(proto) {\n let m = new LeadAdsAutomation();\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.automationStatus !== 'undefined') {\n toReturn['automationStatus'] = this.automationStatus;\n }\n if (typeof this.pageId !== 'undefined') {\n toReturn['pageId'] = this.pageId;\n }\n return toReturn;\n }\n}\nclass LeadAdsFormConnectionSettings {\n static fromProto(proto) {\n let m = new LeadAdsFormConnectionSettings();\n m = Object.assign(m, proto);\n if (proto.source) {\n m.source = enumStringToValue$5(LeadSource, proto.source);\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.source !== 'undefined') {\n toReturn['source'] = this.source;\n }\n if (typeof this.formId !== 'undefined') {\n toReturn['formId'] = this.formId;\n }\n if (typeof this.enabled !== 'undefined') {\n toReturn['enabled'] = this.enabled;\n }\n if (typeof this.destinationMarketId !== 'undefined') {\n toReturn['destinationMarketId'] = this.destinationMarketId;\n }\n return toReturn;\n }\n}\nclass ListLeadAdsFormConnectionSettingsRequest {\n static fromProto(proto) {\n let m = new ListLeadAdsFormConnectionSettingsRequest();\n m = Object.assign(m, proto);\n if (proto.source) {\n m.source = enumStringToValue$5(LeadSource, proto.source);\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.source !== 'undefined') {\n toReturn['source'] = this.source;\n }\n if (typeof this.pageId !== 'undefined') {\n toReturn['pageId'] = this.pageId;\n }\n return toReturn;\n }\n}\nclass ListLeadAdsFormConnectionSettingsResponse {\n static fromProto(proto) {\n let m = new ListLeadAdsFormConnectionSettingsResponse();\n m = Object.assign(m, proto);\n if (proto.formAutomations) {\n m.formAutomations = proto.formAutomations.map(LeadAdsFormConnectionSettings.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.formAutomations !== 'undefined' && this.formAutomations !== null) {\n toReturn['formAutomations'] = 'toApiJson' in this.formAutomations ? this.formAutomations.toApiJson() : this.formAutomations;\n }\n return toReturn;\n }\n}\nclass ListPartnerLeadAdAutomationsRequest {\n static fromProto(proto) {\n let m = new ListPartnerLeadAdAutomationsRequest();\n m = Object.assign(m, proto);\n if (proto.source) {\n m.source = enumStringToValue$5(LeadSource, proto.source);\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.source !== 'undefined') {\n toReturn['source'] = this.source;\n }\n return toReturn;\n }\n}\nclass ListPartnerLeadAdAutomationsResponse {\n static fromProto(proto) {\n let m = new ListPartnerLeadAdAutomationsResponse();\n m = Object.assign(m, proto);\n if (proto.automations) {\n m.automations = proto.automations.map(LeadAdsAutomation.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.automations !== 'undefined' && this.automations !== null) {\n toReturn['automations'] = 'toApiJson' in this.automations ? this.automations.toApiJson() : this.automations;\n }\n return toReturn;\n }\n}\nclass ListPartnersConnectedToPageRequest {\n static fromProto(proto) {\n let m = new ListPartnersConnectedToPageRequest();\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.pageId !== 'undefined') {\n toReturn['pageId'] = this.pageId;\n }\n return toReturn;\n }\n}\nclass ListPartnersConnectedToPageResponse {\n static fromProto(proto) {\n let m = new ListPartnersConnectedToPageResponse();\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 PartnerFacebookLeadAdsConnectionStatusRequest {\n static fromProto(proto) {\n let m = new PartnerFacebookLeadAdsConnectionStatusRequest();\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 PartnerFacebookLeadAdsConnectionStatusResponse {\n static fromProto(proto) {\n let m = new PartnerFacebookLeadAdsConnectionStatusResponse();\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.hasGrantedAccessToken !== 'undefined') {\n toReturn['hasGrantedAccessToken'] = this.hasGrantedAccessToken;\n }\n if (typeof this.isConnected !== 'undefined') {\n toReturn['isConnected'] = this.isConnected;\n }\n if (typeof this.connectedPageId !== 'undefined') {\n toReturn['connectedPageId'] = this.connectedPageId;\n }\n if (typeof this.connectedPageName !== 'undefined') {\n toReturn['connectedPageName'] = this.connectedPageName;\n }\n if (typeof this.tokenIsValid !== 'undefined') {\n toReturn['tokenIsValid'] = this.tokenIsValid;\n }\n return toReturn;\n }\n}\nclass UpdateLeadAdsAutomationStatusRequest {\n static fromProto(proto) {\n let m = new UpdateLeadAdsAutomationStatusRequest();\n m = Object.assign(m, proto);\n if (proto.source) {\n m.source = enumStringToValue$5(LeadSource, proto.source);\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.pageId !== 'undefined') {\n toReturn['pageId'] = this.pageId;\n }\n if (typeof this.automationStatus !== 'undefined') {\n toReturn['automationStatus'] = this.automationStatus;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.source !== 'undefined') {\n toReturn['source'] = this.source;\n }\n return toReturn;\n }\n}\nclass UpdateLeadAdsFormConnectionSettingsRequest {\n static fromProto(proto) {\n let m = new UpdateLeadAdsFormConnectionSettingsRequest();\n m = Object.assign(m, proto);\n if (proto.formAutomation) {\n m.formAutomation = LeadAdsFormConnectionSettings.fromProto(proto.formAutomation);\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.formAutomation !== 'undefined' && this.formAutomation !== null) {\n toReturn['formAutomation'] = 'toApiJson' in this.formAutomation ? this.formAutomation.toApiJson() : this.formAutomation;\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 CreateDuplicateCriteriaRequest {\n static fromProto(proto) {\n let m = new CreateDuplicateCriteriaRequest();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = DuplicateCriteria.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 DuplicateAccount {\n static fromProto(proto) {\n let m = new DuplicateAccount();\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.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n return toReturn;\n }\n}\nclass DuplicateCriteria {\n static fromProto(proto) {\n let m = new DuplicateCriteria();\n m = Object.assign(m, proto);\n if (proto.criteriaMatchType) {\n m.criteriaMatchType = enumStringToValue$4(CriteriaMatchType, proto.criteriaMatchType);\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.useEmail !== 'undefined') {\n toReturn['useEmail'] = this.useEmail;\n }\n if (typeof this.usePhoneNumber !== 'undefined') {\n toReturn['usePhoneNumber'] = this.usePhoneNumber;\n }\n if (typeof this.criteriaMatchType !== 'undefined') {\n toReturn['criteriaMatchType'] = this.criteriaMatchType;\n }\n return toReturn;\n }\n}\nclass FindDuplicateAccountsRequest {\n static fromProto(proto) {\n let m = new FindDuplicateAccountsRequest();\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.contactEmail !== 'undefined') {\n toReturn['contactEmail'] = this.contactEmail;\n }\n if (typeof this.phoneNumber !== 'undefined') {\n toReturn['phoneNumber'] = this.phoneNumber;\n }\n return toReturn;\n }\n}\nclass FindDuplicateAccountsResponse {\n static fromProto(proto) {\n let m = new FindDuplicateAccountsResponse();\n m = Object.assign(m, proto);\n if (proto.duplicateAccounts) {\n m.duplicateAccounts = proto.duplicateAccounts.map(DuplicateAccount.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.accountIds !== 'undefined') {\n toReturn['accountIds'] = this.accountIds;\n }\n if (typeof this.hasDuplicateInDifferentMarket !== 'undefined') {\n toReturn['hasDuplicateInDifferentMarket'] = this.hasDuplicateInDifferentMarket;\n }\n if (typeof this.duplicateAccounts !== 'undefined' && this.duplicateAccounts !== null) {\n toReturn['duplicateAccounts'] = 'toApiJson' in this.duplicateAccounts ? this.duplicateAccounts.toApiJson() : this.duplicateAccounts;\n }\n return toReturn;\n }\n}\nclass GetDuplicateCriteriaRequest {\n static fromProto(proto) {\n let m = new GetDuplicateCriteriaRequest();\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 GetDuplicateCriteriaResponse {\n static fromProto(proto) {\n let m = new GetDuplicateCriteriaResponse();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = DuplicateCriteria.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 UpdateDuplicateCriteriaRequest {\n static fromProto(proto) {\n let m = new UpdateDuplicateCriteriaRequest();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = DuplicateCriteria.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$3(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CollectDataRequest {\n static fromProto(proto) {\n let m = new CollectDataRequest();\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 return toReturn;\n }\n}\nclass CollectDataResponse {\n static fromProto(proto) {\n let m = new CollectDataResponse();\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.collectDataId !== 'undefined') {\n toReturn['collectDataId'] = this.collectDataId;\n }\n return toReturn;\n }\n}\nclass CompanyGeoInformation {\n static fromProto(proto) {\n let m = new CompanyGeoInformation();\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.streetNumber !== 'undefined') {\n toReturn['streetNumber'] = this.streetNumber;\n }\n if (typeof this.streetName !== 'undefined') {\n toReturn['streetName'] = this.streetName;\n }\n if (typeof this.subPremise !== 'undefined') {\n toReturn['subPremise'] = this.subPremise;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.postalCode !== 'undefined') {\n toReturn['postalCode'] = this.postalCode;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.stateCode !== 'undefined') {\n toReturn['stateCode'] = this.stateCode;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.lat !== 'undefined') {\n toReturn['lat'] = this.lat;\n }\n if (typeof this.lng !== 'undefined') {\n toReturn['lng'] = this.lng;\n }\n return toReturn;\n }\n}\nclass CompanyInformation {\n static fromProto(proto) {\n let m = new CompanyInformation();\n m = Object.assign(m, proto);\n if (proto.metrics) {\n m.metrics = CompanyMetrics.fromProto(proto.metrics);\n }\n if (proto.companySite) {\n m.companySite = CompanySite.fromProto(proto.companySite);\n }\n if (proto.geoInformation) {\n m.geoInformation = CompanyGeoInformation.fromProto(proto.geoInformation);\n }\n if (proto.socialNetworkInformation) {\n m.socialNetworkInformation = SocialNetworkInformation.fromProto(proto.socialNetworkInformation);\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.domain !== 'undefined') {\n toReturn['domain'] = this.domain;\n }\n if (typeof this.metrics !== 'undefined' && this.metrics !== null) {\n toReturn['metrics'] = 'toApiJson' in this.metrics ? this.metrics.toApiJson() : this.metrics;\n }\n if (typeof this.companySite !== 'undefined' && this.companySite !== null) {\n toReturn['companySite'] = 'toApiJson' in this.companySite ? this.companySite.toApiJson() : this.companySite;\n }\n if (typeof this.geoInformation !== 'undefined' && this.geoInformation !== null) {\n toReturn['geoInformation'] = 'toApiJson' in this.geoInformation ? this.geoInformation.toApiJson() : this.geoInformation;\n }\n if (typeof this.socialNetworkInformation !== 'undefined' && this.socialNetworkInformation !== null) {\n toReturn['socialNetworkInformation'] = 'toApiJson' in this.socialNetworkInformation ? this.socialNetworkInformation.toApiJson() : this.socialNetworkInformation;\n }\n if (typeof this.logo !== 'undefined') {\n toReturn['logo'] = this.logo;\n }\n return toReturn;\n }\n}\nclass CompanyMetrics {\n static fromProto(proto) {\n let m = new CompanyMetrics();\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.employees !== 'undefined') {\n toReturn['employees'] = this.employees;\n }\n if (typeof this.employeesRange !== 'undefined') {\n toReturn['employeesRange'] = this.employeesRange;\n }\n return toReturn;\n }\n}\nclass CompanySite {\n static fromProto(proto) {\n let m = new CompanySite();\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.phoneNumbers !== 'undefined') {\n toReturn['phoneNumbers'] = this.phoneNumbers;\n }\n if (typeof this.emailAddresses !== 'undefined') {\n toReturn['emailAddresses'] = this.emailAddresses;\n }\n return toReturn;\n }\n}\nclass Employment {\n static fromProto(proto) {\n let m = new Employment();\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.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n return toReturn;\n }\n}\nclass GetAccountGroupSignUpDataRequest {\n static fromProto(proto) {\n let m = new GetAccountGroupSignUpDataRequest();\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.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n return toReturn;\n }\n}\nclass GetAccountGroupSignUpDataResponse {\n static fromProto(proto) {\n let m = new GetAccountGroupSignUpDataResponse();\n m = Object.assign(m, proto);\n if (proto.person) {\n m.person = PersonInformation.fromProto(proto.person);\n }\n if (proto.company) {\n m.company = CompanyInformation.fromProto(proto.company);\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.person !== 'undefined' && this.person !== null) {\n toReturn['person'] = 'toApiJson' in this.person ? this.person.toApiJson() : this.person;\n }\n if (typeof this.company !== 'undefined' && this.company !== null) {\n toReturn['company'] = 'toApiJson' in this.company ? this.company.toApiJson() : this.company;\n }\n return toReturn;\n }\n}\nclass GetDataProviderInfoRequest {\n static fromProto(proto) {\n let m = new GetDataProviderInfoRequest();\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 return toReturn;\n }\n}\nclass GetDataProviderInfoResponse {\n static fromProto(proto) {\n let m = new GetDataProviderInfoResponse();\n m = Object.assign(m, proto);\n if (proto.person) {\n m.person = PersonInformation.fromProto(proto.person);\n }\n if (proto.company) {\n m.company = CompanyInformation.fromProto(proto.company);\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.person !== 'undefined' && this.person !== null) {\n toReturn['person'] = 'toApiJson' in this.person ? this.person.toApiJson() : this.person;\n }\n if (typeof this.company !== 'undefined' && this.company !== null) {\n toReturn['company'] = 'toApiJson' in this.company ? this.company.toApiJson() : this.company;\n }\n return toReturn;\n }\n}\nclass GetPartnerCollectedSignUpDataRequest {\n static fromProto(proto) {\n let m = new GetPartnerCollectedSignUpDataRequest();\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 GetPartnerCollectedSignUpDataResponse {\n static fromProto(proto) {\n let m = new GetPartnerCollectedSignUpDataResponse();\n m = Object.assign(m, proto);\n if (proto.person) {\n m.person = PersonInformation.fromProto(proto.person);\n }\n if (proto.company) {\n m.company = CompanyInformation.fromProto(proto.company);\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.person !== 'undefined' && this.person !== null) {\n toReturn['person'] = 'toApiJson' in this.person ? this.person.toApiJson() : this.person;\n }\n if (typeof this.company !== 'undefined' && this.company !== null) {\n toReturn['company'] = 'toApiJson' in this.company ? this.company.toApiJson() : this.company;\n }\n return toReturn;\n }\n}\nclass PersonInformation {\n static fromProto(proto) {\n let m = new PersonInformation();\n m = Object.assign(m, proto);\n if (proto.name) {\n m.name = PersonName.fromProto(proto.name);\n }\n if (proto.socialNetworkInformation) {\n m.socialNetworkInformation = SocialNetworkInformation.fromProto(proto.socialNetworkInformation);\n }\n if (proto.employment) {\n m.employment = Employment.fromProto(proto.employment);\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' && this.name !== null) {\n toReturn['name'] = 'toApiJson' in this.name ? this.name.toApiJson() : this.name;\n }\n if (typeof this.website !== 'undefined') {\n toReturn['website'] = this.website;\n }\n if (typeof this.socialNetworkInformation !== 'undefined' && this.socialNetworkInformation !== null) {\n toReturn['socialNetworkInformation'] = 'toApiJson' in this.socialNetworkInformation ? this.socialNetworkInformation.toApiJson() : this.socialNetworkInformation;\n }\n if (typeof this.employment !== 'undefined' && this.employment !== null) {\n toReturn['employment'] = 'toApiJson' in this.employment ? this.employment.toApiJson() : this.employment;\n }\n return toReturn;\n }\n}\nclass PersonName {\n static fromProto(proto) {\n let m = new PersonName();\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.fullName !== 'undefined') {\n toReturn['fullName'] = this.fullName;\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 return toReturn;\n }\n}\nclass SocialNetworkInformation {\n static fromProto(proto) {\n let m = new SocialNetworkInformation();\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.linkedinHandle !== 'undefined') {\n toReturn['linkedinHandle'] = this.linkedinHandle;\n }\n if (typeof this.facebookHandle !== 'undefined') {\n toReturn['facebookHandle'] = this.facebookHandle;\n }\n if (typeof this.twitterHandle !== 'undefined') {\n toReturn['twitterHandle'] = this.twitterHandle;\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 CheckDisposableEmailRequest {\n static fromProto(proto) {\n let m = new CheckDisposableEmailRequest();\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 return toReturn;\n }\n}\nclass CheckDisposableEmailResponse {\n static fromProto(proto) {\n let m = new CheckDisposableEmailResponse();\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.isDisposable !== 'undefined') {\n toReturn['isDisposable'] = this.isDisposable;\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 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(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass GetUTMAttributesRequest {\n static fromProto(proto) {\n let m = new GetUTMAttributesRequest();\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.prospectId !== 'undefined') {\n toReturn['prospectId'] = this.prospectId;\n }\n return toReturn;\n }\n}\nclass ListPartnerProspectsRequest {\n static fromProto(proto) {\n let m = new ListPartnerProspectsRequest();\n m = Object.assign(m, proto);\n if (proto.paging) {\n m.paging = PagedRequestOptions.fromProto(proto.paging);\n }\n if (proto.dateRange) {\n m.dateRange = enumStringToValue(DateRange, proto.dateRange);\n }\n if (proto.filters) {\n m.filters = Filters.fromProto(proto.filters);\n }\n if (proto.multiSortingOptions) {\n m.multiSortingOptions = MultiSortingOptions.fromProto(proto.multiSortingOptions);\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.paging !== 'undefined' && this.paging !== null) {\n toReturn['paging'] = 'toApiJson' in this.paging ? this.paging.toApiJson() : this.paging;\n }\n if (typeof this.dateRange !== 'undefined') {\n toReturn['dateRange'] = this.dateRange;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.multiSortingOptions !== 'undefined' && this.multiSortingOptions !== null) {\n toReturn['multiSortingOptions'] = 'toApiJson' in this.multiSortingOptions ? this.multiSortingOptions.toApiJson() : this.multiSortingOptions;\n }\n return toReturn;\n }\n}\n\n// *********************************\n\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'prospect-api.vendasta-local.com',\n 'test': '',\n 'demo': 'prospect-api-demo.apigateway.co',\n 'prod': 'prospect-api-prod.apigateway.co',\n 'production': 'prospect-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 AccountAnalyticsApiService = /*#__PURE__*/(() => {\n class AccountAnalyticsApiService {\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 list(r) {\n const request = r.toApiJson ? r : new ListAccountAnalyticsRequest(r);\n return this.http.post(this._host + \"/prospect.v1.AccountAnalytics/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAccountAnalyticsResponse.fromProto(resp)));\n }\n }\n AccountAnalyticsApiService.ɵfac = function AccountAnalyticsApiService_Factory(t) {\n return new (t || AccountAnalyticsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n AccountAnalyticsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AccountAnalyticsApiService,\n factory: AccountAnalyticsApiService.ɵfac,\n providedIn: 'root'\n });\n return AccountAnalyticsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet AffiliatesApiService = /*#__PURE__*/(() => {\n class AffiliatesApiService {\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 listAffiliates(r) {\n const request = r.toApiJson ? r : new ListAffiliatesRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Affiliates/ListAffiliates\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAffiliatesResponse.fromProto(resp)));\n }\n createAffiliate(r) {\n const request = r.toApiJson ? r : new CreateAffiliateRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Affiliates/CreateAffiliate\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateAffiliateResponse.fromProto(resp)));\n }\n getAffiliate(r) {\n const request = r.toApiJson ? r : new GetAffiliateRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Affiliates/GetAffiliate\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAffiliateResponse.fromProto(resp)));\n }\n updateAffiliateStatus(r) {\n const request = r.toApiJson ? r : new UpdateAffiliateStatusRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Affiliates/UpdateAffiliateStatus\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateAffiliateStatusResponse.fromProto(resp)));\n }\n putAffiliatePaymentAmounts(r) {\n const request = r.toApiJson ? r : new PutAffiliatePaymentAmountsRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Affiliates/PutAffiliatePaymentAmounts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => PutAffiliatePaymentAmountsResponse.fromProto(resp)));\n }\n getAffiliatePaymentAmounts(r) {\n const request = r.toApiJson ? r : new GetAffiliatePaymentAmountsRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Affiliates/GetAffiliatePaymentAmounts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAffiliatePaymentAmountsResponse.fromProto(resp)));\n }\n createTermsOfService(r) {\n const request = r.toApiJson ? r : new CreateTermsOfServiceRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Affiliates/CreateTermsOfService\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateTermsOfServiceResponse.fromProto(resp)));\n }\n getTermsOfService(r) {\n const request = r.toApiJson ? r : new GetTermsOfServiceRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Affiliates/GetTermsOfService\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetTermsOfServiceResponse.fromProto(resp)));\n }\n getAffiliatePaymentReport(r) {\n const request = r.toApiJson ? r : new GetAffiliatePaymentReportRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Affiliates/GetAffiliatePaymentReport\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAffiliatePaymentReportResponse.fromProto(resp)));\n }\n }\n AffiliatesApiService.ɵfac = function AffiliatesApiService_Factory(t) {\n return new (t || AffiliatesApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n AffiliatesApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AffiliatesApiService,\n factory: AffiliatesApiService.ɵfac,\n providedIn: 'root'\n });\n return AffiliatesApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet AnalyticsPresetViewsApiService = /*#__PURE__*/(() => {\n class AnalyticsPresetViewsApiService {\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 list(r) {\n const request = r.toApiJson ? r : new ListAnalyticsPresetViewRequest(r);\n return this.http.post(this._host + \"/prospect.v1.AnalyticsPresetViews/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAnalyticsPresetViewResponse.fromProto(resp)));\n }\n put(r) {\n const request = r.toApiJson ? r : new AnalyticsPresetView(r);\n return this.http.post(this._host + \"/prospect.v1.AnalyticsPresetViews/Put\", request.toApiJson(), this.apiOptions()).pipe(map(resp => PutAnalyticsPresetViewResponse.fromProto(resp)));\n }\n }\n AnalyticsPresetViewsApiService.ɵfac = function AnalyticsPresetViewsApiService_Factory(t) {\n return new (t || AnalyticsPresetViewsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n AnalyticsPresetViewsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AnalyticsPresetViewsApiService,\n factory: AnalyticsPresetViewsApiService.ɵfac,\n providedIn: 'root'\n });\n return AnalyticsPresetViewsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet CampaignApiService = /*#__PURE__*/(() => {\n class CampaignApiService {\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 initiateCampaignHistoryExport(r) {\n const request = r.toApiJson ? r : new InitiateCampaignHistoryExportRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Campaign/InitiateCampaignHistoryExport\", request.toApiJson(), this.apiOptions()).pipe(map(resp => InitiateCampaignHistoryExportResponse.fromProto(resp)));\n }\n }\n CampaignApiService.ɵfac = function CampaignApiService_Factory(t) {\n return new (t || CampaignApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n CampaignApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: CampaignApiService,\n factory: CampaignApiService.ɵfac,\n providedIn: 'root'\n });\n return CampaignApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet DisposableEmailApiService = /*#__PURE__*/(() => {\n class DisposableEmailApiService {\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 checkDisposableEmail(r) {\n const request = r.toApiJson ? r : new CheckDisposableEmailRequest(r);\n return this.http.post(this._host + \"/prospect.v1.DisposableEmail/CheckDisposableEmail\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CheckDisposableEmailResponse.fromProto(resp)));\n }\n }\n DisposableEmailApiService.ɵfac = function DisposableEmailApiService_Factory(t) {\n return new (t || DisposableEmailApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n DisposableEmailApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: DisposableEmailApiService,\n factory: DisposableEmailApiService.ɵfac,\n providedIn: 'root'\n });\n return DisposableEmailApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet LeadsApiService = /*#__PURE__*/(() => {\n class LeadsApiService {\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 partnerFacebookLeadAdsConnectionStatus(r) {\n const request = r.toApiJson ? r : new PartnerFacebookLeadAdsConnectionStatusRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/PartnerFacebookLeadAdsConnectionStatus\", request.toApiJson(), this.apiOptions()).pipe(map(resp => PartnerFacebookLeadAdsConnectionStatusResponse.fromProto(resp)));\n }\n listLeadAdsFormsConnectionSettings(r) {\n const request = r.toApiJson ? r : new ListLeadAdsFormConnectionSettingsRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/ListLeadAdsFormsConnectionSettings\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListLeadAdsFormConnectionSettingsResponse.fromProto(resp)));\n }\n updateLeadAdsFormConnectionSettings(r) {\n const request = r.toApiJson ? r : new UpdateLeadAdsFormConnectionSettingsRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/UpdateLeadAdsFormConnectionSettings\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n connectLeadsForPage(r) {\n const request = r.toApiJson ? r : new ConnectLeadsForPageRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/ConnectLeadsForPage\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n disconnectLeadsForPage(r) {\n const request = r.toApiJson ? r : new DisconnectLeadsForPageRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/DisconnectLeadsForPage\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listPartnerLeadAdsAutomations(r) {\n const request = r.toApiJson ? r : new ListPartnerLeadAdAutomationsRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/ListPartnerLeadAdsAutomations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPartnerLeadAdAutomationsResponse.fromProto(resp)));\n }\n updateLeadAdsAutomationStatus(r) {\n const request = r.toApiJson ? r : new UpdateLeadAdsAutomationStatusRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/UpdateLeadAdsAutomationStatus\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n createAccountGroupFromLead(r) {\n const request = r.toApiJson ? r : new CreateAccountGroupFromLeadRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/CreateAccountGroupFromLead\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateAccountGroupFromLeadResponse.fromProto(resp)));\n }\n listLeadsForPartner(r) {\n const request = r.toApiJson ? r : new ListLeadsForPartnerRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/ListLeadsForPartner\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListLeadsForPartnerResponse.fromProto(resp)));\n }\n getLead(r) {\n const request = r.toApiJson ? r : new GetLeadRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/GetLead\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetLeadResponse.fromProto(resp)));\n }\n associateLeadAndAccountGroup(r) {\n const request = r.toApiJson ? r : new AssociateLeadAndAccountGroupRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/AssociateLeadAndAccountGroup\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listLeadsAssociatedToAccountGroup(r) {\n const request = r.toApiJson ? r : new ListLeadsAssociatedToAccountGroupRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/ListLeadsAssociatedToAccountGroup\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListLeadsAssociatedToAccountGroupResponse.fromProto(resp)));\n }\n listAccountGroupsAssociatedToLead(r) {\n const request = r.toApiJson ? r : new ListAccountGroupsAssociatedToLeadRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/ListAccountGroupsAssociatedToLead\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAccountGroupsAssociatedToLeadResponse.fromProto(resp)));\n }\n getLeadQualificationSettings(r) {\n const request = r.toApiJson ? r : new GetLeadQualificationSettingsRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/GetLeadQualificationSettings\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetLeadQualificationSettingsResponse.fromProto(resp)));\n }\n replaceLeadQualificationSettings(r) {\n const request = r.toApiJson ? r : new ReplaceLeadQualificationSettingsRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/ReplaceLeadQualificationSettings\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listPartnersConnectedToPage(r) {\n const request = r.toApiJson ? r : new ListPartnersConnectedToPageRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Leads/ListPartnersConnectedToPage\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPartnersConnectedToPageResponse.fromProto(resp)));\n }\n }\n LeadsApiService.ɵfac = function LeadsApiService_Factory(t) {\n return new (t || LeadsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n LeadsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: LeadsApiService,\n factory: LeadsApiService.ɵfac,\n providedIn: 'root'\n });\n return LeadsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet MarketingAutomationApiService = /*#__PURE__*/(() => {\n class MarketingAutomationApiService {\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 createTracker(r) {\n const request = r.toApiJson ? r : new CreateTrackerRequest(r);\n return this.http.post(this._host + \"/prospect.v1.MarketingAutomation/CreateTracker\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateTrackerResponse.fromProto(resp)));\n }\n updateAutomation(r) {\n const request = r.toApiJson ? r : new UpdateAutomationRequest(r);\n return this.http.post(this._host + \"/prospect.v1.MarketingAutomation/UpdateAutomation\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateAutomationResponse.fromProto(resp)));\n }\n getAutomation(r) {\n const request = r.toApiJson ? r : new GetAutomationRequest(r);\n return this.http.post(this._host + \"/prospect.v1.MarketingAutomation/GetAutomation\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAutomationResponse.fromProto(resp)));\n }\n }\n MarketingAutomationApiService.ɵfac = function MarketingAutomationApiService_Factory(t) {\n return new (t || MarketingAutomationApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n MarketingAutomationApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: MarketingAutomationApiService,\n factory: MarketingAutomationApiService.ɵfac,\n providedIn: 'root'\n });\n return MarketingAutomationApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet MarketingFormsApiService = /*#__PURE__*/(() => {\n class MarketingFormsApiService {\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 handleMarketingForm(r) {\n const request = r.toApiJson ? r : new HandleMarketingFormRequest(r);\n return this.http.post(this._host + \"/prospect.v1.MarketingForms/HandleMarketingForm\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n createPartnerAccount(r) {\n const request = r.toApiJson ? r : new CreatePartnerAccountRequest(r);\n return this.http.post(this._host + \"/prospect.v1.MarketingForms/CreatePartnerAccount\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreatePartnerAccountResponse.fromProto(resp)));\n }\n reIgniteOldAccounts(r) {\n const request = r.toApiJson ? r : new ReIgniteOldAccountsRequest(r);\n return this.http.post(this._host + \"/prospect.v1.MarketingForms/ReIgniteOldAccounts\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n MarketingFormsApiService.ɵfac = function MarketingFormsApiService_Factory(t) {\n return new (t || MarketingFormsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n MarketingFormsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: MarketingFormsApiService,\n factory: MarketingFormsApiService.ɵfac,\n providedIn: 'root'\n });\n return MarketingFormsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet OnboardingStrategiesApiService = /*#__PURE__*/(() => {\n class OnboardingStrategiesApiService {\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 upsertGoalsForPartner(r) {\n const request = r.toApiJson ? r : new UpsertGoalsForPartnerRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/UpsertGoalsForPartner\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListGoalsForPartnerResponse.fromProto(resp)));\n }\n deleteGoalsFromPartner(r) {\n const request = r.toApiJson ? r : new DeleteGoalsFromPartnerRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/DeleteGoalsFromPartner\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListGoalsForPartnerResponse.fromProto(resp)));\n }\n listGoalsForPartner(r) {\n const request = r.toApiJson ? r : new ListGoalsForPartnerRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/ListGoalsForPartner\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListGoalsForPartnerResponse.fromProto(resp)));\n }\n replaceGoalForProspect(r) {\n const request = r.toApiJson ? r : new ReplaceGoalForProspectRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/ReplaceGoalForProspect\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getGoalForProspect(r) {\n const request = r.toApiJson ? r : new GetGoalForProspectRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/GetGoalForProspect\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetGoalForProspectResponse.fromProto(resp)));\n }\n upsertPrioritiesForPartner(r) {\n const request = r.toApiJson ? r : new UpsertPrioritiesForPartnerRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/UpsertPrioritiesForPartner\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPrioritiesForPartnerResponse.fromProto(resp)));\n }\n deletePrioritiesFromPartner(r) {\n const request = r.toApiJson ? r : new DeletePrioritiesFromPartnerRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/DeletePrioritiesFromPartner\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPrioritiesForPartnerResponse.fromProto(resp)));\n }\n listPrioritiesForPartner(r) {\n const request = r.toApiJson ? r : new ListPrioritiesForPartnerRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/ListPrioritiesForPartner\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPrioritiesForPartnerResponse.fromProto(resp)));\n }\n addPriorityToProspect(r) {\n const request = r.toApiJson ? r : new AddPriorityToProspectRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/AddPriorityToProspect\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPrioritiesForProspectResponse.fromProto(resp)));\n }\n replacePrioritiesForProspect(r) {\n const request = r.toApiJson ? r : new ReplacePrioritiesForProspectRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/ReplacePrioritiesForProspect\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listPrioritiesForProspect(r) {\n const request = r.toApiJson ? r : new ListPrioritiesForProspectRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/ListPrioritiesForProspect\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPrioritiesForProspectResponse.fromProto(resp)));\n }\n removePriorityFromProspect(r) {\n const request = r.toApiJson ? r : new RemovePriorityFromProspectRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/RemovePriorityFromProspect\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPrioritiesForProspectResponse.fromProto(resp)));\n }\n replaceEarlyWinForProspect(r) {\n const request = r.toApiJson ? r : new ReplaceEarlyWinForProspectRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/ReplaceEarlyWinForProspect\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getEarlyWinForProspect(r) {\n const request = r.toApiJson ? r : new GetEarlyWinForProspectRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/GetEarlyWinForProspect\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetEarlyWinForProspectResponse.fromProto(resp)));\n }\n getPriority(r) {\n const request = r.toApiJson ? r : new GetPriorityRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/GetPriority\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetPriorityResponse.fromProto(resp)));\n }\n setPriority(r) {\n const request = r.toApiJson ? r : new SetPriorityRequest(r);\n return this.http.post(this._host + \"/prospect.v1.OnboardingStrategies/SetPriority\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n OnboardingStrategiesApiService.ɵfac = function OnboardingStrategiesApiService_Factory(t) {\n return new (t || OnboardingStrategiesApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n OnboardingStrategiesApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: OnboardingStrategiesApiService,\n factory: OnboardingStrategiesApiService.ɵfac,\n providedIn: 'root'\n });\n return OnboardingStrategiesApiService;\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 listPartnerProspects(r) {\n const request = r.toApiJson ? r : new ListPartnerProspectsRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Partner/ListPartnerProspects\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPartnerProspectsResponse.fromProto(resp)));\n }\n findDuplicatePartnerProspects(r) {\n const request = r.toApiJson ? r : new FindDuplicatePartnerProspectsRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Partner/FindDuplicatePartnerProspects\", request.toApiJson(), this.apiOptions()).pipe(map(resp => FindDuplicatePartnerProspectsResponse.fromProto(resp)));\n }\n backfillLeadAttributionForBusiness(r) {\n const request = r.toApiJson ? r : new BackfillLeadAttributionForBusinessRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Partner/BackfillLeadAttributionForBusiness\", 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 ProspectApiService = /*#__PURE__*/(() => {\n class ProspectApiService {\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 getUtmAttributes(r) {\n const request = r.toApiJson ? r : new GetUTMAttributesRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Prospect/GetUTMAttributes\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetUTMAttributesResponse.fromProto(resp)));\n }\n findDuplicateAccounts(r) {\n const request = r.toApiJson ? r : new FindDuplicateAccountsRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Prospect/FindDuplicateAccounts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => FindDuplicateAccountsResponse.fromProto(resp)));\n }\n createDuplicateCriteria(r) {\n const request = r.toApiJson ? r : new CreateDuplicateCriteriaRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Prospect/CreateDuplicateCriteria\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getDuplicateCriteria(r) {\n const request = r.toApiJson ? r : new GetDuplicateCriteriaRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Prospect/GetDuplicateCriteria\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetDuplicateCriteriaResponse.fromProto(resp)));\n }\n updateDuplicateCriteria(r) {\n const request = r.toApiJson ? r : new UpdateDuplicateCriteriaRequest(r);\n return this.http.post(this._host + \"/prospect.v1.Prospect/UpdateDuplicateCriteria\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n ProspectApiService.ɵfac = function ProspectApiService_Factory(t) {\n return new (t || ProspectApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n ProspectApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ProspectApiService,\n factory: ProspectApiService.ɵfac,\n providedIn: 'root'\n });\n return ProspectApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet SignUpDataCollectionApiService = /*#__PURE__*/(() => {\n class SignUpDataCollectionApiService {\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 getDataProviderInfo(r) {\n const request = r.toApiJson ? r : new GetDataProviderInfoRequest(r);\n return this.http.post(this._host + \"/prospect.v1.SignUpDataCollection/GetDataProviderInfo\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetDataProviderInfoResponse.fromProto(resp)));\n }\n collectData(r) {\n const request = r.toApiJson ? r : new CollectDataRequest(r);\n return this.http.post(this._host + \"/prospect.v1.SignUpDataCollection/CollectData\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CollectDataResponse.fromProto(resp)));\n }\n getAccountGroupSignUpData(r) {\n const request = r.toApiJson ? r : new GetAccountGroupSignUpDataRequest(r);\n return this.http.post(this._host + \"/prospect.v1.SignUpDataCollection/GetAccountGroupSignUpData\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAccountGroupSignUpDataResponse.fromProto(resp)));\n }\n getPartnerCollectedSignUpData(r) {\n const request = r.toApiJson ? r : new GetPartnerCollectedSignUpDataRequest(r);\n return this.http.post(this._host + \"/prospect.v1.SignUpDataCollection/GetPartnerCollectedSignUpData\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetPartnerCollectedSignUpDataResponse.fromProto(resp)));\n }\n }\n SignUpDataCollectionApiService.ɵfac = function SignUpDataCollectionApiService_Factory(t) {\n return new (t || SignUpDataCollectionApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n SignUpDataCollectionApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SignUpDataCollectionApiService,\n factory: SignUpDataCollectionApiService.ɵfac,\n providedIn: 'root'\n });\n return SignUpDataCollectionApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n\n// *********************************\nlet CampaignService = /*#__PURE__*/(() => {\n class CampaignService {\n constructor(_api) {\n this._api = _api;\n }\n initiateCampaignHistoryExport(campaignId, partnerId, marketId, campaignStepIds, eventTypes, sortBy, sortOrder, uniqueEngagementOnly) {\n const campaignEventTypes = convertEventTypesToCampaignEventTypes(eventTypes);\n const campaignSortOrder = convertSortOrderToCampaignSortOrder(sortOrder);\n const campaignSortBy = convertSortedByToCampaignSortedBy(sortBy);\n return this._api.initiateCampaignHistoryExport({\n campaignId: campaignId,\n partnerId: partnerId,\n marketId: marketId,\n campaignStepIds: campaignStepIds,\n eventTypes: campaignEventTypes,\n sortBy: campaignSortBy,\n orderBy: campaignSortOrder,\n uniqueEngagementOnly: uniqueEngagementOnly\n }).pipe(map(resp => resp.exportId));\n }\n }\n CampaignService.ɵfac = function CampaignService_Factory(t) {\n return new (t || CampaignService)(i0.ɵɵinject(CampaignApiService));\n };\n CampaignService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: CampaignService,\n factory: CampaignService.ɵfac,\n providedIn: 'root'\n });\n return CampaignService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n// converts the string SortOrder filter to the expect campaign API format\nfunction convertSortedByToCampaignSortedBy(fieldName) {\n if (fieldName === 'event_date') {\n return InitiateCampaignHistoryExportRequestSortBy.INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_SORT_BY_EVENT_DATE;\n }\n return InitiateCampaignHistoryExportRequestSortBy.INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_SORT_BY_EVENT_DATE;\n}\n// converts the string SortOrder filter to the expect campaign API format\nfunction convertSortOrderToCampaignSortOrder(order) {\n if (order === 1) {\n return InitiateCampaignHistoryExportRequestOrderBy.INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_ORDER_BY_ASC;\n }\n return InitiateCampaignHistoryExportRequestOrderBy.INITIATE_CAMPAIGN_HISTORY_EXPORT_REQUEST_ORDER_BY_DESC;\n}\n// converts the string representations of event type filters to the campaign event type API format\nfunction convertEventTypesToCampaignEventTypes(eventTypes) {\n const campaignEventType = [];\n for (const eventType of eventTypes) {\n if (eventType === 'spamreport') {\n campaignEventType.push(CampaignEventType.CAMPAIGN_EVENT_TYPE_SPAM_REPORT);\n } else if (eventType === 'delivered') {\n campaignEventType.push(CampaignEventType.CAMPAIGN_EVENT_TYPE_DELIVERED);\n } else if (eventType === 'processed') {\n campaignEventType.push(CampaignEventType.CAMPAIGN_EVENT_TYPE_PROCESSED);\n } else if (eventType === 'click') {\n campaignEventType.push(CampaignEventType.CAMPAIGN_EVENT_TYPE_CLICK);\n } else if (eventType === 'open') {\n campaignEventType.push(CampaignEventType.CAMPAIGN_EVENT_TYPE_OPEN);\n } else if (eventType === 'bounce') {\n campaignEventType.push(CampaignEventType.CAMPAIGN_EVENT_TYPE_BOUNCE);\n } else if (eventType === 'unsubscribe') {\n campaignEventType.push(CampaignEventType.CAMPAIGN_EVENT_TYPE_UNSUBSCRIBE);\n } else if (eventType === 'dropped') {\n campaignEventType.push(CampaignEventType.CAMPAIGN_EVENT_TYPE_DROPPED);\n }\n }\n return campaignEventType;\n}\n\n// MANUALLY CREATED FILE\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Access, Account, AccountAnalyticsApiService, AccountAttributeFilters, AccountAttributes, AccountFilters, AccountMetrics, AccountsCreatedRange, AddPriorityToProspectRequest, Address, Affiliate, AffiliatePaymentAmounts, AffiliatePaymentReportLineItem, AffiliatesApiService, AnalyticsPresetView, AnalyticsPresetViewsApiService, ArchivedFilter, AssociateLeadAndAccountGroupRequest, AttributeFilters, Attributes, BackfillLeadAttributionForBusinessRequest, BilledClientsRange, BooleanFilter, Business, CampaignApiService, CampaignEventType, CampaignService, CheckDisposableEmailRequest, CheckDisposableEmailResponse, CollectDataRequest, CollectDataResponse, CompanyGeoInformation, CompanyInformation, CompanyMetrics, CompanySite, ConnectLeadsForPageRequest, ContractStatus, CreateAccountGroupFromLeadRequest, CreateAccountGroupFromLeadResponse, CreateAffiliateRequest, CreateAffiliateResponse, CreateDuplicateCriteriaRequest, CreatePartnerAccountRequest, CreatePartnerAccountResponse, CreateTermsOfServiceRequest, CreateTermsOfServiceResponse, CreateTrackerRequest, CreateTrackerResponse, CriteriaMatchType, CustomField, DateRange, DeleteGoalsFromPartnerRequest, DeletePrioritiesFromPartnerRequest, DisconnectLeadsForPageRequest, DisposableEmailApiService, DuplicateAccount, DuplicateCriteria, EarlyWin, EmailType, Employment, ExportToCSVRequest, Filters, FindDuplicateAccountsRequest, FindDuplicateAccountsResponse, FindDuplicatePartnerProspectsRequest, FindDuplicatePartnerProspectsResponse, GetAccountGroupSignUpDataRequest, GetAccountGroupSignUpDataResponse, GetAffiliatePaymentAmountsRequest, GetAffiliatePaymentAmountsResponse, GetAffiliatePaymentReportRequest, GetAffiliatePaymentReportResponse, GetAffiliateRequest, GetAffiliateResponse, GetAutomationRequest, GetAutomationResponse, GetDataProviderInfoRequest, GetDataProviderInfoResponse, GetDuplicateCriteriaRequest, GetDuplicateCriteriaResponse, GetEarlyWinForProspectRequest, GetEarlyWinForProspectResponse, GetGoalForProspectRequest, GetGoalForProspectResponse, GetLeadQualificationSettingsRequest, GetLeadQualificationSettingsResponse, GetLeadRequest, GetLeadResponse, GetPartnerCollectedSignUpDataRequest, GetPartnerCollectedSignUpDataResponse, GetPriorityRequest, GetPriorityResponse, GetTermsOfServiceRequest, GetTermsOfServiceResponse, GetUTMAttributesRequest, GetUTMAttributesResponse, Goal, HandleMarketingFormRequest, HasPidFilter, HostService, InitiateCampaignHistoryExportRequest, InitiateCampaignHistoryExportRequestOrderBy, InitiateCampaignHistoryExportRequestSortBy, InitiateCampaignHistoryExportResponse, LatestSalesActivityOption, Lead, LeadAdsAutomation, LeadAdsFormConnectionSettings, LeadQualificationSettings, LeadQualificationType, LeadSource, LeadsApiService, ListAccountAnalyticsRequest, ListAccountAnalyticsResponse, ListAccountGroupsAssociatedToLeadRequest, ListAccountGroupsAssociatedToLeadResponse, ListAffiliatesRequest, ListAffiliatesResponse, ListAnalyticsPresetViewRequest, ListAnalyticsPresetViewResponse, ListGoalsForPartnerRequest, ListGoalsForPartnerResponse, ListLeadAdsFormConnectionSettingsRequest, ListLeadAdsFormConnectionSettingsResponse, ListLeadsAssociatedToAccountGroupRequest, ListLeadsAssociatedToAccountGroupResponse, ListLeadsForPartnerRequest, ListLeadsForPartnerResponse, ListPartnerLeadAdAutomationsRequest, ListPartnerLeadAdAutomationsResponse, ListPartnerProspectsRequest, ListPartnerProspectsRequestInternal, ListPartnerProspectsResponse, ListPartnersConnectedToPageRequest, ListPartnersConnectedToPageResponse, ListPrioritiesForPartnerRequest, ListPrioritiesForPartnerResponse, ListPrioritiesForProspectRequest, ListPrioritiesForProspectResponse, MarketingAutomationApiService, MarketingFormsApiService, Metrics, Money, MultiSortingOptions, OnboardingStrategiesApiService, Opportunity, PagedRequestOptions, PagedResponseMetadata, PaidProductsRange, PartnerApiService, PartnerFacebookLeadAdsConnectionStatusRequest, PartnerFacebookLeadAdsConnectionStatusResponse, PartnerProspect, PaymentInfo, Person, PersonInformation, PersonName, Priority, ProspectApiService, PutAffiliatePaymentAmountsRequest, PutAffiliatePaymentAmountsResponse, PutAnalyticsPresetViewResponse, ReIgniteOldAccountsRequest, RemoveGoalFromProspectRequest, RemovePriorityFromProspectRequest, ReplaceEarlyWinForProspectRequest, ReplaceGoalForProspectRequest, ReplaceLeadQualificationSettingsRequest, ReplacePrioritiesForProspectRequest, SetPriorityRequest, SignUpDataCollectionApiService, SocialNetworkInformation, SortDirection, SortingOptions, Status, StatusType, SubscriptionChangeFilter, SubscriptionTier, TermsOfService, Tracker, UTMAttributes, UpdateAffiliateStatusRequest, UpdateAffiliateStatusResponse, UpdateAutomationRequest, UpdateAutomationResponse, UpdateDuplicateCriteriaRequest, UpdateLeadAdsAutomationStatusRequest, UpdateLeadAdsFormConnectionSettingsRequest, UpsertGoalsForPartnerRequest, UpsertPrioritiesForPartnerRequest, UtmFilters, WebsiteFilter };\n"],"mappings":"iJAuJA,IAAIA,GAA0B,SAAUA,EAAY,CAClD,OAAAA,EAAWA,EAAW,oBAAyB,CAAC,EAAI,sBACpDA,EAAWA,EAAW,oBAAyB,CAAC,EAAI,sBACpDA,EAAWA,EAAW,qBAA0B,CAAC,EAAI,uBACrDA,EAAWA,EAAW,qBAA0B,CAAC,EAAI,uBAC9CA,CACT,EAAEA,IAAc,CAAC,CAAC,EAOdC,EAAiC,SAAUA,EAAmB,CAChE,OAAAA,EAAkBA,EAAkB,4BAAiC,CAAC,EAAI,8BAC1EA,EAAkBA,EAAkB,8BAAmC,CAAC,EAAI,gCAC5EA,EAAkBA,EAAkB,4BAAiC,CAAC,EAAI,8BAC1EA,EAAkBA,EAAkB,8BAAmC,CAAC,EAAI,gCAC5EA,EAAkBA,EAAkB,6BAAkC,CAAC,EAAI,+BAC3EA,EAAkBA,EAAkB,2BAAgC,CAAC,EAAI,6BACzEA,EAAkBA,EAAkB,yBAA8B,CAAC,EAAI,2BACvEA,EAAkBA,EAAkB,0BAA+B,CAAC,EAAI,4BACxEA,EAAkBA,EAAkB,gCAAqC,CAAC,EAAI,kCAC9EA,EAAkBA,EAAkB,gCAAqC,CAAC,EAAI,kCAC9EA,EAAkBA,EAAkB,4BAAiC,EAAE,EAAI,8BAC3EA,EAAkBA,EAAkB,iCAAsC,EAAE,EAAI,mCAChFA,EAAkBA,EAAkB,8BAAmC,EAAE,EAAI,gCACtEA,CACT,EAAEA,GAAqB,CAAC,CAAC,EACrBC,EAA2D,SAAUA,EAA6C,CACpH,OAAAA,EAA4CA,EAA4C,0DAA+D,CAAC,EAAI,4DAC5JA,EAA4CA,EAA4C,sDAA2D,CAAC,EAAI,wDACxJA,EAA4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,WAAYK,GACZ,OAAQI,GACR,QAASF,GACT,qBAAsBH,EACxB,CAAC,EAAE,KAAKlC,EAAIC,IAAQA,GAAK,QAAQ,CAAC,CACpC,CACF,CACA,OAAAwB,EAAgB,UAAO,SAAiCd,EAAG,CACzD,OAAO,IAAKA,GAAKc,GAAoBb,EAAS6B,EAAkB,CAAC,CACnE,EACAhB,EAAgB,WAA0BV,EAAmB,CAC3D,MAAOU,EACP,QAASA,EAAgB,UACzB,WAAY,MACd,CAAC,EACMA,CACT,GAAG,EAKH,SAASe,GAAkCE,EAAW,CACpD,OACSC,EAA2C,2DAGtD,CAEA,SAASL,GAAoCM,EAAO,CAClD,OAAIA,IAAU,EACLC,EAA4C,sDAE9CA,EAA4C,sDACrD,CAEA,SAAST,GAAsCL,EAAY,CACzD,IAAMe,EAAoB,CAAC,EAC3B,QAAWC,KAAahB,EAClBgB,IAAc,aAChBD,EAAkB,KAAKE,EAAkB,+BAA+B,EAC/DD,IAAc,YACvBD,EAAkB,KAAKE,EAAkB,6BAA6B,EAC7DD,IAAc,YACvBD,EAAkB,KAAKE,EAAkB,6BAA6B,EAC7DD,IAAc,QACvBD,EAAkB,KAAKE,EAAkB,yBAAyB,EACzDD,IAAc,OACvBD,EAAkB,KAAKE,EAAkB,wBAAwB,EACxDD,IAAc,SACvBD,EAAkB,KAAKE,EAAkB,0BAA0B,EAC1DD,IAAc,cACvBD,EAAkB,KAAKE,EAAkB,+BAA+B,EAC/DD,IAAc,WACvBD,EAAkB,KAAKE,EAAkB,2BAA2B,EAGxE,OAAOF,CACT","names":["StatusType","CampaignEventType","InitiateCampaignHistoryExportRequestOrderBy","InitiateCampaignHistoryExportRequestSortBy","LeadQualificationType","LeadSource","CriteriaMatchType","Money","_Money","proto","m","kwargs","toReturn","PagedRequestOptions","_PagedRequestOptions","proto","m","kwargs","toReturn","PagedResponseMetadata","_PagedResponseMetadata","enumStringToValue$c","enumRef","value","Affiliate","_Affiliate","proto","m","StatusType","kwargs","toReturn","AffiliatePaymentAmounts","_AffiliatePaymentAmounts","AffiliatePaymentReportLineItem","_AffiliatePaymentReportLineItem","Money","CreateAffiliateRequest","_CreateAffiliateRequest","CreateAffiliateResponse","_CreateAffiliateResponse","CreateTermsOfServiceRequest","_CreateTermsOfServiceRequest","TermsOfService","CreateTermsOfServiceResponse","_CreateTermsOfServiceResponse","GetAffiliatePaymentAmountsRequest","_GetAffiliatePaymentAmountsRequest","GetAffiliatePaymentAmountsResponse","_GetAffiliatePaymentAmountsResponse","GetAffiliatePaymentReportRequest","_GetAffiliatePaymentReportRequest","GetAffiliatePaymentReportResponse","_GetAffiliatePaymentReportResponse","GetAffiliateRequest","_GetAffiliateRequest","GetAffiliateResponse","_GetAffiliateResponse","GetTermsOfServiceRequest","_GetTermsOfServiceRequest","GetTermsOfServiceResponse","_GetTermsOfServiceResponse","ListAffiliatesRequest","_ListAffiliatesRequest","ListAffiliatesResponse","_ListAffiliatesResponse","PutAffiliatePaymentAmountsRequest","_PutAffiliatePaymentAmountsRequest","PutAffiliatePaymentAmountsResponse","_PutAffiliatePaymentAmountsResponse","_TermsOfService","UpdateAffiliateStatusRequest","_UpdateAffiliateStatusRequest","UpdateAffiliateStatusResponse","_UpdateAffiliateStatusResponse","enumStringToValue$b","InitiateCampaignHistoryExportRequest","_InitiateCampaignHistoryExportRequest","v","CampaignEventType","InitiateCampaignHistoryExportRequestSortBy","InitiateCampaignHistoryExportRequestOrderBy","InitiateCampaignHistoryExportResponse","_InitiateCampaignHistoryExportResponse","AddPriorityToProspectRequest","_AddPriorityToProspectRequest","proto","m","kwargs","toReturn","DeleteGoalsFromPartnerRequest","_DeleteGoalsFromPartnerRequest","DeletePrioritiesFromPartnerRequest","_DeletePrioritiesFromPartnerRequest","EarlyWin","_EarlyWin","GetEarlyWinForProspectRequest","_GetEarlyWinForProspectRequest","GetEarlyWinForProspectResponse","_GetEarlyWinForProspectResponse","GetGoalForProspectRequest","_GetGoalForProspectRequest","GetGoalForProspectResponse","_GetGoalForProspectResponse","GetPriorityRequest","_GetPriorityRequest","GetPriorityResponse","_GetPriorityResponse","Goal","_Goal","ListGoalsForPartnerRequest","_ListGoalsForPartnerRequest","ListGoalsForPartnerResponse","_ListGoalsForPartnerResponse","ListPrioritiesForPartnerRequest","_ListPrioritiesForPartnerRequest","ListPrioritiesForPartnerResponse","_ListPrioritiesForPartnerResponse","Priority","ListPrioritiesForProspectRequest","_ListPrioritiesForProspectRequest","ListPrioritiesForProspectResponse","_ListPrioritiesForProspectResponse","_Priority","RemovePriorityFromProspectRequest","_RemovePriorityFromProspectRequest","proto","m","kwargs","toReturn","ReplaceEarlyWinForProspectRequest","_ReplaceEarlyWinForProspectRequest","EarlyWin","ReplaceGoalForProspectRequest","_ReplaceGoalForProspectRequest","ReplacePrioritiesForProspectRequest","_ReplacePrioritiesForProspectRequest","SetPriorityRequest","_SetPriorityRequest","UpsertGoalsForPartnerRequest","_UpsertGoalsForPartnerRequest","Goal","UpsertPrioritiesForPartnerRequest","_UpsertPrioritiesForPartnerRequest","Priority","GetUTMAttributesResponse","_GetUTMAttributesResponse","proto","m","UTMAttributes","kwargs","toReturn","_UTMAttributes","enumStringToValue$6","enumRef","value","AssociateLeadAndAccountGroupRequest","_AssociateLeadAndAccountGroupRequest","Business","_Business","CreateAccountGroupFromLeadRequest","_CreateAccountGroupFromLeadRequest","CreateAccountGroupFromLeadResponse","_CreateAccountGroupFromLeadResponse","GetLeadQualificationSettingsRequest","_GetLeadQualificationSettingsRequest","GetLeadQualificationSettingsResponse","_GetLeadQualificationSettingsResponse","LeadQualificationSettings","GetLeadRequest","_GetLeadRequest","GetLeadResponse","_GetLeadResponse","Lead","_Lead","Person","Opportunity","_LeadQualificationSettings","ListAccountGroupsAssociatedToLeadRequest","_ListAccountGroupsAssociatedToLeadRequest","ListAccountGroupsAssociatedToLeadResponse","_ListAccountGroupsAssociatedToLeadResponse","ListLeadsAssociatedToAccountGroupRequest","_ListLeadsAssociatedToAccountGroupRequest","ListLeadsAssociatedToAccountGroupResponse","_ListLeadsAssociatedToAccountGroupResponse","ListLeadsForPartnerRequest","_ListLeadsForPartnerRequest","PagedRequestOptions","LeadQualificationType","ListLeadsForPartnerResponse","_ListLeadsForPartnerResponse","PagedResponseMetadata","_Opportunity","_Person","ReplaceLeadQualificationSettingsRequest","_ReplaceLeadQualificationSettingsRequest","enumStringToValue$5","ConnectLeadsForPageRequest","_ConnectLeadsForPageRequest","LeadSource","DisconnectLeadsForPageRequest","_DisconnectLeadsForPageRequest","LeadAdsAutomation","_LeadAdsAutomation","LeadAdsFormConnectionSettings","_LeadAdsFormConnectionSettings","ListLeadAdsFormConnectionSettingsRequest","_ListLeadAdsFormConnectionSettingsRequest","ListLeadAdsFormConnectionSettingsResponse","_ListLeadAdsFormConnectionSettingsResponse","ListPartnerLeadAdAutomationsRequest","_ListPartnerLeadAdAutomationsRequest","ListPartnerLeadAdAutomationsResponse","_ListPartnerLeadAdAutomationsResponse","ListPartnersConnectedToPageRequest","_ListPartnersConnectedToPageRequest","ListPartnersConnectedToPageResponse","_ListPartnersConnectedToPageResponse","PartnerFacebookLeadAdsConnectionStatusRequest","_PartnerFacebookLeadAdsConnectionStatusRequest","PartnerFacebookLeadAdsConnectionStatusResponse","_PartnerFacebookLeadAdsConnectionStatusResponse","UpdateLeadAdsAutomationStatusRequest","_UpdateLeadAdsAutomationStatusRequest","UpdateLeadAdsFormConnectionSettingsRequest","_UpdateLeadAdsFormConnectionSettingsRequest","enumStringToValue$4","CreateDuplicateCriteriaRequest","_CreateDuplicateCriteriaRequest","DuplicateCriteria","DuplicateAccount","_DuplicateAccount","_DuplicateCriteria","CriteriaMatchType","FindDuplicateAccountsRequest","_FindDuplicateAccountsRequest","FindDuplicateAccountsResponse","_FindDuplicateAccountsResponse","GetDuplicateCriteriaRequest","_GetDuplicateCriteriaRequest","GetDuplicateCriteriaResponse","_GetDuplicateCriteriaResponse","UpdateDuplicateCriteriaRequest","_UpdateDuplicateCriteriaRequest","CollectDataRequest","_CollectDataRequest","proto","m","kwargs","toReturn","CollectDataResponse","_CollectDataResponse","CompanyGeoInformation","_CompanyGeoInformation","CompanyInformation","_CompanyInformation","CompanyMetrics","CompanySite","SocialNetworkInformation","_CompanyMetrics","_CompanySite","Employment","_Employment","GetAccountGroupSignUpDataRequest","_GetAccountGroupSignUpDataRequest","GetAccountGroupSignUpDataResponse","_GetAccountGroupSignUpDataResponse","PersonInformation","GetDataProviderInfoRequest","_GetDataProviderInfoRequest","GetDataProviderInfoResponse","_GetDataProviderInfoResponse","GetPartnerCollectedSignUpDataRequest","_GetPartnerCollectedSignUpDataRequest","GetPartnerCollectedSignUpDataResponse","_GetPartnerCollectedSignUpDataResponse","_PersonInformation","PersonName","_PersonName","_SocialNetworkInformation","GetUTMAttributesRequest","_GetUTMAttributesRequest","proto","m","kwargs","toReturn","environment","hostMap","HostService","t","ɵɵdefineInjectable","AffiliatesApiService","http","hostService","HttpHeaders","r","request","ListAffiliatesRequest","map","resp","ListAffiliatesResponse","CreateAffiliateRequest","CreateAffiliateResponse","GetAffiliateRequest","GetAffiliateResponse","UpdateAffiliateStatusRequest","UpdateAffiliateStatusResponse","PutAffiliatePaymentAmountsRequest","PutAffiliatePaymentAmountsResponse","GetAffiliatePaymentAmountsRequest","GetAffiliatePaymentAmountsResponse","CreateTermsOfServiceRequest","CreateTermsOfServiceResponse","GetTermsOfServiceRequest","GetTermsOfServiceResponse","GetAffiliatePaymentReportRequest","GetAffiliatePaymentReportResponse","t","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable","CampaignApiService","http","hostService","HttpHeaders","r","request","InitiateCampaignHistoryExportRequest","map","resp","InitiateCampaignHistoryExportResponse","t","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable","LeadsApiService","http","hostService","HttpHeaders","r","request","PartnerFacebookLeadAdsConnectionStatusRequest","map","resp","PartnerFacebookLeadAdsConnectionStatusResponse","ListLeadAdsFormConnectionSettingsRequest","ListLeadAdsFormConnectionSettingsResponse","UpdateLeadAdsFormConnectionSettingsRequest","__spreadProps","__spreadValues","ConnectLeadsForPageRequest","DisconnectLeadsForPageRequest","ListPartnerLeadAdAutomationsRequest","ListPartnerLeadAdAutomationsResponse","UpdateLeadAdsAutomationStatusRequest","CreateAccountGroupFromLeadRequest","CreateAccountGroupFromLeadResponse","ListLeadsForPartnerRequest","ListLeadsForPartnerResponse","GetLeadRequest","GetLeadResponse","AssociateLeadAndAccountGroupRequest","ListLeadsAssociatedToAccountGroupRequest","ListLeadsAssociatedToAccountGroupResponse","ListAccountGroupsAssociatedToLeadRequest","ListAccountGroupsAssociatedToLeadResponse","GetLeadQualificationSettingsRequest","GetLeadQualificationSettingsResponse","ReplaceLeadQualificationSettingsRequest","ListPartnersConnectedToPageRequest","ListPartnersConnectedToPageResponse","t","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable","OnboardingStrategiesApiService","http","hostService","HttpHeaders","r","request","UpsertGoalsForPartnerRequest","map","resp","ListGoalsForPartnerResponse","DeleteGoalsFromPartnerRequest","ListGoalsForPartnerRequest","ReplaceGoalForProspectRequest","__spreadProps","__spreadValues","GetGoalForProspectRequest","GetGoalForProspectResponse","UpsertPrioritiesForPartnerRequest","ListPrioritiesForPartnerResponse","DeletePrioritiesFromPartnerRequest","ListPrioritiesForPartnerRequest","AddPriorityToProspectRequest","ListPrioritiesForProspectResponse","ReplacePrioritiesForProspectRequest","ListPrioritiesForProspectRequest","RemovePriorityFromProspectRequest","ReplaceEarlyWinForProspectRequest","GetEarlyWinForProspectRequest","GetEarlyWinForProspectResponse","GetPriorityRequest","GetPriorityResponse","SetPriorityRequest","t","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable","ProspectApiService","http","hostService","HttpHeaders","r","request","GetUTMAttributesRequest","map","resp","GetUTMAttributesResponse","FindDuplicateAccountsRequest","FindDuplicateAccountsResponse","CreateDuplicateCriteriaRequest","__spreadProps","__spreadValues","GetDuplicateCriteriaRequest","GetDuplicateCriteriaResponse","UpdateDuplicateCriteriaRequest","t","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable","SignUpDataCollectionApiService","GetDataProviderInfoRequest","GetDataProviderInfoResponse","CollectDataRequest","CollectDataResponse","GetAccountGroupSignUpDataRequest","GetAccountGroupSignUpDataResponse","GetPartnerCollectedSignUpDataRequest","GetPartnerCollectedSignUpDataResponse","CampaignService","_api","campaignId","partnerId","marketId","campaignStepIds","eventTypes","sortBy","sortOrder","uniqueEngagementOnly","campaignEventTypes","convertEventTypesToCampaignEventTypes","campaignSortOrder","convertSortOrderToCampaignSortOrder","campaignSortBy","convertSortedByToCampaignSortedBy","CampaignApiService","fieldName","InitiateCampaignHistoryExportRequestSortBy","order","InitiateCampaignHistoryExportRequestOrderBy","campaignEventType","eventType","CampaignEventType"],"x_google_ignoreList":[0]}