@panora/shared
Advanced tools
+6
-0
| # @panora/shared | ||
| ## 4.0.0 | ||
| ### Major Changes | ||
| - 3f5adb5: updated constants | ||
| ## 3.0.0 | ||
@@ -4,0 +10,0 @@ |
+1
-1
@@ -5,3 +5,3 @@ { | ||
| "types": "index.ts", | ||
| "version": "3.0.0", | ||
| "version": "4.0.0", | ||
| "devDependencies": { | ||
@@ -8,0 +8,0 @@ "@types/node": "^20.3.1", |
@@ -32,11 +32,11 @@ export enum CrmObject { | ||
| } | ||
| // Utility function to prepend prefix to enum values | ||
| // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
| const prependPrefixToEnumValues = (prefix: string, enumObj: any) => { | ||
| return Object.values(enumObj).map(value => `${prefix}.${value}`); | ||
| } | ||
| export const standardOjects = [ | ||
| ...Object.values(CrmObject), | ||
| /*...Object.values(HrisObject), | ||
| ...Object.values(AtsObject), | ||
| ...Object.values(AccountingObject), | ||
| ...Object.values(FileStorageObject), | ||
| ...Object.values(MarketingAutomationObject), | ||
| ...Object.values(TicketingObject),*/ | ||
| export const standardObjects = [ | ||
| ...prependPrefixToEnumValues('crm', CrmObject), | ||
| ...prependPrefixToEnumValues('ticketing', TicketingObject), | ||
| ]; |
+30
-1
@@ -1,1 +0,30 @@ | ||
| export const scopes = ["crm.contact.created", "crm.contact.pulled", "connection.created"] | ||
| export const scopes = [ | ||
| "crm.contact.created", | ||
| "crm.contact.pulled", | ||
| "crm.company.created", | ||
| "crm.company.pulled", | ||
| "crm.deal.created", | ||
| "crm.deal.pulled", | ||
| "crm.engagement.created", | ||
| "crm.engagement.pulled", | ||
| "crm.note.created", | ||
| "crm.note.pulled", | ||
| "crm.stage.pulled", | ||
| "crm.task.pulled", | ||
| "crm.task.created", | ||
| "crm.user.pulled", | ||
| "ticketing.ticket.created", | ||
| "ticketing.ticket.pulled", | ||
| "ticketing.comment.created", | ||
| "ticketing.comment.pulled", | ||
| "ticketing.attachment.created", | ||
| "ticketing.attachment.pulled", | ||
| "ticketing.account.pulled", | ||
| "ticketing.contact.pulled", | ||
| "ticketing.tag.pulled", | ||
| "ticketing.team.pulled", | ||
| "ticketing.user.pulled", | ||
| "connection.created" | ||
| ] |
48945
1.77%353
8.28%