@otr-app/shared-backend-generated-client 2.3.250 → 2.3.252

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.
Files changed (36) hide show
  1. package/dist/angular/.openapi-generator/FILES +6 -0
  2. package/dist/angular/api/api.ts +3 -1
  3. package/dist/angular/api/userSocialProfileController.service.ts +233 -0
  4. package/dist/angular/api.module.ts +1 -0
  5. package/dist/angular/model/models.ts +5 -0
  6. package/dist/angular/model/saveUserSocialProfileModel.ts +30 -0
  7. package/dist/angular/model/saveUserSocialProfileRequest.ts +18 -0
  8. package/dist/angular/model/userDomain.ts +3 -0
  9. package/dist/angular/model/userDomainReq.ts +3 -0
  10. package/dist/angular/model/userDomainRes.ts +3 -0
  11. package/dist/angular/model/userSocialProfileModel.ts +30 -0
  12. package/dist/angular/model/userSocialProfileModelReq.ts +30 -0
  13. package/dist/angular/model/userSocialProfileModelRes.ts +30 -0
  14. package/dist/otrBackendService.js +89 -0
  15. package/dist/otrBackendService.min.js +2 -2
  16. package/dist/typescript/api/UserSocialProfileControllerApi.d.ts +35 -0
  17. package/dist/typescript/api/UserSocialProfileControllerApi.js +93 -0
  18. package/dist/typescript/api/api.d.ts +3 -1
  19. package/dist/typescript/api/api.js +3 -1
  20. package/dist/typescript/api.module.js +1 -0
  21. package/dist/typescript/model/SaveUserSocialProfileModel.d.ts +25 -0
  22. package/dist/typescript/model/SaveUserSocialProfileModel.js +26 -0
  23. package/dist/typescript/model/SaveUserSocialProfileRequest.d.ts +15 -0
  24. package/dist/typescript/model/SaveUserSocialProfileRequest.js +13 -0
  25. package/dist/typescript/model/UserDomain.d.ts +2 -0
  26. package/dist/typescript/model/UserDomainReq.d.ts +2 -0
  27. package/dist/typescript/model/UserDomainRes.d.ts +2 -0
  28. package/dist/typescript/model/UserSocialProfileModel.d.ts +25 -0
  29. package/dist/typescript/model/UserSocialProfileModel.js +26 -0
  30. package/dist/typescript/model/UserSocialProfileModelReq.d.ts +25 -0
  31. package/dist/typescript/model/UserSocialProfileModelReq.js +26 -0
  32. package/dist/typescript/model/UserSocialProfileModelRes.d.ts +25 -0
  33. package/dist/typescript/model/UserSocialProfileModelRes.js +26 -0
  34. package/dist/typescript/model/models.d.ts +5 -0
  35. package/dist/typescript/model/models.js +5 -0
  36. package/package.json +1 -1
@@ -106,6 +106,7 @@ api/userPasswordController.service.ts
106
106
  api/userProfileController.service.ts
107
107
  api/userSearchController.service.ts
108
108
  api/userSettingsController.service.ts
109
+ api/userSocialProfileController.service.ts
109
110
  api/utilityController.service.ts
110
111
  api/validationController.service.ts
111
112
  api/verificationController.service.ts
@@ -712,6 +713,8 @@ model/saveLawyerLicenseModel.ts
712
713
  model/saveLawyerLicensesRequest.ts
713
714
  model/saveLawyerRequest.ts
714
715
  model/saveNotesRequest.ts
716
+ model/saveUserSocialProfileModel.ts
717
+ model/saveUserSocialProfileRequest.ts
715
718
  model/saveUserWatchlistsRequest.ts
716
719
  model/scheduleNewPaymentRequest.ts
717
720
  model/scheduledTaskGetResponse.ts
@@ -852,6 +855,9 @@ model/userRefLinkDomain.ts
852
855
  model/userReferralSourceTypeModel.ts
853
856
  model/userRegistrationStats.ts
854
857
  model/userRoleDomain.ts
858
+ model/userSocialProfileModel.ts
859
+ model/userSocialProfileModelReq.ts
860
+ model/userSocialProfileModelRes.ts
855
861
  model/userSubscriptionPlanModel.ts
