@adbls/api-types 1.9.2 → 1.9.4

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 (216) hide show
  1. package/dist/index.d.ts +72 -0
  2. package/dist/index.js +48 -0
  3. package/dist/types/CustomerAddressResponse.d.ts +9 -0
  4. package/dist/types/CustomerAddressResponse.js +3 -0
  5. package/dist/types/CustomerDeliveryResponse.d.ts +10 -0
  6. package/dist/types/CustomerDeliveryResponse.js +2 -0
  7. package/dist/types/CustomerPaymentMethodResponse.d.ts +8 -0
  8. package/dist/types/CustomerPaymentMethodResponse.js +3 -0
  9. package/dist/types/CustomerPaymentMethodSetupResponse.d.ts +5 -0
  10. package/dist/types/CustomerPaymentMethodSetupResponse.js +3 -0
  11. package/dist/types/CustomerPaymentMethodUpdateResponse.d.ts +8 -0
  12. package/dist/types/CustomerPaymentMethodUpdateResponse.js +2 -0
  13. package/dist/types/CustomerPlanResponse.d.ts +6 -0
  14. package/dist/types/CustomerPlanResponse.js +3 -0
  15. package/dist/types/CustomerProfileResponse.d.ts +6 -0
  16. package/dist/types/CustomerProfileResponse.js +3 -0
  17. package/dist/types/CustomerSessionResponse.d.ts +7 -0
  18. package/dist/types/CustomerSessionResponse.js +2 -0
  19. package/dist/types/CustomerSubscriptionDetailResponse.d.ts +39 -0
  20. package/dist/types/CustomerSubscriptionDetailResponse.js +2 -0
  21. package/dist/types/CustomerSubscriptionResponse.d.ts +20 -0
  22. package/dist/types/CustomerSubscriptionResponse.js +2 -0
  23. package/dist/types/CustomerTransactionResponse.d.ts +14 -0
  24. package/dist/types/CustomerTransactionResponse.js +2 -0
  25. package/dist/types/DynamicSubscriptionSettingsResponse.d.ts +8 -0
  26. package/dist/types/DynamicSubscriptionSettingsResponse.js +2 -0
  27. package/dist/types/OrderResponse.d.ts +2 -0
  28. package/dist/types/PaymentSettingsResponse.d.ts +4 -0
  29. package/dist/types/PropertyFilterRequest.d.ts +1 -0
  30. package/dist/types/PropertyInterestFilterRequest.d.ts +2 -0
  31. package/dist/types/PropertyResponse.d.ts +1 -0
  32. package/dist/types/ShopSubscriptionPlanResponse.d.ts +6 -5
  33. package/dist/types/SubscriptionCheckoutResponse.d.ts +21 -0
  34. package/dist/types/SubscriptionCheckoutResponse.js +2 -0
  35. package/dist/types/SubscriptionDeliveryResponse.d.ts +12 -0
  36. package/dist/types/SubscriptionDeliveryResponse.js +2 -0
  37. package/dist/types/SubscriptionFilterRequest.d.ts +9 -0
  38. package/dist/types/SubscriptionFilterRequest.js +2 -0
  39. package/dist/types/SubscriptionHealthResponse.d.ts +7 -0
  40. package/dist/types/SubscriptionHealthResponse.js +2 -0
  41. package/dist/types/SubscriptionPauseRequest.d.ts +4 -0
  42. package/dist/types/SubscriptionPauseRequest.js +3 -0
  43. package/dist/types/SubscriptionPeriodResponse.d.ts +14 -0
  44. package/dist/types/SubscriptionPeriodResponse.js +2 -0
  45. package/dist/types/SubscriptionPlanResponse.d.ts +2 -0
  46. package/dist/types/SubscriptionPlanStripeMirrorResponse.d.ts +8 -0
  47. package/dist/types/SubscriptionPlanStripeMirrorResponse.js +2 -0
  48. package/dist/types/SubscriptionPlanStripePriceMirrorResponse.d.ts +5 -0
  49. package/dist/types/SubscriptionPlanStripePriceMirrorResponse.js +3 -0
  50. package/dist/types/SubscriptionReconcileRunResponse.d.ts +9 -0
  51. package/dist/types/SubscriptionReconcileRunResponse.js +3 -0
  52. package/dist/types/SubscriptionResponse.d.ts +47 -0
  53. package/dist/types/SubscriptionResponse.js +2 -0
  54. package/dist/types/SubscriptionStatusResponse.d.ts +12 -0
  55. package/dist/types/SubscriptionStatusResponse.js +2 -0
  56. package/dist/types/WebsitePingResponse.d.ts +4 -0
  57. package/dist/types/WebsitePingResponse.js +3 -0
  58. package/dist/types/dto/AddressDto.js +3 -3
  59. package/dist/types/dto/automation/StatusDefinitionRequest.js +2 -2
  60. package/dist/types/dto/automation/StatusEdgeRequest.js +2 -2
  61. package/dist/types/dto/automation/TodoCreateRequest.d.ts +1 -0
  62. package/dist/types/dto/automation/TodoCreateRequest.js +3 -3
  63. package/dist/types/dto/automation/TodoRequest.js +2 -2
  64. package/dist/types/dto/automation/rule/RuleDraftRequest.d.ts +1 -0
  65. package/dist/types/dto/automation/rule/RuleDraftRequest.js +2 -2
  66. package/dist/types/dto/automation/rule/RuleNodeRequest.js +1 -1
  67. package/dist/types/dto/automation/rule/RuleTestRequest.d.ts +1 -0
  68. package/dist/types/dto/automation/rule/RuleTestRequest.js +1 -1
  69. package/dist/types/dto/category/CategoryRequest.js +1 -1
  70. package/dist/types/dto/categoryattribute/CategoryAttributeOptionRequest.js +1 -1
  71. package/dist/types/dto/categoryattribute/CategoryAttributeRequest.js +1 -1
  72. package/dist/types/dto/company/CompanyRequest.js +1 -1
  73. package/dist/types/dto/company/CreateCompanyRequest.js +1 -1
  74. package/dist/types/dto/contact/ContactRequest.js +2 -2
  75. package/dist/types/dto/contact/ProfileContactRequest.js +3 -3
  76. package/dist/types/dto/contactgroup/ContactGroupRequest.js +1 -1
  77. package/dist/types/dto/contactgroup/MembershipStatusRequest.js +1 -1
  78. package/dist/types/dto/contactgroupattribute/ContactGroupAttributeOptionRequest.js +1 -1
  79. package/dist/types/dto/contactgroupattribute/ContactGroupAttributeRequest.js +1 -1
  80. package/dist/types/dto/customer/CustomerAddressRequest.d.ts +9 -0
  81. package/dist/types/dto/customer/CustomerAddressRequest.js +11 -0
  82. package/dist/types/dto/customer/CustomerCancelRequest.d.ts +6 -0
  83. package/dist/types/dto/customer/CustomerCancelRequest.js +8 -0
  84. package/dist/types/dto/customer/CustomerConfigurationRequest.d.ts +8 -0
  85. package/dist/types/dto/customer/CustomerConfigurationRequest.js +10 -0
  86. package/dist/types/dto/customer/CustomerDeliveryPersonChangeRequest.d.ts +16 -0
  87. package/dist/types/dto/customer/CustomerDeliveryPersonChangeRequest.js +9 -0
  88. package/dist/types/dto/customer/CustomerDeliveryPersonRequest.d.ts +14 -0
  89. package/dist/types/dto/customer/CustomerDeliveryPersonRequest.js +12 -0
  90. package/dist/types/dto/customer/CustomerLoginLinkRequest.d.ts +14 -0
  91. package/dist/types/dto/customer/CustomerLoginLinkRequest.js +11 -0
  92. package/dist/types/dto/customer/CustomerPauseRequest.d.ts +6 -0
  93. package/dist/types/dto/customer/CustomerPauseRequest.js +8 -0
  94. package/dist/types/dto/customer/CustomerPaymentMethodRequest.d.ts +6 -0
  95. package/dist/types/dto/customer/CustomerPaymentMethodRequest.js +8 -0
  96. package/dist/types/dto/customer/CustomerPlanChangeRequest.d.ts +6 -0
  97. package/dist/types/dto/customer/CustomerPlanChangeRequest.js +8 -0
  98. package/dist/types/dto/customer/CustomerScheduleRequest.d.ts +25 -0
  99. package/dist/types/dto/customer/CustomerScheduleRequest.js +9 -0
  100. package/dist/types/dto/customer/CustomerSessionRequest.d.ts +6 -0
  101. package/dist/types/dto/customer/CustomerSessionRequest.js +8 -0
  102. package/dist/types/dto/enums/ApplicationError.d.ts +29 -0
  103. package/dist/types/dto/enums/ApplicationError.js +1 -1
  104. package/dist/types/dto/enums/EntityKind.d.ts +1 -0
  105. package/dist/types/dto/enums/EntityKind.js +1 -1
  106. package/dist/types/dto/enums/SettingIdentifier.d.ts +8 -0
  107. package/dist/types/dto/enums/SettingIdentifier.js +1 -1
  108. package/dist/types/dto/enums/automation/TriggerEvent.d.ts +4 -0
  109. package/dist/types/dto/enums/automation/TriggerEvent.js +1 -1
  110. package/dist/types/dto/enums/customer/CustomerPaymentRetry.d.ts +10 -0
  111. package/dist/types/dto/enums/customer/CustomerPaymentRetry.js +6 -0
  112. package/dist/types/dto/enums/customer/CustomerTransactionKind.d.ts +7 -0
  113. package/dist/types/dto/enums/customer/CustomerTransactionKind.js +6 -0
  114. package/dist/types/dto/enums/mail/EmailTemplateType.d.ts +2 -0
  115. package/dist/types/dto/enums/mail/EmailTemplateType.js +1 -1
  116. package/dist/types/dto/enums/mail/PlaceholderGroup.d.ts +2 -0
  117. package/dist/types/dto/enums/mail/PlaceholderGroup.js +1 -1
  118. package/dist/types/dto/enums/payment/PaymentStatus.d.ts +1 -1
  119. package/dist/types/dto/enums/property/PricingModel.d.ts +2 -2
  120. package/dist/types/dto/enums/property/PublishImportStatus.d.ts +1 -1
  121. package/dist/types/dto/enums/sales/OrderSource.d.ts +1 -0
  122. package/dist/types/dto/enums/sales/OrderSource.js +1 -1
  123. package/dist/types/dto/enums/subscription/SchedulePatternKind.d.ts +1 -1
  124. package/dist/types/dto/enums/subscription/SubscriptionDeliverySkipReason.d.ts +8 -0
  125. package/dist/types/dto/enums/subscription/SubscriptionDeliverySkipReason.js +6 -0
  126. package/dist/types/dto/enums/subscription/SubscriptionDeliveryStatus.d.ts +9 -0
  127. package/dist/types/dto/enums/subscription/SubscriptionDeliveryStatus.js +6 -0
  128. package/dist/types/dto/enums/subscription/SubscriptionPeriodStatus.d.ts +9 -0
  129. package/dist/types/dto/enums/subscription/SubscriptionPeriodStatus.js +6 -0
  130. package/dist/types/dto/enums/subscription/SubscriptionSecretKind.d.ts +7 -0
  131. package/dist/types/dto/enums/subscription/SubscriptionSecretKind.js +6 -0
  132. package/dist/types/dto/enums/subscription/SubscriptionStatus.d.ts +10 -0
  133. package/dist/types/dto/enums/subscription/SubscriptionStatus.js +6 -0
  134. package/dist/types/dto/form/FormFieldOptionRequest.js +2 -2
  135. package/dist/types/dto/form/FormFieldRequest.js +1 -1
  136. package/dist/types/dto/form/FormItemRequest.js +1 -1
  137. package/dist/types/dto/form/FormRequest.js +1 -1
  138. package/dist/types/dto/form/FormSectionRequest.js +1 -1
  139. package/dist/types/dto/inquiry/InquiryRequest.js +1 -1
  140. package/dist/types/dto/inventory/InventoryRequest.js +3 -3
  141. package/dist/types/dto/inventory/InventorySpotRequest.js +1 -1
  142. package/dist/types/dto/inventory/InventoryTransferRequest.js +1 -1
  143. package/dist/types/dto/mail/EmailAccountRequest.js +2 -2
  144. package/dist/types/dto/mail/EmailSignatureRequest.js +2 -2
  145. package/dist/types/dto/mail/EmailTemplatePreviewRequest.d.ts +3 -0
  146. package/dist/types/dto/mail/EmailTemplatePreviewRequest.js +2 -2
  147. package/dist/types/dto/mail/EmailTemplateRequest.d.ts +2 -0
  148. package/dist/types/dto/mail/EmailTemplateRequest.js +2 -2
  149. package/dist/types/dto/payment/CheckoutRequest.js +1 -1
  150. package/dist/types/dto/payment/DynamicSubscriptionSettingsRequest.d.ts +63 -0
  151. package/dist/types/dto/payment/DynamicSubscriptionSettingsRequest.js +12 -0
  152. package/dist/types/dto/payment/PaymentAccountRequest.js +1 -1
  153. package/dist/types/dto/payment/PaymentSettingsRequest.d.ts +60 -0
  154. package/dist/types/dto/payment/PaymentSettingsRequest.js +3 -1
  155. package/dist/types/dto/permission/GroupRoleRequest.js +1 -1
  156. package/dist/types/dto/product/ProductPriceRequest.js +1 -1
  157. package/dist/types/dto/product/ProductRequest.js +3 -3
  158. package/dist/types/dto/project/ProjectPricingScenarioRequest.js +1 -1
  159. package/dist/types/dto/project/ProjectRequest.js +1 -1
  160. package/dist/types/dto/project/ProjectSubProjectNode.js +2 -2
  161. package/dist/types/dto/project/ProjectSubProjectRequest.js +1 -1
  162. package/dist/types/dto/project/ProjectTaskNode.js +2 -2
  163. package/dist/types/dto/project/ProjectTaskRequest.js +1 -1
  164. package/dist/types/dto/project/ProjectTemplateRequest.js +1 -1
  165. package/dist/types/dto/project/SubProjectTemplateRequest.js +1 -1
  166. package/dist/types/dto/project/SubProjectTemplateTaskNode.js +2 -2
  167. package/dist/types/dto/property/PropertiesSettingsRequest.js +3 -3
  168. package/dist/types/dto/property/PropertyEnquiryRequest.js +3 -3
  169. package/dist/types/dto/property/PropertyInterestRequest.js +1 -1
  170. package/dist/types/dto/property/PropertyInterestStatusRequest.js +1 -1
  171. package/dist/types/dto/property/PropertyLeadRequest.js +1 -1
  172. package/dist/types/dto/property/PropertyLeadRequestContact.js +4 -4
  173. package/dist/types/dto/property/PropertyRequest.d.ts +2 -2
  174. package/dist/types/dto/property/PropertyRequest.js +2 -2
  175. package/dist/types/dto/property/PublishProviderRequest.js +2 -2
  176. package/dist/types/dto/property/ingest/MailIngestMailboxRequest.js +4 -4
  177. package/dist/types/dto/property/ingest/MailIngestMailboxTestRequest.js +2 -2
  178. package/dist/types/dto/purchase/PurchaseInvoiceRequest.js +1 -1
  179. package/dist/types/dto/purchase/PurchaseOrderStatusRequest.d.ts +1 -1
  180. package/dist/types/dto/receipt/ReceiptRejectRequest.js +1 -1
  181. package/dist/types/dto/sales/CreditNoteLineRequest.js +1 -1
  182. package/dist/types/dto/sales/OrderForwardingRuleRequest.js +3 -3
  183. package/dist/types/dto/sales/SalesDocumentMailRequest.js +1 -1
  184. package/dist/types/dto/sales/ingest/OrderIngestPersonRequest.js +3 -3
  185. package/dist/types/dto/sales/ingest/OrderIngestRequest.js +3 -3
  186. package/dist/types/dto/security/EmailChangeRequest.js +1 -1
  187. package/dist/types/dto/security/InviteAcceptRequest.js +3 -3
  188. package/dist/types/dto/security/OauthGoogleConfirmRequest.js +1 -1
  189. package/dist/types/dto/security/OauthM365ConfirmRequest.js +1 -1
  190. package/dist/types/dto/security/PasswordResetRequest.js +3 -3
  191. package/dist/types/dto/security/PasswordVerifyRequest.js +1 -1
  192. package/dist/types/dto/security/SignInRequest.js +2 -2
  193. package/dist/types/dto/security/SignUpRequest.js +1 -1
  194. package/dist/types/dto/storage/batch/BatchRequest.js +2 -2
  195. package/dist/types/dto/storage/batchstoragesite/BatchStorageSiteRequest.js +1 -1
  196. package/dist/types/dto/storage/productregion/ProductRegionRequest.js +1 -1
  197. package/dist/types/dto/storage/storagesite/StorageSiteRequest.js +2 -2
  198. package/dist/types/dto/subscription/DynamicSubscriptionRequest.d.ts +33 -0
  199. package/dist/types/dto/subscription/DynamicSubscriptionRequest.js +12 -0
  200. package/dist/types/dto/subscription/ScheduleDefinition.d.ts +2 -2
  201. package/dist/types/dto/subscription/SchedulePattern.d.ts +1 -1
  202. package/dist/types/dto/subscription/SubscriptionCancelRequest.d.ts +6 -0
  203. package/dist/types/dto/subscription/SubscriptionCancelRequest.js +8 -0
  204. package/dist/types/dto/subscription/SubscriptionCheckoutRequest.d.ts +96 -0
  205. package/dist/types/dto/subscription/SubscriptionCheckoutRequest.js +26 -0
  206. package/dist/types/dto/subscription/SubscriptionDeliveryContactRequest.d.ts +6 -0
  207. package/dist/types/dto/subscription/SubscriptionDeliveryContactRequest.js +8 -0
  208. package/dist/types/dto/subscription/SubscriptionPlanPriceRequest.js +1 -1
  209. package/dist/types/dto/subscription/SubscriptionPlanRequest.d.ts +2 -2
  210. package/dist/types/dto/subscription/SubscriptionPlanRequest.js +1 -1
  211. package/dist/types/dto/subscription/SubscriptionScheduleRequest.d.ts +25 -0
  212. package/dist/types/dto/subscription/SubscriptionScheduleRequest.js +9 -0
  213. package/dist/types/dto/user/UserReplaceRequest.js +2 -2
  214. package/dist/types/dto/user/UserRequest.js +2 -2
  215. package/dist/types/entity/purchase/PurchaseOrderStatus.d.ts +1 -1
  216. package/package.json +1 -1
