dub 0.26.10__py3-none-any.whl → 0.26.12__py3-none-any.whl

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.
dub/_version.py CHANGED
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "dub"
6
- __version__: str = "0.26.10"
6
+ __version__: str = "0.26.12"
7
7
  __openapi_doc_version__: str = "0.0.1"
8
- __gen_version__: str = "2.634.1"
9
- __user_agent__: str = "speakeasy-sdk/python 0.26.10 2.634.1 0.0.1 dub"
8
+ __gen_version__: str = "2.644.1"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.26.12 2.644.1 0.0.1 dub"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -5,11 +5,7 @@ from importlib import import_module
5
5
 
6
6
  if TYPE_CHECKING:
7
7
  from .analyticsbrowsers import AnalyticsBrowsers, AnalyticsBrowsersTypedDict
8
- from .analyticscities import (
9
- AnalyticsCities,
10
- AnalyticsCitiesCountry,
11
- AnalyticsCitiesTypedDict,
12
- )
8
+ from .analyticscities import AnalyticsCities, AnalyticsCitiesTypedDict
13
9
  from .analyticscontinents import (
14
10
  AnalyticsContinents,
15
11
  AnalyticsContinentsTypedDict,
@@ -20,7 +16,6 @@ if TYPE_CHECKING:
20
16
  AnalyticsCountries,
21
17
  AnalyticsCountriesTypedDict,
22
18
  City,
23
- Country,
24
19
  Region,
25
20
  )
26
21
  from .analyticsdevices import AnalyticsDevices, AnalyticsDevicesTypedDict
@@ -33,7 +28,6 @@ if TYPE_CHECKING:
33
28
  from .analyticsregions import (
34
29
  AnalyticsRegions,
35
30
  AnalyticsRegionsCity,
36
- AnalyticsRegionsCountry,
37
31
  AnalyticsRegionsTypedDict,
38
32
  )
39
33
  from .analyticstimeseries import AnalyticsTimeseries, AnalyticsTimeseriesTypedDict
