@wix/auth-management 1.0.40 → 1.0.42
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/build/es/package.json +3 -0
- package/meta/package.json +1 -5
- package/package.json +19 -16
- package/build/cjs/context.d.ts +0 -1
- package/build/cjs/context.js +0 -28
- package/build/cjs/context.js.map +0 -1
- package/build/es/context.d.ts +0 -1
- package/build/es/context.js +0 -2
- package/build/es/context.js.map +0 -1
- package/context/package.json +0 -7
- package/type-bundles/context.bundle.d.ts +0 -1421
- package/type-bundles/index.bundle.d.ts +0 -1421
- package/type-bundles/meta.bundle.d.ts +0 -447
|
@@ -1,447 +0,0 @@
|
|
|
1
|
-
/** An intermediary application that authorizes and authenticates an external client to access data on a Wix project or site. */
|
|
2
|
-
interface OAuthApp$1 {
|
|
3
|
-
/**
|
|
4
|
-
* ID of the OAuth app.
|
|
5
|
-
* @readonly
|
|
6
|
-
*/
|
|
7
|
-
id?: string | null;
|
|
8
|
-
/**
|
|
9
|
-
* Date and time the OAuth app was created, in ISO 8601 format.
|
|
10
|
-
* @readonly
|
|
11
|
-
*/
|
|
12
|
-
createdDate?: Date | null;
|
|
13
|
-
/** Display name of the OAuth app, as it appears in the dashboard. */
|
|
14
|
-
name?: string | null;
|
|
15
|
-
/** Description of the OAuth app, as it appears in the dashboard. */
|
|
16
|
-
description?: string | null;
|
|
17
|
-
/**
|
|
18
|
-
* For internal use only.
|
|
19
|
-
* @readonly
|
|
20
|
-
* @deprecated
|
|
21
|
-
*/
|
|
22
|
-
secret?: string | null;
|
|
23
|
-
/** External login URL to which users are redirected automatically to authenticate. If no login URL is specified, the user is redirected to Wix to authenticate. */
|
|
24
|
-
loginUrl?: string | null;
|
|
25
|
-
/**
|
|
26
|
-
* List of URIs to which redirection from Wix is allowed after authentication.
|
|
27
|
-
*
|
|
28
|
-
* When a client redirects a user to Wix for authentication, the client provides a URI to redirect the user back to after the user has been authenticated.
|
|
29
|
-
* Wix only redirects the user if the exact URI is contained in this array.
|
|
30
|
-
*/
|
|
31
|
-
allowedRedirectUris?: string[];
|
|
32
|
-
/**
|
|
33
|
-
* List of domains to which redirection from Wix is allowed after processes other than authentication.
|
|
34
|
-
*
|
|
35
|
-
* When a client redirects a user to a Wix page (for example, for checkout), the client provides a URL to redirect the user back to.
|
|
36
|
-
* Wix only redirects the user if the URL is in one of the specified domains.
|
|
37
|
-
*/
|
|
38
|
-
allowedRedirectDomains?: string[];
|
|
39
|
-
/**
|
|
40
|
-
* Whether a secret can be generated for this OAuth app.
|
|
41
|
-
*
|
|
42
|
-
* Default: `true` until a secret has been generated for the OAuth App.
|
|
43
|
-
*/
|
|
44
|
-
allowSecretGeneration?: boolean | null;
|
|
45
|
-
/** External logout URL to which we invoke when user logout at wix. If no logout URL is specified, the user is logged out only at Wix. */
|
|
46
|
-
logoutUrl?: string | null;
|
|
47
|
-
/** OAuth application type. */
|
|
48
|
-
applicationType?: OAuthAppType$1;
|
|
49
|
-
/** OAuth technology used by the oauth application. */
|
|
50
|
-
technology?: OAuthTechnologies$1;
|
|
51
|
-
}
|
|
52
|
-
/** OAuth application type. */
|
|
53
|
-
declare enum OAuthAppType$1 {
|
|
54
|
-
/** OAuth app type is not specified. */
|
|
55
|
-
OAUTH_APP_TYPE_UNSPECIFIED = "OAUTH_APP_TYPE_UNSPECIFIED",
|
|
56
|
-
/** OAuth app type is a web application. */
|
|
57
|
-
WEB_APP = "WEB_APP",
|
|
58
|
-
/** OAuth app type is a mobile application. */
|
|
59
|
-
MOBILE = "MOBILE",
|
|
60
|
-
/** OAuth app type is some other type of application. */
|
|
61
|
-
OTHER = "OTHER"
|
|
62
|
-
}
|
|
63
|
-
/** OAuth technology used by the oauth application. */
|
|
64
|
-
declare enum OAuthTechnologies$1 {
|
|
65
|
-
/** The OAuth technology is not specified. */
|
|
66
|
-
OAUTH_TECHNOLOGY_UNSPECIFIED = "OAUTH_TECHNOLOGY_UNSPECIFIED",
|
|
67
|
-
/** OAuth technology using JavaScript. */
|
|
68
|
-
JAVASCRIPT = "JAVASCRIPT",
|
|
69
|
-
/** OAuth technology using Angular. */
|
|
70
|
-
ANGULAR = "ANGULAR",
|
|
71
|
-
/** OAuth technology using Vue.js. */
|
|
72
|
-
VUE = "VUE",
|
|
73
|
-
/** OAuth technology using React. */
|
|
74
|
-
REACT = "REACT",
|
|
75
|
-
/** OAuth technology using React Native. */
|
|
76
|
-
REACT_NATIVE = "REACT_NATIVE",
|
|
77
|
-
/** OAuth technology using iOS. */
|
|
78
|
-
IOS = "IOS",
|
|
79
|
-
/** OAuth technology using Android. */
|
|
80
|
-
ANDROID = "ANDROID",
|
|
81
|
-
/** OAuth technology using some other kind of technology. */
|
|
82
|
-
OTHER_TECHNOLOGY = "OTHER_TECHNOLOGY"
|
|
83
|
-
}
|
|
84
|
-
interface CreateOAuthAppRequest$1 {
|
|
85
|
-
/** OAuth app to create. */
|
|
86
|
-
oAuthApp: OAuthApp$1;
|
|
87
|
-
}
|
|
88
|
-
interface CreateOAuthAppResponse$1 {
|
|
89
|
-
/** Created OAuth app info. */
|
|
90
|
-
oAuthApp?: OAuthApp$1;
|
|
91
|
-
}
|
|
92
|
-
interface GetOAuthAppRequest$1 {
|
|
93
|
-
/** ID of the OAuth app to retrieve. */
|
|
94
|
-
oAuthAppId: string;
|
|
95
|
-
}
|
|
96
|
-
interface GetOAuthAppResponse$1 {
|
|
97
|
-
/** Retrieved OAuth app info. */
|
|
98
|
-
oAuthApp?: OAuthApp$1;
|
|
99
|
-
}
|
|
100
|
-
interface UpdateOAuthAppRequest$1 {
|
|
101
|
-
/** Updated OAuth app details. May include some or all fields. */
|
|
102
|
-
oAuthApp: OAuthApp$1;
|
|
103
|
-
}
|
|
104
|
-
interface UpdateOAuthAppResponse$1 {
|
|
105
|
-
/** Updated OAuth app info. */
|
|
106
|
-
oAuthApp?: OAuthApp$1;
|
|
107
|
-
}
|
|
108
|
-
interface QueryOAuthAppsRequest$1 {
|
|
109
|
-
/** Query options. */
|
|
110
|
-
query?: PlatformQuery$1;
|
|
111
|
-
}
|
|
112
|
-
interface PlatformQuery$1 extends PlatformQueryPagingMethodOneOf$1 {
|
|
113
|
-
/** Paging options to limit and skip the number of items. */
|
|
114
|
-
paging?: Paging$1;
|
|
115
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
116
|
-
cursorPaging?: CursorPaging$1;
|
|
117
|
-
/**
|
|
118
|
-
* Filter object in the following format:
|
|
119
|
-
* `"filter" : {
|
|
120
|
-
* "fieldName1": "value1",
|
|
121
|
-
* "fieldName2":{"$operator":"value2"}
|
|
122
|
-
* }`
|
|
123
|
-
* Example of operators: `$eq`
|
|
124
|
-
*/
|
|
125
|
-
filter?: Record<string, any> | null;
|
|
126
|
-
/**
|
|
127
|
-
* Sort object in the following format:
|
|
128
|
-
* `[{"fieldName":"name","order":"ASC"},{"fieldName":"created_date","order":"DESC"}]`
|
|
129
|
-
*/
|
|
130
|
-
sort?: Sorting$1[];
|
|
131
|
-
}
|
|
132
|
-
/** @oneof */
|
|
133
|
-
interface PlatformQueryPagingMethodOneOf$1 {
|
|
134
|
-
/** Paging options to limit and skip the number of items. */
|
|
135
|
-
paging?: Paging$1;
|
|
136
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
137
|
-
cursorPaging?: CursorPaging$1;
|
|
138
|
-
}
|
|
139
|
-
interface Sorting$1 {
|
|
140
|
-
/** Name of the field to sort by. */
|
|
141
|
-
fieldName?: string;
|
|
142
|
-
/** Sort order. */
|
|
143
|
-
order?: SortOrder$1;
|
|
144
|
-
}
|
|
145
|
-
declare enum SortOrder$1 {
|
|
146
|
-
ASC = "ASC",
|
|
147
|
-
DESC = "DESC"
|
|
148
|
-
}
|
|
149
|
-
interface Paging$1 {
|
|
150
|
-
/** Number of items to load. */
|
|
151
|
-
limit?: number | null;
|
|
152
|
-
/** Number of items to skip in the current sort order. */
|
|
153
|
-
offset?: number | null;
|
|
154
|
-
}
|
|
155
|
-
interface CursorPaging$1 {
|
|
156
|
-
/** Maximum number of items to return in the results. */
|
|
157
|
-
limit?: number | null;
|
|
158
|
-
/**
|
|
159
|
-
* Pointer to the next or previous page in the list of results.
|
|
160
|
-
*
|
|
161
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
162
|
-
* Not relevant for the first request.
|
|
163
|
-
*/
|
|
164
|
-
cursor?: string | null;
|
|
165
|
-
}
|
|
166
|
-
interface QueryOAuthAppsResponse$1 {
|
|
167
|
-
/** List of OAuth apps matching the query. */
|
|
168
|
-
oAuthApps?: OAuthApp$1[];
|
|
169
|
-
/** Paging metadata. */
|
|
170
|
-
pagingMetadata?: PagingMetadataV2$1;
|
|
171
|
-
}
|
|
172
|
-
interface PagingMetadataV2$1 {
|
|
173
|
-
/** Number of items returned in the response. */
|
|
174
|
-
count?: number | null;
|
|
175
|
-
/** Offset that was requested. */
|
|
176
|
-
offset?: number | null;
|
|
177
|
-
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
178
|
-
total?: number | null;
|
|
179
|
-
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
180
|
-
tooManyToCount?: boolean | null;
|
|
181
|
-
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
182
|
-
cursors?: Cursors$1;
|
|
183
|
-
}
|
|
184
|
-
interface Cursors$1 {
|
|
185
|
-
/** Cursor string pointing to the next page in the list of results. */
|
|
186
|
-
next?: string | null;
|
|
187
|
-
/** Cursor pointing to the previous page in the list of results. */
|
|
188
|
-
prev?: string | null;
|
|
189
|
-
}
|
|
190
|
-
interface OAuthAppNonNullableFields$1 {
|
|
191
|
-
allowedDomains: string[];
|
|
192
|
-
allowedRedirectUris: string[];
|
|
193
|
-
allowedRedirectDomains: string[];
|
|
194
|
-
applicationType: OAuthAppType$1;
|
|
195
|
-
technology: OAuthTechnologies$1;
|
|
196
|
-
}
|
|
197
|
-
interface CreateOAuthAppResponseNonNullableFields$1 {
|
|
198
|
-
oAuthApp?: OAuthAppNonNullableFields$1;
|
|
199
|
-
}
|
|
200
|
-
interface GetOAuthAppResponseNonNullableFields$1 {
|
|
201
|
-
oAuthApp?: OAuthAppNonNullableFields$1;
|
|
202
|
-
}
|
|
203
|
-
interface UpdateOAuthAppResponseNonNullableFields$1 {
|
|
204
|
-
oAuthApp?: OAuthAppNonNullableFields$1;
|
|
205
|
-
}
|
|
206
|
-
interface QueryOAuthAppsResponseNonNullableFields$1 {
|
|
207
|
-
oAuthApps: OAuthAppNonNullableFields$1[];
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/** An intermediary application that authorizes and authenticates an external client to access data on a Wix project or site. */
|
|
211
|
-
interface OAuthApp {
|
|
212
|
-
/**
|
|
213
|
-
* ID of the OAuth app.
|
|
214
|
-
* @readonly
|
|
215
|
-
*/
|
|
216
|
-
_id?: string | null;
|
|
217
|
-
/**
|
|
218
|
-
* Date and time the OAuth app was created, in ISO 8601 format.
|
|
219
|
-
* @readonly
|
|
220
|
-
*/
|
|
221
|
-
_createdDate?: Date | null;
|
|
222
|
-
/** Display name of the OAuth app, as it appears in the dashboard. */
|
|
223
|
-
name?: string | null;
|
|
224
|
-
/** Description of the OAuth app, as it appears in the dashboard. */
|
|
225
|
-
description?: string | null;
|
|
226
|
-
/**
|
|
227
|
-
* For internal use only.
|
|
228
|
-
* @readonly
|
|
229
|
-
* @deprecated
|
|
230
|
-
*/
|
|
231
|
-
secret?: string | null;
|
|
232
|
-
/** External login URL to which users are redirected automatically to authenticate. If no login URL is specified, the user is redirected to Wix to authenticate. */
|
|
233
|
-
loginUrl?: string | null;
|
|
234
|
-
/**
|
|
235
|
-
* List of URIs to which redirection from Wix is allowed after authentication.
|
|
236
|
-
*
|
|
237
|
-
* When a client redirects a user to Wix for authentication, the client provides a URI to redirect the user back to after the user has been authenticated.
|
|
238
|
-
* Wix only redirects the user if the exact URI is contained in this array.
|
|
239
|
-
*/
|
|
240
|
-
allowedRedirectUris?: string[];
|
|
241
|
-
/**
|
|
242
|
-
* List of domains to which redirection from Wix is allowed after processes other than authentication.
|
|
243
|
-
*
|
|
244
|
-
* When a client redirects a user to a Wix page (for example, for checkout), the client provides a URL to redirect the user back to.
|
|
245
|
-
* Wix only redirects the user if the URL is in one of the specified domains.
|
|
246
|
-
*/
|
|
247
|
-
allowedRedirectDomains?: string[];
|
|
248
|
-
/**
|
|
249
|
-
* Whether a secret can be generated for this OAuth app.
|
|
250
|
-
*
|
|
251
|
-
* Default: `true` until a secret has been generated for the OAuth App.
|
|
252
|
-
*/
|
|
253
|
-
allowSecretGeneration?: boolean | null;
|
|
254
|
-
/** External logout URL to which we invoke when user logout at wix. If no logout URL is specified, the user is logged out only at Wix. */
|
|
255
|
-
logoutUrl?: string | null;
|
|
256
|
-
/** OAuth application type. */
|
|
257
|
-
applicationType?: OAuthAppType;
|
|
258
|
-
/** OAuth technology used by the oauth application. */
|
|
259
|
-
technology?: OAuthTechnologies;
|
|
260
|
-
}
|
|
261
|
-
/** OAuth application type. */
|
|
262
|
-
declare enum OAuthAppType {
|
|
263
|
-
/** OAuth app type is not specified. */
|
|
264
|
-
OAUTH_APP_TYPE_UNSPECIFIED = "OAUTH_APP_TYPE_UNSPECIFIED",
|
|
265
|
-
/** OAuth app type is a web application. */
|
|
266
|
-
WEB_APP = "WEB_APP",
|
|
267
|
-
/** OAuth app type is a mobile application. */
|
|
268
|
-
MOBILE = "MOBILE",
|
|
269
|
-
/** OAuth app type is some other type of application. */
|
|
270
|
-
OTHER = "OTHER"
|
|
271
|
-
}
|
|
272
|
-
/** OAuth technology used by the oauth application. */
|
|
273
|
-
declare enum OAuthTechnologies {
|
|
274
|
-
/** The OAuth technology is not specified. */
|
|
275
|
-
OAUTH_TECHNOLOGY_UNSPECIFIED = "OAUTH_TECHNOLOGY_UNSPECIFIED",
|
|
276
|
-
/** OAuth technology using JavaScript. */
|
|
277
|
-
JAVASCRIPT = "JAVASCRIPT",
|
|
278
|
-
/** OAuth technology using Angular. */
|
|
279
|
-
ANGULAR = "ANGULAR",
|
|
280
|
-
/** OAuth technology using Vue.js. */
|
|
281
|
-
VUE = "VUE",
|
|
282
|
-
/** OAuth technology using React. */
|
|
283
|
-
REACT = "REACT",
|
|
284
|
-
/** OAuth technology using React Native. */
|
|
285
|
-
REACT_NATIVE = "REACT_NATIVE",
|
|
286
|
-
/** OAuth technology using iOS. */
|
|
287
|
-
IOS = "IOS",
|
|
288
|
-
/** OAuth technology using Android. */
|
|
289
|
-
ANDROID = "ANDROID",
|
|
290
|
-
/** OAuth technology using some other kind of technology. */
|
|
291
|
-
OTHER_TECHNOLOGY = "OTHER_TECHNOLOGY"
|
|
292
|
-
}
|
|
293
|
-
interface CreateOAuthAppRequest {
|
|
294
|
-
/** OAuth app to create. */
|
|
295
|
-
oAuthApp: OAuthApp;
|
|
296
|
-
}
|
|
297
|
-
interface CreateOAuthAppResponse {
|
|
298
|
-
/** Created OAuth app info. */
|
|
299
|
-
oAuthApp?: OAuthApp;
|
|
300
|
-
}
|
|
301
|
-
interface GetOAuthAppRequest {
|
|
302
|
-
/** ID of the OAuth app to retrieve. */
|
|
303
|
-
oAuthAppId: string;
|
|
304
|
-
}
|
|
305
|
-
interface GetOAuthAppResponse {
|
|
306
|
-
/** Retrieved OAuth app info. */
|
|
307
|
-
oAuthApp?: OAuthApp;
|
|
308
|
-
}
|
|
309
|
-
interface UpdateOAuthAppRequest {
|
|
310
|
-
/** Updated OAuth app details. May include some or all fields. */
|
|
311
|
-
oAuthApp: OAuthApp;
|
|
312
|
-
}
|
|
313
|
-
interface UpdateOAuthAppResponse {
|
|
314
|
-
/** Updated OAuth app info. */
|
|
315
|
-
oAuthApp?: OAuthApp;
|
|
316
|
-
}
|
|
317
|
-
interface QueryOAuthAppsRequest {
|
|
318
|
-
/** Query options. */
|
|
319
|
-
query?: PlatformQuery;
|
|
320
|
-
}
|
|
321
|
-
interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
|
322
|
-
/** Paging options to limit and skip the number of items. */
|
|
323
|
-
paging?: Paging;
|
|
324
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
325
|
-
cursorPaging?: CursorPaging;
|
|
326
|
-
/**
|
|
327
|
-
* Filter object in the following format:
|
|
328
|
-
* `"filter" : {
|
|
329
|
-
* "fieldName1": "value1",
|
|
330
|
-
* "fieldName2":{"$operator":"value2"}
|
|
331
|
-
* }`
|
|
332
|
-
* Example of operators: `$eq`
|
|
333
|
-
*/
|
|
334
|
-
filter?: Record<string, any> | null;
|
|
335
|
-
/**
|
|
336
|
-
* Sort object in the following format:
|
|
337
|
-
* `[{"fieldName":"name","order":"ASC"},{"fieldName":"created_date","order":"DESC"}]`
|
|
338
|
-
*/
|
|
339
|
-
sort?: Sorting[];
|
|
340
|
-
}
|
|
341
|
-
/** @oneof */
|
|
342
|
-
interface PlatformQueryPagingMethodOneOf {
|
|
343
|
-
/** Paging options to limit and skip the number of items. */
|
|
344
|
-
paging?: Paging;
|
|
345
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
346
|
-
cursorPaging?: CursorPaging;
|
|
347
|
-
}
|
|
348
|
-
interface Sorting {
|
|
349
|
-
/** Name of the field to sort by. */
|
|
350
|
-
fieldName?: string;
|
|
351
|
-
/** Sort order. */
|
|
352
|
-
order?: SortOrder;
|
|
353
|
-
}
|
|
354
|
-
declare enum SortOrder {
|
|
355
|
-
ASC = "ASC",
|
|
356
|
-
DESC = "DESC"
|
|
357
|
-
}
|
|
358
|
-
interface Paging {
|
|
359
|
-
/** Number of items to load. */
|
|
360
|
-
limit?: number | null;
|
|
361
|
-
/** Number of items to skip in the current sort order. */
|
|
362
|
-
offset?: number | null;
|
|
363
|
-
}
|
|
364
|
-
interface CursorPaging {
|
|
365
|
-
/** Maximum number of items to return in the results. */
|
|
366
|
-
limit?: number | null;
|
|
367
|
-
/**
|
|
368
|
-
* Pointer to the next or previous page in the list of results.
|
|
369
|
-
*
|
|
370
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
371
|
-
* Not relevant for the first request.
|
|
372
|
-
*/
|
|
373
|
-
cursor?: string | null;
|
|
374
|
-
}
|
|
375
|
-
interface QueryOAuthAppsResponse {
|
|
376
|
-
/** List of OAuth apps matching the query. */
|
|
377
|
-
oAuthApps?: OAuthApp[];
|
|
378
|
-
/** Paging metadata. */
|
|
379
|
-
pagingMetadata?: PagingMetadataV2;
|
|
380
|
-
}
|
|
381
|
-
interface PagingMetadataV2 {
|
|
382
|
-
/** Number of items returned in the response. */
|
|
383
|
-
count?: number | null;
|
|
384
|
-
/** Offset that was requested. */
|
|
385
|
-
offset?: number | null;
|
|
386
|
-
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
387
|
-
total?: number | null;
|
|
388
|
-
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
389
|
-
tooManyToCount?: boolean | null;
|
|
390
|
-
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
391
|
-
cursors?: Cursors;
|
|
392
|
-
}
|
|
393
|
-
interface Cursors {
|
|
394
|
-
/** Cursor string pointing to the next page in the list of results. */
|
|
395
|
-
next?: string | null;
|
|
396
|
-
/** Cursor pointing to the previous page in the list of results. */
|
|
397
|
-
prev?: string | null;
|
|
398
|
-
}
|
|
399
|
-
interface OAuthAppNonNullableFields {
|
|
400
|
-
allowedDomains: string[];
|
|
401
|
-
allowedRedirectUris: string[];
|
|
402
|
-
allowedRedirectDomains: string[];
|
|
403
|
-
applicationType: OAuthAppType;
|
|
404
|
-
technology: OAuthTechnologies;
|
|
405
|
-
}
|
|
406
|
-
interface CreateOAuthAppResponseNonNullableFields {
|
|
407
|
-
oAuthApp?: OAuthAppNonNullableFields;
|
|
408
|
-
}
|
|
409
|
-
interface GetOAuthAppResponseNonNullableFields {
|
|
410
|
-
oAuthApp?: OAuthAppNonNullableFields;
|
|
411
|
-
}
|
|
412
|
-
interface UpdateOAuthAppResponseNonNullableFields {
|
|
413
|
-
oAuthApp?: OAuthAppNonNullableFields;
|
|
414
|
-
}
|
|
415
|
-
interface QueryOAuthAppsResponseNonNullableFields {
|
|
416
|
-
oAuthApps: OAuthAppNonNullableFields[];
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
420
|
-
getUrl: (context: any) => string;
|
|
421
|
-
httpMethod: K;
|
|
422
|
-
path: string;
|
|
423
|
-
pathParams: M;
|
|
424
|
-
__requestType: T;
|
|
425
|
-
__originalRequestType: S;
|
|
426
|
-
__responseType: Q;
|
|
427
|
-
__originalResponseType: R;
|
|
428
|
-
};
|
|
429
|
-
declare function createOAuthApp(): __PublicMethodMetaInfo<'POST', {}, CreateOAuthAppRequest, CreateOAuthAppRequest$1, CreateOAuthAppResponse & CreateOAuthAppResponseNonNullableFields, CreateOAuthAppResponse$1 & CreateOAuthAppResponseNonNullableFields$1>;
|
|
430
|
-
declare function getOAuthApp(): __PublicMethodMetaInfo<'GET', {
|
|
431
|
-
oAuthAppId: string;
|
|
432
|
-
}, GetOAuthAppRequest, GetOAuthAppRequest$1, GetOAuthAppResponse & GetOAuthAppResponseNonNullableFields, GetOAuthAppResponse$1 & GetOAuthAppResponseNonNullableFields$1>;
|
|
433
|
-
declare function updateOAuthApp(): __PublicMethodMetaInfo<'PATCH', {
|
|
434
|
-
oAuthAppId: string;
|
|
435
|
-
}, UpdateOAuthAppRequest, UpdateOAuthAppRequest$1, UpdateOAuthAppResponse & UpdateOAuthAppResponseNonNullableFields, UpdateOAuthAppResponse$1 & UpdateOAuthAppResponseNonNullableFields$1>;
|
|
436
|
-
declare function queryOAuthApps(): __PublicMethodMetaInfo<'POST', {}, QueryOAuthAppsRequest, QueryOAuthAppsRequest$1, QueryOAuthAppsResponse & QueryOAuthAppsResponseNonNullableFields, QueryOAuthAppsResponse$1 & QueryOAuthAppsResponseNonNullableFields$1>;
|
|
437
|
-
|
|
438
|
-
type meta___PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = __PublicMethodMetaInfo<K, M, T, S, Q, R>;
|
|
439
|
-
declare const meta_createOAuthApp: typeof createOAuthApp;
|
|
440
|
-
declare const meta_getOAuthApp: typeof getOAuthApp;
|
|
441
|
-
declare const meta_queryOAuthApps: typeof queryOAuthApps;
|
|
442
|
-
declare const meta_updateOAuthApp: typeof updateOAuthApp;
|
|
443
|
-
declare namespace meta {
|
|
444
|
-
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_createOAuthApp as createOAuthApp, meta_getOAuthApp as getOAuthApp, meta_queryOAuthApps as queryOAuthApps, meta_updateOAuthApp as updateOAuthApp };
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
export { meta as oAuthApps };
|