{"version":3,"sources":["libs/platform-integrations/shared/src/lib/constant.ts","libs/platform-integrations/shared/src/lib/i18n/assets/en_devel.json","libs/platform-integrations/shared/src/lib/i18n/platform-integrations-i18n.module.ts","node_modules/@vendasta/platform-integrations/fesm2020/vendasta-platform-integrations.mjs"],"sourcesContent":["export const PLATFORM_INTEGRATIONS_PARTNER_ID_INJECTION_TOKEN$ = 'PI_PARTNER_ID';\nexport const PLATFORM_INTEGRATIONS_NAMESPACE_INJECTION_TOKEN$ = 'PI_NAMESPACE';\nexport const PLATFORM_INTEGRATIONS_CONTEXT_INJECTION_TOKEN$ = 'PI_CONTEXT';\n\nexport const PLATFORM_INTEGRATIONS_MARKET_ID_INJECTION_TOKEN$ = 'AUTOMATION_MARKET_ID';\n","{\n \"INTEGRATION_PAGE\": {\n \"PLATFORM_INTEGRATION\": \"Integrations\",\n \"CONNECT_INTEGRATION_NAME\": \"Connect {{integrationDisplayName}}\",\n \"SYNC_SETTINGS_CONTENT_TITLE\": \"Set your default sync preferences before connecting to {{integrationDisplayName}}\",\n \"REQUEST_CONNECTION\": \"Request {{integrationDisplayName}} Connection\"\n },\n \"INTEGRATION_CARD\": {\n \"CONNECTED\": \"Connected\",\n \"CONNECT\": \"Connect\",\n \"SETTINGS\": \"Settings\",\n \"DISCONNECT\": \"Disconnect\",\n \"DISCONNECTED\": \"Disconnected\",\n \"RESUME_CONNECTION\": \"Resume connection\",\n \"RECONNECT\": \"Reconnect\",\n \"BROWSE\": \"Browse\",\n \"MANAGE\": \"Manage\",\n \"CONTINUE\": \"Continue\",\n \"CONNECTION_NOT_CONFIGURED\": \"Connection not configured\",\n \"CREATE_CONNECTION_SUCCESS\": \"Successfully created connection\",\n \"TITLE\": \"Disconnect {{title}}?\",\n \"SYNC_SETTING_TITLE\": \"Turn off {{title}}\",\n \"TURN_OFF\": \"Turn off\",\n \"SYNC_SETTING_UPDATE_ERROR\": \"Not able to update sync settings\",\n \"SYNC_SETTING_MESSAGE\": \"Are you sure you want to turn off {{title}}?\",\n \"MESSAGE\": \"Disconnecting this account will stop data from syncing. Data that was previously synced will remain, but will not be updated.\",\n \"CANCEL\": \"Cancel\",\n \"DISCONNECT_WARNING_PROBLEM_VENDOR_MANAGED\": \"Connection Issue Detected: We are working on it. You can disconnect if you are no longer using this integration.\",\n \"DISCONNECT_WARNING_PROBLEM\": \"There is a problem with your {{ title }} connection. Reconnect your account to continue syncing data.\",\n \"DISCONNECT_TWO_ACCOUNTS_WARNING_PROBLEM\": \"There is a problem with your {{ firstTitle }} and {{ secondTitle }} connections. Reconnect your account to continue syncing data.\",\n \"DISCONNECT_MULTIPLE_ACCOUNTS_WARNING_PROBLEM\": \"There is a problem with your {{ title }} and {{ count }} other connections. Reconnect your account to continue syncing data.\",\n \"CANCEL_SUCCESS_MESSAGE\": \"{{title}} connection process has been successfully cancelled\",\n \"DELETE_SUCCESS_MESSAGE\": \"{{title}} integration has been successfully disconnected.\",\n \"DELETE_ERROR_MESSAGE\": \"Failed to disconnect the connection\",\n \"CREATE_ERROR_MESSAGE\": \"Failed to create the connection\",\n \"INTEGRATION_LIST_ERROR\": \"Failed to get the integrations\",\n \"INTEGRATION_ERROR\": \"Failed to get the integration\",\n \"GET_CONNECTION_ERROR\": \"Failed to get the connection\",\n \"GET_CONNECTIONS_LIST_ERROR\": \"Failed to get the connections\",\n \"PERFORM_SSO_ERROR\": \"Failed to perform SSO\",\n \"ADD_CONNECTION\": \"Add connection\",\n \"MANAGE_CONNECTION\": \"Manage connection\",\n \"REQUEST_CONNECTION\": \"Request connection\",\n \"PRECONNECT_WARNING_PROBLEM\": \"The {{ title }} connection process is pending. A notification will be sent on successful completion.\",\n \"PRECONNECT_SSO_BASED_WARNING_PROBLEM\": \"The {{ title }} connection process is pending. Click “Resume connection” to activate this integration.\",\n \"PRECONNECT_TWO_ACCOUNTS_WARNING_PROBLEM\": \"The {{ firstTitle }} and {{ secondTitle }} connections processes is pending. Please click on the respective connection card for more information\",\n \"PRECONNECT_MULTIPLE_ACCOUNTS_WARNING_PROBLEM\": \"The {{ title }} and {{ count }} other connection processes are pending. Please click on the respective connection card for more information\",\n \"EMPTY_PAGE_HEADING\": \"Connect your first integration\",\n \"EMPTY_PAGE_DESCRIPTION\": \"Connect the external tools you use every day to do more with Business App\",\n \"CONNECTED_ACCOUNTS\": \"Connected accounts\",\n \"CONNECT_ZAPIER\": \"Connect on Zapier\",\n \"SEND_CONNECT_REQUEST\": \"Send request\",\n \"CANCEL_CONNECTION_REQUEST\": \"Cancel connection request\",\n \"CONNECTION_PENDING\": \"Connection pending\",\n \"CONNECTION_ERROR_SSO\": \"Error happened\",\n \"PRE_CONNECT_FORMS\": {\n \"VENDOR_MANAGED\": {\n \"FORM_DESCRIPTION\": \"
Our team will work with {{integrationDisplayName}} to get your connection set up. This process typically takes 24-48 hours.
You will be notified once it's set up. Feel free to disconnect anytime by visiting this page.
\"\n },\n \"JOBBER\": {\n \"TITLE\": \"Connect Jobber\",\n \"SUBTITLE\": \"Set your default sync preferences before connecting to Jobber\"\n }\n },\n \"CANCEL_VENDOR_MANAGED_CONNECTION_REQUEST?\": \"Cancel {{integrationDisplayName}} connection request?\",\n \"THIS_WILL_STOP_CURRENT_CONNECTION_PROCESS_FOR_THIS_INTEGRATION\": \"This will stop current connection process for this integration\",\n \"CONNECTION_REQUEST_CANCELLED_SUCCESFULLY\": \"Connection request cancelled successfully\",\n \"FAILED_TO_CANCEL_CONNECTION_REQUEST\": \"Failed to cancel connection request\"\n },\n \"CONNECTION_SYNC_SETTINGS\": {\n \"EDIT\": \"Edit\",\n \"SAVE\": \"Save\",\n \"CANCEL\": \"Cancel\",\n \"UNLOCK_PREMIUM_SERVICE\": \"Unlock\",\n \"SELF_SERVE_UPGRADE\": \"Self-serve upgrade\",\n \"CONTACT_SALESPERSON\": \"Contact a salesperson\",\n \"UPGRADE_TO_PRO\": \"Upgrade to Pro with a custom package\",\n \"AUTOMATED_REVIEW_REQUESTS\": \"Automated Review Requests\",\n \"AVAILABLE_ON_RM_PREMIUM\": \"Available on Reputation Management Premium\",\n \"PROMPT_CUSTOMERS\": \"Automatically prompt customers to leave reviews\",\n \"BUY_DESCRIPTION\": \"Discover the power of automated review generation with our exclusive Premium feature. Boost your online presence, gather valuable feedback effortlessly, and enhance your reputation.\",\n \"CONTACT_SALES_DESCRIPTION\": \"Connect with us to access this exclusive feature, streamlining your review generation process, boosting online visibility, and effortlessly managing valuable customer feedback.\",\n \"BUY\": \"Buy\",\n \"CONTACT_SALES\": \"Contact sales\",\n \"UPDATE_SETTINGS\": \"{{label}} has been updated\",\n \"UPDATE_SYNC_ID_SETTINGS_ERROR\": \"Not able to update {{label}}\",\n \"UPDATE_SETTINGS_ERROR\": \"Not able to update Connection\",\n \"UPDATE_SYNC_SETTING_ERROR\": \"Not able to update Setting\",\n \"UPDATE_SETTINGS_SUCCESS\": \"Updated Successfully\"\n },\n \"ACCOUNT_DETAILS\": {\n \"ACCOUNT_NAME\": \"Account name\",\n \"CONNECTED_BY\": \"Connected by\",\n \"REQUESTED_BY\": \"Requested by\",\n \"CONNECTED\": \"Connected\",\n \"PROBLEM_DETECTED\": \"Problem Detected\",\n \"REQUESTED\": \"Requested\",\n \"DATA_LAST_RECEIVED\": \"Data last received\"\n },\n \"CONFIG_PAGE\": {\n \"ACCOUNT_DETAILS\": \"Account details\",\n \"RESOURCES\": \"Resources\",\n \"COPY\": \"Copy\"\n },\n \"INTEGRATION_BANNER\": {\n \"BANNER_HEADER\": \"Discover new integration\",\n \"BANNER_DESCRIPTION\": \"Install once and sync data, streamline your common tasks, and more.\",\n \"NAVIGATE_TO_BROWSE_BUTTON\": \"See all available integrations\",\n \"NAVIGATE_TO_LEGACY_INTEGRATIONS\": \" Looking for legacy integrations? — explore our legacy integrations page\",\n \"VIEW\": \"View\"\n },\n \"SETTINGS\": {\n \"PAGE_TITLE\": \"Settings\"\n }\n}\n","import { NgModule } from '@angular/core';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { LexiconModule } from '@galaxy/lexicon';\nimport En from './assets/en_devel.json';\n\n@NgModule({\n imports: [\n TranslateModule,\n LexiconModule.forChild({\n componentName: 'common/platform-integrations',\n baseTranslation: En,\n }),\n ],\n})\nexport class PlatformIntegrationsI18nModule {}\n","import * as i0 from '@angular/core';\nimport { Injectable, inject } from '@angular/core';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { map } from 'rxjs/operators';\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'platform-integrations-api.vendasta-local.com',\n 'test': '',\n 'demo': 'platform-integrations-demo.apigateway.co',\n 'prod': 'platform-integrations-prod.apigateway.co',\n 'production': 'platform-integrations-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(__ngFactoryType__) {\n return new (__ngFactoryType__ || 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// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ActionType = /*#__PURE__*/function (ActionType) {\n ActionType[ActionType[\"ACTION_TYPE_UNSPECIFIED\"] = 0] = \"ACTION_TYPE_UNSPECIFIED\";\n ActionType[ActionType[\"ACTION_TYPE_CONTINUE\"] = 1] = \"ACTION_TYPE_CONTINUE\";\n ActionType[ActionType[\"ACTION_TYPE_CANCEL\"] = 2] = \"ACTION_TYPE_CANCEL\";\n ActionType[ActionType[\"ACTION_TYPE_ADD_CONNECTION\"] = 3] = \"ACTION_TYPE_ADD_CONNECTION\";\n ActionType[ActionType[\"ACTION_TYPE_SEND_REQUEST\"] = 4] = \"ACTION_TYPE_SEND_REQUEST\";\n ActionType[ActionType[\"ACTION_TYPE_COPY\"] = 5] = \"ACTION_TYPE_COPY\";\n ActionType[ActionType[\"ACTION_TYPE_SAVE\"] = 6] = \"ACTION_TYPE_SAVE\";\n ActionType[ActionType[\"ACTION_TYPE_UNLOCK\"] = 7] = \"ACTION_TYPE_UNLOCK\";\n ActionType[ActionType[\"ACTION_TYPE_EDIT\"] = 8] = \"ACTION_TYPE_EDIT\";\n return ActionType;\n}(ActionType || {});\nvar ConnectionMethods = /*#__PURE__*/function (ConnectionMethods) {\n ConnectionMethods[ConnectionMethods[\"UNSPECIFIED\"] = 0] = \"UNSPECIFIED\";\n ConnectionMethods[ConnectionMethods[\"OAUTH2\"] = 1] = \"OAUTH2\";\n ConnectionMethods[ConnectionMethods[\"APIKEY\"] = 2] = \"APIKEY\";\n ConnectionMethods[ConnectionMethods[\"VENDOR_MANAGED\"] = 3] = \"VENDOR_MANAGED\";\n ConnectionMethods[ConnectionMethods[\"LEGACY_OAUTH\"] = 4] = \"LEGACY_OAUTH\";\n return ConnectionMethods;\n}(ConnectionMethods || {});\nvar ConnectionStatus = /*#__PURE__*/function (ConnectionStatus) {\n ConnectionStatus[ConnectionStatus[\"UNSPECIFIED_STATUS\"] = 0] = \"UNSPECIFIED_STATUS\";\n ConnectionStatus[ConnectionStatus[\"PRECONNECTED\"] = 1] = \"PRECONNECTED\";\n ConnectionStatus[ConnectionStatus[\"CONNECTED\"] = 2] = \"CONNECTED\";\n ConnectionStatus[ConnectionStatus[\"DISCONNECTED\"] = 3] = \"DISCONNECTED\";\n ConnectionStatus[ConnectionStatus[\"DELETED\"] = 4] = \"DELETED\";\n return ConnectionStatus;\n}(ConnectionStatus || {});\nvar FieldType = /*#__PURE__*/function (FieldType) {\n FieldType[FieldType[\"FIELD_TYPE_UNSPECIFIED\"] = 0] = \"FIELD_TYPE_UNSPECIFIED\";\n FieldType[FieldType[\"FIELD_TYPE_CHECKBOX\"] = 1] = \"FIELD_TYPE_CHECKBOX\";\n FieldType[FieldType[\"FIELD_TYPE_TOGGLE\"] = 2] = \"FIELD_TYPE_TOGGLE\";\n FieldType[FieldType[\"FIELD_TYPE_PASSWORD\"] = 3] = \"FIELD_TYPE_PASSWORD\";\n FieldType[FieldType[\"FIELD_TYPE_TEXT\"] = 4] = \"FIELD_TYPE_TEXT\";\n FieldType[FieldType[\"FIELD_TYPE_RADIO\"] = 5] = \"FIELD_TYPE_RADIO\";\n FieldType[FieldType[\"FIELD_TYPE_SELECT\"] = 6] = \"FIELD_TYPE_SELECT\";\n FieldType[FieldType[\"FIELD_TYPE_LABEL\"] = 7] = \"FIELD_TYPE_LABEL\";\n FieldType[FieldType[\"FIELD_TYPE_CHIPLIST\"] = 8] = \"FIELD_TYPE_CHIPLIST\";\n FieldType[FieldType[\"FIELD_TYPE_URL\"] = 9] = \"FIELD_TYPE_URL\";\n return FieldType;\n}(FieldType || {});\nvar SupportedContexts = /*#__PURE__*/function (SupportedContexts) {\n SupportedContexts[SupportedContexts[\"PI_CONTEXT_UNSET\"] = 0] = \"PI_CONTEXT_UNSET\";\n SupportedContexts[SupportedContexts[\"PI_CONTEXT_PARTNER\"] = 1] = \"PI_CONTEXT_PARTNER\";\n SupportedContexts[SupportedContexts[\"PI_CONTEXT_SMB\"] = 2] = \"PI_CONTEXT_SMB\";\n return SupportedContexts;\n}(SupportedContexts || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums Index.\n// *********************************\n\nfunction enumStringToValue$5(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass FieldMask {\n static fromProto(proto) {\n let m = new FieldMask();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.paths !== 'undefined') {\n toReturn['paths'] = this.paths;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$4(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$3(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Actions {\n static fromProto(proto) {\n let m = new Actions();\n m = Object.assign(m, proto);\n if (proto.actionType) {\n m.actionType = enumStringToValue$3(ActionType, proto.actionType);\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.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.actionType !== 'undefined') {\n toReturn['actionType'] = this.actionType;\n }\n return toReturn;\n }\n}\nclass AdditionalInfo {\n static fromProto(proto) {\n let m = new AdditionalInfo();\n m = Object.assign(m, proto);\n if (proto.websites) {\n m.websites = proto.websites.map(WebsiteInfo.fromProto);\n }\n if (proto.resources) {\n m.resources = proto.resources.map(ResourceInfo.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.provider !== 'undefined') {\n toReturn['provider'] = this.provider;\n }\n if (typeof this.categories !== 'undefined') {\n toReturn['categories'] = this.categories;\n }\n if (typeof this.websites !== 'undefined' && this.websites !== null) {\n toReturn['websites'] = 'toApiJson' in this.websites ? this.websites.toApiJson() : this.websites;\n }\n if (typeof this.requirements !== 'undefined') {\n toReturn['requirements'] = this.requirements;\n }\n if (typeof this.resources !== 'undefined' && this.resources !== null) {\n toReturn['resources'] = 'toApiJson' in this.resources ? this.resources.toApiJson() : this.resources;\n }\n if (typeof this.businesses !== 'undefined') {\n toReturn['businesses'] = this.businesses;\n }\n if (typeof this.billing !== 'undefined') {\n toReturn['billing'] = this.billing;\n }\n return toReturn;\n }\n}\nclass ConnectionResponse {\n static fromProto(proto) {\n let m = new ConnectionResponse();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n if (proto.status) {\n m.status = enumStringToValue$3(ConnectionStatus, proto.status);\n }\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomFields.fromProto);\n }\n if (proto.statusLastUpdated) {\n m.statusLastUpdated = new Date(proto.statusLastUpdated);\n }\n if (proto.dataLastReceived) {\n m.dataLastReceived = new Date(proto.dataLastReceived);\n }\n if (proto.context) {\n m.context = enumStringToValue$3(SupportedContexts, proto.context);\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.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\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.statusLastUpdated !== 'undefined' && this.statusLastUpdated !== null) {\n toReturn['statusLastUpdated'] = 'toApiJson' in this.statusLastUpdated ? this.statusLastUpdated.toApiJson() : this.statusLastUpdated;\n }\n if (typeof this.dataLastReceived !== 'undefined' && this.dataLastReceived !== null) {\n toReturn['dataLastReceived'] = 'toApiJson' in this.dataLastReceived ? this.dataLastReceived.toApiJson() : this.dataLastReceived;\n }\n if (typeof this.context !== 'undefined') {\n toReturn['context'] = this.context;\n }\n return toReturn;\n }\n}\nclass CreateConnectionRequest {\n static fromProto(proto) {\n let m = new CreateConnectionRequest();\n m = Object.assign(m, proto);\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomFields.fromProto);\n }\n if (proto.context) {\n m.context = enumStringToValue$3(SupportedContexts, proto.context);\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.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\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.context !== 'undefined') {\n toReturn['context'] = this.context;\n }\n return toReturn;\n }\n}\nclass CreateConnectionResponse {\n static fromProto(proto) {\n let m = new CreateConnectionResponse();\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.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n return toReturn;\n }\n}\nclass CreateIntegrationRequest {\n static fromProto(proto) {\n let m = new CreateIntegrationRequest();\n m = Object.assign(m, proto);\n if (proto.connectionMethod) {\n m.connectionMethod = enumStringToValue$3(ConnectionMethods, proto.connectionMethod);\n }\n if (proto.additionalInfo) {\n m.additionalInfo = AdditionalInfo.fromProto(proto.additionalInfo);\n }\n if (proto.maxConnections) {\n m.maxConnections = parseInt(proto.maxConnections, 10);\n }\n if (proto.supportedContexts) {\n m.supportedContexts = proto.supportedContexts.map(v => enumStringToValue$3(SupportedContexts, v));\n }\n if (proto.preconnectFormFields) {\n m.preconnectFormFields = FormConfig.fromProto(proto.preconnectFormFields);\n }\n if (proto.configPageFields) {\n m.configPageFields = proto.configPageFields.map(FormConfig.fromProto);\n }\n if (proto.instructions) {\n m.instructions = FormConfig.fromProto(proto.instructions);\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.ownerId !== 'undefined') {\n toReturn['ownerId'] = this.ownerId;\n }\n if (typeof this.logo !== 'undefined') {\n toReturn['logo'] = this.logo;\n }\n if (typeof this.displayName !== 'undefined') {\n toReturn['displayName'] = this.displayName;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.integrationType !== 'undefined') {\n toReturn['integrationType'] = this.integrationType;\n }\n if (typeof this.connectionMethod !== 'undefined') {\n toReturn['connectionMethod'] = this.connectionMethod;\n }\n if (typeof this.clientId !== 'undefined') {\n toReturn['clientId'] = this.clientId;\n }\n if (typeof this.clientSecret !== 'undefined') {\n toReturn['clientSecret'] = this.clientSecret;\n }\n if (typeof this.apiKey !== 'undefined') {\n toReturn['apiKey'] = this.apiKey;\n }\n if (typeof this.authenticationUrl !== 'undefined') {\n toReturn['authenticationUrl'] = this.authenticationUrl;\n }\n if (typeof this.tokenUrl !== 'undefined') {\n toReturn['tokenUrl'] = this.tokenUrl;\n }\n if (typeof this.longDescription !== 'undefined') {\n toReturn['longDescription'] = this.longDescription;\n }\n if (typeof this.additionalInfo !== 'undefined' && this.additionalInfo !== null) {\n toReturn['additionalInfo'] = 'toApiJson' in this.additionalInfo ? this.additionalInfo.toApiJson() : this.additionalInfo;\n }\n if (typeof this.baseUrl !== 'undefined') {\n toReturn['baseUrl'] = this.baseUrl;\n }\n if (typeof this.maxConnections !== 'undefined') {\n toReturn['maxConnections'] = this.maxConnections;\n }\n if (typeof this.webhookVerifierToken !== 'undefined') {\n toReturn['webhookVerifierToken'] = this.webhookVerifierToken;\n }\n if (typeof this.supportedContexts !== 'undefined') {\n toReturn['supportedContexts'] = this.supportedContexts;\n }\n if (typeof this.fieldExtensionIds !== 'undefined') {\n toReturn['fieldExtensionIds'] = this.fieldExtensionIds;\n }\n if (typeof this.preconnectFormFields !== 'undefined' && this.preconnectFormFields !== null) {\n toReturn['preconnectFormFields'] = 'toApiJson' in this.preconnectFormFields ? this.preconnectFormFields.toApiJson() : this.preconnectFormFields;\n }\n if (typeof this.configPageFields !== 'undefined' && this.configPageFields !== null) {\n toReturn['configPageFields'] = 'toApiJson' in this.configPageFields ? this.configPageFields.toApiJson() : this.configPageFields;\n }\n if (typeof this.instructions !== 'undefined' && this.instructions !== null) {\n toReturn['instructions'] = 'toApiJson' in this.instructions ? this.instructions.toApiJson() : this.instructions;\n }\n return toReturn;\n }\n}\nclass CreateIntegrationResponse {\n static fromProto(proto) {\n let m = new CreateIntegrationResponse();\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.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\n }\n return toReturn;\n }\n}\nclass CustomFields {\n static fromProto(proto) {\n let m = new CustomFields();\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.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass DeleteConnectionRequest {\n static fromProto(proto) {\n let m = new DeleteConnectionRequest();\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.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass DeleteIntegrationRequest {\n static fromProto(proto) {\n let m = new DeleteIntegrationRequest();\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.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass EmitEventRequest {\n static fromProto(proto) {\n let m = new EmitEventRequest();\n m = Object.assign(m, proto);\n if (proto.emittedAt) {\n m.emittedAt = new Date(proto.emittedAt);\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.topic !== 'undefined') {\n toReturn['topic'] = this.topic;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.payload !== 'undefined') {\n toReturn['payload'] = this.payload;\n }\n if (typeof this.eventId !== 'undefined') {\n toReturn['eventId'] = this.eventId;\n }\n if (typeof this.emittedAt !== 'undefined' && this.emittedAt !== null) {\n toReturn['emittedAt'] = 'toApiJson' in this.emittedAt ? this.emittedAt.toApiJson() : this.emittedAt;\n }\n if (typeof this.ownerId !== 'undefined') {\n toReturn['ownerId'] = this.ownerId;\n }\n return toReturn;\n }\n}\nclass EmitEventResponse {\n static fromProto(proto) {\n let m = new EmitEventResponse();\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.eventId !== 'undefined') {\n toReturn['eventId'] = this.eventId;\n }\n return toReturn;\n }\n}\nclass FieldConfig {\n static fromProto(proto) {\n let m = new FieldConfig();\n m = Object.assign(m, proto);\n if (proto.fieldType) {\n m.fieldType = enumStringToValue$3(FieldType, proto.fieldType);\n }\n if (proto.dependents) {\n m.dependents = proto.dependents.map(FieldConfig.fromProto);\n }\n if (proto.options) {\n m.options = proto.options.map(FieldOptions.fromProto);\n }\n if (proto.actions) {\n m.actions = proto.actions.map(Actions.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.placeHolder !== 'undefined') {\n toReturn['placeHolder'] = this.placeHolder;\n }\n if (typeof this.hintText !== 'undefined') {\n toReturn['hintText'] = this.hintText;\n }\n if (typeof this.fieldType !== 'undefined') {\n toReturn['fieldType'] = this.fieldType;\n }\n if (typeof this.required !== 'undefined') {\n toReturn['required'] = this.required;\n }\n if (typeof this.dependents !== 'undefined' && this.dependents !== null) {\n toReturn['dependents'] = 'toApiJson' in this.dependents ? this.dependents.toApiJson() : this.dependents;\n }\n if (typeof this.options !== 'undefined' && this.options !== null) {\n toReturn['options'] = 'toApiJson' in this.options ? this.options.toApiJson() : this.options;\n }\n if (typeof this.actions !== 'undefined' && this.actions !== null) {\n toReturn['actions'] = 'toApiJson' in this.actions ? this.actions.toApiJson() : this.actions;\n }\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.icon !== 'undefined') {\n toReturn['icon'] = this.icon;\n }\n if (typeof this.defaultValue !== 'undefined') {\n toReturn['defaultValue'] = this.defaultValue;\n }\n return toReturn;\n }\n}\nclass FieldOptions {\n static fromProto(proto) {\n let m = new FieldOptions();\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.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass FormConfig {\n static fromProto(proto) {\n let m = new FormConfig();\n m = Object.assign(m, proto);\n if (proto.fields) {\n m.fields = proto.fields.map(FieldConfig.fromProto);\n }\n if (proto.actions) {\n m.actions = proto.actions.map(Actions.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.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.fields !== 'undefined' && this.fields !== null) {\n toReturn['fields'] = 'toApiJson' in this.fields ? this.fields.toApiJson() : this.fields;\n }\n if (typeof this.actions !== 'undefined' && this.actions !== null) {\n toReturn['actions'] = 'toApiJson' in this.actions ? this.actions.toApiJson() : this.actions;\n }\n return toReturn;\n }\n}\nclass GetConnectionDataRequest {\n static fromProto(proto) {\n let m = new GetConnectionDataRequest();\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.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n return toReturn;\n }\n}\nclass GetConnectionDataResponse {\n static fromProto(proto) {\n let m = new GetConnectionDataResponse();\n m = Object.assign(m, proto);\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomFields.fromProto);\n }\n if (proto.status) {\n m.status = enumStringToValue$3(ConnectionStatus, proto.status);\n }\n if (proto.statusLastUpdated) {\n m.statusLastUpdated = new Date(proto.statusLastUpdated);\n }\n if (proto.dataLastReceived) {\n m.dataLastReceived = new Date(proto.dataLastReceived);\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.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\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.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.statusLastUpdated !== 'undefined' && this.statusLastUpdated !== null) {\n toReturn['statusLastUpdated'] = 'toApiJson' in this.statusLastUpdated ? this.statusLastUpdated.toApiJson() : this.statusLastUpdated;\n }\n if (typeof this.dataLastReceived !== 'undefined' && this.dataLastReceived !== null) {\n toReturn['dataLastReceived'] = 'toApiJson' in this.dataLastReceived ? this.dataLastReceived.toApiJson() : this.dataLastReceived;\n }\n return toReturn;\n }\n}\nclass GetConnectionRequest {\n static fromProto(proto) {\n let m = new GetConnectionRequest();\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.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass GetConnectionResponse {\n static fromProto(proto) {\n let m = new GetConnectionResponse();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n if (proto.status) {\n m.status = enumStringToValue$3(ConnectionStatus, proto.status);\n }\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomFields.fromProto);\n }\n if (proto.context) {\n m.context = enumStringToValue$3(SupportedContexts, proto.context);\n }\n if (proto.statusLastUpdated) {\n m.statusLastUpdated = new Date(proto.statusLastUpdated);\n }\n if (proto.dataLastReceived) {\n m.dataLastReceived = new Date(proto.dataLastReceived);\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.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\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.context !== 'undefined') {\n toReturn['context'] = this.context;\n }\n if (typeof this.statusLastUpdated !== 'undefined' && this.statusLastUpdated !== null) {\n toReturn['statusLastUpdated'] = 'toApiJson' in this.statusLastUpdated ? this.statusLastUpdated.toApiJson() : this.statusLastUpdated;\n }\n if (typeof this.dataLastReceived !== 'undefined' && this.dataLastReceived !== null) {\n toReturn['dataLastReceived'] = 'toApiJson' in this.dataLastReceived ? this.dataLastReceived.toApiJson() : this.dataLastReceived;\n }\n return toReturn;\n }\n}\nclass GetIntegrationMarketingRequest {\n static fromProto(proto) {\n let m = new GetIntegrationMarketingRequest();\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.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\n }\n return toReturn;\n }\n}\nclass GetIntegrationRequest {\n static fromProto(proto) {\n let m = new GetIntegrationRequest();\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.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\n }\n return toReturn;\n }\n}\nclass GetIntegrationResponse {\n static fromProto(proto) {\n let m = new GetIntegrationResponse();\n m = Object.assign(m, proto);\n if (proto.connectionMethod) {\n m.connectionMethod = enumStringToValue$3(ConnectionMethods, proto.connectionMethod);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n if (proto.additionalInfo) {\n m.additionalInfo = AdditionalInfo.fromProto(proto.additionalInfo);\n }\n if (proto.maxConnections) {\n m.maxConnections = parseInt(proto.maxConnections, 10);\n }\n if (proto.supportedContexts) {\n m.supportedContexts = proto.supportedContexts.map(v => enumStringToValue$3(SupportedContexts, v));\n }\n if (proto.preconnectFormFields) {\n m.preconnectFormFields = FormConfig.fromProto(proto.preconnectFormFields);\n }\n if (proto.configPageFields) {\n m.configPageFields = proto.configPageFields.map(FormConfig.fromProto);\n }\n if (proto.instructions) {\n m.instructions = FormConfig.fromProto(proto.instructions);\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.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\n }\n if (typeof this.ownerId !== 'undefined') {\n toReturn['ownerId'] = this.ownerId;\n }\n if (typeof this.logo !== 'undefined') {\n toReturn['logo'] = this.logo;\n }\n if (typeof this.displayName !== 'undefined') {\n toReturn['displayName'] = this.displayName;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.integrationType !== 'undefined') {\n toReturn['integrationType'] = this.integrationType;\n }\n if (typeof this.clientId !== 'undefined') {\n toReturn['clientId'] = this.clientId;\n }\n if (typeof this.clientSecret !== 'undefined') {\n toReturn['clientSecret'] = this.clientSecret;\n }\n if (typeof this.apiKey !== 'undefined') {\n toReturn['apiKey'] = this.apiKey;\n }\n if (typeof this.authenticationUrl !== 'undefined') {\n toReturn['authenticationUrl'] = this.authenticationUrl;\n }\n if (typeof this.tokenUrl !== 'undefined') {\n toReturn['tokenUrl'] = this.tokenUrl;\n }\n if (typeof this.connectionMethod !== 'undefined') {\n toReturn['connectionMethod'] = this.connectionMethod;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n if (typeof this.longDescription !== 'undefined') {\n toReturn['longDescription'] = this.longDescription;\n }\n if (typeof this.additionalInfo !== 'undefined' && this.additionalInfo !== null) {\n toReturn['additionalInfo'] = 'toApiJson' in this.additionalInfo ? this.additionalInfo.toApiJson() : this.additionalInfo;\n }\n if (typeof this.baseUrl !== 'undefined') {\n toReturn['baseUrl'] = this.baseUrl;\n }\n if (typeof this.maxConnections !== 'undefined') {\n toReturn['maxConnections'] = this.maxConnections;\n }\n if (typeof this.webhookVerifierToken !== 'undefined') {\n toReturn['webhookVerifierToken'] = this.webhookVerifierToken;\n }\n if (typeof this.supportedContexts !== 'undefined') {\n toReturn['supportedContexts'] = this.supportedContexts;\n }\n if (typeof this.fieldExtensionIds !== 'undefined') {\n toReturn['fieldExtensionIds'] = this.fieldExtensionIds;\n }\n if (typeof this.preconnectFormFields !== 'undefined' && this.preconnectFormFields !== null) {\n toReturn['preconnectFormFields'] = 'toApiJson' in this.preconnectFormFields ? this.preconnectFormFields.toApiJson() : this.preconnectFormFields;\n }\n if (typeof this.configPageFields !== 'undefined' && this.configPageFields !== null) {\n toReturn['configPageFields'] = 'toApiJson' in this.configPageFields ? this.configPageFields.toApiJson() : this.configPageFields;\n }\n if (typeof this.instructions !== 'undefined' && this.instructions !== null) {\n toReturn['instructions'] = 'toApiJson' in this.instructions ? this.instructions.toApiJson() : this.instructions;\n }\n return toReturn;\n }\n}\nclass GetMultiIntegrationMarketingRequest {\n static fromProto(proto) {\n let m = new GetMultiIntegrationMarketingRequest();\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.integrationIds !== 'undefined') {\n toReturn['integrationIds'] = this.integrationIds;\n }\n return toReturn;\n }\n}\nclass GetMultiIntegrationMarketingResponse {\n static fromProto(proto) {\n let m = new GetMultiIntegrationMarketingResponse();\n m = Object.assign(m, proto);\n if (proto.integrations) {\n m.integrations = proto.integrations.map(IntegrationMarketingResponse.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.integrations !== 'undefined' && this.integrations !== null) {\n toReturn['integrations'] = 'toApiJson' in this.integrations ? this.integrations.toApiJson() : this.integrations;\n }\n return toReturn;\n }\n}\nclass IntegrationMarketingResponse {\n static fromProto(proto) {\n let m = new IntegrationMarketingResponse();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n if (proto.additionalInfo) {\n m.additionalInfo = AdditionalInfo.fromProto(proto.additionalInfo);\n }\n if (proto.maxConnections) {\n m.maxConnections = parseInt(proto.maxConnections, 10);\n }\n if (proto.connectionMethod) {\n m.connectionMethod = enumStringToValue$3(ConnectionMethods, proto.connectionMethod);\n }\n if (proto.supportedContexts) {\n m.supportedContexts = proto.supportedContexts.map(v => enumStringToValue$3(SupportedContexts, v));\n }\n if (proto.preconnectFormFields) {\n m.preconnectFormFields = FormConfig.fromProto(proto.preconnectFormFields);\n }\n if (proto.configPageFields) {\n m.configPageFields = proto.configPageFields.map(FormConfig.fromProto);\n }\n if (proto.instructions) {\n m.instructions = FormConfig.fromProto(proto.instructions);\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.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\n }\n if (typeof this.logo !== 'undefined') {\n toReturn['logo'] = this.logo;\n }\n if (typeof this.displayName !== 'undefined') {\n toReturn['displayName'] = this.displayName;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.integrationType !== 'undefined') {\n toReturn['integrationType'] = this.integrationType;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n if (typeof this.longDescription !== 'undefined') {\n toReturn['longDescription'] = this.longDescription;\n }\n if (typeof this.additionalInfo !== 'undefined' && this.additionalInfo !== null) {\n toReturn['additionalInfo'] = 'toApiJson' in this.additionalInfo ? this.additionalInfo.toApiJson() : this.additionalInfo;\n }\n if (typeof this.maxConnections !== 'undefined') {\n toReturn['maxConnections'] = this.maxConnections;\n }\n if (typeof this.connectionMethod !== 'undefined') {\n toReturn['connectionMethod'] = this.connectionMethod;\n }\n if (typeof this.supportedContexts !== 'undefined') {\n toReturn['supportedContexts'] = this.supportedContexts;\n }\n if (typeof this.preconnectFormFields !== 'undefined' && this.preconnectFormFields !== null) {\n toReturn['preconnectFormFields'] = 'toApiJson' in this.preconnectFormFields ? this.preconnectFormFields.toApiJson() : this.preconnectFormFields;\n }\n if (typeof this.configPageFields !== 'undefined' && this.configPageFields !== null) {\n toReturn['configPageFields'] = 'toApiJson' in this.configPageFields ? this.configPageFields.toApiJson() : this.configPageFields;\n }\n if (typeof this.instructions !== 'undefined' && this.instructions !== null) {\n toReturn['instructions'] = 'toApiJson' in this.instructions ? this.instructions.toApiJson() : this.instructions;\n }\n return toReturn;\n }\n}\nclass IntegrationsFilters {\n static fromProto(proto) {\n let m = new IntegrationsFilters();\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.displayName !== 'undefined') {\n toReturn['displayName'] = this.displayName;\n }\n return toReturn;\n }\n}\nclass ListConnectionRequest {\n static fromProto(proto) {\n let m = new ListConnectionRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions$1.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListConnectionResponse {\n static fromProto(proto) {\n let m = new ListConnectionResponse();\n m = Object.assign(m, proto);\n if (proto.connections) {\n m.connections = proto.connections.map(ConnectionResponse.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata$1.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.connections !== 'undefined' && this.connections !== null) {\n toReturn['connections'] = 'toApiJson' in this.connections ? this.connections.toApiJson() : this.connections;\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 ListIntegrationMarketingRequest {\n static fromProto(proto) {\n let m = new ListIntegrationMarketingRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions$1.fromProto(proto.pagingOptions);\n }\n if (proto.filters) {\n m.filters = IntegrationsFilters.fromProto(proto.filters);\n }\n if (proto.supportedContexts) {\n m.supportedContexts = enumStringToValue$3(SupportedContexts, proto.supportedContexts);\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.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\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.supportedContexts !== 'undefined') {\n toReturn['supportedContexts'] = this.supportedContexts;\n }\n return toReturn;\n }\n}\nclass ListIntegrationMarketingResponse {\n static fromProto(proto) {\n let m = new ListIntegrationMarketingResponse();\n m = Object.assign(m, proto);\n if (proto.integrations) {\n m.integrations = proto.integrations.map(IntegrationMarketingResponse.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata$1.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.integrations !== 'undefined' && this.integrations !== null) {\n toReturn['integrations'] = 'toApiJson' in this.integrations ? this.integrations.toApiJson() : this.integrations;\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 ListIntegrationRequest {\n static fromProto(proto) {\n let m = new ListIntegrationRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions$1.fromProto(proto.pagingOptions);\n }\n if (proto.filters) {\n m.filters = IntegrationsFilters.fromProto(proto.filters);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\nclass ListIntegrationResponse {\n static fromProto(proto) {\n let m = new ListIntegrationResponse();\n m = Object.assign(m, proto);\n if (proto.integrations) {\n m.integrations = proto.integrations.map(GetIntegrationResponse.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata$1.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.integrations !== 'undefined' && this.integrations !== null) {\n toReturn['integrations'] = 'toApiJson' in this.integrations ? this.integrations.toApiJson() : this.integrations;\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}\nlet PagedRequestOptions$1 = class PagedRequestOptions {\n static fromProto(proto) {\n let m = new PagedRequestOptions();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n};\nlet PagedResponseMetadata$1 = class 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 ResourceInfo {\n static fromProto(proto) {\n let m = new ResourceInfo();\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.resourceName !== 'undefined') {\n toReturn['resourceName'] = this.resourceName;\n }\n if (typeof this.resourceUrl !== 'undefined') {\n toReturn['resourceUrl'] = this.resourceUrl;\n }\n return toReturn;\n }\n}\nclass UpdateConnectionRequest {\n static fromProto(proto) {\n let m = new UpdateConnectionRequest();\n m = Object.assign(m, proto);\n if (proto.updateFields) {\n m.updateFields = UpdateConnectionRequestUpdateFields.fromProto(proto.updateFields);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.updateFields !== 'undefined' && this.updateFields !== null) {\n toReturn['updateFields'] = 'toApiJson' in this.updateFields ? this.updateFields.toApiJson() : this.updateFields;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass UpdateConnectionRequestUpdateFields {\n static fromProto(proto) {\n let m = new UpdateConnectionRequestUpdateFields();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$3(ConnectionStatus, proto.status);\n }\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomFields.fromProto);\n }\n if (proto.context) {\n m.context = enumStringToValue$3(SupportedContexts, proto.context);\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.customFields !== 'undefined' && this.customFields !== null) {\n toReturn['customFields'] = 'toApiJson' in this.customFields ? this.customFields.toApiJson() : this.customFields;\n }\n if (typeof this.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.context !== 'undefined') {\n toReturn['context'] = this.context;\n }\n return toReturn;\n }\n}\nclass UpdateIntegrationRequestUpdateFields {\n static fromProto(proto) {\n let m = new UpdateIntegrationRequestUpdateFields();\n m = Object.assign(m, proto);\n if (proto.connectionMethod) {\n m.connectionMethod = enumStringToValue$3(ConnectionMethods, proto.connectionMethod);\n }\n if (proto.additionalInfo) {\n m.additionalInfo = AdditionalInfo.fromProto(proto.additionalInfo);\n }\n if (proto.maxConnections) {\n m.maxConnections = parseInt(proto.maxConnections, 10);\n }\n if (proto.supportedContexts) {\n m.supportedContexts = proto.supportedContexts.map(v => enumStringToValue$3(SupportedContexts, v));\n }\n if (proto.preconnectFormFields) {\n m.preconnectFormFields = FormConfig.fromProto(proto.preconnectFormFields);\n }\n if (proto.configPageFields) {\n m.configPageFields = proto.configPageFields.map(FormConfig.fromProto);\n }\n if (proto.instructions) {\n m.instructions = FormConfig.fromProto(proto.instructions);\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.logo !== 'undefined') {\n toReturn['logo'] = this.logo;\n }\n if (typeof this.displayName !== 'undefined') {\n toReturn['displayName'] = this.displayName;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.integrationType !== 'undefined') {\n toReturn['integrationType'] = this.integrationType;\n }\n if (typeof this.clientId !== 'undefined') {\n toReturn['clientId'] = this.clientId;\n }\n if (typeof this.clientSecret !== 'undefined') {\n toReturn['clientSecret'] = this.clientSecret;\n }\n if (typeof this.apiKey !== 'undefined') {\n toReturn['apiKey'] = this.apiKey;\n }\n if (typeof this.connectionMethod !== 'undefined') {\n toReturn['connectionMethod'] = this.connectionMethod;\n }\n if (typeof this.authenticationUrl !== 'undefined') {\n toReturn['authenticationUrl'] = this.authenticationUrl;\n }\n if (typeof this.tokenUrl !== 'undefined') {\n toReturn['tokenUrl'] = this.tokenUrl;\n }\n if (typeof this.longDescription !== 'undefined') {\n toReturn['longDescription'] = this.longDescription;\n }\n if (typeof this.additionalInfo !== 'undefined' && this.additionalInfo !== null) {\n toReturn['additionalInfo'] = 'toApiJson' in this.additionalInfo ? this.additionalInfo.toApiJson() : this.additionalInfo;\n }\n if (typeof this.baseUrl !== 'undefined') {\n toReturn['baseUrl'] = this.baseUrl;\n }\n if (typeof this.maxConnections !== 'undefined') {\n toReturn['maxConnections'] = this.maxConnections;\n }\n if (typeof this.webhookVerifierToken !== 'undefined') {\n toReturn['webhookVerifierToken'] = this.webhookVerifierToken;\n }\n if (typeof this.supportedContexts !== 'undefined') {\n toReturn['supportedContexts'] = this.supportedContexts;\n }\n if (typeof this.ownerId !== 'undefined') {\n toReturn['ownerId'] = this.ownerId;\n }\n if (typeof this.fieldExtensionIds !== 'undefined') {\n toReturn['fieldExtensionIds'] = this.fieldExtensionIds;\n }\n if (typeof this.preconnectFormFields !== 'undefined' && this.preconnectFormFields !== null) {\n toReturn['preconnectFormFields'] = 'toApiJson' in this.preconnectFormFields ? this.preconnectFormFields.toApiJson() : this.preconnectFormFields;\n }\n if (typeof this.configPageFields !== 'undefined' && this.configPageFields !== null) {\n toReturn['configPageFields'] = 'toApiJson' in this.configPageFields ? this.configPageFields.toApiJson() : this.configPageFields;\n }\n if (typeof this.instructions !== 'undefined' && this.instructions !== null) {\n toReturn['instructions'] = 'toApiJson' in this.instructions ? this.instructions.toApiJson() : this.instructions;\n }\n return toReturn;\n }\n}\nclass UpdateIntegrationRequest {\n static fromProto(proto) {\n let m = new UpdateIntegrationRequest();\n m = Object.assign(m, proto);\n if (proto.updateFields) {\n m.updateFields = UpdateIntegrationRequestUpdateFields.fromProto(proto.updateFields);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\n }\n if (typeof this.updateFields !== 'undefined' && this.updateFields !== null) {\n toReturn['updateFields'] = 'toApiJson' in this.updateFields ? this.updateFields.toApiJson() : this.updateFields;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass WebsiteInfo {\n static fromProto(proto) {\n let m = new WebsiteInfo();\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.siteName !== 'undefined') {\n toReturn['siteName'] = this.siteName;\n }\n if (typeof this.siteUrl !== 'undefined') {\n toReturn['siteUrl'] = this.siteUrl;\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 GetAuthorizationCodeRedirectURLRequest {\n static fromProto(proto) {\n let m = new GetAuthorizationCodeRedirectURLRequest();\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.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n if (typeof this.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\n }\n if (typeof this.baseUrl !== 'undefined') {\n toReturn['baseUrl'] = this.baseUrl;\n }\n return toReturn;\n }\n}\nclass GetAuthorizationCodeRedirectURLResponse {\n static fromProto(proto) {\n let m = new GetAuthorizationCodeRedirectURLResponse();\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.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n return toReturn;\n }\n}\nclass RevokeAccessTokenAndDeleteRequest {\n static fromProto(proto) {\n let m = new RevokeAccessTokenAndDeleteRequest();\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.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\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 PagedRequestOptions {\n static fromProto(proto) {\n let m = new PagedRequestOptions();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass PagedResponseMetadata {\n static fromProto(proto) {\n let m = new PagedResponseMetadata();\n m = Object.assign(m, proto);\n 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}\nfunction enumStringToValue(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ListVendorConnectionRequestFilters {\n static fromProto(proto) {\n let m = new ListVendorConnectionRequestFilters();\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.ownerId !== 'undefined') {\n toReturn['ownerId'] = this.ownerId;\n }\n if (typeof this.integrationIds !== 'undefined') {\n toReturn['integrationIds'] = this.integrationIds;\n }\n return toReturn;\n }\n}\nclass GetBusinessDataRequest {\n static fromProto(proto) {\n let m = new GetBusinessDataRequest();\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.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n return toReturn;\n }\n}\nclass GetBusinessDataResponse {\n static fromProto(proto) {\n let m = new GetBusinessDataResponse();\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.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.businessName !== 'undefined') {\n toReturn['businessName'] = this.businessName;\n }\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.regionCode !== 'undefined') {\n toReturn['regionCode'] = this.regionCode;\n }\n if (typeof this.stateCode !== 'undefined') {\n toReturn['stateCode'] = this.stateCode;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n return toReturn;\n }\n}\nclass GetMultiVendorConnectionRequest {\n static fromProto(proto) {\n let m = new GetMultiVendorConnectionRequest();\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.connectionIds !== 'undefined') {\n toReturn['connectionIds'] = this.connectionIds;\n }\n return toReturn;\n }\n}\nclass GetMultiVendorConnectionResponse {\n static fromProto(proto) {\n let m = new GetMultiVendorConnectionResponse();\n m = Object.assign(m, proto);\n if (proto.connections) {\n m.connections = proto.connections.map(VendorConnection.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.connections !== 'undefined' && this.connections !== null) {\n toReturn['connections'] = 'toApiJson' in this.connections ? this.connections.toApiJson() : this.connections;\n }\n return toReturn;\n }\n}\nclass GetVendorConnectionRequest {\n static fromProto(proto) {\n let m = new GetVendorConnectionRequest();\n m = Object.assign(m, proto);\n if (proto.options) {\n m.options = GetVendorConnectionRequestOptions.fromProto(proto.options);\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.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n if (typeof this.options !== 'undefined' && this.options !== null) {\n toReturn['options'] = 'toApiJson' in this.options ? this.options.toApiJson() : this.options;\n }\n return toReturn;\n }\n}\nclass GetVendorConnectionResponse {\n static fromProto(proto) {\n let m = new GetVendorConnectionResponse();\n m = Object.assign(m, proto);\n if (proto.connection) {\n m.connection = VendorConnection.fromProto(proto.connection);\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.connection !== 'undefined' && this.connection !== null) {\n toReturn['connection'] = 'toApiJson' in this.connection ? this.connection.toApiJson() : this.connection;\n }\n return toReturn;\n }\n}\nclass ListVendorConnectionRequest {\n static fromProto(proto) {\n let m = new ListVendorConnectionRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListVendorConnectionRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListVendorConnectionResponse {\n static fromProto(proto) {\n let m = new ListVendorConnectionResponse();\n m = Object.assign(m, proto);\n if (proto.connections) {\n m.connections = proto.connections.map(VendorConnection.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.connections !== 'undefined' && this.connections !== null) {\n toReturn['connections'] = 'toApiJson' in this.connections ? this.connections.toApiJson() : this.connections;\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 GetVendorConnectionRequestOptions {\n static fromProto(proto) {\n let m = new GetVendorConnectionRequestOptions();\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.includeDeleted !== 'undefined') {\n toReturn['includeDeleted'] = this.includeDeleted;\n }\n return toReturn;\n }\n}\nclass UpdateVendorConnectionRequest {\n static fromProto(proto) {\n let m = new UpdateVendorConnectionRequest();\n m = Object.assign(m, proto);\n if (proto.connection) {\n m.connection = VendorConnection.fromProto(proto.connection);\n }\n if (proto.updateMask) {\n m.updateMask = FieldMask.fromProto(proto.updateMask);\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.connection !== 'undefined' && this.connection !== null) {\n toReturn['connection'] = 'toApiJson' in this.connection ? this.connection.toApiJson() : this.connection;\n }\n if (typeof this.updateMask !== 'undefined' && this.updateMask !== null) {\n toReturn['updateMask'] = 'toApiJson' in this.updateMask ? this.updateMask.toApiJson() : this.updateMask;\n }\n return toReturn;\n }\n}\nclass UpdateVendorConnectionResponse {\n static fromProto(proto) {\n let m = new UpdateVendorConnectionResponse();\n m = Object.assign(m, proto);\n if (proto.connection) {\n m.connection = VendorConnection.fromProto(proto.connection);\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.connection !== 'undefined' && this.connection !== null) {\n toReturn['connection'] = 'toApiJson' in this.connection ? this.connection.toApiJson() : this.connection;\n }\n return toReturn;\n }\n}\nclass VendorConnection {\n static fromProto(proto) {\n let m = new VendorConnection();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue(ConnectionStatus, proto.status);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.integrationId !== 'undefined') {\n toReturn['integrationId'] = this.integrationId;\n }\n if (typeof this.connectionId !== 'undefined') {\n toReturn['connectionId'] = this.connectionId;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.customFields !== 'undefined') {\n toReturn['customFields'] = this.customFields;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n return toReturn;\n }\n}\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects Index.\n// *********************************\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ConnectionsApiService = /*#__PURE__*/(() => {\n class ConnectionsApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateConnectionRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.ConnectionsService/Create\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateConnectionResponse.fromProto(resp)));\n }\n update(r) {\n const request = r.toApiJson ? r : new UpdateConnectionRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.ConnectionsService/Update\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n get(r) {\n const request = r.toApiJson ? r : new GetConnectionRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.ConnectionsService/Get\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetConnectionResponse.fromProto(resp)));\n }\n list(r) {\n const request = r.toApiJson ? r : new ListConnectionRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.ConnectionsService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListConnectionResponse.fromProto(resp)));\n }\n delete(r) {\n const request = r.toApiJson ? r : new DeleteConnectionRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.ConnectionsService/Delete\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getConnectionData(r) {\n const request = r.toApiJson ? r : new GetConnectionDataRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.ConnectionsService/GetConnectionData\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetConnectionDataResponse.fromProto(resp)));\n }\n }\n ConnectionsApiService.ɵfac = function ConnectionsApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ConnectionsApiService)();\n };\n ConnectionsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ConnectionsApiService,\n factory: ConnectionsApiService.ɵfac,\n providedIn: 'root'\n });\n return ConnectionsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet IntegrationManagementApiService = /*#__PURE__*/(() => {\n class IntegrationManagementApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateIntegrationRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.IntegrationManagementService/Create\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateIntegrationResponse.fromProto(resp)));\n }\n update(r) {\n const request = r.toApiJson ? r : new UpdateIntegrationRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.IntegrationManagementService/Update\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n list(r) {\n const request = r.toApiJson ? r : new ListIntegrationRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.IntegrationManagementService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListIntegrationResponse.fromProto(resp)));\n }\n delete(r) {\n const request = r.toApiJson ? r : new DeleteIntegrationRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.IntegrationManagementService/Delete\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n get(r) {\n const request = r.toApiJson ? r : new GetIntegrationRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.IntegrationManagementService/Get\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetIntegrationResponse.fromProto(resp)));\n }\n emitEvent(r) {\n const request = r.toApiJson ? r : new EmitEventRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.IntegrationManagementService/EmitEvent\", request.toApiJson(), this.apiOptions()).pipe(map(resp => EmitEventResponse.fromProto(resp)));\n }\n }\n IntegrationManagementApiService.ɵfac = function IntegrationManagementApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || IntegrationManagementApiService)();\n };\n IntegrationManagementApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: IntegrationManagementApiService,\n factory: IntegrationManagementApiService.ɵfac,\n providedIn: 'root'\n });\n return IntegrationManagementApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet IntegrationMarketingApiService = /*#__PURE__*/(() => {\n class IntegrationMarketingApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\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 ListIntegrationMarketingRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.IntegrationMarketingService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListIntegrationMarketingResponse.fromProto(resp)));\n }\n get(r) {\n const request = r.toApiJson ? r : new GetIntegrationMarketingRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.IntegrationMarketingService/Get\", request.toApiJson(), this.apiOptions()).pipe(map(resp => IntegrationMarketingResponse.fromProto(resp)));\n }\n getMulti(r) {\n const request = r.toApiJson ? r : new GetMultiIntegrationMarketingRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.IntegrationMarketingService/GetMulti\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiIntegrationMarketingResponse.fromProto(resp)));\n }\n }\n IntegrationMarketingApiService.ɵfac = function IntegrationMarketingApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || IntegrationMarketingApiService)();\n };\n IntegrationMarketingApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: IntegrationMarketingApiService,\n factory: IntegrationMarketingApiService.ɵfac,\n providedIn: 'root'\n });\n return IntegrationMarketingApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet OAuthApiService = /*#__PURE__*/(() => {\n class OAuthApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\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 getAuthorizationCodeRedirectUrl(r) {\n const request = r.toApiJson ? r : new GetAuthorizationCodeRedirectURLRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.OAuthService/GetAuthorizationCodeRedirectURL\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAuthorizationCodeRedirectURLResponse.fromProto(resp)));\n }\n revokeAccessTokenAndDelete(r) {\n const request = r.toApiJson ? r : new RevokeAccessTokenAndDeleteRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.OAuthService/RevokeAccessTokenAndDelete\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n OAuthApiService.ɵfac = function OAuthApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || OAuthApiService)();\n };\n OAuthApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: OAuthApiService,\n factory: OAuthApiService.ɵfac,\n providedIn: 'root'\n });\n return OAuthApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet VendorConnectionApiService = /*#__PURE__*/(() => {\n class VendorConnectionApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\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 get(r) {\n const request = r.toApiJson ? r : new GetVendorConnectionRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.VendorConnectionService/Get\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetVendorConnectionResponse.fromProto(resp)));\n }\n getMulti(r) {\n const request = r.toApiJson ? r : new GetMultiVendorConnectionRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.VendorConnectionService/GetMulti\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiVendorConnectionResponse.fromProto(resp)));\n }\n list(r) {\n const request = r.toApiJson ? r : new ListVendorConnectionRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.VendorConnectionService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListVendorConnectionResponse.fromProto(resp)));\n }\n update(r) {\n const request = r.toApiJson ? r : new UpdateVendorConnectionRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.VendorConnectionService/Update\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateVendorConnectionResponse.fromProto(resp)));\n }\n getBusinessData(r) {\n const request = r.toApiJson ? r : new GetBusinessDataRequest(r);\n return this.http.post(this._host + \"/platform_integrations.v1.VendorConnectionService/GetBusinessData\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetBusinessDataResponse.fromProto(resp)));\n }\n }\n VendorConnectionApiService.ɵfac = function VendorConnectionApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || VendorConnectionApiService)();\n };\n VendorConnectionApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: VendorConnectionApiService,\n factory: VendorConnectionApiService.ɵfac,\n providedIn: 'root'\n });\n return VendorConnectionApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Index.\n// *********************************\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Access, ActionType, Actions, AdditionalInfo, ConnectionMethods, ConnectionResponse, ConnectionStatus, ConnectionsApiService, CreateConnectionRequest, CreateConnectionResponse, CreateIntegrationRequest, CreateIntegrationResponse, CustomFields, DeleteConnectionRequest, DeleteIntegrationRequest, EmitEventRequest, EmitEventResponse, FieldConfig, FieldMask, FieldOptions, FieldType, FormConfig, GetAuthorizationCodeRedirectURLRequest, GetAuthorizationCodeRedirectURLResponse, GetBusinessDataRequest, GetBusinessDataResponse, GetConnectionDataRequest, GetConnectionDataResponse, GetConnectionRequest, GetConnectionResponse, GetIntegrationMarketingRequest, GetIntegrationRequest, GetIntegrationResponse, GetMultiIntegrationMarketingRequest, GetMultiIntegrationMarketingResponse, GetMultiVendorConnectionRequest, GetMultiVendorConnectionResponse, GetVendorConnectionRequest, GetVendorConnectionRequestOptions, GetVendorConnectionResponse, HostService, IntegrationManagementApiService, IntegrationMarketingApiService, IntegrationMarketingResponse, IntegrationsFilters, ListConnectionRequest, ListConnectionResponse, ListIntegrationMarketingRequest, ListIntegrationMarketingResponse, ListIntegrationRequest, ListIntegrationResponse, ListVendorConnectionRequest, ListVendorConnectionRequestFilters, ListVendorConnectionResponse, OAuthApiService, PagedRequestOptions, PagedResponseMetadata, ResourceInfo, RevokeAccessTokenAndDeleteRequest, SupportedContexts, UpdateConnectionRequest, UpdateConnectionRequestUpdateFields, UpdateIntegrationRequest, UpdateIntegrationRequestUpdateFields, UpdateVendorConnectionRequest, UpdateVendorConnectionResponse, VendorConnection, VendorConnectionApiService, WebsiteInfo };\n"],"mappings":"sNAAO,IAAMA,GAAoD,gBACpDC,GAAmD,eACnDC,GAAiD,aAEjDC,GAAmD,uBCJhE,IAAAC,EAAA,CACE,iBAAoB,CAClB,qBAAwB,eACxB,yBAA4B,qCAC5B,4BAA+B,oFAC/B,mBAAsB,+CACxB,EACA,iBAAoB,CAClB,UAAa,YACb,QAAW,UACX,SAAY,WACZ,WAAc,aACd,aAAgB,eAChB,kBAAqB,oBACrB,UAAa,YACb,OAAU,SACV,OAAU,SACV,SAAY,WACZ,0BAA6B,4BAC7B,0BAA6B,kCAC7B,MAAS,wBACT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G,EAWCiB,IAAgC,IAAM,CACxC,MAAMA,CAAgB,CACpB,aAAc,CACZ,KAAK,YAAchB,EAAOC,CAAW,EACrC,KAAK,KAAOD,EAAOE,CAAU,EAC7B,KAAK,MAAQ,KAAK,YAAY,cAChC,CACA,YAAa,CACX,MAAO,CACL,QAAS,IAAIC,EAAY,CACvB,eAAgB,kBAClB,CAAC,EACD,gBAAiB,EACnB,CACF,CACA,gCAAgCC,EAAG,CACjC,IAAMC,EAAUD,EAAE,UAAYA,EAAI,IAAIa,EAAuCb,CAAC,EAC9E,OAAO,KAAK,KAAK,KAAK,KAAK,MAAQ,yEAA0EC,EAAQ,UAAU,EAAG,KAAK,WAAW,CAAC,EAAE,KAAKE,EAAIC,GAAQU,EAAwC,UAAUV,CAAI,CAAC,CAAC,CAChO,CACA,2BAA2BJ,EAAG,CAC5B,IAAMC,EAAUD,EAAE,UAAYA,EAAI,IAAIe,EAAkCf,CAAC,EACzE,OAAO,KAAK,KAAK,KAAK,KAAK,MAAQ,oEAAqEC,EAAQ,UAAU,EAAGe,EAAAC,EAAA,GACxH,KAAK,WAAW,GADwG,CAE3H,QAAS,UACX,EAAC,CACH,CACF,CACA,OAAAL,EAAgB,UAAO,SAAiCF,EAAmB,CACzE,OAAO,IAAKA,GAAqBE,EACnC,EACAA,EAAgB,WAA0BD,EAAmB,CAC3D,MAAOC,EACP,QAASA,EAAgB,UACzB,WAAY,MACd,CAAC,EACMA,CACT,GAAG","names":["PLATFORM_INTEGRATIONS_PARTNER_ID_INJECTION_TOKEN$","PLATFORM_INTEGRATIONS_NAMESPACE_INJECTION_TOKEN$","PLATFORM_INTEGRATIONS_CONTEXT_INJECTION_TOKEN$","PLATFORM_INTEGRATIONS_MARKET_ID_INJECTION_TOKEN$","en_devel_default","PlatformIntegrationsI18nModule","TranslateModule","LexiconModule","forChild","componentName","baseTranslation","En","_PlatformIntegrationsI18nModule","environment","hostMap","HostService","__ngFactoryType__","ɵɵdefineInjectable","ActionType","ConnectionMethods","ConnectionStatus","FieldType","SupportedContexts","FieldMask","_FieldMask","proto","m","kwargs","toReturn","enumStringToValue$3","enumRef","value","Actions","_Actions","proto","m","ActionType","kwargs","toReturn","AdditionalInfo","_AdditionalInfo","WebsiteInfo","ResourceInfo","ConnectionResponse","_ConnectionResponse","ConnectionStatus","CustomFields","SupportedContexts","CreateConnectionRequest","_CreateConnectionRequest","CreateConnectionResponse","_CreateConnectionResponse","CustomFields","_CustomFields","proto","m","kwargs","toReturn","DeleteConnectionRequest","_DeleteConnectionRequest","FieldConfig","_FieldConfig","proto","m","enumStringToValue$3","FieldType","FieldOptions","Actions","kwargs","toReturn","_FieldOptions","FormConfig","_FormConfig","GetConnectionDataRequest","_GetConnectionDataRequest","GetConnectionDataResponse","_GetConnectionDataResponse","CustomFields","ConnectionStatus","GetConnectionRequest","_GetConnectionRequest","GetConnectionResponse","_GetConnectionResponse","SupportedContexts","GetIntegrationMarketingRequest","_GetIntegrationMarketingRequest","GetMultiIntegrationMarketingRequest","_GetMultiIntegrationMarketingRequest","proto","m","kwargs","toReturn","GetMultiIntegrationMarketingResponse","_GetMultiIntegrationMarketingResponse","IntegrationMarketingResponse","_IntegrationMarketingResponse","AdditionalInfo","enumStringToValue$3","ConnectionMethods","v","SupportedContexts","FormConfig","IntegrationsFilters","_IntegrationsFilters","ListConnectionRequest","_ListConnectionRequest","PagedRequestOptions$1","ListConnectionResponse","_ListConnectionResponse","ConnectionResponse","PagedResponseMetadata$1","ListIntegrationMarketingRequest","_ListIntegrationMarketingRequest","ListIntegrationMarketingResponse","_ListIntegrationMarketingResponse","PagedRequestOptions$1","PagedRequestOptions","proto","m","kwargs","toReturn","PagedResponseMetadata$1","PagedResponseMetadata","ResourceInfo","_ResourceInfo","UpdateConnectionRequest","_UpdateConnectionRequest","UpdateConnectionRequestUpdateFields","FieldMask","_UpdateConnectionRequestUpdateFields","enumStringToValue$3","ConnectionStatus","CustomFields","SupportedContexts","WebsiteInfo","_WebsiteInfo","proto","m","kwargs","toReturn","GetAuthorizationCodeRedirectURLRequest","_GetAuthorizationCodeRedirectURLRequest","proto","m","kwargs","toReturn","GetAuthorizationCodeRedirectURLResponse","_GetAuthorizationCodeRedirectURLResponse","RevokeAccessTokenAndDeleteRequest","_RevokeAccessTokenAndDeleteRequest","ConnectionsApiService","inject","HostService","HttpClient","HttpHeaders","r","request","CreateConnectionRequest","map","resp","CreateConnectionResponse","UpdateConnectionRequest","__spreadProps","__spreadValues","GetConnectionRequest","GetConnectionResponse","ListConnectionRequest","ListConnectionResponse","DeleteConnectionRequest","GetConnectionDataRequest","GetConnectionDataResponse","__ngFactoryType__","ɵɵdefineInjectable","IntegrationMarketingApiService","inject","HostService","HttpClient","HttpHeaders","r","request","ListIntegrationMarketingRequest","map","resp","ListIntegrationMarketingResponse","GetIntegrationMarketingRequest","IntegrationMarketingResponse","GetMultiIntegrationMarketingRequest","GetMultiIntegrationMarketingResponse","__ngFactoryType__","ɵɵdefineInjectable","OAuthApiService","GetAuthorizationCodeRedirectURLRequest","GetAuthorizationCodeRedirectURLResponse","RevokeAccessTokenAndDeleteRequest","__spreadProps","__spreadValues"],"x_google_ignoreList":[3]}