@hitsoft/e-donusum 100.1.9-Edo-Test → 100.1.11-Edo-Test

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.
@@ -1,13 +1,12 @@
1
1
  import { ListService } from '@abp/ng.core';
2
2
  import { ChangeDetectorRef, OnInit } from '@angular/core';
3
3
  import { DxDataGridComponent, DxTabPanelComponent } from 'devextreme-angular';
4
- import CustomStore from 'devextreme/data/custom_store';
5
4
  import { HitInboundInvoiceService } from '../../hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service';
6
5
  import { HitInvoiceService } from '../../hit-proxy/hit-invoices/hit-invoice.service';
7
6
  import { FormBuilder, FormGroup } from '@angular/forms';
8
7
  import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
9
8
  import { HitBusinessPartnerGroupService } from '../../hit-proxy/hit-business-partner-groups/hit-business-partner-group.service';
10
- import { CatalogMatchLineDto, ManualLineDto, OpenDocumentDto, SapTaxGroupDto } from '../../hit-proxy/hit-inbound-invoices/models';
9
+ import { OpenDocumentDto } from '../../hit-proxy/hit-inbound-invoices/models';
11
10
  import { HitBranchesService } from '../../hit-proxy/hit-branches/hit-branch.service';
12
11
  import { HitParamsGeneralsService } from '../../hit-proxy/hit-params-generals/hit-params-general.service';
13
12
  import { HitSharedService } from '../../hit-proxy/shared/hit-shared.service';
