@applitools/eyes-images 4.24.3 → 4.24.5
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/CHANGELOG.md +92 -0
- package/package.json +2 -2
- package/types/index.d.ts +118 -131
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,97 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.24.5](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.24.4...js/eyes-images@4.24.5) (2024-01-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/dom-shared bumped to 1.0.12
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fix error handling in process page poll ([#2127](https://github.com/applitools/eyes.sdk.javascript1/issues/2127)) ([4346026](https://github.com/applitools/eyes.sdk.javascript1/commit/4346026d567b92747df5b4f13fb1e82b849a856e))
|
|
12
|
+
* @applitools/dom-snapshot bumped to 4.7.15
|
|
13
|
+
#### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* fix error handling in process page poll ([#2127](https://github.com/applitools/eyes.sdk.javascript1/issues/2127)) ([4346026](https://github.com/applitools/eyes.sdk.javascript1/commit/4346026d567b92747df5b4f13fb1e82b849a856e))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
* @applitools/nml-client bumped to 1.6.3
|
|
20
|
+
#### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* environment for each check for local environment ([#2135](https://github.com/applitools/eyes.sdk.javascript1/issues/2135)) ([f3a4483](https://github.com/applitools/eyes.sdk.javascript1/commit/f3a44831d41e190aa259367b17e930e7b6f39a04))
|
|
23
|
+
* @applitools/core bumped to 4.5.2
|
|
24
|
+
#### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* environment for each check for local environment ([#2135](https://github.com/applitools/eyes.sdk.javascript1/issues/2135)) ([f3a4483](https://github.com/applitools/eyes.sdk.javascript1/commit/f3a44831d41e190aa259367b17e930e7b6f39a04))
|
|
27
|
+
* fixed concurrency splank logging ([#2115](https://github.com/applitools/eyes.sdk.javascript1/issues/2115)) ([83afd7d](https://github.com/applitools/eyes.sdk.javascript1/commit/83afd7dd2b52125fdc233dadbaf774811ea1c738))
|
|
28
|
+
* fixed the issue when custom os name passed through configuration wasn't respected ([359fc0d](https://github.com/applitools/eyes.sdk.javascript1/commit/359fc0df5a9400312605bb9e8842784b7a05ba7d))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
* @applitools/ec-client bumped to 1.7.21
|
|
33
|
+
|
|
34
|
+
* @applitools/core-base bumped to 1.8.0
|
|
35
|
+
#### Features
|
|
36
|
+
|
|
37
|
+
* sorted result regions of locate method ([ef6b249](https://github.com/applitools/eyes.sdk.javascript1/commit/ef6b249ad9d6998d6089423efd93f0220f13d378))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
#### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* fixed concurrency splank logging ([#2115](https://github.com/applitools/eyes.sdk.javascript1/issues/2115)) ([83afd7d](https://github.com/applitools/eyes.sdk.javascript1/commit/83afd7dd2b52125fdc233dadbaf774811ea1c738))
|
|
43
|
+
* @applitools/dom-capture bumped to 11.2.5
|
|
44
|
+
|
|
45
|
+
* @applitools/eyes bumped to 1.13.4
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## [4.24.4](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.24.3...js/eyes-images@4.24.4) (2023-12-19)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Dependencies
|
|
52
|
+
|
|
53
|
+
* @applitools/spec-driver-webdriver bumped to 1.0.54
|
|
54
|
+
#### Bug Fixes
|
|
55
|
+
|
|
56
|
+
* fixed extraction of the driver server url ([ddc6449](https://github.com/applitools/eyes.sdk.javascript1/commit/ddc6449fc72166ab26c99e9ba7bb83c05fd591d6))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
* @applitools/spec-driver-selenium bumped to 1.5.68
|
|
61
|
+
|
|
62
|
+
* @applitools/spec-driver-puppeteer bumped to 1.3.4
|
|
63
|
+
|
|
64
|
+
* @applitools/driver bumped to 1.16.1
|
|
65
|
+
#### Bug Fixes
|
|
66
|
+
|
|
67
|
+
* fixed bug with screenshot not being properly scaled on ios devices with appium 2 ([#2092](https://github.com/applitools/eyes.sdk.javascript1/issues/2092)) ([26678bf](https://github.com/applitools/eyes.sdk.javascript1/commit/26678bfe254def506ea82e6a645519d6567fb3fd))
|
|
68
|
+
* fixed extraction of the driver server url ([ddc6449](https://github.com/applitools/eyes.sdk.javascript1/commit/ddc6449fc72166ab26c99e9ba7bb83c05fd591d6))
|
|
69
|
+
* fixed infinite loop that may appear during attribute extraction ([#2102](https://github.com/applitools/eyes.sdk.javascript1/issues/2102)) ([6bef680](https://github.com/applitools/eyes.sdk.javascript1/commit/6bef680fbd2d5c26a46cf2a4f00bd083d1d02109))
|
|
70
|
+
* @applitools/screenshoter bumped to 3.8.20
|
|
71
|
+
#### Bug Fixes
|
|
72
|
+
|
|
73
|
+
* fixed bug with screenshot not being properly scaled on ios devices with appium 2 ([#2092](https://github.com/applitools/eyes.sdk.javascript1/issues/2092)) ([26678bf](https://github.com/applitools/eyes.sdk.javascript1/commit/26678bfe254def506ea82e6a645519d6567fb3fd))
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
* @applitools/nml-client bumped to 1.6.2
|
|
78
|
+
|
|
79
|
+
* @applitools/ec-client bumped to 1.7.20
|
|
80
|
+
|
|
81
|
+
* @applitools/core-base bumped to 1.7.5
|
|
82
|
+
#### Bug Fixes
|
|
83
|
+
|
|
84
|
+
* avoid caching concurrency ([#2103](https://github.com/applitools/eyes.sdk.javascript1/issues/2103)) ([34db2e9](https://github.com/applitools/eyes.sdk.javascript1/commit/34db2e9c554b0851b18b514b1a8a82b83ff310cd))
|
|
85
|
+
* @applitools/core bumped to 4.5.1
|
|
86
|
+
#### Bug Fixes
|
|
87
|
+
|
|
88
|
+
* avoid caching concurrency ([#2103](https://github.com/applitools/eyes.sdk.javascript1/issues/2103)) ([34db2e9](https://github.com/applitools/eyes.sdk.javascript1/commit/34db2e9c554b0851b18b514b1a8a82b83ff310cd))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
* @applitools/eyes bumped to 1.13.3
|
|
93
|
+
|
|
94
|
+
|
|
3
95
|
## [4.24.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.24.2...js/eyes-images@4.24.3) (2023-12-18)
|
|
4
96
|
|
|
5
97
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-images",
|
|
3
|
-
"version": "4.24.
|
|
3
|
+
"version": "4.24.5",
|
|
4
4
|
"description": "The simplest implementation of Applitools Eyes SDK, uploads images for validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-images",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"test:coverage": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-images' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generated-coverage/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15}"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@applitools/eyes": "1.13.
|
|
43
|
+
"@applitools/eyes": "1.13.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@applitools/api-extractor": "^1.2.22",
|
package/types/index.d.ts
CHANGED
|
@@ -53,40 +53,14 @@ export class Eyes {
|
|
|
53
53
|
checkImage(image: string, name?: undefined | string, ignoreMismatch?: undefined | boolean): Promise<MatchResult>;
|
|
54
54
|
checkImage(image: Buffer, name?: undefined | string, ignoreMismatch?: undefined | boolean): Promise<MatchResult>;
|
|
55
55
|
checkImage(image: URL, name?: undefined | string, ignoreMismatch?: undefined | boolean): Promise<MatchResult>;
|
|
56
|
-
locate<TLocator extends string>(target:
|
|
57
|
-
|
|
58
|
-
size?: undefined | { width: number; height: number; };
|
|
59
|
-
name?: undefined | string;
|
|
60
|
-
source?: undefined | string;
|
|
61
|
-
dom?: undefined | string;
|
|
62
|
-
locationInViewport?: undefined | { x: number; y: number; };
|
|
63
|
-
locationInView?: undefined | { x: number; y: number; };
|
|
64
|
-
fullViewSize?: undefined | { width: number; height: number; };
|
|
65
|
-
}, settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Array<RegionPlain>>>;
|
|
56
|
+
locate<TLocator extends string>(target: Image, settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Array<RegionPlain>>>;
|
|
57
|
+
locate<TLocator extends string>(settingsWithImage: VisualLocatorSettings<TLocator> & { image: string | Buffer | URL; }): Promise<Record<TLocator, Array<RegionPlain>>>;
|
|
66
58
|
locate<TLocator extends string>(settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Array<RegionPlain>>>;
|
|
67
|
-
extractTextRegions<TPattern extends string>(target:
|
|
68
|
-
|
|
69
|
-
size?: undefined | { width: number; height: number; };
|
|
70
|
-
name?: undefined | string;
|
|
71
|
-
source?: undefined | string;
|
|
72
|
-
dom?: undefined | string;
|
|
73
|
-
locationInViewport?: undefined | { x: number; y: number; };
|
|
74
|
-
locationInView?: undefined | { x: number; y: number; };
|
|
75
|
-
fullViewSize?: undefined | { width: number; height: number; };
|
|
76
|
-
}, settings: OCRSettings<TPattern>): Promise<Record<TPattern, Array<TextRegion>>>;
|
|
77
|
-
extractTextRegions<TPattern extends string>(settingsWithImage: OCRSettings<TPattern> & { image: string | URL | Uint8Array; }): Promise<Record<TPattern, Array<TextRegion>>>;
|
|
59
|
+
extractTextRegions<TPattern extends string>(target: Image, settings: OCRSettings<TPattern>): Promise<Record<TPattern, Array<TextRegion>>>;
|
|
60
|
+
extractTextRegions<TPattern extends string>(settingsWithImage: OCRSettings<TPattern> & { image: string | Buffer | URL; }): Promise<Record<TPattern, Array<TextRegion>>>;
|
|
78
61
|
extractTextRegions<TPattern extends string>(settings: OCRSettings<TPattern>): Promise<Record<TPattern, Array<TextRegion>>>;
|
|
79
|
-
extractText(target:
|
|
80
|
-
|
|
81
|
-
size?: undefined | { width: number; height: number; };
|
|
82
|
-
name?: undefined | string;
|
|
83
|
-
source?: undefined | string;
|
|
84
|
-
dom?: undefined | string;
|
|
85
|
-
locationInViewport?: undefined | { x: number; y: number; };
|
|
86
|
-
locationInView?: undefined | { x: number; y: number; };
|
|
87
|
-
fullViewSize?: undefined | { width: number; height: number; };
|
|
88
|
-
}, settings: Array<OCRRegion>): Promise<Array<string>>;
|
|
89
|
-
extractText(settingsWithImage: Array<OCRRegion & { image: string | URL | Uint8Array; }>): Promise<Array<string>>;
|
|
62
|
+
extractText(target: Image, settings: Array<OCRRegion>): Promise<Array<string>>;
|
|
63
|
+
extractText(settingsWithImage: Array<OCRRegion & { image: string | Buffer | URL; }>): Promise<Array<string>>;
|
|
90
64
|
extractText(settings: Array<OCRRegion>): Promise<Array<string>>;
|
|
91
65
|
close(throwErr?: undefined | boolean): Promise<TestResults>;
|
|
92
66
|
closeAsync(): Promise<void>;
|
|
@@ -786,75 +760,80 @@ export enum CorsIframeHandle {
|
|
|
786
760
|
KEEP = 'KEEP',
|
|
787
761
|
SNAPSHOT = 'SNAPSHOT'
|
|
788
762
|
}
|
|
789
|
-
export type DeviceNamePlain = "
|
|
763
|
+
export type DeviceNamePlain = "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11";
|
|
790
764
|
export enum DeviceName {
|
|
791
|
-
Blackberry_PlayBook = 'Blackberry PlayBook',
|
|
792
|
-
BlackBerry_Z30 = 'BlackBerry Z30',
|
|
793
|
-
Galaxy_A5 = 'Galaxy A5',
|
|
794
|
-
Galaxy_Note_10 = 'Galaxy Note 10',
|
|
795
|
-
Galaxy_Note_10_Plus = 'Galaxy Note 10 Plus',
|
|
796
|
-
Galaxy_Note_2 = 'Galaxy Note 2',
|
|
797
|
-
Galaxy_Note_3 = 'Galaxy Note 3',
|
|
798
|
-
Galaxy_Note_4 = 'Galaxy Note 4',
|
|
799
|
-
Galaxy_Note_8 = 'Galaxy Note 8',
|
|
800
|
-
Galaxy_Note_9 = 'Galaxy Note 9',
|
|
801
|
-
Galaxy_S3 = 'Galaxy S3',
|
|
802
|
-
Galaxy_S5 = 'Galaxy S5',
|
|
803
|
-
Galaxy_S8 = 'Galaxy S8',
|
|
804
|
-
Galaxy_S8_Plus = 'Galaxy S8 Plus',
|
|
805
|
-
Galaxy_S9 = 'Galaxy S9',
|
|
806
|
-
Galaxy_S9_Plus = 'Galaxy S9 Plus',
|
|
807
|
-
Galaxy_S10 = 'Galaxy S10',
|
|
808
|
-
Galaxy_S10_Plus = 'Galaxy S10 Plus',
|
|
809
|
-
Galaxy_S20 = 'Galaxy S20',
|
|
810
|
-
Galaxy_S21 = 'Galaxy S21',
|
|
811
|
-
Galaxy_S21_Ultra = 'Galaxy S21 Ultra',
|
|
812
|
-
Galaxy_S22 = 'Galaxy S22',
|
|
813
|
-
Galaxy_S22_Ultra = 'Galaxy S22 Ultra',
|
|
814
|
-
Galaxy_Tab_S7 = 'Galaxy Tab S7',
|
|
815
|
-
iPad = 'iPad',
|
|
816
|
-
iPad_6th_Gen = 'iPad 6th Gen',
|
|
817
|
-
iPad_7th_Gen = 'iPad 7th Gen',
|
|
818
|
-
iPad_Air_2 = 'iPad Air 2',
|
|
819
|
-
iPad_Mini = 'iPad Mini',
|
|
820
|
-
iPad_Pro = 'iPad Pro',
|
|
821
|
-
iPhone_11 = 'iPhone 11',
|
|
822
|
-
iPhone_11_Pro = 'iPhone 11 Pro',
|
|
823
|
-
iPhone_11_Pro_Max = 'iPhone 11 Pro Max',
|
|
824
765
|
iPhone_4 = 'iPhone 4',
|
|
825
766
|
iPhone_5SE = 'iPhone 5/SE',
|
|
767
|
+
iPhone_5S_E = 'iPhone 5/SE',
|
|
826
768
|
iPhone_6_7_8 = 'iPhone 6/7/8',
|
|
827
769
|
iPhone_6_7_8_Plus = 'iPhone 6/7/8 Plus',
|
|
828
770
|
iPhone_X = 'iPhone X',
|
|
829
|
-
|
|
830
|
-
iPhone_XS = 'iPhone XS',
|
|
831
|
-
iPhone_XS_Max = 'iPhone XS Max',
|
|
832
|
-
Kindle_Fire_HDX = 'Kindle Fire HDX',
|
|
833
|
-
Laptop_with_HiDPI_screen = 'Laptop with HiDPI screen',
|
|
834
|
-
Laptop_with_MDPI_screen = 'Laptop with MDPI screen',
|
|
835
|
-
Laptop_with_touch = 'Laptop with touch',
|
|
836
|
-
LG_G6 = 'LG G6',
|
|
837
|
-
LG_Optimus_L70 = 'LG Optimus L70',
|
|
838
|
-
Microsoft_Lumia_550 = 'Microsoft Lumia 550',
|
|
839
|
-
Microsoft_Lumia_950 = 'Microsoft Lumia 950',
|
|
840
|
-
Nexus_10 = 'Nexus 10',
|
|
771
|
+
BlackBerry_Z30 = 'BlackBerry Z30',
|
|
841
772
|
Nexus_4 = 'Nexus 4',
|
|
842
773
|
Nexus_5 = 'Nexus 5',
|
|
843
774
|
Nexus_5X = 'Nexus 5X',
|
|
844
775
|
Nexus_6 = 'Nexus 6',
|
|
845
776
|
Nexus_6P = 'Nexus 6P',
|
|
846
|
-
Nexus_7 = 'Nexus 7',
|
|
847
|
-
Nokia_Lumia_520 = 'Nokia Lumia 520',
|
|
848
|
-
Nokia_N9 = 'Nokia N9',
|
|
849
|
-
OnePlus_7T = 'OnePlus 7T',
|
|
850
|
-
OnePlus_7T_Pro = 'OnePlus 7T Pro',
|
|
851
777
|
Pixel_2 = 'Pixel 2',
|
|
852
778
|
Pixel_2_XL = 'Pixel 2 XL',
|
|
779
|
+
LG_Optimus_L70 = 'LG Optimus L70',
|
|
780
|
+
Nokia_N9 = 'Nokia N9',
|
|
781
|
+
Nokia_Lumia_520 = 'Nokia Lumia 520',
|
|
782
|
+
Microsoft_Lumia_550 = 'Microsoft Lumia 550',
|
|
783
|
+
Microsoft_Lumia_950 = 'Microsoft Lumia 950',
|
|
784
|
+
Galaxy_S3 = 'Galaxy S3',
|
|
785
|
+
Galaxy_S_III = 'Galaxy S III',
|
|
786
|
+
Galaxy_S5 = 'Galaxy S5',
|
|
787
|
+
Kindle_Fire_HDX = 'Kindle Fire HDX',
|
|
788
|
+
iPad_Mini = 'iPad Mini',
|
|
789
|
+
iPad = 'iPad',
|
|
790
|
+
iPad_Pro = 'iPad Pro',
|
|
791
|
+
Blackberry_PlayBook = 'Blackberry PlayBook',
|
|
792
|
+
Nexus_10 = 'Nexus 10',
|
|
793
|
+
Nexus_7 = 'Nexus 7',
|
|
794
|
+
Galaxy_Note_3 = 'Galaxy Note 3',
|
|
795
|
+
Galaxy_Note_II = 'Galaxy Note II',
|
|
796
|
+
Galaxy_Note_2 = 'Galaxy Note 2',
|
|
797
|
+
Galaxy_S20 = 'Galaxy S20',
|
|
798
|
+
Galaxy_S22 = 'Galaxy S22',
|
|
799
|
+
Galaxy_S21 = 'Galaxy S21',
|
|
800
|
+
Galaxy_S21_Ultra = 'Galaxy S21 Ultra',
|
|
801
|
+
Galaxy_S22_Ultra = 'Galaxy S22 Ultra',
|
|
802
|
+
Laptop_with_touch = 'Laptop with touch',
|
|
803
|
+
Laptop_with_HiDPI_screen = 'Laptop with HiDPI screen',
|
|
804
|
+
Laptop_with_MDPI_screen = 'Laptop with MDPI screen',
|
|
805
|
+
iPhone_XR = 'iPhone XR',
|
|
806
|
+
iPhone_XS_Max = 'iPhone XS Max',
|
|
807
|
+
iPhone_XS = 'iPhone XS',
|
|
808
|
+
Samsung_Galaxy_A5 = 'Samsung Galaxy A5',
|
|
809
|
+
Galaxy_A5 = 'Galaxy A5',
|
|
810
|
+
Samsung_Galaxy_S8 = 'Samsung Galaxy S8',
|
|
811
|
+
Galaxy_S8 = 'Galaxy S8',
|
|
812
|
+
LG_G6 = 'LG G6',
|
|
813
|
+
iPad_Air_2 = 'iPad Air 2',
|
|
814
|
+
iPad_6th_Gen = 'iPad 6th Gen',
|
|
815
|
+
iPhone_11 = 'iPhone 11',
|
|
816
|
+
iPhone_11_Pro_Max = 'iPhone 11 Pro Max',
|
|
817
|
+
iPhone_11_Pro = 'iPhone 11 Pro',
|
|
818
|
+
Galaxy_S10 = 'Galaxy S10',
|
|
819
|
+
Galaxy_S9_Plus = 'Galaxy S9 Plus',
|
|
820
|
+
Galaxy_S9 = 'Galaxy S9',
|
|
821
|
+
Galaxy_S10_Plus = 'Galaxy S10 Plus',
|
|
822
|
+
Galaxy_S8_Plus = 'Galaxy S8 Plus',
|
|
823
|
+
Galaxy_Note_10 = 'Galaxy Note 10',
|
|
824
|
+
Galaxy_Note_10_Plus = 'Galaxy Note 10 Plus',
|
|
825
|
+
Galaxy_Note_9 = 'Galaxy Note 9',
|
|
826
|
+
Galaxy_Note_8 = 'Galaxy Note 8',
|
|
827
|
+
Galaxy_Note_4 = 'Galaxy Note 4',
|
|
853
828
|
Pixel_3 = 'Pixel 3',
|
|
854
829
|
Pixel_3_XL = 'Pixel 3 XL',
|
|
855
830
|
Pixel_4 = 'Pixel 4',
|
|
856
831
|
Pixel_4_XL = 'Pixel 4 XL',
|
|
857
832
|
Pixel_5 = 'Pixel 5',
|
|
833
|
+
iPad_7th_Gen = 'iPad 7th Gen',
|
|
834
|
+
OnePlus_7T = 'OnePlus 7T',
|
|
835
|
+
OnePlus_7T_Pro = 'OnePlus 7T Pro',
|
|
836
|
+
Galaxy_Tab_S7 = 'Galaxy Tab S7',
|
|
858
837
|
Sony_Xperia_10_II = 'Sony Xperia 10 II',
|
|
859
838
|
Huawei_Mate_50_Pro = 'Huawei Mate 50 Pro',
|
|
860
839
|
Huawei_Matepad_11 = 'Huawei Matepad 11'
|
|
@@ -864,8 +843,35 @@ export enum FailureReport {
|
|
|
864
843
|
IMMEDIATE = 'IMMEDIATE',
|
|
865
844
|
ON_CLOSE = 'ON_CLOSE'
|
|
866
845
|
}
|
|
867
|
-
export type IosDeviceNamePlain = "
|
|
846
|
+
export type IosDeviceNamePlain = "iPhone X" | "iPhone XR" | "iPad Air 2" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (5th generation)" | "iPad (6th generation)" | "iPad (7th generation)" | "iPad (8th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad Air (3rd generation)" | "iPad Air (4th generation)" | "iPad Air (5th generation)" | "iPad mini 4" | "iPad mini (5th generation)" | "iPad mini (6th generation)" | "iPad Pro (9.7-inch)" | "iPad Pro (10.5-inch)" | "iPad Pro (11-inch) (1st generation)" | "iPad Pro (12.9-inch) (1st generation)" | "iPad Pro (11-inch) (2nd generation)" | "iPad Pro (12.9-inch) (2nd generation)" | "iPad Pro (11-inch) (3rd generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPad Pro (12.9-inch) (4th generation)" | "iPad Pro (12.9-inch) (5th generation)" | "iPad Pro (12.9-inch) (6th generation)" | "iPhone 6s" | "iPhone 6s Plus" | "iPhone 7" | "iPhone 7 Plus" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone Xs Max" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Plus" | "iPhone 15 Pro" | "iPhone 15 Pro Max" | "iPhone SE (1st generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPod touch (7th generation)";
|
|
868
847
|
export enum IosDeviceName {
|
|
848
|
+
iPad_5 = 'iPad (5th generation)',
|
|
849
|
+
iPad_6 = 'iPad (6th generation)',
|
|
850
|
+
iPad_7 = 'iPad (7th generation)',
|
|
851
|
+
iPad_8 = 'iPad (8th generation)',
|
|
852
|
+
iPad_9 = 'iPad (9th generation)',
|
|
853
|
+
iPad_10 = 'iPad (10th generation)',
|
|
854
|
+
iPad_Air_2 = 'iPad Air 2',
|
|
855
|
+
iPad_Air_3 = 'iPad Air (3rd generation)',
|
|
856
|
+
iPad_Air_4 = 'iPad Air (4th generation)',
|
|
857
|
+
iPad_Air_5 = 'iPad Air (5th generation)',
|
|
858
|
+
iPad_mini_4 = 'iPad mini 4',
|
|
859
|
+
iPad_mini_5 = 'iPad mini (5th generation)',
|
|
860
|
+
iPad_mini_6 = 'iPad mini (6th generation)',
|
|
861
|
+
iPad_Pro_9_7_inch_1 = 'iPad Pro (9.7-inch)',
|
|
862
|
+
iPad_Pro_10_5_inch_1 = 'iPad Pro (10.5-inch)',
|
|
863
|
+
iPad_Pro_11_inch_1 = 'iPad Pro (11-inch) (1st generation)',
|
|
864
|
+
iPad_Pro_12_9_inch_1 = 'iPad Pro (12.9-inch) (1st generation)',
|
|
865
|
+
iPad_Pro_11_inch_2 = 'iPad Pro (11-inch) (2nd generation)',
|
|
866
|
+
iPad_Pro_12_9_inch_2 = 'iPad Pro (12.9-inch) (2nd generation)',
|
|
867
|
+
iPad_Pro_11_inch_3 = 'iPad Pro (11-inch) (3rd generation)',
|
|
868
|
+
iPad_Pro_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
869
|
+
iPad_Pro_12_9_inch_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
870
|
+
iPad_Pro_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
871
|
+
iPad_Pro_11_inch_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
872
|
+
iPad_Pro_12_9_inch_4 = 'iPad Pro (12.9-inch) (4th generation)',
|
|
873
|
+
iPad_Pro_12_9_inch_5 = 'iPad Pro (12.9-inch) (5th generation)',
|
|
874
|
+
iPad_Pro_12_9_inch_6 = 'iPad Pro (12.9-inch) (6th generation)',
|
|
869
875
|
iPhone_6s = 'iPhone 6s',
|
|
870
876
|
iPhone_6s_Plus = 'iPhone 6s Plus',
|
|
871
877
|
iPhone_7 = 'iPhone 7',
|
|
@@ -874,55 +880,32 @@ export enum IosDeviceName {
|
|
|
874
880
|
iPhone_8_Plus = 'iPhone 8 Plus',
|
|
875
881
|
iPhone_X = 'iPhone X',
|
|
876
882
|
iPhone_XR = 'iPhone XR',
|
|
877
|
-
iPhone_Xs = 'iPhone Xs',
|
|
878
883
|
iPhone_XS = 'iPhone Xs',
|
|
884
|
+
iPhone_Xs = 'iPhone Xs',
|
|
879
885
|
iPhone_Xs_Max = 'iPhone Xs Max',
|
|
880
886
|
iPhone_11 = 'iPhone 11',
|
|
881
|
-
iPhone_11_Pro = 'iPhone 11 Pro',
|
|
882
887
|
iPhone_11_Pro_Max = 'iPhone 11 Pro Max',
|
|
888
|
+
iPhone_11_Pro = 'iPhone 11 Pro',
|
|
883
889
|
iPhone_12 = 'iPhone 12',
|
|
884
890
|
iPhone_12_mini = 'iPhone 12 mini',
|
|
885
|
-
iPhone_12_Pro = 'iPhone 12 Pro',
|
|
886
891
|
iPhone_12_Pro_Max = 'iPhone 12 Pro Max',
|
|
892
|
+
iPhone_12_Pro = 'iPhone 12 Pro',
|
|
887
893
|
iPhone_13 = 'iPhone 13',
|
|
888
894
|
iPhone_13_mini = 'iPhone 13 mini',
|
|
889
|
-
iPhone_13_Pro = 'iPhone 13 Pro',
|
|
890
895
|
iPhone_13_Pro_Max = 'iPhone 13 Pro Max',
|
|
896
|
+
iPhone_13_Pro = 'iPhone 13 Pro',
|
|
891
897
|
iPhone_14 = 'iPhone 14',
|
|
892
898
|
iPhone_14_Plus = 'iPhone 14 Plus',
|
|
893
899
|
iPhone_14_Pro = 'iPhone 14 Pro',
|
|
894
900
|
iPhone_14_Pro_Max = 'iPhone 14 Pro Max',
|
|
901
|
+
iPhone_15 = 'iPhone 15',
|
|
902
|
+
iPhone_15_Plus = 'iPhone 15 Plus',
|
|
903
|
+
iPhone_15_Pro = 'iPhone 15 Pro',
|
|
904
|
+
iPhone_15_Pro_Max = 'iPhone 15 Pro Max',
|
|
895
905
|
iPhone_SE = 'iPhone SE (1st generation)',
|
|
896
906
|
iPhone_SE_1 = 'iPhone SE (1st generation)',
|
|
897
907
|
iPhone_SE_2 = 'iPhone SE (2nd generation)',
|
|
898
908
|
iPhone_SE_3 = 'iPhone SE (3rd generation)',
|
|
899
|
-
iPad_5 = 'iPad (5th generation)',
|
|
900
|
-
iPad_6 = 'iPad (6th generation)',
|
|
901
|
-
iPad_7 = 'iPad (7th generation)',
|
|
902
|
-
iPad_8 = 'iPad (8th generation)',
|
|
903
|
-
iPad_9 = 'iPad (9th generation)',
|
|
904
|
-
iPad_10 = 'iPad (10th generation)',
|
|
905
|
-
iPad_Air_2 = 'iPad Air 2',
|
|
906
|
-
iPad_Air_3 = 'iPad Air (3rd generation)',
|
|
907
|
-
iPad_Air_4 = 'iPad Air (4th generation)',
|
|
908
|
-
iPad_Air_5 = 'iPad Air (5th generation)',
|
|
909
|
-
iPad_mini_4 = 'iPad mini 4',
|
|
910
|
-
iPad_mini_5 = 'iPad mini (5th generation)',
|
|
911
|
-
iPad_mini_6 = 'iPad mini (6th generation)',
|
|
912
|
-
iPad_Pro_9_7_inch_1 = 'iPad Pro (9.7-inch)',
|
|
913
|
-
iPad_Pro_10_5_inch_1 = 'iPad Pro (10.5-inch)',
|
|
914
|
-
iPad_Pro_11_inch_1 = 'iPad Pro (11-inch) (1st generation)',
|
|
915
|
-
iPad_Pro_12_9_inch_1 = 'iPad Pro (12.9-inch) (1st generation)',
|
|
916
|
-
iPad_Pro_11_inch_2 = 'iPad Pro (11-inch) (2nd generation)',
|
|
917
|
-
iPad_Pro_12_9_inch_2 = 'iPad Pro (12.9-inch) (2nd generation)',
|
|
918
|
-
iPad_Pro_11_inch_3 = 'iPad Pro (11-inch) (3rd generation)',
|
|
919
|
-
iPad_Pro_12_9_inch_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
920
|
-
iPad_Pro_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
921
|
-
iPad_Pro_11_inch_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
922
|
-
iPad_Pro_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
923
|
-
iPad_Pro_12_9_inch_4 = 'iPad Pro (12.9-inch) (4th generation)',
|
|
924
|
-
iPad_Pro_12_9_inch_5 = 'iPad Pro (12.9-inch) (5th generation)',
|
|
925
|
-
iPad_Pro_12_9_inch_6 = 'iPad Pro (12.9-inch) (6th generation)',
|
|
926
909
|
iPod_touch_7 = 'iPod touch (7th generation)'
|
|
927
910
|
}
|
|
928
911
|
export type IosVersionPlain = AndroidVersionPlain;
|
|
@@ -931,31 +914,35 @@ export enum IosVersion {
|
|
|
931
914
|
ONE_VERSION_BACK = 'latest-1',
|
|
932
915
|
LATEST_ONE_VERSION_BACK = 'latest-1'
|
|
933
916
|
}
|
|
934
|
-
export type AndroidDeviceNamePlain = "Galaxy
|
|
917
|
+
export type AndroidDeviceNamePlain = "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S10" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Galaxy S20 Plus" | "Galaxy S21 Plus" | "Xiaomi Redmi Note 11 Pro" | "Xiaomi Redmi Note 11" | "Xiaomi Redmi Note 10 JE" | "Pixel 6" | "Galaxy S22 Plus" | "Galaxy Tab S8" | "Sony Xperia 1 II" | "Sony Xperia Ace II" | "Huawei P30 Lite";
|
|
935
918
|
export enum AndroidDeviceName {
|
|
936
|
-
Pixel_3_XL = 'Pixel 3 XL',
|
|
937
|
-
Pixel_4 = 'Pixel 4',
|
|
938
|
-
Pixel_4_XL = 'Pixel 4 XL',
|
|
939
|
-
Pixel_5 = 'Pixel 5',
|
|
940
|
-
Pixel_6 = 'Pixel 6',
|
|
941
|
-
Galaxy_S10 = 'Galaxy S10',
|
|
942
|
-
Galaxy_S10_Plus = 'Galaxy S10 Plus',
|
|
943
|
-
Galaxy_Note_10 = 'Galaxy Note 10',
|
|
944
|
-
Galaxy_Note_10_Plus = 'Galaxy Note 10 Plus',
|
|
945
919
|
Galaxy_S20 = 'Galaxy S20',
|
|
946
920
|
Galaxy_S20_Plus = 'Galaxy S20 Plus',
|
|
921
|
+
Galaxy_S20_PLUS = 'Galaxy S20 Plus',
|
|
922
|
+
Galaxy_S21_Ultra = 'Galaxy S21 Ultra',
|
|
923
|
+
Galaxy_S21_ULTRA = 'Galaxy S21 Ultra',
|
|
924
|
+
Galaxy_Note_10_Plus = 'Galaxy Note 10 Plus',
|
|
925
|
+
Galaxy_S9 = 'Galaxy S9',
|
|
926
|
+
Galaxy_S10 = 'Galaxy S10',
|
|
927
|
+
Galaxy_S10_Plus = 'Galaxy S10 Plus',
|
|
928
|
+
Pixel_4_XL = 'Pixel 4 XL',
|
|
929
|
+
Pixel_3_XL = 'Pixel 3 XL',
|
|
947
930
|
Galaxy_S21 = 'Galaxy S21',
|
|
948
931
|
Galaxy_S21_Plus = 'Galaxy S21 Plus',
|
|
949
|
-
|
|
932
|
+
Galaxy_S21_PLUS = 'Galaxy S21 Plus',
|
|
933
|
+
Xiaomi_Redmi_Note_11_Pro = 'Xiaomi Redmi Note 11 Pro',
|
|
934
|
+
Xiaomi_Redmi_Note_11 = 'Xiaomi Redmi Note 11',
|
|
935
|
+
Xiaomi_Redmi_Note_10_JE = 'Xiaomi Redmi Note 10 JE',
|
|
936
|
+
Pixel_6 = 'Pixel 6',
|
|
937
|
+
Galaxy_Note_10 = 'Galaxy Note 10',
|
|
938
|
+
Pixel_4 = 'Pixel 4',
|
|
939
|
+
Pixel_5 = 'Pixel 5',
|
|
950
940
|
Galaxy_S22 = 'Galaxy S22',
|
|
951
941
|
Galaxy_S22_Plus = 'Galaxy S22 Plus',
|
|
952
|
-
Galaxy_Tab_S7 = 'Galaxy Tab S7',
|
|
953
942
|
Galaxy_Tab_S8 = 'Galaxy Tab S8',
|
|
954
|
-
|
|
955
|
-
Xiaomi_Redmi_Note_11 = 'Xiaomi Redmi Note 11',
|
|
956
|
-
Xiaomi_Redmi_Note_11_Pro = 'Xiaomi Redmi Note 11 Pro',
|
|
957
|
-
Sony_Xperia_1_II = 'Sony Xperia 1 II',
|
|
943
|
+
Galaxy_Tab_S7 = 'Galaxy Tab S7',
|
|
958
944
|
Sony_Xperia_10_II = 'Sony Xperia 10 II',
|
|
945
|
+
Sony_Xperia_1_II = 'Sony Xperia 1 II',
|
|
959
946
|
Sony_Xperia_Ace_II = 'Sony Xperia Ace II',
|
|
960
947
|
Huawei_P30_Lite = 'Huawei P30 Lite'
|
|
961
948
|
}
|