@otr-app/shared-backend-generated-client 2.4.26 → 2.4.27
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/typescript-fetch/apis/AuditLawfirmEventsControllerApi.d.ts +24 -0
- package/dist/typescript-fetch/apis/AuditLawfirmEventsControllerApi.js +24 -0
- package/dist/typescript-fetch/apis/CaseControllerApi.d.ts +1 -0
- package/dist/typescript-fetch/apis/CaseControllerApi.js +3 -0
- package/dist/typescript-fetch/apis/CaseCounterOfferControllerApi.d.ts +12 -0
- package/dist/typescript-fetch/apis/CaseCounterOfferControllerApi.js +30 -0
- package/dist/typescript-fetch/apis/CitationAuditControllerApi.d.ts +24 -0
- package/dist/typescript-fetch/apis/CitationAuditControllerApi.js +24 -0
- package/dist/typescript-fetch/apis/CitationControllerApi.d.ts +12 -1
- package/dist/typescript-fetch/apis/CitationControllerApi.js +31 -1
- package/dist/typescript-fetch/apis/ConsoleListControllerApi.d.ts +2 -2
- package/dist/typescript-fetch/apis/ConsoleListControllerApi.js +2 -2
- package/dist/typescript-fetch/apis/ContactLoopWebhookControllerApi.d.ts +28 -0
- package/dist/typescript-fetch/apis/ContactLoopWebhookControllerApi.js +58 -0
- package/dist/typescript-fetch/apis/DashboardControllerApi.d.ts +5 -0
- package/dist/typescript-fetch/apis/DashboardControllerApi.js +15 -0
- package/dist/typescript-fetch/apis/IntercomTicketControllerApi.d.ts +42 -0
- package/dist/typescript-fetch/apis/IntercomTicketControllerApi.js +97 -0
- package/dist/typescript-fetch/apis/LawfirmControllerApi.d.ts +63 -11
- package/dist/typescript-fetch/apis/LawfirmControllerApi.js +122 -10
- package/dist/typescript-fetch/apis/LawfirmSurchargeControllerApi.d.ts +1 -0
- package/dist/typescript-fetch/apis/LawfirmSurchargeControllerApi.js +1 -0
- package/dist/typescript-fetch/apis/RecurringBillingControllerApi.d.ts +1 -0
- package/dist/typescript-fetch/apis/RecurringBillingControllerApi.js +3 -0
- package/dist/typescript-fetch/apis/UserAuditControllerApi.d.ts +26 -0
- package/dist/typescript-fetch/apis/UserAuditControllerApi.js +26 -0
- package/dist/typescript-fetch/apis/UserControllerApi.d.ts +23 -0
- package/dist/typescript-fetch/apis/UserControllerApi.js +59 -0
- package/dist/typescript-fetch/apis/UserPasswordControllerApi.d.ts +5 -2
- package/dist/typescript-fetch/apis/UserPasswordControllerApi.js +9 -6
- package/dist/typescript-fetch/apis/UserProfileControllerApi.d.ts +3 -3
- package/dist/typescript-fetch/apis/UserProfileControllerApi.js +4 -3
- package/dist/typescript-fetch/apis/UserSearchControllerApi.d.ts +7 -7
- package/dist/typescript-fetch/apis/UserSearchControllerApi.js +9 -9
- package/dist/typescript-fetch/apis/UserSocialProfileControllerApi.d.ts +54 -0
- package/dist/typescript-fetch/apis/UserSocialProfileControllerApi.js +107 -0
- package/dist/typescript-fetch/apis/index.d.ts +3 -0
- package/dist/typescript-fetch/apis/index.js +3 -0
- package/dist/typescript-fetch/models/AddExtraAccountRequest.d.ts +6 -0
- package/dist/typescript-fetch/models/AddExtraAccountRequest.js +2 -0
- package/dist/typescript-fetch/models/Admin.d.ts +39 -0
- package/dist/typescript-fetch/models/Admin.js +40 -0
- package/dist/typescript-fetch/models/AnonymousTicketUploadModel.d.ts +6 -0
- package/dist/typescript-fetch/models/AnonymousTicketUploadModel.js +2 -0
- package/dist/typescript-fetch/models/Attachment.d.ts +33 -0
- package/dist/typescript-fetch/models/Attachment.js +38 -0
- package/dist/typescript-fetch/models/Author.d.ts +45 -0
- package/dist/typescript-fetch/models/Author.js +42 -0
- package/dist/typescript-fetch/models/BillingPriceModel.d.ts +12 -0
- package/dist/typescript-fetch/models/BillingPriceModel.js +4 -0
- package/dist/typescript-fetch/models/CaseLineItemDomainReq.d.ts +1 -0
- package/dist/typescript-fetch/models/CaseLineItemDomainReq.js +1 -0
- package/dist/typescript-fetch/models/CaseLineItemDomainRes.d.ts +1 -0
- package/dist/typescript-fetch/models/CaseLineItemDomainRes.js +1 -0
- package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.d.ts +63 -0
- package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.js +65 -0
- package/dist/typescript-fetch/models/CasePaymentModel.d.ts +7 -0
- package/dist/typescript-fetch/models/CasePaymentModel.js +3 -0
- package/dist/typescript-fetch/models/CitationAuditEventModel.d.ts +14 -0
- package/dist/typescript-fetch/models/CitationAuditEventModel.js +14 -0
- package/dist/typescript-fetch/models/CitationModel.d.ts +2 -0
- package/dist/typescript-fetch/models/CitationModel.js +2 -0
- package/dist/typescript-fetch/models/CitationModelReq.d.ts +2 -0
- package/dist/typescript-fetch/models/CitationModelReq.js +2 -0
- package/dist/typescript-fetch/models/CitationModelRes.d.ts +2 -0
- package/dist/typescript-fetch/models/CitationModelRes.js +2 -0
- package/dist/typescript-fetch/models/Contact.d.ts +39 -0
- package/dist/typescript-fetch/models/Contact.js +40 -0
- package/dist/typescript-fetch/models/ContactList.d.ts +34 -0
- package/dist/typescript-fetch/models/ContactList.js +39 -0
- package/dist/typescript-fetch/models/CreateBillingSubscriptionRequest.d.ts +7 -0
- package/dist/typescript-fetch/models/CreateBillingSubscriptionRequest.js +3 -0
- package/dist/typescript-fetch/models/CreateCitationRequest.d.ts +2 -0
- package/dist/typescript-fetch/models/CreateCitationRequest.js +2 -0
- package/dist/typescript-fetch/models/CreateLawfirmModel.d.ts +14 -10
- package/dist/typescript-fetch/models/CreateLawfirmModel.js +13 -9
- package/dist/typescript-fetch/models/DashboardCitationModel.d.ts +6 -0
- package/dist/typescript-fetch/models/DashboardCitationModel.js +2 -0
- package/dist/typescript-fetch/models/FirstContactReply.d.ts +39 -0
- package/dist/typescript-fetch/models/FirstContactReply.js +40 -0
- package/dist/typescript-fetch/models/GetCasesWithMissingLawfirmPayoutsRequest.d.ts +27 -0
- package/dist/typescript-fetch/models/GetCasesWithMissingLawfirmPayoutsRequest.js +36 -0
- package/dist/typescript-fetch/models/GetCasesWithUncapturedChargesRequest.d.ts +6 -0
- package/dist/typescript-fetch/models/GetCasesWithUncapturedChargesRequest.js +2 -0
- package/dist/typescript-fetch/models/GetLawfirmCaseStatsResponse.d.ts +6 -0
- package/dist/typescript-fetch/models/GetLawfirmCaseStatsResponse.js +2 -0
- package/dist/typescript-fetch/models/GetLawfirmModel.d.ts +20 -10
- package/dist/typescript-fetch/models/GetLawfirmModel.js +15 -9
- package/dist/typescript-fetch/models/GetLineItemTypesResponse.d.ts +1 -0
- package/dist/typescript-fetch/models/GetLineItemTypesResponse.js +1 -0
- package/dist/typescript-fetch/models/GetSupportTicketsResponse.d.ts +7 -1
- package/dist/typescript-fetch/models/GetSupportTicketsResponse.js +3 -1
- package/dist/typescript-fetch/models/GetUserByEmailRequest.d.ts +27 -0
- package/dist/typescript-fetch/models/GetUserByEmailRequest.js +36 -0
- package/dist/typescript-fetch/models/GetUserByEmailResponse.d.ts +33 -0
- package/dist/typescript-fetch/models/GetUserByEmailResponse.js +38 -0
- package/dist/typescript-fetch/models/GetUserRegistrationsRequest.d.ts +8 -0
- package/dist/typescript-fetch/models/GetUserRegistrationsRequest.js +2 -0
- package/dist/typescript-fetch/models/GetUserRegistrationsResponse.d.ts +3 -3
- package/dist/typescript-fetch/models/GetUserRegistrationsResponse.js +3 -3
- package/dist/typescript-fetch/models/GhostUser.d.ts +2 -0
- package/dist/typescript-fetch/models/GhostUser.js +2 -0
- package/dist/typescript-fetch/models/IntercomConversationResponse.d.ts +178 -0
- package/dist/typescript-fetch/models/IntercomConversationResponse.js +87 -0
- package/dist/typescript-fetch/models/IntercomCreateTicketResponse.d.ts +136 -0
- package/dist/typescript-fetch/models/IntercomCreateTicketResponse.js +73 -0
- package/dist/typescript-fetch/models/IntercomNext.d.ts +33 -0
- package/dist/typescript-fetch/models/IntercomNext.js +38 -0
- package/dist/typescript-fetch/models/IntercomPages.d.ts +52 -0
- package/dist/typescript-fetch/models/IntercomPages.js +45 -0
- package/dist/typescript-fetch/models/IntercomSearchConversationsResponse.d.ts +40 -0
- package/dist/typescript-fetch/models/IntercomSearchConversationsResponse.js +41 -0
- package/dist/typescript-fetch/models/IntercomSearchTicketsResponse.d.ts +34 -0
- package/dist/typescript-fetch/models/IntercomSearchTicketsResponse.js +39 -0
- package/dist/typescript-fetch/models/IntercomTicketAttributes.d.ts +33 -0
- package/dist/typescript-fetch/models/IntercomTicketAttributes.js +38 -0
- package/dist/typescript-fetch/models/LastLoginDateModel.d.ts +2 -0
- package/dist/typescript-fetch/models/LastLoginDateModel.js +2 -0
- package/dist/typescript-fetch/models/LawfirmAuditEventModel.d.ts +14 -0
- package/dist/typescript-fetch/models/LawfirmAuditEventModel.js +14 -0
- package/dist/typescript-fetch/models/LawfirmLeadDomain.d.ts +32 -10
- package/dist/typescript-fetch/models/LawfirmLeadDomain.js +28 -9
- package/dist/typescript-fetch/models/LawfirmStorefrontModel.d.ts +14 -10
- package/dist/typescript-fetch/models/LawfirmStorefrontModel.js +13 -9
- package/dist/typescript-fetch/models/LineItem.d.ts +1 -0
- package/dist/typescript-fetch/models/LineItem.js +1 -0
- package/dist/typescript-fetch/models/LineItemModel.d.ts +1 -0
- package/dist/typescript-fetch/models/LineItemModel.js +1 -0
- package/dist/typescript-fetch/models/LineItemRequest.d.ts +1 -0
- package/dist/typescript-fetch/models/LineItemRequest.js +1 -0
- package/dist/typescript-fetch/models/LinkedObjects.d.ts +33 -0
- package/dist/typescript-fetch/models/LinkedObjects.js +38 -0
- package/dist/typescript-fetch/models/ListLawfirmSurchargeModel.d.ts +1 -0
- package/dist/typescript-fetch/models/ListLawfirmSurchargeModel.js +1 -0
- package/dist/typescript-fetch/models/ListPhoneCallsModel.d.ts +30 -0
- package/dist/typescript-fetch/models/ListPhoneCallsModel.js +10 -0
- package/dist/typescript-fetch/models/MatchCaseLineItemModel.d.ts +1 -0
- package/dist/typescript-fetch/models/MatchCaseLineItemModel.js +1 -0
- package/dist/typescript-fetch/models/NewUserResponse.d.ts +6 -0
- package/dist/typescript-fetch/models/NewUserResponse.js +2 -0
- package/dist/typescript-fetch/models/PersistTicketEvaluationRequest.d.ts +6 -0
- package/dist/typescript-fetch/models/PersistTicketEvaluationRequest.js +2 -0
- package/dist/typescript-fetch/models/PhoneNumberDomain.d.ts +6 -0
- package/dist/typescript-fetch/models/PhoneNumberDomain.js +2 -0
- package/dist/typescript-fetch/models/PhoneNumberDomainReq.d.ts +6 -0
- package/dist/typescript-fetch/models/PhoneNumberDomainReq.js +2 -0
- package/dist/typescript-fetch/models/PhoneNumberDomainRes.d.ts +6 -0
- package/dist/typescript-fetch/models/PhoneNumberDomainRes.js +2 -0
- package/dist/typescript-fetch/models/RegisterGhostUserRequest.d.ts +6 -0
- package/dist/typescript-fetch/models/RegisterGhostUserRequest.js +2 -0
- package/dist/typescript-fetch/models/RegisterNewUserRequest.d.ts +8 -0
- package/dist/typescript-fetch/models/RegisterNewUserRequest.js +4 -0
- package/dist/typescript-fetch/models/RegisteredUserDomain.d.ts +186 -0
- package/dist/typescript-fetch/models/RegisteredUserDomain.js +139 -0
- package/dist/typescript-fetch/models/SaveDriverLicenseRequest.d.ts +6 -0
- package/dist/typescript-fetch/models/SaveDriverLicenseRequest.js +2 -0
- package/dist/typescript-fetch/models/SaveLawfirmSurchargeModel.d.ts +1 -0
- package/dist/typescript-fetch/models/SaveLawfirmSurchargeModel.js +1 -0
- package/dist/typescript-fetch/models/SaveUserSocialProfileModel.d.ts +45 -0
- package/dist/typescript-fetch/models/SaveUserSocialProfileModel.js +50 -0
- package/dist/typescript-fetch/models/SaveUserSocialProfileRequest.d.ts +28 -0
- package/dist/typescript-fetch/models/SaveUserSocialProfileRequest.js +37 -0
- package/dist/typescript-fetch/models/ServiceLevelAgreement.d.ts +39 -0
- package/dist/typescript-fetch/models/ServiceLevelAgreement.js +40 -0
- package/dist/typescript-fetch/models/SetReferralSourceRequest.d.ts +2 -0
- package/dist/typescript-fetch/models/SetReferralSourceRequest.js +2 -0
- package/dist/typescript-fetch/models/SignImageUrlRequest.d.ts +33 -0
- package/dist/typescript-fetch/models/SignImageUrlRequest.js +38 -0
- package/dist/typescript-fetch/models/SignImageUrlResponse.d.ts +27 -0
- package/dist/typescript-fetch/models/SignImageUrlResponse.js +36 -0
- package/dist/typescript-fetch/models/SocialLoginRequest.d.ts +2 -0
- package/dist/typescript-fetch/models/SocialLoginRequest.js +2 -0
- package/dist/typescript-fetch/models/SocialLoginUser.d.ts +6 -0
- package/dist/typescript-fetch/models/SocialLoginUser.js +2 -0
- package/dist/typescript-fetch/models/Source.d.ts +85 -0
- package/dist/typescript-fetch/models/Source.js +63 -0
- package/dist/typescript-fetch/models/Statistics.d.ts +135 -0
- package/dist/typescript-fetch/models/Statistics.js +72 -0
- package/dist/typescript-fetch/models/SubscriptionGuardianModel.d.ts +39 -0
- package/dist/typescript-fetch/models/SubscriptionGuardianModel.js +39 -0
- package/dist/typescript-fetch/models/Tag.d.ts +39 -0
- package/dist/typescript-fetch/models/Tag.js +40 -0
- package/dist/typescript-fetch/models/Tags.d.ts +34 -0
- package/dist/typescript-fetch/models/Tags.js +39 -0
- package/dist/typescript-fetch/models/Teammates.d.ts +34 -0
- package/dist/typescript-fetch/models/Teammates.js +39 -0
- package/dist/typescript-fetch/models/TicketPart.d.ts +51 -0
- package/dist/typescript-fetch/models/TicketPart.js +44 -0
- package/dist/typescript-fetch/models/TicketPartsWrapper.d.ts +34 -0
- package/dist/typescript-fetch/models/TicketPartsWrapper.js +39 -0
- package/dist/typescript-fetch/models/TicketType.d.ts +76 -0
- package/dist/typescript-fetch/models/TicketType.js +53 -0
- package/dist/typescript-fetch/models/TicketTypeAttribute.d.ts +63 -0
- package/dist/typescript-fetch/models/TicketTypeAttribute.js +48 -0
- package/dist/typescript-fetch/models/TicketTypeAttributesWrapper.d.ts +34 -0
- package/dist/typescript-fetch/models/TicketTypeAttributesWrapper.js +39 -0
- package/dist/typescript-fetch/models/Topic.d.ts +39 -0
- package/dist/typescript-fetch/models/Topic.js +40 -0
- package/dist/typescript-fetch/models/Topics.d.ts +40 -0
- package/dist/typescript-fetch/models/Topics.js +41 -0
- package/dist/typescript-fetch/models/UpdateLawfirmModel.d.ts +14 -10
- package/dist/typescript-fetch/models/UpdateLawfirmModel.js +13 -9
- package/dist/typescript-fetch/models/UpdateProfilePictureResponse.d.ts +27 -0
- package/dist/typescript-fetch/models/UpdateProfilePictureResponse.js +36 -0
- package/dist/typescript-fetch/models/UploadLawfirmsRequest.d.ts +33 -0
- package/dist/typescript-fetch/models/UploadLawfirmsRequest.js +38 -0
- package/dist/typescript-fetch/models/UploadLawfirmsResponse.d.ts +45 -0
- package/dist/typescript-fetch/models/UploadLawfirmsResponse.js +42 -0
- package/dist/typescript-fetch/models/UserAccountModel.d.ts +6 -0
- package/dist/typescript-fetch/models/UserAccountModel.js +2 -0
- package/dist/typescript-fetch/models/UserAuditEventModel.d.ts +26 -0
- package/dist/typescript-fetch/models/UserAuditEventModel.js +26 -0
- package/dist/typescript-fetch/models/UserDomain.d.ts +43 -1
- package/dist/typescript-fetch/models/UserDomain.js +15 -1
- package/dist/typescript-fetch/models/UserDomainReq.d.ts +43 -1
- package/dist/typescript-fetch/models/UserDomainReq.js +15 -1
- package/dist/typescript-fetch/models/UserDomainRes.d.ts +43 -1
- package/dist/typescript-fetch/models/UserDomainRes.js +15 -1
- package/dist/typescript-fetch/models/UserReferralLinkModel.d.ts +41 -0
- package/dist/typescript-fetch/models/UserReferralLinkModel.js +47 -0
- package/dist/typescript-fetch/models/UserReferralLinkModelReq.d.ts +41 -0
- package/dist/typescript-fetch/models/UserReferralLinkModelReq.js +47 -0
- package/dist/typescript-fetch/models/UserReferralLinkModelRes.d.ts +41 -0
- package/dist/typescript-fetch/models/UserReferralLinkModelRes.js +47 -0
- package/dist/typescript-fetch/models/UserSocialProfileModel.d.ts +45 -0
- package/dist/typescript-fetch/models/UserSocialProfileModel.js +51 -0
- package/dist/typescript-fetch/models/UserSocialProfileModelReq.d.ts +45 -0
- package/dist/typescript-fetch/models/UserSocialProfileModelReq.js +51 -0
- package/dist/typescript-fetch/models/UserSocialProfileModelRes.d.ts +45 -0
- package/dist/typescript-fetch/models/UserSocialProfileModelRes.js +51 -0
- package/dist/typescript-fetch/models/UserSubscriptionPlanModel.d.ts +21 -0
- package/dist/typescript-fetch/models/UserSubscriptionPlanModel.js +14 -0
- package/dist/typescript-fetch/models/UserSubscriptionPlanModelReq.d.ts +21 -0
- package/dist/typescript-fetch/models/UserSubscriptionPlanModelReq.js +14 -0
- package/dist/typescript-fetch/models/UserSubscriptionPlanModelRes.d.ts +21 -0
- package/dist/typescript-fetch/models/UserSubscriptionPlanModelRes.js +14 -0
- package/dist/typescript-fetch/models/ValidateDirectMailResponse.d.ts +6 -0
- package/dist/typescript-fetch/models/ValidateDirectMailResponse.js +6 -0
- package/dist/typescript-fetch/models/ValidatePhoneNumberResponse.d.ts +24 -0
- package/dist/typescript-fetch/models/ValidatePhoneNumberResponse.js +8 -0
- package/dist/typescript-fetch/models/ViolationModel.d.ts +6 -0
- package/dist/typescript-fetch/models/ViolationModel.js +2 -0
- package/dist/typescript-fetch/models/WorkflowLineItemModel.d.ts +1 -0
- package/dist/typescript-fetch/models/WorkflowLineItemModel.js +1 -0
- package/dist/typescript-fetch/models/WorkflowViolationModel.d.ts +6 -0
- package/dist/typescript-fetch/models/WorkflowViolationModel.js +2 -0
- package/dist/typescript-fetch/models/index.d.ts +46 -2
- package/dist/typescript-fetch/models/index.js +46 -2
- package/package.json +1 -1
|
@@ -0,0 +1,85 @@
|
|
|
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
|
+
import { Attachment, Author } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Source
|
|
17
|
+
*/
|
|
18
|
+
export interface Source {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Attachment>}
|
|
22
|
+
* @memberof Source
|
|
23
|
+
*/
|
|
24
|
+
attachments?: Array<Attachment>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Author}
|
|
28
|
+
* @memberof Source
|
|
29
|
+
*/
|
|
30
|
+
author?: Author;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Source
|
|
35
|
+
*/
|
|
36
|
+
body?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Source
|
|
41
|
+
*/
|
|
42
|
+
deliveredAs?: SourceDeliveredAsEnum;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Source
|
|
47
|
+
*/
|
|
48
|
+
id?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof Source
|
|
53
|
+
*/
|
|
54
|
+
redacted?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof Source
|
|
59
|
+
*/
|
|
60
|
+
subject?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof Source
|
|
65
|
+
*/
|
|
66
|
+
type?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof Source
|
|
71
|
+
*/
|
|
72
|
+
url?: string;
|
|
73
|
+
}
|
|
74
|
+
export declare function SourceFromJSON(json: any): Source;
|
|
75
|
+
export declare function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Source;
|
|
76
|
+
export declare function SourceToJSON(value?: Source | null): any;
|
|
77
|
+
/**
|
|
78
|
+
* @export
|
|
79
|
+
* @enum {string}
|
|
80
|
+
*/
|
|
81
|
+
export declare enum SourceDeliveredAsEnum {
|
|
82
|
+
ADMININITIATED = "ADMIN_INITIATED",
|
|
83
|
+
INBOUND = "INBOUND",
|
|
84
|
+
OUTBOUND = "OUTBOUND"
|
|
85
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
import { AttachmentFromJSON, AttachmentToJSON, AuthorFromJSON, AuthorToJSON, } from './';
|
|
16
|
+
export function SourceFromJSON(json) {
|
|
17
|
+
return SourceFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function SourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'attachments': !exists(json, 'attachments') ? undefined : (json['attachments'].map(AttachmentFromJSON)),
|
|
25
|
+
'author': !exists(json, 'author') ? undefined : AuthorFromJSON(json['author']),
|
|
26
|
+
'body': !exists(json, 'body') ? undefined : json['body'],
|
|
27
|
+
'deliveredAs': !exists(json, 'delivered_as') ? undefined : json['delivered_as'],
|
|
28
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
29
|
+
'redacted': !exists(json, 'redacted') ? undefined : json['redacted'],
|
|
30
|
+
'subject': !exists(json, 'subject') ? undefined : json['subject'],
|
|
31
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
32
|
+
'url': !exists(json, 'url') ? undefined : json['url'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SourceToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'attachments': value.attachments === undefined ? undefined : (value.attachments.map(AttachmentToJSON)),
|
|
44
|
+
'author': AuthorToJSON(value.author),
|
|
45
|
+
'body': value.body,
|
|
46
|
+
'delivered_as': value.deliveredAs,
|
|
47
|
+
'id': value.id,
|
|
48
|
+
'redacted': value.redacted,
|
|
49
|
+
'subject': value.subject,
|
|
50
|
+
'type': value.type,
|
|
51
|
+
'url': value.url,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @export
|
|
56
|
+
* @enum {string}
|
|
57
|
+
*/
|
|
58
|
+
export var SourceDeliveredAsEnum;
|
|
59
|
+
(function (SourceDeliveredAsEnum) {
|
|
60
|
+
SourceDeliveredAsEnum["ADMININITIATED"] = "ADMIN_INITIATED";
|
|
61
|
+
SourceDeliveredAsEnum["INBOUND"] = "INBOUND";
|
|
62
|
+
SourceDeliveredAsEnum["OUTBOUND"] = "OUTBOUND";
|
|
63
|
+
})(SourceDeliveredAsEnum || (SourceDeliveredAsEnum = {}));
|
|
@@ -0,0 +1,135 @@
|
|
|
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 Statistics
|
|
16
|
+
*/
|
|
17
|
+
export interface Statistics {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof Statistics
|
|
22
|
+
*/
|
|
23
|
+
countAssignments?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof Statistics
|
|
28
|
+
*/
|
|
29
|
+
countConversationParts?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof Statistics
|
|
34
|
+
*/
|
|
35
|
+
countReopens?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof Statistics
|
|
40
|
+
*/
|
|
41
|
+
firstAdminReplyAt?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof Statistics
|
|
46
|
+
*/
|
|
47
|
+
firstAssignmentAt?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof Statistics
|
|
52
|
+
*/
|
|
53
|
+
firstCloseAt?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof Statistics
|
|
58
|
+
*/
|
|
59
|
+
firstContactReplyAt?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof Statistics
|
|
64
|
+
*/
|
|
65
|
+
lastAdminReplyAt?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof Statistics
|
|
70
|
+
*/
|
|
71
|
+
lastAssignmentAdminReplyAt?: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof Statistics
|
|
76
|
+
*/
|
|
77
|
+
lastAssignmentAt?: number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof Statistics
|
|
82
|
+
*/
|
|
83
|
+
lastCloseAt?: number;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof Statistics
|
|
88
|
+
*/
|
|
89
|
+
lastClosedById?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof Statistics
|
|
94
|
+
*/
|
|
95
|
+
lastContactReplyAt?: number;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {number}
|
|
99
|
+
* @memberof Statistics
|
|
100
|
+
*/
|
|
101
|
+
medianTimeToReply?: number;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof Statistics
|
|
106
|
+
*/
|
|
107
|
+
timeToAdminReply?: number;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {number}
|
|
111
|
+
* @memberof Statistics
|
|
112
|
+
*/
|
|
113
|
+
timeToAssignment?: number;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {number}
|
|
117
|
+
* @memberof Statistics
|
|
118
|
+
*/
|
|
119
|
+
timeToFirstClose?: number;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {number}
|
|
123
|
+
* @memberof Statistics
|
|
124
|
+
*/
|
|
125
|
+
timeToLastClose?: number;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof Statistics
|
|
130
|
+
*/
|
|
131
|
+
type?: string;
|
|
132
|
+
}
|
|
133
|
+
export declare function StatisticsFromJSON(json: any): Statistics;
|
|
134
|
+
export declare function StatisticsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Statistics;
|
|
135
|
+
export declare function StatisticsToJSON(value?: Statistics | null): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
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 StatisticsFromJSON(json) {
|
|
16
|
+
return StatisticsFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function StatisticsFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'countAssignments': !exists(json, 'count_assignments') ? undefined : json['count_assignments'],
|
|
24
|
+
'countConversationParts': !exists(json, 'count_conversation_parts') ? undefined : json['count_conversation_parts'],
|
|
25
|
+
'countReopens': !exists(json, 'count_reopens') ? undefined : json['count_reopens'],
|
|
26
|
+
'firstAdminReplyAt': !exists(json, 'first_admin_reply_at') ? undefined : json['first_admin_reply_at'],
|
|
27
|
+
'firstAssignmentAt': !exists(json, 'first_assignment_at') ? undefined : json['first_assignment_at'],
|
|
28
|
+
'firstCloseAt': !exists(json, 'first_close_at') ? undefined : json['first_close_at'],
|
|
29
|
+
'firstContactReplyAt': !exists(json, 'first_contact_reply_at') ? undefined : json['first_contact_reply_at'],
|
|
30
|
+
'lastAdminReplyAt': !exists(json, 'last_admin_reply_at') ? undefined : json['last_admin_reply_at'],
|
|
31
|
+
'lastAssignmentAdminReplyAt': !exists(json, 'last_assignment_admin_reply_at') ? undefined : json['last_assignment_admin_reply_at'],
|
|
32
|
+
'lastAssignmentAt': !exists(json, 'last_assignment_at') ? undefined : json['last_assignment_at'],
|
|
33
|
+
'lastCloseAt': !exists(json, 'last_close_at') ? undefined : json['last_close_at'],
|
|
34
|
+
'lastClosedById': !exists(json, 'last_closed_by_id') ? undefined : json['last_closed_by_id'],
|
|
35
|
+
'lastContactReplyAt': !exists(json, 'last_contact_reply_at') ? undefined : json['last_contact_reply_at'],
|
|
36
|
+
'medianTimeToReply': !exists(json, 'median_time_to_reply') ? undefined : json['median_time_to_reply'],
|
|
37
|
+
'timeToAdminReply': !exists(json, 'time_to_admin_reply') ? undefined : json['time_to_admin_reply'],
|
|
38
|
+
'timeToAssignment': !exists(json, 'time_to_assignment') ? undefined : json['time_to_assignment'],
|
|
39
|
+
'timeToFirstClose': !exists(json, 'time_to_first_close') ? undefined : json['time_to_first_close'],
|
|
40
|
+
'timeToLastClose': !exists(json, 'time_to_last_close') ? undefined : json['time_to_last_close'],
|
|
41
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function StatisticsToJSON(value) {
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
if (value === null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'count_assignments': value.countAssignments,
|
|
53
|
+
'count_conversation_parts': value.countConversationParts,
|
|
54
|
+
'count_reopens': value.countReopens,
|
|
55
|
+
'first_admin_reply_at': value.firstAdminReplyAt,
|
|
56
|
+
'first_assignment_at': value.firstAssignmentAt,
|
|
57
|
+
'first_close_at': value.firstCloseAt,
|
|
58
|
+
'first_contact_reply_at': value.firstContactReplyAt,
|
|
59
|
+
'last_admin_reply_at': value.lastAdminReplyAt,
|
|
60
|
+
'last_assignment_admin_reply_at': value.lastAssignmentAdminReplyAt,
|
|
61
|
+
'last_assignment_at': value.lastAssignmentAt,
|
|
62
|
+
'last_close_at': value.lastCloseAt,
|
|
63
|
+
'last_closed_by_id': value.lastClosedById,
|
|
64
|
+
'last_contact_reply_at': value.lastContactReplyAt,
|
|
65
|
+
'median_time_to_reply': value.medianTimeToReply,
|
|
66
|
+
'time_to_admin_reply': value.timeToAdminReply,
|
|
67
|
+
'time_to_assignment': value.timeToAssignment,
|
|
68
|
+
'time_to_first_close': value.timeToFirstClose,
|
|
69
|
+
'time_to_last_close': value.timeToLastClose,
|
|
70
|
+
'type': value.type,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 SubscriptionGuardianModel
|
|
16
|
+
*/
|
|
17
|
+
export interface SubscriptionGuardianModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SubscriptionGuardianModel
|
|
22
|
+
*/
|
|
23
|
+
emailAddress: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SubscriptionGuardianModel
|
|
28
|
+
*/
|
|
29
|
+
firstName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SubscriptionGuardianModel
|
|
34
|
+
*/
|
|
35
|
+
lastName: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function SubscriptionGuardianModelFromJSON(json: any): SubscriptionGuardianModel;
|
|
38
|
+
export declare function SubscriptionGuardianModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionGuardianModel;
|
|
39
|
+
export declare function SubscriptionGuardianModelToJSON(value?: SubscriptionGuardianModel | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
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 SubscriptionGuardianModelFromJSON(json) {
|
|
15
|
+
return SubscriptionGuardianModelFromJSONTyped(json, false);
|
|
16
|
+
}
|
|
17
|
+
export function SubscriptionGuardianModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'emailAddress': json['emailAddress'],
|
|
23
|
+
'firstName': json['firstName'],
|
|
24
|
+
'lastName': json['lastName'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function SubscriptionGuardianModelToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'emailAddress': value.emailAddress,
|
|
36
|
+
'firstName': value.firstName,
|
|
37
|
+
'lastName': value.lastName,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 Tag
|
|
16
|
+
*/
|
|
17
|
+
export interface Tag {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Tag
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Tag
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Tag
|
|
34
|
+
*/
|
|
35
|
+
type?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function TagFromJSON(json: any): Tag;
|
|
38
|
+
export declare function TagFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tag;
|
|
39
|
+
export declare function TagToJSON(value?: Tag | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 TagFromJSON(json) {
|
|
16
|
+
return TagFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function TagFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
24
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
25
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function TagToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': value.id,
|
|
37
|
+
'name': value.name,
|
|
38
|
+
'type': value.type,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
import { Tag } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Tags
|
|
17
|
+
*/
|
|
18
|
+
export interface Tags {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Tag>}
|
|
22
|
+
* @memberof Tags
|
|
23
|
+
*/
|
|
24
|
+
tags?: Array<Tag>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Tags
|
|
29
|
+
*/
|
|
30
|
+
type?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare function TagsFromJSON(json: any): Tags;
|
|
33
|
+
export declare function TagsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tags;
|
|
34
|
+
export declare function TagsToJSON(value?: Tags | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
import { TagFromJSON, TagToJSON, } from './';
|
|
16
|
+
export function TagsFromJSON(json) {
|
|
17
|
+
return TagsFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function TagsFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'tags': !exists(json, 'tags') ? undefined : (json['tags'].map(TagFromJSON)),
|
|
25
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function TagsToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'tags': value.tags === undefined ? undefined : (value.tags.map(TagToJSON)),
|
|
37
|
+
'type': value.type,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
import { Admin } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Teammates
|
|
17
|
+
*/
|
|
18
|
+
export interface Teammates {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Admin>}
|
|
22
|
+
* @memberof Teammates
|
|
23
|
+
*/
|
|
24
|
+
admins?: Array<Admin>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Teammates
|
|
29
|
+
*/
|
|
30
|
+
type?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare function TeammatesFromJSON(json: any): Teammates;
|
|
33
|
+
export declare function TeammatesFromJSONTyped(json: any, ignoreDiscriminator: boolean): Teammates;
|
|
34
|
+
export declare function TeammatesToJSON(value?: Teammates | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
import { AdminFromJSON, AdminToJSON, } from './';
|
|
16
|
+
export function TeammatesFromJSON(json) {
|
|
17
|
+
return TeammatesFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function TeammatesFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'admins': !exists(json, 'admins') ? undefined : (json['admins'].map(AdminFromJSON)),
|
|
25
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function TeammatesToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'admins': value.admins === undefined ? undefined : (value.admins.map(AdminToJSON)),
|
|
37
|
+
'type': value.type,
|
|
38
|
+
};
|
|
39
|
+
}
|