@jellyfin/sdk 0.0.0-unstable.202303301750 → 0.8.0
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/lib/generated-client/api/audio-api.d.ts +8 -8
- package/lib/generated-client/api/audio-api.js +6 -6
- package/lib/generated-client/api/dynamic-hls-api.d.ts +4 -4
- package/lib/generated-client/api/dynamic-hls-api.js +3 -3
- package/lib/generated-client/api/image-api.d.ts +336 -84
- package/lib/generated-client/api/image-api.js +336 -168
- package/lib/generated-client/api/image-by-name-api.js +71 -2
- package/lib/generated-client/api/items-api.d.ts +36 -36
- package/lib/generated-client/api/items-api.js +27 -27
- package/lib/generated-client/api/notifications-api.js +79 -2
- package/lib/generated-client/api/quick-connect-api.d.ts +37 -46
- package/lib/generated-client/api/quick-connect-api.js +50 -56
- package/lib/generated-client/api/search-api.d.ts +38 -38
- package/lib/generated-client/api/search-api.js +18 -18
- package/lib/generated-client/api/trailers-api.d.ts +20 -20
- package/lib/generated-client/api/trailers-api.js +15 -15
- package/lib/generated-client/api/user-api.d.ts +12 -7
- package/lib/generated-client/api/user-api.js +12 -10
- package/lib/generated-client/api/user-library-api.d.ts +0 -56
- package/lib/generated-client/api/user-library-api.js +0 -71
- package/lib/generated-client/api.d.ts +2 -0
- package/lib/generated-client/index.js +4 -3
- package/lib/generated-client/models/architecture.d.ts +0 -3
- package/lib/generated-client/models/architecture.js +1 -4
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +7 -0
- package/lib/generated-client/models/base-item-dto.d.ts +3 -9
- package/lib/generated-client/models/base-item-person.d.ts +3 -4
- package/lib/generated-client/models/container-profile.d.ts +1 -1
- package/lib/generated-client/models/create-user-by-name.d.ts +1 -1
- package/lib/generated-client/models/encoding-options.d.ts +36 -49
- package/lib/generated-client/models/index.d.ts +10 -6
- package/lib/generated-client/models/index.js +2 -3
- package/lib/generated-client/models/library-options.d.ts +0 -6
- package/lib/generated-client/models/live-tv-options.d.ts +0 -12
- package/lib/generated-client/models/media-stream.d.ts +0 -12
- package/lib/generated-client/models/network-configuration.d.ts +1 -1
- package/lib/generated-client/models/{image-resolution.js → notification-level.js} +6 -12
- package/lib/generated-client/models/parental-rating.d.ts +1 -1
- package/lib/generated-client/models/public-system-info.d.ts +0 -1
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +15 -17
- package/lib/generated-client/models/{down-mix-stereo-algorithms.js → send-to-user-type.js} +6 -6
- package/lib/generated-client/models/series-status.d.ts +1 -2
- package/lib/generated-client/models/series-status.js +2 -3
- package/lib/generated-client/models/server-configuration.d.ts +0 -19
- package/lib/generated-client/models/system-info.d.ts +0 -3
- package/lib/generated-client/models/tuner-host-info.d.ts +0 -6
- package/lib/generated-client/models/user-policy.d.ts +0 -12
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +1 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +0 -21
- package/lib/generated-client/models/image-resolution.d.ts +0 -27
- package/lib/generated-client/models/lyric-line.d.ts +0 -29
- package/lib/generated-client/models/lyric-metadata.d.ts +0 -71
- package/lib/generated-client/models/lyric-response.d.ts +0 -31
- package/lib/generated-client/models/person-kind.d.ts +0 -36
- package/lib/generated-client/models/person-kind.js +0 -39
|
@@ -21,33 +21,32 @@ export declare const QuickConnectApiAxiosParamCreator: (configuration?: Configur
|
|
|
21
21
|
*
|
|
22
22
|
* @summary Authorizes a pending quick connect request.
|
|
23
23
|
* @param {string} code Quick connect code to authorize.
|
|
24
|
-
* @param {string} [userId] The user the authorize. Access to the requested user is required.
|
|
25
24
|
* @param {*} [options] Override http request option.
|
|
26
25
|
* @throws {RequiredError}
|
|
27
26
|
*/
|
|
28
|
-
|
|
27
|
+
authorize: (code: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
28
|
/**
|
|
30
29
|
*
|
|
31
|
-
* @summary
|
|
30
|
+
* @summary Attempts to retrieve authentication information.
|
|
31
|
+
* @param {string} secret Secret previously returned from the Initiate endpoint.
|
|
32
32
|
* @param {*} [options] Override http request option.
|
|
33
33
|
* @throws {RequiredError}
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
connect: (secret: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @summary
|
|
39
|
-
* @param {string} secret Secret previously returned from the Initiate endpoint.
|
|
38
|
+
* @summary Gets the current quick connect state.
|
|
40
39
|
* @param {*} [options] Override http request option.
|
|
41
40
|
* @throws {RequiredError}
|
|
42
41
|
*/
|
|
43
|
-
|
|
42
|
+
getEnabled: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
43
|
/**
|
|
45
44
|
*
|
|
46
45
|
* @summary Initiate a new quick connect request.
|
|
47
46
|
* @param {*} [options] Override http request option.
|
|
48
47
|
* @throws {RequiredError}
|
|
49
48
|
*/
|
|
50
|
-
|
|
49
|
+
initiate: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
50
|
};
|
|
52
51
|
/**
|
|
53
52
|
* QuickConnectApi - functional programming interface
|
|
@@ -58,33 +57,32 @@ export declare const QuickConnectApiFp: (configuration?: Configuration) => {
|
|
|
58
57
|
*
|
|
59
58
|
* @summary Authorizes a pending quick connect request.
|
|
60
59
|
* @param {string} code Quick connect code to authorize.
|
|
61
|
-
* @param {string} [userId] The user the authorize. Access to the requested user is required.
|
|
62
60
|
* @param {*} [options] Override http request option.
|
|
63
61
|
* @throws {RequiredError}
|
|
64
62
|
*/
|
|
65
|
-
|
|
63
|
+
authorize(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
66
64
|
/**
|
|
67
65
|
*
|
|
68
|
-
* @summary
|
|
66
|
+
* @summary Attempts to retrieve authentication information.
|
|
67
|
+
* @param {string} secret Secret previously returned from the Initiate endpoint.
|
|
69
68
|
* @param {*} [options] Override http request option.
|
|
70
69
|
* @throws {RequiredError}
|
|
71
70
|
*/
|
|
72
|
-
|
|
71
|
+
connect(secret: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickConnectResult>>;
|
|
73
72
|
/**
|
|
74
73
|
*
|
|
75
|
-
* @summary
|
|
76
|
-
* @param {string} secret Secret previously returned from the Initiate endpoint.
|
|
74
|
+
* @summary Gets the current quick connect state.
|
|
77
75
|
* @param {*} [options] Override http request option.
|
|
78
76
|
* @throws {RequiredError}
|
|
79
77
|
*/
|
|
80
|
-
|
|
78
|
+
getEnabled(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
81
79
|
/**
|
|
82
80
|
*
|
|
83
81
|
* @summary Initiate a new quick connect request.
|
|
84
82
|
* @param {*} [options] Override http request option.
|
|
85
83
|
* @throws {RequiredError}
|
|
86
84
|
*/
|
|
87
|
-
|
|
85
|
+
initiate(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickConnectResult>>;
|
|
88
86
|
};
|
|
89
87
|
/**
|
|
90
88
|
* QuickConnectApi - factory interface
|
|
@@ -95,63 +93,56 @@ export declare const QuickConnectApiFactory: (configuration?: Configuration, bas
|
|
|
95
93
|
*
|
|
96
94
|
* @summary Authorizes a pending quick connect request.
|
|
97
95
|
* @param {string} code Quick connect code to authorize.
|
|
98
|
-
* @param {string} [userId] The user the authorize. Access to the requested user is required.
|
|
99
96
|
* @param {*} [options] Override http request option.
|
|
100
97
|
* @throws {RequiredError}
|
|
101
98
|
*/
|
|
102
|
-
|
|
99
|
+
authorize(code: string, options?: any): AxiosPromise<boolean>;
|
|
103
100
|
/**
|
|
104
101
|
*
|
|
105
|
-
* @summary
|
|
102
|
+
* @summary Attempts to retrieve authentication information.
|
|
103
|
+
* @param {string} secret Secret previously returned from the Initiate endpoint.
|
|
106
104
|
* @param {*} [options] Override http request option.
|
|
107
105
|
* @throws {RequiredError}
|
|
108
106
|
*/
|
|
109
|
-
|
|
107
|
+
connect(secret: string, options?: any): AxiosPromise<QuickConnectResult>;
|
|
110
108
|
/**
|
|
111
109
|
*
|
|
112
|
-
* @summary
|
|
113
|
-
* @param {string} secret Secret previously returned from the Initiate endpoint.
|
|
110
|
+
* @summary Gets the current quick connect state.
|
|
114
111
|
* @param {*} [options] Override http request option.
|
|
115
112
|
* @throws {RequiredError}
|
|
116
113
|
*/
|
|
117
|
-
|
|
114
|
+
getEnabled(options?: any): AxiosPromise<boolean>;
|
|
118
115
|
/**
|
|
119
116
|
*
|
|
120
117
|
* @summary Initiate a new quick connect request.
|
|
121
118
|
* @param {*} [options] Override http request option.
|
|
122
119
|
* @throws {RequiredError}
|
|
123
120
|
*/
|
|
124
|
-
|
|
121
|
+
initiate(options?: any): AxiosPromise<QuickConnectResult>;
|
|
125
122
|
};
|
|
126
123
|
/**
|
|
127
|
-
* Request parameters for
|
|
124
|
+
* Request parameters for authorize operation in QuickConnectApi.
|
|
128
125
|
* @export
|
|
129
|
-
* @interface
|
|
126
|
+
* @interface QuickConnectApiAuthorizeRequest
|
|
130
127
|
*/
|
|
131
|
-
export interface
|
|
128
|
+
export interface QuickConnectApiAuthorizeRequest {
|
|
132
129
|
/**
|
|
133
130
|
* Quick connect code to authorize.
|
|
134
131
|
* @type {string}
|
|
135
|
-
* @memberof
|
|
132
|
+
* @memberof QuickConnectApiAuthorize
|
|
136
133
|
*/
|
|
137
134
|
readonly code: string;
|
|
138
|
-
/**
|
|
139
|
-
* The user the authorize. Access to the requested user is required.
|
|
140
|
-
* @type {string}
|
|
141
|
-
* @memberof QuickConnectApiAuthorizeQuickConnect
|
|
142
|
-
*/
|
|
143
|
-
readonly userId?: string;
|
|
144
135
|
}
|
|
145
136
|
/**
|
|
146
|
-
* Request parameters for
|
|
137
|
+
* Request parameters for connect operation in QuickConnectApi.
|
|
147
138
|
* @export
|
|
148
|
-
* @interface
|
|
139
|
+
* @interface QuickConnectApiConnectRequest
|
|
149
140
|
*/
|
|
150
|
-
export interface
|
|
141
|
+
export interface QuickConnectApiConnectRequest {
|
|
151
142
|
/**
|
|
152
143
|
* Secret previously returned from the Initiate endpoint.
|
|
153
144
|
* @type {string}
|
|
154
|
-
* @memberof
|
|
145
|
+
* @memberof QuickConnectApiConnect
|
|
155
146
|
*/
|
|
156
147
|
readonly secret: string;
|
|
157
148
|
}
|
|
@@ -165,29 +156,29 @@ export declare class QuickConnectApi extends BaseAPI {
|
|
|
165
156
|
/**
|
|
166
157
|
*
|
|
167
158
|
* @summary Authorizes a pending quick connect request.
|
|
168
|
-
* @param {
|
|
159
|
+
* @param {QuickConnectApiAuthorizeRequest} requestParameters Request parameters.
|
|
169
160
|
* @param {*} [options] Override http request option.
|
|
170
161
|
* @throws {RequiredError}
|
|
171
162
|
* @memberof QuickConnectApi
|
|
172
163
|
*/
|
|
173
|
-
|
|
164
|
+
authorize(requestParameters: QuickConnectApiAuthorizeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
174
165
|
/**
|
|
175
166
|
*
|
|
176
|
-
* @summary
|
|
167
|
+
* @summary Attempts to retrieve authentication information.
|
|
168
|
+
* @param {QuickConnectApiConnectRequest} requestParameters Request parameters.
|
|
177
169
|
* @param {*} [options] Override http request option.
|
|
178
170
|
* @throws {RequiredError}
|
|
179
171
|
* @memberof QuickConnectApi
|
|
180
172
|
*/
|
|
181
|
-
|
|
173
|
+
connect(requestParameters: QuickConnectApiConnectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuickConnectResult, any>>;
|
|
182
174
|
/**
|
|
183
175
|
*
|
|
184
|
-
* @summary
|
|
185
|
-
* @param {QuickConnectApiGetQuickConnectStateRequest} requestParameters Request parameters.
|
|
176
|
+
* @summary Gets the current quick connect state.
|
|
186
177
|
* @param {*} [options] Override http request option.
|
|
187
178
|
* @throws {RequiredError}
|
|
188
179
|
* @memberof QuickConnectApi
|
|
189
180
|
*/
|
|
190
|
-
|
|
181
|
+
getEnabled(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
191
182
|
/**
|
|
192
183
|
*
|
|
193
184
|
* @summary Initiate a new quick connect request.
|
|
@@ -195,5 +186,5 @@ export declare class QuickConnectApi extends BaseAPI {
|
|
|
195
186
|
* @throws {RequiredError}
|
|
196
187
|
* @memberof QuickConnectApi
|
|
197
188
|
*/
|
|
198
|
-
|
|
189
|
+
initiate(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuickConnectResult, any>>;
|
|
199
190
|
}
|
|
@@ -14,13 +14,12 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
14
14
|
*
|
|
15
15
|
* @summary Authorizes a pending quick connect request.
|
|
16
16
|
* @param {string} code Quick connect code to authorize.
|
|
17
|
-
* @param {string} [userId] The user the authorize. Access to the requested user is required.
|
|
18
17
|
* @param {*} [options] Override http request option.
|
|
19
18
|
* @throws {RequiredError}
|
|
20
19
|
*/
|
|
21
|
-
|
|
20
|
+
authorize: (code, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
22
21
|
// verify required parameter 'code' is not null or undefined
|
|
23
|
-
assertParamExists('
|
|
22
|
+
assertParamExists('authorize', 'code', code);
|
|
24
23
|
const localVarPath = `/QuickConnect/Authorize`;
|
|
25
24
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26
25
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -36,9 +35,6 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
36
35
|
if (code !== undefined) {
|
|
37
36
|
localVarQueryParameter['code'] = code;
|
|
38
37
|
}
|
|
39
|
-
if (userId !== undefined) {
|
|
40
|
-
localVarQueryParameter['userId'] = userId;
|
|
41
|
-
}
|
|
42
38
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43
39
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44
40
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -49,12 +45,15 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
49
45
|
}),
|
|
50
46
|
/**
|
|
51
47
|
*
|
|
52
|
-
* @summary
|
|
48
|
+
* @summary Attempts to retrieve authentication information.
|
|
49
|
+
* @param {string} secret Secret previously returned from the Initiate endpoint.
|
|
53
50
|
* @param {*} [options] Override http request option.
|
|
54
51
|
* @throws {RequiredError}
|
|
55
52
|
*/
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
connect: (secret, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
54
|
+
// verify required parameter 'secret' is not null or undefined
|
|
55
|
+
assertParamExists('connect', 'secret', secret);
|
|
56
|
+
const localVarPath = `/QuickConnect/Connect`;
|
|
58
57
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
58
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60
59
|
let baseOptions;
|
|
@@ -64,6 +63,9 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
64
63
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
65
64
|
const localVarHeaderParameter = {};
|
|
66
65
|
const localVarQueryParameter = {};
|
|
66
|
+
if (secret !== undefined) {
|
|
67
|
+
localVarQueryParameter['secret'] = secret;
|
|
68
|
+
}
|
|
67
69
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68
70
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69
71
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -74,15 +76,12 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
74
76
|
}),
|
|
75
77
|
/**
|
|
76
78
|
*
|
|
77
|
-
* @summary
|
|
78
|
-
* @param {string} secret Secret previously returned from the Initiate endpoint.
|
|
79
|
+
* @summary Gets the current quick connect state.
|
|
79
80
|
* @param {*} [options] Override http request option.
|
|
80
81
|
* @throws {RequiredError}
|
|
81
82
|
*/
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
assertParamExists('getQuickConnectState', 'secret', secret);
|
|
85
|
-
const localVarPath = `/QuickConnect/Connect`;
|
|
83
|
+
getEnabled: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
84
|
+
const localVarPath = `/QuickConnect/Enabled`;
|
|
86
85
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
87
86
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
88
87
|
let baseOptions;
|
|
@@ -92,9 +91,6 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
92
91
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
93
92
|
const localVarHeaderParameter = {};
|
|
94
93
|
const localVarQueryParameter = {};
|
|
95
|
-
if (secret !== undefined) {
|
|
96
|
-
localVarQueryParameter['secret'] = secret;
|
|
97
|
-
}
|
|
98
94
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
99
95
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
96
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -109,7 +105,7 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
109
105
|
* @param {*} [options] Override http request option.
|
|
110
106
|
* @throws {RequiredError}
|
|
111
107
|
*/
|
|
112
|
-
|
|
108
|
+
initiate: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
113
109
|
const localVarPath = `/QuickConnect/Initiate`;
|
|
114
110
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
115
111
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -117,7 +113,7 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
117
113
|
if (configuration) {
|
|
118
114
|
baseOptions = configuration.baseOptions;
|
|
119
115
|
}
|
|
120
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
116
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
121
117
|
const localVarHeaderParameter = {};
|
|
122
118
|
const localVarQueryParameter = {};
|
|
123
119
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -141,38 +137,37 @@ const QuickConnectApiFp = function (configuration) {
|
|
|
141
137
|
*
|
|
142
138
|
* @summary Authorizes a pending quick connect request.
|
|
143
139
|
* @param {string} code Quick connect code to authorize.
|
|
144
|
-
* @param {string} [userId] The user the authorize. Access to the requested user is required.
|
|
145
140
|
* @param {*} [options] Override http request option.
|
|
146
141
|
* @throws {RequiredError}
|
|
147
142
|
*/
|
|
148
|
-
|
|
143
|
+
authorize(code, options) {
|
|
149
144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
150
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
145
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authorize(code, options);
|
|
151
146
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
152
147
|
});
|
|
153
148
|
},
|
|
154
149
|
/**
|
|
155
150
|
*
|
|
156
|
-
* @summary
|
|
151
|
+
* @summary Attempts to retrieve authentication information.
|
|
152
|
+
* @param {string} secret Secret previously returned from the Initiate endpoint.
|
|
157
153
|
* @param {*} [options] Override http request option.
|
|
158
154
|
* @throws {RequiredError}
|
|
159
155
|
*/
|
|
160
|
-
|
|
156
|
+
connect(secret, options) {
|
|
161
157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
162
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
158
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.connect(secret, options);
|
|
163
159
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
164
160
|
});
|
|
165
161
|
},
|
|
166
162
|
/**
|
|
167
163
|
*
|
|
168
|
-
* @summary
|
|
169
|
-
* @param {string} secret Secret previously returned from the Initiate endpoint.
|
|
164
|
+
* @summary Gets the current quick connect state.
|
|
170
165
|
* @param {*} [options] Override http request option.
|
|
171
166
|
* @throws {RequiredError}
|
|
172
167
|
*/
|
|
173
|
-
|
|
168
|
+
getEnabled(options) {
|
|
174
169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
170
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnabled(options);
|
|
176
171
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
177
172
|
});
|
|
178
173
|
},
|
|
@@ -182,9 +177,9 @@ const QuickConnectApiFp = function (configuration) {
|
|
|
182
177
|
* @param {*} [options] Override http request option.
|
|
183
178
|
* @throws {RequiredError}
|
|
184
179
|
*/
|
|
185
|
-
|
|
180
|
+
initiate(options) {
|
|
186
181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
187
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
182
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.initiate(options);
|
|
188
183
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
189
184
|
});
|
|
190
185
|
},
|
|
@@ -201,31 +196,30 @@ const QuickConnectApiFactory = function (configuration, basePath, axios) {
|
|
|
201
196
|
*
|
|
202
197
|
* @summary Authorizes a pending quick connect request.
|
|
203
198
|
* @param {string} code Quick connect code to authorize.
|
|
204
|
-
* @param {string} [userId] The user the authorize. Access to the requested user is required.
|
|
205
199
|
* @param {*} [options] Override http request option.
|
|
206
200
|
* @throws {RequiredError}
|
|
207
201
|
*/
|
|
208
|
-
|
|
209
|
-
return localVarFp.
|
|
202
|
+
authorize(code, options) {
|
|
203
|
+
return localVarFp.authorize(code, options).then((request) => request(axios, basePath));
|
|
210
204
|
},
|
|
211
205
|
/**
|
|
212
206
|
*
|
|
213
|
-
* @summary
|
|
207
|
+
* @summary Attempts to retrieve authentication information.
|
|
208
|
+
* @param {string} secret Secret previously returned from the Initiate endpoint.
|
|
214
209
|
* @param {*} [options] Override http request option.
|
|
215
210
|
* @throws {RequiredError}
|
|
216
211
|
*/
|
|
217
|
-
|
|
218
|
-
return localVarFp.
|
|
212
|
+
connect(secret, options) {
|
|
213
|
+
return localVarFp.connect(secret, options).then((request) => request(axios, basePath));
|
|
219
214
|
},
|
|
220
215
|
/**
|
|
221
216
|
*
|
|
222
|
-
* @summary
|
|
223
|
-
* @param {string} secret Secret previously returned from the Initiate endpoint.
|
|
217
|
+
* @summary Gets the current quick connect state.
|
|
224
218
|
* @param {*} [options] Override http request option.
|
|
225
219
|
* @throws {RequiredError}
|
|
226
220
|
*/
|
|
227
|
-
|
|
228
|
-
return localVarFp.
|
|
221
|
+
getEnabled(options) {
|
|
222
|
+
return localVarFp.getEnabled(options).then((request) => request(axios, basePath));
|
|
229
223
|
},
|
|
230
224
|
/**
|
|
231
225
|
*
|
|
@@ -233,8 +227,8 @@ const QuickConnectApiFactory = function (configuration, basePath, axios) {
|
|
|
233
227
|
* @param {*} [options] Override http request option.
|
|
234
228
|
* @throws {RequiredError}
|
|
235
229
|
*/
|
|
236
|
-
|
|
237
|
-
return localVarFp.
|
|
230
|
+
initiate(options) {
|
|
231
|
+
return localVarFp.initiate(options).then((request) => request(axios, basePath));
|
|
238
232
|
},
|
|
239
233
|
};
|
|
240
234
|
};
|
|
@@ -248,34 +242,34 @@ class QuickConnectApi extends BaseAPI {
|
|
|
248
242
|
/**
|
|
249
243
|
*
|
|
250
244
|
* @summary Authorizes a pending quick connect request.
|
|
251
|
-
* @param {
|
|
245
|
+
* @param {QuickConnectApiAuthorizeRequest} requestParameters Request parameters.
|
|
252
246
|
* @param {*} [options] Override http request option.
|
|
253
247
|
* @throws {RequiredError}
|
|
254
248
|
* @memberof QuickConnectApi
|
|
255
249
|
*/
|
|
256
|
-
|
|
257
|
-
return QuickConnectApiFp(this.configuration).
|
|
250
|
+
authorize(requestParameters, options) {
|
|
251
|
+
return QuickConnectApiFp(this.configuration).authorize(requestParameters.code, options).then((request) => request(this.axios, this.basePath));
|
|
258
252
|
}
|
|
259
253
|
/**
|
|
260
254
|
*
|
|
261
|
-
* @summary
|
|
255
|
+
* @summary Attempts to retrieve authentication information.
|
|
256
|
+
* @param {QuickConnectApiConnectRequest} requestParameters Request parameters.
|
|
262
257
|
* @param {*} [options] Override http request option.
|
|
263
258
|
* @throws {RequiredError}
|
|
264
259
|
* @memberof QuickConnectApi
|
|
265
260
|
*/
|
|
266
|
-
|
|
267
|
-
return QuickConnectApiFp(this.configuration).
|
|
261
|
+
connect(requestParameters, options) {
|
|
262
|
+
return QuickConnectApiFp(this.configuration).connect(requestParameters.secret, options).then((request) => request(this.axios, this.basePath));
|
|
268
263
|
}
|
|
269
264
|
/**
|
|
270
265
|
*
|
|
271
|
-
* @summary
|
|
272
|
-
* @param {QuickConnectApiGetQuickConnectStateRequest} requestParameters Request parameters.
|
|
266
|
+
* @summary Gets the current quick connect state.
|
|
273
267
|
* @param {*} [options] Override http request option.
|
|
274
268
|
* @throws {RequiredError}
|
|
275
269
|
* @memberof QuickConnectApi
|
|
276
270
|
*/
|
|
277
|
-
|
|
278
|
-
return QuickConnectApiFp(this.configuration).
|
|
271
|
+
getEnabled(options) {
|
|
272
|
+
return QuickConnectApiFp(this.configuration).getEnabled(options).then((request) => request(this.axios, this.basePath));
|
|
279
273
|
}
|
|
280
274
|
/**
|
|
281
275
|
*
|
|
@@ -284,8 +278,8 @@ class QuickConnectApi extends BaseAPI {
|
|
|
284
278
|
* @throws {RequiredError}
|
|
285
279
|
* @memberof QuickConnectApi
|
|
286
280
|
*/
|
|
287
|
-
|
|
288
|
-
return QuickConnectApiFp(this.configuration).
|
|
281
|
+
initiate(options) {
|
|
282
|
+
return QuickConnectApiFp(this.configuration).initiate(options).then((request) => request(this.axios, this.basePath));
|
|
289
283
|
}
|
|
290
284
|
}
|
|
291
285
|
|