@aidc-toolkit/app-extension 1.0.31-beta → 1.0.32-beta
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/dist/index.cjs +3446 -627
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +575 -300
- package/dist/index.d.ts +575 -300
- package/dist/index.js +3435 -610
- package/dist/index.js.map +1 -1
- package/package.json +8 -9
- package/src/app-data.ts +94 -0
- package/src/app-extension.ts +162 -93
- package/src/app-utility-proxy.ts +154 -103
- package/src/descriptor.ts +33 -6
- package/src/generator/generator.ts +3 -6
- package/src/generator/locale-resources-generator.ts +30 -28
- package/src/gs1/character-set-proxy.ts +8 -8
- package/src/gs1/check-proxy.ts +14 -14
- package/src/gs1/gtin-creator-proxy.ts +12 -25
- package/src/gs1/gtin-descriptor.ts +0 -21
- package/src/gs1/gtin-validator-proxy.ts +34 -35
- package/src/gs1/identifier-creator-proxy.ts +44 -32
- package/src/gs1/identifier-descriptor.ts +15 -0
- package/src/gs1/identifier-type.ts +37 -0
- package/src/gs1/identifier-validator-proxy.ts +52 -19
- package/src/gs1/index.ts +8 -0
- package/src/gs1/non-gtin-creator-proxy.ts +22 -22
- package/src/gs1/non-gtin-validator-proxy.ts +22 -22
- package/src/gs1/prefix-manager-proxy.ts +199 -4
- package/src/gs1/service-proxy.ts +56 -0
- package/src/gs1/variable-measure-proxy.ts +61 -0
- package/src/index.ts +6 -0
- package/src/lib-proxy.ts +112 -70
- package/src/locale/en/locale-resources.ts +147 -34
- package/src/locale/fr/locale-resources.ts +147 -34
- package/src/locale/i18n.ts +2 -5
- package/src/proxy.ts +82 -106
- package/src/streaming.ts +13 -0
- package/src/type.ts +8 -7
- package/src/utility/character-set-proxy.ts +33 -32
- package/src/utility/reg-exp-proxy.ts +7 -6
- package/src/utility/string-proxy.ts +3 -7
- package/src/utility/transformer-proxy.ts +19 -13
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { I18nEnvironment,
|
|
1
|
+
import { I18nEnvironment, MemoryTransport, Promisable, Hyperlink, Nullishable } from '@aidc-toolkit/core';
|
|
2
2
|
import { Resource, i18n } from 'i18next';
|
|
3
|
+
import { Logger } from 'tslog';
|
|
3
4
|
import { StringValidation, StringValidator, CharacterSetValidator, Exclusion, CharacterSetCreator } from '@aidc-toolkit/utility';
|
|
4
5
|
import { NumericIdentifierType, IdentifierType, IdentifierTypeValidator, GTINType, NonGTINNumericIdentifierType, NonSerializableNumericIdentifierType, SerializableNumericIdentifierType, NonNumericIdentifierType, NonNumericIdentifierValidation, GTINLevel, PrefixType, NumericIdentifierCreator, IdentifierValidation, IdentifierCreator, PrefixManager, NumericIdentifierValidation, NonGTINNumericIdentifierCreator, SerializableNumericIdentifierCreator, NonNumericIdentifierCreator, GTINCreator } from '@aidc-toolkit/gs1';
|
|
5
6
|
|
|
@@ -8,8 +9,6 @@ declare const _default: {
|
|
|
8
9
|
sequenceCountMustBeLessThanOrEqualTo: string;
|
|
9
10
|
};
|
|
10
11
|
Proxy: {
|
|
11
|
-
vSpillMustBeHorizontalArray: string;
|
|
12
|
-
hSpillMustBeVerticalArray: string;
|
|
13
12
|
matrixMustBeArray: string;
|
|
14
13
|
};
|
|
15
14
|
IdentifierCreatorProxy: {
|
|
@@ -20,6 +19,9 @@ declare const _default: {
|
|
|
20
19
|
invalidPrefixType: string;
|
|
21
20
|
tweakFactorMustBeNumber: string;
|
|
22
21
|
};
|
|
22
|
+
ServiceProxy: {
|
|
23
|
+
invalidIdentifierType: string;
|
|
24
|
+
};
|
|
23
25
|
Parameters: {
|
|
24
26
|
spillMatrix: {
|
|
25
27
|
name: string;
|
|
@@ -121,6 +123,10 @@ declare const _default: {
|
|
|
121
123
|
name: string;
|
|
122
124
|
description: string;
|
|
123
125
|
};
|
|
126
|
+
splitIdentifier: {
|
|
127
|
+
name: string;
|
|
128
|
+
description: string;
|
|
129
|
+
};
|
|
124
130
|
zeroSuppressibleGTIN12: {
|
|
125
131
|
name: string;
|
|
126
132
|
description: string;
|
|
@@ -145,23 +151,23 @@ declare const _default: {
|
|
|
145
151
|
name: string;
|
|
146
152
|
description: string;
|
|
147
153
|
};
|
|
148
|
-
|
|
154
|
+
gcpLengthIdentifier: {
|
|
149
155
|
name: string;
|
|
150
156
|
description: string;
|
|
151
157
|
};
|
|
152
|
-
|
|
158
|
+
baseIdentifier: {
|
|
153
159
|
name: string;
|
|
154
160
|
description: string;
|
|
155
161
|
};
|
|
156
|
-
|
|
162
|
+
hyperlinkIdentifier: {
|
|
157
163
|
name: string;
|
|
158
164
|
description: string;
|
|
159
165
|
};
|
|
160
|
-
|
|
166
|
+
indicatorDigit: {
|
|
161
167
|
name: string;
|
|
162
168
|
description: string;
|
|
163
169
|
};
|
|
164
|
-
|
|
170
|
+
gtinLevel: {
|
|
165
171
|
name: string;
|
|
166
172
|
description: string;
|
|
167
173
|
};
|
|
@@ -177,6 +183,10 @@ declare const _default: {
|
|
|
177
183
|
name: string;
|
|
178
184
|
description: string;
|
|
179
185
|
};
|
|
186
|
+
identifierType: {
|
|
187
|
+
name: string;
|
|
188
|
+
description: string;
|
|
189
|
+
};
|
|
180
190
|
prefixDefinitionAny: {
|
|
181
191
|
name: string;
|
|
182
192
|
description: string;
|
|
@@ -189,6 +199,22 @@ declare const _default: {
|
|
|
189
199
|
name: string;
|
|
190
200
|
description: string;
|
|
191
201
|
};
|
|
202
|
+
serialComponent: {
|
|
203
|
+
name: string;
|
|
204
|
+
description: string;
|
|
205
|
+
};
|
|
206
|
+
reference: {
|
|
207
|
+
name: string;
|
|
208
|
+
description: string;
|
|
209
|
+
};
|
|
210
|
+
rcnFormat: {
|
|
211
|
+
name: string;
|
|
212
|
+
description: string;
|
|
213
|
+
};
|
|
214
|
+
rcn: {
|
|
215
|
+
name: string;
|
|
216
|
+
description: string;
|
|
217
|
+
};
|
|
192
218
|
rcnItemReference: {
|
|
193
219
|
name: string;
|
|
194
220
|
description: string;
|
|
@@ -197,11 +223,11 @@ declare const _default: {
|
|
|
197
223
|
name: string;
|
|
198
224
|
description: string;
|
|
199
225
|
};
|
|
200
|
-
|
|
226
|
+
hyperlinkText: {
|
|
201
227
|
name: string;
|
|
202
228
|
description: string;
|
|
203
229
|
};
|
|
204
|
-
|
|
230
|
+
hyperlinkDetails: {
|
|
205
231
|
name: string;
|
|
206
232
|
description: string;
|
|
207
233
|
};
|
|
@@ -211,11 +237,7 @@ declare const _default: {
|
|
|
211
237
|
name: string;
|
|
212
238
|
description: string;
|
|
213
239
|
};
|
|
214
|
-
|
|
215
|
-
name: string;
|
|
216
|
-
description: string;
|
|
217
|
-
};
|
|
218
|
-
hSpill: {
|
|
240
|
+
spill: {
|
|
219
241
|
name: string;
|
|
220
242
|
description: string;
|
|
221
243
|
};
|
|
@@ -396,14 +418,26 @@ declare const _default: {
|
|
|
396
418
|
name: string;
|
|
397
419
|
description: string;
|
|
398
420
|
};
|
|
421
|
+
isValidGTIN13: {
|
|
422
|
+
name: string;
|
|
423
|
+
description: string;
|
|
424
|
+
};
|
|
399
425
|
validateGTIN12: {
|
|
400
426
|
name: string;
|
|
401
427
|
description: string;
|
|
402
428
|
};
|
|
429
|
+
isValidGTIN12: {
|
|
430
|
+
name: string;
|
|
431
|
+
description: string;
|
|
432
|
+
};
|
|
403
433
|
validateGTIN8: {
|
|
404
434
|
name: string;
|
|
405
435
|
description: string;
|
|
406
436
|
};
|
|
437
|
+
isValidGTIN8: {
|
|
438
|
+
name: string;
|
|
439
|
+
description: string;
|
|
440
|
+
};
|
|
407
441
|
zeroSuppressGTIN12: {
|
|
408
442
|
name: string;
|
|
409
443
|
description: string;
|
|
@@ -424,11 +458,15 @@ declare const _default: {
|
|
|
424
458
|
name: string;
|
|
425
459
|
description: string;
|
|
426
460
|
};
|
|
461
|
+
isValidGTIN: {
|
|
462
|
+
name: string;
|
|
463
|
+
description: string;
|
|
464
|
+
};
|
|
427
465
|
validateGTIN14: {
|
|
428
466
|
name: string;
|
|
429
467
|
description: string;
|
|
430
468
|
};
|
|
431
|
-
|
|
469
|
+
isValidGTIN14: {
|
|
432
470
|
name: string;
|
|
433
471
|
description: string;
|
|
434
472
|
};
|
|
@@ -436,50 +474,118 @@ declare const _default: {
|
|
|
436
474
|
name: string;
|
|
437
475
|
description: string;
|
|
438
476
|
};
|
|
477
|
+
isValidGLN: {
|
|
478
|
+
name: string;
|
|
479
|
+
description: string;
|
|
480
|
+
};
|
|
439
481
|
validateSSCC: {
|
|
440
482
|
name: string;
|
|
441
483
|
description: string;
|
|
442
484
|
};
|
|
485
|
+
isValidSSCC: {
|
|
486
|
+
name: string;
|
|
487
|
+
description: string;
|
|
488
|
+
};
|
|
443
489
|
validateGRAI: {
|
|
444
490
|
name: string;
|
|
445
491
|
description: string;
|
|
446
492
|
};
|
|
493
|
+
isValidGRAI: {
|
|
494
|
+
name: string;
|
|
495
|
+
description: string;
|
|
496
|
+
};
|
|
497
|
+
splitGRAI: {
|
|
498
|
+
name: string;
|
|
499
|
+
description: string;
|
|
500
|
+
};
|
|
447
501
|
validateGIAI: {
|
|
448
502
|
name: string;
|
|
449
503
|
description: string;
|
|
450
504
|
};
|
|
505
|
+
isValidGIAI: {
|
|
506
|
+
name: string;
|
|
507
|
+
description: string;
|
|
508
|
+
};
|
|
451
509
|
validateGSRN: {
|
|
452
510
|
name: string;
|
|
453
511
|
description: string;
|
|
454
512
|
};
|
|
513
|
+
isValidGSRN: {
|
|
514
|
+
name: string;
|
|
515
|
+
description: string;
|
|
516
|
+
};
|
|
455
517
|
validateGDTI: {
|
|
456
518
|
name: string;
|
|
457
519
|
description: string;
|
|
458
520
|
};
|
|
521
|
+
isValidGDTI: {
|
|
522
|
+
name: string;
|
|
523
|
+
description: string;
|
|
524
|
+
};
|
|
525
|
+
splitGDTI: {
|
|
526
|
+
name: string;
|
|
527
|
+
description: string;
|
|
528
|
+
};
|
|
459
529
|
validateGINC: {
|
|
460
530
|
name: string;
|
|
461
531
|
description: string;
|
|
462
532
|
};
|
|
533
|
+
isValidGINC: {
|
|
534
|
+
name: string;
|
|
535
|
+
description: string;
|
|
536
|
+
};
|
|
463
537
|
validateGSIN: {
|
|
464
538
|
name: string;
|
|
465
539
|
description: string;
|
|
466
540
|
};
|
|
541
|
+
isValidGSIN: {
|
|
542
|
+
name: string;
|
|
543
|
+
description: string;
|
|
544
|
+
};
|
|
467
545
|
validateGCN: {
|
|
468
546
|
name: string;
|
|
469
547
|
description: string;
|
|
470
548
|
};
|
|
549
|
+
isValidGCN: {
|
|
550
|
+
name: string;
|
|
551
|
+
description: string;
|
|
552
|
+
};
|
|
553
|
+
splitGCN: {
|
|
554
|
+
name: string;
|
|
555
|
+
description: string;
|
|
556
|
+
};
|
|
471
557
|
validateCPID: {
|
|
472
558
|
name: string;
|
|
473
559
|
description: string;
|
|
474
560
|
};
|
|
561
|
+
isValidCPID: {
|
|
562
|
+
name: string;
|
|
563
|
+
description: string;
|
|
564
|
+
};
|
|
475
565
|
validateGMN: {
|
|
476
566
|
name: string;
|
|
477
567
|
description: string;
|
|
478
568
|
};
|
|
569
|
+
isValidGMN: {
|
|
570
|
+
name: string;
|
|
571
|
+
description: string;
|
|
572
|
+
};
|
|
479
573
|
definePrefix: {
|
|
480
574
|
name: string;
|
|
481
575
|
description: string;
|
|
482
576
|
};
|
|
577
|
+
gcpLength: {
|
|
578
|
+
name: string;
|
|
579
|
+
description: string;
|
|
580
|
+
};
|
|
581
|
+
gcpLengthDateTime: {
|
|
582
|
+
name: string;
|
|
583
|
+
description: string;
|
|
584
|
+
};
|
|
585
|
+
gcpLengthDisclaimer: {
|
|
586
|
+
name: string;
|
|
587
|
+
description: string;
|
|
588
|
+
};
|
|
483
589
|
createGTIN: {
|
|
484
590
|
name: string;
|
|
485
591
|
description: string;
|
|
@@ -496,10 +602,6 @@ declare const _default: {
|
|
|
496
602
|
name: string;
|
|
497
603
|
description: string;
|
|
498
604
|
};
|
|
499
|
-
createVariableMeasureRCN: {
|
|
500
|
-
name: string;
|
|
501
|
-
description: string;
|
|
502
|
-
};
|
|
503
605
|
createGLN: {
|
|
504
606
|
name: string;
|
|
505
607
|
description: string;
|
|
@@ -624,6 +726,18 @@ declare const _default: {
|
|
|
624
726
|
name: string;
|
|
625
727
|
description: string;
|
|
626
728
|
};
|
|
729
|
+
parseVariableMeasureRCN: {
|
|
730
|
+
name: string;
|
|
731
|
+
description: string;
|
|
732
|
+
};
|
|
733
|
+
createVariableMeasureRCN: {
|
|
734
|
+
name: string;
|
|
735
|
+
description: string;
|
|
736
|
+
};
|
|
737
|
+
verifiedByGS1: {
|
|
738
|
+
name: string;
|
|
739
|
+
description: string;
|
|
740
|
+
};
|
|
627
741
|
};
|
|
628
742
|
};
|
|
629
743
|
};
|
|
@@ -646,9 +760,6 @@ declare const i18nextAppExtension: i18n;
|
|
|
646
760
|
*
|
|
647
761
|
* @param debug
|
|
648
762
|
* Debug setting.
|
|
649
|
-
*
|
|
650
|
-
* @returns
|
|
651
|
-
* Void promise.
|
|
652
763
|
*/
|
|
653
764
|
declare function i18nAppExtensionInit(environment: I18nEnvironment, debug?: boolean): Promise<void>;
|
|
654
765
|
|
|
@@ -713,8 +824,9 @@ interface SheetRange extends Sheet, Range {
|
|
|
713
824
|
*/
|
|
714
825
|
type Matrix<T> = T[][];
|
|
715
826
|
/**
|
|
716
|
-
* Function
|
|
717
|
-
* value, the result is the union of the
|
|
827
|
+
* Function singleton return, possibly including an error return. If the application extension reports errors through
|
|
828
|
+
* the return value, the result is the union of the return type and the error type; otherwise, it's just the return
|
|
829
|
+
* type.
|
|
718
830
|
*
|
|
719
831
|
* @template TResult
|
|
720
832
|
* Result type.
|
|
@@ -725,11 +837,11 @@ type Matrix<T> = T[][];
|
|
|
725
837
|
* @template TError
|
|
726
838
|
* Error type.
|
|
727
839
|
*/
|
|
728
|
-
type
|
|
840
|
+
type SingletonResult<TResult, ThrowError extends boolean, TError extends ErrorExtends<ThrowError>> = ThrowError extends false ? TResult | TError : TResult;
|
|
729
841
|
/**
|
|
730
|
-
* Function
|
|
731
|
-
* errors through the return value, the individual element result is the union of the
|
|
732
|
-
* otherwise, it's just the
|
|
842
|
+
* Function matrix return, possibly including an error return in each element. If the application extension reports
|
|
843
|
+
* errors through the return value, the individual element result is the union of the return type and the error type;
|
|
844
|
+
* otherwise, it's just the return type.
|
|
733
845
|
*
|
|
734
846
|
* @template TResult
|
|
735
847
|
* Result type.
|
|
@@ -740,7 +852,42 @@ type ResultError<TResult, ThrowError extends boolean, TError extends ErrorExtend
|
|
|
740
852
|
* @template TError
|
|
741
853
|
* Error type.
|
|
742
854
|
*/
|
|
743
|
-
type
|
|
855
|
+
type MatrixResult<TResult, ThrowError extends boolean, TError extends ErrorExtends<ThrowError>> = Matrix<SingletonResult<TResult, ThrowError, TError>>;
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Application data.
|
|
859
|
+
*/
|
|
860
|
+
type AppData = string | number | boolean | Date | Uint8Array | object;
|
|
861
|
+
/**
|
|
862
|
+
* Decode application data from an encoded string.
|
|
863
|
+
*
|
|
864
|
+
* @param stringData
|
|
865
|
+
* String data.
|
|
866
|
+
*
|
|
867
|
+
* @returns
|
|
868
|
+
* Decoded application data.
|
|
869
|
+
*/
|
|
870
|
+
declare function decodeAppData(stringData: string): AppData | undefined;
|
|
871
|
+
/**
|
|
872
|
+
* Encode application data as a string for storage. Encoded string is in JSON format with date/time and binary data
|
|
873
|
+
* converted to identifiable strings for decoding.
|
|
874
|
+
*
|
|
875
|
+
* @param appData
|
|
876
|
+
* Application data.
|
|
877
|
+
*
|
|
878
|
+
* @returns
|
|
879
|
+
* Encoded application data.
|
|
880
|
+
*/
|
|
881
|
+
declare function encodeAppData(appData: AppData): string;
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Streaming consumer callback, returned by application extension implementation.
|
|
885
|
+
*/
|
|
886
|
+
type StreamingConsumerCallback<TResult, ThrowError extends boolean, TError extends ErrorExtends<ThrowError>> = (result: MatrixResult<TResult, ThrowError, TError>) => void;
|
|
887
|
+
/**
|
|
888
|
+
* Streaming cancelled callback, passed to application extension implementation.
|
|
889
|
+
*/
|
|
890
|
+
type StreamingCancelledCallback = () => void;
|
|
744
891
|
|
|
745
892
|
/**
|
|
746
893
|
* Application extension.
|
|
@@ -754,11 +901,22 @@ type MatrixResultError<TResult, ThrowError extends boolean, TError extends Error
|
|
|
754
901
|
* @template TInvocationContext
|
|
755
902
|
* Application-specific invocation context type.
|
|
756
903
|
*
|
|
904
|
+
* @template TStreamingInvocationContext
|
|
905
|
+
* Application-specific streaming invocation context type.
|
|
906
|
+
*
|
|
757
907
|
* @template TBigInt
|
|
758
908
|
* Type to which big integer is mapped.
|
|
759
909
|
*/
|
|
760
|
-
declare abstract class AppExtension<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> {
|
|
910
|
+
declare abstract class AppExtension<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
761
911
|
#private;
|
|
912
|
+
/**
|
|
913
|
+
* Application name prefix for properties and application data.
|
|
914
|
+
*/
|
|
915
|
+
static readonly APPLICATION_NAME_PREFIX = "AIDCToolkit.";
|
|
916
|
+
/**
|
|
917
|
+
* Version property name.
|
|
918
|
+
*/
|
|
919
|
+
static readonly VERSION_NAME: string;
|
|
762
920
|
/**
|
|
763
921
|
* Constructor.
|
|
764
922
|
*
|
|
@@ -771,7 +929,11 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
771
929
|
* @param throwError
|
|
772
930
|
* If true, errors are reported through the throw/catch mechanism.
|
|
773
931
|
*/
|
|
774
|
-
constructor(version: string, maximumSequenceCount: number, throwError: ThrowError);
|
|
932
|
+
protected constructor(version: string, maximumSequenceCount: number, throwError: ThrowError);
|
|
933
|
+
/**
|
|
934
|
+
* Initialize the application extension.
|
|
935
|
+
*/
|
|
936
|
+
initialize(): Promise<void>;
|
|
775
937
|
/**
|
|
776
938
|
* Get the version.
|
|
777
939
|
*
|
|
@@ -784,33 +946,21 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
784
946
|
*/
|
|
785
947
|
get throwError(): ThrowError;
|
|
786
948
|
/**
|
|
787
|
-
* Get the
|
|
788
|
-
*
|
|
789
|
-
* @returns
|
|
790
|
-
* Maximum width supported by the application.
|
|
949
|
+
* Get the logger.
|
|
791
950
|
*/
|
|
792
|
-
|
|
951
|
+
get logger(): Logger<object>;
|
|
793
952
|
/**
|
|
794
|
-
* Get the
|
|
795
|
-
*
|
|
796
|
-
* @returns
|
|
797
|
-
* Maximum width supported by the application.
|
|
953
|
+
* Get the logger memory transport.
|
|
798
954
|
*/
|
|
799
|
-
|
|
955
|
+
get memoryTransport(): MemoryTransport<object>;
|
|
800
956
|
/**
|
|
801
|
-
* Get the maximum
|
|
802
|
-
*
|
|
803
|
-
* @returns
|
|
804
|
-
* Maximum height supported by the application.
|
|
957
|
+
* Get the maximum width supported by the application.
|
|
805
958
|
*/
|
|
806
|
-
|
|
959
|
+
abstract get maximumWidth(): number;
|
|
807
960
|
/**
|
|
808
961
|
* Get the maximum height supported by the application.
|
|
809
|
-
*
|
|
810
|
-
* @returns
|
|
811
|
-
* Maximum height supported by the application.
|
|
812
962
|
*/
|
|
813
|
-
|
|
963
|
+
abstract get maximumHeight(): number;
|
|
814
964
|
/**
|
|
815
965
|
* Get the sheet address from an invocation context.
|
|
816
966
|
*
|
|
@@ -820,7 +970,7 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
820
970
|
* @returns
|
|
821
971
|
* Sheet address.
|
|
822
972
|
*/
|
|
823
|
-
abstract getSheetAddress(invocationContext: TInvocationContext):
|
|
973
|
+
abstract getSheetAddress(invocationContext: TInvocationContext): Promisable<SheetAddress>;
|
|
824
974
|
/**
|
|
825
975
|
* Get a parameter range from an invocation context.
|
|
826
976
|
*
|
|
@@ -833,7 +983,80 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
833
983
|
* @returns
|
|
834
984
|
* Sheet range or null if parameter is not a range.
|
|
835
985
|
*/
|
|
836
|
-
abstract getParameterSheetRange(invocationContext: TInvocationContext, parameterNumber: number):
|
|
986
|
+
abstract getParameterSheetRange(invocationContext: TInvocationContext, parameterNumber: number): Promisable<SheetRange | null>;
|
|
987
|
+
/**
|
|
988
|
+
* Set up streaming for a streaming function.
|
|
989
|
+
*
|
|
990
|
+
* @param streamingInvocationContext
|
|
991
|
+
* Streaming invocation context.
|
|
992
|
+
*
|
|
993
|
+
* @param streamingCancelledCallback
|
|
994
|
+
* Streaming cancelled callback, called when streaming is cancelled.
|
|
995
|
+
*
|
|
996
|
+
* @returns
|
|
997
|
+
* Streaming consumer callback, called when stream contents updated.
|
|
998
|
+
*/
|
|
999
|
+
abstract setUpStreaming<TResult>(streamingInvocationContext: TStreamingInvocationContext, streamingCancelledCallback: StreamingCancelledCallback): StreamingConsumerCallback<TResult, ThrowError, TError>;
|
|
1000
|
+
/**
|
|
1001
|
+
* Get a property stored within the active file.
|
|
1002
|
+
*
|
|
1003
|
+
* @param name
|
|
1004
|
+
* Property name.
|
|
1005
|
+
*
|
|
1006
|
+
* @returns
|
|
1007
|
+
* Property value or undefined if no value is stored under the given name.
|
|
1008
|
+
*/
|
|
1009
|
+
abstract getFileProperty(name: string): Promisable<string | undefined>;
|
|
1010
|
+
/**
|
|
1011
|
+
* Set a property to be stored within the active file.
|
|
1012
|
+
*
|
|
1013
|
+
* @param name
|
|
1014
|
+
* Property name.
|
|
1015
|
+
*
|
|
1016
|
+
* @param value
|
|
1017
|
+
* Property value or null to remove.
|
|
1018
|
+
*/
|
|
1019
|
+
abstract setFileProperty(name: string, value: string | null): Promisable<void>;
|
|
1020
|
+
/**
|
|
1021
|
+
* Get application data stored within the active file.
|
|
1022
|
+
*
|
|
1023
|
+
* @param name
|
|
1024
|
+
* Name under which data is stored.
|
|
1025
|
+
*
|
|
1026
|
+
* @returns
|
|
1027
|
+
* Application data or undefined if no data is stored under the given name.
|
|
1028
|
+
*/
|
|
1029
|
+
abstract getFileData(name: string): Promisable<AppData | undefined>;
|
|
1030
|
+
/**
|
|
1031
|
+
* Set application data to be stored within the active file.
|
|
1032
|
+
*
|
|
1033
|
+
* @param name
|
|
1034
|
+
* Name under which to store data.
|
|
1035
|
+
*
|
|
1036
|
+
* @param appData
|
|
1037
|
+
* Application data or null to remove.
|
|
1038
|
+
*/
|
|
1039
|
+
abstract setFileData(name: string, appData: AppData | null): Promisable<void>;
|
|
1040
|
+
/**
|
|
1041
|
+
* Get application data stored and shared across multiple files.
|
|
1042
|
+
*
|
|
1043
|
+
* @param name
|
|
1044
|
+
* Name under which data is stored.
|
|
1045
|
+
*
|
|
1046
|
+
* @returns
|
|
1047
|
+
* Application ata or undefined if no data is stored under the given name.
|
|
1048
|
+
*/
|
|
1049
|
+
abstract getSharedData(name: string): Promisable<AppData | undefined>;
|
|
1050
|
+
/**
|
|
1051
|
+
* Set application data to be stored and shared across multiple files.
|
|
1052
|
+
*
|
|
1053
|
+
* @param name
|
|
1054
|
+
* Name under which to store data.
|
|
1055
|
+
*
|
|
1056
|
+
* @param appData
|
|
1057
|
+
* Application data or null to remove.
|
|
1058
|
+
*/
|
|
1059
|
+
abstract setSharedData(name: string, appData: AppData | null): Promisable<void>;
|
|
837
1060
|
/**
|
|
838
1061
|
* Validate a sequence count against the maximum supported by application.
|
|
839
1062
|
*
|
|
@@ -850,7 +1073,20 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
850
1073
|
* @returns
|
|
851
1074
|
* Mapped big integer value.
|
|
852
1075
|
*/
|
|
853
|
-
abstract mapBigInt(value: bigint):
|
|
1076
|
+
abstract mapBigInt(value: bigint): SingletonResult<TBigInt, ThrowError, TError>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Map hyperlink results to a form suitable for the application.
|
|
1079
|
+
*
|
|
1080
|
+
* @param invocationContext
|
|
1081
|
+
* Invocation context.
|
|
1082
|
+
*
|
|
1083
|
+
* @param matrixHyperlinkResults
|
|
1084
|
+
* Matrix of hyperlink results from function call.
|
|
1085
|
+
*
|
|
1086
|
+
* @returns
|
|
1087
|
+
* Matrix of results in a form suitable for the application.
|
|
1088
|
+
*/
|
|
1089
|
+
abstract mapHyperlinkResults(invocationContext: TInvocationContext, matrixHyperlinkResults: MatrixResult<Hyperlink, ThrowError, TError>): Promisable<MatrixResult<unknown, ThrowError, TError>>;
|
|
854
1090
|
/**
|
|
855
1091
|
* Map a range error (thrown by the library) to an application-specific error. If errors are reported through the
|
|
856
1092
|
* throw/catch mechanism, the implementation may return the range error unmodified if that is supported.
|
|
@@ -866,38 +1102,6 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
866
1102
|
* Message to include in the error.
|
|
867
1103
|
*/
|
|
868
1104
|
abstract handleError(message: string): never;
|
|
869
|
-
/**
|
|
870
|
-
* Bind a synchronous method and wrap it in a try/catch for comprehensive error handling.
|
|
871
|
-
*
|
|
872
|
-
* @template TMethod
|
|
873
|
-
* Method type.
|
|
874
|
-
*
|
|
875
|
-
* @param thisArg
|
|
876
|
-
* The value to be passed as the `this` parameter to the method.
|
|
877
|
-
*
|
|
878
|
-
* @param method
|
|
879
|
-
* Method to call.
|
|
880
|
-
*
|
|
881
|
-
* @returns
|
|
882
|
-
* Function wrapped around the method.
|
|
883
|
-
*/
|
|
884
|
-
bindSync<TMethod extends TypedSyncFunction<TMethod>>(thisArg: ThisParameterType<TMethod>, method: TMethod): TypedFunction<TMethod>;
|
|
885
|
-
/**
|
|
886
|
-
* Bind an asynchronous method and wrap it in a try/catch for comprehensive error handling.
|
|
887
|
-
*
|
|
888
|
-
* @template TMethod
|
|
889
|
-
* Method type.
|
|
890
|
-
*
|
|
891
|
-
* @param thisArg
|
|
892
|
-
* The value to be passed as the `this` parameter to the method.
|
|
893
|
-
*
|
|
894
|
-
* @param method
|
|
895
|
-
* Method to call.
|
|
896
|
-
*
|
|
897
|
-
* @returns
|
|
898
|
-
* Function wrapped around the method.
|
|
899
|
-
*/
|
|
900
|
-
bindAsync<TMethod extends TypedAsyncFunction<TMethod>>(thisArg: ThisParameterType<TMethod>, method: TMethod): TypedAsyncFunction<TMethod>;
|
|
901
1105
|
}
|
|
902
1106
|
|
|
903
1107
|
/**
|
|
@@ -912,10 +1116,13 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
912
1116
|
* @template TInvocationContext
|
|
913
1117
|
* Application-specific invocation context type.
|
|
914
1118
|
*
|
|
1119
|
+
* @template TStreamingInvocationContext
|
|
1120
|
+
* Application-specific streaming invocation context type.
|
|
1121
|
+
*
|
|
915
1122
|
* @template TBigInt
|
|
916
1123
|
* Type to which big integer is mapped.
|
|
917
1124
|
*/
|
|
918
|
-
declare abstract class LibProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> {
|
|
1125
|
+
declare abstract class LibProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
919
1126
|
#private;
|
|
920
1127
|
/**
|
|
921
1128
|
* Constructor.
|
|
@@ -923,11 +1130,11 @@ declare abstract class LibProxy<ThrowError extends boolean, TError extends Error
|
|
|
923
1130
|
* @param appExtension
|
|
924
1131
|
* Application extension.
|
|
925
1132
|
*/
|
|
926
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1133
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
927
1134
|
/**
|
|
928
1135
|
* Get the application extension.
|
|
929
1136
|
*/
|
|
930
|
-
get appExtension(): AppExtension<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1137
|
+
get appExtension(): AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
931
1138
|
/**
|
|
932
1139
|
* Map big integer to another type if necessary.
|
|
933
1140
|
*
|
|
@@ -937,22 +1144,59 @@ declare abstract class LibProxy<ThrowError extends boolean, TError extends Error
|
|
|
937
1144
|
* @returns
|
|
938
1145
|
* Mapped big integer value.
|
|
939
1146
|
*/
|
|
940
|
-
mapBigInt(value: bigint):
|
|
1147
|
+
mapBigInt(value: bigint): SingletonResult<TBigInt, ThrowError, TError>;
|
|
1148
|
+
/**
|
|
1149
|
+
* Call a singleton result function with error handling.
|
|
1150
|
+
*
|
|
1151
|
+
* @param callback
|
|
1152
|
+
* Callback.
|
|
1153
|
+
*
|
|
1154
|
+
* @returns
|
|
1155
|
+
* Callback return or error if errors are not thrown.
|
|
1156
|
+
*/
|
|
1157
|
+
singletonResult<TResult>(callback: () => SingletonResult<TResult, ThrowError, TError>): SingletonResult<TResult, ThrowError, TError>;
|
|
941
1158
|
/**
|
|
942
|
-
*
|
|
1159
|
+
* Call a matrix result function with error handling.
|
|
943
1160
|
*
|
|
944
1161
|
* @param matrixValues
|
|
945
1162
|
* Matrix of values.
|
|
946
1163
|
*
|
|
947
|
-
* @param
|
|
948
|
-
* Callback.
|
|
1164
|
+
* @param valueCallback
|
|
1165
|
+
* Callback to process value.
|
|
949
1166
|
*
|
|
950
1167
|
* @returns
|
|
951
1168
|
* Matrix of callback results and errors if errors are not thrown.
|
|
952
1169
|
*/
|
|
953
|
-
protected
|
|
1170
|
+
protected matrixResult<TValue, TResult>(matrixValues: Matrix<TValue>, valueCallback: (value: TValue) => SingletonResult<TResult, ThrowError, TError>): MatrixResult<TResult, ThrowError, TError>;
|
|
954
1171
|
/**
|
|
955
|
-
* Map a
|
|
1172
|
+
* Map a matrix of validate string results to boolean. If the string is empty, the result is true, indicating that
|
|
1173
|
+
* there is no error.
|
|
1174
|
+
*
|
|
1175
|
+
* @param matrixValidateResults
|
|
1176
|
+
* Matrix of results from a call to a validate function.
|
|
1177
|
+
*
|
|
1178
|
+
* @returns
|
|
1179
|
+
* Matrix of boolean values, true if corresponding string is empty.
|
|
1180
|
+
*/
|
|
1181
|
+
protected isValidString(matrixValidateResults: MatrixResult<string, ThrowError, TError>): Matrix<boolean>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Set up a mapping and call a matrix result function with error handling.
|
|
1184
|
+
*
|
|
1185
|
+
* @param setUpCallback
|
|
1186
|
+
* Callback to set up the mapping.
|
|
1187
|
+
*
|
|
1188
|
+
* @param matrixValues
|
|
1189
|
+
* Matrix of values.
|
|
1190
|
+
*
|
|
1191
|
+
* @param valueCallback
|
|
1192
|
+
* Callback to process value.
|
|
1193
|
+
*
|
|
1194
|
+
* @returns
|
|
1195
|
+
* Matrix of callback results and errors if errors are not thrown.
|
|
1196
|
+
*/
|
|
1197
|
+
protected setUpMatrixResult<TSetup, TValue, TResult>(setUpCallback: () => TSetup, matrixValues: Matrix<TValue>, valueCallback: (setup: TSetup, value: TValue) => SingletonResult<TResult, ThrowError, TError>): MatrixResult<TResult, ThrowError, TError>;
|
|
1198
|
+
/**
|
|
1199
|
+
* Call an array result function with error handling and map to a matrix.
|
|
956
1200
|
*
|
|
957
1201
|
* @param matrixValues
|
|
958
1202
|
* Matrix of values.
|
|
@@ -963,38 +1207,34 @@ declare abstract class LibProxy<ThrowError extends boolean, TError extends Error
|
|
|
963
1207
|
* @returns
|
|
964
1208
|
* Matrix of callback results and errors if errors are not thrown.
|
|
965
1209
|
*/
|
|
966
|
-
protected
|
|
1210
|
+
protected arrayResult<TValue, TResult>(matrixValues: Matrix<TValue>, callback: (value: TValue) => Array<SingletonResult<TResult, ThrowError, TError>>): MatrixResult<TResult, ThrowError, TError>;
|
|
967
1211
|
/**
|
|
968
|
-
*
|
|
969
|
-
*
|
|
970
|
-
* for that element is the error message.
|
|
1212
|
+
* Call a matrix result function with error handling and map a non-error result to an empty string and {@linkcode
|
|
1213
|
+
* RangeError} to the string error message.
|
|
971
1214
|
*
|
|
972
1215
|
* @param matrixValues
|
|
973
|
-
* Matrix
|
|
1216
|
+
* Matrix of values.
|
|
974
1217
|
*
|
|
975
1218
|
* @param callback
|
|
976
1219
|
* Callback that either returns or throws an exception.
|
|
977
1220
|
*
|
|
978
1221
|
* @returns
|
|
979
1222
|
* Matrix of strings.
|
|
980
|
-
*
|
|
981
|
-
* @template TValue
|
|
982
|
-
* Value type.
|
|
983
1223
|
*/
|
|
984
|
-
protected
|
|
1224
|
+
protected matrixErrorResult<TValue>(matrixValues: Matrix<TValue>, callback: (value: TValue) => void): Matrix<string>;
|
|
985
1225
|
/**
|
|
986
|
-
*
|
|
987
|
-
* single-element array containing an array of *N* results (i.e., [[r0, r1, r2, ..., r*N*]]), this is
|
|
988
|
-
* visually as a single row. The more readable approach is as a single column, so the mapping is to an
|
|
989
|
-
* array of single-element result arrays (i.e., [[r0], [r1], [r2], ..., [r*N*]]).
|
|
1226
|
+
* Call an iterable result function with error handling and map to a matrix. Although the natural approach would be
|
|
1227
|
+
* to map to a single-element array containing an array of *N* results (i.e., [[r0, r1, r2, ..., r*N*]]), this is
|
|
1228
|
+
* rendered visually as a single row. The more readable approach is as a single column, so the mapping is to an
|
|
1229
|
+
* *N*-element array of single-element result arrays (i.e., [[r0], [r1], [r2], ..., [r*N*]]).
|
|
990
1230
|
*
|
|
991
|
-
* @param
|
|
992
|
-
* Iterable
|
|
1231
|
+
* @param iterableCallback
|
|
1232
|
+
* Iterable callback.
|
|
993
1233
|
*
|
|
994
1234
|
* @returns
|
|
995
1235
|
* Matrix of callback results.
|
|
996
1236
|
*/
|
|
997
|
-
protected
|
|
1237
|
+
protected iterableResult<TResult>(iterableCallback: () => Iterable<SingletonResult<TResult, ThrowError, TError>>): MatrixResult<TResult, ThrowError, TError>;
|
|
998
1238
|
}
|
|
999
1239
|
|
|
1000
1240
|
/**
|
|
@@ -1044,7 +1284,7 @@ interface TypeDescriptor extends Descriptor {
|
|
|
1044
1284
|
*/
|
|
1045
1285
|
readonly type: Type;
|
|
1046
1286
|
/**
|
|
1047
|
-
* True if type is a matrix (method accepts or returns a two-dimensional array).
|
|
1287
|
+
* True if type is a matrix (method accepts or returns, or parameter is, a two-dimensional array).
|
|
1048
1288
|
*/
|
|
1049
1289
|
readonly isMatrix: boolean;
|
|
1050
1290
|
}
|
|
@@ -1070,6 +1310,19 @@ interface ExtendsParameterDescriptor extends Partial<ParameterDescriptor> {
|
|
|
1070
1310
|
*/
|
|
1071
1311
|
readonly sortOrder?: number;
|
|
1072
1312
|
}
|
|
1313
|
+
/**
|
|
1314
|
+
* Replacement parameter descriptor.
|
|
1315
|
+
*/
|
|
1316
|
+
interface ReplacementParameterDescriptor {
|
|
1317
|
+
/**
|
|
1318
|
+
* Name to replace.
|
|
1319
|
+
*/
|
|
1320
|
+
readonly name: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* Replacement parameter descriptor.
|
|
1323
|
+
*/
|
|
1324
|
+
readonly replacement: ParameterDescriptor;
|
|
1325
|
+
}
|
|
1073
1326
|
/**
|
|
1074
1327
|
* Method descriptor.
|
|
1075
1328
|
*/
|
|
@@ -1078,6 +1331,18 @@ interface MethodDescriptor extends TypeDescriptor {
|
|
|
1078
1331
|
* If true, application-specific invocation context is required.
|
|
1079
1332
|
*/
|
|
1080
1333
|
readonly requiresContext?: boolean;
|
|
1334
|
+
/**
|
|
1335
|
+
* If true, function is hidden from user interface.
|
|
1336
|
+
*/
|
|
1337
|
+
readonly isHidden?: boolean;
|
|
1338
|
+
/**
|
|
1339
|
+
* If true, function is volatile and should be reevaluated regularly.
|
|
1340
|
+
*/
|
|
1341
|
+
readonly isVolatile?: boolean;
|
|
1342
|
+
/**
|
|
1343
|
+
* If true, function opens a stream that updates asynchronously.
|
|
1344
|
+
*/
|
|
1345
|
+
readonly isStream?: boolean;
|
|
1081
1346
|
/**
|
|
1082
1347
|
* If true, method infix is ignored.
|
|
1083
1348
|
*/
|
|
@@ -1113,12 +1378,9 @@ interface ClassDescriptor extends Descriptor {
|
|
|
1113
1378
|
*/
|
|
1114
1379
|
readonly methodInfix?: string | undefined;
|
|
1115
1380
|
/**
|
|
1116
|
-
*
|
|
1381
|
+
* Replacement parameter descriptors for class hierarchies where parameter types can narrow
|
|
1117
1382
|
*/
|
|
1118
|
-
readonly
|
|
1119
|
-
readonly name: string;
|
|
1120
|
-
readonly replacement: ParameterDescriptor;
|
|
1121
|
-
}>;
|
|
1383
|
+
readonly replacementParameterDescriptors?: ReplacementParameterDescriptor[];
|
|
1122
1384
|
/**
|
|
1123
1385
|
* Class name in optional namespace.
|
|
1124
1386
|
*/
|
|
@@ -1136,7 +1398,7 @@ interface ClassDescriptor extends Descriptor {
|
|
|
1136
1398
|
/**
|
|
1137
1399
|
* Application utilities.
|
|
1138
1400
|
*
|
|
1139
|
-
|
|
1401
|
+
* @template ThrowError
|
|
1140
1402
|
* If true, errors are reported through the throw/catch mechanism.
|
|
1141
1403
|
*
|
|
1142
1404
|
* @template TError
|
|
@@ -1145,10 +1407,13 @@ interface ClassDescriptor extends Descriptor {
|
|
|
1145
1407
|
* @template TInvocationContext
|
|
1146
1408
|
* Application-specific invocation context type.
|
|
1147
1409
|
*
|
|
1410
|
+
* @template TStreamingInvocationContext
|
|
1411
|
+
* Application-specific streaming invocation context type.
|
|
1412
|
+
*
|
|
1148
1413
|
* @template TBigInt
|
|
1149
1414
|
* Type to which big integer is mapped.
|
|
1150
1415
|
*/
|
|
1151
|
-
declare class AppUtilityProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1416
|
+
declare class AppUtilityProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1152
1417
|
#private;
|
|
1153
1418
|
/**
|
|
1154
1419
|
* Get the version.
|
|
@@ -1158,29 +1423,10 @@ declare class AppUtilityProxy<ThrowError extends boolean, TError extends ErrorEx
|
|
|
1158
1423
|
*/
|
|
1159
1424
|
version(): string;
|
|
1160
1425
|
/**
|
|
1161
|
-
* Spill a
|
|
1162
|
-
*
|
|
1163
|
-
* @param hMatrixValues
|
|
1164
|
-
* Horizontal matrix values. Matrix has length 1 and contains a single array with the values.
|
|
1165
|
-
*
|
|
1166
|
-
* @param maximumWidth
|
|
1167
|
-
* Maximum width.
|
|
1168
|
-
*
|
|
1169
|
-
* @param maximumHeight
|
|
1170
|
-
* Maximum height.
|
|
1171
|
-
*
|
|
1172
|
-
* @param invocationContext
|
|
1173
|
-
* Invocation context.
|
|
1174
|
-
*
|
|
1175
|
-
* @returns
|
|
1176
|
-
* Matrix spilled within maximum width and maximum height.
|
|
1177
|
-
*/
|
|
1178
|
-
vSpill(hMatrixValues: Matrix<unknown>, maximumWidth: Nullishable<number>, maximumHeight: Nullishable<number>, invocationContext: Nullishable<TInvocationContext>): Promise<Matrix<unknown>>;
|
|
1179
|
-
/**
|
|
1180
|
-
* Spill a vertical matrix horizontally to fit within a maximum width and height.
|
|
1426
|
+
* Spill a one-dimensional matrix to fit a rectangle within a given maximum height and width.
|
|
1181
1427
|
*
|
|
1182
|
-
* @param
|
|
1183
|
-
*
|
|
1428
|
+
* @param matrixValues
|
|
1429
|
+
* Matrix values. Matrix is length 1 or contains arrays of length 1 with the values.
|
|
1184
1430
|
*
|
|
1185
1431
|
* @param maximumHeight
|
|
1186
1432
|
* Maximum height.
|
|
@@ -1194,275 +1440,304 @@ declare class AppUtilityProxy<ThrowError extends boolean, TError extends ErrorEx
|
|
|
1194
1440
|
* @returns
|
|
1195
1441
|
* Matrix spilled within maximum height and maximum width.
|
|
1196
1442
|
*/
|
|
1197
|
-
|
|
1443
|
+
spill(matrixValues: Matrix<unknown>, maximumHeight: Nullishable<number>, maximumWidth: Nullishable<number>, invocationContext: Nullishable<TInvocationContext>): Promise<MatrixResult<unknown, ThrowError, TError>>;
|
|
1444
|
+
/**
|
|
1445
|
+
* Get the logger messages as a stream.
|
|
1446
|
+
*
|
|
1447
|
+
* @param logLevelString
|
|
1448
|
+
* Log level as string.
|
|
1449
|
+
*
|
|
1450
|
+
* @param streamingInvocationContext
|
|
1451
|
+
* Streaming invocation context.
|
|
1452
|
+
*/
|
|
1453
|
+
loggerMessages(logLevelString: Nullishable<string>, streamingInvocationContext: Nullishable<TStreamingInvocationContext>): void;
|
|
1198
1454
|
}
|
|
1199
1455
|
|
|
1200
|
-
declare class TransformerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1201
|
-
forward(domain: number | bigint, matrixValues: Matrix<number | bigint>, tweak: Nullishable<number | bigint>):
|
|
1202
|
-
forwardSequence(domain: number | bigint, startValue: number, count: number, tweak: Nullishable<number | bigint>):
|
|
1203
|
-
reverse(domain: number | bigint, matrixTransformedValues: Matrix<number | bigint>, tweak: Nullishable<number | bigint>):
|
|
1456
|
+
declare class TransformerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1457
|
+
forward(domain: number | bigint, matrixValues: Matrix<number | bigint>, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
|
|
1458
|
+
forwardSequence(domain: number | bigint, startValue: number, count: number, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
|
|
1459
|
+
reverse(domain: number | bigint, matrixTransformedValues: Matrix<number | bigint>, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
|
|
1204
1460
|
}
|
|
1205
1461
|
|
|
1206
|
-
declare abstract class StringProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1462
|
+
declare abstract class StringProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1207
1463
|
protected validateString<TStringValidation extends StringValidation>(validator: StringValidator<TStringValidation>, matrixSs: Matrix<string>, validation?: TStringValidation): Matrix<string>;
|
|
1208
|
-
protected isValidString(matrixValidateResults: MatrixResultError<string, ThrowError, TError>): MatrixResultError<boolean, ThrowError, TError>;
|
|
1209
1464
|
}
|
|
1210
1465
|
|
|
1211
|
-
declare class RegExpProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1212
|
-
validate(regExp: string, matrixSs: Matrix<string>, errorMessage: Nullishable<string>):
|
|
1213
|
-
isValid(regExp: string, matrixSs: Matrix<string>):
|
|
1466
|
+
declare class RegExpProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1467
|
+
validate(regExp: string, matrixSs: Matrix<string>, errorMessage: Nullishable<string>): Matrix<string>;
|
|
1468
|
+
isValid(regExp: string, matrixSs: Matrix<string>): Matrix<boolean>;
|
|
1214
1469
|
}
|
|
1215
1470
|
|
|
1216
|
-
declare abstract class CharacterSetValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1471
|
+
declare abstract class CharacterSetValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1217
1472
|
#private;
|
|
1218
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, characterSetValidator: CharacterSetValidator);
|
|
1219
|
-
validate(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>):
|
|
1220
|
-
isValid(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>):
|
|
1473
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, characterSetValidator: CharacterSetValidator);
|
|
1474
|
+
validate(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>): Matrix<string>;
|
|
1475
|
+
isValid(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>): Matrix<boolean>;
|
|
1221
1476
|
}
|
|
1222
|
-
declare abstract class CharacterSetCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1477
|
+
declare abstract class CharacterSetCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1223
1478
|
#private;
|
|
1224
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, characterSetCreator: CharacterSetCreator);
|
|
1225
|
-
create(length: number, matrixValues: Matrix<number | bigint>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>):
|
|
1226
|
-
createSequence(length: number, startValue: number, count: number, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>):
|
|
1227
|
-
valueFor(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>):
|
|
1479
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, characterSetCreator: CharacterSetCreator);
|
|
1480
|
+
create(length: number, matrixValues: Matrix<number | bigint>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResult<string, ThrowError, TError>;
|
|
1481
|
+
createSequence(length: number, startValue: number, count: number, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResult<string, ThrowError, TError>;
|
|
1482
|
+
valueFor(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
|
|
1228
1483
|
}
|
|
1229
|
-
declare class NumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1230
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1484
|
+
declare class NumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1485
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1231
1486
|
}
|
|
1232
|
-
declare class HexadecimalProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1233
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1487
|
+
declare class HexadecimalProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1488
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1234
1489
|
}
|
|
1235
|
-
declare class AlphabeticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1236
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1490
|
+
declare class AlphabeticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1491
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1237
1492
|
}
|
|
1238
|
-
declare class AlphanumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1239
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1493
|
+
declare class AlphanumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1494
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1240
1495
|
}
|
|
1241
1496
|
|
|
1242
|
-
declare class AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1243
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1497
|
+
declare class AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1498
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1244
1499
|
}
|
|
1245
|
-
declare class AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1246
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1500
|
+
declare class AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1501
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1247
1502
|
}
|
|
1248
|
-
declare class AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1249
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1503
|
+
declare class AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1504
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1250
1505
|
}
|
|
1251
1506
|
|
|
1252
|
-
declare class CheckProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1253
|
-
checkDigit(matrixSs: Matrix<string>):
|
|
1254
|
-
hasValidCheckDigit(matrixSs: Matrix<string>):
|
|
1255
|
-
priceOrWeightCheckDigit(matrixSs: Matrix<string>):
|
|
1256
|
-
isValidPriceOrWeightCheckDigit(s: string, checkDigit: string):
|
|
1257
|
-
checkCharacterPair(matrixSs: Matrix<string>):
|
|
1258
|
-
hasValidCheckCharacterPair(matrixSs: Matrix<string>):
|
|
1507
|
+
declare class CheckProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1508
|
+
checkDigit(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1509
|
+
hasValidCheckDigit(matrixSs: Matrix<string>): MatrixResult<boolean, ThrowError, TError>;
|
|
1510
|
+
priceOrWeightCheckDigit(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1511
|
+
isValidPriceOrWeightCheckDigit(s: string, checkDigit: string): SingletonResult<boolean, ThrowError, TError>;
|
|
1512
|
+
checkCharacterPair(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1513
|
+
hasValidCheckCharacterPair(matrixSs: Matrix<string>): MatrixResult<boolean, ThrowError, TError>;
|
|
1259
1514
|
}
|
|
1260
1515
|
|
|
1261
|
-
declare abstract class IdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentifierType extends IdentifierType> extends StringProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1516
|
+
declare abstract class IdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TIdentifierType extends IdentifierType> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1262
1517
|
#private;
|
|
1263
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, validator: IdentifierTypeValidator<TIdentifierType>);
|
|
1518
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, validator: IdentifierTypeValidator<TIdentifierType>);
|
|
1264
1519
|
protected get validator(): IdentifierTypeValidator<TIdentifierType>;
|
|
1265
1520
|
}
|
|
1266
|
-
declare abstract class NumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNumericIdentifierType extends NumericIdentifierType> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNumericIdentifierType> {
|
|
1267
|
-
validate(matrixIdentifiers: Matrix<string>):
|
|
1521
|
+
declare abstract class NumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType extends NumericIdentifierType> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType> {
|
|
1522
|
+
validate(matrixIdentifiers: Matrix<string>): Matrix<string>;
|
|
1523
|
+
isValid(matrixIdentifiers: Matrix<string>): Matrix<boolean>;
|
|
1268
1524
|
}
|
|
1269
|
-
declare abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, GTINType> {
|
|
1525
|
+
declare abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, GTINType> {
|
|
1270
1526
|
}
|
|
1271
|
-
declare abstract class NonGTINNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonGTINNumericIdentifierType extends NonGTINNumericIdentifierType = NonGTINNumericIdentifierType> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonGTINNumericIdentifierType> {
|
|
1527
|
+
declare abstract class NonGTINNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType extends NonGTINNumericIdentifierType = NonGTINNumericIdentifierType> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType> {
|
|
1272
1528
|
}
|
|
1273
|
-
declare abstract class NonSerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonSerializableNumericIdentifierType> {
|
|
1529
|
+
declare abstract class NonSerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType> {
|
|
1274
1530
|
}
|
|
1275
|
-
declare abstract class SerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentifierType> {
|
|
1531
|
+
declare abstract class SerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, SerializableNumericIdentifierType> {
|
|
1532
|
+
split(matrixIdentifiers: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1276
1533
|
}
|
|
1277
|
-
declare abstract class NonNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonNumericIdentifierType> {
|
|
1278
|
-
validate(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>):
|
|
1534
|
+
declare abstract class NonNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonNumericIdentifierType> {
|
|
1535
|
+
validate(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>): Matrix<string>;
|
|
1536
|
+
isValid(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>): Matrix<boolean>;
|
|
1279
1537
|
}
|
|
1280
1538
|
|
|
1281
|
-
declare class GTIN13ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1282
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1539
|
+
declare class GTIN13ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1540
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1283
1541
|
}
|
|
1284
|
-
declare class GTIN12ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1285
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1542
|
+
declare class GTIN12ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1543
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1286
1544
|
}
|
|
1287
|
-
declare class GTIN8ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1288
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1545
|
+
declare class GTIN8ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1546
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1289
1547
|
}
|
|
1290
|
-
declare class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1291
|
-
zeroSuppressGTIN12(matrixGTIN12s: Matrix<string>):
|
|
1292
|
-
zeroExpandGTIN12(matrixZeroSuppressedGTIN12s: Matrix<string>):
|
|
1293
|
-
convertToGTIN14(indicatorDigit: string, matrixGTINs: Matrix<string>):
|
|
1294
|
-
normalizeGTIN(matrixGTINs: Matrix<string>):
|
|
1548
|
+
declare class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1549
|
+
zeroSuppressGTIN12(matrixGTIN12s: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1550
|
+
zeroExpandGTIN12(matrixZeroSuppressedGTIN12s: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1551
|
+
convertToGTIN14(indicatorDigit: string, matrixGTINs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1552
|
+
normalizeGTIN(matrixGTINs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1295
1553
|
validateGTIN(matrixGTINs: Matrix<string>, gtinLevel: Nullishable<GTINLevel>): Matrix<string>;
|
|
1554
|
+
isValidGTIN(matrixGTINs: Matrix<string>, gtinLevel: Nullishable<GTINLevel>): Matrix<boolean>;
|
|
1296
1555
|
validateGTIN14(matrixGTIN14s: Matrix<string>): Matrix<string>;
|
|
1297
|
-
|
|
1556
|
+
isValidGTIN14(matrixGTIN14s: Matrix<string>): Matrix<boolean>;
|
|
1298
1557
|
}
|
|
1299
1558
|
|
|
1300
|
-
declare class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1301
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1559
|
+
declare class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1560
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1302
1561
|
}
|
|
1303
|
-
declare class SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1304
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1562
|
+
declare class SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1563
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1305
1564
|
}
|
|
1306
|
-
declare class GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1307
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1565
|
+
declare class GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1566
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1308
1567
|
}
|
|
1309
|
-
declare class GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1310
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1568
|
+
declare class GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1569
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1311
1570
|
}
|
|
1312
|
-
declare class GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1313
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1571
|
+
declare class GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1572
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1314
1573
|
}
|
|
1315
|
-
declare class GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1316
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1574
|
+
declare class GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1575
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1317
1576
|
}
|
|
1318
|
-
declare class GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1319
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1577
|
+
declare class GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1578
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1320
1579
|
}
|
|
1321
|
-
declare class GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1322
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1580
|
+
declare class GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1581
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1323
1582
|
}
|
|
1324
|
-
declare class GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1325
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1583
|
+
declare class GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1584
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1326
1585
|
}
|
|
1327
|
-
declare class CPIDValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1328
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1586
|
+
declare class CPIDValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1587
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1329
1588
|
}
|
|
1330
|
-
declare class GMNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1331
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1589
|
+
declare class GMNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1590
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1332
1591
|
}
|
|
1333
1592
|
|
|
1334
|
-
declare class PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1593
|
+
declare class PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1594
|
+
#private;
|
|
1335
1595
|
definePrefix(prefix: string, prefixType: Nullishable<PrefixType>, tweakFactor: Nullishable<number>): Matrix<unknown>;
|
|
1596
|
+
gcpLength(identifierType: string, matrixIdentifiers: Matrix<string>): Promise<MatrixResult<number, ThrowError, TError>>;
|
|
1597
|
+
gcpLengthDateTime(): Promise<SingletonResult<string, ThrowError, TError>>;
|
|
1598
|
+
gcpLengthDisclaimer(): Promise<SingletonResult<string, ThrowError, TError>>;
|
|
1336
1599
|
}
|
|
1337
1600
|
|
|
1338
|
-
declare abstract class IdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentifierType extends IdentifierType, TIdentifierValidation extends IdentifierValidation, TIdentifierCreator extends IdentifierCreator<TIdentifierType, TIdentifierValidation>> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1601
|
+
declare abstract class IdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TIdentifierType extends IdentifierType, TIdentifierValidation extends IdentifierValidation, TIdentifierCreator extends IdentifierCreator<TIdentifierType, TIdentifierValidation>> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1339
1602
|
#private;
|
|
1340
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, getCreator: (prefixManager: PrefixManager) => TIdentifierCreator);
|
|
1603
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, getCreator: (prefixManager: PrefixManager) => TIdentifierCreator);
|
|
1341
1604
|
protected getCreator(prefixDefinition: Matrix<unknown>): TIdentifierCreator;
|
|
1342
1605
|
}
|
|
1343
|
-
declare abstract class NumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNumericIdentifierType extends NumericIdentifierType, TNumericIdentifierCreator extends NumericIdentifierCreator<TNumericIdentifierType>> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNumericIdentifierType, NumericIdentifierValidation, TNumericIdentifierCreator> {
|
|
1344
|
-
create(prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>):
|
|
1345
|
-
createSequence(prefixDefinition: Matrix<unknown>, startValue: number, count: number, sparse: Nullishable<boolean>):
|
|
1346
|
-
createAll(prefixDefinition: Matrix<unknown>):
|
|
1606
|
+
declare abstract class NumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType extends NumericIdentifierType, TNumericIdentifierCreator extends NumericIdentifierCreator<TNumericIdentifierType>> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNumericIdentifierType, NumericIdentifierValidation, TNumericIdentifierCreator> {
|
|
1607
|
+
create(prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
|
|
1608
|
+
createSequence(prefixDefinition: Matrix<unknown>, startValue: number, count: number, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
|
|
1609
|
+
createAll(prefixDefinition: Matrix<unknown>): MatrixResult<string, ThrowError, TError>;
|
|
1347
1610
|
}
|
|
1348
|
-
declare abstract class NonGTINNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonGTINNumericIdentifierType extends NonGTINNumericIdentifierType, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonGTINNumericIdentifierType, TNonGTINNumericIdentifierCreator> {
|
|
1611
|
+
declare abstract class NonGTINNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType extends NonGTINNumericIdentifierType, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonGTINNumericIdentifierType, TNonGTINNumericIdentifierCreator> {
|
|
1349
1612
|
}
|
|
1350
|
-
declare abstract class NonSerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TNonSerializableNumericIdentifierType extends NonSerializableNumericIdentifierType, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, TNonSerializableNumericIdentifierType, TNonGTINNumericIdentifierCreator> {
|
|
1613
|
+
declare abstract class NonSerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonSerializableNumericIdentifierType extends NonSerializableNumericIdentifierType, TNonGTINNumericIdentifierCreator extends NonGTINNumericIdentifierCreator> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, TNonSerializableNumericIdentifierType, TNonGTINNumericIdentifierCreator> {
|
|
1351
1614
|
}
|
|
1352
|
-
declare abstract class SerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentifierType, SerializableNumericIdentifierCreator> {
|
|
1353
|
-
createSerialized(prefixDefinition: Matrix<unknown>, value: number, matrixSerialComponents: Matrix<string>, sparse: Nullishable<boolean>):
|
|
1354
|
-
concatenate(baseIdentifier: string, matrixSerialComponents: Matrix<string>):
|
|
1615
|
+
declare abstract class SerializableNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, SerializableNumericIdentifierType, SerializableNumericIdentifierCreator> {
|
|
1616
|
+
createSerialized(prefixDefinition: Matrix<unknown>, value: number, matrixSerialComponents: Matrix<string>, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
|
|
1617
|
+
concatenate(baseIdentifier: string, matrixSerialComponents: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1355
1618
|
}
|
|
1356
|
-
declare abstract class NonNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonNumericIdentifierType, NonNumericIdentifierValidation, NonNumericIdentifierCreator> {
|
|
1357
|
-
create(prefixDefinition: Matrix<unknown>, matrixReferences: Matrix<string>):
|
|
1619
|
+
declare abstract class NonNumericIdentifierCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends IdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonNumericIdentifierType, NonNumericIdentifierValidation, NonNumericIdentifierCreator> {
|
|
1620
|
+
create(prefixDefinition: Matrix<unknown>, matrixReferences: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1358
1621
|
}
|
|
1359
1622
|
|
|
1360
|
-
declare class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, GTINType, GTINCreator> {
|
|
1361
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1362
|
-
createGTIN14(indicatorDigit: string, prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>):
|
|
1363
|
-
createVariableMeasureRCN(format: string, itemReference: number, matrixPricesOrWeights: Matrix<number>): MatrixResultError<string, ThrowError, TError>;
|
|
1623
|
+
declare class GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, GTINType, GTINCreator> {
|
|
1624
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1625
|
+
createGTIN14(indicatorDigit: string, prefixDefinition: Matrix<unknown>, matrixValues: Matrix<number | bigint>, sparse: Nullishable<boolean>): MatrixResult<string, ThrowError, TError>;
|
|
1364
1626
|
}
|
|
1365
1627
|
|
|
1366
|
-
declare class GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
|
|
1367
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1628
|
+
declare class GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
|
|
1629
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1368
1630
|
}
|
|
1369
|
-
declare class SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
|
|
1370
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1631
|
+
declare class SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
|
|
1632
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1371
1633
|
}
|
|
1372
|
-
declare class GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1373
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1634
|
+
declare class GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1635
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1374
1636
|
}
|
|
1375
|
-
declare class GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1376
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1637
|
+
declare class GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1638
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1377
1639
|
}
|
|
1378
|
-
declare class GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
|
|
1379
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1640
|
+
declare class GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
|
|
1641
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1380
1642
|
}
|
|
1381
|
-
declare class GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1382
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1643
|
+
declare class GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1644
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1383
1645
|
}
|
|
1384
|
-
declare class GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1385
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1646
|
+
declare class GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1647
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1386
1648
|
}
|
|
1387
|
-
declare class GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
|
|
1388
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1649
|
+
declare class GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType, NonGTINNumericIdentifierCreator> {
|
|
1650
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1389
1651
|
}
|
|
1390
|
-
declare class GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1391
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1652
|
+
declare class GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1653
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1392
1654
|
}
|
|
1393
|
-
declare class CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1394
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1655
|
+
declare class CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1656
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1395
1657
|
}
|
|
1396
|
-
declare class GMNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1397
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1658
|
+
declare class GMNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1659
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
declare class VariableMeasureProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1663
|
+
parseVariableMeasureRCN(format: string, matrixRCNs: Matrix<string>): MatrixResult<number, ThrowError, TError>;
|
|
1664
|
+
createVariableMeasureRCN(format: string, itemReference: number, matrixPricesOrWeights: Matrix<number>): MatrixResult<string, ThrowError, TError>;
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
declare class ServiceProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1668
|
+
verifiedByGS1(identifierType: string, matrixIdentifiers: Matrix<string>, text: Nullishable<string>, details: Nullishable<string>, invocationContext: Nullishable<TInvocationContext>): Promise<MatrixResult<unknown, ThrowError, TError>>;
|
|
1398
1669
|
}
|
|
1399
1670
|
|
|
1400
|
-
type index_AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = AI39Proxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1671
|
+
type index_AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = AI39Proxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1401
1672
|
declare const index_AI39Proxy: typeof AI39Proxy;
|
|
1402
|
-
type index_AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = AI64Proxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1673
|
+
type index_AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = AI64Proxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1403
1674
|
declare const index_AI64Proxy: typeof AI64Proxy;
|
|
1404
|
-
type index_AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = AI82Proxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1675
|
+
type index_AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = AI82Proxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1405
1676
|
declare const index_AI82Proxy: typeof AI82Proxy;
|
|
1406
|
-
type index_CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = CPIDCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1677
|
+
type index_CPIDCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = CPIDCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1407
1678
|
declare const index_CPIDCreatorProxy: typeof CPIDCreatorProxy;
|
|
1408
|
-
type index_CPIDValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = CPIDValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1679
|
+
type index_CPIDValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = CPIDValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1409
1680
|
declare const index_CPIDValidatorProxy: typeof CPIDValidatorProxy;
|
|
1410
|
-
type index_CheckProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = CheckProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1681
|
+
type index_CheckProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = CheckProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1411
1682
|
declare const index_CheckProxy: typeof CheckProxy;
|
|
1412
|
-
type index_GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GCNCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1683
|
+
type index_GCNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GCNCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1413
1684
|
declare const index_GCNCreatorProxy: typeof GCNCreatorProxy;
|
|
1414
|
-
type index_GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GCNValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1685
|
+
type index_GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GCNValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1415
1686
|
declare const index_GCNValidatorProxy: typeof GCNValidatorProxy;
|
|
1416
|
-
type index_GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GDTICreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1687
|
+
type index_GDTICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GDTICreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1417
1688
|
declare const index_GDTICreatorProxy: typeof GDTICreatorProxy;
|
|
1418
|
-
type index_GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GDTIValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1689
|
+
type index_GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GDTIValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1419
1690
|
declare const index_GDTIValidatorProxy: typeof GDTIValidatorProxy;
|
|
1420
|
-
type index_GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GIAICreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1691
|
+
type index_GIAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GIAICreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1421
1692
|
declare const index_GIAICreatorProxy: typeof GIAICreatorProxy;
|
|
1422
|
-
type index_GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GIAIValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1693
|
+
type index_GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GIAIValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1423
1694
|
declare const index_GIAIValidatorProxy: typeof GIAIValidatorProxy;
|
|
1424
|
-
type index_GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GINCCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1695
|
+
type index_GINCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GINCCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1425
1696
|
declare const index_GINCCreatorProxy: typeof GINCCreatorProxy;
|
|
1426
|
-
type index_GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GINCValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1697
|
+
type index_GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GINCValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1427
1698
|
declare const index_GINCValidatorProxy: typeof GINCValidatorProxy;
|
|
1428
|
-
type index_GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GLNCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1699
|
+
type index_GLNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GLNCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1429
1700
|
declare const index_GLNCreatorProxy: typeof GLNCreatorProxy;
|
|
1430
|
-
type index_GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GLNValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1701
|
+
type index_GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GLNValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1431
1702
|
declare const index_GLNValidatorProxy: typeof GLNValidatorProxy;
|
|
1432
|
-
type index_GMNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GMNCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1703
|
+
type index_GMNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GMNCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1433
1704
|
declare const index_GMNCreatorProxy: typeof GMNCreatorProxy;
|
|
1434
|
-
type index_GMNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GMNValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1705
|
+
type index_GMNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GMNValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1435
1706
|
declare const index_GMNValidatorProxy: typeof GMNValidatorProxy;
|
|
1436
|
-
type index_GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GRAICreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1707
|
+
type index_GRAICreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GRAICreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1437
1708
|
declare const index_GRAICreatorProxy: typeof GRAICreatorProxy;
|
|
1438
|
-
type index_GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GRAIValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1709
|
+
type index_GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GRAIValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1439
1710
|
declare const index_GRAIValidatorProxy: typeof GRAIValidatorProxy;
|
|
1440
|
-
type index_GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GSINCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1711
|
+
type index_GSINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GSINCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1441
1712
|
declare const index_GSINCreatorProxy: typeof GSINCreatorProxy;
|
|
1442
|
-
type index_GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GSINValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1713
|
+
type index_GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GSINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1443
1714
|
declare const index_GSINValidatorProxy: typeof GSINValidatorProxy;
|
|
1444
|
-
type index_GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GSRNCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1715
|
+
type index_GSRNCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GSRNCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1445
1716
|
declare const index_GSRNCreatorProxy: typeof GSRNCreatorProxy;
|
|
1446
|
-
type index_GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GSRNValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1717
|
+
type index_GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GSRNValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1447
1718
|
declare const index_GSRNValidatorProxy: typeof GSRNValidatorProxy;
|
|
1448
|
-
type index_GTIN12ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GTIN12ValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1719
|
+
type index_GTIN12ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GTIN12ValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1449
1720
|
declare const index_GTIN12ValidatorProxy: typeof GTIN12ValidatorProxy;
|
|
1450
|
-
type index_GTIN13ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GTIN13ValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1721
|
+
type index_GTIN13ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GTIN13ValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1451
1722
|
declare const index_GTIN13ValidatorProxy: typeof GTIN13ValidatorProxy;
|
|
1452
|
-
type index_GTIN8ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GTIN8ValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1723
|
+
type index_GTIN8ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GTIN8ValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1453
1724
|
declare const index_GTIN8ValidatorProxy: typeof GTIN8ValidatorProxy;
|
|
1454
|
-
type index_GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GTINCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1725
|
+
type index_GTINCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GTINCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1455
1726
|
declare const index_GTINCreatorProxy: typeof GTINCreatorProxy;
|
|
1456
|
-
type index_GTINValidatorStaticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = GTINValidatorStaticProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1727
|
+
type index_GTINValidatorStaticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = GTINValidatorStaticProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1457
1728
|
declare const index_GTINValidatorStaticProxy: typeof GTINValidatorStaticProxy;
|
|
1458
|
-
type index_PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = PrefixManagerProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1729
|
+
type index_PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = PrefixManagerProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1459
1730
|
declare const index_PrefixManagerProxy: typeof PrefixManagerProxy;
|
|
1460
|
-
type index_SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = SSCCCreatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1731
|
+
type index_SSCCCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = SSCCCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1461
1732
|
declare const index_SSCCCreatorProxy: typeof SSCCCreatorProxy;
|
|
1462
|
-
type index_SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> = SSCCValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1733
|
+
type index_SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = SSCCValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1463
1734
|
declare const index_SSCCValidatorProxy: typeof SSCCValidatorProxy;
|
|
1735
|
+
type index_ServiceProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = ServiceProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1736
|
+
declare const index_ServiceProxy: typeof ServiceProxy;
|
|
1737
|
+
type index_VariableMeasureProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> = VariableMeasureProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
1738
|
+
declare const index_VariableMeasureProxy: typeof VariableMeasureProxy;
|
|
1464
1739
|
declare namespace index {
|
|
1465
|
-
export { index_AI39Proxy as AI39Proxy, index_AI64Proxy as AI64Proxy, index_AI82Proxy as AI82Proxy, index_CPIDCreatorProxy as CPIDCreatorProxy, index_CPIDValidatorProxy as CPIDValidatorProxy, index_CheckProxy as CheckProxy, index_GCNCreatorProxy as GCNCreatorProxy, index_GCNValidatorProxy as GCNValidatorProxy, index_GDTICreatorProxy as GDTICreatorProxy, index_GDTIValidatorProxy as GDTIValidatorProxy, index_GIAICreatorProxy as GIAICreatorProxy, index_GIAIValidatorProxy as GIAIValidatorProxy, index_GINCCreatorProxy as GINCCreatorProxy, index_GINCValidatorProxy as GINCValidatorProxy, index_GLNCreatorProxy as GLNCreatorProxy, index_GLNValidatorProxy as GLNValidatorProxy, index_GMNCreatorProxy as GMNCreatorProxy, index_GMNValidatorProxy as GMNValidatorProxy, index_GRAICreatorProxy as GRAICreatorProxy, index_GRAIValidatorProxy as GRAIValidatorProxy, index_GSINCreatorProxy as GSINCreatorProxy, index_GSINValidatorProxy as GSINValidatorProxy, index_GSRNCreatorProxy as GSRNCreatorProxy, index_GSRNValidatorProxy as GSRNValidatorProxy, index_GTIN12ValidatorProxy as GTIN12ValidatorProxy, index_GTIN13ValidatorProxy as GTIN13ValidatorProxy, index_GTIN8ValidatorProxy as GTIN8ValidatorProxy, index_GTINCreatorProxy as GTINCreatorProxy, index_GTINValidatorStaticProxy as GTINValidatorStaticProxy, index_PrefixManagerProxy as PrefixManagerProxy, index_SSCCCreatorProxy as SSCCCreatorProxy, index_SSCCValidatorProxy as SSCCValidatorProxy };
|
|
1740
|
+
export { index_AI39Proxy as AI39Proxy, index_AI64Proxy as AI64Proxy, index_AI82Proxy as AI82Proxy, index_CPIDCreatorProxy as CPIDCreatorProxy, index_CPIDValidatorProxy as CPIDValidatorProxy, index_CheckProxy as CheckProxy, index_GCNCreatorProxy as GCNCreatorProxy, index_GCNValidatorProxy as GCNValidatorProxy, index_GDTICreatorProxy as GDTICreatorProxy, index_GDTIValidatorProxy as GDTIValidatorProxy, index_GIAICreatorProxy as GIAICreatorProxy, index_GIAIValidatorProxy as GIAIValidatorProxy, index_GINCCreatorProxy as GINCCreatorProxy, index_GINCValidatorProxy as GINCValidatorProxy, index_GLNCreatorProxy as GLNCreatorProxy, index_GLNValidatorProxy as GLNValidatorProxy, index_GMNCreatorProxy as GMNCreatorProxy, index_GMNValidatorProxy as GMNValidatorProxy, index_GRAICreatorProxy as GRAICreatorProxy, index_GRAIValidatorProxy as GRAIValidatorProxy, index_GSINCreatorProxy as GSINCreatorProxy, index_GSINValidatorProxy as GSINValidatorProxy, index_GSRNCreatorProxy as GSRNCreatorProxy, index_GSRNValidatorProxy as GSRNValidatorProxy, index_GTIN12ValidatorProxy as GTIN12ValidatorProxy, index_GTIN13ValidatorProxy as GTIN13ValidatorProxy, index_GTIN8ValidatorProxy as GTIN8ValidatorProxy, index_GTINCreatorProxy as GTINCreatorProxy, index_GTINValidatorStaticProxy as GTINValidatorStaticProxy, index_PrefixManagerProxy as PrefixManagerProxy, index_SSCCCreatorProxy as SSCCCreatorProxy, index_SSCCValidatorProxy as SSCCValidatorProxy, index_ServiceProxy as ServiceProxy, index_VariableMeasureProxy as VariableMeasureProxy };
|
|
1466
1741
|
}
|
|
1467
1742
|
|
|
1468
1743
|
/**
|
|
@@ -1570,7 +1845,7 @@ declare abstract class Generator {
|
|
|
1570
1845
|
* @param success
|
|
1571
1846
|
* True if successful.
|
|
1572
1847
|
*/
|
|
1573
|
-
protected abstract finalize(success: boolean):
|
|
1848
|
+
protected abstract finalize(success: boolean): Promisable<void>;
|
|
1574
1849
|
/**
|
|
1575
1850
|
* Generate by processing individual imports.
|
|
1576
1851
|
*/
|
|
@@ -1588,4 +1863,4 @@ declare abstract class Generator {
|
|
|
1588
1863
|
*/
|
|
1589
1864
|
declare function expandParameterDescriptor(parameterDescriptor: ParameterDescriptor | ExtendsParameterDescriptor): ParameterDescriptor;
|
|
1590
1865
|
|
|
1591
|
-
export { type Address, AlphabeticProxy, AlphanumericProxy, AppExtension, type AppExtensionLocaleResources, AppUtilityProxy, CharacterSetCreatorProxy, CharacterSetValidatorProxy, type ClassDescriptor, type ErrorExtends, type ExtendsParameterDescriptor, type FunctionLocalization, index as GS1, Generator, HexadecimalProxy, LibProxy, type Localization, type Matrix, type
|
|
1866
|
+
export { type Address, AlphabeticProxy, AlphanumericProxy, type AppData, AppExtension, type AppExtensionLocaleResources, AppUtilityProxy, CharacterSetCreatorProxy, CharacterSetValidatorProxy, type ClassDescriptor, type ErrorExtends, type ExtendsParameterDescriptor, type FunctionLocalization, index as GS1, Generator, HexadecimalProxy, LibProxy, type Localization, type Matrix, type MatrixResult, type MethodDescriptor, NumericProxy, type ParameterDescriptor, type Range, RegExpProxy, type ReplacementParameterDescriptor, type Sheet, type SheetAddress, type SheetRange, type SingletonResult, type StreamingCancelledCallback, type StreamingConsumerCallback, TransformerProxy, type Type, type TypeKey, Types, appExtensionNS, appExtensionResources, decodeAppData, encodeAppData, expandParameterDescriptor, i18nAppExtensionInit, i18nextAppExtension };
|