@handsondigital/idplugger-promotion 1.0.2 → 1.0.3
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/.openapi-generator/FILES +5 -0
- package/README.md +10 -2
- package/api.ts +308 -0
- package/dist/api.d.ts +200 -0
- package/dist/api.js +243 -0
- package/docs/AuthApi.md +159 -0
- package/docs/AuthLoginByToken200Response.md +26 -0
- package/docs/AuthLoginByTokenRequest.md +22 -0
- package/docs/AuthRefreshTokenRequest.md +20 -0
- package/docs/AuthRequestToken200Response.md +24 -0
- package/docs/AuthRequestTokenRequest.md +20 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -22,6 +22,11 @@ docs/ArticlesUpdate200Response.md
|
|
|
22
22
|
docs/ArticlesUpdate400Response.md
|
|
23
23
|
docs/ArticlesUpdate401Response.md
|
|
24
24
|
docs/AuthApi.md
|
|
25
|
+
docs/AuthLoginByToken200Response.md
|
|
26
|
+
docs/AuthLoginByTokenRequest.md
|
|
27
|
+
docs/AuthRefreshTokenRequest.md
|
|
28
|
+
docs/AuthRequestToken200Response.md
|
|
29
|
+
docs/AuthRequestTokenRequest.md
|
|
25
30
|
docs/Award.md
|
|
26
31
|
docs/Awarded.md
|
|
27
32
|
docs/AwardedsApi.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @handsondigital/idplugger-promotion@1.0.
|
|
1
|
+
## @handsondigital/idplugger-promotion@1.0.3
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @handsondigital/idplugger-promotion@1.0.
|
|
39
|
+
npm install @handsondigital/idplugger-promotion@1.0.3 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -55,6 +55,9 @@ Class | Method | HTTP request | Description
|
|
|
55
55
|
*ArticlesApi* | [**articlesDelete**](docs/ArticlesApi.md#articlesdelete) | **DELETE** /v3/promotion/{promotion_id}/cms/articles/{id} | Exclui uma publicação da promoção
|
|
56
56
|
*ArticlesApi* | [**articlesIndex**](docs/ArticlesApi.md#articlesindex) | **GET** /v3/promotion/{promotion_id}/cms/articles | Lista as publicações cadastradas na promoção
|
|
57
57
|
*ArticlesApi* | [**articlesUpdate**](docs/ArticlesApi.md#articlesupdate) | **PATCH** /v3/promotion/{promotion_id}/cms/articles | Cadastra ou atualiza publicações na promoção
|
|
58
|
+
*AuthApi* | [**authLoginByToken**](docs/AuthApi.md#authloginbytoken) | **POST** /v3/auth/login | Login na API via e-mail e token
|
|
59
|
+
*AuthApi* | [**authRefreshToken**](docs/AuthApi.md#authrefreshtoken) | **POST** /v3/auth/refresh | Renova o do token de autenticação
|
|
60
|
+
*AuthApi* | [**authRequestToken**](docs/AuthApi.md#authrequesttoken) | **POST** /v3/auth/request-token | Solicita envio de token de login por email
|
|
58
61
|
*AuthApi* | [**login**](docs/AuthApi.md#login) | **POST** /v3/login | Login na API
|
|
59
62
|
*AuthApi* | [**me**](docs/AuthApi.md#me) | **GET** /v3/me | Dados na API
|
|
60
63
|
*AwardedsApi* | [**awardedsSearch**](docs/AwardedsApi.md#awardedssearch) | **GET** /v3/promotion/{promotion_id}/awardeds | Busca por usuários cadastrados na promoção ganhadores de sorteios
|
|
@@ -134,6 +137,11 @@ Class | Method | HTTP request | Description
|
|
|
134
137
|
- [ArticlesUpdate200Response](docs/ArticlesUpdate200Response.md)
|
|
135
138
|
- [ArticlesUpdate400Response](docs/ArticlesUpdate400Response.md)
|
|
136
139
|
- [ArticlesUpdate401Response](docs/ArticlesUpdate401Response.md)
|
|
140
|
+
- [AuthLoginByToken200Response](docs/AuthLoginByToken200Response.md)
|
|
141
|
+
- [AuthLoginByTokenRequest](docs/AuthLoginByTokenRequest.md)
|
|
142
|
+
- [AuthRefreshTokenRequest](docs/AuthRefreshTokenRequest.md)
|
|
143
|
+
- [AuthRequestToken200Response](docs/AuthRequestToken200Response.md)
|
|
144
|
+
- [AuthRequestTokenRequest](docs/AuthRequestTokenRequest.md)
|
|
137
145
|
- [Award](docs/Award.md)
|
|
138
146
|
- [Awarded](docs/Awarded.md)
|
|
139
147
|
- [AwardedsSearch200Response](docs/AwardedsSearch200Response.md)
|
package/api.ts
CHANGED
|
@@ -553,6 +553,107 @@ export interface ArticlesUpdate401Response {
|
|
|
553
553
|
*/
|
|
554
554
|
'message'?: string;
|
|
555
555
|
}
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @export
|
|
559
|
+
* @interface AuthLoginByToken200Response
|
|
560
|
+
*/
|
|
561
|
+
export interface AuthLoginByToken200Response {
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @type {string}
|
|
565
|
+
* @memberof AuthLoginByToken200Response
|
|
566
|
+
*/
|
|
567
|
+
'token'?: string;
|
|
568
|
+
/**
|
|
569
|
+
*
|
|
570
|
+
* @type {string}
|
|
571
|
+
* @memberof AuthLoginByToken200Response
|
|
572
|
+
*/
|
|
573
|
+
'refresh_token'?: string;
|
|
574
|
+
/**
|
|
575
|
+
*
|
|
576
|
+
* @type {string}
|
|
577
|
+
* @memberof AuthLoginByToken200Response
|
|
578
|
+
*/
|
|
579
|
+
'token_type'?: string;
|
|
580
|
+
/**
|
|
581
|
+
*
|
|
582
|
+
* @type {string}
|
|
583
|
+
* @memberof AuthLoginByToken200Response
|
|
584
|
+
*/
|
|
585
|
+
'expires_in'?: string;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
*
|
|
589
|
+
* @export
|
|
590
|
+
* @interface AuthLoginByTokenRequest
|
|
591
|
+
*/
|
|
592
|
+
export interface AuthLoginByTokenRequest {
|
|
593
|
+
/**
|
|
594
|
+
*
|
|
595
|
+
* @type {string}
|
|
596
|
+
* @memberof AuthLoginByTokenRequest
|
|
597
|
+
*/
|
|
598
|
+
'email'?: string;
|
|
599
|
+
/**
|
|
600
|
+
*
|
|
601
|
+
* @type {string}
|
|
602
|
+
* @memberof AuthLoginByTokenRequest
|
|
603
|
+
*/
|
|
604
|
+
'token'?: string;
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @export
|
|
609
|
+
* @interface AuthRefreshTokenRequest
|
|
610
|
+
*/
|
|
611
|
+
export interface AuthRefreshTokenRequest {
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @type {string}
|
|
615
|
+
* @memberof AuthRefreshTokenRequest
|
|
616
|
+
*/
|
|
617
|
+
'refresh_token'?: string;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
*
|
|
621
|
+
* @export
|
|
622
|
+
* @interface AuthRequestToken200Response
|
|
623
|
+
*/
|
|
624
|
+
export interface AuthRequestToken200Response {
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
* @type {string}
|
|
628
|
+
* @memberof AuthRequestToken200Response
|
|
629
|
+
*/
|
|
630
|
+
'entity'?: string;
|
|
631
|
+
/**
|
|
632
|
+
*
|
|
633
|
+
* @type {string}
|
|
634
|
+
* @memberof AuthRequestToken200Response
|
|
635
|
+
*/
|
|
636
|
+
'action'?: string;
|
|
637
|
+
/**
|
|
638
|
+
*
|
|
639
|
+
* @type {string}
|
|
640
|
+
* @memberof AuthRequestToken200Response
|
|
641
|
+
*/
|
|
642
|
+
'message'?: string;
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
*
|
|
646
|
+
* @export
|
|
647
|
+
* @interface AuthRequestTokenRequest
|
|
648
|
+
*/
|
|
649
|
+
export interface AuthRequestTokenRequest {
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @type {string}
|
|
653
|
+
* @memberof AuthRequestTokenRequest
|
|
654
|
+
*/
|
|
655
|
+
'email'?: string;
|
|
656
|
+
}
|
|
556
657
|
/**
|
|
557
658
|
*
|
|
558
659
|
* @export
|
|
@@ -8253,6 +8354,108 @@ export class ArticlesApi extends BaseAPI {
|
|
|
8253
8354
|
*/
|
|
8254
8355
|
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8255
8356
|
return {
|
|
8357
|
+
/**
|
|
8358
|
+
*
|
|
8359
|
+
* @summary Login na API via e-mail e token
|
|
8360
|
+
* @param {AuthLoginByTokenRequest} [authLoginByTokenRequest]
|
|
8361
|
+
* @param {*} [options] Override http request option.
|
|
8362
|
+
* @throws {RequiredError}
|
|
8363
|
+
*/
|
|
8364
|
+
authLoginByToken: async (authLoginByTokenRequest?: AuthLoginByTokenRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8365
|
+
const localVarPath = `/v3/auth/login`;
|
|
8366
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8367
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8368
|
+
let baseOptions;
|
|
8369
|
+
if (configuration) {
|
|
8370
|
+
baseOptions = configuration.baseOptions;
|
|
8371
|
+
}
|
|
8372
|
+
|
|
8373
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8374
|
+
const localVarHeaderParameter = {} as any;
|
|
8375
|
+
const localVarQueryParameter = {} as any;
|
|
8376
|
+
|
|
8377
|
+
|
|
8378
|
+
|
|
8379
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8380
|
+
|
|
8381
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8382
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8383
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8384
|
+
localVarRequestOptions.data = serializeDataIfNeeded(authLoginByTokenRequest, localVarRequestOptions, configuration)
|
|
8385
|
+
|
|
8386
|
+
return {
|
|
8387
|
+
url: toPathString(localVarUrlObj),
|
|
8388
|
+
options: localVarRequestOptions,
|
|
8389
|
+
};
|
|
8390
|
+
},
|
|
8391
|
+
/**
|
|
8392
|
+
*
|
|
8393
|
+
* @summary Renova o do token de autenticação
|
|
8394
|
+
* @param {AuthRefreshTokenRequest} [authRefreshTokenRequest]
|
|
8395
|
+
* @param {*} [options] Override http request option.
|
|
8396
|
+
* @throws {RequiredError}
|
|
8397
|
+
*/
|
|
8398
|
+
authRefreshToken: async (authRefreshTokenRequest?: AuthRefreshTokenRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8399
|
+
const localVarPath = `/v3/auth/refresh`;
|
|
8400
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8401
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8402
|
+
let baseOptions;
|
|
8403
|
+
if (configuration) {
|
|
8404
|
+
baseOptions = configuration.baseOptions;
|
|
8405
|
+
}
|
|
8406
|
+
|
|
8407
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8408
|
+
const localVarHeaderParameter = {} as any;
|
|
8409
|
+
const localVarQueryParameter = {} as any;
|
|
8410
|
+
|
|
8411
|
+
|
|
8412
|
+
|
|
8413
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8414
|
+
|
|
8415
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8416
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8417
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8418
|
+
localVarRequestOptions.data = serializeDataIfNeeded(authRefreshTokenRequest, localVarRequestOptions, configuration)
|
|
8419
|
+
|
|
8420
|
+
return {
|
|
8421
|
+
url: toPathString(localVarUrlObj),
|
|
8422
|
+
options: localVarRequestOptions,
|
|
8423
|
+
};
|
|
8424
|
+
},
|
|
8425
|
+
/**
|
|
8426
|
+
*
|
|
8427
|
+
* @summary Solicita envio de token de login por email
|
|
8428
|
+
* @param {AuthRequestTokenRequest} [authRequestTokenRequest]
|
|
8429
|
+
* @param {*} [options] Override http request option.
|
|
8430
|
+
* @throws {RequiredError}
|
|
8431
|
+
*/
|
|
8432
|
+
authRequestToken: async (authRequestTokenRequest?: AuthRequestTokenRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8433
|
+
const localVarPath = `/v3/auth/request-token`;
|
|
8434
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8435
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8436
|
+
let baseOptions;
|
|
8437
|
+
if (configuration) {
|
|
8438
|
+
baseOptions = configuration.baseOptions;
|
|
8439
|
+
}
|
|
8440
|
+
|
|
8441
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8442
|
+
const localVarHeaderParameter = {} as any;
|
|
8443
|
+
const localVarQueryParameter = {} as any;
|
|
8444
|
+
|
|
8445
|
+
|
|
8446
|
+
|
|
8447
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8448
|
+
|
|
8449
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8450
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8451
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8452
|
+
localVarRequestOptions.data = serializeDataIfNeeded(authRequestTokenRequest, localVarRequestOptions, configuration)
|
|
8453
|
+
|
|
8454
|
+
return {
|
|
8455
|
+
url: toPathString(localVarUrlObj),
|
|
8456
|
+
options: localVarRequestOptions,
|
|
8457
|
+
};
|
|
8458
|
+
},
|
|
8256
8459
|
/**
|
|
8257
8460
|
*
|
|
8258
8461
|
* @summary Login na API
|
|
@@ -8331,6 +8534,45 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8331
8534
|
export const AuthApiFp = function(configuration?: Configuration) {
|
|
8332
8535
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
8333
8536
|
return {
|
|
8537
|
+
/**
|
|
8538
|
+
*
|
|
8539
|
+
* @summary Login na API via e-mail e token
|
|
8540
|
+
* @param {AuthLoginByTokenRequest} [authLoginByTokenRequest]
|
|
8541
|
+
* @param {*} [options] Override http request option.
|
|
8542
|
+
* @throws {RequiredError}
|
|
8543
|
+
*/
|
|
8544
|
+
async authLoginByToken(authLoginByTokenRequest?: AuthLoginByTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthLoginByToken200Response>> {
|
|
8545
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authLoginByToken(authLoginByTokenRequest, options);
|
|
8546
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8547
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authLoginByToken']?.[localVarOperationServerIndex]?.url;
|
|
8548
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8549
|
+
},
|
|
8550
|
+
/**
|
|
8551
|
+
*
|
|
8552
|
+
* @summary Renova o do token de autenticação
|
|
8553
|
+
* @param {AuthRefreshTokenRequest} [authRefreshTokenRequest]
|
|
8554
|
+
* @param {*} [options] Override http request option.
|
|
8555
|
+
* @throws {RequiredError}
|
|
8556
|
+
*/
|
|
8557
|
+
async authRefreshToken(authRefreshTokenRequest?: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthLoginByToken200Response>> {
|
|
8558
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authRefreshToken(authRefreshTokenRequest, options);
|
|
8559
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8560
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authRefreshToken']?.[localVarOperationServerIndex]?.url;
|
|
8561
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8562
|
+
},
|
|
8563
|
+
/**
|
|
8564
|
+
*
|
|
8565
|
+
* @summary Solicita envio de token de login por email
|
|
8566
|
+
* @param {AuthRequestTokenRequest} [authRequestTokenRequest]
|
|
8567
|
+
* @param {*} [options] Override http request option.
|
|
8568
|
+
* @throws {RequiredError}
|
|
8569
|
+
*/
|
|
8570
|
+
async authRequestToken(authRequestTokenRequest?: AuthRequestTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRequestToken200Response>> {
|
|
8571
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authRequestToken(authRequestTokenRequest, options);
|
|
8572
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8573
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authRequestToken']?.[localVarOperationServerIndex]?.url;
|
|
8574
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8575
|
+
},
|
|
8334
8576
|
/**
|
|
8335
8577
|
*
|
|
8336
8578
|
* @summary Login na API
|
|
@@ -8366,6 +8608,36 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
8366
8608
|
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
8367
8609
|
const localVarFp = AuthApiFp(configuration)
|
|
8368
8610
|
return {
|
|
8611
|
+
/**
|
|
8612
|
+
*
|
|
8613
|
+
* @summary Login na API via e-mail e token
|
|
8614
|
+
* @param {AuthLoginByTokenRequest} [authLoginByTokenRequest]
|
|
8615
|
+
* @param {*} [options] Override http request option.
|
|
8616
|
+
* @throws {RequiredError}
|
|
8617
|
+
*/
|
|
8618
|
+
authLoginByToken(authLoginByTokenRequest?: AuthLoginByTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLoginByToken200Response> {
|
|
8619
|
+
return localVarFp.authLoginByToken(authLoginByTokenRequest, options).then((request) => request(axios, basePath));
|
|
8620
|
+
},
|
|
8621
|
+
/**
|
|
8622
|
+
*
|
|
8623
|
+
* @summary Renova o do token de autenticação
|
|
8624
|
+
* @param {AuthRefreshTokenRequest} [authRefreshTokenRequest]
|
|
8625
|
+
* @param {*} [options] Override http request option.
|
|
8626
|
+
* @throws {RequiredError}
|
|
8627
|
+
*/
|
|
8628
|
+
authRefreshToken(authRefreshTokenRequest?: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLoginByToken200Response> {
|
|
8629
|
+
return localVarFp.authRefreshToken(authRefreshTokenRequest, options).then((request) => request(axios, basePath));
|
|
8630
|
+
},
|
|
8631
|
+
/**
|
|
8632
|
+
*
|
|
8633
|
+
* @summary Solicita envio de token de login por email
|
|
8634
|
+
* @param {AuthRequestTokenRequest} [authRequestTokenRequest]
|
|
8635
|
+
* @param {*} [options] Override http request option.
|
|
8636
|
+
* @throws {RequiredError}
|
|
8637
|
+
*/
|
|
8638
|
+
authRequestToken(authRequestTokenRequest?: AuthRequestTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRequestToken200Response> {
|
|
8639
|
+
return localVarFp.authRequestToken(authRequestTokenRequest, options).then((request) => request(axios, basePath));
|
|
8640
|
+
},
|
|
8369
8641
|
/**
|
|
8370
8642
|
*
|
|
8371
8643
|
* @summary Login na API
|
|
@@ -8395,6 +8667,42 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
8395
8667
|
* @extends {BaseAPI}
|
|
8396
8668
|
*/
|
|
8397
8669
|
export class AuthApi extends BaseAPI {
|
|
8670
|
+
/**
|
|
8671
|
+
*
|
|
8672
|
+
* @summary Login na API via e-mail e token
|
|
8673
|
+
* @param {AuthLoginByTokenRequest} [authLoginByTokenRequest]
|
|
8674
|
+
* @param {*} [options] Override http request option.
|
|
8675
|
+
* @throws {RequiredError}
|
|
8676
|
+
* @memberof AuthApi
|
|
8677
|
+
*/
|
|
8678
|
+
public authLoginByToken(authLoginByTokenRequest?: AuthLoginByTokenRequest, options?: RawAxiosRequestConfig) {
|
|
8679
|
+
return AuthApiFp(this.configuration).authLoginByToken(authLoginByTokenRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8680
|
+
}
|
|
8681
|
+
|
|
8682
|
+
/**
|
|
8683
|
+
*
|
|
8684
|
+
* @summary Renova o do token de autenticação
|
|
8685
|
+
* @param {AuthRefreshTokenRequest} [authRefreshTokenRequest]
|
|
8686
|
+
* @param {*} [options] Override http request option.
|
|
8687
|
+
* @throws {RequiredError}
|
|
8688
|
+
* @memberof AuthApi
|
|
8689
|
+
*/
|
|
8690
|
+
public authRefreshToken(authRefreshTokenRequest?: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig) {
|
|
8691
|
+
return AuthApiFp(this.configuration).authRefreshToken(authRefreshTokenRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8692
|
+
}
|
|
8693
|
+
|
|
8694
|
+
/**
|
|
8695
|
+
*
|
|
8696
|
+
* @summary Solicita envio de token de login por email
|
|
8697
|
+
* @param {AuthRequestTokenRequest} [authRequestTokenRequest]
|
|
8698
|
+
* @param {*} [options] Override http request option.
|
|
8699
|
+
* @throws {RequiredError}
|
|
8700
|
+
* @memberof AuthApi
|
|
8701
|
+
*/
|
|
8702
|
+
public authRequestToken(authRequestTokenRequest?: AuthRequestTokenRequest, options?: RawAxiosRequestConfig) {
|
|
8703
|
+
return AuthApiFp(this.configuration).authRequestToken(authRequestTokenRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8704
|
+
}
|
|
8705
|
+
|
|
8398
8706
|
/**
|
|
8399
8707
|
*
|
|
8400
8708
|
* @summary Login na API
|
package/dist/api.d.ts
CHANGED
|
@@ -540,6 +540,107 @@ export interface ArticlesUpdate401Response {
|
|
|
540
540
|
*/
|
|
541
541
|
'message'?: string;
|
|
542
542
|
}
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @export
|
|
546
|
+
* @interface AuthLoginByToken200Response
|
|
547
|
+
*/
|
|
548
|
+
export interface AuthLoginByToken200Response {
|
|
549
|
+
/**
|
|
550
|
+
*
|
|
551
|
+
* @type {string}
|
|
552
|
+
* @memberof AuthLoginByToken200Response
|
|
553
|
+
*/
|
|
554
|
+
'token'?: string;
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @type {string}
|
|
558
|
+
* @memberof AuthLoginByToken200Response
|
|
559
|
+
*/
|
|
560
|
+
'refresh_token'?: string;
|
|
561
|
+
/**
|
|
562
|
+
*
|
|
563
|
+
* @type {string}
|
|
564
|
+
* @memberof AuthLoginByToken200Response
|
|
565
|
+
*/
|
|
566
|
+
'token_type'?: string;
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @type {string}
|
|
570
|
+
* @memberof AuthLoginByToken200Response
|
|
571
|
+
*/
|
|
572
|
+
'expires_in'?: string;
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
*
|
|
576
|
+
* @export
|
|
577
|
+
* @interface AuthLoginByTokenRequest
|
|
578
|
+
*/
|
|
579
|
+
export interface AuthLoginByTokenRequest {
|
|
580
|
+
/**
|
|
581
|
+
*
|
|
582
|
+
* @type {string}
|
|
583
|
+
* @memberof AuthLoginByTokenRequest
|
|
584
|
+
*/
|
|
585
|
+
'email'?: string;
|
|
586
|
+
/**
|
|
587
|
+
*
|
|
588
|
+
* @type {string}
|
|
589
|
+
* @memberof AuthLoginByTokenRequest
|
|
590
|
+
*/
|
|
591
|
+
'token'?: string;
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
*
|
|
595
|
+
* @export
|
|
596
|
+
* @interface AuthRefreshTokenRequest
|
|
597
|
+
*/
|
|
598
|
+
export interface AuthRefreshTokenRequest {
|
|
599
|
+
/**
|
|
600
|
+
*
|
|
601
|
+
* @type {string}
|
|
602
|
+
* @memberof AuthRefreshTokenRequest
|
|
603
|
+
*/
|
|
604
|
+
'refresh_token'?: string;
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @export
|
|
609
|
+
* @interface AuthRequestToken200Response
|
|
610
|
+
*/
|
|
611
|
+
export interface AuthRequestToken200Response {
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @type {string}
|
|
615
|
+
* @memberof AuthRequestToken200Response
|
|
616
|
+
*/
|
|
617
|
+
'entity'?: string;
|
|
618
|
+
/**
|
|
619
|
+
*
|
|
620
|
+
* @type {string}
|
|
621
|
+
* @memberof AuthRequestToken200Response
|
|
622
|
+
*/
|
|
623
|
+
'action'?: string;
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @type {string}
|
|
627
|
+
* @memberof AuthRequestToken200Response
|
|
628
|
+
*/
|
|
629
|
+
'message'?: string;
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
*
|
|
633
|
+
* @export
|
|
634
|
+
* @interface AuthRequestTokenRequest
|
|
635
|
+
*/
|
|
636
|
+
export interface AuthRequestTokenRequest {
|
|
637
|
+
/**
|
|
638
|
+
*
|
|
639
|
+
* @type {string}
|
|
640
|
+
* @memberof AuthRequestTokenRequest
|
|
641
|
+
*/
|
|
642
|
+
'email'?: string;
|
|
643
|
+
}
|
|
543
644
|
/**
|
|
544
645
|
*
|
|
545
646
|
* @export
|
|
@@ -8004,6 +8105,30 @@ export declare class ArticlesApi extends BaseAPI {
|
|
|
8004
8105
|
* @export
|
|
8005
8106
|
*/
|
|
8006
8107
|
export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
8108
|
+
/**
|
|
8109
|
+
*
|
|
8110
|
+
* @summary Login na API via e-mail e token
|
|
8111
|
+
* @param {AuthLoginByTokenRequest} [authLoginByTokenRequest]
|
|
8112
|
+
* @param {*} [options] Override http request option.
|
|
8113
|
+
* @throws {RequiredError}
|
|
8114
|
+
*/
|
|
8115
|
+
authLoginByToken: (authLoginByTokenRequest?: AuthLoginByTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8116
|
+
/**
|
|
8117
|
+
*
|
|
8118
|
+
* @summary Renova o do token de autenticação
|
|
8119
|
+
* @param {AuthRefreshTokenRequest} [authRefreshTokenRequest]
|
|
8120
|
+
* @param {*} [options] Override http request option.
|
|
8121
|
+
* @throws {RequiredError}
|
|
8122
|
+
*/
|
|
8123
|
+
authRefreshToken: (authRefreshTokenRequest?: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8124
|
+
/**
|
|
8125
|
+
*
|
|
8126
|
+
* @summary Solicita envio de token de login por email
|
|
8127
|
+
* @param {AuthRequestTokenRequest} [authRequestTokenRequest]
|
|
8128
|
+
* @param {*} [options] Override http request option.
|
|
8129
|
+
* @throws {RequiredError}
|
|
8130
|
+
*/
|
|
8131
|
+
authRequestToken: (authRequestTokenRequest?: AuthRequestTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8007
8132
|
/**
|
|
8008
8133
|
*
|
|
8009
8134
|
* @summary Login na API
|
|
@@ -8025,6 +8150,30 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
8025
8150
|
* @export
|
|
8026
8151
|
*/
|
|
8027
8152
|
export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
8153
|
+
/**
|
|
8154
|
+
*
|
|
8155
|
+
* @summary Login na API via e-mail e token
|
|
8156
|
+
* @param {AuthLoginByTokenRequest} [authLoginByTokenRequest]
|
|
8157
|
+
* @param {*} [options] Override http request option.
|
|
8158
|
+
* @throws {RequiredError}
|
|
8159
|
+
*/
|
|
8160
|
+
authLoginByToken(authLoginByTokenRequest?: AuthLoginByTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthLoginByToken200Response>>;
|
|
8161
|
+
/**
|
|
8162
|
+
*
|
|
8163
|
+
* @summary Renova o do token de autenticação
|
|
8164
|
+
* @param {AuthRefreshTokenRequest} [authRefreshTokenRequest]
|
|
8165
|
+
* @param {*} [options] Override http request option.
|
|
8166
|
+
* @throws {RequiredError}
|
|
8167
|
+
*/
|
|
8168
|
+
authRefreshToken(authRefreshTokenRequest?: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthLoginByToken200Response>>;
|
|
8169
|
+
/**
|
|
8170
|
+
*
|
|
8171
|
+
* @summary Solicita envio de token de login por email
|
|
8172
|
+
* @param {AuthRequestTokenRequest} [authRequestTokenRequest]
|
|
8173
|
+
* @param {*} [options] Override http request option.
|
|
8174
|
+
* @throws {RequiredError}
|
|
8175
|
+
*/
|
|
8176
|
+
authRequestToken(authRequestTokenRequest?: AuthRequestTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthRequestToken200Response>>;
|
|
8028
8177
|
/**
|
|
8029
8178
|
*
|
|
8030
8179
|
* @summary Login na API
|
|
@@ -8046,6 +8195,30 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
8046
8195
|
* @export
|
|
8047
8196
|
*/
|
|
8048
8197
|
export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
8198
|
+
/**
|
|
8199
|
+
*
|
|
8200
|
+
* @summary Login na API via e-mail e token
|
|
8201
|
+
* @param {AuthLoginByTokenRequest} [authLoginByTokenRequest]
|
|
8202
|
+
* @param {*} [options] Override http request option.
|
|
8203
|
+
* @throws {RequiredError}
|
|
8204
|
+
*/
|
|
8205
|
+
authLoginByToken(authLoginByTokenRequest?: AuthLoginByTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLoginByToken200Response>;
|
|
8206
|
+
/**
|
|
8207
|
+
*
|
|
8208
|
+
* @summary Renova o do token de autenticação
|
|
8209
|
+
* @param {AuthRefreshTokenRequest} [authRefreshTokenRequest]
|
|
8210
|
+
* @param {*} [options] Override http request option.
|
|
8211
|
+
* @throws {RequiredError}
|
|
8212
|
+
*/
|
|
8213
|
+
authRefreshToken(authRefreshTokenRequest?: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthLoginByToken200Response>;
|
|
8214
|
+
/**
|
|
8215
|
+
*
|
|
8216
|
+
* @summary Solicita envio de token de login por email
|
|
8217
|
+
* @param {AuthRequestTokenRequest} [authRequestTokenRequest]
|
|
8218
|
+
* @param {*} [options] Override http request option.
|
|
8219
|
+
* @throws {RequiredError}
|
|
8220
|
+
*/
|
|
8221
|
+
authRequestToken(authRequestTokenRequest?: AuthRequestTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthRequestToken200Response>;
|
|
8049
8222
|
/**
|
|
8050
8223
|
*
|
|
8051
8224
|
* @summary Login na API
|
|
@@ -8069,6 +8242,33 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
8069
8242
|
* @extends {BaseAPI}
|
|
8070
8243
|
*/
|
|
8071
8244
|
export declare class AuthApi extends BaseAPI {
|
|
8245
|
+
/**
|
|
8246
|
+
*
|
|
8247
|
+
* @summary Login na API via e-mail e token
|
|
8248
|
+
* @param {AuthLoginByTokenRequest} [authLoginByTokenRequest]
|
|
8249
|
+
* @param {*} [options] Override http request option.
|
|
8250
|
+
* @throws {RequiredError}
|
|
8251
|
+
* @memberof AuthApi
|
|
8252
|
+
*/
|
|
8253
|
+
authLoginByToken(authLoginByTokenRequest?: AuthLoginByTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthLoginByToken200Response, any>>;
|
|
8254
|
+
/**
|
|
8255
|
+
*
|
|
8256
|
+
* @summary Renova o do token de autenticação
|
|
8257
|
+
* @param {AuthRefreshTokenRequest} [authRefreshTokenRequest]
|
|
8258
|
+
* @param {*} [options] Override http request option.
|
|
8259
|
+
* @throws {RequiredError}
|
|
8260
|
+
* @memberof AuthApi
|
|
8261
|
+
*/
|
|
8262
|
+
authRefreshToken(authRefreshTokenRequest?: AuthRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthLoginByToken200Response, any>>;
|
|
8263
|
+
/**
|
|
8264
|
+
*
|
|
8265
|
+
* @summary Solicita envio de token de login por email
|
|
8266
|
+
* @param {AuthRequestTokenRequest} [authRequestTokenRequest]
|
|
8267
|
+
* @param {*} [options] Override http request option.
|
|
8268
|
+
* @throws {RequiredError}
|
|
8269
|
+
* @memberof AuthApi
|
|
8270
|
+
*/
|
|
8271
|
+
authRequestToken(authRequestTokenRequest?: AuthRequestTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthRequestToken200Response, any>>;
|
|
8072
8272
|
/**
|
|
8073
8273
|
*
|
|
8074
8274
|
* @summary Login na API
|
package/dist/api.js
CHANGED
|
@@ -635,6 +635,114 @@ exports.ArticlesApi = ArticlesApi;
|
|
|
635
635
|
var AuthApiAxiosParamCreator = function (configuration) {
|
|
636
636
|
var _this = this;
|
|
637
637
|
return {
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @summary Login na API via e-mail e token
|
|
641
|
+
* @param {AuthLoginByTokenRequest} [authLoginByTokenRequest]
|
|
642
|
+
* @param {*} [options] Override http request option.
|
|
643
|
+
* @throws {RequiredError}
|
|
644
|
+
*/
|
|
645
|
+
authLoginByToken: function (authLoginByTokenRequest_1) {
|
|
646
|
+
var args_1 = [];
|
|
647
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
648
|
+
args_1[_i - 1] = arguments[_i];
|
|
649
|
+
}
|
|
650
|
+
return __awaiter(_this, __spreadArray([authLoginByTokenRequest_1], args_1, true), void 0, function (authLoginByTokenRequest, options) {
|
|
651
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
652
|
+
if (options === void 0) { options = {}; }
|
|
653
|
+
return __generator(this, function (_a) {
|
|
654
|
+
localVarPath = "/v3/auth/login";
|
|
655
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
656
|
+
if (configuration) {
|
|
657
|
+
baseOptions = configuration.baseOptions;
|
|
658
|
+
}
|
|
659
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
660
|
+
localVarHeaderParameter = {};
|
|
661
|
+
localVarQueryParameter = {};
|
|
662
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
663
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
664
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
665
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
666
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authLoginByTokenRequest, localVarRequestOptions, configuration);
|
|
667
|
+
return [2 /*return*/, {
|
|
668
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
669
|
+
options: localVarRequestOptions,
|
|
670
|
+
}];
|
|
671
|
+
});
|
|
672
|
+
});
|
|
673
|
+
},
|
|
674
|
+
/**
|
|
675
|
+
*
|
|
676
|
+
* @summary Renova o do token de autenticação
|
|
677
|
+
* @param {AuthRefreshTokenRequest} [authRefreshTokenRequest]
|
|
678
|
+
* @param {*} [options] Override http request option.
|
|
679
|
+
* @throws {RequiredError}
|
|
680
|
+
*/
|
|
681
|
+
authRefreshToken: function (authRefreshTokenRequest_1) {
|
|
682
|
+
var args_1 = [];
|
|
683
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
684
|
+
args_1[_i - 1] = arguments[_i];
|
|
685
|
+
}
|
|
686
|
+
return __awaiter(_this, __spreadArray([authRefreshTokenRequest_1], args_1, true), void 0, function (authRefreshTokenRequest, options) {
|
|
687
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
688
|
+
if (options === void 0) { options = {}; }
|
|
689
|
+
return __generator(this, function (_a) {
|
|
690
|
+
localVarPath = "/v3/auth/refresh";
|
|
691
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
692
|
+
if (configuration) {
|
|
693
|
+
baseOptions = configuration.baseOptions;
|
|
694
|
+
}
|
|
695
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
696
|
+
localVarHeaderParameter = {};
|
|
697
|
+
localVarQueryParameter = {};
|
|
698
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
699
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
700
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
701
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
702
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authRefreshTokenRequest, localVarRequestOptions, configuration);
|
|
703
|
+
return [2 /*return*/, {
|
|
704
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
705
|
+
options: localVarRequestOptions,
|
|
706
|
+
}];
|
|
707
|
+
});
|
|
708
|
+
});
|
|
709
|
+
},
|
|
710
|
+
/**
|
|
711
|
+
*
|
|
712
|
+
* @summary Solicita envio de token de login por email
|
|
713
|
+
* @param {AuthRequestTokenRequest} [authRequestTokenRequest]
|
|
714
|
+
* @param {*} [options] Override http request option.
|
|
715
|
+
* @throws {RequiredError}
|
|
716
|
+
*/
|
|
717
|
+
authRequestToken: function (authRequestTokenRequest_1) {
|
|
718
|
+
var args_1 = [];
|
|
719
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
720
|
+
args_1[_i - 1] = arguments[_i];
|
|
721
|
+
}
|
|
722
|
+
return __awaiter(_this, __spreadArray([authRequestTokenRequest_1], args_1, true), void 0, function (authRequestTokenRequest, options) {
|
|
723
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
724
|
+
if (options === void 0) { options = {}; }
|
|
725
|
+
return __generator(this, function (_a) {
|
|
726
|
+
localVarPath = "/v3/auth/request-token";
|
|
727
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
728
|
+
if (configuration) {
|
|
729
|
+
baseOptions = configuration.baseOptions;
|
|
730
|
+
}
|
|
731
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
732
|
+
localVarHeaderParameter = {};
|
|
733
|
+
localVarQueryParameter = {};
|
|
734
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
735
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
736
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
737
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
738
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authRequestTokenRequest, localVarRequestOptions, configuration);
|
|
739
|
+
return [2 /*return*/, {
|
|
740
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
741
|
+
options: localVarRequestOptions,
|
|
742
|
+
}];
|
|
743
|
+
});
|
|
744
|
+
});
|
|
745
|
+
},
|
|
638
746
|
/**
|
|
639
747
|
*
|
|
640
748
|
* @summary Login na API
|
|
@@ -724,6 +832,75 @@ exports.AuthApiAxiosParamCreator = AuthApiAxiosParamCreator;
|
|
|
724
832
|
var AuthApiFp = function (configuration) {
|
|
725
833
|
var localVarAxiosParamCreator = (0, exports.AuthApiAxiosParamCreator)(configuration);
|
|
726
834
|
return {
|
|
835
|
+
/**
|
|
836
|
+
*
|
|
837
|
+
* @summary Login na API via e-mail e token
|
|
838
|
+
* @param {AuthLoginByTokenRequest} [authLoginByTokenRequest]
|
|
839
|
+
* @param {*} [options] Override http request option.
|
|
840
|
+
* @throws {RequiredError}
|
|
841
|
+
*/
|
|
842
|
+
authLoginByToken: function (authLoginByTokenRequest, options) {
|
|
843
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
844
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
845
|
+
var _a, _b, _c;
|
|
846
|
+
return __generator(this, function (_d) {
|
|
847
|
+
switch (_d.label) {
|
|
848
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.authLoginByToken(authLoginByTokenRequest, options)];
|
|
849
|
+
case 1:
|
|
850
|
+
localVarAxiosArgs = _d.sent();
|
|
851
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
852
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.authLoginByToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
853
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
854
|
+
}
|
|
855
|
+
});
|
|
856
|
+
});
|
|
857
|
+
},
|
|
858
|
+
/**
|
|
859
|
+
*
|
|
860
|
+
* @summary Renova o do token de autenticação
|
|
861
|
+
* @param {AuthRefreshTokenRequest} [authRefreshTokenRequest]
|
|
862
|
+
* @param {*} [options] Override http request option.
|
|
863
|
+
* @throws {RequiredError}
|
|
864
|
+
*/
|
|
865
|
+
authRefreshToken: function (authRefreshTokenRequest, options) {
|
|
866
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
867
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
868
|
+
var _a, _b, _c;
|
|
869
|
+
return __generator(this, function (_d) {
|
|
870
|
+
switch (_d.label) {
|
|
871
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.authRefreshToken(authRefreshTokenRequest, options)];
|
|
872
|
+
case 1:
|
|
873
|
+
localVarAxiosArgs = _d.sent();
|
|
874
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
875
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.authRefreshToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
876
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
877
|
+
}
|
|
878
|
+
});
|
|
879
|
+
});
|
|
880
|
+
},
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @summary Solicita envio de token de login por email
|
|
884
|
+
* @param {AuthRequestTokenRequest} [authRequestTokenRequest]
|
|
885
|
+
* @param {*} [options] Override http request option.
|
|
886
|
+
* @throws {RequiredError}
|
|
887
|
+
*/
|
|
888
|
+
authRequestToken: function (authRequestTokenRequest, options) {
|
|
889
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
890
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
891
|
+
var _a, _b, _c;
|
|
892
|
+
return __generator(this, function (_d) {
|
|
893
|
+
switch (_d.label) {
|
|
894
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.authRequestToken(authRequestTokenRequest, options)];
|
|
895
|
+
case 1:
|
|
896
|
+
localVarAxiosArgs = _d.sent();
|
|
897
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
898
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthApi.authRequestToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
899
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
900
|
+
}
|
|
901
|
+
});
|
|
902
|
+
});
|
|
903
|
+
},
|
|
727
904
|
/**
|
|
728
905
|
*
|
|
729
906
|
* @summary Login na API
|
|
@@ -779,6 +956,36 @@ exports.AuthApiFp = AuthApiFp;
|
|
|
779
956
|
var AuthApiFactory = function (configuration, basePath, axios) {
|
|
780
957
|
var localVarFp = (0, exports.AuthApiFp)(configuration);
|
|
781
958
|
return {
|
|
959
|
+
/**
|
|
960
|
+
*
|
|
961
|
+
* @summary Login na API via e-mail e token
|
|
962
|
+
* @param {AuthLoginByTokenRequest} [authLoginByTokenRequest]
|
|
963
|
+
* @param {*} [options] Override http request option.
|
|
964
|
+
* @throws {RequiredError}
|
|
965
|
+
*/
|
|
966
|
+
authLoginByToken: function (authLoginByTokenRequest, options) {
|
|
967
|
+
return localVarFp.authLoginByToken(authLoginByTokenRequest, options).then(function (request) { return request(axios, basePath); });
|
|
968
|
+
},
|
|
969
|
+
/**
|
|
970
|
+
*
|
|
971
|
+
* @summary Renova o do token de autenticação
|
|
972
|
+
* @param {AuthRefreshTokenRequest} [authRefreshTokenRequest]
|
|
973
|
+
* @param {*} [options] Override http request option.
|
|
974
|
+
* @throws {RequiredError}
|
|
975
|
+
*/
|
|
976
|
+
authRefreshToken: function (authRefreshTokenRequest, options) {
|
|
977
|
+
return localVarFp.authRefreshToken(authRefreshTokenRequest, options).then(function (request) { return request(axios, basePath); });
|
|
978
|
+
},
|
|
979
|
+
/**
|
|
980
|
+
*
|
|
981
|
+
* @summary Solicita envio de token de login por email
|
|
982
|
+
* @param {AuthRequestTokenRequest} [authRequestTokenRequest]
|
|
983
|
+
* @param {*} [options] Override http request option.
|
|
984
|
+
* @throws {RequiredError}
|
|
985
|
+
*/
|
|
986
|
+
authRequestToken: function (authRequestTokenRequest, options) {
|
|
987
|
+
return localVarFp.authRequestToken(authRequestTokenRequest, options).then(function (request) { return request(axios, basePath); });
|
|
988
|
+
},
|
|
782
989
|
/**
|
|
783
990
|
*
|
|
784
991
|
* @summary Login na API
|
|
@@ -812,6 +1019,42 @@ var AuthApi = /** @class */ (function (_super) {
|
|
|
812
1019
|
function AuthApi() {
|
|
813
1020
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
814
1021
|
}
|
|
1022
|
+
/**
|
|
1023
|
+
*
|
|
1024
|
+
* @summary Login na API via e-mail e token
|
|
1025
|
+
* @param {AuthLoginByTokenRequest} [authLoginByTokenRequest]
|
|
1026
|
+
* @param {*} [options] Override http request option.
|
|
1027
|
+
* @throws {RequiredError}
|
|
1028
|
+
* @memberof AuthApi
|
|
1029
|
+
*/
|
|
1030
|
+
AuthApi.prototype.authLoginByToken = function (authLoginByTokenRequest, options) {
|
|
1031
|
+
var _this = this;
|
|
1032
|
+
return (0, exports.AuthApiFp)(this.configuration).authLoginByToken(authLoginByTokenRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1033
|
+
};
|
|
1034
|
+
/**
|
|
1035
|
+
*
|
|
1036
|
+
* @summary Renova o do token de autenticação
|
|
1037
|
+
* @param {AuthRefreshTokenRequest} [authRefreshTokenRequest]
|
|
1038
|
+
* @param {*} [options] Override http request option.
|
|
1039
|
+
* @throws {RequiredError}
|
|
1040
|
+
* @memberof AuthApi
|
|
1041
|
+
*/
|
|
1042
|
+
AuthApi.prototype.authRefreshToken = function (authRefreshTokenRequest, options) {
|
|
1043
|
+
var _this = this;
|
|
1044
|
+
return (0, exports.AuthApiFp)(this.configuration).authRefreshToken(authRefreshTokenRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1045
|
+
};
|
|
1046
|
+
/**
|
|
1047
|
+
*
|
|
1048
|
+
* @summary Solicita envio de token de login por email
|
|
1049
|
+
* @param {AuthRequestTokenRequest} [authRequestTokenRequest]
|
|
1050
|
+
* @param {*} [options] Override http request option.
|
|
1051
|
+
* @throws {RequiredError}
|
|
1052
|
+
* @memberof AuthApi
|
|
1053
|
+
*/
|
|
1054
|
+
AuthApi.prototype.authRequestToken = function (authRequestTokenRequest, options) {
|
|
1055
|
+
var _this = this;
|
|
1056
|
+
return (0, exports.AuthApiFp)(this.configuration).authRequestToken(authRequestTokenRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1057
|
+
};
|
|
815
1058
|
/**
|
|
816
1059
|
*
|
|
817
1060
|
* @summary Login na API
|
package/docs/AuthApi.md
CHANGED
|
@@ -4,9 +4,168 @@ All URIs are relative to *http://localhost*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**authLoginByToken**](#authloginbytoken) | **POST** /v3/auth/login | Login na API via e-mail e token|
|
|
8
|
+
|[**authRefreshToken**](#authrefreshtoken) | **POST** /v3/auth/refresh | Renova o do token de autenticação|
|
|
9
|
+
|[**authRequestToken**](#authrequesttoken) | **POST** /v3/auth/request-token | Solicita envio de token de login por email|
|
|
7
10
|
|[**login**](#login) | **POST** /v3/login | Login na API|
|
|
8
11
|
|[**me**](#me) | **GET** /v3/me | Dados na API|
|
|
9
12
|
|
|
13
|
+
# **authLoginByToken**
|
|
14
|
+
> AuthLoginByToken200Response authLoginByToken()
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
AuthApi,
|
|
22
|
+
Configuration,
|
|
23
|
+
AuthLoginByTokenRequest
|
|
24
|
+
} from '@handsondigital/idplugger-promotion';
|
|
25
|
+
|
|
26
|
+
const configuration = new Configuration();
|
|
27
|
+
const apiInstance = new AuthApi(configuration);
|
|
28
|
+
|
|
29
|
+
let authLoginByTokenRequest: AuthLoginByTokenRequest; // (optional)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.authLoginByToken(
|
|
32
|
+
authLoginByTokenRequest
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
|Name | Type | Description | Notes|
|
|
39
|
+
|------------- | ------------- | ------------- | -------------|
|
|
40
|
+
| **authLoginByTokenRequest** | **AuthLoginByTokenRequest**| | |
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Return type
|
|
44
|
+
|
|
45
|
+
**AuthLoginByToken200Response**
|
|
46
|
+
|
|
47
|
+
### Authorization
|
|
48
|
+
|
|
49
|
+
No authorization required
|
|
50
|
+
|
|
51
|
+
### HTTP request headers
|
|
52
|
+
|
|
53
|
+
- **Content-Type**: application/json
|
|
54
|
+
- **Accept**: application/json
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### HTTP response details
|
|
58
|
+
| Status code | Description | Response headers |
|
|
59
|
+
|-------------|-------------|------------------|
|
|
60
|
+
|**200** | success | - |
|
|
61
|
+
|**401** | failed | - |
|
|
62
|
+
|
|
63
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
64
|
+
|
|
65
|
+
# **authRefreshToken**
|
|
66
|
+
> AuthLoginByToken200Response authRefreshToken()
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Example
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import {
|
|
73
|
+
AuthApi,
|
|
74
|
+
Configuration,
|
|
75
|
+
AuthRefreshTokenRequest
|
|
76
|
+
} from '@handsondigital/idplugger-promotion';
|
|
77
|
+
|
|
78
|
+
const configuration = new Configuration();
|
|
79
|
+
const apiInstance = new AuthApi(configuration);
|
|
80
|
+
|
|
81
|
+
let authRefreshTokenRequest: AuthRefreshTokenRequest; // (optional)
|
|
82
|
+
|
|
83
|
+
const { status, data } = await apiInstance.authRefreshToken(
|
|
84
|
+
authRefreshTokenRequest
|
|
85
|
+
);
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Parameters
|
|
89
|
+
|
|
90
|
+
|Name | Type | Description | Notes|
|
|
91
|
+
|------------- | ------------- | ------------- | -------------|
|
|
92
|
+
| **authRefreshTokenRequest** | **AuthRefreshTokenRequest**| | |
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Return type
|
|
96
|
+
|
|
97
|
+
**AuthLoginByToken200Response**
|
|
98
|
+
|
|
99
|
+
### Authorization
|
|
100
|
+
|
|
101
|
+
No authorization required
|
|
102
|
+
|
|
103
|
+
### HTTP request headers
|
|
104
|
+
|
|
105
|
+
- **Content-Type**: application/json
|
|
106
|
+
- **Accept**: application/json
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### HTTP response details
|
|
110
|
+
| Status code | Description | Response headers |
|
|
111
|
+
|-------------|-------------|------------------|
|
|
112
|
+
|**200** | success | - |
|
|
113
|
+
|**401** | failed | - |
|
|
114
|
+
|
|
115
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
116
|
+
|
|
117
|
+
# **authRequestToken**
|
|
118
|
+
> AuthRequestToken200Response authRequestToken()
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
### Example
|
|
122
|
+
|
|
123
|
+
```typescript
|
|
124
|
+
import {
|
|
125
|
+
AuthApi,
|
|
126
|
+
Configuration,
|
|
127
|
+
AuthRequestTokenRequest
|
|
128
|
+
} from '@handsondigital/idplugger-promotion';
|
|
129
|
+
|
|
130
|
+
const configuration = new Configuration();
|
|
131
|
+
const apiInstance = new AuthApi(configuration);
|
|
132
|
+
|
|
133
|
+
let authRequestTokenRequest: AuthRequestTokenRequest; // (optional)
|
|
134
|
+
|
|
135
|
+
const { status, data } = await apiInstance.authRequestToken(
|
|
136
|
+
authRequestTokenRequest
|
|
137
|
+
);
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Parameters
|
|
141
|
+
|
|
142
|
+
|Name | Type | Description | Notes|
|
|
143
|
+
|------------- | ------------- | ------------- | -------------|
|
|
144
|
+
| **authRequestTokenRequest** | **AuthRequestTokenRequest**| | |
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### Return type
|
|
148
|
+
|
|
149
|
+
**AuthRequestToken200Response**
|
|
150
|
+
|
|
151
|
+
### Authorization
|
|
152
|
+
|
|
153
|
+
No authorization required
|
|
154
|
+
|
|
155
|
+
### HTTP request headers
|
|
156
|
+
|
|
157
|
+
- **Content-Type**: application/json
|
|
158
|
+
- **Accept**: application/json
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### HTTP response details
|
|
162
|
+
| Status code | Description | Response headers |
|
|
163
|
+
|-------------|-------------|------------------|
|
|
164
|
+
|**200** | success | - |
|
|
165
|
+
|**401** | failed | - |
|
|
166
|
+
|
|
167
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
168
|
+
|
|
10
169
|
# **login**
|
|
11
170
|
> Login200Response login()
|
|
12
171
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# AuthLoginByToken200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**token** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**refresh_token** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**token_type** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**expires_in** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { AuthLoginByToken200Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: AuthLoginByToken200Response = {
|
|
19
|
+
token,
|
|
20
|
+
refresh_token,
|
|
21
|
+
token_type,
|
|
22
|
+
expires_in,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# AuthLoginByTokenRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**token** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AuthLoginByTokenRequest } from '@handsondigital/idplugger-promotion';
|
|
15
|
+
|
|
16
|
+
const instance: AuthLoginByTokenRequest = {
|
|
17
|
+
email,
|
|
18
|
+
token,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# AuthRefreshTokenRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**refresh_token** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { AuthRefreshTokenRequest } from '@handsondigital/idplugger-promotion';
|
|
14
|
+
|
|
15
|
+
const instance: AuthRefreshTokenRequest = {
|
|
16
|
+
refresh_token,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# AuthRequestToken200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { AuthRequestToken200Response } from '@handsondigital/idplugger-promotion';
|
|
16
|
+
|
|
17
|
+
const instance: AuthRequestToken200Response = {
|
|
18
|
+
entity,
|
|
19
|
+
action,
|
|
20
|
+
message,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# AuthRequestTokenRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { AuthRequestTokenRequest } from '@handsondigital/idplugger-promotion';
|
|
14
|
+
|
|
15
|
+
const instance: AuthRequestTokenRequest = {
|
|
16
|
+
email,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|