@adbls/api-types 1.6.4 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +18 -3
- package/dist/index.js +13 -3
- package/dist/types/AutomationRuleResponse.d.ts +2 -0
- package/dist/types/AutomationRuleRow.d.ts +1 -0
- package/dist/types/CheckoutResponse.d.ts +7 -5
- package/dist/types/CurrencyAmount.d.ts +5 -0
- package/dist/types/CurrencyAmount.js +3 -0
- package/dist/types/CustomerSummaryResponse.d.ts +3 -2
- package/dist/types/CustomerSummaryResponse.js +0 -1
- package/dist/types/EmailTemplateResponse.d.ts +6 -0
- package/dist/types/FormAnswerEntry.d.ts +2 -0
- package/dist/types/InvoiceLineItemResponse.d.ts +1 -0
- package/dist/types/InvoiceResponse.d.ts +3 -0
- package/dist/types/OauthM365MailStatusResponse.d.ts +3 -3
- package/dist/types/OauthM365StatusResponse.d.ts +3 -3
- package/dist/types/OfferLineItemResponse.d.ts +1 -0
- package/dist/types/OrderLineItemResponse.d.ts +1 -0
- package/dist/types/OrderResponse.d.ts +4 -0
- package/dist/types/ProjectCostBlockResponse.d.ts +1 -0
- package/dist/types/ProjectCostSubProjectResponse.d.ts +2 -0
- package/dist/types/ProjectCostTaskResponse.d.ts +2 -0
- package/dist/types/ProjectFilterRequest.d.ts +1 -0
- package/dist/types/ProjectReceiptCounts.d.ts +5 -0
- package/dist/types/ProjectReceiptCounts.js +3 -0
- package/dist/types/ProjectResponse.d.ts +3 -0
- package/dist/types/ProjectTemplateEntryResponse.d.ts +11 -0
- package/dist/types/ProjectTemplateEntryResponse.js +2 -0
- package/dist/types/ProjectTemplateResponse.d.ts +2 -2
- package/dist/types/RenderedAttachmentResponse.d.ts +1 -0
- package/dist/types/SubProjectTemplateResponse.d.ts +16 -0
- package/dist/types/SubProjectTemplateResponse.js +2 -0
- package/dist/types/SubProjectTemplateSelectOption.d.ts +5 -0
- package/dist/types/SubProjectTemplateSelectOption.js +3 -0
- package/dist/types/TodoResponse.d.ts +9 -0
- package/dist/types/dto/automation/TodoCreateRequest.d.ts +7 -0
- package/dist/types/dto/automation/TodoCreateRequest.js +3 -1
- package/dist/types/dto/automation/rule/RuleDraftRequest.d.ts +1 -0
- package/dist/types/dto/automation/rule/RuleDraftRequest.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/enums/ApplicationError.d.ts +13 -1
- 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/HistoryRefTarget.d.ts +1 -0
- package/dist/types/dto/enums/HistoryRefTarget.js +1 -1
- package/dist/types/dto/enums/SettingIdentifier.d.ts +4 -0
- package/dist/types/dto/enums/SettingIdentifier.js +1 -1
- package/dist/types/dto/enums/automation/RuleValidationCode.d.ts +2 -0
- package/dist/types/dto/enums/automation/RuleValidationCode.js +1 -1
- package/dist/types/dto/enums/automation/TodoAction.d.ts +8 -0
- package/dist/types/{service/security/m365/M365MailStatus.js → dto/enums/automation/TodoAction.js} +2 -2
- package/dist/types/dto/enums/mail/EmailFontFamily.d.ts +13 -0
- package/dist/types/dto/enums/mail/EmailFontFamily.js +6 -0
- package/dist/types/dto/enums/mail/EmailFontSize.d.ts +9 -0
- package/dist/types/dto/enums/mail/EmailFontSize.js +6 -0
- package/dist/types/dto/enums/mail/EmailTemplateType.d.ts +1 -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/mail/TemplateAttachmentSlot.d.ts +1 -0
- package/dist/types/dto/enums/mail/TemplateAttachmentSlot.js +1 -1
- package/dist/types/dto/enums/sales/InvoiceStatus.d.ts +1 -0
- package/dist/types/dto/enums/sales/InvoiceStatus.js +1 -1
- package/dist/types/dto/enums/validation/ValidatorGroup.d.ts +3 -0
- package/dist/types/dto/enums/validation/ValidatorGroup.js +1 -1
- package/dist/types/dto/mail/EmailTemplatePreviewRequest.d.ts +3 -0
- package/dist/types/dto/mail/EmailTemplatePreviewRequest.js +3 -3
- package/dist/types/dto/mail/EmailTemplateRequest.d.ts +18 -0
- package/dist/types/dto/mail/EmailTemplateRequest.js +4 -2
- package/dist/types/dto/payment/CheckoutRequest.d.ts +2 -0
- package/dist/types/dto/payment/CheckoutRequest.js +2 -0
- package/dist/types/dto/payment/PaymentSettingsRequest.js +1 -1
- package/dist/types/dto/product/ProductPriceRequest.js +1 -1
- package/dist/types/dto/project/ProjectCostBlockRequest.d.ts +1 -0
- package/dist/types/dto/project/ProjectCostBlockRequest.js +1 -0
- package/dist/types/dto/project/ProjectCostSubProjectNode.d.ts +2 -0
- package/dist/types/dto/project/ProjectCostTaskNode.d.ts +1 -0
- package/dist/types/dto/project/ProjectCostsRequest.d.ts +3 -0
- package/dist/types/dto/project/ProjectCreateRequest.d.ts +2 -1
- package/dist/types/dto/project/ProjectCreateRequest.js +2 -1
- package/dist/types/dto/project/ProjectRequest.d.ts +1 -0
- package/dist/types/dto/project/ProjectRequest.js +1 -0
- package/dist/types/dto/project/ProjectTemplateRequest.d.ts +1 -22
- package/dist/types/dto/project/ProjectTemplateRequest.js +1 -2
- package/dist/types/dto/project/{ProjectTemplateSubProjectNode.d.ts → SubProjectTemplateRequest.d.ts} +6 -6
- package/dist/types/dto/project/SubProjectTemplateRequest.js +14 -0
- package/dist/types/dto/project/{ProjectTemplateTaskNode.d.ts → SubProjectTemplateTaskNode.d.ts} +4 -3
- package/dist/types/dto/project/{ProjectTemplateTaskNode.js → SubProjectTemplateTaskNode.js} +4 -3
- package/dist/types/dto/property/PropertiesSettingsRequest.js +1 -1
- package/dist/types/dto/property/PropertyRequest.js +1 -1
- package/dist/types/dto/sales/InvoiceStatusRequest.d.ts +1 -0
- package/dist/types/dto/sales/InvoiceStatusRequest.js +1 -1
- package/dist/types/dto/sales/OrderCreateLineItemRequest.d.ts +16 -0
- package/dist/types/dto/sales/OrderCreateLineItemRequest.js +11 -0
- package/dist/types/dto/sales/OrderCreateRequest.d.ts +29 -0
- package/dist/types/dto/sales/OrderCreateRequest.js +15 -0
- package/dist/types/service/mail/provider/MailProviderGrant.d.ts +8 -0
- package/dist/types/service/mail/provider/MailProviderGrant.js +6 -0
- package/package.json +1 -1
- package/dist/types/dto/project/ProjectTemplateSubProjectNode.js +0 -15
- package/dist/types/service/security/m365/M365MailStatus.d.ts +0 -8
package/dist/index.d.ts
CHANGED
|
@@ -146,6 +146,8 @@ export * from './types/ContactResponse';
|
|
|
146
146
|
export { default as ContactResponse } from './types/ContactResponse';
|
|
147
147
|
export * from './types/CreateContactResponse';
|
|
148
148
|
export { default as CreateContactResponse } from './types/CreateContactResponse';
|
|
149
|
+
export * from './types/CurrencyAmount';
|
|
150
|
+
export { default as CurrencyAmount } from './types/CurrencyAmount';
|
|
149
151
|
export * from './types/CustomerResponse';
|
|
150
152
|
export { default as CustomerResponse } from './types/CustomerResponse';
|
|
151
153
|
export * from './types/CustomerSummaryResponse';
|
|
@@ -388,12 +390,16 @@ export * from './types/ProjectPricingScenarioResponse';
|
|
|
388
390
|
export { default as ProjectPricingScenarioResponse } from './types/ProjectPricingScenarioResponse';
|
|
389
391
|
export * from './types/ProjectProperties';
|
|
390
392
|
export { default as ProjectProperties } from './types/ProjectProperties';
|
|
393
|
+
export * from './types/ProjectReceiptCounts';
|
|
394
|
+
export { default as ProjectReceiptCounts } from './types/ProjectReceiptCounts';
|
|
391
395
|
export * from './types/ProjectResponse';
|
|
392
396
|
export { default as ProjectResponse } from './types/ProjectResponse';
|
|
393
397
|
export * from './types/ProjectSubProjectResponse';
|
|
394
398
|
export { default as ProjectSubProjectResponse } from './types/ProjectSubProjectResponse';
|
|
395
399
|
export * from './types/ProjectTaskResponse';
|
|
396
400
|
export { default as ProjectTaskResponse } from './types/ProjectTaskResponse';
|
|
401
|
+
export * from './types/ProjectTemplateEntryResponse';
|
|
402
|
+
export { default as ProjectTemplateEntryResponse } from './types/ProjectTemplateEntryResponse';
|
|
397
403
|
export * from './types/ProjectTemplateResponse';
|
|
398
404
|
export { default as ProjectTemplateResponse } from './types/ProjectTemplateResponse';
|
|
399
405
|
export * from './types/ProjectTemplateSelectOption';
|
|
@@ -544,6 +550,10 @@ export * from './types/StorageSiteResponse';
|
|
|
544
550
|
export { default as StorageSiteResponse } from './types/StorageSiteResponse';
|
|
545
551
|
export * from './types/StorageSiteSelectOption';
|
|
546
552
|
export { default as StorageSiteSelectOption } from './types/StorageSiteSelectOption';
|
|
553
|
+
export * from './types/SubProjectTemplateResponse';
|
|
554
|
+
export { default as SubProjectTemplateResponse } from './types/SubProjectTemplateResponse';
|
|
555
|
+
export * from './types/SubProjectTemplateSelectOption';
|
|
556
|
+
export { default as SubProjectTemplateSelectOption } from './types/SubProjectTemplateSelectOption';
|
|
547
557
|
export * from './types/SupplierProductRateResponse';
|
|
548
558
|
export { default as SupplierProductRateResponse } from './types/SupplierProductRateResponse';
|
|
549
559
|
export * from './types/SupplierWithRatesResponse';
|
|
@@ -647,6 +657,7 @@ export * from './types/dto/enums/automation/RuleSuspensionReason';
|
|
|
647
657
|
export * from './types/dto/enums/automation/RuleValidationCode';
|
|
648
658
|
export * from './types/dto/enums/automation/RunStatus';
|
|
649
659
|
export * from './types/dto/enums/automation/StepOutcome';
|
|
660
|
+
export * from './types/dto/enums/automation/TodoAction';
|
|
650
661
|
export * from './types/dto/enums/automation/TodoOrigin';
|
|
651
662
|
export * from './types/dto/enums/automation/TodoScope';
|
|
652
663
|
export * from './types/dto/enums/automation/TodoStatus';
|
|
@@ -657,6 +668,8 @@ export * from './types/dto/enums/form/FormStatus';
|
|
|
657
668
|
export * from './types/dto/enums/form/PublicFormState';
|
|
658
669
|
export * from './types/dto/enums/inventory/InventoryType';
|
|
659
670
|
export * from './types/dto/enums/mail/EmailAccountType';
|
|
671
|
+
export * from './types/dto/enums/mail/EmailFontFamily';
|
|
672
|
+
export * from './types/dto/enums/mail/EmailFontSize';
|
|
660
673
|
export * from './types/dto/enums/mail/EmailTemplateType';
|
|
661
674
|
export * from './types/dto/enums/mail/MailAuthMode';
|
|
662
675
|
export * from './types/dto/enums/mail/PlaceholderGroup';
|
|
@@ -740,8 +753,8 @@ export * from './types/dto/project/ProjectTaskRequest';
|
|
|
740
753
|
export * from './types/dto/project/ProjectTaskStatusRequest';
|
|
741
754
|
export * from './types/dto/project/ProjectTemplateCloneRequest';
|
|
742
755
|
export * from './types/dto/project/ProjectTemplateRequest';
|
|
743
|
-
export * from './types/dto/project/
|
|
744
|
-
export * from './types/dto/project/
|
|
756
|
+
export * from './types/dto/project/SubProjectTemplateRequest';
|
|
757
|
+
export * from './types/dto/project/SubProjectTemplateTaskNode';
|
|
745
758
|
export * from './types/dto/property/PropertiesSettingsRequest';
|
|
746
759
|
export * from './types/dto/property/PropertyEnquiryRequest';
|
|
747
760
|
export * from './types/dto/property/PropertyInterestRequest';
|
|
@@ -771,6 +784,8 @@ export * from './types/dto/sales/InvoicePaymentRequest';
|
|
|
771
784
|
export * from './types/dto/sales/InvoiceReminderRequest';
|
|
772
785
|
export * from './types/dto/sales/InvoiceStatusRequest';
|
|
773
786
|
export * from './types/dto/sales/OfferStatusRequest';
|
|
787
|
+
export * from './types/dto/sales/OrderCreateLineItemRequest';
|
|
788
|
+
export * from './types/dto/sales/OrderCreateRequest';
|
|
774
789
|
export * from './types/dto/sales/OrderStatusRequest';
|
|
775
790
|
export * from './types/dto/sales/ingest/OrderIngestAddressRequest';
|
|
776
791
|
export * from './types/dto/sales/ingest/OrderIngestLineItemRequest';
|
|
@@ -793,7 +808,7 @@ export * from './types/dto/user/InvitePersonRequest';
|
|
|
793
808
|
export * from './types/dto/user/UserReplaceRequest';
|
|
794
809
|
export * from './types/dto/user/UserRequest';
|
|
795
810
|
export * from './types/entity/purchase/PurchaseOrderStatus';
|
|
811
|
+
export * from './types/service/mail/provider/MailProviderGrant';
|
|
796
812
|
export * from './types/service/security/m365/M365ConsentPurpose';
|
|
797
813
|
export * from './types/service/security/m365/M365MailError';
|
|
798
|
-
export * from './types/service/security/m365/M365MailStatus';
|
|
799
814
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -89,6 +89,7 @@ __exportStar(require("./types/ContactGroupUsageResponse"), exports);
|
|
|
89
89
|
__exportStar(require("./types/ContactManagementRequest"), exports);
|
|
90
90
|
__exportStar(require("./types/ContactResponse"), exports);
|
|
91
91
|
__exportStar(require("./types/CreateContactResponse"), exports);
|
|
92
|
+
__exportStar(require("./types/CurrencyAmount"), exports);
|
|
92
93
|
__exportStar(require("./types/CustomerResponse"), exports);
|
|
93
94
|
__exportStar(require("./types/CustomerSummaryResponse"), exports);
|
|
94
95
|
__exportStar(require("./types/DataGrantDto"), exports);
|
|
@@ -210,9 +211,11 @@ __exportStar(require("./types/ProjectFilterRequest"), exports);
|
|
|
210
211
|
__exportStar(require("./types/ProjectPricingResult"), exports);
|
|
211
212
|
__exportStar(require("./types/ProjectPricingScenarioResponse"), exports);
|
|
212
213
|
__exportStar(require("./types/ProjectProperties"), exports);
|
|
214
|
+
__exportStar(require("./types/ProjectReceiptCounts"), exports);
|
|
213
215
|
__exportStar(require("./types/ProjectResponse"), exports);
|
|
214
216
|
__exportStar(require("./types/ProjectSubProjectResponse"), exports);
|
|
215
217
|
__exportStar(require("./types/ProjectTaskResponse"), exports);
|
|
218
|
+
__exportStar(require("./types/ProjectTemplateEntryResponse"), exports);
|
|
216
219
|
__exportStar(require("./types/ProjectTemplateResponse"), exports);
|
|
217
220
|
__exportStar(require("./types/ProjectTemplateSelectOption"), exports);
|
|
218
221
|
__exportStar(require("./types/PropertiesSettingsResponse"), exports);
|
|
@@ -288,6 +291,8 @@ __exportStar(require("./types/StatusSetResponse"), exports);
|
|
|
288
291
|
__exportStar(require("./types/StorageSiteFilterRequest"), exports);
|
|
289
292
|
__exportStar(require("./types/StorageSiteResponse"), exports);
|
|
290
293
|
__exportStar(require("./types/StorageSiteSelectOption"), exports);
|
|
294
|
+
__exportStar(require("./types/SubProjectTemplateResponse"), exports);
|
|
295
|
+
__exportStar(require("./types/SubProjectTemplateSelectOption"), exports);
|
|
291
296
|
__exportStar(require("./types/SupplierProductRateResponse"), exports);
|
|
292
297
|
__exportStar(require("./types/SupplierWithRatesResponse"), exports);
|
|
293
298
|
__exportStar(require("./types/TeamResponse"), exports);
|
|
@@ -375,6 +380,7 @@ __exportStar(require("./types/dto/enums/automation/RuleSuspensionReason"), expor
|
|
|
375
380
|
__exportStar(require("./types/dto/enums/automation/RuleValidationCode"), exports);
|
|
376
381
|
__exportStar(require("./types/dto/enums/automation/RunStatus"), exports);
|
|
377
382
|
__exportStar(require("./types/dto/enums/automation/StepOutcome"), exports);
|
|
383
|
+
__exportStar(require("./types/dto/enums/automation/TodoAction"), exports);
|
|
378
384
|
__exportStar(require("./types/dto/enums/automation/TodoOrigin"), exports);
|
|
379
385
|
__exportStar(require("./types/dto/enums/automation/TodoScope"), exports);
|
|
380
386
|
__exportStar(require("./types/dto/enums/automation/TodoStatus"), exports);
|
|
@@ -385,6 +391,8 @@ __exportStar(require("./types/dto/enums/form/FormStatus"), exports);
|
|
|
385
391
|
__exportStar(require("./types/dto/enums/form/PublicFormState"), exports);
|
|
386
392
|
__exportStar(require("./types/dto/enums/inventory/InventoryType"), exports);
|
|
387
393
|
__exportStar(require("./types/dto/enums/mail/EmailAccountType"), exports);
|
|
394
|
+
__exportStar(require("./types/dto/enums/mail/EmailFontFamily"), exports);
|
|
395
|
+
__exportStar(require("./types/dto/enums/mail/EmailFontSize"), exports);
|
|
388
396
|
__exportStar(require("./types/dto/enums/mail/EmailTemplateType"), exports);
|
|
389
397
|
__exportStar(require("./types/dto/enums/mail/MailAuthMode"), exports);
|
|
390
398
|
__exportStar(require("./types/dto/enums/mail/PlaceholderGroup"), exports);
|
|
@@ -468,8 +476,8 @@ __exportStar(require("./types/dto/project/ProjectTaskRequest"), exports);
|
|
|
468
476
|
__exportStar(require("./types/dto/project/ProjectTaskStatusRequest"), exports);
|
|
469
477
|
__exportStar(require("./types/dto/project/ProjectTemplateCloneRequest"), exports);
|
|
470
478
|
__exportStar(require("./types/dto/project/ProjectTemplateRequest"), exports);
|
|
471
|
-
__exportStar(require("./types/dto/project/
|
|
472
|
-
__exportStar(require("./types/dto/project/
|
|
479
|
+
__exportStar(require("./types/dto/project/SubProjectTemplateRequest"), exports);
|
|
480
|
+
__exportStar(require("./types/dto/project/SubProjectTemplateTaskNode"), exports);
|
|
473
481
|
__exportStar(require("./types/dto/property/PropertiesSettingsRequest"), exports);
|
|
474
482
|
__exportStar(require("./types/dto/property/PropertyEnquiryRequest"), exports);
|
|
475
483
|
__exportStar(require("./types/dto/property/PropertyInterestRequest"), exports);
|
|
@@ -499,6 +507,8 @@ __exportStar(require("./types/dto/sales/InvoicePaymentRequest"), exports);
|
|
|
499
507
|
__exportStar(require("./types/dto/sales/InvoiceReminderRequest"), exports);
|
|
500
508
|
__exportStar(require("./types/dto/sales/InvoiceStatusRequest"), exports);
|
|
501
509
|
__exportStar(require("./types/dto/sales/OfferStatusRequest"), exports);
|
|
510
|
+
__exportStar(require("./types/dto/sales/OrderCreateLineItemRequest"), exports);
|
|
511
|
+
__exportStar(require("./types/dto/sales/OrderCreateRequest"), exports);
|
|
502
512
|
__exportStar(require("./types/dto/sales/OrderStatusRequest"), exports);
|
|
503
513
|
__exportStar(require("./types/dto/sales/ingest/OrderIngestAddressRequest"), exports);
|
|
504
514
|
__exportStar(require("./types/dto/sales/ingest/OrderIngestLineItemRequest"), exports);
|
|
@@ -521,6 +531,6 @@ __exportStar(require("./types/dto/user/InvitePersonRequest"), exports);
|
|
|
521
531
|
__exportStar(require("./types/dto/user/UserReplaceRequest"), exports);
|
|
522
532
|
__exportStar(require("./types/dto/user/UserRequest"), exports);
|
|
523
533
|
__exportStar(require("./types/entity/purchase/PurchaseOrderStatus"), exports);
|
|
534
|
+
__exportStar(require("./types/service/mail/provider/MailProviderGrant"), exports);
|
|
524
535
|
__exportStar(require("./types/service/security/m365/M365ConsentPurpose"), exports);
|
|
525
536
|
__exportStar(require("./types/service/security/m365/M365MailError"), exports);
|
|
526
|
-
__exportStar(require("./types/service/security/m365/M365MailStatus"), exports);
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { OrderStatus } from './dto/enums/sales/OrderStatus';
|
|
2
2
|
export default interface CheckoutResponse {
|
|
3
|
-
orderId
|
|
4
|
-
orderNumber
|
|
5
|
-
orderStatus
|
|
6
|
-
clientSecret
|
|
3
|
+
orderId?: number;
|
|
4
|
+
orderNumber?: string;
|
|
5
|
+
orderStatus?: OrderStatus;
|
|
6
|
+
clientSecret?: string;
|
|
7
7
|
publishableKey: string;
|
|
8
|
-
invoiceId
|
|
8
|
+
invoiceId?: string;
|
|
9
9
|
amount: number;
|
|
10
10
|
taxAmount: number;
|
|
11
11
|
currency: string;
|
|
12
12
|
hostedInvoiceUrl?: string;
|
|
13
13
|
invoicePdfUrl?: string;
|
|
14
|
+
vatRate?: number;
|
|
15
|
+
preview: boolean;
|
|
14
16
|
}
|
|
15
17
|
//# sourceMappingURL=CheckoutResponse.d.ts.map
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import CurrencyAmount from './CurrencyAmount';
|
|
1
2
|
export default interface CustomerSummaryResponse {
|
|
2
3
|
openInvoices: number;
|
|
3
4
|
overdueInvoices: number;
|
|
4
|
-
outstanding:
|
|
5
|
-
paidThisYear:
|
|
5
|
+
outstanding: CurrencyAmount[];
|
|
6
|
+
paidThisYear: CurrencyAmount[];
|
|
6
7
|
lastInvoiceId?: number;
|
|
7
8
|
lastInvoiceNumber?: string;
|
|
8
9
|
lastInvoiceDate?: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import EmailTemplateContentResponse from './EmailTemplateContentResponse';
|
|
2
2
|
import FormSelectOption from './FormSelectOption';
|
|
3
|
+
import { EmailFontFamily } from './dto/enums/mail/EmailFontFamily';
|
|
4
|
+
import { EmailFontSize } from './dto/enums/mail/EmailFontSize';
|
|
3
5
|
import { EmailTemplateType } from './dto/enums/mail/EmailTemplateType';
|
|
4
6
|
import { TemplateAttachmentSlot } from './dto/enums/mail/TemplateAttachmentSlot';
|
|
5
7
|
export default interface EmailTemplateResponse {
|
|
@@ -10,6 +12,10 @@ export default interface EmailTemplateResponse {
|
|
|
10
12
|
contents: EmailTemplateContentResponse[];
|
|
11
13
|
forms: FormSelectOption[];
|
|
12
14
|
sortOrder: number;
|
|
15
|
+
fontFamily: EmailFontFamily;
|
|
16
|
+
fontSize: EmailFontSize;
|
|
13
17
|
version: number;
|
|
18
|
+
systemKey?: string;
|
|
19
|
+
moduleKey?: string;
|
|
14
20
|
}
|
|
15
21
|
//# sourceMappingURL=EmailTemplateResponse.d.ts.map
|
|
@@ -22,6 +22,7 @@ export default interface InvoiceResponse {
|
|
|
22
22
|
overallDiscountValue?: number;
|
|
23
23
|
internalNotes?: string;
|
|
24
24
|
payableByDate: string;
|
|
25
|
+
currency: string;
|
|
25
26
|
subtotal?: number;
|
|
26
27
|
overallDiscountAmount?: number;
|
|
27
28
|
afterOverallDiscount?: number;
|
|
@@ -41,6 +42,8 @@ export default interface InvoiceResponse {
|
|
|
41
42
|
reminderLevel: number;
|
|
42
43
|
remindable: boolean;
|
|
43
44
|
customerNumber?: number;
|
|
45
|
+
orderId?: number;
|
|
46
|
+
orderNumber?: string;
|
|
44
47
|
createDate: string;
|
|
45
48
|
modifyDate: string;
|
|
46
49
|
createdByName?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MailProviderGrant } from './service/mail/provider/MailProviderGrant';
|
|
2
2
|
export default interface OauthM365MailStatusResponse {
|
|
3
3
|
connected: boolean;
|
|
4
|
-
mailSend:
|
|
5
|
-
mailRead:
|
|
4
|
+
mailSend: MailProviderGrant;
|
|
5
|
+
mailRead: MailProviderGrant;
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=OauthM365MailStatusResponse.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { MailProviderGrant } from './service/mail/provider/MailProviderGrant';
|
|
1
2
|
import { M365MailError } from './service/security/m365/M365MailError';
|
|
2
|
-
import { M365MailStatus } from './service/security/m365/M365MailStatus';
|
|
3
3
|
export default interface OauthM365StatusResponse {
|
|
4
4
|
configured: boolean;
|
|
5
5
|
connected: boolean;
|
|
6
6
|
tenantId?: string;
|
|
7
|
-
mailSend:
|
|
8
|
-
mailRead:
|
|
7
|
+
mailSend: MailProviderGrant;
|
|
8
|
+
mailRead: MailProviderGrant;
|
|
9
9
|
mailError?: M365MailError;
|
|
10
10
|
m365AccountCount: number;
|
|
11
11
|
m365SystemAccount: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import OrderLineItemResponse from './OrderLineItemResponse';
|
|
2
2
|
import { FulfillmentType } from './dto/enums/sales/FulfillmentType';
|
|
3
|
+
import { InvoiceStatus } from './dto/enums/sales/InvoiceStatus';
|
|
3
4
|
import { OrderSource } from './dto/enums/sales/OrderSource';
|
|
4
5
|
import { OrderStatus } from './dto/enums/sales/OrderStatus';
|
|
5
6
|
import { PriceMode } from './dto/enums/sales/PriceMode';
|
|
@@ -31,6 +32,9 @@ export default interface OrderResponse {
|
|
|
31
32
|
fulfillmentStartedAt?: string;
|
|
32
33
|
fulfilledAt?: string;
|
|
33
34
|
cancelledAt?: string;
|
|
35
|
+
invoiceId?: number;
|
|
36
|
+
invoiceNumber?: string;
|
|
37
|
+
invoiceStatus?: InvoiceStatus;
|
|
34
38
|
createDate: string;
|
|
35
39
|
modifyDate: string;
|
|
36
40
|
createdByName?: string;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import ProjectCostBlockResponse from './ProjectCostBlockResponse';
|
|
2
2
|
import ProjectCostTaskResponse from './ProjectCostTaskResponse';
|
|
3
|
+
import ProjectReceiptCounts from './ProjectReceiptCounts';
|
|
3
4
|
export default interface ProjectCostSubProjectResponse {
|
|
4
5
|
id: number;
|
|
5
6
|
name: string;
|
|
6
7
|
sortOrder: number;
|
|
7
8
|
block: ProjectCostBlockResponse;
|
|
8
9
|
tasks: ProjectCostTaskResponse[];
|
|
10
|
+
receiptCounts?: ProjectReceiptCounts;
|
|
9
11
|
}
|
|
10
12
|
//# sourceMappingURL=ProjectCostSubProjectResponse.d.ts.map
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import ProjectCostBlockResponse from './ProjectCostBlockResponse';
|
|
2
|
+
import ProjectReceiptCounts from './ProjectReceiptCounts';
|
|
2
3
|
export default interface ProjectCostTaskResponse {
|
|
3
4
|
id: number;
|
|
4
5
|
name: string;
|
|
5
6
|
sortOrder: number;
|
|
6
7
|
block: ProjectCostBlockResponse;
|
|
8
|
+
receiptCounts?: ProjectReceiptCounts;
|
|
7
9
|
}
|
|
8
10
|
//# sourceMappingURL=ProjectCostTaskResponse.d.ts.map
|
|
@@ -6,8 +6,11 @@ export default interface ProjectResponse {
|
|
|
6
6
|
deadline?: string;
|
|
7
7
|
targetProductId?: number;
|
|
8
8
|
productTitle?: string;
|
|
9
|
+
categoryId?: number;
|
|
10
|
+
categoryName?: string;
|
|
9
11
|
internalNotes?: string;
|
|
10
12
|
originTemplateId?: number;
|
|
13
|
+
templateUpdateAvailable: boolean;
|
|
11
14
|
status: ProjectStatus;
|
|
12
15
|
progressPercent: number;
|
|
13
16
|
subProjectCount: number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ProjectAmountKind } from './dto/enums/project/ProjectAmountKind';
|
|
2
|
+
import { SubProjectTemplateTaskNode } from './dto/project/SubProjectTemplateTaskNode';
|
|
3
|
+
export default interface ProjectTemplateEntryResponse {
|
|
4
|
+
subProjectTemplateId: number;
|
|
5
|
+
name: string;
|
|
6
|
+
hasCosts: boolean;
|
|
7
|
+
amountKind: ProjectAmountKind;
|
|
8
|
+
countsAsGoodsValue: boolean;
|
|
9
|
+
tasks: SubProjectTemplateTaskNode[];
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=ProjectTemplateEntryResponse.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import ProjectTemplateEntryResponse from './ProjectTemplateEntryResponse';
|
|
2
2
|
export default interface ProjectTemplateResponse {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
description?: string;
|
|
6
|
-
|
|
6
|
+
entries: ProjectTemplateEntryResponse[];
|
|
7
7
|
createDate: string;
|
|
8
8
|
modifyDate: string;
|
|
9
9
|
createdByName?: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ProjectAmountKind } from './dto/enums/project/ProjectAmountKind';
|
|
2
|
+
import { SubProjectTemplateTaskNode } from './dto/project/SubProjectTemplateTaskNode';
|
|
3
|
+
export default interface SubProjectTemplateResponse {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
hasCosts: boolean;
|
|
8
|
+
amountKind: ProjectAmountKind;
|
|
9
|
+
countsAsGoodsValue: boolean;
|
|
10
|
+
tasks: SubProjectTemplateTaskNode[];
|
|
11
|
+
createDate: string;
|
|
12
|
+
modifyDate: string;
|
|
13
|
+
createdByName?: string;
|
|
14
|
+
modifiedByName?: string;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=SubProjectTemplateResponse.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EntityKind } from './dto/enums/EntityKind';
|
|
2
|
+
import { TodoAction } from './dto/enums/automation/TodoAction';
|
|
2
3
|
import { TodoOrigin } from './dto/enums/automation/TodoOrigin';
|
|
3
4
|
import { TodoStatus } from './dto/enums/automation/TodoStatus';
|
|
4
5
|
export default interface TodoResponse {
|
|
@@ -21,6 +22,14 @@ export default interface TodoResponse {
|
|
|
21
22
|
overdue: boolean;
|
|
22
23
|
status: TodoStatus;
|
|
23
24
|
origin: TodoOrigin;
|
|
25
|
+
action: TodoAction;
|
|
26
|
+
templateId?: number;
|
|
27
|
+
templateName?: string;
|
|
28
|
+
contactId?: number;
|
|
29
|
+
contactName?: string;
|
|
30
|
+
contactEmail?: string;
|
|
31
|
+
contactPhone?: string;
|
|
32
|
+
canSend: boolean;
|
|
24
33
|
ruleId?: number;
|
|
25
34
|
ruleName?: string;
|
|
26
35
|
ruleTrashed: boolean;
|
|
@@ -24,6 +24,7 @@ export declare const TodoCreateRequestModel: z.ZodObject<{
|
|
|
24
24
|
PROJECT_SUB_PROJECT: "PROJECT_SUB_PROJECT";
|
|
25
25
|
PROJECT_TASK: "PROJECT_TASK";
|
|
26
26
|
PROJECT_TEMPLATE: "PROJECT_TEMPLATE";
|
|
27
|
+
SUB_PROJECT_TEMPLATE: "SUB_PROJECT_TEMPLATE";
|
|
27
28
|
RECEIPT: "RECEIPT";
|
|
28
29
|
PROPERTY: "PROPERTY";
|
|
29
30
|
PROPERTY_INTEREST: "PROPERTY_INTEREST";
|
|
@@ -38,6 +39,12 @@ export declare const TodoCreateRequestModel: z.ZodObject<{
|
|
|
38
39
|
assigneeId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
39
40
|
assignedRoleId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
40
41
|
dueAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
42
|
+
action: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
43
|
+
REMINDER: "REMINDER";
|
|
44
|
+
SEND_EMAIL: "SEND_EMAIL";
|
|
45
|
+
CALL: "CALL";
|
|
46
|
+
}>>>;
|
|
47
|
+
templateId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
41
48
|
}, z.core.$strip>;
|
|
42
49
|
export type TodoCreateRequest = z.infer<typeof TodoCreateRequestModel>;
|
|
43
50
|
//# sourceMappingURL=TodoCreateRequest.d.ts.map
|
|
@@ -7,9 +7,11 @@ exports.TodoCreateRequestModel = zod_1.z.object({
|
|
|
7
7
|
title: zod_1.z.string().regex(/.+/).min(0).max(255),
|
|
8
8
|
note: zod_1.z.string().min(0).max(10000).optional().nullable(),
|
|
9
9
|
tag: zod_1.z.string().min(0).max(40).regex(/^[a-z0-9][a-z0-9-]*$/).optional().nullable(),
|
|
10
|
-
entityKind: zod_1.z.enum(['CONTACT', 'COMPANY', 'CONTACT_GROUP', 'CONTACT_GROUP_ATTRIBUTE', 'GROUP_ROLE', 'PRODUCT', 'CATEGORY', 'CATEGORY_ATTRIBUTE', 'STORAGE_SITE', 'INVENTORY', 'OFFER', 'INVOICE', 'ORDER', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', 'RECEIPT', 'PROPERTY', 'PROPERTY_INTEREST', 'PUBLISH_PROVIDER', 'STATUS_SET', 'TODO', 'AUTOMATION_RULE', 'MAIL_INGEST_MAILBOX', 'MAIL_INGEST']).optional().nullable(),
|
|
10
|
+
entityKind: zod_1.z.enum(['CONTACT', 'COMPANY', 'CONTACT_GROUP', 'CONTACT_GROUP_ATTRIBUTE', 'GROUP_ROLE', 'PRODUCT', 'CATEGORY', 'CATEGORY_ATTRIBUTE', 'STORAGE_SITE', 'INVENTORY', 'OFFER', 'INVOICE', 'ORDER', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', '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(),
|
|
14
14
|
dueAt: zod_1.z.string().optional().nullable(),
|
|
15
|
+
action: zod_1.z.enum(['REMINDER', 'SEND_EMAIL', 'CALL']).optional().nullable(),
|
|
16
|
+
templateId: zod_1.z.number().int().optional().nullable(),
|
|
15
17
|
});
|
|
@@ -23,6 +23,7 @@ export declare const RuleDraftRequestModel: z.ZodObject<{
|
|
|
23
23
|
PROJECT_SUB_PROJECT: "PROJECT_SUB_PROJECT";
|
|
24
24
|
PROJECT_TASK: "PROJECT_TASK";
|
|
25
25
|
PROJECT_TEMPLATE: "PROJECT_TEMPLATE";
|
|
26
|
+
SUB_PROJECT_TEMPLATE: "SUB_PROJECT_TEMPLATE";
|
|
26
27
|
RECEIPT: "RECEIPT";
|
|
27
28
|
PROPERTY: "PROPERTY";
|
|
28
29
|
PROPERTY_INTEREST: "PROPERTY_INTEREST";
|
|
@@ -7,6 +7,6 @@ const RuleGraphRequest_1 = require("./RuleGraphRequest");
|
|
|
7
7
|
exports.RuleDraftRequestModel = zod_1.z.object({
|
|
8
8
|
name: zod_1.z.string().regex(/.+/).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', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', 'RECEIPT', 'PROPERTY', 'PROPERTY_INTEREST', 'PUBLISH_PROVIDER', 'STATUS_SET', 'TODO', 'AUTOMATION_RULE', 'MAIL_INGEST_MAILBOX', 'MAIL_INGEST']).optional().nullable(),
|
|
10
|
+
triggerKind: zod_1.z.enum(['CONTACT', 'COMPANY', 'CONTACT_GROUP', 'CONTACT_GROUP_ATTRIBUTE', 'GROUP_ROLE', 'PRODUCT', 'CATEGORY', 'CATEGORY_ATTRIBUTE', 'STORAGE_SITE', 'INVENTORY', 'OFFER', 'INVOICE', 'ORDER', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', '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
|
});
|
|
@@ -21,6 +21,7 @@ export declare const RuleTestRequestModel: z.ZodObject<{
|
|
|
21
21
|
PROJECT_SUB_PROJECT: "PROJECT_SUB_PROJECT";
|
|
22
22
|
PROJECT_TASK: "PROJECT_TASK";
|
|
23
23
|
PROJECT_TEMPLATE: "PROJECT_TEMPLATE";
|
|
24
|
+
SUB_PROJECT_TEMPLATE: "SUB_PROJECT_TEMPLATE";
|
|
24
25
|
RECEIPT: "RECEIPT";
|
|
25
26
|
PROPERTY: "PROPERTY";
|
|
26
27
|
PROPERTY_INTEREST: "PROPERTY_INTEREST";
|
|
@@ -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', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', 'RECEIPT', 'PROPERTY', 'PROPERTY_INTEREST', 'PUBLISH_PROVIDER', 'STATUS_SET', 'TODO', 'AUTOMATION_RULE', 'MAIL_INGEST_MAILBOX', 'MAIL_INGEST']),
|
|
7
|
+
entityKind: zod_1.z.enum(['CONTACT', 'COMPANY', 'CONTACT_GROUP', 'CONTACT_GROUP_ATTRIBUTE', 'GROUP_ROLE', 'PRODUCT', 'CATEGORY', 'CATEGORY_ATTRIBUTE', 'STORAGE_SITE', 'INVENTORY', 'OFFER', 'INVOICE', 'ORDER', 'PURCHASE_ORDER', 'PURCHASE_INVOICE', 'FORM', 'PROJECT', 'PROJECT_SUB_PROJECT', 'PROJECT_TASK', 'PROJECT_TEMPLATE', '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
|
});
|