856
862
  model/userSubscriptionPlanModelReq.ts
857
863
  model/userSubscriptionPlanModelRes.ts
@@ -206,6 +206,8 @@ export * from './userSearchController.service';
206
206
  import { UserSearchControllerService } from './userSearchController.service';
207
207
  export * from './userSettingsController.service';
208
208
  import { UserSettingsControllerService } from './userSettingsController.service';
209
+ export * from './userSocialProfileController.service';
210
+ import { UserSocialProfileControllerService } from './userSocialProfileController.service';
209
211
  export * from './utilityController.service';
210
212
  import { UtilityControllerService } from './utilityController.service';
211
213
  export * from './validationController.service';
@@ -222,4 +224,4 @@ export * from './websocketMessageController.service';
222
224
  import { WebsocketMessageControllerService } from './websocketMessageController.service';
223
225
  export * from './workflowStateController.service';
224
226
  import { WorkflowStateControllerService } from './workflowStateController.service';
225
- export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BlogWebhookControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCounterOfferControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CertificateControllerService, CitationAuditControllerService, CitationControllerService, CoachingCardsControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, DriverLicenseControllerService, EmailSubscriptionControllerService, EmployeeControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, LawfirmDocumentControllerService, LawfirmFeeCoverageControllerService, LawfirmPaymentModelControllerService, LawfirmRatesControllerService, LawfirmSettingsControllerService, LawfirmStorefrontControllerService, LawfirmSurchargeControllerService, LawfirmTransactionsControllerService, LawyerControllerService, LegalServicesControllerService, LineItemControllerService, ListCasesControllerService, MediaCreationControllerService, MessagesControllerService, NotesControllerService, OcrPredictionControllerService, OnDemandRequestControllerService, OneTimePasswordControllerService, PhoneLeadsControllerService, PushNotificationControllerService, RecurringBillingControllerService, RefLinkControllerService, ReferralCodeControllerService, ReferralControllerService, ReferralSourceControllerService, RefundEligibilityControllerService, RegistrationControllerService, ReportingControllerService, ScheduledTaskControllerService, SingleSignOnControllerService, SnsListenerControllerService, SocialLoginControllerService, StripeCardControllerService, StripeControllerService, StripeSyncControllerService, StripeWebhookControllerService, TicketReviewControllerService, UrlRedirectControllerService, UserAccountControllerService, UserAuditControllerService, UserControllerService, UserPasswordControllerService, UserProfileControllerService, UserSearchControllerService, UserSettingsControllerService, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
227
+ export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BlogWebhookControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCounterOfferControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CertificateControllerService, CitationAuditControllerService, CitationControllerService, CoachingCardsControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, DriverLicenseControllerService, EmailSubscriptionControllerService, EmployeeControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, LawfirmDocumentControllerService, LawfirmFeeCoverageControllerService, LawfirmPaymentModelControllerService, LawfirmRatesControllerService, LawfirmSettingsControllerService, LawfirmStorefrontControllerService, LawfirmSurchargeControllerService, LawfirmTransactionsControllerService, LawyerControllerService, LegalServicesControllerService, LineItemControllerService, ListCasesControllerService, MediaCreationControllerService, MessagesControllerService, NotesControllerService, OcrPredictionControllerService, OnDemandRequestControllerService, OneTimePasswordControllerService, PhoneLeadsControllerService, PushNotificationControllerService, RecurringBillingControllerService, RefLinkControllerService, ReferralCodeControllerService, ReferralControllerService, ReferralSourceControllerService, RefundEligibilityControllerService, RegistrationControllerService, ReportingControllerService, ScheduledTaskControllerService, SingleSignOnControllerService, SnsListenerControllerService, SocialLoginControllerService, StripeCardControllerService, StripeControllerService, StripeSyncControllerService, StripeWebhookControllerService, TicketReviewControllerService, UrlRedirectControllerService, UserAccountControllerService, UserAuditControllerService, UserControllerService, UserPasswordControllerService, UserProfileControllerService, UserSearchControllerService, UserSettingsControllerService, UserSocialProfileControllerService, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
@@ -0,0 +1,233 @@
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
+ /* tslint:disable:no-unused-variable member-ordering */
13
+
14
+ import { Inject, Injectable, Optional } from '@angular/core';
15
+ import { HttpClient, HttpHeaders, HttpParams,
16
+ HttpResponse, HttpEvent, HttpParameterCodec, HttpContext
17
+ } from '@angular/common/http';
18
+ import { CustomHttpParameterCodec } from '../encoder';
19
+ import { Observable } from 'rxjs';
20
+
21
+ // @ts-ignore
22
+ import { SaveUserSocialProfileRequest } from '../model/saveUserSocialProfileRequest';
23
+
24
+ // @ts-ignore
25
+ import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
26
+ import { Configuration } from '../configuration';
27
+
28
+
29
+
30
+ @Injectable({
31
+ providedIn: 'root'
32
+ })
33
+ export class UserSocialProfileControllerService {
34
+
35
+ protected basePath = 'http://otr-backend-service-us-devo.offtherecord.com';
36
+ public defaultHeaders = new HttpHeaders();
37
+ public configuration = new Configuration();
38
+ public encoder: HttpParameterCodec;
39
+
40
+ constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {
41
+ if (configuration) {
42
+ this.configuration = configuration;
43
+ }
44
+ if (typeof this.configuration.basePath !== 'string') {
45
+ if (Array.isArray(basePath) && basePath.length > 0) {
46
+ basePath = basePath[0];
47
+ }
48
+
49
+ if (typeof basePath !== 'string') {
50
+ basePath = this.basePath;
51
+ }
52
+ this.configuration.basePath = basePath;
53
+ }
54
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
55
+ }
56
+
57
+
58
+ // @ts-ignore
59
+ private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
60
+ if (typeof value === "object" && value instanceof Date === false) {
61
+ httpParams = this.addToHttpParamsRecursive(httpParams, value);
62
+ } else {
63
+ httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
64
+ }
65
+ return httpParams;
66
+ }
67
+
68
+ private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
69
+ if (value == null) {
70
+ return httpParams;
71
+ }
72
+
73
+ if (typeof value === "object") {
74
+ if (Array.isArray(value)) {
75
+ (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
76
+ } else if (value instanceof Date) {
77
+ if (key != null) {
78
+ httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));
79
+ } else {
80
+ throw Error("key may not be null if value is Date");
81
+ }
82
+ } else {
83
+ Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
84
+ httpParams, value[k], key != null ? `${key}.${k}` : k));
85
+ }
86
+ } else if (key != null) {
87
+ httpParams = httpParams.append(key, value);
88
+ } else {
89
+ throw Error("key may not be null if value is not object or array");
90
+ }
91
+ return httpParams;
92
+ }
93
+
94
+ /**
95
+ * removeUserSocialProfile
96
+ * @param platform platform
97
+ * @param userId userId
98
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
99
+ * @param reportProgress flag to report request and response progress.
100
+ */
101
+ public removeUserSocialProfileUsingDELETE(platform: 'INSTAGRAM' | 'SNAPCHAT' | 'TIKTOK' | 'TWITCH' | 'X' | 'YOUTUBE', userId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
102
+ public removeUserSocialProfileUsingDELETE(platform: 'INSTAGRAM' | 'SNAPCHAT' | 'TIKTOK' | 'TWITCH' | 'X' | 'YOUTUBE', userId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
103
+ public removeUserSocialProfileUsingDELETE(platform: 'INSTAGRAM' | 'SNAPCHAT' | 'TIKTOK' | 'TWITCH' | 'X' | 'YOUTUBE', userId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
104
+ public removeUserSocialProfileUsingDELETE(platform: 'INSTAGRAM' | 'SNAPCHAT' | 'TIKTOK' | 'TWITCH' | 'X' | 'YOUTUBE', userId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
105
+ if (platform === null || platform === undefined) {
106
+ throw new Error('Required parameter platform was null or undefined when calling removeUserSocialProfileUsingDELETE.');
107
+ }
108
+ if (userId === null || userId === undefined) {
109
+ throw new Error('Required parameter userId was null or undefined when calling removeUserSocialProfileUsingDELETE.');
110
+ }
111
+
112
+ let localVarQueryParameters = new HttpParams({encoder: this.encoder});
113
+ if (platform !== undefined && platform !== null) {
114
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
115
+ <any>platform, 'platform');
116
+ }
117
+
118
+ let localVarHeaders = this.defaultHeaders;
119
+
120
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
121
+ if (localVarHttpHeaderAcceptSelected === undefined) {
122
+ // to determine the Accept header
123
+ const httpHeaderAccepts: string[] = [
124
+ ];
125
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
126
+ }
127
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
128
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
129
+ }
130
+
131
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
132
+ if (localVarHttpContext === undefined) {
133
+ localVarHttpContext = new HttpContext();
134
+ }
135
+
136
+
137
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
138
+ if (localVarHttpHeaderAcceptSelected) {
139
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
140
+ responseType_ = 'text';
141
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
142
+ responseType_ = 'json';
143
+ } else {
144
+ responseType_ = 'blob';
145
+ }
146
+ }
147
+
148
+ let localVarPath = `/api/v1/users/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/social-profiles`;
149
+ return this.httpClient.request<any>('delete', `${this.configuration.basePath}${localVarPath}`,
150
+ {
151
+ context: localVarHttpContext,
152
+ params: localVarQueryParameters,
153
+ responseType: <any>responseType_,
154
+ withCredentials: this.configuration.withCredentials,
155
+ headers: localVarHeaders,
156
+ observe: observe,
157
+ reportProgress: reportProgress
158
+ }
159
+ );
160
+ }
161
+
162
+ /**
163
+ * saveUserSocialProfiles
164
+ * @param userId userId
165
+ * @param request request
166
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
167
+ * @param reportProgress flag to report request and response progress.
168
+ */
169
+ public saveUserSocialProfilesUsingPOST(userId: string, request: SaveUserSocialProfileRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
170
+ public saveUserSocialProfilesUsingPOST(userId: string, request: SaveUserSocialProfileRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
171
+ public saveUserSocialProfilesUsingPOST(userId: string, request: SaveUserSocialProfileRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
172
+ public saveUserSocialProfilesUsingPOST(userId: string, request: SaveUserSocialProfileRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
173
+ if (userId === null || userId === undefined) {
174
+ throw new Error('Required parameter userId was null or undefined when calling saveUserSocialProfilesUsingPOST.');
175
+ }
176
+ if (request === null || request === undefined) {
177
+ throw new Error('Required parameter request was null or undefined when calling saveUserSocialProfilesUsingPOST.');
178
+ }
179
+
180
+ let localVarHeaders = this.defaultHeaders;
181
+
182
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
183
+ if (localVarHttpHeaderAcceptSelected === undefined) {
184
+ // to determine the Accept header
185
+ const httpHeaderAccepts: string[] = [
186
+ ];
187
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
188
+ }
189
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
190
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
191
+ }
192
+
193
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
194
+ if (localVarHttpContext === undefined) {
195
+ localVarHttpContext = new HttpContext();
196
+ }
197
+
198
+
199
+ // to determine the Content-Type header
200
+ const consumes: string[] = [
201
+ 'application/json'
202
+ ];
203
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
204
+ if (httpContentTypeSelected !== undefined) {
205
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
206
+ }
207
+
208
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
209
+ if (localVarHttpHeaderAcceptSelected) {
210
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
211
+ responseType_ = 'text';
212
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
213
+ responseType_ = 'json';
214
+ } else {
215
+ responseType_ = 'blob';
216
+ }
217
+ }
218
+
219
+ let localVarPath = `/api/v1/users/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/social-profiles`;
220
+ return this.httpClient.request<any>('post', `${this.configuration.basePath}${localVarPath}`,
221
+ {
222
+ context: localVarHttpContext,
223
+ body: request,
224
+ responseType: <any>responseType_,
225
+ withCredentials: this.configuration.withCredentials,
226
+ headers: localVarHeaders,
227
+ observe: observe,
228
+ reportProgress: reportProgress
229
+ }
230
+ );
231
+ }
232
+
233
+ }
@@ -106,6 +106,7 @@ import { UserPasswordControllerService } from './api/userPasswordController.serv
106
106
  import { UserProfileControllerService } from './api/userProfileController.service';
