@valtimo/zgw 12.17.1 → 12.19.0
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/esm2022/lib/modules/index.mjs +2 -1
- package/esm2022/lib/modules/notificaties-api/components/failed-notification-detail/failed-notification-detail.component.mjs +85 -0
- package/esm2022/lib/modules/notificaties-api/components/failed-notifications-page/failed-notifications-page.component.mjs +123 -0
- package/esm2022/lib/modules/notificaties-api/components/index.mjs +3 -0
- package/esm2022/lib/modules/notificaties-api/index.mjs +5 -0
- package/esm2022/lib/modules/notificaties-api/models/failed-notification.model.mjs +23 -0
- package/esm2022/lib/modules/notificaties-api/models/index.mjs +2 -0
- package/esm2022/lib/modules/notificaties-api/notificaties-api-routing.module.mjs +47 -0
- package/esm2022/lib/modules/notificaties-api/services/failed-notifications.service.mjs +56 -0
- package/esm2022/lib/modules/notificaties-api/services/index.mjs +2 -0
- package/esm2022/lib/zgw.module.mjs +7 -4
- package/fesm2022/valtimo-zgw.mjs +306 -8
- package/fesm2022/valtimo-zgw.mjs.map +1 -1
- package/lib/modules/index.d.ts +1 -0
- package/lib/modules/index.d.ts.map +1 -1
- package/lib/modules/notificaties-api/components/failed-notification-detail/failed-notification-detail.component.d.ts +17 -0
- package/lib/modules/notificaties-api/components/failed-notification-detail/failed-notification-detail.component.d.ts.map +1 -0
- package/lib/modules/notificaties-api/components/failed-notifications-page/failed-notifications-page.component.d.ts +32 -0
- package/lib/modules/notificaties-api/components/failed-notifications-page/failed-notifications-page.component.d.ts.map +1 -0
- package/lib/modules/notificaties-api/components/index.d.ts +3 -0
- package/lib/modules/notificaties-api/components/index.d.ts.map +1 -0
- package/lib/modules/notificaties-api/index.d.ts +5 -0
- package/lib/modules/notificaties-api/index.d.ts.map +1 -0
- package/lib/modules/notificaties-api/models/failed-notification.model.d.ts +22 -0
- package/lib/modules/notificaties-api/models/failed-notification.model.d.ts.map +1 -0
- package/lib/modules/notificaties-api/models/index.d.ts +2 -0
- package/lib/modules/notificaties-api/models/index.d.ts.map +1 -0
- package/lib/modules/notificaties-api/notificaties-api-routing.module.d.ts +9 -0
- package/lib/modules/notificaties-api/notificaties-api-routing.module.d.ts.map +1 -0
- package/lib/modules/notificaties-api/services/failed-notifications.service.d.ts +16 -0
- package/lib/modules/notificaties-api/services/failed-notifications.service.d.ts.map +1 -0
- package/lib/modules/notificaties-api/services/index.d.ts +2 -0
- package/lib/modules/notificaties-api/services/index.d.ts.map +1 -0
- package/lib/zgw.module.d.ts +2 -1
- package/lib/zgw.module.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/modules/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/zgw/src/lib/modules/index.ts"],"names":[],"mappings":"AAgBA,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/zgw/src/lib/modules/index.ts"],"names":[],"mappings":"AAgBA,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FailedNotification } from '../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FailedNotificationDetailComponent {
|
|
5
|
+
open: boolean;
|
|
6
|
+
notification: FailedNotification | null;
|
|
7
|
+
retryInProgress: boolean;
|
|
8
|
+
readonly closeModalEvent: EventEmitter<void>;
|
|
9
|
+
readonly retryEvent: EventEmitter<void>;
|
|
10
|
+
onClose(): void;
|
|
11
|
+
onRetry(): void;
|
|
12
|
+
get formattedPayload(): string;
|
|
13
|
+
formatDateValue(value?: string | null): string;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FailedNotificationDetailComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FailedNotificationDetailComponent, "valtimo-notificaties-api-failed-notification-detail", never, { "open": { "alias": "open"; "required": false; }; "notification": { "alias": "notification"; "required": false; }; "retryInProgress": { "alias": "retryInProgress"; "required": false; }; }, { "closeModalEvent": "closeModalEvent"; "retryEvent": "retryEvent"; }, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=failed-notification-detail.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"failed-notification-detail.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/zgw/src/lib/modules/notificaties-api/components/failed-notification-detail/failed-notification-detail.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAqC,YAAY,EAAgB,MAAM,eAAe,CAAC;AAI9F,OAAO,EAAC,kBAAkB,EAAC,MAAM,cAAc,CAAC;;AAGhD,qBAca,iCAAiC;IAC5B,IAAI,UAAS;IACb,YAAY,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IAC/C,eAAe,UAAS;IAExC,SAA0B,eAAe,qBAA4B;IACrE,SAA0B,UAAU,qBAA4B;IAEzD,OAAO,IAAI,IAAI;IAIf,OAAO,IAAI,IAAI;IAItB,IAAW,gBAAgB,IAAI,MAAM,CAQpC;IAEM,eAAe,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM;yCA1B1C,iCAAiC;2CAAjC,iCAAiC;CAmC7C"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { CarbonTag, ColumnConfig, Pagination } from '@valtimo/components';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { FailedNotification } from '../../models';
|
|
5
|
+
import { FailedNotificationsService } from '../../services';
|
|
6
|
+
import { ToastrService } from 'ngx-toastr';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FailedNotificationsPageComponent {
|
|
9
|
+
private readonly failedNotificationsService;
|
|
10
|
+
private readonly toastrService;
|
|
11
|
+
private readonly translateService;
|
|
12
|
+
private readonly _DEFAULT_SORT;
|
|
13
|
+
readonly loading$: BehaviorSubject<boolean>;
|
|
14
|
+
readonly pagination$: BehaviorSubject<Pagination>;
|
|
15
|
+
readonly retryInProgress$: BehaviorSubject<boolean>;
|
|
16
|
+
readonly selectedNotification$: BehaviorSubject<FailedNotification>;
|
|
17
|
+
private readonly _pageRequest$;
|
|
18
|
+
readonly notifications$: Observable<FailedNotification[]>;
|
|
19
|
+
readonly FIELDS: ColumnConfig[];
|
|
20
|
+
constructor(failedNotificationsService: FailedNotificationsService, toastrService: ToastrService, translateService: TranslateService);
|
|
21
|
+
onPaginationClicked(page: number): void;
|
|
22
|
+
onPaginationSet(size: number): void;
|
|
23
|
+
onRowClicked(row: FailedNotification & {
|
|
24
|
+
ctrlClick: boolean;
|
|
25
|
+
tags: CarbonTag[];
|
|
26
|
+
}): void;
|
|
27
|
+
onCloseModal(): void;
|
|
28
|
+
onRetry(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FailedNotificationsPageComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FailedNotificationsPageComponent, "valtimo-notificaties-api-failed-notifications-page", never, {}, {}, never, never, true, never>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=failed-notifications-page.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"failed-notifications-page.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/zgw/src/lib/modules/notifica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I;yCAtFX,gCAAgC;2CAAhC,gCAAgC;CA4G5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/zgw/src/lib/modules/notificaties-api/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iEAAiE,CAAC;AAChF,cAAc,mEAAmE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/zgw/src/lib/modules/notificaties-api/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare enum NotificatiesApiInboundEventStatus {
|
|
2
|
+
RECEIVED = "RECEIVED",
|
|
3
|
+
PROCESSED = "PROCESSED",
|
|
4
|
+
FAILED = "FAILED"
|
|
5
|
+
}
|
|
6
|
+
interface FailedNotification {
|
|
7
|
+
id: string;
|
|
8
|
+
idempotenceKey: string;
|
|
9
|
+
status: NotificatiesApiInboundEventStatus;
|
|
10
|
+
pendingRetries: number | null;
|
|
11
|
+
receivedAt: string;
|
|
12
|
+
lastProcessedAt: string | null;
|
|
13
|
+
lastErrorMessage: string | null;
|
|
14
|
+
payload: string;
|
|
15
|
+
}
|
|
16
|
+
interface FailedNotificationPageRequest {
|
|
17
|
+
page: number;
|
|
18
|
+
size: number;
|
|
19
|
+
sort?: string;
|
|
20
|
+
}
|
|
21
|
+
export { FailedNotification, FailedNotificationPageRequest, NotificatiesApiInboundEventStatus, };
|
|
22
|
+
//# sourceMappingURL=failed-notification.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"failed-notification.model.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/zgw/src/lib/modules/notificaties-api/models/failed-notification.model.ts"],"names":[],"mappings":"AAgBA,aAAK,iCAAiC;IACpC,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,MAAM,WAAW;CAClB;AAED,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,iCAAiC,CAAC;IAC1C,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,6BAA6B;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,OAAO,EACL,kBAAkB,EAClB,6BAA6B,EAC7B,iCAAiC,GAClC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/zgw/src/lib/modules/notificaties-api/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/router";
|
|
4
|
+
export declare class NotificatiesApiRoutingModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificatiesApiRoutingModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NotificatiesApiRoutingModule, never, [typeof i1.CommonModule, typeof i2.RouterModule], [typeof i2.RouterModule]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NotificatiesApiRoutingModule>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=notificaties-api-routing.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificaties-api-routing.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/zgw/src/lib/modules/notificaties-api/notificaties-api-routing.module.ts"],"names":[],"mappings":";;;AAmCA,qBAIa,4BAA4B;yCAA5B,4BAA4B;0CAA5B,4BAA4B;0CAA5B,4BAA4B;CAAG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { BaseApiService, ConfigService, Page } from '@valtimo/config';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { FailedNotification, FailedNotificationPageRequest } from '../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FailedNotificationsService extends BaseApiService {
|
|
7
|
+
protected readonly httpClient: HttpClient;
|
|
8
|
+
protected readonly configService: ConfigService;
|
|
9
|
+
constructor(httpClient: HttpClient, configService: ConfigService);
|
|
10
|
+
getFailedNotifications(request: FailedNotificationPageRequest): Observable<Page<FailedNotification>>;
|
|
11
|
+
retryFailedNotification(id: string): Observable<void>;
|
|
12
|
+
getFailedNotificationCount(): Observable<number>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FailedNotificationsService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FailedNotificationsService>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=failed-notifications.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"failed-notifications.service.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/zgw/src/lib/modules/notificaties-api/services/failed-notifications.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAa,MAAM,sBAAsB,CAAC;AAE5D,OAAO,EAAC,cAAc,EAAE,aAAa,EAAE,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAC,UAAU,EAAM,MAAM,MAAM,CAAC;AACrC,OAAO,EAAC,kBAAkB,EAAE,6BAA6B,EAAC,MAAM,WAAW,CAAC;;AAE5E,qBAGa,0BAA2B,SAAQ,cAAc;uBAE9B,UAAU,EAAE,UAAU;uBACtB,aAAa,EAAE,aAAa;gBAD5B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa;IAKnD,sBAAsB,CAC3B,OAAO,EAAE,6BAA6B,GACrC,UAAU,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IAehC,uBAAuB,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAOrD,0BAA0B,IAAI,UAAU,CAAC,MAAM,CAAC;yCAhC5C,0BAA0B;6CAA1B,0BAA0B;CAuCtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/zgw/src/lib/modules/notificaties-api/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
|
package/lib/zgw.module.d.ts
CHANGED
|
@@ -9,9 +9,10 @@ import * as i7 from "@valtimo/resource";
|
|
|
9
9
|
import * as i8 from "@angular/router";
|
|
10
10
|
import * as i9 from "./modules/documenten-api/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component";
|
|
11
11
|
import * as i10 from "./modules/haalcentraal-brp/customer.module";
|
|
12
|
+
import * as i11 from "./modules/notificaties-api/notificaties-api-routing.module";
|
|
12
13
|
export declare class ZgwModule {
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZgwModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ZgwModule, [typeof i1.DocumentenApiUploaderComponent], [typeof i2.CommonModule, typeof i3.FormioModule, typeof i4.DropzoneModule, typeof i5.TranslateModule, typeof i6.DocumentModule, typeof i4.FileSizeModule, typeof i7.ResourceModule, typeof i8.RouterModule, typeof i9.DocumentenApiMetadataModalComponent, typeof i10.CustomerModule], [typeof i1.DocumentenApiUploaderComponent]>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ZgwModule, [typeof i1.DocumentenApiUploaderComponent], [typeof i2.CommonModule, typeof i3.FormioModule, typeof i4.DropzoneModule, typeof i5.TranslateModule, typeof i6.DocumentModule, typeof i4.FileSizeModule, typeof i7.ResourceModule, typeof i8.RouterModule, typeof i9.DocumentenApiMetadataModalComponent, typeof i10.CustomerModule, typeof i11.NotificatiesApiRoutingModule], [typeof i1.DocumentenApiUploaderComponent]>;
|
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<ZgwModule>;
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=zgw.module.d.ts.map
|
package/lib/zgw.module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zgw.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/zgw/src/lib/zgw.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zgw.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/zgw/src/lib/zgw.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AA2CA,qBA4Ca,SAAS;yCAAT,SAAS;0CAAT,SAAS;0CAAT,SAAS;CAAG"}
|