@goauthentik/api 2022.11.3-1670864823 → 2022.11.3-1671369542

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.
@@ -62,6 +62,12 @@ export interface CaptchaChallenge {
62
62
  * @memberof CaptchaChallenge
63
63
  */
64
64
  siteKey: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof CaptchaChallenge
69
+ */
70
+ readonly jsUrl: string;
65
71
  }
66
72
  export declare function CaptchaChallengeFromJSON(json: any): CaptchaChallenge;
67
73
  export declare function CaptchaChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaptchaChallenge;
@@ -29,6 +29,7 @@ export function CaptchaChallengeFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'pendingUser': json['pending_user'],
30
30
  'pendingUserAvatar': json['pending_user_avatar'],
31
31
  'siteKey': json['site_key'],
32
+ 'jsUrl': json['js_url'],
32
33
  };
33
34
  }
34
35
  export function CaptchaChallengeToJSON(value) {
@@ -59,11 +59,23 @@ export interface CaptchaStage {
59
59
  */
60
60
  flowSet?: Array<FlowSet>;
61
61
  /**
62
- * Public key, acquired from https://www.google.com/recaptcha/intro/v3.html
62
+ * Public key, acquired your captcha Provider.
63
63
  * @type {string}
64
64
  * @memberof CaptchaStage
65
65
  */
66
66
  publicKey: string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof CaptchaStage
71
+ */
72
+ jsUrl?: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof CaptchaStage
77
+ */
78
+ apiUrl?: string;
67
79
  }
68
80
  export declare function CaptchaStageFromJSON(json: any): CaptchaStage;
69
81
  export declare function CaptchaStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaptchaStage;
@@ -29,6 +29,8 @@ export function CaptchaStageFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'metaModelName': json['meta_model_name'],
30
30
  'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetFromJSON)),
31
31
  'publicKey': json['public_key'],
32
+ 'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
33
+ 'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
32
34
  };
33
35
  }
34
36
  export function CaptchaStageToJSON(value) {
@@ -42,5 +44,7 @@ export function CaptchaStageToJSON(value) {
42
44
  'name': value.name,
43
45
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetToJSON)),
44
46
  'public_key': value.publicKey,
47
+ 'js_url': value.jsUrl,
48
+ 'api_url': value.apiUrl,
45
49
  };
46
50
  }
@@ -29,17 +29,29 @@ export interface CaptchaStageRequest {
29
29
  */
30
30
  flowSet?: Array<FlowSetRequest>;
31
31
  /**
32
- * Public key, acquired from https://www.google.com/recaptcha/intro/v3.html
32
+ * Public key, acquired your captcha Provider.
33
33
  * @type {string}
34
34
  * @memberof CaptchaStageRequest
35
35
  */
36
36
  publicKey: string;
37
37
  /**
38
- * Private key, acquired from https://www.google.com/recaptcha/intro/v3.html
38
+ * Private key, acquired your captcha Provider.
39
39
  * @type {string}
40
40
  * @memberof CaptchaStageRequest
41
41
  */
42
42
  privateKey: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof CaptchaStageRequest
47
+ */
48
+ jsUrl?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof CaptchaStageRequest
53
+ */
54
+ apiUrl?: string;
43
55
  }
44
56
  export declare function CaptchaStageRequestFromJSON(json: any): CaptchaStageRequest;
45
57
  export declare function CaptchaStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaptchaStageRequest;
@@ -25,6 +25,8 @@ export function CaptchaStageRequestFromJSONTyped(json, ignoreDiscriminator) {
25
25
  'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequestFromJSON)),
26
26
  'publicKey': json['public_key'],
27
27
  'privateKey': json['private_key'],
28
+ 'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
29
+ 'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
28
30
  };
29
31
  }
30
32
  export function CaptchaStageRequestToJSON(value) {
@@ -39,5 +41,7 @@ export function CaptchaStageRequestToJSON(value) {
39
41
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequestToJSON)),
40
42
  'public_key': value.publicKey,
