This commit is contained in:
Ildar Galeev 2022-12-23 16:44:10 +03:00 committed by GitHub
parent 81e58b6a4d
commit b1040f8194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 30 additions and 22 deletions

14
package-lock.json generated
View File

@ -29,7 +29,7 @@
"@s-libs/ng-core": "15.0.0",
"@s-libs/rxjs-core": "15.0.0",
"@vality/deanonimus-proto": "2.0.1-03a2143.0",
"@vality/domain-proto": "2.0.1-b8cfba3.0",
"@vality/domain-proto": "2.0.1-7218614.0",
"@vality/dominant-cache-proto": "2.0.1-9001474.0",
"@vality/fistful-proto": "2.0.1-c214aba.0",
"@vality/machinegun-proto": "1.0.1-277f06e.0",
@ -5157,9 +5157,9 @@
"integrity": "sha512-OxpgOL1mJxjx4AMCs1332GVKaHhgZ2o+0uY/twLXBhZiB8h4DVpb/R4cgynN3AxUi1t4kE9k93BYbx3t7r1DVQ=="
},
"node_modules/@vality/domain-proto": {
"version": "2.0.1-b8cfba3.0",
"resolved": "https://registry.npmjs.org/@vality/domain-proto/-/domain-proto-2.0.1-b8cfba3.0.tgz",
"integrity": "sha512-6Wu/SnDo5UEWGmY4U0c7hyDg/mN1+x/J2gcdzMY4q+dZb5TWXxsExJ16vqkLChbHKt6HzbsyCIeewYimv0gPOg=="
"version": "2.0.1-7218614.0",
"resolved": "https://registry.npmjs.org/@vality/domain-proto/-/domain-proto-2.0.1-7218614.0.tgz",
"integrity": "sha512-N3NBlzW7ooTElkKfd/xJuChXxiA50ad4hQzOXi+kT46OxV4dhco/Jc9Rzf0OZPj9tE36vCzwqvAeaCENORBUgw=="
},
"node_modules/@vality/dominant-cache-proto": {
"version": "2.0.1-9001474.0",
@ -22868,9 +22868,9 @@
"integrity": "sha512-OxpgOL1mJxjx4AMCs1332GVKaHhgZ2o+0uY/twLXBhZiB8h4DVpb/R4cgynN3AxUi1t4kE9k93BYbx3t7r1DVQ=="
},
"@vality/domain-proto": {
"version": "2.0.1-b8cfba3.0",
"resolved": "https://registry.npmjs.org/@vality/domain-proto/-/domain-proto-2.0.1-b8cfba3.0.tgz",
"integrity": "sha512-6Wu/SnDo5UEWGmY4U0c7hyDg/mN1+x/J2gcdzMY4q+dZb5TWXxsExJ16vqkLChbHKt6HzbsyCIeewYimv0gPOg=="
"version": "2.0.1-7218614.0",
"resolved": "https://registry.npmjs.org/@vality/domain-proto/-/domain-proto-2.0.1-7218614.0.tgz",
"integrity": "sha512-N3NBlzW7ooTElkKfd/xJuChXxiA50ad4hQzOXi+kT46OxV4dhco/Jc9Rzf0OZPj9tE36vCzwqvAeaCENORBUgw=="
},
"@vality/dominant-cache-proto": {
"version": "2.0.1-9001474.0",

View File

@ -43,7 +43,7 @@
"@s-libs/ng-core": "15.0.0",
"@s-libs/rxjs-core": "15.0.0",
"@vality/deanonimus-proto": "2.0.1-03a2143.0",
"@vality/domain-proto": "2.0.1-b8cfba3.0",
"@vality/domain-proto": "2.0.1-7218614.0",
"@vality/dominant-cache-proto": "2.0.1-9001474.0",
"@vality/fistful-proto": "2.0.1-c214aba.0",
"@vality/machinegun-proto": "1.0.1-277f06e.0",

View File

@ -1,8 +1,8 @@
import { Injectable } from '@angular/core';
import {
ClaimManagementCodegenClient,
claim_management_ClaimManagementCodegenClient,
ThriftAstMetadata,
ClaimManagement,
claim_management_ClaimManagement,
} from '@vality/domain-proto';
import {
Claim,
@ -22,7 +22,7 @@ import { environment } from '@cc/environments/environment';
@Injectable({ providedIn: 'root' })
export class ClaimManagementService {
private client$: Observable<ClaimManagementCodegenClient>;
private client$: Observable<claim_management_ClaimManagementCodegenClient>;
constructor(private keycloakTokenInfoService: KeycloakTokenInfoService) {
const headers$ = this.keycloakTokenInfoService.decoded$.pipe(
@ -35,7 +35,7 @@ export class ClaimManagementService {
);
this.client$ = combineLatest([metadata$, headers$]).pipe(
switchMap(([metadata, headers]) =>
ClaimManagement({
claim_management_ClaimManagement({
metadata,
headers,
logging: environment.logging.requests,

View File

@ -1,5 +1,9 @@
import { Injectable } from '@angular/core';
import { RepositoryCodegenClient, ThriftAstMetadata, Repository } from '@vality/domain-proto';
import {
domain_config_RepositoryCodegenClient,
ThriftAstMetadata,
domain_config_Repository,
} from '@vality/domain-proto';
import { Version, Commit, Reference, Snapshot } from '@vality/domain-proto/domain_config';
import { combineLatest, from, map, Observable, switchMap } from 'rxjs';
@ -8,7 +12,7 @@ import { environment } from '@cc/environments/environment';
@Injectable({ providedIn: 'root' })
export class RepositoryService {
private client$: Observable<RepositoryCodegenClient>;
private client$: Observable<domain_config_RepositoryCodegenClient>;
constructor(private keycloakTokenInfoService: KeycloakTokenInfoService) {
const headers$ = this.keycloakTokenInfoService.decoded$.pipe(
@ -21,7 +25,7 @@ export class RepositoryService {
);
this.client$ = combineLatest([metadata$, headers$]).pipe(
switchMap(([metadata, headers]) =>
Repository({
domain_config_Repository({
metadata,
headers,
logging: environment.logging.requests,

View File

@ -1,5 +1,9 @@
import { Injectable } from '@angular/core';
import { InvoicingCodegenClient, ThriftAstMetadata, Invoicing } from '@vality/domain-proto';
import {
payment_processing_InvoicingCodegenClient,
ThriftAstMetadata,
payment_processing_Invoicing,
} from '@vality/domain-proto';
import {
InvoiceID,
InvoicePaymentID,
@ -23,7 +27,7 @@ import { environment } from '@cc/environments/environment';
@Injectable({ providedIn: 'root' })
export class InvoicingService {
private client$: Observable<InvoicingCodegenClient>;
private client$: Observable<payment_processing_InvoicingCodegenClient>;
constructor(private keycloakTokenInfoService: KeycloakTokenInfoService) {
const headers$ = this.keycloakTokenInfoService.decoded$.pipe(
@ -36,7 +40,7 @@ export class InvoicingService {
);
this.client$ = combineLatest([metadata$, headers$]).pipe(
switchMap(([metadata, headers]) =>
Invoicing({
payment_processing_Invoicing({
metadata,
headers,
logging: environment.logging.requests,

View File

@ -1,8 +1,8 @@
import { Injectable } from '@angular/core';
import {
PartyManagementCodegenClient,
payment_processing_PartyManagementCodegenClient,
ThriftAstMetadata,
PartyManagement,
payment_processing_PartyManagement,
} from '@vality/domain-proto';
import { Party, Shop, Contract } from '@vality/domain-proto/domain';
import { PartyID, ShopID, ContractID, ShopContract } from '@vality/domain-proto/payment_processing';
@ -13,7 +13,7 @@ import { environment } from '@cc/environments/environment';
@Injectable({ providedIn: 'root' })
export class PartyManagementService {
private client$: Observable<PartyManagementCodegenClient>;
private client$: Observable<payment_processing_PartyManagementCodegenClient>;
constructor(private keycloakTokenInfoService: KeycloakTokenInfoService) {
const headers$ = this.keycloakTokenInfoService.decoded$.pipe(
@ -26,7 +26,7 @@ export class PartyManagementService {
);
this.client$ = combineLatest([metadata$, headers$]).pipe(
switchMap(([metadata, headers]) =>
PartyManagement({
payment_processing_PartyManagement({
metadata,
headers,
logging: environment.logging.requests,