@zimmerstack/connect 0.5.0 → 0.7.0

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.
@@ -1,5 +1,5 @@
1
1
  /** This package's version, sent as the user agent so ZimmerStack can tell which client a request came from. */
2
- export declare const SDK_VERSION = "0.5.0";
2
+ export declare const SDK_VERSION = "0.7.0";
3
3
  /** Where the API lives. The key is sent nowhere else. */
4
4
  export declare const API_ORIGIN = "https://api.zimmerstack.com";
5
5
  export declare const API_PREFIX = "/api/v1/connect-api/v1";
@@ -27,19 +27,19 @@ export declare const LIMITS: {
27
27
  readonly maxNightsPerBooking: 90;
28
28
  };
29
29
  /** Every stable error code (`error.code`). Messages are for people and may change; branch on these. */
30
- export declare const ERROR_CODES: readonly ["API_KEY_INVALID", "API_KEY_REVOKED", "API_KEY_EXPIRED", "CONNECT_API_NOT_CONFIGURED", "IP_NOT_ALLOWED", "SCOPE_MISSING", "PROPERTY_UNAVAILABLE", "CHANNEL_MANAGER_DISABLED", "PMS_NOT_AVAILABLE", "VALIDATION", "RANGE_INVALID", "HORIZON", "TOO_MANY_UPDATES", "TOO_MANY_CELLS", "UNKNOWN_ROOM_TYPE", "UNKNOWN_RATE_PLAN", "CURRENCY_MISMATCH", "RATE_LIMITED", "NOTHING_ACCEPTED", "BATCH_NOT_FOUND", "IDEMPOTENCY_KEY_INVALID", "IDEMPOTENCY_KEY_REUSED", "IDEMPOTENCY_IN_FLIGHT", "STAY_INVALID", "UNKNOWN_ROOM_TYPE_FOR_PLAN", "OCCUPANCY_EXCEEDED", "NO_AVAILABILITY", "EXTERNAL_REFERENCE_REUSED", "PAYMENT_NOT_ALLOWED", "PAYMENT_EXCEEDS_TOTAL", "BOOKING_NOT_FOUND", "BOOKING_NOT_CANCELLABLE", "MODULE_NOT_ENTITLED", "SANDBOX_ONLY", "ROOM_TYPE_NOT_FOUND", "RATE_PLAN_NOT_FOUND", "CATALOG_CONFLICT", "CATALOG_BUSY", "CHANNEL_MANAGER_ERROR", "PROPERTY_REQUIRED", "PROPERTY_NOT_FOUND", "ARI_NOT_AUTHORITATIVE", "ROUTE_NOT_FOUND", "PAYLOAD_TOO_LARGE", "AUTH_BACKEND_UNAVAILABLE", "BOOKING_NOT_MODIFIABLE", "SANDBOX_NOT_FOUND", "SANDBOX_INCOMPLETE", "WRITES_FROZEN", "WRITES_SUSPENDED", "SHIELD_UNAVAILABLE", "CATALOG_LIMIT_REACHED", "TOO_MANY_NEW_ENTITIES", "RATE_OUT_OF_BAND", "CHANNEL_NOT_FOUND", "CHANNEL_SHARED", "MODIFIER_OUT_OF_BAND", "COMPANY_KEY_REQUIRED", "BILLING_SETUP_REQUIRED", "OWNER_HAS_ACCOUNT", "SANDBOX_LIMIT", "CONFIRMATION_MISMATCH", "PROPERTY_NOT_REMOVABLE", "PROPERTY_BUSY", "PRICE_UNAVAILABLE"];
30
+ export declare const ERROR_CODES: readonly ["API_KEY_INVALID", "API_KEY_REVOKED", "API_KEY_EXPIRED", "CONNECT_API_NOT_CONFIGURED", "IP_NOT_ALLOWED", "SCOPE_MISSING", "PROPERTY_UNAVAILABLE", "CHANNEL_MANAGER_DISABLED", "PMS_NOT_AVAILABLE", "VALIDATION", "RANGE_INVALID", "HORIZON", "TOO_MANY_UPDATES", "TOO_MANY_CELLS", "UNKNOWN_ROOM_TYPE", "UNKNOWN_RATE_PLAN", "CURRENCY_MISMATCH", "RATE_LIMITED", "NOTHING_ACCEPTED", "BATCH_NOT_FOUND", "IDEMPOTENCY_KEY_INVALID", "IDEMPOTENCY_KEY_REUSED", "IDEMPOTENCY_IN_FLIGHT", "STAY_INVALID", "UNKNOWN_ROOM_TYPE_FOR_PLAN", "OCCUPANCY_EXCEEDED", "NO_AVAILABILITY", "EXTERNAL_REFERENCE_REUSED", "PAYMENT_NOT_ALLOWED", "PAYMENT_EXCEEDS_TOTAL", "TAXES_NOT_CONFIGURED", "TAXES_INSIDE_RATES", "BOOKING_NOT_FOUND", "BOOKING_NOT_CANCELLABLE", "MODULE_NOT_ENTITLED", "SANDBOX_ONLY", "ROOM_TYPE_NOT_FOUND", "RATE_PLAN_NOT_FOUND", "CATALOG_CONFLICT", "CATALOG_BUSY", "CHANNEL_MANAGER_ERROR", "PROPERTY_REQUIRED", "PROPERTY_NOT_FOUND", "ARI_NOT_AUTHORITATIVE", "ROUTE_NOT_FOUND", "PAYLOAD_TOO_LARGE", "AUTH_BACKEND_UNAVAILABLE", "BOOKING_NOT_MODIFIABLE", "SANDBOX_NOT_FOUND", "SANDBOX_INCOMPLETE", "WRITES_FROZEN", "WRITES_SUSPENDED", "SHIELD_UNAVAILABLE", "CATALOG_LIMIT_REACHED", "TOO_MANY_NEW_ENTITIES", "RATE_OUT_OF_BAND", "CHANNEL_NOT_FOUND", "CHANNEL_SHARED", "MODIFIER_OUT_OF_BAND", "COMPANY_KEY_REQUIRED", "BILLING_SETUP_REQUIRED", "OWNER_HAS_ACCOUNT", "SANDBOX_LIMIT", "CONFIRMATION_MISMATCH", "PROPERTY_NOT_REMOVABLE", "PROPERTY_BUSY", "PRICE_UNAVAILABLE"];
31
31
  export type ErrorCode = (typeof ERROR_CODES)[number];