41
43
  'private_key': value.privateKey,
44
+ 'js_url': value.jsUrl,
45
+ 'api_url': value.apiUrl,
42
46
  };
43
47
  }
@@ -29,17 +29,29 @@ export interface PatchedCaptchaStageRequest {
29
29
  */
30
30
  flowSet?: Array<FlowSetRequest>;
31
31
  /**
32
- * Public key, acquired from https://www.google.com/recaptcha/intro/v3.html
32
+ * Public key, acquired your captcha Provider.
33
33
  * @type {string}
34
34
  * @memberof PatchedCaptchaStageRequest
35
35
  */
36
36
  publicKey?: string;
37
37
  /**
38
- * Private key, acquired from https://www.google.com/recaptcha/intro/v3.html
38
+ * Private key, acquired your captcha Provider.
39
39
  * @type {string}
40
40
  * @memberof PatchedCaptchaStageRequest
41
41
  */
42
42
  privateKey?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof PatchedCaptchaStageRequest
47
+ */
48
+ jsUrl?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof PatchedCaptchaStageRequest
53
+ */
54
+ apiUrl?: string;
43
55
  }
44
56
  export declare function PatchedCaptchaStageRequestFromJSON(json: any): PatchedCaptchaStageRequest;
45
57
  export declare function PatchedCaptchaStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedCaptchaStageRequest;
@@ -25,6 +25,8 @@ export function PatchedCaptchaStageRequestFromJSONTyped(json, ignoreDiscriminato
25
25
  'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequestFromJSON)),
26
26
  'publicKey': !exists(json, 'public_key') ? undefined : json['public_key'],
27
27
  'privateKey': !exists(json, 'private_key') ? undefined : json['private_key'],
28
+ 'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
29
+ 'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
28
30
  };
29
31
  }
30
32
  export function PatchedCaptchaStageRequestToJSON(value) {
@@ -39,5 +41,7 @@ export function PatchedCaptchaStageRequestToJSON(value) {
39
41
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequestToJSON)),
40
42
  'public_key': value.publicKey,
41
43
  'private_key': value.privateKey,
44
+ 'js_url': value.jsUrl,
45
+ 'api_url': value.apiUrl,
42
46
  };
43
47
  }
@@ -62,6 +62,12 @@ export interface CaptchaChallenge {
62
62
  * @memberof CaptchaChallenge
63
63
  */
64
64
  siteKey: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof CaptchaChallenge
69
+ */
70
+ readonly jsUrl: string;
65
71
  }
66
72
  export declare function CaptchaChallengeFromJSON(json: any): CaptchaChallenge;
67
73
  export declare function CaptchaChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaptchaChallenge;
@@ -33,6 +33,7 @@ function CaptchaChallengeFromJSONTyped(json, ignoreDiscriminator) {
33
33
  'pendingUser': json['pending_user'],
34
34
  'pendingUserAvatar': json['pending_user_avatar'],
35
35
  'siteKey': json['site_key'],
36
+ 'jsUrl': json['js_url'],
36
37
  };
37
38
  }
38
39
  exports.CaptchaChallengeFromJSONTyped = CaptchaChallengeFromJSONTyped;
@@ -59,11 +59,23 @@ export interface CaptchaStage {
59
59
  */
60
60
  flowSet?: Array<FlowSet>;
61
61
  /**
62
- * Public key, acquired from https://www.google.com/recaptcha/intro/v3.html
62
+ * Public key, acquired your captcha Provider.
63
63
  * @type {string}
64
64
  * @memberof CaptchaStage
65
65
  */
66
66
  publicKey: string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof CaptchaStage
71
+ */
72
+ jsUrl?: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof CaptchaStage
77
+ */
78
+ apiUrl?: string;
67
79
  }
68
80
  export declare function CaptchaStageFromJSON(json: any): CaptchaStage;
