@a-cube-io/ereceipts-js-sdk 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist/index.cjs.js +828 -301
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +88 -31
- package/dist/index.esm.js +828 -301
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.js +828 -301
- package/dist/index.native.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -67,6 +67,20 @@ interface CacheOptions {
|
|
|
67
67
|
}
|
|
68
68
|
type ICacheAdapter = ICachePort;
|
|
69
69
|
|
|
70
|
+
type CacheResource = 'receipt' | 'merchant' | 'cashier' | 'cash-register' | 'point-of-sale' | 'supplier' | 'daily-report' | 'journal' | 'pem' | 'notification' | 'telemetry';
|
|
71
|
+
interface CacheResourceConfig {
|
|
72
|
+
ttlMs: number;
|
|
73
|
+
cacheList: boolean;
|
|
74
|
+
cacheItem: boolean;
|
|
75
|
+
}
|
|
76
|
+
interface ICacheKeyGenerator {
|
|
77
|
+
generate(url: string, params?: Record<string, unknown>): string;
|
|
78
|
+
parseResource(url: string): CacheResource | undefined;
|
|
79
|
+
getInvalidationPatterns(url: string, method: string): string[];
|
|
80
|
+
getTTL(url: string): number;
|
|
81
|
+
shouldCache(url: string): boolean;
|
|
82
|
+
}
|
|
83
|
+
|
|
70
84
|
interface CertificateData {
|
|
71
85
|
certificate: string;
|
|
72
86
|
privateKey: string;
|
|
@@ -1082,10 +1096,12 @@ declare function createACubeSDK(config: SDKConfig, customAdapters?: PlatformAdap
|
|
|
1082
1096
|
|
|
1083
1097
|
declare const DI_TOKENS: {
|
|
1084
1098
|
readonly HTTP_PORT: symbol;
|
|
1099
|
+
readonly BASE_HTTP_PORT: symbol;
|
|
1085
1100
|
readonly STORAGE_PORT: symbol;
|
|
1086
1101
|
readonly SECURE_STORAGE_PORT: symbol;
|
|
1087
1102
|
readonly NETWORK_PORT: symbol;
|
|
1088
1103
|
readonly CACHE_PORT: symbol;
|
|
1104
|
+
readonly CACHE_KEY_GENERATOR: symbol;
|
|
1089
1105
|
readonly MTLS_PORT: symbol;
|
|
1090
1106
|
readonly TOKEN_STORAGE_PORT: symbol;
|
|
1091
1107
|
readonly RECEIPT_REPOSITORY: symbol;
|
|
@@ -1184,6 +1200,8 @@ interface SDKServices {
|
|
|
1184
1200
|
}
|
|
1185
1201
|
declare class SDKFactory {
|
|
1186
1202
|
static createContainer(config: SDKFactoryConfig): DIContainer;
|
|
1203
|
+
static registerCacheServices(container: DIContainer, cache: ICachePort, network?: INetworkPort): void;
|
|
1204
|
+
static getCacheKeyGenerator(container: DIContainer): ICacheKeyGenerator | undefined;
|
|
1187
1205
|
static registerAuthServices(container: DIContainer, secureStorage: ISecureStoragePort, config: SDKFactoryConfig): void;
|
|
1188
1206
|
static getServices(container: DIContainer): SDKServices;
|
|
1189
1207
|
}
|
|
@@ -1229,29 +1247,32 @@ interface TelemetryState {
|
|
|
1229
1247
|
error?: string;
|
|
1230
1248
|
}
|
|
1231
1249
|
interface TelemetryServiceConfig {
|
|
1232
|
-
|
|
1233
|
-
|
|
1250
|
+
pollIntervalMs: number;
|
|
1251
|
+
}
|
|
1252
|
+
interface TelemetryEvents {
|
|
1253
|
+
onTelemetryUpdate?: (telemetry: Telemetry) => void;
|
|
1254
|
+
onSyncError?: (error: Error) => void;
|
|
1234
1255
|
}
|
|
1235
1256
|
declare class TelemetryService {
|
|
1236
1257
|
private readonly repository;
|
|
1237
|
-
private readonly storagePort;
|
|
1238
1258
|
private readonly networkPort;
|
|
1259
|
+
private readonly events?;
|
|
1239
1260
|
private readonly stateSubject;
|
|
1240
1261
|
private readonly destroy$;
|
|
1262
|
+
private pollingSubscription?;
|
|
1263
|
+
private networkSubscription?;
|
|
1241
1264
|
private readonly config;
|
|
1242
|
-
private
|
|
1265
|
+
private currentPemId?;
|
|
1243
1266
|
get state$(): Observable<TelemetryState>;
|
|
1244
|
-
constructor(repository: ITelemetryRepository,
|
|
1267
|
+
constructor(repository: ITelemetryRepository, networkPort: INetworkPort, config?: Partial<TelemetryServiceConfig>, events?: TelemetryEvents | undefined);
|
|
1245
1268
|
private setupNetworkMonitoring;
|
|
1269
|
+
startPolling(pemId: string): void;
|
|
1270
|
+
stopPolling(): void;
|
|
1271
|
+
triggerSync(): Promise<TelemetryState>;
|
|
1246
1272
|
getTelemetry(pemId: string): Promise<TelemetryState>;
|
|
1247
1273
|
refreshTelemetry(pemId: string): Promise<TelemetryState>;
|
|
1248
|
-
private
|
|
1249
|
-
|
|
1250
|
-
private cacheData;
|
|
1251
|
-
private getCachedData;
|
|
1252
|
-
private isCacheValid;
|
|
1253
|
-
private getCacheKey;
|
|
1254
|
-
clearCache(pemId: string): Promise<void>;
|
|
1274
|
+
private fetchTelemetry;
|
|
1275
|
+
clearTelemetry(): void;
|
|
1255
1276
|
destroy(): void;
|
|
1256
1277
|
}
|
|
1257
1278
|
|
|
@@ -1263,19 +1284,29 @@ interface SDKManagerConfig extends SDKConfig {
|
|
|
1263
1284
|
notificationPollIntervalMs?: number;
|
|
1264
1285
|
/** Notification page size for fetching (default: 30) */
|
|
1265
1286
|
notificationPageSize?: number;
|
|
1266
|
-
/** Telemetry
|
|
1267
|
-
|
|
1287
|
+
/** Telemetry polling interval in milliseconds (default: 60000) */
|
|
1288
|
+
telemetryPollIntervalMs?: number;
|
|
1268
1289
|
}
|
|
1269
1290
|
/**
|
|
1270
1291
|
* Simplified telemetry operations for product use
|
|
1271
1292
|
*/
|
|
1272
1293
|
interface TelemetryOperations {
|
|
1273
|
-
/**
|
|
1294
|
+
/** Start polling telemetry using pemId from installed certificate */
|
|
1295
|
+
startPollingAuto: () => Promise<string | null>;
|
|
1296
|
+
/** Start polling telemetry for a specific PEM */
|
|
1297
|
+
startPolling: (pemId: string) => void;
|
|
1298
|
+
/** Stop polling telemetry */
|
|
1299
|
+
stopPolling: () => void;
|
|
1300
|
+
/** Get telemetry state for a specific PEM (starts polling if not already) */
|
|
1274
1301
|
getTelemetry: (pemId: string) => Promise<TelemetryState>;
|
|
1275
|
-
/**
|
|
1302
|
+
/** Refresh telemetry for a specific PEM */
|
|
1276
1303
|
refreshTelemetry: (pemId: string) => Promise<TelemetryState>;
|
|
1277
|
-
/**
|
|
1278
|
-
|
|
1304
|
+
/** Manually trigger a telemetry sync */
|
|
1305
|
+
triggerSync: () => Promise<TelemetryState>;
|
|
1306
|
+
/** Clear current telemetry data */
|
|
1307
|
+
clearTelemetry: () => void;
|
|
1308
|
+
/** Get the pemId from the installed certificate */
|
|
1309
|
+
getPemId: () => Promise<string | null>;
|
|
1279
1310
|
}
|
|
1280
1311
|
/**
|
|
1281
1312
|
* Simplified services interface for product use
|
|
@@ -1316,7 +1347,7 @@ interface SDKManagerEvents extends SDKEvents {
|
|
|
1316
1347
|
* Provides:
|
|
1317
1348
|
* - Single initialization point
|
|
1318
1349
|
* - Observable app state (NORMAL, WARNING, BLOCKED, OFFLINE)
|
|
1319
|
-
* - Observable telemetry state
|
|
1350
|
+
* - Observable telemetry state with polling
|
|
1320
1351
|
* - Simplified services for product use
|
|
1321
1352
|
*
|
|
1322
1353
|
* @example
|
|
@@ -1325,6 +1356,7 @@ interface SDKManagerEvents extends SDKEvents {
|
|
|
1325
1356
|
* SDKManager.configure({
|
|
1326
1357
|
* environment: 'sandbox',
|
|
1327
1358
|
* notificationPollIntervalMs: 30000,
|
|
1359
|
+
* telemetryPollIntervalMs: 60000,
|
|
1328
1360
|
* });
|
|
1329
1361
|
*
|
|
1330
1362
|
* // Initialize
|
|
@@ -1336,6 +1368,14 @@ interface SDKManagerEvents extends SDKEvents {
|
|
|
1336
1368
|
* console.log('App mode:', state.mode);
|
|
1337
1369
|
* });
|
|
1338
1370
|
*
|
|
1371
|
+
* // Start telemetry polling for a specific PEM
|
|
1372
|
+
* manager.startTelemetryPolling('PEM-123');
|
|
1373
|
+
*
|
|
1374
|
+
* // Subscribe to telemetry updates
|
|
1375
|
+
* manager.telemetry$.subscribe(telemetry => {
|
|
1376
|
+
* console.log('Telemetry:', telemetry);
|
|
1377
|
+
* });
|
|
1378
|
+
*
|
|
1339
1379
|
* // Cleanup
|
|
1340
1380
|
* SDKManager.destroy();
|
|
1341
1381
|
* ```
|
|
@@ -1393,9 +1433,26 @@ declare class SDKManager {
|
|
|
1393
1433
|
*/
|
|
1394
1434
|
get warning$(): Observable<WarningState>;
|
|
1395
1435
|
/**
|
|
1396
|
-
* Observable stream of telemetry state
|
|
1436
|
+
* Observable stream of telemetry state (data, isLoading, isCached, error)
|
|
1397
1437
|
*/
|
|
1398
1438
|
get telemetryState$(): Observable<TelemetryState>;
|
|
1439
|
+
/**
|
|
1440
|
+
* Get the pemId from the installed certificate
|
|
1441
|
+
*/
|
|
1442
|
+
getPemId(): Promise<string | null>;
|
|
1443
|
+
/**
|
|
1444
|
+
* Start polling telemetry using the pemId from installed certificate
|
|
1445
|
+
* Returns the pemId if successful, null if no certificate is installed
|
|
1446
|
+
*/
|
|
1447
|
+
startTelemetryPollingAuto(): Promise<string | null>;
|
|
1448
|
+
/**
|
|
1449
|
+
* Start polling telemetry for a specific PEM
|
|
1450
|
+
*/
|
|
1451
|
+
startTelemetryPolling(pemId: string): void;
|
|
1452
|
+
/**
|
|
1453
|
+
* Stop telemetry polling
|
|
1454
|
+
*/
|
|
1455
|
+
stopTelemetryPolling(): void;
|
|
1399
1456
|
/**
|
|
1400
1457
|
* Get simplified services for product use
|
|
1401
1458
|
*/
|
|
@@ -1405,9 +1462,9 @@ declare class SDKManager {
|
|
|
1405
1462
|
*/
|
|
1406
1463
|
syncNotifications(): Promise<void>;
|
|
1407
1464
|
/**
|
|
1408
|
-
*
|
|
1465
|
+
* Manually trigger a telemetry sync
|
|
1409
1466
|
*/
|
|
1410
|
-
|
|
1467
|
+
syncTelemetry(): Promise<TelemetryState>;
|
|
1411
1468
|
/**
|
|
1412
1469
|
* Check if the manager is initialized
|
|
1413
1470
|
*/
|
|
@@ -2913,9 +2970,9 @@ declare const PendingReceiptsSchema: z.ZodObject<{
|
|
|
2913
2970
|
declare const TransmissionSchema: z.ZodObject<{
|
|
2914
2971
|
attempted_at: z.ZodString;
|
|
2915
2972
|
outcome: z.ZodEnum<{
|
|
2973
|
+
pending: "pending";
|
|
2916
2974
|
success: "success";
|
|
2917
2975
|
failed: "failed";
|
|
2918
|
-
pending: "pending";
|
|
2919
2976
|
}>;
|
|
2920
2977
|
}, z.core.$strip>;
|
|
2921
2978
|
declare const MessageSchema: z.ZodObject<{
|
|
@@ -2925,26 +2982,26 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
2925
2982
|
declare const LotterySecretRequestSchema: z.ZodObject<{
|
|
2926
2983
|
requested_at: z.ZodString;
|
|
2927
2984
|
outcome: z.ZodEnum<{
|
|
2985
|
+
pending: "pending";
|
|
2928
2986
|
success: "success";
|
|
2929
2987
|
failed: "failed";
|
|
2930
|
-
pending: "pending";
|
|
2931
2988
|
}>;
|
|
2932
2989
|
}, z.core.$strip>;
|
|
2933
2990
|
declare const LotterySchema: z.ZodObject<{
|
|
2934
2991
|
last_transmission: z.ZodObject<{
|
|
2935
2992
|
attempted_at: z.ZodString;
|
|
2936
2993
|
outcome: z.ZodEnum<{
|
|
2994
|
+
pending: "pending";
|
|
2937
2995
|
success: "success";
|
|
2938
2996
|
failed: "failed";
|
|
2939
|
-
pending: "pending";
|
|
2940
2997
|
}>;
|
|
2941
2998
|
}, z.core.$strip>;
|
|
2942
2999
|
secret_request: z.ZodObject<{
|
|
2943
3000
|
requested_at: z.ZodString;
|
|
2944
3001
|
outcome: z.ZodEnum<{
|
|
3002
|
+
pending: "pending";
|
|
2945
3003
|
success: "success";
|
|
2946
3004
|
failed: "failed";
|
|
2947
|
-
pending: "pending";
|
|
2948
3005
|
}>;
|
|
2949
3006
|
}, z.core.$strip>;
|
|
2950
3007
|
}, z.core.$strip>;
|
|
@@ -2989,9 +3046,9 @@ declare const TelemetrySchema: z.ZodObject<{
|
|
|
2989
3046
|
last_receipt_transmission: z.ZodObject<{
|
|
2990
3047
|
attempted_at: z.ZodString;
|
|
2991
3048
|
outcome: z.ZodEnum<{
|
|
3049
|
+
pending: "pending";
|
|
2992
3050
|
success: "success";
|
|
2993
3051
|
failed: "failed";
|
|
2994
|
-
pending: "pending";
|
|
2995
3052
|
}>;
|
|
2996
3053
|
}, z.core.$strip>;
|
|
2997
3054
|
last_message_from_mf2: z.ZodObject<{
|
|
@@ -3001,9 +3058,9 @@ declare const TelemetrySchema: z.ZodObject<{
|
|
|
3001
3058
|
ade_corrispettivi_transmission: z.ZodObject<{
|
|
3002
3059
|
attempted_at: z.ZodString;
|
|
3003
3060
|
outcome: z.ZodEnum<{
|
|
3061
|
+
pending: "pending";
|
|
3004
3062
|
success: "success";
|
|
3005
3063
|
failed: "failed";
|
|
3006
|
-
pending: "pending";
|
|
3007
3064
|
}>;
|
|
3008
3065
|
}, z.core.$strip>;
|
|
3009
3066
|
last_message_from_ade: z.ZodObject<{
|
|
@@ -3014,17 +3071,17 @@ declare const TelemetrySchema: z.ZodObject<{
|
|
|
3014
3071
|
last_transmission: z.ZodObject<{
|
|
3015
3072
|
attempted_at: z.ZodString;
|
|
3016
3073
|
outcome: z.ZodEnum<{
|
|
3074
|
+
pending: "pending";
|
|
3017
3075
|
success: "success";
|
|
3018
3076
|
failed: "failed";
|
|
3019
|
-
pending: "pending";
|
|
3020
3077
|
}>;
|
|
3021
3078
|
}, z.core.$strip>;
|
|
3022
3079
|
secret_request: z.ZodObject<{
|
|
3023
3080
|
requested_at: z.ZodString;
|
|
3024
3081
|
outcome: z.ZodEnum<{
|
|
3082
|
+
pending: "pending";
|
|
3025
3083
|
success: "success";
|
|
3026
3084
|
failed: "failed";
|
|
3027
|
-
pending: "pending";
|
|
3028
3085
|
}>;
|
|
3029
3086
|
}, z.core.$strip>;
|
|
3030
3087
|
}, z.core.$strip>;
|
|
@@ -3150,4 +3207,4 @@ declare class CertificateValidator {
|
|
|
3150
3207
|
}
|
|
3151
3208
|
|
|
3152
3209
|
export { ACubeSDK, ACubeSDKError, ActivationRequestSchema, AddressMapper, AddressSchema, AppStateService, AuthStrategy, AuthenticationService, AxiosHttpAdapter, CacheHandler, CashRegisterCreateSchema, CashRegisterMapper, CashRegisterRepositoryImpl, CashierCreateInputSchema, CashierMapper, CashierRepositoryImpl, CertificateService, CertificateValidator, ConfigManager, DAILY_REPORT_STATUS_OPTIONS, DEFAULT_QUEUE_CONFIG, DIContainer, DI_TOKENS, DailyReportMapper, DailyReportRepositoryImpl, DailyReportStatusSchema, DailyReportsParamsSchema, EXEMPT_VAT_CODES, ErrorCategory, GOOD_OR_SERVICE_OPTIONS, GoodOrServiceSchema, JournalCloseInputSchema, JournalMapper, JournalRepositoryImpl, JwtAuthHandler, LotterySchema, LotterySecretRequestSchema, MTLSError, MTLSErrorType, MerchantCreateInputSchema, MerchantMapper, MerchantRepositoryImpl, MerchantUpdateInputSchema, MessageSchema, MtlsAuthHandler, NOTIFICATION_CODES, NOTIFICATION_LEVELS, NOTIFICATION_SCOPES, NOTIFICATION_SOURCES, NOTIFICATION_TYPES, NotificationDataBlockAtSchema, NotificationDataPemStatusSchema, NotificationListResponseSchema, NotificationMapper, NotificationMf2UnreachableSchema, NotificationPemBackOnlineSchema, NotificationPemsBlockedSchema, NotificationRepositoryImpl, NotificationSchema, NotificationScopeSchema, NotificationService, OfflineManager, OperationQueue, PEMStatusOfflineRequestSchema, PEMStatusSchema, PEM_STATUS_OPTIONS, PEM_TYPE_OPTIONS, PemCreateInputSchema, PemDataSchema, PemMapper, PemRepositoryImpl, PemStatusSchema, PendingReceiptsSchema, PlatformDetector, PointOfSaleMapper, PointOfSaleRepositoryImpl, RECEIPT_PROOF_TYPE_OPTIONS, RECEIPT_READY, RECEIPT_SENT, RECEIPT_SORT_ASCENDING, RECEIPT_SORT_DESCENDING, ReceiptInputSchema, ReceiptItemSchema, ReceiptMapper, ReceiptProofTypeSchema, ReceiptRepositoryImpl, ReceiptReturnInputSchema, ReceiptReturnItemSchema, ReceiptReturnOrVoidViaPEMInputSchema, ReceiptReturnOrVoidWithProofInputSchema, SDKFactory, SDKManager, STANDARD_VAT_RATES, SupplierCreateInputSchema, SupplierMapper, SupplierRepositoryImpl, SupplierUpdateInputSchema, SyncManager, TelemetryMapper, TelemetryMerchantSchema, TelemetryRepositoryImpl, TelemetrySchema, TelemetryService, TelemetrySoftwareSchema, TelemetrySoftwareVersionSchema, TelemetrySupplierSchema, TransmissionSchema, VAT_RATE_CODES, VAT_RATE_CODE_OPTIONS, ValidationMessages, VatRateCodeSchema, VoidReceiptInputSchema, classifyError, clearObject, clearObjectShallow, createACubeMTLSConfig, createACubeSDK, createPrefixedLogger, createACubeSDK as default, detectPlatform, extractRoles, formatDecimal, getUserFriendlyMessage, hasAnyRole, hasNonEmptyValues, hasRole, isEmpty, isTokenExpired, loadPlatformAdapters, logger, parseJwt, shouldReconfigureCertificate, shouldRetryRequest, transformError, validateInput };
|
|
3153
|
-
export type { ActivationRequest, ActivationRequestApiInput, ActivationRequestType, Address, AddressApiOutput, AddressType, AppMode, AppState, AuthConfig, AuthCredentials$1 as AuthCredentials, AuthMode, AxiosHttpAdapterConfig, BatchSyncResult, CacheConfig, CacheOptions, CacheSize, CachedItem, CashRegister, CashRegisterApiOutput, CashRegisterCreateApiInput, CashRegisterCreateInput, CashRegisterCreateType, CashRegisterDetailed, CashRegisterDetailedApiOutput, CashRegisterListParams, CashRegisterUpdateApiInput, CashRegisterUpdateInput, Cashier, CashierApiOutput, CashierCreateApiInput, CashierCreateInput, CashierCreateInputType, CashierListParams, CashierStatus, CertificateData, CertificateInfo, Cleaned, CleanedShallow, CompressionResult, DailyReport, DailyReportApiOutput, DailyReportStatus, DailyReportStatusType, DailyReportsParams, DailyReportsParamsType, DecompressionResult, Domain, Environment, ErrorClassification, GoodOrService, GoodOrServiceType, HttpMethod, HttpRequestConfig, HttpResponse, IAuthHandler, ICacheAdapter, ICachePort, ICashRegisterRepository, ICashierRepository, ICertificatePort, ICompressionPort, IDailyReportRepository, IHttpPort, IJournalRepository, IMTLSAdapter, IMTLSAdapterFactory, IMTLSPort, IMerchantRepository, INetworkMonitor, INetworkPort, INotificationRepository, IPemRepository, IPointOfSaleRepository, IReceiptRepository, ISecureStorage, ISecureStoragePort, IStorage, IStoragePort, ISupplierRepository, ITelemetryRepository, ITokenStoragePort, IUserProvider, JWTPayload, Journal, JournalApiOutput, JournalCloseInput, JournalCloseInputType, JournalStatus, JournalsParams, LdJsonPage, LotteryApiOutput, LotterySecretRequestApiOutput, LotterySecretRequestInfo, LotteryTelemetry, MTLSConnectionConfig, MTLSRequestConfig, MTLSResponse, ManagedServices, Merchant, MerchantApiOutput, MerchantCreateApiInput, MerchantCreateInput, MerchantCreateInputType, MerchantUpdateApiInput, MerchantUpdateInput, MerchantUpdateInputType, MerchantsParams, MessageApiOutput, MessageInfo, NetworkInfo, NetworkStatus, Notification, NotificationApiOutput, NotificationCode, NotificationCommunicationRestored, NotificationCommunicationRestoredApiOutput, NotificationEvents, NotificationLevel, NotificationListParams, NotificationListResponseSchemaType, NotificationMf2Unreachable, NotificationMf2UnreachableApiOutput, NotificationPageApiOutput, NotificationPayloadBlockAt, NotificationSchemaType, NotificationScope, NotificationServiceConfig, NotificationSource, NotificationStatusOffline, NotificationStatusOfflineApiOutput, NotificationStatusOnline, NotificationStatusOnlineApiOutput, NotificationSyncState, NotificationType, OperationStatus, OperationType, PEMStatus, PEMStatusOfflineRequest, PEMStatusOfflineRequestApiInput, PEMStatusOfflineRequestType, PEMStatusType, Page, PemCertificates, PemCertificatesApiOutput, PemCreateApiInput, PemCreateApiOutput, PemCreateInput, PemCreateInputType, PemCreateOutput, PemData, PemDataType, PendingReceipts, PendingReceiptsApiOutput, Platform, PlatformAdapters, PlatformInfo, PointOfSale, PointOfSaleApiOutput, PointOfSaleDetailed, PointOfSaleDetailedApiOutput, PointOfSaleListParams, PointOfSaleMf2, PointOfSaleMf2ApiOutput, PointOfSaleType, QueueConfig, QueueEvents, QueueStats, QueuedOperation, Receipt, ReceiptApiInput, ReceiptApiOutput, ReceiptDetails, ReceiptDetailsApiOutput, ReceiptInput, ReceiptInputType, ReceiptItem, ReceiptItemApiInput, ReceiptItemType, ReceiptListParams, ReceiptProofType, ReceiptProofTypeType, ReceiptReturnApiInput, ReceiptReturnInput, ReceiptReturnItem, ReceiptReturnItemType, ReceiptReturnOrVoidViaPEMInputType, ReceiptReturnOrVoidWithProofInputType, ReceiptReturnType, ReceiptSortOrder, ReceiptStatus, ReceiptType, ResourceType, ReturnViaDifferentDeviceApiInput, ReturnViaDifferentDeviceInput, ReturnWithProofApiInput, ReturnWithProofInput, ReturnableReceiptItem, ReturnableReceiptItemApiOutput, SDKConfig, SDKEvents, SDKFactoryConfig, SDKManagerConfig, SDKManagerEvents, SDKServices, SoftwareVersionStatus, StoredCertificate, Supplier, SupplierApiOutput, SupplierCreateApiInput, SupplierCreateInput, SupplierCreateInputType, SupplierUpdateApiInput, SupplierUpdateInput, SupplierUpdateInputType, SuppliersParams, SyncResult, SyncStatus, Telemetry, TelemetryApiOutput, TelemetryMerchant, TelemetryMerchantApiOutput, TelemetryOperations, TelemetrySchemaType, TelemetryServiceConfig, TelemetrySoftware, TelemetrySoftwareApiOutput, TelemetrySoftwareVersion, TelemetrySoftwareVersionApiOutput, TelemetryState, TelemetrySupplier, TelemetrySupplierApiOutput, TransmissionAttemptApiOutput, TransmissionAttemptInfo, User$1 as User, UserRole, UserRoles, ValidationResult, VatRateCode, VatRateCodeType, VoidReceiptApiInput, VoidReceiptInput, VoidReceiptInputType, VoidViaDifferentDeviceApiInput, VoidViaDifferentDeviceInput, VoidWithProofApiInput, VoidWithProofInput, WarningState };
|
|
3210
|
+
export type { ActivationRequest, ActivationRequestApiInput, ActivationRequestType, Address, AddressApiOutput, AddressType, AppMode, AppState, AuthConfig, AuthCredentials$1 as AuthCredentials, AuthMode, AxiosHttpAdapterConfig, BatchSyncResult, CacheConfig, CacheOptions, CacheResource, CacheResourceConfig, CacheSize, CachedItem, CashRegister, CashRegisterApiOutput, CashRegisterCreateApiInput, CashRegisterCreateInput, CashRegisterCreateType, CashRegisterDetailed, CashRegisterDetailedApiOutput, CashRegisterListParams, CashRegisterUpdateApiInput, CashRegisterUpdateInput, Cashier, CashierApiOutput, CashierCreateApiInput, CashierCreateInput, CashierCreateInputType, CashierListParams, CashierStatus, CertificateData, CertificateInfo, Cleaned, CleanedShallow, CompressionResult, DailyReport, DailyReportApiOutput, DailyReportStatus, DailyReportStatusType, DailyReportsParams, DailyReportsParamsType, DecompressionResult, Domain, Environment, ErrorClassification, GoodOrService, GoodOrServiceType, HttpMethod, HttpRequestConfig, HttpResponse, IAuthHandler, ICacheAdapter, ICacheKeyGenerator, ICachePort, ICashRegisterRepository, ICashierRepository, ICertificatePort, ICompressionPort, IDailyReportRepository, IHttpPort, IJournalRepository, IMTLSAdapter, IMTLSAdapterFactory, IMTLSPort, IMerchantRepository, INetworkMonitor, INetworkPort, INotificationRepository, IPemRepository, IPointOfSaleRepository, IReceiptRepository, ISecureStorage, ISecureStoragePort, IStorage, IStoragePort, ISupplierRepository, ITelemetryRepository, ITokenStoragePort, IUserProvider, JWTPayload, Journal, JournalApiOutput, JournalCloseInput, JournalCloseInputType, JournalStatus, JournalsParams, LdJsonPage, LotteryApiOutput, LotterySecretRequestApiOutput, LotterySecretRequestInfo, LotteryTelemetry, MTLSConnectionConfig, MTLSRequestConfig, MTLSResponse, ManagedServices, Merchant, MerchantApiOutput, MerchantCreateApiInput, MerchantCreateInput, MerchantCreateInputType, MerchantUpdateApiInput, MerchantUpdateInput, MerchantUpdateInputType, MerchantsParams, MessageApiOutput, MessageInfo, NetworkInfo, NetworkStatus, Notification, NotificationApiOutput, NotificationCode, NotificationCommunicationRestored, NotificationCommunicationRestoredApiOutput, NotificationEvents, NotificationLevel, NotificationListParams, NotificationListResponseSchemaType, NotificationMf2Unreachable, NotificationMf2UnreachableApiOutput, NotificationPageApiOutput, NotificationPayloadBlockAt, NotificationSchemaType, NotificationScope, NotificationServiceConfig, NotificationSource, NotificationStatusOffline, NotificationStatusOfflineApiOutput, NotificationStatusOnline, NotificationStatusOnlineApiOutput, NotificationSyncState, NotificationType, OperationStatus, OperationType, PEMStatus, PEMStatusOfflineRequest, PEMStatusOfflineRequestApiInput, PEMStatusOfflineRequestType, PEMStatusType, Page, PemCertificates, PemCertificatesApiOutput, PemCreateApiInput, PemCreateApiOutput, PemCreateInput, PemCreateInputType, PemCreateOutput, PemData, PemDataType, PendingReceipts, PendingReceiptsApiOutput, Platform, PlatformAdapters, PlatformInfo, PointOfSale, PointOfSaleApiOutput, PointOfSaleDetailed, PointOfSaleDetailedApiOutput, PointOfSaleListParams, PointOfSaleMf2, PointOfSaleMf2ApiOutput, PointOfSaleType, QueueConfig, QueueEvents, QueueStats, QueuedOperation, Receipt, ReceiptApiInput, ReceiptApiOutput, ReceiptDetails, ReceiptDetailsApiOutput, ReceiptInput, ReceiptInputType, ReceiptItem, ReceiptItemApiInput, ReceiptItemType, ReceiptListParams, ReceiptProofType, ReceiptProofTypeType, ReceiptReturnApiInput, ReceiptReturnInput, ReceiptReturnItem, ReceiptReturnItemType, ReceiptReturnOrVoidViaPEMInputType, ReceiptReturnOrVoidWithProofInputType, ReceiptReturnType, ReceiptSortOrder, ReceiptStatus, ReceiptType, ResourceType, ReturnViaDifferentDeviceApiInput, ReturnViaDifferentDeviceInput, ReturnWithProofApiInput, ReturnWithProofInput, ReturnableReceiptItem, ReturnableReceiptItemApiOutput, SDKConfig, SDKEvents, SDKFactoryConfig, SDKManagerConfig, SDKManagerEvents, SDKServices, SoftwareVersionStatus, StoredCertificate, Supplier, SupplierApiOutput, SupplierCreateApiInput, SupplierCreateInput, SupplierCreateInputType, SupplierUpdateApiInput, SupplierUpdateInput, SupplierUpdateInputType, SuppliersParams, SyncResult, SyncStatus, Telemetry, TelemetryApiOutput, TelemetryMerchant, TelemetryMerchantApiOutput, TelemetryOperations, TelemetrySchemaType, TelemetryServiceConfig, TelemetrySoftware, TelemetrySoftwareApiOutput, TelemetrySoftwareVersion, TelemetrySoftwareVersionApiOutput, TelemetryState, TelemetrySupplier, TelemetrySupplierApiOutput, TransmissionAttemptApiOutput, TransmissionAttemptInfo, User$1 as User, UserRole, UserRoles, ValidationResult, VatRateCode, VatRateCodeType, VoidReceiptApiInput, VoidReceiptInput, VoidReceiptInputType, VoidViaDifferentDeviceApiInput, VoidViaDifferentDeviceInput, VoidWithProofApiInput, VoidWithProofInput, WarningState };
|