@@ -93,14 +92,6 @@ export declare class HitInboundInvoiceComponent implements OnInit {
93
92
  hasValidSelection: boolean;
94
93
  branchPopupVisible: boolean;
95
94
  selectedBranchId: number;
96
- isModalOpenForManualLine: boolean;
97
- isModalBusyForManualLine: boolean;
98
- manualLines: ManualLineDto[];
99
- sapItemsStore: CustomStore;
100
- taxGroups: SapTaxGroupDto[];
101
- isModalOpenForCatalog: boolean;
102
- isModalBusyForCatalog: boolean;
103
- catalogMatchLines: CatalogMatchLineDto[];
104
95
  invoiceFileNameLookup: any;
105
96
  isFileModalBusy: boolean;
106
97
  constructor(list: ListService, service: HitInboundInvoiceService, invoiceService: HitInvoiceService, hitBranchesService: HitBranchesService, hitParamsGeneralsService: HitParamsGeneralsService, formBuilder: FormBuilder, formBuilderForPartner: FormBuilder, formBuilderForDocument: FormBuilder, toasterService: ToasterService, businessPartnerGroupService: HitBusinessPartnerGroupService, ref: ChangeDetectorRef, confirmation: ConfirmationService, hitSharedService: HitSharedService, fileDocumentTypeService: HitFileDocumentTypeService);
@@ -137,13 +128,6 @@ export declare class HitInboundInvoiceComponent implements OnInit {
137
128
  sendDocument(documentGridLines: any[]): void;
138
129
  createDraftDocument(): void;
139
130
  processManual(record: any): void;
140
- openManualLineModal(): void;
141
- onItemLookupChanged(event: any, lineIndex: number): void;
142
- initSapItemsStore(): void;
143
- toggleAllManualLines(event: any): void;
144
- openCatalogMatchModal(): void;
145
- addCatalogLinesToDocument(): void;
146
- addManualLinesToDocument(): void;
147
131
  checkBoxChanged(event: any): void;
148
132
  changeRowsColor(e: any): void;
149
133
  getReceiverResponseName(responseId: any): any;
@@ -8,10 +8,9 @@ import * as i6 from "@ng-bootstrap/ng-bootstrap";
8
8
  import * as i7 from "devextreme-angular";
9
9
  import * as i8 from "@abp/ng.components/page";
10
10
  import * as i9 from "./hit-inbound-invoice-routing.module";
11
- import * as i10 from "@angular/forms";
12
11
  export declare class HitInboundInvoiceModule {
13
12
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<HitInboundInvoiceModule, [typeof i1.HitInboundInvoiceComponent], [typeof i2.CoreModule, typeof i3.ThemeSharedModule, typeof i4.CommercialUiModule, typeof i5.NgxValidateCoreModule, typeof i6.NgbCollapseModule, typeof i6.NgbDatepickerModule, typeof i6.NgbDropdownModule, typeof i7.DxDataGridModule, typeof i7.DxTextAreaModule, typeof i7.DxTextBoxModule, typeof i7.DxHtmlEditorModule, typeof i7.DxSelectBoxModule, typeof i7.DxLookupModule, typeof i7.DxTabPanelModule, typeof i8.PageModule, typeof i9.HitInboundInvoiceRoutingModule, typeof i7.DxRadioGroupModule, typeof i7.DxDateBoxModule, typeof i7.DxTemplateModule, typeof i7.DxDropDownBoxModule, typeof i7.DxPopupModule, typeof i7.DxNumberBoxModule, typeof i7.DxCheckBoxModule, typeof i10.FormsModule], never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitInboundInvoiceModule, [typeof i1.HitInboundInvoiceComponent], [typeof i2.CoreModule, typeof i3.ThemeSharedModule, typeof i4.CommercialUiModule, typeof i5.NgxValidateCoreModule, typeof i6.NgbCollapseModule, typeof i6.NgbDatepickerModule, typeof i6.NgbDropdownModule, typeof i7.DxDataGridModule, typeof i7.DxTextAreaModule, typeof i7.DxTextBoxModule, typeof i7.DxHtmlEditorModule, typeof i7.DxSelectBoxModule, typeof i7.DxLookupModule, typeof i7.DxTabPanelModule, typeof i8.PageModule, typeof i9.HitInboundInvoiceRoutingModule, typeof i7.DxRadioGroupModule, typeof i7.DxDateBoxModule, typeof i7.DxTemplateModule, typeof i7.DxDropDownBoxModule, typeof i7.DxPopupModule], never>;
15
14
  static ɵinj: i0.ɵɵInjectorDeclaration<HitInboundInvoiceModule>;
16
15
  }
17
16
  export declare function loadHitInboundInvoiceModuleAsChild(): Promise<typeof HitInboundInvoiceModule>;
@@ -16,6 +16,7 @@ export declare class HitParamsIntegratorComponent implements OnInit {
16
16
  private readonly hitParamsIntegratorsService;
17
17
  private readonly toasterService;
18
18
  private readonly hitEntegratorsService;
19
+ private readonly URL_PATTERN;
19
20
  formParamsIntegrator: FormGroup;
20
21
  paramsIntegratorDtoWithNavigationPropertiesDto?: ParamsIntegratorWithNavigationPropertiesDto;
21
22
  submitButtonDisabled: boolean;
@@ -29,6 +30,8 @@ export declare class HitParamsIntegratorComponent implements OnInit {
29
30
  ngOnInit(): Promise<void>;
30
31
  buildForm(): void;
31
32
  submitForm(): Promise<void>;
33
+ private saveParamsIntegrator;
34
+ private runConnectionTest;
32
35
  getParamsIntegrator(buildForm: boolean, branchId: any): Promise<void>;
33
36
  changedBranch(data: ParamsGeneralDto): void;
34
37
  branchOnChange(): void;
@@ -22,10 +22,6 @@ export declare class HitInboundInvoiceService {
22
22
  createPurchaseInvoiceDocument: (requestDto: ConnectorPurchaseInvoiceDocumentDto, invoiceID: string) => import("rxjs").Observable<any>;
23
23
  processManual: (invoiceID: string) => import("rxjs").Observable<any>;
24
24
  createMultipleEmptyDrafts: (requestDto: ConnectorMultipleEmptyDraftDto[]) => import("rxjs").Observable<any>;
25
- getInvoiceXmlLines: (invoiceId: string) => import("rxjs").Observable<any>;
26
- getItems: (searchText: string) => import("rxjs").Observable<any>;
27
- getTaxGroups: (category: string) => import("rxjs").Observable<any>;
28
- getCatalogMatchLines: (invoiceId: string) => import("rxjs").Observable<any>;
29
25
  getIncomingInvoicePdfsMultiple: (invoiceIds: string[]) => import("rxjs").Observable<Blob>;
30
26
  LoadInboundInvoiceFiles: (invoiceGUID: string) => import("devextreme-aspnet-data-nojquery").CustomStore;
31
27
  downloadFileById: (blobID: string) => import("rxjs").Observable<any>;
@@ -27,14 +27,6 @@ export interface ConnectorDraftDocumentLineDto {
27
27
  baseType: number | null;
28
28
  baseEntry: number | null;
29
29
  baseLine: number | null;
30
- itemCode?: string;
31
- itemDescription?: string;
32
- unitPrice?: number | null;
33
- taxCode?: string;
34
- vatGroup?: string;
35
- currency?: string;
36
- uomCode?: string;
37
- discPrcnt?: number | null;
38
30
  }
39
31
  export interface ConnectorDraftDocumentDto {
40
32
  docEntry: number | null;
@@ -66,7 +58,6 @@ export interface OpenDocumentDto {
66
58
  text: string;
67
59
  freeTxt: string;
68
60
  lineNum: number;
69
- unitPrice?: number | null;
70
61
  objType: number;
71
62
  openQty: number;
72
63
  selectedQty: number;
@@ -98,50 +89,6 @@ export interface ConnectorMultipleEmptyDraftDto {
98
89
  invoiceID: string;
99
90
  draftDocument: ConnectorDraftDocumentDto;
100
91
  }
101
- export interface InvoiceXmlLineDto {
102
- lineNumber: number;
103
- itemName: string;
104
- quantity: number | null;
105
- unitPrice: number | null;
106
- taxPercent: number | null;
107
- currencyCode: string;
108
- }
109
- export interface SapItemDto {
110
- itemCode: string;
111
- itemName: string;
112
- }
113
- export interface SapTaxGroupDto {
114
- code: string;
115
- name: string;
116
- rate: number;
117
- category: string;
118
- }
119
- export interface ManualLineDto {
120
- lineNumber: number;
121
- itemCode: string;
122
- itemName: string;
123
- quantity: number | null;
124
- unitPrice: number | null;
125
- taxCode: string;
126
- currencyCode: string;
127
- selected: boolean;
128
- }
129
- export interface CatalogMatchLineDto {
130
- lineNumber: number;
131
- xmlItemName: string;
132
- matchedItemCode: string;
133
- matchedItemName: string;
134
- catalogSubstitute: string;
135
- catalogItemCode: string;
136
- isMatched: boolean;
137
- quantity: number | null;
138
- unitPrice: number | null;
139
- discountPercent: number | null;
140
- taxPercent: number | null;
141
- unitCode: string;
142
- currencyCode: string;
143
- taxCode: string;
144
- }
145
92
  export interface ConnectorMultipleEmptyDraftResponseDto {
146
93
  invoiceID: string;
147
94
  EFATNO: string;
@@ -11,6 +11,7 @@ export declare class ParamsIntegratorComponent implements OnInit {
11
11
  readonly service: ParamsIntegratorService;
12
12
  private confirmation;
13
13
  private fb;
14
+ private readonly URL_PATTERN;
14
15
  data: PagedResultDto<ParamsIntegratorWithNavigationPropertiesDto>;
15
16
  filters: GetParamsIntegratorsInput;
16
17
  form: FormGroup;
@@ -25,6 +25,10 @@ export interface ParamsIntegratorCreateDto {
25
25
  eArchivePKLabel?: string;
26
26
  emmGBLabel?: string;
27
27
  emmPKLabel?: string;
28
+ eInvoiceApiUrl?: string;
29
+ eDespatchApiUrl?: string;
30
+ eArchiveApiUrl?: string;
31
+ emmApiUrl?: string;
28
32
  branchId?: string;
29
33
  }
30
34
  export interface ParamsIntegratorDto extends FullAuditedEntityDto<string> {
@@ -38,6 +42,10 @@ export interface ParamsIntegratorDto extends FullAuditedEntityDto<string> {
38
42
  eArchivePKLabel?: string;
39
43
  emmGBLabel?: string;
40
44
  emmPKLabel?: string;
45
+ eInvoiceApiUrl?: string;
46
+ eDespatchApiUrl?: string;
47
+ eArchiveApiUrl?: string;
48
+ emmApiUrl?: string;
41
49
  branchId?: string;
42
50
  concurrencyStamp?: string;
43
51
  }
@@ -57,6 +65,10 @@ export interface ParamsIntegratorUpdateDto {
57
65
  eArchivePKLabel?: string;
58
66
  emmGBLabel?: string;
59
67
  emmPKLabel?: string;
68
+ eInvoiceApiUrl?: string;
69
+ eDespatchApiUrl?: string;
70
+ eArchiveApiUrl?: string;
71
+ emmApiUrl?: string;
60
72
  branchId?: string;
61
73
  concurrencyStamp?: string;
62
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitsoft/e-donusum",
3
- "version": "100.1.9-Edo-Test",
3
+ "version": "100.1.11-Edo-Test",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=9",
6
6
  "@angular/core": ">=9",