@@ -0,0 +1,7 @@
1
+ import SubscriptionReconcileRunResponse from './SubscriptionReconcileRunResponse';
2
+ export default interface SubscriptionHealthResponse {
3
+ pastDueCount: number;
4
+ longPastDueCount: number;
5
+ lastReconcile?: SubscriptionReconcileRunResponse;
6
+ }
7
+ //# sourceMappingURL=SubscriptionHealthResponse.d.ts.map
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export default interface SubscriptionPauseRequest {
2
+ resumesAt?: string;
3
+ }
4
+ //# sourceMappingURL=SubscriptionPauseRequest.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // Generated by Adibilis Java Type Generator
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import { SubscriptionPeriodStatus } from './dto/enums/subscription/SubscriptionPeriodStatus';
2
+ export default interface SubscriptionPeriodResponse {
3
+ id: number;
4
+ periodStart?: string;
5
+ periodEnd?: string;
6
+ amount: number;
7
+ currency: string;
8
+ status: SubscriptionPeriodStatus;
9
+ paidAt?: string;
10
+ hostedInvoiceUrl?: string;
11
+ invoicePdfUrl?: string;
12
+ invoiceId?: number;
13
+ }
14
+ //# sourceMappingURL=SubscriptionPeriodResponse.d.ts.map
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,5 @@
1
1
  import SubscriptionPlanPriceResponse from './SubscriptionPlanPriceResponse';
