reach-api-sdk 1.0.204 → 1.0.206
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 +1264 -258
- package/dist/reach-sdk.js +867 -213
- package/package.json +1 -1
- package/src/apiClient.ts +3 -0
- package/src/definition/swagger.yaml +4085 -1614
- package/src/index.ts +14 -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/UpdateCustomFieldOption.ts +26 -0
- package/src/services/CoursesService.ts +63 -0
- package/src/services/CustomFieldsService.ts +780 -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/dist/reach-sdk.js
CHANGED
|
@@ -3507,6 +3507,51 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3507
3507
|
}
|
|
3508
3508
|
});
|
|
3509
3509
|
}
|
|
3510
|
+
/**
|
|
3511
|
+
* Gets custom field definitions with their current values for a course.
|
|
3512
|
+
* @returns CustomFieldDefinitionWithValue OK
|
|
3513
|
+
* @throws ApiError
|
|
3514
|
+
*/
|
|
3515
|
+
getCustomFields({
|
|
3516
|
+
courseId
|
|
3517
|
+
}) {
|
|
3518
|
+
return this.httpRequest.request({
|
|
3519
|
+
method: "GET",
|
|
3520
|
+
url: "/api/courses/{courseId}/custom-fields",
|
|
3521
|
+
path: {
|
|
3522
|
+
courseId
|
|
3523
|
+
},
|
|
3524
|
+
errors: {
|
|
3525
|
+
400: `Bad Request`,
|
|
3526
|
+
422: `Unprocessable Content`,
|
|
3527
|
+
500: `Internal Server Error`
|
|
3528
|
+
}
|
|
3529
|
+
});
|
|
3530
|
+
}
|
|
3531
|
+
/**
|
|
3532
|
+
* Bulk updates custom field values for a course.
|
|
3533
|
+
* @returns CustomFieldDefinitionWithValue OK
|
|
3534
|
+
* @throws ApiError
|
|
3535
|
+
*/
|
|
3536
|
+
bulkUpdateCustomFields({
|
|
3537
|
+
courseId,
|
|
3538
|
+
requestBody
|
|
3539
|
+
}) {
|
|
3540
|
+
return this.httpRequest.request({
|
|
3541
|
+
method: "PUT",
|
|
3542
|
+
url: "/api/courses/{courseId}/custom-fields",
|
|
3543
|
+
path: {
|
|
3544
|
+
courseId
|
|
3545
|
+
},
|
|
3546
|
+
body: requestBody,
|
|
3547
|
+
mediaType: "application/json",
|
|
3548
|
+
errors: {
|
|
3549
|
+
400: `Bad Request`,
|
|
3550
|
+
422: `Unprocessable Content`,
|
|
3551
|
+
500: `Internal Server Error`
|
|
3552
|
+
}
|
|
3553
|
+
});
|
|
3554
|
+
}
|
|
3510
3555
|
/**
|
|
3511
3556
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
3512
3557
|
* @returns Course OK
|
|
@@ -5764,17 +5809,452 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
5764
5809
|
}
|
|
5765
5810
|
/**
|
|
5766
5811
|
* Gets a list of resources unpaged and without references.
|
|
5767
|
-
* @returns Customer OK
|
|
5812
|
+
* @returns Customer OK
|
|
5813
|
+
* @throws ApiError
|
|
5814
|
+
*/
|
|
5815
|
+
getListWithoutReferences({
|
|
5816
|
+
wildcard,
|
|
5817
|
+
displayEmail,
|
|
5818
|
+
venueId,
|
|
5819
|
+
programmeId,
|
|
5820
|
+
marketingOptIn,
|
|
5821
|
+
isActiveCustomer,
|
|
5822
|
+
endUserIdentityId,
|
|
5823
|
+
pageNumber,
|
|
5824
|
+
take,
|
|
5825
|
+
skip,
|
|
5826
|
+
limitListRequests,
|
|
5827
|
+
tenantId,
|
|
5828
|
+
modifiedById,
|
|
5829
|
+
modifiedByIds,
|
|
5830
|
+
dateCreatedGte,
|
|
5831
|
+
dateCreatedLte,
|
|
5832
|
+
isLive,
|
|
5833
|
+
sortOrderDirection
|
|
5834
|
+
}) {
|
|
5835
|
+
return this.httpRequest.request({
|
|
5836
|
+
method: "GET",
|
|
5837
|
+
url: "/api/customers/without-references",
|
|
5838
|
+
query: {
|
|
5839
|
+
Wildcard: wildcard,
|
|
5840
|
+
DisplayEmail: displayEmail,
|
|
5841
|
+
VenueId: venueId,
|
|
5842
|
+
ProgrammeId: programmeId,
|
|
5843
|
+
MarketingOptIn: marketingOptIn,
|
|
5844
|
+
IsActiveCustomer: isActiveCustomer,
|
|
5845
|
+
EndUserIdentityId: endUserIdentityId,
|
|
5846
|
+
PageNumber: pageNumber,
|
|
5847
|
+
Take: take,
|
|
5848
|
+
Skip: skip,
|
|
5849
|
+
LimitListRequests: limitListRequests,
|
|
5850
|
+
TenantId: tenantId,
|
|
5851
|
+
ModifiedById: modifiedById,
|
|
5852
|
+
ModifiedByIds: modifiedByIds,
|
|
5853
|
+
DateCreatedGTE: dateCreatedGte,
|
|
5854
|
+
DateCreatedLTE: dateCreatedLte,
|
|
5855
|
+
IsLive: isLive,
|
|
5856
|
+
SortOrderDirection: sortOrderDirection
|
|
5857
|
+
},
|
|
5858
|
+
errors: {
|
|
5859
|
+
400: `Bad Request`,
|
|
5860
|
+
422: `Unprocessable Content`,
|
|
5861
|
+
500: `Internal Server Error`
|
|
5862
|
+
}
|
|
5863
|
+
});
|
|
5864
|
+
}
|
|
5865
|
+
/**
|
|
5866
|
+
* Gets a list of resources.
|
|
5867
|
+
* @returns Customer OK
|
|
5868
|
+
* @throws ApiError
|
|
5869
|
+
*/
|
|
5870
|
+
getListIdName({
|
|
5871
|
+
wildcard,
|
|
5872
|
+
displayEmail,
|
|
5873
|
+
venueId,
|
|
5874
|
+
programmeId,
|
|
5875
|
+
marketingOptIn,
|
|
5876
|
+
isActiveCustomer,
|
|
5877
|
+
endUserIdentityId,
|
|
5878
|
+
pageNumber,
|
|
5879
|
+
take,
|
|
5880
|
+
skip,
|
|
5881
|
+
limitListRequests,
|
|
5882
|
+
tenantId,
|
|
5883
|
+
modifiedById,
|
|
5884
|
+
modifiedByIds,
|
|
5885
|
+
dateCreatedGte,
|
|
5886
|
+
dateCreatedLte,
|
|
5887
|
+
isLive,
|
|
5888
|
+
sortOrderDirection
|
|
5889
|
+
}) {
|
|
5890
|
+
return this.httpRequest.request({
|
|
5891
|
+
method: "GET",
|
|
5892
|
+
url: "/api/customers/id-name",
|
|
5893
|
+
query: {
|
|
5894
|
+
Wildcard: wildcard,
|
|
5895
|
+
DisplayEmail: displayEmail,
|
|
5896
|
+
VenueId: venueId,
|
|
5897
|
+
ProgrammeId: programmeId,
|
|
5898
|
+
MarketingOptIn: marketingOptIn,
|
|
5899
|
+
IsActiveCustomer: isActiveCustomer,
|
|
5900
|
+
EndUserIdentityId: endUserIdentityId,
|
|
5901
|
+
PageNumber: pageNumber,
|
|
5902
|
+
Take: take,
|
|
5903
|
+
Skip: skip,
|
|
5904
|
+
LimitListRequests: limitListRequests,
|
|
5905
|
+
TenantId: tenantId,
|
|
5906
|
+
ModifiedById: modifiedById,
|
|
5907
|
+
ModifiedByIds: modifiedByIds,
|
|
5908
|
+
DateCreatedGTE: dateCreatedGte,
|
|
5909
|
+
DateCreatedLTE: dateCreatedLte,
|
|
5910
|
+
IsLive: isLive,
|
|
5911
|
+
SortOrderDirection: sortOrderDirection
|
|
5912
|
+
},
|
|
5913
|
+
errors: {
|
|
5914
|
+
400: `Bad Request`,
|
|
5915
|
+
422: `Unprocessable Content`,
|
|
5916
|
+
500: `Internal Server Error`
|
|
5917
|
+
}
|
|
5918
|
+
});
|
|
5919
|
+
}
|
|
5920
|
+
}class CustomFieldsService {
|
|
5921
|
+
constructor(httpRequest) {
|
|
5922
|
+
this.httpRequest = httpRequest;
|
|
5923
|
+
}
|
|
5924
|
+
/**
|
|
5925
|
+
* Removes a custom field definition by setting archived to true.
|
|
5926
|
+
* @returns CustomFieldDefinition OK
|
|
5927
|
+
* @throws ApiError
|
|
5928
|
+
*/
|
|
5929
|
+
remove({
|
|
5930
|
+
id
|
|
5931
|
+
}) {
|
|
5932
|
+
return this.httpRequest.request({
|
|
5933
|
+
method: "POST",
|
|
5934
|
+
url: "/api/custom-fields/{id}/remove",
|
|
5935
|
+
path: {
|
|
5936
|
+
id
|
|
5937
|
+
},
|
|
5938
|
+
errors: {
|
|
5939
|
+
400: `Bad Request`,
|
|
5940
|
+
422: `Unprocessable Content`,
|
|
5941
|
+
500: `Internal Server Error`
|
|
5942
|
+
}
|
|
5943
|
+
});
|
|
5944
|
+
}
|
|
5945
|
+
/**
|
|
5946
|
+
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
5947
|
+
* @returns CustomFieldDefinition OK
|
|
5948
|
+
* @throws ApiError
|
|
5949
|
+
*/
|
|
5950
|
+
post({
|
|
5951
|
+
requestBody
|
|
5952
|
+
}) {
|
|
5953
|
+
return this.httpRequest.request({
|
|
5954
|
+
method: "POST",
|
|
5955
|
+
url: "/api/custom-fields/v2-temporary-route",
|
|
5956
|
+
body: requestBody,
|
|
5957
|
+
mediaType: "application/json",
|
|
5958
|
+
errors: {
|
|
5959
|
+
400: `Bad Request`,
|
|
5960
|
+
422: `Unprocessable Content`,
|
|
5961
|
+
500: `Internal Server Error`
|
|
5962
|
+
}
|
|
5963
|
+
});
|
|
5964
|
+
}
|
|
5965
|
+
/**
|
|
5966
|
+
* Patches the resource.
|
|
5967
|
+
* @returns CustomFieldDefinition OK
|
|
5968
|
+
* @throws ApiError
|
|
5969
|
+
*/
|
|
5970
|
+
patch({
|
|
5971
|
+
requestBody
|
|
5972
|
+
}) {
|
|
5973
|
+
return this.httpRequest.request({
|
|
5974
|
+
method: "PATCH",
|
|
5975
|
+
url: "/api/custom-fields/v2-temporary-route",
|
|
5976
|
+
body: requestBody,
|
|
5977
|
+
mediaType: "application/json",
|
|
5978
|
+
errors: {
|
|
5979
|
+
400: `Bad Request`,
|
|
5980
|
+
422: `Unprocessable Content`,
|
|
5981
|
+
500: `Internal Server Error`
|
|
5982
|
+
}
|
|
5983
|
+
});
|
|
5984
|
+
}
|
|
5985
|
+
/**
|
|
5986
|
+
* Inserts a list of resources.
|
|
5987
|
+
* @returns CustomFieldDefinition OK
|
|
5988
|
+
* @throws ApiError
|
|
5989
|
+
*/
|
|
5990
|
+
postList({
|
|
5991
|
+
requestBody
|
|
5992
|
+
}) {
|
|
5993
|
+
return this.httpRequest.request({
|
|
5994
|
+
method: "POST",
|
|
5995
|
+
url: "/api/custom-fields/v2-temporary-route/list",
|
|
5996
|
+
body: requestBody,
|
|
5997
|
+
mediaType: "application/json",
|
|
5998
|
+
errors: {
|
|
5999
|
+
400: `Bad Request`,
|
|
6000
|
+
422: `Unprocessable Content`,
|
|
6001
|
+
500: `Internal Server Error`
|
|
6002
|
+
}
|
|
6003
|
+
});
|
|
6004
|
+
}
|
|
6005
|
+
/**
|
|
6006
|
+
* Patches the resource.
|
|
6007
|
+
* @returns CustomFieldDefinition OK
|
|
6008
|
+
* @throws ApiError
|
|
6009
|
+
*/
|
|
6010
|
+
patchWithReferences({
|
|
6011
|
+
requestBody
|
|
6012
|
+
}) {
|
|
6013
|
+
return this.httpRequest.request({
|
|
6014
|
+
method: "PATCH",
|
|
6015
|
+
url: "/api/custom-fields/v2-temporary-route/with-references",
|
|
6016
|
+
body: requestBody,
|
|
6017
|
+
mediaType: "application/json",
|
|
6018
|
+
errors: {
|
|
6019
|
+
400: `Bad Request`,
|
|
6020
|
+
422: `Unprocessable Content`,
|
|
6021
|
+
500: `Internal Server Error`
|
|
6022
|
+
}
|
|
6023
|
+
});
|
|
6024
|
+
}
|
|
6025
|
+
/**
|
|
6026
|
+
* Deletes the resource.
|
|
6027
|
+
* @returns any OK
|
|
6028
|
+
* @throws ApiError
|
|
6029
|
+
*/
|
|
6030
|
+
deleteByObject({
|
|
6031
|
+
requestBody
|
|
6032
|
+
}) {
|
|
6033
|
+
return this.httpRequest.request({
|
|
6034
|
+
method: "DELETE",
|
|
6035
|
+
url: "/api/custom-fields",
|
|
6036
|
+
body: requestBody,
|
|
6037
|
+
mediaType: "application/json",
|
|
6038
|
+
errors: {
|
|
6039
|
+
400: `Bad Request`,
|
|
6040
|
+
422: `Unprocessable Content`,
|
|
6041
|
+
500: `Internal Server Error`
|
|
6042
|
+
}
|
|
6043
|
+
});
|
|
6044
|
+
}
|
|
6045
|
+
/**
|
|
6046
|
+
* Gets a list of resources.
|
|
6047
|
+
* @returns CustomFieldDefinitionPage OK
|
|
6048
|
+
* @throws ApiError
|
|
6049
|
+
*/
|
|
6050
|
+
getPage({
|
|
6051
|
+
ids,
|
|
6052
|
+
entityType,
|
|
6053
|
+
archived,
|
|
6054
|
+
pageNumber,
|
|
6055
|
+
take,
|
|
6056
|
+
skip,
|
|
6057
|
+
limitListRequests,
|
|
6058
|
+
tenantId,
|
|
6059
|
+
modifiedById,
|
|
6060
|
+
modifiedByIds,
|
|
6061
|
+
dateCreatedGte,
|
|
6062
|
+
dateCreatedLte,
|
|
6063
|
+
isLive,
|
|
6064
|
+
sortOrderDirection
|
|
6065
|
+
}) {
|
|
6066
|
+
return this.httpRequest.request({
|
|
6067
|
+
method: "GET",
|
|
6068
|
+
url: "/api/custom-fields",
|
|
6069
|
+
query: {
|
|
6070
|
+
Ids: ids,
|
|
6071
|
+
EntityType: entityType,
|
|
6072
|
+
Archived: archived,
|
|
6073
|
+
PageNumber: pageNumber,
|
|
6074
|
+
Take: take,
|
|
6075
|
+
Skip: skip,
|
|
6076
|
+
LimitListRequests: limitListRequests,
|
|
6077
|
+
TenantId: tenantId,
|
|
6078
|
+
ModifiedById: modifiedById,
|
|
6079
|
+
ModifiedByIds: modifiedByIds,
|
|
6080
|
+
DateCreatedGTE: dateCreatedGte,
|
|
6081
|
+
DateCreatedLTE: dateCreatedLte,
|
|
6082
|
+
IsLive: isLive,
|
|
6083
|
+
SortOrderDirection: sortOrderDirection
|
|
6084
|
+
},
|
|
6085
|
+
errors: {
|
|
6086
|
+
400: `Bad Request`,
|
|
6087
|
+
422: `Unprocessable Content`,
|
|
6088
|
+
500: `Internal Server Error`
|
|
6089
|
+
}
|
|
6090
|
+
});
|
|
6091
|
+
}
|
|
6092
|
+
/**
|
|
6093
|
+
* Deletes the resource.
|
|
6094
|
+
* @returns any OK
|
|
6095
|
+
* @throws ApiError
|
|
6096
|
+
*/
|
|
6097
|
+
deleteById({
|
|
6098
|
+
id
|
|
6099
|
+
}) {
|
|
6100
|
+
return this.httpRequest.request({
|
|
6101
|
+
method: "DELETE",
|
|
6102
|
+
url: "/api/custom-fields/{id}",
|
|
6103
|
+
path: {
|
|
6104
|
+
id
|
|
6105
|
+
},
|
|
6106
|
+
errors: {
|
|
6107
|
+
400: `Bad Request`,
|
|
6108
|
+
422: `Unprocessable Content`,
|
|
6109
|
+
500: `Internal Server Error`
|
|
6110
|
+
}
|
|
6111
|
+
});
|
|
6112
|
+
}
|
|
6113
|
+
/**
|
|
6114
|
+
* Gets the resource by its Id.
|
|
6115
|
+
* @returns CustomFieldDefinition OK
|
|
6116
|
+
* @throws ApiError
|
|
6117
|
+
*/
|
|
6118
|
+
getObject({
|
|
6119
|
+
id
|
|
6120
|
+
}) {
|
|
6121
|
+
return this.httpRequest.request({
|
|
6122
|
+
method: "GET",
|
|
6123
|
+
url: "/api/custom-fields/{id}",
|
|
6124
|
+
path: {
|
|
6125
|
+
id
|
|
6126
|
+
},
|
|
6127
|
+
errors: {
|
|
6128
|
+
400: `Bad Request`,
|
|
6129
|
+
422: `Unprocessable Content`,
|
|
6130
|
+
500: `Internal Server Error`
|
|
6131
|
+
}
|
|
6132
|
+
});
|
|
6133
|
+
}
|
|
6134
|
+
/**
|
|
6135
|
+
* Returns a value indicating whether the resource is deletable.
|
|
6136
|
+
* @returns boolean OK
|
|
6137
|
+
* @throws ApiError
|
|
6138
|
+
*/
|
|
6139
|
+
canDelete({
|
|
6140
|
+
id
|
|
6141
|
+
}) {
|
|
6142
|
+
return this.httpRequest.request({
|
|
6143
|
+
method: "GET",
|
|
6144
|
+
url: "/api/custom-fields/{id}/deletable",
|
|
6145
|
+
path: {
|
|
6146
|
+
id
|
|
6147
|
+
},
|
|
6148
|
+
errors: {
|
|
6149
|
+
400: `Bad Request`,
|
|
6150
|
+
422: `Unprocessable Content`,
|
|
6151
|
+
500: `Internal Server Error`
|
|
6152
|
+
}
|
|
6153
|
+
});
|
|
6154
|
+
}
|
|
6155
|
+
/**
|
|
6156
|
+
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
6157
|
+
* @returns boolean OK
|
|
6158
|
+
* @throws ApiError
|
|
6159
|
+
*/
|
|
6160
|
+
exists({
|
|
6161
|
+
ids,
|
|
6162
|
+
entityType,
|
|
6163
|
+
archived,
|
|
6164
|
+
pageNumber,
|
|
6165
|
+
take,
|
|
6166
|
+
skip,
|
|
6167
|
+
limitListRequests,
|
|
6168
|
+
tenantId,
|
|
6169
|
+
modifiedById,
|
|
6170
|
+
modifiedByIds,
|
|
6171
|
+
dateCreatedGte,
|
|
6172
|
+
dateCreatedLte,
|
|
6173
|
+
isLive,
|
|
6174
|
+
sortOrderDirection
|
|
6175
|
+
}) {
|
|
6176
|
+
return this.httpRequest.request({
|
|
6177
|
+
method: "GET",
|
|
6178
|
+
url: "/api/custom-fields/exists",
|
|
6179
|
+
query: {
|
|
6180
|
+
Ids: ids,
|
|
6181
|
+
EntityType: entityType,
|
|
6182
|
+
Archived: archived,
|
|
6183
|
+
PageNumber: pageNumber,
|
|
6184
|
+
Take: take,
|
|
6185
|
+
Skip: skip,
|
|
6186
|
+
LimitListRequests: limitListRequests,
|
|
6187
|
+
TenantId: tenantId,
|
|
6188
|
+
ModifiedById: modifiedById,
|
|
6189
|
+
ModifiedByIds: modifiedByIds,
|
|
6190
|
+
DateCreatedGTE: dateCreatedGte,
|
|
6191
|
+
DateCreatedLTE: dateCreatedLte,
|
|
6192
|
+
IsLive: isLive,
|
|
6193
|
+
SortOrderDirection: sortOrderDirection
|
|
6194
|
+
},
|
|
6195
|
+
errors: {
|
|
6196
|
+
400: `Bad Request`,
|
|
6197
|
+
422: `Unprocessable Content`,
|
|
6198
|
+
500: `Internal Server Error`
|
|
6199
|
+
}
|
|
6200
|
+
});
|
|
6201
|
+
}
|
|
6202
|
+
/**
|
|
6203
|
+
* Returns the number of results in the database given the provided search params.
|
|
6204
|
+
* @returns number OK
|
|
6205
|
+
* @throws ApiError
|
|
6206
|
+
*/
|
|
6207
|
+
count({
|
|
6208
|
+
ids,
|
|
6209
|
+
entityType,
|
|
6210
|
+
archived,
|
|
6211
|
+
pageNumber,
|
|
6212
|
+
take,
|
|
6213
|
+
skip,
|
|
6214
|
+
limitListRequests,
|
|
6215
|
+
tenantId,
|
|
6216
|
+
modifiedById,
|
|
6217
|
+
modifiedByIds,
|
|
6218
|
+
dateCreatedGte,
|
|
6219
|
+
dateCreatedLte,
|
|
6220
|
+
isLive,
|
|
6221
|
+
sortOrderDirection
|
|
6222
|
+
}) {
|
|
6223
|
+
return this.httpRequest.request({
|
|
6224
|
+
method: "GET",
|
|
6225
|
+
url: "/api/custom-fields/count",
|
|
6226
|
+
query: {
|
|
6227
|
+
Ids: ids,
|
|
6228
|
+
EntityType: entityType,
|
|
6229
|
+
Archived: archived,
|
|
6230
|
+
PageNumber: pageNumber,
|
|
6231
|
+
Take: take,
|
|
6232
|
+
Skip: skip,
|
|
6233
|
+
LimitListRequests: limitListRequests,
|
|
6234
|
+
TenantId: tenantId,
|
|
6235
|
+
ModifiedById: modifiedById,
|
|
6236
|
+
ModifiedByIds: modifiedByIds,
|
|
6237
|
+
DateCreatedGTE: dateCreatedGte,
|
|
6238
|
+
DateCreatedLTE: dateCreatedLte,
|
|
6239
|
+
IsLive: isLive,
|
|
6240
|
+
SortOrderDirection: sortOrderDirection
|
|
6241
|
+
},
|
|
6242
|
+
errors: {
|
|
6243
|
+
400: `Bad Request`,
|
|
6244
|
+
422: `Unprocessable Content`,
|
|
6245
|
+
500: `Internal Server Error`
|
|
6246
|
+
}
|
|
6247
|
+
});
|
|
6248
|
+
}
|
|
6249
|
+
/**
|
|
6250
|
+
* Gets a list of resources unpaged and without references.
|
|
6251
|
+
* @returns CustomFieldDefinition OK
|
|
5768
6252
|
* @throws ApiError
|
|
5769
6253
|
*/
|
|
5770
6254
|
getListWithoutReferences({
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
programmeId,
|
|
5775
|
-
marketingOptIn,
|
|
5776
|
-
isActiveCustomer,
|
|
5777
|
-
endUserIdentityId,
|
|
6255
|
+
ids,
|
|
6256
|
+
entityType,
|
|
6257
|
+
archived,
|
|
5778
6258
|
pageNumber,
|
|
5779
6259
|
take,
|
|
5780
6260
|
skip,
|
|
@@ -5789,15 +6269,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
5789
6269
|
}) {
|
|
5790
6270
|
return this.httpRequest.request({
|
|
5791
6271
|
method: "GET",
|
|
5792
|
-
url: "/api/
|
|
6272
|
+
url: "/api/custom-fields/without-references",
|
|
5793
6273
|
query: {
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
ProgrammeId: programmeId,
|
|
5798
|
-
MarketingOptIn: marketingOptIn,
|
|
5799
|
-
IsActiveCustomer: isActiveCustomer,
|
|
5800
|
-
EndUserIdentityId: endUserIdentityId,
|
|
6274
|
+
Ids: ids,
|
|
6275
|
+
EntityType: entityType,
|
|
6276
|
+
Archived: archived,
|
|
5801
6277
|
PageNumber: pageNumber,
|
|
5802
6278
|
Take: take,
|
|
5803
6279
|
Skip: skip,
|
|
@@ -5819,17 +6295,13 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
5819
6295
|
}
|
|
5820
6296
|
/**
|
|
5821
6297
|
* Gets a list of resources.
|
|
5822
|
-
* @returns
|
|
6298
|
+
* @returns CustomFieldDefinition OK
|
|
5823
6299
|
* @throws ApiError
|
|
5824
6300
|
*/
|
|
5825
6301
|
getListIdName({
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
programmeId,
|
|
5830
|
-
marketingOptIn,
|
|
5831
|
-
isActiveCustomer,
|
|
5832
|
-
endUserIdentityId,
|
|
6302
|
+
ids,
|
|
6303
|
+
entityType,
|
|
6304
|
+
archived,
|
|
5833
6305
|
pageNumber,
|
|
5834
6306
|
take,
|
|
5835
6307
|
skip,
|
|
@@ -5844,15 +6316,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
5844
6316
|
}) {
|
|
5845
6317
|
return this.httpRequest.request({
|
|
5846
6318
|
method: "GET",
|
|
5847
|
-
url: "/api/
|
|
6319
|
+
url: "/api/custom-fields/id-name",
|
|
5848
6320
|
query: {
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
ProgrammeId: programmeId,
|
|
5853
|
-
MarketingOptIn: marketingOptIn,
|
|
5854
|
-
IsActiveCustomer: isActiveCustomer,
|
|
5855
|
-
EndUserIdentityId: endUserIdentityId,
|
|
6321
|
+
Ids: ids,
|
|
6322
|
+
EntityType: entityType,
|
|
6323
|
+
Archived: archived,
|
|
5856
6324
|
PageNumber: pageNumber,
|
|
5857
6325
|
Take: take,
|
|
5858
6326
|
Skip: skip,
|
|
@@ -20856,6 +21324,31 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20856
21324
|
}
|
|
20857
21325
|
});
|
|
20858
21326
|
}
|
|
21327
|
+
/**
|
|
21328
|
+
* Gets public custom field definitions with their current values for a course.
|
|
21329
|
+
* @returns CustomFieldDefinitionWithValue OK
|
|
21330
|
+
* @throws ApiError
|
|
21331
|
+
*/
|
|
21332
|
+
getPublicCustomFields({
|
|
21333
|
+
courseId,
|
|
21334
|
+
xTenantSubdomain
|
|
21335
|
+
}) {
|
|
21336
|
+
return this.httpRequest.request({
|
|
21337
|
+
method: "GET",
|
|
21338
|
+
url: "/api/public/courses/{courseId}/custom-fields",
|
|
21339
|
+
path: {
|
|
21340
|
+
courseId
|
|
21341
|
+
},
|
|
21342
|
+
headers: {
|
|
21343
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
21344
|
+
},
|
|
21345
|
+
errors: {
|
|
21346
|
+
400: `Bad Request`,
|
|
21347
|
+
422: `Unprocessable Content`,
|
|
21348
|
+
500: `Internal Server Error`
|
|
21349
|
+
}
|
|
21350
|
+
});
|
|
21351
|
+
}
|
|
20859
21352
|
/**
|
|
20860
21353
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
20861
21354
|
* @returns Course OK
|
|
@@ -25327,6 +25820,31 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
25327
25820
|
}
|
|
25328
25821
|
});
|
|
25329
25822
|
}
|
|
25823
|
+
/**
|
|
25824
|
+
* Gets public custom field definitions with their current values for a session.
|
|
25825
|
+
* @returns CustomFieldDefinitionWithValue OK
|
|
25826
|
+
* @throws ApiError
|
|
25827
|
+
*/
|
|
25828
|
+
getPublicCustomFields({
|
|
25829
|
+
sessionId,
|
|
25830
|
+
xTenantSubdomain
|
|
25831
|
+
}) {
|
|
25832
|
+
return this.httpRequest.request({
|
|
25833
|
+
method: "GET",
|
|
25834
|
+
url: "/api/public/sessions/{sessionId}/custom-fields",
|
|
25835
|
+
path: {
|
|
25836
|
+
sessionId
|
|
25837
|
+
},
|
|
25838
|
+
headers: {
|
|
25839
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
25840
|
+
},
|
|
25841
|
+
errors: {
|
|
25842
|
+
400: `Bad Request`,
|
|
25843
|
+
422: `Unprocessable Content`,
|
|
25844
|
+
500: `Internal Server Error`
|
|
25845
|
+
}
|
|
25846
|
+
});
|
|
25847
|
+
}
|
|
25330
25848
|
/**
|
|
25331
25849
|
* Returns distinct slot dates without time information.
|
|
25332
25850
|
* @returns any OK
|
|
@@ -27304,191 +27822,216 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
27304
27822
|
});
|
|
27305
27823
|
}
|
|
27306
27824
|
/**
|
|
27307
|
-
* Deletes the resource.
|
|
27308
|
-
* @returns any OK
|
|
27825
|
+
* Deletes the resource.
|
|
27826
|
+
* @returns any OK
|
|
27827
|
+
* @throws ApiError
|
|
27828
|
+
*/
|
|
27829
|
+
deleteByObject({
|
|
27830
|
+
xTenantSubdomain,
|
|
27831
|
+
requestBody
|
|
27832
|
+
}) {
|
|
27833
|
+
return this.httpRequest.request({
|
|
27834
|
+
method: "DELETE",
|
|
27835
|
+
url: "/api/public/venues",
|
|
27836
|
+
headers: {
|
|
27837
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
27838
|
+
},
|
|
27839
|
+
body: requestBody,
|
|
27840
|
+
mediaType: "application/json",
|
|
27841
|
+
errors: {
|
|
27842
|
+
400: `Bad Request`,
|
|
27843
|
+
422: `Unprocessable Content`,
|
|
27844
|
+
500: `Internal Server Error`
|
|
27845
|
+
}
|
|
27846
|
+
});
|
|
27847
|
+
}
|
|
27848
|
+
/**
|
|
27849
|
+
* Get Venues for a network.
|
|
27850
|
+
* @returns VenuePage OK
|
|
27851
|
+
* @throws ApiError
|
|
27852
|
+
*/
|
|
27853
|
+
getNetworkPage({
|
|
27854
|
+
ids,
|
|
27855
|
+
wildcard,
|
|
27856
|
+
name,
|
|
27857
|
+
streetAddress,
|
|
27858
|
+
addressPostalcode,
|
|
27859
|
+
nameLike,
|
|
27860
|
+
slug,
|
|
27861
|
+
assignedTo,
|
|
27862
|
+
stripeAccountId,
|
|
27863
|
+
searchGeoCenter,
|
|
27864
|
+
publishedOnWeb,
|
|
27865
|
+
archived,
|
|
27866
|
+
networkId,
|
|
27867
|
+
tenantStatus,
|
|
27868
|
+
programmeId,
|
|
27869
|
+
includeOpportunityImages,
|
|
27870
|
+
includeOpportunityOffers,
|
|
27871
|
+
includeNextOpportunity,
|
|
27872
|
+
distance,
|
|
27873
|
+
dashboardRequest,
|
|
27874
|
+
programmeIds,
|
|
27875
|
+
venueTypeIds,
|
|
27876
|
+
pageNumber,
|
|
27877
|
+
take,
|
|
27878
|
+
skip,
|
|
27879
|
+
limitListRequests,
|
|
27880
|
+
tenantId,
|
|
27881
|
+
modifiedById,
|
|
27882
|
+
modifiedByIds,
|
|
27883
|
+
dateCreatedGte,
|
|
27884
|
+
dateCreatedLte,
|
|
27885
|
+
isLive,
|
|
27886
|
+
sortOrderDirection
|
|
27887
|
+
}) {
|
|
27888
|
+
return this.httpRequest.request({
|
|
27889
|
+
method: "GET",
|
|
27890
|
+
url: "/api/public/venues/network",
|
|
27891
|
+
query: {
|
|
27892
|
+
Ids: ids,
|
|
27893
|
+
Wildcard: wildcard,
|
|
27894
|
+
Name: name,
|
|
27895
|
+
StreetAddress: streetAddress,
|
|
27896
|
+
AddressPostalcode: addressPostalcode,
|
|
27897
|
+
NameLike: nameLike,
|
|
27898
|
+
Slug: slug,
|
|
27899
|
+
AssignedTo: assignedTo,
|
|
27900
|
+
StripeAccountId: stripeAccountId,
|
|
27901
|
+
SearchGeoCenter: searchGeoCenter,
|
|
27902
|
+
PublishedOnWeb: publishedOnWeb,
|
|
27903
|
+
Archived: archived,
|
|
27904
|
+
NetworkId: networkId,
|
|
27905
|
+
TenantStatus: tenantStatus,
|
|
27906
|
+
ProgrammeId: programmeId,
|
|
27907
|
+
IncludeOpportunityImages: includeOpportunityImages,
|
|
27908
|
+
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
27909
|
+
IncludeNextOpportunity: includeNextOpportunity,
|
|
27910
|
+
Distance: distance,
|
|
27911
|
+
DashboardRequest: dashboardRequest,
|
|
27912
|
+
ProgrammeIds: programmeIds,
|
|
27913
|
+
VenueTypeIds: venueTypeIds,
|
|
27914
|
+
PageNumber: pageNumber,
|
|
27915
|
+
Take: take,
|
|
27916
|
+
Skip: skip,
|
|
27917
|
+
LimitListRequests: limitListRequests,
|
|
27918
|
+
TenantId: tenantId,
|
|
27919
|
+
ModifiedById: modifiedById,
|
|
27920
|
+
ModifiedByIds: modifiedByIds,
|
|
27921
|
+
DateCreatedGTE: dateCreatedGte,
|
|
27922
|
+
DateCreatedLTE: dateCreatedLte,
|
|
27923
|
+
IsLive: isLive,
|
|
27924
|
+
SortOrderDirection: sortOrderDirection
|
|
27925
|
+
},
|
|
27926
|
+
errors: {
|
|
27927
|
+
400: `Bad Request`,
|
|
27928
|
+
422: `Unprocessable Content`,
|
|
27929
|
+
500: `Internal Server Error`
|
|
27930
|
+
}
|
|
27931
|
+
});
|
|
27932
|
+
}
|
|
27933
|
+
/**
|
|
27934
|
+
* Get Venues for a network using optimized query.
|
|
27935
|
+
* @returns VenuePage OK
|
|
27936
|
+
* @throws ApiError
|
|
27937
|
+
*/
|
|
27938
|
+
getNetworkPageOptimized({
|
|
27939
|
+
ids,
|
|
27940
|
+
wildcard,
|
|
27941
|
+
name,
|
|
27942
|
+
streetAddress,
|
|
27943
|
+
addressPostalcode,
|
|
27944
|
+
nameLike,
|
|
27945
|
+
slug,
|
|
27946
|
+
assignedTo,
|
|
27947
|
+
stripeAccountId,
|
|
27948
|
+
searchGeoCenter,
|
|
27949
|
+
publishedOnWeb,
|
|
27950
|
+
archived,
|
|
27951
|
+
networkId,
|
|
27952
|
+
tenantStatus,
|
|
27953
|
+
programmeId,
|
|
27954
|
+
includeOpportunityImages,
|
|
27955
|
+
includeOpportunityOffers,
|
|
27956
|
+
includeNextOpportunity,
|
|
27957
|
+
distance,
|
|
27958
|
+
dashboardRequest,
|
|
27959
|
+
programmeIds,
|
|
27960
|
+
venueTypeIds,
|
|
27961
|
+
pageNumber,
|
|
27962
|
+
take,
|
|
27963
|
+
skip,
|
|
27964
|
+
limitListRequests,
|
|
27965
|
+
tenantId,
|
|
27966
|
+
modifiedById,
|
|
27967
|
+
modifiedByIds,
|
|
27968
|
+
dateCreatedGte,
|
|
27969
|
+
dateCreatedLte,
|
|
27970
|
+
isLive,
|
|
27971
|
+
sortOrderDirection
|
|
27972
|
+
}) {
|
|
27973
|
+
return this.httpRequest.request({
|
|
27974
|
+
method: "GET",
|
|
27975
|
+
url: "/api/public/venues/network/optimized",
|
|
27976
|
+
query: {
|
|
27977
|
+
Ids: ids,
|
|
27978
|
+
Wildcard: wildcard,
|
|
27979
|
+
Name: name,
|
|
27980
|
+
StreetAddress: streetAddress,
|
|
27981
|
+
AddressPostalcode: addressPostalcode,
|
|
27982
|
+
NameLike: nameLike,
|
|
27983
|
+
Slug: slug,
|
|
27984
|
+
AssignedTo: assignedTo,
|
|
27985
|
+
StripeAccountId: stripeAccountId,
|
|
27986
|
+
SearchGeoCenter: searchGeoCenter,
|
|
27987
|
+
PublishedOnWeb: publishedOnWeb,
|
|
27988
|
+
Archived: archived,
|
|
27989
|
+
NetworkId: networkId,
|
|
27990
|
+
TenantStatus: tenantStatus,
|
|
27991
|
+
ProgrammeId: programmeId,
|
|
27992
|
+
IncludeOpportunityImages: includeOpportunityImages,
|
|
27993
|
+
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
27994
|
+
IncludeNextOpportunity: includeNextOpportunity,
|
|
27995
|
+
Distance: distance,
|
|
27996
|
+
DashboardRequest: dashboardRequest,
|
|
27997
|
+
ProgrammeIds: programmeIds,
|
|
27998
|
+
VenueTypeIds: venueTypeIds,
|
|
27999
|
+
PageNumber: pageNumber,
|
|
28000
|
+
Take: take,
|
|
28001
|
+
Skip: skip,
|
|
28002
|
+
LimitListRequests: limitListRequests,
|
|
28003
|
+
TenantId: tenantId,
|
|
28004
|
+
ModifiedById: modifiedById,
|
|
28005
|
+
ModifiedByIds: modifiedByIds,
|
|
28006
|
+
DateCreatedGTE: dateCreatedGte,
|
|
28007
|
+
DateCreatedLTE: dateCreatedLte,
|
|
28008
|
+
IsLive: isLive,
|
|
28009
|
+
SortOrderDirection: sortOrderDirection
|
|
28010
|
+
},
|
|
28011
|
+
errors: {
|
|
28012
|
+
400: `Bad Request`,
|
|
28013
|
+
422: `Unprocessable Content`,
|
|
28014
|
+
500: `Internal Server Error`
|
|
28015
|
+
}
|
|
28016
|
+
});
|
|
28017
|
+
}
|
|
28018
|
+
/**
|
|
28019
|
+
* Gets public custom field definitions with their current values for a venue.
|
|
28020
|
+
* @returns CustomFieldDefinitionWithValue OK
|
|
27309
28021
|
* @throws ApiError
|
|
27310
28022
|
*/
|
|
27311
|
-
|
|
27312
|
-
|
|
27313
|
-
|
|
27314
|
-
}) {
|
|
27315
|
-
return this.httpRequest.request({
|
|
27316
|
-
method: "DELETE",
|
|
27317
|
-
url: "/api/public/venues",
|
|
27318
|
-
headers: {
|
|
27319
|
-
x_tenant_subdomain: xTenantSubdomain
|
|
27320
|
-
},
|
|
27321
|
-
body: requestBody,
|
|
27322
|
-
mediaType: "application/json",
|
|
27323
|
-
errors: {
|
|
27324
|
-
400: `Bad Request`,
|
|
27325
|
-
422: `Unprocessable Content`,
|
|
27326
|
-
500: `Internal Server Error`
|
|
27327
|
-
}
|
|
27328
|
-
});
|
|
27329
|
-
}
|
|
27330
|
-
/**
|
|
27331
|
-
* Get Venues for a network.
|
|
27332
|
-
* @returns VenuePage OK
|
|
27333
|
-
* @throws ApiError
|
|
27334
|
-
*/
|
|
27335
|
-
getNetworkPage({
|
|
27336
|
-
ids,
|
|
27337
|
-
wildcard,
|
|
27338
|
-
name,
|
|
27339
|
-
streetAddress,
|
|
27340
|
-
addressPostalcode,
|
|
27341
|
-
nameLike,
|
|
27342
|
-
slug,
|
|
27343
|
-
assignedTo,
|
|
27344
|
-
stripeAccountId,
|
|
27345
|
-
searchGeoCenter,
|
|
27346
|
-
publishedOnWeb,
|
|
27347
|
-
archived,
|
|
27348
|
-
networkId,
|
|
27349
|
-
tenantStatus,
|
|
27350
|
-
programmeId,
|
|
27351
|
-
includeOpportunityImages,
|
|
27352
|
-
includeOpportunityOffers,
|
|
27353
|
-
includeNextOpportunity,
|
|
27354
|
-
distance,
|
|
27355
|
-
dashboardRequest,
|
|
27356
|
-
programmeIds,
|
|
27357
|
-
venueTypeIds,
|
|
27358
|
-
pageNumber,
|
|
27359
|
-
take,
|
|
27360
|
-
skip,
|
|
27361
|
-
limitListRequests,
|
|
27362
|
-
tenantId,
|
|
27363
|
-
modifiedById,
|
|
27364
|
-
modifiedByIds,
|
|
27365
|
-
dateCreatedGte,
|
|
27366
|
-
dateCreatedLte,
|
|
27367
|
-
isLive,
|
|
27368
|
-
sortOrderDirection
|
|
28023
|
+
getPublicCustomFields({
|
|
28024
|
+
venueId,
|
|
28025
|
+
xTenantSubdomain
|
|
27369
28026
|
}) {
|
|
27370
28027
|
return this.httpRequest.request({
|
|
27371
28028
|
method: "GET",
|
|
27372
|
-
url: "/api/public/venues/
|
|
27373
|
-
|
|
27374
|
-
|
|
27375
|
-
Wildcard: wildcard,
|
|
27376
|
-
Name: name,
|
|
27377
|
-
StreetAddress: streetAddress,
|
|
27378
|
-
AddressPostalcode: addressPostalcode,
|
|
27379
|
-
NameLike: nameLike,
|
|
27380
|
-
Slug: slug,
|
|
27381
|
-
AssignedTo: assignedTo,
|
|
27382
|
-
StripeAccountId: stripeAccountId,
|
|
27383
|
-
SearchGeoCenter: searchGeoCenter,
|
|
27384
|
-
PublishedOnWeb: publishedOnWeb,
|
|
27385
|
-
Archived: archived,
|
|
27386
|
-
NetworkId: networkId,
|
|
27387
|
-
TenantStatus: tenantStatus,
|
|
27388
|
-
ProgrammeId: programmeId,
|
|
27389
|
-
IncludeOpportunityImages: includeOpportunityImages,
|
|
27390
|
-
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
27391
|
-
IncludeNextOpportunity: includeNextOpportunity,
|
|
27392
|
-
Distance: distance,
|
|
27393
|
-
DashboardRequest: dashboardRequest,
|
|
27394
|
-
ProgrammeIds: programmeIds,
|
|
27395
|
-
VenueTypeIds: venueTypeIds,
|
|
27396
|
-
PageNumber: pageNumber,
|
|
27397
|
-
Take: take,
|
|
27398
|
-
Skip: skip,
|
|
27399
|
-
LimitListRequests: limitListRequests,
|
|
27400
|
-
TenantId: tenantId,
|
|
27401
|
-
ModifiedById: modifiedById,
|
|
27402
|
-
ModifiedByIds: modifiedByIds,
|
|
27403
|
-
DateCreatedGTE: dateCreatedGte,
|
|
27404
|
-
DateCreatedLTE: dateCreatedLte,
|
|
27405
|
-
IsLive: isLive,
|
|
27406
|
-
SortOrderDirection: sortOrderDirection
|
|
28029
|
+
url: "/api/public/venues/{venueId}/custom-fields",
|
|
28030
|
+
path: {
|
|
28031
|
+
venueId
|
|
27407
28032
|
},
|
|
27408
|
-
|
|
27409
|
-
|
|
27410
|
-
422: `Unprocessable Content`,
|
|
27411
|
-
500: `Internal Server Error`
|
|
27412
|
-
}
|
|
27413
|
-
});
|
|
27414
|
-
}
|
|
27415
|
-
/**
|
|
27416
|
-
* Get Venues for a network using optimized query.
|
|
27417
|
-
* @returns VenuePage OK
|
|
27418
|
-
* @throws ApiError
|
|
27419
|
-
*/
|
|
27420
|
-
getNetworkPageOptimized({
|
|
27421
|
-
ids,
|
|
27422
|
-
wildcard,
|
|
27423
|
-
name,
|
|
27424
|
-
streetAddress,
|
|
27425
|
-
addressPostalcode,
|
|
27426
|
-
nameLike,
|
|
27427
|
-
slug,
|
|
27428
|
-
assignedTo,
|
|
27429
|
-
stripeAccountId,
|
|
27430
|
-
searchGeoCenter,
|
|
27431
|
-
publishedOnWeb,
|
|
27432
|
-
archived,
|
|
27433
|
-
networkId,
|
|
27434
|
-
tenantStatus,
|
|
27435
|
-
programmeId,
|
|
27436
|
-
includeOpportunityImages,
|
|
27437
|
-
includeOpportunityOffers,
|
|
27438
|
-
includeNextOpportunity,
|
|
27439
|
-
distance,
|
|
27440
|
-
dashboardRequest,
|
|
27441
|
-
programmeIds,
|
|
27442
|
-
venueTypeIds,
|
|
27443
|
-
pageNumber,
|
|
27444
|
-
take,
|
|
27445
|
-
skip,
|
|
27446
|
-
limitListRequests,
|
|
27447
|
-
tenantId,
|
|
27448
|
-
modifiedById,
|
|
27449
|
-
modifiedByIds,
|
|
27450
|
-
dateCreatedGte,
|
|
27451
|
-
dateCreatedLte,
|
|
27452
|
-
isLive,
|
|
27453
|
-
sortOrderDirection
|
|
27454
|
-
}) {
|
|
27455
|
-
return this.httpRequest.request({
|
|
27456
|
-
method: "GET",
|
|
27457
|
-
url: "/api/public/venues/network/optimized",
|
|
27458
|
-
query: {
|
|
27459
|
-
Ids: ids,
|
|
27460
|
-
Wildcard: wildcard,
|
|
27461
|
-
Name: name,
|
|
27462
|
-
StreetAddress: streetAddress,
|
|
27463
|
-
AddressPostalcode: addressPostalcode,
|
|
27464
|
-
NameLike: nameLike,
|
|
27465
|
-
Slug: slug,
|
|
27466
|
-
AssignedTo: assignedTo,
|
|
27467
|
-
StripeAccountId: stripeAccountId,
|
|
27468
|
-
SearchGeoCenter: searchGeoCenter,
|
|
27469
|
-
PublishedOnWeb: publishedOnWeb,
|
|
27470
|
-
Archived: archived,
|
|
27471
|
-
NetworkId: networkId,
|
|
27472
|
-
TenantStatus: tenantStatus,
|
|
27473
|
-
ProgrammeId: programmeId,
|
|
27474
|
-
IncludeOpportunityImages: includeOpportunityImages,
|
|
27475
|
-
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
27476
|
-
IncludeNextOpportunity: includeNextOpportunity,
|
|
27477
|
-
Distance: distance,
|
|
27478
|
-
DashboardRequest: dashboardRequest,
|
|
27479
|
-
ProgrammeIds: programmeIds,
|
|
27480
|
-
VenueTypeIds: venueTypeIds,
|
|
27481
|
-
PageNumber: pageNumber,
|
|
27482
|
-
Take: take,
|
|
27483
|
-
Skip: skip,
|
|
27484
|
-
LimitListRequests: limitListRequests,
|
|
27485
|
-
TenantId: tenantId,
|
|
27486
|
-
ModifiedById: modifiedById,
|
|
27487
|
-
ModifiedByIds: modifiedByIds,
|
|
27488
|
-
DateCreatedGTE: dateCreatedGte,
|
|
27489
|
-
DateCreatedLTE: dateCreatedLte,
|
|
27490
|
-
IsLive: isLive,
|
|
27491
|
-
SortOrderDirection: sortOrderDirection
|
|
28033
|
+
headers: {
|
|
28034
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
27492
28035
|
},
|
|
27493
28036
|
errors: {
|
|
27494
28037
|
400: `Bad Request`,
|
|
@@ -31329,6 +31872,51 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
31329
31872
|
}
|
|
31330
31873
|
});
|
|
31331
31874
|
}
|
|
31875
|
+
/**
|
|
31876
|
+
* Gets custom field definitions with their current values for a session.
|
|
31877
|
+
* @returns CustomFieldDefinitionWithValue OK
|
|
31878
|
+
* @throws ApiError
|
|
31879
|
+
*/
|
|
31880
|
+
getCustomFields({
|
|
31881
|
+
sessionId
|
|
31882
|
+
}) {
|
|
31883
|
+
return this.httpRequest.request({
|
|
31884
|
+
method: "GET",
|
|
31885
|
+
url: "/api/sessions/{sessionId}/custom-fields",
|
|
31886
|
+
path: {
|
|
31887
|
+
sessionId
|
|
31888
|
+
},
|
|
31889
|
+
errors: {
|
|
31890
|
+
400: `Bad Request`,
|
|
31891
|
+
422: `Unprocessable Content`,
|
|
31892
|
+
500: `Internal Server Error`
|
|
31893
|
+
}
|
|
31894
|
+
});
|
|
31895
|
+
}
|
|
31896
|
+
/**
|
|
31897
|
+
* Bulk updates custom field values for a session.
|
|
31898
|
+
* @returns CustomFieldDefinitionWithValue OK
|
|
31899
|
+
* @throws ApiError
|
|
31900
|
+
*/
|
|
31901
|
+
bulkUpdateCustomFields({
|
|
31902
|
+
sessionId,
|
|
31903
|
+
requestBody
|
|
31904
|
+
}) {
|
|
31905
|
+
return this.httpRequest.request({
|
|
31906
|
+
method: "PUT",
|
|
31907
|
+
url: "/api/sessions/{sessionId}/custom-fields",
|
|
31908
|
+
path: {
|
|
31909
|
+
sessionId
|
|
31910
|
+
},
|
|
31911
|
+
body: requestBody,
|
|
31912
|
+
mediaType: "application/json",
|
|
31913
|
+
errors: {
|
|
31914
|
+
400: `Bad Request`,
|
|
31915
|
+
422: `Unprocessable Content`,
|
|
31916
|
+
500: `Internal Server Error`
|
|
31917
|
+
}
|
|
31918
|
+
});
|
|
31919
|
+
}
|
|
31332
31920
|
/**
|
|
31333
31921
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
31334
31922
|
* @returns Session OK
|
|
@@ -43030,6 +43618,51 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
43030
43618
|
}
|
|
43031
43619
|
});
|
|
43032
43620
|
}
|
|
43621
|
+
/**
|
|
43622
|
+
* Gets custom field definitions with their current values for a venue.
|
|
43623
|
+
* @returns CustomFieldDefinitionWithValue OK
|
|
43624
|
+
* @throws ApiError
|
|
43625
|
+
*/
|
|
43626
|
+
getCustomFields({
|
|
43627
|
+
venueId
|
|
43628
|
+
}) {
|
|
43629
|
+
return this.httpRequest.request({
|
|
43630
|
+
method: "GET",
|
|
43631
|
+
url: "/api/venues/{venueId}/custom-fields",
|
|
43632
|
+
path: {
|
|
43633
|
+
venueId
|
|
43634
|
+
},
|
|
43635
|
+
errors: {
|
|
43636
|
+
400: `Bad Request`,
|
|
43637
|
+
422: `Unprocessable Content`,
|
|
43638
|
+
500: `Internal Server Error`
|
|
43639
|
+
}
|
|
43640
|
+
});
|
|
43641
|
+
}
|
|
43642
|
+
/**
|
|
43643
|
+
* Bulk updates custom field values for a venue.
|
|
43644
|
+
* @returns CustomFieldDefinitionWithValue OK
|
|
43645
|
+
* @throws ApiError
|
|
43646
|
+
*/
|
|
43647
|
+
bulkUpdateCustomFields({
|
|
43648
|
+
venueId,
|
|
43649
|
+
requestBody
|
|
43650
|
+
}) {
|
|
43651
|
+
return this.httpRequest.request({
|
|
43652
|
+
method: "PUT",
|
|
43653
|
+
url: "/api/venues/{venueId}/custom-fields",
|
|
43654
|
+
path: {
|
|
43655
|
+
venueId
|
|
43656
|
+
},
|
|
43657
|
+
body: requestBody,
|
|
43658
|
+
mediaType: "application/json",
|
|
43659
|
+
errors: {
|
|
43660
|
+
400: `Bad Request`,
|
|
43661
|
+
422: `Unprocessable Content`,
|
|
43662
|
+
500: `Internal Server Error`
|
|
43663
|
+
}
|
|
43664
|
+
});
|
|
43665
|
+
}
|
|
43033
43666
|
/**
|
|
43034
43667
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
43035
43668
|
* @returns Venue OK
|
|
@@ -46360,6 +46993,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
46360
46993
|
courseSessions;
|
|
46361
46994
|
courseSessionSchedules;
|
|
46362
46995
|
customers;
|
|
46996
|
+
customFields;
|
|
46363
46997
|
dealActivities;
|
|
46364
46998
|
deals;
|
|
46365
46999
|
discountCodeUses;
|
|
@@ -46492,6 +47126,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
46492
47126
|
this.courseSessions = new CourseSessionsService(this.request);
|
|
46493
47127
|
this.courseSessionSchedules = new CourseSessionSchedulesService(this.request);
|
|
46494
47128
|
this.customers = new CustomersService(this.request);
|
|
47129
|
+
this.customFields = new CustomFieldsService(this.request);
|
|
46495
47130
|
this.dealActivities = new DealActivitiesService(this.request);
|
|
46496
47131
|
this.deals = new DealsService(this.request);
|
|
46497
47132
|
this.discountCodeUses = new DiscountCodeUsesService(this.request);
|
|
@@ -46693,7 +47328,26 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
46693
47328
|
CustomerType2["PERSON"] = "Person";
|
|
46694
47329
|
CustomerType2["ORGANISATION"] = "Organisation";
|
|
46695
47330
|
return CustomerType2;
|
|
46696
|
-
})(CustomerType || {});var
|
|
47331
|
+
})(CustomerType || {});var CustomFieldDataType = /* @__PURE__ */ ((CustomFieldDataType2) => {
|
|
47332
|
+
CustomFieldDataType2["TEXT"] = "Text";
|
|
47333
|
+
CustomFieldDataType2["MULTI_LINE_TEXT"] = "MultiLineText";
|
|
47334
|
+
CustomFieldDataType2["NUMBER"] = "Number";
|
|
47335
|
+
CustomFieldDataType2["DECIMAL"] = "Decimal";
|
|
47336
|
+
CustomFieldDataType2["BOOL"] = "Bool";
|
|
47337
|
+
CustomFieldDataType2["DATE"] = "Date";
|
|
47338
|
+
CustomFieldDataType2["DATE_TIME"] = "DateTime";
|
|
47339
|
+
CustomFieldDataType2["URL"] = "Url";
|
|
47340
|
+
CustomFieldDataType2["EMAIL"] = "Email";
|
|
47341
|
+
CustomFieldDataType2["PHONE"] = "Phone";
|
|
47342
|
+
CustomFieldDataType2["SINGLE_SELECT"] = "SingleSelect";
|
|
47343
|
+
CustomFieldDataType2["MULTI_SELECT"] = "MultiSelect";
|
|
47344
|
+
return CustomFieldDataType2;
|
|
47345
|
+
})(CustomFieldDataType || {});var CustomFieldValueEntityType = /* @__PURE__ */ ((CustomFieldValueEntityType2) => {
|
|
47346
|
+
CustomFieldValueEntityType2["VENUE"] = "Venue";
|
|
47347
|
+
CustomFieldValueEntityType2["COURSE"] = "Course";
|
|
47348
|
+
CustomFieldValueEntityType2["SESSION"] = "Session";
|
|
47349
|
+
return CustomFieldValueEntityType2;
|
|
47350
|
+
})(CustomFieldValueEntityType || {});var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
|
|
46697
47351
|
DayOfWeek2["SUNDAY"] = "Sunday";
|
|
46698
47352
|
DayOfWeek2["MONDAY"] = "Monday";
|
|
46699
47353
|
DayOfWeek2["TUESDAY"] = "Tuesday";
|
|
@@ -47003,4 +47657,4 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
47003
47657
|
UpcomingLayout2["GRID"] = "Grid";
|
|
47004
47658
|
UpcomingLayout2["CALENDAR"] = "Calendar";
|
|
47005
47659
|
return UpcomingLayout2;
|
|
47006
|
-
})(UpcomingLayout || {});export{ActivityPerformanceService,ActivityService,ActivityType,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,CheckoutPlatform,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,EventTiming,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,InviteStatus,LeasingService,LocationsReportService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityRegisterStatus,OpportunityType,OrderItemReportService,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentPoliciesService,PaymentPolicySplitType,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,PlatformPayoutsService,Prepayment,ProgrammesService,ProviderTypesService,ProvidersService,PublicBookingService,PublicCalendarService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSessionsService,PublicSlotsService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenueTypesService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantStatus,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UpcomingLayout,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenueTypeService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService};
|
|
47660
|
+
})(UpcomingLayout || {});export{ActivityPerformanceService,ActivityService,ActivityType,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,CheckoutPlatform,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomFieldDataType,CustomFieldValueEntityType,CustomFieldsService,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,EventTiming,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,InviteStatus,LeasingService,LocationsReportService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityRegisterStatus,OpportunityType,OrderItemReportService,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentPoliciesService,PaymentPolicySplitType,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,PlatformPayoutsService,Prepayment,ProgrammesService,ProviderTypesService,ProvidersService,PublicBookingService,PublicCalendarService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSessionsService,PublicSlotsService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenueTypesService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantStatus,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UpcomingLayout,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenueTypeService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService};
|