adamo-types 2.0.96-sit → 2.0.97-sit

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,9 +1,9 @@
1
1
  import { AdditionalContactMediumPreferredProp, AdditionalContactMediumTypeProp, AdditionalContactMediumValueProp } from '../../common/common.entity';
2
- import { AdditionalContactMediumType } from '../../common/constants';
2
+ import { CustomerAccountAdditionalContactContactMediumType } from '../../sys03/customer';
3
3
  export declare class AdditionalContactMediumDto implements AdditionalContactMediumTypeProp, AdditionalContactMediumValueProp, AdditionalContactMediumPreferredProp {
4
4
  id?: number;
5
5
  leadAdditionalContact?: number;
6
- type: AdditionalContactMediumType;
6
+ type: CustomerAccountAdditionalContactContactMediumType;
7
7
  value: string;
8
8
  preferred: boolean;
9
9
  }
@@ -4,7 +4,7 @@ exports.AdditionalContactMediumDto = void 0;
4
4
  const openapi = require("@nestjs/swagger");
5
5
  class AdditionalContactMediumDto {
6
6
  static _OPENAPI_METADATA_FACTORY() {
7
- return { id: { required: false, type: () => Number }, leadAdditionalContact: { required: false, type: () => Number }, type: { required: true, enum: require("../../common/constants/common.constants").AdditionalContactMediumType }, value: { required: true, type: () => String }, preferred: { required: true, type: () => Boolean } };
7
+ return { id: { required: false, type: () => Number }, leadAdditionalContact: { required: false, type: () => Number }, type: { required: true, type: () => Object }, value: { required: true, type: () => String }, preferred: { required: true, type: () => Boolean } };
8
8
  }
9
9
  }
10
10
  exports.AdditionalContactMediumDto = AdditionalContactMediumDto;
@@ -1,4 +1,4 @@
1
- import { AdditionalContactRoleType } from '../../common/constants';
1
+ import { CustomerAccountAdditionalContactRelatedPartyRoleType } from '../../sys03/customer';
2
2
  import { AdditionalContactMediumDto } from './additonal-contact-medium.entity';
3
3
  export declare class AdditionalContactDto {
4
4
  id?: number;
@@ -6,6 +6,6 @@ export declare class AdditionalContactDto {
6
6
  partyId?: string;
7
7
  firstName: string;
8
8
  lastName: string;
9
- role: AdditionalContactRoleType;
9
+ role: CustomerAccountAdditionalContactRelatedPartyRoleType;
10
10
  contactMediums: AdditionalContactMediumDto[];
11
11
  }
@@ -4,7 +4,7 @@ exports.AdditionalContactDto = void 0;
4
4
  const openapi = require("@nestjs/swagger");
5
5
  class AdditionalContactDto {
6
6
  static _OPENAPI_METADATA_FACTORY() {
7
- return { id: { required: false, type: () => Number }, lead: { required: false, type: () => Number }, partyId: { required: false, type: () => String }, firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, role: { required: true, enum: require("../../common/constants/common.constants").AdditionalContactRoleType }, contactMediums: { required: true, type: () => [require("./additonal-contact-medium.entity").AdditionalContactMediumDto] } };
7
+ return { id: { required: false, type: () => Number }, lead: { required: false, type: () => Number }, partyId: { required: false, type: () => String }, firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, role: { required: true, type: () => Object }, contactMediums: { required: true, type: () => [require("./additonal-contact-medium.entity").AdditionalContactMediumDto] } };
8
8
  }
9
9
  }
10
10
  exports.AdditionalContactDto = AdditionalContactDto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adamo-types",
3
- "version": "2.0.96-sit",
3
+ "version": "2.0.97-sit",
4
4
  "description": "A types library for API communication agreement",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",