69
81
  export declare function CaptchaStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaptchaStage;
@@ -33,6 +33,8 @@ function CaptchaStageFromJSONTyped(json, ignoreDiscriminator) {
33
33
  'metaModelName': json['meta_model_name'],
34
34
  'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSet_1.FlowSetFromJSON)),
35
35
  'publicKey': json['public_key'],
36
+ 'jsUrl': !(0, runtime_1.exists)(json, 'js_url') ? undefined : json['js_url'],
37
+ 'apiUrl': !(0, runtime_1.exists)(json, 'api_url') ? undefined : json['api_url'],
36
38
  };
37
39
  }
38
40
  exports.CaptchaStageFromJSONTyped = CaptchaStageFromJSONTyped;
@@ -47,6 +49,8 @@ function CaptchaStageToJSON(value) {
47
49
  'name': value.name,
48
50
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSet_1.FlowSetToJSON)),
49
51
  'public_key': value.publicKey,
52
+ 'js_url': value.jsUrl,
53
+ 'api_url': value.apiUrl,
50
54
  };
51
55
  }
52
56
  exports.CaptchaStageToJSON = CaptchaStageToJSON;
@@ -29,17 +29,29 @@ export interface CaptchaStageRequest {
29
29
  */
30
30
  flowSet?: Array<FlowSetRequest>;
31
31
  /**
32
- * Public key, acquired from https://www.google.com/recaptcha/intro/v3.html
32
+ * Public key, acquired your captcha Provider.
33
33
  * @type {string}
34
34
  * @memberof CaptchaStageRequest
35
35
  */
36
36
  publicKey: string;
37
37
  /**
38
- * Private key, acquired from https://www.google.com/recaptcha/intro/v3.html
38
+ * Private key, acquired your captcha Provider.
39
39
  * @type {string}
40
40
  * @memberof CaptchaStageRequest
41
41
  */
42
42
  privateKey: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof CaptchaStageRequest
47
+ */
48
+ jsUrl?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof CaptchaStageRequest
53
+ */
54
+ apiUrl?: string;
43
55
  }
44
56
  export declare function CaptchaStageRequestFromJSON(json: any): CaptchaStageRequest;
45
57
  export declare function CaptchaStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaptchaStageRequest;
@@ -29,6 +29,8 @@ function CaptchaStageRequestFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
30
30
  'publicKey': json['public_key'],
31
31
  'privateKey': json['private_key'],
32
+ 'jsUrl': !(0, runtime_1.exists)(json, 'js_url') ? undefined : json['js_url'],
33
+ 'apiUrl': !(0, runtime_1.exists)(json, 'api_url') ? undefined : json['api_url'],
32
34
  };
33
35
  }
34
36
  exports.CaptchaStageRequestFromJSONTyped = CaptchaStageRequestFromJSONTyped;
@@ -44,6 +46,8 @@ function CaptchaStageRequestToJSON(value) {
44
46
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequest_1.FlowSetRequestToJSON)),
45
47
  'public_key': value.publicKey,
46
48
  'private_key': value.privateKey,
49
+ 'js_url': value.jsUrl,
50
+ 'api_url': value.apiUrl,
47
51
  };
48
52
  }
49
53
  exports.CaptchaStageRequestToJSON = CaptchaStageRequestToJSON;
@@ -29,17 +29,29 @@ export interface PatchedCaptchaStageRequest {
29
29
  */
30
30
  flowSet?: Array<FlowSetRequest>;
31
31
  /**
32
- * Public key, acquired from https://www.google.com/recaptcha/intro/v3.html
32
+ * Public key, acquired your captcha Provider.
33
33
  * @type {string}
34
34
  * @memberof PatchedCaptchaStageRequest
35
35
  */
36
36
  publicKey?: string;
37
37
  /**
38
- * Private key, acquired from https://www.google.com/recaptcha/intro/v3.html
38
+ * Private key, acquired your captcha Provider.
39
39
  * @type {string}
40
40
  * @memberof PatchedCaptchaStageRequest
41
41
  */
42
42
  privateKey?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof PatchedCaptchaStageRequest
47
+ */
48
+ jsUrl?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof PatchedCaptchaStageRequest
53
+ */
54
+ apiUrl?: string;
43
55
  }
