reach-api-sdk 1.0.206 → 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.
Files changed (44) hide show
  1. package/dist/reach-sdk.d.ts +16293 -14979
  2. package/dist/reach-sdk.js +1373 -417
  3. package/package.json +1 -1
  4. package/src/apiClient.ts +6 -0
  5. package/src/definition/swagger.yaml +3611 -267
  6. package/src/index.ts +18 -0
  7. package/src/models/Attendee.ts +9 -4
  8. package/src/models/AttendeePatch.ts +13 -0
  9. package/src/models/AttendeePost.ts +14 -1
  10. package/src/models/AttendeeWalletDeductionPreview.ts +51 -0
  11. package/src/models/CoursePatch.ts +2 -0
  12. package/src/models/CoursePost.ts +2 -0
  13. package/src/models/Customer.ts +6 -6
  14. package/src/models/CustomerAccountInvitePatch.ts +26 -0
  15. package/src/models/CustomerPatch.ts +2 -2
  16. package/src/models/CustomerPost.ts +2 -2
  17. package/src/models/CustomerWalletDeductionPreview.ts +36 -0
  18. package/src/models/EndUserIdentity.ts +4 -0
  19. package/src/models/Order.ts +6 -0
  20. package/src/models/RecentOrderActivityReport.ts +4 -0
  21. package/src/models/SessionPatch.ts +2 -0
  22. package/src/models/SessionPost.ts +2 -0
  23. package/src/models/SurveySubmitAttendee.ts +4 -0
  24. package/src/models/TenantSetting.ts +8 -0
  25. package/src/models/TotalRevenueReport.ts +4 -0
  26. package/src/models/VenuePatch.ts +2 -0
  27. package/src/models/VenuePost.ts +3 -0
  28. package/src/models/Wallet.ts +60 -0
  29. package/src/models/WalletDeductionPreview.ts +44 -0
  30. package/src/models/WalletPage.ts +12 -0
  31. package/src/models/WalletPatch.ts +23 -0
  32. package/src/models/WalletPost.ts +29 -0
  33. package/src/models/WalletRemoveCreditPost.ts +19 -0
  34. package/src/models/WalletTopUpPost.ts +19 -0
  35. package/src/models/WalletTrackingLevel.ts +12 -0
  36. package/src/models/WalletTransaction.ts +61 -0
  37. package/src/models/WalletTransactionPage.ts +12 -0
  38. package/src/models/WalletTransactionPatch.ts +22 -0
  39. package/src/models/WalletTransactionPost.ts +33 -0
  40. package/src/models/WalletTransactionType.ts +14 -0
  41. package/src/services/AttendeesService.ts +0 -30
  42. package/src/services/CustomersService.ts +35 -0
  43. package/src/services/WalletTransactionsService.ts +755 -0
  44. package/src/services/WalletsService.ts +901 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reach-api-sdk",
3
- "version": "1.0.206",
3
+ "version": "1.0.208",
4
4
  "description": "sdk for reach api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/apiClient.ts CHANGED
@@ -126,6 +126,8 @@ import { WaitlistActivityService } from './services/WaitlistActivityService';
126
126
  import { WaitlistActivityReportService } from './services/WaitlistActivityReportService';
127
127
  import { WaitlistOpportunityService } from './services/WaitlistOpportunityService';
128
128
  import { WaitlistOpportunityReportService } from './services/WaitlistOpportunityReportService';
129
+ import { WalletsService } from './services/WalletsService';
130
+ import { WalletTransactionsService } from './services/WalletTransactionsService';
129
131
 
130
132
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
131
133
 
@@ -250,6 +252,8 @@ export class ApiClient {
250
252
  public readonly waitlistActivityReport: WaitlistActivityReportService;
251
253
  public readonly waitlistOpportunity: WaitlistOpportunityService;
252
254
  public readonly waitlistOpportunityReport: WaitlistOpportunityReportService;
255
+ public readonly wallets: WalletsService;
256
+ public readonly walletTransactions: WalletTransactionsService;
253
257
 
254
258
  public readonly request: BaseHttpRequest;
255
259
 
@@ -389,5 +393,7 @@ export class ApiClient {
389
393
  this.waitlistActivityReport = new WaitlistActivityReportService(this.request);
390
394
  this.waitlistOpportunity = new WaitlistOpportunityService(this.request);
391
395
  this.waitlistOpportunityReport = new WaitlistOpportunityReportService(this.request);
396
+ this.wallets = new WalletsService(this.request);
397
+ this.walletTransactions = new WalletTransactionsService(this.request);
392
398
  }
393
399
  }