@otr-app/shared-backend-generated-client 2.5.102 → 2.5.103
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 +1 -0
- package/dist/angular/api/caseUserController.service.ts +69 -0
- package/dist/angular/model/acceptParticipantInviteRequest.ts +17 -0
- package/dist/angular/model/models.ts +1 -0
- package/dist/otrBackendService.js +37 -0
- package/dist/otrBackendService.min.js +7 -7
- package/dist/typescript/api/CaseUserControllerApi.d.ts +6 -0
- package/dist/typescript/api/CaseUserControllerApi.js +25 -0
- package/dist/typescript/model/AcceptParticipantInviteRequest.d.ts +14 -0
- package/dist/typescript/model/AcceptParticipantInviteRequest.js +12 -0
- package/dist/typescript/model/models.d.ts +1 -0
- package/dist/typescript/model/models.js +1 -0
- package/dist/typescript-fetch/apis/CaseUserControllerApi.d.ts +12 -1
- package/dist/typescript-fetch/apis/CaseUserControllerApi.js +30 -1
- package/dist/typescript-fetch/models/AcceptParticipantInviteRequest.d.ts +27 -0
- package/dist/typescript-fetch/models/AcceptParticipantInviteRequest.js +35 -0
- package/dist/typescript-fetch/models/index.d.ts +1 -0
- package/dist/typescript-fetch/models/index.js +1 -0
- package/dist/typescript-open-api/otr-backend.d.ts +71 -0
- package/package.json +1 -1
|
@@ -17,6 +17,12 @@ export declare class CaseUserControllerApi {
|
|
|
17
17
|
defaultHeaders: any;
|
|
18
18
|
static $inject: string[];
|
|
19
19
|
constructor($http: ng.IHttpService, $httpParamSerializer?: (d: any) => any, basePath?: string);
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @summary acceptParticipantInvite
|
|
23
|
+
* @param request request
|
|
24
|
+
*/
|
|
25
|
+
acceptParticipantInviteUsingPUT(request: models.AcceptParticipantInviteRequest, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
|
|
20
26
|
/**
|
|
21
27
|
*
|
|
22
28
|
* @summary deleteCaseUser
|
|
@@ -20,6 +20,31 @@ export class CaseUserControllerApi {
|
|
|
20
20
|
this.basePath = basePath;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @summary acceptParticipantInvite
|
|
26
|
+
* @param request request
|
|
27
|
+
*/
|
|
28
|
+
acceptParticipantInviteUsingPUT(request, extraHttpRequestParams) {
|
|
29
|
+
const localVarPath = this.basePath + '/api/v1/cases/participants/accept-invite';
|
|
30
|
+
let queryParameters = {};
|
|
31
|
+
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
32
|
+
// verify required parameter 'request' is not null or undefined
|
|
33
|
+
if (request === null || request === undefined) {
|
|
34
|
+
throw new Error('Required parameter request was null or undefined when calling acceptParticipantInviteUsingPUT.');
|
|
35
|
+
}
|
|
36
|
+
let httpRequestParams = {
|
|
37
|
+
method: 'PUT',
|
|
38
|
+
url: localVarPath,
|
|
39
|
+
data: request,
|
|
40
|
+
params: queryParameters,
|
|
41
|
+
headers: headerParams
|
|
42
|
+
};
|
|
43
|
+
if (extraHttpRequestParams) {
|
|
44
|
+
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
45
|
+
}
|
|
46
|
+
return this.$http(httpRequestParams);
|
|
47
|
+
}
|
|
23
48
|
/**
|
|
24
49
|
*
|
|
25
50
|
* @summary deleteCaseUser
|
|
@@ -0,0 +1,14 @@
|
|
|
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 AcceptParticipantInviteRequest {
|
|
13
|
+
"token": string;
|
|
14
|
+
}
|
|
@@ -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 {};
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { GetCaseUsersResponse, InviteCaseParticipantRequest, ListDashboardCaseUsersResponse, SaveCaseUserRequest } from '../models';
|
|
13
|
+
import { AcceptParticipantInviteRequest, GetCaseUsersResponse, InviteCaseParticipantRequest, ListDashboardCaseUsersResponse, SaveCaseUserRequest } from '../models';
|
|
14
|
+
export interface AcceptParticipantInviteUsingPUTRequest {
|
|
15
|
+
request: AcceptParticipantInviteRequest;
|
|
16
|
+
}
|
|
14
17
|
export interface DeleteCaseUserUsingDELETERequest {
|
|
15
18
|
caseId: string;
|
|
16
19
|
caseUsersId: number;
|
|
@@ -35,6 +38,14 @@ export interface SaveCaseUserUsingPOSTRequest {
|
|
|
35
38
|
*
|
|
36
39
|
*/
|
|
37
40
|
export declare class CaseUserControllerApi extends runtime.BaseAPI {
|
|
41
|
+
/**
|
|
42
|
+
* acceptParticipantInvite
|
|
43
|
+
*/
|
|
44
|
+
acceptParticipantInviteUsingPUTRaw(requestParameters: AcceptParticipantInviteUsingPUTRequest): Promise<runtime.ApiResponse<void>>;
|
|
45
|
+
/**
|
|
46
|
+
* acceptParticipantInvite
|
|
47
|
+
*/
|
|
48
|
+
acceptParticipantInviteUsingPUT(requestParameters: AcceptParticipantInviteUsingPUTRequest): Promise<void>;
|
|
38
49
|
/**
|
|
39
50
|
* deleteCaseUser
|
|
40
51
|
*/
|
|
@@ -21,11 +21,40 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { GetCaseUsersResponseFromJSON, InviteCaseParticipantRequestToJSON, ListDashboardCaseUsersResponseFromJSON, SaveCaseUserRequestToJSON, } from '../models';
|
|
24
|
+
import { AcceptParticipantInviteRequestToJSON, GetCaseUsersResponseFromJSON, InviteCaseParticipantRequestToJSON, ListDashboardCaseUsersResponseFromJSON, SaveCaseUserRequestToJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export class CaseUserControllerApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* acceptParticipantInvite
|
|
31
|
+
*/
|
|
32
|
+
acceptParticipantInviteUsingPUTRaw(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
35
|
+
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling acceptParticipantInviteUsingPUT.');
|
|
36
|
+
}
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
+
const response = yield this.request({
|
|
41
|
+
path: `/api/v1/cases/participants/accept-invite`,
|
|
42
|
+
method: 'PUT',
|
|
43
|
+
headers: headerParameters,
|
|
44
|
+
query: queryParameters,
|
|
45
|
+
body: AcceptParticipantInviteRequestToJSON(requestParameters.request),
|
|
46
|
+
});
|
|
47
|
+
return new runtime.VoidApiResponse(response);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* acceptParticipantInvite
|
|
52
|
+
*/
|
|
53
|
+
acceptParticipantInviteUsingPUT(requestParameters) {
|
|
54
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
yield this.acceptParticipantInviteUsingPUTRaw(requestParameters);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
29
58
|
/**
|
|
30
59
|
* deleteCaseUser
|
|
31
60
|
*/
|
|
@@ -0,0 +1,27 @@
|
|
|
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 AcceptParticipantInviteRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AcceptParticipantInviteRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AcceptParticipantInviteRequest
|
|
22
|
+
*/
|
|
23
|
+
token: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function AcceptParticipantInviteRequestFromJSON(json: any): AcceptParticipantInviteRequest;
|
|
26
|
+
export declare function AcceptParticipantInviteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AcceptParticipantInviteRequest;
|
|
27
|
+
export declare function AcceptParticipantInviteRequestToJSON(value?: AcceptParticipantInviteRequest | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
export function AcceptParticipantInviteRequestFromJSON(json) {
|
|
15
|
+
return AcceptParticipantInviteRequestFromJSONTyped(json, false);
|
|
16
|
+
}
|
|
17
|
+
export function AcceptParticipantInviteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'token': json['token'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export function AcceptParticipantInviteRequestToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'token': value.token,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -1283,6 +1283,23 @@ export interface paths {
|
|
|
1283
1283
|
patch?: never;
|
|
1284
1284
|
trace?: never;
|
|
1285
1285
|
};
|
|
1286
|
+
"/api/v1/cases/participants/accept-invite": {
|
|
1287
|
+
parameters: {
|
|
1288
|
+
query?: never;
|
|
1289
|
+
header?: never;
|
|
1290
|
+
path?: never;
|
|
1291
|
+
cookie?: never;
|
|
1292
|
+
};
|
|
1293
|
+
get?: never;
|
|
1294
|
+
/** acceptParticipantInvite */
|
|
1295
|
+
put: operations["acceptParticipantInviteUsingPUT"];
|
|
1296
|
+
post?: never;
|
|
1297
|
+
delete?: never;
|
|
1298
|
+
options?: never;
|
|
1299
|
+
head?: never;
|
|
1300
|
+
patch?: never;
|
|
1301
|
+
trace?: never;
|
|
1302
|
+
};
|
|
1286
1303
|
"/api/v1/cases/{caseId}/participants/invite": {
|
|
1287
1304
|
parameters: {
|
|
1288
1305
|
query?: never;
|
|
@@ -7259,6 +7276,10 @@ export interface components {
|
|
|
7259
7276
|
/** @enum {string} */
|
|
7260
7277
|
paymentPlanType?: AcceptCaseCounterRequestPaymentPlanType;
|
|
7261
7278
|
};
|
|
7279
|
+
/** AcceptParticipantInviteRequest */
|
|
7280
|
+
AcceptParticipantInviteRequest: {
|
|
7281
|
+
token: string;
|
|
7282
|
+
};
|
|
7262
7283
|
/** AccountLevelFee */
|
|
7263
7284
|
AccountLevelFee: {
|
|
7264
7285
|
/** @enum {string} */
|
|
@@ -20810,6 +20831,56 @@ export interface operations {
|
|
|
20810
20831
|
};
|
|
20811
20832
|
};
|
|
20812
20833
|
};
|
|
20834
|
+
acceptParticipantInviteUsingPUT: {
|
|
20835
|
+
parameters: {
|
|
20836
|
+
query?: never;
|
|
20837
|
+
header?: never;
|
|
20838
|
+
path?: never;
|
|
20839
|
+
cookie?: never;
|
|
20840
|
+
};
|
|
20841
|
+
requestBody?: {
|
|
20842
|
+
content: {
|
|
20843
|
+
"application/json": components["schemas"]["AcceptParticipantInviteRequest"];
|
|
20844
|
+
};
|
|
20845
|
+
};
|
|
20846
|
+
responses: {
|
|
20847
|
+
/** @description OK */
|
|
20848
|
+
200: {
|
|
20849
|
+
headers: {
|
|
20850
|
+
[name: string]: unknown;
|
|
20851
|
+
};
|
|
20852
|
+
content?: never;
|
|
20853
|
+
};
|
|
20854
|
+
/** @description Created */
|
|
20855
|
+
201: {
|
|
20856
|
+
headers: {
|
|
20857
|
+
[name: string]: unknown;
|
|
20858
|
+
};
|
|
20859
|
+
content?: never;
|
|
20860
|
+
};
|
|
20861
|
+
/** @description Unauthorized */
|
|
20862
|
+
401: {
|
|
20863
|
+
headers: {
|
|
20864
|
+
[name: string]: unknown;
|
|
20865
|
+
};
|
|
20866
|
+
content?: never;
|
|
20867
|
+
};
|
|
20868
|
+
/** @description Forbidden */
|
|
20869
|
+
403: {
|
|
20870
|
+
headers: {
|
|
20871
|
+
[name: string]: unknown;
|
|
20872
|
+
};
|
|
20873
|
+
content?: never;
|
|
20874
|
+
};
|
|
20875
|
+
/** @description Not Found */
|
|
20876
|
+
404: {
|
|
20877
|
+
headers: {
|
|
20878
|
+
[name: string]: unknown;
|
|
20879
|
+
};
|
|
20880
|
+
content?: never;
|
|
20881
|
+
};
|
|
20882
|
+
};
|
|
20883
|
+
};
|
|
20813
20884
|
inviteCaseParticipantUsingPOST: {
|
|
20814
20885
|
parameters: {
|
|
20815
20886
|
query?: never;
|