@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.
- package/dist/index.d.ts +72 -0
- package/dist/index.js +48 -0
- package/dist/types/CustomerAddressResponse.d.ts +9 -0
- package/dist/types/CustomerAddressResponse.js +3 -0
- package/dist/types/CustomerDeliveryResponse.d.ts +10 -0
- package/dist/types/CustomerDeliveryResponse.js +2 -0
- package/dist/types/CustomerPaymentMethodResponse.d.ts +8 -0
- package/dist/types/CustomerPaymentMethodResponse.js +3 -0
- package/dist/types/CustomerPaymentMethodSetupResponse.d.ts +5 -0
- package/dist/types/CustomerPaymentMethodSetupResponse.js +3 -0
- package/dist/types/CustomerPaymentMethodUpdateResponse.d.ts +8 -0
- package/dist/types/CustomerPaymentMethodUpdateResponse.js +2 -0
- package/dist/types/CustomerPlanResponse.d.ts +6 -0
- package/dist/types/CustomerPlanResponse.js +3 -0
- package/dist/types/CustomerProfileResponse.d.ts +6 -0
- package/dist/types/CustomerProfileResponse.js +3 -0
- package/dist/types/CustomerSessionResponse.d.ts +7 -0
- package/dist/types/CustomerSessionResponse.js +2 -0
- package/dist/types/CustomerSubscriptionDetailResponse.d.ts +39 -0
- package/dist/types/CustomerSubscriptionDetailResponse.js +2 -0
- package/dist/types/CustomerSubscriptionResponse.d.ts +20 -0
- package/dist/types/CustomerSubscriptionResponse.js +2 -0
- package/dist/types/CustomerTransactionResponse.d.ts +14 -0
- package/dist/types/CustomerTransactionResponse.js +2 -0
- package/dist/types/DynamicSubscriptionSettingsResponse.d.ts +8 -0
- package/dist/types/DynamicSubscriptionSettingsResponse.js +2 -0
- package/dist/types/OrderResponse.d.ts +2 -0
- package/dist/types/PaymentSettingsResponse.d.ts +4 -0
- package/dist/types/PropertyFilterRequest.d.ts +1 -0
- package/dist/types/PropertyInterestFilterRequest.d.ts +2 -0
- package/dist/types/PropertyResponse.d.ts +1 -0
- package/dist/types/ShopSubscriptionPlanResponse.d.ts +6 -5
- package/dist/types/SubscriptionCheckoutResponse.d.ts +21 -0
- package/dist/types/SubscriptionCheckoutResponse.js +2 -0
- package/dist/types/SubscriptionDeliveryResponse.d.ts +12 -0
- package/dist/types/SubscriptionDeliveryResponse.js +2 -0
- package/dist/types/SubscriptionFilterRequest.d.ts +9 -0
- package/dist/types/SubscriptionFilterRequest.js +2 -0
- package/dist/types/SubscriptionHealthResponse.d.ts +7 -0
- package/dist/types/SubscriptionHealthResponse.js +2 -0
- package/dist/types/SubscriptionPauseRequest.d.ts +4 -0
- package/dist/types/SubscriptionPauseRequest.js +3 -0
- package/dist/types/SubscriptionPeriodResponse.d.ts +14 -0
- package/dist/types/SubscriptionPeriodResponse.js +2 -0
- package/dist/types/SubscriptionPlanResponse.d.ts +2 -0
- package/dist/types/SubscriptionPlanStripeMirrorResponse.d.ts +8 -0
- package/dist/types/SubscriptionPlanStripeMirrorResponse.js +2 -0
- package/dist/types/SubscriptionPlanStripePriceMirrorResponse.d.ts +5 -0
- package/dist/types/SubscriptionPlanStripePriceMirrorResponse.js +3 -0
- package/dist/types/SubscriptionReconcileRunResponse.d.ts +9 -0
- package/dist/types/SubscriptionReconcileRunResponse.js +3 -0
- package/dist/types/SubscriptionResponse.d.ts +47 -0
- package/dist/types/SubscriptionResponse.js +2 -0
- package/dist/types/SubscriptionStatusResponse.d.ts +12 -0
- package/dist/types/SubscriptionStatusResponse.js +2 -0
- package/dist/types/WebsitePingResponse.d.ts +4 -0
- package/dist/types/WebsitePingResponse.js +3 -0
- package/dist/types/dto/AddressDto.js +3 -3
- package/dist/types/dto/automation/StatusDefinitionRequest.js +2 -2
- package/dist/types/dto/automation/StatusEdgeRequest.js +2 -2
- package/dist/types/dto/automation/TodoCreateRequest.d.ts +1 -0
- package/dist/types/dto/automation/TodoCreateRequest.js +3 -3
- package/dist/types/dto/automation/TodoRequest.js +2 -2
- package/dist/types/dto/automation/rule/RuleDraftRequest.d.ts +1 -0
- package/dist/types/dto/automation/rule/RuleDraftRequest.js +2 -2
- package/dist/types/dto/automation/rule/RuleNodeRequest.js +1 -1
- package/dist/types/dto/automation/rule/RuleTestRequest.d.ts +1 -0
- package/dist/types/dto/automation/rule/RuleTestRequest.js +1 -1
- package/dist/types/dto/category/CategoryRequest.js +1 -1
- package/dist/types/dto/categoryattribute/CategoryAttributeOptionRequest.js +1 -1
- package/dist/types/dto/categoryattribute/CategoryAttributeRequest.js +1 -1
- package/dist/types/dto/company/CompanyRequest.js +1 -1
- package/dist/types/dto/company/CreateCompanyRequest.js +1 -1
- package/dist/types/dto/contact/ContactRequest.js +2 -2
- package/dist/types/dto/contact/ProfileContactRequest.js +3 -3
- package/dist/types/dto/contactgroup/ContactGroupRequest.js +1 -1
- package/dist/types/dto/contactgroup/MembershipStatusRequest.js +1 -1
- package/dist/types/dto/contactgroupattribute/ContactGroupAttributeOptionRequest.js +1 -1
- package/dist/types/dto/contactgroupattribute/ContactGroupAttributeRequest.js +1 -1
- package/dist/types/dto/customer/CustomerAddressRequest.d.ts +9 -0
- package/dist/types/dto/customer/CustomerAddressRequest.js +11 -0
- package/dist/types/dto/customer/CustomerCancelRequest.d.ts +6 -0
- package/dist/types/dto/customer/CustomerCancelRequest.js +8 -0
- package/dist/types/dto/customer/CustomerConfigurationRequest.d.ts +8 -0
- package/dist/types/dto/customer/CustomerConfigurationRequest.js +10 -0
- package/dist/types/dto/customer/CustomerDeliveryPersonChangeRequest.d.ts +16 -0
- package/dist/types/dto/customer/CustomerDeliveryPersonChangeRequest.js +9 -0
- package/dist/types/dto/customer/CustomerDeliveryPersonRequest.d.ts +14 -0
- package/dist/types/dto/customer/CustomerDeliveryPersonRequest.js +12 -0
- package/dist/types/dto/customer/CustomerLoginLinkRequest.d.ts +14 -0
- package/dist/types/dto/customer/CustomerLoginLinkRequest.js +11 -0
- package/dist/types/dto/customer/CustomerPauseRequest.d.ts +6 -0
- package/dist/types/dto/customer/CustomerPauseRequest.js +8 -0
- package/dist/types/dto/customer/CustomerPaymentMethodRequest.d.ts +6 -0
- package/dist/types/dto/customer/CustomerPaymentMethodRequest.js +8 -0
- package/dist/types/dto/customer/CustomerPlanChangeRequest.d.ts +6 -0
- package/dist/types/dto/customer/CustomerPlanChangeRequest.js +8 -0
- package/dist/types/dto/customer/CustomerScheduleRequest.d.ts +25 -0
- package/dist/types/dto/customer/CustomerScheduleRequest.js +9 -0
- package/dist/types/dto/customer/CustomerSessionRequest.d.ts +6 -0
- package/dist/types/dto/customer/CustomerSessionRequest.js +8 -0
- package/dist/types/dto/enums/ApplicationError.d.ts +29 -0
- package/dist/types/dto/enums/ApplicationError.js +1 -1
- package/dist/types/dto/enums/EntityKind.d.ts +1 -0
- package/dist/types/dto/enums/EntityKind.js +1 -1
- package/dist/types/dto/enums/SettingIdentifier.d.ts +8 -0
- package/dist/types/dto/enums/SettingIdentifier.js +1 -1
- package/dist/types/dto/enums/automation/TriggerEvent.d.ts +4 -0
- package/dist/types/dto/enums/automation/TriggerEvent.js +1 -1
- package/dist/types/dto/enums/customer/CustomerPaymentRetry.d.ts +10 -0
- package/dist/types/dto/enums/customer/CustomerPaymentRetry.js +6 -0
- package/dist/types/dto/enums/customer/CustomerTransactionKind.d.ts +7 -0
- package/dist/types/dto/enums/customer/CustomerTransactionKind.js +6 -0
- package/dist/types/dto/enums/mail/EmailTemplateType.d.ts +2 -0
- package/dist/types/dto/enums/mail/EmailTemplateType.js +1 -1
- package/dist/types/dto/enums/mail/PlaceholderGroup.d.ts +2 -0
- package/dist/types/dto/enums/mail/PlaceholderGroup.js +1 -1
- package/dist/types/dto/enums/payment/PaymentStatus.d.ts +1 -1
- package/dist/types/dto/enums/property/PricingModel.d.ts +2 -2
- package/dist/types/dto/enums/property/PublishImportStatus.d.ts +1 -1
- package/dist/types/dto/enums/sales/OrderSource.d.ts +1 -0
- package/dist/types/dto/enums/sales/OrderSource.js +1 -1
- package/dist/types/dto/enums/subscription/SchedulePatternKind.d.ts +1 -1
- package/dist/types/dto/enums/subscription/SubscriptionDeliverySkipReason.d.ts +8 -0
- package/dist/types/dto/enums/subscription/SubscriptionDeliverySkipReason.js +6 -0
- package/dist/types/dto/enums/subscription/SubscriptionDeliveryStatus.d.ts +9 -0
- package/dist/types/dto/enums/subscription/SubscriptionDeliveryStatus.js +6 -0
- package/dist/types/dto/enums/subscription/SubscriptionPeriodStatus.d.ts +9 -0
- package/dist/types/dto/enums/subscription/SubscriptionPeriodStatus.js +6 -0
- package/dist/types/dto/enums/subscription/SubscriptionSecretKind.d.ts +7 -0
- package/dist/types/dto/enums/subscription/SubscriptionSecretKind.js +6 -0
- package/dist/types/dto/enums/subscription/SubscriptionStatus.d.ts +10 -0
- package/dist/types/dto/enums/subscription/SubscriptionStatus.js +6 -0
- package/dist/types/dto/form/FormFieldOptionRequest.js +2 -2
- package/dist/types/dto/form/FormFieldRequest.js +1 -1
- package/dist/types/dto/form/FormItemRequest.js +1 -1
- package/dist/types/dto/form/FormRequest.js +1 -1
- package/dist/types/dto/form/FormSectionRequest.js +1 -1
- package/dist/types/dto/inquiry/InquiryRequest.js +1 -1
- package/dist/types/dto/inventory/InventoryRequest.js +3 -3
- package/dist/types/dto/inventory/InventorySpotRequest.js +1 -1
- package/dist/types/dto/inventory/InventoryTransferRequest.js +1 -1
- package/dist/types/dto/mail/EmailAccountRequest.js +2 -2
- package/dist/types/dto/mail/EmailSignatureRequest.js +2 -2
- package/dist/types/dto/mail/EmailTemplatePreviewRequest.d.ts +3 -0
- package/dist/types/dto/mail/EmailTemplatePreviewRequest.js +2 -2
- package/dist/types/dto/mail/EmailTemplateRequest.d.ts +2 -0
- package/dist/types/dto/mail/EmailTemplateRequest.js +2 -2
- package/dist/types/dto/payment/CheckoutRequest.js +1 -1
- package/dist/types/dto/payment/DynamicSubscriptionSettingsRequest.d.ts +63 -0
- package/dist/types/dto/payment/DynamicSubscriptionSettingsRequest.js +12 -0
- package/dist/types/dto/payment/PaymentAccountRequest.js +1 -1
- package/dist/types/dto/payment/PaymentSettingsRequest.d.ts +60 -0
- package/dist/types/dto/payment/PaymentSettingsRequest.js +3 -1
- package/dist/types/dto/permission/GroupRoleRequest.js +1 -1
- package/dist/types/dto/product/ProductPriceRequest.js +1 -1
- package/dist/types/dto/product/ProductRequest.js +3 -3
- package/dist/types/dto/project/ProjectPricingScenarioRequest.js +1 -1
- package/dist/types/dto/project/ProjectRequest.js +1 -1
- package/dist/types/dto/project/ProjectSubProjectNode.js +2 -2
- package/dist/types/dto/project/ProjectSubProjectRequest.js +1 -1
- package/dist/types/dto/project/ProjectTaskNode.js +2 -2
- package/dist/types/dto/project/ProjectTaskRequest.js +1 -1
- package/dist/types/dto/project/ProjectTemplateRequest.js +1 -1
- package/dist/types/dto/project/SubProjectTemplateRequest.js +1 -1
- package/dist/types/dto/project/SubProjectTemplateTaskNode.js +2 -2
- package/dist/types/dto/property/PropertiesSettingsRequest.js +3 -3
- package/dist/types/dto/property/PropertyEnquiryRequest.js +3 -3
- package/dist/types/dto/property/PropertyInterestRequest.js +1 -1
- package/dist/types/dto/property/PropertyInterestStatusRequest.js +1 -1
- package/dist/types/dto/property/PropertyLeadRequest.js +1 -1
- package/dist/types/dto/property/PropertyLeadRequestContact.js +4 -4
- package/dist/types/dto/property/PropertyRequest.d.ts +2 -2
- package/dist/types/dto/property/PropertyRequest.js +2 -2
- package/dist/types/dto/property/PublishProviderRequest.js +2 -2
- package/dist/types/dto/property/ingest/MailIngestMailboxRequest.js +4 -4
- package/dist/types/dto/property/ingest/MailIngestMailboxTestRequest.js +2 -2
- package/dist/types/dto/purchase/PurchaseInvoiceRequest.js +1 -1
- package/dist/types/dto/purchase/PurchaseOrderStatusRequest.d.ts +1 -1
- package/dist/types/dto/receipt/ReceiptRejectRequest.js +1 -1
- package/dist/types/dto/sales/CreditNoteLineRequest.js +1 -1
- package/dist/types/dto/sales/OrderForwardingRuleRequest.js +3 -3
- package/dist/types/dto/sales/SalesDocumentMailRequest.js +1 -1
- package/dist/types/dto/sales/ingest/OrderIngestPersonRequest.js +3 -3
- package/dist/types/dto/sales/ingest/OrderIngestRequest.js +3 -3
- package/dist/types/dto/security/EmailChangeRequest.js +1 -1
- package/dist/types/dto/security/InviteAcceptRequest.js +3 -3
- package/dist/types/dto/security/OauthGoogleConfirmRequest.js +1 -1
- package/dist/types/dto/security/OauthM365ConfirmRequest.js +1 -1
- package/dist/types/dto/security/PasswordResetRequest.js +3 -3
- package/dist/types/dto/security/PasswordVerifyRequest.js +1 -1
- package/dist/types/dto/security/SignInRequest.js +2 -2
- package/dist/types/dto/security/SignUpRequest.js +1 -1
- package/dist/types/dto/storage/batch/BatchRequest.js +2 -2
- package/dist/types/dto/storage/batchstoragesite/BatchStorageSiteRequest.js +1 -1
- package/dist/types/dto/storage/productregion/ProductRegionRequest.js +1 -1
- package/dist/types/dto/storage/storagesite/StorageSiteRequest.js +2 -2
- package/dist/types/dto/subscription/DynamicSubscriptionRequest.d.ts +33 -0
- package/dist/types/dto/subscription/DynamicSubscriptionRequest.js +12 -0
- package/dist/types/dto/subscription/ScheduleDefinition.d.ts +2 -2
- package/dist/types/dto/subscription/SchedulePattern.d.ts +1 -1
- package/dist/types/dto/subscription/SubscriptionCancelRequest.d.ts +6 -0
- package/dist/types/dto/subscription/SubscriptionCancelRequest.js +8 -0
- package/dist/types/dto/subscription/SubscriptionCheckoutRequest.d.ts +96 -0
- package/dist/types/dto/subscription/SubscriptionCheckoutRequest.js +26 -0
- package/dist/types/dto/subscription/SubscriptionDeliveryContactRequest.d.ts +6 -0
- package/dist/types/dto/subscription/SubscriptionDeliveryContactRequest.js +8 -0
- package/dist/types/dto/subscription/SubscriptionPlanPriceRequest.js +1 -1
- package/dist/types/dto/subscription/SubscriptionPlanRequest.d.ts +2 -2
- package/dist/types/dto/subscription/SubscriptionPlanRequest.js +1 -1
- package/dist/types/dto/subscription/SubscriptionScheduleRequest.d.ts +25 -0
- package/dist/types/dto/subscription/SubscriptionScheduleRequest.js +9 -0
- package/dist/types/dto/user/UserReplaceRequest.js +2 -2
- package/dist/types/dto/user/UserRequest.js +2 -2
- package/dist/types/entity/purchase/PurchaseOrderStatus.d.ts +1 -1
- 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,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
|
|
@@ -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,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,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
|
|
@@ -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(/\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(
|
|
9
|
-
label: zod_1.z.string().regex(
|
|
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(
|
|
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-]
|
|
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(
|
|
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-]
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
10
|
-
lastname: zod_1.z.string().regex(
|
|
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(
|
|
9
|
-
lastname: zod_1.z.string().regex(
|
|
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(
|
|
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(),
|
|
@@ -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(
|
|
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(
|
|
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,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
|