@silexpert/core 2.0.105 → 2.0.106

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.
@@ -2,6 +2,9 @@ import { SocietyCreationCheckoutStatus } from '../../../Enum/SocietyCreationChec
2
2
  export declare class CreateSocietyCreationCheckoutCompany {
3
3
  siren: string;
4
4
  siret?: string;
5
+ name?: string;
6
+ legalForm?: string;
7
+ address?: string;
5
8
  }
6
9
  export declare class CreateSocietyCreationCheckout {
7
10
  company: CreateSocietyCreationCheckoutCompany;
@@ -21,7 +24,7 @@ export interface SocietyCreationData {
21
24
  idUser: number;
22
25
  idTypeCompta: number;
23
26
  name: string;
24
- siret: string;
27
+ siret?: string;
25
28
  nafCode?: string;
26
29
  address?: string;
27
30
  addressComplement?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SocietyCreationCheckout.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAE/F,qBAAa,oCAAoC;IAI/C,KAAK,EAAE,MAAM,CAAC;IAMd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,6BAA6B;IAGxC,OAAO,EAAE,oCAAoC,CAAC;IAM9C,aAAa,EAAE,MAAM,CAAC;IAMtB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,qCAAqC;IAEhD,KAAK,EAAE,MAAM,CAAC;IAGd,GAAG,EAAE,MAAM,CAAC;CACb;AAED,qBAAa,2BAA2B;IAEtC,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,6BAA6B,CAAC;IAGtC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"SocietyCreationCheckout.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAE/F,qBAAa,oCAAoC;IAI/C,KAAK,EAAE,MAAM,CAAC;IAMd,KAAK,CAAC,EAAE,MAAM,CAAC;IAOf,IAAI,CAAC,EAAE,MAAM,CAAC;IAOd,SAAS,CAAC,EAAE,MAAM,CAAC;IAOnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,6BAA6B;IAGxC,OAAO,EAAE,oCAAoC,CAAC;IAM9C,aAAa,EAAE,MAAM,CAAC;IAMtB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,qCAAqC;IAEhD,KAAK,EAAE,MAAM,CAAC;IAGd,GAAG,EAAE,MAAM,CAAC;CACb;AAED,qBAAa,2BAA2B;IAEtC,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,6BAA6B,CAAC;IAGtC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -13,6 +13,9 @@ import { SocietyCreationCheckoutStatus } from '../../../Enum/SocietyCreationChec
13
13
  export class CreateSocietyCreationCheckoutCompany {
14
14
  siren;
15
15
  siret;
16
+ name;
17
+ legalForm;
18
+ address;
16
19
  }
17
20
  __decorate([
18
21
  ApiProperty(),
@@ -27,6 +30,30 @@ __decorate([
27
30
  Matches(/^\d{14}$/),
28
31
  __metadata("design:type", String)
29
32
  ], CreateSocietyCreationCheckoutCompany.prototype, "siret", void 0);
33
+ __decorate([
34
+ ApiPropertyOptional(),
35
+ IsOptional(),
36
+ IsString(),
37
+ IsNotEmpty(),
38
+ MaxLength(255),
39
+ __metadata("design:type", String)
40
+ ], CreateSocietyCreationCheckoutCompany.prototype, "name", void 0);
41
+ __decorate([
42
+ ApiPropertyOptional(),
43
+ IsOptional(),
44
+ IsString(),
45
+ IsNotEmpty(),
46
+ MaxLength(255),
47
+ __metadata("design:type", String)
48
+ ], CreateSocietyCreationCheckoutCompany.prototype, "legalForm", void 0);
49
+ __decorate([
50
+ ApiPropertyOptional(),
51
+ IsOptional(),
52
+ IsString(),
53
+ IsNotEmpty(),
54
+ MaxLength(255),
55
+ __metadata("design:type", String)
56
+ ], CreateSocietyCreationCheckoutCompany.prototype, "address", void 0);
30
57
  export class CreateSocietyCreationCheckout {
31
58
  company;
32
59
  stripePriceId;
@@ -1 +1 @@
1
- {"version":3,"file":"SocietyCreationCheckout.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACvG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAE/F,MAAM,OAAO,oCAAoC;IAI/C,KAAK,CAAS;IAMd,KAAK,CAAU;CAChB;AAPC;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,OAAO,CAAC,SAAS,CAAC;;mEACL;AAMd;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,OAAO,CAAC,UAAU,CAAC;;mEACL;AAGjB,MAAM,OAAO,6BAA6B;IAGxC,OAAO,CAAuC;IAM9C,aAAa,CAAS;IAMtB,UAAU,CAAS;CACpB;AAbC;IAFC,WAAW,CAAC,EAAE,IAAI,EAAE,oCAAoC,EAAE,CAAC;IAC3D,cAAc,EAAE;8BACR,oCAAoC;8DAAC;AAM9C;IAJC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,EAAE;IACZ,SAAS,CAAC,GAAG,CAAC;;oEACO;AAMtB;IAJC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,OAAO,CAAC,WAAW,CAAC;IACpB,SAAS,CAAC,IAAI,CAAC;;iEACG;AAGrB,MAAM,OAAO,qCAAqC;IAEhD,KAAK,CAAS;IAGd,GAAG,CAAS;CACb;AAJC;IADC,WAAW,EAAE;;oEACA;AAGd;IADC,WAAW,EAAE;;kEACF;AAGd,MAAM,OAAO,2BAA2B;IAEtC,KAAK,CAAS;IAGd,MAAM,CAAgC;IAGtC,SAAS,CAAgB;CAC1B;AAPC;IADC,WAAW,EAAE;;0DACA;AAGd;IADC,WAAW,CAAC,EAAE,IAAI,EAAE,6BAA6B,EAAE,CAAC;;2DACf;AAGtC;IADC,mBAAmB,EAAE;;8DACG","sourcesContent":["import { IsNotEmpty, IsOptional, IsString, Matches, MaxLength, ValidateNested } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { SocietyCreationCheckoutStatus } from '../../../Enum/SocietyCreationCheckoutStatus.js';\n\nexport class CreateSocietyCreationCheckoutCompany {\n @ApiProperty()\n @IsString()\n @Matches(/^\\d{9}$/)\n siren: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @Matches(/^\\d{14}$/)\n siret?: string;\n}\n\nexport class CreateSocietyCreationCheckout {\n @ApiProperty({ type: CreateSocietyCreationCheckoutCompany })\n @ValidateNested()\n company: CreateSocietyCreationCheckoutCompany;\n\n @ApiProperty()\n @IsString()\n @IsNotEmpty()\n @MaxLength(255)\n stripePriceId: string;\n\n @ApiProperty()\n @IsString()\n @Matches(/^\\/(?!\\/)/)\n @MaxLength(1024)\n returnPath: string;\n}\n\nexport class CreateSocietyCreationCheckoutResponse {\n @ApiProperty()\n token: string;\n\n @ApiProperty()\n url: string;\n}\n\nexport class ReadSocietyCreationCheckout {\n @ApiProperty()\n token: string;\n\n @ApiProperty({ enum: SocietyCreationCheckoutStatus })\n status: SocietyCreationCheckoutStatus;\n\n @ApiPropertyOptional()\n idSociety: number | null;\n}\n\nexport interface SocietyCreationData {\n idUser: number;\n idTypeCompta: number;\n name: string;\n siret: string;\n nafCode?: string;\n address?: string;\n addressComplement?: string;\n zipCode?: string;\n city?: string;\n idLegalForm?: number;\n}\n"]}
1
+ {"version":3,"file":"SocietyCreationCheckout.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/societyCreationCheckout/SocietyCreationCheckout.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACvG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAE/F,MAAM,OAAO,oCAAoC;IAI/C,KAAK,CAAS;IAMd,KAAK,CAAU;IAOf,IAAI,CAAU;IAOd,SAAS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AW,CAAC,EAAE,IAAI,EAAE,6BAA6B,EAAE,CAAC;;2DACf;AAGtC;IADC,mBAAmB,EAAE;;8DACG","sourcesContent":["import { IsNotEmpty, IsOptional, IsString, Matches, MaxLength, ValidateNested } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { SocietyCreationCheckoutStatus } from '../../../Enum/SocietyCreationCheckoutStatus.js';\n\nexport class CreateSocietyCreationCheckoutCompany {\n @ApiProperty()\n @IsString()\n @Matches(/^\\d{9}$/)\n siren: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @Matches(/^\\d{14}$/)\n siret?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @IsNotEmpty()\n @MaxLength(255)\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @IsNotEmpty()\n @MaxLength(255)\n legalForm?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @IsNotEmpty()\n @MaxLength(255)\n address?: string;\n}\n\nexport class CreateSocietyCreationCheckout {\n @ApiProperty({ type: CreateSocietyCreationCheckoutCompany })\n @ValidateNested()\n company: CreateSocietyCreationCheckoutCompany;\n\n @ApiProperty()\n @IsString()\n @IsNotEmpty()\n @MaxLength(255)\n stripePriceId: string;\n\n @ApiProperty()\n @IsString()\n @Matches(/^\\/(?!\\/)/)\n @MaxLength(1024)\n returnPath: string;\n}\n\nexport class CreateSocietyCreationCheckoutResponse {\n @ApiProperty()\n token: string;\n\n @ApiProperty()\n url: string;\n}\n\nexport class ReadSocietyCreationCheckout {\n @ApiProperty()\n token: string;\n\n @ApiProperty({ enum: SocietyCreationCheckoutStatus })\n status: SocietyCreationCheckoutStatus;\n\n @ApiPropertyOptional()\n idSociety: number | null;\n}\n\nexport interface SocietyCreationData {\n idUser: number;\n idTypeCompta: number;\n name: string;\n siret?: string;\n nafCode?: string;\n address?: string;\n addressComplement?: string;\n zipCode?: string;\n city?: string;\n idLegalForm?: number;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "2.0.105",
3
+ "version": "2.0.106",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "keywords": [
6
6
  "accounting",
@@ -13,6 +13,27 @@ export class CreateSocietyCreationCheckoutCompany {
13
13
  @IsString()
14
14
  @Matches(/^\d{14}$/)
15
15
  siret?: string;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsString()
20
+ @IsNotEmpty()
21
+ @MaxLength(255)
22
+ name?: string;
23
+
24
+ @ApiPropertyOptional()
25
+ @IsOptional()
26
+ @IsString()
27
+ @IsNotEmpty()
28
+ @MaxLength(255)
29
+ legalForm?: string;
30
+
31
+ @ApiPropertyOptional()
32
+ @IsOptional()
33
+ @IsString()
34
+ @IsNotEmpty()
35
+ @MaxLength(255)
36
+ address?: string;
16
37
  }
17
38
 
18
39
  export class CreateSocietyCreationCheckout {
@@ -56,7 +77,7 @@ export interface SocietyCreationData {
56
77
  idUser: number;
57
78
  idTypeCompta: number;
58
79
  name: string;
59
- siret: string;
80
+ siret?: string;
60
81
  nafCode?: string;
61
82
  address?: string;
62
83
  addressComplement?: string;