reach-api-sdk 1.0.229 → 1.0.230
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 +567 -1
- package/dist/reach-sdk.js +451 -1
- package/package.json +1 -1
- package/src/apiClient.ts +3 -0
- package/src/definition/swagger.yaml +2000 -546
- package/src/index.ts +5 -0
- package/src/models/CustomerAccountInviteSchedule.ts +54 -0
- package/src/models/CustomerAccountInviteSchedulePage.ts +12 -0
- package/src/models/CustomerAccountInviteSchedulePatch.ts +18 -0
- package/src/models/CustomerAccountInviteSchedulePost.ts +14 -0
- package/src/models/TenantSetting.ts +6 -0
- package/src/models/TenantStorefrontSettingsPatch.ts +6 -0
- package/src/services/CustomerAccountInviteSchedulesService.ts +859 -0
package/src/index.ts
CHANGED
|
@@ -83,6 +83,10 @@ export { CustomDateRange } from './models/CustomDateRange';
|
|
|
83
83
|
export type { CustomDateRangeOption } from './models/CustomDateRangeOption';
|
|
84
84
|
export type { Customer } from './models/Customer';
|
|
85
85
|
export type { CustomerAccountInvitePatch } from './models/CustomerAccountInvitePatch';
|
|
86
|
+
export type { CustomerAccountInviteSchedule } from './models/CustomerAccountInviteSchedule';
|
|
87
|
+
export type { CustomerAccountInviteSchedulePage } from './models/CustomerAccountInviteSchedulePage';
|
|
88
|
+
export type { CustomerAccountInviteSchedulePatch } from './models/CustomerAccountInviteSchedulePatch';
|
|
89
|
+
export type { CustomerAccountInviteSchedulePost } from './models/CustomerAccountInviteSchedulePost';
|
|
86
90
|
export { CustomerCancellationOption } from './models/CustomerCancellationOption';
|
|
87
91
|
export type { CustomerEmailPatch } from './models/CustomerEmailPatch';
|
|
88
92
|
export type { CustomerPage } from './models/CustomerPage';
|
|
@@ -562,6 +566,7 @@ export { CountryService } from './services/CountryService';
|
|
|
562
566
|
export { CoursesService } from './services/CoursesService';
|
|
563
567
|
export { CourseSessionsService } from './services/CourseSessionsService';
|
|
564
568
|
export { CourseSessionSchedulesService } from './services/CourseSessionSchedulesService';
|
|
569
|
+
export { CustomerAccountInviteSchedulesService } from './services/CustomerAccountInviteSchedulesService';
|
|
565
570
|
export { CustomerAuthService } from './services/CustomerAuthService';
|
|
566
571
|
export { CustomerPortalService } from './services/CustomerPortalService';
|
|
567
572
|
export { CustomersService } from './services/CustomersService';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Represents a scheduled customer account invite email tied to a wallet credit period.
|
|
8
|
+
*/
|
|
9
|
+
export type CustomerAccountInviteSchedule = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the entities Id.
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the tenant Id.
|
|
16
|
+
*/
|
|
17
|
+
tenantId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the created date of this entity.
|
|
20
|
+
*/
|
|
21
|
+
dateCreated: string;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the last modified date of this entity.
|
|
24
|
+
*/
|
|
25
|
+
dateModified: string;
|
|
26
|
+
/**
|
|
27
|
+
* Gets or sets the modified by Id.
|
|
28
|
+
*/
|
|
29
|
+
modifiedById?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
32
|
+
*/
|
|
33
|
+
isLive: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets the customer id.
|
|
36
|
+
*/
|
|
37
|
+
customerId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Gets or sets the wallet credit period id that triggered this invite schedule.
|
|
40
|
+
*/
|
|
41
|
+
walletCreditPeriodId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Gets or sets the date the invite is scheduled to send.
|
|
44
|
+
*/
|
|
45
|
+
dateScheduled?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Gets or sets a value indicating whether the invite has been sent.
|
|
48
|
+
*/
|
|
49
|
+
sent?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Gets or sets a value indicating whether sending the invite errored.
|
|
52
|
+
*/
|
|
53
|
+
errored?: boolean;
|
|
54
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
import type { CustomerAccountInviteSchedule } from './CustomerAccountInviteSchedule';
|
|
7
|
+
import type { Pagination } from './Pagination';
|
|
8
|
+
|
|
9
|
+
export type CustomerAccountInviteSchedulePage = {
|
|
10
|
+
pagination: Pagination;
|
|
11
|
+
readonly items: Array<CustomerAccountInviteSchedule>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Patch model for customer account invite schedule updates.
|
|
8
|
+
*/
|
|
9
|
+
export type CustomerAccountInviteSchedulePatch = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the tenant Id.
|
|
12
|
+
*/
|
|
13
|
+
tenantId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the Id.
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Post model for customer account invite schedule inserts.
|
|
8
|
+
*/
|
|
9
|
+
export type CustomerAccountInviteSchedulePost = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the tenant Id.
|
|
12
|
+
*/
|
|
13
|
+
tenantId: string;
|
|
14
|
+
};
|
|
@@ -68,6 +68,12 @@ export type TenantSetting = {
|
|
|
68
68
|
* When enabled, attendee wallets require an active credit period for bookings and allocation management.
|
|
69
69
|
*/
|
|
70
70
|
enableWalletCreditPeriods?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Gets or sets how many days before a credit period start date to send the customer account invite.
|
|
73
|
+
* Allowed values: 0 (on period start), 7 (one week before), 14 (two weeks before).
|
|
74
|
+
* Only applies when Reach.Models.TenantSetting.EnableWalletCreditPeriods is true.
|
|
75
|
+
*/
|
|
76
|
+
walletCreditPeriodAccountInviteDaysBefore?: number | null;
|
|
71
77
|
/**
|
|
72
78
|
* Gets or sets a value indicating whether customer portal WorkOS login is restricted to pre-provisioned customers only.
|
|
73
79
|
* When true, the authenticated email must match a live customer row (email or display_email) for this tenant.
|
|
@@ -17,4 +17,10 @@ export type TenantStorefrontSettingsPatch = {
|
|
|
17
17
|
* When null, PATCH leaves the existing database value unchanged.
|
|
18
18
|
*/
|
|
19
19
|
customerPortalWorkOsLoginEnabled?: boolean | null;
|
|
20
|
+
/**
|
|
21
|
+
* Gets or sets how many days before a credit period start date to automatically send customer account invites.
|
|
22
|
+
* Allowed values: 0 (on period start), 7 (one week before), 14 (two weeks before).
|
|
23
|
+
* When null, PATCH leaves the existing database value unchanged.
|
|
24
|
+
*/
|
|
25
|
+
walletCreditPeriodAccountInviteDaysBefore?: number | null;
|
|
20
26
|
};
|