@grapadigital/shared-schemas 1.0.109 → 1.0.111

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.
@@ -31,6 +31,8 @@ declare class Recipient {
31
31
  document: string;
32
32
  }
33
33
  declare class Inbox {
34
+ document?: string;
35
+ legalName?: string;
34
36
  invoiceDescription?: string;
35
37
  influencerInvoiceDescription?: string;
36
38
  invoiceEmail?: string;
@@ -30,6 +30,16 @@ Recipient = __decorate([
30
30
  ], Recipient);
31
31
  let Inbox = class Inbox {
32
32
  };
33
+ __decorate([
34
+ (0, swagger_1.ApiProperty)({ example: 'CNPJ da Marca que foi selecionado para o faturamento' }),
35
+ (0, mongoose_1.Prop)(),
36
+ __metadata("design:type", String)
37
+ ], Inbox.prototype, "document", void 0);
38
+ __decorate([
39
+ (0, swagger_1.ApiProperty)({ example: 'Razão Social da Marca que foi selecionado para o faturamento' }),
40
+ (0, mongoose_1.Prop)(),
41
+ __metadata("design:type", String)
42
+ ], Inbox.prototype, "legalName", void 0);
33
43
  __decorate([
34
44
  (0, swagger_1.ApiProperty)({ example: 'Descrição que deve contar na nota fiscal referente à prestação de serviços' }),
35
45
  (0, mongoose_1.Prop)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grapadigital/shared-schemas",
3
- "version": "1.0.109",
3
+ "version": "1.0.111",
4
4
  "description": "Shared Mongoose Schemas",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,6 +22,12 @@ class Recipient {
22
22
 
23
23
  @Schema({ _id: false })
24
24
  class Inbox {
25
+ @ApiProperty({ example: 'CNPJ da Marca que foi selecionado para o faturamento' })
26
+ @Prop() document?: string;
27
+
28
+ @ApiProperty({ example: 'Razão Social da Marca que foi selecionado para o faturamento' })
29
+ @Prop() legalName?: string;
30
+
25
31
  @ApiProperty({ example: 'Descrição que deve contar na nota fiscal referente à prestação de serviços' })
26
32
  @Prop() invoiceDescription?: string;
27
33