@adbls/api-types 1.4.7 → 1.5.0
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/README.md +4 -3
- package/dist/index.d.ts +160 -15
- package/dist/index.js +105 -11
- package/dist/types/AutomationPaletteResponse.d.ts +7 -0
- package/dist/types/AutomationPaletteResponsePaletteKind.d.ts +17 -0
- package/dist/types/AutomationPaletteResponsePaletteNode.d.ts +11 -0
- package/dist/types/AutomationPaletteResponsePaletteNode.js +2 -0
- package/dist/types/AutomationPaletteResponsePaletteRelation.d.ts +6 -0
- package/dist/types/AutomationPaletteResponsePaletteRelation.js +2 -0
- package/dist/types/AutomationRuleFilterRequest.d.ts +7 -0
- package/dist/types/AutomationRuleFilterRequest.js +2 -0
- package/dist/types/AutomationRuleResponse.d.ts +18 -0
- package/dist/types/AutomationRuleResponse.js +2 -0
- package/dist/types/AutomationRuleRow.d.ts +15 -0
- package/dist/types/AutomationRuleRow.js +2 -0
- package/dist/types/AutomationRuleSelectOption.d.ts +5 -0
- package/dist/types/AutomationRunDetailResponse.d.ts +9 -0
- package/dist/types/AutomationRunDetailResponse.js +2 -0
- package/dist/types/AutomationRunFilterRequest.d.ts +11 -0
- package/dist/types/AutomationRunFilterRequest.js +2 -0
- package/dist/types/AutomationRunRow.d.ts +26 -0
- package/dist/types/AutomationRunRow.js +2 -0
- package/dist/types/AutomationUserOption.d.ts +5 -0
- package/dist/types/BatchEmailResponse.d.ts +8 -0
- package/dist/types/BatchEmailResponse.js +2 -0
- package/dist/types/BatchRecipientsResponse.d.ts +7 -0
- package/dist/types/BatchRecipientsResponse.js +2 -0
- package/dist/types/ChangeHistoryResponse.d.ts +3 -0
- package/dist/types/CompanyFilterRequest.d.ts +1 -0
- package/dist/types/ContactFilterRequest.d.ts +1 -0
- package/dist/types/ContactGroupProjection.d.ts +2 -0
- package/dist/types/ContactGroupProjection.js +0 -1
- package/dist/types/EmailAccountResponse.d.ts +1 -0
- package/dist/types/ExportRequest.d.ts +2 -0
- package/dist/types/GroupMembershipStatus.d.ts +7 -0
- package/dist/types/GroupMembershipStatus.js +2 -0
- package/dist/types/GroupRoleSelectOption.d.ts +7 -0
- package/dist/types/GroupRoleSelectOption.js +3 -0
- package/dist/types/GroupStatusesResponse.d.ts +7 -0
- package/dist/types/GroupStatusesResponse.js +2 -0
- package/dist/types/HistoryReference.d.ts +12 -0
- package/dist/types/HistoryReference.js +2 -0
- package/dist/types/HistoryReferenceField.d.ts +6 -0
- package/dist/types/HistoryReferenceField.js +2 -0
- package/dist/types/HistoryResponse.d.ts +11 -0
- package/dist/types/HistoryResponse.js +2 -0
- package/dist/types/InvitedUserResponse.d.ts +6 -0
- package/dist/types/InvitedUserResponse.js +2 -0
- package/dist/types/MailIngestMailboxResponse.d.ts +22 -0
- package/dist/types/MailIngestMailboxResponse.js +2 -0
- package/dist/types/MailIngestMailboxTestResponse.d.ts +7 -0
- package/dist/types/MailIngestMailboxTestResponse.js +2 -0
- package/dist/types/MailIngestPollResponse.d.ts +10 -0
- package/dist/types/MailIngestPollResponse.js +3 -0
- package/dist/types/MailIngestRecordResponse.d.ts +28 -0
- package/dist/types/MailIngestRecordResponse.js +2 -0
- package/dist/types/NamedRecipient.d.ts +6 -0
- package/dist/types/NamedRecipient.js +3 -0
- package/dist/types/NodeIdMapping.d.ts +5 -0
- package/dist/types/NodeIdMapping.js +3 -0
- package/dist/types/NodePositionResponse.d.ts +5 -0
- package/dist/types/NodePositionResponse.js +3 -0
- package/dist/types/ObjectNode.d.ts +1 -1
- package/dist/types/PersonResponse.d.ts +3 -4
- package/dist/types/PropertiesSettingsResponse.d.ts +2 -0
- package/dist/types/PropertyInterestAssigneeRequest.d.ts +5 -0
- package/dist/types/PropertyInterestAssigneeRequest.js +3 -0
- package/dist/types/PropertyInterestFilterRequest.d.ts +7 -0
- package/dist/types/PropertyInterestFilterRequest.js +3 -0
- package/dist/types/PropertyInterestResponse.d.ts +25 -0
- package/dist/types/PropertyInterestResponse.js +2 -0
- package/dist/types/PropertyInterestStatusesResponse.d.ts +7 -0
- package/dist/types/PropertyInterestStatusesResponse.js +2 -0
- package/dist/types/PropertyMatchResponse.d.ts +19 -0
- package/dist/types/PropertyMatchResponse.js +2 -0
- package/dist/types/PropertyResponse.d.ts +2 -0
- package/dist/types/PropertyResponsePropertyExposeSummary.d.ts +6 -0
- package/dist/types/PropertyResponsePropertyExposeSummary.js +3 -0
- package/dist/types/ProspectMatchResponse.d.ts +9 -0
- package/dist/types/ProspectMatchResponse.js +2 -0
- package/dist/types/ProspectPreferenceResponse.d.ts +28 -0
- package/dist/types/ProspectPreferenceResponse.js +2 -0
- package/dist/types/RuleEdgeResponse.d.ts +7 -0
- package/dist/types/RuleEdgeResponse.js +2 -0
- package/dist/types/RuleGraphResponse.d.ts +7 -0
- package/dist/types/RuleGraphResponse.js +2 -0
- package/dist/types/RuleLoadResponse.d.ts +7 -0
- package/dist/types/RuleLoadResponse.js +2 -0
- package/dist/types/RuleNodeResponse.d.ts +11 -0
- package/dist/types/RuleNodeResponse.js +2 -0
- package/dist/types/RuleSaveResponse.d.ts +11 -0
- package/dist/types/RuleSaveResponse.js +2 -0
- package/dist/types/RuleTestResponse.d.ts +5 -0
- package/dist/types/RuleTestResponse.js +2 -0
- package/dist/types/RuleTestStep.d.ts +7 -0
- package/dist/types/RuleTestStep.js +2 -0
- package/dist/types/RuleValidationIssue.d.ts +6 -0
- package/dist/types/RuleValidationIssue.js +2 -0
- package/dist/types/RunEffectResponse.d.ts +8 -0
- package/dist/types/RunEffectResponse.js +2 -0
- package/dist/types/RunStepResponse.d.ts +13 -0
- package/dist/types/RunStepResponse.js +2 -0
- package/dist/types/StatusDefinitionResponse.d.ts +11 -0
- package/dist/types/StatusDefinitionResponse.js +2 -0
- package/dist/types/StatusEdgeResponse.d.ts +5 -0
- package/dist/types/StatusEdgeResponse.js +3 -0
- package/dist/types/StatusSetFilterRequest.d.ts +6 -0
- package/dist/types/StatusSetFilterRequest.js +2 -0
- package/dist/types/StatusSetResponse.d.ts +16 -0
- package/dist/types/StatusSetResponse.js +2 -0
- package/dist/types/TicketResponse.d.ts +2 -2
- package/dist/types/TodoFilterRequest.d.ts +14 -0
- package/dist/types/TodoFilterRequest.js +2 -0
- package/dist/types/TodoResponse.d.ts +35 -0
- package/dist/types/TodoResponse.js +2 -0
- package/dist/types/TodoSummaryResponse.d.ts +6 -0
- package/dist/types/TodoSummaryResponse.js +2 -0
- package/dist/types/TodoSummaryResponseTodoCounts.d.ts +6 -0
- package/dist/types/TodoSummaryResponseTodoCounts.js +3 -0
- package/dist/types/UserResponse.d.ts +1 -1
- package/dist/types/WebsitePingResponse.d.ts +4 -0
- package/dist/types/WebsitePingResponse.js +3 -0
- package/dist/types/common/JsonNode.d.ts +4 -0
- package/dist/types/{dto/enums/UserSettingsKey.js → common/JsonNode.js} +2 -2
- package/dist/types/dto/AddressDto.js +4 -4
- package/dist/types/dto/automation/StatusDefinitionRequest.d.ts +21 -0
- package/dist/types/dto/automation/StatusDefinitionRequest.js +14 -0
- package/dist/types/dto/automation/StatusEdgeRequest.d.ts +7 -0
- package/dist/types/dto/automation/StatusEdgeRequest.js +9 -0
- package/dist/types/dto/automation/StatusSetRequest.d.ts +33 -0
- package/dist/types/dto/automation/StatusSetRequest.js +13 -0
- package/dist/types/dto/automation/TodoCreateRequest.d.ts +43 -0
- package/dist/types/dto/automation/TodoCreateRequest.js +15 -0
- package/dist/types/dto/automation/TodoRequest.d.ts +11 -0
- package/dist/types/dto/automation/TodoRequest.js +13 -0
- package/dist/types/dto/automation/TodoStatusRequest.d.ts +10 -0
- package/dist/types/dto/automation/TodoStatusRequest.js +8 -0
- package/dist/types/dto/automation/rule/NodePosition.d.ts +7 -0
- package/dist/types/dto/{sales/InvoiceActionRequest.js → automation/rule/NodePosition.js} +4 -3
- package/dist/types/dto/automation/rule/RuleDraftRequest.d.ts +63 -0
- package/dist/types/dto/automation/rule/RuleDraftRequest.js +12 -0
- package/dist/types/dto/automation/rule/RuleEdgeRequest.d.ts +11 -0
- package/dist/types/dto/automation/rule/RuleEdgeRequest.js +10 -0
- package/dist/types/dto/automation/rule/RuleEnableRequest.d.ts +6 -0
- package/dist/types/dto/{sales/InvoiceActionRequestInvoiceAction.js → automation/rule/RuleEnableRequest.js} +4 -2
- package/dist/types/dto/automation/rule/RuleGraphRequest.d.ts +28 -0
- package/dist/types/dto/automation/rule/RuleGraphRequest.js +11 -0
- package/dist/types/dto/automation/rule/RuleNodeRequest.d.ts +18 -0
- package/dist/types/dto/automation/rule/RuleNodeRequest.js +14 -0
- package/dist/types/dto/automation/rule/RuleTestRequest.d.ts +37 -0
- package/dist/types/dto/automation/rule/RuleTestRequest.js +9 -0
- package/dist/types/dto/company/CompanyRequest.d.ts +1 -1
- package/dist/types/dto/company/CompanyRequest.js +1 -1
- package/dist/types/dto/company/CreateCompanyRequest.d.ts +65 -0
- package/dist/types/dto/company/CreateCompanyRequest.js +21 -0
- package/dist/types/dto/contact/ContactRequest.d.ts +3 -3
- package/dist/types/dto/contact/ContactRequest.js +4 -4
- package/dist/types/dto/contact/CreateContactRequest.d.ts +4 -4
- package/dist/types/dto/contact/CreateContactRequest.js +1 -1
- package/dist/types/dto/contact/ProfileContactRequest.d.ts +25 -0
- package/dist/types/dto/contact/ProfileContactRequest.js +14 -0
- package/dist/types/dto/contactgroup/MembershipStatusRequest.d.ts +6 -0
- package/dist/types/dto/contactgroup/MembershipStatusRequest.js +8 -0
- package/dist/types/dto/enums/ApplicationError.d.ts +79 -0
- package/dist/types/dto/enums/ApplicationError.js +1 -1
- package/dist/types/dto/enums/AttributeSectionTarget.d.ts +1 -1
- package/dist/types/dto/enums/EntityKind.d.ts +7 -1
- package/dist/types/dto/enums/EntityKind.js +1 -1
- package/dist/types/dto/enums/EventKind.d.ts +7 -1
- package/dist/types/dto/enums/EventKind.js +1 -1
- package/dist/types/dto/enums/HistoryRefTarget.d.ts +30 -0
- package/dist/types/dto/enums/HistoryRefTarget.js +6 -0
- package/dist/types/dto/enums/HistoryReferenceState.d.ts +10 -0
- package/dist/types/dto/enums/HistoryReferenceState.js +6 -0
- package/dist/types/dto/enums/MailDispatchResult.d.ts +1 -1
- package/dist/types/dto/enums/MediaKind.d.ts +1 -0
- package/dist/types/dto/enums/MediaKind.js +1 -1
- package/dist/types/dto/enums/PermissionTargetType.d.ts +1 -1
- package/dist/types/dto/enums/SettingIdentifier.d.ts +5 -8
- package/dist/types/dto/enums/SettingIdentifier.js +1 -1
- package/dist/types/dto/enums/StatusColor.d.ts +13 -0
- package/dist/types/dto/enums/StatusColor.js +6 -0
- package/dist/types/dto/enums/StatusSetScope.d.ts +8 -0
- package/dist/types/dto/enums/StatusSetScope.js +6 -0
- package/dist/types/dto/enums/UserStatus.d.ts +1 -1
- package/dist/types/dto/enums/automation/AutomationNodeType.d.ts +9 -0
- package/dist/types/dto/enums/automation/AutomationNodeType.js +6 -0
- package/dist/types/dto/enums/automation/EdgeBranch.d.ts +7 -0
- package/dist/types/dto/enums/automation/EdgeBranch.js +6 -0
- package/dist/types/dto/enums/automation/EffectState.d.ts +7 -0
- package/dist/types/dto/enums/automation/EffectState.js +6 -0
- package/dist/types/dto/enums/automation/RuleSuspensionReason.d.ts +10 -0
- package/dist/types/dto/enums/automation/RuleSuspensionReason.js +6 -0
- package/dist/types/dto/enums/automation/RuleValidationCode.d.ts +17 -0
- package/dist/types/dto/enums/automation/RuleValidationCode.js +6 -0
- package/dist/types/dto/enums/automation/RunStatus.d.ts +11 -0
- package/dist/types/dto/enums/automation/RunStatus.js +6 -0
- package/dist/types/dto/enums/automation/StepOutcome.d.ts +13 -0
- package/dist/types/dto/enums/automation/StepOutcome.js +6 -0
- package/dist/types/dto/enums/automation/TodoOrigin.d.ts +7 -0
- package/dist/types/dto/enums/automation/TodoOrigin.js +6 -0
- package/dist/types/dto/enums/automation/TodoScope.d.ts +7 -0
- package/dist/types/dto/enums/automation/TodoScope.js +6 -0
- package/dist/types/dto/enums/automation/TodoStatus.d.ts +8 -0
- package/dist/types/dto/enums/automation/TodoStatus.js +6 -0
- package/dist/types/dto/enums/automation/TriggerEvent.d.ts +11 -0
- package/dist/types/dto/enums/automation/TriggerEvent.js +6 -0
- package/dist/types/dto/enums/payment/StripeMode.d.ts +1 -1
- package/dist/types/dto/enums/payment/StripeWebhookEventStatus.d.ts +1 -1
- package/dist/types/dto/enums/project/ProjectStatus.d.ts +1 -1
- package/dist/types/dto/enums/project/ProjectTaskStatus.d.ts +1 -1
- package/dist/types/dto/enums/property/MailIngestError.d.ts +12 -0
- package/dist/types/dto/enums/property/MailIngestError.js +6 -0
- package/dist/types/dto/enums/property/MailIngestSource.d.ts +6 -0
- package/dist/types/dto/enums/property/MailIngestSource.js +6 -0
- package/dist/types/dto/enums/property/MailIngestStatus.d.ts +9 -0
- package/dist/types/dto/enums/property/MailIngestStatus.js +6 -0
- package/dist/types/dto/enums/property/ProspectMatchKind.d.ts +7 -0
- package/dist/types/dto/enums/property/ProspectMatchKind.js +6 -0
- package/dist/types/dto/enums/property/PublishImportStatus.d.ts +1 -1
- package/dist/types/dto/enums/property/PublishProviderPreset.d.ts +1 -1
- package/dist/types/dto/enums/property/SwissCanton.d.ts +31 -0
- package/dist/types/dto/enums/property/SwissCanton.js +6 -0
- package/dist/types/dto/enums/sales/OrderStatus.d.ts +1 -1
- package/dist/types/dto/enums/validation/ValidatorGroup.d.ts +23 -4
- package/dist/types/dto/enums/validation/ValidatorGroup.js +1 -1
- package/dist/types/dto/form/FormStatusRequest.d.ts +10 -0
- package/dist/types/dto/form/FormStatusRequest.js +8 -0
- package/dist/types/dto/mail/BatchRecipientsRequest.d.ts +6 -0
- package/dist/types/dto/mail/BatchRecipientsRequest.js +8 -0
- package/dist/types/dto/mail/EmailAccountRequest.d.ts +1 -0
- package/dist/types/dto/mail/EmailAccountRequest.js +1 -0
- package/dist/types/dto/payment/CheckoutRequest.d.ts +1 -0
- package/dist/types/dto/project/ProjectTaskStatusRequest.d.ts +1 -1
- package/dist/types/dto/property/PropertiesSettingsRequest.d.ts +1 -0
- package/dist/types/dto/property/PropertiesSettingsRequest.js +1 -0
- package/dist/types/dto/property/PropertyInterestRequest.d.ts +11 -0
- package/dist/types/dto/property/PropertyInterestRequest.js +13 -0
- package/dist/types/dto/property/PropertyInterestStatusRequest.d.ts +6 -0
- package/dist/types/dto/property/PropertyInterestStatusRequest.js +8 -0
- package/dist/types/dto/property/PropertyLeadRequestContact.js +1 -1
- package/dist/types/dto/property/ProspectPreferenceRequest.d.ts +66 -0
- package/dist/types/dto/property/ProspectPreferenceRequest.js +28 -0
- package/dist/types/dto/property/PublishProviderRequest.d.ts +1 -1
- package/dist/types/dto/property/ingest/MailIngestMailboxRequest.d.ts +18 -0
- package/dist/types/dto/property/ingest/MailIngestMailboxRequest.js +18 -0
- package/dist/types/dto/property/ingest/MailIngestMailboxTestRequest.d.ts +13 -0
- package/dist/types/dto/property/ingest/MailIngestMailboxTestRequest.js +15 -0
- package/dist/types/dto/property/ingest/MailIngestRecordFilterRequest.d.ts +13 -0
- package/dist/types/dto/property/ingest/MailIngestRecordFilterRequest.js +10 -0
- package/dist/types/dto/property/ingest/MailIngestRecordStatusRequest.d.ts +11 -0
- package/dist/types/dto/property/ingest/MailIngestRecordStatusRequest.js +8 -0
- package/dist/types/dto/purchase/PurchaseOrderStatusRequest.d.ts +12 -0
- package/dist/types/dto/purchase/PurchaseOrderStatusRequest.js +8 -0
- package/dist/types/dto/sales/InvoiceStatusRequest.d.ts +11 -0
- package/dist/types/dto/sales/InvoiceStatusRequest.js +8 -0
- package/dist/types/dto/sales/OfferStatusRequest.d.ts +12 -0
- package/dist/types/dto/sales/OfferStatusRequest.js +8 -0
- package/dist/types/dto/sales/OrderStatusRequest.d.ts +12 -0
- package/dist/types/dto/sales/OrderStatusRequest.js +8 -0
- package/dist/types/dto/sales/ingest/OrderIngestRequest.d.ts +1 -0
- package/dist/types/dto/sales/ingest/OrderIngestRequest.js +1 -0
- package/dist/types/dto/security/SignUpRequest.d.ts +3 -33
- package/dist/types/dto/security/SignUpRequest.js +3 -3
- package/dist/types/dto/user/CredentialRequest.d.ts +2 -2
- package/dist/types/dto/user/CredentialRequest.js +2 -2
- package/dist/types/dto/user/InvitePersonRequest.js +1 -1
- package/dist/types/dto/user/UserReplaceRequest.js +1 -1
- package/dist/types/dto/user/UserRequest.d.ts +3 -3
- package/dist/types/dto/user/UserRequest.js +1 -1
- package/package.json +6 -2
- package/dist/types/JsonNode.d.ts +0 -3
- package/dist/types/OwnerUpdateRequest.d.ts +0 -5
- package/dist/types/StatusChangeReasonResponse.d.ts +0 -6
- package/dist/types/UserStatusChangeResponse.d.ts +0 -10
- package/dist/types/dto/enums/UserSettingsKey.d.ts +0 -6
- package/dist/types/dto/sales/InvoiceActionRequest.d.ts +0 -9
- package/dist/types/dto/sales/InvoiceActionRequestInvoiceAction.d.ts +0 -7
- package/dist/types/dto/sales/OfferActionRequest.d.ts +0 -12
- package/dist/types/dto/sales/OfferActionRequest.js +0 -8
- package/dist/types/dto/sales/OfferActionRequestOfferAction.d.ts +0 -10
- package/dist/types/dto/sales/OfferActionRequestOfferAction.js +0 -6
- package/dist/types/dto/sales/OrderActionRequest.d.ts +0 -10
- package/dist/types/dto/sales/OrderActionRequest.js +0 -8
- package/dist/types/dto/sales/OrderActionRequestOrderAction.d.ts +0 -8
- package/dist/types/dto/sales/OrderActionRequestOrderAction.js +0 -6
- /package/dist/types/{StatusChangeReasonResponse.js → AutomationPaletteResponse.js} +0 -0
- /package/dist/types/{UserStatusChangeResponse.js → AutomationPaletteResponsePaletteKind.js} +0 -0
- /package/dist/types/{JsonNode.js → AutomationRuleSelectOption.js} +0 -0
- /package/dist/types/{OwnerUpdateRequest.js → AutomationUserOption.js} +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EntityKind } from './dto/enums/EntityKind';
|
|
2
|
+
import { TodoOrigin } from './dto/enums/automation/TodoOrigin';
|
|
3
|
+
import { TodoStatus } from './dto/enums/automation/TodoStatus';
|
|
4
|
+
export default interface TodoResponse {
|
|
5
|
+
id: number;
|
|
6
|
+
version: number;
|
|
7
|
+
title: string;
|
|
8
|
+
note?: string;
|
|
9
|
+
tag?: string;
|
|
10
|
+
entityKind?: EntityKind;
|
|
11
|
+
entityId?: number;
|
|
12
|
+
entityLabel?: string;
|
|
13
|
+
entityReadable: boolean;
|
|
14
|
+
assigneeId?: number;
|
|
15
|
+
assigneeName?: string;
|
|
16
|
+
assignedRoleId?: number;
|
|
17
|
+
assignedRoleName?: string;
|
|
18
|
+
dueAt?: string;
|
|
19
|
+
overdue: boolean;
|
|
20
|
+
status: TodoStatus;
|
|
21
|
+
origin: TodoOrigin;
|
|
22
|
+
ruleId?: number;
|
|
23
|
+
ruleName?: string;
|
|
24
|
+
ruleTrashed: boolean;
|
|
25
|
+
runId?: number;
|
|
26
|
+
sentFromAccountId?: number;
|
|
27
|
+
completedAt?: string;
|
|
28
|
+
completedByName?: string;
|
|
29
|
+
createDate: string;
|
|
30
|
+
modifyDate: string;
|
|
31
|
+
createdByName?: string;
|
|
32
|
+
modifiedByName?: string;
|
|
33
|
+
claimable: boolean;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=TodoResponse.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.JsonNodeModel = void 0;
|
|
4
4
|
// Generated by Adibilis Java Type Generator
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
|
-
exports.
|
|
6
|
+
exports.JsonNodeModel = zod_1.z.object({});
|
|
@@ -4,9 +4,9 @@ exports.AddressDtoModel = void 0;
|
|
|
4
4
|
// Generated by Adibilis Java Type Generator
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
exports.AddressDtoModel = zod_1.z.object({
|
|
7
|
-
street: zod_1.z.string().regex(/.+/),
|
|
8
|
-
city: zod_1.z.string().regex(/.+/),
|
|
9
|
-
zip: zod_1.z.string().regex(/.+/),
|
|
7
|
+
street: zod_1.z.string().regex(/.+/).min(0).max(255),
|
|
8
|
+
city: zod_1.z.string().regex(/.+/).min(0).max(255),
|
|
9
|
+
zip: zod_1.z.string().regex(/.+/).min(0).max(40),
|
|
10
10
|
country: zod_1.z.string().optional().nullable(),
|
|
11
|
-
canton: zod_1.z.string().optional().nullable(),
|
|
11
|
+
canton: zod_1.z.string().min(0).max(2).optional().nullable(),
|
|
12
12
|
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const StatusDefinitionRequestModel: z.ZodObject<{
|
|
3
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
4
|
+
statusKey: z.ZodString;
|
|
5
|
+
label: z.ZodString;
|
|
6
|
+
colour: z.ZodEnum<{
|
|
7
|
+
NEUTRAL: "NEUTRAL";
|
|
8
|
+
BLUE: "BLUE";
|
|
9
|
+
TEAL: "TEAL";
|
|
10
|
+
GREEN: "GREEN";
|
|
11
|
+
YELLOW: "YELLOW";
|
|
12
|
+
PURPLE: "PURPLE";
|
|
13
|
+
RED: "RED";
|
|
14
|
+
ORANGE: "ORANGE";
|
|
15
|
+
}>;
|
|
16
|
+
sortOrder: z.ZodNumber;
|
|
17
|
+
initial: z.ZodBoolean;
|
|
18
|
+
terminal: z.ZodBoolean;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export type StatusDefinitionRequest = z.infer<typeof StatusDefinitionRequestModel>;
|
|
21
|
+
//# sourceMappingURL=StatusDefinitionRequest.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StatusDefinitionRequestModel = void 0;
|
|
4
|
+
// Generated by Adibilis Java Type Generator
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
exports.StatusDefinitionRequestModel = zod_1.z.object({
|
|
7
|
+
id: zod_1.z.number().int().optional().nullable(),
|
|
8
|
+
statusKey: zod_1.z.string().regex(/.+/).regex(/^[a-z0-9-]{1,40}$/),
|
|
9
|
+
label: zod_1.z.string().regex(/.+/).min(0).max(100),
|
|
10
|
+
colour: zod_1.z.enum(['NEUTRAL', 'BLUE', 'TEAL', 'GREEN', 'YELLOW', 'PURPLE', 'RED', 'ORANGE']),
|
|
11
|
+
sortOrder: zod_1.z.number().int(),
|
|
12
|
+
initial: zod_1.z.boolean(),
|
|
13
|
+
terminal: zod_1.z.boolean(),
|
|
14
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const StatusEdgeRequestModel: z.ZodObject<{
|
|
3
|
+
fromKey: z.ZodString;
|
|
4
|
+
toKey: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export type StatusEdgeRequest = z.infer<typeof StatusEdgeRequestModel>;
|
|
7
|
+
//# sourceMappingURL=StatusEdgeRequest.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StatusEdgeRequestModel = void 0;
|
|
4
|
+
// Generated by Adibilis Java Type Generator
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
exports.StatusEdgeRequestModel = zod_1.z.object({
|
|
7
|
+
fromKey: zod_1.z.string().regex(/.+/),
|
|
8
|
+
toKey: zod_1.z.string().regex(/.+/),
|
|
9
|
+
});
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const StatusSetRequestModel: z.ZodObject<{
|
|
3
|
+
scope: z.ZodEnum<{
|
|
4
|
+
PROPERTY_INTEREST: "PROPERTY_INTEREST";
|
|
5
|
+
GROUP_CONTACT: "GROUP_CONTACT";
|
|
6
|
+
GROUP_COMPANY: "GROUP_COMPANY";
|
|
7
|
+
}>;
|
|
8
|
+
contactGroupId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
9
|
+
definitions: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
11
|
+
statusKey: z.ZodString;
|
|
12
|
+
label: z.ZodString;
|
|
13
|
+
colour: z.ZodEnum<{
|
|
14
|
+
NEUTRAL: "NEUTRAL";
|
|
15
|
+
BLUE: "BLUE";
|
|
16
|
+
TEAL: "TEAL";
|
|
17
|
+
GREEN: "GREEN";
|
|
18
|
+
YELLOW: "YELLOW";
|
|
19
|
+
PURPLE: "PURPLE";
|
|
20
|
+
RED: "RED";
|
|
21
|
+
ORANGE: "ORANGE";
|
|
22
|
+
}>;
|
|
23
|
+
sortOrder: z.ZodNumber;
|
|
24
|
+
initial: z.ZodBoolean;
|
|
25
|
+
terminal: z.ZodBoolean;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
edges: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28
|
+
fromKey: z.ZodString;
|
|
29
|
+
toKey: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export type StatusSetRequest = z.infer<typeof StatusSetRequestModel>;
|
|
33
|
+
//# sourceMappingURL=StatusSetRequest.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StatusSetRequestModel = void 0;
|
|
4
|
+
// Generated by Adibilis Java Type Generator
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const StatusDefinitionRequest_1 = require("./StatusDefinitionRequest");
|
|
7
|
+
const StatusEdgeRequest_1 = require("./StatusEdgeRequest");
|
|
8
|
+
exports.StatusSetRequestModel = zod_1.z.object({
|
|
9
|
+
scope: zod_1.z.enum(['GROUP_CONTACT', 'GROUP_COMPANY', 'PROPERTY_INTEREST']),
|
|
10
|
+
contactGroupId: zod_1.z.number().int().optional().nullable(),
|
|
11
|
+
definitions: zod_1.z.array(StatusDefinitionRequest_1.StatusDefinitionRequestModel).min(1),
|
|
12
|
+
edges: zod_1.z.array(StatusEdgeRequest_1.StatusEdgeRequestModel).optional().nullable(),
|
|
13
|
+
});
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TodoCreateRequestModel: z.ZodObject<{
|
|
3
|
+
title: z.ZodString;
|
|
4
|
+
note: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5
|
+
tag: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6
|
+
entityKind: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
CONTACT: "CONTACT";
|
|
8
|
+
COMPANY: "COMPANY";
|
|
9
|
+
CONTACT_GROUP: "CONTACT_GROUP";
|
|
10
|
+
CONTACT_GROUP_ATTRIBUTE: "CONTACT_GROUP_ATTRIBUTE";
|
|
11
|
+
GROUP_ROLE: "GROUP_ROLE";
|
|
12
|
+
PRODUCT: "PRODUCT";
|
|
13
|
+
CATEGORY: "CATEGORY";
|
|
14
|
+
CATEGORY_ATTRIBUTE: "CATEGORY_ATTRIBUTE";
|
|
15
|
+
STORAGE_SITE: "STORAGE_SITE";
|
|
16
|
+
INVENTORY: "INVENTORY";
|
|
17
|
+
OFFER: "OFFER";
|
|
18
|
+
INVOICE: "INVOICE";
|
|
19
|
+
ORDER: "ORDER";
|
|
20
|
+
PURCHASE_ORDER: "PURCHASE_ORDER";
|
|
21
|
+
PURCHASE_INVOICE: "PURCHASE_INVOICE";
|
|
22
|
+
FORM: "FORM";
|
|
23
|
+
PROJECT: "PROJECT";
|
|
24
|
+
PROJECT_SUB_PROJECT: "PROJECT_SUB_PROJECT";
|
|
25
|
+
PROJECT_TASK: "PROJECT_TASK";
|
|
26
|
+
PROJECT_TEMPLATE: "PROJECT_TEMPLATE";
|
|
27
|
+
RECEIPT: "RECEIPT";
|
|
28
|
+
PROPERTY: "PROPERTY";
|
|
29
|
+
PROPERTY_INTEREST: "PROPERTY_INTEREST";
|
|
30
|
+
PUBLISH_PROVIDER: "PUBLISH_PROVIDER";
|
|
31
|
+
STATUS_SET: "STATUS_SET";
|
|
32
|
+
TODO: "TODO";
|
|
33
|
+
AUTOMATION_RULE: "AUTOMATION_RULE";
|
|
34
|
+
MAIL_INGEST_MAILBOX: "MAIL_INGEST_MAILBOX";
|
|
35
|
+
MAIL_INGEST: "MAIL_INGEST";
|
|
36
|
+
}>>>;
|
|
37
|
+
entityId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
38
|
+
assigneeId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
39
|
+
assignedRoleId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
40
|
+
dueAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
export type TodoCreateRequest = z.infer<typeof TodoCreateRequestModel>;
|
|
43
|
+
//# sourceMappingURL=TodoCreateRequest.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TodoCreateRequestModel = void 0;
|
|
4
|
+
// Generated by Adibilis Java Type Generator
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
exports.TodoCreateRequestModel = zod_1.z.object({
|
|
7
|
+
title: zod_1.z.string().regex(/.+/).min(0).max(255),
|
|
8
|
+
note: zod_1.z.string().min(0).max(10000).optional().nullable(),
|
|
9
|
+
tag: zod_1.z.string().min(0).max(40).regex(/^[a-z0-9][a-z0-9-]*$/).optional().nullable(),
|
|
10
|
+
entityKind: zod_1.z.enum(['CONTACT', 'COMPANY', 'CONTACT_GROUP', 'CONTACT_GROUP_ATTRIBUTE', 'GROUP_ROLE', 'PRODUCT', 'CATEGORY', 'CATEGORY_ATTRIBUTE', 'STORAGE_SITE', 'INVENTORY', 'OFFER', 'INVOICE', 'ORDER', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', 'RECEIPT', 'PROPERTY', 'PROPERTY_INTEREST', 'PUBLISH_PROVIDER', 'STATUS_SET', 'TODO', 'AUTOMATION_RULE', 'MAIL_INGEST_MAILBOX', 'MAIL_INGEST']).optional().nullable(),
|
|
11
|
+
entityId: zod_1.z.number().int().optional().nullable(),
|
|
12
|
+
assigneeId: zod_1.z.number().int().optional().nullable(),
|
|
13
|
+
assignedRoleId: zod_1.z.number().int().optional().nullable(),
|
|
14
|
+
dueAt: zod_1.z.string().optional().nullable(),
|
|
15
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TodoRequestModel: z.ZodObject<{
|
|
3
|
+
title: z.ZodString;
|
|
4
|
+
note: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5
|
+
tag: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6
|
+
assigneeId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
+
assignedRoleId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
8
|
+
dueAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
export type TodoRequest = z.infer<typeof TodoRequestModel>;
|
|
11
|
+
//# sourceMappingURL=TodoRequest.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TodoRequestModel = void 0;
|
|
4
|
+
// Generated by Adibilis Java Type Generator
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
exports.TodoRequestModel = zod_1.z.object({
|
|
7
|
+
title: zod_1.z.string().regex(/.+/).min(0).max(255),
|
|
8
|
+
note: zod_1.z.string().min(0).max(10000).optional().nullable(),
|
|
9
|
+
tag: zod_1.z.string().min(0).max(40).regex(/^[a-z0-9][a-z0-9-]*$/).optional().nullable(),
|
|
10
|
+
assigneeId: zod_1.z.number().int().optional().nullable(),
|
|
11
|
+
assignedRoleId: zod_1.z.number().int().optional().nullable(),
|
|
12
|
+
dueAt: zod_1.z.string().optional().nullable(),
|
|
13
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TodoStatusRequestModel: z.ZodObject<{
|
|
3
|
+
status: z.ZodEnum<{
|
|
4
|
+
DONE: "DONE";
|
|
5
|
+
CANCELLED: "CANCELLED";
|
|
6
|
+
OPEN: "OPEN";
|
|
7
|
+
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
export type TodoStatusRequest = z.infer<typeof TodoStatusRequestModel>;
|
|
10
|
+
//# sourceMappingURL=TodoStatusRequest.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TodoStatusRequestModel = void 0;
|
|
4
|
+
// Generated by Adibilis Java Type Generator
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
exports.TodoStatusRequestModel = zod_1.z.object({
|
|
7
|
+
status: zod_1.z.enum(['OPEN', 'DONE', 'CANCELLED']),
|
|
8
|
+
});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.NodePositionModel = void 0;
|
|
4
4
|
// Generated by Adibilis Java Type Generator
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
|
-
exports.
|
|
7
|
-
|
|
6
|
+
exports.NodePositionModel = zod_1.z.object({
|
|
7
|
+
x: zod_1.z.number().int(),
|
|
8
|
+
y: zod_1.z.number().int(),
|
|
8
9
|
});
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const RuleDraftRequestModel: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5
|
+
triggerKind: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
CONTACT: "CONTACT";
|
|
7
|
+
COMPANY: "COMPANY";
|
|
8
|
+
CONTACT_GROUP: "CONTACT_GROUP";
|
|
9
|
+
CONTACT_GROUP_ATTRIBUTE: "CONTACT_GROUP_ATTRIBUTE";
|
|
10
|
+
GROUP_ROLE: "GROUP_ROLE";
|
|
11
|
+
PRODUCT: "PRODUCT";
|
|
12
|
+
CATEGORY: "CATEGORY";
|
|
13
|
+
CATEGORY_ATTRIBUTE: "CATEGORY_ATTRIBUTE";
|
|
14
|
+
STORAGE_SITE: "STORAGE_SITE";
|
|
15
|
+
INVENTORY: "INVENTORY";
|
|
16
|
+
OFFER: "OFFER";
|
|
17
|
+
INVOICE: "INVOICE";
|
|
18
|
+
ORDER: "ORDER";
|
|
19
|
+
PURCHASE_ORDER: "PURCHASE_ORDER";
|
|
20
|
+
PURCHASE_INVOICE: "PURCHASE_INVOICE";
|
|
21
|
+
FORM: "FORM";
|
|
22
|
+
PROJECT: "PROJECT";
|
|
23
|
+
PROJECT_SUB_PROJECT: "PROJECT_SUB_PROJECT";
|
|
24
|
+
PROJECT_TASK: "PROJECT_TASK";
|
|
25
|
+
PROJECT_TEMPLATE: "PROJECT_TEMPLATE";
|
|
26
|
+
RECEIPT: "RECEIPT";
|
|
27
|
+
PROPERTY: "PROPERTY";
|
|
28
|
+
PROPERTY_INTEREST: "PROPERTY_INTEREST";
|
|
29
|
+
PUBLISH_PROVIDER: "PUBLISH_PROVIDER";
|
|
30
|
+
STATUS_SET: "STATUS_SET";
|
|
31
|
+
TODO: "TODO";
|
|
32
|
+
AUTOMATION_RULE: "AUTOMATION_RULE";
|
|
33
|
+
MAIL_INGEST_MAILBOX: "MAIL_INGEST_MAILBOX";
|
|
34
|
+
MAIL_INGEST: "MAIL_INGEST";
|
|
35
|
+
}>>>;
|
|
36
|
+
graph: z.ZodObject<{
|
|
37
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
38
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
39
|
+
type: z.ZodEnum<{
|
|
40
|
+
TRIGGER: "TRIGGER";
|
|
41
|
+
CONDITION: "CONDITION";
|
|
42
|
+
DELAY: "DELAY";
|
|
43
|
+
ACTION: "ACTION";
|
|
44
|
+
}>;
|
|
45
|
+
subtype: z.ZodString;
|
|
46
|
+
pos: z.ZodObject<{
|
|
47
|
+
x: z.ZodNumber;
|
|
48
|
+
y: z.ZodNumber;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
53
|
+
fromId: z.ZodNumber;
|
|
54
|
+
toId: z.ZodNumber;
|
|
55
|
+
branch: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
56
|
+
YES: "YES";
|
|
57
|
+
NO: "NO";
|
|
58
|
+
}>>>;
|
|
59
|
+
}, z.core.$strip>>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
export type RuleDraftRequest = z.infer<typeof RuleDraftRequestModel>;
|
|
63
|
+
//# sourceMappingURL=RuleDraftRequest.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuleDraftRequestModel = void 0;
|
|
4
|
+
// Generated by Adibilis Java Type Generator
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const RuleGraphRequest_1 = require("./RuleGraphRequest");
|
|
7
|
+
exports.RuleDraftRequestModel = zod_1.z.object({
|
|
8
|
+
name: zod_1.z.string().regex(/.+/).min(0).max(255),
|
|
9
|
+
description: zod_1.z.string().min(0).max(10000).optional().nullable(),
|
|
10
|
+
triggerKind: zod_1.z.enum(['CONTACT', 'COMPANY', 'CONTACT_GROUP', 'CONTACT_GROUP_ATTRIBUTE', 'GROUP_ROLE', 'PRODUCT', 'CATEGORY', 'CATEGORY_ATTRIBUTE', 'STORAGE_SITE', 'INVENTORY', 'OFFER', 'INVOICE', 'ORDER', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', 'RECEIPT', 'PROPERTY', 'PROPERTY_INTEREST', 'PUBLISH_PROVIDER', 'STATUS_SET', 'TODO', 'AUTOMATION_RULE', 'MAIL_INGEST_MAILBOX', 'MAIL_INGEST']).optional().nullable(),
|
|
11
|
+
graph: RuleGraphRequest_1.RuleGraphRequestModel,
|
|
12
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const RuleEdgeRequestModel: z.ZodObject<{
|
|
3
|
+
fromId: z.ZodNumber;
|
|
4
|
+
toId: z.ZodNumber;
|
|
5
|
+
branch: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
YES: "YES";
|
|
7
|
+
NO: "NO";
|
|
8
|
+
}>>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
export type RuleEdgeRequest = z.infer<typeof RuleEdgeRequestModel>;
|
|
11
|
+
//# sourceMappingURL=RuleEdgeRequest.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuleEdgeRequestModel = void 0;
|
|
4
|
+
// Generated by Adibilis Java Type Generator
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
exports.RuleEdgeRequestModel = zod_1.z.object({
|
|
7
|
+
fromId: zod_1.z.number().int(),
|
|
8
|
+
toId: zod_1.z.number().int(),
|
|
9
|
+
branch: zod_1.z.enum(['YES', 'NO']).optional().nullable(),
|
|
10
|
+
});
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.RuleEnableRequestModel = void 0;
|
|
4
4
|
// Generated by Adibilis Java Type Generator
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
|
-
exports.
|
|
6
|
+
exports.RuleEnableRequestModel = zod_1.z.object({
|
|
7
|
+
enabled: zod_1.z.boolean(),
|
|
8
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const RuleGraphRequestModel: z.ZodObject<{
|
|
3
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
4
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
5
|
+
type: z.ZodEnum<{
|
|
6
|
+
TRIGGER: "TRIGGER";
|
|
7
|
+
CONDITION: "CONDITION";
|
|
8
|
+
DELAY: "DELAY";
|
|
9
|
+
ACTION: "ACTION";
|
|
10
|
+
}>;
|
|
11
|
+
subtype: z.ZodString;
|
|
12
|
+
pos: z.ZodObject<{
|
|
13
|
+
x: z.ZodNumber;
|
|
14
|
+
y: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
19
|
+
fromId: z.ZodNumber;
|
|
20
|
+
toId: z.ZodNumber;
|
|
21
|
+
branch: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
YES: "YES";
|
|
23
|
+
NO: "NO";
|
|
24
|
+
}>>>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
export type RuleGraphRequest = z.infer<typeof RuleGraphRequestModel>;
|
|
28
|
+
//# sourceMappingURL=RuleGraphRequest.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuleGraphRequestModel = void 0;
|
|
4
|
+
// Generated by Adibilis Java Type Generator
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const RuleNodeRequest_1 = require("./RuleNodeRequest");
|
|
7
|
+
const RuleEdgeRequest_1 = require("./RuleEdgeRequest");
|
|
8
|
+
exports.RuleGraphRequestModel = zod_1.z.object({
|
|
9
|
+
nodes: zod_1.z.array(RuleNodeRequest_1.RuleNodeRequestModel),
|
|
10
|
+
edges: zod_1.z.array(RuleEdgeRequest_1.RuleEdgeRequestModel),
|
|
11
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const RuleNodeRequestModel: z.ZodObject<{
|
|
3
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
4
|
+
type: z.ZodEnum<{
|
|
5
|
+
TRIGGER: "TRIGGER";
|
|
6
|
+
CONDITION: "CONDITION";
|
|
7
|
+
DELAY: "DELAY";
|
|
8
|
+
ACTION: "ACTION";
|
|
9
|
+
}>;
|
|
10
|
+
subtype: z.ZodString;
|
|
11
|
+
pos: z.ZodObject<{
|
|
12
|
+
x: z.ZodNumber;
|
|
13
|
+
y: z.ZodNumber;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export type RuleNodeRequest = z.infer<typeof RuleNodeRequestModel>;
|
|
18
|
+
//# sourceMappingURL=RuleNodeRequest.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuleNodeRequestModel = void 0;
|
|
4
|
+
// Generated by Adibilis Java Type Generator
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const NodePosition_1 = require("./NodePosition");
|
|
7
|
+
const JsonNode_1 = require("../../../common/JsonNode");
|
|
8
|
+
exports.RuleNodeRequestModel = zod_1.z.object({
|
|
9
|
+
id: zod_1.z.number().int().optional().nullable(),
|
|
10
|
+
type: zod_1.z.enum(['TRIGGER', 'CONDITION', 'DELAY', 'ACTION']),
|
|
11
|
+
subtype: zod_1.z.string().regex(/.+/).min(0).max(40),
|
|
12
|
+
pos: NodePosition_1.NodePositionModel,
|
|
13
|
+
config: JsonNode_1.JsonNodeModel,
|
|
14
|
+
});
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const RuleTestRequestModel: z.ZodObject<{
|
|
3
|
+
entityKind: z.ZodEnum<{
|
|
4
|
+
CONTACT: "CONTACT";
|
|
5
|
+
COMPANY: "COMPANY";
|
|
6
|
+
CONTACT_GROUP: "CONTACT_GROUP";
|
|
7
|
+
CONTACT_GROUP_ATTRIBUTE: "CONTACT_GROUP_ATTRIBUTE";
|
|
8
|
+
GROUP_ROLE: "GROUP_ROLE";
|
|
9
|
+
PRODUCT: "PRODUCT";
|
|
10
|
+
CATEGORY: "CATEGORY";
|
|
11
|
+
CATEGORY_ATTRIBUTE: "CATEGORY_ATTRIBUTE";
|
|
12
|
+
STORAGE_SITE: "STORAGE_SITE";
|
|
13
|
+
INVENTORY: "INVENTORY";
|
|
14
|
+
OFFER: "OFFER";
|
|
15
|
+
INVOICE: "INVOICE";
|
|
16
|
+
ORDER: "ORDER";
|
|
17
|
+
PURCHASE_ORDER: "PURCHASE_ORDER";
|
|
18
|
+
PURCHASE_INVOICE: "PURCHASE_INVOICE";
|
|
19
|
+
FORM: "FORM";
|
|
20
|
+
PROJECT: "PROJECT";
|
|
21
|
+
PROJECT_SUB_PROJECT: "PROJECT_SUB_PROJECT";
|
|
22
|
+
PROJECT_TASK: "PROJECT_TASK";
|
|
23
|
+
PROJECT_TEMPLATE: "PROJECT_TEMPLATE";
|
|
24
|
+
RECEIPT: "RECEIPT";
|
|
25
|
+
PROPERTY: "PROPERTY";
|
|
26
|
+
PROPERTY_INTEREST: "PROPERTY_INTEREST";
|
|
27
|
+
PUBLISH_PROVIDER: "PUBLISH_PROVIDER";
|
|
28
|
+
STATUS_SET: "STATUS_SET";
|
|
29
|
+
TODO: "TODO";
|
|
30
|
+
AUTOMATION_RULE: "AUTOMATION_RULE";
|
|
31
|
+
MAIL_INGEST_MAILBOX: "MAIL_INGEST_MAILBOX";
|
|
32
|
+
MAIL_INGEST: "MAIL_INGEST";
|
|
33
|
+
}>;
|
|
34
|
+
entityId: z.ZodNumber;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
export type RuleTestRequest = z.infer<typeof RuleTestRequestModel>;
|
|
37
|
+
//# sourceMappingURL=RuleTestRequest.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuleTestRequestModel = void 0;
|
|
4
|
+
// Generated by Adibilis Java Type Generator
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
exports.RuleTestRequestModel = zod_1.z.object({
|
|
7
|
+
entityKind: zod_1.z.enum(['CONTACT', 'COMPANY', 'CONTACT_GROUP', 'CONTACT_GROUP_ATTRIBUTE', 'GROUP_ROLE', 'PRODUCT', 'CATEGORY', 'CATEGORY_ATTRIBUTE', 'STORAGE_SITE', 'INVENTORY', 'OFFER', 'INVOICE', 'ORDER', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', 'RECEIPT', 'PROPERTY', 'PROPERTY_INTEREST', 'PUBLISH_PROVIDER', 'STATUS_SET', 'TODO', 'AUTOMATION_RULE', 'MAIL_INGEST_MAILBOX', 'MAIL_INGEST']),
|
|
8
|
+
entityId: zod_1.z.number().int(),
|
|
9
|
+
});
|
|
@@ -31,7 +31,7 @@ export declare const CompanyRequestModel: z.ZodObject<{
|
|
|
31
31
|
EN: "EN";
|
|
32
32
|
}>>>;
|
|
33
33
|
assignRequesterOnCreation: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
34
|
-
contactGroupIds: z.ZodArray<z.ZodNumber
|
|
34
|
+
contactGroupIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
35
35
|
attributeValues: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36
36
|
id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
37
37
|
attributeId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -16,6 +16,6 @@ exports.CompanyRequestModel = zod_1.z.object({
|
|
|
16
16
|
vat: zod_1.z.string().optional().nullable(),
|
|
17
17
|
correspondenceLanguage: zod_1.z.enum(['DE', 'FR', 'IT', 'EN']).optional().nullable(),
|
|
18
18
|
assignRequesterOnCreation: zod_1.z.boolean().optional().nullable(),
|
|
19
|
-
contactGroupIds: zod_1.z.array(zod_1.z.number()).
|
|
19
|
+
contactGroupIds: zod_1.z.array(zod_1.z.number()).optional().nullable(),
|
|
20
20
|
attributeValues: zod_1.z.array(AttributeValueRequest_1.AttributeValueRequestModel).optional().nullable(),
|
|
21
21
|
});
|