@wrcb/cb-common 1.0.865 → 1.0.866
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/build/events/subjects.d.ts +6 -1
- package/build/events/subjects.js +6 -0
- package/build/events/trabalho-home-office/index.d.ts +10 -0
- package/build/events/trabalho-home-office/index.js +26 -0
- package/build/events/trabalho-home-office/jobApplicationCreatedEvent.d.ts +15 -0
- package/build/events/trabalho-home-office/jobApplicationCreatedEvent.js +2 -0
- package/build/events/trabalho-home-office/jobApplicationCreatedPublisher.d.ts +6 -0
- package/build/events/trabalho-home-office/jobApplicationCreatedPublisher.js +12 -0
- package/build/events/trabalho-home-office/jobApplicationStatusUpdatedEvent.d.ts +12 -0
- package/build/events/trabalho-home-office/jobApplicationStatusUpdatedEvent.js +2 -0
- package/build/events/trabalho-home-office/jobApplicationStatusUpdatedPublisher.d.ts +6 -0
- package/build/events/trabalho-home-office/jobApplicationStatusUpdatedPublisher.js +12 -0
- package/build/events/trabalho-home-office/messageSentEvent.d.ts +14 -0
- package/build/events/trabalho-home-office/messageSentEvent.js +2 -0
- package/build/events/trabalho-home-office/messageSentPublisher.d.ts +6 -0
- package/build/events/trabalho-home-office/messageSentPublisher.js +12 -0
- package/build/events/trabalho-home-office/proposalCreatedEvent.d.ts +15 -0
- package/build/events/trabalho-home-office/proposalCreatedEvent.js +2 -0
- package/build/events/trabalho-home-office/proposalCreatedPublisher.d.ts +6 -0
- package/build/events/trabalho-home-office/proposalCreatedPublisher.js +12 -0
- package/build/events/trabalho-home-office/proposalStatusUpdatedEvent.d.ts +12 -0
- package/build/events/trabalho-home-office/proposalStatusUpdatedEvent.js +2 -0
- package/build/events/trabalho-home-office/proposalStatusUpdatedPublisher.d.ts +6 -0
- package/build/events/trabalho-home-office/proposalStatusUpdatedPublisher.js +12 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +3 -0
- package/build/server.d.ts +1 -0
- package/build/server.js +2 -0
- package/build/services/TenantDataService.js +44 -0
- package/build/types/tenant.d.ts +2 -1
- package/build/types/tenant.js +1 -0
- package/build/types/trabalhoHomeOffice.d.ts +26 -0
- package/build/types/trabalhoHomeOffice.js +35 -0
- package/package.json +1 -1
|
@@ -69,5 +69,10 @@ export declare enum Subjects {
|
|
|
69
69
|
NotasBrInvoiceRejected = "notasbr:invoice:rejected",
|
|
70
70
|
NotasBrInvoiceCancelled = "notasbr:invoice:cancelled",
|
|
71
71
|
NotasBrCertificateExpiring = "notasbr:certificate:expiring",
|
|
72
|
-
NotasBrCreditsGranted = "notasbr:credits:granted"
|
|
72
|
+
NotasBrCreditsGranted = "notasbr:credits:granted",
|
|
73
|
+
ThoJobApplicationCreated = "tho:job-application:created",
|
|
74
|
+
ThoProposalCreated = "tho:proposal:created",
|
|
75
|
+
ThoMessageSent = "tho:message:sent",
|
|
76
|
+
ThoJobApplicationStatusUpdated = "tho:job-application:status-updated",
|
|
77
|
+
ThoProposalStatusUpdated = "tho:proposal:status-updated"
|
|
73
78
|
}
|
package/build/events/subjects.js
CHANGED
|
@@ -84,4 +84,10 @@ var Subjects;
|
|
|
84
84
|
Subjects["NotasBrInvoiceCancelled"] = "notasbr:invoice:cancelled";
|
|
85
85
|
Subjects["NotasBrCertificateExpiring"] = "notasbr:certificate:expiring";
|
|
86
86
|
Subjects["NotasBrCreditsGranted"] = "notasbr:credits:granted";
|
|
87
|
+
// trabalho-home-office
|
|
88
|
+
Subjects["ThoJobApplicationCreated"] = "tho:job-application:created";
|
|
89
|
+
Subjects["ThoProposalCreated"] = "tho:proposal:created";
|
|
90
|
+
Subjects["ThoMessageSent"] = "tho:message:sent";
|
|
91
|
+
Subjects["ThoJobApplicationStatusUpdated"] = "tho:job-application:status-updated";
|
|
92
|
+
Subjects["ThoProposalStatusUpdated"] = "tho:proposal:status-updated";
|
|
87
93
|
})(Subjects || (exports.Subjects = Subjects = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './jobApplicationCreatedEvent';
|
|
2
|
+
export * from './jobApplicationCreatedPublisher';
|
|
3
|
+
export * from './proposalCreatedEvent';
|
|
4
|
+
export * from './proposalCreatedPublisher';
|
|
5
|
+
export * from './messageSentEvent';
|
|
6
|
+
export * from './messageSentPublisher';
|
|
7
|
+
export * from './jobApplicationStatusUpdatedEvent';
|
|
8
|
+
export * from './jobApplicationStatusUpdatedPublisher';
|
|
9
|
+
export * from './proposalStatusUpdatedEvent';
|
|
10
|
+
export * from './proposalStatusUpdatedPublisher';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./jobApplicationCreatedEvent"), exports);
|
|
18
|
+
__exportStar(require("./jobApplicationCreatedPublisher"), exports);
|
|
19
|
+
__exportStar(require("./proposalCreatedEvent"), exports);
|
|
20
|
+
__exportStar(require("./proposalCreatedPublisher"), exports);
|
|
21
|
+
__exportStar(require("./messageSentEvent"), exports);
|
|
22
|
+
__exportStar(require("./messageSentPublisher"), exports);
|
|
23
|
+
__exportStar(require("./jobApplicationStatusUpdatedEvent"), exports);
|
|
24
|
+
__exportStar(require("./jobApplicationStatusUpdatedPublisher"), exports);
|
|
25
|
+
__exportStar(require("./proposalStatusUpdatedEvent"), exports);
|
|
26
|
+
__exportStar(require("./proposalStatusUpdatedPublisher"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Subjects } from '../subjects';
|
|
2
|
+
export interface ThoJobApplicationCreatedEvent {
|
|
3
|
+
subject: Subjects.ThoJobApplicationCreated;
|
|
4
|
+
data: {
|
|
5
|
+
applicationId: string;
|
|
6
|
+
jobPostingId: string;
|
|
7
|
+
jobPostingTitle: string;
|
|
8
|
+
freelancerId: string;
|
|
9
|
+
freelancerNickName: string;
|
|
10
|
+
consumerId: string;
|
|
11
|
+
consumerEmail: string;
|
|
12
|
+
consumerNickName: string;
|
|
13
|
+
message: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Publisher } from '../basePublisher';
|
|
2
|
+
import { ThoJobApplicationCreatedEvent } from './jobApplicationCreatedEvent';
|
|
3
|
+
import { Subjects } from '../subjects';
|
|
4
|
+
export declare class ThoJobApplicationCreatedPublisher extends Publisher<ThoJobApplicationCreatedEvent> {
|
|
5
|
+
subject: Subjects.ThoJobApplicationCreated;
|
|
6
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ThoJobApplicationCreatedPublisher = void 0;
|
|
4
|
+
const basePublisher_1 = require("../basePublisher");
|
|
5
|
+
const subjects_1 = require("../subjects");
|
|
6
|
+
class ThoJobApplicationCreatedPublisher extends basePublisher_1.Publisher {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.subject = subjects_1.Subjects.ThoJobApplicationCreated;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ThoJobApplicationCreatedPublisher = ThoJobApplicationCreatedPublisher;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Subjects } from '../subjects';
|
|
2
|
+
import { ApplicationStatus } from '../../types/trabalhoHomeOffice';
|
|
3
|
+
export interface ThoJobApplicationStatusUpdatedEvent {
|
|
4
|
+
subject: Subjects.ThoJobApplicationStatusUpdated;
|
|
5
|
+
data: {
|
|
6
|
+
applicationId: string;
|
|
7
|
+
jobPostingTitle: string;
|
|
8
|
+
status: ApplicationStatus;
|
|
9
|
+
freelancerEmail: string;
|
|
10
|
+
freelancerNickName: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Publisher } from '../basePublisher';
|
|
2
|
+
import { ThoJobApplicationStatusUpdatedEvent } from './jobApplicationStatusUpdatedEvent';
|
|
3
|
+
import { Subjects } from '../subjects';
|
|
4
|
+
export declare class ThoJobApplicationStatusUpdatedPublisher extends Publisher<ThoJobApplicationStatusUpdatedEvent> {
|
|
5
|
+
subject: Subjects.ThoJobApplicationStatusUpdated;
|
|
6
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ThoJobApplicationStatusUpdatedPublisher = void 0;
|
|
4
|
+
const basePublisher_1 = require("../basePublisher");
|
|
5
|
+
const subjects_1 = require("../subjects");
|
|
6
|
+
class ThoJobApplicationStatusUpdatedPublisher extends basePublisher_1.Publisher {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.subject = subjects_1.Subjects.ThoJobApplicationStatusUpdated;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ThoJobApplicationStatusUpdatedPublisher = ThoJobApplicationStatusUpdatedPublisher;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Subjects } from '../subjects';
|
|
2
|
+
export interface ThoMessageSentEvent {
|
|
3
|
+
subject: Subjects.ThoMessageSent;
|
|
4
|
+
data: {
|
|
5
|
+
conversationId: string;
|
|
6
|
+
messageId: string;
|
|
7
|
+
senderId: string;
|
|
8
|
+
senderNickName: string;
|
|
9
|
+
recipientId: string;
|
|
10
|
+
recipientEmail: string;
|
|
11
|
+
recipientNickName: string;
|
|
12
|
+
body: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Publisher } from '../basePublisher';
|
|
2
|
+
import { ThoMessageSentEvent } from './messageSentEvent';
|
|
3
|
+
import { Subjects } from '../subjects';
|
|
4
|
+
export declare class ThoMessageSentPublisher extends Publisher<ThoMessageSentEvent> {
|
|
5
|
+
subject: Subjects.ThoMessageSent;
|
|
6
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ThoMessageSentPublisher = void 0;
|
|
4
|
+
const basePublisher_1 = require("../basePublisher");
|
|
5
|
+
const subjects_1 = require("../subjects");
|
|
6
|
+
class ThoMessageSentPublisher extends basePublisher_1.Publisher {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.subject = subjects_1.Subjects.ThoMessageSent;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ThoMessageSentPublisher = ThoMessageSentPublisher;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Subjects } from '../subjects';
|
|
2
|
+
export interface ThoProposalCreatedEvent {
|
|
3
|
+
subject: Subjects.ThoProposalCreated;
|
|
4
|
+
data: {
|
|
5
|
+
proposalId: string;
|
|
6
|
+
serviceId: string;
|
|
7
|
+
serviceTitle: string;
|
|
8
|
+
consumerId: string;
|
|
9
|
+
consumerNickName: string;
|
|
10
|
+
sellerId: string;
|
|
11
|
+
sellerEmail: string;
|
|
12
|
+
sellerNickName: string;
|
|
13
|
+
message: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Publisher } from '../basePublisher';
|
|
2
|
+
import { ThoProposalCreatedEvent } from './proposalCreatedEvent';
|
|
3
|
+
import { Subjects } from '../subjects';
|
|
4
|
+
export declare class ThoProposalCreatedPublisher extends Publisher<ThoProposalCreatedEvent> {
|
|
5
|
+
subject: Subjects.ThoProposalCreated;
|
|
6
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ThoProposalCreatedPublisher = void 0;
|
|
4
|
+
const basePublisher_1 = require("../basePublisher");
|
|
5
|
+
const subjects_1 = require("../subjects");
|
|
6
|
+
class ThoProposalCreatedPublisher extends basePublisher_1.Publisher {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.subject = subjects_1.Subjects.ThoProposalCreated;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ThoProposalCreatedPublisher = ThoProposalCreatedPublisher;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Subjects } from '../subjects';
|
|
2
|
+
import { ApplicationStatus } from '../../types/trabalhoHomeOffice';
|
|
3
|
+
export interface ThoProposalStatusUpdatedEvent {
|
|
4
|
+
subject: Subjects.ThoProposalStatusUpdated;
|
|
5
|
+
data: {
|
|
6
|
+
proposalId: string;
|
|
7
|
+
serviceTitle: string;
|
|
8
|
+
status: ApplicationStatus;
|
|
9
|
+
consumerEmail: string;
|
|
10
|
+
consumerNickName: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Publisher } from '../basePublisher';
|
|
2
|
+
import { ThoProposalStatusUpdatedEvent } from './proposalStatusUpdatedEvent';
|
|
3
|
+
import { Subjects } from '../subjects';
|
|
4
|
+
export declare class ThoProposalStatusUpdatedPublisher extends Publisher<ThoProposalStatusUpdatedEvent> {
|
|
5
|
+
subject: Subjects.ThoProposalStatusUpdated;
|
|
6
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ThoProposalStatusUpdatedPublisher = void 0;
|
|
4
|
+
const basePublisher_1 = require("../basePublisher");
|
|
5
|
+
const subjects_1 = require("../subjects");
|
|
6
|
+
class ThoProposalStatusUpdatedPublisher extends basePublisher_1.Publisher {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.subject = subjects_1.Subjects.ThoProposalStatusUpdated;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ThoProposalStatusUpdatedPublisher = ThoProposalStatusUpdatedPublisher;
|
package/build/index.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export * from './types/suggestionStatus';
|
|
|
55
55
|
export * from './types/betOutcome';
|
|
56
56
|
export * from './types/betStatus';
|
|
57
57
|
export * from './types/predictionType';
|
|
58
|
+
export * from './types/trabalhoHomeOffice';
|
|
58
59
|
export * from './events/subjects';
|
|
59
60
|
export * from './events/baseListener';
|
|
60
61
|
export * from './events/basePublisher';
|
|
@@ -62,6 +63,7 @@ export * from './events/youtube-dark';
|
|
|
62
63
|
export * from './events/social-media-automator';
|
|
63
64
|
export * from './events/ai';
|
|
64
65
|
export * from './events/notas-br';
|
|
66
|
+
export * from './events/trabalho-home-office';
|
|
65
67
|
export * from './services/TenantDataService';
|
|
66
68
|
export * from './services/CurrencyService';
|
|
67
69
|
export * from './config/notasBrBilling';
|
package/build/index.js
CHANGED
|
@@ -81,6 +81,8 @@ __exportStar(require("./types/suggestionStatus"), exports);
|
|
|
81
81
|
__exportStar(require("./types/betOutcome"), exports);
|
|
82
82
|
__exportStar(require("./types/betStatus"), exports);
|
|
83
83
|
__exportStar(require("./types/predictionType"), exports);
|
|
84
|
+
// trabalho-home-office
|
|
85
|
+
__exportStar(require("./types/trabalhoHomeOffice"), exports);
|
|
84
86
|
__exportStar(require("./events/subjects"), exports);
|
|
85
87
|
__exportStar(require("./events/baseListener"), exports);
|
|
86
88
|
__exportStar(require("./events/basePublisher"), exports);
|
|
@@ -88,6 +90,7 @@ __exportStar(require("./events/youtube-dark"), exports);
|
|
|
88
90
|
__exportStar(require("./events/social-media-automator"), exports);
|
|
89
91
|
__exportStar(require("./events/ai"), exports);
|
|
90
92
|
__exportStar(require("./events/notas-br"), exports);
|
|
93
|
+
__exportStar(require("./events/trabalho-home-office"), exports);
|
|
91
94
|
__exportStar(require("./services/TenantDataService"), exports);
|
|
92
95
|
__exportStar(require("./services/CurrencyService"), exports);
|
|
93
96
|
// notas-br — tabela de billing compartilhada entre gn-business e cb-payments
|
package/build/server.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ export * from './events/apps/imageCreatedEvent';
|
|
|
89
89
|
export * from './events/apps/creativeVideoReadyEvent';
|
|
90
90
|
export * from './events/realstate/realStateVideoCreatedEvent';
|
|
91
91
|
export * from './events/notas-br';
|
|
92
|
+
export * from './events/trabalho-home-office';
|
|
92
93
|
export * from './events/linkedin-automator/linkedinPostGeneratedEvent';
|
|
93
94
|
export * from './events/linkedin-automator/linkedinPostGeneratedPublisher';
|
|
94
95
|
export * from './events/linkedin-automator/linkedinPostPublishedEvent';
|
package/build/server.js
CHANGED
|
@@ -106,6 +106,8 @@ __exportStar(require("./events/apps/creativeVideoReadyEvent"), exports);
|
|
|
106
106
|
__exportStar(require("./events/realstate/realStateVideoCreatedEvent"), exports);
|
|
107
107
|
// notas-br
|
|
108
108
|
__exportStar(require("./events/notas-br"), exports);
|
|
109
|
+
// trabalho-home-office
|
|
110
|
+
__exportStar(require("./events/trabalho-home-office"), exports);
|
|
109
111
|
// linkedin-automator
|
|
110
112
|
__exportStar(require("./events/linkedin-automator/linkedinPostGeneratedEvent"), exports);
|
|
111
113
|
__exportStar(require("./events/linkedin-automator/linkedinPostGeneratedPublisher"), exports);
|
|
@@ -1142,5 +1142,49 @@ TenantDataService.tenantDataMap = {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
},
|
|
1144
1144
|
RATING_CRITERIA: undefined
|
|
1145
|
+
},
|
|
1146
|
+
[tenant_1.Tenant.TrabalhoHomeOffice]: {
|
|
1147
|
+
TENANT: tenant_1.Tenant.TrabalhoHomeOffice,
|
|
1148
|
+
BACKEND_API_VERSION: '1',
|
|
1149
|
+
SITE_NAME: 'Trabalho Home Office',
|
|
1150
|
+
SITE_URL: 'https://www.trabalhohomeoffice.com.br',
|
|
1151
|
+
SITE_WHATSAPP_SUPPORT: '',
|
|
1152
|
+
SITE_WHATSAPP_BOT: '',
|
|
1153
|
+
WHATSAPP_BOT_NUMBER_ID: '',
|
|
1154
|
+
WHATSAPP_TOKEN: '',
|
|
1155
|
+
WHATSAPP_API_URL: '',
|
|
1156
|
+
WHATSAPP_API_VERSION: '',
|
|
1157
|
+
IOS_APP_DOWNLOAD_LINK: '',
|
|
1158
|
+
ANDROID_APP_DOWNLOAD_LINK: '',
|
|
1159
|
+
SITE_DESCRIPTION: 'Conecta quem quer contratar um freelancer ou preencher uma vaga remota com quem quer trabalhar home office.',
|
|
1160
|
+
KEYWORDS: ['trabalho home office', 'vagas remotas', 'freelancer'],
|
|
1161
|
+
SOCIAL_X: '',
|
|
1162
|
+
SOCIAL_YOUTUBE: '',
|
|
1163
|
+
SOCIAL_INSTAGRAM: '',
|
|
1164
|
+
SOCIAL_FACEBOOK: '',
|
|
1165
|
+
USER_CATEGORIES_CONFIG: {},
|
|
1166
|
+
COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_SELLER: [],
|
|
1167
|
+
COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_ADMIN: [],
|
|
1168
|
+
EMAIL_HOST: 'smtp.gmail.com',
|
|
1169
|
+
EMAIL_PORT: '587',
|
|
1170
|
+
EMAIL_USER: 'wrsolucoesdig@gmail.com',
|
|
1171
|
+
EMAIL_PASS: 'lwegguaqrzauawsg',
|
|
1172
|
+
AUTH_FACEBOOK_APP_ID: '',
|
|
1173
|
+
AUTH_GOOGLE_ID: '',
|
|
1174
|
+
AUTH_GOOGLE_SECRET: '',
|
|
1175
|
+
GOOGLE_ANALYTICS_MEASUREMENT_ID: '',
|
|
1176
|
+
GOOGLE_VERIFICATION: '',
|
|
1177
|
+
MEDIA_CONFIG: {
|
|
1178
|
+
maxPhotoSizeMB: 5,
|
|
1179
|
+
maxVideoSizeMB: 20,
|
|
1180
|
+
allowedImageFormats: ['jpg', 'jpeg', 'png', 'webp'],
|
|
1181
|
+
allowedVideoFormats: ['mp4', 'webm'],
|
|
1182
|
+
imageQualities: {
|
|
1183
|
+
thumbnail: { width: 150, height: 150, quality: 80 },
|
|
1184
|
+
medium: { width: 800, height: 800, quality: 85 },
|
|
1185
|
+
large: { width: 1200, height: 1200, quality: 90 }
|
|
1186
|
+
}
|
|
1187
|
+
},
|
|
1188
|
+
RATING_CRITERIA: undefined
|
|
1145
1189
|
}
|
|
1146
1190
|
};
|
package/build/types/tenant.d.ts
CHANGED
package/build/types/tenant.js
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare enum JobContractType {
|
|
2
|
+
Clt = "Clt",
|
|
3
|
+
Pj = "Pj",
|
|
4
|
+
Freelance = "Freelance"
|
|
5
|
+
}
|
|
6
|
+
export declare enum WorkRegime {
|
|
7
|
+
Remote = "Remote",
|
|
8
|
+
Hybrid = "Hybrid"
|
|
9
|
+
}
|
|
10
|
+
export declare enum JobPostingStatus {
|
|
11
|
+
Open = "Open",
|
|
12
|
+
Closed = "Closed"
|
|
13
|
+
}
|
|
14
|
+
export declare enum ServicePriceType {
|
|
15
|
+
Fixed = "Fixed",
|
|
16
|
+
Negotiable = "Negotiable"
|
|
17
|
+
}
|
|
18
|
+
export declare enum ApplicationStatus {
|
|
19
|
+
Pending = "Pending",
|
|
20
|
+
Accepted = "Accepted",
|
|
21
|
+
Rejected = "Rejected"
|
|
22
|
+
}
|
|
23
|
+
export declare enum ConversationContextType {
|
|
24
|
+
JobApplication = "JobApplication",
|
|
25
|
+
Proposal = "Proposal"
|
|
26
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConversationContextType = exports.ApplicationStatus = exports.ServicePriceType = exports.JobPostingStatus = exports.WorkRegime = exports.JobContractType = void 0;
|
|
4
|
+
var JobContractType;
|
|
5
|
+
(function (JobContractType) {
|
|
6
|
+
JobContractType["Clt"] = "Clt";
|
|
7
|
+
JobContractType["Pj"] = "Pj";
|
|
8
|
+
JobContractType["Freelance"] = "Freelance";
|
|
9
|
+
})(JobContractType || (exports.JobContractType = JobContractType = {}));
|
|
10
|
+
var WorkRegime;
|
|
11
|
+
(function (WorkRegime) {
|
|
12
|
+
WorkRegime["Remote"] = "Remote";
|
|
13
|
+
WorkRegime["Hybrid"] = "Hybrid";
|
|
14
|
+
})(WorkRegime || (exports.WorkRegime = WorkRegime = {}));
|
|
15
|
+
var JobPostingStatus;
|
|
16
|
+
(function (JobPostingStatus) {
|
|
17
|
+
JobPostingStatus["Open"] = "Open";
|
|
18
|
+
JobPostingStatus["Closed"] = "Closed";
|
|
19
|
+
})(JobPostingStatus || (exports.JobPostingStatus = JobPostingStatus = {}));
|
|
20
|
+
var ServicePriceType;
|
|
21
|
+
(function (ServicePriceType) {
|
|
22
|
+
ServicePriceType["Fixed"] = "Fixed";
|
|
23
|
+
ServicePriceType["Negotiable"] = "Negotiable";
|
|
24
|
+
})(ServicePriceType || (exports.ServicePriceType = ServicePriceType = {}));
|
|
25
|
+
var ApplicationStatus;
|
|
26
|
+
(function (ApplicationStatus) {
|
|
27
|
+
ApplicationStatus["Pending"] = "Pending";
|
|
28
|
+
ApplicationStatus["Accepted"] = "Accepted";
|
|
29
|
+
ApplicationStatus["Rejected"] = "Rejected";
|
|
30
|
+
})(ApplicationStatus || (exports.ApplicationStatus = ApplicationStatus = {}));
|
|
31
|
+
var ConversationContextType;
|
|
32
|
+
(function (ConversationContextType) {
|
|
33
|
+
ConversationContextType["JobApplication"] = "JobApplication";
|
|
34
|
+
ConversationContextType["Proposal"] = "Proposal";
|
|
35
|
+
})(ConversationContextType || (exports.ConversationContextType = ConversationContextType = {}));
|