@wix/auto_sdk_arrivals_arrivals 1.0.1 → 1.0.3
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/index.js +29 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -2
- package/build/cjs/index.typings.js +29 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +4 -2
- package/build/cjs/meta.js +29 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +29 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -2
- package/build/es/index.typings.mjs +29 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +4 -2
- package/build/es/meta.mjs +29 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -2
- package/build/internal/cjs/meta.d.ts +4 -2
- package/build/internal/es/index.typings.d.mts +4 -2
- package/build/internal/es/meta.d.mts +4 -2
- package/package.json +2 -2
|
@@ -389,10 +389,12 @@ declare enum PlanBenefitIssue {
|
|
|
389
389
|
/** A credit pack with no credits left, as Pricing Plans reports. Staff override, or sell credits and create a new arrival. */
|
|
390
390
|
NOT_ENOUGH_BALANCE = "NOT_ENOUGH_BALANCE",
|
|
391
391
|
/** The plan's usage policy does not allow entry at this hour or on this day, as Pricing Plans reports. */
|
|
392
|
-
OUTSIDE_ACCESS_HOURS = "OUTSIDE_ACCESS_HOURS"
|
|
392
|
+
OUTSIDE_ACCESS_HOURS = "OUTSIDE_ACCESS_HOURS",
|
|
393
|
+
/** The plan's usage policy limits how often it can be used, such as three entries a week, and that limit is used up for the current period, as Pricing Plans reports. Staff override, or the client comes back in the next period. */
|
|
394
|
+
USAGE_LIMIT_REACHED = "USAGE_LIMIT_REACHED"
|
|
393
395
|
}
|
|
394
396
|
/** @enumType */
|
|
395
|
-
type PlanBenefitIssueWithLiterals = PlanBenefitIssue | 'PLAN_NOT_ACTIVE' | 'NOT_ENOUGH_BALANCE' | 'OUTSIDE_ACCESS_HOURS';
|
|
397
|
+
type PlanBenefitIssueWithLiterals = PlanBenefitIssue | 'PLAN_NOT_ACTIVE' | 'NOT_ENOUGH_BALANCE' | 'OUTSIDE_ACCESS_HOURS' | 'USAGE_LIMIT_REACHED';
|
|
396
398
|
/**
|
|
397
399
|
* A scheduled event the engine found for the person at this area, with whether it admits: the event itself, of
|
|
398
400
|
* the same type as the arrival's `scheduledEvent`, and its `issues`.
|
|
@@ -68,11 +68,37 @@ var TRANSFORM_PATHS_3 = [
|
|
|
68
68
|
{ path: "arrivals.updatedDate" }
|
|
69
69
|
];
|
|
70
70
|
function resolveWixArrivalsV1CredentialArrivalsServiceUrl(opts) {
|
|
71
|
-
const domainToMappings = {
|
|
71
|
+
const domainToMappings = {
|
|
72
|
+
"manage._base_domain_": [
|
|
73
|
+
{
|
|
74
|
+
srcPath: "/_api/arrivals-arrivals",
|
|
75
|
+
destPath: ""
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"www._base_domain_": [
|
|
79
|
+
{
|
|
80
|
+
srcPath: "/_api/arrivals-arrivals",
|
|
81
|
+
destPath: ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
};
|
|
72
85
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
73
86
|
}
|
|
74
87
|
function resolveWixArrivalsV1ArrivalsServiceUrl(opts) {
|
|
75
|
-
const domainToMappings = {
|
|
88
|
+
const domainToMappings = {
|
|
89
|
+
"manage._base_domain_": [
|
|
90
|
+
{
|
|
91
|
+
srcPath: "/_api/arrivals-arrivals",
|
|
92
|
+
destPath: ""
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"www._base_domain_": [
|
|
96
|
+
{
|
|
97
|
+
srcPath: "/_api/arrivals-arrivals",
|
|
98
|
+
destPath: ""
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
};
|
|
76
102
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
77
103
|
}
|
|
78
104
|
var PACKAGE_NAME = "@wix/auto_sdk_arrivals_arrivals";
|
|
@@ -348,6 +374,7 @@ var PlanBenefitIssue = /* @__PURE__ */ ((PlanBenefitIssue2) => {
|
|
|
348
374
|
PlanBenefitIssue2["PLAN_NOT_ACTIVE"] = "PLAN_NOT_ACTIVE";
|
|
349
375
|
PlanBenefitIssue2["NOT_ENOUGH_BALANCE"] = "NOT_ENOUGH_BALANCE";
|
|
350
376
|
PlanBenefitIssue2["OUTSIDE_ACCESS_HOURS"] = "OUTSIDE_ACCESS_HOURS";
|
|
377
|
+
PlanBenefitIssue2["USAGE_LIMIT_REACHED"] = "USAGE_LIMIT_REACHED";
|
|
351
378
|
return PlanBenefitIssue2;
|
|
352
379
|
})(PlanBenefitIssue || {});
|
|
353
380
|
var ScheduledEventIssue = /* @__PURE__ */ ((ScheduledEventIssue2) => {
|