import { AxiosResponse } from 'axios'; import { CustodianClient, PERMISSIONS as CUSTODIAN_PERMISSIONS } from './clients/custodian'; import { DigitaltwinClient, PERMISSIONS as DIGITALTWIN_PERMISSIONS } from './clients/digitaltwin'; import { FileClient, PERMISSIONS as FILE_PERMISSIONS } from './clients/file'; import { IdentityClient, PERMISSIONS as IDENTITY_PERMISSIONS } from './clients/identity'; import { OrganizationClient, PERMISSIONS as ORGANIZATION_PERMISSIONS, PublicOrganizationSettings } from './clients/organization'; import { PERMISSIONS as PRESENTATION_PERMISSIONS, PresentationClient } from './clients/presentation'; import { AccessTokenProvider, OnAccessTokenProviderError } from './clients/shared/interceptor'; import { PERMISSIONS as TEMPLATE_PERMISSIONS, TemplateClient } from './clients/template'; import { PERMISSIONS as TPL_ORDER_PERMISSIONS, TPLOrderClient } from './clients/tpl-order'; import { PERMISSIONS as VOUCHER_PERMISSIONS, VoucherClient } from './clients/voucher'; import { PERMISSIONS as WARRANTY_PERMISSIONS, WarrantyClient } from './clients/warranty'; import { NotificationClient } from './clients/notification'; import { AuthClient } from './clients/auth'; export { NotificationClient, GetNotifications, ReadNotification, Notification, TransferCanceledDetail, TransferAcceptedDetail, TransferDeniedDetail, TransferInitiatedDetail, } from './clients/notification'; export { MessageResponse, Certificate, CreateCertificate, CreateSpecification, UpdateCertificate, Specification, CertificatesResponse, GetAllCertificatesOptions, DigitalTwin, DigitaltwinClient, DigitalTwinEvent, CreateDigitaltwin, UpdateSpecification, OwnershipRequestAcceptedEvent, SoldEvent, OwnershipRequest, OWNERSHIP_REQUEST_STATUS, ProvenanceMap, CreateProvenanceMap, UpdateProvenanceMap, EventTypes, MappedEvent, Transfer, TransferType, } from './clients/digitaltwin'; export { Custodian, CustodianClient, CreateCustodian, UpdateCustodian as UpdateCustodianInput, } from './clients/custodian'; export { Presentation, CreatePresentation, UpdatePresentation } from './clients/presentation'; export { Identity, IdentityClient, UpdateIdentity, CreateIdentity, TokenResponse, User, ConnectionType, ConnectIdentity, IdentityType, } from './clients/identity'; export { VoucherClient, Voucher, VoucherState, LinkedVoucher, GenericVoucher } from './clients/voucher'; export { TemplateClient, Template, CreateTemplateInput, CreateTemplateBatchInput, UpdateTemplateInput, BatchStatus, EntryStatus, } from './clients/template'; export { FileInfo, Folder } from './clients/file'; export { Warranty, CreateWarranty, UpdateWarranty } from './clients/warranty'; export { TPLOrderClient, CreateTPLOrder, TPLOrder, UpdateTPLOrder } from './clients/tpl-order'; export { Organization, UpdateOrganizationSettings, OrganizationSettings, ThemeAppearance, SortDirection, IdentificationMethod, SoMe, } from './clients/organization'; export { Field, Fields, FieldTypes, GalleryField, NumberField, AttributeField, ImageField, TextField, MappedEventField, VideoField, } from './clients/shared/fields'; export { Image } from './clients/shared/image'; export default class TT { static DigitaltwinClient: DigitaltwinClient; static FileClient: FileClient; static PresentationClient: PresentationClient; static CustodianClient: CustodianClient; static IdentityClient: IdentityClient; static VoucherClient: VoucherClient; static TemplateClient: TemplateClient; static WarrantyClient: WarrantyClient; static TPLOrderClient: TPLOrderClient; static OrganizationClient: OrganizationClient; static NotificationClient: NotificationClient; static AuthClient: AuthClient; static InitAuthClient: (options: { host: string; orgId: string; }) => AuthClient; static publicOrganizationSettings: (options: { host: string; orgName: string; }) => Promise>; static init: ({ host, apiKey, jwtToken, auth0Token }: ClientOptions) => void; static enableAuthHandler({ accessTokenProvider, onAccessTokenProviderError: onAccessTokenProviderError, }: { accessTokenProvider: AccessTokenProvider; onAccessTokenProviderError?: OnAccessTokenProviderError; }): void; static setAccessToken({ apiKey, accessToken, auth0Token, }: { apiKey?: string; accessToken?: string; auth0Token?: string; }): void; private static axiosInstance; } export declare type ALL_PERMISSIONS = Array; export declare const ADMIN_PERMISSION_NAMES: { ADMIN_PRIVILEGES: string; }; export declare type ADMIN_PERMISSIONS = typeof ADMIN_PRIVILEGES; export declare const ADMIN_PRIVILEGES = "*:*"; export declare const ALL_PERMISSION_NAMES: { ADMIN: { ADMIN_PRIVILEGES: string; }; DIGITALTWIN: { CREATE: string; SELL: string; REVOKE_OWNERSHIP: string; SET_CUSTODIAN: string; SET_WARRANTY: string; SET_NFCTAG: string; UPDATE_SPECIFICATION: string; VERIFY: string; GET: string; GET_ALL: string; GET_ALL_ANY: string; GET_ALL_SAME_CUSTODIAN: string; GET_EVENTS: string; GET_EVENTS_ANY: string; GET_EVENTS_VERIFIED: string; GET_EVENTS_SOLD: string; GET_EVENTS_OWNERSHIP_REVOKED: string; GET_EVENTS_CREATED: string; GET_EVENTS_SPECIFICATION_UPDATED: string; GET_EVENTS_TRANSFER_INITIATED: string; GET_EVENTS_TRANSFER_DENIED: string; GET_EVENTS_TRANSFER_CANCELED: string; GET_EVENTS_TRANSFER_ACCEPTED: string; GET_EVENTS_CUSTODIAN_UPDATED: string; GET_EVENTS_CLAIMED_WITH_VOUCHER: string; GET_EVENTS_UPDATED_LOST: string; GET_PROVENANCE: string; CERTIFICATE_CREATE: string; CERTIFICATE_GET_ALL: string; CERTIFICATE_UPDATE: string; CERTIFICATE_DELETE: string; OWNERSHIP_REQUEST_RESPONSE: string; OWNERSHIP_REQUEST_GET_ALL: string; PROVENANCE_MAP_CREATE: string; PROVENANCE_MAP_UPDATE: string; PROVENANCE_MAP_GET_ALL: string; PROVENANCE_MAP_DELETE: string; }; CUSTODIAN: { CREATE: string; DELETE: string; UPDATE: string; UPDATE_ANY: string; UPDATE_PERMISSIONS: string; GET: string; GET_ALL: string; SET_ARCHIVED: string; GET_ALL_PERMISSIONS: string; GET_PERMISSIONS: string; GET_EVENTS_ANY: string; GET_EVENTS_CREATED: string; GET_EVENTS_DELETED: string; GET_EVENTS_UPDATED: string; }; PRESENTATION: { CREATE: string; DELETE: string; UPDATE: string; GET_ALL: string; SET_ARCHIVED: string; GET_EVENTS_ANY: string; GET_EVENTS_CREATED: string; GET_EVENTS_DELETED: string; GET_EVENTS_UPDATED: string; GET_EVENTS_ARCHIVED_UPDATED: string; }; IDENTITY: { CREATE: string; CREATE_SAME_CUSTODIAN: string; CREATE_ANY: string; CREATE_PERMISSIONS: string; DELETE: string; GET: string; GET_ALL: string; UPDATE: string; UPDATE_PERMISSIONS: string; UPDATE_ANY: string; UPDATE_SAME_CUSTODIAN: string; CREATE_API_KEY: string; GET_EVENTS_ANY: string; GET_EVENTS_CREATED: string; GET_EVENTS_DELETED: string; GET_EVENTS_UPDATED: string; GENERATE_TOKEN: string; }; VOUCHER: { CREATE: string; DELETE: string; GET: string; GET_ALL: string; GET_EVENTS_ANY: string; GET_EVENTS_CLAIMED: string; GET_EVENTS_CREATED: string; GET_EVENTS_DELETED: string; }; TEMPLATE: { CREATE: string; CREATE_BATCH: string; UPDATE: string; DELETE: string; GET: string; GET_ALL: string; GET_BATCH: string; GET_ALL_BATCHES: string; SET_ARCHIVED: string; GET_EVENTS_ANY: string; GET_EVENTS_CREATED: string; GET_EVENTS_DELETED: string; GET_EVENTS_UPDATED: string; GET_EVENTS_ARCHIVED_UPDATED: string; }; FILE: { CREATE: string; UPDATE: string; GET_ALL: string; SET_ARCHIVED: string; GET_EVENTS_ANY: string; GET_EVENTS_CREATED: string; GET_EVENTS_UPDATED: string; GET_EVENTS_ARCHIVED_UPDATED: string; }; WARRANTY: { CREATE: string; DELETE: string; UPDATE: string; GET: string; GET_ALL: string; SET_ARCHIVED: string; GET_EVENTS_ANY: string; GET_EVENTS_CREATED: string; GET_EVENTS_DELETED: string; GET_EVENTS_UPDATED: string; GET_EVENTS_ARCHIVED_UPDATED: string; }; TPL_ORDER: { CREATE: string; UPDATE: string; GET_ALL: string; SET_ARCHIVED: string; GET_EVENTS_ANY: string; GET_EVENTS_CREATED: string; GET_EVENTS_UPDATED: string; GET_EVENTS_ARCHIVED_UPDATED: string; }; ORGANIZATION: { GET: string; UPDATE_SETTINGS: string; GET_EVENTS_ANY: string; GET_EVENTS_SETTINGS_UPDATED: string; }; }; export declare const ALL_PERMISSION_NAMES_ARRAY: any[]; export interface ClientOptions { host: string; apiKey?: string; jwtToken?: string; auth0Token?: string; }