107
107
  import { UserSearchControllerService } from './api/userSearchController.service';
108
108
  import { UserSettingsControllerService } from './api/userSettingsController.service';
109
+ import { UserSocialProfileControllerService } from './api/userSocialProfileController.service';
109
110
  import { UtilityControllerService } from './api/utilityController.service';
110
111
  import { ValidationControllerService } from './api/validationController.service';
111
112
  import { VerificationControllerService } from './api/verificationController.service';
@@ -591,6 +591,8 @@ export * from './saveLawyerLicenseModel';
591
591
  export * from './saveLawyerLicensesRequest';
592
592
  export * from './saveLawyerRequest';
593
593
  export * from './saveNotesRequest';
594
+ export * from './saveUserSocialProfileModel';
595
+ export * from './saveUserSocialProfileRequest';
594
596
  export * from './saveUserWatchlistsRequest';
595
597
  export * from './scheduleNewPaymentRequest';
596
598
  export * from './scheduledTaskGetResponse';
@@ -731,6 +733,9 @@ export * from './userRefLinkDomain';
731
733
  export * from './userReferralSourceTypeModel';
732
734
  export * from './userRegistrationStats';
733
735
  export * from './userRoleDomain';
736
+ export * from './userSocialProfileModel';
737
+ export * from './userSocialProfileModelReq';
738
+ export * from './userSocialProfileModelRes';
734
739
  export * from './userSubscriptionPlanModel';
