@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
|
@@ -122,6 +122,9 @@ export class UserControllerApi extends runtime.BaseAPI {
|
|
|
122
122
|
throw new runtime.RequiredError('email', 'Required parameter requestParameters.email was null or undefined when calling getSupportTicketsForUserUsingGET.');
|
|
123
123
|
}
|
|
124
124
|
const queryParameters = {};
|
|
125
|
+
if (requestParameters.limit !== undefined) {
|
|
126
|
+
queryParameters['limit'] = requestParameters.limit;
|
|
127
|
+
}
|
|
125
128
|
const headerParameters = {};
|
|
126
129
|
const response = yield this.request({
|
|
127
130
|
path: `/api/v1/users/{email}/support-tickets`.replace(`{${"email"}}`, encodeURIComponent(String(requestParameters.email))),
|
|
@@ -249,6 +252,62 @@ export class UserControllerApi extends runtime.BaseAPI {
|
|
|
249
252
|
yield this.logoutUserUsingDELETERaw(requestParameters);
|
|
250
253
|
});
|
|
251
254
|
}
|
|
255
|
+
/**
|
|
256
|
+
* removeUser
|
|
257
|
+
*/
|
|
258
|
+
removeUserUsingDELETERaw(requestParameters) {
|
|
259
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
260
|
+
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
261
|
+
throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling removeUserUsingDELETE.');
|
|
262
|
+
}
|
|
263
|
+
const queryParameters = {};
|
|
264
|
+
const headerParameters = {};
|
|
265
|
+
const response = yield this.request({
|
|
266
|
+
path: `/api/v1/users/{userId}`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters.userId))),
|
|
267
|
+
method: 'DELETE',
|
|
268
|
+
headers: headerParameters,
|
|
269
|
+
query: queryParameters,
|
|
270
|
+
});
|
|
271
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UpdateUserDetailsResponseFromJSON(jsonValue));
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* removeUser
|
|
276
|
+
*/
|
|
277
|
+
removeUserUsingDELETE(requestParameters) {
|
|
278
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
279
|
+
const response = yield this.removeUserUsingDELETERaw(requestParameters);
|
|
280
|
+
return yield response.value();
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* reviveUser
|
|
285
|
+
*/
|
|
286
|
+
reviveUserUsingPUTRaw(requestParameters) {
|
|
287
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
288
|
+
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
289
|
+
throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling reviveUserUsingPUT.');
|
|
290
|
+
}
|
|
291
|
+
const queryParameters = {};
|
|
292
|
+
const headerParameters = {};
|
|
293
|
+
const response = yield this.request({
|
|
294
|
+
path: `/api/v1/users/{userId}/revive`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters.userId))),
|
|
295
|
+
method: 'PUT',
|
|
296
|
+
headers: headerParameters,
|
|
297
|
+
query: queryParameters,
|
|
298
|
+
});
|
|
299
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UpdateUserDetailsResponseFromJSON(jsonValue));
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* reviveUser
|
|
304
|
+
*/
|
|
305
|
+
reviveUserUsingPUT(requestParameters) {
|
|
306
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
307
|
+
const response = yield this.reviveUserUsingPUTRaw(requestParameters);
|
|
308
|
+
return yield response.value();
|
|
309
|
+
});
|
|
310
|
+
}
|
|
252
311
|
/**
|
|
253
312
|
* updateUserProfile
|
|
254
313
|
*/
|
|
@@ -22,20 +22,23 @@ export interface ResetUserPasswordUsingPOSTRequest {
|
|
|
22
22
|
request: ResetUserPasswordRequest;
|
|
23
23
|
}
|
|
24
24
|
export interface SendAccountVerificationCodeUsingPOSTRequest {
|
|
25
|
-
|
|
25
|
+
email?: string;
|
|
26
|
+
userId?: string;
|
|
26
27
|
verificationMethod?: SendAccountVerificationCodeUsingPOSTVerificationMethodEnum;
|
|
27
28
|
}
|
|
28
29
|
export interface SendResetPasswordTokenUsingPOSTRequest {
|
|
29
30
|
email: string;
|
|
31
|
+
enableCode?: boolean;
|
|
30
32
|
}
|
|
31
33
|
export interface VerifyPwdResetTokenUsingGETRequest {
|
|
32
34
|
token: string;
|
|
33
35
|
}
|
|
34
36
|
export interface VerifyUserAccountUsingPUTRequest {
|
|
35
37
|
code: string;
|
|
36
|
-
|
|
38
|
+
email?: string;
|
|
37
39
|
fieldName?: string;
|
|
38
40
|
fieldValue?: string;
|
|
41
|
+
userId?: string;
|
|
39
42
|
}
|
|
40
43
|
/**
|
|
41
44
|
*
|
|
@@ -123,10 +123,10 @@ export class UserPasswordControllerApi extends runtime.BaseAPI {
|
|
|
123
123
|
*/
|
|
124
124
|
sendAccountVerificationCodeUsingPOSTRaw(requestParameters) {
|
|
125
125
|
return __awaiter(this, void 0, void 0, function* () {
|
|
126
|
-
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
127
|
-
throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling sendAccountVerificationCodeUsingPOST.');
|
|
128
|
-
}
|
|
129
126
|
const queryParameters = {};
|
|
127
|
+
if (requestParameters.email !== undefined) {
|
|
128
|
+
queryParameters['email'] = requestParameters.email;
|
|
129
|
+
}
|
|
130
130
|
if (requestParameters.userId !== undefined) {
|
|
131
131
|
queryParameters['userId'] = requestParameters.userId;
|
|
132
132
|
}
|
|
@@ -163,6 +163,9 @@ export class UserPasswordControllerApi extends runtime.BaseAPI {
|
|
|
163
163
|
if (requestParameters.email !== undefined) {
|
|
164
164
|
queryParameters['email'] = requestParameters.email;
|
|
165
165
|
}
|
|
166
|
+
if (requestParameters.enableCode !== undefined) {
|
|
167
|
+
queryParameters['enableCode'] = requestParameters.enableCode;
|
|
168
|
+
}
|
|
166
169
|
const headerParameters = {};
|
|
167
170
|
const response = yield this.request({
|
|
168
171
|
path: `/api/v1/user/password/token`,
|
|
@@ -221,13 +224,13 @@ export class UserPasswordControllerApi extends runtime.BaseAPI {
|
|
|
221
224
|
if (requestParameters.code === null || requestParameters.code === undefined) {
|
|
222
225
|
throw new runtime.RequiredError('code', 'Required parameter requestParameters.code was null or undefined when calling verifyUserAccountUsingPUT.');
|
|
223
226
|
}
|
|
224
|
-
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
225
|
-
throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling verifyUserAccountUsingPUT.');
|
|
226
|
-
}
|
|
227
227
|
const queryParameters = {};
|
|
228
228
|
if (requestParameters.code !== undefined) {
|
|
229
229
|
queryParameters['code'] = requestParameters.code;
|
|
230
230
|
}
|
|
231
|
+
if (requestParameters.email !== undefined) {
|
|
232
|
+
queryParameters['email'] = requestParameters.email;
|
|
233
|
+
}
|
|
231
234
|
if (requestParameters.fieldName !== undefined) {
|
|
232
235
|
queryParameters['fieldName'] = requestParameters.fieldName;
|
|
233
236
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { GetUserAddressesResponse, MergeUserRequest, MergeUserResponse, SetMarketingEmailOptInRequest, UpdateProfilePictureRequest, UpdateUserDetailsResponse, UpdateUserPhoneNumberRequest, UpsertAddressRequest, ValidatePhoneNumberRequest, ValidatePhoneNumberResponse } from '../models';
|
|
13
|
+
import { GetUserAddressesResponse, MergeUserRequest, MergeUserResponse, SetMarketingEmailOptInRequest, UpdateProfilePictureRequest, UpdateProfilePictureResponse, UpdateUserDetailsResponse, UpdateUserPhoneNumberRequest, UpsertAddressRequest, ValidatePhoneNumberRequest, ValidatePhoneNumberResponse } from '../models';
|
|
14
14
|
export interface AddUserAddressUsingPOSTRequest {
|
|
15
15
|
userId: number;
|
|
16
16
|
request: UpsertAddressRequest;
|
|
@@ -106,11 +106,11 @@ export declare class UserProfileControllerApi extends runtime.BaseAPI {
|
|
|
106
106
|
/**
|
|
107
107
|
* updateProfilePicture
|
|
108
108
|
*/
|
|
109
|
-
updateProfilePictureUsingPUTRaw(requestParameters: UpdateProfilePictureUsingPUTRequest): Promise<runtime.ApiResponse<
|
|
109
|
+
updateProfilePictureUsingPUTRaw(requestParameters: UpdateProfilePictureUsingPUTRequest): Promise<runtime.ApiResponse<UpdateProfilePictureResponse>>;
|
|
110
110
|
/**
|
|
111
111
|
* updateProfilePicture
|
|
112
112
|
*/
|
|
113
|
-
updateProfilePictureUsingPUT(requestParameters: UpdateProfilePictureUsingPUTRequest): Promise<
|
|
113
|
+
updateProfilePictureUsingPUT(requestParameters: UpdateProfilePictureUsingPUTRequest): Promise<UpdateProfilePictureResponse>;
|
|
114
114
|
/**
|
|
115
115
|
* updateUserAddress
|
|
116
116
|
*/
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { GetUserAddressesResponseFromJSON, MergeUserRequestToJSON, MergeUserResponseFromJSON, SetMarketingEmailOptInRequestToJSON, UpdateProfilePictureRequestToJSON, UpdateUserDetailsResponseFromJSON, UpdateUserPhoneNumberRequestToJSON, UpsertAddressRequestToJSON, ValidatePhoneNumberRequestToJSON, ValidatePhoneNumberResponseFromJSON, } from '../models';
|
|
24
|
+
import { GetUserAddressesResponseFromJSON, MergeUserRequestToJSON, MergeUserResponseFromJSON, SetMarketingEmailOptInRequestToJSON, UpdateProfilePictureRequestToJSON, UpdateProfilePictureResponseFromJSON, UpdateUserDetailsResponseFromJSON, UpdateUserPhoneNumberRequestToJSON, UpsertAddressRequestToJSON, ValidatePhoneNumberRequestToJSON, ValidatePhoneNumberResponseFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -236,7 +236,7 @@ export class UserProfileControllerApi extends runtime.BaseAPI {
|
|
|
236
236
|
query: queryParameters,
|
|
237
237
|
body: UpdateProfilePictureRequestToJSON(requestParameters.request),
|
|
238
238
|
});
|
|
239
|
-
return new runtime.
|
|
239
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UpdateProfilePictureResponseFromJSON(jsonValue));
|
|
240
240
|
});
|
|
241
241
|
}
|
|
242
242
|
/**
|
|
@@ -244,7 +244,8 @@ export class UserProfileControllerApi extends runtime.BaseAPI {
|
|
|
244
244
|
*/
|
|
245
245
|
updateProfilePictureUsingPUT(requestParameters) {
|
|
246
246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
247
|
-
yield this.updateProfilePictureUsingPUTRaw(requestParameters);
|
|
247
|
+
const response = yield this.updateProfilePictureUsingPUTRaw(requestParameters);
|
|
248
|
+
return yield response.value();
|
|
248
249
|
});
|
|
249
250
|
}
|
|
250
251
|
/**
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { FindMatchingUsersRequest, FindMatchingUsersResponse,
|
|
13
|
+
import { FindMatchingUsersRequest, FindMatchingUsersResponse, GetUserByEmailRequest, GetUserByEmailResponse } from '../models';
|
|
14
14
|
export interface FindMatchingUsersUsingPOSTRequest {
|
|
15
15
|
request: FindMatchingUsersRequest;
|
|
16
16
|
}
|
|
17
|
-
export interface
|
|
18
|
-
request:
|
|
17
|
+
export interface GetUserByEmailUsingPOSTRequest {
|
|
18
|
+
request: GetUserByEmailRequest;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
@@ -30,11 +30,11 @@ export declare class UserSearchControllerApi extends runtime.BaseAPI {
|
|
|
30
30
|
*/
|
|
31
31
|
findMatchingUsersUsingPOST(requestParameters: FindMatchingUsersUsingPOSTRequest): Promise<FindMatchingUsersResponse>;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* getUserByEmail
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
getUserByEmailUsingPOSTRaw(requestParameters: GetUserByEmailUsingPOSTRequest): Promise<runtime.ApiResponse<GetUserByEmailResponse>>;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* getUserByEmail
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
getUserByEmailUsingPOST(requestParameters: GetUserByEmailUsingPOSTRequest): Promise<GetUserByEmailResponse>;
|
|
40
40
|
}
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { FindMatchingUsersRequestToJSON, FindMatchingUsersResponseFromJSON,
|
|
24
|
+
import { FindMatchingUsersRequestToJSON, FindMatchingUsersResponseFromJSON, GetUserByEmailRequestToJSON, GetUserByEmailResponseFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -57,12 +57,12 @@ export class UserSearchControllerApi extends runtime.BaseAPI {
|
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* getUserByEmail
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
getUserByEmailUsingPOSTRaw(requestParameters) {
|
|
63
63
|
return __awaiter(this, void 0, void 0, function* () {
|
|
64
64
|
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
65
|
-
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling
|
|
65
|
+
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling getUserByEmailUsingPOST.');
|
|
66
66
|
}
|
|
67
67
|
const queryParameters = {};
|
|
68
68
|
const headerParameters = {};
|
|
@@ -72,17 +72,17 @@ export class UserSearchControllerApi extends runtime.BaseAPI {
|
|
|
72
72
|
method: 'POST',
|
|
73
73
|
headers: headerParameters,
|
|
74
74
|
query: queryParameters,
|
|
75
|
-
body:
|
|
75
|
+
body: GetUserByEmailRequestToJSON(requestParameters.request),
|
|
76
76
|
});
|
|
77
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
77
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetUserByEmailResponseFromJSON(jsonValue));
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* getUserByEmail
|
|
82
82
|
*/
|
|
83
|
-
|
|
83
|
+
getUserByEmailUsingPOST(requestParameters) {
|
|
84
84
|
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
-
const response = yield this.
|
|
85
|
+
const response = yield this.getUserByEmailUsingPOSTRaw(requestParameters);
|
|
86
86
|
return yield response.value();
|
|
87
87
|
});
|
|
88
88
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import { SaveUserSocialProfileRequest } from '../models';
|
|
14
|
+
export interface RemoveUserSocialProfileUsingDELETERequest {
|
|
15
|
+
platform: RemoveUserSocialProfileUsingDELETEPlatformEnum;
|
|
16
|
+
userId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface SaveUserSocialProfilesUsingPOSTRequest {
|
|
19
|
+
userId: string;
|
|
20
|
+
request: SaveUserSocialProfileRequest;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare class UserSocialProfileControllerApi extends runtime.BaseAPI {
|
|
26
|
+
/**
|
|
27
|
+
* removeUserSocialProfile
|
|
28
|
+
*/
|
|
29
|
+
removeUserSocialProfileUsingDELETERaw(requestParameters: RemoveUserSocialProfileUsingDELETERequest): Promise<runtime.ApiResponse<void>>;
|
|
30
|
+
/**
|
|
31
|
+
* removeUserSocialProfile
|
|
32
|
+
*/
|
|
33
|
+
removeUserSocialProfileUsingDELETE(requestParameters: RemoveUserSocialProfileUsingDELETERequest): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* saveUserSocialProfiles
|
|
36
|
+
*/
|
|
37
|
+
saveUserSocialProfilesUsingPOSTRaw(requestParameters: SaveUserSocialProfilesUsingPOSTRequest): Promise<runtime.ApiResponse<void>>;
|
|
38
|
+
/**
|
|
39
|
+
* saveUserSocialProfiles
|
|
40
|
+
*/
|
|
41
|
+
saveUserSocialProfilesUsingPOST(requestParameters: SaveUserSocialProfilesUsingPOSTRequest): Promise<void>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
* @enum {string}
|
|
46
|
+
*/
|
|
47
|
+
export declare enum RemoveUserSocialProfileUsingDELETEPlatformEnum {
|
|
48
|
+
INSTAGRAM = "INSTAGRAM",
|
|
49
|
+
SNAPCHAT = "SNAPCHAT",
|
|
50
|
+
TIKTOK = "TIKTOK",
|
|
51
|
+
TWITCH = "TWITCH",
|
|
52
|
+
X = "X",
|
|
53
|
+
YOUTUBE = "YOUTUBE"
|
|
54
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { SaveUserSocialProfileRequestToJSON, } from '../models';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class UserSocialProfileControllerApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* removeUserSocialProfile
|
|
31
|
+
*/
|
|
32
|
+
removeUserSocialProfileUsingDELETERaw(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters.platform === null || requestParameters.platform === undefined) {
|
|
35
|
+
throw new runtime.RequiredError('platform', 'Required parameter requestParameters.platform was null or undefined when calling removeUserSocialProfileUsingDELETE.');
|
|
36
|
+
}
|
|
37
|
+
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
38
|
+
throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling removeUserSocialProfileUsingDELETE.');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
if (requestParameters.platform !== undefined) {
|
|
42
|
+
queryParameters['platform'] = requestParameters.platform;
|
|
43
|
+
}
|
|
44
|
+
const headerParameters = {};
|
|
45
|
+
const response = yield this.request({
|
|
46
|
+
path: `/api/v1/users/{userId}/social-profiles`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters.userId))),
|
|
47
|
+
method: 'DELETE',
|
|
48
|
+
headers: headerParameters,
|
|
49
|
+
query: queryParameters,
|
|
50
|
+
});
|
|
51
|
+
return new runtime.VoidApiResponse(response);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* removeUserSocialProfile
|
|
56
|
+
*/
|
|
57
|
+
removeUserSocialProfileUsingDELETE(requestParameters) {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
yield this.removeUserSocialProfileUsingDELETERaw(requestParameters);
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* saveUserSocialProfiles
|
|
64
|
+
*/
|
|
65
|
+
saveUserSocialProfilesUsingPOSTRaw(requestParameters) {
|
|
66
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
67
|
+
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
68
|
+
throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling saveUserSocialProfilesUsingPOST.');
|
|
69
|
+
}
|
|
70
|
+
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
71
|
+
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling saveUserSocialProfilesUsingPOST.');
|
|
72
|
+
}
|
|
73
|
+
const queryParameters = {};
|
|
74
|
+
const headerParameters = {};
|
|
75
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
76
|
+
const response = yield this.request({
|
|
77
|
+
path: `/api/v1/users/{userId}/social-profiles`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters.userId))),
|
|
78
|
+
method: 'POST',
|
|
79
|
+
headers: headerParameters,
|
|
80
|
+
query: queryParameters,
|
|
81
|
+
body: SaveUserSocialProfileRequestToJSON(requestParameters.request),
|
|
82
|
+
});
|
|
83
|
+
return new runtime.VoidApiResponse(response);
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* saveUserSocialProfiles
|
|
88
|
+
*/
|
|
89
|
+
saveUserSocialProfilesUsingPOST(requestParameters) {
|
|
90
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
91
|
+
yield this.saveUserSocialProfilesUsingPOSTRaw(requestParameters);
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @export
|
|
97
|
+
* @enum {string}
|
|
98
|
+
*/
|
|
99
|
+
export var RemoveUserSocialProfileUsingDELETEPlatformEnum;
|
|
100
|
+
(function (RemoveUserSocialProfileUsingDELETEPlatformEnum) {
|
|
101
|
+
RemoveUserSocialProfileUsingDELETEPlatformEnum["INSTAGRAM"] = "INSTAGRAM";
|
|
102
|
+
RemoveUserSocialProfileUsingDELETEPlatformEnum["SNAPCHAT"] = "SNAPCHAT";
|
|
103
|
+
RemoveUserSocialProfileUsingDELETEPlatformEnum["TIKTOK"] = "TIKTOK";
|
|
104
|
+
RemoveUserSocialProfileUsingDELETEPlatformEnum["TWITCH"] = "TWITCH";
|
|
105
|
+
RemoveUserSocialProfileUsingDELETEPlatformEnum["X"] = "X";
|
|
106
|
+
RemoveUserSocialProfileUsingDELETEPlatformEnum["YOUTUBE"] = "YOUTUBE";
|
|
107
|
+
})(RemoveUserSocialProfileUsingDELETEPlatformEnum || (RemoveUserSocialProfileUsingDELETEPlatformEnum = {}));
|
|
@@ -29,6 +29,7 @@ export * from './CitationControllerApi';
|
|
|
29
29
|
export * from './CoachingCardsControllerApi';
|
|
30
30
|
export * from './ConfigurationControllerApi';
|
|
31
31
|
export * from './ConsoleListControllerApi';
|
|
32
|
+
export * from './ContactLoopWebhookControllerApi';
|
|
32
33
|
export * from './ContactTimelineControllerApi';
|
|
33
34
|
export * from './ConversationControllerApi';
|
|
34
35
|
export * from './CountyControllerApi';
|
|
@@ -54,6 +55,7 @@ export * from './GetCaseControllerApi';
|
|
|
54
55
|
export * from './HouseholdMateControllerApi';
|
|
55
56
|
export * from './HubspotWebhookControllerApi';
|
|
56
57
|
export * from './InsuranceCalculatorControllerApi';
|
|
58
|
+
export * from './IntercomTicketControllerApi';
|
|
57
59
|
export * from './LawfirmCaseDecisionControllerApi';
|
|
58
60
|
export * from './LawfirmCasesControllerApi';
|
|
59
61
|
export * from './LawfirmControllerApi';
|
|
@@ -102,6 +104,7 @@ export * from './UserPasswordControllerApi';
|
|
|
102
104
|
export * from './UserProfileControllerApi';
|
|
103
105
|
export * from './UserSearchControllerApi';
|
|
104
106
|
export * from './UserSettingsControllerApi';
|
|
107
|
+
export * from './UserSocialProfileControllerApi';
|
|
105
108
|
export * from './UtilityControllerApi';
|
|
106
109
|
export * from './ValidationControllerApi';
|
|
107
110
|
export * from './VerificationControllerApi';
|
|
@@ -29,6 +29,7 @@ export * from './CitationControllerApi';
|
|
|
29
29
|
export * from './CoachingCardsControllerApi';
|
|
30
30
|
export * from './ConfigurationControllerApi';
|
|
31
31
|
export * from './ConsoleListControllerApi';
|
|
32
|
+
export * from './ContactLoopWebhookControllerApi';
|
|
32
33
|
export * from './ContactTimelineControllerApi';
|
|
33
34
|
export * from './ConversationControllerApi';
|
|
34
35
|
export * from './CountyControllerApi';
|
|
@@ -54,6 +55,7 @@ export * from './GetCaseControllerApi';
|
|
|
54
55
|
export * from './HouseholdMateControllerApi';
|
|
55
56
|
export * from './HubspotWebhookControllerApi';
|
|
56
57
|
export * from './InsuranceCalculatorControllerApi';
|
|
58
|
+
export * from './IntercomTicketControllerApi';
|
|
57
59
|
export * from './LawfirmCaseDecisionControllerApi';
|
|
58
60
|
export * from './LawfirmCasesControllerApi';
|
|
59
61
|
export * from './LawfirmControllerApi';
|
|
@@ -102,6 +104,7 @@ export * from './UserPasswordControllerApi';
|
|
|
102
104
|
export * from './UserProfileControllerApi';
|
|
103
105
|
export * from './UserSearchControllerApi';
|
|
104
106
|
export * from './UserSettingsControllerApi';
|
|
107
|
+
export * from './UserSocialProfileControllerApi';
|
|
105
108
|
export * from './UtilityControllerApi';
|
|
106
109
|
export * from './ValidationControllerApi';
|
|
107
110
|
export * from './VerificationControllerApi';
|
|
@@ -20,6 +20,7 @@ export function AddExtraAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
return json;
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
|
+
'isEmailConfirmed': !exists(json, 'isEmailConfirmed') ? undefined : json['isEmailConfirmed'],
|
|
23
24
|
'isPrimaryAccount': !exists(json, 'isPrimaryAccount') ? undefined : json['isPrimaryAccount'],
|
|
24
25
|
'newEmailAddress': !exists(json, 'newEmailAddress') ? undefined : json['newEmailAddress'],
|
|
25
26
|
'password': !exists(json, 'password') ? undefined : json['password'],
|
|
@@ -33,6 +34,7 @@ export function AddExtraAccountRequestToJSON(value) {
|
|
|
33
34
|
return null;
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
37
|
+
'isEmailConfirmed': value.isEmailConfirmed,
|
|
36
38
|
'isPrimaryAccount': value.isPrimaryAccount,
|
|
37
39
|
'newEmailAddress': value.newEmailAddress,
|
|
38
40
|
'password': value.password,
|
|
@@ -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 Admin
|
|
16
|
+
*/
|
|
17
|
+
export interface Admin {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Admin
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Admin
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Admin
|
|
34
|
+
*/
|
|
35
|
+
type?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function AdminFromJSON(json: any): Admin;
|
|
38
|
+
export declare function AdminFromJSONTyped(json: any, ignoreDiscriminator: boolean): Admin;
|
|
39
|
+
export declare function AdminToJSON(value?: Admin | 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 AdminFromJSON(json) {
|
|
16
|
+
return AdminFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function AdminFromJSONTyped(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 AdminToJSON(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
|
+
}
|
|
@@ -39,6 +39,12 @@ export interface AnonymousTicketUploadModel {
|
|
|
39
39
|
* @memberof AnonymousTicketUploadModel
|
|
40
40
|
*/
|
|
41
41
|
isDismissedFromContactList?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AnonymousTicketUploadModel
|
|
46
|
+
*/
|
|
47
|
+
signedTicketImageUrl?: string;
|
|
42
48
|
/**
|
|
43
49
|
*
|
|
44
50
|
* @type {string}
|
|
@@ -24,6 +24,7 @@ export function AnonymousTicketUploadModelFromJSONTyped(json, ignoreDiscriminato
|
|
|
24
24
|
'clientEmailAddress': !exists(json, 'clientEmailAddress') ? undefined : json['clientEmailAddress'],
|
|
25
25
|
'creationDateUTC': !exists(json, 'creationDateUTC') ? undefined : (new Date(json['creationDateUTC'])),
|
|
26
26
|
'isDismissedFromContactList': !exists(json, 'isDismissedFromContactList') ? undefined : json['isDismissedFromContactList'],
|
|
27
|
+
'signedTicketImageUrl': !exists(json, 'signedTicketImageUrl') ? undefined : json['signedTicketImageUrl'],
|
|
27
28
|
'ticketImageUrl': !exists(json, 'ticketImageUrl') ? undefined : json['ticketImageUrl'],
|
|
28
29
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
29
30
|
};
|
|
@@ -40,6 +41,7 @@ export function AnonymousTicketUploadModelToJSON(value) {
|
|
|
40
41
|
'clientEmailAddress': value.clientEmailAddress,
|
|
41
42
|
'creationDateUTC': value.creationDateUTC === undefined ? undefined : (value.creationDateUTC.toISOString()),
|
|
42
43
|
'isDismissedFromContactList': value.isDismissedFromContactList,
|
|
44
|
+
'signedTicketImageUrl': value.signedTicketImageUrl,
|
|
43
45
|
'ticketImageUrl': value.ticketImageUrl,
|
|
44
46
|
'userId': value.userId,
|
|
45
47
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
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 Attachment
|
|
16
|
+
*/
|
|
17
|
+
export interface Attachment {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Attachment
|
|
22
|
+
*/
|
|
23
|
+
type?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Attachment
|
|
28
|
+
*/
|
|
29
|
+
url?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function AttachmentFromJSON(json: any): Attachment;
|
|
32
|
+
export declare function AttachmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Attachment;
|
|
33
|
+
export declare function AttachmentToJSON(value?: Attachment | null): any;
|