@goauthentik/api 2024.6.3-1722881330 → 2024.6.3-1723032607

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.
Files changed (72) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/dist/apis/PoliciesApi.d.ts +92 -1
  3. package/dist/apis/PoliciesApi.js +297 -0
  4. package/dist/apis/RbacApi.d.ts +2 -0
  5. package/dist/apis/RbacApi.js +2 -0
  6. package/dist/esm/apis/PoliciesApi.d.ts +92 -1
  7. package/dist/esm/apis/PoliciesApi.js +298 -1
  8. package/dist/esm/apis/RbacApi.d.ts +2 -0
  9. package/dist/esm/apis/RbacApi.js +2 -0
  10. package/dist/esm/models/AppEnum.d.ts +1 -0
  11. package/dist/esm/models/AppEnum.js +1 -0
  12. package/dist/esm/models/CountryCodeEnum.d.ts +271 -0
  13. package/dist/esm/models/CountryCodeEnum.js +278 -0
  14. package/dist/esm/models/DetailedCountry.d.ts +38 -0
  15. package/dist/esm/models/DetailedCountry.js +47 -0
  16. package/dist/esm/models/DetailedCountryField.d.ts +38 -0
  17. package/dist/esm/models/DetailedCountryField.js +47 -0
  18. package/dist/esm/models/DetailedCountryFieldRequest.d.ts +38 -0
  19. package/dist/esm/models/DetailedCountryFieldRequest.js +47 -0
  20. package/dist/esm/models/Device.d.ts +18 -0
  21. package/dist/esm/models/Device.js +6 -0
  22. package/dist/esm/models/GeoIPPolicy.d.ts +93 -0
  23. package/dist/esm/models/GeoIPPolicy.js +67 -0
  24. package/dist/esm/models/GeoIPPolicyRequest.d.ts +50 -0
  25. package/dist/esm/models/GeoIPPolicyRequest.js +52 -0
  26. package/dist/esm/models/ModelEnum.d.ts +1 -0
  27. package/dist/esm/models/ModelEnum.js +1 -0
  28. package/dist/esm/models/PaginatedGeoIPPolicyList.d.ts +39 -0
  29. package/dist/esm/models/PaginatedGeoIPPolicyList.js +48 -0
  30. package/dist/esm/models/PatchedGeoIPPolicyRequest.d.ts +50 -0
  31. package/dist/esm/models/PatchedGeoIPPolicyRequest.js +50 -0
  32. package/dist/esm/models/index.d.ts +8 -0
  33. package/dist/esm/models/index.js +8 -0
  34. package/dist/models/AppEnum.d.ts +1 -0
  35. package/dist/models/AppEnum.js +1 -0
  36. package/dist/models/CountryCodeEnum.d.ts +271 -0
  37. package/dist/models/CountryCodeEnum.js +284 -0
  38. package/dist/models/DetailedCountry.d.ts +38 -0
  39. package/dist/models/DetailedCountry.js +54 -0
  40. package/dist/models/DetailedCountryField.d.ts +38 -0
  41. package/dist/models/DetailedCountryField.js +54 -0
  42. package/dist/models/DetailedCountryFieldRequest.d.ts +38 -0
  43. package/dist/models/DetailedCountryFieldRequest.js +54 -0
  44. package/dist/models/Device.d.ts +18 -0
  45. package/dist/models/Device.js +6 -0
  46. package/dist/models/GeoIPPolicy.d.ts +93 -0
  47. package/dist/models/GeoIPPolicy.js +74 -0
  48. package/dist/models/GeoIPPolicyRequest.d.ts +50 -0
  49. package/dist/models/GeoIPPolicyRequest.js +59 -0
  50. package/dist/models/ModelEnum.d.ts +1 -0
  51. package/dist/models/ModelEnum.js +1 -0
  52. package/dist/models/PaginatedGeoIPPolicyList.d.ts +39 -0
  53. package/dist/models/PaginatedGeoIPPolicyList.js +55 -0
  54. package/dist/models/PatchedGeoIPPolicyRequest.d.ts +50 -0
  55. package/dist/models/PatchedGeoIPPolicyRequest.js +57 -0
  56. package/dist/models/index.d.ts +8 -0
  57. package/dist/models/index.js +8 -0
  58. package/package.json +1 -1
  59. package/src/apis/PoliciesApi.ts +377 -0
  60. package/src/apis/RbacApi.ts +2 -0
  61. package/src/models/AppEnum.ts +1 -0
  62. package/src/models/CountryCodeEnum.ts +286 -0
  63. package/src/models/DetailedCountry.ts +82 -0
  64. package/src/models/DetailedCountryField.ts +82 -0
  65. package/src/models/DetailedCountryFieldRequest.ts +82 -0
  66. package/src/models/Device.ts +24 -0
  67. package/src/models/GeoIPPolicy.ts +160 -0
  68. package/src/models/GeoIPPolicyRequest.ts +98 -0
  69. package/src/models/ModelEnum.ts +1 -0
  70. package/src/models/PaginatedGeoIPPolicyList.ts +88 -0
  71. package/src/models/PatchedGeoIPPolicyRequest.ts +96 -0
  72. package/src/models/index.ts +8 -0
