Skip to content

Commit

Permalink
✨ Add engagement object
Browse files Browse the repository at this point in the history
  • Loading branch information
mit-27 committed Aug 31, 2024
1 parent baf95fe commit 8732445
Show file tree
Hide file tree
Showing 6 changed files with 1,164 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/magic-link/src/lib/ProviderModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface IBasicAuthFormData {
}

const domainFormats: { [key: string]: string } = {
microsoftdynamicssales: 'YOURORGNAME.api.crm12.dynamics.com',
microsoftdynamicssales: 'YOURORGNAME.api.crm3.dynamics.com',
bigcommerce: 'If your api domain is https://api.bigcommerce.com/stores/eubckcvkzg/v3 then store_hash is eubckcvkzg',
};

Expand Down
6 changes: 4 additions & 2 deletions packages/api/src/@core/utils/types/original/original.crm.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { MicrosoftdynamicssalesEngagementInput, MicrosoftdynamicssalesEngagementOutput } from '@crm/engagement/services/microsoftdynamicssales/types';

import { MicrosoftdynamicssalesTaskInput, MicrosoftdynamicssalesTaskOutput } from '@crm/task/services/microsoftdynamicssales/types';

import { MicrosoftdynamicssalesNoteInput, MicrosoftdynamicssalesNoteOutput } from '@crm/note/services/microsoftdynamicssales/types';
Expand Down Expand Up @@ -186,7 +188,7 @@ export type OriginalEngagementInput =
| ZohoEngagementInput
| ZendeskEngagementInput
| PipedriveEngagementInput
| CloseEngagementInput;
| CloseEngagementInput | MicrosoftdynamicssalesEngagementInput;

/* note */
export type OriginalNoteInput =
Expand Down Expand Up @@ -268,7 +270,7 @@ export type OriginalEngagementOutput =
| ZohoEngagementOutput
| ZendeskEngagementOutput
| PipedriveEngagementOutput
| CloseEngagementOutput;
| CloseEngagementOutput | MicrosoftdynamicssalesEngagementOutput;

/* note */
export type OriginalNoteOutput =
Expand Down
4 changes: 4 additions & 0 deletions packages/api/src/crm/engagement/engagement.module.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { MicrosoftdynamicssalesEngagementMapper } from './services/microsoftdynamicssales/mappers';
import { MicrosoftdynamicssalesService } from './services/microsoftdynamicssales';
import { EncryptionService } from '@@core/@core-services/encryption/encryption.service';
import { LoggerService } from '@@core/@core-services/logger/logger.service';
import { BullQueueModule } from '@@core/@core-services/queues/queue.module';
Expand Down Expand Up @@ -48,6 +50,8 @@ import { SyncService } from './sync/sync.service';
PipedriveEngagementMapper,
HubspotEngagementMapper,
CloseEngagementMapper,
MicrosoftdynamicssalesService,
MicrosoftdynamicssalesEngagementMapper,
],
exports: [SyncService, ServiceRegistry, WebhookService],
})
Expand Down
Loading

0 comments on commit 8732445

Please sign in to comment.