735
740
  export * from './userSubscriptionPlanModelReq';
736
741
  export * from './userSubscriptionPlanModelRes';
@@ -0,0 +1,30 @@
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 interface SaveUserSocialProfileModel {
15
+ platform: SaveUserSocialProfileModel.PlatformEnum;
16
+ userHandle: string;
17
+ }
18
+ export namespace SaveUserSocialProfileModel {
19
+ export type PlatformEnum = 'INSTAGRAM' | 'SNAPCHAT' | 'TIKTOK' | 'TWITCH' | 'X' | 'YOUTUBE';
20
+ export const PlatformEnum = {
21
+ Instagram: 'INSTAGRAM' as PlatformEnum,
22
+ Snapchat: 'SNAPCHAT' as PlatformEnum,
23
+ Tiktok: 'TIKTOK' as PlatformEnum,
24
+ Twitch: 'TWITCH' as PlatformEnum,
25
+ X: 'X' as PlatformEnum,
26
+ Youtube: 'YOUTUBE' as PlatformEnum
27
+ };
28
+ }
29
+
30
+
@@ -0,0 +1,18 @@
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 { SaveUserSocialProfileModel } from './saveUserSocialProfileModel';
13
+
14
+
15
+ export interface SaveUserSocialProfileRequest {
16
+ profiles?: Array<SaveUserSocialProfileModel>;
17
+ }
18
+
@@ -12,6 +12,7 @@
12
12
  import { UserAccountModel } from './userAccountModel';
