{"version":3,"sources":["node_modules/@vendasta/sales-orders/fesm2020/vendasta-sales-orders.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Injectable } from '@angular/core';\nimport { map } from 'rxjs/operators';\nimport * as i1 from '@angular/common/http';\nimport { HttpHeaders } from '@angular/common/http';\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar Currency = /*#__PURE__*/function (Currency) {\n Currency[Currency[\"USD\"] = 0] = \"USD\";\n Currency[Currency[\"CAD\"] = 1] = \"CAD\";\n Currency[Currency[\"EUR\"] = 2] = \"EUR\";\n Currency[Currency[\"AUD\"] = 3] = \"AUD\";\n Currency[Currency[\"GBP\"] = 4] = \"GBP\";\n Currency[Currency[\"NZD\"] = 5] = \"NZD\";\n Currency[Currency[\"ZAR\"] = 6] = \"ZAR\";\n return Currency;\n}(Currency || {});\nvar DurationPeriod = /*#__PURE__*/function (DurationPeriod) {\n DurationPeriod[DurationPeriod[\"UNSPECIFIED\"] = 0] = \"UNSPECIFIED\";\n DurationPeriod[DurationPeriod[\"MONTH\"] = 1] = \"MONTH\";\n DurationPeriod[DurationPeriod[\"YEAR\"] = 2] = \"YEAR\";\n DurationPeriod[DurationPeriod[\"DAY\"] = 3] = \"DAY\";\n DurationPeriod[DurationPeriod[\"WEEK\"] = 4] = \"WEEK\";\n return DurationPeriod;\n}(DurationPeriod || {});\nvar RevenuePeriod = /*#__PURE__*/function (RevenuePeriod) {\n RevenuePeriod[RevenuePeriod[\"ONETIME\"] = 0] = \"ONETIME\";\n RevenuePeriod[RevenuePeriod[\"DAILY\"] = 1] = \"DAILY\";\n RevenuePeriod[RevenuePeriod[\"WEEKLY\"] = 2] = \"WEEKLY\";\n RevenuePeriod[RevenuePeriod[\"BIWEEKLY\"] = 3] = \"BIWEEKLY\";\n RevenuePeriod[RevenuePeriod[\"MONTHLY\"] = 4] = \"MONTHLY\";\n RevenuePeriod[RevenuePeriod[\"YEARLY\"] = 5] = \"YEARLY\";\n return RevenuePeriod;\n}(RevenuePeriod || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ActivationStatus = /*#__PURE__*/function (ActivationStatus) {\n ActivationStatus[ActivationStatus[\"PENDING\"] = 0] = \"PENDING\";\n ActivationStatus[ActivationStatus[\"ACTIVATED\"] = 1] = \"ACTIVATED\";\n ActivationStatus[ActivationStatus[\"ERRORED\"] = 2] = \"ERRORED\";\n ActivationStatus[ActivationStatus[\"ALREADY_ACTIVATED\"] = 3] = \"ALREADY_ACTIVATED\";\n ActivationStatus[ActivationStatus[\"IGNORED_ERRORS\"] = 4] = \"IGNORED_ERRORS\";\n ActivationStatus[ActivationStatus[\"CANCELED\"] = 5] = \"CANCELED\";\n ActivationStatus[ActivationStatus[\"DEACTIVATED\"] = 6] = \"DEACTIVATED\";\n ActivationStatus[ActivationStatus[\"UNKNOWN\"] = 7] = \"UNKNOWN\";\n return ActivationStatus;\n}(ActivationStatus || {});\nvar FieldType = /*#__PURE__*/function (FieldType) {\n FieldType[FieldType[\"NOT_SPECIFIED\"] = 0] = \"NOT_SPECIFIED\";\n FieldType[FieldType[\"TEXT\"] = 1] = \"TEXT\";\n FieldType[FieldType[\"TEXTAREA\"] = 2] = \"TEXTAREA\";\n FieldType[FieldType[\"DROPDOWN\"] = 3] = \"DROPDOWN\";\n FieldType[FieldType[\"CHECKBOX\"] = 4] = \"CHECKBOX\";\n FieldType[FieldType[\"FILE\"] = 5] = \"FILE\";\n FieldType[FieldType[\"VBCUSER\"] = 6] = \"VBCUSER\";\n return FieldType;\n}(FieldType || {});\nvar FulfillmentOrderStatus = /*#__PURE__*/function (FulfillmentOrderStatus) {\n FulfillmentOrderStatus[FulfillmentOrderStatus[\"FULFILLMENT_STATUS_UNSET\"] = 0] = \"FULFILLMENT_STATUS_UNSET\";\n FulfillmentOrderStatus[FulfillmentOrderStatus[\"FULFILLMENT_STATUS_DETAILS_NEEDED\"] = 1] = \"FULFILLMENT_STATUS_DETAILS_NEEDED\";\n FulfillmentOrderStatus[FulfillmentOrderStatus[\"FULFILLMENT_STATUS_IN_REVIEW\"] = 2] = \"FULFILLMENT_STATUS_IN_REVIEW\";\n FulfillmentOrderStatus[FulfillmentOrderStatus[\"FULFILLMENT_STATUS_IN_PROGRESS\"] = 3] = \"FULFILLMENT_STATUS_IN_PROGRESS\";\n FulfillmentOrderStatus[FulfillmentOrderStatus[\"FULFILLMENT_STATUS_COMPLETED\"] = 4] = \"FULFILLMENT_STATUS_COMPLETED\";\n FulfillmentOrderStatus[FulfillmentOrderStatus[\"FULFILLMENT_STATUS_CANCELLED\"] = 5] = \"FULFILLMENT_STATUS_CANCELLED\";\n return FulfillmentOrderStatus;\n}(FulfillmentOrderStatus || {});\nvar Origin = /*#__PURE__*/function (Origin) {\n Origin[Origin[\"SSC\"] = 0] = \"SSC\";\n Origin[Origin[\"VBC\"] = 1] = \"VBC\";\n Origin[Origin[\"PC\"] = 2] = \"PC\";\n Origin[Origin[\"IMPORT\"] = 3] = \"IMPORT\";\n return Origin;\n}(Origin || {});\nvar Status = /*#__PURE__*/function (Status) {\n Status[Status[\"SUBMITTED\"] = 0] = \"SUBMITTED\";\n Status[Status[\"APPROVED\"] = 1] = \"APPROVED\";\n Status[Status[\"DECLINED\"] = 2] = \"DECLINED\";\n Status[Status[\"DRAFTED\"] = 3] = \"DRAFTED\";\n Status[Status[\"FULFILLED\"] = 4] = \"FULFILLED\";\n Status[Status[\"PROCESSING\"] = 5] = \"PROCESSING\";\n Status[Status[\"ACTIVATION_ERRORS\"] = 6] = \"ACTIVATION_ERRORS\";\n Status[Status[\"ARCHIVED\"] = 7] = \"ARCHIVED\";\n Status[Status[\"SUBMITTED_FOR_CUSTOMER_APPROVAL\"] = 8] = \"SUBMITTED_FOR_CUSTOMER_APPROVAL\";\n Status[Status[\"CANCELLATION_REQUESTED\"] = 9] = \"CANCELLATION_REQUESTED\";\n Status[Status[\"CANCELLED\"] = 10] = \"CANCELLED\";\n Status[Status[\"SCHEDULED_ACTIVATION\"] = 11] = \"SCHEDULED_ACTIVATION\";\n Status[Status[\"AWAITING_PAYMENT\"] = 12] = \"AWAITING_PAYMENT\";\n Status[Status[\"PROCESSING_PAYMENT\"] = 13] = \"PROCESSING_PAYMENT\";\n Status[Status[\"RESUBMITTED\"] = 14] = \"RESUBMITTED\";\n return Status;\n}(Status || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar SubscriptionLocation = /*#__PURE__*/function (SubscriptionLocation) {\n SubscriptionLocation[SubscriptionLocation[\"SUBSCRIPTION_LOCATION_NOT_USED\"] = 0] = \"SUBSCRIPTION_LOCATION_NOT_USED\";\n SubscriptionLocation[SubscriptionLocation[\"SUBSCRIPTION_LOCATION_PARTNER_CENTER\"] = 1] = \"SUBSCRIPTION_LOCATION_PARTNER_CENTER\";\n SubscriptionLocation[SubscriptionLocation[\"SUBSCRIPTION_LOCATION_SALES_CENTER\"] = 2] = \"SUBSCRIPTION_LOCATION_SALES_CENTER\";\n SubscriptionLocation[SubscriptionLocation[\"SUBSCRIPTION_LOCATION_BUSINESS_CENTER\"] = 3] = \"SUBSCRIPTION_LOCATION_BUSINESS_CENTER\";\n return SubscriptionLocation;\n}(SubscriptionLocation || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar AuxiliaryDataFieldType = /*#__PURE__*/function (AuxiliaryDataFieldType) {\n AuxiliaryDataFieldType[AuxiliaryDataFieldType[\"AUXILIARY_DATA_FIELD_TYPE_INVALID\"] = 0] = \"AUXILIARY_DATA_FIELD_TYPE_INVALID\";\n AuxiliaryDataFieldType[AuxiliaryDataFieldType[\"AUXILIARY_DATA_FIELD_TYPE_STRING\"] = 1] = \"AUXILIARY_DATA_FIELD_TYPE_STRING\";\n AuxiliaryDataFieldType[AuxiliaryDataFieldType[\"AUXILIARY_DATA_FIELD_TYPE_INTEGER\"] = 2] = \"AUXILIARY_DATA_FIELD_TYPE_INTEGER\";\n AuxiliaryDataFieldType[AuxiliaryDataFieldType[\"AUXILIARY_DATA_FIELD_TYPE_DATE\"] = 3] = \"AUXILIARY_DATA_FIELD_TYPE_DATE\";\n AuxiliaryDataFieldType[AuxiliaryDataFieldType[\"AUXILIARY_DATA_FIELD_TYPE_DROPDOWN\"] = 4] = \"AUXILIARY_DATA_FIELD_TYPE_DROPDOWN\";\n AuxiliaryDataFieldType[AuxiliaryDataFieldType[\"AUXILIARY_DATA_FIELD_TYPE_CURRENCY\"] = 5] = \"AUXILIARY_DATA_FIELD_TYPE_CURRENCY\";\n return AuxiliaryDataFieldType;\n}(AuxiliaryDataFieldType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar InitiateOrderExportRequestDataFormatOption = /*#__PURE__*/function (InitiateOrderExportRequestDataFormatOption) {\n InitiateOrderExportRequestDataFormatOption[InitiateOrderExportRequestDataFormatOption[\"ORDERS_PER_ROW\"] = 0] = \"ORDERS_PER_ROW\";\n InitiateOrderExportRequestDataFormatOption[InitiateOrderExportRequestDataFormatOption[\"PRODUCTS_PER_ROW\"] = 1] = \"PRODUCTS_PER_ROW\";\n InitiateOrderExportRequestDataFormatOption[InitiateOrderExportRequestDataFormatOption[\"ORDERS_PER_ROW_SALES\"] = 2] = \"ORDERS_PER_ROW_SALES\";\n InitiateOrderExportRequestDataFormatOption[InitiateOrderExportRequestDataFormatOption[\"PRODUCTS_PER_ROW_SALES\"] = 3] = \"PRODUCTS_PER_ROW_SALES\";\n InitiateOrderExportRequestDataFormatOption[InitiateOrderExportRequestDataFormatOption[\"ORDERS_PER_ROW_BUYER\"] = 4] = \"ORDERS_PER_ROW_BUYER\";\n InitiateOrderExportRequestDataFormatOption[InitiateOrderExportRequestDataFormatOption[\"PRODUCTS_PER_ROW_BUYER\"] = 5] = \"PRODUCTS_PER_ROW_BUYER\";\n return InitiateOrderExportRequestDataFormatOption;\n}(InitiateOrderExportRequestDataFormatOption || {});\nvar ListSalesOrderRequestSortDirection = /*#__PURE__*/function (ListSalesOrderRequestSortDirection) {\n ListSalesOrderRequestSortDirection[ListSalesOrderRequestSortDirection[\"ASCENDING\"] = 0] = \"ASCENDING\";\n ListSalesOrderRequestSortDirection[ListSalesOrderRequestSortDirection[\"DESCENDING\"] = 1] = \"DESCENDING\";\n return ListSalesOrderRequestSortDirection;\n}(ListSalesOrderRequestSortDirection || {});\nvar ListCustomerSalesOrderRequestSortDirection = /*#__PURE__*/function (ListCustomerSalesOrderRequestSortDirection) {\n ListCustomerSalesOrderRequestSortDirection[ListCustomerSalesOrderRequestSortDirection[\"ASCENDING\"] = 0] = \"ASCENDING\";\n ListCustomerSalesOrderRequestSortDirection[ListCustomerSalesOrderRequestSortDirection[\"DESCENDING\"] = 1] = \"DESCENDING\";\n return ListCustomerSalesOrderRequestSortDirection;\n}(ListCustomerSalesOrderRequestSortDirection || {});\nvar InitiateOrderExportRequestSortDirection = /*#__PURE__*/function (InitiateOrderExportRequestSortDirection) {\n InitiateOrderExportRequestSortDirection[InitiateOrderExportRequestSortDirection[\"ASCENDING\"] = 0] = \"ASCENDING\";\n InitiateOrderExportRequestSortDirection[InitiateOrderExportRequestSortDirection[\"DESCENDING\"] = 1] = \"DESCENDING\";\n return InitiateOrderExportRequestSortDirection;\n}(InitiateOrderExportRequestSortDirection || {});\nvar ListCustomerSalesOrderRequestSortField = /*#__PURE__*/function (ListCustomerSalesOrderRequestSortField) {\n ListCustomerSalesOrderRequestSortField[ListCustomerSalesOrderRequestSortField[\"REQUESTED_ACTIVATION\"] = 0] = \"REQUESTED_ACTIVATION\";\n ListCustomerSalesOrderRequestSortField[ListCustomerSalesOrderRequestSortField[\"CREATED\"] = 1] = \"CREATED\";\n ListCustomerSalesOrderRequestSortField[ListCustomerSalesOrderRequestSortField[\"STATUS\"] = 2] = \"STATUS\";\n ListCustomerSalesOrderRequestSortField[ListCustomerSalesOrderRequestSortField[\"EXPIRY_DATE\"] = 3] = \"EXPIRY_DATE\";\n return ListCustomerSalesOrderRequestSortField;\n}(ListCustomerSalesOrderRequestSortField || {});\nvar InitiateOrderExportRequestSortField = /*#__PURE__*/function (InitiateOrderExportRequestSortField) {\n InitiateOrderExportRequestSortField[InitiateOrderExportRequestSortField[\"REQUESTED_ACTIVATION\"] = 0] = \"REQUESTED_ACTIVATION\";\n InitiateOrderExportRequestSortField[InitiateOrderExportRequestSortField[\"CREATED\"] = 1] = \"CREATED\";\n InitiateOrderExportRequestSortField[InitiateOrderExportRequestSortField[\"STATUS\"] = 2] = \"STATUS\";\n InitiateOrderExportRequestSortField[InitiateOrderExportRequestSortField[\"EXPIRY_DATE\"] = 3] = \"EXPIRY_DATE\";\n return InitiateOrderExportRequestSortField;\n}(InitiateOrderExportRequestSortField || {});\nvar ListSalesOrderRequestSortField = /*#__PURE__*/function (ListSalesOrderRequestSortField) {\n ListSalesOrderRequestSortField[ListSalesOrderRequestSortField[\"REQUESTED_ACTIVATION\"] = 0] = \"REQUESTED_ACTIVATION\";\n ListSalesOrderRequestSortField[ListSalesOrderRequestSortField[\"CREATED\"] = 1] = \"CREATED\";\n ListSalesOrderRequestSortField[ListSalesOrderRequestSortField[\"STATUS\"] = 2] = \"STATUS\";\n ListSalesOrderRequestSortField[ListSalesOrderRequestSortField[\"EXPIRY_DATE\"] = 3] = \"EXPIRY_DATE\";\n return ListSalesOrderRequestSortField;\n}(ListSalesOrderRequestSortField || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ContentType = /*#__PURE__*/function (ContentType) {\n ContentType[ContentType[\"CONTENT_TYPE_TEXT_PLAIN\"] = 0] = \"CONTENT_TYPE_TEXT_PLAIN\";\n ContentType[ContentType[\"CONTENT_TYPE_TEXT_HTML\"] = 1] = \"CONTENT_TYPE_TEXT_HTML\";\n return ContentType;\n}(ContentType || {});\nvar DocumentEventType = /*#__PURE__*/function (DocumentEventType) {\n DocumentEventType[DocumentEventType[\"DOCUMENT_EVENT_TYPE_INVALID\"] = 0] = \"DOCUMENT_EVENT_TYPE_INVALID\";\n DocumentEventType[DocumentEventType[\"DOCUMENT_EVENT_TYPE_SENT_BY_EMAIL\"] = 1] = \"DOCUMENT_EVENT_TYPE_SENT_BY_EMAIL\";\n DocumentEventType[DocumentEventType[\"DOCUMENT_EVENT_TYPE_VIEWED_BY_RECIPIENT\"] = 2] = \"DOCUMENT_EVENT_TYPE_VIEWED_BY_RECIPIENT\";\n DocumentEventType[DocumentEventType[\"DOCUMENT_EVENT_TYPE_FEEDBACK_FROM_RECIPIENT\"] = 3] = \"DOCUMENT_EVENT_TYPE_FEEDBACK_FROM_RECIPIENT\";\n DocumentEventType[DocumentEventType[\"DOCUMENT_EVENT_TYPE_APPROVED_BY_RECIPIENT\"] = 4] = \"DOCUMENT_EVENT_TYPE_APPROVED_BY_RECIPIENT\";\n DocumentEventType[DocumentEventType[\"DOCUMENT_EVENT_TYPE_INTERNAL_REVIEW_REQUESTED\"] = 5] = \"DOCUMENT_EVENT_TYPE_INTERNAL_REVIEW_REQUESTED\";\n DocumentEventType[DocumentEventType[\"DOCUMENT_EVENT_TYPE_COMMENT_FROM_INTERNAL_USER\"] = 6] = \"DOCUMENT_EVENT_TYPE_COMMENT_FROM_INTERNAL_USER\";\n DocumentEventType[DocumentEventType[\"DOCUMENT_EVENT_TYPE_REVIEWED_BY_INTERNAL_USER\"] = 7] = \"DOCUMENT_EVENT_TYPE_REVIEWED_BY_INTERNAL_USER\";\n DocumentEventType[DocumentEventType[\"DOCUMENT_EVENT_TYPE_UNLOCK_DOCUMENT\"] = 8] = \"DOCUMENT_EVENT_TYPE_UNLOCK_DOCUMENT\";\n return DocumentEventType;\n}(DocumentEventType || {});\nvar DocumentShareType = /*#__PURE__*/function (DocumentShareType) {\n DocumentShareType[DocumentShareType[\"DOCUMENT_SHARE_TYPE_INVALID\"] = 0] = \"DOCUMENT_SHARE_TYPE_INVALID\";\n DocumentShareType[DocumentShareType[\"DOCUMENT_SHARE_TYPE_GLOBAL\"] = 1] = \"DOCUMENT_SHARE_TYPE_GLOBAL\";\n DocumentShareType[DocumentShareType[\"DOCUMENT_SHARE_TYPE_ORGANIZATION\"] = 2] = \"DOCUMENT_SHARE_TYPE_ORGANIZATION\";\n return DocumentShareType;\n}(DocumentShareType || {});\nvar DocumentStatus = /*#__PURE__*/function (DocumentStatus) {\n DocumentStatus[DocumentStatus[\"DOCUMENT_STATUS_INVALID\"] = 0] = \"DOCUMENT_STATUS_INVALID\";\n DocumentStatus[DocumentStatus[\"DOCUMENT_STATUS_SENT\"] = 1] = \"DOCUMENT_STATUS_SENT\";\n DocumentStatus[DocumentStatus[\"DOCUMENT_STATUS_VIEWED_BY_RECIPIENT\"] = 2] = \"DOCUMENT_STATUS_VIEWED_BY_RECIPIENT\";\n DocumentStatus[DocumentStatus[\"DOCUMENT_STATUS_FEEDBACK_FROM_RECIPIENT\"] = 3] = \"DOCUMENT_STATUS_FEEDBACK_FROM_RECIPIENT\";\n DocumentStatus[DocumentStatus[\"DOCUMENT_STATUS_APPROVED_BY_RECIPIENT\"] = 4] = \"DOCUMENT_STATUS_APPROVED_BY_RECIPIENT\";\n DocumentStatus[DocumentStatus[\"DOCUMENT_STATUS_ARCHIVED\"] = 5] = \"DOCUMENT_STATUS_ARCHIVED\";\n DocumentStatus[DocumentStatus[\"DOCUMENT_STATUS_DELETED\"] = 6] = \"DOCUMENT_STATUS_DELETED\";\n DocumentStatus[DocumentStatus[\"DOCUMENT_STATUS_PENDING_REVIEW\"] = 7] = \"DOCUMENT_STATUS_PENDING_REVIEW\";\n DocumentStatus[DocumentStatus[\"DOCUMENT_STATUS_REVIEWED\"] = 8] = \"DOCUMENT_STATUS_REVIEWED\";\n DocumentStatus[DocumentStatus[\"DOCUMENT_STATUS_DRAFT\"] = 50] = \"DOCUMENT_STATUS_DRAFT\";\n return DocumentStatus;\n}(DocumentStatus || {});\nvar DocumentType = /*#__PURE__*/function (DocumentType) {\n DocumentType[DocumentType[\"DOCUMENT_TYPE_INVALID\"] = 0] = \"DOCUMENT_TYPE_INVALID\";\n DocumentType[DocumentType[\"DOCUMENT_TYPE_PROPOSAL\"] = 1] = \"DOCUMENT_TYPE_PROPOSAL\";\n DocumentType[DocumentType[\"DOCUMENT_TYPE_PROPOSAL_TEMPLATE\"] = 2] = \"DOCUMENT_TYPE_PROPOSAL_TEMPLATE\";\n DocumentType[DocumentType[\"DOCUMENT_TYPE_PAGE_TEMPLATE\"] = 3] = \"DOCUMENT_TYPE_PAGE_TEMPLATE\";\n DocumentType[DocumentType[\"DOCUMENT_TYPE_WIDGET_TEMPLATE\"] = 4] = \"DOCUMENT_TYPE_WIDGET_TEMPLATE\";\n return DocumentType;\n}(DocumentType || {});\nvar OrganizationType = /*#__PURE__*/function (OrganizationType) {\n OrganizationType[OrganizationType[\"ORGANIZATION_TYPE_INVALID\"] = 0] = \"ORGANIZATION_TYPE_INVALID\";\n OrganizationType[OrganizationType[\"ORGANIZATION_TYPE_PARTNER\"] = 1] = \"ORGANIZATION_TYPE_PARTNER\";\n OrganizationType[OrganizationType[\"ORGANIZATION_TYPE_SMB\"] = 2] = \"ORGANIZATION_TYPE_SMB\";\n return OrganizationType;\n}(OrganizationType || {});\nvar Orientation = /*#__PURE__*/function (Orientation) {\n Orientation[Orientation[\"ORIENTATION_PORTRAIT\"] = 0] = \"ORIENTATION_PORTRAIT\";\n Orientation[Orientation[\"ORIENTATION_LANDSCAPE\"] = 1] = \"ORIENTATION_LANDSCAPE\";\n return Orientation;\n}(Orientation || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums Index.\n// *********************************\n\nfunction enumStringToValue$d(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass LineItemAppKey {\n static fromProto(proto) {\n let m = new LineItemAppKey();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.editionId !== 'undefined') {\n toReturn['editionId'] = this.editionId;\n }\n if (typeof this.packageId !== 'undefined') {\n toReturn['packageId'] = this.packageId;\n }\n if (typeof this.packageInstanceId !== 'undefined') {\n toReturn['packageInstanceId'] = this.packageInstanceId;\n }\n return toReturn;\n }\n}\nclass BillingPeriod {\n static fromProto(proto) {\n let m = new BillingPeriod();\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.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 Cost {\n static fromProto(proto) {\n let m = new Cost();\n m = Object.assign(m, proto);\n if (proto.customPrice) {\n m.customPrice = parseInt(proto.customPrice, 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.customPrice !== 'undefined') {\n toReturn['customPrice'] = this.customPrice;\n }\n return toReturn;\n }\n}\nclass CustomPriceMapping {\n static fromProto(proto) {\n let m = new CustomPriceMapping();\n m = Object.assign(m, proto);\n if (proto.customPrice) {\n m.customPrice = parseInt(proto.customPrice, 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.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.customPrice !== 'undefined') {\n toReturn['customPrice'] = this.customPrice;\n }\n return toReturn;\n }\n}\nclass Duration {\n static fromProto(proto) {\n let m = new Duration();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = parseInt(proto.value, 10);\n }\n if (proto.duration) {\n m.duration = enumStringToValue$d(DurationPeriod, proto.duration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n if (typeof this.duration !== 'undefined') {\n toReturn['duration'] = this.duration;\n }\n return toReturn;\n }\n}\nclass LineItem {\n static fromProto(proto) {\n let m = new LineItem();\n m = Object.assign(m, proto);\n if (proto.appKey) {\n m.appKey = LineItemAppKey.fromProto(proto.appKey);\n }\n if (proto.currency) {\n m.currency = enumStringToValue$d(Currency, proto.currency);\n }\n if (proto.initialRevenue) {\n m.initialRevenue = Revenue.fromProto(proto.initialRevenue);\n }\n if (proto.currentRevenue) {\n m.currentRevenue = Revenue.fromProto(proto.currentRevenue);\n }\n if (proto.quantity) {\n m.quantity = parseInt(proto.quantity, 10);\n }\n if (proto.cost) {\n m.cost = Cost.fromProto(proto.cost);\n }\n if (proto.customPrices) {\n m.customPrices = proto.customPrices.map(CustomPriceMapping.fromProto);\n }\n if (proto.billingPeriod) {\n m.billingPeriod = BillingPeriod.fromProto(proto.billingPeriod);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appKey !== 'undefined' && this.appKey !== null) {\n toReturn['appKey'] = 'toApiJson' in this.appKey ? this.appKey.toApiJson() : this.appKey;\n }\n if (typeof this.packageId !== 'undefined') {\n toReturn['packageId'] = this.packageId;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.initialRevenue !== 'undefined' && this.initialRevenue !== null) {\n toReturn['initialRevenue'] = 'toApiJson' in this.initialRevenue ? this.initialRevenue.toApiJson() : this.initialRevenue;\n }\n if (typeof this.currentRevenue !== 'undefined' && this.currentRevenue !== null) {\n toReturn['currentRevenue'] = 'toApiJson' in this.currentRevenue ? this.currentRevenue.toApiJson() : this.currentRevenue;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.isTrial !== 'undefined') {\n toReturn['isTrial'] = this.isTrial;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.cost !== 'undefined' && this.cost !== null) {\n toReturn['cost'] = 'toApiJson' in this.cost ? this.cost.toApiJson() : this.cost;\n }\n if (typeof this.customPrices !== 'undefined' && this.customPrices !== null) {\n toReturn['customPrices'] = 'toApiJson' in this.customPrices ? this.customPrices.toApiJson() : this.customPrices;\n }\n if (typeof this.billingPeriod !== 'undefined' && this.billingPeriod !== null) {\n toReturn['billingPeriod'] = 'toApiJson' in this.billingPeriod ? this.billingPeriod.toApiJson() : this.billingPeriod;\n }\n if (typeof this.autoBillable !== 'undefined') {\n toReturn['autoBillable'] = this.autoBillable;\n }\n if (typeof this.nonBillable !== 'undefined') {\n toReturn['nonBillable'] = this.nonBillable;\n }\n return toReturn;\n }\n}\nclass Revenue {\n static fromProto(proto) {\n let m = new Revenue();\n m = Object.assign(m, proto);\n if (proto.revenueComponents) {\n m.revenueComponents = proto.revenueComponents.map(RevenueComponent.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.revenueComponents !== 'undefined' && this.revenueComponents !== null) {\n toReturn['revenueComponents'] = 'toApiJson' in this.revenueComponents ? this.revenueComponents.toApiJson() : this.revenueComponents;\n }\n return toReturn;\n }\n}\nclass RevenueComponent {\n static fromProto(proto) {\n let m = new RevenueComponent();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = parseInt(proto.value, 10);\n }\n if (proto.period) {\n m.period = enumStringToValue$d(RevenuePeriod, proto.period);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n if (typeof this.period !== 'undefined') {\n toReturn['period'] = this.period;\n }\n if (typeof this.isStartingRevenue !== 'undefined') {\n toReturn['isStartingRevenue'] = this.isStartingRevenue;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$c(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass TaxOptions {\n static fromProto(proto) {\n let m = new TaxOptions();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.percentageMultiplier !== 'undefined') {\n toReturn['percentageMultiplier'] = this.percentageMultiplier;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$b(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AddonActivation {\n static fromProto(proto) {\n let m = new AddonActivation();\n m = Object.assign(m, proto);\n if (proto.activationStatus) {\n m.activationStatus = enumStringToValue$b(ActivationStatus, proto.activationStatus);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n if (typeof this.activationStatus !== 'undefined') {\n toReturn['activationStatus'] = this.activationStatus;\n }\n return toReturn;\n }\n}\nclass AddonKey {\n static fromProto(proto) {\n let m = new AddonKey();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.appId !== 'undefined') {\n toReturn['appId'] = this.appId;\n }\n return toReturn;\n }\n}\nclass Agreement {\n static fromProto(proto) {\n let m = new Agreement();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.term !== 'undefined') {\n toReturn['term'] = this.term;\n }\n if (typeof this.agreed !== 'undefined') {\n toReturn['agreed'] = this.agreed;\n }\n return toReturn;\n }\n}\nclass Attachment {\n static fromProto(proto) {\n let m = new Attachment();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n return toReturn;\n }\n}\nclass Business {\n static fromProto(proto) {\n let m = new Business();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.companyName !== 'undefined') {\n toReturn['companyName'] = this.companyName;\n }\n if (typeof this.address !== 'undefined') {\n toReturn['address'] = this.address;\n }\n if (typeof this.address2 !== 'undefined') {\n toReturn['address2'] = this.address2;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.zip !== 'undefined') {\n toReturn['zip'] = this.zip;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.website !== 'undefined') {\n toReturn['website'] = this.website;\n }\n if (typeof this.phoneNumber !== 'undefined') {\n toReturn['phoneNumber'] = this.phoneNumber;\n }\n if (typeof this.deleted !== 'undefined') {\n toReturn['deleted'] = this.deleted;\n }\n return toReturn;\n }\n}\nclass CommonField {\n static fromProto(proto) {\n let m = new CommonField();\n m = Object.assign(m, proto);\n if (proto.field) {\n m.field = Field.fromProto(proto.field);\n }\n if (proto.addonKeys) {\n m.addonKeys = proto.addonKeys.map(AddonKey.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.field !== 'undefined' && this.field !== null) {\n toReturn['field'] = 'toApiJson' in this.field ? this.field.toApiJson() : this.field;\n }\n if (typeof this.productIds !== 'undefined') {\n toReturn['productIds'] = this.productIds;\n }\n if (typeof this.addonKeys !== 'undefined' && this.addonKeys !== null) {\n toReturn['addonKeys'] = 'toApiJson' in this.addonKeys ? this.addonKeys.toApiJson() : this.addonKeys;\n }\n return toReturn;\n }\n}\nclass CustomField {\n static fromProto(proto) {\n let m = new CustomField();\n m = Object.assign(m, proto);\n if (proto.fields) {\n m.fields = proto.fields.map(Field.fromProto);\n }\n if (proto.addonKey) {\n m.addonKey = AddonKey.fromProto(proto.addonKey);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.fields !== 'undefined' && this.fields !== null) {\n toReturn['fields'] = 'toApiJson' in this.fields ? this.fields.toApiJson() : this.fields;\n }\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.addonKey !== 'undefined' && this.addonKey !== null) {\n toReturn['addonKey'] = 'toApiJson' in this.addonKey ? this.addonKey.toApiJson() : this.addonKey;\n }\n return toReturn;\n }\n}\nclass DeclinedReason {\n static fromProto(proto) {\n let m = new DeclinedReason();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.archived) {\n m.archived = new Date(proto.archived);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.archived !== 'undefined' && this.archived !== null) {\n toReturn['archived'] = 'toApiJson' in this.archived ? this.archived.toApiJson() : this.archived;\n }\n return toReturn;\n }\n}\nclass Field {\n static fromProto(proto) {\n let m = new Field();\n m = Object.assign(m, proto);\n if (proto.fieldType) {\n m.fieldType = enumStringToValue$b(FieldType, proto.fieldType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.fieldId !== 'undefined') {\n toReturn['fieldId'] = this.fieldId;\n }\n if (typeof this.answer !== 'undefined') {\n toReturn['answer'] = this.answer;\n }\n if (typeof this.fieldType !== 'undefined') {\n toReturn['fieldType'] = this.fieldType;\n }\n if (typeof this.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.prefix !== 'undefined') {\n toReturn['prefix'] = this.prefix;\n }\n if (typeof this.suffix !== 'undefined') {\n toReturn['suffix'] = this.suffix;\n }\n if (typeof this.regexValidator !== 'undefined') {\n toReturn['regexValidator'] = this.regexValidator;\n }\n if (typeof this.regexErrorMessage !== 'undefined') {\n toReturn['regexErrorMessage'] = this.regexErrorMessage;\n }\n return toReturn;\n }\n}\nclass GetOrderRecipientDetailsRequest {\n static fromProto(proto) {\n let m = new GetOrderRecipientDetailsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.token !== 'undefined') {\n toReturn['token'] = this.token;\n }\n return toReturn;\n }\n}\nclass GetOrderRecipientDetailsResponse {\n static fromProto(proto) {\n let m = new GetOrderRecipientDetailsResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n return toReturn;\n }\n}\nclass Order {\n static fromProto(proto) {\n let m = new Order();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$b(Status, proto.status);\n }\n if (proto.requestedActivation) {\n m.requestedActivation = new Date(proto.requestedActivation);\n }\n if (proto.packages) {\n m.packages = proto.packages.map(Package.fromProto);\n }\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomField.fromProto);\n }\n if (proto.commonFields) {\n m.commonFields = proto.commonFields.map(CommonField.fromProto);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.productActivations) {\n m.productActivations = proto.productActivations.map(ProductActivation.fromProto);\n }\n if (proto.addonActivations) {\n m.addonActivations = proto.addonActivations.map(AddonActivation.fromProto);\n }\n if (proto.statusHistory) {\n m.statusHistory = proto.statusHistory.map(StatusHistoryItem.fromProto);\n }\n if (proto.products) {\n m.products = proto.products.map(Product.fromProto);\n }\n if (proto.origin) {\n m.origin = enumStringToValue$b(Origin, proto.origin);\n }\n if (proto.attachments) {\n m.attachments = proto.attachments.map(Attachment.fromProto);\n }\n if (proto.extraFields) {\n m.extraFields = proto.extraFields.map(Field.fromProto);\n }\n if (proto.lineItems) {\n m.lineItems = proto.lineItems.map(LineItem.fromProto);\n }\n if (proto.contractDuration) {\n m.contractDuration = Duration.fromProto(proto.contractDuration);\n }\n if (proto.taxOptions) {\n m.taxOptions = proto.taxOptions.map(TaxOptions.fromProto);\n }\n if (proto.agreements) {\n m.agreements = proto.agreements.map(Agreement.fromProto);\n }\n if (proto.expiryDate) {\n m.expiryDate = new Date(proto.expiryDate);\n }\n if (proto.offerExpiry) {\n m.offerExpiry = new Date(proto.offerExpiry);\n }\n if (proto.business) {\n m.business = Business.fromProto(proto.business);\n }\n if (proto.salesperson) {\n m.salesperson = Salesperson.fromProto(proto.salesperson);\n }\n if (proto.leasedToAutomations) {\n m.leasedToAutomations = new Date(proto.leasedToAutomations);\n }\n if (proto.fulfillmentStatus) {\n m.fulfillmentStatus = enumStringToValue$b(FulfillmentOrderStatus, proto.fulfillmentStatus);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.salespersonId !== 'undefined') {\n toReturn['salespersonId'] = this.salespersonId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.opportunityIds !== 'undefined') {\n toReturn['opportunityIds'] = this.opportunityIds;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.requestedActivation !== 'undefined' && this.requestedActivation !== null) {\n toReturn['requestedActivation'] = 'toApiJson' in this.requestedActivation ? this.requestedActivation.toApiJson() : this.requestedActivation;\n }\n if (typeof this.notes !== 'undefined') {\n toReturn['notes'] = this.notes;\n }\n if (typeof this.packages !== 'undefined' && this.packages !== null) {\n toReturn['packages'] = 'toApiJson' in this.packages ? this.packages.toApiJson() : this.packages;\n }\n if (typeof this.customFields !== 'undefined' && this.customFields !== null) {\n toReturn['customFields'] = 'toApiJson' in this.customFields ? this.customFields.toApiJson() : this.customFields;\n }\n if (typeof this.commonFields !== 'undefined' && this.commonFields !== null) {\n toReturn['commonFields'] = 'toApiJson' in this.commonFields ? this.commonFields.toApiJson() : this.commonFields;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.productActivations !== 'undefined' && this.productActivations !== null) {\n toReturn['productActivations'] = 'toApiJson' in this.productActivations ? this.productActivations.toApiJson() : this.productActivations;\n }\n if (typeof this.addonActivations !== 'undefined' && this.addonActivations !== null) {\n toReturn['addonActivations'] = 'toApiJson' in this.addonActivations ? this.addonActivations.toApiJson() : this.addonActivations;\n }\n if (typeof this.statusHistory !== 'undefined' && this.statusHistory !== null) {\n toReturn['statusHistory'] = 'toApiJson' in this.statusHistory ? this.statusHistory.toApiJson() : this.statusHistory;\n }\n if (typeof this.declinedReason !== 'undefined') {\n toReturn['declinedReason'] = this.declinedReason;\n }\n if (typeof this.products !== 'undefined' && this.products !== null) {\n toReturn['products'] = 'toApiJson' in this.products ? this.products.toApiJson() : this.products;\n }\n if (typeof this.origin !== 'undefined') {\n toReturn['origin'] = this.origin;\n }\n if (typeof this.attachments !== 'undefined' && this.attachments !== null) {\n toReturn['attachments'] = 'toApiJson' in this.attachments ? this.attachments.toApiJson() : this.attachments;\n }\n if (typeof this.extraFields !== 'undefined' && this.extraFields !== null) {\n toReturn['extraFields'] = 'toApiJson' in this.extraFields ? this.extraFields.toApiJson() : this.extraFields;\n }\n if (typeof this.lineItems !== 'undefined' && this.lineItems !== null) {\n toReturn['lineItems'] = 'toApiJson' in this.lineItems ? this.lineItems.toApiJson() : this.lineItems;\n }\n if (typeof this.contractDuration !== 'undefined' && this.contractDuration !== null) {\n toReturn['contractDuration'] = 'toApiJson' in this.contractDuration ? this.contractDuration.toApiJson() : this.contractDuration;\n }\n if (typeof this.taxOptions !== 'undefined' && this.taxOptions !== null) {\n toReturn['taxOptions'] = 'toApiJson' in this.taxOptions ? this.taxOptions.toApiJson() : this.taxOptions;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.agreements !== 'undefined' && this.agreements !== null) {\n toReturn['agreements'] = 'toApiJson' in this.agreements ? this.agreements.toApiJson() : this.agreements;\n }\n if (typeof this.expiryDate !== 'undefined' && this.expiryDate !== null) {\n toReturn['expiryDate'] = 'toApiJson' in this.expiryDate ? this.expiryDate.toApiJson() : this.expiryDate;\n }\n if (typeof this.paymentMethodToken !== 'undefined') {\n toReturn['paymentMethodToken'] = this.paymentMethodToken;\n }\n if (typeof this.customerNotes !== 'undefined') {\n toReturn['customerNotes'] = this.customerNotes;\n }\n if (typeof this.offerExpiry !== 'undefined' && this.offerExpiry !== null) {\n toReturn['offerExpiry'] = 'toApiJson' in this.offerExpiry ? this.offerExpiry.toApiJson() : this.offerExpiry;\n }\n if (typeof this.quoteId !== 'undefined') {\n toReturn['quoteId'] = this.quoteId;\n }\n if (typeof this.business !== 'undefined' && this.business !== null) {\n toReturn['business'] = 'toApiJson' in this.business ? this.business.toApiJson() : this.business;\n }\n if (typeof this.salesperson !== 'undefined' && this.salesperson !== null) {\n toReturn['salesperson'] = 'toApiJson' in this.salesperson ? this.salesperson.toApiJson() : this.salesperson;\n }\n if (typeof this.idempotencyKey !== 'undefined') {\n toReturn['idempotencyKey'] = this.idempotencyKey;\n }\n if (typeof this.leasedToAutomations !== 'undefined' && this.leasedToAutomations !== null) {\n toReturn['leasedToAutomations'] = 'toApiJson' in this.leasedToAutomations ? this.leasedToAutomations.toApiJson() : this.leasedToAutomations;\n }\n if (typeof this.fulfillmentStatus !== 'undefined') {\n toReturn['fulfillmentStatus'] = this.fulfillmentStatus;\n }\n if (typeof this.hasFulfillment !== 'undefined') {\n toReturn['hasFulfillment'] = this.hasFulfillment;\n }\n if (typeof this.orderIsSmbPayable !== 'undefined') {\n toReturn['orderIsSmbPayable'] = this.orderIsSmbPayable;\n }\n return toReturn;\n }\n}\nclass Package {\n static fromProto(proto) {\n let m = new Package();\n m = Object.assign(m, proto);\n if (proto.currency) {\n m.currency = enumStringToValue$b(Currency, proto.currency);\n }\n if (proto.revenue) {\n m.revenue = Revenue.fromProto(proto.revenue);\n }\n if (proto.quantity) {\n m.quantity = parseInt(proto.quantity, 10);\n }\n if (proto.addonKeys) {\n m.addonKeys = proto.addonKeys.map(AddonKey.fromProto);\n }\n if (proto.customPrices) {\n m.customPrices = proto.customPrices.map(CustomPriceMapping.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.packageId !== 'undefined') {\n toReturn['packageId'] = this.packageId;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.revenue !== 'undefined' && this.revenue !== null) {\n toReturn['revenue'] = 'toApiJson' in this.revenue ? this.revenue.toApiJson() : this.revenue;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.productIds !== 'undefined') {\n toReturn['productIds'] = this.productIds;\n }\n if (typeof this.addonKeys !== 'undefined' && this.addonKeys !== null) {\n toReturn['addonKeys'] = 'toApiJson' in this.addonKeys ? this.addonKeys.toApiJson() : this.addonKeys;\n }\n if (typeof this.customPrices !== 'undefined' && this.customPrices !== null) {\n toReturn['customPrices'] = 'toApiJson' in this.customPrices ? this.customPrices.toApiJson() : this.customPrices;\n }\n return toReturn;\n }\n}\nclass Product {\n static fromProto(proto) {\n let m = new Product();\n m = Object.assign(m, proto);\n if (proto.currency) {\n m.currency = enumStringToValue$b(Currency, proto.currency);\n }\n if (proto.revenue) {\n m.revenue = Revenue.fromProto(proto.revenue);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.revenue !== 'undefined' && this.revenue !== null) {\n toReturn['revenue'] = 'toApiJson' in this.revenue ? this.revenue.toApiJson() : this.revenue;\n }\n if (typeof this.editionId !== 'undefined') {\n toReturn['editionId'] = this.editionId;\n }\n if (typeof this.parentProductId !== 'undefined') {\n toReturn['parentProductId'] = this.parentProductId;\n }\n return toReturn;\n }\n}\nclass ProductActivation {\n static fromProto(proto) {\n let m = new ProductActivation();\n m = Object.assign(m, proto);\n if (proto.activationStatus) {\n m.activationStatus = enumStringToValue$b(ActivationStatus, proto.activationStatus);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.editionId !== 'undefined') {\n toReturn['editionId'] = this.editionId;\n }\n if (typeof this.activationStatus !== 'undefined') {\n toReturn['activationStatus'] = this.activationStatus;\n }\n if (typeof this.uniqueId !== 'undefined') {\n toReturn['uniqueId'] = this.uniqueId;\n }\n if (typeof this.previousEditionId !== 'undefined') {\n toReturn['previousEditionId'] = this.previousEditionId;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.isEditionChange !== 'undefined') {\n toReturn['isEditionChange'] = this.isEditionChange;\n }\n return toReturn;\n }\n}\nclass Salesperson {\n static fromProto(proto) {\n let m = new Salesperson();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.firstName !== 'undefined') {\n toReturn['firstName'] = this.firstName;\n }\n if (typeof this.lastName !== 'undefined') {\n toReturn['lastName'] = this.lastName;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.phoneNumber !== 'undefined') {\n toReturn['phoneNumber'] = this.phoneNumber;\n }\n return toReturn;\n }\n}\nclass StatusHistoryItem {\n static fromProto(proto) {\n let m = new StatusHistoryItem();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$b(Status, proto.status);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.metadata !== 'undefined') {\n toReturn['metadata'] = this.metadata;\n }\n return toReturn;\n }\n}\nclass User {\n static fromProto(proto) {\n let m = new User();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.firstName !== 'undefined') {\n toReturn['firstName'] = this.firstName;\n }\n if (typeof this.lastName !== 'undefined') {\n toReturn['lastName'] = this.lastName;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.phoneNumber !== 'undefined') {\n toReturn['phoneNumber'] = this.phoneNumber;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$a(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass IncludedCommonFormFields {\n static fromProto(proto) {\n let m = new IncludedCommonFormFields();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessName !== 'undefined') {\n toReturn['businessName'] = this.businessName;\n }\n if (typeof this.businessAddress !== 'undefined') {\n toReturn['businessAddress'] = this.businessAddress;\n }\n if (typeof this.businessPhoneNumber !== 'undefined') {\n toReturn['businessPhoneNumber'] = this.businessPhoneNumber;\n }\n if (typeof this.businessAccountGroupId !== 'undefined') {\n toReturn['businessAccountGroupId'] = this.businessAccountGroupId;\n }\n if (typeof this.salespersonName !== 'undefined') {\n toReturn['salespersonName'] = this.salespersonName;\n }\n if (typeof this.salespersonPhoneNumber !== 'undefined') {\n toReturn['salespersonPhoneNumber'] = this.salespersonPhoneNumber;\n }\n if (typeof this.salespersonEmail !== 'undefined') {\n toReturn['salespersonEmail'] = this.salespersonEmail;\n }\n if (typeof this.contactName !== 'undefined') {\n toReturn['contactName'] = this.contactName;\n }\n if (typeof this.contactPhoneNumber !== 'undefined') {\n toReturn['contactPhoneNumber'] = this.contactPhoneNumber;\n }\n if (typeof this.contactEmail !== 'undefined') {\n toReturn['contactEmail'] = this.contactEmail;\n }\n if (typeof this.businessWebsite !== 'undefined') {\n toReturn['businessWebsite'] = this.businessWebsite;\n }\n return toReturn;\n }\n}\nclass OrderFormFieldOption {\n static fromProto(proto) {\n let m = new OrderFormFieldOption();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass OrderForm {\n static fromProto(proto) {\n let m = new OrderForm();\n m = Object.assign(m, proto);\n if (proto.orderForm) {\n m.orderForm = proto.orderForm.map(OrderFormField.fromProto);\n }\n if (proto.commonForm) {\n m.commonForm = IncludedCommonFormFields.fromProto(proto.commonForm);\n }\n if (proto.commonFormRequiredFields) {\n m.commonFormRequiredFields = IncludedCommonFormFields.fromProto(proto.commonFormRequiredFields);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderForm !== 'undefined' && this.orderForm !== null) {\n toReturn['orderForm'] = 'toApiJson' in this.orderForm ? this.orderForm.toApiJson() : this.orderForm;\n }\n if (typeof this.commonForm !== 'undefined' && this.commonForm !== null) {\n toReturn['commonForm'] = 'toApiJson' in this.commonForm ? this.commonForm.toApiJson() : this.commonForm;\n }\n if (typeof this.activationMessage !== 'undefined') {\n toReturn['activationMessage'] = this.activationMessage;\n }\n if (typeof this.separateOrderForms !== 'undefined') {\n toReturn['separateOrderForms'] = this.separateOrderForms;\n }\n if (typeof this.commonFormRequiredFields !== 'undefined' && this.commonFormRequiredFields !== null) {\n toReturn['commonFormRequiredFields'] = 'toApiJson' in this.commonFormRequiredFields ? this.commonFormRequiredFields.toApiJson() : this.commonFormRequiredFields;\n }\n if (typeof this.usesPostBillingOrderForm !== 'undefined') {\n toReturn['usesPostBillingOrderForm'] = this.usesPostBillingOrderForm;\n }\n if (typeof this.footerText !== 'undefined') {\n toReturn['footerText'] = this.footerText;\n }\n return toReturn;\n }\n}\nclass OrderFormField {\n static fromProto(proto) {\n let m = new OrderFormField();\n m = Object.assign(m, proto);\n if (proto.maxChoices) {\n m.maxChoices = parseInt(proto.maxChoices, 10);\n }\n if (proto.optionsWithLabels) {\n m.optionsWithLabels = proto.optionsWithLabels.map(OrderFormFieldOption.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.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.options !== 'undefined') {\n toReturn['options'] = this.options;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.required !== 'undefined') {\n toReturn['required'] = this.required;\n }\n if (typeof this.uploadUrl !== 'undefined') {\n toReturn['uploadUrl'] = this.uploadUrl;\n }\n if (typeof this.prefix !== 'undefined') {\n toReturn['prefix'] = this.prefix;\n }\n if (typeof this.suffix !== 'undefined') {\n toReturn['suffix'] = this.suffix;\n }\n if (typeof this.regexValidator !== 'undefined') {\n toReturn['regexValidator'] = this.regexValidator;\n }\n if (typeof this.regexErrorMessage !== 'undefined') {\n toReturn['regexErrorMessage'] = this.regexErrorMessage;\n }\n if (typeof this.useWebhookValidator !== 'undefined') {\n toReturn['useWebhookValidator'] = this.useWebhookValidator;\n }\n if (typeof this.allowMultiples !== 'undefined') {\n toReturn['allowMultiples'] = this.allowMultiples;\n }\n if (typeof this.allowDuplicates !== 'undefined') {\n toReturn['allowDuplicates'] = this.allowDuplicates;\n }\n if (typeof this.maxChoices !== 'undefined') {\n toReturn['maxChoices'] = this.maxChoices;\n }\n if (typeof this.forOfficeUseOnly !== 'undefined') {\n toReturn['forOfficeUseOnly'] = this.forOfficeUseOnly;\n }\n if (typeof this.optionsWithLabels !== 'undefined' && this.optionsWithLabels !== null) {\n toReturn['optionsWithLabels'] = 'toApiJson' in this.optionsWithLabels ? this.optionsWithLabels.toApiJson() : this.optionsWithLabels;\n }\n if (typeof this.officeEditableOnly !== 'undefined') {\n toReturn['officeEditableOnly'] = this.officeEditableOnly;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$9(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Config {\n static fromProto(proto) {\n let m = new Config();\n m = Object.assign(m, proto);\n if (proto.extraFields) {\n m.extraFields = proto.extraFields.map(OrderFormField.fromProto);\n }\n if (proto.workflowStepOptions) {\n m.workflowStepOptions = WorkflowStepOptions.fromProto(proto.workflowStepOptions);\n }\n if (proto.salespersonOptions) {\n m.salespersonOptions = SalespersonOptions.fromProto(proto.salespersonOptions);\n }\n if (proto.taxOptions) {\n m.taxOptions = proto.taxOptions.map(TaxOptions.fromProto);\n }\n if (proto.customerTermsOfServiceOptions) {\n m.customerTermsOfServiceOptions = TermsOfServiceOptions.fromProto(proto.customerTermsOfServiceOptions);\n }\n if (proto.customerOptions) {\n m.customerOptions = CustomerOptions.fromProto(proto.customerOptions);\n }\n if (proto.emailOptions) {\n m.emailOptions = EmailOptions.fromProto(proto.emailOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.defaultNotesContent !== 'undefined') {\n toReturn['defaultNotesContent'] = this.defaultNotesContent;\n }\n if (typeof this.extraFields !== 'undefined' && this.extraFields !== null) {\n toReturn['extraFields'] = 'toApiJson' in this.extraFields ? this.extraFields.toApiJson() : this.extraFields;\n }\n if (typeof this.termsOfServiceUrl !== 'undefined') {\n toReturn['termsOfServiceUrl'] = this.termsOfServiceUrl;\n }\n if (typeof this.workflowStepOptions !== 'undefined' && this.workflowStepOptions !== null) {\n toReturn['workflowStepOptions'] = 'toApiJson' in this.workflowStepOptions ? this.workflowStepOptions.toApiJson() : this.workflowStepOptions;\n }\n if (typeof this.salespersonOptions !== 'undefined' && this.salespersonOptions !== null) {\n toReturn['salespersonOptions'] = 'toApiJson' in this.salespersonOptions ? this.salespersonOptions.toApiJson() : this.salespersonOptions;\n }\n if (typeof this.taxOptions !== 'undefined' && this.taxOptions !== null) {\n toReturn['taxOptions'] = 'toApiJson' in this.taxOptions ? this.taxOptions.toApiJson() : this.taxOptions;\n }\n if (typeof this.customerTermsOfServiceOptions !== 'undefined' && this.customerTermsOfServiceOptions !== null) {\n toReturn['customerTermsOfServiceOptions'] = 'toApiJson' in this.customerTermsOfServiceOptions ? this.customerTermsOfServiceOptions.toApiJson() : this.customerTermsOfServiceOptions;\n }\n if (typeof this.customerOptions !== 'undefined' && this.customerOptions !== null) {\n toReturn['customerOptions'] = 'toApiJson' in this.customerOptions ? this.customerOptions.toApiJson() : this.customerOptions;\n }\n if (typeof this.emailOptions !== 'undefined' && this.emailOptions !== null) {\n toReturn['emailOptions'] = 'toApiJson' in this.emailOptions ? this.emailOptions.toApiJson() : this.emailOptions;\n }\n return toReturn;\n }\n}\nclass CustomSalespersonAction {\n static fromProto(proto) {\n let m = new CustomSalespersonAction();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.automationId !== 'undefined') {\n toReturn['automationId'] = this.automationId;\n }\n return toReturn;\n }\n}\nclass CustomerOptions {\n static fromProto(proto) {\n let m = new CustomerOptions();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.allowCustomerInitiatedOrders !== 'undefined') {\n toReturn['allowCustomerInitiatedOrders'] = this.allowCustomerInitiatedOrders;\n }\n return toReturn;\n }\n}\nclass EmailContent {\n static fromProto(proto) {\n let m = new EmailContent();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subject !== 'undefined') {\n toReturn['subject'] = this.subject;\n }\n if (typeof this.heading !== 'undefined') {\n toReturn['heading'] = this.heading;\n }\n if (typeof this.body !== 'undefined') {\n toReturn['body'] = this.body;\n }\n if (typeof this.button !== 'undefined') {\n toReturn['button'] = this.button;\n }\n return toReturn;\n }\n}\nclass EmailCustomContent {\n static fromProto(proto) {\n let m = new EmailCustomContent();\n m = Object.assign(m, proto);\n if (proto.contractAwaitingApproval) {\n m.contractAwaitingApproval = EmailContent.fromProto(proto.contractAwaitingApproval);\n }\n if (proto.orderProcessed) {\n m.orderProcessed = EmailContent.fromProto(proto.orderProcessed);\n }\n if (proto.orderDeclined) {\n m.orderDeclined = EmailContent.fromProto(proto.orderDeclined);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.contractAwaitingApproval !== 'undefined' && this.contractAwaitingApproval !== null) {\n toReturn['contractAwaitingApproval'] = 'toApiJson' in this.contractAwaitingApproval ? this.contractAwaitingApproval.toApiJson() : this.contractAwaitingApproval;\n }\n if (typeof this.orderProcessed !== 'undefined' && this.orderProcessed !== null) {\n toReturn['orderProcessed'] = 'toApiJson' in this.orderProcessed ? this.orderProcessed.toApiJson() : this.orderProcessed;\n }\n if (typeof this.orderDeclined !== 'undefined' && this.orderDeclined !== null) {\n toReturn['orderDeclined'] = 'toApiJson' in this.orderDeclined ? this.orderDeclined.toApiJson() : this.orderDeclined;\n }\n return toReturn;\n }\n}\nclass EmailOptions {\n static fromProto(proto) {\n let m = new EmailOptions();\n m = Object.assign(m, proto);\n if (proto.emailCustomContent) {\n m.emailCustomContent = EmailCustomContent.fromProto(proto.emailCustomContent);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.emailCustomContent !== 'undefined' && this.emailCustomContent !== null) {\n toReturn['emailCustomContent'] = 'toApiJson' in this.emailCustomContent ? this.emailCustomContent.toApiJson() : this.emailCustomContent;\n }\n return toReturn;\n }\n}\nclass SalespersonOptions {\n static fromProto(proto) {\n let m = new SalespersonOptions();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.validateRequiredFields !== 'undefined') {\n toReturn['validateRequiredFields'] = this.validateRequiredFields;\n }\n if (typeof this.disableSellingStandaloneProducts !== 'undefined') {\n toReturn['disableSellingStandaloneProducts'] = this.disableSellingStandaloneProducts;\n }\n if (typeof this.disableTagging !== 'undefined') {\n toReturn['disableTagging'] = this.disableTagging;\n }\n return toReturn;\n }\n}\nclass TermsOfService {\n static fromProto(proto) {\n let m = new TermsOfService();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.text !== 'undefined') {\n toReturn['text'] = this.text;\n }\n if (typeof this.termsOfServiceUrl !== 'undefined') {\n toReturn['termsOfServiceUrl'] = this.termsOfServiceUrl;\n }\n if (typeof this.linkTitle !== 'undefined') {\n toReturn['linkTitle'] = this.linkTitle;\n }\n if (typeof this.required !== 'undefined') {\n toReturn['required'] = this.required;\n }\n return toReturn;\n }\n}\nclass TermsOfServiceOptions {\n static fromProto(proto) {\n let m = new TermsOfServiceOptions();\n m = Object.assign(m, proto);\n if (proto.termsOfService) {\n m.termsOfService = proto.termsOfService.map(TermsOfService.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.hideDefaultTermsOfService !== 'undefined') {\n toReturn['hideDefaultTermsOfService'] = this.hideDefaultTermsOfService;\n }\n if (typeof this.termsOfService !== 'undefined' && this.termsOfService !== null) {\n toReturn['termsOfService'] = 'toApiJson' in this.termsOfService ? this.termsOfService.toApiJson() : this.termsOfService;\n }\n return toReturn;\n }\n}\nclass WorkflowStepOptions {\n static fromProto(proto) {\n let m = new WorkflowStepOptions();\n m = Object.assign(m, proto);\n if (proto.customSalespersonActions) {\n m.customSalespersonActions = proto.customSalespersonActions.map(CustomSalespersonAction.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.allowSendDirectToAdmin !== 'undefined') {\n toReturn['allowSendDirectToAdmin'] = this.allowSendDirectToAdmin;\n }\n if (typeof this.allowSendToCustomer !== 'undefined') {\n toReturn['allowSendToCustomer'] = this.allowSendToCustomer;\n }\n if (typeof this.maintainTermsAndConditionsAgreement !== 'undefined') {\n toReturn['maintainTermsAndConditionsAgreement'] = this.maintainTermsAndConditionsAgreement;\n }\n if (typeof this.customSalespersonActions !== 'undefined' && this.customSalespersonActions !== null) {\n toReturn['customSalespersonActions'] = 'toApiJson' in this.customSalespersonActions ? this.customSalespersonActions.toApiJson() : this.customSalespersonActions;\n }\n if (typeof this.allowOrderFormEditing !== 'undefined') {\n toReturn['allowOrderFormEditing'] = this.allowOrderFormEditing;\n }\n if (typeof this.allowCollectPaymentFromCustomer !== 'undefined') {\n toReturn['allowCollectPaymentFromCustomer'] = this.allowCollectPaymentFromCustomer;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$8(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ApproveRequest {\n static fromProto(proto) {\n let m = new ApproveRequest();\n m = Object.assign(m, proto);\n if (proto.agreements) {\n m.agreements = proto.agreements.map(Agreement.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.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.agreements !== 'undefined' && this.agreements !== null) {\n toReturn['agreements'] = 'toApiJson' in this.agreements ? this.agreements.toApiJson() : this.agreements;\n }\n return toReturn;\n }\n}\nclass ApproveResponse {\n static fromProto(proto) {\n let m = new ApproveResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass DeclineRequest {\n static fromProto(proto) {\n let m = new DeclineRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.declinedReason !== 'undefined') {\n toReturn['declinedReason'] = this.declinedReason;\n }\n return toReturn;\n }\n}\nclass DeclineResponse {\n static fromProto(proto) {\n let m = new DeclineResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass GetConfigurationRequest {\n static fromProto(proto) {\n let m = new GetConfigurationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass GetConfigurationResponse {\n static fromProto(proto) {\n let m = new GetConfigurationResponse();\n m = Object.assign(m, proto);\n if (proto.configuration) {\n m.configuration = Config.fromProto(proto.configuration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.configuration !== 'undefined' && this.configuration !== null) {\n toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;\n }\n return toReturn;\n }\n}\nclass GetOrderRecipientSessionRequest {\n static fromProto(proto) {\n let m = new GetOrderRecipientSessionRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.token !== 'undefined') {\n toReturn['token'] = this.token;\n }\n return toReturn;\n }\n}\nclass GetOrderRecipientSessionResponse {\n static fromProto(proto) {\n let m = new GetOrderRecipientSessionResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.session !== 'undefined') {\n toReturn['session'] = this.session;\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.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\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.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass UpdateOrderFormAnswersRequest {\n static fromProto(proto) {\n let m = new UpdateOrderFormAnswersRequest();\n m = Object.assign(m, proto);\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomField.fromProto);\n }\n if (proto.commonFields) {\n m.commonFields = proto.commonFields.map(CommonField.fromProto);\n }\n if (proto.extraFields) {\n m.extraFields = proto.extraFields.map(Field.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.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.customFields !== 'undefined' && this.customFields !== null) {\n toReturn['customFields'] = 'toApiJson' in this.customFields ? this.customFields.toApiJson() : this.customFields;\n }\n if (typeof this.commonFields !== 'undefined' && this.commonFields !== null) {\n toReturn['commonFields'] = 'toApiJson' in this.commonFields ? this.commonFields.toApiJson() : this.commonFields;\n }\n if (typeof this.extraFields !== 'undefined' && this.extraFields !== null) {\n toReturn['extraFields'] = 'toApiJson' in this.extraFields ? this.extraFields.toApiJson() : this.extraFields;\n }\n return toReturn;\n }\n}\nclass UpdateOrderFormAnswersResponse {\n static fromProto(proto) {\n let m = new UpdateOrderFormAnswersResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$7(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Subscriber {\n static fromProto(proto) {\n let m = new Subscriber();\n m = Object.assign(m, proto);\n if (proto.location) {\n m.location = enumStringToValue$7(SubscriptionLocation, proto.location);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.location !== 'undefined') {\n toReturn['location'] = this.location;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$6(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass FieldMask {\n static fromProto(proto) {\n let m = new FieldMask();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.paths !== 'undefined') {\n toReturn['paths'] = this.paths;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$5(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass PagedRequestOptions {\n static fromProto(proto) {\n let m = new PagedRequestOptions();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass PagedResponseMetadata {\n static fromProto(proto) {\n let m = new PagedResponseMetadata();\n m = Object.assign(m, proto);\n if (proto.totalResults) {\n m.totalResults = parseInt(proto.totalResults, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.totalResults !== 'undefined') {\n toReturn['totalResults'] = this.totalResults;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$4(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ArchiveAuxiliaryDataFieldSchemaRequest {\n static fromProto(proto) {\n let m = new ArchiveAuxiliaryDataFieldSchemaRequest();\n m = Object.assign(m, proto);\n if (proto.identifier) {\n m.identifier = FieldSchemaIdentifier.fromProto(proto.identifier);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.identifier !== 'undefined' && this.identifier !== null) {\n toReturn['identifier'] = 'toApiJson' in this.identifier ? this.identifier.toApiJson() : this.identifier;\n }\n return toReturn;\n }\n}\nclass AuxiliaryDataFieldSchema {\n static fromProto(proto) {\n let m = new AuxiliaryDataFieldSchema();\n m = Object.assign(m, proto);\n if (proto.fieldType) {\n m.fieldType = enumStringToValue$4(AuxiliaryDataFieldType, proto.fieldType);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.dropdownOptions) {\n m.dropdownOptions = proto.dropdownOptions.map(DropdownOption.fromProto);\n }\n if (proto.archived) {\n m.archived = new Date(proto.archived);\n }\n return m;\n }\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.fieldId !== 'undefined') {\n toReturn['fieldId'] = this.fieldId;\n }\n if (typeof this.fieldType !== 'undefined') {\n toReturn['fieldType'] = this.fieldType;\n }\n if (typeof this.fieldName !== 'undefined') {\n toReturn['fieldName'] = this.fieldName;\n }\n if (typeof this.fieldDescription !== 'undefined') {\n toReturn['fieldDescription'] = this.fieldDescription;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.dropdownOptions !== 'undefined' && this.dropdownOptions !== null) {\n toReturn['dropdownOptions'] = 'toApiJson' in this.dropdownOptions ? this.dropdownOptions.toApiJson() : this.dropdownOptions;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.archived !== 'undefined' && this.archived !== null) {\n toReturn['archived'] = 'toApiJson' in this.archived ? this.archived.toApiJson() : this.archived;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n return toReturn;\n }\n}\nclass AuxiliaryDataObjectID {\n static fromProto(proto) {\n let m = new AuxiliaryDataObjectID();\n m = Object.assign(m, proto);\n return m;\n }\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.objectId !== 'undefined') {\n toReturn['objectId'] = this.objectId;\n }\n return toReturn;\n }\n}\nclass CreateAuxiliaryDataFieldSchemaRequest {\n static fromProto(proto) {\n let m = new CreateAuxiliaryDataFieldSchemaRequest();\n m = Object.assign(m, proto);\n if (proto.fieldSchema) {\n m.fieldSchema = AuxiliaryDataFieldSchema.fromProto(proto.fieldSchema);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.fieldSchema !== 'undefined' && this.fieldSchema !== null) {\n toReturn['fieldSchema'] = 'toApiJson' in this.fieldSchema ? this.fieldSchema.toApiJson() : this.fieldSchema;\n }\n return toReturn;\n }\n}\nclass DropdownOption {\n static fromProto(proto) {\n let m = new DropdownOption();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.label !== 'undefined') {\n toReturn['label'] = this.label;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass FieldDataUpsertOperation {\n static fromProto(proto) {\n let m = new FieldDataUpsertOperation();\n m = Object.assign(m, proto);\n if (proto.integer) {\n m.integer = parseInt(proto.integer, 10);\n }\n if (proto.date) {\n m.date = new Date(proto.date);\n }\n if (proto.currencyValue) {\n m.currencyValue = parseInt(proto.currencyValue, 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.fieldDataId !== 'undefined') {\n toReturn['fieldDataId'] = this.fieldDataId;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.integer !== 'undefined') {\n toReturn['integer'] = this.integer;\n }\n if (typeof this.string !== 'undefined') {\n toReturn['string'] = this.string;\n }\n if (typeof this.date !== 'undefined' && this.date !== null) {\n toReturn['date'] = 'toApiJson' in this.date ? this.date.toApiJson() : this.date;\n }\n if (typeof this.dropdownValue !== 'undefined') {\n toReturn['dropdownValue'] = this.dropdownValue;\n }\n if (typeof this.currencyValue !== 'undefined') {\n toReturn['currencyValue'] = this.currencyValue;\n }\n if (typeof this.deleteValue !== 'undefined') {\n toReturn['deleteValue'] = this.deleteValue;\n }\n return toReturn;\n }\n}\nclass FieldSchemaIdentifier {\n static fromProto(proto) {\n let m = new FieldSchemaIdentifier();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.fieldId !== 'undefined') {\n toReturn['fieldId'] = this.fieldId;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass ListAuxiliaryDataFieldSchemaRequestFilters {\n static fromProto(proto) {\n let m = new ListAuxiliaryDataFieldSchemaRequestFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.onlyArchived !== 'undefined') {\n toReturn['onlyArchived'] = this.onlyArchived;\n }\n return toReturn;\n }\n}\nclass GetAuxiliaryDataFieldSchemaRequest {\n static fromProto(proto) {\n let m = new GetAuxiliaryDataFieldSchemaRequest();\n m = Object.assign(m, proto);\n if (proto.identifier) {\n m.identifier = FieldSchemaIdentifier.fromProto(proto.identifier);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.identifier !== 'undefined' && this.identifier !== null) {\n toReturn['identifier'] = 'toApiJson' in this.identifier ? this.identifier.toApiJson() : this.identifier;\n }\n return toReturn;\n }\n}\nclass GetAuxiliaryDataFieldSchemaResponse {\n static fromProto(proto) {\n let m = new GetAuxiliaryDataFieldSchemaResponse();\n m = Object.assign(m, proto);\n if (proto.fieldSchema) {\n m.fieldSchema = AuxiliaryDataFieldSchema.fromProto(proto.fieldSchema);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.fieldSchema !== 'undefined' && this.fieldSchema !== null) {\n toReturn['fieldSchema'] = 'toApiJson' in this.fieldSchema ? this.fieldSchema.toApiJson() : this.fieldSchema;\n }\n return toReturn;\n }\n}\nclass GetMultiAuxiliaryDataFieldSchemaRequest {\n static fromProto(proto) {\n let m = new GetMultiAuxiliaryDataFieldSchemaRequest();\n m = Object.assign(m, proto);\n if (proto.identifiers) {\n m.identifiers = proto.identifiers.map(FieldSchemaIdentifier.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.identifiers !== 'undefined' && this.identifiers !== null) {\n toReturn['identifiers'] = 'toApiJson' in this.identifiers ? this.identifiers.toApiJson() : this.identifiers;\n }\n return toReturn;\n }\n}\nclass GetMultiAuxiliaryDataFieldSchemaResponse {\n static fromProto(proto) {\n let m = new GetMultiAuxiliaryDataFieldSchemaResponse();\n m = Object.assign(m, proto);\n if (proto.fieldSchemas) {\n m.fieldSchemas = proto.fieldSchemas.map(AuxiliaryDataFieldSchema.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.fieldSchemas !== 'undefined' && this.fieldSchemas !== null) {\n toReturn['fieldSchemas'] = 'toApiJson' in this.fieldSchemas ? this.fieldSchemas.toApiJson() : this.fieldSchemas;\n }\n return toReturn;\n }\n}\nclass ListAuxiliaryDataFieldSchemaRequest {\n static fromProto(proto) {\n let m = new ListAuxiliaryDataFieldSchemaRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n if (proto.filters) {\n m.filters = ListAuxiliaryDataFieldSchemaRequestFilters.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.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\nclass ListAuxiliaryDataFieldSchemaResponse {\n static fromProto(proto) {\n let m = new ListAuxiliaryDataFieldSchemaResponse();\n m = Object.assign(m, proto);\n if (proto.fieldSchemas) {\n m.fieldSchemas = proto.fieldSchemas.map(AuxiliaryDataFieldSchema.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.fieldSchemas !== 'undefined' && this.fieldSchemas !== null) {\n toReturn['fieldSchemas'] = 'toApiJson' in this.fieldSchemas ? this.fieldSchemas.toApiJson() : this.fieldSchemas;\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 ListAuxiliaryDataRequest {\n static fromProto(proto) {\n let m = new ListAuxiliaryDataRequest();\n m = Object.assign(m, proto);\n if (proto.auxiliaryDataObjectId) {\n m.auxiliaryDataObjectId = AuxiliaryDataObjectID.fromProto(proto.auxiliaryDataObjectId);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.auxiliaryDataObjectId !== 'undefined' && this.auxiliaryDataObjectId !== null) {\n toReturn['auxiliaryDataObjectId'] = 'toApiJson' in this.auxiliaryDataObjectId ? this.auxiliaryDataObjectId.toApiJson() : this.auxiliaryDataObjectId;\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 ListAuxiliaryDataResponse {\n static fromProto(proto) {\n let m = new ListAuxiliaryDataResponse();\n m = Object.assign(m, proto);\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.jsonSchema !== 'undefined') {\n toReturn['jsonSchema'] = this.jsonSchema;\n }\n if (typeof this.jsonData !== 'undefined') {\n toReturn['jsonData'] = this.jsonData;\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 UnarchiveAuxiliaryDataFieldSchemaRequest {\n static fromProto(proto) {\n let m = new UnarchiveAuxiliaryDataFieldSchemaRequest();\n m = Object.assign(m, proto);\n if (proto.identifier) {\n m.identifier = FieldSchemaIdentifier.fromProto(proto.identifier);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.identifier !== 'undefined' && this.identifier !== null) {\n toReturn['identifier'] = 'toApiJson' in this.identifier ? this.identifier.toApiJson() : this.identifier;\n }\n return toReturn;\n }\n}\nclass UpdateAuxiliaryDataFieldSchemaRequest {\n static fromProto(proto) {\n let m = new UpdateAuxiliaryDataFieldSchemaRequest();\n m = Object.assign(m, proto);\n if (proto.fieldSchema) {\n m.fieldSchema = AuxiliaryDataFieldSchema.fromProto(proto.fieldSchema);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.fieldSchema !== 'undefined' && this.fieldSchema !== null) {\n toReturn['fieldSchema'] = 'toApiJson' in this.fieldSchema ? this.fieldSchema.toApiJson() : this.fieldSchema;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass UpsertAuxiliaryDataRequest {\n static fromProto(proto) {\n let m = new UpsertAuxiliaryDataRequest();\n m = Object.assign(m, proto);\n if (proto.auxiliaryDataObjectId) {\n m.auxiliaryDataObjectId = AuxiliaryDataObjectID.fromProto(proto.auxiliaryDataObjectId);\n }\n if (proto.fieldDataUpsertOperations) {\n m.fieldDataUpsertOperations = proto.fieldDataUpsertOperations.map(FieldDataUpsertOperation.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.auxiliaryDataObjectId !== 'undefined' && this.auxiliaryDataObjectId !== null) {\n toReturn['auxiliaryDataObjectId'] = 'toApiJson' in this.auxiliaryDataObjectId ? this.auxiliaryDataObjectId.toApiJson() : this.auxiliaryDataObjectId;\n }\n if (typeof this.fieldDataUpsertOperations !== 'undefined' && this.fieldDataUpsertOperations !== null) {\n toReturn['fieldDataUpsertOperations'] = 'toApiJson' in this.fieldDataUpsertOperations ? this.fieldDataUpsertOperations.toApiJson() : this.fieldDataUpsertOperations;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$3(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ListSalesOderAuxiliaryDataRequest {\n static fromProto(proto) {\n let m = new ListSalesOderAuxiliaryDataRequest();\n m = Object.assign(m, proto);\n if (proto.salesOrderAuxiliaryDataObjectId) {\n m.salesOrderAuxiliaryDataObjectId = SalesOrderAuxiliaryDataObjectID.fromProto(proto.salesOrderAuxiliaryDataObjectId);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.salesOrderAuxiliaryDataObjectId !== 'undefined' && this.salesOrderAuxiliaryDataObjectId !== null) {\n toReturn['salesOrderAuxiliaryDataObjectId'] = 'toApiJson' in this.salesOrderAuxiliaryDataObjectId ? this.salesOrderAuxiliaryDataObjectId.toApiJson() : this.salesOrderAuxiliaryDataObjectId;\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 SalesOrderAuxiliaryDataObjectID {\n static fromProto(proto) {\n let m = new SalesOrderAuxiliaryDataObjectID();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass UpsertSalesOrderAuxiliaryDataRequest {\n static fromProto(proto) {\n let m = new UpsertSalesOrderAuxiliaryDataRequest();\n m = Object.assign(m, proto);\n if (proto.salesOrderAuxiliaryDataObjectId) {\n m.salesOrderAuxiliaryDataObjectId = SalesOrderAuxiliaryDataObjectID.fromProto(proto.salesOrderAuxiliaryDataObjectId);\n }\n if (proto.fieldDataUpsertOperations) {\n m.fieldDataUpsertOperations = proto.fieldDataUpsertOperations.map(FieldDataUpsertOperation.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.salesOrderAuxiliaryDataObjectId !== 'undefined' && this.salesOrderAuxiliaryDataObjectId !== null) {\n toReturn['salesOrderAuxiliaryDataObjectId'] = 'toApiJson' in this.salesOrderAuxiliaryDataObjectId ? this.salesOrderAuxiliaryDataObjectId.toApiJson() : this.salesOrderAuxiliaryDataObjectId;\n }\n if (typeof this.fieldDataUpsertOperations !== 'undefined' && this.fieldDataUpsertOperations !== null) {\n toReturn['fieldDataUpsertOperations'] = 'toApiJson' in this.fieldDataUpsertOperations ? this.fieldDataUpsertOperations.toApiJson() : this.fieldDataUpsertOperations;\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 Access {\n static fromProto(proto) {\n let m = new Access();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scope !== 'undefined') {\n toReturn['scope'] = this.scope;\n }\n if (typeof this.public !== 'undefined') {\n toReturn['public'] = this.public;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$1(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ActivateProductsRequest {\n static fromProto(proto) {\n let m = new ActivateProductsRequest();\n m = Object.assign(m, proto);\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomField.fromProto);\n }\n if (proto.commonFields) {\n m.commonFields = proto.commonFields.map(CommonField.fromProto);\n }\n if (proto.extraFields) {\n m.extraFields = proto.extraFields.map(Field.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.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.customFields !== 'undefined' && this.customFields !== null) {\n toReturn['customFields'] = 'toApiJson' in this.customFields ? this.customFields.toApiJson() : this.customFields;\n }\n if (typeof this.commonFields !== 'undefined' && this.commonFields !== null) {\n toReturn['commonFields'] = 'toApiJson' in this.commonFields ? this.commonFields.toApiJson() : this.commonFields;\n }\n if (typeof this.extraFields !== 'undefined' && this.extraFields !== null) {\n toReturn['extraFields'] = 'toApiJson' in this.extraFields ? this.extraFields.toApiJson() : this.extraFields;\n }\n return toReturn;\n }\n}\nclass ActivateProductsResponse {\n static fromProto(proto) {\n let m = new ActivateProductsResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass ApproveCancellationRequest {\n static fromProto(proto) {\n let m = new ApproveCancellationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass ApproveSalesOrderRequest {\n static fromProto(proto) {\n let m = new ApproveSalesOrderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass ApproveSalesOrderResponse {\n static fromProto(proto) {\n let m = new ApproveSalesOrderResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass ArchiveReasonRequest {\n static fromProto(proto) {\n let m = new ArchiveReasonRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass ArchiveSalesOrderRequest {\n static fromProto(proto) {\n let m = new ArchiveSalesOrderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass ArchiveSalesOrderResponse {\n static fromProto(proto) {\n let m = new ArchiveSalesOrderResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass CheckSalesOrderExistsRequest {\n static fromProto(proto) {\n let m = new CheckSalesOrderExistsRequest();\n m = Object.assign(m, proto);\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue$1(Status, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.productEditionId !== 'undefined') {\n toReturn['productEditionId'] = this.productEditionId;\n }\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n return toReturn;\n }\n}\nclass CheckSalesOrderExistsResponse {\n static fromProto(proto) {\n let m = new CheckSalesOrderExistsResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.exists !== 'undefined') {\n toReturn['exists'] = this.exists;\n }\n return toReturn;\n }\n}\nclass ConvertToDraftRequest {\n static fromProto(proto) {\n let m = new ConvertToDraftRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass GetStatusCountsResponseCountsEntry {\n static fromProto(proto) {\n let m = new GetStatusCountsResponseCountsEntry();\n m = Object.assign(m, proto);\n if (proto.key) {\n m.key = parseInt(proto.key, 10);\n }\n if (proto.value) {\n m.value = parseInt(proto.value, 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.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass CreateAndActivateOrderRequest {\n static fromProto(proto) {\n let m = new CreateAndActivateOrderRequest();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n if (typeof this.useCustomerPrice !== 'undefined') {\n toReturn['useCustomerPrice'] = this.useCustomerPrice;\n }\n return toReturn;\n }\n}\nclass CreateAndActivateOrderResponse {\n static fromProto(proto) {\n let m = new CreateAndActivateOrderResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass CreateArchivedOrderRequest {\n static fromProto(proto) {\n let m = new CreateArchivedOrderRequest();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass CreateArchivedOrderResponse {\n static fromProto(proto) {\n let m = new CreateArchivedOrderResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass CreateDraftSalesOrderRequest {\n static fromProto(proto) {\n let m = new CreateDraftSalesOrderRequest();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n if (typeof this.useCustomerPrice !== 'undefined') {\n toReturn['useCustomerPrice'] = this.useCustomerPrice;\n }\n return toReturn;\n }\n}\nclass CreateDraftSalesOrderResponse {\n static fromProto(proto) {\n let m = new CreateDraftSalesOrderResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass CreateForPartnerApprovalRequest {\n static fromProto(proto) {\n let m = new CreateForPartnerApprovalRequest();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass CreateForPartnerApprovalResponse {\n static fromProto(proto) {\n let m = new CreateForPartnerApprovalResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass CreateInvoiceRequest {\n static fromProto(proto) {\n let m = new CreateInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass CreateInvoiceResponse {\n static fromProto(proto) {\n let m = new CreateInvoiceResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n return toReturn;\n }\n}\nclass CreateLeasedToAutomationsSalesOrderRequest {\n static fromProto(proto) {\n let m = new CreateLeasedToAutomationsSalesOrderRequest();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n if (typeof this.useCustomerPrice !== 'undefined') {\n toReturn['useCustomerPrice'] = this.useCustomerPrice;\n }\n return toReturn;\n }\n}\nclass CreateLeasedToAutomationsSalesOrderResponse {\n static fromProto(proto) {\n let m = new CreateLeasedToAutomationsSalesOrderResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass CreateReasonRequest {\n static fromProto(proto) {\n let m = new CreateReasonRequest();\n m = Object.assign(m, proto);\n return m;\n }\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.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass CreateReasonResponse {\n static fromProto(proto) {\n let m = new CreateReasonResponse();\n m = Object.assign(m, proto);\n if (proto.declinedReason) {\n m.declinedReason = DeclinedReason.fromProto(proto.declinedReason);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.declinedReason !== 'undefined' && this.declinedReason !== null) {\n toReturn['declinedReason'] = 'toApiJson' in this.declinedReason ? this.declinedReason.toApiJson() : this.declinedReason;\n }\n return toReturn;\n }\n}\nclass CreateSalesOrderRequest {\n static fromProto(proto) {\n let m = new CreateSalesOrderRequest();\n m = Object.assign(m, proto);\n if (proto.requestedActivation) {\n m.requestedActivation = new Date(proto.requestedActivation);\n }\n if (proto.packages) {\n m.packages = proto.packages.map(Package.fromProto);\n }\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomField.fromProto);\n }\n if (proto.commonFields) {\n m.commonFields = proto.commonFields.map(CommonField.fromProto);\n }\n if (proto.products) {\n m.products = proto.products.map(Product.fromProto);\n }\n if (proto.origin) {\n m.origin = enumStringToValue$1(Origin, proto.origin);\n }\n if (proto.attachments) {\n m.attachments = proto.attachments.map(Attachment.fromProto);\n }\n if (proto.extraFields) {\n m.extraFields = proto.extraFields.map(Field.fromProto);\n }\n if (proto.lineItems) {\n m.lineItems = proto.lineItems.map(LineItem.fromProto);\n }\n if (proto.contractDuration) {\n m.contractDuration = Duration.fromProto(proto.contractDuration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.salespersonId !== 'undefined') {\n toReturn['salespersonId'] = this.salespersonId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.opportunityIds !== 'undefined') {\n toReturn['opportunityIds'] = this.opportunityIds;\n }\n if (typeof this.requestedActivation !== 'undefined' && this.requestedActivation !== null) {\n toReturn['requestedActivation'] = 'toApiJson' in this.requestedActivation ? this.requestedActivation.toApiJson() : this.requestedActivation;\n }\n if (typeof this.notes !== 'undefined') {\n toReturn['notes'] = this.notes;\n }\n if (typeof this.packages !== 'undefined' && this.packages !== null) {\n toReturn['packages'] = 'toApiJson' in this.packages ? this.packages.toApiJson() : this.packages;\n }\n if (typeof this.customFields !== 'undefined' && this.customFields !== null) {\n toReturn['customFields'] = 'toApiJson' in this.customFields ? this.customFields.toApiJson() : this.customFields;\n }\n if (typeof this.commonFields !== 'undefined' && this.commonFields !== null) {\n toReturn['commonFields'] = 'toApiJson' in this.commonFields ? this.commonFields.toApiJson() : this.commonFields;\n }\n if (typeof this.products !== 'undefined' && this.products !== null) {\n toReturn['products'] = 'toApiJson' in this.products ? this.products.toApiJson() : this.products;\n }\n if (typeof this.origin !== 'undefined') {\n toReturn['origin'] = this.origin;\n }\n if (typeof this.attachments !== 'undefined' && this.attachments !== null) {\n toReturn['attachments'] = 'toApiJson' in this.attachments ? this.attachments.toApiJson() : this.attachments;\n }\n if (typeof this.extraFields !== 'undefined' && this.extraFields !== null) {\n toReturn['extraFields'] = 'toApiJson' in this.extraFields ? this.extraFields.toApiJson() : this.extraFields;\n }\n if (typeof this.lineItems !== 'undefined' && this.lineItems !== null) {\n toReturn['lineItems'] = 'toApiJson' in this.lineItems ? this.lineItems.toApiJson() : this.lineItems;\n }\n if (typeof this.contractDuration !== 'undefined' && this.contractDuration !== null) {\n toReturn['contractDuration'] = 'toApiJson' in this.contractDuration ? this.contractDuration.toApiJson() : this.contractDuration;\n }\n if (typeof this.customerNotes !== 'undefined') {\n toReturn['customerNotes'] = this.customerNotes;\n }\n if (typeof this.quoteId !== 'undefined') {\n toReturn['quoteId'] = this.quoteId;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.idempotencyKey !== 'undefined') {\n toReturn['idempotencyKey'] = this.idempotencyKey;\n }\n if (typeof this.useCustomerPrice !== 'undefined') {\n toReturn['useCustomerPrice'] = this.useCustomerPrice;\n }\n if (typeof this.orderIsSmbPayable !== 'undefined') {\n toReturn['orderIsSmbPayable'] = this.orderIsSmbPayable;\n }\n return toReturn;\n }\n}\nclass CreateSalesOrderResponse {\n static fromProto(proto) {\n let m = new CreateSalesOrderResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass CreateWithPaymentIntentRequest {\n static fromProto(proto) {\n let m = new CreateWithPaymentIntentRequest();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass CreateWithPaymentIntentResponse {\n static fromProto(proto) {\n let m = new CreateWithPaymentIntentResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass CustomerApproveSalesOrderRequest {\n static fromProto(proto) {\n let m = new CustomerApproveSalesOrderRequest();\n m = Object.assign(m, proto);\n if (proto.agreements) {\n m.agreements = proto.agreements.map(Agreement.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.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.agreements !== 'undefined' && this.agreements !== null) {\n toReturn['agreements'] = 'toApiJson' in this.agreements ? this.agreements.toApiJson() : this.agreements;\n }\n if (typeof this.paymentMethodToken !== 'undefined') {\n toReturn['paymentMethodToken'] = this.paymentMethodToken;\n }\n return toReturn;\n }\n}\nclass CustomerApproveSalesOrderResponse {\n static fromProto(proto) {\n let m = new CustomerApproveSalesOrderResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass CustomerCreateSalesOrderRequest {\n static fromProto(proto) {\n let m = new CustomerCreateSalesOrderRequest();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass CustomerCreateSalesOrderResponse {\n static fromProto(proto) {\n let m = new CustomerCreateSalesOrderResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass CustomerGetConfigurationRequest {\n static fromProto(proto) {\n let m = new CustomerGetConfigurationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass ListSalesOrderRequestDateRangeFilter {\n static fromProto(proto) {\n let m = new ListSalesOrderRequestDateRangeFilter();\n m = Object.assign(m, proto);\n if (proto.beginRange) {\n m.beginRange = new Date(proto.beginRange);\n }\n if (proto.endRange) {\n m.endRange = new Date(proto.endRange);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.beginRange !== 'undefined' && this.beginRange !== null) {\n toReturn['beginRange'] = 'toApiJson' in this.beginRange ? this.beginRange.toApiJson() : this.beginRange;\n }\n if (typeof this.endRange !== 'undefined' && this.endRange !== null) {\n toReturn['endRange'] = 'toApiJson' in this.endRange ? this.endRange.toApiJson() : this.endRange;\n }\n return toReturn;\n }\n}\nclass ListCustomerSalesOrderRequestDateRangeFilter {\n static fromProto(proto) {\n let m = new ListCustomerSalesOrderRequestDateRangeFilter();\n m = Object.assign(m, proto);\n if (proto.beginRange) {\n m.beginRange = new Date(proto.beginRange);\n }\n if (proto.endRange) {\n m.endRange = new Date(proto.endRange);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.beginRange !== 'undefined' && this.beginRange !== null) {\n toReturn['beginRange'] = 'toApiJson' in this.beginRange ? this.beginRange.toApiJson() : this.beginRange;\n }\n if (typeof this.endRange !== 'undefined' && this.endRange !== null) {\n toReturn['endRange'] = 'toApiJson' in this.endRange ? this.endRange.toApiJson() : this.endRange;\n }\n return toReturn;\n }\n}\nclass InitiateOrderExportRequestDateRangeFilter {\n static fromProto(proto) {\n let m = new InitiateOrderExportRequestDateRangeFilter();\n m = Object.assign(m, proto);\n if (proto.beginRange) {\n m.beginRange = new Date(proto.beginRange);\n }\n if (proto.endRange) {\n m.endRange = new Date(proto.endRange);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.beginRange !== 'undefined' && this.beginRange !== null) {\n toReturn['beginRange'] = 'toApiJson' in this.beginRange ? this.beginRange.toApiJson() : this.beginRange;\n }\n if (typeof this.endRange !== 'undefined' && this.endRange !== null) {\n toReturn['endRange'] = 'toApiJson' in this.endRange ? this.endRange.toApiJson() : this.endRange;\n }\n return toReturn;\n }\n}\nclass ListOrdersRequestDateRangeFilter {\n static fromProto(proto) {\n let m = new ListOrdersRequestDateRangeFilter();\n m = Object.assign(m, proto);\n if (proto.beginRange) {\n m.beginRange = new Date(proto.beginRange);\n }\n if (proto.endRange) {\n m.endRange = new Date(proto.endRange);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.beginRange !== 'undefined' && this.beginRange !== null) {\n toReturn['beginRange'] = 'toApiJson' in this.beginRange ? this.beginRange.toApiJson() : this.beginRange;\n }\n if (typeof this.endRange !== 'undefined' && this.endRange !== null) {\n toReturn['endRange'] = 'toApiJson' in this.endRange ? this.endRange.toApiJson() : this.endRange;\n }\n return toReturn;\n }\n}\nclass DeclineCancellationRequest {\n static fromProto(proto) {\n let m = new DeclineCancellationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.notes !== 'undefined') {\n toReturn['notes'] = this.notes;\n }\n return toReturn;\n }\n}\nclass DeclineSalesOrderRequest {\n static fromProto(proto) {\n let m = new DeclineSalesOrderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.declinedReason !== 'undefined') {\n toReturn['declinedReason'] = this.declinedReason;\n }\n if (typeof this.declinedReasonIds !== 'undefined') {\n toReturn['declinedReasonIds'] = this.declinedReasonIds;\n }\n return toReturn;\n }\n}\nclass DeclineSalesOrderResponse {\n static fromProto(proto) {\n let m = new DeclineSalesOrderResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass DeleteConfigRequest {\n static fromProto(proto) {\n let m = new DeleteConfigRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n return toReturn;\n }\n}\nclass DeleteSalesOrderRequest {\n static fromProto(proto) {\n let m = new DeleteSalesOrderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass DuplicateSalesOrderRequest {\n static fromProto(proto) {\n let m = new DuplicateSalesOrderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass DuplicateSalesOrderResponse {\n static fromProto(proto) {\n let m = new DuplicateSalesOrderResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass GetStatusCountsRequestFilters {\n static fromProto(proto) {\n let m = new GetStatusCountsRequestFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n if (typeof this.salespersonId !== 'undefined') {\n toReturn['salespersonId'] = this.salespersonId;\n }\n return toReturn;\n }\n}\nclass ListSalesOrderRequestFilters {\n static fromProto(proto) {\n let m = new ListSalesOrderRequestFilters();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = ListSalesOrderRequestDateRangeFilter.fromProto(proto.created);\n }\n if (proto.requestedActivation) {\n m.requestedActivation = ListSalesOrderRequestDateRangeFilter.fromProto(proto.requestedActivation);\n }\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue$1(Status, v));\n }\n if (proto.expiryDate) {\n m.expiryDate = ListSalesOrderRequestDateRangeFilter.fromProto(proto.expiryDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.salespersonId !== 'undefined') {\n toReturn['salespersonId'] = this.salespersonId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.requestedActivation !== 'undefined' && this.requestedActivation !== null) {\n toReturn['requestedActivation'] = 'toApiJson' in this.requestedActivation ? this.requestedActivation.toApiJson() : this.requestedActivation;\n }\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.productEditionId !== 'undefined') {\n toReturn['productEditionId'] = this.productEditionId;\n }\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.untagged !== 'undefined') {\n toReturn['untagged'] = this.untagged;\n }\n if (typeof this.packageId !== 'undefined') {\n toReturn['packageId'] = this.packageId;\n }\n if (typeof this.expiryDate !== 'undefined' && this.expiryDate !== null) {\n toReturn['expiryDate'] = 'toApiJson' in this.expiryDate ? this.expiryDate.toApiJson() : this.expiryDate;\n }\n if (typeof this.salespersonIds !== 'undefined') {\n toReturn['salespersonIds'] = this.salespersonIds;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.orderIds !== 'undefined') {\n toReturn['orderIds'] = this.orderIds;\n }\n if (typeof this.includeArchivedOrders !== 'undefined') {\n toReturn['includeArchivedOrders'] = this.includeArchivedOrders;\n }\n return toReturn;\n }\n}\nclass ListOrdersRequestFilters {\n static fromProto(proto) {\n let m = new ListOrdersRequestFilters();\n m = Object.assign(m, proto);\n if (proto.activationStatuses) {\n m.activationStatuses = proto.activationStatuses.map(v => enumStringToValue$1(ActivationStatus, v));\n }\n if (proto.created) {\n m.created = ListOrdersRequestDateRangeFilter.fromProto(proto.created);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.resellerIds !== 'undefined') {\n toReturn['resellerIds'] = this.resellerIds;\n }\n if (typeof this.activationStatuses !== 'undefined') {\n toReturn['activationStatuses'] = this.activationStatuses;\n }\n if (typeof this.fulfillmentStatuses !== 'undefined') {\n toReturn['fulfillmentStatuses'] = this.fulfillmentStatuses;\n }\n if (typeof this.appIds !== 'undefined') {\n toReturn['appIds'] = this.appIds;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n if (typeof this.excludeChildren !== 'undefined') {\n toReturn['excludeChildren'] = this.excludeChildren;\n }\n if (typeof this.excludeAppIds !== 'undefined') {\n toReturn['excludeAppIds'] = this.excludeAppIds;\n }\n if (typeof this.excludeResellerIds !== 'undefined') {\n toReturn['excludeResellerIds'] = this.excludeResellerIds;\n }\n return toReturn;\n }\n}\nclass InitiateOrderExportRequestFilters {\n static fromProto(proto) {\n let m = new InitiateOrderExportRequestFilters();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = InitiateOrderExportRequestDateRangeFilter.fromProto(proto.created);\n }\n if (proto.requestedActivation) {\n m.requestedActivation = InitiateOrderExportRequestDateRangeFilter.fromProto(proto.requestedActivation);\n }\n if (proto.expiryDate) {\n m.expiryDate = InitiateOrderExportRequestDateRangeFilter.fromProto(proto.expiryDate);\n }\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue$1(Status, 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.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n if (typeof this.salespersonIds !== 'undefined') {\n toReturn['salespersonIds'] = this.salespersonIds;\n }\n if (typeof this.salesTeamIds !== 'undefined') {\n toReturn['salesTeamIds'] = this.salesTeamIds;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.requestedActivation !== 'undefined' && this.requestedActivation !== null) {\n toReturn['requestedActivation'] = 'toApiJson' in this.requestedActivation ? this.requestedActivation.toApiJson() : this.requestedActivation;\n }\n if (typeof this.expiryDate !== 'undefined' && this.expiryDate !== null) {\n toReturn['expiryDate'] = 'toApiJson' in this.expiryDate ? this.expiryDate.toApiJson() : this.expiryDate;\n }\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.untagged !== 'undefined') {\n toReturn['untagged'] = this.untagged;\n }\n if (typeof this.packageIds !== 'undefined') {\n toReturn['packageIds'] = this.packageIds;\n }\n if (typeof this.businessIds !== 'undefined') {\n toReturn['businessIds'] = this.businessIds;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass ListCustomerSalesOrderRequestFilters {\n static fromProto(proto) {\n let m = new ListCustomerSalesOrderRequestFilters();\n m = Object.assign(m, proto);\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue$1(Status, v));\n }\n if (proto.created) {\n m.created = ListCustomerSalesOrderRequestDateRangeFilter.fromProto(proto.created);\n }\n if (proto.requestedActivation) {\n m.requestedActivation = ListCustomerSalesOrderRequestDateRangeFilter.fromProto(proto.requestedActivation);\n }\n if (proto.expiryDate) {\n m.expiryDate = ListCustomerSalesOrderRequestDateRangeFilter.fromProto(proto.expiryDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.requestedActivation !== 'undefined' && this.requestedActivation !== null) {\n toReturn['requestedActivation'] = 'toApiJson' in this.requestedActivation ? this.requestedActivation.toApiJson() : this.requestedActivation;\n }\n if (typeof this.expiryDate !== 'undefined' && this.expiryDate !== null) {\n toReturn['expiryDate'] = 'toApiJson' in this.expiryDate ? this.expiryDate.toApiJson() : this.expiryDate;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass ListReasonsRequestFilters {\n static fromProto(proto) {\n let m = new ListReasonsRequestFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.includeArchived !== 'undefined') {\n toReturn['includeArchived'] = this.includeArchived;\n }\n return toReturn;\n }\n}\nclass ListTagsRequestFilters {\n static fromProto(proto) {\n let m = new ListTagsRequestFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.marketIds !== 'undefined') {\n toReturn['marketIds'] = this.marketIds;\n }\n return toReturn;\n }\n}\nclass FulfillmentStatus {\n static fromProto(proto) {\n let m = new FulfillmentStatus();\n m = Object.assign(m, proto);\n if (proto.dueDate) {\n m.dueDate = new Date(proto.dueDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.dueDate !== 'undefined' && this.dueDate !== null) {\n toReturn['dueDate'] = 'toApiJson' in this.dueDate ? this.dueDate.toApiJson() : this.dueDate;\n }\n if (typeof this.assignee !== 'undefined') {\n toReturn['assignee'] = this.assignee;\n }\n if (typeof this.projectId !== 'undefined') {\n toReturn['projectId'] = this.projectId;\n }\n if (typeof this.projectName !== 'undefined') {\n toReturn['projectName'] = this.projectName;\n }\n return toReturn;\n }\n}\nclass GetConfigRequest {\n static fromProto(proto) {\n let m = new GetConfigRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n return toReturn;\n }\n}\nclass GetConfigResponse {\n static fromProto(proto) {\n let m = new GetConfigResponse();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = Config.fromProto(proto.config);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.config !== 'undefined' && this.config !== null) {\n toReturn['config'] = 'toApiJson' in this.config ? this.config.toApiJson() : this.config;\n }\n return toReturn;\n }\n}\nclass GetMultiSalesOrderRequest {\n static fromProto(proto) {\n let m = new GetMultiSalesOrderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderIds !== 'undefined') {\n toReturn['orderIds'] = this.orderIds;\n }\n return toReturn;\n }\n}\nclass GetMultiSalesOrderResponse {\n static fromProto(proto) {\n let m = new GetMultiSalesOrderResponse();\n m = Object.assign(m, proto);\n if (proto.orders) {\n m.orders = proto.orders.map(Order.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.orders !== 'undefined' && this.orders !== null) {\n toReturn['orders'] = 'toApiJson' in this.orders ? this.orders.toApiJson() : this.orders;\n }\n return toReturn;\n }\n}\nclass GetReasonRequest {\n static fromProto(proto) {\n let m = new GetReasonRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass GetReasonResponse {\n static fromProto(proto) {\n let m = new GetReasonResponse();\n m = Object.assign(m, proto);\n if (proto.declinedReason) {\n m.declinedReason = DeclinedReason.fromProto(proto.declinedReason);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.declinedReason !== 'undefined' && this.declinedReason !== null) {\n toReturn['declinedReason'] = 'toApiJson' in this.declinedReason ? this.declinedReason.toApiJson() : this.declinedReason;\n }\n return toReturn;\n }\n}\nclass GetSalesOrderByIdempotencyKeyRequest {\n static fromProto(proto) {\n let m = new GetSalesOrderByIdempotencyKeyRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.idempotencyKey !== 'undefined') {\n toReturn['idempotencyKey'] = this.idempotencyKey;\n }\n return toReturn;\n }\n}\nclass GetSalesOrderRequest {\n static fromProto(proto) {\n let m = new GetSalesOrderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass GetSalesOrderResponse {\n static fromProto(proto) {\n let m = new GetSalesOrderResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass GetStatusCountsRequest {\n static fromProto(proto) {\n let m = new GetStatusCountsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = GetStatusCountsRequestFilters.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.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\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 GetStatusCountsResponse {\n static fromProto(proto) {\n let m = new GetStatusCountsResponse();\n m = Object.assign(m, proto);\n if (proto.counts) {\n m.counts = Object.keys(proto.counts).reduce((obj, k) => {\n obj[k] = parseInt(proto.counts[k], 10);\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.counts !== 'undefined' && this.counts !== null) {\n toReturn['counts'] = 'toApiJson' in this.counts ? this.counts.toApiJson() : this.counts;\n }\n return toReturn;\n }\n}\nclass GetSubscribedLocationsRequest {\n static fromProto(proto) {\n let m = new GetSubscribedLocationsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass GetSubscribedLocationsResponse {\n static fromProto(proto) {\n let m = new GetSubscribedLocationsResponse();\n m = Object.assign(m, proto);\n if (proto.locations) {\n m.locations = proto.locations.map(v => enumStringToValue$1(SubscriptionLocation, 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.locations !== 'undefined') {\n toReturn['locations'] = this.locations;\n }\n return toReturn;\n }\n}\nclass GetSubscribersRequest {\n static fromProto(proto) {\n let m = new GetSubscribersRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass GetSubscribersResponse {\n static fromProto(proto) {\n let m = new GetSubscribersResponse();\n m = Object.assign(m, proto);\n if (proto.subscribers) {\n m.subscribers = proto.subscribers.map(Subscriber.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.subscribers !== 'undefined' && this.subscribers !== null) {\n toReturn['subscribers'] = 'toApiJson' in this.subscribers ? this.subscribers.toApiJson() : this.subscribers;\n }\n return toReturn;\n }\n}\nclass GetUsersRequest {\n static fromProto(proto) {\n let m = new GetUsersRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass GetUsersResponse {\n static fromProto(proto) {\n let m = new GetUsersResponse();\n m = Object.assign(m, proto);\n if (proto.users) {\n m.users = Object.keys(proto.users).reduce((obj, k) => {\n obj[k] = User.fromProto(proto.users[k]);\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.users !== 'undefined' && this.users !== null) {\n toReturn['users'] = 'toApiJson' in this.users ? this.users.toApiJson() : this.users;\n }\n return toReturn;\n }\n}\nclass IgnoreAllProductActivationErrorsRequest {\n static fromProto(proto) {\n let m = new IgnoreAllProductActivationErrorsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass IgnoreProductActivationErrorRequest {\n static fromProto(proto) {\n let m = new IgnoreProductActivationErrorRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.productActivationUniqueId !== 'undefined') {\n toReturn['productActivationUniqueId'] = this.productActivationUniqueId;\n }\n return toReturn;\n }\n}\nclass InitiateOrderExportRequest {\n static fromProto(proto) {\n let m = new InitiateOrderExportRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = InitiateOrderExportRequestFilters.fromProto(proto.filters);\n }\n if (proto.sortOption) {\n m.sortOption = InitiateOrderExportRequestSortOption.fromProto(proto.sortOption);\n }\n if (proto.selectedDataFormat) {\n m.selectedDataFormat = enumStringToValue$1(InitiateOrderExportRequestDataFormatOption, proto.selectedDataFormat);\n }\n return m;\n }\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.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.sortOption !== 'undefined' && this.sortOption !== null) {\n toReturn['sortOption'] = 'toApiJson' in this.sortOption ? this.sortOption.toApiJson() : this.sortOption;\n }\n if (typeof this.tryAgainUrl !== 'undefined') {\n toReturn['tryAgainUrl'] = this.tryAgainUrl;\n }\n if (typeof this.selectedDataFormat !== 'undefined') {\n toReturn['selectedDataFormat'] = this.selectedDataFormat;\n }\n return toReturn;\n }\n}\nclass InitiateOrderExportResponse {\n static fromProto(proto) {\n let m = new InitiateOrderExportResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.exportId !== 'undefined') {\n toReturn['exportId'] = this.exportId;\n }\n return toReturn;\n }\n}\nclass LeaseData {\n static fromProto(proto) {\n let m = new LeaseData();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.actionType !== 'undefined') {\n toReturn['actionType'] = this.actionType;\n }\n if (typeof this.declinedReason !== 'undefined') {\n toReturn['declinedReason'] = this.declinedReason;\n }\n if (typeof this.declinedReasonIds !== 'undefined') {\n toReturn['declinedReasonIds'] = this.declinedReasonIds;\n }\n return toReturn;\n }\n}\nclass LeaseSalesOrderToAutomationsRequest {\n static fromProto(proto) {\n let m = new LeaseSalesOrderToAutomationsRequest();\n m = Object.assign(m, proto);\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomField.fromProto);\n }\n if (proto.commonFields) {\n m.commonFields = proto.commonFields.map(CommonField.fromProto);\n }\n if (proto.extraFields) {\n m.extraFields = proto.extraFields.map(Field.fromProto);\n }\n if (proto.leaseData) {\n m.leaseData = LeaseData.fromProto(proto.leaseData);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.customFields !== 'undefined' && this.customFields !== null) {\n toReturn['customFields'] = 'toApiJson' in this.customFields ? this.customFields.toApiJson() : this.customFields;\n }\n if (typeof this.commonFields !== 'undefined' && this.commonFields !== null) {\n toReturn['commonFields'] = 'toApiJson' in this.commonFields ? this.commonFields.toApiJson() : this.commonFields;\n }\n if (typeof this.extraFields !== 'undefined' && this.extraFields !== null) {\n toReturn['extraFields'] = 'toApiJson' in this.extraFields ? this.extraFields.toApiJson() : this.extraFields;\n }\n if (typeof this.leaseData !== 'undefined' && this.leaseData !== null) {\n toReturn['leaseData'] = 'toApiJson' in this.leaseData ? this.leaseData.toApiJson() : this.leaseData;\n }\n return toReturn;\n }\n}\nclass LeaseSalesOrderToAutomationsResponse {\n static fromProto(proto) {\n let m = new LeaseSalesOrderToAutomationsResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass ListCustomerSalesOrderRequest {\n static fromProto(proto) {\n let m = new ListCustomerSalesOrderRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListCustomerSalesOrderRequestFilters.fromProto(proto.filters);\n }\n if (proto.sortOption) {\n m.sortOption = ListCustomerSalesOrderRequestSortOption.fromProto(proto.sortOption);\n }\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.sortOption !== 'undefined' && this.sortOption !== null) {\n toReturn['sortOption'] = 'toApiJson' in this.sortOption ? this.sortOption.toApiJson() : this.sortOption;\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 ListOrdersRequest {\n static fromProto(proto) {\n let m = new ListOrdersRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListOrdersRequestFilters.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.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\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 ListOrdersResponse {\n static fromProto(proto) {\n let m = new ListOrdersResponse();\n m = Object.assign(m, proto);\n if (proto.orders) {\n m.orders = proto.orders.map(VendorOrder.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.orders !== 'undefined' && this.orders !== null) {\n toReturn['orders'] = 'toApiJson' in this.orders ? this.orders.toApiJson() : this.orders;\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 ListReasonsRequest {\n static fromProto(proto) {\n let m = new ListReasonsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListReasonsRequestFilters.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.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\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 ListReasonsResponse {\n static fromProto(proto) {\n let m = new ListReasonsResponse();\n m = Object.assign(m, proto);\n if (proto.declinedReasons) {\n m.declinedReasons = proto.declinedReasons.map(DeclinedReason.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.declinedReasons !== 'undefined' && this.declinedReasons !== null) {\n toReturn['declinedReasons'] = 'toApiJson' in this.declinedReasons ? this.declinedReasons.toApiJson() : this.declinedReasons;\n }\n return toReturn;\n }\n}\nclass ListSalesOrderRequest {\n static fromProto(proto) {\n let m = new ListSalesOrderRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListSalesOrderRequestFilters.fromProto(proto.filters);\n }\n if (proto.sortOption) {\n m.sortOption = ListSalesOrderRequestSortOption.fromProto(proto.sortOption);\n }\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.sortOption !== 'undefined' && this.sortOption !== null) {\n toReturn['sortOption'] = 'toApiJson' in this.sortOption ? this.sortOption.toApiJson() : this.sortOption;\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 ListSalesOrderResponse {\n static fromProto(proto) {\n let m = new ListSalesOrderResponse();\n m = Object.assign(m, proto);\n if (proto.orders) {\n m.orders = proto.orders.map(Order.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.orders !== 'undefined' && this.orders !== null) {\n toReturn['orders'] = 'toApiJson' in this.orders ? this.orders.toApiJson() : this.orders;\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 ListTagsRequest {\n static fromProto(proto) {\n let m = new ListTagsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListTagsRequestFilters.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.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\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 ListTagsResponse {\n static fromProto(proto) {\n let m = new ListTagsResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n return toReturn;\n }\n}\nclass PreviewOrderActivationsRequest {\n static fromProto(proto) {\n let m = new PreviewOrderActivationsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass PreviewOrderActivationsResponse {\n static fromProto(proto) {\n let m = new PreviewOrderActivationsResponse();\n m = Object.assign(m, proto);\n if (proto.productActivations) {\n m.productActivations = proto.productActivations.map(ProductActivation.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.productActivations !== 'undefined' && this.productActivations !== null) {\n toReturn['productActivations'] = 'toApiJson' in this.productActivations ? this.productActivations.toApiJson() : this.productActivations;\n }\n return toReturn;\n }\n}\nclass Pricing {\n static fromProto(proto) {\n let m = new Pricing();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.setupFee) {\n m.setupFee = parseInt(proto.setupFee, 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.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.setupFee !== 'undefined') {\n toReturn['setupFee'] = this.setupFee;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n return toReturn;\n }\n}\nclass RequestCancellationRequest {\n static fromProto(proto) {\n let m = new RequestCancellationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.notes !== 'undefined') {\n toReturn['notes'] = this.notes;\n }\n return toReturn;\n }\n}\nclass ScheduleActivationRequest {\n static fromProto(proto) {\n let m = new ScheduleActivationRequest();\n m = Object.assign(m, proto);\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomField.fromProto);\n }\n if (proto.commonFields) {\n m.commonFields = proto.commonFields.map(CommonField.fromProto);\n }\n if (proto.extraFields) {\n m.extraFields = proto.extraFields.map(Field.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.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.customFields !== 'undefined' && this.customFields !== null) {\n toReturn['customFields'] = 'toApiJson' in this.customFields ? this.customFields.toApiJson() : this.customFields;\n }\n if (typeof this.commonFields !== 'undefined' && this.commonFields !== null) {\n toReturn['commonFields'] = 'toApiJson' in this.commonFields ? this.commonFields.toApiJson() : this.commonFields;\n }\n if (typeof this.extraFields !== 'undefined' && this.extraFields !== null) {\n toReturn['extraFields'] = 'toApiJson' in this.extraFields ? this.extraFields.toApiJson() : this.extraFields;\n }\n return toReturn;\n }\n}\nclass SendExistingOrderToCustomerForApprovalRequest {\n static fromProto(proto) {\n let m = new SendExistingOrderToCustomerForApprovalRequest();\n m = Object.assign(m, proto);\n if (proto.offerExpiry) {\n m.offerExpiry = new Date(proto.offerExpiry);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.offerExpiry !== 'undefined' && this.offerExpiry !== null) {\n toReturn['offerExpiry'] = 'toApiJson' in this.offerExpiry ? this.offerExpiry.toApiJson() : this.offerExpiry;\n }\n if (typeof this.orderIsSmbPayable !== 'undefined') {\n toReturn['orderIsSmbPayable'] = this.orderIsSmbPayable;\n }\n return toReturn;\n }\n}\nclass SendForCustomerApprovalRequest {\n static fromProto(proto) {\n let m = new SendForCustomerApprovalRequest();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n if (proto.offerExpiry) {\n m.offerExpiry = new Date(proto.offerExpiry);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.offerExpiry !== 'undefined' && this.offerExpiry !== null) {\n toReturn['offerExpiry'] = 'toApiJson' in this.offerExpiry ? this.offerExpiry.toApiJson() : this.offerExpiry;\n }\n if (typeof this.useCustomerPrice !== 'undefined') {\n toReturn['useCustomerPrice'] = this.useCustomerPrice;\n }\n return toReturn;\n }\n}\nclass SendForCustomerApprovalResponse {\n static fromProto(proto) {\n let m = new SendForCustomerApprovalResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass ListSalesOrderRequestSortOption {\n static fromProto(proto) {\n let m = new ListSalesOrderRequestSortOption();\n m = Object.assign(m, proto);\n if (proto.direction) {\n m.direction = enumStringToValue$1(ListSalesOrderRequestSortDirection, proto.direction);\n }\n if (proto.field) {\n m.field = enumStringToValue$1(ListSalesOrderRequestSortField, proto.field);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.direction !== 'undefined') {\n toReturn['direction'] = this.direction;\n }\n if (typeof this.field !== 'undefined') {\n toReturn['field'] = this.field;\n }\n return toReturn;\n }\n}\nclass ListCustomerSalesOrderRequestSortOption {\n static fromProto(proto) {\n let m = new ListCustomerSalesOrderRequestSortOption();\n m = Object.assign(m, proto);\n if (proto.direction) {\n m.direction = enumStringToValue$1(ListCustomerSalesOrderRequestSortDirection, proto.direction);\n }\n if (proto.field) {\n m.field = enumStringToValue$1(ListCustomerSalesOrderRequestSortField, proto.field);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.direction !== 'undefined') {\n toReturn['direction'] = this.direction;\n }\n if (typeof this.field !== 'undefined') {\n toReturn['field'] = this.field;\n }\n return toReturn;\n }\n}\nclass InitiateOrderExportRequestSortOption {\n static fromProto(proto) {\n let m = new InitiateOrderExportRequestSortOption();\n m = Object.assign(m, proto);\n if (proto.direction) {\n m.direction = enumStringToValue$1(InitiateOrderExportRequestSortDirection, proto.direction);\n }\n if (proto.field) {\n m.field = enumStringToValue$1(InitiateOrderExportRequestSortField, proto.field);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.direction !== 'undefined') {\n toReturn['direction'] = this.direction;\n }\n if (typeof this.field !== 'undefined') {\n toReturn['field'] = this.field;\n }\n return toReturn;\n }\n}\nclass SubmitDraftForApprovalRequest {\n static fromProto(proto) {\n let m = new SubmitDraftForApprovalRequest();\n m = Object.assign(m, proto);\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomField.fromProto);\n }\n if (proto.commonFields) {\n m.commonFields = proto.commonFields.map(CommonField.fromProto);\n }\n if (proto.extraFields) {\n m.extraFields = proto.extraFields.map(Field.fromProto);\n }\n if (proto.offerExpiry) {\n m.offerExpiry = new Date(proto.offerExpiry);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.customFields !== 'undefined' && this.customFields !== null) {\n toReturn['customFields'] = 'toApiJson' in this.customFields ? this.customFields.toApiJson() : this.customFields;\n }\n if (typeof this.commonFields !== 'undefined' && this.commonFields !== null) {\n toReturn['commonFields'] = 'toApiJson' in this.commonFields ? this.commonFields.toApiJson() : this.commonFields;\n }\n if (typeof this.extraFields !== 'undefined' && this.extraFields !== null) {\n toReturn['extraFields'] = 'toApiJson' in this.extraFields ? this.extraFields.toApiJson() : this.extraFields;\n }\n if (typeof this.offerExpiry !== 'undefined' && this.offerExpiry !== null) {\n toReturn['offerExpiry'] = 'toApiJson' in this.offerExpiry ? this.offerExpiry.toApiJson() : this.offerExpiry;\n }\n return toReturn;\n }\n}\nclass SubmitDraftForApprovalResponse {\n static fromProto(proto) {\n let m = new SubmitDraftForApprovalResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass SubmitDraftRequest {\n static fromProto(proto) {\n let m = new SubmitDraftRequest();\n m = Object.assign(m, proto);\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomField.fromProto);\n }\n if (proto.commonFields) {\n m.commonFields = proto.commonFields.map(CommonField.fromProto);\n }\n if (proto.extraFields) {\n m.extraFields = proto.extraFields.map(Field.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.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.customFields !== 'undefined' && this.customFields !== null) {\n toReturn['customFields'] = 'toApiJson' in this.customFields ? this.customFields.toApiJson() : this.customFields;\n }\n if (typeof this.commonFields !== 'undefined' && this.commonFields !== null) {\n toReturn['commonFields'] = 'toApiJson' in this.commonFields ? this.commonFields.toApiJson() : this.commonFields;\n }\n if (typeof this.extraFields !== 'undefined' && this.extraFields !== null) {\n toReturn['extraFields'] = 'toApiJson' in this.extraFields ? this.extraFields.toApiJson() : this.extraFields;\n }\n return toReturn;\n }\n}\nclass SubmitDraftResponse {\n static fromProto(proto) {\n let m = new SubmitDraftResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass SubscribeRequest {\n static fromProto(proto) {\n let m = new SubscribeRequest();\n m = Object.assign(m, proto);\n if (proto.location) {\n m.location = enumStringToValue$1(SubscriptionLocation, proto.location);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.location !== 'undefined') {\n toReturn['location'] = this.location;\n }\n return toReturn;\n }\n}\nclass UnsubscribeRequest {\n static fromProto(proto) {\n let m = new UnsubscribeRequest();\n m = Object.assign(m, proto);\n if (proto.location) {\n m.location = enumStringToValue$1(SubscriptionLocation, proto.location);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.location !== 'undefined') {\n toReturn['location'] = this.location;\n }\n return toReturn;\n }\n}\nclass UpdateAnswersRequest {\n static fromProto(proto) {\n let m = new UpdateAnswersRequest();\n m = Object.assign(m, proto);\n if (proto.customFields) {\n m.customFields = proto.customFields.map(CustomField.fromProto);\n }\n if (proto.commonFields) {\n m.commonFields = proto.commonFields.map(CommonField.fromProto);\n }\n if (proto.extraFields) {\n m.extraFields = proto.extraFields.map(Field.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.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.customFields !== 'undefined' && this.customFields !== null) {\n toReturn['customFields'] = 'toApiJson' in this.customFields ? this.customFields.toApiJson() : this.customFields;\n }\n if (typeof this.commonFields !== 'undefined' && this.commonFields !== null) {\n toReturn['commonFields'] = 'toApiJson' in this.commonFields ? this.commonFields.toApiJson() : this.commonFields;\n }\n if (typeof this.extraFields !== 'undefined' && this.extraFields !== null) {\n toReturn['extraFields'] = 'toApiJson' in this.extraFields ? this.extraFields.toApiJson() : this.extraFields;\n }\n return toReturn;\n }\n}\nclass UpdateAnswersResponse {\n static fromProto(proto) {\n let m = new UpdateAnswersResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass UpdateAttachmentsRequest {\n static fromProto(proto) {\n let m = new UpdateAttachmentsRequest();\n m = Object.assign(m, proto);\n if (proto.attachments) {\n m.attachments = proto.attachments.map(Attachment.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.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.attachments !== 'undefined' && this.attachments !== null) {\n toReturn['attachments'] = 'toApiJson' in this.attachments ? this.attachments.toApiJson() : this.attachments;\n }\n return toReturn;\n }\n}\nclass UpdateConfigRequest {\n static fromProto(proto) {\n let m = new UpdateConfigRequest();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = Config.fromProto(proto.config);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.config !== 'undefined' && this.config !== null) {\n toReturn['config'] = 'toApiJson' in this.config ? this.config.toApiJson() : this.config;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass UpdateContractDurationRequest {\n static fromProto(proto) {\n let m = new UpdateContractDurationRequest();\n m = Object.assign(m, proto);\n if (proto.contractDuration) {\n m.contractDuration = Duration.fromProto(proto.contractDuration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.contractDuration !== 'undefined' && this.contractDuration !== null) {\n toReturn['contractDuration'] = 'toApiJson' in this.contractDuration ? this.contractDuration.toApiJson() : this.contractDuration;\n }\n return toReturn;\n }\n}\nclass UpdateCurrentRevenueRequest {\n static fromProto(proto) {\n let m = new UpdateCurrentRevenueRequest();\n m = Object.assign(m, proto);\n if (proto.lineItems) {\n m.lineItems = proto.lineItems.map(LineItem.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.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.lineItems !== 'undefined' && this.lineItems !== null) {\n toReturn['lineItems'] = 'toApiJson' in this.lineItems ? this.lineItems.toApiJson() : this.lineItems;\n }\n return toReturn;\n }\n}\nclass UpdateCustomerNotesRequest {\n static fromProto(proto) {\n let m = new UpdateCustomerNotesRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.customerNotes !== 'undefined') {\n toReturn['customerNotes'] = this.customerNotes;\n }\n return toReturn;\n }\n}\nclass UpdateLineItemsRequest {\n static fromProto(proto) {\n let m = new UpdateLineItemsRequest();\n m = Object.assign(m, proto);\n if (proto.lineItems) {\n m.lineItems = proto.lineItems.map(LineItem.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.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.lineItems !== 'undefined' && this.lineItems !== null) {\n toReturn['lineItems'] = 'toApiJson' in this.lineItems ? this.lineItems.toApiJson() : this.lineItems;\n }\n return toReturn;\n }\n}\nclass UpdateNotesRequest {\n static fromProto(proto) {\n let m = new UpdateNotesRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.notes !== 'undefined') {\n toReturn['notes'] = this.notes;\n }\n return toReturn;\n }\n}\nclass UpdateReasonRequest {\n static fromProto(proto) {\n let m = new UpdateReasonRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n return toReturn;\n }\n}\nclass UpdateReasonResponse {\n static fromProto(proto) {\n let m = new UpdateReasonResponse();\n m = Object.assign(m, proto);\n if (proto.declinedReason) {\n m.declinedReason = DeclinedReason.fromProto(proto.declinedReason);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.declinedReason !== 'undefined' && this.declinedReason !== null) {\n toReturn['declinedReason'] = 'toApiJson' in this.declinedReason ? this.declinedReason.toApiJson() : this.declinedReason;\n }\n return toReturn;\n }\n}\nclass UpdateRequestedActivationRequest {\n static fromProto(proto) {\n let m = new UpdateRequestedActivationRequest();\n m = Object.assign(m, proto);\n if (proto.requestedActivation) {\n m.requestedActivation = new Date(proto.requestedActivation);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.requestedActivation !== 'undefined' && this.requestedActivation !== null) {\n toReturn['requestedActivation'] = 'toApiJson' in this.requestedActivation ? this.requestedActivation.toApiJson() : this.requestedActivation;\n }\n return toReturn;\n }\n}\nclass UpdateSalesOrderMarketRequest {\n static fromProto(proto) {\n let m = new UpdateSalesOrderMarketRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n return toReturn;\n }\n}\nclass UpdateSalespersonRequest {\n static fromProto(proto) {\n let m = new UpdateSalespersonRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.salespersonId !== 'undefined') {\n toReturn['salespersonId'] = this.salespersonId;\n }\n return toReturn;\n }\n}\nclass UpdateSalespersonResponse {\n static fromProto(proto) {\n let m = new UpdateSalespersonResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass UpdateTagsRequest {\n static fromProto(proto) {\n let m = new UpdateTagsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n return toReturn;\n }\n}\nclass UpdateTagsResponse {\n static fromProto(proto) {\n let m = new UpdateTagsResponse();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = Order.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass GetUsersResponseUsersEntry {\n static fromProto(proto) {\n let m = new GetUsersResponseUsersEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = User.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass VendorOrder {\n static fromProto(proto) {\n let m = new VendorOrder();\n m = Object.assign(m, proto);\n if (proto.business) {\n m.business = Business.fromProto(proto.business);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.pricing) {\n m.pricing = Pricing.fromProto(proto.pricing);\n }\n if (proto.activationStatus) {\n m.activationStatus = enumStringToValue$1(ActivationStatus, proto.activationStatus);\n }\n if (proto.fulfillmentStatus) {\n m.fulfillmentStatus = FulfillmentStatus.fromProto(proto.fulfillmentStatus);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.orderFormSubmissionId !== 'undefined') {\n toReturn['orderFormSubmissionId'] = this.orderFormSubmissionId;\n }\n if (typeof this.resellerId !== 'undefined') {\n toReturn['resellerId'] = this.resellerId;\n }\n if (typeof this.resellerName !== 'undefined') {\n toReturn['resellerName'] = this.resellerName;\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.appName !== 'undefined') {\n toReturn['appName'] = this.appName;\n }\n if (typeof this.business !== 'undefined' && this.business !== null) {\n toReturn['business'] = 'toApiJson' in this.business ? this.business.toApiJson() : this.business;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.pricing !== 'undefined' && this.pricing !== null) {\n toReturn['pricing'] = 'toApiJson' in this.pricing ? this.pricing.toApiJson() : this.pricing;\n }\n if (typeof this.activationStatus !== 'undefined') {\n toReturn['activationStatus'] = this.activationStatus;\n }\n if (typeof this.fulfillmentStatus !== 'undefined' && this.fulfillmentStatus !== null) {\n toReturn['fulfillmentStatus'] = 'toApiJson' in this.fulfillmentStatus ? this.fulfillmentStatus.toApiJson() : this.fulfillmentStatus;\n }\n if (typeof this.rejectedReason !== 'undefined') {\n toReturn['rejectedReason'] = this.rejectedReason;\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 ArchiveDocumentRequest {\n static fromProto(proto) {\n let m = new ArchiveDocumentRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n return toReturn;\n }\n}\nclass Content {\n static fromProto(proto) {\n let m = new Content();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = enumStringToValue(ContentType, proto.type);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass CreateDocumentRequest {\n static fromProto(proto) {\n let m = new CreateDocumentRequest();\n m = Object.assign(m, proto);\n if (proto.document) {\n m.document = Document.fromProto(proto.document);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.document !== 'undefined' && this.document !== null) {\n toReturn['document'] = 'toApiJson' in this.document ? this.document.toApiJson() : this.document;\n }\n return toReturn;\n }\n}\nclass CreateDocumentResponse {\n static fromProto(proto) {\n let m = new CreateDocumentResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n return toReturn;\n }\n}\nclass DeleteDocumentRequest {\n static fromProto(proto) {\n let m = new DeleteDocumentRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n return toReturn;\n }\n}\nclass Document {\n static fromProto(proto) {\n let m = new Document();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n if (proto.pageCount) {\n m.pageCount = parseInt(proto.pageCount, 10);\n }\n if (proto.type) {\n m.type = enumStringToValue(DocumentType, proto.type);\n }\n if (proto.shareType) {\n m.shareType = enumStringToValue(DocumentShareType, proto.shareType);\n }\n if (proto.organizationType) {\n m.organizationType = enumStringToValue(OrganizationType, proto.organizationType);\n }\n if (proto.recipientOrganizationType) {\n m.recipientOrganizationType = enumStringToValue(OrganizationType, proto.recipientOrganizationType);\n }\n if (proto.status) {\n m.status = enumStringToValue(DocumentStatus, proto.status);\n }\n if (proto.archived) {\n m.archived = new Date(proto.archived);\n }\n if (proto.viewCount) {\n m.viewCount = parseInt(proto.viewCount, 10);\n }\n if (proto.format) {\n m.format = Format.fromProto(proto.format);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n if (typeof this.pageCount !== 'undefined') {\n toReturn['pageCount'] = this.pageCount;\n }\n if (typeof this.jsonContent !== 'undefined') {\n toReturn['jsonContent'] = this.jsonContent;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.shareType !== 'undefined') {\n toReturn['shareType'] = this.shareType;\n }\n if (typeof this.organizationId !== 'undefined') {\n toReturn['organizationId'] = this.organizationId;\n }\n if (typeof this.organizationType !== 'undefined') {\n toReturn['organizationType'] = this.organizationType;\n }\n if (typeof this.creatorUserId !== 'undefined') {\n toReturn['creatorUserId'] = this.creatorUserId;\n }\n if (typeof this.recipientOrganizationId !== 'undefined') {\n toReturn['recipientOrganizationId'] = this.recipientOrganizationId;\n }\n if (typeof this.recipientOrganizationType !== 'undefined') {\n toReturn['recipientOrganizationType'] = this.recipientOrganizationType;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.archived !== 'undefined' && this.archived !== null) {\n toReturn['archived'] = 'toApiJson' in this.archived ? this.archived.toApiJson() : this.archived;\n }\n if (typeof this.viewCount !== 'undefined') {\n toReturn['viewCount'] = this.viewCount;\n }\n if (typeof this.thumbnailPath !== 'undefined') {\n toReturn['thumbnailPath'] = this.thumbnailPath;\n }\n if (typeof this.pdfPath !== 'undefined') {\n toReturn['pdfPath'] = this.pdfPath;\n }\n if (typeof this.snapshotId !== 'undefined') {\n toReturn['snapshotId'] = this.snapshotId;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.recipientContactId !== 'undefined') {\n toReturn['recipientContactId'] = this.recipientContactId;\n }\n if (typeof this.format !== 'undefined' && this.format !== null) {\n toReturn['format'] = 'toApiJson' in this.format ? this.format.toApiJson() : this.format;\n }\n return toReturn;\n }\n}\nclass DocumentEmailRecipient {\n static fromProto(proto) {\n let m = new DocumentEmailRecipient();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.emailAddress !== 'undefined') {\n toReturn['emailAddress'] = this.emailAddress;\n }\n return toReturn;\n }\n}\nclass DocumentEvent {\n static fromProto(proto) {\n let m = new DocumentEvent();\n m = Object.assign(m, proto);\n if (proto.occurred) {\n m.occurred = new Date(proto.occurred);\n }\n if (proto.eventType) {\n m.eventType = enumStringToValue(DocumentEventType, proto.eventType);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n if (proto.context) {\n m.context = DocumentEventContext.fromProto(proto.context);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n if (typeof this.occurred !== 'undefined' && this.occurred !== null) {\n toReturn['occurred'] = 'toApiJson' in this.occurred ? this.occurred.toApiJson() : this.occurred;\n }\n if (typeof this.performedBy !== 'undefined') {\n toReturn['performedBy'] = this.performedBy;\n }\n if (typeof this.eventType !== 'undefined') {\n toReturn['eventType'] = this.eventType;\n }\n if (typeof this.eventContext !== 'undefined') {\n toReturn['eventContext'] = this.eventContext;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n if (typeof this.context !== 'undefined' && this.context !== null) {\n toReturn['context'] = 'toApiJson' in this.context ? this.context.toApiJson() : this.context;\n }\n return toReturn;\n }\n}\nclass DocumentEventContext {\n static fromProto(proto) {\n let m = new DocumentEventContext();\n m = Object.assign(m, proto);\n if (proto.sentByEmailContext) {\n m.sentByEmailContext = DocumentEventContextSentByEmail.fromProto(proto.sentByEmailContext);\n }\n if (proto.viewedByRecipientContext) {\n m.viewedByRecipientContext = DocumentEventContextViewedByRecipient.fromProto(proto.viewedByRecipientContext);\n }\n if (proto.approvedByRecipientContext) {\n m.approvedByRecipientContext = DocumentEventContextApprovedByRecipient.fromProto(proto.approvedByRecipientContext);\n }\n if (proto.feedbackFromRecipientContext) {\n m.feedbackFromRecipientContext = DocumentEventContextFeedbackFromRecipient.fromProto(proto.feedbackFromRecipientContext);\n }\n if (proto.commentFromInternalUserContext) {\n m.commentFromInternalUserContext = DocumentEventContextCommentFromInternalUser.fromProto(proto.commentFromInternalUserContext);\n }\n if (proto.sendForInternalReviewContext) {\n m.sendForInternalReviewContext = DocumentEventContextSendForInternalReview.fromProto(proto.sendForInternalReviewContext);\n }\n if (proto.reviewedByInternalUserContext) {\n m.reviewedByInternalUserContext = DocumentEventContextReviewedByInternalUser.fromProto(proto.reviewedByInternalUserContext);\n }\n if (proto.unlockedDocumentContext) {\n m.unlockedDocumentContext = DocumentEventContextUnlockDocument.fromProto(proto.unlockedDocumentContext);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sentByEmailContext !== 'undefined' && this.sentByEmailContext !== null) {\n toReturn['sentByEmailContext'] = 'toApiJson' in this.sentByEmailContext ? this.sentByEmailContext.toApiJson() : this.sentByEmailContext;\n }\n if (typeof this.viewedByRecipientContext !== 'undefined' && this.viewedByRecipientContext !== null) {\n toReturn['viewedByRecipientContext'] = 'toApiJson' in this.viewedByRecipientContext ? this.viewedByRecipientContext.toApiJson() : this.viewedByRecipientContext;\n }\n if (typeof this.approvedByRecipientContext !== 'undefined' && this.approvedByRecipientContext !== null) {\n toReturn['approvedByRecipientContext'] = 'toApiJson' in this.approvedByRecipientContext ? this.approvedByRecipientContext.toApiJson() : this.approvedByRecipientContext;\n }\n if (typeof this.feedbackFromRecipientContext !== 'undefined' && this.feedbackFromRecipientContext !== null) {\n toReturn['feedbackFromRecipientContext'] = 'toApiJson' in this.feedbackFromRecipientContext ? this.feedbackFromRecipientContext.toApiJson() : this.feedbackFromRecipientContext;\n }\n if (typeof this.commentFromInternalUserContext !== 'undefined' && this.commentFromInternalUserContext !== null) {\n toReturn['commentFromInternalUserContext'] = 'toApiJson' in this.commentFromInternalUserContext ? this.commentFromInternalUserContext.toApiJson() : this.commentFromInternalUserContext;\n }\n if (typeof this.sendForInternalReviewContext !== 'undefined' && this.sendForInternalReviewContext !== null) {\n toReturn['sendForInternalReviewContext'] = 'toApiJson' in this.sendForInternalReviewContext ? this.sendForInternalReviewContext.toApiJson() : this.sendForInternalReviewContext;\n }\n if (typeof this.reviewedByInternalUserContext !== 'undefined' && this.reviewedByInternalUserContext !== null) {\n toReturn['reviewedByInternalUserContext'] = 'toApiJson' in this.reviewedByInternalUserContext ? this.reviewedByInternalUserContext.toApiJson() : this.reviewedByInternalUserContext;\n }\n if (typeof this.unlockedDocumentContext !== 'undefined' && this.unlockedDocumentContext !== null) {\n toReturn['unlockedDocumentContext'] = 'toApiJson' in this.unlockedDocumentContext ? this.unlockedDocumentContext.toApiJson() : this.unlockedDocumentContext;\n }\n return toReturn;\n }\n}\nclass DocumentEventContextApprovedByRecipient {\n static fromProto(proto) {\n let m = new DocumentEventContextApprovedByRecipient();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n return toReturn;\n }\n}\nclass DocumentEventContextCommentFromInternalUser {\n static fromProto(proto) {\n let m = new DocumentEventContextCommentFromInternalUser();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.conversationOriginLocationExternalId !== 'undefined') {\n toReturn['conversationOriginLocationExternalId'] = this.conversationOriginLocationExternalId;\n }\n return toReturn;\n }\n}\nclass DocumentEventContextFeedbackFromRecipient {\n static fromProto(proto) {\n let m = new DocumentEventContextFeedbackFromRecipient();\n m = Object.assign(m, proto);\n if (proto.recipientOrganizationType) {\n m.recipientOrganizationType = enumStringToValue(OrganizationType, proto.recipientOrganizationType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.recipientOrganizationId !== 'undefined') {\n toReturn['recipientOrganizationId'] = this.recipientOrganizationId;\n }\n if (typeof this.recipientOrganizationType !== 'undefined') {\n toReturn['recipientOrganizationType'] = this.recipientOrganizationType;\n }\n if (typeof this.recipientEmail !== 'undefined') {\n toReturn['recipientEmail'] = this.recipientEmail;\n }\n if (typeof this.recipientName !== 'undefined') {\n toReturn['recipientName'] = this.recipientName;\n }\n return toReturn;\n }\n}\nclass DocumentEventContextReviewedByInternalUser {\n static fromProto(proto) {\n let m = new DocumentEventContextReviewedByInternalUser();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.reviewerUserId !== 'undefined') {\n toReturn['reviewerUserId'] = this.reviewerUserId;\n }\n if (typeof this.comment !== 'undefined') {\n toReturn['comment'] = this.comment;\n }\n return toReturn;\n }\n}\nclass DocumentEventContextSendForInternalReview {\n static fromProto(proto) {\n let m = new DocumentEventContextSendForInternalReview();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.requesterUserId !== 'undefined') {\n toReturn['requesterUserId'] = this.requesterUserId;\n }\n if (typeof this.reviewerUserId !== 'undefined') {\n toReturn['reviewerUserId'] = this.reviewerUserId;\n }\n if (typeof this.comment !== 'undefined') {\n toReturn['comment'] = this.comment;\n }\n return toReturn;\n }\n}\nclass DocumentEventContextSentByEmail {\n static fromProto(proto) {\n let m = new DocumentEventContextSentByEmail();\n m = Object.assign(m, proto);\n if (proto.sentEmails) {\n m.sentEmails = proto.sentEmails.map(SentDocumentEmail.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.sentEmails !== 'undefined' && this.sentEmails !== null) {\n toReturn['sentEmails'] = 'toApiJson' in this.sentEmails ? this.sentEmails.toApiJson() : this.sentEmails;\n }\n return toReturn;\n }\n}\nclass DocumentEventContextUnlockDocument {\n static fromProto(proto) {\n let m = new DocumentEventContextUnlockDocument();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n return toReturn;\n }\n}\nclass DocumentEventContextViewedByRecipient {\n static fromProto(proto) {\n let m = new DocumentEventContextViewedByRecipient();\n m = Object.assign(m, proto);\n if (proto.recipientOrganizationType) {\n m.recipientOrganizationType = enumStringToValue(OrganizationType, proto.recipientOrganizationType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.recipientOrganizationId !== 'undefined') {\n toReturn['recipientOrganizationId'] = this.recipientOrganizationId;\n }\n if (typeof this.recipientOrganizationType !== 'undefined') {\n toReturn['recipientOrganizationType'] = this.recipientOrganizationType;\n }\n if (typeof this.recipientEmail !== 'undefined') {\n toReturn['recipientEmail'] = this.recipientEmail;\n }\n if (typeof this.recipientName !== 'undefined') {\n toReturn['recipientName'] = this.recipientName;\n }\n return toReturn;\n }\n}\nclass ListDocumentsRequestFilters {\n static fromProto(proto) {\n let m = new ListDocumentsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.types) {\n m.types = proto.types.map(v => enumStringToValue(DocumentType, v));\n }\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue(DocumentStatus, 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.types !== 'undefined') {\n toReturn['types'] = this.types;\n }\n if (typeof this.organizationId !== 'undefined') {\n toReturn['organizationId'] = this.organizationId;\n }\n if (typeof this.recipientOrganizationId !== 'undefined') {\n toReturn['recipientOrganizationId'] = this.recipientOrganizationId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n return toReturn;\n }\n}\nclass ListDocumentEventsRequestFilters {\n static fromProto(proto) {\n let m = new ListDocumentEventsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.eventTypes) {\n m.eventTypes = proto.eventTypes.map(v => enumStringToValue(DocumentEventType, 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.eventTypes !== 'undefined') {\n toReturn['eventTypes'] = this.eventTypes;\n }\n return toReturn;\n }\n}\nclass SearchDocumentsRequestFilters {\n static fromProto(proto) {\n let m = new SearchDocumentsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.types) {\n m.types = proto.types.map(v => enumStringToValue(DocumentType, v));\n }\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue(DocumentStatus, 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.types !== 'undefined') {\n toReturn['types'] = this.types;\n }\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n if (typeof this.organizationId !== 'undefined') {\n toReturn['organizationId'] = this.organizationId;\n }\n if (typeof this.recipientOrganizationId !== 'undefined') {\n toReturn['recipientOrganizationId'] = this.recipientOrganizationId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.organizationUserIds !== 'undefined') {\n toReturn['organizationUserIds'] = this.organizationUserIds;\n }\n return toReturn;\n }\n}\nclass Format {\n static fromProto(proto) {\n let m = new Format();\n m = Object.assign(m, proto);\n if (proto.orientation) {\n m.orientation = enumStringToValue(Orientation, proto.orientation);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orientation !== 'undefined') {\n toReturn['orientation'] = this.orientation;\n }\n return toReturn;\n }\n}\nclass GenerateDocumentPDFRequest {\n static fromProto(proto) {\n let m = new GenerateDocumentPDFRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n return toReturn;\n }\n}\nclass GetDocumentLineItemsRequest {\n static fromProto(proto) {\n let m = new GetDocumentLineItemsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n return toReturn;\n }\n}\nclass GetDocumentLineItemsResponse {\n static fromProto(proto) {\n let m = new GetDocumentLineItemsResponse();\n m = Object.assign(m, proto);\n if (proto.lineItems) {\n m.lineItems = proto.lineItems.map(LineItem.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.lineItems !== 'undefined' && this.lineItems !== null) {\n toReturn['lineItems'] = 'toApiJson' in this.lineItems ? this.lineItems.toApiJson() : this.lineItems;\n }\n return toReturn;\n }\n}\nclass GetDocumentRequest {\n static fromProto(proto) {\n let m = new GetDocumentRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n return toReturn;\n }\n}\nclass GetDocumentResponse {\n static fromProto(proto) {\n let m = new GetDocumentResponse();\n m = Object.assign(m, proto);\n if (proto.document) {\n m.document = Document.fromProto(proto.document);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.document !== 'undefined' && this.document !== null) {\n toReturn['document'] = 'toApiJson' in this.document ? this.document.toApiJson() : this.document;\n }\n return toReturn;\n }\n}\nclass GetMultiDocumentsRequest {\n static fromProto(proto) {\n let m = new GetMultiDocumentsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentIds !== 'undefined') {\n toReturn['documentIds'] = this.documentIds;\n }\n return toReturn;\n }\n}\nclass GetMultiDocumentsResponse {\n static fromProto(proto) {\n let m = new GetMultiDocumentsResponse();\n m = Object.assign(m, proto);\n if (proto.documents) {\n m.documents = proto.documents.map(Document.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.documents !== 'undefined' && this.documents !== null) {\n toReturn['documents'] = 'toApiJson' in this.documents ? this.documents.toApiJson() : this.documents;\n }\n return toReturn;\n }\n}\nclass GetProposalEmailPreviewRequest {\n static fromProto(proto) {\n let m = new GetProposalEmailPreviewRequest();\n m = Object.assign(m, proto);\n if (proto.proposalEmailDetails) {\n m.proposalEmailDetails = ProposalEmailDetails.fromProto(proto.proposalEmailDetails);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n if (typeof this.proposalEmailDetails !== 'undefined' && this.proposalEmailDetails !== null) {\n toReturn['proposalEmailDetails'] = 'toApiJson' in this.proposalEmailDetails ? this.proposalEmailDetails.toApiJson() : this.proposalEmailDetails;\n }\n if (typeof this.senderUserId !== 'undefined') {\n toReturn['senderUserId'] = this.senderUserId;\n }\n return toReturn;\n }\n}\nclass GetProposalEmailPreviewResponse {\n static fromProto(proto) {\n let m = new GetProposalEmailPreviewResponse();\n m = Object.assign(m, proto);\n if (proto.emailPreviewContent) {\n m.emailPreviewContent = Content.fromProto(proto.emailPreviewContent);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.emailPreviewContent !== 'undefined' && this.emailPreviewContent !== null) {\n toReturn['emailPreviewContent'] = 'toApiJson' in this.emailPreviewContent ? this.emailPreviewContent.toApiJson() : this.emailPreviewContent;\n }\n return toReturn;\n }\n}\nclass ListDocumentEventsRequest {\n static fromProto(proto) {\n let m = new ListDocumentEventsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListDocumentEventsRequestFilters.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.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\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 ListDocumentEventsResponse {\n static fromProto(proto) {\n let m = new ListDocumentEventsResponse();\n m = Object.assign(m, proto);\n if (proto.events) {\n m.events = proto.events.map(DocumentEvent.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.events !== 'undefined' && this.events !== null) {\n toReturn['events'] = 'toApiJson' in this.events ? this.events.toApiJson() : this.events;\n }\n return toReturn;\n }\n}\nclass ListDocumentsRequest {\n static fromProto(proto) {\n let m = new ListDocumentsRequest();\n m = Object.assign(m, proto);\n if (proto.paging) {\n m.paging = PagedRequestOptions.fromProto(proto.paging);\n }\n if (proto.filters) {\n m.filters = ListDocumentsRequestFilters.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.paging !== 'undefined' && this.paging !== null) {\n toReturn['paging'] = 'toApiJson' in this.paging ? this.paging.toApiJson() : this.paging;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\nclass ListDocumentsResponse {\n static fromProto(proto) {\n let m = new ListDocumentsResponse();\n m = Object.assign(m, proto);\n if (proto.documents) {\n m.documents = proto.documents.map(Document.fromProto);\n }\n if (proto.paging) {\n m.paging = PagedResponseMetadata.fromProto(proto.paging);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documents !== 'undefined' && this.documents !== null) {\n toReturn['documents'] = 'toApiJson' in this.documents ? this.documents.toApiJson() : this.documents;\n }\n if (typeof this.paging !== 'undefined' && this.paging !== null) {\n toReturn['paging'] = 'toApiJson' in this.paging ? this.paging.toApiJson() : this.paging;\n }\n return toReturn;\n }\n}\nclass MarkDocumentAsReviewedRequest {\n static fromProto(proto) {\n let m = new MarkDocumentAsReviewedRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n if (typeof this.reviewerUserId !== 'undefined') {\n toReturn['reviewerUserId'] = this.reviewerUserId;\n }\n if (typeof this.comment !== 'undefined') {\n toReturn['comment'] = this.comment;\n }\n return toReturn;\n }\n}\nclass MarkDocumentAsViewedRequest {\n static fromProto(proto) {\n let m = new MarkDocumentAsViewedRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n if (typeof this.orderToken !== 'undefined') {\n toReturn['orderToken'] = this.orderToken;\n }\n return toReturn;\n }\n}\nclass ProposalEmailDetails {\n static fromProto(proto) {\n let m = new ProposalEmailDetails();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subject !== 'undefined') {\n toReturn['subject'] = this.subject;\n }\n if (typeof this.emailText !== 'undefined') {\n toReturn['emailText'] = this.emailText;\n }\n if (typeof this.proposalLinkText !== 'undefined') {\n toReturn['proposalLinkText'] = this.proposalLinkText;\n }\n if (typeof this.closingText !== 'undefined') {\n toReturn['closingText'] = this.closingText;\n }\n return toReturn;\n }\n}\nclass ProposalEmailMessage {\n static fromProto(proto) {\n let m = new ProposalEmailMessage();\n m = Object.assign(m, proto);\n if (proto.to) {\n m.to = proto.to.map(Recipient.fromProto);\n }\n if (proto.replyTo) {\n m.replyTo = Recipient.fromProto(proto.replyTo);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.to !== 'undefined' && this.to !== null) {\n toReturn['to'] = 'toApiJson' in this.to ? this.to.toApiJson() : this.to;\n }\n if (typeof this.replyTo !== 'undefined' && this.replyTo !== null) {\n toReturn['replyTo'] = 'toApiJson' in this.replyTo ? this.replyTo.toApiJson() : this.replyTo;\n }\n return toReturn;\n }\n}\nclass Recipient {\n static fromProto(proto) {\n let m = new Recipient();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.emailAddress !== 'undefined') {\n toReturn['emailAddress'] = this.emailAddress;\n }\n return toReturn;\n }\n}\nclass SearchDocumentsRequest {\n static fromProto(proto) {\n let m = new SearchDocumentsRequest();\n m = Object.assign(m, proto);\n if (proto.paging) {\n m.paging = PagedRequestOptions.fromProto(proto.paging);\n }\n if (proto.filters) {\n m.filters = SearchDocumentsRequestFilters.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.paging !== 'undefined' && this.paging !== null) {\n toReturn['paging'] = 'toApiJson' in this.paging ? this.paging.toApiJson() : this.paging;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n return toReturn;\n }\n}\nclass SearchDocumentsResponse {\n static fromProto(proto) {\n let m = new SearchDocumentsResponse();\n m = Object.assign(m, proto);\n if (proto.documents) {\n m.documents = proto.documents.map(Document.fromProto);\n }\n if (proto.paging) {\n m.paging = PagedResponseMetadata.fromProto(proto.paging);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documents !== 'undefined' && this.documents !== null) {\n toReturn['documents'] = 'toApiJson' in this.documents ? this.documents.toApiJson() : this.documents;\n }\n if (typeof this.paging !== 'undefined' && this.paging !== null) {\n toReturn['paging'] = 'toApiJson' in this.paging ? this.paging.toApiJson() : this.paging;\n }\n return toReturn;\n }\n}\nclass SendDocumentForInternalReviewRequest {\n static fromProto(proto) {\n let m = new SendDocumentForInternalReviewRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n if (typeof this.requesterUserId !== 'undefined') {\n toReturn['requesterUserId'] = this.requesterUserId;\n }\n if (typeof this.reviewerUserId !== 'undefined') {\n toReturn['reviewerUserId'] = this.reviewerUserId;\n }\n if (typeof this.comment !== 'undefined') {\n toReturn['comment'] = this.comment;\n }\n return toReturn;\n }\n}\nclass SendProposalRecipientEmailRequest {\n static fromProto(proto) {\n let m = new SendProposalRecipientEmailRequest();\n m = Object.assign(m, proto);\n if (proto.proposalEmailMessage) {\n m.proposalEmailMessage = ProposalEmailMessage.fromProto(proto.proposalEmailMessage);\n }\n if (proto.proposalEmailDetails) {\n m.proposalEmailDetails = ProposalEmailDetails.fromProto(proto.proposalEmailDetails);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.proposalEmailMessage !== 'undefined' && this.proposalEmailMessage !== null) {\n toReturn['proposalEmailMessage'] = 'toApiJson' in this.proposalEmailMessage ? this.proposalEmailMessage.toApiJson() : this.proposalEmailMessage;\n }\n if (typeof this.senderUserId !== 'undefined') {\n toReturn['senderUserId'] = this.senderUserId;\n }\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n if (typeof this.idempotencyKey !== 'undefined') {\n toReturn['idempotencyKey'] = this.idempotencyKey;\n }\n if (typeof this.organizationId !== 'undefined') {\n toReturn['organizationId'] = this.organizationId;\n }\n if (typeof this.proposalEmailDetails !== 'undefined' && this.proposalEmailDetails !== null) {\n toReturn['proposalEmailDetails'] = 'toApiJson' in this.proposalEmailDetails ? this.proposalEmailDetails.toApiJson() : this.proposalEmailDetails;\n }\n return toReturn;\n }\n}\nclass SentDocumentEmail {\n static fromProto(proto) {\n let m = new SentDocumentEmail();\n m = Object.assign(m, proto);\n if (proto.recipient) {\n m.recipient = DocumentEmailRecipient.fromProto(proto.recipient);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.emailId !== 'undefined') {\n toReturn['emailId'] = this.emailId;\n }\n if (typeof this.recipient !== 'undefined' && this.recipient !== null) {\n toReturn['recipient'] = 'toApiJson' in this.recipient ? this.recipient.toApiJson() : this.recipient;\n }\n return toReturn;\n }\n}\nclass UnarchiveDocumentRequest {\n static fromProto(proto) {\n let m = new UnarchiveDocumentRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n return toReturn;\n }\n}\nclass UnlockDocumentRequest {\n static fromProto(proto) {\n let m = new UnlockDocumentRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n return toReturn;\n }\n}\nclass UpdateDocumentRequest {\n static fromProto(proto) {\n let m = new UpdateDocumentRequest();\n m = Object.assign(m, proto);\n if (proto.document) {\n m.document = Document.fromProto(proto.document);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n if (typeof this.document !== 'undefined' && this.document !== null) {\n toReturn['document'] = 'toApiJson' in this.document ? this.document.toApiJson() : this.document;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass UpsertDocumentLineItemsRequest {\n static fromProto(proto) {\n let m = new UpsertDocumentLineItemsRequest();\n m = Object.assign(m, proto);\n if (proto.lineItems) {\n m.lineItems = proto.lineItems.map(LineItem.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.documentId !== 'undefined') {\n toReturn['documentId'] = this.documentId;\n }\n if (typeof this.lineItems !== 'undefined' && this.lineItems !== null) {\n toReturn['lineItems'] = 'toApiJson' in this.lineItems ? this.lineItems.toApiJson() : this.lineItems;\n }\n return toReturn;\n }\n}\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects Index.\n// *********************************\n\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'sales-orders-api.vendasta-local.com',\n 'test': '',\n 'demo': 'sales-orders-demo.apigateway.co',\n 'prod': 'sales-orders-prod.apigateway.co',\n 'production': 'sales-orders-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// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet CustomerSalesOrdersApiService = /*#__PURE__*/(() => {\n class CustomerSalesOrdersApiService {\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 createSalesOrder(r) {\n const request = r.toApiJson ? r : new CustomerCreateSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.CustomerSalesOrders/CreateSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CustomerCreateSalesOrderResponse.fromProto(resp)));\n }\n approveSalesOrder(r) {\n const request = r.toApiJson ? r : new CustomerApproveSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.CustomerSalesOrders/ApproveSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CustomerApproveSalesOrderResponse.fromProto(resp)));\n }\n updateAnswers(r) {\n const request = r.toApiJson ? r : new UpdateAnswersRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.CustomerSalesOrders/UpdateAnswers\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateAnswersResponse.fromProto(resp)));\n }\n getSalesOrder(r) {\n const request = r.toApiJson ? r : new GetSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.CustomerSalesOrders/GetSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSalesOrderResponse.fromProto(resp)));\n }\n listSalesOrder(r) {\n const request = r.toApiJson ? r : new ListCustomerSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.CustomerSalesOrders/ListSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSalesOrderResponse.fromProto(resp)));\n }\n getUsers(r) {\n const request = r.toApiJson ? r : new GetUsersRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.CustomerSalesOrders/GetUsers\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetUsersResponse.fromProto(resp)));\n }\n declineSalesOrder(r) {\n const request = r.toApiJson ? r : new DeclineSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.CustomerSalesOrders/DeclineSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => DeclineResponse.fromProto(resp)));\n }\n getConfig(r) {\n const request = r.toApiJson ? r : new CustomerGetConfigurationRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.CustomerSalesOrders/GetConfig\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetConfigurationResponse.fromProto(resp)));\n }\n initiateOrderExport(r) {\n const request = r.toApiJson ? r : new InitiateOrderExportRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.CustomerSalesOrders/InitiateOrderExport\", request.toApiJson(), this.apiOptions()).pipe(map(resp => InitiateOrderExportResponse.fromProto(resp)));\n }\n createForPartnerApproval(r) {\n const request = r.toApiJson ? r : new CreateForPartnerApprovalRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.CustomerSalesOrders/CreateForPartnerApproval\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateForPartnerApprovalResponse.fromProto(resp)));\n }\n createWithPaymentIntent(r) {\n const request = r.toApiJson ? r : new CreateWithPaymentIntentRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.CustomerSalesOrders/CreateWithPaymentIntent\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateWithPaymentIntentResponse.fromProto(resp)));\n }\n previewOrderActivations(r) {\n const request = r.toApiJson ? r : new PreviewOrderActivationsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.CustomerSalesOrders/PreviewOrderActivations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => PreviewOrderActivationsResponse.fromProto(resp)));\n }\n }\n CustomerSalesOrdersApiService.ɵfac = function CustomerSalesOrdersApiService_Factory(t) {\n return new (t || CustomerSalesOrdersApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n CustomerSalesOrdersApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: CustomerSalesOrdersApiService,\n factory: CustomerSalesOrdersApiService.ɵfac,\n providedIn: 'root'\n });\n return CustomerSalesOrdersApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet SalesOrdersApiService = /*#__PURE__*/(() => {\n class SalesOrdersApiService {\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 createSalesOrder(r) {\n const request = r.toApiJson ? r : new CreateSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/CreateSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateSalesOrderResponse.fromProto(resp)));\n }\n customerCreateSalesOrder(r) {\n const request = r.toApiJson ? r : new CustomerCreateSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/CustomerCreateSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CustomerCreateSalesOrderResponse.fromProto(resp)));\n }\n duplicateSalesOrder(r) {\n const request = r.toApiJson ? r : new DuplicateSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/DuplicateSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => DuplicateSalesOrderResponse.fromProto(resp)));\n }\n updateSalesOrderMarket(r) {\n const request = r.toApiJson ? r : new UpdateSalesOrderMarketRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/UpdateSalesOrderMarket\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getSalesOrder(r) {\n const request = r.toApiJson ? r : new GetSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/GetSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSalesOrderResponse.fromProto(resp)));\n }\n getMultiSalesOrder(r) {\n const request = r.toApiJson ? r : new GetMultiSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/GetMultiSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiSalesOrderResponse.fromProto(resp)));\n }\n getSalesOrderByIdempotencyKey(r) {\n const request = r.toApiJson ? r : new GetSalesOrderByIdempotencyKeyRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/GetSalesOrderByIdempotencyKey\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSalesOrderResponse.fromProto(resp)));\n }\n listSalesOrder(r) {\n const request = r.toApiJson ? r : new ListSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/ListSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSalesOrderResponse.fromProto(resp)));\n }\n approveSalesOrder(r) {\n const request = r.toApiJson ? r : new ApproveSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/ApproveSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ApproveSalesOrderResponse.fromProto(resp)));\n }\n customerApproveSalesOrder(r) {\n const request = r.toApiJson ? r : new CustomerApproveSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/CustomerApproveSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CustomerApproveSalesOrderResponse.fromProto(resp)));\n }\n declineSalesOrder(r) {\n const request = r.toApiJson ? r : new DeclineSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/DeclineSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => DeclineSalesOrderResponse.fromProto(resp)));\n }\n activateProducts(r) {\n const request = r.toApiJson ? r : new ActivateProductsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/ActivateProducts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ActivateProductsResponse.fromProto(resp)));\n }\n scheduleActivation(r) {\n const request = r.toApiJson ? r : new ScheduleActivationRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/ScheduleActivation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n archiveSalesOrder(r) {\n const request = r.toApiJson ? r : new ArchiveSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/ArchiveSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ArchiveSalesOrderResponse.fromProto(resp)));\n }\n deleteSalesOrder(r) {\n const request = r.toApiJson ? r : new DeleteSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/DeleteSalesOrder\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n checkSalesOrderExists(r) {\n const request = r.toApiJson ? r : new CheckSalesOrderExistsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/CheckSalesOrderExists\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CheckSalesOrderExistsResponse.fromProto(resp)));\n }\n sendForCustomerApproval(r) {\n const request = r.toApiJson ? r : new SendForCustomerApprovalRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/SendForCustomerApproval\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SendForCustomerApprovalResponse.fromProto(resp)));\n }\n sendExistingOrderToCustomerForApproval(r) {\n const request = r.toApiJson ? r : new SendExistingOrderToCustomerForApprovalRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/SendExistingOrderToCustomerForApproval\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getUsers(r) {\n const request = r.toApiJson ? r : new GetUsersRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/GetUsers\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetUsersResponse.fromProto(resp)));\n }\n getConfig(r) {\n const request = r.toApiJson ? r : new GetConfigRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/GetConfig\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetConfigResponse.fromProto(resp)));\n }\n updateConfig(r) {\n const request = r.toApiJson ? r : new UpdateConfigRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/UpdateConfig\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n deleteConfig(r) {\n const request = r.toApiJson ? r : new DeleteConfigRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/DeleteConfig\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateAnswers(r) {\n const request = r.toApiJson ? r : new UpdateAnswersRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/UpdateAnswers\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateAnswersResponse.fromProto(resp)));\n }\n updateTags(r) {\n const request = r.toApiJson ? r : new UpdateTagsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/UpdateTags\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateTagsResponse.fromProto(resp)));\n }\n updateSalesperson(r) {\n const request = r.toApiJson ? r : new UpdateSalespersonRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/UpdateSalesperson\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateSalespersonResponse.fromProto(resp)));\n }\n updateNotes(r) {\n const request = r.toApiJson ? r : new UpdateNotesRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/UpdateNotes\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateRequestedActivation(r) {\n const request = r.toApiJson ? r : new UpdateRequestedActivationRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/UpdateRequestedActivation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateContractDuration(r) {\n const request = r.toApiJson ? r : new UpdateContractDurationRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/UpdateContractDuration\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateCurrentRevenue(r) {\n const request = r.toApiJson ? r : new UpdateCurrentRevenueRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/UpdateCurrentRevenue\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateLineItems(r) {\n const request = r.toApiJson ? r : new UpdateLineItemsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/UpdateLineItems\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listTags(r) {\n const request = r.toApiJson ? r : new ListTagsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/ListTags\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListTagsResponse.fromProto(resp)));\n }\n createDraftSalesOrder(r) {\n const request = r.toApiJson ? r : new CreateDraftSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/CreateDraftSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateDraftSalesOrderResponse.fromProto(resp)));\n }\n submitDraftSalesOrder(r) {\n const request = r.toApiJson ? r : new SubmitDraftRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/SubmitDraftSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SubmitDraftResponse.fromProto(resp)));\n }\n submitDraftForCustomerApproval(r) {\n const request = r.toApiJson ? r : new SubmitDraftForApprovalRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/SubmitDraftForCustomerApproval\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SubmitDraftForApprovalResponse.fromProto(resp)));\n }\n ignoreProductActivationError(r) {\n const request = r.toApiJson ? r : new IgnoreProductActivationErrorRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/IgnoreProductActivationError\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n ignoreAllProductActivationErrors(r) {\n const request = r.toApiJson ? r : new IgnoreAllProductActivationErrorsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/IgnoreAllProductActivationErrors\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n requestCancellation(r) {\n const request = r.toApiJson ? r : new RequestCancellationRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/RequestCancellation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n declineCancellation(r) {\n const request = r.toApiJson ? r : new DeclineCancellationRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/DeclineCancellation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n previewOrderActivations(r) {\n const request = r.toApiJson ? r : new PreviewOrderActivationsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/PreviewOrderActivations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => PreviewOrderActivationsResponse.fromProto(resp)));\n }\n approveCancellation(r) {\n const request = r.toApiJson ? r : new ApproveCancellationRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/ApproveCancellation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n convertToDraft(r) {\n const request = r.toApiJson ? r : new ConvertToDraftRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/ConvertToDraft\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getStatusCounts(r) {\n const request = r.toApiJson ? r : new GetStatusCountsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/GetStatusCounts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetStatusCountsResponse.fromProto(resp)));\n }\n createInvoice(r) {\n const request = r.toApiJson ? r : new CreateInvoiceRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/CreateInvoice\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateInvoiceResponse.fromProto(resp)));\n }\n createAndActivateOrder(r) {\n const request = r.toApiJson ? r : new CreateAndActivateOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/CreateAndActivateOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateAndActivateOrderResponse.fromProto(resp)));\n }\n updateCustomerNotes(r) {\n const request = r.toApiJson ? r : new UpdateCustomerNotesRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/UpdateCustomerNotes\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateAttachments(r) {\n const request = r.toApiJson ? r : new UpdateAttachmentsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/UpdateAttachments\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n leaseSalesOrderToAutomations(r) {\n const request = r.toApiJson ? r : new LeaseSalesOrderToAutomationsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/LeaseSalesOrderToAutomations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => LeaseSalesOrderToAutomationsResponse.fromProto(resp)));\n }\n createLeasedToAutomationsSalesOrder(r) {\n const request = r.toApiJson ? r : new CreateLeasedToAutomationsSalesOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/CreateLeasedToAutomationsSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateLeasedToAutomationsSalesOrderResponse.fromProto(resp)));\n }\n getOrderRecipientDetails(r) {\n const request = r.toApiJson ? r : new GetOrderRecipientDetailsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrders/GetOrderRecipientDetails\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetOrderRecipientDetailsResponse.fromProto(resp)));\n }\n }\n SalesOrdersApiService.ɵfac = function SalesOrdersApiService_Factory(t) {\n return new (t || SalesOrdersApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n SalesOrdersApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SalesOrdersApiService,\n factory: SalesOrdersApiService.ɵfac,\n providedIn: 'root'\n });\n return SalesOrdersApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet DeclinedReasonsApiService = /*#__PURE__*/(() => {\n class DeclinedReasonsApiService {\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 createReason(r) {\n const request = r.toApiJson ? r : new CreateReasonRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.DeclinedReasons/CreateReason\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateReasonResponse.fromProto(resp)));\n }\n updateReason(r) {\n const request = r.toApiJson ? r : new UpdateReasonRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.DeclinedReasons/UpdateReason\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateReasonResponse.fromProto(resp)));\n }\n archiveReason(r) {\n const request = r.toApiJson ? r : new ArchiveReasonRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.DeclinedReasons/ArchiveReason\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listReasons(r) {\n const request = r.toApiJson ? r : new ListReasonsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.DeclinedReasons/ListReasons\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListReasonsResponse.fromProto(resp)));\n }\n getReason(r) {\n const request = r.toApiJson ? r : new GetReasonRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.DeclinedReasons/GetReason\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetReasonResponse.fromProto(resp)));\n }\n }\n DeclinedReasonsApiService.ɵfac = function DeclinedReasonsApiService_Factory(t) {\n return new (t || DeclinedReasonsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n DeclinedReasonsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: DeclinedReasonsApiService,\n factory: DeclinedReasonsApiService.ɵfac,\n providedIn: 'root'\n });\n return DeclinedReasonsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet DocumentsApiService = /*#__PURE__*/(() => {\n class DocumentsApiService {\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 createDocument(r) {\n const request = r.toApiJson ? r : new CreateDocumentRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/CreateDocument\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateDocumentResponse.fromProto(resp)));\n }\n updateDocument(r) {\n const request = r.toApiJson ? r : new UpdateDocumentRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/UpdateDocument\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getDocument(r) {\n const request = r.toApiJson ? r : new GetDocumentRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/GetDocument\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetDocumentResponse.fromProto(resp)));\n }\n getMultiDocuments(r) {\n const request = r.toApiJson ? r : new GetMultiDocumentsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/GetMultiDocuments\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiDocumentsResponse.fromProto(resp)));\n }\n listDocuments(r) {\n const request = r.toApiJson ? r : new ListDocumentsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/ListDocuments\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListDocumentsResponse.fromProto(resp)));\n }\n deleteDocument(r) {\n const request = r.toApiJson ? r : new DeleteDocumentRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/DeleteDocument\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getDocumentLineItems(r) {\n const request = r.toApiJson ? r : new GetDocumentLineItemsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/GetDocumentLineItems\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetDocumentLineItemsResponse.fromProto(resp)));\n }\n upsertDocumentLineItems(r) {\n const request = r.toApiJson ? r : new UpsertDocumentLineItemsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/UpsertDocumentLineItems\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n sendProposalRecipientEmail(r) {\n const request = r.toApiJson ? r : new SendProposalRecipientEmailRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/SendProposalRecipientEmail\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getProposalEmailPreview(r) {\n const request = r.toApiJson ? r : new GetProposalEmailPreviewRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/GetProposalEmailPreview\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetProposalEmailPreviewResponse.fromProto(resp)));\n }\n archiveDocument(r) {\n const request = r.toApiJson ? r : new ArchiveDocumentRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/ArchiveDocument\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n markDocumentAsViewed(r) {\n const request = r.toApiJson ? r : new MarkDocumentAsViewedRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/MarkDocumentAsViewed\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listDocumentEvents(r) {\n const request = r.toApiJson ? r : new ListDocumentEventsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/ListDocumentEvents\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListDocumentEventsResponse.fromProto(resp)));\n }\n sendDocumentForInternalReview(r) {\n const request = r.toApiJson ? r : new SendDocumentForInternalReviewRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/SendDocumentForInternalReview\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n markDocumentAsReviewed(r) {\n const request = r.toApiJson ? r : new MarkDocumentAsReviewedRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/MarkDocumentAsReviewed\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n unlockDocument(r) {\n const request = r.toApiJson ? r : new UnlockDocumentRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/UnlockDocument\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n unarchiveDocument(r) {\n const request = r.toApiJson ? r : new UnarchiveDocumentRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/UnarchiveDocument\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n searchDocuments(r) {\n const request = r.toApiJson ? r : new SearchDocumentsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/SearchDocuments\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SearchDocumentsResponse.fromProto(resp)));\n }\n generateDocumentPdf(r) {\n const request = r.toApiJson ? r : new GenerateDocumentPDFRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Documents/GenerateDocumentPDF\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n DocumentsApiService.ɵfac = function DocumentsApiService_Factory(t) {\n return new (t || DocumentsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n DocumentsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: DocumentsApiService,\n factory: DocumentsApiService.ɵfac,\n providedIn: 'root'\n });\n return DocumentsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet NotificationsApiService = /*#__PURE__*/(() => {\n class NotificationsApiService {\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 subscribe(r) {\n const request = r.toApiJson ? r : new SubscribeRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Notifications/Subscribe\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n unsubscribe(r) {\n const request = r.toApiJson ? r : new UnsubscribeRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Notifications/Unsubscribe\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getSubscribedLocations(r) {\n const request = r.toApiJson ? r : new GetSubscribedLocationsRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Notifications/GetSubscribedLocations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSubscribedLocationsResponse.fromProto(resp)));\n }\n getSubscribers(r) {\n const request = r.toApiJson ? r : new GetSubscribersRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Notifications/GetSubscribers\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSubscribersResponse.fromProto(resp)));\n }\n }\n NotificationsApiService.ɵfac = function NotificationsApiService_Factory(t) {\n return new (t || NotificationsApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n NotificationsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: NotificationsApiService,\n factory: NotificationsApiService.ɵfac,\n providedIn: 'root'\n });\n return NotificationsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet PublicApiService = /*#__PURE__*/(() => {\n class PublicApiService {\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 approveSalesOrder(r) {\n const request = r.toApiJson ? r : new ApproveRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Public/ApproveSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ApproveResponse.fromProto(resp)));\n }\n declineSalesOrder(r) {\n const request = r.toApiJson ? r : new DeclineRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Public/DeclineSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => DeclineResponse.fromProto(resp)));\n }\n getSalesOrder(r) {\n const request = r.toApiJson ? r : new GetRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Public/GetSalesOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetResponse.fromProto(resp)));\n }\n updateOrderFormAnswers(r) {\n const request = r.toApiJson ? r : new UpdateOrderFormAnswersRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Public/UpdateOrderFormAnswers\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateOrderFormAnswersResponse.fromProto(resp)));\n }\n getConfig(r) {\n const request = r.toApiJson ? r : new GetConfigurationRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Public/GetConfig\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetConfigurationResponse.fromProto(resp)));\n }\n getOrderRecipientSession(r) {\n const request = r.toApiJson ? r : new GetOrderRecipientSessionRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.Public/GetOrderRecipientSession\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetOrderRecipientSessionResponse.fromProto(resp)));\n }\n }\n PublicApiService.ɵfac = function PublicApiService_Factory(t) {\n return new (t || PublicApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n PublicApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PublicApiService,\n factory: PublicApiService.ɵfac,\n providedIn: 'root'\n });\n return PublicApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet SalesOrdersAuxiliaryFieldDataApiService = /*#__PURE__*/(() => {\n class SalesOrdersAuxiliaryFieldDataApiService {\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 listAuxiliaryData(r) {\n const request = r.toApiJson ? r : new ListSalesOderAuxiliaryDataRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrdersAuxiliaryFieldData/ListAuxiliaryData\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAuxiliaryDataResponse.fromProto(resp)));\n }\n upsertAuxiliaryData(r) {\n const request = r.toApiJson ? r : new UpsertSalesOrderAuxiliaryDataRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrdersAuxiliaryFieldData/UpsertAuxiliaryData\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n SalesOrdersAuxiliaryFieldDataApiService.ɵfac = function SalesOrdersAuxiliaryFieldDataApiService_Factory(t) {\n return new (t || SalesOrdersAuxiliaryFieldDataApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n SalesOrdersAuxiliaryFieldDataApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SalesOrdersAuxiliaryFieldDataApiService,\n factory: SalesOrdersAuxiliaryFieldDataApiService.ɵfac,\n providedIn: 'root'\n });\n return SalesOrdersAuxiliaryFieldDataApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet SalesOrdersAuxiliaryFieldSchemaApiService = /*#__PURE__*/(() => {\n class SalesOrdersAuxiliaryFieldSchemaApiService {\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 createAuxiliaryDataFieldSchema(r) {\n const request = r.toApiJson ? r : new CreateAuxiliaryDataFieldSchemaRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrdersAuxiliaryFieldSchema/CreateAuxiliaryDataFieldSchema\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getAuxiliaryDataFieldSchema(r) {\n const request = r.toApiJson ? r : new GetAuxiliaryDataFieldSchemaRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrdersAuxiliaryFieldSchema/GetAuxiliaryDataFieldSchema\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAuxiliaryDataFieldSchemaResponse.fromProto(resp)));\n }\n listAuxiliaryDataFieldSchema(r) {\n const request = r.toApiJson ? r : new ListAuxiliaryDataFieldSchemaRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrdersAuxiliaryFieldSchema/ListAuxiliaryDataFieldSchema\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListAuxiliaryDataFieldSchemaResponse.fromProto(resp)));\n }\n updateAuxiliaryDataFieldSchema(r) {\n const request = r.toApiJson ? r : new UpdateAuxiliaryDataFieldSchemaRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrdersAuxiliaryFieldSchema/UpdateAuxiliaryDataFieldSchema\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n archiveAuxiliaryDataFieldSchema(r) {\n const request = r.toApiJson ? r : new ArchiveAuxiliaryDataFieldSchemaRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrdersAuxiliaryFieldSchema/ArchiveAuxiliaryDataFieldSchema\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n unarchiveAuxiliaryDataFieldSchema(r) {\n const request = r.toApiJson ? r : new UnarchiveAuxiliaryDataFieldSchemaRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrdersAuxiliaryFieldSchema/UnarchiveAuxiliaryDataFieldSchema\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getMultiAuxiliaryDataFieldSchema(r) {\n const request = r.toApiJson ? r : new GetMultiAuxiliaryDataFieldSchemaRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrdersAuxiliaryFieldSchema/GetMultiAuxiliaryDataFieldSchema\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiAuxiliaryDataFieldSchemaResponse.fromProto(resp)));\n }\n }\n SalesOrdersAuxiliaryFieldSchemaApiService.ɵfac = function SalesOrdersAuxiliaryFieldSchemaApiService_Factory(t) {\n return new (t || SalesOrdersAuxiliaryFieldSchemaApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n SalesOrdersAuxiliaryFieldSchemaApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SalesOrdersAuxiliaryFieldSchemaApiService,\n factory: SalesOrdersAuxiliaryFieldSchemaApiService.ɵfac,\n providedIn: 'root'\n });\n return SalesOrdersAuxiliaryFieldSchemaApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet SalesOrdersDevelopmentApiService = /*#__PURE__*/(() => {\n class SalesOrdersDevelopmentApiService {\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 createArchivedOrder(r) {\n const request = r.toApiJson ? r : new CreateArchivedOrderRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.SalesOrdersDevelopment/CreateArchivedOrder\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateArchivedOrderResponse.fromProto(resp)));\n }\n }\n SalesOrdersDevelopmentApiService.ɵfac = function SalesOrdersDevelopmentApiService_Factory(t) {\n return new (t || SalesOrdersDevelopmentApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n SalesOrdersDevelopmentApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SalesOrdersDevelopmentApiService,\n factory: SalesOrdersDevelopmentApiService.ɵfac,\n providedIn: 'root'\n });\n return SalesOrdersDevelopmentApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet VendorOrdersApiService = /*#__PURE__*/(() => {\n class VendorOrdersApiService {\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 listOrders(r) {\n const request = r.toApiJson ? r : new ListOrdersRequest(r);\n return this.http.post(this._host + \"/salesorders.v1.VendorOrders/ListOrders\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListOrdersResponse.fromProto(resp)));\n }\n }\n VendorOrdersApiService.ɵfac = function VendorOrdersApiService_Factory(t) {\n return new (t || VendorOrdersApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n VendorOrdersApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: VendorOrdersApiService,\n factory: VendorOrdersApiService.ɵfac,\n providedIn: 'root'\n });\n return VendorOrdersApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Index.\n// *********************************\n\nfunction fillOutEmptyValues(order) {\n if (!order.statusHistory) {\n order.statusHistory = [];\n }\n if (!order.lineItems) {\n order.lineItems = [];\n }\n if (!order.origin) {\n order.origin = 0;\n }\n return order;\n}\nfunction getOfferExpiry(order) {\n if (order.status !== Status.SUBMITTED_FOR_CUSTOMER_APPROVAL) {\n return null;\n }\n return order.offerExpiry;\n}\nclass PagedResponse {\n constructor(results, nextCursor, hasMore, totalResults) {\n this.results = results;\n this.nextCursor = nextCursor;\n this.hasMore = hasMore;\n this.totalResults = totalResults;\n }\n}\nlet SalesOrdersService = /*#__PURE__*/(() => {\n class SalesOrdersService {\n constructor(api, hostService) {\n this.api = api;\n this.hostService = hostService;\n }\n /*\n NOTE:\n @deprecated: createOrder instead\n */\n create(salespersonId, partnerId, businessId, marketId, opportunityIds, requestedActivation, notes, packages, products, customFields, commonFields, origin = Origin.SSC, attachments, extraFields, duration, quoteId, tags) {\n const req = new CreateSalesOrderRequest({\n salespersonId: salespersonId,\n partnerId: partnerId,\n businessId: businessId,\n marketId: marketId,\n opportunityIds: opportunityIds,\n requestedActivation: requestedActivation,\n notes: notes,\n packages: packages,\n products: products,\n customFields: customFields,\n commonFields: commonFields,\n origin: origin,\n attachments: attachments,\n extraFields: extraFields,\n contractDuration: duration,\n quoteId: quoteId,\n tags: tags // NOTE: this method is deprecated, see method docstring\n });\n return this.api.createSalesOrder(req).pipe(map(resp => resp.orderId));\n }\n createOrder(o) {\n const req = new CreateSalesOrderRequest({\n salespersonId: o.salespersonId,\n partnerId: o.partnerId,\n businessId: o.businessId,\n marketId: o.marketId,\n opportunityIds: o.opportunityIds,\n requestedActivation: o.requestedActivation,\n notes: o.notes,\n packages: o.packages,\n products: o.products,\n customFields: o.customFields,\n commonFields: o.commonFields,\n origin: o.origin,\n attachments: o.attachments,\n extraFields: o.extraFields,\n lineItems: ensureLineItemValuesAreOneOf$1(o.lineItems),\n contractDuration: o.contractDuration,\n quoteId: o.quoteId,\n tags: o.tags,\n customerNotes: o.customerNotes\n });\n return this.api.createSalesOrder(req).pipe(map(resp => resp.orderId));\n }\n get(orderId, businessId) {\n const req = new GetSalesOrderRequest({\n businessId: businessId,\n orderId: orderId\n });\n return this.api.getSalesOrder(req).pipe(map(resp => fillOutEmptyValues(resp.order)));\n }\n duplicate(orderId, businessId) {\n const req = new DuplicateSalesOrderRequest({\n businessId: businessId,\n orderId: orderId\n });\n return this.api.duplicateSalesOrder(req).pipe(map(resp => resp.orderId));\n }\n list(partnerId, filters, sortOption, cursor, pageSize) {\n const req = new ListSalesOrderRequest({\n partnerId: partnerId,\n filters: filters,\n sortOption: sortOption,\n cursor: cursor,\n pageSize: pageSize\n });\n return this.api.listSalesOrder(req).pipe(map(resp => {\n const results = resp.totalResults || 0;\n return new PagedResponse(resp.orders, resp.nextCursor, resp.hasMore, results);\n }));\n }\n approve(businessId, orderId) {\n const req = new ApproveSalesOrderRequest({\n businessId: businessId,\n orderId: orderId\n });\n return this.api.approveSalesOrder(req).pipe(map(resp => resp.order));\n }\n decline(businessId, orderId, declinedReason, declinedReasonIds) {\n const req = new DeclineSalesOrderRequest({\n businessId: businessId,\n orderId: orderId,\n declinedReason: declinedReason,\n declinedReasonIds: declinedReasonIds\n });\n return this.api.declineSalesOrder(req).pipe(map(resp => resp.order));\n }\n archive(businessId, orderId) {\n const req = new ArchiveSalesOrderRequest({\n businessId: businessId,\n orderId: orderId\n });\n return this.api.archiveSalesOrder(req).pipe(map(resp => resp.order));\n }\n activate(orderId, businessId, customFields, commonFields, extraFields) {\n const req = {\n orderId: orderId,\n businessId: businessId,\n customFields: customFields,\n commonFields: commonFields,\n extraFields: extraFields\n };\n return this.api.activateProducts(req).pipe(map(resp => resp.order));\n }\n check(partnerId, businessId, productId, editionId, statuses) {\n const req = new CheckSalesOrderExistsRequest({\n partnerId: partnerId,\n businessId: businessId,\n productId: productId,\n productEditionId: editionId,\n statuses: statuses || []\n });\n return this.api.checkSalesOrderExists(req).pipe(map(resp => resp.exists));\n }\n getConfig(partnerId, marketId) {\n return this.api.getConfig({\n partnerId: partnerId,\n marketId: marketId\n }).pipe(map(resp => resp.config));\n }\n updateConfig(config) {\n return this.api.updateConfig({\n config: config,\n fieldMask: buildFieldMask(config)\n }).pipe(map(() => true));\n }\n deleteConfig(partnerId, marketId) {\n return this.api.deleteConfig({\n partnerId,\n marketId\n }).pipe(map(() => true));\n }\n createAndSendToCustomer(order, userID, offerExpiry) {\n order.lineItems = ensureLineItemValuesAreOneOf$1(order.lineItems);\n return this.api.sendForCustomerApproval({\n order: order,\n userId: userID,\n offerExpiry: offerExpiry\n }).pipe(map(resp => resp.orderId));\n }\n /*\n @deprecated: Use the CustomerSalesOrderService instead\n */\n customerCreate(order) {\n order.lineItems = ensureLineItemValuesAreOneOf$1(order.lineItems);\n return this.api.customerCreateSalesOrder({\n order: order\n }).pipe(map(resp => resp.orderId));\n }\n createDraft(order) {\n order.lineItems = ensureLineItemValuesAreOneOf$1(order.lineItems);\n return this.api.createDraftSalesOrder({\n order: order\n }).pipe(map(resp => resp.orderId));\n }\n /*\n @deprecated: Use the CustomerSalesOrderService instead\n */\n customerApproveSalesOrder(orderId, businessId, agreements) {\n return this.api.customerApproveSalesOrder({\n orderId: orderId,\n businessId: businessId,\n agreements: agreements\n }).pipe(map(resp => resp.order.orderId));\n }\n getUsers(orderId, businessId) {\n return this.api.getUsers({\n orderId: orderId,\n businessId: businessId\n }).pipe(map(resp => resp.users !== undefined ? resp.users : {}));\n }\n updateAnswers(orderId, businessId, customFields, commonFields, extraFields) {\n return this.api.updateAnswers({\n orderId: orderId,\n businessId: businessId,\n customFields: customFields,\n commonFields: commonFields,\n extraFields: extraFields\n }).pipe(map(resp => resp.order));\n }\n updateTags(orderId, businessId, tags) {\n return this.api.updateTags({\n orderId,\n businessId,\n tags\n }).pipe(map(resp => resp.order));\n }\n updateSalesperson(orderId, businessId, salespersonId) {\n return this.api.updateSalesperson({\n orderId,\n businessId,\n salespersonId\n }).pipe(map(resp => resp.order));\n }\n updateNotes(orderId, businessId, notes) {\n return this.api.updateNotes({\n orderId,\n businessId,\n notes\n }).pipe(map(() => true));\n }\n updateRequestedActivation(orderId, businessId, requestedActivation) {\n return this.api.updateRequestedActivation({\n orderId,\n businessId,\n requestedActivation\n }).pipe(map(() => true));\n }\n updateContractDuration(orderId, businessId, contractDuration) {\n return this.api.updateContractDuration({\n orderId,\n businessId,\n contractDuration\n }).pipe(map(() => true));\n }\n updateCurrentRevenue(orderId, businessId, lineItems) {\n return this.api.updateCurrentRevenue({\n orderId,\n businessId,\n lineItems\n }).pipe(map(() => true));\n }\n updateLineItems(orderId, businessId, lineItems) {\n return this.api.updateLineItems({\n orderId,\n businessId,\n lineItems\n }).pipe(map(() => true));\n }\n listTags(partnerId, filters) {\n return this.api.listTags({\n partnerId: partnerId,\n filters: filters\n }).pipe(map(resp => resp));\n }\n submitDraftSalesOrder(orderId, businessId, customFields, commonFields, extraFields) {\n return this.api.submitDraftSalesOrder({\n orderId: orderId,\n businessId: businessId,\n customFields: customFields,\n commonFields: commonFields,\n extraFields: extraFields\n }).pipe(map(resp => resp.orderId));\n }\n submitDraftForCustomerApproval(orderId, businessId, userId, customFields, commonFields, extraFields, offerExpiry) {\n return this.api.submitDraftForCustomerApproval({\n orderId: orderId,\n businessId: businessId,\n userId: userId,\n customFields: customFields,\n commonFields: commonFields,\n extraFields: extraFields,\n offerExpiry: offerExpiry\n }).pipe(map(resp => resp.orderId));\n }\n sendExistingOrderToCustomerForApproval(orderId, businessId, userId, offerExpiry, orderIsSmbPayable) {\n return this.api.sendExistingOrderToCustomerForApproval({\n orderId: orderId,\n businessId: businessId,\n userId: userId,\n offerExpiry: offerExpiry,\n orderIsSmbPayable: orderIsSmbPayable\n }).pipe(map(() => true));\n }\n ignoreProductActivationError(orderId, businessId, productActivationUniqueId) {\n return this.api.ignoreProductActivationError({\n businessId: businessId,\n orderId: orderId,\n productActivationUniqueId: productActivationUniqueId\n }).pipe(map(resp => true));\n }\n ignoreAllProductActivationErrors(orderId, businessId) {\n return this.api.ignoreAllProductActivationErrors({\n businessId: businessId,\n orderId: orderId\n }).pipe(map(resp => true));\n }\n requestCancellation(orderId, businessId, notes) {\n return this.api.requestCancellation({\n businessId: businessId,\n orderId: orderId,\n notes: notes\n }).pipe(map(resp => true));\n }\n approveCancellation(orderId, businessId) {\n return this.api.approveCancellation({\n businessId: businessId,\n orderId: orderId\n }).pipe(map(resp => true));\n }\n declineCancellation(orderId, businessId, notes) {\n return this.api.declineCancellation({\n businessId: businessId,\n orderId: orderId,\n notes: notes\n }).pipe(map(resp => true));\n }\n previewOrderActivations(orderId, businessId) {\n return this.api.previewOrderActivations({\n businessId,\n orderId\n }).pipe(map(resp => resp.productActivations));\n }\n scheduleActivation(orderId, businessId, customFields, commonFields, extraFields) {\n return this.api.scheduleActivation({\n businessId,\n orderId,\n customFields,\n commonFields,\n extraFields\n }).pipe(map(() => true));\n }\n convertToDraft(orderId, businessId) {\n return this.api.convertToDraft({\n businessId,\n orderId\n }).pipe(map(() => true));\n }\n getStatusCounts(partnerId, filters) {\n return this.api.getStatusCounts({\n partnerId: partnerId,\n filters: filters\n }).pipe(map(resp => resp.counts));\n }\n createInvoice(orderId, businessId) {\n return this.api.createInvoice({\n orderId: orderId,\n businessId: businessId\n }).pipe(map(resp => resp.invoiceId));\n }\n createAndActivateOrder(order) {\n order.lineItems = ensureLineItemValuesAreOneOf$1(order.lineItems);\n return this.api.createAndActivateOrder({\n order: order\n }).pipe(map(resp => resp.orderId));\n }\n updateCustomerNotes(orderId, businessId, customerNotes) {\n return this.api.updateCustomerNotes({\n orderId,\n businessId,\n customerNotes\n }).pipe(map(() => true));\n }\n updateAttachments(orderId, businessId, attachments) {\n return this.api.updateAttachments({\n orderId,\n businessId,\n attachments\n }).pipe(map(() => true));\n }\n getUploadFileUrl() {\n return `${this.hostService.hostWithScheme}/file/upload`;\n }\n leaseToAutomations(businessId, orderId, customFields, commonFields, extraFields, actionType, declinedReason, declinedReasonIds) {\n const leaseData = {\n actionType: actionType,\n declinedReason: declinedReason,\n declinedReasonIds: declinedReasonIds\n };\n const req = new LeaseSalesOrderToAutomationsRequest({\n businessId: businessId,\n orderId: orderId,\n customFields: customFields,\n commonFields: commonFields,\n extraFields: extraFields,\n leaseData: leaseData\n });\n return this.api.leaseSalesOrderToAutomations(req).pipe(map(resp => resp.order));\n }\n createLeasedToAutomationsSalesOrder(order) {\n order.lineItems = ensureLineItemValuesAreOneOf$1(order.lineItems);\n return this.api.createLeasedToAutomationsSalesOrder({\n order: order\n }).pipe(map(resp => resp.orderId));\n }\n getOrderRecipientDetails(orderToken) {\n return this.api.getOrderRecipientDetails({\n token: orderToken\n });\n }\n }\n SalesOrdersService.ɵfac = function SalesOrdersService_Factory(t) {\n return new (t || SalesOrdersService)(i0.ɵɵinject(SalesOrdersApiService), i0.ɵɵinject(HostService));\n };\n SalesOrdersService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SalesOrdersService,\n factory: SalesOrdersService.ɵfac,\n providedIn: 'root'\n });\n return SalesOrdersService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nfunction buildFieldMask(obj) {\n const fieldMaskPaths = [];\n for (const x in obj) {\n if (obj.hasOwnProperty(x) && obj[x] !== undefined) {\n fieldMaskPaths.push(x);\n }\n }\n return new FieldMask({\n paths: fieldMaskPaths\n });\n}\nfunction ensureLineItemValuesAreOneOf$1(lineItems) {\n return (lineItems || []).map(li => {\n if (!!li.appKey) {\n delete li.packageId;\n } else {\n delete li.appKey;\n }\n return li;\n });\n}\nlet CustomerSalesOrdersService = /*#__PURE__*/(() => {\n class CustomerSalesOrdersService {\n constructor(api) {\n this.api = api;\n }\n create(order) {\n order.lineItems = ensureLineItemValuesAreOneOf(order.lineItems);\n return this.api.createSalesOrder({\n order: order\n }).pipe(map(resp => resp.orderId));\n }\n createForPartnerApproval(order) {\n order.lineItems = ensureLineItemValuesAreOneOf(order.lineItems);\n return this.api.createForPartnerApproval({\n order\n }).pipe(map(resp => resp.orderId));\n }\n approveSalesOrder(orderId, businessId, agreements, paymentMethodToken) {\n return this.api.approveSalesOrder({\n orderId: orderId,\n businessId: businessId,\n agreements: agreements,\n paymentMethodToken\n }).pipe(map(resp => resp.order.orderId));\n }\n updateAnswers(orderId, businessId, customFields, commonFields, extraFields) {\n return this.api.updateAnswers({\n orderId,\n businessId,\n customFields,\n commonFields,\n extraFields\n }).pipe(map(resp => resp.order.orderId));\n }\n get(orderId, businessId) {\n return this.api.getSalesOrder({\n businessId: businessId,\n orderId: orderId\n }).pipe(map(resp => fillOutEmptyValues(resp.order)));\n }\n list(partnerId, filters, sortOption, cursor, pageSize) {\n const req = new ListCustomerSalesOrderRequest({\n partnerId: partnerId,\n filters: filters,\n sortOption: sortOption,\n cursor: cursor,\n pageSize: pageSize\n });\n return this.api.listSalesOrder(req).pipe(map(resp => {\n const results = resp.totalResults || 0;\n return new PagedResponse(resp.orders, resp.nextCursor, resp.hasMore, results);\n }));\n }\n getUsers(orderId, businessId) {\n return this.api.getUsers({\n orderId: orderId,\n businessId: businessId\n }).pipe(map(resp => resp.users !== undefined ? resp.users : {}));\n }\n initiateOrderExport(exportOrderRequest) {\n return this.api.initiateOrderExport(exportOrderRequest);\n }\n createWithPaymentIntent(order) {\n order.lineItems = ensureLineItemValuesAreOneOf(order.lineItems);\n return this.api.createWithPaymentIntent({\n order: order\n }).pipe(map(resp => resp.orderId));\n }\n declineSalesOrder(businessId, orderId, declinedReason) {\n const req = new DeclineSalesOrderRequest({\n businessId: businessId,\n orderId: orderId,\n declinedReason: declinedReason\n });\n return this.api.declineSalesOrder(req).pipe(map(resp => resp.order));\n }\n getConfig(businessId, orderId) {\n const req = new CustomerGetConfigurationRequest({\n businessId: businessId,\n orderId: orderId\n });\n return this.api.getConfig(req).pipe(map(resp => resp.configuration));\n }\n previewOrderActivations(orderId, businessId) {\n return this.api.previewOrderActivations({\n businessId,\n orderId\n }).pipe(map(resp => resp.productActivations));\n }\n }\n CustomerSalesOrdersService.ɵfac = function CustomerSalesOrdersService_Factory(t) {\n return new (t || CustomerSalesOrdersService)(i0.ɵɵinject(CustomerSalesOrdersApiService));\n };\n CustomerSalesOrdersService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: CustomerSalesOrdersService,\n factory: CustomerSalesOrdersService.ɵfac,\n providedIn: 'root'\n });\n return CustomerSalesOrdersService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nfunction ensureLineItemValuesAreOneOf(lineItems) {\n return (lineItems || []).map(li => {\n if (!!li.appKey) {\n delete li.packageId;\n } else {\n delete li.appKey;\n }\n return li;\n });\n}\nlet VendorOrdersService = /*#__PURE__*/(() => {\n class VendorOrdersService {\n constructor(api) {\n this.api = api;\n }\n list(partnerId, cursor, filters) {\n const request = new ListOrdersRequest({\n partnerId: partnerId,\n cursor: cursor\n });\n if (filters) {\n request.filters = filters;\n }\n return this.api.listOrders(request).pipe(map(resp => {\n return new PagedResponse(resp.orders, resp.nextCursor, resp.hasMore, resp.totalResults);\n }));\n }\n }\n VendorOrdersService.ɵfac = function VendorOrdersService_Factory(t) {\n return new (t || VendorOrdersService)(i0.ɵɵinject(VendorOrdersApiService));\n };\n VendorOrdersService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: VendorOrdersService,\n factory: VendorOrdersService.ɵfac,\n providedIn: 'root'\n });\n return VendorOrdersService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet SalesOrdersPublicService = /*#__PURE__*/(() => {\n class SalesOrdersPublicService {\n constructor(api) {\n this.api = api;\n }\n approveSalesOrder(orderId, agreements) {\n const req = new ApproveRequest({\n orderId: orderId,\n agreements: agreements\n });\n return this.api.approveSalesOrder(req).pipe(map(resp => resp.order.orderId));\n }\n get(orderId) {\n const req = new GetRequest({\n orderId: orderId\n });\n return this.api.getSalesOrder(req).pipe(map(resp => fillOutEmptyValues(resp.order)));\n }\n updateAnswers(orderId, customFields, commonFields, extraFields) {\n const req = new UpdateOrderFormAnswersRequest({\n orderId: orderId,\n customFields: customFields,\n commonFields: commonFields,\n extraFields: extraFields\n });\n return this.api.updateOrderFormAnswers(req).pipe(map(resp => resp.order.orderId));\n }\n decline(orderId, declinedReason) {\n const req = new DeclineRequest({\n orderId: orderId,\n declinedReason: declinedReason\n });\n return this.api.declineSalesOrder(req).pipe(map(resp => resp.order));\n }\n getConfig(orderId) {\n const req = new GetConfigurationRequest({\n orderId: orderId\n });\n return this.api.getConfig(req).pipe(map(resp => resp.configuration));\n }\n getOrderRecipientSession(token) {\n return this.api.getOrderRecipientSession(new GetOrderRecipientSessionRequest({\n token\n })).pipe(map(resp => resp.session));\n }\n }\n SalesOrdersPublicService.ɵfac = function SalesOrdersPublicService_Factory(t) {\n return new (t || SalesOrdersPublicService)(i0.ɵɵinject(PublicApiService));\n };\n SalesOrdersPublicService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SalesOrdersPublicService,\n factory: SalesOrdersPublicService.ɵfac,\n providedIn: 'root'\n });\n return SalesOrdersPublicService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet NotificationsService = /*#__PURE__*/(() => {\n class NotificationsService {\n constructor(api) {\n this.api = api;\n }\n subscribe(businessId, orderId, location) {\n return this.api.subscribe({\n businessId: businessId,\n orderId: orderId,\n location: location\n }).pipe(map(() => true));\n }\n unsubscribe(businessId, orderId, location) {\n return this.api.unsubscribe({\n businessId: businessId,\n orderId: orderId,\n location: location\n }).pipe(map(() => true));\n }\n getSubscribedLocations(businessId, orderId) {\n return this.api.getSubscribedLocations({\n businessId: businessId,\n orderId: orderId\n }).pipe(map(resp => resp.locations));\n }\n getSubscribers(businessId, orderId) {\n return this.api.getSubscribers({\n businessId: businessId,\n orderId: orderId\n }).pipe(map(resp => resp.subscribers));\n }\n }\n NotificationsService.ɵfac = function NotificationsService_Factory(t) {\n return new (t || NotificationsService)(i0.ɵɵinject(NotificationsApiService));\n };\n NotificationsService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: NotificationsService,\n factory: NotificationsService.ɵfac,\n providedIn: 'root'\n });\n return NotificationsService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nfunction declinedReasonFromApi(r) {\n const zeroDate = new Date('0001-01-01T00:00:00Z').valueOf();\n return {\n id: r.id || '',\n reason: r.reason || '',\n partnerId: r.partnerId || '',\n created: !!r.created && r.created.valueOf() !== zeroDate ? new Date(r.created) : null,\n updated: !!r.updated && r.updated.valueOf() !== zeroDate ? new Date(r.updated) : null,\n archived: !!r.archived && r.archived.valueOf() !== zeroDate ? new Date(r.archived) : null\n };\n}\nlet DeclinedReasonService = /*#__PURE__*/(() => {\n class DeclinedReasonService {\n constructor(apiService) {\n this.apiService = apiService;\n }\n create(partnerId, fields) {\n const request = new CreateReasonRequest({\n partnerId,\n reason: fields.reason\n });\n return this.apiService.createReason(request).pipe(map(resp => declinedReasonFromApi(resp.declinedReason)));\n }\n get(id) {\n const request = new GetReasonRequest({\n id\n });\n return this.apiService.getReason(request).pipe(map(resp => declinedReasonFromApi(resp.declinedReason)));\n }\n update(id, fields) {\n const request = new UpdateReasonRequest({\n id,\n reason: fields.reason\n });\n return this.apiService.updateReason(request).pipe(map(resp => declinedReasonFromApi(resp.declinedReason)));\n }\n archive(id) {\n const request = new ArchiveReasonRequest({\n id\n });\n return this.apiService.archiveReason(request);\n }\n list(partnerId, filters) {\n const req = new ListReasonsRequest({\n partnerId,\n filters\n });\n return this.apiService.listReasons(req).pipe(map(resp => (resp.declinedReasons || []).map(item => declinedReasonFromApi(item))));\n }\n }\n DeclinedReasonService.ɵfac = function DeclinedReasonService_Factory(t) {\n return new (t || DeclinedReasonService)(i0.ɵɵinject(DeclinedReasonsApiService));\n };\n DeclinedReasonService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: DeclinedReasonService,\n factory: DeclinedReasonService.ɵfac,\n providedIn: 'root'\n });\n return DeclinedReasonService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nconst CustomerApprovalEventSending = 'sending';\nconst CustomerApprovalEventProcessing = 'processing';\nconst CustomerApprovalEventDelivered = 'delivered';\nconst CustomerApprovalEventBounced = 'bounced';\nconst CustomerApprovalEventDropped = 'dropped';\nconst CustomerApprovalEventUnsubscribed = 'unsubscribed';\nconst CustomerApprovalEventDeferred = 'deferred';\nconst CustomerApprovalEventSpamReport = 'spam-report';\nconst CustomerApprovalEventOpened = 'opened';\nconst CustomerApprovalEventClicked = 'clicked';\nconst CustomerApprovalEventUpdatedAnswers = 'updated-answers';\nconst RequestCancellationEvent = 'cancellation-requested';\nconst DeclineCancellationEvent = 'cancellation-declined';\nconst UpdatedTagsEvent = 'updated-tags';\nconst UpdatedNotesEvent = 'updated-notes';\nconst UpdatedCustomerNotesEvent = 'updated-customer-notes';\nconst UpdatedRequestedActivationEvent = 'updated-requested-activation';\nconst UpdateContractDurationEvent = 'updated-contract-duration';\nconst UpdatedDraftEvent = 'updated-draft';\nconst UpdatedLineItemsEvent = 'updated-line-items';\nconst DeclinedEvent = 'order-declined';\nconst UpdatedSalespersonEvent = 'updated-salesperson';\nclass StatusHistoryEvent {\n constructor(id, name) {\n this.id = id;\n this.name = name;\n }\n}\nclass SubmittedForCustomerApprovalSendingMetadataData {}\nclass SubmittedForCustomerApprovalMetadata {\n constructor(userId, event) {\n this.userId = userId;\n this.event = event;\n }\n}\nclass SubmittedForCustomerApprovalSendingMetadata extends SubmittedForCustomerApprovalMetadata {\n constructor(userId, event, metadata) {\n super(userId, event);\n this.offerExpiry = metadata ? metadata.offerExpiry : undefined;\n }\n}\nclass UpdatedDraftMetadata {\n constructor(userId, event) {\n this.userId = userId;\n this.event = event;\n }\n}\n/*\n @deprecated: UpdatedLineItemsMetadata instead\n*/\nclass UpdatedPricingMetadata {\n constructor(userId, event) {\n this.userId = userId;\n this.event = event;\n }\n}\nclass UpdatedLineItemsMetadata {\n constructor(userId, event) {\n this.userId = userId;\n this.event = event;\n }\n}\nclass UpdatedTagsMetadata {\n constructor(userId, event, data) {\n this.userId = userId;\n this.event = event;\n this.tags = data.tags;\n }\n}\nclass UpdatedSalespersonMetadata {\n constructor(userId, event, data) {\n this.userId = userId;\n this.event = event;\n }\n}\nclass UpdatedRequestedActivationMetadata {\n constructor(userId, event, data) {\n this.userId = userId;\n this.event = event;\n this.previous = data.previous;\n this.current = data.current;\n }\n}\nclass UpdateContractDurationMetadata {\n constructor(userId, event, data) {\n this.userId = userId;\n this.event = event;\n this.previous = data.previous;\n this.current = data.current;\n }\n}\n/*\n @deprecated: NotesMetadata instead\n*/\nclass RequestCancellationMetadata {\n constructor(userId, event, data) {\n this.userId = userId;\n this.event = event;\n this.previous = data.previous;\n this.current = data.current;\n }\n}\nclass NotesMetadata {\n constructor(userId, event, data) {\n this.userId = userId;\n this.event = event;\n this.previous = data.previous;\n this.current = data.current;\n }\n}\nclass CustomerNotesMetadata extends NotesMetadata {\n constructor(userId, event, data) {\n super(userId, event, data);\n }\n}\nclass DeclinedOrderMetadata {\n constructor(userId, event, data) {\n this.userId = userId;\n this.event = event;\n this.previous = '';\n this.current = data.current;\n this.declinedReasons = data.declined_reasons || [];\n }\n}\nfunction customerApprovalEventFromKey(k) {\n switch (k) {\n case CustomerApprovalEventSending:\n return new StatusHistoryEvent(CustomerApprovalEventSending, 'Sending');\n case CustomerApprovalEventProcessing:\n return new StatusHistoryEvent(CustomerApprovalEventProcessing, 'Processing');\n case CustomerApprovalEventDelivered:\n return new StatusHistoryEvent(CustomerApprovalEventDelivered, 'Delivered');\n case CustomerApprovalEventBounced:\n return new StatusHistoryEvent(CustomerApprovalEventBounced, 'Bounced');\n case CustomerApprovalEventDropped:\n return new StatusHistoryEvent(CustomerApprovalEventDropped, 'Dropped');\n case CustomerApprovalEventUnsubscribed:\n return new StatusHistoryEvent(CustomerApprovalEventUnsubscribed, 'Unsubscribed');\n case CustomerApprovalEventDeferred:\n return new StatusHistoryEvent(CustomerApprovalEventDeferred, 'Deferred');\n case CustomerApprovalEventSpamReport:\n return new StatusHistoryEvent(CustomerApprovalEventSpamReport, 'Spam report');\n case CustomerApprovalEventOpened:\n return new StatusHistoryEvent(CustomerApprovalEventOpened, 'Email Opened');\n case CustomerApprovalEventClicked:\n return new StatusHistoryEvent(CustomerApprovalEventClicked, 'Email Clicked');\n case CustomerApprovalEventUpdatedAnswers:\n return new StatusHistoryEvent(CustomerApprovalEventUpdatedAnswers, 'Updated Answers');\n default:\n return new StatusHistoryEvent('', 'Unknown');\n }\n}\nfunction getMetadataFromStatusHistoryItem(h) {\n if (!h.metadata) {\n return null;\n }\n let metadata;\n try {\n metadata = JSON.parse(h.metadata);\n } catch {\n return null;\n }\n if (metadata.event === UpdatedTagsEvent) {\n const event = new StatusHistoryEvent(UpdatedTagsEvent, 'Updated Tags');\n return new UpdatedTagsMetadata(metadata.user_id, event, metadata.data);\n }\n if (metadata.event === UpdatedSalespersonEvent) {\n const event = new StatusHistoryEvent(UpdatedSalespersonEvent, 'Updated Salesperson');\n return new UpdatedSalespersonMetadata(metadata.user_id, event, metadata.data);\n }\n if (metadata.event === UpdatedRequestedActivationEvent) {\n const event = new StatusHistoryEvent(UpdatedRequestedActivationEvent, 'Updated Contract Start');\n return new UpdatedRequestedActivationMetadata(metadata.user_id, event, metadata.data);\n }\n if (metadata.event === UpdateContractDurationEvent) {\n const event = new StatusHistoryEvent(UpdateContractDurationEvent, 'Updated Contract Length');\n return new UpdateContractDurationMetadata(metadata.user_id, event, metadata.data);\n }\n if (metadata.event === RequestCancellationEvent) {\n const event = new StatusHistoryEvent(RequestCancellationEvent, 'Cancellation Requested');\n return new NotesMetadata(metadata.user_id, event, metadata.data);\n }\n if (metadata.event === DeclineCancellationEvent) {\n const event = new StatusHistoryEvent(DeclineCancellationEvent, 'Cancellation Declined');\n return new NotesMetadata(metadata.user_id, event, metadata.data);\n }\n if (metadata.event === UpdatedNotesEvent) {\n const event = new StatusHistoryEvent(UpdatedNotesEvent, 'Updated Admin Notes');\n return new NotesMetadata(metadata.user_id, event, metadata.data);\n }\n if (metadata.event === UpdatedCustomerNotesEvent) {\n const event = new StatusHistoryEvent(UpdatedCustomerNotesEvent, 'Updated Customer Notes');\n return new CustomerNotesMetadata(metadata.user_id, event, metadata.data);\n }\n if (metadata.event === UpdatedDraftEvent) {\n const event = new StatusHistoryEvent(UpdatedDraftEvent, 'Updated Draft');\n return new UpdatedDraftMetadata(metadata.user_id, event);\n }\n if (metadata.event === UpdatedLineItemsEvent) {\n const event = new StatusHistoryEvent(UpdatedLineItemsEvent, 'Updated Contents');\n return new UpdatedLineItemsMetadata(metadata.user_id, event);\n }\n if (metadata.event === DeclinedEvent) {\n const event = new StatusHistoryEvent(DeclinedEvent, 'Declined');\n return new DeclinedOrderMetadata(metadata.user_id, event, metadata.data);\n }\n if (h.status !== Status.SUBMITTED_FOR_CUSTOMER_APPROVAL) {\n return null;\n }\n if (metadata.event === CustomerApprovalEventSending) {\n const event = customerApprovalEventFromKey(metadata.event);\n return new SubmittedForCustomerApprovalSendingMetadata(metadata.user_id, event, metadata.data);\n }\n return new SubmittedForCustomerApprovalMetadata(metadata.user_id, customerApprovalEventFromKey(metadata.event));\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ActivateProductsResponse, ActivationStatus, AddonActivation, AddonKey, ArchiveDocumentRequest, Attachment, AuxiliaryDataFieldType, BillingPeriod, CommonField, Content, ContentType, Cost, CreateDocumentRequest, CreateDocumentResponse, CreateSalesOrderRequest, Currency, CustomField, CustomPriceMapping, CustomerApprovalEventBounced, CustomerApprovalEventClicked, CustomerApprovalEventDeferred, CustomerApprovalEventDelivered, CustomerApprovalEventDropped, CustomerApprovalEventOpened, CustomerApprovalEventProcessing, CustomerApprovalEventSending, CustomerApprovalEventSpamReport, CustomerApprovalEventUnsubscribed, CustomerApprovalEventUpdatedAnswers, CustomerNotesMetadata, CustomerSalesOrdersService, DeclineCancellationEvent, DeclinedOrderMetadata, DeclinedReasonService, DeleteDocumentRequest, Document, DocumentEmailRecipient, DocumentEvent, DocumentEventContext, DocumentEventContextApprovedByRecipient, DocumentEventContextCommentFromInternalUser, DocumentEventContextFeedbackFromRecipient, DocumentEventContextReviewedByInternalUser, DocumentEventContextSendForInternalReview, DocumentEventContextSentByEmail, DocumentEventContextUnlockDocument, DocumentEventContextViewedByRecipient, DocumentEventType, DocumentShareType, DocumentStatus, DocumentType, DocumentsApiService, DropdownOption, DurationPeriod, Field, FieldType, Format, FulfillmentOrderStatus, GenerateDocumentPDFRequest, GetDocumentLineItemsRequest, GetDocumentLineItemsResponse, GetDocumentRequest, GetDocumentResponse, GetMultiDocumentsRequest, GetMultiDocumentsResponse, GetProposalEmailPreviewRequest, GetProposalEmailPreviewResponse, GetStatusCountsResponse, InitiateOrderExportRequest, InitiateOrderExportRequestDataFormatOption, InitiateOrderExportRequestFilters, InitiateOrderExportRequestSortDirection, InitiateOrderExportRequestSortField, InitiateOrderExportRequestSortOption, LineItem, LineItemAppKey, ListAuxiliaryDataResponse, ListCustomerSalesOrderRequestDateRangeFilter, ListCustomerSalesOrderRequestFilters, ListCustomerSalesOrderRequestSortDirection, ListCustomerSalesOrderRequestSortField, ListCustomerSalesOrderRequestSortOption, ListDocumentEventsRequest, ListDocumentEventsRequestFilters, ListDocumentEventsResponse, ListDocumentsRequest, ListDocumentsRequestFilters, ListDocumentsResponse, ListOrdersRequestFilters, ListSalesOrderRequestDateRangeFilter, ListSalesOrderRequestFilters, ListSalesOrderRequestSortDirection, ListSalesOrderRequestSortField, ListSalesOrderRequestSortOption, ListTagsResponse, MarkDocumentAsReviewedRequest, MarkDocumentAsViewedRequest, NotesMetadata, NotificationsService, Order, OrganizationType, Orientation, Origin, Package, PagedResponse, ProductActivation, ProposalEmailDetails, ProposalEmailMessage, Recipient, RequestCancellationEvent, RequestCancellationMetadata, Revenue, RevenueComponent, RevenuePeriod, SalesOrderAuxiliaryDataObjectID, SalesOrdersAuxiliaryFieldDataApiService, SalesOrdersAuxiliaryFieldSchemaApiService, SalesOrdersPublicService, SalesOrdersService, SearchDocumentsRequest, SearchDocumentsRequestFilters, SearchDocumentsResponse, SendDocumentForInternalReviewRequest, SendProposalRecipientEmailRequest, SentDocumentEmail, Status, StatusHistoryItem, SubmittedForCustomerApprovalMetadata, SubmittedForCustomerApprovalSendingMetadata, SubscriptionLocation, UnarchiveDocumentRequest, UnlockDocumentRequest, UpdateContractDurationEvent, UpdateContractDurationMetadata, UpdateDocumentRequest, UpdatedCustomerNotesEvent, UpdatedDraftEvent, UpdatedLineItemsEvent, UpdatedLineItemsMetadata, UpdatedNotesEvent, UpdatedPricingMetadata, UpdatedRequestedActivationEvent, UpdatedRequestedActivationMetadata, UpdatedSalespersonEvent, UpdatedSalespersonMetadata, UpdatedTagsEvent, UpdatedTagsMetadata, UpsertDocumentLineItemsRequest, VendorOrder, VendorOrdersService, enumStringToValue, getMetadataFromStatusHistoryItem, getOfferExpiry };\n"],"mappings":"wLAuPA,SAASA,GAAoBC,EAASC,EAAO,CAC3C,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CA6SA,SAASC,EAAoBF,EAASC,EAAO,CAC3C,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CA2jDA,SAASE,GAAoBH,EAASC,EAAO,CAC3C,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CAkHA,SAASG,GAAoBJ,EAASC,EAAO,CAC3C,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CAspBA,SAASI,EAAoBL,EAASC,EAAO,CAC3C,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CAy5GA,SAASK,EAAkBN,EAASC,EAAO,CACzC,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CAgzEA,SAASM,GAAmBC,EAAO,CACjC,OAAKA,EAAM,gBACTA,EAAM,cAAgB,CAAC,GAEpBA,EAAM,YACTA,EAAM,UAAY,CAAC,GAEhBA,EAAM,SACTA,EAAM,OAAS,GAEVA,CACT,CACA,SAASC,GAAeD,EAAO,CAC7B,OAAIA,EAAM,SAAWE,EAAO,gCACnB,KAEFF,EAAM,WACf,CA+ZA,SAASG,GAAeC,EAAK,CAC3B,IAAMC,EAAiB,CAAC,EACxB,QAAWC,KAAKF,EACVA,EAAI,eAAeE,CAAC,GAAKF,EAAIE,CAAC,IAAM,QAC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EAAK,kBAAoB,CAAC,CACnD,CACF","names":["enumStringToValue$d","enumRef","value","enumStringToValue$b","enumStringToValue$7","enumStringToValue$4","enumStringToValue$1","enumStringToValue","fillOutEmptyValues","order","getOfferExpiry","Status","buildFieldMask","obj","fieldMaskPaths","x","FieldMask","ensureLineItemValuesAreOneOf$1","lineItems","li","ensureLineItemValuesAreOneOf","declinedReasonFromApi","r","zeroDate","customerApprovalEventFromKey","k","CustomerApprovalEventSending","StatusHistoryEvent","CustomerApprovalEventProcessing","CustomerApprovalEventDelivered","CustomerApprovalEventBounced","CustomerApprovalEventDropped","CustomerApprovalEventUnsubscribed","CustomerApprovalEventDeferred","CustomerApprovalEventSpamReport","CustomerApprovalEventOpened","CustomerApprovalEventClicked","CustomerApprovalEventUpdatedAnswers","getMetadataFromStatusHistoryItem","h","metadata","UpdatedTagsEvent","event","UpdatedTagsMetadata","UpdatedSalespersonEvent","UpdatedSalespersonMetadata","UpdatedRequestedActivationEvent","UpdatedRequestedActivationMetadata","UpdateContractDurationEvent","UpdateContractDurationMetadata","RequestCancellationEvent","NotesMetadata","DeclineCancellationEvent","UpdatedNotesEvent","UpdatedCustomerNotesEvent","CustomerNotesMetadata","UpdatedDraftEvent","UpdatedDraftMetadata","UpdatedLineItemsEvent","UpdatedLineItemsMetadata","DeclinedEvent","DeclinedOrderMetadata","SubmittedForCustomerApprovalSendingMetadata","SubmittedForCustomerApprovalMetadata","Currency","DurationPeriod","RevenuePeriod","ActivationStatus","FieldType","FulfillmentOrderStatus","Origin","SubscriptionLocation","AuxiliaryDataFieldType","InitiateOrderExportRequestDataFormatOption","ListSalesOrderRequestSortDirection","ListCustomerSalesOrderRequestSortDirection","InitiateOrderExportRequestSortDirection","ListCustomerSalesOrderRequestSortField","InitiateOrderExportRequestSortField","ListSalesOrderRequestSortField","ContentType","DocumentEventType","DocumentShareType","DocumentStatus","DocumentType","OrganizationType","Orientation","LineItemAppKey","BillingPeriod","Cost","CustomPriceMapping","Duration","LineItem","Revenue","RevenueComponent","TaxOptions","AddonActivation","AddonKey","Agreement","Attachment","Business","CommonField","CustomField","DeclinedReason","Field","GetOrderRecipientDetailsRequest","GetOrderRecipientDetailsResponse","Order","Package","Product","ProductActivation","Salesperson","StatusHistoryItem","User","OrderFormFieldOption","OrderFormField","Config","CustomSalespersonAction","CustomerOptions","EmailContent","EmailCustomContent","EmailOptions","SalespersonOptions","TermsOfService","TermsOfServiceOptions","WorkflowStepOptions","ApproveRequest","ApproveResponse","DeclineRequest","DeclineResponse","GetConfigurationRequest","GetConfigurationResponse","GetOrderRecipientSessionRequest","GetOrderRecipientSessionResponse","GetRequest","GetResponse","UpdateOrderFormAnswersRequest","UpdateOrderFormAnswersResponse","Subscriber","PagedRequestOptions","PagedResponseMetadata","ArchiveAuxiliaryDataFieldSchemaRequest","AuxiliaryDataFieldSchema","CreateAuxiliaryDataFieldSchemaRequest","DropdownOption","FieldDataUpsertOperation","FieldSchemaIdentifier","ListAuxiliaryDataFieldSchemaRequestFilters","GetAuxiliaryDataFieldSchemaRequest","GetAuxiliaryDataFieldSchemaResponse","GetMultiAuxiliaryDataFieldSchemaRequest","GetMultiAuxiliaryDataFieldSchemaResponse","ListAuxiliaryDataFieldSchemaRequest","ListAuxiliaryDataFieldSchemaResponse","ListAuxiliaryDataResponse","UnarchiveAuxiliaryDataFieldSchemaRequest","UpdateAuxiliaryDataFieldSchemaRequest","ListSalesOderAuxiliaryDataRequest","SalesOrderAuxiliaryDataObjectID","UpsertSalesOrderAuxiliaryDataRequest","ActivateProductsRequest","ActivateProductsResponse","ApproveCancellationRequest","ApproveSalesOrderRequest","ApproveSalesOrderResponse","ArchiveReasonRequest","ArchiveSalesOrderRequest","ArchiveSalesOrderResponse","CheckSalesOrderExistsRequest","CheckSalesOrderExistsResponse","ConvertToDraftRequest","CreateAndActivateOrderRequest","CreateAndActivateOrderResponse","CreateDraftSalesOrderRequest","CreateDraftSalesOrderResponse","CreateForPartnerApprovalRequest","CreateForPartnerApprovalResponse","CreateInvoiceRequest","CreateInvoiceResponse","CreateLeasedToAutomationsSalesOrderRequest","CreateLeasedToAutomationsSalesOrderResponse","CreateReasonRequest","CreateReasonResponse","CreateSalesOrderRequest","CreateSalesOrderResponse","CreateWithPaymentIntentRequest","CreateWithPaymentIntentResponse","CustomerApproveSalesOrderRequest","CustomerApproveSalesOrderResponse","CustomerCreateSalesOrderRequest","CustomerCreateSalesOrderResponse","CustomerGetConfigurationRequest","ListSalesOrderRequestDateRangeFilter","ListCustomerSalesOrderRequestDateRangeFilter","InitiateOrderExportRequestDateRangeFilter","DeclineCancellationRequest","DeclineSalesOrderRequest","DeclineSalesOrderResponse","DeleteConfigRequest","DeleteSalesOrderRequest","DuplicateSalesOrderRequest","DuplicateSalesOrderResponse","GetStatusCountsRequestFilters","ListSalesOrderRequestFilters","InitiateOrderExportRequestFilters","ListCustomerSalesOrderRequestFilters","ListReasonsRequestFilters","ListTagsRequestFilters","GetConfigRequest","GetConfigResponse","GetMultiSalesOrderRequest","GetMultiSalesOrderResponse","GetReasonRequest","GetReasonResponse","GetSalesOrderByIdempotencyKeyRequest","GetSalesOrderRequest","GetSalesOrderResponse","GetStatusCountsRequest","GetStatusCountsResponse","GetSubscribedLocationsRequest","GetSubscribedLocationsResponse","GetSubscribersRequest","GetSubscribersResponse","GetUsersRequest","GetUsersResponse","IgnoreAllProductActivationErrorsRequest","IgnoreProductActivationErrorRequest","InitiateOrderExportRequest","InitiateOrderExportResponse","LeaseData","LeaseSalesOrderToAutomationsRequest","LeaseSalesOrderToAutomationsResponse","ListCustomerSalesOrderRequest","ListReasonsRequest","ListReasonsResponse","ListSalesOrderRequest","ListSalesOrderResponse","ListTagsRequest","ListTagsResponse","PreviewOrderActivationsRequest","PreviewOrderActivationsResponse","RequestCancellationRequest","ScheduleActivationRequest","SendExistingOrderToCustomerForApprovalRequest","SendForCustomerApprovalRequest","SendForCustomerApprovalResponse","ListSalesOrderRequestSortOption","ListCustomerSalesOrderRequestSortOption","InitiateOrderExportRequestSortOption","SubmitDraftForApprovalRequest","SubmitDraftForApprovalResponse","SubmitDraftRequest","SubmitDraftResponse","SubscribeRequest","UnsubscribeRequest","UpdateAnswersRequest","UpdateAnswersResponse","UpdateAttachmentsRequest","UpdateConfigRequest","UpdateContractDurationRequest","UpdateCurrentRevenueRequest","UpdateCustomerNotesRequest","UpdateLineItemsRequest","UpdateNotesRequest","UpdateReasonRequest","UpdateReasonResponse","UpdateRequestedActivationRequest","UpdateSalesOrderMarketRequest","UpdateSalespersonRequest","UpdateSalespersonResponse","UpdateTagsRequest","UpdateTagsResponse","ArchiveDocumentRequest","Content","CreateDocumentRequest","CreateDocumentResponse","DeleteDocumentRequest","Document","DocumentEmailRecipient","DocumentEvent","DocumentEventContext","DocumentEventContextApprovedByRecipient","DocumentEventContextCommentFromInternalUser","DocumentEventContextFeedbackFromRecipient","DocumentEventContextReviewedByInternalUser","DocumentEventContextSendForInternalReview","DocumentEventContextSentByEmail","DocumentEventContextUnlockDocument","DocumentEventContextViewedByRecipient","ListDocumentsRequestFilters","ListDocumentEventsRequestFilters","SearchDocumentsRequestFilters","Format","GenerateDocumentPDFRequest","GetDocumentLineItemsRequest","GetDocumentLineItemsResponse","GetDocumentRequest","GetDocumentResponse","GetMultiDocumentsRequest","GetMultiDocumentsResponse","GetProposalEmailPreviewRequest","GetProposalEmailPreviewResponse","ListDocumentEventsRequest","ListDocumentEventsResponse","ListDocumentsRequest","ListDocumentsResponse","MarkDocumentAsReviewedRequest","MarkDocumentAsViewedRequest","ProposalEmailDetails","ProposalEmailMessage","Recipient","SearchDocumentsRequest","SearchDocumentsResponse","SendDocumentForInternalReviewRequest","SendProposalRecipientEmailRequest","SentDocumentEmail","UnarchiveDocumentRequest","UnlockDocumentRequest","UpdateDocumentRequest","UpsertDocumentLineItemsRequest","environment","hostMap","HostService","CustomerSalesOrdersApiService","SalesOrdersApiService","DeclinedReasonsApiService","DocumentsApiService","NotificationsApiService","PublicApiService","SalesOrdersAuxiliaryFieldDataApiService","SalesOrdersAuxiliaryFieldSchemaApiService","PagedResponse","SalesOrdersService","CustomerSalesOrdersService","SalesOrdersPublicService","NotificationsService","DeclinedReasonService","RequestCancellationMetadata","init_vendasta_sales_orders","__esmMin","init_core","init_operators","init_http","_LineItemAppKey","proto","m","kwargs","toReturn","_BillingPeriod","_Cost","_CustomPriceMapping","_Duration","_LineItem","_Revenue","_RevenueComponent","_TaxOptions","_AddonActivation","_AddonKey","_Agreement","_Attachment","_Business","_CommonField","_CustomField","_DeclinedReason","_Field","_GetOrderRecipientDetailsRequest","_GetOrderRecipientDetailsResponse","_Order","_Package","_Product","_ProductActivation","_Salesperson","_StatusHistoryItem","_User","_OrderFormFieldOption","_OrderFormField","_Config","_CustomSalespersonAction","_CustomerOptions","_EmailContent","_EmailCustomContent","_EmailOptions","_SalespersonOptions","_TermsOfService","_TermsOfServiceOptions","_WorkflowStepOptions","_ApproveRequest","_ApproveResponse","_DeclineRequest","_DeclineResponse","_GetConfigurationRequest","_GetConfigurationResponse","_GetOrderRecipientSessionRequest","_GetOrderRecipientSessionResponse","_GetRequest","_GetResponse","_UpdateOrderFormAnswersRequest","_UpdateOrderFormAnswersResponse","_Subscriber","_FieldMask","_PagedRequestOptions","_PagedResponseMetadata","_ArchiveAuxiliaryDataFieldSchemaRequest","_AuxiliaryDataFieldSchema","_CreateAuxiliaryDataFieldSchemaRequest","_DropdownOption","_FieldDataUpsertOperation","_FieldSchemaIdentifier","_ListAuxiliaryDataFieldSchemaRequestFilters","_GetAuxiliaryDataFieldSchemaRequest","_GetAuxiliaryDataFieldSchemaResponse","_GetMultiAuxiliaryDataFieldSchemaRequest","_GetMultiAuxiliaryDataFieldSchemaResponse","_ListAuxiliaryDataFieldSchemaRequest","_ListAuxiliaryDataFieldSchemaResponse","_ListAuxiliaryDataResponse","_UnarchiveAuxiliaryDataFieldSchemaRequest","_UpdateAuxiliaryDataFieldSchemaRequest","_ListSalesOderAuxiliaryDataRequest","_SalesOrderAuxiliaryDataObjectID","_UpsertSalesOrderAuxiliaryDataRequest","_ActivateProductsRequest","_ActivateProductsResponse","_ApproveCancellationRequest","_ApproveSalesOrderRequest","_ApproveSalesOrderResponse","_ArchiveReasonRequest","_ArchiveSalesOrderRequest","_ArchiveSalesOrderResponse","_CheckSalesOrderExistsRequest","v","_CheckSalesOrderExistsResponse","_ConvertToDraftRequest","_CreateAndActivateOrderRequest","_CreateAndActivateOrderResponse","_CreateDraftSalesOrderRequest","_CreateDraftSalesOrderResponse","_CreateForPartnerApprovalRequest","_CreateForPartnerApprovalResponse","_CreateInvoiceRequest","_CreateInvoiceResponse","_CreateLeasedToAutomationsSalesOrderRequest","_CreateLeasedToAutomationsSalesOrderResponse","_CreateReasonRequest","_CreateReasonResponse","_CreateSalesOrderRequest","_CreateSalesOrderResponse","_CreateWithPaymentIntentRequest","_CreateWithPaymentIntentResponse","_CustomerApproveSalesOrderRequest","_CustomerApproveSalesOrderResponse","_CustomerCreateSalesOrderRequest","_CustomerCreateSalesOrderResponse","_CustomerGetConfigurationRequest","_ListSalesOrderRequestDateRangeFilter","_ListCustomerSalesOrderRequestDateRangeFilter","_InitiateOrderExportRequestDateRangeFilter","_DeclineCancellationRequest","_DeclineSalesOrderRequest","_DeclineSalesOrderResponse","_DeleteConfigRequest","_DeleteSalesOrderRequest","_DuplicateSalesOrderRequest","_DuplicateSalesOrderResponse","_GetStatusCountsRequestFilters","_ListSalesOrderRequestFilters","_InitiateOrderExportRequestFilters","_ListCustomerSalesOrderRequestFilters","_ListReasonsRequestFilters","_ListTagsRequestFilters","_GetConfigRequest","_GetConfigResponse","_GetMultiSalesOrderRequest","_GetMultiSalesOrderResponse","_GetReasonRequest","_GetReasonResponse","_GetSalesOrderByIdempotencyKeyRequest","_GetSalesOrderRequest","_GetSalesOrderResponse","_GetStatusCountsRequest","_GetStatusCountsResponse","_GetSubscribedLocationsRequest","_GetSubscribedLocationsResponse","_GetSubscribersRequest","_GetSubscribersResponse","_GetUsersRequest","_GetUsersResponse","_IgnoreAllProductActivationErrorsRequest","_IgnoreProductActivationErrorRequest","_InitiateOrderExportRequest","_InitiateOrderExportResponse","_LeaseData","_LeaseSalesOrderToAutomationsRequest","_LeaseSalesOrderToAutomationsResponse","_ListCustomerSalesOrderRequest","_ListReasonsRequest","_ListReasonsResponse","_ListSalesOrderRequest","_ListSalesOrderResponse","_ListTagsRequest","_ListTagsResponse","_PreviewOrderActivationsRequest","_PreviewOrderActivationsResponse","_RequestCancellationRequest","_ScheduleActivationRequest","_SendExistingOrderToCustomerForApprovalRequest","_SendForCustomerApprovalRequest","_SendForCustomerApprovalResponse","_ListSalesOrderRequestSortOption","_ListCustomerSalesOrderRequestSortOption","_InitiateOrderExportRequestSortOption","_SubmitDraftForApprovalRequest","_SubmitDraftForApprovalResponse","_SubmitDraftRequest","_SubmitDraftResponse","_SubscribeRequest","_UnsubscribeRequest","_UpdateAnswersRequest","_UpdateAnswersResponse","_UpdateAttachmentsRequest","_UpdateConfigRequest","_UpdateContractDurationRequest","_UpdateCurrentRevenueRequest","_UpdateCustomerNotesRequest","_UpdateLineItemsRequest","_UpdateNotesRequest","_UpdateReasonRequest","_UpdateReasonResponse","_UpdateRequestedActivationRequest","_UpdateSalesOrderMarketRequest","_UpdateSalespersonRequest","_UpdateSalespersonResponse","_UpdateTagsRequest","_UpdateTagsResponse","_ArchiveDocumentRequest","_Content","_CreateDocumentRequest","_CreateDocumentResponse","_DeleteDocumentRequest","_Document","_DocumentEmailRecipient","_DocumentEvent","_DocumentEventContext","_DocumentEventContextApprovedByRecipient","_DocumentEventContextCommentFromInternalUser","_DocumentEventContextFeedbackFromRecipient","_DocumentEventContextReviewedByInternalUser","_DocumentEventContextSendForInternalReview","_DocumentEventContextSentByEmail","_DocumentEventContextUnlockDocument","_DocumentEventContextViewedByRecipient","_ListDocumentsRequestFilters","_ListDocumentEventsRequestFilters","_SearchDocumentsRequestFilters","_Format","_GenerateDocumentPDFRequest","_GetDocumentLineItemsRequest","_GetDocumentLineItemsResponse","_GetDocumentRequest","_GetDocumentResponse","_GetMultiDocumentsRequest","_GetMultiDocumentsResponse","_GetProposalEmailPreviewRequest","_GetProposalEmailPreviewResponse","_ListDocumentEventsRequest","_ListDocumentEventsResponse","_ListDocumentsRequest","_ListDocumentsResponse","_MarkDocumentAsReviewedRequest","_MarkDocumentAsViewedRequest","_ProposalEmailDetails","_ProposalEmailMessage","_Recipient","_SearchDocumentsRequest","_SearchDocumentsResponse","_SendDocumentForInternalReviewRequest","_SendProposalRecipientEmailRequest","_SentDocumentEmail","_UnarchiveDocumentRequest","_UnlockDocumentRequest","_UpdateDocumentRequest","_UpsertDocumentLineItemsRequest","t","ɵɵdefineInjectable","http","hostService","HttpHeaders","request","map","resp","ɵɵinject","HttpClient","__spreadProps","__spreadValues","results","nextCursor","hasMore","totalResults","api","salespersonId","partnerId","businessId","marketId","opportunityIds","requestedActivation","notes","packages","products","customFields","commonFields","origin","attachments","extraFields","duration","quoteId","tags","req","o","orderId","filters","sortOption","cursor","pageSize","declinedReason","declinedReasonIds","productId","editionId","statuses","config","userID","offerExpiry","agreements","contractDuration","userId","orderIsSmbPayable","productActivationUniqueId","customerNotes","actionType","leaseData","orderToken","paymentMethodToken","exportOrderRequest","token","location","apiService","fields","id","item","name","data"],"x_google_ignoreList":[0]}