@fiado/type-kit 3.103.0 → 3.105.0
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.
- package/bin/networkConnector/dtos/LeadResponse.d.ts +5 -0
- package/bin/networkConnector/dtos/LogoUploadUrlResponse.d.ts +5 -0
- package/bin/networkConnector/dtos/LogoUploadUrlResponse.js +28 -0
- package/bin/networkConnector/dtos/ProfileResponse.d.ts +1 -0
- package/bin/networkConnector/dtos/SaveLeadRequest.d.ts +5 -0
- package/bin/networkConnector/dtos/SaveLeadRequest.js +30 -0
- package/bin/networkConnector/dtos/UpdateLeadRequest.d.ts +5 -0
- package/bin/networkConnector/dtos/UpdateLeadRequest.js +30 -0
- package/bin/networkConnector/dtos/UploadProfileLogoRequest.d.ts +4 -0
- package/bin/networkConnector/dtos/UploadProfileLogoRequest.js +29 -0
- package/bin/networkConnector/dtos/UploadProfileLogoResponse.d.ts +3 -0
- package/bin/networkConnector/dtos/UploadProfileLogoResponse.js +20 -0
- package/bin/networkConnector/index.d.ts +3 -0
- package/bin/networkConnector/index.js +4 -0
- package/package.json +1 -1
- package/src/networkConnector/dtos/LeadResponse.ts +5 -0
- package/src/networkConnector/dtos/LogoUploadUrlResponse.ts +7 -0
- package/src/networkConnector/dtos/ProfileResponse.ts +1 -0
- package/src/networkConnector/dtos/SaveLeadRequest.ts +5 -0
- package/src/networkConnector/dtos/UpdateLeadRequest.ts +5 -0
- package/src/networkConnector/dtos/UploadProfileLogoRequest.ts +7 -0
- package/src/networkConnector/dtos/UploadProfileLogoResponse.ts +5 -0
- package/src/networkConnector/index.ts +5 -0
|
@@ -9,6 +9,11 @@ export interface LeadResponse {
|
|
|
9
9
|
company?: string;
|
|
10
10
|
notes?: string;
|
|
11
11
|
source: LeadSourceEnum;
|
|
12
|
+
companyEmail?: string;
|
|
13
|
+
companyAddress?: string;
|
|
14
|
+
facebook?: string;
|
|
15
|
+
instagram?: string;
|
|
16
|
+
jobTitle?: string;
|
|
12
17
|
status: LeadStatusEnum;
|
|
13
18
|
groupId?: string;
|
|
14
19
|
createdAt: number;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.LogoUploadUrlResponse = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class LogoUploadUrlResponse {
|
|
15
|
+
}
|
|
16
|
+
exports.LogoUploadUrlResponse = LogoUploadUrlResponse;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], LogoUploadUrlResponse.prototype, "uploadUrl", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], LogoUploadUrlResponse.prototype, "logoUrl", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], LogoUploadUrlResponse.prototype, "expiresIn", void 0);
|
|
@@ -55,3 +55,33 @@ __decorate([
|
|
|
55
55
|
(0, class_validator_1.IsEnum)(LeadSourceEnum_1.LeadSourceEnum),
|
|
56
56
|
__metadata("design:type", String)
|
|
57
57
|
], SaveLeadRequest.prototype, "source", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], SaveLeadRequest.prototype, "companyEmail", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
(0, class_validator_1.IsOptional)(),
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], SaveLeadRequest.prototype, "companyAddress", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
(0, class_validator_1.IsString)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], SaveLeadRequest.prototype, "facebook", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
(0, class_validator_1.IsString)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], SaveLeadRequest.prototype, "instagram", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_transformer_1.Expose)(),
|
|
84
|
+
(0, class_validator_1.IsOptional)(),
|
|
85
|
+
(0, class_validator_1.IsString)(),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], SaveLeadRequest.prototype, "jobTitle", void 0);
|
|
@@ -55,3 +55,33 @@ __decorate([
|
|
|
55
55
|
(0, class_validator_1.IsEnum)(LeadStatusEnum_1.LeadStatusEnum),
|
|
56
56
|
__metadata("design:type", String)
|
|
57
57
|
], UpdateLeadRequest.prototype, "status", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], UpdateLeadRequest.prototype, "companyEmail", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
(0, class_validator_1.IsOptional)(),
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], UpdateLeadRequest.prototype, "companyAddress", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
(0, class_validator_1.IsString)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], UpdateLeadRequest.prototype, "facebook", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
(0, class_validator_1.IsString)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], UpdateLeadRequest.prototype, "instagram", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_transformer_1.Expose)(),
|
|
84
|
+
(0, class_validator_1.IsOptional)(),
|
|
85
|
+
(0, class_validator_1.IsString)(),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], UpdateLeadRequest.prototype, "jobTitle", void 0);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UploadProfileLogoRequest = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class UploadProfileLogoRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.UploadProfileLogoRequest = UploadProfileLogoRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], UploadProfileLogoRequest.prototype, "logoBase64", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], UploadProfileLogoRequest.prototype, "mimeType", void 0);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UploadProfileLogoResponse = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class UploadProfileLogoResponse {
|
|
15
|
+
}
|
|
16
|
+
exports.UploadProfileLogoResponse = UploadProfileLogoResponse;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], UploadProfileLogoResponse.prototype, "logoUrl", void 0);
|
|
@@ -23,3 +23,6 @@ export * from './dtos/PhotoUploadUrlResponse';
|
|
|
23
23
|
export * from './dtos/DeletePhotoResponse';
|
|
24
24
|
export * from './dtos/UploadProfilePhotoRequest';
|
|
25
25
|
export * from './dtos/UploadProfilePhotoResponse';
|
|
26
|
+
export * from './dtos/LogoUploadUrlResponse';
|
|
27
|
+
export * from './dtos/UploadProfileLogoRequest';
|
|
28
|
+
export * from './dtos/UploadProfileLogoResponse';
|
|
@@ -44,3 +44,7 @@ __exportStar(require("./dtos/PhotoUploadUrlResponse"), exports);
|
|
|
44
44
|
__exportStar(require("./dtos/DeletePhotoResponse"), exports);
|
|
45
45
|
__exportStar(require("./dtos/UploadProfilePhotoRequest"), exports);
|
|
46
46
|
__exportStar(require("./dtos/UploadProfilePhotoResponse"), exports);
|
|
47
|
+
// Logo DTOs
|
|
48
|
+
__exportStar(require("./dtos/LogoUploadUrlResponse"), exports);
|
|
49
|
+
__exportStar(require("./dtos/UploadProfileLogoRequest"), exports);
|
|
50
|
+
__exportStar(require("./dtos/UploadProfileLogoResponse"), exports);
|
package/package.json
CHANGED
|
@@ -10,6 +10,11 @@ export interface LeadResponse {
|
|
|
10
10
|
company?: string;
|
|
11
11
|
notes?: string;
|
|
12
12
|
source: LeadSourceEnum;
|
|
13
|
+
companyEmail?: string;
|
|
14
|
+
companyAddress?: string;
|
|
15
|
+
facebook?: string;
|
|
16
|
+
instagram?: string;
|
|
17
|
+
jobTitle?: string;
|
|
13
18
|
status: LeadStatusEnum;
|
|
14
19
|
groupId?: string;
|
|
15
20
|
createdAt: number;
|
|
@@ -9,4 +9,9 @@ export class SaveLeadRequest {
|
|
|
9
9
|
@Expose() @IsOptional() @IsString() @MaxLength(200) company?: string;
|
|
10
10
|
@Expose() @IsOptional() @IsString() @MaxLength(500) notes?: string;
|
|
11
11
|
@Expose() @IsOptional() @IsEnum(LeadSourceEnum) source?: LeadSourceEnum;
|
|
12
|
+
@Expose() @IsOptional() @IsString() companyEmail?: string;
|
|
13
|
+
@Expose() @IsOptional() @IsString() companyAddress?: string;
|
|
14
|
+
@Expose() @IsOptional() @IsString() facebook?: string;
|
|
15
|
+
@Expose() @IsOptional() @IsString() instagram?: string;
|
|
16
|
+
@Expose() @IsOptional() @IsString() jobTitle?: string;
|
|
12
17
|
}
|
|
@@ -9,4 +9,9 @@ export class UpdateLeadRequest {
|
|
|
9
9
|
@Expose() @IsOptional() @IsString() @MaxLength(200) company?: string;
|
|
10
10
|
@Expose() @IsOptional() @IsString() @MaxLength(500) notes?: string;
|
|
11
11
|
@Expose() @IsOptional() @IsEnum(LeadStatusEnum) status?: LeadStatusEnum;
|
|
12
|
+
@Expose() @IsOptional() @IsString() companyEmail?: string;
|
|
13
|
+
@Expose() @IsOptional() @IsString() companyAddress?: string;
|
|
14
|
+
@Expose() @IsOptional() @IsString() facebook?: string;
|
|
15
|
+
@Expose() @IsOptional() @IsString() instagram?: string;
|
|
16
|
+
@Expose() @IsOptional() @IsString() jobTitle?: string;
|
|
12
17
|
}
|
|
@@ -32,3 +32,8 @@ export * from './dtos/PhotoUploadUrlResponse';
|
|
|
32
32
|
export * from './dtos/DeletePhotoResponse';
|
|
33
33
|
export * from './dtos/UploadProfilePhotoRequest';
|
|
34
34
|
export * from './dtos/UploadProfilePhotoResponse';
|
|
35
|
+
|
|
36
|
+
// Logo DTOs
|
|
37
|
+
export * from './dtos/LogoUploadUrlResponse';
|
|
38
|
+
export * from './dtos/UploadProfileLogoRequest';
|
|
39
|
+
export * from './dtos/UploadProfileLogoResponse';
|