reach-api-sdk 1.0.210 → 1.0.211
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 +2228 -169
- package/dist/reach-sdk.js +2618 -935
- package/package.json +1 -1
- package/src/apiClient.ts +15 -0
- package/src/definition/swagger.yaml +6733 -1147
- package/src/index.ts +28 -0
- package/src/models/AddressBookItem.ts +26 -0
- package/src/models/AddressBooksRequest.ts +22 -0
- package/src/models/DotdigitalCanonicalField.ts +17 -0
- package/src/models/DotdigitalSourceType.ts +15 -0
- package/src/models/IntegrationDotdigitalFieldMap.ts +55 -0
- package/src/models/IntegrationDotdigitalFieldMapPage.ts +12 -0
- package/src/models/IntegrationDotdigitalFieldMapPatch.ts +18 -0
- package/src/models/IntegrationDotdigitalFieldMapPost.ts +14 -0
- package/src/models/IntegrationDotdigitalLog.ts +65 -0
- package/src/models/IntegrationDotdigitalLogPage.ts +12 -0
- package/src/models/IntegrationDotdigitalLogPatch.ts +18 -0
- package/src/models/IntegrationDotdigitalLogPost.ts +14 -0
- package/src/models/IntegrationDotdigitalLogStatus.ts +13 -0
- package/src/models/IntegrationDotdigitalSettings.ts +66 -0
- package/src/models/IntegrationDotdigitalSettingsCreate.ts +38 -0
- package/src/models/IntegrationDotdigitalSettingsPage.ts +12 -0
- package/src/models/IntegrationDotdigitalSettingsPatch.ts +18 -0
- package/src/models/IntegrationDotdigitalSettingsPost.ts +14 -0
- package/src/models/IntegrationQueue.ts +57 -0
- package/src/models/IntegrationQueuePage.ts +12 -0
- package/src/models/IntegrationQueuePatch.ts +18 -0
- package/src/models/IntegrationQueuePost.ts +14 -0
- package/src/models/IntegrationType.ts +11 -0
- package/src/models/OrderItemReport.ts +4 -0
- package/src/services/CourseSessionsService.ts +30 -0
- package/src/services/DotdigitalService.ts +39 -0
- package/src/services/IntegrationDotDigitalSettingsService.ts +708 -0
- package/src/services/IntegrationDotdigitalFieldMapService.ts +662 -0
- package/src/services/IntegrationDotdigitalLogService.ts +662 -0
- package/src/services/IntegrationQueueService.ts +739 -0
- package/src/services/PublicCalendarService.ts +6 -0
- package/src/services/PublicScheduledSessionsService.ts +12 -0
- package/src/services/PublicSessionsService.ts +6 -0
- package/src/services/PublicVenuesService.ts +48 -0
- package/src/services/ScheduledSessionsService.ts +30 -0
- package/src/services/VenuesService.ts +60 -0
package/src/index.ts
CHANGED
|
@@ -16,6 +16,8 @@ export type { ActivityPerformancePage } from './models/ActivityPerformancePage';
|
|
|
16
16
|
export type { ActivityPerformancePatch } from './models/ActivityPerformancePatch';
|
|
17
17
|
export type { ActivityPerformancePost } from './models/ActivityPerformancePost';
|
|
18
18
|
export { ActivityType } from './models/ActivityType';
|
|
19
|
+
export type { AddressBookItem } from './models/AddressBookItem';
|
|
20
|
+
export type { AddressBooksRequest } from './models/AddressBooksRequest';
|
|
19
21
|
export type { AddressComponent } from './models/AddressComponent';
|
|
20
22
|
export { AdvanceBooking } from './models/AdvanceBooking';
|
|
21
23
|
export type { Amenity } from './models/Amenity';
|
|
@@ -109,6 +111,8 @@ export type { DiscountCodeUse } from './models/DiscountCodeUse';
|
|
|
109
111
|
export type { DiscountCodeUsePage } from './models/DiscountCodeUsePage';
|
|
110
112
|
export type { DiscountCodeUsePatch } from './models/DiscountCodeUsePatch';
|
|
111
113
|
export type { DiscountCodeUsePost } from './models/DiscountCodeUsePost';
|
|
114
|
+
export { DotdigitalCanonicalField } from './models/DotdigitalCanonicalField';
|
|
115
|
+
export { DotdigitalSourceType } from './models/DotdigitalSourceType';
|
|
112
116
|
export type { EmailReminderSchedule } from './models/EmailReminderSchedule';
|
|
113
117
|
export type { EmailReminderSchedulePage } from './models/EmailReminderSchedulePage';
|
|
114
118
|
export type { EmailReminderSchedulePatch } from './models/EmailReminderSchedulePatch';
|
|
@@ -152,6 +156,25 @@ export type { ImageUploadHistory } from './models/ImageUploadHistory';
|
|
|
152
156
|
export type { ImageUploadHistoryPage } from './models/ImageUploadHistoryPage';
|
|
153
157
|
export type { ImageUploadHistoryPatch } from './models/ImageUploadHistoryPatch';
|
|
154
158
|
export type { ImageUploadHistoryPost } from './models/ImageUploadHistoryPost';
|
|
159
|
+
export type { IntegrationDotdigitalFieldMap } from './models/IntegrationDotdigitalFieldMap';
|
|
160
|
+
export type { IntegrationDotdigitalFieldMapPage } from './models/IntegrationDotdigitalFieldMapPage';
|
|
161
|
+
export type { IntegrationDotdigitalFieldMapPatch } from './models/IntegrationDotdigitalFieldMapPatch';
|
|
162
|
+
export type { IntegrationDotdigitalFieldMapPost } from './models/IntegrationDotdigitalFieldMapPost';
|
|
163
|
+
export type { IntegrationDotdigitalLog } from './models/IntegrationDotdigitalLog';
|
|
164
|
+
export type { IntegrationDotdigitalLogPage } from './models/IntegrationDotdigitalLogPage';
|
|
165
|
+
export type { IntegrationDotdigitalLogPatch } from './models/IntegrationDotdigitalLogPatch';
|
|
166
|
+
export type { IntegrationDotdigitalLogPost } from './models/IntegrationDotdigitalLogPost';
|
|
167
|
+
export { IntegrationDotdigitalLogStatus } from './models/IntegrationDotdigitalLogStatus';
|
|
168
|
+
export type { IntegrationDotdigitalSettings } from './models/IntegrationDotdigitalSettings';
|
|
169
|
+
export type { IntegrationDotdigitalSettingsCreate } from './models/IntegrationDotdigitalSettingsCreate';
|
|
170
|
+
export type { IntegrationDotdigitalSettingsPage } from './models/IntegrationDotdigitalSettingsPage';
|
|
171
|
+
export type { IntegrationDotdigitalSettingsPatch } from './models/IntegrationDotdigitalSettingsPatch';
|
|
172
|
+
export type { IntegrationDotdigitalSettingsPost } from './models/IntegrationDotdigitalSettingsPost';
|
|
173
|
+
export type { IntegrationQueue } from './models/IntegrationQueue';
|
|
174
|
+
export type { IntegrationQueuePage } from './models/IntegrationQueuePage';
|
|
175
|
+
export type { IntegrationQueuePatch } from './models/IntegrationQueuePatch';
|
|
176
|
+
export type { IntegrationQueuePost } from './models/IntegrationQueuePost';
|
|
177
|
+
export { IntegrationType } from './models/IntegrationType';
|
|
155
178
|
export { InviteStatus } from './models/InviteStatus';
|
|
156
179
|
export type { IOpportunity } from './models/IOpportunity';
|
|
157
180
|
export type { LocationReport } from './models/LocationReport';
|
|
@@ -503,6 +526,7 @@ export { CustomFieldsService } from './services/CustomFieldsService';
|
|
|
503
526
|
export { DealActivitiesService } from './services/DealActivitiesService';
|
|
504
527
|
export { DealsService } from './services/DealsService';
|
|
505
528
|
export { DiscountCodeUsesService } from './services/DiscountCodeUsesService';
|
|
529
|
+
export { DotdigitalService } from './services/DotdigitalService';
|
|
506
530
|
export { EmailReminderSchedulesService } from './services/EmailReminderSchedulesService';
|
|
507
531
|
export { EmailSettingsService } from './services/EmailSettingsService';
|
|
508
532
|
export { EndUserIdentitySecureTokenService } from './services/EndUserIdentitySecureTokenService';
|
|
@@ -518,6 +542,10 @@ export { ImageLibraryCategoryService } from './services/ImageLibraryCategoryServ
|
|
|
518
542
|
export { ImageLibraryImageService } from './services/ImageLibraryImageService';
|
|
519
543
|
export { ImagesService } from './services/ImagesService';
|
|
520
544
|
export { ImageUploadHistoryService } from './services/ImageUploadHistoryService';
|
|
545
|
+
export { IntegrationDotdigitalFieldMapService } from './services/IntegrationDotdigitalFieldMapService';
|
|
546
|
+
export { IntegrationDotdigitalLogService } from './services/IntegrationDotdigitalLogService';
|
|
547
|
+
export { IntegrationDotDigitalSettingsService } from './services/IntegrationDotDigitalSettingsService';
|
|
548
|
+
export { IntegrationQueueService } from './services/IntegrationQueueService';
|
|
521
549
|
export { LeasingService } from './services/LeasingService';
|
|
522
550
|
export { LocationsReportService } from './services/LocationsReportService';
|
|
523
551
|
export { LoqatePlacesService } from './services/LoqatePlacesService';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The AddressBook item response model.
|
|
8
|
+
*/
|
|
9
|
+
export type AddressBookItem = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the response id.
|
|
12
|
+
*/
|
|
13
|
+
id?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the name.
|
|
16
|
+
*/
|
|
17
|
+
name?: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the visibility.
|
|
20
|
+
*/
|
|
21
|
+
visibility?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the contacts.
|
|
24
|
+
*/
|
|
25
|
+
contacts?: number;
|
|
26
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The OpenAI description completion message model.
|
|
8
|
+
*/
|
|
9
|
+
export type AddressBooksRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the message role.
|
|
12
|
+
*/
|
|
13
|
+
apiUrl?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the message role.
|
|
16
|
+
*/
|
|
17
|
+
username?: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the message role.
|
|
20
|
+
*/
|
|
21
|
+
password?: string | null;
|
|
22
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Dotdigital canonical field types.
|
|
8
|
+
*/
|
|
9
|
+
export enum DotdigitalCanonicalField {
|
|
10
|
+
EMAIL = 'Email',
|
|
11
|
+
FIRST_NAME = 'FirstName',
|
|
12
|
+
LAST_NAME = 'LastName',
|
|
13
|
+
FULL_NAME = 'FullName',
|
|
14
|
+
GENDER = 'Gender',
|
|
15
|
+
POSTCODE = 'Postcode',
|
|
16
|
+
MARKETING_OPT_IN = 'MarketingOptIn',
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Dotdigital source types.
|
|
8
|
+
*/
|
|
9
|
+
export enum DotdigitalSourceType {
|
|
10
|
+
CUSTOMER_COLUMN = 'CustomerColumn',
|
|
11
|
+
ORDER_COLUMN = 'OrderColumn',
|
|
12
|
+
CUSTOMER_CUSTOM_FIELD = 'CustomerCustomField',
|
|
13
|
+
ORDER_CUSTOM_FIELD = 'OrderCustomField',
|
|
14
|
+
STATIC = 'Static',
|
|
15
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
import type { DotdigitalCanonicalField } from './DotdigitalCanonicalField';
|
|
7
|
+
import type { DotdigitalSourceType } from './DotdigitalSourceType';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Represents a Dotdigital field mapping configuration within the Reach application.
|
|
11
|
+
*/
|
|
12
|
+
export type IntegrationDotdigitalFieldMap = {
|
|
13
|
+
/**
|
|
14
|
+
* Gets or sets the entities Id.
|
|
15
|
+
*/
|
|
16
|
+
id?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Gets or sets the tenant Id.
|
|
19
|
+
*/
|
|
20
|
+
tenantId: string;
|
|
21
|
+
/**
|
|
22
|
+
* Gets or sets the created date of this entity.
|
|
23
|
+
*/
|
|
24
|
+
dateCreated: string;
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets the last modified date of this entity.
|
|
27
|
+
*/
|
|
28
|
+
dateModified: string;
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets the modified by Id.
|
|
31
|
+
*/
|
|
32
|
+
modifiedById?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
35
|
+
*/
|
|
36
|
+
isLive: boolean;
|
|
37
|
+
canonicalField?: DotdigitalCanonicalField;
|
|
38
|
+
/**
|
|
39
|
+
* Gets or sets the Dotdigital field key.
|
|
40
|
+
*/
|
|
41
|
+
dotdigitalFieldKey?: string | null;
|
|
42
|
+
sourceType?: DotdigitalSourceType;
|
|
43
|
+
/**
|
|
44
|
+
* Gets or sets the source key.
|
|
45
|
+
*/
|
|
46
|
+
sourceKey?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Gets or sets the static value.
|
|
49
|
+
*/
|
|
50
|
+
staticValue?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Gets or sets a value indicating whether the field is required.
|
|
53
|
+
*/
|
|
54
|
+
isRequired?: boolean | null;
|
|
55
|
+
};
|
|
@@ -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 { IntegrationDotdigitalFieldMap } from './IntegrationDotdigitalFieldMap';
|
|
7
|
+
import type { Pagination } from './Pagination';
|
|
8
|
+
|
|
9
|
+
export type IntegrationDotdigitalFieldMapPage = {
|
|
10
|
+
pagination: Pagination;
|
|
11
|
+
readonly items: Array<IntegrationDotdigitalFieldMap>;
|
|
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 Dotdigital field map updates.
|
|
8
|
+
*/
|
|
9
|
+
export type IntegrationDotdigitalFieldMapPatch = {
|
|
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 Dotdigital field map inserts.
|
|
8
|
+
*/
|
|
9
|
+
export type IntegrationDotdigitalFieldMapPost = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the tenant Id.
|
|
12
|
+
*/
|
|
13
|
+
tenantId: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
import type { IntegrationDotdigitalLogStatus } from './IntegrationDotdigitalLogStatus';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Represents a Dotdigital integration log entry within the Reach application.
|
|
10
|
+
*/
|
|
11
|
+
export type IntegrationDotdigitalLog = {
|
|
12
|
+
/**
|
|
13
|
+
* Gets or sets the entities Id.
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Gets or sets the tenant Id.
|
|
18
|
+
*/
|
|
19
|
+
tenantId: string;
|
|
20
|
+
/**
|
|
21
|
+
* Gets or sets the created date of this entity.
|
|
22
|
+
*/
|
|
23
|
+
dateCreated: string;
|
|
24
|
+
/**
|
|
25
|
+
* Gets or sets the last modified date of this entity.
|
|
26
|
+
*/
|
|
27
|
+
dateModified: string;
|
|
28
|
+
/**
|
|
29
|
+
* Gets or sets the modified by Id.
|
|
30
|
+
*/
|
|
31
|
+
modifiedById?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
34
|
+
*/
|
|
35
|
+
isLive: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Gets or sets the order id.
|
|
38
|
+
*/
|
|
39
|
+
orderId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Gets or sets the customer id.
|
|
42
|
+
*/
|
|
43
|
+
customerId?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Gets or sets the email.
|
|
46
|
+
*/
|
|
47
|
+
email?: string | null;
|
|
48
|
+
status?: IntegrationDotdigitalLogStatus;
|
|
49
|
+
/**
|
|
50
|
+
* Gets or sets the Dotdigital contact id.
|
|
51
|
+
*/
|
|
52
|
+
dotdigitalContactId?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Gets or sets the request JSON.
|
|
55
|
+
*/
|
|
56
|
+
requestJson?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Gets or sets the response JSON.
|
|
59
|
+
*/
|
|
60
|
+
responseJson?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* Gets or sets the error message.
|
|
63
|
+
*/
|
|
64
|
+
errorMessage?: string | null;
|
|
65
|
+
};
|
|
@@ -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 { IntegrationDotdigitalLog } from './IntegrationDotdigitalLog';
|
|
7
|
+
import type { Pagination } from './Pagination';
|
|
8
|
+
|
|
9
|
+
export type IntegrationDotdigitalLogPage = {
|
|
10
|
+
pagination: Pagination;
|
|
11
|
+
readonly items: Array<IntegrationDotdigitalLog>;
|
|
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 Dotdigital integration log updates.
|
|
8
|
+
*/
|
|
9
|
+
export type IntegrationDotdigitalLogPatch = {
|
|
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 Dotdigital integration log inserts.
|
|
8
|
+
*/
|
|
9
|
+
export type IntegrationDotdigitalLogPost = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the tenant Id.
|
|
12
|
+
*/
|
|
13
|
+
tenantId: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Integrations Dotdigital log status.
|
|
8
|
+
*/
|
|
9
|
+
export enum IntegrationDotdigitalLogStatus {
|
|
10
|
+
QUEUED = 'Queued',
|
|
11
|
+
SENT = 'Sent',
|
|
12
|
+
FAILED = 'Failed',
|
|
13
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Represents DotDigital integration settings within the Reach application.
|
|
8
|
+
*/
|
|
9
|
+
export type IntegrationDotdigitalSettings = {
|
|
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 a value indicating whether the integration is enabled.
|
|
36
|
+
*/
|
|
37
|
+
enabled?: boolean | null;
|
|
38
|
+
/**
|
|
39
|
+
* Gets or sets the API base URL.
|
|
40
|
+
*/
|
|
41
|
+
apiBaseUrl?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Gets or sets the API user.
|
|
44
|
+
*/
|
|
45
|
+
apiUser?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Gets or sets the encrypted API password.
|
|
48
|
+
*/
|
|
49
|
+
apiPasswordEncrypted?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* Gets or sets the API password nonce.
|
|
52
|
+
*/
|
|
53
|
+
apiPasswordNonce?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* Gets or sets the API password key version.
|
|
56
|
+
*/
|
|
57
|
+
apiPasswordKeyVersion?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Gets or sets the address book name.
|
|
60
|
+
*/
|
|
61
|
+
addressBookName?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Gets or sets the address book id.
|
|
64
|
+
*/
|
|
65
|
+
addressBookId?: number | null;
|
|
66
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
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 deal inserts.
|
|
8
|
+
*/
|
|
9
|
+
export type IntegrationDotdigitalSettingsCreate = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the tenant Id.
|
|
12
|
+
*/
|
|
13
|
+
tenantId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets a value indicating whether the integration is enabled.
|
|
16
|
+
*/
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the API base URL.
|
|
20
|
+
*/
|
|
21
|
+
apiBaseUrl: string;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the API user.
|
|
24
|
+
*/
|
|
25
|
+
apiUser: string;
|
|
26
|
+
/**
|
|
27
|
+
* Gets or sets the API password. Required on create; optional on update (existing password kept if not provided).
|
|
28
|
+
*/
|
|
29
|
+
apiPassword?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets the address book name.
|
|
32
|
+
*/
|
|
33
|
+
addressBookName: string;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets the address book id.
|
|
36
|
+
*/
|
|
37
|
+
addressBookId: number;
|
|
38
|
+
};
|
|
@@ -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 { IntegrationDotdigitalSettings } from './IntegrationDotdigitalSettings';
|
|
7
|
+
import type { Pagination } from './Pagination';
|
|
8
|
+
|
|
9
|
+
export type IntegrationDotdigitalSettingsPage = {
|
|
10
|
+
pagination: Pagination;
|
|
11
|
+
readonly items: Array<IntegrationDotdigitalSettings>;
|
|
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 Dotdigital integration settings updates.
|
|
8
|
+
*/
|
|
9
|
+
export type IntegrationDotdigitalSettingsPatch = {
|
|
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 Dotdigital integration settings inserts.
|
|
8
|
+
*/
|
|
9
|
+
export type IntegrationDotdigitalSettingsPost = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the tenant Id.
|
|
12
|
+
*/
|
|
13
|
+
tenantId: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
import type { IntegrationType } from './IntegrationType';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Represents an item in the integration queue within the Reach application.
|
|
10
|
+
*/
|
|
11
|
+
export type IntegrationQueue = {
|
|
12
|
+
/**
|
|
13
|
+
* Gets or sets the entities Id.
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Gets or sets the tenant Id.
|
|
18
|
+
*/
|
|
19
|
+
tenantId: string;
|
|
20
|
+
/**
|
|
21
|
+
* Gets or sets the created date of this entity.
|
|
22
|
+
*/
|
|
23
|
+
dateCreated: string;
|
|
24
|
+
/**
|
|
25
|
+
* Gets or sets the last modified date of this entity.
|
|
26
|
+
*/
|
|
27
|
+
dateModified: string;
|
|
28
|
+
/**
|
|
29
|
+
* Gets or sets the modified by Id.
|
|
30
|
+
*/
|
|
31
|
+
modifiedById?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
34
|
+
*/
|
|
35
|
+
isLive: boolean;
|
|
36
|
+
integrationType?: IntegrationType;
|
|
37
|
+
/**
|
|
38
|
+
* Gets or sets the model id (e.g. entity being synced).
|
|
39
|
+
*/
|
|
40
|
+
modelId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Gets or sets a value indicating whether the item has been processed.
|
|
43
|
+
*/
|
|
44
|
+
processed?: boolean | null;
|
|
45
|
+
/**
|
|
46
|
+
* Gets or sets a value indicating whether the last attempt errored.
|
|
47
|
+
*/
|
|
48
|
+
errored?: boolean | null;
|
|
49
|
+
/**
|
|
50
|
+
* Gets or sets the number of processing attempts.
|
|
51
|
+
*/
|
|
52
|
+
attemptCount?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Gets or sets the last error message if any.
|
|
55
|
+
*/
|
|
56
|
+
lastError?: string | null;
|
|
57
|
+
};
|
|
@@ -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 { IntegrationQueue } from './IntegrationQueue';
|
|
7
|
+
import type { Pagination } from './Pagination';
|
|
8
|
+
|
|
9
|
+
export type IntegrationQueuePage = {
|
|
10
|
+
pagination: Pagination;
|
|
11
|
+
readonly items: Array<IntegrationQueue>;
|
|
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 integration queue updates.
|
|
8
|
+
*/
|
|
9
|
+
export type IntegrationQueuePatch = {
|
|
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 integration queue inserts.
|
|
8
|
+
*/
|
|
9
|
+
export type IntegrationQueuePost = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the tenant Id.
|
|
12
|
+
*/
|
|
13
|
+
tenantId: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Controls the integration type.
|
|
8
|
+
*/
|
|
9
|
+
export enum IntegrationType {
|
|
10
|
+
DOTDIGITAL_UPSERT_CONTACT = 'DotdigitalUpsertContact',
|
|
11
|
+
}
|