2
+ import SubscriptionPlanStripeMirrorResponse from './SubscriptionPlanStripeMirrorResponse';
2
3
  import { PriceMode } from './dto/enums/sales/PriceMode';
3
4
  import { BillingInterval } from './dto/enums/subscription/BillingInterval';
4
5
  import { ScheduleDefinition } from './dto/subscription/ScheduleDefinition';
@@ -18,5 +19,6 @@ export default interface SubscriptionPlanResponse {
18
19
  prices: SubscriptionPlanPriceResponse[];
19
20
  createDate: string;
20
21
  modifyDate: string;
22
+ stripeMirrors: SubscriptionPlanStripeMirrorResponse[];
21
23
  }
22
24
  //# sourceMappingURL=SubscriptionPlanResponse.d.ts.map
@@ -0,0 +1,8 @@
1
+ import SubscriptionPlanStripePriceMirrorResponse from './SubscriptionPlanStripePriceMirrorResponse';
2
+ export default interface SubscriptionPlanStripeMirrorResponse {
3
+ paymentAccountId?: number;
4
+ paymentAccountName?: string;
5
+ stripeProductId: string;
6
+ prices: SubscriptionPlanStripePriceMirrorResponse[];
7
+ }
8
+ //# sourceMappingURL=SubscriptionPlanStripeMirrorResponse.d.ts.map
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export default interface SubscriptionPlanStripePriceMirrorResponse {
2
+ currency: string;
3
+ stripePriceId: string;
4
+ }
5
+ //# sourceMappingURL=SubscriptionPlanStripePriceMirrorResponse.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // Generated by Adibilis Java Type Generator
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export default interface SubscriptionReconcileRunResponse {
2
+ finishedAt: string;
3
+ checked: number;
4
+ healed: number;
5
+ closed: number;
6
+ ordersRepaired: number;
7
+ failed: number;
8
+ }
9
+ //# sourceMappingURL=SubscriptionReconcileRunResponse.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // Generated by Adibilis Java Type Generator
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,47 @@
1
+ import SubscriptionDeliveryResponse from './SubscriptionDeliveryResponse';
2
+ import SubscriptionPeriodResponse from './SubscriptionPeriodResponse';
3
+ import { FulfillmentType } from './dto/enums/sales/FulfillmentType';
4
+ import { PriceMode } from './dto/enums/sales/PriceMode';
5
+ import { BillingInterval } from './dto/enums/subscription/BillingInterval';
6
+ import { SubscriptionStatus } from './dto/enums/subscription/SubscriptionStatus';
7
+ import { ScheduleDefinition } from './dto/subscription/ScheduleDefinition';
8
+ import { SchedulePattern } from './dto/subscription/SchedulePattern';
9
+ export default interface SubscriptionResponse {
10
+ id: number;
11
+ number: string;
12
+ status: SubscriptionStatus;
13
+ planId?: number;
14
+ planTitle?: string;
15
+ dynamic: boolean;
16
+ billingPersonId: number;
17
+ billingPersonName: string;
18
+ deliveryPersonId?: number;
19
+ deliveryPersonName?: string;
20
+ schedule: SchedulePattern;
21
+ configurationText: string;
22
+ unitAmount?: number;
23
+ periodAmount: number;
24
+ vatRate?: number;
25
+ priceMode: PriceMode;
26
+ billingInterval: BillingInterval;
27
+ billingIntervalCount: number;
28
+ currency: string;
29
+ fulfillmentType?: FulfillmentType;
30
+ customerNote?: string;
31
+ externalSource: string;
32
+ externalRef: string;
33
+ stripeSubscriptionId?: string;
34
+ currentPeriodStart?: string;
35
+ currentPeriodEnd?: string;
36
+ cancelAtPeriodEnd: boolean;
37
+ pausedUntil?: string;
38
+ nextDeliveryAt?: string;
39
+ startDate?: string;
40
+ startedAt?: string;
41
+ cancelledAt?: string;
42
+ createDate: string;
43
+ periods: SubscriptionPeriodResponse[];
44
+ deliveries: SubscriptionDeliveryResponse[];
45
+ scheduleDefinition?: ScheduleDefinition;
46
+ }
47
+ //# sourceMappingURL=SubscriptionResponse.d.ts.map
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import { PaymentStatus } from './dto/enums/payment/PaymentStatus';
2
+ import { SubscriptionStatus } from './dto/enums/subscription/SubscriptionStatus';
3
+ export default interface SubscriptionStatusResponse {
4
+ subscriptionId: number;
5
+ number: string;
6
+ status: SubscriptionStatus;
7
+ stripeStatus?: string;
8
+ firstPaymentStatus?: PaymentStatus;
9
+ firstDeliveryAt?: string;
10
+ nextBillingAt?: string;
11
+ }
12
+ //# sourceMappingURL=SubscriptionStatusResponse.d.ts.map
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export default interface WebsitePingResponse {
2
+ status: string;
3
+ }
4
+ //# sourceMappingURL=WebsitePingResponse.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // Generated by Adibilis Java Type Generator
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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(/.+/).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),
7
+ street: zod_1.z.string().regex(/\S/).min(0).max(255),
8
+ city: zod_1.z.string().regex(/\S/).min(0).max(255),
9
+ zip: zod_1.z.string().regex(/\S/).min(0).max(40),
10
10
  country: zod_1.z.string().optional().nullable(),
