@aidc-toolkit/app-extension 1.0.31-beta → 1.0.33-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 +1 -3709
- package/dist/index.d.cts +607 -333
- package/dist/index.d.ts +607 -333
- package/dist/index.js +1 -3683
- package/package.json +12 -13
- package/src/app-extension.ts +141 -93
- package/src/app-helper-proxy.ts +326 -0
- package/src/descriptor.ts +75 -7
- package/src/generator/generator.ts +118 -96
- package/src/generator/locale-resources-generator.ts +56 -42
- package/src/gs1/character-set-proxy.ts +8 -8
- package/src/gs1/check-proxy.ts +26 -25
- package/src/gs1/gtin-creator-proxy.ts +14 -28
- package/src/gs1/gtin-descriptor.ts +2 -23
- package/src/gs1/gtin-validator-proxy.ts +45 -48
- package/src/gs1/identifier-creator-proxy.ts +63 -53
- package/src/gs1/identifier-descriptor.ts +15 -0
- package/src/gs1/identifier-type.ts +37 -0
- package/src/gs1/identifier-validator-proxy.ts +59 -27
- package/src/gs1/index.ts +8 -0
- package/src/gs1/non-gtin-creator-proxy.ts +22 -33
- package/src/gs1/non-gtin-validator-proxy.ts +22 -33
- package/src/gs1/prefix-definition-descriptor.ts +2 -2
- package/src/gs1/prefix-manager-proxy.ts +164 -9
- package/src/gs1/service-proxy.ts +57 -0
- package/src/gs1/variable-measure-proxy.ts +62 -0
- package/src/index.ts +6 -1
- package/src/lib-proxy.ts +112 -70
- package/src/locale/en/locale-resources.ts +173 -47
- package/src/locale/fr/locale-resources.ts +173 -47
- package/src/locale/i18n.ts +8 -10
- package/src/locale/i18next.d.ts +2 -0
- package/src/proxy.ts +140 -140
- package/src/streaming.ts +13 -0
- package/src/type.ts +8 -7
- package/src/utility/character-set-descriptor.ts +2 -2
- package/src/utility/character-set-proxy.ts +39 -38
- package/src/utility/reg-exp-proxy.ts +12 -11
- package/src/utility/string-descriptor.ts +2 -2
- package/src/utility/string-proxy.ts +7 -7
- package/src/utility/transformer-descriptor.ts +5 -5
- package/src/utility/transformer-proxy.ts +25 -18
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/src/app-utility-proxy.ts +0 -273
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { I18nEnvironment,
|
|
1
|
+
import { I18nEnvironment, MemoryTransport, Promisable, AppDataStorage, 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,10 +9,21 @@ declare const _default: {
|
|
|
8
9
|
sequenceCountMustBeLessThanOrEqualTo: string;
|
|
9
10
|
};
|
|
10
11
|
Proxy: {
|
|
11
|
-
vSpillMustBeHorizontalArray: string;
|
|
12
|
-
hSpillMustBeVerticalArray: string;
|
|
13
12
|
matrixMustBeArray: string;
|
|
14
13
|
};
|
|
14
|
+
Categories: {
|
|
15
|
+
helper: string;
|
|
16
|
+
transformation: string;
|
|
17
|
+
string: string;
|
|
18
|
+
GS1: {
|
|
19
|
+
checkCharacter: string;
|
|
20
|
+
identifierValidation: string;
|
|
21
|
+
identifierCreation: string;
|
|
22
|
+
variableMeasure: string;
|
|
23
|
+
prefix: string;
|
|
24
|
+
service: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
15
27
|
IdentifierCreatorProxy: {
|
|
16
28
|
prefixDefinitionMustBeOneDimensional: string;
|
|
17
29
|
prefixDefinitionMustHaveMaximumThreeElements: string;
|
|
@@ -20,8 +32,11 @@ declare const _default: {
|
|
|
20
32
|
invalidPrefixType: string;
|
|
21
33
|
tweakFactorMustBeNumber: string;
|
|
22
34
|
};
|
|
35
|
+
ServiceProxy: {
|
|
36
|
+
invalidIdentifierType: string;
|
|
37
|
+
};
|
|
23
38
|
Parameters: {
|
|
24
|
-
|
|
39
|
+
spillArray: {
|
|
25
40
|
name: string;
|
|
26
41
|
description: string;
|
|
27
42
|
};
|
|
@@ -121,6 +136,10 @@ declare const _default: {
|
|
|
121
136
|
name: string;
|
|
122
137
|
description: string;
|
|
123
138
|
};
|
|
139
|
+
splitIdentifier: {
|
|
140
|
+
name: string;
|
|
141
|
+
description: string;
|
|
142
|
+
};
|
|
124
143
|
zeroSuppressibleGTIN12: {
|
|
125
144
|
name: string;
|
|
126
145
|
description: string;
|
|
@@ -145,23 +164,23 @@ declare const _default: {
|
|
|
145
164
|
name: string;
|
|
146
165
|
description: string;
|
|
147
166
|
};
|
|
148
|
-
|
|
167
|
+
gcpLengthIdentifier: {
|
|
149
168
|
name: string;
|
|
150
169
|
description: string;
|
|
151
170
|
};
|
|
152
|
-
|
|
171
|
+
baseIdentifier: {
|
|
153
172
|
name: string;
|
|
154
173
|
description: string;
|
|
155
174
|
};
|
|
156
|
-
|
|
175
|
+
hyperlinkIdentifier: {
|
|
157
176
|
name: string;
|
|
158
177
|
description: string;
|
|
159
178
|
};
|
|
160
|
-
|
|
179
|
+
indicatorDigit: {
|
|
161
180
|
name: string;
|
|
162
181
|
description: string;
|
|
163
182
|
};
|
|
164
|
-
|
|
183
|
+
gtinLevel: {
|
|
165
184
|
name: string;
|
|
166
185
|
description: string;
|
|
167
186
|
};
|
|
@@ -177,6 +196,10 @@ declare const _default: {
|
|
|
177
196
|
name: string;
|
|
178
197
|
description: string;
|
|
179
198
|
};
|
|
199
|
+
identifierType: {
|
|
200
|
+
name: string;
|
|
201
|
+
description: string;
|
|
202
|
+
};
|
|
180
203
|
prefixDefinitionAny: {
|
|
181
204
|
name: string;
|
|
182
205
|
description: string;
|
|
@@ -189,6 +212,22 @@ declare const _default: {
|
|
|
189
212
|
name: string;
|
|
190
213
|
description: string;
|
|
191
214
|
};
|
|
215
|
+
serialComponent: {
|
|
216
|
+
name: string;
|
|
217
|
+
description: string;
|
|
218
|
+
};
|
|
219
|
+
reference: {
|
|
220
|
+
name: string;
|
|
221
|
+
description: string;
|
|
222
|
+
};
|
|
223
|
+
rcnFormat: {
|
|
224
|
+
name: string;
|
|
225
|
+
description: string;
|
|
226
|
+
};
|
|
227
|
+
rcn: {
|
|
228
|
+
name: string;
|
|
229
|
+
description: string;
|
|
230
|
+
};
|
|
192
231
|
rcnItemReference: {
|
|
193
232
|
name: string;
|
|
194
233
|
description: string;
|
|
@@ -197,11 +236,11 @@ declare const _default: {
|
|
|
197
236
|
name: string;
|
|
198
237
|
description: string;
|
|
199
238
|
};
|
|
200
|
-
|
|
239
|
+
hyperlinkText: {
|
|
201
240
|
name: string;
|
|
202
241
|
description: string;
|
|
203
242
|
};
|
|
204
|
-
|
|
243
|
+
hyperlinkDetails: {
|
|
205
244
|
name: string;
|
|
206
245
|
description: string;
|
|
207
246
|
};
|
|
@@ -211,11 +250,7 @@ declare const _default: {
|
|
|
211
250
|
name: string;
|
|
212
251
|
description: string;
|
|
213
252
|
};
|
|
214
|
-
|
|
215
|
-
name: string;
|
|
216
|
-
description: string;
|
|
217
|
-
};
|
|
218
|
-
hSpill: {
|
|
253
|
+
spill: {
|
|
219
254
|
name: string;
|
|
220
255
|
description: string;
|
|
221
256
|
};
|
|
@@ -396,14 +431,26 @@ declare const _default: {
|
|
|
396
431
|
name: string;
|
|
397
432
|
description: string;
|
|
398
433
|
};
|
|
434
|
+
isValidGTIN13: {
|
|
435
|
+
name: string;
|
|
436
|
+
description: string;
|
|
437
|
+
};
|
|
399
438
|
validateGTIN12: {
|
|
400
439
|
name: string;
|
|
401
440
|
description: string;
|
|
402
441
|
};
|
|
442
|
+
isValidGTIN12: {
|
|
443
|
+
name: string;
|
|
444
|
+
description: string;
|
|
445
|
+
};
|
|
403
446
|
validateGTIN8: {
|
|
404
447
|
name: string;
|
|
405
448
|
description: string;
|
|
406
449
|
};
|
|
450
|
+
isValidGTIN8: {
|
|
451
|
+
name: string;
|
|
452
|
+
description: string;
|
|
453
|
+
};
|
|
407
454
|
zeroSuppressGTIN12: {
|
|
408
455
|
name: string;
|
|
409
456
|
description: string;
|
|
@@ -424,11 +471,15 @@ declare const _default: {
|
|
|
424
471
|
name: string;
|
|
425
472
|
description: string;
|
|
426
473
|
};
|
|
474
|
+
isValidGTIN: {
|
|
475
|
+
name: string;
|
|
476
|
+
description: string;
|
|
477
|
+
};
|
|
427
478
|
validateGTIN14: {
|
|
428
479
|
name: string;
|
|
429
480
|
description: string;
|
|
430
481
|
};
|
|
431
|
-
|
|
482
|
+
isValidGTIN14: {
|
|
432
483
|
name: string;
|
|
433
484
|
description: string;
|
|
434
485
|
};
|
|
@@ -436,50 +487,118 @@ declare const _default: {
|
|
|
436
487
|
name: string;
|
|
437
488
|
description: string;
|
|
438
489
|
};
|
|
490
|
+
isValidGLN: {
|
|
491
|
+
name: string;
|
|
492
|
+
description: string;
|
|
493
|
+
};
|
|
439
494
|
validateSSCC: {
|
|
440
495
|
name: string;
|
|
441
496
|
description: string;
|
|
442
497
|
};
|
|
498
|
+
isValidSSCC: {
|
|
499
|
+
name: string;
|
|
500
|
+
description: string;
|
|
501
|
+
};
|
|
443
502
|
validateGRAI: {
|
|
444
503
|
name: string;
|
|
445
504
|
description: string;
|
|
446
505
|
};
|
|
506
|
+
isValidGRAI: {
|
|
507
|
+
name: string;
|
|
508
|
+
description: string;
|
|
509
|
+
};
|
|
510
|
+
splitGRAI: {
|
|
511
|
+
name: string;
|
|
512
|
+
description: string;
|
|
513
|
+
};
|
|
447
514
|
validateGIAI: {
|
|
448
515
|
name: string;
|
|
449
516
|
description: string;
|
|
450
517
|
};
|
|
518
|
+
isValidGIAI: {
|
|
519
|
+
name: string;
|
|
520
|
+
description: string;
|
|
521
|
+
};
|
|
451
522
|
validateGSRN: {
|
|
452
523
|
name: string;
|
|
453
524
|
description: string;
|
|
454
525
|
};
|
|
526
|
+
isValidGSRN: {
|
|
527
|
+
name: string;
|
|
528
|
+
description: string;
|
|
529
|
+
};
|
|
455
530
|
validateGDTI: {
|
|
456
531
|
name: string;
|
|
457
532
|
description: string;
|
|
458
533
|
};
|
|
534
|
+
isValidGDTI: {
|
|
535
|
+
name: string;
|
|
536
|
+
description: string;
|
|
537
|
+
};
|
|
538
|
+
splitGDTI: {
|
|
539
|
+
name: string;
|
|
540
|
+
description: string;
|
|
541
|
+
};
|
|
459
542
|
validateGINC: {
|
|
460
543
|
name: string;
|
|
461
544
|
description: string;
|
|
462
545
|
};
|
|
546
|
+
isValidGINC: {
|
|
547
|
+
name: string;
|
|
548
|
+
description: string;
|
|
549
|
+
};
|
|
463
550
|
validateGSIN: {
|
|
464
551
|
name: string;
|
|
465
552
|
description: string;
|
|
466
553
|
};
|
|
554
|
+
isValidGSIN: {
|
|
555
|
+
name: string;
|
|
556
|
+
description: string;
|
|
557
|
+
};
|
|
467
558
|
validateGCN: {
|
|
468
559
|
name: string;
|
|
469
560
|
description: string;
|
|
470
561
|
};
|
|
562
|
+
isValidGCN: {
|
|
563
|
+
name: string;
|
|
564
|
+
description: string;
|
|
565
|
+
};
|
|
566
|
+
splitGCN: {
|
|
567
|
+
name: string;
|
|
568
|
+
description: string;
|
|
569
|
+
};
|
|
471
570
|
validateCPID: {
|
|
472
571
|
name: string;
|
|
473
572
|
description: string;
|
|
474
573
|
};
|
|
574
|
+
isValidCPID: {
|
|
575
|
+
name: string;
|
|
576
|
+
description: string;
|
|
577
|
+
};
|
|
475
578
|
validateGMN: {
|
|
476
579
|
name: string;
|
|
477
580
|
description: string;
|
|
478
581
|
};
|
|
582
|
+
isValidGMN: {
|
|
583
|
+
name: string;
|
|
584
|
+
description: string;
|
|
585
|
+
};
|
|
479
586
|
definePrefix: {
|
|
480
587
|
name: string;
|
|
481
588
|
description: string;
|
|
482
589
|
};
|
|
590
|
+
gcpLength: {
|
|
591
|
+
name: string;
|
|
592
|
+
description: string;
|
|
593
|
+
};
|
|
594
|
+
gcpLengthDateTime: {
|
|
595
|
+
name: string;
|
|
596
|
+
description: string;
|
|
597
|
+
};
|
|
598
|
+
gcpLengthDisclaimer: {
|
|
599
|
+
name: string;
|
|
600
|
+
description: string;
|
|
601
|
+
};
|
|
483
602
|
createGTIN: {
|
|
484
603
|
name: string;
|
|
485
604
|
description: string;
|
|
@@ -496,10 +615,6 @@ declare const _default: {
|
|
|
496
615
|
name: string;
|
|
497
616
|
description: string;
|
|
498
617
|
};
|
|
499
|
-
createVariableMeasureRCN: {
|
|
500
|
-
name: string;
|
|
501
|
-
description: string;
|
|
502
|
-
};
|
|
503
618
|
createGLN: {
|
|
504
619
|
name: string;
|
|
505
620
|
description: string;
|
|
@@ -624,6 +739,18 @@ declare const _default: {
|
|
|
624
739
|
name: string;
|
|
625
740
|
description: string;
|
|
626
741
|
};
|
|
742
|
+
parseVariableMeasureRCN: {
|
|
743
|
+
name: string;
|
|
744
|
+
description: string;
|
|
745
|
+
};
|
|
746
|
+
createVariableMeasureRCN: {
|
|
747
|
+
name: string;
|
|
748
|
+
description: string;
|
|
749
|
+
};
|
|
750
|
+
verifiedByGS1: {
|
|
751
|
+
name: string;
|
|
752
|
+
description: string;
|
|
753
|
+
};
|
|
627
754
|
};
|
|
628
755
|
};
|
|
629
756
|
};
|
|
@@ -634,9 +761,9 @@ declare const appExtensionNS = "aidct_app_extension";
|
|
|
634
761
|
*/
|
|
635
762
|
type AppExtensionLocaleResources = typeof _default;
|
|
636
763
|
/**
|
|
637
|
-
* App extension
|
|
764
|
+
* App extension resource bundle.
|
|
638
765
|
*/
|
|
639
|
-
declare const
|
|
766
|
+
declare const appExtensionResourceBundle: Resource;
|
|
640
767
|
declare const i18nextAppExtension: i18n;
|
|
641
768
|
/**
|
|
642
769
|
* Initialize internationalization.
|
|
@@ -648,9 +775,9 @@ declare const i18nextAppExtension: i18n;
|
|
|
648
775
|
* Debug setting.
|
|
649
776
|
*
|
|
650
777
|
* @returns
|
|
651
|
-
*
|
|
778
|
+
* App extension resource bundle.
|
|
652
779
|
*/
|
|
653
|
-
declare function i18nAppExtensionInit(environment: I18nEnvironment, debug?: boolean): Promise<
|
|
780
|
+
declare function i18nAppExtensionInit(environment: I18nEnvironment, debug?: boolean): Promise<Resource>;
|
|
654
781
|
|
|
655
782
|
/**
|
|
656
783
|
* Type that error type is expected to extend. If the application framework reports errors through the throw/catch
|
|
@@ -713,8 +840,9 @@ interface SheetRange extends Sheet, Range {
|
|
|
713
840
|
*/
|
|
714
841
|
type Matrix<T> = T[][];
|
|
715
842
|
/**
|
|
716
|
-
* Function
|
|
717
|
-
* value, the result is the union of the
|
|
843
|
+
* Function singleton return, possibly including an error return. If the application extension reports errors through
|
|
844
|
+
* the return value, the result is the union of the return type and the error type; otherwise, it's just the return
|
|
845
|
+
* type.
|
|
718
846
|
*
|
|
719
847
|
* @template TResult
|
|
720
848
|
* Result type.
|
|
@@ -725,11 +853,11 @@ type Matrix<T> = T[][];
|
|
|
725
853
|
* @template TError
|
|
726
854
|
* Error type.
|
|
727
855
|
*/
|
|
728
|
-
type
|
|
856
|
+
type SingletonResult<TResult, ThrowError extends boolean, TError extends ErrorExtends<ThrowError>> = ThrowError extends false ? TResult | TError : TResult;
|
|
729
857
|
/**
|
|
730
|
-
* Function
|
|
731
|
-
* errors through the return value, the individual element result is the union of the
|
|
732
|
-
* otherwise, it's just the
|
|
858
|
+
* Function matrix return, possibly including an error return in each element. If the application extension reports
|
|
859
|
+
* errors through the return value, the individual element result is the union of the return type and the error type;
|
|
860
|
+
* otherwise, it's just the return type.
|
|
733
861
|
*
|
|
734
862
|
* @template TResult
|
|
735
863
|
* Result type.
|
|
@@ -740,7 +868,16 @@ type ResultError<TResult, ThrowError extends boolean, TError extends ErrorExtend
|
|
|
740
868
|
* @template TError
|
|
741
869
|
* Error type.
|
|
742
870
|
*/
|
|
743
|
-
type
|
|
871
|
+
type MatrixResult<TResult, ThrowError extends boolean, TError extends ErrorExtends<ThrowError>> = Matrix<SingletonResult<TResult, ThrowError, TError>>;
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* Streaming consumer callback, returned by application extension implementation.
|
|
875
|
+
*/
|
|
876
|
+
type StreamingConsumerCallback<TResult, ThrowError extends boolean, TError extends ErrorExtends<ThrowError>> = (result: MatrixResult<TResult, ThrowError, TError>) => void;
|
|
877
|
+
/**
|
|
878
|
+
* Streaming cancelled callback, passed to application extension implementation.
|
|
879
|
+
*/
|
|
880
|
+
type StreamingCancelledCallback = () => void;
|
|
744
881
|
|
|
745
882
|
/**
|
|
746
883
|
* Application extension.
|
|
@@ -754,11 +891,22 @@ type MatrixResultError<TResult, ThrowError extends boolean, TError extends Error
|
|
|
754
891
|
* @template TInvocationContext
|
|
755
892
|
* Application-specific invocation context type.
|
|
756
893
|
*
|
|
894
|
+
* @template TStreamingInvocationContext
|
|
895
|
+
* Application-specific streaming invocation context type.
|
|
896
|
+
*
|
|
757
897
|
* @template TBigInt
|
|
758
898
|
* Type to which big integer is mapped.
|
|
759
899
|
*/
|
|
760
|
-
declare abstract class AppExtension<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> {
|
|
900
|
+
declare abstract class AppExtension<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
761
901
|
#private;
|
|
902
|
+
/**
|
|
903
|
+
* Application name.
|
|
904
|
+
*/
|
|
905
|
+
static readonly APPLICATION_NAME = "AIDCToolkit";
|
|
906
|
+
/**
|
|
907
|
+
* Version property name.
|
|
908
|
+
*/
|
|
909
|
+
static readonly VERSION_NAME: string;
|
|
762
910
|
/**
|
|
763
911
|
* Constructor.
|
|
764
912
|
*
|
|
@@ -771,7 +919,11 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
771
919
|
* @param throwError
|
|
772
920
|
* If true, errors are reported through the throw/catch mechanism.
|
|
773
921
|
*/
|
|
774
|
-
constructor(version: string, maximumSequenceCount: number, throwError: ThrowError);
|
|
922
|
+
protected constructor(version: string, maximumSequenceCount: number, throwError: ThrowError);
|
|
923
|
+
/**
|
|
924
|
+
* Initialize the application extension.
|
|
925
|
+
*/
|
|
926
|
+
initialize(): Promise<void>;
|
|
775
927
|
/**
|
|
776
928
|
* Get the version.
|
|
777
929
|
*
|
|
@@ -784,33 +936,21 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
784
936
|
*/
|
|
785
937
|
get throwError(): ThrowError;
|
|
786
938
|
/**
|
|
787
|
-
* Get the
|
|
788
|
-
*
|
|
789
|
-
* @returns
|
|
790
|
-
* Maximum width supported by the application.
|
|
939
|
+
* Get the logger.
|
|
791
940
|
*/
|
|
792
|
-
|
|
941
|
+
get logger(): Logger<object>;
|
|
793
942
|
/**
|
|
794
|
-
* Get the
|
|
795
|
-
*
|
|
796
|
-
* @returns
|
|
797
|
-
* Maximum width supported by the application.
|
|
943
|
+
* Get the logger memory transport.
|
|
798
944
|
*/
|
|
799
|
-
|
|
945
|
+
get memoryTransport(): MemoryTransport<object>;
|
|
800
946
|
/**
|
|
801
|
-
* Get the maximum
|
|
802
|
-
*
|
|
803
|
-
* @returns
|
|
804
|
-
* Maximum height supported by the application.
|
|
947
|
+
* Get the maximum width supported by the application.
|
|
805
948
|
*/
|
|
806
|
-
|
|
949
|
+
abstract get maximumWidth(): number;
|
|
807
950
|
/**
|
|
808
951
|
* Get the maximum height supported by the application.
|
|
809
|
-
*
|
|
810
|
-
* @returns
|
|
811
|
-
* Maximum height supported by the application.
|
|
812
952
|
*/
|
|
813
|
-
|
|
953
|
+
abstract get maximumHeight(): number;
|
|
814
954
|
/**
|
|
815
955
|
* Get the sheet address from an invocation context.
|
|
816
956
|
*
|
|
@@ -820,7 +960,7 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
820
960
|
* @returns
|
|
821
961
|
* Sheet address.
|
|
822
962
|
*/
|
|
823
|
-
abstract getSheetAddress(invocationContext: TInvocationContext):
|
|
963
|
+
abstract getSheetAddress(invocationContext: TInvocationContext): Promisable<SheetAddress>;
|
|
824
964
|
/**
|
|
825
965
|
* Get a parameter range from an invocation context.
|
|
826
966
|
*
|
|
@@ -833,7 +973,55 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
833
973
|
* @returns
|
|
834
974
|
* Sheet range or null if parameter is not a range.
|
|
835
975
|
*/
|
|
836
|
-
abstract getParameterSheetRange(invocationContext: TInvocationContext, parameterNumber: number):
|
|
976
|
+
abstract getParameterSheetRange(invocationContext: TInvocationContext, parameterNumber: number): Promisable<SheetRange | null>;
|
|
977
|
+
/**
|
|
978
|
+
* Set up streaming for a streaming function.
|
|
979
|
+
*
|
|
980
|
+
* @param streamingInvocationContext
|
|
981
|
+
* Streaming invocation context.
|
|
982
|
+
*
|
|
983
|
+
* @param streamingCancelledCallback
|
|
984
|
+
* Streaming cancelled callback, called when streaming is cancelled.
|
|
985
|
+
*
|
|
986
|
+
* @returns
|
|
987
|
+
* Streaming consumer callback, called when stream contents updated.
|
|
988
|
+
*/
|
|
989
|
+
abstract setUpStreaming<TResult>(streamingInvocationContext: TStreamingInvocationContext, streamingCancelledCallback: StreamingCancelledCallback): StreamingConsumerCallback<TResult, ThrowError, TError>;
|
|
990
|
+
/**
|
|
991
|
+
* Get a property stored within the active document.
|
|
992
|
+
*
|
|
993
|
+
* @param name
|
|
994
|
+
* Property name.
|
|
995
|
+
*
|
|
996
|
+
* @returns
|
|
997
|
+
* Property value or undefined if no value is stored under the given name.
|
|
998
|
+
*/
|
|
999
|
+
abstract getDocumentProperty(name: string): Promisable<string | undefined>;
|
|
1000
|
+
/**
|
|
1001
|
+
* Set a property to be stored within the active document.
|
|
1002
|
+
*
|
|
1003
|
+
* @param name
|
|
1004
|
+
* Property name.
|
|
1005
|
+
*
|
|
1006
|
+
* @param value
|
|
1007
|
+
* Property value.
|
|
1008
|
+
*/
|
|
1009
|
+
abstract setDocumentProperty(name: string, value: string): Promisable<void>;
|
|
1010
|
+
/**
|
|
1011
|
+
* Delete a property from the active document.
|
|
1012
|
+
*
|
|
1013
|
+
* @param name
|
|
1014
|
+
* Property name.
|
|
1015
|
+
*/
|
|
1016
|
+
abstract deleteDocumentProperty(name: string): Promisable<void>;
|
|
1017
|
+
/**
|
|
1018
|
+
* Get application data storage for the current document.
|
|
1019
|
+
*/
|
|
1020
|
+
abstract get documentAppDataStorage(): AppDataStorage<boolean>;
|
|
1021
|
+
/**
|
|
1022
|
+
* Get application data storage shared across multiple documents.
|
|
1023
|
+
*/
|
|
1024
|
+
abstract get sharedAppDataStorage(): AppDataStorage<boolean>;
|
|
837
1025
|
/**
|
|
838
1026
|
* Validate a sequence count against the maximum supported by application.
|
|
839
1027
|
*
|
|
@@ -850,7 +1038,20 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
850
1038
|
* @returns
|
|
851
1039
|
* Mapped big integer value.
|
|
852
1040
|
*/
|
|
853
|
-
abstract mapBigInt(value: bigint):
|
|
1041
|
+
abstract mapBigInt(value: bigint): SingletonResult<TBigInt, ThrowError, TError>;
|
|
1042
|
+
/**
|
|
1043
|
+
* Map hyperlink results to a form suitable for the application.
|
|
1044
|
+
*
|
|
1045
|
+
* @param invocationContext
|
|
1046
|
+
* Invocation context.
|
|
1047
|
+
*
|
|
1048
|
+
* @param matrixHyperlinkResults
|
|
1049
|
+
* Matrix of hyperlink results from function call.
|
|
1050
|
+
*
|
|
1051
|
+
* @returns
|
|
1052
|
+
* Matrix of results in a form suitable for the application.
|
|
1053
|
+
*/
|
|
1054
|
+
abstract mapHyperlinkResults(invocationContext: TInvocationContext, matrixHyperlinkResults: MatrixResult<Hyperlink, ThrowError, TError>): Promisable<MatrixResult<unknown, ThrowError, TError>>;
|
|
854
1055
|
/**
|
|
855
1056
|
* Map a range error (thrown by the library) to an application-specific error. If errors are reported through the
|
|
856
1057
|
* throw/catch mechanism, the implementation may return the range error unmodified if that is supported.
|
|
@@ -866,38 +1067,6 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
866
1067
|
* Message to include in the error.
|
|
867
1068
|
*/
|
|
868
1069
|
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
1070
|
}
|
|
902
1071
|
|
|
903
1072
|
/**
|
|
@@ -912,10 +1081,13 @@ declare abstract class AppExtension<ThrowError extends boolean, TError extends E
|
|
|
912
1081
|
* @template TInvocationContext
|
|
913
1082
|
* Application-specific invocation context type.
|
|
914
1083
|
*
|
|
1084
|
+
* @template TStreamingInvocationContext
|
|
1085
|
+
* Application-specific streaming invocation context type.
|
|
1086
|
+
*
|
|
915
1087
|
* @template TBigInt
|
|
916
1088
|
* Type to which big integer is mapped.
|
|
917
1089
|
*/
|
|
918
|
-
declare abstract class LibProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> {
|
|
1090
|
+
declare abstract class LibProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
919
1091
|
#private;
|
|
920
1092
|
/**
|
|
921
1093
|
* Constructor.
|
|
@@ -923,11 +1095,11 @@ declare abstract class LibProxy<ThrowError extends boolean, TError extends Error
|
|
|
923
1095
|
* @param appExtension
|
|
924
1096
|
* Application extension.
|
|
925
1097
|
*/
|
|
926
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>);
|
|
1098
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
927
1099
|
/**
|
|
928
1100
|
* Get the application extension.
|
|
929
1101
|
*/
|
|
930
|
-
get appExtension(): AppExtension<ThrowError, TError, TInvocationContext, TBigInt>;
|
|
1102
|
+
get appExtension(): AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>;
|
|
931
1103
|
/**
|
|
932
1104
|
* Map big integer to another type if necessary.
|
|
933
1105
|
*
|
|
@@ -937,22 +1109,59 @@ declare abstract class LibProxy<ThrowError extends boolean, TError extends Error
|
|
|
937
1109
|
* @returns
|
|
938
1110
|
* Mapped big integer value.
|
|
939
1111
|
*/
|
|
940
|
-
mapBigInt(value: bigint):
|
|
1112
|
+
mapBigInt(value: bigint): SingletonResult<TBigInt, ThrowError, TError>;
|
|
1113
|
+
/**
|
|
1114
|
+
* Call a singleton result function with error handling.
|
|
1115
|
+
*
|
|
1116
|
+
* @param callback
|
|
1117
|
+
* Callback.
|
|
1118
|
+
*
|
|
1119
|
+
* @returns
|
|
1120
|
+
* Callback return or error if errors are not thrown.
|
|
1121
|
+
*/
|
|
1122
|
+
singletonResult<TResult>(callback: () => SingletonResult<TResult, ThrowError, TError>): SingletonResult<TResult, ThrowError, TError>;
|
|
941
1123
|
/**
|
|
942
|
-
*
|
|
1124
|
+
* Call a matrix result function with error handling.
|
|
943
1125
|
*
|
|
944
1126
|
* @param matrixValues
|
|
945
1127
|
* Matrix of values.
|
|
946
1128
|
*
|
|
947
|
-
* @param
|
|
948
|
-
* Callback.
|
|
1129
|
+
* @param valueCallback
|
|
1130
|
+
* Callback to process value.
|
|
1131
|
+
*
|
|
1132
|
+
* @returns
|
|
1133
|
+
* Matrix of callback results and errors if errors are not thrown.
|
|
1134
|
+
*/
|
|
1135
|
+
protected matrixResult<TValue, TResult>(matrixValues: Matrix<TValue>, valueCallback: (value: TValue) => SingletonResult<TResult, ThrowError, TError>): MatrixResult<TResult, ThrowError, TError>;
|
|
1136
|
+
/**
|
|
1137
|
+
* Map a matrix of validate string results to boolean. If the string is empty, the result is true, indicating that
|
|
1138
|
+
* there is no error.
|
|
1139
|
+
*
|
|
1140
|
+
* @param matrixValidateResults
|
|
1141
|
+
* Matrix of results from a call to a validate function.
|
|
1142
|
+
*
|
|
1143
|
+
* @returns
|
|
1144
|
+
* Matrix of boolean values, true if corresponding string is empty.
|
|
1145
|
+
*/
|
|
1146
|
+
protected isValidString(matrixValidateResults: MatrixResult<string, ThrowError, TError>): Matrix<boolean>;
|
|
1147
|
+
/**
|
|
1148
|
+
* Set up a mapping and call a matrix result function with error handling.
|
|
1149
|
+
*
|
|
1150
|
+
* @param setUpCallback
|
|
1151
|
+
* Callback to set up the mapping.
|
|
1152
|
+
*
|
|
1153
|
+
* @param matrixValues
|
|
1154
|
+
* Matrix of values.
|
|
1155
|
+
*
|
|
1156
|
+
* @param valueCallback
|
|
1157
|
+
* Callback to process value.
|
|
949
1158
|
*
|
|
950
1159
|
* @returns
|
|
951
1160
|
* Matrix of callback results and errors if errors are not thrown.
|
|
952
1161
|
*/
|
|
953
|
-
protected
|
|
1162
|
+
protected setUpMatrixResult<TSetup, TValue, TResult>(setUpCallback: () => TSetup, matrixValues: Matrix<TValue>, valueCallback: (setup: TSetup, value: TValue) => SingletonResult<TResult, ThrowError, TError>): MatrixResult<TResult, ThrowError, TError>;
|
|
954
1163
|
/**
|
|
955
|
-
*
|
|
1164
|
+
* Call an array result function with error handling and map to a matrix.
|
|
956
1165
|
*
|
|
957
1166
|
* @param matrixValues
|
|
958
1167
|
* Matrix of values.
|
|
@@ -963,38 +1172,34 @@ declare abstract class LibProxy<ThrowError extends boolean, TError extends Error
|
|
|
963
1172
|
* @returns
|
|
964
1173
|
* Matrix of callback results and errors if errors are not thrown.
|
|
965
1174
|
*/
|
|
966
|
-
protected
|
|
1175
|
+
protected arrayResult<TValue, TResult>(matrixValues: Matrix<TValue>, callback: (value: TValue) => Array<SingletonResult<TResult, ThrowError, TError>>): MatrixResult<TResult, ThrowError, TError>;
|
|
967
1176
|
/**
|
|
968
|
-
*
|
|
969
|
-
*
|
|
970
|
-
* for that element is the error message.
|
|
1177
|
+
* Call a matrix result function with error handling and map a non-error result to an empty string and {@linkcode
|
|
1178
|
+
* RangeError} to the string error message.
|
|
971
1179
|
*
|
|
972
1180
|
* @param matrixValues
|
|
973
|
-
* Matrix
|
|
1181
|
+
* Matrix of values.
|
|
974
1182
|
*
|
|
975
1183
|
* @param callback
|
|
976
1184
|
* Callback that either returns or throws an exception.
|
|
977
1185
|
*
|
|
978
1186
|
* @returns
|
|
979
1187
|
* Matrix of strings.
|
|
980
|
-
*
|
|
981
|
-
* @template TValue
|
|
982
|
-
* Value type.
|
|
983
1188
|
*/
|
|
984
|
-
protected
|
|
1189
|
+
protected matrixErrorResult<TValue>(matrixValues: Matrix<TValue>, callback: (value: TValue) => void): Matrix<string>;
|
|
985
1190
|
/**
|
|
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*]]).
|
|
1191
|
+
* Call an iterable result function with error handling and map to a matrix. Although the natural approach would be
|
|
1192
|
+
* to map to a single-element array containing an array of *N* results (i.e., [[r0, r1, r2, ..., r*N*]]), this is
|
|
1193
|
+
* rendered visually as a single row. The more readable approach is as a single column, so the mapping is to an
|
|
1194
|
+
* *N*-element array of single-element result arrays (i.e., [[r0], [r1], [r2], ..., [r*N*]]).
|
|
990
1195
|
*
|
|
991
|
-
* @param
|
|
992
|
-
* Iterable
|
|
1196
|
+
* @param iterableCallback
|
|
1197
|
+
* Iterable callback.
|
|
993
1198
|
*
|
|
994
1199
|
* @returns
|
|
995
1200
|
* Matrix of callback results.
|
|
996
1201
|
*/
|
|
997
|
-
protected
|
|
1202
|
+
protected iterableResult<TResult>(iterableCallback: () => Iterable<SingletonResult<TResult, ThrowError, TError>>): MatrixResult<TResult, ThrowError, TError>;
|
|
998
1203
|
}
|
|
999
1204
|
|
|
1000
1205
|
/**
|
|
@@ -1035,6 +1240,36 @@ type TypeKey = keyof typeof Types;
|
|
|
1035
1240
|
* Type.
|
|
1036
1241
|
*/
|
|
1037
1242
|
type Type = typeof Types[TypeKey];
|
|
1243
|
+
/**
|
|
1244
|
+
* Multiplicities supported by proxy methods.
|
|
1245
|
+
*/
|
|
1246
|
+
declare const Multiplicities: {
|
|
1247
|
+
/**
|
|
1248
|
+
* Parameter or return value is a singleton.
|
|
1249
|
+
*/
|
|
1250
|
+
readonly Singleton: 0;
|
|
1251
|
+
/**
|
|
1252
|
+
* Parameter or return value is a singleton or an array.
|
|
1253
|
+
*/
|
|
1254
|
+
readonly Array: 1;
|
|
1255
|
+
/**
|
|
1256
|
+
* Parameter or return value is a singleton, an array, or a matrix.
|
|
1257
|
+
*/
|
|
1258
|
+
readonly Matrix: 2;
|
|
1259
|
+
/**
|
|
1260
|
+
* Parameter value is a singleton or array but is treated as a singleton internally and doesn't drive multiplicity
|
|
1261
|
+
* of the return value. Return value is an array for use as a singleton array parameter.
|
|
1262
|
+
*/
|
|
1263
|
+
readonly SingletonArray: 3;
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
* Multiplicity key.
|
|
1267
|
+
*/
|
|
1268
|
+
type MultiplicityKey = keyof typeof Multiplicities;
|
|
1269
|
+
/**
|
|
1270
|
+
* Multiplicity.
|
|
1271
|
+
*/
|
|
1272
|
+
type Multiplicity = typeof Multiplicities[MultiplicityKey];
|
|
1038
1273
|
/**
|
|
1039
1274
|
* Type descriptor.
|
|
1040
1275
|
*/
|
|
@@ -1044,9 +1279,9 @@ interface TypeDescriptor extends Descriptor {
|
|
|
1044
1279
|
*/
|
|
1045
1280
|
readonly type: Type;
|
|
1046
1281
|
/**
|
|
1047
|
-
*
|
|
1282
|
+
* Multiplicity.
|
|
1048
1283
|
*/
|
|
1049
|
-
readonly
|
|
1284
|
+
readonly multiplicity: Multiplicity;
|
|
1050
1285
|
}
|
|
1051
1286
|
/**
|
|
1052
1287
|
* Parameter descriptor.
|
|
@@ -1070,6 +1305,19 @@ interface ExtendsParameterDescriptor extends Partial<ParameterDescriptor> {
|
|
|
1070
1305
|
*/
|
|
1071
1306
|
readonly sortOrder?: number;
|
|
1072
1307
|
}
|
|
1308
|
+
/**
|
|
1309
|
+
* Replacement parameter descriptor.
|
|
1310
|
+
*/
|
|
1311
|
+
interface ReplacementParameterDescriptor {
|
|
1312
|
+
/**
|
|
1313
|
+
* Name to replace.
|
|
1314
|
+
*/
|
|
1315
|
+
readonly name: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* Replacement parameter descriptor.
|
|
1318
|
+
*/
|
|
1319
|
+
readonly replacement: ParameterDescriptor;
|
|
1320
|
+
}
|
|
1073
1321
|
/**
|
|
1074
1322
|
* Method descriptor.
|
|
1075
1323
|
*/
|
|
@@ -1078,6 +1326,18 @@ interface MethodDescriptor extends TypeDescriptor {
|
|
|
1078
1326
|
* If true, application-specific invocation context is required.
|
|
1079
1327
|
*/
|
|
1080
1328
|
readonly requiresContext?: boolean;
|
|
1329
|
+
/**
|
|
1330
|
+
* If true, function is hidden from user interface.
|
|
1331
|
+
*/
|
|
1332
|
+
readonly isHidden?: boolean;
|
|
1333
|
+
/**
|
|
1334
|
+
* If true, function is volatile and should be reevaluated regularly.
|
|
1335
|
+
*/
|
|
1336
|
+
readonly isVolatile?: boolean;
|
|
1337
|
+
/**
|
|
1338
|
+
* If true, function opens a stream that updates asynchronously.
|
|
1339
|
+
*/
|
|
1340
|
+
readonly isStream?: boolean;
|
|
1081
1341
|
/**
|
|
1082
1342
|
* If true, method infix is ignored.
|
|
1083
1343
|
*/
|
|
@@ -1108,17 +1368,18 @@ interface ClassDescriptor extends Descriptor {
|
|
|
1108
1368
|
* Class namespace. If not provided, class is at the top level.
|
|
1109
1369
|
*/
|
|
1110
1370
|
readonly namespace?: string | undefined;
|
|
1371
|
+
/**
|
|
1372
|
+
* Category.
|
|
1373
|
+
*/
|
|
1374
|
+
readonly category: string;
|
|
1111
1375
|
/**
|
|
1112
1376
|
* Method infix. If undefined, method name is generated verbatim.
|
|
1113
1377
|
*/
|
|
1114
1378
|
readonly methodInfix?: string | undefined;
|
|
1115
1379
|
/**
|
|
1116
|
-
*
|
|
1380
|
+
* Replacement parameter descriptors for class hierarchies where parameter types can narrow
|
|
1117
1381
|
*/
|
|
1118
|
-
readonly
|
|
1119
|
-
readonly name: string;
|
|
1120
|
-
readonly replacement: ParameterDescriptor;
|
|
1121
|
-
}>;
|
|
1382
|
+
readonly replacementParameterDescriptors?: ReplacementParameterDescriptor[];
|
|
1122
1383
|
/**
|
|
1123
1384
|
* Class name in optional namespace.
|
|
1124
1385
|
*/
|
|
@@ -1136,7 +1397,7 @@ interface ClassDescriptor extends Descriptor {
|
|
|
1136
1397
|
/**
|
|
1137
1398
|
* Application utilities.
|
|
1138
1399
|
*
|
|
1139
|
-
|
|
1400
|
+
* @template ThrowError
|
|
1140
1401
|
* If true, errors are reported through the throw/catch mechanism.
|
|
1141
1402
|
*
|
|
1142
1403
|
* @template TError
|
|
@@ -1145,10 +1406,13 @@ interface ClassDescriptor extends Descriptor {
|
|
|
1145
1406
|
* @template TInvocationContext
|
|
1146
1407
|
* Application-specific invocation context type.
|
|
1147
1408
|
*
|
|
1409
|
+
* @template TStreamingInvocationContext
|
|
1410
|
+
* Application-specific streaming invocation context type.
|
|
1411
|
+
*
|
|
1148
1412
|
* @template TBigInt
|
|
1149
1413
|
* Type to which big integer is mapped.
|
|
1150
1414
|
*/
|
|
1151
|
-
declare class
|
|
1415
|
+
declare class AppHelperProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1152
1416
|
#private;
|
|
1153
1417
|
/**
|
|
1154
1418
|
* Get the version.
|
|
@@ -1158,29 +1422,10 @@ declare class AppUtilityProxy<ThrowError extends boolean, TError extends ErrorEx
|
|
|
1158
1422
|
*/
|
|
1159
1423
|
version(): string;
|
|
1160
1424
|
/**
|
|
1161
|
-
* Spill a
|
|
1425
|
+
* Spill a one-dimensional matrix to fit a rectangle within a given maximum height and width.
|
|
1162
1426
|
*
|
|
1163
|
-
* @param
|
|
1164
|
-
*
|
|
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.
|
|
1181
|
-
*
|
|
1182
|
-
* @param vMatrixValues
|
|
1183
|
-
* Vertical matrix values. Matrix contains arrays of length 1 with the values.
|
|
1427
|
+
* @param arrayValues
|
|
1428
|
+
* Matrix values. Matrix is length 1 or contains arrays of length 1 with the values.
|
|
1184
1429
|
*
|
|
1185
1430
|
* @param maximumHeight
|
|
1186
1431
|
* Maximum height.
|
|
@@ -1194,275 +1439,305 @@ declare class AppUtilityProxy<ThrowError extends boolean, TError extends ErrorEx
|
|
|
1194
1439
|
* @returns
|
|
1195
1440
|
* Matrix spilled within maximum height and maximum width.
|
|
1196
1441
|
*/
|
|
1197
|
-
|
|
1442
|
+
spill(arrayValues: Matrix<unknown>, maximumHeight: Nullishable<number>, maximumWidth: Nullishable<number>, invocationContext: Nullishable<TInvocationContext>): Promise<MatrixResult<unknown, ThrowError, TError>>;
|
|
1443
|
+
/**
|
|
1444
|
+
* Get the logger messages as a stream.
|
|
1445
|
+
*
|
|
1446
|
+
* @param logLevelString
|
|
1447
|
+
* Log level as string.
|
|
1448
|
+
*
|
|
1449
|
+
* @param streamingInvocationContext
|
|
1450
|
+
* Streaming invocation context.
|
|
1451
|
+
*/
|
|
1452
|
+
loggerMessages(logLevelString: Nullishable<string>, streamingInvocationContext: Nullishable<TStreamingInvocationContext>): void;
|
|
1198
1453
|
}
|
|
1199
1454
|
|
|
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>):
|
|
1455
|
+
declare class TransformerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1456
|
+
forward(domain: number | bigint, matrixValues: Matrix<number | bigint>, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
|
|
1457
|
+
forwardSequence(domain: number | bigint, startValue: number, count: number, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
|
|
1458
|
+
reverse(domain: number | bigint, matrixTransformedValues: Matrix<number | bigint>, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
|
|
1204
1459
|
}
|
|
1205
1460
|
|
|
1206
|
-
declare abstract class StringProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1461
|
+
declare abstract class StringProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1207
1462
|
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
1463
|
}
|
|
1210
1464
|
|
|
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>):
|
|
1465
|
+
declare class RegExpProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1466
|
+
validate(regExp: string, matrixSs: Matrix<string>, errorMessage: Nullishable<string>): Matrix<string>;
|
|
1467
|
+
isValid(regExp: string, matrixSs: Matrix<string>): Matrix<boolean>;
|
|
1214
1468
|
}
|
|
1215
1469
|
|
|
1216
|
-
declare abstract class CharacterSetValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1470
|
+
declare abstract class CharacterSetValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends StringProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1217
1471
|
#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>):
|
|
1472
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, characterSetValidator: CharacterSetValidator);
|
|
1473
|
+
validate(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>): Matrix<string>;
|
|
1474
|
+
isValid(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>): Matrix<boolean>;
|
|
1221
1475
|
}
|
|
1222
|
-
declare abstract class CharacterSetCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1476
|
+
declare abstract class CharacterSetCreatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1223
1477
|
#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>):
|
|
1478
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, characterSetCreator: CharacterSetCreator);
|
|
1479
|
+
create(length: number, matrixValues: Matrix<number | bigint>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResult<string, ThrowError, TError>;
|
|
1480
|
+
createSequence(length: number, startValue: number, count: number, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResult<string, ThrowError, TError>;
|
|
1481
|
+
valueFor(matrixSs: Matrix<string>, exclusion: Nullishable<Exclusion>, tweak: Nullishable<number | bigint>): MatrixResult<TBigInt, ThrowError, TError>;
|
|
1228
1482
|
}
|
|
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>);
|
|
1483
|
+
declare class NumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1484
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1231
1485
|
}
|
|
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>);
|
|
1486
|
+
declare class HexadecimalProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1487
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1234
1488
|
}
|
|
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>);
|
|
1489
|
+
declare class AlphabeticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1490
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1237
1491
|
}
|
|
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>);
|
|
1492
|
+
declare class AlphanumericProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1493
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1240
1494
|
}
|
|
1241
1495
|
|
|
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>);
|
|
1496
|
+
declare class AI82Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1497
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1244
1498
|
}
|
|
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>);
|
|
1499
|
+
declare class AI39Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetCreatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1500
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1247
1501
|
}
|
|
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>);
|
|
1502
|
+
declare class AI64Proxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends CharacterSetValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1503
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1250
1504
|
}
|
|
1251
1505
|
|
|
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>):
|
|
1506
|
+
declare class CheckProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1507
|
+
checkDigit(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1508
|
+
hasValidCheckDigit(matrixSs: Matrix<string>): MatrixResult<boolean, ThrowError, TError>;
|
|
1509
|
+
priceOrWeightCheckDigit(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1510
|
+
isValidPriceOrWeightCheckDigit(s: string, checkDigit: string): SingletonResult<boolean, ThrowError, TError>;
|
|
1511
|
+
checkCharacterPair(matrixSs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1512
|
+
hasValidCheckCharacterPair(matrixSs: Matrix<string>): MatrixResult<boolean, ThrowError, TError>;
|
|
1259
1513
|
}
|
|
1260
1514
|
|
|
1261
|
-
declare abstract class IdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt, TIdentifierType extends IdentifierType> extends StringProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1515
|
+
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
1516
|
#private;
|
|
1263
|
-
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TBigInt>, validator: IdentifierTypeValidator<TIdentifierType>);
|
|
1517
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>, validator: IdentifierTypeValidator<TIdentifierType>);
|
|
1264
1518
|
protected get validator(): IdentifierTypeValidator<TIdentifierType>;
|
|
1265
1519
|
}
|
|
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>):
|
|
1520
|
+
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> {
|
|
1521
|
+
validate(matrixIdentifiers: Matrix<string>): Matrix<string>;
|
|
1522
|
+
isValid(matrixIdentifiers: Matrix<string>): Matrix<boolean>;
|
|
1268
1523
|
}
|
|
1269
|
-
declare abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, GTINType> {
|
|
1524
|
+
declare abstract class GTINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, GTINType> {
|
|
1270
1525
|
}
|
|
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> {
|
|
1526
|
+
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
1527
|
}
|
|
1273
|
-
declare abstract class NonSerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, NonSerializableNumericIdentifierType> {
|
|
1528
|
+
declare abstract class NonSerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonSerializableNumericIdentifierType> {
|
|
1274
1529
|
}
|
|
1275
|
-
declare abstract class SerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TBigInt, SerializableNumericIdentifierType> {
|
|
1530
|
+
declare abstract class SerializableNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonGTINNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, SerializableNumericIdentifierType> {
|
|
1531
|
+
split(matrixIdentifiers: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1276
1532
|
}
|
|
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"]>):
|
|
1533
|
+
declare abstract class NonNumericIdentifierValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends IdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt, NonNumericIdentifierType> {
|
|
1534
|
+
validate(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>): Matrix<string>;
|
|
1535
|
+
isValid(matrixIdentifiers: Matrix<string>, exclusion: Nullishable<NonNumericIdentifierValidation["exclusion"]>): Matrix<boolean>;
|
|
1279
1536
|
}
|
|
1280
1537
|
|
|
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>);
|
|
1538
|
+
declare class GTIN13ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1539
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1283
1540
|
}
|
|
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>);
|
|
1541
|
+
declare class GTIN12ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1542
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1286
1543
|
}
|
|
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>);
|
|
1544
|
+
declare class GTIN8ValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends GTINValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1545
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1289
1546
|
}
|
|
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>):
|
|
1547
|
+
declare class GTINValidatorStaticProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1548
|
+
zeroSuppressGTIN12(matrixGTIN12s: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1549
|
+
zeroExpandGTIN12(matrixZeroSuppressedGTIN12s: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1550
|
+
convertToGTIN14(indicatorDigit: string, matrixGTINs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1551
|
+
normalizeGTIN(matrixGTINs: Matrix<string>): MatrixResult<string, ThrowError, TError>;
|
|
1295
1552
|
validateGTIN(matrixGTINs: Matrix<string>, gtinLevel: Nullishable<GTINLevel>): Matrix<string>;
|
|
1553
|
+
isValidGTIN(matrixGTINs: Matrix<string>, gtinLevel: Nullishable<GTINLevel>): Matrix<boolean>;
|
|
1296
1554
|
validateGTIN14(matrixGTIN14s: Matrix<string>): Matrix<string>;
|
|
1297
|
-
|
|
1555
|
+
isValidGTIN14(matrixGTIN14s: Matrix<string>): Matrix<boolean>;
|
|
1298
1556
|
}
|
|
1299
1557
|
|
|
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>);
|
|
1558
|
+
declare class GLNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1559
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1302
1560
|
}
|
|
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>);
|
|
1561
|
+
declare class SSCCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1562
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1305
1563
|
}
|
|
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>);
|
|
1564
|
+
declare class GRAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1565
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1308
1566
|
}
|
|
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>);
|
|
1567
|
+
declare class GIAIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1568
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1311
1569
|
}
|
|
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>);
|
|
1570
|
+
declare class GSRNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1571
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1314
1572
|
}
|
|
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>);
|
|
1573
|
+
declare class GDTIValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1574
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1317
1575
|
}
|
|
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>);
|
|
1576
|
+
declare class GINCValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1577
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1320
1578
|
}
|
|
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>);
|
|
1579
|
+
declare class GSINValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonSerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1580
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1323
1581
|
}
|
|
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>);
|
|
1582
|
+
declare class GCNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends SerializableNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1583
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1326
1584
|
}
|
|
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>);
|
|
1585
|
+
declare class CPIDValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1586
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1329
1587
|
}
|
|
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>);
|
|
1588
|
+
declare class GMNValidatorProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends NonNumericIdentifierValidatorProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1589
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
1332
1590
|
}
|
|
1333
1591
|
|
|
1334
|
-
declare class PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
|
|
1592
|
+
declare class PrefixManagerProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TStreamingInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt> {
|
|
1593
|
+
#private;
|
|
1594
|
+
constructor(appExtension: AppExtension<ThrowError, TError, TInvocationContext, TStreamingInvocationContext, TBigInt>);
|
|
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>);
|
|
1630
|
+
}
|
|
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>);
|
|
1368
1633
|
}
|
|
1369
|
-
declare class
|
|
1370
|
-
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>);
|
|
1371
1636
|
}
|
|
1372
|
-
declare class
|
|
1373
|
-
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>);
|
|
1374
1639
|
}
|
|
1375
|
-
declare class
|
|
1376
|
-
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>);
|
|
1377
1642
|
}
|
|
1378
|
-
declare class
|
|
1379
|
-
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>);
|
|
1380
1645
|
}
|
|
1381
|
-
declare class
|
|
1382
|
-
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>);
|
|
1383
1648
|
}
|
|
1384
|
-
declare class
|
|
1385
|
-
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>);
|
|
1386
1651
|
}
|
|
1387
|
-
declare class
|
|
1388
|
-
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>);
|
|
1389
1654
|
}
|
|
1390
|
-
declare class
|
|
1391
|
-
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>);
|
|
1392
1657
|
}
|
|
1393
|
-
declare class
|
|
1394
|
-
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>);
|
|
1395
1660
|
}
|
|
1396
|
-
|
|
1397
|
-
|
|
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
|
/**
|
|
@@ -1472,24 +1747,28 @@ interface Localization {
|
|
|
1472
1747
|
/**
|
|
1473
1748
|
* Name.
|
|
1474
1749
|
*/
|
|
1475
|
-
name: string;
|
|
1750
|
+
readonly name: string;
|
|
1476
1751
|
/**
|
|
1477
1752
|
* Description.
|
|
1478
1753
|
*/
|
|
1479
|
-
description: string;
|
|
1754
|
+
readonly description: string;
|
|
1480
1755
|
}
|
|
1481
1756
|
/**
|
|
1482
1757
|
* Function localization.
|
|
1483
1758
|
*/
|
|
1484
1759
|
interface FunctionLocalization extends Localization {
|
|
1760
|
+
/**
|
|
1761
|
+
* Namespace function name.
|
|
1762
|
+
*/
|
|
1763
|
+
readonly namespaceFunctionName: string;
|
|
1485
1764
|
/**
|
|
1486
1765
|
* Documentation URL.
|
|
1487
1766
|
*/
|
|
1488
|
-
documentationURL: string;
|
|
1767
|
+
readonly documentationURL: string;
|
|
1489
1768
|
/**
|
|
1490
1769
|
* Parameters map.
|
|
1491
1770
|
*/
|
|
1492
|
-
parametersMap:
|
|
1771
|
+
readonly parametersMap: ReadonlyMap<string, Localization>;
|
|
1493
1772
|
}
|
|
1494
1773
|
/**
|
|
1495
1774
|
* Abstract generator.
|
|
@@ -1503,6 +1782,10 @@ declare abstract class Generator {
|
|
|
1503
1782
|
* Include localizations if true.
|
|
1504
1783
|
*/
|
|
1505
1784
|
constructor(includeLocalizations?: boolean);
|
|
1785
|
+
/**
|
|
1786
|
+
* Get the logger.
|
|
1787
|
+
*/
|
|
1788
|
+
get logger(): Logger<object>;
|
|
1506
1789
|
/**
|
|
1507
1790
|
* Get the locales.
|
|
1508
1791
|
*/
|
|
@@ -1512,38 +1795,29 @@ declare abstract class Generator {
|
|
|
1512
1795
|
*/
|
|
1513
1796
|
protected get defaultLocale(): string;
|
|
1514
1797
|
/**
|
|
1515
|
-
*
|
|
1516
|
-
*
|
|
1517
|
-
* @param locale
|
|
1518
|
-
* Locale.
|
|
1519
|
-
*
|
|
1520
|
-
* @param namespaceFunctionName
|
|
1521
|
-
* Namespace function name.
|
|
1522
|
-
*
|
|
1523
|
-
* @returns
|
|
1524
|
-
* Function localization.
|
|
1798
|
+
* Initialize the generation of the output.
|
|
1525
1799
|
*/
|
|
1526
|
-
protected
|
|
1800
|
+
protected abstract initialize(): void;
|
|
1527
1801
|
/**
|
|
1528
|
-
*
|
|
1802
|
+
* Create a namespace.
|
|
1529
1803
|
*
|
|
1530
|
-
* @param
|
|
1531
|
-
*
|
|
1804
|
+
* @param namespace
|
|
1805
|
+
* Namespace.
|
|
1806
|
+
*/
|
|
1807
|
+
protected abstract createNamespace(namespace: string | undefined): void;
|
|
1808
|
+
/**
|
|
1809
|
+
* Create a category.
|
|
1532
1810
|
*
|
|
1533
|
-
* @param
|
|
1534
|
-
* Namespace
|
|
1811
|
+
* @param namespace
|
|
1812
|
+
* Namespace.
|
|
1535
1813
|
*
|
|
1536
|
-
* @param
|
|
1537
|
-
*
|
|
1814
|
+
* @param category
|
|
1815
|
+
* Category.
|
|
1538
1816
|
*
|
|
1539
|
-
* @
|
|
1540
|
-
*
|
|
1817
|
+
* @param categoryLocalizationsMap
|
|
1818
|
+
* Category localizations map.
|
|
1541
1819
|
*/
|
|
1542
|
-
protected
|
|
1543
|
-
/**
|
|
1544
|
-
* Initialize the generation of the output.
|
|
1545
|
-
*/
|
|
1546
|
-
protected abstract initialize(): void;
|
|
1820
|
+
protected abstract createCategory(namespace: string | undefined, category: string, categoryLocalizationsMap: ReadonlyMap<string, string>): void;
|
|
1547
1821
|
/**
|
|
1548
1822
|
* Create a proxy object for a class.
|
|
1549
1823
|
*
|
|
@@ -1561,7 +1835,7 @@ declare abstract class Generator {
|
|
|
1561
1835
|
* Method descriptor.
|
|
1562
1836
|
*
|
|
1563
1837
|
* @param functionLocalizationsMap
|
|
1564
|
-
*
|
|
1838
|
+
* Function localizations map.
|
|
1565
1839
|
*/
|
|
1566
1840
|
protected abstract createProxyFunction(classDescriptor: ClassDescriptor, methodDescriptor: MethodDescriptor, functionLocalizationsMap: ReadonlyMap<string, FunctionLocalization>): void;
|
|
1567
1841
|
/**
|
|
@@ -1570,7 +1844,7 @@ declare abstract class Generator {
|
|
|
1570
1844
|
* @param success
|
|
1571
1845
|
* True if successful.
|
|
1572
1846
|
*/
|
|
1573
|
-
protected abstract finalize(success: boolean):
|
|
1847
|
+
protected abstract finalize(success: boolean): Promisable<void>;
|
|
1574
1848
|
/**
|
|
1575
1849
|
* Generate by processing individual imports.
|
|
1576
1850
|
*/
|
|
@@ -1588,4 +1862,4 @@ declare abstract class Generator {
|
|
|
1588
1862
|
*/
|
|
1589
1863
|
declare function expandParameterDescriptor(parameterDescriptor: ParameterDescriptor | ExtendsParameterDescriptor): ParameterDescriptor;
|
|
1590
1864
|
|
|
1591
|
-
export { type Address, AlphabeticProxy, AlphanumericProxy, AppExtension, type AppExtensionLocaleResources,
|
|
1865
|
+
export { type Address, AlphabeticProxy, AlphanumericProxy, AppExtension, type AppExtensionLocaleResources, AppHelperProxy, CharacterSetCreatorProxy, CharacterSetValidatorProxy, type ClassDescriptor, type ErrorExtends, type ExtendsParameterDescriptor, type FunctionLocalization, index as GS1, Generator, HexadecimalProxy, LibProxy, type Localization, type Matrix, type MatrixResult, type MethodDescriptor, Multiplicities, type Multiplicity, type MultiplicityKey, 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, appExtensionResourceBundle, expandParameterDescriptor, i18nAppExtensionInit, i18nextAppExtension };
|