{"version":3,"sources":["node_modules/@vendasta/automata/fesm2020/vendasta-automata.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Injectable } from '@angular/core';\nimport { map } from 'rxjs/operators';\nimport * as i1 from '@angular/common/http';\nimport { HttpHeaders } from '@angular/common/http';\nfunction enumStringToValue$b(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Choices {\n static fromProto(proto) {\n let m = new Choices();\n m = Object.assign(m, proto);\n if (proto.rules) {\n m.rules = proto.rules.map(Rule$1.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.rules !== 'undefined' && this.rules !== null) {\n toReturn['rules'] = 'toApiJson' in this.rules ? this.rules.toApiJson() : this.rules;\n }\n if (typeof this.defaultNextStep !== 'undefined') {\n toReturn['defaultNextStep'] = this.defaultNextStep;\n }\n return toReturn;\n }\n}\nlet Rule$1 = class Rule {\n static fromProto(proto) {\n let m = new Rule();\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.variablePath !== 'undefined') {\n toReturn['variablePath'] = this.variablePath;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n if (typeof this.next !== 'undefined') {\n toReturn['next'] = this.next;\n }\n if (typeof this.comparison !== 'undefined') {\n toReturn['comparison'] = this.comparison;\n }\n return toReturn;\n }\n};\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar DataType = /*#__PURE__*/function (DataType) {\n DataType[DataType[\"DATA_TYPE_UNSPECIFIED\"] = 0] = \"DATA_TYPE_UNSPECIFIED\";\n DataType[DataType[\"DATA_TYPE_UNKNOWN\"] = 1] = \"DATA_TYPE_UNKNOWN\";\n DataType[DataType[\"DATA_TYPE_STRING\"] = 2] = \"DATA_TYPE_STRING\";\n DataType[DataType[\"DATA_TYPE_BOOLEAN\"] = 3] = \"DATA_TYPE_BOOLEAN\";\n DataType[DataType[\"DATA_TYPE_ORDER_ACTION_TYPE\"] = 4] = \"DATA_TYPE_ORDER_ACTION_TYPE\";\n DataType[DataType[\"DATA_TYPE_ORDER_DECLINED_REASON_IDS\"] = 5] = \"DATA_TYPE_ORDER_DECLINED_REASON_IDS\";\n DataType[DataType[\"DATA_TYPE_ACCOUNT_GROUP_ID\"] = 6] = \"DATA_TYPE_ACCOUNT_GROUP_ID\";\n DataType[DataType[\"DATA_TYPE_ORDER_ID\"] = 7] = \"DATA_TYPE_ORDER_ID\";\n DataType[DataType[\"DATA_TYPE_SMB_USER_ID\"] = 8] = \"DATA_TYPE_SMB_USER_ID\";\n DataType[DataType[\"DATA_TYPE_FULFILLMENT_PROJECT_ID\"] = 9] = \"DATA_TYPE_FULFILLMENT_PROJECT_ID\";\n DataType[DataType[\"DATA_TYPE_EMAIL_ID\"] = 10] = \"DATA_TYPE_EMAIL_ID\";\n DataType[DataType[\"DATA_TYPE_EMAIL_EVENT\"] = 11] = \"DATA_TYPE_EMAIL_EVENT\";\n DataType[DataType[\"DATA_TYPE_OPPORTUNITY_ID\"] = 12] = \"DATA_TYPE_OPPORTUNITY_ID\";\n DataType[DataType[\"DATA_TYPE_JSON\"] = 13] = \"DATA_TYPE_JSON\";\n DataType[DataType[\"DATA_TYPE_COMPANY_ID\"] = 14] = \"DATA_TYPE_COMPANY_ID\";\n DataType[DataType[\"DATA_TYPE_CONTACT_ID\"] = 15] = \"DATA_TYPE_CONTACT_ID\";\n DataType[DataType[\"DATA_TYPE_PRODUCT\"] = 16] = \"DATA_TYPE_PRODUCT\";\n DataType[DataType[\"DATA_TYPE_TASK\"] = 17] = \"DATA_TYPE_TASK\";\n DataType[DataType[\"DATA_TYPE_CRM_NOTE\"] = 18] = \"DATA_TYPE_CRM_NOTE\";\n DataType[DataType[\"DATA_TYPE_CRM_EMAIL\"] = 19] = \"DATA_TYPE_CRM_EMAIL\";\n DataType[DataType[\"DATA_TYPE_CRM_MEETING\"] = 20] = \"DATA_TYPE_CRM_MEETING\";\n DataType[DataType[\"DATA_TYPE_CRM_CALL\"] = 21] = \"DATA_TYPE_CRM_CALL\";\n DataType[DataType[\"DATA_TYPE_CRM_SMS\"] = 22] = \"DATA_TYPE_CRM_SMS\";\n DataType[DataType[\"DATA_TYPE_CRM_LINKEDIN\"] = 23] = \"DATA_TYPE_CRM_LINKEDIN\";\n DataType[DataType[\"DATA_TYPE_CRM_INBOX\"] = 24] = \"DATA_TYPE_CRM_INBOX\";\n return DataType;\n}(DataType || {});\nvar ValidationType = /*#__PURE__*/function (ValidationType) {\n ValidationType[ValidationType[\"VALIDATION_TYPE_UNSPECIFIED\"] = 0] = \"VALIDATION_TYPE_UNSPECIFIED\";\n ValidationType[ValidationType[\"VALIDATION_TYPE_STREAM\"] = 1] = \"VALIDATION_TYPE_STREAM\";\n ValidationType[ValidationType[\"VALIDATION_TYPE_USER_PROVIDED\"] = 2] = \"VALIDATION_TYPE_USER_PROVIDED\";\n ValidationType[ValidationType[\"VALIDATION_TYPE_SYSTEM\"] = 3] = \"VALIDATION_TYPE_SYSTEM\";\n return ValidationType;\n}(ValidationType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar Context = /*#__PURE__*/function (Context) {\n Context[Context[\"AUTOMATION_CONTEXT_UNSET\"] = 0] = \"AUTOMATION_CONTEXT_UNSET\";\n Context[Context[\"AUTOMATION_CONTEXT_PARTNER\"] = 1] = \"AUTOMATION_CONTEXT_PARTNER\";\n Context[Context[\"AUTOMATION_CONTEXT_SMB\"] = 2] = \"AUTOMATION_CONTEXT_SMB\";\n return Context;\n}(Context || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar EntityType = /*#__PURE__*/function (EntityType) {\n EntityType[EntityType[\"ENTITY_TYPE_NOT_SPECIFIED\"] = 0] = \"ENTITY_TYPE_NOT_SPECIFIED\";\n EntityType[EntityType[\"ENTITY_TYPE_ACCOUNT_GROUP\"] = 1] = \"ENTITY_TYPE_ACCOUNT_GROUP\";\n EntityType[EntityType[\"ENTITY_TYPE_ORDER\"] = 2] = \"ENTITY_TYPE_ORDER\";\n EntityType[EntityType[\"ENTITY_TYPE_USER\"] = 3] = \"ENTITY_TYPE_USER\";\n EntityType[EntityType[\"ENTITY_TYPE_NO_ENTITY\"] = 4] = \"ENTITY_TYPE_NO_ENTITY\";\n EntityType[EntityType[\"ENTITY_TYPE_CONTACT\"] = 5] = \"ENTITY_TYPE_CONTACT\";\n EntityType[EntityType[\"ENTITY_TYPE_COMPANY\"] = 6] = \"ENTITY_TYPE_COMPANY\";\n return EntityType;\n}(EntityType || {});\nvar ErrorHandlingType = /*#__PURE__*/function (ErrorHandlingType) {\n ErrorHandlingType[ErrorHandlingType[\"ERROR_HANDLING_TYPE_UNDEFINED\"] = 0] = \"ERROR_HANDLING_TYPE_UNDEFINED\";\n ErrorHandlingType[ErrorHandlingType[\"ERROR_HANDLING_TYPE_STOP_ON_ERROR\"] = 1] = \"ERROR_HANDLING_TYPE_STOP_ON_ERROR\";\n ErrorHandlingType[ErrorHandlingType[\"ERROR_HANDLING_TYPE_CONTINUE_ON_ERROR\"] = 2] = \"ERROR_HANDLING_TYPE_CONTINUE_ON_ERROR\";\n return ErrorHandlingType;\n}(ErrorHandlingType || {});\nvar RunType = /*#__PURE__*/function (RunType) {\n RunType[RunType[\"RUN_TYPE_NOT_SPECIFIED\"] = 0] = \"RUN_TYPE_NOT_SPECIFIED\";\n RunType[RunType[\"RUN_TYPE_ONLY_ONCE\"] = 1] = \"RUN_TYPE_ONLY_ONCE\";\n RunType[RunType[\"RUN_TYPE_MULTIPLE\"] = 2] = \"RUN_TYPE_MULTIPLE\";\n RunType[RunType[\"RUN_TYPE_ONE_AT_A_TIME\"] = 3] = \"RUN_TYPE_ONE_AT_A_TIME\";\n return RunType;\n}(RunType || {});\nvar RunningState = /*#__PURE__*/function (RunningState) {\n RunningState[RunningState[\"RUNNING_STATE_NOT_SPECIFIED\"] = 0] = \"RUNNING_STATE_NOT_SPECIFIED\";\n RunningState[RunningState[\"RUNNING_STATE_RUNNING\"] = 1] = \"RUNNING_STATE_RUNNING\";\n RunningState[RunningState[\"RUNNING_STATE_STOPPED\"] = 2] = \"RUNNING_STATE_STOPPED\";\n RunningState[RunningState[\"RUNNING_STATE_DRAINING\"] = 3] = \"RUNNING_STATE_DRAINING\";\n return RunningState;\n}(RunningState || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar Stage = /*#__PURE__*/function (Stage) {\n Stage[Stage[\"STAGE_NOT_SPECIFIED\"] = 0] = \"STAGE_NOT_SPECIFIED\";\n Stage[Stage[\"STAGE_WORKFLOW_STEP\"] = 1] = \"STAGE_WORKFLOW_STEP\";\n Stage[Stage[\"STAGE_WORKFLOW_COMPLETED\"] = 2] = \"STAGE_WORKFLOW_COMPLETED\";\n Stage[Stage[\"STAGE_WORKFLOW_CANCELED\"] = 3] = \"STAGE_WORKFLOW_CANCELED\";\n Stage[Stage[\"STAGE_WORKFLOW_COMPLETED_FROM_ERROR\"] = 4] = \"STAGE_WORKFLOW_COMPLETED_FROM_ERROR\";\n Stage[Stage[\"STAGE_WORKFLOW_DID_NOT_RUN\"] = 5] = \"STAGE_WORKFLOW_DID_NOT_RUN\";\n Stage[Stage[\"STAGE_WORKFLOW_CONTINUED_FROM_ERROR\"] = 6] = \"STAGE_WORKFLOW_CONTINUED_FROM_ERROR\";\n Stage[Stage[\"STAGE_WORKFLOW_CONTINUED\"] = 7] = \"STAGE_WORKFLOW_CONTINUED\";\n return Stage;\n}(Stage || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar FlattenedConfigDataType = /*#__PURE__*/function (FlattenedConfigDataType) {\n FlattenedConfigDataType[FlattenedConfigDataType[\"FLATTENED_CONFIG_DATA_TYPE_UNSET\"] = 0] = \"FLATTENED_CONFIG_DATA_TYPE_UNSET\";\n FlattenedConfigDataType[FlattenedConfigDataType[\"FLATTENED_CONFIG_DATA_TYPE_STRUCT\"] = 1] = \"FLATTENED_CONFIG_DATA_TYPE_STRUCT\";\n FlattenedConfigDataType[FlattenedConfigDataType[\"FLATTENED_CONFIG_DATA_TYPE_STRING\"] = 2] = \"FLATTENED_CONFIG_DATA_TYPE_STRING\";\n FlattenedConfigDataType[FlattenedConfigDataType[\"FLATTENED_CONFIG_DATA_TYPE_INT\"] = 3] = \"FLATTENED_CONFIG_DATA_TYPE_INT\";\n FlattenedConfigDataType[FlattenedConfigDataType[\"FLATTENED_CONFIG_DATA_TYPE_FLOAT\"] = 4] = \"FLATTENED_CONFIG_DATA_TYPE_FLOAT\";\n FlattenedConfigDataType[FlattenedConfigDataType[\"FLATTENED_CONFIG_DATA_TYPE_BOOL\"] = 5] = \"FLATTENED_CONFIG_DATA_TYPE_BOOL\";\n FlattenedConfigDataType[FlattenedConfigDataType[\"FLATTENED_CONFIG_DATA_TYPE_TIME\"] = 6] = \"FLATTENED_CONFIG_DATA_TYPE_TIME\";\n return FlattenedConfigDataType;\n}(FlattenedConfigDataType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar PublishedState = /*#__PURE__*/function (PublishedState) {\n PublishedState[PublishedState[\"PUBLISHED_STATE_UNSPECIFIED\"] = 0] = \"PUBLISHED_STATE_UNSPECIFIED\";\n PublishedState[PublishedState[\"PUBLISHED_STATE_PUBLISHED\"] = 1] = \"PUBLISHED_STATE_PUBLISHED\";\n PublishedState[PublishedState[\"PUBLISHED_STATE_DRAFT\"] = 2] = \"PUBLISHED_STATE_DRAFT\";\n return PublishedState;\n}(PublishedState || {});\nvar TaskType = /*#__PURE__*/function (TaskType) {\n TaskType[TaskType[\"TASK_TYPE_UNSPECIFIED\"] = 0] = \"TASK_TYPE_UNSPECIFIED\";\n TaskType[TaskType[\"TASK_TYPE_ACTION\"] = 1] = \"TASK_TYPE_ACTION\";\n TaskType[TaskType[\"TASK_TYPE_TRIGGER\"] = 2] = \"TASK_TYPE_TRIGGER\";\n TaskType[TaskType[\"TASK_TYPE_BUILDING_BLOCKS\"] = 3] = \"TASK_TYPE_BUILDING_BLOCKS\";\n TaskType[TaskType[\"TASK_TYPE_FILTER\"] = 4] = \"TASK_TYPE_FILTER\";\n return TaskType;\n}(TaskType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar RateLimitUnit = /*#__PURE__*/function (RateLimitUnit) {\n RateLimitUnit[RateLimitUnit[\"RATE_LIMIT_UNIT_UNSPECIFIED\"] = 0] = \"RATE_LIMIT_UNIT_UNSPECIFIED\";\n RateLimitUnit[RateLimitUnit[\"RATE_LIMIT_UNIT_HOUR\"] = 1] = \"RATE_LIMIT_UNIT_HOUR\";\n RateLimitUnit[RateLimitUnit[\"RATE_LIMIT_UNIT_DAY\"] = 2] = \"RATE_LIMIT_UNIT_DAY\";\n return RateLimitUnit;\n}(RateLimitUnit || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar AutomationPublishedState = /*#__PURE__*/function (AutomationPublishedState) {\n AutomationPublishedState[AutomationPublishedState[\"AUTOMATION_PUBLISHED_STATE_NOT_SPECIFIED\"] = 0] = \"AUTOMATION_PUBLISHED_STATE_NOT_SPECIFIED\";\n AutomationPublishedState[AutomationPublishedState[\"AUTOMATION_PUBLISHED_STATE_PUBLISHED\"] = 1] = \"AUTOMATION_PUBLISHED_STATE_PUBLISHED\";\n AutomationPublishedState[AutomationPublishedState[\"AUTOMATION_PUBLISHED_STATE_DRAFT\"] = 2] = \"AUTOMATION_PUBLISHED_STATE_DRAFT\";\n return AutomationPublishedState;\n}(AutomationPublishedState || {});\nvar AutomationStatus = /*#__PURE__*/function (AutomationStatus) {\n AutomationStatus[AutomationStatus[\"AUTOMATION_STATUS_NOT_SPECIFIED\"] = 0] = \"AUTOMATION_STATUS_NOT_SPECIFIED\";\n AutomationStatus[AutomationStatus[\"AUTOMATION_STATUS_ON\"] = 1] = \"AUTOMATION_STATUS_ON\";\n AutomationStatus[AutomationStatus[\"AUTOMATION_STATUS_OFF\"] = 2] = \"AUTOMATION_STATUS_OFF\";\n return AutomationStatus;\n}(AutomationStatus || {});\nvar AutomationType = /*#__PURE__*/function (AutomationType) {\n AutomationType[AutomationType[\"AUTOMATION_TYPE_NOT_SPECIFIED\"] = 0] = \"AUTOMATION_TYPE_NOT_SPECIFIED\";\n AutomationType[AutomationType[\"AUTOMATION_TYPE_STANDARD\"] = 1] = \"AUTOMATION_TYPE_STANDARD\";\n AutomationType[AutomationType[\"AUTOMATION_TYPE_DEFAULT\"] = 2] = \"AUTOMATION_TYPE_DEFAULT\";\n AutomationType[AutomationType[\"AUTOMATION_TYPE_TEMPLATE\"] = 3] = \"AUTOMATION_TYPE_TEMPLATE\";\n return AutomationType;\n}(AutomationType || {});\nvar DefaultAutomationStatus = /*#__PURE__*/function (DefaultAutomationStatus) {\n DefaultAutomationStatus[DefaultAutomationStatus[\"LIST_DEFAULT_AUTOMATIONS_FOR_PARTNER_REQUEST_DEFAULT_AUTOMATION_STATUS_ON\"] = 0] = \"LIST_DEFAULT_AUTOMATIONS_FOR_PARTNER_REQUEST_DEFAULT_AUTOMATION_STATUS_ON\";\n DefaultAutomationStatus[DefaultAutomationStatus[\"LIST_DEFAULT_AUTOMATIONS_FOR_PARTNER_REQUEST_DEFAULT_AUTOMATION_STATUS_OFF\"] = 1] = \"LIST_DEFAULT_AUTOMATIONS_FOR_PARTNER_REQUEST_DEFAULT_AUTOMATION_STATUS_OFF\";\n return DefaultAutomationStatus;\n}(DefaultAutomationStatus || {});\n// *********************************\n\nfunction enumStringToValue$a(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass InputParameter {\n static fromProto(proto) {\n let m = new InputParameter();\n m = Object.assign(m, proto);\n if (proto.settings) {\n m.settings = Parameter.fromProto(proto.settings);\n }\n if (proto.validationType) {\n m.validationType = enumStringToValue$a(ValidationType, proto.validationType);\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.settings !== 'undefined' && this.settings !== null) {\n toReturn['settings'] = 'toApiJson' in this.settings ? this.settings.toApiJson() : this.settings;\n }\n if (typeof this.required !== 'undefined') {\n toReturn['required'] = this.required;\n }\n if (typeof this.path !== 'undefined') {\n toReturn['path'] = this.path;\n }\n if (typeof this.validationType !== 'undefined') {\n toReturn['validationType'] = this.validationType;\n }\n return toReturn;\n }\n}\nclass OutputParameter {\n static fromProto(proto) {\n let m = new OutputParameter();\n m = Object.assign(m, proto);\n if (proto.settings) {\n m.settings = Parameter.fromProto(proto.settings);\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.settings !== 'undefined' && this.settings !== null) {\n toReturn['settings'] = 'toApiJson' in this.settings ? this.settings.toApiJson() : this.settings;\n }\n if (typeof this.optional !== 'undefined') {\n toReturn['optional'] = this.optional;\n }\n if (typeof this.isEntity !== 'undefined') {\n toReturn['isEntity'] = this.isEntity;\n }\n if (typeof this.path !== 'undefined') {\n toReturn['path'] = this.path;\n }\n return toReturn;\n }\n}\nclass Parameter {\n static fromProto(proto) {\n let m = new Parameter();\n m = Object.assign(m, proto);\n if (proto.dataType) {\n m.dataType = enumStringToValue$a(DataType, proto.dataType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.dataType !== 'undefined') {\n toReturn['dataType'] = this.dataType;\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 Automation {\n static fromProto(proto) {\n let m = new Automation();\n m = Object.assign(m, proto);\n if (proto.runningState) {\n m.runningState = enumStringToValue$9(RunningState, proto.runningState);\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.workflow) {\n m.workflow = proto.workflow.map(WorkflowStep.fromProto);\n }\n if (proto.triggerStep) {\n m.triggerStep = WorkflowStep.fromProto(proto.triggerStep);\n }\n if (proto.settings) {\n m.settings = AutomationSettings.fromProto(proto.settings);\n }\n if (proto.triggerFilters) {\n m.triggerFilters = proto.triggerFilters.map(WorkflowStep.fromProto);\n }\n if (proto.runningVersion) {\n m.runningVersion = new Date(proto.runningVersion);\n }\n if (proto.templatePublishedTime) {\n m.templatePublishedTime = new Date(proto.templatePublishedTime);\n }\n if (proto.defaultAutomationPublishedTime) {\n m.defaultAutomationPublishedTime = new Date(proto.defaultAutomationPublishedTime);\n }\n if (proto.entityType) {\n m.entityType = enumStringToValue$9(EntityType, proto.entityType);\n }\n if (proto.token) {\n m.token = Token.fromProto(proto.token);\n }\n if (proto.context) {\n m.context = enumStringToValue$9(Context, 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.id !== 'undefined') {\n toReturn['id'] = this.id;\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.triggerDefinitionId !== 'undefined') {\n toReturn['triggerDefinitionId'] = this.triggerDefinitionId;\n }\n if (typeof this.triggerSubDefinitionId !== 'undefined') {\n toReturn['triggerSubDefinitionId'] = this.triggerSubDefinitionId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.runningState !== 'undefined') {\n toReturn['runningState'] = this.runningState;\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.workflow !== 'undefined' && this.workflow !== null) {\n toReturn['workflow'] = 'toApiJson' in this.workflow ? this.workflow.toApiJson() : this.workflow;\n }\n if (typeof this.triggerStep !== 'undefined' && this.triggerStep !== null) {\n toReturn['triggerStep'] = 'toApiJson' in this.triggerStep ? this.triggerStep.toApiJson() : this.triggerStep;\n }\n if (typeof this.lastEditedBy !== 'undefined') {\n toReturn['lastEditedBy'] = this.lastEditedBy;\n }\n if (typeof this.settings !== 'undefined' && this.settings !== null) {\n toReturn['settings'] = 'toApiJson' in this.settings ? this.settings.toApiJson() : this.settings;\n }\n if (typeof this.triggerFilters !== 'undefined' && this.triggerFilters !== null) {\n toReturn['triggerFilters'] = 'toApiJson' in this.triggerFilters ? this.triggerFilters.toApiJson() : this.triggerFilters;\n }\n if (typeof this.runningVersion !== 'undefined' && this.runningVersion !== null) {\n toReturn['runningVersion'] = 'toApiJson' in this.runningVersion ? this.runningVersion.toApiJson() : this.runningVersion;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.isTemplate !== 'undefined') {\n toReturn['isTemplate'] = this.isTemplate;\n }\n if (typeof this.templatePublishedTime !== 'undefined' && this.templatePublishedTime !== null) {\n toReturn['templatePublishedTime'] = 'toApiJson' in this.templatePublishedTime ? this.templatePublishedTime.toApiJson() : this.templatePublishedTime;\n }\n if (typeof this.isDefaultAutomation !== 'undefined') {\n toReturn['isDefaultAutomation'] = this.isDefaultAutomation;\n }\n if (typeof this.defaultAutomationPublishedTime !== 'undefined' && this.defaultAutomationPublishedTime !== null) {\n toReturn['defaultAutomationPublishedTime'] = 'toApiJson' in this.defaultAutomationPublishedTime ? this.defaultAutomationPublishedTime.toApiJson() : this.defaultAutomationPublishedTime;\n }\n if (typeof this.originTemplateId !== 'undefined') {\n toReturn['originTemplateId'] = this.originTemplateId;\n }\n if (typeof this.originDefaultAutomationId !== 'undefined') {\n toReturn['originDefaultAutomationId'] = this.originDefaultAutomationId;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.hidden !== 'undefined') {\n toReturn['hidden'] = this.hidden;\n }\n if (typeof this.entityType !== 'undefined') {\n toReturn['entityType'] = this.entityType;\n }\n if (typeof this.token !== 'undefined' && this.token !== null) {\n toReturn['token'] = 'toApiJson' in this.token ? this.token.toApiJson() : this.token;\n }\n if (typeof this.context !== 'undefined') {\n toReturn['context'] = this.context;\n }\n if (typeof this.notes !== 'undefined') {\n toReturn['notes'] = this.notes;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n return toReturn;\n }\n}\nclass AutomationSettings {\n static fromProto(proto) {\n let m = new AutomationSettings();\n m = Object.assign(m, proto);\n if (proto.runType) {\n m.runType = enumStringToValue$9(RunType, proto.runType);\n }\n if (proto.errorHandlingType) {\n m.errorHandlingType = enumStringToValue$9(ErrorHandlingType, proto.errorHandlingType);\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.runType !== 'undefined') {\n toReturn['runType'] = this.runType;\n }\n if (typeof this.errorHandlingType !== 'undefined') {\n toReturn['errorHandlingType'] = this.errorHandlingType;\n }\n if (typeof this.timeZone !== 'undefined') {\n toReturn['timeZone'] = this.timeZone;\n }\n return toReturn;\n }\n}\nclass SleepWaitConditions {\n static fromProto(proto) {\n let m = new SleepWaitConditions();\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.weekdaySelection !== 'undefined') {\n toReturn['weekdaySelection'] = this.weekdaySelection;\n }\n if (typeof this.timeRangeStartHour !== 'undefined') {\n toReturn['timeRangeStartHour'] = this.timeRangeStartHour;\n }\n if (typeof this.timeRangeStartMinute !== 'undefined') {\n toReturn['timeRangeStartMinute'] = this.timeRangeStartMinute;\n }\n if (typeof this.timeRangeEndHour !== 'undefined') {\n toReturn['timeRangeEndHour'] = this.timeRangeEndHour;\n }\n if (typeof this.timeRangeEndMinute !== 'undefined') {\n toReturn['timeRangeEndMinute'] = this.timeRangeEndMinute;\n }\n if (typeof this.dayOfMonthSelection !== 'undefined') {\n toReturn['dayOfMonthSelection'] = this.dayOfMonthSelection;\n }\n return toReturn;\n }\n}\nclass Token {\n static fromProto(proto) {\n let m = new Token();\n m = Object.assign(m, proto);\n if (proto.refreshTokenExpiry) {\n m.refreshTokenExpiry = new Date(proto.refreshTokenExpiry);\n }\n if (proto.brokenTime) {\n m.brokenTime = new Date(proto.brokenTime);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.scopes !== 'undefined') {\n toReturn['scopes'] = this.scopes;\n }\n if (typeof this.refreshTokenExpiry !== 'undefined' && this.refreshTokenExpiry !== null) {\n toReturn['refreshTokenExpiry'] = 'toApiJson' in this.refreshTokenExpiry ? this.refreshTokenExpiry.toApiJson() : this.refreshTokenExpiry;\n }\n if (typeof this.brokenTime !== 'undefined' && this.brokenTime !== null) {\n toReturn['brokenTime'] = 'toApiJson' in this.brokenTime ? this.brokenTime.toApiJson() : this.brokenTime;\n }\n return toReturn;\n }\n}\nclass WaitForTriggerFilter {\n static fromProto(proto) {\n let m = new WaitForTriggerFilter();\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.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass WorkflowStep {\n static fromProto(proto) {\n let m = new WorkflowStep();\n m = Object.assign(m, proto);\n if (proto.choices) {\n m.choices = Choices.fromProto(proto.choices);\n }\n if (proto.sleep) {\n m.sleep = parseInt(proto.sleep, 10);\n }\n if (proto.customOutputParameters) {\n m.customOutputParameters = proto.customOutputParameters.map(OutputParameter.fromProto);\n }\n if (proto.waitForTriggerFilter) {\n m.waitForTriggerFilter = WaitForTriggerFilter.fromProto(proto.waitForTriggerFilter);\n }\n if (proto.sleepWaitConditions) {\n m.sleepWaitConditions = SleepWaitConditions.fromProto(proto.sleepWaitConditions);\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.taskDefinitionId !== 'undefined') {\n toReturn['taskDefinitionId'] = this.taskDefinitionId;\n }\n if (typeof this.data !== 'undefined') {\n toReturn['data'] = this.data;\n }\n if (typeof this.choices !== 'undefined' && this.choices !== null) {\n toReturn['choices'] = 'toApiJson' in this.choices ? this.choices.toApiJson() : this.choices;\n }\n if (typeof this.sleep !== 'undefined') {\n toReturn['sleep'] = this.sleep;\n }\n if (typeof this.waitForTriggerDefinitionId !== 'undefined') {\n toReturn['waitForTriggerDefinitionId'] = this.waitForTriggerDefinitionId;\n }\n if (typeof this.waitForTriggerTaskDefinitionId !== 'undefined') {\n toReturn['waitForTriggerTaskDefinitionId'] = this.waitForTriggerTaskDefinitionId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.customOutputParameters !== 'undefined' && this.customOutputParameters !== null) {\n toReturn['customOutputParameters'] = 'toApiJson' in this.customOutputParameters ? this.customOutputParameters.toApiJson() : this.customOutputParameters;\n }\n if (typeof this.waitForTriggerFilter !== 'undefined' && this.waitForTriggerFilter !== null) {\n toReturn['waitForTriggerFilter'] = 'toApiJson' in this.waitForTriggerFilter ? this.waitForTriggerFilter.toApiJson() : this.waitForTriggerFilter;\n }\n if (typeof this.clearedDataFlag !== 'undefined') {\n toReturn['clearedDataFlag'] = this.clearedDataFlag;\n }\n if (typeof this.notes !== 'undefined') {\n toReturn['notes'] = this.notes;\n }\n if (typeof this.sleepWaitConditions !== 'undefined' && this.sleepWaitConditions !== null) {\n toReturn['sleepWaitConditions'] = 'toApiJson' in this.sleepWaitConditions ? this.sleepWaitConditions.toApiJson() : this.sleepWaitConditions;\n }\n return toReturn;\n }\n}\nclass WorkflowStepOutputParameterContainer {\n static fromProto(proto) {\n let m = new WorkflowStepOutputParameterContainer();\n m = Object.assign(m, proto);\n if (proto.workflowStep) {\n m.workflowStep = WorkflowStep.fromProto(proto.workflowStep);\n }\n if (proto.outputParameters) {\n m.outputParameters = proto.outputParameters.map(OutputParameter.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.workflowStep !== 'undefined' && this.workflowStep !== null) {\n toReturn['workflowStep'] = 'toApiJson' in this.workflowStep ? this.workflowStep.toApiJson() : this.workflowStep;\n }\n if (typeof this.outputParameters !== 'undefined' && this.outputParameters !== null) {\n toReturn['outputParameters'] = 'toApiJson' in this.outputParameters ? this.outputParameters.toApiJson() : this.outputParameters;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$8(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AutomationConfiguration {\n static fromProto(proto) {\n let m = new AutomationConfiguration();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.disabledMarkets !== 'undefined') {\n toReturn['disabledMarkets'] = this.disabledMarkets;\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}\nclass AutomationConfigurationV2 {\n static fromProto(proto) {\n let m = new AutomationConfigurationV2();\n m = Object.assign(m, proto);\n if (proto.context) {\n m.context = enumStringToValue$8(Context, proto.context);\n }\n if (proto.disabled) {\n m.disabled = new Date(proto.disabled);\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.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.context !== 'undefined') {\n toReturn['context'] = this.context;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.disabled !== 'undefined' && this.disabled !== null) {\n toReturn['disabled'] = 'toApiJson' in this.disabled ? this.disabled.toApiJson() : this.disabled;\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}\nclass AutomationConfigurationV2Identifier {\n static fromProto(proto) {\n let m = new AutomationConfigurationV2Identifier();\n m = Object.assign(m, proto);\n if (proto.context) {\n m.context = enumStringToValue$8(Context, 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.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.context !== 'undefined') {\n toReturn['context'] = this.context;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\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 AutomationSubscription {\n static fromProto(proto) {\n let m = new AutomationSubscription();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\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 Activity {\n static fromProto(proto) {\n let m = new Activity();\n m = Object.assign(m, proto);\n if (proto.error) {\n m.error = Error.fromProto(proto.error);\n }\n if (proto.startedProcessing) {\n m.startedProcessing = new Date(proto.startedProcessing);\n }\n if (proto.completedProcessing) {\n m.completedProcessing = new Date(proto.completedProcessing);\n }\n if (proto.workflowStep) {\n m.workflowStep = WorkflowStep.fromProto(proto.workflowStep);\n }\n if (proto.nextWorkflowStep) {\n m.nextWorkflowStep = WorkflowStep.fromProto(proto.nextWorkflowStep);\n }\n if (proto.stage) {\n m.stage = enumStringToValue$6(Stage, proto.stage);\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.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.entityId !== 'undefined') {\n toReturn['entityId'] = this.entityId;\n }\n if (typeof this.runId !== 'undefined') {\n toReturn['runId'] = this.runId;\n }\n if (typeof this.error !== 'undefined' && this.error !== null) {\n toReturn['error'] = 'toApiJson' in this.error ? this.error.toApiJson() : this.error;\n }\n if (typeof this.startedProcessing !== 'undefined' && this.startedProcessing !== null) {\n toReturn['startedProcessing'] = 'toApiJson' in this.startedProcessing ? this.startedProcessing.toApiJson() : this.startedProcessing;\n }\n if (typeof this.completedProcessing !== 'undefined' && this.completedProcessing !== null) {\n toReturn['completedProcessing'] = 'toApiJson' in this.completedProcessing ? this.completedProcessing.toApiJson() : this.completedProcessing;\n }\n if (typeof this.workflowStep !== 'undefined' && this.workflowStep !== null) {\n toReturn['workflowStep'] = 'toApiJson' in this.workflowStep ? this.workflowStep.toApiJson() : this.workflowStep;\n }\n if (typeof this.inputData !== 'undefined') {\n toReturn['inputData'] = this.inputData;\n }\n if (typeof this.outputData !== 'undefined') {\n toReturn['outputData'] = this.outputData;\n }\n if (typeof this.activityData !== 'undefined') {\n toReturn['activityData'] = this.activityData;\n }\n if (typeof this.nextWorkflowStep !== 'undefined' && this.nextWorkflowStep !== null) {\n toReturn['nextWorkflowStep'] = 'toApiJson' in this.nextWorkflowStep ? this.nextWorkflowStep.toApiJson() : this.nextWorkflowStep;\n }\n if (typeof this.stage !== 'undefined') {\n toReturn['stage'] = this.stage;\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.waitForTriggerDefinitionId !== 'undefined') {\n toReturn['waitForTriggerDefinitionId'] = this.waitForTriggerDefinitionId;\n }\n if (typeof this.triggerData !== 'undefined') {\n toReturn['triggerData'] = this.triggerData;\n }\n if (typeof this.endRunRequested !== 'undefined') {\n toReturn['endRunRequested'] = this.endRunRequested;\n }\n if (typeof this.mainRunId !== 'undefined') {\n toReturn['mainRunId'] = this.mainRunId;\n }\n if (typeof this.stepExecutionUuid !== 'undefined') {\n toReturn['stepExecutionUuid'] = this.stepExecutionUuid;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass Error {\n static fromProto(proto) {\n let m = new Error();\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.message !== 'undefined') {\n toReturn['message'] = this.message;\n }\n if (typeof this.code !== 'undefined') {\n toReturn['code'] = this.code;\n }\n if (typeof this.humanReadableMessage !== 'undefined') {\n toReturn['humanReadableMessage'] = this.humanReadableMessage;\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 EventTriggerDefinition {\n static fromProto(proto) {\n let m = new EventTriggerDefinition();\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.flattenedConfig) {\n m.flattenedConfig = FlattenedConfig.fromProto(proto.flattenedConfig);\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.eventTypeId !== 'undefined') {\n toReturn['eventTypeId'] = this.eventTypeId;\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.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.parametersPaths !== 'undefined') {\n toReturn['parametersPaths'] = this.parametersPaths;\n }\n if (typeof this.triggerContextIdFormat !== 'undefined') {\n toReturn['triggerContextIdFormat'] = this.triggerContextIdFormat;\n }\n if (typeof this.lastEditedBy !== 'undefined') {\n toReturn['lastEditedBy'] = this.lastEditedBy;\n }\n if (typeof this.parameterFilterKeys !== 'undefined') {\n toReturn['parameterFilterKeys'] = this.parameterFilterKeys;\n }\n if (typeof this.flattenedConfig !== 'undefined' && this.flattenedConfig !== null) {\n toReturn['flattenedConfig'] = 'toApiJson' in this.flattenedConfig ? this.flattenedConfig.toApiJson() : this.flattenedConfig;\n }\n return toReturn;\n }\n}\nclass FlattenedConfig {\n static fromProto(proto) {\n let m = new FlattenedConfig();\n m = Object.assign(m, proto);\n if (proto.dataType) {\n m.dataType = enumStringToValue$5(FlattenedConfigDataType, proto.dataType);\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.sourcePath !== 'undefined') {\n toReturn['sourcePath'] = this.sourcePath;\n }\n if (typeof this.dataType !== 'undefined') {\n toReturn['dataType'] = this.dataType;\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 CallOptions {\n static fromProto(proto) {\n let m = new CallOptions();\n m = Object.assign(m, proto);\n if (proto.retryPolicyOptions) {\n m.retryPolicyOptions = proto.retryPolicyOptions.map(RetryPolicy.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.retryPolicyOptions !== 'undefined' && this.retryPolicyOptions !== null) {\n toReturn['retryPolicyOptions'] = 'toApiJson' in this.retryPolicyOptions ? this.retryPolicyOptions.toApiJson() : this.retryPolicyOptions;\n }\n return toReturn;\n }\n}\nclass Resource {\n static fromProto(proto) {\n let m = new Resource();\n m = Object.assign(m, proto);\n if (proto.callOptions) {\n m.callOptions = CallOptions.fromProto(proto.callOptions);\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.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.method !== 'undefined') {\n toReturn['method'] = this.method;\n }\n if (typeof this.isGetter !== 'undefined') {\n toReturn['isGetter'] = this.isGetter;\n }\n if (typeof this.callOptions !== 'undefined' && this.callOptions !== null) {\n toReturn['callOptions'] = 'toApiJson' in this.callOptions ? this.callOptions.toApiJson() : this.callOptions;\n }\n return toReturn;\n }\n}\nclass RetryPolicy {\n static fromProto(proto) {\n let m = new RetryPolicy();\n m = Object.assign(m, proto);\n if (proto.maximumAttempts) {\n m.maximumAttempts = parseInt(proto.maximumAttempts, 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.statusCode !== 'undefined') {\n toReturn['statusCode'] = this.statusCode;\n }\n if (typeof this.maximumAttempts !== 'undefined') {\n toReturn['maximumAttempts'] = this.maximumAttempts;\n }\n return toReturn;\n }\n}\nclass TaskDefinition {\n static fromProto(proto) {\n let m = new TaskDefinition();\n m = Object.assign(m, proto);\n if (proto.resource) {\n m.resource = Resource.fromProto(proto.resource);\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.inputParameters) {\n m.inputParameters = proto.inputParameters.map(InputParameter.fromProto);\n }\n if (proto.outputParameters) {\n m.outputParameters = proto.outputParameters.map(OutputParameter.fromProto);\n }\n if (proto.taskType) {\n m.taskType = enumStringToValue$4(TaskType, proto.taskType);\n }\n if (proto.publishedState) {\n m.publishedState = enumStringToValue$4(PublishedState, proto.publishedState);\n }\n if (proto.preProcessors) {\n m.preProcessors = proto.preProcessors.map(WorkflowStep.fromProto);\n }\n if (proto.supportedContexts) {\n m.supportedContexts = proto.supportedContexts.map(v => enumStringToValue$4(Context, v));\n }\n if (proto.choices) {\n m.choices = Choices.fromProto(proto.choices);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.resource !== 'undefined' && this.resource !== null) {\n toReturn['resource'] = 'toApiJson' in this.resource ? this.resource.toApiJson() : this.resource;\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.inputParameters !== 'undefined' && this.inputParameters !== null) {\n toReturn['inputParameters'] = 'toApiJson' in this.inputParameters ? this.inputParameters.toApiJson() : this.inputParameters;\n }\n if (typeof this.outputParameters !== 'undefined' && this.outputParameters !== null) {\n toReturn['outputParameters'] = 'toApiJson' in this.outputParameters ? this.outputParameters.toApiJson() : this.outputParameters;\n }\n if (typeof this.taskType !== 'undefined') {\n toReturn['taskType'] = this.taskType;\n }\n if (typeof this.internal !== 'undefined') {\n toReturn['internal'] = this.internal;\n }\n if (typeof this.publishedState !== 'undefined') {\n toReturn['publishedState'] = this.publishedState;\n }\n if (typeof this.accessAttributes !== 'undefined') {\n toReturn['accessAttributes'] = this.accessAttributes;\n }\n if (typeof this.requiredScopes !== 'undefined') {\n toReturn['requiredScopes'] = this.requiredScopes;\n }\n if (typeof this.availableInDefaultAutomations !== 'undefined') {\n toReturn['availableInDefaultAutomations'] = this.availableInDefaultAutomations;\n }\n if (typeof this.requiredSubscriptionFeatures !== 'undefined') {\n toReturn['requiredSubscriptionFeatures'] = this.requiredSubscriptionFeatures;\n }\n if (typeof this.lastEditedBy !== 'undefined') {\n toReturn['lastEditedBy'] = this.lastEditedBy;\n }\n if (typeof this.eventTypeId !== 'undefined') {\n toReturn['eventTypeId'] = this.eventTypeId;\n }\n if (typeof this.preProcessors !== 'undefined' && this.preProcessors !== null) {\n toReturn['preProcessors'] = 'toApiJson' in this.preProcessors ? this.preProcessors.toApiJson() : this.preProcessors;\n }\n if (typeof this.marketReliant !== 'undefined') {\n toReturn['marketReliant'] = this.marketReliant;\n }\n if (typeof this.eventSubTypeId !== 'undefined') {\n toReturn['eventSubTypeId'] = this.eventSubTypeId;\n }\n if (typeof this.supportedContexts !== 'undefined') {\n toReturn['supportedContexts'] = this.supportedContexts;\n }\n if (typeof this.choices !== 'undefined' && this.choices !== null) {\n toReturn['choices'] = 'toApiJson' in this.choices ? this.choices.toApiJson() : this.choices;\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 RateLimit {\n static fromProto(proto) {\n let m = new RateLimit();\n m = Object.assign(m, proto);\n if (proto.unit) {\n m.unit = enumStringToValue$3(RateLimitUnit, proto.unit);\n }\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.limit) {\n m.limit = parseInt(proto.limit, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.runningVersion !== 'undefined') {\n toReturn['runningVersion'] = this.runningVersion;\n }\n if (typeof this.stepId !== 'undefined') {\n toReturn['stepId'] = this.stepId;\n }\n if (typeof this.entityId !== 'undefined') {\n toReturn['entityId'] = this.entityId;\n }\n if (typeof this.unit !== 'undefined') {\n toReturn['unit'] = this.unit;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.limit !== 'undefined') {\n toReturn['limit'] = this.limit;\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 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$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 SendTestWebhookRequestAdditionalFieldsEntry {\n static fromProto(proto) {\n let m = new SendTestWebhookRequestAdditionalFieldsEntry();\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.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass ContinueAutomationFromStepRequest {\n static fromProto(proto) {\n let m = new ContinueAutomationFromStepRequest();\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.entityId !== 'undefined') {\n toReturn['entityId'] = this.entityId;\n }\n if (typeof this.previousWorkflowStepId !== 'undefined') {\n toReturn['previousWorkflowStepId'] = this.previousWorkflowStepId;\n }\n if (typeof this.previousRunId !== 'undefined') {\n toReturn['previousRunId'] = this.previousRunId;\n }\n if (typeof this.workflowStepIdToContinue !== 'undefined') {\n toReturn['workflowStepIdToContinue'] = this.workflowStepIdToContinue;\n }\n return toReturn;\n }\n}\nclass CopyAutomationRequest {\n static fromProto(proto) {\n let m = new CopyAutomationRequest();\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.originalAutomationId !== 'undefined') {\n toReturn['originalAutomationId'] = this.originalAutomationId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n return toReturn;\n }\n}\nclass CopyAutomationResponse {\n static fromProto(proto) {\n let m = new CopyAutomationResponse();\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 CountRunningWorkflowsRequest {\n static fromProto(proto) {\n let m = new CountRunningWorkflowsRequest();\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 CountRunningWorkflowsResponse {\n static fromProto(proto) {\n let m = new CountRunningWorkflowsResponse();\n m = Object.assign(m, proto);\n if (proto.count) {\n m.count = parseInt(proto.count, 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.count !== 'undefined') {\n toReturn['count'] = this.count;\n }\n return toReturn;\n }\n}\nclass CreateAutomationRequest {\n static fromProto(proto) {\n let m = new CreateAutomationRequest();\n m = Object.assign(m, proto);\n if (proto.automation) {\n m.automation = Automation.fromProto(proto.automation);\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.automation !== 'undefined' && this.automation !== null) {\n toReturn['automation'] = 'toApiJson' in this.automation ? this.automation.toApiJson() : this.automation;\n }\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n return toReturn;\n }\n}\nclass CreateAutomationResponse {\n static fromProto(proto) {\n let m = new CreateAutomationResponse();\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 CreateEventTriggerDefinitionRequest {\n static fromProto(proto) {\n let m = new CreateEventTriggerDefinitionRequest();\n m = Object.assign(m, proto);\n if (proto.eventTriggerDefinition) {\n m.eventTriggerDefinition = EventTriggerDefinition.fromProto(proto.eventTriggerDefinition);\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.eventTriggerDefinition !== 'undefined' && this.eventTriggerDefinition !== null) {\n toReturn['eventTriggerDefinition'] = 'toApiJson' in this.eventTriggerDefinition ? this.eventTriggerDefinition.toApiJson() : this.eventTriggerDefinition;\n }\n return toReturn;\n }\n}\nclass CreateTaskDefinitionRequest {\n static fromProto(proto) {\n let m = new CreateTaskDefinitionRequest();\n m = Object.assign(m, proto);\n if (proto.taskDefinition) {\n m.taskDefinition = TaskDefinition.fromProto(proto.taskDefinition);\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.taskDefinition !== 'undefined' && this.taskDefinition !== null) {\n toReturn['taskDefinition'] = 'toApiJson' in this.taskDefinition ? this.taskDefinition.toApiJson() : this.taskDefinition;\n }\n return toReturn;\n }\n}\nclass CreateTaskDefinitionResponse {\n static fromProto(proto) {\n let m = new CreateTaskDefinitionResponse();\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 DefaultAutomation {\n static fromProto(proto) {\n let m = new DefaultAutomation();\n m = Object.assign(m, proto);\n if (proto.defaultAutomation) {\n m.defaultAutomation = Automation.fromProto(proto.defaultAutomation);\n }\n if (proto.configuration) {\n m.configuration = AutomationConfigurationV2.fromProto(proto.configuration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.defaultAutomation !== 'undefined' && this.defaultAutomation !== null) {\n toReturn['defaultAutomation'] = 'toApiJson' in this.defaultAutomation ? this.defaultAutomation.toApiJson() : this.defaultAutomation;\n }\n if (typeof this.configuration !== 'undefined' && this.configuration !== null) {\n toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;\n }\n return toReturn;\n }\n}\nclass DefaultAutomationWithConfiguration {\n static fromProto(proto) {\n let m = new DefaultAutomationWithConfiguration();\n m = Object.assign(m, proto);\n if (proto.defaultAutomation) {\n m.defaultAutomation = Automation.fromProto(proto.defaultAutomation);\n }\n if (proto.configuration) {\n m.configuration = AutomationConfiguration.fromProto(proto.configuration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.defaultAutomation !== 'undefined' && this.defaultAutomation !== null) {\n toReturn['defaultAutomation'] = 'toApiJson' in this.defaultAutomation ? this.defaultAutomation.toApiJson() : this.defaultAutomation;\n }\n if (typeof this.configuration !== 'undefined' && this.configuration !== null) {\n toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;\n }\n return toReturn;\n }\n}\nclass DeleteAutomationRequest {\n static fromProto(proto) {\n let m = new DeleteAutomationRequest();\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 DeleteConfigurationRequest {\n static fromProto(proto) {\n let m = new DeleteConfigurationRequest();\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.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n return toReturn;\n }\n}\nclass DeleteEventTriggerDefinitionRequest {\n static fromProto(proto) {\n let m = new DeleteEventTriggerDefinitionRequest();\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.eventTypeId !== 'undefined') {\n toReturn['eventTypeId'] = this.eventTypeId;\n }\n return toReturn;\n }\n}\nclass DeleteTaskDefinitionRequest {\n static fromProto(proto) {\n let m = new DeleteTaskDefinitionRequest();\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 DisableAutomationConfigurationRequest {\n static fromProto(proto) {\n let m = new DisableAutomationConfigurationRequest();\n m = Object.assign(m, proto);\n if (proto.automationConfigurationId) {\n m.automationConfigurationId = AutomationConfigurationV2Identifier.fromProto(proto.automationConfigurationId);\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.automationConfigurationId !== 'undefined' && this.automationConfigurationId !== null) {\n toReturn['automationConfigurationId'] = 'toApiJson' in this.automationConfigurationId ? this.automationConfigurationId.toApiJson() : this.automationConfigurationId;\n }\n return toReturn;\n }\n}\nclass DisableForMarketsRequest {\n static fromProto(proto) {\n let m = new DisableForMarketsRequest();\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.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n return toReturn;\n }\n}\nclass EmitAutomationEventRequest {\n static fromProto(proto) {\n let m = new EmitAutomationEventRequest();\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 if (typeof this.eventData !== 'undefined') {\n toReturn['eventData'] = this.eventData;\n }\n return toReturn;\n }\n}\nclass EnableAutomationConfigurationRequest {\n static fromProto(proto) {\n let m = new EnableAutomationConfigurationRequest();\n m = Object.assign(m, proto);\n if (proto.automationConfigurationId) {\n m.automationConfigurationId = AutomationConfigurationV2Identifier.fromProto(proto.automationConfigurationId);\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.automationConfigurationId !== 'undefined' && this.automationConfigurationId !== null) {\n toReturn['automationConfigurationId'] = 'toApiJson' in this.automationConfigurationId ? this.automationConfigurationId.toApiJson() : this.automationConfigurationId;\n }\n return toReturn;\n }\n}\nclass EnableForMarketsRequest {\n static fromProto(proto) {\n let m = new EnableForMarketsRequest();\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.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n return toReturn;\n }\n}\nclass EndAutomationRunRequest {\n static fromProto(proto) {\n let m = new EndAutomationRunRequest();\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.runId !== 'undefined') {\n toReturn['runId'] = this.runId;\n }\n if (typeof this.entityId !== 'undefined') {\n toReturn['entityId'] = this.entityId;\n }\n if (typeof this.workflowStepId !== 'undefined') {\n toReturn['workflowStepId'] = this.workflowStepId;\n }\n if (typeof this.mainRunId !== 'undefined') {\n toReturn['mainRunId'] = this.mainRunId;\n }\n if (typeof this.stepExecutionUuid !== 'undefined') {\n toReturn['stepExecutionUuid'] = this.stepExecutionUuid;\n }\n return toReturn;\n }\n}\nclass ListTaskDefinitionsRequestFilters {\n static fromProto(proto) {\n let m = new ListTaskDefinitionsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.taskType) {\n m.taskType = enumStringToValue(TaskType, proto.taskType);\n }\n if (proto.publishedState) {\n m.publishedState = enumStringToValue(PublishedState, proto.publishedState);\n }\n if (proto.waitForDataTypeScope) {\n m.waitForDataTypeScope = enumStringToValue(DataType, proto.waitForDataTypeScope);\n }\n if (proto.supportedContexts) {\n m.supportedContexts = proto.supportedContexts.map(v => enumStringToValue(Context, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.taskType !== 'undefined') {\n toReturn['taskType'] = this.taskType;\n }\n if (typeof this.internal !== 'undefined') {\n toReturn['internal'] = this.internal;\n }\n if (typeof this.publishedState !== 'undefined') {\n toReturn['publishedState'] = this.publishedState;\n }\n if (typeof this.onlyAvailableInDefaultAutomations !== 'undefined') {\n toReturn['onlyAvailableInDefaultAutomations'] = this.onlyAvailableInDefaultAutomations;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.waitForDataTypeScope !== 'undefined') {\n toReturn['waitForDataTypeScope'] = this.waitForDataTypeScope;\n }\n if (typeof this.marketReliant !== 'undefined') {\n toReturn['marketReliant'] = this.marketReliant;\n }\n if (typeof this.supportedContexts !== 'undefined') {\n toReturn['supportedContexts'] = this.supportedContexts;\n }\n return toReturn;\n }\n}\nclass ListActivitiesRequestFilters {\n static fromProto(proto) {\n let m = new ListActivitiesRequestFilters();\n m = Object.assign(m, proto);\n if (proto.stage) {\n m.stage = proto.stage.map(v => enumStringToValue(Stage, v));\n }\n if (proto.automationType) {\n m.automationType = enumStringToValue(AutomationType, proto.automationType);\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.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.runId !== 'undefined') {\n toReturn['runId'] = this.runId;\n }\n if (typeof this.entityId !== 'undefined') {\n toReturn['entityId'] = this.entityId;\n }\n if (typeof this.workflowStepId !== 'undefined') {\n toReturn['workflowStepId'] = this.workflowStepId;\n }\n if (typeof this.stage !== 'undefined') {\n toReturn['stage'] = this.stage;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n if (typeof this.latestPerAutomation !== 'undefined') {\n toReturn['latestPerAutomation'] = this.latestPerAutomation;\n }\n if (typeof this.automationType !== 'undefined') {\n toReturn['automationType'] = this.automationType;\n }\n if (typeof this.onlyErrors !== 'undefined') {\n toReturn['onlyErrors'] = this.onlyErrors;\n }\n if (typeof this.mainRunId !== 'undefined') {\n toReturn['mainRunId'] = this.mainRunId;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass SearchManualAutomationsRequestFilters {\n static fromProto(proto) {\n let m = new SearchManualAutomationsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.entityTypes) {\n m.entityTypes = proto.entityTypes.map(v => enumStringToValue(EntityType, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.onlySalesRunnable !== 'undefined') {\n toReturn['onlySalesRunnable'] = this.onlySalesRunnable;\n }\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.entityTypes !== 'undefined') {\n toReturn['entityTypes'] = this.entityTypes;\n }\n return toReturn;\n }\n}\nclass ListEventTriggerDefinitionRequestFilters {\n static fromProto(proto) {\n let m = new ListEventTriggerDefinitionRequestFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n return toReturn;\n }\n}\nclass ListAutomationsRequestV2Filters {\n static fromProto(proto) {\n let m = new ListAutomationsRequestV2Filters();\n m = Object.assign(m, proto);\n if (proto.context) {\n m.context = enumStringToValue(Context, proto.context);\n }\n if (proto.automationTypes) {\n m.automationTypes = proto.automationTypes.map(v => enumStringToValue(AutomationType, v));\n }\n if (proto.runningStates) {\n m.runningStates = proto.runningStates.map(v => enumStringToValue(RunningState, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.context !== 'undefined') {\n toReturn['context'] = this.context;\n }\n if (typeof this.automationTypes !== 'undefined') {\n toReturn['automationTypes'] = this.automationTypes;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.runningStates !== 'undefined') {\n toReturn['runningStates'] = this.runningStates;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.triggerTaskDefinitionIds !== 'undefined') {\n toReturn['triggerTaskDefinitionIds'] = this.triggerTaskDefinitionIds;\n }\n if (typeof this.lastUpdatedBy !== 'undefined') {\n toReturn['lastUpdatedBy'] = this.lastUpdatedBy;\n }\n if (typeof this.tokenUserId !== 'undefined') {\n toReturn['tokenUserId'] = this.tokenUserId;\n }\n return toReturn;\n }\n}\nclass ListAutomationsRequestFilters {\n static fromProto(proto) {\n let m = new ListAutomationsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.runningStates) {\n m.runningStates = proto.runningStates.map(v => enumStringToValue(RunningState, v));\n }\n if (proto.automationType) {\n m.automationType = enumStringToValue(AutomationType, proto.automationType);\n }\n if (proto.publishedStates) {\n m.publishedStates = proto.publishedStates.map(v => enumStringToValue(AutomationPublishedState, v));\n }\n if (proto.status) {\n m.status = proto.status.map(v => enumStringToValue(AutomationStatus, v));\n }\n if (proto.context) {\n m.context = enumStringToValue(Context, 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.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n if (typeof this.lastUpdatedBy !== 'undefined') {\n toReturn['lastUpdatedBy'] = this.lastUpdatedBy;\n }\n if (typeof this.includeDeleted !== 'undefined') {\n toReturn['includeDeleted'] = this.includeDeleted;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.runningStates !== 'undefined') {\n toReturn['runningStates'] = this.runningStates;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.automationType !== 'undefined') {\n toReturn['automationType'] = this.automationType;\n }\n if (typeof this.publishedStates !== 'undefined') {\n toReturn['publishedStates'] = this.publishedStates;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.workflowStepTaskDefinitionId !== 'undefined') {\n toReturn['workflowStepTaskDefinitionId'] = this.workflowStepTaskDefinitionId;\n }\n if (typeof this.triggerTaskDefinitionId !== 'undefined') {\n toReturn['triggerTaskDefinitionId'] = this.triggerTaskDefinitionId;\n }\n if (typeof this.tokenUserId !== 'undefined') {\n toReturn['tokenUserId'] = this.tokenUserId;\n }\n if (typeof this.context !== 'undefined') {\n toReturn['context'] = this.context;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass ListDefaultAutomationsForPartnerRequestFilters {\n static fromProto(proto) {\n let m = new ListDefaultAutomationsForPartnerRequestFilters();\n m = Object.assign(m, proto);\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue(DefaultAutomationStatus, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n return toReturn;\n }\n}\nclass ListDefaultAutomationsRequestFilters {\n static fromProto(proto) {\n let m = new ListDefaultAutomationsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.context) {\n m.context = enumStringToValue(Context, proto.context);\n }\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue(DefaultAutomationStatus, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.context !== 'undefined') {\n toReturn['context'] = this.context;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass ListActivitiesCurrentlyWaitingRequestFilters {\n static fromProto(proto) {\n let m = new ListActivitiesCurrentlyWaitingRequestFilters();\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.workflowStepId !== 'undefined') {\n toReturn['workflowStepId'] = this.workflowStepId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass ListAutomationRunsRequestFilters {\n static fromProto(proto) {\n let m = new ListAutomationRunsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.stages) {\n m.stages = proto.stages.map(v => enumStringToValue(Stage, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n if (typeof this.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.entityId !== 'undefined') {\n toReturn['entityId'] = this.entityId;\n }\n if (typeof this.stages !== 'undefined') {\n toReturn['stages'] = this.stages;\n }\n if (typeof this.showDefault !== 'undefined') {\n toReturn['showDefault'] = this.showDefault;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass GetAutomationAccessRequirementsRequest {\n static fromProto(proto) {\n let m = new GetAutomationAccessRequirementsRequest();\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 GetAutomationAccessRequirementsResponse {\n static fromProto(proto) {\n let m = new GetAutomationAccessRequirementsResponse();\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.successIds !== 'undefined') {\n toReturn['successIds'] = this.successIds;\n }\n if (typeof this.failedIds !== 'undefined') {\n toReturn['failedIds'] = this.failedIds;\n }\n return toReturn;\n }\n}\nclass GetAutomationConfigurationV2Request {\n static fromProto(proto) {\n let m = new GetAutomationConfigurationV2Request();\n m = Object.assign(m, proto);\n if (proto.automationConfigurationId) {\n m.automationConfigurationId = AutomationConfigurationV2Identifier.fromProto(proto.automationConfigurationId);\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.automationConfigurationId !== 'undefined' && this.automationConfigurationId !== null) {\n toReturn['automationConfigurationId'] = 'toApiJson' in this.automationConfigurationId ? this.automationConfigurationId.toApiJson() : this.automationConfigurationId;\n }\n return toReturn;\n }\n}\nclass GetAutomationConfigurationV2Response {\n static fromProto(proto) {\n let m = new GetAutomationConfigurationV2Response();\n m = Object.assign(m, proto);\n if (proto.configuration) {\n m.configuration = AutomationConfigurationV2.fromProto(proto.configuration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.configuration !== 'undefined' && this.configuration !== null) {\n toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;\n }\n return toReturn;\n }\n}\nclass 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.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass GetAutomationResponse {\n static fromProto(proto) {\n let m = new GetAutomationResponse();\n m = Object.assign(m, proto);\n if (proto.automation) {\n m.automation = Automation.fromProto(proto.automation);\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.automation !== 'undefined' && this.automation !== null) {\n toReturn['automation'] = 'toApiJson' in this.automation ? this.automation.toApiJson() : this.automation;\n }\n return toReturn;\n }\n}\nclass GetAutomationTagsRequest {\n static fromProto(proto) {\n let m = new GetAutomationTagsRequest();\n m = Object.assign(m, proto);\n if (proto.automationType) {\n m.automationType = enumStringToValue(AutomationType, proto.automationType);\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.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n if (typeof this.automationType !== 'undefined') {\n toReturn['automationType'] = this.automationType;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass GetAutomationTagsResponse {\n static fromProto(proto) {\n let m = new GetAutomationTagsResponse();\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.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n return toReturn;\n }\n}\nclass GetAutomationUsageRequest {\n static fromProto(proto) {\n let m = new GetAutomationUsageRequest();\n m = Object.assign(m, proto);\n if (proto.context) {\n m.context = enumStringToValue(Context, 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.context !== 'undefined') {\n toReturn['context'] = this.context;\n }\n return toReturn;\n }\n}\nclass GetAutomationUsageResponse {\n static fromProto(proto) {\n let m = new GetAutomationUsageResponse();\n m = Object.assign(m, proto);\n if (proto.quota) {\n m.quota = parseInt(proto.quota, 10);\n }\n if (proto.usage) {\n m.usage = parseInt(proto.usage, 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.quota !== 'undefined') {\n toReturn['quota'] = this.quota;\n }\n if (typeof this.usage !== 'undefined') {\n toReturn['usage'] = this.usage;\n }\n return toReturn;\n }\n}\nclass GetConfigurationRequest {\n static fromProto(proto) {\n let m = new GetConfigurationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n return toReturn;\n }\n}\nclass GetConfigurationResponse {\n static fromProto(proto) {\n let m = new GetConfigurationResponse();\n m = Object.assign(m, proto);\n if (proto.configuration) {\n m.configuration = AutomationConfiguration.fromProto(proto.configuration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.configuration !== 'undefined' && this.configuration !== null) {\n toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;\n }\n return toReturn;\n }\n}\nclass GetEventTriggerDefinitionRequest {\n static fromProto(proto) {\n let m = new GetEventTriggerDefinitionRequest();\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.eventTypeId !== 'undefined') {\n toReturn['eventTypeId'] = this.eventTypeId;\n }\n return toReturn;\n }\n}\nclass GetEventTriggerDefinitionResponse {\n static fromProto(proto) {\n let m = new GetEventTriggerDefinitionResponse();\n m = Object.assign(m, proto);\n if (proto.eventTriggerDefinition) {\n m.eventTriggerDefinition = EventTriggerDefinition.fromProto(proto.eventTriggerDefinition);\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.eventTriggerDefinition !== 'undefined' && this.eventTriggerDefinition !== null) {\n toReturn['eventTriggerDefinition'] = 'toApiJson' in this.eventTriggerDefinition ? this.eventTriggerDefinition.toApiJson() : this.eventTriggerDefinition;\n }\n return toReturn;\n }\n}\nclass GetMultiAutomationsRequest {\n static fromProto(proto) {\n let m = new GetMultiAutomationsRequest();\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.automationIds !== 'undefined') {\n toReturn['automationIds'] = this.automationIds;\n }\n return toReturn;\n }\n}\nclass GetMultiAutomationsResponse {\n static fromProto(proto) {\n let m = new GetMultiAutomationsResponse();\n m = Object.assign(m, proto);\n if (proto.automations) {\n m.automations = proto.automations.map(Automation.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.automations !== 'undefined' && this.automations !== null) {\n toReturn['automations'] = 'toApiJson' in this.automations ? this.automations.toApiJson() : this.automations;\n }\n return toReturn;\n }\n}\nclass GetMultiTaskDefinitionRequest {\n static fromProto(proto) {\n let m = new GetMultiTaskDefinitionRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.ids !== 'undefined') {\n toReturn['ids'] = this.ids;\n }\n return toReturn;\n }\n}\nclass GetMultiTaskDefinitionResponse {\n static fromProto(proto) {\n let m = new GetMultiTaskDefinitionResponse();\n m = Object.assign(m, proto);\n if (proto.taskDefinitions) {\n m.taskDefinitions = proto.taskDefinitions.map(TaskDefinition.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.taskDefinitions !== 'undefined' && this.taskDefinitions !== null) {\n toReturn['taskDefinitions'] = 'toApiJson' in this.taskDefinitions ? this.taskDefinitions.toApiJson() : this.taskDefinitions;\n }\n return toReturn;\n }\n}\nclass GetSubscriptionRequest {\n static fromProto(proto) {\n let m = new GetSubscriptionRequest();\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 GetSubscriptionResponse {\n static fromProto(proto) {\n let m = new GetSubscriptionResponse();\n m = Object.assign(m, proto);\n if (proto.subscription) {\n m.subscription = AutomationSubscription.fromProto(proto.subscription);\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.subscription !== 'undefined' && this.subscription !== null) {\n toReturn['subscription'] = 'toApiJson' in this.subscription ? this.subscription.toApiJson() : this.subscription;\n }\n return toReturn;\n }\n}\nclass GetTaskDefinitionRequest {\n static fromProto(proto) {\n let m = new GetTaskDefinitionRequest();\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 GetTaskDefinitionResponse {\n static fromProto(proto) {\n let m = new GetTaskDefinitionResponse();\n m = Object.assign(m, proto);\n if (proto.taskDefinition) {\n m.taskDefinition = TaskDefinition.fromProto(proto.taskDefinition);\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.taskDefinition !== 'undefined' && this.taskDefinition !== null) {\n toReturn['taskDefinition'] = 'toApiJson' in this.taskDefinition ? this.taskDefinition.toApiJson() : this.taskDefinition;\n }\n return toReturn;\n }\n}\nclass GetWorkflowStepPredecessorOutputParamsRequest {\n static fromProto(proto) {\n let m = new GetWorkflowStepPredecessorOutputParamsRequest();\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.workflowStepParentIds !== 'undefined') {\n toReturn['workflowStepParentIds'] = this.workflowStepParentIds;\n }\n if (typeof this.onlyIncludeNamedSteps !== 'undefined') {\n toReturn['onlyIncludeNamedSteps'] = this.onlyIncludeNamedSteps;\n }\n return toReturn;\n }\n}\nclass GetWorkflowStepPredecessorOutputParamsResponse {\n static fromProto(proto) {\n let m = new GetWorkflowStepPredecessorOutputParamsResponse();\n m = Object.assign(m, proto);\n if (proto.workflowStepOutputParameters) {\n m.workflowStepOutputParameters = proto.workflowStepOutputParameters.map(WorkflowStepOutputParameterContainer.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.workflowStepOutputParameters !== 'undefined' && this.workflowStepOutputParameters !== null) {\n toReturn['workflowStepOutputParameters'] = 'toApiJson' in this.workflowStepOutputParameters ? this.workflowStepOutputParameters.toApiJson() : this.workflowStepOutputParameters;\n }\n return toReturn;\n }\n}\nclass HideRequest {\n static fromProto(proto) {\n let m = new HideRequest();\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 ListActivitiesCurrentlyWaitingRequest {\n static fromProto(proto) {\n let m = new ListActivitiesCurrentlyWaitingRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListActivitiesCurrentlyWaitingRequestFilters.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 ListActivitiesCurrentlyWaitingResponse {\n static fromProto(proto) {\n let m = new ListActivitiesCurrentlyWaitingResponse();\n m = Object.assign(m, proto);\n if (proto.activities) {\n m.activities = proto.activities.map(Activity.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.activities !== 'undefined' && this.activities !== null) {\n toReturn['activities'] = 'toApiJson' in this.activities ? this.activities.toApiJson() : this.activities;\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 ListActivitiesRequest {\n static fromProto(proto) {\n let m = new ListActivitiesRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListActivitiesRequestFilters.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 ListActivitiesResponse {\n static fromProto(proto) {\n let m = new ListActivitiesResponse();\n m = Object.assign(m, proto);\n if (proto.activities) {\n m.activities = proto.activities.map(Activity.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.activities !== 'undefined' && this.activities !== null) {\n toReturn['activities'] = 'toApiJson' in this.activities ? this.activities.toApiJson() : this.activities;\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 ListAutomationRunsRequest {\n static fromProto(proto) {\n let m = new ListAutomationRunsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListAutomationRunsRequestFilters.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 ListAutomationRunsResponse {\n static fromProto(proto) {\n let m = new ListAutomationRunsResponse();\n m = Object.assign(m, proto);\n if (proto.automationRuns) {\n m.automationRuns = proto.automationRuns.map(Activity.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.automationRuns !== 'undefined' && this.automationRuns !== null) {\n toReturn['automationRuns'] = 'toApiJson' in this.automationRuns ? this.automationRuns.toApiJson() : this.automationRuns;\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 ListAutomationsRequest {\n static fromProto(proto) {\n let m = new ListAutomationsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListAutomationsRequestFilters.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 ListAutomationsRequestV2 {\n static fromProto(proto) {\n let m = new ListAutomationsRequestV2();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListAutomationsRequestV2Filters.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 ListAutomationsResponse {\n static fromProto(proto) {\n let m = new ListAutomationsResponse();\n m = Object.assign(m, proto);\n if (proto.automations) {\n m.automations = proto.automations.map(Automation.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.automations !== 'undefined' && this.automations !== null) {\n toReturn['automations'] = 'toApiJson' in this.automations ? this.automations.toApiJson() : this.automations;\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 ListDefaultAutomationsForPartnerRequest {\n static fromProto(proto) {\n let m = new ListDefaultAutomationsForPartnerRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListDefaultAutomationsForPartnerRequestFilters.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 ListDefaultAutomationsForPartnerResponse {\n static fromProto(proto) {\n let m = new ListDefaultAutomationsForPartnerResponse();\n m = Object.assign(m, proto);\n if (proto.results) {\n m.results = proto.results.map(DefaultAutomationWithConfiguration.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.results !== 'undefined' && this.results !== null) {\n toReturn['results'] = 'toApiJson' in this.results ? this.results.toApiJson() : this.results;\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 ListDefaultAutomationsRequest {\n static fromProto(proto) {\n let m = new ListDefaultAutomationsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListDefaultAutomationsRequestFilters.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 ListDefaultAutomationsResponse {\n static fromProto(proto) {\n let m = new ListDefaultAutomationsResponse();\n m = Object.assign(m, proto);\n if (proto.results) {\n m.results = proto.results.map(DefaultAutomation.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.results !== 'undefined' && this.results !== null) {\n toReturn['results'] = 'toApiJson' in this.results ? this.results.toApiJson() : this.results;\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 ListEventTriggerDefinitionRequest {\n static fromProto(proto) {\n let m = new ListEventTriggerDefinitionRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListEventTriggerDefinitionRequestFilters.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 ListEventTriggerDefinitionResponse {\n static fromProto(proto) {\n let m = new ListEventTriggerDefinitionResponse();\n m = Object.assign(m, proto);\n if (proto.eventTriggerDefinitions) {\n m.eventTriggerDefinitions = proto.eventTriggerDefinitions.map(EventTriggerDefinition.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.eventTriggerDefinitions !== 'undefined' && this.eventTriggerDefinitions !== null) {\n toReturn['eventTriggerDefinitions'] = 'toApiJson' in this.eventTriggerDefinitions ? this.eventTriggerDefinitions.toApiJson() : this.eventTriggerDefinitions;\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 ListTaskDefinition {\n static fromProto(proto) {\n let m = new ListTaskDefinition();\n m = Object.assign(m, proto);\n if (proto.taskDefinition) {\n m.taskDefinition = TaskDefinition.fromProto(proto.taskDefinition);\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.valid !== 'undefined') {\n toReturn['valid'] = this.valid;\n }\n if (typeof this.taskDefinition !== 'undefined' && this.taskDefinition !== null) {\n toReturn['taskDefinition'] = 'toApiJson' in this.taskDefinition ? this.taskDefinition.toApiJson() : this.taskDefinition;\n }\n if (typeof this.hasAccessToRun !== 'undefined') {\n toReturn['hasAccessToRun'] = this.hasAccessToRun;\n }\n return toReturn;\n }\n}\nclass ListTaskDefinitionsRequest {\n static fromProto(proto) {\n let m = new ListTaskDefinitionsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListTaskDefinitionsRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n if (proto.validationData) {\n m.validationData = ListTaskDefinitionsRequestValidationData.fromProto(proto.validationData);\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 if (typeof this.validationData !== 'undefined' && this.validationData !== null) {\n toReturn['validationData'] = 'toApiJson' in this.validationData ? this.validationData.toApiJson() : this.validationData;\n }\n return toReturn;\n }\n}\nclass ListTaskDefinitionsResponse {\n static fromProto(proto) {\n let m = new ListTaskDefinitionsResponse();\n m = Object.assign(m, proto);\n if (proto.taskDefinitions) {\n m.taskDefinitions = proto.taskDefinitions.map(ListTaskDefinition.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.taskDefinitions !== 'undefined' && this.taskDefinitions !== null) {\n toReturn['taskDefinitions'] = 'toApiJson' in this.taskDefinitions ? this.taskDefinitions.toApiJson() : this.taskDefinitions;\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 OrderKey {\n static fromProto(proto) {\n let m = new OrderKey();\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.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass PagedRequestOptions {\n static fromProto(proto) {\n let m = new PagedRequestOptions();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass PagedResponseMetadata {\n static fromProto(proto) {\n let m = new PagedResponseMetadata();\n m = Object.assign(m, proto);\n 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 PublishRequest {\n static fromProto(proto) {\n let m = new PublishRequest();\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 RateLimitCheckRequest {\n static fromProto(proto) {\n let m = new RateLimitCheckRequest();\n m = Object.assign(m, proto);\n if (proto.rateLimit) {\n m.rateLimit = RateLimit.fromProto(proto.rateLimit);\n }\n if (proto.timestamp) {\n m.timestamp = new Date(proto.timestamp);\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.rateLimit !== 'undefined' && this.rateLimit !== null) {\n toReturn['rateLimit'] = 'toApiJson' in this.rateLimit ? this.rateLimit.toApiJson() : this.rateLimit;\n }\n if (typeof this.timestamp !== 'undefined' && this.timestamp !== null) {\n toReturn['timestamp'] = 'toApiJson' in this.timestamp ? this.timestamp.toApiJson() : this.timestamp;\n }\n return toReturn;\n }\n}\nclass SearchManualAutomationsRequest {\n static fromProto(proto) {\n let m = new SearchManualAutomationsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = SearchManualAutomationsRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n if (proto.entityType) {\n m.entityType = enumStringToValue(EntityType, proto.entityType);\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.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\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.entityType !== 'undefined') {\n toReturn['entityType'] = this.entityType;\n }\n return toReturn;\n }\n}\nclass SearchManualAutomationsResponse {\n static fromProto(proto) {\n let m = new SearchManualAutomationsResponse();\n m = Object.assign(m, proto);\n if (proto.automations) {\n m.automations = proto.automations.map(Automation.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.automations !== 'undefined' && this.automations !== null) {\n toReturn['automations'] = 'toApiJson' in this.automations ? this.automations.toApiJson() : this.automations;\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 SendTestWebhookRequest {\n static fromProto(proto) {\n let m = new SendTestWebhookRequest();\n m = Object.assign(m, proto);\n if (proto.additionalFields) {\n m.additionalFields = Object.keys(proto.additionalFields).reduce((obj, k) => {\n obj[k] = proto.additionalFields[k];\n return obj;\n }, {});\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.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.verifierToken !== 'undefined') {\n toReturn['verifierToken'] = this.verifierToken;\n }\n if (typeof this.additionalFields !== 'undefined' && this.additionalFields !== null) {\n toReturn['additionalFields'] = 'toApiJson' in this.additionalFields ? this.additionalFields.toApiJson() : this.additionalFields;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass SetAutomationToDrainingRequest {\n static fromProto(proto) {\n let m = new SetAutomationToDrainingRequest();\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 StartAccountGroupAutomationRequest {\n static fromProto(proto) {\n let m = new StartAccountGroupAutomationRequest();\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.accountGroupIds !== 'undefined') {\n toReturn['accountGroupIds'] = this.accountGroupIds;\n }\n if (typeof this.actionListName !== 'undefined') {\n toReturn['actionListName'] = this.actionListName;\n }\n return toReturn;\n }\n}\nclass StartAutomationRequestStartAutomationPayload {\n static fromProto(proto) {\n let m = new StartAutomationRequestStartAutomationPayload();\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.entityId !== 'undefined') {\n toReturn['entityId'] = this.entityId;\n }\n if (typeof this.data !== 'undefined') {\n toReturn['data'] = this.data;\n }\n return toReturn;\n }\n}\nclass StartAutomationRequest {\n static fromProto(proto) {\n let m = new StartAutomationRequest();\n m = Object.assign(m, proto);\n if (proto.orderKeys) {\n m.orderKeys = proto.orderKeys.map(OrderKey.fromProto);\n }\n if (proto.payloads) {\n m.payloads = proto.payloads.map(StartAutomationRequestStartAutomationPayload.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.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n if (typeof this.accountGroupIds !== 'undefined') {\n toReturn['accountGroupIds'] = this.accountGroupIds;\n }\n if (typeof this.orderKeys !== 'undefined' && this.orderKeys !== null) {\n toReturn['orderKeys'] = 'toApiJson' in this.orderKeys ? this.orderKeys.toApiJson() : this.orderKeys;\n }\n if (typeof this.payloads !== 'undefined' && this.payloads !== null) {\n toReturn['payloads'] = 'toApiJson' in this.payloads ? this.payloads.toApiJson() : this.payloads;\n }\n return toReturn;\n }\n}\nclass StartAutomationRunningRequest {\n static fromProto(proto) {\n let m = new StartAutomationRunningRequest();\n m = Object.assign(m, proto);\n if (proto.settings) {\n m.settings = AutomationSettings.fromProto(proto.settings);\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.settings !== 'undefined' && this.settings !== null) {\n toReturn['settings'] = 'toApiJson' in this.settings ? this.settings.toApiJson() : this.settings;\n }\n if (typeof this.subscribeToNotifications !== 'undefined') {\n toReturn['subscribeToNotifications'] = this.subscribeToNotifications;\n }\n return toReturn;\n }\n}\nclass StopAllAutomationRunsRequest {\n static fromProto(proto) {\n let m = new StopAllAutomationRunsRequest();\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.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass StopAutomationRunningRequest {\n static fromProto(proto) {\n let m = new StopAutomationRunningRequest();\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 SubscribeRequest {\n static fromProto(proto) {\n let m = new SubscribeRequest();\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.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass SummarizeAutomationRequest {\n static fromProto(proto) {\n let m = new SummarizeAutomationRequest();\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.prompts !== 'undefined') {\n toReturn['prompts'] = this.prompts;\n }\n return toReturn;\n }\n}\nclass SummarizeAutomationResponse {\n static fromProto(proto) {\n let m = new SummarizeAutomationResponse();\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.summary !== 'undefined') {\n toReturn['summary'] = this.summary;\n }\n return toReturn;\n }\n}\nclass UnhideRequest {\n static fromProto(proto) {\n let m = new UnhideRequest();\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 UnpublishRequest {\n static fromProto(proto) {\n let m = new UnpublishRequest();\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 UnsubscribeRequest {\n static fromProto(proto) {\n let m = new UnsubscribeRequest();\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 UpdateAutomationRequest {\n static fromProto(proto) {\n let m = new UpdateAutomationRequest();\n m = Object.assign(m, proto);\n if (proto.automation) {\n m.automation = Automation.fromProto(proto.automation);\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.automation !== 'undefined' && this.automation !== null) {\n toReturn['automation'] = 'toApiJson' in this.automation ? this.automation.toApiJson() : this.automation;\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 UpdateEventTriggerDefinitionRequest {\n static fromProto(proto) {\n let m = new UpdateEventTriggerDefinitionRequest();\n m = Object.assign(m, proto);\n if (proto.eventTriggerDefinition) {\n m.eventTriggerDefinition = EventTriggerDefinition.fromProto(proto.eventTriggerDefinition);\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.eventTriggerDefinition !== 'undefined' && this.eventTriggerDefinition !== null) {\n toReturn['eventTriggerDefinition'] = 'toApiJson' in this.eventTriggerDefinition ? this.eventTriggerDefinition.toApiJson() : this.eventTriggerDefinition;\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 UpdateTaskDefinitionRequest {\n static fromProto(proto) {\n let m = new UpdateTaskDefinitionRequest();\n m = Object.assign(m, proto);\n if (proto.taskDefinition) {\n m.taskDefinition = TaskDefinition.fromProto(proto.taskDefinition);\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.taskDefinition !== 'undefined' && this.taskDefinition !== null) {\n toReturn['taskDefinition'] = 'toApiJson' in this.taskDefinition ? this.taskDefinition.toApiJson() : this.taskDefinition;\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 ListTaskDefinitionsRequestValidationData {\n static fromProto(proto) {\n let m = new ListTaskDefinitionsRequestValidationData();\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.workflowStepParentIds !== 'undefined') {\n toReturn['workflowStepParentIds'] = this.workflowStepParentIds;\n }\n if (typeof this.triggerDefinitionId !== 'undefined') {\n toReturn['triggerDefinitionId'] = this.triggerDefinitionId;\n }\n if (typeof this.triggerTaskDefinitionId !== 'undefined') {\n toReturn['triggerTaskDefinitionId'] = this.triggerTaskDefinitionId;\n }\n return toReturn;\n }\n}\n\n// *********************************\n\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'automata-api.vendasta-local.com',\n 'test': '',\n 'demo': 'automata-demo.apigateway.co',\n 'prod': 'automata-prod.apigateway.co',\n 'production': 'automata-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 AutomataApiService = /*#__PURE__*/(() => {\n class AutomataApiService {\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 createAutomation(r) {\n const request = r.toApiJson ? r : new CreateAutomationRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/CreateAutomation\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateAutomationResponse.fromProto(resp)));\n }\n getAutomation(r) {\n const request = r.toApiJson ? r : new GetAutomationRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/GetAutomation\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAutomationResponse.fromProto(resp)));\n }\n getMultiAutomations(r) {\n const request = r.toApiJson ? r : new GetMultiAutomationsRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/GetMultiAutomations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiAutomationsResponse.fromProto(resp)));\n }\n deleteAutomation(r) {\n const request = r.toApiJson ? r : new DeleteAutomationRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/DeleteAutomation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateAutomation(r) {\n const request = r.toApiJson ? r : new UpdateAutomationRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/UpdateAutomation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n publish(r) {\n const request = r.toApiJson ? r : new PublishRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/Publish\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n unpublish(r) {\n const request = r.toApiJson ? r : new UnpublishRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/Unpublish\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n hide(r) {\n const request = r.toApiJson ? r : new HideRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/Hide\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n unhide(r) {\n const request = r.toApiJson ? r : new UnhideRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/Unhide\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n startAutomationRunning(r) {\n const request = r.toApiJson ? r : new StartAutomationRunningRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/StartAutomationRunning\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n stopAutomationRunning(r) {\n const request = r.toApiJson ? r : new StopAutomationRunningRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/StopAutomationRunning\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n setAutomationToDraining(r) {\n const request = r.toApiJson ? r : new SetAutomationToDrainingRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/SetAutomationToDraining\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listAutomations(r) {\n const request = r.toApiJson ? r : new ListAutomationsRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/ListAutomations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAutomationsResponse.fromProto(resp)));\n }\n listAutomationsV2(r) {\n const request = r.toApiJson ? r : new ListAutomationsRequestV2(r);\n return this.http.post(this._host + \"/automata.v1.Automata/ListAutomationsV2\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAutomationsResponse.fromProto(resp)));\n }\n listActivities(r) {\n const request = r.toApiJson ? r : new ListActivitiesRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/ListActivities\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListActivitiesResponse.fromProto(resp)));\n }\n copyAutomation(r) {\n const request = r.toApiJson ? r : new CopyAutomationRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/CopyAutomation\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CopyAutomationResponse.fromProto(resp)));\n }\n getAutomationTags(r) {\n const request = r.toApiJson ? r : new GetAutomationTagsRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/GetAutomationTags\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAutomationTagsResponse.fromProto(resp)));\n }\n subscribe(r) {\n const request = r.toApiJson ? r : new SubscribeRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/Subscribe\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n unsubscribe(r) {\n const request = r.toApiJson ? r : new UnsubscribeRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/Unsubscribe\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getSubscription(r) {\n const request = r.toApiJson ? r : new GetSubscriptionRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/GetSubscription\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSubscriptionResponse.fromProto(resp)));\n }\n listActivitiesCurrentlyWaiting(r) {\n const request = r.toApiJson ? r : new ListActivitiesCurrentlyWaitingRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/ListActivitiesCurrentlyWaiting\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListActivitiesCurrentlyWaitingResponse.fromProto(resp)));\n }\n getWorkflowStepPredecessorOutputParams(r) {\n const request = r.toApiJson ? r : new GetWorkflowStepPredecessorOutputParamsRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/GetWorkflowStepPredecessorOutputParams\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetWorkflowStepPredecessorOutputParamsResponse.fromProto(resp)));\n }\n listAutomationRuns(r) {\n const request = r.toApiJson ? r : new ListAutomationRunsRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/ListAutomationRuns\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAutomationRunsResponse.fromProto(resp)));\n }\n countRunningWorkflows(r) {\n const request = r.toApiJson ? r : new CountRunningWorkflowsRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/CountRunningWorkflows\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CountRunningWorkflowsResponse.fromProto(resp)));\n }\n stopAllAutomationRuns(r) {\n const request = r.toApiJson ? r : new StopAllAutomationRunsRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/StopAllAutomationRuns\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getAutomationAccessRequirements(r) {\n const request = r.toApiJson ? r : new GetAutomationAccessRequirementsRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/GetAutomationAccessRequirements\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAutomationAccessRequirementsResponse.fromProto(resp)));\n }\n getAutomationUsage(r) {\n const request = r.toApiJson ? r : new GetAutomationUsageRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/GetAutomationUsage\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAutomationUsageResponse.fromProto(resp)));\n }\n summarizeAutomation(r) {\n const request = r.toApiJson ? r : new SummarizeAutomationRequest(r);\n return this.http.post(this._host + \"/automata.v1.Automata/SummarizeAutomation\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SummarizeAutomationResponse.fromProto(resp)));\n }\n }\n AutomataApiService.ɵfac = function AutomataApiService_Factory(t) {\n return new (t || AutomataApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n AutomataApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AutomataApiService,\n factory: AutomataApiService.ɵfac,\n providedIn: 'root'\n });\n return AutomataApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nclass PagedResponse {\n constructor(results, nextCursor, hasMore, totalResults) {\n this.results = results;\n this.nextCursor = nextCursor;\n this.hasMore = hasMore;\n this.totalResults = totalResults;\n }\n}\nfunction fillEmptyAutomationValues(automation) {\n if (!(automation.settings && automation.settings.runType)) {\n automation.settings = {\n runType: RunType.RUN_TYPE_MULTIPLE\n };\n }\n return new Automation(automation);\n}\nlet AutomataService = /*#__PURE__*/(() => {\n class AutomataService {\n constructor(api, hostService) {\n this.api = api;\n this.hostService = hostService;\n }\n createAutomation(automation, sourceId) {\n return this.api.createAutomation({\n automation: automation,\n sourceId: sourceId\n }).pipe(map(resp => resp.id));\n }\n getAutomation(id) {\n return this.api.getAutomation({\n id: id\n }).pipe(map(resp => fillEmptyAutomationValues(resp.automation)));\n }\n getMultiAutomations(partnerId, marketId, automationIds) {\n return this.api.getMultiAutomations({\n partnerId: partnerId,\n marketId: marketId,\n automationIds: automationIds\n }).pipe(map(resp => resp.automations));\n }\n updateAutomation(automation, fieldMask) {\n return this.api.updateAutomation({\n automation: automation,\n fieldMask: fieldMask\n }).pipe(map(() => true));\n }\n deleteAutomation(id) {\n return this.api.deleteAutomation({\n id: id\n }).pipe(map(() => true));\n }\n listAutomations(filters, cursor, pageSize) {\n const req = new ListAutomationsRequest({\n filters: filters,\n pagingOptions: {\n cursor: cursor,\n pageSize: pageSize\n }\n });\n return this.api.listAutomations(req).pipe(map(resp => {\n return new PagedResponse(resp.automations, resp.pagingMetadata.nextCursor, resp.pagingMetadata.hasMore, resp.pagingMetadata.totalResults);\n }));\n }\n listAutomationsV2(filters, cursor, pageSize) {\n const req = new ListAutomationsRequestV2({\n filters: filters,\n pagingOptions: {\n cursor: cursor,\n pageSize: pageSize\n }\n });\n return this.api.listAutomationsV2(req).pipe(map(resp => {\n return new PagedResponse(resp.automations, resp.pagingMetadata.nextCursor, resp.pagingMetadata.hasMore, resp.pagingMetadata.totalResults);\n }));\n }\n startAutomationRunning(id, settings, subscribeToNotifications) {\n return this.api.startAutomationRunning({\n id: id,\n settings: settings,\n subscribeToNotifications: subscribeToNotifications\n }).pipe(map(() => true));\n }\n stopAutomationRunning(id) {\n return this.api.stopAutomationRunning({\n id: id\n }).pipe(map(() => true));\n }\n setAutomationToDraining(id) {\n return this.api.setAutomationToDraining({\n id: id\n }).pipe(map(() => true));\n }\n stopAllAutomationRuns(partnerId) {\n return this.api.stopAllAutomationRuns({\n partnerId: partnerId\n }).pipe(map(() => true));\n }\n listActivities(filters, cursor, pageSize) {\n const req = new ListActivitiesRequest({\n filters: filters,\n pagingOptions: {\n cursor: cursor,\n pageSize: pageSize\n }\n });\n return this.api.listActivities(req).pipe(map(resp => {\n return new PagedResponse(resp.activities, resp.pagingMetadata.nextCursor, resp.pagingMetadata.hasMore, resp.pagingMetadata.totalResults);\n }));\n }\n listCurrentlyWaitingActivities(partnerId, marketIds, automationId, workflowStepId, cursor, pageSize) {\n const req = new ListActivitiesCurrentlyWaitingRequest({\n filters: {\n automationId: automationId,\n workflowStepId: workflowStepId,\n partnerId: partnerId,\n marketIds: marketIds\n },\n pagingOptions: {\n cursor: cursor,\n pageSize: pageSize\n }\n });\n return this.api.listActivitiesCurrentlyWaiting(req).pipe(map(resp => {\n return new PagedResponse(resp.activities, resp.pagingMetadata.nextCursor, resp.pagingMetadata.hasMore, resp.pagingMetadata.totalResults);\n }));\n }\n getWorkflowStepPredecessorOutputParams(automationId, workflowStepParentIds, onlyIncludeNamedSteps) {\n return this.api.getWorkflowStepPredecessorOutputParams({\n automationId: automationId,\n workflowStepParentIds: workflowStepParentIds,\n onlyIncludeNamedSteps: onlyIncludeNamedSteps\n }).pipe(map(resp => resp.workflowStepOutputParameters || []));\n }\n copyAutomation(originalAutomationId, name) {\n return this.api.copyAutomation({\n originalAutomationId: originalAutomationId,\n name: name\n }).pipe(map(resp => resp.id));\n }\n getOauth2EntryHandlerUrl(automationId, action, originUrl, settings, subscribeToNotifications) {\n const settingsString = JSON.stringify(settings);\n const params = {\n automation: automationId,\n action: action,\n redirect: originUrl,\n settings: settingsString,\n subscribeToNotifications: subscribeToNotifications || false\n };\n const query = Object.keys(params).map(k => encodeURIComponent(k) + '=' + encodeURIComponent(params[k])).join('&');\n return this.hostService.hostWithScheme + '/auth/entry?' + query;\n }\n getTags(partnerId, marketIds, type) {\n const automationType = !!type ? type : AutomationType.AUTOMATION_TYPE_STANDARD;\n return this.api.getAutomationTags({\n partnerId: partnerId,\n marketIds: marketIds,\n automationType: automationType\n }).pipe(map(resp => resp.tags || []));\n }\n publish(automationId) {\n return this.api.publish({\n id: automationId\n }).pipe(map(() => true));\n }\n unpublish(automationId) {\n return this.api.unpublish({\n id: automationId\n }).pipe(map(() => true));\n }\n hide(automationId) {\n return this.api.hide({\n id: automationId\n }).pipe(map(() => true));\n }\n unhide(automationId) {\n return this.api.unhide({\n id: automationId\n }).pipe(map(() => true));\n }\n subscribe(partnerId, marketIds, automationId) {\n return this.api.subscribe({\n partnerId: partnerId,\n marketIds: marketIds,\n automationId: automationId\n }).pipe(map(() => true));\n }\n unsubscribe(automationId) {\n return this.api.unsubscribe({\n automationId: automationId\n }).pipe(map(() => true));\n }\n getSubscription(automationId) {\n return this.api.getSubscription({\n automationId: automationId\n }).pipe(map(resp => resp?.subscription));\n }\n listAutomationRuns(filters, cursor, pageSize) {\n const req = new ListAutomationRunsRequest({\n filters: filters,\n pagingOptions: {\n cursor: cursor,\n pageSize: pageSize\n }\n });\n return this.api.listAutomationRuns(req).pipe(map(resp => {\n return new PagedResponse(resp.automationRuns, resp.pagingMetadata.nextCursor, resp.pagingMetadata.hasMore, resp.pagingMetadata.totalResults);\n }));\n }\n getAutomationAccessRequirements(automationId) {\n return this.api.getAutomationAccessRequirements({\n automationId: automationId\n }).pipe(map(res => res));\n }\n getAutomationUsage(namespace, context) {\n return this.api.getAutomationUsage({\n namespace: namespace,\n context: context\n });\n }\n summarizeAutomation(automationId, prompts) {\n return this.api.summarizeAutomation({\n automationId: automationId,\n prompts: prompts\n });\n }\n }\n AutomataService.ɵfac = function AutomataService_Factory(t) {\n return new (t || AutomataService)(i0.ɵɵinject(AutomataApiService), i0.ɵɵinject(HostService));\n };\n AutomataService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AutomataService,\n factory: AutomataService.ɵfac,\n providedIn: 'root'\n });\n return AutomataService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet AutomataDevelopmentApiService = /*#__PURE__*/(() => {\n class AutomataDevelopmentApiService {\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 createEventTriggerDefinition(r) {\n const request = r.toApiJson ? r : new CreateEventTriggerDefinitionRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDevelopment/CreateEventTriggerDefinition\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateEventTriggerDefinition(r) {\n const request = r.toApiJson ? r : new UpdateEventTriggerDefinitionRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDevelopment/UpdateEventTriggerDefinition\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getEventTriggerDefinition(r) {\n const request = r.toApiJson ? r : new GetEventTriggerDefinitionRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDevelopment/GetEventTriggerDefinition\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetEventTriggerDefinitionResponse.fromProto(resp)));\n }\n deleteEventTriggerDefinition(r) {\n const request = r.toApiJson ? r : new DeleteEventTriggerDefinitionRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDevelopment/DeleteEventTriggerDefinition\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listEventTriggerDefinition(r) {\n const request = r.toApiJson ? r : new ListEventTriggerDefinitionRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDevelopment/ListEventTriggerDefinition\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListEventTriggerDefinitionResponse.fromProto(resp)));\n }\n createTaskDefinition(r) {\n const request = r.toApiJson ? r : new CreateTaskDefinitionRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDevelopment/CreateTaskDefinition\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateTaskDefinitionResponse.fromProto(resp)));\n }\n updateTaskDefinition(r) {\n const request = r.toApiJson ? r : new UpdateTaskDefinitionRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDevelopment/UpdateTaskDefinition\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getTaskDefinition(r) {\n const request = r.toApiJson ? r : new GetTaskDefinitionRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDevelopment/GetTaskDefinition\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetTaskDefinitionResponse.fromProto(resp)));\n }\n getMultiTaskDefinition(r) {\n const request = r.toApiJson ? r : new GetMultiTaskDefinitionRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDevelopment/GetMultiTaskDefinition\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiTaskDefinitionResponse.fromProto(resp)));\n }\n deleteTaskDefinition(r) {\n const request = r.toApiJson ? r : new DeleteTaskDefinitionRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDevelopment/DeleteTaskDefinition\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listTaskDefinitions(r) {\n const request = r.toApiJson ? r : new ListTaskDefinitionsRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDevelopment/ListTaskDefinitions\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListTaskDefinitionsResponse.fromProto(resp)));\n }\n }\n AutomataDevelopmentApiService.ɵfac = function AutomataDevelopmentApiService_Factory(t) {\n return new (t || AutomataDevelopmentApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n AutomataDevelopmentApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AutomataDevelopmentApiService,\n factory: AutomataDevelopmentApiService.ɵfac,\n providedIn: 'root'\n });\n return AutomataDevelopmentApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet AutomataDevelopmentService = /*#__PURE__*/(() => {\n class AutomataDevelopmentService {\n constructor(api) {\n this.api = api;\n }\n createEventTriggerDefinition(eventTriggerDefinition) {\n return this.api.createEventTriggerDefinition({\n eventTriggerDefinition: eventTriggerDefinition\n }).pipe(map(() => true));\n }\n getEventTriggerDefinition(eventTypeId) {\n return this.api.getEventTriggerDefinition({\n eventTypeId: eventTypeId\n }).pipe(map(resp => resp.eventTriggerDefinition));\n }\n deleteEventTriggerDefinition(eventTypeId) {\n return this.api.deleteEventTriggerDefinition({\n eventTypeId: eventTypeId\n }).pipe(map(() => true));\n }\n updateEventTrigger(eventTriggerDefinition, fieldMask) {\n return this.api.updateEventTriggerDefinition({\n eventTriggerDefinition: eventTriggerDefinition,\n fieldMask: fieldMask\n }).pipe(map(() => true));\n }\n createTaskDefinition(taskDefinition) {\n return this.api.createTaskDefinition({\n taskDefinition: taskDefinition\n }).pipe(map(() => true));\n }\n getTaskDefinition(id) {\n return this.api.getTaskDefinition({\n id: id\n }).pipe(map(resp => resp.taskDefinition));\n }\n getMultiTaskDefinition(ids) {\n return this.api.getMultiTaskDefinition({\n ids: ids\n }).pipe(map(resp => resp.taskDefinitions));\n }\n updateTaskDefinition(taskDefinition, fieldMask) {\n return this.api.updateTaskDefinition({\n taskDefinition: taskDefinition,\n fieldMask: fieldMask\n }).pipe(map(() => true));\n }\n deleteTaskDefinition(id) {\n return this.api.deleteTaskDefinition({\n id: id\n }).pipe(map(() => true));\n }\n listTaskDefinitions(filters, validationData, cursor, pageSize) {\n return this.api.listTaskDefinitions({\n filters: filters,\n validationData: validationData,\n pagingOptions: {\n cursor: cursor,\n pageSize: pageSize\n }\n }).pipe(map(resp => {\n return new PagedResponse(resp.taskDefinitions, resp.pagingMetadata.nextCursor, resp.pagingMetadata.hasMore, resp.pagingMetadata.totalResults);\n }));\n }\n listEventTriggerDefinitions(filters, cursor, pageSize) {\n return this.api.listEventTriggerDefinition({\n filters: filters,\n pagingOptions: {\n cursor: cursor,\n pageSize: pageSize\n }\n }).pipe(map(resp => {\n return new PagedResponse(resp.eventTriggerDefinitions, resp.pagingMetadata.nextCursor, resp.pagingMetadata.hasMore, resp.pagingMetadata.totalResults);\n }));\n }\n }\n AutomataDevelopmentService.ɵfac = function AutomataDevelopmentService_Factory(t) {\n return new (t || AutomataDevelopmentService)(i0.ɵɵinject(AutomataDevelopmentApiService));\n };\n AutomataDevelopmentService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AutomataDevelopmentService,\n factory: AutomataDevelopmentService.ɵfac,\n providedIn: 'root'\n });\n return AutomataDevelopmentService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet AutomataDefaultAutomationsApiService = /*#__PURE__*/(() => {\n class AutomataDefaultAutomationsApiService {\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 getConfiguration(r) {\n const request = r.toApiJson ? r : new GetConfigurationRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDefaultAutomations/GetConfiguration\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetConfigurationResponse.fromProto(resp)));\n }\n deleteConfiguration(r) {\n const request = r.toApiJson ? r : new DeleteConfigurationRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDefaultAutomations/DeleteConfiguration\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n disableForMarkets(r) {\n const request = r.toApiJson ? r : new DisableForMarketsRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDefaultAutomations/DisableForMarkets\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n enableForMarkets(r) {\n const request = r.toApiJson ? r : new EnableForMarketsRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDefaultAutomations/EnableForMarkets\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listDefaultAutomationsForPartner(r) {\n const request = r.toApiJson ? r : new ListDefaultAutomationsForPartnerRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDefaultAutomations/ListDefaultAutomationsForPartner\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListDefaultAutomationsForPartnerResponse.fromProto(resp)));\n }\n listDefaultAutomations(r) {\n const request = r.toApiJson ? r : new ListDefaultAutomationsRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDefaultAutomations/ListDefaultAutomations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListDefaultAutomationsResponse.fromProto(resp)));\n }\n enableAutomationConfigurationV2(r) {\n const request = r.toApiJson ? r : new EnableAutomationConfigurationRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDefaultAutomations/EnableAutomationConfigurationV2\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n disableAutomationConfigurationV2(r) {\n const request = r.toApiJson ? r : new DisableAutomationConfigurationRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDefaultAutomations/DisableAutomationConfigurationV2\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getAutomationConfigurationV2(r) {\n const request = r.toApiJson ? r : new GetAutomationConfigurationV2Request(r);\n return this.http.post(this._host + \"/automata.v1.AutomataDefaultAutomations/GetAutomationConfigurationV2\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAutomationConfigurationV2Response.fromProto(resp)));\n }\n }\n AutomataDefaultAutomationsApiService.ɵfac = function AutomataDefaultAutomationsApiService_Factory(t) {\n return new (t || AutomataDefaultAutomationsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n AutomataDefaultAutomationsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AutomataDefaultAutomationsApiService,\n factory: AutomataDefaultAutomationsApiService.ɵfac,\n providedIn: 'root'\n });\n return AutomataDefaultAutomationsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet AutomataOperationsApiService = /*#__PURE__*/(() => {\n class AutomataOperationsApiService {\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 startAccountGroupAutomation(r) {\n const request = r.toApiJson ? r : new StartAccountGroupAutomationRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataOperations/StartAccountGroupAutomation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n searchManualAutomations(r) {\n const request = r.toApiJson ? r : new SearchManualAutomationsRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataOperations/SearchManualAutomations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SearchManualAutomationsResponse.fromProto(resp)));\n }\n rateLimitCheck(r) {\n const request = r.toApiJson ? r : new RateLimitCheckRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataOperations/RateLimitCheck\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n startAutomation(r) {\n const request = r.toApiJson ? r : new StartAutomationRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataOperations/StartAutomation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n sendTestWebhook(r) {\n const request = r.toApiJson ? r : new SendTestWebhookRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataOperations/SendTestWebhook\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n endAutomationRun(r) {\n const request = r.toApiJson ? r : new EndAutomationRunRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataOperations/EndAutomationRun\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n startMigration() {\n return this.http.post(this._host + \"/automata.v1.AutomataOperations/StartMigration\", {}, {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n continueAutomationFromStep(r) {\n const request = r.toApiJson ? r : new ContinueAutomationFromStepRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataOperations/ContinueAutomationFromStep\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n emitAutomationEvent(r) {\n const request = r.toApiJson ? r : new EmitAutomationEventRequest(r);\n return this.http.post(this._host + \"/automata.v1.AutomataOperations/EmitAutomationEvent\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n AutomataOperationsApiService.ɵfac = function AutomataOperationsApiService_Factory(t) {\n return new (t || AutomataOperationsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n AutomataOperationsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AutomataOperationsApiService,\n factory: AutomataOperationsApiService.ɵfac,\n providedIn: 'root'\n });\n return AutomataOperationsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet AutomataDefaultAutomationsService = /*#__PURE__*/(() => {\n class AutomataDefaultAutomationsService {\n constructor(api) {\n this.api = api;\n }\n /**\n * @deprecated Use getConfigurationV2 instead\n */\n getConfiguration(partnerId, automationId) {\n return this.api.getConfiguration({\n partnerId: partnerId,\n automationId: automationId\n }).pipe(map(resp => new AutomationConfiguration(resp.configuration)));\n }\n /**\n * @deprecated There is no replacement for this method\n */\n deleteConfiguration(partnerId, automationId) {\n return this.api.deleteConfiguration({\n partnerId: partnerId,\n automationId: automationId\n }).pipe(map(() => true));\n }\n /**\n * @deprecated Use disable instead\n */\n disableForMarkets(partnerId, automationId, marketIds) {\n return this.api.disableForMarkets({\n partnerId: partnerId,\n automationId: automationId,\n marketIds: marketIds\n }).pipe(map(() => true));\n }\n /**\n * @deprecated Use enable instead\n */\n enableForMarkets(partnerId, automationId, marketIds) {\n return this.api.enableForMarkets({\n partnerId: partnerId,\n automationId: automationId,\n marketIds: marketIds\n }).pipe(map(() => true));\n }\n /**\n * @deprecated Use listDefaultAutomations instead\n */\n listDefaultAutomationsForPartner(filters, cursor, pageSize) {\n const req = new ListDefaultAutomationsForPartnerRequest({\n filters: filters,\n pagingOptions: {\n cursor: cursor,\n pageSize: pageSize\n }\n });\n return this.api.listDefaultAutomationsForPartner(req).pipe(map(resp => {\n return new PagedResponse(resp.results, resp.pagingMetadata.nextCursor, resp.pagingMetadata.hasMore, resp.pagingMetadata.totalResults);\n }));\n }\n listDefaultAutomations(filters, cursor, pageSize) {\n const req = new ListDefaultAutomationsRequest({\n filters: filters,\n pagingOptions: {\n cursor: cursor,\n pageSize: pageSize\n }\n });\n return this.api.listDefaultAutomations(req).pipe(map(resp => {\n return new PagedResponse(resp.results, resp.pagingMetadata.nextCursor, resp.pagingMetadata.hasMore, resp.pagingMetadata.totalResults);\n }));\n }\n enable(automationId, context, namespace) {\n return this.api.enableAutomationConfigurationV2({\n automationConfigurationId: {\n automationId: automationId,\n context: context,\n namespace: namespace\n }\n }).pipe(map(() => true));\n }\n disable(automationId, context, namespace) {\n return this.api.disableAutomationConfigurationV2({\n automationConfigurationId: {\n automationId: automationId,\n context: context,\n namespace: namespace\n }\n }).pipe(map(() => true));\n }\n getConfigurationV2(automationId, context, namespace) {\n return this.api.getAutomationConfigurationV2({\n automationConfigurationId: {\n automationId: automationId,\n context: context,\n namespace: namespace\n }\n }).pipe(map(resp => new AutomationConfigurationV2(resp.configuration)));\n }\n }\n AutomataDefaultAutomationsService.ɵfac = function AutomataDefaultAutomationsService_Factory(t) {\n return new (t || AutomataDefaultAutomationsService)(i0.ɵɵinject(AutomataDefaultAutomationsApiService));\n };\n AutomataDefaultAutomationsService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AutomataDefaultAutomationsService,\n factory: AutomataDefaultAutomationsService.ɵfac,\n providedIn: 'root'\n });\n return AutomataDefaultAutomationsService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet AutomataOperationsService = /*#__PURE__*/(() => {\n class AutomataOperationsService {\n constructor(api) {\n this.api = api;\n }\n startAccountGroupAutomation(automationId, accountGroupIds, actionListName) {\n return this.api.startAccountGroupAutomation({\n automationId: automationId,\n accountGroupIds: accountGroupIds,\n actionListName: actionListName\n }).pipe(map(() => true));\n }\n searchManualAutomations(searchTerm, partnerId, marketIds, onlySalesRunnable, entityType, pageSize, cursor) {\n if (typeof entityType === 'number') {\n entityType = [entityType];\n }\n return this.api.searchManualAutomations({\n filters: {\n partnerId: partnerId,\n marketIds: marketIds,\n onlySalesRunnable: onlySalesRunnable,\n entityTypes: entityType\n },\n searchTerm: searchTerm,\n pagingOptions: {\n pageSize: pageSize,\n cursor: cursor\n }\n }).pipe(map(resp => {\n return new PagedResponse(resp?.automations?.map(a => fillEmptyAutomationValues(a)), resp.pagingMetadata.nextCursor, resp.pagingMetadata.hasMore);\n }));\n }\n sendTestWebhook(partnerId, marketId, automationId, url, verifierToken, additionalFields) {\n return this.api.sendTestWebhook({\n partnerId: partnerId,\n marketId: marketId,\n automationId: automationId,\n url: url,\n verifierToken: verifierToken,\n additionalFields: additionalFields\n }).pipe(map(() => true));\n }\n endAutomationRun(automationId, mainRunId, entityId, workflowStepId, stepExecutionUUID) {\n return this.api.endAutomationRun({\n automationId: automationId,\n mainRunId: mainRunId,\n entityId: entityId,\n workflowStepId: workflowStepId,\n stepExecutionUuid: stepExecutionUUID\n }).pipe(map(() => true));\n }\n continueAutomationFromStep(automationId, entityId, previousRunId, previousWorkflowStepId, workflowStepIdToContinue) {\n return this.api.continueAutomationFromStep({\n automationId: automationId,\n entityId: entityId,\n previousRunId: previousRunId,\n previousWorkflowStepId: previousWorkflowStepId,\n workflowStepIdToContinue: workflowStepIdToContinue\n }).pipe(map(() => true));\n }\n startAutomation(automationId, accountGroupIds, orderKeys, payloads) {\n if (accountGroupIds && (accountGroupIds || []).length > 0) {\n payloads = accountGroupIds.map(accountGroupId => ({\n entityId: accountGroupId\n }));\n }\n if (orderKeys && (orderKeys || []).length > 0) {\n payloads = orderKeys.map(orderKey => ({\n entityId: orderKey.orderId\n }));\n }\n return this.api.startAutomation({\n automationId: automationId,\n payloads: payloads\n }).pipe(map(() => true));\n }\n }\n AutomataOperationsService.ɵfac = function AutomataOperationsService_Factory(t) {\n return new (t || AutomataOperationsService)(i0.ɵɵinject(AutomataOperationsApiService));\n };\n AutomataOperationsService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AutomataOperationsService,\n factory: AutomataOperationsService.ɵfac,\n providedIn: 'root'\n });\n return AutomataOperationsService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nvar Comparison = /*#__PURE__*/function (Comparison) {\n Comparison[\"And\"] = \"And\";\n Comparison[\"Or\"] = \"Or\";\n Comparison[\"Not\"] = \"Not\";\n Comparison[\"StringExists\"] = \"StringExists\";\n Comparison[\"StringEquals\"] = \"StringEquals\";\n Comparison[\"StringEqualFold\"] = \"StringEqualFold\";\n Comparison[\"StringContains\"] = \"StringContains\";\n Comparison[\"StringContainsFold\"] = \"StringContainsFold\";\n Comparison[\"BoolEquals\"] = \"BoolEquals\";\n Comparison[\"BoolListContains\"] = \"BoolListContains\";\n Comparison[\"StringListContains\"] = \"StringListContains\";\n Comparison[\"StringListContainsAll\"] = \"StringListContainsAll\";\n Comparison[\"StringListContainsPrefix\"] = \"StringListContainsPrefix\";\n Comparison[\"StringListContainsPrefixAll\"] = \"StringListContainsPrefixAll\";\n Comparison[\"StringListContainsFold\"] = \"StringListContainsFold\";\n Comparison[\"IsOneOfInStringListFold\"] = \"IsOneOfInStringListFold\";\n Comparison[\"NumberEquals\"] = \"NumberEquals\";\n Comparison[\"NumberGreaterThan\"] = \"NumberGreaterThan\";\n Comparison[\"NumberExists\"] = \"NumberExists\";\n Comparison[\"RandomNumberLessThan\"] = \"RandomNumberLessThan\";\n Comparison[\"TimeEquals\"] = \"TimeEquals\";\n Comparison[\"TimeAfter\"] = \"TimeAfter\";\n Comparison[\"TimeBefore\"] = \"TimeBefore\";\n Comparison[\"AlwaysTrue\"] = \"AlwaysTrue\";\n Comparison[\"OrderActionEquals\"] = \"OrderActionEquals\";\n Comparison[\"ListSizeGreaterThan\"] = \"ListSizeGreaterThan\";\n Comparison[\"Jump\"] = \"Jump\";\n return Comparison;\n}(Comparison || {});\nvar ValidationErrorCode = /*#__PURE__*/function (ValidationErrorCode) {\n ValidationErrorCode[ValidationErrorCode[\"GenericError\"] = 0] = \"GenericError\";\n ValidationErrorCode[ValidationErrorCode[\"StepMissingDataError\"] = 1] = \"StepMissingDataError\";\n ValidationErrorCode[ValidationErrorCode[\"ExtractDataError\"] = 2] = \"ExtractDataError\";\n ValidationErrorCode[ValidationErrorCode[\"BuildGraphError\"] = 3] = \"BuildGraphError\";\n ValidationErrorCode[ValidationErrorCode[\"InvalidWorkflowError\"] = 4] = \"InvalidWorkflowError\";\n ValidationErrorCode[ValidationErrorCode[\"NotFoundError\"] = 5] = \"NotFoundError\";\n return ValidationErrorCode;\n}(ValidationErrorCode || {});\nvar Oauth2Action = /*#__PURE__*/function (Oauth2Action) {\n Oauth2Action[\"Start\"] = \"start\";\n Oauth2Action[\"UpdateToken\"] = \"update-token\";\n return Oauth2Action;\n}(Oauth2Action || {});\n// Did Not Run Reason is the possible values of the activityData.reason for an activity with the stage of Stage_STAGE_WORKFLOW_DID_NOT_RUN\nvar DidNotRunReason = /*#__PURE__*/function (DidNotRunReason) {\n DidNotRunReason[\"AutomationRunType\"] = \"AutomationRunType\";\n DidNotRunReason[\"AutomationOneAtATimeRunType\"] = \"AutomationRunTypeOneAtATime\";\n DidNotRunReason[\"RateLimited\"] = \"RateLimited\";\n DidNotRunReason[\"TriggerFiltersFailed\"] = \"TriggerFiltersFailed\";\n return DidNotRunReason;\n}(DidNotRunReason || {});\n/* eslint-disable */\nclass Rule {\n static fromRuleInterface(ri) {\n const variablePath = ri.variablePath || ri.variable_path;\n const comparison = ri.comparison;\n let rawValue = ri.value;\n if (typeof ri.value === 'string') {\n try {\n rawValue = JSON.parse(ri.value);\n } catch (e) {\n // value was just a bare string\n }\n }\n let value = rawValue;\n if (comparison === Comparison.Not) {\n value = Rule.fromRuleInterface(rawValue);\n }\n if (comparison === Comparison.And || comparison === Comparison.Or) {\n const ruleList = [];\n for (let i = 0; i < rawValue.length; i++) {\n ruleList[i] = Rule.fromRuleInterface(rawValue[i]);\n }\n value = ruleList;\n }\n const rule = new Rule(variablePath, value, ri.next);\n rule.comparison = ri.comparison;\n return rule;\n }\n constructor(variablePath, value, next) {\n this.variablePath = variablePath;\n this.variable_path = variablePath;\n this.value = value;\n this.next = next;\n }\n toRuleInterface() {\n return {\n variablePath: this.getVariablePath(),\n value: JSON.stringify(this.value),\n next: this.next,\n comparison: this.comparison\n };\n }\n // deepEquals will compare the with the rule passed in to see if they have the same logical structure\n // if ignoreValue is true it won't compare against values that aren't rules (not) or a list of rules (and/or)\n deepEquals(rule, ignoreValue) {\n if (this.getVariablePath() !== rule.getVariablePath()) {\n return false;\n }\n if (this.next !== rule.next) {\n return false;\n }\n if (this.comparison !== rule.comparison) {\n return false;\n }\n if (this.comparison === Comparison.Not) {\n const knownAValue = this.value;\n const knownBValue = rule.value;\n return knownAValue.deepEquals(knownBValue, ignoreValue);\n } else if (this.comparison === Comparison.And || this.comparison === Comparison.Or) {\n const knownAValue = this.value;\n const knownBValue = rule.value;\n if (knownAValue.length !== knownBValue.length) {\n return false;\n }\n for (let i = 0; i < knownAValue.length; i++) {\n const same = knownAValue[i].deepEquals(knownBValue[i], ignoreValue);\n if (!same) {\n return false;\n }\n }\n } else if (!ignoreValue) {\n // Only compare the value if the comparison isn't a logical operator\n if (this.comparison === Comparison.StringListContains || this.comparison === Comparison.StringListContainsAll || this.comparison === Comparison.StringListContainsPrefix || this.comparison === Comparison.StringListContainsPrefixAll || this.comparison === Comparison.StringListContainsFold || this.comparison === Comparison.IsOneOfInStringListFold) {\n const value1 = this.value;\n const value2 = rule.value;\n if (value1.length !== value2.length) {\n return false;\n }\n value1.map((value, index) => {\n if (value !== value2[index]) {\n return false;\n }\n });\n return true;\n }\n if (this.value !== rule.value) {\n return false;\n }\n }\n return true;\n }\n // extractValue returns the value or list of values of the rule tree.\n // If there is an AND/OR in the tree the child values are converted to a list\n // The value of NOT is ignored and it's child value is returned.\n // A typed rules eg StringEquals will return the string used for comparison\n extractValue() {\n if (this.comparison === Comparison.Not) {\n const knownRule = this.value;\n return knownRule.extractValue();\n }\n if (this.comparison === Comparison.And || this.comparison === Comparison.Or) {\n const values = [];\n const knownChildRules = this.value;\n for (let i = 0; i < knownChildRules.length; i++) {\n values[i] = knownChildRules[i].extractValue();\n }\n return values;\n }\n return this.value;\n }\n // setValue expects a list if the comparison is AND/OR, and a single value otherwise\n // If the comparison is AND/OR it will iterate the child rules and recursively set the value. If a list of values\n // passed in does not match the count of the children the values will be set in order until one is exhausted\n // If the comparison is NOT the value of the child will be set instead\n // If the comparison is a typed rule eg StringEquals it will set the value field\n setValue(value) {\n if (this.comparison === Comparison.Not) {\n const knownRule = this.value;\n knownRule.setValue(value);\n return;\n }\n if (this.comparison === Comparison.And || this.comparison === Comparison.Or) {\n const knownValue = value;\n const knownChildRules = this.value;\n const maxLength = Math.min(knownValue.length, knownChildRules.length);\n for (let i = 0; i < maxLength; i++) {\n knownChildRules[i].setValue(knownValue[i]);\n }\n return;\n }\n this.value = value;\n }\n getVariablePath() {\n if (this.comparison === Comparison.Not) {\n const knownRule = this.value;\n return knownRule.getVariablePath();\n }\n // Not really sure what to return for AND/OR and not sure if this is even required so just returning the\n // concatenated variable paths\n if (this.comparison === Comparison.And || this.comparison === Comparison.Or) {\n const values = [];\n const knownChildRules = this.value;\n for (let i = 0; i < knownChildRules.length; i++) {\n values[i] = knownChildRules[i].getVariablePath();\n }\n return values.reduce((prev, cur) => prev + cur);\n }\n return this.variablePath || this.variable_path;\n }\n /**\n * listValuesByVariablePath returns the value(s) of the entry in the rule's value for a given\n * variablePath. It's returned in a list to support scenarios where there is more than one rule\n * that matches the variablePath. Returns empty list if no entry found for the given variablePath.\n *\n * For example `.path` returns values for {.WorkflowStep.stepId.path} and {.path}\n * This also works for `.path.subpath` on {.WorkflowStep.stepId.path.subpath}\n */\n listValuesByVariablePath(variablePath) {\n // Remove {} so we can support {.path} as an input\n variablePath = variablePath.replace(\"{\", \"\").replace(\"}\", \"\");\n if (this.comparison === Comparison.Not) {\n const knownRule = this.value;\n if (knownRule.getVariablePath().includes(variablePath)) {\n return [knownRule.value];\n }\n }\n // For AND/OR, return the concatenated values\n if (this.comparison === Comparison.And || this.comparison === Comparison.Or) {\n const values = [];\n const knownChildRules = this.value;\n for (let i = 0; i < knownChildRules.length; i++) {\n const child = knownChildRules[i];\n values.push(...child.listValuesByVariablePath(variablePath));\n }\n return values;\n }\n if (this.getVariablePath().includes(variablePath)) {\n return [this.value];\n }\n return [];\n }\n // setValueByItsVariablePath sets the value of a particular entry in the rule's value given\n // it's variablePath\n setValueByItsVariablePath(variablePath, newValue) {\n // handle when the value is a single value\n if (this.value.length === undefined) {\n if (this.getVariablePath() === variablePath) {\n this.setValue(newValue);\n }\n return;\n }\n // otherwise it's a list\n this.value.map(v => {\n if (v.variablePath === variablePath) {\n v.setValue(newValue);\n }\n return v;\n });\n }\n}\nclass Not extends Rule {\n constructor(value, next) {\n super('', value, next);\n this.comparison = Comparison.Not;\n }\n}\nclass And extends Rule {\n constructor(value, next) {\n super('', value, next);\n this.comparison = Comparison.And;\n }\n}\nclass Or extends Rule {\n constructor(value, next) {\n super('', value, next);\n this.comparison = Comparison.Or;\n }\n}\nclass StringExists extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.StringExists;\n }\n}\nclass StringEquals extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.StringEquals;\n }\n}\nclass StringEqualFold extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.StringEqualFold;\n }\n}\nclass StringContains extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.StringContains;\n }\n}\nclass StringContainsFold extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.StringContainsFold;\n }\n}\nclass BoolEquals extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.BoolEquals;\n }\n}\nclass BoolListContains extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.BoolListContains;\n }\n}\nclass ListSizeGreaterThan extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.ListSizeGreaterThan;\n }\n}\nclass StringListContains extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.StringListContains;\n }\n}\nclass StringListContainsAll extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.StringListContainsAll;\n }\n}\nclass StringListContainsPrefix extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.StringListContainsPrefix;\n }\n}\nclass StringListContainsPrefixAll extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.StringListContainsPrefixAll;\n }\n}\nclass StringListContainsFold extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.StringListContainsFold;\n }\n}\nclass IsOneOfInStringListFold extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.IsOneOfInStringListFold;\n }\n}\nclass NumberGreaterThan extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.NumberGreaterThan;\n }\n}\nclass NumberEquals extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.NumberEquals;\n }\n}\nclass NumberExists extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.NumberExists;\n }\n}\nclass RandomNumberLessThan extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.RandomNumberLessThan;\n }\n}\nclass TimeAfter extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.TimeAfter;\n }\n}\nclass TimeBefore extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.TimeBefore;\n }\n}\nclass TimeEquals extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.TimeEquals;\n }\n}\nclass AlwaysTrue extends Rule {\n constructor(next) {\n super('', null, next);\n this.comparison = Comparison.AlwaysTrue;\n }\n}\nclass OrderActionEquals extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.OrderActionEquals;\n }\n}\nclass Jump extends Rule {\n constructor() {\n super(...arguments);\n this.comparison = Comparison.Jump;\n }\n}\n\n// NOTE: This logic should be consistent with the utils functions in the automata repo\nfunction IsAutomationAcceptingNewEvents(a) {\n return a?.runningState === RunningState.RUNNING_STATE_RUNNING;\n}\nfunction IsAutomationDraining(a) {\n return a?.runningState === RunningState.RUNNING_STATE_DRAINING;\n}\nfunction IsAutomationStopped(a) {\n return !a || a.runningState === RunningState.RUNNING_STATE_STOPPED;\n}\nfunction IsAutomationAPublishedTemplate(a) {\n return !!a?.isTemplate && !!a?.templatePublishedTime;\n}\nfunction IsAutomationAPublishedDefaultAutomation(a) {\n return !!a?.isDefaultAutomation && !IsAutomationStopped(a);\n}\nfunction DoesAutomationHaveABrokenToken(a) {\n return !!a?.token?.brokenTime;\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Activity, AlwaysTrue, And, AutomataDefaultAutomationsService, AutomataDevelopmentService, AutomataOperationsService, AutomataService, Automation, AutomationConfiguration, AutomationConfigurationV2, AutomationPublishedState, AutomationSettings, AutomationStatus, AutomationType, BoolEquals, BoolListContains, Choices, Comparison, Context, DataType, DefaultAutomation, DefaultAutomationStatus, DefaultAutomationWithConfiguration, DidNotRunReason, DoesAutomationHaveABrokenToken, EntityType, ErrorHandlingType, EventTriggerDefinition, FieldMask, FlattenedConfigDataType, IsAutomationAPublishedDefaultAutomation, IsAutomationAPublishedTemplate, IsAutomationAcceptingNewEvents, IsAutomationDraining, IsAutomationStopped, IsOneOfInStringListFold, Jump, ListSizeGreaterThan, ListTaskDefinition, Not, NumberEquals, NumberExists, NumberGreaterThan, Oauth2Action, Or, OrderActionEquals, OutputParameter, PagedResponse, PublishedState, RandomNumberLessThan, RateLimitUnit, Rule, RunType, RunningState, SleepWaitConditions, Stage, StringContains, StringContainsFold, StringEqualFold, StringEquals, StringExists, StringListContains, StringListContainsAll, StringListContainsFold, StringListContainsPrefix, StringListContainsPrefixAll, TaskDefinition, TaskType, TimeAfter, TimeBefore, TimeEquals, Token, ValidationErrorCode, ValidationType, WorkflowStep, WorkflowStepOutputParameterContainer };\n"],"mappings":"sJAWA,IAAMA,EAAN,MAAMC,CAAQ,CACZ,OAAO,UAAUC,EAAO,CACtB,IAAIC,EAAI,IAAIF,EACZ,OAAAE,EAAI,OAAO,OAAOA,EAAGD,CAAK,EACtBA,EAAM,QACRC,EAAE,MAAQD,EAAM,MAAM,IAAIE,GAAO,SAAS,GAErCD,CACT,CACA,YAAYE,EAAQ,CACbA,GAGL,OAAO,OAAO,KAAMA,CAAM,CAC5B,CACA,WAAY,CACV,IAAMC,EAAW,CAAC,EAClB,OAAI,OAAO,KAAK,MAAU,KAAe,KAAK,QAAU,OACtDA,EAAS,MAAW,cAAe,KAAK,MAAQ,KAAK,MAAM,UAAU,EAAI,KAAK,OAE5E,OAAO,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c,CACZ,MAAM,GAAG,SAAS,EAClB,KAAK,WAAaC,EAAW,SAC/B,CACF,EACMM,GAAN,cAAyBP,CAAK,CAC5B,aAAc,CACZ,MAAM,GAAG,SAAS,EAClB,KAAK,WAAaC,EAAW,UAC/B,CACF,EACMO,GAAN,cAAyBR,CAAK,CAC5B,aAAc,CACZ,MAAM,GAAG,SAAS,EAClB,KAAK,WAAaC,EAAW,UAC/B,CACF,EACMQ,GAAN,cAAyBT,CAAK,CAC5B,YAAYU,EAAM,CAChB,MAAM,GAAI,KAAMA,CAAI,EACpB,KAAK,WAAaT,EAAW,UAC/B,CACF,EACMU,GAAN,cAAgCX,CAAK,CACnC,aAAc,CACZ,MAAM,GAAG,SAAS,EAClB,KAAK,WAAaC,EAAW,iBAC/B,CACF,EASA,SAASW,GAA+BC,EAAG,CACzC,OAAOA,GAAG,eAAiBC,EAAa,qBAC1C,CACA,SAASC,GAAqBF,EAAG,CAC/B,OAAOA,GAAG,eAAiBC,EAAa,sBAC1C,CACA,SAASE,GAAoBH,EAAG,CAC9B,MAAO,CAACA,GAAKA,EAAE,eAAiBC,EAAa,qBAC/C,CACA,SAASG,GAA+BJ,EAAG,CACzC,MAAO,CAAC,CAACA,GAAG,YAAc,CAAC,CAACA,GAAG,qBACjC,CACA,SAASK,GAAwCL,EAAG,CAClD,MAAO,CAAC,CAACA,GAAG,qBAAuB,CAACG,GAAoBH,CAAC,CAC3D,CACA,SAASM,GAA+BN,EAAG,CACzC,MAAO,CAAC,CAACA,GAAG,OAAO,UACrB","names":["Choices","_Choices","proto","m","Rule$1","kwargs","toReturn","Rule","DataType","ValidationType","Context","EntityType","ErrorHandlingType","RunType","RunningState","Stage","FlattenedConfigDataType","PublishedState","TaskType","RateLimitUnit","AutomationPublishedState","AutomationStatus","AutomationType","DefaultAutomationStatus","enumStringToValue$a","enumRef","value","InputParameter","_InputParameter","Parameter","OutputParameter","_OutputParameter","_Parameter","enumStringToValue$9","Automation","_Automation","WorkflowStep","AutomationSettings","Token","_AutomationSettings","SleepWaitConditions","_SleepWaitConditions","_Token","WaitForTriggerFilter","_WaitForTriggerFilter","_WorkflowStep","WorkflowStepOutputParameterContainer","_WorkflowStepOutputParameterContainer","enumStringToValue$8","AutomationConfiguration","_AutomationConfiguration","AutomationConfigurationV2","_AutomationConfigurationV2","AutomationConfigurationV2Identifier","_AutomationConfigurationV2Identifier","AutomationSubscription","_AutomationSubscription","proto","m","kwargs","toReturn","enumStringToValue$6","enumRef","value","Activity","_Activity","Error","WorkflowStep","Stage","_Error","enumStringToValue$5","EventTriggerDefinition","_EventTriggerDefinition","FlattenedConfig","_FlattenedConfig","FlattenedConfigDataType","enumStringToValue$4","CallOptions","_CallOptions","RetryPolicy","Resource","_Resource","_RetryPolicy","TaskDefinition","_TaskDefinition","InputParameter","OutputParameter","TaskType","PublishedState","v","Context","Choices","enumStringToValue$3","RateLimit","_RateLimit","RateLimitUnit","FieldMask","_FieldMask","proto","m","kwargs","toReturn","enumStringToValue","enumRef","value","ContinueAutomationFromStepRequest","_ContinueAutomationFromStepRequest","proto","m","kwargs","toReturn","CopyAutomationRequest","_CopyAutomationRequest","CopyAutomationResponse","_CopyAutomationResponse","CountRunningWorkflowsRequest","_CountRunningWorkflowsRequest","CountRunningWorkflowsResponse","_CountRunningWorkflowsResponse","CreateAutomationRequest","_CreateAutomationRequest","Automation","CreateAutomationResponse","_CreateAutomationResponse","CreateEventTriggerDefinitionRequest","_CreateEventTriggerDefinitionRequest","EventTriggerDefinition","CreateTaskDefinitionRequest","_CreateTaskDefinitionRequest","TaskDefinition","CreateTaskDefinitionResponse","_CreateTaskDefinitionResponse","DefaultAutomation","_DefaultAutomation","AutomationConfigurationV2","DefaultAutomationWithConfiguration","_DefaultAutomationWithConfiguration","AutomationConfiguration","DeleteAutomationRequest","_DeleteAutomationRequest","DeleteConfigurationRequest","_DeleteConfigurationRequest","DeleteEventTriggerDefinitionRequest","_DeleteEventTriggerDefinitionRequest","DeleteTaskDefinitionRequest","_DeleteTaskDefinitionRequest","DisableAutomationConfigurationRequest","_DisableAutomationConfigurationRequest","AutomationConfigurationV2Identifier","DisableForMarketsRequest","_DisableForMarketsRequest","EmitAutomationEventRequest","_EmitAutomationEventRequest","EnableAutomationConfigurationRequest","_EnableAutomationConfigurationRequest","EnableForMarketsRequest","_EnableForMarketsRequest","EndAutomationRunRequest","_EndAutomationRunRequest","ListTaskDefinitionsRequestFilters","_ListTaskDefinitionsRequestFilters","enumStringToValue","TaskType","PublishedState","DataType","v","Context","ListActivitiesRequestFilters","_ListActivitiesRequestFilters","Stage","AutomationType","SearchManualAutomationsRequestFilters","_SearchManualAutomationsRequestFilters","EntityType","ListEventTriggerDefinitionRequestFilters","_ListEventTriggerDefinitionRequestFilters","ListAutomationsRequestV2Filters","_ListAutomationsRequestV2Filters","RunningState","ListAutomationsRequestFilters","_ListAutomationsRequestFilters","AutomationPublishedState","AutomationStatus","ListDefaultAutomationsForPartnerRequestFilters","_ListDefaultAutomationsForPartnerRequestFilters","DefaultAutomationStatus","ListDefaultAutomationsRequestFilters","_ListDefaultAutomationsRequestFilters","ListActivitiesCurrentlyWaitingRequestFilters","_ListActivitiesCurrentlyWaitingRequestFilters","ListAutomationRunsRequestFilters","_ListAutomationRunsRequestFilters","GetAutomationAccessRequirementsRequest","_GetAutomationAccessRequirementsRequest","GetAutomationAccessRequirementsResponse","_GetAutomationAccessRequirementsResponse","GetAutomationConfigurationV2Request","_GetAutomationConfigurationV2Request","GetAutomationConfigurationV2Response","_GetAutomationConfigurationV2Response","GetAutomationRequest","_GetAutomationRequest","GetAutomationResponse","_GetAutomationResponse","GetAutomationTagsRequest","_GetAutomationTagsRequest","GetAutomationTagsResponse","_GetAutomationTagsResponse","GetAutomationUsageRequest","_GetAutomationUsageRequest","GetAutomationUsageResponse","_GetAutomationUsageResponse","GetConfigurationRequest","_GetConfigurationRequest","GetConfigurationResponse","_GetConfigurationResponse","GetEventTriggerDefinitionRequest","_GetEventTriggerDefinitionRequest","GetEventTriggerDefinitionResponse","_GetEventTriggerDefinitionResponse","GetMultiAutomationsRequest","_GetMultiAutomationsRequest","GetMultiAutomationsResponse","_GetMultiAutomationsResponse","GetMultiTaskDefinitionRequest","_GetMultiTaskDefinitionRequest","GetMultiTaskDefinitionResponse","_GetMultiTaskDefinitionResponse","GetSubscriptionRequest","_GetSubscriptionRequest","GetSubscriptionResponse","_GetSubscriptionResponse","AutomationSubscription","GetTaskDefinitionRequest","_GetTaskDefinitionRequest","GetTaskDefinitionResponse","_GetTaskDefinitionResponse","GetWorkflowStepPredecessorOutputParamsRequest","_GetWorkflowStepPredecessorOutputParamsRequest","GetWorkflowStepPredecessorOutputParamsResponse","_GetWorkflowStepPredecessorOutputParamsResponse","WorkflowStepOutputParameterContainer","HideRequest","_HideRequest","ListActivitiesCurrentlyWaitingRequest","_ListActivitiesCurrentlyWaitingRequest","PagedRequestOptions","ListActivitiesCurrentlyWaitingResponse","_ListActivitiesCurrentlyWaitingResponse","Activity","PagedResponseMetadata","ListActivitiesRequest","_ListActivitiesRequest","ListActivitiesResponse","_ListActivitiesResponse","ListAutomationRunsRequest","_ListAutomationRunsRequest","ListAutomationRunsResponse","_ListAutomationRunsResponse","ListAutomationsRequest","_ListAutomationsRequest","ListAutomationsRequestV2","_ListAutomationsRequestV2","ListAutomationsResponse","_ListAutomationsResponse","ListDefaultAutomationsForPartnerRequest","_ListDefaultAutomationsForPartnerRequest","ListDefaultAutomationsForPartnerResponse","_ListDefaultAutomationsForPartnerResponse","ListDefaultAutomationsRequest","_ListDefaultAutomationsRequest","ListDefaultAutomationsResponse","_ListDefaultAutomationsResponse","ListEventTriggerDefinitionRequest","_ListEventTriggerDefinitionRequest","ListEventTriggerDefinitionResponse","_ListEventTriggerDefinitionResponse","ListTaskDefinition","_ListTaskDefinition","ListTaskDefinitionsRequest","_ListTaskDefinitionsRequest","ListTaskDefinitionsRequestValidationData","ListTaskDefinitionsResponse","_ListTaskDefinitionsResponse","OrderKey","_OrderKey","_PagedRequestOptions","_PagedResponseMetadata","PublishRequest","_PublishRequest","RateLimitCheckRequest","_RateLimitCheckRequest","RateLimit","SearchManualAutomationsRequest","_SearchManualAutomationsRequest","SearchManualAutomationsResponse","_SearchManualAutomationsResponse","SendTestWebhookRequest","_SendTestWebhookRequest","obj","k","SetAutomationToDrainingRequest","_SetAutomationToDrainingRequest","StartAccountGroupAutomationRequest","_StartAccountGroupAutomationRequest","StartAutomationRequestStartAutomationPayload","_StartAutomationRequestStartAutomationPayload","StartAutomationRequest","_StartAutomationRequest","StartAutomationRunningRequest","_StartAutomationRunningRequest","AutomationSettings","StopAllAutomationRunsRequest","_StopAllAutomationRunsRequest","StopAutomationRunningRequest","_StopAutomationRunningRequest","SubscribeRequest","_SubscribeRequest","SummarizeAutomationRequest","_SummarizeAutomationRequest","SummarizeAutomationResponse","_SummarizeAutomationResponse","UnhideRequest","_UnhideRequest","UnpublishRequest","_UnpublishRequest","UnsubscribeRequest","_UnsubscribeRequest","UpdateAutomationRequest","_UpdateAutomationRequest","FieldMask","UpdateEventTriggerDefinitionRequest","_UpdateEventTriggerDefinitionRequest","UpdateTaskDefinitionRequest","_UpdateTaskDefinitionRequest","_ListTaskDefinitionsRequestValidationData","environment","hostMap","HostService","t","ɵɵdefineInjectable","AutomataApiService","http","hostService","HttpHeaders","r","request","map","resp","__spreadProps","__spreadValues","ɵɵinject","HttpClient","PagedResponse","results","nextCursor","hasMore","totalResults","fillEmptyAutomationValues","automation","RunType","AutomataService","api","sourceId","id","partnerId","marketId","automationIds","fieldMask","filters","cursor","pageSize","req","settings","subscribeToNotifications","marketIds","automationId","workflowStepId","workflowStepParentIds","onlyIncludeNamedSteps","originalAutomationId","name","action","originUrl","settingsString","params","query","type","automationType","res","namespace","context","prompts","AutomataDevelopmentApiService","AutomataDevelopmentService","eventTriggerDefinition","eventTypeId","taskDefinition","ids","validationData","AutomataDefaultAutomationsApiService","AutomataOperationsApiService","AutomataDefaultAutomationsService","AutomataOperationsService","accountGroupIds","actionListName","searchTerm","onlySalesRunnable","entityType","a","url","verifierToken","additionalFields","mainRunId","entityId","stepExecutionUUID","previousRunId","previousWorkflowStepId","workflowStepIdToContinue","orderKeys","payloads","accountGroupId","orderKey","Comparison","ValidationErrorCode","Oauth2Action","DidNotRunReason","Rule","_Rule","ri","variablePath","comparison","rawValue","value","ruleList","i","rule","next","ignoreValue","knownAValue","knownBValue","value1","value2","index","values","knownChildRules","knownValue","maxLength","prev","cur","knownRule","child","newValue","Not","And","Or","StringExists","StringEquals","StringEqualFold","StringContainsFold","Rule","Comparison","BoolEquals","BoolListContains","ListSizeGreaterThan","StringListContains","StringListContainsAll","StringListContainsPrefix","StringListContainsPrefixAll","IsOneOfInStringListFold","Rule","Comparison","NumberGreaterThan","NumberEquals","NumberExists","RandomNumberLessThan","TimeAfter","TimeBefore","TimeEquals","AlwaysTrue","next","OrderActionEquals","IsAutomationAcceptingNewEvents","a","RunningState","IsAutomationDraining","IsAutomationStopped","IsAutomationAPublishedTemplate","IsAutomationAPublishedDefaultAutomation","DoesAutomationHaveABrokenToken"],"x_google_ignoreList":[0]}