@@ -216,7 +210,6 @@ __all__ = [
216
210
  "AnalyticsBrowsers",
217
211
  "AnalyticsBrowsersTypedDict",
218
212
  "AnalyticsCities",
219
- "AnalyticsCitiesCountry",
220
213
  "AnalyticsCitiesTypedDict",
221
214
  "AnalyticsContinents",
222
215
  "AnalyticsContinentsTypedDict",
@@ -234,7 +227,6 @@ __all__ = [
234
227
  "AnalyticsReferersTypedDict",
235
228
  "AnalyticsRegions",
236
229
  "AnalyticsRegionsCity",
237
- "AnalyticsRegionsCountry",
238
230
  "AnalyticsRegionsTypedDict",
239
231
  "AnalyticsTimeseries",
240
232
  "AnalyticsTimeseriesTypedDict",
@@ -257,7 +249,6 @@ __all__ = [
257
249
  "Color",
258
250
  "Continent",
259
251
  "ContinentCode",
260
- "Country",
261
252
  "CountryCode",
262
253
  "Customer",
263
254
  "CustomerTypedDict",
@@ -402,7 +393,6 @@ _dynamic_imports: dict[str, str] = {
402
393
  "AnalyticsBrowsers": ".analyticsbrowsers",
403
394
  "AnalyticsBrowsersTypedDict": ".analyticsbrowsers",
404
395
  "AnalyticsCities": ".analyticscities",
405
- "AnalyticsCitiesCountry": ".analyticscities",
406
396
  "AnalyticsCitiesTypedDict": ".analyticscities",
407
397
  "AnalyticsContinents": ".analyticscontinents",
408
398
  "AnalyticsContinentsTypedDict": ".analyticscontinents",
@@ -412,7 +402,6 @@ _dynamic_imports: dict[str, str] = {
412
402
  "AnalyticsCountries": ".analyticscountries",
413
403
  "AnalyticsCountriesTypedDict": ".analyticscountries",
414
404
  "City": ".analyticscountries",
415
- "Country": ".analyticscountries",
416
405
  "Region": ".analyticscountries",
417
406
  "AnalyticsDevices": ".analyticsdevices",
418
407
  "AnalyticsDevicesTypedDict": ".analyticsdevices",
@@ -424,7 +413,6 @@ _dynamic_imports: dict[str, str] = {
424
413
  "AnalyticsRefererUrlsTypedDict": ".analyticsrefererurls",
425
414
  "AnalyticsRegions": ".analyticsregions",
426
415
  "AnalyticsRegionsCity": ".analyticsregions",
427
- "AnalyticsRegionsCountry": ".analyticsregions",
428
416
  "AnalyticsRegionsTypedDict": ".analyticsregions",
429
417
  "AnalyticsTimeseries": ".analyticstimeseries",
430
418
  "AnalyticsTimeseriesTypedDict": ".analyticstimeseries",
@@ -2,270 +2,14 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from dub.types import BaseModel
5
- from enum import Enum
6
5
  import pydantic
7
6
  from typing import Optional
8
7
  from typing_extensions import Annotated, NotRequired, TypedDict
9
8
 
10
9
 
11
- class AnalyticsCitiesCountry(str, Enum):
12
- r"""The 2-letter country code of the city: https://d.to/geo"""
13
-
14
- AF = "AF"
15
- AL = "AL"
16
- DZ = "DZ"
17
- AS = "AS"
18
- AD = "AD"
19
- AO = "AO"
20
- AI = "AI"
21
- AQ = "AQ"
22
- AG = "AG"
23
- AR = "AR"
24
- AM = "AM"
25
- AW = "AW"
26
- AU = "AU"
27
- AT = "AT"
28
- AZ = "AZ"
29
- BS = "BS"
30
- BH = "BH"
31
- BD = "BD"
32
- BB = "BB"
33
- BY = "BY"
34
- BE = "BE"
35
- BZ = "BZ"
36
- BJ = "BJ"
37
- BM = "BM"
38
- BT = "BT"
39
- BO = "BO"
40
- BA = "BA"
41
- BW = "BW"
42
- BV = "BV"
43
- BR = "BR"
44
- IO = "IO"
45
- BN = "BN"
46
- BG = "BG"
47
- BF = "BF"
48
- BI = "BI"
49
- KH = "KH"
50
- CM = "CM"
51
- CA = "CA"
52
- CV = "CV"
53
- KY = "KY"
54
- CF = "CF"
55
- TD = "TD"
56
- CL = "CL"
57
- CN = "CN"
58
- CX = "CX"
59
- CC = "CC"
60
- CO = "CO"
61
- KM = "KM"
62
- CG = "CG"
63
- CD = "CD"
64
- CK = "CK"
65
- CR = "CR"
66
- CI = "CI"
67
- HR = "HR"
68
- CU = "CU"
69
- CY = "CY"
70
- CZ = "CZ"
71
- DK = "DK"
72
- DJ = "DJ"
73
- DM = "DM"
74
- DO = "DO"
75
- EC = "EC"
76
- EG = "EG"
77
- SV = "SV"
78
- GQ = "GQ"
79
- ER = "ER"
80
- EE = "EE"
81
- ET = "ET"
82
- FK = "FK"
83
- FO = "FO"
84
- FJ = "FJ"
85
- FI = "FI"
86
- FR = "FR"
87
- GF = "GF"
88
- PF = "PF"
89
- TF = "TF"
90
- GA = "GA"
91
- GM = "GM"
92
- GE = "GE"
93
- DE = "DE"
94
- GH = "GH"
95
- GI = "GI"
96
- GR = "GR"
97
- GL = "GL"
98
- GD = "GD"
99
- GP = "GP"
100
- GU = "GU"
101
- GT = "GT"
102
- GN = "GN"
103
- GW = "GW"
104
- GY = "GY"
105
- HT = "HT"
106
- HM = "HM"
107
- VA = "VA"
108
- HN = "HN"
109
- HK = "HK"
110
- HU = "HU"
111
- IS = "IS"
112
- IN = "IN"
113
- ID = "ID"
114
- IR = "IR"
115
- IQ = "IQ"
116
- IE = "IE"
117
- IL = "IL"
118
- IT = "IT"
119
- JM = "JM"
120
- JP = "JP"
121
- JO = "JO"
122
- KZ = "KZ"
123
- KE = "KE"
124
- KI = "KI"
125
- KP = "KP"
126
- KR = "KR"
127
- KW = "KW"
128
- KG = "KG"
129
- LA = "LA"
130
- LV = "LV"
131
- LB = "LB"
132
- LS = "LS"
133
- LR = "LR"
134
- LY = "LY"
135
- LI = "LI"
136
- LT = "LT"
137
- LU = "LU"
138
- MO = "MO"
139
- MG = "MG"
140
- MW = "MW"
141
- MY = "MY"
142
- MV = "MV"
143
- ML = "ML"
144
- MT = "MT"
145
- MH = "MH"
146
- MQ = "MQ"
147
- MR = "MR"
148
- MU = "MU"
149
- YT = "YT"
150
- MX = "MX"
151
- FM = "FM"
152
- MD = "MD"
153
- MC = "MC"
154
- MN = "MN"
155
- MS = "MS"
156
- MA = "MA"
157
- MZ = "MZ"
158
- MM = "MM"
159
- NA = "NA"
160
- NR = "NR"
161
- NP = "NP"
162
- NL = "NL"
163
- NC = "NC"
164
- NZ = "NZ"
165
- NI = "NI"
166
- NE = "NE"
167
- NG = "NG"
168
- NU = "NU"
169
- NF = "NF"
170
- MK = "MK"
171
- MP = "MP"
172
- NO = "NO"
173
- OM = "OM"
174
- PK = "PK"
175
- PW = "PW"
176
- PS = "PS"
177
- PA = "PA"
178
- PG = "PG"
179
- PY = "PY"
180
- PE = "PE"
181
- PH = "PH"
182
- PN = "PN"
183
- PL = "PL"
184
- PT = "PT"
185
- PR = "PR"
186
- QA = "QA"
187
- RE = "RE"
188
- RO = "RO"
189
- RU = "RU"
190
- RW = "RW"
191
- SH = "SH"
192
- KN = "KN"
193
- LC = "LC"
194
- PM = "PM"
195
- VC = "VC"
196
- WS = "WS"
197
- SM = "SM"
198
- ST = "ST"
199
- SA = "SA"
200
- SN = "SN"
201
- SC = "SC"
202
- SL = "SL"
203
- SG = "SG"
204
- SK = "SK"
205
- SI = "SI"
206
- SB = "SB"
207
- SO = "SO"
208
- ZA = "ZA"
209
- GS = "GS"
210
- ES = "ES"
211
- LK = "LK"
212
- SD = "SD"
213
- SR = "SR"
214
- SJ = "SJ"
215
- SZ = "SZ"
216
- SE = "SE"
217
- CH = "CH"
218
- SY = "SY"
219
- TW = "TW"
220
- TJ = "TJ"
221
- TZ = "TZ"
222
- TH = "TH"
223
- TL = "TL"
224
- TG = "TG"
225
- TK = "TK"
226
- TO = "TO"
227
- TT = "TT"
228
- TN = "TN"
229
- TR = "TR"
230
- TM = "TM"
231
- TC = "TC"
232
- TV = "TV"
233
- UG = "UG"
234
- UA = "UA"
235
- AE = "AE"
236
- GB = "GB"
237
- US = "US"
238
- UM = "UM"
239
- UY = "UY"
240
- UZ = "UZ"
241
- VU = "VU"
242
- VE = "VE"
243
- VN = "VN"
244
- VG = "VG"
245
- VI = "VI"
246
- WF = "WF"
247
- EH = "EH"
248
- YE = "YE"
249
- ZM = "ZM"
250
- ZW = "ZW"
251
- AX = "AX"
252
- BQ = "BQ"
253
- CW = "CW"
254
- GG = "GG"
255
- IM = "IM"
256
- JE = "JE"
257
- ME = "ME"
258
- BL = "BL"
259
- MF = "MF"
260
- RS = "RS"
261
- SX = "SX"
262
- SS = "SS"
263
- XK = "XK"
264
-
265
-
266
10
  class AnalyticsCitiesTypedDict(TypedDict):
267
- country: AnalyticsCitiesCountry
268
- r"""The 2-letter country code of the city: https://d.to/geo"""
11
+ country: str
12
+ r"""The 2-letter ISO 3166-1 country code of the country where this city is located. Learn more: https://d.to/geo"""
269
13
  region: str
270
14
  r"""The 2-letter ISO 3166-2 region code representing the region associated with the location of the user."""
271
15
  city: str
@@ -281,8 +25,8 @@ class AnalyticsCitiesTypedDict(TypedDict):
281
25
 
282
26
 
283
27
  class AnalyticsCities(BaseModel):
284
- country: AnalyticsCitiesCountry
285
- r"""The 2-letter country code of the city: https://d.to/geo"""
28
+ country: str
29
+ r"""The 2-letter ISO 3166-1 country code of the country where this city is located. Learn more: https://d.to/geo"""
286
30
 
287
31
  region: str
288
32
  r"""The 2-letter ISO 3166-2 region code representing the region associated with the location of the user."""
@@ -8,261 +8,6 @@ from typing import Optional
8
8
  from typing_extensions import Annotated, NotRequired, TypedDict
9
9
 
10
10
 
11
- class Country(str, Enum):
12
- r"""The 2-letter ISO 3166-1 country code for the country associated with the location of the user. Learn more: https://d.to/geo"""
13
-
14
- AF = "AF"
15
- AL = "AL"
16
- DZ = "DZ"
17
- AS = "AS"
18
- AD = "AD"
19
- AO = "AO"
20
- AI = "AI"
21
- AQ = "AQ"
22
- AG = "AG"
23
- AR = "AR"
24
- AM = "AM"
25
- AW = "AW"
26
- AU = "AU"
27
- AT = "AT"
28
- AZ = "AZ"
29
- BS = "BS"
30
- BH = "BH"
31
- BD = "BD"
32
- BB = "BB"
33
- BY = "BY"
34
- BE = "BE"
35
- BZ = "BZ"
36
- BJ = "BJ"
37
- BM = "BM"
38
- BT = "BT"
39
- BO = "BO"
40
- BA = "BA"
41
- BW = "BW"
42
- BV = "BV"
43
- BR = "BR"
44
- IO = "IO"
45
- BN = "BN"
46
- BG = "BG"
47
- BF = "BF"
48
- BI = "BI"
49
- KH = "KH"
50
- CM = "CM"
51
- CA = "CA"
52
- CV = "CV"
53
- KY = "KY"
54
- CF = "CF"
55
- TD = "TD"
56
- CL = "CL"
57
- CN = "CN"
58
- CX = "CX"
59
- CC = "CC"
60
- CO = "CO"
61
- KM = "KM"
62
- CG = "CG"
63
- CD = "CD"
64
- CK = "CK"
65
- CR = "CR"
66
- CI = "CI"
67
- HR = "HR"
68
- CU = "CU"
69
- CY = "CY"
70
- CZ = "CZ"
71
- DK = "DK"
72
- DJ = "DJ"
73
- DM = "DM"
74
- DO = "DO"
75
- EC = "EC"
76
- EG = "EG"
77
- SV = "SV"
78
- GQ = "GQ"
79
- ER = "ER"
80
- EE = "EE"
81
- ET = "ET"
82
- FK = "FK"
83
- FO = "FO"
84
- FJ = "FJ"
85
- FI = "FI"
86
- FR = "FR"
87
- GF = "GF"
88
- PF = "PF"
89
- TF = "TF"
90
- GA = "GA"
91
- GM = "GM"
92
- GE = "GE"
93
- DE = "DE"
94
- GH = "GH"
95
- GI = "GI"
96
- GR = "GR"
97
- GL = "GL"
98
- GD = "GD"
99
- GP = "GP"
100
- GU = "GU"
101
- GT = "GT"
102
- GN = "GN"
103
- GW = "GW"
104
- GY = "GY"
105
- HT = "HT"
106
- HM = "HM"
107
- VA = "VA"
108
- HN = "HN"
109
- HK = "HK"
110
- HU = "HU"
111
- IS = "IS"
112
- IN = "IN"
113
- ID = "ID"
114
- IR = "IR"
115
- IQ = "IQ"
116
- IE = "IE"
117
- IL = "IL"
118
- IT = "IT"
119
- JM = "JM"
120
- JP = "JP"
121
- JO = "JO"
122
- KZ = "KZ"
123
- KE = "KE"
124
- KI = "KI"
125
- KP = "KP"
126
- KR = "KR"
127
- KW = "KW"
128
- KG = "KG"
129
- LA = "LA"
130
- LV = "LV"
131
- LB = "LB"
132
- LS = "LS"
133
- LR = "LR"
134
- LY = "LY"
135
- LI = "LI"
136
- LT = "LT"
137
- LU = "LU"
138
- MO = "MO"
139
- MG = "MG"
140
- MW = "MW"
141
- MY = "MY"
142
- MV = "MV"
143
- ML = "ML"
144
- MT = "MT"
145
- MH = "MH"
146
- MQ = "MQ"
147
- MR = "MR"
148
- MU = "MU"
149
- YT = "YT"
150
- MX = "MX"
151
- FM = "FM"
152
- MD = "MD"
153
- MC = "MC"
154
- MN = "MN"
155
- MS = "MS"
156
- MA = "MA"
157
- MZ = "MZ"
158
- MM = "MM"
159
- NA = "NA"
160
- NR = "NR"
161
- NP = "NP"
162
- NL = "NL"
163
- NC = "NC"
164
- NZ = "NZ"
165
- NI = "NI"
166
- NE = "NE"
167
- NG = "NG"
168
- NU = "NU"
169
- NF = "NF"
170
- MK = "MK"
171
- MP = "MP"
172
- NO = "NO"
173
- OM = "OM"
174
- PK = "PK"
175
- PW = "PW"
176
- PS = "PS"
177
- PA = "PA"
178
- PG = "PG"
179
- PY = "PY"
180
- PE = "PE"
181
- PH = "PH"
182
- PN = "PN"
183
- PL = "PL"
184
- PT = "PT"
185
- PR = "PR"
186
- QA = "QA"
187
- RE = "RE"
188
- RO = "RO"
189
- RU = "RU"
190
- RW = "RW"
191
- SH = "SH"
192
- KN = "KN"
193
- LC = "LC"
194
- PM = "PM"
195
- VC = "VC"
196
- WS = "WS"
197
- SM = "SM"
198
- ST = "ST"
199
- SA = "SA"
200
- SN = "SN"
201
- SC = "SC"
202
- SL = "SL"
203
- SG = "SG"
204
- SK = "SK"
205
- SI = "SI"
206
- SB = "SB"
207
- SO = "SO"
208
- ZA = "ZA"
209
- GS = "GS"
210
- ES = "ES"
211
- LK = "LK"
212
- SD = "SD"
213
- SR = "SR"
214
- SJ = "SJ"
215
- SZ = "SZ"
216
- SE = "SE"
217
- CH = "CH"
218
- SY = "SY"
219
- TW = "TW"
220
- TJ = "TJ"
221
- TZ = "TZ"
222
- TH = "TH"
223
- TL = "TL"
224
- TG = "TG"
225
- TK = "TK"
226
- TO = "TO"
227
- TT = "TT"
228
- TN = "TN"
229
- TR = "TR"
230
- TM = "TM"
231
- TC = "TC"
232
- TV = "TV"
233
- UG = "UG"
234
- UA = "UA"
235
- AE = "AE"
236
- GB = "GB"
237
- US = "US"
238
- UM = "UM"
239
- UY = "UY"
240
- UZ = "UZ"
241
- VU = "VU"
242
- VE = "VE"
243
- VN = "VN"
244
- VG = "VG"
245
- VI = "VI"
246
- WF = "WF"
247
- EH = "EH"
248
- YE = "YE"
249
- ZM = "ZM"
250
- ZW = "ZW"
251
- AX = "AX"
252
- BQ = "BQ"
253
- CW = "CW"
254
- GG = "GG"
255
- IM = "IM"
256
- JE = "JE"
257
- ME = "ME"
258
- BL = "BL"
259
- MF = "MF"
260
- RS = "RS"
261
- SX = "SX"
262
- SS = "SS"
263
- XK = "XK"
264
-
265
-
266
11
  class Region(str, Enum):
267
12
  WILDCARD_ = "*"
268
13
 
@@ -272,8 +17,8 @@ class City(str, Enum):
272
17
 
273
18
 
274
19
  class AnalyticsCountriesTypedDict(TypedDict):
275
- country: Country
276
- r"""The 2-letter ISO 3166-1 country code for the country associated with the location of the user. Learn more: https://d.to/geo"""
20
+ country: str
21
+ r"""The 2-letter ISO 3166-1 country code of the country. Learn more: https://d.to/geo"""
277
22
  region: NotRequired[Region]
278
23
  city: NotRequired[City]
279
24
  clicks: NotRequired[float]
@@ -287,8 +32,8 @@ class AnalyticsCountriesTypedDict(TypedDict):
287
32
 
288
33
 
289
34
  class AnalyticsCountries(BaseModel):
290
- country: Country
291
- r"""The 2-letter ISO 3166-1 country code for the country associated with the location of the user. Learn more: https://d.to/geo"""
35
+ country: str
36
+ r"""The 2-letter ISO 3166-1 country code of the country. Learn more: https://d.to/geo"""
292
37
 
293
38
  region: Optional[Region] = Region.WILDCARD_
294
39