Skip to content

Commit

Permalink
💚 Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Jun 23, 2024
1 parent 70ae5d5 commit a82f190
Show file tree
Hide file tree
Showing 77 changed files with 214 additions and 32 deletions.
6 changes: 6 additions & 0 deletions packages/api/scripts/commonObject.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ export class ${ObjectCap}Service {
unified${ObjectCap}Data: Unified${ObjectCap}Input[],
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<Unified${ObjectCap}Output[]> {
return;
}
Expand All @@ -102,7 +104,9 @@ export class ${ObjectCap}Service {
unified${ObjectCap}Data: Unified${ObjectCap}Input,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<Unified${ObjectCap}Output> {
return;
}
Expand All @@ -119,7 +123,9 @@ export class ${ObjectCap}Service {
async get${ObjectCap}s(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<Unified${ObjectCap}Output[]> {
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export class AccountService {
unifiedAccountData: UnifiedAccountInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedAccountOutput> {
return;
}
Expand All @@ -46,7 +48,9 @@ export class AccountService {
async getAccounts(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedAccountOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export class AddressService {
async getAddresss(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedAddressOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export class AttachmentService {
unifiedAttachmentData: UnifiedAttachmentInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedAttachmentOutput> {
return;
}
Expand All @@ -46,7 +48,9 @@ export class AttachmentService {
async getAttachments(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedAttachmentOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export class BalanceSheetService {
async getBalanceSheets(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedBalanceSheetOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export class CashflowStatementService {
async getCashflowStatements(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedCashflowStatementOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export class CompanyInfoService {
async getCompanyInfos(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedCompanyInfoOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export class ContactService {
unifiedContactData: UnifiedContactInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedContactOutput> {
return;
}
Expand All @@ -47,7 +49,9 @@ export class ContactService {
async getContacts(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedContactOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export class CreditNoteService {
async getCreditNotes(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedCreditNoteOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export class ExpenseService {
unifiedExpenseData: UnifiedExpenseInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedExpenseOutput> {
return;
}
Expand All @@ -47,7 +49,9 @@ export class ExpenseService {
async getExpenses(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedExpenseOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export class IncomeStatementService {
async getIncomeStatements(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedIncomeStatementOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export class InvoiceService {
unifiedInvoiceData: UnifiedInvoiceInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedInvoiceOutput> {
return;
}
Expand All @@ -47,7 +49,9 @@ export class InvoiceService {
async getInvoices(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedInvoiceOutput[]> {
return;
}
Expand Down
2 changes: 2 additions & 0 deletions packages/api/src/accounting/item/services/item.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export class ItemService {
async getItems(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedItemOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export class JournalEntryService {
unifiedJournalEntryData: UnifiedJournalEntryInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedJournalEntryOutput> {
return;
}
Expand All @@ -47,7 +49,9 @@ export class JournalEntryService {
async getJournalEntrys(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedJournalEntryOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export class PaymentService {
unifiedPaymentData: UnifiedPaymentInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedPaymentOutput> {
return;
}
Expand All @@ -47,7 +49,9 @@ export class PaymentService {
async getPayments(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedPaymentOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export class PhoneNumberService {
async getPhoneNumbers(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedPhoneNumberOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export class PurchaseOrderService {
unifiedPurchaseOrderData: UnifiedPurchaseOrderInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedPurchaseOrderOutput> {
return;
}
Expand All @@ -47,7 +49,9 @@ export class PurchaseOrderService {
async getPurchaseOrders(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedPurchaseOrderOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export class TaxRateService {
async getTaxRates(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedTaxRateOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export class TrackingCategoryService {
async getTrackingCategorys(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedTrackingCategoryOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export class TransactionService {
async getTransactions(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedTransactionOutput[]> {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export class VendorCreditService {
async getVendorCredits(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedVendorCreditOutput[]> {
return;
}
Expand Down
2 changes: 2 additions & 0 deletions packages/api/src/ats/activity/services/activity.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export class ActivityService {
unifiedActivityData: UnifiedActivityInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedActivityOutput> {
try {
const linkedUser = await this.prisma.linked_users.findUnique({
Expand Down
1 change: 0 additions & 1 deletion packages/api/src/ats/activity/sync/sync.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export class SyncService implements OnModuleInit {
private webhook: WebhookService,
private fieldMappingService: FieldMappingService,
private serviceRegistry: ServiceRegistry,
private utils: Utils,
private coreUnification: CoreUnification,
@InjectQueue('syncTasks') private syncQueue: Queue,
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export class ApplicationService {
unifiedApplicationData: UnifiedApplicationInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedApplicationOutput> {
try {
const linkedUser = await this.prisma.linked_users.findUnique({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export class AttachmentService {
unifiedAttachmentData: UnifiedAttachmentInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedAttachmentOutput> {
try {
const linkedUser = await this.prisma.linked_users.findUnique({
Expand Down
2 changes: 2 additions & 0 deletions packages/api/src/ats/candidate/services/candidate.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export class CandidateService {
unifiedCandidateData: UnifiedCandidateInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedCandidateOutput> {
try {
const linkedUser = await this.prisma.linked_users.findUnique({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ export class DepartmentService {
async getDepartments(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedDepartmentOutput[]> {
try {
const departments = await this.prisma.ats_departments.findMany({
Expand Down
2 changes: 2 additions & 0 deletions packages/api/src/ats/eeocs/services/eeocs.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ export class EeocsService {
async getEeocss(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedEeocsOutput[]> {
try {
const eeocss = await this.prisma.ats_eeocs.findMany({
Expand Down
2 changes: 2 additions & 0 deletions packages/api/src/ats/interview/services/interview.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export class InterviewService {
unifiedInterviewData: UnifiedInterviewInput,
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedInterviewOutput> {
try {
const linkedUser = await this.prisma.linked_users.findUnique({
Expand Down
2 changes: 2 additions & 0 deletions packages/api/src/ats/job/services/job.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ export class JobService {
async getJobs(
integrationId: string,
linkedUserId: string,
limit: number,
remote_data?: boolean,
cursor?: string,
): Promise<UnifiedJobOutput[]> {
try {
const jobs = await this.prisma.ats_jobs.findMany({
Expand Down
Loading

0 comments on commit a82f190

Please sign in to comment.