@grapadigital/shared-schemas 1.0.94 → 1.0.95

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.
@@ -50,7 +50,7 @@ export declare const ReviewSchema: MongooseSchema<Review, import("mongoose").Mod
50
50
  }>;
51
51
  export declare class Pending {
52
52
  requester: Requester;
53
- type: 'influencer' | 'advisor' | 'supplier' | 'employee_refund' | 'influencer_refund' | 'logistics_control' | 'transfer_between_accounts';
53
+ type: 'influencer' | 'advisor' | 'supplier' | 'employee_refund' | 'influencer_refund' | 'influencer_extra' | 'logistics_control' | 'transfer_between_accounts';
54
54
  purpose?: 'Envio SP' | 'Envio Outros' | 'Passagem' | 'Hospedagem' | 'Compras' | 'Logistica Time' | 'Conta Simples';
55
55
  adidasCategory?: 'Originals' | 'Running' | 'Football' | 'Training' | 'Omni';
56
56
  influencer?: Types.ObjectId | Influencer;
@@ -58,7 +58,10 @@ export declare class Pending {
58
58
  recruitment?: Types.ObjectId | Recruitment;
59
59
  value: number;
60
60
  description: string;
61
- attachments?: string[];
61
+ attachments?: {
62
+ name: string;
63
+ url: string;
64
+ }[];
62
65
  installmentNumber: number;
63
66
  sale?: Types.ObjectId | Sale;
64
67
  action: Types.ObjectId | Action;
@@ -60,6 +60,7 @@ __decorate([
60
60
  'supplier',
61
61
  'employee_refund',
62
62
  'influencer_refund',
63
+ 'influencer_extra',
63
64
  'logistics_control',
64
65
  'transfer_between_accounts'
65
66
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grapadigital/shared-schemas",
3
- "version": "1.0.94",
3
+ "version": "1.0.95",
4
4
  "description": "Shared Mongoose Schemas",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -36,11 +36,12 @@ export class Pending {
36
36
  'supplier',
37
37
  'employee_refund',
38
38
  'influencer_refund',
39
+ 'influencer_extra',
39
40
  'logistics_control',
40
41
  'transfer_between_accounts'
41
42
  ]
42
43
  })
43
- type: 'influencer' | 'advisor' | 'supplier' | 'employee_refund' | 'influencer_refund' | 'logistics_control' | 'transfer_between_accounts';
44
+ type: 'influencer' | 'advisor' | 'supplier' | 'employee_refund' | 'influencer_refund' | 'influencer_extra' | 'logistics_control' | 'transfer_between_accounts';
44
45
 
45
46
  @Prop({
46
47
  type: String,
@@ -90,7 +91,7 @@ export class Pending {
90
91
  required: false,
91
92
  default: []
92
93
  })
93
- attachments?: string[];
94
+ attachments?: { name: string, url: string }[];
94
95
 
95
96
  @Prop() installmentNumber: number;
96
97