btrz-api-client 9.9.0 → 9.9.1

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.
@@ -20,7 +20,7 @@ function marketPricingSettingsFactory({
20
20
  * @param {string} [opts.token] - API key
21
21
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
22
22
  * @param {Object} [opts.headers] - Optional headers
23
- * @returns {Promise<import("axios").AxiosResponse<{ marketPricingSettings: { useOnlySpecificFareTable: boolean, displayExpiredSchedulesInUI: boolean } }>>}
23
+ * @returns {Promise<import("axios").AxiosResponse<{ marketPricingSettings: { useOnlySpecificFareTable: boolean, allowEachTripSegmentToBePricedIndividually: boolean } }>>}
24
24
  */
25
25
  function get({
26
26
  token,
@@ -39,11 +39,12 @@ function marketPricingSettingsFactory({
39
39
  }
40
40
 
41
41
  /**
42
- * PUT /market-pricing-settings – Update market pricing settings. Body: MarketPricingSettings at root (useOnlySpecificFareTable and displayExpiredSchedulesInUI required).
42
+ * PUT /market-pricing-settings – Update market pricing settings. Body: MarketPricingSettings at root (useOnlySpecificFareTable required).
43
+ * Optional: allowEachTripSegmentToBePricedIndividually.
43
44
  * @param {Object} opts
44
45
  * @param {string} [opts.token] - API key
45
46
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
46
- * @param {Object} opts.marketPricingSettings - { useOnlySpecificFareTable: boolean, displayExpiredSchedulesInUI: boolean }
47
+ * @param {Object} opts.marketPricingSettings - { useOnlySpecificFareTable: boolean, allowEachTripSegmentToBePricedIndividually?: boolean }
47
48
  * @param {Object} [opts.headers] - Optional headers
48
49
  * @returns {Promise<import("axios").AxiosResponse<{ marketPricingSettings: object }>>}
49
50
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "btrz-api-client",
3
- "version": "9.9.0",
3
+ "version": "9.9.1",
4
4
  "description": "Api client for Betterez endpoints",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,7 +17,7 @@ function marketPricingSettingsFactory({client, internalAuthTokenProvider}) {
17
17
  * @param {string} [opts.token] - API key
18
18
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
19
19
  * @param {Object} [opts.headers] - Optional headers
20
- * @returns {Promise<import("axios").AxiosResponse<{ marketPricingSettings: { useOnlySpecificFareTable: boolean, displayExpiredSchedulesInUI: boolean } }>>}
20
+ * @returns {Promise<import("axios").AxiosResponse<{ marketPricingSettings: { useOnlySpecificFareTable: boolean, allowEachTripSegmentToBePricedIndividually: boolean } }>>}
21
21
  */
22
22
  function get({token, jwtToken, headers}) {
23
23
  return client({
@@ -27,11 +27,12 @@ function marketPricingSettingsFactory({client, internalAuthTokenProvider}) {
27
27
  }
28
28
 
29
29
  /**
30
- * PUT /market-pricing-settings – Update market pricing settings. Body: MarketPricingSettings at root (useOnlySpecificFareTable and displayExpiredSchedulesInUI required).
30
+ * PUT /market-pricing-settings – Update market pricing settings. Body: MarketPricingSettings at root (useOnlySpecificFareTable required).
31
+ * Optional: allowEachTripSegmentToBePricedIndividually.
31
32
  * @param {Object} opts
32
33
  * @param {string} [opts.token] - API key
33
34
  * @param {string} [opts.jwtToken] - JWT or internal auth symbol
34
- * @param {Object} opts.marketPricingSettings - { useOnlySpecificFareTable: boolean, displayExpiredSchedulesInUI: boolean }
35
+ * @param {Object} opts.marketPricingSettings - { useOnlySpecificFareTable: boolean, allowEachTripSegmentToBePricedIndividually?: boolean }
35
36
  * @param {Object} [opts.headers] - Optional headers
36
37
  * @returns {Promise<import("axios").AxiosResponse<{ marketPricingSettings: object }>>}
37
38
  */