11
11
  canton: zod_1.z.string().min(0).max(2).optional().nullable(),
12
12
  });
@@ -5,8 +5,8 @@ exports.StatusDefinitionRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  exports.StatusDefinitionRequestModel = zod_1.z.object({
7
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),
8
+ statusKey: zod_1.z.string().regex(/\S/).regex(/^(?:^[a-z0-9-]{1,40}$)$/),
9
+ label: zod_1.z.string().regex(/\S/).min(0).max(100),
10
10
  colour: zod_1.z.enum(['NEUTRAL', 'BLUE', 'TEAL', 'GREEN', 'YELLOW', 'PURPLE', 'RED', 'ORANGE']),
11
11
  sortOrder: zod_1.z.number().int(),
12
12
  initial: zod_1.z.boolean(),
@@ -4,6 +4,6 @@ exports.StatusEdgeRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.StatusEdgeRequestModel = zod_1.z.object({
7
- fromKey: zod_1.z.string().regex(/.+/),
8
- toKey: zod_1.z.string().regex(/.+/),
7
+ fromKey: zod_1.z.string().regex(/\S/),
8
+ toKey: zod_1.z.string().regex(/\S/),
9
9
  });
@@ -18,6 +18,7 @@ export declare const TodoCreateRequestModel: z.ZodObject<{
18
18
  INVOICE: "INVOICE";
19
19
  ORDER: "ORDER";
20
20
  SUBSCRIPTION_PLAN: "SUBSCRIPTION_PLAN";
21
+ SUBSCRIPTION: "SUBSCRIPTION";
21
22
  PURCHASE_ORDER: "PURCHASE_ORDER";
22
23
  PURCHASE_INVOICE: "PURCHASE_INVOICE";
23
24
  FORM: "FORM";
@@ -4,10 +4,10 @@ exports.TodoCreateRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.TodoCreateRequestModel = zod_1.z.object({
7
- title: zod_1.z.string().regex(/.+/).min(0).max(255),
7
+ title: zod_1.z.string().regex(/\S/).min(0).max(255),
8
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', 'SUBSCRIPTION_PLAN', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', 'SUB_PROJECT_TEMPLATE', 'RECEIPT', 'PROPERTY', 'PROPERTY_INTEREST', 'PUBLISH_PROVIDER', 'STATUS_SET', 'TODO', 'AUTOMATION_RULE', 'MAIL_INGEST_MAILBOX', 'MAIL_INGEST']).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', 'SUBSCRIPTION_PLAN', 'SUBSCRIPTION', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', 'SUB_PROJECT_TEMPLATE', 'RECEIPT', 'PROPERTY', 'PROPERTY_INTEREST', 'PUBLISH_PROVIDER', 'STATUS_SET', 'TODO', 'AUTOMATION_RULE', 'MAIL_INGEST_MAILBOX', 'MAIL_INGEST']).optional().nullable(),
11
11
  entityId: zod_1.z.number().int().optional().nullable(),
