@colijnit/relation 259.1.0 → 259.1.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.
@@ -25,7 +25,7 @@ export declare class RelationComponent implements OnInit, OnDestroy {
25
25
  collection: Title[];
26
26
  private _subs;
27
27
  constructor(relationEventService: RelationEventService, _translationService: CoreComponentsTranslationService, _settingsService: RelationSettingsService, _relationConnectorService: RelationConnectorService, _relationService: RelationService, iconCacheService: IconCacheService);
28
- ngOnInit(): void;
28
+ ngOnInit(): Promise<void>;
29
29
  ngOnDestroy(): void;
30
30
  handleSaveClick(): Promise<void>;
31
31
  getTitleCollection(): Promise<void>;
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
2
+ import { CoDocument } from '@colijnit/mainapi/build/model/co-document.bo';
3
3
  import { RelationConnectorService } from '../../service/relation-connector.service';
4
4
  import { ColorSequenceService, CoreDialogService } from '@colijnit/corecomponents_v12';
5
5
  import { RelationAnyType } from '@colijnit/relationapi/build/model/relation-any-type';
@@ -51,6 +51,7 @@ export declare class RelationBaseService extends BaseModuleService {
51
51
  private _getRelation;
52
52
  private _getRelationFromKind;
53
53
  getSubCategoryFor(relationKind: RelationKind, relationNameKind?: RelationNameKind, relationNr?: number): Promise<RelmanSubCategory>;
54
+ getFirstCustomerForContact(relationNo: number): Promise<CustomerFullObject>;
54
55
  private _getCustomerFullObject;
55
56
  private _getSupplierFullObject;
56
57
  private _getEmployeeFullObject;
@@ -46,6 +46,7 @@ export declare class RelationConnectorAdapterService implements OnDestroy {
46
46
  getRelationPrivacySettings(): Promise<RelationPrivacySetting[]>;
47
47
  getPrivacySettings(): Promise<PrivacySetting[]>;
48
48
  lockCustomerFullObject(relationNr: number): Promise<ValidationResult>;
49
+ getFirstCustomerForContact(relationNo: number): Promise<CustomerFullObject>;
49
50
  getCustomerFullObject(relationNo: number): Promise<CustomerFullObject>;
50
51
  insertCustomer(relation: CustomerFullObject): Promise<CustomerFullObject>;
51
52
  updateCustomer(relation: CustomerFullObject): Promise<CustomerFullObject>;
@@ -31,6 +31,7 @@ export declare class RelationConnectorService {
31
31
  getLanguages(): Promise<Language[]>;
32
32
  getNextContactOptionSequenceNumber(): Promise<number>;
33
33
  getRelationPrivacySettings(): Promise<RelationPrivacySetting[]>;
34
+ getFirstCustomerForContact(relationNo: number): Promise<CustomerFullObject>;
34
35
  getCustomerFullObject(relationNo: number): Promise<CustomerFullObject>;
35
36
  getSupplierFullObject(relationNo: number): Promise<SupplierFullObject>;
36
37
  getEmployeeFullObject(relationNo: number): Promise<EmployeeFullObject>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/relation",
3
- "version": "259.1.0",
3
+ "version": "259.1.1",
4
4
  "description": "Colijn IT relation module for Angular 12",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",