13
13
  import { AddressDomain } from './addressDomain';
14
14
  import { PhoneNumberDomain } from './phoneNumberDomain';
15
+ import { UserSocialProfileModel } from './userSocialProfileModel';
15
16
  import { UserRoleDomain } from './userRoleDomain';
16
17
  import { UserSubscriptionPlanModel } from './userSubscriptionPlanModel';
17
18
  import { Timestamp } from './timestamp';
@@ -52,9 +53,11 @@ export interface UserDomain {
52
53
  race?: UserDomain.RaceEnum;
53
54
  referralCode?: string;
54
55
  referralCount?: number;
56
+ referralLink?: string;
55
57
  roles?: Set<UserRoleDomain>;
56
58
  signUpCode?: string;
57
59
  signUpCodeUseCount?: number;
60
+ socialProfiles?: Array<UserSocialProfileModel>;
58
61
  subscriptionPlans?: Array<UserSubscriptionPlanModel>;
59
62
  userAlias?: string;
60
63
  userId?: number;
@@ -15,6 +15,7 @@ import { TimestampReq } from './timestampReq';
15
15
  import { UserRoleDomain } from './userRoleDomain';
16
16
  import { UserSubscriptionPlanModelReq } from './userSubscriptionPlanModelReq';
17
17
  import { PhoneNumberDomainReq } from './phoneNumberDomainReq';
18
+ import { UserSocialProfileModelReq } from './userSocialProfileModelReq';
18
19
 
19
20
 
20
21
  export interface UserDomainReq {
@@ -51,9 +52,11 @@ export interface UserDomainReq {
51
52
  race?: UserDomainReq.RaceEnum;
52
53
  referralCode?: string;
53
54
  referralCount?: number;
55
+ referralLink?: string;
54
56
  roles?: Set<UserRoleDomain>;
55
57
  signUpCode?: string;
56
58
  signUpCodeUseCount?: number;
59
+ socialProfiles?: Array<UserSocialProfileModelReq>;
57
60
  subscriptionPlans?: Array<UserSubscriptionPlanModelReq>;
58
61
  userAlias?: string;
59
62
  userId?: number;
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { UserSocialProfileModelRes } from './userSocialProfileModelRes';
12
13
  import { UserAccountModel } from './userAccountModel';
13
14
  import { UserSubscriptionPlanModelRes } from './userSubscriptionPlanModelRes';
14
15
  import { UserRoleDomain } from './userRoleDomain';
@@ -52,9 +53,11 @@ export interface UserDomainRes {
52
53
  race?: UserDomainRes.RaceEnum;
53
54
  referralCode?: string;
54
55
  referralCount?: number;
56
+ referralLink?: string;
55
57
  roles?: Set<UserRoleDomain>;
56
58
  signUpCode?: string;
57
59
  signUpCodeUseCount?: number;
60
+ socialProfiles?: Array<UserSocialProfileModelRes>;
58
61
  subscriptionPlans?: Array<UserSubscriptionPlanModelRes>;
59
62
  userAlias?: string;
60
63
  userId?: number;
@@ -0,0 +1,30 @@
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 interface UserSocialProfileModel {
15
+ platform?: UserSocialProfileModel.PlatformEnum;
16
+ userHandle?: string;
17
+ }
18
+ export namespace UserSocialProfileModel {
19
+ export type PlatformEnum = 'INSTAGRAM' | 'SNAPCHAT' | 'TIKTOK' | 'TWITCH' | 'X' | 'YOUTUBE';
20
+ export const PlatformEnum = {
21
+ Instagram: 'INSTAGRAM' as PlatformEnum,
22
+ Snapchat: 'SNAPCHAT' as PlatformEnum,
23
+ Tiktok: 'TIKTOK' as PlatformEnum,
24
+ Twitch: 'TWITCH' as PlatformEnum,
25
+ X: 'X' as PlatformEnum,
26
+ Youtube: 'YOUTUBE' as PlatformEnum
27
+ };
28
+ }
29
+
30
+
@@ -0,0 +1,30 @@
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 interface UserSocialProfileModelReq {
15
+ platform?: UserSocialProfileModelReq.PlatformEnum;
16
+ userHandle?: string;
17
+ }
18
+ export namespace UserSocialProfileModelReq {
19
+ export type PlatformEnum = 'INSTAGRAM' | 'SNAPCHAT' | 'TIKTOK' | 'TWITCH' | 'X' | 'YOUTUBE';
20
+ export const PlatformEnum = {
21
+ Instagram: 'INSTAGRAM' as PlatformEnum,
22
+ Snapchat: 'SNAPCHAT' as PlatformEnum,
23
+ Tiktok: 'TIKTOK' as PlatformEnum,
24
+ Twitch: 'TWITCH' as PlatformEnum,
25
+ X: 'X' as PlatformEnum,
26
+ Youtube: 'YOUTUBE' as PlatformEnum
27
+ };
28
+ }
29
+
30
+
@@ -0,0 +1,30 @@
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 interface UserSocialProfileModelRes {
15
+ platform?: UserSocialProfileModelRes.PlatformEnum;
16
+ userHandle?: string;
17
+ }
18
+ export namespace UserSocialProfileModelRes {
19
+ export type PlatformEnum = 'INSTAGRAM' | 'SNAPCHAT' | 'TIKTOK' | 'TWITCH' | 'X' | 'YOUTUBE';
20
+ export const PlatformEnum = {
21
+ Instagram: 'INSTAGRAM' as PlatformEnum,
22
+ Snapchat: 'SNAPCHAT' as PlatformEnum,
23
+ Tiktok: 'TIKTOK' as PlatformEnum,
24
+ Twitch: 'TWITCH' as PlatformEnum,
25
+ X: 'X' as PlatformEnum,
26
+ Youtube: 'YOUTUBE' as PlatformEnum
27
+ };
28
+ }
29
+
30
+
@@ -16283,6 +16283,95 @@ angular.module('otrBackendService', [])
16283
16283
 
16284
16284
  return deferred.promise;
16285
16285
  };
16286
+ /**
16287
+ * saveUserSocialProfiles
16288
+ * @method
16289
+ * @name OtrService#saveUserSocialProfilesUsingPOST
16290
+ * @param {object} parameters - method options and parameters
16291
+ * @param {} parameters.request - request
16292
+ * @param {string} parameters.userId - userId
16293
+ */
16294
+ OtrService.prototype.saveUserSocialProfilesUsingPOST = function(parameters) {
16295
+ if (parameters === undefined) {
16296
+ parameters = {};
16297
+ }
16298
+ var deferred = $q.defer();
16299
+ var domain = this.domain,
16300
+ path = '/api/v1/users/{userId}/social-profiles';
16301
+ var body = {},
16302
+ queryParameters = {},
16303
+ headers = {},
16304
+ form = {};
16305
+
16306
+ headers['Accept'] = ['*/*'];
16307
+ headers['Content-Type'] = ['application/json'];
16308
+
16309
+ if (parameters['request'] !== undefined) {
16310
+ body = parameters['request'];
16311
+ }
16312
+
16313
+ if (parameters['request'] === undefined) {
16314
+ deferred.reject(new Error('Missing required parameter: request'));
16315
+ return deferred.promise;
16316
+ }
16317
+
16318
+ path = path.replace('{userId}', parameters['userId']);
16319
+
16320
+ if (parameters['userId'] === undefined) {
16321
+ deferred.reject(new Error('Missing required parameter: userId'));
16322
+ return deferred.promise;
16323
+ }
16324
+
16325
+ queryParameters = mergeQueryParams(parameters, queryParameters);
16326
+
16327
+ this.request('POST', domain + path, parameters, body, headers, queryParameters, form, deferred);
16328
+
16329
+ return deferred.promise;
16330
+ };
16331
+ /**
16332
+ * removeUserSocialProfile
16333
+ * @method
16334
+ * @name OtrService#removeUserSocialProfileUsingDELETE
16335
+ * @param {object} parameters - method options and parameters
16336
+ * @param {string} parameters.platform - platform
16337
+ * @param {string} parameters.userId - userId
16338
+ */
16339
+ OtrService.prototype.removeUserSocialProfileUsingDELETE = function(parameters) {
16340
+ if (parameters === undefined) {
16341
+ parameters = {};
16342
+ }
16343
+ var deferred = $q.defer();
16344
+ var domain = this.domain,
16345
+ path = '/api/v1/users/{userId}/social-profiles';
16346
+ var body = {},
16347
+ queryParameters = {},
16348
+ headers = {},
16349
+ form = {};
16350
+
16351
+ headers['Accept'] = ['*/*'];
16352
+
16353
+ if (parameters['platform'] !== undefined) {
16354
+ queryParameters['platform'] = parameters['platform'];
16355
+ }
16356
+
16357
+ if (parameters['platform'] === undefined) {
16358
+ deferred.reject(new Error('Missing required parameter: platform'));
16359
+ return deferred.promise;
16360
+ }
16361
+
16362
+ path = path.replace('{userId}', parameters['userId']);
16363
+
16364
+ if (parameters['userId'] === undefined) {
16365
+ deferred.reject(new Error('Missing required parameter: userId'));
16366
+ return deferred.promise;
16367
+ }
16368
+
16369
+ queryParameters = mergeQueryParams(parameters, queryParameters);
16370
+
16371
+ this.request('DELETE', domain + path, parameters, body, headers, queryParameters, form, deferred);
16372
+
16373
+ return deferred.promise;
16374
+ };
16286
16375
  /**
16287
16376
  * getUserStripeAccount
16288
16377
  * @method