12
12
  assigneeId: zod_1.z.number().int().optional().nullable(),
13
13
  assignedRoleId: zod_1.z.number().int().optional().nullable(),
@@ -4,9 +4,9 @@ exports.TodoRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.TodoRequestModel = zod_1.z.object({
7
- title: zod_1.z.string().regex(/.+/).min(0).max(255),
7
+ title: zod_1.z.string().regex(/\S/).min(0).max(255),
8
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(),
9
+ tag: zod_1.z.string().min(0).max(40).regex(/^(?:^[a-z0-9][a-z0-9-]*$)$/).optional().nullable(),
10
10
  assigneeId: zod_1.z.number().int().optional().nullable(),
11
11
  assignedRoleId: zod_1.z.number().int().optional().nullable(),
12
12
  dueAt: zod_1.z.string().optional().nullable(),
@@ -17,6 +17,7 @@ export declare const RuleDraftRequestModel: z.ZodObject<{
17
17
  INVOICE: "INVOICE";
18
18
  ORDER: "ORDER";
19
19
  SUBSCRIPTION_PLAN: "SUBSCRIPTION_PLAN";
20
+ SUBSCRIPTION: "SUBSCRIPTION";
20
21
  PURCHASE_ORDER: "PURCHASE_ORDER";
21
22
  PURCHASE_INVOICE: "PURCHASE_INVOICE";
22
23
  FORM: "FORM";
@@ -5,8 +5,8 @@ exports.RuleDraftRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  const RuleGraphRequest_1 = require("./RuleGraphRequest");
7
7
  exports.RuleDraftRequestModel = 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
  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', 'SUBSCRIPTION_PLAN', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', 'SUB_PROJECT_TEMPLATE', 'RECEIPT', 'PROPERTY', 'PROPERTY_INTEREST', 'PUBLISH_PROVIDER', 'STATUS_SET', 'TODO', 'AUTOMATION_RULE', 'MAIL_INGEST_MAILBOX', 'MAIL_INGEST']).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', 'SUBSCRIPTION_PLAN', 'SUBSCRIPTION', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', 'SUB_PROJECT_TEMPLATE', 'RECEIPT', 'PROPERTY', 'PROPERTY_INTEREST', 'PUBLISH_PROVIDER', 'STATUS_SET', 'TODO', 'AUTOMATION_RULE', 'MAIL_INGEST_MAILBOX', 'MAIL_INGEST']).optional().nullable(),
