@wix/table-reservations 1.0.12 → 1.0.13
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/cjs/src/table-reservations-v1-reservation-location.public.d.ts +2 -2
- package/build/cjs/src/table-reservations-v1-reservation-location.public.js +2 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.public.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.types.d.ts +386 -0
- package/build/cjs/src/table-reservations-v1-reservation-location.types.js +14 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.types.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.d.ts +386 -0
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.js +14 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation-location.public.d.ts +2 -2
- package/build/es/src/table-reservations-v1-reservation-location.public.js +1 -1
- package/build/es/src/table-reservations-v1-reservation-location.public.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation-location.types.d.ts +386 -0
- package/build/es/src/table-reservations-v1-reservation-location.types.js +13 -0
- package/build/es/src/table-reservations-v1-reservation-location.types.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation-location.universal.d.ts +386 -0
- package/build/es/src/table-reservations-v1-reservation-location.universal.js +13 -0
- package/build/es/src/table-reservations-v1-reservation-location.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1005,6 +1005,392 @@ export interface StudioAssigned {
|
|
|
1005
1005
|
/** Unassigned Studio editor */
|
|
1006
1006
|
export interface StudioUnassigned {
|
|
1007
1007
|
}
|
|
1008
|
+
export interface FeatureEvent extends FeatureEventEventOneOf {
|
|
1009
|
+
/**
|
|
1010
|
+
* Information about an event that makes a feature eligible to the user.
|
|
1011
|
+
* Triggered for example, for new features or when a feature is reassigned
|
|
1012
|
+
* to an account or a site.
|
|
1013
|
+
*/
|
|
1014
|
+
enabled?: FeatureEnabled;
|
|
1015
|
+
/**
|
|
1016
|
+
* Information about an event that disables a feature for the user.
|
|
1017
|
+
* Triggered for example, when a feature is unassigned from a site,
|
|
1018
|
+
* reassigned to a different site, or the user switched to a different contract.
|
|
1019
|
+
*/
|
|
1020
|
+
disabled?: FeatureDisabled;
|
|
1021
|
+
/**
|
|
1022
|
+
* Information about an event that updates a feature. An `updated` event
|
|
1023
|
+
* is triggered for example by the
|
|
1024
|
+
* [Report Quota Usage](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/report-quota-usage)
|
|
1025
|
+
* and [Reset Usage Counter](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/reset-usage-counter)
|
|
1026
|
+
* endpoints.
|
|
1027
|
+
*/
|
|
1028
|
+
updated?: FeatureUpdated;
|
|
1029
|
+
/**
|
|
1030
|
+
* Information about an event that cancels a feature for the user.
|
|
1031
|
+
* Triggered for example, when a feature is canceled, transfered to
|
|
1032
|
+
* another account, or the user switched to a different contract.
|
|
1033
|
+
*/
|
|
1034
|
+
cancelled?: FeatureCancelled;
|
|
1035
|
+
/**
|
|
1036
|
+
* Timestamp of the event in
|
|
1037
|
+
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
1038
|
+
*/
|
|
1039
|
+
timestamp?: Date;
|
|
1040
|
+
}
|
|
1041
|
+
/** @oneof */
|
|
1042
|
+
export interface FeatureEventEventOneOf {
|
|
1043
|
+
/**
|
|
1044
|
+
* Information about an event that makes a feature eligible to the user.
|
|
1045
|
+
* Triggered for example, for new features or when a feature is reassigned
|
|
1046
|
+
* to an account or a site.
|
|
1047
|
+
*/
|
|
1048
|
+
enabled?: FeatureEnabled;
|
|
1049
|
+
/**
|
|
1050
|
+
* Information about an event that disables a feature for the user.
|
|
1051
|
+
* Triggered for example, when a feature is unassigned from a site,
|
|
1052
|
+
* reassigned to a different site, or the user switched to a different contract.
|
|
1053
|
+
*/
|
|
1054
|
+
disabled?: FeatureDisabled;
|
|
1055
|
+
/**
|
|
1056
|
+
* Information about an event that updates a feature. An `updated` event
|
|
1057
|
+
* is triggered for example by the
|
|
1058
|
+
* [Report Quota Usage](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/report-quota-usage)
|
|
1059
|
+
* and [Reset Usage Counter](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/reset-usage-counter)
|
|
1060
|
+
* endpoints.
|
|
1061
|
+
*/
|
|
1062
|
+
updated?: FeatureUpdated;
|
|
1063
|
+
/**
|
|
1064
|
+
* Information about an event that cancels a feature for the user.
|
|
1065
|
+
* Triggered for example, when a feature is canceled, transfered to
|
|
1066
|
+
* another account, or the user switched to a different contract.
|
|
1067
|
+
*/
|
|
1068
|
+
cancelled?: FeatureCancelled;
|
|
1069
|
+
}
|
|
1070
|
+
/** Feature created or enabled after disabled state */
|
|
1071
|
+
export interface FeatureEnabled extends FeatureEnabledReasonOneOf {
|
|
1072
|
+
/** Information about a transfer from another account. */
|
|
1073
|
+
transferredFromAnotherAccount?: TransferredFromAnotherAccountReason;
|
|
1074
|
+
/** Information about a transfer from another site. */
|
|
1075
|
+
reassignedFromSite?: ReassignedFromSiteReason;
|
|
1076
|
+
/** Information about a feature that hadn't been assigned to site. */
|
|
1077
|
+
assignedFromFloating?: AssignedFromFloatingReason;
|
|
1078
|
+
/** Information about the new feature. */
|
|
1079
|
+
newFeature?: NewFeatureReason;
|
|
1080
|
+
/** Information about the contract switch. */
|
|
1081
|
+
contractSwitched?: ContractSwitchedReason;
|
|
1082
|
+
/** Information about the manually created features. */
|
|
1083
|
+
manualFeatureCreation?: ManualFeatureCreationReason;
|
|
1084
|
+
/** Information about a feature that was migrated from legacy. */
|
|
1085
|
+
migratedFromLegacy?: MigratedFromLegacyReason;
|
|
1086
|
+
/** Enabled feature. */
|
|
1087
|
+
feature?: Feature;
|
|
1088
|
+
/**
|
|
1089
|
+
* Information about a transfer from another account.
|
|
1090
|
+
* __Deprecated__. Use `reason.transferred_from_another_account` instead.
|
|
1091
|
+
*/
|
|
1092
|
+
transferredFromAccount?: string | null;
|
|
1093
|
+
/**
|
|
1094
|
+
* Information about a transfer from another site.
|
|
1095
|
+
* __Deprecated__. Use `reason.reassigned_from_site` instead.
|
|
1096
|
+
*/
|
|
1097
|
+
reassignedFromMetasite?: string | null;
|
|
1098
|
+
}
|
|
1099
|
+
/** @oneof */
|
|
1100
|
+
export interface FeatureEnabledReasonOneOf {
|
|
1101
|
+
/** Information about a transfer from another account. */
|
|
1102
|
+
transferredFromAnotherAccount?: TransferredFromAnotherAccountReason;
|
|
1103
|
+
/** Information about a transfer from another site. */
|
|
1104
|
+
reassignedFromSite?: ReassignedFromSiteReason;
|
|
1105
|
+
/** Information about a feature that hadn't been assigned to site. */
|
|
1106
|
+
assignedFromFloating?: AssignedFromFloatingReason;
|
|
1107
|
+
/** Information about the new feature. */
|
|
1108
|
+
newFeature?: NewFeatureReason;
|
|
1109
|
+
/** Information about the contract switch. */
|
|
1110
|
+
contractSwitched?: ContractSwitchedReason;
|
|
1111
|
+
/** Information about the manually created features. */
|
|
1112
|
+
manualFeatureCreation?: ManualFeatureCreationReason;
|
|
1113
|
+
/** Information about a feature that was migrated from legacy. */
|
|
1114
|
+
migratedFromLegacy?: MigratedFromLegacyReason;
|
|
1115
|
+
}
|
|
1116
|
+
export interface Feature extends FeatureQuantityInfoOneOf {
|
|
1117
|
+
/** Deprecated. Use `enabled` instead. */
|
|
1118
|
+
booleanFeature?: BooleanFeature;
|
|
1119
|
+
/** Deprecated. Use `quotaInfo` instead. */
|
|
1120
|
+
quotaFeature?: QuotaFeature;
|
|
1121
|
+
/**
|
|
1122
|
+
* ID of the feature. __Note:__ Isn't unique. For example, all features that
|
|
1123
|
+
* are available to free Wix accounts or site in some capacity have
|
|
1124
|
+
* `{"id": "DEFAULT"}`. Use `uniqueName` as unique identifier for a feature.
|
|
1125
|
+
* @readonly
|
|
1126
|
+
*/
|
|
1127
|
+
id?: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* Unique name of the feature. Only lower case letters, numbers, and dashes
|
|
1130
|
+
* `-` are supported. Used in the endpoints of the
|
|
1131
|
+
* [Features Manager API](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/introduction)
|
|
1132
|
+
* to specify the feature. Not visible to customers. We recommend to start
|
|
1133
|
+
* the unique name with a prefix describing your organization or Wix company.
|
|
1134
|
+
* For example, `bookings` or `crm`.
|
|
1135
|
+
*
|
|
1136
|
+
* Min: 2 characters
|
|
1137
|
+
* Max: 50 characters
|
|
1138
|
+
*/
|
|
1139
|
+
uniqueName?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* Information about whether the feature belongs to a Wix account or site.
|
|
1142
|
+
* Account features have `context.userId`. Site features have `context.metaSiteId` in case
|
|
1143
|
+
* they're assigned to a specific site. Site features that aren't assigned to
|
|
1144
|
+
* a speficic site have neither ID.
|
|
1145
|
+
*/
|
|
1146
|
+
context?: FeatureContext;
|
|
1147
|
+
/**
|
|
1148
|
+
* Deprecated.
|
|
1149
|
+
* @readonly
|
|
1150
|
+
*/
|
|
1151
|
+
createdAt?: Date;
|
|
1152
|
+
/**
|
|
1153
|
+
* Deprecated.
|
|
1154
|
+
* @readonly
|
|
1155
|
+
*/
|
|
1156
|
+
updatedAt?: Date;
|
|
1157
|
+
/**
|
|
1158
|
+
* Information about how often customers can use the feature during a specific
|
|
1159
|
+
* period. Available only for quota features.
|
|
1160
|
+
*/
|
|
1161
|
+
quotaInfo?: QuotaInfo;
|
|
1162
|
+
/**
|
|
1163
|
+
* Whether the customer is currently allowed to use the feature.
|
|
1164
|
+
* `true` means that the customer can use the feature. This means a boolean
|
|
1165
|
+
* feature is active or a quota feature has remaining usage.
|
|
1166
|
+
* `false` means that the customer can't use the feature.
|
|
1167
|
+
* This means a boolean feature isn't active or a quota feature doesn't
|
|
1168
|
+
* have remaining usage.
|
|
1169
|
+
*/
|
|
1170
|
+
enabled?: boolean;
|
|
1171
|
+
/**
|
|
1172
|
+
* ID of the [subscription](https://bo.wix.com/wix-docs/rest/premium/premium-subscriptions-manager/subscription-object)
|
|
1173
|
+
* to which the feature instance belongs.
|
|
1174
|
+
*/
|
|
1175
|
+
subscriptionId?: string | null;
|
|
1176
|
+
/**
|
|
1177
|
+
* Metadata of the feature. Wix Premium uses the metadata object to indicate
|
|
1178
|
+
* that customers who purchase a product with the feature also get
|
|
1179
|
+
* access to an additional product. For these bundled products `metadata`
|
|
1180
|
+
* looks like this: `{"tpa": "{"appDefId": "sample-app-def-id-1234567890", "vendorProductId": "sample-productId"}}"`.
|
|
1181
|
+
* But you can use the `metadata` property for other purposes, too.
|
|
1182
|
+
*/
|
|
1183
|
+
metadata?: Record<string, string>;
|
|
1184
|
+
}
|
|
1185
|
+
/** @oneof */
|
|
1186
|
+
export interface FeatureQuantityInfoOneOf {
|
|
1187
|
+
/** Deprecated. Use `enabled` instead. */
|
|
1188
|
+
booleanFeature?: BooleanFeature;
|
|
1189
|
+
/** Deprecated. Use `quotaInfo` instead. */
|
|
1190
|
+
quotaFeature?: QuotaFeature;
|
|
1191
|
+
}
|
|
1192
|
+
/**
|
|
1193
|
+
* Context this feature is currently connected to.
|
|
1194
|
+
* Note: Do not confuse with feature scope which is configured in the product catalog
|
|
1195
|
+
* and defines in which context the product can be used
|
|
1196
|
+
*/
|
|
1197
|
+
export interface FeatureContext {
|
|
1198
|
+
/**
|
|
1199
|
+
* ID of the Wix account that the feature instance belongs to.
|
|
1200
|
+
* Available for both site and account level feature instances.
|
|
1201
|
+
*/
|
|
1202
|
+
userId?: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* ID of the meta site that the feature instance is assigned to.
|
|
1205
|
+
* Only available for site level feature instances that are assigned to a Wix
|
|
1206
|
+
* site. Not available for account level and unassigned site level feature
|
|
1207
|
+
* instances.
|
|
1208
|
+
*/
|
|
1209
|
+
metaSiteId?: string | null;
|
|
1210
|
+
}
|
|
1211
|
+
/**
|
|
1212
|
+
* A feature that can be either "enabled" or "disabled". The default/freemium setting is always OFF, and the premium setting is always ON (meaning, unlimited usage without tracking).
|
|
1213
|
+
* A boolean feature is similar to a quantitive feature with a default limit of 0 and UNLIMITED premium limit (although a bit simplified).
|
|
1214
|
+
*/
|
|
1215
|
+
export interface BooleanFeature {
|
|
1216
|
+
}
|
|
1217
|
+
/** A feature with a periodic usage limitation. The default limit is defined in the Feature Spec, the Premium limits are defined in the respective ProductFeature. */
|
|
1218
|
+
export interface QuotaFeature {
|
|
1219
|
+
/** Default (or Freemium) quota limitation. if left undefined the free feature has unlimited amount. */
|
|
1220
|
+
limit?: string | null;
|
|
1221
|
+
/** Periodic time-frame to reset the usage counter. You may use NO_PERIOD if counter shouldn't be reset. */
|
|
1222
|
+
period?: FeaturePeriod;
|
|
1223
|
+
/** Usage measurement units (seconds? MBs? unitless?). Usage reported will be counted in multiples of this basic unit. */
|
|
1224
|
+
units?: string | null;
|
|
1225
|
+
}
|
|
1226
|
+
/** Determines the reset cycle of the feature usage. */
|
|
1227
|
+
export declare enum FeaturePeriod {
|
|
1228
|
+
NO_PERIOD = "NO_PERIOD",
|
|
1229
|
+
MILLISECOND = "MILLISECOND",
|
|
1230
|
+
SECOND = "SECOND",
|
|
1231
|
+
MINUTE = "MINUTE",
|
|
1232
|
+
HOUR = "HOUR",
|
|
1233
|
+
DAY = "DAY",
|
|
1234
|
+
WEEK = "WEEK",
|
|
1235
|
+
MONTH = "MONTH",
|
|
1236
|
+
YEAR = "YEAR"
|
|
1237
|
+
}
|
|
1238
|
+
export interface QuotaInfo {
|
|
1239
|
+
/**
|
|
1240
|
+
* How often the customer is allowed to use the feature during the specified
|
|
1241
|
+
* period. `null` means that the customer has unlimited access to the feature.
|
|
1242
|
+
*/
|
|
1243
|
+
limit?: string | null;
|
|
1244
|
+
/**
|
|
1245
|
+
* Time frame for the usage limitation. `NO_PERIOD` means that `remainingUsage`
|
|
1246
|
+
* isn't automatically reset to the feature's `limit` after a specific period.
|
|
1247
|
+
* You may still manually call
|
|
1248
|
+
* [Reset Usage Counter](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/reset-usage-counter).
|
|
1249
|
+
*/
|
|
1250
|
+
period?: FeaturePeriod;
|
|
1251
|
+
/**
|
|
1252
|
+
* How often the customer has used the feature during the current
|
|
1253
|
+
* period.
|
|
1254
|
+
*/
|
|
1255
|
+
currentUsage?: string;
|
|
1256
|
+
/**
|
|
1257
|
+
* How often the customer can still use the feature during the current
|
|
1258
|
+
* period. `null` means that the customer has unlimited access to the feature.
|
|
1259
|
+
*/
|
|
1260
|
+
remainingUsage?: string | null;
|
|
1261
|
+
}
|
|
1262
|
+
/** Subscription transferred from another account, features on the current account were enabled. */
|
|
1263
|
+
export interface TransferredFromAnotherAccountReason {
|
|
1264
|
+
/** Information about a transfer from another account. */
|
|
1265
|
+
transferredFromAccount?: string;
|
|
1266
|
+
}
|
|
1267
|
+
/** Subscription moved from one site to another in the same account, features enabled on the target site */
|
|
1268
|
+
export interface ReassignedFromSiteReason {
|
|
1269
|
+
/** Information about a transfer from another site. */
|
|
1270
|
+
reassignedFromMetasite?: string;
|
|
1271
|
+
}
|
|
1272
|
+
/** Subscription was floating and assigned to site, features enabled on the target site */
|
|
1273
|
+
export interface AssignedFromFloatingReason {
|
|
1274
|
+
}
|
|
1275
|
+
/** New subscription created and features created as enabled */
|
|
1276
|
+
export interface NewFeatureReason {
|
|
1277
|
+
}
|
|
1278
|
+
/** Subscription was upgraded or downgraded, as a result new features enabled, missing features disbaled , quiantities are updated */
|
|
1279
|
+
export interface ContractSwitchedReason {
|
|
1280
|
+
}
|
|
1281
|
+
/** a call to CreateFeature in features-writer, creates feature that is not attached to subscription */
|
|
1282
|
+
export interface ManualFeatureCreationReason {
|
|
1283
|
+
}
|
|
1284
|
+
/** Subscription created due to migration from old premium model */
|
|
1285
|
+
export interface MigratedFromLegacyReason {
|
|
1286
|
+
}
|
|
1287
|
+
/** Feature disabled and can be enabled in the future */
|
|
1288
|
+
export interface FeatureDisabled extends FeatureDisabledReasonOneOf {
|
|
1289
|
+
/** Information about a feature that's no longer assigned to a site. */
|
|
1290
|
+
unassingedToFloating?: UnAssingedToFloatingReason;
|
|
1291
|
+
/**
|
|
1292
|
+
* Information about a feature that's been replaced by a feature from a
|
|
1293
|
+
* different subscription.
|
|
1294
|
+
*/
|
|
1295
|
+
replacedByAnotherSubscription?: ReplacedByAnotherSubscriptionReason;
|
|
1296
|
+
/**
|
|
1297
|
+
* Information about a feature that's been reassigned to a different
|
|
1298
|
+
* site.
|
|
1299
|
+
*/
|
|
1300
|
+
reassignedToAnotherSite?: ReassignedToAnotherSiteReason;
|
|
1301
|
+
/**
|
|
1302
|
+
* Disabled feature. Includes information about the feature's new state,
|
|
1303
|
+
* possibly its new context.
|
|
1304
|
+
*/
|
|
1305
|
+
feature?: Feature;
|
|
1306
|
+
/** ID of the meta site for which the feature has been disabled. */
|
|
1307
|
+
metaSiteId?: string | null;
|
|
1308
|
+
}
|
|
1309
|
+
/** @oneof */
|
|
1310
|
+
export interface FeatureDisabledReasonOneOf {
|
|
1311
|
+
/** Information about a feature that's no longer assigned to a site. */
|
|
1312
|
+
unassingedToFloating?: UnAssingedToFloatingReason;
|
|
1313
|
+
/**
|
|
1314
|
+
* Information about a feature that's been replaced by a feature from a
|
|
1315
|
+
* different subscription.
|
|
1316
|
+
*/
|
|
1317
|
+
replacedByAnotherSubscription?: ReplacedByAnotherSubscriptionReason;
|
|
1318
|
+
/**
|
|
1319
|
+
* Information about a feature that's been reassigned to a different
|
|
1320
|
+
* site.
|
|
1321
|
+
*/
|
|
1322
|
+
reassignedToAnotherSite?: ReassignedToAnotherSiteReason;
|
|
1323
|
+
}
|
|
1324
|
+
/** Subscription was unassigned from the site and moved into floating state */
|
|
1325
|
+
export interface UnAssingedToFloatingReason {
|
|
1326
|
+
}
|
|
1327
|
+
/** Another subscription was assigned to the site, causing existing features on this site to be disabled */
|
|
1328
|
+
export interface ReplacedByAnotherSubscriptionReason {
|
|
1329
|
+
}
|
|
1330
|
+
/** Subscription was assigned to another site, causing features on the origin site to be disabled. */
|
|
1331
|
+
export interface ReassignedToAnotherSiteReason {
|
|
1332
|
+
/** Information about a transfer to the site. */
|
|
1333
|
+
reassignedToMetasite?: string;
|
|
1334
|
+
}
|
|
1335
|
+
/** Feature updated, for example Quota was increased due to upgrade */
|
|
1336
|
+
export interface FeatureUpdated extends FeatureUpdatedPreviousQuantityInfoOneOf, FeatureUpdatedReasonOneOf {
|
|
1337
|
+
/** Information about a feature that doesn't have a usage quota. */
|
|
1338
|
+
booleanFeature?: BooleanFeature;
|
|
1339
|
+
/** Information about a feature that has a usage quota. */
|
|
1340
|
+
quotaFeature?: QuotaFeature;
|
|
1341
|
+
/** Information about the contract switch. */
|
|
1342
|
+
contractSwitched?: ContractSwitchedReason;
|
|
1343
|
+
/**
|
|
1344
|
+
* Updated feature. Includes information about the feature's new state and
|
|
1345
|
+
* possibly its new context.
|
|
1346
|
+
*/
|
|
1347
|
+
feature?: Feature;
|
|
1348
|
+
}
|
|
1349
|
+
/** @oneof */
|
|
1350
|
+
export interface FeatureUpdatedPreviousQuantityInfoOneOf {
|
|
1351
|
+
/** Information about a feature that doesn't have a usage quota. */
|
|
1352
|
+
booleanFeature?: BooleanFeature;
|
|
1353
|
+
/** Information about a feature that has a usage quota. */
|
|
1354
|
+
quotaFeature?: QuotaFeature;
|
|
1355
|
+
}
|
|
1356
|
+
/** @oneof */
|
|
1357
|
+
export interface FeatureUpdatedReasonOneOf {
|
|
1358
|
+
/** Information about the contract switch. */
|
|
1359
|
+
contractSwitched?: ContractSwitchedReason;
|
|
1360
|
+
}
|
|
1361
|
+
/** Feature was permanently cancelled */
|
|
1362
|
+
export interface FeatureCancelled extends FeatureCancelledReasonOneOf {
|
|
1363
|
+
/** Information about a transfer to the account. */
|
|
1364
|
+
transferredToAnotherAccount?: TransferredToAnotherAccountReason;
|
|
1365
|
+
/** Information about the contract switch. */
|
|
1366
|
+
contractSwitched?: ContractSwitchedReason;
|
|
1367
|
+
/** Information about the feature cancelation. */
|
|
1368
|
+
cancelRequest?: CancelRequestedReason;
|
|
1369
|
+
/** Canceled feature. */
|
|
1370
|
+
feature?: Feature;
|
|
1371
|
+
/**
|
|
1372
|
+
* Information about a transfer to the account.
|
|
1373
|
+
* __Deprecated__. Use `reason.transferred_to_account` instead.
|
|
1374
|
+
*/
|
|
1375
|
+
transferredToAccount?: string | null;
|
|
1376
|
+
}
|
|
1377
|
+
/** @oneof */
|
|
1378
|
+
export interface FeatureCancelledReasonOneOf {
|
|
1379
|
+
/** Information about a transfer to the account. */
|
|
1380
|
+
transferredToAnotherAccount?: TransferredToAnotherAccountReason;
|
|
1381
|
+
/** Information about the contract switch. */
|
|
1382
|
+
contractSwitched?: ContractSwitchedReason;
|
|
1383
|
+
/** Information about the feature cancelation. */
|
|
1384
|
+
cancelRequest?: CancelRequestedReason;
|
|
1385
|
+
}
|
|
1386
|
+
/** Subscription was transferred to another account, features in the origin account were cancelled */
|
|
1387
|
+
export interface TransferredToAnotherAccountReason {
|
|
1388
|
+
/** Information about a transfer to the account. */
|
|
1389
|
+
transferredToAccount?: string;
|
|
1390
|
+
}
|
|
1391
|
+
/** Cancellation was requested from the subscription manager api, might be a result of billing event, or direct call */
|
|
1392
|
+
export interface CancelRequestedReason {
|
|
1393
|
+
}
|
|
1008
1394
|
export interface GetReservationLocationResponseNonNullableFields {
|
|
1009
1395
|
reservationLocation?: {
|
|
1010
1396
|
location?: {
|
|
@@ -136,4 +136,17 @@ export var DeleteStatus;
|
|
|
136
136
|
DeleteStatus["DELETED"] = "DELETED";
|
|
137
137
|
DeleteStatus["PENDING_PURGE"] = "PENDING_PURGE";
|
|
138
138
|
})(DeleteStatus || (DeleteStatus = {}));
|
|
139
|
+
/** Determines the reset cycle of the feature usage. */
|
|
140
|
+
export var FeaturePeriod;
|
|
141
|
+
(function (FeaturePeriod) {
|
|
142
|
+
FeaturePeriod["NO_PERIOD"] = "NO_PERIOD";
|
|
143
|
+
FeaturePeriod["MILLISECOND"] = "MILLISECOND";
|
|
144
|
+
FeaturePeriod["SECOND"] = "SECOND";
|
|
145
|
+
FeaturePeriod["MINUTE"] = "MINUTE";
|
|
146
|
+
FeaturePeriod["HOUR"] = "HOUR";
|
|
147
|
+
FeaturePeriod["DAY"] = "DAY";
|
|
148
|
+
FeaturePeriod["WEEK"] = "WEEK";
|
|
149
|
+
FeaturePeriod["MONTH"] = "MONTH";
|
|
150
|
+
FeaturePeriod["YEAR"] = "YEAR";
|
|
151
|
+
})(FeaturePeriod || (FeaturePeriod = {}));
|
|
139
152
|
//# sourceMappingURL=table-reservations-v1-reservation-location.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-v1-reservation-location.types.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation-location.types.ts"],"names":[],"mappings":"AA+GA,uCAAuC;AACvC,MAAM,CAAN,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,KAAT,SAAS,QAQpB;AA8CD,MAAM,CAAN,IAAY,IAKX;AALD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,2BAAmB,CAAA;IACnB,uBAAe,CAAA;IACf,qBAAa,CAAA;AACf,CAAC,EALW,IAAI,KAAJ,IAAI,QAKf;AAwFD,yBAAyB;AACzB,MAAM,CAAN,IAAY,SAgBX;AAhBD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,4BAAe,CAAA;IACf,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0CAA6B,CAAA;IAC7B,0CAA6B,CAAA;IAC7B,sCAAyB,CAAA;IACzB,sCAAyB,CAAA;IACzB,oCAAuB,CAAA;IACvB,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,gDAAmC,CAAA;IACnC,0CAA6B,CAAA;IAC7B,0CAA6B,CAAA;I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H;IACxH,8BAAiB,CAAA;IACjB,kJAAkJ;IAClJ,4BAAe,CAAA;IACf,2HAA2H;IAC3H,kDAAqC,CAAA;IACrC,iIAAiI;IACjI,kCAAqB,CAAA;IACrB,sJAAsJ;IACtJ,4BAAe,CAAA;IACf,wJAAwJ;IACxJ,wCAA2B,CAAA;IAC3B,0FAA0F;IAC1F,oDAAuC,CAAA;IACvC,0FAA0F;IAC1F,sDAAyC,CAAA;IACzC;;;;OAIG;IACH,sCAAyB,CAAA;IACzB;;;;OAIG;IACH,oDAAuC,CAAA;IACvC,oGAAoG;IACpG,gDAAmC,CAAA;IACnC,sDAAsD;IACtD,gDAAmC,CAAA;IACnC,2CAA2C;IAC3C,kCAAqB,CAAA;IACrB,uDAAuD;IACvD,kCAAqB,CAAA;IACrB;;;OAGG;IACH,sDAAyC,CAAA;AAC3C,CAAC,EAnDW,SAAS,KAAT,SAAS,QAmDpB;AAsBD,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;AACjC,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB"}
|
|
1
|
+
{"version":3,"file":"table-reservations-v1-reservation-location.types.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation-location.types.ts"],"names":[],"mappings":"AA+GA,uCAAuC;AACvC,MAAM,CAAN,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,KAAT,SAAS,QAQpB;AA8CD,MAAM,CAAN,IAAY,IAKX;AALD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,2BAAmB,CAAA;IACnB,uBAAe,CAAA;IACf,qBAAa,CAAA;AACf,CAAC,EAL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