@fluxo-dev/api-client-base 26.1.4 → 26.2.1
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/index.cjs.js +475 -370
- package/package.json +2 -2
- package/src/lib/reporting/models/condition-fields.d.ts +37 -0
- package/src/lib/reporting/models/index.d.ts +5 -0
- package/src/lib/reporting/models/print-options.d.ts +30 -0
- package/src/lib/reporting/models/print-profile-user.d.ts +19 -0
- package/src/lib/reporting/models/print-profile.d.ts +16 -0
- package/src/lib/reporting/models/print-rule.d.ts +35 -0
- package/src/lib/reporting/reporting.service.d.ts +21 -5
package/index.cjs.js
CHANGED
|
@@ -5315,6 +5315,321 @@ class EmbeddedModule {
|
|
|
5315
5315
|
}
|
|
5316
5316
|
}
|
|
5317
5317
|
|
|
5318
|
+
var $$b = _export;
|
|
5319
|
+
var DESCRIPTORS$1 = descriptors;
|
|
5320
|
+
var global$2 = global$o;
|
|
5321
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
5322
|
+
var hasOwn = hasOwnProperty_1;
|
|
5323
|
+
var isCallable$1 = isCallable$q;
|
|
5324
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
5325
|
+
var toString$1 = toString$7;
|
|
5326
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$3;
|
|
5327
|
+
var copyConstructorProperties = copyConstructorProperties$3;
|
|
5328
|
+
|
|
5329
|
+
var NativeSymbol = global$2.Symbol;
|
|
5330
|
+
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
5331
|
+
|
|
5332
|
+
if (DESCRIPTORS$1 && isCallable$1(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
5333
|
+
// Safari 12 bug
|
|
5334
|
+
NativeSymbol().description !== undefined
|
|
5335
|
+
)) {
|
|
5336
|
+
var EmptyStringDescriptionStore = {};
|
|
5337
|
+
// wrap Symbol constructor for correct work with undefined description
|
|
5338
|
+
var SymbolWrapper = function Symbol() {
|
|
5339
|
+
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$1(arguments[0]);
|
|
5340
|
+
var result = isPrototypeOf(SymbolPrototype, this)
|
|
5341
|
+
? new NativeSymbol(description)
|
|
5342
|
+
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
|
|
5343
|
+
: description === undefined ? NativeSymbol() : NativeSymbol(description);
|
|
5344
|
+
if (description === '') EmptyStringDescriptionStore[result] = true;
|
|
5345
|
+
return result;
|
|
5346
|
+
};
|
|
5347
|
+
|
|
5348
|
+
copyConstructorProperties(SymbolWrapper, NativeSymbol);
|
|
5349
|
+
SymbolWrapper.prototype = SymbolPrototype;
|
|
5350
|
+
SymbolPrototype.constructor = SymbolWrapper;
|
|
5351
|
+
|
|
5352
|
+
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
5353
|
+
var thisSymbolValue = uncurryThis$3(SymbolPrototype.valueOf);
|
|
5354
|
+
var symbolDescriptiveString = uncurryThis$3(SymbolPrototype.toString);
|
|
5355
|
+
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
5356
|
+
var replace = uncurryThis$3(''.replace);
|
|
5357
|
+
var stringSlice = uncurryThis$3(''.slice);
|
|
5358
|
+
|
|
5359
|
+
defineBuiltInAccessor(SymbolPrototype, 'description', {
|
|
5360
|
+
configurable: true,
|
|
5361
|
+
get: function description() {
|
|
5362
|
+
var symbol = thisSymbolValue(this);
|
|
5363
|
+
if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
|
|
5364
|
+
var string = symbolDescriptiveString(symbol);
|
|
5365
|
+
var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');
|
|
5366
|
+
return desc === '' ? undefined : desc;
|
|
5367
|
+
}
|
|
5368
|
+
});
|
|
5369
|
+
|
|
5370
|
+
$$b({ global: true, constructor: true, forced: true }, {
|
|
5371
|
+
Symbol: SymbolWrapper
|
|
5372
|
+
});
|
|
5373
|
+
}
|
|
5374
|
+
|
|
5375
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
5376
|
+
var create = objectCreate;
|
|
5377
|
+
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
5378
|
+
var setToStringTag$2 = setToStringTag$4;
|
|
5379
|
+
var Iterators$2 = iterators;
|
|
5380
|
+
|
|
5381
|
+
var returnThis$1 = function () { return this; };
|
|
5382
|
+
|
|
5383
|
+
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
5384
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
5385
|
+
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
5386
|
+
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
5387
|
+
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
5388
|
+
return IteratorConstructor;
|
|
5389
|
+
};
|
|
5390
|
+
|
|
5391
|
+
var $$a = _export;
|
|
5392
|
+
var call$2 = functionCall;
|
|
5393
|
+
var FunctionName = functionName;
|
|
5394
|
+
var isCallable = isCallable$q;
|
|
5395
|
+
var createIteratorConstructor = iteratorCreateConstructor;
|
|
5396
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
5397
|
+
var setPrototypeOf = objectSetPrototypeOf;
|
|
5398
|
+
var setToStringTag$1 = setToStringTag$4;
|
|
5399
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$9;
|
|
5400
|
+
var defineBuiltIn = defineBuiltIn$8;
|
|
5401
|
+
var wellKnownSymbol$3 = wellKnownSymbol$l;
|
|
5402
|
+
var Iterators$1 = iterators;
|
|
5403
|
+
var IteratorsCore = iteratorsCore;
|
|
5404
|
+
|
|
5405
|
+
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
5406
|
+
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
5407
|
+
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
5408
|
+
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
5409
|
+
var ITERATOR$1 = wellKnownSymbol$3('iterator');
|
|
5410
|
+
var KEYS = 'keys';
|
|
5411
|
+
var VALUES = 'values';
|
|
5412
|
+
var ENTRIES = 'entries';
|
|
5413
|
+
|
|
5414
|
+
var returnThis = function () { return this; };
|
|
5415
|
+
|
|
5416
|
+
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
5417
|
+
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
5418
|
+
|
|
5419
|
+
var getIterationMethod = function (KIND) {
|
|
5420
|
+
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
5421
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
5422
|
+
|
|
5423
|
+
switch (KIND) {
|
|
5424
|
+
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
5425
|
+
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
5426
|
+
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
5427
|
+
}
|
|
5428
|
+
|
|
5429
|
+
return function () { return new IteratorConstructor(this); };
|
|
5430
|
+
};
|
|
5431
|
+
|
|
5432
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
5433
|
+
var INCORRECT_VALUES_NAME = false;
|
|
5434
|
+
var IterablePrototype = Iterable.prototype;
|
|
5435
|
+
var nativeIterator = IterablePrototype[ITERATOR$1]
|
|
5436
|
+
|| IterablePrototype['@@iterator']
|
|
5437
|
+
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
5438
|
+
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
5439
|
+
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
5440
|
+
var CurrentIteratorPrototype, methods, KEY;
|
|
5441
|
+
|
|
5442
|
+
// fix native
|
|
5443
|
+
if (anyNativeIterator) {
|
|
5444
|
+
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
5445
|
+
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
5446
|
+
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
5447
|
+
if (setPrototypeOf) {
|
|
5448
|
+
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
5449
|
+
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
|
|
5450
|
+
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
|
|
5451
|
+
}
|
|
5452
|
+
}
|
|
5453
|
+
// Set @@toStringTag to native iterators
|
|
5454
|
+
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
5455
|
+
}
|
|
5456
|
+
}
|
|
5457
|
+
|
|
5458
|
+
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
5459
|
+
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
5460
|
+
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
5461
|
+
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
5462
|
+
} else {
|
|
5463
|
+
INCORRECT_VALUES_NAME = true;
|
|
5464
|
+
defaultIterator = function values() { return call$2(nativeIterator, this); };
|
|
5465
|
+
}
|
|
5466
|
+
}
|
|
5467
|
+
|
|
5468
|
+
// export additional methods
|
|
5469
|
+
if (DEFAULT) {
|
|
5470
|
+
methods = {
|
|
5471
|
+
values: getIterationMethod(VALUES),
|
|
5472
|
+
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
5473
|
+
entries: getIterationMethod(ENTRIES)
|
|
5474
|
+
};
|
|
5475
|
+
if (FORCED) for (KEY in methods) {
|
|
5476
|
+
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
5477
|
+
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
5478
|
+
}
|
|
5479
|
+
} else $$a({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
5480
|
+
}
|
|
5481
|
+
|
|
5482
|
+
// define iterator
|
|
5483
|
+
if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
|
|
5484
|
+
defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
|
|
5485
|
+
}
|
|
5486
|
+
Iterators$1[NAME] = defaultIterator;
|
|
5487
|
+
|
|
5488
|
+
return methods;
|
|
5489
|
+
};
|
|
5490
|
+
|
|
5491
|
+
var toIndexedObject = toIndexedObject$5;
|
|
5492
|
+
var addToUnscopables$1 = addToUnscopables$3;
|
|
5493
|
+
var Iterators = iterators;
|
|
5494
|
+
var InternalStateModule = internalState;
|
|
5495
|
+
var defineProperty = objectDefineProperty.f;
|
|
5496
|
+
var defineIterator = iteratorDefine;
|
|
5497
|
+
var createIterResultObject = createIterResultObject$2;
|
|
5498
|
+
var DESCRIPTORS = descriptors;
|
|
5499
|
+
|
|
5500
|
+
var ARRAY_ITERATOR = 'Array Iterator';
|
|
5501
|
+
var setInternalState = InternalStateModule.set;
|
|
5502
|
+
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
5503
|
+
|
|
5504
|
+
// `Array.prototype.entries` method
|
|
5505
|
+
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
5506
|
+
// `Array.prototype.keys` method
|
|
5507
|
+
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
|
5508
|
+
// `Array.prototype.values` method
|
|
5509
|
+
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
5510
|
+
// `Array.prototype[@@iterator]` method
|
|
5511
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
5512
|
+
// `CreateArrayIterator` internal method
|
|
5513
|
+
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
5514
|
+
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
5515
|
+
setInternalState(this, {
|
|
5516
|
+
type: ARRAY_ITERATOR,
|
|
5517
|
+
target: toIndexedObject(iterated), // target
|
|
5518
|
+
index: 0, // next index
|
|
5519
|
+
kind: kind // kind
|
|
5520
|
+
});
|
|
5521
|
+
// `%ArrayIteratorPrototype%.next` method
|
|
5522
|
+
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
5523
|
+
}, function () {
|
|
5524
|
+
var state = getInternalState(this);
|
|
5525
|
+
var target = state.target;
|
|
5526
|
+
var index = state.index++;
|
|
5527
|
+
if (!target || index >= target.length) {
|
|
5528
|
+
state.target = undefined;
|
|
5529
|
+
return createIterResultObject(undefined, true);
|
|
5530
|
+
}
|
|
5531
|
+
switch (state.kind) {
|
|
5532
|
+
case 'keys': return createIterResultObject(index, false);
|
|
5533
|
+
case 'values': return createIterResultObject(target[index], false);
|
|
5534
|
+
} return createIterResultObject([index, target[index]], false);
|
|
5535
|
+
}, 'values');
|
|
5536
|
+
|
|
5537
|
+
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
5538
|
+
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
5539
|
+
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
5540
|
+
var values = Iterators.Arguments = Iterators.Array;
|
|
5541
|
+
|
|
5542
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
5543
|
+
addToUnscopables$1('keys');
|
|
5544
|
+
addToUnscopables$1('values');
|
|
5545
|
+
addToUnscopables$1('entries');
|
|
5546
|
+
|
|
5547
|
+
// V8 ~ Chrome 45- bug
|
|
5548
|
+
if (DESCRIPTORS && values.name !== 'values') try {
|
|
5549
|
+
defineProperty(values, 'name', { value: 'values' });
|
|
5550
|
+
} catch (error) { /* empty */ }
|
|
5551
|
+
|
|
5552
|
+
// iterable DOM collections
|
|
5553
|
+
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
5554
|
+
var domIterables = {
|
|
5555
|
+
CSSRuleList: 0,
|
|
5556
|
+
CSSStyleDeclaration: 0,
|
|
5557
|
+
CSSValueList: 0,
|
|
5558
|
+
ClientRectList: 0,
|
|
5559
|
+
DOMRectList: 0,
|
|
5560
|
+
DOMStringList: 0,
|
|
5561
|
+
DOMTokenList: 1,
|
|
5562
|
+
DataTransferItemList: 0,
|
|
5563
|
+
FileList: 0,
|
|
5564
|
+
HTMLAllCollection: 0,
|
|
5565
|
+
HTMLCollection: 0,
|
|
5566
|
+
HTMLFormElement: 0,
|
|
5567
|
+
HTMLSelectElement: 0,
|
|
5568
|
+
MediaList: 0,
|
|
5569
|
+
MimeTypeArray: 0,
|
|
5570
|
+
NamedNodeMap: 0,
|
|
5571
|
+
NodeList: 1,
|
|
5572
|
+
PaintRequestList: 0,
|
|
5573
|
+
Plugin: 0,
|
|
5574
|
+
PluginArray: 0,
|
|
5575
|
+
SVGLengthList: 0,
|
|
5576
|
+
SVGNumberList: 0,
|
|
5577
|
+
SVGPathSegList: 0,
|
|
5578
|
+
SVGPointList: 0,
|
|
5579
|
+
SVGStringList: 0,
|
|
5580
|
+
SVGTransformList: 0,
|
|
5581
|
+
SourceBufferList: 0,
|
|
5582
|
+
StyleSheetList: 0,
|
|
5583
|
+
TextTrackCueList: 0,
|
|
5584
|
+
TextTrackList: 0,
|
|
5585
|
+
TouchList: 0
|
|
5586
|
+
};
|
|
5587
|
+
|
|
5588
|
+
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
|
5589
|
+
var documentCreateElement = documentCreateElement$2;
|
|
5590
|
+
|
|
5591
|
+
var classList = documentCreateElement('span').classList;
|
|
5592
|
+
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
|
5593
|
+
|
|
5594
|
+
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
5595
|
+
|
|
5596
|
+
var global$1 = global$o;
|
|
5597
|
+
var DOMIterables = domIterables;
|
|
5598
|
+
var DOMTokenListPrototype = domTokenListPrototype;
|
|
5599
|
+
var ArrayIteratorMethods = es_array_iterator;
|
|
5600
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$9;
|
|
5601
|
+
var setToStringTag = setToStringTag$4;
|
|
5602
|
+
var wellKnownSymbol$2 = wellKnownSymbol$l;
|
|
5603
|
+
|
|
5604
|
+
var ITERATOR = wellKnownSymbol$2('iterator');
|
|
5605
|
+
var ArrayValues = ArrayIteratorMethods.values;
|
|
5606
|
+
|
|
5607
|
+
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
5608
|
+
if (CollectionPrototype) {
|
|
5609
|
+
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
5610
|
+
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
5611
|
+
createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
|
|
5612
|
+
} catch (error) {
|
|
5613
|
+
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
5614
|
+
}
|
|
5615
|
+
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
5616
|
+
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
5617
|
+
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
5618
|
+
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
5619
|
+
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
5620
|
+
} catch (error) {
|
|
5621
|
+
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
5622
|
+
}
|
|
5623
|
+
}
|
|
5624
|
+
}
|
|
5625
|
+
};
|
|
5626
|
+
|
|
5627
|
+
for (var COLLECTION_NAME in DOMIterables) {
|
|
5628
|
+
handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
5629
|
+
}
|
|
5630
|
+
|
|
5631
|
+
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
5632
|
+
|
|
5318
5633
|
class ReportingService {
|
|
5319
5634
|
getReportsList(scopeFilter) {
|
|
5320
5635
|
return HttpClient$1.Instance().client.get(scopeFilter ? `reports/types/list?scopeFilter=${scopeFilter}` : 'reports/types/list');
|
|
@@ -5334,9 +5649,114 @@ class ReportingService {
|
|
|
5334
5649
|
print(command) {
|
|
5335
5650
|
return HttpClient$1.Instance().client.post('reports/print', command);
|
|
5336
5651
|
}
|
|
5652
|
+
preview(reportUrl) {
|
|
5653
|
+
return HttpClient$1.Instance().client.get(`reports/preview?reportUrl=${encodeURIComponent(reportUrl)}`);
|
|
5654
|
+
}
|
|
5337
5655
|
updateReport(reportId, command) {
|
|
5338
5656
|
return HttpClient$1.Instance().client.put(`reports/${reportId}`, command);
|
|
5339
5657
|
}
|
|
5658
|
+
// PrintProfile endpoints
|
|
5659
|
+
createPrintProfile(command) {
|
|
5660
|
+
return HttpClient$1.Instance().client.post('print-profile/profile', command);
|
|
5661
|
+
}
|
|
5662
|
+
updatePrintProfile(id, command) {
|
|
5663
|
+
return HttpClient$1.Instance().client.put(`print-profile/profile/${id}`, command);
|
|
5664
|
+
}
|
|
5665
|
+
deletePrintProfile(id) {
|
|
5666
|
+
return HttpClient$1.Instance().client.delete(`print-profile/profile/${id}`);
|
|
5667
|
+
}
|
|
5668
|
+
getPrintProfileById(id) {
|
|
5669
|
+
return HttpClient$1.Instance().client.get(`print-profile/profile/${id}`);
|
|
5670
|
+
}
|
|
5671
|
+
getAllPrintProfiles() {
|
|
5672
|
+
return HttpClient$1.Instance().client.get('print-profile/profile');
|
|
5673
|
+
}
|
|
5674
|
+
// PrintProfileUser endpoints
|
|
5675
|
+
assignUserToPrintProfile(printProfileId, command) {
|
|
5676
|
+
return HttpClient$1.Instance().client.post(`print-profile/profile/${printProfileId}/user`, command);
|
|
5677
|
+
}
|
|
5678
|
+
updatePrintProfileUser(printProfileId, userId, command) {
|
|
5679
|
+
return HttpClient$1.Instance().client.put(`print-profile/profile/${printProfileId}/user/${userId}`, command);
|
|
5680
|
+
}
|
|
5681
|
+
removeUserFromPrintProfile(printProfileId, userId) {
|
|
5682
|
+
return HttpClient$1.Instance().client.delete(`print-profile/profile/${printProfileId}/user/${userId}`);
|
|
5683
|
+
}
|
|
5684
|
+
getPrintProfileByUserId(userId) {
|
|
5685
|
+
return HttpClient$1.Instance().client.get(`print-profile/user/${userId}/profile`);
|
|
5686
|
+
}
|
|
5687
|
+
getUsersForPrintProfile(printProfileId) {
|
|
5688
|
+
return HttpClient$1.Instance().client.get(`print-profile/profile/${printProfileId}/user`);
|
|
5689
|
+
}
|
|
5690
|
+
// PrintRule endpoints
|
|
5691
|
+
createPrintRule(command) {
|
|
5692
|
+
return HttpClient$1.Instance().client.post('print-profile/rule', command);
|
|
5693
|
+
}
|
|
5694
|
+
updatePrintRule(id, command) {
|
|
5695
|
+
return HttpClient$1.Instance().client.put(`print-profile/rule/${id}`, command);
|
|
5696
|
+
}
|
|
5697
|
+
deletePrintRule(id) {
|
|
5698
|
+
return HttpClient$1.Instance().client.delete(`print-profile/rule/${id}`);
|
|
5699
|
+
}
|
|
5700
|
+
getPrintRuleById(id) {
|
|
5701
|
+
return HttpClient$1.Instance().client.get(`print-profile/rule/${id}`);
|
|
5702
|
+
}
|
|
5703
|
+
getPrintRulesForProfile(printProfileId) {
|
|
5704
|
+
return HttpClient$1.Instance().client.get(`print-profile/profile/${printProfileId}/rule`);
|
|
5705
|
+
}
|
|
5706
|
+
getPrintRulesByReportType(reportType) {
|
|
5707
|
+
return HttpClient$1.Instance().client.get(`print-profile/rule/by-report-type/${reportType}`);
|
|
5708
|
+
}
|
|
5709
|
+
getAvailableConditionFields(reportType) {
|
|
5710
|
+
return HttpClient$1.Instance().client.post('print-options/condition-field', {
|
|
5711
|
+
reportType
|
|
5712
|
+
}).then(response => {
|
|
5713
|
+
var _a, _b, _c, _d, _e, _f;
|
|
5714
|
+
return {
|
|
5715
|
+
reportType: (_b = (_a = response.reportType) !== null && _a !== void 0 ? _a : response.ReportType) !== null && _b !== void 0 ? _b : reportType,
|
|
5716
|
+
supportsConditions: (_d = (_c = response.supportsConditions) !== null && _c !== void 0 ? _c : response.SupportsConditions) !== null && _d !== void 0 ? _d : false,
|
|
5717
|
+
availableFields: ((_f = (_e = response.availableFields) !== null && _e !== void 0 ? _e : response.AvailableFields) !== null && _f !== void 0 ? _f : []).map(field => {
|
|
5718
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
5719
|
+
return {
|
|
5720
|
+
id: (_b = (_a = field.id) !== null && _a !== void 0 ? _a : field.Id) !== null && _b !== void 0 ? _b : '',
|
|
5721
|
+
path: (_d = (_c = field.path) !== null && _c !== void 0 ? _c : field.Path) !== null && _d !== void 0 ? _d : '',
|
|
5722
|
+
type: (_f = (_e = field.type) !== null && _e !== void 0 ? _e : field.Type) !== null && _f !== void 0 ? _f : 'string',
|
|
5723
|
+
displayName: (_h = (_g = field.displayName) !== null && _g !== void 0 ? _g : field.DisplayName) !== null && _h !== void 0 ? _h : '',
|
|
5724
|
+
description: (_k = (_j = field.description) !== null && _j !== void 0 ? _j : field.Description) !== null && _k !== void 0 ? _k : undefined,
|
|
5725
|
+
supportedOperators: (_m = (_l = field.supportedOperators) !== null && _l !== void 0 ? _l : field.SupportedOperators) !== null && _m !== void 0 ? _m : [],
|
|
5726
|
+
isLookup: (_p = (_o = field.isLookup) !== null && _o !== void 0 ? _o : field.IsLookup) !== null && _p !== void 0 ? _p : false,
|
|
5727
|
+
enumValues: ((_q = field.enumValues) !== null && _q !== void 0 ? _q : field.EnumValues) ? ((_r = field.enumValues) !== null && _r !== void 0 ? _r : field.EnumValues).map(ev => {
|
|
5728
|
+
var _a, _b, _c, _d, _e;
|
|
5729
|
+
return {
|
|
5730
|
+
id: (_a = ev.id) !== null && _a !== void 0 ? _a : ev.Id,
|
|
5731
|
+
value: (_c = (_b = ev.value) !== null && _b !== void 0 ? _b : ev.Value) !== null && _c !== void 0 ? _c : '',
|
|
5732
|
+
displayName: (_e = (_d = ev.displayName) !== null && _d !== void 0 ? _d : ev.DisplayName) !== null && _e !== void 0 ? _e : ''
|
|
5733
|
+
};
|
|
5734
|
+
}) : undefined
|
|
5735
|
+
};
|
|
5736
|
+
})
|
|
5737
|
+
};
|
|
5738
|
+
});
|
|
5739
|
+
}
|
|
5740
|
+
getLookupValues(request) {
|
|
5741
|
+
return HttpClient$1.Instance().client.post('print-options/condition-field/lookup-values', request).then(response => {
|
|
5742
|
+
var _a, _b, _c, _d;
|
|
5743
|
+
return {
|
|
5744
|
+
values: ((_b = (_a = response.values) !== null && _a !== void 0 ? _a : response.Values) !== null && _b !== void 0 ? _b : []).map(v => {
|
|
5745
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
5746
|
+
return {
|
|
5747
|
+
id: String((_b = (_a = v.id) !== null && _a !== void 0 ? _a : v.Id) !== null && _b !== void 0 ? _b : ''),
|
|
5748
|
+
displayName: (_d = (_c = v.displayName) !== null && _c !== void 0 ? _c : v.DisplayName) !== null && _d !== void 0 ? _d : '',
|
|
5749
|
+
subtitle: (_f = (_e = v.subtitle) !== null && _e !== void 0 ? _e : v.Subtitle) !== null && _f !== void 0 ? _f : null,
|
|
5750
|
+
description: (_h = (_g = v.description) !== null && _g !== void 0 ? _g : v.Description) !== null && _h !== void 0 ? _h : null
|
|
5751
|
+
};
|
|
5752
|
+
}),
|
|
5753
|
+
totalCount: (_d = (_c = response.totalCount) !== null && _c !== void 0 ? _c : response.TotalCount) !== null && _d !== void 0 ? _d : 0
|
|
5754
|
+
};
|
|
5755
|
+
});
|
|
5756
|
+
}
|
|
5757
|
+
getPrintOptions(request) {
|
|
5758
|
+
return HttpClient$1.Instance().client.post('print-options', request);
|
|
5759
|
+
}
|
|
5340
5760
|
}
|
|
5341
5761
|
|
|
5342
5762
|
exports.PrinterType = void 0;
|
|
@@ -5967,227 +6387,50 @@ class BiService {
|
|
|
5967
6387
|
deleteDataConnection(id) {
|
|
5968
6388
|
return HttpClient$1.Instance().client.delete(`bi/data-connection/${id}`);
|
|
5969
6389
|
}
|
|
5970
|
-
testDataConnection(dataConnection) {
|
|
5971
|
-
return HttpClient$1.Instance().client.post(`bi/data-connection/test`, dataConnection);
|
|
5972
|
-
}
|
|
5973
|
-
}
|
|
5974
|
-
|
|
5975
|
-
class BiDashboardCategoryService extends BaseCommonService {
|
|
5976
|
-
constructor() {
|
|
5977
|
-
super('bi-dashboard-category');
|
|
5978
|
-
}
|
|
5979
|
-
}
|
|
5980
|
-
|
|
5981
|
-
class BiFacade {
|
|
5982
|
-
constructor() {
|
|
5983
|
-
this._biCoreService = new BiService();
|
|
5984
|
-
this._biDashboardCategoryService = new BiDashboardCategoryService();
|
|
5985
|
-
}
|
|
5986
|
-
get core() {
|
|
5987
|
-
return this._biCoreService;
|
|
5988
|
-
}
|
|
5989
|
-
get dashboardCategory() {
|
|
5990
|
-
return this._biDashboardCategoryService;
|
|
5991
|
-
}
|
|
5992
|
-
}
|
|
5993
|
-
|
|
5994
|
-
exports.DataSourceType = void 0;
|
|
5995
|
-
(function (DataSourceType) {
|
|
5996
|
-
DataSourceType[DataSourceType["Sql"] = 1] = "Sql";
|
|
5997
|
-
DataSourceType[DataSourceType["Json"] = 2] = "Json";
|
|
5998
|
-
})(exports.DataSourceType || (exports.DataSourceType = {}));
|
|
5999
|
-
|
|
6000
|
-
exports.SqlDatasourceProvider = void 0;
|
|
6001
|
-
(function (SqlDatasourceProvider) {
|
|
6002
|
-
SqlDatasourceProvider[SqlDatasourceProvider["MsSql"] = 1] = "MsSql";
|
|
6003
|
-
SqlDatasourceProvider[SqlDatasourceProvider["MySql"] = 2] = "MySql";
|
|
6004
|
-
SqlDatasourceProvider[SqlDatasourceProvider["Postgres"] = 3] = "Postgres";
|
|
6005
|
-
})(exports.SqlDatasourceProvider || (exports.SqlDatasourceProvider = {}));
|
|
6006
|
-
|
|
6007
|
-
exports.JsonDataSourceProvider = void 0;
|
|
6008
|
-
(function (JsonDataSourceProvider) {
|
|
6009
|
-
JsonDataSourceProvider[JsonDataSourceProvider["Uri"] = 1] = "Uri";
|
|
6010
|
-
JsonDataSourceProvider[JsonDataSourceProvider["Data"] = 2] = "Data";
|
|
6011
|
-
})(exports.JsonDataSourceProvider || (exports.JsonDataSourceProvider = {}));
|
|
6012
|
-
|
|
6013
|
-
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
6014
|
-
var create = objectCreate;
|
|
6015
|
-
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
6016
|
-
var setToStringTag$2 = setToStringTag$4;
|
|
6017
|
-
var Iterators$2 = iterators;
|
|
6018
|
-
|
|
6019
|
-
var returnThis$1 = function () { return this; };
|
|
6020
|
-
|
|
6021
|
-
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
6022
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
6023
|
-
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
6024
|
-
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
6025
|
-
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
6026
|
-
return IteratorConstructor;
|
|
6027
|
-
};
|
|
6028
|
-
|
|
6029
|
-
var $$b = _export;
|
|
6030
|
-
var call$2 = functionCall;
|
|
6031
|
-
var FunctionName = functionName;
|
|
6032
|
-
var isCallable$1 = isCallable$q;
|
|
6033
|
-
var createIteratorConstructor = iteratorCreateConstructor;
|
|
6034
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
6035
|
-
var setPrototypeOf = objectSetPrototypeOf;
|
|
6036
|
-
var setToStringTag$1 = setToStringTag$4;
|
|
6037
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$9;
|
|
6038
|
-
var defineBuiltIn = defineBuiltIn$8;
|
|
6039
|
-
var wellKnownSymbol$3 = wellKnownSymbol$l;
|
|
6040
|
-
var Iterators$1 = iterators;
|
|
6041
|
-
var IteratorsCore = iteratorsCore;
|
|
6042
|
-
|
|
6043
|
-
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
6044
|
-
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
6045
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
6046
|
-
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
6047
|
-
var ITERATOR$1 = wellKnownSymbol$3('iterator');
|
|
6048
|
-
var KEYS = 'keys';
|
|
6049
|
-
var VALUES = 'values';
|
|
6050
|
-
var ENTRIES = 'entries';
|
|
6051
|
-
|
|
6052
|
-
var returnThis = function () { return this; };
|
|
6053
|
-
|
|
6054
|
-
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
6055
|
-
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
6056
|
-
|
|
6057
|
-
var getIterationMethod = function (KIND) {
|
|
6058
|
-
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
6059
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
6060
|
-
|
|
6061
|
-
switch (KIND) {
|
|
6062
|
-
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
6063
|
-
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
6064
|
-
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
6065
|
-
}
|
|
6066
|
-
|
|
6067
|
-
return function () { return new IteratorConstructor(this); };
|
|
6068
|
-
};
|
|
6069
|
-
|
|
6070
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
6071
|
-
var INCORRECT_VALUES_NAME = false;
|
|
6072
|
-
var IterablePrototype = Iterable.prototype;
|
|
6073
|
-
var nativeIterator = IterablePrototype[ITERATOR$1]
|
|
6074
|
-
|| IterablePrototype['@@iterator']
|
|
6075
|
-
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
6076
|
-
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
6077
|
-
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
6078
|
-
var CurrentIteratorPrototype, methods, KEY;
|
|
6079
|
-
|
|
6080
|
-
// fix native
|
|
6081
|
-
if (anyNativeIterator) {
|
|
6082
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
6083
|
-
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
6084
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
6085
|
-
if (setPrototypeOf) {
|
|
6086
|
-
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
6087
|
-
} else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR$1])) {
|
|
6088
|
-
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
|
|
6089
|
-
}
|
|
6090
|
-
}
|
|
6091
|
-
// Set @@toStringTag to native iterators
|
|
6092
|
-
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
6093
|
-
}
|
|
6094
|
-
}
|
|
6095
|
-
|
|
6096
|
-
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
6097
|
-
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
6098
|
-
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
6099
|
-
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
6100
|
-
} else {
|
|
6101
|
-
INCORRECT_VALUES_NAME = true;
|
|
6102
|
-
defaultIterator = function values() { return call$2(nativeIterator, this); };
|
|
6103
|
-
}
|
|
6104
|
-
}
|
|
6105
|
-
|
|
6106
|
-
// export additional methods
|
|
6107
|
-
if (DEFAULT) {
|
|
6108
|
-
methods = {
|
|
6109
|
-
values: getIterationMethod(VALUES),
|
|
6110
|
-
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
6111
|
-
entries: getIterationMethod(ENTRIES)
|
|
6112
|
-
};
|
|
6113
|
-
if (FORCED) for (KEY in methods) {
|
|
6114
|
-
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
6115
|
-
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
6116
|
-
}
|
|
6117
|
-
} else $$b({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
6390
|
+
testDataConnection(dataConnection) {
|
|
6391
|
+
return HttpClient$1.Instance().client.post(`bi/data-connection/test`, dataConnection);
|
|
6118
6392
|
}
|
|
6393
|
+
}
|
|
6119
6394
|
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6395
|
+
class BiDashboardCategoryService extends BaseCommonService {
|
|
6396
|
+
constructor() {
|
|
6397
|
+
super('bi-dashboard-category');
|
|
6123
6398
|
}
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
return methods;
|
|
6127
|
-
};
|
|
6128
|
-
|
|
6129
|
-
var toIndexedObject = toIndexedObject$5;
|
|
6130
|
-
var addToUnscopables$1 = addToUnscopables$3;
|
|
6131
|
-
var Iterators = iterators;
|
|
6132
|
-
var InternalStateModule = internalState;
|
|
6133
|
-
var defineProperty = objectDefineProperty.f;
|
|
6134
|
-
var defineIterator = iteratorDefine;
|
|
6135
|
-
var createIterResultObject = createIterResultObject$2;
|
|
6136
|
-
var DESCRIPTORS$1 = descriptors;
|
|
6137
|
-
|
|
6138
|
-
var ARRAY_ITERATOR = 'Array Iterator';
|
|
6139
|
-
var setInternalState = InternalStateModule.set;
|
|
6140
|
-
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
6399
|
+
}
|
|
6141
6400
|
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
// `Array.prototype.values` method
|
|
6147
|
-
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
6148
|
-
// `Array.prototype[@@iterator]` method
|
|
6149
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
6150
|
-
// `CreateArrayIterator` internal method
|
|
6151
|
-
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
6152
|
-
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
6153
|
-
setInternalState(this, {
|
|
6154
|
-
type: ARRAY_ITERATOR,
|
|
6155
|
-
target: toIndexedObject(iterated), // target
|
|
6156
|
-
index: 0, // next index
|
|
6157
|
-
kind: kind // kind
|
|
6158
|
-
});
|
|
6159
|
-
// `%ArrayIteratorPrototype%.next` method
|
|
6160
|
-
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
6161
|
-
}, function () {
|
|
6162
|
-
var state = getInternalState(this);
|
|
6163
|
-
var target = state.target;
|
|
6164
|
-
var index = state.index++;
|
|
6165
|
-
if (!target || index >= target.length) {
|
|
6166
|
-
state.target = undefined;
|
|
6167
|
-
return createIterResultObject(undefined, true);
|
|
6401
|
+
class BiFacade {
|
|
6402
|
+
constructor() {
|
|
6403
|
+
this._biCoreService = new BiService();
|
|
6404
|
+
this._biDashboardCategoryService = new BiDashboardCategoryService();
|
|
6168
6405
|
}
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6406
|
+
get core() {
|
|
6407
|
+
return this._biCoreService;
|
|
6408
|
+
}
|
|
6409
|
+
get dashboardCategory() {
|
|
6410
|
+
return this._biDashboardCategoryService;
|
|
6411
|
+
}
|
|
6412
|
+
}
|
|
6174
6413
|
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6414
|
+
exports.DataSourceType = void 0;
|
|
6415
|
+
(function (DataSourceType) {
|
|
6416
|
+
DataSourceType[DataSourceType["Sql"] = 1] = "Sql";
|
|
6417
|
+
DataSourceType[DataSourceType["Json"] = 2] = "Json";
|
|
6418
|
+
})(exports.DataSourceType || (exports.DataSourceType = {}));
|
|
6179
6419
|
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6420
|
+
exports.SqlDatasourceProvider = void 0;
|
|
6421
|
+
(function (SqlDatasourceProvider) {
|
|
6422
|
+
SqlDatasourceProvider[SqlDatasourceProvider["MsSql"] = 1] = "MsSql";
|
|
6423
|
+
SqlDatasourceProvider[SqlDatasourceProvider["MySql"] = 2] = "MySql";
|
|
6424
|
+
SqlDatasourceProvider[SqlDatasourceProvider["Postgres"] = 3] = "Postgres";
|
|
6425
|
+
})(exports.SqlDatasourceProvider || (exports.SqlDatasourceProvider = {}));
|
|
6184
6426
|
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6427
|
+
exports.JsonDataSourceProvider = void 0;
|
|
6428
|
+
(function (JsonDataSourceProvider) {
|
|
6429
|
+
JsonDataSourceProvider[JsonDataSourceProvider["Uri"] = 1] = "Uri";
|
|
6430
|
+
JsonDataSourceProvider[JsonDataSourceProvider["Data"] = 2] = "Data";
|
|
6431
|
+
})(exports.JsonDataSourceProvider || (exports.JsonDataSourceProvider = {}));
|
|
6189
6432
|
|
|
6190
|
-
var uncurryThis$
|
|
6433
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
6191
6434
|
|
|
6192
6435
|
// eslint-disable-next-line es/no-set -- safe
|
|
6193
6436
|
var SetPrototype$1 = Set.prototype;
|
|
@@ -6195,9 +6438,9 @@ var SetPrototype$1 = Set.prototype;
|
|
|
6195
6438
|
var setHelpers = {
|
|
6196
6439
|
// eslint-disable-next-line es/no-set -- safe
|
|
6197
6440
|
Set: Set,
|
|
6198
|
-
add: uncurryThis$
|
|
6199
|
-
has: uncurryThis$
|
|
6200
|
-
remove: uncurryThis$
|
|
6441
|
+
add: uncurryThis$2(SetPrototype$1.add),
|
|
6442
|
+
has: uncurryThis$2(SetPrototype$1.has),
|
|
6443
|
+
remove: uncurryThis$2(SetPrototype$1['delete']),
|
|
6201
6444
|
proto: SetPrototype$1
|
|
6202
6445
|
};
|
|
6203
6446
|
|
|
@@ -6221,14 +6464,14 @@ var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
|
|
|
6221
6464
|
}
|
|
6222
6465
|
};
|
|
6223
6466
|
|
|
6224
|
-
var uncurryThis$
|
|
6467
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
6225
6468
|
var iterateSimple$6 = iterateSimple$7;
|
|
6226
6469
|
var SetHelpers$5 = setHelpers;
|
|
6227
6470
|
|
|
6228
6471
|
var Set$3 = SetHelpers$5.Set;
|
|
6229
6472
|
var SetPrototype = SetHelpers$5.proto;
|
|
6230
|
-
var forEach = uncurryThis$
|
|
6231
|
-
var keys = uncurryThis$
|
|
6473
|
+
var forEach = uncurryThis$1(SetPrototype.forEach);
|
|
6474
|
+
var keys = uncurryThis$1(SetPrototype.keys);
|
|
6232
6475
|
var next = keys(new Set$3()).next;
|
|
6233
6476
|
|
|
6234
6477
|
var setIterate = function (set, fn, interruptible) {
|
|
@@ -6357,13 +6600,13 @@ var setMethodAcceptSetLike$7 = function (name) {
|
|
|
6357
6600
|
}
|
|
6358
6601
|
};
|
|
6359
6602
|
|
|
6360
|
-
var $$
|
|
6603
|
+
var $$9 = _export;
|
|
6361
6604
|
var difference = setDifference;
|
|
6362
6605
|
var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
|
|
6363
6606
|
|
|
6364
6607
|
// `Set.prototype.difference` method
|
|
6365
6608
|
// https://github.com/tc39/proposal-set-methods
|
|
6366
|
-
$$
|
|
6609
|
+
$$9({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$6('difference') }, {
|
|
6367
6610
|
difference: difference
|
|
6368
6611
|
});
|
|
6369
6612
|
|
|
@@ -6398,7 +6641,7 @@ var setIntersection = function intersection(other) {
|
|
|
6398
6641
|
return result;
|
|
6399
6642
|
};
|
|
6400
6643
|
|
|
6401
|
-
var $$
|
|
6644
|
+
var $$8 = _export;
|
|
6402
6645
|
var fails$1 = fails$p;
|
|
6403
6646
|
var intersection = setIntersection;
|
|
6404
6647
|
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
@@ -6410,7 +6653,7 @@ var INCORRECT = !setMethodAcceptSetLike$5('intersection') || fails$1(function ()
|
|
|
6410
6653
|
|
|
6411
6654
|
// `Set.prototype.intersection` method
|
|
6412
6655
|
// https://github.com/tc39/proposal-set-methods
|
|
6413
|
-
$$
|
|
6656
|
+
$$8({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
6414
6657
|
intersection: intersection
|
|
6415
6658
|
});
|
|
6416
6659
|
|
|
@@ -6436,13 +6679,13 @@ var setIsDisjointFrom = function isDisjointFrom(other) {
|
|
|
6436
6679
|
}) !== false;
|
|
6437
6680
|
};
|
|
6438
6681
|
|
|
6439
|
-
var $$
|
|
6682
|
+
var $$7 = _export;
|
|
6440
6683
|
var isDisjointFrom = setIsDisjointFrom;
|
|
6441
6684
|
var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
|
|
6442
6685
|
|
|
6443
6686
|
// `Set.prototype.isDisjointFrom` method
|
|
6444
6687
|
// https://github.com/tc39/proposal-set-methods
|
|
6445
|
-
$$
|
|
6688
|
+
$$7({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$4('isDisjointFrom') }, {
|
|
6446
6689
|
isDisjointFrom: isDisjointFrom
|
|
6447
6690
|
});
|
|
6448
6691
|
|
|
@@ -6462,13 +6705,13 @@ var setIsSubsetOf = function isSubsetOf(other) {
|
|
|
6462
6705
|
}, true) !== false;
|
|
6463
6706
|
};
|
|
6464
6707
|
|
|
6465
|
-
var $$
|
|
6708
|
+
var $$6 = _export;
|
|
6466
6709
|
var isSubsetOf = setIsSubsetOf;
|
|
6467
6710
|
var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
|
|
6468
6711
|
|
|
6469
6712
|
// `Set.prototype.isSubsetOf` method
|
|
6470
6713
|
// https://github.com/tc39/proposal-set-methods
|
|
6471
|
-
$$
|
|
6714
|
+
$$6({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$3('isSubsetOf') }, {
|
|
6472
6715
|
isSubsetOf: isSubsetOf
|
|
6473
6716
|
});
|
|
6474
6717
|
|
|
@@ -6491,13 +6734,13 @@ var setIsSupersetOf = function isSupersetOf(other) {
|
|
|
6491
6734
|
}) !== false;
|
|
6492
6735
|
};
|
|
6493
6736
|
|
|
6494
|
-
var $$
|
|
6737
|
+
var $$5 = _export;
|
|
6495
6738
|
var isSupersetOf = setIsSupersetOf;
|
|
6496
6739
|
var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
|
|
6497
6740
|
|
|
6498
6741
|
// `Set.prototype.isSupersetOf` method
|
|
6499
6742
|
// https://github.com/tc39/proposal-set-methods
|
|
6500
|
-
$$
|
|
6743
|
+
$$5({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$2('isSupersetOf') }, {
|
|
6501
6744
|
isSupersetOf: isSupersetOf
|
|
6502
6745
|
});
|
|
6503
6746
|
|
|
@@ -6524,13 +6767,13 @@ var setSymmetricDifference = function symmetricDifference(other) {
|
|
|
6524
6767
|
return result;
|
|
6525
6768
|
};
|
|
6526
6769
|
|
|
6527
|
-
var $$
|
|
6770
|
+
var $$4 = _export;
|
|
6528
6771
|
var symmetricDifference = setSymmetricDifference;
|
|
6529
6772
|
var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
|
|
6530
6773
|
|
|
6531
6774
|
// `Set.prototype.symmetricDifference` method
|
|
6532
6775
|
// https://github.com/tc39/proposal-set-methods
|
|
6533
|
-
$$
|
|
6776
|
+
$$4({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$1('symmetricDifference') }, {
|
|
6534
6777
|
symmetricDifference: symmetricDifference
|
|
6535
6778
|
});
|
|
6536
6779
|
|
|
@@ -6552,97 +6795,16 @@ var setUnion = function union(other) {
|
|
|
6552
6795
|
return result;
|
|
6553
6796
|
};
|
|
6554
6797
|
|
|
6555
|
-
var $$
|
|
6798
|
+
var $$3 = _export;
|
|
6556
6799
|
var union = setUnion;
|
|
6557
6800
|
var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
|
|
6558
6801
|
|
|
6559
6802
|
// `Set.prototype.union` method
|
|
6560
6803
|
// https://github.com/tc39/proposal-set-methods
|
|
6561
|
-
$$
|
|
6804
|
+
$$3({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
|
|
6562
6805
|
union: union
|
|
6563
6806
|
});
|
|
6564
6807
|
|
|
6565
|
-
// iterable DOM collections
|
|
6566
|
-
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
6567
|
-
var domIterables = {
|
|
6568
|
-
CSSRuleList: 0,
|
|
6569
|
-
CSSStyleDeclaration: 0,
|
|
6570
|
-
CSSValueList: 0,
|
|
6571
|
-
ClientRectList: 0,
|
|
6572
|
-
DOMRectList: 0,
|
|
6573
|
-
DOMStringList: 0,
|
|
6574
|
-
DOMTokenList: 1,
|
|
6575
|
-
DataTransferItemList: 0,
|
|
6576
|
-
FileList: 0,
|
|
6577
|
-
HTMLAllCollection: 0,
|
|
6578
|
-
HTMLCollection: 0,
|
|
6579
|
-
HTMLFormElement: 0,
|
|
6580
|
-
HTMLSelectElement: 0,
|
|
6581
|
-
MediaList: 0,
|
|
6582
|
-
MimeTypeArray: 0,
|
|
6583
|
-
NamedNodeMap: 0,
|
|
6584
|
-
NodeList: 1,
|
|
6585
|
-
PaintRequestList: 0,
|
|
6586
|
-
Plugin: 0,
|
|
6587
|
-
PluginArray: 0,
|
|
6588
|
-
SVGLengthList: 0,
|
|
6589
|
-
SVGNumberList: 0,
|
|
6590
|
-
SVGPathSegList: 0,
|
|
6591
|
-
SVGPointList: 0,
|
|
6592
|
-
SVGStringList: 0,
|
|
6593
|
-
SVGTransformList: 0,
|
|
6594
|
-
SourceBufferList: 0,
|
|
6595
|
-
StyleSheetList: 0,
|
|
6596
|
-
TextTrackCueList: 0,
|
|
6597
|
-
TextTrackList: 0,
|
|
6598
|
-
TouchList: 0
|
|
6599
|
-
};
|
|
6600
|
-
|
|
6601
|
-
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
|
6602
|
-
var documentCreateElement = documentCreateElement$2;
|
|
6603
|
-
|
|
6604
|
-
var classList = documentCreateElement('span').classList;
|
|
6605
|
-
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
|
6606
|
-
|
|
6607
|
-
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
6608
|
-
|
|
6609
|
-
var global$2 = global$o;
|
|
6610
|
-
var DOMIterables = domIterables;
|
|
6611
|
-
var DOMTokenListPrototype = domTokenListPrototype;
|
|
6612
|
-
var ArrayIteratorMethods = es_array_iterator;
|
|
6613
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$9;
|
|
6614
|
-
var setToStringTag = setToStringTag$4;
|
|
6615
|
-
var wellKnownSymbol$2 = wellKnownSymbol$l;
|
|
6616
|
-
|
|
6617
|
-
var ITERATOR = wellKnownSymbol$2('iterator');
|
|
6618
|
-
var ArrayValues = ArrayIteratorMethods.values;
|
|
6619
|
-
|
|
6620
|
-
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
6621
|
-
if (CollectionPrototype) {
|
|
6622
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
6623
|
-
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
6624
|
-
createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
|
|
6625
|
-
} catch (error) {
|
|
6626
|
-
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
6627
|
-
}
|
|
6628
|
-
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
6629
|
-
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
6630
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
6631
|
-
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
6632
|
-
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
6633
|
-
} catch (error) {
|
|
6634
|
-
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
6635
|
-
}
|
|
6636
|
-
}
|
|
6637
|
-
}
|
|
6638
|
-
};
|
|
6639
|
-
|
|
6640
|
-
for (var COLLECTION_NAME in DOMIterables) {
|
|
6641
|
-
handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
6642
|
-
}
|
|
6643
|
-
|
|
6644
|
-
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
6645
|
-
|
|
6646
6808
|
// Licensed to the .NET Foundation under one or more agreements.
|
|
6647
6809
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
6648
6810
|
/** Error thrown when an HTTP request fails. */
|
|
@@ -10786,63 +10948,6 @@ exports.AppMenuContextType = void 0;
|
|
|
10786
10948
|
AppMenuContextType[AppMenuContextType["User"] = 2] = "User";
|
|
10787
10949
|
})(exports.AppMenuContextType || (exports.AppMenuContextType = {}));
|
|
10788
10950
|
|
|
10789
|
-
var $$3 = _export;
|
|
10790
|
-
var DESCRIPTORS = descriptors;
|
|
10791
|
-
var global$1 = global$o;
|
|
10792
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
10793
|
-
var hasOwn = hasOwnProperty_1;
|
|
10794
|
-
var isCallable = isCallable$q;
|
|
10795
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
10796
|
-
var toString$1 = toString$7;
|
|
10797
|
-
var defineBuiltInAccessor = defineBuiltInAccessor$3;
|
|
10798
|
-
var copyConstructorProperties = copyConstructorProperties$3;
|
|
10799
|
-
|
|
10800
|
-
var NativeSymbol = global$1.Symbol;
|
|
10801
|
-
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
10802
|
-
|
|
10803
|
-
if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
10804
|
-
// Safari 12 bug
|
|
10805
|
-
NativeSymbol().description !== undefined
|
|
10806
|
-
)) {
|
|
10807
|
-
var EmptyStringDescriptionStore = {};
|
|
10808
|
-
// wrap Symbol constructor for correct work with undefined description
|
|
10809
|
-
var SymbolWrapper = function Symbol() {
|
|
10810
|
-
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$1(arguments[0]);
|
|
10811
|
-
var result = isPrototypeOf(SymbolPrototype, this)
|
|
10812
|
-
? new NativeSymbol(description)
|
|
10813
|
-
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
|
|
10814
|
-
: description === undefined ? NativeSymbol() : NativeSymbol(description);
|
|
10815
|
-
if (description === '') EmptyStringDescriptionStore[result] = true;
|
|
10816
|
-
return result;
|
|
10817
|
-
};
|
|
10818
|
-
|
|
10819
|
-
copyConstructorProperties(SymbolWrapper, NativeSymbol);
|
|
10820
|
-
SymbolWrapper.prototype = SymbolPrototype;
|
|
10821
|
-
SymbolPrototype.constructor = SymbolWrapper;
|
|
10822
|
-
|
|
10823
|
-
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
10824
|
-
var thisSymbolValue = uncurryThis$1(SymbolPrototype.valueOf);
|
|
10825
|
-
var symbolDescriptiveString = uncurryThis$1(SymbolPrototype.toString);
|
|
10826
|
-
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
10827
|
-
var replace = uncurryThis$1(''.replace);
|
|
10828
|
-
var stringSlice = uncurryThis$1(''.slice);
|
|
10829
|
-
|
|
10830
|
-
defineBuiltInAccessor(SymbolPrototype, 'description', {
|
|
10831
|
-
configurable: true,
|
|
10832
|
-
get: function description() {
|
|
10833
|
-
var symbol = thisSymbolValue(this);
|
|
10834
|
-
if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
|
|
10835
|
-
var string = symbolDescriptiveString(symbol);
|
|
10836
|
-
var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');
|
|
10837
|
-
return desc === '' ? undefined : desc;
|
|
10838
|
-
}
|
|
10839
|
-
});
|
|
10840
|
-
|
|
10841
|
-
$$3({ global: true, constructor: true, forced: true }, {
|
|
10842
|
-
Symbol: SymbolWrapper
|
|
10843
|
-
});
|
|
10844
|
-
}
|
|
10845
|
-
|
|
10846
10951
|
var $$2 = _export;
|
|
10847
10952
|
var $includes = arrayIncludes.includes;
|
|
10848
10953
|
var fails = fails$p;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluxo-dev/api-client-base",
|
|
3
|
-
"version": "26.1
|
|
3
|
+
"version": "26.2.1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"react": "^18.3.1",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"react-router-dom": "^6.11.2",
|
|
9
9
|
"react-redux": "^8.0.5",
|
|
10
10
|
"@reduxjs/toolkit": "^1.9.1",
|
|
11
|
-
"@fluxo-dev/state": "^26.1
|
|
11
|
+
"@fluxo-dev/state": "^26.2.1"
|
|
12
12
|
},
|
|
13
13
|
"main": "./index.cjs.js",
|
|
14
14
|
"types": "./index.cjs.d.ts"
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export interface EnumValueDto {
|
|
2
|
+
id: number;
|
|
3
|
+
value: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ConditionFieldDto {
|
|
7
|
+
id: string;
|
|
8
|
+
path: string;
|
|
9
|
+
type: 'string' | 'number' | 'boolean' | 'date' | 'enum' | 'lookup';
|
|
10
|
+
displayName: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
supportedOperators: string[];
|
|
13
|
+
isLookup: boolean;
|
|
14
|
+
enumValues?: EnumValueDto[];
|
|
15
|
+
}
|
|
16
|
+
export interface GetAvailableConditionFieldsResponse {
|
|
17
|
+
reportType: string;
|
|
18
|
+
supportsConditions: boolean;
|
|
19
|
+
availableFields: ConditionFieldDto[];
|
|
20
|
+
}
|
|
21
|
+
export interface GetLookupValuesRequest {
|
|
22
|
+
reportType: string;
|
|
23
|
+
fieldId: string;
|
|
24
|
+
searchQuery?: string | null;
|
|
25
|
+
skip?: number;
|
|
26
|
+
take?: number;
|
|
27
|
+
}
|
|
28
|
+
export interface LookupValueDto {
|
|
29
|
+
id: string;
|
|
30
|
+
displayName: string;
|
|
31
|
+
subtitle?: string | null;
|
|
32
|
+
description?: string | null;
|
|
33
|
+
}
|
|
34
|
+
export interface GetLookupValuesResponse {
|
|
35
|
+
values: LookupValueDto[];
|
|
36
|
+
totalCount: number;
|
|
37
|
+
}
|
|
@@ -5,3 +5,8 @@ export * from './create-report-command';
|
|
|
5
5
|
export * from './report-parameter';
|
|
6
6
|
export * from './parameters-schema';
|
|
7
7
|
export * from './print-report-command';
|
|
8
|
+
export * from './print-profile';
|
|
9
|
+
export * from './print-profile-user';
|
|
10
|
+
export * from './print-rule';
|
|
11
|
+
export * from './condition-fields';
|
|
12
|
+
export * from './print-options';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface PrintOptionsRequest {
|
|
2
|
+
reportType: string;
|
|
3
|
+
reportParametersJson: string;
|
|
4
|
+
}
|
|
5
|
+
export interface PrintOptionsReport {
|
|
6
|
+
reportId: number;
|
|
7
|
+
fullIdentifier: string;
|
|
8
|
+
displayName: string;
|
|
9
|
+
description?: string | null;
|
|
10
|
+
}
|
|
11
|
+
export interface PrintOptionsPrinter {
|
|
12
|
+
printerId: number;
|
|
13
|
+
printServerId: number;
|
|
14
|
+
printerName: string;
|
|
15
|
+
printerDescription: string;
|
|
16
|
+
printServerName: string;
|
|
17
|
+
printerType: string;
|
|
18
|
+
}
|
|
19
|
+
export interface PrintOptionsResponse {
|
|
20
|
+
hasPrintProfile: boolean;
|
|
21
|
+
errorMessage?: string | null;
|
|
22
|
+
availableReports: PrintOptionsReport[];
|
|
23
|
+
availablePrinters: PrintOptionsPrinter[];
|
|
24
|
+
defaultReportId?: number | null;
|
|
25
|
+
defaultPrinterId?: number | null;
|
|
26
|
+
defaultPrintServerId?: number | null;
|
|
27
|
+
canPrint: boolean;
|
|
28
|
+
canUseOtherReport: boolean;
|
|
29
|
+
canUseOtherPrinter: boolean;
|
|
30
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface PrintProfileUser {
|
|
2
|
+
id: number;
|
|
3
|
+
printProfileId: number;
|
|
4
|
+
userId: string;
|
|
5
|
+
canPrint: boolean;
|
|
6
|
+
canUseOtherReport: boolean;
|
|
7
|
+
canUseOtherPrinter: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface AssignUserToPrintProfileCommand {
|
|
10
|
+
userId: string;
|
|
11
|
+
canPrint: boolean;
|
|
12
|
+
canUseOtherReport: boolean;
|
|
13
|
+
canUseOtherPrinter: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface UpdatePrintProfileUserCommand {
|
|
16
|
+
canPrint: boolean;
|
|
17
|
+
canUseOtherReport: boolean;
|
|
18
|
+
canUseOtherPrinter: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface PrintProfile {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
isDefault: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface CreatePrintProfileCommand {
|
|
8
|
+
name: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
isDefault: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface UpdatePrintProfileCommand {
|
|
13
|
+
name: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
isDefault: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface PrintRuleReport {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export interface PrintRuleVirtualPrinter {
|
|
6
|
+
id: number;
|
|
7
|
+
name: number;
|
|
8
|
+
}
|
|
9
|
+
export interface PrintRule {
|
|
10
|
+
id: number;
|
|
11
|
+
printProfileId: number;
|
|
12
|
+
reportFullIdentifier: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
condition?: string;
|
|
15
|
+
priority: number;
|
|
16
|
+
reports: PrintRuleReport[];
|
|
17
|
+
virtualPrinters: PrintRuleVirtualPrinter[];
|
|
18
|
+
}
|
|
19
|
+
export interface CreatePrintRuleCommand {
|
|
20
|
+
printProfileId: number;
|
|
21
|
+
reportFullIdentifier: string;
|
|
22
|
+
reportIds: number[];
|
|
23
|
+
virtualPrinterIds?: number[];
|
|
24
|
+
condition?: string;
|
|
25
|
+
priority: number;
|
|
26
|
+
description?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface UpdatePrintRuleCommand {
|
|
29
|
+
reportFullIdentifier: string;
|
|
30
|
+
reportIds: number[];
|
|
31
|
+
virtualPrinterIds?: number[];
|
|
32
|
+
condition?: string;
|
|
33
|
+
priority: number;
|
|
34
|
+
description?: string;
|
|
35
|
+
}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import { ReportsList } from "./models
|
|
2
|
-
import { CreateReportCommand } from "./models/create-report-command";
|
|
3
|
-
import { Report } from "./models/report";
|
|
4
|
-
import { ParametersSchema } from "./models/parameters-schema";
|
|
5
|
-
import { PrintReportCommand } from "./models/print-report-command";
|
|
1
|
+
import { ReportsList, CreateReportCommand, Report, ParametersSchema, PrintReportCommand, PrintProfile, CreatePrintProfileCommand, UpdatePrintProfileCommand, PrintProfileUser, AssignUserToPrintProfileCommand, UpdatePrintProfileUserCommand, PrintRule, CreatePrintRuleCommand, UpdatePrintRuleCommand, GetAvailableConditionFieldsResponse, GetLookupValuesRequest, GetLookupValuesResponse, PrintOptionsRequest, PrintOptionsResponse } from "./models";
|
|
6
2
|
export declare class ReportingService {
|
|
7
3
|
getReportsList(scopeFilter?: string): Promise<ReportsList[]>;
|
|
8
4
|
createReport(command: CreateReportCommand): Promise<number>;
|
|
@@ -10,8 +6,28 @@ export declare class ReportingService {
|
|
|
10
6
|
deleteReport(id: number): Promise<void>;
|
|
11
7
|
getParametersSchema(fullScope: string): Promise<ParametersSchema>;
|
|
12
8
|
print(command: PrintReportCommand): Promise<void>;
|
|
9
|
+
preview(reportUrl: string): Promise<string>;
|
|
13
10
|
updateReport(reportId: number, command: {
|
|
14
11
|
name: string;
|
|
15
12
|
annotations: string;
|
|
16
13
|
}): Promise<void>;
|
|
14
|
+
createPrintProfile(command: CreatePrintProfileCommand): Promise<PrintProfile>;
|
|
15
|
+
updatePrintProfile(id: number, command: UpdatePrintProfileCommand): Promise<PrintProfile>;
|
|
16
|
+
deletePrintProfile(id: number): Promise<void>;
|
|
17
|
+
getPrintProfileById(id: number): Promise<PrintProfile>;
|
|
18
|
+
getAllPrintProfiles(): Promise<PrintProfile[]>;
|
|
19
|
+
assignUserToPrintProfile(printProfileId: number, command: AssignUserToPrintProfileCommand): Promise<PrintProfileUser>;
|
|
20
|
+
updatePrintProfileUser(printProfileId: number, userId: string, command: UpdatePrintProfileUserCommand): Promise<PrintProfileUser>;
|
|
21
|
+
removeUserFromPrintProfile(printProfileId: number, userId: string): Promise<void>;
|
|
22
|
+
getPrintProfileByUserId(userId: string): Promise<PrintProfileUser | null>;
|
|
23
|
+
getUsersForPrintProfile(printProfileId: number): Promise<PrintProfileUser[]>;
|
|
24
|
+
createPrintRule(command: CreatePrintRuleCommand): Promise<PrintRule>;
|
|
25
|
+
updatePrintRule(id: number, command: UpdatePrintRuleCommand): Promise<PrintRule>;
|
|
26
|
+
deletePrintRule(id: number): Promise<void>;
|
|
27
|
+
getPrintRuleById(id: number): Promise<PrintRule>;
|
|
28
|
+
getPrintRulesForProfile(printProfileId: number): Promise<PrintRule[]>;
|
|
29
|
+
getPrintRulesByReportType(reportType: string): Promise<PrintRule[]>;
|
|
30
|
+
getAvailableConditionFields(reportType: string): Promise<GetAvailableConditionFieldsResponse>;
|
|
31
|
+
getLookupValues(request: GetLookupValuesRequest): Promise<GetLookupValuesResponse>;
|
|
32
|
+
getPrintOptions(request: PrintOptionsRequest): Promise<PrintOptionsResponse>;
|
|
17
33
|
}
|