@otr-app/shared-backend-generated-client 2.4.26 → 2.4.28
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/model/case.ts +3 -2
- package/dist/angular/model/citationWithMissingFields.ts +3 -2
- package/dist/angular/model/ghostUser.ts +3 -2
- package/dist/angular/model/ghostUserResponse.ts +3 -2
- package/dist/angular/model/listCaseBookingsRequest.ts +3 -2
- package/dist/angular/model/registeredUserDomain.ts +3 -2
- package/dist/angular/model/userDomain.ts +3 -2
- package/dist/angular/model/userDomainReq.ts +3 -2
- package/dist/angular/model/userDomainRes.ts +3 -2
- package/dist/typescript/model/Case.d.ts +2 -1
- package/dist/typescript/model/Case.js +1 -0
- package/dist/typescript/model/CitationWithMissingFields.d.ts +2 -1
- package/dist/typescript/model/CitationWithMissingFields.js +1 -0
- package/dist/typescript/model/GhostUser.d.ts +2 -1
- package/dist/typescript/model/GhostUser.js +1 -0
- package/dist/typescript/model/GhostUserResponse.d.ts +2 -1
- package/dist/typescript/model/GhostUserResponse.js +1 -0
- package/dist/typescript/model/ListCaseBookingsRequest.d.ts +2 -1
- package/dist/typescript/model/ListCaseBookingsRequest.js +1 -0
- package/dist/typescript/model/RegisteredUserDomain.d.ts +2 -1
- package/dist/typescript/model/RegisteredUserDomain.js +1 -0
- package/dist/typescript/model/UserDomain.d.ts +2 -1
- package/dist/typescript/model/UserDomain.js +1 -0
- package/dist/typescript/model/UserDomainReq.d.ts +2 -1
- package/dist/typescript/model/UserDomainReq.js +1 -0
- package/dist/typescript/model/UserDomainRes.d.ts +2 -1
- package/dist/typescript/model/UserDomainRes.js +1 -0
- 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/Case.d.ts +2 -1
- package/dist/typescript-fetch/models/Case.js +1 -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/CitationWithMissingFields.d.ts +2 -1
- package/dist/typescript-fetch/models/CitationWithMissingFields.js +1 -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 +4 -1
- package/dist/typescript-fetch/models/GhostUser.js +3 -0
- package/dist/typescript-fetch/models/GhostUserResponse.d.ts +2 -1
- package/dist/typescript-fetch/models/GhostUserResponse.js +1 -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/ListCaseBookingsRequest.d.ts +2 -1
- package/dist/typescript-fetch/models/ListCaseBookingsRequest.js +1 -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 +187 -0
- package/dist/typescript-fetch/models/RegisteredUserDomain.js +140 -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 +45 -2
- package/dist/typescript-fetch/models/UserDomain.js +16 -1
- package/dist/typescript-fetch/models/UserDomainReq.d.ts +45 -2
- package/dist/typescript-fetch/models/UserDomainReq.js +16 -1
- package/dist/typescript-fetch/models/UserDomainRes.d.ts +45 -2
- package/dist/typescript-fetch/models/UserDomainRes.js +16 -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,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
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 TicketPart
|
|
16
|
+
*/
|
|
17
|
+
export interface TicketPart {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TicketPart
|
|
22
|
+
*/
|
|
23
|
+
content?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof TicketPart
|
|
28
|
+
*/
|
|
29
|
+
createdAt?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TicketPart
|
|
34
|
+
*/
|
|
35
|
+
id?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TicketPart
|
|
40
|
+
*/
|
|
41
|
+
type?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof TicketPart
|
|
46
|
+
*/
|
|
47
|
+
updatedAt?: number;
|
|
48
|
+
}
|
|
49
|
+
export declare function TicketPartFromJSON(json: any): TicketPart;
|
|
50
|
+
export declare function TicketPartFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketPart;
|
|
51
|
+
export declare function TicketPartToJSON(value?: TicketPart | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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 TicketPartFromJSON(json) {
|
|
16
|
+
return TicketPartFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function TicketPartFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'content': !exists(json, 'content') ? undefined : json['content'],
|
|
24
|
+
'createdAt': !exists(json, 'created_at') ? undefined : json['created_at'],
|
|
25
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
26
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
27
|
+
'updatedAt': !exists(json, 'updated_at') ? undefined : json['updated_at'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export function TicketPartToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'content': value.content,
|
|
39
|
+
'created_at': value.createdAt,
|
|
40
|
+
'id': value.id,
|
|
41
|
+
'type': value.type,
|
|
42
|
+
'updated_at': value.updatedAt,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -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 { TicketPart } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TicketPartsWrapper
|
|
17
|
+
*/
|
|
18
|
+
export interface TicketPartsWrapper {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<TicketPart>}
|
|
22
|
+
* @memberof TicketPartsWrapper
|
|
23
|
+
*/
|
|
24
|
+
ticketParts?: Array<TicketPart>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TicketPartsWrapper
|
|
29
|
+
*/
|
|
30
|
+
type?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare function TicketPartsWrapperFromJSON(json: any): TicketPartsWrapper;
|
|
33
|
+
export declare function TicketPartsWrapperFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketPartsWrapper;
|
|
34
|
+
export declare function TicketPartsWrapperToJSON(value?: TicketPartsWrapper | 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 { TicketPartFromJSON, TicketPartToJSON, } from './';
|
|
16
|
+
export function TicketPartsWrapperFromJSON(json) {
|
|
17
|
+
return TicketPartsWrapperFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function TicketPartsWrapperFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'ticketParts': !exists(json, 'ticket_parts') ? undefined : (json['ticket_parts'].map(TicketPartFromJSON)),
|
|
25
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function TicketPartsWrapperToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'ticket_parts': value.ticketParts === undefined ? undefined : (value.ticketParts.map(TicketPartToJSON)),
|
|
37
|
+
'type': value.type,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 { TicketTypeAttributesWrapper } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TicketType
|
|
17
|
+
*/
|
|
18
|
+
export interface TicketType {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof TicketType
|
|
23
|
+
*/
|
|
24
|
+
archived?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof TicketType
|
|
29
|
+
*/
|
|
30
|
+
createdAt?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TicketType
|
|
35
|
+
*/
|
|
36
|
+
description?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TicketType
|
|
41
|
+
*/
|
|
42
|
+
id?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof TicketType
|
|
47
|
+
*/
|
|
48
|
+
isInternal?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof TicketType
|
|
53
|
+
*/
|
|
54
|
+
name?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {TicketTypeAttributesWrapper}
|
|
58
|
+
* @memberof TicketType
|
|
59
|
+
*/
|
|
60
|
+
ticketTypeAttributes?: TicketTypeAttributesWrapper;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof TicketType
|
|
65
|
+
*/
|
|
66
|
+
type?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof TicketType
|
|
71
|
+
*/
|
|
72
|
+
updatedAt?: number;
|
|
73
|
+
}
|
|
74
|
+
export declare function TicketTypeFromJSON(json: any): TicketType;
|
|
75
|
+
export declare function TicketTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): TicketType;
|
|
76
|
+
export declare function TicketTypeToJSON(value?: TicketType | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { TicketTypeAttributesWrapperFromJSON, TicketTypeAttributesWrapperToJSON, } from './';
|
|
16
|
+
export function TicketTypeFromJSON(json) {
|
|
17
|
+
return TicketTypeFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function TicketTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'archived': !exists(json, 'archived') ? undefined : json['archived'],
|
|
25
|
+
'createdAt': !exists(json, 'created_at') ? undefined : json['created_at'],
|
|
26
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
27
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
28
|
+
'isInternal': !exists(json, 'is_internal') ? undefined : json['is_internal'],
|
|
29
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
30
|
+
'ticketTypeAttributes': !exists(json, 'ticket_type_attributes') ? undefined : TicketTypeAttributesWrapperFromJSON(json['ticket_type_attributes']),
|
|
31
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
32
|
+
'updatedAt': !exists(json, 'updated_at') ? undefined : json['updated_at'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function TicketTypeToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'archived': value.archived,
|
|
44
|
+
'created_at': value.createdAt,
|
|
45
|
+
'description': value.description,
|
|
46
|
+
'id': value.id,
|
|
47
|
+
'is_internal': value.isInternal,
|
|
48
|
+
'name': value.name,
|
|
49
|
+
'ticket_type_attributes': TicketTypeAttributesWrapperToJSON(value.ticketTypeAttributes),
|
|
50
|
+
'type': value.type,
|
|
51
|
+
'updated_at': value.updatedAt,
|
|
52
|
+
};
|
|
53
|
+
}
|