discogs-marketplace-api-nodejs 1.3.1 → 1.3.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/LICENSE +20 -20
- package/README.MD +217 -197
- package/dist/enum/ECurrency.d.ts +18 -19
- package/dist/enum/ECurrency.js +21 -23
- package/dist/enum/EFormat.d.ts +59 -60
- package/dist/enum/EFormat.js +62 -64
- package/dist/enum/EFormatDescription.d.ts +144 -145
- package/dist/enum/EFormatDescription.js +147 -149
- package/dist/enum/EFrom.d.ts +251 -252
- package/dist/enum/EFrom.js +255 -256
- package/dist/enum/EFromIso.d.ts +316 -316
- package/dist/enum/EFromIso.js +321 -321
- package/dist/enum/EGenre.d.ts +21 -22
- package/dist/enum/EGenre.js +24 -26
- package/dist/enum/ELang.d.ts +15 -16
- package/dist/enum/ELang.js +18 -20
- package/dist/enum/EMediaCondition.d.ts +14 -15
- package/dist/enum/EMediaCondition.js +17 -19
- package/dist/enum/ESort.d.ts +62 -63
- package/dist/enum/ESort.js +65 -67
- package/dist/enum/EStyle.d.ts +255 -256
- package/dist/enum/EStyle.js +258 -260
- package/dist/enum/EType.d.ts +30 -31
- package/dist/enum/EType.js +33 -35
- package/dist/enum/iso/ECountryCode.d.ts +255 -0
- package/dist/enum/iso/ECountryCode.js +258 -0
- package/dist/enum/iso/ECountryName.d.ts +255 -0
- package/dist/enum/iso/ECountryName.js +258 -0
- package/dist/enum/iso/EDiscogsCountryNameToIsoCode.d.ts +69 -0
- package/dist/enum/iso/EDiscogsCountryNameToIsoCode.js +72 -0
- package/dist/enum/iso/EDiscogsCurrencyToIsoCode.d.ts +23 -0
- package/dist/enum/iso/EDiscogsCurrencyToIsoCode.js +26 -0
- package/dist/enum/iso/translate/EDiscogsCountryNameToIsoCode.d.ts +69 -0
- package/dist/enum/iso/translate/EDiscogsCountryNameToIsoCode.js +72 -0
- package/dist/enum/iso/translate/EDiscogsCurrencyToIsoCode.d.ts +23 -0
- package/dist/enum/iso/translate/EDiscogsCurrencyToIsoCode.js +26 -0
- package/dist/enum/iso/translates/EDiscogsCountryNameToIsoCode.d.ts +69 -0
- package/dist/enum/iso/translates/EDiscogsCountryNameToIsoCode.js +72 -0
- package/dist/enum/iso/translates/EDiscogsCurrencyToIsoCode.d.ts +23 -0
- package/dist/enum/iso/translates/EDiscogsCurrencyToIsoCode.js +26 -0
- package/dist/index.d.ts +22 -22
- package/dist/index.js +40 -39
- package/dist/interface/IDiscogsMarketplace.d.ts +11 -12
- package/dist/interface/IDiscogsMarketplace.js +7 -7
- package/dist/interface/IInput.d.ts +89 -89
- package/dist/interface/IInput.js +17 -6
- package/dist/interface/IItem.d.ts +54 -48
- package/dist/interface/IItem.js +7 -2
- package/dist/interface/IOutputError.d.ts +7 -7
- package/dist/interface/IOutputError.js +2 -2
- package/dist/interface/IOutputSuccess.d.ts +21 -21
- package/dist/interface/IOutputSuccess.js +7 -6
- package/dist/interface/IYears.d.ts +7 -7
- package/dist/interface/IYears.js +2 -2
- package/dist/marketplace.d.ts +56 -70
- package/dist/marketplace.js +290 -286
- package/dist/type/TLimit.d.ts +5 -6
- package/dist/type/TLimit.js +2 -2
- package/package.json +52 -45
- package/.gitattributes +0 -1
- package/notes.md +0 -9
- package/tsconfig.build.json +0 -40
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019 KirianCaumes
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 KirianCaumes
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.MD
CHANGED
|
@@ -1,197 +1,217 @@
|
|
|
1
|
-
# Discogs Marketplace API NodeJS · [](https://github.com/KirianCaumes/Discogs-Marketplace-API-NodeJS/blob/master/LICENSE) [](https://www.npmjs.com/package/discogs-marketplace-api-nodejs)
|
|
2
|
-
|
|
3
|
-
Another (better ?) NodeJs library to fetch data from Discog's marketplace
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
### Install
|
|
8
|
-
|
|
9
|
-
```sh
|
|
10
|
-
npm install discogs-marketplace-api-nodejs
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
### Import and search
|
|
14
|
-
|
|
15
|
-
In Typescript
|
|
16
|
-
|
|
17
|
-
```ts
|
|
18
|
-
import DiscogsMarketplace, { EType, IOutputSuccess, IOutputError } from 'discogs-marketplace-api-nodejs'
|
|
19
|
-
|
|
20
|
-
DiscogsMarketplace.search({ searchType: EType.ARTIST, searchValue: 244819 })
|
|
21
|
-
.then((res: IOutputSuccess) => {
|
|
22
|
-
console.log(res)
|
|
23
|
-
})
|
|
24
|
-
.catch((err: IOutputError) => {
|
|
25
|
-
console.error(err)
|
|
26
|
-
})
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
In
|
|
30
|
-
|
|
31
|
-
```js
|
|
32
|
-
const DiscogsMarketplace = require('discogs-marketplace-api-nodejs').default
|
|
33
|
-
const { EType } = require('discogs-marketplace-api-nodejs')
|
|
34
|
-
|
|
35
|
-
DiscogsMarketplace.search({ searchType: EType.ARTIST, searchValue: 244819 })
|
|
36
|
-
.then(res => {
|
|
37
|
-
console.log(res)
|
|
38
|
-
})
|
|
39
|
-
.catch(err => {
|
|
40
|
-
console.error(err)
|
|
41
|
-
})
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### Data format
|
|
45
|
-
|
|
46
|
-
Data that must provided to the search function must looks like this (other interfaces can be found in "*
|
|
47
|
-
|
|
48
|
-
```ts
|
|
49
|
-
interface IInput {
|
|
50
|
-
/**
|
|
51
|
-
* Type of elements to search
|
|
52
|
-
*/
|
|
53
|
-
searchType: EType,
|
|
54
|
-
/**
|
|
55
|
-
* Value to search corresponding to searchType
|
|
56
|
-
*/
|
|
57
|
-
searchValue: string | number | undefined,
|
|
58
|
-
/**
|
|
59
|
-
* Currency
|
|
60
|
-
*/
|
|
61
|
-
currency?: ECurrency,
|
|
62
|
-
/**
|
|
63
|
-
* Genre
|
|
64
|
-
*/
|
|
65
|
-
genre?: EGenre,
|
|
66
|
-
/**
|
|
67
|
-
* Styles
|
|
68
|
-
*/
|
|
69
|
-
style?: EStyle[]
|
|
70
|
-
/**
|
|
71
|
-
* Formats
|
|
72
|
-
*/
|
|
73
|
-
format?: EFormat[]
|
|
74
|
-
/**
|
|
75
|
-
* Format descriptions
|
|
76
|
-
*/
|
|
77
|
-
formatDescription?: EFormatDescription[]
|
|
78
|
-
/**
|
|
79
|
-
* Media conditions
|
|
80
|
-
*/
|
|
81
|
-
mediaCondition?: EMediaCondition[]
|
|
82
|
-
/**
|
|
83
|
-
* Year (Do not use it with years)
|
|
84
|
-
*/
|
|
85
|
-
year?: number,
|
|
86
|
-
/**
|
|
87
|
-
* Interval of years (Do not use it with year)
|
|
88
|
-
*/
|
|
89
|
-
years?: IYears,
|
|
90
|
-
/**
|
|
91
|
-
* Is audio sample ?
|
|
92
|
-
*/
|
|
93
|
-
isAudioSample?: boolean,
|
|
94
|
-
/**
|
|
95
|
-
* Is make an offer only ?
|
|
96
|
-
*/
|
|
97
|
-
isMakeAnOfferOnly?: boolean,
|
|
98
|
-
/**
|
|
99
|
-
* Expedition country
|
|
100
|
-
*/
|
|
101
|
-
from?: EFrom,
|
|
102
|
-
/**
|
|
103
|
-
* Seller name
|
|
104
|
-
*/
|
|
105
|
-
seller?: string,
|
|
106
|
-
/**
|
|
107
|
-
* Sort elements by
|
|
108
|
-
*/
|
|
109
|
-
sort?: ESort,
|
|
110
|
-
/**
|
|
111
|
-
* Limit of elements to search (25 | 50 | 100 | 250)
|
|
112
|
-
*/
|
|
113
|
-
limit?: TLimit,
|
|
114
|
-
/**
|
|
115
|
-
* Page (Must be < 401 or discogs will return an error 404)
|
|
116
|
-
*/
|
|
117
|
-
page?: number,
|
|
118
|
-
/**
|
|
119
|
-
* Lang to use for Discogs
|
|
120
|
-
*/
|
|
121
|
-
lang?: ELang
|
|
122
|
-
}
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
If success, it will return :
|
|
126
|
-
|
|
127
|
-
```ts
|
|
128
|
-
interface IOutputSuccess {
|
|
129
|
-
|
|
130
|
-
page: {
|
|
131
|
-
current: number
|
|
132
|
-
total: number
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
total: number
|
|
136
|
-
perPage: number
|
|
137
|
-
}
|
|
138
|
-
search: {
|
|
139
|
-
value: string | number
|
|
140
|
-
type: EType
|
|
141
|
-
}
|
|
142
|
-
urlGenerated: string
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
interface IItem {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
1
|
+
# Discogs Marketplace API NodeJS · [](https://github.com/KirianCaumes/Discogs-Marketplace-API-NodeJS/blob/master/LICENSE) [](https://www.npmjs.com/package/discogs-marketplace-api-nodejs)
|
|
2
|
+
|
|
3
|
+
Another (better ?) NodeJs library to fetch data from Discog's marketplace
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
### Install
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install discogs-marketplace-api-nodejs
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Import and search
|
|
14
|
+
|
|
15
|
+
In Typescript
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import DiscogsMarketplace, { EType, IOutputSuccess, IOutputError } from 'discogs-marketplace-api-nodejs'
|
|
19
|
+
|
|
20
|
+
DiscogsMarketplace.search({ searchType: EType.ARTIST, searchValue: 244819 })
|
|
21
|
+
.then((res: IOutputSuccess) => {
|
|
22
|
+
console.log(res)
|
|
23
|
+
})
|
|
24
|
+
.catch((err: IOutputError) => {
|
|
25
|
+
console.error(err)
|
|
26
|
+
})
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
In Javascript with require
|
|
30
|
+
|
|
31
|
+
```js
|
|
32
|
+
const DiscogsMarketplace = require('discogs-marketplace-api-nodejs').default
|
|
33
|
+
const { EType } = require('discogs-marketplace-api-nodejs')
|
|
34
|
+
|
|
35
|
+
DiscogsMarketplace.search({ searchType: EType.ARTIST, searchValue: 244819 })
|
|
36
|
+
.then(res => {
|
|
37
|
+
console.log(res)
|
|
38
|
+
})
|
|
39
|
+
.catch(err => {
|
|
40
|
+
console.error(err)
|
|
41
|
+
})
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Data format
|
|
45
|
+
|
|
46
|
+
Data that must provided to the search function must looks like this (other interfaces can be found in "*src/enum*" ) :
|
|
47
|
+
|
|
48
|
+
```ts
|
|
49
|
+
interface IInput {
|
|
50
|
+
/**
|
|
51
|
+
* Type of elements to search
|
|
52
|
+
*/
|
|
53
|
+
searchType: EType,
|
|
54
|
+
/**
|
|
55
|
+
* Value to search corresponding to searchType
|
|
56
|
+
*/
|
|
57
|
+
searchValue: string | number | undefined,
|
|
58
|
+
/**
|
|
59
|
+
* Currency
|
|
60
|
+
*/
|
|
61
|
+
currency?: ECurrency,
|
|
62
|
+
/**
|
|
63
|
+
* Genre
|
|
64
|
+
*/
|
|
65
|
+
genre?: EGenre,
|
|
66
|
+
/**
|
|
67
|
+
* Styles
|
|
68
|
+
*/
|
|
69
|
+
style?: EStyle[]
|
|
70
|
+
/**
|
|
71
|
+
* Formats
|
|
72
|
+
*/
|
|
73
|
+
format?: EFormat[]
|
|
74
|
+
/**
|
|
75
|
+
* Format descriptions
|
|
76
|
+
*/
|
|
77
|
+
formatDescription?: EFormatDescription[]
|
|
78
|
+
/**
|
|
79
|
+
* Media conditions
|
|
80
|
+
*/
|
|
81
|
+
mediaCondition?: EMediaCondition[]
|
|
82
|
+
/**
|
|
83
|
+
* Year (Do not use it with years)
|
|
84
|
+
*/
|
|
85
|
+
year?: number,
|
|
86
|
+
/**
|
|
87
|
+
* Interval of years (Do not use it with year)
|
|
88
|
+
*/
|
|
89
|
+
years?: IYears,
|
|
90
|
+
/**
|
|
91
|
+
* Is audio sample ?
|
|
92
|
+
*/
|
|
93
|
+
isAudioSample?: boolean,
|
|
94
|
+
/**
|
|
95
|
+
* Is make an offer only ?
|
|
96
|
+
*/
|
|
97
|
+
isMakeAnOfferOnly?: boolean,
|
|
98
|
+
/**
|
|
99
|
+
* Expedition country
|
|
100
|
+
*/
|
|
101
|
+
from?: EFrom,
|
|
102
|
+
/**
|
|
103
|
+
* Seller name
|
|
104
|
+
*/
|
|
105
|
+
seller?: string,
|
|
106
|
+
/**
|
|
107
|
+
* Sort elements by
|
|
108
|
+
*/
|
|
109
|
+
sort?: ESort,
|
|
110
|
+
/**
|
|
111
|
+
* Limit of elements to search (25 | 50 | 100 | 250)
|
|
112
|
+
*/
|
|
113
|
+
limit?: TLimit,
|
|
114
|
+
/**
|
|
115
|
+
* Page (Must be < 401 or discogs will return an error 404)
|
|
116
|
+
*/
|
|
117
|
+
page?: number,
|
|
118
|
+
/**
|
|
119
|
+
* Lang to use for Discogs
|
|
120
|
+
*/
|
|
121
|
+
lang?: ELang
|
|
122
|
+
}
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
If success, it will return :
|
|
126
|
+
|
|
127
|
+
```ts
|
|
128
|
+
interface IOutputSuccess {
|
|
129
|
+
items: IItem[]
|
|
130
|
+
page: {
|
|
131
|
+
current: number
|
|
132
|
+
total: number
|
|
133
|
+
}
|
|
134
|
+
result: {
|
|
135
|
+
total: number
|
|
136
|
+
perPage: number
|
|
137
|
+
}
|
|
138
|
+
search: {
|
|
139
|
+
value: string | number
|
|
140
|
+
type: EType
|
|
141
|
+
}
|
|
142
|
+
urlGenerated: string
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
interface IItem {
|
|
146
|
+
itemId: number
|
|
147
|
+
title: {
|
|
148
|
+
original: string
|
|
149
|
+
artist: string
|
|
150
|
+
item: string
|
|
151
|
+
formats: string[]
|
|
152
|
+
}
|
|
153
|
+
url: string
|
|
154
|
+
labels: string[]
|
|
155
|
+
catnos: string[]
|
|
156
|
+
imageUrl: string
|
|
157
|
+
description: string
|
|
158
|
+
isAcceptingOffer: boolean
|
|
159
|
+
isAvailable: boolean
|
|
160
|
+
condition: {
|
|
161
|
+
media: {
|
|
162
|
+
full: string
|
|
163
|
+
short: string
|
|
164
|
+
}
|
|
165
|
+
sleeve: {
|
|
166
|
+
full: string
|
|
167
|
+
short: string
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
seller: {
|
|
171
|
+
name: string
|
|
172
|
+
url: string
|
|
173
|
+
score: string
|
|
174
|
+
notes: number
|
|
175
|
+
}
|
|
176
|
+
price: {
|
|
177
|
+
base: string
|
|
178
|
+
shipping: string
|
|
179
|
+
}
|
|
180
|
+
from: {
|
|
181
|
+
countryName: string
|
|
182
|
+
isoCountryName: ECountryName
|
|
183
|
+
isoCountryCode: ECountryCode
|
|
184
|
+
}
|
|
185
|
+
community: {
|
|
186
|
+
have: number
|
|
187
|
+
want: number
|
|
188
|
+
}
|
|
189
|
+
release: {
|
|
190
|
+
id: number
|
|
191
|
+
url: string
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
If error, it will throw :
|
|
197
|
+
|
|
198
|
+
```ts
|
|
199
|
+
interface IOutputError {
|
|
200
|
+
message: string
|
|
201
|
+
code: number
|
|
202
|
+
}
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## Know issues
|
|
206
|
+
|
|
207
|
+
If you are using this librairie on a Typescript project, you might encounter issues with `linkedom`.
|
|
208
|
+
|
|
209
|
+
To fix it, use this in command line: `--skipLibCheck` or add that in you `tsconfig.json`:
|
|
210
|
+
|
|
211
|
+
```json
|
|
212
|
+
{
|
|
213
|
+
"compilerOptions": {
|
|
214
|
+
"skipLibCheck": true
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
```
|
package/dist/enum/ECurrency.d.ts
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Currencies
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Currencies
|
|
3
|
+
*/
|
|
4
|
+
declare enum ECurrency {
|
|
5
|
+
EUR = "EUR",
|
|
6
|
+
USD = "USD",
|
|
7
|
+
GBP = "GBP",
|
|
8
|
+
AUD = "AUD",
|
|
9
|
+
CHF = "CHF",
|
|
10
|
+
CAD = "CAD",
|
|
11
|
+
JPY = "JPY",
|
|
12
|
+
SEK = "SEK",
|
|
13
|
+
BRL = "BRL",
|
|
14
|
+
NZD = "NZD",
|
|
15
|
+
MXN = "MXN",
|
|
16
|
+
ZAR = "ZAR"
|
|
17
|
+
}
|
|
18
|
+
export default ECurrency;
|
package/dist/enum/ECurrency.js
CHANGED
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
ECurrency["
|
|
12
|
-
ECurrency["
|
|
13
|
-
ECurrency["
|
|
14
|
-
ECurrency["
|
|
15
|
-
ECurrency["
|
|
16
|
-
ECurrency["
|
|
17
|
-
ECurrency["
|
|
18
|
-
ECurrency["
|
|
19
|
-
ECurrency["
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
ECurrency["ZAR"] = "ZAR";
|
|
23
|
-
})(ECurrency = exports.ECurrency || (exports.ECurrency = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Currencies
|
|
5
|
+
*/
|
|
6
|
+
var ECurrency;
|
|
7
|
+
(function (ECurrency) {
|
|
8
|
+
ECurrency["EUR"] = "EUR";
|
|
9
|
+
ECurrency["USD"] = "USD";
|
|
10
|
+
ECurrency["GBP"] = "GBP";
|
|
11
|
+
ECurrency["AUD"] = "AUD";
|
|
12
|
+
ECurrency["CHF"] = "CHF";
|
|
13
|
+
ECurrency["CAD"] = "CAD";
|
|
14
|
+
ECurrency["JPY"] = "JPY";
|
|
15
|
+
ECurrency["SEK"] = "SEK";
|
|
16
|
+
ECurrency["BRL"] = "BRL";
|
|
17
|
+
ECurrency["NZD"] = "NZD";
|
|
18
|
+
ECurrency["MXN"] = "MXN";
|
|
19
|
+
ECurrency["ZAR"] = "ZAR";
|
|
20
|
+
})(ECurrency || (ECurrency = {}));
|
|
21
|
+
exports.default = ECurrency;
|
package/dist/enum/EFormat.d.ts
CHANGED
|
@@ -1,60 +1,59 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Formats Description
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Formats Description
|
|
3
|
+
*/
|
|
4
|
+
declare enum EFormat {
|
|
5
|
+
VINYL = "Vinyl",
|
|
6
|
+
CD = "CD",
|
|
7
|
+
CASSETTE = "Cassette",
|
|
8
|
+
DVD = "DVD",
|
|
9
|
+
BOXSET = "Box Set",
|
|
10
|
+
CDR = "CDr",
|
|
11
|
+
ALLMEDIA = "All Media",
|
|
12
|
+
SHELLAC = "Shellac",
|
|
13
|
+
FLEXIDISC = "Flexi-disc",
|
|
14
|
+
SACD = "SACD",
|
|
15
|
+
VHS = "VHS",
|
|
16
|
+
BLURAY = "Blu-ray",
|
|
17
|
+
EIGHTTRACKCARTRIDGE = "8-Track Cartridge",
|
|
18
|
+
LASERDISC = "Laserdisc",
|
|
19
|
+
HYBRID = "Hybrid",
|
|
20
|
+
LATHECUT = "Lathe Cut",
|
|
21
|
+
DVDR = "DVDr",
|
|
22
|
+
FILE = "File",
|
|
23
|
+
REELTOREEL = "Reel-To-Reel",
|
|
24
|
+
CDV = "CDV",
|
|
25
|
+
MINIDISC = "Minidisc",
|
|
26
|
+
ACETATE = "Acetate",
|
|
27
|
+
MEMORYSTICK = "Memory Stick",
|
|
28
|
+
EDISONDISC = "Edison Disc",
|
|
29
|
+
FLOPPYDISK = "Floppy Disk",
|
|
30
|
+
DCC = "DCC",
|
|
31
|
+
PATHÉDISC = "Path\u00E9 Disc",
|
|
32
|
+
FOURTRACKCARTRIDGE = "4-Track Cartridge",
|
|
33
|
+
HDDVD = "HD DVD",
|
|
34
|
+
UMD = "UMD",
|
|
35
|
+
BETAMAX = "Betamax",
|
|
36
|
+
BETACAMSP = "Betacam SP",
|
|
37
|
+
BLURAYR = "Blu-ray-R",
|
|
38
|
+
SELECTAVISION = "SelectaVision",
|
|
39
|
+
CYLINDER = "Cylinder",
|
|
40
|
+
MICROCASSETTE = "Microcassette",
|
|
41
|
+
VHD = "VHD",
|
|
42
|
+
PLAYTAPE = "PlayTape",
|
|
43
|
+
UMATIC = "U-matic",
|
|
44
|
+
VIDEO8 = "Video8",
|
|
45
|
+
NTCASSETTE = "NT Cassette",
|
|
46
|
+
DAT = "DAT",
|
|
47
|
+
MINIDV = "MiniDV",
|
|
48
|
+
VIDEO2000 = "Video 2000",
|
|
49
|
+
TWELVE = "12\"",
|
|
50
|
+
SEVEN = "7\"",
|
|
51
|
+
BETACAM = "Betacam",
|
|
52
|
+
ELCASET = "Elcaset",
|
|
53
|
+
HDDVDR = "HD DVD-R",
|
|
54
|
+
LP = "LP",
|
|
55
|
+
POCKETROCKER = "Pocket Rocker",
|
|
56
|
+
RCATAPECARTRIDGE = "RCA Tape Cartridge",
|
|
57
|
+
WIRERECORDING = "Wire Recording"
|
|
58
|
+
}
|
|
59
|
+
export default EFormat;
|