reach-api-sdk 1.0.205 → 1.0.208
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/reach-sdk.d.ts +6254 -3934
- package/dist/reach-sdk.js +2737 -1127
- package/package.json +1 -1
- package/src/apiClient.ts +9 -0
- package/src/definition/swagger.yaml +9648 -3833
- package/src/index.ts +32 -0
- package/src/models/Attendee.ts +9 -4
- package/src/models/AttendeePatch.ts +13 -0
- package/src/models/AttendeePost.ts +14 -1
- package/src/models/AttendeeWalletDeductionPreview.ts +51 -0
- package/src/models/CoursePatch.ts +2 -0
- package/src/models/CoursePost.ts +2 -0
- package/src/models/CustomFieldDataType.ts +22 -0
- package/src/models/CustomFieldDefinition.ts +100 -0
- package/src/models/CustomFieldDefinitionPage.ts +12 -0
- package/src/models/CustomFieldDefinitionPatch.ts +84 -0
- package/src/models/CustomFieldDefinitionPost.ts +80 -0
- package/src/models/CustomFieldDefinitionWithValue.ts +82 -0
- package/src/models/CustomFieldOption.ts +50 -0
- package/src/models/CustomFieldOptionDto.ts +14 -0
- package/src/models/CustomFieldOptionPost.ts +18 -0
- package/src/models/CustomFieldValueEntityType.ts +13 -0
- package/src/models/CustomFieldValueUpdate.ts +18 -0
- package/src/models/CustomFieldsBulkUpdate.ts +16 -0
- package/src/models/Customer.ts +6 -6
- package/src/models/CustomerAccountInvitePatch.ts +26 -0
- package/src/models/CustomerPatch.ts +2 -2
- package/src/models/CustomerPost.ts +2 -2
- package/src/models/CustomerWalletDeductionPreview.ts +36 -0
- package/src/models/EndUserIdentity.ts +4 -0
- package/src/models/Order.ts +6 -0
- package/src/models/RecentOrderActivityReport.ts +4 -0
- package/src/models/SessionPatch.ts +2 -0
- package/src/models/SessionPost.ts +2 -0
- package/src/models/SurveySubmitAttendee.ts +4 -0
- package/src/models/TenantSetting.ts +8 -0
- package/src/models/TotalRevenueReport.ts +4 -0
- package/src/models/UpdateCustomFieldOption.ts +26 -0
- package/src/models/VenuePatch.ts +2 -0
- package/src/models/VenuePost.ts +3 -0
- package/src/models/Wallet.ts +60 -0
- package/src/models/WalletDeductionPreview.ts +44 -0
- package/src/models/WalletPage.ts +12 -0
- package/src/models/WalletPatch.ts +23 -0
- package/src/models/WalletPost.ts +29 -0
- package/src/models/WalletRemoveCreditPost.ts +19 -0
- package/src/models/WalletTopUpPost.ts +19 -0
- package/src/models/WalletTrackingLevel.ts +12 -0
- package/src/models/WalletTransaction.ts +61 -0
- package/src/models/WalletTransactionPage.ts +12 -0
- package/src/models/WalletTransactionPatch.ts +22 -0
- package/src/models/WalletTransactionPost.ts +33 -0
- package/src/models/WalletTransactionType.ts +14 -0
- package/src/services/AttendeesService.ts +0 -30
- package/src/services/CoursesService.ts +63 -0
- package/src/services/CustomFieldsService.ts +780 -0
- package/src/services/CustomersService.ts +35 -0
- package/src/services/PublicCoursesService.ts +36 -0
- package/src/services/PublicSessionsService.ts +36 -0
- package/src/services/PublicVenuesService.ts +36 -0
- package/src/services/SessionsService.ts +63 -0
- package/src/services/VenuesService.ts +63 -0
- package/src/services/WalletTransactionsService.ts +755 -0
- package/src/services/WalletsService.ts +901 -0
package/package.json
CHANGED
package/src/apiClient.ts
CHANGED
|
@@ -19,6 +19,7 @@ import { CoursesService } from './services/CoursesService';
|
|
|
19
19
|
import { CourseSessionsService } from './services/CourseSessionsService';
|
|
20
20
|
import { CourseSessionSchedulesService } from './services/CourseSessionSchedulesService';
|
|
21
21
|
import { CustomersService } from './services/CustomersService';
|
|
22
|
+
import { CustomFieldsService } from './services/CustomFieldsService';
|
|
22
23
|
import { DealActivitiesService } from './services/DealActivitiesService';
|
|
23
24
|
import { DealsService } from './services/DealsService';
|
|
24
25
|
import { DiscountCodeUsesService } from './services/DiscountCodeUsesService';
|
|
@@ -125,6 +126,8 @@ import { WaitlistActivityService } from './services/WaitlistActivityService';
|
|
|
125
126
|
import { WaitlistActivityReportService } from './services/WaitlistActivityReportService';
|
|
126
127
|
import { WaitlistOpportunityService } from './services/WaitlistOpportunityService';
|
|
127
128
|
import { WaitlistOpportunityReportService } from './services/WaitlistOpportunityReportService';
|
|
129
|
+
import { WalletsService } from './services/WalletsService';
|
|
130
|
+
import { WalletTransactionsService } from './services/WalletTransactionsService';
|
|
128
131
|
|
|
129
132
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
130
133
|
|
|
@@ -142,6 +145,7 @@ export class ApiClient {
|
|
|
142
145
|
public readonly courseSessions: CourseSessionsService;
|
|
143
146
|
public readonly courseSessionSchedules: CourseSessionSchedulesService;
|
|
144
147
|
public readonly customers: CustomersService;
|
|
148
|
+
public readonly customFields: CustomFieldsService;
|
|
145
149
|
public readonly dealActivities: DealActivitiesService;
|
|
146
150
|
public readonly deals: DealsService;
|
|
147
151
|
public readonly discountCodeUses: DiscountCodeUsesService;
|
|
@@ -248,6 +252,8 @@ export class ApiClient {
|
|
|
248
252
|
public readonly waitlistActivityReport: WaitlistActivityReportService;
|
|
249
253
|
public readonly waitlistOpportunity: WaitlistOpportunityService;
|
|
250
254
|
public readonly waitlistOpportunityReport: WaitlistOpportunityReportService;
|
|
255
|
+
public readonly wallets: WalletsService;
|
|
256
|
+
public readonly walletTransactions: WalletTransactionsService;
|
|
251
257
|
|
|
252
258
|
public readonly request: BaseHttpRequest;
|
|
253
259
|
|
|
@@ -280,6 +286,7 @@ export class ApiClient {
|
|
|
280
286
|
this.courseSessions = new CourseSessionsService(this.request);
|
|
281
287
|
this.courseSessionSchedules = new CourseSessionSchedulesService(this.request);
|
|
282
288
|
this.customers = new CustomersService(this.request);
|
|
289
|
+
this.customFields = new CustomFieldsService(this.request);
|
|
283
290
|
this.dealActivities = new DealActivitiesService(this.request);
|
|
284
291
|
this.deals = new DealsService(this.request);
|
|
285
292
|
this.discountCodeUses = new DiscountCodeUsesService(this.request);
|
|
@@ -386,5 +393,7 @@ export class ApiClient {
|
|
|
386
393
|
this.waitlistActivityReport = new WaitlistActivityReportService(this.request);
|
|
387
394
|
this.waitlistOpportunity = new WaitlistOpportunityService(this.request);
|
|
388
395
|
this.waitlistOpportunityReport = new WaitlistOpportunityReportService(this.request);
|
|
396
|
+
this.wallets = new WalletsService(this.request);
|
|
397
|
+
this.walletTransactions = new WalletTransactionsService(this.request);
|
|
389
398
|
}
|
|
390
399
|
}
|