@qite/tide-client 2.0.21 → 2.0.22
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/build/index.d.ts +14 -17
- package/build/index.js +5490 -5854
- package/build/index.js.map +1 -1
- package/build/services/odata.service.d.ts +2 -8
- package/build/types/booking-v2/index.d.ts +3 -3
- package/build/types/booking-v2/request/available-countries-request.d.ts +4 -4
- package/build/types/booking-v2/request/available-flights-request.d.ts +8 -8
- package/build/types/booking-v2/request/bookable-dates-request.d.ts +4 -4
- package/build/types/booking-v2/request/booking-package-address.d.ts +14 -14
- package/build/types/booking-v2/request/booking-package-book-request.d.ts +26 -26
- package/build/types/booking-v2/request/booking-package-customer-request.d.ts +4 -4
- package/build/types/booking-v2/request/booking-package-destination.d.ts +9 -9
- package/build/types/booking-v2/request/booking-package-details-request.d.ts +28 -28
- package/build/types/booking-v2/request/booking-package-flight-pool-request.d.ts +12 -12
- package/build/types/booking-v2/request/booking-package-request.d.ts +5 -5
- package/build/types/booking-v2/request/booking-package-search-request.d.ts +30 -30
- package/build/types/booking-v2/request/booking-package-update-request.d.ts +4 -4
- package/build/types/booking-v2/request/booking-package-voucher-request.d.ts +4 -4
- package/build/types/booking-v2/request/flight-lines-request.d.ts +3 -3
- package/build/types/booking-v2/request/index.d.ts +23 -23
- package/build/types/booking-v2/request/packaging/packaging-accommodation-request.d.ts +36 -36
- package/build/types/booking-v2/request/packaging/packaging-request-base.d.ts +7 -7
- package/build/types/booking-v2/request/packaging/packaging-traject-request.d.ts +13 -13
- package/build/types/booking-v2/request/prices-request.d.ts +17 -17
- package/build/types/booking-v2/request/reprice-and-issue-ticket-request.d.ts +3 -3
- package/build/types/booking-v2/request/selected-flight.d.ts +14 -14
- package/build/types/booking-v2/request/selected-hotel.d.ts +5 -5
- package/build/types/booking-v2/request/tour-codes.request.d.ts +3 -3
- package/build/types/booking-v2/request/transport-dates-request.d.ts +14 -14
- package/build/types/booking-v2/response/available-country.d.ts +5 -5
- package/build/types/booking-v2/response/available-flight.d.ts +4 -4
- package/build/types/booking-v2/response/base-price.d.ts +7 -7
- package/build/types/booking-v2/response/bookable-dates.d.ts +4 -4
- package/build/types/booking-v2/response/booking-package-allotment-info.d.ts +33 -33
- package/build/types/booking-v2/response/booking-package-dossier.d.ts +6 -6
- package/build/types/booking-v2/response/booking-package-entryline-flight-meta-data.d.ts +5 -5
- package/build/types/booking-v2/response/booking-package-flight-combination.d.ts +5 -5
- package/build/types/booking-v2/response/booking-package-flight-info.d.ts +9 -9
- package/build/types/booking-v2/response/booking-package-flight-pool.d.ts +5 -5
- package/build/types/booking-v2/response/booking-package-flight-route.d.ts +4 -4
- package/build/types/booking-v2/response/booking-package-hotel-pool.d.ts +4 -4
- package/build/types/booking-v2/response/booking-package-item.d.ts +43 -43
- package/build/types/booking-v2/response/booking-price-detail.d.ts +17 -17
- package/build/types/booking-v2/response/booking-price-details.d.ts +15 -15
- package/build/types/booking-v2/response/booking-price-per-pax.d.ts +4 -4
- package/build/types/booking-v2/response/booking-product-notification.d.ts +7 -7
- package/build/types/booking-v2/response/booking-room-status-option.d.ts +5 -5
- package/build/types/booking-v2/response/booking-room-status.d.ts +5 -5
- package/build/types/booking-v2/response/booking-travel-agent.d.ts +7 -7
- package/build/types/booking-v2/response/booking-validity-line.d.ts +4 -4
- package/build/types/booking-v2/response/booking-voucher-result.d.ts +3 -3
- package/build/types/booking-v2/response/changed-line.d.ts +4 -4
- package/build/types/booking-v2/response/elastic-result-hit.d.ts +8 -8
- package/build/types/booking-v2/response/elastic-result.d.ts +17 -17
- package/build/types/booking-v2/response/flight-lines-by-allotment.d.ts +11 -11
- package/build/types/booking-v2/response/index.d.ts +37 -37
- package/build/types/booking-v2/response/packaging/packaging-accommodation-response.d.ts +20 -20
- package/build/types/booking-v2/response/packaging/packaging-base-response.d.ts +25 -25
- package/build/types/booking-v2/response/packaging/packaging-entry.d.ts +105 -105
- package/build/types/booking-v2/response/packaging/packaging-flight-response.d.ts +18 -20
- package/build/types/booking-v2/response/packaging/packaging-traject-response.d.ts +74 -74
- package/build/types/booking-v2/response/packaging/packaging-transaction.d.ts +4 -4
- package/build/types/booking-v2/response/tide-elastic-product.d.ts +67 -67
- package/build/types/booking-v2/response/tide-elastic-tag.d.ts +4 -4
- package/build/types/booking-v2/response/tide-response.d.ts +8 -8
- package/build/types/booking-v2/response/tour-codes-response.d.ts +3 -3
- package/build/types/booking-v2/response/transport-dates-response.d.ts +4 -4
- package/build/types/booking-v2/shared/airline-booking-package-option.d.ts +3 -2
- package/build/types/booking-v2/shared/airport-booking-package-option.d.ts +3 -2
- package/build/types/booking-v2/shared/booking-airline-group.d.ts +6 -6
- package/build/types/booking-v2/shared/booking-airport-group.d.ts +6 -6
- package/build/types/booking-v2/shared/booking-mapping-info-item.d.ts +6 -6
- package/build/types/booking-v2/shared/booking-option-group.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-option-pax.d.ts +13 -13
- package/build/types/booking-v2/shared/booking-option-unit.d.ts +12 -12
- package/build/types/booking-v2/shared/booking-package-availability.d.ts +9 -9
- package/build/types/booking-v2/shared/booking-package-custom-field.d.ts +4 -4
- package/build/types/booking-v2/shared/booking-package-entry.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +18 -18
- package/build/types/booking-v2/shared/booking-package-flight-meta-data.d.ts +10 -10
- package/build/types/booking-v2/shared/booking-package-flight.d.ts +18 -18
- package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +11 -11
- package/build/types/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package-hotel.d.ts +22 -22
- package/build/types/booking-v2/shared/booking-package-line.d.ts +17 -17
- package/build/types/booking-v2/shared/booking-package-option-mapping-info.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package-option.d.ts +49 -49
- package/build/types/booking-v2/shared/booking-package-pax-custom-field.d.ts +8 -8
- package/build/types/booking-v2/shared/booking-package-pax.d.ts +23 -23
- package/build/types/booking-v2/shared/booking-package-request-room.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package-room-option.d.ts +22 -22
- package/build/types/booking-v2/shared/booking-package-room.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package-tag.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package.d.ts +16 -16
- package/build/types/booking-v2/shared/index.d.ts +31 -31
- package/build/types/booking-v2/shared/itinerary.d.ts +41 -41
- package/build/types/booking-v2/shared/per-booking-package-option.d.ts +9 -9
- package/build/types/booking-v2/shared/per-package-option.d.ts +12 -12
- package/build/types/booking-v2/shared/per-pax-package-option.d.ts +5 -5
- package/build/types/booking-v2/shared/per-unit-package-option.d.ts +7 -7
- package/build/types/booking-v2/shared/room-option-pax-type.d.ts +4 -4
- package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
- package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
- package/build/types/company/agent/entry-totals.d.ts +7 -7
- package/build/types/company/agent/index.d.ts +3 -3
- package/build/types/company/agent-print-action-request.d.ts +11 -11
- package/build/types/company/agent-print-action.d.ts +6 -6
- package/build/types/company/custom-entry-status-item.d.ts +6 -6
- package/build/types/company/index.d.ts +5 -5
- package/build/types/company/number-string-pair.d.ts +4 -4
- package/build/types/enums/allotment-kind.d.ts +4 -4
- package/build/types/enums/allotment-status.d.ts +5 -5
- package/build/types/enums/allotment-type.d.ts +5 -5
- package/build/types/enums/availability-search-type.d.ts +6 -6
- package/build/types/enums/custom-field-data-type.d.ts +7 -7
- package/build/types/enums/data-type.d.ts +14 -14
- package/build/types/enums/date-amount-type.d.ts +4 -4
- package/build/types/enums/dossier-type.d.ts +6 -6
- package/build/types/enums/duration-type.d.ts +6 -6
- package/build/types/enums/entry-line-flag.d.ts +6 -6
- package/build/types/enums/entry-line-status.d.ts +19 -19
- package/build/types/enums/entry-status.d.ts +8 -8
- package/build/types/enums/export-status.d.ts +5 -5
- package/build/types/enums/form-field-type.d.ts +12 -12
- package/build/types/enums/form-field-width.d.ts +8 -8
- package/build/types/enums/form-type.d.ts +4 -4
- package/build/types/enums/gender.d.ts +5 -5
- package/build/types/enums/height-type.d.ts +4 -4
- package/build/types/enums/index.d.ts +34 -34
- package/build/types/enums/meta-data-item-property-type.d.ts +6 -6
- package/build/types/enums/meta-data-type.d.ts +10 -10
- package/build/types/enums/note-type.d.ts +8 -8
- package/build/types/enums/payment-type.d.ts +6 -6
- package/build/types/enums/portal-qsm-type.d.ts +13 -13
- package/build/types/enums/price-chart-type.d.ts +4 -4
- package/build/types/enums/print-action-group.d.ts +10 -10
- package/build/types/enums/requirement-type.d.ts +5 -5
- package/build/types/enums/room-type.d.ts +8 -8
- package/build/types/enums/route-transport-type.d.ts +19 -19
- package/build/types/enums/sale-type.d.ts +4 -4
- package/build/types/enums/service-type.d.ts +33 -33
- package/build/types/enums/traject-node-type.d.ts +6 -6
- package/build/types/enums/unit-of-measure.d.ts +5 -5
- package/build/types/enums/vendor-type.d.ts +24 -24
- package/build/types/enums/weight-type.d.ts +4 -4
- package/build/types/hubs/index.d.ts +1 -1
- package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -4
- package/build/types/hubs/search/flight-search-request.d.ts +32 -32
- package/build/types/hubs/search/flight-search-response.d.ts +59 -53
- package/build/types/hubs/search/index.d.ts +3 -3
- package/build/types/index.d.ts +10 -10
- package/build/types/mollie/index.d.ts +2 -2
- package/build/types/mollie/mollie-payment-request.d.ts +7 -7
- package/build/types/mollie/mollie-payment.d.ts +3 -3
- package/build/types/odata/column.d.ts +8 -8
- package/build/types/odata/filter-item.d.ts +14 -14
- package/build/types/odata/index.d.ts +4 -4
- package/build/types/odata/odata-params.d.ts +3 -3
- package/build/types/odata/page-result.d.ts +5 -5
- package/build/types/offer/address-item.d.ts +30 -30
- package/build/types/offer/allotment-meta-data.d.ts +6 -6
- package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
- package/build/types/offer/country-item.d.ts +5 -5
- package/build/types/offer/crm-contact-request.d.ts +28 -36
- package/build/types/offer/customer-request.d.ts +5 -5
- package/build/types/offer/dossier-default-product.d.ts +14 -14
- package/build/types/offer/dossier-pax-item.d.ts +4 -4
- package/build/types/offer/dossier-view-result.d.ts +48 -48
- package/build/types/offer/entry-check-response.d.ts +8 -8
- package/build/types/offer/entry-light.d.ts +41 -41
- package/build/types/offer/entry-line-meta-data.d.ts +5 -5
- package/build/types/offer/entry-line-pax.d.ts +8 -8
- package/build/types/offer/entry-line.d.ts +67 -73
- package/build/types/offer/entry-price-line.d.ts +40 -40
- package/build/types/offer/entry-room.d.ts +6 -6
- package/build/types/offer/entry-room2.d.ts +5 -5
- package/build/types/offer/entry.d.ts +55 -65
- package/build/types/offer/flight-data-segment-meta-data.d.ts +31 -31
- package/build/types/offer/flight-meta-data-line.d.ts +16 -16
- package/build/types/offer/flight-meta-data.d.ts +13 -13
- package/build/types/offer/flight-pool.d.ts +5 -5
- package/build/types/offer/geographical-region.d.ts +32 -32
- package/build/types/offer/index.d.ts +46 -46
- package/build/types/offer/item-tag.d.ts +3 -3
- package/build/types/offer/language.d.ts +5 -5
- package/build/types/offer/location-item.d.ts +5 -5
- package/build/types/offer/member-confirmation-request.d.ts +5 -5
- package/build/types/offer/member-forgot-password-request.d.ts +5 -5
- package/build/types/offer/member-info.d.ts +14 -14
- package/build/types/offer/member-login-request.d.ts +5 -5
- package/build/types/offer/member-login-response.d.ts +3 -3
- package/build/types/offer/member-reset-password-request.d.ts +4 -4
- package/build/types/offer/note.d.ts +16 -16
- package/build/types/offer/pax.d.ts +29 -29
- package/build/types/offer/payment.d.ts +20 -20
- package/build/types/offer/person-country-preference.d.ts +7 -7
- package/build/types/offer/person-location-preference.d.ts +7 -7
- package/build/types/offer/person-oord-preference.d.ts +7 -7
- package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
- package/build/types/offer/person-period-preference.d.ts +7 -7
- package/build/types/offer/person-region-preference.d.ts +7 -7
- package/build/types/offer/person-tour-group-preference.d.ts +7 -7
- package/build/types/offer/product-notification-result.d.ts +9 -9
- package/build/types/offer/publishing/geo-json-point.d.ts +4 -4
- package/build/types/offer/publishing/index.d.ts +4 -4
- package/build/types/offer/publishing/mail.d.ts +15 -15
- package/build/types/offer/publishing/published-content-item.d.ts +22 -22
- package/build/types/offer/publishing/published-content.d.ts +10 -10
- package/build/types/offer/web-contact-form-request.d.ts +13 -13
- package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
- package/build/types/shared/date-struct.d.ts +5 -5
- package/build/types/shared/index.d.ts +2 -2
- package/build/types/shared/ticket-number.d.ts +5 -5
- package/build/types/tide-client-config.d.ts +5 -5
- package/build/types/web/affiliate.d.ts +5 -5
- package/build/types/web/agent-allotment-item.d.ts +31 -31
- package/build/types/web/agent-allotment.d.ts +32 -32
- package/build/types/web/agent-dossier-allotment-item.d.ts +8 -8
- package/build/types/web/agent-dossier-allotment.d.ts +14 -14
- package/build/types/web/agent-dossier-book-feedback.d.ts +5 -5
- package/build/types/web/agent-dossier-entry-line.d.ts +8 -8
- package/build/types/web/agent-dossier-flight-meta-data-line.d.ts +18 -18
- package/build/types/web/agent-dossier-flight-meta-data.d.ts +6 -6
- package/build/types/web/agent-dossier-item.d.ts +18 -18
- package/build/types/web/agent-dossier-traveler.d.ts +10 -10
- package/build/types/web/agent-dossier.d.ts +19 -19
- package/build/types/web/airport.d.ts +6 -6
- package/build/types/web/contact-form-request.d.ts +11 -11
- package/build/types/web/content-by-parent-request.d.ts +4 -4
- package/build/types/web/content-by-property-request.d.ts +9 -9
- package/build/types/web/content-by-template-request.d.ts +5 -5
- package/build/types/web/content-filter-request.d.ts +4 -4
- package/build/types/web/generate-booking-accommodation-request.d.ts +6 -6
- package/build/types/web/index.d.ts +26 -26
- package/build/types/web/locations-request.d.ts +3 -3
- package/build/types/web/portal.d.ts +8 -8
- package/build/types/web/style-sheet.d.ts +7 -7
- package/build/types/web/tide-location.d.ts +9 -9
- package/build/types/web/web-contact.d.ts +9 -9
- package/build/types/web/web-form.d.ts +68 -68
- package/build/types/web/web-opportunity-request.d.ts +9 -9
- package/build/types/web/website-configuration.d.ts +36 -36
- package/build/utils/api.d.ts +3 -23
- package/build/utils/booking-v2-client.d.ts +28 -172
- package/build/utils/common-client.d.ts +3 -26
- package/build/utils/json.d.ts +2 -2
- package/build/utils/member-client.d.ts +7 -32
- package/build/utils/mollie-client.d.ts +7 -15
- package/build/utils/packaging-client.d.ts +12 -59
- package/build/utils/search-client.d.ts +24 -60
- package/build/utils/service-token.d.ts +16 -23
- package/build/utils/web-agent-client.d.ts +28 -98
- package/build/utils/web-client.d.ts +75 -136
- package/build/utils/web-contact-client.d.ts +11 -23
- package/build/utils/web-content-client.d.ts +89 -134
- package/build/utils/web-file.d.ts +20 -29
- package/build/utils/web-form.d.ts +20 -36
- package/package.json +67 -67
- package/build/types/booking-v2/request/price-list-request.d.ts +0 -3
|
@@ -1,134 +1,89 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @param
|
|
14
|
-
* @
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
24
|
-
* @
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
*
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* @param
|
|
49
|
-
* @param
|
|
50
|
-
* @
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* @
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* @param
|
|
76
|
-
* @
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* @param
|
|
87
|
-
* @
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
*/
|
|
91
|
-
export declare const getContentLiveByTemplate: (
|
|
92
|
-
config: TideClientConfig,
|
|
93
|
-
request: ContentByTemplateRequest,
|
|
94
|
-
signal?: AbortSignal | undefined
|
|
95
|
-
) => Promise<PublishedContent>;
|
|
96
|
-
/**
|
|
97
|
-
* api/web/content/draft/by-template
|
|
98
|
-
* Gets Draft (Internal) content of a given template.
|
|
99
|
-
* @param config
|
|
100
|
-
* @param request
|
|
101
|
-
* @param signal
|
|
102
|
-
* @returns OK if succeeded.
|
|
103
|
-
*/
|
|
104
|
-
export declare const getContentDraftByTemplate: (
|
|
105
|
-
config: TideClientConfig,
|
|
106
|
-
request: ContentByTemplateRequest,
|
|
107
|
-
signal?: AbortSignal | undefined
|
|
108
|
-
) => Promise<PublishedContent>;
|
|
109
|
-
/**
|
|
110
|
-
* api/web/content/live/children
|
|
111
|
-
* Gets the Live children of a parent item.
|
|
112
|
-
* @param config
|
|
113
|
-
* @param request
|
|
114
|
-
* @param signal
|
|
115
|
-
* @returns OK if succeeded.
|
|
116
|
-
*/
|
|
117
|
-
export declare const getContentLiveChildren: (
|
|
118
|
-
config: TideClientConfig,
|
|
119
|
-
request: ContentByParentRequest,
|
|
120
|
-
signal?: AbortSignal | undefined
|
|
121
|
-
) => Promise<PublishedContent>;
|
|
122
|
-
/**
|
|
123
|
-
* api/web/content/draft/children
|
|
124
|
-
* Gets the Draft (Internal) children of a parent item.
|
|
125
|
-
* @param config
|
|
126
|
-
* @param request
|
|
127
|
-
* @param signal
|
|
128
|
-
* @returns OK if succeeded.
|
|
129
|
-
*/
|
|
130
|
-
export declare const getContentDraftChildren: (
|
|
131
|
-
config: TideClientConfig,
|
|
132
|
-
request: ContentByParentRequest,
|
|
133
|
-
signal?: AbortSignal | undefined
|
|
134
|
-
) => Promise<PublishedContent>;
|
|
1
|
+
import { ContentByParentRequest, ContentByPropertyRequest, ContentByTemplateRequest, ContentFilterRequest, PublishedContent, TideClientConfig } from "../types";
|
|
2
|
+
/**
|
|
3
|
+
* api/web/content/live
|
|
4
|
+
* Gets all Live content
|
|
5
|
+
* @param config
|
|
6
|
+
* @param signal
|
|
7
|
+
* @returns OK if succeeded.
|
|
8
|
+
*/
|
|
9
|
+
export declare const getContentLive: (config: TideClientConfig, signal?: AbortSignal | undefined) => Promise<PublishedContent>;
|
|
10
|
+
/**
|
|
11
|
+
* api/web/content/draft
|
|
12
|
+
* Gets all Draft (Internal) content
|
|
13
|
+
* @param config
|
|
14
|
+
* @param signal
|
|
15
|
+
* @returns OK if succeeded.
|
|
16
|
+
*/
|
|
17
|
+
export declare const getContentDraft: (config: TideClientConfig, signal?: AbortSignal | undefined) => Promise<PublishedContent>;
|
|
18
|
+
/**
|
|
19
|
+
* api/web/content/live/filtered
|
|
20
|
+
* Gets filtered Live content
|
|
21
|
+
* @param config
|
|
22
|
+
* @param request
|
|
23
|
+
* @param signal
|
|
24
|
+
* @returns OK if succeeded.
|
|
25
|
+
*/
|
|
26
|
+
export declare const getFilteredContentLive: (config: TideClientConfig, request: ContentFilterRequest, signal?: AbortSignal | undefined) => Promise<PublishedContent>;
|
|
27
|
+
/**
|
|
28
|
+
* api/web/content/draft/filtered
|
|
29
|
+
* Gets filtered Draft (Internal) content
|
|
30
|
+
* @param config
|
|
31
|
+
* @param request
|
|
32
|
+
* @param signal
|
|
33
|
+
* @returns OK if succeeded.
|
|
34
|
+
*/
|
|
35
|
+
export declare const getFilteredContentDraft: (config: TideClientConfig, request: ContentFilterRequest, signal?: AbortSignal | undefined) => Promise<PublishedContent>;
|
|
36
|
+
/**
|
|
37
|
+
* api/web/content/live/by-property
|
|
38
|
+
* Gets Live content matching a property value (or values).
|
|
39
|
+
* @param config
|
|
40
|
+
* @param request
|
|
41
|
+
* @param signal
|
|
42
|
+
* @returns OK if succeeded.
|
|
43
|
+
*/
|
|
44
|
+
export declare const getContentLiveByProperty: (config: TideClientConfig, request: ContentByPropertyRequest, signal?: AbortSignal | undefined) => Promise<PublishedContent>;
|
|
45
|
+
/**
|
|
46
|
+
* api/web/content/draft/by-property
|
|
47
|
+
* Gets Draft (Internal) content matching a property value (or values).
|
|
48
|
+
* @param config
|
|
49
|
+
* @param request
|
|
50
|
+
* @param signal
|
|
51
|
+
* @returns OK if succeeded.
|
|
52
|
+
*/
|
|
53
|
+
export declare const getContentDraftByProperty: (config: TideClientConfig, request: ContentByPropertyRequest, signal?: AbortSignal | undefined) => Promise<PublishedContent>;
|
|
54
|
+
/**
|
|
55
|
+
* api/web/content/live/by-template
|
|
56
|
+
* Gets Live content of a given template.
|
|
57
|
+
* @param config
|
|
58
|
+
* @param request
|
|
59
|
+
* @param signal
|
|
60
|
+
* @returns OK if succeeded.
|
|
61
|
+
*/
|
|
62
|
+
export declare const getContentLiveByTemplate: (config: TideClientConfig, request: ContentByTemplateRequest, signal?: AbortSignal | undefined) => Promise<PublishedContent>;
|
|
63
|
+
/**
|
|
64
|
+
* api/web/content/draft/by-template
|
|
65
|
+
* Gets Draft (Internal) content of a given template.
|
|
66
|
+
* @param config
|
|
67
|
+
* @param request
|
|
68
|
+
* @param signal
|
|
69
|
+
* @returns OK if succeeded.
|
|
70
|
+
*/
|
|
71
|
+
export declare const getContentDraftByTemplate: (config: TideClientConfig, request: ContentByTemplateRequest, signal?: AbortSignal | undefined) => Promise<PublishedContent>;
|
|
72
|
+
/**
|
|
73
|
+
* api/web/content/live/children
|
|
74
|
+
* Gets the Live children of a parent item.
|
|
75
|
+
* @param config
|
|
76
|
+
* @param request
|
|
77
|
+
* @param signal
|
|
78
|
+
* @returns OK if succeeded.
|
|
79
|
+
*/
|
|
80
|
+
export declare const getContentLiveChildren: (config: TideClientConfig, request: ContentByParentRequest, signal?: AbortSignal | undefined) => Promise<PublishedContent>;
|
|
81
|
+
/**
|
|
82
|
+
* api/web/content/draft/children
|
|
83
|
+
* Gets the Draft (Internal) children of a parent item.
|
|
84
|
+
* @param config
|
|
85
|
+
* @param request
|
|
86
|
+
* @param signal
|
|
87
|
+
* @returns OK if succeeded.
|
|
88
|
+
*/
|
|
89
|
+
export declare const getContentDraftChildren: (config: TideClientConfig, request: ContentByParentRequest, signal?: AbortSignal | undefined) => Promise<PublishedContent>;
|
|
@@ -1,29 +1,20 @@
|
|
|
1
|
-
import { TideClientConfig } from "../types";
|
|
2
|
-
/**
|
|
3
|
-
* api/web/file/feed
|
|
4
|
-
* fetch a xml from blob feed.
|
|
5
|
-
* @param config
|
|
6
|
-
* @param slug
|
|
7
|
-
* @param signal
|
|
8
|
-
* @returns OK if succeeded.
|
|
9
|
-
*/
|
|
10
|
-
export declare const feedXml: (
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* @param signal
|
|
22
|
-
* @returns OK if succeeded.
|
|
23
|
-
*/
|
|
24
|
-
export declare const feedXmlFolder: (
|
|
25
|
-
config: TideClientConfig,
|
|
26
|
-
slug: string,
|
|
27
|
-
folder: string,
|
|
28
|
-
signal?: AbortSignal | undefined
|
|
29
|
-
) => Promise<Response>;
|
|
1
|
+
import { TideClientConfig } from "../types";
|
|
2
|
+
/**
|
|
3
|
+
* api/web/file/feed
|
|
4
|
+
* fetch a xml from blob feed.
|
|
5
|
+
* @param config
|
|
6
|
+
* @param slug
|
|
7
|
+
* @param signal
|
|
8
|
+
* @returns OK if succeeded.
|
|
9
|
+
*/
|
|
10
|
+
export declare const feedXml: (config: TideClientConfig, request: string, signal?: AbortSignal | undefined) => Promise<Response>;
|
|
11
|
+
/**
|
|
12
|
+
* api/web/file/feed
|
|
13
|
+
* fetch a xml from blob feed in subfolder.
|
|
14
|
+
* @param config
|
|
15
|
+
* @param slug
|
|
16
|
+
* @param folder
|
|
17
|
+
* @param signal
|
|
18
|
+
* @returns OK if succeeded.
|
|
19
|
+
*/
|
|
20
|
+
export declare const feedXmlFolder: (config: TideClientConfig, slug: string, folder: string, signal?: AbortSignal | undefined) => Promise<Response>;
|
|
@@ -1,36 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
) => Promise<TideWebForm>;
|
|
22
|
-
/**
|
|
23
|
-
* api/web/form/:id/submit
|
|
24
|
-
* Submits the form data
|
|
25
|
-
* @param config
|
|
26
|
-
* @param id
|
|
27
|
-
* @param request
|
|
28
|
-
* @param signal
|
|
29
|
-
* @returns OK on success
|
|
30
|
-
*/
|
|
31
|
-
export declare const submitForm: (
|
|
32
|
-
config: TideClientConfig,
|
|
33
|
-
id: number,
|
|
34
|
-
request: WebFormSubmitRequest,
|
|
35
|
-
signal?: AbortSignal | undefined
|
|
36
|
-
) => Promise<Response>;
|
|
1
|
+
import { TideClientConfig, TideWebForm, TideWebFormContext, WebFormSubmitRequest } from "../types";
|
|
2
|
+
/**
|
|
3
|
+
* api/web/form/:id
|
|
4
|
+
* Retrieve a form.
|
|
5
|
+
* @param config
|
|
6
|
+
* @param request
|
|
7
|
+
* @param signal
|
|
8
|
+
* @returns TideWebForm
|
|
9
|
+
*/
|
|
10
|
+
export declare const readForm: (config: TideClientConfig, id: number, contexts: TideWebFormContext[], languageCode: string, signal?: AbortSignal | undefined) => Promise<TideWebForm>;
|
|
11
|
+
/**
|
|
12
|
+
* api/web/form/:id/submit
|
|
13
|
+
* Submits the form data
|
|
14
|
+
* @param config
|
|
15
|
+
* @param id
|
|
16
|
+
* @param request
|
|
17
|
+
* @param signal
|
|
18
|
+
* @returns OK on success
|
|
19
|
+
*/
|
|
20
|
+
export declare const submitForm: (config: TideClientConfig, id: number, request: WebFormSubmitRequest, signal?: AbortSignal | undefined) => Promise<Response>;
|
package/package.json
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@qite/tide-client",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "Frontend client for Tide",
|
|
5
|
-
"main": "build/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "rollup -c",
|
|
8
|
-
"tsc": "tsc --noEmit",
|
|
9
|
-
"format": "prettier --write .",
|
|
10
|
-
"test": "jest",
|
|
11
|
-
"copy": "cpx \"**/*.*\" \"../tide-booking-component/node_modules/@qite/tide-client\""
|
|
12
|
-
},
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "git+ssh://git@bitbucket.org/qitegeneral/tide-client.git"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"tide",
|
|
19
|
-
"client"
|
|
20
|
-
],
|
|
21
|
-
"maintainers": [
|
|
22
|
-
"Loris Decoster <loris@qite.be>",
|
|
23
|
-
"Bram De Cuyper <bram.de.cuyper@qite.be>",
|
|
24
|
-
"Maarten Brysbaert <maarten.brysbaert@qite.be>"
|
|
25
|
-
],
|
|
26
|
-
"files": [
|
|
27
|
-
"build"
|
|
28
|
-
],
|
|
29
|
-
"license": "OBSD",
|
|
30
|
-
"homepage": "https://bitbucket.org/qitegeneral/tide-client#readme",
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@rollup/plugin-commonjs": "^19.0.0",
|
|
33
|
-
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
34
|
-
"@types/jest": "^26.0.23",
|
|
35
|
-
"@types/moment": "^2.13.0",
|
|
36
|
-
"dotenv": "^9.0.2",
|
|
37
|
-
"jest": "^26.6.3",
|
|
38
|
-
"jest-fetch-mock": "^3.0.3",
|
|
39
|
-
"moment": "^2.0.0",
|
|
40
|
-
"prettier": "^2.3.0",
|
|
41
|
-
"rollup": "^2.48.0",
|
|
42
|
-
"rollup-plugin-typescript2": "0.36.0",
|
|
43
|
-
"ts-jest": "^26.5.6",
|
|
44
|
-
"tslib": "^2.2.0",
|
|
45
|
-
"typescript": "^4.2.4"
|
|
46
|
-
},
|
|
47
|
-
"jest": {
|
|
48
|
-
"moduleFileExtensions": [
|
|
49
|
-
"ts",
|
|
50
|
-
"js"
|
|
51
|
-
],
|
|
52
|
-
"transform": {
|
|
53
|
-
"^.+\\.ts$": "ts-jest"
|
|
54
|
-
},
|
|
55
|
-
"globals": {
|
|
56
|
-
"ts-jest": {
|
|
57
|
-
"tsconfig": "tsconfig.json"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"testMatch": [
|
|
61
|
-
"**/tests/**/*.test.ts"
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
"dependencies": {
|
|
65
|
-
"cpx": "^1.5.0"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@qite/tide-client",
|
|
3
|
+
"version": "2.0.22",
|
|
4
|
+
"description": "Frontend client for Tide",
|
|
5
|
+
"main": "build/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "rollup -c",
|
|
8
|
+
"tsc": "tsc --noEmit",
|
|
9
|
+
"format": "prettier --write .",
|
|
10
|
+
"test": "jest",
|
|
11
|
+
"copy": "cpx \"**/*.*\" \"../tide-booking-component/node_modules/@qite/tide-client\""
|
|
12
|
+
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+ssh://git@bitbucket.org/qitegeneral/tide-client.git"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"tide",
|
|
19
|
+
"client"
|
|
20
|
+
],
|
|
21
|
+
"maintainers": [
|
|
22
|
+
"Loris Decoster <loris@qite.be>",
|
|
23
|
+
"Bram De Cuyper <bram.de.cuyper@qite.be>",
|
|
24
|
+
"Maarten Brysbaert <maarten.brysbaert@qite.be>"
|
|
25
|
+
],
|
|
26
|
+
"files": [
|
|
27
|
+
"build"
|
|
28
|
+
],
|
|
29
|
+
"license": "OBSD",
|
|
30
|
+
"homepage": "https://bitbucket.org/qitegeneral/tide-client#readme",
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@rollup/plugin-commonjs": "^19.0.0",
|
|
33
|
+
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
34
|
+
"@types/jest": "^26.0.23",
|
|
35
|
+
"@types/moment": "^2.13.0",
|
|
36
|
+
"dotenv": "^9.0.2",
|
|
37
|
+
"jest": "^26.6.3",
|
|
38
|
+
"jest-fetch-mock": "^3.0.3",
|
|
39
|
+
"moment": "^2.0.0",
|
|
40
|
+
"prettier": "^2.3.0",
|
|
41
|
+
"rollup": "^2.48.0",
|
|
42
|
+
"rollup-plugin-typescript2": "0.36.0",
|
|
43
|
+
"ts-jest": "^26.5.6",
|
|
44
|
+
"tslib": "^2.2.0",
|
|
45
|
+
"typescript": "^4.2.4"
|
|
46
|
+
},
|
|
47
|
+
"jest": {
|
|
48
|
+
"moduleFileExtensions": [
|
|
49
|
+
"ts",
|
|
50
|
+
"js"
|
|
51
|
+
],
|
|
52
|
+
"transform": {
|
|
53
|
+
"^.+\\.ts$": "ts-jest"
|
|
54
|
+
},
|
|
55
|
+
"globals": {
|
|
56
|
+
"ts-jest": {
|
|
57
|
+
"tsconfig": "tsconfig.json"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"testMatch": [
|
|
61
|
+
"**/tests/**/*.test.ts"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"cpx": "^1.5.0"
|
|
66
|
+
}
|
|
67
|
+
}
|