@terros-inc/sdk 1.0.18 → 1.0.20
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/dist/index.d.mts +20 -4
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1354,17 +1354,30 @@ type AreaAssignInput = {
|
|
|
1354
1354
|
//#endregion
|
|
1355
1355
|
//#region src/models/connect/app/model.d.ts
|
|
1356
1356
|
type AppId = `App.${string}`;
|
|
1357
|
+
type AppRepository = {
|
|
1358
|
+
url: string;
|
|
1359
|
+
directory?: string;
|
|
1360
|
+
};
|
|
1357
1361
|
type AppData = {
|
|
1358
1362
|
appId: AppId;
|
|
1363
|
+
repository?: AppRepository;
|
|
1359
1364
|
};
|
|
1360
1365
|
//#endregion
|
|
1361
1366
|
//#region src/models/connect/script/model.d.ts
|
|
1362
|
-
type
|
|
1367
|
+
type ConfigSchemaFieldBase = {
|
|
1363
1368
|
name: string;
|
|
1364
|
-
type: 'string' | 'number' | 'mapping';
|
|
1365
1369
|
description?: string;
|
|
1366
1370
|
dataType?: 'None' | 'Account' | 'User' | 'Event';
|
|
1367
1371
|
};
|
|
1372
|
+
type ConfigSchemaField = (ConfigSchemaFieldBase & {
|
|
1373
|
+
type: 'string';
|
|
1374
|
+
customFieldAccess?: 'read' | 'write';
|
|
1375
|
+
}) | (ConfigSchemaFieldBase & {
|
|
1376
|
+
type: 'number' | 'mapping' | 'boolean' | 'team' | 'workflow-stage' | 'user';
|
|
1377
|
+
}) | (ConfigSchemaFieldBase & {
|
|
1378
|
+
type: 'select';
|
|
1379
|
+
options: [string, ...string[]];
|
|
1380
|
+
});
|
|
1368
1381
|
type AuthSchemaField = string | {
|
|
1369
1382
|
description: string;
|
|
1370
1383
|
mapping?: boolean;
|
|
@@ -1592,10 +1605,13 @@ type AccountWebhookWorkflowState = {
|
|
|
1592
1605
|
type AccountWebhookData = WebhookAuditProps & {
|
|
1593
1606
|
id: AccountId;
|
|
1594
1607
|
accountStatus?: string;
|
|
1608
|
+
teamId?: TeamId;
|
|
1595
1609
|
workflowState?: AccountWebhookWorkflowState;
|
|
1596
1610
|
owner?: SmallUser;
|
|
1597
1611
|
closer?: SmallUser;
|
|
1598
|
-
address?: SmallAddress
|
|
1612
|
+
address?: SmallAddress & {
|
|
1613
|
+
country?: 'US' | 'CA' | 'PR';
|
|
1614
|
+
};
|
|
1599
1615
|
resident?: TinyResidentData;
|
|
1600
1616
|
note?: string;
|
|
1601
1617
|
notes?: AccountNote[];
|
|
@@ -1814,4 +1830,4 @@ declare class IntegrationError extends PermanentError {
|
|
|
1814
1830
|
readonly name: string;
|
|
1815
1831
|
}
|
|
1816
1832
|
//#endregion
|
|
1817
|
-
export { AccessStatus, AccountAddInput, AccountAddSuccess, AccountContact, AccountData, AccountDataResponse, AccountGetInput, AccountGetSuccess, AccountHooksInput, AccountId, AccountListInput, AccountListSuccess, AccountMatchInput, AccountMatchSuccess, AccountNote, AccountPartialUpdateInput, AccountRemoveInput, AccountSortBy, AccountSortOrder, AccountStatusAddInput, AccountStatusAddSuccess, AccountStatusCode, AccountStatusData, AccountStatusId, AccountStatusListInput, AccountStatusListSuccess, AccountStatusRemoveInput, AccountStatusSearchInput, AccountStatusUpdateInput, AccountStatusUpdateSuccess, AccountUpdateBatchInput, AccountUpdateBatchSuccess, AccountUpdateInput, AccountUpdateSuccess, AccountUpsertInput, AccountUpsertSuccess, AccountUserDetails, AccountWebhook, AccountWebhookData, AccountWebhookWorkflowState, Address, ApiHistoryItem, ApiHistoryStartInput, ApiHistoryStartSuccess, ApiHistoryStatusInput, ApiHistoryStatusSuccess, AppData, AppGetInput, AppGetSuccess, AppId, AppUpdateInput, AppUpdateSuccess, AppVersionData, AppVersionId, AreaAddInput, AreaAddSuccess, AreaAssignInput, AreaAssignmentConfig, AreaAssignmentType, AreaData, AreaFilters, AreaGetInput, AreaGetSuccess, AreaId, AreaJobInfo, AreaListInput, AreaListSortBy, AreaListSortOrder, AreaListSuccess, AreaRemoveInput, AreaRunHistoryEntry, AreaRunType, AreaScheduleEntry, AreaSortCursor, AreaStateName, AreaUpdateInput, AreaUpdateSuccess, AttachmentId, AuditLog, AuditProps, AuthSchemaField, AvailableCloser, BillingMethod, BulkModifyAccountsAction, BulkModifyAccountsInput, CalendarAvailabilityInput, CalendarAvailabilitySuccess, CalendarClosersInput, CalendarClosersSuccess, CalendarEventAddInput, CalendarEventAddSuccess, CalendarEventConfirmInput, CalendarEventConfirmSuccess, CalendarEventData, CalendarEventDataWithDetails, CalendarEventGetInput, CalendarEventGetSuccess, CalendarEventId, CalendarEventListInput, CalendarEventListSuccess, CalendarEventLocation, CalendarEventRemoveInput, CalendarEventUpdateInput, CalendarEventUpdateSuccess, CalendarEventUpsertInput, CalendarEventUpsertSuccess, CalendarTimeslotsInput, CalendarTimeslotsSuccess, CloserSettings, CloserStatus, CompanyAddInput, CompanyAddSuccess, CompanyData, CompanyGetInput, CompanyGetSuccess, CompanyId, CompanyIndustry, CompanyKind, CompanyListInput, CompanyListSuccess, CompanyRemoveInput, CompanyRemoveSuccess, CompanySetupInput, CompanySetupSuccess, CompanySize, CompanyUpdateInput, CompanyUpdateSuccess, CompanyWebhook, CompanyWebhookData, ConfigSchemaField, ConnectHandlerFunction, ContactId, CustomFieldFilter, CustomFieldFilterValue, CustomFieldId, CustomFieldMap, CustomFieldType, DailyPlan, DemoState, DispositionId, ElasticFilter, EntityId, EventOutcomeHistory, EventOutcomeId, EventType, IncomingScript, IntegrationError, InterviewId, LatLng, LocationId, ManualAccessOverride, MeetingTime, NoteId, NotificationPreference, OutgoingScript, PLAN_PERIOD_TYPES, PartialAddress, PartialCompanyData, PartialTeamData, PermanentError, PermissionMap, PinPlacement, PlanAddInput, PlanData, PlanFields, PlanGetInput, PlanGetSuccess, PlanListInput, PlanListSuccess, PlanMilestone, PlanPeriod, PlanPeriodType, PlanPeriodValue, PlanScope, PlanScopeId, PlanStageData, PlanStageId, PlanStatus, PlanUpdateInput, QuarterlyPeriodValue, RangeFilter, RoleData, RoleId, ScheduledScript, ScriptAddInput, ScriptAddSuccess, ScriptBase, ScriptData, SmallAddress, SmallCloser, SmallUser, SortCursor, SpecialtyAttachments, StatusHistoryItem, SyncedCalendarEvent, TagId, TeamAddInput, TeamAddSuccess, TeamData, TeamDownlineInput, TeamDownlineSuccess, TeamGetInput, TeamGetSuccess, TeamId, TeamListInput, TeamListSuccess, TeamMemberData, TeamRemoveInput, TeamRemoveSuccess, TeamUpdateData, TeamUpdateInput, TeamUpdateSuccess, TerrosClient, TinyAccountStatus, TinyCloser, TinyCompany, TinyResidentData, TinyRole, TinyTeam, TinyUser, TinyWorkflowAccount, UnsavedAccount, UnsavedAccountContact, UnsavedAccountNote, UnsavedAccountStatus, UnsavedAppVersion, UnsavedArea, UnsavedCalendarEventData, UnsavedCompany, UnsavedScript, UnsavedTeam, UnsavedUser, UpsertAccountNote, UpsertLatLng, UpsertTinyResidentData, UserAddInput, UserAddSuccess, UserBulkUpdateInput, UserBulkUpdateSuccess, UserClosersInput, UserClosersSuccess, UserData, UserGetInput, UserGetSuccess, UserHistory, UserId, UserIdentifier, UserListInput, UserListSuccess, UserManagerInput, UserManagerSuccess, UserPreferences, UserProfileData, UserProfileInput, UserProfileSuccess, UserRemoveInput, UserReportInput, UserReportSuccess, UserSearchInput, UserSearchSuccess, UserTeamData, UserTeamsByLevel, UserTimezoneInput, UserUpdateInput, UserUpdateSuccess, UserWebhook, UserWebhookData, VersionAddInput, VersionAddSuccess, VersionGetInput, VersionGetSuccess, VersionUpdateInput, VersionUpdateSuccess, WebhookAddUpdatePayload, WebhookAuditProps, WebhookPayload, WebhookRemovePayload, Weekday, WeeklyPeriodValue, WorkflowActionId, WorkflowHistoryItem, WorkflowId, WorkflowStageId, getPreferredName, wrapConnectHandler };
|
|
1833
|
+
export { AccessStatus, AccountAddInput, AccountAddSuccess, AccountContact, AccountData, AccountDataResponse, AccountGetInput, AccountGetSuccess, AccountHooksInput, AccountId, AccountListInput, AccountListSuccess, AccountMatchInput, AccountMatchSuccess, AccountNote, AccountPartialUpdateInput, AccountRemoveInput, AccountSortBy, AccountSortOrder, AccountStatusAddInput, AccountStatusAddSuccess, AccountStatusCode, AccountStatusData, AccountStatusId, AccountStatusListInput, AccountStatusListSuccess, AccountStatusRemoveInput, AccountStatusSearchInput, AccountStatusUpdateInput, AccountStatusUpdateSuccess, AccountUpdateBatchInput, AccountUpdateBatchSuccess, AccountUpdateInput, AccountUpdateSuccess, AccountUpsertInput, AccountUpsertSuccess, AccountUserDetails, AccountWebhook, AccountWebhookData, AccountWebhookWorkflowState, Address, ApiHistoryItem, ApiHistoryStartInput, ApiHistoryStartSuccess, ApiHistoryStatusInput, ApiHistoryStatusSuccess, AppData, AppGetInput, AppGetSuccess, AppId, AppRepository, AppUpdateInput, AppUpdateSuccess, AppVersionData, AppVersionId, AreaAddInput, AreaAddSuccess, AreaAssignInput, AreaAssignmentConfig, AreaAssignmentType, AreaData, AreaFilters, AreaGetInput, AreaGetSuccess, AreaId, AreaJobInfo, AreaListInput, AreaListSortBy, AreaListSortOrder, AreaListSuccess, AreaRemoveInput, AreaRunHistoryEntry, AreaRunType, AreaScheduleEntry, AreaSortCursor, AreaStateName, AreaUpdateInput, AreaUpdateSuccess, AttachmentId, AuditLog, AuditProps, AuthSchemaField, AvailableCloser, BillingMethod, BulkModifyAccountsAction, BulkModifyAccountsInput, CalendarAvailabilityInput, CalendarAvailabilitySuccess, CalendarClosersInput, CalendarClosersSuccess, CalendarEventAddInput, CalendarEventAddSuccess, CalendarEventConfirmInput, CalendarEventConfirmSuccess, CalendarEventData, CalendarEventDataWithDetails, CalendarEventGetInput, CalendarEventGetSuccess, CalendarEventId, CalendarEventListInput, CalendarEventListSuccess, CalendarEventLocation, CalendarEventRemoveInput, CalendarEventUpdateInput, CalendarEventUpdateSuccess, CalendarEventUpsertInput, CalendarEventUpsertSuccess, CalendarTimeslotsInput, CalendarTimeslotsSuccess, CloserSettings, CloserStatus, CompanyAddInput, CompanyAddSuccess, CompanyData, CompanyGetInput, CompanyGetSuccess, CompanyId, CompanyIndustry, CompanyKind, CompanyListInput, CompanyListSuccess, CompanyRemoveInput, CompanyRemoveSuccess, CompanySetupInput, CompanySetupSuccess, CompanySize, CompanyUpdateInput, CompanyUpdateSuccess, CompanyWebhook, CompanyWebhookData, ConfigSchemaField, ConnectHandlerFunction, ContactId, CustomFieldFilter, CustomFieldFilterValue, CustomFieldId, CustomFieldMap, CustomFieldType, DailyPlan, DemoState, DispositionId, ElasticFilter, EntityId, EventOutcomeHistory, EventOutcomeId, EventType, IncomingScript, IntegrationError, InterviewId, LatLng, LocationId, ManualAccessOverride, MeetingTime, NoteId, NotificationPreference, OutgoingScript, PLAN_PERIOD_TYPES, PartialAddress, PartialCompanyData, PartialTeamData, PermanentError, PermissionMap, PinPlacement, PlanAddInput, PlanData, PlanFields, PlanGetInput, PlanGetSuccess, PlanListInput, PlanListSuccess, PlanMilestone, PlanPeriod, PlanPeriodType, PlanPeriodValue, PlanScope, PlanScopeId, PlanStageData, PlanStageId, PlanStatus, PlanUpdateInput, QuarterlyPeriodValue, RangeFilter, RoleData, RoleId, ScheduledScript, ScriptAddInput, ScriptAddSuccess, ScriptBase, ScriptData, SmallAddress, SmallCloser, SmallUser, SortCursor, SpecialtyAttachments, StatusHistoryItem, SyncedCalendarEvent, TagId, TeamAddInput, TeamAddSuccess, TeamData, TeamDownlineInput, TeamDownlineSuccess, TeamGetInput, TeamGetSuccess, TeamId, TeamListInput, TeamListSuccess, TeamMemberData, TeamRemoveInput, TeamRemoveSuccess, TeamUpdateData, TeamUpdateInput, TeamUpdateSuccess, TerrosClient, TinyAccountStatus, TinyCloser, TinyCompany, TinyResidentData, TinyRole, TinyTeam, TinyUser, TinyWorkflowAccount, UnsavedAccount, UnsavedAccountContact, UnsavedAccountNote, UnsavedAccountStatus, UnsavedAppVersion, UnsavedArea, UnsavedCalendarEventData, UnsavedCompany, UnsavedScript, UnsavedTeam, UnsavedUser, UpsertAccountNote, UpsertLatLng, UpsertTinyResidentData, UserAddInput, UserAddSuccess, UserBulkUpdateInput, UserBulkUpdateSuccess, UserClosersInput, UserClosersSuccess, UserData, UserGetInput, UserGetSuccess, UserHistory, UserId, UserIdentifier, UserListInput, UserListSuccess, UserManagerInput, UserManagerSuccess, UserPreferences, UserProfileData, UserProfileInput, UserProfileSuccess, UserRemoveInput, UserReportInput, UserReportSuccess, UserSearchInput, UserSearchSuccess, UserTeamData, UserTeamsByLevel, UserTimezoneInput, UserUpdateInput, UserUpdateSuccess, UserWebhook, UserWebhookData, VersionAddInput, VersionAddSuccess, VersionGetInput, VersionGetSuccess, VersionUpdateInput, VersionUpdateSuccess, WebhookAddUpdatePayload, WebhookAuditProps, WebhookPayload, WebhookRemovePayload, Weekday, WeeklyPeriodValue, WorkflowActionId, WorkflowHistoryItem, WorkflowId, WorkflowStageId, getPreferredName, wrapConnectHandler };
|
package/dist/index.mjs
CHANGED