@adbls/api-types 1.9.1 → 1.9.3

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.
Files changed (93) hide show
  1. package/dist/index.d.ts +6 -0
  2. package/dist/index.js +3 -0
  3. package/dist/types/PropertyFilterRequest.d.ts +1 -0
  4. package/dist/types/PropertyInterestFilterRequest.d.ts +2 -0
  5. package/dist/types/PropertyResponse.d.ts +1 -0
  6. package/dist/types/SubscriptionPlanResponse.d.ts +2 -0
  7. package/dist/types/SubscriptionPlanStripeMirrorResponse.d.ts +8 -0
  8. package/dist/types/SubscriptionPlanStripeMirrorResponse.js +2 -0
  9. package/dist/types/SubscriptionPlanStripePriceMirrorResponse.d.ts +5 -0
  10. package/dist/types/SubscriptionPlanStripePriceMirrorResponse.js +3 -0
  11. package/dist/types/WebsitePingResponse.d.ts +4 -0
  12. package/dist/types/WebsitePingResponse.js +3 -0
  13. package/dist/types/dto/AddressDto.js +3 -3
  14. package/dist/types/dto/automation/StatusDefinitionRequest.js +2 -2
  15. package/dist/types/dto/automation/StatusEdgeRequest.js +2 -2
  16. package/dist/types/dto/automation/TodoCreateRequest.js +2 -2
  17. package/dist/types/dto/automation/TodoRequest.js +2 -2
  18. package/dist/types/dto/automation/rule/RuleDraftRequest.js +1 -1
  19. package/dist/types/dto/automation/rule/RuleNodeRequest.js +1 -1
  20. package/dist/types/dto/category/CategoryRequest.js +1 -1
  21. package/dist/types/dto/categoryattribute/CategoryAttributeOptionRequest.js +1 -1
  22. package/dist/types/dto/categoryattribute/CategoryAttributeRequest.js +1 -1
  23. package/dist/types/dto/company/CompanyRequest.js +1 -1
  24. package/dist/types/dto/company/CreateCompanyRequest.js +1 -1
  25. package/dist/types/dto/contact/ContactRequest.js +2 -2
  26. package/dist/types/dto/contact/ProfileContactRequest.js +3 -3
  27. package/dist/types/dto/contactgroup/ContactGroupRequest.js +1 -1
  28. package/dist/types/dto/contactgroup/MembershipStatusRequest.js +1 -1
  29. package/dist/types/dto/contactgroupattribute/ContactGroupAttributeOptionRequest.js +1 -1
  30. package/dist/types/dto/contactgroupattribute/ContactGroupAttributeRequest.js +1 -1
  31. package/dist/types/dto/enums/ApplicationError.d.ts +1 -0
  32. package/dist/types/dto/enums/ApplicationError.js +1 -1
  33. package/dist/types/dto/form/FormFieldOptionRequest.js +2 -2
  34. package/dist/types/dto/form/FormFieldRequest.js +1 -1
  35. package/dist/types/dto/form/FormItemRequest.js +1 -1
  36. package/dist/types/dto/form/FormRequest.js +1 -1
  37. package/dist/types/dto/form/FormSectionRequest.js +1 -1
  38. package/dist/types/dto/inquiry/InquiryRequest.js +1 -1
  39. package/dist/types/dto/inventory/InventoryRequest.js +3 -3
  40. package/dist/types/dto/inventory/InventorySpotRequest.js +1 -1
  41. package/dist/types/dto/inventory/InventoryTransferRequest.js +1 -1
  42. package/dist/types/dto/mail/EmailAccountRequest.js +2 -2
  43. package/dist/types/dto/mail/EmailSignatureRequest.js +2 -2
  44. package/dist/types/dto/mail/EmailTemplateRequest.js +1 -1
  45. package/dist/types/dto/payment/CheckoutRequest.js +1 -1
  46. package/dist/types/dto/payment/PaymentAccountRequest.js +1 -1
  47. package/dist/types/dto/payment/PaymentSettingsRequest.js +1 -1
  48. package/dist/types/dto/permission/GroupRoleRequest.js +1 -1
  49. package/dist/types/dto/product/ProductPriceRequest.js +1 -1
  50. package/dist/types/dto/product/ProductRequest.js +3 -3
  51. package/dist/types/dto/project/ProjectPricingScenarioRequest.js +1 -1
  52. package/dist/types/dto/project/ProjectRequest.js +1 -1
  53. package/dist/types/dto/project/ProjectSubProjectNode.js +2 -2
  54. package/dist/types/dto/project/ProjectSubProjectRequest.js +1 -1
  55. package/dist/types/dto/project/ProjectTaskNode.js +2 -2
  56. package/dist/types/dto/project/ProjectTaskRequest.js +1 -1
  57. package/dist/types/dto/project/ProjectTemplateRequest.js +1 -1
  58. package/dist/types/dto/project/SubProjectTemplateRequest.js +1 -1
  59. package/dist/types/dto/project/SubProjectTemplateTaskNode.js +2 -2
  60. package/dist/types/dto/property/PropertiesSettingsRequest.js +3 -3
  61. package/dist/types/dto/property/PropertyEnquiryRequest.js +3 -3
  62. package/dist/types/dto/property/PropertyInterestRequest.js +1 -1
  63. package/dist/types/dto/property/PropertyInterestStatusRequest.js +1 -1
  64. package/dist/types/dto/property/PropertyLeadRequest.js +1 -1
  65. package/dist/types/dto/property/PropertyLeadRequestContact.js +4 -4
  66. package/dist/types/dto/property/PropertyRequest.js +2 -2
  67. package/dist/types/dto/property/PublishProviderRequest.js +2 -2
  68. package/dist/types/dto/property/ingest/MailIngestMailboxRequest.js +4 -4
  69. package/dist/types/dto/property/ingest/MailIngestMailboxTestRequest.js +2 -2
  70. package/dist/types/dto/purchase/PurchaseInvoiceRequest.js +1 -1
  71. package/dist/types/dto/receipt/ReceiptRejectRequest.js +1 -1
  72. package/dist/types/dto/sales/CreditNoteLineRequest.js +1 -1
  73. package/dist/types/dto/sales/OrderForwardingRuleRequest.js +3 -3
  74. package/dist/types/dto/sales/SalesDocumentMailRequest.js +1 -1
  75. package/dist/types/dto/sales/ingest/OrderIngestPersonRequest.js +3 -3
  76. package/dist/types/dto/sales/ingest/OrderIngestRequest.js +3 -3
  77. package/dist/types/dto/security/EmailChangeRequest.js +1 -1
  78. package/dist/types/dto/security/InviteAcceptRequest.js +3 -3
  79. package/dist/types/dto/security/OauthGoogleConfirmRequest.js +1 -1
  80. package/dist/types/dto/security/OauthM365ConfirmRequest.js +1 -1
  81. package/dist/types/dto/security/PasswordResetRequest.js +3 -3
  82. package/dist/types/dto/security/PasswordVerifyRequest.js +1 -1
  83. package/dist/types/dto/security/SignInRequest.js +2 -2
  84. package/dist/types/dto/security/SignUpRequest.js +1 -1
  85. package/dist/types/dto/storage/batch/BatchRequest.js +2 -2
  86. package/dist/types/dto/storage/batchstoragesite/BatchStorageSiteRequest.js +1 -1
  87. package/dist/types/dto/storage/productregion/ProductRegionRequest.js +1 -1
  88. package/dist/types/dto/storage/storagesite/StorageSiteRequest.js +2 -2
  89. package/dist/types/dto/subscription/SubscriptionPlanPriceRequest.js +1 -1
  90. package/dist/types/dto/subscription/SubscriptionPlanRequest.js +1 -1
  91. package/dist/types/dto/user/UserReplaceRequest.js +2 -2
  92. package/dist/types/dto/user/UserRequest.js +2 -2
  93. package/package.json +1 -1