32
32
  /** What a key may do. The hotel's owner (or, for a vendor's key, the vendor) chose them when the key was made. */
33
33
  export declare const SCOPES: readonly ["ari:read", "ari:write", "catalog:write", "channel-modifiers:write", "channel-bookings:read", "direct-bookings:read", "direct-bookings:cancel", "bookings:read", "bookings:write", "bookings:payments", "properties:write"];
34
34
  export type Scope = (typeof SCOPES)[number];
35
35
  /** When a channel's price modifier takes effect. Show it where a person saves one. */
36
- export declare const MODIFIER_TAKES_EFFECT = "A modifier applies to prices sent to the channel after the change. Prices already on the channel stay as they are until those nights are sent again.";
36
+ export declare const MODIFIER_TAKES_EFFECT = "Saving a modifier makes the channel manager send that channel every date again, so prices already on the channel move to the new rule within minutes.";
37
37
  export interface Error {
38
38
  statuscode: number;
39
39
  /** Human-readable, may change; branch on data.code */
40
40
  message: string;
41
41
  data: {
42
- code: "API_KEY_INVALID" | "API_KEY_REVOKED" | "API_KEY_EXPIRED" | "CONNECT_API_NOT_CONFIGURED" | "IP_NOT_ALLOWED" | "SCOPE_MISSING" | "PROPERTY_UNAVAILABLE" | "CHANNEL_MANAGER_DISABLED" | "PMS_NOT_AVAILABLE" | "VALIDATION" | "RANGE_INVALID" | "HORIZON" | "TOO_MANY_UPDATES" | "TOO_MANY_CELLS" | "UNKNOWN_ROOM_TYPE" | "UNKNOWN_RATE_PLAN" | "CURRENCY_MISMATCH" | "RATE_LIMITED" | "NOTHING_ACCEPTED" | "BATCH_NOT_FOUND" | "IDEMPOTENCY_KEY_INVALID" | "IDEMPOTENCY_KEY_REUSED" | "IDEMPOTENCY_IN_FLIGHT" | "STAY_INVALID" | "UNKNOWN_ROOM_TYPE_FOR_PLAN" | "OCCUPANCY_EXCEEDED" | "NO_AVAILABILITY" | "EXTERNAL_REFERENCE_REUSED" | "PAYMENT_NOT_ALLOWED" | "PAYMENT_EXCEEDS_TOTAL" | "BOOKING_NOT_FOUND" | "BOOKING_NOT_CANCELLABLE" | "MODULE_NOT_ENTITLED" | "SANDBOX_ONLY" | "ROOM_TYPE_NOT_FOUND" | "RATE_PLAN_NOT_FOUND" | "CATALOG_CONFLICT" | "CATALOG_BUSY" | "CHANNEL_MANAGER_ERROR" | "PROPERTY_REQUIRED" | "PROPERTY_NOT_FOUND" | "ARI_NOT_AUTHORITATIVE" | "ROUTE_NOT_FOUND" | "PAYLOAD_TOO_LARGE" | "AUTH_BACKEND_UNAVAILABLE" | "BOOKING_NOT_MODIFIABLE" | "SANDBOX_NOT_FOUND" | "SANDBOX_INCOMPLETE" | "WRITES_FROZEN" | "WRITES_SUSPENDED" | "SHIELD_UNAVAILABLE" | "CATALOG_LIMIT_REACHED" | "TOO_MANY_NEW_ENTITIES" | "RATE_OUT_OF_BAND" | "CHANNEL_NOT_FOUND" | "CHANNEL_SHARED" | "MODIFIER_OUT_OF_BAND" | "COMPANY_KEY_REQUIRED" | "BILLING_SETUP_REQUIRED" | "OWNER_HAS_ACCOUNT" | "SANDBOX_LIMIT" | "CONFIRMATION_MISMATCH" | "PROPERTY_NOT_REMOVABLE" | "PROPERTY_BUSY" | "PRICE_UNAVAILABLE";
42
+ code: "API_KEY_INVALID" | "API_KEY_REVOKED" | "API_KEY_EXPIRED" | "CONNECT_API_NOT_CONFIGURED" | "IP_NOT_ALLOWED" | "SCOPE_MISSING" | "PROPERTY_UNAVAILABLE" | "CHANNEL_MANAGER_DISABLED" | "PMS_NOT_AVAILABLE" | "VALIDATION" | "RANGE_INVALID" | "HORIZON" | "TOO_MANY_UPDATES" | "TOO_MANY_CELLS" | "UNKNOWN_ROOM_TYPE" | "UNKNOWN_RATE_PLAN" | "CURRENCY_MISMATCH" | "RATE_LIMITED" | "NOTHING_ACCEPTED" | "BATCH_NOT_FOUND" | "IDEMPOTENCY_KEY_INVALID" | "IDEMPOTENCY_KEY_REUSED" | "IDEMPOTENCY_IN_FLIGHT" | "STAY_INVALID" | "UNKNOWN_ROOM_TYPE_FOR_PLAN" | "OCCUPANCY_EXCEEDED" | "NO_AVAILABILITY" | "EXTERNAL_REFERENCE_REUSED" | "PAYMENT_NOT_ALLOWED" | "PAYMENT_EXCEEDS_TOTAL" | "TAXES_NOT_CONFIGURED" | "TAXES_INSIDE_RATES" | "BOOKING_NOT_FOUND" | "BOOKING_NOT_CANCELLABLE" | "MODULE_NOT_ENTITLED" | "SANDBOX_ONLY" | "ROOM_TYPE_NOT_FOUND" | "RATE_PLAN_NOT_FOUND" | "CATALOG_CONFLICT" | "CATALOG_BUSY" | "CHANNEL_MANAGER_ERROR" | "PROPERTY_REQUIRED" | "PROPERTY_NOT_FOUND" | "ARI_NOT_AUTHORITATIVE" | "ROUTE_NOT_FOUND" | "PAYLOAD_TOO_LARGE" | "AUTH_BACKEND_UNAVAILABLE" | "BOOKING_NOT_MODIFIABLE" | "SANDBOX_NOT_FOUND" | "SANDBOX_INCOMPLETE" | "WRITES_FROZEN" | "WRITES_SUSPENDED" | "SHIELD_UNAVAILABLE" | "CATALOG_LIMIT_REACHED" | "TOO_MANY_NEW_ENTITIES" | "RATE_OUT_OF_BAND" | "CHANNEL_NOT_FOUND" | "CHANNEL_SHARED" | "MODIFIER_OUT_OF_BAND" | "COMPANY_KEY_REQUIRED" | "BILLING_SETUP_REQUIRED" | "OWNER_HAS_ACCOUNT" | "SANDBOX_LIMIT" | "CONFIRMATION_MISMATCH" | "PROPERTY_NOT_REMOVABLE" | "PROPERTY_BUSY" | "PRICE_UNAVAILABLE";
43
43
  details?: unknown;
44
44
  };
45
45
  }
