@hosterai/types 0.0.25 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -8
- package/dist/dtos/addon-field.dto.d.ts +7 -0
- package/dist/dtos/addon-field.dto.js +11 -0
- package/dist/dtos/attachment.dto.js +17 -0
- package/dist/dtos/attribute-field.dto.d.ts +19 -0
- package/dist/dtos/attribute-field.dto.js +64 -0
- package/dist/dtos/base-response.dto.js +11 -0
- package/dist/dtos/client-data.dto.js +82 -0
- package/dist/dtos/company-data.dto.js +97 -0
- package/dist/dtos/country.dto.d.ts +7 -0
- package/dist/dtos/country.dto.js +21 -0
- package/dist/dtos/error-response.dto.js +15 -0
- package/dist/dtos/field.dto.d.ts +8 -13
- package/dist/dtos/field.dto.js +22 -47
- package/dist/dtos/info.dto.d.ts +0 -5
- package/dist/dtos/info.dto.js +0 -19
- package/dist/dtos/invoice/invoice-info.dto.d.ts +15 -0
- package/dist/dtos/invoice/invoice-info.dto.js +42 -0
- package/dist/dtos/invoice/invoice-item-data.dto.d.ts +10 -0
- package/dist/dtos/invoice/invoice-item-data.dto.js +34 -0
- package/dist/dtos/invoice/requests/credit-note-request.dto.d.ts +9 -0
- package/dist/dtos/invoice/requests/credit-note-request.dto.js +32 -0
- package/dist/dtos/invoice/requests/invoice-request.dto.d.ts +9 -0
- package/dist/dtos/invoice/requests/invoice-request.dto.js +32 -0
- package/dist/dtos/invoice/requests/proforma-invoice-request.dto.d.ts +24 -0
- package/dist/dtos/invoice/requests/proforma-invoice-request.dto.js +104 -0
- package/dist/dtos/invoice/requests/tax-details-request.dto.d.ts +31 -0
- package/dist/dtos/invoice/requests/tax-details-request.dto.js +84 -0
- package/dist/dtos/invoice/responses/credit-note-response.dto.d.ts +7 -0
- package/dist/dtos/invoice/responses/credit-note-response.dto.js +11 -0
- package/dist/dtos/invoice/responses/invoice-response.dto.d.ts +7 -0
- package/dist/dtos/invoice/responses/invoice-response.dto.js +11 -0
- package/dist/dtos/invoice/responses/proforma-invoice-response.dto.d.ts +12 -0
- package/dist/dtos/invoice/responses/proforma-invoice-response.dto.js +52 -0
- package/dist/dtos/invoice/responses/tax-details-response.dto.d.ts +20 -0
- package/dist/dtos/invoice/responses/tax-details-response.dto.js +56 -0
- package/dist/dtos/invoice/tin-validation-details.dto.d.ts +51 -0
- package/dist/dtos/invoice/tin-validation-details.dto.js +165 -0
- package/dist/dtos/invoice/transaction-data.dto.d.ts +14 -0
- package/dist/dtos/invoice/transaction-data.dto.js +64 -0
- package/dist/dtos/invoice-contact-data.dto.d.ts +43 -0
- package/dist/dtos/invoice-contact-data.dto.js +222 -0
- package/dist/dtos/item-data.dto.d.ts +44 -0
- package/dist/dtos/item-data.dto.js +131 -0
- package/dist/dtos/jwt.dto.js +27 -0
- package/dist/dtos/multilang-text.dto.js +12 -0
- package/dist/dtos/notification/receiver/receiver-email.dto.js +19 -0
- package/dist/dtos/notification/receiver/receiver-sms.dto.js +7 -0
- package/dist/dtos/notification/requests/notification-send-request.dto.d.ts +18 -0
- package/dist/dtos/notification/requests/notification-send-request.dto.js +90 -0
- package/dist/dtos/notification/responses/notification-send-response.dto.d.ts +9 -0
- package/dist/dtos/notification/responses/notification-send-response.dto.js +32 -0
- package/dist/dtos/notification/sender/sender-email.dto.js +26 -0
- package/dist/dtos/notification/sender/sender-push.dto.js +36 -0
- package/dist/dtos/notification/sender/sender-sms.dto.js +11 -0
- package/dist/dtos/product/product-info.dto.d.ts +8 -3
- package/dist/dtos/product/product-info.dto.js +25 -5
- package/dist/dtos/product/product-item-data.dto.d.ts +7 -28
- package/dist/dtos/product/product-item-data.dto.js +14 -23
- package/dist/dtos/product/requests/product-create-request.dto.js +11 -0
- package/dist/dtos/product/requests/product-delete-request.dto.js +11 -0
- package/dist/dtos/product/requests/product-downgradable-request.dto.js +11 -0
- package/dist/dtos/product/requests/product-downgrade-request.dto.js +16 -0
- package/dist/dtos/product/requests/product-renew-request.dto.js +11 -0
- package/dist/dtos/product/requests/product-suspend-request.dto.js +11 -0
- package/dist/dtos/product/requests/product-unsuspend-request.dto.js +11 -0
- package/dist/dtos/product/requests/product-upgradable-request.dto.js +11 -0
- package/dist/dtos/product/requests/product-upgrade-request.dto.js +16 -0
- package/dist/dtos/product/responses/product-create-response.dto.js +37 -0
- package/dist/dtos/product/responses/product-delete-response.dto.js +37 -0
- package/dist/dtos/product/responses/product-downgradable-response.dto.js +37 -0
- package/dist/dtos/product/responses/product-downgrade-response.dto.js +37 -0
- package/dist/dtos/product/responses/product-info-response.dto.js +23 -0
- package/dist/dtos/product/responses/product-renew-response.dto.js +37 -0
- package/dist/dtos/product/responses/product-suspend-response.dto.js +37 -0
- package/dist/dtos/product/responses/product-unsuspend-response.dto.js +37 -0
- package/dist/dtos/product/responses/product-upgradable-response.dto.js +37 -0
- package/dist/dtos/product/responses/product-upgrade-response.dto.js +37 -0
- package/dist/dtos/requests/validate-attributes-request.dto.js +12 -0
- package/dist/dtos/response-data.dto.js +19 -0
- package/dist/dtos/responses/validate-attributes-response.dto.js +25 -0
- package/dist/dtos/settings.dto.d.ts +18 -0
- package/dist/dtos/settings.dto.js +19 -2
- package/dist/dtos/setup-status-response.dto.js +20 -0
- package/dist/dtos/success-response.dto.d.ts +0 -4
- package/dist/dtos/success-response.dto.js +0 -14
- package/dist/enums/invoice/invoice-item-actions.enum.d.ts +8 -0
- package/dist/enums/invoice/invoice-item-actions.enum.js +12 -0
- package/dist/enums/invoice/invoice-types.enum.d.ts +5 -0
- package/dist/enums/invoice/invoice-types.enum.js +9 -0
- package/dist/enums/item-actions.enum.d.ts +11 -0
- package/dist/enums/item-actions.enum.js +16 -0
- package/dist/index.d.ts +36 -5
- package/dist/index.js +37 -7
- package/dist/openapi/schemas/components.schemas.d.ts +152 -49
- package/dist/openapi/schemas/components.schemas.js +191 -89
- package/dist/validators/addon-field-validator.d.ts +9 -0
- package/dist/validators/addon-field-validator.js +14 -0
- package/dist/validators/addon-field-validator.spec.d.ts +1 -0
- package/dist/validators/addon-field-validator.spec.js +38 -0
- package/dist/validators/attachment-validator.d.ts +8 -0
- package/dist/validators/attachment-validator.js +17 -0
- package/dist/validators/attachment-validator.spec.d.ts +1 -0
- package/dist/validators/attachment-validator.spec.js +58 -0
- package/dist/validators/attribute-field-validator.d.ts +8 -0
- package/dist/validators/attribute-field-validator.js +17 -0
- package/dist/validators/attribute-field-validator.spec.d.ts +1 -0
- package/dist/validators/attribute-field-validator.spec.js +84 -0
- package/dist/validators/country-validator.d.ts +8 -0
- package/dist/validators/country-validator.js +17 -0
- package/dist/validators/country-validator.spec.d.ts +1 -0
- package/dist/validators/country-validator.spec.js +58 -0
- package/dist/validators/field-validator.spec.js +1 -29
- package/dist/validators/info-validator.d.ts +8 -0
- package/dist/validators/info-validator.js +17 -0
- package/dist/validators/info-validator.spec.d.ts +1 -0
- package/dist/validators/info-validator.spec.js +85 -0
- package/dist/validators/invoice-contact-data-validator.d.ts +8 -0
- package/dist/validators/invoice-contact-data-validator.js +17 -0
- package/dist/validators/invoice-contact-data-validator.spec.d.ts +1 -0
- package/dist/validators/invoice-contact-data-validator.spec.js +88 -0
- package/dist/validators/invoice-info-validator.d.ts +8 -0
- package/dist/validators/invoice-info-validator.js +17 -0
- package/dist/validators/invoice-info-validator.spec.d.ts +1 -0
- package/dist/validators/invoice-info-validator.spec.js +81 -0
- package/dist/validators/invoice-item-data-validator.d.ts +8 -0
- package/dist/validators/invoice-item-data-validator.js +17 -0
- package/dist/validators/invoice-item-data-validator.spec.d.ts +1 -0
- package/dist/validators/invoice-item-data-validator.spec.js +45 -0
- package/dist/validators/item-data-validator.d.ts +8 -0
- package/dist/validators/item-data-validator.js +17 -0
- package/dist/validators/item-data-validator.spec.d.ts +1 -0
- package/dist/validators/item-data-validator.spec.js +79 -0
- package/dist/validators/notification-info-validator.spec.js +6 -6
- package/dist/validators/notification-request-validator.js +2 -2
- package/dist/validators/product-create-request-validator.js +1 -1
- package/dist/validators/product-delete-request-validator.js +1 -1
- package/dist/validators/product-downgradable-request-validator.js +1 -1
- package/dist/validators/product-downgrade-request-validator.js +1 -1
- package/dist/validators/product-info-validator.spec.js +20 -28
- package/dist/validators/product-item-data-validator.d.ts +8 -0
- package/dist/validators/product-item-data-validator.js +17 -0
- package/dist/validators/product-item-data-validator.spec.d.ts +1 -0
- package/dist/validators/product-item-data-validator.spec.js +60 -0
- package/dist/validators/product-renew-request-validator.js +1 -1
- package/dist/validators/product-suspend-request-validator.js +1 -1
- package/dist/validators/product-unsuspend-request-validator.js +1 -1
- package/dist/validators/product-upgradable-request-validator.js +1 -1
- package/dist/validators/product-upgrade-request-validator.js +1 -1
- package/dist/validators/tab-validator.d.ts +8 -0
- package/dist/validators/tab-validator.js +17 -0
- package/dist/validators/tab-validator.spec.d.ts +1 -0
- package/dist/validators/tab-validator.spec.js +49 -0
- package/dist/validators/tin-validation-details-validator.d.ts +8 -0
- package/dist/validators/tin-validation-details-validator.js +17 -0
- package/dist/validators/tin-validation-details-validator.spec.d.ts +1 -0
- package/dist/validators/tin-validation-details-validator.spec.js +77 -0
- package/dist/validators/transaction-data-validator.d.ts +8 -0
- package/dist/validators/transaction-data-validator.js +17 -0
- package/dist/validators/transaction-data-validator.spec.d.ts +1 -0
- package/dist/validators/transaction-data-validator.spec.js +62 -0
- package/package.json +1 -1
|
@@ -4,13 +4,19 @@ export declare const ComponentsSchemas: {
|
|
|
4
4
|
readonly name: {
|
|
5
5
|
readonly minLength: 1;
|
|
6
6
|
readonly type: "string";
|
|
7
|
+
readonly title: "Name";
|
|
8
|
+
readonly description: "Country name.";
|
|
7
9
|
};
|
|
8
10
|
readonly code: {
|
|
9
11
|
readonly enum: readonly ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT"];
|
|
10
12
|
readonly type: "string";
|
|
13
|
+
readonly title: "Code";
|
|
14
|
+
readonly description: "Country code.";
|
|
11
15
|
};
|
|
12
16
|
readonly isEurope: {
|
|
13
17
|
readonly type: "boolean";
|
|
18
|
+
readonly title: "Is Europe";
|
|
19
|
+
readonly description: "Whether the country is in Europe.";
|
|
14
20
|
};
|
|
15
21
|
};
|
|
16
22
|
readonly type: "object";
|
|
@@ -176,6 +182,8 @@ export declare const ComponentsSchemas: {
|
|
|
176
182
|
readonly url: {
|
|
177
183
|
readonly format: "url";
|
|
178
184
|
readonly type: "string";
|
|
185
|
+
readonly title: "URL";
|
|
186
|
+
readonly description: "URL to the settings page.";
|
|
179
187
|
};
|
|
180
188
|
readonly label: {
|
|
181
189
|
readonly minLength: 1;
|
|
@@ -205,7 +213,7 @@ export declare const ComponentsSchemas: {
|
|
|
205
213
|
};
|
|
206
214
|
readonly type: "array";
|
|
207
215
|
readonly title: "Tabs";
|
|
208
|
-
readonly description: "
|
|
216
|
+
readonly description: "List of tabs for the settings page.";
|
|
209
217
|
};
|
|
210
218
|
readonly label: {
|
|
211
219
|
readonly minLength: 1;
|
|
@@ -443,10 +451,14 @@ export declare const ComponentsSchemas: {
|
|
|
443
451
|
readonly language: {
|
|
444
452
|
readonly enum: readonly ["AB", "AA", "AF", "AK", "SQ", "AM", "AR", "AN", "HY", "AS", "AV", "AE", "AY", "AZ", "BM", "BA", "EU", "BE", "BN", "BI", "BS", "BR", "BG", "MY", "CA", "KM", "CH", "CE", "NY", "ZH", "CU", "CV", "KW", "CO", "CR", "HR", "CS", "DA", "DV", "NL", "DZ", "EN", "EO", "ET", "EE", "FO", "FJ", "FI", "FR", "FF", "GL", "LG", "KA", "DE", "EL", "GN", "GU", "HT", "HA", "HE", "HZ", "HI", "HO", "HU", "IS", "IO", "IG", "ID", "IA", "IE", "IU", "IK", "GA", "IT", "JA", "JV", "KL", "KN", "KR", "KS", "KK", "KI", "RW", "KY", "KV", "KG", "KO", "KJ", "KU", "LO", "LA", "LV", "LI", "LN", "LT", "LU", "LB", "MK", "MG", "MS", "ML", "MT", "GV", "MI", "MR", "MH", "MN", "NA", "NV", "ND", "NR", "NG", "NE", "SE", "NO", "NB", "NN", "II", "OC", "OJ", "OR", "OM", "OS", "PI", "PS", "FA", "PL", "PT", "PA", "QU", "RO", "RM", "RN", "RU", "SM", "SG", "SA", "SC", "GD", "SR", "SN", "II", "SD", "SI", "SK", "SL", "SO", "ST", "ES", "SU", "SW", "SS", "SV", "TL", "TY", "TG", "TA", "TT", "TE", "TH", "BO", "TI", "TO", "TS", "TN", "TR", "TK", "TW", "UG", "UK", "UR", "UZ", "VE", "VI", "VO", "WA", "CY", "FY", "WO", "XH", "YI", "YO", "ZA", "ZU"];
|
|
445
453
|
readonly type: "string";
|
|
454
|
+
readonly title: "Language";
|
|
455
|
+
readonly description: "The language of the text.";
|
|
446
456
|
};
|
|
447
457
|
readonly text: {
|
|
448
458
|
readonly minLength: 1;
|
|
449
459
|
readonly type: "string";
|
|
460
|
+
readonly title: "Text";
|
|
461
|
+
readonly description: "The text content in the specified language.";
|
|
450
462
|
};
|
|
451
463
|
};
|
|
452
464
|
readonly type: "object";
|
|
@@ -515,12 +527,6 @@ export declare const ComponentsSchemas: {
|
|
|
515
527
|
readonly title: "Field Type";
|
|
516
528
|
readonly description: "Type of the field.";
|
|
517
529
|
};
|
|
518
|
-
readonly repeatableMin: {
|
|
519
|
-
readonly type: "number";
|
|
520
|
-
};
|
|
521
|
-
readonly repeatableMax: {
|
|
522
|
-
readonly type: "number";
|
|
523
|
-
};
|
|
524
530
|
readonly required: {
|
|
525
531
|
readonly type: "boolean";
|
|
526
532
|
readonly title: "Required";
|
|
@@ -531,15 +537,8 @@ export declare const ComponentsSchemas: {
|
|
|
531
537
|
readonly title: "Disabled";
|
|
532
538
|
readonly description: "Whether the field is disabled.";
|
|
533
539
|
};
|
|
534
|
-
readonly
|
|
535
|
-
readonly type: "boolean";
|
|
536
|
-
readonly title: "Visible In Order";
|
|
537
|
-
readonly description: "Whether the field is visible in order.";
|
|
538
|
-
};
|
|
539
|
-
readonly visibleInClientPanel: {
|
|
540
|
+
readonly hidden: {
|
|
540
541
|
readonly type: "boolean";
|
|
541
|
-
readonly title: "Visible In Client Panel";
|
|
542
|
-
readonly description: "Whether the field is visible in client panel.";
|
|
543
542
|
};
|
|
544
543
|
readonly regexValidation: {
|
|
545
544
|
readonly type: "string";
|
|
@@ -551,31 +550,36 @@ export declare const ComponentsSchemas: {
|
|
|
551
550
|
readonly items: {
|
|
552
551
|
readonly $ref: "#/components/schemas/MultilangTextDto";
|
|
553
552
|
};
|
|
553
|
+
readonly minItems: 1;
|
|
554
554
|
readonly type: "array";
|
|
555
555
|
readonly title: "Regex Validation Error Message";
|
|
556
556
|
readonly description: "Localized error message shown when regex validation fails.";
|
|
557
557
|
};
|
|
558
558
|
readonly triggersRemoteValidation: {
|
|
559
559
|
readonly type: "boolean";
|
|
560
|
-
readonly title: "Triggers Remote Validation";
|
|
561
|
-
readonly description: "If true, field triggers remote validation.";
|
|
562
560
|
};
|
|
563
561
|
readonly remoteValidationErrorMessage: {
|
|
564
562
|
readonly items: {
|
|
565
563
|
readonly $ref: "#/components/schemas/MultilangTextDto";
|
|
566
564
|
};
|
|
565
|
+
readonly minItems: 1;
|
|
567
566
|
readonly type: "array";
|
|
568
567
|
readonly title: "Remote Validation Error Message";
|
|
569
|
-
readonly description: "Localized error
|
|
568
|
+
readonly description: "Localized error message shown when remote validation fails.";
|
|
570
569
|
};
|
|
571
570
|
readonly upgradable: {
|
|
572
571
|
readonly type: "boolean";
|
|
573
572
|
readonly title: "Upgradable";
|
|
574
573
|
readonly description: "Whether the item attribute is upgradable by the user.";
|
|
575
574
|
};
|
|
575
|
+
readonly downgradable: {
|
|
576
|
+
readonly type: "boolean";
|
|
577
|
+
readonly title: "Downgradable";
|
|
578
|
+
readonly description: "Whether the item attribute is downgradable by the user.";
|
|
579
|
+
};
|
|
576
580
|
};
|
|
577
581
|
readonly type: "object";
|
|
578
|
-
readonly required: readonly ["id", "label", "value", "type", "required", "disabled"
|
|
582
|
+
readonly required: readonly ["id", "label", "value", "type", "required", "disabled"];
|
|
579
583
|
};
|
|
580
584
|
readonly InfoDto: {
|
|
581
585
|
readonly properties: {
|
|
@@ -610,15 +614,6 @@ export declare const ComponentsSchemas: {
|
|
|
610
614
|
readonly description: "Locales supported by the integration.";
|
|
611
615
|
readonly example: readonly ["EN"];
|
|
612
616
|
};
|
|
613
|
-
readonly supportedActions: {
|
|
614
|
-
readonly items: {
|
|
615
|
-
readonly enum: readonly ["create", "renew", "upgrade", "downgrade", "transfer", "trade", "suspend", "unsuspend", "delete"];
|
|
616
|
-
readonly type: "string";
|
|
617
|
-
};
|
|
618
|
-
readonly type: "array";
|
|
619
|
-
readonly title: "Supported Actions";
|
|
620
|
-
readonly description: "Actions supported by this integration.";
|
|
621
|
-
};
|
|
622
617
|
readonly listenEvents: {
|
|
623
618
|
readonly items: {
|
|
624
619
|
readonly enum: readonly ["user/created", "user/updated", "user/deleted", "user/banned", "user/unbanned", "user/company/access/added", "user/company/access/removed", "user/locked", "user/credit-balance/updated", "user/unlocked", "user/password/updated", "user/email/updated", "user/currency/updated", "user/invoice-contact/updated", "user/policy/updated", "user/languages/updated", "user/custom-price-policies/updated", "user/custom-addon-price-policies/updated", "user/custom-affiliate/added", "user/custom-affiliate/removed", "user/invoice-interval/updated", "user/additional-notification-email/removed", "user/additional-notification-email/added", "user/comment/added", "user/comment/removed", "user/comment/updated", "user/tags/updated", "user/setting/added", "user/setting/removed", "user/setting/updated", "user/start-selling", "user/roles/updated", "user/roles/added", "user/roles/deleted", "message/created", "message/updated", "message/deleted", "notification/sent", "policy/created", "policy/updated", "policy/deleted", "product-category/created", "product-category/updated", "product-category/deleted", "invoice-contact/created", "invoice-contact/updated", "invoice-contact/deleted", "invoice/created", "invoice/updated", "invoice/deleted", "currency/created", "currency/updated", "currency/deleted", "affiliate/created", "affiliate/updated", "affiliate/deleted", "company/created", "company/updated", "company/deleted", "organization/integration/attached", "organization/integration/detached", "tld/created", "tld/updated", "tld/deleted", "integration/created", "integration/updated", "integration/deleted", "integration/installed", "integration/uninstalled", "integration/activated", "integration/deactivated", "integration/maintenance-started", "integration/maintenance-finished", "domain-contact/created", "domain-contact/updated", "domain-contact/deleted", "domain-category/created", "domain-category/updated", "domain-category/deleted", "addon/created", "addon/updated", "addon/deleted", "transaction/created", "transaction/canceled", "transaction/failed", "transaction/subscribed", "transaction/unsubscribed", "transaction/updated", "transaction/deleted", "transaction/completed", "transaction/refunded", "template/created", "template/updated", "template/deleted", "coupon/created", "coupon/updated", "coupon/deleted", "template-integration/created", "template-integration/updated", "template-integration/deleted", "order/created", "order/status/in-progress", "order/status/completed", "order/status/canceled", "order/status/pending", "order/status/archived", "order/insufficient-balance", "order/item-detached", "order/invoice-contact-changed", "order/updated", "order/deleted", "setting/created", "setting/updated", "setting/deleted", "issue/created", "issue/updated", "issue/deleted", "task/created", "task/updated", "task/deleted", "task/canceled", "task/in-progress", "task/completed", "task/percentage/updated", "product/created", "product/updated", "product/deleted", "product/auto-renew/updated", "product/enabled", "product/disabled", "product/version-created", "ip-group/created", "ip-group/updated", "ip-group/deleted", "ip/created", "ip/updated", "ip/deleted", "domain-name/created", "domain-name/updated", "domain-name/deleted", "domain-name/locked", "domain-name/unlocked", "domain-name/idshield-activated", "domain-name/idshield-deactivated", "domain-name/bundle-added", "domain-name/bundle-removed", "domain-name/registrant-updated", "domain-name/admin-updated", "domain-name/tech-updated", "domain-name/billing-updated", "domain-name/additional-updated", "item/created", "item/updated", "item/deleted", "item/renewed", "item/upgraded", "item/downgraded", "item/ip-attached", "item/ip-detached", "item/detached-from-order", "item/postponed", "item/transferred-in", "item/canceled", "item/suspended", "item/unsuspended", "item/affiliate/added", "item/bundle/attached", "item/bundle/detached", "item/activated", "item/set-inactive", "item/processed", "order/paid", "test", "dead-lettering", "core-queue"];
|
|
@@ -751,15 +746,6 @@ export declare const ComponentsSchemas: {
|
|
|
751
746
|
readonly description: "Locales supported by the integration.";
|
|
752
747
|
readonly example: readonly ["EN"];
|
|
753
748
|
};
|
|
754
|
-
readonly supportedActions: {
|
|
755
|
-
readonly items: {
|
|
756
|
-
readonly enum: readonly ["create", "renew", "upgrade", "downgrade", "transfer", "trade", "suspend", "unsuspend", "delete"];
|
|
757
|
-
readonly type: "string";
|
|
758
|
-
};
|
|
759
|
-
readonly type: "array";
|
|
760
|
-
readonly title: "Supported Actions";
|
|
761
|
-
readonly description: "Actions supported by this integration.";
|
|
762
|
-
};
|
|
763
749
|
readonly listenEvents: {
|
|
764
750
|
readonly items: {
|
|
765
751
|
readonly enum: readonly ["user/created", "user/updated", "user/deleted", "user/banned", "user/unbanned", "user/company/access/added", "user/company/access/removed", "user/locked", "user/credit-balance/updated", "user/unlocked", "user/password/updated", "user/email/updated", "user/currency/updated", "user/invoice-contact/updated", "user/policy/updated", "user/languages/updated", "user/custom-price-policies/updated", "user/custom-addon-price-policies/updated", "user/custom-affiliate/added", "user/custom-affiliate/removed", "user/invoice-interval/updated", "user/additional-notification-email/removed", "user/additional-notification-email/added", "user/comment/added", "user/comment/removed", "user/comment/updated", "user/tags/updated", "user/setting/added", "user/setting/removed", "user/setting/updated", "user/start-selling", "user/roles/updated", "user/roles/added", "user/roles/deleted", "message/created", "message/updated", "message/deleted", "notification/sent", "policy/created", "policy/updated", "policy/deleted", "product-category/created", "product-category/updated", "product-category/deleted", "invoice-contact/created", "invoice-contact/updated", "invoice-contact/deleted", "invoice/created", "invoice/updated", "invoice/deleted", "currency/created", "currency/updated", "currency/deleted", "affiliate/created", "affiliate/updated", "affiliate/deleted", "company/created", "company/updated", "company/deleted", "organization/integration/attached", "organization/integration/detached", "tld/created", "tld/updated", "tld/deleted", "integration/created", "integration/updated", "integration/deleted", "integration/installed", "integration/uninstalled", "integration/activated", "integration/deactivated", "integration/maintenance-started", "integration/maintenance-finished", "domain-contact/created", "domain-contact/updated", "domain-contact/deleted", "domain-category/created", "domain-category/updated", "domain-category/deleted", "addon/created", "addon/updated", "addon/deleted", "transaction/created", "transaction/canceled", "transaction/failed", "transaction/subscribed", "transaction/unsubscribed", "transaction/updated", "transaction/deleted", "transaction/completed", "transaction/refunded", "template/created", "template/updated", "template/deleted", "coupon/created", "coupon/updated", "coupon/deleted", "template-integration/created", "template-integration/updated", "template-integration/deleted", "order/created", "order/status/in-progress", "order/status/completed", "order/status/canceled", "order/status/pending", "order/status/archived", "order/insufficient-balance", "order/item-detached", "order/invoice-contact-changed", "order/updated", "order/deleted", "setting/created", "setting/updated", "setting/deleted", "issue/created", "issue/updated", "issue/deleted", "task/created", "task/updated", "task/deleted", "task/canceled", "task/in-progress", "task/completed", "task/percentage/updated", "product/created", "product/updated", "product/deleted", "product/auto-renew/updated", "product/enabled", "product/disabled", "product/version-created", "ip-group/created", "ip-group/updated", "ip-group/deleted", "ip/created", "ip/updated", "ip/deleted", "domain-name/created", "domain-name/updated", "domain-name/deleted", "domain-name/locked", "domain-name/unlocked", "domain-name/idshield-activated", "domain-name/idshield-deactivated", "domain-name/bundle-added", "domain-name/bundle-removed", "domain-name/registrant-updated", "domain-name/admin-updated", "domain-name/tech-updated", "domain-name/billing-updated", "domain-name/additional-updated", "item/created", "item/updated", "item/deleted", "item/renewed", "item/upgraded", "item/downgraded", "item/ip-attached", "item/ip-detached", "item/detached-from-order", "item/postponed", "item/transferred-in", "item/canceled", "item/suspended", "item/unsuspended", "item/affiliate/added", "item/bundle/attached", "item/bundle/detached", "item/activated", "item/set-inactive", "item/processed", "order/paid", "test", "dead-lettering", "core-queue"];
|
|
@@ -812,11 +798,127 @@ export declare const ComponentsSchemas: {
|
|
|
812
798
|
readonly type: "object";
|
|
813
799
|
readonly required: readonly ["type", "title", "supportedLanguages"];
|
|
814
800
|
};
|
|
801
|
+
readonly AttributeFieldDto: {
|
|
802
|
+
readonly properties: {
|
|
803
|
+
readonly visibleInOrder: {
|
|
804
|
+
readonly type: "boolean";
|
|
805
|
+
readonly title: "Visible In Order";
|
|
806
|
+
readonly description: "Whether the field is visible in order view.";
|
|
807
|
+
};
|
|
808
|
+
readonly visibleInClientPanel: {
|
|
809
|
+
readonly type: "boolean";
|
|
810
|
+
readonly title: "Visible In Client Panel";
|
|
811
|
+
readonly description: "Whether the field is visible in the client panel.";
|
|
812
|
+
};
|
|
813
|
+
readonly repeatableMin: {
|
|
814
|
+
readonly type: "number";
|
|
815
|
+
readonly title: "Repeatable Min";
|
|
816
|
+
readonly description: "Minimum repeats for repeatable fields.";
|
|
817
|
+
};
|
|
818
|
+
readonly repeatableMax: {
|
|
819
|
+
readonly type: "number";
|
|
820
|
+
readonly title: "Repeatable Max";
|
|
821
|
+
readonly description: "Maximum repeats for repeatable fields.";
|
|
822
|
+
};
|
|
823
|
+
readonly id: {
|
|
824
|
+
readonly type: "string";
|
|
825
|
+
readonly title: "ID";
|
|
826
|
+
readonly description: "Unique identifier for the field.";
|
|
827
|
+
};
|
|
828
|
+
readonly label: {
|
|
829
|
+
readonly items: {
|
|
830
|
+
readonly $ref: "#/components/schemas/MultilangTextDto";
|
|
831
|
+
};
|
|
832
|
+
readonly minItems: 1;
|
|
833
|
+
readonly type: "array";
|
|
834
|
+
readonly title: "Label";
|
|
835
|
+
readonly description: "Multilingual label for the field.";
|
|
836
|
+
};
|
|
837
|
+
readonly value: {
|
|
838
|
+
readonly title: "Value";
|
|
839
|
+
readonly description: "Value of the field. String/Number, or FieldOptionDto/FieldOptionDto[] depending on type.";
|
|
840
|
+
readonly oneOf: readonly [{
|
|
841
|
+
readonly title: "String";
|
|
842
|
+
readonly type: "string";
|
|
843
|
+
}, {
|
|
844
|
+
readonly title: "Number";
|
|
845
|
+
readonly type: "number";
|
|
846
|
+
}, {
|
|
847
|
+
readonly title: "Option";
|
|
848
|
+
readonly $ref: "#/components/schemas/FieldOptionDto";
|
|
849
|
+
}, {
|
|
850
|
+
readonly title: "Options Array";
|
|
851
|
+
readonly type: "array";
|
|
852
|
+
readonly items: {
|
|
853
|
+
readonly $ref: "#/components/schemas/FieldOptionDto";
|
|
854
|
+
};
|
|
855
|
+
}];
|
|
856
|
+
};
|
|
857
|
+
readonly type: {
|
|
858
|
+
readonly enum: readonly ["TEXT_BOX", "TEXT_AREA", "SELECT", "MULTI_SELECT", "DESCRIPTION", "RADIO_BOX", "CHECKBOX", "SLIDER"];
|
|
859
|
+
readonly type: "string";
|
|
860
|
+
readonly title: "Field Type";
|
|
861
|
+
readonly description: "Type of the field.";
|
|
862
|
+
};
|
|
863
|
+
readonly required: {
|
|
864
|
+
readonly type: "boolean";
|
|
865
|
+
readonly title: "Required";
|
|
866
|
+
readonly description: "Whether the field is required.";
|
|
867
|
+
};
|
|
868
|
+
readonly disabled: {
|
|
869
|
+
readonly type: "boolean";
|
|
870
|
+
readonly title: "Disabled";
|
|
871
|
+
readonly description: "Whether the field is disabled.";
|
|
872
|
+
};
|
|
873
|
+
readonly hidden: {
|
|
874
|
+
readonly type: "boolean";
|
|
875
|
+
};
|
|
876
|
+
readonly regexValidation: {
|
|
877
|
+
readonly type: "string";
|
|
878
|
+
readonly title: "Regex Validation";
|
|
879
|
+
readonly description: "Optional regex to validate input.";
|
|
880
|
+
readonly example: "^[A-Za-z0-9_-]+$";
|
|
881
|
+
};
|
|
882
|
+
readonly regexValidationErrorMessage: {
|
|
883
|
+
readonly items: {
|
|
884
|
+
readonly $ref: "#/components/schemas/MultilangTextDto";
|
|
885
|
+
};
|
|
886
|
+
readonly minItems: 1;
|
|
887
|
+
readonly type: "array";
|
|
888
|
+
readonly title: "Regex Validation Error Message";
|
|
889
|
+
readonly description: "Localized error message shown when regex validation fails.";
|
|
890
|
+
};
|
|
891
|
+
readonly triggersRemoteValidation: {
|
|
892
|
+
readonly type: "boolean";
|
|
893
|
+
};
|
|
894
|
+
readonly remoteValidationErrorMessage: {
|
|
895
|
+
readonly items: {
|
|
896
|
+
readonly $ref: "#/components/schemas/MultilangTextDto";
|
|
897
|
+
};
|
|
898
|
+
readonly minItems: 1;
|
|
899
|
+
readonly type: "array";
|
|
900
|
+
readonly title: "Remote Validation Error Message";
|
|
901
|
+
readonly description: "Localized error message shown when remote validation fails.";
|
|
902
|
+
};
|
|
903
|
+
readonly upgradable: {
|
|
904
|
+
readonly type: "boolean";
|
|
905
|
+
readonly title: "Upgradable";
|
|
906
|
+
readonly description: "Whether the item attribute is upgradable by the user.";
|
|
907
|
+
};
|
|
908
|
+
readonly downgradable: {
|
|
909
|
+
readonly type: "boolean";
|
|
910
|
+
readonly title: "Downgradable";
|
|
911
|
+
readonly description: "Whether the item attribute is downgradable by the user.";
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
readonly type: "object";
|
|
915
|
+
readonly required: readonly ["id", "label", "value", "type", "required", "disabled"];
|
|
916
|
+
};
|
|
815
917
|
readonly ProductInfoDto: {
|
|
816
918
|
readonly properties: {
|
|
817
919
|
readonly productAttributes: {
|
|
818
920
|
readonly items: {
|
|
819
|
-
readonly $ref: "#/components/schemas/
|
|
921
|
+
readonly $ref: "#/components/schemas/AttributeFieldDto";
|
|
820
922
|
};
|
|
821
923
|
readonly type: "array";
|
|
822
924
|
readonly minItems: 1;
|
|
@@ -825,7 +927,7 @@ export declare const ComponentsSchemas: {
|
|
|
825
927
|
};
|
|
826
928
|
readonly itemAttributes: {
|
|
827
929
|
readonly items: {
|
|
828
|
-
readonly $ref: "#/components/schemas/
|
|
930
|
+
readonly $ref: "#/components/schemas/AttributeFieldDto";
|
|
829
931
|
};
|
|
830
932
|
readonly type: "array";
|
|
831
933
|
readonly minItems: 1;
|
|
@@ -858,6 +960,16 @@ export declare const ComponentsSchemas: {
|
|
|
858
960
|
readonly status_text: "status";
|
|
859
961
|
};
|
|
860
962
|
};
|
|
963
|
+
readonly supportedActions: {
|
|
964
|
+
readonly items: {
|
|
965
|
+
readonly enum: readonly ["create", "renew", "upgrade", "downgrade", "transfer", "trade", "suspend", "unsuspend", "delete"];
|
|
966
|
+
readonly type: "string";
|
|
967
|
+
};
|
|
968
|
+
readonly type: "array";
|
|
969
|
+
readonly minLength: 1;
|
|
970
|
+
readonly title: "Supported Actions";
|
|
971
|
+
readonly description: "Actions supported by this integration.";
|
|
972
|
+
};
|
|
861
973
|
readonly title: {
|
|
862
974
|
readonly minLength: 1;
|
|
863
975
|
readonly type: "string";
|
|
@@ -889,15 +1001,6 @@ export declare const ComponentsSchemas: {
|
|
|
889
1001
|
readonly description: "Locales supported by the integration.";
|
|
890
1002
|
readonly example: readonly ["EN"];
|
|
891
1003
|
};
|
|
892
|
-
readonly supportedActions: {
|
|
893
|
-
readonly items: {
|
|
894
|
-
readonly enum: readonly ["create", "renew", "upgrade", "downgrade", "transfer", "trade", "suspend", "unsuspend", "delete"];
|
|
895
|
-
readonly type: "string";
|
|
896
|
-
};
|
|
897
|
-
readonly type: "array";
|
|
898
|
-
readonly title: "Supported Actions";
|
|
899
|
-
readonly description: "Actions supported by this integration.";
|
|
900
|
-
};
|
|
901
1004
|
readonly listenEvents: {
|
|
902
1005
|
readonly items: {
|
|
903
1006
|
readonly enum: readonly ["user/created", "user/updated", "user/deleted", "user/banned", "user/unbanned", "user/company/access/added", "user/company/access/removed", "user/locked", "user/credit-balance/updated", "user/unlocked", "user/password/updated", "user/email/updated", "user/currency/updated", "user/invoice-contact/updated", "user/policy/updated", "user/languages/updated", "user/custom-price-policies/updated", "user/custom-addon-price-policies/updated", "user/custom-affiliate/added", "user/custom-affiliate/removed", "user/invoice-interval/updated", "user/additional-notification-email/removed", "user/additional-notification-email/added", "user/comment/added", "user/comment/removed", "user/comment/updated", "user/tags/updated", "user/setting/added", "user/setting/removed", "user/setting/updated", "user/start-selling", "user/roles/updated", "user/roles/added", "user/roles/deleted", "message/created", "message/updated", "message/deleted", "notification/sent", "policy/created", "policy/updated", "policy/deleted", "product-category/created", "product-category/updated", "product-category/deleted", "invoice-contact/created", "invoice-contact/updated", "invoice-contact/deleted", "invoice/created", "invoice/updated", "invoice/deleted", "currency/created", "currency/updated", "currency/deleted", "affiliate/created", "affiliate/updated", "affiliate/deleted", "company/created", "company/updated", "company/deleted", "organization/integration/attached", "organization/integration/detached", "tld/created", "tld/updated", "tld/deleted", "integration/created", "integration/updated", "integration/deleted", "integration/installed", "integration/uninstalled", "integration/activated", "integration/deactivated", "integration/maintenance-started", "integration/maintenance-finished", "domain-contact/created", "domain-contact/updated", "domain-contact/deleted", "domain-category/created", "domain-category/updated", "domain-category/deleted", "addon/created", "addon/updated", "addon/deleted", "transaction/created", "transaction/canceled", "transaction/failed", "transaction/subscribed", "transaction/unsubscribed", "transaction/updated", "transaction/deleted", "transaction/completed", "transaction/refunded", "template/created", "template/updated", "template/deleted", "coupon/created", "coupon/updated", "coupon/deleted", "template-integration/created", "template-integration/updated", "template-integration/deleted", "order/created", "order/status/in-progress", "order/status/completed", "order/status/canceled", "order/status/pending", "order/status/archived", "order/insufficient-balance", "order/item-detached", "order/invoice-contact-changed", "order/updated", "order/deleted", "setting/created", "setting/updated", "setting/deleted", "issue/created", "issue/updated", "issue/deleted", "task/created", "task/updated", "task/deleted", "task/canceled", "task/in-progress", "task/completed", "task/percentage/updated", "product/created", "product/updated", "product/deleted", "product/auto-renew/updated", "product/enabled", "product/disabled", "product/version-created", "ip-group/created", "ip-group/updated", "ip-group/deleted", "ip/created", "ip/updated", "ip/deleted", "domain-name/created", "domain-name/updated", "domain-name/deleted", "domain-name/locked", "domain-name/unlocked", "domain-name/idshield-activated", "domain-name/idshield-deactivated", "domain-name/bundle-added", "domain-name/bundle-removed", "domain-name/registrant-updated", "domain-name/admin-updated", "domain-name/tech-updated", "domain-name/billing-updated", "domain-name/additional-updated", "item/created", "item/updated", "item/deleted", "item/renewed", "item/upgraded", "item/downgraded", "item/ip-attached", "item/ip-detached", "item/detached-from-order", "item/postponed", "item/transferred-in", "item/canceled", "item/suspended", "item/unsuspended", "item/affiliate/added", "item/bundle/attached", "item/bundle/detached", "item/activated", "item/set-inactive", "item/processed", "order/paid", "test", "dead-lettering", "core-queue"];
|
|
@@ -948,6 +1051,6 @@ export declare const ComponentsSchemas: {
|
|
|
948
1051
|
};
|
|
949
1052
|
};
|
|
950
1053
|
readonly type: "object";
|
|
951
|
-
readonly required: readonly ["title", "supportedLanguages"];
|
|
1054
|
+
readonly required: readonly ["supportedActions", "title", "supportedLanguages"];
|
|
952
1055
|
};
|
|
953
1056
|
};
|