@@ -4,6 +4,6 @@ exports.GroupRoleRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.GroupRoleRequestModel = zod_1.z.object({
7
- name: zod_1.z.string().regex(/.+/).min(0).max(100),
7
+ name: zod_1.z.string().regex(/\S/).min(0).max(100),
8
8
  description: zod_1.z.string().optional().nullable(),
9
9
  });
@@ -4,7 +4,7 @@ exports.ProductPriceRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.ProductPriceRequestModel = zod_1.z.object({
7
- currency: zod_1.z.string().regex(/.+/),
7
+ currency: zod_1.z.string().regex(/\S/),
8
8
  amount: zod_1.z.number(),
9
9
  vatRate: zod_1.z.number().optional().nullable(),
10
10
  });
@@ -7,11 +7,11 @@ const AttributeValueRequest_1 = require("../categoryattribute/value/AttributeVal
7
7
  const ProductPriceRequest_1 = require("./ProductPriceRequest");
8
8
  const ProductComponentRequest_1 = require("./ProductComponentRequest");
9
9
  exports.ProductRequestModel = zod_1.z.object({
10
- title: zod_1.z.string().regex(/.+/).min(0).max(255),
10
+ title: zod_1.z.string().regex(/\S/).min(0).max(255),
11
11
  description: zod_1.z.string().min(0).max(2000).optional().nullable(),
12
- price: zod_1.z.string().regex(/.+/).regex(/^\d{1,15}(\.\d{1,2}0{0,2})?$/),
12
+ price: zod_1.z.string().regex(/\S/).regex(/^(?:^\d{1,15}(\.\d{1,2}0{0,2})?$)$/),
13
13
  sku: zod_1.z.string().min(0).max(255).optional().nullable(),
14
- gtin: zod_1.z.string().min(0).max(255).regex(/^$|^(\d{8}|\d{12}|\d{13}|\d{14})$/).optional().nullable(),
14
+ gtin: zod_1.z.string().min(0).max(255).regex(/^(?:^$|^(\d{8}|\d{12}|\d{13}|\d{14})$)$/).optional().nullable(),
15
15
  productType: zod_1.z.enum(['RAW_MATERIAL', 'END_PRODUCT', 'COMBINATION_PRODUCT']),
16
16
  categoryId: zod_1.z.number().int(),
17
17
  attributeValues: zod_1.z.array(AttributeValueRequest_1.AttributeValueRequestModel).optional().nullable(),
@@ -4,7 +4,7 @@ exports.ProjectPricingScenarioRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.ProjectPricingScenarioRequestModel = zod_1.z.object({
7
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
7
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
8
8
  batchSize: zod_1.z.number().int().min(1),
9
9
  marginMode: zod_1.z.enum(['PERCENT', 'AMOUNT']),
10
10
  marginValue: zod_1.z.number(),
@@ -6,7 +6,7 @@ const zod_1 = require("zod");
6
6
  const ProjectSubProjectNode_1 = require("./ProjectSubProjectNode");
7
7
  const AttributeValueRequest_1 = require("../categoryattribute/value/AttributeValueRequest");
8
8
  exports.ProjectRequestModel = zod_1.z.object({
9
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
9
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
10
10
  deadline: zod_1.z.string().optional().nullable(),
11
11
  targetProductId: zod_1.z.number().int().optional().nullable(),
12
12
  categoryId: zod_1.z.number().int().optional().nullable(),
@@ -6,8 +6,8 @@ const zod_1 = require("zod");
6
6
  const ProjectTaskNode_1 = require("./ProjectTaskNode");
7
7
  exports.ProjectSubProjectNodeModel = zod_1.z.object({
8
8
  id: zod_1.z.number().int().optional().nullable(),
9
- key: zod_1.z.string().regex(/.+/),
10
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
9
+ key: zod_1.z.string().regex(/\S/),
10
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
11
11
  sortOrder: zod_1.z.number().int(),
12
12
  tasks: zod_1.z.array(ProjectTaskNode_1.ProjectTaskNodeModel).optional().nullable(),
13
13
  });
@@ -5,7 +5,7 @@ exports.ProjectSubProjectRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  const AttributeValueRequest_1 = require("../categoryattribute/value/AttributeValueRequest");
7
7
  exports.ProjectSubProjectRequestModel = zod_1.z.object({
8
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
8
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
9
9
  deadline: zod_1.z.string().optional().nullable(),
10
10
  subProjectTemplateId: zod_1.z.number().int().optional().nullable(),
11
11
  attributeValues: zod_1.z.array(AttributeValueRequest_1.AttributeValueRequestModel).optional().nullable(),
@@ -5,7 +5,7 @@ exports.ProjectTaskNodeModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  exports.ProjectTaskNodeModel = zod_1.z.object({
7
7
  id: zod_1.z.number().int().optional().nullable(),
8
- key: zod_1.z.string().regex(/.+/),
9
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
8
+ key: zod_1.z.string().regex(/\S/),
9
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
10
10
  sortOrder: zod_1.z.number().int(),
11
11
  });
@@ -4,7 +4,7 @@ exports.ProjectTaskRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.ProjectTaskRequestModel = zod_1.z.object({
7
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
7
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
8
8
  deadline: zod_1.z.string().optional().nullable(),
9
9
  assigneeId: zod_1.z.number().int().optional().nullable(),
10
10
  });
@@ -4,7 +4,7 @@ exports.ProjectTemplateRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.ProjectTemplateRequestModel = zod_1.z.object({
7
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
7
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
8
8
  description: zod_1.z.string().min(0).max(500).optional().nullable(),
9
9
  subProjectTemplateIds: zod_1.z.array(zod_1.z.number()).optional().nullable(),
10
10
  });
@@ -6,7 +6,7 @@ const zod_1 = require("zod");
6
6
  const SubProjectTemplateTaskNode_1 = require("./SubProjectTemplateTaskNode");
7
7
  const SubProjectTemplateAttributeNode_1 = require("./SubProjectTemplateAttributeNode");
8
8
  exports.SubProjectTemplateRequestModel = zod_1.z.object({
9
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
9
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
10
10
  description: zod_1.z.string().min(0).max(500).optional().nullable(),
11
11
  hasCosts: zod_1.z.boolean(),
12
12
  amountKind: zod_1.z.enum(['PER_UNIT', 'LUMP_SUM']),
@@ -5,8 +5,8 @@ exports.SubProjectTemplateTaskNodeModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  exports.SubProjectTemplateTaskNodeModel = zod_1.z.object({
7
7
  id: zod_1.z.number().int().optional().nullable(),
8
- key: zod_1.z.string().regex(/.+/),
9
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
8
+ key: zod_1.z.string().regex(/\S/),
9
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
10
10
  sortOrder: zod_1.z.number().int(),
11
11
  amountKind: zod_1.z.enum(['PER_UNIT', 'LUMP_SUM']),
12
12
  countsAsGoodsValue: zod_1.z.boolean(),
@@ -5,13 +5,13 @@ exports.PropertiesSettingsRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  exports.PropertiesSettingsRequestModel = zod_1.z.object({
7
7
  numberPrefix: zod_1.z.string().min(0).max(255).optional().nullable(),
8
- numberFormat: zod_1.z.string().min(0).max(255).regex(/^\s*$|^.*\{#+\}.*$/).optional().nullable(),
8
+ numberFormat: zod_1.z.string().min(0).max(255).regex(/^(?:^\s*$|^.*\{#+\}.*$)$/).optional().nullable(),
9
9
  numberYearlyReset: zod_1.z.boolean().optional().nullable(),
10
10
  originalReferenceAllowed: zod_1.z.boolean().optional().nullable(),
11
11
  defaultCurrency: zod_1.z.string().min(0).max(255).optional().nullable(),
12
12
  leadNotificationRecipient: zod_1.z.string().min(0).max(255).email().optional().nullable(),
13
- syncDebounceMinutes: zod_1.z.string().min(0).max(255).regex(/^$|^[1-9]\d*$/).optional().nullable(),
14
- syncRestDebounceSeconds: zod_1.z.string().min(0).max(255).regex(/^$|^[1-9]\d*$/).optional().nullable(),
13
+ syncDebounceMinutes: zod_1.z.string().min(0).max(255).regex(/^(?:^$|^[1-9]\d*$)$/).optional().nullable(),
14
+ syncRestDebounceSeconds: zod_1.z.string().min(0).max(255).regex(/^(?:^$|^[1-9]\d*$)$/).optional().nullable(),
15
15
  leadSmsEnabled: zod_1.z.boolean().optional().nullable(),
16
16
  leadResultUrlTemplate: zod_1.z.string().min(0).max(2048).optional().nullable(),
17
17
  leadSmsText: zod_1.z.string().min(0).max(1600).optional().nullable(),
@@ -6,13 +6,13 @@ const zod_1 = require("zod");
6
6
  exports.PropertyEnquiryRequestModel = zod_1.z.object({
7
7
  firstname: zod_1.z.string().min(0).max(100).optional().nullable(),
8
8
  lastname: zod_1.z.string().min(0).max(100).optional().nullable(),
9
- email: zod_1.z.string().regex(/.+/).email().min(0).max(255),
9
+ email: zod_1.z.string().regex(/\S/).email().min(0).max(255),
10
10
  phone: zod_1.z.string().min(0).max(40).optional().nullable(),
11
11
  message: zod_1.z.string().min(0).max(4000).optional().nullable(),
12
- language: zod_1.z.string().regex(/de|fr|it|en/).optional().nullable(),
12
+ language: zod_1.z.string().regex(/^(?:de|fr|it|en)$/).optional().nullable(),
13
13
  consent: zod_1.z.boolean(),
14
14
  newsletter: zod_1.z.boolean().optional().nullable(),
15
15
  website: zod_1.z.string().min(0).max(255).optional().nullable(),
16
16
  clientIp: zod_1.z.string().min(0).max(45).optional().nullable(),
17
- source: zod_1.z.string().regex(/.+/).min(0).max(42).regex(/[a-z0-9-]+/),
17
+ source: zod_1.z.string().regex(/\S/).min(0).max(42).regex(/^(?:[a-z0-9-]+)$/),
18
18
  });
@@ -6,7 +6,7 @@ const zod_1 = require("zod");
6
6
  exports.PropertyInterestRequestModel = zod_1.z.object({
7
7
  propertyId: zod_1.z.number().int(),
8
8
  contactId: zod_1.z.number().int(),
9
- source: zod_1.z.string().regex(/.+/).min(0).max(50).regex(/[A-Za-z0-9:._-]*/),
9
+ source: zod_1.z.string().regex(/\S/).min(0).max(50).regex(/^(?:[A-Za-z0-9:._-]*)$/),
10
10
  externalRef: zod_1.z.string().min(0).max(128).optional().nullable(),
11
11
  message: zod_1.z.string().optional().nullable(),
12
12
  receivedAt: zod_1.z.string().optional().nullable(),
@@ -4,5 +4,5 @@ exports.PropertyInterestStatusRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.PropertyInterestStatusRequestModel = zod_1.z.object({
7
- status: zod_1.z.string().regex(/.+/),
7
+ status: zod_1.z.string().regex(/\S/),
8
8
  });
@@ -13,5 +13,5 @@ exports.PropertyLeadRequestModel = zod_1.z.object({
13
13
  inputs: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
14
14
  result: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
15
15
  calculatedAmount: zod_1.z.number().optional().nullable(),
16
- source: zod_1.z.string().regex(/.+/).min(0).max(50),
16
+ source: zod_1.z.string().regex(/\S/).min(0).max(50),
17
17
  });
@@ -4,8 +4,8 @@ exports.PropertyLeadRequestContactModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.PropertyLeadRequestContactModel = zod_1.z.object({
7
- firstname: zod_1.z.string().regex(/.+/).min(0).max(100),
8
- lastname: zod_1.z.string().regex(/.+/).min(0).max(100),
9
- email: zod_1.z.string().regex(/.+/).email().min(0).max(255),
10
- phone: zod_1.z.string().regex(/.+/).min(0).max(40),
7
+ firstname: zod_1.z.string().regex(/\S/).min(0).max(100),
8
+ lastname: zod_1.z.string().regex(/\S/).min(0).max(100),
9
+ email: zod_1.z.string().regex(/\S/).email().min(0).max(255),
10
+ phone: zod_1.z.string().regex(/\S/).min(0).max(40),
11
11
  });
@@ -8,11 +8,11 @@ exports.PropertyRequestModel = zod_1.z.object({
8
8
  category: zod_1.z.enum(['APARTMENT', 'HOUSE', 'COMMERCIAL', 'LAND', 'GASTRONOMY', 'AGRICULTURE', 'PARKING', 'GARDEN', 'SECONDARY_ROOM']),
9
9
  type: zod_1.z.enum(['STANDARD', 'DUPLEX', 'PENTHOUSE', 'ROOF_FLAT', 'STUDIO', 'SINGLE_ROOM', 'FURNISHED', 'TERRACE_FLAT', 'BACHELOR_FLAT', 'LOFT', 'ATTIC', 'DETACHED', 'ROW', 'SEMI_DETACHED', 'TERRACE', 'VILLA', 'FARMHOUSE', 'MULTI_FAMILY', 'CAVE', 'CASTLE', 'GRANNY_FLAT', 'CHALET', 'RUSTIC', 'OFFICE', 'SHOP', 'ADVERTISING_AREA', 'INDUSTRIAL', 'STORAGE', 'PRACTICE', 'KIOSK', 'GARDEN_CENTER', 'FUEL_STATION', 'AUTO_GARAGE', 'CHEESE_FACTORY', 'BUTCHER', 'BAKERY', 'HAIRDRESSER', 'SHOPPING_CENTER', 'FACTORY', 'INDUSTRIAL_OBJECT', 'ARCADE', 'ATELIER', 'MIXED_USE_BUILDING', 'LIBRARY', 'HOSPITAL', 'LABORATORY', 'MINI_GOLF', 'NURSING_HOME', 'RIDING_HALL', 'SANATORIUM', 'WORKSHOP', 'PARTY_ROOM', 'SAUNA', 'SOLARIUM', 'CARPENTRY', 'RETIREMENT_HOME', 'DEPARTMENT_STORE', 'INSTITUTION', 'DISPLAY_WINDOW', 'PARKING_GARAGE', 'PARKING_SURFACE', 'HOTEL', 'RESTAURANT', 'CAFE', 'BAR', 'CLUB', 'CASINO', 'CINEMA', 'SQUASH', 'INDOOR_TENNIS', 'TENNIS_COURT', 'SPORTS_HALL', 'CAMPGROUND', 'OUTDOOR_POOL', 'INDOOR_POOL', 'GOLF_COURSE', 'MOTEL', 'PUB', 'AGRICULTURAL_INSTALLATION', 'MOUNTAIN_FARM', 'FARM', 'OPEN_SLOT', 'COVERED_SLOT', 'SINGLE_GARAGE_PARKING', 'DOUBLE_GARAGE_PARKING', 'UNDERGROUND', 'BOAT_DRY_DOCK', 'BOAT_LANDING', 'MOTORCYCLE_COVERED', 'MOTORCYCLE_OUTDOOR', 'HORSE_BOX', 'BOAT_MOORING', 'BUILDING_LAND', 'AGRICULTURAL_LAND', 'COMMERCIAL_LAND', 'INDUSTRIAL_LAND', 'ALLOTMENT', 'HOBBY_ROOM', 'CELLAR', 'ATTIC_COMPARTMENT']),
10
10
  offerType: zod_1.z.enum(['RENT', 'SALE']),
11
- title: zod_1.z.string().regex(/.+/).min(0).max(70),
11
+ title: zod_1.z.string().regex(/\S/).min(0).max(70),
12
12
  description: zod_1.z.string().min(0).max(5000).optional().nullable(),
13
13
  situation: zod_1.z.string().min(0).max(50).optional().nullable(),
14
14
  availableFrom: zod_1.z.string().optional().nullable(),
15
- externalUrl: zod_1.z.string().min(0).max(255).regex(/^https?:\/\/\S+$/).optional().nullable(),
15
+ externalUrl: zod_1.z.string().min(0).max(255).regex(/^(?:^https?:\/\/\S+$)$/).optional().nullable(),
16
16
  originalRef: zod_1.z.string().min(0).max(64).optional().nullable(),
17
17
  companyId: zod_1.z.number().int().optional().nullable(),
18
18
  address: AddressDto_1.AddressDtoModel,
@@ -4,7 +4,7 @@ exports.PublishProviderRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.PublishProviderRequestModel = zod_1.z.object({
7
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
7
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
8
8
  preset: zod_1.z.enum(['NEWHOME', 'SMG', 'OTHER']),
9
9
  transport: zod_1.z.enum(['FTP', 'REST']),
10
10
  baseUrl: zod_1.z.string().min(0).max(255).optional().nullable(),
@@ -19,7 +19,7 @@ exports.PublishProviderRequestModel = zod_1.z.object({
19
19
  remotePath: zod_1.z.string().min(0).max(255).optional().nullable(),
20
20
  imagesDir: zod_1.z.string().min(0).max(255).optional().nullable(),
21
21
  sellerOrganizationId: zod_1.z.string().min(0).max(255).optional().nullable(),
22
- inquiryEmail: zod_1.z.string().email().regex(/^[^@]+@[^.]+\..+$/).min(0).max(255).optional().nullable(),
22
+ inquiryEmail: zod_1.z.string().email().regex(/^(?:^[^@]+@[^.]+\..+$)$/).min(0).max(255).optional().nullable(),
23
23
  platforms: zod_1.z.array(zod_1.z.enum(['HOMEGATE', 'FLATFOX', 'IMMOSCOUT24', 'NEWHOME', 'OWN_WEBSITE'])).min(1),
24
24
  enabled: zod_1.z.boolean(),
25
25
  });
@@ -4,7 +4,7 @@ exports.MailIngestMailboxRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.MailIngestMailboxRequestModel = zod_1.z.object({
7
- name: zod_1.z.string().regex(/.+/).min(0).max(100),
7
+ name: zod_1.z.string().regex(/\S/).min(0).max(100),
8
8
  enabled: zod_1.z.boolean(),
9
9
  source: zod_1.z.enum(['SMG', 'WEBSITE']),
10
10
  authMode: zod_1.z.enum(['BASIC', 'M365', 'GOOGLE']),
@@ -14,7 +14,7 @@ exports.MailIngestMailboxRequestModel = zod_1.z.object({
14
14
  imapUsername: zod_1.z.string().min(0).max(255).optional().nullable(),
15
15
  imapPassword: zod_1.z.string().min(0).max(255).optional().nullable(),
16
16
  imapSsl: zod_1.z.boolean(),
17
- subjectFilter: zod_1.z.string().regex(/.+/).min(0).max(255),
18
- processedFolder: zod_1.z.string().regex(/.+/).min(0).max(255),
19
- failedFolder: zod_1.z.string().regex(/.+/).min(0).max(255),
17
+ subjectFilter: zod_1.z.string().regex(/\S/).min(0).max(255),
18
+ processedFolder: zod_1.z.string().regex(/\S/).min(0).max(255),
19
+ failedFolder: zod_1.z.string().regex(/\S/).min(0).max(255),
20
20
  });
@@ -12,6 +12,6 @@ exports.MailIngestMailboxTestRequestModel = zod_1.z.object({
12
12
  imapUsername: zod_1.z.string().optional().nullable(),
13
13
  imapPassword: zod_1.z.string().optional().nullable(),
14
14
  imapSsl: zod_1.z.boolean(),
15
- processedFolder: zod_1.z.string().regex(/.+/),
16
- failedFolder: zod_1.z.string().regex(/.+/),
15
+ processedFolder: zod_1.z.string().regex(/\S/),
16
+ failedFolder: zod_1.z.string().regex(/\S/),
17
17
  });
@@ -5,7 +5,7 @@ exports.PurchaseInvoiceRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  exports.PurchaseInvoiceRequestModel = zod_1.z.object({
7
7
  supplierContactId: zod_1.z.number().int(),
8
- invoiceNumber: zod_1.z.string().regex(/.+/).min(0).max(255),
8
+ invoiceNumber: zod_1.z.string().regex(/\S/).min(0).max(255),
9
9
  invoiceDate: zod_1.z.string(),
10
10
  totalAmount: zod_1.z.number(),
11
11
  notes: zod_1.z.string().min(0).max(2000).optional().nullable(),
@@ -4,5 +4,5 @@ exports.ReceiptRejectRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.ReceiptRejectRequestModel = zod_1.z.object({
7
- reason: zod_1.z.string().regex(/.+/).min(0).max(1000),
7
+ reason: zod_1.z.string().regex(/\S/).min(0).max(1000),
8
8
  });
@@ -4,7 +4,7 @@ exports.CreditNoteLineRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.CreditNoteLineRequestModel = zod_1.z.object({
7
- description: zod_1.z.string().regex(/.+/).min(0).max(1000),
7
+ description: zod_1.z.string().regex(/\S/).min(0).max(1000),
8
8
  amount: zod_1.z.number(),
9
9
  vatRate: zod_1.z.number(),
10
10
  });
@@ -4,9 +4,9 @@ exports.OrderForwardingRuleRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.OrderForwardingRuleRequestModel = zod_1.z.object({
7
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
8
- email: zod_1.z.string().regex(/.+/).email().min(0).max(255),
9
- language: zod_1.z.string().regex(/.+/).regex(/^(de|en|fr|it)$/),
7
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
8
+ email: zod_1.z.string().regex(/\S/).email().min(0).max(255),
9
+ language: zod_1.z.string().regex(/\S/).regex(/^(?:^(de|en|fr|it)$)$/),
10
10
  countries: zod_1.z.array(zod_1.z.string()).optional().nullable(),
11
11
  catchAll: zod_1.z.boolean(),
12
12
  });
@@ -6,7 +6,7 @@ const zod_1 = require("zod");
6
6
  exports.SalesDocumentMailRequestModel = zod_1.z.object({
7
7
  templateId: zod_1.z.number().int().optional().nullable(),
8
8
  language: zod_1.z.enum(['DE', 'FR', 'IT', 'EN']).optional().nullable(),
9
- subject: zod_1.z.string().regex(/.+/).min(0).max(500),
9
+ subject: zod_1.z.string().regex(/\S/).min(0).max(500),
10
10
  body: zod_1.z.string().min(0).max(1000000).optional().nullable(),
11
11
  recipientContactId: zod_1.z.number().int().optional().nullable(),
12
12
  ccSender: zod_1.z.boolean().optional().nullable(),
@@ -5,9 +5,9 @@ exports.OrderIngestPersonRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  const OrderIngestAddressRequest_1 = require("./OrderIngestAddressRequest");
7
7
  exports.OrderIngestPersonRequestModel = zod_1.z.object({
8
- email: zod_1.z.string().regex(/.+/).email(),
9
- firstname: zod_1.z.string().regex(/.+/),
10
- lastname: zod_1.z.string().regex(/.+/),
8
+ email: zod_1.z.string().regex(/\S/).email(),
9
+ firstname: zod_1.z.string().regex(/\S/),
10
+ lastname: zod_1.z.string().regex(/\S/),
11
11
  phone: zod_1.z.string().optional().nullable(),
12
12
  address: OrderIngestAddressRequest_1.OrderIngestAddressRequestModel.optional().nullable(),
13
13
  });
@@ -6,9 +6,9 @@ const zod_1 = require("zod");
6
6
  const OrderIngestPersonRequest_1 = require("./OrderIngestPersonRequest");
7
7
  const OrderIngestLineItemRequest_1 = require("./OrderIngestLineItemRequest");
8
8
  exports.OrderIngestRequestModel = zod_1.z.object({
9
- externalRef: zod_1.z.string().regex(/.+/),
10
- externalSource: zod_1.z.string().regex(/.+/),
11
- currency: zod_1.z.string().regex(/.+/),
9
+ externalRef: zod_1.z.string().regex(/\S/),
10
+ externalSource: zod_1.z.string().regex(/\S/),
11
+ currency: zod_1.z.string().regex(/\S/),
12
12
  priceMode: zod_1.z.enum(['BRUTTO', 'NETTO']),
13
13
  vatTotal: zod_1.z.number(),
14
14
  grandTotal: zod_1.z.number(),
@@ -4,5 +4,5 @@ exports.EmailChangeRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.EmailChangeRequestModel = zod_1.z.object({
7
- token: zod_1.z.string().regex(/.+/),
7
+ token: zod_1.z.string().regex(/\S/),
8
8
  });
@@ -5,7 +5,7 @@ exports.InviteAcceptRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  exports.InviteAcceptRequestModel = zod_1.z.object({
7
7
  email: zod_1.z.string(),
8
- password: zod_1.z.string().regex(/.+/),
9
- token: zod_1.z.string().regex(/.+/),
10
- checkPassword: zod_1.z.string().regex(/.+/),
8
+ password: zod_1.z.string().regex(/\S/),
9
+ token: zod_1.z.string().regex(/\S/),
10
+ checkPassword: zod_1.z.string().regex(/\S/),
11
11
  });
@@ -4,5 +4,5 @@ exports.OauthGoogleConfirmRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.OauthGoogleConfirmRequestModel = zod_1.z.object({
7
- ticket: zod_1.z.string().regex(/.+/),
7
+ ticket: zod_1.z.string().regex(/\S/),
8
8
  });
@@ -4,5 +4,5 @@ exports.OauthM365ConfirmRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.OauthM365ConfirmRequestModel = zod_1.z.object({
7
- ticket: zod_1.z.string().regex(/.+/),
7
+ ticket: zod_1.z.string().regex(/\S/),
8
8
  });
@@ -4,7 +4,7 @@ exports.PasswordResetRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.PasswordResetRequestModel = zod_1.z.object({
7
- password: zod_1.z.string().regex(/.+/),
8
- token: zod_1.z.string().regex(/.+/),
9
- checkPassword: zod_1.z.string().regex(/.+/),
7
+ password: zod_1.z.string().regex(/\S/),
8
+ token: zod_1.z.string().regex(/\S/),
9
+ checkPassword: zod_1.z.string().regex(/\S/),
10
10
  });
@@ -4,5 +4,5 @@ exports.PasswordVerifyRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.PasswordVerifyRequestModel = zod_1.z.object({
7
- password: zod_1.z.string().regex(/.+/),
7
+ password: zod_1.z.string().regex(/\S/),
8
8
  });
@@ -4,6 +4,6 @@ exports.SignInRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.SignInRequestModel = zod_1.z.object({
7
- username: zod_1.z.string().regex(/.+/),
8
- password: zod_1.z.string().regex(/.+/),
7
+ username: zod_1.z.string().regex(/\S/),
8
+ password: zod_1.z.string().regex(/\S/),
9
9
  });
@@ -6,7 +6,7 @@ const zod_1 = require("zod");
6
6
  const ProfileContactRequest_1 = require("../contact/ProfileContactRequest");
7
7
  const CompanyRequest_1 = require("../company/CompanyRequest");
8
8
  exports.SignUpRequestModel = zod_1.z.object({
9
- email: zod_1.z.string().regex(/.+/).email(),
9
+ email: zod_1.z.string().regex(/\S/).email(),
10
10
  password: zod_1.z.string().optional().nullable(),
11
11
  contact: ProfileContactRequest_1.ProfileContactRequestModel,
12
12
  company: CompanyRequest_1.CompanyRequestModel.optional().nullable(),
@@ -4,9 +4,9 @@ exports.BatchRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.BatchRequestModel = zod_1.z.object({
7
- batchNr: zod_1.z.string().regex(/.+/),
7
+ batchNr: zod_1.z.string().regex(/\S/),
8
8
  productId: zod_1.z.number().int(),
9
9
  productionDate: zod_1.z.string(),
10
10
  expiryDate: zod_1.z.string().optional().nullable(),
11
- amount: zod_1.z.string().regex(/.+/).regex(/^(?!0+(\.0+)?$)\d+(\.\d{1,2})?$/),
11
+ amount: zod_1.z.string().regex(/\S/).regex(/^(?:^(?!0+(\.0+)?$)\d+(\.\d{1,2})?$)$/),
12
12
  });
@@ -7,5 +7,5 @@ exports.BatchStorageSiteRequestModel = zod_1.z.object({
7
7
  batchId: zod_1.z.number().int(),
8
8
  storageSiteId: zod_1.z.number().int(),
9
9
  spotId: zod_1.z.number().int().optional().nullable(),
10
- amount: zod_1.z.string().regex(/.+/).regex(/^(?!0+(\.0+)?$)\d+(\.\d{1,2})?$/),
10
+ amount: zod_1.z.string().regex(/\S/).regex(/^(?:^(?!0+(\.0+)?$)\d+(\.\d{1,2})?$)$/),
11
11
  });
@@ -4,7 +4,7 @@ exports.ProductRegionRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.ProductRegionRequestModel = zod_1.z.object({
7
- name: zod_1.z.string().regex(/.+/),
7
+ name: zod_1.z.string().regex(/\S/),
8
8
  productId: zod_1.z.number().int(),
9
9
  storageSiteId: zod_1.z.number().int(),
10
10
  countryCodes: zod_1.z.array(zod_1.z.string()).optional().nullable(),
@@ -6,8 +6,8 @@ const zod_1 = require("zod");
6
6
  const AddressDto_1 = require("../../AddressDto");
7
7
  const SpotRequest_1 = require("../spot/SpotRequest");
8
8
  exports.StorageSiteRequestModel = zod_1.z.object({
9
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
10
- area: zod_1.z.string().regex(/.+/).regex(/^\d{1,10}(\.\d{1,2})?$/),
9
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
10
+ area: zod_1.z.string().regex(/\S/).regex(/^(?:^\d{1,10}(\.\d{1,2})?$)$/),
11
11
  address: AddressDto_1.AddressDtoModel,
12
12
  spots: zod_1.z.array(SpotRequest_1.SpotRequestModel).optional().nullable(),
13
13
  });
@@ -4,7 +4,7 @@ exports.SubscriptionPlanPriceRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.SubscriptionPlanPriceRequestModel = zod_1.z.object({
7
- currency: zod_1.z.string().regex(/.+/),
7
+ currency: zod_1.z.string().regex(/\S/),
8
8
  amount: zod_1.z.number(),
9
9
  vatRate: zod_1.z.number().optional().nullable(),
10
10
  });
@@ -6,7 +6,7 @@ const zod_1 = require("zod");
6
6
  const ScheduleDefinition_1 = require("./ScheduleDefinition");
7
7
  const SubscriptionPlanPriceRequest_1 = require("./SubscriptionPlanPriceRequest");
8
8
  exports.SubscriptionPlanRequestModel = zod_1.z.object({
9
- title: zod_1.z.string().regex(/.+/).min(0).max(255),
9
+ title: zod_1.z.string().regex(/\S/).min(0).max(255),
10
10
  description: zod_1.z.string().min(0).max(2000).optional().nullable(),
11
11
  billingInterval: zod_1.z.enum(['WEEK', 'MONTH', 'YEAR']),
12
12
  billingIntervalCount: zod_1.z.number().int().min(1).max(52),
@@ -4,8 +4,8 @@ exports.UserReplaceRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.UserReplaceRequestModel = zod_1.z.object({
7
- email: zod_1.z.string().regex(/.+/).email().min(0).max(255),
7
+ email: zod_1.z.string().regex(/\S/).email().min(0).max(255),
8
8
  password: zod_1.z.string().optional().nullable(),
9
- language: zod_1.z.string().regex(/.+/).regex(/^(en|de|fr|it)$/),
9
+ language: zod_1.z.string().regex(/\S/).regex(/^(?:^(en|de|fr|it)$)$/),
10
10
  contactGroupIds: zod_1.z.array(zod_1.z.number()).optional().nullable(),
11
11
  });
@@ -5,9 +5,9 @@ exports.UserRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  const ContactRequest_1 = require("../contact/ContactRequest");
7
7
  exports.UserRequestModel = zod_1.z.object({
8
- email: zod_1.z.string().regex(/.+/).email().min(0).max(255),
8
+ email: zod_1.z.string().regex(/\S/).email().min(0).max(255),
9
9
  password: zod_1.z.string().optional().nullable(),
10
- language: zod_1.z.string().regex(/.+/).regex(/^(en|de|fr|it)$/),
10
+ language: zod_1.z.string().regex(/\S/).regex(/^(?:^(en|de|fr|it)$)$/),
11
11
  contactGroupIds: zod_1.z.array(zod_1.z.number()).optional().nullable(),
12
12
  contact: ContactRequest_1.ContactRequestModel,
13
13
  groupRoleIds: zod_1.z.array(zod_1.z.number()).optional().nullable(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adbls/api-types",
3
- "version": "1.9.1",
3
+ "version": "1.9.3",
4
4
  "description": "Generated TypeScript and zod types for the Adibilis CORE API. Version tracks the core release tag 1:1.",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./dist/index.js",