@otr-app/shared-backend-generated-client 2.4.53 → 2.4.54
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/dist/angular/.openapi-generator/FILES +2 -0
- package/dist/angular/api/userAccountController.service.ts +76 -0
- package/dist/angular/model/associateOAuthAccountRequest.ts +34 -0
- package/dist/angular/model/associateOAuthAccountResponse.ts +20 -0
- package/dist/angular/model/models.ts +2 -0
- package/dist/angular/model/validateDirectMailResponse.ts +2 -1
- package/dist/otrBackendService.js +45 -0
- package/dist/otrBackendService.min.js +2 -2
- package/dist/typescript/api/UserAccountControllerApi.d.ts +7 -0
- package/dist/typescript/api/UserAccountControllerApi.js +31 -0
- package/dist/typescript/model/AssociateOAuthAccountRequest.d.ts +29 -0
- package/dist/typescript/model/AssociateOAuthAccountRequest.js +24 -0
- package/dist/typescript/model/AssociateOAuthAccountResponse.d.ts +17 -0
- package/dist/typescript/model/AssociateOAuthAccountResponse.js +12 -0
- package/dist/typescript/model/ValidateDirectMailResponse.d.ts +1 -0
- package/dist/typescript/model/ValidateDirectMailResponse.js +1 -0
- package/dist/typescript/model/models.d.ts +2 -0
- package/dist/typescript/model/models.js +2 -0
- package/dist/typescript-fetch/apis/UserAccountControllerApi.d.ts +13 -1
- package/dist/typescript-fetch/apis/UserAccountControllerApi.js +34 -1
- package/dist/typescript-fetch/models/AssociateOAuthAccountRequest.d.ts +64 -0
- package/dist/typescript-fetch/models/AssociateOAuthAccountRequest.js +58 -0
- package/dist/typescript-fetch/models/AssociateOAuthAccountResponse.d.ts +45 -0
- package/dist/typescript-fetch/models/AssociateOAuthAccountResponse.js +42 -0
- package/dist/typescript-fetch/models/ValidateDirectMailResponse.d.ts +1 -0
- package/dist/typescript-fetch/models/ValidateDirectMailResponse.js +1 -0
- package/dist/typescript-fetch/models/index.d.ts +2 -0
- package/dist/typescript-fetch/models/index.js +2 -0
- package/package.json +1 -1
|
@@ -51,6 +51,37 @@ export class UserAccountControllerApi {
|
|
|
51
51
|
}
|
|
52
52
|
return this.$http(httpRequestParams);
|
|
53
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @summary associateOAuthAccount
|
|
57
|
+
* @param userId userId
|
|
58
|
+
* @param request request
|
|
59
|
+
*/
|
|
60
|
+
associateOAuthAccountUsingPOST(userId, request, extraHttpRequestParams) {
|
|
61
|
+
const localVarPath = this.basePath + '/api/v1/users/{userId}/accounts/associate-oauth'
|
|
62
|
+
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
63
|
+
let queryParameters = {};
|
|
64
|
+
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
65
|
+
// verify required parameter 'userId' is not null or undefined
|
|
66
|
+
if (userId === null || userId === undefined) {
|
|
67
|
+
throw new Error('Required parameter userId was null or undefined when calling associateOAuthAccountUsingPOST.');
|
|
68
|
+
}
|
|
69
|
+
// verify required parameter 'request' is not null or undefined
|
|
70
|
+
if (request === null || request === undefined) {
|
|
71
|
+
throw new Error('Required parameter request was null or undefined when calling associateOAuthAccountUsingPOST.');
|
|
72
|
+
}
|
|
73
|
+
let httpRequestParams = {
|
|
74
|
+
method: 'POST',
|
|
75
|
+
url: localVarPath,
|
|
76
|
+
data: request,
|
|
77
|
+
params: queryParameters,
|
|
78
|
+
headers: headerParams
|
|
79
|
+
};
|
|
80
|
+
if (extraHttpRequestParams) {
|
|
81
|
+
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
82
|
+
}
|
|
83
|
+
return this.$http(httpRequestParams);
|
|
84
|
+
}
|
|
54
85
|
/**
|
|
55
86
|
*
|
|
56
87
|
* @summary removeAdditionalUserHandle
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface AssociateOAuthAccountRequest {
|
|
13
|
+
"authCode"?: string;
|
|
14
|
+
"firstName"?: string;
|
|
15
|
+
"lastName"?: string;
|
|
16
|
+
"loginProvider": AssociateOAuthAccountRequest.LoginProviderEnum;
|
|
17
|
+
"providerToken": string;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace AssociateOAuthAccountRequest {
|
|
20
|
+
enum LoginProviderEnum {
|
|
21
|
+
APPLE,
|
|
22
|
+
EMAIL,
|
|
23
|
+
FACEBOOK,
|
|
24
|
+
GOOGLE,
|
|
25
|
+
PHONE,
|
|
26
|
+
TWITTER,
|
|
27
|
+
UNKNOWN
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export var AssociateOAuthAccountRequest;
|
|
13
|
+
(function (AssociateOAuthAccountRequest) {
|
|
14
|
+
let LoginProviderEnum;
|
|
15
|
+
(function (LoginProviderEnum) {
|
|
16
|
+
LoginProviderEnum[LoginProviderEnum["APPLE"] = 'APPLE'] = "APPLE";
|
|
17
|
+
LoginProviderEnum[LoginProviderEnum["EMAIL"] = 'EMAIL'] = "EMAIL";
|
|
18
|
+
LoginProviderEnum[LoginProviderEnum["FACEBOOK"] = 'FACEBOOK'] = "FACEBOOK";
|
|
19
|
+
LoginProviderEnum[LoginProviderEnum["GOOGLE"] = 'GOOGLE'] = "GOOGLE";
|
|
20
|
+
LoginProviderEnum[LoginProviderEnum["PHONE"] = 'PHONE'] = "PHONE";
|
|
21
|
+
LoginProviderEnum[LoginProviderEnum["TWITTER"] = 'TWITTER'] = "TWITTER";
|
|
22
|
+
LoginProviderEnum[LoginProviderEnum["UNKNOWN"] = 'UNKNOWN'] = "UNKNOWN";
|
|
23
|
+
})(LoginProviderEnum = AssociateOAuthAccountRequest.LoginProviderEnum || (AssociateOAuthAccountRequest.LoginProviderEnum = {}));
|
|
24
|
+
})(AssociateOAuthAccountRequest || (AssociateOAuthAccountRequest = {}));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface AssociateOAuthAccountResponse {
|
|
13
|
+
"emailAddress"?: string;
|
|
14
|
+
"firstName"?: string;
|
|
15
|
+
"lastName"?: string;
|
|
16
|
+
"signedProfilePictureUrl"?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export {};
|
|
@@ -141,6 +141,7 @@ export var ValidateDirectMailResponse;
|
|
|
141
141
|
OtrErrorEnum[OtrErrorEnum["INVALIDRESOLUTIONSTATUS"] = 'INVALID_RESOLUTION_STATUS'] = "INVALIDRESOLUTIONSTATUS";
|
|
142
142
|
OtrErrorEnum[OtrErrorEnum["INVALIDREVIEWCOPY"] = 'INVALID_REVIEW_COPY'] = "INVALIDREVIEWCOPY";
|
|
143
143
|
OtrErrorEnum[OtrErrorEnum["INVALIDROLETYPE"] = 'INVALID_ROLE_TYPE'] = "INVALIDROLETYPE";
|
|
144
|
+
OtrErrorEnum[OtrErrorEnum["INVALIDSOCIALLOGINPROVIDER"] = 'INVALID_SOCIAL_LOGIN_PROVIDER'] = "INVALIDSOCIALLOGINPROVIDER";
|
|
144
145
|
OtrErrorEnum[OtrErrorEnum["INVALIDSTATE"] = 'INVALID_STATE'] = "INVALIDSTATE";
|
|
145
146
|
OtrErrorEnum[OtrErrorEnum["INVALIDSTRIPEACCOUNT"] = 'INVALID_STRIPE_ACCOUNT'] = "INVALIDSTRIPEACCOUNT";
|
|
146
147
|
OtrErrorEnum[OtrErrorEnum["INVALIDSTRIPECHARGEID"] = 'INVALID_STRIPE_CHARGE_ID'] = "INVALIDSTRIPECHARGEID";
|
|
@@ -45,6 +45,8 @@ export * from './AppEventCreateRequest';
|
|
|
45
45
|
export * from './AppearanceAttorneyDomain';
|
|
46
46
|
export * from './AppleLoginRequest';
|
|
47
47
|
export * from './AssignCitationOwnerRequest';
|
|
48
|
+
export * from './AssociateOAuthAccountRequest';
|
|
49
|
+
export * from './AssociateOAuthAccountResponse';
|
|
48
50
|
export * from './Attachment';
|
|
49
51
|
export * from './AuditLog';
|
|
50
52
|
export * from './Author';
|
|
@@ -45,6 +45,8 @@ export * from './AppEventCreateRequest';
|
|
|
45
45
|
export * from './AppearanceAttorneyDomain';
|
|
46
46
|
export * from './AppleLoginRequest';
|
|
47
47
|
export * from './AssignCitationOwnerRequest';
|
|
48
|
+
export * from './AssociateOAuthAccountRequest';
|
|
49
|
+
export * from './AssociateOAuthAccountResponse';
|
|
48
50
|
export * from './Attachment';
|
|
49
51
|
export * from './AuditLog';
|
|
50
52
|
export * from './Author';
|
|
@@ -10,11 +10,15 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { AddExtraAccountRequest } from '../models';
|
|
13
|
+
import { AddExtraAccountRequest, AssociateOAuthAccountRequest, AssociateOAuthAccountResponse } from '../models';
|
|
14
14
|
export interface AddExtraAccountUsingPOSTRequest {
|
|
15
15
|
userId: string;
|
|
16
16
|
request: AddExtraAccountRequest;
|
|
17
17
|
}
|
|
18
|
+
export interface AssociateOAuthAccountUsingPOSTRequest {
|
|
19
|
+
userId: number;
|
|
20
|
+
request: AssociateOAuthAccountRequest;
|
|
21
|
+
}
|
|
18
22
|
export interface RemoveAdditionalUserHandleUsingDELETERequest {
|
|
19
23
|
userHandle: string;
|
|
20
24
|
userId: number;
|
|
@@ -35,6 +39,14 @@ export declare class UserAccountControllerApi extends runtime.BaseAPI {
|
|
|
35
39
|
* addExtraAccount
|
|
36
40
|
*/
|
|
37
41
|
addExtraAccountUsingPOST(requestParameters: AddExtraAccountUsingPOSTRequest): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* associateOAuthAccount
|
|
44
|
+
*/
|
|
45
|
+
associateOAuthAccountUsingPOSTRaw(requestParameters: AssociateOAuthAccountUsingPOSTRequest): Promise<runtime.ApiResponse<AssociateOAuthAccountResponse>>;
|
|
46
|
+
/**
|
|
47
|
+
* associateOAuthAccount
|
|
48
|
+
*/
|
|
49
|
+
associateOAuthAccountUsingPOST(requestParameters: AssociateOAuthAccountUsingPOSTRequest): Promise<AssociateOAuthAccountResponse>;
|
|
38
50
|
/**
|
|
39
51
|
* removeAdditionalUserHandle
|
|
40
52
|
*/
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { AddExtraAccountRequestToJSON, } from '../models';
|
|
24
|
+
import { AddExtraAccountRequestToJSON, AssociateOAuthAccountRequestToJSON, AssociateOAuthAccountResponseFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -58,6 +58,39 @@ export class UserAccountControllerApi extends runtime.BaseAPI {
|
|
|
58
58
|
yield this.addExtraAccountUsingPOSTRaw(requestParameters);
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* associateOAuthAccount
|
|
63
|
+
*/
|
|
64
|
+
associateOAuthAccountUsingPOSTRaw(requestParameters) {
|
|
65
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
66
|
+
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
67
|
+
throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling associateOAuthAccountUsingPOST.');
|
|
68
|
+
}
|
|
69
|
+
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
70
|
+
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling associateOAuthAccountUsingPOST.');
|
|
71
|
+
}
|
|
72
|
+
const queryParameters = {};
|
|
73
|
+
const headerParameters = {};
|
|
74
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
75
|
+
const response = yield this.request({
|
|
76
|
+
path: `/api/v1/users/{userId}/accounts/associate-oauth`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters.userId))),
|
|
77
|
+
method: 'POST',
|
|
78
|
+
headers: headerParameters,
|
|
79
|
+
query: queryParameters,
|
|
80
|
+
body: AssociateOAuthAccountRequestToJSON(requestParameters.request),
|
|
81
|
+
});
|
|
82
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AssociateOAuthAccountResponseFromJSON(jsonValue));
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* associateOAuthAccount
|
|
87
|
+
*/
|
|
88
|
+
associateOAuthAccountUsingPOST(requestParameters) {
|
|
89
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
const response = yield this.associateOAuthAccountUsingPOSTRaw(requestParameters);
|
|
91
|
+
return yield response.value();
|
|
92
|
+
});
|
|
93
|
+
}
|
|
61
94
|
/**
|
|
62
95
|
* removeAdditionalUserHandle
|
|
63
96
|
*/
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AssociateOAuthAccountRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AssociateOAuthAccountRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AssociateOAuthAccountRequest
|
|
22
|
+
*/
|
|
23
|
+
authCode?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AssociateOAuthAccountRequest
|
|
28
|
+
*/
|
|
29
|
+
firstName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AssociateOAuthAccountRequest
|
|
34
|
+
*/
|
|
35
|
+
lastName?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AssociateOAuthAccountRequest
|
|
40
|
+
*/
|
|
41
|
+
loginProvider: AssociateOAuthAccountRequestLoginProviderEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AssociateOAuthAccountRequest
|
|
46
|
+
*/
|
|
47
|
+
providerToken: string;
|
|
48
|
+
}
|
|
49
|
+
export declare function AssociateOAuthAccountRequestFromJSON(json: any): AssociateOAuthAccountRequest;
|
|
50
|
+
export declare function AssociateOAuthAccountRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssociateOAuthAccountRequest;
|
|
51
|
+
export declare function AssociateOAuthAccountRequestToJSON(value?: AssociateOAuthAccountRequest | null): any;
|
|
52
|
+
/**
|
|
53
|
+
* @export
|
|
54
|
+
* @enum {string}
|
|
55
|
+
*/
|
|
56
|
+
export declare enum AssociateOAuthAccountRequestLoginProviderEnum {
|
|
57
|
+
APPLE = "APPLE",
|
|
58
|
+
EMAIL = "EMAIL",
|
|
59
|
+
FACEBOOK = "FACEBOOK",
|
|
60
|
+
GOOGLE = "GOOGLE",
|
|
61
|
+
PHONE = "PHONE",
|
|
62
|
+
TWITTER = "TWITTER",
|
|
63
|
+
UNKNOWN = "UNKNOWN"
|
|
64
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OffTheRecord Rest Service API - Devo
|
|
5
|
+
* A service to handle your traffic tickets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
export function AssociateOAuthAccountRequestFromJSON(json) {
|
|
16
|
+
return AssociateOAuthAccountRequestFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function AssociateOAuthAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'authCode': !exists(json, 'authCode') ? undefined : json['authCode'],
|
|
24
|
+
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
25
|
+
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
26
|
+
'loginProvider': json['loginProvider'],
|
|
27
|
+
'providerToken': json['providerToken'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export function AssociateOAuthAccountRequestToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'authCode': value.authCode,
|
|
39
|
+
'firstName': value.firstName,
|
|
40
|
+
'lastName': value.lastName,
|
|
41
|
+
'loginProvider': value.loginProvider,
|
|
42
|
+
'providerToken': value.providerToken,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
* @enum {string}
|
|
48
|
+
*/
|
|
49
|
+
export var AssociateOAuthAccountRequestLoginProviderEnum;
|
|
50
|
+
(function (AssociateOAuthAccountRequestLoginProviderEnum) {
|
|
51
|
+
AssociateOAuthAccountRequestLoginProviderEnum["APPLE"] = "APPLE";
|
|
52
|
+
AssociateOAuthAccountRequestLoginProviderEnum["EMAIL"] = "EMAIL";
|
|
53
|
+
AssociateOAuthAccountRequestLoginProviderEnum["FACEBOOK"] = "FACEBOOK";
|
|
54
|
+
AssociateOAuthAccountRequestLoginProviderEnum["GOOGLE"] = "GOOGLE";
|
|
55
|
+
AssociateOAuthAccountRequestLoginProviderEnum["PHONE"] = "PHONE";
|
|
56
|
+
AssociateOAuthAccountRequestLoginProviderEnum["TWITTER"] = "TWITTER";
|
|
57
|
+
AssociateOAuthAccountRequestLoginProviderEnum["UNKNOWN"] = "UNKNOWN";
|
|
58
|
+
})(AssociateOAuthAccountRequestLoginProviderEnum || (AssociateOAuthAccountRequestLoginProviderEnum = {}));
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AssociateOAuthAccountResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface AssociateOAuthAccountResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AssociateOAuthAccountResponse
|
|
22
|
+
*/
|
|
23
|
+
emailAddress?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AssociateOAuthAccountResponse
|
|
28
|
+
*/
|
|
29
|
+
firstName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AssociateOAuthAccountResponse
|
|
34
|
+
*/
|
|
35
|
+
lastName?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AssociateOAuthAccountResponse
|
|
40
|
+
*/
|
|
41
|
+
signedProfilePictureUrl?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function AssociateOAuthAccountResponseFromJSON(json: any): AssociateOAuthAccountResponse;
|
|
44
|
+
export declare function AssociateOAuthAccountResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssociateOAuthAccountResponse;
|
|
45
|
+
export declare function AssociateOAuthAccountResponseToJSON(value?: AssociateOAuthAccountResponse | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OffTheRecord Rest Service API - Devo
|
|
5
|
+
* A service to handle your traffic tickets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
export function AssociateOAuthAccountResponseFromJSON(json) {
|
|
16
|
+
return AssociateOAuthAccountResponseFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function AssociateOAuthAccountResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'emailAddress': !exists(json, 'emailAddress') ? undefined : json['emailAddress'],
|
|
24
|
+
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
25
|
+
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
26
|
+
'signedProfilePictureUrl': !exists(json, 'signedProfilePictureUrl') ? undefined : json['signedProfilePictureUrl'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export function AssociateOAuthAccountResponseToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'emailAddress': value.emailAddress,
|
|
38
|
+
'firstName': value.firstName,
|
|
39
|
+
'lastName': value.lastName,
|
|
40
|
+
'signedProfilePictureUrl': value.signedProfilePictureUrl,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -158,6 +158,7 @@ export declare enum ValidateDirectMailResponseOtrErrorEnum {
|
|
|
158
158
|
INVALIDRESOLUTIONSTATUS = "INVALID_RESOLUTION_STATUS",
|
|
159
159
|
INVALIDREVIEWCOPY = "INVALID_REVIEW_COPY",
|
|
160
160
|
INVALIDROLETYPE = "INVALID_ROLE_TYPE",
|
|
161
|
+
INVALIDSOCIALLOGINPROVIDER = "INVALID_SOCIAL_LOGIN_PROVIDER",
|
|
161
162
|
INVALIDSTATE = "INVALID_STATE",
|
|
162
163
|
INVALIDSTRIPEACCOUNT = "INVALID_STRIPE_ACCOUNT",
|
|
163
164
|
INVALIDSTRIPECHARGEID = "INVALID_STRIPE_CHARGE_ID",
|
|
@@ -168,6 +168,7 @@ export var ValidateDirectMailResponseOtrErrorEnum;
|
|
|
168
168
|
ValidateDirectMailResponseOtrErrorEnum["INVALIDRESOLUTIONSTATUS"] = "INVALID_RESOLUTION_STATUS";
|
|
169
169
|
ValidateDirectMailResponseOtrErrorEnum["INVALIDREVIEWCOPY"] = "INVALID_REVIEW_COPY";
|
|
170
170
|
ValidateDirectMailResponseOtrErrorEnum["INVALIDROLETYPE"] = "INVALID_ROLE_TYPE";
|
|
171
|
+
ValidateDirectMailResponseOtrErrorEnum["INVALIDSOCIALLOGINPROVIDER"] = "INVALID_SOCIAL_LOGIN_PROVIDER";
|
|
171
172
|
ValidateDirectMailResponseOtrErrorEnum["INVALIDSTATE"] = "INVALID_STATE";
|
|
172
173
|
ValidateDirectMailResponseOtrErrorEnum["INVALIDSTRIPEACCOUNT"] = "INVALID_STRIPE_ACCOUNT";
|
|
173
174
|
ValidateDirectMailResponseOtrErrorEnum["INVALIDSTRIPECHARGEID"] = "INVALID_STRIPE_CHARGE_ID";
|
|
@@ -45,6 +45,8 @@ export * from './AppEventCreateRequest';
|
|
|
45
45
|
export * from './AppearanceAttorneyDomain';
|
|
46
46
|
export * from './AppleLoginRequest';
|
|
47
47
|
export * from './AssignCitationOwnerRequest';
|
|
48
|
+
export * from './AssociateOAuthAccountRequest';
|
|
49
|
+
export * from './AssociateOAuthAccountResponse';
|
|
48
50
|
export * from './Attachment';
|
|
49
51
|
export * from './AuditLog';
|
|
50
52
|
export * from './Author';
|
|
@@ -45,6 +45,8 @@ export * from './AppEventCreateRequest';
|
|
|
45
45
|
export * from './AppearanceAttorneyDomain';
|
|
46
46
|
export * from './AppleLoginRequest';
|
|
47
47
|
export * from './AssignCitationOwnerRequest';
|
|
48
|
+
export * from './AssociateOAuthAccountRequest';
|
|
49
|
+
export * from './AssociateOAuthAccountResponse';
|
|
48
50
|
export * from './Attachment';
|
|
49
51
|
export * from './AuditLog';
|
|
50
52
|
export * from './Author';
|