diff --git a/packages/api/scripts/commonObject.sh b/packages/api/scripts/commonObject.sh index daae005c9..62fd4a069 100755 --- a/packages/api/scripts/commonObject.sh +++ b/packages/api/scripts/commonObject.sh @@ -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 { return; } @@ -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 { return; } @@ -119,7 +123,9 @@ export class ${ObjectCap}Service { async get${ObjectCap}s( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; diff --git a/packages/api/src/accounting/account/services/account.service.ts b/packages/api/src/accounting/account/services/account.service.ts index 7ea0ce902..f82c78ce6 100644 --- a/packages/api/src/accounting/account/services/account.service.ts +++ b/packages/api/src/accounting/account/services/account.service.ts @@ -31,7 +31,9 @@ export class AccountService { unifiedAccountData: UnifiedAccountInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -46,7 +48,9 @@ export class AccountService { async getAccounts( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/address/services/address.service.ts b/packages/api/src/accounting/address/services/address.service.ts index ca08c09fd..53ddf153b 100644 --- a/packages/api/src/accounting/address/services/address.service.ts +++ b/packages/api/src/accounting/address/services/address.service.ts @@ -37,7 +37,9 @@ export class AddressService { async getAddresss( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/attachment/services/attachment.service.ts b/packages/api/src/accounting/attachment/services/attachment.service.ts index 26b7f1345..46dc91012 100644 --- a/packages/api/src/accounting/attachment/services/attachment.service.ts +++ b/packages/api/src/accounting/attachment/services/attachment.service.ts @@ -31,7 +31,9 @@ export class AttachmentService { unifiedAttachmentData: UnifiedAttachmentInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -46,7 +48,9 @@ export class AttachmentService { async getAttachments( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/balancesheet/services/balancesheet.service.ts b/packages/api/src/accounting/balancesheet/services/balancesheet.service.ts index 2614638b9..d7b6bd9e0 100644 --- a/packages/api/src/accounting/balancesheet/services/balancesheet.service.ts +++ b/packages/api/src/accounting/balancesheet/services/balancesheet.service.ts @@ -38,7 +38,9 @@ export class BalanceSheetService { async getBalanceSheets( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/cashflowstatement/services/cashflowstatement.service.ts b/packages/api/src/accounting/cashflowstatement/services/cashflowstatement.service.ts index 67ead1918..7a8fb9a3b 100644 --- a/packages/api/src/accounting/cashflowstatement/services/cashflowstatement.service.ts +++ b/packages/api/src/accounting/cashflowstatement/services/cashflowstatement.service.ts @@ -38,7 +38,9 @@ export class CashflowStatementService { async getCashflowStatements( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/companyinfo/services/companyinfo.service.ts b/packages/api/src/accounting/companyinfo/services/companyinfo.service.ts index cf6ef40b3..7b1c54c54 100644 --- a/packages/api/src/accounting/companyinfo/services/companyinfo.service.ts +++ b/packages/api/src/accounting/companyinfo/services/companyinfo.service.ts @@ -38,7 +38,9 @@ export class CompanyInfoService { async getCompanyInfos( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/contact/services/contact.service.ts b/packages/api/src/accounting/contact/services/contact.service.ts index 6ce1c22aa..bd47de2c5 100644 --- a/packages/api/src/accounting/contact/services/contact.service.ts +++ b/packages/api/src/accounting/contact/services/contact.service.ts @@ -32,7 +32,9 @@ export class ContactService { unifiedContactData: UnifiedContactInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -47,7 +49,9 @@ export class ContactService { async getContacts( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/creditnote/services/creditnote.service.ts b/packages/api/src/accounting/creditnote/services/creditnote.service.ts index 08bbf81a7..6957fcb63 100644 --- a/packages/api/src/accounting/creditnote/services/creditnote.service.ts +++ b/packages/api/src/accounting/creditnote/services/creditnote.service.ts @@ -38,7 +38,9 @@ export class CreditNoteService { async getCreditNotes( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/expense/services/expense.service.ts b/packages/api/src/accounting/expense/services/expense.service.ts index d72faa2c7..564a0c33d 100644 --- a/packages/api/src/accounting/expense/services/expense.service.ts +++ b/packages/api/src/accounting/expense/services/expense.service.ts @@ -32,7 +32,9 @@ export class ExpenseService { unifiedExpenseData: UnifiedExpenseInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -47,7 +49,9 @@ export class ExpenseService { async getExpenses( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/incomestatement/services/incomestatement.service.ts b/packages/api/src/accounting/incomestatement/services/incomestatement.service.ts index 798403b07..f659a79e6 100644 --- a/packages/api/src/accounting/incomestatement/services/incomestatement.service.ts +++ b/packages/api/src/accounting/incomestatement/services/incomestatement.service.ts @@ -38,7 +38,9 @@ export class IncomeStatementService { async getIncomeStatements( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/invoice/services/invoice.service.ts b/packages/api/src/accounting/invoice/services/invoice.service.ts index 2dc1ed328..d721f1bb6 100644 --- a/packages/api/src/accounting/invoice/services/invoice.service.ts +++ b/packages/api/src/accounting/invoice/services/invoice.service.ts @@ -32,7 +32,9 @@ export class InvoiceService { unifiedInvoiceData: UnifiedInvoiceInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -47,7 +49,9 @@ export class InvoiceService { async getInvoices( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/item/services/item.service.ts b/packages/api/src/accounting/item/services/item.service.ts index 66206b09b..cf92b9fde 100644 --- a/packages/api/src/accounting/item/services/item.service.ts +++ b/packages/api/src/accounting/item/services/item.service.ts @@ -35,7 +35,9 @@ export class ItemService { async getItems( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/journalentry/services/journalentry.service.ts b/packages/api/src/accounting/journalentry/services/journalentry.service.ts index 67a634db7..26fee6cd3 100644 --- a/packages/api/src/accounting/journalentry/services/journalentry.service.ts +++ b/packages/api/src/accounting/journalentry/services/journalentry.service.ts @@ -32,7 +32,9 @@ export class JournalEntryService { unifiedJournalEntryData: UnifiedJournalEntryInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -47,7 +49,9 @@ export class JournalEntryService { async getJournalEntrys( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/payment/services/payment.service.ts b/packages/api/src/accounting/payment/services/payment.service.ts index ed5c0489e..9624a56d5 100644 --- a/packages/api/src/accounting/payment/services/payment.service.ts +++ b/packages/api/src/accounting/payment/services/payment.service.ts @@ -32,7 +32,9 @@ export class PaymentService { unifiedPaymentData: UnifiedPaymentInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -47,7 +49,9 @@ export class PaymentService { async getPayments( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/phonenumber/services/phonenumber.service.ts b/packages/api/src/accounting/phonenumber/services/phonenumber.service.ts index a6296bd60..17d306919 100644 --- a/packages/api/src/accounting/phonenumber/services/phonenumber.service.ts +++ b/packages/api/src/accounting/phonenumber/services/phonenumber.service.ts @@ -38,7 +38,9 @@ export class PhoneNumberService { async getPhoneNumbers( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/purchaseorder/services/purchaseorder.service.ts b/packages/api/src/accounting/purchaseorder/services/purchaseorder.service.ts index d929bb990..1f5918f52 100644 --- a/packages/api/src/accounting/purchaseorder/services/purchaseorder.service.ts +++ b/packages/api/src/accounting/purchaseorder/services/purchaseorder.service.ts @@ -32,7 +32,9 @@ export class PurchaseOrderService { unifiedPurchaseOrderData: UnifiedPurchaseOrderInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -47,7 +49,9 @@ export class PurchaseOrderService { async getPurchaseOrders( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/taxrate/services/taxrate.service.ts b/packages/api/src/accounting/taxrate/services/taxrate.service.ts index 89db68cbf..d6f915bca 100644 --- a/packages/api/src/accounting/taxrate/services/taxrate.service.ts +++ b/packages/api/src/accounting/taxrate/services/taxrate.service.ts @@ -38,7 +38,9 @@ export class TaxRateService { async getTaxRates( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/trackingcategory/services/trackingcategory.service.ts b/packages/api/src/accounting/trackingcategory/services/trackingcategory.service.ts index 083f57911..a16409d95 100644 --- a/packages/api/src/accounting/trackingcategory/services/trackingcategory.service.ts +++ b/packages/api/src/accounting/trackingcategory/services/trackingcategory.service.ts @@ -38,7 +38,9 @@ export class TrackingCategoryService { async getTrackingCategorys( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/transaction/services/transaction.service.ts b/packages/api/src/accounting/transaction/services/transaction.service.ts index 216375fb5..6cc90a48e 100644 --- a/packages/api/src/accounting/transaction/services/transaction.service.ts +++ b/packages/api/src/accounting/transaction/services/transaction.service.ts @@ -38,7 +38,9 @@ export class TransactionService { async getTransactions( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/accounting/vendorcredit/services/vendorcredit.service.ts b/packages/api/src/accounting/vendorcredit/services/vendorcredit.service.ts index b68b8da6a..bf9db445d 100644 --- a/packages/api/src/accounting/vendorcredit/services/vendorcredit.service.ts +++ b/packages/api/src/accounting/vendorcredit/services/vendorcredit.service.ts @@ -38,7 +38,9 @@ export class VendorCreditService { async getVendorCredits( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/ats/activity/services/activity.service.ts b/packages/api/src/ats/activity/services/activity.service.ts index c74da86af..e9530860c 100644 --- a/packages/api/src/ats/activity/services/activity.service.ts +++ b/packages/api/src/ats/activity/services/activity.service.ts @@ -32,7 +32,9 @@ export class ActivityService { unifiedActivityData: UnifiedActivityInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/ats/activity/sync/sync.service.ts b/packages/api/src/ats/activity/sync/sync.service.ts index 194c82069..7cb7b88b8 100644 --- a/packages/api/src/ats/activity/sync/sync.service.ts +++ b/packages/api/src/ats/activity/sync/sync.service.ts @@ -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, ) { diff --git a/packages/api/src/ats/application/services/application.service.ts b/packages/api/src/ats/application/services/application.service.ts index b51f03bf3..29e76cd16 100644 --- a/packages/api/src/ats/application/services/application.service.ts +++ b/packages/api/src/ats/application/services/application.service.ts @@ -32,7 +32,9 @@ export class ApplicationService { unifiedApplicationData: UnifiedApplicationInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/ats/attachment/services/attachment.service.ts b/packages/api/src/ats/attachment/services/attachment.service.ts index 16a54bd16..e5ed0dc5f 100644 --- a/packages/api/src/ats/attachment/services/attachment.service.ts +++ b/packages/api/src/ats/attachment/services/attachment.service.ts @@ -32,7 +32,9 @@ export class AttachmentService { unifiedAttachmentData: UnifiedAttachmentInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/ats/candidate/services/candidate.service.ts b/packages/api/src/ats/candidate/services/candidate.service.ts index d5d5cb6ab..c3227d085 100644 --- a/packages/api/src/ats/candidate/services/candidate.service.ts +++ b/packages/api/src/ats/candidate/services/candidate.service.ts @@ -32,7 +32,9 @@ export class CandidateService { unifiedCandidateData: UnifiedCandidateInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/ats/department/services/department.service.ts b/packages/api/src/ats/department/services/department.service.ts index b76f01167..f756d1de3 100644 --- a/packages/api/src/ats/department/services/department.service.ts +++ b/packages/api/src/ats/department/services/department.service.ts @@ -83,7 +83,9 @@ export class DepartmentService { async getDepartments( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const departments = await this.prisma.ats_departments.findMany({ diff --git a/packages/api/src/ats/eeocs/services/eeocs.service.ts b/packages/api/src/ats/eeocs/services/eeocs.service.ts index a9c136547..0901cf2a7 100644 --- a/packages/api/src/ats/eeocs/services/eeocs.service.ts +++ b/packages/api/src/ats/eeocs/services/eeocs.service.ts @@ -88,7 +88,9 @@ export class EeocsService { async getEeocss( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const eeocss = await this.prisma.ats_eeocs.findMany({ diff --git a/packages/api/src/ats/interview/services/interview.service.ts b/packages/api/src/ats/interview/services/interview.service.ts index 1eacc1864..0150aedc1 100644 --- a/packages/api/src/ats/interview/services/interview.service.ts +++ b/packages/api/src/ats/interview/services/interview.service.ts @@ -31,7 +31,9 @@ export class InterviewService { unifiedInterviewData: UnifiedInterviewInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/ats/job/services/job.service.ts b/packages/api/src/ats/job/services/job.service.ts index d60e4f41d..d2e6599b8 100644 --- a/packages/api/src/ats/job/services/job.service.ts +++ b/packages/api/src/ats/job/services/job.service.ts @@ -94,7 +94,9 @@ export class JobService { async getJobs( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const jobs = await this.prisma.ats_jobs.findMany({ diff --git a/packages/api/src/ats/jobinterviewstage/services/jobinterviewstage.service.ts b/packages/api/src/ats/jobinterviewstage/services/jobinterviewstage.service.ts index a0850e4e7..5a1c1e20f 100644 --- a/packages/api/src/ats/jobinterviewstage/services/jobinterviewstage.service.ts +++ b/packages/api/src/ats/jobinterviewstage/services/jobinterviewstage.service.ts @@ -87,7 +87,9 @@ export class JobInterviewStageService { async getJobInterviewStages( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const stages = await this.prisma.ats_job_interview_stages.findMany({ diff --git a/packages/api/src/ats/offer/services/offer.service.ts b/packages/api/src/ats/offer/services/offer.service.ts index 22d1419dd..d80491d0e 100644 --- a/packages/api/src/ats/offer/services/offer.service.ts +++ b/packages/api/src/ats/offer/services/offer.service.ts @@ -89,7 +89,9 @@ export class OfferService { async getOffers( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const offers = await this.prisma.ats_offers.findMany({ diff --git a/packages/api/src/ats/office/services/office.service.ts b/packages/api/src/ats/office/services/office.service.ts index 5a78bb8ab..93074c684 100644 --- a/packages/api/src/ats/office/services/office.service.ts +++ b/packages/api/src/ats/office/services/office.service.ts @@ -84,7 +84,9 @@ export class OfficeService { async getOffices( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const offices = await this.prisma.ats_offices.findMany({ diff --git a/packages/api/src/ats/rejectreason/services/rejectreason.service.ts b/packages/api/src/ats/rejectreason/services/rejectreason.service.ts index 1d02e0a45..978d98a14 100644 --- a/packages/api/src/ats/rejectreason/services/rejectreason.service.ts +++ b/packages/api/src/ats/rejectreason/services/rejectreason.service.ts @@ -85,7 +85,9 @@ export class RejectReasonService { async getRejectReasons( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const rejectReasons = await this.prisma.ats_reject_reasons.findMany({ diff --git a/packages/api/src/ats/scorecard/services/scorecard.service.ts b/packages/api/src/ats/scorecard/services/scorecard.service.ts index 5b88731e9..55f9d84f3 100644 --- a/packages/api/src/ats/scorecard/services/scorecard.service.ts +++ b/packages/api/src/ats/scorecard/services/scorecard.service.ts @@ -87,7 +87,9 @@ export class ScoreCardService { async getScoreCards( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const scorecards = await this.prisma.ats_scorecards.findMany({ diff --git a/packages/api/src/ats/screeningquestion/services/screeningquestion.service.ts b/packages/api/src/ats/screeningquestion/services/screeningquestion.service.ts index 10c1d1479..9fa854a25 100644 --- a/packages/api/src/ats/screeningquestion/services/screeningquestion.service.ts +++ b/packages/api/src/ats/screeningquestion/services/screeningquestion.service.ts @@ -32,7 +32,9 @@ export class ScreeningQuestionService { unifiedScreeningQuestionData: UnifiedScreeningQuestionInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -47,7 +49,9 @@ export class ScreeningQuestionService { async getScreeningQuestions( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/ats/tag/services/tag.service.ts b/packages/api/src/ats/tag/services/tag.service.ts index b0352977b..e84e03409 100644 --- a/packages/api/src/ats/tag/services/tag.service.ts +++ b/packages/api/src/ats/tag/services/tag.service.ts @@ -83,7 +83,9 @@ export class TagService { async getTags( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const tags = await this.prisma.ats_tags.findMany({ diff --git a/packages/api/src/ats/user/services/user.service.ts b/packages/api/src/ats/user/services/user.service.ts index 31558d2f8..1a3a6a9f0 100644 --- a/packages/api/src/ats/user/services/user.service.ts +++ b/packages/api/src/ats/user/services/user.service.ts @@ -89,7 +89,9 @@ export class UserService { async getUsers( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const users = await this.prisma.ats_users.findMany({ diff --git a/packages/api/src/crm/company/services/company.service.ts b/packages/api/src/crm/company/services/company.service.ts index c3b42c306..bcd4747ba 100644 --- a/packages/api/src/crm/company/services/company.service.ts +++ b/packages/api/src/crm/company/services/company.service.ts @@ -34,7 +34,9 @@ export class CompanyService { unifiedCompanyData: UnifiedCompanyInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/crm/contact/services/contact.service.ts b/packages/api/src/crm/contact/services/contact.service.ts index 80b333dce..036a6b0d0 100644 --- a/packages/api/src/crm/contact/services/contact.service.ts +++ b/packages/api/src/crm/contact/services/contact.service.ts @@ -34,7 +34,9 @@ export class ContactService { unifiedContactData: UnifiedContactInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/crm/deal/services/deal.service.ts b/packages/api/src/crm/deal/services/deal.service.ts index 9924e8fdd..c5238d2ae 100644 --- a/packages/api/src/crm/deal/services/deal.service.ts +++ b/packages/api/src/crm/deal/services/deal.service.ts @@ -30,7 +30,9 @@ export class DealService { unifiedDealData: UnifiedDealInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/crm/engagement/services/engagement.service.ts b/packages/api/src/crm/engagement/services/engagement.service.ts index f4a9725df..79fdf342b 100644 --- a/packages/api/src/crm/engagement/services/engagement.service.ts +++ b/packages/api/src/crm/engagement/services/engagement.service.ts @@ -33,7 +33,9 @@ export class EngagementService { unifiedEngagementData: UnifiedEngagementInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/crm/note/services/note.service.ts b/packages/api/src/crm/note/services/note.service.ts index bc8a7e77e..5c482197a 100644 --- a/packages/api/src/crm/note/services/note.service.ts +++ b/packages/api/src/crm/note/services/note.service.ts @@ -30,7 +30,9 @@ export class NoteService { unifiedNoteData: UnifiedNoteInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/crm/task/services/task.service.ts b/packages/api/src/crm/task/services/task.service.ts index 45c62d893..4e813f7c9 100644 --- a/packages/api/src/crm/task/services/task.service.ts +++ b/packages/api/src/crm/task/services/task.service.ts @@ -30,7 +30,9 @@ export class TaskService { unifiedTaskData: UnifiedTaskInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/filestorage/file/services/file.service.ts b/packages/api/src/filestorage/file/services/file.service.ts index 89efafd99..e454975c7 100644 --- a/packages/api/src/filestorage/file/services/file.service.ts +++ b/packages/api/src/filestorage/file/services/file.service.ts @@ -28,7 +28,9 @@ export class FileService { unifiedFileData: UnifiedFileInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/filestorage/folder/services/folder.service.ts b/packages/api/src/filestorage/folder/services/folder.service.ts index cb2816853..94c922107 100644 --- a/packages/api/src/filestorage/folder/services/folder.service.ts +++ b/packages/api/src/filestorage/folder/services/folder.service.ts @@ -31,7 +31,9 @@ export class FolderService { unifiedFolderData: UnifiedFolderInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/filestorage/permission/services/permission.service.ts b/packages/api/src/filestorage/permission/services/permission.service.ts index 1c752cc58..95dde5af7 100644 --- a/packages/api/src/filestorage/permission/services/permission.service.ts +++ b/packages/api/src/filestorage/permission/services/permission.service.ts @@ -31,7 +31,9 @@ export class PermissionService { unifiedPermissionData: UnifiedPermissionInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/filestorage/sharedlink/services/sharedlink.service.ts b/packages/api/src/filestorage/sharedlink/services/sharedlink.service.ts index 89f7799bd..bd8e87675 100644 --- a/packages/api/src/filestorage/sharedlink/services/sharedlink.service.ts +++ b/packages/api/src/filestorage/sharedlink/services/sharedlink.service.ts @@ -31,7 +31,9 @@ export class SharedLinkService { unifiedSharedlinkData: UnifiedSharedLinkInput, integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const linkedUser = await this.prisma.linked_users.findUnique({ diff --git a/packages/api/src/filestorage/user/services/user.service.ts b/packages/api/src/filestorage/user/services/user.service.ts index 32d3dcf29..cda9d495c 100644 --- a/packages/api/src/filestorage/user/services/user.service.ts +++ b/packages/api/src/filestorage/user/services/user.service.ts @@ -85,7 +85,9 @@ export class UserService { async getUsers( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const users = await this.prisma.fs_users.findMany({ diff --git a/packages/api/src/hris/@lib/@types/index.ts b/packages/api/src/hris/@lib/@types/index.ts index 6e3dc1d1a..e5f5da244 100644 --- a/packages/api/src/hris/@lib/@types/index.ts +++ b/packages/api/src/hris/@lib/@types/index.ts @@ -4,78 +4,65 @@ import { UnifiedCompanyOutput, } from '@crm/company/types/model.unified'; import { IBankInfoService } from '@hris/bankinfo/types'; -import { bankinfoUnificationMapping } from '@hris/bankinfo/types/mappingsTypes'; import { UnifiedBankInfoInput, UnifiedBankInfoOutput, } from '@hris/bankinfo/types/model.unified'; import { IBenefitService } from '@hris/benefit/types'; -import { benefitUnificationMapping } from '@hris/benefit/types/mappingsTypes'; import { UnifiedBenefitInput, UnifiedBenefitOutput, } from '@hris/benefit/types/model.unified'; import { IDependentService } from '@hris/dependent/types'; -import { dependentUnificationMapping } from '@hris/dependent/types/mappingsTypes'; import { UnifiedDependentInput, UnifiedDependentOutput, } from '@hris/dependent/types/model.unified'; import { IEmployeeService } from '@hris/employee/types'; -import { employeeUnificationMapping } from '@hris/employee/types/mappingsTypes'; import { UnifiedEmployeeInput, UnifiedEmployeeOutput, } from '@hris/employee/types/model.unified'; import { IEmployeePayrollRunService } from '@hris/employeepayrollrun/types'; -import { employeepayrollrunUnificationMapping } from '@hris/employeepayrollrun/types/mappingsTypes'; import { UnifiedEmployeePayrollRunInput, UnifiedEmployeePayrollRunOutput, } from '@hris/employeepayrollrun/types/model.unified'; import { IEmployerBenefitService } from '@hris/employerbenefit/types'; -import { employerbenefitUnificationMapping } from '@hris/employerbenefit/types/mappingsTypes'; import { UnifiedEmployerBenefitInput, UnifiedEmployerBenefitOutput, } from '@hris/employerbenefit/types/model.unified'; import { IEmploymentService } from '@hris/employment/types'; -import { employmentUnificationMapping } from '@hris/employment/types/mappingsTypes'; import { UnifiedEmploymentInput, UnifiedEmploymentOutput, } from '@hris/employment/types/model.unified'; -import { groupUnificationMapping } from '@hris/group/types/mappingsTypes'; import { UnifiedGroupInput, UnifiedGroupOutput, } from '@hris/group/types/model.unified'; import { ILocationService } from '@hris/location/types'; -import { locationUnificationMapping } from '@hris/location/types/mappingsTypes'; import { UnifiedLocationInput, UnifiedLocationOutput, } from '@hris/location/types/model.unified'; import { IPayGroupService } from '@hris/paygroup/types'; -import { paygroupUnificationMapping } from '@hris/paygroup/types/mappingsTypes'; import { UnifiedPayGroupInput, UnifiedPayGroupOutput, } from '@hris/paygroup/types/model.unified'; import { IPayrollRunService } from '@hris/payrollrun/types'; -import { payrollrunUnificationMapping } from '@hris/payrollrun/types/mappingsTypes'; import { UnifiedPayrollRunInput, UnifiedPayrollRunOutput, } from '@hris/payrollrun/types/model.unified'; import { ITimeoffService } from '@hris/timeoff/types'; -import { timeoffUnificationMapping } from '@hris/timeoff/types/mappingsTypes'; import { UnifiedTimeoffInput, UnifiedTimeoffOutput, } from '@hris/timeoff/types/model.unified'; import { ITimeoffBalanceService } from '@hris/timeoffbalance/types'; -import { timeoffbalanceUnificationMapping } from '@hris/timeoffbalance/types/mappingsTypes'; import { UnifiedTimeoffBalanceInput, UnifiedTimeoffBalanceOutput, diff --git a/packages/api/src/hris/bankinfo/services/bankinfo.service.ts b/packages/api/src/hris/bankinfo/services/bankinfo.service.ts index 8510b6769..99f94f65e 100644 --- a/packages/api/src/hris/bankinfo/services/bankinfo.service.ts +++ b/packages/api/src/hris/bankinfo/services/bankinfo.service.ts @@ -29,7 +29,9 @@ export class BankInfoService { unifiedBankinfoData: UnifiedBankInfoInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -53,7 +55,9 @@ export class BankInfoService { async getBankinfos( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/benefit/services/benefit.service.ts b/packages/api/src/hris/benefit/services/benefit.service.ts index fc1ba9497..c326af1ce 100644 --- a/packages/api/src/hris/benefit/services/benefit.service.ts +++ b/packages/api/src/hris/benefit/services/benefit.service.ts @@ -32,7 +32,9 @@ export class BenefitService { unifiedBenefitData: UnifiedBenefitInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -56,7 +58,9 @@ export class BenefitService { async getBenefits( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/company/services/company.service.ts b/packages/api/src/hris/company/services/company.service.ts index 9e9454436..ec51cedde 100644 --- a/packages/api/src/hris/company/services/company.service.ts +++ b/packages/api/src/hris/company/services/company.service.ts @@ -32,7 +32,9 @@ export class CompanyService { unifiedCompanyData: UnifiedCompanyInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -56,7 +58,9 @@ export class CompanyService { async getCompanys( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/dependent/services/dependent.service.ts b/packages/api/src/hris/dependent/services/dependent.service.ts index 4cd797c4e..bf4d5f3ab 100644 --- a/packages/api/src/hris/dependent/services/dependent.service.ts +++ b/packages/api/src/hris/dependent/services/dependent.service.ts @@ -32,7 +32,9 @@ export class DependentService { unifiedDependentData: UnifiedDependentInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -56,7 +58,9 @@ export class DependentService { async getDependents( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/employee/services/employee.service.ts b/packages/api/src/hris/employee/services/employee.service.ts index d706e78eb..4443cb0ca 100644 --- a/packages/api/src/hris/employee/services/employee.service.ts +++ b/packages/api/src/hris/employee/services/employee.service.ts @@ -32,7 +32,9 @@ export class EmployeeService { unifiedEmployeeData: UnifiedEmployeeInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -56,7 +58,9 @@ export class EmployeeService { async getEmployees( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/employeepayrollrun/employeepayrollrun.controller.ts b/packages/api/src/hris/employeepayrollrun/employeepayrollrun.controller.ts index 411cc912b..8515ce84b 100644 --- a/packages/api/src/hris/employeepayrollrun/employeepayrollrun.controller.ts +++ b/packages/api/src/hris/employeepayrollrun/employeepayrollrun.controller.ts @@ -136,7 +136,6 @@ export class EmployeePayrollRunController { await this.connectionUtils.getConnectionMetadataFromConnectionToken( connection_token, ); - const { remote_data, limit, cursor } = query; return this.employeepayrollrunService.addEmployeePayrollRun( unifiedEmployeePayrollRunData, remoteSource, diff --git a/packages/api/src/hris/employeepayrollrun/services/employeepayrollrun.service.ts b/packages/api/src/hris/employeepayrollrun/services/employeepayrollrun.service.ts index c95d559b2..b361d1e72 100644 --- a/packages/api/src/hris/employeepayrollrun/services/employeepayrollrun.service.ts +++ b/packages/api/src/hris/employeepayrollrun/services/employeepayrollrun.service.ts @@ -32,7 +32,9 @@ export class EmployeePayrollRunService { unifiedEmployeePayrollRunData: UnifiedEmployeePayrollRunInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -56,7 +58,9 @@ export class EmployeePayrollRunService { async getEmployeePayrollRuns( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/employerbenefit/services/employerbenefit.service.ts b/packages/api/src/hris/employerbenefit/services/employerbenefit.service.ts index 6fbb41dbc..1e4c73137 100644 --- a/packages/api/src/hris/employerbenefit/services/employerbenefit.service.ts +++ b/packages/api/src/hris/employerbenefit/services/employerbenefit.service.ts @@ -32,7 +32,9 @@ export class EmployerBenefitService { unifiedEmployerBenefitData: UnifiedEmployerBenefitInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -56,7 +58,9 @@ export class EmployerBenefitService { async getEmployerBenefits( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/employment/services/employment.service.ts b/packages/api/src/hris/employment/services/employment.service.ts index 3166159cd..056a922ad 100644 --- a/packages/api/src/hris/employment/services/employment.service.ts +++ b/packages/api/src/hris/employment/services/employment.service.ts @@ -32,7 +32,9 @@ export class EmploymentService { unifiedEmploymentData: UnifiedEmploymentInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -56,7 +58,9 @@ export class EmploymentService { async getEmployments( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/group/services/group.service.ts b/packages/api/src/hris/group/services/group.service.ts index 22d9ab1b4..15922544d 100644 --- a/packages/api/src/hris/group/services/group.service.ts +++ b/packages/api/src/hris/group/services/group.service.ts @@ -29,7 +29,9 @@ export class GroupService { unifiedGroupData: UnifiedGroupInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -53,7 +55,9 @@ export class GroupService { async getGroups( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/location/services/location.service.ts b/packages/api/src/hris/location/services/location.service.ts index 505fcf62a..a9239c703 100644 --- a/packages/api/src/hris/location/services/location.service.ts +++ b/packages/api/src/hris/location/services/location.service.ts @@ -32,7 +32,9 @@ export class LocationService { unifiedLocationData: UnifiedLocationInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -56,7 +58,9 @@ export class LocationService { async getLocations( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/paygroup/services/paygroup.service.ts b/packages/api/src/hris/paygroup/services/paygroup.service.ts index b23c3b3be..a69185d66 100644 --- a/packages/api/src/hris/paygroup/services/paygroup.service.ts +++ b/packages/api/src/hris/paygroup/services/paygroup.service.ts @@ -32,7 +32,9 @@ export class PayGroupService { unifiedPayGroupData: UnifiedPayGroupInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -56,7 +58,9 @@ export class PayGroupService { async getPayGroups( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/payrollrun/services/payrollrun.service.ts b/packages/api/src/hris/payrollrun/services/payrollrun.service.ts index 25af5b38e..a6ac44370 100644 --- a/packages/api/src/hris/payrollrun/services/payrollrun.service.ts +++ b/packages/api/src/hris/payrollrun/services/payrollrun.service.ts @@ -32,7 +32,9 @@ export class PayrollRunService { unifiedPayrollRunData: UnifiedPayrollRunInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -56,7 +58,9 @@ export class PayrollRunService { async getPayrollRuns( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/timeoff/services/timeoff.service.ts b/packages/api/src/hris/timeoff/services/timeoff.service.ts index 1abd557a9..bde720654 100644 --- a/packages/api/src/hris/timeoff/services/timeoff.service.ts +++ b/packages/api/src/hris/timeoff/services/timeoff.service.ts @@ -32,7 +32,9 @@ export class TimeoffService { unifiedTimeoffData: UnifiedTimeoffInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -56,7 +58,9 @@ export class TimeoffService { async getTimeoffs( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/hris/timeoffbalance/services/timeoffbalance.service.ts b/packages/api/src/hris/timeoffbalance/services/timeoffbalance.service.ts index 3b9e1750d..476931ee5 100644 --- a/packages/api/src/hris/timeoffbalance/services/timeoffbalance.service.ts +++ b/packages/api/src/hris/timeoffbalance/services/timeoffbalance.service.ts @@ -32,7 +32,9 @@ export class TimeoffBalanceService { unifiedTimeoffBalanceData: UnifiedTimeoffBalanceInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -56,7 +58,9 @@ export class TimeoffBalanceService { async getTimeoffBalances( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/marketingautomation/@lib/@types/index.ts b/packages/api/src/marketingautomation/@lib/@types/index.ts index e5134c0d3..b020e9cb5 100644 --- a/packages/api/src/marketingautomation/@lib/@types/index.ts +++ b/packages/api/src/marketingautomation/@lib/@types/index.ts @@ -1,47 +1,39 @@ import { IActionService } from '@marketingautomation/action/types'; -import { actionUnificationMapping } from '@marketingautomation/action/types/mappingsTypes'; import { UnifiedActionInput, UnifiedActionOutput, } from '@marketingautomation/action/types/model.unified'; import { IAutomationService } from '@marketingautomation/automation/types'; -import { automationUnificationMapping } from '@marketingautomation/automation/types/mappingsTypes'; import { UnifiedAutomationInput, UnifiedAutomationOutput, } from '@marketingautomation/automation/types/model.unified'; import { ICampaignService } from '@marketingautomation/campaign/types'; -import { campaignUnificationMapping } from '@marketingautomation/campaign/types/mappingsTypes'; import { UnifiedCampaignInput, UnifiedCampaignOutput, } from '@marketingautomation/campaign/types/model.unified'; import { IEmailService } from '@marketingautomation/email/types'; -import { emailUnificationMapping } from '@marketingautomation/email/types/mappingsTypes'; import { UnifiedEmailInput, UnifiedEmailOutput, } from '@marketingautomation/email/types/model.unified'; import { IEventService } from '@marketingautomation/event/types'; -import { eventUnificationMapping } from '@marketingautomation/event/types/mappingsTypes'; import { UnifiedEventInput, UnifiedEventOutput, } from '@marketingautomation/event/types/model.unified'; import { IListService } from '@marketingautomation/list/types'; -import { listUnificationMapping } from '@marketingautomation/list/types/mappingsTypes'; import { UnifiedListInput, UnifiedListOutput, } from '@marketingautomation/list/types/model.unified'; import { IMessageService } from '@marketingautomation/message/types'; -import { messageUnificationMapping } from '@marketingautomation/message/types/mappingsTypes'; import { UnifiedMessageInput, UnifiedMessageOutput, } from '@marketingautomation/message/types/model.unified'; import { ITemplateService } from '@marketingautomation/template/types'; -import { templateUnificationMapping } from '@marketingautomation/template/types/mappingsTypes'; import { UnifiedTemplateInput, UnifiedTemplateOutput, diff --git a/packages/api/src/marketingautomation/action/services/action.service.ts b/packages/api/src/marketingautomation/action/services/action.service.ts index 8caf76604..eb1eb2872 100644 --- a/packages/api/src/marketingautomation/action/services/action.service.ts +++ b/packages/api/src/marketingautomation/action/services/action.service.ts @@ -27,15 +27,6 @@ export class ActionService { this.logger.setContext(ActionService.name); } - async batchAddActions( - unifiedActionData: UnifiedActionInput[], - integrationId: string, - linkedUserId: string, - remote_data?: boolean, - ): Promise { - return; - } - async addAction( unifiedActionData: UnifiedActionInput, integrationId: string, @@ -55,7 +46,9 @@ export class ActionService { async getActions( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/marketingautomation/automation/services/automation.service.ts b/packages/api/src/marketingautomation/automation/services/automation.service.ts index 21a2cf1f6..28db21560 100644 --- a/packages/api/src/marketingautomation/automation/services/automation.service.ts +++ b/packages/api/src/marketingautomation/automation/services/automation.service.ts @@ -31,7 +31,9 @@ export class AutomationService { unifiedAutomationData: UnifiedAutomationInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -55,7 +57,9 @@ export class AutomationService { async getAutomations( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/marketingautomation/campaign/services/campaign.service.ts b/packages/api/src/marketingautomation/campaign/services/campaign.service.ts index ea215b244..1dcbcd98f 100644 --- a/packages/api/src/marketingautomation/campaign/services/campaign.service.ts +++ b/packages/api/src/marketingautomation/campaign/services/campaign.service.ts @@ -31,7 +31,9 @@ export class CampaignService { unifiedCampaignData: UnifiedCampaignInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -55,7 +57,9 @@ export class CampaignService { async getCampaigns( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/marketingautomation/contact/services/contact.service.ts b/packages/api/src/marketingautomation/contact/services/contact.service.ts index 4fe4c43ba..9de1e889d 100644 --- a/packages/api/src/marketingautomation/contact/services/contact.service.ts +++ b/packages/api/src/marketingautomation/contact/services/contact.service.ts @@ -31,7 +31,9 @@ export class ContactService { unifiedContactData: UnifiedContactInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -55,7 +57,9 @@ export class ContactService { async getContacts( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/marketingautomation/email/services/email.service.ts b/packages/api/src/marketingautomation/email/services/email.service.ts index 86b3279e1..6183e3426 100644 --- a/packages/api/src/marketingautomation/email/services/email.service.ts +++ b/packages/api/src/marketingautomation/email/services/email.service.ts @@ -28,7 +28,9 @@ export class EmailService { unifiedEmailData: UnifiedEmailInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -52,7 +54,9 @@ export class EmailService { async getEmails( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/marketingautomation/event/services/event.service.ts b/packages/api/src/marketingautomation/event/services/event.service.ts index 0f82530c0..17dcbe709 100644 --- a/packages/api/src/marketingautomation/event/services/event.service.ts +++ b/packages/api/src/marketingautomation/event/services/event.service.ts @@ -28,7 +28,9 @@ export class EventService { unifiedEventData: UnifiedEventInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -52,7 +54,9 @@ export class EventService { async getEvents( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/marketingautomation/list/services/list.service.ts b/packages/api/src/marketingautomation/list/services/list.service.ts index ae52bd97d..7a40984b6 100644 --- a/packages/api/src/marketingautomation/list/services/list.service.ts +++ b/packages/api/src/marketingautomation/list/services/list.service.ts @@ -28,7 +28,9 @@ export class ListService { unifiedListData: UnifiedListInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -52,7 +54,9 @@ export class ListService { async getLists( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/marketingautomation/message/services/message.service.ts b/packages/api/src/marketingautomation/message/services/message.service.ts index 319c87e84..d5339c092 100644 --- a/packages/api/src/marketingautomation/message/services/message.service.ts +++ b/packages/api/src/marketingautomation/message/services/message.service.ts @@ -31,7 +31,9 @@ export class MessageService { unifiedMessageData: UnifiedMessageInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -55,7 +57,9 @@ export class MessageService { async getMessages( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/marketingautomation/template/services/template.service.ts b/packages/api/src/marketingautomation/template/services/template.service.ts index 53dc2ee7d..e6c0018ab 100644 --- a/packages/api/src/marketingautomation/template/services/template.service.ts +++ b/packages/api/src/marketingautomation/template/services/template.service.ts @@ -31,7 +31,9 @@ export class TemplateService { unifiedTemplateData: UnifiedTemplateInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -55,7 +57,9 @@ export class TemplateService { async getTemplates( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/marketingautomation/user/services/user.service.ts b/packages/api/src/marketingautomation/user/services/user.service.ts index 48c3004ae..cc6e75905 100644 --- a/packages/api/src/marketingautomation/user/services/user.service.ts +++ b/packages/api/src/marketingautomation/user/services/user.service.ts @@ -28,7 +28,9 @@ export class UserService { unifiedUserData: UnifiedUserInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } @@ -52,7 +54,9 @@ export class UserService { async getUsers( integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { return; } diff --git a/packages/api/src/ticketing/attachment/services/attachment.service.ts b/packages/api/src/ticketing/attachment/services/attachment.service.ts index a106443c1..baf9a71ab 100644 --- a/packages/api/src/ticketing/attachment/services/attachment.service.ts +++ b/packages/api/src/ticketing/attachment/services/attachment.service.ts @@ -22,7 +22,9 @@ export class AttachmentService { unifiedAttachmentData: UnifiedAttachmentInput[], integrationId: string, linkedUserId: string, + limit: number, remote_data?: boolean, + cursor?: string, ): Promise { try { const responses = await Promise.all(