11
11
  graph: RuleGraphRequest_1.RuleGraphRequestModel,
12
12
  });
@@ -8,7 +8,7 @@ const JsonNode_1 = require("../../../common/JsonNode");
8
8
  exports.RuleNodeRequestModel = zod_1.z.object({
9
9
  id: zod_1.z.number().int().optional().nullable(),
10
10
  type: zod_1.z.enum(['TRIGGER', 'CONDITION', 'DELAY', 'ACTION']),
11
- subtype: zod_1.z.string().regex(/.+/).min(0).max(40),
11
+ subtype: zod_1.z.string().regex(/\S/).min(0).max(40),
12
12
  pos: NodePosition_1.NodePositionModel,
13
13
  config: JsonNode_1.JsonNodeModel,
14
14
  });
@@ -15,6 +15,7 @@ export declare const RuleTestRequestModel: z.ZodObject<{
15
15
  INVOICE: "INVOICE";
16
16
  ORDER: "ORDER";
17
17
  SUBSCRIPTION_PLAN: "SUBSCRIPTION_PLAN";
18
+ SUBSCRIPTION: "SUBSCRIPTION";
18
19
  PURCHASE_ORDER: "PURCHASE_ORDER";
19
20
  PURCHASE_INVOICE: "PURCHASE_INVOICE";
20
21
  FORM: "FORM";
@@ -4,6 +4,6 @@ exports.RuleTestRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
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', 'SUBSCRIPTION_PLAN', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', 'SUB_PROJECT_TEMPLATE', 'RECEIPT', 'PROPERTY', 'PROPERTY_INTEREST', 'PUBLISH_PROVIDER', 'STATUS_SET', 'TODO', 'AUTOMATION_RULE', 'MAIL_INGEST_MAILBOX', 'MAIL_INGEST']),
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', 'SUBSCRIPTION_PLAN', 'SUBSCRIPTION', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', 'SUB_PROJECT_TEMPLATE', 'RECEIPT', 'PROPERTY', 'PROPERTY_INTEREST', 'PUBLISH_PROVIDER', 'STATUS_SET', 'TODO', 'AUTOMATION_RULE', 'MAIL_INGEST_MAILBOX', 'MAIL_INGEST']),
8
8
  entityId: zod_1.z.number().int(),
9
9
  });
