@hosterai/types 0.0.24 → 0.0.26
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 +2 -1
- package/dist/dtos/addon-field.dto.d.ts +7 -0
- package/dist/dtos/addon-field.dto.js +11 -0
- package/dist/dtos/attribute-field.dto.d.ts +20 -0
- package/dist/dtos/attribute-field.dto.js +74 -0
- package/dist/dtos/country.dto.d.ts +7 -0
- package/dist/dtos/country.dto.js +4 -0
- package/dist/dtos/field.dto.d.ts +2 -23
- package/dist/dtos/field.dto.js +8 -64
- package/dist/dtos/info.dto.d.ts +3 -2
- package/dist/dtos/info.dto.js +11 -6
- 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 +27 -0
- package/dist/dtos/invoice/requests/credit-note-request.dto.d.ts +9 -0
- package/dist/dtos/invoice/requests/credit-note-request.dto.js +26 -0
- package/dist/dtos/invoice/requests/invoice-request.dto.d.ts +9 -0
- package/dist/dtos/invoice/requests/invoice-request.dto.js +26 -0
- package/dist/dtos/invoice/requests/proforma-invoice-request.dto.d.ts +21 -0
- package/dist/dtos/invoice/requests/proforma-invoice-request.dto.js +56 -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 +35 -0
- package/dist/dtos/invoice/transaction-data.dto.d.ts +14 -0
- package/dist/dtos/invoice/transaction-data.dto.js +42 -0
- package/dist/dtos/invoice-contact-data.dto.d.ts +43 -0
- package/dist/dtos/invoice-contact-data.dto.js +120 -0
- package/dist/dtos/item-data.dto.d.ts +44 -0
- package/dist/dtos/item-data.dto.js +70 -0
- package/dist/dtos/notification/requests/notification-send-request.dto.d.ts +18 -0
- package/dist/dtos/notification/requests/notification-send-request.dto.js +66 -0
- package/dist/dtos/notification/responses/notification-send-response.dto.d.ts +9 -0
- package/dist/dtos/notification/responses/notification-send-response.dto.js +26 -0
- package/dist/dtos/product/product-info.dto.d.ts +5 -0
- package/dist/dtos/product/product-info.dto.js +20 -0
- package/dist/dtos/product/product-item-data.dto.d.ts +7 -28
- package/dist/dtos/product/product-item-data.dto.js +7 -23
- package/dist/dtos/product/requests/product-create-request.dto.d.ts +1 -1
- package/dist/dtos/product/requests/product-create-request.dto.js +1 -1
- package/dist/dtos/product/requests/product-delete-request.dto.d.ts +1 -1
- package/dist/dtos/product/requests/product-delete-request.dto.js +1 -1
- package/dist/dtos/product/requests/product-downgradable-request.dto.d.ts +1 -1
- package/dist/dtos/product/requests/product-downgradable-request.dto.js +1 -1
- package/dist/dtos/product/requests/product-downgrade-request.dto.d.ts +1 -1
- package/dist/dtos/product/requests/product-downgrade-request.dto.js +1 -1
- package/dist/dtos/product/requests/product-renew-request.dto.d.ts +1 -1
- package/dist/dtos/product/requests/product-renew-request.dto.js +1 -1
- package/dist/dtos/product/requests/product-suspend-request.dto.d.ts +1 -1
- package/dist/dtos/product/requests/product-suspend-request.dto.js +1 -1
- package/dist/dtos/product/requests/product-unsuspend-request.dto.d.ts +1 -1
- package/dist/dtos/product/requests/product-unsuspend-request.dto.js +1 -1
- package/dist/dtos/product/requests/product-upgradable-request.dto.d.ts +1 -1
- package/dist/dtos/product/requests/product-upgradable-request.dto.js +1 -1
- package/dist/dtos/product/requests/product-upgrade-request.dto.d.ts +1 -1
- package/dist/dtos/product/requests/product-upgrade-request.dto.js +1 -1
- package/dist/dtos/product/responses/product-info-response.dto.js +17 -0
- package/dist/dtos/responses/validate-attributes-response.dto.js +18 -0
- package/dist/dtos/settings.dto.d.ts +18 -0
- package/dist/dtos/settings.dto.js +19 -2
- 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/enums/language.enum.d.ts +184 -184
- package/dist/enums/language.enum.js +184 -367
- package/dist/helpers/country.helper.d.ts +1 -1
- package/dist/helpers/country.helper.js +1 -3
- package/dist/index.d.ts +13 -6
- package/dist/index.js +14 -8
- package/dist/openapi/schemas/components.schemas.d.ts +42 -54
- package/dist/openapi/schemas/components.schemas.js +822 -802
- package/dist/validators/company-data-validator.spec.js +6 -6
- package/dist/validators/field-validator.spec.js +3 -3
- package/dist/validators/multilang-text-validator.spec.js +2 -2
- package/dist/validators/notification-info-validator.spec.js +11 -11
- package/dist/validators/notification-request-validator.js +1 -1
- package/dist/validators/product-info-validator.spec.js +39 -51
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24,18 +24,16 @@ __exportStar(require("./dtos/client-data.dto"), exports);
|
|
|
24
24
|
__exportStar(require("./dtos/company-data.dto"), exports);
|
|
25
25
|
__exportStar(require("./dtos/country.dto"), exports);
|
|
26
26
|
__exportStar(require("./dtos/error-response.dto"), exports);
|
|
27
|
-
__exportStar(require("./dtos/field.dto"), exports);
|
|
27
|
+
__exportStar(require("./dtos/attribute-field.dto"), exports);
|
|
28
|
+
__exportStar(require("./dtos/addon-field.dto"), exports);
|
|
28
29
|
__exportStar(require("./dtos/field-option.dto"), exports);
|
|
29
|
-
__exportStar(require("./dtos/info.dto"), exports);
|
|
30
30
|
__exportStar(require("./dtos/jwt.dto"), exports);
|
|
31
31
|
__exportStar(require("./dtos/menu.dto"), exports);
|
|
32
32
|
__exportStar(require("./dtos/multilang-text.dto"), exports);
|
|
33
33
|
__exportStar(require("./dtos/response-data.dto"), exports);
|
|
34
34
|
__exportStar(require("./dtos/setup-status-response.dto"), exports);
|
|
35
35
|
__exportStar(require("./dtos/submenu.dto"), exports);
|
|
36
|
-
__exportStar(require("./dtos/success-response.dto"), exports);
|
|
37
36
|
__exportStar(require("./dtos/tab.dto"), exports);
|
|
38
|
-
__exportStar(require("./dtos/task-response.dto"), exports);
|
|
39
37
|
__exportStar(require("./dtos/unit.dto"), exports);
|
|
40
38
|
__exportStar(require("./dtos/admin-panel.dto"), exports);
|
|
41
39
|
__exportStar(require("./dtos/client-panel.dto"), exports);
|
|
@@ -46,17 +44,26 @@ __exportStar(require("./dtos/requests/validate-attributes-request.dto"), exports
|
|
|
46
44
|
__exportStar(require("./dtos/responses/validate-attributes-response.dto"), exports);
|
|
47
45
|
// Notification DTOs
|
|
48
46
|
__exportStar(require("./dtos/notification/notification-info.dto"), exports);
|
|
49
|
-
__exportStar(require("./dtos/notification/notification-send-request.dto"), exports);
|
|
47
|
+
__exportStar(require("./dtos/notification/requests/notification-send-request.dto"), exports);
|
|
48
|
+
__exportStar(require("./dtos/notification/responses/notification-send-response.dto"), exports);
|
|
50
49
|
__exportStar(require("./dtos/notification/receiver/receiver-email.dto"), exports);
|
|
51
50
|
__exportStar(require("./dtos/notification/receiver/receiver-push.dto"), exports);
|
|
52
51
|
__exportStar(require("./dtos/notification/receiver/receiver-sms.dto"), exports);
|
|
53
52
|
__exportStar(require("./dtos/notification/sender/sender-email.dto"), exports);
|
|
54
53
|
__exportStar(require("./dtos/notification/sender/sender-push.dto"), exports);
|
|
55
54
|
__exportStar(require("./dtos/notification/sender/sender-sms.dto"), exports);
|
|
55
|
+
//Invoice DTOs
|
|
56
|
+
__exportStar(require("./dtos/invoice/invoice-info.dto"), exports);
|
|
57
|
+
__exportStar(require("./dtos/invoice/invoice-item-data.dto"), exports);
|
|
58
|
+
__exportStar(require("./dtos/invoice/requests/invoice-request.dto"), exports);
|
|
59
|
+
__exportStar(require("./dtos/invoice/requests/credit-note-request.dto"), exports);
|
|
60
|
+
__exportStar(require("./dtos/invoice/requests/proforma-invoice-request.dto"), exports);
|
|
61
|
+
__exportStar(require("./dtos/invoice/responses/invoice-response.dto"), exports);
|
|
62
|
+
__exportStar(require("./dtos/invoice/responses/credit-note-response.dto"), exports);
|
|
63
|
+
__exportStar(require("./dtos/invoice/responses/proforma-invoice-response.dto"), exports);
|
|
56
64
|
// Product DTOs
|
|
57
65
|
__exportStar(require("./dtos/product/product-info.dto"), exports);
|
|
58
66
|
__exportStar(require("./dtos/product/product-item-data.dto"), exports);
|
|
59
|
-
// Product Requests
|
|
60
67
|
__exportStar(require("./dtos/product/requests/product-create-request.dto"), exports);
|
|
61
68
|
__exportStar(require("./dtos/product/requests/product-delete-request.dto"), exports);
|
|
62
69
|
__exportStar(require("./dtos/product/requests/product-downgrade-request.dto"), exports);
|
|
@@ -66,7 +73,6 @@ __exportStar(require("./dtos/product/requests/product-suspend-request.dto"), exp
|
|
|
66
73
|
__exportStar(require("./dtos/product/requests/product-unsuspend-request.dto"), exports);
|
|
67
74
|
__exportStar(require("./dtos/product/requests/product-upgrade-request.dto"), exports);
|
|
68
75
|
__exportStar(require("./dtos/product/requests/product-upgradable-request.dto"), exports);
|
|
69
|
-
// Product Responses
|
|
70
76
|
__exportStar(require("./dtos/product/responses/product-create-response.dto"), exports);
|
|
71
77
|
__exportStar(require("./dtos/product/responses/product-delete-response.dto"), exports);
|
|
72
78
|
__exportStar(require("./dtos/product/responses/product-downgrade-response.dto"), exports);
|
|
@@ -78,7 +84,7 @@ __exportStar(require("./dtos/product/responses/product-unsuspend-response.dto"),
|
|
|
78
84
|
__exportStar(require("./dtos/product/responses/product-upgrade-response.dto"), exports);
|
|
79
85
|
__exportStar(require("./dtos/product/responses/product-upgradable-response.dto"), exports);
|
|
80
86
|
// Enums
|
|
81
|
-
__exportStar(require("./enums/actions.enum"), exports);
|
|
87
|
+
__exportStar(require("./enums/item-actions.enum"), exports);
|
|
82
88
|
__exportStar(require("./enums/country.enum"), exports);
|
|
83
89
|
__exportStar(require("./enums/duration.enum"), exports);
|
|
84
90
|
__exportStar(require("./enums/events.enum"), exports);
|
|
@@ -176,6 +176,8 @@ export declare const ComponentsSchemas: {
|
|
|
176
176
|
readonly url: {
|
|
177
177
|
readonly format: "url";
|
|
178
178
|
readonly type: "string";
|
|
179
|
+
readonly title: "URL";
|
|
180
|
+
readonly description: "URL to the settings page.";
|
|
179
181
|
};
|
|
180
182
|
readonly label: {
|
|
181
183
|
readonly minLength: 1;
|
|
@@ -205,7 +207,7 @@ export declare const ComponentsSchemas: {
|
|
|
205
207
|
};
|
|
206
208
|
readonly type: "array";
|
|
207
209
|
readonly title: "Tabs";
|
|
208
|
-
readonly description: "
|
|
210
|
+
readonly description: "List of tabs for the settings page.";
|
|
209
211
|
};
|
|
210
212
|
readonly label: {
|
|
211
213
|
readonly minLength: 1;
|
|
@@ -441,7 +443,7 @@ export declare const ComponentsSchemas: {
|
|
|
441
443
|
readonly MultilangTextDto: {
|
|
442
444
|
readonly properties: {
|
|
443
445
|
readonly language: {
|
|
444
|
-
readonly enum: readonly ["
|
|
446
|
+
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
447
|
readonly type: "string";
|
|
446
448
|
};
|
|
447
449
|
readonly text: {
|
|
@@ -515,32 +517,11 @@ export declare const ComponentsSchemas: {
|
|
|
515
517
|
readonly title: "Field Type";
|
|
516
518
|
readonly description: "Type of the field.";
|
|
517
519
|
};
|
|
518
|
-
readonly repeatableMin: {
|
|
519
|
-
readonly type: "number";
|
|
520
|
-
};
|
|
521
|
-
readonly repeatableMax: {
|
|
522
|
-
readonly type: "number";
|
|
523
|
-
};
|
|
524
520
|
readonly required: {
|
|
525
521
|
readonly type: "boolean";
|
|
526
522
|
readonly title: "Required";
|
|
527
523
|
readonly description: "Whether the field is required.";
|
|
528
524
|
};
|
|
529
|
-
readonly disabled: {
|
|
530
|
-
readonly type: "boolean";
|
|
531
|
-
readonly title: "Disabled";
|
|
532
|
-
readonly description: "Whether the field is disabled.";
|
|
533
|
-
};
|
|
534
|
-
readonly visibleInOrder: {
|
|
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 type: "boolean";
|
|
541
|
-
readonly title: "Visible In Client Panel";
|
|
542
|
-
readonly description: "Whether the field is visible in client panel.";
|
|
543
|
-
};
|
|
544
525
|
readonly regexValidation: {
|
|
545
526
|
readonly type: "string";
|
|
546
527
|
readonly title: "Regex Validation";
|
|
@@ -555,27 +536,19 @@ export declare const ComponentsSchemas: {
|
|
|
555
536
|
readonly title: "Regex Validation Error Message";
|
|
556
537
|
readonly description: "Localized error message shown when regex validation fails.";
|
|
557
538
|
};
|
|
558
|
-
readonly triggersRemoteValidation: {
|
|
559
|
-
readonly type: "boolean";
|
|
560
|
-
readonly title: "Triggers Remote Validation";
|
|
561
|
-
readonly description: "If true, field triggers remote validation.";
|
|
562
|
-
};
|
|
563
|
-
readonly remoteValidationErrorMessage: {
|
|
564
|
-
readonly items: {
|
|
565
|
-
readonly $ref: "#/components/schemas/MultilangTextDto";
|
|
566
|
-
};
|
|
567
|
-
readonly type: "array";
|
|
568
|
-
readonly title: "Remote Validation Error Message";
|
|
569
|
-
readonly description: "Localized error messages for remote validation.";
|
|
570
|
-
};
|
|
571
539
|
readonly upgradable: {
|
|
572
540
|
readonly type: "boolean";
|
|
573
541
|
readonly title: "Upgradable";
|
|
574
542
|
readonly description: "Whether the item attribute is upgradable by the user.";
|
|
575
543
|
};
|
|
544
|
+
readonly downgradable: {
|
|
545
|
+
readonly type: "boolean";
|
|
546
|
+
readonly title: "Downgradable";
|
|
547
|
+
readonly description: "Whether the item attribute is downgradable by the user.";
|
|
548
|
+
};
|
|
576
549
|
};
|
|
577
550
|
readonly type: "object";
|
|
578
|
-
readonly required: readonly ["id", "label", "value", "type", "required", "
|
|
551
|
+
readonly required: readonly ["id", "label", "value", "type", "required", "upgradable", "downgradable"];
|
|
579
552
|
};
|
|
580
553
|
readonly InfoDto: {
|
|
581
554
|
readonly properties: {
|
|
@@ -601,16 +574,16 @@ export declare const ComponentsSchemas: {
|
|
|
601
574
|
};
|
|
602
575
|
readonly supportedLanguages: {
|
|
603
576
|
readonly items: {
|
|
604
|
-
readonly enum: readonly ["
|
|
577
|
+
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"];
|
|
605
578
|
readonly type: "string";
|
|
606
579
|
};
|
|
607
580
|
readonly minItems: 1;
|
|
608
581
|
readonly type: "array";
|
|
609
582
|
readonly title: "Supported Languages";
|
|
610
583
|
readonly description: "Locales supported by the integration.";
|
|
611
|
-
readonly example: readonly ["
|
|
584
|
+
readonly example: readonly ["EN"];
|
|
612
585
|
};
|
|
613
|
-
readonly
|
|
586
|
+
readonly supportedTypes: {
|
|
614
587
|
readonly items: {
|
|
615
588
|
readonly enum: readonly ["create", "renew", "upgrade", "downgrade", "transfer", "trade", "suspend", "unsuspend", "delete"];
|
|
616
589
|
readonly type: "string";
|
|
@@ -618,6 +591,13 @@ export declare const ComponentsSchemas: {
|
|
|
618
591
|
readonly type: "array";
|
|
619
592
|
readonly title: "Supported Actions";
|
|
620
593
|
readonly description: "Actions supported by this integration.";
|
|
594
|
+
readonly oneOf: readonly [{
|
|
595
|
+
readonly type: "string";
|
|
596
|
+
readonly enum: readonly ["create", "renew", "upgrade", "downgrade", "transfer", "trade", "suspend", "unsuspend", "delete"];
|
|
597
|
+
}, {
|
|
598
|
+
readonly type: "string";
|
|
599
|
+
readonly enum: readonly ["invoice", "credit-note", "proforma"];
|
|
600
|
+
}];
|
|
621
601
|
};
|
|
622
602
|
readonly listenEvents: {
|
|
623
603
|
readonly items: {
|
|
@@ -742,16 +722,16 @@ export declare const ComponentsSchemas: {
|
|
|
742
722
|
};
|
|
743
723
|
readonly supportedLanguages: {
|
|
744
724
|
readonly items: {
|
|
745
|
-
readonly enum: readonly ["
|
|
725
|
+
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"];
|
|
746
726
|
readonly type: "string";
|
|
747
727
|
};
|
|
748
728
|
readonly minItems: 1;
|
|
749
729
|
readonly type: "array";
|
|
750
730
|
readonly title: "Supported Languages";
|
|
751
731
|
readonly description: "Locales supported by the integration.";
|
|
752
|
-
readonly example: readonly ["
|
|
732
|
+
readonly example: readonly ["EN"];
|
|
753
733
|
};
|
|
754
|
-
readonly
|
|
734
|
+
readonly supportedTypes: {
|
|
755
735
|
readonly items: {
|
|
756
736
|
readonly enum: readonly ["create", "renew", "upgrade", "downgrade", "transfer", "trade", "suspend", "unsuspend", "delete"];
|
|
757
737
|
readonly type: "string";
|
|
@@ -759,6 +739,13 @@ export declare const ComponentsSchemas: {
|
|
|
759
739
|
readonly type: "array";
|
|
760
740
|
readonly title: "Supported Actions";
|
|
761
741
|
readonly description: "Actions supported by this integration.";
|
|
742
|
+
readonly oneOf: readonly [{
|
|
743
|
+
readonly type: "string";
|
|
744
|
+
readonly enum: readonly ["create", "renew", "upgrade", "downgrade", "transfer", "trade", "suspend", "unsuspend", "delete"];
|
|
745
|
+
}, {
|
|
746
|
+
readonly type: "string";
|
|
747
|
+
readonly enum: readonly ["invoice", "credit-note", "proforma"];
|
|
748
|
+
}];
|
|
762
749
|
};
|
|
763
750
|
readonly listenEvents: {
|
|
764
751
|
readonly items: {
|
|
@@ -858,6 +845,16 @@ export declare const ComponentsSchemas: {
|
|
|
858
845
|
readonly status_text: "status";
|
|
859
846
|
};
|
|
860
847
|
};
|
|
848
|
+
readonly supportedTypes: {
|
|
849
|
+
readonly items: {
|
|
850
|
+
readonly enum: readonly ["create", "renew", "upgrade", "downgrade", "transfer", "trade", "suspend", "unsuspend", "delete"];
|
|
851
|
+
readonly type: "string";
|
|
852
|
+
};
|
|
853
|
+
readonly type: "array";
|
|
854
|
+
readonly minLength: 1;
|
|
855
|
+
readonly title: "Supported Actions";
|
|
856
|
+
readonly description: "Actions supported by this integration.";
|
|
857
|
+
};
|
|
861
858
|
readonly title: {
|
|
862
859
|
readonly minLength: 1;
|
|
863
860
|
readonly type: "string";
|
|
@@ -880,23 +877,14 @@ export declare const ComponentsSchemas: {
|
|
|
880
877
|
};
|
|
881
878
|
readonly supportedLanguages: {
|
|
882
879
|
readonly items: {
|
|
883
|
-
readonly enum: readonly ["
|
|
880
|
+
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"];
|
|
884
881
|
readonly type: "string";
|
|
885
882
|
};
|
|
886
883
|
readonly minItems: 1;
|
|
887
884
|
readonly type: "array";
|
|
888
885
|
readonly title: "Supported Languages";
|
|
889
886
|
readonly description: "Locales supported by the integration.";
|
|
890
|
-
readonly example: readonly ["
|
|
891
|
-
};
|
|
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.";
|
|
887
|
+
readonly example: readonly ["EN"];
|
|
900
888
|
};
|
|
901
889
|
readonly listenEvents: {
|
|
902
890
|
readonly items: {
|