{"version":3,"sources":["node_modules/@vendasta/accounts/fesm2020/vendasta-accounts-legacy.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Injectable } from '@angular/core';\nimport { map, shareReplay } from 'rxjs/operators';\nimport * as i1 from '@angular/common/http';\nimport { HttpHeaders } from '@angular/common/http';\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar BlameSource = /*#__PURE__*/function (BlameSource) {\n BlameSource[BlameSource[\"SYSTEM\"] = 0] = \"SYSTEM\";\n BlameSource[BlameSource[\"USER\"] = 1] = \"USER\";\n return BlameSource;\n}(BlameSource || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ActivationHistoryItemActivationEventType = /*#__PURE__*/function (ActivationHistoryItemActivationEventType) {\n ActivationHistoryItemActivationEventType[ActivationHistoryItemActivationEventType[\"NOT_SET\"] = 0] = \"NOT_SET\";\n ActivationHistoryItemActivationEventType[ActivationHistoryItemActivationEventType[\"ACTIVATION\"] = 1] = \"ACTIVATION\";\n ActivationHistoryItemActivationEventType[ActivationHistoryItemActivationEventType[\"DEACTIVATION\"] = 2] = \"DEACTIVATION\";\n ActivationHistoryItemActivationEventType[ActivationHistoryItemActivationEventType[\"CANCEL\"] = 3] = \"CANCEL\";\n ActivationHistoryItemActivationEventType[ActivationHistoryItemActivationEventType[\"UNDO_CANCEL\"] = 4] = \"UNDO_CANCEL\";\n ActivationHistoryItemActivationEventType[ActivationHistoryItemActivationEventType[\"EDITION_CHANGE\"] = 5] = \"EDITION_CHANGE\";\n return ActivationHistoryItemActivationEventType;\n}(ActivationHistoryItemActivationEventType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar AddonActivationAddonActivationStatus = /*#__PURE__*/function (AddonActivationAddonActivationStatus) {\n AddonActivationAddonActivationStatus[AddonActivationAddonActivationStatus[\"ACTIVE\"] = 0] = \"ACTIVE\";\n AddonActivationAddonActivationStatus[AddonActivationAddonActivationStatus[\"CANCELLED\"] = 1] = \"CANCELLED\";\n AddonActivationAddonActivationStatus[AddonActivationAddonActivationStatus[\"DEACTIVATED\"] = 2] = \"DEACTIVATED\";\n return AddonActivationAddonActivationStatus;\n}(AddonActivationAddonActivationStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar AccountAccountStatus = /*#__PURE__*/function (AccountAccountStatus) {\n AccountAccountStatus[AccountAccountStatus[\"ACTIVE\"] = 0] = \"ACTIVE\";\n AccountAccountStatus[AccountAccountStatus[\"CANCELLED\"] = 1] = \"CANCELLED\";\n AccountAccountStatus[AccountAccountStatus[\"DEACTIVATED\"] = 2] = \"DEACTIVATED\";\n return AccountAccountStatus;\n}(AccountAccountStatus || {});\nvar AppAndAddonActivationStatus = /*#__PURE__*/function (AppAndAddonActivationStatus) {\n AppAndAddonActivationStatus[AppAndAddonActivationStatus[\"NOT_SPECIFIED\"] = 0] = \"NOT_SPECIFIED\";\n AppAndAddonActivationStatus[AppAndAddonActivationStatus[\"ACTIVATED\"] = 1] = \"ACTIVATED\";\n AppAndAddonActivationStatus[AppAndAddonActivationStatus[\"PENDING\"] = 2] = \"PENDING\";\n AppAndAddonActivationStatus[AppAndAddonActivationStatus[\"CANCELED\"] = 3] = \"CANCELED\";\n AppAndAddonActivationStatus[AppAndAddonActivationStatus[\"DEACTIVATED\"] = 4] = \"DEACTIVATED\";\n return AppAndAddonActivationStatus;\n}(AppAndAddonActivationStatus || {});\nvar DeactivationType = /*#__PURE__*/function (DeactivationType) {\n DeactivationType[DeactivationType[\"DEACTIVATION_TYPE_NOT_SPECIFIED\"] = 0] = \"DEACTIVATION_TYPE_NOT_SPECIFIED\";\n DeactivationType[DeactivationType[\"DEACTIVATION_TYPE_CANCEL\"] = 1] = \"DEACTIVATION_TYPE_CANCEL\";\n DeactivationType[DeactivationType[\"DEACTIVATION_TYPE_IMMEDIATE\"] = 2] = \"DEACTIVATION_TYPE_IMMEDIATE\";\n DeactivationType[DeactivationType[\"DEACTIVATION_TYPE_IMMEDIATE_AND_STOP_BILLING\"] = 3] = \"DEACTIVATION_TYPE_IMMEDIATE_AND_STOP_BILLING\";\n return DeactivationType;\n}(DeactivationType || {});\nvar RenewalState = /*#__PURE__*/function (RenewalState) {\n RenewalState[RenewalState[\"ON\"] = 0] = \"ON\";\n RenewalState[RenewalState[\"OFF\"] = 1] = \"OFF\";\n return RenewalState;\n}(RenewalState || {});\nvar PendingActivationStatus = /*#__PURE__*/function (PendingActivationStatus) {\n PendingActivationStatus[PendingActivationStatus[\"PENDING\"] = 0] = \"PENDING\";\n PendingActivationStatus[PendingActivationStatus[\"APPROVED\"] = 1] = \"APPROVED\";\n PendingActivationStatus[PendingActivationStatus[\"REJECTED\"] = 2] = \"REJECTED\";\n return PendingActivationStatus;\n}(PendingActivationStatus || {});\n// *********************************\n\nfunction enumStringToValue$3(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Blame {\n static fromProto(proto) {\n let m = new Blame();\n m = Object.assign(m, proto);\n if (proto.source) {\n m.source = enumStringToValue$3(BlameSource, proto.source);\n }\n if (proto.reasons) {\n m.reasons = BlameDeactivationReasons.fromProto(proto.reasons);\n }\n if (proto.packageInfo) {\n m.packageInfo = BlamePackageActivation.fromProto(proto.packageInfo);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.source !== 'undefined') {\n toReturn['source'] = this.source;\n }\n if (typeof this.sourceIdentifier !== 'undefined') {\n toReturn['sourceIdentifier'] = this.sourceIdentifier;\n }\n if (typeof this.reasons !== 'undefined' && this.reasons !== null) {\n toReturn['reasons'] = 'toApiJson' in this.reasons ? this.reasons.toApiJson() : this.reasons;\n }\n if (typeof this.packageInfo !== 'undefined' && this.packageInfo !== null) {\n toReturn['packageInfo'] = 'toApiJson' in this.packageInfo ? this.packageInfo.toApiJson() : this.packageInfo;\n }\n return toReturn;\n }\n}\nclass BlameDeactivationReasons {\n static fromProto(proto) {\n let m = new BlameDeactivationReasons();\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.choices !== 'undefined') {\n toReturn['choices'] = this.choices;\n }\n if (typeof this.comments !== 'undefined') {\n toReturn['comments'] = this.comments;\n }\n return toReturn;\n }\n}\nclass BlamePackageActivation {\n static fromProto(proto) {\n let m = new BlamePackageActivation();\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.packageId !== 'undefined') {\n toReturn['packageId'] = this.packageId;\n }\n if (typeof this.packageName !== 'undefined') {\n toReturn['packageName'] = this.packageName;\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 ActivationHistoryItem {\n static fromProto(proto) {\n let m = new ActivationHistoryItem();\n m = Object.assign(m, proto);\n if (proto.eventType) {\n m.eventType = enumStringToValue$2(ActivationHistoryItemActivationEventType, proto.eventType);\n }\n if (proto.timestamp) {\n m.timestamp = new Date(proto.timestamp);\n }\n if (proto.blame) {\n m.blame = Blame.fromProto(proto.blame);\n }\n if (proto.changeMetadata) {\n m.changeMetadata = ChangeMetadata.fromProto(proto.changeMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.eventType !== 'undefined') {\n toReturn['eventType'] = this.eventType;\n }\n if (typeof this.timestamp !== 'undefined' && this.timestamp !== null) {\n toReturn['timestamp'] = 'toApiJson' in this.timestamp ? this.timestamp.toApiJson() : this.timestamp;\n }\n if (typeof this.blame !== 'undefined' && this.blame !== null) {\n toReturn['blame'] = 'toApiJson' in this.blame ? this.blame.toApiJson() : this.blame;\n }\n if (typeof this.itemId !== 'undefined') {\n toReturn['itemId'] = this.itemId;\n }\n if (typeof this.orderFormSubmissionId !== 'undefined') {\n toReturn['orderFormSubmissionId'] = this.orderFormSubmissionId;\n }\n if (typeof this.trial !== 'undefined') {\n toReturn['trial'] = this.trial;\n }\n if (typeof this.itemEditionId !== 'undefined') {\n toReturn['itemEditionId'] = this.itemEditionId;\n }\n if (typeof this.changeMetadata !== 'undefined' && this.changeMetadata !== null) {\n toReturn['changeMetadata'] = 'toApiJson' in this.changeMetadata ? this.changeMetadata.toApiJson() : this.changeMetadata;\n }\n return toReturn;\n }\n}\nclass ChangeMetadata {\n static fromProto(proto) {\n let m = new ChangeMetadata();\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.newEditionId !== 'undefined') {\n toReturn['newEditionId'] = this.newEditionId;\n }\n return toReturn;\n }\n}\nclass DeactivationReasonSummary {\n static fromProto(proto) {\n let m = new DeactivationReasonSummary();\n m = Object.assign(m, proto);\n if (proto.total) {\n m.total = parseInt(proto.total, 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.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n if (typeof this.total !== 'undefined') {\n toReturn['total'] = this.total;\n }\n if (typeof this.businessIds !== 'undefined') {\n toReturn['businessIds'] = this.businessIds;\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 AddonActivation {\n static fromProto(proto) {\n let m = new AddonActivation();\n m = Object.assign(m, proto);\n if (proto.activated) {\n m.activated = new Date(proto.activated);\n }\n if (proto.deactivated) {\n m.deactivated = new Date(proto.deactivated);\n }\n if (proto.activationInfo) {\n m.activationInfo = Blame.fromProto(proto.activationInfo);\n }\n if (proto.deactivationInfo) {\n m.deactivationInfo = Blame.fromProto(proto.deactivationInfo);\n }\n if (proto.anniversaryDate) {\n m.anniversaryDate = new Date(proto.anniversaryDate);\n }\n if (proto.status) {\n m.status = enumStringToValue$1(AddonActivationAddonActivationStatus, proto.status);\n }\n if (proto.commitmentDate) {\n m.commitmentDate = new Date(proto.commitmentDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.activated !== 'undefined' && this.activated !== null) {\n toReturn['activated'] = 'toApiJson' in this.activated ? this.activated.toApiJson() : this.activated;\n }\n if (typeof this.deactivated !== 'undefined' && this.deactivated !== null) {\n toReturn['deactivated'] = 'toApiJson' in this.deactivated ? this.deactivated.toApiJson() : this.deactivated;\n }\n if (typeof this.orderFormSubmissionId !== 'undefined') {\n toReturn['orderFormSubmissionId'] = this.orderFormSubmissionId;\n }\n if (typeof this.activationInfo !== 'undefined' && this.activationInfo !== null) {\n toReturn['activationInfo'] = 'toApiJson' in this.activationInfo ? this.activationInfo.toApiJson() : this.activationInfo;\n }\n if (typeof this.deactivationInfo !== 'undefined' && this.deactivationInfo !== null) {\n toReturn['deactivationInfo'] = 'toApiJson' in this.deactivationInfo ? this.deactivationInfo.toApiJson() : this.deactivationInfo;\n }\n if (typeof this.anniversaryDate !== 'undefined' && this.anniversaryDate !== null) {\n toReturn['anniversaryDate'] = 'toApiJson' in this.anniversaryDate ? this.anniversaryDate.toApiJson() : this.anniversaryDate;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.commitmentDate !== 'undefined' && this.commitmentDate !== null) {\n toReturn['commitmentDate'] = 'toApiJson' in this.commitmentDate ? this.commitmentDate.toApiJson() : this.commitmentDate;\n }\n if (typeof this.billingOrderId !== 'undefined') {\n toReturn['billingOrderId'] = this.billingOrderId;\n }\n if (typeof this.activationDescriptor !== 'undefined') {\n toReturn['activationDescriptor'] = this.activationDescriptor;\n }\n if (typeof this.isSuspended !== 'undefined') {\n toReturn['isSuspended'] = this.isSuspended;\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 Account {\n static fromProto(proto) {\n let m = new Account();\n m = Object.assign(m, proto);\n if (proto.activation) {\n m.activation = new Date(proto.activation);\n }\n if (proto.deactivation) {\n m.deactivation = new Date(proto.deactivation);\n }\n if (proto.activationInfo) {\n m.activationInfo = Blame.fromProto(proto.activationInfo);\n }\n if (proto.deactivationInfo) {\n m.deactivationInfo = Blame.fromProto(proto.deactivationInfo);\n }\n if (proto.anniversaryDate) {\n m.anniversaryDate = new Date(proto.anniversaryDate);\n }\n if (proto.status) {\n m.status = enumStringToValue(AccountAccountStatus, proto.status);\n }\n if (proto.commitmentDate) {\n m.commitmentDate = new Date(proto.commitmentDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountId !== 'undefined') {\n toReturn['accountId'] = this.accountId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.customEntryUrl !== 'undefined') {\n toReturn['customEntryUrl'] = this.customEntryUrl;\n }\n if (typeof this.userContactEmail !== 'undefined') {\n toReturn['userContactEmail'] = this.userContactEmail;\n }\n if (typeof this.activation !== 'undefined' && this.activation !== null) {\n toReturn['activation'] = 'toApiJson' in this.activation ? this.activation.toApiJson() : this.activation;\n }\n if (typeof this.deactivation !== 'undefined' && this.deactivation !== null) {\n toReturn['deactivation'] = 'toApiJson' in this.deactivation ? this.deactivation.toApiJson() : this.deactivation;\n }\n if (typeof this.trial !== 'undefined') {\n toReturn['trial'] = this.trial;\n }\n if (typeof this.orderFormSubmissionId !== 'undefined') {\n toReturn['orderFormSubmissionId'] = this.orderFormSubmissionId;\n }\n if (typeof this.activationInfo !== 'undefined' && this.activationInfo !== null) {\n toReturn['activationInfo'] = 'toApiJson' in this.activationInfo ? this.activationInfo.toApiJson() : this.activationInfo;\n }\n if (typeof this.deactivationInfo !== 'undefined' && this.deactivationInfo !== null) {\n toReturn['deactivationInfo'] = 'toApiJson' in this.deactivationInfo ? this.deactivationInfo.toApiJson() : this.deactivationInfo;\n }\n if (typeof this.anniversaryDate !== 'undefined' && this.anniversaryDate !== null) {\n toReturn['anniversaryDate'] = 'toApiJson' in this.anniversaryDate ? this.anniversaryDate.toApiJson() : this.anniversaryDate;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.commitmentDate !== 'undefined' && this.commitmentDate !== null) {\n toReturn['commitmentDate'] = 'toApiJson' in this.commitmentDate ? this.commitmentDate.toApiJson() : this.commitmentDate;\n }\n if (typeof this.isSuspended !== 'undefined') {\n toReturn['isSuspended'] = this.isSuspended;\n }\n if (typeof this.billingOrderId !== 'undefined') {\n toReturn['billingOrderId'] = this.billingOrderId;\n }\n if (typeof this.activationDescriptor !== 'undefined') {\n toReturn['activationDescriptor'] = this.activationDescriptor;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.editionId !== 'undefined') {\n toReturn['editionId'] = this.editionId;\n }\n if (typeof this.deactivationIsEditionChange !== 'undefined') {\n toReturn['deactivationIsEditionChange'] = this.deactivationIsEditionChange;\n }\n if (typeof this.deactivationNewEditionId !== 'undefined') {\n toReturn['deactivationNewEditionId'] = this.deactivationNewEditionId;\n }\n if (typeof this.deactivationNewBillingOrderId !== 'undefined') {\n toReturn['deactivationNewBillingOrderId'] = this.deactivationNewBillingOrderId;\n }\n if (typeof this.vendorOrderId !== 'undefined') {\n toReturn['vendorOrderId'] = this.vendorOrderId;\n }\n return toReturn;\n }\n}\nclass AccountDates {\n static fromProto(proto) {\n let m = new AccountDates();\n m = Object.assign(m, proto);\n if (proto.activation) {\n m.activation = new Date(proto.activation);\n }\n if (proto.deactivation) {\n m.deactivation = new Date(proto.deactivation);\n }\n if (proto.anniversaryDate) {\n m.anniversaryDate = new Date(proto.anniversaryDate);\n }\n if (proto.commitmentDate) {\n m.commitmentDate = new Date(proto.commitmentDate);\n }\n if (proto.pendingDeactivation) {\n m.pendingDeactivation = new Date(proto.pendingDeactivation);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.activation !== 'undefined' && this.activation !== null) {\n toReturn['activation'] = 'toApiJson' in this.activation ? this.activation.toApiJson() : this.activation;\n }\n if (typeof this.deactivation !== 'undefined' && this.deactivation !== null) {\n toReturn['deactivation'] = 'toApiJson' in this.deactivation ? this.deactivation.toApiJson() : this.deactivation;\n }\n if (typeof this.anniversaryDate !== 'undefined' && this.anniversaryDate !== null) {\n toReturn['anniversaryDate'] = 'toApiJson' in this.anniversaryDate ? this.anniversaryDate.toApiJson() : this.anniversaryDate;\n }\n if (typeof this.commitmentDate !== 'undefined' && this.commitmentDate !== null) {\n toReturn['commitmentDate'] = 'toApiJson' in this.commitmentDate ? this.commitmentDate.toApiJson() : this.commitmentDate;\n }\n if (typeof this.pendingDeactivation !== 'undefined' && this.pendingDeactivation !== null) {\n toReturn['pendingDeactivation'] = 'toApiJson' in this.pendingDeactivation ? this.pendingDeactivation.toApiJson() : this.pendingDeactivation;\n }\n return toReturn;\n }\n}\nclass ActivateAddonRequest {\n static fromProto(proto) {\n let m = new ActivateAddonRequest();\n m = Object.assign(m, proto);\n if (proto.activateOn) {\n m.activateOn = new Date(proto.activateOn);\n }\n if (proto.deactivateOn) {\n m.deactivateOn = new Date(proto.deactivateOn);\n }\n if (proto.activationInfo) {\n m.activationInfo = Blame.fromProto(proto.activationInfo);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.orderFormSubmissionId !== 'undefined') {\n toReturn['orderFormSubmissionId'] = this.orderFormSubmissionId;\n }\n if (typeof this.activateOn !== 'undefined' && this.activateOn !== null) {\n toReturn['activateOn'] = 'toApiJson' in this.activateOn ? this.activateOn.toApiJson() : this.activateOn;\n }\n if (typeof this.deactivateOn !== 'undefined' && this.deactivateOn !== null) {\n toReturn['deactivateOn'] = 'toApiJson' in this.deactivateOn ? this.deactivateOn.toApiJson() : this.deactivateOn;\n }\n if (typeof this.activationInfo !== 'undefined' && this.activationInfo !== null) {\n toReturn['activationInfo'] = 'toApiJson' in this.activationInfo ? this.activationInfo.toApiJson() : this.activationInfo;\n }\n return toReturn;\n }\n}\nclass ActivateAddonResponse {\n static fromProto(proto) {\n let m = new ActivateAddonResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.orderFormSubmissionId !== 'undefined') {\n toReturn['orderFormSubmissionId'] = this.orderFormSubmissionId;\n }\n return toReturn;\n }\n}\nclass ActivateAppRequest {\n static fromProto(proto) {\n let m = new ActivateAppRequest();\n m = Object.assign(m, proto);\n if (proto.activateOn) {\n m.activateOn = new Date(proto.activateOn);\n }\n if (proto.deactivateOn) {\n m.deactivateOn = new Date(proto.deactivateOn);\n }\n if (proto.activationInfo) {\n m.activationInfo = Blame.fromProto(proto.activationInfo);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.orderFormSubmissionId !== 'undefined') {\n toReturn['orderFormSubmissionId'] = this.orderFormSubmissionId;\n }\n if (typeof this.activateOn !== 'undefined' && this.activateOn !== null) {\n toReturn['activateOn'] = 'toApiJson' in this.activateOn ? this.activateOn.toApiJson() : this.activateOn;\n }\n if (typeof this.deactivateOn !== 'undefined' && this.deactivateOn !== null) {\n toReturn['deactivateOn'] = 'toApiJson' in this.deactivateOn ? this.deactivateOn.toApiJson() : this.deactivateOn;\n }\n if (typeof this.trial !== 'undefined') {\n toReturn['trial'] = this.trial;\n }\n if (typeof this.activationInfo !== 'undefined' && this.activationInfo !== null) {\n toReturn['activationInfo'] = 'toApiJson' in this.activationInfo ? this.activationInfo.toApiJson() : this.activationInfo;\n }\n if (typeof this.editionId !== 'undefined') {\n toReturn['editionId'] = this.editionId;\n }\n return toReturn;\n }\n}\nclass ActivateAppResponse {\n static fromProto(proto) {\n let m = new ActivateAppResponse();\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.accountId !== 'undefined') {\n toReturn['accountId'] = this.accountId;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n return toReturn;\n }\n}\nclass GetMultiRequestActivationIdentifier {\n static fromProto(proto) {\n let m = new GetMultiRequestActivationIdentifier();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n return toReturn;\n }\n}\nclass GetAppActivationStatusForBusinessResponseActivationStatus {\n static fromProto(proto) {\n let m = new GetAppActivationStatusForBusinessResponseActivationStatus();\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.currentlyActive !== 'undefined') {\n toReturn['currentlyActive'] = this.currentlyActive;\n }\n return toReturn;\n }\n}\nclass ListAppsAndAddonsActivationStatusesForBusinessRequestAppActivationStatusesFilters {\n static fromProto(proto) {\n let m = new ListAppsAndAddonsActivationStatusesForBusinessRequestAppActivationStatusesFilters();\n m = Object.assign(m, proto);\n if (proto.activationStatuses) {\n m.activationStatuses = proto.activationStatuses.map(v => enumStringToValue(AppAndAddonActivationStatus, 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.activationStatuses !== 'undefined') {\n toReturn['activationStatuses'] = this.activationStatuses;\n }\n if (typeof this.appIds !== 'undefined') {\n toReturn['appIds'] = this.appIds;\n }\n return toReturn;\n }\n}\nclass ListAppsAndAddonsActivationsStatusesForBusinessResponseAppsAndAddonsActivationStatuses {\n static fromProto(proto) {\n let m = new ListAppsAndAddonsActivationsStatusesForBusinessResponseAppsAndAddonsActivationStatuses();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue(AppAndAddonActivationStatus, proto.status);\n }\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.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.count !== 'undefined') {\n toReturn['count'] = this.count;\n }\n if (typeof this.editionId !== 'undefined') {\n toReturn['editionId'] = this.editionId;\n }\n return toReturn;\n }\n}\nclass CanActivateRequest {\n static fromProto(proto) {\n let m = new CanActivateRequest();\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.appIds !== 'undefined') {\n toReturn['appIds'] = this.appIds;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass CanActivateResponse {\n static fromProto(proto) {\n let m = new CanActivateResponse();\n m = Object.assign(m, proto);\n if (proto.invalidResponse) {\n m.invalidResponse = CanActivateResponseInvalidResponse.fromProto(proto.invalidResponse);\n }\n if (proto.successResponse) {\n m.successResponse = CanActivateResponseSuccessResponse.fromProto(proto.successResponse);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invalidResponse !== 'undefined' && this.invalidResponse !== null) {\n toReturn['invalidResponse'] = 'toApiJson' in this.invalidResponse ? this.invalidResponse.toApiJson() : this.invalidResponse;\n }\n if (typeof this.successResponse !== 'undefined' && this.successResponse !== null) {\n toReturn['successResponse'] = 'toApiJson' in this.successResponse ? this.successResponse.toApiJson() : this.successResponse;\n }\n return toReturn;\n }\n}\nclass ChangeEditionRequest {\n static fromProto(proto) {\n let m = new ChangeEditionRequest();\n m = Object.assign(m, proto);\n if (proto.changeEditionInfo) {\n m.changeEditionInfo = Blame.fromProto(proto.changeEditionInfo);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.editionId !== 'undefined') {\n toReturn['editionId'] = this.editionId;\n }\n if (typeof this.changeEditionInfo !== 'undefined' && this.changeEditionInfo !== null) {\n toReturn['changeEditionInfo'] = 'toApiJson' in this.changeEditionInfo ? this.changeEditionInfo.toApiJson() : this.changeEditionInfo;\n }\n return toReturn;\n }\n}\nclass CreateRequest {\n static fromProto(proto) {\n let m = new CreateRequest();\n m = Object.assign(m, proto);\n if (proto.deactivateOn) {\n m.deactivateOn = new Date(proto.deactivateOn);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.accountId !== 'undefined') {\n toReturn['accountId'] = this.accountId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.customEntryUrl !== 'undefined') {\n toReturn['customEntryUrl'] = this.customEntryUrl;\n }\n if (typeof this.userContactEmail !== 'undefined') {\n toReturn['userContactEmail'] = this.userContactEmail;\n }\n if (typeof this.trial !== 'undefined') {\n toReturn['trial'] = this.trial;\n }\n if (typeof this.deactivateOn !== 'undefined' && this.deactivateOn !== null) {\n toReturn['deactivateOn'] = 'toApiJson' in this.deactivateOn ? this.deactivateOn.toApiJson() : this.deactivateOn;\n }\n if (typeof this.orderFormSubmissionId !== 'undefined') {\n toReturn['orderFormSubmissionId'] = this.orderFormSubmissionId;\n }\n return toReturn;\n }\n}\nclass CreateResponse {\n static fromProto(proto) {\n let m = new CreateResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.orderFormSubmissionId !== 'undefined') {\n toReturn['orderFormSubmissionId'] = this.orderFormSubmissionId;\n }\n return toReturn;\n }\n}\nclass DeactivateAddonRequest {\n static fromProto(proto) {\n let m = new DeactivateAddonRequest();\n m = Object.assign(m, proto);\n if (proto.deactivationInfo) {\n m.deactivationInfo = Blame.fromProto(proto.deactivationInfo);\n }\n if (proto.deactivationType) {\n m.deactivationType = enumStringToValue(DeactivationType, proto.deactivationType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.deactivationInfo !== 'undefined' && this.deactivationInfo !== null) {\n toReturn['deactivationInfo'] = 'toApiJson' in this.deactivationInfo ? this.deactivationInfo.toApiJson() : this.deactivationInfo;\n }\n if (typeof this.deactivationType !== 'undefined') {\n toReturn['deactivationType'] = this.deactivationType;\n }\n return toReturn;\n }\n}\nclass DeactivateAllAppsRequest {\n static fromProto(proto) {\n let m = new DeactivateAllAppsRequest();\n m = Object.assign(m, proto);\n if (proto.deactivationInfo) {\n m.deactivationInfo = Blame.fromProto(proto.deactivationInfo);\n }\n if (proto.deactivationType) {\n m.deactivationType = enumStringToValue(DeactivationType, proto.deactivationType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.deactivationInfo !== 'undefined' && this.deactivationInfo !== null) {\n toReturn['deactivationInfo'] = 'toApiJson' in this.deactivationInfo ? this.deactivationInfo.toApiJson() : this.deactivationInfo;\n }\n if (typeof this.deactivationType !== 'undefined') {\n toReturn['deactivationType'] = this.deactivationType;\n }\n return toReturn;\n }\n}\nclass DeactivateAppRequest {\n static fromProto(proto) {\n let m = new DeactivateAppRequest();\n m = Object.assign(m, proto);\n if (proto.deactivationInfo) {\n m.deactivationInfo = Blame.fromProto(proto.deactivationInfo);\n }\n if (proto.deactivationType) {\n m.deactivationType = enumStringToValue(DeactivationType, proto.deactivationType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.deactivationInfo !== 'undefined' && this.deactivationInfo !== null) {\n toReturn['deactivationInfo'] = 'toApiJson' in this.deactivationInfo ? this.deactivationInfo.toApiJson() : this.deactivationInfo;\n }\n if (typeof this.deactivationType !== 'undefined') {\n toReturn['deactivationType'] = this.deactivationType;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n return toReturn;\n }\n}\nclass DeleteRequest {\n static fromProto(proto) {\n let m = new DeleteRequest();\n m = Object.assign(m, proto);\n if (proto.deactivationInfo) {\n m.deactivationInfo = Blame.fromProto(proto.deactivationInfo);\n }\n if (proto.deactivationType) {\n m.deactivationType = enumStringToValue(DeactivationType, proto.deactivationType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.accountId !== 'undefined') {\n toReturn['accountId'] = this.accountId;\n }\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.deactivationInfo !== 'undefined' && this.deactivationInfo !== null) {\n toReturn['deactivationInfo'] = 'toApiJson' in this.deactivationInfo ? this.deactivationInfo.toApiJson() : this.deactivationInfo;\n }\n if (typeof this.deactivationType !== 'undefined') {\n toReturn['deactivationType'] = this.deactivationType;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n return toReturn;\n }\n}\nclass DismissPendingActivationRequest {\n static fromProto(proto) {\n let m = new DismissPendingActivationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.dismissedBy !== 'undefined') {\n toReturn['dismissedBy'] = this.dismissedBy;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n return toReturn;\n }\n}\nclass GetAppActivationStatusForBusinessRequest {\n static fromProto(proto) {\n let m = new GetAppActivationStatusForBusinessRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass GetAppActivationStatusForBusinessResponse {\n static fromProto(proto) {\n let m = new GetAppActivationStatusForBusinessResponse();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = GetAppActivationStatusForBusinessResponseActivationStatus.fromProto(proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.status !== 'undefined' && this.status !== null) {\n toReturn['status'] = 'toApiJson' in this.status ? this.status.toApiJson() : this.status;\n }\n return toReturn;\n }\n}\nclass GetDeactivationReasonsForAppRequestGetDeactivationReasonsForAppFilterOptions {\n static fromProto(proto) {\n let m = new GetDeactivationReasonsForAppRequestGetDeactivationReasonsForAppFilterOptions();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetDeactivationReasonsForAppRequest {\n static fromProto(proto) {\n let m = new GetDeactivationReasonsForAppRequest();\n m = Object.assign(m, proto);\n if (proto.filterOptions) {\n m.filterOptions = GetDeactivationReasonsForAppRequestGetDeactivationReasonsForAppFilterOptions.fromProto(proto.filterOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.filterOptions !== 'undefined' && this.filterOptions !== null) {\n toReturn['filterOptions'] = 'toApiJson' in this.filterOptions ? this.filterOptions.toApiJson() : this.filterOptions;\n }\n return toReturn;\n }\n}\nclass GetDeactivationReasonsForAppResponse {\n static fromProto(proto) {\n let m = new GetDeactivationReasonsForAppResponse();\n m = Object.assign(m, proto);\n if (proto.deactivationReasonSummary) {\n m.deactivationReasonSummary = proto.deactivationReasonSummary.map(DeactivationReasonSummary.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.deactivationReasonSummary !== 'undefined' && this.deactivationReasonSummary !== null) {\n toReturn['deactivationReasonSummary'] = 'toApiJson' in this.deactivationReasonSummary ? this.deactivationReasonSummary.toApiJson() : this.deactivationReasonSummary;\n }\n return toReturn;\n }\n}\nclass GetEstimatedBillableRevenueInPeriodRequest {\n static fromProto(proto) {\n let m = new GetEstimatedBillableRevenueInPeriodRequest();\n m = Object.assign(m, proto);\n if (proto.startDate) {\n m.startDate = new Date(proto.startDate);\n }\n if (proto.endDate) {\n m.endDate = new Date(proto.endDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.startDate !== 'undefined' && this.startDate !== null) {\n toReturn['startDate'] = 'toApiJson' in this.startDate ? this.startDate.toApiJson() : this.startDate;\n }\n if (typeof this.endDate !== 'undefined' && this.endDate !== null) {\n toReturn['endDate'] = 'toApiJson' in this.endDate ? this.endDate.toApiJson() : this.endDate;\n }\n return toReturn;\n }\n}\nclass GetEstimatedBillableRevenueInPeriodResponse {\n static fromProto(proto) {\n let m = new GetEstimatedBillableRevenueInPeriodResponse();\n m = Object.assign(m, proto);\n if (proto.estimate) {\n m.estimate = parseInt(proto.estimate, 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.estimate !== 'undefined') {\n toReturn['estimate'] = this.estimate;\n }\n return toReturn;\n }\n}\nclass GetMultiRequest {\n static fromProto(proto) {\n let m = new GetMultiRequest();\n m = Object.assign(m, proto);\n if (proto.activationIdentifiers) {\n m.activationIdentifiers = proto.activationIdentifiers.map(GetMultiRequestActivationIdentifier.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.activationIdentifiers !== 'undefined' && this.activationIdentifiers !== null) {\n toReturn['activationIdentifiers'] = 'toApiJson' in this.activationIdentifiers ? this.activationIdentifiers.toApiJson() : this.activationIdentifiers;\n }\n return toReturn;\n }\n}\nclass GetMultiResponse {\n static fromProto(proto) {\n let m = new GetMultiResponse();\n m = Object.assign(m, proto);\n if (proto.accounts) {\n m.accounts = proto.accounts.map(Account.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accounts !== 'undefined' && this.accounts !== null) {\n toReturn['accounts'] = 'toApiJson' in this.accounts ? this.accounts.toApiJson() : this.accounts;\n }\n return toReturn;\n }\n}\nclass GetPendingActivationRequest {\n static fromProto(proto) {\n let m = new GetPendingActivationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.accountId !== 'undefined') {\n toReturn['accountId'] = this.accountId;\n }\n return toReturn;\n }\n}\nclass GetPendingActivationResponse {\n static fromProto(proto) {\n let m = new GetPendingActivationResponse();\n m = Object.assign(m, proto);\n if (proto.pendingActivation) {\n m.pendingActivation = PendingActivation.fromProto(proto.pendingActivation);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pendingActivation !== 'undefined' && this.pendingActivation !== null) {\n toReturn['pendingActivation'] = 'toApiJson' in this.pendingActivation ? this.pendingActivation.toApiJson() : this.pendingActivation;\n }\n return toReturn;\n }\n}\nclass GetRequest {\n static fromProto(proto) {\n let m = new GetRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.accountId !== 'undefined') {\n toReturn['accountId'] = this.accountId;\n }\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetResponse {\n static fromProto(proto) {\n let m = new GetResponse();\n m = Object.assign(m, proto);\n if (proto.account) {\n m.account = Account.fromProto(proto.account);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.account !== 'undefined' && this.account !== null) {\n toReturn['account'] = 'toApiJson' in this.account ? this.account.toApiJson() : this.account;\n }\n return toReturn;\n }\n}\nclass HandleBusinessDeletedRequest {\n static fromProto(proto) {\n let m = new HandleBusinessDeletedRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass CanActivateResponseInvalidResponse {\n static fromProto(proto) {\n let m = new CanActivateResponseInvalidResponse();\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.invalidAppIds !== 'undefined') {\n toReturn['invalidAppIds'] = this.invalidAppIds;\n }\n return toReturn;\n }\n}\nclass ListAccountDatesRequest {\n static fromProto(proto) {\n let m = new ListAccountDatesRequest();\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.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass ListAccountDatesResponse {\n static fromProto(proto) {\n let m = new ListAccountDatesResponse();\n m = Object.assign(m, proto);\n if (proto.accountDates) {\n m.accountDates = proto.accountDates.map(AccountDates.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.accountDates !== 'undefined' && this.accountDates !== null) {\n toReturn['accountDates'] = 'toApiJson' in this.accountDates ? this.accountDates.toApiJson() : this.accountDates;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass ListActivationEventHistoryForBusinessRequestListActivationEventHistoryForBusinessFilterOptions {\n static fromProto(proto) {\n let m = new ListActivationEventHistoryForBusinessRequestListActivationEventHistoryForBusinessFilterOptions();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n return toReturn;\n }\n}\nclass ListActivationEventHistoryForBusinessRequest {\n static fromProto(proto) {\n let m = new ListActivationEventHistoryForBusinessRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n if (proto.filterOptions) {\n m.filterOptions = ListActivationEventHistoryForBusinessRequestListActivationEventHistoryForBusinessFilterOptions.fromProto(proto.filterOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.filterOptions !== 'undefined' && this.filterOptions !== null) {\n toReturn['filterOptions'] = 'toApiJson' in this.filterOptions ? this.filterOptions.toApiJson() : this.filterOptions;\n }\n return toReturn;\n }\n}\nclass ListActivationEventHistoryForBusinessResponse {\n static fromProto(proto) {\n let m = new ListActivationEventHistoryForBusinessResponse();\n m = Object.assign(m, proto);\n if (proto.activationHistoryItems) {\n m.activationHistoryItems = proto.activationHistoryItems.map(ActivationHistoryItem.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.activationHistoryItems !== 'undefined' && this.activationHistoryItems !== null) {\n toReturn['activationHistoryItems'] = 'toApiJson' in this.activationHistoryItems ? this.activationHistoryItems.toApiJson() : this.activationHistoryItems;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass ListAddonActivationsRequest {\n static fromProto(proto) {\n let m = new ListAddonActivationsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n return toReturn;\n }\n}\nclass ListAddonActivationsResponse {\n static fromProto(proto) {\n let m = new ListAddonActivationsResponse();\n m = Object.assign(m, proto);\n if (proto.activations) {\n m.activations = proto.activations.map(AddonActivation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.activations !== 'undefined' && this.activations !== null) {\n toReturn['activations'] = 'toApiJson' in this.activations ? this.activations.toApiJson() : this.activations;\n }\n return toReturn;\n }\n}\nclass ListAppsAndAddonsActivationStatusesForBusinessRequest {\n static fromProto(proto) {\n let m = new ListAppsAndAddonsActivationStatusesForBusinessRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListAppsAndAddonsActivationStatusesForBusinessRequestAppActivationStatusesFilters.fromProto(proto.filters);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\nclass ListAppsAndAddonsActivationsStatusesForBusinessResponse {\n static fromProto(proto) {\n let m = new ListAppsAndAddonsActivationsStatusesForBusinessResponse();\n m = Object.assign(m, proto);\n if (proto.activationStatuses) {\n m.activationStatuses = proto.activationStatuses.map(ListAppsAndAddonsActivationsStatusesForBusinessResponseAppsAndAddonsActivationStatuses.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.activationStatuses !== 'undefined' && this.activationStatuses !== null) {\n toReturn['activationStatuses'] = 'toApiJson' in this.activationStatuses ? this.activationStatuses.toApiJson() : this.activationStatuses;\n }\n return toReturn;\n }\n}\nclass ListCustomDeactivationReasonsForAppRequestListCustomDeactivationReasonsForAppFilterOptions {\n static fromProto(proto) {\n let m = new ListCustomDeactivationReasonsForAppRequestListCustomDeactivationReasonsForAppFilterOptions();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass ListCustomDeactivationReasonsForAppRequest {\n static fromProto(proto) {\n let m = new ListCustomDeactivationReasonsForAppRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n if (proto.filterOptions) {\n m.filterOptions = ListCustomDeactivationReasonsForAppRequestListCustomDeactivationReasonsForAppFilterOptions.fromProto(proto.filterOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.filterOptions !== 'undefined' && this.filterOptions !== null) {\n toReturn['filterOptions'] = 'toApiJson' in this.filterOptions ? this.filterOptions.toApiJson() : this.filterOptions;\n }\n return toReturn;\n }\n}\nclass ListCustomDeactivationReasonsForAppResponse {\n static fromProto(proto) {\n let m = new ListCustomDeactivationReasonsForAppResponse();\n m = Object.assign(m, proto);\n if (proto.deactivationReasonSummary) {\n m.deactivationReasonSummary = proto.deactivationReasonSummary.map(DeactivationReasonSummary.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.deactivationReasonSummary !== 'undefined' && this.deactivationReasonSummary !== null) {\n toReturn['deactivationReasonSummary'] = 'toApiJson' in this.deactivationReasonSummary ? this.deactivationReasonSummary.toApiJson() : this.deactivationReasonSummary;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass ListDeactivatedBusinessIDsForAppRequestListDeactivatedBusinessIDsForAppFilterOptions {\n static fromProto(proto) {\n let m = new ListDeactivatedBusinessIDsForAppRequestListDeactivatedBusinessIDsForAppFilterOptions();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass ListDeactivatedBusinessIDsForAppRequest {\n static fromProto(proto) {\n let m = new ListDeactivatedBusinessIDsForAppRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n if (proto.filterOptions) {\n m.filterOptions = ListDeactivatedBusinessIDsForAppRequestListDeactivatedBusinessIDsForAppFilterOptions.fromProto(proto.filterOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.filterOptions !== 'undefined' && this.filterOptions !== null) {\n toReturn['filterOptions'] = 'toApiJson' in this.filterOptions ? this.filterOptions.toApiJson() : this.filterOptions;\n }\n return toReturn;\n }\n}\nclass ListDeactivatedBusinessIDsForAppResponse {\n static fromProto(proto) {\n let m = new ListDeactivatedBusinessIDsForAppResponse();\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.businessIds !== 'undefined') {\n toReturn['businessIds'] = this.businessIds;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass ListPendingActivationRequest {\n static fromProto(proto) {\n let m = new ListPendingActivationRequest();\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.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass ListPendingActivationResponse {\n static fromProto(proto) {\n let m = new ListPendingActivationResponse();\n m = Object.assign(m, proto);\n if (proto.pendingActivations) {\n m.pendingActivations = proto.pendingActivations.map(PendingActivation.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.pendingActivations !== 'undefined' && this.pendingActivations !== null) {\n toReturn['pendingActivations'] = 'toApiJson' in this.pendingActivations ? this.pendingActivations.toApiJson() : this.pendingActivations;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass ListPendingActivationsForBusinessRequest {\n static fromProto(proto) {\n let m = new ListPendingActivationsForBusinessRequest();\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.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass ListPendingDeactivationResponse {\n static fromProto(proto) {\n let m = new ListPendingDeactivationResponse();\n m = Object.assign(m, proto);\n if (proto.pendingActivations) {\n m.pendingActivations = proto.pendingActivations.map(PendingDeactivation.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.pendingActivations !== 'undefined' && this.pendingActivations !== null) {\n toReturn['pendingActivations'] = 'toApiJson' in this.pendingActivations ? this.pendingActivations.toApiJson() : this.pendingActivations;\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 ListPendingDeactivationsForAppOrAddonRequest {\n static fromProto(proto) {\n let m = new ListPendingDeactivationsForAppOrAddonRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\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 ListPendingDeactivationsForPartnerRequest {\n static fromProto(proto) {\n let m = new ListPendingDeactivationsForPartnerRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListRequest {\n static fromProto(proto) {\n let m = new ListRequest();\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.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass ListResponse {\n static fromProto(proto) {\n let m = new ListResponse();\n m = Object.assign(m, proto);\n if (proto.accounts) {\n m.accounts = proto.accounts.map(Account.fromProto);\n }\n if (proto.totalResults) {\n m.totalResults = parseInt(proto.totalResults, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accounts !== 'undefined' && this.accounts !== null) {\n toReturn['accounts'] = 'toApiJson' in this.accounts ? this.accounts.toApiJson() : this.accounts;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.totalResults !== 'undefined') {\n toReturn['totalResults'] = this.totalResults;\n }\n return toReturn;\n }\n}\nclass 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 PendingActivation {\n static fromProto(proto) {\n let m = new PendingActivation();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue(PendingActivationStatus, proto.status);\n }\n if (proto.createdDate) {\n m.createdDate = new Date(proto.createdDate);\n }\n if (proto.updatedDate) {\n m.updatedDate = new Date(proto.updatedDate);\n }\n if (proto.appActivation) {\n m.appActivation = Account.fromProto(proto.appActivation);\n }\n if (proto.addonActivation) {\n m.addonActivation = AddonActivation.fromProto(proto.addonActivation);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.rejectedReason !== 'undefined') {\n toReturn['rejectedReason'] = this.rejectedReason;\n }\n if (typeof this.dismissedBy !== 'undefined') {\n toReturn['dismissedBy'] = this.dismissedBy;\n }\n if (typeof this.createdDate !== 'undefined' && this.createdDate !== null) {\n toReturn['createdDate'] = 'toApiJson' in this.createdDate ? this.createdDate.toApiJson() : this.createdDate;\n }\n if (typeof this.updatedDate !== 'undefined' && this.updatedDate !== null) {\n toReturn['updatedDate'] = 'toApiJson' in this.updatedDate ? this.updatedDate.toApiJson() : this.updatedDate;\n }\n if (typeof this.appActivation !== 'undefined' && this.appActivation !== null) {\n toReturn['appActivation'] = 'toApiJson' in this.appActivation ? this.appActivation.toApiJson() : this.appActivation;\n }\n if (typeof this.addonActivation !== 'undefined' && this.addonActivation !== null) {\n toReturn['addonActivation'] = 'toApiJson' in this.addonActivation ? this.addonActivation.toApiJson() : this.addonActivation;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n return toReturn;\n }\n}\nclass PendingDeactivation {\n static fromProto(proto) {\n let m = new PendingDeactivation();\n m = Object.assign(m, proto);\n if (proto.deactivationInfo) {\n m.deactivationInfo = Blame.fromProto(proto.deactivationInfo);\n }\n if (proto.createdDate) {\n m.createdDate = new Date(proto.createdDate);\n }\n if (proto.updatedDate) {\n m.updatedDate = new Date(proto.updatedDate);\n }\n if (proto.deactivationDate) {\n m.deactivationDate = new Date(proto.deactivationDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.deactivationInfo !== 'undefined' && this.deactivationInfo !== null) {\n toReturn['deactivationInfo'] = 'toApiJson' in this.deactivationInfo ? this.deactivationInfo.toApiJson() : this.deactivationInfo;\n }\n if (typeof this.createdDate !== 'undefined' && this.createdDate !== null) {\n toReturn['createdDate'] = 'toApiJson' in this.createdDate ? this.createdDate.toApiJson() : this.createdDate;\n }\n if (typeof this.updatedDate !== 'undefined' && this.updatedDate !== null) {\n toReturn['updatedDate'] = 'toApiJson' in this.updatedDate ? this.updatedDate.toApiJson() : this.updatedDate;\n }\n if (typeof this.deactivationDate !== 'undefined' && this.deactivationDate !== null) {\n toReturn['deactivationDate'] = 'toApiJson' in this.deactivationDate ? this.deactivationDate.toApiJson() : this.deactivationDate;\n }\n if (typeof this.isEditionChange !== 'undefined') {\n toReturn['isEditionChange'] = this.isEditionChange;\n }\n if (typeof this.newEditionId !== 'undefined') {\n toReturn['newEditionId'] = this.newEditionId;\n }\n return toReturn;\n }\n}\nclass ResolveBillingRequest {\n static fromProto(proto) {\n let m = new ResolveBillingRequest();\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.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.approved !== 'undefined') {\n toReturn['approved'] = this.approved;\n }\n if (typeof this.rejectedReason !== 'undefined') {\n toReturn['rejectedReason'] = this.rejectedReason;\n }\n return toReturn;\n }\n}\nclass ResolvePendingActivationRequest {\n static fromProto(proto) {\n let m = new ResolvePendingActivationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.approved !== 'undefined') {\n toReturn['approved'] = this.approved;\n }\n if (typeof this.rejectedReason !== 'undefined') {\n toReturn['rejectedReason'] = this.rejectedReason;\n }\n if (typeof this.accountId !== 'undefined') {\n toReturn['accountId'] = this.accountId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.activationDescriptor !== 'undefined') {\n toReturn['activationDescriptor'] = this.activationDescriptor;\n }\n return toReturn;\n }\n}\nclass SetAutoRenewRequest {\n static fromProto(proto) {\n let m = new SetAutoRenewRequest();\n m = Object.assign(m, proto);\n if (proto.renewalState) {\n m.renewalState = enumStringToValue(RenewalState, proto.renewalState);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.renewalState !== 'undefined') {\n toReturn['renewalState'] = this.renewalState;\n }\n return toReturn;\n }\n}\nclass CanActivateResponseSuccessResponse {\n static fromProto(proto) {\n let m = new CanActivateResponseSuccessResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n return toReturn;\n }\n}\nclass SuspendActivationRequest {\n static fromProto(proto) {\n let m = new SuspendActivationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass UndoCancelRequest {\n static fromProto(proto) {\n let m = new UndoCancelRequest();\n m = Object.assign(m, proto);\n if (proto.undoInfo) {\n m.undoInfo = Blame.fromProto(proto.undoInfo);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.undoInfo !== 'undefined' && this.undoInfo !== null) {\n toReturn['undoInfo'] = 'toApiJson' in this.undoInfo ? this.undoInfo.toApiJson() : this.undoInfo;\n }\n return toReturn;\n }\n}\nclass UnsuspendActivationRequest {\n static fromProto(proto) {\n let m = new UnsuspendActivationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass UpdateExpiryRequest {\n static fromProto(proto) {\n let m = new UpdateExpiryRequest();\n m = Object.assign(m, proto);\n if (proto.deactivateOn) {\n m.deactivateOn = new Date(proto.deactivateOn);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.accountId !== 'undefined') {\n toReturn['accountId'] = this.accountId;\n }\n if (typeof this.deactivateOn !== 'undefined' && this.deactivateOn !== null) {\n toReturn['deactivateOn'] = 'toApiJson' in this.deactivateOn ? this.deactivateOn.toApiJson() : this.deactivateOn;\n }\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n return toReturn;\n }\n}\n\n// *********************************\n\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'accounts.vendasta-local.com',\n 'test': '',\n 'demo': 'accounts-demo.apigateway.co',\n 'prod': 'accounts-prod.apigateway.co',\n 'production': 'accounts-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 AccountsApiService = /*#__PURE__*/(() => {\n class AccountsApiService {\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 activateAddon(r) {\n const request = r.toApiJson ? r : new ActivateAddonRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ActivateAddon\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ActivateAddonResponse.fromProto(resp)));\n }\n deactivateAddon(r) {\n const request = r.toApiJson ? r : new DeactivateAddonRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/DeactivateAddon\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n activateApp(r) {\n const request = r.toApiJson ? r : new ActivateAppRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ActivateApp\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ActivateAppResponse.fromProto(resp)));\n }\n deactivateApp(r) {\n const request = r.toApiJson ? r : new DeactivateAppRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/DeactivateApp\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n deactivateAllApps(r) {\n const request = r.toApiJson ? r : new DeactivateAllAppsRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/DeactivateAllApps\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n changeEdition(r) {\n const request = r.toApiJson ? r : new ChangeEditionRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ChangeEdition\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n undoCancel(r) {\n const request = r.toApiJson ? r : new UndoCancelRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/UndoCancel\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listAddonActivations(r) {\n const request = r.toApiJson ? r : new ListAddonActivationsRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ListAddonActivations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAddonActivationsResponse.fromProto(resp)));\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/Create\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateResponse.fromProto(resp)));\n }\n delete(r) {\n const request = r.toApiJson ? r : new DeleteRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/Delete\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n get(r) {\n const request = r.toApiJson ? r : new GetRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/Get\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetResponse.fromProto(resp)));\n }\n getMulti(r) {\n const request = r.toApiJson ? r : new GetMultiRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/GetMulti\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiResponse.fromProto(resp)));\n }\n list(r) {\n const request = r.toApiJson ? r : new ListRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListResponse.fromProto(resp)));\n }\n listAccountDates(r) {\n const request = r.toApiJson ? r : new ListAccountDatesRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ListAccountDates\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAccountDatesResponse.fromProto(resp)));\n }\n updateExpiry(r) {\n const request = r.toApiJson ? r : new UpdateExpiryRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/UpdateExpiry\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n dismissPendingActivation(r) {\n const request = r.toApiJson ? r : new DismissPendingActivationRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/DismissPendingActivation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n resolvePendingActivation(r) {\n const request = r.toApiJson ? r : new ResolvePendingActivationRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ResolvePendingActivation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listPendingActivations(r) {\n const request = r.toApiJson ? r : new ListPendingActivationRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ListPendingActivations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPendingActivationResponse.fromProto(resp)));\n }\n listPendingDeactivationsForPartner(r) {\n const request = r.toApiJson ? r : new ListPendingDeactivationsForPartnerRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ListPendingDeactivationsForPartner\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPendingDeactivationResponse.fromProto(resp)));\n }\n listPendingDeactivationsForAppOrAddon(r) {\n const request = r.toApiJson ? r : new ListPendingDeactivationsForAppOrAddonRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ListPendingDeactivationsForAppOrAddon\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPendingDeactivationResponse.fromProto(resp)));\n }\n listPendingActivationsForBusiness(r) {\n const request = r.toApiJson ? r : new ListPendingActivationsForBusinessRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ListPendingActivationsForBusiness\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPendingActivationResponse.fromProto(resp)));\n }\n getPendingActivation(r) {\n const request = r.toApiJson ? r : new GetPendingActivationRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/GetPendingActivation\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetPendingActivationResponse.fromProto(resp)));\n }\n resolveBilling(r) {\n const request = r.toApiJson ? r : new ResolveBillingRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ResolveBilling\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listDeactivatedBusinessIDsForApp(r) {\n const request = r.toApiJson ? r : new ListDeactivatedBusinessIDsForAppRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ListDeactivatedBusinessIDsForApp\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListDeactivatedBusinessIDsForAppResponse.fromProto(resp)));\n }\n listActivationEventHistoryForBusiness(r) {\n const request = r.toApiJson ? r : new ListActivationEventHistoryForBusinessRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ListActivationEventHistoryForBusiness\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListActivationEventHistoryForBusinessResponse.fromProto(resp)));\n }\n getDeactivationReasonsForApp(r) {\n const request = r.toApiJson ? r : new GetDeactivationReasonsForAppRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/GetDeactivationReasonsForApp\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetDeactivationReasonsForAppResponse.fromProto(resp)));\n }\n listCustomDeactivationReasonsForApp(r) {\n const request = r.toApiJson ? r : new ListCustomDeactivationReasonsForAppRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ListCustomDeactivationReasonsForApp\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListCustomDeactivationReasonsForAppResponse.fromProto(resp)));\n }\n getAppActivationStatusForBusiness(r) {\n const request = r.toApiJson ? r : new GetAppActivationStatusForBusinessRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/GetAppActivationStatusForBusiness\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAppActivationStatusForBusinessResponse.fromProto(resp)));\n }\n canActivate(r) {\n const request = r.toApiJson ? r : new CanActivateRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/CanActivate\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CanActivateResponse.fromProto(resp)));\n }\n listAppsAndAddonsActivationStatusesForBusiness(r) {\n const request = r.toApiJson ? r : new ListAppsAndAddonsActivationStatusesForBusinessRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/ListAppsAndAddonsActivationStatusesForBusiness\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAppsAndAddonsActivationsStatusesForBusinessResponse.fromProto(resp)));\n }\n suspendActivation(r) {\n const request = r.toApiJson ? r : new SuspendActivationRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/SuspendActivation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n unsuspendActivation(r) {\n const request = r.toApiJson ? r : new UnsuspendActivationRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/UnsuspendActivation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n handleBusinessDeleted(r) {\n const request = r.toApiJson ? r : new HandleBusinessDeletedRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/HandleBusinessDeleted\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getEstimatedBillableRevenueInPeriod(r) {\n const request = r.toApiJson ? r : new GetEstimatedBillableRevenueInPeriodRequest(r);\n return this.http.post(this._host + \"/accounts.v1.AccountsService/GetEstimatedBillableRevenueInPeriod\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetEstimatedBillableRevenueInPeriodResponse.fromProto(resp)));\n }\n }\n AccountsApiService.ɵfac = function AccountsApiService_Factory(t) {\n return new (t || AccountsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n AccountsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AccountsApiService,\n factory: AccountsApiService.ɵfac,\n providedIn: 'root'\n });\n return AccountsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/* eslint-disable @typescript-eslint/no-unsafe-call */\nlet AccountsService = /*#__PURE__*/(() => {\n class AccountsService {\n constructor(accountsApiService) {\n this.accountsApiService = accountsApiService;\n }\n activateAddon(businessId, appId, addOnId, partnerId, orderFormSubmissionId, activationInfo) {\n return this.accountsApiService.activateAddon(new ActivateAddonRequest({\n businessId: businessId,\n appId: appId,\n addonId: addOnId,\n partnerId: partnerId,\n orderFormSubmissionId: orderFormSubmissionId,\n activationInfo: activationInfo\n }));\n }\n deactivateAddon(businessId, appId, addonId, activationId, partnerId, deactivationInfo, deactivationType) {\n return this.accountsApiService.deactivateAddon(new DeactivateAddonRequest({\n businessId: businessId,\n appId: appId,\n addonId: addonId,\n activationId: activationId,\n partnerId: partnerId,\n deactivationInfo: deactivationInfo,\n deactivationType: deactivationType ? deactivationType : DeactivationType.DEACTIVATION_TYPE_CANCEL\n })).pipe(map(response => response.ok));\n }\n listAddonActivations(businessId, appId) {\n return this.accountsApiService.listAddonActivations(new ListAddonActivationsRequest({\n businessId,\n appId\n }));\n }\n getAllActiveAddons(appId, accountId) {\n return this.listAddonActivations(appId, accountId).pipe(map(activations => activations.activations.filter(activation => !activation.deactivated)), shareReplay(1));\n }\n create(businessId, accountId, appId, productId, customEntryUrl, userContactEmail, trial, deactivateOn, orderFormSubmissionId) {\n return this.accountsApiService.create(new CreateRequest({\n businessId,\n accountId,\n appId,\n productId,\n customEntryUrl,\n userContactEmail,\n trial,\n deactivateOn,\n orderFormSubmissionId\n }));\n }\n // accountId and productId are deprecated\n deactivate(businessId, appId, accountId, productId, deactivationInfo, deactivationType, activationId) {\n return this.accountsApiService.deactivateApp(new DeactivateAppRequest({\n businessId: businessId,\n appId: appId,\n deactivationInfo: deactivationInfo,\n deactivationType: deactivationType ? deactivationType : DeactivationType.DEACTIVATION_TYPE_CANCEL,\n activationId: activationId || ''\n })).pipe(map(response => response.ok));\n }\n activateApp(businessId, appId, partnerId, orderFormSubmissionId, activateOn, deactivateOn, trial, activationInfo, editionId) {\n return this.accountsApiService.activateApp(new ActivateAppRequest({\n businessId,\n appId,\n partnerId,\n orderFormSubmissionId,\n activateOn,\n deactivateOn,\n trial,\n activationInfo,\n editionId\n }));\n }\n changeEdition(businessId, appId, activationId, editionId, changeEditionInfo) {\n const req = new ChangeEditionRequest({\n businessId: businessId,\n appId: appId,\n activationId: activationId,\n editionId: editionId,\n changeEditionInfo: changeEditionInfo\n });\n return this.accountsApiService.changeEdition(req).pipe(map(resp => resp.ok));\n }\n list(businessId, partnerId, cursor, pageSize) {\n return this.accountsApiService.list(new ListRequest({\n businessId,\n partnerId,\n cursor,\n pageSize\n }));\n }\n getAppActivationStatusForBusiness(appId, businessId) {\n return this.accountsApiService.getAppActivationStatusForBusiness(new GetAppActivationStatusForBusinessRequest({\n appId,\n businessId\n }));\n }\n listPendingActivations(appId, addonId, cursor, pageSize) {\n return this.accountsApiService.listPendingActivations(new ListPendingActivationRequest({\n appId,\n addonId,\n cursor,\n pageSize\n }));\n }\n listPendingDeactivationsForPartner(partnerId, cursor, pageSize) {\n return this.accountsApiService.listPendingDeactivationsForPartner(new ListPendingDeactivationsForPartnerRequest({\n partnerId: partnerId,\n pagingOptions: new PagedRequestOptions({\n cursor: cursor,\n pageSize: pageSize\n })\n }));\n }\n listPendingActivationsForBusiness(businessId, cursor, pageSize) {\n return this.accountsApiService.listPendingActivationsForBusiness(new ListPendingActivationsForBusinessRequest({\n businessId,\n pageSize,\n cursor\n })).pipe(map(response => {\n if (!!response.pendingActivations) {\n response.pendingActivations.forEach(pa => {\n if (!pa.status) {\n pa.status = PendingActivationStatus.PENDING;\n }\n });\n }\n return response;\n }));\n }\n dismissPendingActivation(activationId, dismissedBy, businessId, appId, addonId) {\n return this.accountsApiService.dismissPendingActivation(new DismissPendingActivationRequest({\n activationId,\n dismissedBy,\n businessId,\n appId,\n addonId\n })).pipe(map(response => response.ok));\n }\n canActivate(appIds, businessId) {\n return this.accountsApiService.canActivate(new CanActivateRequest({\n appIds: appIds,\n businessId: businessId\n })).pipe(map(response => {\n if (response.invalidResponse) {\n return {\n canActivate: false,\n invalidAppIds: response.invalidResponse.invalidAppIds\n };\n }\n return {\n canActivate: true,\n invalidAppIds: []\n };\n }));\n }\n UndoCancel(appId, businessId, activationId, undoInfo) {\n return this.accountsApiService.undoCancel(new UndoCancelRequest({\n appId: appId,\n businessId: businessId,\n activationId: activationId,\n undoInfo: undoInfo\n })).pipe(map(response => response.ok));\n }\n listAccountDates(businessId, cursor, pageSize) {\n return this.accountsApiService.listAccountDates(new ListAccountDatesRequest({\n businessId: businessId,\n cursor: cursor,\n pageSize: pageSize\n })).pipe(map(resp => {\n return resp ? resp.accountDates : [];\n }));\n }\n listAppsAndAddonsActivationStatusesForBusiness(businessId, filters) {\n const request = new ListAppsAndAddonsActivationStatusesForBusinessRequest({\n businessId: businessId\n });\n if (filters) {\n request.filters = new ListAppsAndAddonsActivationStatusesForBusinessRequestAppActivationStatusesFilters({\n appIds: filters.appIds,\n activationStatuses: filters.statuses\n });\n }\n return this.accountsApiService.listAppsAndAddonsActivationStatusesForBusiness(request).pipe(map(resp => {\n return resp ? resp.activationStatuses : [];\n }));\n }\n resolvePendingActivation(activationId, appId, businessId, approved, addonId, accountId, rejectedReason) {\n return this.accountsApiService.resolvePendingActivation(new ResolvePendingActivationRequest({\n activationId: activationId,\n appId: appId,\n businessId: businessId,\n approved: approved,\n addonId: addonId ? addonId : undefined,\n accountId: accountId ? accountId : undefined,\n rejectedReason: rejectedReason ? rejectedReason : undefined\n })).pipe(map(response => response.ok));\n }\n getEstimatedBillableRevenueInPeriod(appId, startDate, endDate) {\n return this.accountsApiService.getEstimatedBillableRevenueInPeriod(new GetEstimatedBillableRevenueInPeriodRequest({\n appId: appId,\n startDate: startDate,\n endDate: endDate\n })).pipe(map(response => response.estimate || 0));\n }\n getMulti(activationIdentifiers) {\n return this.accountsApiService.getMulti(new GetMultiRequest({\n activationIdentifiers: activationIdentifiers\n })).pipe(map(resp => resp ? resp.accounts : []));\n }\n }\n AccountsService.ɵfac = function AccountsService_Factory(t) {\n return new (t || AccountsService)(i0.ɵɵinject(AccountsApiService));\n };\n AccountsService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AccountsService,\n factory: AccountsService.ɵfac,\n providedIn: 'root'\n });\n return AccountsService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\nlet FulfillmentApiService = /*#__PURE__*/(() => {\n class FulfillmentApiService {\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 setAutoRenew(r) {\n const request = r.toApiJson ? r : new SetAutoRenewRequest(r);\n return this.http.post(this._host + \"/accounts.v1.FulfillmentService/SetAutoRenew\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n FulfillmentApiService.ɵfac = function FulfillmentApiService_Factory(t) {\n return new (t || FulfillmentApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n FulfillmentApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FulfillmentApiService,\n factory: FulfillmentApiService.ɵfac,\n providedIn: 'root'\n });\n return FulfillmentApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n\nconst DEACTIVATION_REASON_LIST = ['Crisis/Shift in priorities', 'Customer wasn\\'t satisfied', 'Customer reached end of contract', 'Moving to a competitor', 'Product is too expensive', 'Product was accidentally activated', 'Other'];\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Account, AccountAccountStatus, AccountDates, AccountsApiService, AccountsService, ActivateAddonRequest, ActivateAddonResponse, ActivateAppRequest, ActivateAppResponse, ActivationHistoryItem, ActivationHistoryItemActivationEventType, AddonActivation, AddonActivationAddonActivationStatus, AppAndAddonActivationStatus, Blame, BlameDeactivationReasons, BlamePackageActivation, BlameSource, CanActivateRequest, CanActivateResponse, CanActivateResponseInvalidResponse, CanActivateResponseSuccessResponse, ChangeEditionRequest, ChangeMetadata, CreateRequest, CreateResponse, DEACTIVATION_REASON_LIST, DeactivateAddonRequest, DeactivateAllAppsRequest, DeactivateAppRequest, DeactivationReasonSummary, DeactivationType, DeleteRequest, DismissPendingActivationRequest, FulfillmentApiService, GetAppActivationStatusForBusinessRequest, GetAppActivationStatusForBusinessResponse, GetAppActivationStatusForBusinessResponseActivationStatus, GetDeactivationReasonsForAppRequest, GetDeactivationReasonsForAppRequestGetDeactivationReasonsForAppFilterOptions, GetDeactivationReasonsForAppResponse, GetEstimatedBillableRevenueInPeriodRequest, GetEstimatedBillableRevenueInPeriodResponse, GetMultiRequest, GetMultiRequestActivationIdentifier, GetMultiResponse, GetPendingActivationRequest, GetPendingActivationResponse, GetRequest, GetResponse, HandleBusinessDeletedRequest, ListAccountDatesRequest, ListAccountDatesResponse, ListActivationEventHistoryForBusinessRequest, ListActivationEventHistoryForBusinessRequestListActivationEventHistoryForBusinessFilterOptions, ListActivationEventHistoryForBusinessResponse, ListAddonActivationsRequest, ListAddonActivationsResponse, ListAppsAndAddonsActivationStatusesForBusinessRequest, ListAppsAndAddonsActivationStatusesForBusinessRequestAppActivationStatusesFilters, ListAppsAndAddonsActivationsStatusesForBusinessResponse, ListAppsAndAddonsActivationsStatusesForBusinessResponseAppsAndAddonsActivationStatuses, ListCustomDeactivationReasonsForAppRequest, ListCustomDeactivationReasonsForAppRequestListCustomDeactivationReasonsForAppFilterOptions, ListCustomDeactivationReasonsForAppResponse, ListDeactivatedBusinessIDsForAppRequest, ListDeactivatedBusinessIDsForAppRequestListDeactivatedBusinessIDsForAppFilterOptions, ListDeactivatedBusinessIDsForAppResponse, ListPendingActivationRequest, ListPendingActivationResponse, ListPendingActivationsForBusinessRequest, ListPendingDeactivationResponse, ListPendingDeactivationsForAppOrAddonRequest, ListPendingDeactivationsForPartnerRequest, ListRequest, ListResponse, PagedRequestOptions, PagedResponseMetadata, PendingActivation, PendingActivationStatus, PendingDeactivation, RenewalState, ResolveBillingRequest, ResolvePendingActivationRequest, SetAutoRenewRequest, SuspendActivationRequest, UndoCancelRequest, UnsuspendActivationRequest, UpdateExpiryRequest };\n"],"mappings":"iKAYA,IAAIA,GAA2B,SAAUA,EAAa,CACpD,OAAAA,EAAYA,EAAY,OAAY,CAAC,EAAI,SACzCA,EAAYA,EAAY,KAAU,CAAC,EAAI,OAChCA,CACT,EAAEA,IAAe,CAAC,CAAC,EAOfC,GAAwD,SAAUA,EAA0C,CAC9G,OAAAA,EAAyCA,EAAyC,QAAa,CAAC,EAAI,UACpGA,EAAyCA,EAAyC,WAAgB,CAAC,EAAI,aACvGA,EAAyCA,EAAyC,aAAkB,CAAC,EAAI,eACzGA,EAAyCA,EAAyC,OAAY,CAAC,EAAI,SACnGA,EAAyCA,EAAyC,YAAiB,CAAC,EAAI,cACxGA,EAAyCA,EAAyC,eAAoB,CAAC,EAAI,iBACpGA,CACT,EAAEA,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,CACvC,CACA,oCAAoCV,EAAOoC,EAAWC,EAAS,CAC7D,OAAO,KAAK,mBAAmB,oCAAoC,IAAI5C,EAA2C,CAChH,MAAOO,EACP,UAAWoC,EACX,QAASC,CACX,CAAC,CAAC,EAAE,KAAK9F,EAAImE,GAAYA,EAAS,UAAY,CAAC,CAAC,CAClD,CACA,SAAS4B,EAAuB,CAC9B,OAAO,KAAK,mBAAmB,SAAS,IAAI7E,EAAgB,CAC1D,sBAAuB6E,CACzB,CAAC,CAAC,EAAE,KAAK/F,EAAIC,GAAQA,EAAOA,EAAK,SAAW,CAAC,CAAC,CAAC,CACjD,CACF,CACA,OAAAqD,EAAgB,UAAO,SAAiC/D,EAAG,CACzD,OAAO,IAAKA,GAAK+D,GAAoBF,EAAS3D,EAAkB,CAAC,CACnE,EACA6D,EAAgB,WAA0B9D,EAAmB,CAC3D,MAAO8D,EACP,QAASA,EAAgB,UACzB,WAAY,MACd,CAAC,EACMA,CACT,GAAG","names":["BlameSource","ActivationHistoryItemActivationEventType","AddonActivationAddonActivationStatus","AccountAccountStatus","AppAndAddonActivationStatus","DeactivationType","PendingActivationStatus","enumStringToValue$3","enumRef","value","Blame","_Blame","proto","m","BlameSource","BlameDeactivationReasons","BlamePackageActivation","kwargs","toReturn","_BlameDeactivationReasons","_BlamePackageActivation","enumStringToValue$2","ActivationHistoryItem","_ActivationHistoryItem","ActivationHistoryItemActivationEventType","ChangeMetadata","_ChangeMetadata","DeactivationReasonSummary","_DeactivationReasonSummary","enumStringToValue$1","AddonActivation","_AddonActivation","AddonActivationAddonActivationStatus","enumStringToValue","Account","_Account","AccountAccountStatus","AccountDates","_AccountDates","ActivateAddonRequest","_ActivateAddonRequest","ActivateAddonResponse","_ActivateAddonResponse","ActivateAppRequest","_ActivateAppRequest","ActivateAppResponse","_ActivateAppResponse","GetMultiRequestActivationIdentifier","_GetMultiRequestActivationIdentifier","GetAppActivationStatusForBusinessResponseActivationStatus","_GetAppActivationStatusForBusinessResponseActivationStatus","ListAppsAndAddonsActivationStatusesForBusinessRequestAppActivationStatusesFilters","_ListAppsAndAddonsActivationStatusesForBusinessRequestAppActivationStatusesFilters","v","AppAndAddonActivationStatus","ListAppsAndAddonsActivationsStatusesForBusinessResponseAppsAndAddonsActivationStatuses","_ListAppsAndAddonsActivationsStatusesForBusinessResponseAppsAndAddonsActivationStatuses","CanActivateRequest","_CanActivateRequest","CanActivateResponse","_CanActivateResponse","CanActivateResponseInvalidResponse","CanActivateResponseSuccessResponse","ChangeEditionRequest","_ChangeEditionRequest","CreateRequest","_CreateRequest","CreateResponse","_CreateResponse","DeactivateAddonRequest","_DeactivateAddonRequest","DeactivationType","DeactivateAllAppsRequest","_DeactivateAllAppsRequest","DeactivateAppRequest","_DeactivateAppRequest","DeleteRequest","_DeleteRequest","DismissPendingActivationRequest","_DismissPendingActivationRequest","GetAppActivationStatusForBusinessRequest","_GetAppActivationStatusForBusinessRequest","GetAppActivationStatusForBusinessResponse","_GetAppActivationStatusForBusinessResponse","GetDeactivationReasonsForAppRequestGetDeactivationReasonsForAppFilterOptions","_GetDeactivationReasonsForAppRequestGetDeactivationReasonsForAppFilterOptions","GetDeactivationReasonsForAppRequest","_GetDeactivationReasonsForAppRequest","GetDeactivationReasonsForAppResponse","_GetDeactivationReasonsForAppResponse","GetEstimatedBillableRevenueInPeriodRequest","_GetEstimatedBillableRevenueInPeriodRequest","GetEstimatedBillableRevenueInPeriodResponse","_GetEstimatedBillableRevenueInPeriodResponse","GetMultiRequest","_GetMultiRequest","GetMultiResponse","_GetMultiResponse","GetPendingActivationRequest","_GetPendingActivationRequest","GetPendingActivationResponse","_GetPendingActivationResponse","PendingActivation","GetRequest","_GetRequest","GetResponse","_GetResponse","HandleBusinessDeletedRequest","_HandleBusinessDeletedRequest","_CanActivateResponseInvalidResponse","ListAccountDatesRequest","_ListAccountDatesRequest","ListAccountDatesResponse","_ListAccountDatesResponse","ListActivationEventHistoryForBusinessRequestListActivationEventHistoryForBusinessFilterOptions","_ListActivationEventHistoryForBusinessRequestListActivationEventHistoryForBusinessFilterOptions","ListActivationEventHistoryForBusinessRequest","_ListActivationEventHistoryForBusinessRequest","ListActivationEventHistoryForBusinessResponse","_ListActivationEventHistoryForBusinessResponse","ListAddonActivationsRequest","_ListAddonActivationsRequest","ListAddonActivationsResponse","_ListAddonActivationsResponse","ListAppsAndAddonsActivationStatusesForBusinessRequest","_ListAppsAndAddonsActivationStatusesForBusinessRequest","ListAppsAndAddonsActivationsStatusesForBusinessResponse","_ListAppsAndAddonsActivationsStatusesForBusinessResponse","ListCustomDeactivationReasonsForAppRequestListCustomDeactivationReasonsForAppFilterOptions","_ListCustomDeactivationReasonsForAppRequestListCustomDeactivationReasonsForAppFilterOptions","ListCustomDeactivationReasonsForAppRequest","_ListCustomDeactivationReasonsForAppRequest","ListCustomDeactivationReasonsForAppResponse","_ListCustomDeactivationReasonsForAppResponse","ListDeactivatedBusinessIDsForAppRequestListDeactivatedBusinessIDsForAppFilterOptions","_ListDeactivatedBusinessIDsForAppRequestListDeactivatedBusinessIDsForAppFilterOptions","ListDeactivatedBusinessIDsForAppRequest","_ListDeactivatedBusinessIDsForAppRequest","ListDeactivatedBusinessIDsForAppResponse","_ListDeactivatedBusinessIDsForAppResponse","ListPendingActivationRequest","_ListPendingActivationRequest","ListPendingActivationResponse","_ListPendingActivationResponse","ListPendingActivationsForBusinessRequest","_ListPendingActivationsForBusinessRequest","ListPendingDeactivationResponse","_ListPendingDeactivationResponse","PendingDeactivation","PagedResponseMetadata","ListPendingDeactivationsForAppOrAddonRequest","_ListPendingDeactivationsForAppOrAddonRequest","PagedRequestOptions","ListPendingDeactivationsForPartnerRequest","_ListPendingDeactivationsForPartnerRequest","ListRequest","_ListRequest","ListResponse","_ListResponse","_PagedRequestOptions","_PagedResponseMetadata","_PendingActivation","_PendingDeactivation","ResolveBillingRequest","_ResolveBillingRequest","ResolvePendingActivationRequest","_ResolvePendingActivationRequest","CanActivateResponseSuccessResponse","_CanActivateResponseSuccessResponse","proto","m","kwargs","SuspendActivationRequest","_SuspendActivationRequest","toReturn","UndoCancelRequest","_UndoCancelRequest","Blame","UnsuspendActivationRequest","_UnsuspendActivationRequest","UpdateExpiryRequest","_UpdateExpiryRequest","environment","hostMap","HostService","t","ɵɵdefineInjectable","AccountsApiService","http","hostService","HttpHeaders","r","request","ActivateAddonRequest","map","resp","ActivateAddonResponse","DeactivateAddonRequest","__spreadProps","__spreadValues","ActivateAppRequest","ActivateAppResponse","DeactivateAppRequest","DeactivateAllAppsRequest","ChangeEditionRequest","ListAddonActivationsRequest","ListAddonActivationsResponse","CreateRequest","CreateResponse","DeleteRequest","GetRequest","GetResponse","GetMultiRequest","GetMultiResponse","ListRequest","ListResponse","ListAccountDatesRequest","ListAccountDatesResponse","DismissPendingActivationRequest","ResolvePendingActivationRequest","ListPendingActivationRequest","ListPendingActivationResponse","ListPendingDeactivationsForPartnerRequest","ListPendingDeactivationResponse","ListPendingDeactivationsForAppOrAddonRequest","ListPendingActivationsForBusinessRequest","GetPendingActivationRequest","GetPendingActivationResponse","ResolveBillingRequest","ListDeactivatedBusinessIDsForAppRequest","ListDeactivatedBusinessIDsForAppResponse","ListActivationEventHistoryForBusinessRequest","ListActivationEventHistoryForBusinessResponse","GetDeactivationReasonsForAppRequest","GetDeactivationReasonsForAppResponse","ListCustomDeactivationReasonsForAppRequest","ListCustomDeactivationReasonsForAppResponse","GetAppActivationStatusForBusinessRequest","GetAppActivationStatusForBusinessResponse","CanActivateRequest","CanActivateResponse","ListAppsAndAddonsActivationStatusesForBusinessRequest","ListAppsAndAddonsActivationsStatusesForBusinessResponse","HandleBusinessDeletedRequest","GetEstimatedBillableRevenueInPeriodRequest","GetEstimatedBillableRevenueInPeriodResponse","ɵɵinject","HttpClient","AccountsService","accountsApiService","businessId","appId","addOnId","partnerId","orderFormSubmissionId","activationInfo","addonId","activationId","deactivationInfo","deactivationType","DeactivationType","response","accountId","activations","activation","shareReplay","productId","customEntryUrl","userContactEmail","trial","deactivateOn","activateOn","editionId","changeEditionInfo","req","cursor","pageSize","PagedRequestOptions","pa","PendingActivationStatus","dismissedBy","appIds","undoInfo","filters","ListAppsAndAddonsActivationStatusesForBusinessRequestAppActivationStatusesFilters","approved","rejectedReason","startDate","endDate","activationIdentifiers"],"x_google_ignoreList":[0]}