import * as i from '../interfaces'; import { LineItem, Duration, Revenue, CustomPriceMapping } from './workflow'; import { TaxOptions } from './tax-options'; import * as e from '../enums'; export declare function enumStringToValue(enumRef: any, value: string): E; export declare class AddonActivation implements i.AddonActivationInterface { addonId: string; appId: string; activationStatus: e.ActivationStatus; static fromProto(proto: any): AddonActivation; constructor(kwargs?: i.AddonActivationInterface); toApiJson(): object; } export declare class AddonKey implements i.AddonKeyInterface { addonId: string; appId: string; static fromProto(proto: any): AddonKey; constructor(kwargs?: i.AddonKeyInterface); toApiJson(): object; } export declare class Agreement implements i.AgreementInterface { userId: string; term: string; agreed: boolean; static fromProto(proto: any): Agreement; constructor(kwargs?: i.AgreementInterface); toApiJson(): object; } export declare class Attachment implements i.AttachmentInterface { name: string; url: string; static fromProto(proto: any): Attachment; constructor(kwargs?: i.AttachmentInterface); toApiJson(): object; } export declare class Business implements i.BusinessInterface { companyName: string; address: string; address2: string; city: string; state: string; zip: string; country: string; website: string; phoneNumber: string; deleted: boolean; static fromProto(proto: any): Business; constructor(kwargs?: i.BusinessInterface); toApiJson(): object; } export declare class CommonField implements i.CommonFieldInterface { field: Field; productIds: string[]; addonKeys: AddonKey[]; static fromProto(proto: any): CommonField; constructor(kwargs?: i.CommonFieldInterface); toApiJson(): object; } export declare class CustomField implements i.CustomFieldInterface { fields: Field[]; productId: string; addonKey: AddonKey; static fromProto(proto: any): CustomField; constructor(kwargs?: i.CustomFieldInterface); toApiJson(): object; } export declare class CustomerRecipient implements i.CustomerRecipientInterface { userId: string; firstName: string; lastName: string; static fromProto(proto: any): CustomerRecipient; constructor(kwargs?: i.CustomerRecipientInterface); toApiJson(): object; } export declare class DeclinedReason implements i.DeclinedReasonInterface { id: string; reason: string; partnerId: string; created: Date; updated: Date; archived: Date; static fromProto(proto: any): DeclinedReason; constructor(kwargs?: i.DeclinedReasonInterface); toApiJson(): object; } export declare class Field implements i.FieldInterface { fieldId: string; answer: string; fieldType: e.FieldType; label: string; description: string; prefix: string; suffix: string; regexValidator: string; regexErrorMessage: string; static fromProto(proto: any): Field; constructor(kwargs?: i.FieldInterface); toApiJson(): object; } export declare class GetOrderRecipientDetailsRequest implements i.GetOrderRecipientDetailsRequestInterface { token: string; static fromProto(proto: any): GetOrderRecipientDetailsRequest; constructor(kwargs?: i.GetOrderRecipientDetailsRequestInterface); toApiJson(): object; } export declare class GetOrderRecipientDetailsResponse implements i.GetOrderRecipientDetailsResponseInterface { name: string; email: string; static fromProto(proto: any): GetOrderRecipientDetailsResponse; constructor(kwargs?: i.GetOrderRecipientDetailsResponseInterface); toApiJson(): object; } export declare class Order implements i.OrderInterface { orderId: string; salespersonId: string; partnerId: string; businessId: string; marketId: string; opportunityIds: string[]; status: e.Status; requestedActivation: Date; notes: string; packages: Package[]; customFields: CustomField[]; commonFields: CommonField[]; created: Date; productActivations: ProductActivation[]; addonActivations: AddonActivation[]; statusHistory: StatusHistoryItem[]; declinedReason: string; products: Product[]; origin: e.Origin; attachments: Attachment[]; extraFields: Field[]; lineItems: LineItem[]; contractDuration: Duration; taxOptions: TaxOptions[]; tags: string[]; agreements: Agreement[]; expiryDate: Date; paymentMethodToken: string; customerNotes: string; offerExpiry: Date; quoteId: string; business: Business; salesperson: Salesperson; idempotencyKey: string; leasedToAutomations: Date; fulfillmentStatus: e.FulfillmentOrderStatus; hasFulfillment: boolean; orderIsSmbPayable: boolean; enforceContractTerm: boolean; customerAttachments: Attachment[]; customerRecipient: CustomerRecipient; retailSubscriptionGroups: { [key: string]: RetailSubscriptionGroup; }; invoiceId: string; finalizedAt: Date; static fromProto(proto: any): Order; constructor(kwargs?: i.OrderInterface); toApiJson(): object; } export declare class Package implements i.PackageInterface { packageId: string; currency: e.Currency; revenue: Revenue; quantity: number; productIds: string[]; addonKeys: AddonKey[]; customPrices: CustomPriceMapping[]; static fromProto(proto: any): Package; constructor(kwargs?: i.PackageInterface); toApiJson(): object; } export declare class Product implements i.ProductInterface { productId: string; currency: e.Currency; revenue: Revenue; editionId: string; parentProductId: string; static fromProto(proto: any): Product; constructor(kwargs?: i.ProductInterface); toApiJson(): object; } export declare class ProductActivation implements i.ProductActivationInterface { productId: string; editionId: string; activationStatus: e.ActivationStatus; uniqueId: string; previousEditionId: string; activationId: string; isEditionChange: boolean; static fromProto(proto: any): ProductActivation; constructor(kwargs?: i.ProductActivationInterface); toApiJson(): object; } export declare class RetailSubscriptionGroup implements i.RetailSubscriptionGroupInterface { name: string; displayOption: e.RetailSubscriptionGroupDisplayOption; iconUrl: string; sourceIdentifier: string; static fromProto(proto: any): RetailSubscriptionGroup; constructor(kwargs?: i.RetailSubscriptionGroupInterface); toApiJson(): object; } export declare class OrderRetailSubscriptionGroupsEntry implements i.OrderRetailSubscriptionGroupsEntryInterface { key: string; value: RetailSubscriptionGroup; static fromProto(proto: any): OrderRetailSubscriptionGroupsEntry; constructor(kwargs?: i.OrderRetailSubscriptionGroupsEntryInterface); toApiJson(): object; } export declare class Salesperson implements i.SalespersonInterface { firstName: string; lastName: string; email: string; phoneNumber: string; static fromProto(proto: any): Salesperson; constructor(kwargs?: i.SalespersonInterface); toApiJson(): object; } export declare class StatusHistoryItem implements i.StatusHistoryItemInterface { userId: string; status: e.Status; created: Date; email: string; metadata: string; name: string; source: e.Source; userRole: e.UserRole; static fromProto(proto: any): StatusHistoryItem; constructor(kwargs?: i.StatusHistoryItemInterface); toApiJson(): object; } export declare class User implements i.UserInterface { userId: string; firstName: string; lastName: string; email: string; phoneNumber: string; static fromProto(proto: any): User; constructor(kwargs?: i.UserInterface); toApiJson(): object; }