44
56
  export declare function PatchedCaptchaStageRequestFromJSON(json: any): PatchedCaptchaStageRequest;
45
57
  export declare function PatchedCaptchaStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedCaptchaStageRequest;
@@ -29,6 +29,8 @@ function PatchedCaptchaStageRequestFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
30
30
  'publicKey': !(0, runtime_1.exists)(json, 'public_key') ? undefined : json['public_key'],
31
31
  'privateKey': !(0, runtime_1.exists)(json, 'private_key') ? undefined : json['private_key'],
32
+ 'jsUrl': !(0, runtime_1.exists)(json, 'js_url') ? undefined : json['js_url'],
33
+ 'apiUrl': !(0, runtime_1.exists)(json, 'api_url') ? undefined : json['api_url'],
32
34
  };
33
35
  }
34
36
  exports.PatchedCaptchaStageRequestFromJSONTyped = PatchedCaptchaStageRequestFromJSONTyped;
@@ -44,6 +46,8 @@ function PatchedCaptchaStageRequestToJSON(value) {
44
46
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequest_1.FlowSetRequestToJSON)),
45
47
  'public_key': value.publicKey,
46
48
  'private_key': value.privateKey,
49
+ 'js_url': value.jsUrl,
50
+ 'api_url': value.apiUrl,
47
51
  };
48
52
  }
49
53
  exports.PatchedCaptchaStageRequestToJSON = PatchedCaptchaStageRequestToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2022.11.3-1670864823",
3
+ "version": "2022.11.3-1671369542",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -80,6 +80,12 @@ export interface CaptchaChallenge {
80
80
  * @memberof CaptchaChallenge
81
81
  */
82
82
  siteKey: string;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof CaptchaChallenge
87
+ */
88
+ readonly jsUrl: string;
83
89
  }
84
90
 
85
91
  export function CaptchaChallengeFromJSON(json: any): CaptchaChallenge {
@@ -99,6 +105,7 @@ export function CaptchaChallengeFromJSONTyped(json: any, ignoreDiscriminator: bo
99
105
  'pendingUser': json['pending_user'],
100
106
  'pendingUserAvatar': json['pending_user_avatar'],
101
107
  'siteKey': json['site_key'],
108
+ 'jsUrl': json['js_url'],
102
109
  };
103
110
  }
104
111
 
@@ -69,11 +69,23 @@ export interface CaptchaStage {
69
69
  */
70
70
  flowSet?: Array<FlowSet>;
71
71
  /**
72
- * Public key, acquired from https://www.google.com/recaptcha/intro/v3.html
72
+ * Public key, acquired your captcha Provider.
73
73
  * @type {string}
74
74
  * @memberof CaptchaStage
75
75
  */
76
76
  publicKey: string;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof CaptchaStage
81
+ */
82
+ jsUrl?: string;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof CaptchaStage
87
+ */
88
+ apiUrl?: string;
77
89
  }
78
90
 
79
91
  export function CaptchaStageFromJSON(json: any): CaptchaStage {
@@ -94,6 +106,8 @@ export function CaptchaStageFromJSONTyped(json: any, ignoreDiscriminator: boolea
94
106
  'metaModelName': json['meta_model_name'],
95
107
  'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetFromJSON)),
96
108
  'publicKey': json['public_key'],
109
+ 'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
110
+ 'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
97
111
  };
98
112
  }
99
113
 
@@ -109,6 +123,8 @@ export function CaptchaStageToJSON(value?: CaptchaStage | null): any {
109
123
  'name': value.name,
110
124
  'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetToJSON)),
111
125
  'public_key': value.publicKey,
126
+ 'js_url': value.jsUrl,
127
+ 'api_url': value.apiUrl,
112
128
  };