@@ -4,7 +4,7 @@ exports.CategoryRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.CategoryRequestModel = zod_1.z.object({
7
- name: zod_1.z.string().regex(/.+/),
7
+ name: zod_1.z.string().regex(/\S/),
8
8
  description: zod_1.z.string().optional().nullable(),
9
9
  parentId: zod_1.z.number().int().optional().nullable(),
10
10
  markupPercent: zod_1.z.number().optional().nullable(),
@@ -5,7 +5,7 @@ exports.CategoryAttributeOptionRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  exports.CategoryAttributeOptionRequestModel = zod_1.z.lazy(() => zod_1.z.object({
7
7
  id: zod_1.z.number().int().optional().nullable(),
8
- label: zod_1.z.string().regex(/.+/).min(0).max(255),
8
+ label: zod_1.z.string().regex(/\S/).min(0).max(255),
9
9
  sortOrder: zod_1.z.number().int().optional().nullable(),
10
10
  children: zod_1.z.array(exports.CategoryAttributeOptionRequestModel).optional().nullable(),
11
11
  }));
@@ -5,7 +5,7 @@ exports.CategoryAttributeRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  const CategoryAttributeOptionRequest_1 = require("./CategoryAttributeOptionRequest");
7
7
  exports.CategoryAttributeRequestModel = 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
  description: zod_1.z.string().min(0).max(500).optional().nullable(),
10
10
  type: zod_1.z.enum(['TEXT', 'TEXTAREA', 'NUMBER', 'DATE', 'SINGLESELECT', 'MULTISELECT', 'DATERANGE', 'NUMERICALRANGE', 'KEYVALUETABLE', 'NESTEDSELECT', 'CHECKBOX']),
11
11
  usage: zod_1.z.enum(['PRODUCT', 'PROJECT', 'SUB_PROJECT']).optional().nullable(),
@@ -7,7 +7,7 @@ const FileDto_1 = require("../FileDto");
7
7
  const AddressDto_1 = require("../AddressDto");
8
8
  const AttributeValueRequest_1 = require("../categoryattribute/value/AttributeValueRequest");
9
9
  exports.CompanyRequestModel = zod_1.z.object({
10
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
10
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
11
11
  image: FileDto_1.FileDtoModel.optional().nullable(),
12
12
  address: AddressDto_1.AddressDtoModel.optional().nullable(),
13
13
  email: zod_1.z.string().email().optional().nullable(),
@@ -7,7 +7,7 @@ const FileDto_1 = require("../FileDto");
7
7
  const AddressDto_1 = require("../AddressDto");
8
8
  const AttributeValueRequest_1 = require("../categoryattribute/value/AttributeValueRequest");
9
9
  exports.CreateCompanyRequestModel = zod_1.z.object({
10
- name: zod_1.z.string().regex(/.+/).min(0).max(255),
10
+ name: zod_1.z.string().regex(/\S/).min(0).max(255),
11
11
  image: FileDto_1.FileDtoModel.optional().nullable(),
12
12
  address: AddressDto_1.AddressDtoModel.optional().nullable(),
13
13
  email: zod_1.z.string().email().optional().nullable(),
@@ -6,8 +6,8 @@ const zod_1 = require("zod");
6
6
  const AddressDto_1 = require("../AddressDto");
7
7
  const AttributeValueRequest_1 = require("../categoryattribute/value/AttributeValueRequest");
8
8
  exports.ContactRequestModel = zod_1.z.object({
9
- firstname: zod_1.z.string().regex(/.+/).min(0).max(255),
10
- lastname: zod_1.z.string().regex(/.+/).min(0).max(255),
9
+ firstname: zod_1.z.string().regex(/\S/).min(0).max(255),
10
+ lastname: zod_1.z.string().regex(/\S/).min(0).max(255),
11
11
  salutation: zod_1.z.enum(['MR', 'MS']).optional().nullable(),
12
12
  correspondenceLanguage: zod_1.z.enum(['DE', 'FR', 'IT', 'EN']).optional().nullable(),
13
13
  phone: zod_1.z.string().optional().nullable(),
@@ -5,10 +5,10 @@ exports.ProfileContactRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  const AddressDto_1 = require("../AddressDto");
7
7
  exports.ProfileContactRequestModel = zod_1.z.object({
8
- firstname: zod_1.z.string().regex(/.+/).min(0).max(255),
9
- lastname: zod_1.z.string().regex(/.+/).min(0).max(255),
8
+ firstname: zod_1.z.string().regex(/\S/).min(0).max(255),
9
+ lastname: zod_1.z.string().regex(/\S/).min(0).max(255),
10
10
  salutation: zod_1.z.enum(['MR', 'MS']),
11
11
  correspondenceLanguage: zod_1.z.enum(['DE', 'FR', 'IT', 'EN']).optional().nullable(),
12
- phone: zod_1.z.string().regex(/.+/),
12
+ phone: zod_1.z.string().regex(/\S/),
13
13
  address: AddressDto_1.AddressDtoModel.optional().nullable(),
14
14
  });
@@ -4,7 +4,7 @@ exports.ContactGroupRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.ContactGroupRequestModel = 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(1000).optional().nullable(),
9
9
  memberLabel: zod_1.z.string().min(0).max(100).optional().nullable(),
10
10
  canSignUp: zod_1.z.boolean().optional().nullable(),
@@ -4,5 +4,5 @@ exports.MembershipStatusRequestModel = void 0;
4
4
  // Generated by Adibilis Java Type Generator
5
5
  const zod_1 = require("zod");
6
6
  exports.MembershipStatusRequestModel = zod_1.z.object({
7
- status: zod_1.z.string().regex(/.+/),
7
+ status: zod_1.z.string().regex(/\S/),
8
8
  });
@@ -5,7 +5,7 @@ exports.ContactGroupAttributeOptionRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  exports.ContactGroupAttributeOptionRequestModel = zod_1.z.lazy(() => zod_1.z.object({
7
7
  id: zod_1.z.number().int().optional().nullable(),
8
- label: zod_1.z.string().regex(/.+/).min(0).max(255),
8
+ label: zod_1.z.string().regex(/\S/).min(0).max(255),
9
9
  sortOrder: zod_1.z.number().int().optional().nullable(),
10
10
  children: zod_1.z.array(exports.ContactGroupAttributeOptionRequestModel).optional().nullable(),
11
11
  }));
@@ -5,7 +5,7 @@ exports.ContactGroupAttributeRequestModel = void 0;
5
5
  const zod_1 = require("zod");
6
6
  const ContactGroupAttributeOptionRequest_1 = require("./ContactGroupAttributeOptionRequest");
7
7
  exports.ContactGroupAttributeRequestModel = 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
  description: zod_1.z.string().min(0).max(500).optional().nullable(),
10
10
  type: zod_1.z.enum(['TEXT', 'TEXTAREA', 'NUMBER', 'DATE', 'SINGLESELECT', 'MULTISELECT', 'DATERANGE', 'NUMERICALRANGE', 'KEYVALUETABLE', 'NESTEDSELECT', 'CHECKBOX']),
11
11
  selectOptions: zod_1.z.array(ContactGroupAttributeOptionRequest_1.ContactGroupAttributeOptionRequestModel).optional().nullable(),
@@ -0,0 +1,9 @@
1
+ import { z } from 'zod';
2
+ export declare const CustomerAddressRequestModel: z.ZodObject<{
3
+ street: z.ZodString;
4
+ postalCode: z.ZodString;
5
+ city: z.ZodString;
6
+ country: z.ZodString;
7
+ }, z.core.$strip>;
8
+ export type CustomerAddressRequest = z.infer<typeof CustomerAddressRequestModel>;
9
+ //# sourceMappingURL=CustomerAddressRequest.d.ts.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomerAddressRequestModel = void 0;
4
+ // Generated by Adibilis Java Type Generator
5
+ const zod_1 = require("zod");
6
+ exports.CustomerAddressRequestModel = zod_1.z.object({
7
+ street: zod_1.z.string().regex(/\S/).min(0).max(200),
8
+ postalCode: zod_1.z.string().regex(/\S/).min(0).max(20),
9
+ city: zod_1.z.string().regex(/\S/).min(0).max(100),
10
+ country: zod_1.z.string().regex(/\S/).regex(/^(?:[A-Za-z]{2})$/),
11
+ });
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ export declare const CustomerCancelRequestModel: z.ZodObject<{
3
+ atPeriodEnd: z.ZodBoolean;
4
+ }, z.core.$strip>;
5
+ export type CustomerCancelRequest = z.infer<typeof CustomerCancelRequestModel>;
6
+ //# sourceMappingURL=CustomerCancelRequest.d.ts.map
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomerCancelRequestModel = void 0;
4
+ // Generated by Adibilis Java Type Generator
5
+ const zod_1 = require("zod");
6
+ exports.CustomerCancelRequestModel = zod_1.z.object({
7
+ atPeriodEnd: zod_1.z.boolean(),
8
+ });
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const CustomerConfigurationRequestModel: z.ZodObject<{
3
+ configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4
+ configurationText: z.ZodString;
5
+ unitAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6
+ }, z.core.$strip>;
7
+ export type CustomerConfigurationRequest = z.infer<typeof CustomerConfigurationRequestModel>;
8
+ //# sourceMappingURL=CustomerConfigurationRequest.d.ts.map
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomerConfigurationRequestModel = void 0;
4
+ // Generated by Adibilis Java Type Generator
5
+ const zod_1 = require("zod");
6
+ exports.CustomerConfigurationRequestModel = zod_1.z.object({
7
+ configuration: zod_1.z.string().min(0).max(8192).optional().nullable(),
8
+ configurationText: zod_1.z.string().regex(/\S/).min(0).max(500),
9
+ unitAmount: zod_1.z.number().optional().nullable(),
10
+ });
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ export declare const CustomerDeliveryPersonChangeRequestModel: z.ZodObject<{
3
+ deliveryPerson: z.ZodObject<{
4
+ firstname: z.ZodString;
5
+ lastname: z.ZodString;
6
+ phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
+ address: z.ZodObject<{
8
+ street: z.ZodString;
9
+ postalCode: z.ZodString;
10
+ city: z.ZodString;
11
+ country: z.ZodString;
12
+ }, z.core.$strip>;
13
+ }, z.core.$strip>;
14
+ }, z.core.$strip>;
15
+ export type CustomerDeliveryPersonChangeRequest = z.infer<typeof CustomerDeliveryPersonChangeRequestModel>;
16
+ //# sourceMappingURL=CustomerDeliveryPersonChangeRequest.d.ts.map
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomerDeliveryPersonChangeRequestModel = void 0;
4
+ // Generated by Adibilis Java Type Generator
5
+ const zod_1 = require("zod");
6
+ const CustomerDeliveryPersonRequest_1 = require("./CustomerDeliveryPersonRequest");
7
+ exports.CustomerDeliveryPersonChangeRequestModel = zod_1.z.object({
8
+ deliveryPerson: CustomerDeliveryPersonRequest_1.CustomerDeliveryPersonRequestModel,
9
+ });
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ export declare const CustomerDeliveryPersonRequestModel: z.ZodObject<{
3
+ firstname: z.ZodString;
4
+ lastname: z.ZodString;
5
+ phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6
+ address: z.ZodObject<{
7
+ street: z.ZodString;
8
+ postalCode: z.ZodString;
9
+ city: z.ZodString;
10
+ country: z.ZodString;
11
+ }, z.core.$strip>;
12
+ }, z.core.$strip>;
13
+ export type CustomerDeliveryPersonRequest = z.infer<typeof CustomerDeliveryPersonRequestModel>;
14
+ //# sourceMappingURL=CustomerDeliveryPersonRequest.d.ts.map
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomerDeliveryPersonRequestModel = void 0;
4
+ // Generated by Adibilis Java Type Generator
5
+ const zod_1 = require("zod");
6
+ const CustomerAddressRequest_1 = require("./CustomerAddressRequest");
7
+ exports.CustomerDeliveryPersonRequestModel = zod_1.z.object({
8
+ firstname: zod_1.z.string().regex(/\S/).min(0).max(100),
9
+ lastname: zod_1.z.string().regex(/\S/).min(0).max(100),
10
+ phone: zod_1.z.string().min(0).max(40).optional().nullable(),
11
+ address: CustomerAddressRequest_1.CustomerAddressRequestModel,
12
+ });
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ export declare const CustomerLoginLinkRequestModel: z.ZodObject<{
3
+ email: z.ZodString;
4
+ returnUrl: z.ZodString;
5
+ language: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
6
+ DE: "DE";
7
+ FR: "FR";
8
+ IT: "IT";
9
+ EN: "EN";
10
+ }>>>;
11
+ shopName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ export type CustomerLoginLinkRequest = z.infer<typeof CustomerLoginLinkRequestModel>;
14
+ //# sourceMappingURL=CustomerLoginLinkRequest.d.ts.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomerLoginLinkRequestModel = void 0;
4
+ // Generated by Adibilis Java Type Generator
5
+ const zod_1 = require("zod");
6
+ exports.CustomerLoginLinkRequestModel = zod_1.z.object({
7
+ email: zod_1.z.string().regex(/\S/).email().min(0).max(254),
8
+ returnUrl: zod_1.z.string().regex(/\S/).min(0).max(2048),
9
+ language: zod_1.z.enum(['DE', 'FR', 'IT', 'EN']).optional().nullable(),
10
+ shopName: zod_1.z.string().min(0).max(80).optional().nullable(),
11
+ });
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ export declare const CustomerPauseRequestModel: z.ZodObject<{
3
+ resumesAt: z.ZodString;
4
+ }, z.core.$strip>;
5
+ export type CustomerPauseRequest = z.infer<typeof CustomerPauseRequestModel>;
6
+ //# sourceMappingURL=CustomerPauseRequest.d.ts.map
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomerPauseRequestModel = void 0;
4
+ // Generated by Adibilis Java Type Generator
5
+ const zod_1 = require("zod");
6
+ exports.CustomerPauseRequestModel = zod_1.z.object({
7
+ resumesAt: zod_1.z.string(),
8
+ });
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ export declare const CustomerPaymentMethodRequestModel: z.ZodObject<{
3
+ setupIntentId: z.ZodString;
4
+ }, z.core.$strip>;
5
+ export type CustomerPaymentMethodRequest = z.infer<typeof CustomerPaymentMethodRequestModel>;
6
+ //# sourceMappingURL=CustomerPaymentMethodRequest.d.ts.map