@@ -259,7 +259,7 @@ export interface RoomTypesUpsert {
259
259
  ref: string;
260
260
  /** Shown to the owner and sent to the channel manager as the title */
261
261
  name: string;
262
- /** Sellable rooms of this type. On a channel-manager-only hotel a later change is written too, to the channel manager first (its count caps what the channels sell); a count below the rooms holding upcoming stays is refused. On a hotel that runs our PMS the count comes from its room list and a different value is not written (the answer's notice says so) */
262
+ /** Sellable rooms of this type. On a channel-manager-only hotel a later change is written too, to the channel manager first; a count below the rooms holding upcoming stays is refused. The count does not cap a night: an availability above it is accepted with a warning, reaches the booking sites, and is what a price by rooms counts for that month. On a hotel that runs our PMS the count comes from its room list and a different value is not written (the answer's notice says so) */
263
263
  roomCount: number;
264
264
  /** Most adults one room takes */
265
265
  adults: number;
@@ -373,7 +373,7 @@ export interface RatesWrite {
373
373
  /** Hotel-local calendar date, YYYY-MM-DD */
374
374
  dateTo: string;
375
375
  days?: Array<"mo" | "tu" | "we" | "th" | "fr" | "sa" | "su">;
376
- /** Nightly sell price in MAJOR units (e.g. 4500 or "4500.00"), 1 to 21474836; rounded to a whole major unit */
376
+ /** Nightly sell price in MAJOR units (e.g. 4500 or "4500.00"), 1 to 21474836; rounded to a whole major unit for a property selling in rupees or in a currency without cents, kept to the cent otherwise (e.g. "89.50" in euros) */
377
377
  rate: number | string;
378
378
  /** ISO 4217; must equal the property's currency (GET /property) */
379
379
  currency: string;
@@ -552,6 +552,8 @@ export interface BookingCreate {
552
552
  /** The nightly price YOU charged for this room, MAJOR units (e.g. 4500 or "4500.00"), 1 to 21474836, taxes as you sold them */
553
553
  nightlyRate: number | string;
554
554
  }>;
555
+ /** How to read nightlyRate at a hotel outside India that has confirmed its tax lines. true (the default): the rate is what the guest paid online; it is split into the hotel's lines and totalAmount does not move, except for a line the hotel collects at the property itself (a city tax per person), which is added and paid at the hotel. false: the rate is as the hotel sells it at its desk; the lines the hotel adds on top are added and totalAmount grows, while lines the hotel keeps inside its prices stay inside. Read totalAmount and taxes in the answer. false is refused with 409 TAXES_NOT_CONFIGURED at a hotel with no confirmed lines (every hotel in India) and with 409 TAXES_INSIDE_RATES at a hotel that adds nothing on top; true, or omitting the field, changes nothing at a hotel with no confirmed lines */
556
+ nightlyRateIncludesTaxes?: boolean;
555
557
  /** Omit when nothing was collected; an amount above 0 needs the bookings:payments scope */
556
558
  payment?: {
557
559
  /** What you collected so far, MAJOR units; 0 = nothing collected (pay at hotel); never more than the stay's total */
@@ -618,6 +620,28 @@ export interface Booking {
618
620
  replay: boolean;
619
621
  createdAt: string;
620
622
  cancelledAt: string | null;
623
+ /** The hotel's own tax lines on this booking. Present only where the hotel has confirmed them (outside India); absent on every other booking */
624
+ taxes?: {
625
+ /** How the nightly rate was read when the booking was made: true = it was split into the lines; false = lines the hotel adds on top were added to the total */
626
+ nightlyRateIncludesTaxes: boolean;
627
+ /** The hotel's own tax lines on this booking, in the order the hotel applies them */
628
+ lines: Array<{
629
+ /** The line's filing code as the hotel set it up (for example TH-VAT) */
630
+ code: string;
631
+ /** The line's name as the hotel's bill prints it */
632
+ name: string;
633
+ /** TAX is owed to an authority; FEE is the hotel's own charge (a service charge); PASS_THROUGH is held for someone else */
634
+ kind: "TAX" | "FEE" | "PASS_THROUGH";
635
+ /** true: inside the nightly rate; false: added on top of it */
636
+ includedInRate: boolean;
637
+ /** MAJOR units, two decimals, for the whole stay; 0.00 when the desk waived the line */
638
+ amount: string;
639
+ }>;
640
+ /** MAJOR units, two decimals: the part of the lines that sits inside the nightly rates */
641
+ includedInRates: string;
642
+ /** MAJOR units, two decimals: the part of the lines added on top; already inside totalAmount */
643
+ addedToTotal: string;
644
+ };
621
645
  }
622
646
  export interface BookingsList {
623
647
  since: string;
@@ -663,6 +687,28 @@ export interface BookingsList {
663
687
  replay: boolean;
664
688
  createdAt: string;
665
689
  cancelledAt: string | null;
690
+ /** The hotel's own tax lines on this booking. Present only where the hotel has confirmed them (outside India); absent on every other booking */
691
+ taxes?: {
692
+ /** How the nightly rate was read when the booking was made: true = it was split into the lines; false = lines the hotel adds on top were added to the total */
693
+ nightlyRateIncludesTaxes: boolean;
694
+ /** The hotel's own tax lines on this booking, in the order the hotel applies them */
695
+ lines: Array<{
696
+ /** The line's filing code as the hotel set it up (for example TH-VAT) */
697
+ code: string;
698
+ /** The line's name as the hotel's bill prints it */
699
+ name: string;
700
+ /** TAX is owed to an authority; FEE is the hotel's own charge (a service charge); PASS_THROUGH is held for someone else */
701
+ kind: "TAX" | "FEE" | "PASS_THROUGH";
702
+ /** true: inside the nightly rate; false: added on top of it */
703
+ includedInRate: boolean;
704
+ /** MAJOR units, two decimals, for the whole stay; 0.00 when the desk waived the line */
705
+ amount: string;
706
+ }>;
707
+ /** MAJOR units, two decimals: the part of the lines that sits inside the nightly rates */
708
+ includedInRates: string;
709
+ /** MAJOR units, two decimals: the part of the lines added on top; already inside totalAmount */
710
+ addedToTotal: string;
711
+ };
666
712
  }>;
667
713
  }
668
714
  export interface SandboxBookingCreate {
@@ -766,7 +812,7 @@ export interface ModifierResult {
766
812
  }>;
767
813
  /** false when the channel already held exactly these steps: nothing was sent to the channel manager and nothing was counted */
768
814
  changed: boolean;
769
- /** When it takes effect. Always: "A modifier applies to prices sent to the channel after the change. Prices already on the channel stay as they are until those nights are sent again." */
815
+ /** When it takes effect. Always: "Saving a modifier makes the channel manager send that channel every date again, so prices already on the channel move to the new rule within minutes." */
770
816
  notice: string;
771
817
  }
772
818
  export interface RatesResendAccepted {
@@ -848,6 +894,8 @@ export interface ChannelBookingsList {
848
894
  paid: number;
849
895
  balanceDue: number;
850
896
  paymentCollect: "ota" | "property" | "unknown";
897
+ /** ISO 4217. Present only when the OTA sent the booking in another currency than the property's: the amounts in this booking (total, paid, balanceDue, each room's ratePerNight and amount) are then in THIS currency as the OTA sent them, not converted. Absent otherwise */
898
+ receivedCurrency?: string;
851
899
  };
852
900
  finance: {
853
901
  otaName: string;
@@ -858,6 +906,18 @@ export interface ChannelBookingsList {
858
906
  taxAmount: number | null;
859
907
  netPayoutAmount: number | null;
860
908
  } | null;
909
+ /** The hotel's own tax lines on this booking. Present only where the hotel has confirmed its taxes (outside India) and the booking has been assessed; absent on every other booking */
910
+ taxes?: {
911
+ lines: Array<{
912
+ code: string;
913
+ name: string;
914
+ kind: "TAX" | "FEE" | "PASS_THROUGH";
915
+ includedInRate: boolean;
916
+ amount: number;
917
+ }>;
918
+ includedInRates: number;
919
+ addedToTotal: number;
920
+ };
861
921
  cancellation: {
862
922
  at: string;
863
923
  reason: string | null;
@@ -922,6 +982,8 @@ export interface ChannelBooking {
922
982
  paid: number;
923
983
  balanceDue: number;
924
984
  paymentCollect: "ota" | "property" | "unknown";
985
+ /** ISO 4217. Present only when the OTA sent the booking in another currency than the property's: the amounts in this booking (total, paid, balanceDue, each room's ratePerNight and amount) are then in THIS currency as the OTA sent them, not converted. Absent otherwise */
986
+ receivedCurrency?: string;
925
987
  };
926
988
  finance: {
927
989
  otaName: string;
@@ -932,6 +994,18 @@ export interface ChannelBooking {
932
994
  taxAmount: number | null;
933
995
  netPayoutAmount: number | null;
934
996
  } | null;
997
+ /** The hotel's own tax lines on this booking. Present only where the hotel has confirmed its taxes (outside India) and the booking has been assessed; absent on every other booking */
998
+ taxes?: {
999
+ lines: Array<{
1000
+ code: string;
1001
+ name: string;
1002
+ kind: "TAX" | "FEE" | "PASS_THROUGH";
1003
+ includedInRate: boolean;
1004
+ amount: number;
1005
+ }>;
1006
+ includedInRates: number;
1007
+ addedToTotal: number;
1008
+ };
935
1009
  cancellation: {
936
1010
  at: string;
937
1011
  reason: string | null;
@@ -999,6 +1073,8 @@ export interface DirectBookingCancelResult {
999
1073
  paid: number;
1000
1074
  balanceDue: number;
1001
1075
  paymentCollect: "ota" | "property" | "unknown";
1076
+ /** ISO 4217. Present only when the OTA sent the booking in another currency than the property's: the amounts in this booking (total, paid, balanceDue, each room's ratePerNight and amount) are then in THIS currency as the OTA sent them, not converted. Absent otherwise */
1077
+ receivedCurrency?: string;
1002
1078
  };
1003
1079
  finance: {
1004
1080
  otaName: string;
@@ -1009,6 +1085,18 @@ export interface DirectBookingCancelResult {
1009
1085
  taxAmount: number | null;
1010
1086
  netPayoutAmount: number | null;
1011
1087
  } | null;
1088
+ /** The hotel's own tax lines on this booking. Present only where the hotel has confirmed its taxes (outside India) and the booking has been assessed; absent on every other booking */
1089
+ taxes?: {
1090
+ lines: Array<{
1091
+ code: string;
1092
+ name: string;
1093
+ kind: "TAX" | "FEE" | "PASS_THROUGH";
1094
+ includedInRate: boolean;
1095
+ amount: number;
1096
+ }>;
1097
+ includedInRates: number;
1098
+ addedToTotal: number;
1099
+ };
1012
1100
  cancellation: {
1013
1101
  at: string;
1014
1102
  reason: string | null;
@@ -1,7 +1,7 @@
1
1
  // GENERATED by scripts/generate.mjs from the Connect API's public contract (ZimmerStack Connect API v1).
2
2
  // Do not edit: change the contract, then run `pnpm --dir apps/connect-sdk run generate`.
3
3
  /** This package's version, sent as the user agent so ZimmerStack can tell which client a request came from. */
4
- export const SDK_VERSION = "0.5.0";
4
+ export const SDK_VERSION = "0.7.0";
5
5
  /** Where the API lives. The key is sent nowhere else. */
6
6
  export const API_ORIGIN = "https://api.zimmerstack.com";
7
7
  export const API_PREFIX = "/api/v1/connect-api/v1";
@@ -60,6 +60,8 @@ export const ERROR_CODES = [
60
60
  "EXTERNAL_REFERENCE_REUSED",
61
61
  "PAYMENT_NOT_ALLOWED",
62
62
  "PAYMENT_EXCEEDS_TOTAL",
63
+ "TAXES_NOT_CONFIGURED",
64
+ "TAXES_INSIDE_RATES",
63
65
  "BOOKING_NOT_FOUND",
64
66
  "BOOKING_NOT_CANCELLABLE",
65
67
  "MODULE_NOT_ENTITLED",
@@ -111,7 +113,7 @@ export const SCOPES = [
111
113
  "properties:write"
112
114
  ];
113
115
  /** When a channel's price modifier takes effect. Show it where a person saves one. */
114
- export const MODIFIER_TAKES_EFFECT = "A modifier applies to prices sent to the channel after the change. Prices already on the channel stay as they are until those nights are sent again.";
116
+ export const MODIFIER_TAKES_EFFECT = "Saving a modifier makes the channel manager send that channel every date again, so prices already on the channel move to the new rule within minutes.";
115
117
  /** idempotent: the server replays the stored answer when the idempotency key repeats, so the client may resend the request after a network failure. */
116
118
  export const OPERATIONS = {
117
119
  "GET /properties": { idempotent: false, bodyRequired: false },