113
129
  }
114
130
 
@@ -39,17 +39,29 @@ export interface CaptchaStageRequest {
39
39
  */
40
40
  flowSet?: Array<FlowSetRequest>;
41
41
  /**
42
- * Public key, acquired from https://www.google.com/recaptcha/intro/v3.html
42
+ * Public key, acquired your captcha Provider.
43
43
  * @type {string}
44
44
  * @memberof CaptchaStageRequest
45
45
  */
46
46
  publicKey: string;
47
47
  /**
48
- * Private key, acquired from https://www.google.com/recaptcha/intro/v3.html
48
+ * Private key, acquired your captcha Provider.
49
49
  * @type {string}
50
50
  * @memberof CaptchaStageRequest
51
51
  */
52
52
  privateKey: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof CaptchaStageRequest
57
+ */
58
+ jsUrl?: string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof CaptchaStageRequest
63
+ */
64
+ apiUrl?: string;
53
65
  }
54
66
 
55
67
  export function CaptchaStageRequestFromJSON(json: any): CaptchaStageRequest {
@@ -66,6 +78,8 @@ export function CaptchaStageRequestFromJSONTyped(json: any, ignoreDiscriminator:
66
78
  'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetRequestFromJSON)),
67
79
  'publicKey': json['public_key'],
68
80
  'privateKey': json['private_key'],
81
+ 'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
82
+ 'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
69
83
  };
70
84
  }
71
85
 
@@ -82,6 +96,8 @@ export function CaptchaStageRequestToJSON(value?: CaptchaStageRequest | null): a
82
96
  'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetRequestToJSON)),
83
97
  'public_key': value.publicKey,
84
98
  'private_key': value.privateKey,
99
+ 'js_url': value.jsUrl,
100
+ 'api_url': value.apiUrl,
85
101
  };
86
102
  }
87
103
 
@@ -39,17 +39,29 @@ export interface PatchedCaptchaStageRequest {
39
39
  */
40
40
  flowSet?: Array<FlowSetRequest>;
41
41
  /**
42
- * Public key, acquired from https://www.google.com/recaptcha/intro/v3.html
42
+ * Public key, acquired your captcha Provider.
43
43
  * @type {string}
44
44
  * @memberof PatchedCaptchaStageRequest
45
45
  */
46
46
  publicKey?: string;
47
47
  /**
48
- * Private key, acquired from https://www.google.com/recaptcha/intro/v3.html
48
+ * Private key, acquired your captcha Provider.
49
49
  * @type {string}
50
50
  * @memberof PatchedCaptchaStageRequest
51
51
  */
52
52
  privateKey?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof PatchedCaptchaStageRequest
57
+ */
58
+ jsUrl?: string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof PatchedCaptchaStageRequest
63
+ */
64
+ apiUrl?: string;
53
65
  }
54
66
 
55
67
  export function PatchedCaptchaStageRequestFromJSON(json: any): PatchedCaptchaStageRequest {
@@ -66,6 +78,8 @@ export function PatchedCaptchaStageRequestFromJSONTyped(json: any, ignoreDiscrim
66
78
  'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetRequestFromJSON)),
67
79
  'publicKey': !exists(json, 'public_key') ? undefined : json['public_key'],
68
80
  'privateKey': !exists(json, 'private_key') ? undefined : json['private_key'],
81
+ 'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
82
+ 'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
69
83
  };
70
84
  }
71
85
 
@@ -82,6 +96,8 @@ export function PatchedCaptchaStageRequestToJSON(value?: PatchedCaptchaStageRequ
82
96
  'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetRequestToJSON)),
83
97
  'public_key': value.publicKey,
84
98
  'private_key': value.privateKey,
99
+ 'js_url': value.jsUrl,
100
+ 'api_url': value.apiUrl,
85
101
  };
86
102
  }
87
103