reach-api-sdk 1.0.61 → 1.0.62
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 +26 -4
- package/package.json +1 -1
- package/src/definition/swagger.yaml +46 -22
- package/src/index.ts +2 -1
- package/src/models/SurveyPatch.ts +2 -2
- package/src/models/SurveyQuestionPatch.ts +2 -2
- package/src/models/{PatchSurveyQuestionOption.ts → SurveyQuestionPatchOption.ts} +1 -1
- package/src/models/SurveyQuestionPost.ts +5 -0
- package/src/models/SurveyQuestionPostOption.ts +18 -0
- package/src/models/Tenant.ts +4 -0
package/dist/reach-sdk.d.ts
CHANGED
|
@@ -3321,6 +3321,10 @@ type Tenant = {
|
|
|
3321
3321
|
*/
|
|
3322
3322
|
copyManagersOnConfirmation: boolean;
|
|
3323
3323
|
contactOnConfirmation: ContactOnConfirmation;
|
|
3324
|
+
/**
|
|
3325
|
+
* Gets or sets a value indicating whether the tenant has been migrated from v1.
|
|
3326
|
+
*/
|
|
3327
|
+
migrated?: boolean | null;
|
|
3324
3328
|
/**
|
|
3325
3329
|
* Gets or sets the storefront url.
|
|
3326
3330
|
*/
|
|
@@ -19734,7 +19738,7 @@ type SurveyQuestionPage = {
|
|
|
19734
19738
|
/**
|
|
19735
19739
|
* Survey Question options.
|
|
19736
19740
|
*/
|
|
19737
|
-
type
|
|
19741
|
+
type SurveyQuestionPatchOption = {
|
|
19738
19742
|
/**
|
|
19739
19743
|
* Gets or sets the survey question id.
|
|
19740
19744
|
*/
|
|
@@ -19781,7 +19785,21 @@ type SurveyQuestionPatch = {
|
|
|
19781
19785
|
/**
|
|
19782
19786
|
* Gets or sets the surveys question options.
|
|
19783
19787
|
*/
|
|
19784
|
-
options?: Array<
|
|
19788
|
+
options?: Array<SurveyQuestionPatchOption> | null;
|
|
19789
|
+
};
|
|
19790
|
+
|
|
19791
|
+
/**
|
|
19792
|
+
* Post model for survey question options.
|
|
19793
|
+
*/
|
|
19794
|
+
type SurveyQuestionPostOption = {
|
|
19795
|
+
/**
|
|
19796
|
+
* Gets or sets the survey question option name.
|
|
19797
|
+
*/
|
|
19798
|
+
name?: string | null;
|
|
19799
|
+
/**
|
|
19800
|
+
* Gets or sets the survey question option sort number.
|
|
19801
|
+
*/
|
|
19802
|
+
sortNumber?: number | null;
|
|
19785
19803
|
};
|
|
19786
19804
|
|
|
19787
19805
|
/**
|
|
@@ -19813,6 +19831,10 @@ type SurveyQuestionPost = {
|
|
|
19813
19831
|
* Gets or sets a value indicating whether the question is active.
|
|
19814
19832
|
*/
|
|
19815
19833
|
active?: boolean | null;
|
|
19834
|
+
/**
|
|
19835
|
+
* Gets or sets a value indicating whether the question is active.
|
|
19836
|
+
*/
|
|
19837
|
+
options?: Array<SurveyQuestionPostOption> | null;
|
|
19816
19838
|
};
|
|
19817
19839
|
|
|
19818
19840
|
/**
|
|
@@ -20142,7 +20164,7 @@ type SurveyPatch = {
|
|
|
20142
20164
|
*/
|
|
20143
20165
|
name?: string | null;
|
|
20144
20166
|
type?: SurveyType;
|
|
20145
|
-
|
|
20167
|
+
responseMode?: SurveyResponseMode;
|
|
20146
20168
|
/**
|
|
20147
20169
|
* Gets or sets a value indicating whether the survey is active.
|
|
20148
20170
|
*/
|
|
@@ -31702,4 +31724,4 @@ type ValidationResultModel = {
|
|
|
31702
31724
|
readonly errors?: Array<ValidationError> | null;
|
|
31703
31725
|
};
|
|
31704
31726
|
|
|
31705
|
-
export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, ChatService, ChoiceMessage, CompletionChoice, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CourseCreate, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CourseStatus, CoursesService, CreateOffer, CreateQuestion, CreateQuestionOption, CreateVenue, Customer, CustomerCancellationOption, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DatabaseState, DayOfWeek, DescriptionCompletionResponse, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, Gender, GenericActivity, GenericActivityPage, GenericActivityPatch, GenericActivityPost, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImagePage, ImagePatch, ImagePost, ImagesService, InviteStatus, LeasingService, LoqateGeocode, LoqatePlaceResult, LoqatePlacesService, LoqatePrediction, Northeast, NotificationQueue, NotificationQueuePage, NotificationQueuePatch, NotificationQueuePost, NotificationQueueService, NotificationSetting, NotificationSettingPage, NotificationSettingPatch, NotificationSettingPost, NotificationSettingsService, NotificationType, Offer, OfferPage, OfferPatch, OfferPost, OffersService, OpenAPI, OpenAPIConfig, OpenactiveFeedIntermediate, OpenactiveFeedIntermediatePage, OpenactiveFeedIntermediatePatch, OpenactiveFeedIntermediatePost, OpenactiveFeedIntermediateService, OpenactiveFeedItem, OpenactiveFeedItemPage, OpenactiveFeedItemPatch, OpenactiveFeedItemPost, OpenactiveFeedItemService, OpportunityRegister, OpportunityRegisterPage, OpportunityRegisterPatch, OpportunityRegisterPost, OpportunityRegisterService, OpportunityType, Order, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPost, OrderPostItem, OrderRefresh, OrderSource, OrderStage, OrderToken, OrderTokenPage, OrderTokenPatch, OrderTokenPost, OrderUpdateContact, OrdersService, OrgCourseUtilisation, OrgCourseUtilisationPage, OrgCourseUtilisationPatch, OrgCourseUtilisationPost, OrgCourseUtilisationService, OrganisationApplicationFeeHandling, OrganisationAvailableChannel, OrganisationRefundPolicy, OrganisationTaxMode, OrganisationType, Pagination,
|
|
31727
|
+
export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, ChatService, ChoiceMessage, CompletionChoice, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CourseCreate, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CourseStatus, CoursesService, CreateOffer, CreateQuestion, CreateQuestionOption, CreateVenue, Customer, CustomerCancellationOption, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DatabaseState, DayOfWeek, DescriptionCompletionResponse, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, Gender, GenericActivity, GenericActivityPage, GenericActivityPatch, GenericActivityPost, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImagePage, ImagePatch, ImagePost, ImagesService, InviteStatus, LeasingService, LoqateGeocode, LoqatePlaceResult, LoqatePlacesService, LoqatePrediction, Northeast, NotificationQueue, NotificationQueuePage, NotificationQueuePatch, NotificationQueuePost, NotificationQueueService, NotificationSetting, NotificationSettingPage, NotificationSettingPatch, NotificationSettingPost, NotificationSettingsService, NotificationType, Offer, OfferPage, OfferPatch, OfferPost, OffersService, OpenAPI, OpenAPIConfig, OpenactiveFeedIntermediate, OpenactiveFeedIntermediatePage, OpenactiveFeedIntermediatePatch, OpenactiveFeedIntermediatePost, OpenactiveFeedIntermediateService, OpenactiveFeedItem, OpenactiveFeedItemPage, OpenactiveFeedItemPatch, OpenactiveFeedItemPost, OpenactiveFeedItemService, OpportunityRegister, OpportunityRegisterPage, OpportunityRegisterPatch, OpportunityRegisterPost, OpportunityRegisterService, OpportunityType, Order, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPost, OrderPostItem, OrderRefresh, OrderSource, OrderStage, OrderToken, OrderTokenPage, OrderTokenPatch, OrderTokenPost, OrderUpdateContact, OrdersService, OrgCourseUtilisation, OrgCourseUtilisationPage, OrgCourseUtilisationPatch, OrgCourseUtilisationPost, OrgCourseUtilisationService, OrganisationApplicationFeeHandling, OrganisationAvailableChannel, OrganisationRefundPolicy, OrganisationTaxMode, OrganisationType, Pagination, Payment, PaymentMethod, PaymentPage, PaymentPatch, PaymentPost, PaymentsService, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, PublicBookingService, PublicCoursesService, PublicCustomersService, PublicFacilitiesService, PublicHealthCheckService, PublicLeasingService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyCompletionLogsService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, RefundStatus, ScheduleStatus, ScheduledSession, ScheduledSessionPage, ScheduledSessionPatch, ScheduledSessionPost, ScheduledSessionSchedule, ScheduledSessionSchedulePage, ScheduledSessionSchedulePatch, ScheduledSessionSchedulePost, ScheduledSessionSearchSortBy, ScheduledSessionsSchedulesService, ScheduledSessionsService, SearchSortOrderDirection, Session, SessionCreate, SessionPage, SessionPatch, SessionPost, SessionType, SessionsService, Slot, SlotAvailabilityStatus, SlotOffer, SlotOfferPage, SlotOfferPatch, SlotOfferPost, SlotOffersService, SlotPage, SlotPatch, SlotPost, SlotSchedule, SlotScheduleOffer, SlotScheduleOfferPage, SlotScheduleOfferPatch, SlotScheduleOfferPost, SlotScheduleOffersService, SlotSchedulePage, SlotSchedulePatch, SlotSchedulePost, SlotSchedulesService, SlotStatus, SlotsService, Southwest, StripeAccount, StripeAccountPage, StripeAccountPatch, StripeAccountPost, StripeAccountService, StructuredFormatting, Surface, SurfacesService, Survey, SurveyAnswer, SurveyAnswerPage, SurveyAnswerPatch, SurveyAnswerPost, SurveyAnswersService, SurveyCompletionLog, SurveyCompletionLogPage, SurveyCompletionLogPatch, SurveyCompletionLogPost, SurveyCompletionLogService, SurveyCreate, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPatchOption, SurveyQuestionPost, SurveyQuestionPostOption, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveyResponseMode, SurveySubmissionModel, SurveySubmit, SurveySubmitAttendee, SurveySubmitQuestions, SurveyType, SurveysService, Tax, Template, TemplateDetail, TemplateDetailPage, TemplateDetailPatch, TemplateDetailPost, TemplateDetailsService, TemplateDuplicatePost, TemplateFromPost, TemplateOffer, TemplateOfferPage, TemplateOfferPatch, TemplateOfferPost, TemplateOffersService, TemplatePage, TemplatePatch, TemplatePost, TemplateUseResponse, TemplatesService, Tenant, TenantPage, TenantPatch, TenantPost, TenantWebsiteSetting, TenantWebsiteSettingPage, TenantWebsiteSettingPatch, TenantWebsiteSettingPost, TenantWebsiteSettingsService, TenantsService, Timezone, TimezoneService, TotalRevenueReport, TotalRevenueReportPage, TotalRevenueReportPatch, TotalRevenueReportPost, TotalRevenueReportService, UpdateEmailSettings, UpdateOffer, User, UserPage, UserPatch, UserPost, UserRole, UsersService, ValidationError, ValidationResultModel, Venue, VenueBadmintonEnglandReport, VenueBadmintonEnglandReportPage, VenueBadmintonEnglandReportPatch, VenueBadmintonEnglandReportPost, VenueCreate, VenueOpeningHourUpdate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
|
package/package.json
CHANGED
|
@@ -77234,25 +77234,6 @@ components:
|
|
|
77234
77234
|
readOnly: true
|
|
77235
77235
|
additionalProperties: false
|
|
77236
77236
|
description: Describes meta data for results returned as pages.
|
|
77237
|
-
PatchSurveyQuestionOption:
|
|
77238
|
-
type: object
|
|
77239
|
-
properties:
|
|
77240
|
-
surveyQuestionId:
|
|
77241
|
-
type: string
|
|
77242
|
-
description: Gets or sets the survey question id.
|
|
77243
|
-
format: uuid
|
|
77244
|
-
nullable: true
|
|
77245
|
-
name:
|
|
77246
|
-
type: string
|
|
77247
|
-
description: Gets or sets the survey question option name.
|
|
77248
|
-
nullable: true
|
|
77249
|
-
sortNumber:
|
|
77250
|
-
type: integer
|
|
77251
|
-
description: Gets or sets the survey question option sort number.
|
|
77252
|
-
format: int32
|
|
77253
|
-
nullable: true
|
|
77254
|
-
additionalProperties: false
|
|
77255
|
-
description: Survey Question options.
|
|
77256
77237
|
Payment:
|
|
77257
77238
|
required:
|
|
77258
77239
|
- dateCreated
|
|
@@ -80039,8 +80020,8 @@ components:
|
|
|
80039
80020
|
nullable: true
|
|
80040
80021
|
type:
|
|
80041
80022
|
$ref: '#/components/schemas/SurveyType'
|
|
80042
|
-
|
|
80043
|
-
$ref: '#/components/schemas/
|
|
80023
|
+
responseMode:
|
|
80024
|
+
$ref: '#/components/schemas/SurveyResponseMode'
|
|
80044
80025
|
active:
|
|
80045
80026
|
type: boolean
|
|
80046
80027
|
description: Gets or sets a value indicating whether the survey is active.
|
|
@@ -80248,11 +80229,30 @@ components:
|
|
|
80248
80229
|
options:
|
|
80249
80230
|
type: array
|
|
80250
80231
|
items:
|
|
80251
|
-
$ref: '#/components/schemas/
|
|
80232
|
+
$ref: '#/components/schemas/SurveyQuestionPatchOption'
|
|
80252
80233
|
description: Gets or sets the surveys question options.
|
|
80253
80234
|
nullable: true
|
|
80254
80235
|
additionalProperties: false
|
|
80255
80236
|
description: Post model for survey question updates.
|
|
80237
|
+
SurveyQuestionPatchOption:
|
|
80238
|
+
type: object
|
|
80239
|
+
properties:
|
|
80240
|
+
surveyQuestionId:
|
|
80241
|
+
type: string
|
|
80242
|
+
description: Gets or sets the survey question id.
|
|
80243
|
+
format: uuid
|
|
80244
|
+
nullable: true
|
|
80245
|
+
name:
|
|
80246
|
+
type: string
|
|
80247
|
+
description: Gets or sets the survey question option name.
|
|
80248
|
+
nullable: true
|
|
80249
|
+
sortNumber:
|
|
80250
|
+
type: integer
|
|
80251
|
+
description: Gets or sets the survey question option sort number.
|
|
80252
|
+
format: int32
|
|
80253
|
+
nullable: true
|
|
80254
|
+
additionalProperties: false
|
|
80255
|
+
description: Survey Question options.
|
|
80256
80256
|
SurveyQuestionPost:
|
|
80257
80257
|
required:
|
|
80258
80258
|
- tenantId
|
|
@@ -80286,8 +80286,28 @@ components:
|
|
|
80286
80286
|
type: boolean
|
|
80287
80287
|
description: Gets or sets a value indicating whether the question is active.
|
|
80288
80288
|
nullable: true
|
|
80289
|
+
options:
|
|
80290
|
+
type: array
|
|
80291
|
+
items:
|
|
80292
|
+
$ref: '#/components/schemas/SurveyQuestionPostOption'
|
|
80293
|
+
description: Gets or sets a value indicating whether the question is active.
|
|
80294
|
+
nullable: true
|
|
80289
80295
|
additionalProperties: false
|
|
80290
80296
|
description: Post model for survey question inserts.
|
|
80297
|
+
SurveyQuestionPostOption:
|
|
80298
|
+
type: object
|
|
80299
|
+
properties:
|
|
80300
|
+
name:
|
|
80301
|
+
type: string
|
|
80302
|
+
description: Gets or sets the survey question option name.
|
|
80303
|
+
nullable: true
|
|
80304
|
+
sortNumber:
|
|
80305
|
+
type: integer
|
|
80306
|
+
description: Gets or sets the survey question option sort number.
|
|
80307
|
+
format: int32
|
|
80308
|
+
nullable: true
|
|
80309
|
+
additionalProperties: false
|
|
80310
|
+
description: Post model for survey question options.
|
|
80291
80311
|
SurveyQuestionType:
|
|
80292
80312
|
enum:
|
|
80293
80313
|
- Text
|
|
@@ -81179,6 +81199,10 @@ components:
|
|
|
81179
81199
|
description: Gets or sets a value indicating whether to copy venue managers on booking confirmation emails.
|
|
81180
81200
|
contactOnConfirmation:
|
|
81181
81201
|
$ref: '#/components/schemas/ContactOnConfirmation'
|
|
81202
|
+
migrated:
|
|
81203
|
+
type: boolean
|
|
81204
|
+
description: Gets or sets a value indicating whether the tenant has been migrated from v1.
|
|
81205
|
+
nullable: true
|
|
81182
81206
|
storefrontUrl:
|
|
81183
81207
|
type: string
|
|
81184
81208
|
description: Gets or sets the storefront url.
|
package/src/index.ts
CHANGED
|
@@ -151,7 +151,6 @@ export type { OrgCourseUtilisationPage } from './models/OrgCourseUtilisationPage
|
|
|
151
151
|
export type { OrgCourseUtilisationPatch } from './models/OrgCourseUtilisationPatch';
|
|
152
152
|
export type { OrgCourseUtilisationPost } from './models/OrgCourseUtilisationPost';
|
|
153
153
|
export type { Pagination } from './models/Pagination';
|
|
154
|
-
export type { PatchSurveyQuestionOption } from './models/PatchSurveyQuestionOption';
|
|
155
154
|
export type { Payment } from './models/Payment';
|
|
156
155
|
export { PaymentMethod } from './models/PaymentMethod';
|
|
157
156
|
export type { PaymentPage } from './models/PaymentPage';
|
|
@@ -239,7 +238,9 @@ export type { SurveyQuestion } from './models/SurveyQuestion';
|
|
|
239
238
|
export type { SurveyQuestionOption } from './models/SurveyQuestionOption';
|
|
240
239
|
export type { SurveyQuestionPage } from './models/SurveyQuestionPage';
|
|
241
240
|
export type { SurveyQuestionPatch } from './models/SurveyQuestionPatch';
|
|
241
|
+
export type { SurveyQuestionPatchOption } from './models/SurveyQuestionPatchOption';
|
|
242
242
|
export type { SurveyQuestionPost } from './models/SurveyQuestionPost';
|
|
243
|
+
export type { SurveyQuestionPostOption } from './models/SurveyQuestionPostOption';
|
|
243
244
|
export { SurveyQuestionsTarget } from './models/SurveyQuestionsTarget';
|
|
244
245
|
export { SurveyQuestionType } from './models/SurveyQuestionType';
|
|
245
246
|
export type { SurveyReportExtended } from './models/SurveyReportExtended';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
|
|
6
|
-
import type {
|
|
6
|
+
import type { SurveyResponseMode } from './SurveyResponseMode';
|
|
7
7
|
import type { SurveyType } from './SurveyType';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -23,7 +23,7 @@ export type SurveyPatch = {
|
|
|
23
23
|
*/
|
|
24
24
|
name?: string | null;
|
|
25
25
|
type?: SurveyType;
|
|
26
|
-
|
|
26
|
+
responseMode?: SurveyResponseMode;
|
|
27
27
|
/**
|
|
28
28
|
* Gets or sets a value indicating whether the survey is active.
|
|
29
29
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
|
|
6
|
-
import type {
|
|
6
|
+
import type { SurveyQuestionPatchOption } from './SurveyQuestionPatchOption';
|
|
7
7
|
import type { SurveyQuestionType } from './SurveyQuestionType';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -38,5 +38,5 @@ export type SurveyQuestionPatch = {
|
|
|
38
38
|
/**
|
|
39
39
|
* Gets or sets the surveys question options.
|
|
40
40
|
*/
|
|
41
|
-
options?: Array<
|
|
41
|
+
options?: Array<SurveyQuestionPatchOption> | null;
|
|
42
42
|
};
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
|
|
6
|
+
import type { SurveyQuestionPostOption } from './SurveyQuestionPostOption';
|
|
6
7
|
import type { SurveyQuestionType } from './SurveyQuestionType';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -34,4 +35,8 @@ export type SurveyQuestionPost = {
|
|
|
34
35
|
* Gets or sets a value indicating whether the question is active.
|
|
35
36
|
*/
|
|
36
37
|
active?: boolean | null;
|
|
38
|
+
/**
|
|
39
|
+
* Gets or sets a value indicating whether the question is active.
|
|
40
|
+
*/
|
|
41
|
+
options?: Array<SurveyQuestionPostOption> | null;
|
|
37
42
|
};
|
|
@@ -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
|
+
* Post model for survey question options.
|
|
8
|
+
*/
|
|
9
|
+
export type SurveyQuestionPostOption = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the survey question option name.
|
|
12
|
+
*/
|
|
13
|
+
name?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the survey question option sort number.
|
|
16
|
+
*/
|
|
17
|
+
sortNumber?: number | null;
|
|
18
|
+
};
|
package/src/models/Tenant.ts
CHANGED
|
@@ -229,6 +229,10 @@ export type Tenant = {
|
|
|
229
229
|
*/
|
|
230
230
|
copyManagersOnConfirmation: boolean;
|
|
231
231
|
contactOnConfirmation: ContactOnConfirmation;
|
|
232
|
+
/**
|
|
233
|
+
* Gets or sets a value indicating whether the tenant has been migrated from v1.
|
|
234
|
+
*/
|
|
235
|
+
migrated?: boolean | null;
|
|
232
236
|
/**
|
|
233
237
|
* Gets or sets the storefront url.
|
|
234
238
|
*/
|