@hosterai/types 0.0.32 → 0.0.35
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/dtos/action.dto.js +1 -1
- package/dist/dtos/country.dto.js +1 -2
- package/dist/dtos/field.dto.js +1 -2
- package/dist/dtos/info.dto.d.ts +0 -7
- package/dist/dtos/info.dto.js +3 -14
- package/dist/dtos/multilang-text.dto.js +1 -2
- package/dist/dtos/notification/notification-info.dto.js +1 -2
- package/dist/dtos/product/product-info.dto.js +1 -1
- package/dist/openapi/schemas/components.schemas.d.ts +51 -92
- package/dist/openapi/schemas/components.schemas.js +754 -1828
- package/dist/openapi/schemas/components.schemas.spec.d.ts +1 -0
- package/dist/openapi/schemas/components.schemas.spec.js +122 -0
- package/package.json +1 -1
package/dist/dtos/action.dto.js
CHANGED
|
@@ -52,7 +52,7 @@ __decorate([
|
|
|
52
52
|
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
53
53
|
title: 'Open Method',
|
|
54
54
|
description: "Method by which the action's URL should be opened.",
|
|
55
|
-
|
|
55
|
+
$ref: '#/components/schemas/OpenMethodEnum',
|
|
56
56
|
}),
|
|
57
57
|
__metadata("design:type", String)
|
|
58
58
|
], ActionDto.prototype, "openMethod", void 0);
|
package/dist/dtos/country.dto.js
CHANGED
|
@@ -35,8 +35,7 @@ __decorate([
|
|
|
35
35
|
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
36
36
|
title: 'Code',
|
|
37
37
|
description: 'Country code.',
|
|
38
|
-
|
|
39
|
-
enum: Object.values(country_enum_1.CountryEnum),
|
|
38
|
+
$ref: '#/components/schemas/CountryEnum',
|
|
40
39
|
}),
|
|
41
40
|
__metadata("design:type", String)
|
|
42
41
|
], CountryDto.prototype, "code", void 0);
|
package/dist/dtos/field.dto.js
CHANGED
|
@@ -89,8 +89,7 @@ __decorate([
|
|
|
89
89
|
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
90
90
|
title: 'Field Type',
|
|
91
91
|
description: 'Type of the field.',
|
|
92
|
-
|
|
93
|
-
enum: Object.values(field_type_enum_1.FieldTypeEnum),
|
|
92
|
+
$ref: '#/components/schemas/FieldTypeEnum',
|
|
94
93
|
}),
|
|
95
94
|
__metadata("design:type", String)
|
|
96
95
|
], FieldDto.prototype, "type", void 0);
|
package/dist/dtos/info.dto.d.ts
CHANGED
|
@@ -16,13 +16,6 @@ export declare class InfoDto {
|
|
|
16
16
|
* @example "My Awesome Integration"
|
|
17
17
|
*/
|
|
18
18
|
title: string;
|
|
19
|
-
/**
|
|
20
|
-
* The unique name of the integration.
|
|
21
|
-
* It must consist of only lowercase English letters, dash, and numbers.
|
|
22
|
-
* It must be unique across the entire HosterAI project.
|
|
23
|
-
* @example "example-product"
|
|
24
|
-
*/
|
|
25
|
-
uniqueName: string;
|
|
26
19
|
/**
|
|
27
20
|
* The URL of the integration's logo.
|
|
28
21
|
* @example "https://example.com/logo.png"
|
package/dist/dtos/info.dto.js
CHANGED
|
@@ -43,17 +43,6 @@ __decorate([
|
|
|
43
43
|
}),
|
|
44
44
|
__metadata("design:type", String)
|
|
45
45
|
], InfoDto.prototype, "title", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, class_validator_1.IsString)(),
|
|
48
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
49
|
-
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
50
|
-
title: 'Unique Name',
|
|
51
|
-
description: 'Unique name of the integration.',
|
|
52
|
-
type: 'string',
|
|
53
|
-
example: 'example-product',
|
|
54
|
-
}),
|
|
55
|
-
__metadata("design:type", String)
|
|
56
|
-
], InfoDto.prototype, "uniqueName", void 0);
|
|
57
46
|
__decorate([
|
|
58
47
|
(0, class_validator_1.IsUrl)({ protocols: ['https'], require_protocol: true }),
|
|
59
48
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -86,7 +75,7 @@ __decorate([
|
|
|
86
75
|
title: 'Supported Languages',
|
|
87
76
|
description: 'Locales supported by the integration.',
|
|
88
77
|
type: 'array',
|
|
89
|
-
items: {
|
|
78
|
+
items: { $ref: '#/components/schemas/LanguageEnum' },
|
|
90
79
|
example: ['EN'],
|
|
91
80
|
}),
|
|
92
81
|
__metadata("design:type", Array)
|
|
@@ -100,7 +89,7 @@ __decorate([
|
|
|
100
89
|
title: 'Listen Events',
|
|
101
90
|
description: 'Platform events the integration can subscribe to.',
|
|
102
91
|
type: 'array',
|
|
103
|
-
items: {
|
|
92
|
+
items: { $ref: '#/components/schemas/EventsEnum' },
|
|
104
93
|
}),
|
|
105
94
|
__metadata("design:type", Array)
|
|
106
95
|
], InfoDto.prototype, "listenEvents", void 0);
|
|
@@ -113,7 +102,7 @@ __decorate([
|
|
|
113
102
|
title: 'Required Roles',
|
|
114
103
|
description: 'Roles required for this integration to operate.',
|
|
115
104
|
type: 'array',
|
|
116
|
-
items: {
|
|
105
|
+
items: { $ref: '#/components/schemas/RolesEnum' },
|
|
117
106
|
}),
|
|
118
107
|
__metadata("design:type", Array)
|
|
119
108
|
], InfoDto.prototype, "requiredRoles", void 0);
|
|
@@ -26,8 +26,7 @@ __decorate([
|
|
|
26
26
|
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
27
27
|
title: 'Language',
|
|
28
28
|
description: 'The language of the text.',
|
|
29
|
-
|
|
30
|
-
enum: Object.values(language_enum_1.LanguageEnum),
|
|
29
|
+
$ref: '#/components/schemas/LanguageEnum',
|
|
31
30
|
}),
|
|
32
31
|
__metadata("design:type", String)
|
|
33
32
|
], MultilangTextDto.prototype, "language", void 0);
|
|
@@ -29,8 +29,7 @@ __decorate([
|
|
|
29
29
|
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
30
30
|
title: 'Notification Type',
|
|
31
31
|
description: 'Notification channel type.',
|
|
32
|
-
|
|
33
|
-
enum: Object.values(notification_message_type_enum_1.NotificationMessageTypeEnum),
|
|
32
|
+
$ref: '#/components/schemas/NotificationMessageTypeEnum',
|
|
34
33
|
example: Object.values(notification_message_type_enum_1.NotificationMessageTypeEnum)[0],
|
|
35
34
|
}),
|
|
36
35
|
__metadata("design:type", String)
|
|
@@ -104,7 +104,7 @@ __decorate([
|
|
|
104
104
|
title: 'Supported Actions',
|
|
105
105
|
description: 'Actions supported by this integration.',
|
|
106
106
|
type: 'array',
|
|
107
|
-
items: {
|
|
107
|
+
items: { $ref: '#/components/schemas/ProductActionsEnum' },
|
|
108
108
|
}),
|
|
109
109
|
__metadata("design:type", Array)
|
|
110
110
|
], ProductInfoDto.prototype, "supportedActions", void 0);
|
|
@@ -8,10 +8,7 @@ export declare const ComponentsSchemas: {
|
|
|
8
8
|
readonly description: "Country name.";
|
|
9
9
|
};
|
|
10
10
|
readonly code: {
|
|
11
|
-
readonly
|
|
12
|
-
readonly type: "string";
|
|
13
|
-
readonly title: "Code";
|
|
14
|
-
readonly description: "Country code.";
|
|
11
|
+
readonly $ref: "#/components/schemas/CountryEnum";
|
|
15
12
|
};
|
|
16
13
|
readonly isEurope: {
|
|
17
14
|
readonly type: "boolean";
|
|
@@ -55,11 +52,7 @@ export declare const ComponentsSchemas: {
|
|
|
55
52
|
readonly description: "Text label for the action.";
|
|
56
53
|
};
|
|
57
54
|
readonly openMethod: {
|
|
58
|
-
readonly
|
|
59
|
-
readonly type: "string";
|
|
60
|
-
readonly enum: readonly ["ajax_call", "small_iframe", "medium_iframe", "large_iframe"];
|
|
61
|
-
readonly title: "Open Method";
|
|
62
|
-
readonly description: "Method by which the action's URL should be opened.";
|
|
55
|
+
readonly $ref: "#/components/schemas/OpenMethodEnum";
|
|
63
56
|
};
|
|
64
57
|
readonly url: {
|
|
65
58
|
readonly minLength: 1;
|
|
@@ -339,13 +332,9 @@ export declare const ComponentsSchemas: {
|
|
|
339
332
|
readonly properties: {
|
|
340
333
|
readonly tabs: {
|
|
341
334
|
readonly $ref: "#/components/schemas/AdminPanelTabsDto";
|
|
342
|
-
readonly title: "Tabs";
|
|
343
|
-
readonly description: "Tab structure for Admin panel sections.";
|
|
344
335
|
};
|
|
345
336
|
readonly moreActions: {
|
|
346
337
|
readonly $ref: "#/components/schemas/AdminPanelMoreActionsDto";
|
|
347
|
-
readonly title: "More Actions";
|
|
348
|
-
readonly description: "Additional actions in Admin panel sections.";
|
|
349
338
|
};
|
|
350
339
|
readonly menu: {
|
|
351
340
|
readonly title: "Menu";
|
|
@@ -402,13 +391,9 @@ export declare const ComponentsSchemas: {
|
|
|
402
391
|
readonly properties: {
|
|
403
392
|
readonly tabs: {
|
|
404
393
|
readonly $ref: "#/components/schemas/ClientPanelTabsDto";
|
|
405
|
-
readonly title: "Tabs";
|
|
406
|
-
readonly description: "Tab structure for Client panel.";
|
|
407
394
|
};
|
|
408
395
|
readonly moreActions: {
|
|
409
396
|
readonly $ref: "#/components/schemas/ClientPanelMoreActionsDto";
|
|
410
|
-
readonly title: "More Actions";
|
|
411
|
-
readonly description: "Additional actions in Client panel.";
|
|
412
397
|
};
|
|
413
398
|
readonly menu: {
|
|
414
399
|
readonly title: "Menu";
|
|
@@ -425,10 +410,7 @@ export declare const ComponentsSchemas: {
|
|
|
425
410
|
readonly MultilangTextDto: {
|
|
426
411
|
readonly properties: {
|
|
427
412
|
readonly language: {
|
|
428
|
-
readonly
|
|
429
|
-
readonly type: "string";
|
|
430
|
-
readonly title: "Language";
|
|
431
|
-
readonly description: "The language of the text.";
|
|
413
|
+
readonly $ref: "#/components/schemas/LanguageEnum";
|
|
432
414
|
};
|
|
433
415
|
readonly text: {
|
|
434
416
|
readonly minLength: 1;
|
|
@@ -487,7 +469,6 @@ export declare const ComponentsSchemas: {
|
|
|
487
469
|
readonly title: "Number";
|
|
488
470
|
readonly type: "number";
|
|
489
471
|
}, {
|
|
490
|
-
readonly title: "Option";
|
|
491
472
|
readonly $ref: "#/components/schemas/FieldOptionDto";
|
|
492
473
|
}, {
|
|
493
474
|
readonly title: "Options Array";
|
|
@@ -498,10 +479,7 @@ export declare const ComponentsSchemas: {
|
|
|
498
479
|
}];
|
|
499
480
|
};
|
|
500
481
|
readonly type: {
|
|
501
|
-
readonly
|
|
502
|
-
readonly type: "string";
|
|
503
|
-
readonly title: "Field Type";
|
|
504
|
-
readonly description: "Type of the field.";
|
|
482
|
+
readonly $ref: "#/components/schemas/FieldTypeEnum";
|
|
505
483
|
};
|
|
506
484
|
readonly required: {
|
|
507
485
|
readonly type: "boolean";
|
|
@@ -566,13 +544,6 @@ export declare const ComponentsSchemas: {
|
|
|
566
544
|
readonly description: "Integration display title.";
|
|
567
545
|
readonly example: "Example Product";
|
|
568
546
|
};
|
|
569
|
-
readonly uniqueName: {
|
|
570
|
-
readonly minLength: 1;
|
|
571
|
-
readonly type: "string";
|
|
572
|
-
readonly title: "Unique Name";
|
|
573
|
-
readonly description: "Unique name of the integration.";
|
|
574
|
-
readonly example: "example-product";
|
|
575
|
-
};
|
|
576
547
|
readonly logo: {
|
|
577
548
|
readonly format: "uri";
|
|
578
549
|
readonly type: "string";
|
|
@@ -588,8 +559,7 @@ export declare const ComponentsSchemas: {
|
|
|
588
559
|
};
|
|
589
560
|
readonly supportedLanguages: {
|
|
590
561
|
readonly items: {
|
|
591
|
-
readonly
|
|
592
|
-
readonly type: "string";
|
|
562
|
+
readonly $ref: "#/components/schemas/LanguageEnum";
|
|
593
563
|
};
|
|
594
564
|
readonly minItems: 1;
|
|
595
565
|
readonly type: "array";
|
|
@@ -599,8 +569,7 @@ export declare const ComponentsSchemas: {
|
|
|
599
569
|
};
|
|
600
570
|
readonly listenEvents: {
|
|
601
571
|
readonly items: {
|
|
602
|
-
readonly
|
|
603
|
-
readonly type: "string";
|
|
572
|
+
readonly $ref: "#/components/schemas/EventsEnum";
|
|
604
573
|
};
|
|
605
574
|
readonly minItems: 1;
|
|
606
575
|
readonly type: "array";
|
|
@@ -609,8 +578,7 @@ export declare const ComponentsSchemas: {
|
|
|
609
578
|
};
|
|
610
579
|
readonly requiredRoles: {
|
|
611
580
|
readonly items: {
|
|
612
|
-
readonly
|
|
613
|
-
readonly type: "string";
|
|
581
|
+
readonly $ref: "#/components/schemas/RolesEnum";
|
|
614
582
|
};
|
|
615
583
|
readonly minItems: 1;
|
|
616
584
|
readonly type: "array";
|
|
@@ -619,13 +587,9 @@ export declare const ComponentsSchemas: {
|
|
|
619
587
|
};
|
|
620
588
|
readonly adminPanel: {
|
|
621
589
|
readonly $ref: "#/components/schemas/AdminPanelDto";
|
|
622
|
-
readonly title: "Admin Panel";
|
|
623
|
-
readonly description: "Admin UI links, tabs, and actions provided by the integration.";
|
|
624
590
|
};
|
|
625
591
|
readonly clientPanel: {
|
|
626
592
|
readonly $ref: "#/components/schemas/ClientPanelDto";
|
|
627
|
-
readonly title: "Client Panel";
|
|
628
|
-
readonly description: "Client UI links, tabs, and actions provided by the integration.";
|
|
629
593
|
};
|
|
630
594
|
readonly onboardingUrl: {
|
|
631
595
|
readonly format: "uri";
|
|
@@ -645,7 +609,7 @@ export declare const ComponentsSchemas: {
|
|
|
645
609
|
};
|
|
646
610
|
};
|
|
647
611
|
readonly type: "object";
|
|
648
|
-
readonly required: readonly ["title", "
|
|
612
|
+
readonly required: readonly ["title", "supportedLanguages"];
|
|
649
613
|
};
|
|
650
614
|
readonly UnitDto: {
|
|
651
615
|
readonly properties: {
|
|
@@ -677,11 +641,7 @@ export declare const ComponentsSchemas: {
|
|
|
677
641
|
readonly NotificationInfoDto: {
|
|
678
642
|
readonly properties: {
|
|
679
643
|
readonly type: {
|
|
680
|
-
readonly
|
|
681
|
-
readonly type: "string";
|
|
682
|
-
readonly title: "Notification Type";
|
|
683
|
-
readonly description: "Notification channel type.";
|
|
684
|
-
readonly example: "email";
|
|
644
|
+
readonly $ref: "#/components/schemas/NotificationMessageTypeEnum";
|
|
685
645
|
};
|
|
686
646
|
readonly payPerUseUnits: {
|
|
687
647
|
readonly items: {
|
|
@@ -703,13 +663,6 @@ export declare const ComponentsSchemas: {
|
|
|
703
663
|
readonly description: "Integration display title.";
|
|
704
664
|
readonly example: "Example Product";
|
|
705
665
|
};
|
|
706
|
-
readonly uniqueName: {
|
|
707
|
-
readonly minLength: 1;
|
|
708
|
-
readonly type: "string";
|
|
709
|
-
readonly title: "Unique Name";
|
|
710
|
-
readonly description: "Unique name of the integration.";
|
|
711
|
-
readonly example: "example-product";
|
|
712
|
-
};
|
|
713
666
|
readonly logo: {
|
|
714
667
|
readonly format: "uri";
|
|
715
668
|
readonly type: "string";
|
|
@@ -725,8 +678,7 @@ export declare const ComponentsSchemas: {
|
|
|
725
678
|
};
|
|
726
679
|
readonly supportedLanguages: {
|
|
727
680
|
readonly items: {
|
|
728
|
-
readonly
|
|
729
|
-
readonly type: "string";
|
|
681
|
+
readonly $ref: "#/components/schemas/LanguageEnum";
|
|
730
682
|
};
|
|
731
683
|
readonly minItems: 1;
|
|
732
684
|
readonly type: "array";
|
|
@@ -736,8 +688,7 @@ export declare const ComponentsSchemas: {
|
|
|
736
688
|
};
|
|
737
689
|
readonly listenEvents: {
|
|
738
690
|
readonly items: {
|
|
739
|
-
readonly
|
|
740
|
-
readonly type: "string";
|
|
691
|
+
readonly $ref: "#/components/schemas/EventsEnum";
|
|
741
692
|
};
|
|
742
693
|
readonly minItems: 1;
|
|
743
694
|
readonly type: "array";
|
|
@@ -746,8 +697,7 @@ export declare const ComponentsSchemas: {
|
|
|
746
697
|
};
|
|
747
698
|
readonly requiredRoles: {
|
|
748
699
|
readonly items: {
|
|
749
|
-
readonly
|
|
750
|
-
readonly type: "string";
|
|
700
|
+
readonly $ref: "#/components/schemas/RolesEnum";
|
|
751
701
|
};
|
|
752
702
|
readonly minItems: 1;
|
|
753
703
|
readonly type: "array";
|
|
@@ -756,13 +706,9 @@ export declare const ComponentsSchemas: {
|
|
|
756
706
|
};
|
|
757
707
|
readonly adminPanel: {
|
|
758
708
|
readonly $ref: "#/components/schemas/AdminPanelDto";
|
|
759
|
-
readonly title: "Admin Panel";
|
|
760
|
-
readonly description: "Admin UI links, tabs, and actions provided by the integration.";
|
|
761
709
|
};
|
|
762
710
|
readonly clientPanel: {
|
|
763
711
|
readonly $ref: "#/components/schemas/ClientPanelDto";
|
|
764
|
-
readonly title: "Client Panel";
|
|
765
|
-
readonly description: "Client UI links, tabs, and actions provided by the integration.";
|
|
766
712
|
};
|
|
767
713
|
readonly onboardingUrl: {
|
|
768
714
|
readonly format: "uri";
|
|
@@ -782,7 +728,7 @@ export declare const ComponentsSchemas: {
|
|
|
782
728
|
};
|
|
783
729
|
};
|
|
784
730
|
readonly type: "object";
|
|
785
|
-
readonly required: readonly ["type", "title", "
|
|
731
|
+
readonly required: readonly ["type", "title", "supportedLanguages"];
|
|
786
732
|
};
|
|
787
733
|
readonly AttributeFieldDto: {
|
|
788
734
|
readonly properties: {
|
|
@@ -830,7 +776,6 @@ export declare const ComponentsSchemas: {
|
|
|
830
776
|
readonly title: "Number";
|
|
831
777
|
readonly type: "number";
|
|
832
778
|
}, {
|
|
833
|
-
readonly title: "Option";
|
|
834
779
|
readonly $ref: "#/components/schemas/FieldOptionDto";
|
|
835
780
|
}, {
|
|
836
781
|
readonly title: "Options Array";
|
|
@@ -841,10 +786,7 @@ export declare const ComponentsSchemas: {
|
|
|
841
786
|
}];
|
|
842
787
|
};
|
|
843
788
|
readonly type: {
|
|
844
|
-
readonly
|
|
845
|
-
readonly type: "string";
|
|
846
|
-
readonly title: "Field Type";
|
|
847
|
-
readonly description: "Type of the field.";
|
|
789
|
+
readonly $ref: "#/components/schemas/FieldTypeEnum";
|
|
848
790
|
};
|
|
849
791
|
readonly required: {
|
|
850
792
|
readonly type: "boolean";
|
|
@@ -948,8 +890,7 @@ export declare const ComponentsSchemas: {
|
|
|
948
890
|
};
|
|
949
891
|
readonly supportedActions: {
|
|
950
892
|
readonly items: {
|
|
951
|
-
readonly
|
|
952
|
-
readonly type: "string";
|
|
893
|
+
readonly $ref: "#/components/schemas/ProductActionsEnum";
|
|
953
894
|
};
|
|
954
895
|
readonly type: "array";
|
|
955
896
|
readonly minLength: 1;
|
|
@@ -963,13 +904,6 @@ export declare const ComponentsSchemas: {
|
|
|
963
904
|
readonly description: "Integration display title.";
|
|
964
905
|
readonly example: "Example Product";
|
|
965
906
|
};
|
|
966
|
-
readonly uniqueName: {
|
|
967
|
-
readonly minLength: 1;
|
|
968
|
-
readonly type: "string";
|
|
969
|
-
readonly title: "Unique Name";
|
|
970
|
-
readonly description: "Unique name of the integration.";
|
|
971
|
-
readonly example: "example-product";
|
|
972
|
-
};
|
|
973
907
|
readonly logo: {
|
|
974
908
|
readonly format: "uri";
|
|
975
909
|
readonly type: "string";
|
|
@@ -985,8 +919,7 @@ export declare const ComponentsSchemas: {
|
|
|
985
919
|
};
|
|
986
920
|
readonly supportedLanguages: {
|
|
987
921
|
readonly items: {
|
|
988
|
-
readonly
|
|
989
|
-
readonly type: "string";
|
|
922
|
+
readonly $ref: "#/components/schemas/LanguageEnum";
|
|
990
923
|
};
|
|
991
924
|
readonly minItems: 1;
|
|
992
925
|
readonly type: "array";
|
|
@@ -996,8 +929,7 @@ export declare const ComponentsSchemas: {
|
|
|
996
929
|
};
|
|
997
930
|
readonly listenEvents: {
|
|
998
931
|
readonly items: {
|
|
999
|
-
readonly
|
|
1000
|
-
readonly type: "string";
|
|
932
|
+
readonly $ref: "#/components/schemas/EventsEnum";
|
|
1001
933
|
};
|
|
1002
934
|
readonly minItems: 1;
|
|
1003
935
|
readonly type: "array";
|
|
@@ -1006,8 +938,7 @@ export declare const ComponentsSchemas: {
|
|
|
1006
938
|
};
|
|
1007
939
|
readonly requiredRoles: {
|
|
1008
940
|
readonly items: {
|
|
1009
|
-
readonly
|
|
1010
|
-
readonly type: "string";
|
|
941
|
+
readonly $ref: "#/components/schemas/RolesEnum";
|
|
1011
942
|
};
|
|
1012
943
|
readonly minItems: 1;
|
|
1013
944
|
readonly type: "array";
|
|
@@ -1016,13 +947,9 @@ export declare const ComponentsSchemas: {
|
|
|
1016
947
|
};
|
|
1017
948
|
readonly adminPanel: {
|
|
1018
949
|
readonly $ref: "#/components/schemas/AdminPanelDto";
|
|
1019
|
-
readonly title: "Admin Panel";
|
|
1020
|
-
readonly description: "Admin UI links, tabs, and actions provided by the integration.";
|
|
1021
950
|
};
|
|
1022
951
|
readonly clientPanel: {
|
|
1023
952
|
readonly $ref: "#/components/schemas/ClientPanelDto";
|
|
1024
|
-
readonly title: "Client Panel";
|
|
1025
|
-
readonly description: "Client UI links, tabs, and actions provided by the integration.";
|
|
1026
953
|
};
|
|
1027
954
|
readonly onboardingUrl: {
|
|
1028
955
|
readonly format: "uri";
|
|
@@ -1042,6 +969,38 @@ export declare const ComponentsSchemas: {
|
|
|
1042
969
|
};
|
|
1043
970
|
};
|
|
1044
971
|
readonly type: "object";
|
|
1045
|
-
readonly required: readonly ["supportedActions", "title", "
|
|
972
|
+
readonly required: readonly ["supportedActions", "title", "supportedLanguages"];
|
|
973
|
+
};
|
|
974
|
+
readonly EventsEnum: {
|
|
975
|
+
readonly type: "string";
|
|
976
|
+
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", "item/refund-requested", "item/refund-accepted", "item/refund-rejected", "order/paid", "test", "dead-lettering", "core-queue"];
|
|
977
|
+
};
|
|
978
|
+
readonly RolesEnum: {
|
|
979
|
+
readonly type: "string";
|
|
980
|
+
readonly enum: readonly ["SIMPLE_USER", "FULL_ACCESS", "SUPER_ADMIN", "ORDER_READ", "ORDER_WRITE", "ADDON_READ", "ADDON_WRITE", "AFFILIATE_READ", "AFFILIATE_WRITE", "COMPANY_READ", "COMPANY_WRITE", "TEMPLATE_READ", "TEMPLATE_WRITE", "COUPON_READ", "COUPON_WRITE", "DOMAIN_CATEGORY_READ", "DOMAIN_CATEGORY_WRITE", "DOMAIN_CONTACT_READ", "DOMAIN_CONTACT_WRITE", "DOMAIN_NAME_READ", "DOMAIN_NAME_WRITE", "INVOICE_CONTACT_READ", "INVOICE_CONTACT_WRITE", "INVOICE_READ", "INVOICE_WRITE", "IP_GROUPS_READ", "IP_GROUPS_WRITE", "IPS_READ", "IPS_WRITE", "ITEMS_READ", "ITEMS_WRITE", "ITEM_REFUND", "ORDERS_READ", "ORDERS_WRITE", "TRANSACTIONS_READ", "TRANSACTIONS_WRITE", "POLICIES_READ", "POLICIES_WRITE", "PRODUCT_CATEGORIES_READ", "PRODUCT_CATEGORIES_WRITE", "PRODUCTS_READ", "PRODUCTS_WRITE", "SETTINGS_READ", "SETTINGS_WRITE", "INTEGRATIONS_READ", "INTEGRATIONS_WRITE", "TLDS_READ", "TLDS_WRITE", "USERS_READ", "USERS_WRITE", "ISSUES_WRITE", "ISSUES_READ", "ACTION_LOGS_READ"];
|
|
981
|
+
};
|
|
982
|
+
readonly LanguageEnum: {
|
|
983
|
+
readonly type: "string";
|
|
984
|
+
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"];
|
|
985
|
+
};
|
|
986
|
+
readonly CountryEnum: {
|
|
987
|
+
readonly type: "string";
|
|
988
|
+
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"];
|
|
989
|
+
};
|
|
990
|
+
readonly FieldTypeEnum: {
|
|
991
|
+
readonly type: "string";
|
|
992
|
+
readonly enum: readonly ["TEXT_BOX", "TEXT_AREA", "SELECT", "MULTI_SELECT", "DESCRIPTION", "RADIO_BOX", "CHECKBOX", "SLIDER"];
|
|
993
|
+
};
|
|
994
|
+
readonly ProductActionsEnum: {
|
|
995
|
+
readonly type: "string";
|
|
996
|
+
readonly enum: readonly ["CREATE", "RENEW", "UPGRADE", "DOWNGRADE", "TRANSFER", "TRADE", "SUSPEND", "UNSUSPEND", "DELETE"];
|
|
997
|
+
};
|
|
998
|
+
readonly OpenMethodEnum: {
|
|
999
|
+
readonly type: "string";
|
|
1000
|
+
readonly enum: readonly ["ajax_call", "small_iframe", "medium_iframe", "large_iframe"];
|
|
1001
|
+
};
|
|
1002
|
+
readonly NotificationMessageTypeEnum: {
|
|
1003
|
+
readonly type: "string";
|
|
1004
|
+
readonly enum: readonly ["email", "sms", "push"];
|
|
1046
1005
|
};
|
|
1047
1006
|
};
|