@@ -0,0 +1,271 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.3
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const CountryCodeEnum: {
17
+ readonly Af: "AF";
18
+ readonly Ax: "AX";
19
+ readonly Al: "AL";
20
+ readonly Dz: "DZ";
21
+ readonly As: "AS";
22
+ readonly Ad: "AD";
23
+ readonly Ao: "AO";
24
+ readonly Ai: "AI";
25
+ readonly Aq: "AQ";
26
+ readonly Ag: "AG";
27
+ readonly Ar: "AR";
28
+ readonly Am: "AM";
29
+ readonly Aw: "AW";
30
+ readonly Au: "AU";
31
+ readonly At: "AT";
32
+ readonly Az: "AZ";
33
+ readonly Bs: "BS";
34
+ readonly Bh: "BH";
35
+ readonly Bd: "BD";
36
+ readonly Bb: "BB";
37
+ readonly By: "BY";
38
+ readonly Be: "BE";
39
+ readonly Bz: "BZ";
40
+ readonly Bj: "BJ";
41
+ readonly Bm: "BM";
42
+ readonly Bt: "BT";
43
+ readonly Bo: "BO";
44
+ readonly Bq: "BQ";
45
+ readonly Ba: "BA";
46
+ readonly Bw: "BW";
47
+ readonly Bv: "BV";
48
+ readonly Br: "BR";
49
+ readonly Io: "IO";
50
+ readonly Bn: "BN";
51
+ readonly Bg: "BG";
52
+ readonly Bf: "BF";
53
+ readonly Bi: "BI";
54
+ readonly Cv: "CV";
55
+ readonly Kh: "KH";
56
+ readonly Cm: "CM";
57
+ readonly Ca: "CA";
58
+ readonly Ky: "KY";
59
+ readonly Cf: "CF";
60
+ readonly Td: "TD";
61
+ readonly Cl: "CL";
62
+ readonly Cn: "CN";
63
+ readonly Cx: "CX";
64
+ readonly Cc: "CC";
65
+ readonly Co: "CO";
66
+ readonly Km: "KM";
67
+ readonly Cg: "CG";
68
+ readonly Cd: "CD";
69
+ readonly Ck: "CK";
70
+ readonly Cr: "CR";
71
+ readonly Ci: "CI";
72
+ readonly Hr: "HR";
73
+ readonly Cu: "CU";
74
+ readonly Cw: "CW";
75
+ readonly Cy: "CY";
76
+ readonly Cz: "CZ";
77
+ readonly Dk: "DK";
78
+ readonly Dj: "DJ";
79
+ readonly Dm: "DM";
80
+ readonly Do: "DO";
81
+ readonly Ec: "EC";
82
+ readonly Eg: "EG";
83
+ readonly Sv: "SV";
84
+ readonly Gq: "GQ";
85
+ readonly Er: "ER";
86
+ readonly Ee: "EE";
87
+ readonly Sz: "SZ";
88
+ readonly Et: "ET";
89
+ readonly Fk: "FK";
90
+ readonly Fo: "FO";
91
+ readonly Fj: "FJ";
92
+ readonly Fi: "FI";
93
+ readonly Fr: "FR";
94
+ readonly Gf: "GF";
95
+ readonly Pf: "PF";
96
+ readonly Tf: "TF";
97
+ readonly Ga: "GA";
98
+ readonly Gm: "GM";
99
+ readonly Ge: "GE";
100
+ readonly De: "DE";
101
+ readonly Gh: "GH";
102
+ readonly Gi: "GI";
103
+ readonly Gr: "GR";
104
+ readonly Gl: "GL";
105
+ readonly Gd: "GD";
106
+ readonly Gp: "GP";
107
+ readonly Gu: "GU";
108
+ readonly Gt: "GT";
109
+ readonly Gg: "GG";
110
+ readonly Gn: "GN";
111
+ readonly Gw: "GW";
112
+ readonly Gy: "GY";
113
+ readonly Ht: "HT";
114
+ readonly Hm: "HM";
115
+ readonly Va: "VA";
116
+ readonly Hn: "HN";
117
+ readonly Hk: "HK";
118
+ readonly Hu: "HU";
119
+ readonly Is: "IS";
120
+ readonly In: "IN";
121
+ readonly Id: "ID";
122
+ readonly Ir: "IR";
123
+ readonly Iq: "IQ";
124
+ readonly Ie: "IE";
125
+ readonly Im: "IM";
126
+ readonly Il: "IL";
127
+ readonly It: "IT";
128
+ readonly Jm: "JM";
129
+ readonly Jp: "JP";
130
+ readonly Je: "JE";
131
+ readonly Jo: "JO";
132
+ readonly Kz: "KZ";
133
+ readonly Ke: "KE";
134
+ readonly Ki: "KI";
135
+ readonly Kw: "KW";
136
+ readonly Kg: "KG";
137
+ readonly La: "LA";
138
+ readonly Lv: "LV";
139
+ readonly Lb: "LB";
140
+ readonly Ls: "LS";
141
+ readonly Lr: "LR";
142
+ readonly Ly: "LY";
143
+ readonly Li: "LI";
144
+ readonly Lt: "LT";
145
+ readonly Lu: "LU";
146
+ readonly Mo: "MO";
147
+ readonly Mg: "MG";
148
+ readonly Mw: "MW";
149
+ readonly My: "MY";
150
+ readonly Mv: "MV";
151
+ readonly Ml: "ML";
152
+ readonly Mt: "MT";
153
+ readonly Mh: "MH";
154
+ readonly Mq: "MQ";
155
+ readonly Mr: "MR";
156
+ readonly Mu: "MU";
157
+ readonly Yt: "YT";
158
+ readonly Mx: "MX";
159
+ readonly Fm: "FM";
160
+ readonly Md: "MD";
161
+ readonly Mc: "MC";
162
+ readonly Mn: "MN";
163
+ readonly Me: "ME";
164
+ readonly Ms: "MS";
165
+ readonly Ma: "MA";
166
+ readonly Mz: "MZ";
167
+ readonly Mm: "MM";
168
+ readonly Na: "NA";
169
+ readonly Nr: "NR";
170
+ readonly Np: "NP";
171
+ readonly Nl: "NL";
172
+ readonly Nc: "NC";
173
+ readonly Nz: "NZ";
174
+ readonly Ni: "NI";
175
+ readonly Ne: "NE";
176
+ readonly Ng: "NG";
177
+ readonly Nu: "NU";
178
+ readonly Nf: "NF";
179
+ readonly Kp: "KP";
180
+ readonly Mk: "MK";
181
+ readonly Mp: "MP";
182
+ readonly No: "NO";
183
+ readonly Om: "OM";
184
+ readonly Pk: "PK";
185
+ readonly Pw: "PW";
186
+ readonly Ps: "PS";
187
+ readonly Pa: "PA";
188
+ readonly Pg: "PG";
189
+ readonly Py: "PY";
190
+ readonly Pe: "PE";
191
+ readonly Ph: "PH";
192
+ readonly Pn: "PN";
193
+ readonly Pl: "PL";
194
+ readonly Pt: "PT";
195
+ readonly Pr: "PR";
196
+ readonly Qa: "QA";
197
+ readonly Re: "RE";
198
+ readonly Ro: "RO";
199
+ readonly Ru: "RU";
200
+ readonly Rw: "RW";
201
+ readonly Bl: "BL";
202
+ readonly Sh: "SH";
203
+ readonly Kn: "KN";
204
+ readonly Lc: "LC";
205
+ readonly Mf: "MF";
206
+ readonly Pm: "PM";
207
+ readonly Vc: "VC";
208
+ readonly Ws: "WS";
209
+ readonly Sm: "SM";
210
+ readonly St: "ST";
211
+ readonly Sa: "SA";
212
+ readonly Sn: "SN";
213
+ readonly Rs: "RS";
214
+ readonly Sc: "SC";
215
+ readonly Sl: "SL";
216
+ readonly Sg: "SG";
217
+ readonly Sx: "SX";
218
+ readonly Sk: "SK";
219
+ readonly Si: "SI";
220
+ readonly Sb: "SB";
221
+ readonly So: "SO";
222
+ readonly Za: "ZA";
223
+ readonly Gs: "GS";
224
+ readonly Kr: "KR";
225
+ readonly Ss: "SS";
226
+ readonly Es: "ES";
227
+ readonly Lk: "LK";
228
+ readonly Sd: "SD";
229
+ readonly Sr: "SR";
230
+ readonly Sj: "SJ";
231
+ readonly Se: "SE";
232
+ readonly Ch: "CH";
233
+ readonly Sy: "SY";
234
+ readonly Tw: "TW";
235
+ readonly Tj: "TJ";
236
+ readonly Tz: "TZ";
237
+ readonly Th: "TH";
238
+ readonly Tl: "TL";
239
+ readonly Tg: "TG";
240
+ readonly Tk: "TK";
241
+ readonly To: "TO";
242
+ readonly Tt: "TT";
243
+ readonly Tn: "TN";
244
+ readonly Tr: "TR";
245
+ readonly Tm: "TM";
246
+ readonly Tc: "TC";
247
+ readonly Tv: "TV";
248
+ readonly Ug: "UG";
249
+ readonly Ua: "UA";
250
+ readonly Ae: "AE";
251
+ readonly Gb: "GB";
252
+ readonly Um: "UM";
253
+ readonly Us: "US";
254
+ readonly Uy: "UY";
255
+ readonly Uz: "UZ";
256
+ readonly Vu: "VU";
257
+ readonly Ve: "VE";
258
+ readonly Vn: "VN";
259
+ readonly Vg: "VG";
260
+ readonly Vi: "VI";
261
+ readonly Wf: "WF";
262
+ readonly Eh: "EH";
263
+ readonly Ye: "YE";
264
+ readonly Zm: "ZM";
265
+ readonly Zw: "ZW";
266
+ readonly UnknownDefaultOpenApi: "11184809";
267
+ };
268
+ export type CountryCodeEnum = typeof CountryCodeEnum[keyof typeof CountryCodeEnum];
269
+ export declare function CountryCodeEnumFromJSON(json: any): CountryCodeEnum;
270
+ export declare function CountryCodeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountryCodeEnum;
271
+ export declare function CountryCodeEnumToJSON(value?: CountryCodeEnum | null): any;
@@ -0,0 +1,284 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.3
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CountryCodeEnumToJSON = exports.CountryCodeEnumFromJSONTyped = exports.CountryCodeEnumFromJSON = exports.CountryCodeEnum = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ */
21
+ exports.CountryCodeEnum = {
22
+ Af: 'AF',
23
+ Ax: 'AX',
24
+ Al: 'AL',
25
+ Dz: 'DZ',
26
+ As: 'AS',
27
+ Ad: 'AD',
28
+ Ao: 'AO',
29
+ Ai: 'AI',
30
+ Aq: 'AQ',
31
+ Ag: 'AG',
32
+ Ar: 'AR',
33
+ Am: 'AM',
34
+ Aw: 'AW',
35
+ Au: 'AU',
36
+ At: 'AT',
37
+ Az: 'AZ',
38
+ Bs: 'BS',
39
+ Bh: 'BH',
40
+ Bd: 'BD',
41
+ Bb: 'BB',
42
+ By: 'BY',
43
+ Be: 'BE',
44
+ Bz: 'BZ',
45
+ Bj: 'BJ',
46
+ Bm: 'BM',
47
+ Bt: 'BT',
48
+ Bo: 'BO',
49
+ Bq: 'BQ',
50
+ Ba: 'BA',
51
+ Bw: 'BW',
52
+ Bv: 'BV',
53
+ Br: 'BR',
54
+ Io: 'IO',
55
+ Bn: 'BN',
56
+ Bg: 'BG',
57
+ Bf: 'BF',
58
+ Bi: 'BI',
59
+ Cv: 'CV',
60
+ Kh: 'KH',
61
+ Cm: 'CM',
62
+ Ca: 'CA',
63
+ Ky: 'KY',
64
+ Cf: 'CF',
65
+ Td: 'TD',
66
+ Cl: 'CL',
67
+ Cn: 'CN',
68
+ Cx: 'CX',
69
+ Cc: 'CC',
70
+ Co: 'CO',
71
+ Km: 'KM',
72
+ Cg: 'CG',
73
+ Cd: 'CD',
74
+ Ck: 'CK',
75
+ Cr: 'CR',
76
+ Ci: 'CI',
77
+ Hr: 'HR',
78
+ Cu: 'CU',
79
+ Cw: 'CW',
80
+ Cy: 'CY',
81
+ Cz: 'CZ',
82
+ Dk: 'DK',
83
+ Dj: 'DJ',
84
+ Dm: 'DM',
85
+ Do: 'DO',
86
+ Ec: 'EC',
87
+ Eg: 'EG',
88
+ Sv: 'SV',
89
+ Gq: 'GQ',
90
+ Er: 'ER',
91
+ Ee: 'EE',
92
+ Sz: 'SZ',
93
+ Et: 'ET',
94
+ Fk: 'FK',
95
+ Fo: 'FO',
96
+ Fj: 'FJ',
97
+ Fi: 'FI',
98
+ Fr: 'FR',
99
+ Gf: 'GF',
100
+ Pf: 'PF',
101
+ Tf: 'TF',
102
+ Ga: 'GA',
103
+ Gm: 'GM',
104
+ Ge: 'GE',
105
+ De: 'DE',
106
+ Gh: 'GH',
107
+ Gi: 'GI',
108
+ Gr: 'GR',
109
+ Gl: 'GL',
110
+ Gd: 'GD',
111
+ Gp: 'GP',
112
+ Gu: 'GU',
113
+ Gt: 'GT',
114
+ Gg: 'GG',
115
+ Gn: 'GN',
116
+ Gw: 'GW',
117
+ Gy: 'GY',
118
+ Ht: 'HT',
119
+ Hm: 'HM',
120
+ Va: 'VA',
121
+ Hn: 'HN',
122
+ Hk: 'HK',
123
+ Hu: 'HU',
124
+ Is: 'IS',
125
+ In: 'IN',
126
+ Id: 'ID',
127
+ Ir: 'IR',
128
+ Iq: 'IQ',
129
+ Ie: 'IE',
130
+ Im: 'IM',
131
+ Il: 'IL',
132
+ It: 'IT',
133
+ Jm: 'JM',
134
+ Jp: 'JP',
135
+ Je: 'JE',
136
+ Jo: 'JO',
137
+ Kz: 'KZ',
138
+ Ke: 'KE',
139
+ Ki: 'KI',
140
+ Kw: 'KW',
141
+ Kg: 'KG',
142
+ La: 'LA',
143
+ Lv: 'LV',
144
+ Lb: 'LB',
145
+ Ls: 'LS',
146
+ Lr: 'LR',
147
+ Ly: 'LY',
148
+ Li: 'LI',
149
+ Lt: 'LT',
150
+ Lu: 'LU',
151
+ Mo: 'MO',
152
+ Mg: 'MG',
153
+ Mw: 'MW',
154
+ My: 'MY',
155
+ Mv: 'MV',
156
+ Ml: 'ML',
157
+ Mt: 'MT',
158
+ Mh: 'MH',
159
+ Mq: 'MQ',
160
+ Mr: 'MR',
161
+ Mu: 'MU',
162
+ Yt: 'YT',
163
+ Mx: 'MX',
164
+ Fm: 'FM',
165
+ Md: 'MD',
166
+ Mc: 'MC',
167
+ Mn: 'MN',
168
+ Me: 'ME',
169
+ Ms: 'MS',
170
+ Ma: 'MA',
171
+ Mz: 'MZ',
172
+ Mm: 'MM',
173
+ Na: 'NA',
174
+ Nr: 'NR',
175
+ Np: 'NP',
176
+ Nl: 'NL',
177
+ Nc: 'NC',
178
+ Nz: 'NZ',
179
+ Ni: 'NI',
180
+ Ne: 'NE',
181
+ Ng: 'NG',
182
+ Nu: 'NU',
183
+ Nf: 'NF',
184
+ Kp: 'KP',
185
+ Mk: 'MK',
186
+ Mp: 'MP',
187
+ No: 'NO',
188
+ Om: 'OM',
189
+ Pk: 'PK',
190
+ Pw: 'PW',
191
+ Ps: 'PS',
192
+ Pa: 'PA',
193
+ Pg: 'PG',
194
+ Py: 'PY',
195
+ Pe: 'PE',
196
+ Ph: 'PH',
197
+ Pn: 'PN',
198
+ Pl: 'PL',
199
+ Pt: 'PT',
200
+ Pr: 'PR',
201
+ Qa: 'QA',
202
+ Re: 'RE',
203
+ Ro: 'RO',
204
+ Ru: 'RU',
205
+ Rw: 'RW',
206
+ Bl: 'BL',
207
+ Sh: 'SH',
208
+ Kn: 'KN',
209
+ Lc: 'LC',
210
+ Mf: 'MF',
211
+ Pm: 'PM',
212
+ Vc: 'VC',
213
+ Ws: 'WS',
214
+ Sm: 'SM',
215
+ St: 'ST',
216
+ Sa: 'SA',
217
+ Sn: 'SN',
218
+ Rs: 'RS',
219
+ Sc: 'SC',
220
+ Sl: 'SL',
221
+ Sg: 'SG',
222
+ Sx: 'SX',
223
+ Sk: 'SK',
224
+ Si: 'SI',
225
+ Sb: 'SB',
226
+ So: 'SO',
227
+ Za: 'ZA',
228
+ Gs: 'GS',
229
+ Kr: 'KR',
230
+ Ss: 'SS',
231
+ Es: 'ES',
232
+ Lk: 'LK',
233
+ Sd: 'SD',
234
+ Sr: 'SR',
235
+ Sj: 'SJ',
236
+ Se: 'SE',
237
+ Ch: 'CH',
238
+ Sy: 'SY',
239
+ Tw: 'TW',
240
+ Tj: 'TJ',
241
+ Tz: 'TZ',
242
+ Th: 'TH',
243
+ Tl: 'TL',
244
+ Tg: 'TG',
245
+ Tk: 'TK',
246
+ To: 'TO',
247
+ Tt: 'TT',
248
+ Tn: 'TN',
249
+ Tr: 'TR',
250
+ Tm: 'TM',
251
+ Tc: 'TC',
252
+ Tv: 'TV',
253
+ Ug: 'UG',
254
+ Ua: 'UA',
255
+ Ae: 'AE',
256
+ Gb: 'GB',
257
+ Um: 'UM',
258
+ Us: 'US',
259
+ Uy: 'UY',
260
+ Uz: 'UZ',
261
+ Vu: 'VU',
262
+ Ve: 'VE',
263
+ Vn: 'VN',
264
+ Vg: 'VG',
265
+ Vi: 'VI',
266
+ Wf: 'WF',
267
+ Eh: 'EH',
268
+ Ye: 'YE',
269
+ Zm: 'ZM',
270
+ Zw: 'ZW',
271
+ UnknownDefaultOpenApi: '11184809'
272
+ };
273
+ function CountryCodeEnumFromJSON(json) {
274
+ return CountryCodeEnumFromJSONTyped(json, false);
275
+ }
276
+ exports.CountryCodeEnumFromJSON = CountryCodeEnumFromJSON;
277
+ function CountryCodeEnumFromJSONTyped(json, ignoreDiscriminator) {
278
+ return json;
279
+ }
280
+ exports.CountryCodeEnumFromJSONTyped = CountryCodeEnumFromJSONTyped;
281
+ function CountryCodeEnumToJSON(value) {
282
+ return value;
283
+ }
284
+ exports.CountryCodeEnumToJSON = CountryCodeEnumToJSON;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.3
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { CountryCodeEnum } from './CountryCodeEnum';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DetailedCountry
17
+ */
18
+ export interface DetailedCountry {
19
+ /**
20
+ *
21
+ * @type {CountryCodeEnum}
22
+ * @memberof DetailedCountry
23
+ */
24
+ code: CountryCodeEnum;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof DetailedCountry
29
+ */
30
+ name: string;
31
+ }
32
+ /**
33
+ * Check if a given object implements the DetailedCountry interface.
34
+ */
35
+ export declare function instanceOfDetailedCountry(value: object): boolean;
36
+ export declare function DetailedCountryFromJSON(json: any): DetailedCountry;
37
+ export declare function DetailedCountryFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetailedCountry;
38
+ export declare function DetailedCountryToJSON(value?: DetailedCountry | null): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.3
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.DetailedCountryToJSON = exports.DetailedCountryFromJSONTyped = exports.DetailedCountryFromJSON = exports.instanceOfDetailedCountry = void 0;
17
+ const CountryCodeEnum_1 = require("./CountryCodeEnum");
18
+ /**
19
+ * Check if a given object implements the DetailedCountry interface.
20
+ */
21
+ function instanceOfDetailedCountry(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "code" in value;
24
+ isInstance = isInstance && "name" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfDetailedCountry = instanceOfDetailedCountry;
28
+ function DetailedCountryFromJSON(json) {
29
+ return DetailedCountryFromJSONTyped(json, false);
30
+ }
31
+ exports.DetailedCountryFromJSON = DetailedCountryFromJSON;
32
+ function DetailedCountryFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'code': (0, CountryCodeEnum_1.CountryCodeEnumFromJSON)(json['code']),
38
+ 'name': json['name'],
39
+ };
40
+ }
41
+ exports.DetailedCountryFromJSONTyped = DetailedCountryFromJSONTyped;
42
+ function DetailedCountryToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'code': (0, CountryCodeEnum_1.CountryCodeEnumToJSON)(value.code),
51
+ 'name': value.name,
52
+ };
53
+ }
54
+ exports.DetailedCountryToJSON = DetailedCountryToJSON;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.3
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { CountryCodeEnum } from './CountryCodeEnum';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DetailedCountryField
17
+ */
18
+ export interface DetailedCountryField {
19
+ /**
20
+ *
21
+ * @type {CountryCodeEnum}
22
+ * @memberof DetailedCountryField
23
+ */
24
+ code: CountryCodeEnum;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof DetailedCountryField
29
+ */
30
+ name: string;
31
+ }
32
+ /**
33
+ * Check if a given object implements the DetailedCountryField interface.
34
+ */
35
+ export declare function instanceOfDetailedCountryField(value: object): boolean;
36
+ export declare function DetailedCountryFieldFromJSON(json: any): DetailedCountryField;
37
+ export declare function DetailedCountryFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetailedCountryField;
38
+ export declare function DetailedCountryFieldToJSON(value?: DetailedCountryField | null): any;